@livechat/developer-studio-api 3.4.20 → 3.4.22
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/index.d.mts +425 -297
- package/dist/index.d.ts +425 -297
- package/dist/index.js +140 -15
- package/dist/index.mjs +137 -15
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1257,9 +1257,59 @@ interface SlackClientAuthorization {
|
|
|
1257
1257
|
interface SlackClientInstanceOptions extends SlackClientAuthorization {
|
|
1258
1258
|
ensureAuthorizationToken?: boolean;
|
|
1259
1259
|
}
|
|
1260
|
+
interface SlackClientUserTokenInfo {
|
|
1261
|
+
ok: boolean;
|
|
1262
|
+
url: string;
|
|
1263
|
+
team: string;
|
|
1264
|
+
user: string;
|
|
1265
|
+
team_id: string;
|
|
1266
|
+
user_id: string;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
declare enum SlackEventTypes {
|
|
1270
|
+
MessagePosted = "message"
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
interface SlackEventAuthorizationsData {
|
|
1274
|
+
enterprise_id: string | null;
|
|
1275
|
+
team_id: string;
|
|
1276
|
+
user_id: string;
|
|
1277
|
+
is_bot: boolean;
|
|
1278
|
+
}
|
|
1279
|
+
interface SlackEventBaseData<TPayload> {
|
|
1280
|
+
token: string;
|
|
1281
|
+
team_id: string;
|
|
1282
|
+
api_app_id: string;
|
|
1283
|
+
event: TPayload;
|
|
1284
|
+
type: string;
|
|
1285
|
+
authorizations: SlackEventAuthorizationsData[];
|
|
1286
|
+
event_context: string;
|
|
1287
|
+
event_id: string;
|
|
1288
|
+
event_time: string;
|
|
1289
|
+
challenge?: string;
|
|
1290
|
+
}
|
|
1291
|
+
type SlackEventBasePayload<TEventType extends SlackEventTypes, TEventPayload> = {
|
|
1292
|
+
type: TEventType;
|
|
1293
|
+
} & TEventPayload;
|
|
1294
|
+
type SlackChannelType = 'channel' | 'group' | 'im' | 'mpim';
|
|
1295
|
+
type SlackEventMessagePostedPayload = SlackEventBasePayload<SlackEventTypes.MessagePosted, {
|
|
1296
|
+
type: string;
|
|
1297
|
+
user: string;
|
|
1298
|
+
text: string;
|
|
1299
|
+
ts: string;
|
|
1300
|
+
channel: string;
|
|
1301
|
+
event_ts: string;
|
|
1302
|
+
channel_type: SlackChannelType;
|
|
1303
|
+
sub_type?: string;
|
|
1304
|
+
username?: string;
|
|
1305
|
+
}>;
|
|
1306
|
+
type SlackEventMessagePostedData = SlackEventBaseData<SlackEventMessagePostedPayload>;
|
|
1307
|
+
type SlackEventPayloadData = SlackEventMessagePostedData;
|
|
1308
|
+
|
|
1260
1309
|
declare class SlackApiError extends ApiErrorBase<{
|
|
1261
|
-
|
|
1262
|
-
|
|
1310
|
+
ok: boolean;
|
|
1311
|
+
error: string;
|
|
1312
|
+
} & Record<string, string[]>> {
|
|
1263
1313
|
name: "slack";
|
|
1264
1314
|
}
|
|
1265
1315
|
declare const slackClientInstance: axios.AxiosInstance;
|
|
@@ -2113,6 +2163,242 @@ declare enum IntegrationDisplayNames {
|
|
|
2113
2163
|
Slack = "Slack"
|
|
2114
2164
|
}
|
|
2115
2165
|
|
|
2166
|
+
interface SlackAuthorizeActionResult {
|
|
2167
|
+
token: string;
|
|
2168
|
+
}
|
|
2169
|
+
interface SlackAuthorizeFlowCustomContext {
|
|
2170
|
+
credentialId?: string;
|
|
2171
|
+
}
|
|
2172
|
+
type SlackAuthorizeFlowContext = SlackAuthorizeFlowCustomContext & IntegrationFlowContext;
|
|
2173
|
+
interface SlackAuthorizeFlowResult {
|
|
2174
|
+
token: string;
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2177
|
+
type SlackFlows = 'authorize';
|
|
2178
|
+
type SlackFlowContext<TAction extends SlackFlows> = TAction extends 'authorize' ? SlackAuthorizeFlowCustomContext : never;
|
|
2179
|
+
type SlackFlowResult<TAction extends SlackFlows> = TAction extends 'authorize' ? SlackAuthorizeFlowResult : never;
|
|
2180
|
+
|
|
2181
|
+
declare enum SlackEventNames {
|
|
2182
|
+
ChannelNewMessagePosted = "channel_new_message_posted",
|
|
2183
|
+
MemberNewMention = "member_new_mention"
|
|
2184
|
+
}
|
|
2185
|
+
declare const slackEventsZods: {
|
|
2186
|
+
provider: z.ZodLiteral<IntegrationNames.Slack>;
|
|
2187
|
+
eventName: z.ZodNativeEnum<typeof SlackEventNames>;
|
|
2188
|
+
events: {
|
|
2189
|
+
channelNewMessagePosted: z.ZodObject<{
|
|
2190
|
+
name: z.ZodLiteral<SlackEventNames.ChannelNewMessagePosted>;
|
|
2191
|
+
channelId: z.ZodString;
|
|
2192
|
+
}, "strip", z.ZodTypeAny, {
|
|
2193
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2194
|
+
channelId: string;
|
|
2195
|
+
}, {
|
|
2196
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2197
|
+
channelId: string;
|
|
2198
|
+
}>;
|
|
2199
|
+
memberNewMention: z.ZodObject<{
|
|
2200
|
+
name: z.ZodLiteral<SlackEventNames.MemberNewMention>;
|
|
2201
|
+
userId: z.ZodString;
|
|
2202
|
+
}, "strip", z.ZodTypeAny, {
|
|
2203
|
+
name: SlackEventNames.MemberNewMention;
|
|
2204
|
+
userId: string;
|
|
2205
|
+
}, {
|
|
2206
|
+
name: SlackEventNames.MemberNewMention;
|
|
2207
|
+
userId: string;
|
|
2208
|
+
}>;
|
|
2209
|
+
};
|
|
2210
|
+
readonly event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2211
|
+
name: z.ZodLiteral<SlackEventNames.ChannelNewMessagePosted>;
|
|
2212
|
+
channelId: z.ZodString;
|
|
2213
|
+
}, "strip", z.ZodTypeAny, {
|
|
2214
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2215
|
+
channelId: string;
|
|
2216
|
+
}, {
|
|
2217
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2218
|
+
channelId: string;
|
|
2219
|
+
}>, z.ZodObject<{
|
|
2220
|
+
name: z.ZodLiteral<SlackEventNames.MemberNewMention>;
|
|
2221
|
+
userId: z.ZodString;
|
|
2222
|
+
}, "strip", z.ZodTypeAny, {
|
|
2223
|
+
name: SlackEventNames.MemberNewMention;
|
|
2224
|
+
userId: string;
|
|
2225
|
+
}, {
|
|
2226
|
+
name: SlackEventNames.MemberNewMention;
|
|
2227
|
+
userId: string;
|
|
2228
|
+
}>]>;
|
|
2229
|
+
readonly source: z.ZodObject<{
|
|
2230
|
+
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
2231
|
+
sourceKey: z.ZodString;
|
|
2232
|
+
}, "strip", z.ZodTypeAny, {
|
|
2233
|
+
sourceName: "apps" | "workflows";
|
|
2234
|
+
sourceKey: string;
|
|
2235
|
+
}, {
|
|
2236
|
+
sourceName: "apps" | "workflows";
|
|
2237
|
+
sourceKey: string;
|
|
2238
|
+
}>;
|
|
2239
|
+
readonly subscribe: z.ZodIntersection<z.ZodObject<{
|
|
2240
|
+
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
2241
|
+
sourceKey: z.ZodString;
|
|
2242
|
+
}, "strip", z.ZodTypeAny, {
|
|
2243
|
+
sourceName: "apps" | "workflows";
|
|
2244
|
+
sourceKey: string;
|
|
2245
|
+
}, {
|
|
2246
|
+
sourceName: "apps" | "workflows";
|
|
2247
|
+
sourceKey: string;
|
|
2248
|
+
}>, z.ZodObject<{
|
|
2249
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2250
|
+
name: z.ZodLiteral<SlackEventNames.ChannelNewMessagePosted>;
|
|
2251
|
+
channelId: z.ZodString;
|
|
2252
|
+
}, "strip", z.ZodTypeAny, {
|
|
2253
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2254
|
+
channelId: string;
|
|
2255
|
+
}, {
|
|
2256
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2257
|
+
channelId: string;
|
|
2258
|
+
}>, z.ZodObject<{
|
|
2259
|
+
name: z.ZodLiteral<SlackEventNames.MemberNewMention>;
|
|
2260
|
+
userId: z.ZodString;
|
|
2261
|
+
}, "strip", z.ZodTypeAny, {
|
|
2262
|
+
name: SlackEventNames.MemberNewMention;
|
|
2263
|
+
userId: string;
|
|
2264
|
+
}, {
|
|
2265
|
+
name: SlackEventNames.MemberNewMention;
|
|
2266
|
+
userId: string;
|
|
2267
|
+
}>]>;
|
|
2268
|
+
callback: z.ZodString;
|
|
2269
|
+
}, "strip", z.ZodTypeAny, {
|
|
2270
|
+
event: {
|
|
2271
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2272
|
+
channelId: string;
|
|
2273
|
+
} | {
|
|
2274
|
+
name: SlackEventNames.MemberNewMention;
|
|
2275
|
+
userId: string;
|
|
2276
|
+
};
|
|
2277
|
+
callback: string;
|
|
2278
|
+
}, {
|
|
2279
|
+
event: {
|
|
2280
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2281
|
+
channelId: string;
|
|
2282
|
+
} | {
|
|
2283
|
+
name: SlackEventNames.MemberNewMention;
|
|
2284
|
+
userId: string;
|
|
2285
|
+
};
|
|
2286
|
+
callback: string;
|
|
2287
|
+
}>>;
|
|
2288
|
+
readonly subscribeContent: z.ZodObject<{
|
|
2289
|
+
provider: z.ZodLiteral<IntegrationNames.Slack>;
|
|
2290
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2291
|
+
name: z.ZodLiteral<SlackEventNames.ChannelNewMessagePosted>;
|
|
2292
|
+
channelId: z.ZodString;
|
|
2293
|
+
}, "strip", z.ZodTypeAny, {
|
|
2294
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2295
|
+
channelId: string;
|
|
2296
|
+
}, {
|
|
2297
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2298
|
+
channelId: string;
|
|
2299
|
+
}>, z.ZodObject<{
|
|
2300
|
+
name: z.ZodLiteral<SlackEventNames.MemberNewMention>;
|
|
2301
|
+
userId: z.ZodString;
|
|
2302
|
+
}, "strip", z.ZodTypeAny, {
|
|
2303
|
+
name: SlackEventNames.MemberNewMention;
|
|
2304
|
+
userId: string;
|
|
2305
|
+
}, {
|
|
2306
|
+
name: SlackEventNames.MemberNewMention;
|
|
2307
|
+
userId: string;
|
|
2308
|
+
}>]>;
|
|
2309
|
+
callback: z.ZodString;
|
|
2310
|
+
}, "strip", z.ZodTypeAny, {
|
|
2311
|
+
event: {
|
|
2312
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2313
|
+
channelId: string;
|
|
2314
|
+
} | {
|
|
2315
|
+
name: SlackEventNames.MemberNewMention;
|
|
2316
|
+
userId: string;
|
|
2317
|
+
};
|
|
2318
|
+
callback: string;
|
|
2319
|
+
provider: IntegrationNames.Slack;
|
|
2320
|
+
}, {
|
|
2321
|
+
event: {
|
|
2322
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2323
|
+
channelId: string;
|
|
2324
|
+
} | {
|
|
2325
|
+
name: SlackEventNames.MemberNewMention;
|
|
2326
|
+
userId: string;
|
|
2327
|
+
};
|
|
2328
|
+
callback: string;
|
|
2329
|
+
provider: IntegrationNames.Slack;
|
|
2330
|
+
}>;
|
|
2331
|
+
readonly unsubscribe: z.ZodIntersection<z.ZodObject<{
|
|
2332
|
+
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
2333
|
+
sourceKey: z.ZodString;
|
|
2334
|
+
}, "strip", z.ZodTypeAny, {
|
|
2335
|
+
sourceName: "apps" | "workflows";
|
|
2336
|
+
sourceKey: string;
|
|
2337
|
+
}, {
|
|
2338
|
+
sourceName: "apps" | "workflows";
|
|
2339
|
+
sourceKey: string;
|
|
2340
|
+
}>, z.ZodObject<{
|
|
2341
|
+
event: z.ZodObject<{
|
|
2342
|
+
name: z.ZodNativeEnum<typeof SlackEventNames>;
|
|
2343
|
+
}, "strip", z.ZodTypeAny, {
|
|
2344
|
+
name: SlackEventNames;
|
|
2345
|
+
}, {
|
|
2346
|
+
name: SlackEventNames;
|
|
2347
|
+
}>;
|
|
2348
|
+
}, "strip", z.ZodTypeAny, {
|
|
2349
|
+
event: {
|
|
2350
|
+
name: SlackEventNames;
|
|
2351
|
+
};
|
|
2352
|
+
}, {
|
|
2353
|
+
event: {
|
|
2354
|
+
name: SlackEventNames;
|
|
2355
|
+
};
|
|
2356
|
+
}>>;
|
|
2357
|
+
readonly unsubscribeContent: z.ZodObject<{
|
|
2358
|
+
provider: z.ZodLiteral<IntegrationNames.Slack>;
|
|
2359
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
2360
|
+
name: z.ZodLiteral<SlackEventNames.ChannelNewMessagePosted>;
|
|
2361
|
+
channelId: z.ZodString;
|
|
2362
|
+
}, "strip", z.ZodTypeAny, {
|
|
2363
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2364
|
+
channelId: string;
|
|
2365
|
+
}, {
|
|
2366
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2367
|
+
channelId: string;
|
|
2368
|
+
}>, z.ZodObject<{
|
|
2369
|
+
name: z.ZodLiteral<SlackEventNames.MemberNewMention>;
|
|
2370
|
+
userId: z.ZodString;
|
|
2371
|
+
}, "strip", z.ZodTypeAny, {
|
|
2372
|
+
name: SlackEventNames.MemberNewMention;
|
|
2373
|
+
userId: string;
|
|
2374
|
+
}, {
|
|
2375
|
+
name: SlackEventNames.MemberNewMention;
|
|
2376
|
+
userId: string;
|
|
2377
|
+
}>]>;
|
|
2378
|
+
}, "strip", z.ZodTypeAny, {
|
|
2379
|
+
event: {
|
|
2380
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2381
|
+
channelId: string;
|
|
2382
|
+
} | {
|
|
2383
|
+
name: SlackEventNames.MemberNewMention;
|
|
2384
|
+
userId: string;
|
|
2385
|
+
};
|
|
2386
|
+
provider: IntegrationNames.Slack;
|
|
2387
|
+
}, {
|
|
2388
|
+
event: {
|
|
2389
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
2390
|
+
channelId: string;
|
|
2391
|
+
} | {
|
|
2392
|
+
name: SlackEventNames.MemberNewMention;
|
|
2393
|
+
userId: string;
|
|
2394
|
+
};
|
|
2395
|
+
provider: IntegrationNames.Slack;
|
|
2396
|
+
}>;
|
|
2397
|
+
};
|
|
2398
|
+
type SlackEvent = z.infer<typeof slackEventsZods.event>;
|
|
2399
|
+
type SubscribeToSlackEventPayload = z.infer<typeof slackEventsZods.subscribe>;
|
|
2400
|
+
type UnsubscribeFromSlackEventPayload = z.infer<typeof slackEventsZods.unsubscribe>;
|
|
2401
|
+
|
|
2116
2402
|
interface BigCommerceAuthorizeActionContext {
|
|
2117
2403
|
shop: string;
|
|
2118
2404
|
}
|
|
@@ -2399,70 +2685,20 @@ declare const bigcommerceEventsZods: {
|
|
|
2399
2685
|
sourceName: "apps" | "workflows";
|
|
2400
2686
|
sourceKey: string;
|
|
2401
2687
|
}>, z.ZodObject<{
|
|
2402
|
-
event: z.
|
|
2403
|
-
name: z.
|
|
2688
|
+
event: z.ZodObject<{
|
|
2689
|
+
name: z.ZodNativeEnum<typeof BigCommerceEventNames>;
|
|
2404
2690
|
}, "strip", z.ZodTypeAny, {
|
|
2405
|
-
name: BigCommerceEventNames
|
|
2691
|
+
name: BigCommerceEventNames;
|
|
2406
2692
|
}, {
|
|
2407
|
-
name: BigCommerceEventNames
|
|
2408
|
-
}
|
|
2409
|
-
name: z.ZodLiteral<BigCommerceEventNames.CartUpdated>;
|
|
2410
|
-
}, "strip", z.ZodTypeAny, {
|
|
2411
|
-
name: BigCommerceEventNames.CartUpdated;
|
|
2412
|
-
}, {
|
|
2413
|
-
name: BigCommerceEventNames.CartUpdated;
|
|
2414
|
-
}>, z.ZodObject<{
|
|
2415
|
-
name: z.ZodLiteral<BigCommerceEventNames.OrderCreated>;
|
|
2416
|
-
}, "strip", z.ZodTypeAny, {
|
|
2417
|
-
name: BigCommerceEventNames.OrderCreated;
|
|
2418
|
-
}, {
|
|
2419
|
-
name: BigCommerceEventNames.OrderCreated;
|
|
2420
|
-
}>, z.ZodObject<{
|
|
2421
|
-
name: z.ZodLiteral<BigCommerceEventNames.OrderUpdated>;
|
|
2422
|
-
}, "strip", z.ZodTypeAny, {
|
|
2423
|
-
name: BigCommerceEventNames.OrderUpdated;
|
|
2424
|
-
}, {
|
|
2425
|
-
name: BigCommerceEventNames.OrderUpdated;
|
|
2426
|
-
}>, z.ZodObject<{
|
|
2427
|
-
name: z.ZodLiteral<BigCommerceEventNames.ProductCreated>;
|
|
2428
|
-
}, "strip", z.ZodTypeAny, {
|
|
2429
|
-
name: BigCommerceEventNames.ProductCreated;
|
|
2430
|
-
}, {
|
|
2431
|
-
name: BigCommerceEventNames.ProductCreated;
|
|
2432
|
-
}>, z.ZodObject<{
|
|
2433
|
-
name: z.ZodLiteral<BigCommerceEventNames.ProductUpdated>;
|
|
2434
|
-
}, "strip", z.ZodTypeAny, {
|
|
2435
|
-
name: BigCommerceEventNames.ProductUpdated;
|
|
2436
|
-
}, {
|
|
2437
|
-
name: BigCommerceEventNames.ProductUpdated;
|
|
2438
|
-
}>]>;
|
|
2693
|
+
name: BigCommerceEventNames;
|
|
2694
|
+
}>;
|
|
2439
2695
|
}, "strip", z.ZodTypeAny, {
|
|
2440
2696
|
event: {
|
|
2441
|
-
name: BigCommerceEventNames
|
|
2442
|
-
} | {
|
|
2443
|
-
name: BigCommerceEventNames.CartUpdated;
|
|
2444
|
-
} | {
|
|
2445
|
-
name: BigCommerceEventNames.OrderCreated;
|
|
2446
|
-
} | {
|
|
2447
|
-
name: BigCommerceEventNames.OrderUpdated;
|
|
2448
|
-
} | {
|
|
2449
|
-
name: BigCommerceEventNames.ProductCreated;
|
|
2450
|
-
} | {
|
|
2451
|
-
name: BigCommerceEventNames.ProductUpdated;
|
|
2697
|
+
name: BigCommerceEventNames;
|
|
2452
2698
|
};
|
|
2453
2699
|
}, {
|
|
2454
2700
|
event: {
|
|
2455
|
-
name: BigCommerceEventNames
|
|
2456
|
-
} | {
|
|
2457
|
-
name: BigCommerceEventNames.CartUpdated;
|
|
2458
|
-
} | {
|
|
2459
|
-
name: BigCommerceEventNames.OrderCreated;
|
|
2460
|
-
} | {
|
|
2461
|
-
name: BigCommerceEventNames.OrderUpdated;
|
|
2462
|
-
} | {
|
|
2463
|
-
name: BigCommerceEventNames.ProductCreated;
|
|
2464
|
-
} | {
|
|
2465
|
-
name: BigCommerceEventNames.ProductUpdated;
|
|
2701
|
+
name: BigCommerceEventNames;
|
|
2466
2702
|
};
|
|
2467
2703
|
}>>;
|
|
2468
2704
|
readonly unsubscribeContent: z.ZodObject<{
|
|
@@ -2683,30 +2919,20 @@ declare const hubspotEventsZods: {
|
|
|
2683
2919
|
sourceName: "apps" | "workflows";
|
|
2684
2920
|
sourceKey: string;
|
|
2685
2921
|
}>, z.ZodObject<{
|
|
2686
|
-
event: z.
|
|
2687
|
-
name: z.
|
|
2922
|
+
event: z.ZodObject<{
|
|
2923
|
+
name: z.ZodNativeEnum<typeof HubspotEventNames>;
|
|
2688
2924
|
}, "strip", z.ZodTypeAny, {
|
|
2689
|
-
name: HubspotEventNames
|
|
2690
|
-
}, {
|
|
2691
|
-
name: HubspotEventNames.ContactCreated;
|
|
2692
|
-
}>, z.ZodObject<{
|
|
2693
|
-
name: z.ZodLiteral<HubspotEventNames.ContactDeleted>;
|
|
2694
|
-
}, "strip", z.ZodTypeAny, {
|
|
2695
|
-
name: HubspotEventNames.ContactDeleted;
|
|
2925
|
+
name: HubspotEventNames;
|
|
2696
2926
|
}, {
|
|
2697
|
-
name: HubspotEventNames
|
|
2698
|
-
}
|
|
2927
|
+
name: HubspotEventNames;
|
|
2928
|
+
}>;
|
|
2699
2929
|
}, "strip", z.ZodTypeAny, {
|
|
2700
2930
|
event: {
|
|
2701
|
-
name: HubspotEventNames
|
|
2702
|
-
} | {
|
|
2703
|
-
name: HubspotEventNames.ContactDeleted;
|
|
2931
|
+
name: HubspotEventNames;
|
|
2704
2932
|
};
|
|
2705
2933
|
}, {
|
|
2706
2934
|
event: {
|
|
2707
|
-
name: HubspotEventNames
|
|
2708
|
-
} | {
|
|
2709
|
-
name: HubspotEventNames.ContactDeleted;
|
|
2935
|
+
name: HubspotEventNames;
|
|
2710
2936
|
};
|
|
2711
2937
|
}>>;
|
|
2712
2938
|
readonly unsubscribeContent: z.ZodObject<{
|
|
@@ -3636,130 +3862,20 @@ declare const textLivechatEventsZods: {
|
|
|
3636
3862
|
sourceName: "apps" | "workflows";
|
|
3637
3863
|
sourceKey: string;
|
|
3638
3864
|
}>, z.ZodObject<{
|
|
3639
|
-
event: z.
|
|
3640
|
-
name: z.
|
|
3641
|
-
targetAgentId: z.ZodOptional<z.ZodString>;
|
|
3642
|
-
}, "strip", z.ZodTypeAny, {
|
|
3643
|
-
name: TextLivechatEventNames.ChatStarted;
|
|
3644
|
-
targetAgentId?: string | undefined;
|
|
3645
|
-
}, {
|
|
3646
|
-
name: TextLivechatEventNames.ChatStarted;
|
|
3647
|
-
targetAgentId?: string | undefined;
|
|
3648
|
-
}>, z.ZodObject<{
|
|
3649
|
-
name: z.ZodLiteral<TextLivechatEventNames.ChatEnded>;
|
|
3650
|
-
}, "strip", z.ZodTypeAny, {
|
|
3651
|
-
name: TextLivechatEventNames.ChatEnded;
|
|
3652
|
-
}, {
|
|
3653
|
-
name: TextLivechatEventNames.ChatEnded;
|
|
3654
|
-
}>, z.ZodObject<{
|
|
3655
|
-
name: z.ZodLiteral<TextLivechatEventNames.ChatTransferred>;
|
|
3656
|
-
}, "strip", z.ZodTypeAny, {
|
|
3657
|
-
name: TextLivechatEventNames.ChatTransferred;
|
|
3658
|
-
}, {
|
|
3659
|
-
name: TextLivechatEventNames.ChatTransferred;
|
|
3660
|
-
}>, z.ZodObject<{
|
|
3661
|
-
name: z.ZodLiteral<TextLivechatEventNames.ChatTagged>;
|
|
3662
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
3663
|
-
exact: z.ZodOptional<z.ZodBoolean>;
|
|
3865
|
+
event: z.ZodObject<{
|
|
3866
|
+
name: z.ZodNativeEnum<typeof TextLivechatEventNames>;
|
|
3664
3867
|
}, "strip", z.ZodTypeAny, {
|
|
3665
|
-
name: TextLivechatEventNames
|
|
3666
|
-
exact?: boolean | undefined;
|
|
3667
|
-
tag?: string | undefined;
|
|
3868
|
+
name: TextLivechatEventNames;
|
|
3668
3869
|
}, {
|
|
3669
|
-
name: TextLivechatEventNames
|
|
3670
|
-
|
|
3671
|
-
tag?: string | undefined;
|
|
3672
|
-
}>, z.ZodObject<{
|
|
3673
|
-
name: z.ZodLiteral<TextLivechatEventNames.ChatRated>;
|
|
3674
|
-
rating: z.ZodOptional<z.ZodEnum<["good", "bad", "all"]>>;
|
|
3675
|
-
}, "strip", z.ZodTypeAny, {
|
|
3676
|
-
name: TextLivechatEventNames.ChatRated;
|
|
3677
|
-
rating?: "good" | "bad" | "all" | undefined;
|
|
3678
|
-
}, {
|
|
3679
|
-
name: TextLivechatEventNames.ChatRated;
|
|
3680
|
-
rating?: "good" | "bad" | "all" | undefined;
|
|
3681
|
-
}>, z.ZodObject<{
|
|
3682
|
-
name: z.ZodLiteral<TextLivechatEventNames.ChatCommented>;
|
|
3683
|
-
}, "strip", z.ZodTypeAny, {
|
|
3684
|
-
name: TextLivechatEventNames.ChatCommented;
|
|
3685
|
-
}, {
|
|
3686
|
-
name: TextLivechatEventNames.ChatCommented;
|
|
3687
|
-
}>, z.ZodObject<{
|
|
3688
|
-
name: z.ZodLiteral<TextLivechatEventNames.ChatMessage>;
|
|
3689
|
-
filter: z.ZodOptional<z.ZodString>;
|
|
3690
|
-
}, "strip", z.ZodTypeAny, {
|
|
3691
|
-
name: TextLivechatEventNames.ChatMessage;
|
|
3692
|
-
filter?: string | undefined;
|
|
3693
|
-
}, {
|
|
3694
|
-
name: TextLivechatEventNames.ChatMessage;
|
|
3695
|
-
filter?: string | undefined;
|
|
3696
|
-
}>, z.ZodObject<{
|
|
3697
|
-
name: z.ZodLiteral<TextLivechatEventNames.UserAddedToChat>;
|
|
3698
|
-
userType: z.ZodOptional<z.ZodEnum<["agent", "customer"]>>;
|
|
3699
|
-
}, "strip", z.ZodTypeAny, {
|
|
3700
|
-
name: TextLivechatEventNames.UserAddedToChat;
|
|
3701
|
-
userType?: "agent" | "customer" | undefined;
|
|
3702
|
-
}, {
|
|
3703
|
-
name: TextLivechatEventNames.UserAddedToChat;
|
|
3704
|
-
userType?: "agent" | "customer" | undefined;
|
|
3705
|
-
}>, z.ZodObject<{
|
|
3706
|
-
name: z.ZodLiteral<TextLivechatEventNames.UserRemovedFromChat>;
|
|
3707
|
-
}, "strip", z.ZodTypeAny, {
|
|
3708
|
-
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
3709
|
-
}, {
|
|
3710
|
-
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
3711
|
-
}>]>;
|
|
3870
|
+
name: TextLivechatEventNames;
|
|
3871
|
+
}>;
|
|
3712
3872
|
}, "strip", z.ZodTypeAny, {
|
|
3713
3873
|
event: {
|
|
3714
|
-
name: TextLivechatEventNames
|
|
3715
|
-
targetAgentId?: string | undefined;
|
|
3716
|
-
} | {
|
|
3717
|
-
name: TextLivechatEventNames.ChatEnded;
|
|
3718
|
-
} | {
|
|
3719
|
-
name: TextLivechatEventNames.ChatTransferred;
|
|
3720
|
-
} | {
|
|
3721
|
-
name: TextLivechatEventNames.ChatTagged;
|
|
3722
|
-
exact?: boolean | undefined;
|
|
3723
|
-
tag?: string | undefined;
|
|
3724
|
-
} | {
|
|
3725
|
-
name: TextLivechatEventNames.ChatRated;
|
|
3726
|
-
rating?: "good" | "bad" | "all" | undefined;
|
|
3727
|
-
} | {
|
|
3728
|
-
name: TextLivechatEventNames.ChatCommented;
|
|
3729
|
-
} | {
|
|
3730
|
-
name: TextLivechatEventNames.ChatMessage;
|
|
3731
|
-
filter?: string | undefined;
|
|
3732
|
-
} | {
|
|
3733
|
-
name: TextLivechatEventNames.UserAddedToChat;
|
|
3734
|
-
userType?: "agent" | "customer" | undefined;
|
|
3735
|
-
} | {
|
|
3736
|
-
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
3874
|
+
name: TextLivechatEventNames;
|
|
3737
3875
|
};
|
|
3738
3876
|
}, {
|
|
3739
3877
|
event: {
|
|
3740
|
-
name: TextLivechatEventNames
|
|
3741
|
-
targetAgentId?: string | undefined;
|
|
3742
|
-
} | {
|
|
3743
|
-
name: TextLivechatEventNames.ChatEnded;
|
|
3744
|
-
} | {
|
|
3745
|
-
name: TextLivechatEventNames.ChatTransferred;
|
|
3746
|
-
} | {
|
|
3747
|
-
name: TextLivechatEventNames.ChatTagged;
|
|
3748
|
-
exact?: boolean | undefined;
|
|
3749
|
-
tag?: string | undefined;
|
|
3750
|
-
} | {
|
|
3751
|
-
name: TextLivechatEventNames.ChatRated;
|
|
3752
|
-
rating?: "good" | "bad" | "all" | undefined;
|
|
3753
|
-
} | {
|
|
3754
|
-
name: TextLivechatEventNames.ChatCommented;
|
|
3755
|
-
} | {
|
|
3756
|
-
name: TextLivechatEventNames.ChatMessage;
|
|
3757
|
-
filter?: string | undefined;
|
|
3758
|
-
} | {
|
|
3759
|
-
name: TextLivechatEventNames.UserAddedToChat;
|
|
3760
|
-
userType?: "agent" | "customer" | undefined;
|
|
3761
|
-
} | {
|
|
3762
|
-
name: TextLivechatEventNames.UserRemovedFromChat;
|
|
3878
|
+
name: TextLivechatEventNames;
|
|
3763
3879
|
};
|
|
3764
3880
|
}>>;
|
|
3765
3881
|
readonly unsubscribeContent: z.ZodObject<{
|
|
@@ -4229,90 +4345,20 @@ declare const textHelpDeskEventsZods: {
|
|
|
4229
4345
|
sourceName: "apps" | "workflows";
|
|
4230
4346
|
sourceKey: string;
|
|
4231
4347
|
}>, z.ZodObject<{
|
|
4232
|
-
event: z.
|
|
4233
|
-
name: z.
|
|
4234
|
-
}, "strip", z.ZodTypeAny, {
|
|
4235
|
-
name: TextHelpDeskEventNames.TicketCreated;
|
|
4236
|
-
}, {
|
|
4237
|
-
name: TextHelpDeskEventNames.TicketCreated;
|
|
4238
|
-
}>, z.ZodObject<{
|
|
4239
|
-
name: z.ZodLiteral<TextHelpDeskEventNames.TicketUpdated>;
|
|
4240
|
-
}, "strip", z.ZodTypeAny, {
|
|
4241
|
-
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4242
|
-
}, {
|
|
4243
|
-
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4244
|
-
}>, z.ZodObject<{
|
|
4245
|
-
name: z.ZodLiteral<TextHelpDeskEventNames.TicketStatusChanged>;
|
|
4348
|
+
event: z.ZodObject<{
|
|
4349
|
+
name: z.ZodNativeEnum<typeof TextHelpDeskEventNames>;
|
|
4246
4350
|
}, "strip", z.ZodTypeAny, {
|
|
4247
|
-
name: TextHelpDeskEventNames
|
|
4351
|
+
name: TextHelpDeskEventNames;
|
|
4248
4352
|
}, {
|
|
4249
|
-
name: TextHelpDeskEventNames
|
|
4250
|
-
}
|
|
4251
|
-
name: z.ZodLiteral<TextHelpDeskEventNames.TicketPriorityChanged>;
|
|
4252
|
-
}, "strip", z.ZodTypeAny, {
|
|
4253
|
-
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4254
|
-
}, {
|
|
4255
|
-
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4256
|
-
}>, z.ZodObject<{
|
|
4257
|
-
name: z.ZodLiteral<TextHelpDeskEventNames.TicketTagsChanged>;
|
|
4258
|
-
}, "strip", z.ZodTypeAny, {
|
|
4259
|
-
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4260
|
-
}, {
|
|
4261
|
-
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4262
|
-
}>, z.ZodObject<{
|
|
4263
|
-
name: z.ZodLiteral<TextHelpDeskEventNames.TicketFollowersChanged>;
|
|
4264
|
-
}, "strip", z.ZodTypeAny, {
|
|
4265
|
-
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4266
|
-
}, {
|
|
4267
|
-
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4268
|
-
}>, z.ZodObject<{
|
|
4269
|
-
name: z.ZodLiteral<TextHelpDeskEventNames.TicketAssignmentChanged>;
|
|
4270
|
-
}, "strip", z.ZodTypeAny, {
|
|
4271
|
-
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4272
|
-
}, {
|
|
4273
|
-
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4274
|
-
}>, z.ZodObject<{
|
|
4275
|
-
name: z.ZodLiteral<TextHelpDeskEventNames.TicketMessageAdded>;
|
|
4276
|
-
}, "strip", z.ZodTypeAny, {
|
|
4277
|
-
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4278
|
-
}, {
|
|
4279
|
-
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4280
|
-
}>]>;
|
|
4353
|
+
name: TextHelpDeskEventNames;
|
|
4354
|
+
}>;
|
|
4281
4355
|
}, "strip", z.ZodTypeAny, {
|
|
4282
4356
|
event: {
|
|
4283
|
-
name: TextHelpDeskEventNames
|
|
4284
|
-
} | {
|
|
4285
|
-
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4286
|
-
} | {
|
|
4287
|
-
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4288
|
-
} | {
|
|
4289
|
-
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4290
|
-
} | {
|
|
4291
|
-
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4292
|
-
} | {
|
|
4293
|
-
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4294
|
-
} | {
|
|
4295
|
-
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4296
|
-
} | {
|
|
4297
|
-
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4357
|
+
name: TextHelpDeskEventNames;
|
|
4298
4358
|
};
|
|
4299
4359
|
}, {
|
|
4300
4360
|
event: {
|
|
4301
|
-
name: TextHelpDeskEventNames
|
|
4302
|
-
} | {
|
|
4303
|
-
name: TextHelpDeskEventNames.TicketUpdated;
|
|
4304
|
-
} | {
|
|
4305
|
-
name: TextHelpDeskEventNames.TicketStatusChanged;
|
|
4306
|
-
} | {
|
|
4307
|
-
name: TextHelpDeskEventNames.TicketPriorityChanged;
|
|
4308
|
-
} | {
|
|
4309
|
-
name: TextHelpDeskEventNames.TicketTagsChanged;
|
|
4310
|
-
} | {
|
|
4311
|
-
name: TextHelpDeskEventNames.TicketFollowersChanged;
|
|
4312
|
-
} | {
|
|
4313
|
-
name: TextHelpDeskEventNames.TicketAssignmentChanged;
|
|
4314
|
-
} | {
|
|
4315
|
-
name: TextHelpDeskEventNames.TicketMessageAdded;
|
|
4361
|
+
name: TextHelpDeskEventNames;
|
|
4316
4362
|
};
|
|
4317
4363
|
}>>;
|
|
4318
4364
|
readonly unsubscribeContent: z.ZodObject<{
|
|
@@ -4412,8 +4458,8 @@ type UnsubscribeFromTextHelpDeskEventPayload = z.infer<typeof textHelpDeskEvents
|
|
|
4412
4458
|
|
|
4413
4459
|
declare const integrationEventsZods: {
|
|
4414
4460
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
4415
|
-
providerName: z.ZodEnum<[IntegrationNames.LiveChat, IntegrationNames.HelpDesk, IntegrationNames.Mailchimp, IntegrationNames.Shopify, IntegrationNames.HubSpot, IntegrationNames.BigCommerce]>;
|
|
4416
|
-
readonly event: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4461
|
+
providerName: z.ZodEnum<[IntegrationNames.LiveChat, IntegrationNames.HelpDesk, IntegrationNames.Mailchimp, IntegrationNames.Shopify, IntegrationNames.HubSpot, IntegrationNames.Slack, IntegrationNames.BigCommerce]>;
|
|
4462
|
+
readonly event: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4417
4463
|
name: z.ZodLiteral<TextLivechatEventNames.ChatStarted>;
|
|
4418
4464
|
targetAgentId: z.ZodOptional<z.ZodString>;
|
|
4419
4465
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4605,6 +4651,24 @@ declare const integrationEventsZods: {
|
|
|
4605
4651
|
name: BigCommerceEventNames.ProductUpdated;
|
|
4606
4652
|
}, {
|
|
4607
4653
|
name: BigCommerceEventNames.ProductUpdated;
|
|
4654
|
+
}>]>]>, z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
4655
|
+
name: z.ZodLiteral<SlackEventNames.ChannelNewMessagePosted>;
|
|
4656
|
+
channelId: z.ZodString;
|
|
4657
|
+
}, "strip", z.ZodTypeAny, {
|
|
4658
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
4659
|
+
channelId: string;
|
|
4660
|
+
}, {
|
|
4661
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
4662
|
+
channelId: string;
|
|
4663
|
+
}>, z.ZodObject<{
|
|
4664
|
+
name: z.ZodLiteral<SlackEventNames.MemberNewMention>;
|
|
4665
|
+
userId: z.ZodString;
|
|
4666
|
+
}, "strip", z.ZodTypeAny, {
|
|
4667
|
+
name: SlackEventNames.MemberNewMention;
|
|
4668
|
+
userId: string;
|
|
4669
|
+
}, {
|
|
4670
|
+
name: SlackEventNames.MemberNewMention;
|
|
4671
|
+
userId: string;
|
|
4608
4672
|
}>]>]>;
|
|
4609
4673
|
readonly source: z.ZodObject<{
|
|
4610
4674
|
sourceName: z.ZodEnum<["apps", "workflows"]>;
|
|
@@ -4945,6 +5009,48 @@ declare const integrationEventsZods: {
|
|
|
4945
5009
|
};
|
|
4946
5010
|
callback: string;
|
|
4947
5011
|
provider: IntegrationNames.HubSpot;
|
|
5012
|
+
}>, z.ZodObject<{
|
|
5013
|
+
provider: z.ZodLiteral<IntegrationNames.Slack>;
|
|
5014
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
5015
|
+
name: z.ZodLiteral<SlackEventNames.ChannelNewMessagePosted>;
|
|
5016
|
+
channelId: z.ZodString;
|
|
5017
|
+
}, "strip", z.ZodTypeAny, {
|
|
5018
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
5019
|
+
channelId: string;
|
|
5020
|
+
}, {
|
|
5021
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
5022
|
+
channelId: string;
|
|
5023
|
+
}>, z.ZodObject<{
|
|
5024
|
+
name: z.ZodLiteral<SlackEventNames.MemberNewMention>;
|
|
5025
|
+
userId: z.ZodString;
|
|
5026
|
+
}, "strip", z.ZodTypeAny, {
|
|
5027
|
+
name: SlackEventNames.MemberNewMention;
|
|
5028
|
+
userId: string;
|
|
5029
|
+
}, {
|
|
5030
|
+
name: SlackEventNames.MemberNewMention;
|
|
5031
|
+
userId: string;
|
|
5032
|
+
}>]>;
|
|
5033
|
+
callback: z.ZodString;
|
|
5034
|
+
}, "strip", z.ZodTypeAny, {
|
|
5035
|
+
event: {
|
|
5036
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
5037
|
+
channelId: string;
|
|
5038
|
+
} | {
|
|
5039
|
+
name: SlackEventNames.MemberNewMention;
|
|
5040
|
+
userId: string;
|
|
5041
|
+
};
|
|
5042
|
+
callback: string;
|
|
5043
|
+
provider: IntegrationNames.Slack;
|
|
5044
|
+
}, {
|
|
5045
|
+
event: {
|
|
5046
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
5047
|
+
channelId: string;
|
|
5048
|
+
} | {
|
|
5049
|
+
name: SlackEventNames.MemberNewMention;
|
|
5050
|
+
userId: string;
|
|
5051
|
+
};
|
|
5052
|
+
callback: string;
|
|
5053
|
+
provider: IntegrationNames.Slack;
|
|
4948
5054
|
}>, z.ZodObject<{
|
|
4949
5055
|
provider: z.ZodLiteral<IntegrationNames.BigCommerce>;
|
|
4950
5056
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
@@ -5332,6 +5438,45 @@ declare const integrationEventsZods: {
|
|
|
5332
5438
|
name: HubspotEventNames.ContactDeleted;
|
|
5333
5439
|
};
|
|
5334
5440
|
provider: IntegrationNames.HubSpot;
|
|
5441
|
+
}>, z.ZodObject<{
|
|
5442
|
+
provider: z.ZodLiteral<IntegrationNames.Slack>;
|
|
5443
|
+
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
5444
|
+
name: z.ZodLiteral<SlackEventNames.ChannelNewMessagePosted>;
|
|
5445
|
+
channelId: z.ZodString;
|
|
5446
|
+
}, "strip", z.ZodTypeAny, {
|
|
5447
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
5448
|
+
channelId: string;
|
|
5449
|
+
}, {
|
|
5450
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
5451
|
+
channelId: string;
|
|
5452
|
+
}>, z.ZodObject<{
|
|
5453
|
+
name: z.ZodLiteral<SlackEventNames.MemberNewMention>;
|
|
5454
|
+
userId: z.ZodString;
|
|
5455
|
+
}, "strip", z.ZodTypeAny, {
|
|
5456
|
+
name: SlackEventNames.MemberNewMention;
|
|
5457
|
+
userId: string;
|
|
5458
|
+
}, {
|
|
5459
|
+
name: SlackEventNames.MemberNewMention;
|
|
5460
|
+
userId: string;
|
|
5461
|
+
}>]>;
|
|
5462
|
+
}, "strip", z.ZodTypeAny, {
|
|
5463
|
+
event: {
|
|
5464
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
5465
|
+
channelId: string;
|
|
5466
|
+
} | {
|
|
5467
|
+
name: SlackEventNames.MemberNewMention;
|
|
5468
|
+
userId: string;
|
|
5469
|
+
};
|
|
5470
|
+
provider: IntegrationNames.Slack;
|
|
5471
|
+
}, {
|
|
5472
|
+
event: {
|
|
5473
|
+
name: SlackEventNames.ChannelNewMessagePosted;
|
|
5474
|
+
channelId: string;
|
|
5475
|
+
} | {
|
|
5476
|
+
name: SlackEventNames.MemberNewMention;
|
|
5477
|
+
userId: string;
|
|
5478
|
+
};
|
|
5479
|
+
provider: IntegrationNames.Slack;
|
|
5335
5480
|
}>, z.ZodObject<{
|
|
5336
5481
|
provider: z.ZodLiteral<IntegrationNames.BigCommerce>;
|
|
5337
5482
|
event: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
|
|
@@ -5513,21 +5658,6 @@ type VercelFlows = 'authorize' | 'install';
|
|
|
5513
5658
|
type VercelFlowContext<TAction extends VercelFlows> = TAction extends 'authorize' ? VercelAuthorizeFlowCustomContext : TAction extends 'install' ? VercelInstallFlowCustomContext : never;
|
|
5514
5659
|
type VercelFlowResult<TAction extends VercelFlows> = TAction extends 'authorize' ? VercelAuthorizeFlowResult : TAction extends 'install' ? VercelInstallFlowResult : never;
|
|
5515
5660
|
|
|
5516
|
-
interface SlackAuthorizeActionResult {
|
|
5517
|
-
token: string;
|
|
5518
|
-
}
|
|
5519
|
-
interface SlackAuthorizeFlowCustomContext {
|
|
5520
|
-
credentialId?: string;
|
|
5521
|
-
}
|
|
5522
|
-
type SlackAuthorizeFlowContext = SlackAuthorizeFlowCustomContext & IntegrationFlowContext;
|
|
5523
|
-
interface SlackAuthorizeFlowResult {
|
|
5524
|
-
token: string;
|
|
5525
|
-
}
|
|
5526
|
-
|
|
5527
|
-
type SlackFlows = 'authorize';
|
|
5528
|
-
type SlackFlowContext<TAction extends SlackFlows> = TAction extends 'authorize' ? SlackAuthorizeFlowCustomContext : never;
|
|
5529
|
-
type SlackFlowResult<TAction extends SlackFlows> = TAction extends 'authorize' ? SlackAuthorizeFlowResult : never;
|
|
5530
|
-
|
|
5531
5661
|
interface AdapterClientAuthorization {
|
|
5532
5662
|
platform?: GlobalAccountsClientAuthorization;
|
|
5533
5663
|
github?: GithubClientAuthorization;
|
|
@@ -6974,6 +7104,12 @@ declare const api: {
|
|
|
6974
7104
|
unsubscribe(payload: UnsubscribeFromHubspotEventPayload, authorization?: HubspotClientAuthorization): Promise<void>;
|
|
6975
7105
|
};
|
|
6976
7106
|
};
|
|
7107
|
+
slack: {
|
|
7108
|
+
events: {
|
|
7109
|
+
subscribe(payload: SubscribeToSlackEventPayload, authorization?: SlackClientAuthorization): Promise<void>;
|
|
7110
|
+
unsubscribe(payload: UnsubscribeFromSlackEventPayload, authorization?: SlackClientAuthorization): Promise<void>;
|
|
7111
|
+
};
|
|
7112
|
+
};
|
|
6977
7113
|
bigcommerce: {
|
|
6978
7114
|
events: {
|
|
6979
7115
|
subscribe(payload: SubscribeToBigCommerceEventPayload, authorization?: BigCommerceClientAuthorization): Promise<void>;
|
|
@@ -7677,15 +7813,7 @@ declare const api: {
|
|
|
7677
7813
|
getToken(code: string, clientId: string, clientSecret: string, redirectUri: string): Promise<{
|
|
7678
7814
|
token: string;
|
|
7679
7815
|
}>;
|
|
7680
|
-
|
|
7681
|
-
token: string;
|
|
7682
|
-
token_type: string;
|
|
7683
|
-
user_id: string;
|
|
7684
|
-
user: string;
|
|
7685
|
-
app_id: string;
|
|
7686
|
-
hub_id: string;
|
|
7687
|
-
hub_domain: string;
|
|
7688
|
-
}>;
|
|
7816
|
+
getUserTokenInfo(token: string): Promise<SlackClientUserTokenInfo>;
|
|
7689
7817
|
};
|
|
7690
7818
|
};
|
|
7691
7819
|
isInitialized: boolean;
|
|
@@ -7773,4 +7901,4 @@ declare function getIntegrationFlowUrl<TFlowContext, TFlowResult, TState>(name:
|
|
|
7773
7901
|
|
|
7774
7902
|
declare const buildUrlFromSegments: (segments: string[], basePath: string, baseUrl?: string) => string;
|
|
7775
7903
|
|
|
7776
|
-
export { API_NOTIFICATIONS, type AccountDto, AccountsApiError, type AccountsClientAuthorization, type AccountsClientInstanceOptions, AdapterApiError, type AdapterClientAuthorization, type AdapterClientOptions, type AddAppAuthorizationPayload, type AddAppAuthorizationResult, type AgentConfigurationDto, type AgentDto, ApiClient, type ApiClientAuthorization, type ApiClientConfig, type ApiError, ApiErrorBase, type ApiErrorKind, type ApiErrorName, type ApiErrorSource, type AppAuthorizationData, type AppBaseData, type AppBaseTemplate, type AppDeployment, type AppDeploymentBlock, type AppDeploymentBlockConfig, type AppDeploymentData, type AppDeploymentProvider, type AppDisplayData, type AppEventDto, type AppGitHubRepository, type AppGitHubRepositoryConfig, type AppInfrastructureBlocks, type AppManifest, type AppMonetizationData, type AppMonitoringCustomReport, type AppMonitoringCustomReportDataDto, type AppMonitoringEvent, type AppMonitoringEventData, type AppMonitoringEventsLog, type AppMonitoringEventsLogItem, type AppMonitoringEventsReportDto, type AppMonitoringReportParams, type AppMonitoringUptimeReportDto, type AppNeonStorage, type AppNeonStorageConfig, type AppNetlifyDeployment, type AppNetlifyDeploymentConfig, type AppPlanetScaleStorage, type AppPlanetScaleStorageConfig, type AppPropertiesData, type AppPropertyData, type AppRepository, type AppRepositoryBlock, type AppRepositoryBlockConfig, type AppRepositoryData, type AppRepositoryProvider, type AppRepositoryTarget, type AppRepositoryTemplate, type AppRepositoryTemplates, type AppResourceDto, type AppStatsDto, type AppStorage, type AppStorageBlock, type AppStorageBlockConfig, type AppStorageData, type AppStorageProvider, type AppTemplate, type AppTemplates, type AppVariable, type AppVariableExternalProvider, type AppVariableLocalProvider, type AppVariableProvider, type AppVariableStatus, type AppVariableType, type AppVercelDeployment, type AppVercelDeploymentConfig, type AppWidgetData, type AppWidgetsData, type ApplicationAutoReviewDto, type ApplicationAutoReviewPayload, type ApplicationBasicDetailsDto, type ApplicationBenefitDto, type ApplicationChatBooster, type ApplicationDto, type ApplicationFeatureDto, type ApplicationIconDto, type ApplicationOverviewDto, type ApplicationPaymentDto, type ApplicationPropertyDto, type ApplicationScreenshotDto, type ApplicationTutorialAndSupportDto, type ApplicationUsageOptionsDto, type ApplicationWidget, type AuthorizeData, BigCommerceApiError, type BigCommerceAuthorizeActionContext, type BigCommerceAuthorizeActionResult, type BigCommerceAuthorizeFlowContext, type BigCommerceAuthorizeFlowCustomContext, type BigCommerceAuthorizeFlowResult, type BigCommerceCartCreatedWebhookData, type BigCommerceCartUpdatedWebhookData, type BigCommerceClientAuthorization, type BigCommerceClientOptions, type BigCommerceCreateWebhookPayload, type BigCommerceEvent, BigCommerceEventNames, type BigCommerceFlowContext, type BigCommerceFlowResult, type BigCommerceFlows, type BigCommerceOauthCredential, type BigCommerceOrderCreatedWebhookData, type BigCommerceOrderUpdatedWebhookData, type BigCommerceProductCreatedWebhookData, type BigCommerceProductUpdatedWebhookData, type BigCommerceWebhook, type BigCommerceWebhookConcreteData, type BigCommerceWebhookData, type BigCommerceWebhookDataBase, BigCommerceWebhookScopes, type BillingAccountDto, type BillingAccountInfoDto, type BillingClientAuthorization, type BillingClientOptions, type BillingInvoiceDto, type BillingProduct, type Category, type ChatDeactivatedLivechatWebhookData, type ChatTransferredLivechatWebhookData, type ClientDto, type ClientInfoDto, type ClientScopeDto, type ClientWithSecretDto, type CreateAppVariablePayload, type CreateApplicationAuthorizationPayload, type CreateApplicationChatActionPayload, type CreateApplicationPayload, type CreateApplicationResponse, type CreateApplicationSubmissionPayload, type CreateClientPayload, type CreateCredentialPayload, type CreateHubSpotWebhookSubscriptionPayload, type CreateLivechatBotTemplateDto, type CreateLivechatBotTemplateResponse, type CreateWebhookPayload, type Credential, type CredentialDto, type DeepPartial, type DeleteLivechatBotTemplateDto, type DeveloperLedgerParams, DpsApiError, type DpsClientAuthorization, type DpsClientOptions, type EditAppVariablePayload, type FunctionDto, type FunctionSchema, type GenerateResponsePayload, type GenerateResponseResponse, type GetAppMonitoringCustomReportDataPayload, type GetAppMonitoringEventsLogPayload, type GetAppMonitoringEventsLogResponse, type GetAppMonitoringEventsReportPayload, type GetAppMonitoringUptimeReportPayload, type GetPlanetScaleDatabasePasswordsResult, type GetPlanetScaleDatabasesResult, type GetPlanetScaleOrganizationsResult, type GetTextPlatformDashboardReportParams, type GetVercelProjectsResult, type GitHubAppCredential, type GitHubAuthorizeAppActionResult, type GitHubAuthorizeFlowContext, type GitHubAuthorizeFlowCustomContext, type GitHubAuthorizeFlowResult, type GitHubAuthorizeOauthActionResult, type GitHubFlowContext, type GitHubFlowResult, type GitHubFlows, type GitHubInstallActionContext, type GitHubInstallActionResult, type GitHubInstallFlowContext, type GitHubInstallFlowCustomContext, type GitHubInstallFlowResult, type GitHubInstallation, type GitHubOauthCredential, type GitHubRepository, type GitHubRepositoryBranch, type GitHubRepositoryHook, type GitHubRepositoryIssue, type GitHubRepositoryKey, type GitHubRepositorySeed, type GithubClientAuthorization, type GithubClientOptions, type GlobalAccountsClientAuthorization, HelpDeskApiError, type HelpDeskClientAuthorization, type HelpDeskClientOptions, type HelpDeskWebhookBaseData, type HelpDeskWebhookData, HelpDeskWebhookEventType, type HubSpotContactCreationWebhookData, type HubSpotContactDeletionWebhookData, type HubSpotFlowContext, type HubSpotFlowResult, type HubSpotFlows, type HubSpotOauthCredential, type HubSpotWebhookConcreteData, type HubSpotWebhookData, type HubSpotWebhookDataBase, HubSpotWebhookEventTypes, type HubSpotWebhookSettings, type HubSpotWebhookSubscription, HubspotApiError, type HubspotAuthorizeActionResult, type HubspotAuthorizeFlowContext, type HubspotAuthorizeFlowCustomContext, type HubspotAuthorizeFlowResult, type HubspotClientAuthorization, type HubspotClientInstanceOptions, type HubspotEvent, HubspotEventNames, type IncomingChatLivechatWebhookData, type IncomingEventLivechatWebhookData, IntegrationDisplayNames, type IntegrationEvent, type IntegrationEventProviderName, type IntegrationEventSource, type IntegrationEventSourceName, type IntegrationFlowContext, type IntegrationFlowOutput, IntegrationModes, IntegrationNames, type IssueLabel, type LicenseProperty, type LinkAppDeploymentData, type LinkAppDeploymentNetlifyData, type LinkAppDeploymentNetlifySiteData, type LinkAppDeploymentPayload, type LinkAppDeploymentResult, type LinkAppDeploymentVercelData, type LinkAppDeploymentVercelProjectData, type LinkAppRepositoryData, type LinkAppRepositoryGitHubData, type LinkAppRepositoryPayload, type LinkAppRepositoryResult, type LinkAppStorageData, type LinkAppStorageNeonData, type LinkAppStoragePayload, type LinkAppStoragePlanetScaleData, type LinkAppStoragePlanetScaleDatabaseData, type LiveChatClientAuthorization, type LiveChatClientOptions, type LiveChatConfigurationApiError, LivechatApiError, type LivechatBotTemplate, type LivechatWebhook, LivechatWebhookActions, type LivechatWebhookChat, type LivechatWebhookData, type LivechatWebhookDataBase, type LivechatWebhookDto, type LivechatWebhookEvent, LivechatWebhookEvents, type LivechatWebhookMessageEvent, type LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, type LivechatWebhookUser, MailchimpApiError, type MailchimpAuthorizeActionResult, type MailchimpAuthorizeFlowContext, type MailchimpAuthorizeFlowCustomContext, type MailchimpAuthorizeFlowResult, type MailchimpClientAuthorization, type MailchimpClientInstanceOptions, type MailchimpEvent, MailchimpEventNames, type MailchimpFlowContext, type MailchimpFlowResult, type MailchimpFlows, type MailchimpListWebhook, type MailchimpOauthCredential, type MailchimpSubscribeWebhookData, type MailchimpUnsubscribeWebhookData, type MailchimpWebhookConcreteData, type MailchimpWebhookData, type MailchimpWebhookDataBase, type MailchimpWebhookEvents, type MyAccountDto, type NeonClientAuthorization, type NeonClientOptions, type NeonOauthCredential, type NeonProjectBranchDto, type NeonProjectBranchesDto, type NeonProjectDatabaseDto, type NeonProjectDatabasesDto, type NeonProjectDto, type NeonProjectRoleDto, type NeonProjectRolesDto, type NeonProjectWithConnectionUriDto, type NeonProjectsDto, type NeonUser, type NetlifyAccount, type NetlifyAuthorizeActionResult, type NetlifyAuthorizeFlowContext, type NetlifyAuthorizeFlowCustomContext, type NetlifyAuthorizeFlowResult, type NetlifyClientAuthorization, type NetlifyClientOptions, type NetlifyDeploy, type NetlifyDeployKey, type NetlifyEnv, type NetlifyFlowContext, type NetlifyFlowResult, type NetlifyFlows, type NetlifyInstallActionContext, type NetlifyInstallActionResult, type NetlifyInstallFlowContext, type NetlifyInstallFlowCustomContext, type NetlifyInstallFlowResult, type NetlifyOauthCredential, type NetlifySite, type OAuthCredential, type OpenaiCredential, type OrganizationDto, type PatDto, type PatScopeDto, type PatWithSecretDto, type PlanetScaleClientAuthorization, type PlanetScaleClientOptions, type PlanetScaleDatabase, type PlanetScaleDatabasePassword, type PlanetScaleOauthCredential, type PlanetScaleOrganization, type PlanetScalePaginatedResult, type PlanetScalePagination, type PlanetScaleUser, type ProductDto, type PropertiesDto, type Property, type PropertyAccessDto, type PropertyAccessItemDto, type PropertyDto, type PushAppPayload, type PushAppResult, type PushAppSaga, type PushAppSagaAuthorizationStep, type PushAppSagaBaseStep, type PushAppSagaDeploymentStep, type PushAppSagaDisplayStep, type PushAppSagaMonetizationStep, type PushAppSagaPropertiesStep, type PushAppSagaRepositoryStep, type PushAppSagaStorageStep, type PushAppSagaWidgetsStep, type RegisterDeveloperPayload, type RemoveAppAuthorizationPayload, type RemoveAppMonetizationPayload, type RemoveAppPropertiesPayload, type RemoveAppPropertyPayload, type RemoveAppWidgetPayload, type RemoveAppWidgetsPayload, type ResearchCustomerItemDto, type ResearchCustomerLocationItemDto, type ResearchDictionaryParams, type ResearchMarketplaceItemDto, type ResearchMarketplaceParams, type ResearchTrafficItemDto, type ResearchTrafficParams, type ResetLivechatBotTemplateSecretDto, type ResourceConfig, type ResourceReference, type Saga, type SagaInput, type SagaOutput, type SagaStep, type SagaStepChanges, type SagaStepComparer, type SagaStepPropertyCompareResult, type SagaStepStatus, type SagaStepsSchema, type ScopeDto, type SeedAppRepositoryPayload, type SeedAppRepositoryResult, ShopifyApiError, type ShopifyAuthorizeActionContext, type ShopifyAuthorizeActionResult, type ShopifyAuthorizeFlowContext, type ShopifyAuthorizeFlowCustomContext, type ShopifyAuthorizeFlowResult, type ShopifyClientAuthorization, type ShopifyClientOptions, type ShopifyEvent, ShopifyEventNames, type ShopifyFlowContext, type ShopifyFlowResult, type ShopifyFlows, type ShopifyOauthCredential, type ShopifyOrderCreatedWebhookData, type ShopifyWebhookConcreteData, type ShopifyWebhookData, type ShopifyWebhookDataBase, type ShopifyWebhookTopics, type ShortcutDto, SlackApiError, type SlackAuthorizeActionResult, type SlackAuthorizeFlowContext, type SlackAuthorizeFlowCustomContext, type SlackAuthorizeFlowResult, type SlackClientAuthorization, type SlackClientInstanceOptions, type SlackFlowContext, type SlackFlowResult, type SlackFlows, type SlackOauthCredential, type SubscribeToBigCommerceEventPayload, type SubscribeToHubspotEventPayload, type SubscribeToIntegrationEventPayload, type SubscribeToMailchimpEventPayload, type SubscribeToShopifyEventPayload, type SubscribeToTextHelpDeskEventPayload, type SubscribeToTextLivechatEventPayload, type SyncAppVariablePayload, TextApiError, type TextAuthCredential, type TextAuthorizeActionResult, type TextAuthorizeFlowContext, type TextAuthorizeFlowCustomContext, type TextAuthorizeFlowResult, type TextClientAuthorization, type TextClientOptions, type TextFlowContext, type TextFlowResult, type TextFlows, type TextHelpDeskEvent, TextHelpDeskEventNames, type TextLiveChatEvent, TextLivechatEventNames, type TextOAuthCredential, type TextPlatformDashboardCreditsDto, type TextPlatformDashboardPaymentDto, type TextPlatformDashboardReportDto, type TextPlatformDashboardReportItemDto, type ThreadTaggedLivechatWebhookData, type ThreadUntaggedLivechatWebhookData, type TicketAssignmentChangedHelpDeskWebhookData, type TicketCreatedHelpDeskWebhookData, type TicketFollowersChangedHelpDeskWebhookData, type TicketMessageAddedHelpDeskWebhookData, type TicketPriorityChangedHelpDeskWebhookData, type TicketStatusChangedHelpDeskWebhookData, type TicketTagsChangedHelpDeskWebhookData, type TicketUpdatedHelpDeskWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, type UnlinkAppDeploymentData, type UnlinkAppDeploymentPayload, type UnlinkAppRepositoryData, type UnlinkAppRepositoryPayload, type UnlinkAppStorageData, type UnlinkAppStoragePayload, type UnsubscribeFromBigCommerceEventPayload, type UnsubscribeFromHubspotEventPayload, type UnsubscribeFromIntegrationEventPayload, type UnsubscribeFromMailchimpEventPayload, type UnsubscribeFromShopifyEventPayload, type UnsubscribeFromTextHelpDeskEventPayload, type UnsubscribeFromTextLivechatEventPayload, type UpdateAppAuthorizationPayload, type UpdateAppInfrastructureBlocksPayload, type UpdateApplicationChangelogPayload, type UpdateApplicationChatActionPayload, type UpdateApplicationDirectInstallUrlPayload, type UpdateApplicationIconPayload, type UpdateApplicationOnboardingPayload, type UpdateApplicationProductPayload, type UpdateApplicationWebhookPayload, type UpdateApplicationWidgetDto, type UpdateChatWebhookPayload, type UpdateClientPayload, type UpdateCredentialPayload, type UpdateLivechatBotTemplateDto, type UpdateUserFeatures, type UpdateUserIntegrations, type UpdateWebhookPayload, type UpsertAppDeploymentPayload, type UpsertAppMonetizationPayload, type UpsertAppPropertiesPayload, type UpsertAppPropertyPayload, type UpsertAppRepositoryPayload, type UpsertAppResourcePayload, type UpsertAppStoragePayload, type UpsertAppWidgetPayload, type UpsertAppWidgetsPayload, type UpsertApplicationChatBoosterPayload, type UpsertHubSpotWebhookSettingsPayload, type UpsertWorkflowPayload, type UserAddedToChatLivechatWebhookData, type UserDto, type UserFeaturesDto, type UserGitHubIntegrationDto, type UserIntegrationsDto, type UserNeonIntegrationDto, type UserNetlifyIntegrationDto, type UserPlanetScaleIntegrationDto, type UserRemovedFromChatWebhookData, type UserSurveyDto, type UserVercelIntegrationDto, type VercelAuthorizeActionResult, type VercelAuthorizeFlowContext, type VercelAuthorizeFlowCustomContext, type VercelAuthorizeFlowResult, type VercelClientAuthorization, type VercelClientOptions, type VercelConnectActionContext, type VercelConnectActionResult, type VercelDeploy, type VercelFlowContext, type VercelFlowResult, type VercelFlows, type VercelInstallActionContext, type VercelInstallActionResult, type VercelInstallFlowContext, type VercelInstallFlowCustomContext, type VercelInstallFlowResult, type VercelNamespace, type VercelOauthCredential, type VercelPaginatedResult, type VercelPagination, type VercelProject, type VercelProjectEnv, type VercelRepository, type VercelSearchRepositoryResponse, type VerifyAppPayload, type VerifyAppResult, type WebhookDto, type WebhookTicketDto, type WorkflowDefinitionDto, type WorkflowDefinitionForkJoinTask, type WorkflowDefinitionHttpTask, type WorkflowDefinitionJoinTask, type WorkflowDefinitionSwitchTask, type WorkflowDefinitionTask, type WorkflowDefinitionTaskBase, type WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, type WorkflowDefinitionTerminateTask, type WorkflowDefinitionsQueryParams, type WorkflowDto, type WorkflowExecution, type WorkflowExecutionDetails, WorkflowExecutionStatus, type WorkflowTemplate, WorkflowTemplateCategory, type WorkflowTriggerDto, type WorkflowTriggerType, type WorkflowsDto, adapterClientInstance, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, billingClientInstance, buildUrlFromSegments, dpsClientInstance, getAdapterClientConfig, getAdapterClientDefaultConfig, getAppAutoReviewPayload, getBigCommerceClientConfig, getBigCommerceClientUrl, getBillingClientConfig, getDpsClientConfig, getEmptyAppAutoReview, getGithubClientConfig, getHelpDeskClientConfig, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlForRedirection, getLiveChatClientConfig, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientConfig, getNetlifyClientConfig, getPlanetScaleClientConfig, getRegion, getShopifyClientConfig, getShopifyClientUrl, getSlackClientConfig, getTextClientConfig, getVercelClientConfig, githubClientInstance, helpdeskClientInstance, hubspotClientInstance, hubspotEventsZods, initAdapterClient, initApi, initBigCommerceClient, initBillingClient, initDpsClient, initGithubClient, initHelpDeskClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initShopifyClient, initSlackClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, shopifyClientInstance, shopifyEventsZods, slackClientInstance, textClientInstance, textHelpDeskEventsZods, textLivechatEventsZods, updateAdapterClient, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updateShopifyClient, updateSlackClient, updateVercelClient, vercelClientInstance };
|
|
7904
|
+
export { API_NOTIFICATIONS, type AccountDto, AccountsApiError, type AccountsClientAuthorization, type AccountsClientInstanceOptions, AdapterApiError, type AdapterClientAuthorization, type AdapterClientOptions, type AddAppAuthorizationPayload, type AddAppAuthorizationResult, type AgentConfigurationDto, type AgentDto, ApiClient, type ApiClientAuthorization, type ApiClientConfig, type ApiError, ApiErrorBase, type ApiErrorKind, type ApiErrorName, type ApiErrorSource, type AppAuthorizationData, type AppBaseData, type AppBaseTemplate, type AppDeployment, type AppDeploymentBlock, type AppDeploymentBlockConfig, type AppDeploymentData, type AppDeploymentProvider, type AppDisplayData, type AppEventDto, type AppGitHubRepository, type AppGitHubRepositoryConfig, type AppInfrastructureBlocks, type AppManifest, type AppMonetizationData, type AppMonitoringCustomReport, type AppMonitoringCustomReportDataDto, type AppMonitoringEvent, type AppMonitoringEventData, type AppMonitoringEventsLog, type AppMonitoringEventsLogItem, type AppMonitoringEventsReportDto, type AppMonitoringReportParams, type AppMonitoringUptimeReportDto, type AppNeonStorage, type AppNeonStorageConfig, type AppNetlifyDeployment, type AppNetlifyDeploymentConfig, type AppPlanetScaleStorage, type AppPlanetScaleStorageConfig, type AppPropertiesData, type AppPropertyData, type AppRepository, type AppRepositoryBlock, type AppRepositoryBlockConfig, type AppRepositoryData, type AppRepositoryProvider, type AppRepositoryTarget, type AppRepositoryTemplate, type AppRepositoryTemplates, type AppResourceDto, type AppStatsDto, type AppStorage, type AppStorageBlock, type AppStorageBlockConfig, type AppStorageData, type AppStorageProvider, type AppTemplate, type AppTemplates, type AppVariable, type AppVariableExternalProvider, type AppVariableLocalProvider, type AppVariableProvider, type AppVariableStatus, type AppVariableType, type AppVercelDeployment, type AppVercelDeploymentConfig, type AppWidgetData, type AppWidgetsData, type ApplicationAutoReviewDto, type ApplicationAutoReviewPayload, type ApplicationBasicDetailsDto, type ApplicationBenefitDto, type ApplicationChatBooster, type ApplicationDto, type ApplicationFeatureDto, type ApplicationIconDto, type ApplicationOverviewDto, type ApplicationPaymentDto, type ApplicationPropertyDto, type ApplicationScreenshotDto, type ApplicationTutorialAndSupportDto, type ApplicationUsageOptionsDto, type ApplicationWidget, type AuthorizeData, BigCommerceApiError, type BigCommerceAuthorizeActionContext, type BigCommerceAuthorizeActionResult, type BigCommerceAuthorizeFlowContext, type BigCommerceAuthorizeFlowCustomContext, type BigCommerceAuthorizeFlowResult, type BigCommerceCartCreatedWebhookData, type BigCommerceCartUpdatedWebhookData, type BigCommerceClientAuthorization, type BigCommerceClientOptions, type BigCommerceCreateWebhookPayload, type BigCommerceEvent, BigCommerceEventNames, type BigCommerceFlowContext, type BigCommerceFlowResult, type BigCommerceFlows, type BigCommerceOauthCredential, type BigCommerceOrderCreatedWebhookData, type BigCommerceOrderUpdatedWebhookData, type BigCommerceProductCreatedWebhookData, type BigCommerceProductUpdatedWebhookData, type BigCommerceWebhook, type BigCommerceWebhookConcreteData, type BigCommerceWebhookData, type BigCommerceWebhookDataBase, BigCommerceWebhookScopes, type BillingAccountDto, type BillingAccountInfoDto, type BillingClientAuthorization, type BillingClientOptions, type BillingInvoiceDto, type BillingProduct, type Category, type ChatDeactivatedLivechatWebhookData, type ChatTransferredLivechatWebhookData, type ClientDto, type ClientInfoDto, type ClientScopeDto, type ClientWithSecretDto, type CreateAppVariablePayload, type CreateApplicationAuthorizationPayload, type CreateApplicationChatActionPayload, type CreateApplicationPayload, type CreateApplicationResponse, type CreateApplicationSubmissionPayload, type CreateClientPayload, type CreateCredentialPayload, type CreateHubSpotWebhookSubscriptionPayload, type CreateLivechatBotTemplateDto, type CreateLivechatBotTemplateResponse, type CreateWebhookPayload, type Credential, type CredentialDto, type DeepPartial, type DeleteLivechatBotTemplateDto, type DeveloperLedgerParams, DpsApiError, type DpsClientAuthorization, type DpsClientOptions, type EditAppVariablePayload, type FunctionDto, type FunctionSchema, type GenerateResponsePayload, type GenerateResponseResponse, type GetAppMonitoringCustomReportDataPayload, type GetAppMonitoringEventsLogPayload, type GetAppMonitoringEventsLogResponse, type GetAppMonitoringEventsReportPayload, type GetAppMonitoringUptimeReportPayload, type GetPlanetScaleDatabasePasswordsResult, type GetPlanetScaleDatabasesResult, type GetPlanetScaleOrganizationsResult, type GetTextPlatformDashboardReportParams, type GetVercelProjectsResult, type GitHubAppCredential, type GitHubAuthorizeAppActionResult, type GitHubAuthorizeFlowContext, type GitHubAuthorizeFlowCustomContext, type GitHubAuthorizeFlowResult, type GitHubAuthorizeOauthActionResult, type GitHubFlowContext, type GitHubFlowResult, type GitHubFlows, type GitHubInstallActionContext, type GitHubInstallActionResult, type GitHubInstallFlowContext, type GitHubInstallFlowCustomContext, type GitHubInstallFlowResult, type GitHubInstallation, type GitHubOauthCredential, type GitHubRepository, type GitHubRepositoryBranch, type GitHubRepositoryHook, type GitHubRepositoryIssue, type GitHubRepositoryKey, type GitHubRepositorySeed, type GithubClientAuthorization, type GithubClientOptions, type GlobalAccountsClientAuthorization, HelpDeskApiError, type HelpDeskClientAuthorization, type HelpDeskClientOptions, type HelpDeskWebhookBaseData, type HelpDeskWebhookData, HelpDeskWebhookEventType, type HubSpotContactCreationWebhookData, type HubSpotContactDeletionWebhookData, type HubSpotFlowContext, type HubSpotFlowResult, type HubSpotFlows, type HubSpotOauthCredential, type HubSpotWebhookConcreteData, type HubSpotWebhookData, type HubSpotWebhookDataBase, HubSpotWebhookEventTypes, type HubSpotWebhookSettings, type HubSpotWebhookSubscription, HubspotApiError, type HubspotAuthorizeActionResult, type HubspotAuthorizeFlowContext, type HubspotAuthorizeFlowCustomContext, type HubspotAuthorizeFlowResult, type HubspotClientAuthorization, type HubspotClientInstanceOptions, type HubspotEvent, HubspotEventNames, type IncomingChatLivechatWebhookData, type IncomingEventLivechatWebhookData, IntegrationDisplayNames, type IntegrationEvent, type IntegrationEventProviderName, type IntegrationEventSource, type IntegrationEventSourceName, type IntegrationFlowContext, type IntegrationFlowOutput, IntegrationModes, IntegrationNames, type IssueLabel, type LicenseProperty, type LinkAppDeploymentData, type LinkAppDeploymentNetlifyData, type LinkAppDeploymentNetlifySiteData, type LinkAppDeploymentPayload, type LinkAppDeploymentResult, type LinkAppDeploymentVercelData, type LinkAppDeploymentVercelProjectData, type LinkAppRepositoryData, type LinkAppRepositoryGitHubData, type LinkAppRepositoryPayload, type LinkAppRepositoryResult, type LinkAppStorageData, type LinkAppStorageNeonData, type LinkAppStoragePayload, type LinkAppStoragePlanetScaleData, type LinkAppStoragePlanetScaleDatabaseData, type LiveChatClientAuthorization, type LiveChatClientOptions, type LiveChatConfigurationApiError, LivechatApiError, type LivechatBotTemplate, type LivechatWebhook, LivechatWebhookActions, type LivechatWebhookChat, type LivechatWebhookData, type LivechatWebhookDataBase, type LivechatWebhookDto, type LivechatWebhookEvent, LivechatWebhookEvents, type LivechatWebhookMessageEvent, type LivechatWebhookSystemMessageEvent, LivechatWebhookSystemMessages, type LivechatWebhookUser, MailchimpApiError, type MailchimpAuthorizeActionResult, type MailchimpAuthorizeFlowContext, type MailchimpAuthorizeFlowCustomContext, type MailchimpAuthorizeFlowResult, type MailchimpClientAuthorization, type MailchimpClientInstanceOptions, type MailchimpEvent, MailchimpEventNames, type MailchimpFlowContext, type MailchimpFlowResult, type MailchimpFlows, type MailchimpListWebhook, type MailchimpOauthCredential, type MailchimpSubscribeWebhookData, type MailchimpUnsubscribeWebhookData, type MailchimpWebhookConcreteData, type MailchimpWebhookData, type MailchimpWebhookDataBase, type MailchimpWebhookEvents, type MyAccountDto, type NeonClientAuthorization, type NeonClientOptions, type NeonOauthCredential, type NeonProjectBranchDto, type NeonProjectBranchesDto, type NeonProjectDatabaseDto, type NeonProjectDatabasesDto, type NeonProjectDto, type NeonProjectRoleDto, type NeonProjectRolesDto, type NeonProjectWithConnectionUriDto, type NeonProjectsDto, type NeonUser, type NetlifyAccount, type NetlifyAuthorizeActionResult, type NetlifyAuthorizeFlowContext, type NetlifyAuthorizeFlowCustomContext, type NetlifyAuthorizeFlowResult, type NetlifyClientAuthorization, type NetlifyClientOptions, type NetlifyDeploy, type NetlifyDeployKey, type NetlifyEnv, type NetlifyFlowContext, type NetlifyFlowResult, type NetlifyFlows, type NetlifyInstallActionContext, type NetlifyInstallActionResult, type NetlifyInstallFlowContext, type NetlifyInstallFlowCustomContext, type NetlifyInstallFlowResult, type NetlifyOauthCredential, type NetlifySite, type OAuthCredential, type OpenaiCredential, type OrganizationDto, type PatDto, type PatScopeDto, type PatWithSecretDto, type PlanetScaleClientAuthorization, type PlanetScaleClientOptions, type PlanetScaleDatabase, type PlanetScaleDatabasePassword, type PlanetScaleOauthCredential, type PlanetScaleOrganization, type PlanetScalePaginatedResult, type PlanetScalePagination, type PlanetScaleUser, type ProductDto, type PropertiesDto, type Property, type PropertyAccessDto, type PropertyAccessItemDto, type PropertyDto, type PushAppPayload, type PushAppResult, type PushAppSaga, type PushAppSagaAuthorizationStep, type PushAppSagaBaseStep, type PushAppSagaDeploymentStep, type PushAppSagaDisplayStep, type PushAppSagaMonetizationStep, type PushAppSagaPropertiesStep, type PushAppSagaRepositoryStep, type PushAppSagaStorageStep, type PushAppSagaWidgetsStep, type RegisterDeveloperPayload, type RemoveAppAuthorizationPayload, type RemoveAppMonetizationPayload, type RemoveAppPropertiesPayload, type RemoveAppPropertyPayload, type RemoveAppWidgetPayload, type RemoveAppWidgetsPayload, type ResearchCustomerItemDto, type ResearchCustomerLocationItemDto, type ResearchDictionaryParams, type ResearchMarketplaceItemDto, type ResearchMarketplaceParams, type ResearchTrafficItemDto, type ResearchTrafficParams, type ResetLivechatBotTemplateSecretDto, type ResourceConfig, type ResourceReference, type Saga, type SagaInput, type SagaOutput, type SagaStep, type SagaStepChanges, type SagaStepComparer, type SagaStepPropertyCompareResult, type SagaStepStatus, type SagaStepsSchema, type ScopeDto, type SeedAppRepositoryPayload, type SeedAppRepositoryResult, ShopifyApiError, type ShopifyAuthorizeActionContext, type ShopifyAuthorizeActionResult, type ShopifyAuthorizeFlowContext, type ShopifyAuthorizeFlowCustomContext, type ShopifyAuthorizeFlowResult, type ShopifyClientAuthorization, type ShopifyClientOptions, type ShopifyEvent, ShopifyEventNames, type ShopifyFlowContext, type ShopifyFlowResult, type ShopifyFlows, type ShopifyOauthCredential, type ShopifyOrderCreatedWebhookData, type ShopifyWebhookConcreteData, type ShopifyWebhookData, type ShopifyWebhookDataBase, type ShopifyWebhookTopics, type ShortcutDto, SlackApiError, type SlackAuthorizeActionResult, type SlackAuthorizeFlowContext, type SlackAuthorizeFlowCustomContext, type SlackAuthorizeFlowResult, type SlackChannelType, type SlackClientAuthorization, type SlackClientInstanceOptions, type SlackClientUserTokenInfo, type SlackEvent, type SlackEventAuthorizationsData, type SlackEventBaseData, type SlackEventBasePayload, type SlackEventMessagePostedData, type SlackEventMessagePostedPayload, SlackEventNames, type SlackEventPayloadData, SlackEventTypes, type SlackFlowContext, type SlackFlowResult, type SlackFlows, type SlackOauthCredential, type SubscribeToBigCommerceEventPayload, type SubscribeToHubspotEventPayload, type SubscribeToIntegrationEventPayload, type SubscribeToMailchimpEventPayload, type SubscribeToShopifyEventPayload, type SubscribeToSlackEventPayload, type SubscribeToTextHelpDeskEventPayload, type SubscribeToTextLivechatEventPayload, type SyncAppVariablePayload, TextApiError, type TextAuthCredential, type TextAuthorizeActionResult, type TextAuthorizeFlowContext, type TextAuthorizeFlowCustomContext, type TextAuthorizeFlowResult, type TextClientAuthorization, type TextClientOptions, type TextFlowContext, type TextFlowResult, type TextFlows, type TextHelpDeskEvent, TextHelpDeskEventNames, type TextLiveChatEvent, TextLivechatEventNames, type TextOAuthCredential, type TextPlatformDashboardCreditsDto, type TextPlatformDashboardPaymentDto, type TextPlatformDashboardReportDto, type TextPlatformDashboardReportItemDto, type ThreadTaggedLivechatWebhookData, type ThreadUntaggedLivechatWebhookData, type TicketAssignmentChangedHelpDeskWebhookData, type TicketCreatedHelpDeskWebhookData, type TicketFollowersChangedHelpDeskWebhookData, type TicketMessageAddedHelpDeskWebhookData, type TicketPriorityChangedHelpDeskWebhookData, type TicketStatusChangedHelpDeskWebhookData, type TicketTagsChangedHelpDeskWebhookData, type TicketUpdatedHelpDeskWebhookData, UnauthorizeAccountsApiError, UnauthorizeApiError, type UnlinkAppDeploymentData, type UnlinkAppDeploymentPayload, type UnlinkAppRepositoryData, type UnlinkAppRepositoryPayload, type UnlinkAppStorageData, type UnlinkAppStoragePayload, type UnsubscribeFromBigCommerceEventPayload, type UnsubscribeFromHubspotEventPayload, type UnsubscribeFromIntegrationEventPayload, type UnsubscribeFromMailchimpEventPayload, type UnsubscribeFromShopifyEventPayload, type UnsubscribeFromSlackEventPayload, type UnsubscribeFromTextHelpDeskEventPayload, type UnsubscribeFromTextLivechatEventPayload, type UpdateAppAuthorizationPayload, type UpdateAppInfrastructureBlocksPayload, type UpdateApplicationChangelogPayload, type UpdateApplicationChatActionPayload, type UpdateApplicationDirectInstallUrlPayload, type UpdateApplicationIconPayload, type UpdateApplicationOnboardingPayload, type UpdateApplicationProductPayload, type UpdateApplicationWebhookPayload, type UpdateApplicationWidgetDto, type UpdateChatWebhookPayload, type UpdateClientPayload, type UpdateCredentialPayload, type UpdateLivechatBotTemplateDto, type UpdateUserFeatures, type UpdateUserIntegrations, type UpdateWebhookPayload, type UpsertAppDeploymentPayload, type UpsertAppMonetizationPayload, type UpsertAppPropertiesPayload, type UpsertAppPropertyPayload, type UpsertAppRepositoryPayload, type UpsertAppResourcePayload, type UpsertAppStoragePayload, type UpsertAppWidgetPayload, type UpsertAppWidgetsPayload, type UpsertApplicationChatBoosterPayload, type UpsertHubSpotWebhookSettingsPayload, type UpsertWorkflowPayload, type UserAddedToChatLivechatWebhookData, type UserDto, type UserFeaturesDto, type UserGitHubIntegrationDto, type UserIntegrationsDto, type UserNeonIntegrationDto, type UserNetlifyIntegrationDto, type UserPlanetScaleIntegrationDto, type UserRemovedFromChatWebhookData, type UserSurveyDto, type UserVercelIntegrationDto, type VercelAuthorizeActionResult, type VercelAuthorizeFlowContext, type VercelAuthorizeFlowCustomContext, type VercelAuthorizeFlowResult, type VercelClientAuthorization, type VercelClientOptions, type VercelConnectActionContext, type VercelConnectActionResult, type VercelDeploy, type VercelFlowContext, type VercelFlowResult, type VercelFlows, type VercelInstallActionContext, type VercelInstallActionResult, type VercelInstallFlowContext, type VercelInstallFlowCustomContext, type VercelInstallFlowResult, type VercelNamespace, type VercelOauthCredential, type VercelPaginatedResult, type VercelPagination, type VercelProject, type VercelProjectEnv, type VercelRepository, type VercelSearchRepositoryResponse, type VerifyAppPayload, type VerifyAppResult, type WebhookDto, type WebhookTicketDto, type WorkflowDefinitionDto, type WorkflowDefinitionForkJoinTask, type WorkflowDefinitionHttpTask, type WorkflowDefinitionJoinTask, type WorkflowDefinitionSwitchTask, type WorkflowDefinitionTask, type WorkflowDefinitionTaskBase, type WorkflowDefinitionTaskCore, WorkflowDefinitionTaskType, type WorkflowDefinitionTerminateTask, type WorkflowDefinitionsQueryParams, type WorkflowDto, type WorkflowExecution, type WorkflowExecutionDetails, WorkflowExecutionStatus, type WorkflowTemplate, WorkflowTemplateCategory, type WorkflowTriggerDto, type WorkflowTriggerType, type WorkflowsDto, adapterClientInstance, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, bigCommerceClientInstance, bigcommerceEventsZods, billingClientInstance, buildUrlFromSegments, dpsClientInstance, getAdapterClientConfig, getAdapterClientDefaultConfig, getAppAutoReviewPayload, getBigCommerceClientConfig, getBigCommerceClientUrl, getBillingClientConfig, getDpsClientConfig, getEmptyAppAutoReview, getGithubClientConfig, getHelpDeskClientConfig, getHubspotClientConfig, getIntegrationFlowUrl, getIntegrationFlowUrlForRedirection, getLiveChatClientConfig, getMailchimpClientConfig, getMailchimpClientUrl, getNeonClientConfig, getNetlifyClientConfig, getPlanetScaleClientConfig, getRegion, getShopifyClientConfig, getShopifyClientUrl, getSlackClientConfig, getTextClientConfig, getVercelClientConfig, githubClientInstance, helpdeskClientInstance, hubspotClientInstance, hubspotEventsZods, initAdapterClient, initApi, initBigCommerceClient, initBillingClient, initDpsClient, initGithubClient, initHelpDeskClient, initHubspotClient, initLiveChatClient, initMailchimpClient, initNeonClient, initNetlifyClient, initPlanetScaleClient, initPlatformAccountsClient, initShopifyClient, initSlackClient, initTextClient, initVercelClient, integrationEventsZods, livechatClientInstance, mailchimpClientInstance, mailchimpEventsZods, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, shopifyClientInstance, shopifyEventsZods, slackClientInstance, slackEventsZods, textClientInstance, textHelpDeskEventsZods, textLivechatEventsZods, updateAdapterClient, updateBigCommerceClient, updateGithubClient, updateHubspotClient, updateMailchimpClient, updateNeonClient, updateNetlifyClient, updatePlanetScaleClient, updateShopifyClient, updateSlackClient, updateVercelClient, vercelClientInstance };
|