@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
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
export declare const ErrorCode: {
|
|
2
|
+
readonly AccessDenied: "AccessDenied";
|
|
3
|
+
readonly BadRequest: "BadRequest";
|
|
4
|
+
readonly Conflict: "Conflict";
|
|
5
|
+
readonly Forbidden: "Forbidden";
|
|
6
|
+
readonly Gone: "Gone";
|
|
7
|
+
readonly NotFound: "NotFound";
|
|
8
|
+
readonly PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist";
|
|
9
|
+
readonly PreconditionFailed: "PreconditionFailed";
|
|
10
|
+
readonly ResourceLimitExceeded: "ResourceLimitExceeded";
|
|
11
|
+
readonly ServiceFailure: "ServiceFailure";
|
|
12
|
+
readonly ServiceUnavailable: "ServiceUnavailable";
|
|
13
|
+
readonly Throttled: "Throttled";
|
|
14
|
+
readonly Throttling: "Throttling";
|
|
15
|
+
readonly Unauthorized: "Unauthorized";
|
|
16
|
+
readonly Unprocessable: "Unprocessable";
|
|
17
|
+
readonly VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist";
|
|
18
|
+
};
|
|
19
|
+
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
20
|
+
export declare const AlexaSkillStatus: {
|
|
21
|
+
readonly ACTIVE: "ACTIVE";
|
|
22
|
+
readonly INACTIVE: "INACTIVE";
|
|
23
|
+
};
|
|
24
|
+
export type AlexaSkillStatus =
|
|
25
|
+
(typeof AlexaSkillStatus)[keyof typeof AlexaSkillStatus];
|
|
26
|
+
export declare const PhoneNumberProductType: {
|
|
27
|
+
readonly SipMediaApplicationDialIn: "SipMediaApplicationDialIn";
|
|
28
|
+
readonly VoiceConnector: "VoiceConnector";
|
|
29
|
+
};
|
|
30
|
+
export type PhoneNumberProductType =
|
|
31
|
+
(typeof PhoneNumberProductType)[keyof typeof PhoneNumberProductType];
|
|
32
|
+
export declare const CallingNameStatus: {
|
|
33
|
+
readonly Unassigned: "Unassigned";
|
|
34
|
+
readonly UpdateFailed: "UpdateFailed";
|
|
35
|
+
readonly UpdateInProgress: "UpdateInProgress";
|
|
36
|
+
readonly UpdateSucceeded: "UpdateSucceeded";
|
|
37
|
+
};
|
|
38
|
+
export type CallingNameStatus =
|
|
39
|
+
(typeof CallingNameStatus)[keyof typeof CallingNameStatus];
|
|
40
|
+
export declare const CallLegType: {
|
|
41
|
+
readonly CALLEE: "Callee";
|
|
42
|
+
readonly CALLER: "Caller";
|
|
43
|
+
};
|
|
44
|
+
export type CallLegType = (typeof CallLegType)[keyof typeof CallLegType];
|
|
45
|
+
export declare const Capability: {
|
|
46
|
+
readonly SMS: "SMS";
|
|
47
|
+
readonly Voice: "Voice";
|
|
48
|
+
};
|
|
49
|
+
export type Capability = (typeof Capability)[keyof typeof Capability];
|
|
50
|
+
export declare const OrderedPhoneNumberStatus: {
|
|
51
|
+
readonly Acquired: "Acquired";
|
|
52
|
+
readonly Failed: "Failed";
|
|
53
|
+
readonly Processing: "Processing";
|
|
54
|
+
};
|
|
55
|
+
export type OrderedPhoneNumberStatus =
|
|
56
|
+
(typeof OrderedPhoneNumberStatus)[keyof typeof OrderedPhoneNumberStatus];
|
|
57
|
+
export declare const PhoneNumberOrderType: {
|
|
58
|
+
readonly New: "New";
|
|
59
|
+
readonly Porting: "Porting";
|
|
60
|
+
};
|
|
61
|
+
export type PhoneNumberOrderType =
|
|
62
|
+
(typeof PhoneNumberOrderType)[keyof typeof PhoneNumberOrderType];
|
|
63
|
+
export declare const PhoneNumberOrderStatus: {
|
|
64
|
+
readonly CancelRequested: "CancelRequested";
|
|
65
|
+
readonly Cancelled: "Cancelled";
|
|
66
|
+
readonly ChangeRequested: "ChangeRequested";
|
|
67
|
+
readonly Exception: "Exception";
|
|
68
|
+
readonly FOC: "FOC";
|
|
69
|
+
readonly Failed: "Failed";
|
|
70
|
+
readonly Partial: "Partial";
|
|
71
|
+
readonly PendingDocuments: "PendingDocuments";
|
|
72
|
+
readonly Processing: "Processing";
|
|
73
|
+
readonly Submitted: "Submitted";
|
|
74
|
+
readonly Successful: "Successful";
|
|
75
|
+
};
|
|
76
|
+
export type PhoneNumberOrderStatus =
|
|
77
|
+
(typeof PhoneNumberOrderStatus)[keyof typeof PhoneNumberOrderStatus];
|
|
78
|
+
export declare const GeoMatchLevel: {
|
|
79
|
+
readonly AreaCode: "AreaCode";
|
|
80
|
+
readonly Country: "Country";
|
|
81
|
+
};
|
|
82
|
+
export type GeoMatchLevel = (typeof GeoMatchLevel)[keyof typeof GeoMatchLevel];
|
|
83
|
+
export declare const NumberSelectionBehavior: {
|
|
84
|
+
readonly AvoidSticky: "AvoidSticky";
|
|
85
|
+
readonly PreferSticky: "PreferSticky";
|
|
86
|
+
};
|
|
87
|
+
export type NumberSelectionBehavior =
|
|
88
|
+
(typeof NumberSelectionBehavior)[keyof typeof NumberSelectionBehavior];
|
|
89
|
+
export declare const ProxySessionStatus: {
|
|
90
|
+
readonly Closed: "Closed";
|
|
91
|
+
readonly InProgress: "InProgress";
|
|
92
|
+
readonly Open: "Open";
|
|
93
|
+
};
|
|
94
|
+
export type ProxySessionStatus =
|
|
95
|
+
(typeof ProxySessionStatus)[keyof typeof ProxySessionStatus];
|
|
96
|
+
export declare const SipRuleTriggerType: {
|
|
97
|
+
readonly RequestUriHostname: "RequestUriHostname";
|
|
98
|
+
readonly ToPhoneNumber: "ToPhoneNumber";
|
|
99
|
+
};
|
|
100
|
+
export type SipRuleTriggerType =
|
|
101
|
+
(typeof SipRuleTriggerType)[keyof typeof SipRuleTriggerType];
|
|
102
|
+
export declare const VoiceConnectorAwsRegion: {
|
|
103
|
+
readonly AP_NORTHEAST_1: "ap-northeast-1";
|
|
104
|
+
readonly AP_NORTHEAST_2: "ap-northeast-2";
|
|
105
|
+
readonly AP_SOUTHEAST_1: "ap-southeast-1";
|
|
106
|
+
readonly AP_SOUTHEAST_2: "ap-southeast-2";
|
|
107
|
+
readonly CA_CENTRAL_1: "ca-central-1";
|
|
108
|
+
readonly EU_CENTRAL_1: "eu-central-1";
|
|
109
|
+
readonly EU_WEST_1: "eu-west-1";
|
|
110
|
+
readonly EU_WEST_2: "eu-west-2";
|
|
111
|
+
readonly US_EAST_1: "us-east-1";
|
|
112
|
+
readonly US_WEST_2: "us-west-2";
|
|
113
|
+
};
|
|
114
|
+
export type VoiceConnectorAwsRegion =
|
|
115
|
+
(typeof VoiceConnectorAwsRegion)[keyof typeof VoiceConnectorAwsRegion];
|
|
116
|
+
export declare const VoiceConnectorIntegrationType: {
|
|
117
|
+
readonly CONNECT_ANALYTICS_CONNECTOR: "CONNECT_ANALYTICS_CONNECTOR";
|
|
118
|
+
readonly CONNECT_CALL_TRANSFER_CONNECTOR: "CONNECT_CALL_TRANSFER_CONNECTOR";
|
|
119
|
+
};
|
|
120
|
+
export type VoiceConnectorIntegrationType =
|
|
121
|
+
(typeof VoiceConnectorIntegrationType)[keyof typeof VoiceConnectorIntegrationType];
|
|
122
|
+
export declare const NetworkType: {
|
|
123
|
+
readonly DUAL_STACK: "DUAL_STACK";
|
|
124
|
+
readonly IPV4_ONLY: "IPV4_ONLY";
|
|
125
|
+
};
|
|
126
|
+
export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
|
|
127
|
+
export declare const PhoneNumberAssociationName: {
|
|
128
|
+
readonly SipRuleId: "SipRuleId";
|
|
129
|
+
readonly VoiceConnectorGroupId: "VoiceConnectorGroupId";
|
|
130
|
+
readonly VoiceConnectorId: "VoiceConnectorId";
|
|
131
|
+
};
|
|
132
|
+
export type PhoneNumberAssociationName =
|
|
133
|
+
(typeof PhoneNumberAssociationName)[keyof typeof PhoneNumberAssociationName];
|
|
134
|
+
export declare const PhoneNumberStatus: {
|
|
135
|
+
readonly AcquireFailed: "AcquireFailed";
|
|
136
|
+
readonly AcquireInProgress: "AcquireInProgress";
|
|
137
|
+
readonly Assigned: "Assigned";
|
|
138
|
+
readonly Cancelled: "Cancelled";
|
|
139
|
+
readonly DeleteFailed: "DeleteFailed";
|
|
140
|
+
readonly DeleteInProgress: "DeleteInProgress";
|
|
141
|
+
readonly PortinCancelRequested: "PortinCancelRequested";
|
|
142
|
+
readonly PortinInProgress: "PortinInProgress";
|
|
143
|
+
readonly ReleaseFailed: "ReleaseFailed";
|
|
144
|
+
readonly ReleaseInProgress: "ReleaseInProgress";
|
|
145
|
+
readonly Unassigned: "Unassigned";
|
|
146
|
+
};
|
|
147
|
+
export type PhoneNumberStatus =
|
|
148
|
+
(typeof PhoneNumberStatus)[keyof typeof PhoneNumberStatus];
|
|
149
|
+
export declare const PhoneNumberType: {
|
|
150
|
+
readonly Local: "Local";
|
|
151
|
+
readonly TollFree: "TollFree";
|
|
152
|
+
};
|
|
153
|
+
export type PhoneNumberType =
|
|
154
|
+
(typeof PhoneNumberType)[keyof typeof PhoneNumberType];
|
|
155
|
+
export declare const ContactCenterSystemType: {
|
|
156
|
+
readonly AVAYA_AURA_CALL_CENTER_ELITE: "AVAYA_AURA_CALL_CENTER_ELITE";
|
|
157
|
+
readonly AVAYA_AURA_CONTACT_CENTER: "AVAYA_AURA_CONTACT_CENTER";
|
|
158
|
+
readonly CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE: "CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE";
|
|
159
|
+
readonly GENESYS_ENGAGE_ON_PREMISES: "GENESYS_ENGAGE_ON_PREMISES";
|
|
160
|
+
};
|
|
161
|
+
export type ContactCenterSystemType =
|
|
162
|
+
(typeof ContactCenterSystemType)[keyof typeof ContactCenterSystemType];
|
|
163
|
+
export declare const SessionBorderControllerType: {
|
|
164
|
+
readonly AUDIOCODES_MEDIANT_SBC: "AUDIOCODES_MEDIANT_SBC";
|
|
165
|
+
readonly AVAYA_SBCE: "AVAYA_SBCE";
|
|
166
|
+
readonly CISCO_UNIFIED_BORDER_ELEMENT: "CISCO_UNIFIED_BORDER_ELEMENT";
|
|
167
|
+
readonly ORACLE_ACME_PACKET_SBC: "ORACLE_ACME_PACKET_SBC";
|
|
168
|
+
readonly RIBBON_SBC: "RIBBON_SBC";
|
|
169
|
+
};
|
|
170
|
+
export type SessionBorderControllerType =
|
|
171
|
+
(typeof SessionBorderControllerType)[keyof typeof SessionBorderControllerType];
|
|
172
|
+
export declare const OriginationRouteProtocol: {
|
|
173
|
+
readonly TCP: "TCP";
|
|
174
|
+
readonly UDP: "UDP";
|
|
175
|
+
};
|
|
176
|
+
export type OriginationRouteProtocol =
|
|
177
|
+
(typeof OriginationRouteProtocol)[keyof typeof OriginationRouteProtocol];
|
|
178
|
+
export declare const NotificationTarget: {
|
|
179
|
+
readonly EventBridge: "EventBridge";
|
|
180
|
+
readonly SNS: "SNS";
|
|
181
|
+
readonly SQS: "SQS";
|
|
182
|
+
};
|
|
183
|
+
export type NotificationTarget =
|
|
184
|
+
(typeof NotificationTarget)[keyof typeof NotificationTarget];
|
|
185
|
+
export declare const LanguageCode: {
|
|
186
|
+
readonly EN_US: "en-US";
|
|
187
|
+
};
|
|
188
|
+
export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ChimeSDKVoiceServiceException as __BaseException } from "./ChimeSDKVoiceServiceException";
|
|
3
|
+
import { ErrorCode } from "./enums";
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
Code?: ErrorCode | undefined;
|
|
8
|
+
Message?: string | undefined;
|
|
9
|
+
constructor(
|
|
10
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
export declare class BadRequestException extends __BaseException {
|
|
14
|
+
readonly name: "BadRequestException";
|
|
15
|
+
readonly $fault: "client";
|
|
16
|
+
Code?: ErrorCode | undefined;
|
|
17
|
+
Message?: string | undefined;
|
|
18
|
+
constructor(
|
|
19
|
+
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export declare class ForbiddenException extends __BaseException {
|
|
23
|
+
readonly name: "ForbiddenException";
|
|
24
|
+
readonly $fault: "client";
|
|
25
|
+
Code?: ErrorCode | undefined;
|
|
26
|
+
Message?: string | undefined;
|
|
27
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
export declare class NotFoundException extends __BaseException {
|
|
30
|
+
readonly name: "NotFoundException";
|
|
31
|
+
readonly $fault: "client";
|
|
32
|
+
Code?: ErrorCode | undefined;
|
|
33
|
+
Message?: string | undefined;
|
|
34
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
35
|
+
}
|
|
36
|
+
export declare class ServiceFailureException extends __BaseException {
|
|
37
|
+
readonly name: "ServiceFailureException";
|
|
38
|
+
readonly $fault: "server";
|
|
39
|
+
Code?: ErrorCode | undefined;
|
|
40
|
+
Message?: string | undefined;
|
|
41
|
+
constructor(
|
|
42
|
+
opts: __ExceptionOptionType<ServiceFailureException, __BaseException>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
46
|
+
readonly name: "ServiceUnavailableException";
|
|
47
|
+
readonly $fault: "server";
|
|
48
|
+
Code?: ErrorCode | undefined;
|
|
49
|
+
Message?: string | undefined;
|
|
50
|
+
constructor(
|
|
51
|
+
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
export declare class ThrottledClientException extends __BaseException {
|
|
55
|
+
readonly name: "ThrottledClientException";
|
|
56
|
+
readonly $fault: "client";
|
|
57
|
+
Code?: ErrorCode | undefined;
|
|
58
|
+
Message?: string | undefined;
|
|
59
|
+
constructor(
|
|
60
|
+
opts: __ExceptionOptionType<ThrottledClientException, __BaseException>
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
export declare class UnauthorizedClientException extends __BaseException {
|
|
64
|
+
readonly name: "UnauthorizedClientException";
|
|
65
|
+
readonly $fault: "client";
|
|
66
|
+
Code?: ErrorCode | undefined;
|
|
67
|
+
Message?: string | undefined;
|
|
68
|
+
constructor(
|
|
69
|
+
opts: __ExceptionOptionType<UnauthorizedClientException, __BaseException>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
export declare class ResourceLimitExceededException extends __BaseException {
|
|
73
|
+
readonly name: "ResourceLimitExceededException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
Code?: ErrorCode | undefined;
|
|
76
|
+
Message?: string | undefined;
|
|
77
|
+
constructor(
|
|
78
|
+
opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
export declare class ConflictException extends __BaseException {
|
|
82
|
+
readonly name: "ConflictException";
|
|
83
|
+
readonly $fault: "client";
|
|
84
|
+
Code?: ErrorCode | undefined;
|
|
85
|
+
Message?: string | undefined;
|
|
86
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
87
|
+
}
|
|
88
|
+
export declare class GoneException extends __BaseException {
|
|
89
|
+
readonly name: "GoneException";
|
|
90
|
+
readonly $fault: "client";
|
|
91
|
+
Code?: ErrorCode | undefined;
|
|
92
|
+
Message?: string | undefined;
|
|
93
|
+
constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
|
|
94
|
+
}
|
|
95
|
+
export declare class UnprocessableEntityException extends __BaseException {
|
|
96
|
+
readonly name: "UnprocessableEntityException";
|
|
97
|
+
readonly $fault: "client";
|
|
98
|
+
Code?: ErrorCode | undefined;
|
|
99
|
+
Message?: string | undefined;
|
|
100
|
+
constructor(
|
|
101
|
+
opts: __ExceptionOptionType<UnprocessableEntityException, __BaseException>
|
|
102
|
+
);
|
|
103
|
+
}
|