magicbell-js 1.7.0 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/dist/commonjs/project-client/services/broadcasts/models/broadcast-collection.d.ts +265 -265
  2. package/dist/commonjs/project-client/services/broadcasts/models/broadcast.d.ts +168 -168
  3. package/dist/commonjs/project-client/services/broadcasts/models/email.d.ts +3 -3
  4. package/dist/commonjs/project-client/services/broadcasts/models/in-app.d.ts +3 -3
  5. package/dist/commonjs/project-client/services/broadcasts/models/mobile-push.d.ts +3 -3
  6. package/dist/commonjs/project-client/services/broadcasts/models/overrides-channels.d.ts +27 -27
  7. package/dist/commonjs/project-client/services/broadcasts/models/overrides.d.ts +39 -39
  8. package/dist/commonjs/project-client/services/broadcasts/models/sms.d.ts +3 -3
  9. package/dist/commonjs/project-client/services/channels/models/apns-token-collection.d.ts +14 -14
  10. package/dist/commonjs/project-client/services/channels/models/apns-token.d.ts +8 -8
  11. package/dist/commonjs/project-client/services/channels/models/discard-result.d.ts +8 -8
  12. package/dist/commonjs/project-client/services/channels/models/expo-token-collection.d.ts +14 -14
  13. package/dist/commonjs/project-client/services/channels/models/expo-token.d.ts +8 -8
  14. package/dist/commonjs/project-client/services/channels/models/fcm-token-collection.d.ts +14 -14
  15. package/dist/commonjs/project-client/services/channels/models/fcm-token.d.ts +8 -8
  16. package/dist/commonjs/project-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
  17. package/dist/commonjs/project-client/services/channels/models/inbox-token-response.d.ts +16 -16
  18. package/dist/commonjs/project-client/services/channels/models/slack-token-collection.d.ts +14 -14
  19. package/dist/commonjs/project-client/services/channels/models/slack-token.d.ts +8 -8
  20. package/dist/commonjs/project-client/services/channels/models/teams-token-collection.d.ts +14 -14
  21. package/dist/commonjs/project-client/services/channels/models/teams-token.d.ts +8 -8
  22. package/dist/commonjs/project-client/services/channels/models/web-push-token-collection.d.ts +14 -14
  23. package/dist/commonjs/project-client/services/channels/models/web-push-token.d.ts +8 -8
  24. package/dist/commonjs/project-client/services/common/user.d.ts +6 -6
  25. package/dist/commonjs/project-client/services/integrations/models/inbox-config-collection.d.ts +182 -182
  26. package/dist/commonjs/project-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  27. package/dist/commonjs/project-client/services/integrations/models/inbox-config.d.ts +140 -140
  28. package/dist/commonjs/project-client/services/integrations/models/theme.d.ts +56 -56
  29. package/dist/commonjs/project-client/services/users/models/user-collection.d.ts +10 -10
  30. package/dist/commonjs/project-client/services/workflows/models/get-run-response-status.d.ts +11 -11
  31. package/dist/commonjs/project-client/services/workflows/models/get-run-response.d.ts +41 -41
  32. package/dist/commonjs/project-client/services/workflows/models/workflow-run-collection.d.ts +55 -55
  33. package/dist/commonjs/project-client/services/workflows/models/workflow-run-status.d.ts +11 -11
  34. package/dist/commonjs/project-client/services/workflows/models/workflow-run.d.ts +35 -35
  35. package/dist/commonjs/user-client/services/channels/models/apns-token-collection.d.ts +14 -14
  36. package/dist/commonjs/user-client/services/channels/models/apns-token.d.ts +8 -8
  37. package/dist/commonjs/user-client/services/channels/models/categories.d.ts +30 -30
  38. package/dist/commonjs/user-client/services/channels/models/channels.d.ts +8 -8
  39. package/dist/commonjs/user-client/services/channels/models/discard-result.d.ts +8 -8
  40. package/dist/commonjs/user-client/services/channels/models/expo-token-collection.d.ts +14 -14
  41. package/dist/commonjs/user-client/services/channels/models/expo-token.d.ts +8 -8
  42. package/dist/commonjs/user-client/services/channels/models/fcm-token-collection.d.ts +14 -14
  43. package/dist/commonjs/user-client/services/channels/models/fcm-token.d.ts +8 -8
  44. package/dist/commonjs/user-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
  45. package/dist/commonjs/user-client/services/channels/models/inbox-token-response.d.ts +16 -16
  46. package/dist/commonjs/user-client/services/channels/models/slack-token-collection.d.ts +14 -14
  47. package/dist/commonjs/user-client/services/channels/models/slack-token.d.ts +8 -8
  48. package/dist/commonjs/user-client/services/channels/models/teams-token-collection.d.ts +14 -14
  49. package/dist/commonjs/user-client/services/channels/models/teams-token.d.ts +8 -8
  50. package/dist/commonjs/user-client/services/channels/models/user-preferences.d.ts +48 -48
  51. package/dist/commonjs/user-client/services/channels/models/web-push-token-collection.d.ts +14 -14
  52. package/dist/commonjs/user-client/services/channels/models/web-push-token.d.ts +8 -8
  53. package/dist/commonjs/user-client/services/integrations/models/authed-user.d.ts +8 -8
  54. package/dist/commonjs/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  55. package/dist/commonjs/user-client/services/integrations/models/slack-installation.d.ts +57 -57
  56. package/dist/commonjs/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
  57. package/dist/commonjs/user-client/services/integrations/models/theme.d.ts +56 -56
  58. package/dist/commonjs/user-client/services/notifications/models/notification-collection.d.ts +56 -56
  59. package/dist/commonjs/user-client/services/notifications/models/notification.d.ts +32 -32
  60. package/dist/commonjs/user-client/services/notifications/models/notification.js +3 -3
  61. package/dist/commonjs/user-client/services/notifications/models/notification.js.map +1 -1
  62. package/dist/esm/project-client/services/broadcasts/models/broadcast-collection.d.ts +265 -265
  63. package/dist/esm/project-client/services/broadcasts/models/broadcast.d.ts +168 -168
  64. package/dist/esm/project-client/services/broadcasts/models/email.d.ts +3 -3
  65. package/dist/esm/project-client/services/broadcasts/models/in-app.d.ts +3 -3
  66. package/dist/esm/project-client/services/broadcasts/models/mobile-push.d.ts +3 -3
  67. package/dist/esm/project-client/services/broadcasts/models/overrides-channels.d.ts +27 -27
  68. package/dist/esm/project-client/services/broadcasts/models/overrides.d.ts +39 -39
  69. package/dist/esm/project-client/services/broadcasts/models/sms.d.ts +3 -3
  70. package/dist/esm/project-client/services/channels/models/apns-token-collection.d.ts +14 -14
  71. package/dist/esm/project-client/services/channels/models/apns-token.d.ts +8 -8
  72. package/dist/esm/project-client/services/channels/models/discard-result.d.ts +8 -8
  73. package/dist/esm/project-client/services/channels/models/expo-token-collection.d.ts +14 -14
  74. package/dist/esm/project-client/services/channels/models/expo-token.d.ts +8 -8
  75. package/dist/esm/project-client/services/channels/models/fcm-token-collection.d.ts +14 -14
  76. package/dist/esm/project-client/services/channels/models/fcm-token.d.ts +8 -8
  77. package/dist/esm/project-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
  78. package/dist/esm/project-client/services/channels/models/inbox-token-response.d.ts +16 -16
  79. package/dist/esm/project-client/services/channels/models/slack-token-collection.d.ts +14 -14
  80. package/dist/esm/project-client/services/channels/models/slack-token.d.ts +8 -8
  81. package/dist/esm/project-client/services/channels/models/teams-token-collection.d.ts +14 -14
  82. package/dist/esm/project-client/services/channels/models/teams-token.d.ts +8 -8
  83. package/dist/esm/project-client/services/channels/models/web-push-token-collection.d.ts +14 -14
  84. package/dist/esm/project-client/services/channels/models/web-push-token.d.ts +8 -8
  85. package/dist/esm/project-client/services/common/user.d.ts +6 -6
  86. package/dist/esm/project-client/services/integrations/models/inbox-config-collection.d.ts +182 -182
  87. package/dist/esm/project-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  88. package/dist/esm/project-client/services/integrations/models/inbox-config.d.ts +140 -140
  89. package/dist/esm/project-client/services/integrations/models/theme.d.ts +56 -56
  90. package/dist/esm/project-client/services/users/models/user-collection.d.ts +10 -10
  91. package/dist/esm/project-client/services/workflows/models/get-run-response-status.d.ts +11 -11
  92. package/dist/esm/project-client/services/workflows/models/get-run-response.d.ts +41 -41
  93. package/dist/esm/project-client/services/workflows/models/workflow-run-collection.d.ts +55 -55
  94. package/dist/esm/project-client/services/workflows/models/workflow-run-status.d.ts +11 -11
  95. package/dist/esm/project-client/services/workflows/models/workflow-run.d.ts +35 -35
  96. package/dist/esm/user-client/services/channels/models/apns-token-collection.d.ts +14 -14
  97. package/dist/esm/user-client/services/channels/models/apns-token.d.ts +8 -8
  98. package/dist/esm/user-client/services/channels/models/categories.d.ts +30 -30
  99. package/dist/esm/user-client/services/channels/models/channels.d.ts +8 -8
  100. package/dist/esm/user-client/services/channels/models/discard-result.d.ts +8 -8
  101. package/dist/esm/user-client/services/channels/models/expo-token-collection.d.ts +14 -14
  102. package/dist/esm/user-client/services/channels/models/expo-token.d.ts +8 -8
  103. package/dist/esm/user-client/services/channels/models/fcm-token-collection.d.ts +14 -14
  104. package/dist/esm/user-client/services/channels/models/fcm-token.d.ts +8 -8
  105. package/dist/esm/user-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
  106. package/dist/esm/user-client/services/channels/models/inbox-token-response.d.ts +16 -16
  107. package/dist/esm/user-client/services/channels/models/slack-token-collection.d.ts +14 -14
  108. package/dist/esm/user-client/services/channels/models/slack-token.d.ts +8 -8
  109. package/dist/esm/user-client/services/channels/models/teams-token-collection.d.ts +14 -14
  110. package/dist/esm/user-client/services/channels/models/teams-token.d.ts +8 -8
  111. package/dist/esm/user-client/services/channels/models/user-preferences.d.ts +48 -48
  112. package/dist/esm/user-client/services/channels/models/web-push-token-collection.d.ts +14 -14
  113. package/dist/esm/user-client/services/channels/models/web-push-token.d.ts +8 -8
  114. package/dist/esm/user-client/services/integrations/models/authed-user.d.ts +8 -8
  115. package/dist/esm/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  116. package/dist/esm/user-client/services/integrations/models/slack-installation.d.ts +57 -57
  117. package/dist/esm/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
  118. package/dist/esm/user-client/services/integrations/models/theme.d.ts +56 -56
  119. package/dist/esm/user-client/services/notifications/models/notification-collection.d.ts +56 -56
  120. package/dist/esm/user-client/services/notifications/models/notification.d.ts +32 -32
  121. package/dist/esm/user-client/services/notifications/models/notification.js +3 -3
  122. package/dist/esm/user-client/services/notifications/models/notification.js.map +1 -1
  123. package/package.json +2 -2
  124. package/src/user-client/services/notifications/models/notification.ts +3 -3
