@wildix/xbees-users-client 1.4.0 → 3.1.1
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/dist-cjs/Users.js +3 -3
- package/dist-cjs/UsersClient.js +34 -26
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +81 -0
- package/dist-cjs/commands/BatchGetUsersCommand.js +10 -11
- package/dist-cjs/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +10 -11
- package/dist-cjs/commands/BatchGetUsersPbxLinkDataCommand.js +10 -11
- package/dist-cjs/commands/BatchGetUsersPbxLinkDataV1Command.js +10 -11
- package/dist-cjs/commands/ChangeUserEmailCommand.js +10 -11
- package/dist-cjs/commands/CreateAnonymousSessionCommand.js +10 -11
- package/dist-cjs/commands/CreateBotApiKeyCommand.js +10 -11
- package/dist-cjs/commands/CreateBotCommand.js +10 -11
- package/dist-cjs/commands/CreateSystemBotCommand.js +10 -11
- package/dist-cjs/commands/DeleteBotApiKeyCommand.js +10 -11
- package/dist-cjs/commands/DeleteBotCommand.js +10 -11
- package/dist-cjs/commands/GetAccountCommand.js +10 -11
- package/dist-cjs/commands/GetAppVersionCommand.js +10 -11
- package/dist-cjs/commands/GetBotCallbackCommand.js +10 -11
- package/dist-cjs/commands/GetBotCommand.js +10 -11
- package/dist-cjs/commands/GetUserCommand.js +10 -11
- package/dist-cjs/commands/GetUserEmailNotificationsSettingsCommand.js +10 -11
- package/dist-cjs/commands/GetUserPbxLinkDataCommand.js +10 -11
- package/dist-cjs/commands/GetUserPbxLinkSuggestionCommand.js +10 -11
- package/dist-cjs/commands/GetUserPbxLinkSuggestionV1Command.js +10 -11
- package/dist-cjs/commands/IntelligenceSearchCommand.js +10 -11
- package/dist-cjs/commands/InviteCommand.js +10 -11
- package/dist-cjs/commands/LinkIdentityCommand.js +10 -11
- package/dist-cjs/commands/ListBotApiKeysCommand.js +10 -11
- package/dist-cjs/commands/ListBotsCommand.js +10 -11
- package/dist-cjs/commands/ListIdentitiesCommand.js +10 -11
- package/dist-cjs/commands/ListWorkspacesCommand.js +10 -11
- package/dist-cjs/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +10 -11
- package/dist-cjs/commands/QueryColleaguesCommand.js +10 -11
- package/dist-cjs/commands/QueryUserCommand.js +10 -11
- package/dist-cjs/commands/QueryUsersCommand.js +10 -11
- package/dist-cjs/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +10 -11
- package/dist-cjs/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +10 -11
- package/dist-cjs/commands/UnlinkIdentityCommand.js +10 -11
- package/dist-cjs/commands/UnlinkWorkspaceCommand.js +10 -11
- package/dist-cjs/commands/UpdateAccountCommand.js +10 -11
- package/dist-cjs/commands/UpdateBotCallbackCommand.js +10 -11
- package/dist-cjs/commands/UpdateBotCommand.js +10 -11
- package/dist-cjs/commands/UpdateUserEmailNotificationsSettingsCommand.js +10 -11
- package/dist-cjs/commands/UpdateWorkspaceCommand.js +10 -11
- package/dist-cjs/commands/UploadPictureCommand.js +10 -11
- package/dist-cjs/commands/UploadPictureV1Command.js +10 -11
- package/dist-cjs/commands/VerifyBotSecretKeyCommand.js +10 -11
- package/dist-cjs/commands/VerifyBotSecretKeyV1Command.js +10 -11
- package/dist-cjs/commands/VerifyIdentityCommand.js +10 -11
- package/dist-cjs/commands/index.js +4 -4
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/index.js +4 -1
- package/dist-cjs/models/UsersServiceException.js +3 -3
- package/dist-cjs/models/enums.js +86 -0
- package/dist-cjs/models/errors.js +225 -0
- package/dist-cjs/models/models_0.js +0 -400
- package/dist-cjs/runtimeConfig.browser.js +11 -11
- package/dist-cjs/runtimeConfig.js +22 -18
- package/dist-cjs/runtimeConfig.shared.js +35 -10
- package/dist-cjs/runtimeExtensions.js +6 -5
- package/dist-cjs/schemas/schemas_0.js +1463 -0
- package/dist-es/Users.js +10 -10
- package/dist-es/UsersClient.js +30 -22
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +75 -0
- package/dist-es/commands/BatchGetUsersCommand.js +9 -10
- package/dist-es/commands/BatchGetUsersEmailNotificationsSettingsCommand.js +9 -10
- package/dist-es/commands/BatchGetUsersPbxLinkDataCommand.js +9 -10
- package/dist-es/commands/BatchGetUsersPbxLinkDataV1Command.js +9 -10
- package/dist-es/commands/ChangeUserEmailCommand.js +9 -10
- package/dist-es/commands/CreateAnonymousSessionCommand.js +9 -10
- package/dist-es/commands/CreateBotApiKeyCommand.js +9 -10
- package/dist-es/commands/CreateBotCommand.js +9 -10
- package/dist-es/commands/CreateSystemBotCommand.js +9 -10
- package/dist-es/commands/DeleteBotApiKeyCommand.js +9 -10
- package/dist-es/commands/DeleteBotCommand.js +9 -10
- package/dist-es/commands/GetAccountCommand.js +9 -10
- package/dist-es/commands/GetAppVersionCommand.js +9 -10
- package/dist-es/commands/GetBotCallbackCommand.js +9 -10
- package/dist-es/commands/GetBotCommand.js +9 -10
- package/dist-es/commands/GetUserCommand.js +9 -10
- package/dist-es/commands/GetUserEmailNotificationsSettingsCommand.js +9 -10
- package/dist-es/commands/GetUserPbxLinkDataCommand.js +9 -10
- package/dist-es/commands/GetUserPbxLinkSuggestionCommand.js +9 -10
- package/dist-es/commands/GetUserPbxLinkSuggestionV1Command.js +9 -10
- package/dist-es/commands/IntelligenceSearchCommand.js +9 -10
- package/dist-es/commands/InviteCommand.js +9 -10
- package/dist-es/commands/LinkIdentityCommand.js +9 -10
- package/dist-es/commands/ListBotApiKeysCommand.js +9 -10
- package/dist-es/commands/ListBotsCommand.js +9 -10
- package/dist-es/commands/ListIdentitiesCommand.js +9 -10
- package/dist-es/commands/ListWorkspacesCommand.js +9 -10
- package/dist-es/commands/PartialUpdateUserEmailNotificationsSettingsCommand.js +9 -10
- package/dist-es/commands/QueryColleaguesCommand.js +9 -10
- package/dist-es/commands/QueryUserCommand.js +9 -10
- package/dist-es/commands/QueryUsersCommand.js +9 -10
- package/dist-es/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.js +9 -10
- package/dist-es/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.js +9 -10
- package/dist-es/commands/UnlinkIdentityCommand.js +9 -10
- package/dist-es/commands/UnlinkWorkspaceCommand.js +9 -10
- package/dist-es/commands/UpdateAccountCommand.js +9 -10
- package/dist-es/commands/UpdateBotCallbackCommand.js +9 -10
- package/dist-es/commands/UpdateBotCommand.js +9 -10
- package/dist-es/commands/UpdateUserEmailNotificationsSettingsCommand.js +9 -10
- package/dist-es/commands/UpdateWorkspaceCommand.js +9 -10
- package/dist-es/commands/UploadPictureCommand.js +9 -10
- package/dist-es/commands/UploadPictureV1Command.js +9 -10
- package/dist-es/commands/VerifyBotSecretKeyCommand.js +9 -10
- package/dist-es/commands/VerifyBotSecretKeyV1Command.js +9 -10
- package/dist-es/commands/VerifyIdentityCommand.js +9 -10
- package/dist-es/commands/index.js +4 -4
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/index.js +4 -1
- package/dist-es/models/UsersServiceException.js +1 -1
- package/dist-es/models/enums.js +83 -0
- package/dist-es/models/errors.js +205 -0
- package/dist-es/models/models_0.js +1 -382
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +17 -13
- package/dist-es/runtimeConfig.shared.js +29 -4
- package/dist-es/runtimeExtensions.js +6 -5
- package/dist-es/schemas/schemas_0.js +1456 -0
- package/dist-types/Users.d.ts +46 -46
- package/dist-types/UsersClient.d.ts +75 -57
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/BatchGetUsersCommand.d.ts +11 -7
- package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +11 -7
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +11 -7
- package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +11 -7
- package/dist-types/commands/ChangeUserEmailCommand.d.ts +11 -7
- package/dist-types/commands/CreateAnonymousSessionCommand.d.ts +11 -7
- package/dist-types/commands/CreateBotApiKeyCommand.d.ts +11 -7
- package/dist-types/commands/CreateBotCommand.d.ts +11 -7
- package/dist-types/commands/CreateSystemBotCommand.d.ts +11 -7
- package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +11 -7
- package/dist-types/commands/DeleteBotCommand.d.ts +11 -7
- package/dist-types/commands/GetAccountCommand.d.ts +11 -7
- package/dist-types/commands/GetAppVersionCommand.d.ts +11 -7
- package/dist-types/commands/GetBotCallbackCommand.d.ts +11 -7
- package/dist-types/commands/GetBotCommand.d.ts +11 -7
- package/dist-types/commands/GetUserCommand.d.ts +11 -7
- package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +11 -7
- package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +11 -7
- package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +11 -7
- package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +11 -7
- package/dist-types/commands/IntelligenceSearchCommand.d.ts +11 -7
- package/dist-types/commands/InviteCommand.d.ts +11 -7
- package/dist-types/commands/LinkIdentityCommand.d.ts +11 -7
- package/dist-types/commands/ListBotApiKeysCommand.d.ts +11 -7
- package/dist-types/commands/ListBotsCommand.d.ts +11 -7
- package/dist-types/commands/ListIdentitiesCommand.d.ts +11 -7
- package/dist-types/commands/ListWorkspacesCommand.d.ts +11 -7
- package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +11 -7
- package/dist-types/commands/QueryColleaguesCommand.d.ts +11 -7
- package/dist-types/commands/QueryUserCommand.d.ts +11 -7
- package/dist-types/commands/QueryUsersCommand.d.ts +11 -7
- package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +11 -7
- package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +11 -7
- package/dist-types/commands/UnlinkIdentityCommand.d.ts +11 -7
- package/dist-types/commands/UnlinkWorkspaceCommand.d.ts +11 -7
- package/dist-types/commands/UpdateAccountCommand.d.ts +11 -7
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +11 -7
- package/dist-types/commands/UpdateBotCommand.d.ts +11 -7
- package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +11 -7
- package/dist-types/commands/UpdateWorkspaceCommand.d.ts +11 -7
- package/dist-types/commands/UploadPictureCommand.d.ts +11 -7
- package/dist-types/commands/UploadPictureV1Command.d.ts +12 -8
- package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +11 -7
- package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +11 -7
- package/dist-types/commands/VerifyIdentityCommand.d.ts +11 -7
- package/dist-types/commands/index.d.ts +4 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +4 -3
- package/dist-types/index.d.ts +5 -1
- package/dist-types/models/UsersServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +196 -0
- package/dist-types/models/errors.d.ts +189 -0
- package/dist-types/models/models_0.d.ts +75 -435
- package/dist-types/runtimeConfig.browser.d.ts +39 -16
- package/dist-types/runtimeConfig.d.ts +38 -15
- package/dist-types/runtimeConfig.native.d.ts +40 -17
- package/dist-types/runtimeConfig.shared.d.ts +24 -3
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +217 -0
- package/package.json +14 -40
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1915
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1821
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -407
|
@@ -1,28 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class ForbiddenException extends __BaseException {
|
|
8
|
-
readonly name: "ForbiddenException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
|
-
export declare class ValidationException extends __BaseException {
|
|
19
|
-
readonly name: "ValidationException";
|
|
20
|
-
readonly $fault: "client";
|
|
21
|
-
/**
|
|
22
|
-
* @internal
|
|
23
|
-
*/
|
|
24
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
25
|
-
}
|
|
1
|
+
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
+
import type { AppType, BotAccess, BotCapabilityToolPipelineType, BotIntegrationType, BotLlmEmbeddedToolType, BotLlmFunctionIntegrationMethod, BotLlmToolType, GetPbxColleaguesDir, PbxColleagueRole, PbxColleaguesQueryField, PbxColleaguesSearchStrategy, PbxLicenseType, WorkspaceType } from "./enums";
|
|
26
3
|
/**
|
|
27
4
|
* @public
|
|
28
5
|
*/
|
|
@@ -45,21 +22,6 @@ export interface User {
|
|
|
45
22
|
createdAt?: string | undefined;
|
|
46
23
|
updatedAt?: string | undefined;
|
|
47
24
|
}
|
|
48
|
-
/**
|
|
49
|
-
* @public
|
|
50
|
-
* @enum
|
|
51
|
-
*/
|
|
52
|
-
export declare const PbxLicenseType: {
|
|
53
|
-
readonly BASIC: "basic";
|
|
54
|
-
readonly BUSINESS: "business";
|
|
55
|
-
readonly ESSENTIAL: "essential";
|
|
56
|
-
readonly PREMIUM: "premium";
|
|
57
|
-
readonly WIZYCONF: "wizyconf";
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* @public
|
|
61
|
-
*/
|
|
62
|
-
export type PbxLicenseType = typeof PbxLicenseType[keyof typeof PbxLicenseType];
|
|
63
25
|
/**
|
|
64
26
|
* @public
|
|
65
27
|
*/
|
|
@@ -107,21 +69,6 @@ export interface BotWebhookEndpoint {
|
|
|
107
69
|
url: string;
|
|
108
70
|
secret: string;
|
|
109
71
|
}
|
|
110
|
-
/**
|
|
111
|
-
* @public
|
|
112
|
-
* @enum
|
|
113
|
-
*/
|
|
114
|
-
export declare const PbxColleagueRole: {
|
|
115
|
-
readonly ADMIN: "admin";
|
|
116
|
-
readonly FAX: "fax";
|
|
117
|
-
readonly PARK_ORBIT: "park_orbit";
|
|
118
|
-
readonly ROOM: "room";
|
|
119
|
-
readonly USER: "user";
|
|
120
|
-
};
|
|
121
|
-
/**
|
|
122
|
-
* @public
|
|
123
|
-
*/
|
|
124
|
-
export type PbxColleagueRole = typeof PbxColleagueRole[keyof typeof PbxColleagueRole];
|
|
125
72
|
/**
|
|
126
73
|
* @public
|
|
127
74
|
*/
|
|
@@ -148,57 +95,6 @@ export interface PbxColleague {
|
|
|
148
95
|
licenseType: PbxLicenseType;
|
|
149
96
|
jid: string;
|
|
150
97
|
}
|
|
151
|
-
/**
|
|
152
|
-
* @public
|
|
153
|
-
* @enum
|
|
154
|
-
*/
|
|
155
|
-
export declare const GetPbxColleaguesDir: {
|
|
156
|
-
readonly ASC: "asc";
|
|
157
|
-
readonly DESC: "desc";
|
|
158
|
-
};
|
|
159
|
-
/**
|
|
160
|
-
* @public
|
|
161
|
-
*/
|
|
162
|
-
export type GetPbxColleaguesDir = typeof GetPbxColleaguesDir[keyof typeof GetPbxColleaguesDir];
|
|
163
|
-
/**
|
|
164
|
-
* @public
|
|
165
|
-
* @enum
|
|
166
|
-
*/
|
|
167
|
-
export declare const PbxColleaguesQueryField: {
|
|
168
|
-
readonly DEPARTMENT: "department";
|
|
169
|
-
readonly DIALPLAN: "dialplan";
|
|
170
|
-
readonly EMAIL: "email";
|
|
171
|
-
readonly EXTENSION: "extension";
|
|
172
|
-
readonly FAX_DIALPLAN: "faxDialplan";
|
|
173
|
-
readonly GROUP_DN: "groupDn";
|
|
174
|
-
readonly ID: "id";
|
|
175
|
-
readonly LANGUAGE: "language";
|
|
176
|
-
readonly LICENSE_TYPE: "licenseType";
|
|
177
|
-
readonly LOGIN: "login";
|
|
178
|
-
readonly MOBILE_PHONE: "mobilePhone";
|
|
179
|
-
readonly NAME: "name";
|
|
180
|
-
readonly OFFICE_PHONE: "officePhone";
|
|
181
|
-
readonly PBX_DN: "pbxDn";
|
|
182
|
-
readonly PICTURE: "picture";
|
|
183
|
-
readonly ROLE: "role";
|
|
184
|
-
readonly SOURCE_ID: "sourceId";
|
|
185
|
-
};
|
|
186
|
-
/**
|
|
187
|
-
* @public
|
|
188
|
-
*/
|
|
189
|
-
export type PbxColleaguesQueryField = typeof PbxColleaguesQueryField[keyof typeof PbxColleaguesQueryField];
|
|
190
|
-
/**
|
|
191
|
-
* @public
|
|
192
|
-
* @enum
|
|
193
|
-
*/
|
|
194
|
-
export declare const PbxColleaguesSearchStrategy: {
|
|
195
|
-
readonly CONTAIN: "contain";
|
|
196
|
-
readonly STARTS_WITH: "startsWith";
|
|
197
|
-
};
|
|
198
|
-
/**
|
|
199
|
-
* @public
|
|
200
|
-
*/
|
|
201
|
-
export type PbxColleaguesSearchStrategy = typeof PbxColleaguesSearchStrategy[keyof typeof PbxColleaguesSearchStrategy];
|
|
202
98
|
/**
|
|
203
99
|
* @public
|
|
204
100
|
*/
|
|
@@ -227,17 +123,6 @@ export interface UserToInvite {
|
|
|
227
123
|
*/
|
|
228
124
|
colleague?: boolean | undefined;
|
|
229
125
|
}
|
|
230
|
-
/**
|
|
231
|
-
* @public
|
|
232
|
-
*/
|
|
233
|
-
export declare class ChannelNotFoundException extends __BaseException {
|
|
234
|
-
readonly name: "ChannelNotFoundException";
|
|
235
|
-
readonly $fault: "client";
|
|
236
|
-
/**
|
|
237
|
-
* @internal
|
|
238
|
-
*/
|
|
239
|
-
constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
|
|
240
|
-
}
|
|
241
126
|
/**
|
|
242
127
|
* @public
|
|
243
128
|
*/
|
|
@@ -258,17 +143,6 @@ export interface SkippedMember {
|
|
|
258
143
|
*/
|
|
259
144
|
phone?: string | undefined;
|
|
260
145
|
}
|
|
261
|
-
/**
|
|
262
|
-
* @public
|
|
263
|
-
*/
|
|
264
|
-
export declare class WidgetNotFoundException extends __BaseException {
|
|
265
|
-
readonly name: "WidgetNotFoundException";
|
|
266
|
-
readonly $fault: "client";
|
|
267
|
-
/**
|
|
268
|
-
* @internal
|
|
269
|
-
*/
|
|
270
|
-
constructor(opts: __ExceptionOptionType<WidgetNotFoundException, __BaseException>);
|
|
271
|
-
}
|
|
272
146
|
/**
|
|
273
147
|
* @public
|
|
274
148
|
*/
|
|
@@ -289,17 +163,6 @@ export interface Account {
|
|
|
289
163
|
*/
|
|
290
164
|
primaryIdentity?: string | undefined;
|
|
291
165
|
}
|
|
292
|
-
/**
|
|
293
|
-
* @public
|
|
294
|
-
*/
|
|
295
|
-
export declare class AccountNotFoundException extends __BaseException {
|
|
296
|
-
readonly name: "AccountNotFoundException";
|
|
297
|
-
readonly $fault: "client";
|
|
298
|
-
/**
|
|
299
|
-
* @internal
|
|
300
|
-
*/
|
|
301
|
-
constructor(opts: __ExceptionOptionType<AccountNotFoundException, __BaseException>);
|
|
302
|
-
}
|
|
303
166
|
/**
|
|
304
167
|
* @public
|
|
305
168
|
*/
|
|
@@ -326,31 +189,21 @@ export declare namespace AnonymousEntryContext {
|
|
|
326
189
|
channelId?: never;
|
|
327
190
|
$unknown: [string, any];
|
|
328
191
|
}
|
|
192
|
+
/**
|
|
193
|
+
* @deprecated unused in schema-serde mode.
|
|
194
|
+
*
|
|
195
|
+
*/
|
|
329
196
|
interface Visitor<T> {
|
|
330
197
|
widgetId: (value: string) => T;
|
|
331
198
|
channelId: (value: string) => T;
|
|
332
199
|
_: (name: string, value: any) => T;
|
|
333
200
|
}
|
|
334
|
-
const visit: <T>(value: AnonymousEntryContext, visitor: Visitor<T>) => T;
|
|
335
201
|
}
|
|
336
|
-
/**
|
|
337
|
-
* @public
|
|
338
|
-
* @enum
|
|
339
|
-
*/
|
|
340
|
-
export declare const AppType: {
|
|
341
|
-
readonly COLLABORATION: "collaboration";
|
|
342
|
-
readonly X_BEES: "x-bees";
|
|
343
|
-
readonly X_HOPPERS: "x-hoppers";
|
|
344
|
-
};
|
|
345
|
-
/**
|
|
346
|
-
* @public
|
|
347
|
-
*/
|
|
348
|
-
export type AppType = typeof AppType[keyof typeof AppType];
|
|
349
202
|
/**
|
|
350
203
|
* @public
|
|
351
204
|
*/
|
|
352
205
|
export interface BatchGetUsersInput {
|
|
353
|
-
id:
|
|
206
|
+
id: string[];
|
|
354
207
|
}
|
|
355
208
|
/**
|
|
356
209
|
* @public
|
|
@@ -360,7 +213,7 @@ export interface BatchGetUsersOutput {
|
|
|
360
213
|
* A list of users that exist in the platform.
|
|
361
214
|
* @public
|
|
362
215
|
*/
|
|
363
|
-
users:
|
|
216
|
+
users: User[];
|
|
364
217
|
}
|
|
365
218
|
/**
|
|
366
219
|
* @public
|
|
@@ -370,7 +223,7 @@ export interface BatchGetUsersEmailNotificationsSettingsInput {
|
|
|
370
223
|
* List of the unique identifier of the user
|
|
371
224
|
* @public
|
|
372
225
|
*/
|
|
373
|
-
usersIds:
|
|
226
|
+
usersIds: string[];
|
|
374
227
|
}
|
|
375
228
|
/**
|
|
376
229
|
* @public
|
|
@@ -397,7 +250,7 @@ export interface BatchGetUsersEmailNotificationsSettingsOutput {
|
|
|
397
250
|
* @public
|
|
398
251
|
*/
|
|
399
252
|
export interface BatchGetUsersPbxLinkDataInput {
|
|
400
|
-
id:
|
|
253
|
+
id: string[];
|
|
401
254
|
}
|
|
402
255
|
/**
|
|
403
256
|
* @public
|
|
@@ -532,12 +385,12 @@ export interface UserPbxInfo {
|
|
|
532
385
|
* Network addresses associated with the PBX (example: ['krzhevitskywms4.wildixin.com']).
|
|
533
386
|
* @public
|
|
534
387
|
*/
|
|
535
|
-
networkAddresses:
|
|
388
|
+
networkAddresses: string[];
|
|
536
389
|
/**
|
|
537
390
|
* Specifies the HTTPs ports utilized by the PBX system (example: ['443']).
|
|
538
391
|
* @public
|
|
539
392
|
*/
|
|
540
|
-
ports:
|
|
393
|
+
ports: string[];
|
|
541
394
|
/**
|
|
542
395
|
* Prefix used for external lines (eample: '0').
|
|
543
396
|
* @public
|
|
@@ -655,47 +508,20 @@ export interface UserPbxLinkData {
|
|
|
655
508
|
* @public
|
|
656
509
|
*/
|
|
657
510
|
export interface BatchGetUsersPbxLinkDataOutput {
|
|
658
|
-
users:
|
|
511
|
+
users: UserPbxLinkData[];
|
|
659
512
|
}
|
|
660
513
|
/**
|
|
661
514
|
* @public
|
|
662
515
|
*/
|
|
663
516
|
export interface BatchGetUsersPbxLinkDataV1Input {
|
|
664
|
-
id:
|
|
517
|
+
id: string[];
|
|
665
518
|
}
|
|
666
519
|
/**
|
|
667
520
|
* @public
|
|
668
521
|
*/
|
|
669
522
|
export interface BatchGetUsersPbxLinkDataV1Output {
|
|
670
|
-
users:
|
|
523
|
+
users: UserPbxLinkData[];
|
|
671
524
|
}
|
|
672
|
-
/**
|
|
673
|
-
* @public
|
|
674
|
-
* @enum
|
|
675
|
-
*/
|
|
676
|
-
export declare const BotAccess: {
|
|
677
|
-
readonly EVERYBODY: "EVERYBODY";
|
|
678
|
-
readonly ORGANIZATION: "ORGANIZATION";
|
|
679
|
-
};
|
|
680
|
-
/**
|
|
681
|
-
* @public
|
|
682
|
-
*/
|
|
683
|
-
export type BotAccess = typeof BotAccess[keyof typeof BotAccess];
|
|
684
|
-
/**
|
|
685
|
-
* @public
|
|
686
|
-
* @enum
|
|
687
|
-
*/
|
|
688
|
-
export declare const BotIntegrationType: {
|
|
689
|
-
readonly DIALOGFLOW_CX: "DIALOGFLOW_CX";
|
|
690
|
-
readonly LLM: "LLM";
|
|
691
|
-
readonly OPEN_AI_ASSISTANT: "OPEN_AI_ASSISTANT";
|
|
692
|
-
readonly SQS: "SQS";
|
|
693
|
-
readonly WEBHOOK: "WEBHOOK";
|
|
694
|
-
};
|
|
695
|
-
/**
|
|
696
|
-
* @public
|
|
697
|
-
*/
|
|
698
|
-
export type BotIntegrationType = typeof BotIntegrationType[keyof typeof BotIntegrationType];
|
|
699
525
|
/**
|
|
700
526
|
* @public
|
|
701
527
|
*/
|
|
@@ -740,17 +566,6 @@ export interface BotApiKey {
|
|
|
740
566
|
name?: string | undefined;
|
|
741
567
|
createdAt: string;
|
|
742
568
|
}
|
|
743
|
-
/**
|
|
744
|
-
* @public
|
|
745
|
-
*/
|
|
746
|
-
export declare class BotApiKeyNotFoundException extends __BaseException {
|
|
747
|
-
readonly name: "BotApiKeyNotFoundException";
|
|
748
|
-
readonly $fault: "client";
|
|
749
|
-
/**
|
|
750
|
-
* @internal
|
|
751
|
-
*/
|
|
752
|
-
constructor(opts: __ExceptionOptionType<BotApiKeyNotFoundException, __BaseException>);
|
|
753
|
-
}
|
|
754
569
|
/**
|
|
755
570
|
* Comment annotation emitted after a tool completes.
|
|
756
571
|
* @public
|
|
@@ -868,6 +683,10 @@ export declare namespace BotToolAnnotation {
|
|
|
868
683
|
result?: never;
|
|
869
684
|
$unknown: [string, any];
|
|
870
685
|
}
|
|
686
|
+
/**
|
|
687
|
+
* @deprecated unused in schema-serde mode.
|
|
688
|
+
*
|
|
689
|
+
*/
|
|
871
690
|
interface Visitor<T> {
|
|
872
691
|
tag: (value: BotToolTagAnnotation) => T;
|
|
873
692
|
comment: (value: BotToolCommentAnnotation) => T;
|
|
@@ -875,7 +694,6 @@ export declare namespace BotToolAnnotation {
|
|
|
875
694
|
result: (value: BotToolResultAnnotation) => T;
|
|
876
695
|
_: (name: string, value: any) => T;
|
|
877
696
|
}
|
|
878
|
-
const visit: <T>(value: BotToolAnnotation, visitor: Visitor<T>) => T;
|
|
879
697
|
}
|
|
880
698
|
/**
|
|
881
699
|
* @public
|
|
@@ -887,22 +705,8 @@ export interface BotKnowledgeBase {
|
|
|
887
705
|
* @public
|
|
888
706
|
*/
|
|
889
707
|
instructions?: string | undefined;
|
|
890
|
-
annotations?:
|
|
708
|
+
annotations?: BotToolAnnotation[] | undefined;
|
|
891
709
|
}
|
|
892
|
-
/**
|
|
893
|
-
* @public
|
|
894
|
-
* @enum
|
|
895
|
-
*/
|
|
896
|
-
export declare const BotCapabilityToolPipelineType: {
|
|
897
|
-
readonly ASYNC_REQUEST: "async_request";
|
|
898
|
-
readonly ASYNC_REQUEST_GUIDED: "async_request_guided";
|
|
899
|
-
readonly BLOCKING_REQUEST: "blocking_request";
|
|
900
|
-
readonly BLOCKING_REQUEST_GUIDED: "blocking_request_guided";
|
|
901
|
-
};
|
|
902
|
-
/**
|
|
903
|
-
* @public
|
|
904
|
-
*/
|
|
905
|
-
export type BotCapabilityToolPipelineType = typeof BotCapabilityToolPipelineType[keyof typeof BotCapabilityToolPipelineType];
|
|
906
710
|
/**
|
|
907
711
|
* @public
|
|
908
712
|
*/
|
|
@@ -970,13 +774,16 @@ export declare namespace BotToolVariableHandler {
|
|
|
970
774
|
predefined?: never;
|
|
971
775
|
$unknown: [string, any];
|
|
972
776
|
}
|
|
777
|
+
/**
|
|
778
|
+
* @deprecated unused in schema-serde mode.
|
|
779
|
+
*
|
|
780
|
+
*/
|
|
973
781
|
interface Visitor<T> {
|
|
974
782
|
auto: (value: BotToolVariableAutoHandler) => T;
|
|
975
783
|
guided: (value: BotToolVariableGuidedHandler) => T;
|
|
976
784
|
predefined: (value: BotToolVariablePredefinedHandler) => T;
|
|
977
785
|
_: (name: string, value: any) => T;
|
|
978
786
|
}
|
|
979
|
-
const visit: <T>(value: BotToolVariableHandler, visitor: Visitor<T>) => T;
|
|
980
787
|
}
|
|
981
788
|
/**
|
|
982
789
|
* @public
|
|
@@ -998,9 +805,9 @@ export interface BotCapabilityTool {
|
|
|
998
805
|
* @public
|
|
999
806
|
*/
|
|
1000
807
|
id: string;
|
|
1001
|
-
variables?:
|
|
808
|
+
variables?: BotToolVariable[] | undefined;
|
|
1002
809
|
pipeline?: BotCapabilityToolPipeline | undefined;
|
|
1003
|
-
annotations?:
|
|
810
|
+
annotations?: BotToolAnnotation[] | undefined;
|
|
1004
811
|
}
|
|
1005
812
|
/**
|
|
1006
813
|
* @public
|
|
@@ -1028,26 +835,16 @@ export declare namespace BotCapability {
|
|
|
1028
835
|
kb?: never;
|
|
1029
836
|
$unknown: [string, any];
|
|
1030
837
|
}
|
|
838
|
+
/**
|
|
839
|
+
* @deprecated unused in schema-serde mode.
|
|
840
|
+
*
|
|
841
|
+
*/
|
|
1031
842
|
interface Visitor<T> {
|
|
1032
843
|
tool: (value: BotCapabilityTool) => T;
|
|
1033
844
|
kb: (value: BotKnowledgeBase) => T;
|
|
1034
845
|
_: (name: string, value: any) => T;
|
|
1035
846
|
}
|
|
1036
|
-
const visit: <T>(value: BotCapability, visitor: Visitor<T>) => T;
|
|
1037
847
|
}
|
|
1038
|
-
/**
|
|
1039
|
-
* @public
|
|
1040
|
-
* @enum
|
|
1041
|
-
*/
|
|
1042
|
-
export declare const BotLlmEmbeddedToolType: {
|
|
1043
|
-
readonly DELEGATE: "DELEGATE";
|
|
1044
|
-
readonly HANDOVER: "HANDOVER";
|
|
1045
|
-
readonly SUGGESTIONS: "SUGGESTIONS";
|
|
1046
|
-
};
|
|
1047
|
-
/**
|
|
1048
|
-
* @public
|
|
1049
|
-
*/
|
|
1050
|
-
export type BotLlmEmbeddedToolType = typeof BotLlmEmbeddedToolType[keyof typeof BotLlmEmbeddedToolType];
|
|
1051
848
|
/**
|
|
1052
849
|
* @public
|
|
1053
850
|
*/
|
|
@@ -1059,7 +856,7 @@ export interface BotLlmEmbeddedTool {
|
|
|
1059
856
|
* @public
|
|
1060
857
|
*/
|
|
1061
858
|
parameters?: __DocumentType | undefined;
|
|
1062
|
-
annotations?:
|
|
859
|
+
annotations?: BotToolAnnotation[] | undefined;
|
|
1063
860
|
}
|
|
1064
861
|
/**
|
|
1065
862
|
* @public
|
|
@@ -1118,13 +915,16 @@ export declare namespace BotLlmFunctionIntegrationWebhookAuthorization {
|
|
|
1118
915
|
oauth?: never;
|
|
1119
916
|
$unknown: [string, any];
|
|
1120
917
|
}
|
|
918
|
+
/**
|
|
919
|
+
* @deprecated unused in schema-serde mode.
|
|
920
|
+
*
|
|
921
|
+
*/
|
|
1121
922
|
interface Visitor<T> {
|
|
1122
923
|
bearer: (value: BotLlmFunctionIntegrationWebhookAuthorizationBearer) => T;
|
|
1123
924
|
basic: (value: BotLlmFunctionIntegrationWebhookAuthorizationBasic) => T;
|
|
1124
925
|
oauth: (value: BotLlmFunctionIntegrationWebhookAuthorizationOAuth) => T;
|
|
1125
926
|
_: (name: string, value: any) => T;
|
|
1126
927
|
}
|
|
1127
|
-
const visit: <T>(value: BotLlmFunctionIntegrationWebhookAuthorization, visitor: Visitor<T>) => T;
|
|
1128
928
|
}
|
|
1129
929
|
/**
|
|
1130
930
|
* @public
|
|
@@ -1133,21 +933,6 @@ export interface BotLlmFunctionIntegrationWebhookHeader {
|
|
|
1133
933
|
key: string;
|
|
1134
934
|
value: string;
|
|
1135
935
|
}
|
|
1136
|
-
/**
|
|
1137
|
-
* @public
|
|
1138
|
-
* @enum
|
|
1139
|
-
*/
|
|
1140
|
-
export declare const BotLlmFunctionIntegrationMethod: {
|
|
1141
|
-
readonly DELETE: "delete";
|
|
1142
|
-
readonly GET: "get";
|
|
1143
|
-
readonly PATCH: "patch";
|
|
1144
|
-
readonly POST: "post";
|
|
1145
|
-
readonly PUT: "put";
|
|
1146
|
-
};
|
|
1147
|
-
/**
|
|
1148
|
-
* @public
|
|
1149
|
-
*/
|
|
1150
|
-
export type BotLlmFunctionIntegrationMethod = typeof BotLlmFunctionIntegrationMethod[keyof typeof BotLlmFunctionIntegrationMethod];
|
|
1151
936
|
/**
|
|
1152
937
|
* @public
|
|
1153
938
|
*/
|
|
@@ -1156,7 +941,7 @@ export interface BotLlmFunctionIntegrationWebhook {
|
|
|
1156
941
|
method?: BotLlmFunctionIntegrationMethod | undefined;
|
|
1157
942
|
async?: boolean | undefined;
|
|
1158
943
|
authorization?: BotLlmFunctionIntegrationWebhookAuthorization | undefined;
|
|
1159
|
-
headers?:
|
|
944
|
+
headers?: BotLlmFunctionIntegrationWebhookHeader[] | undefined;
|
|
1160
945
|
/**
|
|
1161
946
|
* Timeout in milliseconds for the webhook request.
|
|
1162
947
|
* @public
|
|
@@ -1183,11 +968,14 @@ export declare namespace BotLlmFunctionIntegration {
|
|
|
1183
968
|
webhook?: never;
|
|
1184
969
|
$unknown: [string, any];
|
|
1185
970
|
}
|
|
971
|
+
/**
|
|
972
|
+
* @deprecated unused in schema-serde mode.
|
|
973
|
+
*
|
|
974
|
+
*/
|
|
1186
975
|
interface Visitor<T> {
|
|
1187
976
|
webhook: (value: BotLlmFunctionIntegrationWebhook) => T;
|
|
1188
977
|
_: (name: string, value: any) => T;
|
|
1189
978
|
}
|
|
1190
|
-
const visit: <T>(value: BotLlmFunctionIntegration, visitor: Visitor<T>) => T;
|
|
1191
979
|
}
|
|
1192
980
|
/**
|
|
1193
981
|
* @public
|
|
@@ -1210,31 +998,20 @@ export interface BotLlmFunctionDefinition {
|
|
|
1210
998
|
parameters?: __DocumentType | undefined;
|
|
1211
999
|
integration?: BotLlmFunctionIntegration | undefined;
|
|
1212
1000
|
}
|
|
1213
|
-
/**
|
|
1214
|
-
* @public
|
|
1215
|
-
* @enum
|
|
1216
|
-
*/
|
|
1217
|
-
export declare const BotLlmToolType: {
|
|
1218
|
-
readonly FUNCTION: "function";
|
|
1219
|
-
};
|
|
1220
|
-
/**
|
|
1221
|
-
* @public
|
|
1222
|
-
*/
|
|
1223
|
-
export type BotLlmToolType = typeof BotLlmToolType[keyof typeof BotLlmToolType];
|
|
1224
1001
|
/**
|
|
1225
1002
|
* @public
|
|
1226
1003
|
*/
|
|
1227
1004
|
export interface BotLlmTool {
|
|
1228
1005
|
type: BotLlmToolType;
|
|
1229
1006
|
function?: BotLlmFunctionDefinition | undefined;
|
|
1230
|
-
annotations?:
|
|
1007
|
+
annotations?: BotToolAnnotation[] | undefined;
|
|
1231
1008
|
}
|
|
1232
1009
|
/**
|
|
1233
1010
|
* @public
|
|
1234
1011
|
*/
|
|
1235
1012
|
export interface BotLlmEndpoint {
|
|
1236
1013
|
prompt: string;
|
|
1237
|
-
guidelines?:
|
|
1014
|
+
guidelines?: string[] | undefined;
|
|
1238
1015
|
/**
|
|
1239
1016
|
* The AI model to use for generating responses. If not specified, uses the default model.
|
|
1240
1017
|
* @public
|
|
@@ -1244,13 +1021,13 @@ export interface BotLlmEndpoint {
|
|
|
1244
1021
|
* Embedded functions to use within chat session.
|
|
1245
1022
|
* @public
|
|
1246
1023
|
*/
|
|
1247
|
-
embeddedTools?:
|
|
1024
|
+
embeddedTools?: BotLlmEmbeddedTool[] | undefined;
|
|
1248
1025
|
/**
|
|
1249
1026
|
* Custom tools to be used within chat session.
|
|
1250
1027
|
* @public
|
|
1251
1028
|
*/
|
|
1252
|
-
tools?:
|
|
1253
|
-
capabilities?:
|
|
1029
|
+
tools?: BotLlmTool[] | undefined;
|
|
1030
|
+
capabilities?: BotCapability[] | undefined;
|
|
1254
1031
|
}
|
|
1255
1032
|
/**
|
|
1256
1033
|
* @public
|
|
@@ -1311,6 +1088,10 @@ export declare namespace BotEndpoint {
|
|
|
1311
1088
|
sqs?: never;
|
|
1312
1089
|
$unknown: [string, any];
|
|
1313
1090
|
}
|
|
1091
|
+
/**
|
|
1092
|
+
* @deprecated unused in schema-serde mode.
|
|
1093
|
+
*
|
|
1094
|
+
*/
|
|
1314
1095
|
interface Visitor<T> {
|
|
1315
1096
|
llm: (value: BotLlmEndpoint) => T;
|
|
1316
1097
|
dialogflowCx: (value: BotDialogflowCxEndpoint) => T;
|
|
@@ -1319,7 +1100,6 @@ export declare namespace BotEndpoint {
|
|
|
1319
1100
|
sqs: (value: BotSqsEndpoint) => T;
|
|
1320
1101
|
_: (name: string, value: any) => T;
|
|
1321
1102
|
}
|
|
1322
|
-
const visit: <T>(value: BotEndpoint, visitor: Visitor<T>) => T;
|
|
1323
1103
|
}
|
|
1324
1104
|
/**
|
|
1325
1105
|
* @public
|
|
@@ -1327,50 +1107,6 @@ export declare namespace BotEndpoint {
|
|
|
1327
1107
|
export interface BotCallback {
|
|
1328
1108
|
endpoint?: BotEndpoint | undefined;
|
|
1329
1109
|
}
|
|
1330
|
-
/**
|
|
1331
|
-
* @public
|
|
1332
|
-
*/
|
|
1333
|
-
export declare class BotNotFoundException extends __BaseException {
|
|
1334
|
-
readonly name: "BotNotFoundException";
|
|
1335
|
-
readonly $fault: "client";
|
|
1336
|
-
/**
|
|
1337
|
-
* @internal
|
|
1338
|
-
*/
|
|
1339
|
-
constructor(opts: __ExceptionOptionType<BotNotFoundException, __BaseException>);
|
|
1340
|
-
}
|
|
1341
|
-
/**
|
|
1342
|
-
* @public
|
|
1343
|
-
*/
|
|
1344
|
-
export declare class BotSecretKeyNotValidException extends __BaseException {
|
|
1345
|
-
readonly name: "BotSecretKeyNotValidException";
|
|
1346
|
-
readonly $fault: "client";
|
|
1347
|
-
/**
|
|
1348
|
-
* @internal
|
|
1349
|
-
*/
|
|
1350
|
-
constructor(opts: __ExceptionOptionType<BotSecretKeyNotValidException, __BaseException>);
|
|
1351
|
-
}
|
|
1352
|
-
/**
|
|
1353
|
-
* @public
|
|
1354
|
-
*/
|
|
1355
|
-
export declare class CannotRemovePrimaryIdentityException extends __BaseException {
|
|
1356
|
-
readonly name: "CannotRemovePrimaryIdentityException";
|
|
1357
|
-
readonly $fault: "client";
|
|
1358
|
-
/**
|
|
1359
|
-
* @internal
|
|
1360
|
-
*/
|
|
1361
|
-
constructor(opts: __ExceptionOptionType<CannotRemovePrimaryIdentityException, __BaseException>);
|
|
1362
|
-
}
|
|
1363
|
-
/**
|
|
1364
|
-
* @public
|
|
1365
|
-
*/
|
|
1366
|
-
export declare class CannotUnbindDefaultWorkspaceException extends __BaseException {
|
|
1367
|
-
readonly name: "CannotUnbindDefaultWorkspaceException";
|
|
1368
|
-
readonly $fault: "client";
|
|
1369
|
-
/**
|
|
1370
|
-
* @internal
|
|
1371
|
-
*/
|
|
1372
|
-
constructor(opts: __ExceptionOptionType<CannotUnbindDefaultWorkspaceException, __BaseException>);
|
|
1373
|
-
}
|
|
1374
1110
|
/**
|
|
1375
1111
|
* @public
|
|
1376
1112
|
*/
|
|
@@ -1411,28 +1147,6 @@ export interface ChangeUserEmailInput {
|
|
|
1411
1147
|
export interface ChangeUserEmailOutput {
|
|
1412
1148
|
sfnArn: string;
|
|
1413
1149
|
}
|
|
1414
|
-
/**
|
|
1415
|
-
* @public
|
|
1416
|
-
*/
|
|
1417
|
-
export declare class UserCompanyNotValidException extends __BaseException {
|
|
1418
|
-
readonly name: "UserCompanyNotValidException";
|
|
1419
|
-
readonly $fault: "client";
|
|
1420
|
-
/**
|
|
1421
|
-
* @internal
|
|
1422
|
-
*/
|
|
1423
|
-
constructor(opts: __ExceptionOptionType<UserCompanyNotValidException, __BaseException>);
|
|
1424
|
-
}
|
|
1425
|
-
/**
|
|
1426
|
-
* @public
|
|
1427
|
-
*/
|
|
1428
|
-
export declare class UserNotFoundException extends __BaseException {
|
|
1429
|
-
readonly name: "UserNotFoundException";
|
|
1430
|
-
readonly $fault: "client";
|
|
1431
|
-
/**
|
|
1432
|
-
* @internal
|
|
1433
|
-
*/
|
|
1434
|
-
constructor(opts: __ExceptionOptionType<UserNotFoundException, __BaseException>);
|
|
1435
|
-
}
|
|
1436
1150
|
/**
|
|
1437
1151
|
* @public
|
|
1438
1152
|
*/
|
|
@@ -1447,17 +1161,6 @@ export interface CreateAnonymousSessionInput {
|
|
|
1447
1161
|
export interface CreateAnonymousSessionOutput {
|
|
1448
1162
|
syntheticEmail: string;
|
|
1449
1163
|
}
|
|
1450
|
-
/**
|
|
1451
|
-
* @public
|
|
1452
|
-
*/
|
|
1453
|
-
export declare class PublicAccessIsRestrictedException extends __BaseException {
|
|
1454
|
-
readonly name: "PublicAccessIsRestrictedException";
|
|
1455
|
-
readonly $fault: "client";
|
|
1456
|
-
/**
|
|
1457
|
-
* @internal
|
|
1458
|
-
*/
|
|
1459
|
-
constructor(opts: __ExceptionOptionType<PublicAccessIsRestrictedException, __BaseException>);
|
|
1460
|
-
}
|
|
1461
1164
|
/**
|
|
1462
1165
|
* @public
|
|
1463
1166
|
*/
|
|
@@ -1598,28 +1301,6 @@ export interface Identity {
|
|
|
1598
1301
|
*/
|
|
1599
1302
|
verified?: boolean | undefined;
|
|
1600
1303
|
}
|
|
1601
|
-
/**
|
|
1602
|
-
* @public
|
|
1603
|
-
* @enum
|
|
1604
|
-
*/
|
|
1605
|
-
export declare const WorkspaceType: {
|
|
1606
|
-
/**
|
|
1607
|
-
* User is not linked to any company.
|
|
1608
|
-
*/
|
|
1609
|
-
readonly PERSONAL: "personal";
|
|
1610
|
-
/**
|
|
1611
|
-
* Support staff with temporary access to a user's workspace.
|
|
1612
|
-
*/
|
|
1613
|
-
readonly SUPPORT: "support";
|
|
1614
|
-
/**
|
|
1615
|
-
* User is a colleague of the company.
|
|
1616
|
-
*/
|
|
1617
|
-
readonly WORK: "work";
|
|
1618
|
-
};
|
|
1619
|
-
/**
|
|
1620
|
-
* @public
|
|
1621
|
-
*/
|
|
1622
|
-
export type WorkspaceType = typeof WorkspaceType[keyof typeof WorkspaceType];
|
|
1623
1304
|
/**
|
|
1624
1305
|
* @public
|
|
1625
1306
|
*/
|
|
@@ -1665,8 +1346,8 @@ export interface Workspace {
|
|
|
1665
1346
|
*/
|
|
1666
1347
|
export interface GetAccountOutput {
|
|
1667
1348
|
account: Account;
|
|
1668
|
-
workspaces:
|
|
1669
|
-
identities:
|
|
1349
|
+
workspaces: Workspace[];
|
|
1350
|
+
identities: Identity[];
|
|
1670
1351
|
}
|
|
1671
1352
|
/**
|
|
1672
1353
|
* @public
|
|
@@ -1809,28 +1490,6 @@ export interface GetUserPbxLinkSuggestionV1Output {
|
|
|
1809
1490
|
*/
|
|
1810
1491
|
suggestion?: UserPbxLinkSuggestion | undefined;
|
|
1811
1492
|
}
|
|
1812
|
-
/**
|
|
1813
|
-
* @public
|
|
1814
|
-
*/
|
|
1815
|
-
export declare class IdentityAlreadyLinkedException extends __BaseException {
|
|
1816
|
-
readonly name: "IdentityAlreadyLinkedException";
|
|
1817
|
-
readonly $fault: "client";
|
|
1818
|
-
/**
|
|
1819
|
-
* @internal
|
|
1820
|
-
*/
|
|
1821
|
-
constructor(opts: __ExceptionOptionType<IdentityAlreadyLinkedException, __BaseException>);
|
|
1822
|
-
}
|
|
1823
|
-
/**
|
|
1824
|
-
* @public
|
|
1825
|
-
*/
|
|
1826
|
-
export declare class IdentityNotFoundException extends __BaseException {
|
|
1827
|
-
readonly name: "IdentityNotFoundException";
|
|
1828
|
-
readonly $fault: "client";
|
|
1829
|
-
/**
|
|
1830
|
-
* @internal
|
|
1831
|
-
*/
|
|
1832
|
-
constructor(opts: __ExceptionOptionType<IdentityNotFoundException, __BaseException>);
|
|
1833
|
-
}
|
|
1834
1493
|
/**
|
|
1835
1494
|
* @public
|
|
1836
1495
|
*/
|
|
@@ -1851,7 +1510,7 @@ export interface IntelligenceSearchInput {
|
|
|
1851
1510
|
* @public
|
|
1852
1511
|
*/
|
|
1853
1512
|
export interface IntelligenceSearchOutput {
|
|
1854
|
-
items:
|
|
1513
|
+
items: DirectoryItem[];
|
|
1855
1514
|
}
|
|
1856
1515
|
/**
|
|
1857
1516
|
* @public
|
|
@@ -1866,7 +1525,7 @@ export interface InviteInput {
|
|
|
1866
1525
|
* A list of users to invite. The list must contain between 1 and 20 users.
|
|
1867
1526
|
* @public
|
|
1868
1527
|
*/
|
|
1869
|
-
invitees:
|
|
1528
|
+
invitees: UserToInvite[];
|
|
1870
1529
|
}
|
|
1871
1530
|
/**
|
|
1872
1531
|
* @public
|
|
@@ -1876,12 +1535,12 @@ export interface InviteOutput {
|
|
|
1876
1535
|
* A list of users who were successfully invited.
|
|
1877
1536
|
* @public
|
|
1878
1537
|
*/
|
|
1879
|
-
users:
|
|
1538
|
+
users: User[];
|
|
1880
1539
|
/**
|
|
1881
1540
|
* A list of invitees that were skipped during the operation, for example because the resolved account is deactivated in GetStream. Each entry carries the email or phone supplied in the request, and the user id when it was already known.
|
|
1882
1541
|
* @public
|
|
1883
1542
|
*/
|
|
1884
|
-
skippedInvitees:
|
|
1543
|
+
skippedInvitees: SkippedMember[];
|
|
1885
1544
|
}
|
|
1886
1545
|
/**
|
|
1887
1546
|
* @public
|
|
@@ -1919,7 +1578,7 @@ export interface ListBotApiKeysInput {
|
|
|
1919
1578
|
* @public
|
|
1920
1579
|
*/
|
|
1921
1580
|
export interface ListBotApiKeysOutput {
|
|
1922
|
-
keys:
|
|
1581
|
+
keys: BotApiKey[];
|
|
1923
1582
|
}
|
|
1924
1583
|
/**
|
|
1925
1584
|
* @public
|
|
@@ -1931,7 +1590,7 @@ export interface ListBotsInput {
|
|
|
1931
1590
|
* @public
|
|
1932
1591
|
*/
|
|
1933
1592
|
export interface ListBotsOutput {
|
|
1934
|
-
bots:
|
|
1593
|
+
bots: Bot[];
|
|
1935
1594
|
}
|
|
1936
1595
|
/**
|
|
1937
1596
|
* @public
|
|
@@ -1947,7 +1606,7 @@ export interface ListIdentitiesInput {
|
|
|
1947
1606
|
* @public
|
|
1948
1607
|
*/
|
|
1949
1608
|
export interface ListIdentitiesOutput {
|
|
1950
|
-
identities:
|
|
1609
|
+
identities: Identity[];
|
|
1951
1610
|
}
|
|
1952
1611
|
/**
|
|
1953
1612
|
* @public
|
|
@@ -1963,7 +1622,7 @@ export interface ListWorkspacesInput {
|
|
|
1963
1622
|
* @public
|
|
1964
1623
|
*/
|
|
1965
1624
|
export interface ListWorkspacesOutput {
|
|
1966
|
-
workspaces:
|
|
1625
|
+
workspaces: Workspace[];
|
|
1967
1626
|
}
|
|
1968
1627
|
/**
|
|
1969
1628
|
* @public
|
|
@@ -1995,17 +1654,17 @@ export interface PartialUpdateUserEmailNotificationsSettingsOutput {
|
|
|
1995
1654
|
* @public
|
|
1996
1655
|
*/
|
|
1997
1656
|
export interface QueryColleaguesParameters {
|
|
1998
|
-
id?:
|
|
1999
|
-
extension?:
|
|
2000
|
-
officePhone?:
|
|
2001
|
-
mobilePhone?:
|
|
2002
|
-
name?:
|
|
2003
|
-
email?:
|
|
2004
|
-
department?:
|
|
1657
|
+
id?: string[] | undefined;
|
|
1658
|
+
extension?: string[] | undefined;
|
|
1659
|
+
officePhone?: string[] | undefined;
|
|
1660
|
+
mobilePhone?: string[] | undefined;
|
|
1661
|
+
name?: string[] | undefined;
|
|
1662
|
+
email?: string[] | undefined;
|
|
1663
|
+
department?: string[] | undefined;
|
|
2005
1664
|
search?: string | undefined;
|
|
2006
|
-
searchFields?:
|
|
1665
|
+
searchFields?: PbxColleaguesQueryField[] | undefined;
|
|
2007
1666
|
searchStrategy?: PbxColleaguesSearchStrategy | undefined;
|
|
2008
|
-
sort?:
|
|
1667
|
+
sort?: PbxColleaguesQueryField[] | undefined;
|
|
2009
1668
|
start?: number | undefined;
|
|
2010
1669
|
count?: number | undefined;
|
|
2011
1670
|
dir?: GetPbxColleaguesDir | undefined;
|
|
@@ -2049,7 +1708,7 @@ export interface QueryColleaguesOutput {
|
|
|
2049
1708
|
* A list of users that exist in the platform and matches predicate if specified.
|
|
2050
1709
|
* @public
|
|
2051
1710
|
*/
|
|
2052
|
-
colleagues:
|
|
1711
|
+
colleagues: QueryColleaguesOutputItem[];
|
|
2053
1712
|
}
|
|
2054
1713
|
/**
|
|
2055
1714
|
* @public
|
|
@@ -2108,13 +1767,16 @@ export declare namespace UserQuery {
|
|
|
2108
1767
|
phone?: never;
|
|
2109
1768
|
$unknown: [string, any];
|
|
2110
1769
|
}
|
|
1770
|
+
/**
|
|
1771
|
+
* @deprecated unused in schema-serde mode.
|
|
1772
|
+
*
|
|
1773
|
+
*/
|
|
2111
1774
|
interface Visitor<T> {
|
|
2112
1775
|
id: (value: string) => T;
|
|
2113
1776
|
email: (value: string) => T;
|
|
2114
1777
|
phone: (value: string) => T;
|
|
2115
1778
|
_: (name: string, value: any) => T;
|
|
2116
1779
|
}
|
|
2117
|
-
const visit: <T>(value: UserQuery, visitor: Visitor<T>) => T;
|
|
2118
1780
|
}
|
|
2119
1781
|
/**
|
|
2120
1782
|
* @public
|
|
@@ -2133,22 +1795,11 @@ export interface QueryUserInput {
|
|
|
2133
1795
|
export interface QueryUserOutput {
|
|
2134
1796
|
user: User;
|
|
2135
1797
|
}
|
|
2136
|
-
/**
|
|
2137
|
-
* @public
|
|
2138
|
-
*/
|
|
2139
|
-
export declare class UserQueryPredicateNotMetException extends __BaseException {
|
|
2140
|
-
readonly name: "UserQueryPredicateNotMetException";
|
|
2141
|
-
readonly $fault: "client";
|
|
2142
|
-
/**
|
|
2143
|
-
* @internal
|
|
2144
|
-
*/
|
|
2145
|
-
constructor(opts: __ExceptionOptionType<UserQueryPredicateNotMetException, __BaseException>);
|
|
2146
|
-
}
|
|
2147
1798
|
/**
|
|
2148
1799
|
* @public
|
|
2149
1800
|
*/
|
|
2150
1801
|
export interface QueryUsersInput {
|
|
2151
|
-
queries:
|
|
1802
|
+
queries: UserQuery[];
|
|
2152
1803
|
predicate?: UserQueryPredicate | undefined;
|
|
2153
1804
|
}
|
|
2154
1805
|
/**
|
|
@@ -2159,7 +1810,7 @@ export interface QueryUsersOutput {
|
|
|
2159
1810
|
* A list of users that exist in the platform and matches predicate if specified.
|
|
2160
1811
|
* @public
|
|
2161
1812
|
*/
|
|
2162
|
-
users:
|
|
1813
|
+
users: User[];
|
|
2163
1814
|
}
|
|
2164
1815
|
/**
|
|
2165
1816
|
* @public
|
|
@@ -2233,17 +1884,6 @@ export interface UnlinkWorkspaceInput {
|
|
|
2233
1884
|
*/
|
|
2234
1885
|
export interface UnlinkWorkspaceOutput {
|
|
2235
1886
|
}
|
|
2236
|
-
/**
|
|
2237
|
-
* @public
|
|
2238
|
-
*/
|
|
2239
|
-
export declare class WorkspaceNotFoundException extends __BaseException {
|
|
2240
|
-
readonly name: "WorkspaceNotFoundException";
|
|
2241
|
-
readonly $fault: "client";
|
|
2242
|
-
/**
|
|
2243
|
-
* @internal
|
|
2244
|
-
*/
|
|
2245
|
-
constructor(opts: __ExceptionOptionType<WorkspaceNotFoundException, __BaseException>);
|
|
2246
|
-
}
|
|
2247
1887
|
/**
|
|
2248
1888
|
* @public
|
|
2249
1889
|
*/
|