tencentcloud-sdk-nodejs 4.0.473 → 4.0.474

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.
Files changed (78) hide show
  1. package/CHANGELOG.md +181 -0
  2. package/SERVICE_CHANGELOG.md +238 -224
  3. package/package.json +1 -1
  4. package/products.md +14 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/index.ts +2 -2
  7. package/src/services/as/v20180419/as_client.ts +1 -0
  8. package/src/services/as/v20180419/as_models.ts +17 -1
  9. package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
  10. package/src/services/dasb/v20191018/dasb_client.ts +1 -0
  11. package/src/services/dasb/v20191018/dasb_models.ts +25 -0
  12. package/src/services/dts/index.ts +2 -2
  13. package/src/services/essbasic/index.ts +2 -2
  14. package/src/services/essbasic/v20210526/essbasic_models.ts +4 -2
  15. package/src/services/gme/v20180711/gme_client.ts +0 -12
  16. package/src/services/gme/v20180711/gme_models.ts +0 -44
  17. package/src/services/iai/index.ts +2 -2
  18. package/src/services/iotvideo/index.ts +2 -2
  19. package/src/services/iotvideo/v20211125/iotvideo_models.ts +5 -0
  20. package/src/services/irp/index.ts +2 -2
  21. package/src/services/mgobe/index.ts +2 -2
  22. package/src/services/mps/v20190612/mps_client.ts +8 -2
  23. package/src/services/mps/v20190612/mps_models.ts +194 -26
  24. package/src/services/rum/v20210622/rum_models.ts +1 -1
  25. package/src/services/ses/v20201002/ses_models.ts +5 -0
  26. package/src/services/tbp/index.ts +2 -2
  27. package/src/services/tem/index.ts +2 -2
  28. package/src/services/tem/v20210701/tem_models.ts +1 -1
  29. package/src/services/thpc/v20220401/thpc_models.ts +2 -2
  30. package/src/services/tione/index.ts +2 -2
  31. package/src/services/tione/v20211111/tione_models.ts +1 -1
  32. package/src/services/trp/v20210515/trp_client.ts +12 -0
  33. package/src/services/trp/v20210515/trp_models.ts +66 -0
  34. package/src/services/vm/index.ts +2 -2
  35. package/tencentcloud/common/sdk_version.d.ts +1 -1
  36. package/tencentcloud/common/sdk_version.js +1 -1
  37. package/tencentcloud/services/ams/index.d.ts +4 -4
  38. package/tencentcloud/services/ams/index.js +2 -2
  39. package/tencentcloud/services/as/v20180419/as_models.d.ts +15 -1
  40. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
  41. package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +21 -0
  42. package/tencentcloud/services/dts/index.d.ts +4 -4
  43. package/tencentcloud/services/dts/index.js +2 -2
  44. package/tencentcloud/services/essbasic/index.d.ts +4 -4
  45. package/tencentcloud/services/essbasic/index.js +2 -2
  46. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +3 -1
  47. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +1 -5
  48. package/tencentcloud/services/gme/v20180711/gme_client.js +0 -6
  49. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +0 -38
  50. package/tencentcloud/services/iai/index.d.ts +4 -4
  51. package/tencentcloud/services/iai/index.js +2 -2
  52. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  53. package/tencentcloud/services/iotvideo/index.js +2 -2
  54. package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +4 -0
  55. package/tencentcloud/services/irp/index.d.ts +4 -4
  56. package/tencentcloud/services/irp/index.js +2 -2
  57. package/tencentcloud/services/mgobe/index.d.ts +4 -4
  58. package/tencentcloud/services/mgobe/index.js +2 -2
  59. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
  60. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +165 -24
  61. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +1 -1
  62. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +4 -0
  63. package/tencentcloud/services/tbp/index.d.ts +4 -4
  64. package/tencentcloud/services/tbp/index.js +2 -2
  65. package/tencentcloud/services/tem/index.d.ts +4 -4
  66. package/tencentcloud/services/tem/index.js +2 -2
  67. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +1 -1
  68. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +2 -2
  69. package/tencentcloud/services/tione/index.d.ts +4 -4
  70. package/tencentcloud/services/tione/index.js +2 -2
  71. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +1 -1
  72. package/tencentcloud/services/trp/v20210515/trp_client.d.ts +5 -1
  73. package/tencentcloud/services/trp/v20210515/trp_client.js +6 -0
  74. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +55 -0
  75. package/tencentcloud/services/vm/index.d.ts +4 -4
  76. package/tencentcloud/services/vm/index.js +2 -2
  77. package/test/gme.v20180711.test.js +0 -10
  78. package/test/trp.v20210515.test.js +10 -0
