@wildix/xbees-users-client 1.0.37 → 1.0.38

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserQueryPredicateNotMetException = exports.UserQuery = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotLlmToolType = exports.BotLlmFunctionIntegration = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmFunctionIntegrationWebhookAuthorization = exports.BotLlmEmbeddedToolType = exports.BotApiKeyNotFoundException = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ForbiddenException = exports.ValidationException = void 0;
3
+ exports.UserQueryPredicateNotMetException = exports.UserQuery = exports.UserNotFoundException = exports.UserCompanyNotValidException = exports.BotSecretKeyNotValidException = exports.BotNotFoundException = exports.BotEndpoint = exports.BotLlmToolType = exports.BotLlmFunctionIntegration = exports.BotLlmFunctionIntegrationMethod = exports.BotLlmFunctionIntegrationWebhookAuthorization = exports.BotLlmEmbeddedToolType = exports.BotApiKeyNotFoundException = exports.BotIntegrationType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ForbiddenException = exports.ValidationException = void 0;
4
4
  const UsersServiceException_1 = require("./UsersServiceException");
5
5
  class ValidationException extends UsersServiceException_1.UsersServiceException {
6
6
  constructor(opts) {
@@ -69,6 +69,13 @@ exports.PbxColleaguesSearchStrategy = {
69
69
  CONTAIN: "contain",
70
70
  STARTS_WITH: "startsWith",
71
71
  };
72
+ exports.BotIntegrationType = {
73
+ DIALOGFLOW_CX: "DIALOGFLOW_CX",
74
+ LLM: "LLM",
75
+ OPEN_AI_ASSISTANT: "OPEN_AI_ASSISTANT",
76
+ SQS: "SQS",
77
+ WEBHOOK: "WEBHOOK",
78
+ };
72
79
  class BotApiKeyNotFoundException extends UsersServiceException_1.UsersServiceException {
73
80
  constructor(opts) {
74
81
  super({
@@ -64,6 +64,13 @@ export const PbxColleaguesSearchStrategy = {
64
64
  CONTAIN: "contain",
65
65
  STARTS_WITH: "startsWith",
66
66
  };
67
+ export const BotIntegrationType = {
68
+ DIALOGFLOW_CX: "DIALOGFLOW_CX",
69
+ LLM: "LLM",
70
+ OPEN_AI_ASSISTANT: "OPEN_AI_ASSISTANT",
71
+ SQS: "SQS",
72
+ WEBHOOK: "WEBHOOK",
73
+ };
67
74
  export class BotApiKeyNotFoundException extends __BaseException {
68
75
  constructor(opts) {
69
76
  super({
@@ -48,6 +48,8 @@ declare const CreateBotApiKeyCommand_base: {
48
48
  * // name: "STRING_VALUE", // required
49
49
  * // picture: "STRING_VALUE",
50
50
  * // searchable: true || false,
51
+ * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
52
+ * // integrationApiKeysCount: Number("int"), // required
51
53
  * // createdAt: "STRING_VALUE", // required
52
54
  * // updated: "STRING_VALUE",
53
55
  * // },
@@ -121,6 +121,8 @@ declare const CreateBotCommand_base: {
121
121
  * // name: "STRING_VALUE", // required
122
122
  * // picture: "STRING_VALUE",
123
123
  * // searchable: true || false,
124
+ * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
125
+ * // integrationApiKeysCount: Number("int"), // required
124
126
  * // createdAt: "STRING_VALUE", // required
125
127
  * // updated: "STRING_VALUE",
126
128
  * // },
@@ -47,6 +47,8 @@ declare const GetBotCommand_base: {
47
47
  * // name: "STRING_VALUE", // required
48
48
  * // picture: "STRING_VALUE",
49
49
  * // searchable: true || false,
50
+ * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
51
+ * // integrationApiKeysCount: Number("int"), // required
50
52
  * // createdAt: "STRING_VALUE", // required
51
53
  * // updated: "STRING_VALUE",
52
54
  * // },
@@ -47,6 +47,8 @@ declare const ListBotsCommand_base: {
47
47
  * // name: "STRING_VALUE", // required
48
48
  * // picture: "STRING_VALUE",
49
49
  * // searchable: true || false,
50
+ * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
51
+ * // integrationApiKeysCount: Number("int"), // required
50
52
  * // createdAt: "STRING_VALUE", // required
51
53
  * // updated: "STRING_VALUE",
52
54
  * // },
@@ -50,6 +50,8 @@ declare const UpdateBotCommand_base: {
50
50
  * // name: "STRING_VALUE", // required
51
51
  * // picture: "STRING_VALUE",
52
52
  * // searchable: true || false,
53
+ * // integrationType: "LLM" || "DIALOGFLOW_CX" || "OPEN_AI_ASSISTANT" || "WEBHOOK" || "SQS", // required
54
+ * // integrationApiKeysCount: Number("int"), // required
53
55
  * // createdAt: "STRING_VALUE", // required
54
56
  * // updated: "STRING_VALUE",
55
57
  * // },
@@ -521,6 +521,21 @@ export interface BatchGetUsersPbxLinkDataV1Input {
521
521
  export interface BatchGetUsersPbxLinkDataV1Output {
522
522
  users: (UserPbxLinkData)[];
523
523
  }
524
+ /**
525
+ * @public
526
+ * @enum
527
+ */
528
+ export declare const BotIntegrationType: {
529
+ readonly DIALOGFLOW_CX: "DIALOGFLOW_CX";
530
+ readonly LLM: "LLM";
531
+ readonly OPEN_AI_ASSISTANT: "OPEN_AI_ASSISTANT";
532
+ readonly SQS: "SQS";
533
+ readonly WEBHOOK: "WEBHOOK";
534
+ };
535
+ /**
536
+ * @public
537
+ */
538
+ export type BotIntegrationType = typeof BotIntegrationType[keyof typeof BotIntegrationType];
524
539
  /**
525
540
  * @public
526
541
  */
@@ -529,6 +544,8 @@ export interface Bot {
529
544
  name: string;
530
545
  picture?: string;
531
546
  searchable?: boolean;
547
+ integrationType: BotIntegrationType;
548
+ integrationApiKeysCount: number;
532
549
  createdAt: string;
533
550
  updated?: string;
534
551
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-users-client",
3
3
  "description": "@wildix/xbees-users-client client",
4
- "version": "1.0.37",
4
+ "version": "1.0.38",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -17,6 +17,7 @@
17
17
  "module": "./dist-es/index.js",
18
18
  "sideEffects": false,
19
19
  "dependencies": {
20
+ "tslib": "^2.6.2",
20
21
  "@aws-crypto/sha256-browser": "3.0.0",
21
22
  "@aws-crypto/sha256-js": "3.0.0",
22
23
  "@aws-sdk/middleware-user-agent": "3.587.0",
@@ -45,16 +46,15 @@
45
46
  "@smithy/util-defaults-mode-node": "^3.0.3",
46
47
  "@smithy/util-retry": "^3.0.0",
47
48
  "@smithy/util-utf8": "^3.0.0",
48
- "@wildix/smithy-utils": "^1.0.2",
49
- "tslib": "^2.6.2"
49
+ "@wildix/smithy-utils": "^1.0.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@tsconfig/node16": "16.1.3",
53
- "@types/node": "^16.18.96",
54
53
  "concurrently": "7.0.0",
55
54
  "downlevel-dts": "0.10.1",
56
55
  "rimraf": "^3.0.0",
57
- "typescript": "~4.9.5"
56
+ "typescript": "~4.9.5",
57
+ "@types/node": "^16.18.96"
58
58
  },
59
59
  "engines": {
60
60
  "node": ">=16.0.0"