@@ -15,40 +15,40 @@ export declare const workflowRunCollection: z.ZodLazy<z.ZodObject<{
15
15
  startedAt: z.ZodOptional<z.ZodString>;
16
16
  state: z.ZodOptional<z.ZodNumber>;
17
17
  }, "strip", z.ZodTypeAny, {
18
+ state?: number | undefined;
18
19
  completedAt?: string | undefined;
19
20
  error?: string | undefined;
20
21
  nextStep?: number | undefined;
21
22
  startedAt?: string | undefined;
22
- state?: number | undefined;
23
23
  }, {
24
+ state?: number | undefined;
24
25
  completedAt?: string | undefined;
25
26
  error?: string | undefined;
26
27
  nextStep?: number | undefined;
27
28
  startedAt?: string | undefined;
28
- state?: number | undefined;
29
29
  }>>>;
30
30
  workflowKey: z.ZodOptional<z.ZodString>;
31
31
  }, "strip", z.ZodTypeAny, {
32
- createdAt?: string | undefined;
33
- id?: string | undefined;
34
32
  status?: {
33
+ state?: number | undefined;
35
34
  completedAt?: string | undefined;
36
35
  error?: string | undefined;
37
36
  nextStep?: number | undefined;
38
37
  startedAt?: string | undefined;
39
- state?: number | undefined;
40
38
  } | undefined;
41
- workflowKey?: string | undefined;
42
- }, {
43
39
  createdAt?: string | undefined;
44
40
  id?: string | undefined;
41
+ workflowKey?: string | undefined;
42
+ }, {
45
43
  status?: {
44
+ state?: number | undefined;
46
45
  completedAt?: string | undefined;
47
46
  error?: string | undefined;
48
47
  nextStep?: number | undefined;
49
48
  startedAt?: string | undefined;
50
- state?: number | undefined;
51
49
  } | undefined;
50
+ createdAt?: string | undefined;
51
+ id?: string | undefined;
52
52
  workflowKey?: string | undefined;
53
53
  }>>, "many">>;