@@ -161,6 +161,10 @@ export interface OverrideTranscodeParameter {
161
161
  * 极速高清转码参数。
162
162
  */
163
163
  TEHDConfig?: TEHDConfigForUpdate;
164
+ /**
165
+ * 字幕流配置参数。
166
+ */
167
+ SubtitleTemplate?: SubtitleTemplate;
164
168
  }
165
169
  /**
166
170
  * 智能分类任务输入类型
@@ -622,7 +626,7 @@ export interface ModifySampleSnapshotTemplateRequest {
622
626
  */
623
627
  SampleInterval?: number;
624
628
  /**
625
- * 图片格式,取值为 jpgpng。
629
+ * 图片格式,取值为 jpgpng、webp
626
630
  */
627
631
  Format?: string;
628
632
  /**
@@ -883,6 +887,10 @@ export interface CreateImageSpriteTemplateRequest {
883
887
  * 模板描述信息,长度限制:256 个字符。
884
888
  */
885
889
  Comment?: string;
890
+ /**
891
+ * 图片格式,取值为 jpg、png、webp。默认为 jpg。
892
+ */
893
+ Format?: string;
886
894
  }
887
895
  /**
888
896
  * 指定时间点截图信息
@@ -1738,13 +1746,23 @@ export interface TagConfigureInfo {
1738
1746
  Switch: string;
1739
1747
  }
1740
1748
  /**
1741
- * 文本关键词识别输出。
1749
+ * DescribeWordSamples返回参数结构体
1742
1750
  */
