@aws-sdk/client-connectparticipant 3.50.0 → 3.53.0

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 (37) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/ConnectParticipantServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +86 -1
  5. package/dist-cjs/protocols/Aws_restJson1.js +109 -334
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/ConnectParticipantServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +80 -1
  9. package/dist-es/protocols/Aws_restJson1.js +197 -373
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/ConnectParticipantServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +44 -19
  13. package/dist-types/ts3.4/ConnectParticipant.d.ts +45 -0
  14. package/dist-types/ts3.4/ConnectParticipantClient.d.ts +81 -0
  15. package/dist-types/ts3.4/commands/CompleteAttachmentUploadCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateParticipantConnectionCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/DisconnectParticipantCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/GetAttachmentCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/GetTranscriptCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/SendEventCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/SendMessageCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/StartAttachmentUploadCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  24. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  25. package/dist-types/ts3.4/index.d.ts +6 -0
  26. package/dist-types/ts3.4/models/ConnectParticipantServiceException.d.ts +6 -0
  27. package/dist-types/ts3.4/models/index.d.ts +1 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +356 -0
  29. package/dist-types/ts3.4/pagination/GetTranscriptPaginator.d.ts +4 -0
  30. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  31. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  32. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +26 -0
  33. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  34. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  36. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  37. package/package.json +33 -33