54
54
  links: z.ZodOptional<z.ZodLazy<z.ZodObject<{
@@ -66,15 +66,15 @@ export declare const workflowRunCollection: z.ZodLazy<z.ZodObject<{
66
66
  }>>>;
67
67
  }, "strip", z.ZodTypeAny, {
68
68
  data?: {
69
- createdAt?: string | undefined;
70
- id?: string | undefined;
71
69
  status?: {
70
+ state?: number | undefined;
72
71
  completedAt?: string | undefined;
73
72
  error?: string | undefined;
74
73
  nextStep?: number | undefined;
75
74
  startedAt?: string | undefined;
76
- state?: number | undefined;
77
75
  } | undefined;
76
+ createdAt?: string | undefined;
77
+ id?: string | undefined;
78
78
  workflowKey?: string | undefined;
79
79
  }[] | undefined;
80
80
  links?: {
@@ -84,15 +84,15 @@ export declare const workflowRunCollection: z.ZodLazy<z.ZodObject<{
84
84
  } | undefined;
85
85
  }, {
86
86
  data?: {
87
- createdAt?: string | undefined;
88
- id?: string | undefined;
89
87
  status?: {
88
+ state?: number | undefined;
90
89
  completedAt?: string | undefined;
91
90
  error?: string | undefined;
92
91
  nextStep?: number | undefined;
93
92
  startedAt?: string | undefined;
94
- state?: number | undefined;
95
93
  } | undefined;
94
+ createdAt?: string | undefined;
95
+ id?: string | undefined;
96
96
  workflowKey?: string | undefined;
97
97
  }[] | undefined;
98
98
  links?: {
@@ -124,17 +124,17 @@ export declare const workflowRunCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zod
124
124
  started_at: z.ZodOptional<z.ZodString>;
125
125
  state: z.ZodOptional<z.ZodNumber>;
126
126
  }, "strip", z.ZodTypeAny, {
127
- completed_at?: string | undefined;
127
+ state?: number | undefined;
128
128
  error?: string | undefined;
129
+ completed_at?: string | undefined;
129
130
  next_step?: number | undefined;
130
131
  started_at?: string | undefined;
131
- state?: number | undefined;
132
132
  }, {
133
- completed_at?: string | undefined;
133
+ state?: number | undefined;
134
134
  error?: string | undefined;
135
+ completed_at?: string | undefined;
135
136
  next_step?: number | undefined;
136
137
  started_at?: string | undefined;
137
- state?: number | undefined;
138
138
  }>, {
139
139
  completedAt: string | undefined;
140
140
  error: string | undefined;
@@ -142,16 +142,14 @@ export declare const workflowRunCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zod
142
142
  startedAt: string | undefined;
143
143
  state: number | undefined;
144
144
  }, {
145
- completed_at?: string | undefined;
145
+ state?: number | undefined;
146
146
  error?: string | undefined;
147
+ completed_at?: string | undefined;
147
148
  next_step?: number | undefined;
148
149
  started_at?: string | undefined;
149
- state?: number | undefined;
150
150
  }>>>;
151
151
  workflow_key: z.ZodOptional<z.ZodString>;
152
152
  }, "strip", z.ZodTypeAny, {
153
- created_at?: string | undefined;
154
- id?: string | undefined;
155
153
  status?: {
156
154
  completedAt: string | undefined;
157
155
  error: string | undefined;
@@ -159,17 +157,19 @@ export declare const workflowRunCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zod
159
157
  startedAt: string | undefined;
160
158
  state: number | undefined;
161
159
  } | undefined;
160
+ id?: string | undefined;
161
+ created_at?: string | undefined;
162
162
  workflow_key?: string | undefined;
163
163
  }, {
164
- created_at?: string | undefined;
165
- id?: string | undefined;
166
164
  status?: {
167
- completed_at?: string | undefined;
165
+ state?: number | undefined;
168
166
  error?: string | undefined;
167
+ completed_at?: string | undefined;
169
168
  next_step?: number | undefined;
170
169
  started_at?: string | undefined;
171
- state?: number | undefined;
172
170
  } | undefined;
171
+ id?: string | undefined;
172
+ created_at?: string | undefined;
173
173
  workflow_key?: string | undefined;
174
174
  }>, {
175
175
  createdAt: string | undefined;
@@ -183,15 +183,15 @@ export declare const workflowRunCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zod
183
183
  } | undefined;
184
184
  workflowKey: string | undefined;
185
185
  }, {
186
- created_at?: string | undefined;
187
- id?: string | undefined;
188
186
  status?: {
189
- completed_at?: string | undefined;
187
+ state?: number | undefined;
190
188
  error?: string | undefined;
189
+ completed_at?: string | undefined;
191
190
  next_step?: number | undefined;
192
191
  started_at?: string | undefined;
193
- state?: number | undefined;
194
192
  } | undefined;
193
+ id?: string | undefined;
194
+ created_at?: string | undefined;
195
195
  workflow_key?: string | undefined;
196
196
  }>>, "many">>;
