@aws-sdk/client-connectparticipant 3.721.0 → 3.726.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.
package/dist-cjs/index.js CHANGED
@@ -153,7 +153,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
153
153
  }, "resolveRuntimeExtensions");
154
154
 
155
155
  // src/ConnectParticipantClient.ts
156
- var _ConnectParticipantClient = class _ConnectParticipantClient extends import_smithy_client.Client {
156
+ var ConnectParticipantClient = class extends import_smithy_client.Client {
157
+ static {
158
+ __name(this, "ConnectParticipantClient");
159
+ }
160
+ /**
161
+ * The resolved configuration of ConnectParticipantClient class. This is resolved and normalized from the {@link ConnectParticipantClientConfig | constructor configuration interface}.
162
+ */
163
+ config;
157
164
  constructor(...[configuration]) {
158
165
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
159
166
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -163,7 +170,7 @@ var _ConnectParticipantClient = class _ConnectParticipantClient extends import_s
163
170
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
164
171
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
165
172
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
166
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
173
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
167
174
  super(_config_8);
168
175
  this.config = _config_8;
169
176
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -192,8 +199,6 @@ var _ConnectParticipantClient = class _ConnectParticipantClient extends import_s
192
199
  super.destroy();
193
200
  }
194
201
  };
195
- __name(_ConnectParticipantClient, "ConnectParticipantClient");
196
- var ConnectParticipantClient = _ConnectParticipantClient;
197
202
 
198
203
  // src/ConnectParticipant.ts
199
204
 
@@ -211,7 +216,10 @@ var import_uuid = require("uuid");
211
216
 
212
217
  // src/models/ConnectParticipantServiceException.ts
213
218
 
214
- var _ConnectParticipantServiceException = class _ConnectParticipantServiceException extends import_smithy_client.ServiceException {
219
+ var ConnectParticipantServiceException = class _ConnectParticipantServiceException extends import_smithy_client.ServiceException {
220
+ static {
221
+ __name(this, "ConnectParticipantServiceException");
222
+ }
215
223
  /**
216
224
  * @internal
217
225
  */
@@ -220,12 +228,16 @@ var _ConnectParticipantServiceException = class _ConnectParticipantServiceExcept
220
228
  Object.setPrototypeOf(this, _ConnectParticipantServiceException.prototype);
221
229
  }
222
230
  };
223
- __name(_ConnectParticipantServiceException, "ConnectParticipantServiceException");
224
- var ConnectParticipantServiceException = _ConnectParticipantServiceException;
225
231
 
226
232
  // src/models/models_0.ts
227
233
 
228
- var _AccessDeniedException = class _AccessDeniedException extends ConnectParticipantServiceException {
234
+ var AccessDeniedException = class _AccessDeniedException extends ConnectParticipantServiceException {
235
+ static {
236
+ __name(this, "AccessDeniedException");
237
+ }
238
+ name = "AccessDeniedException";
239
+ $fault = "client";
240
+ Message;
229
241
  /**
230
242
  * @internal
231
243
  */
@@ -235,15 +247,17 @@ var _AccessDeniedException = class _AccessDeniedException extends ConnectPartici
235
247
  $fault: "client",
236
248
  ...opts
237
249
  });
238
- this.name = "AccessDeniedException";
239
- this.$fault = "client";
240
250
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
241
251
  this.Message = opts.Message;
242
252
  }
243
253
  };
244
- __name(_AccessDeniedException, "AccessDeniedException");
245
- var AccessDeniedException = _AccessDeniedException;
246
- var _InternalServerException = class _InternalServerException extends ConnectParticipantServiceException {
254
+ var InternalServerException = class _InternalServerException extends ConnectParticipantServiceException {
255
+ static {
256
+ __name(this, "InternalServerException");
257
+ }
258
+ name = "InternalServerException";
259
+ $fault = "server";
260
+ Message;
247
261
  /**
248
262
  * @internal
249
263
  */
@@ -253,15 +267,17 @@ var _InternalServerException = class _InternalServerException extends ConnectPar
253
267
  $fault: "server",
254
268
  ...opts
255
269
  });
256
- this.name = "InternalServerException";
257
- this.$fault = "server";
258
270
  Object.setPrototypeOf(this, _InternalServerException.prototype);