@@ -0,0 +1,356 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ConnectParticipantServiceException as __BaseException } from "./ConnectParticipantServiceException";
3
+
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+ Message: string | undefined;
8
+
9
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
10
+ }
11
+ export interface CompleteAttachmentUploadRequest {
12
+
13
+ AttachmentIds: string[] | undefined;
14
+
15
+ ClientToken?: string;
16
+
17
+ ConnectionToken: string | undefined;
18
+ }
19
+ export declare namespace CompleteAttachmentUploadRequest {
20
+
21
+ const filterSensitiveLog: (obj: CompleteAttachmentUploadRequest) => any;
22
+ }
23
+ export interface CompleteAttachmentUploadResponse {
24
+ }
25
+ export declare namespace CompleteAttachmentUploadResponse {
26
+
27
+ const filterSensitiveLog: (obj: CompleteAttachmentUploadResponse) => any;
28
+ }
29
+
30
+ export declare class ConflictException extends __BaseException {
31
+ readonly name: "ConflictException";
32
+ readonly $fault: "client";
33
+ Message: string | undefined;
34
+
35
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
36
+ }
37
+
38
+ export declare class InternalServerException extends __BaseException {
39
+ readonly name: "InternalServerException";
40
+ readonly $fault: "server";
41
+ Message: string | undefined;
42
+
43
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
44
+ }
45
+
46
+ export declare class ServiceQuotaExceededException extends __BaseException {
47
+ readonly name: "ServiceQuotaExceededException";
48
+ readonly $fault: "client";
49
+ Message: string | undefined;
50
+
51
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
52
+ }
53
+
54
+ export declare class ThrottlingException extends __BaseException {
55
+ readonly name: "ThrottlingException";
56
+ readonly $fault: "client";
57
+ Message: string | undefined;
58
+
59
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
60
+ }
61
+
62
+ export declare class ValidationException extends __BaseException {
63
+ readonly name: "ValidationException";
64
+ readonly $fault: "client";
65
+ Message: string | undefined;
66
+
67
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
68
+ }
69
+ export declare enum ConnectionType {
70
+ CONNECTION_CREDENTIALS = "CONNECTION_CREDENTIALS",
71
+ WEBSOCKET = "WEBSOCKET"
72
+ }
73
+ export interface CreateParticipantConnectionRequest {
74
+
75
+ Type: (ConnectionType | string)[] | undefined;
76
+
77
+ ParticipantToken: string | undefined;
78
+
79
+ ConnectParticipant?: boolean;
80
+ }
81
+ export declare namespace CreateParticipantConnectionRequest {
82
+
83
+ const filterSensitiveLog: (obj: CreateParticipantConnectionRequest) => any;
84
+ }
85
+
86
+ export interface ConnectionCredentials {
87
+
88
+ ConnectionToken?: string;
89
+
90
+ Expiry?: string;
91
+ }
92
+ export declare namespace ConnectionCredentials {
93
+
94
+ const filterSensitiveLog: (obj: ConnectionCredentials) => any;
95
+ }
96
+
97
+ export interface Websocket {
98
+
99
+ Url?: string;
100
+
101
+ ConnectionExpiry?: string;
102
+ }
103
+ export declare namespace Websocket {
104
+
105
+ const filterSensitiveLog: (obj: Websocket) => any;
106
+ }
107
+ export interface CreateParticipantConnectionResponse {
108
+
109
+ Websocket?: Websocket;
110
+
111
+ ConnectionCredentials?: ConnectionCredentials;
112
+ }
113
+ export declare namespace CreateParticipantConnectionResponse {
114
+
115
+ const filterSensitiveLog: (obj: CreateParticipantConnectionResponse) => any;
116
+ }
117
+ export interface DisconnectParticipantRequest {
118
+
119
+ ClientToken?: string;
120
+
121
+ ConnectionToken: string | undefined;
122
+ }
123
+ export declare namespace DisconnectParticipantRequest {
124
+
125
+ const filterSensitiveLog: (obj: DisconnectParticipantRequest) => any;
126
+ }
127
+ export interface DisconnectParticipantResponse {
128
+ }
129
+ export declare namespace DisconnectParticipantResponse {
130
+
131
+ const filterSensitiveLog: (obj: DisconnectParticipantResponse) => any;
132
+ }
133
+ export interface GetAttachmentRequest {
134
+
135
+ AttachmentId: string | undefined;
136
+
137
+ ConnectionToken: string | undefined;
138
+ }
139
+ export declare namespace GetAttachmentRequest {
140
+
141
+ const filterSensitiveLog: (obj: GetAttachmentRequest) => any;
142
+ }
143
+ export interface GetAttachmentResponse {
144
+
145
+ Url?: string;
146
+
147
+ UrlExpiry?: string;
148
+ }
149
+ export declare namespace GetAttachmentResponse {
150
+
151
+ const filterSensitiveLog: (obj: GetAttachmentResponse) => any;
152
+ }
153
+ export declare enum ScanDirection {
154
+ BACKWARD = "BACKWARD",
155
+ FORWARD = "FORWARD"
156
+ }
157
+ export declare enum SortKey {
158
+ ASCENDING = "ASCENDING",
159
+ DESCENDING = "DESCENDING"
160
+ }
161
+
162
+ export interface StartPosition {
163
+
164
+ Id?: string;
165
+
166
+ AbsoluteTime?: string;
167
+
168
+ MostRecent?: number;
169
+ }
170
+ export declare namespace StartPosition {
171
+
172
+ const filterSensitiveLog: (obj: StartPosition) => any;
173
+ }
174
+ export interface GetTranscriptRequest {
175
+
176
+ ContactId?: string;
177
+
178
+ MaxResults?: number;
179
+
180
+ NextToken?: string;
181
+
182
+ ScanDirection?: ScanDirection | string;
183
+
184
+ SortOrder?: SortKey | string;
185
+
186
+ StartPosition?: StartPosition;
187
+
188
+ ConnectionToken: string | undefined;
189
+ }
190
+ export declare namespace GetTranscriptRequest {
191
+
192
+ const filterSensitiveLog: (obj: GetTranscriptRequest) => any;
193
+ }
194
+ export declare enum ArtifactStatus {
195
+ APPROVED = "APPROVED",
196
+ IN_PROGRESS = "IN_PROGRESS",
197
+ REJECTED = "REJECTED"
198
+ }
199
+
200
+ export interface AttachmentItem {
201
+
202
+ ContentType?: string;
203
+
204
+ AttachmentId?: string;
205
+
206
+ AttachmentName?: string;
207
+
208
+ Status?: ArtifactStatus | string;
209
+ }
210
+ export declare namespace AttachmentItem {
211
+
212
+ const filterSensitiveLog: (obj: AttachmentItem) => any;
213
+ }
214
+ export declare enum ParticipantRole {
215
+ AGENT = "AGENT",
216
+ CUSTOMER = "CUSTOMER",
217
+ SYSTEM = "SYSTEM"
218
+ }
219
+ export declare enum ChatItemType {
220
+ ATTACHMENT = "ATTACHMENT",
221
+ CHAT_ENDED = "CHAT_ENDED",
222
+ CONNECTION_ACK = "CONNECTION_ACK",
223
+ EVENT = "EVENT",
224
+ MESSAGE = "MESSAGE",
225
+ PARTICIPANT_JOINED = "PARTICIPANT_JOINED",
226
+ PARTICIPANT_LEFT = "PARTICIPANT_LEFT",
227
+ TRANSFER_FAILED = "TRANSFER_FAILED",
228
+ TRANSFER_SUCCEEDED = "TRANSFER_SUCCEEDED",
229
+ TYPING = "TYPING"
230
+ }
231
+
232
+ export interface Item {
233
+
234
+ AbsoluteTime?: string;
235
+
236
+ Content?: string;
237
+
238
+ ContentType?: string;
239
+
240
+ Id?: string;
241
+
242
+ Type?: ChatItemType | string;
243
+
244
+ ParticipantId?: string;
245
+
246
+ DisplayName?: string;
247
+
248
+ ParticipantRole?: ParticipantRole | string;
249
+
250
+ Attachments?: AttachmentItem[];
251
+ }
252
+ export declare namespace Item {
253
+
254
+ const filterSensitiveLog: (obj: Item) => any;
255
+ }
256
+ export interface GetTranscriptResponse {
257
+
258
+ InitialContactId?: string;
259
+
260
+ Transcript?: Item[];
261
+
262
+ NextToken?: string;
263
+ }
264
+ export declare namespace GetTranscriptResponse {
265
+
266
+ const filterSensitiveLog: (obj: GetTranscriptResponse) => any;
267
+ }
268
+ export interface SendEventRequest {
269
+
270
+ ContentType: string | undefined;
271
+
272
+ Content?: string;
273
+
274
+ ClientToken?: string;
275
+
276
+ ConnectionToken: string | undefined;
277
+ }
278
+ export declare namespace SendEventRequest {
279
+
280
+ const filterSensitiveLog: (obj: SendEventRequest) => any;
281
+ }
282
+ export interface SendEventResponse {
283
+
284
+ Id?: string;
285
+
286
+ AbsoluteTime?: string;
287
+ }
288
+ export declare namespace SendEventResponse {
289
+
290
+ const filterSensitiveLog: (obj: SendEventResponse) => any;
291
+ }
292
+ export interface SendMessageRequest {
293
+
294
+ ContentType: string | undefined;
295
+
296
+ Content: string | undefined;
297
+
298
+ ClientToken?: string;
299
+
300
+ ConnectionToken: string | undefined;
301
+ }
302
+ export declare namespace SendMessageRequest {
303
+
304
+ const filterSensitiveLog: (obj: SendMessageRequest) => any;
305
+ }
306
+ export interface SendMessageResponse {
307
+
308
+ Id?: string;
309
+
310
+ AbsoluteTime?: string;
311
+ }
312
+ export declare namespace SendMessageResponse {
313
+
314
+ const filterSensitiveLog: (obj: SendMessageResponse) => any;
315
+ }
316
+ export interface StartAttachmentUploadRequest {
317
+
318
+ ContentType: string | undefined;
319
+
320
+ AttachmentSizeInBytes: number | undefined;
321
+
322
+ AttachmentName: string | undefined;
323
+
324
+ ClientToken?: string;
325
+
326
+ ConnectionToken: string | undefined;
327
+ }
328
+ export declare namespace StartAttachmentUploadRequest {
329
+
330
+ const filterSensitiveLog: (obj: StartAttachmentUploadRequest) => any;
331
+ }
332
+
333
+ export interface UploadMetadata {
334
+
335
+ Url?: string;
336
+
337
+ UrlExpiry?: string;
338
+
339
+ HeadersToInclude?: {
340
+ [key: string]: string;
341
+ };
342
+ }
343
+ export declare namespace UploadMetadata {
344
+
345
+ const filterSensitiveLog: (obj: UploadMetadata) => any;
346
+ }
347
+ export interface StartAttachmentUploadResponse {
348
+
349
+ AttachmentId?: string;
350
+
351
+ UploadMetadata?: UploadMetadata;
352
+ }
353
+ export declare namespace StartAttachmentUploadResponse {
354
+
355
+ const filterSensitiveLog: (obj: StartAttachmentUploadResponse) => any;
356
+ }
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { GetTranscriptCommandInput, GetTranscriptCommandOutput } from "../commands/GetTranscriptCommand";
3
+ import { ConnectParticipantPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateGetTranscript(config: ConnectParticipantPaginationConfiguration, input: GetTranscriptCommandInput, ...additionalArguments: any): Paginator<GetTranscriptCommandOutput>;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { ConnectParticipant } from "../ConnectParticipant";
3
+ import { ConnectParticipantClient } from "../ConnectParticipantClient";
4
+ export interface ConnectParticipantPaginationConfiguration extends PaginationConfiguration {
5
+ client: ConnectParticipant | ConnectParticipantClient;
6
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./GetTranscriptPaginator";
2
+ export * from "./Interfaces";
@@ -0,0 +1,26 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { CompleteAttachmentUploadCommandInput, CompleteAttachmentUploadCommandOutput } from "../commands/CompleteAttachmentUploadCommand";
4
+ import { CreateParticipantConnectionCommandInput, CreateParticipantConnectionCommandOutput } from "../commands/CreateParticipantConnectionCommand";
5
+ import { DisconnectParticipantCommandInput, DisconnectParticipantCommandOutput } from "../commands/DisconnectParticipantCommand";
6
+ import { GetAttachmentCommandInput, GetAttachmentCommandOutput } from "../commands/GetAttachmentCommand";
7
+ import { GetTranscriptCommandInput, GetTranscriptCommandOutput } from "../commands/GetTranscriptCommand";
8
+ import { SendEventCommandInput, SendEventCommandOutput } from "../commands/SendEventCommand";
9
+ import { SendMessageCommandInput, SendMessageCommandOutput } from "../commands/SendMessageCommand";
10
+ import { StartAttachmentUploadCommandInput, StartAttachmentUploadCommandOutput } from "../commands/StartAttachmentUploadCommand";
11
+ export declare const serializeAws_restJson1CompleteAttachmentUploadCommand: (input: CompleteAttachmentUploadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
12
+ export declare const serializeAws_restJson1CreateParticipantConnectionCommand: (input: CreateParticipantConnectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
13
+ export declare const serializeAws_restJson1DisconnectParticipantCommand: (input: DisconnectParticipantCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
14
+ export declare const serializeAws_restJson1GetAttachmentCommand: (input: GetAttachmentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
+ export declare const serializeAws_restJson1GetTranscriptCommand: (input: GetTranscriptCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
16
+ export declare const serializeAws_restJson1SendEventCommand: (input: SendEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
+ export declare const serializeAws_restJson1SendMessageCommand: (input: SendMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
+ export declare const serializeAws_restJson1StartAttachmentUploadCommand: (input: StartAttachmentUploadCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
+ export declare const deserializeAws_restJson1CompleteAttachmentUploadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CompleteAttachmentUploadCommandOutput>;
20
+ export declare const deserializeAws_restJson1CreateParticipantConnectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateParticipantConnectionCommandOutput>;
21
+ export declare const deserializeAws_restJson1DisconnectParticipantCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisconnectParticipantCommandOutput>;
22
+ export declare const deserializeAws_restJson1GetAttachmentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAttachmentCommandOutput>;
23
+ export declare const deserializeAws_restJson1GetTranscriptCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTranscriptCommandOutput>;
24
+ export declare const deserializeAws_restJson1SendEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendEventCommandOutput>;
25
+ export declare const deserializeAws_restJson1SendMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendMessageCommandOutput>;
26
+ export declare const deserializeAws_restJson1StartAttachmentUploadCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartAttachmentUploadCommandOutput>;
@@ -0,0 +1,38 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { ConnectParticipantClientConfig } from "./ConnectParticipantClient";
3
+
4
+ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<any>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@aws-sdk/types").Logger;
26
+ serviceId: string;
27
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ tls?: boolean | undefined;
30
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signingEscapePath?: boolean | undefined;
34
+ systemClockOffset?: number | undefined;
35
+ signingRegion?: string | undefined;
36
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
+ };
@@ -0,0 +1,38 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
+ import { ConnectParticipantClientConfig } from "./ConnectParticipantClient";
3
+
4
+ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@aws-sdk/types").Logger;
26
+ serviceId: string;
27
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ tls?: boolean | undefined;
30
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signingEscapePath?: boolean | undefined;
34
+ systemClockOffset?: number | undefined;
35
+ signingRegion?: string | undefined;
36
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
+ };
@@ -0,0 +1,37 @@
1
+ import { ConnectParticipantClientConfig } from "./ConnectParticipantClient";
2
+
3
+ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig) => {
4
+ runtime: string;
5
+ sha256: import("@aws-sdk/types").HashConstructor;
6
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
+ apiVersion: string;
8
+ urlParser: import("@aws-sdk/types").UrlParser;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ streamCollector: import("@aws-sdk/types").StreamCollector;
11
+ base64Decoder: import("@aws-sdk/types").Decoder;
12
+ base64Encoder: import("@aws-sdk/types").Encoder;
13
+ utf8Decoder: import("@aws-sdk/types").Decoder;
14
+ utf8Encoder: import("@aws-sdk/types").Encoder;
15
+ disableHostPrefix: boolean;
16
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
17
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
18
+ logger: import("@aws-sdk/types").Logger;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
+ serviceId: string;
22
+ region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
27
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ tls?: boolean | undefined;
29
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
+ signingEscapePath?: boolean | undefined;
33
+ systemClockOffset?: number | undefined;
34
+ signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
+ };
@@ -0,0 +1,11 @@
1
+ import { Logger as __Logger } from "@aws-sdk/types";
2
+ import { ConnectParticipantClientConfig } from "./ConnectParticipantClient";
3
+
4
+ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig) => {
5
+ apiVersion: string;
6
+ disableHostPrefix: boolean;
7
+ logger: __Logger;
8
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
9
+ serviceId: string;
10
+ urlParser: import("@aws-sdk/types").UrlParser;
11
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connectparticipant",
3
3
  "description": "AWS SDK for JavaScript Connectparticipant Client for Node.js, Browser and React Native",
4
- "version": "3.50.0",
4
+ "version": "3.53.0",
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:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,41 +18,41 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.50.0",
22
- "@aws-sdk/config-resolver": "3.50.0",
23
- "@aws-sdk/credential-provider-node": "3.50.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-host-header": "3.50.0",
29
- "@aws-sdk/middleware-logger": "3.50.0",
30
- "@aws-sdk/middleware-retry": "3.50.0",
31
- "@aws-sdk/middleware-serde": "3.50.0",
32
- "@aws-sdk/middleware-signing": "3.50.0",
33
- "@aws-sdk/middleware-stack": "3.50.0",
34
- "@aws-sdk/middleware-user-agent": "3.50.0",
35
- "@aws-sdk/node-config-provider": "3.50.0",
36
- "@aws-sdk/node-http-handler": "3.50.0",
37
- "@aws-sdk/protocol-http": "3.50.0",
38
- "@aws-sdk/smithy-client": "3.50.0",
39
- "@aws-sdk/types": "3.50.0",
40
- "@aws-sdk/url-parser": "3.50.0",
41
- "@aws-sdk/util-base64-browser": "3.49.0",
42
- "@aws-sdk/util-base64-node": "3.49.0",
43
- "@aws-sdk/util-body-length-browser": "3.49.0",
44
- "@aws-sdk/util-body-length-node": "3.49.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.50.0",
47
- "@aws-sdk/util-user-agent-browser": "3.50.0",
48
- "@aws-sdk/util-user-agent-node": "3.50.0",
49
- "@aws-sdk/util-utf8-browser": "3.49.0",
50
- "@aws-sdk/util-utf8-node": "3.49.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
+ "@aws-sdk/util-base64-browser": "3.52.0",
42
+ "@aws-sdk/util-base64-node": "3.52.0",
43
+ "@aws-sdk/util-body-length-browser": "3.52.0",
44
+ "@aws-sdk/util-body-length-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
+ "@aws-sdk/util-utf8-browser": "3.52.0",
50
+ "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0",
52
52
  "uuid": "^8.3.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
56
56
  "@tsconfig/recommended": "1.0.1",
57
57
  "@types/node": "^12.7.5",
58
58
  "@types/uuid": "^8.3.0",