@epilot/sdk 2.20.35 → 2.20.36
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/definitions/chat-runtime.json +1 -1
- package/definitions/chat.json +749 -126
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/chat.cjs +8 -8
- package/dist/apis/chat.d.cts +2 -2
- package/dist/apis/chat.d.ts +2 -2
- package/dist/apis/chat.js +2 -2
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/chat-3MIK7DUI.js +7 -0
- package/dist/chat-IWMQEXCD.cjs +7 -0
- package/dist/{chat-runtime-MF35HI2U.js → chat-runtime-O46V7MCD.js} +1 -1
- package/dist/chat-runtime-QSGSW6SL.cjs +5 -0
- package/dist/{chat.d-0w0TaT-a.d.cts → chat.d-mUHenLz7.d.cts} +564 -365
- package/dist/{chat.d-0w0TaT-a.d.ts → chat.d-mUHenLz7.d.ts} +564 -365
- package/dist/chunk-2F4JXHGX.js +14 -0
- package/dist/chunk-QWQ6UINA.cjs +14 -0
- package/dist/{chunk-RE2KDGKQ.cjs → chunk-RSP6PAXQ.cjs} +2 -2
- package/dist/{chunk-OXXS3O7X.js → chunk-YH6DUNL2.js} +2 -2
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/docs/chat.md +231 -77
- package/package.json +1 -1
- package/dist/chat-5EOD2OPN.cjs +0 -7
- package/dist/chat-D5KXPRYY.js +0 -7
- package/dist/chat-runtime-MYMUFT3Y.cjs +0 -5
- package/dist/chunk-6ZTP7EQE.js +0 -14
- package/dist/chunk-A5THJ4SF.cjs +0 -14
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS
|
|
3
|
+
} from "./chunk-YPSWSI3M.js";
|
|
4
|
+
|
|
5
|
+
// src/definitions/chat-runtime.json
|
|
6
|
+
var require_chat_runtime = __commonJS({
|
|
7
|
+
"src/definitions/chat-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://chat.sls.epilot.io", o: [["listWebsiteChats", "get", "/v1/website-chats", [["cursor", "q"]]], ["createWebsiteChat", "post", "/v1/website-chats", null, 1], ["getWebsiteChat", "get", "/v1/website-chats/{website_chat_id}"], ["updateWebsiteChat", "put", "/v1/website-chats/{website_chat_id}", null, 1], ["deleteWebsiteChat", "delete", "/v1/website-chats/{website_chat_id}", [["version", "q", true]]], ["getPublicWebsiteChat", "get", "/v1/website-chats/{website_chat_id}/configuration", [["website_chat_id", "p", true]]], ["createPublicChatGrant", "post", "/v1/bootstrap", null, 1], ["createAnonymousChatSession", "post", "/v1/sessions", null, 1], ["sendAnonymousChatMessage", "post", "/v1/messages", null, 1], ["getChatVerification", "get", "/v1/verification"], ["startChatEmailVerification", "post", "/v1/verification/email", null, 1], ["verifyChatEmailCode", "post", "/v1/verification/code", null, 1], ["cancelChatVerification", "post", "/v1/verification/cancel"]], v: "3.0.3", pp: { "/v1/website-chats/{website_chat_id}": [["website_chat_id", "p", true]] } };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
require_chat_runtime
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
|
+
|
|
5
|
+
// src/definitions/chat-runtime.json
|
|
6
|
+
var require_chat_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
|
+
"src/definitions/chat-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://chat.sls.epilot.io", o: [["listWebsiteChats", "get", "/v1/website-chats", [["cursor", "q"]]], ["createWebsiteChat", "post", "/v1/website-chats", null, 1], ["getWebsiteChat", "get", "/v1/website-chats/{website_chat_id}"], ["updateWebsiteChat", "put", "/v1/website-chats/{website_chat_id}", null, 1], ["deleteWebsiteChat", "delete", "/v1/website-chats/{website_chat_id}", [["version", "q", true]]], ["getPublicWebsiteChat", "get", "/v1/website-chats/{website_chat_id}/configuration", [["website_chat_id", "p", true]]], ["createPublicChatGrant", "post", "/v1/bootstrap", null, 1], ["createAnonymousChatSession", "post", "/v1/sessions", null, 1], ["sendAnonymousChatMessage", "post", "/v1/messages", null, 1], ["getChatVerification", "get", "/v1/verification"], ["startChatEmailVerification", "post", "/v1/verification/email", null, 1], ["verifyChatEmailCode", "post", "/v1/verification/code", null, 1], ["cancelChatVerification", "post", "/v1/verification/cancel"]], v: "3.0.3", pp: { "/v1/website-chats/{website_chat_id}": [["website_chat_id", "p", true]] } };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.require_chat_runtime = require_chat_runtime;
|
|
@@ -39,7 +39,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
39
39
|
"./docs/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-CKCFSK6K.cjs"))),
|
|
40
40
|
"./docs/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-SXG3M6B4.cjs"))),
|
|
41
41
|
"./docs/calendar.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./calendar-UADWQX7G.cjs"))),
|
|
42
|
-
"./docs/chat.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./chat-
|
|
42
|
+
"./docs/chat.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./chat-IWMQEXCD.cjs"))),
|
|
43
43
|
"./docs/configuration-hub.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-6TSL5AGX.cjs"))),
|
|
44
44
|
"./docs/consent.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-CS2ZBZX4.cjs"))),
|
|
45
45
|
"./docs/customer-portal.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./customer-portal-2K3FXGI4.cjs"))),
|
|
@@ -120,7 +120,7 @@ var globImport_definitions_json = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
120
120
|
"./definitions/blueprint-manifest-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-runtime-Y63YPBU3.cjs"))),
|
|
121
121
|
"./definitions/blueprint-manifest.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./blueprint-manifest-5TNVSDKC.cjs"))),
|
|
122
122
|
"./definitions/calendar-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./calendar-runtime-WMR6GL6I.cjs"))),
|
|
123
|
-
"./definitions/chat-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./chat-runtime-
|
|
123
|
+
"./definitions/chat-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./chat-runtime-QSGSW6SL.cjs"))),
|
|
124
124
|
"./definitions/configuration-hub-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./configuration-hub-runtime-3RFJBODE.cjs"))),
|
|
125
125
|
"./definitions/consent-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-runtime-KZ5D4XZU.cjs"))),
|
|
126
126
|
"./definitions/consent.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./consent-6SIH4NQS.cjs"))),
|
|
@@ -39,7 +39,7 @@ var globImport_docs = __glob({
|
|
|
39
39
|
"./docs/billing.json": () => import("./billing-UJ6I7FPG.js"),
|
|
40
40
|
"./docs/blueprint-manifest.json": () => import("./blueprint-manifest-YU2UZLHV.js"),
|
|
41
41
|
"./docs/calendar.json": () => import("./calendar-2H4RGMV3.js"),
|
|
42
|
-
"./docs/chat.json": () => import("./chat-
|
|
42
|
+
"./docs/chat.json": () => import("./chat-3MIK7DUI.js"),
|
|
43
43
|
"./docs/configuration-hub.json": () => import("./configuration-hub-ZYOLN7ZX.js"),
|
|
44
44
|
"./docs/consent.json": () => import("./consent-NNYHF2N4.js"),
|
|
45
45
|
"./docs/customer-portal.json": () => import("./customer-portal-QU3C24B4.js"),
|
|
@@ -120,7 +120,7 @@ var globImport_definitions_json = __glob({
|
|
|
120
120
|
"./definitions/blueprint-manifest-runtime.json": () => import("./blueprint-manifest-runtime-EQX7FPFC.js"),
|
|
121
121
|
"./definitions/blueprint-manifest.json": () => import("./blueprint-manifest-UGGYWGRZ.js"),
|
|
122
122
|
"./definitions/calendar-runtime.json": () => import("./calendar-runtime-KZPDEYT7.js"),
|
|
123
|
-
"./definitions/chat-runtime.json": () => import("./chat-runtime-
|
|
123
|
+
"./definitions/chat-runtime.json": () => import("./chat-runtime-O46V7MCD.js"),
|
|
124
124
|
"./definitions/configuration-hub-runtime.json": () => import("./configuration-hub-runtime-EG2OIBXX.js"),
|
|
125
125
|
"./definitions/consent-runtime.json": () => import("./consent-runtime-OAPXBJH2.js"),
|
|
126
126
|
"./definitions/consent.json": () => import("./consent-7MNRAINV.js"),
|
package/dist/index.cjs
CHANGED
|
@@ -120,7 +120,7 @@ var _chunkO2AM3DYPcjs = require('./chunk-O2AM3DYP.cjs');
|
|
|
120
120
|
var _chunkHBJJOW2Mcjs = require('./chunk-HBJJOW2M.cjs');
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
var
|
|
123
|
+
var _chunkQWQ6UINAcjs = require('./chunk-QWQ6UINA.cjs');
|
|
124
124
|
|
|
125
125
|
|
|
126
126
|
var _chunk2674L26Scjs = require('./chunk-2674L26S.cjs');
|
|
@@ -161,7 +161,7 @@ var _chunkWOUASZJWcjs = require('./chunk-WOUASZJW.cjs');
|
|
|
161
161
|
|
|
162
162
|
|
|
163
163
|
|
|
164
|
-
var
|
|
164
|
+
var _chunkRSP6PAXQcjs = require('./chunk-RSP6PAXQ.cjs');
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
@@ -228,7 +228,7 @@ var resolveClient = (params) => {
|
|
|
228
228
|
}
|
|
229
229
|
if (!entry.instance) {
|
|
230
230
|
const definition = entry.loader();
|
|
231
|
-
entry.instance =
|
|
231
|
+
entry.instance = _chunkRSP6PAXQcjs.createApiClient.call(void 0, {
|
|
232
232
|
definition,
|
|
233
233
|
token: state.token,
|
|
234
234
|
headers: state.globalHeaders,
|
|
@@ -261,7 +261,7 @@ var resetAllClients = (registry) => {
|
|
|
261
261
|
};
|
|
262
262
|
|
|
263
263
|
// src/apis/_registry.ts
|
|
264
|
-
var expandDef = (mod) =>
|
|
264
|
+
var expandDef = (mod) => _chunkRSP6PAXQcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
265
265
|
var registerBuiltinApis = (registry) => {
|
|
266
266
|
registerApi({
|
|
267
267
|
registry,
|
|
@@ -316,7 +316,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
316
316
|
registerApi({
|
|
317
317
|
registry,
|
|
318
318
|
name: "chat",
|
|
319
|
-
loader: () => expandDef(
|
|
319
|
+
loader: () => expandDef(_chunkQWQ6UINAcjs.require_chat_runtime.call(void 0, ))
|
|
320
320
|
});
|
|
321
321
|
registerApi({
|
|
322
322
|
registry,
|
|
@@ -609,9 +609,9 @@ var createSDK = () => {
|
|
|
609
609
|
const available = [...registry.keys()].join(", ");
|
|
610
610
|
throw new Error(`Unknown API: "${name}". Available: ${available}`);
|
|
611
611
|
}
|
|
612
|
-
return
|
|
612
|
+
return _chunkRSP6PAXQcjs.createApiHandle.call(void 0, {
|
|
613
613
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
614
|
-
createClient: () =>
|
|
614
|
+
createClient: () => _chunkRSP6PAXQcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
|
|
615
615
|
apiName: name
|
|
616
616
|
});
|
|
617
617
|
};
|
|
@@ -659,9 +659,9 @@ var createSDK = () => {
|
|
|
659
659
|
return interceptorUse;
|
|
660
660
|
}
|
|
661
661
|
case "help":
|
|
662
|
-
return (apiName) =>
|
|
662
|
+
return (apiName) => _chunkRSP6PAXQcjs.help.call(void 0, apiName);
|
|
663
663
|
case "openapi":
|
|
664
|
-
return (apiName) =>
|
|
664
|
+
return (apiName) => _chunkRSP6PAXQcjs.openapi.call(void 0, apiName);
|
|
665
665
|
case "then":
|
|
666
666
|
case "catch":
|
|
667
667
|
case "finally":
|
|
@@ -691,4 +691,4 @@ var epilot = createSDK();
|
|
|
691
691
|
|
|
692
692
|
|
|
693
693
|
|
|
694
|
-
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize =
|
|
694
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkRSP6PAXQcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkRSP6PAXQcjs.help; exports.openapi = _chunkRSP6PAXQcjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -13,7 +13,7 @@ import { C as Client$6 } from './automation.d-B8g3nYp-.cjs';
|
|
|
13
13
|
import { C as Client$7 } from './billing.d-DA3sViEF.cjs';
|
|
14
14
|
import { C as Client$8 } from './blueprint-manifest.d-B8YKYzSJ.cjs';
|
|
15
15
|
import { C as Client$9 } from './calendar.d-mk-ltGpk.cjs';
|
|
16
|
-
import { C as Client$a } from './chat.d-
|
|
16
|
+
import { C as Client$a } from './chat.d-mUHenLz7.cjs';
|
|
17
17
|
import { C as Client$b } from './configuration-hub.d-DhPrjJkE.cjs';
|
|
18
18
|
import { C as Client$c } from './consent.d-C2PROHhX.cjs';
|
|
19
19
|
import { C as Client$d } from './customer-portal.d-DF4g7c3i.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { C as Client$6 } from './automation.d-B8g3nYp-.js';
|
|
|
13
13
|
import { C as Client$7 } from './billing.d-DA3sViEF.js';
|
|
14
14
|
import { C as Client$8 } from './blueprint-manifest.d-B8YKYzSJ.js';
|
|
15
15
|
import { C as Client$9 } from './calendar.d-mk-ltGpk.js';
|
|
16
|
-
import { C as Client$a } from './chat.d-
|
|
16
|
+
import { C as Client$a } from './chat.d-mUHenLz7.js';
|
|
17
17
|
import { C as Client$b } from './configuration-hub.d-DhPrjJkE.js';
|
|
18
18
|
import { C as Client$c } from './consent.d-C2PROHhX.js';
|
|
19
19
|
import { C as Client$d } from './customer-portal.d-DF4g7c3i.js';
|
package/dist/index.js
CHANGED
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
} from "./chunk-QEAIJQTE.js";
|
|
121
121
|
import {
|
|
122
122
|
require_chat_runtime
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-2F4JXHGX.js";
|
|
124
124
|
import {
|
|
125
125
|
require_configuration_hub_runtime
|
|
126
126
|
} from "./chunk-TH4IM6Q6.js";
|
|
@@ -161,7 +161,7 @@ import {
|
|
|
161
161
|
expand,
|
|
162
162
|
help,
|
|
163
163
|
openapi
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-YH6DUNL2.js";
|
|
165
165
|
import {
|
|
166
166
|
__require
|
|
167
167
|
} from "./chunk-YPSWSI3M.js";
|