magicbell-js 0.3.0 → 1.1.0

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 (120) hide show
  1. package/README.md +6 -6
  2. package/dist/commonjs/project-client/http/transport/request-builder.js.map +1 -1
  3. package/dist/commonjs/project-client/services/broadcasts/models/broadcast-collection.d.ts +265 -265
  4. package/dist/commonjs/project-client/services/broadcasts/models/broadcast.d.ts +168 -168
  5. package/dist/commonjs/project-client/services/broadcasts/models/email.d.ts +3 -3
  6. package/dist/commonjs/project-client/services/broadcasts/models/in-app.d.ts +3 -3
  7. package/dist/commonjs/project-client/services/broadcasts/models/mobile-push.d.ts +3 -3
  8. package/dist/commonjs/project-client/services/broadcasts/models/overrides-channels.d.ts +27 -27
  9. package/dist/commonjs/project-client/services/broadcasts/models/overrides.d.ts +39 -39
  10. package/dist/commonjs/project-client/services/broadcasts/models/sms.d.ts +3 -3
  11. package/dist/commonjs/project-client/services/channels/models/apns-token-collection.d.ts +14 -14
  12. package/dist/commonjs/project-client/services/channels/models/apns-token.d.ts +8 -8
  13. package/dist/commonjs/project-client/services/channels/models/discard-result.d.ts +8 -8
  14. package/dist/commonjs/project-client/services/channels/models/expo-token-collection.d.ts +14 -14
  15. package/dist/commonjs/project-client/services/channels/models/expo-token.d.ts +8 -8
  16. package/dist/commonjs/project-client/services/channels/models/fcm-token-collection.d.ts +14 -14
  17. package/dist/commonjs/project-client/services/channels/models/fcm-token.d.ts +8 -8
  18. package/dist/commonjs/project-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
  19. package/dist/commonjs/project-client/services/channels/models/inbox-token-response.d.ts +16 -16
  20. package/dist/commonjs/project-client/services/channels/models/slack-token-collection.d.ts +14 -14
  21. package/dist/commonjs/project-client/services/channels/models/slack-token.d.ts +8 -8
  22. package/dist/commonjs/project-client/services/channels/models/teams-token-collection.d.ts +14 -14
  23. package/dist/commonjs/project-client/services/channels/models/teams-token.d.ts +8 -8
  24. package/dist/commonjs/project-client/services/channels/models/web-push-token-collection.d.ts +14 -14
  25. package/dist/commonjs/project-client/services/channels/models/web-push-token.d.ts +8 -8
  26. package/dist/commonjs/project-client/services/common/user.d.ts +6 -6
  27. package/dist/commonjs/project-client/services/integrations/models/inbox-config-collection.d.ts +182 -182
  28. package/dist/commonjs/project-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  29. package/dist/commonjs/project-client/services/integrations/models/inbox-config.d.ts +140 -140
  30. package/dist/commonjs/project-client/services/integrations/models/theme.d.ts +56 -56
  31. package/dist/commonjs/project-client/services/users/models/user-collection.d.ts +10 -10
  32. package/dist/commonjs/socket.d.ts +11 -0
  33. package/dist/commonjs/socket.d.ts.map +1 -0
  34. package/dist/commonjs/socket.js +196 -0
  35. package/dist/commonjs/socket.js.map +1 -0
  36. package/dist/commonjs/user-client/http/transport/request-builder.js.map +1 -1
  37. package/dist/commonjs/user-client/services/channels/models/apns-token-collection.d.ts +14 -14
  38. package/dist/commonjs/user-client/services/channels/models/apns-token.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/web-push-token-collection.d.ts +14 -14
  51. package/dist/commonjs/user-client/services/channels/models/web-push-token.d.ts +8 -8
  52. package/dist/commonjs/user-client/services/integrations/models/authed-user.d.ts +8 -8
  53. package/dist/commonjs/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  54. package/dist/commonjs/user-client/services/integrations/models/slack-installation.d.ts +57 -57
  55. package/dist/commonjs/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
  56. package/dist/commonjs/user-client/services/integrations/models/theme.d.ts +56 -56
  57. package/dist/commonjs/user-client/services/notifications/models/notification-collection.d.ts +56 -56
  58. package/dist/commonjs/user-client/services/notifications/models/notification.d.ts +32 -32
  59. package/dist/esm/project-client/http/transport/request-builder.js.map +1 -1
  60. package/dist/esm/project-client/services/broadcasts/models/broadcast-collection.d.ts +265 -265
  61. package/dist/esm/project-client/services/broadcasts/models/broadcast.d.ts +168 -168
  62. package/dist/esm/project-client/services/broadcasts/models/email.d.ts +3 -3
  63. package/dist/esm/project-client/services/broadcasts/models/in-app.d.ts +3 -3
  64. package/dist/esm/project-client/services/broadcasts/models/mobile-push.d.ts +3 -3
  65. package/dist/esm/project-client/services/broadcasts/models/overrides-channels.d.ts +27 -27
  66. package/dist/esm/project-client/services/broadcasts/models/overrides.d.ts +39 -39
  67. package/dist/esm/project-client/services/broadcasts/models/sms.d.ts +3 -3
  68. package/dist/esm/project-client/services/channels/models/apns-token-collection.d.ts +14 -14
  69. package/dist/esm/project-client/services/channels/models/apns-token.d.ts +8 -8
  70. package/dist/esm/project-client/services/channels/models/discard-result.d.ts +8 -8
  71. package/dist/esm/project-client/services/channels/models/expo-token-collection.d.ts +14 -14
  72. package/dist/esm/project-client/services/channels/models/expo-token.d.ts +8 -8
  73. package/dist/esm/project-client/services/channels/models/fcm-token-collection.d.ts +14 -14
  74. package/dist/esm/project-client/services/channels/models/fcm-token.d.ts +8 -8
  75. package/dist/esm/project-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
  76. package/dist/esm/project-client/services/channels/models/inbox-token-response.d.ts +16 -16
  77. package/dist/esm/project-client/services/channels/models/slack-token-collection.d.ts +14 -14
  78. package/dist/esm/project-client/services/channels/models/slack-token.d.ts +8 -8
  79. package/dist/esm/project-client/services/channels/models/teams-token-collection.d.ts +14 -14
  80. package/dist/esm/project-client/services/channels/models/teams-token.d.ts +8 -8
  81. package/dist/esm/project-client/services/channels/models/web-push-token-collection.d.ts +14 -14
  82. package/dist/esm/project-client/services/channels/models/web-push-token.d.ts +8 -8
  83. package/dist/esm/project-client/services/common/user.d.ts +6 -6
  84. package/dist/esm/project-client/services/integrations/models/inbox-config-collection.d.ts +182 -182
  85. package/dist/esm/project-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  86. package/dist/esm/project-client/services/integrations/models/inbox-config.d.ts +140 -140
  87. package/dist/esm/project-client/services/integrations/models/theme.d.ts +56 -56
  88. package/dist/esm/project-client/services/users/models/user-collection.d.ts +10 -10
  89. package/dist/esm/socket.d.ts +11 -0
  90. package/dist/esm/socket.d.ts.map +1 -0
  91. package/dist/esm/socket.js +192 -0
  92. package/dist/esm/socket.js.map +1 -0
  93. package/dist/esm/user-client/http/transport/request-builder.js.map +1 -1
  94. package/dist/esm/user-client/services/channels/models/apns-token-collection.d.ts +14 -14
  95. package/dist/esm/user-client/services/channels/models/apns-token.d.ts +8 -8
  96. package/dist/esm/user-client/services/channels/models/discard-result.d.ts +8 -8
  97. package/dist/esm/user-client/services/channels/models/expo-token-collection.d.ts +14 -14
  98. package/dist/esm/user-client/services/channels/models/expo-token.d.ts +8 -8
  99. package/dist/esm/user-client/services/channels/models/fcm-token-collection.d.ts +14 -14
  100. package/dist/esm/user-client/services/channels/models/fcm-token.d.ts +8 -8
  101. package/dist/esm/user-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
  102. package/dist/esm/user-client/services/channels/models/inbox-token-response.d.ts +16 -16
  103. package/dist/esm/user-client/services/channels/models/slack-token-collection.d.ts +14 -14
  104. package/dist/esm/user-client/services/channels/models/slack-token.d.ts +8 -8
  105. package/dist/esm/user-client/services/channels/models/teams-token-collection.d.ts +14 -14
  106. package/dist/esm/user-client/services/channels/models/teams-token.d.ts +8 -8
  107. package/dist/esm/user-client/services/channels/models/web-push-token-collection.d.ts +14 -14
  108. package/dist/esm/user-client/services/channels/models/web-push-token.d.ts +8 -8
  109. package/dist/esm/user-client/services/integrations/models/authed-user.d.ts +8 -8
  110. package/dist/esm/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  111. package/dist/esm/user-client/services/integrations/models/slack-installation.d.ts +57 -57
  112. package/dist/esm/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
  113. package/dist/esm/user-client/services/integrations/models/theme.d.ts +56 -56
  114. package/dist/esm/user-client/services/notifications/models/notification-collection.d.ts +56 -56
  115. package/dist/esm/user-client/services/notifications/models/notification.d.ts +32 -32
  116. package/package.json +14 -3
  117. package/socket/package.json +4 -0
  118. package/src/project-client/http/transport/request-builder.ts +1 -1
  119. package/src/socket.ts +228 -0
  120. package/src/user-client/http/transport/request-builder.ts +1 -1
