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
@@ -29,8 +29,8 @@ export declare const webPushTokenCollection: z.ZodLazy<z.ZodObject<{
29
29
  createdAt: string;
30
30
  id: string;
31
31
  endpoint: string;
32
- discardedAt?: string | null | undefined;
33
32
  updatedAt?: string | null | undefined;
33
+ discardedAt?: string | null | undefined;
34
34
  }, {
35
35
  keys: {
36
36
  auth: string;
@@ -39,8 +39,8 @@ export declare const webPushTokenCollection: z.ZodLazy<z.ZodObject<{
39
39
  createdAt: string;
40
40
  id: string;
41
41
  endpoint: string;
42
- discardedAt?: string | null | undefined;
43
42
  updatedAt?: string | null | undefined;
43
+ discardedAt?: string | null | undefined;
44
44
  }>>, "many">>;
45
45
  links: z.ZodOptional<z.ZodLazy<z.ZodObject<{
46
46
  first: z.ZodOptional<z.ZodString>;
@@ -64,8 +64,8 @@ export declare const webPushTokenCollection: z.ZodLazy<z.ZodObject<{
64
64
  createdAt: string;
65
65
  id: string;
66
66
  endpoint: string;
67
- discardedAt?: string | null | undefined;
68
67
  updatedAt?: string | null | undefined;
68
+ discardedAt?: string | null | undefined;
69
69
  }[] | undefined;
70
70
  links?: {
71
71
  first?: string | undefined;
@@ -81,8 +81,8 @@ export declare const webPushTokenCollection: z.ZodLazy<z.ZodObject<{
81
81
  createdAt: string;
82
82
  id: string;
83
83
  endpoint: string;
84
- discardedAt?: string | null | undefined;
85
84
  updatedAt?: string | null | undefined;
85
+ discardedAt?: string | null | undefined;
86
86
  }[] | undefined;
87
87
  links?: {
88
88
  first?: string | undefined;
@@ -133,8 +133,8 @@ export declare const webPushTokenCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zo
133
133
  id: string;
134
134
  created_at: string;
135
135
  endpoint: string;
136
- discarded_at?: string | null | undefined;
137
136
  updated_at?: string | null | undefined;
137
+ discarded_at?: string | null | undefined;
138
138
  }, {
139
139
  keys: {
140
140
  auth: string;
@@ -143,8 +143,8 @@ export declare const webPushTokenCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zo
143
143
  id: string;
144
144
  created_at: string;
145
145
  endpoint: string;
146
- discarded_at?: string | null | undefined;
147
146
  updated_at?: string | null | undefined;
147
+ discarded_at?: string | null | undefined;
148
148
  }>, {
149
149
  createdAt: string;
150
150
  discardedAt: string | null | undefined;
@@ -163,8 +163,8 @@ export declare const webPushTokenCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zo
163
163
  id: string;
164
164
  created_at: string;
165
165
  endpoint: string;
166
- discarded_at?: string | null | undefined;
167
166
  updated_at?: string | null | undefined;
167
+ discarded_at?: string | null | undefined;
168
168
  }>>, "many">>;
169
169
  links: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
170
170
  first: z.ZodOptional<z.ZodString>;
@@ -213,8 +213,8 @@ export declare const webPushTokenCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zo
213
213
  id: string;
214
214
  created_at: string;
215
215
  endpoint: string;
216
- discarded_at?: string | null | undefined;
217
216
  updated_at?: string | null | undefined;
217
+ discarded_at?: string | null | undefined;
218
218
  }[] | undefined;
219
219
  links?: {
220
220
  first?: string | undefined;
@@ -247,8 +247,8 @@ export declare const webPushTokenCollectionResponse: z.ZodLazy<z.ZodEffects<z.Zo
247
247
  id: string;
248
248
  created_at: string;
249
249
  endpoint: string;
250
- discarded_at?: string | null | undefined;
251
250
  updated_at?: string | null | undefined;
251
+ discarded_at?: string | null | undefined;
252
252
  }[] | undefined;
253
253
  links?: {
254
254
  first?: string | undefined;
@@ -292,8 +292,8 @@ export declare const webPushTokenCollectionRequest: z.ZodLazy<z.ZodEffects<z.Zod
292
292
  createdAt: string;
293
293
  id: string;
294
294
  endpoint: string;
295
- discardedAt?: string | null | undefined;
296
295
  updatedAt?: string | null | undefined;
296
+ discardedAt?: string | null | undefined;
297
297
  }, {
298
298
  keys: {
299
299
  auth: string;
@@ -302,8 +302,8 @@ export declare const webPushTokenCollectionRequest: z.ZodLazy<z.ZodEffects<z.Zod
302
302
  createdAt: string;
303
303
  id: string;
304
304
  endpoint: string;
305
- discardedAt?: string | null | undefined;
306
305
  updatedAt?: string | null | undefined;
306
+ discardedAt?: string | null | undefined;
307
307
  }>, {
308
308
  created_at: string;
309
309
  discarded_at: string | null | undefined;
@@ -322,8 +322,8 @@ export declare const webPushTokenCollectionRequest: z.ZodLazy<z.ZodEffects<z.Zod
322
322
  createdAt: string;
323
323
  id: string;
324
324
  endpoint: string;
325
- discardedAt?: string | null | undefined;
326
325
  updatedAt?: string | null | undefined;
326
+ discardedAt?: string | null | undefined;
327
327
  }>>, "many">>;
328
328
  links: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
329
329
  first: z.ZodOptional<z.ZodString>;
@@ -372,8 +372,8 @@ export declare const webPushTokenCollectionRequest: z.ZodLazy<z.ZodEffects<z.Zod
372
372
  createdAt: string;
373
373
  id: string;
374
374
  endpoint: string;
375
- discardedAt?: string | null | undefined;
376
375
  updatedAt?: string | null | undefined;
376
+ discardedAt?: string | null | undefined;
377
377
  }[] | undefined;
378
378
  links?: {
379
379
  first?: string | undefined;
@@ -406,8 +406,8 @@ export declare const webPushTokenCollectionRequest: z.ZodLazy<z.ZodEffects<z.Zod
406
406
  createdAt: string;
407
407
  id: string;
408
408
  endpoint: string;
409
- discardedAt?: string | null | undefined;
410
409
  updatedAt?: string | null | undefined;
410
+ discardedAt?: string | null | undefined;
411
411
  }[] | undefined;
412
412
  links?: {
413
413
  first?: string | undefined;
@@ -28,8 +28,8 @@ export declare const webPushToken: z.ZodLazy<z.ZodObject<{
28
28
  createdAt: string;
29
29
  id: string;
30
30
  endpoint: string;
31
- discardedAt?: string | null | undefined;
32
31
  updatedAt?: string | null | undefined;
32
+ discardedAt?: string | null | undefined;
33
33
  }, {
34
34
  keys: {
35
35
  auth: string;
@@ -38,8 +38,8 @@ export declare const webPushToken: z.ZodLazy<z.ZodObject<{
38
38
  createdAt: string;
39
39
  id: string;
40
40
  endpoint: string;
41
- discardedAt?: string | null | undefined;
42
41
  updatedAt?: string | null | undefined;
42
+ discardedAt?: string | null | undefined;
43
43
  }>>;
44
44
  /**
45
45
  *
@@ -87,8 +87,8 @@ export declare const webPushTokenResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
87
87
  id: string;
88
88
  created_at: string;
89
89
  endpoint: string;
90
- discarded_at?: string | null | undefined;
91
90
  updated_at?: string | null | undefined;
91
+ discarded_at?: string | null | undefined;
92
92
  }, {
93
93
  keys: {
94
94
  auth: string;
@@ -97,8 +97,8 @@ export declare const webPushTokenResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
97
97
  id: string;
98
98
  created_at: string;
99
99
  endpoint: string;
100
- discarded_at?: string | null | undefined;
101
100
  updated_at?: string | null | undefined;
101
+ discarded_at?: string | null | undefined;
102
102
  }>, {
103
103
  createdAt: string;
104
104
  discardedAt: string | null | undefined;
@@ -117,8 +117,8 @@ export declare const webPushTokenResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
117
117
  id: string;
118
118
  created_at: string;
119
119
  endpoint: string;
120
- discarded_at?: string | null | undefined;
121
120
  updated_at?: string | null | undefined;
121
+ discarded_at?: string | null | undefined;
122
122
  }>>;
123
123
  /**
124
124
  * Zod schema for mapping the WebPushToken application shape to API requests.
@@ -155,8 +155,8 @@ export declare const webPushTokenRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
155
155
  createdAt: string;
156
156
  id: string;
157
157
  endpoint: string;
158
- discardedAt?: string | null | undefined;
159
158
  updatedAt?: string | null | undefined;
159
+ discardedAt?: string | null | undefined;
160
160
  }, {
161
161
  keys: {
162
162
  auth: string;
@@ -165,8 +165,8 @@ export declare const webPushTokenRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
165
165
  createdAt: string;
166
166
  id: string;
167
167
  endpoint: string;
168
- discardedAt?: string | null | undefined;
169
168
  updatedAt?: string | null | undefined;
169
+ discardedAt?: string | null | undefined;
170
170
  }>, {
171
171
  created_at: string;
172
172
  discarded_at: string | null | undefined;
@@ -185,7 +185,7 @@ export declare const webPushTokenRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
185
185
  createdAt: string;
186
186
  id: string;
187
187
  endpoint: string;
188
- discardedAt?: string | null | undefined;
189
188
  updatedAt?: string | null | undefined;
189
+ discardedAt?: string | null | undefined;
190
190
  }>>;
191
191
  //# sourceMappingURL=web-push-token.d.ts.map
@@ -70,23 +70,23 @@ export declare const userResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
70
70
  last_seen_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
71
71
  updated_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
72
72
  }, "strip", z.ZodTypeAny, {
73
+ email?: string | null | undefined;
74
+ id?: string | undefined;
73
75
  created_at?: string | null | undefined;
74
76
  custom_attributes?: any;
75
- email?: string | null | undefined;
76
77
  external_id?: string | null | undefined;
77
78
  first_name?: string | null | undefined;
78
- id?: string | undefined;
79
79
  last_name?: string | null | undefined;
80
80
  last_notified_at?: string | null | undefined;
81
81
  last_seen_at?: string | null | undefined;
82
82
  updated_at?: string | null | undefined;
83
83
  }, {
84
+ email?: string | null | undefined;
85
+ id?: string | undefined;
84
86
  created_at?: string | null | undefined;
85
87
  custom_attributes?: any;
86
- email?: string | null | undefined;
87
88
  external_id?: string | null | undefined;
88
89
  first_name?: string | null | undefined;
89
- id?: string | undefined;
90
90
  last_name?: string | null | undefined;
91
91
  last_notified_at?: string | null | undefined;
92
92
  last_seen_at?: string | null | undefined;
@@ -103,12 +103,12 @@ export declare const userResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
103
103
  lastSeenAt: string | null | undefined;
104
104
  updatedAt: string | null | undefined;
105
105
  }, {
106
+ email?: string | null | undefined;
107
+ id?: string | undefined;
106
108
  created_at?: string | null | undefined;
107
109
  custom_attributes?: any;
108
- email?: string | null | undefined;
109
110
  external_id?: string | null | undefined;
110
111
  first_name?: string | null | undefined;
111
- id?: string | undefined;
112
112
  last_name?: string | null | undefined;
113
113
  last_notified_at?: string | null | undefined;
114
114
  last_seen_at?: string | null | undefined;