1743
- export interface AiRecognitionTaskOcrWordsResultOutput {
1751
+ export interface DescribeWordSamplesResponse {
1744
1752
  /**
1745
- * 文本关键词识别结果集。
1753
+ * 符合条件的记录总数。
1754
+ 注意:此字段可能返回 null,表示取不到有效值。
1746
1755
  */
1747
- ResultSet: Array<AiRecognitionTaskOcrWordsResultItem>;
1756
+ TotalCount?: number;
1757
+ /**
1758
+ * 关键词信息。
1759
+ 注意:此字段可能返回 null,表示取不到有效值。
1760
+ */
1761
+ WordSet?: Array<AiSampleWord>;
1762
+ /**
1763
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1764
+ */
1765
+ RequestId?: string;
1748
1766
  }
1749
1767
  /**
1750
1768
  * AI 样本管理,人脸信息。
@@ -1890,23 +1908,13 @@ export interface UserDefineAsrTextReviewTemplateInfo {
1890
1908
  ReviewConfidence?: number;
1891
1909
  }
1892
1910
  /**
1893
- * DescribeWordSamples返回参数结构体
1911
+ * 文本关键词识别输出。
1894
1912
  */
1895
- export interface DescribeWordSamplesResponse {
1896
- /**
1897
- * 符合条件的记录总数。
1898
- 注意:此字段可能返回 null,表示取不到有效值。
1899
- */
1900
- TotalCount?: number;
1901
- /**
1902
- * 关键词信息。
1903
- 注意:此字段可能返回 null,表示取不到有效值。
1904
- */
1905
- WordSet?: Array<AiSampleWord>;
1913
+ export interface AiRecognitionTaskOcrWordsResultOutput {
1906
1914
  /**
1907
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1915
+ * 文本关键词识别结果集。
1908
1916
  */
1909
- RequestId?: string;
1917
+ ResultSet: Array<AiRecognitionTaskOcrWordsResultItem>;
1910
1918
  }
1911
1919
  /**
1912
1920
  * 智能按帧标签结果信息
@@ -3442,8 +3450,11 @@ export interface ProcessMediaRequest {
3442
3450
  SessionContext?: string;
3443
3451
  /**
3444
3452
  * 编排ID。
3445
- 注意1:对于OutputStorage、OutputDir,如果编排任务里没有配置,将采用请求里对应参数。
3446
- 注意2:对于TaskNotifyConfig,如果编排任务里没有配置,将采用请求里对应的参数。
3453
+ 注意1:对于OutputStorage、OutputDir参数:
3454
+ <li>当服务编排中子任务节点配置了OutputStorage、OutputDir时,该子任务节点中配置的输出作为子任务的输出。</li>
3455
+ <li>当服务编排中子任务节点没有配置OutputStorage、OutputDir时,若创建任务接口(ProcessMedia)有输出,将覆盖原有编排的默认输出。</li>
3456
+ 注意2:对于TaskNotifyConfig参数,若创建任务接口(ProcessMedia)有设置,将覆盖原有编排的默认回调。
3457
+
3447
3458
  注意3:编排的 Trigger 只是用来自动化触发场景,在手动发起的请求中已经配置的 Trigger 无意义。
3448
3459
  */
3449
3460
  ScheduleId?: number;
@@ -3508,6 +3519,15 @@ export interface MediaProcessTaskSnapshotByTimeOffsetResult {
3508
3519
  */
3509
3520
  Output: MediaSnapshotByTimeOffsetItem;
3510
3521
  }
3522
+ /**
3523
+ * 翻译的输入。
3524
+ */
3525
+ export interface AiRecognitionTaskTransTextResultInput {
3526
+ /**
3527
+ * 翻译模板 ID。
3528
+ */
3529
+ Definition: number;
3530
+ }
3511
3531
  /**
3512
3532
  * 综合增强配置
3513
3533
  */
@@ -4965,6 +4985,10 @@ export interface ImageSpriteTemplate {
4965
4985
  * 模板描述信息。
4966
4986
  */
4967
4987
  Comment: string;
4988
+ /**
4989
+ * 图片格式。
4990
+ */
4991
+ Format: string;
4968
4992
  }
4969
4993
  /**
4970
4994
  * 文本全文识别片段。
@@ -5226,6 +5250,10 @@ export interface AiRecognitionTaskAsrWordsSegmentItem {
5226
5250
  */
5227
5251
  Confidence: number;
5228
5252
  }
5253
+ /**
5254
+ * 字幕流配置参数。
5255
+ */
5256
+ export declare type SubtitleTemplate = null;
5229
5257
  /**
5230
5258
  * 鉴黄任务控制参数。
5231
5259
  */
@@ -6274,6 +6302,31 @@ export interface DeleteWordSamplesResponse {
6274
6302
  */
6275
6303
  RequestId?: string;
6276
6304
  }
6305
+ /**
6306
+ * 直播实时翻译结果
6307
+ */
6308
+ export interface LiveStreamTransTextRecognitionResult {
6309
+ /**
6310
+ * 识别文本。
6311
+ */
6312
+ Text: string;
6313
+ /**
6314
+ * 翻译片段起始的 PTS 时间,单位:秒。
6315
+ */
6316
+ StartPtsTime: number;
6317
+ /**
6318
+ * 翻译片段终止的 PTS 时间,单位:秒。
6319
+ */
6320
+ EndPtsTime: number;
6321
+ /**
6322
+ * 翻译片段置信度。取值:0~100。
6323
+ */
6324
+ Confidence: number;
6325
+ /**
6326
+ * 翻译文本。
6327
+ */
6328
+ Trans: string;
6329
+ }
6277
6330
  /**
6278
6331
  * 媒体处理任务中的水印参数类型
6279
6332
  */
@@ -6887,6 +6940,7 @@ export interface LiveStreamAiRecognitionResultItem {
6887
6940
  <li>OcrWordsRecognition:文本关键词识别,</li>
6888
6941
  <li>AsrFullTextRecognition:语音全文识别,</li>
6889
6942
  <li>OcrFullTextRecognition:文本全文识别。</li>
6943
+ <li>TransTextRecognition:语音翻译。</li>
6890
6944
  */
6891
6945
  Type: string;
6892
6946
  /**
@@ -6914,6 +6968,10 @@ AsrFullTextRecognition 时有效。
6914
6968
  OcrFullTextRecognition 时有效。
6915
6969
  */
6916
6970
  OcrFullTextRecognitionResultSet: Array<LiveStreamOcrFullTextRecognitionResult>;
6971
+ /**
6972
+ * 翻译结果,当Type 为 TransTextRecognition 时有效。
6973
+ */
6974
+ TransTextRecognitionResultSet: Array<LiveStreamTransTextRecognitionResult>;
6917
6975
  }
6918
6976
  /**
6919
6977
  * DeleteImageSpriteTemplate请求参数结构体
@@ -7104,6 +7162,23 @@ PicUrlExpireTime 时间点后图片将被删除)。
7104
7162
  */
7105
7163
  PicUrlExpireTime: string;
7106
7164
  }
