@wildix/xbees-users-client 1.1.0 → 1.2.3

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.
Files changed (71) hide show
  1. package/dist-cjs/Users.js +20 -0
  2. package/dist-cjs/commands/AddIdentityCommand.js +21 -0
  3. package/dist-cjs/commands/GetAccountCommand.js +21 -0
  4. package/dist-cjs/commands/InviteCommand.js +21 -0
  5. package/dist-cjs/commands/ListAccountIdentitiesCommand.js +21 -0
  6. package/dist-cjs/commands/ListWorkspacesCommand.js +21 -0
  7. package/dist-cjs/commands/RemoveIdentityCommand.js +21 -0
  8. package/dist-cjs/commands/UnbindWorkspaceCommand.js +21 -0
  9. package/dist-cjs/commands/UpdateAccountCommand.js +21 -0
  10. package/dist-cjs/commands/UpdateWorkspaceCommand.js +21 -0
  11. package/dist-cjs/commands/VerifyAddIdentityCommand.js +21 -0
  12. package/dist-cjs/commands/index.js +10 -0
  13. package/dist-cjs/models/models_0.js +84 -1
  14. package/dist-cjs/protocols/Aws_restJson1.js +398 -2
  15. package/dist-es/Users.js +20 -0
  16. package/dist-es/commands/AddIdentityCommand.js +17 -0
  17. package/dist-es/commands/GetAccountCommand.js +17 -0
  18. package/dist-es/commands/InviteCommand.js +17 -0
  19. package/dist-es/commands/ListAccountIdentitiesCommand.js +17 -0
  20. package/dist-es/commands/ListWorkspacesCommand.js +17 -0
  21. package/dist-es/commands/RemoveIdentityCommand.js +17 -0
  22. package/dist-es/commands/UnbindWorkspaceCommand.js +17 -0
  23. package/dist-es/commands/UpdateAccountCommand.js +17 -0
  24. package/dist-es/commands/UpdateWorkspaceCommand.js +17 -0
  25. package/dist-es/commands/VerifyAddIdentityCommand.js +17 -0
  26. package/dist-es/commands/index.js +10 -0
  27. package/dist-es/models/models_0.js +77 -0
  28. package/dist-es/protocols/Aws_restJson1.js +377 -1
  29. package/dist-types/Users.d.ts +70 -0
  30. package/dist-types/UsersClient.d.ts +12 -2
  31. package/dist-types/commands/index.d.ts +10 -0
  32. package/dist-types/models/models_0.d.ts +420 -0
  33. package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  35. package/dist-types/runtimeConfig.d.ts +1 -1
  36. package/dist-types/runtimeConfig.native.d.ts +1 -1
  37. package/package.json +3 -3
  38. package/dist-types/commands/BatchGetUsersCommand.d.ts +0 -98
  39. package/dist-types/commands/BatchGetUsersEmailNotificationsSettingsCommand.d.ts +0 -83
  40. package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +0 -134
  41. package/dist-types/commands/BatchGetUsersPbxLinkDataV1Command.d.ts +0 -134
  42. package/dist-types/commands/ChangeUserEmailCommand.d.ts +0 -88
  43. package/dist-types/commands/CreateBotApiKeyCommand.d.ts +0 -96
  44. package/dist-types/commands/CreateBotCommand.d.ts +0 -198
  45. package/dist-types/commands/CreateSystemBotCommand.d.ts +0 -78
  46. package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +0 -80
  47. package/dist-types/commands/DeleteBotCommand.d.ts +0 -77
  48. package/dist-types/commands/GetAppVersionCommand.d.ts +0 -76
  49. package/dist-types/commands/GetBotCallbackCommand.d.ts +0 -184
  50. package/dist-types/commands/GetBotCommand.d.ts +0 -90
  51. package/dist-types/commands/GetUserCommand.d.ts +0 -96
  52. package/dist-types/commands/GetUserEmailNotificationsSettingsCommand.d.ts +0 -81
  53. package/dist-types/commands/GetUserPbxLinkDataCommand.d.ts +0 -132
  54. package/dist-types/commands/GetUserPbxLinkSuggestionCommand.d.ts +0 -79
  55. package/dist-types/commands/GetUserPbxLinkSuggestionV1Command.d.ts +0 -79
  56. package/dist-types/commands/IntelligenceSearchCommand.d.ts +0 -85
  57. package/dist-types/commands/ListBotApiKeysCommand.d.ts +0 -83
  58. package/dist-types/commands/ListBotsCommand.d.ts +0 -89
  59. package/dist-types/commands/PartialUpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
  60. package/dist-types/commands/QueryColleaguesCommand.d.ts +0 -152
  61. package/dist-types/commands/QueryUserCommand.d.ts +0 -105
  62. package/dist-types/commands/QueryUsersCommand.d.ts +0 -105
  63. package/dist-types/commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand.d.ts +0 -75
  64. package/dist-types/commands/ToggleUnreadEmailNotificationsSubscriptionCommand.d.ts +0 -75
  65. package/dist-types/commands/UpdateBotCallbackCommand.d.ts +0 -288
  66. package/dist-types/commands/UpdateBotCommand.d.ts +0 -93
  67. package/dist-types/commands/UpdateUserEmailNotificationsSettingsCommand.d.ts +0 -81
  68. package/dist-types/commands/UploadPictureCommand.d.ts +0 -76
  69. package/dist-types/commands/UploadPictureV1Command.d.ts +0 -78
  70. package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +0 -80
  71. package/dist-types/commands/VerifyBotSecretKeyV1Command.d.ts +0 -80
