@@ -33,7 +33,7 @@ export type ControlVariables = {};
33
33
/**
34
34
* Metadata for the workflow step
35
35
*/
36
- export type Metadata = { } ;
36
+ export type ActivityNotificationStepResponseDtoMetadata = { } ;
37
37
38
38
/**
39
39
* Step issues
@@ -60,7 +60,7 @@ export type ActivityNotificationStepResponseDto = {
60
60
/**
61
61
* Metadata for the workflow step
62
62
*/
63
- metadata ?: Metadata | undefined ;
63
+ metadata ?: ActivityNotificationStepResponseDtoMetadata | undefined ;
64
64
/**
65
65
* Step issues
66
66
*/
@@ -202,46 +202,63 @@ export function controlVariablesFromJSON(
202
202
}
203
203
204
204
/** @internal */
205
- export const Metadata$inboundSchema : z . ZodType <
206
- Metadata ,
207
- z . ZodTypeDef ,
208
- unknown
209
- > = z . object ( { } ) ;
205
+ export const ActivityNotificationStepResponseDtoMetadata$inboundSchema :
206
+ z . ZodType <
207
+ ActivityNotificationStepResponseDtoMetadata ,
208
+ z . ZodTypeDef ,
209
+ unknown
210
+ > = z . object ( { } ) ;
210
211
211
212
/** @internal */
212
- export type Metadata $Outbound = { } ;
213
+ export type ActivityNotificationStepResponseDtoMetadata $Outbound = { } ;
213
214
214
215
/** @internal */
215
- export const Metadata$outboundSchema : z . ZodType <
216
- Metadata$Outbound ,
217
- z . ZodTypeDef ,
218
- Metadata
219
- > = z . object ( { } ) ;
216
+ export const ActivityNotificationStepResponseDtoMetadata$outboundSchema :
217
+ z . ZodType <
218
+ ActivityNotificationStepResponseDtoMetadata$Outbound ,
219
+ z . ZodTypeDef ,
220
+ ActivityNotificationStepResponseDtoMetadata
221
+ > = z . object ( { } ) ;
220
222
221
223
/**
222
224
* @internal
223
225
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
224
226
*/
225
- export namespace Metadata$ {
226
- /** @deprecated use `Metadata$inboundSchema` instead. */
227
- export const inboundSchema = Metadata$inboundSchema ;
228
- /** @deprecated use `Metadata$outboundSchema` instead. */
229
- export const outboundSchema = Metadata$outboundSchema ;
230
- /** @deprecated use `Metadata$Outbound` instead. */
231
- export type Outbound = Metadata$Outbound ;
227
+ export namespace ActivityNotificationStepResponseDtoMetadata$ {
228
+ /** @deprecated use `ActivityNotificationStepResponseDtoMetadata$inboundSchema` instead. */
229
+ export const inboundSchema =
230
+ ActivityNotificationStepResponseDtoMetadata$inboundSchema ;
231
+ /** @deprecated use `ActivityNotificationStepResponseDtoMetadata$outboundSchema` instead. */
232
+ export const outboundSchema =
233
+ ActivityNotificationStepResponseDtoMetadata$outboundSchema ;
234
+ /** @deprecated use `ActivityNotificationStepResponseDtoMetadata$Outbound` instead. */
235
+ export type Outbound = ActivityNotificationStepResponseDtoMetadata$Outbound ;
232
236
}
233
237
234
- export function metadataToJSON ( metadata : Metadata ) : string {
235
- return JSON . stringify ( Metadata$outboundSchema . parse ( metadata ) ) ;
238
+ export function activityNotificationStepResponseDtoMetadataToJSON (
239
+ activityNotificationStepResponseDtoMetadata :
240
+ ActivityNotificationStepResponseDtoMetadata ,
241
+ ) : string {
242
+ return JSON . stringify (
243
+ ActivityNotificationStepResponseDtoMetadata$outboundSchema . parse (
244
+ activityNotificationStepResponseDtoMetadata ,
245
+ ) ,
246
+ ) ;
236
247
}
237
248
238
- export function metadataFromJSON (
249
+ export function activityNotificationStepResponseDtoMetadataFromJSON (
239
250
jsonString : string ,
240
- ) : SafeParseResult < Metadata , SDKValidationError > {
251
+ ) : SafeParseResult <
252
+ ActivityNotificationStepResponseDtoMetadata ,
253
+ SDKValidationError
254
+ > {
241
255
return safeParse (
242
256
jsonString ,
243
- ( x ) => Metadata$inboundSchema . parse ( JSON . parse ( x ) ) ,
244
- `Failed to parse 'Metadata' from JSON` ,
257
+ ( x ) =>
258
+ ActivityNotificationStepResponseDtoMetadata$inboundSchema . parse (
259
+ JSON . parse ( x ) ,
260
+ ) ,
261
+ `Failed to parse 'ActivityNotificationStepResponseDtoMetadata' from JSON` ,
245
262
) ;
246
263
}
247
264
@@ -298,7 +315,9 @@ export const ActivityNotificationStepResponseDto$inboundSchema: z.ZodType<
298
315
ActivityNotificationStepResponseDtoReplyCallback$inboundSchema
299
316
) . optional ( ) ,
300
317
controlVariables : z . lazy ( ( ) => ControlVariables$inboundSchema ) . optional ( ) ,
301
- metadata : z . lazy ( ( ) => Metadata$inboundSchema ) . optional ( ) ,
318
+ metadata : z . lazy ( ( ) =>
319
+ ActivityNotificationStepResponseDtoMetadata$inboundSchema
320
+ ) . optional ( ) ,
302
321
issues : z . lazy ( ( ) => Issues$inboundSchema ) . optional ( ) ,
303
322
filters : z . array ( StepFilterDto$inboundSchema ) ,
304
323
template : MessageTemplateDto$inboundSchema . optional ( ) ,
@@ -324,7 +343,7 @@ export type ActivityNotificationStepResponseDto$Outbound = {
324
343
| ActivityNotificationStepResponseDtoReplyCallback$Outbound
325
344
| undefined ;
326
345
controlVariables ?: ControlVariables$Outbound | undefined ;
327
- metadata ?: Metadata $Outbound | undefined ;
346
+ metadata ?: ActivityNotificationStepResponseDtoMetadata $Outbound | undefined ;
328
347
issues ?: Issues$Outbound | undefined ;
329
348
filters : Array < StepFilterDto$Outbound > ;
330
349
template ?: MessageTemplateDto$Outbound | undefined ;
@@ -346,7 +365,9 @@ export const ActivityNotificationStepResponseDto$outboundSchema: z.ZodType<
346
365
ActivityNotificationStepResponseDtoReplyCallback$outboundSchema
347
366
) . optional ( ) ,
348
367
controlVariables : z . lazy ( ( ) => ControlVariables$outboundSchema ) . optional ( ) ,
349
- metadata : z . lazy ( ( ) => Metadata$outboundSchema ) . optional ( ) ,
368
+ metadata : z . lazy ( ( ) =>
369
+ ActivityNotificationStepResponseDtoMetadata$outboundSchema
370
+ ) . optional ( ) ,
350
371
issues : z . lazy ( ( ) => Issues$outboundSchema ) . optional ( ) ,
351
372
filters : z . array ( StepFilterDto$outboundSchema ) ,
352
373
template : MessageTemplateDto$outboundSchema . optional ( ) ,
0 commit comments