@wildix/xbees-users-client 1.0.52 → 1.0.53
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.
|
|
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;
|
|
4
4
|
const UsersServiceException_1 = require("./UsersServiceException");
|
|
5
5
|
class ForbiddenException extends UsersServiceException_1.UsersServiceException {
|
|
6
6
|
name = "ForbiddenException";
|
|
@@ -28,6 +28,11 @@ 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
|
+
};
|
|
31
36
|
exports.PbxLicenseType = {
|
|
32
37
|
BASIC: "basic",
|
|
33
38
|
BUSINESS: "business",
|
|
@@ -69,11 +74,6 @@ exports.PbxColleaguesSearchStrategy = {
|
|
|
69
74
|
CONTAIN: "contain",
|
|
70
75
|
STARTS_WITH: "startsWith",
|
|
71
76
|
};
|
|
72
|
-
exports.AppType = {
|
|
73
|
-
COLLABORATION: "collaboration",
|
|
74
|
-
XBEES: "xbees",
|
|
75
|
-
XHOPPERS: "xhoppers",
|
|
76
|
-
};
|
|
77
77
|
exports.BotAccess = {
|
|
78
78
|
EVERYBODY: "EVERYBODY",
|
|
79
79
|
ORGANIZATION: "ORGANIZATION",
|
|
@@ -23,6 +23,11 @@ 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
|
+
};
|
|
26
31
|
export const PbxLicenseType = {
|
|
27
32
|
BASIC: "basic",
|
|
28
33
|
BUSINESS: "business",
|
|
@@ -64,11 +69,6 @@ export const PbxColleaguesSearchStrategy = {
|
|
|
64
69
|
CONTAIN: "contain",
|
|
65
70
|
STARTS_WITH: "startsWith",
|
|
66
71
|
};
|
|
67
|
-
export const AppType = {
|
|
68
|
-
COLLABORATION: "collaboration",
|
|
69
|
-
XBEES: "xbees",
|
|
70
|
-
XHOPPERS: "xhoppers",
|
|
71
|
-
};
|
|
72
72
|
export const BotAccess = {
|
|
73
73
|
EVERYBODY: "EVERYBODY",
|
|
74
74
|
ORGANIZATION: "ORGANIZATION",
|
|
@@ -27,7 +27,7 @@ declare const GetAppVersionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Returns
|
|
30
|
+
* Returns the current Google Play Store version of the Android app for the specified appType (X-Bees, X-Hoppers, Collaboration).
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -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: "
|
|
38
|
+
* appType: "UC" || "X_BEES" || "X_HOPPERS", // required
|
|
39
39
|
* };
|
|
40
40
|
* const command = new GetAppVersionCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
@@ -23,6 +23,19 @@ 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];
|
|
26
39
|
/**
|
|
27
40
|
* @public
|
|
28
41
|
*/
|
|
@@ -199,19 +212,6 @@ export declare const PbxColleaguesSearchStrategy: {
|
|
|
199
212
|
* @public
|
|
200
213
|
*/
|
|
201
214
|
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 XBEES: "xbees";
|
|
209
|
-
readonly XHOPPERS: "xhoppers";
|
|
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:
|
|
1254
|
+
appType: LicenseType;
|
|
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.
|
|
4
|
+
"version": "1.0.53",
|
|
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",
|