tencentcloud-sdk-nodejs 4.0.460 → 4.0.461
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/CHANGELOG.md +204 -0
- package/SERVICE_CHANGELOG.md +279 -106
- package/package.json +1 -1
- package/products.md +9 -9
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/v20210624/bma_client.ts +14 -2
- package/src/services/bma/v20210624/bma_models.ts +112 -42
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +67 -16
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +570 -202
- package/src/services/essbasic/v20210526/essbasic_client.ts +7 -20
- package/src/services/essbasic/v20210526/essbasic_models.ts +0 -35
- package/src/services/faceid/v20180301/faceid_client.ts +189 -62
- package/src/services/faceid/v20180301/faceid_models.ts +2264 -1531
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/trp/v20210515/trp_client.ts +189 -67
- package/src/services/trp/v20210515/trp_models.ts +1152 -682
- package/src/services/trtc/v20190722/trtc_client.ts +79 -5
- package/src/services/trtc/v20190722/trtc_models.ts +691 -106
- package/src/services/wedata/v20210820/wedata_client.ts +116 -40
- package/src/services/wedata/v20210820/wedata_models.ts +646 -166
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bma/v20210624/bma_client.d.ts +5 -1
- package/tencentcloud/services/bma/v20210624/bma_client.js +6 -0
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +96 -38
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +19 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +27 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +476 -168
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -8
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -10
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +0 -30
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +46 -3
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +66 -3
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +2142 -1511
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +47 -7
- package/tencentcloud/services/trp/v20210515/trp_client.js +69 -9
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +999 -598
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +32 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +37 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +556 -60
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +36 -12
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +51 -15
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +554 -149
- package/test/bma.v20210624.test.js +10 -0
- package/test/cynosdb.v20190107.test.js +42 -2
- package/test/essbasic.v20210526.test.js +2 -12
- package/test/faceid.v20180301.test.js +102 -2
- package/test/trp.v20210515.test.js +106 -6
- package/test/trtc.v20190722.test.js +30 -0
- package/test/wedata.v20210820.test.js +68 -8
|
@@ -89,163 +89,213 @@ export interface CodeBatch {
|
|
|
89
89
|
Job?: Job;
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
|
-
*
|
|
92
|
+
* DescribeProducts请求参数结构体
|
|
93
93
|
*/
|
|
94
|
-
export interface
|
|
94
|
+
export interface DescribeProductsRequest {
|
|
95
|
+
/**
|
|
96
|
+
* 商品名称
|
|
97
|
+
*/
|
|
98
|
+
Name?: string;
|
|
99
|
+
/**
|
|
100
|
+
* 条数
|
|
101
|
+
*/
|
|
102
|
+
PageSize?: number;
|
|
103
|
+
/**
|
|
104
|
+
* 页数
|
|
105
|
+
*/
|
|
106
|
+
PageNumber?: number;
|
|
95
107
|
/**
|
|
96
108
|
* 商品ID
|
|
97
109
|
*/
|
|
98
|
-
|
|
110
|
+
MerchantId?: string;
|
|
99
111
|
/**
|
|
100
112
|
* 企业ID
|
|
101
113
|
*/
|
|
102
114
|
CorpId?: number;
|
|
103
115
|
}
|
|
104
116
|
/**
|
|
105
|
-
*
|
|
117
|
+
* ModifyProduct返回参数结构体
|
|
106
118
|
*/
|
|
107
|
-
export interface
|
|
119
|
+
export interface ModifyProductResponse {
|
|
108
120
|
/**
|
|
109
|
-
*
|
|
121
|
+
* 商品ID
|
|
122
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
110
123
|
*/
|
|
111
|
-
|
|
124
|
+
ProductId: string;
|
|
112
125
|
/**
|
|
113
|
-
*
|
|
126
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
114
127
|
*/
|
|
115
|
-
|
|
128
|
+
RequestId?: string;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* ModifyProduct请求参数结构体
|
|
132
|
+
*/
|
|
133
|
+
export interface ModifyProductRequest {
|
|
116
134
|
/**
|
|
117
|
-
*
|
|
135
|
+
* 商品名称
|
|
118
136
|
*/
|
|
119
|
-
|
|
137
|
+
Name: string;
|
|
120
138
|
/**
|
|
121
|
-
*
|
|
139
|
+
* 商品ID
|
|
122
140
|
*/
|
|
123
|
-
|
|
141
|
+
ProductId: string;
|
|
124
142
|
/**
|
|
125
|
-
*
|
|
143
|
+
* 备注
|
|
126
144
|
*/
|
|
127
|
-
|
|
145
|
+
Remark?: string;
|
|
128
146
|
/**
|
|
129
|
-
*
|
|
147
|
+
* 商品规格
|
|
130
148
|
*/
|
|
131
|
-
|
|
149
|
+
Specification?: string;
|
|
132
150
|
/**
|
|
133
|
-
*
|
|
151
|
+
* 商品图片
|
|
134
152
|
*/
|
|
135
|
-
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* CreateCodeBatch返回参数结构体
|
|
139
|
-
*/
|
|
140
|
-
export interface CreateCodeBatchResponse {
|
|
153
|
+
Logo?: Array<string>;
|
|
141
154
|
/**
|
|
142
|
-
*
|
|
155
|
+
* 企业ID
|
|
143
156
|
*/
|
|
144
|
-
|
|
157
|
+
CorpId?: number;
|
|
145
158
|
/**
|
|
146
|
-
*
|
|
159
|
+
* 预留字段
|
|
147
160
|
*/
|
|
148
|
-
|
|
161
|
+
Ext?: Ext;
|
|
149
162
|
}
|
|
150
163
|
/**
|
|
151
|
-
*
|
|
164
|
+
* ModifyCustomRule请求参数结构体
|
|
152
165
|
*/
|
|
153
|
-
export interface
|
|
166
|
+
export interface ModifyCustomRuleRequest {
|
|
154
167
|
/**
|
|
155
|
-
*
|
|
168
|
+
* 码规则ID
|
|
156
169
|
*/
|
|
157
|
-
|
|
170
|
+
CustomId: string;
|
|
171
|
+
/**
|
|
172
|
+
* 规则名称
|
|
173
|
+
*/
|
|
174
|
+
Name: string;
|
|
175
|
+
/**
|
|
176
|
+
* 码长度
|
|
177
|
+
*/
|
|
178
|
+
CodeLength: number;
|
|
179
|
+
/**
|
|
180
|
+
* 码段配置
|
|
181
|
+
*/
|
|
182
|
+
CodeParts: Array<CodePart>;
|
|
158
183
|
/**
|
|
159
184
|
* 企业ID
|
|
160
185
|
*/
|
|
161
186
|
CorpId?: number;
|
|
162
187
|
}
|
|
163
188
|
/**
|
|
164
|
-
*
|
|
189
|
+
* 码段配置
|
|
165
190
|
*/
|
|
166
|
-
export interface
|
|
191
|
+
export interface CodePart {
|
|
167
192
|
/**
|
|
168
|
-
*
|
|
193
|
+
* 码段名称
|
|
194
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
169
195
|
*/
|
|
170
|
-
|
|
196
|
+
Name: string;
|
|
171
197
|
/**
|
|
172
|
-
*
|
|
198
|
+
* 码段类型
|
|
199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
173
200
|
*/
|
|
174
|
-
|
|
201
|
+
Type: string;
|
|
175
202
|
/**
|
|
176
|
-
*
|
|
203
|
+
* 码段内容
|
|
204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
177
205
|
*/
|
|
178
|
-
|
|
206
|
+
Value: string;
|
|
179
207
|
/**
|
|
180
|
-
*
|
|
208
|
+
* 码段长度
|
|
181
209
|
*/
|
|
182
|
-
|
|
210
|
+
Length: number;
|
|
211
|
+
/**
|
|
212
|
+
* 扩展字段
|
|
213
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
214
|
+
*/
|
|
215
|
+
Ext: string;
|
|
183
216
|
}
|
|
184
217
|
/**
|
|
185
|
-
*
|
|
218
|
+
* DeleteCodeBatch请求参数结构体
|
|
186
219
|
*/
|
|
187
|
-
export interface
|
|
220
|
+
export interface DeleteCodeBatchRequest {
|
|
221
|
+
/**
|
|
222
|
+
* 企业ID
|
|
223
|
+
*/
|
|
224
|
+
CorpId?: number;
|
|
188
225
|
/**
|
|
189
226
|
* 批次ID
|
|
190
227
|
*/
|
|
191
|
-
BatchId
|
|
228
|
+
BatchId?: string;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* DescribeMerchants请求参数结构体
|
|
232
|
+
*/
|
|
233
|
+
export interface DescribeMerchantsRequest {
|
|
192
234
|
/**
|
|
193
|
-
*
|
|
235
|
+
* 搜索商户名称
|
|
194
236
|
*/
|
|
195
|
-
|
|
237
|
+
Name?: string;
|
|
196
238
|
/**
|
|
197
|
-
*
|
|
239
|
+
* 条数
|
|
198
240
|
*/
|
|
199
|
-
|
|
241
|
+
PageSize?: number;
|
|
200
242
|
/**
|
|
201
|
-
*
|
|
243
|
+
* 页数
|
|
202
244
|
*/
|
|
203
|
-
|
|
245
|
+
PageNumber?: number;
|
|
246
|
+
/**
|
|
247
|
+
* 企业ID
|
|
248
|
+
*/
|
|
249
|
+
CorpId?: number;
|
|
250
|
+
/**
|
|
251
|
+
* 码来源类型 0:自建, 1:第三方
|
|
252
|
+
*/
|
|
253
|
+
CodeType?: number;
|
|
204
254
|
}
|
|
205
255
|
/**
|
|
206
|
-
*
|
|
256
|
+
* ModifyTraceCode请求参数结构体
|
|
207
257
|
*/
|
|
208
|
-
export interface
|
|
258
|
+
export interface ModifyTraceCodeRequest {
|
|
209
259
|
/**
|
|
210
|
-
*
|
|
211
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
260
|
+
* 二维码
|
|
212
261
|
*/
|
|
213
|
-
|
|
262
|
+
Code: string;
|
|
214
263
|
/**
|
|
215
|
-
*
|
|
216
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
264
|
+
* 企业ID
|
|
217
265
|
*/
|
|
218
|
-
|
|
266
|
+
CorpId?: number;
|
|
219
267
|
/**
|
|
220
|
-
*
|
|
268
|
+
* 状态 0: 冻结 1: 激活
|
|
221
269
|
*/
|
|
222
|
-
|
|
270
|
+
Status?: number;
|
|
223
271
|
}
|
|
224
272
|
/**
|
|
225
|
-
*
|
|
273
|
+
* DescribeCustomRules返回参数结构体
|
|
226
274
|
*/
|
|
227
|
-
export interface
|
|
275
|
+
export interface DescribeCustomRulesResponse {
|
|
228
276
|
/**
|
|
229
|
-
*
|
|
277
|
+
* 码规则列表
|
|
278
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
230
279
|
*/
|
|
231
|
-
|
|
280
|
+
CustomRules: Array<CustomRule>;
|
|
232
281
|
/**
|
|
233
|
-
*
|
|
282
|
+
* 总数
|
|
283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
234
284
|
*/
|
|
235
|
-
|
|
285
|
+
TotalCount: number;
|
|
286
|
+
/**
|
|
287
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
288
|
+
*/
|
|
289
|
+
RequestId?: string;
|
|
236
290
|
}
|
|
237
291
|
/**
|
|
238
|
-
*
|
|
292
|
+
* CreateMerchant请求参数结构体
|
|
239
293
|
*/
|
|
240
|
-
export interface
|
|
294
|
+
export interface CreateMerchantRequest {
|
|
241
295
|
/**
|
|
242
296
|
* 商户名称
|
|
243
297
|
*/
|
|
244
298
|
Name: string;
|
|
245
|
-
/**
|
|
246
|
-
* 商户标识码
|
|
247
|
-
*/
|
|
248
|
-
MerchantId: string;
|
|
249
299
|
/**
|
|
250
300
|
* 备注
|
|
251
301
|
*/
|
|
@@ -255,7 +305,7 @@ export interface ModifyMerchantRequest {
|
|
|
255
305
|
*/
|
|
256
306
|
CorpId?: number;
|
|
257
307
|
/**
|
|
258
|
-
* 码包来源 0:自建, 1
|
|
308
|
+
* 码包来源 0:自建, 1:第三发
|
|
259
309
|
*/
|
|
260
310
|
CodeType?: number;
|
|
261
311
|
/**
|
|
@@ -264,206 +314,315 @@ export interface ModifyMerchantRequest {
|
|
|
264
314
|
CodeUrl?: string;
|
|
265
315
|
}
|
|
266
316
|
/**
|
|
267
|
-
*
|
|
317
|
+
* DescribeCodeBatchById请求参数结构体
|
|
268
318
|
*/
|
|
269
|
-
export interface
|
|
319
|
+
export interface DescribeCodeBatchByIdRequest {
|
|
270
320
|
/**
|
|
271
|
-
*
|
|
272
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
321
|
+
* 企业ID
|
|
273
322
|
*/
|
|
274
|
-
|
|
323
|
+
CorpId?: number;
|
|
275
324
|
/**
|
|
276
|
-
*
|
|
325
|
+
* 批次ID
|
|
277
326
|
*/
|
|
278
|
-
|
|
327
|
+
BatchId?: string;
|
|
279
328
|
}
|
|
280
329
|
/**
|
|
281
|
-
*
|
|
330
|
+
* DescribeTraceCodeById返回参数结构体
|
|
282
331
|
*/
|
|
283
|
-
export interface
|
|
332
|
+
export interface DescribeTraceCodeByIdResponse {
|
|
284
333
|
/**
|
|
285
|
-
*
|
|
334
|
+
* 无
|
|
286
335
|
*/
|
|
287
|
-
|
|
336
|
+
TraceCode: TraceCode;
|
|
288
337
|
/**
|
|
289
|
-
*
|
|
338
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
290
339
|
*/
|
|
291
|
-
|
|
340
|
+
RequestId?: string;
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* 码规则
|
|
344
|
+
*/
|
|
345
|
+
export interface CustomRule {
|
|
292
346
|
/**
|
|
293
|
-
*
|
|
347
|
+
* 码规则ID
|
|
294
348
|
*/
|
|
295
|
-
|
|
349
|
+
CustomId: string;
|
|
296
350
|
/**
|
|
297
|
-
*
|
|
351
|
+
* 码规则名
|
|
352
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
298
353
|
*/
|
|
299
|
-
|
|
354
|
+
Name: string;
|
|
300
355
|
/**
|
|
301
|
-
*
|
|
356
|
+
* 企业ID
|
|
357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
302
358
|
*/
|
|
303
|
-
|
|
359
|
+
CorpId: number;
|
|
304
360
|
/**
|
|
305
|
-
*
|
|
361
|
+
* 商户ID
|
|
362
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
306
363
|
*/
|
|
307
|
-
|
|
364
|
+
MerchantId: string;
|
|
308
365
|
/**
|
|
309
|
-
*
|
|
366
|
+
* 码ID长度
|
|
310
367
|
*/
|
|
311
|
-
|
|
368
|
+
CodeLength: number;
|
|
312
369
|
/**
|
|
313
|
-
*
|
|
370
|
+
* 规则状态
|
|
314
371
|
*/
|
|
315
|
-
|
|
372
|
+
Status: number;
|
|
316
373
|
/**
|
|
317
|
-
*
|
|
374
|
+
* 码段配置
|
|
318
375
|
*/
|
|
319
|
-
|
|
376
|
+
CodeParts: Array<CodePart>;
|
|
320
377
|
/**
|
|
321
|
-
*
|
|
378
|
+
* 创建时间
|
|
322
379
|
*/
|
|
323
|
-
|
|
380
|
+
CreateTime: string;
|
|
324
381
|
/**
|
|
325
|
-
*
|
|
382
|
+
* 更新时间
|
|
326
383
|
*/
|
|
327
|
-
|
|
384
|
+
UpdateTime: string;
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* DescribeProducts返回参数结构体
|
|
388
|
+
*/
|
|
389
|
+
export interface DescribeProductsResponse {
|
|
328
390
|
/**
|
|
329
|
-
*
|
|
391
|
+
* 商品列表
|
|
392
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
330
393
|
*/
|
|
331
|
-
|
|
394
|
+
Products: Array<Product>;
|
|
332
395
|
/**
|
|
333
|
-
*
|
|
396
|
+
* 总数
|
|
397
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
334
398
|
*/
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* [无效] 上链数据
|
|
338
|
-
*/
|
|
339
|
-
ChainData?: ChainData;
|
|
399
|
+
TotalCount: number;
|
|
340
400
|
/**
|
|
341
|
-
*
|
|
401
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
342
402
|
*/
|
|
343
|
-
|
|
403
|
+
RequestId?: string;
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* CreateCodeBatch返回参数结构体
|
|
407
|
+
*/
|
|
408
|
+
export interface CreateCodeBatchResponse {
|
|
344
409
|
/**
|
|
345
|
-
*
|
|
410
|
+
* 批次ID
|
|
346
411
|
*/
|
|
347
|
-
|
|
412
|
+
BatchId: string;
|
|
348
413
|
/**
|
|
349
|
-
*
|
|
414
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
350
415
|
*/
|
|
351
|
-
|
|
416
|
+
RequestId?: string;
|
|
352
417
|
}
|
|
353
418
|
/**
|
|
354
|
-
*
|
|
419
|
+
* DescribeTraceDataList返回参数结构体
|
|
355
420
|
*/
|
|
356
|
-
export interface
|
|
421
|
+
export interface DescribeTraceDataListResponse {
|
|
357
422
|
/**
|
|
358
|
-
*
|
|
359
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
423
|
+
* 数量
|
|
360
424
|
*/
|
|
361
|
-
|
|
425
|
+
TotalCount: number;
|
|
426
|
+
/**
|
|
427
|
+
* 无
|
|
428
|
+
*/
|
|
429
|
+
TraceDataList: Array<TraceData>;
|
|
362
430
|
/**
|
|
363
431
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
364
432
|
*/
|
|
365
433
|
RequestId?: string;
|
|
366
434
|
}
|
|
367
435
|
/**
|
|
368
|
-
*
|
|
436
|
+
* DescribeTraceCodes请求参数结构体
|
|
369
437
|
*/
|
|
370
|
-
export interface
|
|
438
|
+
export interface DescribeTraceCodesRequest {
|
|
371
439
|
/**
|
|
372
|
-
*
|
|
440
|
+
* 搜索关键字 码标识,或者批次ID
|
|
373
441
|
*/
|
|
374
|
-
|
|
442
|
+
Keyword?: string;
|
|
443
|
+
/**
|
|
444
|
+
* 条数
|
|
445
|
+
*/
|
|
446
|
+
PageNumber?: number;
|
|
447
|
+
/**
|
|
448
|
+
* 页码
|
|
449
|
+
*/
|
|
450
|
+
PageSize?: number;
|
|
451
|
+
/**
|
|
452
|
+
* 批次ID,弃用
|
|
453
|
+
*/
|
|
454
|
+
BatchId?: string;
|
|
375
455
|
/**
|
|
376
456
|
* 企业ID
|
|
377
457
|
*/
|
|
378
458
|
CorpId?: number;
|
|
379
459
|
}
|
|
380
460
|
/**
|
|
381
|
-
*
|
|
461
|
+
* CreateTraceCodesAsync请求参数结构体
|
|
382
462
|
*/
|
|
383
|
-
export interface
|
|
463
|
+
export interface CreateTraceCodesAsyncRequest {
|
|
464
|
+
/**
|
|
465
|
+
* 企业ID
|
|
466
|
+
*/
|
|
467
|
+
CorpId?: number;
|
|
384
468
|
/**
|
|
385
469
|
* 批次ID
|
|
386
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
387
470
|
*/
|
|
388
|
-
BatchId
|
|
471
|
+
BatchId?: string;
|
|
472
|
+
/**
|
|
473
|
+
* 上传文件Key,仅支持 csv 或者 zip 类型
|
|
474
|
+
*/
|
|
475
|
+
FileKey?: string;
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* ModifyTraceData返回参数结构体
|
|
479
|
+
*/
|
|
480
|
+
export interface ModifyTraceDataResponse {
|
|
481
|
+
/**
|
|
482
|
+
* 溯源ID
|
|
483
|
+
*/
|
|
484
|
+
TraceId: string;
|
|
389
485
|
/**
|
|
390
486
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
391
487
|
*/
|
|
392
488
|
RequestId?: string;
|
|
393
489
|
}
|
|
394
490
|
/**
|
|
395
|
-
*
|
|
491
|
+
* DeleteProduct请求参数结构体
|
|
396
492
|
*/
|
|
397
|
-
export interface
|
|
493
|
+
export interface DeleteProductRequest {
|
|
398
494
|
/**
|
|
399
|
-
*
|
|
495
|
+
* 商品ID
|
|
400
496
|
*/
|
|
401
|
-
|
|
497
|
+
ProductId: string;
|
|
402
498
|
/**
|
|
403
|
-
* 企业
|
|
499
|
+
* 企业ID
|
|
404
500
|
*/
|
|
405
|
-
CorpId
|
|
501
|
+
CorpId?: number;
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* CreateTraceChain返回参数结构体
|
|
505
|
+
*/
|
|
506
|
+
export interface CreateTraceChainResponse {
|
|
406
507
|
/**
|
|
407
|
-
*
|
|
508
|
+
* 溯源ID
|
|
408
509
|
*/
|
|
409
|
-
|
|
510
|
+
TraceId: string;
|
|
410
511
|
/**
|
|
411
|
-
*
|
|
412
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
512
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
413
513
|
*/
|
|
414
|
-
|
|
514
|
+
RequestId?: string;
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* CreateCustomRule请求参数结构体
|
|
518
|
+
*/
|
|
519
|
+
export interface CreateCustomRuleRequest {
|
|
415
520
|
/**
|
|
416
|
-
*
|
|
521
|
+
* 规则名称
|
|
417
522
|
*/
|
|
418
|
-
|
|
523
|
+
Name: string;
|
|
419
524
|
/**
|
|
420
|
-
*
|
|
525
|
+
* 商户ID
|
|
421
526
|
*/
|
|
422
|
-
|
|
527
|
+
MerchantId: string;
|
|
423
528
|
/**
|
|
424
|
-
*
|
|
529
|
+
* 码长度
|
|
425
530
|
*/
|
|
426
|
-
|
|
531
|
+
CodeLength: number;
|
|
427
532
|
/**
|
|
428
|
-
*
|
|
533
|
+
* 码段配置
|
|
429
534
|
*/
|
|
430
|
-
|
|
535
|
+
CodeParts: Array<CodePart>;
|
|
431
536
|
/**
|
|
432
|
-
*
|
|
433
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
537
|
+
* 企业ID
|
|
434
538
|
*/
|
|
435
|
-
|
|
539
|
+
CorpId?: number;
|
|
436
540
|
}
|
|
437
541
|
/**
|
|
438
|
-
*
|
|
542
|
+
* DescribeCodePackStatus请求参数结构体
|
|
439
543
|
*/
|
|
440
|
-
export interface
|
|
544
|
+
export interface DescribeCodePackStatusRequest {
|
|
441
545
|
/**
|
|
442
|
-
*
|
|
546
|
+
* 码包ID
|
|
443
547
|
*/
|
|
444
|
-
|
|
548
|
+
PackId: string;
|
|
445
549
|
/**
|
|
446
550
|
* 企业ID
|
|
447
551
|
*/
|
|
448
552
|
CorpId?: number;
|
|
449
|
-
/**
|
|
450
|
-
* 码
|
|
451
|
-
*/
|
|
452
|
-
Codes?: Array<CodeItem>;
|
|
453
553
|
}
|
|
454
554
|
/**
|
|
455
|
-
*
|
|
555
|
+
* ModifyTraceData请求参数结构体
|
|
456
556
|
*/
|
|
457
|
-
export interface
|
|
557
|
+
export interface ModifyTraceDataRequest {
|
|
458
558
|
/**
|
|
459
|
-
*
|
|
460
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
559
|
+
* 溯源ID
|
|
461
560
|
*/
|
|
462
|
-
|
|
561
|
+
TraceId?: string;
|
|
463
562
|
/**
|
|
464
|
-
*
|
|
563
|
+
* 批次ID
|
|
465
564
|
*/
|
|
466
|
-
|
|
565
|
+
BatchId?: string;
|
|
566
|
+
/**
|
|
567
|
+
* 生产溯源任务ID
|
|
568
|
+
*/
|
|
569
|
+
TaskId?: string;
|
|
570
|
+
/**
|
|
571
|
+
* 溯源信息
|
|
572
|
+
*/
|
|
573
|
+
TraceItems?: Array<TraceItem>;
|
|
574
|
+
/**
|
|
575
|
+
* 溯源阶段名称
|
|
576
|
+
*/
|
|
577
|
+
PhaseName?: string;
|
|
578
|
+
/**
|
|
579
|
+
* [无效] 类型
|
|
580
|
+
*/
|
|
581
|
+
Type?: number;
|
|
582
|
+
/**
|
|
583
|
+
* [无效] 溯源码
|
|
584
|
+
*/
|
|
585
|
+
Code?: string;
|
|
586
|
+
/**
|
|
587
|
+
* [无效] 排序
|
|
588
|
+
*/
|
|
589
|
+
Rank?: number;
|
|
590
|
+
/**
|
|
591
|
+
* [无效] 溯源阶段 0:商品 1:通用 2:物流
|
|
592
|
+
*/
|
|
593
|
+
Phase?: number;
|
|
594
|
+
/**
|
|
595
|
+
* [无效] 溯源时间
|
|
596
|
+
*/
|
|
597
|
+
TraceTime?: string;
|
|
598
|
+
/**
|
|
599
|
+
* [无效] 创建时间
|
|
600
|
+
*/
|
|
601
|
+
CreateTime?: string;
|
|
602
|
+
/**
|
|
603
|
+
* [无效] 上链状态
|
|
604
|
+
*/
|
|
605
|
+
ChainStatus?: number;
|
|
606
|
+
/**
|
|
607
|
+
* [无效] 上链时间
|
|
608
|
+
*/
|
|
609
|
+
ChainTime?: string;
|
|
610
|
+
/**
|
|
611
|
+
* [无效] 上链数据
|
|
612
|
+
*/
|
|
613
|
+
ChainData?: ChainData;
|
|
614
|
+
/**
|
|
615
|
+
* 企业ID
|
|
616
|
+
*/
|
|
617
|
+
CorpId?: number;
|
|
618
|
+
/**
|
|
619
|
+
* 溯源状态 0: 无效, 1: 有效
|
|
620
|
+
*/
|
|
621
|
+
Status?: number;
|
|
622
|
+
/**
|
|
623
|
+
* 环节数据
|
|
624
|
+
*/
|
|
625
|
+
PhaseData?: PhaseData;
|
|
467
626
|
}
|
|
468
627
|
/**
|
|
469
628
|
* DescribeCodeBatchs请求参数结构体
|
|
@@ -499,29 +658,35 @@ export interface DescribeCodeBatchsRequest {
|
|
|
499
658
|
CorpId?: number;
|
|
500
659
|
}
|
|
501
660
|
/**
|
|
502
|
-
*
|
|
661
|
+
* ModifyTraceDataRanks返回参数结构体
|
|
503
662
|
*/
|
|
504
|
-
export interface
|
|
505
|
-
/**
|
|
506
|
-
* 商品名称
|
|
507
|
-
*/
|
|
508
|
-
Name?: string;
|
|
663
|
+
export interface ModifyTraceDataRanksResponse {
|
|
509
664
|
/**
|
|
510
|
-
*
|
|
665
|
+
* 批次ID
|
|
666
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
511
667
|
*/
|
|
512
|
-
|
|
668
|
+
BatchId: string;
|
|
513
669
|
/**
|
|
514
|
-
*
|
|
670
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
515
671
|
*/
|
|
516
|
-
|
|
672
|
+
RequestId?: string;
|
|
673
|
+
}
|
|
674
|
+
/**
|
|
675
|
+
* CreateTraceCodes请求参数结构体
|
|
676
|
+
*/
|
|
677
|
+
export interface CreateTraceCodesRequest {
|
|
517
678
|
/**
|
|
518
|
-
*
|
|
679
|
+
* 批次ID
|
|
519
680
|
*/
|
|
520
|
-
|
|
681
|
+
BatchId: string;
|
|
521
682
|
/**
|
|
522
683
|
* 企业ID
|
|
523
684
|
*/
|
|
524
685
|
CorpId?: number;
|
|
686
|
+
/**
|
|
687
|
+
* 码
|
|
688
|
+
*/
|
|
689
|
+
Codes?: Array<CodeItem>;
|
|
525
690
|
}
|
|
526
691
|
/**
|
|
527
692
|
* DescribeCodeBatchById返回参数结构体
|
|
@@ -537,101 +702,179 @@ export interface DescribeCodeBatchByIdResponse {
|
|
|
537
702
|
RequestId?: string;
|
|
538
703
|
}
|
|
539
704
|
/**
|
|
540
|
-
*
|
|
705
|
+
* DescribeCodePackStatus返回参数结构体
|
|
541
706
|
*/
|
|
542
|
-
export interface
|
|
707
|
+
export interface DescribeCodePackStatusResponse {
|
|
543
708
|
/**
|
|
544
|
-
*
|
|
709
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
545
710
|
*/
|
|
546
|
-
|
|
711
|
+
RequestId?: string;
|
|
712
|
+
}
|
|
713
|
+
/**
|
|
714
|
+
* 通用调度任务
|
|
715
|
+
*/
|
|
716
|
+
export interface Job {
|
|
547
717
|
/**
|
|
548
|
-
*
|
|
718
|
+
* 调度ID
|
|
549
719
|
*/
|
|
550
|
-
|
|
720
|
+
JobId: number;
|
|
551
721
|
/**
|
|
552
|
-
*
|
|
722
|
+
* 执行状态 init:初始化, pending: 执行中, done: 执行成功, error: 执行失败
|
|
553
723
|
*/
|
|
554
|
-
|
|
724
|
+
Status: string;
|
|
725
|
+
}
|
|
726
|
+
/**
|
|
727
|
+
* 溯源数据
|
|
728
|
+
*/
|
|
729
|
+
export interface TraceData {
|
|
555
730
|
/**
|
|
556
|
-
*
|
|
731
|
+
* 溯源ID
|
|
732
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
557
733
|
*/
|
|
558
|
-
|
|
734
|
+
TraceId: string;
|
|
559
735
|
/**
|
|
560
|
-
*
|
|
736
|
+
* 企业ID
|
|
737
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
561
738
|
*/
|
|
562
|
-
|
|
739
|
+
CorpId: number;
|
|
563
740
|
/**
|
|
564
|
-
*
|
|
741
|
+
* 0
|
|
742
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
565
743
|
*/
|
|
566
|
-
|
|
744
|
+
Type: number;
|
|
567
745
|
/**
|
|
568
|
-
*
|
|
746
|
+
* 码
|
|
747
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
569
748
|
*/
|
|
570
|
-
|
|
749
|
+
Code: string;
|
|
750
|
+
/**
|
|
751
|
+
* 排序
|
|
752
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
753
|
+
*/
|
|
754
|
+
Rank: number;
|
|
755
|
+
/**
|
|
756
|
+
* 溯源阶段 0:商品 1:通用 2:物流
|
|
757
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
758
|
+
*/
|
|
759
|
+
Phase: number;
|
|
760
|
+
/**
|
|
761
|
+
* 环节名称
|
|
762
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
763
|
+
*/
|
|
764
|
+
PhaseName: string;
|
|
765
|
+
/**
|
|
766
|
+
* 时间
|
|
767
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
768
|
+
*/
|
|
769
|
+
TraceTime: string;
|
|
770
|
+
/**
|
|
771
|
+
* 无
|
|
772
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
773
|
+
*/
|
|
774
|
+
TraceItems: Array<TraceItem>;
|
|
775
|
+
/**
|
|
776
|
+
* 创建时间
|
|
777
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
778
|
+
*/
|
|
779
|
+
CreateTime: string;
|
|
780
|
+
/**
|
|
781
|
+
* 上链状态 0: 未上链 1: 上链中 2: 已上链 -1: 异常
|
|
782
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
783
|
+
*/
|
|
784
|
+
ChainStatus: number;
|
|
785
|
+
/**
|
|
786
|
+
* 上链时间
|
|
787
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
788
|
+
*/
|
|
789
|
+
ChainTime: string;
|
|
790
|
+
/**
|
|
791
|
+
* 无
|
|
792
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
793
|
+
*/
|
|
794
|
+
ChainData: ChainData;
|
|
571
795
|
}
|
|
572
796
|
/**
|
|
573
|
-
*
|
|
797
|
+
* 层级码配置
|
|
574
798
|
*/
|
|
575
|
-
export interface
|
|
799
|
+
export interface PackSpec {
|
|
576
800
|
/**
|
|
577
|
-
*
|
|
578
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
801
|
+
* 层级
|
|
579
802
|
*/
|
|
580
|
-
|
|
803
|
+
Level: number;
|
|
581
804
|
/**
|
|
582
|
-
*
|
|
805
|
+
* 比例
|
|
583
806
|
*/
|
|
584
|
-
|
|
807
|
+
Rate: number;
|
|
808
|
+
/**
|
|
809
|
+
* 数量
|
|
810
|
+
*/
|
|
811
|
+
Amount: number;
|
|
812
|
+
/**
|
|
813
|
+
* 码规则ID
|
|
814
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
815
|
+
*/
|
|
816
|
+
CustomId?: string;
|
|
585
817
|
}
|
|
586
818
|
/**
|
|
587
|
-
*
|
|
819
|
+
* ModifyCustomRule返回参数结构体
|
|
588
820
|
*/
|
|
589
|
-
export interface
|
|
821
|
+
export interface ModifyCustomRuleResponse {
|
|
590
822
|
/**
|
|
591
|
-
*
|
|
823
|
+
* 码规则ID
|
|
824
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
592
825
|
*/
|
|
593
|
-
|
|
826
|
+
CustomId: string;
|
|
594
827
|
/**
|
|
595
|
-
*
|
|
828
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
596
829
|
*/
|
|
597
|
-
|
|
830
|
+
RequestId?: string;
|
|
598
831
|
}
|
|
599
832
|
/**
|
|
600
|
-
*
|
|
833
|
+
* ModifyMerchant返回参数结构体
|
|
601
834
|
*/
|
|
602
|
-
export interface
|
|
835
|
+
export interface ModifyMerchantResponse {
|
|
603
836
|
/**
|
|
604
|
-
*
|
|
837
|
+
* 商户标识码
|
|
838
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
605
839
|
*/
|
|
606
|
-
|
|
840
|
+
MerchantId: string;
|
|
607
841
|
/**
|
|
608
842
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
609
843
|
*/
|
|
610
844
|
RequestId?: string;
|
|
611
845
|
}
|
|
612
846
|
/**
|
|
613
|
-
*
|
|
847
|
+
* DeleteProduct返回参数结构体
|
|
614
848
|
*/
|
|
615
|
-
export interface
|
|
849
|
+
export interface DeleteProductResponse {
|
|
616
850
|
/**
|
|
617
|
-
*
|
|
851
|
+
* 商品ID
|
|
618
852
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
619
853
|
*/
|
|
620
|
-
|
|
854
|
+
ProductId: string;
|
|
621
855
|
/**
|
|
622
|
-
*
|
|
856
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
857
|
+
*/
|
|
858
|
+
RequestId?: string;
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* DescribeCodesByPack返回参数结构体
|
|
862
|
+
*/
|
|
863
|
+
export interface DescribeCodesByPackResponse {
|
|
864
|
+
/**
|
|
865
|
+
* 码列表
|
|
623
866
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
624
867
|
*/
|
|
625
|
-
|
|
868
|
+
Codes: Array<CodeItem>;
|
|
626
869
|
/**
|
|
627
870
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
628
871
|
*/
|
|
629
872
|
RequestId?: string;
|
|
630
873
|
}
|
|
631
874
|
/**
|
|
632
|
-
*
|
|
875
|
+
* CreateTraceData请求参数结构体
|
|
633
876
|
*/
|
|
634
|
-
export interface
|
|
877
|
+
export interface CreateTraceDataRequest {
|
|
635
878
|
/**
|
|
636
879
|
* 企业ID
|
|
637
880
|
*/
|
|
@@ -641,124 +884,166 @@ export interface DescribeTraceDataListRequest {
|
|
|
641
884
|
*/
|
|
642
885
|
BatchId?: string;
|
|
643
886
|
/**
|
|
644
|
-
* 任务ID
|
|
887
|
+
* 任务ID
|
|
645
888
|
*/
|
|
646
889
|
TaskId?: string;
|
|
647
890
|
/**
|
|
648
|
-
*
|
|
891
|
+
* 溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源
|
|
649
892
|
*/
|
|
650
|
-
|
|
893
|
+
Phase?: number;
|
|
651
894
|
/**
|
|
652
|
-
*
|
|
895
|
+
* 溯源阶段名称
|
|
653
896
|
*/
|
|
654
|
-
|
|
897
|
+
PhaseName?: string;
|
|
655
898
|
/**
|
|
656
|
-
*
|
|
899
|
+
* [无效] 上链状态
|
|
657
900
|
*/
|
|
658
|
-
|
|
901
|
+
ChainStatus?: number;
|
|
659
902
|
/**
|
|
660
|
-
*
|
|
903
|
+
* [无效] 码类型 0: 批次, 1: 码, 2: 生产任务, 3: 物流信息
|
|
661
904
|
*/
|
|
662
|
-
|
|
905
|
+
Type?: number;
|
|
906
|
+
/**
|
|
907
|
+
* [无效] 溯源ID
|
|
908
|
+
*/
|
|
909
|
+
TraceId?: string;
|
|
910
|
+
/**
|
|
911
|
+
* 溯源信息
|
|
912
|
+
*/
|
|
913
|
+
TraceItems?: Array<TraceItem>;
|
|
914
|
+
/**
|
|
915
|
+
* 溯源状态 0: 无效, 1: 有效
|
|
916
|
+
*/
|
|
917
|
+
Status?: number;
|
|
918
|
+
/**
|
|
919
|
+
* 环节数据
|
|
920
|
+
*/
|
|
921
|
+
PhaseData?: PhaseData;
|
|
663
922
|
}
|
|
664
923
|
/**
|
|
665
|
-
*
|
|
924
|
+
* 预留字段
|
|
666
925
|
*/
|
|
667
|
-
export
|
|
926
|
+
export declare type Ext = null;
|
|
927
|
+
/**
|
|
928
|
+
* CreateProduct返回参数结构体
|
|
929
|
+
*/
|
|
930
|
+
export interface CreateProductResponse {
|
|
668
931
|
/**
|
|
669
|
-
*
|
|
932
|
+
* 商品ID
|
|
670
933
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
671
934
|
*/
|
|
672
|
-
|
|
935
|
+
ProductId: string;
|
|
673
936
|
/**
|
|
674
937
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
675
938
|
*/
|
|
676
939
|
RequestId?: string;
|
|
677
940
|
}
|
|
678
941
|
/**
|
|
679
|
-
*
|
|
942
|
+
* CreateCustomPack请求参数结构体
|
|
680
943
|
*/
|
|
681
|
-
export interface
|
|
944
|
+
export interface CreateCustomPackRequest {
|
|
682
945
|
/**
|
|
683
|
-
*
|
|
684
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
946
|
+
* 商户ID
|
|
685
947
|
*/
|
|
686
948
|
MerchantId: string;
|
|
687
949
|
/**
|
|
688
|
-
*
|
|
950
|
+
* 生码数量, 普通码包时必填
|
|
689
951
|
*/
|
|
690
|
-
|
|
952
|
+
Amount?: number;
|
|
953
|
+
/**
|
|
954
|
+
* 企业ID
|
|
955
|
+
*/
|
|
956
|
+
CorpId?: number;
|
|
957
|
+
/**
|
|
958
|
+
* 码包类型 0: 普通码包 1: 层级码包
|
|
959
|
+
*/
|
|
960
|
+
PackType?: number;
|
|
961
|
+
/**
|
|
962
|
+
* 码包层级
|
|
963
|
+
*/
|
|
964
|
+
PackLevel?: number;
|
|
965
|
+
/**
|
|
966
|
+
* 层级码包规则 [{ Level, Rate, Amount, CustomId }]
|
|
967
|
+
*/
|
|
968
|
+
PackSpec?: Array<PackSpec>;
|
|
969
|
+
/**
|
|
970
|
+
* 码规则ID, 普通码包时必填
|
|
971
|
+
*/
|
|
972
|
+
CustomId?: string;
|
|
691
973
|
}
|
|
692
974
|
/**
|
|
693
|
-
*
|
|
975
|
+
* CreateCodePack请求参数结构体
|
|
694
976
|
*/
|
|
695
|
-
export interface
|
|
977
|
+
export interface CreateCodePackRequest {
|
|
696
978
|
/**
|
|
697
|
-
*
|
|
698
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
979
|
+
* 商户ID
|
|
699
980
|
*/
|
|
700
981
|
MerchantId: string;
|
|
701
982
|
/**
|
|
702
|
-
*
|
|
983
|
+
* 码长度
|
|
703
984
|
*/
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
985
|
+
CodeLength: number;
|
|
986
|
+
/**
|
|
987
|
+
* 码类型 alphabet 字母, number 数字, mixin 混合
|
|
988
|
+
*/
|
|
989
|
+
CodeType: string;
|
|
990
|
+
/**
|
|
991
|
+
* 生码数量 普通码包时必填
|
|
992
|
+
*/
|
|
993
|
+
Amount?: number;
|
|
994
|
+
/**
|
|
995
|
+
* 企业ID
|
|
996
|
+
*/
|
|
997
|
+
CorpId?: number;
|
|
998
|
+
/**
|
|
999
|
+
* 码包类型 0: 普通码包 1: 层级码包
|
|
1000
|
+
*/
|
|
1001
|
+
PackType?: number;
|
|
710
1002
|
/**
|
|
711
|
-
*
|
|
712
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1003
|
+
* 码包层级
|
|
713
1004
|
*/
|
|
714
|
-
|
|
1005
|
+
PackLevel?: number;
|
|
715
1006
|
/**
|
|
716
|
-
*
|
|
1007
|
+
* 码包规格
|
|
717
1008
|
*/
|
|
718
|
-
|
|
1009
|
+
PackSpec?: Array<PackSpec>;
|
|
719
1010
|
}
|
|
720
1011
|
/**
|
|
721
|
-
*
|
|
1012
|
+
* CreateCodeBatch请求参数结构体
|
|
722
1013
|
*/
|
|
723
|
-
export interface
|
|
1014
|
+
export interface CreateCodeBatchRequest {
|
|
724
1015
|
/**
|
|
725
|
-
*
|
|
1016
|
+
* 企业ID
|
|
726
1017
|
*/
|
|
727
|
-
|
|
1018
|
+
CorpId?: number;
|
|
728
1019
|
/**
|
|
729
|
-
*
|
|
1020
|
+
* 商户ID
|
|
730
1021
|
*/
|
|
731
|
-
|
|
732
|
-
}
|
|
733
|
-
/**
|
|
734
|
-
* DescribeTraceDataList返回参数结构体
|
|
735
|
-
*/
|
|
736
|
-
export interface DescribeTraceDataListResponse {
|
|
1022
|
+
MerchantId?: string;
|
|
737
1023
|
/**
|
|
738
|
-
*
|
|
1024
|
+
* 产品ID
|
|
739
1025
|
*/
|
|
740
|
-
|
|
1026
|
+
ProductId?: string;
|
|
741
1027
|
/**
|
|
742
|
-
*
|
|
1028
|
+
* 批次类型 0:溯源 1:营销
|
|
743
1029
|
*/
|
|
744
|
-
|
|
1030
|
+
BatchType?: number;
|
|
745
1031
|
/**
|
|
746
|
-
*
|
|
1032
|
+
* 批次ID,系统自动生成
|
|
747
1033
|
*/
|
|
748
|
-
|
|
749
|
-
}
|
|
750
|
-
/**
|
|
751
|
-
* CreateTraceChain请求参数结构体
|
|
752
|
-
*/
|
|
753
|
-
export interface CreateTraceChainRequest {
|
|
1034
|
+
BatchId?: string;
|
|
754
1035
|
/**
|
|
755
|
-
*
|
|
1036
|
+
* 备注
|
|
756
1037
|
*/
|
|
757
|
-
|
|
1038
|
+
Remark?: string;
|
|
758
1039
|
/**
|
|
759
|
-
*
|
|
1040
|
+
* 活动ID
|
|
760
1041
|
*/
|
|
761
|
-
|
|
1042
|
+
MpTpl?: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* 克隆批次ID
|
|
1045
|
+
*/
|
|
1046
|
+
CloneId?: string;
|
|
762
1047
|
}
|
|
763
1048
|
/**
|
|
764
1049
|
* 溯源数据
|
|
@@ -806,333 +1091,288 @@ export interface TraceItem {
|
|
|
806
1091
|
Ext: string;
|
|
807
1092
|
}
|
|
808
1093
|
/**
|
|
809
|
-
*
|
|
1094
|
+
* DescribeCustomRuleById请求参数结构体
|
|
810
1095
|
*/
|
|
811
|
-
export interface
|
|
1096
|
+
export interface DescribeCustomRuleByIdRequest {
|
|
812
1097
|
/**
|
|
813
|
-
*
|
|
1098
|
+
* 码规则ID
|
|
814
1099
|
*/
|
|
815
|
-
|
|
1100
|
+
CustomId: string;
|
|
816
1101
|
/**
|
|
817
|
-
*
|
|
1102
|
+
* 企业ID
|
|
818
1103
|
*/
|
|
819
|
-
|
|
1104
|
+
CorpId?: number;
|
|
820
1105
|
}
|
|
821
1106
|
/**
|
|
822
|
-
*
|
|
823
|
-
*/
|
|
824
|
-
export declare type Ext = null;
|
|
825
|
-
/**
|
|
826
|
-
* DescribeMerchants请求参数结构体
|
|
1107
|
+
* 上链数据
|
|
827
1108
|
*/
|
|
828
|
-
export interface
|
|
1109
|
+
export interface ChainData {
|
|
829
1110
|
/**
|
|
830
|
-
*
|
|
1111
|
+
* 区块hash
|
|
1112
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
831
1113
|
*/
|
|
832
|
-
|
|
1114
|
+
BlockHash: string;
|
|
833
1115
|
/**
|
|
834
|
-
*
|
|
1116
|
+
* 区块高度
|
|
1117
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
835
1118
|
*/
|
|
836
|
-
|
|
1119
|
+
BlockHeight: string;
|
|
837
1120
|
/**
|
|
838
|
-
*
|
|
1121
|
+
* 区块时间
|
|
1122
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
839
1123
|
*/
|
|
840
|
-
|
|
1124
|
+
BlockTime: string;
|
|
1125
|
+
}
|
|
1126
|
+
/**
|
|
1127
|
+
* 环节数据
|
|
1128
|
+
*/
|
|
1129
|
+
export interface PhaseData {
|
|
841
1130
|
/**
|
|
842
|
-
*
|
|
1131
|
+
* 启用头
|
|
843
1132
|
*/
|
|
844
|
-
|
|
1133
|
+
HeadEnabled?: boolean;
|
|
845
1134
|
/**
|
|
846
|
-
*
|
|
1135
|
+
* 标题
|
|
847
1136
|
*/
|
|
848
|
-
|
|
849
|
-
}
|
|
850
|
-
/**
|
|
851
|
-
* 码类型
|
|
852
|
-
*/
|
|
853
|
-
export interface CodeItem {
|
|
1137
|
+
HeadTitle?: string;
|
|
854
1138
|
/**
|
|
855
|
-
*
|
|
1139
|
+
* 标识符
|
|
856
1140
|
*/
|
|
857
|
-
|
|
858
|
-
}
|
|
859
|
-
/**
|
|
860
|
-
* ModifyTraceCode请求参数结构体
|
|
861
|
-
*/
|
|
862
|
-
export interface ModifyTraceCodeRequest {
|
|
1141
|
+
Key?: string;
|
|
863
1142
|
/**
|
|
864
|
-
*
|
|
1143
|
+
* 小程序AppId
|
|
865
1144
|
*/
|
|
866
|
-
|
|
1145
|
+
AppId?: string;
|
|
867
1146
|
/**
|
|
868
|
-
*
|
|
1147
|
+
* 小程序AppPath
|
|
869
1148
|
*/
|
|
870
|
-
|
|
1149
|
+
AppPath?: string;
|
|
871
1150
|
/**
|
|
872
|
-
*
|
|
1151
|
+
* 小程序名称AppName
|
|
873
1152
|
*/
|
|
874
|
-
|
|
1153
|
+
AppName?: string;
|
|
875
1154
|
}
|
|
876
1155
|
/**
|
|
877
|
-
*
|
|
1156
|
+
* ModifyCustomRuleStatus返回参数结构体
|
|
878
1157
|
*/
|
|
879
|
-
export interface
|
|
1158
|
+
export interface ModifyCustomRuleStatusResponse {
|
|
880
1159
|
/**
|
|
881
|
-
*
|
|
1160
|
+
* 码规则ID
|
|
882
1161
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
883
1162
|
*/
|
|
884
|
-
|
|
1163
|
+
CustomId: string;
|
|
885
1164
|
/**
|
|
886
1165
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
887
1166
|
*/
|
|
888
1167
|
RequestId?: string;
|
|
889
1168
|
}
|
|
890
1169
|
/**
|
|
891
|
-
*
|
|
1170
|
+
* CreateCustomPack返回参数结构体
|
|
892
1171
|
*/
|
|
893
|
-
export interface
|
|
1172
|
+
export interface CreateCustomPackResponse {
|
|
894
1173
|
/**
|
|
895
|
-
*
|
|
1174
|
+
* 码包ID
|
|
896
1175
|
*/
|
|
897
|
-
|
|
1176
|
+
PackId: string;
|
|
898
1177
|
/**
|
|
899
1178
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
900
1179
|
*/
|
|
901
1180
|
RequestId?: string;
|
|
902
1181
|
}
|
|
903
1182
|
/**
|
|
904
|
-
*
|
|
1183
|
+
* ModifyMerchant请求参数结构体
|
|
905
1184
|
*/
|
|
906
|
-
export interface
|
|
907
|
-
/**
|
|
908
|
-
* 企业ID
|
|
909
|
-
*/
|
|
910
|
-
CorpId?: number;
|
|
911
|
-
/**
|
|
912
|
-
* 批次ID
|
|
913
|
-
*/
|
|
914
|
-
BatchId?: string;
|
|
915
|
-
/**
|
|
916
|
-
* 任务ID
|
|
917
|
-
*/
|
|
918
|
-
TaskId?: string;
|
|
919
|
-
/**
|
|
920
|
-
* 溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源
|
|
921
|
-
*/
|
|
922
|
-
Phase?: number;
|
|
923
|
-
/**
|
|
924
|
-
* 溯源阶段名称
|
|
925
|
-
*/
|
|
926
|
-
PhaseName?: string;
|
|
1185
|
+
export interface ModifyMerchantRequest {
|
|
927
1186
|
/**
|
|
928
|
-
*
|
|
1187
|
+
* 商户名称
|
|
929
1188
|
*/
|
|
930
|
-
|
|
1189
|
+
Name: string;
|
|
931
1190
|
/**
|
|
932
|
-
*
|
|
1191
|
+
* 商户标识码
|
|
933
1192
|
*/
|
|
934
|
-
|
|
1193
|
+
MerchantId: string;
|
|
935
1194
|
/**
|
|
936
|
-
*
|
|
1195
|
+
* 备注
|
|
937
1196
|
*/
|
|
938
|
-
|
|
1197
|
+
Remark?: string;
|
|
939
1198
|
/**
|
|
940
|
-
*
|
|
1199
|
+
* 企业ID
|
|
941
1200
|
*/
|
|
942
|
-
|
|
1201
|
+
CorpId?: number;
|
|
943
1202
|
/**
|
|
944
|
-
*
|
|
1203
|
+
* 码包来源 0:自建, 1:第三码包,暂不支持修改
|
|
945
1204
|
*/
|
|
946
|
-
|
|
1205
|
+
CodeType?: number;
|
|
947
1206
|
/**
|
|
948
|
-
*
|
|
1207
|
+
* 码包前缀地址 第三方码包时必填
|
|
949
1208
|
*/
|
|
950
|
-
|
|
1209
|
+
CodeUrl?: string;
|
|
951
1210
|
}
|
|
952
1211
|
/**
|
|
953
|
-
*
|
|
1212
|
+
* DescribeCodePackUrl请求参数结构体
|
|
954
1213
|
*/
|
|
955
|
-
export interface
|
|
1214
|
+
export interface DescribeCodePackUrlRequest {
|
|
956
1215
|
/**
|
|
957
|
-
*
|
|
1216
|
+
* 码包ID
|
|
958
1217
|
*/
|
|
959
|
-
|
|
1218
|
+
PackId: string;
|
|
960
1219
|
/**
|
|
961
|
-
*
|
|
1220
|
+
* 企业ID
|
|
962
1221
|
*/
|
|
963
|
-
|
|
1222
|
+
CorpId?: number;
|
|
1223
|
+
}
|
|
1224
|
+
/**
|
|
1225
|
+
* ModifyTraceDataRanks请求参数结构体
|
|
1226
|
+
*/
|
|
1227
|
+
export interface ModifyTraceDataRanksRequest {
|
|
964
1228
|
/**
|
|
965
1229
|
* 企业ID
|
|
966
1230
|
*/
|
|
967
1231
|
CorpId?: number;
|
|
968
1232
|
/**
|
|
969
|
-
*
|
|
1233
|
+
* 批次ID
|
|
970
1234
|
*/
|
|
971
|
-
|
|
1235
|
+
BatchId?: string;
|
|
972
1236
|
/**
|
|
973
|
-
*
|
|
1237
|
+
* 生产任务ID
|
|
974
1238
|
*/
|
|
975
|
-
|
|
1239
|
+
TaskId?: string;
|
|
1240
|
+
/**
|
|
1241
|
+
* 溯源ID
|
|
1242
|
+
*/
|
|
1243
|
+
TraceIds?: Array<string>;
|
|
976
1244
|
}
|
|
977
1245
|
/**
|
|
978
|
-
*
|
|
1246
|
+
* DeleteTraceData返回参数结构体
|
|
979
1247
|
*/
|
|
980
|
-
export interface
|
|
981
|
-
/**
|
|
982
|
-
* 批次列表
|
|
983
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
984
|
-
*/
|
|
985
|
-
CodeBatchs: Array<CodeBatch>;
|
|
1248
|
+
export interface DeleteTraceDataResponse {
|
|
986
1249
|
/**
|
|
987
|
-
*
|
|
1250
|
+
* 溯源id
|
|
988
1251
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
989
1252
|
*/
|
|
990
|
-
|
|
1253
|
+
TraceId: string;
|
|
991
1254
|
/**
|
|
992
1255
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
993
1256
|
*/
|
|
994
1257
|
RequestId?: string;
|
|
995
1258
|
}
|
|
996
1259
|
/**
|
|
997
|
-
*
|
|
1260
|
+
* ModifyCustomRuleStatus请求参数结构体
|
|
998
1261
|
*/
|
|
999
|
-
export interface
|
|
1262
|
+
export interface ModifyCustomRuleStatusRequest {
|
|
1000
1263
|
/**
|
|
1001
|
-
*
|
|
1264
|
+
* 码规则ID
|
|
1002
1265
|
*/
|
|
1003
|
-
|
|
1266
|
+
CustomId: string;
|
|
1004
1267
|
/**
|
|
1005
|
-
*
|
|
1268
|
+
* 码规则状态 0:未生效 1:已生效 -1:已失效
|
|
1006
1269
|
*/
|
|
1007
|
-
|
|
1270
|
+
Status: number;
|
|
1008
1271
|
}
|
|
1009
1272
|
/**
|
|
1010
|
-
*
|
|
1273
|
+
* CreateCodePack返回参数结构体
|
|
1011
1274
|
*/
|
|
1012
|
-
export interface
|
|
1275
|
+
export interface CreateCodePackResponse {
|
|
1013
1276
|
/**
|
|
1014
|
-
*
|
|
1277
|
+
* 码包ID
|
|
1015
1278
|
*/
|
|
1016
|
-
|
|
1279
|
+
PackId: string;
|
|
1280
|
+
/**
|
|
1281
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1282
|
+
*/
|
|
1283
|
+
RequestId?: string;
|
|
1284
|
+
}
|
|
1285
|
+
/**
|
|
1286
|
+
* DescribeMerchantById返回参数结构体
|
|
1287
|
+
*/
|
|
1288
|
+
export interface DescribeMerchantByIdResponse {
|
|
1289
|
+
/**
|
|
1290
|
+
* 商户信息
|
|
1291
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1292
|
+
*/
|
|
1293
|
+
Merchant: Merchant;
|
|
1017
1294
|
/**
|
|
1018
1295
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1019
1296
|
*/
|
|
1020
1297
|
RequestId?: string;
|
|
1021
1298
|
}
|
|
1022
1299
|
/**
|
|
1023
|
-
*
|
|
1300
|
+
* 码类型
|
|
1024
1301
|
*/
|
|
1025
|
-
export interface
|
|
1302
|
+
export interface CodeItem {
|
|
1026
1303
|
/**
|
|
1027
|
-
*
|
|
1304
|
+
* 无
|
|
1028
1305
|
*/
|
|
1029
|
-
|
|
1306
|
+
Code?: string;
|
|
1030
1307
|
}
|
|
1031
1308
|
/**
|
|
1032
|
-
*
|
|
1309
|
+
* CreateTraceData返回参数结构体
|
|
1033
1310
|
*/
|
|
1034
|
-
export interface
|
|
1311
|
+
export interface CreateTraceDataResponse {
|
|
1035
1312
|
/**
|
|
1036
1313
|
* 溯源ID
|
|
1037
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1038
1314
|
*/
|
|
1039
1315
|
TraceId: string;
|
|
1040
1316
|
/**
|
|
1041
|
-
*
|
|
1042
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1043
|
-
*/
|
|
1044
|
-
CorpId: number;
|
|
1045
|
-
/**
|
|
1046
|
-
* 0
|
|
1047
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1048
|
-
*/
|
|
1049
|
-
Type: number;
|
|
1050
|
-
/**
|
|
1051
|
-
* 码
|
|
1052
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1053
|
-
*/
|
|
1054
|
-
Code: string;
|
|
1055
|
-
/**
|
|
1056
|
-
* 排序
|
|
1057
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1058
|
-
*/
|
|
1059
|
-
Rank: number;
|
|
1060
|
-
/**
|
|
1061
|
-
* 溯源阶段 0:商品 1:通用 2:物流
|
|
1062
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1063
|
-
*/
|
|
1064
|
-
Phase: number;
|
|
1065
|
-
/**
|
|
1066
|
-
* 环节名称
|
|
1067
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1068
|
-
*/
|
|
1069
|
-
PhaseName: string;
|
|
1070
|
-
/**
|
|
1071
|
-
* 时间
|
|
1072
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1317
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1073
1318
|
*/
|
|
1074
|
-
|
|
1319
|
+
RequestId?: string;
|
|
1320
|
+
}
|
|
1321
|
+
/**
|
|
1322
|
+
* DescribeCustomRuleById返回参数结构体
|
|
1323
|
+
*/
|
|
1324
|
+
export interface DescribeCustomRuleByIdResponse {
|
|
1075
1325
|
/**
|
|
1076
|
-
*
|
|
1326
|
+
* 码规则信息
|
|
1077
1327
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1078
1328
|
*/
|
|
1079
|
-
|
|
1329
|
+
CustomRule: CustomRule;
|
|
1080
1330
|
/**
|
|
1081
|
-
*
|
|
1082
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1331
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1083
1332
|
*/
|
|
1084
|
-
|
|
1333
|
+
RequestId?: string;
|
|
1334
|
+
}
|
|
1335
|
+
/**
|
|
1336
|
+
* DescribeCodeBatchs返回参数结构体
|
|
1337
|
+
*/
|
|
1338
|
+
export interface DescribeCodeBatchsResponse {
|
|
1085
1339
|
/**
|
|
1086
|
-
*
|
|
1340
|
+
* 批次列表
|
|
1087
1341
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1088
1342
|
*/
|
|
1089
|
-
|
|
1343
|
+
CodeBatchs: Array<CodeBatch>;
|
|
1090
1344
|
/**
|
|
1091
|
-
*
|
|
1345
|
+
* 总条数
|
|
1092
1346
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1093
1347
|
*/
|
|
1094
|
-
|
|
1348
|
+
TotalCount: number;
|
|
1095
1349
|
/**
|
|
1096
|
-
*
|
|
1097
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1350
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1098
1351
|
*/
|
|
1099
|
-
|
|
1352
|
+
RequestId?: string;
|
|
1100
1353
|
}
|
|
1101
1354
|
/**
|
|
1102
|
-
*
|
|
1355
|
+
* CreateCustomRule返回参数结构体
|
|
1103
1356
|
*/
|
|
1104
|
-
export interface
|
|
1357
|
+
export interface CreateCustomRuleResponse {
|
|
1105
1358
|
/**
|
|
1106
|
-
*
|
|
1359
|
+
* 码规则ID
|
|
1107
1360
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1108
1361
|
*/
|
|
1109
|
-
|
|
1362
|
+
CustomId: string;
|
|
1110
1363
|
/**
|
|
1111
1364
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1112
1365
|
*/
|
|
1113
1366
|
RequestId?: string;
|
|
1114
1367
|
}
|
|
1115
1368
|
/**
|
|
1116
|
-
*
|
|
1369
|
+
* DescribeCodePacks返回参数结构体
|
|
1117
1370
|
*/
|
|
1118
|
-
export interface
|
|
1119
|
-
/**
|
|
1120
|
-
* 层级
|
|
1121
|
-
*/
|
|
1122
|
-
Level: number;
|
|
1123
|
-
/**
|
|
1124
|
-
* 比例
|
|
1125
|
-
*/
|
|
1126
|
-
Rate: number;
|
|
1127
|
-
/**
|
|
1128
|
-
* 数量
|
|
1129
|
-
*/
|
|
1130
|
-
Amount: number;
|
|
1371
|
+
export interface DescribeCodePacksResponse {
|
|
1131
1372
|
/**
|
|
1132
|
-
*
|
|
1133
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1373
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1134
1374
|
*/
|
|
1135
|
-
|
|
1375
|
+
RequestId?: string;
|
|
1136
1376
|
}
|
|
1137
1377
|
/**
|
|
1138
1378
|
* DescribeCodesByPack请求参数结构体
|
|
@@ -1148,44 +1388,60 @@ export interface DescribeCodesByPackRequest {
|
|
|
1148
1388
|
CorpId?: number;
|
|
1149
1389
|
}
|
|
1150
1390
|
/**
|
|
1151
|
-
*
|
|
1391
|
+
* DescribeJobFileUrl请求参数结构体
|
|
1152
1392
|
*/
|
|
1153
|
-
export interface
|
|
1393
|
+
export interface DescribeJobFileUrlRequest {
|
|
1154
1394
|
/**
|
|
1155
|
-
*
|
|
1395
|
+
* 调度ID
|
|
1156
1396
|
*/
|
|
1157
|
-
|
|
1397
|
+
JobId: number;
|
|
1158
1398
|
/**
|
|
1159
|
-
*
|
|
1399
|
+
* 企业ID
|
|
1160
1400
|
*/
|
|
1161
|
-
|
|
1401
|
+
CorpId?: number;
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* CreateTraceCodesAsync返回参数结构体
|
|
1405
|
+
*/
|
|
1406
|
+
export interface CreateTraceCodesAsyncResponse {
|
|
1162
1407
|
/**
|
|
1163
|
-
*
|
|
1408
|
+
* 批次ID
|
|
1409
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1164
1410
|
*/
|
|
1165
|
-
|
|
1411
|
+
BatchId: string;
|
|
1166
1412
|
/**
|
|
1167
|
-
*
|
|
1413
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1168
1414
|
*/
|
|
1169
|
-
|
|
1415
|
+
RequestId?: string;
|
|
1170
1416
|
}
|
|
1171
1417
|
/**
|
|
1172
|
-
*
|
|
1418
|
+
* DescribeCustomRules请求参数结构体
|
|
1173
1419
|
*/
|
|
1174
|
-
export interface
|
|
1420
|
+
export interface DescribeCustomRulesRequest {
|
|
1175
1421
|
/**
|
|
1176
|
-
*
|
|
1177
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1422
|
+
* 搜索关键字
|
|
1178
1423
|
*/
|
|
1179
|
-
|
|
1424
|
+
Keyword?: string;
|
|
1180
1425
|
/**
|
|
1181
|
-
*
|
|
1182
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1426
|
+
* 条数
|
|
1183
1427
|
*/
|
|
1184
|
-
|
|
1428
|
+
PageSize?: number;
|
|
1185
1429
|
/**
|
|
1186
|
-
*
|
|
1430
|
+
* 页数
|
|
1187
1431
|
*/
|
|
1188
|
-
|
|
1432
|
+
PageNumber?: number;
|
|
1433
|
+
/**
|
|
1434
|
+
* 企业ID
|
|
1435
|
+
*/
|
|
1436
|
+
CorpId?: number;
|
|
1437
|
+
/**
|
|
1438
|
+
* 码规则状态 0:未生效 1:已生效 -1:已失效
|
|
1439
|
+
*/
|
|
1440
|
+
Status?: number;
|
|
1441
|
+
/**
|
|
1442
|
+
* 商户ID
|
|
1443
|
+
*/
|
|
1444
|
+
MerchantId?: string;
|
|
1189
1445
|
}
|
|
1190
1446
|
/**
|
|
1191
1447
|
* CreateProduct请求参数结构体
|
|
@@ -1225,117 +1481,146 @@ export interface CreateProductRequest {
|
|
|
1225
1481
|
Ext?: Ext;
|
|
1226
1482
|
}
|
|
1227
1483
|
/**
|
|
1228
|
-
*
|
|
1484
|
+
* ModifyCodeBatch请求参数结构体
|
|
1229
1485
|
*/
|
|
1230
|
-
export interface
|
|
1486
|
+
export interface ModifyCodeBatchRequest {
|
|
1231
1487
|
/**
|
|
1232
|
-
*
|
|
1488
|
+
* 批次ID
|
|
1233
1489
|
*/
|
|
1234
|
-
|
|
1490
|
+
BatchId: string;
|
|
1235
1491
|
/**
|
|
1236
|
-
*
|
|
1492
|
+
* 企业ID
|
|
1237
1493
|
*/
|
|
1238
|
-
|
|
1494
|
+
CorpId?: number;
|
|
1495
|
+
/**
|
|
1496
|
+
* 状态 0: 未激活 1: 已激活 -1: 已冻结
|
|
1497
|
+
*/
|
|
1498
|
+
Status?: number;
|
|
1499
|
+
/**
|
|
1500
|
+
* 模板ID
|
|
1501
|
+
*/
|
|
1502
|
+
MpTpl?: string;
|
|
1503
|
+
/**
|
|
1504
|
+
* 商户ID
|
|
1505
|
+
*/
|
|
1506
|
+
MerchantId?: string;
|
|
1507
|
+
/**
|
|
1508
|
+
* 商品ID
|
|
1509
|
+
*/
|
|
1510
|
+
ProductId?: string;
|
|
1511
|
+
/**
|
|
1512
|
+
* 备注
|
|
1513
|
+
*/
|
|
1514
|
+
Remark?: string;
|
|
1239
1515
|
}
|
|
1240
1516
|
/**
|
|
1241
|
-
*
|
|
1517
|
+
* DescribeProductById请求参数结构体
|
|
1242
1518
|
*/
|
|
1243
|
-
export interface
|
|
1519
|
+
export interface DescribeProductByIdRequest {
|
|
1244
1520
|
/**
|
|
1245
|
-
*
|
|
1521
|
+
* 商品ID
|
|
1246
1522
|
*/
|
|
1247
|
-
|
|
1523
|
+
ProductId: string;
|
|
1248
1524
|
/**
|
|
1249
|
-
*
|
|
1525
|
+
* 企业ID
|
|
1250
1526
|
*/
|
|
1251
|
-
|
|
1527
|
+
CorpId?: number;
|
|
1252
1528
|
}
|
|
1253
1529
|
/**
|
|
1254
|
-
*
|
|
1530
|
+
* DescribeTraceCodes返回参数结构体
|
|
1255
1531
|
*/
|
|
1256
|
-
export interface
|
|
1257
|
-
/**
|
|
1258
|
-
* 商户ID
|
|
1259
|
-
*/
|
|
1260
|
-
MerchantId: string;
|
|
1532
|
+
export interface DescribeTraceCodesResponse {
|
|
1261
1533
|
/**
|
|
1262
|
-
*
|
|
1534
|
+
* 标识列表
|
|
1535
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1263
1536
|
*/
|
|
1264
|
-
|
|
1537
|
+
TraceCodes: Array<TraceCode>;
|
|
1265
1538
|
/**
|
|
1266
|
-
*
|
|
1539
|
+
* 条数
|
|
1540
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1267
1541
|
*/
|
|
1268
|
-
|
|
1542
|
+
TotalCount: number;
|
|
1269
1543
|
/**
|
|
1270
|
-
*
|
|
1544
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1271
1545
|
*/
|
|
1272
|
-
|
|
1546
|
+
RequestId?: string;
|
|
1547
|
+
}
|
|
1548
|
+
/**
|
|
1549
|
+
* CreateTraceCodes返回参数结构体
|
|
1550
|
+
*/
|
|
1551
|
+
export interface CreateTraceCodesResponse {
|
|
1273
1552
|
/**
|
|
1274
|
-
*
|
|
1553
|
+
* 批次ID
|
|
1275
1554
|
*/
|
|
1276
|
-
|
|
1555
|
+
BatchId: string;
|
|
1277
1556
|
/**
|
|
1278
|
-
*
|
|
1557
|
+
* 导入成功码数量
|
|
1279
1558
|
*/
|
|
1280
|
-
|
|
1559
|
+
ActiveCnt: number;
|
|
1281
1560
|
/**
|
|
1282
|
-
*
|
|
1561
|
+
* 批次码数量
|
|
1283
1562
|
*/
|
|
1284
|
-
|
|
1563
|
+
CodeCnt: number;
|
|
1285
1564
|
/**
|
|
1286
|
-
*
|
|
1565
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1287
1566
|
*/
|
|
1288
|
-
|
|
1567
|
+
RequestId?: string;
|
|
1289
1568
|
}
|
|
1290
1569
|
/**
|
|
1291
|
-
*
|
|
1570
|
+
* DeleteTraceData请求参数结构体
|
|
1292
1571
|
*/
|
|
1293
|
-
export interface
|
|
1572
|
+
export interface DeleteTraceDataRequest {
|
|
1294
1573
|
/**
|
|
1295
|
-
*
|
|
1574
|
+
* 溯源ID
|
|
1296
1575
|
*/
|
|
1297
|
-
|
|
1576
|
+
TraceId: string;
|
|
1298
1577
|
/**
|
|
1299
|
-
*
|
|
1578
|
+
* 企业ID
|
|
1300
1579
|
*/
|
|
1301
|
-
|
|
1580
|
+
CorpId?: number;
|
|
1581
|
+
}
|
|
1582
|
+
/**
|
|
1583
|
+
* 商户信息
|
|
1584
|
+
*/
|
|
1585
|
+
export interface Merchant {
|
|
1302
1586
|
/**
|
|
1303
|
-
*
|
|
1587
|
+
* 商户标识码
|
|
1304
1588
|
*/
|
|
1305
|
-
|
|
1589
|
+
MerchantId: string;
|
|
1306
1590
|
/**
|
|
1307
|
-
*
|
|
1591
|
+
* 企业id
|
|
1308
1592
|
*/
|
|
1309
|
-
|
|
1593
|
+
CorpId: number;
|
|
1310
1594
|
/**
|
|
1311
|
-
*
|
|
1595
|
+
* 商户名称
|
|
1312
1596
|
*/
|
|
1313
|
-
|
|
1597
|
+
Name: string;
|
|
1314
1598
|
/**
|
|
1315
1599
|
* 备注
|
|
1600
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1316
1601
|
*/
|
|
1317
|
-
Remark
|
|
1602
|
+
Remark: string;
|
|
1318
1603
|
/**
|
|
1319
|
-
*
|
|
1604
|
+
* 创建时间
|
|
1320
1605
|
*/
|
|
1321
|
-
|
|
1606
|
+
CreateTime: string;
|
|
1322
1607
|
/**
|
|
1323
|
-
*
|
|
1608
|
+
* 更新时间
|
|
1324
1609
|
*/
|
|
1325
|
-
|
|
1326
|
-
}
|
|
1327
|
-
/**
|
|
1328
|
-
* ModifyCodeBatch返回参数结构体
|
|
1329
|
-
*/
|
|
1330
|
-
export interface ModifyCodeBatchResponse {
|
|
1610
|
+
UpdateTime: string;
|
|
1331
1611
|
/**
|
|
1332
|
-
*
|
|
1612
|
+
* 商户码规则
|
|
1333
1613
|
*/
|
|
1334
|
-
|
|
1614
|
+
CodeRule: string;
|
|
1335
1615
|
/**
|
|
1336
|
-
*
|
|
1616
|
+
* 码来源类型 0: 安心平台 1: 第三方码
|
|
1337
1617
|
*/
|
|
1338
|
-
|
|
1618
|
+
CodeType: number;
|
|
1619
|
+
/**
|
|
1620
|
+
* 第三方码域名前缀
|
|
1621
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1622
|
+
*/
|
|
1623
|
+
CodeUrl: string;
|
|
1339
1624
|
}
|
|
1340
1625
|
/**
|
|
1341
1626
|
* 商品信息
|
|
@@ -1394,31 +1679,6 @@ export interface Product {
|
|
|
1394
1679
|
*/
|
|
1395
1680
|
MerchantName: string;
|
|
1396
1681
|
}
|
|
1397
|
-
/**
|
|
1398
|
-
* DescribeTraceCodes请求参数结构体
|
|
1399
|
-
*/
|
|
1400
|
-
export interface DescribeTraceCodesRequest {
|
|
1401
|
-
/**
|
|
1402
|
-
* 搜索关键字 码标识,或者批次ID
|
|
1403
|
-
*/
|
|
1404
|
-
Keyword?: string;
|
|
1405
|
-
/**
|
|
1406
|
-
* 条数
|
|
1407
|
-
*/
|
|
1408
|
-
PageNumber?: number;
|
|
1409
|
-
/**
|
|
1410
|
-
* 页码
|
|
1411
|
-
*/
|
|
1412
|
-
PageSize?: number;
|
|
1413
|
-
/**
|
|
1414
|
-
* 批次ID,弃用
|
|
1415
|
-
*/
|
|
1416
|
-
BatchId?: string;
|
|
1417
|
-
/**
|
|
1418
|
-
* 企业ID
|
|
1419
|
-
*/
|
|
1420
|
-
CorpId?: number;
|
|
1421
|
-
}
|
|
1422
1682
|
/**
|
|
1423
1683
|
* 溯源码
|
|
1424
1684
|
*/
|
|
@@ -1469,62 +1729,180 @@ export interface TraceCode {
|
|
|
1469
1729
|
ProductName: string;
|
|
1470
1730
|
}
|
|
1471
1731
|
/**
|
|
1472
|
-
*
|
|
1732
|
+
* CreateMerchant返回参数结构体
|
|
1473
1733
|
*/
|
|
1474
|
-
export interface
|
|
1734
|
+
export interface CreateMerchantResponse {
|
|
1735
|
+
/**
|
|
1736
|
+
* 商户标识码
|
|
1737
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1738
|
+
*/
|
|
1739
|
+
MerchantId: string;
|
|
1475
1740
|
/**
|
|
1476
1741
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1477
1742
|
*/
|
|
1478
1743
|
RequestId?: string;
|
|
1479
1744
|
}
|
|
1480
1745
|
/**
|
|
1481
|
-
*
|
|
1746
|
+
* DescribeMerchants返回参数结构体
|
|
1482
1747
|
*/
|
|
1483
|
-
export interface
|
|
1748
|
+
export interface DescribeMerchantsResponse {
|
|
1484
1749
|
/**
|
|
1485
|
-
*
|
|
1750
|
+
* 商户列表
|
|
1486
1751
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1487
1752
|
*/
|
|
1488
|
-
|
|
1753
|
+
Merchants: Array<Merchant>;
|
|
1489
1754
|
/**
|
|
1490
|
-
*
|
|
1755
|
+
* 总数
|
|
1491
1756
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1492
1757
|
*/
|
|
1493
|
-
|
|
1758
|
+
TotalCount: number;
|
|
1494
1759
|
/**
|
|
1495
|
-
*
|
|
1760
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1761
|
+
*/
|
|
1762
|
+
RequestId?: string;
|
|
1763
|
+
}
|
|
1764
|
+
/**
|
|
1765
|
+
* DescribeTraceDataList请求参数结构体
|
|
1766
|
+
*/
|
|
1767
|
+
export interface DescribeTraceDataListRequest {
|
|
1768
|
+
/**
|
|
1769
|
+
* 企业ID
|
|
1770
|
+
*/
|
|
1771
|
+
CorpId?: number;
|
|
1772
|
+
/**
|
|
1773
|
+
* 批次ID
|
|
1774
|
+
*/
|
|
1775
|
+
BatchId?: string;
|
|
1776
|
+
/**
|
|
1777
|
+
* 任务ID 用于外部溯源
|
|
1778
|
+
*/
|
|
1779
|
+
TaskId?: string;
|
|
1780
|
+
/**
|
|
1781
|
+
* 页数
|
|
1782
|
+
*/
|
|
1783
|
+
PageNumber?: number;
|
|
1784
|
+
/**
|
|
1785
|
+
* 二维码
|
|
1786
|
+
*/
|
|
1787
|
+
Code?: string;
|
|
1788
|
+
/**
|
|
1789
|
+
* 溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源
|
|
1790
|
+
*/
|
|
1791
|
+
Phase?: number;
|
|
1792
|
+
/**
|
|
1793
|
+
* 数量
|
|
1794
|
+
*/
|
|
1795
|
+
PageSize?: number;
|
|
1796
|
+
}
|
|
1797
|
+
/**
|
|
1798
|
+
* DeleteMerchant返回参数结构体
|
|
1799
|
+
*/
|
|
1800
|
+
export interface DeleteMerchantResponse {
|
|
1801
|
+
/**
|
|
1802
|
+
* 商户标识码
|
|
1496
1803
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1497
1804
|
*/
|
|
1498
|
-
|
|
1805
|
+
MerchantId: string;
|
|
1806
|
+
/**
|
|
1807
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1808
|
+
*/
|
|
1809
|
+
RequestId?: string;
|
|
1499
1810
|
}
|
|
1500
1811
|
/**
|
|
1501
|
-
*
|
|
1812
|
+
* DeleteCodeBatch返回参数结构体
|
|
1502
1813
|
*/
|
|
1503
|
-
export interface
|
|
1814
|
+
export interface DeleteCodeBatchResponse {
|
|
1504
1815
|
/**
|
|
1505
|
-
*
|
|
1816
|
+
* 批次ID
|
|
1506
1817
|
*/
|
|
1507
|
-
|
|
1818
|
+
BatchId: string;
|
|
1508
1819
|
/**
|
|
1509
|
-
*
|
|
1820
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1510
1821
|
*/
|
|
1511
|
-
|
|
1822
|
+
RequestId?: string;
|
|
1823
|
+
}
|
|
1824
|
+
/**
|
|
1825
|
+
* CreateTraceChain请求参数结构体
|
|
1826
|
+
*/
|
|
1827
|
+
export interface CreateTraceChainRequest {
|
|
1512
1828
|
/**
|
|
1513
|
-
*
|
|
1829
|
+
* 企业ID
|
|
1514
1830
|
*/
|
|
1515
|
-
|
|
1831
|
+
CorpId?: number;
|
|
1516
1832
|
/**
|
|
1517
|
-
*
|
|
1833
|
+
* 溯源ID
|
|
1518
1834
|
*/
|
|
1519
|
-
|
|
1835
|
+
TraceId?: string;
|
|
1836
|
+
}
|
|
1837
|
+
/**
|
|
1838
|
+
* DescribeMerchantById请求参数结构体
|
|
1839
|
+
*/
|
|
1840
|
+
export interface DescribeMerchantByIdRequest {
|
|
1520
1841
|
/**
|
|
1521
|
-
*
|
|
1842
|
+
* 商户标识码
|
|
1522
1843
|
*/
|
|
1523
|
-
|
|
1844
|
+
MerchantId: string;
|
|
1524
1845
|
/**
|
|
1525
|
-
*
|
|
1846
|
+
* 企业ID
|
|
1526
1847
|
*/
|
|
1527
|
-
|
|
1848
|
+
CorpId?: number;
|
|
1849
|
+
}
|
|
1850
|
+
/**
|
|
1851
|
+
* DescribeProductById返回参数结构体
|
|
1852
|
+
*/
|
|
1853
|
+
export interface DescribeProductByIdResponse {
|
|
1854
|
+
/**
|
|
1855
|
+
* 商品信息
|
|
1856
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1857
|
+
*/
|
|
1858
|
+
Product: Product;
|
|
1859
|
+
/**
|
|
1860
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1861
|
+
*/
|
|
1862
|
+
RequestId?: string;
|
|
1863
|
+
}
|
|
1864
|
+
/**
|
|
1865
|
+
* DescribeCodePacks请求参数结构体
|
|
1866
|
+
*/
|
|
1867
|
+
export interface DescribeCodePacksRequest {
|
|
1868
|
+
/**
|
|
1869
|
+
* 每页数量
|
|
1870
|
+
*/
|
|
1871
|
+
PageSize?: number;
|
|
1872
|
+
/**
|
|
1873
|
+
* 页数
|
|
1874
|
+
*/
|
|
1875
|
+
PageNumber?: number;
|
|
1876
|
+
/**
|
|
1877
|
+
* 查询关键字
|
|
1878
|
+
*/
|
|
1879
|
+
Keyword?: string;
|
|
1880
|
+
/**
|
|
1881
|
+
* 企业ID
|
|
1882
|
+
*/
|
|
1883
|
+
CorpId?: number;
|
|
1884
|
+
}
|
|
1885
|
+
/**
|
|
1886
|
+
* DescribeJobFileUrl返回参数结构体
|
|
1887
|
+
*/
|
|
1888
|
+
export interface DescribeJobFileUrlResponse {
|
|
1889
|
+
/**
|
|
1890
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1891
|
+
*/
|
|
1892
|
+
RequestId?: string;
|
|
1893
|
+
}
|
|
1894
|
+
/**
|
|
1895
|
+
* DescribeTraceCodeById请求参数结构体
|
|
1896
|
+
*/
|
|
1897
|
+
export interface DescribeTraceCodeByIdRequest {
|
|
1898
|
+
/**
|
|
1899
|
+
* 企业ID
|
|
1900
|
+
*/
|
|
1901
|
+
CorpId?: number;
|
|
1902
|
+
/**
|
|
1903
|
+
* 二维码
|
|
1904
|
+
*/
|
|
1905
|
+
Code?: string;
|
|
1528
1906
|
}
|
|
1529
1907
|
/**
|
|
1530
1908
|
* DeleteMerchant请求参数结构体
|
|
@@ -1540,13 +1918,36 @@ export interface DeleteMerchantRequest {
|
|
|
1540
1918
|
CorpId?: number;
|
|
1541
1919
|
}
|
|
1542
1920
|
/**
|
|
1543
|
-
*
|
|
1921
|
+
* ModifyTraceCode返回参数结构体
|
|
1544
1922
|
*/
|
|
1545
|
-
export interface
|
|
1923
|
+
export interface ModifyTraceCodeResponse {
|
|
1546
1924
|
/**
|
|
1547
|
-
*
|
|
1925
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1548
1926
|
*/
|
|
1549
|
-
|
|
1927
|
+
RequestId?: string;
|
|
1928
|
+
}
|
|
1929
|
+
/**
|
|
1930
|
+
* DescribeCodePackUrl返回参数结构体
|
|
1931
|
+
*/
|
|
1932
|
+
export interface DescribeCodePackUrlResponse {
|
|
1933
|
+
/**
|
|
1934
|
+
* 文字码包地址
|
|
1935
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1936
|
+
*/
|
|
1937
|
+
Url: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1940
|
+
*/
|
|
1941
|
+
RequestId?: string;
|
|
1942
|
+
}
|
|
1943
|
+
/**
|
|
1944
|
+
* ModifyCodeBatch返回参数结构体
|
|
1945
|
+
*/
|
|
1946
|
+
export interface ModifyCodeBatchResponse {
|
|
1947
|
+
/**
|
|
1948
|
+
* 批次ID
|
|
1949
|
+
*/
|
|
1950
|
+
BatchId: string;
|
|
1550
1951
|
/**
|
|
1551
1952
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1552
1953
|
*/
|