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
|
@@ -13,7 +13,7 @@ export interface CodeBatch {
|
|
|
13
13
|
*/
|
|
14
14
|
CorpId: number;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* 批次编码(未使用)
|
|
17
17
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18
18
|
*/
|
|
19
19
|
BatchCode: string;
|
|
@@ -48,7 +48,7 @@ export interface CodeBatch {
|
|
|
48
48
|
*/
|
|
49
49
|
MpTpl: string;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* 批次状态 0: 未激活 1: 已激活 -1: 已冻结
|
|
52
52
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
53
53
|
*/
|
|
54
54
|
Status: number;
|
|
@@ -89,493 +89,502 @@ export interface CodeBatch {
|
|
|
89
89
|
Job?: Job;
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
|
-
*
|
|
93
|
-
*/
|
|
94
|
-
export interface DeleteProductRequest {
|
|
95
|
-
/**
|
|
96
|
-
* 商品ID
|
|
97
|
-
*/
|
|
98
|
-
ProductId: string;
|
|
99
|
-
/**
|
|
100
|
-
* 企业ID
|
|
101
|
-
*/
|
|
102
|
-
CorpId?: number;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* ModifyCodeBatch请求参数结构体
|
|
92
|
+
* DescribeProducts请求参数结构体
|
|
106
93
|
*/
|
|
107
|
-
export interface
|
|
108
|
-
/**
|
|
109
|
-
* 批次ID
|
|
110
|
-
*/
|
|
111
|
-
BatchId: string;
|
|
112
|
-
/**
|
|
113
|
-
* 企业ID
|
|
114
|
-
*/
|
|
115
|
-
CorpId?: number;
|
|
94
|
+
export interface DescribeProductsRequest {
|
|
116
95
|
/**
|
|
117
|
-
*
|
|
96
|
+
* 商品名称
|
|
118
97
|
*/
|
|
119
|
-
|
|
98
|
+
Name?: string;
|
|
120
99
|
/**
|
|
121
|
-
*
|
|
100
|
+
* 条数
|
|
122
101
|
*/
|
|
123
|
-
|
|
102
|
+
PageSize?: number;
|
|
124
103
|
/**
|
|
125
|
-
*
|
|
104
|
+
* 页数
|
|
126
105
|
*/
|
|
127
|
-
|
|
106
|
+
PageNumber?: number;
|
|
128
107
|
/**
|
|
129
108
|
* 商品ID
|
|
130
109
|
*/
|
|
131
|
-
|
|
110
|
+
MerchantId?: string;
|
|
132
111
|
/**
|
|
133
|
-
*
|
|
112
|
+
* 企业ID
|
|
134
113
|
*/
|
|
135
|
-
|
|
114
|
+
CorpId?: number;
|
|
136
115
|
}
|
|
137
116
|
/**
|
|
138
|
-
*
|
|
117
|
+
* ModifyProduct返回参数结构体
|
|
139
118
|
*/
|
|
140
|
-
export interface
|
|
119
|
+
export interface ModifyProductResponse {
|
|
141
120
|
/**
|
|
142
|
-
*
|
|
121
|
+
* 商品ID
|
|
122
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
143
123
|
*/
|
|
144
|
-
|
|
124
|
+
ProductId: string;
|
|
145
125
|
/**
|
|
146
126
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
147
127
|
*/
|
|
148
128
|
RequestId?: string;
|
|
149
129
|
}
|
|
150
130
|
/**
|
|
151
|
-
*
|
|
131
|
+
* ModifyProduct请求参数结构体
|
|
152
132
|
*/
|
|
153
|
-
export interface
|
|
133
|
+
export interface ModifyProductRequest {
|
|
134
|
+
/**
|
|
135
|
+
* 商品名称
|
|
136
|
+
*/
|
|
137
|
+
Name: string;
|
|
154
138
|
/**
|
|
155
139
|
* 商品ID
|
|
156
140
|
*/
|
|
157
141
|
ProductId: string;
|
|
158
142
|
/**
|
|
159
|
-
*
|
|
143
|
+
* 备注
|
|
160
144
|
*/
|
|
161
|
-
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* ModifyTraceDataRanks请求参数结构体
|
|
165
|
-
*/
|
|
166
|
-
export interface ModifyTraceDataRanksRequest {
|
|
145
|
+
Remark?: string;
|
|
167
146
|
/**
|
|
168
|
-
*
|
|
147
|
+
* 商品规格
|
|
169
148
|
*/
|
|
170
|
-
|
|
149
|
+
Specification?: string;
|
|
171
150
|
/**
|
|
172
|
-
*
|
|
151
|
+
* 商品图片
|
|
173
152
|
*/
|
|
174
|
-
|
|
153
|
+
Logo?: Array<string>;
|
|
175
154
|
/**
|
|
176
|
-
*
|
|
155
|
+
* 企业ID
|
|
177
156
|
*/
|
|
178
|
-
|
|
157
|
+
CorpId?: number;
|
|
179
158
|
/**
|
|
180
|
-
*
|
|
159
|
+
* 预留字段
|
|
181
160
|
*/
|
|
182
|
-
|
|
161
|
+
Ext?: Ext;
|
|
183
162
|
}
|
|
184
163
|
/**
|
|
185
|
-
*
|
|
164
|
+
* ModifyCustomRule请求参数结构体
|
|
186
165
|
*/
|
|
187
|
-
export interface
|
|
166
|
+
export interface ModifyCustomRuleRequest {
|
|
188
167
|
/**
|
|
189
|
-
*
|
|
168
|
+
* 码规则ID
|
|
190
169
|
*/
|
|
191
|
-
|
|
170
|
+
CustomId: string;
|
|
192
171
|
/**
|
|
193
|
-
*
|
|
172
|
+
* 规则名称
|
|
194
173
|
*/
|
|
195
|
-
|
|
174
|
+
Name: string;
|
|
196
175
|
/**
|
|
197
|
-
*
|
|
176
|
+
* 码长度
|
|
198
177
|
*/
|
|
199
|
-
|
|
178
|
+
CodeLength: number;
|
|
200
179
|
/**
|
|
201
|
-
*
|
|
180
|
+
* 码段配置
|
|
202
181
|
*/
|
|
203
|
-
|
|
182
|
+
CodeParts: Array<CodePart>;
|
|
183
|
+
/**
|
|
184
|
+
* 企业ID
|
|
185
|
+
*/
|
|
186
|
+
CorpId?: number;
|
|
204
187
|
}
|
|
205
188
|
/**
|
|
206
|
-
*
|
|
189
|
+
* 码段配置
|
|
207
190
|
*/
|
|
208
|
-
export interface
|
|
191
|
+
export interface CodePart {
|
|
209
192
|
/**
|
|
210
|
-
*
|
|
193
|
+
* 码段名称
|
|
211
194
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
212
195
|
*/
|
|
213
|
-
|
|
196
|
+
Name: string;
|
|
214
197
|
/**
|
|
215
|
-
*
|
|
198
|
+
* 码段类型
|
|
216
199
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
217
200
|
*/
|
|
218
|
-
|
|
201
|
+
Type: string;
|
|
219
202
|
/**
|
|
220
|
-
*
|
|
203
|
+
* 码段内容
|
|
204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
221
205
|
*/
|
|
222
|
-
|
|
223
|
-
}
|
|
224
|
-
/**
|
|
225
|
-
* DeleteTraceData请求参数结构体
|
|
226
|
-
*/
|
|
227
|
-
export interface DeleteTraceDataRequest {
|
|
206
|
+
Value: string;
|
|
228
207
|
/**
|
|
229
|
-
*
|
|
208
|
+
* 码段长度
|
|
230
209
|
*/
|
|
231
|
-
|
|
210
|
+
Length: number;
|
|
232
211
|
/**
|
|
233
|
-
*
|
|
212
|
+
* 扩展字段
|
|
213
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
234
214
|
*/
|
|
235
|
-
|
|
215
|
+
Ext: string;
|
|
236
216
|
}
|
|
237
217
|
/**
|
|
238
|
-
*
|
|
218
|
+
* 码包类型
|
|
239
219
|
*/
|
|
240
|
-
export interface
|
|
220
|
+
export interface CodePack {
|
|
241
221
|
/**
|
|
242
|
-
*
|
|
222
|
+
* 码id
|
|
223
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
243
224
|
*/
|
|
244
|
-
|
|
225
|
+
PackId: string;
|
|
245
226
|
/**
|
|
246
|
-
*
|
|
227
|
+
* 企业id
|
|
228
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
229
|
+
*/
|
|
230
|
+
CorpId: number;
|
|
231
|
+
/**
|
|
232
|
+
* 商户id
|
|
233
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
247
234
|
*/
|
|
248
235
|
MerchantId: string;
|
|
249
236
|
/**
|
|
250
|
-
*
|
|
237
|
+
* 创建时间
|
|
238
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
251
239
|
*/
|
|
252
|
-
|
|
240
|
+
CreateTime: string;
|
|
253
241
|
/**
|
|
254
|
-
*
|
|
242
|
+
* 更新时间
|
|
243
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
255
244
|
*/
|
|
256
|
-
|
|
245
|
+
UpdateTime: string;
|
|
257
246
|
/**
|
|
258
|
-
*
|
|
247
|
+
* 状态
|
|
248
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
259
249
|
*/
|
|
260
|
-
|
|
250
|
+
Status: string;
|
|
261
251
|
/**
|
|
262
|
-
*
|
|
252
|
+
* 记录
|
|
253
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
263
254
|
*/
|
|
264
|
-
|
|
265
|
-
}
|
|
266
|
-
/**
|
|
267
|
-
* ModifyProduct返回参数结构体
|
|
268
|
-
*/
|
|
269
|
-
export interface ModifyProductResponse {
|
|
255
|
+
Log: string;
|
|
270
256
|
/**
|
|
271
|
-
*
|
|
257
|
+
* 创建人
|
|
272
258
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
273
259
|
*/
|
|
274
|
-
|
|
260
|
+
CreateUser: string;
|
|
275
261
|
/**
|
|
276
|
-
*
|
|
262
|
+
* 码数
|
|
263
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
277
264
|
*/
|
|
278
|
-
|
|
279
|
-
}
|
|
280
|
-
/**
|
|
281
|
-
* ModifyTraceData请求参数结构体
|
|
282
|
-
*/
|
|
283
|
-
export interface ModifyTraceDataRequest {
|
|
265
|
+
Amount: number;
|
|
284
266
|
/**
|
|
285
|
-
*
|
|
267
|
+
* 码长度
|
|
268
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
286
269
|
*/
|
|
287
|
-
|
|
270
|
+
CodeLength: number;
|
|
288
271
|
/**
|
|
289
|
-
*
|
|
272
|
+
* 码类型
|
|
273
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
290
274
|
*/
|
|
291
|
-
|
|
275
|
+
CodeType: string;
|
|
292
276
|
/**
|
|
293
|
-
*
|
|
277
|
+
* 是否暗码
|
|
278
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
294
279
|
*/
|
|
295
|
-
|
|
280
|
+
Cipher: number;
|
|
296
281
|
/**
|
|
297
|
-
*
|
|
282
|
+
* 文字码地址
|
|
283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
298
284
|
*/
|
|
299
|
-
|
|
285
|
+
TextUrl: string;
|
|
300
286
|
/**
|
|
301
|
-
*
|
|
287
|
+
* 二维码地址
|
|
288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
302
289
|
*/
|
|
303
|
-
|
|
290
|
+
PackUrl: string;
|
|
304
291
|
/**
|
|
305
|
-
*
|
|
292
|
+
* 商户名
|
|
293
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
306
294
|
*/
|
|
307
|
-
|
|
295
|
+
MerchantName: string;
|
|
308
296
|
/**
|
|
309
|
-
*
|
|
297
|
+
* 码规则类型 0: 默认, 1: 自定义
|
|
298
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
310
299
|
*/
|
|
311
|
-
|
|
300
|
+
RuleType: number;
|
|
312
301
|
/**
|
|
313
|
-
*
|
|
302
|
+
* 自定义码规则ID
|
|
303
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
314
304
|
*/
|
|
315
|
-
|
|
305
|
+
CustomId: string;
|
|
316
306
|
/**
|
|
317
|
-
*
|
|
307
|
+
* 码包类型 0: 普通码包 1: 层级码包
|
|
308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
318
309
|
*/
|
|
319
|
-
|
|
310
|
+
PackType: number;
|
|
320
311
|
/**
|
|
321
|
-
*
|
|
312
|
+
* 生码层级
|
|
313
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
322
314
|
*/
|
|
323
|
-
|
|
315
|
+
PackLevel: number;
|
|
324
316
|
/**
|
|
325
|
-
*
|
|
317
|
+
* 层级码配置
|
|
318
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
326
319
|
*/
|
|
327
|
-
|
|
320
|
+
PackSpec: Array<PackSpec>;
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* DeleteCodeBatch请求参数结构体
|
|
324
|
+
*/
|
|
325
|
+
export interface DeleteCodeBatchRequest {
|
|
328
326
|
/**
|
|
329
|
-
*
|
|
327
|
+
* 企业ID
|
|
330
328
|
*/
|
|
331
|
-
|
|
329
|
+
CorpId?: number;
|
|
332
330
|
/**
|
|
333
|
-
*
|
|
331
|
+
* 批次ID
|
|
334
332
|
*/
|
|
335
|
-
|
|
333
|
+
BatchId?: string;
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* DescribeMerchants请求参数结构体
|
|
337
|
+
*/
|
|
338
|
+
export interface DescribeMerchantsRequest {
|
|
336
339
|
/**
|
|
337
|
-
*
|
|
340
|
+
* 搜索商户名称
|
|
338
341
|
*/
|
|
339
|
-
|
|
342
|
+
Name?: string;
|
|
340
343
|
/**
|
|
341
|
-
*
|
|
344
|
+
* 条数
|
|
342
345
|
*/
|
|
343
|
-
|
|
346
|
+
PageSize?: number;
|
|
344
347
|
/**
|
|
345
|
-
*
|
|
348
|
+
* 页数
|
|
346
349
|
*/
|
|
347
|
-
|
|
350
|
+
PageNumber?: number;
|
|
348
351
|
/**
|
|
349
|
-
*
|
|
352
|
+
* 企业ID
|
|
350
353
|
*/
|
|
351
|
-
|
|
354
|
+
CorpId?: number;
|
|
355
|
+
/**
|
|
356
|
+
* 码来源类型 0:自建, 1:第三方
|
|
357
|
+
*/
|
|
358
|
+
CodeType?: number;
|
|
352
359
|
}
|
|
353
360
|
/**
|
|
354
|
-
*
|
|
361
|
+
* ModifyTraceCode请求参数结构体
|
|
355
362
|
*/
|
|
356
|
-
export interface
|
|
363
|
+
export interface ModifyTraceCodeRequest {
|
|
357
364
|
/**
|
|
358
|
-
*
|
|
359
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
360
|
-
*/
|
|
361
|
-
MerchantId: string;
|
|
362
|
-
/**
|
|
363
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
364
|
-
*/
|
|
365
|
-
RequestId?: string;
|
|
366
|
-
}
|
|
367
|
-
/**
|
|
368
|
-
* DescribeMerchantById请求参数结构体
|
|
369
|
-
*/
|
|
370
|
-
export interface DescribeMerchantByIdRequest {
|
|
371
|
-
/**
|
|
372
|
-
* 商户标识码
|
|
365
|
+
* 二维码
|
|
373
366
|
*/
|
|
374
|
-
|
|
367
|
+
Code: string;
|
|
375
368
|
/**
|
|
376
369
|
* 企业ID
|
|
377
370
|
*/
|
|
378
371
|
CorpId?: number;
|
|
372
|
+
/**
|
|
373
|
+
* 状态 0: 冻结 1: 激活
|
|
374
|
+
*/
|
|
375
|
+
Status?: number;
|
|
379
376
|
}
|
|
380
377
|
/**
|
|
381
|
-
*
|
|
378
|
+
* DescribeCustomRules返回参数结构体
|
|
382
379
|
*/
|
|
383
|
-
export interface
|
|
380
|
+
export interface DescribeCustomRulesResponse {
|
|
384
381
|
/**
|
|
385
|
-
*
|
|
382
|
+
* 码规则列表
|
|
386
383
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
387
384
|
*/
|
|
388
|
-
|
|
385
|
+
CustomRules: Array<CustomRule>;
|
|
386
|
+
/**
|
|
387
|
+
* 总数
|
|
388
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
389
|
+
*/
|
|
390
|
+
TotalCount: number;
|
|
389
391
|
/**
|
|
390
392
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
391
393
|
*/
|
|
392
394
|
RequestId?: string;
|
|
393
395
|
}
|
|
394
396
|
/**
|
|
395
|
-
*
|
|
397
|
+
* CreateMerchant请求参数结构体
|
|
396
398
|
*/
|
|
397
|
-
export interface
|
|
398
|
-
/**
|
|
399
|
-
* 商户标识码
|
|
400
|
-
*/
|
|
401
|
-
MerchantId: string;
|
|
402
|
-
/**
|
|
403
|
-
* 企业id
|
|
404
|
-
*/
|
|
405
|
-
CorpId: number;
|
|
399
|
+
export interface CreateMerchantRequest {
|
|
406
400
|
/**
|
|
407
401
|
* 商户名称
|
|
408
402
|
*/
|
|
409
403
|
Name: string;
|
|
410
404
|
/**
|
|
411
405
|
* 备注
|
|
412
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
413
|
-
*/
|
|
414
|
-
Remark: string;
|
|
415
|
-
/**
|
|
416
|
-
* 创建时间
|
|
417
406
|
*/
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* 更新时间
|
|
421
|
-
*/
|
|
422
|
-
UpdateTime: string;
|
|
407
|
+
Remark?: string;
|
|
423
408
|
/**
|
|
424
|
-
*
|
|
409
|
+
* 企业ID
|
|
425
410
|
*/
|
|
426
|
-
|
|
411
|
+
CorpId?: number;
|
|
427
412
|
/**
|
|
428
|
-
*
|
|
413
|
+
* 码包来源 0:自建, 1:第三发
|
|
429
414
|
*/
|
|
430
|
-
CodeType
|
|
415
|
+
CodeType?: number;
|
|
431
416
|
/**
|
|
432
|
-
*
|
|
433
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
417
|
+
* 码包前缀地址 第三方码包时必填
|
|
434
418
|
*/
|
|
435
|
-
CodeUrl
|
|
419
|
+
CodeUrl?: string;
|
|
436
420
|
}
|
|
437
421
|
/**
|
|
438
|
-
*
|
|
422
|
+
* DescribeCodeBatchById请求参数结构体
|
|
439
423
|
*/
|
|
440
|
-
export interface
|
|
441
|
-
/**
|
|
442
|
-
* 批次ID
|
|
443
|
-
*/
|
|
444
|
-
BatchId: string;
|
|
424
|
+
export interface DescribeCodeBatchByIdRequest {
|
|
445
425
|
/**
|
|
446
426
|
* 企业ID
|
|
447
427
|
*/
|
|
448
428
|
CorpId?: number;
|
|
449
429
|
/**
|
|
450
|
-
*
|
|
430
|
+
* 批次ID
|
|
451
431
|
*/
|
|
452
|
-
|
|
432
|
+
BatchId?: string;
|
|
453
433
|
}
|
|
454
434
|
/**
|
|
455
|
-
*
|
|
435
|
+
* DescribeTraceCodeById返回参数结构体
|
|
456
436
|
*/
|
|
457
|
-
export interface
|
|
437
|
+
export interface DescribeTraceCodeByIdResponse {
|
|
458
438
|
/**
|
|
459
|
-
*
|
|
460
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
439
|
+
* 无
|
|
461
440
|
*/
|
|
462
|
-
|
|
441
|
+
TraceCode: TraceCode;
|
|
463
442
|
/**
|
|
464
443
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
465
444
|
*/
|
|
466
445
|
RequestId?: string;
|
|
467
446
|
}
|
|
468
447
|
/**
|
|
469
|
-
*
|
|
448
|
+
* 码规则
|
|
470
449
|
*/
|
|
471
|
-
export interface
|
|
450
|
+
export interface CustomRule {
|
|
472
451
|
/**
|
|
473
|
-
*
|
|
452
|
+
* 码规则ID
|
|
474
453
|
*/
|
|
475
|
-
|
|
454
|
+
CustomId: string;
|
|
476
455
|
/**
|
|
477
|
-
*
|
|
456
|
+
* 码规则名
|
|
457
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
478
458
|
*/
|
|
479
|
-
|
|
459
|
+
Name: string;
|
|
480
460
|
/**
|
|
481
|
-
*
|
|
461
|
+
* 企业ID
|
|
462
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
482
463
|
*/
|
|
483
|
-
|
|
464
|
+
CorpId: number;
|
|
484
465
|
/**
|
|
485
|
-
*
|
|
466
|
+
* 商户ID
|
|
467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
486
468
|
*/
|
|
487
|
-
|
|
469
|
+
MerchantId: string;
|
|
488
470
|
/**
|
|
489
|
-
*
|
|
471
|
+
* 码ID长度
|
|
490
472
|
*/
|
|
491
|
-
|
|
473
|
+
CodeLength: number;
|
|
492
474
|
/**
|
|
493
|
-
*
|
|
475
|
+
* 规则状态
|
|
494
476
|
*/
|
|
495
|
-
|
|
477
|
+
Status: number;
|
|
496
478
|
/**
|
|
497
|
-
*
|
|
479
|
+
* 码段配置
|
|
498
480
|
*/
|
|
499
|
-
|
|
481
|
+
CodeParts: Array<CodePart>;
|
|
482
|
+
/**
|
|
483
|
+
* 创建时间
|
|
484
|
+
*/
|
|
485
|
+
CreateTime: string;
|
|
486
|
+
/**
|
|
487
|
+
* 更新时间
|
|
488
|
+
*/
|
|
489
|
+
UpdateTime: string;
|
|
500
490
|
}
|
|
501
491
|
/**
|
|
502
|
-
* DescribeProducts
|
|
492
|
+
* DescribeProducts返回参数结构体
|
|
503
493
|
*/
|
|
504
|
-
export interface
|
|
494
|
+
export interface DescribeProductsResponse {
|
|
505
495
|
/**
|
|
506
|
-
*
|
|
496
|
+
* 商品列表
|
|
497
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
507
498
|
*/
|
|
508
|
-
|
|
499
|
+
Products: Array<Product>;
|
|
509
500
|
/**
|
|
510
|
-
*
|
|
501
|
+
* 总数
|
|
502
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
511
503
|
*/
|
|
512
|
-
|
|
504
|
+
TotalCount: number;
|
|
513
505
|
/**
|
|
514
|
-
*
|
|
506
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
515
507
|
*/
|
|
516
|
-
|
|
508
|
+
RequestId?: string;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* CreateCodeBatch返回参数结构体
|
|
512
|
+
*/
|
|
513
|
+
export interface CreateCodeBatchResponse {
|
|
517
514
|
/**
|
|
518
|
-
*
|
|
515
|
+
* 批次ID
|
|
519
516
|
*/
|
|
520
|
-
|
|
517
|
+
BatchId: string;
|
|
521
518
|
/**
|
|
522
|
-
*
|
|
519
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
523
520
|
*/
|
|
524
|
-
|
|
521
|
+
RequestId?: string;
|
|
525
522
|
}
|
|
526
523
|
/**
|
|
527
|
-
*
|
|
524
|
+
* DescribeTraceDataList返回参数结构体
|
|
528
525
|
*/
|
|
529
|
-
export interface
|
|
526
|
+
export interface DescribeTraceDataListResponse {
|
|
530
527
|
/**
|
|
531
|
-
*
|
|
528
|
+
* 数量
|
|
532
529
|
*/
|
|
533
|
-
|
|
530
|
+
TotalCount: number;
|
|
531
|
+
/**
|
|
532
|
+
* 无
|
|
533
|
+
*/
|
|
534
|
+
TraceDataList: Array<TraceData>;
|
|
534
535
|
/**
|
|
535
536
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
536
537
|
*/
|
|
537
538
|
RequestId?: string;
|
|
538
539
|
}
|
|
539
540
|
/**
|
|
540
|
-
*
|
|
541
|
+
* DescribeTraceCodes请求参数结构体
|
|
541
542
|
*/
|
|
542
|
-
export interface
|
|
543
|
+
export interface DescribeTraceCodesRequest {
|
|
543
544
|
/**
|
|
544
|
-
*
|
|
545
|
+
* 搜索关键字 码标识,或者批次ID
|
|
545
546
|
*/
|
|
546
|
-
|
|
547
|
+
Keyword?: string;
|
|
547
548
|
/**
|
|
548
|
-
*
|
|
549
|
+
* 条数
|
|
549
550
|
*/
|
|
550
|
-
|
|
551
|
+
PageNumber?: number;
|
|
551
552
|
/**
|
|
552
|
-
*
|
|
553
|
+
* 页码
|
|
553
554
|
*/
|
|
554
|
-
|
|
555
|
+
PageSize?: number;
|
|
555
556
|
/**
|
|
556
|
-
*
|
|
557
|
+
* 批次ID,弃用
|
|
557
558
|
*/
|
|
558
|
-
|
|
559
|
+
BatchId?: string;
|
|
559
560
|
/**
|
|
560
|
-
*
|
|
561
|
+
* 企业ID
|
|
561
562
|
*/
|
|
562
|
-
|
|
563
|
+
CorpId?: number;
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* CreateTraceCodesAsync请求参数结构体
|
|
567
|
+
*/
|
|
568
|
+
export interface CreateTraceCodesAsyncRequest {
|
|
563
569
|
/**
|
|
564
570
|
* 企业ID
|
|
565
571
|
*/
|
|
566
572
|
CorpId?: number;
|
|
567
573
|
/**
|
|
568
|
-
*
|
|
574
|
+
* 批次ID
|
|
569
575
|
*/
|
|
570
|
-
|
|
576
|
+
BatchId?: string;
|
|
577
|
+
/**
|
|
578
|
+
* 上传文件Key,仅支持 csv 或者 zip 类型
|
|
579
|
+
*/
|
|
580
|
+
FileKey?: string;
|
|
571
581
|
}
|
|
572
582
|
/**
|
|
573
|
-
*
|
|
583
|
+
* ModifyTraceData返回参数结构体
|
|
574
584
|
*/
|
|
575
|
-
export interface
|
|
585
|
+
export interface ModifyTraceDataResponse {
|
|
576
586
|
/**
|
|
577
|
-
* 溯源
|
|
578
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
587
|
+
* 溯源ID
|
|
579
588
|
*/
|
|
580
589
|
TraceId: string;
|
|
581
590
|
/**
|
|
@@ -584,92 +593,362 @@ export interface DeleteTraceDataResponse {
|
|
|
584
593
|
RequestId?: string;
|
|
585
594
|
}
|
|
586
595
|
/**
|
|
587
|
-
*
|
|
596
|
+
* DeleteProduct请求参数结构体
|
|
588
597
|
*/
|
|
589
|
-
export interface
|
|
598
|
+
export interface DeleteProductRequest {
|
|
590
599
|
/**
|
|
591
|
-
*
|
|
600
|
+
* 商品ID
|
|
592
601
|
*/
|
|
593
|
-
|
|
602
|
+
ProductId: string;
|
|
594
603
|
/**
|
|
595
|
-
*
|
|
604
|
+
* 企业ID
|
|
596
605
|
*/
|
|
597
|
-
|
|
606
|
+
CorpId?: number;
|
|
598
607
|
}
|
|
599
608
|
/**
|
|
600
|
-
*
|
|
609
|
+
* CreateTraceChain返回参数结构体
|
|
601
610
|
*/
|
|
602
|
-
export interface
|
|
611
|
+
export interface CreateTraceChainResponse {
|
|
603
612
|
/**
|
|
604
|
-
*
|
|
613
|
+
* 溯源ID
|
|
605
614
|
*/
|
|
606
|
-
|
|
615
|
+
TraceId: string;
|
|
607
616
|
/**
|
|
608
617
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
609
618
|
*/
|
|
610
619
|
RequestId?: string;
|
|
611
620
|
}
|
|
612
621
|
/**
|
|
613
|
-
*
|
|
622
|
+
* CreateCustomRule请求参数结构体
|
|
614
623
|
*/
|
|
615
|
-
export interface
|
|
624
|
+
export interface CreateCustomRuleRequest {
|
|
616
625
|
/**
|
|
617
|
-
*
|
|
618
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
626
|
+
* 规则名称
|
|
619
627
|
*/
|
|
620
|
-
|
|
628
|
+
Name: string;
|
|
621
629
|
/**
|
|
622
|
-
*
|
|
623
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
630
|
+
* 商户ID
|
|
624
631
|
*/
|
|
625
|
-
|
|
632
|
+
MerchantId: string;
|
|
626
633
|
/**
|
|
627
|
-
*
|
|
634
|
+
* 码长度
|
|
628
635
|
*/
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
export interface DescribeTraceDataListRequest {
|
|
636
|
+
CodeLength: number;
|
|
637
|
+
/**
|
|
638
|
+
* 码段配置
|
|
639
|
+
*/
|
|
640
|
+
CodeParts: Array<CodePart>;
|
|
635
641
|
/**
|
|
636
642
|
* 企业ID
|
|
637
643
|
*/
|
|
638
644
|
CorpId?: number;
|
|
645
|
+
}
|
|
646
|
+
/**
|
|
647
|
+
* DescribeCodePackStatus请求参数结构体
|
|
648
|
+
*/
|
|
649
|
+
export interface DescribeCodePackStatusRequest {
|
|
639
650
|
/**
|
|
640
|
-
*
|
|
651
|
+
* 码包ID
|
|
641
652
|
*/
|
|
642
|
-
|
|
653
|
+
PackId: string;
|
|
643
654
|
/**
|
|
644
|
-
*
|
|
655
|
+
* 企业ID
|
|
656
|
+
*/
|
|
657
|
+
CorpId?: number;
|
|
658
|
+
}
|
|
659
|
+
/**
|
|
660
|
+
* ModifyTraceData请求参数结构体
|
|
661
|
+
*/
|
|
662
|
+
export interface ModifyTraceDataRequest {
|
|
663
|
+
/**
|
|
664
|
+
* 溯源ID
|
|
665
|
+
*/
|
|
666
|
+
TraceId?: string;
|
|
667
|
+
/**
|
|
668
|
+
* 批次ID
|
|
669
|
+
*/
|
|
670
|
+
BatchId?: string;
|
|
671
|
+
/**
|
|
672
|
+
* 生产溯源任务ID
|
|
645
673
|
*/
|
|
646
674
|
TaskId?: string;
|
|
647
675
|
/**
|
|
648
|
-
*
|
|
676
|
+
* 溯源信息
|
|
649
677
|
*/
|
|
650
|
-
|
|
678
|
+
TraceItems?: Array<TraceItem>;
|
|
651
679
|
/**
|
|
652
|
-
*
|
|
680
|
+
* 溯源阶段名称
|
|
681
|
+
*/
|
|
682
|
+
PhaseName?: string;
|
|
683
|
+
/**
|
|
684
|
+
* [无效] 类型
|
|
685
|
+
*/
|
|
686
|
+
Type?: number;
|
|
687
|
+
/**
|
|
688
|
+
* [无效] 溯源码
|
|
653
689
|
*/
|
|
654
690
|
Code?: string;
|
|
655
691
|
/**
|
|
656
|
-
*
|
|
692
|
+
* [无效] 排序
|
|
693
|
+
*/
|
|
694
|
+
Rank?: number;
|
|
695
|
+
/**
|
|
696
|
+
* [无效] 溯源阶段 0:商品 1:通用 2:物流
|
|
657
697
|
*/
|
|
658
698
|
Phase?: number;
|
|
659
699
|
/**
|
|
660
|
-
*
|
|
700
|
+
* [无效] 溯源时间
|
|
701
|
+
*/
|
|
702
|
+
TraceTime?: string;
|
|
703
|
+
/**
|
|
704
|
+
* [无效] 创建时间
|
|
705
|
+
*/
|
|
706
|
+
CreateTime?: string;
|
|
707
|
+
/**
|
|
708
|
+
* [无效] 上链状态
|
|
709
|
+
*/
|
|
710
|
+
ChainStatus?: number;
|
|
711
|
+
/**
|
|
712
|
+
* [无效] 上链时间
|
|
713
|
+
*/
|
|
714
|
+
ChainTime?: string;
|
|
715
|
+
/**
|
|
716
|
+
* [无效] 上链数据
|
|
717
|
+
*/
|
|
718
|
+
ChainData?: ChainData;
|
|
719
|
+
/**
|
|
720
|
+
* 企业ID
|
|
721
|
+
*/
|
|
722
|
+
CorpId?: number;
|
|
723
|
+
/**
|
|
724
|
+
* 溯源状态 0: 无效, 1: 有效
|
|
725
|
+
*/
|
|
726
|
+
Status?: number;
|
|
727
|
+
/**
|
|
728
|
+
* 环节数据
|
|
729
|
+
*/
|
|
730
|
+
PhaseData?: PhaseData;
|
|
731
|
+
}
|
|
732
|
+
/**
|
|
733
|
+
* DescribeCodeBatchs请求参数结构体
|
|
734
|
+
*/
|
|
735
|
+
export interface DescribeCodeBatchsRequest {
|
|
736
|
+
/**
|
|
737
|
+
* 查询商户ID
|
|
738
|
+
*/
|
|
739
|
+
MerchantId?: string;
|
|
740
|
+
/**
|
|
741
|
+
* 查询商品ID
|
|
742
|
+
*/
|
|
743
|
+
ProductId?: string;
|
|
744
|
+
/**
|
|
745
|
+
* 查询关键字
|
|
746
|
+
*/
|
|
747
|
+
Keyword?: string;
|
|
748
|
+
/**
|
|
749
|
+
* 条数
|
|
661
750
|
*/
|
|
662
751
|
PageSize?: number;
|
|
752
|
+
/**
|
|
753
|
+
* 页数
|
|
754
|
+
*/
|
|
755
|
+
PageNumber?: number;
|
|
756
|
+
/**
|
|
757
|
+
* 批次类型 0:溯源 1:营销
|
|
758
|
+
*/
|
|
759
|
+
BatchType?: string;
|
|
760
|
+
/**
|
|
761
|
+
* 企业ID
|
|
762
|
+
*/
|
|
763
|
+
CorpId?: number;
|
|
663
764
|
}
|
|
664
765
|
/**
|
|
665
|
-
*
|
|
766
|
+
* ModifyTraceDataRanks返回参数结构体
|
|
666
767
|
*/
|
|
667
|
-
export interface
|
|
768
|
+
export interface ModifyTraceDataRanksResponse {
|
|
668
769
|
/**
|
|
669
|
-
*
|
|
770
|
+
* 批次ID
|
|
670
771
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
671
772
|
*/
|
|
672
|
-
|
|
773
|
+
BatchId: string;
|
|
774
|
+
/**
|
|
775
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
776
|
+
*/
|
|
777
|
+
RequestId?: string;
|
|
778
|
+
}
|
|
779
|
+
/**
|
|
780
|
+
* CreateTraceCodes请求参数结构体
|
|
781
|
+
*/
|
|
782
|
+
export interface CreateTraceCodesRequest {
|
|
783
|
+
/**
|
|
784
|
+
* 批次ID
|
|
785
|
+
*/
|
|
786
|
+
BatchId: string;
|
|
787
|
+
/**
|
|
788
|
+
* 企业ID
|
|
789
|
+
*/
|
|
790
|
+
CorpId?: number;
|
|
791
|
+
/**
|
|
792
|
+
* 码
|
|
793
|
+
*/
|
|
794
|
+
Codes?: Array<CodeItem>;
|
|
795
|
+
}
|
|
796
|
+
/**
|
|
797
|
+
* DescribeCodeBatchById返回参数结构体
|
|
798
|
+
*/
|
|
799
|
+
export interface DescribeCodeBatchByIdResponse {
|
|
800
|
+
/**
|
|
801
|
+
* 批次
|
|
802
|
+
*/
|
|
803
|
+
CodeBatch: CodeBatch;
|
|
804
|
+
/**
|
|
805
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
806
|
+
*/
|
|
807
|
+
RequestId?: string;
|
|
808
|
+
}
|
|
809
|
+
/**
|
|
810
|
+
* DescribeCodePackStatus返回参数结构体
|
|
811
|
+
*/
|
|
812
|
+
export interface DescribeCodePackStatusResponse {
|
|
813
|
+
/**
|
|
814
|
+
* 码包状态 init: 初始化, pending: 执行中, done: 完成, error: 失败
|
|
815
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
816
|
+
*/
|
|
817
|
+
Status: string;
|
|
818
|
+
/**
|
|
819
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
820
|
+
*/
|
|
821
|
+
RequestId?: string;
|
|
822
|
+
}
|
|
823
|
+
/**
|
|
824
|
+
* 通用调度任务
|
|
825
|
+
*/
|
|
826
|
+
export interface Job {
|
|
827
|
+
/**
|
|
828
|
+
* 调度ID
|
|
829
|
+
*/
|
|
830
|
+
JobId: number;
|
|
831
|
+
/**
|
|
832
|
+
* 执行状态 init:初始化, pending: 执行中, done: 执行成功, error: 执行失败
|
|
833
|
+
*/
|
|
834
|
+
Status: string;
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* 溯源数据
|
|
838
|
+
*/
|
|
839
|
+
export interface TraceData {
|
|
840
|
+
/**
|
|
841
|
+
* 溯源ID
|
|
842
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
843
|
+
*/
|
|
844
|
+
TraceId: string;
|
|
845
|
+
/**
|
|
846
|
+
* 企业ID
|
|
847
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
848
|
+
*/
|
|
849
|
+
CorpId: number;
|
|
850
|
+
/**
|
|
851
|
+
* 码类型 0: 批次, 1: 码, 2: 生产任务
|
|
852
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
853
|
+
*/
|
|
854
|
+
Type: number;
|
|
855
|
+
/**
|
|
856
|
+
* 码值,跟码类型一一对应
|
|
857
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
858
|
+
*/
|
|
859
|
+
Code: string;
|
|
860
|
+
/**
|
|
861
|
+
* 排序,在Phase相同情况下,值越小排名靠前
|
|
862
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
863
|
+
*/
|
|
864
|
+
Rank: number;
|
|
865
|
+
/**
|
|
866
|
+
* 溯源阶段 0:商品 1:通用 2:物流
|
|
867
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
868
|
+
*/
|
|
869
|
+
Phase: number;
|
|
870
|
+
/**
|
|
871
|
+
* 环节名称
|
|
872
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
873
|
+
*/
|
|
874
|
+
PhaseName: string;
|
|
875
|
+
/**
|
|
876
|
+
* 时间
|
|
877
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
878
|
+
*/
|
|
879
|
+
TraceTime: string;
|
|
880
|
+
/**
|
|
881
|
+
* 无
|
|
882
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
883
|
+
*/
|
|
884
|
+
TraceItems: Array<TraceItem>;
|
|
885
|
+
/**
|
|
886
|
+
* 创建时间
|
|
887
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
888
|
+
*/
|
|
889
|
+
CreateTime: string;
|
|
890
|
+
/**
|
|
891
|
+
* 上链状态 0: 未上链 1: 上链中 2: 已上链 -1: 异常
|
|
892
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
893
|
+
*/
|
|
894
|
+
ChainStatus: number;
|
|
895
|
+
/**
|
|
896
|
+
* 上链时间
|
|
897
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
898
|
+
*/
|
|
899
|
+
ChainTime: string;
|
|
900
|
+
/**
|
|
901
|
+
* 上链数据
|
|
902
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
903
|
+
*/
|
|
904
|
+
ChainData: ChainData;
|
|
905
|
+
/**
|
|
906
|
+
* 溯源阶段配置
|
|
907
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
908
|
+
*/
|
|
909
|
+
PhaseData: PhaseData;
|
|
910
|
+
/**
|
|
911
|
+
* 溯源阶段状态 0: 无效, 1: 有效
|
|
912
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
913
|
+
*/
|
|
914
|
+
Status: number;
|
|
915
|
+
}
|
|
916
|
+
/**
|
|
917
|
+
* 层级码配置
|
|
918
|
+
*/
|
|
919
|
+
export interface PackSpec {
|
|
920
|
+
/**
|
|
921
|
+
* 层级
|
|
922
|
+
*/
|
|
923
|
+
Level: number;
|
|
924
|
+
/**
|
|
925
|
+
* 比例
|
|
926
|
+
*/
|
|
927
|
+
Rate: number;
|
|
928
|
+
/**
|
|
929
|
+
* 数量
|
|
930
|
+
*/
|
|
931
|
+
Amount: number;
|
|
932
|
+
/**
|
|
933
|
+
* 码规则ID
|
|
934
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
935
|
+
*/
|
|
936
|
+
CustomId?: string;
|
|
937
|
+
/**
|
|
938
|
+
* 码段配置
|
|
939
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
940
|
+
*/
|
|
941
|
+
CodeParts?: Array<CodePart>;
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* ModifyCustomRule返回参数结构体
|
|
945
|
+
*/
|
|
946
|
+
export interface ModifyCustomRuleResponse {
|
|
947
|
+
/**
|
|
948
|
+
* 码规则ID
|
|
949
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
950
|
+
*/
|
|
951
|
+
CustomId: string;
|
|
673
952
|
/**
|
|
674
953
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
675
954
|
*/
|
|
@@ -690,14 +969,14 @@ export interface ModifyMerchantResponse {
|
|
|
690
969
|
RequestId?: string;
|
|
691
970
|
}
|
|
692
971
|
/**
|
|
693
|
-
*
|
|
972
|
+
* DeleteProduct返回参数结构体
|
|
694
973
|
*/
|
|
695
|
-
export interface
|
|
974
|
+
export interface DeleteProductResponse {
|
|
696
975
|
/**
|
|
697
|
-
*
|
|
976
|
+
* 商品ID
|
|
698
977
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
699
978
|
*/
|
|
700
|
-
|
|
979
|
+
ProductId: string;
|
|
701
980
|
/**
|
|
702
981
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
703
982
|
*/
|
|
@@ -711,54 +990,189 @@ export interface DescribeCodesByPackResponse {
|
|
|
711
990
|
* 码列表
|
|
712
991
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
713
992
|
*/
|
|
714
|
-
Codes: Array<CodeItem>;
|
|
993
|
+
Codes: Array<CodeItem>;
|
|
994
|
+
/**
|
|
995
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
996
|
+
*/
|
|
997
|
+
RequestId?: string;
|
|
998
|
+
}
|
|
999
|
+
/**
|
|
1000
|
+
* CreateTraceData请求参数结构体
|
|
1001
|
+
*/
|
|
1002
|
+
export interface CreateTraceDataRequest {
|
|
1003
|
+
/**
|
|
1004
|
+
* 企业ID
|
|
1005
|
+
*/
|
|
1006
|
+
CorpId?: number;
|
|
1007
|
+
/**
|
|
1008
|
+
* 批次ID
|
|
1009
|
+
*/
|
|
1010
|
+
BatchId?: string;
|
|
1011
|
+
/**
|
|
1012
|
+
* 任务ID
|
|
1013
|
+
*/
|
|
1014
|
+
TaskId?: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* 溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源
|
|
1017
|
+
*/
|
|
1018
|
+
Phase?: number;
|
|
1019
|
+
/**
|
|
1020
|
+
* 溯源阶段名称
|
|
1021
|
+
*/
|
|
1022
|
+
PhaseName?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* [无效] 上链状态
|
|
1025
|
+
*/
|
|
1026
|
+
ChainStatus?: number;
|
|
1027
|
+
/**
|
|
1028
|
+
* [无效] 码类型 0: 批次, 1: 码, 2: 生产任务, 3: 物流信息
|
|
1029
|
+
*/
|
|
1030
|
+
Type?: number;
|
|
1031
|
+
/**
|
|
1032
|
+
* [无效] 溯源ID
|
|
1033
|
+
*/
|
|
1034
|
+
TraceId?: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* 溯源信息
|
|
1037
|
+
*/
|
|
1038
|
+
TraceItems?: Array<TraceItem>;
|
|
1039
|
+
/**
|
|
1040
|
+
* 溯源状态 0: 无效, 1: 有效
|
|
1041
|
+
*/
|
|
1042
|
+
Status?: number;
|
|
1043
|
+
/**
|
|
1044
|
+
* 环节数据
|
|
1045
|
+
*/
|
|
1046
|
+
PhaseData?: PhaseData;
|
|
1047
|
+
}
|
|
1048
|
+
/**
|
|
1049
|
+
* 预留字段
|
|
1050
|
+
*/
|
|
1051
|
+
export declare type Ext = null;
|
|
1052
|
+
/**
|
|
1053
|
+
* CreateProduct返回参数结构体
|
|
1054
|
+
*/
|
|
1055
|
+
export interface CreateProductResponse {
|
|
1056
|
+
/**
|
|
1057
|
+
* 商品ID
|
|
1058
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1059
|
+
*/
|
|
1060
|
+
ProductId: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1063
|
+
*/
|
|
1064
|
+
RequestId?: string;
|
|
1065
|
+
}
|
|
1066
|
+
/**
|
|
1067
|
+
* CreateCustomPack请求参数结构体
|
|
1068
|
+
*/
|
|
1069
|
+
export interface CreateCustomPackRequest {
|
|
1070
|
+
/**
|
|
1071
|
+
* 商户ID
|
|
1072
|
+
*/
|
|
1073
|
+
MerchantId: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* 生码数量, 普通码包时必填
|
|
1076
|
+
*/
|
|
1077
|
+
Amount?: number;
|
|
1078
|
+
/**
|
|
1079
|
+
* 企业ID
|
|
1080
|
+
*/
|
|
1081
|
+
CorpId?: number;
|
|
1082
|
+
/**
|
|
1083
|
+
* 码包类型 0: 普通码包 1: 层级码包
|
|
1084
|
+
*/
|
|
1085
|
+
PackType?: number;
|
|
1086
|
+
/**
|
|
1087
|
+
* 码包层级
|
|
1088
|
+
*/
|
|
1089
|
+
PackLevel?: number;
|
|
1090
|
+
/**
|
|
1091
|
+
* 层级码包规则
|
|
1092
|
+
*/
|
|
1093
|
+
PackSpec?: Array<PackSpec>;
|
|
1094
|
+
/**
|
|
1095
|
+
* 码规则ID, 和CodeParts二选一必填
|
|
1096
|
+
*/
|
|
1097
|
+
CustomId?: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* 码段配置,和CustomId二选一必填
|
|
1100
|
+
*/
|
|
1101
|
+
CodeParts?: Array<CodePart>;
|
|
1102
|
+
}
|
|
1103
|
+
/**
|
|
1104
|
+
* CreateCodePack请求参数结构体
|
|
1105
|
+
*/
|
|
1106
|
+
export interface CreateCodePackRequest {
|
|
1107
|
+
/**
|
|
1108
|
+
* 商户ID
|
|
1109
|
+
*/
|
|
1110
|
+
MerchantId: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* 码长度
|
|
1113
|
+
*/
|
|
1114
|
+
CodeLength: number;
|
|
1115
|
+
/**
|
|
1116
|
+
* 码类型 alphabet 字母, number 数字, mixin 混合
|
|
1117
|
+
*/
|
|
1118
|
+
CodeType: string;
|
|
1119
|
+
/**
|
|
1120
|
+
* 生码数量 普通码包时必填
|
|
1121
|
+
*/
|
|
1122
|
+
Amount?: number;
|
|
1123
|
+
/**
|
|
1124
|
+
* 企业ID
|
|
1125
|
+
*/
|
|
1126
|
+
CorpId?: number;
|
|
1127
|
+
/**
|
|
1128
|
+
* 码包类型 0: 普通码包 1: 层级码包
|
|
1129
|
+
*/
|
|
1130
|
+
PackType?: number;
|
|
1131
|
+
/**
|
|
1132
|
+
* 码包层级
|
|
1133
|
+
*/
|
|
1134
|
+
PackLevel?: number;
|
|
715
1135
|
/**
|
|
716
|
-
*
|
|
1136
|
+
* 码包规格
|
|
717
1137
|
*/
|
|
718
|
-
|
|
1138
|
+
PackSpec?: Array<PackSpec>;
|
|
719
1139
|
}
|
|
720
1140
|
/**
|
|
721
|
-
*
|
|
1141
|
+
* CreateCodeBatch请求参数结构体
|
|
722
1142
|
*/
|
|
723
|
-
export interface
|
|
1143
|
+
export interface CreateCodeBatchRequest {
|
|
724
1144
|
/**
|
|
725
|
-
*
|
|
1145
|
+
* 企业ID
|
|
726
1146
|
*/
|
|
727
|
-
|
|
1147
|
+
CorpId?: number;
|
|
728
1148
|
/**
|
|
729
|
-
*
|
|
1149
|
+
* 商户ID
|
|
730
1150
|
*/
|
|
731
|
-
|
|
732
|
-
}
|
|
733
|
-
/**
|
|
734
|
-
* DescribeTraceDataList返回参数结构体
|
|
735
|
-
*/
|
|
736
|
-
export interface DescribeTraceDataListResponse {
|
|
1151
|
+
MerchantId?: string;
|
|
737
1152
|
/**
|
|
738
|
-
*
|
|
1153
|
+
* 产品ID
|
|
739
1154
|
*/
|
|
740
|
-
|
|
1155
|
+
ProductId?: string;
|
|
741
1156
|
/**
|
|
742
|
-
*
|
|
1157
|
+
* 批次类型 0:溯源 1:营销
|
|
743
1158
|
*/
|
|
744
|
-
|
|
1159
|
+
BatchType?: number;
|
|
745
1160
|
/**
|
|
746
|
-
*
|
|
1161
|
+
* 批次ID,系统自动生成
|
|
747
1162
|
*/
|
|
748
|
-
|
|
749
|
-
}
|
|
750
|
-
/**
|
|
751
|
-
* CreateTraceChain请求参数结构体
|
|
752
|
-
*/
|
|
753
|
-
export interface CreateTraceChainRequest {
|
|
1163
|
+
BatchId?: string;
|
|
754
1164
|
/**
|
|
755
|
-
*
|
|
1165
|
+
* 备注
|
|
756
1166
|
*/
|
|
757
|
-
|
|
1167
|
+
Remark?: string;
|
|
758
1168
|
/**
|
|
759
|
-
*
|
|
1169
|
+
* 活动ID
|
|
760
1170
|
*/
|
|
761
|
-
|
|
1171
|
+
MpTpl?: string;
|
|
1172
|
+
/**
|
|
1173
|
+
* 克隆批次ID
|
|
1174
|
+
*/
|
|
1175
|
+
CloneId?: string;
|
|
762
1176
|
}
|
|
763
1177
|
/**
|
|
764
1178
|
* 溯源数据
|
|
@@ -806,333 +1220,312 @@ export interface TraceItem {
|
|
|
806
1220
|
Ext: string;
|
|
807
1221
|
}
|
|
808
1222
|
/**
|
|
809
|
-
*
|
|
1223
|
+
* DescribeCustomRuleById请求参数结构体
|
|
810
1224
|
*/
|
|
811
|
-
export interface
|
|
1225
|
+
export interface DescribeCustomRuleByIdRequest {
|
|
812
1226
|
/**
|
|
813
|
-
*
|
|
1227
|
+
* 码规则ID
|
|
814
1228
|
*/
|
|
815
|
-
|
|
1229
|
+
CustomId: string;
|
|
816
1230
|
/**
|
|
817
|
-
*
|
|
1231
|
+
* 企业ID
|
|
818
1232
|
*/
|
|
819
|
-
|
|
1233
|
+
CorpId?: number;
|
|
820
1234
|
}
|
|
821
1235
|
/**
|
|
822
|
-
*
|
|
823
|
-
*/
|
|
824
|
-
export declare type Ext = null;
|
|
825
|
-
/**
|
|
826
|
-
* DescribeMerchants请求参数结构体
|
|
1236
|
+
* 上链数据
|
|
827
1237
|
*/
|
|
828
|
-
export interface
|
|
1238
|
+
export interface ChainData {
|
|
829
1239
|
/**
|
|
830
|
-
*
|
|
1240
|
+
* 区块hash
|
|
1241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
831
1242
|
*/
|
|
832
|
-
|
|
1243
|
+
BlockHash: string;
|
|
833
1244
|
/**
|
|
834
|
-
*
|
|
1245
|
+
* 区块高度
|
|
1246
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
835
1247
|
*/
|
|
836
|
-
|
|
1248
|
+
BlockHeight: string;
|
|
837
1249
|
/**
|
|
838
|
-
*
|
|
1250
|
+
* 区块时间
|
|
1251
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
839
1252
|
*/
|
|
840
|
-
|
|
1253
|
+
BlockTime: string;
|
|
1254
|
+
}
|
|
1255
|
+
/**
|
|
1256
|
+
* 环节数据
|
|
1257
|
+
*/
|
|
1258
|
+
export interface PhaseData {
|
|
841
1259
|
/**
|
|
842
|
-
*
|
|
1260
|
+
* 启用头
|
|
843
1261
|
*/
|
|
844
|
-
|
|
1262
|
+
HeadEnabled?: boolean;
|
|
845
1263
|
/**
|
|
846
|
-
*
|
|
1264
|
+
* 标题
|
|
847
1265
|
*/
|
|
848
|
-
|
|
849
|
-
}
|
|
850
|
-
/**
|
|
851
|
-
* 码类型
|
|
852
|
-
*/
|
|
853
|
-
export interface CodeItem {
|
|
1266
|
+
HeadTitle?: string;
|
|
854
1267
|
/**
|
|
855
|
-
*
|
|
1268
|
+
* 标识符
|
|
856
1269
|
*/
|
|
857
|
-
|
|
858
|
-
}
|
|
859
|
-
/**
|
|
860
|
-
* ModifyTraceCode请求参数结构体
|
|
861
|
-
*/
|
|
862
|
-
export interface ModifyTraceCodeRequest {
|
|
1270
|
+
Key?: string;
|
|
863
1271
|
/**
|
|
864
|
-
*
|
|
1272
|
+
* 小程序AppId
|
|
865
1273
|
*/
|
|
866
|
-
|
|
1274
|
+
AppId?: string;
|
|
867
1275
|
/**
|
|
868
|
-
*
|
|
1276
|
+
* 小程序AppPath
|
|
869
1277
|
*/
|
|
870
|
-
|
|
1278
|
+
AppPath?: string;
|
|
871
1279
|
/**
|
|
872
|
-
*
|
|
1280
|
+
* 小程序名称AppName
|
|
873
1281
|
*/
|
|
874
|
-
|
|
1282
|
+
AppName?: string;
|
|
875
1283
|
}
|
|
876
1284
|
/**
|
|
877
|
-
*
|
|
1285
|
+
* ModifyCustomRuleStatus返回参数结构体
|
|
878
1286
|
*/
|
|
879
|
-
export interface
|
|
1287
|
+
export interface ModifyCustomRuleStatusResponse {
|
|
880
1288
|
/**
|
|
881
|
-
*
|
|
1289
|
+
* 码规则ID
|
|
882
1290
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
883
1291
|
*/
|
|
884
|
-
|
|
1292
|
+
CustomId: string;
|
|
885
1293
|
/**
|
|
886
1294
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
887
1295
|
*/
|
|
888
1296
|
RequestId?: string;
|
|
889
1297
|
}
|
|
890
1298
|
/**
|
|
891
|
-
*
|
|
1299
|
+
* CreateCustomPack返回参数结构体
|
|
892
1300
|
*/
|
|
893
|
-
export interface
|
|
1301
|
+
export interface CreateCustomPackResponse {
|
|
894
1302
|
/**
|
|
895
|
-
*
|
|
1303
|
+
* 码包ID
|
|
896
1304
|
*/
|
|
897
|
-
|
|
1305
|
+
PackId: string;
|
|
898
1306
|
/**
|
|
899
1307
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
900
1308
|
*/
|
|
901
1309
|
RequestId?: string;
|
|
902
1310
|
}
|
|
903
1311
|
/**
|
|
904
|
-
*
|
|
1312
|
+
* ModifyMerchant请求参数结构体
|
|
905
1313
|
*/
|
|
906
|
-
export interface
|
|
907
|
-
/**
|
|
908
|
-
* 企业ID
|
|
909
|
-
*/
|
|
910
|
-
CorpId?: number;
|
|
911
|
-
/**
|
|
912
|
-
* 批次ID
|
|
913
|
-
*/
|
|
914
|
-
BatchId?: string;
|
|
915
|
-
/**
|
|
916
|
-
* 任务ID
|
|
917
|
-
*/
|
|
918
|
-
TaskId?: string;
|
|
1314
|
+
export interface ModifyMerchantRequest {
|
|
919
1315
|
/**
|
|
920
|
-
*
|
|
1316
|
+
* 商户名称
|
|
921
1317
|
*/
|
|
922
|
-
|
|
1318
|
+
Name: string;
|
|
923
1319
|
/**
|
|
924
|
-
*
|
|
1320
|
+
* 商户标识码
|
|
925
1321
|
*/
|
|
926
|
-
|
|
1322
|
+
MerchantId: string;
|
|
927
1323
|
/**
|
|
928
|
-
*
|
|
1324
|
+
* 备注
|
|
929
1325
|
*/
|
|
930
|
-
|
|
1326
|
+
Remark?: string;
|
|
931
1327
|
/**
|
|
932
|
-
*
|
|
1328
|
+
* 企业ID
|
|
933
1329
|
*/
|
|
934
|
-
|
|
1330
|
+
CorpId?: number;
|
|
935
1331
|
/**
|
|
936
|
-
*
|
|
1332
|
+
* 码包来源 0:自建, 1:第三码包,暂不支持修改
|
|
937
1333
|
*/
|
|
938
|
-
|
|
1334
|
+
CodeType?: number;
|
|
939
1335
|
/**
|
|
940
|
-
*
|
|
1336
|
+
* 码包前缀地址 第三方码包时必填
|
|
941
1337
|
*/
|
|
942
|
-
|
|
1338
|
+
CodeUrl?: string;
|
|
1339
|
+
}
|
|
1340
|
+
/**
|
|
1341
|
+
* DescribeTmpToken返回参数结构体
|
|
1342
|
+
*/
|
|
1343
|
+
export interface DescribeTmpTokenResponse {
|
|
943
1344
|
/**
|
|
944
|
-
*
|
|
1345
|
+
* 临时token
|
|
1346
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
945
1347
|
*/
|
|
946
|
-
|
|
1348
|
+
Token: string;
|
|
947
1349
|
/**
|
|
948
|
-
*
|
|
1350
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
949
1351
|
*/
|
|
950
|
-
|
|
1352
|
+
RequestId?: string;
|
|
951
1353
|
}
|
|
952
1354
|
/**
|
|
953
|
-
*
|
|
1355
|
+
* DescribeCodePackUrl请求参数结构体
|
|
954
1356
|
*/
|
|
955
|
-
export interface
|
|
1357
|
+
export interface DescribeCodePackUrlRequest {
|
|
956
1358
|
/**
|
|
957
|
-
*
|
|
1359
|
+
* 码包ID
|
|
958
1360
|
*/
|
|
959
|
-
|
|
1361
|
+
PackId: string;
|
|
960
1362
|
/**
|
|
961
|
-
*
|
|
1363
|
+
* 企业ID
|
|
962
1364
|
*/
|
|
963
|
-
|
|
1365
|
+
CorpId?: number;
|
|
1366
|
+
}
|
|
1367
|
+
/**
|
|
1368
|
+
* ModifyTraceDataRanks请求参数结构体
|
|
1369
|
+
*/
|
|
1370
|
+
export interface ModifyTraceDataRanksRequest {
|
|
964
1371
|
/**
|
|
965
1372
|
* 企业ID
|
|
966
1373
|
*/
|
|
967
1374
|
CorpId?: number;
|
|
968
1375
|
/**
|
|
969
|
-
*
|
|
1376
|
+
* 批次ID
|
|
970
1377
|
*/
|
|
971
|
-
|
|
1378
|
+
BatchId?: string;
|
|
972
1379
|
/**
|
|
973
|
-
*
|
|
1380
|
+
* 生产任务ID
|
|
974
1381
|
*/
|
|
975
|
-
|
|
1382
|
+
TaskId?: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* 溯源ID
|
|
1385
|
+
*/
|
|
1386
|
+
TraceIds?: Array<string>;
|
|
976
1387
|
}
|
|
977
1388
|
/**
|
|
978
|
-
*
|
|
1389
|
+
* DeleteTraceData返回参数结构体
|
|
979
1390
|
*/
|
|
980
|
-
export interface
|
|
981
|
-
/**
|
|
982
|
-
* 批次列表
|
|
983
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
984
|
-
*/
|
|
985
|
-
CodeBatchs: Array<CodeBatch>;
|
|
1391
|
+
export interface DeleteTraceDataResponse {
|
|
986
1392
|
/**
|
|
987
|
-
*
|
|
1393
|
+
* 溯源id
|
|
988
1394
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
989
1395
|
*/
|
|
990
|
-
|
|
1396
|
+
TraceId: string;
|
|
991
1397
|
/**
|
|
992
1398
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
993
1399
|
*/
|
|
994
1400
|
RequestId?: string;
|
|
995
1401
|
}
|
|
996
1402
|
/**
|
|
997
|
-
*
|
|
1403
|
+
* ModifyCustomRuleStatus请求参数结构体
|
|
998
1404
|
*/
|
|
999
|
-
export interface
|
|
1405
|
+
export interface ModifyCustomRuleStatusRequest {
|
|
1000
1406
|
/**
|
|
1001
|
-
*
|
|
1407
|
+
* 码规则ID
|
|
1002
1408
|
*/
|
|
1003
|
-
|
|
1409
|
+
CustomId: string;
|
|
1004
1410
|
/**
|
|
1005
|
-
*
|
|
1411
|
+
* 码规则状态 0:未生效 1:已生效 -1:已失效
|
|
1006
1412
|
*/
|
|
1007
|
-
|
|
1413
|
+
Status: number;
|
|
1008
1414
|
}
|
|
1009
1415
|
/**
|
|
1010
|
-
*
|
|
1416
|
+
* CreateCodePack返回参数结构体
|
|
1011
1417
|
*/
|
|
1012
|
-
export interface
|
|
1418
|
+
export interface CreateCodePackResponse {
|
|
1013
1419
|
/**
|
|
1014
|
-
*
|
|
1420
|
+
* 码包ID
|
|
1015
1421
|
*/
|
|
1016
|
-
|
|
1422
|
+
PackId: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1425
|
+
*/
|
|
1426
|
+
RequestId?: string;
|
|
1427
|
+
}
|
|
1428
|
+
/**
|
|
1429
|
+
* DescribeMerchantById返回参数结构体
|
|
1430
|
+
*/
|
|
1431
|
+
export interface DescribeMerchantByIdResponse {
|
|
1432
|
+
/**
|
|
1433
|
+
* 商户信息
|
|
1434
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1435
|
+
*/
|
|
1436
|
+
Merchant: Merchant;
|
|
1017
1437
|
/**
|
|
1018
1438
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1019
1439
|
*/
|
|
1020
1440
|
RequestId?: string;
|
|
1021
1441
|
}
|
|
1022
1442
|
/**
|
|
1023
|
-
*
|
|
1443
|
+
* 码类型
|
|
1024
1444
|
*/
|
|
1025
|
-
export interface
|
|
1445
|
+
export interface CodeItem {
|
|
1026
1446
|
/**
|
|
1027
|
-
*
|
|
1447
|
+
* 无
|
|
1028
1448
|
*/
|
|
1029
|
-
|
|
1449
|
+
Code?: string;
|
|
1030
1450
|
}
|
|
1031
1451
|
/**
|
|
1032
|
-
*
|
|
1452
|
+
* CreateTraceData返回参数结构体
|
|
1033
1453
|
*/
|
|
1034
|
-
export interface
|
|
1454
|
+
export interface CreateTraceDataResponse {
|
|
1035
1455
|
/**
|
|
1036
1456
|
* 溯源ID
|
|
1037
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1038
1457
|
*/
|
|
1039
1458
|
TraceId: string;
|
|
1040
1459
|
/**
|
|
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,表示取不到有效值。
|
|
1460
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1073
1461
|
*/
|
|
1074
|
-
|
|
1462
|
+
RequestId?: string;
|
|
1463
|
+
}
|
|
1464
|
+
/**
|
|
1465
|
+
* DescribeCustomRuleById返回参数结构体
|
|
1466
|
+
*/
|
|
1467
|
+
export interface DescribeCustomRuleByIdResponse {
|
|
1075
1468
|
/**
|
|
1076
|
-
*
|
|
1469
|
+
* 码规则信息
|
|
1077
1470
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1078
1471
|
*/
|
|
1079
|
-
|
|
1472
|
+
CustomRule: CustomRule;
|
|
1080
1473
|
/**
|
|
1081
|
-
*
|
|
1082
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1474
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1083
1475
|
*/
|
|
1084
|
-
|
|
1476
|
+
RequestId?: string;
|
|
1477
|
+
}
|
|
1478
|
+
/**
|
|
1479
|
+
* DescribeCodeBatchs返回参数结构体
|
|
1480
|
+
*/
|
|
1481
|
+
export interface DescribeCodeBatchsResponse {
|
|
1085
1482
|
/**
|
|
1086
|
-
*
|
|
1483
|
+
* 批次列表
|
|
1087
1484
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1088
1485
|
*/
|
|
1089
|
-
|
|
1486
|
+
CodeBatchs: Array<CodeBatch>;
|
|
1090
1487
|
/**
|
|
1091
|
-
*
|
|
1488
|
+
* 总条数
|
|
1092
1489
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1093
1490
|
*/
|
|
1094
|
-
|
|
1491
|
+
TotalCount: number;
|
|
1095
1492
|
/**
|
|
1096
|
-
*
|
|
1097
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1493
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1098
1494
|
*/
|
|
1099
|
-
|
|
1495
|
+
RequestId?: string;
|
|
1100
1496
|
}
|
|
1101
1497
|
/**
|
|
1102
|
-
*
|
|
1498
|
+
* CreateCustomRule返回参数结构体
|
|
1103
1499
|
*/
|
|
1104
|
-
export interface
|
|
1500
|
+
export interface CreateCustomRuleResponse {
|
|
1105
1501
|
/**
|
|
1106
|
-
*
|
|
1502
|
+
* 码规则ID
|
|
1107
1503
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1108
1504
|
*/
|
|
1109
|
-
|
|
1505
|
+
CustomId: string;
|
|
1110
1506
|
/**
|
|
1111
1507
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1112
1508
|
*/
|
|
1113
1509
|
RequestId?: string;
|
|
1114
1510
|
}
|
|
1115
1511
|
/**
|
|
1116
|
-
*
|
|
1512
|
+
* DescribeCodePacks返回参数结构体
|
|
1117
1513
|
*/
|
|
1118
|
-
export interface
|
|
1119
|
-
/**
|
|
1120
|
-
* 层级
|
|
1121
|
-
*/
|
|
1122
|
-
Level: number;
|
|
1514
|
+
export interface DescribeCodePacksResponse {
|
|
1123
1515
|
/**
|
|
1124
|
-
*
|
|
1516
|
+
* 码列表
|
|
1517
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1125
1518
|
*/
|
|
1126
|
-
|
|
1519
|
+
CodePacks: Array<CodePack>;
|
|
1127
1520
|
/**
|
|
1128
|
-
*
|
|
1521
|
+
* 总数
|
|
1522
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1129
1523
|
*/
|
|
1130
|
-
|
|
1524
|
+
TotalCount: number;
|
|
1131
1525
|
/**
|
|
1132
|
-
*
|
|
1133
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1526
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1134
1527
|
*/
|
|
1135
|
-
|
|
1528
|
+
RequestId?: string;
|
|
1136
1529
|
}
|
|
1137
1530
|
/**
|
|
1138
1531
|
* DescribeCodesByPack请求参数结构体
|
|
@@ -1148,44 +1541,60 @@ export interface DescribeCodesByPackRequest {
|
|
|
1148
1541
|
CorpId?: number;
|
|
1149
1542
|
}
|
|
1150
1543
|
/**
|
|
1151
|
-
*
|
|
1544
|
+
* DescribeJobFileUrl请求参数结构体
|
|
1152
1545
|
*/
|
|
1153
|
-
export interface
|
|
1546
|
+
export interface DescribeJobFileUrlRequest {
|
|
1154
1547
|
/**
|
|
1155
|
-
*
|
|
1548
|
+
* 调度ID
|
|
1156
1549
|
*/
|
|
1157
|
-
|
|
1550
|
+
JobId: number;
|
|
1158
1551
|
/**
|
|
1159
|
-
*
|
|
1552
|
+
* 企业ID
|
|
1160
1553
|
*/
|
|
1161
|
-
|
|
1554
|
+
CorpId?: number;
|
|
1555
|
+
}
|
|
1556
|
+
/**
|
|
1557
|
+
* CreateTraceCodesAsync返回参数结构体
|
|
1558
|
+
*/
|
|
1559
|
+
export interface CreateTraceCodesAsyncResponse {
|
|
1162
1560
|
/**
|
|
1163
|
-
*
|
|
1561
|
+
* 批次ID
|
|
1562
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1164
1563
|
*/
|
|
1165
|
-
|
|
1564
|
+
BatchId: string;
|
|
1166
1565
|
/**
|
|
1167
|
-
*
|
|
1566
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1168
1567
|
*/
|
|
1169
|
-
|
|
1568
|
+
RequestId?: string;
|
|
1170
1569
|
}
|
|
1171
1570
|
/**
|
|
1172
|
-
*
|
|
1571
|
+
* DescribeCustomRules请求参数结构体
|
|
1173
1572
|
*/
|
|
1174
|
-
export interface
|
|
1573
|
+
export interface DescribeCustomRulesRequest {
|
|
1175
1574
|
/**
|
|
1176
|
-
*
|
|
1177
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1575
|
+
* 搜索关键字
|
|
1178
1576
|
*/
|
|
1179
|
-
|
|
1577
|
+
Keyword?: string;
|
|
1180
1578
|
/**
|
|
1181
|
-
*
|
|
1182
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1579
|
+
* 条数
|
|
1183
1580
|
*/
|
|
1184
|
-
|
|
1581
|
+
PageSize?: number;
|
|
1185
1582
|
/**
|
|
1186
|
-
*
|
|
1583
|
+
* 页数
|
|
1187
1584
|
*/
|
|
1188
|
-
|
|
1585
|
+
PageNumber?: number;
|
|
1586
|
+
/**
|
|
1587
|
+
* 企业ID
|
|
1588
|
+
*/
|
|
1589
|
+
CorpId?: number;
|
|
1590
|
+
/**
|
|
1591
|
+
* 码规则状态 0:未生效 1:已生效 -1:已失效
|
|
1592
|
+
*/
|
|
1593
|
+
Status?: number;
|
|
1594
|
+
/**
|
|
1595
|
+
* 商户ID
|
|
1596
|
+
*/
|
|
1597
|
+
MerchantId?: string;
|
|
1189
1598
|
}
|
|
1190
1599
|
/**
|
|
1191
1600
|
* CreateProduct请求参数结构体
|
|
@@ -1225,117 +1634,146 @@ export interface CreateProductRequest {
|
|
|
1225
1634
|
Ext?: Ext;
|
|
1226
1635
|
}
|
|
1227
1636
|
/**
|
|
1228
|
-
*
|
|
1637
|
+
* ModifyCodeBatch请求参数结构体
|
|
1229
1638
|
*/
|
|
1230
|
-
export interface
|
|
1639
|
+
export interface ModifyCodeBatchRequest {
|
|
1231
1640
|
/**
|
|
1232
|
-
*
|
|
1641
|
+
* 批次ID
|
|
1233
1642
|
*/
|
|
1234
|
-
|
|
1643
|
+
BatchId: string;
|
|
1235
1644
|
/**
|
|
1236
|
-
*
|
|
1645
|
+
* 企业ID
|
|
1237
1646
|
*/
|
|
1238
|
-
|
|
1647
|
+
CorpId?: number;
|
|
1648
|
+
/**
|
|
1649
|
+
* 状态 0: 未激活 1: 已激活 -1: 已冻结
|
|
1650
|
+
*/
|
|
1651
|
+
Status?: number;
|
|
1652
|
+
/**
|
|
1653
|
+
* 模板ID
|
|
1654
|
+
*/
|
|
1655
|
+
MpTpl?: string;
|
|
1656
|
+
/**
|
|
1657
|
+
* 商户ID
|
|
1658
|
+
*/
|
|
1659
|
+
MerchantId?: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* 商品ID
|
|
1662
|
+
*/
|
|
1663
|
+
ProductId?: string;
|
|
1664
|
+
/**
|
|
1665
|
+
* 备注
|
|
1666
|
+
*/
|
|
1667
|
+
Remark?: string;
|
|
1239
1668
|
}
|
|
1240
1669
|
/**
|
|
1241
|
-
*
|
|
1670
|
+
* DescribeProductById请求参数结构体
|
|
1242
1671
|
*/
|
|
1243
|
-
export interface
|
|
1672
|
+
export interface DescribeProductByIdRequest {
|
|
1244
1673
|
/**
|
|
1245
|
-
*
|
|
1674
|
+
* 商品ID
|
|
1246
1675
|
*/
|
|
1247
|
-
|
|
1676
|
+
ProductId: string;
|
|
1248
1677
|
/**
|
|
1249
|
-
*
|
|
1678
|
+
* 企业ID
|
|
1250
1679
|
*/
|
|
1251
|
-
|
|
1680
|
+
CorpId?: number;
|
|
1252
1681
|
}
|
|
1253
1682
|
/**
|
|
1254
|
-
*
|
|
1683
|
+
* DescribeTraceCodes返回参数结构体
|
|
1255
1684
|
*/
|
|
1256
|
-
export interface
|
|
1257
|
-
/**
|
|
1258
|
-
* 商户ID
|
|
1259
|
-
*/
|
|
1260
|
-
MerchantId: string;
|
|
1685
|
+
export interface DescribeTraceCodesResponse {
|
|
1261
1686
|
/**
|
|
1262
|
-
*
|
|
1687
|
+
* 标识列表
|
|
1688
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1263
1689
|
*/
|
|
1264
|
-
|
|
1690
|
+
TraceCodes: Array<TraceCode>;
|
|
1265
1691
|
/**
|
|
1266
|
-
*
|
|
1692
|
+
* 条数
|
|
1693
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1267
1694
|
*/
|
|
1268
|
-
|
|
1695
|
+
TotalCount: number;
|
|
1269
1696
|
/**
|
|
1270
|
-
*
|
|
1697
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1271
1698
|
*/
|
|
1272
|
-
|
|
1699
|
+
RequestId?: string;
|
|
1700
|
+
}
|
|
1701
|
+
/**
|
|
1702
|
+
* CreateTraceCodes返回参数结构体
|
|
1703
|
+
*/
|
|
1704
|
+
export interface CreateTraceCodesResponse {
|
|
1273
1705
|
/**
|
|
1274
|
-
*
|
|
1706
|
+
* 批次ID
|
|
1275
1707
|
*/
|
|
1276
|
-
|
|
1708
|
+
BatchId: string;
|
|
1277
1709
|
/**
|
|
1278
|
-
*
|
|
1710
|
+
* 导入成功码数量
|
|
1279
1711
|
*/
|
|
1280
|
-
|
|
1712
|
+
ActiveCnt: number;
|
|
1281
1713
|
/**
|
|
1282
|
-
*
|
|
1714
|
+
* 批次码数量
|
|
1283
1715
|
*/
|
|
1284
|
-
|
|
1716
|
+
CodeCnt: number;
|
|
1285
1717
|
/**
|
|
1286
|
-
*
|
|
1718
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1287
1719
|
*/
|
|
1288
|
-
|
|
1720
|
+
RequestId?: string;
|
|
1289
1721
|
}
|
|
1290
1722
|
/**
|
|
1291
|
-
*
|
|
1723
|
+
* DeleteTraceData请求参数结构体
|
|
1292
1724
|
*/
|
|
1293
|
-
export interface
|
|
1725
|
+
export interface DeleteTraceDataRequest {
|
|
1294
1726
|
/**
|
|
1295
|
-
*
|
|
1727
|
+
* 溯源ID
|
|
1296
1728
|
*/
|
|
1297
|
-
|
|
1729
|
+
TraceId: string;
|
|
1298
1730
|
/**
|
|
1299
|
-
*
|
|
1731
|
+
* 企业ID
|
|
1300
1732
|
*/
|
|
1301
|
-
|
|
1733
|
+
CorpId?: number;
|
|
1734
|
+
}
|
|
1735
|
+
/**
|
|
1736
|
+
* 商户信息
|
|
1737
|
+
*/
|
|
1738
|
+
export interface Merchant {
|
|
1302
1739
|
/**
|
|
1303
|
-
*
|
|
1740
|
+
* 商户标识码
|
|
1304
1741
|
*/
|
|
1305
|
-
|
|
1742
|
+
MerchantId: string;
|
|
1306
1743
|
/**
|
|
1307
|
-
*
|
|
1744
|
+
* 企业id
|
|
1308
1745
|
*/
|
|
1309
|
-
|
|
1746
|
+
CorpId: number;
|
|
1310
1747
|
/**
|
|
1311
|
-
*
|
|
1748
|
+
* 商户名称
|
|
1312
1749
|
*/
|
|
1313
|
-
|
|
1750
|
+
Name: string;
|
|
1314
1751
|
/**
|
|
1315
1752
|
* 备注
|
|
1753
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1316
1754
|
*/
|
|
1317
|
-
Remark
|
|
1755
|
+
Remark: string;
|
|
1318
1756
|
/**
|
|
1319
|
-
*
|
|
1757
|
+
* 创建时间
|
|
1320
1758
|
*/
|
|
1321
|
-
|
|
1759
|
+
CreateTime: string;
|
|
1322
1760
|
/**
|
|
1323
|
-
*
|
|
1761
|
+
* 更新时间
|
|
1324
1762
|
*/
|
|
1325
|
-
|
|
1326
|
-
}
|
|
1327
|
-
/**
|
|
1328
|
-
* ModifyCodeBatch返回参数结构体
|
|
1329
|
-
*/
|
|
1330
|
-
export interface ModifyCodeBatchResponse {
|
|
1763
|
+
UpdateTime: string;
|
|
1331
1764
|
/**
|
|
1332
|
-
*
|
|
1765
|
+
* 商户码规则
|
|
1333
1766
|
*/
|
|
1334
|
-
|
|
1767
|
+
CodeRule: string;
|
|
1335
1768
|
/**
|
|
1336
|
-
*
|
|
1769
|
+
* 码来源类型 0: 安心平台 1: 第三方码
|
|
1337
1770
|
*/
|
|
1338
|
-
|
|
1771
|
+
CodeType: number;
|
|
1772
|
+
/**
|
|
1773
|
+
* 第三方码域名前缀
|
|
1774
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1775
|
+
*/
|
|
1776
|
+
CodeUrl: string;
|
|
1339
1777
|
}
|
|
1340
1778
|
/**
|
|
1341
1779
|
* 商品信息
|
|
@@ -1395,25 +1833,9 @@ export interface Product {
|
|
|
1395
1833
|
MerchantName: string;
|
|
1396
1834
|
}
|
|
1397
1835
|
/**
|
|
1398
|
-
*
|
|
1836
|
+
* DescribeTmpToken请求参数结构体
|
|
1399
1837
|
*/
|
|
1400
|
-
export interface
|
|
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;
|
|
1838
|
+
export interface DescribeTmpTokenRequest {
|
|
1417
1839
|
/**
|
|
1418
1840
|
* 企业ID
|
|
1419
1841
|
*/
|
|
@@ -1469,62 +1891,185 @@ export interface TraceCode {
|
|
|
1469
1891
|
ProductName: string;
|
|
1470
1892
|
}
|
|
1471
1893
|
/**
|
|
1472
|
-
*
|
|
1894
|
+
* CreateMerchant返回参数结构体
|
|
1473
1895
|
*/
|
|
1474
|
-
export interface
|
|
1896
|
+
export interface CreateMerchantResponse {
|
|
1897
|
+
/**
|
|
1898
|
+
* 商户标识码
|
|
1899
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1900
|
+
*/
|
|
1901
|
+
MerchantId: string;
|
|
1475
1902
|
/**
|
|
1476
1903
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1477
1904
|
*/
|
|
1478
1905
|
RequestId?: string;
|
|
1479
1906
|
}
|
|
1480
1907
|
/**
|
|
1481
|
-
*
|
|
1908
|
+
* DescribeMerchants返回参数结构体
|
|
1482
1909
|
*/
|
|
1483
|
-
export interface
|
|
1910
|
+
export interface DescribeMerchantsResponse {
|
|
1484
1911
|
/**
|
|
1485
|
-
*
|
|
1912
|
+
* 商户列表
|
|
1486
1913
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1487
1914
|
*/
|
|
1488
|
-
|
|
1915
|
+
Merchants: Array<Merchant>;
|
|
1489
1916
|
/**
|
|
1490
|
-
*
|
|
1917
|
+
* 总数
|
|
1491
1918
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1492
1919
|
*/
|
|
1493
|
-
|
|
1920
|
+
TotalCount: number;
|
|
1494
1921
|
/**
|
|
1495
|
-
*
|
|
1922
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1923
|
+
*/
|
|
1924
|
+
RequestId?: string;
|
|
1925
|
+
}
|
|
1926
|
+
/**
|
|
1927
|
+
* DescribeTraceDataList请求参数结构体
|
|
1928
|
+
*/
|
|
1929
|
+
export interface DescribeTraceDataListRequest {
|
|
1930
|
+
/**
|
|
1931
|
+
* 企业ID
|
|
1932
|
+
*/
|
|
1933
|
+
CorpId?: number;
|
|
1934
|
+
/**
|
|
1935
|
+
* 批次ID
|
|
1936
|
+
*/
|
|
1937
|
+
BatchId?: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* 任务ID 用于外部溯源
|
|
1940
|
+
*/
|
|
1941
|
+
TaskId?: string;
|
|
1942
|
+
/**
|
|
1943
|
+
* 页数
|
|
1944
|
+
*/
|
|
1945
|
+
PageNumber?: number;
|
|
1946
|
+
/**
|
|
1947
|
+
* 二维码
|
|
1948
|
+
*/
|
|
1949
|
+
Code?: string;
|
|
1950
|
+
/**
|
|
1951
|
+
* 溯源阶段 0:商品 1:通用 2:内部溯源 3:外部溯源
|
|
1952
|
+
*/
|
|
1953
|
+
Phase?: number;
|
|
1954
|
+
/**
|
|
1955
|
+
* 数量
|
|
1956
|
+
*/
|
|
1957
|
+
PageSize?: number;
|
|
1958
|
+
}
|
|
1959
|
+
/**
|
|
1960
|
+
* DeleteMerchant返回参数结构体
|
|
1961
|
+
*/
|
|
1962
|
+
export interface DeleteMerchantResponse {
|
|
1963
|
+
/**
|
|
1964
|
+
* 商户标识码
|
|
1496
1965
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1497
1966
|
*/
|
|
1498
|
-
|
|
1967
|
+
MerchantId: string;
|
|
1968
|
+
/**
|
|
1969
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1970
|
+
*/
|
|
1971
|
+
RequestId?: string;
|
|
1499
1972
|
}
|
|
1500
1973
|
/**
|
|
1501
|
-
*
|
|
1974
|
+
* DeleteCodeBatch返回参数结构体
|
|
1502
1975
|
*/
|
|
1503
|
-
export interface
|
|
1976
|
+
export interface DeleteCodeBatchResponse {
|
|
1504
1977
|
/**
|
|
1505
|
-
*
|
|
1978
|
+
* 批次ID
|
|
1506
1979
|
*/
|
|
1507
|
-
|
|
1980
|
+
BatchId: string;
|
|
1508
1981
|
/**
|
|
1509
|
-
*
|
|
1982
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1510
1983
|
*/
|
|
1511
|
-
|
|
1984
|
+
RequestId?: string;
|
|
1985
|
+
}
|
|
1986
|
+
/**
|
|
1987
|
+
* CreateTraceChain请求参数结构体
|
|
1988
|
+
*/
|
|
1989
|
+
export interface CreateTraceChainRequest {
|
|
1512
1990
|
/**
|
|
1513
|
-
*
|
|
1991
|
+
* 企业ID
|
|
1514
1992
|
*/
|
|
1515
|
-
|
|
1993
|
+
CorpId?: number;
|
|
1516
1994
|
/**
|
|
1517
|
-
*
|
|
1995
|
+
* 溯源ID
|
|
1518
1996
|
*/
|
|
1519
|
-
|
|
1997
|
+
TraceId?: string;
|
|
1998
|
+
}
|
|
1999
|
+
/**
|
|
2000
|
+
* DescribeMerchantById请求参数结构体
|
|
2001
|
+
*/
|
|
2002
|
+
export interface DescribeMerchantByIdRequest {
|
|
1520
2003
|
/**
|
|
1521
|
-
*
|
|
2004
|
+
* 商户标识码
|
|
1522
2005
|
*/
|
|
1523
|
-
|
|
2006
|
+
MerchantId: string;
|
|
1524
2007
|
/**
|
|
1525
|
-
*
|
|
2008
|
+
* 企业ID
|
|
1526
2009
|
*/
|
|
1527
|
-
|
|
2010
|
+
CorpId?: number;
|
|
2011
|
+
}
|
|
2012
|
+
/**
|
|
2013
|
+
* DescribeProductById返回参数结构体
|
|
2014
|
+
*/
|
|
2015
|
+
export interface DescribeProductByIdResponse {
|
|
2016
|
+
/**
|
|
2017
|
+
* 商品信息
|
|
2018
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2019
|
+
*/
|
|
2020
|
+
Product: Product;
|
|
2021
|
+
/**
|
|
2022
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2023
|
+
*/
|
|
2024
|
+
RequestId?: string;
|
|
2025
|
+
}
|
|
2026
|
+
/**
|
|
2027
|
+
* DescribeCodePacks请求参数结构体
|
|
2028
|
+
*/
|
|
2029
|
+
export interface DescribeCodePacksRequest {
|
|
2030
|
+
/**
|
|
2031
|
+
* 每页数量
|
|
2032
|
+
*/
|
|
2033
|
+
PageSize?: number;
|
|
2034
|
+
/**
|
|
2035
|
+
* 页数
|
|
2036
|
+
*/
|
|
2037
|
+
PageNumber?: number;
|
|
2038
|
+
/**
|
|
2039
|
+
* 查询关键字
|
|
2040
|
+
*/
|
|
2041
|
+
Keyword?: string;
|
|
2042
|
+
/**
|
|
2043
|
+
* 企业ID
|
|
2044
|
+
*/
|
|
2045
|
+
CorpId?: number;
|
|
2046
|
+
}
|
|
2047
|
+
/**
|
|
2048
|
+
* DescribeJobFileUrl返回参数结构体
|
|
2049
|
+
*/
|
|
2050
|
+
export interface DescribeJobFileUrlResponse {
|
|
2051
|
+
/**
|
|
2052
|
+
* 码包地址
|
|
2053
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2054
|
+
*/
|
|
2055
|
+
Url: string;
|
|
2056
|
+
/**
|
|
2057
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2058
|
+
*/
|
|
2059
|
+
RequestId?: string;
|
|
2060
|
+
}
|
|
2061
|
+
/**
|
|
2062
|
+
* DescribeTraceCodeById请求参数结构体
|
|
2063
|
+
*/
|
|
2064
|
+
export interface DescribeTraceCodeByIdRequest {
|
|
2065
|
+
/**
|
|
2066
|
+
* 企业ID
|
|
2067
|
+
*/
|
|
2068
|
+
CorpId?: number;
|
|
2069
|
+
/**
|
|
2070
|
+
* 二维码
|
|
2071
|
+
*/
|
|
2072
|
+
Code?: string;
|
|
1528
2073
|
}
|
|
1529
2074
|
/**
|
|
1530
2075
|
* DeleteMerchant请求参数结构体
|
|
@@ -1540,13 +2085,46 @@ export interface DeleteMerchantRequest {
|
|
|
1540
2085
|
CorpId?: number;
|
|
1541
2086
|
}
|
|
1542
2087
|
/**
|
|
1543
|
-
*
|
|
2088
|
+
* ModifyTraceCode返回参数结构体
|
|
1544
2089
|
*/
|
|
1545
|
-
export interface
|
|
2090
|
+
export interface ModifyTraceCodeResponse {
|
|
1546
2091
|
/**
|
|
1547
|
-
*
|
|
2092
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1548
2093
|
*/
|
|
1549
|
-
|
|
2094
|
+
RequestId?: string;
|
|
2095
|
+
}
|
|
2096
|
+
/**
|
|
2097
|
+
* DescribeCodePackUrl返回参数结构体
|
|
2098
|
+
*/
|
|
2099
|
+
export interface DescribeCodePackUrlResponse {
|
|
2100
|
+
/**
|
|
2101
|
+
* 文字码包地址
|
|
2102
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2103
|
+
*/
|
|
2104
|
+
Url: string;
|
|
2105
|
+
/**
|
|
2106
|
+
* 图片码包地址,可能为空
|
|
2107
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2108
|
+
*/
|
|
2109
|
+
ImgUrl: string;
|
|
2110
|
+
/**
|
|
2111
|
+
* 文字码包Key,用于上传导入
|
|
2112
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2113
|
+
*/
|
|
2114
|
+
FileKey: string;
|
|
2115
|
+
/**
|
|
2116
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2117
|
+
*/
|
|
2118
|
+
RequestId?: string;
|
|
2119
|
+
}
|
|
2120
|
+
/**
|
|
2121
|
+
* ModifyCodeBatch返回参数结构体
|
|
2122
|
+
*/
|
|
2123
|
+
export interface ModifyCodeBatchResponse {
|
|
2124
|
+
/**
|
|
2125
|
+
* 批次ID
|
|
2126
|
+
*/
|
|
2127
|
+
BatchId: string;
|
|
1550
2128
|
/**
|
|
1551
2129
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1552
2130
|
*/
|