@livechat/developer-studio-api 3.4.18 → 3.4.19
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +13 -12
- package/dist/index.mjs +13 -12
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -8233,7 +8233,7 @@ var api2 = {
|
|
|
8233
8233
|
isInitialized: false
|
|
8234
8234
|
};
|
|
8235
8235
|
function initApi(config, tokens) {
|
|
8236
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
|
8236
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
8237
8237
|
initPlatformAccountsClient(
|
|
8238
8238
|
(_a = config.urls.platform) == null ? void 0 : _a.accounts,
|
|
8239
8239
|
(_b = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _b.token
|
|
@@ -8255,17 +8255,18 @@ function initApi(config, tokens) {
|
|
|
8255
8255
|
} : void 0
|
|
8256
8256
|
);
|
|
8257
8257
|
initLiveChatClient((_h = config.urls.products) == null ? void 0 : _h.livechat, (_i = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _i.token);
|
|
8258
|
-
|
|
8259
|
-
|
|
8260
|
-
|
|
8261
|
-
|
|
8262
|
-
|
|
8263
|
-
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
|
|
8258
|
+
initHelpDeskClient((_j = config.urls.products) == null ? void 0 : _j.helpdesk, (_k = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _k.token);
|
|
8259
|
+
initTextClient((_l = config.urls.integrations) == null ? void 0 : _l.text, (_m = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _m.token);
|
|
8260
|
+
initGithubClient((_n = tokens == null ? void 0 : tokens.github) == null ? void 0 : _n.appToken);
|
|
8261
|
+
initNetlifyClient((_o = tokens == null ? void 0 : tokens.netlify) == null ? void 0 : _o.token);
|
|
8262
|
+
initVercelClient((_p = tokens == null ? void 0 : tokens.vercel) == null ? void 0 : _p.token);
|
|
8263
|
+
initNeonClient((_q = tokens == null ? void 0 : tokens.neon) == null ? void 0 : _q.token);
|
|
8264
|
+
initPlanetScaleClient((_r = tokens == null ? void 0 : tokens.planetscale) == null ? void 0 : _r.token);
|
|
8265
|
+
initMailchimpClient((_s = tokens == null ? void 0 : tokens.mailchimp) == null ? void 0 : _s.token, (_t = tokens == null ? void 0 : tokens.mailchimp) == null ? void 0 : _t.server);
|
|
8266
|
+
initShopifyClient((_u = tokens == null ? void 0 : tokens.shopify) == null ? void 0 : _u.token, (_v = tokens == null ? void 0 : tokens.shopify) == null ? void 0 : _v.shop);
|
|
8267
|
+
initBigCommerceClient((_w = tokens == null ? void 0 : tokens.bigcommerce) == null ? void 0 : _w.token, (_x = tokens == null ? void 0 : tokens.bigcommerce) == null ? void 0 : _x.shop);
|
|
8268
|
+
initHubspotClient((_y = tokens == null ? void 0 : tokens.hubspot) == null ? void 0 : _y.token);
|
|
8269
|
+
initSlackClient((_z = tokens == null ? void 0 : tokens.slack) == null ? void 0 : _z.token);
|
|
8269
8270
|
api2.isInitialized = true;
|
|
8270
8271
|
}
|
|
8271
8272
|
|
package/dist/index.mjs
CHANGED
|
@@ -8080,7 +8080,7 @@ var api2 = {
|
|
|
8080
8080
|
isInitialized: false
|
|
8081
8081
|
};
|
|
8082
8082
|
function initApi(config, tokens) {
|
|
8083
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
|
8083
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
8084
8084
|
initPlatformAccountsClient(
|
|
8085
8085
|
(_a = config.urls.platform) == null ? void 0 : _a.accounts,
|
|
8086
8086
|
(_b = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _b.token
|
|
@@ -8102,17 +8102,18 @@ function initApi(config, tokens) {
|
|
|
8102
8102
|
} : void 0
|
|
8103
8103
|
);
|
|
8104
8104
|
initLiveChatClient((_h = config.urls.products) == null ? void 0 : _h.livechat, (_i = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _i.token);
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
|
|
8108
|
-
|
|
8109
|
-
|
|
8110
|
-
|
|
8111
|
-
|
|
8112
|
-
|
|
8113
|
-
|
|
8114
|
-
|
|
8115
|
-
|
|
8105
|
+
initHelpDeskClient((_j = config.urls.products) == null ? void 0 : _j.helpdesk, (_k = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _k.token);
|
|
8106
|
+
initTextClient((_l = config.urls.integrations) == null ? void 0 : _l.text, (_m = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _m.token);
|
|
8107
|
+
initGithubClient((_n = tokens == null ? void 0 : tokens.github) == null ? void 0 : _n.appToken);
|
|
8108
|
+
initNetlifyClient((_o = tokens == null ? void 0 : tokens.netlify) == null ? void 0 : _o.token);
|
|
8109
|
+
initVercelClient((_p = tokens == null ? void 0 : tokens.vercel) == null ? void 0 : _p.token);
|
|
8110
|
+
initNeonClient((_q = tokens == null ? void 0 : tokens.neon) == null ? void 0 : _q.token);
|
|
8111
|
+
initPlanetScaleClient((_r = tokens == null ? void 0 : tokens.planetscale) == null ? void 0 : _r.token);
|
|
8112
|
+
initMailchimpClient((_s = tokens == null ? void 0 : tokens.mailchimp) == null ? void 0 : _s.token, (_t = tokens == null ? void 0 : tokens.mailchimp) == null ? void 0 : _t.server);
|
|
8113
|
+
initShopifyClient((_u = tokens == null ? void 0 : tokens.shopify) == null ? void 0 : _u.token, (_v = tokens == null ? void 0 : tokens.shopify) == null ? void 0 : _v.shop);
|
|
8114
|
+
initBigCommerceClient((_w = tokens == null ? void 0 : tokens.bigcommerce) == null ? void 0 : _w.token, (_x = tokens == null ? void 0 : tokens.bigcommerce) == null ? void 0 : _x.shop);
|
|
8115
|
+
initHubspotClient((_y = tokens == null ? void 0 : tokens.hubspot) == null ? void 0 : _y.token);
|
|
8116
|
+
initSlackClient((_z = tokens == null ? void 0 : tokens.slack) == null ? void 0 : _z.token);
|
|
8116
8117
|
api2.isInitialized = true;
|
|
8117
8118
|
}
|
|
8118
8119
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.19",
|
|
4
4
|
"description": "This project is API for LiveChat Developer Studio.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"@types/node": "^17.0.12",
|
|
21
21
|
"tsup": "^7.1.0",
|
|
22
22
|
"typescript": "^5.1.6",
|
|
23
|
-
"eslint-config-custom": "0.0.10",
|
|
24
23
|
"tsconfig": "0.0.1",
|
|
25
|
-
"utils": "0.0.5"
|
|
24
|
+
"utils": "0.0.5",
|
|
25
|
+
"eslint-config-custom": "0.0.10"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsup",
|