@@ -66,7 +66,7 @@ export class StepsOverrides {
66
66
}
67
67
68
68
export class TriggerOverrides {
69
- @ApiProperty ( {
69
+ @ApiPropertyOptional ( {
70
70
description : 'This could be used to override provider specific configurations' ,
71
71
example : {
72
72
'email-step' : {
@@ -84,7 +84,7 @@ export class TriggerOverrides {
84
84
} )
85
85
steps ?: Record < string , StepsOverrides > ;
86
86
87
- @ApiProperty ( {
87
+ @ApiPropertyOptional ( {
88
88
description : 'Overrides the provider configuration for the entire workflow and all steps' ,
89
89
example : {
90
90
sendgrid : {
@@ -99,31 +99,35 @@ export class TriggerOverrides {
99
99
} )
100
100
providers ?: Record < ProvidersIdEnum , Record < string , unknown > > ;
101
101
102
- @ApiProperty ( {
102
+ @ApiPropertyOptional ( {
103
103
description : 'Override the email provider specific configurations for the entire workflow' ,
104
104
deprecated : true ,
105
+ type : 'object' ,
105
106
} )
106
107
email ?: Record < string , unknown > ;
107
108
108
- @ApiProperty ( {
109
+ @ApiPropertyOptional ( {
109
110
description : 'Override the push provider specific configurations for the entire workflow' ,
110
111
deprecated : true ,
112
+ type : 'object' ,
111
113
} )
112
114
push ?: Record < string , any > ;
113
115
114
- @ApiProperty ( {
116
+ @ApiPropertyOptional ( {
115
117
description : 'Override the sms provider specific configurations for the entire workflow' ,
116
118
deprecated : true ,
119
+ type : 'object' ,
117
120
} )
118
121
sms ?: Record < string , any > ;
119
122
120
- @ApiProperty ( {
123
+ @ApiPropertyOptional ( {
121
124
description : 'Override the chat provider specific configurations for the entire workflow' ,
122
125
deprecated : true ,
126
+ type : 'object' ,
123
127
} )
124
128
chat ?: Record < string , any > ;
125
129
126
- @ApiProperty ( {
130
+ @ApiPropertyOptional ( {
127
131
description : 'Override the layout identifier for the entire workflow' ,
128
132
deprecated : true ,
129
133
} )
0 commit comments