7165
+ /**
7166
+ * 翻译结果。
7167
+ */
7168
+ export interface AiRecognitionTaskTransTextResultOutput {
7169
+ /**
7170
+ * 翻译片段列表。
7171
+ */
7172
+ SegmentSet: Array<AiRecognitionTaskTransTextSegmentItem>;
7173
+ /**
7174
+ * 字幕文件地址。
7175
+ */
7176
+ SubtitlePath: string;
7177
+ /**
7178
+ * 字幕文件存储位置。
7179
+ */
7180
+ OutputStorage: TaskOutputStorage;
7181
+ }
7107
7182
  /**
7108
7183
  * ModifySnapshotByTimeOffsetTemplate请求参数结构体
7109
7184
  */
@@ -7142,7 +7217,7 @@ export interface ModifySnapshotByTimeOffsetTemplateRequest {
7142
7217
  */
7143
7218
  ResolutionAdaptive?: string;
7144
7219
  /**
7145
- * 图片格式,取值可以为 jpgpng。
7220
+ * 图片格式,取值可以为 jpgpng、webp
7146
7221
  */
7147
7222
  Format?: string;
7148
7223
  /**
@@ -7686,6 +7761,10 @@ export interface ModifyImageSpriteTemplateRequest {
7686
7761
  * 模板描述信息,长度限制:256 个字符。
7687
7762
  */
7688
7763
  Comment?: string;
7764
+ /**
7765
+ * 图片格式,取值可以为 jpg、png、webp。
7766
+ */
7767
+ Format?: string;
7689
7768
  }
7690
7769
  /**
7691
7770
  * 内容审核 Ocr 文字鉴违禁任务输入参数类型
@@ -8295,7 +8374,7 @@ export interface CreateSnapshotByTimeOffsetTemplateRequest {
8295
8374
  */
8296
8375
  ResolutionAdaptive?: string;
8297
8376
  /**
8298
- * 图片格式,取值可以为 jpgpng。默认为 jpg。
8377
+ * 图片格式,取值可以为 jpgpng、webp。默认为 jpg。
8299
8378
  */
8300
8379
  Format?: string;
8301
8380
  /**
@@ -8397,7 +8476,7 @@ export interface CreateSampleSnapshotTemplateRequest {
8397
8476
  */
8398
8477
  ResolutionAdaptive?: string;
8399
8478
  /**
8400
- * 图片格式,取值为 jpgpng。默认为 jpg。
8479
+ * 图片格式,取值为 jpgpng、webp。默认为 jpg。
8401
8480
  */
8402
8481
  Format?: string;
8403
8482
  /**
@@ -9045,6 +9124,36 @@ export interface AiAnalysisTaskCoverInput {
9045
9124
  */
9046
9125
  Definition: number;
9047
9126
  }
9127
+ /**
9128
+ * 翻译结果。
9129
+ */
9130
+ export interface AiRecognitionTaskTransTextResult {
9131
+ /**
9132
+ * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
9133
+ */
9134
+ Status: string;
9135
+ /**
9136
+ * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
9137
+ */
9138
+ ErrCodeExt: string;
9139
+ /**
9140
+ * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
9141
+ */
9142
+ ErrCode: number;
9143
+ /**
9144
+ * 错误信息。
9145
+ */
9146
+ Message: string;
9147
+ /**
9148
+ * 翻译任务输入信息。
9149
+ */
9150
+ Input: AiRecognitionTaskTransTextResultInput;
9151
+ /**
9152
+ * 翻译任务输出信息。
9153
+ 注意:此字段可能返回 null,表示取不到有效值。
9154
+ */
9155
+ Output: AiRecognitionTaskTransTextResultOutput;
9156
+ }
9048
9157
  /**
9049
9158
  * 编辑视频任务的输出
9050
9159
  */
@@ -9142,6 +9251,31 @@ export interface DescribeAIRecognitionTemplatesRequest {
9142
9251
  */
9143
9252
  Type?: string;
9144
9253
  }
9254
+ /**
9255
+ * 翻译片段。
9256
+ */
9257
+ export interface AiRecognitionTaskTransTextSegmentItem {
9258
+ /**
9259
+ * 识别片段置信度。取值:0~100。
9260
+ */
9261
+ Confidence: number;
9262
+ /**
9263
+ * 识别片段起始的偏移时间,单位:秒。
9264
+ */
9265
+ StartTimeOffset: number;
9266
+ /**
9267
+ * 识别片段终止的偏移时间,单位:秒。
9268
+ */
9269
+ EndTimeOffset: number;
9270
+ /**
9271
+ * 识别文本。
9272
+ */
9273
+ Text: string;
9274
+ /**
9275
+ * 翻译文本。
9276
+ */
9277
+ Trans: string;
9278
+ }
9145
9279
  /**
9146
9280
  * ModifyWatermarkTemplate返回参数结构体
9147
9281
  */
