@wildix/xbees-users-client 1.0.7 → 1.0.8
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 +6 -0
- package/dist-cjs/UsersClient.js +7 -3
- package/dist-cjs/commands/BatchGetUsersPbxLinkDataCommand.js +12 -32
- package/dist-cjs/commands/BatchGetUsersStreamLinkDataCommand.js +12 -32
- package/dist-cjs/commands/CreateBotApiKeyCommand.js +12 -32
- package/dist-cjs/commands/CreateBotCommand.js +12 -32
- package/dist-cjs/commands/DeleteBotApiKeyCommand.js +12 -32
- package/dist-cjs/commands/DeleteBotCommand.js +12 -32
- package/dist-cjs/commands/GetBotCallbackCommand.js +21 -0
- package/dist-cjs/commands/GetBotCommand.js +21 -0
- package/dist-cjs/commands/ListBotApiKeysCommand.js +12 -32
- package/dist-cjs/commands/ListBotsCommand.js +12 -32
- package/dist-cjs/commands/UpdateBotCallbackCommand.js +21 -0
- package/dist-cjs/commands/UpdateBotCommand.js +12 -32
- package/dist-cjs/commands/VerifyBotSecretKeyCommand.js +12 -32
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +25 -21
- package/dist-cjs/protocols/Aws_restJson1.js +200 -352
- package/dist-cjs/runtimeConfig.browser.js +5 -1
- package/dist-cjs/runtimeConfig.js +5 -1
- package/dist-cjs/runtimeConfig.shared.js +13 -11
- package/dist-es/Users.js +6 -0
- package/dist-es/UsersClient.js +7 -3
- package/dist-es/commands/BatchGetUsersPbxLinkDataCommand.js +12 -32
- package/dist-es/commands/BatchGetUsersStreamLinkDataCommand.js +12 -32
- package/dist-es/commands/CreateBotApiKeyCommand.js +12 -32
- package/dist-es/commands/CreateBotCommand.js +12 -32
- package/dist-es/commands/DeleteBotApiKeyCommand.js +12 -32
- package/dist-es/commands/DeleteBotCommand.js +12 -32
- package/dist-es/commands/GetBotCallbackCommand.js +17 -0
- package/dist-es/commands/GetBotCommand.js +17 -0
- package/dist-es/commands/ListBotApiKeysCommand.js +12 -32
- package/dist-es/commands/ListBotsCommand.js +12 -32
- package/dist-es/commands/UpdateBotCallbackCommand.js +17 -0
- package/dist-es/commands/UpdateBotCommand.js +12 -32
- package/dist-es/commands/VerifyBotSecretKeyCommand.js +12 -32
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +22 -18
- package/dist-es/protocols/Aws_restJson1.js +192 -350
- package/dist-es/runtimeConfig.browser.js +4 -1
- package/dist-es/runtimeConfig.js +4 -1
- package/dist-es/runtimeConfig.shared.js +13 -11
- package/dist-types/Users.d.ts +22 -0
- package/dist-types/UsersClient.d.ts +18 -9
- package/dist-types/commands/BatchGetUsersPbxLinkDataCommand.d.ts +7 -19
- package/dist-types/commands/BatchGetUsersStreamLinkDataCommand.d.ts +7 -19
- package/dist-types/commands/CreateBotApiKeyCommand.d.ts +11 -45
- package/dist-types/commands/CreateBotCommand.d.ts +32 -66
- package/dist-types/commands/DeleteBotApiKeyCommand.d.ts +7 -19
- package/dist-types/commands/DeleteBotCommand.d.ts +7 -19
- package/dist-types/commands/GetBotCallbackCommand.d.ts +91 -0
- package/dist-types/commands/GetBotCommand.d.ts +73 -0
- package/dist-types/commands/ListBotApiKeysCommand.d.ts +7 -19
- package/dist-types/commands/ListBotsCommand.d.ts +9 -45
- package/dist-types/commands/UpdateBotCallbackCommand.d.ts +115 -0
- package/dist-types/commands/UpdateBotCommand.d.ts +12 -71
- package/dist-types/commands/VerifyBotSecretKeyCommand.d.ts +7 -19
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +155 -62
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -4
- package/dist-types/runtimeConfig.d.ts +3 -4
- package/dist-types/runtimeConfig.native.d.ts +3 -4
- package/package.json +32 -31
|
@@ -3,24 +3,24 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
7
|
-
readonly name: "
|
|
6
|
+
export declare class ValidationException extends __BaseException {
|
|
7
|
+
readonly name: "ValidationException";
|
|
8
8
|
readonly $fault: "client";
|
|
9
9
|
/**
|
|
10
10
|
* @internal
|
|
11
11
|
*/
|
|
12
|
-
constructor(opts: __ExceptionOptionType<
|
|
12
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
export declare class
|
|
18
|
-
readonly name: "
|
|
17
|
+
export declare class ForbiddenException extends __BaseException {
|
|
18
|
+
readonly name: "ForbiddenException";
|
|
19
19
|
readonly $fault: "client";
|
|
20
20
|
/**
|
|
21
21
|
* @internal
|
|
22
22
|
*/
|
|
23
|
-
constructor(opts: __ExceptionOptionType<
|
|
23
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* @public
|
|
@@ -77,98 +77,151 @@ export interface BatchGetUsersStreamLinkDataOutput {
|
|
|
77
77
|
/**
|
|
78
78
|
* @public
|
|
79
79
|
*/
|
|
80
|
-
export interface
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
export interface Bot {
|
|
81
|
+
id: string;
|
|
82
|
+
name: string;
|
|
83
|
+
picture?: string;
|
|
84
|
+
searchable?: boolean;
|
|
85
|
+
createdAt: string;
|
|
86
|
+
updated?: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export interface BotApiKey {
|
|
92
|
+
secret: string;
|
|
93
|
+
name?: string;
|
|
94
|
+
createdAt: string;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class BotApiKeyNotFoundException extends __BaseException {
|
|
100
|
+
readonly name: "BotApiKeyNotFoundException";
|
|
101
|
+
readonly $fault: "client";
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
constructor(opts: __ExceptionOptionType<BotApiKeyNotFoundException, __BaseException>);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export interface BotDialogflowCxEndpoint {
|
|
111
|
+
/**
|
|
112
|
+
* Dialogflow Project Id (example - fluent-imprint-571
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
projectId: string;
|
|
116
|
+
/**
|
|
117
|
+
* Dialogflow Agent Id (example - 88ff4635-0852-4f97-ae44-b19ae9fa6ea1
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
agentId: string;
|
|
121
|
+
/**
|
|
122
|
+
* Region (example: europe-west3)
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
location: string;
|
|
126
|
+
/**
|
|
127
|
+
* Private Key Id (example: 4aece3c7e549216a9c1e920e37f9cf6beb3a9c42)
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
privateKeyId: string;
|
|
131
|
+
privateKey: string;
|
|
132
|
+
/**
|
|
133
|
+
* Service Account Email (example name@fluent-imprint-571.iam.gserviceaccount.com)
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
clientEmail?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Service Account Id (example 111958626790109061534)
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
clientId?: string;
|
|
84
142
|
}
|
|
85
143
|
/**
|
|
86
144
|
* @public
|
|
87
145
|
*/
|
|
88
|
-
export interface
|
|
146
|
+
export interface BotOpenAiAssistantEndpoint {
|
|
147
|
+
key: string;
|
|
148
|
+
assistantId: string;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
export interface BotSqsEndpoint {
|
|
89
154
|
url: string;
|
|
90
155
|
key: string;
|
|
91
156
|
secret: string;
|
|
92
|
-
triggers: BotCallbackTriggers;
|
|
93
157
|
}
|
|
94
158
|
/**
|
|
95
159
|
* @public
|
|
96
160
|
*/
|
|
97
|
-
export interface
|
|
161
|
+
export interface BotWebhookEndpoint {
|
|
98
162
|
url: string;
|
|
99
163
|
secret: string;
|
|
100
|
-
triggers: BotCallbackTriggers;
|
|
101
164
|
}
|
|
102
165
|
/**
|
|
103
166
|
* @public
|
|
104
167
|
*/
|
|
105
|
-
export type
|
|
168
|
+
export type BotEndpoint = BotEndpoint.DialogflowCxMember | BotEndpoint.OpenAiAssistantMember | BotEndpoint.SqsMember | BotEndpoint.WebhookMember | BotEndpoint.$UnknownMember;
|
|
106
169
|
/**
|
|
107
170
|
* @public
|
|
108
171
|
*/
|
|
109
|
-
export declare namespace
|
|
172
|
+
export declare namespace BotEndpoint {
|
|
173
|
+
interface DialogflowCxMember {
|
|
174
|
+
dialogflowCx: BotDialogflowCxEndpoint;
|
|
175
|
+
openAiAssistant?: never;
|
|
176
|
+
webhook?: never;
|
|
177
|
+
sqs?: never;
|
|
178
|
+
$unknown?: never;
|
|
179
|
+
}
|
|
180
|
+
interface OpenAiAssistantMember {
|
|
181
|
+
dialogflowCx?: never;
|
|
182
|
+
openAiAssistant: BotOpenAiAssistantEndpoint;
|
|
183
|
+
webhook?: never;
|
|
184
|
+
sqs?: never;
|
|
185
|
+
$unknown?: never;
|
|
186
|
+
}
|
|
110
187
|
interface WebhookMember {
|
|
111
|
-
|
|
188
|
+
dialogflowCx?: never;
|
|
189
|
+
openAiAssistant?: never;
|
|
190
|
+
webhook: BotWebhookEndpoint;
|
|
112
191
|
sqs?: never;
|
|
113
192
|
$unknown?: never;
|
|
114
193
|
}
|
|
115
194
|
interface SqsMember {
|
|
195
|
+
dialogflowCx?: never;
|
|
196
|
+
openAiAssistant?: never;
|
|
116
197
|
webhook?: never;
|
|
117
|
-
sqs:
|
|
198
|
+
sqs: BotSqsEndpoint;
|
|
118
199
|
$unknown?: never;
|
|
119
200
|
}
|
|
120
201
|
/**
|
|
121
202
|
* @public
|
|
122
203
|
*/
|
|
123
204
|
interface $UnknownMember {
|
|
205
|
+
dialogflowCx?: never;
|
|
206
|
+
openAiAssistant?: never;
|
|
124
207
|
webhook?: never;
|
|
125
208
|
sqs?: never;
|
|
126
209
|
$unknown: [string, any];
|
|
127
210
|
}
|
|
128
211
|
interface Visitor<T> {
|
|
129
|
-
|
|
130
|
-
|
|
212
|
+
dialogflowCx: (value: BotDialogflowCxEndpoint) => T;
|
|
213
|
+
openAiAssistant: (value: BotOpenAiAssistantEndpoint) => T;
|
|
214
|
+
webhook: (value: BotWebhookEndpoint) => T;
|
|
215
|
+
sqs: (value: BotSqsEndpoint) => T;
|
|
131
216
|
_: (name: string, value: any) => T;
|
|
132
217
|
}
|
|
133
|
-
const visit: <T>(value:
|
|
218
|
+
const visit: <T>(value: BotEndpoint, visitor: Visitor<T>) => T;
|
|
134
219
|
}
|
|
135
220
|
/**
|
|
136
221
|
* @public
|
|
137
222
|
*/
|
|
138
|
-
export interface
|
|
139
|
-
|
|
140
|
-
mention?: boolean;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* @public
|
|
144
|
-
*/
|
|
145
|
-
export interface Bot {
|
|
146
|
-
id: string;
|
|
147
|
-
name: string;
|
|
148
|
-
secret: string;
|
|
149
|
-
visibility?: BotVisibilitySettings;
|
|
150
|
-
callback?: BotCallbackSettings;
|
|
151
|
-
createdAt: string;
|
|
152
|
-
updated?: string;
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* @public
|
|
156
|
-
*/
|
|
157
|
-
export interface BotApiKey {
|
|
158
|
-
secret: string;
|
|
159
|
-
name?: string;
|
|
160
|
-
createdAt: string;
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* @public
|
|
164
|
-
*/
|
|
165
|
-
export declare class BotApiKeyNotFoundException extends __BaseException {
|
|
166
|
-
readonly name: "BotApiKeyNotFoundException";
|
|
167
|
-
readonly $fault: "client";
|
|
168
|
-
/**
|
|
169
|
-
* @internal
|
|
170
|
-
*/
|
|
171
|
-
constructor(opts: __ExceptionOptionType<BotApiKeyNotFoundException, __BaseException>);
|
|
223
|
+
export interface BotCallback {
|
|
224
|
+
endpoint?: BotEndpoint;
|
|
172
225
|
}
|
|
173
226
|
/**
|
|
174
227
|
* @public
|
|
@@ -198,8 +251,8 @@ export declare class BotSecretKeyNotValidException extends __BaseException {
|
|
|
198
251
|
export interface CreateBotInput {
|
|
199
252
|
company?: string;
|
|
200
253
|
name: string;
|
|
201
|
-
|
|
202
|
-
callback
|
|
254
|
+
picture?: string;
|
|
255
|
+
callback: BotCallback;
|
|
203
256
|
}
|
|
204
257
|
/**
|
|
205
258
|
* @public
|
|
@@ -247,6 +300,32 @@ export interface DeleteBotApiKeyInput {
|
|
|
247
300
|
*/
|
|
248
301
|
export interface DeleteBotApiKeyOutput {
|
|
249
302
|
}
|
|
303
|
+
/**
|
|
304
|
+
* @public
|
|
305
|
+
*/
|
|
306
|
+
export interface GetBotInput {
|
|
307
|
+
company?: string;
|
|
308
|
+
id: string;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* @public
|
|
312
|
+
*/
|
|
313
|
+
export interface GetBotOutput {
|
|
314
|
+
bot: Bot;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
319
|
+
export interface GetBotCallbackInput {
|
|
320
|
+
company?: string;
|
|
321
|
+
id: string;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* @public
|
|
325
|
+
*/
|
|
326
|
+
export interface GetBotCallbackOutput {
|
|
327
|
+
callback?: BotCallback;
|
|
328
|
+
}
|
|
250
329
|
/**
|
|
251
330
|
* @public
|
|
252
331
|
*/
|
|
@@ -277,10 +356,10 @@ export interface ListBotsOutput {
|
|
|
277
356
|
*/
|
|
278
357
|
export interface UpdateBotInput {
|
|
279
358
|
company?: string;
|
|
280
|
-
|
|
359
|
+
id: string;
|
|
281
360
|
name: string;
|
|
282
|
-
|
|
283
|
-
|
|
361
|
+
picture?: string;
|
|
362
|
+
searchable?: boolean;
|
|
284
363
|
}
|
|
285
364
|
/**
|
|
286
365
|
* @public
|
|
@@ -288,13 +367,27 @@ export interface UpdateBotInput {
|
|
|
288
367
|
export interface UpdateBotOutput {
|
|
289
368
|
bot: Bot;
|
|
290
369
|
}
|
|
370
|
+
/**
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
export interface UpdateBotCallbackInput {
|
|
374
|
+
company?: string;
|
|
375
|
+
id: string;
|
|
376
|
+
callback: BotCallback;
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
export interface UpdateBotCallbackOutput {
|
|
382
|
+
callback: BotCallback;
|
|
383
|
+
}
|
|
291
384
|
/**
|
|
292
385
|
* @public
|
|
293
386
|
*/
|
|
294
387
|
export interface VerifyBotSecretKeyInput {
|
|
295
388
|
/**
|
|
296
|
-
* @public
|
|
297
389
|
* A secret key string with "sk-"
|
|
390
|
+
* @public
|
|
298
391
|
*/
|
|
299
392
|
secret: string;
|
|
300
393
|
}
|
|
@@ -304,8 +397,8 @@ export interface VerifyBotSecretKeyInput {
|
|
|
304
397
|
export interface VerifyBotSecretKeyOutput {
|
|
305
398
|
company: string;
|
|
306
399
|
/**
|
|
307
|
-
* @public
|
|
308
400
|
* A unique ID for the Bot that corresponds to the bot's x-bees user ID.
|
|
401
|
+
* @public
|
|
309
402
|
*/
|
|
310
403
|
id: string;
|
|
311
404
|
name?: string;
|
|
@@ -4,8 +4,11 @@ import { CreateBotApiKeyCommandInput, CreateBotApiKeyCommandOutput } from "../co
|
|
|
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
|
+
import { GetBotCallbackCommandInput, GetBotCallbackCommandOutput } from "../commands/GetBotCallbackCommand";
|
|
8
|
+
import { GetBotCommandInput, GetBotCommandOutput } from "../commands/GetBotCommand";
|
|
7
9
|
import { ListBotApiKeysCommandInput, ListBotApiKeysCommandOutput } from "../commands/ListBotApiKeysCommand";
|
|
8
10
|
import { ListBotsCommandInput, ListBotsCommandOutput } from "../commands/ListBotsCommand";
|
|
11
|
+
import { UpdateBotCallbackCommandInput, UpdateBotCallbackCommandOutput } from "../commands/UpdateBotCallbackCommand";
|
|
9
12
|
import { UpdateBotCommandInput, UpdateBotCommandOutput } from "../commands/UpdateBotCommand";
|
|
10
13
|
import { VerifyBotSecretKeyCommandInput, VerifyBotSecretKeyCommandOutput } from "../commands/VerifyBotSecretKeyCommand";
|
|
11
14
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
@@ -34,6 +37,14 @@ export declare const se_DeleteBotCommand: (input: DeleteBotCommandInput, context
|
|
|
34
37
|
* serializeAws_restJson1DeleteBotApiKeyCommand
|
|
35
38
|
*/
|
|
36
39
|
export declare const se_DeleteBotApiKeyCommand: (input: DeleteBotApiKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
40
|
+
/**
|
|
41
|
+
* serializeAws_restJson1GetBotCommand
|
|
42
|
+
*/
|
|
43
|
+
export declare const se_GetBotCommand: (input: GetBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
44
|
+
/**
|
|
45
|
+
* serializeAws_restJson1GetBotCallbackCommand
|
|
46
|
+
*/
|
|
47
|
+
export declare const se_GetBotCallbackCommand: (input: GetBotCallbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
37
48
|
/**
|
|
38
49
|
* serializeAws_restJson1ListBotApiKeysCommand
|
|
39
50
|
*/
|
|
@@ -46,6 +57,10 @@ export declare const se_ListBotsCommand: (input: ListBotsCommandInput, context:
|
|
|
46
57
|
* serializeAws_restJson1UpdateBotCommand
|
|
47
58
|
*/
|
|
48
59
|
export declare const se_UpdateBotCommand: (input: UpdateBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
|
+
/**
|
|
61
|
+
* serializeAws_restJson1UpdateBotCallbackCommand
|
|
62
|
+
*/
|
|
63
|
+
export declare const se_UpdateBotCallbackCommand: (input: UpdateBotCallbackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
49
64
|
/**
|
|
50
65
|
* serializeAws_restJson1VerifyBotSecretKeyCommand
|
|
51
66
|
*/
|
|
@@ -74,6 +89,14 @@ export declare const de_DeleteBotCommand: (output: __HttpResponse, context: __Se
|
|
|
74
89
|
* deserializeAws_restJson1DeleteBotApiKeyCommand
|
|
75
90
|
*/
|
|
76
91
|
export declare const de_DeleteBotApiKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBotApiKeyCommandOutput>;
|
|
92
|
+
/**
|
|
93
|
+
* deserializeAws_restJson1GetBotCommand
|
|
94
|
+
*/
|
|
95
|
+
export declare const de_GetBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBotCommandOutput>;
|
|
96
|
+
/**
|
|
97
|
+
* deserializeAws_restJson1GetBotCallbackCommand
|
|
98
|
+
*/
|
|
99
|
+
export declare const de_GetBotCallbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetBotCallbackCommandOutput>;
|
|
77
100
|
/**
|
|
78
101
|
* deserializeAws_restJson1ListBotApiKeysCommand
|
|
79
102
|
*/
|
|
@@ -86,6 +109,10 @@ export declare const de_ListBotsCommand: (output: __HttpResponse, context: __Ser
|
|
|
86
109
|
* deserializeAws_restJson1UpdateBotCommand
|
|
87
110
|
*/
|
|
88
111
|
export declare const de_UpdateBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBotCommandOutput>;
|
|
112
|
+
/**
|
|
113
|
+
* deserializeAws_restJson1UpdateBotCallbackCommand
|
|
114
|
+
*/
|
|
115
|
+
export declare const de_UpdateBotCallbackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBotCallbackCommandOutput>;
|
|
89
116
|
/**
|
|
90
117
|
* deserializeAws_restJson1VerifyBotSecretKeyCommand
|
|
91
118
|
*/
|
|
@@ -7,11 +7,9 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
10
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
11
|
-
requestHandler:
|
|
12
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
13
|
-
httpHandlerConfigs(): {};
|
|
14
|
-
}) | RequestHandler;
|
|
12
|
+
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
15
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -26,4 +24,5 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
26
24
|
disableHostPrefix: boolean;
|
|
27
25
|
logger: import("@smithy/types").Logger;
|
|
28
26
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
29
28
|
};
|
|
@@ -7,11 +7,9 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
10
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
11
|
-
requestHandler:
|
|
12
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
13
|
-
httpHandlerConfigs(): {};
|
|
14
|
-
}) | RequestHandler;
|
|
12
|
+
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
15
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -26,4 +24,5 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
26
24
|
disableHostPrefix: boolean;
|
|
27
25
|
logger: import("@smithy/types").Logger;
|
|
28
26
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
29
28
|
};
|
|
@@ -7,10 +7,7 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
env: "stage" | "stable" | "prod";
|
|
9
9
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
10
|
-
requestHandler:
|
|
11
|
-
updateHttpClientConfig(key: never, value: never): void;
|
|
12
|
-
httpHandlerConfigs(): {};
|
|
13
|
-
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
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;
|
|
14
11
|
apiVersion: string;
|
|
15
12
|
urlParser: import("@smithy/types").UrlParser;
|
|
16
13
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -20,9 +17,11 @@ export declare const getRuntimeConfig: (config: UsersClientConfig) => {
|
|
|
20
17
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
21
18
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
22
19
|
disableHostPrefix: boolean;
|
|
20
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
23
21
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
24
22
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
23
|
logger: import("@smithy/types").Logger;
|
|
26
24
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
25
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
26
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
28
27
|
};
|
package/package.json
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
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.8",
|
|
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",
|
|
8
|
-
"build:docs": "typedoc",
|
|
9
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
9
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
10
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
11
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
13
12
|
"prepack": "yarn run clean && yarn run build"
|
|
14
13
|
},
|
|
15
14
|
"main": "./dist-cjs/index.js",
|
|
@@ -17,45 +16,47 @@
|
|
|
17
16
|
"module": "./dist-es/index.js",
|
|
18
17
|
"sideEffects": false,
|
|
19
18
|
"dependencies": {
|
|
20
|
-
"tslib": "^2.
|
|
19
|
+
"tslib": "^2.6.2",
|
|
21
20
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
21
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
22
|
+
"@aws-sdk/middleware-user-agent": "3.587.0",
|
|
23
23
|
"@aws-sdk/types": "latest",
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
26
|
-
"@smithy/
|
|
27
|
-
"@smithy/
|
|
28
|
-
"@smithy/
|
|
29
|
-
"@smithy/
|
|
30
|
-
"@smithy/
|
|
31
|
-
"@smithy/middleware-
|
|
32
|
-
"@smithy/
|
|
33
|
-
"@smithy/
|
|
34
|
-
"@smithy/
|
|
35
|
-
"@smithy/
|
|
36
|
-
"@smithy/
|
|
37
|
-
"@smithy/
|
|
38
|
-
"@smithy/
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/
|
|
41
|
-
"@smithy/util-
|
|
42
|
-
"@smithy/util-
|
|
43
|
-
"@smithy/util-
|
|
44
|
-
"@smithy/util-
|
|
45
|
-
"@
|
|
24
|
+
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
25
|
+
"@aws-sdk/util-user-agent-node": "3.577.0",
|
|
26
|
+
"@smithy/config-resolver": "^3.0.0",
|
|
27
|
+
"@smithy/core": "^2.0.1",
|
|
28
|
+
"@smithy/fetch-http-handler": "^3.0.1",
|
|
29
|
+
"@smithy/hash-node": "^3.0.0",
|
|
30
|
+
"@smithy/invalid-dependency": "^3.0.0",
|
|
31
|
+
"@smithy/middleware-content-length": "^3.0.0",
|
|
32
|
+
"@smithy/middleware-retry": "^3.0.1",
|
|
33
|
+
"@smithy/middleware-serde": "^3.0.0",
|
|
34
|
+
"@smithy/middleware-stack": "^3.0.0",
|
|
35
|
+
"@smithy/node-config-provider": "^3.0.0",
|
|
36
|
+
"@smithy/node-http-handler": "^3.0.0",
|
|
37
|
+
"@smithy/protocol-http": "^4.0.0",
|
|
38
|
+
"@smithy/smithy-client": "^3.0.1",
|
|
39
|
+
"@smithy/types": "^3.0.0",
|
|
40
|
+
"@smithy/url-parser": "^3.0.0",
|
|
41
|
+
"@smithy/util-base64": "^3.0.0",
|
|
42
|
+
"@smithy/util-body-length-browser": "^3.0.0",
|
|
43
|
+
"@smithy/util-body-length-node": "^3.0.0",
|
|
44
|
+
"@smithy/util-defaults-mode-browser": "^3.0.1",
|
|
45
|
+
"@smithy/util-defaults-mode-node": "^3.0.1",
|
|
46
|
+
"@smithy/util-retry": "^3.0.0",
|
|
47
|
+
"@smithy/util-utf8": "^3.0.0",
|
|
48
|
+
"@wildix/smithy-utils": "^1.0.2"
|
|
46
49
|
},
|
|
47
50
|
"devDependencies": {
|
|
48
|
-
"@tsconfig/
|
|
51
|
+
"@tsconfig/node16": "16.1.3",
|
|
49
52
|
"concurrently": "7.0.0",
|
|
50
53
|
"downlevel-dts": "0.10.1",
|
|
51
54
|
"rimraf": "^3.0.0",
|
|
52
|
-
"typedoc": "0.23.23",
|
|
53
55
|
"typescript": "~4.9.5",
|
|
54
|
-
"@
|
|
55
|
-
"@types/node": "^14.14.31"
|
|
56
|
+
"@types/node": "^16.18.96"
|
|
56
57
|
},
|
|
57
58
|
"engines": {
|
|
58
|
-
"node": ">=
|
|
59
|
+
"node": ">=16.0.0"
|
|
59
60
|
},
|
|
60
61
|
"typesVersions": {
|
|
61
62
|
"<4.0": {
|