197
197
  links: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
@@ -235,15 +235,15 @@ export declare const workflowRunCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zod
235
235
  } | undefined;
236
236
  }, {
237
237
  data?: {
238
- created_at?: string | undefined;
239
- id?: string | undefined;
240
238
  status?: {
241
- completed_at?: string | undefined;
239
+ state?: number | undefined;
242
240
  error?: string | undefined;
241
+ completed_at?: string | undefined;
243
242
  next_step?: number | undefined;
244
243
  started_at?: string | undefined;
245
- state?: number | undefined;
246
244
  } | undefined;
245
+ id?: string | undefined;
246
+ created_at?: string | undefined;
247
247
  workflow_key?: string | undefined;
248
248
  }[] | undefined;
249
249
  links?: {
@@ -271,15 +271,15 @@ export declare const workflowRunCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zod
271
271
  } | undefined;
272
272
  }, {
273
273
  data?: {
274
- created_at?: string | undefined;
275
- id?: string | undefined;
276
274
  status?: {
277
- completed_at?: string | undefined;
275
+ state?: number | undefined;
278
276
  error?: string | undefined;
277
+ completed_at?: string | undefined;
279
278
  next_step?: number | undefined;
280
279
  started_at?: string | undefined;
281
- state?: number | undefined;
282
280
  } | undefined;
281
+ id?: string | undefined;
282
+ created_at?: string | undefined;
283
283
  workflow_key?: string | undefined;
284
284
  }[] | undefined;
285
285
  links?: {
@@ -304,17 +304,17 @@ export declare const workflowRunCollectionRequest: z.ZodLazy<z.ZodEffects<z.ZodO
304
304
  startedAt: z.ZodOptional<z.ZodString>;
305
305
  state: z.ZodOptional<z.ZodNumber>;
306
306
  }, "strip", z.ZodTypeAny, {
307
+ state?: number | undefined;
307
308
  completedAt?: string | undefined;
308
309
  error?: string | undefined;
309
310
  nextStep?: number | undefined;
310
311
  startedAt?: string | undefined;
311
- state?: number | undefined;
312
312
  }, {
313
+ state?: number | undefined;
313
314
  completedAt?: string | undefined;
314
315
  error?: string | undefined;
315
316
  nextStep?: number | undefined;
316
317
  startedAt?: string | undefined;
317
- state?: number | undefined;
318
318
  }>, {
319
319
  completed_at: string | undefined;
320
320
  error: string | undefined;
@@ -322,16 +322,14 @@ export declare const workflowRunCollectionRequest: z.ZodLazy<z.ZodEffects<z.ZodO
322
322
  started_at: string | undefined;
323
323
  state: number | undefined;
324
324
  }, {
325
+ state?: number | undefined;
325
326
  completedAt?: string | undefined;
326
327
  error?: string | undefined;
327
328
  nextStep?: number | undefined;
328
329
  startedAt?: string | undefined;
329
- state?: number | undefined;
330
330
  }>>>;
331
331
  workflowKey: z.ZodOptional<z.ZodString>;
332
332
  }, "strip", z.ZodTypeAny, {
333
- createdAt?: string | undefined;
334
- id?: string | undefined;
335
333
  status?: {
336
334
  completed_at: string | undefined;
337
335
  error: string | undefined;
@@ -339,17 +337,19 @@ export declare const workflowRunCollectionRequest: z.ZodLazy<z.ZodEffects<z.ZodO
339
337
  started_at: string | undefined;
340
338
  state: number | undefined;
341
339
  } | undefined;
342
- workflowKey?: string | undefined;
343
- }, {
344
340
  createdAt?: string | undefined;
345
341
  id?: string | undefined;
342
+ workflowKey?: string | undefined;
343
+ }, {
346
344
  status?: {
345
+ state?: number | undefined;
347
346
  completedAt?: string | undefined;
348
347
  error?: string | undefined;
349
348
  nextStep?: number | undefined;
350
349
  startedAt?: string | undefined;
351
- state?: number | undefined;
352
350
  } | undefined;
351
+ createdAt?: string | undefined;
352
+ id?: string | undefined;
353
353
  workflowKey?: string | undefined;
354
354
  }>, {
355
355
  created_at: string | undefined;
@@ -363,15 +363,15 @@ export declare const workflowRunCollectionRequest: z.ZodLazy<z.ZodEffects<z.ZodO
363
363
  } | undefined;