259
271
  this.Message = opts.Message;
260
272
  }
261
273
  };
262
- __name(_InternalServerException, "InternalServerException");
263
- var InternalServerException = _InternalServerException;
264
- var _ThrottlingException = class _ThrottlingException extends ConnectParticipantServiceException {
274
+ var ThrottlingException = class _ThrottlingException extends ConnectParticipantServiceException {
275
+ static {
276
+ __name(this, "ThrottlingException");
277
+ }
278
+ name = "ThrottlingException";
279
+ $fault = "client";
280
+ Message;
265
281
  /**
266
282
  * @internal
267
283
  */
@@ -271,15 +287,17 @@ var _ThrottlingException = class _ThrottlingException extends ConnectParticipant
271
287
  $fault: "client",
272
288
  ...opts
273
289
  });
274
- this.name = "ThrottlingException";
275
- this.$fault = "client";
276
290
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
277
291
  this.Message = opts.Message;
278
292
  }
279
293
  };
280
- __name(_ThrottlingException, "ThrottlingException");
281
- var ThrottlingException = _ThrottlingException;
282
- var _ValidationException = class _ValidationException extends ConnectParticipantServiceException {
294
+ var ValidationException = class _ValidationException extends ConnectParticipantServiceException {
295
+ static {
296
+ __name(this, "ValidationException");
297
+ }
298
+ name = "ValidationException";
299
+ $fault = "client";
300
+ Message;
283
301
  /**
284
302
  * @internal
285
303
  */
@@ -289,15 +307,17 @@ var _ValidationException = class _ValidationException extends ConnectParticipant
289
307
  $fault: "client",
290
308
  ...opts
291
309
  });
292
- this.name = "ValidationException";
293
- this.$fault = "client";
294
310
  Object.setPrototypeOf(this, _ValidationException.prototype);
295
311
  this.Message = opts.Message;
296
312
  }
297
313
  };
298
- __name(_ValidationException, "ValidationException");
299
- var ValidationException = _ValidationException;
300
- var _ConflictException = class _ConflictException extends ConnectParticipantServiceException {
314
+ var ConflictException = class _ConflictException extends ConnectParticipantServiceException {
315
+ static {
316
+ __name(this, "ConflictException");
317
+ }
318
+ name = "ConflictException";
319
+ $fault = "client";
320
+ Message;
301
321
  /**
302
322
  * @internal
303
323
  */
@@ -307,15 +327,17 @@ var _ConflictException = class _ConflictException extends ConnectParticipantServ
307
327
  $fault: "client",
308
328
  ...opts
309
329
  });
310
- this.name = "ConflictException";
311
- this.$fault = "client";
312
330
  Object.setPrototypeOf(this, _ConflictException.prototype);
313
331
  this.Message = opts.Message;
314
332
  }
315
333
  };
316
- __name(_ConflictException, "ConflictException");
317
- var ConflictException = _ConflictException;
318
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ConnectParticipantServiceException {
334
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends ConnectParticipantServiceException {
335
+ static {
336
+ __name(this, "ServiceQuotaExceededException");
337
+ }
338
+ name = "ServiceQuotaExceededException";
339
+ $fault = "client";
340
+ Message;
319
341
  /**
320
342
  * @internal
321
343
  */
@@ -325,14 +347,10 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
325
347
  $fault: "client",
326
348
  ...opts
327
349
  });
328
- this.name = "ServiceQuotaExceededException";
329
- this.$fault = "client";
330
350
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
331
351
  this.Message = opts.Message;
332
352
  }
333
353
  };