@@ -9166,6 +9300,7 @@ export interface AiRecognitionResult {
9166
9300
  <li>OcrWordsRecognition:文本关键词识别,</li>
9167
9301
  <li>AsrFullTextRecognition:语音全文识别,</li>
9168
9302
  <li>OcrFullTextRecognition:文本全文识别。</li>
9303
+ <li>TransTextRecognition:语音翻译。</li>
9169
9304
  */
9170
9305
  Type: string;
9171
9306
  /**
@@ -9198,4 +9333,10 @@ export interface AiRecognitionResult {
9198
9333
  注意:此字段可能返回 null,表示取不到有效值。
9199
9334
  */
9200
9335
  OcrFullTextTask: AiRecognitionTaskOcrFullTextResult;
9336
+ /**
9337
+ * 翻译结果,当 Type 为
9338
+ TransTextRecognition 时有效。
9339
+ 注意:此字段可能返回 null,表示取不到有效值。
9340
+ */
9341
+ TransTextTask: AiRecognitionTaskTransTextResult;
9201
9342
  }
@@ -340,7 +340,7 @@ export interface DescribeLogListRequest {
340
340
  */
341
341
  Context?: string;
342
342
  /**
343
- * 查询语句,参考控制台请求参数,语句长度最大为4096(必填)
343
+ * 查询语句,参考控制台请求参数,语句长度最大为4096(必填)例:"id:120001 AND type:\"log\""
344
344
  */
345
345
  Query?: string;
346
346
  /**
@@ -1164,6 +1164,10 @@ export interface GetEmailTemplateResponse {
1164
1164
  * 模板状态 0-审核通过 1-待审核 2-审核拒绝
1165
1165
  */
1166
1166
  TemplateStatus: number;
1167
+ /**
1168
+ * 模板名称
1169
+ */
1170
+ TemplateName: string;
1167
1171
  /**
1168
1172
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1169
1173
  */
@@ -1,10 +1,10 @@
1
1
  export declare const tbp: {
2
- v20190627: {
3
- Client: typeof import("./v20190627/tbp_client").Client;
4
- Models: typeof import("./v20190627/tbp_models");
5
- };
6
2
  v20190311: {
7
3
  Client: typeof import("./v20190311/tbp_client").Client;
8
4
  Models: typeof import("./v20190311/tbp_models");
9
5
  };
6
+ v20190627: {
7
+ Client: typeof import("./v20190627/tbp_client").Client;
8
+ Models: typeof import("./v20190627/tbp_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.tbp = void 0;
4
- const v20190627_1 = require("./v20190627");
5
4
  const v20190311_1 = require("./v20190311");
5
+ const v20190627_1 = require("./v20190627");
6
6
  exports.tbp = {
7
- v20190627: v20190627_1.v20190627,
8
7
  v20190311: v20190311_1.v20190311,
8
+ v20190627: v20190627_1.v20190627,
9
9
  };
@@ -1,10 +1,10 @@
1
1
  export declare const tem: {
2
- v20201221: {
3
- Client: typeof import("./v20201221/tem_client").Client;
4
- Models: typeof import("./v20201221/tem_models");
5
- };
6
2
  v20210701: {
7
3
  Client: typeof import("./v20210701/tem_client").Client;
8
4
  Models: typeof import("./v20210701/tem_models");
9
5
  };
6
+ v20201221: {
7
+ Client: typeof import("./v20201221/tem_client").Client;
8
+ Models: typeof import("./v20201221/tem_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.tem = void 0;
4
- const v20201221_1 = require("./v20201221");
5
4
  const v20210701_1 = require("./v20210701");
5
+ const v20201221_1 = require("./v20201221");
6
6
  exports.tem = {
7
- v20201221: v20201221_1.v20201221,
8
7
  v20210701: v20210701_1.v20210701,
8
+ v20201221: v20201221_1.v20201221,
9
9
  };
@@ -1750,7 +1750,7 @@ export interface CreateLogConfigRequest {
1750
1750
  */
1751
1751
  TopicId?: string;
1752
1752
  /**
1753
- * 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;
1753
+ * 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;json_log 为 json格式;fullregex_log 为单行正则;multiline_fullregex_log 为多行正则
1754
1754
  */
1755
1755
  LogType?: string;
1756
1756
  /**
@@ -302,7 +302,7 @@ export interface CreateClusterRequest {
302
302
  */
303
303
  ComputeNodeCount?: number;
304
304
  /**
305
- * 调度器类型。<br><li>SGE:SGE调度器。<br><li>SLURM:SLURM调度器。
305
+ * 调度器类型。默认取值:SLURM。<br><li>SGE:SGE调度器。<br><li>SLURM:SLURM调度器。
306
306
  */
307
307
  SchedulerType?: string;
308
308
  /**
@@ -334,7 +334,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
334
334
  */
335
335
  DryRun?: boolean;
336
336
  /**
337
- * 域名字服务类型。默认值:NIS
337
+ * 域名字服务类型。默认取值:NIS
338
338
  <li>NIS:NIS域名字服务。
339
339
  */
340
340
  AccountType?: string;
@@ -1,10 +1,10 @@
1
1
  export declare const tione: {
2
- v20191022: {
3
- Client: typeof import("./v20191022/tione_client").Client;
4
- Models: typeof import("./v20191022/tione_models");
5
- };
6
2
  v20211111: {
7
3
  Client: typeof import("./v20211111/tione_client").Client;
8
4
  Models: typeof import("./v20211111/tione_models");
9
5
  };
6
+ v20191022: {
7
+ Client: typeof import("./v20191022/tione_client").Client;
8
+ Models: typeof import("./v20191022/tione_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.tione = void 0;
4
- const v20191022_1 = require("./v20191022");
5
4
  const v20211111_1 = require("./v20211111");
5
+ const v20191022_1 = require("./v20191022");
6
6
  exports.tione = {
7
- v20191022: v20191022_1.v20191022,
8
7
  v20211111: v20211111_1.v20211111,
8
+ v20191022: v20191022_1.v20191022,
9
9
  };
@@ -3047,7 +3047,7 @@ export interface ScheduledAction {
3047
3047
  */
3048
3048
  ScheduleStop?: boolean;
3049
3049
  /**
3050
- * 要执行定时停止的时间,格式:“2022-01-26 19:46:22”
3050
+ * 要执行定时停止的时间,格式:“2022-01-26T19:46:22+08:00
3051
3051
  */
3052
3052
  ScheduleStopTime?: string;
3053
3053
  }
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DescribeProductsRequest, ModifyProductResponse, ModifyProductRequest, ModifyCustomRuleRequest, DeleteCodeBatchRequest, DescribeMerchantsRequest, ModifyTraceCodeRequest, DescribeCustomRulesResponse, CreateMerchantRequest, DescribeCodeBatchByIdRequest, DescribeTraceCodeByIdResponse, DescribeProductsResponse, CreateCodeBatchResponse, DescribeTraceDataListResponse, DescribeTraceCodesRequest, CreateTraceCodesAsyncRequest, ModifyTraceDataResponse, DeleteProductRequest, CreateTraceChainResponse, CreateCustomRuleRequest, DescribeCodePackStatusRequest, ModifyTraceDataRequest, DescribeCodeBatchsRequest, ModifyTraceDataRanksResponse, CreateTraceCodesRequest, DescribeCodeBatchByIdResponse, DescribeCodePackStatusResponse, ModifyCustomRuleResponse, ModifyMerchantResponse, DeleteProductResponse, DescribeCodesByPackResponse, CreateTraceDataRequest, CreateProductResponse, CreateCustomPackRequest, CreateCodePackRequest, CreateCodeBatchRequest, DescribeCustomRuleByIdRequest, ModifyCustomRuleStatusResponse, CreateCustomPackResponse, ModifyMerchantRequest, DescribeTmpTokenResponse, DescribeCodePackUrlRequest, ModifyTraceDataRanksRequest, DeleteTraceDataResponse, ModifyCustomRuleStatusRequest, CreateCodePackResponse, DescribeMerchantByIdResponse, CreateTraceDataResponse, DescribeCustomRuleByIdResponse, DescribeCodeBatchsResponse, CreateCustomRuleResponse, DescribeCodePacksResponse, DescribeCodesByPackRequest, DescribeJobFileUrlRequest, CreateTraceCodesAsyncResponse, DescribeCustomRulesRequest, CreateProductRequest, ModifyCodeBatchRequest, DescribeProductByIdRequest, DescribeTraceCodesResponse, CreateTraceCodesResponse, DeleteTraceDataRequest, DescribeTmpTokenRequest, CreateMerchantResponse, DescribeMerchantsResponse, DescribeTraceDataListRequest, DeleteMerchantResponse, DeleteCodeBatchResponse, CreateTraceChainRequest, DescribeMerchantByIdRequest, DescribeProductByIdResponse, DescribeCodePacksRequest, DescribeJobFileUrlResponse, DescribeTraceCodeByIdRequest, DeleteMerchantRequest, ModifyTraceCodeResponse, DescribeCodePackUrlResponse, ModifyCodeBatchResponse } from "./trp_models";
3
+ import { DescribeProductsRequest, CreateCorporationOrderResponse, ModifyProductResponse, ModifyProductRequest, ModifyCustomRuleRequest, DeleteCodeBatchRequest, DescribeMerchantsRequest, ModifyTraceCodeRequest, DescribeCustomRulesResponse, CreateMerchantRequest, DescribeCodeBatchByIdRequest, DescribeTraceCodeByIdResponse, DescribeProductsResponse, CreateCodeBatchResponse, DescribeTraceDataListResponse, DescribeTraceCodesRequest, CreateTraceCodesAsyncRequest, ModifyTraceDataResponse, DeleteProductRequest, CreateTraceChainResponse, CreateCustomRuleRequest, DescribeCodePackStatusRequest, ModifyTraceDataRequest, DescribeCodeBatchsRequest, ModifyTraceDataRanksResponse, CreateTraceCodesRequest, DescribeCodeBatchByIdResponse, DescribeCodePackStatusResponse, ModifyCustomRuleResponse, ModifyMerchantResponse, DeleteProductResponse, DescribeCodesByPackResponse, CreateTraceDataRequest, CreateProductResponse, CreateCustomPackRequest, CreateCodePackRequest, CreateCodeBatchRequest, DescribeCustomRuleByIdRequest, ModifyCustomRuleStatusResponse, CreateCustomPackResponse, ModifyMerchantRequest, DescribeTmpTokenResponse, DescribeCodePackUrlRequest, ModifyTraceDataRanksRequest, DeleteTraceDataResponse, ModifyCustomRuleStatusRequest, CreateCodePackResponse, DescribeMerchantByIdResponse, CreateTraceDataResponse, DescribeCustomRuleByIdResponse, DescribeCodeBatchsResponse, CreateCustomRuleResponse, DescribeCodePacksResponse, DescribeCodesByPackRequest, DescribeJobFileUrlRequest, CreateTraceCodesAsyncResponse, DescribeCustomRulesRequest, CreateProductRequest, ModifyCodeBatchRequest, DescribeProductByIdRequest, DescribeTraceCodesResponse, CreateCorporationOrderRequest, CreateTraceCodesResponse, DeleteTraceDataRequest, DescribeTmpTokenRequest, CreateMerchantResponse, DescribeMerchantsResponse, DescribeTraceDataListRequest, DeleteMerchantResponse, DeleteCodeBatchResponse, CreateTraceChainRequest, DescribeMerchantByIdRequest, DescribeProductByIdResponse, DescribeCodePacksRequest, DescribeJobFileUrlResponse, DescribeTraceCodeByIdRequest, DeleteMerchantRequest, ModifyTraceCodeResponse, DescribeCodePackUrlResponse, ModifyCodeBatchResponse } from "./trp_models";
4
4
  /**
5
5
  * trp client
6
6
  * @class
@@ -91,6 +91,10 @@ export declare class Client extends AbstractClient {
91
91
  * 生成自定义码包
92
92
  */
93
93
  CreateCustomPack(req: CreateCustomPackRequest, cb?: (error: string, rep: CreateCustomPackResponse) => void): Promise<CreateCustomPackResponse>;
94
+ /**
95
+ * 以订单方式新建企业信息/配额信息
96
+ */
97
+ CreateCorporationOrder(req: CreateCorporationOrderRequest, cb?: (error: string, rep: CreateCorporationOrderResponse) => void): Promise<CreateCorporationOrderResponse>;
94
98
  /**
95
99
  * 删除商户
96
100
  */
@@ -153,6 +153,12 @@ class Client extends abstract_client_1.AbstractClient {
153
153
  async CreateCustomPack(req, cb) {
154
154
  return this.request("CreateCustomPack", req, cb);
155
155
  }
156
+ /**
157
+ * 以订单方式新建企业信息/配额信息
158
+ */
159
+ async CreateCorporationOrder(req, cb) {
160
+ return this.request("CreateCorporationOrder", req, cb);
161
+ }
156
162
  /**
157
163
  * 删除商户
158
164
  */
@@ -113,6 +113,20 @@ export interface DescribeProductsRequest {
113
113
  */
114
114
  CorpId?: number;
115
115
  }
116
+ /**
117
+ * CreateCorporationOrder返回参数结构体
118
+ */
119
+ export interface CreateCorporationOrderResponse {
120
+ /**
121
+ * 企业ID
122
+ 注意:此字段可能返回 null,表示取不到有效值。
123
+ */
124
+ CorpId: number;
125
+ /**
126
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
127
+ */
128
+ RequestId?: string;
129
+ }
116
130
  /**
117
131
  * ModifyProduct返回参数结构体
118
132
  */
@@ -1698,6 +1712,47 @@ export interface DescribeTraceCodesResponse {
1698
1712
  */
1699
1713
  RequestId?: string;
1700
1714
  }
1715
+ /**
1716
+ * CreateCorporationOrder请求参数结构体
1717
+ */
1718
+ export interface CreateCorporationOrderRequest {
1719
+ /**
1720
+ * 企业名称
1721
+ */
1722
+ CorpName: string;
1723
+ /**
1724
+ * 所有者ID
1725
+ */
1726
+ Owner: string;
1727
+ /**
1728
+ * 溯源码额度
1729
+ */
1730
+ CodeQuota: number;
1731
+ /**
1732
+ * 额度过期时间
1733
+ */
1734
+ ExpireTime: string;
1735
+ /**
1736
+ * 金额
1737
+ */
1738
+ Amount: number;
1739
+ /**
1740
+ * 企业ID
1741
+ */
1742
+ CorpId?: number;
1743
+ /**
1744
+ * 联系人
1745
+ */
1746
+ ContactPerson?: string;
1747
+ /**
1748
+ * 联系电话
1749
+ */
1750
+ ContactNumber?: string;
1751
+ /**
1752
+ * 备注
1753
+ */
1754
+ Remark?: string;
1755
+ }
1701
1756
  /**
1702
1757
  * CreateTraceCodes返回参数结构体
1703
1758
  */
@@ -1,4 +1,8 @@
1
1
  export declare const vm: {
2
+ v20200709: {
3
+ Client: typeof import("./v20200709/vm_client").Client;
4
+ Models: typeof import("./v20200709/vm_models");
5
+ };
2
6
  v20201229: {
3
7
  Client: typeof import("./v20201229/vm_client").Client;
4
8
  Models: typeof import("./v20201229/vm_models");
@@ -7,8 +11,4 @@ export declare const vm: {
7
11
  Client: typeof import("./v20210922/vm_client").Client;
8
12
  Models: typeof import("./v20210922/vm_models");
9
13
  };
10
- v20200709: {
11
- Client: typeof import("./v20200709/vm_client").Client;
12
- Models: typeof import("./v20200709/vm_models");
13
- };
14
14
  };
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.vm = void 0;
4
+ const v20200709_1 = require("./v20200709");
4
5
  const v20201229_1 = require("./v20201229");
5
6
  const v20210922_1 = require("./v20210922");
6
- const v20200709_1 = require("./v20200709");
7
7
  exports.vm = {
8
+ v20200709: v20200709_1.v20200709,
8
9
  v20201229: v20201229_1.v20201229,
9
10
  v20210922: v20210922_1.v20210922,
10
- v20200709: v20200709_1.v20200709,
11
11
  };
@@ -58,16 +58,6 @@ it("gme.v20180711.GetCustomizationList", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("gme.v20180711.ModifyRoomInfo", async function () {
62
- try {
63
- const data = await client.ModifyRoomInfo({})
64
- expect(data).to.be.ok
65
- } catch(error) {
66
- expect(error.requestId).to.be.ok
67
- expect(error.code).to.be.ok
68
- }
69
- })
70
-
71
61
  it("gme.v20180711.DescribeUserInAndOutTime", async function () {
72
62
  try {
73
63
  const data = await client.DescribeUserInAndOutTime({})
@@ -228,6 +228,16 @@ it("trp.v20210515.CreateCustomPack", async function () {
228
228
  }
229
229
  })
230
230
 
231
+ it("trp.v20210515.CreateCorporationOrder", async function () {
232
+ try {
233
+ const data = await client.CreateCorporationOrder({})
234
+ expect(data).to.be.ok
235
+ } catch(error) {
236
+ expect(error.requestId).to.be.ok
237
+ expect(error.code).to.be.ok
238
+ }
239
+ })
240
+
231
241
  it("trp.v20210515.DeleteMerchant", async function () {
232
242
  try {
233
243
  const data = await client.DeleteMerchant({})