@alicloud/green20220926 1.3.2 → 1.4.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 CHANGED
@@ -411,6 +411,21 @@ export declare class GetCipStatsResponseBodyDataLabelStatChartImageTreeChar exte
411
411
  [key: string]: any;
412
412
  });
413
413
  }
414
+ export declare class GetCipStatsResponseBodyDataLabelStatChartTextTreeChart extends $dara.Model {
415
+ description?: string;
416
+ name?: string;
417
+ value?: string;
418
+ static names(): {
419
+ [key: string]: string;
420
+ };
421
+ static types(): {
422
+ [key: string]: any;
423
+ };
424
+ validate(): void;
425
+ constructor(map?: {
426
+ [key: string]: any;
427
+ });
428
+ }
414
429
  export declare class GetCipStatsResponseBodyDataLabelStatChartTreeChart extends $dara.Model {
415
430
  description?: string;
416
431
  /**
@@ -482,6 +497,7 @@ export declare class GetCipStatsResponseBodyDataLabelStatChart extends $dara.Mod
482
497
  * nickNameDetection
483
498
  */
484
499
  serviceCode?: string;
500
+ textTreeChart?: GetCipStatsResponseBodyDataLabelStatChartTextTreeChart[];
485
501
  /**
486
502
  * @example
487
503
  * 117
@@ -541,7 +557,9 @@ export declare class GetCipStatsResponseBodyDataZ extends $dara.Model {
541
557
  export declare class GetCipStatsResponseBodyData extends $dara.Model {
542
558
  labelStatChart?: GetCipStatsResponseBodyDataLabelStatChart[];
543
559
  totalStat?: {
544
- [key: string]: any;
560
+ [key: string]: {
561
+ [key: string]: any;
562
+ };
545
563
  };
546
564
  uids?: string[];
547
565
  x?: string[];
@@ -558,6 +576,57 @@ export declare class GetCipStatsResponseBodyData extends $dara.Model {
558
576
  [key: string]: any;
559
577
  });
560
578
  }
579
+ export declare class GetFeatureConfigResponseBodyData extends $dara.Model {
580
+ /**
581
+ * @remarks
582
+ * List of feature configurations
583
+ */
584
+ featureConf?: {
585
+ [key: string]: any;
586
+ }[];
587
+ /**
588
+ * @remarks
589
+ * Resource type.
590
+ *
591
+ * @example
592
+ * text
593
+ */
594
+ resourceType?: string;
595
+ /**
596
+ * @remarks
597
+ * Service code.
598
+ *
599
+ * @example
600
+ * llm_query_moderation
601
+ */
602
+ serviceCode?: string;
603
+ /**
604
+ * @remarks
605
+ * Type
606
+ *
607
+ * @example
608
+ * custom_llm_template
609
+ */
610
+ type?: string;
611
+ /**
612
+ * @remarks
613
+ * UID.
614
+ *
615
+ * @example
616
+ * 1643953****74290
617
+ */
618
+ uid?: string;
619
+ static names(): {
620
+ [key: string]: string;
621
+ };
622
+ static types(): {
623
+ [key: string]: any;
624
+ };
625
+ validate(): void;
626
+ constructor(map?: {
627
+ [key: string]: any;
628
+ });
629
+ }
561
630
  export declare class GetKeywordImportResultResponseBodyData extends $dara.Model {
562
631
  /**
563
632
  * @example
@@ -702,6 +771,7 @@ export declare class GetScanResultResponseBodyDataItemsResult extends $dara.Mode
702
771
  });
703
772
  }
704
773
  export declare class GetScanResultResponseBodyDataItems extends $dara.Model {
774
+ attackLevel?: string;
705
775
  /**
706
776
  * @example
707
777
  * xxx
@@ -774,6 +844,7 @@ export declare class GetScanResultResponseBodyDataItems extends $dara.Model {
774
844
  * 1
775
845
  */
776
846
  pageNum?: number;
847
+ requestFrom?: string;
777
848
  /**
778
849
  * @example
779
850
  * AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
@@ -798,6 +869,7 @@ export declare class GetScanResultResponseBodyDataItems extends $dara.Model {
798
869
  * 25
799
870
  */
800
871
  score?: number;
872
+ sensitiveLevel?: string;
801
873
  /**
802
874
  * @example
803
875
  * baselineCheck
@@ -3038,6 +3110,135 @@ export declare class DeleteCallbackResponse extends $dara.Model {
3038
3110
  [key: string]: any;
3039
3111
  });
3040
3112
  }
3113
+ export declare class DeleteFeatureConfigRequest extends $dara.Model {
3114
+ /**
3115
+ * @remarks
3116
+ * Label value, customer-defined
3117
+ *
3118
+ * @example
3119
+ * __config__
3120
+ */
3121
+ field?: string;
3122
+ /**
3123
+ * @remarks
3124
+ * Region
3125
+ *
3126
+ * @example
3127
+ * cn-shanghai
3128
+ */
3129
+ regionId?: string;
3130
+ /**
3131
+ * @remarks
3132
+ * Resource type.
3133
+ *
3134
+ * @example
3135
+ * text
3136
+ */
3137
+ resourceType?: string;
3138
+ /**
3139
+ * @remarks
3140
+ * Service code.
3141
+ *
3142
+ * @example
3143
+ * llm_query_moderation
3144
+ */
3145
+ serviceCode?: string;
3146
+ /**
3147
+ * @remarks
3148
+ * Type
3149
+ *
3150
+ * @example
3151
+ * custom_llm_template
3152
+ */
3153
+ type?: string;
3154
+ static names(): {
3155
+ [key: string]: string;
3156
+ };
3157
+ static types(): {
3158
+ [key: string]: any;
3159
+ };
3160
+ validate(): void;
3161
+ constructor(map?: {
3162
+ [key: string]: any;
3163
+ });
3164
+ }
3165
+ export declare class DeleteFeatureConfigResponseBody extends $dara.Model {
3166
+ /**
3167
+ * @remarks
3168
+ * Status code.
3169
+ *
3170
+ * @example
3171
+ * 200
3172
+ */
3173
+ code?: number;
3174
+ /**
3175
+ * @remarks
3176
+ * Return result.
3177
+ *
3178
+ * @example
3179
+ * True
3180
+ */
3181
+ data?: boolean;
3182
+ /**
3183
+ * @remarks
3184
+ * HTTP status code.
3185
+ *
3186
+ * @example
3187
+ * 200
3188
+ */
3189
+ httpStatusCode?: number;
3190
+ /**
3191
+ * @remarks
3192
+ * Response message of this request.
3193
+ *
3194
+ * @example
3195
+ * success
3196
+ */
3197
+ msg?: string;
3198
+ /**
3199
+ * @remarks
3200
+ * ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.
3201
+ *
3202
+ * @example
3203
+ * AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
3204
+ */
3205
+ requestId?: string;
3206
+ /**
3207
+ * @remarks
3208
+ * Success indicator.
3209
+ *
3210
+ * @example
3211
+ * True
3212
+ */
3213
+ success?: boolean;
3214
+ static names(): {
3215
+ [key: string]: string;
3216
+ };
3217
+ static types(): {
3218
+ [key: string]: any;
3219
+ };
3220
+ validate(): void;
3221
+ constructor(map?: {
3222
+ [key: string]: any;
3223
+ });
3224
+ }
3225
+ export declare class DeleteFeatureConfigResponse extends $dara.Model {
3226
+ headers?: {
3227
+ [key: string]: string;
3228
+ };
3229
+ statusCode?: number;
3230
+ body?: DeleteFeatureConfigResponseBody;
3231
+ static names(): {
3232
+ [key: string]: string;
3233
+ };
3234
+ static types(): {
3235
+ [key: string]: any;
3236
+ };
3237
+ validate(): void;
3238
+ constructor(map?: {
3239
+ [key: string]: any;
3240
+ });
3241
+ }
3041
3242
  export declare class DeleteImagesFromLibRequest extends $dara.Model {
3042
3243
  /**
3043
3244
  * @example
@@ -4549,6 +4750,124 @@ export declare class GetExecuteTimeResponse extends $dara.Model {
4549
4750
  [key: string]: any;
4550
4751
  });
4551
4752
  }
4753
+ export declare class GetFeatureConfigRequest extends $dara.Model {
4754
+ /**
4755
+ * @remarks
4756
+ * Region ID
4757
+ *
4758
+ * @example
4759
+ * cn-shanghai
4760
+ */
4761
+ regionId?: string;
4762
+ /**
4763
+ * @remarks
4764
+ * Resource type.
4765
+ *
4766
+ * @example
4767
+ * text
4768
+ */
4769
+ resourceType?: string;
4770
+ /**
4771
+ * @remarks
4772
+ * Service code.
4773
+ *
4774
+ * @example
4775
+ * llm_query_moderation
4776
+ */
4777
+ serviceCode?: string;
4778
+ /**
4779
+ * @remarks
4780
+ * Type
4781
+ *
4782
+ * @example
4783
+ * custom_llm_template
4784
+ */
4785
+ type?: string;
4786
+ static names(): {
4787
+ [key: string]: string;
4788
+ };
4789
+ static types(): {
4790
+ [key: string]: any;
4791
+ };
4792
+ validate(): void;
4793
+ constructor(map?: {
4794
+ [key: string]: any;
4795
+ });
4796
+ }
4797
+ export declare class GetFeatureConfigResponseBody extends $dara.Model {
4798
+ /**
4799
+ * @remarks
4800
+ * Status code
4801
+ *
4802
+ * @example
4803
+ * 200
4804
+ */
4805
+ code?: number;
4806
+ /**
4807
+ * @remarks
4808
+ * Returned data.
4809
+ */
4810
+ data?: GetFeatureConfigResponseBodyData;
4811
+ /**
4812
+ * @remarks
4813
+ * HTTP status code.
4814
+ *
4815
+ * @example
4816
+ * 200
4817
+ */
4818
+ httpStatusCode?: number;
4819
+ /**
4820
+ * @remarks
4821
+ * Response message for this request.
4822
+ *
4823
+ * @example
4824
+ * success
4825
+ */
4826
+ msg?: string;
4827
+ /**
4828
+ * @remarks
4829
+ * ID assigned by the backend, used to uniquely identify a request. Can be used for troubleshooting.
4830
+ *
4831
+ * @example
4832
+ * AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
4833
+ */
4834
+ requestId?: string;
4835
+ /**
4836
+ * @remarks
4837
+ * Success indicator
4838
+ *
4839
+ * @example
4840
+ * true
4841
+ */
4842
+ success?: boolean;
4843
+ static names(): {
4844
+ [key: string]: string;
4845
+ };
4846
+ static types(): {
4847
+ [key: string]: any;
4848
+ };
4849
+ validate(): void;
4850
+ constructor(map?: {
4851
+ [key: string]: any;
4852
+ });
4853
+ }
4854
+ export declare class GetFeatureConfigResponse extends $dara.Model {
4855
+ headers?: {
4856
+ [key: string]: string;
4857
+ };
4858
+ statusCode?: number;
4859
+ body?: GetFeatureConfigResponseBody;
4860
+ static names(): {
4861
+ [key: string]: string;
4862
+ };
4863
+ static types(): {
4864
+ [key: string]: any;
4865
+ };
4866
+ validate(): void;
4867
+ constructor(map?: {
4868
+ [key: string]: any;
4869
+ });
4870
+ }
4552
4871
  export declare class GetImageSceneLabelConfRequest extends $dara.Model {
4553
4872
  /**
4554
4873
  * @example
@@ -6950,6 +7269,151 @@ export declare class ModifyCallbackResponse extends $dara.Model {
6950
7269
  [key: string]: any;
6951
7270
  });
6952
7271
  }
7272
+ export declare class ModifyFeatureConfigRequest extends $dara.Model {
7273
+ /**
7274
+ * @remarks
7275
+ * Configuration, in JSON format
7276
+ *
7277
+ * @example
7278
+ * {}
7279
+ */
7280
+ config?: string;
7281
+ /**
7282
+ * @remarks
7283
+ * Label meaning
7284
+ *
7285
+ * @example
7286
+ * 标签2
7287
+ */
7288
+ description?: string;
7289
+ /**
7290
+ * @remarks
7291
+ * Label value, customer-defined
7292
+ *
7293
+ * @example
7294
+ * __config__
7295
+ */
7296
+ field?: string;
7297
+ /**
7298
+ * @remarks
7299
+ * Region
7300
+ *
7301
+ * @example
7302
+ * cn-shanghai
7303
+ */
7304
+ regionId?: string;
7305
+ /**
7306
+ * @remarks
7307
+ * Resource type.
7308
+ *
7309
+ * @example
7310
+ * text
7311
+ */
7312
+ resourceType?: string;
7313
+ /**
7314
+ * @remarks
7315
+ * Service code.
7316
+ *
7317
+ * @example
7318
+ * llm_query_moderation
7319
+ */
7320
+ serviceCode?: string;
7321
+ /**
7322
+ * @remarks
7323
+ * Type
7324
+ *
7325
+ * @example
7326
+ * custom_llm_template
7327
+ */
7328
+ type?: string;
7329
+ static names(): {
7330
+ [key: string]: string;
7331
+ };
7332
+ static types(): {
7333
+ [key: string]: any;
7334
+ };
7335
+ validate(): void;
7336
+ constructor(map?: {
7337
+ [key: string]: any;
7338
+ });
7339
+ }
7340
+ export declare class ModifyFeatureConfigResponseBody extends $dara.Model {
7341
+ /**
7342
+ * @remarks
7343
+ * Status code.
7344
+ *
7345
+ * @example
7346
+ * 200
7347
+ */
7348
+ code?: number;
7349
+ /**
7350
+ * @remarks
7351
+ * Returned data
7352
+ *
7353
+ * @example
7354
+ * True
7355
+ */
7356
+ data?: boolean;
7357
+ /**
7358
+ * @remarks
7359
+ * HTTP status code.
7360
+ *
7361
+ * @example
7362
+ * 200
7363
+ */
7364
+ httpStatusCode?: number;
7365
+ /**
7366
+ * @remarks
7367
+ * Response message of this request.
7368
+ *
7369
+ * @example
7370
+ * success
7371
+ */
7372
+ msg?: string;
7373
+ /**
7374
+ * @remarks
7375
+ * ID assigned by the backend to uniquely identify a request. Can be used for troubleshooting.
7376
+ *
7377
+ * @example
7378
+ * AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****
7379
+ */
7380
+ requestId?: string;
7381
+ /**
7382
+ * @remarks
7383
+ * Success indicator.
7384
+ *
7385
+ * @example
7386
+ * True
7387
+ */
7388
+ success?: boolean;
7389
+ static names(): {
7390
+ [key: string]: string;
7391
+ };
7392
+ static types(): {
7393
+ [key: string]: any;
7394
+ };
7395
+ validate(): void;
7396
+ constructor(map?: {
7397
+ [key: string]: any;
7398
+ });
7399
+ }
7400
+ export declare class ModifyFeatureConfigResponse extends $dara.Model {
7401
+ headers?: {
7402
+ [key: string]: string;
7403
+ };
7404
+ statusCode?: number;
7405
+ body?: ModifyFeatureConfigResponseBody;
7406
+ static names(): {
7407
+ [key: string]: string;
7408
+ };
7409
+ static types(): {
7410
+ [key: string]: any;
7411
+ };
7412
+ validate(): void;
7413
+ constructor(map?: {
7414
+ [key: string]: any;
7415
+ });
7416
+ }
6953
7417
  export declare class ModifyServiceInfoRequest extends $dara.Model {
6954
7418
  /**
6955
7419
  * @example
@@ -8081,6 +8545,21 @@ export default class Client extends OpenApi {
8081
8545
  * @returns DeleteCallbackResponse
8082
8546
  */
8083
8547
  deleteCallback(request: DeleteCallbackRequest): Promise<DeleteCallbackResponse>;
8548
+ /**
8549
+ * Delete feature configuration
8550
+ *
8551
+ * @param request - DeleteFeatureConfigRequest
8552
+ * @param runtime - runtime options for this request RuntimeOptions
8553
+ * @returns DeleteFeatureConfigResponse
8554
+ */
8555
+ deleteFeatureConfigWithOptions(request: DeleteFeatureConfigRequest, runtime: $dara.RuntimeOptions): Promise<DeleteFeatureConfigResponse>;
8556
+ /**
8557
+ * Delete feature configuration
8558
+ *
8559
+ * @param request - DeleteFeatureConfigRequest
8560
+ * @returns DeleteFeatureConfigResponse
8561
+ */
8562
+ deleteFeatureConfig(request: DeleteFeatureConfigRequest): Promise<DeleteFeatureConfigResponse>;
8084
8563
  /**
8085
8564
  * 批量删除
8086
8565
  *
@@ -8336,6 +8815,21 @@ export default class Client extends OpenApi {
8336
8815
  * @returns GetExecuteTimeResponse
8337
8816
  */
8338
8817
  getExecuteTime(request: GetExecuteTimeRequest): Promise<GetExecuteTimeResponse>;
8818
+ /**
8819
+ * Get Feature Configuration
8820
+ *
8821
+ * @param request - GetFeatureConfigRequest
8822
+ * @param runtime - runtime options for this request RuntimeOptions
8823
+ * @returns GetFeatureConfigResponse
8824
+ */
8825
+ getFeatureConfigWithOptions(request: GetFeatureConfigRequest, runtime: $dara.RuntimeOptions): Promise<GetFeatureConfigResponse>;
8826
+ /**
8827
+ * Get Feature Configuration
8828
+ *
8829
+ * @param request - GetFeatureConfigRequest
8830
+ * @returns GetFeatureConfigResponse
8831
+ */
8832
+ getFeatureConfig(request: GetFeatureConfigRequest): Promise<GetFeatureConfigResponse>;
8339
8833
  /**
8340
8834
  * 获取图片规则标签信息
8341
8835
  *
@@ -8726,6 +9220,21 @@ export default class Client extends OpenApi {
8726
9220
  * @returns ModifyCallbackResponse
8727
9221
  */
8728
9222
  modifyCallback(request: ModifyCallbackRequest): Promise<ModifyCallbackResponse>;
9223
+ /**
9224
+ * Save Feature Configuration
9225
+ *
9226
+ * @param request - ModifyFeatureConfigRequest
9227
+ * @param runtime - runtime options for this request RuntimeOptions
9228
+ * @returns ModifyFeatureConfigResponse
9229
+ */
9230
+ modifyFeatureConfigWithOptions(request: ModifyFeatureConfigRequest, runtime: $dara.RuntimeOptions): Promise<ModifyFeatureConfigResponse>;
9231
+ /**
9232
+ * Save Feature Configuration
9233
+ *
9234
+ * @param request - ModifyFeatureConfigRequest
9235
+ * @returns ModifyFeatureConfigResponse
9236
+ */
9237
+ modifyFeatureConfig(request: ModifyFeatureConfigRequest): Promise<ModifyFeatureConfigResponse>;
8729
9238
  /**
8730
9239
  * 编辑服务
8731
9240
  *