@alicloud/dytnsapi20200217 2.2.1 → 2.3.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/client.d.ts +517 -0
- package/dist/client.js +683 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +765 -0
package/src/client.ts
CHANGED
|
@@ -905,6 +905,111 @@ export class DescribePhoneTwiceTelVerifyResponse extends $tea.Model {
|
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
907
|
|
|
908
|
+
export class GetUAIDApplyTokenSignRequest extends $tea.Model {
|
|
909
|
+
authCode?: string;
|
|
910
|
+
carrier?: string;
|
|
911
|
+
clientType?: string;
|
|
912
|
+
format?: string;
|
|
913
|
+
outId?: string;
|
|
914
|
+
ownerId?: number;
|
|
915
|
+
paramKey?: string;
|
|
916
|
+
paramStr?: string;
|
|
917
|
+
resourceOwnerAccount?: string;
|
|
918
|
+
resourceOwnerId?: number;
|
|
919
|
+
time?: string;
|
|
920
|
+
static names(): { [key: string]: string } {
|
|
921
|
+
return {
|
|
922
|
+
authCode: 'AuthCode',
|
|
923
|
+
carrier: 'Carrier',
|
|
924
|
+
clientType: 'ClientType',
|
|
925
|
+
format: 'Format',
|
|
926
|
+
outId: 'OutId',
|
|
927
|
+
ownerId: 'OwnerId',
|
|
928
|
+
paramKey: 'ParamKey',
|
|
929
|
+
paramStr: 'ParamStr',
|
|
930
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
931
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
932
|
+
time: 'Time',
|
|
933
|
+
};
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
static types(): { [key: string]: any } {
|
|
937
|
+
return {
|
|
938
|
+
authCode: 'string',
|
|
939
|
+
carrier: 'string',
|
|
940
|
+
clientType: 'string',
|
|
941
|
+
format: 'string',
|
|
942
|
+
outId: 'string',
|
|
943
|
+
ownerId: 'number',
|
|
944
|
+
paramKey: 'string',
|
|
945
|
+
paramStr: 'string',
|
|
946
|
+
resourceOwnerAccount: 'string',
|
|
947
|
+
resourceOwnerId: 'number',
|
|
948
|
+
time: 'string',
|
|
949
|
+
};
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
constructor(map?: { [key: string]: any }) {
|
|
953
|
+
super(map);
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
export class GetUAIDApplyTokenSignResponseBody extends $tea.Model {
|
|
958
|
+
accessDeniedDetail?: string;
|
|
959
|
+
code?: string;
|
|
960
|
+
data?: GetUAIDApplyTokenSignResponseBodyData;
|
|
961
|
+
message?: string;
|
|
962
|
+
requestId?: string;
|
|
963
|
+
static names(): { [key: string]: string } {
|
|
964
|
+
return {
|
|
965
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
966
|
+
code: 'Code',
|
|
967
|
+
data: 'Data',
|
|
968
|
+
message: 'Message',
|
|
969
|
+
requestId: 'RequestId',
|
|
970
|
+
};
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
static types(): { [key: string]: any } {
|
|
974
|
+
return {
|
|
975
|
+
accessDeniedDetail: 'string',
|
|
976
|
+
code: 'string',
|
|
977
|
+
data: GetUAIDApplyTokenSignResponseBodyData,
|
|
978
|
+
message: 'string',
|
|
979
|
+
requestId: 'string',
|
|
980
|
+
};
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
constructor(map?: { [key: string]: any }) {
|
|
984
|
+
super(map);
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
export class GetUAIDApplyTokenSignResponse extends $tea.Model {
|
|
989
|
+
headers: { [key: string]: string };
|
|
990
|
+
statusCode: number;
|
|
991
|
+
body: GetUAIDApplyTokenSignResponseBody;
|
|
992
|
+
static names(): { [key: string]: string } {
|
|
993
|
+
return {
|
|
994
|
+
headers: 'headers',
|
|
995
|
+
statusCode: 'statusCode',
|
|
996
|
+
body: 'body',
|
|
997
|
+
};
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
static types(): { [key: string]: any } {
|
|
1001
|
+
return {
|
|
1002
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1003
|
+
statusCode: 'number',
|
|
1004
|
+
body: GetUAIDApplyTokenSignResponseBody,
|
|
1005
|
+
};
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
constructor(map?: { [key: string]: any }) {
|
|
1009
|
+
super(map);
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
|
|
908
1013
|
export class InvalidPhoneNumberFilterRequest extends $tea.Model {
|
|
909
1014
|
authCode?: string;
|
|
910
1015
|
inputNumber?: string;
|
|
@@ -2312,6 +2417,105 @@ export class TwoElementsVerificationResponse extends $tea.Model {
|
|
|
2312
2417
|
}
|
|
2313
2418
|
}
|
|
2314
2419
|
|
|
2420
|
+
export class UAIDVerificationRequest extends $tea.Model {
|
|
2421
|
+
authCode?: string;
|
|
2422
|
+
carrier?: string;
|
|
2423
|
+
ip?: string;
|
|
2424
|
+
outId?: string;
|
|
2425
|
+
ownerId?: number;
|
|
2426
|
+
resourceOwnerAccount?: string;
|
|
2427
|
+
resourceOwnerId?: number;
|
|
2428
|
+
token?: string;
|
|
2429
|
+
userGrantId?: string;
|
|
2430
|
+
static names(): { [key: string]: string } {
|
|
2431
|
+
return {
|
|
2432
|
+
authCode: 'AuthCode',
|
|
2433
|
+
carrier: 'Carrier',
|
|
2434
|
+
ip: 'Ip',
|
|
2435
|
+
outId: 'OutId',
|
|
2436
|
+
ownerId: 'OwnerId',
|
|
2437
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
2438
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
2439
|
+
token: 'Token',
|
|
2440
|
+
userGrantId: 'UserGrantId',
|
|
2441
|
+
};
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2444
|
+
static types(): { [key: string]: any } {
|
|
2445
|
+
return {
|
|
2446
|
+
authCode: 'string',
|
|
2447
|
+
carrier: 'string',
|
|
2448
|
+
ip: 'string',
|
|
2449
|
+
outId: 'string',
|
|
2450
|
+
ownerId: 'number',
|
|
2451
|
+
resourceOwnerAccount: 'string',
|
|
2452
|
+
resourceOwnerId: 'number',
|
|
2453
|
+
token: 'string',
|
|
2454
|
+
userGrantId: 'string',
|
|
2455
|
+
};
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
constructor(map?: { [key: string]: any }) {
|
|
2459
|
+
super(map);
|
|
2460
|
+
}
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2463
|
+
export class UAIDVerificationResponseBody extends $tea.Model {
|
|
2464
|
+
accessDeniedDetail?: string;
|
|
2465
|
+
code?: string;
|
|
2466
|
+
data?: UAIDVerificationResponseBodyData;
|
|
2467
|
+
message?: string;
|
|
2468
|
+
requestId?: string;
|
|
2469
|
+
static names(): { [key: string]: string } {
|
|
2470
|
+
return {
|
|
2471
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2472
|
+
code: 'Code',
|
|
2473
|
+
data: 'Data',
|
|
2474
|
+
message: 'Message',
|
|
2475
|
+
requestId: 'RequestId',
|
|
2476
|
+
};
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2479
|
+
static types(): { [key: string]: any } {
|
|
2480
|
+
return {
|
|
2481
|
+
accessDeniedDetail: 'string',
|
|
2482
|
+
code: 'string',
|
|
2483
|
+
data: UAIDVerificationResponseBodyData,
|
|
2484
|
+
message: 'string',
|
|
2485
|
+
requestId: 'string',
|
|
2486
|
+
};
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
constructor(map?: { [key: string]: any }) {
|
|
2490
|
+
super(map);
|
|
2491
|
+
}
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2494
|
+
export class UAIDVerificationResponse extends $tea.Model {
|
|
2495
|
+
headers: { [key: string]: string };
|
|
2496
|
+
statusCode: number;
|
|
2497
|
+
body: UAIDVerificationResponseBody;
|
|
2498
|
+
static names(): { [key: string]: string } {
|
|
2499
|
+
return {
|
|
2500
|
+
headers: 'headers',
|
|
2501
|
+
statusCode: 'statusCode',
|
|
2502
|
+
body: 'body',
|
|
2503
|
+
};
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
static types(): { [key: string]: any } {
|
|
2507
|
+
return {
|
|
2508
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2509
|
+
statusCode: 'number',
|
|
2510
|
+
body: UAIDVerificationResponseBody,
|
|
2511
|
+
};
|
|
2512
|
+
}
|
|
2513
|
+
|
|
2514
|
+
constructor(map?: { [key: string]: any }) {
|
|
2515
|
+
super(map);
|
|
2516
|
+
}
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2315
2519
|
export class CompanyFourElementsVerificationResponseBodyDataDetailInfo extends $tea.Model {
|
|
2316
2520
|
enterpriseStatus?: string;
|
|
2317
2521
|
openTime?: string;
|
|
@@ -2659,6 +2863,31 @@ export class DescribePhoneTwiceTelVerifyResponseBodyData extends $tea.Model {
|
|
|
2659
2863
|
}
|
|
2660
2864
|
}
|
|
2661
2865
|
|
|
2866
|
+
export class GetUAIDApplyTokenSignResponseBodyData extends $tea.Model {
|
|
2867
|
+
carrier?: string;
|
|
2868
|
+
outId?: string;
|
|
2869
|
+
sign?: string;
|
|
2870
|
+
static names(): { [key: string]: string } {
|
|
2871
|
+
return {
|
|
2872
|
+
carrier: 'Carrier',
|
|
2873
|
+
outId: 'OutId',
|
|
2874
|
+
sign: 'Sign',
|
|
2875
|
+
};
|
|
2876
|
+
}
|
|
2877
|
+
|
|
2878
|
+
static types(): { [key: string]: any } {
|
|
2879
|
+
return {
|
|
2880
|
+
carrier: 'string',
|
|
2881
|
+
outId: 'string',
|
|
2882
|
+
sign: 'string',
|
|
2883
|
+
};
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2886
|
+
constructor(map?: { [key: string]: any }) {
|
|
2887
|
+
super(map);
|
|
2888
|
+
}
|
|
2889
|
+
}
|
|
2890
|
+
|
|
2662
2891
|
export class InvalidPhoneNumberFilterResponseBodyData extends $tea.Model {
|
|
2663
2892
|
code?: string;
|
|
2664
2893
|
encryptedNumber?: string;
|
|
@@ -2961,6 +3190,7 @@ export class QueryTagInfoBySelectionResponseBodyDataParamList extends $tea.Model
|
|
|
2961
3190
|
|
|
2962
3191
|
export class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
2963
3192
|
authCodeList?: string[];
|
|
3193
|
+
complexityType?: string;
|
|
2964
3194
|
demoAddress?: string;
|
|
2965
3195
|
docAddress?: string;
|
|
2966
3196
|
enumDefinitionAddress?: string;
|
|
@@ -2968,6 +3198,7 @@ export class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
|
2968
3198
|
industryId?: number;
|
|
2969
3199
|
industryName?: string;
|
|
2970
3200
|
paramList?: QueryTagInfoBySelectionResponseBodyDataParamList[];
|
|
3201
|
+
richTextDescription?: string;
|
|
2971
3202
|
sceneId?: number;
|
|
2972
3203
|
sceneName?: string;
|
|
2973
3204
|
tagId?: number;
|
|
@@ -2975,6 +3206,7 @@ export class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
|
2975
3206
|
static names(): { [key: string]: string } {
|
|
2976
3207
|
return {
|
|
2977
3208
|
authCodeList: 'AuthCodeList',
|
|
3209
|
+
complexityType: 'ComplexityType',
|
|
2978
3210
|
demoAddress: 'DemoAddress',
|
|
2979
3211
|
docAddress: 'DocAddress',
|
|
2980
3212
|
enumDefinitionAddress: 'EnumDefinitionAddress',
|
|
@@ -2982,6 +3214,7 @@ export class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
|
2982
3214
|
industryId: 'IndustryId',
|
|
2983
3215
|
industryName: 'IndustryName',
|
|
2984
3216
|
paramList: 'ParamList',
|
|
3217
|
+
richTextDescription: 'RichTextDescription',
|
|
2985
3218
|
sceneId: 'SceneId',
|
|
2986
3219
|
sceneName: 'SceneName',
|
|
2987
3220
|
tagId: 'TagId',
|
|
@@ -2992,6 +3225,7 @@ export class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
|
2992
3225
|
static types(): { [key: string]: any } {
|
|
2993
3226
|
return {
|
|
2994
3227
|
authCodeList: { 'type': 'array', 'itemType': 'string' },
|
|
3228
|
+
complexityType: 'string',
|
|
2995
3229
|
demoAddress: 'string',
|
|
2996
3230
|
docAddress: 'string',
|
|
2997
3231
|
enumDefinitionAddress: 'string',
|
|
@@ -2999,6 +3233,7 @@ export class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
|
2999
3233
|
industryId: 'number',
|
|
3000
3234
|
industryName: 'string',
|
|
3001
3235
|
paramList: { 'type': 'array', 'itemType': QueryTagInfoBySelectionResponseBodyDataParamList },
|
|
3236
|
+
richTextDescription: 'string',
|
|
3002
3237
|
sceneId: 'number',
|
|
3003
3238
|
sceneName: 'string',
|
|
3004
3239
|
tagId: 'number',
|
|
@@ -3187,6 +3422,25 @@ export class TwoElementsVerificationResponseBodyData extends $tea.Model {
|
|
|
3187
3422
|
}
|
|
3188
3423
|
}
|
|
3189
3424
|
|
|
3425
|
+
export class UAIDVerificationResponseBodyData extends $tea.Model {
|
|
3426
|
+
uaid?: string;
|
|
3427
|
+
static names(): { [key: string]: string } {
|
|
3428
|
+
return {
|
|
3429
|
+
uaid: 'Uaid',
|
|
3430
|
+
};
|
|
3431
|
+
}
|
|
3432
|
+
|
|
3433
|
+
static types(): { [key: string]: any } {
|
|
3434
|
+
return {
|
|
3435
|
+
uaid: 'string',
|
|
3436
|
+
};
|
|
3437
|
+
}
|
|
3438
|
+
|
|
3439
|
+
constructor(map?: { [key: string]: any }) {
|
|
3440
|
+
super(map);
|
|
3441
|
+
}
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3190
3444
|
|
|
3191
3445
|
export default class Client extends OpenApi {
|
|
3192
3446
|
|
|
@@ -3210,6 +3464,15 @@ export default class Client extends OpenApi {
|
|
|
3210
3464
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
3211
3465
|
}
|
|
3212
3466
|
|
|
3467
|
+
/**
|
|
3468
|
+
* * Before you call this operation, make sure that you are familiar with the billing of services related to four-element verification for enterprises. For more information, see [Billing](https://help.aliyun.com/document_detail/154751.html?spm=a2c4g.154007.0.0.3edd7eb6E90YT4).
|
|
3469
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
|
|
3470
|
+
* * Before you call this operation, perform the following operations: Log on to the [Cell Phone Number Service console](https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fdytns.console.aliyun.com%2Foverview%3Fspm%3Da2c4g.608385.0.0.79847f8b3awqUC\\&lang=zh). On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
3471
|
+
*
|
|
3472
|
+
* @param request CompanyFourElementsVerificationRequest
|
|
3473
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3474
|
+
* @return CompanyFourElementsVerificationResponse
|
|
3475
|
+
*/
|
|
3213
3476
|
async companyFourElementsVerificationWithOptions(request: CompanyFourElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<CompanyFourElementsVerificationResponse> {
|
|
3214
3477
|
Util.validateModel(request);
|
|
3215
3478
|
let query = { };
|
|
@@ -3262,11 +3525,28 @@ export default class Client extends OpenApi {
|
|
|
3262
3525
|
return $tea.cast<CompanyFourElementsVerificationResponse>(await this.callApi(params, req, runtime), new CompanyFourElementsVerificationResponse({}));
|
|
3263
3526
|
}
|
|
3264
3527
|
|
|
3528
|
+
/**
|
|
3529
|
+
* * Before you call this operation, make sure that you are familiar with the billing of services related to four-element verification for enterprises. For more information, see [Billing](https://help.aliyun.com/document_detail/154751.html?spm=a2c4g.154007.0.0.3edd7eb6E90YT4).
|
|
3530
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
|
|
3531
|
+
* * Before you call this operation, perform the following operations: Log on to the [Cell Phone Number Service console](https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fdytns.console.aliyun.com%2Foverview%3Fspm%3Da2c4g.608385.0.0.79847f8b3awqUC\\&lang=zh). On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
3532
|
+
*
|
|
3533
|
+
* @param request CompanyFourElementsVerificationRequest
|
|
3534
|
+
* @return CompanyFourElementsVerificationResponse
|
|
3535
|
+
*/
|
|
3265
3536
|
async companyFourElementsVerification(request: CompanyFourElementsVerificationRequest): Promise<CompanyFourElementsVerificationResponse> {
|
|
3266
3537
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3267
3538
|
return await this.companyFourElementsVerificationWithOptions(request, runtime);
|
|
3268
3539
|
}
|
|
3269
3540
|
|
|
3541
|
+
/**
|
|
3542
|
+
* * Before you call this operation, make sure that you are familiar with the billing of services related to three-element verification for enterprises. For more information, see [Billing](https://help.aliyun.com/document_detail/154751.html?spm=a2c4g.154007.0.0.3edd7eb6E90YT4).
|
|
3543
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
|
|
3544
|
+
* * Before you call this operation, perform the following operations: Log on to the [Cell Phone Number Service console](https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fdytns.console.aliyun.com%2Foverview%3Fspm%3Da2c4g.608385.0.0.79847f8b3awqUC\\&lang=zh). On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
3545
|
+
*
|
|
3546
|
+
* @param request CompanyThreeElementsVerificationRequest
|
|
3547
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3548
|
+
* @return CompanyThreeElementsVerificationResponse
|
|
3549
|
+
*/
|
|
3270
3550
|
async companyThreeElementsVerificationWithOptions(request: CompanyThreeElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<CompanyThreeElementsVerificationResponse> {
|
|
3271
3551
|
Util.validateModel(request);
|
|
3272
3552
|
let query = { };
|
|
@@ -3315,11 +3595,28 @@ export default class Client extends OpenApi {
|
|
|
3315
3595
|
return $tea.cast<CompanyThreeElementsVerificationResponse>(await this.callApi(params, req, runtime), new CompanyThreeElementsVerificationResponse({}));
|
|
3316
3596
|
}
|
|
3317
3597
|
|
|
3598
|
+
/**
|
|
3599
|
+
* * Before you call this operation, make sure that you are familiar with the billing of services related to three-element verification for enterprises. For more information, see [Billing](https://help.aliyun.com/document_detail/154751.html?spm=a2c4g.154007.0.0.3edd7eb6E90YT4).
|
|
3600
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
|
|
3601
|
+
* * Before you call this operation, perform the following operations: Log on to the [Cell Phone Number Service console](https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fdytns.console.aliyun.com%2Foverview%3Fspm%3Da2c4g.608385.0.0.79847f8b3awqUC\\&lang=zh). On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
3602
|
+
*
|
|
3603
|
+
* @param request CompanyThreeElementsVerificationRequest
|
|
3604
|
+
* @return CompanyThreeElementsVerificationResponse
|
|
3605
|
+
*/
|
|
3318
3606
|
async companyThreeElementsVerification(request: CompanyThreeElementsVerificationRequest): Promise<CompanyThreeElementsVerificationResponse> {
|
|
3319
3607
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3320
3608
|
return await this.companyThreeElementsVerificationWithOptions(request, runtime);
|
|
3321
3609
|
}
|
|
3322
3610
|
|
|
3611
|
+
/**
|
|
3612
|
+
* * Before you call this operation, make sure that you are familiar with the billing of services related to two-element verification for enterprises. For more information, see [Billing](https://help.aliyun.com/document_detail/154751.html?spm=a2c4g.154007.0.0.3edd7eb6E90YT4).
|
|
3613
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0 or 1.
|
|
3614
|
+
* * Before you call this operation, perform the following operations: Log on to the [Cell Phone Number Service console](https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fdytns.console.aliyun.com%2Foverview%3Fspm%3Da2c4g.608385.0.0.79847f8b3awqUC\\&lang=zh). On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
3615
|
+
*
|
|
3616
|
+
* @param request CompanyTwoElementsVerificationRequest
|
|
3617
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3618
|
+
* @return CompanyTwoElementsVerificationResponse
|
|
3619
|
+
*/
|
|
3323
3620
|
async companyTwoElementsVerificationWithOptions(request: CompanyTwoElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<CompanyTwoElementsVerificationResponse> {
|
|
3324
3621
|
Util.validateModel(request);
|
|
3325
3622
|
let query = { };
|
|
@@ -3364,11 +3661,33 @@ export default class Client extends OpenApi {
|
|
|
3364
3661
|
return $tea.cast<CompanyTwoElementsVerificationResponse>(await this.callApi(params, req, runtime), new CompanyTwoElementsVerificationResponse({}));
|
|
3365
3662
|
}
|
|
3366
3663
|
|
|
3664
|
+
/**
|
|
3665
|
+
* * Before you call this operation, make sure that you are familiar with the billing of services related to two-element verification for enterprises. For more information, see [Billing](https://help.aliyun.com/document_detail/154751.html?spm=a2c4g.154007.0.0.3edd7eb6E90YT4).
|
|
3666
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0 or 1.
|
|
3667
|
+
* * Before you call this operation, perform the following operations: Log on to the [Cell Phone Number Service console](https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fdytns.console.aliyun.com%2Foverview%3Fspm%3Da2c4g.608385.0.0.79847f8b3awqUC\\&lang=zh). On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
3668
|
+
*
|
|
3669
|
+
* @param request CompanyTwoElementsVerificationRequest
|
|
3670
|
+
* @return CompanyTwoElementsVerificationResponse
|
|
3671
|
+
*/
|
|
3367
3672
|
async companyTwoElementsVerification(request: CompanyTwoElementsVerificationRequest): Promise<CompanyTwoElementsVerificationResponse> {
|
|
3368
3673
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3369
3674
|
return await this.companyTwoElementsVerificationWithOptions(request, runtime);
|
|
3370
3675
|
}
|
|
3371
3676
|
|
|
3677
|
+
/**
|
|
3678
|
+
* * You can call this operation to verify whether a phone number is a nonexistent number. When you call this operation to verify a number, the system charges you CNY 0.01 per verification based on the number of verifications. **Before you call this operation, make sure that you are familiar with the billing of Cell Phone Number Service.**
|
|
3679
|
+
* * You are charged only if the value of Code is OK and the value of Status is not UNKNOWN.
|
|
3680
|
+
* * The prediction is not strictly accurate because Cell Phone Number Service predicts the nonexistent number probability by using AI algorithms. The accuracy rate of the prediction and the recall rate of empty numbers are about 95%. **Pay attention to this point when you call this operation**.
|
|
3681
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
3682
|
+
* ### [](#qps)QPS limits
|
|
3683
|
+
* You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3684
|
+
* ### [](#)Authorization information
|
|
3685
|
+
* By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
3686
|
+
*
|
|
3687
|
+
* @param request DescribeEmptyNumberRequest
|
|
3688
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3689
|
+
* @return DescribeEmptyNumberResponse
|
|
3690
|
+
*/
|
|
3372
3691
|
async describeEmptyNumberWithOptions(request: DescribeEmptyNumberRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEmptyNumberResponse> {
|
|
3373
3692
|
Util.validateModel(request);
|
|
3374
3693
|
let query = { };
|
|
@@ -3413,6 +3732,19 @@ export default class Client extends OpenApi {
|
|
|
3413
3732
|
return $tea.cast<DescribeEmptyNumberResponse>(await this.callApi(params, req, runtime), new DescribeEmptyNumberResponse({}));
|
|
3414
3733
|
}
|
|
3415
3734
|
|
|
3735
|
+
/**
|
|
3736
|
+
* * You can call this operation to verify whether a phone number is a nonexistent number. When you call this operation to verify a number, the system charges you CNY 0.01 per verification based on the number of verifications. **Before you call this operation, make sure that you are familiar with the billing of Cell Phone Number Service.**
|
|
3737
|
+
* * You are charged only if the value of Code is OK and the value of Status is not UNKNOWN.
|
|
3738
|
+
* * The prediction is not strictly accurate because Cell Phone Number Service predicts the nonexistent number probability by using AI algorithms. The accuracy rate of the prediction and the recall rate of empty numbers are about 95%. **Pay attention to this point when you call this operation**.
|
|
3739
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
3740
|
+
* ### [](#qps)QPS limits
|
|
3741
|
+
* You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3742
|
+
* ### [](#)Authorization information
|
|
3743
|
+
* By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
3744
|
+
*
|
|
3745
|
+
* @param request DescribeEmptyNumberRequest
|
|
3746
|
+
* @return DescribeEmptyNumberResponse
|
|
3747
|
+
*/
|
|
3416
3748
|
async describeEmptyNumber(request: DescribeEmptyNumberRequest): Promise<DescribeEmptyNumberResponse> {
|
|
3417
3749
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3418
3750
|
return await this.describeEmptyNumberWithOptions(request, runtime);
|
|
@@ -3475,6 +3807,13 @@ export default class Client extends OpenApi {
|
|
|
3475
3807
|
return await this.describePhoneNumberAnalysisWithOptions(request, runtime);
|
|
3476
3808
|
}
|
|
3477
3809
|
|
|
3810
|
+
/**
|
|
3811
|
+
* Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the Labels page, find the label that you want to use, click Activate Now, enter the required information, and then submit your application. After your application is approved, you can use the label. Before you call this operation, make sure that you are familiar with the billing of Cell Phone Number Service.
|
|
3812
|
+
*
|
|
3813
|
+
* @param request DescribePhoneNumberAnalysisAIRequest
|
|
3814
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3815
|
+
* @return DescribePhoneNumberAnalysisAIResponse
|
|
3816
|
+
*/
|
|
3478
3817
|
async describePhoneNumberAnalysisAIWithOptions(request: DescribePhoneNumberAnalysisAIRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAnalysisAIResponse> {
|
|
3479
3818
|
Util.validateModel(request);
|
|
3480
3819
|
let query = { };
|
|
@@ -3523,11 +3862,29 @@ export default class Client extends OpenApi {
|
|
|
3523
3862
|
return $tea.cast<DescribePhoneNumberAnalysisAIResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberAnalysisAIResponse({}));
|
|
3524
3863
|
}
|
|
3525
3864
|
|
|
3865
|
+
/**
|
|
3866
|
+
* Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the Labels page, find the label that you want to use, click Activate Now, enter the required information, and then submit your application. After your application is approved, you can use the label. Before you call this operation, make sure that you are familiar with the billing of Cell Phone Number Service.
|
|
3867
|
+
*
|
|
3868
|
+
* @param request DescribePhoneNumberAnalysisAIRequest
|
|
3869
|
+
* @return DescribePhoneNumberAnalysisAIResponse
|
|
3870
|
+
*/
|
|
3526
3871
|
async describePhoneNumberAnalysisAI(request: DescribePhoneNumberAnalysisAIRequest): Promise<DescribePhoneNumberAnalysisAIResponse> {
|
|
3527
3872
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3528
3873
|
return await this.describePhoneNumberAnalysisAIWithOptions(request, runtime);
|
|
3529
3874
|
}
|
|
3530
3875
|
|
|
3876
|
+
/**
|
|
3877
|
+
* @deprecated : DescribePhoneNumberAttribute is deprecated, please use Dytnsapi::2020-02-17::DescribePhoneNumberOperatorAttribute instead.
|
|
3878
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3879
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
3880
|
+
* ### [](#qps)QPS limits
|
|
3881
|
+
* You can call this operation up to 2,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3882
|
+
*
|
|
3883
|
+
* @param request DescribePhoneNumberAttributeRequest
|
|
3884
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3885
|
+
* @return DescribePhoneNumberAttributeResponse
|
|
3886
|
+
*/
|
|
3887
|
+
// Deprecated
|
|
3531
3888
|
async describePhoneNumberAttributeWithOptions(request: DescribePhoneNumberAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAttributeResponse> {
|
|
3532
3889
|
Util.validateModel(request);
|
|
3533
3890
|
let query = { };
|
|
@@ -3564,11 +3921,32 @@ export default class Client extends OpenApi {
|
|
|
3564
3921
|
return $tea.cast<DescribePhoneNumberAttributeResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberAttributeResponse({}));
|
|
3565
3922
|
}
|
|
3566
3923
|
|
|
3924
|
+
/**
|
|
3925
|
+
* @deprecated : DescribePhoneNumberAttribute is deprecated, please use Dytnsapi::2020-02-17::DescribePhoneNumberOperatorAttribute instead.
|
|
3926
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3927
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
3928
|
+
* ### [](#qps)QPS limits
|
|
3929
|
+
* You can call this operation up to 2,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3930
|
+
*
|
|
3931
|
+
* @param request DescribePhoneNumberAttributeRequest
|
|
3932
|
+
* @return DescribePhoneNumberAttributeResponse
|
|
3933
|
+
*/
|
|
3934
|
+
// Deprecated
|
|
3567
3935
|
async describePhoneNumberAttribute(request: DescribePhoneNumberAttributeRequest): Promise<DescribePhoneNumberAttributeResponse> {
|
|
3568
3936
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3569
3937
|
return await this.describePhoneNumberAttributeWithOptions(request, runtime);
|
|
3570
3938
|
}
|
|
3571
3939
|
|
|
3940
|
+
/**
|
|
3941
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
3942
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3943
|
+
* ### [](#qps)QPS limits
|
|
3944
|
+
* You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
3945
|
+
*
|
|
3946
|
+
* @param request DescribePhoneNumberOnlineTimeRequest
|
|
3947
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3948
|
+
* @return DescribePhoneNumberOnlineTimeResponse
|
|
3949
|
+
*/
|
|
3572
3950
|
async describePhoneNumberOnlineTimeWithOptions(request: DescribePhoneNumberOnlineTimeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberOnlineTimeResponse> {
|
|
3573
3951
|
Util.validateModel(request);
|
|
3574
3952
|
let query = { };
|
|
@@ -3617,11 +3995,30 @@ export default class Client extends OpenApi {
|
|
|
3617
3995
|
return $tea.cast<DescribePhoneNumberOnlineTimeResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberOnlineTimeResponse({}));
|
|
3618
3996
|
}
|
|
3619
3997
|
|
|
3998
|
+
/**
|
|
3999
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4000
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4001
|
+
* ### [](#qps)QPS limits
|
|
4002
|
+
* You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4003
|
+
*
|
|
4004
|
+
* @param request DescribePhoneNumberOnlineTimeRequest
|
|
4005
|
+
* @return DescribePhoneNumberOnlineTimeResponse
|
|
4006
|
+
*/
|
|
3620
4007
|
async describePhoneNumberOnlineTime(request: DescribePhoneNumberOnlineTimeRequest): Promise<DescribePhoneNumberOnlineTimeResponse> {
|
|
3621
4008
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3622
4009
|
return await this.describePhoneNumberOnlineTimeWithOptions(request, runtime);
|
|
3623
4010
|
}
|
|
3624
4011
|
|
|
4012
|
+
/**
|
|
4013
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154008~~) of Cell Phone Number Service.
|
|
4014
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4015
|
+
* * You can call this operation to obtain the carrier, registration location, and mobile number portability information about a phone number. You can query phone numbers in **plaintext** and phone numbers that are encrypted by using **MD5** and **SHA256**.
|
|
4016
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4017
|
+
*
|
|
4018
|
+
* @param request DescribePhoneNumberOperatorAttributeRequest
|
|
4019
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4020
|
+
* @return DescribePhoneNumberOperatorAttributeResponse
|
|
4021
|
+
*/
|
|
3625
4022
|
async describePhoneNumberOperatorAttributeWithOptions(request: DescribePhoneNumberOperatorAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberOperatorAttributeResponse> {
|
|
3626
4023
|
Util.validateModel(request);
|
|
3627
4024
|
let query = { };
|
|
@@ -3666,11 +4063,33 @@ export default class Client extends OpenApi {
|
|
|
3666
4063
|
return $tea.cast<DescribePhoneNumberOperatorAttributeResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberOperatorAttributeResponse({}));
|
|
3667
4064
|
}
|
|
3668
4065
|
|
|
4066
|
+
/**
|
|
4067
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154008~~) of Cell Phone Number Service.
|
|
4068
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4069
|
+
* * You can call this operation to obtain the carrier, registration location, and mobile number portability information about a phone number. You can query phone numbers in **plaintext** and phone numbers that are encrypted by using **MD5** and **SHA256**.
|
|
4070
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4071
|
+
*
|
|
4072
|
+
* @param request DescribePhoneNumberOperatorAttributeRequest
|
|
4073
|
+
* @return DescribePhoneNumberOperatorAttributeResponse
|
|
4074
|
+
*/
|
|
3669
4075
|
async describePhoneNumberOperatorAttribute(request: DescribePhoneNumberOperatorAttributeRequest): Promise<DescribePhoneNumberOperatorAttributeResponse> {
|
|
3670
4076
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3671
4077
|
return await this.describePhoneNumberOperatorAttributeWithOptions(request, runtime);
|
|
3672
4078
|
}
|
|
3673
4079
|
|
|
4080
|
+
/**
|
|
4081
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4082
|
+
* * You are charged for phone number verifications only if the value of Code is OK and the value of VerifyResult is not 0.
|
|
4083
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4084
|
+
* ## [](#qps)QPS limits
|
|
4085
|
+
* You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4086
|
+
* ## [](#)Authorization information
|
|
4087
|
+
* By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4088
|
+
*
|
|
4089
|
+
* @param request DescribePhoneTwiceTelVerifyRequest
|
|
4090
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4091
|
+
* @return DescribePhoneTwiceTelVerifyResponse
|
|
4092
|
+
*/
|
|
3674
4093
|
async describePhoneTwiceTelVerifyWithOptions(request: DescribePhoneTwiceTelVerifyRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneTwiceTelVerifyResponse> {
|
|
3675
4094
|
Util.validateModel(request);
|
|
3676
4095
|
let query = { };
|
|
@@ -3719,11 +4138,101 @@ export default class Client extends OpenApi {
|
|
|
3719
4138
|
return $tea.cast<DescribePhoneTwiceTelVerifyResponse>(await this.callApi(params, req, runtime), new DescribePhoneTwiceTelVerifyResponse({}));
|
|
3720
4139
|
}
|
|
3721
4140
|
|
|
4141
|
+
/**
|
|
4142
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4143
|
+
* * You are charged for phone number verifications only if the value of Code is OK and the value of VerifyResult is not 0.
|
|
4144
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4145
|
+
* ## [](#qps)QPS limits
|
|
4146
|
+
* You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4147
|
+
* ## [](#)Authorization information
|
|
4148
|
+
* By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4149
|
+
*
|
|
4150
|
+
* @param request DescribePhoneTwiceTelVerifyRequest
|
|
4151
|
+
* @return DescribePhoneTwiceTelVerifyResponse
|
|
4152
|
+
*/
|
|
3722
4153
|
async describePhoneTwiceTelVerify(request: DescribePhoneTwiceTelVerifyRequest): Promise<DescribePhoneTwiceTelVerifyResponse> {
|
|
3723
4154
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3724
4155
|
return await this.describePhoneTwiceTelVerifyWithOptions(request, runtime);
|
|
3725
4156
|
}
|
|
3726
4157
|
|
|
4158
|
+
async getUAIDApplyTokenSignWithOptions(request: GetUAIDApplyTokenSignRequest, runtime: $Util.RuntimeOptions): Promise<GetUAIDApplyTokenSignResponse> {
|
|
4159
|
+
Util.validateModel(request);
|
|
4160
|
+
let query = { };
|
|
4161
|
+
if (!Util.isUnset(request.authCode)) {
|
|
4162
|
+
query["AuthCode"] = request.authCode;
|
|
4163
|
+
}
|
|
4164
|
+
|
|
4165
|
+
if (!Util.isUnset(request.carrier)) {
|
|
4166
|
+
query["Carrier"] = request.carrier;
|
|
4167
|
+
}
|
|
4168
|
+
|
|
4169
|
+
if (!Util.isUnset(request.clientType)) {
|
|
4170
|
+
query["ClientType"] = request.clientType;
|
|
4171
|
+
}
|
|
4172
|
+
|
|
4173
|
+
if (!Util.isUnset(request.format)) {
|
|
4174
|
+
query["Format"] = request.format;
|
|
4175
|
+
}
|
|
4176
|
+
|
|
4177
|
+
if (!Util.isUnset(request.outId)) {
|
|
4178
|
+
query["OutId"] = request.outId;
|
|
4179
|
+
}
|
|
4180
|
+
|
|
4181
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
4182
|
+
query["OwnerId"] = request.ownerId;
|
|
4183
|
+
}
|
|
4184
|
+
|
|
4185
|
+
if (!Util.isUnset(request.paramKey)) {
|
|
4186
|
+
query["ParamKey"] = request.paramKey;
|
|
4187
|
+
}
|
|
4188
|
+
|
|
4189
|
+
if (!Util.isUnset(request.paramStr)) {
|
|
4190
|
+
query["ParamStr"] = request.paramStr;
|
|
4191
|
+
}
|
|
4192
|
+
|
|
4193
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
4194
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4195
|
+
}
|
|
4196
|
+
|
|
4197
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
4198
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4199
|
+
}
|
|
4200
|
+
|
|
4201
|
+
if (!Util.isUnset(request.time)) {
|
|
4202
|
+
query["Time"] = request.time;
|
|
4203
|
+
}
|
|
4204
|
+
|
|
4205
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4206
|
+
query: OpenApiUtil.query(query),
|
|
4207
|
+
});
|
|
4208
|
+
let params = new $OpenApi.Params({
|
|
4209
|
+
action: "GetUAIDApplyTokenSign",
|
|
4210
|
+
version: "2020-02-17",
|
|
4211
|
+
protocol: "HTTPS",
|
|
4212
|
+
pathname: "/",
|
|
4213
|
+
method: "POST",
|
|
4214
|
+
authType: "AK",
|
|
4215
|
+
style: "RPC",
|
|
4216
|
+
reqBodyType: "formData",
|
|
4217
|
+
bodyType: "json",
|
|
4218
|
+
});
|
|
4219
|
+
return $tea.cast<GetUAIDApplyTokenSignResponse>(await this.callApi(params, req, runtime), new GetUAIDApplyTokenSignResponse({}));
|
|
4220
|
+
}
|
|
4221
|
+
|
|
4222
|
+
async getUAIDApplyTokenSign(request: GetUAIDApplyTokenSignRequest): Promise<GetUAIDApplyTokenSignResponse> {
|
|
4223
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4224
|
+
return await this.getUAIDApplyTokenSignWithOptions(request, runtime);
|
|
4225
|
+
}
|
|
4226
|
+
|
|
4227
|
+
/**
|
|
4228
|
+
* Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4229
|
+
* ### [](#qps)QPS limits
|
|
4230
|
+
* You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4231
|
+
*
|
|
4232
|
+
* @param request InvalidPhoneNumberFilterRequest
|
|
4233
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4234
|
+
* @return InvalidPhoneNumberFilterResponse
|
|
4235
|
+
*/
|
|
3727
4236
|
async invalidPhoneNumberFilterWithOptions(request: InvalidPhoneNumberFilterRequest, runtime: $Util.RuntimeOptions): Promise<InvalidPhoneNumberFilterResponse> {
|
|
3728
4237
|
Util.validateModel(request);
|
|
3729
4238
|
let query = { };
|
|
@@ -3768,6 +4277,14 @@ export default class Client extends OpenApi {
|
|
|
3768
4277
|
return $tea.cast<InvalidPhoneNumberFilterResponse>(await this.callApi(params, req, runtime), new InvalidPhoneNumberFilterResponse({}));
|
|
3769
4278
|
}
|
|
3770
4279
|
|
|
4280
|
+
/**
|
|
4281
|
+
* Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4282
|
+
* ### [](#qps)QPS limits
|
|
4283
|
+
* You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4284
|
+
*
|
|
4285
|
+
* @param request InvalidPhoneNumberFilterRequest
|
|
4286
|
+
* @return InvalidPhoneNumberFilterResponse
|
|
4287
|
+
*/
|
|
3771
4288
|
async invalidPhoneNumberFilter(request: InvalidPhoneNumberFilterRequest): Promise<InvalidPhoneNumberFilterResponse> {
|
|
3772
4289
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3773
4290
|
return await this.invalidPhoneNumberFilterWithOptions(request, runtime);
|
|
@@ -3822,6 +4339,15 @@ export default class Client extends OpenApi {
|
|
|
3822
4339
|
return await this.phoneNumberConvertServiceWithOptions(request, runtime);
|
|
3823
4340
|
}
|
|
3824
4341
|
|
|
4342
|
+
/**
|
|
4343
|
+
* Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4344
|
+
* ### [](#qps)QPS limits
|
|
4345
|
+
* You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4346
|
+
*
|
|
4347
|
+
* @param request PhoneNumberEncryptRequest
|
|
4348
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4349
|
+
* @return PhoneNumberEncryptResponse
|
|
4350
|
+
*/
|
|
3825
4351
|
async phoneNumberEncryptWithOptions(request: PhoneNumberEncryptRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberEncryptResponse> {
|
|
3826
4352
|
Util.validateModel(request);
|
|
3827
4353
|
let query = { };
|
|
@@ -3866,11 +4392,30 @@ export default class Client extends OpenApi {
|
|
|
3866
4392
|
return $tea.cast<PhoneNumberEncryptResponse>(await this.callApi(params, req, runtime), new PhoneNumberEncryptResponse({}));
|
|
3867
4393
|
}
|
|
3868
4394
|
|
|
4395
|
+
/**
|
|
4396
|
+
* Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4397
|
+
* ### [](#qps)QPS limits
|
|
4398
|
+
* You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4399
|
+
*
|
|
4400
|
+
* @param request PhoneNumberEncryptRequest
|
|
4401
|
+
* @return PhoneNumberEncryptResponse
|
|
4402
|
+
*/
|
|
3869
4403
|
async phoneNumberEncrypt(request: PhoneNumberEncryptRequest): Promise<PhoneNumberEncryptResponse> {
|
|
3870
4404
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3871
4405
|
return await this.phoneNumberEncryptWithOptions(request, runtime);
|
|
3872
4406
|
}
|
|
3873
4407
|
|
|
4408
|
+
/**
|
|
4409
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4410
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4411
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4412
|
+
* ### [](#qps)QPS limits
|
|
4413
|
+
* You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4414
|
+
*
|
|
4415
|
+
* @param request PhoneNumberStatusForAccountRequest
|
|
4416
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4417
|
+
* @return PhoneNumberStatusForAccountResponse
|
|
4418
|
+
*/
|
|
3874
4419
|
async phoneNumberStatusForAccountWithOptions(request: PhoneNumberStatusForAccountRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForAccountResponse> {
|
|
3875
4420
|
Util.validateModel(request);
|
|
3876
4421
|
let query = { };
|
|
@@ -3915,11 +4460,32 @@ export default class Client extends OpenApi {
|
|
|
3915
4460
|
return $tea.cast<PhoneNumberStatusForAccountResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForAccountResponse({}));
|
|
3916
4461
|
}
|
|
3917
4462
|
|
|
4463
|
+
/**
|
|
4464
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4465
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4466
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4467
|
+
* ### [](#qps)QPS limits
|
|
4468
|
+
* You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4469
|
+
*
|
|
4470
|
+
* @param request PhoneNumberStatusForAccountRequest
|
|
4471
|
+
* @return PhoneNumberStatusForAccountResponse
|
|
4472
|
+
*/
|
|
3918
4473
|
async phoneNumberStatusForAccount(request: PhoneNumberStatusForAccountRequest): Promise<PhoneNumberStatusForAccountResponse> {
|
|
3919
4474
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3920
4475
|
return await this.phoneNumberStatusForAccountWithOptions(request, runtime);
|
|
3921
4476
|
}
|
|
3922
4477
|
|
|
4478
|
+
/**
|
|
4479
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4480
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4481
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4482
|
+
* ### [](#qps)QPS limits
|
|
4483
|
+
* You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4484
|
+
*
|
|
4485
|
+
* @param request PhoneNumberStatusForPublicRequest
|
|
4486
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4487
|
+
* @return PhoneNumberStatusForPublicResponse
|
|
4488
|
+
*/
|
|
3923
4489
|
async phoneNumberStatusForPublicWithOptions(request: PhoneNumberStatusForPublicRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForPublicResponse> {
|
|
3924
4490
|
Util.validateModel(request);
|
|
3925
4491
|
let query = { };
|
|
@@ -3964,11 +4530,32 @@ export default class Client extends OpenApi {
|
|
|
3964
4530
|
return $tea.cast<PhoneNumberStatusForPublicResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForPublicResponse({}));
|
|
3965
4531
|
}
|
|
3966
4532
|
|
|
4533
|
+
/**
|
|
4534
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4535
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4536
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4537
|
+
* ### [](#qps)QPS limits
|
|
4538
|
+
* You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4539
|
+
*
|
|
4540
|
+
* @param request PhoneNumberStatusForPublicRequest
|
|
4541
|
+
* @return PhoneNumberStatusForPublicResponse
|
|
4542
|
+
*/
|
|
3967
4543
|
async phoneNumberStatusForPublic(request: PhoneNumberStatusForPublicRequest): Promise<PhoneNumberStatusForPublicResponse> {
|
|
3968
4544
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3969
4545
|
return await this.phoneNumberStatusForPublicWithOptions(request, runtime);
|
|
3970
4546
|
}
|
|
3971
4547
|
|
|
4548
|
+
/**
|
|
4549
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4550
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4551
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4552
|
+
* ### [](#qps)QPS limits
|
|
4553
|
+
* You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4554
|
+
*
|
|
4555
|
+
* @param request PhoneNumberStatusForRealRequest
|
|
4556
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4557
|
+
* @return PhoneNumberStatusForRealResponse
|
|
4558
|
+
*/
|
|
3972
4559
|
async phoneNumberStatusForRealWithOptions(request: PhoneNumberStatusForRealRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForRealResponse> {
|
|
3973
4560
|
Util.validateModel(request);
|
|
3974
4561
|
let query = { };
|
|
@@ -4013,11 +4600,32 @@ export default class Client extends OpenApi {
|
|
|
4013
4600
|
return $tea.cast<PhoneNumberStatusForRealResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForRealResponse({}));
|
|
4014
4601
|
}
|
|
4015
4602
|
|
|
4603
|
+
/**
|
|
4604
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4605
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4606
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4607
|
+
* ### [](#qps)QPS limits
|
|
4608
|
+
* You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4609
|
+
*
|
|
4610
|
+
* @param request PhoneNumberStatusForRealRequest
|
|
4611
|
+
* @return PhoneNumberStatusForRealResponse
|
|
4612
|
+
*/
|
|
4016
4613
|
async phoneNumberStatusForReal(request: PhoneNumberStatusForRealRequest): Promise<PhoneNumberStatusForRealResponse> {
|
|
4017
4614
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4018
4615
|
return await this.phoneNumberStatusForRealWithOptions(request, runtime);
|
|
4019
4616
|
}
|
|
4020
4617
|
|
|
4618
|
+
/**
|
|
4619
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4620
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4621
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4622
|
+
* ### [](#qps)QPS limits
|
|
4623
|
+
* You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4624
|
+
*
|
|
4625
|
+
* @param request PhoneNumberStatusForSmsRequest
|
|
4626
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4627
|
+
* @return PhoneNumberStatusForSmsResponse
|
|
4628
|
+
*/
|
|
4021
4629
|
async phoneNumberStatusForSmsWithOptions(request: PhoneNumberStatusForSmsRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForSmsResponse> {
|
|
4022
4630
|
Util.validateModel(request);
|
|
4023
4631
|
let query = { };
|
|
@@ -4062,11 +4670,33 @@ export default class Client extends OpenApi {
|
|
|
4062
4670
|
return $tea.cast<PhoneNumberStatusForSmsResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForSmsResponse({}));
|
|
4063
4671
|
}
|
|
4064
4672
|
|
|
4673
|
+
/**
|
|
4674
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4675
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4676
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4677
|
+
* ### [](#qps)QPS limits
|
|
4678
|
+
* You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4679
|
+
*
|
|
4680
|
+
* @param request PhoneNumberStatusForSmsRequest
|
|
4681
|
+
* @return PhoneNumberStatusForSmsResponse
|
|
4682
|
+
*/
|
|
4065
4683
|
async phoneNumberStatusForSms(request: PhoneNumberStatusForSmsRequest): Promise<PhoneNumberStatusForSmsResponse> {
|
|
4066
4684
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4067
4685
|
return await this.phoneNumberStatusForSmsWithOptions(request, runtime);
|
|
4068
4686
|
}
|
|
4069
4687
|
|
|
4688
|
+
/**
|
|
4689
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4690
|
+
* * You are charged only if the value of Code is OK and the value of IsPrivacyNumber is true or false.
|
|
4691
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4692
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4693
|
+
* ### [](#qps)QPS limits
|
|
4694
|
+
* You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4695
|
+
*
|
|
4696
|
+
* @param request PhoneNumberStatusForVirtualRequest
|
|
4697
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4698
|
+
* @return PhoneNumberStatusForVirtualResponse
|
|
4699
|
+
*/
|
|
4070
4700
|
async phoneNumberStatusForVirtualWithOptions(request: PhoneNumberStatusForVirtualRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForVirtualResponse> {
|
|
4071
4701
|
Util.validateModel(request);
|
|
4072
4702
|
let query = { };
|
|
@@ -4111,11 +4741,33 @@ export default class Client extends OpenApi {
|
|
|
4111
4741
|
return $tea.cast<PhoneNumberStatusForVirtualResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForVirtualResponse({}));
|
|
4112
4742
|
}
|
|
4113
4743
|
|
|
4744
|
+
/**
|
|
4745
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4746
|
+
* * You are charged only if the value of Code is OK and the value of IsPrivacyNumber is true or false.
|
|
4747
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4748
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4749
|
+
* ### [](#qps)QPS limits
|
|
4750
|
+
* You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4751
|
+
*
|
|
4752
|
+
* @param request PhoneNumberStatusForVirtualRequest
|
|
4753
|
+
* @return PhoneNumberStatusForVirtualResponse
|
|
4754
|
+
*/
|
|
4114
4755
|
async phoneNumberStatusForVirtual(request: PhoneNumberStatusForVirtualRequest): Promise<PhoneNumberStatusForVirtualResponse> {
|
|
4115
4756
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4116
4757
|
return await this.phoneNumberStatusForVirtualWithOptions(request, runtime);
|
|
4117
4758
|
}
|
|
4118
4759
|
|
|
4760
|
+
/**
|
|
4761
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4762
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4763
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4764
|
+
* ### [](#qps)QPS limits
|
|
4765
|
+
* You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4766
|
+
*
|
|
4767
|
+
* @param request PhoneNumberStatusForVoiceRequest
|
|
4768
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4769
|
+
* @return PhoneNumberStatusForVoiceResponse
|
|
4770
|
+
*/
|
|
4119
4771
|
async phoneNumberStatusForVoiceWithOptions(request: PhoneNumberStatusForVoiceRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForVoiceResponse> {
|
|
4120
4772
|
Util.validateModel(request);
|
|
4121
4773
|
let query = { };
|
|
@@ -4160,6 +4812,16 @@ export default class Client extends OpenApi {
|
|
|
4160
4812
|
return $tea.cast<PhoneNumberStatusForVoiceResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForVoiceResponse({}));
|
|
4161
4813
|
}
|
|
4162
4814
|
|
|
4815
|
+
/**
|
|
4816
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4817
|
+
* * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
|
|
4818
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
4819
|
+
* ### [](#qps)QPS limits
|
|
4820
|
+
* You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4821
|
+
*
|
|
4822
|
+
* @param request PhoneNumberStatusForVoiceRequest
|
|
4823
|
+
* @return PhoneNumberStatusForVoiceResponse
|
|
4824
|
+
*/
|
|
4163
4825
|
async phoneNumberStatusForVoice(request: PhoneNumberStatusForVoiceRequest): Promise<PhoneNumberStatusForVoiceResponse> {
|
|
4164
4826
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4165
4827
|
return await this.phoneNumberStatusForVoiceWithOptions(request, runtime);
|
|
@@ -4398,6 +5060,17 @@ export default class Client extends OpenApi {
|
|
|
4398
5060
|
return await this.queryUsageStatisticsByTagIdWithOptions(request, runtime);
|
|
4399
5061
|
}
|
|
4400
5062
|
|
|
5063
|
+
/**
|
|
5064
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
5065
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
5066
|
+
* * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
|
|
5067
|
+
* ### [](#qps)QPS limits
|
|
5068
|
+
* You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5069
|
+
*
|
|
5070
|
+
* @param request ThreeElementsVerificationRequest
|
|
5071
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5072
|
+
* @return ThreeElementsVerificationResponse
|
|
5073
|
+
*/
|
|
4401
5074
|
async threeElementsVerificationWithOptions(request: ThreeElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<ThreeElementsVerificationResponse> {
|
|
4402
5075
|
Util.validateModel(request);
|
|
4403
5076
|
let query = { };
|
|
@@ -4450,11 +5123,32 @@ export default class Client extends OpenApi {
|
|
|
4450
5123
|
return $tea.cast<ThreeElementsVerificationResponse>(await this.callApi(params, req, runtime), new ThreeElementsVerificationResponse({}));
|
|
4451
5124
|
}
|
|
4452
5125
|
|
|
5126
|
+
/**
|
|
5127
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
5128
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
5129
|
+
* * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
|
|
5130
|
+
* ### [](#qps)QPS limits
|
|
5131
|
+
* You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5132
|
+
*
|
|
5133
|
+
* @param request ThreeElementsVerificationRequest
|
|
5134
|
+
* @return ThreeElementsVerificationResponse
|
|
5135
|
+
*/
|
|
4453
5136
|
async threeElementsVerification(request: ThreeElementsVerificationRequest): Promise<ThreeElementsVerificationResponse> {
|
|
4454
5137
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4455
5138
|
return await this.threeElementsVerificationWithOptions(request, runtime);
|
|
4456
5139
|
}
|
|
4457
5140
|
|
|
5141
|
+
/**
|
|
5142
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
5143
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
5144
|
+
* * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
|
|
5145
|
+
* ### [](#qps)QPS limits
|
|
5146
|
+
* You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5147
|
+
*
|
|
5148
|
+
* @param request TwoElementsVerificationRequest
|
|
5149
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5150
|
+
* @return TwoElementsVerificationResponse
|
|
5151
|
+
*/
|
|
4458
5152
|
async twoElementsVerificationWithOptions(request: TwoElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<TwoElementsVerificationResponse> {
|
|
4459
5153
|
Util.validateModel(request);
|
|
4460
5154
|
let query = { };
|
|
@@ -4503,9 +5197,80 @@ export default class Client extends OpenApi {
|
|
|
4503
5197
|
return $tea.cast<TwoElementsVerificationResponse>(await this.callApi(params, req, runtime), new TwoElementsVerificationResponse({}));
|
|
4504
5198
|
}
|
|
4505
5199
|
|
|
5200
|
+
/**
|
|
5201
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
5202
|
+
* * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
|
|
5203
|
+
* * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
|
|
5204
|
+
* ### [](#qps)QPS limits
|
|
5205
|
+
* You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5206
|
+
*
|
|
5207
|
+
* @param request TwoElementsVerificationRequest
|
|
5208
|
+
* @return TwoElementsVerificationResponse
|
|
5209
|
+
*/
|
|
4506
5210
|
async twoElementsVerification(request: TwoElementsVerificationRequest): Promise<TwoElementsVerificationResponse> {
|
|
4507
5211
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4508
5212
|
return await this.twoElementsVerificationWithOptions(request, runtime);
|
|
4509
5213
|
}
|
|
4510
5214
|
|
|
5215
|
+
async uAIDVerificationWithOptions(request: UAIDVerificationRequest, runtime: $Util.RuntimeOptions): Promise<UAIDVerificationResponse> {
|
|
5216
|
+
Util.validateModel(request);
|
|
5217
|
+
let query = { };
|
|
5218
|
+
if (!Util.isUnset(request.authCode)) {
|
|
5219
|
+
query["AuthCode"] = request.authCode;
|
|
5220
|
+
}
|
|
5221
|
+
|
|
5222
|
+
if (!Util.isUnset(request.carrier)) {
|
|
5223
|
+
query["Carrier"] = request.carrier;
|
|
5224
|
+
}
|
|
5225
|
+
|
|
5226
|
+
if (!Util.isUnset(request.ip)) {
|
|
5227
|
+
query["Ip"] = request.ip;
|
|
5228
|
+
}
|
|
5229
|
+
|
|
5230
|
+
if (!Util.isUnset(request.outId)) {
|
|
5231
|
+
query["OutId"] = request.outId;
|
|
5232
|
+
}
|
|
5233
|
+
|
|
5234
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
5235
|
+
query["OwnerId"] = request.ownerId;
|
|
5236
|
+
}
|
|
5237
|
+
|
|
5238
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
5239
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5240
|
+
}
|
|
5241
|
+
|
|
5242
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
5243
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5246
|
+
if (!Util.isUnset(request.token)) {
|
|
5247
|
+
query["Token"] = request.token;
|
|
5248
|
+
}
|
|
5249
|
+
|
|
5250
|
+
if (!Util.isUnset(request.userGrantId)) {
|
|
5251
|
+
query["UserGrantId"] = request.userGrantId;
|
|
5252
|
+
}
|
|
5253
|
+
|
|
5254
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5255
|
+
query: OpenApiUtil.query(query),
|
|
5256
|
+
});
|
|
5257
|
+
let params = new $OpenApi.Params({
|
|
5258
|
+
action: "UAIDVerification",
|
|
5259
|
+
version: "2020-02-17",
|
|
5260
|
+
protocol: "HTTPS",
|
|
5261
|
+
pathname: "/",
|
|
5262
|
+
method: "POST",
|
|
5263
|
+
authType: "AK",
|
|
5264
|
+
style: "RPC",
|
|
5265
|
+
reqBodyType: "formData",
|
|
5266
|
+
bodyType: "json",
|
|
5267
|
+
});
|
|
5268
|
+
return $tea.cast<UAIDVerificationResponse>(await this.callApi(params, req, runtime), new UAIDVerificationResponse({}));
|
|
5269
|
+
}
|
|
5270
|
+
|
|
5271
|
+
async uAIDVerification(request: UAIDVerificationRequest): Promise<UAIDVerificationResponse> {
|
|
5272
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5273
|
+
return await this.uAIDVerificationWithOptions(request, runtime);
|
|
5274
|
+
}
|
|
5275
|
+
|
|
4511
5276
|
}
|