334
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
335
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
336
354
  var ConnectionType = {
337
355
  CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS",
338
356
  WEBSOCKET: "WEBSOCKET"
@@ -347,7 +365,23 @@ var ResourceType = {
347
365
  PHONE_NUMBER: "PHONE_NUMBER",
348
366
  USER: "USER"
349
367
  };
350
- var _ResourceNotFoundException = class _ResourceNotFoundException extends ConnectParticipantServiceException {
368
+ var ResourceNotFoundException = class _ResourceNotFoundException extends ConnectParticipantServiceException {
369
+ static {
370
+ __name(this, "ResourceNotFoundException");
371
+ }
372
+ name = "ResourceNotFoundException";
373
+ $fault = "client";
374
+ Message;
375
+ /**
376
+ * <p>The identifier of the resource.</p>
377
+ * @public
378
+ */
379
+ ResourceId;
380
+ /**
381
+ * <p>The type of Amazon Connect resource.</p>
382
+ * @public
383
+ */
384
+ ResourceType;
351
385
  /**
352
386
  * @internal
353
387
  */
@@ -357,16 +391,12 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Connec
357
391
  $fault: "client",
358
392
  ...opts
359
393
  });
360
- this.name = "ResourceNotFoundException";
361
- this.$fault = "client";
362
394
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
363
395
  this.Message = opts.Message;
364
396
  this.ResourceId = opts.ResourceId;
365
397
  this.ResourceType = opts.ResourceType;
366
398
  }
367
399
  };
368
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
369
- var ResourceNotFoundException = _ResourceNotFoundException;
370
400
  var ScanDirection = {
371
401
  BACKWARD: "BACKWARD",
372
402
  FORWARD: "FORWARD"
@@ -897,155 +927,166 @@ var _PT = "ParticipantToken";
897
927
  var _xab = "x-amz-bearer";
898
928
 
899
929
  // src/commands/CancelParticipantAuthenticationCommand.ts
900
- var _CancelParticipantAuthenticationCommand = class _CancelParticipantAuthenticationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
930
+ var CancelParticipantAuthenticationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
901
931
  return [
902
932
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
903
933
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
904
934
  ];
905
935
  }).s("AmazonConnectParticipantServiceLambda", "CancelParticipantAuthentication", {}).n("ConnectParticipantClient", "CancelParticipantAuthenticationCommand").f(void 0, void 0).ser(se_CancelParticipantAuthenticationCommand).de(de_CancelParticipantAuthenticationCommand).build() {
936
+ static {
937
+ __name(this, "CancelParticipantAuthenticationCommand");
938
+ }
906
939
  };
907
- __name(_CancelParticipantAuthenticationCommand, "CancelParticipantAuthenticationCommand");
908
- var CancelParticipantAuthenticationCommand = _CancelParticipantAuthenticationCommand;
909
940
 
910
941
  // src/commands/CompleteAttachmentUploadCommand.ts
911
942
 
912
943
 
913
944
 
914
- var _CompleteAttachmentUploadCommand = class _CompleteAttachmentUploadCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
945
+ var CompleteAttachmentUploadCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
915
946
  return [
916
947
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
917
948
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
918
949
  ];
919
950
  }).s("AmazonConnectParticipantServiceLambda", "CompleteAttachmentUpload", {}).n("ConnectParticipantClient", "CompleteAttachmentUploadCommand").f(void 0, void 0).ser(se_CompleteAttachmentUploadCommand).de(de_CompleteAttachmentUploadCommand).build() {
951
+ static {
952
+ __name(this, "CompleteAttachmentUploadCommand");
953
+ }
920
954
  };
921
- __name(_CompleteAttachmentUploadCommand, "CompleteAttachmentUploadCommand");
922
- var CompleteAttachmentUploadCommand = _CompleteAttachmentUploadCommand;
923
955
 
924
956
  // src/commands/CreateParticipantConnectionCommand.ts
925
957
 
926
958
 
927
959
 
928
- var _CreateParticipantConnectionCommand = class _CreateParticipantConnectionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
960
+ var CreateParticipantConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
929
961
  return [
930
962
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
931
963
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
932
964
  ];
933
965
  }).s("AmazonConnectParticipantServiceLambda", "CreateParticipantConnection", {}).n("ConnectParticipantClient", "CreateParticipantConnectionCommand").f(void 0, void 0).ser(se_CreateParticipantConnectionCommand).de(de_CreateParticipantConnectionCommand).build() {
966
+ static {
967
+ __name(this, "CreateParticipantConnectionCommand");
968
+ }
934
969
  };
935
- __name(_CreateParticipantConnectionCommand, "CreateParticipantConnectionCommand");
936
- var CreateParticipantConnectionCommand = _CreateParticipantConnectionCommand;
937
970
 
