@aws-sdk/client-chime-sdk-voice 3.387.0 → 3.388.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/models/models_0.js +4 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/commands/BatchUpdatePhoneNumberCommand.d.ts +1 -0
- package/dist-types/commands/CreatePhoneNumberOrderCommand.d.ts +1 -0
- package/dist-types/commands/GetPhoneNumberCommand.d.ts +1 -0
- package/dist-types/commands/ListPhoneNumbersCommand.d.ts +1 -0
- package/dist-types/commands/RestorePhoneNumberCommand.d.ts +1 -0
- package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +20 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/package.json +3 -3
|
@@ -364,6 +364,7 @@ const UpdatePhoneNumberRequestItemFilterSensitiveLog = (obj) => ({
|
|
|
364
364
|
...obj,
|
|
365
365
|
...(obj.PhoneNumberId && { PhoneNumberId: smithy_client_1.SENSITIVE_STRING }),
|
|
366
366
|
...(obj.CallingName && { CallingName: smithy_client_1.SENSITIVE_STRING }),
|
|
367
|
+
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
367
368
|
});
|
|
368
369
|
exports.UpdatePhoneNumberRequestItemFilterSensitiveLog = UpdatePhoneNumberRequestItemFilterSensitiveLog;
|
|
369
370
|
const BatchUpdatePhoneNumberRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -394,6 +395,7 @@ exports.CandidateAddressFilterSensitiveLog = CandidateAddressFilterSensitiveLog;
|
|
|
394
395
|
const CreatePhoneNumberOrderRequestFilterSensitiveLog = (obj) => ({
|
|
395
396
|
...obj,
|
|
396
397
|
...(obj.E164PhoneNumbers && { E164PhoneNumbers: smithy_client_1.SENSITIVE_STRING }),
|
|
398
|
+
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
397
399
|
});
|
|
398
400
|
exports.CreatePhoneNumberOrderRequestFilterSensitiveLog = CreatePhoneNumberOrderRequestFilterSensitiveLog;
|
|
399
401
|
const OrderedPhoneNumberFilterSensitiveLog = (obj) => ({
|
|
@@ -557,6 +559,7 @@ const PhoneNumberFilterSensitiveLog = (obj) => ({
|
|
|
557
559
|
...(obj.PhoneNumberId && { PhoneNumberId: smithy_client_1.SENSITIVE_STRING }),
|
|
558
560
|
...(obj.E164PhoneNumber && { E164PhoneNumber: smithy_client_1.SENSITIVE_STRING }),
|
|
559
561
|
...(obj.CallingName && { CallingName: smithy_client_1.SENSITIVE_STRING }),
|
|
562
|
+
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
560
563
|
});
|
|
561
564
|
exports.PhoneNumberFilterSensitiveLog = PhoneNumberFilterSensitiveLog;
|
|
562
565
|
const GetPhoneNumberResponseFilterSensitiveLog = (obj) => ({
|
|
@@ -825,6 +828,7 @@ const UpdatePhoneNumberRequestFilterSensitiveLog = (obj) => ({
|
|
|
825
828
|
...obj,
|
|
826
829
|
...(obj.PhoneNumberId && { PhoneNumberId: smithy_client_1.SENSITIVE_STRING }),
|
|
827
830
|
...(obj.CallingName && { CallingName: smithy_client_1.SENSITIVE_STRING }),
|
|
831
|
+
...(obj.Name && { Name: smithy_client_1.SENSITIVE_STRING }),
|
|
828
832
|
});
|
|
829
833
|
exports.UpdatePhoneNumberRequestFilterSensitiveLog = UpdatePhoneNumberRequestFilterSensitiveLog;
|
|
830
834
|
const UpdatePhoneNumberResponseFilterSensitiveLog = (obj) => ({
|
|
@@ -122,6 +122,7 @@ const se_CreatePhoneNumberOrderCommand = async (input, context) => {
|
|
|
122
122
|
let body;
|
|
123
123
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
124
124
|
E164PhoneNumbers: (_) => (0, smithy_client_1._json)(_),
|
|
125
|
+
Name: [],
|
|
125
126
|
ProductType: [],
|
|
126
127
|
}));
|
|
127
128
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1760,6 +1761,7 @@ const se_UpdatePhoneNumberCommand = async (input, context) => {
|
|
|
1760
1761
|
let body;
|
|
1761
1762
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1762
1763
|
CallingName: [],
|
|
1764
|
+
Name: [],
|
|
1763
1765
|
ProductType: [],
|
|
1764
1766
|
}));
|
|
1765
1767
|
return new protocol_http_1.HttpRequest({
|
|
@@ -7097,6 +7099,7 @@ const de_PhoneNumber = (output, context) => {
|
|
|
7097
7099
|
CreatedTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
7098
7100
|
DeletionTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(_)),
|
|
7099
7101
|
E164PhoneNumber: smithy_client_1.expectString,
|
|
7102
|
+
Name: smithy_client_1.expectString,
|
|
7100
7103
|
OrderId: smithy_client_1.expectString,
|
|
7101
7104
|
PhoneNumberId: smithy_client_1.expectString,
|
|
7102
7105
|
ProductType: smithy_client_1.expectString,
|
|
@@ -340,6 +340,7 @@ export const UpdatePhoneNumberRequestItemFilterSensitiveLog = (obj) => ({
|
|
|
340
340
|
...obj,
|
|
341
341
|
...(obj.PhoneNumberId && { PhoneNumberId: SENSITIVE_STRING }),
|
|
342
342
|
...(obj.CallingName && { CallingName: SENSITIVE_STRING }),
|
|
343
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
343
344
|
});
|
|
344
345
|
export const BatchUpdatePhoneNumberRequestFilterSensitiveLog = (obj) => ({
|
|
345
346
|
...obj,
|
|
@@ -366,6 +367,7 @@ export const CandidateAddressFilterSensitiveLog = (obj) => ({
|
|
|
366
367
|
export const CreatePhoneNumberOrderRequestFilterSensitiveLog = (obj) => ({
|
|
367
368
|
...obj,
|
|
368
369
|
...(obj.E164PhoneNumbers && { E164PhoneNumbers: SENSITIVE_STRING }),
|
|
370
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
369
371
|
});
|
|
370
372
|
export const OrderedPhoneNumberFilterSensitiveLog = (obj) => ({
|
|
371
373
|
...obj,
|
|
@@ -501,6 +503,7 @@ export const PhoneNumberFilterSensitiveLog = (obj) => ({
|
|
|
501
503
|
...(obj.PhoneNumberId && { PhoneNumberId: SENSITIVE_STRING }),
|
|
502
504
|
...(obj.E164PhoneNumber && { E164PhoneNumber: SENSITIVE_STRING }),
|
|
503
505
|
...(obj.CallingName && { CallingName: SENSITIVE_STRING }),
|
|
506
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
504
507
|
});
|
|
505
508
|
export const GetPhoneNumberResponseFilterSensitiveLog = (obj) => ({
|
|
506
509
|
...obj,
|
|
@@ -721,6 +724,7 @@ export const UpdatePhoneNumberRequestFilterSensitiveLog = (obj) => ({
|
|
|
721
724
|
...obj,
|
|
722
725
|
...(obj.PhoneNumberId && { PhoneNumberId: SENSITIVE_STRING }),
|
|
723
726
|
...(obj.CallingName && { CallingName: SENSITIVE_STRING }),
|
|
727
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
724
728
|
});
|
|
725
729
|
export const UpdatePhoneNumberResponseFilterSensitiveLog = (obj) => ({
|
|
726
730
|
...obj,
|
|
@@ -112,6 +112,7 @@ export const se_CreatePhoneNumberOrderCommand = async (input, context) => {
|
|
|
112
112
|
let body;
|
|
113
113
|
body = JSON.stringify(take(input, {
|
|
114
114
|
E164PhoneNumbers: (_) => _json(_),
|
|
115
|
+
Name: [],
|
|
115
116
|
ProductType: [],
|
|
116
117
|
}));
|
|
117
118
|
return new __HttpRequest({
|
|
@@ -1672,6 +1673,7 @@ export const se_UpdatePhoneNumberCommand = async (input, context) => {
|
|
|
1672
1673
|
let body;
|
|
1673
1674
|
body = JSON.stringify(take(input, {
|
|
1674
1675
|
CallingName: [],
|
|
1676
|
+
Name: [],
|
|
1675
1677
|
ProductType: [],
|
|
1676
1678
|
}));
|
|
1677
1679
|
return new __HttpRequest({
|
|
@@ -6905,6 +6907,7 @@ const de_PhoneNumber = (output, context) => {
|
|
|
6905
6907
|
CreatedTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
6906
6908
|
DeletionTimestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
6907
6909
|
E164PhoneNumber: __expectString,
|
|
6910
|
+
Name: __expectString,
|
|
6908
6911
|
OrderId: __expectString,
|
|
6909
6912
|
PhoneNumberId: __expectString,
|
|
6910
6913
|
ProductType: __expectString,
|
|
@@ -36,6 +36,7 @@ export interface BatchUpdatePhoneNumberCommandOutput extends BatchUpdatePhoneNum
|
|
|
36
36
|
* PhoneNumberId: "STRING_VALUE", // required
|
|
37
37
|
* ProductType: "VoiceConnector" || "SipMediaApplicationDialIn",
|
|
38
38
|
* CallingName: "STRING_VALUE",
|
|
39
|
+
* Name: "STRING_VALUE",
|
|
39
40
|
* },
|
|
40
41
|
* ],
|
|
41
42
|
* };
|
|
@@ -35,6 +35,7 @@ export interface CreatePhoneNumberOrderCommandOutput extends CreatePhoneNumberOr
|
|
|
35
35
|
* E164PhoneNumbers: [ // E164PhoneNumberList // required
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
|
+
* Name: "STRING_VALUE",
|
|
38
39
|
* };
|
|
39
40
|
* const command = new CreatePhoneNumberOrderCommand(input);
|
|
40
41
|
* const response = await client.send(command);
|
|
@@ -65,6 +65,7 @@ export interface GetPhoneNumberCommandOutput extends GetPhoneNumberResponse, __M
|
|
|
65
65
|
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
66
66
|
* // DeletionTimestamp: new Date("TIMESTAMP"),
|
|
67
67
|
* // OrderId: "STRING_VALUE",
|
|
68
|
+
* // Name: "STRING_VALUE",
|
|
68
69
|
* // },
|
|
69
70
|
* // };
|
|
70
71
|
*
|
|
@@ -72,6 +72,7 @@ export interface ListPhoneNumbersCommandOutput extends ListPhoneNumbersResponse,
|
|
|
72
72
|
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
73
73
|
* // DeletionTimestamp: new Date("TIMESTAMP"),
|
|
74
74
|
* // OrderId: "STRING_VALUE",
|
|
75
|
+
* // Name: "STRING_VALUE",
|
|
75
76
|
* // },
|
|
76
77
|
* // ],
|
|
77
78
|
* // NextToken: "STRING_VALUE",
|
|
@@ -64,6 +64,7 @@ export interface RestorePhoneNumberCommandOutput extends RestorePhoneNumberRespo
|
|
|
64
64
|
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
65
65
|
* // DeletionTimestamp: new Date("TIMESTAMP"),
|
|
66
66
|
* // OrderId: "STRING_VALUE",
|
|
67
|
+
* // Name: "STRING_VALUE",
|
|
67
68
|
* // },
|
|
68
69
|
* // };
|
|
69
70
|
*
|
|
@@ -41,6 +41,7 @@ export interface UpdatePhoneNumberCommandOutput extends UpdatePhoneNumberRespons
|
|
|
41
41
|
* PhoneNumberId: "STRING_VALUE", // required
|
|
42
42
|
* ProductType: "VoiceConnector" || "SipMediaApplicationDialIn",
|
|
43
43
|
* CallingName: "STRING_VALUE",
|
|
44
|
+
* Name: "STRING_VALUE",
|
|
44
45
|
* };
|
|
45
46
|
* const command = new UpdatePhoneNumberCommand(input);
|
|
46
47
|
* const response = await client.send(command);
|
|
@@ -73,6 +74,7 @@ export interface UpdatePhoneNumberCommandOutput extends UpdatePhoneNumberRespons
|
|
|
73
74
|
* // UpdatedTimestamp: new Date("TIMESTAMP"),
|
|
74
75
|
* // DeletionTimestamp: new Date("TIMESTAMP"),
|
|
75
76
|
* // OrderId: "STRING_VALUE",
|
|
77
|
+
* // Name: "STRING_VALUE",
|
|
76
78
|
* // },
|
|
77
79
|
* // };
|
|
78
80
|
*
|
|
@@ -345,6 +345,11 @@ export interface UpdatePhoneNumberRequestItem {
|
|
|
345
345
|
* <p>The outbound calling name to update.</p>
|
|
346
346
|
*/
|
|
347
347
|
CallingName?: string;
|
|
348
|
+
/**
|
|
349
|
+
* @public
|
|
350
|
+
* <p>The name of the phone number.</p>
|
|
351
|
+
*/
|
|
352
|
+
Name?: string;
|
|
348
353
|
}
|
|
349
354
|
/**
|
|
350
355
|
* @public
|
|
@@ -480,6 +485,11 @@ export interface CreatePhoneNumberOrderRequest {
|
|
|
480
485
|
* <p>List of phone numbers, in E.164 format.</p>
|
|
481
486
|
*/
|
|
482
487
|
E164PhoneNumbers: string[] | undefined;
|
|
488
|
+
/**
|
|
489
|
+
* @public
|
|
490
|
+
* <p>Specifies the name assigned to one or more phone numbers.</p>
|
|
491
|
+
*/
|
|
492
|
+
Name?: string;
|
|
483
493
|
}
|
|
484
494
|
/**
|
|
485
495
|
* @public
|
|
@@ -1882,6 +1892,11 @@ export interface PhoneNumber {
|
|
|
1882
1892
|
* <p>The phone number's order ID.</p>
|
|
1883
1893
|
*/
|
|
1884
1894
|
OrderId?: string;
|
|
1895
|
+
/**
|
|
1896
|
+
* @public
|
|
1897
|
+
* <p>The name of the phone number.</p>
|
|
1898
|
+
*/
|
|
1899
|
+
Name?: string;
|
|
1885
1900
|
}
|
|
1886
1901
|
/**
|
|
1887
1902
|
* @public
|
|
@@ -3713,6 +3728,11 @@ export interface UpdatePhoneNumberRequest {
|
|
|
3713
3728
|
* <p>The outbound calling name associated with the phone number.</p>
|
|
3714
3729
|
*/
|
|
3715
3730
|
CallingName?: string;
|
|
3731
|
+
/**
|
|
3732
|
+
* @public
|
|
3733
|
+
* <p>Specifies the name assigned to one or more phone numbers.</p>
|
|
3734
|
+
*/
|
|
3735
|
+
Name?: string;
|
|
3716
3736
|
}
|
|
3717
3737
|
/**
|
|
3718
3738
|
* @public
|
|
@@ -142,6 +142,7 @@ export interface UpdatePhoneNumberRequestItem {
|
|
|
142
142
|
PhoneNumberId: string | undefined;
|
|
143
143
|
ProductType?: PhoneNumberProductType | string;
|
|
144
144
|
CallingName?: string;
|
|
145
|
+
Name?: string;
|
|
145
146
|
}
|
|
146
147
|
export interface BatchUpdatePhoneNumberRequest {
|
|
147
148
|
UpdatePhoneNumberRequestItems: UpdatePhoneNumberRequestItem[] | undefined;
|
|
@@ -184,6 +185,7 @@ export type Capability = (typeof Capability)[keyof typeof Capability];
|
|
|
184
185
|
export interface CreatePhoneNumberOrderRequest {
|
|
185
186
|
ProductType: PhoneNumberProductType | string | undefined;
|
|
186
187
|
E164PhoneNumbers: string[] | undefined;
|
|
188
|
+
Name?: string;
|
|
187
189
|
}
|
|
188
190
|
export declare const OrderedPhoneNumberStatus: {
|
|
189
191
|
readonly Acquired: "Acquired";
|
|
@@ -588,6 +590,7 @@ export interface PhoneNumber {
|
|
|
588
590
|
UpdatedTimestamp?: Date;
|
|
589
591
|
DeletionTimestamp?: Date;
|
|
590
592
|
OrderId?: string;
|
|
593
|
+
Name?: string;
|
|
591
594
|
}
|
|
592
595
|
export interface GetPhoneNumberResponse {
|
|
593
596
|
PhoneNumber?: PhoneNumber;
|
|
@@ -1077,6 +1080,7 @@ export interface UpdatePhoneNumberRequest {
|
|
|
1077
1080
|
PhoneNumberId: string | undefined;
|
|
1078
1081
|
ProductType?: PhoneNumberProductType | string;
|
|
1079
1082
|
CallingName?: string;
|
|
1083
|
+
Name?: string;
|
|
1080
1084
|
}
|
|
1081
1085
|
export interface UpdatePhoneNumberResponse {
|
|
1082
1086
|
PhoneNumber?: PhoneNumber;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-chime-sdk-voice",
|
|
3
3
|
"description": "AWS SDK for JavaScript Chime Sdk Voice Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.388.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",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.388.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.388.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.387.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.387.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.387.0",
|