@@ -32,21 +32,21 @@ export declare const emailResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
32
32
  content: z.ZodOptional<z.ZodString>;
33
33
  title: z.ZodOptional<z.ZodString>;
34
34
  }, "strip", z.ZodTypeAny, {
35
- action_url?: string | null | undefined;
36
35
  content?: string | undefined;
37
36
  title?: string | undefined;
38
- }, {
39
37
  action_url?: string | null | undefined;
38
+ }, {
40
39
  content?: string | undefined;
41
40
  title?: string | undefined;
41
+ action_url?: string | null | undefined;
42
42
  }>, {
43
43
  actionUrl: string | null | undefined;
44
44
  content: string | undefined;
45
45
  title: string | undefined;
46
46
  }, {
47
- action_url?: string | null | undefined;
48
47
  content?: string | undefined;
49
48
  title?: string | undefined;
49
+ action_url?: string | null | undefined;
50
50
  }>>;
51
51
  /**
52
52
  * The shape of the model mapping from the application shape into the api schema.
@@ -32,21 +32,21 @@ export declare const inAppResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
32
32
  content: z.ZodOptional<z.ZodString>;
33
33
  title: z.ZodOptional<z.ZodString>;
34
34
  }, "strip", z.ZodTypeAny, {
35
- action_url?: string | null | undefined;
36
35
  content?: string | undefined;
37
36
  title?: string | undefined;
38
- }, {
39
37
  action_url?: string | null | undefined;
38
+ }, {
40
39
  content?: string | undefined;
41
40
  title?: string | undefined;
41
+ action_url?: string | null | undefined;
42
42
  }>, {
43
43
  actionUrl: string | null | undefined;
44
44
  content: string | undefined;
45
45
  title: string | undefined;
46
46
  }, {
47
- action_url?: string | null | undefined;
48
47
  content?: string | undefined;
49
48
  title?: string | undefined;
49
+ action_url?: string | null | undefined;
50
50
  }>>;
51
51
  /**
52
52
  * The shape of the model mapping from the application shape into the api schema.
@@ -32,21 +32,21 @@ export declare const mobilePushResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
32
32
  content: z.ZodOptional<z.ZodString>;
33
33
  title: z.ZodOptional<z.ZodString>;
34
34
  }, "strip", z.ZodTypeAny, {
35
- action_url?: string | null | undefined;
36
35
  content?: string | undefined;
37
36
  title?: string | undefined;
38
- }, {
39
37
  action_url?: string | null | undefined;
38
+ }, {
40
39
  content?: string | undefined;
41
40
  title?: string | undefined;
41
+ action_url?: string | null | undefined;
42
42
  }>, {
43
43
  actionUrl: string | null | undefined;
44
44
  content: string | undefined;
45
45
  title: string | undefined;
46
46
  }, {
47
- action_url?: string | null | undefined;
48
47
  content?: string | undefined;
49
48
  title?: string | undefined;
49
+ action_url?: string | null | undefined;
50
50
  }>>;
51
51
  /**
52
52
  * The shape of the model mapping from the application shape into the api schema.
@@ -117,84 +117,84 @@ export declare const overridesChannelsResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
117
117
  content: z.ZodOptional<z.ZodString>;
118
118
  title: z.ZodOptional<z.ZodString>;
119
119
  }, "strip", z.ZodTypeAny, {
120
- action_url?: string | null | undefined;
121
120
  content?: string | undefined;
122
121
  title?: string | undefined;
123
- }, {
124
122
  action_url?: string | null | undefined;
123
+ }, {
125
124
  content?: string | undefined;
126
125
  title?: string | undefined;
126
+ action_url?: string | null | undefined;
127
127
  }>, {
128
128
  actionUrl: string | null | undefined;
129
129
  content: string | undefined;
130
130
  title: string | undefined;
131
131
  }, {
132
- action_url?: string | null | undefined;
133
132
  content?: string | undefined;
134
133
  title?: string | undefined;
134
+ action_url?: string | null | undefined;
135
135
  }>>>;
136
136
  in_app: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
137
137
  action_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
138
138
  content: z.ZodOptional<z.ZodString>;
139
139
  title: z.ZodOptional<z.ZodString>;
140
140
  }, "strip", z.ZodTypeAny, {
141
- action_url?: string | null | undefined;
142
141
  content?: string | undefined;
143
142
  title?: string | undefined;
144
- }, {
145
143
  action_url?: string | null | undefined;
144
+ }, {
146
145
  content?: string | undefined;
147
146
  title?: string | undefined;
147
+ action_url?: string | null | undefined;
148
148
  }>, {
149
149
  actionUrl: string | null | undefined;
150
150
  content: string | undefined;
151
151
  title: string | undefined;
152
152
  }, {
153
- action_url?: string | null | undefined;
154
153
  content?: string | undefined;
155
154
  title?: string | undefined;
155
+ action_url?: string | null | undefined;
156
156
  }>>>;
157
157
  mobile_push: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
158
158
  action_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
159
159
  content: z.ZodOptional<z.ZodString>;
160
160
  title: z.ZodOptional<z.ZodString>;
161
161
  }, "strip", z.ZodTypeAny, {
162
- action_url?: string | null | undefined;
163
162
  content?: string | undefined;
164
163
  title?: string | undefined;
165
- }, {
166
164
  action_url?: string | null | undefined;
165
+ }, {
167
166
  content?: string | undefined;
168
167
  title?: string | undefined;
168
+ action_url?: string | null | undefined;
169
169
  }>, {
170
170
  actionUrl: string | null | undefined;
171
171
  content: string | undefined;
172
172
  title: string | undefined;
173
173
  }, {
174
- action_url?: string | null | undefined;
175
174
  content?: string | undefined;
176
175
  title?: string | undefined;
176
+ action_url?: string | null | undefined;
177
177
  }>>>;
178
178
  sms: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
179
179
  action_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
180
180
  content: z.ZodOptional<z.ZodString>;
181
181
  title: z.ZodOptional<z.ZodString>;
182
182
  }, "strip", z.ZodTypeAny, {
183
- action_url?: string | null | undefined;
184
183
  content?: string | undefined;
185
184
  title?: string | undefined;
186
- }, {
187
185
  action_url?: string | null | undefined;
186
+ }, {
188
187
  content?: string | undefined;
189
188
  title?: string | undefined;
189
+ action_url?: string | null | undefined;
190
190
  }>, {
191
191
  actionUrl: string | null | undefined;
192
192
  content: string | undefined;
193
193
  title: string | undefined;
194
194
  }, {
195
- action_url?: string | null | undefined;
196
195
  content?: string | undefined;
197
196
  title?: string | undefined;
197
+ action_url?: string | null | undefined;
198
198
  }>>>;
199
199
  }, "strip", z.ZodTypeAny, {
200
200
  email?: {
@@ -202,41 +202,41 @@ export declare const overridesChannelsResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
202
202
  content: string | undefined;
203
203
  title: string | undefined;
204
204
  } | undefined;
205
- in_app?: {
205
+ sms?: {
206
206
  actionUrl: string | null | undefined;
207
207
  content: string | undefined;
208
208
  title: string | undefined;
209
209
  } | undefined;
210
- mobile_push?: {
210
+ in_app?: {
211
211
  actionUrl: string | null | undefined;
212
212
  content: string | undefined;
213
213
  title: string | undefined;
214
214
  } | undefined;
215
- sms?: {
215
+ mobile_push?: {
216
216
  actionUrl: string | null | undefined;
217
217
  content: string | undefined;
218
218
  title: string | undefined;
219
219
  } | undefined;
220
220
  }, {
221
221
  email?: {
222
+ content?: string | undefined;
223
+ title?: string | undefined;
222
224
  action_url?: string | null | undefined;
225
+ } | undefined;
226
+ sms?: {
223
227
  content?: string | undefined;
224
228
  title?: string | undefined;
229
+ action_url?: string | null | undefined;
225
230
  } | undefined;
226
231
  in_app?: {
227
- action_url?: string | null | undefined;
228
232
  content?: string | undefined;
229
233
  title?: string | undefined;
234
+ action_url?: string | null | undefined;
230
235
  } | undefined;
231
236
  mobile_push?: {
232
- action_url?: string | null | undefined;
233
237
  content?: string | undefined;
234
238
  title?: string | undefined;
235
- } | undefined;
236
- sms?: {
237
239
  action_url?: string | null | undefined;
238
- content?: string | undefined;
239
- title?: string | undefined;
240
240
  } | undefined;
241
241
  }>, {
242
242
  email: {
@@ -261,24 +261,24 @@ export declare const overridesChannelsResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
261
261
  } | undefined;
262
262
  }, {
263
263
  email?: {
264
+ content?: string | undefined;
265
+ title?: string | undefined;
264
266
  action_url?: string | null | undefined;
267
+ } | undefined;
268
+ sms?: {
265
269
  content?: string | undefined;
266
270
  title?: string | undefined;
271
+ action_url?: string | null | undefined;
267
272
  } | undefined;
268
273
  in_app?: {
269
- action_url?: string | null | undefined;
270
274
  content?: string | undefined;
271
275
  title?: string | undefined;
276
+ action_url?: string | null | undefined;
272
277
  } | undefined;
273
278
  mobile_push?: {
274
- action_url?: string | null | undefined;
275
279
  content?: string | undefined;
276
280
  title?: string | undefined;
277
- } | undefined;
278
- sms?: {
279
281
  action_url?: string | null | undefined;
280
- content?: string | undefined;
281
- title?: string | undefined;
282
282
  } | undefined;
283
283
  }>>;
284
284
  /**
@@ -222,84 +222,84 @@ export declare const overridesResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
222
222
  content: z.ZodOptional<z.ZodString>;
223
223
  title: z.ZodOptional<z.ZodString>;
224
224
  }, "strip", z.ZodTypeAny, {
225
- action_url?: string | null | undefined;
226
225
  content?: string | undefined;
227
226
  title?: string | undefined;
228
- }, {
229
227
  action_url?: string | null | undefined;
228
+ }, {
230
229
  content?: string | undefined;
231
230
  title?: string | undefined;
231
+ action_url?: string | null | undefined;
232
232
  }>, {
233
233
  actionUrl: string | null | undefined;
234
234
  content: string | undefined;
235
235
  title: string | undefined;
236
236
  }, {
237
- action_url?: string | null | undefined;
238
237
  content?: string | undefined;
239
238
  title?: string | undefined;
239
+ action_url?: string | null | undefined;
240
240
  }>>>;
241
241
  in_app: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
242
242
  action_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
243
243
  content: z.ZodOptional<z.ZodString>;
244
244
  title: z.ZodOptional<z.ZodString>;
245
245
  }, "strip", z.ZodTypeAny, {
246
- action_url?: string | null | undefined;
247
246
  content?: string | undefined;
248
247
  title?: string | undefined;
249
- }, {
250
248
  action_url?: string | null | undefined;
249
+ }, {
251
250
  content?: string | undefined;
252
251
  title?: string | undefined;
252
+ action_url?: string | null | undefined;
253
253
  }>, {
254
254
  actionUrl: string | null | undefined;
255
255
  content: string | undefined;
256
256
  title: string | undefined;
257
257
  }, {
258
- action_url?: string | null | undefined;
259
258
  content?: string | undefined;
260
259
  title?: string | undefined;
260
+ action_url?: string | null | undefined;
261
261
  }>>>;
262
262
  mobile_push: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
263
263
  action_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
264
264
  content: z.ZodOptional<z.ZodString>;
265
265
  title: z.ZodOptional<z.ZodString>;
266
266
  }, "strip", z.ZodTypeAny, {
267
- action_url?: string | null | undefined;
268
267
  content?: string | undefined;
269
268
  title?: string | undefined;
270
- }, {
271
269
  action_url?: string | null | undefined;
270
+ }, {
272
271
  content?: string | undefined;
273
272
  title?: string | undefined;
273
+ action_url?: string | null | undefined;
274
274
  }>, {
275
275
  actionUrl: string | null | undefined;
276
276
  content: string | undefined;
277
277
  title: string | undefined;
278
278
  }, {
279
- action_url?: string | null | undefined;
280
279
  content?: string | undefined;
281
280
  title?: string | undefined;
281
+ action_url?: string | null | undefined;
282
282
  }>>>;
283
283
  sms: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
284
284
  action_url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
285
285
  content: z.ZodOptional<z.ZodString>;
286
286
  title: z.ZodOptional<z.ZodString>;
287
287
  }, "strip", z.ZodTypeAny, {
288
- action_url?: string | null | undefined;
289
288
  content?: string | undefined;
290
289
  title?: string | undefined;
291
- }, {
292
290
  action_url?: string | null | undefined;
291
+ }, {
293
292
  content?: string | undefined;
294
293
  title?: string | undefined;
294
+ action_url?: string | null | undefined;
295
295
  }>, {
296
296
  actionUrl: string | null | undefined;
297
297
  content: string | undefined;
298
298
  title: string | undefined;
299
299
  }, {
300
- action_url?: string | null | undefined;
301
300
  content?: string | undefined;
302
301
  title?: string | undefined;
302
+ action_url?: string | null | undefined;
303
303
  }>>>;
304
304
  }, "strip", z.ZodTypeAny, {
305
305
  email?: {
@@ -307,41 +307,41 @@ export declare const overridesResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
307
307
  content: string | undefined;
308
308
  title: string | undefined;
309
309
  } | undefined;
310
- in_app?: {
310
+ sms?: {
311
311
  actionUrl: string | null | undefined;
312
312
  content: string | undefined;
313
313
  title: string | undefined;
314
314
  } | undefined;
315
- mobile_push?: {
315
+ in_app?: {
316
316
  actionUrl: string | null | undefined;
317
317
  content: string | undefined;
318
318
  title: string | undefined;
319
319
  } | undefined;
320
- sms?: {
320
+ mobile_push?: {
321
321
  actionUrl: string | null | undefined;
322
322
  content: string | undefined;
323
323
  title: string | undefined;
324
324
  } | undefined;
325
325
  }, {
326
326
  email?: {
327
+ content?: string | undefined;
328
+ title?: string | undefined;
327
329
  action_url?: string | null | undefined;
330
+ } | undefined;
331
+ sms?: {
328
332
  content?: string | undefined;
329
333
  title?: string | undefined;
334
+ action_url?: string | null | undefined;
330
335
  } | undefined;
331
336
  in_app?: {
332
- action_url?: string | null | undefined;
333
337
  content?: string | undefined;
334
338
  title?: string | undefined;
339
+ action_url?: string | null | undefined;
335
340
  } | undefined;
336
341
  mobile_push?: {
337
- action_url?: string | null | undefined;
338
342
  content?: string | undefined;
339
343
  title?: string | undefined;
340
- } | undefined;
341
- sms?: {
342
344
  action_url?: string | null | undefined;
343
- content?: string | undefined;
344
- title?: string | undefined;
345
345
  } | undefined;
346
346
  }>, {
347
347
  email: {
@@ -366,24 +366,24 @@ export declare const overridesResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
366
366
  } | undefined;
367
367
  }, {
368
368
  email?: {
369
+ content?: string | undefined;
370
+ title?: string | undefined;
369
371
  action_url?: string | null | undefined;
372
+ } | undefined;
373
+ sms?: {
370
374
  content?: string | undefined;
371
375
  title?: string | undefined;
376
+ action_url?: string | null | undefined;
372
377
  } | undefined;
373
378
  in_app?: {
374
- action_url?: string | null | undefined;
375
379
  content?: string | undefined;
376
380
  title?: string | undefined;
381
+ action_url?: string | null | undefined;
377
382
  } | undefined;
378
383
  mobile_push?: {
379
- action_url?: string | null | undefined;
380
384
  content?: string | undefined;
381
385
  title?: string | undefined;
382
- } | undefined;
383
- sms?: {
384
386
  action_url?: string | null | undefined;
385
- content?: string | undefined;
386
- title?: string | undefined;
387
387
  } | undefined;
388
388
  }>>>;
389
389
  providers: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
@@ -480,24 +480,24 @@ export declare const overridesResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
480
480
  }, {
481
481
  channels?: {
482
482
  email?: {
483
+ content?: string | undefined;
484
+ title?: string | undefined;
483
485
  action_url?: string | null | undefined;
486
+ } | undefined;
487
+ sms?: {
484
488
  content?: string | undefined;
485
489
  title?: string | undefined;
490
+ action_url?: string | null | undefined;
486
491
  } | undefined;
487
492
  in_app?: {
488
- action_url?: string | null | undefined;
489
493
  content?: string | undefined;
490
494
  title?: string | undefined;
495
+ action_url?: string | null | undefined;
491
496
  } | undefined;
492
497
  mobile_push?: {
493
- action_url?: string | null | undefined;
494
498
  content?: string | undefined;
495
499
  title?: string | undefined;
496
- } | undefined;
497
- sms?: {
498
500
  action_url?: string | null | undefined;
499
- content?: string | undefined;
500
- title?: string | undefined;
501
501
  } | undefined;
502
502
  } | undefined;
503
503
  providers?: {
@@ -550,24 +550,24 @@ export declare const overridesResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
550
550
  }, {
551
551
  channels?: {
552
552
  email?: {
553
+ content?: string | undefined;
554
+ title?: string | undefined;
553
555
  action_url?: string | null | undefined;
556
+ } | undefined;
557
+ sms?: {
554
558
  content?: string | undefined;
555
559
  title?: string | undefined;
560
+ action_url?: string | null | undefined;
556
561
  } | undefined;
557
562
  in_app?: {
558
- action_url?: string | null | undefined;
559
563
  content?: string | undefined;
560
564
  title?: string | undefined;
565
+ action_url?: string | null | undefined;
561
566
  } | undefined;
562
567
  mobile_push?: {
563
- action_url?: string | null | undefined;
564
568
  content?: string | undefined;
565
569
  title?: string | undefined;
566
- } | undefined;
567
- sms?: {
568
570
  action_url?: string | null | undefined;
569
- content?: string | undefined;
570
- title?: string | undefined;
571
571
  } | undefined;
572
572
  } | undefined;
573
573
  providers?: {
@@ -32,21 +32,21 @@ export declare const smsResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
32
32
  content: z.ZodOptional<z.ZodString>;
33
33
  title: z.ZodOptional<z.ZodString>;
34
34
  }, "strip", z.ZodTypeAny, {
35
- action_url?: string | null | undefined;
36
35
  content?: string | undefined;
37
36
  title?: string | undefined;
38
- }, {
39
37
  action_url?: string | null | undefined;
38
+ }, {
40
39
  content?: string | undefined;
41
40
  title?: string | undefined;
41
+ action_url?: string | null | undefined;
42
42
  }>, {
43
43
  actionUrl: string | null | undefined;
44
44
  content: string | undefined;
45
45
  title: string | undefined;
46
46
  }, {
47
- action_url?: string | null | undefined;
48
47
  content?: string | undefined;
49
48
  title?: string | undefined;
49
+ action_url?: string | null | undefined;
50
50
  }>>;
51
51
  /**
52
52
  * The shape of the model mapping from the application shape into the api schema.
@@ -15,18 +15,18 @@ export declare const apnsTokenCollection: z.ZodLazy<z.ZodObject<{
15
15
  createdAt: string;
16
16
  id: string;
17
17
  deviceToken: string;
18
+ updatedAt?: string | null | undefined;
18
19
  appId?: string | undefined;
19
20
  discardedAt?: string | null | undefined;
20
21
  installationId?: string | undefined;
21
- updatedAt?: string | null | undefined;
22
22
  }, {
23
23
  createdAt: string;
24
24
  id: string;
25
25
  deviceToken: string;
26
+ updatedAt?: string | null | undefined;
26
27
  appId?: string | undefined;
27
28
  discardedAt?: string | null | undefined;
28
29
  installationId?: string | undefined;
29
- updatedAt?: string | null | undefined;
30
30
  }>>, "many">>;
31
31
  links: z.ZodOptional<z.ZodLazy<z.ZodObject<{
32
32
  first: z.ZodOptional<z.ZodString>;
@@ -46,10 +46,10 @@ export declare const apnsTokenCollection: z.ZodLazy<z.ZodObject<{
46
46
  createdAt: string;
47
47
  id: string;
48
48
  deviceToken: string;
49
+ updatedAt?: string | null | undefined;
49
50
  appId?: string | undefined;
50
51
  discardedAt?: string | null | undefined;
51
52
  installationId?: string | undefined;
52
- updatedAt?: string | null | undefined;
53
53
  }[] | undefined;
54
54
  links?: {
55
55
  first?: string | undefined;
@@ -61,10 +61,10 @@ export declare const apnsTokenCollection: z.ZodLazy<z.ZodObject<{
61
61
  createdAt: string;
62
62
  id: string;
63
63
  deviceToken: string;
64
+ updatedAt?: string | null | undefined;
64
65
  appId?: string | undefined;
65
66
  discardedAt?: string | null | undefined;
66
67
  installationId?: string | undefined;
67
- updatedAt?: string | null | undefined;
68
68
  }[] | undefined;
69
69
  links?: {
70
70
  first?: string | undefined;
@@ -96,18 +96,18 @@ export declare const apnsTokenCollectionResponse: z.ZodLazy<z.ZodEffects<z.ZodOb
96
96
  id: string;
97
97
  created_at: string;
98
98
  device_token: string;
99
+ updated_at?: string | null | undefined;
99
100
  app_id?: string | undefined;
100
101
  discarded_at?: string | null | undefined;
101
102
  installation_id?: string | undefined;
102
- updated_at?: string | null | undefined;
103
103
  }, {
104
104
  id: string;
105
105
  created_at: string;
106
106
  device_token: string;
107
+ updated_at?: string | null | undefined;
107
108
  app_id?: string | undefined;
108
109
  discarded_at?: string | null | undefined;
109
110
  installation_id?: string | undefined;
110
- updated_at?: string | null | undefined;
111
111
  }>, {
112
112
  appId: string | undefined;
113
113
  createdAt: string;
@@ -120,10 +120,10 @@ export declare const apnsTokenCollectionResponse: z.ZodLazy<z.ZodEffects<z.ZodOb
120
120
  id: string;
121
121
  created_at: string;
122
122
  device_token: string;
123
+ updated_at?: string | null | undefined;
123
124
  app_id?: string | undefined;
124
125
  discarded_at?: string | null | undefined;
125
126
  installation_id?: string | undefined;
126
- updated_at?: string | null | undefined;
127
127
  }>>, "many">>;
128
128
  links: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
129
129
  first: z.ZodOptional<z.ZodString>;
@@ -166,10 +166,10 @@ export declare const apnsTokenCollectionResponse: z.ZodLazy<z.ZodEffects<z.ZodOb
166
166
  id: string;
167
167
  created_at: string;
168
168
  device_token: string;
169
+ updated_at?: string | null | undefined;
169
170
  app_id?: string | undefined;
170
171
  discarded_at?: string | null | undefined;
171
172
  installation_id?: string | undefined;
172
- updated_at?: string | null | undefined;
173
173
  }[] | undefined;
174
174
  links?: {
175
175
  first?: string | undefined;
@@ -196,10 +196,10 @@ export declare const apnsTokenCollectionResponse: z.ZodLazy<z.ZodEffects<z.ZodOb
196
196
  id: string;
197
197
  created_at: string;
198
198
  device_token: string;
199
+ updated_at?: string | null | undefined;
199
200
  app_id?: string | undefined;
200
201
  discarded_at?: string | null | undefined;
201
202
  installation_id?: string | undefined;
202
- updated_at?: string | null | undefined;
203
203
  }[] | undefined;
204
204
  links?: {
205
205
  first?: string | undefined;
@@ -224,18 +224,18 @@ export declare const apnsTokenCollectionRequest: z.ZodLazy<z.ZodEffects<z.ZodObj
224
224
  createdAt: string;
225
225
  id: string;
226
226
  deviceToken: string;
227
+ updatedAt?: string | null | undefined;
227
228
  appId?: string | undefined;
228
229
  discardedAt?: string | null | undefined;
229
230
  installationId?: string | undefined;
230
- updatedAt?: string | null | undefined;
231
231
  }, {
232
232
  createdAt: string;
233
233
  id: string;
234
234
  deviceToken: string;
235
+ updatedAt?: string | null | undefined;
235
236
  appId?: string | undefined;
236
237
  discardedAt?: string | null | undefined;
237
238
  installationId?: string | undefined;
238
- updatedAt?: string | null | undefined;
239
239
  }>, {
240
240
  app_id: string | undefined;
241
241
  created_at: string;
@@ -248,10 +248,10 @@ export declare const apnsTokenCollectionRequest: z.ZodLazy<z.ZodEffects<z.ZodObj
248
248
  createdAt: string;
249
249
  id: string;
250
250
  deviceToken: string;
251
+ updatedAt?: string | null | undefined;
251
252
  appId?: string | undefined;
252
253
  discardedAt?: string | null | undefined;
253
254
  installationId?: string | undefined;
254
- updatedAt?: string | null | undefined;
255
255
  }>>, "many">>;
256
256
  links: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
257
257
  first: z.ZodOptional<z.ZodString>;
@@ -294,10 +294,10 @@ export declare const apnsTokenCollectionRequest: z.ZodLazy<z.ZodEffects<z.ZodObj
294
294
  createdAt: string;
295
295
  id: string;
296
296
  deviceToken: string;
297
+ updatedAt?: string | null | undefined;
297
298
  appId?: string | undefined;
298
299
  discardedAt?: string | null | undefined;
299
300
  installationId?: string | undefined;
300
- updatedAt?: string | null | undefined;
301
301
  }[] | undefined;
302
302
  links?: {
303
303
  first?: string | undefined;
@@ -324,10 +324,10 @@ export declare const apnsTokenCollectionRequest: z.ZodLazy<z.ZodEffects<z.ZodObj
324
324
  createdAt: string;
325
325
  id: string;
326
326
  deviceToken: string;
327
+ updatedAt?: string | null | undefined;
327
328
  appId?: string | undefined;
328
329
  discardedAt?: string | null | undefined;
329
330
  installationId?: string | undefined;
330
- updatedAt?: string | null | undefined;
331
331
  }[] | undefined;
332
332
  links?: {
333
333
  first?: string | undefined;