938
971
  // src/commands/DescribeViewCommand.ts
939
972
 
940
973
 
941
974
 
942
- var _DescribeViewCommand = class _DescribeViewCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
975
+ var DescribeViewCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
943
976
  return [
944
977
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
945
978
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
946
979
  ];
947
980
  }).s("AmazonConnectParticipantServiceLambda", "DescribeView", {}).n("ConnectParticipantClient", "DescribeViewCommand").f(void 0, DescribeViewResponseFilterSensitiveLog).ser(se_DescribeViewCommand).de(de_DescribeViewCommand).build() {
981
+ static {
982
+ __name(this, "DescribeViewCommand");
983
+ }
948
984
  };
949
- __name(_DescribeViewCommand, "DescribeViewCommand");
950
- var DescribeViewCommand = _DescribeViewCommand;
951
985
 
952
986
  // src/commands/DisconnectParticipantCommand.ts
953
987
 
954
988
 
955
989
 
956
- var _DisconnectParticipantCommand = class _DisconnectParticipantCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
990
+ var DisconnectParticipantCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
957
991
  return [
958
992
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
959
993
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
960
994
  ];
961
995
  }).s("AmazonConnectParticipantServiceLambda", "DisconnectParticipant", {}).n("ConnectParticipantClient", "DisconnectParticipantCommand").f(void 0, void 0).ser(se_DisconnectParticipantCommand).de(de_DisconnectParticipantCommand).build() {
996
+ static {
997
+ __name(this, "DisconnectParticipantCommand");
998
+ }
962
999
  };
963
- __name(_DisconnectParticipantCommand, "DisconnectParticipantCommand");
964
- var DisconnectParticipantCommand = _DisconnectParticipantCommand;
965
1000
 
966
1001
  // src/commands/GetAttachmentCommand.ts
967
1002
 
968
1003
 
969
1004
 
970
- var _GetAttachmentCommand = class _GetAttachmentCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1005
+ var GetAttachmentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
971
1006
  return [
972
1007
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
973
1008
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
974
1009
  ];
975
1010
  }).s("AmazonConnectParticipantServiceLambda", "GetAttachment", {}).n("ConnectParticipantClient", "GetAttachmentCommand").f(void 0, void 0).ser(se_GetAttachmentCommand).de(de_GetAttachmentCommand).build() {
1011
+ static {
1012
+ __name(this, "GetAttachmentCommand");
1013
+ }
976
1014
  };
977
- __name(_GetAttachmentCommand, "GetAttachmentCommand");
978
- var GetAttachmentCommand = _GetAttachmentCommand;
979
1015
 
980
1016
  // src/commands/GetAuthenticationUrlCommand.ts
981
1017
 
982
1018
 
983
1019
 
984
- var _GetAuthenticationUrlCommand = class _GetAuthenticationUrlCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1020
+ var GetAuthenticationUrlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
985
1021
  return [
986
1022
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
987
1023
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
988
1024
  ];
989
1025
  }).s("AmazonConnectParticipantServiceLambda", "GetAuthenticationUrl", {}).n("ConnectParticipantClient", "GetAuthenticationUrlCommand").f(void 0, void 0).ser(se_GetAuthenticationUrlCommand).de(de_GetAuthenticationUrlCommand).build() {
1026
+ static {
1027
+ __name(this, "GetAuthenticationUrlCommand");
1028
+ }
990
1029
  };
991
- __name(_GetAuthenticationUrlCommand, "GetAuthenticationUrlCommand");
992
- var GetAuthenticationUrlCommand = _GetAuthenticationUrlCommand;
993
1030
 
994
1031
  // src/commands/GetTranscriptCommand.ts
995
1032
 
996
1033
 
997
1034
 
998
- var _GetTranscriptCommand = class _GetTranscriptCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1035
+ var GetTranscriptCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
999
1036
  return [
1000
1037
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1001
1038
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1002
1039
  ];
1003
1040
  }).s("AmazonConnectParticipantServiceLambda", "GetTranscript", {}).n("ConnectParticipantClient", "GetTranscriptCommand").f(void 0, void 0).ser(se_GetTranscriptCommand).de(de_GetTranscriptCommand).build() {
1041
+ static {
1042
+ __name(this, "GetTranscriptCommand");
1043
+ }
1004
1044
  };
