@alicloud/green20220926 1.3.0 → 1.3.1
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 +7 -0
- package/dist/client.js +31 -7
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +21 -0
package/dist/client.d.ts
CHANGED
|
@@ -3362,6 +3362,7 @@ export declare class GetServiceConfRequest extends $tea.Model {
|
|
|
3362
3362
|
});
|
|
3363
3363
|
}
|
|
3364
3364
|
export declare class GetServiceConfResponseBody extends $tea.Model {
|
|
3365
|
+
classify?: string;
|
|
3365
3366
|
/**
|
|
3366
3367
|
* @example
|
|
3367
3368
|
* 200
|
|
@@ -6413,6 +6414,7 @@ export declare class GetScanResultResponseBodyDataItemsResult extends $tea.Model
|
|
|
6413
6414
|
* 50.0
|
|
6414
6415
|
*/
|
|
6415
6416
|
confidence?: string;
|
|
6417
|
+
description?: string;
|
|
6416
6418
|
/**
|
|
6417
6419
|
* @example
|
|
6418
6420
|
* politics
|
|
@@ -6512,6 +6514,7 @@ export declare class GetScanResultResponseBodyDataItems extends $tea.Model {
|
|
|
6512
6514
|
*/
|
|
6513
6515
|
requestTime?: string;
|
|
6514
6516
|
result?: GetScanResultResponseBodyDataItemsResult[];
|
|
6517
|
+
riskLevel?: string;
|
|
6515
6518
|
riskTips?: string;
|
|
6516
6519
|
riskWords?: string;
|
|
6517
6520
|
/**
|
|
@@ -6848,6 +6851,7 @@ export declare class GetTextScanResultResponseBodyDataItemsResult extends $tea.M
|
|
|
6848
6851
|
* 25.0
|
|
6849
6852
|
*/
|
|
6850
6853
|
confidence?: number;
|
|
6854
|
+
description?: string;
|
|
6851
6855
|
/**
|
|
6852
6856
|
* @example
|
|
6853
6857
|
* political_n
|
|
@@ -6864,6 +6868,7 @@ export declare class GetTextScanResultResponseBodyDataItemsResult extends $tea.M
|
|
|
6864
6868
|
});
|
|
6865
6869
|
}
|
|
6866
6870
|
export declare class GetTextScanResultResponseBodyDataItems extends $tea.Model {
|
|
6871
|
+
bailianRequestId?: string;
|
|
6867
6872
|
content?: string;
|
|
6868
6873
|
/**
|
|
6869
6874
|
* @example
|
|
@@ -6898,6 +6903,7 @@ export declare class GetTextScanResultResponseBodyDataItems extends $tea.Model {
|
|
|
6898
6903
|
*/
|
|
6899
6904
|
requestTime?: string;
|
|
6900
6905
|
result?: GetTextScanResultResponseBodyDataItemsResult[];
|
|
6906
|
+
riskLevel?: string;
|
|
6901
6907
|
/**
|
|
6902
6908
|
* @example
|
|
6903
6909
|
* {}
|
|
@@ -6979,6 +6985,7 @@ export declare class GetUserBuyStatusResponseBodyData extends $tea.Model {
|
|
|
6979
6985
|
* False
|
|
6980
6986
|
*/
|
|
6981
6987
|
indebt?: boolean;
|
|
6988
|
+
tag?: string;
|
|
6982
6989
|
static names(): {
|
|
6983
6990
|
[key: string]: string;
|
|
6984
6991
|
};
|
package/dist/client.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -2869,6 +2879,7 @@ exports.GetServiceConfRequest = GetServiceConfRequest;
|
|
|
2869
2879
|
class GetServiceConfResponseBody extends $tea.Model {
|
|
2870
2880
|
static names() {
|
|
2871
2881
|
return {
|
|
2882
|
+
classify: 'Classify',
|
|
2872
2883
|
code: 'Code',
|
|
2873
2884
|
customServiceConf: 'CustomServiceConf',
|
|
2874
2885
|
gmtModified: 'GmtModified',
|
|
@@ -2883,6 +2894,7 @@ class GetServiceConfResponseBody extends $tea.Model {
|
|
|
2883
2894
|
}
|
|
2884
2895
|
static types() {
|
|
2885
2896
|
return {
|
|
2897
|
+
classify: 'string',
|
|
2886
2898
|
code: 'number',
|
|
2887
2899
|
customServiceConf: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
2888
2900
|
gmtModified: 'string',
|
|
@@ -5360,12 +5372,14 @@ class GetScanResultResponseBodyDataItemsResult extends $tea.Model {
|
|
|
5360
5372
|
static names() {
|
|
5361
5373
|
return {
|
|
5362
5374
|
confidence: 'Confidence',
|
|
5375
|
+
description: 'Description',
|
|
5363
5376
|
label: 'Label',
|
|
5364
5377
|
};
|
|
5365
5378
|
}
|
|
5366
5379
|
static types() {
|
|
5367
5380
|
return {
|
|
5368
5381
|
confidence: 'string',
|
|
5382
|
+
description: 'string',
|
|
5369
5383
|
label: 'string',
|
|
5370
5384
|
};
|
|
5371
5385
|
}
|
|
@@ -5394,6 +5408,7 @@ class GetScanResultResponseBodyDataItems extends $tea.Model {
|
|
|
5394
5408
|
requestId: 'RequestId',
|
|
5395
5409
|
requestTime: 'RequestTime',
|
|
5396
5410
|
result: 'Result',
|
|
5411
|
+
riskLevel: 'RiskLevel',
|
|
5397
5412
|
riskTips: 'RiskTips',
|
|
5398
5413
|
riskWords: 'RiskWords',
|
|
5399
5414
|
scanResult: 'ScanResult',
|
|
@@ -5430,6 +5445,7 @@ class GetScanResultResponseBodyDataItems extends $tea.Model {
|
|
|
5430
5445
|
requestId: 'string',
|
|
5431
5446
|
requestTime: 'string',
|
|
5432
5447
|
result: { 'type': 'array', 'itemType': GetScanResultResponseBodyDataItemsResult },
|
|
5448
|
+
riskLevel: 'string',
|
|
5433
5449
|
riskTips: 'string',
|
|
5434
5450
|
riskWords: 'string',
|
|
5435
5451
|
scanResult: 'string',
|
|
@@ -5644,12 +5660,14 @@ class GetTextScanResultResponseBodyDataItemsResult extends $tea.Model {
|
|
|
5644
5660
|
static names() {
|
|
5645
5661
|
return {
|
|
5646
5662
|
confidence: 'Confidence',
|
|
5663
|
+
description: 'Description',
|
|
5647
5664
|
label: 'Label',
|
|
5648
5665
|
};
|
|
5649
5666
|
}
|
|
5650
5667
|
static types() {
|
|
5651
5668
|
return {
|
|
5652
5669
|
confidence: 'number',
|
|
5670
|
+
description: 'string',
|
|
5653
5671
|
label: 'string',
|
|
5654
5672
|
};
|
|
5655
5673
|
}
|
|
@@ -5661,6 +5679,7 @@ exports.GetTextScanResultResponseBodyDataItemsResult = GetTextScanResultResponse
|
|
|
5661
5679
|
class GetTextScanResultResponseBodyDataItems extends $tea.Model {
|
|
5662
5680
|
static names() {
|
|
5663
5681
|
return {
|
|
5682
|
+
bailianRequestId: 'BailianRequestId',
|
|
5664
5683
|
content: 'Content',
|
|
5665
5684
|
extFeedback: 'ExtFeedback',
|
|
5666
5685
|
extra: 'Extra',
|
|
@@ -5669,6 +5688,7 @@ class GetTextScanResultResponseBodyDataItems extends $tea.Model {
|
|
|
5669
5688
|
requestId: 'RequestId',
|
|
5670
5689
|
requestTime: 'RequestTime',
|
|
5671
5690
|
result: 'Result',
|
|
5691
|
+
riskLevel: 'RiskLevel',
|
|
5672
5692
|
scanResult: 'ScanResult',
|
|
5673
5693
|
score: 'Score',
|
|
5674
5694
|
serviceCode: 'ServiceCode',
|
|
@@ -5678,6 +5698,7 @@ class GetTextScanResultResponseBodyDataItems extends $tea.Model {
|
|
|
5678
5698
|
}
|
|
5679
5699
|
static types() {
|
|
5680
5700
|
return {
|
|
5701
|
+
bailianRequestId: 'string',
|
|
5681
5702
|
content: 'string',
|
|
5682
5703
|
extFeedback: 'string',
|
|
5683
5704
|
extra: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
@@ -5686,6 +5707,7 @@ class GetTextScanResultResponseBodyDataItems extends $tea.Model {
|
|
|
5686
5707
|
requestId: 'string',
|
|
5687
5708
|
requestTime: 'string',
|
|
5688
5709
|
result: { 'type': 'array', 'itemType': GetTextScanResultResponseBodyDataItemsResult },
|
|
5710
|
+
riskLevel: 'string',
|
|
5689
5711
|
scanResult: 'string',
|
|
5690
5712
|
score: 'number',
|
|
5691
5713
|
serviceCode: 'string',
|
|
@@ -5726,6 +5748,7 @@ class GetUserBuyStatusResponseBodyData extends $tea.Model {
|
|
|
5726
5748
|
bid: 'Bid',
|
|
5727
5749
|
buy: 'Buy',
|
|
5728
5750
|
indebt: 'Indebt',
|
|
5751
|
+
tag: 'Tag',
|
|
5729
5752
|
};
|
|
5730
5753
|
}
|
|
5731
5754
|
static types() {
|
|
@@ -5733,6 +5756,7 @@ class GetUserBuyStatusResponseBodyData extends $tea.Model {
|
|
|
5733
5756
|
bid: 'number',
|
|
5734
5757
|
buy: 'boolean',
|
|
5735
5758
|
indebt: 'boolean',
|
|
5759
|
+
tag: 'string',
|
|
5736
5760
|
};
|
|
5737
5761
|
}
|
|
5738
5762
|
constructor(map) {
|