@livechat/developer-studio-api 5.2.0-beta.v3 → 5.3.0-beta.v1
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/{chunk-NCXZIYUE.mjs → chunk-WMWSKU4M.mjs} +85 -60
- package/dist/{events-DluLBHoq.d.mts → events-DAbR7Qk8.d.mts} +203 -179
- package/dist/{events-DluLBHoq.d.ts → events-DAbR7Qk8.d.ts} +203 -179
- package/dist/index.d.mts +43 -36
- package/dist/index.d.ts +43 -36
- package/dist/index.js +90 -65
- package/dist/index.mjs +1 -1
- package/dist/workflow-contracts.d.mts +1 -1
- package/dist/workflow-contracts.d.ts +1 -1
- package/dist/workflow-contracts.js +53 -50
- package/dist/workflow-contracts.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -875,7 +875,7 @@ var textCustomerEventsZods = {
|
|
|
875
875
|
properties: import_zod7.z.array(
|
|
876
876
|
import_zod7.z.object({
|
|
877
877
|
id: import_zod7.z.string().min(1),
|
|
878
|
-
to: import_zod7.z.union([import_zod7.z.string(), import_zod7.z.number(), import_zod7.z.boolean()]).
|
|
878
|
+
to: import_zod7.z.union([import_zod7.z.string(), import_zod7.z.number(), import_zod7.z.boolean()]).nullish()
|
|
879
879
|
})
|
|
880
880
|
).optional()
|
|
881
881
|
})
|
|
@@ -992,8 +992,8 @@ var textHelpDeskEventsZods = {
|
|
|
992
992
|
customFields: import_zod8.z.array(
|
|
993
993
|
import_zod8.z.object({
|
|
994
994
|
id: import_zod8.z.string().min(1),
|
|
995
|
-
from: import_zod8.z.string().min(1).
|
|
996
|
-
to: import_zod8.z.string().min(1).
|
|
995
|
+
from: import_zod8.z.string().min(1).nullish(),
|
|
996
|
+
to: import_zod8.z.string().min(1).nullish()
|
|
997
997
|
})
|
|
998
998
|
).optional()
|
|
999
999
|
}).extend(baseFiltersZod.shape),
|
|
@@ -2262,11 +2262,35 @@ var hubspotApi = {
|
|
|
2262
2262
|
}
|
|
2263
2263
|
};
|
|
2264
2264
|
|
|
2265
|
+
// src/apis/integrations/klaviyo/api.ts
|
|
2266
|
+
var import_axios7 = __toESM(require("axios"));
|
|
2267
|
+
var KLAVIYO_API_REVISION = "2025-07-15";
|
|
2268
|
+
var klaviyoApi = {
|
|
2269
|
+
getAccount(_0) {
|
|
2270
|
+
return __async(this, arguments, function* ({ token }) {
|
|
2271
|
+
var _a, _b, _c, _d;
|
|
2272
|
+
const { data } = yield import_axios7.default.get(
|
|
2273
|
+
"https://a.klaviyo.com/api/accounts/",
|
|
2274
|
+
{
|
|
2275
|
+
headers: {
|
|
2276
|
+
Authorization: `Bearer ${token}`,
|
|
2277
|
+
revision: KLAVIYO_API_REVISION
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
);
|
|
2281
|
+
const contactInformationEmail = (_d = (_c = (_b = (_a = data.data) == null ? void 0 : _a[0]) == null ? void 0 : _b.attributes) == null ? void 0 : _c.contact_information) == null ? void 0 : _d.default_sender_email;
|
|
2282
|
+
return {
|
|
2283
|
+
email: contactInformationEmail
|
|
2284
|
+
};
|
|
2285
|
+
});
|
|
2286
|
+
}
|
|
2287
|
+
};
|
|
2288
|
+
|
|
2265
2289
|
// src/apis/integrations/mailchimp/api.ts
|
|
2266
|
-
var
|
|
2290
|
+
var import_axios9 = __toESM(require("axios"));
|
|
2267
2291
|
|
|
2268
2292
|
// src/apis/integrations/mailchimp/instance.ts
|
|
2269
|
-
var
|
|
2293
|
+
var import_axios8 = __toESM(require("axios"));
|
|
2270
2294
|
function getMailchimpClientAuthorization(req, authorization) {
|
|
2271
2295
|
var _a, _b;
|
|
2272
2296
|
const headerPrefix = "x-adapter-mailchimp";
|
|
@@ -2296,7 +2320,7 @@ var MailchimpApiError = class extends ApiErrorBase {
|
|
|
2296
2320
|
}
|
|
2297
2321
|
};
|
|
2298
2322
|
var getMailchimpClientUrl = (server) => `https://${server}.api.mailchimp.com/3.0`;
|
|
2299
|
-
var mailchimpClientInstance =
|
|
2323
|
+
var mailchimpClientInstance = import_axios8.default.create({
|
|
2300
2324
|
headers: {
|
|
2301
2325
|
"Content-Type": "application/json"
|
|
2302
2326
|
}
|
|
@@ -2305,7 +2329,7 @@ mailchimpClientInstance.interceptors.response.use(
|
|
|
2305
2329
|
(r) => r,
|
|
2306
2330
|
(error) => {
|
|
2307
2331
|
var _a, _b, _c, _d;
|
|
2308
|
-
if (
|
|
2332
|
+
if (import_axios8.default.isAxiosError(error)) {
|
|
2309
2333
|
if (((_a = error.response) == null ? void 0 : _a.status) === 401) {
|
|
2310
2334
|
throw new UnauthorizeApiError("mailchimp");
|
|
2311
2335
|
}
|
|
@@ -2410,7 +2434,7 @@ var mailchimpApi = {
|
|
|
2410
2434
|
redirect_uri: redirectUri,
|
|
2411
2435
|
grant_type: "authorization_code"
|
|
2412
2436
|
});
|
|
2413
|
-
const tokenResponse = yield
|
|
2437
|
+
const tokenResponse = yield import_axios9.default.post(
|
|
2414
2438
|
"https://login.mailchimp.com/oauth2/token",
|
|
2415
2439
|
data,
|
|
2416
2440
|
{
|
|
@@ -2430,7 +2454,7 @@ var mailchimpApi = {
|
|
|
2430
2454
|
getMetadata(_0) {
|
|
2431
2455
|
return __async(this, arguments, function* ({ token }) {
|
|
2432
2456
|
var _a, _b, _c, _d;
|
|
2433
|
-
const { data } = yield
|
|
2457
|
+
const { data } = yield import_axios9.default.get("https://login.mailchimp.com/oauth2/metadata", {
|
|
2434
2458
|
headers: {
|
|
2435
2459
|
"Content-Type": "application/json",
|
|
2436
2460
|
Authorization: `OAuth ${token}`
|
|
@@ -2446,11 +2470,11 @@ var mailchimpApi = {
|
|
|
2446
2470
|
};
|
|
2447
2471
|
|
|
2448
2472
|
// src/apis/integrations/neon/api.ts
|
|
2449
|
-
var
|
|
2473
|
+
var import_axios11 = __toESM(require("axios"));
|
|
2450
2474
|
|
|
2451
2475
|
// src/apis/integrations/neon/instance.ts
|
|
2452
|
-
var
|
|
2453
|
-
var neonClientInstance =
|
|
2476
|
+
var import_axios10 = __toESM(require("axios"));
|
|
2477
|
+
var neonClientInstance = import_axios10.default.create({
|
|
2454
2478
|
baseURL: "https://console.neon.tech/api/v2",
|
|
2455
2479
|
headers: {
|
|
2456
2480
|
"Content-Type": "application/json"
|
|
@@ -2460,7 +2484,7 @@ neonClientInstance.interceptors.response.use(
|
|
|
2460
2484
|
(r) => r,
|
|
2461
2485
|
(error) => {
|
|
2462
2486
|
var _a;
|
|
2463
|
-
if (
|
|
2487
|
+
if (import_axios10.default.isAxiosError(error)) {
|
|
2464
2488
|
if (((_a = error.response) == null ? void 0 : _a.status) === 401) {
|
|
2465
2489
|
throw new UnauthorizeApiError("neon");
|
|
2466
2490
|
}
|
|
@@ -2737,7 +2761,7 @@ var neonApi = {
|
|
|
2737
2761
|
redirect_uri: redirectUri,
|
|
2738
2762
|
grant_type: "authorization_code"
|
|
2739
2763
|
});
|
|
2740
|
-
const response = yield
|
|
2764
|
+
const response = yield import_axios11.default.post(
|
|
2741
2765
|
"https://oauth2.neon.tech/oauth2/token",
|
|
2742
2766
|
data,
|
|
2743
2767
|
{
|
|
@@ -2762,7 +2786,7 @@ var neonApi = {
|
|
|
2762
2786
|
client_secret: clientSecret,
|
|
2763
2787
|
grant_type: "refresh_token"
|
|
2764
2788
|
});
|
|
2765
|
-
const response = yield
|
|
2789
|
+
const response = yield import_axios11.default.post("https://oauth2.neon.tech/oauth2/token", data, {
|
|
2766
2790
|
headers: {
|
|
2767
2791
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
2768
2792
|
}
|
|
@@ -2777,13 +2801,13 @@ var neonApi = {
|
|
|
2777
2801
|
};
|
|
2778
2802
|
|
|
2779
2803
|
// src/apis/integrations/netlify/api.ts
|
|
2780
|
-
var
|
|
2804
|
+
var import_axios14 = __toESM(require("axios"));
|
|
2781
2805
|
|
|
2782
2806
|
// src/apis/integrations/netlify/account/api.ts
|
|
2783
|
-
var
|
|
2807
|
+
var import_axios13 = require("axios");
|
|
2784
2808
|
|
|
2785
2809
|
// src/apis/integrations/netlify/instance.ts
|
|
2786
|
-
var
|
|
2810
|
+
var import_axios12 = __toESM(require("axios"));
|
|
2787
2811
|
function getNetlifyClientAuthorization(req, headerPrefix = "x-adapter-netlify-token") {
|
|
2788
2812
|
if (req.headers instanceof Headers) {
|
|
2789
2813
|
return {
|
|
@@ -2794,7 +2818,7 @@ function getNetlifyClientAuthorization(req, headerPrefix = "x-adapter-netlify-to
|
|
|
2794
2818
|
token: req.headers[`${headerPrefix}-token`]
|
|
2795
2819
|
};
|
|
2796
2820
|
}
|
|
2797
|
-
var netlifyClientInstance =
|
|
2821
|
+
var netlifyClientInstance = import_axios12.default.create({
|
|
2798
2822
|
baseURL: "https://api.netlify.com/api/v1",
|
|
2799
2823
|
headers: {
|
|
2800
2824
|
"Content-Type": "application/json"
|
|
@@ -2804,7 +2828,7 @@ netlifyClientInstance.interceptors.response.use(
|
|
|
2804
2828
|
(r) => r,
|
|
2805
2829
|
(error) => {
|
|
2806
2830
|
var _a;
|
|
2807
|
-
if (
|
|
2831
|
+
if (import_axios12.default.isAxiosError(error)) {
|
|
2808
2832
|
if (((_a = error.response) == null ? void 0 : _a.status) === 401) {
|
|
2809
2833
|
throw new UnauthorizeApiError("netlify");
|
|
2810
2834
|
}
|
|
@@ -2859,7 +2883,7 @@ var netlifyAccountApi = {
|
|
|
2859
2883
|
targetAccountId = yield this.getAccount(authorization);
|
|
2860
2884
|
}
|
|
2861
2885
|
if (!targetAccountId) {
|
|
2862
|
-
throw new
|
|
2886
|
+
throw new import_axios13.AxiosError("No account", "404");
|
|
2863
2887
|
}
|
|
2864
2888
|
const { data: envs } = yield netlifyClientInstance.get(
|
|
2865
2889
|
`/accounts/${encodeURIComponent(
|
|
@@ -2879,7 +2903,7 @@ var netlifyAccountApi = {
|
|
|
2879
2903
|
targetAccountId = yield this.getAccount(authorization);
|
|
2880
2904
|
}
|
|
2881
2905
|
if (!targetAccountId) {
|
|
2882
|
-
throw new
|
|
2906
|
+
throw new import_axios13.AxiosError("No account", "404");
|
|
2883
2907
|
}
|
|
2884
2908
|
const { data: envs } = yield netlifyClientInstance.get(
|
|
2885
2909
|
`/accounts/${encodeURIComponent(
|
|
@@ -2900,7 +2924,7 @@ var netlifyAccountApi = {
|
|
|
2900
2924
|
targetAccountId = yield this.getAccount(authorization);
|
|
2901
2925
|
}
|
|
2902
2926
|
if (!targetAccountId) {
|
|
2903
|
-
throw new
|
|
2927
|
+
throw new import_axios13.AxiosError("No account", "404");
|
|
2904
2928
|
}
|
|
2905
2929
|
if (!targetEnvs) {
|
|
2906
2930
|
const response = yield netlifyClientInstance.get(
|
|
@@ -2952,7 +2976,7 @@ var netlifyAccountApi = {
|
|
|
2952
2976
|
targetAccountId = yield this.getAccount(authorization);
|
|
2953
2977
|
}
|
|
2954
2978
|
if (!targetAccountId) {
|
|
2955
|
-
throw new
|
|
2979
|
+
throw new import_axios13.AxiosError("No account", "404");
|
|
2956
2980
|
}
|
|
2957
2981
|
yield netlifyClientInstance.delete(
|
|
2958
2982
|
`/accounts/${encodeURIComponent(
|
|
@@ -3269,7 +3293,7 @@ var netlifyApi = {
|
|
|
3269
3293
|
redirect_uri: redirectUri,
|
|
3270
3294
|
grant_type: "authorization_code"
|
|
3271
3295
|
});
|
|
3272
|
-
const response = yield
|
|
3296
|
+
const response = yield import_axios14.default.post(
|
|
3273
3297
|
"https://api.netlify.com/oauth/token",
|
|
3274
3298
|
data,
|
|
3275
3299
|
{
|
|
@@ -3287,11 +3311,11 @@ var netlifyApi = {
|
|
|
3287
3311
|
};
|
|
3288
3312
|
|
|
3289
3313
|
// src/apis/integrations/openai/api.ts
|
|
3290
|
-
var
|
|
3314
|
+
var import_axios15 = __toESM(require("axios"));
|
|
3291
3315
|
var openaiApi = {
|
|
3292
3316
|
verifyToken(token) {
|
|
3293
3317
|
return __async(this, null, function* () {
|
|
3294
|
-
const response = yield
|
|
3318
|
+
const response = yield import_axios15.default.get("https://api.openai.com/v1/models", {
|
|
3295
3319
|
headers: {
|
|
3296
3320
|
Authorization: `Bearer ${token}`
|
|
3297
3321
|
}
|
|
@@ -3302,11 +3326,11 @@ var openaiApi = {
|
|
|
3302
3326
|
};
|
|
3303
3327
|
|
|
3304
3328
|
// src/apis/integrations/planetscale/api.ts
|
|
3305
|
-
var
|
|
3329
|
+
var import_axios17 = __toESM(require("axios"));
|
|
3306
3330
|
|
|
3307
3331
|
// src/apis/integrations/planetscale/instance.ts
|
|
3308
|
-
var
|
|
3309
|
-
var planetScaleClientInstance =
|
|
3332
|
+
var import_axios16 = __toESM(require("axios"));
|
|
3333
|
+
var planetScaleClientInstance = import_axios16.default.create({
|
|
3310
3334
|
baseURL: "https://api.planetscale.com",
|
|
3311
3335
|
headers: {
|
|
3312
3336
|
"Content-Type": "application/json"
|
|
@@ -3316,7 +3340,7 @@ planetScaleClientInstance.interceptors.response.use(
|
|
|
3316
3340
|
(r) => r,
|
|
3317
3341
|
(error) => {
|
|
3318
3342
|
var _a;
|
|
3319
|
-
if (
|
|
3343
|
+
if (import_axios16.default.isAxiosError(error)) {
|
|
3320
3344
|
if (((_a = error.response) == null ? void 0 : _a.status) === 401) {
|
|
3321
3345
|
throw new UnauthorizeApiError("planetscale");
|
|
3322
3346
|
}
|
|
@@ -3531,7 +3555,7 @@ var planetscaleApi = {
|
|
|
3531
3555
|
redirect_uri: redirectUrl,
|
|
3532
3556
|
grant_type: "authorization_code"
|
|
3533
3557
|
});
|
|
3534
|
-
const response = yield
|
|
3558
|
+
const response = yield import_axios17.default.post(
|
|
3535
3559
|
`https://api.planetscale.com/v1/organizations/${encodeURIComponent(
|
|
3536
3560
|
organization
|
|
3537
3561
|
)}/oauth-applications/${encodeURIComponent(applicationId)}/token`,
|
|
@@ -3553,14 +3577,14 @@ var planetscaleApi = {
|
|
|
3553
3577
|
};
|
|
3554
3578
|
|
|
3555
3579
|
// src/apis/integrations/salesforce/api.ts
|
|
3556
|
-
var
|
|
3580
|
+
var import_axios18 = __toESM(require("axios"));
|
|
3557
3581
|
var salesforceApi = {
|
|
3558
3582
|
getUserInfo(_0) {
|
|
3559
3583
|
return __async(this, arguments, function* ({
|
|
3560
3584
|
token,
|
|
3561
3585
|
loginUrl
|
|
3562
3586
|
}) {
|
|
3563
|
-
const { data } = yield
|
|
3587
|
+
const { data } = yield import_axios18.default.get(
|
|
3564
3588
|
`${loginUrl}/services/oauth2/userinfo`,
|
|
3565
3589
|
{
|
|
3566
3590
|
headers: {
|
|
@@ -3582,10 +3606,10 @@ var salesforceApi = {
|
|
|
3582
3606
|
};
|
|
3583
3607
|
|
|
3584
3608
|
// src/apis/integrations/shopify/api.ts
|
|
3585
|
-
var
|
|
3609
|
+
var import_axios20 = __toESM(require("axios"));
|
|
3586
3610
|
|
|
3587
3611
|
// src/apis/integrations/shopify/instance.ts
|
|
3588
|
-
var
|
|
3612
|
+
var import_axios19 = __toESM(require("axios"));
|
|
3589
3613
|
function getShopifyClientAuthorization(req, authorization) {
|
|
3590
3614
|
var _a, _b;
|
|
3591
3615
|
const headerPrefix = "x-adapter-shopify";
|
|
@@ -3614,12 +3638,12 @@ var ShopifyApiError = class extends ApiErrorBase {
|
|
|
3614
3638
|
this.name = "shopify";
|
|
3615
3639
|
}
|
|
3616
3640
|
};
|
|
3617
|
-
var shopifyClientInstance =
|
|
3641
|
+
var shopifyClientInstance = import_axios19.default.create();
|
|
3618
3642
|
shopifyClientInstance.interceptors.response.use(
|
|
3619
3643
|
(r) => r,
|
|
3620
3644
|
(error) => {
|
|
3621
3645
|
var _a, _b, _c, _d;
|
|
3622
|
-
if (
|
|
3646
|
+
if (import_axios19.default.isAxiosError(error)) {
|
|
3623
3647
|
if (((_a = error.response) == null ? void 0 : _a.status) === 401) {
|
|
3624
3648
|
throw new UnauthorizeApiError("shopify");
|
|
3625
3649
|
}
|
|
@@ -3723,7 +3747,7 @@ var shopifyApi = {
|
|
|
3723
3747
|
redirect_uri: redirectUri,
|
|
3724
3748
|
grant_type: "authorization_code"
|
|
3725
3749
|
});
|
|
3726
|
-
const response = yield
|
|
3750
|
+
const response = yield import_axios20.default.post(
|
|
3727
3751
|
`https://${encodeURIComponent(
|
|
3728
3752
|
shop
|
|
3729
3753
|
)}.myshopify.com/admin/oauth/access_token`,
|
|
@@ -3743,7 +3767,7 @@ var shopifyApi = {
|
|
|
3743
3767
|
};
|
|
3744
3768
|
|
|
3745
3769
|
// src/apis/integrations/slack/instance.ts
|
|
3746
|
-
var
|
|
3770
|
+
var import_axios21 = __toESM(require("axios"));
|
|
3747
3771
|
var SlackApiError = class extends ApiErrorBase {
|
|
3748
3772
|
constructor() {
|
|
3749
3773
|
super(...arguments);
|
|
@@ -3769,7 +3793,7 @@ function getSlackClientAuthorization(req, authorization) {
|
|
|
3769
3793
|
token: req.headers[`${headerPrefix}-token`]
|
|
3770
3794
|
};
|
|
3771
3795
|
}
|
|
3772
|
-
var slackClientInstance =
|
|
3796
|
+
var slackClientInstance = import_axios21.default.create({
|
|
3773
3797
|
baseURL: "https://slack.com/api",
|
|
3774
3798
|
headers: {
|
|
3775
3799
|
"Content-Type": "application/json"
|
|
@@ -3788,7 +3812,7 @@ slackClientInstance.interceptors.response.use(
|
|
|
3788
3812
|
},
|
|
3789
3813
|
(error) => {
|
|
3790
3814
|
var _a, _b, _c, _d;
|
|
3791
|
-
if (
|
|
3815
|
+
if (import_axios21.default.isAxiosError(error)) {
|
|
3792
3816
|
if (((_a = error.response) == null ? void 0 : _a.status) === 401) {
|
|
3793
3817
|
throw new UnauthorizeApiError("slack");
|
|
3794
3818
|
}
|
|
@@ -3872,7 +3896,7 @@ var slackApi = {
|
|
|
3872
3896
|
};
|
|
3873
3897
|
|
|
3874
3898
|
// src/apis/integrations/text/instance.ts
|
|
3875
|
-
var
|
|
3899
|
+
var import_axios22 = __toESM(require("axios"));
|
|
3876
3900
|
function getTextClientAuthorization(req, authorization) {
|
|
3877
3901
|
var _a;
|
|
3878
3902
|
const headerPrefix = "x-adapter-text";
|
|
@@ -3901,14 +3925,14 @@ var TextApiError = class extends ApiErrorBase {
|
|
|
3901
3925
|
this.name = "text";
|
|
3902
3926
|
}
|
|
3903
3927
|
};
|
|
3904
|
-
var textClientInstance =
|
|
3928
|
+
var textClientInstance = import_axios22.default.create({
|
|
3905
3929
|
baseURL: "https://api.labs.text.com"
|
|
3906
3930
|
});
|
|
3907
3931
|
textClientInstance.interceptors.response.use(
|
|
3908
3932
|
(r) => r,
|
|
3909
3933
|
(error) => {
|
|
3910
3934
|
var _a, _b, _c, _d;
|
|
3911
|
-
if (
|
|
3935
|
+
if (import_axios22.default.isAxiosError(error)) {
|
|
3912
3936
|
if (((_a = error.response) == null ? void 0 : _a.status) === 401) {
|
|
3913
3937
|
throw new UnauthorizeApiError("text");
|
|
3914
3938
|
}
|
|
@@ -4795,7 +4819,7 @@ function getWorkflowApiCrmConfig(authorization) {
|
|
|
4795
4819
|
}
|
|
4796
4820
|
|
|
4797
4821
|
// src/apis/integrations/vercel/instance.ts
|
|
4798
|
-
var
|
|
4822
|
+
var import_axios23 = __toESM(require("axios"));
|
|
4799
4823
|
function getVercelClientAuthorization(req, headerPrefix = "x-adapter-vercel") {
|
|
4800
4824
|
if (req.headers instanceof Headers) {
|
|
4801
4825
|
return {
|
|
@@ -4806,14 +4830,14 @@ function getVercelClientAuthorization(req, headerPrefix = "x-adapter-vercel") {
|
|
|
4806
4830
|
token: req.headers[`${headerPrefix}-token`]
|
|
4807
4831
|
};
|
|
4808
4832
|
}
|
|
4809
|
-
var vercelClientInstance =
|
|
4833
|
+
var vercelClientInstance = import_axios23.default.create({
|
|
4810
4834
|
baseURL: "https://api.vercel.com"
|
|
4811
4835
|
});
|
|
4812
4836
|
vercelClientInstance.interceptors.response.use(
|
|
4813
4837
|
(r) => r,
|
|
4814
4838
|
(error) => {
|
|
4815
4839
|
var _a, _b;
|
|
4816
|
-
if (
|
|
4840
|
+
if (import_axios23.default.isAxiosError(error)) {
|
|
4817
4841
|
if (((_a = error.response) == null ? void 0 : _a.status) === 401 || ((_b = error.response) == null ? void 0 : _b.status) === 403) {
|
|
4818
4842
|
throw new UnauthorizeApiError("vercel");
|
|
4819
4843
|
}
|
|
@@ -4887,8 +4911,8 @@ function initPlatformAccountsClient(baseUrl, token) {
|
|
|
4887
4911
|
}
|
|
4888
4912
|
|
|
4889
4913
|
// src/apis/platform/billing/instance.ts
|
|
4890
|
-
var
|
|
4891
|
-
var billingClientInstance =
|
|
4914
|
+
var import_axios24 = __toESM(require("axios"));
|
|
4915
|
+
var billingClientInstance = import_axios24.default.create({
|
|
4892
4916
|
baseURL: "https://billing.labs.livechatinc.com"
|
|
4893
4917
|
});
|
|
4894
4918
|
function getBillingClientConfig(options = {}) {
|
|
@@ -4955,7 +4979,7 @@ var cdpCustomerEventMessageZod = import_zod12.z.discriminatedUnion("type", [
|
|
|
4955
4979
|
]);
|
|
4956
4980
|
|
|
4957
4981
|
// src/apis/platform/console/instance.ts
|
|
4958
|
-
var
|
|
4982
|
+
var import_axios25 = __toESM(require("axios"));
|
|
4959
4983
|
var REGION = {
|
|
4960
4984
|
FRA: "fra",
|
|
4961
4985
|
DAL: "dal",
|
|
@@ -4985,7 +5009,7 @@ var ConsoleApiError = class _ConsoleApiError extends ApiErrorBase {
|
|
|
4985
5009
|
);
|
|
4986
5010
|
}
|
|
4987
5011
|
};
|
|
4988
|
-
var consoleClientInstance =
|
|
5012
|
+
var consoleClientInstance = import_axios25.default.create({
|
|
4989
5013
|
baseURL: "https://platform.labs.text.com/console/api",
|
|
4990
5014
|
headers: {
|
|
4991
5015
|
"Content-Type": "application/json"
|
|
@@ -5164,14 +5188,14 @@ var getAppAutoReviewPayload = (value) => {
|
|
|
5164
5188
|
};
|
|
5165
5189
|
|
|
5166
5190
|
// src/apis/platform/dps/instance.ts
|
|
5167
|
-
var
|
|
5191
|
+
var import_axios26 = __toESM(require("axios"));
|
|
5168
5192
|
var DpsApiError = class extends ApiErrorBase {
|
|
5169
5193
|
constructor() {
|
|
5170
5194
|
super(...arguments);
|
|
5171
5195
|
this.name = "dps";
|
|
5172
5196
|
}
|
|
5173
5197
|
};
|
|
5174
|
-
var dpsClientInstance =
|
|
5198
|
+
var dpsClientInstance = import_axios26.default.create({
|
|
5175
5199
|
baseURL: "https://dev-platform.labs.livechatinc.com"
|
|
5176
5200
|
});
|
|
5177
5201
|
dpsClientInstance.interceptors.response.use(
|
|
@@ -5220,14 +5244,14 @@ function initDpsClient(baseUrl, token) {
|
|
|
5220
5244
|
}
|
|
5221
5245
|
|
|
5222
5246
|
// src/apis/products/helpdesk/instance.ts
|
|
5223
|
-
var
|
|
5247
|
+
var import_axios27 = __toESM(require("axios"));
|
|
5224
5248
|
var HelpDeskApiError = class extends ApiErrorBase {
|
|
5225
5249
|
constructor() {
|
|
5226
5250
|
super(...arguments);
|
|
5227
5251
|
this.name = "helpdesk";
|
|
5228
5252
|
}
|
|
5229
5253
|
};
|
|
5230
|
-
var helpdeskClientInstance =
|
|
5254
|
+
var helpdeskClientInstance = import_axios27.default.create({
|
|
5231
5255
|
baseURL: "https://api.labs.helpdesk.com"
|
|
5232
5256
|
});
|
|
5233
5257
|
helpdeskClientInstance.interceptors.response.use(
|
|
@@ -5326,7 +5350,7 @@ var LivechatWebhookSystemMessages = /* @__PURE__ */ ((LivechatWebhookSystemMessa
|
|
|
5326
5350
|
})(LivechatWebhookSystemMessages || {});
|
|
5327
5351
|
|
|
5328
5352
|
// src/apis/products/livechat/instance.ts
|
|
5329
|
-
var
|
|
5353
|
+
var import_axios28 = __toESM(require("axios"));
|
|
5330
5354
|
var REGION2 = {
|
|
5331
5355
|
FRA: "fra",
|
|
5332
5356
|
DAL: "dal",
|
|
@@ -5346,7 +5370,7 @@ var LivechatApiError = class extends ApiErrorBase {
|
|
|
5346
5370
|
this.name = "livechat";
|
|
5347
5371
|
}
|
|
5348
5372
|
};
|
|
5349
|
-
var livechatClientInstance =
|
|
5373
|
+
var livechatClientInstance = import_axios28.default.create({
|
|
5350
5374
|
baseURL: "https://api.labs.livechatinc.com"
|
|
5351
5375
|
});
|
|
5352
5376
|
livechatClientInstance.interceptors.response.use(
|
|
@@ -5511,7 +5535,7 @@ var integrationSubscriptionRequestZods = {
|
|
|
5511
5535
|
};
|
|
5512
5536
|
|
|
5513
5537
|
// src/apis/text-intelligence/workflows/adapter/instance.ts
|
|
5514
|
-
var
|
|
5538
|
+
var import_axios29 = __toESM(require("axios"));
|
|
5515
5539
|
var REGION3 = {
|
|
5516
5540
|
FRA: "fra",
|
|
5517
5541
|
DAL: "dal",
|
|
@@ -5541,7 +5565,7 @@ var AdapterApiError = class _AdapterApiError extends ApiErrorBase {
|
|
|
5541
5565
|
);
|
|
5542
5566
|
}
|
|
5543
5567
|
};
|
|
5544
|
-
var adapterClientInstance =
|
|
5568
|
+
var adapterClientInstance = import_axios29.default.create({
|
|
5545
5569
|
baseURL: "https://platform.labs.text.com/console-adapter/api",
|
|
5546
5570
|
headers: {
|
|
5547
5571
|
"Content-Type": "application/json"
|
|
@@ -5702,7 +5726,7 @@ function updateAdapterClient(tokens) {
|
|
|
5702
5726
|
}
|
|
5703
5727
|
|
|
5704
5728
|
// src/apis/text-intelligence/workflows/workflow/instance.ts
|
|
5705
|
-
var
|
|
5729
|
+
var import_axios30 = __toESM(require("axios"));
|
|
5706
5730
|
var REGION4 = {
|
|
5707
5731
|
FRA: "fra",
|
|
5708
5732
|
DAL: "dal",
|
|
@@ -5732,7 +5756,7 @@ var WorkflowsApiError = class _WorkflowsApiError extends ApiErrorBase {
|
|
|
5732
5756
|
);
|
|
5733
5757
|
}
|
|
5734
5758
|
};
|
|
5735
|
-
var workflowsClientInstance =
|
|
5759
|
+
var workflowsClientInstance = import_axios30.default.create({
|
|
5736
5760
|
baseURL: "https://platform.labs.text.com/workflows/api",
|
|
5737
5761
|
headers: {
|
|
5738
5762
|
"Content-Type": "application/json"
|
|
@@ -6291,7 +6315,7 @@ var textApi = {
|
|
|
6291
6315
|
};
|
|
6292
6316
|
|
|
6293
6317
|
// src/apis/integrations/vercel/api.ts
|
|
6294
|
-
var
|
|
6318
|
+
var import_axios31 = __toESM(require("axios"));
|
|
6295
6319
|
|
|
6296
6320
|
// src/apis/integrations/vercel/deploy/api.ts
|
|
6297
6321
|
var vercelDeployApi = {
|
|
@@ -6555,7 +6579,7 @@ var vercelApi = {
|
|
|
6555
6579
|
client_secret: clientSecret,
|
|
6556
6580
|
redirect_uri: redirectUrl
|
|
6557
6581
|
});
|
|
6558
|
-
const response = yield
|
|
6582
|
+
const response = yield import_axios31.default.post("https://api.vercel.com/v2/oauth/access_token", data, {
|
|
6559
6583
|
headers: {
|
|
6560
6584
|
"Content-Type": "application/x-www-form-urlencoded"
|
|
6561
6585
|
}
|
|
@@ -6584,7 +6608,8 @@ var integrationsApi = {
|
|
|
6584
6608
|
openai: openaiApi,
|
|
6585
6609
|
text: textApi,
|
|
6586
6610
|
slack: slackApi,
|
|
6587
|
-
salesforce: salesforceApi
|
|
6611
|
+
salesforce: salesforceApi,
|
|
6612
|
+
klaviyo: klaviyoApi
|
|
6588
6613
|
};
|
|
6589
6614
|
|
|
6590
6615
|
// src/apis/platform/accounts/accounts/api.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { j as ApiPaginatedListQueryParams, m as ApiPaginatedResult, J as ApiPagination, K as AwaitTaskCallback, N as BigCommerceOauthCredential, v as CreateCredentialPayload, O as Credential, P as CredentialCore, C as CredentialDto, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Z as ExternalResourceConfig, _ as ExternalResourceDependency, E as ExternalResourceReference, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, F as FunctionDto, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, t as IntrospectWorkflowTaskPayload, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, ax as ShopifyOauthCredential, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aM as TRIGGER_REFERENCE_NAME, aO as TextAuthCredential, aX as TextOAuthCredential, w as UpdateCredentialPayload, s as UpsertWorkflowPayload, b4 as VercelOauthCredential, b5 as
|
|
1
|
+
export { j as ApiPaginatedListQueryParams, m as ApiPaginatedResult, J as ApiPagination, K as AwaitTaskCallback, N as BigCommerceOauthCredential, v as CreateCredentialPayload, O as Credential, P as CredentialCore, C as CredentialDto, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Z as ExternalResourceConfig, _ as ExternalResourceDependency, E as ExternalResourceReference, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, F as FunctionDto, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, t as IntrospectWorkflowTaskPayload, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, ax as ShopifyOauthCredential, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aM as TRIGGER_REFERENCE_NAME, aO as TextAuthCredential, aX as TextOAuthCredential, w as UpdateCredentialPayload, s as UpsertWorkflowPayload, b4 as VercelOauthCredential, b5 as Workflow, b6 as WorkflowActionTask, b7 as WorkflowActionTaskCore, b8 as WorkflowActionTaskErrorOutput, b9 as WorkflowActionTaskInput, ba as WorkflowActionTaskInputParameters, bb as WorkflowActionTaskSuccessOutput, bc as WorkflowAgentTrigger, bd as WorkflowAgentTriggerCore, be as WorkflowAgentTriggerInput, bf as WorkflowAggregate, l as WorkflowApiCrmAuthorization, bg as WorkflowAwaitTask, bh as WorkflowAwaitTaskCore, bi as WorkflowAwaitTaskInput, bj as WorkflowBranch, bk as WorkflowBundle, bl as WorkflowConditionTask, bm as WorkflowConditionTaskCondition, bn as WorkflowConditionTaskCore, bo as WorkflowConditionTaskFieldType, bp as WorkflowConditionTaskInput, bq as WorkflowConditionTaskLogic, br as WorkflowConditionTaskOperator, bs as WorkflowConditionTaskOperatorGroup, bt as WorkflowConditionTaskOperatorValueType, bu as WorkflowConstructArrayItem, bv as WorkflowConstructObjectField, bw as WorkflowConstructOutputType, bx as WorkflowConstructTask, by as WorkflowConstructTaskCore, bz as WorkflowConstructTaskDefinitionInputParameters, bA as WorkflowConstructTaskInput, bB as WorkflowConstructTaskInputArray, bC as WorkflowConstructTaskInputObject, bD as WorkflowConvertTask, bE as WorkflowConvertTaskCore, bF as WorkflowConvertTaskDefinitionInputParameters, bG as WorkflowConvertTaskInput, bH as WorkflowConvertTaskInputFilter, bI as WorkflowConvertTaskInputJoin, bJ as WorkflowConvertTaskInputLookup, bK as WorkflowConvertTaskInputPickOmit, bL as WorkflowConvertTaskInputPluck, bM as WorkflowConvertTaskInputReducer, bN as WorkflowConvertTaskInputReplace, bO as WorkflowConvertTaskInputSimple, bP as WorkflowConvertTaskInputSort, bQ as WorkflowConvertTaskInputSplit, bR as WorkflowConvertTaskInputSum, bS as WorkflowConvertTaskTransformer, i as WorkflowCore, n as WorkflowCrmOrganization, k as WorkflowCrmOrganizationsOrderBy, o as WorkflowCrmWorkflowsOrderBy, bT as WorkflowCustomTaskName, bU as WorkflowDefinitionDto, bV as WorkflowDoWhileBaseTask, bW as WorkflowDoWhileBaseTaskCore, bX as WorkflowDoWhileBaseTaskInput, bY as WorkflowDoWhileTask, bZ as WorkflowDoWhileTaskCore, W as WorkflowDto, b_ as WorkflowElement, b$ as WorkflowElementCore, c0 as WorkflowElementIdentity, c1 as WorkflowElementRef, q as WorkflowExecution, c2 as WorkflowExecutionActionTaskData, c3 as WorkflowExecutionAwaitTaskData, c4 as WorkflowExecutionChatContext, c5 as WorkflowExecutionConditionTask, c6 as WorkflowExecutionConstructTask, c7 as WorkflowExecutionContext, c8 as WorkflowExecutionConvertTask, c9 as WorkflowExecutionData, ca as WorkflowExecutionDefinitionStatus, cb as WorkflowExecutionDoWhileIterationOutput, cc as WorkflowExecutionDoWhileTaskData, cd as WorkflowExecutionForkJoinTaskData, ce as WorkflowExecutionHttpTaskData, cf as WorkflowExecutionInlineBaseTask, cg as WorkflowExecutionInlineTaskData, ch as WorkflowExecutionJoinTaskData, p as WorkflowExecutionListItem, ci as WorkflowExecutionNotifyAiAgentTaskData, cj as WorkflowExecutionReasoningTaskData, ck as WorkflowExecutionScriptTask, cl as WorkflowExecutionSimpleBaseTaskData, cm as WorkflowExecutionSimpleTaskData, cn as WorkflowExecutionStatus, co as WorkflowExecutionSwitchBaseTask, cp as WorkflowExecutionSwitchCaseTask, cq as WorkflowExecutionSwitchTaskData, cr as WorkflowExecutionTaskBase, cs as WorkflowExecutionTaskData, ct as WorkflowExecutionTaskStatus, cu as WorkflowExecutionTerminateTaskData, cv as WorkflowExecutionTicketContext, cw as WorkflowExecutionTransformBaseTask, cx as WorkflowExecutionTransformTaskData, cy as WorkflowExecutionTriggerData, cz as WorkflowExecutionTriggerDataBase, cA as WorkflowExecutionWaitTaskData, cB as WorkflowForEachTask, cC as WorkflowForEachTaskCore, cD as WorkflowForEachTaskInput, cE as WorkflowForkJoinTask, cF as WorkflowForkJoinTaskCore, cG as WorkflowForkJoinTaskInput, cH as WorkflowFunctionErrorResponseBody, cI as WorkflowGraph, cJ as WorkflowHttpRequest, cK as WorkflowHttpTask, cL as WorkflowHttpTaskCore, cM as WorkflowHttpTaskErrorResponseBody, cN as WorkflowHttpTaskFunctionErrorResponseBody, cO as WorkflowHttpTaskHeaders, cP as WorkflowHttpTaskInput, cQ as WorkflowHttpTaskProviderErrorResponseBody, cR as WorkflowInlineBaseTask, cS as WorkflowInlineBaseTaskCore, cT as WorkflowInlineBaseTaskInput, cU as WorkflowInlineTask, cV as WorkflowInlineTaskCore, r as WorkflowIntrospection, cW as WorkflowItemKind, cX as WorkflowJoinTask, cY as WorkflowJoinTaskCore, cZ as WorkflowJoinTaskInput, c_ as WorkflowLoopTask, c$ as WorkflowLoopTaskCore, d0 as WorkflowLoopTaskInput, d1 as WorkflowManualTrigger, d2 as WorkflowManualTriggerCore, d3 as WorkflowManualTriggerInput, d4 as WorkflowManualTriggerParameter, d5 as WorkflowNode, d6 as WorkflowNotifyAiAgentTask, d7 as WorkflowNotifyAiAgentTaskCore, d8 as WorkflowNotifyAiAgentTaskInput, d9 as WorkflowNotifyAiAgentTaskObjectiveInput, da as WorkflowNotifyAiAgentTaskStrictInput, db as WorkflowOneTimeTrigger, dc as WorkflowOneTimeTriggerCore, dd as WorkflowOneTimeTriggerInput, de as WorkflowParentRef, df as WorkflowPlan, dg as WorkflowPlanTask, dh as WorkflowPlanTrigger, di as WorkflowReasoningOption, dj as WorkflowReasoningOptionAgent, dk as WorkflowReasoningOptionCustomer, dl as WorkflowReasoningTask, dm as WorkflowReasoningTaskCore, dn as WorkflowReasoningTaskInput, dp as WorkflowRecurringTrigger, dq as WorkflowRecurringTriggerCore, dr as WorkflowRecurringTriggerInput, ds as WorkflowScriptTask, dt as WorkflowScriptTaskCore, du as WorkflowScriptTaskInput, dv as WorkflowSimpleBaseTask, dw as WorkflowSimpleBaseTaskCore, dx as WorkflowSimpleTask, dy as WorkflowSimpleTaskCore, dz as WorkflowSwitchBaseTask, dA as WorkflowSwitchBaseTaskCore, dB as WorkflowSwitchCaseTask, dC as WorkflowSwitchCaseTaskCore, dD as WorkflowSwitchCaseTaskInput, dE as WorkflowSwitchTask, dF as WorkflowSwitchTaskCore, dG as WorkflowSwitchTaskInput, dH as WorkflowTask, dI as WorkflowTaskBase, dJ as WorkflowTaskCore, dK as WorkflowTaskCoreBase, dL as WorkflowTaskIdentity, u as WorkflowTaskIntrospectResponse, dM as WorkflowTaskIntrospection, dN as WorkflowTaskOf, dO as WorkflowTaskType, z as WorkflowTemplate, dP as WorkflowTemplateCategory, y as WorkflowTemplateListEntry, dQ as WorkflowTemplateMetadataItem, x as WorkflowTemplateOrderBy, dR as WorkflowTerminateTask, dS as WorkflowTerminateTaskCore, dT as WorkflowTerminateTaskInput, dU as WorkflowTransformBaseTask, dV as WorkflowTransformBaseTaskCore, dW as WorkflowTransformBaseTaskInput, dX as WorkflowTransformTask, dY as WorkflowTransformTaskCore, dZ as WorkflowTrigger, d_ as WorkflowTriggerBase, d$ as WorkflowTriggerCore, e0 as WorkflowTriggerDto, e1 as WorkflowTriggerIdentity, e2 as WorkflowTriggerOf, e3 as WorkflowTriggerType, e4 as WorkflowWaitTask, e5 as WorkflowWaitTaskCore, e6 as WorkflowWaitTaskInput, e7 as WorkflowWebhook, e8 as WorkflowWebhookManualTrigger, e9 as WorkflowWebhookManualTriggerCore, ea as WorkflowWebhookTrigger, eb as WorkflowWebhookTriggerCore, ec as WorkflowWebhookTriggerPure, eg as getWorkflowApiCrmConfig, em as isFilter, en as isFilterGroup, ep as serializeFilters } from './events-DAbR7Qk8.mjs';
|
|
2
2
|
import 'utils';
|
|
3
3
|
import 'json-schema';
|
|
4
4
|
import 'zod';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { j as ApiPaginatedListQueryParams, m as ApiPaginatedResult, J as ApiPagination, K as AwaitTaskCallback, N as BigCommerceOauthCredential, v as CreateCredentialPayload, O as Credential, P as CredentialCore, C as CredentialDto, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Z as ExternalResourceConfig, _ as ExternalResourceDependency, E as ExternalResourceReference, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, F as FunctionDto, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, t as IntrospectWorkflowTaskPayload, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, ax as ShopifyOauthCredential, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aM as TRIGGER_REFERENCE_NAME, aO as TextAuthCredential, aX as TextOAuthCredential, w as UpdateCredentialPayload, s as UpsertWorkflowPayload, b4 as VercelOauthCredential, b5 as
|
|
1
|
+
export { j as ApiPaginatedListQueryParams, m as ApiPaginatedResult, J as ApiPagination, K as AwaitTaskCallback, N as BigCommerceOauthCredential, v as CreateCredentialPayload, O as Credential, P as CredentialCore, C as CredentialDto, Q as CredentialInjection, R as CredentialStatus, V as CredentialType, X as CredentialTypeDisplayNameMapping, Z as ExternalResourceConfig, _ as ExternalResourceDependency, E as ExternalResourceReference, $ as Filter, a0 as FilterGroup, a1 as FilterOperator, a2 as FilterValue, a3 as Filters, F as FunctionDto, a4 as FunctionSchema, a5 as GitHubAppCredential, a6 as GitHubOauthCredential, a7 as HubSpotOauthCredential, t as IntrospectWorkflowTaskPayload, an as MailchimpOauthCredential, ao as NeonOauthCredential, ap as NetlifyOauthCredential, aq as OAuthCredential, ar as OauthCredentialGrantType, as as OpenaiCredential, at as PlanetScaleOauthCredential, au as SalesforceOauthCredential, ax as ShopifyOauthCredential, aA as SlackOauthCredential, aB as SortBy, aC as SortOrder, aD as Sorting, aM as TRIGGER_REFERENCE_NAME, aO as TextAuthCredential, aX as TextOAuthCredential, w as UpdateCredentialPayload, s as UpsertWorkflowPayload, b4 as VercelOauthCredential, b5 as Workflow, b6 as WorkflowActionTask, b7 as WorkflowActionTaskCore, b8 as WorkflowActionTaskErrorOutput, b9 as WorkflowActionTaskInput, ba as WorkflowActionTaskInputParameters, bb as WorkflowActionTaskSuccessOutput, bc as WorkflowAgentTrigger, bd as WorkflowAgentTriggerCore, be as WorkflowAgentTriggerInput, bf as WorkflowAggregate, l as WorkflowApiCrmAuthorization, bg as WorkflowAwaitTask, bh as WorkflowAwaitTaskCore, bi as WorkflowAwaitTaskInput, bj as WorkflowBranch, bk as WorkflowBundle, bl as WorkflowConditionTask, bm as WorkflowConditionTaskCondition, bn as WorkflowConditionTaskCore, bo as WorkflowConditionTaskFieldType, bp as WorkflowConditionTaskInput, bq as WorkflowConditionTaskLogic, br as WorkflowConditionTaskOperator, bs as WorkflowConditionTaskOperatorGroup, bt as WorkflowConditionTaskOperatorValueType, bu as WorkflowConstructArrayItem, bv as WorkflowConstructObjectField, bw as WorkflowConstructOutputType, bx as WorkflowConstructTask, by as WorkflowConstructTaskCore, bz as WorkflowConstructTaskDefinitionInputParameters, bA as WorkflowConstructTaskInput, bB as WorkflowConstructTaskInputArray, bC as WorkflowConstructTaskInputObject, bD as WorkflowConvertTask, bE as WorkflowConvertTaskCore, bF as WorkflowConvertTaskDefinitionInputParameters, bG as WorkflowConvertTaskInput, bH as WorkflowConvertTaskInputFilter, bI as WorkflowConvertTaskInputJoin, bJ as WorkflowConvertTaskInputLookup, bK as WorkflowConvertTaskInputPickOmit, bL as WorkflowConvertTaskInputPluck, bM as WorkflowConvertTaskInputReducer, bN as WorkflowConvertTaskInputReplace, bO as WorkflowConvertTaskInputSimple, bP as WorkflowConvertTaskInputSort, bQ as WorkflowConvertTaskInputSplit, bR as WorkflowConvertTaskInputSum, bS as WorkflowConvertTaskTransformer, i as WorkflowCore, n as WorkflowCrmOrganization, k as WorkflowCrmOrganizationsOrderBy, o as WorkflowCrmWorkflowsOrderBy, bT as WorkflowCustomTaskName, bU as WorkflowDefinitionDto, bV as WorkflowDoWhileBaseTask, bW as WorkflowDoWhileBaseTaskCore, bX as WorkflowDoWhileBaseTaskInput, bY as WorkflowDoWhileTask, bZ as WorkflowDoWhileTaskCore, W as WorkflowDto, b_ as WorkflowElement, b$ as WorkflowElementCore, c0 as WorkflowElementIdentity, c1 as WorkflowElementRef, q as WorkflowExecution, c2 as WorkflowExecutionActionTaskData, c3 as WorkflowExecutionAwaitTaskData, c4 as WorkflowExecutionChatContext, c5 as WorkflowExecutionConditionTask, c6 as WorkflowExecutionConstructTask, c7 as WorkflowExecutionContext, c8 as WorkflowExecutionConvertTask, c9 as WorkflowExecutionData, ca as WorkflowExecutionDefinitionStatus, cb as WorkflowExecutionDoWhileIterationOutput, cc as WorkflowExecutionDoWhileTaskData, cd as WorkflowExecutionForkJoinTaskData, ce as WorkflowExecutionHttpTaskData, cf as WorkflowExecutionInlineBaseTask, cg as WorkflowExecutionInlineTaskData, ch as WorkflowExecutionJoinTaskData, p as WorkflowExecutionListItem, ci as WorkflowExecutionNotifyAiAgentTaskData, cj as WorkflowExecutionReasoningTaskData, ck as WorkflowExecutionScriptTask, cl as WorkflowExecutionSimpleBaseTaskData, cm as WorkflowExecutionSimpleTaskData, cn as WorkflowExecutionStatus, co as WorkflowExecutionSwitchBaseTask, cp as WorkflowExecutionSwitchCaseTask, cq as WorkflowExecutionSwitchTaskData, cr as WorkflowExecutionTaskBase, cs as WorkflowExecutionTaskData, ct as WorkflowExecutionTaskStatus, cu as WorkflowExecutionTerminateTaskData, cv as WorkflowExecutionTicketContext, cw as WorkflowExecutionTransformBaseTask, cx as WorkflowExecutionTransformTaskData, cy as WorkflowExecutionTriggerData, cz as WorkflowExecutionTriggerDataBase, cA as WorkflowExecutionWaitTaskData, cB as WorkflowForEachTask, cC as WorkflowForEachTaskCore, cD as WorkflowForEachTaskInput, cE as WorkflowForkJoinTask, cF as WorkflowForkJoinTaskCore, cG as WorkflowForkJoinTaskInput, cH as WorkflowFunctionErrorResponseBody, cI as WorkflowGraph, cJ as WorkflowHttpRequest, cK as WorkflowHttpTask, cL as WorkflowHttpTaskCore, cM as WorkflowHttpTaskErrorResponseBody, cN as WorkflowHttpTaskFunctionErrorResponseBody, cO as WorkflowHttpTaskHeaders, cP as WorkflowHttpTaskInput, cQ as WorkflowHttpTaskProviderErrorResponseBody, cR as WorkflowInlineBaseTask, cS as WorkflowInlineBaseTaskCore, cT as WorkflowInlineBaseTaskInput, cU as WorkflowInlineTask, cV as WorkflowInlineTaskCore, r as WorkflowIntrospection, cW as WorkflowItemKind, cX as WorkflowJoinTask, cY as WorkflowJoinTaskCore, cZ as WorkflowJoinTaskInput, c_ as WorkflowLoopTask, c$ as WorkflowLoopTaskCore, d0 as WorkflowLoopTaskInput, d1 as WorkflowManualTrigger, d2 as WorkflowManualTriggerCore, d3 as WorkflowManualTriggerInput, d4 as WorkflowManualTriggerParameter, d5 as WorkflowNode, d6 as WorkflowNotifyAiAgentTask, d7 as WorkflowNotifyAiAgentTaskCore, d8 as WorkflowNotifyAiAgentTaskInput, d9 as WorkflowNotifyAiAgentTaskObjectiveInput, da as WorkflowNotifyAiAgentTaskStrictInput, db as WorkflowOneTimeTrigger, dc as WorkflowOneTimeTriggerCore, dd as WorkflowOneTimeTriggerInput, de as WorkflowParentRef, df as WorkflowPlan, dg as WorkflowPlanTask, dh as WorkflowPlanTrigger, di as WorkflowReasoningOption, dj as WorkflowReasoningOptionAgent, dk as WorkflowReasoningOptionCustomer, dl as WorkflowReasoningTask, dm as WorkflowReasoningTaskCore, dn as WorkflowReasoningTaskInput, dp as WorkflowRecurringTrigger, dq as WorkflowRecurringTriggerCore, dr as WorkflowRecurringTriggerInput, ds as WorkflowScriptTask, dt as WorkflowScriptTaskCore, du as WorkflowScriptTaskInput, dv as WorkflowSimpleBaseTask, dw as WorkflowSimpleBaseTaskCore, dx as WorkflowSimpleTask, dy as WorkflowSimpleTaskCore, dz as WorkflowSwitchBaseTask, dA as WorkflowSwitchBaseTaskCore, dB as WorkflowSwitchCaseTask, dC as WorkflowSwitchCaseTaskCore, dD as WorkflowSwitchCaseTaskInput, dE as WorkflowSwitchTask, dF as WorkflowSwitchTaskCore, dG as WorkflowSwitchTaskInput, dH as WorkflowTask, dI as WorkflowTaskBase, dJ as WorkflowTaskCore, dK as WorkflowTaskCoreBase, dL as WorkflowTaskIdentity, u as WorkflowTaskIntrospectResponse, dM as WorkflowTaskIntrospection, dN as WorkflowTaskOf, dO as WorkflowTaskType, z as WorkflowTemplate, dP as WorkflowTemplateCategory, y as WorkflowTemplateListEntry, dQ as WorkflowTemplateMetadataItem, x as WorkflowTemplateOrderBy, dR as WorkflowTerminateTask, dS as WorkflowTerminateTaskCore, dT as WorkflowTerminateTaskInput, dU as WorkflowTransformBaseTask, dV as WorkflowTransformBaseTaskCore, dW as WorkflowTransformBaseTaskInput, dX as WorkflowTransformTask, dY as WorkflowTransformTaskCore, dZ as WorkflowTrigger, d_ as WorkflowTriggerBase, d$ as WorkflowTriggerCore, e0 as WorkflowTriggerDto, e1 as WorkflowTriggerIdentity, e2 as WorkflowTriggerOf, e3 as WorkflowTriggerType, e4 as WorkflowWaitTask, e5 as WorkflowWaitTaskCore, e6 as WorkflowWaitTaskInput, e7 as WorkflowWebhook, e8 as WorkflowWebhookManualTrigger, e9 as WorkflowWebhookManualTriggerCore, ea as WorkflowWebhookTrigger, eb as WorkflowWebhookTriggerCore, ec as WorkflowWebhookTriggerPure, eg as getWorkflowApiCrmConfig, em as isFilter, en as isFilterGroup, ep as serializeFilters } from './events-DAbR7Qk8.js';
|
|
2
2
|
import 'utils';
|
|
3
3
|
import 'json-schema';
|
|
4
4
|
import 'zod';
|