1005
- __name(_GetTranscriptCommand, "GetTranscriptCommand");
1006
- var GetTranscriptCommand = _GetTranscriptCommand;
1007
1045
 
1008
1046
  // src/commands/SendEventCommand.ts
1009
1047
 
1010
1048
 
1011
1049
 
1012
- var _SendEventCommand = class _SendEventCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1050
+ var SendEventCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1013
1051
  return [
1014
1052
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1015
1053
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1016
1054
  ];
1017
1055
  }).s("AmazonConnectParticipantServiceLambda", "SendEvent", {}).n("ConnectParticipantClient", "SendEventCommand").f(void 0, void 0).ser(se_SendEventCommand).de(de_SendEventCommand).build() {
1056
+ static {
1057
+ __name(this, "SendEventCommand");
1058
+ }
1018
1059
  };
1019
- __name(_SendEventCommand, "SendEventCommand");
1020
- var SendEventCommand = _SendEventCommand;
1021
1060
 
1022
1061
  // src/commands/SendMessageCommand.ts
1023
1062
 
1024
1063
 
1025
1064
 
1026
- var _SendMessageCommand = class _SendMessageCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1065
+ var SendMessageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1027
1066
  return [
1028
1067
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1029
1068
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1030
1069
  ];
1031
1070
  }).s("AmazonConnectParticipantServiceLambda", "SendMessage", {}).n("ConnectParticipantClient", "SendMessageCommand").f(void 0, void 0).ser(se_SendMessageCommand).de(de_SendMessageCommand).build() {
1071
+ static {
1072
+ __name(this, "SendMessageCommand");
1073
+ }
1032
1074
  };
1033
- __name(_SendMessageCommand, "SendMessageCommand");
1034
- var SendMessageCommand = _SendMessageCommand;
1035
1075
 
1036
1076
  // src/commands/StartAttachmentUploadCommand.ts
1037
1077
 
1038
1078
 
1039
1079
 
1040
- var _StartAttachmentUploadCommand = class _StartAttachmentUploadCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1080
+ var StartAttachmentUploadCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1041
1081
  return [
1042
1082
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1043
1083
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1044
1084
  ];
1045
1085
  }).s("AmazonConnectParticipantServiceLambda", "StartAttachmentUpload", {}).n("ConnectParticipantClient", "StartAttachmentUploadCommand").f(void 0, void 0).ser(se_StartAttachmentUploadCommand).de(de_StartAttachmentUploadCommand).build() {
1086
+ static {
1087
+ __name(this, "StartAttachmentUploadCommand");
1088
+ }
1046
1089
  };
1047
- __name(_StartAttachmentUploadCommand, "StartAttachmentUploadCommand");
1048
- var StartAttachmentUploadCommand = _StartAttachmentUploadCommand;
1049
1090
 
1050
1091
  // src/ConnectParticipant.ts
