@alicloud/dytnsapi20200217 1.0.7 → 1.0.10
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 +191 -3
- package/dist/client.js +394 -9
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +499 -8
package/dist/client.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare class DescribeEmptyNumberDetectResponse extends $tea.Model {
|
|
|
39
39
|
headers: {
|
|
40
40
|
[key: string]: string;
|
|
41
41
|
};
|
|
42
|
+
statusCode: number;
|
|
42
43
|
body: DescribeEmptyNumberDetectResponseBody;
|
|
43
44
|
static names(): {
|
|
44
45
|
[key: string]: string;
|
|
@@ -88,6 +89,7 @@ export declare class DescribePhoneNumberAnalysisResponse extends $tea.Model {
|
|
|
88
89
|
headers: {
|
|
89
90
|
[key: string]: string;
|
|
90
91
|
};
|
|
92
|
+
statusCode: number;
|
|
91
93
|
body: DescribePhoneNumberAnalysisResponseBody;
|
|
92
94
|
static names(): {
|
|
93
95
|
[key: string]: string;
|
|
@@ -133,6 +135,7 @@ export declare class DescribePhoneNumberAttributeResponse extends $tea.Model {
|
|
|
133
135
|
headers: {
|
|
134
136
|
[key: string]: string;
|
|
135
137
|
};
|
|
138
|
+
statusCode: number;
|
|
136
139
|
body: DescribePhoneNumberAttributeResponseBody;
|
|
137
140
|
static names(): {
|
|
138
141
|
[key: string]: string;
|
|
@@ -181,6 +184,7 @@ export declare class DescribePhoneNumberOnlineTimeResponse extends $tea.Model {
|
|
|
181
184
|
headers: {
|
|
182
185
|
[key: string]: string;
|
|
183
186
|
};
|
|
187
|
+
statusCode: number;
|
|
184
188
|
body: DescribePhoneNumberOnlineTimeResponseBody;
|
|
185
189
|
static names(): {
|
|
186
190
|
[key: string]: string;
|
|
@@ -192,6 +196,54 @@ export declare class DescribePhoneNumberOnlineTimeResponse extends $tea.Model {
|
|
|
192
196
|
[key: string]: any;
|
|
193
197
|
});
|
|
194
198
|
}
|
|
199
|
+
export declare class DescribePhoneNumberOperatorAttributeRequest extends $tea.Model {
|
|
200
|
+
authCode?: string;
|
|
201
|
+
inputNumber?: string;
|
|
202
|
+
mask?: string;
|
|
203
|
+
ownerId?: number;
|
|
204
|
+
resourceOwnerAccount?: string;
|
|
205
|
+
resourceOwnerId?: number;
|
|
206
|
+
static names(): {
|
|
207
|
+
[key: string]: string;
|
|
208
|
+
};
|
|
209
|
+
static types(): {
|
|
210
|
+
[key: string]: any;
|
|
211
|
+
};
|
|
212
|
+
constructor(map?: {
|
|
213
|
+
[key: string]: any;
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
export declare class DescribePhoneNumberOperatorAttributeResponseBody extends $tea.Model {
|
|
217
|
+
code?: string;
|
|
218
|
+
data?: DescribePhoneNumberOperatorAttributeResponseBodyData;
|
|
219
|
+
message?: string;
|
|
220
|
+
requestId?: string;
|
|
221
|
+
static names(): {
|
|
222
|
+
[key: string]: string;
|
|
223
|
+
};
|
|
224
|
+
static types(): {
|
|
225
|
+
[key: string]: any;
|
|
226
|
+
};
|
|
227
|
+
constructor(map?: {
|
|
228
|
+
[key: string]: any;
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
export declare class DescribePhoneNumberOperatorAttributeResponse extends $tea.Model {
|
|
232
|
+
headers: {
|
|
233
|
+
[key: string]: string;
|
|
234
|
+
};
|
|
235
|
+
statusCode: number;
|
|
236
|
+
body: DescribePhoneNumberOperatorAttributeResponseBody;
|
|
237
|
+
static names(): {
|
|
238
|
+
[key: string]: string;
|
|
239
|
+
};
|
|
240
|
+
static types(): {
|
|
241
|
+
[key: string]: any;
|
|
242
|
+
};
|
|
243
|
+
constructor(map?: {
|
|
244
|
+
[key: string]: any;
|
|
245
|
+
});
|
|
246
|
+
}
|
|
195
247
|
export declare class DescribePhoneNumberResaleRequest extends $tea.Model {
|
|
196
248
|
ownerId?: number;
|
|
197
249
|
phoneNumber?: string;
|
|
@@ -227,6 +279,7 @@ export declare class DescribePhoneNumberResaleResponse extends $tea.Model {
|
|
|
227
279
|
headers: {
|
|
228
280
|
[key: string]: string;
|
|
229
281
|
};
|
|
282
|
+
statusCode: number;
|
|
230
283
|
body: DescribePhoneNumberResaleResponseBody;
|
|
231
284
|
static names(): {
|
|
232
285
|
[key: string]: string;
|
|
@@ -272,6 +325,7 @@ export declare class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
|
272
325
|
headers: {
|
|
273
326
|
[key: string]: string;
|
|
274
327
|
};
|
|
328
|
+
statusCode: number;
|
|
275
329
|
body: DescribePhoneNumberStatusResponseBody;
|
|
276
330
|
static names(): {
|
|
277
331
|
[key: string]: string;
|
|
@@ -319,6 +373,7 @@ export declare class InvalidPhoneNumberFilterResponse extends $tea.Model {
|
|
|
319
373
|
headers: {
|
|
320
374
|
[key: string]: string;
|
|
321
375
|
};
|
|
376
|
+
statusCode: number;
|
|
322
377
|
body: InvalidPhoneNumberFilterResponseBody;
|
|
323
378
|
static names(): {
|
|
324
379
|
[key: string]: string;
|
|
@@ -366,6 +421,7 @@ export declare class PhoneNumberEncryptResponse extends $tea.Model {
|
|
|
366
421
|
headers: {
|
|
367
422
|
[key: string]: string;
|
|
368
423
|
};
|
|
424
|
+
statusCode: number;
|
|
369
425
|
body: PhoneNumberEncryptResponseBody;
|
|
370
426
|
static names(): {
|
|
371
427
|
[key: string]: string;
|
|
@@ -377,10 +433,95 @@ export declare class PhoneNumberEncryptResponse extends $tea.Model {
|
|
|
377
433
|
[key: string]: any;
|
|
378
434
|
});
|
|
379
435
|
}
|
|
380
|
-
export declare class
|
|
436
|
+
export declare class ThreeElementsVerificationRequest extends $tea.Model {
|
|
437
|
+
authCode?: string;
|
|
438
|
+
certCode?: string;
|
|
439
|
+
inputNumber?: string;
|
|
440
|
+
mask?: string;
|
|
441
|
+
name?: string;
|
|
442
|
+
ownerId?: number;
|
|
443
|
+
resourceOwnerAccount?: string;
|
|
444
|
+
resourceOwnerId?: number;
|
|
445
|
+
static names(): {
|
|
446
|
+
[key: string]: string;
|
|
447
|
+
};
|
|
448
|
+
static types(): {
|
|
449
|
+
[key: string]: any;
|
|
450
|
+
};
|
|
451
|
+
constructor(map?: {
|
|
452
|
+
[key: string]: any;
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
export declare class ThreeElementsVerificationResponseBody extends $tea.Model {
|
|
456
|
+
code?: string;
|
|
457
|
+
data?: ThreeElementsVerificationResponseBodyData;
|
|
458
|
+
message?: string;
|
|
459
|
+
requestId?: string;
|
|
460
|
+
static names(): {
|
|
461
|
+
[key: string]: string;
|
|
462
|
+
};
|
|
463
|
+
static types(): {
|
|
464
|
+
[key: string]: any;
|
|
465
|
+
};
|
|
466
|
+
constructor(map?: {
|
|
467
|
+
[key: string]: any;
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
export declare class ThreeElementsVerificationResponse extends $tea.Model {
|
|
381
471
|
headers: {
|
|
382
472
|
[key: string]: string;
|
|
383
473
|
};
|
|
474
|
+
statusCode: number;
|
|
475
|
+
body: ThreeElementsVerificationResponseBody;
|
|
476
|
+
static names(): {
|
|
477
|
+
[key: string]: string;
|
|
478
|
+
};
|
|
479
|
+
static types(): {
|
|
480
|
+
[key: string]: any;
|
|
481
|
+
};
|
|
482
|
+
constructor(map?: {
|
|
483
|
+
[key: string]: any;
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
export declare class TwoElementsVerificationRequest extends $tea.Model {
|
|
487
|
+
authCode?: string;
|
|
488
|
+
inputNumber?: string;
|
|
489
|
+
mask?: string;
|
|
490
|
+
name?: string;
|
|
491
|
+
ownerId?: number;
|
|
492
|
+
resourceOwnerAccount?: string;
|
|
493
|
+
resourceOwnerId?: number;
|
|
494
|
+
static names(): {
|
|
495
|
+
[key: string]: string;
|
|
496
|
+
};
|
|
497
|
+
static types(): {
|
|
498
|
+
[key: string]: any;
|
|
499
|
+
};
|
|
500
|
+
constructor(map?: {
|
|
501
|
+
[key: string]: any;
|
|
502
|
+
});
|
|
503
|
+
}
|
|
504
|
+
export declare class TwoElementsVerificationResponseBody extends $tea.Model {
|
|
505
|
+
code?: string;
|
|
506
|
+
data?: TwoElementsVerificationResponseBodyData;
|
|
507
|
+
message?: string;
|
|
508
|
+
requestId?: string;
|
|
509
|
+
static names(): {
|
|
510
|
+
[key: string]: string;
|
|
511
|
+
};
|
|
512
|
+
static types(): {
|
|
513
|
+
[key: string]: any;
|
|
514
|
+
};
|
|
515
|
+
constructor(map?: {
|
|
516
|
+
[key: string]: any;
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
export declare class TwoElementsVerificationResponse extends $tea.Model {
|
|
520
|
+
headers: {
|
|
521
|
+
[key: string]: string;
|
|
522
|
+
};
|
|
523
|
+
statusCode: number;
|
|
524
|
+
body: TwoElementsVerificationResponseBody;
|
|
384
525
|
static names(): {
|
|
385
526
|
[key: string]: string;
|
|
386
527
|
};
|
|
@@ -446,6 +587,23 @@ export declare class DescribePhoneNumberOnlineTimeResponseBodyData extends $tea.
|
|
|
446
587
|
[key: string]: any;
|
|
447
588
|
});
|
|
448
589
|
}
|
|
590
|
+
export declare class DescribePhoneNumberOperatorAttributeResponseBodyData extends $tea.Model {
|
|
591
|
+
basicCarrier?: string;
|
|
592
|
+
carrier?: string;
|
|
593
|
+
city?: string;
|
|
594
|
+
isNumberPortability?: boolean;
|
|
595
|
+
numberSegment?: number;
|
|
596
|
+
province?: string;
|
|
597
|
+
static names(): {
|
|
598
|
+
[key: string]: string;
|
|
599
|
+
};
|
|
600
|
+
static types(): {
|
|
601
|
+
[key: string]: any;
|
|
602
|
+
};
|
|
603
|
+
constructor(map?: {
|
|
604
|
+
[key: string]: any;
|
|
605
|
+
});
|
|
606
|
+
}
|
|
449
607
|
export declare class DescribePhoneNumberResaleResponseBodyTwiceTelVerify extends $tea.Model {
|
|
450
608
|
carrier?: string;
|
|
451
609
|
verifyResult?: number;
|
|
@@ -502,6 +660,32 @@ export declare class PhoneNumberEncryptResponseBodyData extends $tea.Model {
|
|
|
502
660
|
[key: string]: any;
|
|
503
661
|
});
|
|
504
662
|
}
|
|
663
|
+
export declare class ThreeElementsVerificationResponseBodyData extends $tea.Model {
|
|
664
|
+
basicCarrier?: string;
|
|
665
|
+
isConsistent?: number;
|
|
666
|
+
static names(): {
|
|
667
|
+
[key: string]: string;
|
|
668
|
+
};
|
|
669
|
+
static types(): {
|
|
670
|
+
[key: string]: any;
|
|
671
|
+
};
|
|
672
|
+
constructor(map?: {
|
|
673
|
+
[key: string]: any;
|
|
674
|
+
});
|
|
675
|
+
}
|
|
676
|
+
export declare class TwoElementsVerificationResponseBodyData extends $tea.Model {
|
|
677
|
+
basicCarrier?: string;
|
|
678
|
+
isConsistent?: number;
|
|
679
|
+
static names(): {
|
|
680
|
+
[key: string]: string;
|
|
681
|
+
};
|
|
682
|
+
static types(): {
|
|
683
|
+
[key: string]: any;
|
|
684
|
+
};
|
|
685
|
+
constructor(map?: {
|
|
686
|
+
[key: string]: any;
|
|
687
|
+
});
|
|
688
|
+
}
|
|
505
689
|
export default class Client extends OpenApi {
|
|
506
690
|
constructor(config: $OpenApi.Config);
|
|
507
691
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
@@ -515,6 +699,8 @@ export default class Client extends OpenApi {
|
|
|
515
699
|
describePhoneNumberAttribute(request: DescribePhoneNumberAttributeRequest): Promise<DescribePhoneNumberAttributeResponse>;
|
|
516
700
|
describePhoneNumberOnlineTimeWithOptions(request: DescribePhoneNumberOnlineTimeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberOnlineTimeResponse>;
|
|
517
701
|
describePhoneNumberOnlineTime(request: DescribePhoneNumberOnlineTimeRequest): Promise<DescribePhoneNumberOnlineTimeResponse>;
|
|
702
|
+
describePhoneNumberOperatorAttributeWithOptions(request: DescribePhoneNumberOperatorAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberOperatorAttributeResponse>;
|
|
703
|
+
describePhoneNumberOperatorAttribute(request: DescribePhoneNumberOperatorAttributeRequest): Promise<DescribePhoneNumberOperatorAttributeResponse>;
|
|
518
704
|
describePhoneNumberResaleWithOptions(request: DescribePhoneNumberResaleRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberResaleResponse>;
|
|
519
705
|
describePhoneNumberResale(request: DescribePhoneNumberResaleRequest): Promise<DescribePhoneNumberResaleResponse>;
|
|
520
706
|
describePhoneNumberStatusWithOptions(request: DescribePhoneNumberStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberStatusResponse>;
|
|
@@ -523,6 +709,8 @@ export default class Client extends OpenApi {
|
|
|
523
709
|
invalidPhoneNumberFilter(request: InvalidPhoneNumberFilterRequest): Promise<InvalidPhoneNumberFilterResponse>;
|
|
524
710
|
phoneNumberEncryptWithOptions(request: PhoneNumberEncryptRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberEncryptResponse>;
|
|
525
711
|
phoneNumberEncrypt(request: PhoneNumberEncryptRequest): Promise<PhoneNumberEncryptResponse>;
|
|
526
|
-
|
|
527
|
-
|
|
712
|
+
threeElementsVerificationWithOptions(request: ThreeElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<ThreeElementsVerificationResponse>;
|
|
713
|
+
threeElementsVerification(request: ThreeElementsVerificationRequest): Promise<ThreeElementsVerificationResponse>;
|
|
714
|
+
twoElementsVerificationWithOptions(request: TwoElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<TwoElementsVerificationResponse>;
|
|
715
|
+
twoElementsVerification(request: TwoElementsVerificationRequest): Promise<TwoElementsVerificationResponse>;
|
|
528
716
|
}
|