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