magicbell-js 1.6.0 → 1.7.1

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 (125) hide show
  1. package/README.md +1 -1
  2. package/dist/commonjs/project-client/services/broadcasts/models/broadcast-collection.d.ts +265 -265
  3. package/dist/commonjs/project-client/services/broadcasts/models/broadcast.d.ts +168 -168
  4. package/dist/commonjs/project-client/services/broadcasts/models/email.d.ts +3 -3
  5. package/dist/commonjs/project-client/services/broadcasts/models/in-app.d.ts +3 -3
  6. package/dist/commonjs/project-client/services/broadcasts/models/mobile-push.d.ts +3 -3
  7. package/dist/commonjs/project-client/services/broadcasts/models/overrides-channels.d.ts +27 -27
  8. package/dist/commonjs/project-client/services/broadcasts/models/overrides.d.ts +39 -39
  9. package/dist/commonjs/project-client/services/broadcasts/models/sms.d.ts +3 -3
  10. package/dist/commonjs/project-client/services/channels/models/apns-token-collection.d.ts +14 -14
  11. package/dist/commonjs/project-client/services/channels/models/apns-token.d.ts +8 -8
  12. package/dist/commonjs/project-client/services/channels/models/discard-result.d.ts +8 -8
  13. package/dist/commonjs/project-client/services/channels/models/expo-token-collection.d.ts +14 -14
  14. package/dist/commonjs/project-client/services/channels/models/expo-token.d.ts +8 -8
  15. package/dist/commonjs/project-client/services/channels/models/fcm-token-collection.d.ts +14 -14
  16. package/dist/commonjs/project-client/services/channels/models/fcm-token.d.ts +8 -8
  17. package/dist/commonjs/project-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
  18. package/dist/commonjs/project-client/services/channels/models/inbox-token-response.d.ts +16 -16
  19. package/dist/commonjs/project-client/services/channels/models/slack-token-collection.d.ts +14 -14
  20. package/dist/commonjs/project-client/services/channels/models/slack-token.d.ts +8 -8
  21. package/dist/commonjs/project-client/services/channels/models/teams-token-collection.d.ts +14 -14
  22. package/dist/commonjs/project-client/services/channels/models/teams-token.d.ts +8 -8
  23. package/dist/commonjs/project-client/services/channels/models/web-push-token-collection.d.ts +14 -14
  24. package/dist/commonjs/project-client/services/channels/models/web-push-token.d.ts +8 -8
  25. package/dist/commonjs/project-client/services/common/user.d.ts +6 -6
  26. package/dist/commonjs/project-client/services/integrations/models/inbox-config-collection.d.ts +182 -182
  27. package/dist/commonjs/project-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  28. package/dist/commonjs/project-client/services/integrations/models/inbox-config.d.ts +140 -140
  29. package/dist/commonjs/project-client/services/integrations/models/theme.d.ts +56 -56
  30. package/dist/commonjs/project-client/services/users/models/user-collection.d.ts +10 -10
  31. package/dist/commonjs/project-client/services/workflows/models/get-run-response-status.d.ts +11 -11
  32. package/dist/commonjs/project-client/services/workflows/models/get-run-response.d.ts +41 -41
  33. package/dist/commonjs/project-client/services/workflows/models/workflow-run-collection.d.ts +55 -55
  34. package/dist/commonjs/project-client/services/workflows/models/workflow-run-status.d.ts +11 -11
  35. package/dist/commonjs/project-client/services/workflows/models/workflow-run.d.ts +35 -35
  36. package/dist/commonjs/user-client/services/channels/models/apns-token-collection.d.ts +14 -14
  37. package/dist/commonjs/user-client/services/channels/models/apns-token.d.ts +8 -8
  38. package/dist/commonjs/user-client/services/channels/models/categories.d.ts +30 -30
  39. package/dist/commonjs/user-client/services/channels/models/channels.d.ts +8 -8
  40. package/dist/commonjs/user-client/services/channels/models/discard-result.d.ts +8 -8
  41. package/dist/commonjs/user-client/services/channels/models/expo-token-collection.d.ts +14 -14
  42. package/dist/commonjs/user-client/services/channels/models/expo-token.d.ts +8 -8
  43. package/dist/commonjs/user-client/services/channels/models/fcm-token-collection.d.ts +14 -14
  44. package/dist/commonjs/user-client/services/channels/models/fcm-token.d.ts +8 -8
  45. package/dist/commonjs/user-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
  46. package/dist/commonjs/user-client/services/channels/models/inbox-token-response.d.ts +16 -16
  47. package/dist/commonjs/user-client/services/channels/models/slack-token-collection.d.ts +14 -14
  48. package/dist/commonjs/user-client/services/channels/models/slack-token.d.ts +8 -8
  49. package/dist/commonjs/user-client/services/channels/models/teams-token-collection.d.ts +14 -14
  50. package/dist/commonjs/user-client/services/channels/models/teams-token.d.ts +8 -8
  51. package/dist/commonjs/user-client/services/channels/models/user-preferences.d.ts +48 -48
  52. package/dist/commonjs/user-client/services/channels/models/web-push-token-collection.d.ts +14 -14
  53. package/dist/commonjs/user-client/services/channels/models/web-push-token.d.ts +8 -8
  54. package/dist/commonjs/user-client/services/integrations/models/authed-user.d.ts +8 -8
  55. package/dist/commonjs/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  56. package/dist/commonjs/user-client/services/integrations/models/slack-installation.d.ts +57 -57
  57. package/dist/commonjs/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
  58. package/dist/commonjs/user-client/services/integrations/models/theme.d.ts +56 -56
  59. package/dist/commonjs/user-client/services/notifications/models/notification-collection.d.ts +56 -56
  60. package/dist/commonjs/user-client/services/notifications/models/notification.d.ts +32 -32
  61. package/dist/commonjs/user-client/services/notifications/models/notification.js +3 -3
  62. package/dist/commonjs/user-client/services/notifications/models/notification.js.map +1 -1
  63. package/dist/esm/project-client/services/broadcasts/models/broadcast-collection.d.ts +265 -265
  64. package/dist/esm/project-client/services/broadcasts/models/broadcast.d.ts +168 -168
  65. package/dist/esm/project-client/services/broadcasts/models/email.d.ts +3 -3
  66. package/dist/esm/project-client/services/broadcasts/models/in-app.d.ts +3 -3
  67. package/dist/esm/project-client/services/broadcasts/models/mobile-push.d.ts +3 -3
  68. package/dist/esm/project-client/services/broadcasts/models/overrides-channels.d.ts +27 -27
  69. package/dist/esm/project-client/services/broadcasts/models/overrides.d.ts +39 -39
  70. package/dist/esm/project-client/services/broadcasts/models/sms.d.ts +3 -3
  71. package/dist/esm/project-client/services/channels/models/apns-token-collection.d.ts +14 -14
  72. package/dist/esm/project-client/services/channels/models/apns-token.d.ts +8 -8
  73. package/dist/esm/project-client/services/channels/models/discard-result.d.ts +8 -8
  74. package/dist/esm/project-client/services/channels/models/expo-token-collection.d.ts +14 -14
  75. package/dist/esm/project-client/services/channels/models/expo-token.d.ts +8 -8
  76. package/dist/esm/project-client/services/channels/models/fcm-token-collection.d.ts +14 -14
  77. package/dist/esm/project-client/services/channels/models/fcm-token.d.ts +8 -8
  78. package/dist/esm/project-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
  79. package/dist/esm/project-client/services/channels/models/inbox-token-response.d.ts +16 -16
  80. package/dist/esm/project-client/services/channels/models/slack-token-collection.d.ts +14 -14
  81. package/dist/esm/project-client/services/channels/models/slack-token.d.ts +8 -8
  82. package/dist/esm/project-client/services/channels/models/teams-token-collection.d.ts +14 -14
  83. package/dist/esm/project-client/services/channels/models/teams-token.d.ts +8 -8
  84. package/dist/esm/project-client/services/channels/models/web-push-token-collection.d.ts +14 -14
  85. package/dist/esm/project-client/services/channels/models/web-push-token.d.ts +8 -8
  86. package/dist/esm/project-client/services/common/user.d.ts +6 -6
  87. package/dist/esm/project-client/services/integrations/models/inbox-config-collection.d.ts +182 -182
  88. package/dist/esm/project-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  89. package/dist/esm/project-client/services/integrations/models/inbox-config.d.ts +140 -140
  90. package/dist/esm/project-client/services/integrations/models/theme.d.ts +56 -56
  91. package/dist/esm/project-client/services/users/models/user-collection.d.ts +10 -10
  92. package/dist/esm/project-client/services/workflows/models/get-run-response-status.d.ts +11 -11
  93. package/dist/esm/project-client/services/workflows/models/get-run-response.d.ts +41 -41
  94. package/dist/esm/project-client/services/workflows/models/workflow-run-collection.d.ts +55 -55
  95. package/dist/esm/project-client/services/workflows/models/workflow-run-status.d.ts +11 -11
  96. package/dist/esm/project-client/services/workflows/models/workflow-run.d.ts +35 -35
  97. package/dist/esm/user-client/services/channels/models/apns-token-collection.d.ts +14 -14
  98. package/dist/esm/user-client/services/channels/models/apns-token.d.ts +8 -8
  99. package/dist/esm/user-client/services/channels/models/categories.d.ts +30 -30
  100. package/dist/esm/user-client/services/channels/models/channels.d.ts +8 -8
  101. package/dist/esm/user-client/services/channels/models/discard-result.d.ts +8 -8
  102. package/dist/esm/user-client/services/channels/models/expo-token-collection.d.ts +14 -14
  103. package/dist/esm/user-client/services/channels/models/expo-token.d.ts +8 -8
  104. package/dist/esm/user-client/services/channels/models/fcm-token-collection.d.ts +14 -14
  105. package/dist/esm/user-client/services/channels/models/fcm-token.d.ts +8 -8
  106. package/dist/esm/user-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
  107. package/dist/esm/user-client/services/channels/models/inbox-token-response.d.ts +16 -16
  108. package/dist/esm/user-client/services/channels/models/slack-token-collection.d.ts +14 -14
  109. package/dist/esm/user-client/services/channels/models/slack-token.d.ts +8 -8
  110. package/dist/esm/user-client/services/channels/models/teams-token-collection.d.ts +14 -14
  111. package/dist/esm/user-client/services/channels/models/teams-token.d.ts +8 -8
  112. package/dist/esm/user-client/services/channels/models/user-preferences.d.ts +48 -48
  113. package/dist/esm/user-client/services/channels/models/web-push-token-collection.d.ts +14 -14
  114. package/dist/esm/user-client/services/channels/models/web-push-token.d.ts +8 -8
  115. package/dist/esm/user-client/services/integrations/models/authed-user.d.ts +8 -8
  116. package/dist/esm/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  117. package/dist/esm/user-client/services/integrations/models/slack-installation.d.ts +57 -57
  118. package/dist/esm/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
  119. package/dist/esm/user-client/services/integrations/models/theme.d.ts +56 -56
  120. package/dist/esm/user-client/services/notifications/models/notification-collection.d.ts +56 -56
  121. package/dist/esm/user-client/services/notifications/models/notification.d.ts +32 -32
  122. package/dist/esm/user-client/services/notifications/models/notification.js +3 -3
  123. package/dist/esm/user-client/services/notifications/models/notification.js.map +1 -1
  124. package/package.json +6 -6
  125. package/src/user-client/services/notifications/models/notification.ts +3 -3
