@livechat/developer-studio-api 3.4.5 → 3.4.7
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 +1034 -243
- package/dist/index.d.ts +1034 -243
- package/dist/index.js +323 -132
- package/dist/index.mjs +316 -132
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -76,6 +76,8 @@ __export(src_exports, {
|
|
|
76
76
|
BigCommerceEventNames: () => BigCommerceEventNames,
|
|
77
77
|
BigCommerceWebhookScopes: () => BigCommerceWebhookScopes,
|
|
78
78
|
DpsApiError: () => DpsApiError,
|
|
79
|
+
HelpDeskApiError: () => HelpDeskApiError,
|
|
80
|
+
HelpDeskWebhookEventType: () => HelpDeskWebhookEventType,
|
|
79
81
|
HubSpotWebhookEventTypes: () => HubSpotWebhookEventTypes,
|
|
80
82
|
HubspotApiError: () => HubspotApiError,
|
|
81
83
|
HubspotEventNames: () => HubspotEventNames,
|
|
@@ -91,6 +93,7 @@ __export(src_exports, {
|
|
|
91
93
|
ShopifyApiError: () => ShopifyApiError,
|
|
92
94
|
ShopifyEventNames: () => ShopifyEventNames,
|
|
93
95
|
TextApiError: () => TextApiError,
|
|
96
|
+
TextHelpDeskEventNames: () => TextHelpDeskEventNames,
|
|
94
97
|
TextLivechatEventNames: () => TextLivechatEventNames,
|
|
95
98
|
UnauthorizeAccountsApiError: () => UnauthorizeAccountsApiError,
|
|
96
99
|
UnauthorizeApiError: () => UnauthorizeApiError,
|
|
@@ -117,6 +120,7 @@ __export(src_exports, {
|
|
|
117
120
|
getDpsClientConfig: () => getDpsClientConfig,
|
|
118
121
|
getEmptyAppAutoReview: () => getEmptyAppAutoReview,
|
|
119
122
|
getGithubClientConfig: () => getGithubClientConfig,
|
|
123
|
+
getHelpDeskClientConfig: () => getHelpDeskClientConfig,
|
|
120
124
|
getHubspotClientConfig: () => getHubspotClientConfig,
|
|
121
125
|
getIntegrationFlowUrl: () => getIntegrationFlowUrl,
|
|
122
126
|
getIntegrationFlowUrlOld: () => getIntegrationFlowUrlOld,
|
|
@@ -132,6 +136,7 @@ __export(src_exports, {
|
|
|
132
136
|
getTextClientConfig: () => getTextClientConfig,
|
|
133
137
|
getVercelClientConfig: () => getVercelClientConfig,
|
|
134
138
|
githubClientInstance: () => githubClientInstance,
|
|
139
|
+
helpdeskClientInstance: () => helpdeskClientInstance,
|
|
135
140
|
hubspotClientInstance: () => hubspotClientInstance,
|
|
136
141
|
hubspotEventsZods: () => hubspotEventsZods,
|
|
137
142
|
initAdapterClient: () => initAdapterClient,
|
|
@@ -140,6 +145,7 @@ __export(src_exports, {
|
|
|
140
145
|
initBillingClient: () => initBillingClient,
|
|
141
146
|
initDpsClient: () => initDpsClient,
|
|
142
147
|
initGithubClient: () => initGithubClient,
|
|
148
|
+
initHelpDeskClient: () => initHelpDeskClient,
|
|
143
149
|
initHubspotClient: () => initHubspotClient,
|
|
144
150
|
initLiveChatClient: () => initLiveChatClient,
|
|
145
151
|
initMailchimpClient: () => initMailchimpClient,
|
|
@@ -162,6 +168,7 @@ __export(src_exports, {
|
|
|
162
168
|
shopifyClientInstance: () => shopifyClientInstance,
|
|
163
169
|
shopifyEventsZods: () => shopifyEventsZods,
|
|
164
170
|
textClientInstance: () => textClientInstance,
|
|
171
|
+
textHelpDeskEventsZods: () => textHelpDeskEventsZods,
|
|
165
172
|
textLivechatEventsZods: () => textLivechatEventsZods,
|
|
166
173
|
updateAdapterClient: () => updateAdapterClient,
|
|
167
174
|
updateBigCommerceClient: () => updateBigCommerceClient,
|
|
@@ -2136,7 +2143,14 @@ function initBillingClient(baseUrl, token) {
|
|
|
2136
2143
|
}
|
|
2137
2144
|
}
|
|
2138
2145
|
|
|
2139
|
-
// src/apis/platform/adapter/integrations/_contracts/dtos/
|
|
2146
|
+
// src/apis/platform/adapter/integrations/_contracts/dtos/flows.ts
|
|
2147
|
+
var IntegrationModes = /* @__PURE__ */ ((IntegrationModes2) => {
|
|
2148
|
+
IntegrationModes2["Redirect"] = "redirect";
|
|
2149
|
+
IntegrationModes2["Modal"] = "modal";
|
|
2150
|
+
return IntegrationModes2;
|
|
2151
|
+
})(IntegrationModes || {});
|
|
2152
|
+
|
|
2153
|
+
// src/apis/platform/adapter/integrations/_contracts/dtos/names.ts
|
|
2140
2154
|
var IntegrationNames = /* @__PURE__ */ ((IntegrationNames2) => {
|
|
2141
2155
|
IntegrationNames2["Accounts"] = "accounts";
|
|
2142
2156
|
IntegrationNames2["GitHub"] = "github";
|
|
@@ -2148,8 +2162,10 @@ var IntegrationNames = /* @__PURE__ */ ((IntegrationNames2) => {
|
|
|
2148
2162
|
IntegrationNames2["Shopify"] = "shopify";
|
|
2149
2163
|
IntegrationNames2["HubSpot"] = "hubspot";
|
|
2150
2164
|
IntegrationNames2["BigCommerce"] = "bigcommerce";
|
|
2151
|
-
IntegrationNames2["Text"] = "text";
|
|
2152
2165
|
IntegrationNames2["OpenAI"] = "openai";
|
|
2166
|
+
IntegrationNames2["Text"] = "text";
|
|
2167
|
+
IntegrationNames2["LiveChat"] = "text-livechat";
|
|
2168
|
+
IntegrationNames2["HelpDesk"] = "text-helpdesk";
|
|
2153
2169
|
return IntegrationNames2;
|
|
2154
2170
|
})(IntegrationNames || {});
|
|
2155
2171
|
var IntegrationDisplayNames = /* @__PURE__ */ ((IntegrationDisplayNames2) => {
|
|
@@ -2163,29 +2179,24 @@ var IntegrationDisplayNames = /* @__PURE__ */ ((IntegrationDisplayNames2) => {
|
|
|
2163
2179
|
IntegrationDisplayNames2["Shopify"] = "Shopify";
|
|
2164
2180
|
IntegrationDisplayNames2["HubSpot"] = "Hubspot";
|
|
2165
2181
|
IntegrationDisplayNames2["BigCommerce"] = "BigCommerce";
|
|
2166
|
-
IntegrationDisplayNames2["Text"] = "Text";
|
|
2167
2182
|
IntegrationDisplayNames2["OpenAI"] = "OpenAI";
|
|
2183
|
+
IntegrationDisplayNames2["Text"] = "Text";
|
|
2184
|
+
IntegrationDisplayNames2["LiveChat"] = "LiveChat";
|
|
2185
|
+
IntegrationDisplayNames2["HelpDesk"] = "HelpDesk";
|
|
2168
2186
|
return IntegrationDisplayNames2;
|
|
2169
2187
|
})(IntegrationDisplayNames || {});
|
|
2170
|
-
var IntegrationModes = /* @__PURE__ */ ((IntegrationModes2) => {
|
|
2171
|
-
IntegrationModes2["Redirect"] = "redirect";
|
|
2172
|
-
IntegrationModes2["Modal"] = "modal";
|
|
2173
|
-
return IntegrationModes2;
|
|
2174
|
-
})(IntegrationModes || {});
|
|
2175
2188
|
|
|
2176
2189
|
// src/apis/platform/adapter/integrations/_contracts/requests/events.ts
|
|
2177
|
-
var
|
|
2190
|
+
var import_zod7 = require("zod");
|
|
2178
2191
|
|
|
2179
|
-
// src/apis/platform/adapter/integrations/shopify/_contracts/
|
|
2192
|
+
// src/apis/platform/adapter/integrations/shopify/_contracts/requests/events.ts
|
|
2193
|
+
var import_zod = require("zod");
|
|
2180
2194
|
var ShopifyEventNames = /* @__PURE__ */ ((ShopifyEventNames2) => {
|
|
2181
2195
|
ShopifyEventNames2["OrderCreated"] = "order_created";
|
|
2182
2196
|
return ShopifyEventNames2;
|
|
2183
2197
|
})(ShopifyEventNames || {});
|
|
2184
|
-
|
|
2185
|
-
// src/apis/platform/adapter/integrations/shopify/_contracts/requests/events.ts
|
|
2186
|
-
var import_zod = require("zod");
|
|
2187
2198
|
var shopifyEventsZods = {
|
|
2188
|
-
provider: import_zod.z.literal("shopify"),
|
|
2199
|
+
provider: import_zod.z.literal("shopify" /* Shopify */),
|
|
2189
2200
|
eventName: import_zod.z.nativeEnum(ShopifyEventNames),
|
|
2190
2201
|
events: {
|
|
2191
2202
|
orderCreated: import_zod.z.object({
|
|
@@ -2233,17 +2244,13 @@ var shopifyEventsZods = {
|
|
|
2233
2244
|
|
|
2234
2245
|
// src/apis/platform/adapter/integrations/mailchimp/_contracts/requests/events.ts
|
|
2235
2246
|
var import_zod2 = require("zod");
|
|
2236
|
-
|
|
2237
|
-
// src/apis/platform/adapter/integrations/mailchimp/_contracts/dtos/events.ts
|
|
2238
2247
|
var MailchimpEventNames = /* @__PURE__ */ ((MailchimpEventNames2) => {
|
|
2239
2248
|
MailchimpEventNames2["Subscribed"] = "subscribed";
|
|
2240
2249
|
MailchimpEventNames2["Unsubscribed"] = "unsubscribed";
|
|
2241
2250
|
return MailchimpEventNames2;
|
|
2242
2251
|
})(MailchimpEventNames || {});
|
|
2243
|
-
|
|
2244
|
-
// src/apis/platform/adapter/integrations/mailchimp/_contracts/requests/events.ts
|
|
2245
2252
|
var mailchimpEventsZods = {
|
|
2246
|
-
provider: import_zod2.z.literal("mailchimp"),
|
|
2253
|
+
provider: import_zod2.z.literal("mailchimp" /* Mailchimp */),
|
|
2247
2254
|
eventName: import_zod2.z.nativeEnum(MailchimpEventNames),
|
|
2248
2255
|
events: {
|
|
2249
2256
|
subscribed: import_zod2.z.object({
|
|
@@ -2297,7 +2304,8 @@ var mailchimpEventsZods = {
|
|
|
2297
2304
|
}
|
|
2298
2305
|
};
|
|
2299
2306
|
|
|
2300
|
-
// src/apis/platform/adapter/integrations/text/_contracts/
|
|
2307
|
+
// src/apis/platform/adapter/integrations/text/_contracts/requests/events/livechat.ts
|
|
2308
|
+
var import_zod3 = require("zod");
|
|
2301
2309
|
var TextLivechatEventNames = /* @__PURE__ */ ((TextLivechatEventNames2) => {
|
|
2302
2310
|
TextLivechatEventNames2["ChatStarted"] = "chat_started";
|
|
2303
2311
|
TextLivechatEventNames2["ChatEnded"] = "chat_ended";
|
|
@@ -2310,11 +2318,8 @@ var TextLivechatEventNames = /* @__PURE__ */ ((TextLivechatEventNames2) => {
|
|
|
2310
2318
|
TextLivechatEventNames2["UserRemovedFromChat"] = "user_removed_from_chat";
|
|
2311
2319
|
return TextLivechatEventNames2;
|
|
2312
2320
|
})(TextLivechatEventNames || {});
|
|
2313
|
-
|
|
2314
|
-
// src/apis/platform/adapter/integrations/text/_contracts/requests/events.ts
|
|
2315
|
-
var import_zod3 = require("zod");
|
|
2316
2321
|
var textLivechatEventsZods = {
|
|
2317
|
-
provider: import_zod3.z.literal("text-livechat"),
|
|
2322
|
+
provider: import_zod3.z.literal("text-livechat" /* LiveChat */),
|
|
2318
2323
|
eventName: import_zod3.z.nativeEnum(TextLivechatEventNames),
|
|
2319
2324
|
events: {
|
|
2320
2325
|
chatStarted: import_zod3.z.object({
|
|
@@ -2399,32 +2404,58 @@ var textLivechatEventsZods = {
|
|
|
2399
2404
|
}
|
|
2400
2405
|
};
|
|
2401
2406
|
|
|
2402
|
-
// src/apis/platform/adapter/integrations/
|
|
2407
|
+
// src/apis/platform/adapter/integrations/text/_contracts/requests/events/helpdesk.ts
|
|
2403
2408
|
var import_zod4 = require("zod");
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2409
|
+
var TextHelpDeskEventNames = /* @__PURE__ */ ((TextHelpDeskEventNames2) => {
|
|
2410
|
+
TextHelpDeskEventNames2["TicketCreated"] = "ticket_created";
|
|
2411
|
+
TextHelpDeskEventNames2["TicketUpdated"] = "ticket_updated";
|
|
2412
|
+
TextHelpDeskEventNames2["TicketStatusChanged"] = "ticket_status_changed";
|
|
2413
|
+
TextHelpDeskEventNames2["TicketPriorityChanged"] = "ticket_priority_changed";
|
|
2414
|
+
TextHelpDeskEventNames2["TicketTagsChanged"] = "ticket_tags_added";
|
|
2415
|
+
TextHelpDeskEventNames2["TicketFollowersChanged"] = "ticket_followers_added";
|
|
2416
|
+
TextHelpDeskEventNames2["TicketAssignmentChanged"] = "ticket_assignment_added";
|
|
2417
|
+
TextHelpDeskEventNames2["TicketMessageAdded"] = "ticket_message_added";
|
|
2418
|
+
return TextHelpDeskEventNames2;
|
|
2419
|
+
})(TextHelpDeskEventNames || {});
|
|
2420
|
+
var textHelpDeskEventsZods = {
|
|
2421
|
+
provider: import_zod4.z.literal("text-helpdesk" /* HelpDesk */),
|
|
2422
|
+
eventName: import_zod4.z.nativeEnum(TextHelpDeskEventNames),
|
|
2416
2423
|
events: {
|
|
2417
|
-
|
|
2418
|
-
name: import_zod4.z.literal("
|
|
2424
|
+
ticketCreated: import_zod4.z.object({
|
|
2425
|
+
name: import_zod4.z.literal("ticket_created" /* TicketCreated */)
|
|
2426
|
+
}),
|
|
2427
|
+
ticketUpdated: import_zod4.z.object({
|
|
2428
|
+
name: import_zod4.z.literal("ticket_updated" /* TicketUpdated */)
|
|
2429
|
+
}),
|
|
2430
|
+
ticketStatusChanged: import_zod4.z.object({
|
|
2431
|
+
name: import_zod4.z.literal("ticket_status_changed" /* TicketStatusChanged */)
|
|
2432
|
+
}),
|
|
2433
|
+
ticketPriorityChanged: import_zod4.z.object({
|
|
2434
|
+
name: import_zod4.z.literal("ticket_priority_changed" /* TicketPriorityChanged */)
|
|
2435
|
+
}),
|
|
2436
|
+
ticketTagsChanged: import_zod4.z.object({
|
|
2437
|
+
name: import_zod4.z.literal("ticket_tags_added" /* TicketTagsChanged */)
|
|
2438
|
+
}),
|
|
2439
|
+
ticketFollowersChanged: import_zod4.z.object({
|
|
2440
|
+
name: import_zod4.z.literal("ticket_followers_added" /* TicketFollowersChanged */)
|
|
2441
|
+
}),
|
|
2442
|
+
ticketAssignmentChanged: import_zod4.z.object({
|
|
2443
|
+
name: import_zod4.z.literal("ticket_assignment_added" /* TicketAssignmentChanged */)
|
|
2419
2444
|
}),
|
|
2420
|
-
|
|
2421
|
-
name: import_zod4.z.literal("
|
|
2445
|
+
ticketMessageAdded: import_zod4.z.object({
|
|
2446
|
+
name: import_zod4.z.literal("ticket_message_added" /* TicketMessageAdded */)
|
|
2422
2447
|
})
|
|
2423
2448
|
},
|
|
2424
2449
|
get event() {
|
|
2425
2450
|
return import_zod4.z.discriminatedUnion("name", [
|
|
2426
|
-
this.events.
|
|
2427
|
-
this.events.
|
|
2451
|
+
this.events.ticketCreated,
|
|
2452
|
+
this.events.ticketUpdated,
|
|
2453
|
+
this.events.ticketStatusChanged,
|
|
2454
|
+
this.events.ticketPriorityChanged,
|
|
2455
|
+
this.events.ticketTagsChanged,
|
|
2456
|
+
this.events.ticketFollowersChanged,
|
|
2457
|
+
this.events.ticketAssignmentChanged,
|
|
2458
|
+
this.events.ticketMessageAdded
|
|
2428
2459
|
]);
|
|
2429
2460
|
},
|
|
2430
2461
|
get source() {
|
|
@@ -2463,10 +2494,68 @@ var hubspotEventsZods = {
|
|
|
2463
2494
|
}
|
|
2464
2495
|
};
|
|
2465
2496
|
|
|
2466
|
-
// src/apis/platform/adapter/integrations/
|
|
2497
|
+
// src/apis/platform/adapter/integrations/hubspot/_contracts/requests/events.ts
|
|
2467
2498
|
var import_zod5 = require("zod");
|
|
2499
|
+
var HubspotEventNames = /* @__PURE__ */ ((HubspotEventNames2) => {
|
|
2500
|
+
HubspotEventNames2["ContactCreated"] = "contact_created";
|
|
2501
|
+
HubspotEventNames2["ContactDeleted"] = "contact_deleted";
|
|
2502
|
+
return HubspotEventNames2;
|
|
2503
|
+
})(HubspotEventNames || {});
|
|
2504
|
+
var hubspotEventsZods = {
|
|
2505
|
+
provider: import_zod5.z.literal("hubspot" /* HubSpot */),
|
|
2506
|
+
eventName: import_zod5.z.nativeEnum(HubspotEventNames),
|
|
2507
|
+
events: {
|
|
2508
|
+
contactCreated: import_zod5.z.object({
|
|
2509
|
+
name: import_zod5.z.literal("contact_created" /* ContactCreated */)
|
|
2510
|
+
}),
|
|
2511
|
+
contactDeleted: import_zod5.z.object({
|
|
2512
|
+
name: import_zod5.z.literal("contact_deleted" /* ContactDeleted */)
|
|
2513
|
+
})
|
|
2514
|
+
},
|
|
2515
|
+
get event() {
|
|
2516
|
+
return import_zod5.z.discriminatedUnion("name", [
|
|
2517
|
+
this.events.contactCreated,
|
|
2518
|
+
this.events.contactDeleted
|
|
2519
|
+
]);
|
|
2520
|
+
},
|
|
2521
|
+
get source() {
|
|
2522
|
+
return import_zod5.z.object({
|
|
2523
|
+
sourceName: import_zod5.z.enum(["apps", "workflows"]),
|
|
2524
|
+
sourceKey: import_zod5.z.string()
|
|
2525
|
+
});
|
|
2526
|
+
},
|
|
2527
|
+
get subscribe() {
|
|
2528
|
+
return this.source.and(
|
|
2529
|
+
import_zod5.z.object({
|
|
2530
|
+
event: this.event,
|
|
2531
|
+
callback: import_zod5.z.string()
|
|
2532
|
+
})
|
|
2533
|
+
);
|
|
2534
|
+
},
|
|
2535
|
+
get subscribeContent() {
|
|
2536
|
+
return import_zod5.z.object({
|
|
2537
|
+
provider: this.provider,
|
|
2538
|
+
event: this.event,
|
|
2539
|
+
callback: import_zod5.z.string()
|
|
2540
|
+
});
|
|
2541
|
+
},
|
|
2542
|
+
get unsubscribe() {
|
|
2543
|
+
return this.source.and(
|
|
2544
|
+
import_zod5.z.object({
|
|
2545
|
+
event: this.event
|
|
2546
|
+
})
|
|
2547
|
+
);
|
|
2548
|
+
},
|
|
2549
|
+
get unsubscribeContent() {
|
|
2550
|
+
return import_zod5.z.object({
|
|
2551
|
+
provider: this.provider,
|
|
2552
|
+
event: this.event
|
|
2553
|
+
});
|
|
2554
|
+
}
|
|
2555
|
+
};
|
|
2468
2556
|
|
|
2469
|
-
// src/apis/platform/adapter/integrations/bigcommerce/_contracts/
|
|
2557
|
+
// src/apis/platform/adapter/integrations/bigcommerce/_contracts/requests/events.ts
|
|
2558
|
+
var import_zod6 = require("zod");
|
|
2470
2559
|
var BigCommerceEventNames = /* @__PURE__ */ ((BigCommerceEventNames2) => {
|
|
2471
2560
|
BigCommerceEventNames2["CartCreated"] = "cart_created";
|
|
2472
2561
|
BigCommerceEventNames2["CartUpdated"] = "cart_updated";
|
|
@@ -2476,33 +2565,31 @@ var BigCommerceEventNames = /* @__PURE__ */ ((BigCommerceEventNames2) => {
|
|
|
2476
2565
|
BigCommerceEventNames2["ProductUpdated"] = "product_updated";
|
|
2477
2566
|
return BigCommerceEventNames2;
|
|
2478
2567
|
})(BigCommerceEventNames || {});
|
|
2479
|
-
|
|
2480
|
-
// src/apis/platform/adapter/integrations/bigcommerce/_contracts/requests/events.ts
|
|
2481
2568
|
var bigcommerceEventsZods = {
|
|
2482
|
-
provider:
|
|
2483
|
-
eventName:
|
|
2569
|
+
provider: import_zod6.z.literal("bigcommerce" /* BigCommerce */),
|
|
2570
|
+
eventName: import_zod6.z.nativeEnum(BigCommerceEventNames),
|
|
2484
2571
|
events: {
|
|
2485
|
-
cartCreated:
|
|
2486
|
-
name:
|
|
2572
|
+
cartCreated: import_zod6.z.object({
|
|
2573
|
+
name: import_zod6.z.literal("cart_created" /* CartCreated */)
|
|
2487
2574
|
}),
|
|
2488
|
-
cartUpdated:
|
|
2489
|
-
name:
|
|
2575
|
+
cartUpdated: import_zod6.z.object({
|
|
2576
|
+
name: import_zod6.z.literal("cart_updated" /* CartUpdated */)
|
|
2490
2577
|
}),
|
|
2491
|
-
orderCreated:
|
|
2492
|
-
name:
|
|
2578
|
+
orderCreated: import_zod6.z.object({
|
|
2579
|
+
name: import_zod6.z.literal("order_created" /* OrderCreated */)
|
|
2493
2580
|
}),
|
|
2494
|
-
orderUpdated:
|
|
2495
|
-
name:
|
|
2581
|
+
orderUpdated: import_zod6.z.object({
|
|
2582
|
+
name: import_zod6.z.literal("order_updated" /* OrderUpdated */)
|
|
2496
2583
|
}),
|
|
2497
|
-
productCreated:
|
|
2498
|
-
name:
|
|
2584
|
+
productCreated: import_zod6.z.object({
|
|
2585
|
+
name: import_zod6.z.literal("product_created" /* ProductCreated */)
|
|
2499
2586
|
}),
|
|
2500
|
-
productUpdated:
|
|
2501
|
-
name:
|
|
2587
|
+
productUpdated: import_zod6.z.object({
|
|
2588
|
+
name: import_zod6.z.literal("product_updated" /* ProductUpdated */)
|
|
2502
2589
|
})
|
|
2503
2590
|
},
|
|
2504
2591
|
get event() {
|
|
2505
|
-
return
|
|
2592
|
+
return import_zod6.z.discriminatedUnion("name", [
|
|
2506
2593
|
this.events.cartCreated,
|
|
2507
2594
|
this.events.cartUpdated,
|
|
2508
2595
|
this.events.orderCreated,
|
|
@@ -2512,35 +2599,35 @@ var bigcommerceEventsZods = {
|
|
|
2512
2599
|
]);
|
|
2513
2600
|
},
|
|
2514
2601
|
get source() {
|
|
2515
|
-
return
|
|
2516
|
-
sourceName:
|
|
2517
|
-
sourceKey:
|
|
2602
|
+
return import_zod6.z.object({
|
|
2603
|
+
sourceName: import_zod6.z.enum(["apps", "workflows"]),
|
|
2604
|
+
sourceKey: import_zod6.z.string()
|
|
2518
2605
|
});
|
|
2519
2606
|
},
|
|
2520
2607
|
get subscribe() {
|
|
2521
2608
|
return this.source.and(
|
|
2522
|
-
|
|
2609
|
+
import_zod6.z.object({
|
|
2523
2610
|
event: this.event,
|
|
2524
|
-
callback:
|
|
2611
|
+
callback: import_zod6.z.string()
|
|
2525
2612
|
})
|
|
2526
2613
|
);
|
|
2527
2614
|
},
|
|
2528
2615
|
get subscribeContent() {
|
|
2529
|
-
return
|
|
2616
|
+
return import_zod6.z.object({
|
|
2530
2617
|
provider: this.provider,
|
|
2531
2618
|
event: this.event,
|
|
2532
|
-
callback:
|
|
2619
|
+
callback: import_zod6.z.string()
|
|
2533
2620
|
});
|
|
2534
2621
|
},
|
|
2535
2622
|
get unsubscribe() {
|
|
2536
2623
|
return this.source.and(
|
|
2537
|
-
|
|
2624
|
+
import_zod6.z.object({
|
|
2538
2625
|
event: this.event
|
|
2539
2626
|
})
|
|
2540
2627
|
);
|
|
2541
2628
|
},
|
|
2542
2629
|
get unsubscribeContent() {
|
|
2543
|
-
return
|
|
2630
|
+
return import_zod6.z.object({
|
|
2544
2631
|
provider: this.provider,
|
|
2545
2632
|
event: this.event
|
|
2546
2633
|
});
|
|
@@ -2549,27 +2636,29 @@ var bigcommerceEventsZods = {
|
|
|
2549
2636
|
|
|
2550
2637
|
// src/apis/platform/adapter/integrations/_contracts/requests/events.ts
|
|
2551
2638
|
var integrationEventsZods = {
|
|
2552
|
-
sourceName:
|
|
2553
|
-
providerName:
|
|
2554
|
-
"text-livechat"
|
|
2555
|
-
"
|
|
2556
|
-
"
|
|
2557
|
-
"
|
|
2558
|
-
"
|
|
2639
|
+
sourceName: import_zod7.z.enum(["apps", "workflows"]),
|
|
2640
|
+
providerName: import_zod7.z.enum([
|
|
2641
|
+
"text-livechat" /* LiveChat */,
|
|
2642
|
+
"text-helpdesk" /* HelpDesk */,
|
|
2643
|
+
"mailchimp" /* Mailchimp */,
|
|
2644
|
+
"shopify" /* Shopify */,
|
|
2645
|
+
"hubspot" /* HubSpot */,
|
|
2646
|
+
"bigcommerce" /* BigCommerce */
|
|
2559
2647
|
]),
|
|
2560
2648
|
get event() {
|
|
2561
|
-
return textLivechatEventsZods.event.or(shopifyEventsZods.event).or(mailchimpEventsZods.event).or(hubspotEventsZods.event).or(bigcommerceEventsZods.event);
|
|
2649
|
+
return textLivechatEventsZods.event.or(textHelpDeskEventsZods.event).or(shopifyEventsZods.event).or(mailchimpEventsZods.event).or(hubspotEventsZods.event).or(bigcommerceEventsZods.event);
|
|
2562
2650
|
},
|
|
2563
2651
|
get source() {
|
|
2564
|
-
return
|
|
2652
|
+
return import_zod7.z.object({
|
|
2565
2653
|
sourceName: this.sourceName,
|
|
2566
|
-
sourceKey:
|
|
2654
|
+
sourceKey: import_zod7.z.string()
|
|
2567
2655
|
});
|
|
2568
2656
|
},
|
|
2569
2657
|
get subscribe() {
|
|
2570
2658
|
return this.source.and(
|
|
2571
|
-
|
|
2659
|
+
import_zod7.z.discriminatedUnion("provider", [
|
|
2572
2660
|
textLivechatEventsZods.subscribeContent,
|
|
2661
|
+
textHelpDeskEventsZods.subscribeContent,
|
|
2573
2662
|
shopifyEventsZods.subscribeContent,
|
|
2574
2663
|
mailchimpEventsZods.subscribeContent,
|
|
2575
2664
|
hubspotEventsZods.subscribeContent,
|
|
@@ -2579,8 +2668,9 @@ var integrationEventsZods = {
|
|
|
2579
2668
|
},
|
|
2580
2669
|
get unsubscribe() {
|
|
2581
2670
|
return this.source.and(
|
|
2582
|
-
|
|
2671
|
+
import_zod7.z.discriminatedUnion("provider", [
|
|
2583
2672
|
textLivechatEventsZods.unsubscribeContent,
|
|
2673
|
+
textHelpDeskEventsZods.unsubscribeContent,
|
|
2584
2674
|
shopifyEventsZods.unsubscribeContent,
|
|
2585
2675
|
mailchimpEventsZods.unsubscribeContent,
|
|
2586
2676
|
hubspotEventsZods.unsubscribeContent,
|
|
@@ -2902,6 +2992,75 @@ function initDpsClient(baseUrl, token) {
|
|
|
2902
2992
|
}
|
|
2903
2993
|
}
|
|
2904
2994
|
|
|
2995
|
+
// src/apis/products/helpdesk/webhooks/_contracts/dtos/webhook.ts
|
|
2996
|
+
var HelpDeskWebhookEventType = /* @__PURE__ */ ((HelpDeskWebhookEventType2) => {
|
|
2997
|
+
HelpDeskWebhookEventType2["TicketCreated"] = "tickets.create";
|
|
2998
|
+
HelpDeskWebhookEventType2["TicketUpdated"] = "tickets.update";
|
|
2999
|
+
HelpDeskWebhookEventType2["TicketStatusChanged"] = "tickets.events.status";
|
|
3000
|
+
HelpDeskWebhookEventType2["TicketPriorityChanged"] = "tickets.events.priority";
|
|
3001
|
+
HelpDeskWebhookEventType2["TicketTagsChanged"] = "tickets.events.tags";
|
|
3002
|
+
HelpDeskWebhookEventType2["TicketFollowersChanged"] = "tickets.events.followers";
|
|
3003
|
+
HelpDeskWebhookEventType2["TicketAssignmentChanged"] = "tickets.events.assignment";
|
|
3004
|
+
HelpDeskWebhookEventType2["TicketMessageAdded"] = "tickets.events.message";
|
|
3005
|
+
return HelpDeskWebhookEventType2;
|
|
3006
|
+
})(HelpDeskWebhookEventType || {});
|
|
3007
|
+
|
|
3008
|
+
// src/apis/products/helpdesk/instance.ts
|
|
3009
|
+
var import_axios19 = __toESM(require("axios"));
|
|
3010
|
+
var HelpDeskApiError = class extends ApiErrorBase {
|
|
3011
|
+
constructor() {
|
|
3012
|
+
super(...arguments);
|
|
3013
|
+
this.name = "helpdesk";
|
|
3014
|
+
}
|
|
3015
|
+
};
|
|
3016
|
+
var helpdeskClientInstance = import_axios19.default.create({
|
|
3017
|
+
baseURL: "https://api.labs.helpdesk.com/v1"
|
|
3018
|
+
});
|
|
3019
|
+
helpdeskClientInstance.interceptors.response.use(
|
|
3020
|
+
(response) => response,
|
|
3021
|
+
(error) => {
|
|
3022
|
+
var _a, _b, _c, _d;
|
|
3023
|
+
if (((_a = error.response) == null ? void 0 : _a.status) === 401) {
|
|
3024
|
+
return Promise.reject(new UnauthorizeApiError("accounts"));
|
|
3025
|
+
}
|
|
3026
|
+
return Promise.reject(
|
|
3027
|
+
new HelpDeskApiError(
|
|
3028
|
+
error.message,
|
|
3029
|
+
(_b = error.response) == null ? void 0 : _b.data,
|
|
3030
|
+
(_d = (_c = error.response) == null ? void 0 : _c.status) != null ? _d : 400
|
|
3031
|
+
)
|
|
3032
|
+
);
|
|
3033
|
+
}
|
|
3034
|
+
);
|
|
3035
|
+
function getHelpDeskClientConfig(options = {}) {
|
|
3036
|
+
var _a, _b;
|
|
3037
|
+
const currentHeaders = helpdeskClientInstance.defaults.headers;
|
|
3038
|
+
const defaultAuthorization = currentHeaders.Authorization;
|
|
3039
|
+
const headers = {
|
|
3040
|
+
authorization: (_b = options.token ? `${(_a = options.tokenType) != null ? _a : "Bearer"} ${options.token}` : void 0) != null ? _b : defaultAuthorization
|
|
3041
|
+
};
|
|
3042
|
+
return {
|
|
3043
|
+
headers: __spreadValues({}, headers.authorization ? { Authorization: headers.authorization } : {})
|
|
3044
|
+
};
|
|
3045
|
+
}
|
|
3046
|
+
function initHelpDeskClient(baseUrl, token) {
|
|
3047
|
+
const headers = helpdeskClientInstance.defaults.headers;
|
|
3048
|
+
if (baseUrl) {
|
|
3049
|
+
helpdeskClientInstance.interceptors.request.use(
|
|
3050
|
+
(config) => {
|
|
3051
|
+
config.baseURL = baseUrl;
|
|
3052
|
+
return config;
|
|
3053
|
+
},
|
|
3054
|
+
(error) => Promise.reject(error)
|
|
3055
|
+
);
|
|
3056
|
+
}
|
|
3057
|
+
if (token) {
|
|
3058
|
+
headers.Authorization = `Bearer ${token}`;
|
|
3059
|
+
} else {
|
|
3060
|
+
delete headers.Authorization;
|
|
3061
|
+
}
|
|
3062
|
+
}
|
|
3063
|
+
|
|
2905
3064
|
// src/apis/products/livechat/configuration/webhooks/_contracts/dtos/webhook.ts
|
|
2906
3065
|
var LivechatWebhookActions = /* @__PURE__ */ ((LivechatWebhookActions2) => {
|
|
2907
3066
|
LivechatWebhookActions2["IncomingChat"] = "incoming_chat";
|
|
@@ -2929,7 +3088,7 @@ var LivechatWebhookSystemMessages = /* @__PURE__ */ ((LivechatWebhookSystemMessa
|
|
|
2929
3088
|
})(LivechatWebhookSystemMessages || {});
|
|
2930
3089
|
|
|
2931
3090
|
// src/apis/products/livechat/instance.ts
|
|
2932
|
-
var
|
|
3091
|
+
var import_axios20 = __toESM(require("axios"));
|
|
2933
3092
|
var REGION2 = {
|
|
2934
3093
|
FRA: "fra",
|
|
2935
3094
|
DAL: "dal",
|
|
@@ -2949,7 +3108,7 @@ var LivechatApiError = class extends ApiErrorBase {
|
|
|
2949
3108
|
this.name = "livechat";
|
|
2950
3109
|
}
|
|
2951
3110
|
};
|
|
2952
|
-
var livechatClientInstance =
|
|
3111
|
+
var livechatClientInstance = import_axios20.default.create({
|
|
2953
3112
|
baseURL: "https://api.labs.livechatinc.com"
|
|
2954
3113
|
});
|
|
2955
3114
|
livechatClientInstance.interceptors.response.use(
|
|
@@ -3589,7 +3748,7 @@ var textApi = {
|
|
|
3589
3748
|
};
|
|
3590
3749
|
|
|
3591
3750
|
// src/apis/integrations/vercel/api.ts
|
|
3592
|
-
var
|
|
3751
|
+
var import_axios21 = __toESM(require("axios"));
|
|
3593
3752
|
|
|
3594
3753
|
// src/apis/integrations/vercel/deploy/api.ts
|
|
3595
3754
|
var vercelDeployApi = {
|
|
@@ -3849,7 +4008,7 @@ var vercelApi = {
|
|
|
3849
4008
|
client_secret: clientSecret,
|
|
3850
4009
|
redirect_uri: redirectUrl
|
|
3851
4010
|
});
|
|
3852
|
-
const response = yield
|
|
4011
|
+
const response = yield import_axios21.default.post("https://api.vercel.com/v2/oauth/access_token", data, {
|
|
3853
4012
|
headers: {
|
|
3854
4013
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
3855
4014
|
}
|
|
@@ -3865,7 +4024,7 @@ var vercelApi = {
|
|
|
3865
4024
|
};
|
|
3866
4025
|
|
|
3867
4026
|
// src/apis/integrations/neon/api.ts
|
|
3868
|
-
var
|
|
4027
|
+
var import_axios22 = __toESM(require("axios"));
|
|
3869
4028
|
|
|
3870
4029
|
// src/apis/integrations/neon/project/branch/api.ts
|
|
3871
4030
|
var neonProjectBranchApi = {
|
|
@@ -4109,7 +4268,7 @@ var neonApi = {
|
|
|
4109
4268
|
redirect_uri: redirectUri,
|
|
4110
4269
|
grant_type: "authorization_code"
|
|
4111
4270
|
});
|
|
4112
|
-
const response = yield
|
|
4271
|
+
const response = yield import_axios22.default.post(
|
|
4113
4272
|
"https://oauth2.neon.tech/oauth2/token",
|
|
4114
4273
|
data,
|
|
4115
4274
|
{
|
|
@@ -4134,7 +4293,7 @@ var neonApi = {
|
|
|
4134
4293
|
client_secret: clientSecret,
|
|
4135
4294
|
grant_type: "refresh_token"
|
|
4136
4295
|
});
|
|
4137
|
-
const response = yield
|
|
4296
|
+
const response = yield import_axios22.default.post("https://oauth2.neon.tech/oauth2/token", data, {
|
|
4138
4297
|
headers: {
|
|
4139
4298
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
4140
4299
|
}
|
|
@@ -4149,7 +4308,7 @@ var neonApi = {
|
|
|
4149
4308
|
};
|
|
4150
4309
|
|
|
4151
4310
|
// src/apis/integrations/mailchimp/api.ts
|
|
4152
|
-
var
|
|
4311
|
+
var import_axios23 = __toESM(require("axios"));
|
|
4153
4312
|
|
|
4154
4313
|
// src/apis/integrations/mailchimp/lists/webhooks/api.ts
|
|
4155
4314
|
var mailchimpListsWebhooksApi = {
|
|
@@ -4206,7 +4365,7 @@ var mailchimpApi = {
|
|
|
4206
4365
|
redirect_uri: redirectUri,
|
|
4207
4366
|
grant_type: "authorization_code"
|
|
4208
4367
|
});
|
|
4209
|
-
const tokenResponse = yield
|
|
4368
|
+
const tokenResponse = yield import_axios23.default.post(
|
|
4210
4369
|
"https://login.mailchimp.com/oauth2/token",
|
|
4211
4370
|
data,
|
|
4212
4371
|
{
|
|
@@ -4227,7 +4386,7 @@ var mailchimpApi = {
|
|
|
4227
4386
|
return __async(this, arguments, function* ({ token }) {
|
|
4228
4387
|
const {
|
|
4229
4388
|
data: { dc: server }
|
|
4230
|
-
} = yield
|
|
4389
|
+
} = yield import_axios23.default.get(
|
|
4231
4390
|
"https://login.mailchimp.com/oauth2/metadata",
|
|
4232
4391
|
{
|
|
4233
4392
|
headers: {
|
|
@@ -4244,7 +4403,7 @@ var mailchimpApi = {
|
|
|
4244
4403
|
};
|
|
4245
4404
|
|
|
4246
4405
|
// src/apis/integrations/shopify/api.ts
|
|
4247
|
-
var
|
|
4406
|
+
var import_axios24 = __toESM(require("axios"));
|
|
4248
4407
|
|
|
4249
4408
|
// src/apis/integrations/shopify/webhooks/api.ts
|
|
4250
4409
|
var shopifyWebhooksApi = {
|
|
@@ -4299,7 +4458,7 @@ var shopifyApi = {
|
|
|
4299
4458
|
redirect_uri: redirectUri,
|
|
4300
4459
|
grant_type: "authorization_code"
|
|
4301
4460
|
});
|
|
4302
|
-
const response = yield
|
|
4461
|
+
const response = yield import_axios24.default.post(
|
|
4303
4462
|
`https://${encodeURIComponent(
|
|
4304
4463
|
shop
|
|
4305
4464
|
)}.myshopify.com/admin/oauth/access_token`,
|
|
@@ -4477,7 +4636,7 @@ var hubspotApi = {
|
|
|
4477
4636
|
};
|
|
4478
4637
|
|
|
4479
4638
|
// src/apis/integrations/bigcommerce/api.ts
|
|
4480
|
-
var
|
|
4639
|
+
var import_axios25 = __toESM(require("axios"));
|
|
4481
4640
|
|
|
4482
4641
|
// src/apis/integrations/bigcommerce/webhooks/api.ts
|
|
4483
4642
|
var bigCommerceWebhooksApi = {
|
|
@@ -4531,7 +4690,7 @@ var bigcommerceApi = {
|
|
|
4531
4690
|
redirect_uri: redirectUri,
|
|
4532
4691
|
grant_type: "authorization_code"
|
|
4533
4692
|
});
|
|
4534
|
-
const tokenResponse = yield
|
|
4693
|
+
const tokenResponse = yield import_axios25.default.post(
|
|
4535
4694
|
"https://login.bigcommerce.com/oauth2/token",
|
|
4536
4695
|
data,
|
|
4537
4696
|
{
|
|
@@ -4551,11 +4710,11 @@ var bigcommerceApi = {
|
|
|
4551
4710
|
};
|
|
4552
4711
|
|
|
4553
4712
|
// src/apis/integrations/openai/api.ts
|
|
4554
|
-
var
|
|
4713
|
+
var import_axios26 = __toESM(require("axios"));
|
|
4555
4714
|
var openaiApi = {
|
|
4556
4715
|
verifyToken(token) {
|
|
4557
4716
|
return __async(this, null, function* () {
|
|
4558
|
-
const response = yield
|
|
4717
|
+
const response = yield import_axios26.default.get("https://api.openai.com/v1/models", {
|
|
4559
4718
|
headers: {
|
|
4560
4719
|
Authorization: `Bearer ${token}`
|
|
4561
4720
|
}
|
|
@@ -5381,9 +5540,66 @@ var livechatApi = {
|
|
|
5381
5540
|
configuration: livechatConfigurationApi
|
|
5382
5541
|
};
|
|
5383
5542
|
|
|
5543
|
+
// src/apis/products/helpdesk/webhooks/api.ts
|
|
5544
|
+
var helpdeskWebhooksApi = {
|
|
5545
|
+
list(authorization) {
|
|
5546
|
+
return __async(this, null, function* () {
|
|
5547
|
+
const response = yield helpdeskClientInstance.get(
|
|
5548
|
+
`/webhooks`,
|
|
5549
|
+
getHelpDeskClientConfig(authorization)
|
|
5550
|
+
);
|
|
5551
|
+
return response;
|
|
5552
|
+
});
|
|
5553
|
+
},
|
|
5554
|
+
get(webhookId, authorization) {
|
|
5555
|
+
return __async(this, null, function* () {
|
|
5556
|
+
const response = yield helpdeskClientInstance.get(
|
|
5557
|
+
`/webhooks/${encodeURIComponent(webhookId)}`,
|
|
5558
|
+
getHelpDeskClientConfig(authorization)
|
|
5559
|
+
);
|
|
5560
|
+
return response;
|
|
5561
|
+
});
|
|
5562
|
+
},
|
|
5563
|
+
create(payload, authorization) {
|
|
5564
|
+
return __async(this, null, function* () {
|
|
5565
|
+
const response = yield helpdeskClientInstance.post(
|
|
5566
|
+
`/webhooks`,
|
|
5567
|
+
payload,
|
|
5568
|
+
getHelpDeskClientConfig(authorization)
|
|
5569
|
+
);
|
|
5570
|
+
return response;
|
|
5571
|
+
});
|
|
5572
|
+
},
|
|
5573
|
+
update(webhookId, payload, authorization) {
|
|
5574
|
+
return __async(this, null, function* () {
|
|
5575
|
+
const response = yield helpdeskClientInstance.patch(
|
|
5576
|
+
`/webhooks/${encodeURIComponent(webhookId)}`,
|
|
5577
|
+
payload,
|
|
5578
|
+
getHelpDeskClientConfig(authorization)
|
|
5579
|
+
);
|
|
5580
|
+
return response;
|
|
5581
|
+
});
|
|
5582
|
+
},
|
|
5583
|
+
delete(webhookId, authorization) {
|
|
5584
|
+
return __async(this, null, function* () {
|
|
5585
|
+
const response = yield helpdeskClientInstance.delete(
|
|
5586
|
+
`/webhooks/${encodeURIComponent(webhookId)}`,
|
|
5587
|
+
getHelpDeskClientConfig(authorization)
|
|
5588
|
+
);
|
|
5589
|
+
return response;
|
|
5590
|
+
});
|
|
5591
|
+
}
|
|
5592
|
+
};
|
|
5593
|
+
|
|
5594
|
+
// src/apis/products/helpdesk/api.ts
|
|
5595
|
+
var helpdeskApi = {
|
|
5596
|
+
webhooks: helpdeskWebhooksApi
|
|
5597
|
+
};
|
|
5598
|
+
|
|
5384
5599
|
// src/apis/products/api.ts
|
|
5385
5600
|
var productsApi = {
|
|
5386
|
-
livechat: livechatApi
|
|
5601
|
+
livechat: livechatApi,
|
|
5602
|
+
helpdesk: helpdeskApi
|
|
5387
5603
|
};
|
|
5388
5604
|
|
|
5389
5605
|
// src/apis/platform/accounts/accounts/api.ts
|
|
@@ -7579,37 +7795,6 @@ var platformAdapterMailchimpApi = {
|
|
|
7579
7795
|
}
|
|
7580
7796
|
};
|
|
7581
7797
|
|
|
7582
|
-
// src/apis/platform/adapter/integrations/neon/api.ts
|
|
7583
|
-
var platformAdapterNeonProxyApi = {
|
|
7584
|
-
user(authorization) {
|
|
7585
|
-
return __async(this, null, function* () {
|
|
7586
|
-
const response = yield adapterClientInstance.get(
|
|
7587
|
-
`/integrations/neon/user`,
|
|
7588
|
-
getNeonClientConfig(authorization)
|
|
7589
|
-
);
|
|
7590
|
-
return response.data;
|
|
7591
|
-
});
|
|
7592
|
-
},
|
|
7593
|
-
projects(authorization) {
|
|
7594
|
-
return __async(this, null, function* () {
|
|
7595
|
-
const response = yield adapterClientInstance.get(
|
|
7596
|
-
`/integrations/neon/projects`,
|
|
7597
|
-
getNeonClientConfig(authorization)
|
|
7598
|
-
);
|
|
7599
|
-
return response.data;
|
|
7600
|
-
});
|
|
7601
|
-
},
|
|
7602
|
-
databases(projectId, authorization) {
|
|
7603
|
-
return __async(this, null, function* () {
|
|
7604
|
-
const response = yield adapterClientInstance.get(
|
|
7605
|
-
`/integrations/neon/projects/${encodeURIComponent(projectId)}/databases`,
|
|
7606
|
-
getNeonClientConfig(authorization)
|
|
7607
|
-
);
|
|
7608
|
-
return response.data;
|
|
7609
|
-
});
|
|
7610
|
-
}
|
|
7611
|
-
};
|
|
7612
|
-
|
|
7613
7798
|
// src/apis/platform/adapter/integrations/shopify/api.ts
|
|
7614
7799
|
var platformAdapterShopifyApi = {
|
|
7615
7800
|
events: {
|
|
@@ -7660,7 +7845,6 @@ var platformAdapterTextApi = {
|
|
|
7660
7845
|
|
|
7661
7846
|
// src/apis/platform/adapter/integrations/api.ts
|
|
7662
7847
|
var platformAdapterIntegrationsApi = {
|
|
7663
|
-
neon: platformAdapterNeonProxyApi,
|
|
7664
7848
|
mailchimp: platformAdapterMailchimpApi,
|
|
7665
7849
|
shopify: platformAdapterShopifyApi,
|
|
7666
7850
|
hubspot: platformAdapterHubspotApi,
|
|
@@ -7939,6 +8123,8 @@ var debounce = (func, wait) => {
|
|
|
7939
8123
|
BigCommerceEventNames,
|
|
7940
8124
|
BigCommerceWebhookScopes,
|
|
7941
8125
|
DpsApiError,
|
|
8126
|
+
HelpDeskApiError,
|
|
8127
|
+
HelpDeskWebhookEventType,
|
|
7942
8128
|
HubSpotWebhookEventTypes,
|
|
7943
8129
|
HubspotApiError,
|
|
7944
8130
|
HubspotEventNames,
|
|
@@ -7954,6 +8140,7 @@ var debounce = (func, wait) => {
|
|
|
7954
8140
|
ShopifyApiError,
|
|
7955
8141
|
ShopifyEventNames,
|
|
7956
8142
|
TextApiError,
|
|
8143
|
+
TextHelpDeskEventNames,
|
|
7957
8144
|
TextLivechatEventNames,
|
|
7958
8145
|
UnauthorizeAccountsApiError,
|
|
7959
8146
|
UnauthorizeApiError,
|
|
@@ -7980,6 +8167,7 @@ var debounce = (func, wait) => {
|
|
|
7980
8167
|
getDpsClientConfig,
|
|
7981
8168
|
getEmptyAppAutoReview,
|
|
7982
8169
|
getGithubClientConfig,
|
|
8170
|
+
getHelpDeskClientConfig,
|
|
7983
8171
|
getHubspotClientConfig,
|
|
7984
8172
|
getIntegrationFlowUrl,
|
|
7985
8173
|
getIntegrationFlowUrlOld,
|
|
@@ -7995,6 +8183,7 @@ var debounce = (func, wait) => {
|
|
|
7995
8183
|
getTextClientConfig,
|
|
7996
8184
|
getVercelClientConfig,
|
|
7997
8185
|
githubClientInstance,
|
|
8186
|
+
helpdeskClientInstance,
|
|
7998
8187
|
hubspotClientInstance,
|
|
7999
8188
|
hubspotEventsZods,
|
|
8000
8189
|
initAdapterClient,
|
|
@@ -8003,6 +8192,7 @@ var debounce = (func, wait) => {
|
|
|
8003
8192
|
initBillingClient,
|
|
8004
8193
|
initDpsClient,
|
|
8005
8194
|
initGithubClient,
|
|
8195
|
+
initHelpDeskClient,
|
|
8006
8196
|
initHubspotClient,
|
|
8007
8197
|
initLiveChatClient,
|
|
8008
8198
|
initMailchimpClient,
|
|
@@ -8025,6 +8215,7 @@ var debounce = (func, wait) => {
|
|
|
8025
8215
|
shopifyClientInstance,
|
|
8026
8216
|
shopifyEventsZods,
|
|
8027
8217
|
textClientInstance,
|
|
8218
|
+
textHelpDeskEventsZods,
|
|
8028
8219
|
textLivechatEventsZods,
|
|
8029
8220
|
updateAdapterClient,
|
|
8030
8221
|
updateBigCommerceClient,
|