@chatbotkit/sdk 1.9.1 → 1.11.0
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/README.md +8 -0
- package/dist/cjs/bot/v1.d.ts +1 -0
- package/dist/cjs/contact/index.cjs +27 -0
- package/dist/cjs/contact/index.d.ts +10 -0
- package/dist/cjs/contact/v1.cjs +43 -0
- package/dist/cjs/contact/v1.d.ts +49 -0
- package/dist/cjs/conversation/message/v1.d.ts +1 -1
- package/dist/cjs/dataset/v1.d.ts +3 -1
- package/dist/cjs/index.cjs +28 -22
- package/dist/cjs/index.d.ts +5 -1
- package/dist/cjs/integration/discord/index.cjs +30 -0
- package/dist/cjs/integration/discord/index.d.ts +11 -0
- package/dist/cjs/integration/discord/v1.cjs +54 -0
- package/dist/cjs/integration/discord/v1.d.ts +68 -0
- package/dist/cjs/integration/extract/index.cjs +27 -0
- package/dist/cjs/integration/extract/index.d.ts +10 -0
- package/dist/cjs/integration/extract/v1.cjs +43 -0
- package/dist/cjs/integration/extract/v1.d.ts +49 -0
- package/dist/cjs/integration/index.cjs +20 -6
- package/dist/cjs/integration/index.d.ts +16 -2
- package/dist/cjs/integration/messenger/index.cjs +30 -0
- package/dist/cjs/integration/messenger/index.d.ts +11 -0
- package/dist/cjs/integration/messenger/v1.cjs +54 -0
- package/dist/cjs/integration/messenger/v1.d.ts +66 -0
- package/dist/cjs/integration/notion/index.cjs +30 -0
- package/dist/cjs/integration/notion/index.d.ts +11 -0
- package/dist/cjs/integration/notion/v1.cjs +51 -0
- package/dist/cjs/integration/notion/v1.d.ts +53 -0
- package/dist/cjs/integration/slack/index.cjs +30 -0
- package/dist/cjs/integration/slack/index.d.ts +11 -0
- package/dist/cjs/integration/slack/v1.cjs +54 -0
- package/dist/cjs/integration/slack/v1.d.ts +67 -0
- package/dist/cjs/integration/support/index.cjs +27 -0
- package/dist/cjs/integration/support/index.d.ts +10 -0
- package/dist/cjs/integration/support/v1.cjs +43 -0
- package/dist/cjs/integration/support/v1.d.ts +49 -0
- package/dist/cjs/integration/telegram/index.cjs +30 -0
- package/dist/cjs/integration/telegram/index.d.ts +11 -0
- package/dist/cjs/integration/telegram/v1.cjs +54 -0
- package/dist/cjs/integration/telegram/v1.d.ts +65 -0
- package/dist/cjs/integration/whatsapp/v1.d.ts +1 -0
- package/dist/cjs/integration/widget/index.d.ts +1 -1
- package/dist/cjs/integration/widget/v1.d.ts +21 -0
- package/dist/cjs/secret/index.cjs +27 -0
- package/dist/cjs/secret/index.d.ts +10 -0
- package/dist/cjs/secret/v1.cjs +43 -0
- package/dist/cjs/secret/v1.d.ts +49 -0
- package/dist/cjs/skillset/v1.d.ts +1 -0
- package/dist/cjs/usage/index.cjs +2 -0
- package/dist/cjs/usage/index.d.ts +2 -0
- package/dist/cjs/usage/series/index.cjs +15 -0
- package/dist/cjs/usage/series/index.d.ts +5 -0
- package/dist/cjs/usage/series/v1.cjs +9 -0
- package/dist/cjs/usage/series/v1.d.ts +18 -0
- package/dist/cjs/usage/v1.d.ts +9 -0
- package/dist/esm/bot/v1.d.ts +1 -0
- package/dist/esm/contact/index.d.ts +10 -0
- package/dist/esm/contact/index.js +23 -0
- package/dist/esm/contact/v1.d.ts +49 -0
- package/dist/esm/contact/v1.js +35 -0
- package/dist/esm/conversation/message/v1.d.ts +1 -1
- package/dist/esm/dataset/v1.d.ts +3 -1
- package/dist/esm/index.d.ts +5 -1
- package/dist/esm/index.js +6 -0
- package/dist/esm/integration/discord/index.d.ts +11 -0
- package/dist/esm/integration/discord/index.js +26 -0
- package/dist/esm/integration/discord/v1.d.ts +68 -0
- package/dist/esm/integration/discord/v1.js +45 -0
- package/dist/esm/integration/extract/index.d.ts +10 -0
- package/dist/esm/integration/extract/index.js +23 -0
- package/dist/esm/integration/extract/v1.d.ts +49 -0
- package/dist/esm/integration/extract/v1.js +35 -0
- package/dist/esm/integration/index.d.ts +16 -2
- package/dist/esm/integration/index.js +15 -1
- package/dist/esm/integration/messenger/index.d.ts +11 -0
- package/dist/esm/integration/messenger/index.js +26 -0
- package/dist/esm/integration/messenger/v1.d.ts +66 -0
- package/dist/esm/integration/messenger/v1.js +45 -0
- package/dist/esm/integration/notion/index.d.ts +11 -0
- package/dist/esm/integration/notion/index.js +26 -0
- package/dist/esm/integration/notion/v1.d.ts +53 -0
- package/dist/esm/integration/notion/v1.js +42 -0
- package/dist/esm/integration/slack/index.d.ts +11 -0
- package/dist/esm/integration/slack/index.js +26 -0
- package/dist/esm/integration/slack/v1.d.ts +67 -0
- package/dist/esm/integration/slack/v1.js +45 -0
- package/dist/esm/integration/support/index.d.ts +10 -0
- package/dist/esm/integration/support/index.js +23 -0
- package/dist/esm/integration/support/v1.d.ts +49 -0
- package/dist/esm/integration/support/v1.js +35 -0
- package/dist/esm/integration/telegram/index.d.ts +11 -0
- package/dist/esm/integration/telegram/index.js +26 -0
- package/dist/esm/integration/telegram/v1.d.ts +65 -0
- package/dist/esm/integration/telegram/v1.js +45 -0
- package/dist/esm/integration/whatsapp/v1.d.ts +1 -0
- package/dist/esm/integration/widget/v1.d.ts +21 -0
- package/dist/esm/secret/index.d.ts +10 -0
- package/dist/esm/secret/index.js +23 -0
- package/dist/esm/secret/v1.d.ts +49 -0
- package/dist/esm/secret/v1.js +35 -0
- package/dist/esm/skillset/v1.d.ts +1 -0
- package/dist/esm/usage/index.d.ts +2 -0
- package/dist/esm/usage/index.js +2 -0
- package/dist/esm/usage/series/index.d.ts +5 -0
- package/dist/esm/usage/series/index.js +11 -0
- package/dist/esm/usage/series/v1.d.ts +18 -0
- package/dist/esm/usage/series/v1.js +5 -0
- package/dist/esm/usage/v1.d.ts +9 -0
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +501 -1
package/README.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
[](https://chatbotkit.com)
|
|
3
3
|
[](https://cbk.ai)
|
|
4
4
|
[](https://www.npmjs.com/package/@chatbotkit/sdk)
|
|
5
|
+
[](mailto:support@chatbotkit.com)
|
|
6
|
+
[](https://go.cbk.ai/discord)
|
|
7
|
+
[](https://go.cbk.ai/slack)
|
|
5
8
|
|
|
6
9
|
# ChatBotKit Node SDK
|
|
7
10
|
|
|
@@ -50,3 +53,8 @@ For an in-depth exploration of the ChatBotKit Node SDK, including insights into
|
|
|
50
53
|
## Contributing
|
|
51
54
|
|
|
52
55
|
Encountered a bug or interested in contributing? Your participation is highly appreciated! Feel free to open an issue or submit a pull request on our [official GitHub repository](https://github.com/chatbotkit/node-sdk).
|
|
56
|
+
|
|
57
|
+
## Built With ChatBotKit
|
|
58
|
+
- [FormShare](https://formshare.ai/) - Bring your forms to life with generative UI.
|
|
59
|
+
- [PeopleAI](https://people.ai/) - Experience history like never before with our AI chatbots.
|
|
60
|
+
- [AskNotion](https://asknotion.app/) - Create your personal ChatGPT-like chatbot that is trained on your Notion Pages.
|
package/dist/cjs/bot/v1.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export type BotOptions = {
|
|
|
14
14
|
model?: string;
|
|
15
15
|
datasetId?: string;
|
|
16
16
|
skillsetId?: string;
|
|
17
|
+
visibility?: 'public' | 'private' | 'restrictedAccessChat' | 'unrestrictedAccessChat';
|
|
17
18
|
meta?: Record<string, any>;
|
|
18
19
|
};
|
|
19
20
|
export type BotInstance = BotOptions & {
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ContactClient = void 0;
|
|
4
|
+
const client_js_1 = require("../client.cjs");
|
|
5
|
+
const v1_js_1 = require("./v1.cjs");
|
|
6
|
+
class ContactClient extends client_js_1.ChatBotKitClient {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
}
|
|
10
|
+
list(request) {
|
|
11
|
+
return (0, v1_js_1.listContacts)(this, request);
|
|
12
|
+
}
|
|
13
|
+
fetch(contactId) {
|
|
14
|
+
return (0, v1_js_1.fetchContact)(this, contactId);
|
|
15
|
+
}
|
|
16
|
+
create(request) {
|
|
17
|
+
return (0, v1_js_1.createContact)(this, request);
|
|
18
|
+
}
|
|
19
|
+
update(contactId, request) {
|
|
20
|
+
return (0, v1_js_1.updateContact)(this, contactId, request);
|
|
21
|
+
}
|
|
22
|
+
delete(contactId) {
|
|
23
|
+
return (0, v1_js_1.deleteContact)(this, contactId);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.ContactClient = ContactClient;
|
|
27
|
+
exports.default = ContactClient;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export class ContactClient extends ChatBotKitClient {
|
|
2
|
+
list(request?: import('./v1.js').ContactListRequest): ResponsePromise<import('./v1.cjs').ContactListResponse, import('./v1.cjs').ContactListStreamType>;
|
|
3
|
+
fetch(contactId: string): Promise<import('./v1.cjs').ContactFetchResponse>;
|
|
4
|
+
create(request: import('./v1.cjs').ContactCreateRequest): Promise<import('./v1.cjs').ContactCreateResponse>;
|
|
5
|
+
update(contactId: string, request: import('./v1.cjs').ContactUpdateRequest): Promise<import('./v1.cjs').ContactUpdateResponse>;
|
|
6
|
+
delete(contactId: string): Promise<import('./v1.cjs').ContactDeleteResponse>;
|
|
7
|
+
}
|
|
8
|
+
export default ContactClient;
|
|
9
|
+
export type ResponsePromise<T, U> = import('../client.cjs').ResponsePromise<T, U>;
|
|
10
|
+
import { ChatBotKitClient } from '../client.cjs';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteContact = exports.updateContact = exports.createContact = exports.fetchContact = exports.listContacts = void 0;
|
|
4
|
+
function listContacts(client, request) {
|
|
5
|
+
let url = `/api/v1/contact/list`;
|
|
6
|
+
const response = client.clientFetch(url, { query: request });
|
|
7
|
+
return response;
|
|
8
|
+
}
|
|
9
|
+
exports.listContacts = listContacts;
|
|
10
|
+
async function fetchContact(client, contactId) {
|
|
11
|
+
const url = `/api/v1/contact/${contactId}/fetch`;
|
|
12
|
+
const response = await client.clientFetch(url);
|
|
13
|
+
return response;
|
|
14
|
+
}
|
|
15
|
+
exports.fetchContact = fetchContact;
|
|
16
|
+
async function createContact(client, request) {
|
|
17
|
+
const url = `/api/v1/contact/create`;
|
|
18
|
+
const response = await client.clientFetch(url, {
|
|
19
|
+
record: {
|
|
20
|
+
...request,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
return response;
|
|
24
|
+
}
|
|
25
|
+
exports.createContact = createContact;
|
|
26
|
+
async function updateContact(client, contactId, request) {
|
|
27
|
+
const url = `/api/v1/contact/${contactId}/update`;
|
|
28
|
+
const response = await client.clientFetch(url, {
|
|
29
|
+
record: {
|
|
30
|
+
...request,
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
return response;
|
|
34
|
+
}
|
|
35
|
+
exports.updateContact = updateContact;
|
|
36
|
+
async function deleteContact(client, contactId) {
|
|
37
|
+
const url = `/api/v1/contact/${contactId}/delete`;
|
|
38
|
+
const response = await client.clientFetch(url, {
|
|
39
|
+
record: {},
|
|
40
|
+
});
|
|
41
|
+
return response;
|
|
42
|
+
}
|
|
43
|
+
exports.deleteContact = deleteContact;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export function listContacts(client: ChatBotKitClient, request?: ContactListRequest): ResponsePromise<ContactListResponse, ContactListStreamType>;
|
|
2
|
+
export function fetchContact(client: ChatBotKitClient, contactId: string): Promise<ContactFetchResponse>;
|
|
3
|
+
export function createContact(client: ChatBotKitClient, request: ContactCreateRequest): Promise<ContactCreateResponse>;
|
|
4
|
+
export function updateContact(client: ChatBotKitClient, contactId: string, request: ContactUpdateRequest): Promise<ContactUpdateResponse>;
|
|
5
|
+
export function deleteContact(client: ChatBotKitClient, contactId: string): Promise<ContactDeleteResponse>;
|
|
6
|
+
export type ChatBotKitClient = import('../client.cjs').ChatBotKitClient;
|
|
7
|
+
export type ResponsePromise<T, U> = import('../client.cjs').ResponsePromise<T, U>;
|
|
8
|
+
export type ContactOptions = {
|
|
9
|
+
name?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
email?: string;
|
|
12
|
+
phone?: string;
|
|
13
|
+
meta?: Record<string, any>;
|
|
14
|
+
};
|
|
15
|
+
export type ContactInstance = ContactOptions & {
|
|
16
|
+
id: string;
|
|
17
|
+
createdAt: number;
|
|
18
|
+
updatedAt: number;
|
|
19
|
+
};
|
|
20
|
+
export type ContactListRequest = {
|
|
21
|
+
cursor?: string;
|
|
22
|
+
order?: 'desc' | 'asc';
|
|
23
|
+
take?: number;
|
|
24
|
+
meta?: Record<string, string>;
|
|
25
|
+
};
|
|
26
|
+
export type ContactListResponse = {
|
|
27
|
+
items: ContactInstance[];
|
|
28
|
+
};
|
|
29
|
+
export type ContactListStreamItemType = {
|
|
30
|
+
type: 'item';
|
|
31
|
+
data: ContactInstance;
|
|
32
|
+
};
|
|
33
|
+
export type ContactListStreamType = ContactListStreamItemType;
|
|
34
|
+
export type ContactFetchResponse = ContactInstance & {};
|
|
35
|
+
export type ContactCreateRequest = ContactOptions & {
|
|
36
|
+
model?: import('../model/v1.cjs').Model;
|
|
37
|
+
};
|
|
38
|
+
export type ContactCreateResponse = {
|
|
39
|
+
id: string;
|
|
40
|
+
};
|
|
41
|
+
export type ContactUpdateRequest = ContactOptions & {
|
|
42
|
+
model?: import('../model/v1.cjs').Model;
|
|
43
|
+
};
|
|
44
|
+
export type ContactUpdateResponse = {
|
|
45
|
+
id: string;
|
|
46
|
+
};
|
|
47
|
+
export type ContactDeleteResponse = {
|
|
48
|
+
id: string;
|
|
49
|
+
};
|
|
@@ -7,7 +7,7 @@ export function upvoteConversationMessage(client: ChatBotKitClient, conversation
|
|
|
7
7
|
export function downvoteConversationMessage(client: ChatBotKitClient, conversationId: string, messageId: string, request: ConversationMessageDownvoteRequest): Promise<ConversationMessageDownvoteResponse>;
|
|
8
8
|
export type ChatBotKitClient = import('../../client.cjs').ChatBotKitClient;
|
|
9
9
|
export type ResponsePromise<T, U> = import('../../client.cjs').ResponsePromise<T, U>;
|
|
10
|
-
export type ConversationMessageType = 'user' | 'bot' | 'context' | 'instruction' | 'backstory';
|
|
10
|
+
export type ConversationMessageType = 'user' | 'bot' | 'context' | 'instruction' | 'backstory' | 'activity';
|
|
11
11
|
export type ConversationMessageOptions = {
|
|
12
12
|
type: ConversationMessageType;
|
|
13
13
|
text: string;
|
package/dist/cjs/dataset/v1.d.ts
CHANGED
|
@@ -11,15 +11,17 @@ export type DatasetOptions = {
|
|
|
11
11
|
description?: string;
|
|
12
12
|
store?: string;
|
|
13
13
|
recordMaxTokens?: number;
|
|
14
|
+
searchMinScore?: number;
|
|
14
15
|
searchMaxRecords?: number;
|
|
15
16
|
searchMaxTokens?: number;
|
|
16
17
|
matchInstruction?: string;
|
|
17
18
|
mismatchInstruction?: string;
|
|
19
|
+
separators?: string;
|
|
20
|
+
visibility?: 'public' | 'private';
|
|
18
21
|
meta?: Record<string, any>;
|
|
19
22
|
};
|
|
20
23
|
export type DatasetInstance = DatasetOptions & {
|
|
21
24
|
id: string;
|
|
22
|
-
store: string;
|
|
23
25
|
createdAt: number;
|
|
24
26
|
updatedAt: number;
|
|
25
27
|
};
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,34 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ChatBotKit = exports.ConversationClient = exports.IntegrationClient = exports.SkillsetClient = exports.DatasetClient = exports.PartnerClient = exports.MagicClient = exports.FileClient = exports.BotClient = void 0;
|
|
3
|
+
exports.ChatBotKit = exports.SecretClient = exports.ContactClient = exports.ConversationClient = exports.IntegrationClient = exports.SkillsetClient = exports.DatasetClient = exports.PartnerClient = exports.MagicClient = exports.FileClient = exports.BotClient = void 0;
|
|
4
4
|
const index_js_1 = require("./bot/index.cjs");
|
|
5
5
|
Object.defineProperty(exports, "BotClient", { enumerable: true, get: function () { return index_js_1.BotClient; } });
|
|
6
6
|
const client_js_1 = require("./client.cjs");
|
|
7
|
-
const index_js_2 = require("./
|
|
8
|
-
Object.defineProperty(exports, "
|
|
9
|
-
const index_js_3 = require("./
|
|
10
|
-
Object.defineProperty(exports, "
|
|
11
|
-
const index_js_4 = require("./
|
|
12
|
-
Object.defineProperty(exports, "
|
|
13
|
-
const index_js_5 = require("./
|
|
14
|
-
Object.defineProperty(exports, "
|
|
15
|
-
const index_js_6 = require("./
|
|
16
|
-
Object.defineProperty(exports, "
|
|
17
|
-
const index_js_7 = require("./
|
|
18
|
-
Object.defineProperty(exports, "
|
|
19
|
-
const index_js_8 = require("./
|
|
20
|
-
Object.defineProperty(exports, "
|
|
7
|
+
const index_js_2 = require("./contact/index.cjs");
|
|
8
|
+
Object.defineProperty(exports, "ContactClient", { enumerable: true, get: function () { return index_js_2.ContactClient; } });
|
|
9
|
+
const index_js_3 = require("./conversation/index.cjs");
|
|
10
|
+
Object.defineProperty(exports, "ConversationClient", { enumerable: true, get: function () { return index_js_3.ConversationClient; } });
|
|
11
|
+
const index_js_4 = require("./dataset/index.cjs");
|
|
12
|
+
Object.defineProperty(exports, "DatasetClient", { enumerable: true, get: function () { return index_js_4.DatasetClient; } });
|
|
13
|
+
const index_js_5 = require("./file/index.cjs");
|
|
14
|
+
Object.defineProperty(exports, "FileClient", { enumerable: true, get: function () { return index_js_5.FileClient; } });
|
|
15
|
+
const index_js_6 = require("./integration/index.cjs");
|
|
16
|
+
Object.defineProperty(exports, "IntegrationClient", { enumerable: true, get: function () { return index_js_6.IntegrationClient; } });
|
|
17
|
+
const index_js_7 = require("./magic/index.cjs");
|
|
18
|
+
Object.defineProperty(exports, "MagicClient", { enumerable: true, get: function () { return index_js_7.MagicClient; } });
|
|
19
|
+
const index_js_8 = require("./partner/index.cjs");
|
|
20
|
+
Object.defineProperty(exports, "PartnerClient", { enumerable: true, get: function () { return index_js_8.PartnerClient; } });
|
|
21
|
+
const index_js_9 = require("./secret/index.cjs");
|
|
22
|
+
Object.defineProperty(exports, "SecretClient", { enumerable: true, get: function () { return index_js_9.SecretClient; } });
|
|
23
|
+
const index_js_10 = require("./skillset/index.cjs");
|
|
24
|
+
Object.defineProperty(exports, "SkillsetClient", { enumerable: true, get: function () { return index_js_10.SkillsetClient; } });
|
|
21
25
|
class ChatBotKit extends client_js_1.ChatBotKitClient {
|
|
22
26
|
constructor(options) {
|
|
23
27
|
super(options);
|
|
24
28
|
this.bot = new index_js_1.BotClient(options);
|
|
25
|
-
this.file = new
|
|
26
|
-
this.magic = new
|
|
27
|
-
this.partner = new
|
|
28
|
-
this.dataset = new
|
|
29
|
-
this.skillset = new
|
|
30
|
-
this.integration = new
|
|
31
|
-
this.conversation = new
|
|
29
|
+
this.file = new index_js_5.FileClient(options);
|
|
30
|
+
this.magic = new index_js_7.MagicClient(options);
|
|
31
|
+
this.partner = new index_js_8.PartnerClient(options);
|
|
32
|
+
this.dataset = new index_js_4.DatasetClient(options);
|
|
33
|
+
this.skillset = new index_js_10.SkillsetClient(options);
|
|
34
|
+
this.integration = new index_js_6.IntegrationClient(options);
|
|
35
|
+
this.conversation = new index_js_3.ConversationClient(options);
|
|
36
|
+
this.contact = new index_js_2.ContactClient(options);
|
|
37
|
+
this.secrets = new index_js_9.SecretClient(options);
|
|
32
38
|
}
|
|
33
39
|
}
|
|
34
40
|
exports.ChatBotKit = ChatBotKit;
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export class ChatBotKit extends ChatBotKitClient {
|
|
|
7
7
|
skillset: SkillsetClient;
|
|
8
8
|
integration: IntegrationClient;
|
|
9
9
|
conversation: ConversationClient;
|
|
10
|
+
contact: ContactClient;
|
|
11
|
+
secrets: SecretClient;
|
|
10
12
|
}
|
|
11
13
|
export default ChatBotKit;
|
|
12
14
|
import { BotClient } from './bot/index.cjs';
|
|
@@ -17,5 +19,7 @@ import { DatasetClient } from './dataset/index.cjs';
|
|
|
17
19
|
import { SkillsetClient } from './skillset/index.cjs';
|
|
18
20
|
import { IntegrationClient } from './integration/index.cjs';
|
|
19
21
|
import { ConversationClient } from './conversation/index.cjs';
|
|
22
|
+
import { ContactClient } from './contact/index.cjs';
|
|
23
|
+
import { SecretClient } from './secret/index.cjs';
|
|
20
24
|
import { ChatBotKitClient } from './client.cjs';
|
|
21
|
-
export { BotClient, FileClient, MagicClient, PartnerClient, DatasetClient, SkillsetClient, IntegrationClient, ConversationClient };
|
|
25
|
+
export { BotClient, FileClient, MagicClient, PartnerClient, DatasetClient, SkillsetClient, IntegrationClient, ConversationClient, ContactClient, SecretClient };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DiscordIntegrationClient = void 0;
|
|
4
|
+
const client_js_1 = require("../../client.cjs");
|
|
5
|
+
const v1_js_1 = require("./v1.cjs");
|
|
6
|
+
class DiscordIntegrationClient extends client_js_1.ChatBotKitClient {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
}
|
|
10
|
+
list(request) {
|
|
11
|
+
return (0, v1_js_1.listDiscordIntegrations)(this, request);
|
|
12
|
+
}
|
|
13
|
+
fetch(discordId) {
|
|
14
|
+
return (0, v1_js_1.fetchDiscordIntegration)(this, discordId);
|
|
15
|
+
}
|
|
16
|
+
create(request) {
|
|
17
|
+
return (0, v1_js_1.createDiscordIntegration)(this, request);
|
|
18
|
+
}
|
|
19
|
+
update(discordId, request) {
|
|
20
|
+
return (0, v1_js_1.updateDiscordIntegration)(this, discordId, request);
|
|
21
|
+
}
|
|
22
|
+
delete(discordId) {
|
|
23
|
+
return (0, v1_js_1.deleteDiscordIntegration)(this, discordId);
|
|
24
|
+
}
|
|
25
|
+
setup(discordId) {
|
|
26
|
+
return (0, v1_js_1.setupDiscordIntegration)(this, discordId);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.DiscordIntegrationClient = DiscordIntegrationClient;
|
|
30
|
+
exports.default = DiscordIntegrationClient;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export class DiscordIntegrationClient extends ChatBotKitClient {
|
|
2
|
+
list(request?: import('./v1.cjs').DiscordIntegrationListRequest): ResponsePromise<import('./v1.cjs').DiscordIntegrationListResponse, import('./v1.cjs').DiscordIntegrationListStreamType>;
|
|
3
|
+
fetch(discordId: string): Promise<import('./v1.cjs').DiscordIntegrationFetchResponse>;
|
|
4
|
+
create(request: import('./v1.cjs').DiscordIntegrationCreateRequest): Promise<import('./v1.cjs').DiscordIntegrationCreateResponse>;
|
|
5
|
+
update(discordId: string, request: import('./v1.cjs').DiscordIntegrationUpdateRequest): Promise<import('./v1.cjs').DiscordIntegrationUpdateResponse>;
|
|
6
|
+
delete(discordId: string): Promise<import('./v1.cjs').DiscordIntegrationDeleteResponse>;
|
|
7
|
+
setup(discordId: string): Promise<import('./v1.cjs').DiscordIntegrationSetupResponse>;
|
|
8
|
+
}
|
|
9
|
+
export default DiscordIntegrationClient;
|
|
10
|
+
export type ResponsePromise<T, U> = import('../../client.cjs').ResponsePromise<T, U>;
|
|
11
|
+
import { ChatBotKitClient } from '../../client.cjs';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.setupDiscordIntegration = exports.deleteDiscordIntegration = exports.updateDiscordIntegration = exports.createDiscordIntegration = exports.fetchDiscordIntegration = exports.listDiscordIntegrations = void 0;
|
|
4
|
+
const v1_js_1 = require("../../model/v1.cjs");
|
|
5
|
+
function listDiscordIntegrations(client, request) {
|
|
6
|
+
let url = `/api/v1/integration/discord/list`;
|
|
7
|
+
const response = client.clientFetch(url, { query: request });
|
|
8
|
+
return response;
|
|
9
|
+
}
|
|
10
|
+
exports.listDiscordIntegrations = listDiscordIntegrations;
|
|
11
|
+
async function fetchDiscordIntegration(client, discordId) {
|
|
12
|
+
const url = `/api/v1/integration/discord/${discordId}/fetch`;
|
|
13
|
+
const response = await client.clientFetch(url);
|
|
14
|
+
return response;
|
|
15
|
+
}
|
|
16
|
+
exports.fetchDiscordIntegration = fetchDiscordIntegration;
|
|
17
|
+
async function createDiscordIntegration(client, request) {
|
|
18
|
+
const url = `/api/v1/integration/discord/create`;
|
|
19
|
+
const response = await client.clientFetch(url, {
|
|
20
|
+
record: {
|
|
21
|
+
...request,
|
|
22
|
+
model: request.model ? (0, v1_js_1.buildModelString)(request.model) : undefined,
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
return response;
|
|
26
|
+
}
|
|
27
|
+
exports.createDiscordIntegration = createDiscordIntegration;
|
|
28
|
+
async function updateDiscordIntegration(client, discordId, request) {
|
|
29
|
+
const url = `/api/v1/integration/discord/${discordId}/update`;
|
|
30
|
+
const response = await client.clientFetch(url, {
|
|
31
|
+
record: {
|
|
32
|
+
...request,
|
|
33
|
+
model: request.model ? (0, v1_js_1.buildModelString)(request.model) : undefined,
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
return response;
|
|
37
|
+
}
|
|
38
|
+
exports.updateDiscordIntegration = updateDiscordIntegration;
|
|
39
|
+
async function deleteDiscordIntegration(client, discordId) {
|
|
40
|
+
const url = `/api/v1/integration/discord/${discordId}/delete`;
|
|
41
|
+
const response = await client.clientFetch(url, {
|
|
42
|
+
record: {},
|
|
43
|
+
});
|
|
44
|
+
return response;
|
|
45
|
+
}
|
|
46
|
+
exports.deleteDiscordIntegration = deleteDiscordIntegration;
|
|
47
|
+
async function setupDiscordIntegration(client, discordId) {
|
|
48
|
+
const url = `/api/v1/integration/discord/${discordId}/setup`;
|
|
49
|
+
const response = await client.clientFetch(url, {
|
|
50
|
+
record: {},
|
|
51
|
+
});
|
|
52
|
+
return response;
|
|
53
|
+
}
|
|
54
|
+
exports.setupDiscordIntegration = setupDiscordIntegration;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export function listDiscordIntegrations(client: ChatBotKitClient, request?: DiscordIntegrationListRequest): ResponsePromise<DiscordIntegrationListResponse, DiscordIntegrationListStreamType>;
|
|
2
|
+
export function fetchDiscordIntegration(client: ChatBotKitClient, discordId: string): Promise<DiscordIntegrationFetchResponse>;
|
|
3
|
+
export function createDiscordIntegration(client: ChatBotKitClient, request: DiscordIntegrationCreateRequest): Promise<DiscordIntegrationCreateResponse>;
|
|
4
|
+
export function updateDiscordIntegration(client: ChatBotKitClient, discordId: string, request: DiscordIntegrationUpdateRequest): Promise<DiscordIntegrationUpdateResponse>;
|
|
5
|
+
export function deleteDiscordIntegration(client: ChatBotKitClient, discordId: string): Promise<DiscordIntegrationDeleteResponse>;
|
|
6
|
+
export function setupDiscordIntegration(client: ChatBotKitClient, discordId: string): Promise<DiscordIntegrationSetupResponse>;
|
|
7
|
+
export type ChatBotKitClient = import('../../client.cjs').ChatBotKitClient;
|
|
8
|
+
export type ResponsePromise<T, U> = import('../../client.cjs').ResponsePromise<T, U>;
|
|
9
|
+
export type BotRef = {
|
|
10
|
+
botId?: string;
|
|
11
|
+
};
|
|
12
|
+
export type BotConfig = {
|
|
13
|
+
backstory?: string;
|
|
14
|
+
model?: string;
|
|
15
|
+
datasetId?: string;
|
|
16
|
+
skillsetId?: string;
|
|
17
|
+
privacy?: boolean;
|
|
18
|
+
moderation?: boolean;
|
|
19
|
+
};
|
|
20
|
+
export type BotRefOrConfig = BotRef | BotConfig;
|
|
21
|
+
export type DiscordIntegrationOptions = BotRefOrConfig & {
|
|
22
|
+
name?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
appId?: string;
|
|
25
|
+
botToken?: string;
|
|
26
|
+
publicKey?: string;
|
|
27
|
+
handle?: string;
|
|
28
|
+
sessionDuration?: number;
|
|
29
|
+
meta?: Record<string, any>;
|
|
30
|
+
};
|
|
31
|
+
export type DiscordIntegrationInstance = DiscordIntegrationOptions & {
|
|
32
|
+
id: string;
|
|
33
|
+
createdAt: number;
|
|
34
|
+
updatedAt: number;
|
|
35
|
+
};
|
|
36
|
+
export type DiscordIntegrationListRequest = {
|
|
37
|
+
cursor?: string;
|
|
38
|
+
order?: 'desc' | 'asc';
|
|
39
|
+
take?: number;
|
|
40
|
+
meta?: Record<string, string>;
|
|
41
|
+
};
|
|
42
|
+
export type DiscordIntegrationListResponse = {
|
|
43
|
+
items: DiscordIntegrationInstance[];
|
|
44
|
+
};
|
|
45
|
+
export type DiscordIntegrationListStreamItem = {
|
|
46
|
+
type: 'item';
|
|
47
|
+
data: DiscordIntegrationInstance;
|
|
48
|
+
};
|
|
49
|
+
export type DiscordIntegrationListStreamType = DiscordIntegrationListStreamItem;
|
|
50
|
+
export type DiscordIntegrationFetchResponse = DiscordIntegrationInstance & {};
|
|
51
|
+
export type DiscordIntegrationCreateRequest = DiscordIntegrationOptions & {
|
|
52
|
+
model?: import('../../model/v1.cjs').Model;
|
|
53
|
+
};
|
|
54
|
+
export type DiscordIntegrationCreateResponse = {
|
|
55
|
+
id: string;
|
|
56
|
+
};
|
|
57
|
+
export type DiscordIntegrationUpdateRequest = DiscordIntegrationOptions & {
|
|
58
|
+
model?: import('../../model/v1.cjs').Model;
|
|
59
|
+
};
|
|
60
|
+
export type DiscordIntegrationUpdateResponse = {
|
|
61
|
+
id: string;
|
|
62
|
+
};
|
|
63
|
+
export type DiscordIntegrationDeleteResponse = {
|
|
64
|
+
id: string;
|
|
65
|
+
};
|
|
66
|
+
export type DiscordIntegrationSetupResponse = {
|
|
67
|
+
id: string;
|
|
68
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExtractIntegrationClient = void 0;
|
|
4
|
+
const client_js_1 = require("../../client.cjs");
|
|
5
|
+
const v1_js_1 = require("./v1.cjs");
|
|
6
|
+
class ExtractIntegrationClient extends client_js_1.ChatBotKitClient {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
}
|
|
10
|
+
list(request) {
|
|
11
|
+
return (0, v1_js_1.listExtractIntegrations)(this, request);
|
|
12
|
+
}
|
|
13
|
+
fetch(extractId) {
|
|
14
|
+
return (0, v1_js_1.fetchExtractIntegration)(this, extractId);
|
|
15
|
+
}
|
|
16
|
+
create(request) {
|
|
17
|
+
return (0, v1_js_1.createExtractIntegration)(this, request);
|
|
18
|
+
}
|
|
19
|
+
update(extractId, request) {
|
|
20
|
+
return (0, v1_js_1.updateExtractIntegration)(this, extractId, request);
|
|
21
|
+
}
|
|
22
|
+
delete(extractId) {
|
|
23
|
+
return (0, v1_js_1.deleteExtractIntegration)(this, extractId);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.ExtractIntegrationClient = ExtractIntegrationClient;
|
|
27
|
+
exports.default = ExtractIntegrationClient;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export class ExtractIntegrationClient extends ChatBotKitClient {
|
|
2
|
+
list(request?: import('./v1.cjs').ExtractIntegrationListRequest): ResponsePromise<import('./v1.cjs').ExtractIntegrationListResponse, import('./v1.cjs').ExtractIntegrationListStreamType>;
|
|
3
|
+
fetch(extractId: string): Promise<import('./v1.cjs').ExtractIntegrationFetchResponse>;
|
|
4
|
+
create(request: import('./v1.cjs').ExtractIntegrationCreateRequest): Promise<import('./v1.cjs').ExtractIntegrationCreateResponse>;
|
|
5
|
+
update(extractId: string, request: import('./v1.cjs').ExtractIntegrationUpdateRequest): Promise<import('./v1.cjs').ExtractIntegrationUpdateResponse>;
|
|
6
|
+
delete(extractId: string): Promise<import('./v1.cjs').ExtractIntegrationDeleteResponse>;
|
|
7
|
+
}
|
|
8
|
+
export default ExtractIntegrationClient;
|
|
9
|
+
export type ResponsePromise<T, U> = import('../../client.cjs').ResponsePromise<T, U>;
|
|
10
|
+
import { ChatBotKitClient } from '../../client.cjs';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteExtractIntegration = exports.updateExtractIntegration = exports.createExtractIntegration = exports.fetchExtractIntegration = exports.listExtractIntegrations = void 0;
|
|
4
|
+
function listExtractIntegrations(client, request) {
|
|
5
|
+
let url = `/api/v1/integration/extract/list`;
|
|
6
|
+
const response = client.clientFetch(url, { query: request });
|
|
7
|
+
return response;
|
|
8
|
+
}
|
|
9
|
+
exports.listExtractIntegrations = listExtractIntegrations;
|
|
10
|
+
async function fetchExtractIntegration(client, extractId) {
|
|
11
|
+
const url = `/api/v1/integration/extract/${extractId}/fetch`;
|
|
12
|
+
const response = await client.clientFetch(url);
|
|
13
|
+
return response;
|
|
14
|
+
}
|
|
15
|
+
exports.fetchExtractIntegration = fetchExtractIntegration;
|
|
16
|
+
async function createExtractIntegration(client, request) {
|
|
17
|
+
const url = `/api/v1/integration/extract/create`;
|
|
18
|
+
const response = await client.clientFetch(url, {
|
|
19
|
+
record: {
|
|
20
|
+
...request,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
return response;
|
|
24
|
+
}
|
|
25
|
+
exports.createExtractIntegration = createExtractIntegration;
|
|
26
|
+
async function updateExtractIntegration(client, extractId, request) {
|
|
27
|
+
const url = `/api/v1/integration/extract/${extractId}/update`;
|
|
28
|
+
const response = await client.clientFetch(url, {
|
|
29
|
+
record: {
|
|
30
|
+
...request,
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
return response;
|
|
34
|
+
}
|
|
35
|
+
exports.updateExtractIntegration = updateExtractIntegration;
|
|
36
|
+
async function deleteExtractIntegration(client, extractId) {
|
|
37
|
+
const url = `/api/v1/integration/extract/${extractId}/delete`;
|
|
38
|
+
const response = await client.clientFetch(url, {
|
|
39
|
+
record: {},
|
|
40
|
+
});
|
|
41
|
+
return response;
|
|
42
|
+
}
|
|
43
|
+
exports.deleteExtractIntegration = deleteExtractIntegration;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export function listExtractIntegrations(client: ChatBotKitClient, request?: ExtractIntegrationListRequest): ResponsePromise<ExtractIntegrationListResponse, ExtractIntegrationListStreamType>;
|
|
2
|
+
export function fetchExtractIntegration(client: ChatBotKitClient, extractId: string): Promise<ExtractIntegrationFetchResponse>;
|
|
3
|
+
export function createExtractIntegration(client: ChatBotKitClient, request: ExtractIntegrationCreateRequest): Promise<ExtractIntegrationCreateResponse>;
|
|
4
|
+
export function updateExtractIntegration(client: ChatBotKitClient, extractId: string, request: ExtractIntegrationUpdateRequest): Promise<ExtractIntegrationUpdateResponse>;
|
|
5
|
+
export function deleteExtractIntegration(client: ChatBotKitClient, extractId: string): Promise<ExtractIntegrationDeleteResponse>;
|
|
6
|
+
export type ChatBotKitClient = import('../../client.cjs').ChatBotKitClient;
|
|
7
|
+
export type ResponsePromise<T, U> = import('../../client.cjs').ResponsePromise<T, U>;
|
|
8
|
+
export type ExtractIntegrationOptions = {
|
|
9
|
+
name?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
botId?: string;
|
|
12
|
+
schema?: Record<string, any>;
|
|
13
|
+
syncSchedule?: string;
|
|
14
|
+
expiresIn?: number;
|
|
15
|
+
meta?: Record<string, any>;
|
|
16
|
+
};
|
|
17
|
+
export type ExtractInegrationInstance = ExtractIntegrationOptions & {
|
|
18
|
+
id: string;
|
|
19
|
+
createdAt: number;
|
|
20
|
+
updatedAt: number;
|
|
21
|
+
};
|
|
22
|
+
export type ExtractIntegrationListRequest = {
|
|
23
|
+
cursor?: string;
|
|
24
|
+
order?: 'desc' | 'asc';
|
|
25
|
+
take?: number;
|
|
26
|
+
meta?: Record<string, string>;
|
|
27
|
+
};
|
|
28
|
+
export type ExtractIntegrationListResponse = {
|
|
29
|
+
items: ExtractInegrationInstance[];
|
|
30
|
+
};
|
|
31
|
+
export type ExtractIntegrationListStreamItem = {
|
|
32
|
+
type: 'item';
|
|
33
|
+
data: ExtractInegrationInstance;
|
|
34
|
+
};
|
|
35
|
+
export type ExtractIntegrationListStreamType = ExtractIntegrationListStreamItem;
|
|
36
|
+
export type ExtractIntegrationFetchResponse = ExtractInegrationInstance & {};
|
|
37
|
+
export type ExtractIntegrationCreateRequest = ExtractIntegrationOptions & {
|
|
38
|
+
botId: string;
|
|
39
|
+
};
|
|
40
|
+
export type ExtractIntegrationCreateResponse = {
|
|
41
|
+
id: string;
|
|
42
|
+
};
|
|
43
|
+
export type ExtractIntegrationUpdateRequest = ExtractIntegrationOptions & {};
|
|
44
|
+
export type ExtractIntegrationUpdateResponse = {
|
|
45
|
+
id: string;
|
|
46
|
+
};
|
|
47
|
+
export type ExtractIntegrationDeleteResponse = {
|
|
48
|
+
id: string;
|
|
49
|
+
};
|
|
@@ -2,15 +2,29 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IntegrationClient = void 0;
|
|
4
4
|
const client_js_1 = require("../client.cjs");
|
|
5
|
-
const index_js_1 = require("./
|
|
6
|
-
const index_js_2 = require("./
|
|
7
|
-
const index_js_3 = require("./
|
|
5
|
+
const index_js_1 = require("./discord/index.cjs");
|
|
6
|
+
const index_js_2 = require("./extract/index.cjs");
|
|
7
|
+
const index_js_3 = require("./messenger/index.cjs");
|
|
8
|
+
const index_js_4 = require("./notion/index.cjs");
|
|
9
|
+
const index_js_5 = require("./sitemap/index.cjs");
|
|
10
|
+
const index_js_6 = require("./slack/index.cjs");
|
|
11
|
+
const index_js_7 = require("./support/index.cjs");
|
|
12
|
+
const index_js_8 = require("./telegram/index.cjs");
|
|
13
|
+
const index_js_9 = require("./whatsapp/index.cjs");
|
|
14
|
+
const index_js_10 = require("./widget/index.cjs");
|
|
8
15
|
class IntegrationClient extends client_js_1.ChatBotKitClient {
|
|
9
16
|
constructor(options) {
|
|
10
17
|
super(options);
|
|
11
|
-
this.widget = new
|
|
12
|
-
this.
|
|
13
|
-
this.
|
|
18
|
+
this.widget = new index_js_10.WidgetIntegrationClient(options);
|
|
19
|
+
this.slack = new index_js_6.SlackIntegrationClient(options);
|
|
20
|
+
this.discord = new index_js_1.DiscordIntegrationClient(options);
|
|
21
|
+
this.whatsapp = new index_js_9.WhatsAppIntegrationClient(options);
|
|
22
|
+
this.messenger = new index_js_3.MessengerIntegrationClient(options);
|
|
23
|
+
this.telegram = new index_js_8.TelegramIntegrationClient(options);
|
|
24
|
+
this.sitemap = new index_js_5.SitemapIntegrationClient(options);
|
|
25
|
+
this.notion = new index_js_4.NotionIntegrationClient(options);
|
|
26
|
+
this.support = new index_js_7.SupportIntegrationClient(options);
|
|
27
|
+
this.extract = new index_js_2.ExtractIntegrationClient(options);
|
|
14
28
|
}
|
|
15
29
|
}
|
|
16
30
|
exports.IntegrationClient = IntegrationClient;
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
export class IntegrationClient extends ChatBotKitClient {
|
|
2
2
|
widget: WidgetIntegrationClient;
|
|
3
|
-
|
|
3
|
+
slack: SlackIntegrationClient;
|
|
4
|
+
discord: DiscordIntegrationClient;
|
|
4
5
|
whatsapp: WhatsAppIntegrationClient;
|
|
6
|
+
messenger: MessengerIntegrationClient;
|
|
7
|
+
telegram: TelegramIntegrationClient;
|
|
8
|
+
sitemap: SitemapIntegrationClient;
|
|
9
|
+
notion: NotionIntegrationClient;
|
|
10
|
+
support: SupportIntegrationClient;
|
|
11
|
+
extract: ExtractIntegrationClient;
|
|
5
12
|
}
|
|
6
13
|
export default IntegrationClient;
|
|
7
14
|
import { ChatBotKitClient } from '../client.cjs';
|
|
8
15
|
import { WidgetIntegrationClient } from './widget/index.cjs';
|
|
9
|
-
import {
|
|
16
|
+
import { SlackIntegrationClient } from './slack/index.cjs';
|
|
17
|
+
import { DiscordIntegrationClient } from './discord/index.cjs';
|
|
10
18
|
import { WhatsAppIntegrationClient } from './whatsapp/index.cjs';
|
|
19
|
+
import { MessengerIntegrationClient } from './messenger/index.cjs';
|
|
20
|
+
import { TelegramIntegrationClient } from './telegram/index.cjs';
|
|
21
|
+
import { SitemapIntegrationClient } from './sitemap/index.cjs';
|
|
22
|
+
import { NotionIntegrationClient } from './notion/index.cjs';
|
|
23
|
+
import { SupportIntegrationClient } from './support/index.cjs';
|
|
24
|
+
import { ExtractIntegrationClient } from './extract/index.cjs';
|