@@ -1,3 +1,4 @@
1
+ import { AddIdentityCommandInput, AddIdentityCommandOutput } from "../commands/AddIdentityCommand";
1
2
  import { BatchGetUsersCommandInput, BatchGetUsersCommandOutput } from "../commands/BatchGetUsersCommand";
2
3
  import { BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput } from "../commands/BatchGetUsersEmailNotificationsSettingsCommand";
3
4
  import { BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput } from "../commands/BatchGetUsersPbxLinkDataCommand";
@@ -8,6 +9,7 @@ import { CreateBotCommandInput, CreateBotCommandOutput } from "../commands/Creat
8
9
  import { CreateSystemBotCommandInput, CreateSystemBotCommandOutput } from "../commands/CreateSystemBotCommand";
9
10
  import { DeleteBotApiKeyCommandInput, DeleteBotApiKeyCommandOutput } from "../commands/DeleteBotApiKeyCommand";
10
11
  import { DeleteBotCommandInput, DeleteBotCommandOutput } from "../commands/DeleteBotCommand";
12
+ import { GetAccountCommandInput, GetAccountCommandOutput } from "../commands/GetAccountCommand";
11
13
  import { GetAppVersionCommandInput, GetAppVersionCommandOutput } from "../commands/GetAppVersionCommand";
12
14
  import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "../commands/GetBotCallbackCommand";
13
15
  import { GetBotCommandInput, GetBotCommandOutput } from "../commands/GetBotCommand";
@@ -17,23 +19,35 @@ import { GetUserPbxLinkDataCommandInput, GetUserPbxLinkDataCommandOutput } from
17
19
  import { GetUserPbxLinkSuggestionCommandInput, GetUserPbxLinkSuggestionCommandOutput } from "../commands/GetUserPbxLinkSuggestionCommand";
18
20
  import { GetUserPbxLinkSuggestionV1CommandInput, GetUserPbxLinkSuggestionV1CommandOutput } from "../commands/GetUserPbxLinkSuggestionV1Command";
19
21
  import { IntelligenceSearchCommandInput, IntelligenceSearchCommandOutput } from "../commands/IntelligenceSearchCommand";
22
+ import { InviteCommandInput, InviteCommandOutput } from "../commands/InviteCommand";
23
+ import { ListAccountIdentitiesCommandInput, ListAccountIdentitiesCommandOutput } from "../commands/ListAccountIdentitiesCommand";
20
24
  import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "../commands/ListBotApiKeysCommand";
21
25
  import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBotsCommand";