364
364
  workflow_key: string | undefined;
365
365
  }, {
366
- createdAt?: string | undefined;
367
- id?: string | undefined;
368
366
  status?: {
367
+ state?: number | undefined;
369
368
  completedAt?: string | undefined;
370
369
  error?: string | undefined;
371
370
  nextStep?: number | undefined;
372
371
  startedAt?: string | undefined;
373
- state?: number | undefined;
374
372
  } | undefined;
373
+ createdAt?: string | undefined;
374
+ id?: string | undefined;
375
375
  workflowKey?: string | undefined;
376
376
  }>>, "many">>;
377
377
  links: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
@@ -415,15 +415,15 @@ export declare const workflowRunCollectionRequest: z.ZodLazy<z.ZodEffects<z.ZodO
415
415
  } | undefined;
416
416
  }, {
417
417
  data?: {
418
- createdAt?: string | undefined;
419
- id?: string | undefined;
420
418
  status?: {
419
+ state?: number | undefined;
421
420
  completedAt?: string | undefined;
422
421
  error?: string | undefined;
423
422
  nextStep?: number | undefined;
424
423
  startedAt?: string | undefined;
425
- state?: number | undefined;
426
424
  } | undefined;
425
+ createdAt?: string | undefined;
426
+ id?: string | undefined;
427
427
  workflowKey?: string | undefined;
428
428
  }[] | undefined;
429
429
  links?: {
@@ -451,15 +451,15 @@ export declare const workflowRunCollectionRequest: z.ZodLazy<z.ZodEffects<z.ZodO
451
451
  } | undefined;
452
452
  }, {
453
453
  data?: {
454
- createdAt?: string | undefined;
455
- id?: string | undefined;
456
454
  status?: {
455
+ state?: number | undefined;
457
456
  completedAt?: string | undefined;
458
457
  error?: string | undefined;
459
458
  nextStep?: number | undefined;
460
459
  startedAt?: string | undefined;
461
- state?: number | undefined;
462
460
  } | undefined;
461
+ createdAt?: string | undefined;
462
+ id?: string | undefined;
463
463
  workflowKey?: string | undefined;
464
464
  }[] | undefined;
465
465
  links?: {
@@ -11,17 +11,17 @@ export declare const workflowRunStatus: z.ZodLazy<z.ZodObject<{
11
11
  startedAt: z.ZodOptional<z.ZodString>;
12
12
  state: z.ZodOptional<z.ZodNumber>;
13
13
  }, "strip", z.ZodTypeAny, {
14
+ state?: number | undefined;
14
15
  completedAt?: string | undefined;
15
16
  error?: string | undefined;
16
17
  nextStep?: number | undefined;
17
18
  startedAt?: string | undefined;
18
- state?: number | undefined;
19
19
  }, {
20
+ state?: number | undefined;
20
21
  completedAt?: string | undefined;
21
22
  error?: string | undefined;
22
23
  nextStep?: number | undefined;
23
24
  startedAt?: string | undefined;
24
- state?: number | undefined;
25
25
  }>>;
26
26
  /**
27
27
  *
@@ -45,17 +45,17 @@ export declare const workflowRunStatusResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
45
45
  started_at: z.ZodOptional<z.ZodString>;
46
46
  state: z.ZodOptional<z.ZodNumber>;
47
47
  }, "strip", z.ZodTypeAny, {
48
- completed_at?: string | undefined;
48
+ state?: number | undefined;
49
49
  error?: string | undefined;
50
+ completed_at?: string | undefined;
50
51
  next_step?: number | undefined;
51
52
  started_at?: string | undefined;
52
- state?: number | undefined;
53
53
  }, {
54
- completed_at?: string | undefined;
54
+ state?: number | undefined;
55
55
  error?: string | undefined;
56
+ completed_at?: string | undefined;
56
57
  next_step?: number | undefined;
57
58
  started_at?: string | undefined;
58
- state?: number | undefined;
59
59
  }>, {
60
60
  completedAt: string | undefined;
61
61
  error: string | undefined;
@@ -63,11 +63,11 @@ export declare const workflowRunStatusResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
63
63
  startedAt: string | undefined;
64
64
  state: number | undefined;
65
65
  }, {
66
- completed_at?: string | undefined;
66
+ state?: number | undefined;
67
67
  error?: string | undefined;
68
+ completed_at?: string | undefined;
68
69
  next_step?: number | undefined;
69
70
  started_at?: string | undefined;
70
- state?: number | undefined;
71
71
  }>>;
72
72
  /**
73
73
  * Zod schema for mapping the WorkflowRunStatus application shape to API requests.
@@ -81,17 +81,17 @@ export declare const workflowRunStatusRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
81
81
  startedAt: z.ZodOptional<z.ZodString>;
82
82
  state: z.ZodOptional<z.ZodNumber>;
83
83
  }, "strip", z.ZodTypeAny, {
84
+ state?: number | undefined;
84
85
  completedAt?: string | undefined;
85
86
  error?: string | undefined;
86
87
  nextStep?: number | undefined;
87
88
  startedAt?: string | undefined;
88
- state?: number | undefined;
89
89
  }, {
90
+ state?: number | undefined;
90
91
  completedAt?: string | undefined;
91
92
  error?: string | undefined;
92
93
  nextStep?: number | undefined;
93
94
  startedAt?: string | undefined;
94
- state?: number | undefined;
95
95
  }>, {
96
96
  completed_at: string | undefined;
97
97
  error: string | undefined;
@@ -99,10 +99,10 @@ export declare const workflowRunStatusRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
99
99
  started_at: string | undefined;
100
100
  state: number | undefined;
101
101
  }, {
102
+ state?: number | undefined;
102
103
  completedAt?: string | undefined;
103
104
  error?: string | undefined;
104
105
  nextStep?: number | undefined;
105
106
  startedAt?: string | undefined;
106
- state?: number | undefined;
107
107
  }>>;
108
108
  //# sourceMappingURL=workflow-run-status.d.ts.map
@@ -14,40 +14,40 @@ export declare const workflowRun: z.ZodLazy<z.ZodObject<{
14
14
  startedAt: z.ZodOptional<z.ZodString>;
15
15
  state: z.ZodOptional<z.ZodNumber>;
16
16
  }, "strip", z.ZodTypeAny, {
17
+ state?: number | undefined;
17
18
  completedAt?: string | undefined;
18
19
  error?: string | undefined;
19
20
  nextStep?: number | undefined;
20
21
  startedAt?: string | undefined;
21
- state?: number | undefined;
22
22
  }, {
23
+ state?: number | undefined;
23
24
  completedAt?: string | undefined;
24
25
  error?: string | undefined;
25
26
  nextStep?: number | undefined;
26
27
  startedAt?: string | undefined;
27
- state?: number | undefined;
28
28
  }>>>;
29
29
  workflowKey: z.ZodOptional<z.ZodString>;
30
30
  }, "strip", z.ZodTypeAny, {
31
- createdAt?: string | undefined;
32
- id?: string | undefined;
33
31
  status?: {
32
+ state?: number | undefined;
34
33
  completedAt?: string | undefined;
35
34
  error?: string | undefined;
36
35
  nextStep?: number | undefined;
37
36
  startedAt?: string | undefined;
38
- state?: number | undefined;
39
37
  } | undefined;
40
- workflowKey?: string | undefined;
41
- }, {
42
38
  createdAt?: string | undefined;
43
39
  id?: string | undefined;
40
+ workflowKey?: string | undefined;
41
+ }, {
44
42
  status?: {
43
+ state?: number | undefined;
45
44
  completedAt?: string | undefined;
46
45
  error?: string | undefined;
47
46
  nextStep?: number | undefined;
48
47
  startedAt?: string | undefined;
49
- state?: number | undefined;
50
48
  } | undefined;
49
+ createdAt?: string | undefined;
50
+ id?: string | undefined;
51
51
  workflowKey?: string | undefined;
52
52
  }>>;
53
53
  /**
@@ -74,17 +74,17 @@ export declare const workflowRunResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
74
74
  started_at: z.ZodOptional<z.ZodString>;
75
75
  state: z.ZodOptional<z.ZodNumber>;
76
76
  }, "strip", z.ZodTypeAny, {
77
- completed_at?: string | undefined;
77
+ state?: number | undefined;
78
78
  error?: string | undefined;
79
+ completed_at?: string | undefined;
79
80
  next_step?: number | undefined;
80
81
  started_at?: string | undefined;
81
- state?: number | undefined;
82
82
  }, {
83
- completed_at?: string | undefined;
83
+ state?: number | undefined;
84
84
  error?: string | undefined;
85
+ completed_at?: string | undefined;
85
86
  next_step?: number | undefined;
86
87
  started_at?: string | undefined;
87
- state?: number | undefined;
88
88
  }>, {
89
89
  completedAt: string | undefined;
90
90
  error: string | undefined;
@@ -92,16 +92,14 @@ export declare const workflowRunResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
92
92
  startedAt: string | undefined;
93
93
  state: number | undefined;
94
94
  }, {
95
- completed_at?: string | undefined;
95
+ state?: number | undefined;
96
96
  error?: string | undefined;
97
+ completed_at?: string | undefined;
97
98
  next_step?: number | undefined;
98
99
  started_at?: string | undefined;
99
- state?: number | undefined;
100
100
  }>>>;
101
101
  workflow_key: z.ZodOptional<z.ZodString>;
102
102
  }, "strip", z.ZodTypeAny, {
103
- created_at?: string | undefined;
104
- id?: string | undefined;
105
103
  status?: {
106
104
  completedAt: string | undefined;
107
105
  error: string | undefined;
@@ -109,17 +107,19 @@ export declare const workflowRunResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
109
107
  startedAt: string | undefined;
110
108
  state: number | undefined;
111
109
  } | undefined;
110
+ id?: string | undefined;
111
+ created_at?: string | undefined;
112
112
  workflow_key?: string | undefined;
113
113
  }, {
114
- created_at?: string | undefined;
115
- id?: string | undefined;
116
114
  status?: {
117
- completed_at?: string | undefined;
115
+ state?: number | undefined;
118
116
  error?: string | undefined;
117
+ completed_at?: string | undefined;
119
118
  next_step?: number | undefined;
120
119
  started_at?: string | undefined;
121
- state?: number | undefined;
122
120
  } | undefined;
121
+ id?: string | undefined;
122
+ created_at?: string | undefined;
123
123
  workflow_key?: string | undefined;
124
124
  }>, {
125
125
  createdAt: string | undefined;
@@ -133,15 +133,15 @@ export declare const workflowRunResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
133
133
  } | undefined;
134
134
  workflowKey: string | undefined;
135
135
  }, {
136
- created_at?: string | undefined;
137
- id?: string | undefined;
138
136
  status?: {
139
- completed_at?: string | undefined;
137
+ state?: number | undefined;
140
138
  error?: string | undefined;
139
+ completed_at?: string | undefined;
141
140
  next_step?: number | undefined;
142
141
  started_at?: string | undefined;
143
- state?: number | undefined;
144
142
  } | undefined;
143
+ id?: string | undefined;
144
+ created_at?: string | undefined;
145
145
  workflow_key?: string | undefined;
146
146
  }>>;
147
147
  /**
@@ -159,17 +159,17 @@ export declare const workflowRunRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
159
159
  startedAt: z.ZodOptional<z.ZodString>;
160
160
  state: z.ZodOptional<z.ZodNumber>;
161
161
  }, "strip", z.ZodTypeAny, {
162
+ state?: number | undefined;
162
163
  completedAt?: string | undefined;
163
164
  error?: string | undefined;
164
165
  nextStep?: number | undefined;
165
166
  startedAt?: string | undefined;
166
- state?: number | undefined;
167
167
  }, {
168
+ state?: number | undefined;
168
169
  completedAt?: string | undefined;
169
170
  error?: string | undefined;
170
171
  nextStep?: number | undefined;
171
172
  startedAt?: string | undefined;
172
- state?: number | undefined;
173
173
  }>, {
174
174
  completed_at: string | undefined;
175
175
  error: string | undefined;
@@ -177,16 +177,14 @@ export declare const workflowRunRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
177
177
  started_at: string | undefined;
178
178
  state: number | undefined;
179
179
  }, {
180
+ state?: number | undefined;
180
181
  completedAt?: string | undefined;
181
182
  error?: string | undefined;
182
183
  nextStep?: number | undefined;
183
184
  startedAt?: string | undefined;
184
- state?: number | undefined;
185
185
  }>>>;
186
186
  workflowKey: z.ZodOptional<z.ZodString>;
187
187
  }, "strip", z.ZodTypeAny, {
188
- createdAt?: string | undefined;
189
- id?: string | undefined;
190
188
  status?: {
191
189
  completed_at: string | undefined;
192
190
  error: string | undefined;
@@ -194,17 +192,19 @@ export declare const workflowRunRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
194
192
  started_at: string | undefined;
195
193
  state: number | undefined;
196
194
  } | undefined;
197
- workflowKey?: string | undefined;
198
- }, {
199
195
  createdAt?: string | undefined;
200
196
  id?: string | undefined;
197
+ workflowKey?: string | undefined;
198
+ }, {
201
199
  status?: {
200
+ state?: number | undefined;
202
201
  completedAt?: string | undefined;
203
202
  error?: string | undefined;
204
203
  nextStep?: number | undefined;
205
204
  startedAt?: string | undefined;
206
- state?: number | undefined;
207
205
  } | undefined;
206
+ createdAt?: string | undefined;
207
+ id?: string | undefined;
208
208
  workflowKey?: string | undefined;
209
209
  }>, {
210
210
  created_at: string | undefined;
@@ -218,15 +218,15 @@ export declare const workflowRunRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
218
218
  } | undefined;
219
219
  workflow_key: string | undefined;
220
220
  }, {
221
- createdAt?: string | undefined;
222
- id?: string | undefined;
223
221
  status?: {
222
+ state?: number | undefined;
224
223
  completedAt?: string | undefined;
225
224
  error?: string | undefined;
226
225
  nextStep?: number | undefined;
227
226
  startedAt?: string | undefined;
228
- state?: number | undefined;
229
227
  } | undefined;
228
+ createdAt?: string | undefined;
229
+ id?: string | undefined;
230
230
  workflowKey?: string | undefined;
231
231
  }>>;
232
232
  //# sourceMappingURL=workflow-run.d.ts.map