magicbell-js 1.6.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- 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 +6 -6
- package/src/user-client/services/notifications/models/notification.ts +3 -3
|
@@ -16,17 +16,17 @@ export declare const slackInstallation: z.ZodLazy<z.ZodObject<{
|
|
|
16
16
|
tokenType: z.ZodOptional<z.ZodString>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
18
|
id: string;
|
|
19
|
+
scope?: string | undefined;
|
|
19
20
|
accessToken?: string | undefined;
|
|
20
21
|
expiresIn?: number | undefined;
|
|
21
22
|
refreshToken?: string | undefined;
|
|
22
|
-
scope?: string | undefined;
|
|
23
23
|
tokenType?: string | undefined;
|
|
24
24
|
}, {
|
|
25
25
|
id: string;
|
|
26
|
+
scope?: string | undefined;
|
|
26
27
|
accessToken?: string | undefined;
|
|
27
28
|
expiresIn?: number | undefined;
|
|
28
29
|
refreshToken?: string | undefined;
|
|
29
|
-
scope?: string | undefined;
|
|
30
30
|
tokenType?: string | undefined;
|
|
31
31
|
}>>;
|
|
32
32
|
botUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -74,63 +74,63 @@ export declare const slackInstallation: z.ZodLazy<z.ZodObject<{
|
|
|
74
74
|
accessToken: string;
|
|
75
75
|
authedUser: {
|
|
76
76
|
id: string;
|
|
77
|
+
scope?: string | undefined;
|
|
77
78
|
accessToken?: string | undefined;
|
|
78
79
|
expiresIn?: number | undefined;
|
|
79
80
|
refreshToken?: string | undefined;
|
|
80
|
-
scope?: string | undefined;
|
|
81
81
|
tokenType?: string | undefined;
|
|
82
82
|
};
|
|
83
83
|
team: {
|
|
84
84
|
id: string;
|
|
85
85
|
name?: string | undefined;
|
|
86
86
|
};
|
|
87
|
+
id?: string | undefined;
|
|
88
|
+
scope?: string | undefined;
|
|
89
|
+
expiresIn?: number | undefined;
|
|
90
|
+
refreshToken?: string | undefined;
|
|
91
|
+
tokenType?: string | undefined;
|
|
87
92
|
botUserId?: string | undefined;
|
|
88
93
|
enterprise?: {
|
|
89
94
|
id: string;
|
|
90
95
|
name: string;
|
|
91
96
|
} | undefined;
|
|
92
|
-
expiresIn?: number | undefined;
|
|
93
|
-
id?: string | undefined;
|
|
94
97
|
incomingWebhook?: {
|
|
95
98
|
channel: string;
|
|
96
99
|
url: string;
|
|
97
100
|
configurationUrl: string;
|
|
98
101
|
} | undefined;
|
|
99
102
|
isEnterpriseInstall?: boolean | undefined;
|
|
100
|
-
refreshToken?: string | undefined;
|
|
101
|
-
scope?: string | undefined;
|
|
102
|
-
tokenType?: string | undefined;
|
|
103
103
|
}, {
|
|
104
104
|
appId: string;
|
|
105
105
|
accessToken: string;
|
|
106
106
|
authedUser: {
|
|
107
107
|
id: string;
|
|
108
|
+
scope?: string | undefined;
|
|
108
109
|
accessToken?: string | undefined;
|
|
109
110
|
expiresIn?: number | undefined;
|
|
110
111
|
refreshToken?: string | undefined;
|
|
111
|
-
scope?: string | undefined;
|
|
112
112
|
tokenType?: string | undefined;
|
|
113
113
|
};
|
|
114
114
|
team: {
|
|
115
115
|
id: string;
|
|
116
116
|
name?: string | undefined;
|
|
117
117
|
};
|
|
118
|
+
id?: string | undefined;
|
|
119
|
+
scope?: string | undefined;
|
|
120
|
+
expiresIn?: number | undefined;
|
|
121
|
+
refreshToken?: string | undefined;
|
|
122
|
+
tokenType?: string | undefined;
|
|
118
123
|
botUserId?: string | undefined;
|
|
119
124
|
enterprise?: {
|
|
120
125
|
id: string;
|
|
121
126
|
name: string;
|
|
122
127
|
} | undefined;
|
|
123
|
-
expiresIn?: number | undefined;
|
|
124
|
-
id?: string | undefined;
|
|
125
128
|
incomingWebhook?: {
|
|
126
129
|
channel: string;
|
|
127
130
|
url: string;
|
|
128
131
|
configurationUrl: string;
|
|
129
132
|
} | undefined;
|
|
130
133
|
isEnterpriseInstall?: boolean | undefined;
|
|
131
|
-
refreshToken?: string | undefined;
|
|
132
|
-
scope?: string | undefined;
|
|
133
|
-
tokenType?: string | undefined;
|
|
134
134
|
}>>;
|
|
135
135
|
/**
|
|
136
136
|
*
|
|
@@ -167,17 +167,17 @@ export declare const slackInstallationResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
167
167
|
token_type: z.ZodOptional<z.ZodString>;
|
|
168
168
|
}, "strip", z.ZodTypeAny, {
|
|
169
169
|
id: string;
|
|
170
|
+
scope?: string | undefined;
|
|
170
171
|
access_token?: string | undefined;
|
|
171
172
|
expires_in?: number | undefined;
|
|
172
173
|
refresh_token?: string | undefined;
|
|
173
|
-
scope?: string | undefined;
|
|
174
174
|
token_type?: string | undefined;
|
|
175
175
|
}, {
|
|
176
176
|
id: string;
|
|
177
|
+
scope?: string | undefined;
|
|
177
178
|
access_token?: string | undefined;
|
|
178
179
|
expires_in?: number | undefined;
|
|
179
180
|
refresh_token?: string | undefined;
|
|
180
|
-
scope?: string | undefined;
|
|
181
181
|
token_type?: string | undefined;
|
|
182
182
|
}>, {
|
|
183
183
|
accessToken: string | undefined;
|
|
@@ -188,10 +188,10 @@ export declare const slackInstallationResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
188
188
|
tokenType: string | undefined;
|
|
189
189
|
}, {
|
|
190
190
|
id: string;
|
|
191
|
+
scope?: string | undefined;
|
|
191
192
|
access_token?: string | undefined;
|
|
192
193
|
expires_in?: number | undefined;
|
|
193
194
|
refresh_token?: string | undefined;
|
|
194
|
-
scope?: string | undefined;
|
|
195
195
|
token_type?: string | undefined;
|
|
196
196
|
}>>;
|
|
197
197
|
bot_user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -269,22 +269,22 @@ export declare const slackInstallationResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
269
269
|
scope: string | undefined;
|
|
270
270
|
tokenType: string | undefined;
|
|
271
271
|
};
|
|
272
|
-
|
|
272
|
+
id?: string | undefined;
|
|
273
|
+
scope?: string | undefined;
|
|
274
|
+
expires_in?: number | undefined;
|
|
275
|
+
refresh_token?: string | undefined;
|
|
276
|
+
token_type?: string | undefined;
|
|
273
277
|
enterprise?: {
|
|
274
278
|
id: string;
|
|
275
279
|
name: string;
|
|
276
280
|
} | undefined;
|
|
277
|
-
|
|
278
|
-
id?: string | undefined;
|
|
281
|
+
bot_user_id?: string | undefined;
|
|
279
282
|
incoming_webhook?: {
|
|
280
283
|
channel: string;
|
|
281
284
|
configurationUrl: string;
|
|
282
285
|
url: string;
|
|
283
286
|
} | undefined;
|
|
284
287
|
is_enterprise_install?: boolean | undefined;
|
|
285
|
-
refresh_token?: string | undefined;
|
|
286
|
-
scope?: string | undefined;
|
|
287
|
-
token_type?: string | undefined;
|
|
288
288
|
}, {
|
|
289
289
|
app_id: string;
|
|
290
290
|
access_token: string;
|
|
@@ -294,28 +294,28 @@ export declare const slackInstallationResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
294
294
|
};
|
|
295
295
|
authed_user: {
|
|
296
296
|
id: string;
|
|
297
|
+
scope?: string | undefined;
|
|
297
298
|
access_token?: string | undefined;
|
|
298
299
|
expires_in?: number | undefined;
|
|
299
300
|
refresh_token?: string | undefined;
|
|
300
|
-
scope?: string | undefined;
|
|
301
301
|
token_type?: string | undefined;
|
|
302
302
|
};
|
|
303
|
-
|
|
303
|
+
id?: string | undefined;
|
|
304
|
+
scope?: string | undefined;
|
|
305
|
+
expires_in?: number | undefined;
|
|
306
|
+
refresh_token?: string | undefined;
|
|
307
|
+
token_type?: string | undefined;
|
|
304
308
|
enterprise?: {
|
|
305
309
|
id: string;
|
|
306
310
|
name: string;
|
|
307
311
|
} | undefined;
|
|
308
|
-
|
|
309
|
-
id?: string | undefined;
|
|
312
|
+
bot_user_id?: string | undefined;
|
|
310
313
|
incoming_webhook?: {
|
|
311
314
|
channel: string;
|
|
312
315
|
url: string;
|
|
313
316
|
configuration_url: string;
|
|
314
317
|
} | undefined;
|
|
315
318
|
is_enterprise_install?: boolean | undefined;
|
|
316
|
-
refresh_token?: string | undefined;
|
|
317
|
-
scope?: string | undefined;
|
|
318
|
-
token_type?: string | undefined;
|
|
319
319
|
}>, {
|
|
320
320
|
accessToken: string;
|
|
321
321
|
appId: string;
|
|
@@ -356,28 +356,28 @@ export declare const slackInstallationResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
356
356
|
};
|
|
357
357
|
authed_user: {
|
|
358
358
|
id: string;
|
|
359
|
+
scope?: string | undefined;
|
|
359
360
|
access_token?: string | undefined;
|
|
360
361
|
expires_in?: number | undefined;
|
|
361
362
|
refresh_token?: string | undefined;
|
|
362
|
-
scope?: string | undefined;
|
|
363
363
|
token_type?: string | undefined;
|
|
364
364
|
};
|
|
365
|
-
|
|
365
|
+
id?: string | undefined;
|
|
366
|
+
scope?: string | undefined;
|
|
367
|
+
expires_in?: number | undefined;
|
|
368
|
+
refresh_token?: string | undefined;
|
|
369
|
+
token_type?: string | undefined;
|
|
366
370
|
enterprise?: {
|
|
367
371
|
id: string;
|
|
368
372
|
name: string;
|
|
369
373
|
} | undefined;
|
|
370
|
-
|
|
371
|
-
id?: string | undefined;
|
|
374
|
+
bot_user_id?: string | undefined;
|
|
372
375
|
incoming_webhook?: {
|
|
373
376
|
channel: string;
|
|
374
377
|
url: string;
|
|
375
378
|
configuration_url: string;
|
|
376
379
|
} | undefined;
|
|
377
380
|
is_enterprise_install?: boolean | undefined;
|
|
378
|
-
refresh_token?: string | undefined;
|
|
379
|
-
scope?: string | undefined;
|
|
380
|
-
token_type?: string | undefined;
|
|
381
381
|
}>>;
|
|
382
382
|
/**
|
|
383
383
|
* Zod schema for mapping the SlackInstallation application shape to API requests.
|
|
@@ -396,17 +396,17 @@ export declare const slackInstallationRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
|
|
|
396
396
|
tokenType: z.ZodOptional<z.ZodString>;
|
|
397
397
|
}, "strip", z.ZodTypeAny, {
|
|
398
398
|
id: string;
|
|
399
|
+
scope?: string | undefined;
|
|
399
400
|
accessToken?: string | undefined;
|
|
400
401
|
expiresIn?: number | undefined;
|
|
401
402
|
refreshToken?: string | undefined;
|
|
402
|
-
scope?: string | undefined;
|
|
403
403
|
tokenType?: string | undefined;
|
|
404
404
|
}, {
|
|
405
405
|
id: string;
|
|
406
|
+
scope?: string | undefined;
|
|
406
407
|
accessToken?: string | undefined;
|
|
407
408
|
expiresIn?: number | undefined;
|
|
408
409
|
refreshToken?: string | undefined;
|
|
409
|
-
scope?: string | undefined;
|
|
410
410
|
tokenType?: string | undefined;
|
|
411
411
|
}>, {
|
|
412
412
|
access_token: string | undefined;
|
|
@@ -417,10 +417,10 @@ export declare const slackInstallationRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
|
|
|
417
417
|
token_type: string | undefined;
|
|
418
418
|
}, {
|
|
419
419
|
id: string;
|
|
420
|
+
scope?: string | undefined;
|
|
420
421
|
accessToken?: string | undefined;
|
|
421
422
|
expiresIn?: number | undefined;
|
|
422
423
|
refreshToken?: string | undefined;
|
|
423
|
-
scope?: string | undefined;
|
|
424
424
|
tokenType?: string | undefined;
|
|
425
425
|
}>>;
|
|
426
426
|
botUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -498,53 +498,53 @@ export declare const slackInstallationRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
|
|
|
498
498
|
id: string;
|
|
499
499
|
name: string | undefined;
|
|
500
500
|
};
|
|
501
|
+
id?: string | undefined;
|
|
502
|
+
scope?: string | undefined;
|
|
503
|
+
expiresIn?: number | undefined;
|
|
504
|
+
refreshToken?: string | undefined;
|
|
505
|
+
tokenType?: string | undefined;
|
|
501
506
|
botUserId?: string | undefined;
|
|
502
507
|
enterprise?: {
|
|
503
508
|
id: string;
|
|
504
509
|
name: string;
|
|
505
510
|
} | undefined;
|
|
506
|
-
expiresIn?: number | undefined;
|
|
507
|
-
id?: string | undefined;
|
|
508
511
|
incomingWebhook?: {
|
|
509
512
|
channel: string;
|
|
510
513
|
configuration_url: string;
|
|
511
514
|
url: string;
|
|
512
515
|
} | undefined;
|
|
513
516
|
isEnterpriseInstall?: boolean | undefined;
|
|
514
|
-
refreshToken?: string | undefined;
|
|
515
|
-
scope?: string | undefined;
|
|
516
|
-
tokenType?: string | undefined;
|
|
517
517
|
}, {
|
|
518
518
|
appId: string;
|
|
519
519
|
accessToken: string;
|
|
520
520
|
authedUser: {
|
|
521
521
|
id: string;
|
|
522
|
+
scope?: string | undefined;
|
|
522
523
|
accessToken?: string | undefined;
|
|
523
524
|
expiresIn?: number | undefined;
|
|
524
525
|
refreshToken?: string | undefined;
|
|
525
|
-
scope?: string | undefined;
|
|
526
526
|
tokenType?: string | undefined;
|
|
527
527
|
};
|
|
528
528
|
team: {
|
|
529
529
|
id: string;
|
|
530
530
|
name?: string | undefined;
|
|
531
531
|
};
|
|
532
|
+
id?: string | undefined;
|
|
533
|
+
scope?: string | undefined;
|
|
534
|
+
expiresIn?: number | undefined;
|
|
535
|
+
refreshToken?: string | undefined;
|
|
536
|
+
tokenType?: string | undefined;
|
|
532
537
|
botUserId?: string | undefined;
|
|
533
538
|
enterprise?: {
|
|
534
539
|
id: string;
|
|
535
540
|
name: string;
|
|
536
541
|
} | undefined;
|
|
537
|
-
expiresIn?: number | undefined;
|
|
538
|
-
id?: string | undefined;
|
|
539
542
|
incomingWebhook?: {
|
|
540
543
|
channel: string;
|
|
541
544
|
url: string;
|
|
542
545
|
configurationUrl: string;
|
|
543
546
|
} | undefined;
|
|
544
547
|
isEnterpriseInstall?: boolean | undefined;
|
|
545
|
-
refreshToken?: string | undefined;
|
|
546
|
-
scope?: string | undefined;
|
|
547
|
-
tokenType?: string | undefined;
|
|
548
548
|
}>, {
|
|
549
549
|
access_token: string;
|
|
550
550
|
app_id: string;
|
|
@@ -581,31 +581,31 @@ export declare const slackInstallationRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
|
|
|
581
581
|
accessToken: string;
|
|
582
582
|
authedUser: {
|
|
583
583
|
id: string;
|
|
584
|
+
scope?: string | undefined;
|
|
584
585
|
accessToken?: string | undefined;
|
|
585
586
|
expiresIn?: number | undefined;
|
|
586
587
|
refreshToken?: string | undefined;
|
|
587
|
-
scope?: string | undefined;
|
|
588
588
|
tokenType?: string | undefined;
|
|
589
589
|
};
|
|
590
590
|
team: {
|
|
591
591
|
id: string;
|
|
592
592
|
name?: string | undefined;
|
|
593
593
|
};
|
|
594
|
+
id?: string | undefined;
|
|
595
|
+
scope?: string | undefined;
|
|
596
|
+
expiresIn?: number | undefined;
|
|
597
|
+
refreshToken?: string | undefined;
|
|
598
|
+
tokenType?: string | undefined;
|
|
594
599
|
botUserId?: string | undefined;
|
|
595
600
|
enterprise?: {
|
|
596
601
|
id: string;
|
|
597
602
|
name: string;
|
|
598
603
|
} | undefined;
|
|
599
|
-
expiresIn?: number | undefined;
|
|
600
|
-
id?: string | undefined;
|
|
601
604
|
incomingWebhook?: {
|
|
602
605
|
channel: string;
|
|
603
606
|
url: string;
|
|
604
607
|
configurationUrl: string;
|
|
605
608
|
} | undefined;
|
|
606
609
|
isEnterpriseInstall?: boolean | undefined;
|
|
607
|
-
refreshToken?: string | undefined;
|
|
608
|
-
scope?: string | undefined;
|
|
609
|
-
tokenType?: string | undefined;
|
|
610
610
|
}>>;
|
|
611
611
|
//# sourceMappingURL=slack-installation.d.ts.map
|
|
@@ -11,14 +11,14 @@ export declare const slackStartInstall: z.ZodLazy<z.ZodObject<{
|
|
|
11
11
|
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
appId: string;
|
|
14
|
+
redirectUrl?: string | undefined;
|
|
14
15
|
authUrl?: string | undefined;
|
|
15
16
|
extraScopes?: string[] | undefined;
|
|
16
|
-
redirectUrl?: string | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
appId: string;
|
|
19
|
+
redirectUrl?: string | undefined;
|
|
19
20
|
authUrl?: string | undefined;
|
|
20
21
|
extraScopes?: string[] | undefined;
|
|
21
|
-
redirectUrl?: string | undefined;
|
|
22
22
|
}>>;
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
@@ -41,14 +41,14 @@ export declare const slackStartInstallResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
41
41
|
redirect_url: z.ZodOptional<z.ZodString>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
43
|
app_id: string;
|
|
44
|
+
redirect_url?: string | undefined;
|
|
44
45
|
auth_url?: string | undefined;
|
|
45
46
|
extra_scopes?: string[] | undefined;
|
|
46
|
-
redirect_url?: string | undefined;
|
|
47
47
|
}, {
|
|
48
48
|
app_id: string;
|
|
49
|
+
redirect_url?: string | undefined;
|
|
49
50
|
auth_url?: string | undefined;
|
|
50
51
|
extra_scopes?: string[] | undefined;
|
|
51
|
-
redirect_url?: string | undefined;
|
|
52
52
|
}>, {
|
|
53
53
|
appId: string;
|
|
54
54
|
authUrl: string | undefined;
|
|
@@ -56,9 +56,9 @@ export declare const slackStartInstallResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
56
56
|
redirectUrl: string | undefined;
|
|
57
57
|
}, {
|
|
58
58
|
app_id: string;
|
|
59
|
+
redirect_url?: string | undefined;
|
|
59
60
|
auth_url?: string | undefined;
|
|
60
61
|
extra_scopes?: string[] | undefined;
|
|
61
|
-
redirect_url?: string | undefined;
|
|
62
62
|
}>>;
|
|
63
63
|
/**
|
|
64
64
|
* Zod schema for mapping the SlackStartInstall application shape to API requests.
|
|
@@ -72,14 +72,14 @@ export declare const slackStartInstallRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
|
|
|
72
72
|
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
74
|
appId: string;
|
|
75
|
+
redirectUrl?: string | undefined;
|
|
75
76
|
authUrl?: string | undefined;
|
|
76
77
|
extraScopes?: string[] | undefined;
|
|
77
|
-
redirectUrl?: string | undefined;
|
|
78
78
|
}, {
|
|
79
79
|
appId: string;
|
|
80
|
+
redirectUrl?: string | undefined;
|
|
80
81
|
authUrl?: string | undefined;
|
|
81
82
|
extraScopes?: string[] | undefined;
|
|
82
|
-
redirectUrl?: string | undefined;
|
|
83
83
|
}>, {
|
|
84
84
|
app_id: string;
|
|
85
85
|
auth_url: string | undefined;
|
|
@@ -87,8 +87,8 @@ export declare const slackStartInstallRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
|
|
|
87
87
|
redirect_url: string | undefined;
|
|
88
88
|
}, {
|
|
89
89
|
appId: string;
|
|
90
|
+
redirectUrl?: string | undefined;
|
|
90
91
|
authUrl?: string | undefined;
|
|
91
92
|
extraScopes?: string[] | undefined;
|
|
92
|
-
redirectUrl?: string | undefined;
|
|
93
93
|
}>>;
|
|
94
94
|
//# sourceMappingURL=slack-start-install.d.ts.map
|
|
@@ -279,6 +279,13 @@ export declare const theme: z.ZodLazy<z.ZodObject<{
|
|
|
279
279
|
backgroundColor: string;
|
|
280
280
|
}>>>;
|
|
281
281
|
}, "strip", z.ZodTypeAny, {
|
|
282
|
+
header?: {
|
|
283
|
+
backgroundColor: string;
|
|
284
|
+
fontSize: string;
|
|
285
|
+
textColor: string;
|
|
286
|
+
borderRadius: string;
|
|
287
|
+
fontFamily: string;
|
|
288
|
+
} | undefined;
|
|
282
289
|
banner?: {
|
|
283
290
|
backgroundColor: string;
|
|
284
291
|
fontSize: string;
|
|
@@ -296,13 +303,6 @@ export declare const theme: z.ZodLazy<z.ZodObject<{
|
|
|
296
303
|
textColor: string;
|
|
297
304
|
borderRadius: string;
|
|
298
305
|
} | undefined;
|
|
299
|
-
header?: {
|
|
300
|
-
backgroundColor: string;
|
|
301
|
-
fontSize: string;
|
|
302
|
-
textColor: string;
|
|
303
|
-
borderRadius: string;
|
|
304
|
-
fontFamily: string;
|
|
305
|
-
} | undefined;
|
|
306
306
|
icon?: {
|
|
307
307
|
borderColor: string;
|
|
308
308
|
width: string;
|
|
@@ -347,6 +347,13 @@ export declare const theme: z.ZodLazy<z.ZodObject<{
|
|
|
347
347
|
backgroundColor: string;
|
|
348
348
|
} | undefined;
|
|
349
349
|
}, {
|
|
350
|
+
header?: {
|
|
351
|
+
backgroundColor: string;
|
|
352
|
+
fontSize: string;
|
|
353
|
+
textColor: string;
|
|
354
|
+
borderRadius: string;
|
|
355
|
+
fontFamily: string;
|
|
356
|
+
} | undefined;
|
|
350
357
|
banner?: {
|
|
351
358
|
backgroundColor: string;
|
|
352
359
|
fontSize: string;
|
|
@@ -364,13 +371,6 @@ export declare const theme: z.ZodLazy<z.ZodObject<{
|
|
|
364
371
|
textColor: string;
|
|
365
372
|
borderRadius: string;
|
|
366
373
|
} | undefined;
|
|
367
|
-
header?: {
|
|
368
|
-
backgroundColor: string;
|
|
369
|
-
fontSize: string;
|
|
370
|
-
textColor: string;
|
|
371
|
-
borderRadius: string;
|
|
372
|
-
fontFamily: string;
|
|
373
|
-
} | undefined;
|
|
374
374
|
icon?: {
|
|
375
375
|
borderColor: string;
|
|
376
376
|
width: string;
|
|
@@ -913,6 +913,13 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
913
913
|
backgroundColor: string;
|
|
914
914
|
}>>>;
|
|
915
915
|
}, "strip", z.ZodTypeAny, {
|
|
916
|
+
header?: {
|
|
917
|
+
backgroundColor: string;
|
|
918
|
+
borderRadius: string;
|
|
919
|
+
fontFamily: string;
|
|
920
|
+
fontSize: string;
|
|
921
|
+
textColor: string;
|
|
922
|
+
} | undefined;
|
|
916
923
|
banner?: {
|
|
917
924
|
backgroundColor: string;
|
|
918
925
|
backgroundOpacity: number | undefined;
|
|
@@ -930,13 +937,6 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
930
937
|
fontSize: string;
|
|
931
938
|
textColor: string;
|
|
932
939
|
} | undefined;
|
|
933
|
-
header?: {
|
|
934
|
-
backgroundColor: string;
|
|
935
|
-
borderRadius: string;
|
|
936
|
-
fontFamily: string;
|
|
937
|
-
fontSize: string;
|
|
938
|
-
textColor: string;
|
|
939
|
-
} | undefined;
|
|
940
940
|
icon?: {
|
|
941
941
|
borderColor: string;
|
|
942
942
|
width: string;
|
|
@@ -981,6 +981,13 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
981
981
|
backgroundColor: string;
|
|
982
982
|
} | undefined;
|
|
983
983
|
}, {
|
|
984
|
+
header?: {
|
|
985
|
+
backgroundColor: string;
|
|
986
|
+
fontSize: string;
|
|
987
|
+
textColor: string;
|
|
988
|
+
borderRadius: string;
|
|
989
|
+
fontFamily: string;
|
|
990
|
+
} | undefined;
|
|
984
991
|
banner?: {
|
|
985
992
|
backgroundColor: string;
|
|
986
993
|
fontSize: string;
|
|
@@ -998,13 +1005,6 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
998
1005
|
textColor: string;
|
|
999
1006
|
borderRadius: string;
|
|
1000
1007
|
} | undefined;
|
|
1001
|
-
header?: {
|
|
1002
|
-
backgroundColor: string;
|
|
1003
|
-
fontSize: string;
|
|
1004
|
-
textColor: string;
|
|
1005
|
-
borderRadius: string;
|
|
1006
|
-
fontFamily: string;
|
|
1007
|
-
} | undefined;
|
|
1008
1008
|
icon?: {
|
|
1009
1009
|
borderColor: string;
|
|
1010
1010
|
width: string;
|
|
@@ -1117,6 +1117,13 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1117
1117
|
backgroundColor: string;
|
|
1118
1118
|
} | undefined;
|
|
1119
1119
|
}, {
|
|
1120
|
+
header?: {
|
|
1121
|
+
backgroundColor: string;
|
|
1122
|
+
fontSize: string;
|
|
1123
|
+
textColor: string;
|
|
1124
|
+
borderRadius: string;
|
|
1125
|
+
fontFamily: string;
|
|
1126
|
+
} | undefined;
|
|
1120
1127
|
banner?: {
|
|
1121
1128
|
backgroundColor: string;
|
|
1122
1129
|
fontSize: string;
|
|
@@ -1134,13 +1141,6 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1134
1141
|
textColor: string;
|
|
1135
1142
|
borderRadius: string;
|
|
1136
1143
|
} | undefined;
|
|
1137
|
-
header?: {
|
|
1138
|
-
backgroundColor: string;
|
|
1139
|
-
fontSize: string;
|
|
1140
|
-
textColor: string;
|
|
1141
|
-
borderRadius: string;
|
|
1142
|
-
fontFamily: string;
|
|
1143
|
-
} | undefined;
|
|
1144
1144
|
icon?: {
|
|
1145
1145
|
borderColor: string;
|
|
1146
1146
|
width: string;
|
|
@@ -1671,6 +1671,13 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1671
1671
|
backgroundColor: string;
|
|
1672
1672
|
}>>>;
|
|
1673
1673
|
}, "strip", z.ZodTypeAny, {
|
|
1674
|
+
header?: {
|
|
1675
|
+
backgroundColor: string;
|
|
1676
|
+
borderRadius: string;
|
|
1677
|
+
fontFamily: string;
|
|
1678
|
+
fontSize: string;
|
|
1679
|
+
textColor: string;
|
|
1680
|
+
} | undefined;
|
|
1674
1681
|
banner?: {
|
|
1675
1682
|
backgroundColor: string;
|
|
1676
1683
|
backgroundOpacity: number | undefined;
|
|
@@ -1688,13 +1695,6 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1688
1695
|
fontSize: string;
|
|
1689
1696
|
textColor: string;
|
|
1690
1697
|
} | undefined;
|
|
1691
|
-
header?: {
|
|
1692
|
-
backgroundColor: string;
|
|
1693
|
-
borderRadius: string;
|
|
1694
|
-
fontFamily: string;
|
|
1695
|
-
fontSize: string;
|
|
1696
|
-
textColor: string;
|
|
1697
|
-
} | undefined;
|
|
1698
1698
|
icon?: {
|
|
1699
1699
|
borderColor: string;
|
|
1700
1700
|
width: string;
|
|
@@ -1739,6 +1739,13 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1739
1739
|
backgroundColor: string;
|
|
1740
1740
|
} | undefined;
|
|
1741
1741
|
}, {
|
|
1742
|
+
header?: {
|
|
1743
|
+
backgroundColor: string;
|
|
1744
|
+
fontSize: string;
|
|
1745
|
+
textColor: string;
|
|
1746
|
+
borderRadius: string;
|
|
1747
|
+
fontFamily: string;
|
|
1748
|
+
} | undefined;
|
|
1742
1749
|
banner?: {
|
|
1743
1750
|
backgroundColor: string;
|
|
1744
1751
|
fontSize: string;
|
|
@@ -1756,13 +1763,6 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1756
1763
|
textColor: string;
|
|
1757
1764
|
borderRadius: string;
|
|
1758
1765
|
} | undefined;
|
|
1759
|
-
header?: {
|
|
1760
|
-
backgroundColor: string;
|
|
1761
|
-
fontSize: string;
|
|
1762
|
-
textColor: string;
|
|
1763
|
-
borderRadius: string;
|
|
1764
|
-
fontFamily: string;
|
|
1765
|
-
} | undefined;
|
|
1766
1766
|
icon?: {
|
|
1767
1767
|
borderColor: string;
|
|
1768
1768
|
width: string;
|
|
@@ -1875,6 +1875,13 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1875
1875
|
backgroundColor: string;
|
|
1876
1876
|
} | undefined;
|
|
1877
1877
|
}, {
|
|
1878
|
+
header?: {
|
|
1879
|
+
backgroundColor: string;
|
|
1880
|
+
fontSize: string;
|
|
1881
|
+
textColor: string;
|
|
1882
|
+
borderRadius: string;
|
|
1883
|
+
fontFamily: string;
|
|
1884
|
+
} | undefined;
|
|
1878
1885
|
banner?: {
|
|
1879
1886
|
backgroundColor: string;
|
|
1880
1887
|
fontSize: string;
|
|
@@ -1892,13 +1899,6 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1892
1899
|
textColor: string;
|
|
1893
1900
|
borderRadius: string;
|
|
1894
1901
|
} | undefined;
|
|
1895
|
-
header?: {
|
|
1896
|
-
backgroundColor: string;
|
|
1897
|
-
fontSize: string;
|
|
1898
|
-
textColor: string;
|
|
1899
|
-
borderRadius: string;
|
|
1900
|
-
fontFamily: string;
|
|
1901
|
-
} | undefined;
|
|
1902
1902
|
icon?: {
|
|
1903
1903
|
borderColor: string;
|
|
1904
1904
|
width: string;
|