@wildix/xbees-users-client 1.0.15 → 1.0.16
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 +4 -10
- package/dist-cjs/UsersClient.js +7 -2
- package/dist-cjs/commands/{GetUserCommand.js → BatchGetUsersStreamLinkDataCommand.js} +7 -7
- package/dist-cjs/commands/{BatchGetUsersCommand.js → GetUserPbxLinkSuggestionCommand.js} +7 -7
- package/dist-cjs/commands/index.js +2 -5
- package/dist-cjs/models/models_0.js +1 -46
- package/dist-cjs/protocols/Aws_restJson1.js +18 -141
- package/dist-es/Users.js +4 -10
- package/dist-es/UsersClient.js +7 -2
- package/dist-es/commands/BatchGetUsersStreamLinkDataCommand.js +17 -0
- package/dist-es/commands/GetUserPbxLinkSuggestionCommand.js +17 -0
- package/dist-es/commands/index.js +2 -5
- package/dist-es/models/models_0.js +0 -43
- package/dist-es/protocols/Aws_restJson1.js +12 -129
- package/dist-types/Users.d.ts +13 -33
- package/dist-types/UsersClient.d.ts +7 -9
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +4 -53
- package/dist-types/commands/BatchGetUsersStreamLinkDataCommand.d.ts +83 -0
- package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +67 -0
- package/dist-types/commands/index.d.ts +2 -5
- package/dist-types/models/models_0.d.ts +40 -418
- package/dist-types/protocols/Aws_restJson1.d.ts +14 -41
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +1 -1
- package/dist-cjs/commands/GetUserPbxLinkDataCommand.js +0 -21
- package/dist-cjs/commands/QueryUserCommand.js +0 -21
- package/dist-cjs/commands/QueryUsersCommand.js +0 -21
- package/dist-es/commands/BatchGetUsersCommand.js +0 -17
- package/dist-es/commands/GetUserCommand.js +0 -17
- package/dist-es/commands/GetUserPbxLinkDataCommand.js +0 -17
- package/dist-es/commands/QueryUserCommand.js +0 -17
- package/dist-es/commands/QueryUsersCommand.js +0 -17
- package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -85
- package/dist-types/commands/GetUserCommand.d.ts +0 -83
- package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -120
- package/dist-types/commands/QueryUserCommand.d.ts +0 -92
- package/dist-types/commands/QueryUsersCommand.d.ts +0 -92
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
export * from "./BatchGetUsersCommand";
|
|
2
1
|
export * from "./BatchGetUsersPbxLinkDataCommand";
|
|
2
|
+
export * from "./BatchGetUsersStreamLinkDataCommand";
|
|
3
3
|
export * from "./CreateBotCommand";
|
|
4
4
|
export * from "./CreateBotApiKeyCommand";
|
|
5
5
|
export * from "./DeleteBotCommand";
|
|
6
6
|
export * from "./DeleteBotApiKeyCommand";
|
|
7
7
|
export * from "./GetBotCommand";
|
|
8
8
|
export * from "./GetBotCallbackCommand";
|
|
9
|
-
export * from "./
|
|
10
|
-
export * from "./GetUserPbxLinkDataCommand";
|
|
9
|
+
export * from "./GetUserPbxLinkSuggestionCommand";
|
|
11
10
|
export * from "./ListBotApiKeysCommand";
|
|
12
11
|
export * from "./ListBotsCommand";
|
|
13
|
-
export * from "./QueryUserCommand";
|
|
14
|
-
export * from "./QueryUsersCommand";
|
|
15
12
|
export * from "./UpdateBotCommand";
|
|
16
13
|
export * from "./UpdateBotCallbackCommand";
|
|
17
14
|
export * from "./UploadPictureCommand";
|
|
@@ -23,58 +23,6 @@ export declare class ForbiddenException extends __BaseException {
|
|
|
23
23
|
*/
|
|
24
24
|
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
25
25
|
}
|
|
26
|
-
/**
|
|
27
|
-
* @public
|
|
28
|
-
* @enum
|
|
29
|
-
*/
|
|
30
|
-
export declare const PbxLicenseType: {
|
|
31
|
-
readonly BASIC: "basic";
|
|
32
|
-
readonly BUSINESS: "business";
|
|
33
|
-
readonly ESSENTIAL: "essential";
|
|
34
|
-
readonly PREMIUM: "premium";
|
|
35
|
-
readonly WIZYCONF: "wizyconf";
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* @public
|
|
39
|
-
*/
|
|
40
|
-
export type PbxLicenseType = typeof PbxLicenseType[keyof typeof PbxLicenseType];
|
|
41
|
-
/**
|
|
42
|
-
* @public
|
|
43
|
-
*/
|
|
44
|
-
export interface User {
|
|
45
|
-
id: string;
|
|
46
|
-
name?: string;
|
|
47
|
-
email?: string;
|
|
48
|
-
phone?: string;
|
|
49
|
-
picture?: string;
|
|
50
|
-
locale?: string;
|
|
51
|
-
timeZone?: string;
|
|
52
|
-
company?: string;
|
|
53
|
-
bot?: boolean;
|
|
54
|
-
pbxDomain?: string;
|
|
55
|
-
pbxPort?: string;
|
|
56
|
-
pbxExtension?: string;
|
|
57
|
-
pbxSerial?: string;
|
|
58
|
-
pbxUserId?: string;
|
|
59
|
-
createdAt?: string;
|
|
60
|
-
updatedAt?: string;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* @public
|
|
64
|
-
*/
|
|
65
|
-
export interface BatchGetUsersInput {
|
|
66
|
-
id: (string)[];
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* @public
|
|
70
|
-
*/
|
|
71
|
-
export interface BatchGetUsersOutput {
|
|
72
|
-
/**
|
|
73
|
-
* A list of users that exist in the platform.
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
users: (User)[];
|
|
77
|
-
}
|
|
78
26
|
/**
|
|
79
27
|
* @public
|
|
80
28
|
*/
|
|
@@ -84,260 +32,48 @@ export interface BatchGetUsersPbxLinkDataInput {
|
|
|
84
32
|
/**
|
|
85
33
|
* @public
|
|
86
34
|
*/
|
|
87
|
-
export interface
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* @public
|
|
91
|
-
*/
|
|
92
|
-
export interface UserPersonalInfo {
|
|
93
|
-
/**
|
|
94
|
-
* Distinguished Name (DN) of the user in the directory (example: 'uid=9010198,o=com0,dc=wildix').
|
|
95
|
-
* @public
|
|
96
|
-
*/
|
|
97
|
-
dn: string;
|
|
98
|
-
/**
|
|
99
|
-
* Unique identifier of the user (example: '9010198').
|
|
100
|
-
* @public
|
|
101
|
-
*/
|
|
35
|
+
export interface PbxLinkData {
|
|
102
36
|
id: string;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
* @public
|
|
106
|
-
*/
|
|
107
|
-
name: string;
|
|
108
|
-
/**
|
|
109
|
-
* Extension number of the user (example: '111').
|
|
110
|
-
* @public
|
|
111
|
-
*/
|
|
112
|
-
extension: string;
|
|
113
|
-
/**
|
|
114
|
-
* Office phone number of the user (example: '22222'). This field can be an empty string or undefined if not provided.
|
|
115
|
-
* @public
|
|
116
|
-
*/
|
|
117
|
-
officePhone?: string;
|
|
118
|
-
/**
|
|
119
|
-
* Mobile phone number of the user (example: '22222'). This field can be an empty string or undefined if not provided.
|
|
120
|
-
* @public
|
|
121
|
-
*/
|
|
122
|
-
mobilePhone?: string;
|
|
123
|
-
/**
|
|
124
|
-
* Fax number of the user (example: '22222'). This field can be an empty string or undefined if not provided.
|
|
125
|
-
* @public
|
|
126
|
-
*/
|
|
127
|
-
faxNumber?: string;
|
|
128
|
-
/**
|
|
129
|
-
* Email address of the user (example: 'email@google.com'). This field can be an empty string or undefined if not provided.
|
|
130
|
-
* @public
|
|
131
|
-
*/
|
|
37
|
+
company: string;
|
|
38
|
+
domain?: string;
|
|
132
39
|
email?: string;
|
|
133
|
-
/**
|
|
134
|
-
* Role of the user (example: 'admin').
|
|
135
|
-
* @public
|
|
136
|
-
*/
|
|
137
|
-
role: string;
|
|
138
|
-
/**
|
|
139
|
-
* Language preference of the user (example: 'en').
|
|
140
|
-
* @public
|
|
141
|
-
*/
|
|
142
|
-
language: string;
|
|
143
|
-
/**
|
|
144
|
-
* Dialplan associated with the user (example: 'users').
|
|
145
|
-
* @public
|
|
146
|
-
*/
|
|
147
|
-
dialplan: string;
|
|
148
|
-
/**
|
|
149
|
-
* Fax dialplan associated with the user. Example: 'users'.
|
|
150
|
-
* @public
|
|
151
|
-
*/
|
|
152
|
-
faxDialplan: string;
|
|
153
|
-
/**
|
|
154
|
-
* Department of the user (example: 'Sales'). This field can be an empty string or undefined if not provided.
|
|
155
|
-
* @public
|
|
156
|
-
*/
|
|
157
|
-
departament?: string;
|
|
158
|
-
/**
|
|
159
|
-
* Public URL path of the user's picture (example: '/cticonnect/cticonnect_share/user_avatar_3688190.png?100&John Doe&98998generated').
|
|
160
|
-
* @public
|
|
161
|
-
*/
|
|
162
|
-
picture: string;
|
|
163
|
-
/**
|
|
164
|
-
* Distinguished Name (DN) of the user's group in the directory. Example: 'gid=5194383,o=com0,dc=wildix'.
|
|
165
|
-
* @public
|
|
166
|
-
*/
|
|
167
|
-
groupDn: string;
|
|
168
|
-
/**
|
|
169
|
-
* Name of the user's group.
|
|
170
|
-
* @public
|
|
171
|
-
*/
|
|
172
|
-
groupName: string;
|
|
173
|
-
/**
|
|
174
|
-
* Jabber ID (JID) of the user. Example: '100@example.wildixin.com'.
|
|
175
|
-
* @public
|
|
176
|
-
*/
|
|
177
|
-
jid: string;
|
|
178
|
-
/**
|
|
179
|
-
* Type of license assigned to the user.
|
|
180
|
-
* @public
|
|
181
|
-
*/
|
|
182
|
-
licenseType: PbxLicenseType;
|
|
183
|
-
/**
|
|
184
|
-
* Login name of the user. This field can be an empty string or undefined if not provided.
|
|
185
|
-
* @public
|
|
186
|
-
*/
|
|
187
|
-
login?: string;
|
|
188
|
-
/**
|
|
189
|
-
* PBX associated with the user. This field can be an empty string or undefined if not provided.
|
|
190
|
-
* @public
|
|
191
|
-
*/
|
|
192
|
-
pbx?: string;
|
|
193
|
-
/**
|
|
194
|
-
* Distinguished Name (DN) of the PBX associated with the user. Example: 'pbxid=0800276a7b26,dc=wildix'.
|
|
195
|
-
* @public
|
|
196
|
-
*/
|
|
197
|
-
pbxDn: string;
|
|
198
|
-
/**
|
|
199
|
-
* Source identifier for the user's authorization (example: '117868550326216144929').
|
|
200
|
-
* @public
|
|
201
|
-
*/
|
|
202
|
-
sourceId?: string;
|
|
203
|
-
/**
|
|
204
|
-
* SIP password for the user, used to authenticate and secure SIP communications such as VoIP calls.
|
|
205
|
-
* @public
|
|
206
|
-
*/
|
|
207
|
-
sipPassword?: string;
|
|
208
40
|
}
|
|
209
41
|
/**
|
|
210
42
|
* @public
|
|
211
43
|
*/
|
|
212
|
-
export interface
|
|
213
|
-
|
|
214
|
-
* Network addresses associated with the PBX (example: ['krzhevitskywms4.wildixin.com']).
|
|
215
|
-
* @public
|
|
216
|
-
*/
|
|
217
|
-
networkAddresses: (string)[];
|
|
218
|
-
/**
|
|
219
|
-
* Specifies the HTTPs ports utilized by the PBX system (example: ['443']).
|
|
220
|
-
* @public
|
|
221
|
-
*/
|
|
222
|
-
ports: (string)[];
|
|
223
|
-
/**
|
|
224
|
-
* Prefix used for external lines (eample: '0').
|
|
225
|
-
* @public
|
|
226
|
-
*/
|
|
227
|
-
externalLinePrefix?: string;
|
|
228
|
-
/**
|
|
229
|
-
* Version of the PBX software (example: '5.03.20210820.2~67439e5d').
|
|
230
|
-
* @public
|
|
231
|
-
*/
|
|
232
|
-
version: string;
|
|
233
|
-
/**
|
|
234
|
-
* Serial number of the PBX (example: '221100002aa2').
|
|
235
|
-
* @public
|
|
236
|
-
*/
|
|
237
|
-
serial: string;
|
|
238
|
-
}
|
|
239
|
-
/**
|
|
240
|
-
* @public
|
|
241
|
-
*/
|
|
242
|
-
export interface UserPbxPersonalSettings {
|
|
44
|
+
export interface BatchGetUsersPbxLinkDataOutput {
|
|
45
|
+
users: (PbxLinkData)[];
|
|
243
46
|
}
|
|
244
47
|
/**
|
|
245
48
|
* @public
|
|
246
49
|
*/
|
|
247
|
-
export interface
|
|
248
|
-
|
|
249
|
-
wizyWebinar?: boolean;
|
|
50
|
+
export interface BatchGetUsersStreamLinkDataInput {
|
|
51
|
+
id: (string)[];
|
|
250
52
|
}
|
|
251
53
|
/**
|
|
252
54
|
* @public
|
|
253
55
|
*/
|
|
254
|
-
export interface
|
|
255
|
-
/**
|
|
256
|
-
* The unique identifier of the user (Cloud ID, not ID of the user on PBX).
|
|
257
|
-
* @public
|
|
258
|
-
*/
|
|
56
|
+
export interface StreamLinkData {
|
|
259
57
|
id: string;
|
|
260
|
-
/**
|
|
261
|
-
* The ID of the tenant (company) associated with the user.
|
|
262
|
-
* @public
|
|
263
|
-
*/
|
|
264
|
-
company: string;
|
|
265
|
-
/**
|
|
266
|
-
* The name of the tenant (company) associated with the user.
|
|
267
|
-
* @public
|
|
268
|
-
*/
|
|
269
|
-
companyName?: string;
|
|
270
|
-
/**
|
|
271
|
-
* The domain of the PBX where the user connected to.
|
|
272
|
-
* @public
|
|
273
|
-
*/
|
|
274
|
-
domain: string;
|
|
275
|
-
/**
|
|
276
|
-
* The email address of the user.
|
|
277
|
-
* @public
|
|
278
|
-
*/
|
|
279
58
|
email?: string;
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
* @public
|
|
293
|
-
*/
|
|
294
|
-
picture: string;
|
|
295
|
-
/**
|
|
296
|
-
* Indicates whether the picture was manually removed by the user. If true the application must show a placeholder instead of the default picture from the PBX.
|
|
297
|
-
* @public
|
|
298
|
-
*/
|
|
299
|
-
pictureDeleted?: boolean;
|
|
300
|
-
/**
|
|
301
|
-
* The port used for the PBX connection.
|
|
302
|
-
* @public
|
|
303
|
-
*/
|
|
304
|
-
port: string;
|
|
305
|
-
/**
|
|
306
|
-
* The serial number of the PBX.
|
|
307
|
-
* @public
|
|
308
|
-
*/
|
|
309
|
-
serial: string;
|
|
310
|
-
/**
|
|
311
|
-
* Services associated with the user's PBX.
|
|
312
|
-
* @public
|
|
313
|
-
*/
|
|
314
|
-
services?: UserPbxServices;
|
|
315
|
-
/**
|
|
316
|
-
* Personal settings (PBX) of the user.
|
|
317
|
-
* @public
|
|
318
|
-
*/
|
|
319
|
-
personalSettings?: UserPbxPersonalSettings;
|
|
320
|
-
/**
|
|
321
|
-
* Dialplan settings (PBX) of the user.
|
|
322
|
-
* @public
|
|
323
|
-
*/
|
|
324
|
-
dialplanSettings?: UserPbxDialplanSettings;
|
|
325
|
-
/**
|
|
326
|
-
* The AWS region where the PBX is located.
|
|
327
|
-
* @public
|
|
328
|
-
*/
|
|
329
|
-
awsRegion?: string;
|
|
330
|
-
/**
|
|
331
|
-
* The date when link data was updated last time.
|
|
332
|
-
* @public
|
|
333
|
-
*/
|
|
334
|
-
updatedAt?: string;
|
|
59
|
+
phone?: string;
|
|
60
|
+
name?: string;
|
|
61
|
+
picture?: string;
|
|
62
|
+
company?: string;
|
|
63
|
+
pbxExtension?: string;
|
|
64
|
+
pbxSerial?: string;
|
|
65
|
+
pbxDomain?: string;
|
|
66
|
+
pbxPort?: string;
|
|
67
|
+
pbxUserId?: string;
|
|
68
|
+
pbxUpdatedAt?: string;
|
|
69
|
+
locale?: string;
|
|
70
|
+
timeZone?: string;
|
|
335
71
|
}
|
|
336
72
|
/**
|
|
337
73
|
* @public
|
|
338
74
|
*/
|
|
339
|
-
export interface
|
|
340
|
-
users:
|
|
75
|
+
export interface BatchGetUsersStreamLinkDataOutput {
|
|
76
|
+
users: Record<string, StreamLinkData>;
|
|
341
77
|
}
|
|
342
78
|
/**
|
|
343
79
|
* @public
|
|
@@ -592,41 +328,37 @@ export interface GetBotCallbackOutput {
|
|
|
592
328
|
/**
|
|
593
329
|
* @public
|
|
594
330
|
*/
|
|
595
|
-
export interface
|
|
331
|
+
export interface GetUserPbxLinkSuggestionInput {
|
|
596
332
|
/**
|
|
597
|
-
*
|
|
333
|
+
* An email address of the user when a service token is used. If not provided, the email will be taken from the token.
|
|
598
334
|
* @public
|
|
599
335
|
*/
|
|
600
|
-
|
|
601
|
-
}
|
|
602
|
-
/**
|
|
603
|
-
* @public
|
|
604
|
-
*/
|
|
605
|
-
export interface GetUserOutput {
|
|
606
|
-
user: User;
|
|
336
|
+
email?: string;
|
|
607
337
|
}
|
|
608
338
|
/**
|
|
609
339
|
* @public
|
|
610
340
|
*/
|
|
611
|
-
export
|
|
612
|
-
readonly name: "UserNotFoundException";
|
|
613
|
-
readonly $fault: "client";
|
|
341
|
+
export interface UserPbxLinkSuggestion {
|
|
614
342
|
/**
|
|
615
|
-
*
|
|
343
|
+
* A domain of the PBX that can be used to connect the user.
|
|
344
|
+
* @public
|
|
616
345
|
*/
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
id: string;
|
|
346
|
+
domain: string;
|
|
347
|
+
/**
|
|
348
|
+
* A port of the PBX that can be used to connect the user.
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
port: string;
|
|
624
352
|
}
|
|
625
353
|
/**
|
|
626
354
|
* @public
|
|
627
355
|
*/
|
|
628
|
-
export interface
|
|
629
|
-
|
|
356
|
+
export interface GetUserPbxLinkSuggestionOutput {
|
|
357
|
+
/**
|
|
358
|
+
* If the PBX data link information is available, the user can attempt to connect using the provided PBX domain and port. Can be empty if no information found for the specified email.
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
suggestion?: UserPbxLinkSuggestion;
|
|
630
362
|
}
|
|
631
363
|
/**
|
|
632
364
|
* @public
|
|
@@ -653,116 +385,6 @@ export interface ListBotsInput {
|
|
|
653
385
|
export interface ListBotsOutput {
|
|
654
386
|
bots: (Bot)[];
|
|
655
387
|
}
|
|
656
|
-
/**
|
|
657
|
-
* @public
|
|
658
|
-
*/
|
|
659
|
-
export interface UserQueryPredicate {
|
|
660
|
-
/**
|
|
661
|
-
* The type of PBX license required for the user query. This field is used to ensure that the user has the appropriate license type.
|
|
662
|
-
* @public
|
|
663
|
-
*/
|
|
664
|
-
license?: PbxLicenseType;
|
|
665
|
-
}
|
|
666
|
-
/**
|
|
667
|
-
* @public
|
|
668
|
-
*/
|
|
669
|
-
export type UserQuery = UserQuery.EmailMember | UserQuery.IdMember | UserQuery.PhoneMember | UserQuery.$UnknownMember;
|
|
670
|
-
/**
|
|
671
|
-
* @public
|
|
672
|
-
*/
|
|
673
|
-
export declare namespace UserQuery {
|
|
674
|
-
/**
|
|
675
|
-
* The unique identifier of the user (Cloud ID, not ID of the user on PBX).
|
|
676
|
-
* @public
|
|
677
|
-
*/
|
|
678
|
-
interface IdMember {
|
|
679
|
-
id: string;
|
|
680
|
-
email?: never;
|
|
681
|
-
phone?: never;
|
|
682
|
-
$unknown?: never;
|
|
683
|
-
}
|
|
684
|
-
/**
|
|
685
|
-
* The email address of the user.
|
|
686
|
-
* @public
|
|
687
|
-
*/
|
|
688
|
-
interface EmailMember {
|
|
689
|
-
id?: never;
|
|
690
|
-
email: string;
|
|
691
|
-
phone?: never;
|
|
692
|
-
$unknown?: never;
|
|
693
|
-
}
|
|
694
|
-
/**
|
|
695
|
-
* The phone number of the user.
|
|
696
|
-
* @public
|
|
697
|
-
*/
|
|
698
|
-
interface PhoneMember {
|
|
699
|
-
id?: never;
|
|
700
|
-
email?: never;
|
|
701
|
-
phone: string;
|
|
702
|
-
$unknown?: never;
|
|
703
|
-
}
|
|
704
|
-
/**
|
|
705
|
-
* @public
|
|
706
|
-
*/
|
|
707
|
-
interface $UnknownMember {
|
|
708
|
-
id?: never;
|
|
709
|
-
email?: never;
|
|
710
|
-
phone?: never;
|
|
711
|
-
$unknown: [string, any];
|
|
712
|
-
}
|
|
713
|
-
interface Visitor<T> {
|
|
714
|
-
id: (value: string) => T;
|
|
715
|
-
email: (value: string) => T;
|
|
716
|
-
phone: (value: string) => T;
|
|
717
|
-
_: (name: string, value: any) => T;
|
|
718
|
-
}
|
|
719
|
-
const visit: <T>(value: UserQuery, visitor: Visitor<T>) => T;
|
|
720
|
-
}
|
|
721
|
-
/**
|
|
722
|
-
* @public
|
|
723
|
-
*/
|
|
724
|
-
export interface QueryUserInput {
|
|
725
|
-
query: UserQuery;
|
|
726
|
-
/**
|
|
727
|
-
* A condition that must be satisfied for the user query to be considered valid. If this predicate is not met, a UserQueryPredicateNotMetException will be thrown.
|
|
728
|
-
* @public
|
|
729
|
-
*/
|
|
730
|
-
predicate?: UserQueryPredicate;
|
|
731
|
-
}
|
|
732
|
-
/**
|
|
733
|
-
* @public
|
|
734
|
-
*/
|
|
735
|
-
export interface QueryUserOutput {
|
|
736
|
-
user: User;
|
|
737
|
-
}
|
|
738
|
-
/**
|
|
739
|
-
* @public
|
|
740
|
-
*/
|
|
741
|
-
export declare class UserQueryPredicateNotMetException extends __BaseException {
|
|
742
|
-
readonly name: "UserQueryPredicateNotMetException";
|
|
743
|
-
readonly $fault: "client";
|
|
744
|
-
/**
|
|
745
|
-
* @internal
|
|
746
|
-
*/
|
|
747
|
-
constructor(opts: __ExceptionOptionType<UserQueryPredicateNotMetException, __BaseException>);
|
|
748
|
-
}
|
|
749
|
-
/**
|
|
750
|
-
* @public
|
|
751
|
-
*/
|
|
752
|
-
export interface QueryUsersInput {
|
|
753
|
-
queries: (UserQuery)[];
|
|
754
|
-
predicate?: UserQueryPredicate;
|
|
755
|
-
}
|
|
756
|
-
/**
|
|
757
|
-
* @public
|
|
758
|
-
*/
|
|
759
|
-
export interface QueryUsersOutput {
|
|
760
|
-
/**
|
|
761
|
-
* A list of users that exist in the platform and matches predicate if specified.
|
|
762
|
-
* @public
|
|
763
|
-
*/
|
|
764
|
-
users: (User)[];
|
|
765
|
-
}
|
|
766
388
|
/**
|
|
767
389
|
* @public
|
|
768
390
|
*/
|
|
@@ -1,31 +1,28 @@
|
|
|
1
|
-
import { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "../commands/BatchGetUsersCommand";
|
|
2
1
|
import { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "../commands/BatchGetUsersPbxLinkDataCommand";
|
|
2
|
+
import { BatchGetUsersStreamLinkDataCommandInput, BatchGetUsersStreamLinkDataCommandOutput } from "../commands/BatchGetUsersStreamLinkDataCommand";
|
|
3
3
|
import { CreateBotApiKeyCommandInput, CreateBotApiKeyCommandOutput } from "../commands/CreateBotApiKeyCommand";
|
|
4
4
|
import { CreateBotCommandInput, CreateBotCommandOutput } from "../commands/CreateBotCommand";
|
|
5
5
|
import { DeleteBotApiKeyCommandInput, DeleteBotApiKeyCommandOutput } from "../commands/DeleteBotApiKeyCommand";
|
|
6
6
|
import { DeleteBotCommandInput, DeleteBotCommandOutput } from "../commands/DeleteBotCommand";
|
|
7
7
|
import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "../commands/GetBotCallbackCommand";
|
|
8
8
|
import { GetBotCommandInput, GetBotCommandOutput } from "../commands/GetBotCommand";
|
|
9
|
-
import {
|
|
10
|
-
import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from "../commands/GetUserPbxLinkDataCommand";
|
|
9
|
+
import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "../commands/GetUserPbxLinkSuggestionCommand";
|
|
11
10
|
import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "../commands/ListBotApiKeysCommand";
|
|
12
11
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBotsCommand";
|
|
13
|
-
import { QueryUserCommandInput, QueryUserCommandOutput } from "../commands/QueryUserCommand";
|
|
14
|
-
import { QueryUsersCommandInput, QueryUsersCommandOutput } from "../commands/QueryUsersCommand";
|
|
15
12
|
import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "../commands/UpdateBotCallbackCommand";
|
|
16
13
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "../commands/UpdateBotCommand";
|
|
17
14
|
import { UploadPictureCommandInput, UploadPictureCommandOutput } from "../commands/UploadPictureCommand";
|
|
18
15
|
import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "../commands/VerifyBotSecretKeyCommand";
|
|
19
16
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
20
17
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
21
|
-
/**
|
|
22
|
-
* serializeAws_restJson1BatchGetUsersCommand
|
|
23
|
-
*/
|
|
24
|
-
export declare const se_BatchGetUsersCommand: (input: BatchGetUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
18
|
/**
|
|
26
19
|
* serializeAws_restJson1BatchGetUsersPbxLinkDataCommand
|
|
27
20
|
*/
|
|
28
21
|
export declare const se_BatchGetUsersPbxLinkDataCommand: (input: BatchGetUsersPbxLinkDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
|
+
/**
|
|
23
|
+
* serializeAws_restJson1BatchGetUsersStreamLinkDataCommand
|
|
24
|
+
*/
|
|
25
|
+
export declare const se_BatchGetUsersStreamLinkDataCommand: (input: BatchGetUsersStreamLinkDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
26
|
/**
|
|
30
27
|
* serializeAws_restJson1CreateBotCommand
|
|
31
28
|
*/
|
|
@@ -51,13 +48,9 @@ export declare const se_GetBotCommand: (input: GetBotCommandInput, context: __Se
|
|
|
51
48
|
*/
|
|
52
49
|
export declare const se_GetBotCallbackCommand: (input: GetBotCallbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
53
50
|
/**
|
|
54
|
-
*
|
|
55
|
-
*/
|
|
56
|
-
export declare const se_GetUserCommand: (input: GetUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
57
|
-
/**
|
|
58
|
-
* serializeAws_restJson1GetUserPbxLinkDataCommand
|
|
51
|
+
* serializeAws_restJson1GetUserPbxLinkSuggestionCommand
|
|
59
52
|
*/
|
|
60
|
-
export declare const
|
|
53
|
+
export declare const se_GetUserPbxLinkSuggestionCommand: (input: GetUserPbxLinkSuggestionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
54
|
/**
|
|
62
55
|
* serializeAws_restJson1ListBotApiKeysCommand
|
|
63
56
|
*/
|
|
@@ -66,14 +59,6 @@ export declare const se_ListBotApiKeysCommand: (input: ListBotApiKeysCommandInpu
|
|
|
66
59
|
* serializeAws_restJson1ListBotsCommand
|
|
67
60
|
*/
|
|
68
61
|
export declare const se_ListBotsCommand: (input: ListBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
69
|
-
/**
|
|
70
|
-
* serializeAws_restJson1QueryUserCommand
|
|
71
|
-
*/
|
|
72
|
-
export declare const se_QueryUserCommand: (input: QueryUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
73
|
-
/**
|
|
74
|
-
* serializeAws_restJson1QueryUsersCommand
|
|
75
|
-
*/
|
|
76
|
-
export declare const se_QueryUsersCommand: (input: QueryUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
77
62
|
/**
|
|
78
63
|
* serializeAws_restJson1UpdateBotCommand
|
|
79
64
|
*/
|
|
@@ -90,14 +75,14 @@ export declare const se_UploadPictureCommand: (input: UploadPictureCommandInput,
|
|
|
90
75
|
* serializeAws_restJson1VerifyBotSecretKeyCommand
|
|
91
76
|
*/
|
|
92
77
|
export declare const se_VerifyBotSecretKeyCommand: (input: VerifyBotSecretKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
93
|
-
/**
|
|
94
|
-
* deserializeAws_restJson1BatchGetUsersCommand
|
|
95
|
-
*/
|
|
96
|
-
export declare const de_BatchGetUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetUsersCommandOutput>;
|
|
97
78
|
/**
|
|
98
79
|
* deserializeAws_restJson1BatchGetUsersPbxLinkDataCommand
|
|
99
80
|
*/
|
|
100
81
|
export declare const de_BatchGetUsersPbxLinkDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetUsersPbxLinkDataCommandOutput>;
|
|
82
|
+
/**
|
|
83
|
+
* deserializeAws_restJson1BatchGetUsersStreamLinkDataCommand
|
|
84
|
+
*/
|
|
85
|
+
export declare const de_BatchGetUsersStreamLinkDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetUsersStreamLinkDataCommandOutput>;
|
|
101
86
|
/**
|
|
102
87
|
* deserializeAws_restJson1CreateBotCommand
|
|
103
88
|
*/
|
|
@@ -123,13 +108,9 @@ export declare const de_GetBotCommand: (output: __HttpResponse, context: __Serde
|
|
|
123
108
|
*/
|
|
124
109
|
export declare const de_GetBotCallbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBotCallbackCommandOutput>;
|
|
125
110
|
/**
|
|
126
|
-
*
|
|
127
|
-
*/
|
|
128
|
-
export declare const de_GetUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserCommandOutput>;
|
|
129
|
-
/**
|
|
130
|
-
* deserializeAws_restJson1GetUserPbxLinkDataCommand
|
|
111
|
+
* deserializeAws_restJson1GetUserPbxLinkSuggestionCommand
|
|
131
112
|
*/
|
|
132
|
-
export declare const
|
|
113
|
+
export declare const de_GetUserPbxLinkSuggestionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetUserPbxLinkSuggestionCommandOutput>;
|
|
133
114
|
/**
|
|
134
115
|
* deserializeAws_restJson1ListBotApiKeysCommand
|
|
135
116
|
*/
|
|
@@ -138,14 +119,6 @@ export declare const de_ListBotApiKeysCommand: (output: __HttpResponse, context:
|
|
|
138
119
|
* deserializeAws_restJson1ListBotsCommand
|
|
139
120
|
*/
|
|
140
121
|
export declare const de_ListBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotsCommandOutput>;
|
|
141
|
-
/**
|
|
142
|
-
* deserializeAws_restJson1QueryUserCommand
|
|
143
|
-
*/
|
|
144
|
-
export declare const de_QueryUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryUserCommandOutput>;
|
|
145
|
-
/**
|
|
146
|
-
* deserializeAws_restJson1QueryUsersCommand
|
|
147
|
-
*/
|
|
148
|
-
export declare const de_QueryUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryUsersCommandOutput>;
|
|
149
122
|
/**
|
|
150
123
|
* deserializeAws_restJson1UpdateBotCommand
|
|
151
124
|
*/
|
|
@@ -25,4 +25,5 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
25
25
|
logger: import("@smithy/types").Logger;
|
|
26
26
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
27
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
28
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
28
29
|
};
|
|
@@ -25,4 +25,5 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
25
25
|
logger: import("@smithy/types").Logger;
|
|
26
26
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
27
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
28
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
28
29
|
};
|
|
@@ -24,4 +24,5 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
24
24
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
25
25
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
26
26
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
27
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
27
28
|
};
|
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.16",
|
|
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",
|