magicbell-js 1.0.0 → 1.1.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 +4 -0
- 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/socket.d.ts +11 -0
- package/dist/commonjs/socket.d.ts.map +1 -0
- package/dist/commonjs/socket.js +200 -0
- package/dist/commonjs/socket.js.map +1 -0
- 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/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/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/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/socket.d.ts +11 -0
- package/dist/esm/socket.d.ts.map +1 -0
- package/dist/esm/socket.js +196 -0
- package/dist/esm/socket.js.map +1 -0
- 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/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/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/package.json +14 -3
- package/socket/package.json +4 -0
- package/src/socket.ts +232 -0
|
@@ -14,17 +14,17 @@ export declare const slackInstallation: z.ZodLazy<z.ZodObject<{
|
|
|
14
14
|
tokenType: z.ZodOptional<z.ZodString>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
id: string;
|
|
17
|
+
scope?: string | undefined;
|
|
17
18
|
accessToken?: string | undefined;
|
|
18
19
|
expiresIn?: number | undefined;
|
|
19
20
|
refreshToken?: string | undefined;
|
|
20
|
-
scope?: string | undefined;
|
|
21
21
|
tokenType?: string | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
id: string;
|
|
24
|
+
scope?: string | undefined;
|
|
24
25
|
accessToken?: string | undefined;
|
|
25
26
|
expiresIn?: number | undefined;
|
|
26
27
|
refreshToken?: string | undefined;
|
|
27
|
-
scope?: string | undefined;
|
|
28
28
|
tokenType?: string | undefined;
|
|
29
29
|
}>>;
|
|
30
30
|
botUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -72,63 +72,63 @@ export declare const slackInstallation: z.ZodLazy<z.ZodObject<{
|
|
|
72
72
|
accessToken: string;
|
|
73
73
|
authedUser: {
|
|
74
74
|
id: string;
|
|
75
|
+
scope?: string | undefined;
|
|
75
76
|
accessToken?: string | undefined;
|
|
76
77
|
expiresIn?: number | undefined;
|
|
77
78
|
refreshToken?: string | undefined;
|
|
78
|
-
scope?: string | undefined;
|
|
79
79
|
tokenType?: string | undefined;
|
|
80
80
|
};
|
|
81
81
|
team: {
|
|
82
82
|
id: string;
|
|
83
83
|
name?: string | undefined;
|
|
84
84
|
};
|
|
85
|
+
id?: string | undefined;
|
|
86
|
+
scope?: string | undefined;
|
|
87
|
+
expiresIn?: number | undefined;
|
|
88
|
+
refreshToken?: string | undefined;
|
|
89
|
+
tokenType?: string | undefined;
|
|
85
90
|
botUserId?: string | undefined;
|
|
86
91
|
enterprise?: {
|
|
87
92
|
id: string;
|
|
88
93
|
name: string;
|
|
89
94
|
} | undefined;
|
|
90
|
-
expiresIn?: number | undefined;
|
|
91
|
-
id?: string | undefined;
|
|
92
95
|
incomingWebhook?: {
|
|
93
96
|
channel: string;
|
|
94
97
|
url: string;
|
|
95
98
|
configurationUrl: string;
|
|
96
99
|
} | undefined;
|
|
97
100
|
isEnterpriseInstall?: boolean | undefined;
|
|
98
|
-
refreshToken?: string | undefined;
|
|
99
|
-
scope?: string | undefined;
|
|
100
|
-
tokenType?: string | undefined;
|
|
101
101
|
}, {
|
|
102
102
|
appId: string;
|
|
103
103
|
accessToken: string;
|
|
104
104
|
authedUser: {
|
|
105
105
|
id: string;
|
|
106
|
+
scope?: string | undefined;
|
|
106
107
|
accessToken?: string | undefined;
|
|
107
108
|
expiresIn?: number | undefined;
|
|
108
109
|
refreshToken?: string | undefined;
|
|
109
|
-
scope?: string | undefined;
|
|
110
110
|
tokenType?: string | undefined;
|
|
111
111
|
};
|
|
112
112
|
team: {
|
|
113
113
|
id: string;
|
|
114
114
|
name?: string | undefined;
|
|
115
115
|
};
|
|
116
|
+
id?: string | undefined;
|
|
117
|
+
scope?: string | undefined;
|
|
118
|
+
expiresIn?: number | undefined;
|
|
119
|
+
refreshToken?: string | undefined;
|
|
120
|
+
tokenType?: string | undefined;
|
|
116
121
|
botUserId?: string | undefined;
|
|
117
122
|
enterprise?: {
|
|
118
123
|
id: string;
|
|
119
124
|
name: string;
|
|
120
125
|
} | undefined;
|
|
121
|
-
expiresIn?: number | undefined;
|
|
122
|
-
id?: string | undefined;
|
|
123
126
|
incomingWebhook?: {
|
|
124
127
|
channel: string;
|
|
125
128
|
url: string;
|
|
126
129
|
configurationUrl: string;
|
|
127
130
|
} | undefined;
|
|
128
131
|
isEnterpriseInstall?: boolean | undefined;
|
|
129
|
-
refreshToken?: string | undefined;
|
|
130
|
-
scope?: string | undefined;
|
|
131
|
-
tokenType?: string | undefined;
|
|
132
132
|
}>>;
|
|
133
133
|
/**
|
|
134
134
|
*
|
|
@@ -164,17 +164,17 @@ export declare const slackInstallationResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
164
164
|
token_type: z.ZodOptional<z.ZodString>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
id: string;
|
|
167
|
+
scope?: string | undefined;
|
|
167
168
|
access_token?: string | undefined;
|
|
168
169
|
expires_in?: number | undefined;
|
|
169
170
|
refresh_token?: string | undefined;
|
|
170
|
-
scope?: string | undefined;
|
|
171
171
|
token_type?: string | undefined;
|
|
172
172
|
}, {
|
|
173
173
|
id: string;
|
|
174
|
+
scope?: string | undefined;
|
|
174
175
|
access_token?: string | undefined;
|
|
175
176
|
expires_in?: number | undefined;
|
|
176
177
|
refresh_token?: string | undefined;
|
|
177
|
-
scope?: string | undefined;
|
|
178
178
|
token_type?: string | undefined;
|
|
179
179
|
}>, {
|
|
180
180
|
accessToken: string | undefined;
|
|
@@ -185,10 +185,10 @@ export declare const slackInstallationResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
185
185
|
tokenType: string | undefined;
|
|
186
186
|
}, {
|
|
187
187
|
id: string;
|
|
188
|
+
scope?: string | undefined;
|
|
188
189
|
access_token?: string | undefined;
|
|
189
190
|
expires_in?: number | undefined;
|
|
190
191
|
refresh_token?: string | undefined;
|
|
191
|
-
scope?: string | undefined;
|
|
192
192
|
token_type?: string | undefined;
|
|
193
193
|
}>>;
|
|
194
194
|
bot_user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -266,22 +266,22 @@ export declare const slackInstallationResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
266
266
|
scope: string | undefined;
|
|
267
267
|
tokenType: string | undefined;
|
|
268
268
|
};
|
|
269
|
-
|
|
269
|
+
id?: string | undefined;
|
|
270
|
+
scope?: string | undefined;
|
|
271
|
+
expires_in?: number | undefined;
|
|
272
|
+
refresh_token?: string | undefined;
|
|
273
|
+
token_type?: string | undefined;
|
|
270
274
|
enterprise?: {
|
|
271
275
|
id: string;
|
|
272
276
|
name: string;
|
|
273
277
|
} | undefined;
|
|
274
|
-
|
|
275
|
-
id?: string | undefined;
|
|
278
|
+
bot_user_id?: string | undefined;
|
|
276
279
|
incoming_webhook?: {
|
|
277
280
|
channel: string;
|
|
278
281
|
configurationUrl: string;
|
|
279
282
|
url: string;
|
|
280
283
|
} | undefined;
|
|
281
284
|
is_enterprise_install?: boolean | undefined;
|
|
282
|
-
refresh_token?: string | undefined;
|
|
283
|
-
scope?: string | undefined;
|
|
284
|
-
token_type?: string | undefined;
|
|
285
285
|
}, {
|
|
286
286
|
app_id: string;
|
|
287
287
|
access_token: string;
|
|
@@ -291,28 +291,28 @@ export declare const slackInstallationResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
291
291
|
};
|
|
292
292
|
authed_user: {
|
|
293
293
|
id: string;
|
|
294
|
+
scope?: string | undefined;
|
|
294
295
|
access_token?: string | undefined;
|
|
295
296
|
expires_in?: number | undefined;
|
|
296
297
|
refresh_token?: string | undefined;
|
|
297
|
-
scope?: string | undefined;
|
|
298
298
|
token_type?: string | undefined;
|
|
299
299
|
};
|
|
300
|
-
|
|
300
|
+
id?: string | undefined;
|
|
301
|
+
scope?: string | undefined;
|
|
302
|
+
expires_in?: number | undefined;
|
|
303
|
+
refresh_token?: string | undefined;
|
|
304
|
+
token_type?: string | undefined;
|
|
301
305
|
enterprise?: {
|
|
302
306
|
id: string;
|
|
303
307
|
name: string;
|
|
304
308
|
} | undefined;
|
|
305
|
-
|
|
306
|
-
id?: string | undefined;
|
|
309
|
+
bot_user_id?: string | undefined;
|
|
307
310
|
incoming_webhook?: {
|
|
308
311
|
channel: string;
|
|
309
312
|
url: string;
|
|
310
313
|
configuration_url: string;
|
|
311
314
|
} | undefined;
|
|
312
315
|
is_enterprise_install?: boolean | undefined;
|
|
313
|
-
refresh_token?: string | undefined;
|
|
314
|
-
scope?: string | undefined;
|
|
315
|
-
token_type?: string | undefined;
|
|
316
316
|
}>, {
|
|
317
317
|
accessToken: string;
|
|
318
318
|
appId: string;
|
|
@@ -353,28 +353,28 @@ export declare const slackInstallationResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
353
353
|
};
|
|
354
354
|
authed_user: {
|
|
355
355
|
id: string;
|
|
356
|
+
scope?: string | undefined;
|
|
356
357
|
access_token?: string | undefined;
|
|
357
358
|
expires_in?: number | undefined;
|
|
358
359
|
refresh_token?: string | undefined;
|
|
359
|
-
scope?: string | undefined;
|
|
360
360
|
token_type?: string | undefined;
|
|
361
361
|
};
|
|
362
|
-
|
|
362
|
+
id?: string | undefined;
|
|
363
|
+
scope?: string | undefined;
|
|
364
|
+
expires_in?: number | undefined;
|
|
365
|
+
refresh_token?: string | undefined;
|
|
366
|
+
token_type?: string | undefined;
|
|
363
367
|
enterprise?: {
|
|
364
368
|
id: string;
|
|
365
369
|
name: string;
|
|
366
370
|
} | undefined;
|
|
367
|
-
|
|
368
|
-
id?: string | undefined;
|
|
371
|
+
bot_user_id?: string | undefined;
|
|
369
372
|
incoming_webhook?: {
|
|
370
373
|
channel: string;
|
|
371
374
|
url: string;
|
|
372
375
|
configuration_url: string;
|
|
373
376
|
} | undefined;
|
|
374
377
|
is_enterprise_install?: boolean | undefined;
|
|
375
|
-
refresh_token?: string | undefined;
|
|
376
|
-
scope?: string | undefined;
|
|
377
|
-
token_type?: string | undefined;
|
|
378
378
|
}>>;
|
|
379
379
|
/**
|
|
380
380
|
* The shape of the model mapping from the application shape into the api schema.
|
|
@@ -392,17 +392,17 @@ export declare const slackInstallationRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
|
|
|
392
392
|
tokenType: z.ZodOptional<z.ZodString>;
|
|
393
393
|
}, "strip", z.ZodTypeAny, {
|
|
394
394
|
id: string;
|
|
395
|
+
scope?: string | undefined;
|
|
395
396
|
accessToken?: string | undefined;
|
|
396
397
|
expiresIn?: number | undefined;
|
|
397
398
|
refreshToken?: string | undefined;
|
|
398
|
-
scope?: string | undefined;
|
|
399
399
|
tokenType?: string | undefined;
|
|
400
400
|
}, {
|
|
401
401
|
id: string;
|
|
402
|
+
scope?: string | undefined;
|
|
402
403
|
accessToken?: string | undefined;
|
|
403
404
|
expiresIn?: number | undefined;
|
|
404
405
|
refreshToken?: string | undefined;
|
|
405
|
-
scope?: string | undefined;
|
|
406
406
|
tokenType?: string | undefined;
|
|
407
407
|
}>, {
|
|
408
408
|
access_token: string | undefined;
|
|
@@ -413,10 +413,10 @@ export declare const slackInstallationRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
|
|
|
413
413
|
token_type: string | undefined;
|
|
414
414
|
}, {
|
|
415
415
|
id: string;
|
|
416
|
+
scope?: string | undefined;
|
|
416
417
|
accessToken?: string | undefined;
|
|
417
418
|
expiresIn?: number | undefined;
|
|
418
419
|
refreshToken?: string | undefined;
|
|
419
|
-
scope?: string | undefined;
|
|
420
420
|
tokenType?: string | undefined;
|
|
421
421
|
}>>;
|
|
422
422
|
botUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -494,53 +494,53 @@ export declare const slackInstallationRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
|
|
|
494
494
|
id: string;
|
|
495
495
|
name: string | undefined;
|
|
496
496
|
};
|
|
497
|
+
id?: string | undefined;
|
|
498
|
+
scope?: string | undefined;
|
|
499
|
+
expiresIn?: number | undefined;
|
|
500
|
+
refreshToken?: string | undefined;
|
|
501
|
+
tokenType?: string | undefined;
|
|
497
502
|
botUserId?: string | undefined;
|
|
498
503
|
enterprise?: {
|
|
499
504
|
id: string;
|
|
500
505
|
name: string;
|
|
501
506
|
} | undefined;
|
|
502
|
-
expiresIn?: number | undefined;
|
|
503
|
-
id?: string | undefined;
|
|
504
507
|
incomingWebhook?: {
|
|
505
508
|
channel: string;
|
|
506
509
|
configuration_url: string;
|
|
507
510
|
url: string;
|
|
508
511
|
} | undefined;
|
|
509
512
|
isEnterpriseInstall?: boolean | undefined;
|
|
510
|
-
refreshToken?: string | undefined;
|
|
511
|
-
scope?: string | undefined;
|
|
512
|
-
tokenType?: string | undefined;
|
|
513
513
|
}, {
|
|
514
514
|
appId: string;
|
|
515
515
|
accessToken: string;
|
|
516
516
|
authedUser: {
|
|
517
517
|
id: string;
|
|
518
|
+
scope?: string | undefined;
|
|
518
519
|
accessToken?: string | undefined;
|
|
519
520
|
expiresIn?: number | undefined;
|
|
520
521
|
refreshToken?: string | undefined;
|
|
521
|
-
scope?: string | undefined;
|
|
522
522
|
tokenType?: string | undefined;
|
|
523
523
|
};
|
|
524
524
|
team: {
|
|
525
525
|
id: string;
|
|
526
526
|
name?: string | undefined;
|
|
527
527
|
};
|
|
528
|
+
id?: string | undefined;
|
|
529
|
+
scope?: string | undefined;
|
|
530
|
+
expiresIn?: number | undefined;
|
|
531
|
+
refreshToken?: string | undefined;
|
|
532
|
+
tokenType?: string | undefined;
|
|
528
533
|
botUserId?: string | undefined;
|
|
529
534
|
enterprise?: {
|
|
530
535
|
id: string;
|
|
531
536
|
name: string;
|
|
532
537
|
} | undefined;
|
|
533
|
-
expiresIn?: number | undefined;
|
|
534
|
-
id?: string | undefined;
|
|
535
538
|
incomingWebhook?: {
|
|
536
539
|
channel: string;
|
|
537
540
|
url: string;
|
|
538
541
|
configurationUrl: string;
|
|
539
542
|
} | undefined;
|
|
540
543
|
isEnterpriseInstall?: boolean | undefined;
|
|
541
|
-
refreshToken?: string | undefined;
|
|
542
|
-
scope?: string | undefined;
|
|
543
|
-
tokenType?: string | undefined;
|
|
544
544
|
}>, {
|
|
545
545
|
access_token: string;
|
|
546
546
|
app_id: string;
|
|
@@ -577,31 +577,31 @@ export declare const slackInstallationRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
|
|
|
577
577
|
accessToken: string;
|
|
578
578
|
authedUser: {
|
|
579
579
|
id: string;
|
|
580
|
+
scope?: string | undefined;
|
|
580
581
|
accessToken?: string | undefined;
|
|
581
582
|
expiresIn?: number | undefined;
|
|
582
583
|
refreshToken?: string | undefined;
|
|
583
|
-
scope?: string | undefined;
|
|
584
584
|
tokenType?: string | undefined;
|
|
585
585
|
};
|
|
586
586
|
team: {
|
|
587
587
|
id: string;
|
|
588
588
|
name?: string | undefined;
|
|
589
589
|
};
|
|
590
|
+
id?: string | undefined;
|
|
591
|
+
scope?: string | undefined;
|
|
592
|
+
expiresIn?: number | undefined;
|
|
593
|
+
refreshToken?: string | undefined;
|
|
594
|
+
tokenType?: string | undefined;
|
|
590
595
|
botUserId?: string | undefined;
|
|
591
596
|
enterprise?: {
|
|
592
597
|
id: string;
|
|
593
598
|
name: string;
|
|
594
599
|
} | undefined;
|
|
595
|
-
expiresIn?: number | undefined;
|
|
596
|
-
id?: string | undefined;
|
|
597
600
|
incomingWebhook?: {
|
|
598
601
|
channel: string;
|
|
599
602
|
url: string;
|
|
600
603
|
configurationUrl: string;
|
|
601
604
|
} | undefined;
|
|
602
605
|
isEnterpriseInstall?: boolean | undefined;
|
|
603
|
-
refreshToken?: string | undefined;
|
|
604
|
-
scope?: string | undefined;
|
|
605
|
-
tokenType?: string | undefined;
|
|
606
606
|
}>>;
|
|
607
607
|
//# sourceMappingURL=slack-installation.d.ts.map
|
|
@@ -9,14 +9,14 @@ export declare const slackStartInstall: z.ZodLazy<z.ZodObject<{
|
|
|
9
9
|
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
appId: string;
|
|
12
|
+
redirectUrl?: string | undefined;
|
|
12
13
|
authUrl?: string | undefined;
|
|
13
14
|
extraScopes?: string[] | undefined;
|
|
14
|
-
redirectUrl?: string | undefined;
|
|
15
15
|
}, {
|
|
16
16
|
appId: string;
|
|
17
|
+
redirectUrl?: string | undefined;
|
|
17
18
|
authUrl?: string | undefined;
|
|
18
19
|
extraScopes?: string[] | undefined;
|
|
19
|
-
redirectUrl?: string | undefined;
|
|
20
20
|
}>>;
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
@@ -38,14 +38,14 @@ export declare const slackStartInstallResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
38
38
|
redirect_url: z.ZodOptional<z.ZodString>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
app_id: string;
|
|
41
|
+
redirect_url?: string | undefined;
|
|
41
42
|
auth_url?: string | undefined;
|
|
42
43
|
extra_scopes?: string[] | undefined;
|
|
43
|
-
redirect_url?: string | undefined;
|
|
44
44
|
}, {
|
|
45
45
|
app_id: string;
|
|
46
|
+
redirect_url?: string | undefined;
|
|
46
47
|
auth_url?: string | undefined;
|
|
47
48
|
extra_scopes?: string[] | undefined;
|
|
48
|
-
redirect_url?: string | undefined;
|
|
49
49
|
}>, {
|
|
50
50
|
appId: string;
|
|
51
51
|
authUrl: string | undefined;
|
|
@@ -53,9 +53,9 @@ export declare const slackStartInstallResponse: z.ZodLazy<z.ZodEffects<z.ZodObje
|
|
|
53
53
|
redirectUrl: string | undefined;
|
|
54
54
|
}, {
|
|
55
55
|
app_id: string;
|
|
56
|
+
redirect_url?: string | undefined;
|
|
56
57
|
auth_url?: string | undefined;
|
|
57
58
|
extra_scopes?: string[] | undefined;
|
|
58
|
-
redirect_url?: string | undefined;
|
|
59
59
|
}>>;
|
|
60
60
|
/**
|
|
61
61
|
* The shape of the model mapping from the application shape into the api schema.
|
|
@@ -68,14 +68,14 @@ export declare const slackStartInstallRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
|
|
|
68
68
|
redirectUrl: z.ZodOptional<z.ZodString>;
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
70
|
appId: string;
|
|
71
|
+
redirectUrl?: string | undefined;
|
|
71
72
|
authUrl?: string | undefined;
|
|
72
73
|
extraScopes?: string[] | undefined;
|
|
73
|
-
redirectUrl?: string | undefined;
|
|
74
74
|
}, {
|
|
75
75
|
appId: string;
|
|
76
|
+
redirectUrl?: string | undefined;
|
|
76
77
|
authUrl?: string | undefined;
|
|
77
78
|
extraScopes?: string[] | undefined;
|
|
78
|
-
redirectUrl?: string | undefined;
|
|
79
79
|
}>, {
|
|
80
80
|
app_id: string;
|
|
81
81
|
auth_url: string | undefined;
|
|
@@ -83,8 +83,8 @@ export declare const slackStartInstallRequest: z.ZodLazy<z.ZodEffects<z.ZodObjec
|
|
|
83
83
|
redirect_url: string | undefined;
|
|
84
84
|
}, {
|
|
85
85
|
appId: string;
|
|
86
|
+
redirectUrl?: string | undefined;
|
|
86
87
|
authUrl?: string | undefined;
|
|
87
88
|
extraScopes?: string[] | undefined;
|
|
88
|
-
redirectUrl?: string | undefined;
|
|
89
89
|
}>>;
|
|
90
90
|
//# sourceMappingURL=slack-start-install.d.ts.map
|
|
@@ -277,6 +277,13 @@ export declare const theme: z.ZodLazy<z.ZodObject<{
|
|
|
277
277
|
backgroundColor: string;
|
|
278
278
|
}>>>;
|
|
279
279
|
}, "strip", z.ZodTypeAny, {
|
|
280
|
+
header?: {
|
|
281
|
+
backgroundColor: string;
|
|
282
|
+
fontSize: string;
|
|
283
|
+
textColor: string;
|
|
284
|
+
borderRadius: string;
|
|
285
|
+
fontFamily: string;
|
|
286
|
+
} | undefined;
|
|
280
287
|
banner?: {
|
|
281
288
|
backgroundColor: string;
|
|
282
289
|
fontSize: string;
|
|
@@ -294,13 +301,6 @@ export declare const theme: z.ZodLazy<z.ZodObject<{
|
|
|
294
301
|
textColor: string;
|
|
295
302
|
borderRadius: string;
|
|
296
303
|
} | undefined;
|
|
297
|
-
header?: {
|
|
298
|
-
backgroundColor: string;
|
|
299
|
-
fontSize: string;
|
|
300
|
-
textColor: string;
|
|
301
|
-
borderRadius: string;
|
|
302
|
-
fontFamily: string;
|
|
303
|
-
} | undefined;
|
|
304
304
|
icon?: {
|
|
305
305
|
borderColor: string;
|
|
306
306
|
width: string;
|
|
@@ -345,6 +345,13 @@ export declare const theme: z.ZodLazy<z.ZodObject<{
|
|
|
345
345
|
backgroundColor: string;
|
|
346
346
|
} | undefined;
|
|
347
347
|
}, {
|
|
348
|
+
header?: {
|
|
349
|
+
backgroundColor: string;
|
|
350
|
+
fontSize: string;
|
|
351
|
+
textColor: string;
|
|
352
|
+
borderRadius: string;
|
|
353
|
+
fontFamily: string;
|
|
354
|
+
} | undefined;
|
|
348
355
|
banner?: {
|
|
349
356
|
backgroundColor: string;
|
|
350
357
|
fontSize: string;
|
|
@@ -362,13 +369,6 @@ export declare const theme: z.ZodLazy<z.ZodObject<{
|
|
|
362
369
|
textColor: string;
|
|
363
370
|
borderRadius: string;
|
|
364
371
|
} | undefined;
|
|
365
|
-
header?: {
|
|
366
|
-
backgroundColor: string;
|
|
367
|
-
fontSize: string;
|
|
368
|
-
textColor: string;
|
|
369
|
-
borderRadius: string;
|
|
370
|
-
fontFamily: string;
|
|
371
|
-
} | undefined;
|
|
372
372
|
icon?: {
|
|
373
373
|
borderColor: string;
|
|
374
374
|
width: string;
|
|
@@ -910,6 +910,13 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
910
910
|
backgroundColor: string;
|
|
911
911
|
}>>>;
|
|
912
912
|
}, "strip", z.ZodTypeAny, {
|
|
913
|
+
header?: {
|
|
914
|
+
backgroundColor: string;
|
|
915
|
+
borderRadius: string;
|
|
916
|
+
fontFamily: string;
|
|
917
|
+
fontSize: string;
|
|
918
|
+
textColor: string;
|
|
919
|
+
} | undefined;
|
|
913
920
|
banner?: {
|
|
914
921
|
backgroundColor: string;
|
|
915
922
|
backgroundOpacity: number | undefined;
|
|
@@ -927,13 +934,6 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
927
934
|
fontSize: string;
|
|
928
935
|
textColor: string;
|
|
929
936
|
} | undefined;
|
|
930
|
-
header?: {
|
|
931
|
-
backgroundColor: string;
|
|
932
|
-
borderRadius: string;
|
|
933
|
-
fontFamily: string;
|
|
934
|
-
fontSize: string;
|
|
935
|
-
textColor: string;
|
|
936
|
-
} | undefined;
|
|
937
937
|
icon?: {
|
|
938
938
|
borderColor: string;
|
|
939
939
|
width: string;
|
|
@@ -978,6 +978,13 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
978
978
|
backgroundColor: string;
|
|
979
979
|
} | undefined;
|
|
980
980
|
}, {
|
|
981
|
+
header?: {
|
|
982
|
+
backgroundColor: string;
|
|
983
|
+
fontSize: string;
|
|
984
|
+
textColor: string;
|
|
985
|
+
borderRadius: string;
|
|
986
|
+
fontFamily: string;
|
|
987
|
+
} | undefined;
|
|
981
988
|
banner?: {
|
|
982
989
|
backgroundColor: string;
|
|
983
990
|
fontSize: string;
|
|
@@ -995,13 +1002,6 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
995
1002
|
textColor: string;
|
|
996
1003
|
borderRadius: string;
|
|
997
1004
|
} | undefined;
|
|
998
|
-
header?: {
|
|
999
|
-
backgroundColor: string;
|
|
1000
|
-
fontSize: string;
|
|
1001
|
-
textColor: string;
|
|
1002
|
-
borderRadius: string;
|
|
1003
|
-
fontFamily: string;
|
|
1004
|
-
} | undefined;
|
|
1005
1005
|
icon?: {
|
|
1006
1006
|
borderColor: string;
|
|
1007
1007
|
width: string;
|
|
@@ -1114,6 +1114,13 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1114
1114
|
backgroundColor: string;
|
|
1115
1115
|
} | undefined;
|
|
1116
1116
|
}, {
|
|
1117
|
+
header?: {
|
|
1118
|
+
backgroundColor: string;
|
|
1119
|
+
fontSize: string;
|
|
1120
|
+
textColor: string;
|
|
1121
|
+
borderRadius: string;
|
|
1122
|
+
fontFamily: string;
|
|
1123
|
+
} | undefined;
|
|
1117
1124
|
banner?: {
|
|
1118
1125
|
backgroundColor: string;
|
|
1119
1126
|
fontSize: string;
|
|
@@ -1131,13 +1138,6 @@ export declare const themeResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1131
1138
|
textColor: string;
|
|
1132
1139
|
borderRadius: string;
|
|
1133
1140
|
} | undefined;
|
|
1134
|
-
header?: {
|
|
1135
|
-
backgroundColor: string;
|
|
1136
|
-
fontSize: string;
|
|
1137
|
-
textColor: string;
|
|
1138
|
-
borderRadius: string;
|
|
1139
|
-
fontFamily: string;
|
|
1140
|
-
} | undefined;
|
|
1141
1141
|
icon?: {
|
|
1142
1142
|
borderColor: string;
|
|
1143
1143
|
width: string;
|
|
@@ -1667,6 +1667,13 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1667
1667
|
backgroundColor: string;
|
|
1668
1668
|
}>>>;
|
|
1669
1669
|
}, "strip", z.ZodTypeAny, {
|
|
1670
|
+
header?: {
|
|
1671
|
+
backgroundColor: string;
|
|
1672
|
+
borderRadius: string;
|
|
1673
|
+
fontFamily: string;
|
|
1674
|
+
fontSize: string;
|
|
1675
|
+
textColor: string;
|
|
1676
|
+
} | undefined;
|
|
1670
1677
|
banner?: {
|
|
1671
1678
|
backgroundColor: string;
|
|
1672
1679
|
backgroundOpacity: number | undefined;
|
|
@@ -1684,13 +1691,6 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1684
1691
|
fontSize: string;
|
|
1685
1692
|
textColor: string;
|
|
1686
1693
|
} | undefined;
|
|
1687
|
-
header?: {
|
|
1688
|
-
backgroundColor: string;
|
|
1689
|
-
borderRadius: string;
|
|
1690
|
-
fontFamily: string;
|
|
1691
|
-
fontSize: string;
|
|
1692
|
-
textColor: string;
|
|
1693
|
-
} | undefined;
|
|
1694
1694
|
icon?: {
|
|
1695
1695
|
borderColor: string;
|
|
1696
1696
|
width: string;
|
|
@@ -1735,6 +1735,13 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1735
1735
|
backgroundColor: string;
|
|
1736
1736
|
} | undefined;
|
|
1737
1737
|
}, {
|
|
1738
|
+
header?: {
|
|
1739
|
+
backgroundColor: string;
|
|
1740
|
+
fontSize: string;
|
|
1741
|
+
textColor: string;
|
|
1742
|
+
borderRadius: string;
|
|
1743
|
+
fontFamily: string;
|
|
1744
|
+
} | undefined;
|
|
1738
1745
|
banner?: {
|
|
1739
1746
|
backgroundColor: string;
|
|
1740
1747
|
fontSize: string;
|
|
@@ -1752,13 +1759,6 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1752
1759
|
textColor: string;
|
|
1753
1760
|
borderRadius: string;
|
|
1754
1761
|
} | undefined;
|
|
1755
|
-
header?: {
|
|
1756
|
-
backgroundColor: string;
|
|
1757
|
-
fontSize: string;
|
|
1758
|
-
textColor: string;
|
|
1759
|
-
borderRadius: string;
|
|
1760
|
-
fontFamily: string;
|
|
1761
|
-
} | undefined;
|
|
1762
1762
|
icon?: {
|
|
1763
1763
|
borderColor: string;
|
|
1764
1764
|
width: string;
|
|
@@ -1871,6 +1871,13 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1871
1871
|
backgroundColor: string;
|
|
1872
1872
|
} | undefined;
|
|
1873
1873
|
}, {
|
|
1874
|
+
header?: {
|
|
1875
|
+
backgroundColor: string;
|
|
1876
|
+
fontSize: string;
|
|
1877
|
+
textColor: string;
|
|
1878
|
+
borderRadius: string;
|
|
1879
|
+
fontFamily: string;
|
|
1880
|
+
} | undefined;
|
|
1874
1881
|
banner?: {
|
|
1875
1882
|
backgroundColor: string;
|
|
1876
1883
|
fontSize: string;
|
|
@@ -1888,13 +1895,6 @@ export declare const themeRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
|
1888
1895
|
textColor: string;
|
|
1889
1896
|
borderRadius: string;
|
|
1890
1897
|
} | undefined;
|
|
1891
|
-
header?: {
|
|
1892
|
-
backgroundColor: string;
|
|
1893
|
-
fontSize: string;
|
|
1894
|
-
textColor: string;
|
|
1895
|
-
borderRadius: string;
|
|
1896
|
-
fontFamily: string;
|
|
1897
|
-
} | undefined;
|
|
1898
1898
|
icon?: {
|
|
1899
1899
|
borderColor: string;
|
|
1900
1900
|
width: string;
|