@@ -279,6 +279,13 @@ export declare const theme: z.ZodLazy<z.ZodObject<{
279
279
  backgroundColor: string;
280
280
  }>>>;
281
281
  }, "strip", z.ZodTypeAny, {
282
+ header?: {
283
+ backgroundColor: string;
284
+ fontSize: string;
285
+ textColor: string;
286
+ borderRadius: string;
287
+ fontFamily: string;
288
+ } | undefined;
282
289
  banner?: {
283
290
  backgroundColor: string;
284
291
  fontSize: string;
@@ -296,13 +303,6 @@ export declare const theme: z.ZodLazy<z.ZodObject<{
296
303
  textColor: string;
297
304
  borderRadius: string;
298
305
  } | undefined;
299
- header?: {
300
- backgroundColor: string;
301
- fontSize: string;
302
- textColor: string;
303
- borderRadius: string;
304
- fontFamily: string;
305
- } | undefined;
306
306
  icon?: {
307
307
  borderColor: string;
308
308
  width: string;
@@ -347,6 +347,13 @@ export declare const theme: z.ZodLazy<z.ZodObject<{
347
347
  backgroundColor: string;
348
348
  } | undefined;
349
349
  }, {
350
+ header?: {
351
+ backgroundColor: string;
352
+ fontSize: string;
353
+ textColor: string;
354
+ borderRadius: string;
355
+ fontFamily: string;
356
+ } | undefined;
350
357
  banner?: {
351
358
  backgroundColor: string;
352
359
  fontSize: string;
@@ -364,13 +371,6 @@ export declare const theme: z.ZodLazy<z.ZodObject<{
364
371
  textColor: string;
365
372
  borderRadius: string;
366
373
  } | undefined;
367
- header?: {
368
- backgroundColor: string;
369
- fontSize: string;
370
- textColor: string;
371
- borderRadius: string;
372
- fontFamily: string;
373
- } | undefined;
374
374
  icon?: {
375
375
  borderColor: string;
376
376
  width: string;
@@ -913,6 +913,13 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
913
913
  backgroundColor: string;
914
914
  }>>>;
915
915
  }, "strip", z.ZodTypeAny, {
916
+ header?: {
917
+ backgroundColor: string;
918
+ borderRadius: string;
919
+ fontFamily: string;
920
+ fontSize: string;
921
+ textColor: string;
922
+ } | undefined;
916
923
  banner?: {
917
924
  backgroundColor: string;
918
925
  backgroundOpacity: number | undefined;
@@ -930,13 +937,6 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
930
937
  fontSize: string;
931
938
  textColor: string;
932
939
  } | undefined;
933
- header?: {
934
- backgroundColor: string;
935
- borderRadius: string;
936
- fontFamily: string;
937
- fontSize: string;
938
- textColor: string;
939
- } | undefined;
940
940
  icon?: {
941
941
  borderColor: string;
942
942
  width: string;
@@ -981,6 +981,13 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
981
981
  backgroundColor: string;
982
982
  } | undefined;
983
983
  }, {
984
+ header?: {
985
+ backgroundColor: string;
986
+ fontSize: string;
987
+ textColor: string;
988
+ borderRadius: string;
989
+ fontFamily: string;
990
+ } | undefined;
984
991
  banner?: {
985
992
  backgroundColor: string;
986
993
  fontSize: string;
@@ -998,13 +1005,6 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
998
1005
  textColor: string;
999
1006
  borderRadius: string;
1000
1007
  } | undefined;
1001
- header?: {
1002
- backgroundColor: string;
1003
- fontSize: string;
1004
- textColor: string;
1005
- borderRadius: string;
1006
- fontFamily: string;
1007
- } | undefined;
1008
1008
  icon?: {
1009
1009
  borderColor: string;
1010
1010
  width: string;
@@ -1117,6 +1117,13 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
1117
1117
  backgroundColor: string;
1118
1118
  } | undefined;
1119
1119
  }, {
1120
+ header?: {
1121
+ backgroundColor: string;
1122
+ fontSize: string;
1123
+ textColor: string;
1124
+ borderRadius: string;
1125
+ fontFamily: string;
1126
+ } | undefined;
1120
1127
  banner?: {
1121
1128
  backgroundColor: string;
1122
1129
  fontSize: string;
@@ -1134,13 +1141,6 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
1134
1141
  textColor: string;
1135
1142
  borderRadius: string;
1136
1143
  } | undefined;
1137
- header?: {
1138
- backgroundColor: string;
1139
- fontSize: string;
1140
- textColor: string;
1141
- borderRadius: string;
1142
- fontFamily: string;
1143
- } | undefined;
1144
1144
  icon?: {
1145
1145
  borderColor: string;
1146
1146
  width: string;
@@ -1671,6 +1671,13 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
1671
1671
  backgroundColor: string;
1672
1672
  }>>>;
1673
1673
  }, "strip", z.ZodTypeAny, {
1674
+ header?: {
1675
+ backgroundColor: string;
1676
+ borderRadius: string;
1677
+ fontFamily: string;
1678
+ fontSize: string;
1679
+ textColor: string;
1680
+ } | undefined;
1674
1681
  banner?: {
1675
1682
  backgroundColor: string;
1676
1683
  backgroundOpacity: number | undefined;
@@ -1688,13 +1695,6 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
1688
1695
  fontSize: string;
1689
1696
  textColor: string;
1690
1697
  } | undefined;
1691
- header?: {
1692
- backgroundColor: string;
1693
- borderRadius: string;
1694
- fontFamily: string;
1695
- fontSize: string;
1696
- textColor: string;
1697
- } | undefined;
1698
1698
  icon?: {
1699
1699
  borderColor: string;
1700
1700
  width: string;
@@ -1739,6 +1739,13 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
1739
1739
  backgroundColor: string;
1740
1740
  } | undefined;
1741
1741
  }, {
1742
+ header?: {
1743
+ backgroundColor: string;
1744
+ fontSize: string;
1745
+ textColor: string;
1746
+ borderRadius: string;
1747
+ fontFamily: string;
1748
+ } | undefined;
1742
1749
  banner?: {
1743
1750
  backgroundColor: string;
1744
1751
  fontSize: string;
@@ -1756,13 +1763,6 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
1756
1763
  textColor: string;
1757
1764
  borderRadius: string;
1758
1765
  } | undefined;
1759
- header?: {
1760
- backgroundColor: string;
1761
- fontSize: string;
1762
- textColor: string;
1763
- borderRadius: string;
1764
- fontFamily: string;
1765
- } | undefined;
1766
1766
  icon?: {
1767
1767
  borderColor: string;
1768
1768
  width: string;
@@ -1875,6 +1875,13 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
1875
1875
  backgroundColor: string;
1876
1876
  } | undefined;
1877
1877
  }, {
1878
+ header?: {
1879
+ backgroundColor: string;
1880
+ fontSize: string;
1881
+ textColor: string;
1882
+ borderRadius: string;
1883
+ fontFamily: string;
1884
+ } | undefined;
1878
1885
  banner?: {
1879
1886
  backgroundColor: string;
1880
1887
  fontSize: string;
@@ -1892,13 +1899,6 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
1892
1899
  textColor: string;
1893
1900
  borderRadius: string;
1894
1901
  } | undefined;
1895
- header?: {
1896
- backgroundColor: string;
1897
- fontSize: string;
1898
- textColor: string;
1899
- borderRadius: string;
1900
- fontFamily: string;
1901
- } | undefined;
1902
1902
  icon?: {
1903
1903
  borderColor: string;
1904
1904
  width: string;
@@ -114,23 +114,23 @@ export declare const userCollectionResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<
114
114
  last_seen_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
115
115
  updated_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
116
116
  }, "strip", z.ZodTypeAny, {
117
+ email?: string | null | undefined;
118
+ id?: string | undefined;
117
119
  created_at?: string | null | undefined;
118
120
  custom_attributes?: any;
119
- email?: string | null | undefined;
120
121
  external_id?: string | null | undefined;
121
122
  first_name?: string | null | undefined;
122
- id?: string | undefined;
123
123
  last_name?: string | null | undefined;
124
124
  last_notified_at?: string | null | undefined;
125
125
  last_seen_at?: string | null | undefined;
126
126
  updated_at?: string | null | undefined;
127
127
  }, {
128
+ email?: string | null | undefined;
129
+ id?: string | undefined;
128
130
  created_at?: string | null | undefined;
129
131
  custom_attributes?: any;
130
- email?: string | null | undefined;
131
132
  external_id?: string | null | undefined;
132
133
  first_name?: string | null | undefined;
133
- id?: string | undefined;
134
134
  last_name?: string | null | undefined;
135
135
  last_notified_at?: string | null | undefined;
136
136
  last_seen_at?: string | null | undefined;
@@ -147,12 +147,12 @@ export declare const userCollectionResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<
147
147
  lastSeenAt: string | null | undefined;
148
148
  updatedAt: string | null | undefined;
149
149
  }, {
150
+ email?: string | null | undefined;
151
+ id?: string | undefined;
150
152
  created_at?: string | null | undefined;
151
153
  custom_attributes?: any;
152
- email?: string | null | undefined;
153
154
  external_id?: string | null | undefined;
154
155
  first_name?: string | null | undefined;
155
- id?: string | undefined;
156
156
  last_name?: string | null | undefined;
157
157
  last_notified_at?: string | null | undefined;
158
158
  last_seen_at?: string | null | undefined;
@@ -199,12 +199,12 @@ export declare const userCollectionResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<
199
199
  } | undefined;
200
200
  }, {
201
201
  data?: {
202
+ email?: string | null | undefined;
203
+ id?: string | undefined;
202
204
  created_at?: string | null | undefined;
203
205
  custom_attributes?: any;
204
- email?: string | null | undefined;
205
206
  external_id?: string | null | undefined;
206
207
  first_name?: string | null | undefined;
207
- id?: string | undefined;
208
208
  last_name?: string | null | undefined;
209
209
  last_notified_at?: string | null | undefined;
210
210
  last_seen_at?: string | null | undefined;
@@ -235,12 +235,12 @@ export declare const userCollectionResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<
235
235
  } | undefined;
236
236
  }, {
237
237
  data?: {
238
+ email?: string | null | undefined;
239
+ id?: string | undefined;
238
240
  created_at?: string | null | undefined;
239
241
  custom_attributes?: any;
240
- email?: string | null | undefined;
241
242
  external_id?: string | null | undefined;
242
243
  first_name?: string | null | undefined;
243
- id?: string | undefined;
244
244
  last_name?: string | null | undefined;
245
245
  last_notified_at?: string | null | undefined;
246
246
  last_seen_at?: string | null | undefined;
@@ -11,17 +11,17 @@ export declare const getRunResponseStatus: 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 getRunResponseStatusResponse: z.ZodLazy<z.ZodEffects<z.ZodO
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 getRunResponseStatusResponse: z.ZodLazy<z.ZodEffects<z.ZodO
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 GetRunResponseStatus application shape to API requests.
@@ -81,17 +81,17 @@ export declare const getRunResponseStatusRequest: z.ZodLazy<z.ZodEffects<z.ZodOb
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 getRunResponseStatusRequest: z.ZodLazy<z.ZodEffects<z.ZodOb
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=get-run-response-status.d.ts.map
@@ -15,42 +15,42 @@ export declare const getRunResponse: 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
- input?: any;
35
32
  status?: {
33
+ state?: number | undefined;
36
34
  completedAt?: string | undefined;
37
35
  error?: string | undefined;
38
36
  nextStep?: number | undefined;
39
37
  startedAt?: string | undefined;
40
- state?: number | undefined;
41
38
  } | undefined;
42
- workflowKey?: string | undefined;
43
- }, {
44
39
  createdAt?: string | undefined;
45
40
  id?: string | undefined;
46
41
  input?: any;
42
+ workflowKey?: string | undefined;
43
+ }, {
47
44
  status?: {
45
+ state?: number | undefined;
48
46
  completedAt?: string | undefined;
49
47
  error?: string | undefined;
50
48
  nextStep?: number | undefined;
51
49
  startedAt?: string | undefined;
52
- state?: number | undefined;
53
50
  } | undefined;
51
+ createdAt?: string | undefined;
52
+ id?: string | undefined;
53
+ input?: any;
54
54
  workflowKey?: string | undefined;
55
55
  }>>;
56
56
  /**
@@ -79,17 +79,17 @@ export declare const getRunResponseResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<
79
79
  started_at: z.ZodOptional<z.ZodString>;
80
80
  state: z.ZodOptional<z.ZodNumber>;
81
81
  }, "strip", z.ZodTypeAny, {
82
- completed_at?: string | undefined;
82
+ state?: number | undefined;
83
83
  error?: string | undefined;
84
+ completed_at?: string | undefined;
84
85
  next_step?: number | undefined;
85
86
  started_at?: string | undefined;
86
- state?: number | undefined;
87
87
  }, {
88
- completed_at?: string | undefined;
88
+ state?: number | undefined;
89
89
  error?: string | undefined;
90
+ completed_at?: string | undefined;
90
91
  next_step?: number | undefined;
91
92
  started_at?: string | undefined;
92
- state?: number | undefined;
93
93
  }>, {
94
94
  completedAt: string | undefined;
95
95
  error: string | undefined;
@@ -97,17 +97,14 @@ export declare const getRunResponseResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<
97
97
  startedAt: string | undefined;
98
98
  state: number | undefined;
99
99
  }, {
100
- completed_at?: string | undefined;
100
+ state?: number | undefined;
101
101
  error?: string | undefined;
102
+ completed_at?: string | undefined;
102
103
  next_step?: number | undefined;
103
104
  started_at?: string | undefined;
104
- state?: number | undefined;
105
105
  }>>>;
106
106
  workflow_key: z.ZodOptional<z.ZodString>;
107
107
  }, "strip", z.ZodTypeAny, {
108
- created_at?: string | undefined;
109
- id?: string | undefined;
110
- input?: any;
111
108
  status?: {
112
109
  completedAt: string | undefined;
113
110
  error: string | undefined;
@@ -115,18 +112,21 @@ export declare const getRunResponseResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<
115
112
  startedAt: string | undefined;
116
113
  state: number | undefined;
117
114
  } | undefined;
118
- workflow_key?: string | undefined;
119
- }, {
120
- created_at?: string | undefined;
121
115
  id?: string | undefined;
116
+ created_at?: string | undefined;
122
117
  input?: any;
118
+ workflow_key?: string | undefined;
119
+ }, {
123
120
  status?: {
124
- completed_at?: string | undefined;
121
+ state?: number | undefined;
125
122
  error?: string | undefined;
123
+ completed_at?: string | undefined;
126
124
  next_step?: number | undefined;
127
125
  started_at?: string | undefined;
128
- state?: number | undefined;
129
126
  } | undefined;
127
+ id?: string | undefined;
128
+ created_at?: string | undefined;
129
+ input?: any;
130
130
  workflow_key?: string | undefined;
131
131
  }>, {
132
132
  createdAt: string | undefined;
@@ -141,16 +141,16 @@ export declare const getRunResponseResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<
141
141
  } | undefined;
142
142
  workflowKey: string | undefined;
143
143
  }, {
144
- created_at?: string | undefined;
145
- id?: string | undefined;
146
- input?: any;
147
144
  status?: {
148
- completed_at?: string | undefined;
145
+ state?: number | undefined;
149
146
  error?: string | undefined;
147
+ completed_at?: string | undefined;
150
148
  next_step?: number | undefined;
151
149
  started_at?: string | undefined;
152
- state?: number | undefined;
153
150
  } | undefined;
151
+ id?: string | undefined;
152
+ created_at?: string | undefined;
153
+ input?: any;
154
154
  workflow_key?: string | undefined;
155
155
  }>>;
156
156
  /**
@@ -169,17 +169,17 @@ export declare const getRunResponseRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
169
169
  startedAt: z.ZodOptional<z.ZodString>;
170
170
  state: z.ZodOptional<z.ZodNumber>;
171
171
  }, "strip", z.ZodTypeAny, {
172
+ state?: number | undefined;
172
173
  completedAt?: string | undefined;
173
174
  error?: string | undefined;
174
175
  nextStep?: number | undefined;
175
176
  startedAt?: string | undefined;
176
- state?: number | undefined;
177
177
  }, {
178
+ state?: number | undefined;
178
179
  completedAt?: string | undefined;
179
180
  error?: string | undefined;
180
181
  nextStep?: number | undefined;
181
182
  startedAt?: string | undefined;
182
- state?: number | undefined;
183
183
  }>, {
184
184
  completed_at: string | undefined;
185
185
  error: string | undefined;
@@ -187,17 +187,14 @@ export declare const getRunResponseRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
187
187
  started_at: string | undefined;
188
188
  state: number | undefined;
189
189
  }, {
190
+ state?: number | undefined;
190
191
  completedAt?: string | undefined;
191
192
  error?: string | undefined;
192
193
  nextStep?: number | undefined;
193
194
  startedAt?: string | undefined;
194
- state?: number | undefined;
195
195
  }>>>;
196
196
  workflowKey: z.ZodOptional<z.ZodString>;
197
197
  }, "strip", z.ZodTypeAny, {
198
- createdAt?: string | undefined;
199
- id?: string | undefined;
200
- input?: any;
201
198
  status?: {
202
199
  completed_at: string | undefined;
203
200
  error: string | undefined;
@@ -205,18 +202,21 @@ export declare const getRunResponseRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
205
202
  started_at: string | undefined;
206
203
  state: number | undefined;
207
204
  } | undefined;
208
- workflowKey?: string | undefined;
209
- }, {
210
205
  createdAt?: string | undefined;
211
206
  id?: string | undefined;
212
207
  input?: any;
208
+ workflowKey?: string | undefined;
209
+ }, {
213
210
  status?: {
211
+ state?: number | undefined;
214
212
  completedAt?: string | undefined;
215
213
  error?: string | undefined;
216
214
  nextStep?: number | undefined;
217
215
  startedAt?: string | undefined;
218
- state?: number | undefined;
219
216
  } | undefined;
217
+ createdAt?: string | undefined;
218
+ id?: string | undefined;
219
+ input?: any;
220
220
  workflowKey?: string | undefined;
221
221
  }>, {
222
222
  created_at: string | undefined;
@@ -231,16 +231,16 @@ export declare const getRunResponseRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
231
231
  } | undefined;
232
232
  workflow_key: string | undefined;
233
233
  }, {
234
- createdAt?: string | undefined;
235
- id?: string | undefined;
236
- input?: any;
237
234
  status?: {
235
+ state?: number | undefined;
238
236
  completedAt?: string | undefined;
239
237
  error?: string | undefined;
240
238
  nextStep?: number | undefined;
241
239
  startedAt?: string | undefined;
242
- state?: number | undefined;
243
240
  } | undefined;
241
+ createdAt?: string | undefined;
242
+ id?: string | undefined;
243
+ input?: any;
244
244
  workflowKey?: string | undefined;
245
245
  }>>;
246
246
  //# sourceMappingURL=get-run-response.d.ts.map