26
+ import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "../commands/ListWorkspacesCommand";
22
27
  import { PartialUpdateUserEmailNotificationsSettingsCommandInput, PartialUpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/PartialUpdateUserEmailNotificationsSettingsCommand";
23
28
  import { QueryColleaguesCommandInput, QueryColleaguesCommandOutput } from "../commands/QueryColleaguesCommand";
24
29
  import { QueryUserCommandInput, QueryUserCommandOutput } from "../commands/QueryUserCommand";
25
30
  import { QueryUsersCommandInput, QueryUsersCommandOutput } from "../commands/QueryUsersCommand";
31
+ import { RemoveIdentityCommandInput, RemoveIdentityCommandOutput } from "../commands/RemoveIdentityCommand";
26
32
  import { ToggleTranscriptionEmailNotificationsSubscriptionCommandInput, ToggleTranscriptionEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleTranscriptionEmailNotificationsSubscriptionCommand";
27
33
  import { ToggleUnreadEmailNotificationsSubscriptionCommandInput, ToggleUnreadEmailNotificationsSubscriptionCommandOutput } from "../commands/ToggleUnreadEmailNotificationsSubscriptionCommand";
34
+ import { UnbindWorkspaceCommandInput, UnbindWorkspaceCommandOutput } from "../commands/UnbindWorkspaceCommand";
35
+ import { UpdateAccountCommandInput, UpdateAccountCommandOutput } from "../commands/UpdateAccountCommand";
28
36
  import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "../commands/UpdateBotCallbackCommand";
29
37
  import { UpdateBotCommandInput, UpdateBotCommandOutput } from "../commands/UpdateBotCommand";
30
38
  import { UpdateUserEmailNotificationsSettingsCommandInput, UpdateUserEmailNotificationsSettingsCommandOutput } from "../commands/UpdateUserEmailNotificationsSettingsCommand";
39
+ import { UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput } from "../commands/UpdateWorkspaceCommand";
31
40
  import { UploadPictureCommandInput, UploadPictureCommandOutput } from "../commands/UploadPictureCommand";
32
41
  import { UploadPictureV1CommandInput, UploadPictureV1CommandOutput } from "../commands/UploadPictureV1Command";
42
+ import { VerifyAddIdentityCommandInput, VerifyAddIdentityCommandOutput } from "../commands/VerifyAddIdentityCommand";
33
43
  import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "../commands/VerifyBotSecretKeyCommand";
34
44
  import { VerifyBotSecretKeyV1CommandInput, VerifyBotSecretKeyV1CommandOutput } from "../commands/VerifyBotSecretKeyV1Command";
35
45
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
36
46
  import { SerdeContext as __SerdeContext } from "@smithy/types";
47
+ /**
48
+ * serializeAws_restJson1AddIdentityCommand
49
+ */
50
+ export declare const se_AddIdentityCommand: (input: AddIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
51
  /**
38
52
  * serializeAws_restJson1BatchGetUsersCommand
39
53
  */
@@ -74,6 +88,10 @@ export declare const se_DeleteBotCommand: (input: DeleteBotCommandInput, context
74
88
  * serializeAws_restJson1DeleteBotApiKeyCommand
75
89
  */
76
90
  export declare const se_DeleteBotApiKeyCommand: (input: DeleteBotApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
91
+ /**
92
+ * serializeAws_restJson1GetAccountCommand
93
+ */
94
+ export declare const se_GetAccountCommand: (input: GetAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
95
  /**
78
96
  * serializeAws_restJson1GetAppVersionCommand
79
97
  */
@@ -110,6 +128,14 @@ export declare const se_GetUserPbxLinkSuggestionV1Command: (input: GetUserPbxLin
110
128
  * serializeAws_restJson1IntelligenceSearchCommand
111
129
  */
112
130
  export declare const se_IntelligenceSearchCommand: (input: IntelligenceSearchCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
+ /**
132
+ * serializeAws_restJson1InviteCommand
133
+ */
134
+ export declare const se_InviteCommand: (input: InviteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
135
+ /**
136
+ * serializeAws_restJson1ListAccountIdentitiesCommand
137
+ */
138
+ export declare const se_ListAccountIdentitiesCommand: (input: ListAccountIdentitiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
139
  /**
114
140
  * serializeAws_restJson1ListBotApiKeysCommand
115
141
  */
@@ -118,6 +144,10 @@ export declare const se_ListBotApiKeysCommand: (input: ListBotApiKeysCommandInpu
118
144
  * serializeAws_restJson1ListBotsCommand
119
145
  */
120
146
  export declare const se_ListBotsCommand: (input: ListBotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
147
+ /**
148
+ * serializeAws_restJson1ListWorkspacesCommand
149
+ */
150
+ export declare const se_ListWorkspacesCommand: (input: ListWorkspacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
121
151
  /**
122
152
  * serializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
123
153
  */
@@ -134,6 +164,10 @@ export declare const se_QueryUserCommand: (input: QueryUserCommandInput, context
134
164
  * serializeAws_restJson1QueryUsersCommand
135
165
  */
136
166
  export declare const se_QueryUsersCommand: (input: QueryUsersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
167
+ /**
168
+ * serializeAws_restJson1RemoveIdentityCommand
169
+ */
170
+ export declare const se_RemoveIdentityCommand: (input: RemoveIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
137
171
  /**
138
172
  * serializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
139
173
  */
@@ -142,6 +176,14 @@ export declare const se_ToggleTranscriptionEmailNotificationsSubscriptionCommand
142
176
  * serializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
143
177
  */
144
178
  export declare const se_ToggleUnreadEmailNotificationsSubscriptionCommand: (input: ToggleUnreadEmailNotificationsSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
179
+ /**
180
+ * serializeAws_restJson1UnbindWorkspaceCommand
181
+ */
182
+ export declare const se_UnbindWorkspaceCommand: (input: UnbindWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
183
+ /**
184
+ * serializeAws_restJson1UpdateAccountCommand
185
+ */
186
+ export declare const se_UpdateAccountCommand: (input: UpdateAccountCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
145
187
  /**
146
188
  * serializeAws_restJson1UpdateBotCommand
147
189
  */
@@ -154,6 +196,10 @@ export declare const se_UpdateBotCallbackCommand: (input: UpdateBotCallbackComma
154
196
  * serializeAws_restJson1UpdateUserEmailNotificationsSettingsCommand
155
197
  */
156
198
  export declare const se_UpdateUserEmailNotificationsSettingsCommand: (input: UpdateUserEmailNotificationsSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
199
+ /**
200
+ * serializeAws_restJson1UpdateWorkspaceCommand
201
+ */
202
+ export declare const se_UpdateWorkspaceCommand: (input: UpdateWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
157
203
  /**
158
204
  * serializeAws_restJson1UploadPictureCommand
159
205
  */
@@ -162,6 +208,10 @@ export declare const se_UploadPictureCommand: (input: UploadPictureCommandInput,
162
208
  * serializeAws_restJson1UploadPictureV1Command
163
209
  */
164
210
  export declare const se_UploadPictureV1Command: (input: UploadPictureV1CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
211
+ /**
212
+ * serializeAws_restJson1VerifyAddIdentityCommand
213
+ */
214
+ export declare const se_VerifyAddIdentityCommand: (input: VerifyAddIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
165
215
  /**
166
216
  * serializeAws_restJson1VerifyBotSecretKeyCommand
167
217
  */
@@ -170,6 +220,10 @@ export declare const se_VerifyBotSecretKeyCommand: (input: VerifyBotSecretKeyCom
170
220
  * serializeAws_restJson1VerifyBotSecretKeyV1Command
171
221
  */
172
222
  export declare const se_VerifyBotSecretKeyV1Command: (input: VerifyBotSecretKeyV1CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
223
+ /**
224
+ * deserializeAws_restJson1AddIdentityCommand
225
+ */
226
+ export declare const de_AddIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AddIdentityCommandOutput>;
173
227
  /**
174
228
  * deserializeAws_restJson1BatchGetUsersCommand
175
229
  */
@@ -210,6 +264,10 @@ export declare const de_DeleteBotCommand: (output: __HttpResponse, context: __Se
210
264
  * deserializeAws_restJson1DeleteBotApiKeyCommand
211
265
  */
212
266
  export declare const de_DeleteBotApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBotApiKeyCommandOutput>;
267
+ /**
268
+ * deserializeAws_restJson1GetAccountCommand
269
+ */
270
+ export declare const de_GetAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccountCommandOutput>;
213
271
  /**
214
272
  * deserializeAws_restJson1GetAppVersionCommand
215
273
  */
@@ -246,6 +304,14 @@ export declare const de_GetUserPbxLinkSuggestionV1Command: (output: __HttpRespon
246
304
  * deserializeAws_restJson1IntelligenceSearchCommand
247
305
  */
248
306
  export declare const de_IntelligenceSearchCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<IntelligenceSearchCommandOutput>;
307
+ /**
308
+ * deserializeAws_restJson1InviteCommand
309
+ */
310
+ export declare const de_InviteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<InviteCommandOutput>;
311
+ /**
312
+ * deserializeAws_restJson1ListAccountIdentitiesCommand
313
+ */
314
+ export declare const de_ListAccountIdentitiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAccountIdentitiesCommandOutput>;
249
315
  /**
250
316
  * deserializeAws_restJson1ListBotApiKeysCommand
251
317
  */
@@ -254,6 +320,10 @@ export declare const de_ListBotApiKeysCommand: (output: __HttpResponse, context:
254
320
  * deserializeAws_restJson1ListBotsCommand
255
321
  */
256
322
  export declare const de_ListBotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListBotsCommandOutput>;
323
+ /**
324
+ * deserializeAws_restJson1ListWorkspacesCommand
325
+ */
326
+ export declare const de_ListWorkspacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkspacesCommandOutput>;
257
327
  /**
258
328
  * deserializeAws_restJson1PartialUpdateUserEmailNotificationsSettingsCommand
259
329
  */
@@ -270,6 +340,10 @@ export declare const de_QueryUserCommand: (output: __HttpResponse, context: __Se
270
340
  * deserializeAws_restJson1QueryUsersCommand
271
341
  */
272
342
  export declare const de_QueryUsersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryUsersCommandOutput>;
343
+ /**
344
+ * deserializeAws_restJson1RemoveIdentityCommand
345
+ */
346
+ export declare const de_RemoveIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveIdentityCommandOutput>;
273
347
  /**
274
348
  * deserializeAws_restJson1ToggleTranscriptionEmailNotificationsSubscriptionCommand
275
349
  */
@@ -278,6 +352,14 @@ export declare const de_ToggleTranscriptionEmailNotificationsSubscriptionCommand
278
352
  * deserializeAws_restJson1ToggleUnreadEmailNotificationsSubscriptionCommand
279
353
  */
280
354
  export declare const de_ToggleUnreadEmailNotificationsSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ToggleUnreadEmailNotificationsSubscriptionCommandOutput>;
355
+ /**
356
+ * deserializeAws_restJson1UnbindWorkspaceCommand
357
+ */
358
+ export declare const de_UnbindWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnbindWorkspaceCommandOutput>;
359
+ /**
360
+ * deserializeAws_restJson1UpdateAccountCommand
361
+ */
362
+ export declare const de_UpdateAccountCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAccountCommandOutput>;
281
363
  /**
282
364
  * deserializeAws_restJson1UpdateBotCommand
283
365
  */
@@ -290,6 +372,10 @@ export declare const de_UpdateBotCallbackCommand: (output: __HttpResponse, conte
290
372
  * deserializeAws_restJson1UpdateUserEmailNotificationsSettingsCommand
291
373
  */
292
374
  export declare const de_UpdateUserEmailNotificationsSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateUserEmailNotificationsSettingsCommandOutput>;
375
+ /**
376
+ * deserializeAws_restJson1UpdateWorkspaceCommand
377
+ */
378
+ export declare const de_UpdateWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkspaceCommandOutput>;
293
379
  /**
294
380
  * deserializeAws_restJson1UploadPictureCommand
295
381
  */
@@ -298,6 +384,10 @@ export declare const de_UploadPictureCommand: (output: __HttpResponse, context:
298
384
  * deserializeAws_restJson1UploadPictureV1Command
299
385
  */
300
386
  export declare const de_UploadPictureV1Command: (output: __HttpResponse, context: __SerdeContext) => Promise<UploadPictureV1CommandOutput>;
387
+ /**
388
+ * deserializeAws_restJson1VerifyAddIdentityCommand
389
+ */
390
+ export declare const de_VerifyAddIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<VerifyAddIdentityCommandOutput>;
301
391
  /**
302
392
  * deserializeAws_restJson1VerifyBotSecretKeyCommand
303
393
  */
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
- requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
12
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
13
13
  retryMode: string | import("@smithy/types").Provider<string>;
14
14
  sha256: import("@smithy/types").HashConstructor;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
- requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
12
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
13
13
  retryMode: string | import("@smithy/types").Provider<string>;
14
14
  sha256: import("@smithy/types").HashConstructor;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  env?: "stage" | "stable" | "prod" | undefined;
9
9
  token: import("@wildix/smithy-utils").TokenProvider;
10
- requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
10
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/fetch-http-handler").FetchHttpHandler | import("@smithy/protocol-http").HttpHandler<any>;
11
11
  cacheMiddleware?: boolean | undefined;
12
12
  protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
13
13
  protocolSettings?: {
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.1.0",
4
+ "version": "1.2.3",
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",
@@ -9,7 +9,7 @@
9
9
  "build:types": "tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
- "prepack": "yarn run clean && yarn run build",
12
+ "prepack": "yarn run build",
13
13
  "postpublish": "node ../../scripts/postpublish.js"
14
14
  },
15
15
  "main": "./dist-cjs/index.js",
@@ -80,4 +80,4 @@
80
80
  "react-native": {
81
81
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
82
82
  }
83
- }
83
+ }
@@ -1,98 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { BatchGetUsersInput, BatchGetUsersOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link BatchGetUsersCommand}.
14
- */
15
- export interface BatchGetUsersCommandInput extends BatchGetUsersInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link BatchGetUsersCommand}.
21
- */
22
- export interface BatchGetUsersCommandOutput extends BatchGetUsersOutput, __MetadataBearer {
23
- }
24
- declare const BatchGetUsersCommand_base: {
25
- new (input: BatchGetUsersCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersCommandInput, BatchGetUsersCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: BatchGetUsersCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersCommandInput, BatchGetUsersCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Retrieves details of multiple users in a single batch operation.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, BatchGetUsersCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, BatchGetUsersCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // BatchGetUsersInput
38
- * id: [ // UsersIdList // required
39
- * "STRING_VALUE",
40
- * ],
41
- * };
42
- * const command = new BatchGetUsersCommand(input);
43
- * const response = await client.send(command);
44
- * // { // BatchGetUsersOutput
45
- * // users: [ // UsersList // required
46
- * // { // User
47
- * // id: "STRING_VALUE", // required
48
- * // name: "STRING_VALUE",
49
- * // email: "STRING_VALUE",
50
- * // phone: "STRING_VALUE",
51
- * // picture: "STRING_VALUE",
52
- * // locale: "STRING_VALUE",
53
- * // timeZone: "STRING_VALUE",
54
- * // company: "STRING_VALUE",
55
- * // bot: true || false,
56
- * // pbxDomain: "STRING_VALUE",
57
- * // pbxPort: "STRING_VALUE",
58
- * // pbxExtension: "STRING_VALUE",
59
- * // pbxSerial: "STRING_VALUE",
60
- * // pbxUserId: "STRING_VALUE",
61
- * // pbxGroupId: "STRING_VALUE",
62
- * // createdAt: "STRING_VALUE",
63
- * // updatedAt: "STRING_VALUE",
64
- * // },
65
- * // ],
66
- * // };
67
- *
68
- * ```
69
- *
70
- * @param BatchGetUsersCommandInput - {@link BatchGetUsersCommandInput}
71
- * @returns {@link BatchGetUsersCommandOutput}
72
- * @see {@link BatchGetUsersCommandInput} for command's `input` shape.
73
- * @see {@link BatchGetUsersCommandOutput} for command's `response` shape.
74
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
75
- *
76
- * @throws {@link ForbiddenException} (client fault)
77
- *
78
- * @throws {@link ValidationException} (client fault)
79
- *
80
- * @throws {@link UsersServiceException}
81
- * <p>Base exception class for all service exceptions from Users service.</p>
82
- *
83
- *
84
- * @public
85
- */
86
- export declare class BatchGetUsersCommand extends BatchGetUsersCommand_base {
87
- /** @internal type navigation helper, not in runtime. */
88
- protected static __types: {
89
- api: {
90
- input: BatchGetUsersInput;
91
- output: BatchGetUsersOutput;
92
- };
93
- sdk: {
94
- input: BatchGetUsersCommandInput;
95
- output: BatchGetUsersCommandOutput;
96
- };
97
- };
98
- }
@@ -1,83 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { BatchGetUsersEmailNotificationsSettingsInput, BatchGetUsersEmailNotificationsSettingsOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link BatchGetUsersEmailNotificationsSettingsCommand}.
14
- */
15
- export interface BatchGetUsersEmailNotificationsSettingsCommandInput extends BatchGetUsersEmailNotificationsSettingsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link BatchGetUsersEmailNotificationsSettingsCommand}.
21
- */
22
- export interface BatchGetUsersEmailNotificationsSettingsCommandOutput extends BatchGetUsersEmailNotificationsSettingsOutput, __MetadataBearer {
23
- }
24
- declare const BatchGetUsersEmailNotificationsSettingsCommand_base: {
25
- new (input: BatchGetUsersEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: BatchGetUsersEmailNotificationsSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersEmailNotificationsSettingsCommandInput, BatchGetUsersEmailNotificationsSettingsCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Get multiple user settings by their IDs
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, BatchGetUsersEmailNotificationsSettingsCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, BatchGetUsersEmailNotificationsSettingsCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // BatchGetUsersEmailNotificationsSettingsInput
38
- * usersIds: [ // UsersIdList // required
39
- * "STRING_VALUE",
40
- * ],
41
- * };
42
- * const command = new BatchGetUsersEmailNotificationsSettingsCommand(input);
43
- * const response = await client.send(command);
44
- * // { // BatchGetUsersEmailNotificationsSettingsOutput
45
- * // notifications: { // UsersEmailNotificationsSettingsMap // required
46
- * // "<keys>": { // UserEmailNotificationsSettings
47
- * // unread: true || false, // required
48
- * // transcription: true || false, // required
49
- * // },
50
- * // },
51
- * // };
52
- *
53
- * ```
54
- *
55
- * @param BatchGetUsersEmailNotificationsSettingsCommandInput - {@link BatchGetUsersEmailNotificationsSettingsCommandInput}
56
- * @returns {@link BatchGetUsersEmailNotificationsSettingsCommandOutput}
57
- * @see {@link BatchGetUsersEmailNotificationsSettingsCommandInput} for command's `input` shape.
58
- * @see {@link BatchGetUsersEmailNotificationsSettingsCommandOutput} for command's `response` shape.
59
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
60
- *
61
- * @throws {@link ForbiddenException} (client fault)
62
- *
63
- * @throws {@link ValidationException} (client fault)
64
- *
65
- * @throws {@link UsersServiceException}
66
- * <p>Base exception class for all service exceptions from Users service.</p>
67
- *
68
- *
69
- * @public
70
- */
71
- export declare class BatchGetUsersEmailNotificationsSettingsCommand extends BatchGetUsersEmailNotificationsSettingsCommand_base {
72
- /** @internal type navigation helper, not in runtime. */
73
- protected static __types: {
74
- api: {
75
- input: BatchGetUsersEmailNotificationsSettingsInput;
76
- output: BatchGetUsersEmailNotificationsSettingsOutput;
77
- };
78
- sdk: {
79
- input: BatchGetUsersEmailNotificationsSettingsCommandInput;
80
- output: BatchGetUsersEmailNotificationsSettingsCommandOutput;
81
- };
82
- };
83
- }
@@ -1,134 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, UsersClientResolvedConfig } from "../UsersClient";
2
- import { BatchGetUsersPbxLinkDataInput, BatchGetUsersPbxLinkDataOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link BatchGetUsersPbxLinkDataCommand}.
14
- */
15
- export interface BatchGetUsersPbxLinkDataCommandInput extends BatchGetUsersPbxLinkDataInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link BatchGetUsersPbxLinkDataCommand}.
21
- */
22
- export interface BatchGetUsersPbxLinkDataCommandOutput extends BatchGetUsersPbxLinkDataOutput, __MetadataBearer {
23
- }
24
- declare const BatchGetUsersPbxLinkDataCommand_base: {
25
- new (input: BatchGetUsersPbxLinkDataCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: BatchGetUsersPbxLinkDataCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetUsersPbxLinkDataCommandInput, BatchGetUsersPbxLinkDataCommandOutput, UsersClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Retrieves PBX link data for multiple users in a single batch operation.
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { UsersClient, BatchGetUsersPbxLinkDataCommand } from "@wildix/xbees-users-client"; // ES Modules import
35
- * // const { UsersClient, BatchGetUsersPbxLinkDataCommand } = require("@wildix/xbees-users-client"); // CommonJS import
36
- * const client = new UsersClient(config);
37
- * const input = { // BatchGetUsersPbxLinkDataInput
38
- * id: [ // UsersIdList // required
39
- * "STRING_VALUE",
40
- * ],
41
- * };
42
- * const command = new BatchGetUsersPbxLinkDataCommand(input);
43
- * const response = await client.send(command);
44
- * // { // BatchGetUsersPbxLinkDataOutput
45
- * // users: [ // UsersPbxLinkDataList // required
46
- * // { // UserPbxLinkData
47
- * // id: "STRING_VALUE", // required
48
- * // company: "STRING_VALUE", // required
49
- * // companyName: "STRING_VALUE",
50
- * // domain: "STRING_VALUE", // required
51
- * // email: "STRING_VALUE",
52
- * // info: { // UserPersonalInfo
53
- * // dn: "STRING_VALUE", // required
54
- * // id: "STRING_VALUE", // required
55
- * // name: "STRING_VALUE", // required
56
- * // extension: "STRING_VALUE", // required
57
- * // officePhone: "STRING_VALUE",
58
- * // mobilePhone: "STRING_VALUE",
59
- * // faxNumber: "STRING_VALUE",
60
- * // email: "STRING_VALUE",
61
- * // role: "STRING_VALUE", // required
62
- * // language: "STRING_VALUE", // required
63
- * // dialplan: "STRING_VALUE", // required
64
- * // faxDialplan: "STRING_VALUE", // required
65
- * // departament: "STRING_VALUE",
66
- * // picture: "STRING_VALUE", // required
67
- * // groupDn: "STRING_VALUE", // required
68
- * // groupName: "STRING_VALUE", // required
69
- * // jid: "STRING_VALUE", // required
70
- * // licenseType: "basic" || "essential" || "business" || "premium" || "wizyconf", // required
71
- * // login: "STRING_VALUE",
72
- * // pbx: "STRING_VALUE",
73
- * // pbxDn: "STRING_VALUE", // required
74
- * // sourceId: "STRING_VALUE",
75
- * // sipPassword: "STRING_VALUE",
76
- * // },
77
- * // pbx: { // UserPbxInfo
78
- * // networkAddresses: [ // UserPbxInfoNetworkAddresses // required
79
- * // "STRING_VALUE",
80
- * // ],
81
- * // ports: [ // UserPbxInfoPorts // required
82
- * // "STRING_VALUE",
83
- * // ],
84
- * // externalLinePrefix: "STRING_VALUE",
85
- * // version: "STRING_VALUE", // required
86
- * // serial: "STRING_VALUE", // required
87
- * // },
88
- * // picture: "STRING_VALUE", // required
89
- * // pictureDeleted: true || false,
90
- * // port: "STRING_VALUE", // required
91
- * // serial: "STRING_VALUE", // required
92
- * // services: { // UserPbxServices
93
- * // xcaracal: true || false,
94
- * // wizyWebinar: true || false,
95
- * // },
96
- * // personalSettings: {},
97
- * // dialplanSettings: {},
98
- * // awsRegion: "STRING_VALUE",
99
- * // updatedAt: "STRING_VALUE",
100
- * // },
101
- * // ],
102
- * // };
103
- *
104
- * ```
105
- *
106
- * @param BatchGetUsersPbxLinkDataCommandInput - {@link BatchGetUsersPbxLinkDataCommandInput}
107
- * @returns {@link BatchGetUsersPbxLinkDataCommandOutput}
108
- * @see {@link BatchGetUsersPbxLinkDataCommandInput} for command's `input` shape.
109
- * @see {@link BatchGetUsersPbxLinkDataCommandOutput} for command's `response` shape.
110
- * @see {@link UsersClientResolvedConfig | config} for UsersClient's `config` shape.
111
- *
112
- * @throws {@link ForbiddenException} (client fault)
113
- *
114
- * @throws {@link ValidationException} (client fault)
115
- *
116
- * @throws {@link UsersServiceException}
117
- * <p>Base exception class for all service exceptions from Users service.</p>
118
- *
119
- *
120
- * @public
121
- */
122
- export declare class BatchGetUsersPbxLinkDataCommand extends BatchGetUsersPbxLinkDataCommand_base {
123
- /** @internal type navigation helper, not in runtime. */
124
- protected static __types: {
125
- api: {
126
- input: BatchGetUsersPbxLinkDataInput;
127
- output: BatchGetUsersPbxLinkDataOutput;
128
- };
129
- sdk: {
130
- input: BatchGetUsersPbxLinkDataCommandInput;
131
- output: BatchGetUsersPbxLinkDataCommandOutput;
132
- };
133
- };
134
- }