@wildix/xbees-users-client 1.0.53 → 1.1.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.
@@ -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.BotCapability = exports.BotToolVariableHandler = exports.BotCapabilityToolPipelineType = exports.BotApiKeyNotFoundException = exports.BotIntegrationType = exports.BotAccess = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.LicenseType = exports.ValidationException = exports.ForbiddenException = 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.BotCapability = exports.BotToolVariableHandler = exports.BotCapabilityToolPipelineType = exports.BotApiKeyNotFoundException = exports.BotIntegrationType = exports.BotAccess = exports.AppType = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.PbxColleagueRole = exports.PbxLicenseType = exports.ValidationException = exports.ForbiddenException = void 0;
4
4
  const UsersServiceException_1 = require("./UsersServiceException");
5
5
  class ForbiddenException extends UsersServiceException_1.UsersServiceException {
6
6
  name = "ForbiddenException";
@@ -28,11 +28,6 @@ class ValidationException extends UsersServiceException_1.UsersServiceException
28
28
  }
29
29
  }
30
30
  exports.ValidationException = ValidationException;
31
- exports.LicenseType = {
32
- UC: "UC",
33
- X_BEES: "X_BEES",
34
- X_HOPPERS: "X_HOPPERS",
35
- };
36
31
  exports.PbxLicenseType = {
37
32
  BASIC: "basic",
38
33
  BUSINESS: "business",
@@ -74,6 +69,11 @@ exports.PbxColleaguesSearchStrategy = {
74
69
  CONTAIN: "contain",
75
70
  STARTS_WITH: "startsWith",
76
71
  };
72
+ exports.AppType = {
73
+ COLLABORATION: "collaboration",
74
+ X_BEES: "x-bees",
75
+ X_HOPPERS: "x-hoppers",
76
+ };
77
77
  exports.BotAccess = {
78
78
  EVERYBODY: "EVERYBODY",
79
79
  ORGANIZATION: "ORGANIZATION",
@@ -23,11 +23,6 @@ export class ValidationException extends __BaseException {
23
23
  Object.setPrototypeOf(this, ValidationException.prototype);
24
24
  }
25
25
  }
26
- export const LicenseType = {
27
- UC: "UC",
28
- X_BEES: "X_BEES",
29
- X_HOPPERS: "X_HOPPERS",
30
- };
31
26
  export const PbxLicenseType = {
32
27
  BASIC: "basic",
33
28
  BUSINESS: "business",
@@ -69,6 +64,11 @@ export const PbxColleaguesSearchStrategy = {
69
64
  CONTAIN: "contain",
70
65
  STARTS_WITH: "startsWith",
71
66
  };
67
+ export const AppType = {
68
+ COLLABORATION: "collaboration",
69
+ X_BEES: "x-bees",
70
+ X_HOPPERS: "x-hoppers",
71
+ };
72
72
  export const BotAccess = {
73
73
  EVERYBODY: "EVERYBODY",
74
74
  ORGANIZATION: "ORGANIZATION",
@@ -35,7 +35,7 @@ declare const GetAppVersionCommand_base: {
35
35
  * // const { UsersClient, GetAppVersionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
36
  * const client = new UsersClient(config);
37
37
  * const input = { // GetAppVersionInput
38
- * appType: "UC" || "X_BEES" || "X_HOPPERS", // required
38
+ * appType: "x-bees" || "x-hoppers" || "collaboration", // required
39
39
  * };
40
40
  * const command = new GetAppVersionCommand(input);
41
41
  * const response = await client.send(command);
@@ -23,19 +23,6 @@ export declare class ValidationException extends __BaseException {
23
23
  */
24
24
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
25
25
  }
26
- /**
27
- * @public
28
- * @enum
29
- */
30
- export declare const LicenseType: {
31
- readonly UC: "UC";
32
- readonly X_BEES: "X_BEES";
33
- readonly X_HOPPERS: "X_HOPPERS";
34
- };
35
- /**
36
- * @public
37
- */
38
- export type LicenseType = typeof LicenseType[keyof typeof LicenseType];
39
26
  /**
40
27
  * @public
41
28
  */
@@ -212,6 +199,19 @@ export declare const PbxColleaguesSearchStrategy: {
212
199
  * @public
213
200
  */
214
201
  export type PbxColleaguesSearchStrategy = typeof PbxColleaguesSearchStrategy[keyof typeof PbxColleaguesSearchStrategy];
202
+ /**
203
+ * @public
204
+ * @enum
205
+ */
206
+ export declare const AppType: {
207
+ readonly COLLABORATION: "collaboration";
208
+ readonly X_BEES: "x-bees";
209
+ readonly X_HOPPERS: "x-hoppers";
210
+ };
211
+ /**
212
+ * @public
213
+ */
214
+ export type AppType = typeof AppType[keyof typeof AppType];
215
215
  /**
216
216
  * @public
217
217
  */
@@ -1251,7 +1251,7 @@ export interface DirectoryItem {
1251
1251
  * @public
1252
1252
  */
1253
1253
  export interface GetAppVersionInput {
1254
- appType: LicenseType;
1254
+ appType: AppType;
1255
1255
  }
1256
1256
  /**
1257
1257
  * @public
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.53",
4
+ "version": "1.1.0",
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",