@aws-sdk/client-chime-sdk-voice 3.934.0 → 3.935.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 +147 -146
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +146 -0
- package/dist-es/models/errors.js +193 -0
- package/dist-es/models/models_0.js +1 -339
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +338 -0
- package/dist-types/models/errors.d.ts +171 -0
- package/dist-types/models/models_0.d.ts +1 -508
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +188 -0
- package/dist-types/ts3.4/models/errors.d.ts +103 -0
- package/dist-types/ts3.4/models/models_0.d.ts +26 -290
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,24 +117,6 @@ let ChimeSDKVoiceServiceException$1 = class ChimeSDKVoiceServiceException extend
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const ErrorCode = {
|
|
121
|
-
AccessDenied: "AccessDenied",
|
|
122
|
-
BadRequest: "BadRequest",
|
|
123
|
-
Conflict: "Conflict",
|
|
124
|
-
Forbidden: "Forbidden",
|
|
125
|
-
Gone: "Gone",
|
|
126
|
-
NotFound: "NotFound",
|
|
127
|
-
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
128
|
-
PreconditionFailed: "PreconditionFailed",
|
|
129
|
-
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
130
|
-
ServiceFailure: "ServiceFailure",
|
|
131
|
-
ServiceUnavailable: "ServiceUnavailable",
|
|
132
|
-
Throttled: "Throttled",
|
|
133
|
-
Throttling: "Throttling",
|
|
134
|
-
Unauthorized: "Unauthorized",
|
|
135
|
-
Unprocessable: "Unprocessable",
|
|
136
|
-
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
137
|
-
};
|
|
138
120
|
let AccessDeniedException$1 = class AccessDeniedException extends ChimeSDKVoiceServiceException$1 {
|
|
139
121
|
name = "AccessDeniedException";
|
|
140
122
|
$fault = "client";
|
|
@@ -151,10 +133,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends ChimeSDKVoiceS
|
|
|
151
133
|
this.Message = opts.Message;
|
|
152
134
|
}
|
|
153
135
|
};
|
|
154
|
-
const AlexaSkillStatus = {
|
|
155
|
-
ACTIVE: "ACTIVE",
|
|
156
|
-
INACTIVE: "INACTIVE",
|
|
157
|
-
};
|
|
158
136
|
let BadRequestException$1 = class BadRequestException extends ChimeSDKVoiceServiceException$1 {
|
|
159
137
|
name = "BadRequestException";
|
|
160
138
|
$fault = "client";
|
|
@@ -267,46 +245,6 @@ let UnauthorizedClientException$1 = class UnauthorizedClientException extends Ch
|
|
|
267
245
|
this.Message = opts.Message;
|
|
268
246
|
}
|
|
269
247
|
};
|
|
270
|
-
const PhoneNumberProductType = {
|
|
271
|
-
SipMediaApplicationDialIn: "SipMediaApplicationDialIn",
|
|
272
|
-
VoiceConnector: "VoiceConnector",
|
|
273
|
-
};
|
|
274
|
-
const CallingNameStatus = {
|
|
275
|
-
Unassigned: "Unassigned",
|
|
276
|
-
UpdateFailed: "UpdateFailed",
|
|
277
|
-
UpdateInProgress: "UpdateInProgress",
|
|
278
|
-
UpdateSucceeded: "UpdateSucceeded",
|
|
279
|
-
};
|
|
280
|
-
const CallLegType = {
|
|
281
|
-
CALLEE: "Callee",
|
|
282
|
-
CALLER: "Caller",
|
|
283
|
-
};
|
|
284
|
-
const Capability = {
|
|
285
|
-
SMS: "SMS",
|
|
286
|
-
Voice: "Voice",
|
|
287
|
-
};
|
|
288
|
-
const OrderedPhoneNumberStatus = {
|
|
289
|
-
Acquired: "Acquired",
|
|
290
|
-
Failed: "Failed",
|
|
291
|
-
Processing: "Processing",
|
|
292
|
-
};
|
|
293
|
-
const PhoneNumberOrderType = {
|
|
294
|
-
New: "New",
|
|
295
|
-
Porting: "Porting",
|
|
296
|
-
};
|
|
297
|
-
const PhoneNumberOrderStatus = {
|
|
298
|
-
CancelRequested: "CancelRequested",
|
|
299
|
-
Cancelled: "Cancelled",
|
|
300
|
-
ChangeRequested: "ChangeRequested",
|
|
301
|
-
Exception: "Exception",
|
|
302
|
-
FOC: "FOC",
|
|
303
|
-
Failed: "Failed",
|
|
304
|
-
Partial: "Partial",
|
|
305
|
-
PendingDocuments: "PendingDocuments",
|
|
306
|
-
Processing: "Processing",
|
|
307
|
-
Submitted: "Submitted",
|
|
308
|
-
Successful: "Successful",
|
|
309
|
-
};
|
|
310
248
|
let ResourceLimitExceededException$1 = class ResourceLimitExceededException extends ChimeSDKVoiceServiceException$1 {
|
|
311
249
|
name = "ResourceLimitExceededException";
|
|
312
250
|
$fault = "client";
|
|
@@ -323,19 +261,6 @@ let ResourceLimitExceededException$1 = class ResourceLimitExceededException exte
|
|
|
323
261
|
this.Message = opts.Message;
|
|
324
262
|
}
|
|
325
263
|
};
|
|
326
|
-
const GeoMatchLevel = {
|
|
327
|
-
AreaCode: "AreaCode",
|
|
328
|
-
Country: "Country",
|
|
329
|
-
};
|
|
330
|
-
const NumberSelectionBehavior = {
|
|
331
|
-
AvoidSticky: "AvoidSticky",
|
|
332
|
-
PreferSticky: "PreferSticky",
|
|
333
|
-
};
|
|
334
|
-
const ProxySessionStatus = {
|
|
335
|
-
Closed: "Closed",
|
|
336
|
-
InProgress: "InProgress",
|
|
337
|
-
Open: "Open",
|
|
338
|
-
};
|
|
339
264
|
let ConflictException$1 = class ConflictException extends ChimeSDKVoiceServiceException$1 {
|
|
340
265
|
name = "ConflictException";
|
|
341
266
|
$fault = "client";
|
|
@@ -352,30 +277,6 @@ let ConflictException$1 = class ConflictException extends ChimeSDKVoiceServiceEx
|
|
|
352
277
|
this.Message = opts.Message;
|
|
353
278
|
}
|
|
354
279
|
};
|
|
355
|
-
const SipRuleTriggerType = {
|
|
356
|
-
RequestUriHostname: "RequestUriHostname",
|
|
357
|
-
ToPhoneNumber: "ToPhoneNumber",
|
|
358
|
-
};
|
|
359
|
-
const VoiceConnectorAwsRegion = {
|
|
360
|
-
AP_NORTHEAST_1: "ap-northeast-1",
|
|
361
|
-
AP_NORTHEAST_2: "ap-northeast-2",
|
|
362
|
-
AP_SOUTHEAST_1: "ap-southeast-1",
|
|
363
|
-
AP_SOUTHEAST_2: "ap-southeast-2",
|
|
364
|
-
CA_CENTRAL_1: "ca-central-1",
|
|
365
|
-
EU_CENTRAL_1: "eu-central-1",
|
|
366
|
-
EU_WEST_1: "eu-west-1",
|
|
367
|
-
EU_WEST_2: "eu-west-2",
|
|
368
|
-
US_EAST_1: "us-east-1",
|
|
369
|
-
US_WEST_2: "us-west-2",
|
|
370
|
-
};
|
|
371
|
-
const VoiceConnectorIntegrationType = {
|
|
372
|
-
CONNECT_ANALYTICS_CONNECTOR: "CONNECT_ANALYTICS_CONNECTOR",
|
|
373
|
-
CONNECT_CALL_TRANSFER_CONNECTOR: "CONNECT_CALL_TRANSFER_CONNECTOR",
|
|
374
|
-
};
|
|
375
|
-
const NetworkType = {
|
|
376
|
-
DUAL_STACK: "DUAL_STACK",
|
|
377
|
-
IPV4_ONLY: "IPV4_ONLY",
|
|
378
|
-
};
|
|
379
280
|
let GoneException$1 = class GoneException extends ChimeSDKVoiceServiceException$1 {
|
|
380
281
|
name = "GoneException";
|
|
381
282
|
$fault = "client";
|
|
@@ -392,50 +293,6 @@ let GoneException$1 = class GoneException extends ChimeSDKVoiceServiceException$
|
|
|
392
293
|
this.Message = opts.Message;
|
|
393
294
|
}
|
|
394
295
|
};
|
|
395
|
-
const PhoneNumberAssociationName = {
|
|
396
|
-
SipRuleId: "SipRuleId",
|
|
397
|
-
VoiceConnectorGroupId: "VoiceConnectorGroupId",
|
|
398
|
-
VoiceConnectorId: "VoiceConnectorId",
|
|
399
|
-
};
|
|
400
|
-
const PhoneNumberStatus = {
|
|
401
|
-
AcquireFailed: "AcquireFailed",
|
|
402
|
-
AcquireInProgress: "AcquireInProgress",
|
|
403
|
-
Assigned: "Assigned",
|
|
404
|
-
Cancelled: "Cancelled",
|
|
405
|
-
DeleteFailed: "DeleteFailed",
|
|
406
|
-
DeleteInProgress: "DeleteInProgress",
|
|
407
|
-
PortinCancelRequested: "PortinCancelRequested",
|
|
408
|
-
PortinInProgress: "PortinInProgress",
|
|
409
|
-
ReleaseFailed: "ReleaseFailed",
|
|
410
|
-
ReleaseInProgress: "ReleaseInProgress",
|
|
411
|
-
Unassigned: "Unassigned",
|
|
412
|
-
};
|
|
413
|
-
const PhoneNumberType = {
|
|
414
|
-
Local: "Local",
|
|
415
|
-
TollFree: "TollFree",
|
|
416
|
-
};
|
|
417
|
-
const ContactCenterSystemType = {
|
|
418
|
-
AVAYA_AURA_CALL_CENTER_ELITE: "AVAYA_AURA_CALL_CENTER_ELITE",
|
|
419
|
-
AVAYA_AURA_CONTACT_CENTER: "AVAYA_AURA_CONTACT_CENTER",
|
|
420
|
-
CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE: "CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE",
|
|
421
|
-
GENESYS_ENGAGE_ON_PREMISES: "GENESYS_ENGAGE_ON_PREMISES",
|
|
422
|
-
};
|
|
423
|
-
const SessionBorderControllerType = {
|
|
424
|
-
AUDIOCODES_MEDIANT_SBC: "AUDIOCODES_MEDIANT_SBC",
|
|
425
|
-
AVAYA_SBCE: "AVAYA_SBCE",
|
|
426
|
-
CISCO_UNIFIED_BORDER_ELEMENT: "CISCO_UNIFIED_BORDER_ELEMENT",
|
|
427
|
-
ORACLE_ACME_PACKET_SBC: "ORACLE_ACME_PACKET_SBC",
|
|
428
|
-
RIBBON_SBC: "RIBBON_SBC",
|
|
429
|
-
};
|
|
430
|
-
const OriginationRouteProtocol = {
|
|
431
|
-
TCP: "TCP",
|
|
432
|
-
UDP: "UDP",
|
|
433
|
-
};
|
|
434
|
-
const NotificationTarget = {
|
|
435
|
-
EventBridge: "EventBridge",
|
|
436
|
-
SNS: "SNS",
|
|
437
|
-
SQS: "SQS",
|
|
438
|
-
};
|
|
439
296
|
let UnprocessableEntityException$1 = class UnprocessableEntityException extends ChimeSDKVoiceServiceException$1 {
|
|
440
297
|
name = "UnprocessableEntityException";
|
|
441
298
|
$fault = "client";
|
|
@@ -452,9 +309,6 @@ let UnprocessableEntityException$1 = class UnprocessableEntityException extends
|
|
|
452
309
|
this.Message = opts.Message;
|
|
453
310
|
}
|
|
454
311
|
};
|
|
455
|
-
const LanguageCode = {
|
|
456
|
-
EN_US: "en-US",
|
|
457
|
-
};
|
|
458
312
|
|
|
459
313
|
const _A = "Arn";
|
|
460
314
|
const _AAI = "AwsAccountId";
|
|
@@ -5071,6 +4925,153 @@ const paginateListVoiceProfiles = core.createPaginator(ChimeSDKVoiceClient, List
|
|
|
5071
4925
|
|
|
5072
4926
|
const paginateSearchAvailablePhoneNumbers = core.createPaginator(ChimeSDKVoiceClient, SearchAvailablePhoneNumbersCommand, "NextToken", "NextToken", "MaxResults");
|
|
5073
4927
|
|
|
4928
|
+
const ErrorCode = {
|
|
4929
|
+
AccessDenied: "AccessDenied",
|
|
4930
|
+
BadRequest: "BadRequest",
|
|
4931
|
+
Conflict: "Conflict",
|
|
4932
|
+
Forbidden: "Forbidden",
|
|
4933
|
+
Gone: "Gone",
|
|
4934
|
+
NotFound: "NotFound",
|
|
4935
|
+
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
4936
|
+
PreconditionFailed: "PreconditionFailed",
|
|
4937
|
+
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
4938
|
+
ServiceFailure: "ServiceFailure",
|
|
4939
|
+
ServiceUnavailable: "ServiceUnavailable",
|
|
4940
|
+
Throttled: "Throttled",
|
|
4941
|
+
Throttling: "Throttling",
|
|
4942
|
+
Unauthorized: "Unauthorized",
|
|
4943
|
+
Unprocessable: "Unprocessable",
|
|
4944
|
+
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
4945
|
+
};
|
|
4946
|
+
const AlexaSkillStatus = {
|
|
4947
|
+
ACTIVE: "ACTIVE",
|
|
4948
|
+
INACTIVE: "INACTIVE",
|
|
4949
|
+
};
|
|
4950
|
+
const PhoneNumberProductType = {
|
|
4951
|
+
SipMediaApplicationDialIn: "SipMediaApplicationDialIn",
|
|
4952
|
+
VoiceConnector: "VoiceConnector",
|
|
4953
|
+
};
|
|
4954
|
+
const CallingNameStatus = {
|
|
4955
|
+
Unassigned: "Unassigned",
|
|
4956
|
+
UpdateFailed: "UpdateFailed",
|
|
4957
|
+
UpdateInProgress: "UpdateInProgress",
|
|
4958
|
+
UpdateSucceeded: "UpdateSucceeded",
|
|
4959
|
+
};
|
|
4960
|
+
const CallLegType = {
|
|
4961
|
+
CALLEE: "Callee",
|
|
4962
|
+
CALLER: "Caller",
|
|
4963
|
+
};
|
|
4964
|
+
const Capability = {
|
|
4965
|
+
SMS: "SMS",
|
|
4966
|
+
Voice: "Voice",
|
|
4967
|
+
};
|
|
4968
|
+
const OrderedPhoneNumberStatus = {
|
|
4969
|
+
Acquired: "Acquired",
|
|
4970
|
+
Failed: "Failed",
|
|
4971
|
+
Processing: "Processing",
|
|
4972
|
+
};
|
|
4973
|
+
const PhoneNumberOrderType = {
|
|
4974
|
+
New: "New",
|
|
4975
|
+
Porting: "Porting",
|
|
4976
|
+
};
|
|
4977
|
+
const PhoneNumberOrderStatus = {
|
|
4978
|
+
CancelRequested: "CancelRequested",
|
|
4979
|
+
Cancelled: "Cancelled",
|
|
4980
|
+
ChangeRequested: "ChangeRequested",
|
|
4981
|
+
Exception: "Exception",
|
|
4982
|
+
FOC: "FOC",
|
|
4983
|
+
Failed: "Failed",
|
|
4984
|
+
Partial: "Partial",
|
|
4985
|
+
PendingDocuments: "PendingDocuments",
|
|
4986
|
+
Processing: "Processing",
|
|
4987
|
+
Submitted: "Submitted",
|
|
4988
|
+
Successful: "Successful",
|
|
4989
|
+
};
|
|
4990
|
+
const GeoMatchLevel = {
|
|
4991
|
+
AreaCode: "AreaCode",
|
|
4992
|
+
Country: "Country",
|
|
4993
|
+
};
|
|
4994
|
+
const NumberSelectionBehavior = {
|
|
4995
|
+
AvoidSticky: "AvoidSticky",
|
|
4996
|
+
PreferSticky: "PreferSticky",
|
|
4997
|
+
};
|
|
4998
|
+
const ProxySessionStatus = {
|
|
4999
|
+
Closed: "Closed",
|
|
5000
|
+
InProgress: "InProgress",
|
|
5001
|
+
Open: "Open",
|
|
5002
|
+
};
|
|
5003
|
+
const SipRuleTriggerType = {
|
|
5004
|
+
RequestUriHostname: "RequestUriHostname",
|
|
5005
|
+
ToPhoneNumber: "ToPhoneNumber",
|
|
5006
|
+
};
|
|
5007
|
+
const VoiceConnectorAwsRegion = {
|
|
5008
|
+
AP_NORTHEAST_1: "ap-northeast-1",
|
|
5009
|
+
AP_NORTHEAST_2: "ap-northeast-2",
|
|
5010
|
+
AP_SOUTHEAST_1: "ap-southeast-1",
|
|
5011
|
+
AP_SOUTHEAST_2: "ap-southeast-2",
|
|
5012
|
+
CA_CENTRAL_1: "ca-central-1",
|
|
5013
|
+
EU_CENTRAL_1: "eu-central-1",
|
|
5014
|
+
EU_WEST_1: "eu-west-1",
|
|
5015
|
+
EU_WEST_2: "eu-west-2",
|
|
5016
|
+
US_EAST_1: "us-east-1",
|
|
5017
|
+
US_WEST_2: "us-west-2",
|
|
5018
|
+
};
|
|
5019
|
+
const VoiceConnectorIntegrationType = {
|
|
5020
|
+
CONNECT_ANALYTICS_CONNECTOR: "CONNECT_ANALYTICS_CONNECTOR",
|
|
5021
|
+
CONNECT_CALL_TRANSFER_CONNECTOR: "CONNECT_CALL_TRANSFER_CONNECTOR",
|
|
5022
|
+
};
|
|
5023
|
+
const NetworkType = {
|
|
5024
|
+
DUAL_STACK: "DUAL_STACK",
|
|
5025
|
+
IPV4_ONLY: "IPV4_ONLY",
|
|
5026
|
+
};
|
|
5027
|
+
const PhoneNumberAssociationName = {
|
|
5028
|
+
SipRuleId: "SipRuleId",
|
|
5029
|
+
VoiceConnectorGroupId: "VoiceConnectorGroupId",
|
|
5030
|
+
VoiceConnectorId: "VoiceConnectorId",
|
|
5031
|
+
};
|
|
5032
|
+
const PhoneNumberStatus = {
|
|
5033
|
+
AcquireFailed: "AcquireFailed",
|
|
5034
|
+
AcquireInProgress: "AcquireInProgress",
|
|
5035
|
+
Assigned: "Assigned",
|
|
5036
|
+
Cancelled: "Cancelled",
|
|
5037
|
+
DeleteFailed: "DeleteFailed",
|
|
5038
|
+
DeleteInProgress: "DeleteInProgress",
|
|
5039
|
+
PortinCancelRequested: "PortinCancelRequested",
|
|
5040
|
+
PortinInProgress: "PortinInProgress",
|
|
5041
|
+
ReleaseFailed: "ReleaseFailed",
|
|
5042
|
+
ReleaseInProgress: "ReleaseInProgress",
|
|
5043
|
+
Unassigned: "Unassigned",
|
|
5044
|
+
};
|
|
5045
|
+
const PhoneNumberType = {
|
|
5046
|
+
Local: "Local",
|
|
5047
|
+
TollFree: "TollFree",
|
|
5048
|
+
};
|
|
5049
|
+
const ContactCenterSystemType = {
|
|
5050
|
+
AVAYA_AURA_CALL_CENTER_ELITE: "AVAYA_AURA_CALL_CENTER_ELITE",
|
|
5051
|
+
AVAYA_AURA_CONTACT_CENTER: "AVAYA_AURA_CONTACT_CENTER",
|
|
5052
|
+
CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE: "CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE",
|
|
5053
|
+
GENESYS_ENGAGE_ON_PREMISES: "GENESYS_ENGAGE_ON_PREMISES",
|
|
5054
|
+
};
|
|
5055
|
+
const SessionBorderControllerType = {
|
|
5056
|
+
AUDIOCODES_MEDIANT_SBC: "AUDIOCODES_MEDIANT_SBC",
|
|
5057
|
+
AVAYA_SBCE: "AVAYA_SBCE",
|
|
5058
|
+
CISCO_UNIFIED_BORDER_ELEMENT: "CISCO_UNIFIED_BORDER_ELEMENT",
|
|
5059
|
+
ORACLE_ACME_PACKET_SBC: "ORACLE_ACME_PACKET_SBC",
|
|
5060
|
+
RIBBON_SBC: "RIBBON_SBC",
|
|
5061
|
+
};
|
|
5062
|
+
const OriginationRouteProtocol = {
|
|
5063
|
+
TCP: "TCP",
|
|
5064
|
+
UDP: "UDP",
|
|
5065
|
+
};
|
|
5066
|
+
const NotificationTarget = {
|
|
5067
|
+
EventBridge: "EventBridge",
|
|
5068
|
+
SNS: "SNS",
|
|
5069
|
+
SQS: "SQS",
|
|
5070
|
+
};
|
|
5071
|
+
const LanguageCode = {
|
|
5072
|
+
EN_US: "en-US",
|
|
5073
|
+
};
|
|
5074
|
+
|
|
5074
5075
|
Object.defineProperty(exports, "$Command", {
|
|
5075
5076
|
enumerable: true,
|
|
5076
5077
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./ChimeSDKVoiceClient";
|
|
|
2
2
|
export * from "./ChimeSDKVoice";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { ChimeSDKVoiceServiceException } from "./models/ChimeSDKVoiceServiceException";
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
export const ErrorCode = {
|
|
2
|
+
AccessDenied: "AccessDenied",
|
|
3
|
+
BadRequest: "BadRequest",
|
|
4
|
+
Conflict: "Conflict",
|
|
5
|
+
Forbidden: "Forbidden",
|
|
6
|
+
Gone: "Gone",
|
|
7
|
+
NotFound: "NotFound",
|
|
8
|
+
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
9
|
+
PreconditionFailed: "PreconditionFailed",
|
|
10
|
+
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
11
|
+
ServiceFailure: "ServiceFailure",
|
|
12
|
+
ServiceUnavailable: "ServiceUnavailable",
|
|
13
|
+
Throttled: "Throttled",
|
|
14
|
+
Throttling: "Throttling",
|
|
15
|
+
Unauthorized: "Unauthorized",
|
|
16
|
+
Unprocessable: "Unprocessable",
|
|
17
|
+
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist",
|
|
18
|
+
};
|
|
19
|
+
export const AlexaSkillStatus = {
|
|
20
|
+
ACTIVE: "ACTIVE",
|
|
21
|
+
INACTIVE: "INACTIVE",
|
|
22
|
+
};
|
|
23
|
+
export const PhoneNumberProductType = {
|
|
24
|
+
SipMediaApplicationDialIn: "SipMediaApplicationDialIn",
|
|
25
|
+
VoiceConnector: "VoiceConnector",
|
|
26
|
+
};
|
|
27
|
+
export const CallingNameStatus = {
|
|
28
|
+
Unassigned: "Unassigned",
|
|
29
|
+
UpdateFailed: "UpdateFailed",
|
|
30
|
+
UpdateInProgress: "UpdateInProgress",
|
|
31
|
+
UpdateSucceeded: "UpdateSucceeded",
|
|
32
|
+
};
|
|
33
|
+
export const CallLegType = {
|
|
34
|
+
CALLEE: "Callee",
|
|
35
|
+
CALLER: "Caller",
|
|
36
|
+
};
|
|
37
|
+
export const Capability = {
|
|
38
|
+
SMS: "SMS",
|
|
39
|
+
Voice: "Voice",
|
|
40
|
+
};
|
|
41
|
+
export const OrderedPhoneNumberStatus = {
|
|
42
|
+
Acquired: "Acquired",
|
|
43
|
+
Failed: "Failed",
|
|
44
|
+
Processing: "Processing",
|
|
45
|
+
};
|
|
46
|
+
export const PhoneNumberOrderType = {
|
|
47
|
+
New: "New",
|
|
48
|
+
Porting: "Porting",
|
|
49
|
+
};
|
|
50
|
+
export const PhoneNumberOrderStatus = {
|
|
51
|
+
CancelRequested: "CancelRequested",
|
|
52
|
+
Cancelled: "Cancelled",
|
|
53
|
+
ChangeRequested: "ChangeRequested",
|
|
54
|
+
Exception: "Exception",
|
|
55
|
+
FOC: "FOC",
|
|
56
|
+
Failed: "Failed",
|
|
57
|
+
Partial: "Partial",
|
|
58
|
+
PendingDocuments: "PendingDocuments",
|
|
59
|
+
Processing: "Processing",
|
|
60
|
+
Submitted: "Submitted",
|
|
61
|
+
Successful: "Successful",
|
|
62
|
+
};
|
|
63
|
+
export const GeoMatchLevel = {
|
|
64
|
+
AreaCode: "AreaCode",
|
|
65
|
+
Country: "Country",
|
|
66
|
+
};
|
|
67
|
+
export const NumberSelectionBehavior = {
|
|
68
|
+
AvoidSticky: "AvoidSticky",
|
|
69
|
+
PreferSticky: "PreferSticky",
|
|
70
|
+
};
|
|
71
|
+
export const ProxySessionStatus = {
|
|
72
|
+
Closed: "Closed",
|
|
73
|
+
InProgress: "InProgress",
|
|
74
|
+
Open: "Open",
|
|
75
|
+
};
|
|
76
|
+
export const SipRuleTriggerType = {
|
|
77
|
+
RequestUriHostname: "RequestUriHostname",
|
|
78
|
+
ToPhoneNumber: "ToPhoneNumber",
|
|
79
|
+
};
|
|
80
|
+
export const VoiceConnectorAwsRegion = {
|
|
81
|
+
AP_NORTHEAST_1: "ap-northeast-1",
|
|
82
|
+
AP_NORTHEAST_2: "ap-northeast-2",
|
|
83
|
+
AP_SOUTHEAST_1: "ap-southeast-1",
|
|
84
|
+
AP_SOUTHEAST_2: "ap-southeast-2",
|
|
85
|
+
CA_CENTRAL_1: "ca-central-1",
|
|
86
|
+
EU_CENTRAL_1: "eu-central-1",
|
|
87
|
+
EU_WEST_1: "eu-west-1",
|
|
88
|
+
EU_WEST_2: "eu-west-2",
|
|
89
|
+
US_EAST_1: "us-east-1",
|
|
90
|
+
US_WEST_2: "us-west-2",
|
|
91
|
+
};
|
|
92
|
+
export const VoiceConnectorIntegrationType = {
|
|
93
|
+
CONNECT_ANALYTICS_CONNECTOR: "CONNECT_ANALYTICS_CONNECTOR",
|
|
94
|
+
CONNECT_CALL_TRANSFER_CONNECTOR: "CONNECT_CALL_TRANSFER_CONNECTOR",
|
|
95
|
+
};
|
|
96
|
+
export const NetworkType = {
|
|
97
|
+
DUAL_STACK: "DUAL_STACK",
|
|
98
|
+
IPV4_ONLY: "IPV4_ONLY",
|
|
99
|
+
};
|
|
100
|
+
export const PhoneNumberAssociationName = {
|
|
101
|
+
SipRuleId: "SipRuleId",
|
|
102
|
+
VoiceConnectorGroupId: "VoiceConnectorGroupId",
|
|
103
|
+
VoiceConnectorId: "VoiceConnectorId",
|
|
104
|
+
};
|
|
105
|
+
export const PhoneNumberStatus = {
|
|
106
|
+
AcquireFailed: "AcquireFailed",
|
|
107
|
+
AcquireInProgress: "AcquireInProgress",
|
|
108
|
+
Assigned: "Assigned",
|
|
109
|
+
Cancelled: "Cancelled",
|
|
110
|
+
DeleteFailed: "DeleteFailed",
|
|
111
|
+
DeleteInProgress: "DeleteInProgress",
|
|
112
|
+
PortinCancelRequested: "PortinCancelRequested",
|
|
113
|
+
PortinInProgress: "PortinInProgress",
|
|
114
|
+
ReleaseFailed: "ReleaseFailed",
|
|
115
|
+
ReleaseInProgress: "ReleaseInProgress",
|
|
116
|
+
Unassigned: "Unassigned",
|
|
117
|
+
};
|
|
118
|
+
export const PhoneNumberType = {
|
|
119
|
+
Local: "Local",
|
|
120
|
+
TollFree: "TollFree",
|
|
121
|
+
};
|
|
122
|
+
export const ContactCenterSystemType = {
|
|
123
|
+
AVAYA_AURA_CALL_CENTER_ELITE: "AVAYA_AURA_CALL_CENTER_ELITE",
|
|
124
|
+
AVAYA_AURA_CONTACT_CENTER: "AVAYA_AURA_CONTACT_CENTER",
|
|
125
|
+
CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE: "CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE",
|
|
126
|
+
GENESYS_ENGAGE_ON_PREMISES: "GENESYS_ENGAGE_ON_PREMISES",
|
|
127
|
+
};
|
|
128
|
+
export const SessionBorderControllerType = {
|
|
129
|
+
AUDIOCODES_MEDIANT_SBC: "AUDIOCODES_MEDIANT_SBC",
|
|
130
|
+
AVAYA_SBCE: "AVAYA_SBCE",
|
|
131
|
+
CISCO_UNIFIED_BORDER_ELEMENT: "CISCO_UNIFIED_BORDER_ELEMENT",
|
|
132
|
+
ORACLE_ACME_PACKET_SBC: "ORACLE_ACME_PACKET_SBC",
|
|
133
|
+
RIBBON_SBC: "RIBBON_SBC",
|
|
134
|
+
};
|
|
135
|
+
export const OriginationRouteProtocol = {
|
|
136
|
+
TCP: "TCP",
|
|
137
|
+
UDP: "UDP",
|
|
138
|
+
};
|
|
139
|
+
export const NotificationTarget = {
|
|
140
|
+
EventBridge: "EventBridge",
|
|
141
|
+
SNS: "SNS",
|
|
142
|
+
SQS: "SQS",
|
|
143
|
+
};
|
|
144
|
+
export const LanguageCode = {
|
|
145
|
+
EN_US: "en-US",
|
|
146
|
+
};
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { ChimeSDKVoiceServiceException as __BaseException } from "./ChimeSDKVoiceServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Code;
|
|
6
|
+
Message;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
14
|
+
this.Code = opts.Code;
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class BadRequestException extends __BaseException {
|
|
19
|
+
name = "BadRequestException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Code;
|
|
22
|
+
Message;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "BadRequestException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
30
|
+
this.Code = opts.Code;
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class ForbiddenException extends __BaseException {
|
|
35
|
+
name = "ForbiddenException";
|
|
36
|
+
$fault = "client";
|
|
37
|
+
Code;
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "ForbiddenException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
46
|
+
this.Code = opts.Code;
|
|
47
|
+
this.Message = opts.Message;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class NotFoundException extends __BaseException {
|
|
51
|
+
name = "NotFoundException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Code;
|
|
54
|
+
Message;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "NotFoundException",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
62
|
+
this.Code = opts.Code;
|
|
63
|
+
this.Message = opts.Message;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class ServiceFailureException extends __BaseException {
|
|
67
|
+
name = "ServiceFailureException";
|
|
68
|
+
$fault = "server";
|
|
69
|
+
Code;
|
|
70
|
+
Message;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ServiceFailureException",
|
|
74
|
+
$fault: "server",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, ServiceFailureException.prototype);
|
|
78
|
+
this.Code = opts.Code;
|
|
79
|
+
this.Message = opts.Message;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class ServiceUnavailableException extends __BaseException {
|
|
83
|
+
name = "ServiceUnavailableException";
|
|
84
|
+
$fault = "server";
|
|
85
|
+
Code;
|
|
86
|
+
Message;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ServiceUnavailableException",
|
|
90
|
+
$fault: "server",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
94
|
+
this.Code = opts.Code;
|
|
95
|
+
this.Message = opts.Message;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class ThrottledClientException extends __BaseException {
|
|
99
|
+
name = "ThrottledClientException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
Code;
|
|
102
|
+
Message;
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "ThrottledClientException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
Object.setPrototypeOf(this, ThrottledClientException.prototype);
|
|
110
|
+
this.Code = opts.Code;
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class UnauthorizedClientException extends __BaseException {
|
|
115
|
+
name = "UnauthorizedClientException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
Code;
|
|
118
|
+
Message;
|
|
119
|
+
constructor(opts) {
|
|
120
|
+
super({
|
|
121
|
+
name: "UnauthorizedClientException",
|
|
122
|
+
$fault: "client",
|
|
123
|
+
...opts,
|
|
124
|
+
});
|
|
125
|
+
Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
|
|
126
|
+
this.Code = opts.Code;
|
|
127
|
+
this.Message = opts.Message;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export class ResourceLimitExceededException extends __BaseException {
|
|
131
|
+
name = "ResourceLimitExceededException";
|
|
132
|
+
$fault = "client";
|
|
133
|
+
Code;
|
|
134
|
+
Message;
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "ResourceLimitExceededException",
|
|
138
|
+
$fault: "client",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
142
|
+
this.Code = opts.Code;
|
|
143
|
+
this.Message = opts.Message;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export class ConflictException extends __BaseException {
|
|
147
|
+
name = "ConflictException";
|
|
148
|
+
$fault = "client";
|
|
149
|
+
Code;
|
|
150
|
+
Message;
|
|
151
|
+
constructor(opts) {
|
|
152
|
+
super({
|
|
153
|
+
name: "ConflictException",
|
|
154
|
+
$fault: "client",
|
|
155
|
+
...opts,
|
|
156
|
+
});
|
|
157
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
158
|
+
this.Code = opts.Code;
|
|
159
|
+
this.Message = opts.Message;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
export class GoneException extends __BaseException {
|
|
163
|
+
name = "GoneException";
|
|
164
|
+
$fault = "client";
|
|
165
|
+
Code;
|
|
166
|
+
Message;
|
|
167
|
+
constructor(opts) {
|
|
168
|
+
super({
|
|
169
|
+
name: "GoneException",
|
|
170
|
+
$fault: "client",
|
|
171
|
+
...opts,
|
|
172
|
+
});
|
|
173
|
+
Object.setPrototypeOf(this, GoneException.prototype);
|
|
174
|
+
this.Code = opts.Code;
|
|
175
|
+
this.Message = opts.Message;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
export class UnprocessableEntityException extends __BaseException {
|
|
179
|
+
name = "UnprocessableEntityException";
|
|
180
|
+
$fault = "client";
|
|
181
|
+
Code;
|
|
182
|
+
Message;
|
|
183
|
+
constructor(opts) {
|
|
184
|
+
super({
|
|
185
|
+
name: "UnprocessableEntityException",
|
|
186
|
+
$fault: "client",
|
|
187
|
+
...opts,
|
|
188
|
+
});
|
|
189
|
+
Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
|
|
190
|
+
this.Code = opts.Code;
|
|
191
|
+
this.Message = opts.Message;
|
|
192
|
+
}
|
|
193
|
+
}
|