tencentcloud-sdk-nodejs 4.0.460 → 4.0.462
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 +359 -0
- package/SERVICE_CHANGELOG.md +363 -110
- package/package.json +1 -1
- package/products.md +16 -16
- 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/captcha/v20190722/captcha_client.ts +12 -0
- package/src/services/captcha/v20190722/captcha_models.ts +15 -0
- 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/iotvideo/v20211125/iotvideo_models.ts +6 -0
- package/src/services/lcic/v20220817/lcic_client.ts +27 -15
- package/src/services/lcic/v20220817/lcic_models.ts +42 -22
- package/src/services/redis/v20180412/redis_models.ts +35 -30
- package/src/services/ssl/v20191205/ssl_client.ts +15 -1
- package/src/services/ssl/v20191205/ssl_models.ts +191 -6
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/teo/v20220901/teo_models.ts +1 -1
- package/src/services/tke/v20180525/tke_client.ts +1 -0
- package/src/services/tke/v20180525/tke_models.ts +34 -0
- package/src/services/trp/v20210515/trp_client.ts +202 -67
- package/src/services/trp/v20210515/trp_models.ts +1370 -690
- 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/captcha/v20190722/captcha_client.d.ts +5 -1
- package/tencentcloud/services/captcha/v20190722/captcha_client.js +6 -0
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +13 -0
- 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/iotvideo/v20211125/iotvideo_models.d.ts +6 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +9 -5
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +12 -6
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +38 -20
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +34 -30
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +5 -1
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +6 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +159 -6
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +29 -0
- package/tencentcloud/services/trp/v20210515/trp_client.d.ts +51 -7
- package/tencentcloud/services/trp/v20210515/trp_client.js +75 -9
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +1203 -625
- 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/captcha.v20190722.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/lcic.v20220817.test.js +14 -4
- package/test/ssl.v20191205.test.js +10 -0
- package/test/trp.v20210515.test.js +116 -6
- package/test/trtc.v20190722.test.js +30 -0
- package/test/wedata.v20210820.test.js +68 -8
|
@@ -32,7 +32,7 @@ export interface CodeBatch {
|
|
|
32
32
|
CorpId: number
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* 批次编码(未使用)
|
|
36
36
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
37
37
|
*/
|
|
38
38
|
BatchCode: string
|
|
@@ -74,7 +74,7 @@ export interface CodeBatch {
|
|
|
74
74
|
MpTpl: string
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* 批次状态 0: 未激活 1: 已激活 -1: 已冻结
|
|
78
78
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
79
79
|
*/
|
|
80
80
|
Status: number
|
|
@@ -123,68 +123,44 @@ export interface CodeBatch {
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
127
|
-
*/
|
|
128
|
-
export interface DeleteProductRequest {
|
|
129
|
-
/**
|
|
130
|
-
* 商品ID
|
|
131
|
-
*/
|
|
132
|
-
ProductId: string
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* 企业ID
|
|
136
|
-
*/
|
|
137
|
-
CorpId?: number
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* ModifyCodeBatch请求参数结构体
|
|
126
|
+
* DescribeProducts请求参数结构体
|
|
142
127
|
*/
|
|
143
|
-
export interface
|
|
144
|
-
/**
|
|
145
|
-
* 批次ID
|
|
146
|
-
*/
|
|
147
|
-
BatchId: string
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* 企业ID
|
|
151
|
-
*/
|
|
152
|
-
CorpId?: number
|
|
153
|
-
|
|
128
|
+
export interface DescribeProductsRequest {
|
|
154
129
|
/**
|
|
155
|
-
*
|
|
130
|
+
* 商品名称
|
|
156
131
|
*/
|
|
157
|
-
|
|
132
|
+
Name?: string
|
|
158
133
|
|
|
159
134
|
/**
|
|
160
|
-
*
|
|
135
|
+
* 条数
|
|
161
136
|
*/
|
|
162
|
-
|
|
137
|
+
PageSize?: number
|
|
163
138
|
|
|
164
139
|
/**
|
|
165
|
-
*
|
|
140
|
+
* 页数
|
|
166
141
|
*/
|
|
167
|
-
|
|
142
|
+
PageNumber?: number
|
|
168
143
|
|
|
169
144
|
/**
|
|
170
145
|
* 商品ID
|
|
171
146
|
*/
|
|
172
|
-
|
|
147
|
+
MerchantId?: string
|
|
173
148
|
|
|
174
149
|
/**
|
|
175
|
-
*
|
|
150
|
+
* 企业ID
|
|
176
151
|
*/
|
|
177
|
-
|
|
152
|
+
CorpId?: number
|
|
178
153
|
}
|
|
179
154
|
|
|
180
155
|
/**
|
|
181
|
-
*
|
|
156
|
+
* ModifyProduct返回参数结构体
|
|
182
157
|
*/
|
|
183
|
-
export interface
|
|
158
|
+
export interface ModifyProductResponse {
|
|
184
159
|
/**
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
160
|
+
* 商品ID
|
|
161
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
162
|
+
*/
|
|
163
|
+
ProductId: string
|
|
188
164
|
|
|
189
165
|
/**
|
|
190
166
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -193,288 +169,314 @@ export interface CreateCodeBatchResponse {
|
|
|
193
169
|
}
|
|
194
170
|
|
|
195
171
|
/**
|
|
196
|
-
*
|
|
172
|
+
* ModifyProduct请求参数结构体
|
|
197
173
|
*/
|
|
198
|
-
export interface
|
|
174
|
+
export interface ModifyProductRequest {
|
|
175
|
+
/**
|
|
176
|
+
* 商品名称
|
|
177
|
+
*/
|
|
178
|
+
Name: string
|
|
179
|
+
|
|
199
180
|
/**
|
|
200
181
|
* 商品ID
|
|
201
182
|
*/
|
|
202
183
|
ProductId: string
|
|
203
184
|
|
|
204
185
|
/**
|
|
205
|
-
*
|
|
186
|
+
* 备注
|
|
206
187
|
*/
|
|
207
|
-
|
|
208
|
-
}
|
|
188
|
+
Remark?: string
|
|
209
189
|
|
|
210
|
-
/**
|
|
211
|
-
* ModifyTraceDataRanks请求参数结构体
|
|
212
|
-
*/
|
|
213
|
-
export interface ModifyTraceDataRanksRequest {
|
|
214
190
|
/**
|
|
215
|
-
*
|
|
191
|
+
* 商品规格
|
|
216
192
|
*/
|
|
217
|
-
|
|
193
|
+
Specification?: string
|
|
218
194
|
|
|
219
195
|
/**
|
|
220
|
-
*
|
|
196
|
+
* 商品图片
|
|
221
197
|
*/
|
|
222
|
-
|
|
198
|
+
Logo?: Array<string>
|
|
223
199
|
|
|
224
200
|
/**
|
|
225
|
-
*
|
|
201
|
+
* 企业ID
|
|
226
202
|
*/
|
|
227
|
-
|
|
203
|
+
CorpId?: number
|
|
228
204
|
|
|
229
205
|
/**
|
|
230
|
-
*
|
|
206
|
+
* 预留字段
|
|
231
207
|
*/
|
|
232
|
-
|
|
208
|
+
Ext?: Ext
|
|
233
209
|
}
|
|
234
210
|
|
|
235
211
|
/**
|
|
236
|
-
*
|
|
212
|
+
* ModifyCustomRule请求参数结构体
|
|
237
213
|
*/
|
|
238
|
-
export interface
|
|
214
|
+
export interface ModifyCustomRuleRequest {
|
|
239
215
|
/**
|
|
240
|
-
*
|
|
216
|
+
* 码规则ID
|
|
241
217
|
*/
|
|
242
|
-
|
|
218
|
+
CustomId: string
|
|
243
219
|
|
|
244
220
|
/**
|
|
245
|
-
*
|
|
221
|
+
* 规则名称
|
|
246
222
|
*/
|
|
247
|
-
|
|
223
|
+
Name: string
|
|
248
224
|
|
|
249
225
|
/**
|
|
250
|
-
*
|
|
226
|
+
* 码长度
|
|
251
227
|
*/
|
|
252
|
-
|
|
228
|
+
CodeLength: number
|
|
253
229
|
|
|
254
230
|
/**
|
|
255
|
-
*
|
|
231
|
+
* 码段配置
|
|
256
232
|
*/
|
|
257
|
-
|
|
233
|
+
CodeParts: Array<CodePart>
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* 企业ID
|
|
237
|
+
*/
|
|
238
|
+
CorpId?: number
|
|
258
239
|
}
|
|
259
240
|
|
|
260
241
|
/**
|
|
261
|
-
*
|
|
242
|
+
* 码段配置
|
|
262
243
|
*/
|
|
263
|
-
export interface
|
|
244
|
+
export interface CodePart {
|
|
264
245
|
/**
|
|
265
|
-
*
|
|
246
|
+
* 码段名称
|
|
266
247
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
267
248
|
*/
|
|
268
|
-
|
|
249
|
+
Name: string
|
|
269
250
|
|
|
270
251
|
/**
|
|
271
|
-
*
|
|
252
|
+
* 码段类型
|
|
272
253
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
273
254
|
*/
|
|
274
|
-
|
|
255
|
+
Type: string
|
|
275
256
|
|
|
276
257
|
/**
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
258
|
+
* 码段内容
|
|
259
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
260
|
+
*/
|
|
261
|
+
Value: string
|
|
281
262
|
|
|
282
|
-
/**
|
|
283
|
-
* DeleteTraceData请求参数结构体
|
|
284
|
-
*/
|
|
285
|
-
export interface DeleteTraceDataRequest {
|
|
286
263
|
/**
|
|
287
|
-
*
|
|
264
|
+
* 码段长度
|
|
288
265
|
*/
|
|
289
|
-
|
|
266
|
+
Length: number
|
|
290
267
|
|
|
291
268
|
/**
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
269
|
+
* 扩展字段
|
|
270
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
271
|
+
*/
|
|
272
|
+
Ext: string
|
|
295
273
|
}
|
|
296
274
|
|
|
297
275
|
/**
|
|
298
|
-
*
|
|
276
|
+
* 码包类型
|
|
299
277
|
*/
|
|
300
|
-
export interface
|
|
278
|
+
export interface CodePack {
|
|
301
279
|
/**
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
280
|
+
* 码id
|
|
281
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
282
|
+
*/
|
|
283
|
+
PackId: string
|
|
305
284
|
|
|
306
285
|
/**
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
286
|
+
* 企业id
|
|
287
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
288
|
+
*/
|
|
289
|
+
CorpId: number
|
|
310
290
|
|
|
311
291
|
/**
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
292
|
+
* 商户id
|
|
293
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
294
|
+
*/
|
|
295
|
+
MerchantId: string
|
|
315
296
|
|
|
316
297
|
/**
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
298
|
+
* 创建时间
|
|
299
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
300
|
+
*/
|
|
301
|
+
CreateTime: string
|
|
320
302
|
|
|
321
303
|
/**
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
304
|
+
* 更新时间
|
|
305
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
306
|
+
*/
|
|
307
|
+
UpdateTime: string
|
|
325
308
|
|
|
326
309
|
/**
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
310
|
+
* 状态
|
|
311
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
312
|
+
*/
|
|
313
|
+
Status: string
|
|
331
314
|
|
|
332
|
-
/**
|
|
333
|
-
* ModifyProduct返回参数结构体
|
|
334
|
-
*/
|
|
335
|
-
export interface ModifyProductResponse {
|
|
336
315
|
/**
|
|
337
|
-
*
|
|
316
|
+
* 记录
|
|
338
317
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
339
318
|
*/
|
|
340
|
-
|
|
319
|
+
Log: string
|
|
341
320
|
|
|
342
321
|
/**
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
322
|
+
* 创建人
|
|
323
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
324
|
+
*/
|
|
325
|
+
CreateUser: string
|
|
347
326
|
|
|
348
|
-
/**
|
|
349
|
-
* ModifyTraceData请求参数结构体
|
|
350
|
-
*/
|
|
351
|
-
export interface ModifyTraceDataRequest {
|
|
352
327
|
/**
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
328
|
+
* 码数
|
|
329
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
330
|
+
*/
|
|
331
|
+
Amount: number
|
|
356
332
|
|
|
357
333
|
/**
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
334
|
+
* 码长度
|
|
335
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
336
|
+
*/
|
|
337
|
+
CodeLength: number
|
|
361
338
|
|
|
362
339
|
/**
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
340
|
+
* 码类型
|
|
341
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
342
|
+
*/
|
|
343
|
+
CodeType: string
|
|
366
344
|
|
|
367
345
|
/**
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
346
|
+
* 是否暗码
|
|
347
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
348
|
+
*/
|
|
349
|
+
Cipher: number
|
|
371
350
|
|
|
372
351
|
/**
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
352
|
+
* 文字码地址
|
|
353
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
354
|
+
*/
|
|
355
|
+
TextUrl: string
|
|
376
356
|
|
|
377
357
|
/**
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
358
|
+
* 二维码地址
|
|
359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
360
|
+
*/
|
|
361
|
+
PackUrl: string
|
|
381
362
|
|
|
382
363
|
/**
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
364
|
+
* 商户名
|
|
365
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
366
|
+
*/
|
|
367
|
+
MerchantName: string
|
|
386
368
|
|
|
387
369
|
/**
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
370
|
+
* 码规则类型 0: 默认, 1: 自定义
|
|
371
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
372
|
+
*/
|
|
373
|
+
RuleType: number
|
|
391
374
|
|
|
392
375
|
/**
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
376
|
+
* 自定义码规则ID
|
|
377
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
378
|
+
*/
|
|
379
|
+
CustomId: string
|
|
396
380
|
|
|
397
381
|
/**
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
382
|
+
* 码包类型 0: 普通码包 1: 层级码包
|
|
383
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
384
|
+
*/
|
|
385
|
+
PackType: number
|
|
401
386
|
|
|
402
387
|
/**
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
388
|
+
* 生码层级
|
|
389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
390
|
+
*/
|
|
391
|
+
PackLevel: number
|
|
406
392
|
|
|
407
393
|
/**
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
394
|
+
* 层级码配置
|
|
395
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
396
|
+
*/
|
|
397
|
+
PackSpec: Array<PackSpec>
|
|
398
|
+
}
|
|
411
399
|
|
|
400
|
+
/**
|
|
401
|
+
* DeleteCodeBatch请求参数结构体
|
|
402
|
+
*/
|
|
403
|
+
export interface DeleteCodeBatchRequest {
|
|
412
404
|
/**
|
|
413
|
-
*
|
|
405
|
+
* 企业ID
|
|
414
406
|
*/
|
|
415
|
-
|
|
407
|
+
CorpId?: number
|
|
416
408
|
|
|
417
409
|
/**
|
|
418
|
-
*
|
|
410
|
+
* 批次ID
|
|
419
411
|
*/
|
|
420
|
-
|
|
412
|
+
BatchId?: string
|
|
413
|
+
}
|
|
421
414
|
|
|
415
|
+
/**
|
|
416
|
+
* DescribeMerchants请求参数结构体
|
|
417
|
+
*/
|
|
418
|
+
export interface DescribeMerchantsRequest {
|
|
422
419
|
/**
|
|
423
|
-
*
|
|
420
|
+
* 搜索商户名称
|
|
424
421
|
*/
|
|
425
|
-
|
|
422
|
+
Name?: string
|
|
426
423
|
|
|
427
424
|
/**
|
|
428
|
-
*
|
|
425
|
+
* 条数
|
|
429
426
|
*/
|
|
430
|
-
|
|
427
|
+
PageSize?: number
|
|
431
428
|
|
|
432
429
|
/**
|
|
433
|
-
*
|
|
430
|
+
* 页数
|
|
434
431
|
*/
|
|
435
|
-
|
|
436
|
-
}
|
|
432
|
+
PageNumber?: number
|
|
437
433
|
|
|
438
|
-
/**
|
|
439
|
-
* CreateMerchant返回参数结构体
|
|
440
|
-
*/
|
|
441
|
-
export interface CreateMerchantResponse {
|
|
442
434
|
/**
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
MerchantId: string
|
|
435
|
+
* 企业ID
|
|
436
|
+
*/
|
|
437
|
+
CorpId?: number
|
|
447
438
|
|
|
448
439
|
/**
|
|
449
|
-
*
|
|
440
|
+
* 码来源类型 0:自建, 1:第三方
|
|
450
441
|
*/
|
|
451
|
-
|
|
442
|
+
CodeType?: number
|
|
452
443
|
}
|
|
453
444
|
|
|
454
445
|
/**
|
|
455
|
-
*
|
|
446
|
+
* ModifyTraceCode请求参数结构体
|
|
456
447
|
*/
|
|
457
|
-
export interface
|
|
448
|
+
export interface ModifyTraceCodeRequest {
|
|
458
449
|
/**
|
|
459
|
-
*
|
|
450
|
+
* 二维码
|
|
460
451
|
*/
|
|
461
|
-
|
|
452
|
+
Code: string
|
|
462
453
|
|
|
463
454
|
/**
|
|
464
455
|
* 企业ID
|
|
465
456
|
*/
|
|
466
457
|
CorpId?: number
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* 状态 0: 冻结 1: 激活
|
|
461
|
+
*/
|
|
462
|
+
Status?: number
|
|
467
463
|
}
|
|
468
464
|
|
|
469
465
|
/**
|
|
470
|
-
*
|
|
466
|
+
* DescribeCustomRules返回参数结构体
|
|
471
467
|
*/
|
|
472
|
-
export interface
|
|
468
|
+
export interface DescribeCustomRulesResponse {
|
|
473
469
|
/**
|
|
474
|
-
*
|
|
470
|
+
* 码规则列表
|
|
475
471
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
476
472
|
*/
|
|
477
|
-
|
|
473
|
+
CustomRules: Array<CustomRule>
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* 总数
|
|
477
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
478
|
+
*/
|
|
479
|
+
TotalCount: number
|
|
478
480
|
|
|
479
481
|
/**
|
|
480
482
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -483,86 +485,58 @@ export interface ModifyTraceDataRanksResponse {
|
|
|
483
485
|
}
|
|
484
486
|
|
|
485
487
|
/**
|
|
486
|
-
*
|
|
488
|
+
* CreateMerchant请求参数结构体
|
|
487
489
|
*/
|
|
488
|
-
export interface
|
|
489
|
-
/**
|
|
490
|
-
* 商户标识码
|
|
491
|
-
*/
|
|
492
|
-
MerchantId: string
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
* 企业id
|
|
496
|
-
*/
|
|
497
|
-
CorpId: number
|
|
498
|
-
|
|
490
|
+
export interface CreateMerchantRequest {
|
|
499
491
|
/**
|
|
500
492
|
* 商户名称
|
|
501
493
|
*/
|
|
502
494
|
Name: string
|
|
503
495
|
|
|
504
496
|
/**
|
|
505
|
-
|
|
506
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
507
|
-
*/
|
|
508
|
-
Remark: string
|
|
509
|
-
|
|
510
|
-
/**
|
|
511
|
-
* 创建时间
|
|
497
|
+
* 备注
|
|
512
498
|
*/
|
|
513
|
-
|
|
499
|
+
Remark?: string
|
|
514
500
|
|
|
515
501
|
/**
|
|
516
|
-
*
|
|
502
|
+
* 企业ID
|
|
517
503
|
*/
|
|
518
|
-
|
|
504
|
+
CorpId?: number
|
|
519
505
|
|
|
520
506
|
/**
|
|
521
|
-
*
|
|
507
|
+
* 码包来源 0:自建, 1:第三发
|
|
522
508
|
*/
|
|
523
|
-
|
|
509
|
+
CodeType?: number
|
|
524
510
|
|
|
525
511
|
/**
|
|
526
|
-
*
|
|
512
|
+
* 码包前缀地址 第三方码包时必填
|
|
527
513
|
*/
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
/**
|
|
531
|
-
* 第三方码域名前缀
|
|
532
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
533
|
-
*/
|
|
534
|
-
CodeUrl: string
|
|
514
|
+
CodeUrl?: string
|
|
535
515
|
}
|
|
536
516
|
|
|
537
517
|
/**
|
|
538
|
-
*
|
|
518
|
+
* DescribeCodeBatchById请求参数结构体
|
|
539
519
|
*/
|
|
540
|
-
export interface
|
|
541
|
-
/**
|
|
542
|
-
* 批次ID
|
|
543
|
-
*/
|
|
544
|
-
BatchId: string
|
|
545
|
-
|
|
520
|
+
export interface DescribeCodeBatchByIdRequest {
|
|
546
521
|
/**
|
|
547
522
|
* 企业ID
|
|
548
523
|
*/
|
|
549
524
|
CorpId?: number
|
|
550
525
|
|
|
551
526
|
/**
|
|
552
|
-
*
|
|
527
|
+
* 批次ID
|
|
553
528
|
*/
|
|
554
|
-
|
|
529
|
+
BatchId?: string
|
|
555
530
|
}
|
|
556
531
|
|
|
557
532
|
/**
|
|
558
|
-
*
|
|
533
|
+
* DescribeTraceCodeById返回参数结构体
|
|
559
534
|
*/
|
|
560
|
-
export interface
|
|
535
|
+
export interface DescribeTraceCodeByIdResponse {
|
|
561
536
|
/**
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
ProductId: string
|
|
537
|
+
* 无
|
|
538
|
+
*/
|
|
539
|
+
TraceCode: TraceCode
|
|
566
540
|
|
|
567
541
|
/**
|
|
568
542
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -571,83 +545,108 @@ export interface DeleteProductResponse {
|
|
|
571
545
|
}
|
|
572
546
|
|
|
573
547
|
/**
|
|
574
|
-
*
|
|
548
|
+
* 码规则
|
|
575
549
|
*/
|
|
576
|
-
export interface
|
|
550
|
+
export interface CustomRule {
|
|
577
551
|
/**
|
|
578
|
-
*
|
|
552
|
+
* 码规则ID
|
|
579
553
|
*/
|
|
580
|
-
|
|
554
|
+
CustomId: string
|
|
581
555
|
|
|
582
556
|
/**
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
557
|
+
* 码规则名
|
|
558
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
559
|
+
*/
|
|
560
|
+
Name: string
|
|
586
561
|
|
|
587
562
|
/**
|
|
588
|
-
|
|
563
|
+
* 企业ID
|
|
564
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
565
|
+
*/
|
|
566
|
+
CorpId: number
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* 商户ID
|
|
570
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
571
|
+
*/
|
|
572
|
+
MerchantId: string
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* 码ID长度
|
|
589
576
|
*/
|
|
590
|
-
|
|
577
|
+
CodeLength: number
|
|
591
578
|
|
|
592
579
|
/**
|
|
593
|
-
*
|
|
580
|
+
* 规则状态
|
|
594
581
|
*/
|
|
595
|
-
|
|
582
|
+
Status: number
|
|
596
583
|
|
|
597
584
|
/**
|
|
598
|
-
*
|
|
585
|
+
* 码段配置
|
|
599
586
|
*/
|
|
600
|
-
|
|
587
|
+
CodeParts: Array<CodePart>
|
|
601
588
|
|
|
602
589
|
/**
|
|
603
|
-
*
|
|
590
|
+
* 创建时间
|
|
604
591
|
*/
|
|
605
|
-
|
|
592
|
+
CreateTime: string
|
|
606
593
|
|
|
607
594
|
/**
|
|
608
|
-
*
|
|
595
|
+
* 更新时间
|
|
609
596
|
*/
|
|
610
|
-
|
|
597
|
+
UpdateTime: string
|
|
611
598
|
}
|
|
612
599
|
|
|
613
600
|
/**
|
|
614
|
-
* DescribeProducts
|
|
601
|
+
* DescribeProducts返回参数结构体
|
|
615
602
|
*/
|
|
616
|
-
export interface
|
|
603
|
+
export interface DescribeProductsResponse {
|
|
617
604
|
/**
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
605
|
+
* 商品列表
|
|
606
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
607
|
+
*/
|
|
608
|
+
Products: Array<Product>
|
|
621
609
|
|
|
622
610
|
/**
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
611
|
+
* 总数
|
|
612
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
613
|
+
*/
|
|
614
|
+
TotalCount: number
|
|
626
615
|
|
|
627
616
|
/**
|
|
628
|
-
*
|
|
617
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
629
618
|
*/
|
|
630
|
-
|
|
619
|
+
RequestId?: string
|
|
620
|
+
}
|
|
631
621
|
|
|
622
|
+
/**
|
|
623
|
+
* CreateCodeBatch返回参数结构体
|
|
624
|
+
*/
|
|
625
|
+
export interface CreateCodeBatchResponse {
|
|
632
626
|
/**
|
|
633
|
-
*
|
|
627
|
+
* 批次ID
|
|
634
628
|
*/
|
|
635
|
-
|
|
629
|
+
BatchId: string
|
|
636
630
|
|
|
637
631
|
/**
|
|
638
|
-
*
|
|
632
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
639
633
|
*/
|
|
640
|
-
|
|
634
|
+
RequestId?: string
|
|
641
635
|
}
|
|
642
636
|
|
|
643
637
|
/**
|
|
644
|
-
*
|
|
638
|
+
* DescribeTraceDataList返回参数结构体
|
|
645
639
|
*/
|
|
646
|
-
export interface
|
|
640
|
+
export interface DescribeTraceDataListResponse {
|
|
647
641
|
/**
|
|
648
|
-
*
|
|
642
|
+
* 数量
|
|
649
643
|
*/
|
|
650
|
-
|
|
644
|
+
TotalCount: number
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* 无
|
|
648
|
+
*/
|
|
649
|
+
TraceDataList: Array<TraceData>
|
|
651
650
|
|
|
652
651
|
/**
|
|
653
652
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -656,53 +655,62 @@ export interface DescribeCodeBatchByIdResponse {
|
|
|
656
655
|
}
|
|
657
656
|
|
|
658
657
|
/**
|
|
659
|
-
*
|
|
658
|
+
* DescribeTraceCodes请求参数结构体
|
|
660
659
|
*/
|
|
661
|
-
export interface
|
|
660
|
+
export interface DescribeTraceCodesRequest {
|
|
662
661
|
/**
|
|
663
|
-
*
|
|
662
|
+
* 搜索关键字 码标识,或者批次ID
|
|
664
663
|
*/
|
|
665
|
-
|
|
664
|
+
Keyword?: string
|
|
666
665
|
|
|
667
666
|
/**
|
|
668
|
-
*
|
|
667
|
+
* 条数
|
|
669
668
|
*/
|
|
670
|
-
|
|
669
|
+
PageNumber?: number
|
|
671
670
|
|
|
672
671
|
/**
|
|
673
|
-
*
|
|
672
|
+
* 页码
|
|
674
673
|
*/
|
|
675
|
-
|
|
674
|
+
PageSize?: number
|
|
676
675
|
|
|
677
676
|
/**
|
|
678
|
-
*
|
|
677
|
+
* 批次ID,弃用
|
|
679
678
|
*/
|
|
680
|
-
|
|
679
|
+
BatchId?: string
|
|
681
680
|
|
|
682
681
|
/**
|
|
683
|
-
*
|
|
682
|
+
* 企业ID
|
|
684
683
|
*/
|
|
685
|
-
|
|
684
|
+
CorpId?: number
|
|
685
|
+
}
|
|
686
686
|
|
|
687
|
+
/**
|
|
688
|
+
* CreateTraceCodesAsync请求参数结构体
|
|
689
|
+
*/
|
|
690
|
+
export interface CreateTraceCodesAsyncRequest {
|
|
687
691
|
/**
|
|
688
692
|
* 企业ID
|
|
689
693
|
*/
|
|
690
694
|
CorpId?: number
|
|
691
695
|
|
|
692
696
|
/**
|
|
693
|
-
*
|
|
697
|
+
* 批次ID
|
|
694
698
|
*/
|
|
695
|
-
|
|
696
|
-
|
|
699
|
+
BatchId?: string
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* 上传文件Key,仅支持 csv 或者 zip 类型
|
|
703
|
+
*/
|
|
704
|
+
FileKey?: string
|
|
705
|
+
}
|
|
697
706
|
|
|
698
707
|
/**
|
|
699
|
-
*
|
|
708
|
+
* ModifyTraceData返回参数结构体
|
|
700
709
|
*/
|
|
701
|
-
export interface
|
|
710
|
+
export interface ModifyTraceDataResponse {
|
|
702
711
|
/**
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
*/
|
|
712
|
+
* 溯源ID
|
|
713
|
+
*/
|
|
706
714
|
TraceId: string
|
|
707
715
|
|
|
708
716
|
/**
|
|
@@ -712,28 +720,28 @@ export interface DeleteTraceDataResponse {
|
|
|
712
720
|
}
|
|
713
721
|
|
|
714
722
|
/**
|
|
715
|
-
*
|
|
723
|
+
* DeleteProduct请求参数结构体
|
|
716
724
|
*/
|
|
717
|
-
export interface
|
|
725
|
+
export interface DeleteProductRequest {
|
|
718
726
|
/**
|
|
719
|
-
*
|
|
727
|
+
* 商品ID
|
|
720
728
|
*/
|
|
721
|
-
|
|
729
|
+
ProductId: string
|
|
722
730
|
|
|
723
731
|
/**
|
|
724
|
-
*
|
|
732
|
+
* 企业ID
|
|
725
733
|
*/
|
|
726
|
-
|
|
734
|
+
CorpId?: number
|
|
727
735
|
}
|
|
728
736
|
|
|
729
737
|
/**
|
|
730
|
-
*
|
|
738
|
+
* CreateTraceChain返回参数结构体
|
|
731
739
|
*/
|
|
732
|
-
export interface
|
|
740
|
+
export interface CreateTraceChainResponse {
|
|
733
741
|
/**
|
|
734
|
-
*
|
|
742
|
+
* 溯源ID
|
|
735
743
|
*/
|
|
736
|
-
|
|
744
|
+
TraceId: string
|
|
737
745
|
|
|
738
746
|
/**
|
|
739
747
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -742,35 +750,58 @@ export interface CreateCodePackResponse {
|
|
|
742
750
|
}
|
|
743
751
|
|
|
744
752
|
/**
|
|
745
|
-
*
|
|
753
|
+
* CreateCustomRule请求参数结构体
|
|
746
754
|
*/
|
|
747
|
-
export interface
|
|
755
|
+
export interface CreateCustomRuleRequest {
|
|
748
756
|
/**
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
Merchants: Array<Merchant>
|
|
757
|
+
* 规则名称
|
|
758
|
+
*/
|
|
759
|
+
Name: string
|
|
753
760
|
|
|
754
761
|
/**
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
TotalCount: number
|
|
762
|
+
* 商户ID
|
|
763
|
+
*/
|
|
764
|
+
MerchantId: string
|
|
759
765
|
|
|
760
766
|
/**
|
|
761
|
-
*
|
|
767
|
+
* 码长度
|
|
762
768
|
*/
|
|
763
|
-
|
|
769
|
+
CodeLength: number
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* 码段配置
|
|
773
|
+
*/
|
|
774
|
+
CodeParts: Array<CodePart>
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* 企业ID
|
|
778
|
+
*/
|
|
779
|
+
CorpId?: number
|
|
764
780
|
}
|
|
765
781
|
|
|
766
782
|
/**
|
|
767
|
-
*
|
|
783
|
+
* DescribeCodePackStatus请求参数结构体
|
|
768
784
|
*/
|
|
769
|
-
export interface
|
|
785
|
+
export interface DescribeCodePackStatusRequest {
|
|
786
|
+
/**
|
|
787
|
+
* 码包ID
|
|
788
|
+
*/
|
|
789
|
+
PackId: string
|
|
790
|
+
|
|
770
791
|
/**
|
|
771
792
|
* 企业ID
|
|
772
793
|
*/
|
|
773
794
|
CorpId?: number
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* ModifyTraceData请求参数结构体
|
|
799
|
+
*/
|
|
800
|
+
export interface ModifyTraceDataRequest {
|
|
801
|
+
/**
|
|
802
|
+
* 溯源ID
|
|
803
|
+
*/
|
|
804
|
+
TraceId?: string
|
|
774
805
|
|
|
775
806
|
/**
|
|
776
807
|
* 批次ID
|
|
@@ -778,88 +809,130 @@ export interface DescribeTraceDataListRequest {
|
|
|
778
809
|
BatchId?: string
|
|
779
810
|
|
|
780
811
|
/**
|
|
781
|
-
*
|
|
812
|
+
* 生产溯源任务ID
|
|
782
813
|
*/
|
|
783
814
|
TaskId?: string
|
|
784
815
|
|
|
785
816
|
/**
|
|
786
|
-
*
|
|
817
|
+
* 溯源信息
|
|
787
818
|
*/
|
|
788
|
-
|
|
819
|
+
TraceItems?: Array<TraceItem>
|
|
789
820
|
|
|
790
821
|
/**
|
|
791
|
-
*
|
|
822
|
+
* 溯源阶段名称
|
|
823
|
+
*/
|
|
824
|
+
PhaseName?: string
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* [无效] 类型
|
|
828
|
+
*/
|
|
829
|
+
Type?: number
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* [无效] 溯源码
|
|
792
833
|
*/
|
|
793
834
|
Code?: string
|
|
794
835
|
|
|
795
836
|
/**
|
|
796
|
-
*
|
|
837
|
+
* [无效] 排序
|
|
838
|
+
*/
|
|
839
|
+
Rank?: number
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* [无效] 溯源阶段 0:商品 1:通用 2:物流
|
|
797
843
|
*/
|
|
798
844
|
Phase?: number
|
|
799
845
|
|
|
800
846
|
/**
|
|
801
|
-
*
|
|
847
|
+
* [无效] 溯源时间
|
|
802
848
|
*/
|
|
803
|
-
|
|
804
|
-
}
|
|
849
|
+
TraceTime?: string
|
|
805
850
|
|
|
806
|
-
/**
|
|
807
|
-
* DescribeMerchantById返回参数结构体
|
|
808
|
-
*/
|
|
809
|
-
export interface DescribeMerchantByIdResponse {
|
|
810
851
|
/**
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
Merchant: Merchant
|
|
852
|
+
* [无效] 创建时间
|
|
853
|
+
*/
|
|
854
|
+
CreateTime?: string
|
|
815
855
|
|
|
816
856
|
/**
|
|
817
|
-
*
|
|
857
|
+
* [无效] 上链状态
|
|
818
858
|
*/
|
|
819
|
-
|
|
820
|
-
}
|
|
859
|
+
ChainStatus?: number
|
|
821
860
|
|
|
822
|
-
/**
|
|
823
|
-
* ModifyMerchant返回参数结构体
|
|
824
|
-
*/
|
|
825
|
-
export interface ModifyMerchantResponse {
|
|
826
861
|
/**
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
MerchantId: string
|
|
862
|
+
* [无效] 上链时间
|
|
863
|
+
*/
|
|
864
|
+
ChainTime?: string
|
|
831
865
|
|
|
832
866
|
/**
|
|
833
|
-
*
|
|
867
|
+
* [无效] 上链数据
|
|
834
868
|
*/
|
|
835
|
-
|
|
869
|
+
ChainData?: ChainData
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* 企业ID
|
|
873
|
+
*/
|
|
874
|
+
CorpId?: number
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* 溯源状态 0: 无效, 1: 有效
|
|
878
|
+
*/
|
|
879
|
+
Status?: number
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* 环节数据
|
|
883
|
+
*/
|
|
884
|
+
PhaseData?: PhaseData
|
|
836
885
|
}
|
|
837
886
|
|
|
838
887
|
/**
|
|
839
|
-
*
|
|
888
|
+
* DescribeCodeBatchs请求参数结构体
|
|
840
889
|
*/
|
|
841
|
-
export interface
|
|
890
|
+
export interface DescribeCodeBatchsRequest {
|
|
842
891
|
/**
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
MerchantId: string
|
|
892
|
+
* 查询商户ID
|
|
893
|
+
*/
|
|
894
|
+
MerchantId?: string
|
|
847
895
|
|
|
848
896
|
/**
|
|
849
|
-
*
|
|
897
|
+
* 查询商品ID
|
|
850
898
|
*/
|
|
851
|
-
|
|
899
|
+
ProductId?: string
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* 查询关键字
|
|
903
|
+
*/
|
|
904
|
+
Keyword?: string
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* 条数
|
|
908
|
+
*/
|
|
909
|
+
PageSize?: number
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* 页数
|
|
913
|
+
*/
|
|
914
|
+
PageNumber?: number
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* 批次类型 0:溯源 1:营销
|
|
918
|
+
*/
|
|
919
|
+
BatchType?: string
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* 企业ID
|
|
923
|
+
*/
|
|
924
|
+
CorpId?: number
|
|
852
925
|
}
|
|
853
926
|
|
|
854
927
|
/**
|
|
855
|
-
*
|
|
928
|
+
* ModifyTraceDataRanks返回参数结构体
|
|
856
929
|
*/
|
|
857
|
-
export interface
|
|
930
|
+
export interface ModifyTraceDataRanksResponse {
|
|
858
931
|
/**
|
|
859
|
-
*
|
|
932
|
+
* 批次ID
|
|
860
933
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
861
934
|
*/
|
|
862
|
-
|
|
935
|
+
BatchId: string
|
|
863
936
|
|
|
864
937
|
/**
|
|
865
938
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -868,33 +941,49 @@ export interface DescribeCodesByPackResponse {
|
|
|
868
941
|
}
|
|
869
942
|
|
|
870
943
|
/**
|
|
871
|
-
*
|
|
944
|
+
* CreateTraceCodes请求参数结构体
|
|
872
945
|
*/
|
|
873
|
-
export interface
|
|
946
|
+
export interface CreateTraceCodesRequest {
|
|
874
947
|
/**
|
|
875
948
|
* 批次ID
|
|
876
949
|
*/
|
|
877
950
|
BatchId: string
|
|
878
951
|
|
|
879
952
|
/**
|
|
880
|
-
*
|
|
953
|
+
* 企业ID
|
|
881
954
|
*/
|
|
882
|
-
|
|
955
|
+
CorpId?: number
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* 码
|
|
959
|
+
*/
|
|
960
|
+
Codes?: Array<CodeItem>
|
|
883
961
|
}
|
|
884
962
|
|
|
885
963
|
/**
|
|
886
|
-
*
|
|
964
|
+
* DescribeCodeBatchById返回参数结构体
|
|
887
965
|
*/
|
|
888
|
-
export interface
|
|
966
|
+
export interface DescribeCodeBatchByIdResponse {
|
|
889
967
|
/**
|
|
890
|
-
*
|
|
968
|
+
* 批次
|
|
891
969
|
*/
|
|
892
|
-
|
|
970
|
+
CodeBatch: CodeBatch
|
|
893
971
|
|
|
894
972
|
/**
|
|
895
|
-
*
|
|
973
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
896
974
|
*/
|
|
897
|
-
|
|
975
|
+
RequestId?: string
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* DescribeCodePackStatus返回参数结构体
|
|
980
|
+
*/
|
|
981
|
+
export interface DescribeCodePackStatusResponse {
|
|
982
|
+
/**
|
|
983
|
+
* 码包状态 init: 初始化, pending: 执行中, done: 完成, error: 失败
|
|
984
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
985
|
+
*/
|
|
986
|
+
Status: string
|
|
898
987
|
|
|
899
988
|
/**
|
|
900
989
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -903,77 +992,215 @@ export interface DescribeTraceDataListResponse {
|
|
|
903
992
|
}
|
|
904
993
|
|
|
905
994
|
/**
|
|
906
|
-
*
|
|
995
|
+
* 通用调度任务
|
|
907
996
|
*/
|
|
908
|
-
export interface
|
|
997
|
+
export interface Job {
|
|
909
998
|
/**
|
|
910
|
-
*
|
|
999
|
+
* 调度ID
|
|
911
1000
|
*/
|
|
912
|
-
|
|
1001
|
+
JobId: number
|
|
913
1002
|
|
|
914
1003
|
/**
|
|
915
|
-
*
|
|
1004
|
+
* 执行状态 init:初始化, pending: 执行中, done: 执行成功, error: 执行失败
|
|
916
1005
|
*/
|
|
917
|
-
|
|
1006
|
+
Status: string
|
|
918
1007
|
}
|
|
919
1008
|
|
|
920
1009
|
/**
|
|
921
1010
|
* 溯源数据
|
|
922
1011
|
*/
|
|
923
|
-
export interface
|
|
1012
|
+
export interface TraceData {
|
|
924
1013
|
/**
|
|
925
|
-
*
|
|
1014
|
+
* 溯源ID
|
|
926
1015
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
927
1016
|
*/
|
|
928
|
-
|
|
1017
|
+
TraceId: string
|
|
929
1018
|
|
|
930
1019
|
/**
|
|
931
|
-
*
|
|
1020
|
+
* 企业ID
|
|
932
1021
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
933
1022
|
*/
|
|
934
|
-
|
|
1023
|
+
CorpId: number
|
|
935
1024
|
|
|
936
1025
|
/**
|
|
937
|
-
*
|
|
1026
|
+
* 码类型 0: 批次, 1: 码, 2: 生产任务
|
|
938
1027
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
939
1028
|
*/
|
|
940
|
-
Type:
|
|
1029
|
+
Type: number
|
|
941
1030
|
|
|
942
1031
|
/**
|
|
943
|
-
*
|
|
1032
|
+
* 码值,跟码类型一一对应
|
|
944
1033
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
945
1034
|
*/
|
|
946
|
-
|
|
1035
|
+
Code: string
|
|
947
1036
|
|
|
948
1037
|
/**
|
|
949
|
-
*
|
|
1038
|
+
* 排序,在Phase相同情况下,值越小排名靠前
|
|
950
1039
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
951
1040
|
*/
|
|
952
|
-
|
|
1041
|
+
Rank: number
|
|
953
1042
|
|
|
954
1043
|
/**
|
|
955
|
-
*
|
|
1044
|
+
* 溯源阶段 0:商品 1:通用 2:物流
|
|
956
1045
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
957
1046
|
*/
|
|
958
|
-
|
|
1047
|
+
Phase: number
|
|
959
1048
|
|
|
960
1049
|
/**
|
|
961
|
-
*
|
|
1050
|
+
* 环节名称
|
|
962
1051
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
963
1052
|
*/
|
|
964
|
-
|
|
1053
|
+
PhaseName: string
|
|
965
1054
|
|
|
966
1055
|
/**
|
|
967
|
-
*
|
|
1056
|
+
* 时间
|
|
968
1057
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
969
1058
|
*/
|
|
970
|
-
|
|
1059
|
+
TraceTime: string
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* 无
|
|
1063
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1064
|
+
*/
|
|
1065
|
+
TraceItems: Array<TraceItem>
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* 创建时间
|
|
1069
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1070
|
+
*/
|
|
1071
|
+
CreateTime: string
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* 上链状态 0: 未上链 1: 上链中 2: 已上链 -1: 异常
|
|
1075
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1076
|
+
*/
|
|
1077
|
+
ChainStatus: number
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* 上链时间
|
|
1081
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1082
|
+
*/
|
|
1083
|
+
ChainTime: string
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* 上链数据
|
|
1087
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1088
|
+
*/
|
|
1089
|
+
ChainData: ChainData
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* 溯源阶段配置
|
|
1093
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1094
|
+
*/
|
|
1095
|
+
PhaseData: PhaseData
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* 溯源阶段状态 0: 无效, 1: 有效
|
|
1099
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1100
|
+
*/
|
|
1101
|
+
Status: number
|
|
971
1102
|
}
|
|
972
1103
|
|
|
973
1104
|
/**
|
|
974
|
-
*
|
|
1105
|
+
* 层级码配置
|
|
975
1106
|
*/
|
|
976
|
-
export interface
|
|
1107
|
+
export interface PackSpec {
|
|
1108
|
+
/**
|
|
1109
|
+
* 层级
|
|
1110
|
+
*/
|
|
1111
|
+
Level: number
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* 比例
|
|
1115
|
+
*/
|
|
1116
|
+
Rate: number
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* 数量
|
|
1120
|
+
*/
|
|
1121
|
+
Amount: number
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* 码规则ID
|
|
1125
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1126
|
+
*/
|
|
1127
|
+
CustomId?: string
|
|
1128
|
+
|
|
1129
|
+
/**
|
|
1130
|
+
* 码段配置
|
|
1131
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1132
|
+
*/
|
|
1133
|
+
CodeParts?: Array<CodePart>
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* ModifyCustomRule返回参数结构体
|
|
1138
|
+
*/
|
|
1139
|
+
export interface ModifyCustomRuleResponse {
|
|
1140
|
+
/**
|
|
1141
|
+
* 码规则ID
|
|
1142
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1143
|
+
*/
|
|
1144
|
+
CustomId: string
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1148
|
+
*/
|
|
1149
|
+
RequestId?: string
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
/**
|
|
1153
|
+
* ModifyMerchant返回参数结构体
|
|
1154
|
+
*/
|
|
1155
|
+
export interface ModifyMerchantResponse {
|
|
1156
|
+
/**
|
|
1157
|
+
* 商户标识码
|
|
1158
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1159
|
+
*/
|
|
1160
|
+
MerchantId: string
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1164
|
+
*/
|
|
1165
|
+
RequestId?: string
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* DeleteProduct返回参数结构体
|
|
1170
|
+
*/
|
|
1171
|
+
export interface DeleteProductResponse {
|
|
1172
|
+
/**
|
|
1173
|
+
* 商品ID
|
|
1174
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1175
|
+
*/
|
|
1176
|
+
ProductId: string
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1180
|
+
*/
|
|
1181
|
+
RequestId?: string
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* DescribeCodesByPack返回参数结构体
|
|
1186
|
+
*/
|
|
1187
|
+
export interface DescribeCodesByPackResponse {
|
|
1188
|
+
/**
|
|
1189
|
+
* 码列表
|
|
1190
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1191
|
+
*/
|
|
1192
|
+
Codes: Array<CodeItem>
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1196
|
+
*/
|
|
1197
|
+
RequestId?: string
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* CreateTraceData请求参数结构体
|
|
1202
|
+
*/
|
|
1203
|
+
export interface CreateTraceDataRequest {
|
|
977
1204
|
/**
|
|
978
1205
|
* 企业ID
|
|
979
1206
|
*/
|
|
@@ -983,6 +1210,51 @@ export interface DeleteCodeBatchRequest {
|
|
|
983
1210
|
* 批次ID
|
|
984
1211
|
*/
|
|
985
1212
|
BatchId?: string
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* 任务ID
|
|
1216
|
+
*/
|
|
1217
|
+
TaskId?: string
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* 溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源
|
|
1221
|
+
*/
|
|
1222
|
+
Phase?: number
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* 溯源阶段名称
|
|
1226
|
+
*/
|
|
1227
|
+
PhaseName?: string
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* [无效] 上链状态
|
|
1231
|
+
*/
|
|
1232
|
+
ChainStatus?: number
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* [无效] 码类型 0: 批次, 1: 码, 2: 生产任务, 3: 物流信息
|
|
1236
|
+
*/
|
|
1237
|
+
Type?: number
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* [无效] 溯源ID
|
|
1241
|
+
*/
|
|
1242
|
+
TraceId?: string
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* 溯源信息
|
|
1246
|
+
*/
|
|
1247
|
+
TraceItems?: Array<TraceItem>
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* 溯源状态 0: 无效, 1: 有效
|
|
1251
|
+
*/
|
|
1252
|
+
Status?: number
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* 环节数据
|
|
1256
|
+
*/
|
|
1257
|
+
PhaseData?: PhaseData
|
|
986
1258
|
}
|
|
987
1259
|
|
|
988
1260
|
/**
|
|
@@ -991,23 +1263,34 @@ export interface DeleteCodeBatchRequest {
|
|
|
991
1263
|
export type Ext = null
|
|
992
1264
|
|
|
993
1265
|
/**
|
|
994
|
-
*
|
|
1266
|
+
* CreateProduct返回参数结构体
|
|
995
1267
|
*/
|
|
996
|
-
export interface
|
|
1268
|
+
export interface CreateProductResponse {
|
|
997
1269
|
/**
|
|
998
|
-
|
|
1270
|
+
* 商品ID
|
|
1271
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1272
|
+
*/
|
|
1273
|
+
ProductId: string
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
999
1277
|
*/
|
|
1000
|
-
|
|
1278
|
+
RequestId?: string
|
|
1279
|
+
}
|
|
1001
1280
|
|
|
1281
|
+
/**
|
|
1282
|
+
* CreateCustomPack请求参数结构体
|
|
1283
|
+
*/
|
|
1284
|
+
export interface CreateCustomPackRequest {
|
|
1002
1285
|
/**
|
|
1003
|
-
*
|
|
1286
|
+
* 商户ID
|
|
1004
1287
|
*/
|
|
1005
|
-
|
|
1288
|
+
MerchantId: string
|
|
1006
1289
|
|
|
1007
1290
|
/**
|
|
1008
|
-
*
|
|
1291
|
+
* 生码数量, 普通码包时必填
|
|
1009
1292
|
*/
|
|
1010
|
-
|
|
1293
|
+
Amount?: number
|
|
1011
1294
|
|
|
1012
1295
|
/**
|
|
1013
1296
|
* 企业ID
|
|
@@ -1015,141 +1298,292 @@ export interface DescribeMerchantsRequest {
|
|
|
1015
1298
|
CorpId?: number
|
|
1016
1299
|
|
|
1017
1300
|
/**
|
|
1018
|
-
*
|
|
1301
|
+
* 码包类型 0: 普通码包 1: 层级码包
|
|
1019
1302
|
*/
|
|
1020
|
-
|
|
1303
|
+
PackType?: number
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* 码包层级
|
|
1307
|
+
*/
|
|
1308
|
+
PackLevel?: number
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* 层级码包规则
|
|
1312
|
+
*/
|
|
1313
|
+
PackSpec?: Array<PackSpec>
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* 码规则ID, 和CodeParts二选一必填
|
|
1317
|
+
*/
|
|
1318
|
+
CustomId?: string
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* 码段配置,和CustomId二选一必填
|
|
1322
|
+
*/
|
|
1323
|
+
CodeParts?: Array<CodePart>
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* CreateCodePack请求参数结构体
|
|
1328
|
+
*/
|
|
1329
|
+
export interface CreateCodePackRequest {
|
|
1330
|
+
/**
|
|
1331
|
+
* 商户ID
|
|
1332
|
+
*/
|
|
1333
|
+
MerchantId: string
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* 码长度
|
|
1337
|
+
*/
|
|
1338
|
+
CodeLength: number
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* 码类型 alphabet 字母, number 数字, mixin 混合
|
|
1342
|
+
*/
|
|
1343
|
+
CodeType: string
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* 生码数量 普通码包时必填
|
|
1347
|
+
*/
|
|
1348
|
+
Amount?: number
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* 企业ID
|
|
1352
|
+
*/
|
|
1353
|
+
CorpId?: number
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* 码包类型 0: 普通码包 1: 层级码包
|
|
1357
|
+
*/
|
|
1358
|
+
PackType?: number
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* 码包层级
|
|
1362
|
+
*/
|
|
1363
|
+
PackLevel?: number
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* 码包规格
|
|
1367
|
+
*/
|
|
1368
|
+
PackSpec?: Array<PackSpec>
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* CreateCodeBatch请求参数结构体
|
|
1373
|
+
*/
|
|
1374
|
+
export interface CreateCodeBatchRequest {
|
|
1375
|
+
/**
|
|
1376
|
+
* 企业ID
|
|
1377
|
+
*/
|
|
1378
|
+
CorpId?: number
|
|
1379
|
+
|
|
1380
|
+
/**
|
|
1381
|
+
* 商户ID
|
|
1382
|
+
*/
|
|
1383
|
+
MerchantId?: string
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* 产品ID
|
|
1387
|
+
*/
|
|
1388
|
+
ProductId?: string
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* 批次类型 0:溯源 1:营销
|
|
1392
|
+
*/
|
|
1393
|
+
BatchType?: number
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* 批次ID,系统自动生成
|
|
1397
|
+
*/
|
|
1398
|
+
BatchId?: string
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* 备注
|
|
1402
|
+
*/
|
|
1403
|
+
Remark?: string
|
|
1404
|
+
|
|
1405
|
+
/**
|
|
1406
|
+
* 活动ID
|
|
1407
|
+
*/
|
|
1408
|
+
MpTpl?: string
|
|
1409
|
+
|
|
1410
|
+
/**
|
|
1411
|
+
* 克隆批次ID
|
|
1412
|
+
*/
|
|
1413
|
+
CloneId?: string
|
|
1021
1414
|
}
|
|
1022
1415
|
|
|
1023
|
-
/**
|
|
1024
|
-
*
|
|
1025
|
-
*/
|
|
1026
|
-
export interface
|
|
1416
|
+
/**
|
|
1417
|
+
* 溯源数据
|
|
1418
|
+
*/
|
|
1419
|
+
export interface TraceItem {
|
|
1420
|
+
/**
|
|
1421
|
+
* 名称
|
|
1422
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1423
|
+
*/
|
|
1424
|
+
Name: string
|
|
1425
|
+
|
|
1426
|
+
/**
|
|
1427
|
+
* 单个值
|
|
1428
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1429
|
+
*/
|
|
1430
|
+
Value: string
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* 类型
|
|
1434
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1435
|
+
*/
|
|
1436
|
+
Type: string
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* 只读
|
|
1440
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1441
|
+
*/
|
|
1442
|
+
ReadOnly: boolean
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* 扫码展示
|
|
1446
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1447
|
+
*/
|
|
1448
|
+
Hidden: boolean
|
|
1449
|
+
|
|
1450
|
+
/**
|
|
1451
|
+
* 多个值
|
|
1452
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1453
|
+
*/
|
|
1454
|
+
Values: Array<string>
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* 类型标识
|
|
1458
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1459
|
+
*/
|
|
1460
|
+
Key: string
|
|
1461
|
+
|
|
1027
1462
|
/**
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1463
|
+
* 扩展字段
|
|
1464
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1465
|
+
*/
|
|
1466
|
+
Ext: string
|
|
1031
1467
|
}
|
|
1032
1468
|
|
|
1033
1469
|
/**
|
|
1034
|
-
*
|
|
1470
|
+
* DescribeCustomRuleById请求参数结构体
|
|
1035
1471
|
*/
|
|
1036
|
-
export interface
|
|
1472
|
+
export interface DescribeCustomRuleByIdRequest {
|
|
1037
1473
|
/**
|
|
1038
|
-
*
|
|
1474
|
+
* 码规则ID
|
|
1039
1475
|
*/
|
|
1040
|
-
|
|
1476
|
+
CustomId: string
|
|
1041
1477
|
|
|
1042
1478
|
/**
|
|
1043
1479
|
* 企业ID
|
|
1044
1480
|
*/
|
|
1045
1481
|
CorpId?: number
|
|
1046
|
-
|
|
1047
|
-
/**
|
|
1048
|
-
* 状态 0: 冻结 1: 激活
|
|
1049
|
-
*/
|
|
1050
|
-
Status?: number
|
|
1051
1482
|
}
|
|
1052
1483
|
|
|
1053
1484
|
/**
|
|
1054
|
-
*
|
|
1485
|
+
* 上链数据
|
|
1055
1486
|
*/
|
|
1056
|
-
export interface
|
|
1487
|
+
export interface ChainData {
|
|
1057
1488
|
/**
|
|
1058
|
-
*
|
|
1489
|
+
* 区块hash
|
|
1059
1490
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1060
1491
|
*/
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
/**
|
|
1064
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1065
|
-
*/
|
|
1066
|
-
RequestId?: string
|
|
1067
|
-
}
|
|
1492
|
+
BlockHash: string
|
|
1068
1493
|
|
|
1069
|
-
/**
|
|
1070
|
-
* CreateTraceData返回参数结构体
|
|
1071
|
-
*/
|
|
1072
|
-
export interface CreateTraceDataResponse {
|
|
1073
1494
|
/**
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1495
|
+
* 区块高度
|
|
1496
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1497
|
+
*/
|
|
1498
|
+
BlockHeight: string
|
|
1077
1499
|
|
|
1078
1500
|
/**
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1501
|
+
* 区块时间
|
|
1502
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1503
|
+
*/
|
|
1504
|
+
BlockTime: string
|
|
1082
1505
|
}
|
|
1083
1506
|
|
|
1084
1507
|
/**
|
|
1085
|
-
*
|
|
1508
|
+
* 环节数据
|
|
1086
1509
|
*/
|
|
1087
|
-
export interface
|
|
1088
|
-
/**
|
|
1089
|
-
* 企业ID
|
|
1090
|
-
*/
|
|
1091
|
-
CorpId?: number
|
|
1092
|
-
|
|
1510
|
+
export interface PhaseData {
|
|
1093
1511
|
/**
|
|
1094
|
-
*
|
|
1512
|
+
* 启用头
|
|
1095
1513
|
*/
|
|
1096
|
-
|
|
1514
|
+
HeadEnabled?: boolean
|
|
1097
1515
|
|
|
1098
1516
|
/**
|
|
1099
|
-
*
|
|
1517
|
+
* 标题
|
|
1100
1518
|
*/
|
|
1101
|
-
|
|
1519
|
+
HeadTitle?: string
|
|
1102
1520
|
|
|
1103
1521
|
/**
|
|
1104
|
-
*
|
|
1522
|
+
* 标识符
|
|
1105
1523
|
*/
|
|
1106
|
-
|
|
1524
|
+
Key?: string
|
|
1107
1525
|
|
|
1108
1526
|
/**
|
|
1109
|
-
*
|
|
1527
|
+
* 小程序AppId
|
|
1110
1528
|
*/
|
|
1111
|
-
|
|
1529
|
+
AppId?: string
|
|
1112
1530
|
|
|
1113
1531
|
/**
|
|
1114
|
-
*
|
|
1532
|
+
* 小程序AppPath
|
|
1115
1533
|
*/
|
|
1116
|
-
|
|
1534
|
+
AppPath?: string
|
|
1117
1535
|
|
|
1118
1536
|
/**
|
|
1119
|
-
*
|
|
1537
|
+
* 小程序名称AppName
|
|
1120
1538
|
*/
|
|
1121
|
-
|
|
1539
|
+
AppName?: string
|
|
1540
|
+
}
|
|
1122
1541
|
|
|
1542
|
+
/**
|
|
1543
|
+
* ModifyCustomRuleStatus返回参数结构体
|
|
1544
|
+
*/
|
|
1545
|
+
export interface ModifyCustomRuleStatusResponse {
|
|
1123
1546
|
/**
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1547
|
+
* 码规则ID
|
|
1548
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1549
|
+
*/
|
|
1550
|
+
CustomId: string
|
|
1127
1551
|
|
|
1128
1552
|
/**
|
|
1129
|
-
*
|
|
1553
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1130
1554
|
*/
|
|
1131
|
-
|
|
1555
|
+
RequestId?: string
|
|
1556
|
+
}
|
|
1132
1557
|
|
|
1558
|
+
/**
|
|
1559
|
+
* CreateCustomPack返回参数结构体
|
|
1560
|
+
*/
|
|
1561
|
+
export interface CreateCustomPackResponse {
|
|
1133
1562
|
/**
|
|
1134
|
-
*
|
|
1563
|
+
* 码包ID
|
|
1135
1564
|
*/
|
|
1136
|
-
|
|
1565
|
+
PackId: string
|
|
1137
1566
|
|
|
1138
1567
|
/**
|
|
1139
|
-
*
|
|
1568
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1140
1569
|
*/
|
|
1141
|
-
|
|
1570
|
+
RequestId?: string
|
|
1142
1571
|
}
|
|
1143
1572
|
|
|
1144
1573
|
/**
|
|
1145
|
-
*
|
|
1574
|
+
* ModifyMerchant请求参数结构体
|
|
1146
1575
|
*/
|
|
1147
|
-
export interface
|
|
1576
|
+
export interface ModifyMerchantRequest {
|
|
1148
1577
|
/**
|
|
1149
1578
|
* 商户名称
|
|
1150
1579
|
*/
|
|
1151
1580
|
Name: string
|
|
1152
1581
|
|
|
1582
|
+
/**
|
|
1583
|
+
* 商户标识码
|
|
1584
|
+
*/
|
|
1585
|
+
MerchantId: string
|
|
1586
|
+
|
|
1153
1587
|
/**
|
|
1154
1588
|
* 备注
|
|
1155
1589
|
*/
|
|
@@ -1161,7 +1595,7 @@ export interface CreateMerchantRequest {
|
|
|
1161
1595
|
CorpId?: number
|
|
1162
1596
|
|
|
1163
1597
|
/**
|
|
1164
|
-
* 码包来源 0:自建, 1
|
|
1598
|
+
* 码包来源 0:自建, 1:第三码包,暂不支持修改
|
|
1165
1599
|
*/
|
|
1166
1600
|
CodeType?: number
|
|
1167
1601
|
|
|
@@ -1172,20 +1606,14 @@ export interface CreateMerchantRequest {
|
|
|
1172
1606
|
}
|
|
1173
1607
|
|
|
1174
1608
|
/**
|
|
1175
|
-
*
|
|
1609
|
+
* DescribeTmpToken返回参数结构体
|
|
1176
1610
|
*/
|
|
1177
|
-
export interface
|
|
1178
|
-
/**
|
|
1179
|
-
* 批次列表
|
|
1180
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1181
|
-
*/
|
|
1182
|
-
CodeBatchs: Array<CodeBatch>
|
|
1183
|
-
|
|
1611
|
+
export interface DescribeTmpTokenResponse {
|
|
1184
1612
|
/**
|
|
1185
|
-
*
|
|
1613
|
+
* 临时token
|
|
1186
1614
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1187
1615
|
*/
|
|
1188
|
-
|
|
1616
|
+
Token: string
|
|
1189
1617
|
|
|
1190
1618
|
/**
|
|
1191
1619
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1194,9 +1622,24 @@ export interface DescribeCodeBatchsResponse {
|
|
|
1194
1622
|
}
|
|
1195
1623
|
|
|
1196
1624
|
/**
|
|
1197
|
-
*
|
|
1625
|
+
* DescribeCodePackUrl请求参数结构体
|
|
1198
1626
|
*/
|
|
1199
|
-
export interface
|
|
1627
|
+
export interface DescribeCodePackUrlRequest {
|
|
1628
|
+
/**
|
|
1629
|
+
* 码包ID
|
|
1630
|
+
*/
|
|
1631
|
+
PackId: string
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* 企业ID
|
|
1635
|
+
*/
|
|
1636
|
+
CorpId?: number
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* ModifyTraceDataRanks请求参数结构体
|
|
1641
|
+
*/
|
|
1642
|
+
export interface ModifyTraceDataRanksRequest {
|
|
1200
1643
|
/**
|
|
1201
1644
|
* 企业ID
|
|
1202
1645
|
*/
|
|
@@ -1206,27 +1649,28 @@ export interface DescribeCodeBatchByIdRequest {
|
|
|
1206
1649
|
* 批次ID
|
|
1207
1650
|
*/
|
|
1208
1651
|
BatchId?: string
|
|
1209
|
-
}
|
|
1210
1652
|
|
|
1211
|
-
/**
|
|
1212
|
-
* DescribeTraceCodeById返回参数结构体
|
|
1213
|
-
*/
|
|
1214
|
-
export interface DescribeTraceCodeByIdResponse {
|
|
1215
1653
|
/**
|
|
1216
|
-
*
|
|
1654
|
+
* 生产任务ID
|
|
1217
1655
|
*/
|
|
1218
|
-
|
|
1656
|
+
TaskId?: string
|
|
1219
1657
|
|
|
1220
1658
|
/**
|
|
1221
|
-
*
|
|
1659
|
+
* 溯源ID
|
|
1222
1660
|
*/
|
|
1223
|
-
|
|
1661
|
+
TraceIds?: Array<string>
|
|
1224
1662
|
}
|
|
1225
1663
|
|
|
1226
1664
|
/**
|
|
1227
|
-
*
|
|
1665
|
+
* DeleteTraceData返回参数结构体
|
|
1228
1666
|
*/
|
|
1229
|
-
export interface
|
|
1667
|
+
export interface DeleteTraceDataResponse {
|
|
1668
|
+
/**
|
|
1669
|
+
* 溯源id
|
|
1670
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1671
|
+
*/
|
|
1672
|
+
TraceId: string
|
|
1673
|
+
|
|
1230
1674
|
/**
|
|
1231
1675
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1232
1676
|
*/
|
|
@@ -1234,97 +1678,123 @@ export interface DescribeCodePacksResponse {
|
|
|
1234
1678
|
}
|
|
1235
1679
|
|
|
1236
1680
|
/**
|
|
1237
|
-
*
|
|
1681
|
+
* ModifyCustomRuleStatus请求参数结构体
|
|
1238
1682
|
*/
|
|
1239
|
-
export interface
|
|
1683
|
+
export interface ModifyCustomRuleStatusRequest {
|
|
1240
1684
|
/**
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
TraceId: string
|
|
1685
|
+
* 码规则ID
|
|
1686
|
+
*/
|
|
1687
|
+
CustomId: string
|
|
1245
1688
|
|
|
1246
1689
|
/**
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1690
|
+
* 码规则状态 0:未生效 1:已生效 -1:已失效
|
|
1691
|
+
*/
|
|
1692
|
+
Status: number
|
|
1693
|
+
}
|
|
1251
1694
|
|
|
1695
|
+
/**
|
|
1696
|
+
* CreateCodePack返回参数结构体
|
|
1697
|
+
*/
|
|
1698
|
+
export interface CreateCodePackResponse {
|
|
1252
1699
|
/**
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
Type: number
|
|
1700
|
+
* 码包ID
|
|
1701
|
+
*/
|
|
1702
|
+
PackId: string
|
|
1257
1703
|
|
|
1258
1704
|
/**
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1705
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1706
|
+
*/
|
|
1707
|
+
RequestId?: string
|
|
1708
|
+
}
|
|
1263
1709
|
|
|
1710
|
+
/**
|
|
1711
|
+
* DescribeMerchantById返回参数结构体
|
|
1712
|
+
*/
|
|
1713
|
+
export interface DescribeMerchantByIdResponse {
|
|
1264
1714
|
/**
|
|
1265
|
-
*
|
|
1715
|
+
* 商户信息
|
|
1266
1716
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1267
1717
|
*/
|
|
1268
|
-
|
|
1718
|
+
Merchant: Merchant
|
|
1269
1719
|
|
|
1270
1720
|
/**
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1721
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1722
|
+
*/
|
|
1723
|
+
RequestId?: string
|
|
1724
|
+
}
|
|
1275
1725
|
|
|
1726
|
+
/**
|
|
1727
|
+
* 码类型
|
|
1728
|
+
*/
|
|
1729
|
+
export interface CodeItem {
|
|
1276
1730
|
/**
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1731
|
+
* 无
|
|
1732
|
+
*/
|
|
1733
|
+
Code?: string
|
|
1734
|
+
}
|
|
1281
1735
|
|
|
1736
|
+
/**
|
|
1737
|
+
* CreateTraceData返回参数结构体
|
|
1738
|
+
*/
|
|
1739
|
+
export interface CreateTraceDataResponse {
|
|
1282
1740
|
/**
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
TraceTime: string
|
|
1741
|
+
* 溯源ID
|
|
1742
|
+
*/
|
|
1743
|
+
TraceId: string
|
|
1287
1744
|
|
|
1288
1745
|
/**
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1746
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1747
|
+
*/
|
|
1748
|
+
RequestId?: string
|
|
1749
|
+
}
|
|
1293
1750
|
|
|
1751
|
+
/**
|
|
1752
|
+
* DescribeCustomRuleById返回参数结构体
|
|
1753
|
+
*/
|
|
1754
|
+
export interface DescribeCustomRuleByIdResponse {
|
|
1294
1755
|
/**
|
|
1295
|
-
*
|
|
1756
|
+
* 码规则信息
|
|
1296
1757
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1297
1758
|
*/
|
|
1298
|
-
|
|
1759
|
+
CustomRule: CustomRule
|
|
1760
|
+
|
|
1761
|
+
/**
|
|
1762
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1763
|
+
*/
|
|
1764
|
+
RequestId?: string
|
|
1765
|
+
}
|
|
1299
1766
|
|
|
1767
|
+
/**
|
|
1768
|
+
* DescribeCodeBatchs返回参数结构体
|
|
1769
|
+
*/
|
|
1770
|
+
export interface DescribeCodeBatchsResponse {
|
|
1300
1771
|
/**
|
|
1301
|
-
*
|
|
1772
|
+
* 批次列表
|
|
1302
1773
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1303
1774
|
*/
|
|
1304
|
-
|
|
1775
|
+
CodeBatchs: Array<CodeBatch>
|
|
1305
1776
|
|
|
1306
1777
|
/**
|
|
1307
|
-
*
|
|
1778
|
+
* 总条数
|
|
1308
1779
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1309
1780
|
*/
|
|
1310
|
-
|
|
1781
|
+
TotalCount: number
|
|
1311
1782
|
|
|
1312
1783
|
/**
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
ChainData: ChainData
|
|
1784
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1785
|
+
*/
|
|
1786
|
+
RequestId?: string
|
|
1317
1787
|
}
|
|
1318
1788
|
|
|
1319
1789
|
/**
|
|
1320
|
-
*
|
|
1790
|
+
* CreateCustomRule返回参数结构体
|
|
1321
1791
|
*/
|
|
1322
|
-
export interface
|
|
1792
|
+
export interface CreateCustomRuleResponse {
|
|
1323
1793
|
/**
|
|
1324
|
-
*
|
|
1794
|
+
* 码规则ID
|
|
1325
1795
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1326
1796
|
*/
|
|
1327
|
-
|
|
1797
|
+
CustomId: string
|
|
1328
1798
|
|
|
1329
1799
|
/**
|
|
1330
1800
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1333,29 +1803,25 @@ export interface DescribeProductByIdResponse {
|
|
|
1333
1803
|
}
|
|
1334
1804
|
|
|
1335
1805
|
/**
|
|
1336
|
-
*
|
|
1806
|
+
* DescribeCodePacks返回参数结构体
|
|
1337
1807
|
*/
|
|
1338
|
-
export interface
|
|
1808
|
+
export interface DescribeCodePacksResponse {
|
|
1339
1809
|
/**
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1810
|
+
* 码列表
|
|
1811
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1812
|
+
*/
|
|
1813
|
+
CodePacks: Array<CodePack>
|
|
1343
1814
|
|
|
1344
1815
|
/**
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1816
|
+
* 总数
|
|
1817
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1818
|
+
*/
|
|
1819
|
+
TotalCount: number
|
|
1348
1820
|
|
|
1349
1821
|
/**
|
|
1350
|
-
*
|
|
1822
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1351
1823
|
*/
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
/**
|
|
1355
|
-
* 码规则ID
|
|
1356
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1357
|
-
*/
|
|
1358
|
-
CustomId?: string
|
|
1824
|
+
RequestId?: string
|
|
1359
1825
|
}
|
|
1360
1826
|
|
|
1361
1827
|
/**
|
|
@@ -1374,50 +1840,69 @@ export interface DescribeCodesByPackRequest {
|
|
|
1374
1840
|
}
|
|
1375
1841
|
|
|
1376
1842
|
/**
|
|
1377
|
-
*
|
|
1843
|
+
* DescribeJobFileUrl请求参数结构体
|
|
1378
1844
|
*/
|
|
1379
|
-
export interface
|
|
1845
|
+
export interface DescribeJobFileUrlRequest {
|
|
1380
1846
|
/**
|
|
1381
|
-
*
|
|
1847
|
+
* 调度ID
|
|
1382
1848
|
*/
|
|
1383
|
-
|
|
1849
|
+
JobId: number
|
|
1384
1850
|
|
|
1385
1851
|
/**
|
|
1386
|
-
*
|
|
1852
|
+
* 企业ID
|
|
1387
1853
|
*/
|
|
1388
|
-
|
|
1854
|
+
CorpId?: number
|
|
1855
|
+
}
|
|
1389
1856
|
|
|
1857
|
+
/**
|
|
1858
|
+
* CreateTraceCodesAsync返回参数结构体
|
|
1859
|
+
*/
|
|
1860
|
+
export interface CreateTraceCodesAsyncResponse {
|
|
1390
1861
|
/**
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1862
|
+
* 批次ID
|
|
1863
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1864
|
+
*/
|
|
1865
|
+
BatchId: string
|
|
1394
1866
|
|
|
1395
1867
|
/**
|
|
1396
|
-
*
|
|
1868
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1397
1869
|
*/
|
|
1398
|
-
|
|
1870
|
+
RequestId?: string
|
|
1399
1871
|
}
|
|
1400
1872
|
|
|
1401
1873
|
/**
|
|
1402
|
-
*
|
|
1874
|
+
* DescribeCustomRules请求参数结构体
|
|
1403
1875
|
*/
|
|
1404
|
-
export interface
|
|
1876
|
+
export interface DescribeCustomRulesRequest {
|
|
1405
1877
|
/**
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
Products: Array<Product>
|
|
1878
|
+
* 搜索关键字
|
|
1879
|
+
*/
|
|
1880
|
+
Keyword?: string
|
|
1410
1881
|
|
|
1411
1882
|
/**
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
TotalCount: number
|
|
1883
|
+
* 条数
|
|
1884
|
+
*/
|
|
1885
|
+
PageSize?: number
|
|
1416
1886
|
|
|
1417
1887
|
/**
|
|
1418
|
-
*
|
|
1888
|
+
* 页数
|
|
1419
1889
|
*/
|
|
1420
|
-
|
|
1890
|
+
PageNumber?: number
|
|
1891
|
+
|
|
1892
|
+
/**
|
|
1893
|
+
* 企业ID
|
|
1894
|
+
*/
|
|
1895
|
+
CorpId?: number
|
|
1896
|
+
|
|
1897
|
+
/**
|
|
1898
|
+
* 码规则状态 0:未生效 1:已生效 -1:已失效
|
|
1899
|
+
*/
|
|
1900
|
+
Status?: number
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* 商户ID
|
|
1904
|
+
*/
|
|
1905
|
+
MerchantId?: string
|
|
1421
1906
|
}
|
|
1422
1907
|
|
|
1423
1908
|
/**
|
|
@@ -1466,138 +1951,172 @@ export interface CreateProductRequest {
|
|
|
1466
1951
|
}
|
|
1467
1952
|
|
|
1468
1953
|
/**
|
|
1469
|
-
*
|
|
1954
|
+
* ModifyCodeBatch请求参数结构体
|
|
1470
1955
|
*/
|
|
1471
|
-
export interface
|
|
1956
|
+
export interface ModifyCodeBatchRequest {
|
|
1472
1957
|
/**
|
|
1473
|
-
*
|
|
1958
|
+
* 批次ID
|
|
1474
1959
|
*/
|
|
1475
|
-
|
|
1960
|
+
BatchId: string
|
|
1476
1961
|
|
|
1477
1962
|
/**
|
|
1478
|
-
*
|
|
1963
|
+
* 企业ID
|
|
1479
1964
|
*/
|
|
1480
|
-
|
|
1481
|
-
}
|
|
1965
|
+
CorpId?: number
|
|
1482
1966
|
|
|
1483
|
-
/**
|
|
1484
|
-
* DescribeTraceCodeById请求参数结构体
|
|
1485
|
-
*/
|
|
1486
|
-
export interface DescribeTraceCodeByIdRequest {
|
|
1487
1967
|
/**
|
|
1488
|
-
*
|
|
1968
|
+
* 状态 0: 未激活 1: 已激活 -1: 已冻结
|
|
1489
1969
|
*/
|
|
1490
|
-
|
|
1970
|
+
Status?: number
|
|
1491
1971
|
|
|
1492
1972
|
/**
|
|
1493
|
-
*
|
|
1973
|
+
* 模板ID
|
|
1494
1974
|
*/
|
|
1495
|
-
|
|
1496
|
-
}
|
|
1975
|
+
MpTpl?: string
|
|
1497
1976
|
|
|
1498
|
-
/**
|
|
1499
|
-
* CreateCodePack请求参数结构体
|
|
1500
|
-
*/
|
|
1501
|
-
export interface CreateCodePackRequest {
|
|
1502
1977
|
/**
|
|
1503
1978
|
* 商户ID
|
|
1504
1979
|
*/
|
|
1505
|
-
MerchantId
|
|
1980
|
+
MerchantId?: string
|
|
1506
1981
|
|
|
1507
1982
|
/**
|
|
1508
|
-
*
|
|
1983
|
+
* 商品ID
|
|
1509
1984
|
*/
|
|
1510
|
-
|
|
1985
|
+
ProductId?: string
|
|
1511
1986
|
|
|
1512
1987
|
/**
|
|
1513
|
-
*
|
|
1988
|
+
* 备注
|
|
1514
1989
|
*/
|
|
1515
|
-
|
|
1990
|
+
Remark?: string
|
|
1991
|
+
}
|
|
1516
1992
|
|
|
1993
|
+
/**
|
|
1994
|
+
* DescribeProductById请求参数结构体
|
|
1995
|
+
*/
|
|
1996
|
+
export interface DescribeProductByIdRequest {
|
|
1517
1997
|
/**
|
|
1518
|
-
*
|
|
1998
|
+
* 商品ID
|
|
1519
1999
|
*/
|
|
1520
|
-
|
|
2000
|
+
ProductId: string
|
|
1521
2001
|
|
|
1522
2002
|
/**
|
|
1523
2003
|
* 企业ID
|
|
1524
2004
|
*/
|
|
1525
2005
|
CorpId?: number
|
|
2006
|
+
}
|
|
1526
2007
|
|
|
2008
|
+
/**
|
|
2009
|
+
* DescribeTraceCodes返回参数结构体
|
|
2010
|
+
*/
|
|
2011
|
+
export interface DescribeTraceCodesResponse {
|
|
1527
2012
|
/**
|
|
1528
|
-
|
|
2013
|
+
* 标识列表
|
|
2014
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2015
|
+
*/
|
|
2016
|
+
TraceCodes: Array<TraceCode>
|
|
2017
|
+
|
|
2018
|
+
/**
|
|
2019
|
+
* 条数
|
|
2020
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2021
|
+
*/
|
|
2022
|
+
TotalCount: number
|
|
2023
|
+
|
|
2024
|
+
/**
|
|
2025
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1529
2026
|
*/
|
|
1530
|
-
|
|
2027
|
+
RequestId?: string
|
|
2028
|
+
}
|
|
1531
2029
|
|
|
2030
|
+
/**
|
|
2031
|
+
* CreateTraceCodes返回参数结构体
|
|
2032
|
+
*/
|
|
2033
|
+
export interface CreateTraceCodesResponse {
|
|
1532
2034
|
/**
|
|
1533
|
-
*
|
|
2035
|
+
* 批次ID
|
|
1534
2036
|
*/
|
|
1535
|
-
|
|
2037
|
+
BatchId: string
|
|
1536
2038
|
|
|
1537
2039
|
/**
|
|
1538
|
-
*
|
|
2040
|
+
* 导入成功码数量
|
|
1539
2041
|
*/
|
|
1540
|
-
|
|
2042
|
+
ActiveCnt: number
|
|
2043
|
+
|
|
2044
|
+
/**
|
|
2045
|
+
* 批次码数量
|
|
2046
|
+
*/
|
|
2047
|
+
CodeCnt: number
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2051
|
+
*/
|
|
2052
|
+
RequestId?: string
|
|
1541
2053
|
}
|
|
1542
2054
|
|
|
1543
2055
|
/**
|
|
1544
|
-
*
|
|
2056
|
+
* DeleteTraceData请求参数结构体
|
|
1545
2057
|
*/
|
|
1546
|
-
export interface
|
|
2058
|
+
export interface DeleteTraceDataRequest {
|
|
2059
|
+
/**
|
|
2060
|
+
* 溯源ID
|
|
2061
|
+
*/
|
|
2062
|
+
TraceId: string
|
|
2063
|
+
|
|
1547
2064
|
/**
|
|
1548
2065
|
* 企业ID
|
|
1549
2066
|
*/
|
|
1550
2067
|
CorpId?: number
|
|
2068
|
+
}
|
|
1551
2069
|
|
|
2070
|
+
/**
|
|
2071
|
+
* 商户信息
|
|
2072
|
+
*/
|
|
2073
|
+
export interface Merchant {
|
|
1552
2074
|
/**
|
|
1553
|
-
*
|
|
2075
|
+
* 商户标识码
|
|
1554
2076
|
*/
|
|
1555
|
-
MerchantId
|
|
2077
|
+
MerchantId: string
|
|
1556
2078
|
|
|
1557
2079
|
/**
|
|
1558
|
-
*
|
|
2080
|
+
* 企业id
|
|
1559
2081
|
*/
|
|
1560
|
-
|
|
2082
|
+
CorpId: number
|
|
1561
2083
|
|
|
1562
2084
|
/**
|
|
1563
|
-
*
|
|
2085
|
+
* 商户名称
|
|
1564
2086
|
*/
|
|
1565
|
-
|
|
2087
|
+
Name: string
|
|
1566
2088
|
|
|
1567
2089
|
/**
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
2090
|
+
* 备注
|
|
2091
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2092
|
+
*/
|
|
2093
|
+
Remark: string
|
|
1571
2094
|
|
|
1572
2095
|
/**
|
|
1573
|
-
*
|
|
2096
|
+
* 创建时间
|
|
1574
2097
|
*/
|
|
1575
|
-
|
|
2098
|
+
CreateTime: string
|
|
1576
2099
|
|
|
1577
2100
|
/**
|
|
1578
|
-
*
|
|
2101
|
+
* 更新时间
|
|
1579
2102
|
*/
|
|
1580
|
-
|
|
2103
|
+
UpdateTime: string
|
|
1581
2104
|
|
|
1582
2105
|
/**
|
|
1583
|
-
*
|
|
2106
|
+
* 商户码规则
|
|
1584
2107
|
*/
|
|
1585
|
-
|
|
1586
|
-
}
|
|
2108
|
+
CodeRule: string
|
|
1587
2109
|
|
|
1588
|
-
/**
|
|
1589
|
-
* ModifyCodeBatch返回参数结构体
|
|
1590
|
-
*/
|
|
1591
|
-
export interface ModifyCodeBatchResponse {
|
|
1592
2110
|
/**
|
|
1593
|
-
*
|
|
2111
|
+
* 码来源类型 0: 安心平台 1: 第三方码
|
|
1594
2112
|
*/
|
|
1595
|
-
|
|
2113
|
+
CodeType: number
|
|
1596
2114
|
|
|
1597
2115
|
/**
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
2116
|
+
* 第三方码域名前缀
|
|
2117
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2118
|
+
*/
|
|
2119
|
+
CodeUrl: string
|
|
1601
2120
|
}
|
|
1602
2121
|
|
|
1603
2122
|
/**
|
|
@@ -1670,29 +2189,9 @@ export interface Product {
|
|
|
1670
2189
|
}
|
|
1671
2190
|
|
|
1672
2191
|
/**
|
|
1673
|
-
*
|
|
2192
|
+
* DescribeTmpToken请求参数结构体
|
|
1674
2193
|
*/
|
|
1675
|
-
export interface
|
|
1676
|
-
/**
|
|
1677
|
-
* 搜索关键字 码标识,或者批次ID
|
|
1678
|
-
*/
|
|
1679
|
-
Keyword?: string
|
|
1680
|
-
|
|
1681
|
-
/**
|
|
1682
|
-
* 条数
|
|
1683
|
-
*/
|
|
1684
|
-
PageNumber?: number
|
|
1685
|
-
|
|
1686
|
-
/**
|
|
1687
|
-
* 页码
|
|
1688
|
-
*/
|
|
1689
|
-
PageSize?: number
|
|
1690
|
-
|
|
1691
|
-
/**
|
|
1692
|
-
* 批次ID,弃用
|
|
1693
|
-
*/
|
|
1694
|
-
BatchId?: string
|
|
1695
|
-
|
|
2194
|
+
export interface DescribeTmpTokenRequest {
|
|
1696
2195
|
/**
|
|
1697
2196
|
* 企业ID
|
|
1698
2197
|
*/
|
|
@@ -1760,9 +2259,15 @@ export interface TraceCode {
|
|
|
1760
2259
|
}
|
|
1761
2260
|
|
|
1762
2261
|
/**
|
|
1763
|
-
*
|
|
2262
|
+
* CreateMerchant返回参数结构体
|
|
1764
2263
|
*/
|
|
1765
|
-
export interface
|
|
2264
|
+
export interface CreateMerchantResponse {
|
|
2265
|
+
/**
|
|
2266
|
+
* 商户标识码
|
|
2267
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2268
|
+
*/
|
|
2269
|
+
MerchantId: string
|
|
2270
|
+
|
|
1766
2271
|
/**
|
|
1767
2272
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1768
2273
|
*/
|
|
@@ -1770,61 +2275,198 @@ export interface ModifyTraceCodeResponse {
|
|
|
1770
2275
|
}
|
|
1771
2276
|
|
|
1772
2277
|
/**
|
|
1773
|
-
*
|
|
2278
|
+
* DescribeMerchants返回参数结构体
|
|
1774
2279
|
*/
|
|
1775
|
-
export interface
|
|
2280
|
+
export interface DescribeMerchantsResponse {
|
|
1776
2281
|
/**
|
|
1777
|
-
*
|
|
2282
|
+
* 商户列表
|
|
1778
2283
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1779
2284
|
*/
|
|
1780
|
-
|
|
2285
|
+
Merchants: Array<Merchant>
|
|
1781
2286
|
|
|
1782
2287
|
/**
|
|
1783
|
-
*
|
|
2288
|
+
* 总数
|
|
1784
2289
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1785
2290
|
*/
|
|
1786
|
-
|
|
2291
|
+
TotalCount: number
|
|
1787
2292
|
|
|
1788
2293
|
/**
|
|
1789
|
-
|
|
2294
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2295
|
+
*/
|
|
2296
|
+
RequestId?: string
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2299
|
+
/**
|
|
2300
|
+
* DescribeTraceDataList请求参数结构体
|
|
2301
|
+
*/
|
|
2302
|
+
export interface DescribeTraceDataListRequest {
|
|
2303
|
+
/**
|
|
2304
|
+
* 企业ID
|
|
2305
|
+
*/
|
|
2306
|
+
CorpId?: number
|
|
2307
|
+
|
|
2308
|
+
/**
|
|
2309
|
+
* 批次ID
|
|
2310
|
+
*/
|
|
2311
|
+
BatchId?: string
|
|
2312
|
+
|
|
2313
|
+
/**
|
|
2314
|
+
* 任务ID 用于外部溯源
|
|
2315
|
+
*/
|
|
2316
|
+
TaskId?: string
|
|
2317
|
+
|
|
2318
|
+
/**
|
|
2319
|
+
* 页数
|
|
2320
|
+
*/
|
|
2321
|
+
PageNumber?: number
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* 二维码
|
|
2325
|
+
*/
|
|
2326
|
+
Code?: string
|
|
2327
|
+
|
|
2328
|
+
/**
|
|
2329
|
+
* 溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源
|
|
2330
|
+
*/
|
|
2331
|
+
Phase?: number
|
|
2332
|
+
|
|
2333
|
+
/**
|
|
2334
|
+
* 数量
|
|
2335
|
+
*/
|
|
2336
|
+
PageSize?: number
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
/**
|
|
2340
|
+
* DeleteMerchant返回参数结构体
|
|
2341
|
+
*/
|
|
2342
|
+
export interface DeleteMerchantResponse {
|
|
2343
|
+
/**
|
|
2344
|
+
* 商户标识码
|
|
1790
2345
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1791
2346
|
*/
|
|
1792
|
-
|
|
2347
|
+
MerchantId: string
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2351
|
+
*/
|
|
2352
|
+
RequestId?: string
|
|
1793
2353
|
}
|
|
1794
2354
|
|
|
1795
2355
|
/**
|
|
1796
|
-
*
|
|
2356
|
+
* DeleteCodeBatch返回参数结构体
|
|
1797
2357
|
*/
|
|
1798
|
-
export interface
|
|
2358
|
+
export interface DeleteCodeBatchResponse {
|
|
1799
2359
|
/**
|
|
1800
|
-
*
|
|
2360
|
+
* 批次ID
|
|
1801
2361
|
*/
|
|
1802
|
-
|
|
2362
|
+
BatchId: string
|
|
1803
2363
|
|
|
1804
2364
|
/**
|
|
1805
|
-
*
|
|
2365
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1806
2366
|
*/
|
|
1807
|
-
|
|
2367
|
+
RequestId?: string
|
|
2368
|
+
}
|
|
2369
|
+
|
|
2370
|
+
/**
|
|
2371
|
+
* CreateTraceChain请求参数结构体
|
|
2372
|
+
*/
|
|
2373
|
+
export interface CreateTraceChainRequest {
|
|
2374
|
+
/**
|
|
2375
|
+
* 企业ID
|
|
2376
|
+
*/
|
|
2377
|
+
CorpId?: number
|
|
1808
2378
|
|
|
1809
2379
|
/**
|
|
1810
|
-
*
|
|
2380
|
+
* 溯源ID
|
|
1811
2381
|
*/
|
|
1812
|
-
|
|
2382
|
+
TraceId?: string
|
|
2383
|
+
}
|
|
1813
2384
|
|
|
2385
|
+
/**
|
|
2386
|
+
* DescribeMerchantById请求参数结构体
|
|
2387
|
+
*/
|
|
2388
|
+
export interface DescribeMerchantByIdRequest {
|
|
1814
2389
|
/**
|
|
1815
|
-
*
|
|
2390
|
+
* 商户标识码
|
|
1816
2391
|
*/
|
|
1817
|
-
|
|
2392
|
+
MerchantId: string
|
|
1818
2393
|
|
|
1819
2394
|
/**
|
|
1820
|
-
*
|
|
2395
|
+
* 企业ID
|
|
1821
2396
|
*/
|
|
1822
|
-
|
|
2397
|
+
CorpId?: number
|
|
2398
|
+
}
|
|
1823
2399
|
|
|
2400
|
+
/**
|
|
2401
|
+
* DescribeProductById返回参数结构体
|
|
2402
|
+
*/
|
|
2403
|
+
export interface DescribeProductByIdResponse {
|
|
1824
2404
|
/**
|
|
1825
|
-
|
|
2405
|
+
* 商品信息
|
|
2406
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2407
|
+
*/
|
|
2408
|
+
Product: Product
|
|
2409
|
+
|
|
2410
|
+
/**
|
|
2411
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1826
2412
|
*/
|
|
1827
|
-
|
|
2413
|
+
RequestId?: string
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
/**
|
|
2417
|
+
* DescribeCodePacks请求参数结构体
|
|
2418
|
+
*/
|
|
2419
|
+
export interface DescribeCodePacksRequest {
|
|
2420
|
+
/**
|
|
2421
|
+
* 每页数量
|
|
2422
|
+
*/
|
|
2423
|
+
PageSize?: number
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* 页数
|
|
2427
|
+
*/
|
|
2428
|
+
PageNumber?: number
|
|
2429
|
+
|
|
2430
|
+
/**
|
|
2431
|
+
* 查询关键字
|
|
2432
|
+
*/
|
|
2433
|
+
Keyword?: string
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* 企业ID
|
|
2437
|
+
*/
|
|
2438
|
+
CorpId?: number
|
|
2439
|
+
}
|
|
2440
|
+
|
|
2441
|
+
/**
|
|
2442
|
+
* DescribeJobFileUrl返回参数结构体
|
|
2443
|
+
*/
|
|
2444
|
+
export interface DescribeJobFileUrlResponse {
|
|
2445
|
+
/**
|
|
2446
|
+
* 码包地址
|
|
2447
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2448
|
+
*/
|
|
2449
|
+
Url: string
|
|
2450
|
+
|
|
2451
|
+
/**
|
|
2452
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2453
|
+
*/
|
|
2454
|
+
RequestId?: string
|
|
2455
|
+
}
|
|
2456
|
+
|
|
2457
|
+
/**
|
|
2458
|
+
* DescribeTraceCodeById请求参数结构体
|
|
2459
|
+
*/
|
|
2460
|
+
export interface DescribeTraceCodeByIdRequest {
|
|
2461
|
+
/**
|
|
2462
|
+
* 企业ID
|
|
2463
|
+
*/
|
|
2464
|
+
CorpId?: number
|
|
2465
|
+
|
|
2466
|
+
/**
|
|
2467
|
+
* 二维码
|
|
2468
|
+
*/
|
|
2469
|
+
Code?: string
|
|
1828
2470
|
}
|
|
1829
2471
|
|
|
1830
2472
|
/**
|
|
@@ -1843,13 +2485,51 @@ export interface DeleteMerchantRequest {
|
|
|
1843
2485
|
}
|
|
1844
2486
|
|
|
1845
2487
|
/**
|
|
1846
|
-
*
|
|
2488
|
+
* ModifyTraceCode返回参数结构体
|
|
1847
2489
|
*/
|
|
1848
|
-
export interface
|
|
2490
|
+
export interface ModifyTraceCodeResponse {
|
|
1849
2491
|
/**
|
|
1850
|
-
*
|
|
2492
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1851
2493
|
*/
|
|
1852
|
-
|
|
2494
|
+
RequestId?: string
|
|
2495
|
+
}
|
|
2496
|
+
|
|
2497
|
+
/**
|
|
2498
|
+
* DescribeCodePackUrl返回参数结构体
|
|
2499
|
+
*/
|
|
2500
|
+
export interface DescribeCodePackUrlResponse {
|
|
2501
|
+
/**
|
|
2502
|
+
* 文字码包地址
|
|
2503
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2504
|
+
*/
|
|
2505
|
+
Url: string
|
|
2506
|
+
|
|
2507
|
+
/**
|
|
2508
|
+
* 图片码包地址,可能为空
|
|
2509
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2510
|
+
*/
|
|
2511
|
+
ImgUrl: string
|
|
2512
|
+
|
|
2513
|
+
/**
|
|
2514
|
+
* 文字码包Key,用于上传导入
|
|
2515
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2516
|
+
*/
|
|
2517
|
+
FileKey: string
|
|
2518
|
+
|
|
2519
|
+
/**
|
|
2520
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2521
|
+
*/
|
|
2522
|
+
RequestId?: string
|
|
2523
|
+
}
|
|
2524
|
+
|
|
2525
|
+
/**
|
|
2526
|
+
* ModifyCodeBatch返回参数结构体
|
|
2527
|
+
*/
|
|
2528
|
+
export interface ModifyCodeBatchResponse {
|
|
2529
|
+
/**
|
|
2530
|
+
* 批次ID
|
|
2531
|
+
*/
|
|
2532
|
+
BatchId: string
|
|
1853
2533
|
|
|
1854
2534
|
/**
|
|
1855
2535
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|