@alicloud/dytnsapi20200217 1.0.20 → 1.0.21
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/client.d.ts +10 -252
- package/dist/client.js +50 -493
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +70 -612
package/src/client.ts
CHANGED
|
@@ -10,6 +10,7 @@ import * as $tea from '@alicloud/tea-typescript';
|
|
|
10
10
|
|
|
11
11
|
export class DescribeEmptyNumberRequest extends $tea.Model {
|
|
12
12
|
authCode?: string;
|
|
13
|
+
extendFunction?: string;
|
|
13
14
|
inputNumber?: string;
|
|
14
15
|
mask?: string;
|
|
15
16
|
ownerId?: number;
|
|
@@ -18,6 +19,7 @@ export class DescribeEmptyNumberRequest extends $tea.Model {
|
|
|
18
19
|
static names(): { [key: string]: string } {
|
|
19
20
|
return {
|
|
20
21
|
authCode: 'AuthCode',
|
|
22
|
+
extendFunction: 'ExtendFunction',
|
|
21
23
|
inputNumber: 'InputNumber',
|
|
22
24
|
mask: 'Mask',
|
|
23
25
|
ownerId: 'OwnerId',
|
|
@@ -29,6 +31,7 @@ export class DescribeEmptyNumberRequest extends $tea.Model {
|
|
|
29
31
|
static types(): { [key: string]: any } {
|
|
30
32
|
return {
|
|
31
33
|
authCode: 'string',
|
|
34
|
+
extendFunction: 'string',
|
|
32
35
|
inputNumber: 'string',
|
|
33
36
|
mask: 'string',
|
|
34
37
|
ownerId: 'number',
|
|
@@ -95,90 +98,6 @@ export class DescribeEmptyNumberResponse extends $tea.Model {
|
|
|
95
98
|
}
|
|
96
99
|
}
|
|
97
100
|
|
|
98
|
-
export class DescribeEmptyNumberDetectRequest extends $tea.Model {
|
|
99
|
-
encryptType?: string;
|
|
100
|
-
ownerId?: number;
|
|
101
|
-
phone?: string;
|
|
102
|
-
resourceOwnerAccount?: string;
|
|
103
|
-
resourceOwnerId?: number;
|
|
104
|
-
static names(): { [key: string]: string } {
|
|
105
|
-
return {
|
|
106
|
-
encryptType: 'EncryptType',
|
|
107
|
-
ownerId: 'OwnerId',
|
|
108
|
-
phone: 'Phone',
|
|
109
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
110
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
static types(): { [key: string]: any } {
|
|
115
|
-
return {
|
|
116
|
-
encryptType: 'string',
|
|
117
|
-
ownerId: 'number',
|
|
118
|
-
phone: 'string',
|
|
119
|
-
resourceOwnerAccount: 'string',
|
|
120
|
-
resourceOwnerId: 'number',
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
constructor(map?: { [key: string]: any }) {
|
|
125
|
-
super(map);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export class DescribeEmptyNumberDetectResponseBody extends $tea.Model {
|
|
130
|
-
code?: string;
|
|
131
|
-
data?: DescribeEmptyNumberDetectResponseBodyData[];
|
|
132
|
-
message?: string;
|
|
133
|
-
requestId?: string;
|
|
134
|
-
static names(): { [key: string]: string } {
|
|
135
|
-
return {
|
|
136
|
-
code: 'Code',
|
|
137
|
-
data: 'Data',
|
|
138
|
-
message: 'Message',
|
|
139
|
-
requestId: 'RequestId',
|
|
140
|
-
};
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
static types(): { [key: string]: any } {
|
|
144
|
-
return {
|
|
145
|
-
code: 'string',
|
|
146
|
-
data: { 'type': 'array', 'itemType': DescribeEmptyNumberDetectResponseBodyData },
|
|
147
|
-
message: 'string',
|
|
148
|
-
requestId: 'string',
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
constructor(map?: { [key: string]: any }) {
|
|
153
|
-
super(map);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
export class DescribeEmptyNumberDetectResponse extends $tea.Model {
|
|
158
|
-
headers: { [key: string]: string };
|
|
159
|
-
statusCode: number;
|
|
160
|
-
body: DescribeEmptyNumberDetectResponseBody;
|
|
161
|
-
static names(): { [key: string]: string } {
|
|
162
|
-
return {
|
|
163
|
-
headers: 'headers',
|
|
164
|
-
statusCode: 'statusCode',
|
|
165
|
-
body: 'body',
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
static types(): { [key: string]: any } {
|
|
170
|
-
return {
|
|
171
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
172
|
-
statusCode: 'number',
|
|
173
|
-
body: DescribeEmptyNumberDetectResponseBody,
|
|
174
|
-
};
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
constructor(map?: { [key: string]: any }) {
|
|
178
|
-
super(map);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
101
|
export class DescribePhoneNumberAnalysisRequest extends $tea.Model {
|
|
183
102
|
authCode?: string;
|
|
184
103
|
inputNumber?: string;
|
|
@@ -272,90 +191,10 @@ export class DescribePhoneNumberAnalysisResponse extends $tea.Model {
|
|
|
272
191
|
}
|
|
273
192
|
}
|
|
274
193
|
|
|
275
|
-
export class DescribePhoneNumberAttributeRequest extends $tea.Model {
|
|
276
|
-
ownerId?: number;
|
|
277
|
-
phoneNumber?: string;
|
|
278
|
-
resourceOwnerAccount?: string;
|
|
279
|
-
resourceOwnerId?: number;
|
|
280
|
-
static names(): { [key: string]: string } {
|
|
281
|
-
return {
|
|
282
|
-
ownerId: 'OwnerId',
|
|
283
|
-
phoneNumber: 'PhoneNumber',
|
|
284
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
285
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
286
|
-
};
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
static types(): { [key: string]: any } {
|
|
290
|
-
return {
|
|
291
|
-
ownerId: 'number',
|
|
292
|
-
phoneNumber: 'string',
|
|
293
|
-
resourceOwnerAccount: 'string',
|
|
294
|
-
resourceOwnerId: 'number',
|
|
295
|
-
};
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
constructor(map?: { [key: string]: any }) {
|
|
299
|
-
super(map);
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
export class DescribePhoneNumberAttributeResponseBody extends $tea.Model {
|
|
304
|
-
code?: string;
|
|
305
|
-
message?: string;
|
|
306
|
-
phoneNumberAttribute?: DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute;
|
|
307
|
-
requestId?: string;
|
|
308
|
-
static names(): { [key: string]: string } {
|
|
309
|
-
return {
|
|
310
|
-
code: 'Code',
|
|
311
|
-
message: 'Message',
|
|
312
|
-
phoneNumberAttribute: 'PhoneNumberAttribute',
|
|
313
|
-
requestId: 'RequestId',
|
|
314
|
-
};
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
static types(): { [key: string]: any } {
|
|
318
|
-
return {
|
|
319
|
-
code: 'string',
|
|
320
|
-
message: 'string',
|
|
321
|
-
phoneNumberAttribute: DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute,
|
|
322
|
-
requestId: 'string',
|
|
323
|
-
};
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
constructor(map?: { [key: string]: any }) {
|
|
327
|
-
super(map);
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
export class DescribePhoneNumberAttributeResponse extends $tea.Model {
|
|
332
|
-
headers: { [key: string]: string };
|
|
333
|
-
statusCode: number;
|
|
334
|
-
body: DescribePhoneNumberAttributeResponseBody;
|
|
335
|
-
static names(): { [key: string]: string } {
|
|
336
|
-
return {
|
|
337
|
-
headers: 'headers',
|
|
338
|
-
statusCode: 'statusCode',
|
|
339
|
-
body: 'body',
|
|
340
|
-
};
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
static types(): { [key: string]: any } {
|
|
344
|
-
return {
|
|
345
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
346
|
-
statusCode: 'number',
|
|
347
|
-
body: DescribePhoneNumberAttributeResponseBody,
|
|
348
|
-
};
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
constructor(map?: { [key: string]: any }) {
|
|
352
|
-
super(map);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
|
|
356
194
|
export class DescribePhoneNumberOnlineTimeRequest extends $tea.Model {
|
|
357
195
|
authCode?: string;
|
|
358
196
|
carrier?: string;
|
|
197
|
+
extendFunction?: string;
|
|
359
198
|
inputNumber?: string;
|
|
360
199
|
mask?: string;
|
|
361
200
|
ownerId?: number;
|
|
@@ -365,6 +204,7 @@ export class DescribePhoneNumberOnlineTimeRequest extends $tea.Model {
|
|
|
365
204
|
return {
|
|
366
205
|
authCode: 'AuthCode',
|
|
367
206
|
carrier: 'Carrier',
|
|
207
|
+
extendFunction: 'ExtendFunction',
|
|
368
208
|
inputNumber: 'InputNumber',
|
|
369
209
|
mask: 'Mask',
|
|
370
210
|
ownerId: 'OwnerId',
|
|
@@ -377,6 +217,7 @@ export class DescribePhoneNumberOnlineTimeRequest extends $tea.Model {
|
|
|
377
217
|
return {
|
|
378
218
|
authCode: 'string',
|
|
379
219
|
carrier: 'string',
|
|
220
|
+
extendFunction: 'string',
|
|
380
221
|
inputNumber: 'string',
|
|
381
222
|
mask: 'string',
|
|
382
223
|
ownerId: 'number',
|
|
@@ -530,173 +371,9 @@ export class DescribePhoneNumberOperatorAttributeResponse extends $tea.Model {
|
|
|
530
371
|
}
|
|
531
372
|
}
|
|
532
373
|
|
|
533
|
-
export class DescribePhoneNumberResaleRequest extends $tea.Model {
|
|
534
|
-
ownerId?: number;
|
|
535
|
-
phoneNumber?: string;
|
|
536
|
-
resourceOwnerAccount?: string;
|
|
537
|
-
resourceOwnerId?: number;
|
|
538
|
-
since?: string;
|
|
539
|
-
static names(): { [key: string]: string } {
|
|
540
|
-
return {
|
|
541
|
-
ownerId: 'OwnerId',
|
|
542
|
-
phoneNumber: 'PhoneNumber',
|
|
543
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
544
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
545
|
-
since: 'Since',
|
|
546
|
-
};
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
static types(): { [key: string]: any } {
|
|
550
|
-
return {
|
|
551
|
-
ownerId: 'number',
|
|
552
|
-
phoneNumber: 'string',
|
|
553
|
-
resourceOwnerAccount: 'string',
|
|
554
|
-
resourceOwnerId: 'number',
|
|
555
|
-
since: 'string',
|
|
556
|
-
};
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
constructor(map?: { [key: string]: any }) {
|
|
560
|
-
super(map);
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
export class DescribePhoneNumberResaleResponseBody extends $tea.Model {
|
|
565
|
-
code?: string;
|
|
566
|
-
message?: string;
|
|
567
|
-
requestId?: string;
|
|
568
|
-
twiceTelVerify?: DescribePhoneNumberResaleResponseBodyTwiceTelVerify;
|
|
569
|
-
static names(): { [key: string]: string } {
|
|
570
|
-
return {
|
|
571
|
-
code: 'Code',
|
|
572
|
-
message: 'Message',
|
|
573
|
-
requestId: 'RequestId',
|
|
574
|
-
twiceTelVerify: 'TwiceTelVerify',
|
|
575
|
-
};
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
static types(): { [key: string]: any } {
|
|
579
|
-
return {
|
|
580
|
-
code: 'string',
|
|
581
|
-
message: 'string',
|
|
582
|
-
requestId: 'string',
|
|
583
|
-
twiceTelVerify: DescribePhoneNumberResaleResponseBodyTwiceTelVerify,
|
|
584
|
-
};
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
constructor(map?: { [key: string]: any }) {
|
|
588
|
-
super(map);
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
export class DescribePhoneNumberResaleResponse extends $tea.Model {
|
|
593
|
-
headers: { [key: string]: string };
|
|
594
|
-
statusCode: number;
|
|
595
|
-
body: DescribePhoneNumberResaleResponseBody;
|
|
596
|
-
static names(): { [key: string]: string } {
|
|
597
|
-
return {
|
|
598
|
-
headers: 'headers',
|
|
599
|
-
statusCode: 'statusCode',
|
|
600
|
-
body: 'body',
|
|
601
|
-
};
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
static types(): { [key: string]: any } {
|
|
605
|
-
return {
|
|
606
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
607
|
-
statusCode: 'number',
|
|
608
|
-
body: DescribePhoneNumberResaleResponseBody,
|
|
609
|
-
};
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
constructor(map?: { [key: string]: any }) {
|
|
613
|
-
super(map);
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
export class DescribePhoneNumberStatusRequest extends $tea.Model {
|
|
618
|
-
ownerId?: number;
|
|
619
|
-
phoneNumber?: string;
|
|
620
|
-
resourceOwnerAccount?: string;
|
|
621
|
-
resourceOwnerId?: number;
|
|
622
|
-
static names(): { [key: string]: string } {
|
|
623
|
-
return {
|
|
624
|
-
ownerId: 'OwnerId',
|
|
625
|
-
phoneNumber: 'PhoneNumber',
|
|
626
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
627
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
628
|
-
};
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
static types(): { [key: string]: any } {
|
|
632
|
-
return {
|
|
633
|
-
ownerId: 'number',
|
|
634
|
-
phoneNumber: 'string',
|
|
635
|
-
resourceOwnerAccount: 'string',
|
|
636
|
-
resourceOwnerId: 'number',
|
|
637
|
-
};
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
constructor(map?: { [key: string]: any }) {
|
|
641
|
-
super(map);
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
export class DescribePhoneNumberStatusResponseBody extends $tea.Model {
|
|
646
|
-
code?: string;
|
|
647
|
-
message?: string;
|
|
648
|
-
phoneStatus?: DescribePhoneNumberStatusResponseBodyPhoneStatus;
|
|
649
|
-
requestId?: string;
|
|
650
|
-
static names(): { [key: string]: string } {
|
|
651
|
-
return {
|
|
652
|
-
code: 'Code',
|
|
653
|
-
message: 'Message',
|
|
654
|
-
phoneStatus: 'PhoneStatus',
|
|
655
|
-
requestId: 'RequestId',
|
|
656
|
-
};
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
static types(): { [key: string]: any } {
|
|
660
|
-
return {
|
|
661
|
-
code: 'string',
|
|
662
|
-
message: 'string',
|
|
663
|
-
phoneStatus: DescribePhoneNumberStatusResponseBodyPhoneStatus,
|
|
664
|
-
requestId: 'string',
|
|
665
|
-
};
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
constructor(map?: { [key: string]: any }) {
|
|
669
|
-
super(map);
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
export class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
674
|
-
headers: { [key: string]: string };
|
|
675
|
-
statusCode: number;
|
|
676
|
-
body: DescribePhoneNumberStatusResponseBody;
|
|
677
|
-
static names(): { [key: string]: string } {
|
|
678
|
-
return {
|
|
679
|
-
headers: 'headers',
|
|
680
|
-
statusCode: 'statusCode',
|
|
681
|
-
body: 'body',
|
|
682
|
-
};
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
static types(): { [key: string]: any } {
|
|
686
|
-
return {
|
|
687
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
688
|
-
statusCode: 'number',
|
|
689
|
-
body: DescribePhoneNumberStatusResponseBody,
|
|
690
|
-
};
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
constructor(map?: { [key: string]: any }) {
|
|
694
|
-
super(map);
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
|
|
698
374
|
export class DescribePhoneTwiceTelVerifyRequest extends $tea.Model {
|
|
699
375
|
authCode?: string;
|
|
376
|
+
extendFunction?: string;
|
|
700
377
|
inputNumber?: string;
|
|
701
378
|
mask?: string;
|
|
702
379
|
ownerId?: number;
|
|
@@ -706,6 +383,7 @@ export class DescribePhoneTwiceTelVerifyRequest extends $tea.Model {
|
|
|
706
383
|
static names(): { [key: string]: string } {
|
|
707
384
|
return {
|
|
708
385
|
authCode: 'AuthCode',
|
|
386
|
+
extendFunction: 'ExtendFunction',
|
|
709
387
|
inputNumber: 'InputNumber',
|
|
710
388
|
mask: 'Mask',
|
|
711
389
|
ownerId: 'OwnerId',
|
|
@@ -718,6 +396,7 @@ export class DescribePhoneTwiceTelVerifyRequest extends $tea.Model {
|
|
|
718
396
|
static types(): { [key: string]: any } {
|
|
719
397
|
return {
|
|
720
398
|
authCode: 'string',
|
|
399
|
+
extendFunction: 'string',
|
|
721
400
|
inputNumber: 'string',
|
|
722
401
|
mask: 'string',
|
|
723
402
|
ownerId: 'number',
|
|
@@ -961,6 +640,7 @@ export class PhoneNumberEncryptResponse extends $tea.Model {
|
|
|
961
640
|
|
|
962
641
|
export class PhoneNumberStatusForAccountRequest extends $tea.Model {
|
|
963
642
|
authCode?: string;
|
|
643
|
+
extendFunction?: string;
|
|
964
644
|
inputNumber?: string;
|
|
965
645
|
mask?: string;
|
|
966
646
|
ownerId?: number;
|
|
@@ -969,6 +649,7 @@ export class PhoneNumberStatusForAccountRequest extends $tea.Model {
|
|
|
969
649
|
static names(): { [key: string]: string } {
|
|
970
650
|
return {
|
|
971
651
|
authCode: 'AuthCode',
|
|
652
|
+
extendFunction: 'ExtendFunction',
|
|
972
653
|
inputNumber: 'InputNumber',
|
|
973
654
|
mask: 'Mask',
|
|
974
655
|
ownerId: 'OwnerId',
|
|
@@ -980,6 +661,7 @@ export class PhoneNumberStatusForAccountRequest extends $tea.Model {
|
|
|
980
661
|
static types(): { [key: string]: any } {
|
|
981
662
|
return {
|
|
982
663
|
authCode: 'string',
|
|
664
|
+
extendFunction: 'string',
|
|
983
665
|
inputNumber: 'string',
|
|
984
666
|
mask: 'string',
|
|
985
667
|
ownerId: 'number',
|
|
@@ -1135,6 +817,7 @@ export class PhoneNumberStatusForPublicResponse extends $tea.Model {
|
|
|
1135
817
|
|
|
1136
818
|
export class PhoneNumberStatusForRealRequest extends $tea.Model {
|
|
1137
819
|
authCode?: string;
|
|
820
|
+
extendFunction?: string;
|
|
1138
821
|
inputNumber?: string;
|
|
1139
822
|
mask?: string;
|
|
1140
823
|
ownerId?: number;
|
|
@@ -1143,6 +826,7 @@ export class PhoneNumberStatusForRealRequest extends $tea.Model {
|
|
|
1143
826
|
static names(): { [key: string]: string } {
|
|
1144
827
|
return {
|
|
1145
828
|
authCode: 'AuthCode',
|
|
829
|
+
extendFunction: 'ExtendFunction',
|
|
1146
830
|
inputNumber: 'InputNumber',
|
|
1147
831
|
mask: 'Mask',
|
|
1148
832
|
ownerId: 'OwnerId',
|
|
@@ -1154,6 +838,7 @@ export class PhoneNumberStatusForRealRequest extends $tea.Model {
|
|
|
1154
838
|
static types(): { [key: string]: any } {
|
|
1155
839
|
return {
|
|
1156
840
|
authCode: 'string',
|
|
841
|
+
extendFunction: 'string',
|
|
1157
842
|
inputNumber: 'string',
|
|
1158
843
|
mask: 'string',
|
|
1159
844
|
ownerId: 'number',
|
|
@@ -1222,6 +907,7 @@ export class PhoneNumberStatusForRealResponse extends $tea.Model {
|
|
|
1222
907
|
|
|
1223
908
|
export class PhoneNumberStatusForSmsRequest extends $tea.Model {
|
|
1224
909
|
authCode?: string;
|
|
910
|
+
extendFunction?: string;
|
|
1225
911
|
inputNumber?: string;
|
|
1226
912
|
mask?: string;
|
|
1227
913
|
ownerId?: number;
|
|
@@ -1230,6 +916,7 @@ export class PhoneNumberStatusForSmsRequest extends $tea.Model {
|
|
|
1230
916
|
static names(): { [key: string]: string } {
|
|
1231
917
|
return {
|
|
1232
918
|
authCode: 'AuthCode',
|
|
919
|
+
extendFunction: 'ExtendFunction',
|
|
1233
920
|
inputNumber: 'InputNumber',
|
|
1234
921
|
mask: 'Mask',
|
|
1235
922
|
ownerId: 'OwnerId',
|
|
@@ -1241,6 +928,7 @@ export class PhoneNumberStatusForSmsRequest extends $tea.Model {
|
|
|
1241
928
|
static types(): { [key: string]: any } {
|
|
1242
929
|
return {
|
|
1243
930
|
authCode: 'string',
|
|
931
|
+
extendFunction: 'string',
|
|
1244
932
|
inputNumber: 'string',
|
|
1245
933
|
mask: 'string',
|
|
1246
934
|
ownerId: 'number',
|
|
@@ -1309,6 +997,7 @@ export class PhoneNumberStatusForSmsResponse extends $tea.Model {
|
|
|
1309
997
|
|
|
1310
998
|
export class PhoneNumberStatusForVirtualRequest extends $tea.Model {
|
|
1311
999
|
authCode?: string;
|
|
1000
|
+
extendFunction?: string;
|
|
1312
1001
|
inputNumber?: string;
|
|
1313
1002
|
mask?: string;
|
|
1314
1003
|
ownerId?: number;
|
|
@@ -1317,6 +1006,7 @@ export class PhoneNumberStatusForVirtualRequest extends $tea.Model {
|
|
|
1317
1006
|
static names(): { [key: string]: string } {
|
|
1318
1007
|
return {
|
|
1319
1008
|
authCode: 'AuthCode',
|
|
1009
|
+
extendFunction: 'ExtendFunction',
|
|
1320
1010
|
inputNumber: 'InputNumber',
|
|
1321
1011
|
mask: 'Mask',
|
|
1322
1012
|
ownerId: 'OwnerId',
|
|
@@ -1328,6 +1018,7 @@ export class PhoneNumberStatusForVirtualRequest extends $tea.Model {
|
|
|
1328
1018
|
static types(): { [key: string]: any } {
|
|
1329
1019
|
return {
|
|
1330
1020
|
authCode: 'string',
|
|
1021
|
+
extendFunction: 'string',
|
|
1331
1022
|
inputNumber: 'string',
|
|
1332
1023
|
mask: 'string',
|
|
1333
1024
|
ownerId: 'number',
|
|
@@ -1396,6 +1087,7 @@ export class PhoneNumberStatusForVirtualResponse extends $tea.Model {
|
|
|
1396
1087
|
|
|
1397
1088
|
export class PhoneNumberStatusForVoiceRequest extends $tea.Model {
|
|
1398
1089
|
authCode?: string;
|
|
1090
|
+
extendFunction?: string;
|
|
1399
1091
|
inputNumber?: string;
|
|
1400
1092
|
mask?: string;
|
|
1401
1093
|
ownerId?: number;
|
|
@@ -1404,6 +1096,7 @@ export class PhoneNumberStatusForVoiceRequest extends $tea.Model {
|
|
|
1404
1096
|
static names(): { [key: string]: string } {
|
|
1405
1097
|
return {
|
|
1406
1098
|
authCode: 'AuthCode',
|
|
1099
|
+
extendFunction: 'ExtendFunction',
|
|
1407
1100
|
inputNumber: 'InputNumber',
|
|
1408
1101
|
mask: 'Mask',
|
|
1409
1102
|
ownerId: 'OwnerId',
|
|
@@ -1415,6 +1108,7 @@ export class PhoneNumberStatusForVoiceRequest extends $tea.Model {
|
|
|
1415
1108
|
static types(): { [key: string]: any } {
|
|
1416
1109
|
return {
|
|
1417
1110
|
authCode: 'string',
|
|
1111
|
+
extendFunction: 'string',
|
|
1418
1112
|
inputNumber: 'string',
|
|
1419
1113
|
mask: 'string',
|
|
1420
1114
|
ownerId: 'number',
|
|
@@ -1484,24 +1178,24 @@ export class PhoneNumberStatusForVoiceResponse extends $tea.Model {
|
|
|
1484
1178
|
export class ThreeElementsVerificationRequest extends $tea.Model {
|
|
1485
1179
|
authCode?: string;
|
|
1486
1180
|
certCode?: string;
|
|
1181
|
+
extendFunction?: string;
|
|
1487
1182
|
inputNumber?: string;
|
|
1488
1183
|
mask?: string;
|
|
1489
1184
|
name?: string;
|
|
1490
1185
|
ownerId?: number;
|
|
1491
1186
|
resourceOwnerAccount?: string;
|
|
1492
1187
|
resourceOwnerId?: number;
|
|
1493
|
-
routeName?: string;
|
|
1494
1188
|
static names(): { [key: string]: string } {
|
|
1495
1189
|
return {
|
|
1496
1190
|
authCode: 'AuthCode',
|
|
1497
1191
|
certCode: 'CertCode',
|
|
1192
|
+
extendFunction: 'ExtendFunction',
|
|
1498
1193
|
inputNumber: 'InputNumber',
|
|
1499
1194
|
mask: 'Mask',
|
|
1500
1195
|
name: 'Name',
|
|
1501
1196
|
ownerId: 'OwnerId',
|
|
1502
1197
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1503
1198
|
resourceOwnerId: 'ResourceOwnerId',
|
|
1504
|
-
routeName: 'RouteName',
|
|
1505
1199
|
};
|
|
1506
1200
|
}
|
|
1507
1201
|
|
|
@@ -1509,13 +1203,13 @@ export class ThreeElementsVerificationRequest extends $tea.Model {
|
|
|
1509
1203
|
return {
|
|
1510
1204
|
authCode: 'string',
|
|
1511
1205
|
certCode: 'string',
|
|
1206
|
+
extendFunction: 'string',
|
|
1512
1207
|
inputNumber: 'string',
|
|
1513
1208
|
mask: 'string',
|
|
1514
1209
|
name: 'string',
|
|
1515
1210
|
ownerId: 'number',
|
|
1516
1211
|
resourceOwnerAccount: 'string',
|
|
1517
1212
|
resourceOwnerId: 'number',
|
|
1518
|
-
routeName: 'string',
|
|
1519
1213
|
};
|
|
1520
1214
|
}
|
|
1521
1215
|
|
|
@@ -1579,6 +1273,7 @@ export class ThreeElementsVerificationResponse extends $tea.Model {
|
|
|
1579
1273
|
|
|
1580
1274
|
export class TwoElementsVerificationRequest extends $tea.Model {
|
|
1581
1275
|
authCode?: string;
|
|
1276
|
+
extendFunction?: string;
|
|
1582
1277
|
inputNumber?: string;
|
|
1583
1278
|
mask?: string;
|
|
1584
1279
|
name?: string;
|
|
@@ -1588,6 +1283,7 @@ export class TwoElementsVerificationRequest extends $tea.Model {
|
|
|
1588
1283
|
static names(): { [key: string]: string } {
|
|
1589
1284
|
return {
|
|
1590
1285
|
authCode: 'AuthCode',
|
|
1286
|
+
extendFunction: 'ExtendFunction',
|
|
1591
1287
|
inputNumber: 'InputNumber',
|
|
1592
1288
|
mask: 'Mask',
|
|
1593
1289
|
name: 'Name',
|
|
@@ -1600,6 +1296,7 @@ export class TwoElementsVerificationRequest extends $tea.Model {
|
|
|
1600
1296
|
static types(): { [key: string]: any } {
|
|
1601
1297
|
return {
|
|
1602
1298
|
authCode: 'string',
|
|
1299
|
+
extendFunction: 'string',
|
|
1603
1300
|
inputNumber: 'string',
|
|
1604
1301
|
mask: 'string',
|
|
1605
1302
|
name: 'string',
|
|
@@ -1689,28 +1386,6 @@ export class DescribeEmptyNumberResponseBodyData extends $tea.Model {
|
|
|
1689
1386
|
}
|
|
1690
1387
|
}
|
|
1691
1388
|
|
|
1692
|
-
export class DescribeEmptyNumberDetectResponseBodyData extends $tea.Model {
|
|
1693
|
-
number?: string;
|
|
1694
|
-
status?: string;
|
|
1695
|
-
static names(): { [key: string]: string } {
|
|
1696
|
-
return {
|
|
1697
|
-
number: 'Number',
|
|
1698
|
-
status: 'Status',
|
|
1699
|
-
};
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
static types(): { [key: string]: any } {
|
|
1703
|
-
return {
|
|
1704
|
-
number: 'string',
|
|
1705
|
-
status: 'string',
|
|
1706
|
-
};
|
|
1707
|
-
}
|
|
1708
|
-
|
|
1709
|
-
constructor(map?: { [key: string]: any }) {
|
|
1710
|
-
super(map);
|
|
1711
|
-
}
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
1389
|
export class DescribePhoneNumberAnalysisResponseBodyData extends $tea.Model {
|
|
1715
1390
|
code?: string;
|
|
1716
1391
|
number?: string;
|
|
@@ -1733,40 +1408,6 @@ export class DescribePhoneNumberAnalysisResponseBodyData extends $tea.Model {
|
|
|
1733
1408
|
}
|
|
1734
1409
|
}
|
|
1735
1410
|
|
|
1736
|
-
export class DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute extends $tea.Model {
|
|
1737
|
-
basicCarrier?: string;
|
|
1738
|
-
carrier?: string;
|
|
1739
|
-
city?: string;
|
|
1740
|
-
isNumberPortability?: boolean;
|
|
1741
|
-
numberSegment?: number;
|
|
1742
|
-
province?: string;
|
|
1743
|
-
static names(): { [key: string]: string } {
|
|
1744
|
-
return {
|
|
1745
|
-
basicCarrier: 'BasicCarrier',
|
|
1746
|
-
carrier: 'Carrier',
|
|
1747
|
-
city: 'City',
|
|
1748
|
-
isNumberPortability: 'IsNumberPortability',
|
|
1749
|
-
numberSegment: 'NumberSegment',
|
|
1750
|
-
province: 'Province',
|
|
1751
|
-
};
|
|
1752
|
-
}
|
|
1753
|
-
|
|
1754
|
-
static types(): { [key: string]: any } {
|
|
1755
|
-
return {
|
|
1756
|
-
basicCarrier: 'string',
|
|
1757
|
-
carrier: 'string',
|
|
1758
|
-
city: 'string',
|
|
1759
|
-
isNumberPortability: 'boolean',
|
|
1760
|
-
numberSegment: 'number',
|
|
1761
|
-
province: 'string',
|
|
1762
|
-
};
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
|
-
constructor(map?: { [key: string]: any }) {
|
|
1766
|
-
super(map);
|
|
1767
|
-
}
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
1411
|
export class DescribePhoneNumberOnlineTimeResponseBodyData extends $tea.Model {
|
|
1771
1412
|
carrierCode?: string;
|
|
1772
1413
|
verifyResult?: string;
|
|
@@ -1823,53 +1464,6 @@ export class DescribePhoneNumberOperatorAttributeResponseBodyData extends $tea.M
|
|
|
1823
1464
|
}
|
|
1824
1465
|
}
|
|
1825
1466
|
|
|
1826
|
-
export class DescribePhoneNumberResaleResponseBodyTwiceTelVerify extends $tea.Model {
|
|
1827
|
-
carrier?: string;
|
|
1828
|
-
verifyResult?: number;
|
|
1829
|
-
static names(): { [key: string]: string } {
|
|
1830
|
-
return {
|
|
1831
|
-
carrier: 'Carrier',
|
|
1832
|
-
verifyResult: 'VerifyResult',
|
|
1833
|
-
};
|
|
1834
|
-
}
|
|
1835
|
-
|
|
1836
|
-
static types(): { [key: string]: any } {
|
|
1837
|
-
return {
|
|
1838
|
-
carrier: 'string',
|
|
1839
|
-
verifyResult: 'number',
|
|
1840
|
-
};
|
|
1841
|
-
}
|
|
1842
|
-
|
|
1843
|
-
constructor(map?: { [key: string]: any }) {
|
|
1844
|
-
super(map);
|
|
1845
|
-
}
|
|
1846
|
-
}
|
|
1847
|
-
|
|
1848
|
-
export class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $tea.Model {
|
|
1849
|
-
carrier?: string;
|
|
1850
|
-
serialId?: string;
|
|
1851
|
-
status?: string;
|
|
1852
|
-
static names(): { [key: string]: string } {
|
|
1853
|
-
return {
|
|
1854
|
-
carrier: 'Carrier',
|
|
1855
|
-
serialId: 'SerialId',
|
|
1856
|
-
status: 'Status',
|
|
1857
|
-
};
|
|
1858
|
-
}
|
|
1859
|
-
|
|
1860
|
-
static types(): { [key: string]: any } {
|
|
1861
|
-
return {
|
|
1862
|
-
carrier: 'string',
|
|
1863
|
-
serialId: 'string',
|
|
1864
|
-
status: 'string',
|
|
1865
|
-
};
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
|
-
constructor(map?: { [key: string]: any }) {
|
|
1869
|
-
super(map);
|
|
1870
|
-
}
|
|
1871
|
-
}
|
|
1872
|
-
|
|
1873
1467
|
export class DescribePhoneTwiceTelVerifyResponseBodyData extends $tea.Model {
|
|
1874
1468
|
carrier?: string;
|
|
1875
1469
|
verifyResult?: string;
|
|
@@ -2148,6 +1742,10 @@ export default class Client extends OpenApi {
|
|
|
2148
1742
|
query["AuthCode"] = request.authCode;
|
|
2149
1743
|
}
|
|
2150
1744
|
|
|
1745
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
1746
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
1747
|
+
}
|
|
1748
|
+
|
|
2151
1749
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2152
1750
|
query["InputNumber"] = request.inputNumber;
|
|
2153
1751
|
}
|
|
@@ -2190,51 +1788,6 @@ export default class Client extends OpenApi {
|
|
|
2190
1788
|
return await this.describeEmptyNumberWithOptions(request, runtime);
|
|
2191
1789
|
}
|
|
2192
1790
|
|
|
2193
|
-
async describeEmptyNumberDetectWithOptions(request: DescribeEmptyNumberDetectRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEmptyNumberDetectResponse> {
|
|
2194
|
-
Util.validateModel(request);
|
|
2195
|
-
let query = { };
|
|
2196
|
-
if (!Util.isUnset(request.encryptType)) {
|
|
2197
|
-
query["EncryptType"] = request.encryptType;
|
|
2198
|
-
}
|
|
2199
|
-
|
|
2200
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
2201
|
-
query["OwnerId"] = request.ownerId;
|
|
2202
|
-
}
|
|
2203
|
-
|
|
2204
|
-
if (!Util.isUnset(request.phone)) {
|
|
2205
|
-
query["Phone"] = request.phone;
|
|
2206
|
-
}
|
|
2207
|
-
|
|
2208
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2209
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2210
|
-
}
|
|
2211
|
-
|
|
2212
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2213
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2214
|
-
}
|
|
2215
|
-
|
|
2216
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
2217
|
-
query: OpenApiUtil.query(query),
|
|
2218
|
-
});
|
|
2219
|
-
let params = new $OpenApi.Params({
|
|
2220
|
-
action: "DescribeEmptyNumberDetect",
|
|
2221
|
-
version: "2020-02-17",
|
|
2222
|
-
protocol: "HTTPS",
|
|
2223
|
-
pathname: "/",
|
|
2224
|
-
method: "POST",
|
|
2225
|
-
authType: "AK",
|
|
2226
|
-
style: "RPC",
|
|
2227
|
-
reqBodyType: "formData",
|
|
2228
|
-
bodyType: "json",
|
|
2229
|
-
});
|
|
2230
|
-
return $tea.cast<DescribeEmptyNumberDetectResponse>(await this.callApi(params, req, runtime), new DescribeEmptyNumberDetectResponse({}));
|
|
2231
|
-
}
|
|
2232
|
-
|
|
2233
|
-
async describeEmptyNumberDetect(request: DescribeEmptyNumberDetectRequest): Promise<DescribeEmptyNumberDetectResponse> {
|
|
2234
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
2235
|
-
return await this.describeEmptyNumberDetectWithOptions(request, runtime);
|
|
2236
|
-
}
|
|
2237
|
-
|
|
2238
1791
|
async describePhoneNumberAnalysisWithOptions(request: DescribePhoneNumberAnalysisRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAnalysisResponse> {
|
|
2239
1792
|
Util.validateModel(request);
|
|
2240
1793
|
let query = { };
|
|
@@ -2292,47 +1845,6 @@ export default class Client extends OpenApi {
|
|
|
2292
1845
|
return await this.describePhoneNumberAnalysisWithOptions(request, runtime);
|
|
2293
1846
|
}
|
|
2294
1847
|
|
|
2295
|
-
async describePhoneNumberAttributeWithOptions(request: DescribePhoneNumberAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAttributeResponse> {
|
|
2296
|
-
Util.validateModel(request);
|
|
2297
|
-
let query = { };
|
|
2298
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
2299
|
-
query["OwnerId"] = request.ownerId;
|
|
2300
|
-
}
|
|
2301
|
-
|
|
2302
|
-
if (!Util.isUnset(request.phoneNumber)) {
|
|
2303
|
-
query["PhoneNumber"] = request.phoneNumber;
|
|
2304
|
-
}
|
|
2305
|
-
|
|
2306
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2307
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2308
|
-
}
|
|
2309
|
-
|
|
2310
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2311
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2312
|
-
}
|
|
2313
|
-
|
|
2314
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
2315
|
-
query: OpenApiUtil.query(query),
|
|
2316
|
-
});
|
|
2317
|
-
let params = new $OpenApi.Params({
|
|
2318
|
-
action: "DescribePhoneNumberAttribute",
|
|
2319
|
-
version: "2020-02-17",
|
|
2320
|
-
protocol: "HTTPS",
|
|
2321
|
-
pathname: "/",
|
|
2322
|
-
method: "POST",
|
|
2323
|
-
authType: "AK",
|
|
2324
|
-
style: "RPC",
|
|
2325
|
-
reqBodyType: "formData",
|
|
2326
|
-
bodyType: "json",
|
|
2327
|
-
});
|
|
2328
|
-
return $tea.cast<DescribePhoneNumberAttributeResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberAttributeResponse({}));
|
|
2329
|
-
}
|
|
2330
|
-
|
|
2331
|
-
async describePhoneNumberAttribute(request: DescribePhoneNumberAttributeRequest): Promise<DescribePhoneNumberAttributeResponse> {
|
|
2332
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
2333
|
-
return await this.describePhoneNumberAttributeWithOptions(request, runtime);
|
|
2334
|
-
}
|
|
2335
|
-
|
|
2336
1848
|
async describePhoneNumberOnlineTimeWithOptions(request: DescribePhoneNumberOnlineTimeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberOnlineTimeResponse> {
|
|
2337
1849
|
Util.validateModel(request);
|
|
2338
1850
|
let query = { };
|
|
@@ -2344,6 +1856,10 @@ export default class Client extends OpenApi {
|
|
|
2344
1856
|
query["Carrier"] = request.carrier;
|
|
2345
1857
|
}
|
|
2346
1858
|
|
|
1859
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
1860
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
1861
|
+
}
|
|
1862
|
+
|
|
2347
1863
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2348
1864
|
query["InputNumber"] = request.inputNumber;
|
|
2349
1865
|
}
|
|
@@ -2435,92 +1951,6 @@ export default class Client extends OpenApi {
|
|
|
2435
1951
|
return await this.describePhoneNumberOperatorAttributeWithOptions(request, runtime);
|
|
2436
1952
|
}
|
|
2437
1953
|
|
|
2438
|
-
async describePhoneNumberResaleWithOptions(request: DescribePhoneNumberResaleRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberResaleResponse> {
|
|
2439
|
-
Util.validateModel(request);
|
|
2440
|
-
let query = { };
|
|
2441
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
2442
|
-
query["OwnerId"] = request.ownerId;
|
|
2443
|
-
}
|
|
2444
|
-
|
|
2445
|
-
if (!Util.isUnset(request.phoneNumber)) {
|
|
2446
|
-
query["PhoneNumber"] = request.phoneNumber;
|
|
2447
|
-
}
|
|
2448
|
-
|
|
2449
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2450
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2451
|
-
}
|
|
2452
|
-
|
|
2453
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2454
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2455
|
-
}
|
|
2456
|
-
|
|
2457
|
-
if (!Util.isUnset(request.since)) {
|
|
2458
|
-
query["Since"] = request.since;
|
|
2459
|
-
}
|
|
2460
|
-
|
|
2461
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
2462
|
-
query: OpenApiUtil.query(query),
|
|
2463
|
-
});
|
|
2464
|
-
let params = new $OpenApi.Params({
|
|
2465
|
-
action: "DescribePhoneNumberResale",
|
|
2466
|
-
version: "2020-02-17",
|
|
2467
|
-
protocol: "HTTPS",
|
|
2468
|
-
pathname: "/",
|
|
2469
|
-
method: "POST",
|
|
2470
|
-
authType: "AK",
|
|
2471
|
-
style: "RPC",
|
|
2472
|
-
reqBodyType: "formData",
|
|
2473
|
-
bodyType: "json",
|
|
2474
|
-
});
|
|
2475
|
-
return $tea.cast<DescribePhoneNumberResaleResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberResaleResponse({}));
|
|
2476
|
-
}
|
|
2477
|
-
|
|
2478
|
-
async describePhoneNumberResale(request: DescribePhoneNumberResaleRequest): Promise<DescribePhoneNumberResaleResponse> {
|
|
2479
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
2480
|
-
return await this.describePhoneNumberResaleWithOptions(request, runtime);
|
|
2481
|
-
}
|
|
2482
|
-
|
|
2483
|
-
async describePhoneNumberStatusWithOptions(request: DescribePhoneNumberStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberStatusResponse> {
|
|
2484
|
-
Util.validateModel(request);
|
|
2485
|
-
let query = { };
|
|
2486
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
2487
|
-
query["OwnerId"] = request.ownerId;
|
|
2488
|
-
}
|
|
2489
|
-
|
|
2490
|
-
if (!Util.isUnset(request.phoneNumber)) {
|
|
2491
|
-
query["PhoneNumber"] = request.phoneNumber;
|
|
2492
|
-
}
|
|
2493
|
-
|
|
2494
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2495
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2496
|
-
}
|
|
2497
|
-
|
|
2498
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2499
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2500
|
-
}
|
|
2501
|
-
|
|
2502
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
2503
|
-
query: OpenApiUtil.query(query),
|
|
2504
|
-
});
|
|
2505
|
-
let params = new $OpenApi.Params({
|
|
2506
|
-
action: "DescribePhoneNumberStatus",
|
|
2507
|
-
version: "2020-02-17",
|
|
2508
|
-
protocol: "HTTPS",
|
|
2509
|
-
pathname: "/",
|
|
2510
|
-
method: "POST",
|
|
2511
|
-
authType: "AK",
|
|
2512
|
-
style: "RPC",
|
|
2513
|
-
reqBodyType: "formData",
|
|
2514
|
-
bodyType: "json",
|
|
2515
|
-
});
|
|
2516
|
-
return $tea.cast<DescribePhoneNumberStatusResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberStatusResponse({}));
|
|
2517
|
-
}
|
|
2518
|
-
|
|
2519
|
-
async describePhoneNumberStatus(request: DescribePhoneNumberStatusRequest): Promise<DescribePhoneNumberStatusResponse> {
|
|
2520
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
2521
|
-
return await this.describePhoneNumberStatusWithOptions(request, runtime);
|
|
2522
|
-
}
|
|
2523
|
-
|
|
2524
1954
|
async describePhoneTwiceTelVerifyWithOptions(request: DescribePhoneTwiceTelVerifyRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneTwiceTelVerifyResponse> {
|
|
2525
1955
|
Util.validateModel(request);
|
|
2526
1956
|
let query = { };
|
|
@@ -2528,6 +1958,10 @@ export default class Client extends OpenApi {
|
|
|
2528
1958
|
query["AuthCode"] = request.authCode;
|
|
2529
1959
|
}
|
|
2530
1960
|
|
|
1961
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
1962
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
1963
|
+
}
|
|
1964
|
+
|
|
2531
1965
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2532
1966
|
query["InputNumber"] = request.inputNumber;
|
|
2533
1967
|
}
|
|
@@ -2679,6 +2113,10 @@ export default class Client extends OpenApi {
|
|
|
2679
2113
|
query["AuthCode"] = request.authCode;
|
|
2680
2114
|
}
|
|
2681
2115
|
|
|
2116
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2117
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2682
2120
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2683
2121
|
query["InputNumber"] = request.inputNumber;
|
|
2684
2122
|
}
|
|
@@ -2777,6 +2215,10 @@ export default class Client extends OpenApi {
|
|
|
2777
2215
|
query["AuthCode"] = request.authCode;
|
|
2778
2216
|
}
|
|
2779
2217
|
|
|
2218
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2219
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2780
2222
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2781
2223
|
query["InputNumber"] = request.inputNumber;
|
|
2782
2224
|
}
|
|
@@ -2826,6 +2268,10 @@ export default class Client extends OpenApi {
|
|
|
2826
2268
|
query["AuthCode"] = request.authCode;
|
|
2827
2269
|
}
|
|
2828
2270
|
|
|
2271
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2272
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2829
2275
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2830
2276
|
query["InputNumber"] = request.inputNumber;
|
|
2831
2277
|
}
|
|
@@ -2875,6 +2321,10 @@ export default class Client extends OpenApi {
|
|
|
2875
2321
|
query["AuthCode"] = request.authCode;
|
|
2876
2322
|
}
|
|
2877
2323
|
|
|
2324
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2325
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2326
|
+
}
|
|
2327
|
+
|
|
2878
2328
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2879
2329
|
query["InputNumber"] = request.inputNumber;
|
|
2880
2330
|
}
|
|
@@ -2924,6 +2374,10 @@ export default class Client extends OpenApi {
|
|
|
2924
2374
|
query["AuthCode"] = request.authCode;
|
|
2925
2375
|
}
|
|
2926
2376
|
|
|
2377
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2378
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2927
2381
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2928
2382
|
query["InputNumber"] = request.inputNumber;
|
|
2929
2383
|
}
|
|
@@ -2977,6 +2431,10 @@ export default class Client extends OpenApi {
|
|
|
2977
2431
|
query["CertCode"] = request.certCode;
|
|
2978
2432
|
}
|
|
2979
2433
|
|
|
2434
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2435
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2980
2438
|
if (!Util.isUnset(request.inputNumber)) {
|
|
2981
2439
|
query["InputNumber"] = request.inputNumber;
|
|
2982
2440
|
}
|
|
@@ -3001,10 +2459,6 @@ export default class Client extends OpenApi {
|
|
|
3001
2459
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3002
2460
|
}
|
|
3003
2461
|
|
|
3004
|
-
if (!Util.isUnset(request.routeName)) {
|
|
3005
|
-
query["RouteName"] = request.routeName;
|
|
3006
|
-
}
|
|
3007
|
-
|
|
3008
2462
|
let req = new $OpenApi.OpenApiRequest({
|
|
3009
2463
|
query: OpenApiUtil.query(query),
|
|
3010
2464
|
});
|
|
@@ -3034,6 +2488,10 @@ export default class Client extends OpenApi {
|
|
|
3034
2488
|
query["AuthCode"] = request.authCode;
|
|
3035
2489
|
}
|
|
3036
2490
|
|
|
2491
|
+
if (!Util.isUnset(request.extendFunction)) {
|
|
2492
|
+
query["ExtendFunction"] = request.extendFunction;
|
|
2493
|
+
}
|
|
2494
|
+
|
|
3037
2495
|
if (!Util.isUnset(request.inputNumber)) {
|
|
3038
2496
|
query["InputNumber"] = request.inputNumber;
|
|
3039
2497
|
}
|