1051
1092
  var commands = {
@@ -1061,10 +1102,11 @@ var commands = {
1061
1102
  SendMessageCommand,
1062
1103
  StartAttachmentUploadCommand
1063
1104
  };
1064
- var _ConnectParticipant = class _ConnectParticipant extends ConnectParticipantClient {
1105
+ var ConnectParticipant = class extends ConnectParticipantClient {
1106
+ static {
1107
+ __name(this, "ConnectParticipant");
1108
+ }
1065
1109
  };
1066
- __name(_ConnectParticipant, "ConnectParticipant");
1067
- var ConnectParticipant = _ConnectParticipant;
1068
1110
  (0, import_smithy_client.createAggregatedClient)(commands, ConnectParticipant);
1069
1111
 
1070
1112
  // src/pagination/GetTranscriptPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class ConnectParticipantClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,79 +1,85 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ConnectParticipantServiceException as __BaseException } from "./ConnectParticipantServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
6
+ Message;
4
7
  constructor(opts) {
5
8
  super({
6
9
  name: "AccessDeniedException",
7
10
  $fault: "client",
8
11
  ...opts,
9
12
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
13
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
14
  this.Message = opts.Message;
14
15
  }
15
16
  }
16
17
  export class InternalServerException extends __BaseException {
18
+ name = "InternalServerException";
19
+ $fault = "server";
20
+ Message;
17
21
  constructor(opts) {
18
22
  super({
19
23
  name: "InternalServerException",
20
24
  $fault: "server",
21
25
  ...opts,
22
26
  });
23
- this.name = "InternalServerException";
24
- this.$fault = "server";
25
27
  Object.setPrototypeOf(this, InternalServerException.prototype);
26
28
  this.Message = opts.Message;
27
29
  }
28
30
  }
29
31
  export class ThrottlingException extends __BaseException {
32
+ name = "ThrottlingException";
33
+ $fault = "client";
34
+ Message;
30
35
  constructor(opts) {
31
36
  super({
32
37
  name: "ThrottlingException",
33
38
  $fault: "client",
34
39
  ...opts,
35
40
  });
36
- this.name = "ThrottlingException";
37
- this.$fault = "client";
38
41
  Object.setPrototypeOf(this, ThrottlingException.prototype);
39
42
  this.Message = opts.Message;
40
43
  }
41
44
  }
42
45
  export class ValidationException extends __BaseException {
46
+ name = "ValidationException";
47
+ $fault = "client";
48
+ Message;
43
49
  constructor(opts) {
44
50
  super({
45
51
  name: "ValidationException",
46
52
  $fault: "client",
47
53
  ...opts,
48
54
  });
49
- this.name = "ValidationException";
50
- this.$fault = "client";
51
55
  Object.setPrototypeOf(this, ValidationException.prototype);
52
56
  this.Message = opts.Message;
53
57
  }
54
58
  }
55
59
  export class ConflictException extends __BaseException {
60
+ name = "ConflictException";
61
+ $fault = "client";
62
+ Message;
56
63
  constructor(opts) {
57
64
  super({
58
65
  name: "ConflictException",
59
66
  $fault: "client",
60
67
  ...opts,
61
68
  });
62
- this.name = "ConflictException";
63
- this.$fault = "client";
64
69
  Object.setPrototypeOf(this, ConflictException.prototype);
65
70
  this.Message = opts.Message;
66
71
  }
67
72
  }
68
73
  export class ServiceQuotaExceededException extends __BaseException {
74
+ name = "ServiceQuotaExceededException";
75
+ $fault = "client";
76
+ Message;
69
77
  constructor(opts) {
70
78
  super({
71
79
  name: "ServiceQuotaExceededException",
72
80
  $fault: "client",
73
81
  ...opts,
74
82
  });
75
- this.name = "ServiceQuotaExceededException";
76
- this.$fault = "client";
77
83
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
78
84
  this.Message = opts.Message;
79
85
  }
@@ -93,14 +99,17 @@ export const ResourceType = {
93
99
  USER: "USER",
94
100
  };
95
101
  export class ResourceNotFoundException extends __BaseException {
102
+ name = "ResourceNotFoundException";
103
+ $fault = "client";
104
+ Message;
105
+ ResourceId;
106
+ ResourceType;
96
107
  constructor(opts) {
97
108
  super({
98
109
  name: "ResourceNotFoundException",
99
110
  $fault: "client",
100
111
  ...opts,
101
112
  });
102
- this.name = "ResourceNotFoundException";
103
- this.$fault = "client";
104
113
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
105
114
  this.Message = opts.Message;
106
115
  this.ResourceId = opts.ResourceId;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig)
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig)
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig)
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: ConnectParticipantClientConfig)
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
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.721.0",
4
+ "version": "3.726.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-connectparticipant",
@@ -20,58 +20,58 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.721.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.726.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },
65
65
  "devDependencies": {
66
- "@tsconfig/node16": "16.1.3",
67
- "@types/node": "^16.18.96",
66
+ "@tsconfig/node18": "18.2.4",
67
+ "@types/node": "^18.19.69",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
70
  "rimraf": "3.0.2",
71
- "typescript": "~4.9.5"
71
+ "typescript": "~5.2.2"
72
72
  },
73
73
  "engines": {
74
- "node": ">=16.0.0"
74
+ "node": ">=18.0.0"
75
75
  },
76
76
  "typesVersions": {
77
77
  "<4.0": {