@chenchaolong/plugin-trade-compliance-workbench 1.0.257 → 1.0.259

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/lib/domain/purchase-pricing.d.ts +1 -0
  2. package/dist/lib/domain/purchase-pricing.d.ts.map +1 -1
  3. package/dist/lib/domain/purchase-pricing.js +4 -2
  4. package/dist/lib/domain/purchase-pricing.js.map +1 -1
  5. package/dist/lib/import-jobs/agent-handoff.dispatcher.d.ts.map +1 -1
  6. package/dist/lib/import-jobs/agent-handoff.dispatcher.js +2 -1
  7. package/dist/lib/import-jobs/agent-handoff.dispatcher.js.map +1 -1
  8. package/dist/lib/import-jobs/contract-result-recovery.d.ts +2 -1
  9. package/dist/lib/import-jobs/contract-result-recovery.d.ts.map +1 -1
  10. package/dist/lib/import-jobs/contract-result-recovery.js +6 -2
  11. package/dist/lib/import-jobs/contract-result-recovery.js.map +1 -1
  12. package/dist/lib/import-jobs/contracts.d.ts +1 -0
  13. package/dist/lib/import-jobs/contracts.d.ts.map +1 -1
  14. package/dist/lib/import-jobs/contracts.js.map +1 -1
  15. package/dist/lib/import-jobs/import-job-callback.processor.d.ts.map +1 -1
  16. package/dist/lib/import-jobs/import-job-callback.processor.js +38 -19
  17. package/dist/lib/import-jobs/import-job-callback.processor.js.map +1 -1
  18. package/dist/lib/import-jobs/import-job.processor.d.ts.map +1 -1
  19. package/dist/lib/import-jobs/import-job.processor.js +64 -18
  20. package/dist/lib/import-jobs/import-job.processor.js.map +1 -1
  21. package/dist/lib/import-jobs/source-field-recovery.d.ts.map +1 -1
  22. package/dist/lib/import-jobs/source-field-recovery.js +6 -3
  23. package/dist/lib/import-jobs/source-field-recovery.js.map +1 -1
  24. package/dist/lib/import-jobs/spreadsheet-contract-facts.d.ts.map +1 -1
  25. package/dist/lib/import-jobs/spreadsheet-contract-facts.js +5 -1
  26. package/dist/lib/import-jobs/spreadsheet-contract-facts.js.map +1 -1
  27. package/dist/lib/invoice/source-layout.d.ts +19 -0
  28. package/dist/lib/invoice/source-layout.d.ts.map +1 -1
  29. package/dist/lib/invoice/source-layout.js +48 -3
  30. package/dist/lib/invoice/source-layout.js.map +1 -1
  31. package/dist/lib/packing/packing-binding.d.ts +4 -0
  32. package/dist/lib/packing/packing-binding.d.ts.map +1 -1
  33. package/dist/lib/packing/packing-binding.js +20 -4
  34. package/dist/lib/packing/packing-binding.js.map +1 -1
  35. package/dist/lib/packing/supplier-packing.service.d.ts.map +1 -1
  36. package/dist/lib/packing/supplier-packing.service.js +10 -4
  37. package/dist/lib/packing/supplier-packing.service.js.map +1 -1
  38. package/dist/lib/remote-components/trade-compliance-workbench/app.js +4 -4
  39. package/dist/lib/remote-ui/components/supplier-materials.d.ts +2 -1
  40. package/dist/lib/remote-ui/components/supplier-materials.d.ts.map +1 -1
  41. package/dist/lib/remote-ui/components/supplier-materials.js +24 -5
  42. package/dist/lib/remote-ui/components/supplier-materials.js.map +1 -1
  43. package/dist/lib/remote-ui/import-task-status.d.ts +2 -2
  44. package/dist/lib/sales-file.service.d.ts.map +1 -1
  45. package/dist/lib/sales-file.service.js +25 -7
  46. package/dist/lib/sales-file.service.js.map +1 -1
  47. package/dist/lib/supplier-materials/customs-packaging-recovery.d.ts +1 -1
  48. package/dist/lib/supplier-materials/customs-packaging-recovery.d.ts.map +1 -1
  49. package/dist/lib/supplier-materials/customs-packaging-recovery.js +13 -5
  50. package/dist/lib/supplier-materials/customs-packaging-recovery.js.map +1 -1
  51. package/dist/lib/supplier-materials/customs-source-fields.d.ts.map +1 -1
  52. package/dist/lib/supplier-materials/customs-source-fields.js +14 -10
  53. package/dist/lib/supplier-materials/customs-source-fields.js.map +1 -1
  54. package/dist/lib/supplier-materials/generation-materials.d.ts +2 -0
  55. package/dist/lib/supplier-materials/generation-materials.d.ts.map +1 -1
  56. package/dist/lib/supplier-materials/generation-materials.js +17 -0
  57. package/dist/lib/supplier-materials/generation-materials.js.map +1 -1
  58. package/dist/lib/supplier-materials/supplier-materials.d.ts +15 -6
  59. package/dist/lib/supplier-materials/supplier-materials.d.ts.map +1 -1
  60. package/dist/lib/supplier-materials/supplier-materials.js +109 -33
  61. package/dist/lib/supplier-materials/supplier-materials.js.map +1 -1
  62. package/dist/lib/types.d.ts +1 -0
  63. package/dist/lib/types.d.ts.map +1 -1
  64. package/dist/lib/types.js.map +1 -1
  65. package/dist/lib/workbench-view.provider.d.ts +1 -1
  66. package/dist/lib/workbench.middleware.d.ts +114 -114
  67. package/dist/lib/workbench.service.d.ts +22 -9
  68. package/dist/lib/workbench.service.d.ts.map +1 -1
  69. package/dist/lib/workbench.service.js +32 -18
  70. package/dist/lib/workbench.service.js.map +1 -1
  71. package/package.json +1 -1
@@ -158,6 +158,8 @@ export declare class TradeComplianceWorkbenchMiddleware {
158
158
  originalControlDescription?: string | undefined;
159
159
  }>, "many">;
160
160
  }, "strip", z.ZodTypeAny, {
161
+ sourceFileName: string;
162
+ sourceFileId: string;
161
163
  rows: ({
162
164
  translationSource: "SOURCE_CHINESE";
163
165
  productName?: string | undefined;
@@ -177,12 +179,12 @@ export declare class TradeComplianceWorkbenchMiddleware {
177
179
  originalProductName?: string | undefined;
178
180
  originalControlDescription?: string | undefined;
179
181
  })[];
180
- sourceFileName: string;
181
- sourceFileId: string;
182
182
  importTaskId: string;
183
183
  catalogType: "DUAL_USE" | "OVERSEAS_SANCTION";
184
184
  replaceBatchId?: string | undefined;
185
185
  }, {
186
+ sourceFileName: string;
187
+ sourceFileId: string;
186
188
  rows: ({
187
189
  translationSource: "SOURCE_CHINESE";
188
190
  productName?: string | undefined;
@@ -202,12 +204,12 @@ export declare class TradeComplianceWorkbenchMiddleware {
202
204
  originalProductName?: string | undefined;
203
205
  originalControlDescription?: string | undefined;
204
206
  })[];
205
- sourceFileName: string;
206
- sourceFileId: string;
207
207
  importTaskId: string;
208
208
  catalogType: "DUAL_USE" | "OVERSEAS_SANCTION";
209
209
  replaceBatchId?: string | undefined;
210
210
  }>, {
211
+ sourceFileName: string;
212
+ sourceFileId: string;
211
213
  rows: ({
212
214
  translationSource: "SOURCE_CHINESE";
213
215
  productName?: string | undefined;
@@ -227,12 +229,12 @@ export declare class TradeComplianceWorkbenchMiddleware {
227
229
  originalProductName?: string | undefined;
228
230
  originalControlDescription?: string | undefined;
229
231
  })[];
230
- sourceFileName: string;
231
- sourceFileId: string;
232
232
  importTaskId: string;
233
233
  catalogType: "DUAL_USE" | "OVERSEAS_SANCTION";
234
234
  replaceBatchId?: string | undefined;
235
235
  }, {
236
+ sourceFileName: string;
237
+ sourceFileId: string;
236
238
  rows: ({
237
239
  translationSource: "SOURCE_CHINESE";
238
240
  productName?: string | undefined;
@@ -252,8 +254,6 @@ export declare class TradeComplianceWorkbenchMiddleware {
252
254
  originalProductName?: string | undefined;
253
255
  originalControlDescription?: string | undefined;
254
256
  })[];
255
- sourceFileName: string;
256
- sourceFileId: string;
257
257
  importTaskId: string;
258
258
  catalogType: "DUAL_USE" | "OVERSEAS_SANCTION";
259
259
  replaceBatchId?: string | undefined;
@@ -273,6 +273,7 @@ export declare class TradeComplianceWorkbenchMiddleware {
273
273
  sourceLocation: z.ZodOptional<z.ZodString>;
274
274
  sourceContent: z.ZodOptional<z.ZodString>;
275
275
  }, "strip", z.ZodTypeAny, {
276
+ remarks?: string | undefined;
276
277
  sourceLocation?: string | undefined;
277
278
  sourceContent?: string | undefined;
278
279
  subjectKind?: "ENTITY" | "PERSON" | undefined;
@@ -281,8 +282,8 @@ export declare class TradeComplianceWorkbenchMiddleware {
281
282
  sanctionListSource?: string | undefined;
282
283
  sanctionReason?: string | undefined;
283
284
  effectiveDate?: string | undefined;
284
- remarks?: string | undefined;
285
285
  }, {
286
+ remarks?: string | undefined;
286
287
  sourceLocation?: string | undefined;
287
288
  sourceContent?: string | undefined;
288
289
  subjectKind?: "ENTITY" | "PERSON" | undefined;
@@ -291,10 +292,12 @@ export declare class TradeComplianceWorkbenchMiddleware {
291
292
  sanctionListSource?: string | undefined;
292
293
  sanctionReason?: string | undefined;
293
294
  effectiveDate?: string | undefined;
294
- remarks?: string | undefined;
295
295
  }>, "many">;
296
296
  }, "strip", z.ZodTypeAny, {
297
+ sourceFileName: string;
298
+ sourceFileId: string;
297
299
  rows: {
300
+ remarks?: string | undefined;
298
301
  sourceLocation?: string | undefined;
299
302
  sourceContent?: string | undefined;
300
303
  subjectKind?: "ENTITY" | "PERSON" | undefined;
@@ -303,14 +306,14 @@ export declare class TradeComplianceWorkbenchMiddleware {
303
306
  sanctionListSource?: string | undefined;
304
307
  sanctionReason?: string | undefined;
305
308
  effectiveDate?: string | undefined;
306
- remarks?: string | undefined;
307
309
  }[];
308
- sourceFileName: string;
309
- sourceFileId: string;
310
310
  importTaskId: string;
311
311
  replaceBatchId?: string | undefined;
312
312
  }, {
313
+ sourceFileName: string;
314
+ sourceFileId: string;
313
315
  rows: {
316
+ remarks?: string | undefined;
314
317
  sourceLocation?: string | undefined;
315
318
  sourceContent?: string | undefined;
316
319
  subjectKind?: "ENTITY" | "PERSON" | undefined;
@@ -319,14 +322,14 @@ export declare class TradeComplianceWorkbenchMiddleware {
319
322
  sanctionListSource?: string | undefined;
320
323
  sanctionReason?: string | undefined;
321
324
  effectiveDate?: string | undefined;
322
- remarks?: string | undefined;
323
325
  }[];
324
- sourceFileName: string;
325
- sourceFileId: string;
326
326
  importTaskId: string;
327
327
  replaceBatchId?: string | undefined;
328
328
  }>, {
329
+ sourceFileName: string;
330
+ sourceFileId: string;
329
331
  rows: {
332
+ remarks?: string | undefined;
330
333
  sourceLocation?: string | undefined;
331
334
  sourceContent?: string | undefined;
332
335
  subjectKind?: "ENTITY" | "PERSON" | undefined;
@@ -335,14 +338,14 @@ export declare class TradeComplianceWorkbenchMiddleware {
335
338
  sanctionListSource?: string | undefined;
336
339
  sanctionReason?: string | undefined;
337
340
  effectiveDate?: string | undefined;
338
- remarks?: string | undefined;
339
341
  }[];
340
- sourceFileName: string;
341
- sourceFileId: string;
342
342
  importTaskId: string;
343
343
  replaceBatchId?: string | undefined;
344
344
  }, {
345
+ sourceFileName: string;
346
+ sourceFileId: string;
345
347
  rows: {
348
+ remarks?: string | undefined;
346
349
  sourceLocation?: string | undefined;
347
350
  sourceContent?: string | undefined;
348
351
  subjectKind?: "ENTITY" | "PERSON" | undefined;
@@ -351,10 +354,7 @@ export declare class TradeComplianceWorkbenchMiddleware {
351
354
  sanctionListSource?: string | undefined;
352
355
  sanctionReason?: string | undefined;
353
356
  effectiveDate?: string | undefined;
354
- remarks?: string | undefined;
355
357
  }[];
356
- sourceFileName: string;
357
- sourceFileId: string;
358
358
  importTaskId: string;
359
359
  replaceBatchId?: string | undefined;
360
360
  }, string> | import("@langchain/core/tools").DynamicStructuredTool<z.ZodObject<{
@@ -546,7 +546,6 @@ export declare class TradeComplianceWorkbenchMiddleware {
546
546
  sourceContent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
547
547
  }, z.ZodTypeAny, "passthrough">>, "many">;
548
548
  }, "strip", z.ZodTypeAny, {
549
- importTaskId: string;
550
549
  lines: z.objectOutputType<{
551
550
  lineNumber: z.ZodOptional<z.ZodNumber>;
552
551
  productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -573,17 +572,18 @@ export declare class TradeComplianceWorkbenchMiddleware {
573
572
  sourceLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
574
573
  sourceContent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
574
  }, z.ZodTypeAny, "passthrough">[];
575
+ importTaskId: string;
576
576
  order: {
577
577
  number?: string | null | undefined;
578
+ totalAmount?: string | number | null | undefined;
579
+ amount?: string | number | null | undefined;
578
580
  contractNo?: string | null | undefined;
581
+ currency?: string | null | undefined;
579
582
  orderDate?: string | null | undefined;
580
583
  contractAmountCny?: string | number | null | undefined;
581
584
  paidAmountCny?: string | number | null | undefined;
582
585
  refundedAmountCny?: string | number | null | undefined;
583
- currency?: string | null | undefined;
584
586
  date?: string | null | undefined;
585
- totalAmount?: string | number | null | undefined;
586
- amount?: string | number | null | undefined;
587
587
  contractDate?: string | null | undefined;
588
588
  paymentTerm?: string | null | undefined;
589
589
  } & {
@@ -591,10 +591,10 @@ export declare class TradeComplianceWorkbenchMiddleware {
591
591
  };
592
592
  supplier: {
593
593
  code?: string | null | undefined;
594
- countryOrRegion?: string | null | undefined;
595
594
  name?: string | null | undefined;
596
- shortName?: string | null | undefined;
597
595
  address?: string | null | undefined;
596
+ countryOrRegion?: string | null | undefined;
597
+ shortName?: string | null | undefined;
598
598
  contactName?: string | null | undefined;
599
599
  phone?: string | null | undefined;
600
600
  wechat?: string | null | undefined;
@@ -616,7 +616,6 @@ export declare class TradeComplianceWorkbenchMiddleware {
616
616
  [k: string]: unknown;
617
617
  };
618
618
  }, {
619
- importTaskId: string;
620
619
  lines: z.objectInputType<{
621
620
  lineNumber: z.ZodOptional<z.ZodNumber>;
622
621
  productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -643,17 +642,18 @@ export declare class TradeComplianceWorkbenchMiddleware {
643
642
  sourceLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
644
643
  sourceContent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
645
644
  }, z.ZodTypeAny, "passthrough">[];
645
+ importTaskId: string;
646
646
  order: {
647
647
  number?: string | null | undefined;
648
+ totalAmount?: string | number | null | undefined;
649
+ amount?: string | number | null | undefined;
648
650
  contractNo?: string | null | undefined;
651
+ currency?: string | null | undefined;
649
652
  orderDate?: string | null | undefined;
650
653
  contractAmountCny?: string | number | null | undefined;
651
654
  paidAmountCny?: string | number | null | undefined;
652
655
  refundedAmountCny?: string | number | null | undefined;
653
- currency?: string | null | undefined;
654
656
  date?: string | null | undefined;
655
- totalAmount?: string | number | null | undefined;
656
- amount?: string | number | null | undefined;
657
657
  contractDate?: string | null | undefined;
658
658
  paymentTerm?: string | null | undefined;
659
659
  } & {
@@ -661,10 +661,10 @@ export declare class TradeComplianceWorkbenchMiddleware {
661
661
  };
662
662
  supplier: {
663
663
  code?: string | null | undefined;
664
- countryOrRegion?: string | null | undefined;
665
664
  name?: string | null | undefined;
666
- shortName?: string | null | undefined;
667
665
  address?: string | null | undefined;
666
+ countryOrRegion?: string | null | undefined;
667
+ shortName?: string | null | undefined;
668
668
  contactName?: string | null | undefined;
669
669
  phone?: string | null | undefined;
670
670
  wechat?: string | null | undefined;
@@ -686,7 +686,6 @@ export declare class TradeComplianceWorkbenchMiddleware {
686
686
  [k: string]: unknown;
687
687
  };
688
688
  }>, {
689
- importTaskId: string;
690
689
  lines: z.objectOutputType<{
691
690
  lineNumber: z.ZodOptional<z.ZodNumber>;
692
691
  productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -713,17 +712,18 @@ export declare class TradeComplianceWorkbenchMiddleware {
713
712
  sourceLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
714
713
  sourceContent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
715
714
  }, z.ZodTypeAny, "passthrough">[];
715
+ importTaskId: string;
716
716
  order: {
717
717
  number?: string | null | undefined;
718
+ totalAmount?: string | number | null | undefined;
719
+ amount?: string | number | null | undefined;
718
720
  contractNo?: string | null | undefined;
721
+ currency?: string | null | undefined;
719
722
  orderDate?: string | null | undefined;
720
723
  contractAmountCny?: string | number | null | undefined;
721
724
  paidAmountCny?: string | number | null | undefined;
722
725
  refundedAmountCny?: string | number | null | undefined;
723
- currency?: string | null | undefined;
724
726
  date?: string | null | undefined;
725
- totalAmount?: string | number | null | undefined;
726
- amount?: string | number | null | undefined;
727
727
  contractDate?: string | null | undefined;
728
728
  paymentTerm?: string | null | undefined;
729
729
  } & {
@@ -731,10 +731,10 @@ export declare class TradeComplianceWorkbenchMiddleware {
731
731
  };
732
732
  supplier: {
733
733
  code?: string | null | undefined;
734
- countryOrRegion?: string | null | undefined;
735
734
  name?: string | null | undefined;
736
- shortName?: string | null | undefined;
737
735
  address?: string | null | undefined;
736
+ countryOrRegion?: string | null | undefined;
737
+ shortName?: string | null | undefined;
738
738
  contactName?: string | null | undefined;
739
739
  phone?: string | null | undefined;
740
740
  wechat?: string | null | undefined;
@@ -756,7 +756,6 @@ export declare class TradeComplianceWorkbenchMiddleware {
756
756
  [k: string]: unknown;
757
757
  };
758
758
  }, {
759
- importTaskId: string;
760
759
  lines: z.objectInputType<{
761
760
  lineNumber: z.ZodOptional<z.ZodNumber>;
762
761
  productName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -783,17 +782,18 @@ export declare class TradeComplianceWorkbenchMiddleware {
783
782
  sourceLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
784
783
  sourceContent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
785
784
  }, z.ZodTypeAny, "passthrough">[];
785
+ importTaskId: string;
786
786
  order: {
787
787
  number?: string | null | undefined;
788
+ totalAmount?: string | number | null | undefined;
789
+ amount?: string | number | null | undefined;
788
790
  contractNo?: string | null | undefined;
791
+ currency?: string | null | undefined;
789
792
  orderDate?: string | null | undefined;
790
793
  contractAmountCny?: string | number | null | undefined;
791
794
  paidAmountCny?: string | number | null | undefined;
792
795
  refundedAmountCny?: string | number | null | undefined;
793
- currency?: string | null | undefined;
794
796
  date?: string | null | undefined;
795
- totalAmount?: string | number | null | undefined;
796
- amount?: string | number | null | undefined;
797
797
  contractDate?: string | null | undefined;
798
798
  paymentTerm?: string | null | undefined;
799
799
  } & {
@@ -801,10 +801,10 @@ export declare class TradeComplianceWorkbenchMiddleware {
801
801
  };
802
802
  supplier: {
803
803
  code?: string | null | undefined;
804
- countryOrRegion?: string | null | undefined;
805
804
  name?: string | null | undefined;
806
- shortName?: string | null | undefined;
807
805
  address?: string | null | undefined;
806
+ countryOrRegion?: string | null | undefined;
807
+ shortName?: string | null | undefined;
808
808
  contactName?: string | null | undefined;
809
809
  phone?: string | null | undefined;
810
810
  wechat?: string | null | undefined;
@@ -890,11 +890,11 @@ export declare class TradeComplianceWorkbenchMiddleware {
890
890
  }, "strip", z.ZodTypeAny, {
891
891
  value: string;
892
892
  sourceLocation: string;
893
- kind: "CUSTOMER" | "INVOICE" | "PURCHASE";
893
+ kind: "INVOICE" | "PURCHASE" | "CUSTOMER";
894
894
  }, {
895
895
  value: string;
896
896
  sourceLocation: string;
897
- kind: "CUSTOMER" | "INVOICE" | "PURCHASE";
897
+ kind: "INVOICE" | "PURCHASE" | "CUSTOMER";
898
898
  }>, "many">>;
899
899
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
900
900
  contractNo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -907,11 +907,11 @@ export declare class TradeComplianceWorkbenchMiddleware {
907
907
  }, "strip", z.ZodTypeAny, {
908
908
  value: string;
909
909
  sourceLocation: string;
910
- kind: "CUSTOMER" | "INVOICE" | "PURCHASE";
910
+ kind: "INVOICE" | "PURCHASE" | "CUSTOMER";
911
911
  }, {
912
912
  value: string;
913
913
  sourceLocation: string;
914
- kind: "CUSTOMER" | "INVOICE" | "PURCHASE";
914
+ kind: "INVOICE" | "PURCHASE" | "CUSTOMER";
915
915
  }>, "many">>;
916
916
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
917
917
  contractNo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -924,11 +924,11 @@ export declare class TradeComplianceWorkbenchMiddleware {
924
924
  }, "strip", z.ZodTypeAny, {
925
925
  value: string;
926
926
  sourceLocation: string;
927
- kind: "CUSTOMER" | "INVOICE" | "PURCHASE";
927
+ kind: "INVOICE" | "PURCHASE" | "CUSTOMER";
928
928
  }, {
929
929
  value: string;
930
930
  sourceLocation: string;
931
- kind: "CUSTOMER" | "INVOICE" | "PURCHASE";
931
+ kind: "INVOICE" | "PURCHASE" | "CUSTOMER";
932
932
  }>, "many">>;
933
933
  }, z.ZodTypeAny, "passthrough">>;
934
934
  clauses: z.ZodArray<z.ZodObject<{
@@ -972,14 +972,14 @@ export declare class TradeComplianceWorkbenchMiddleware {
972
972
  }, "strip", z.ZodTypeAny, {
973
973
  importTaskId: string;
974
974
  contract: {
975
- contractNo?: string | null | undefined;
976
975
  signedAt?: string | null | undefined;
977
- contractAmountReviewCny?: string | number | null | undefined;
976
+ contractNo?: string | null | undefined;
978
977
  numberCandidates?: {
979
978
  value: string;
980
979
  sourceLocation: string;
981
- kind: "CUSTOMER" | "INVOICE" | "PURCHASE";
980
+ kind: "INVOICE" | "PURCHASE" | "CUSTOMER";
982
981
  }[] | undefined;
982
+ contractAmountReviewCny?: string | number | null | undefined;
983
983
  } & {
984
984
  [k: string]: unknown;
985
985
  };
@@ -992,10 +992,10 @@ export declare class TradeComplianceWorkbenchMiddleware {
992
992
  reviewedText?: string | null | undefined;
993
993
  }[];
994
994
  customer: {
995
- englishName?: string | null | undefined;
996
- countryOrRegion?: string | null | undefined;
997
995
  name?: string | null | undefined;
996
+ englishName?: string | null | undefined;
998
997
  address?: string | null | undefined;
998
+ countryOrRegion?: string | null | undefined;
999
999
  contactName?: string | null | undefined;
1000
1000
  phone?: string | null | undefined;
1001
1001
  email?: string | null | undefined;
@@ -1020,14 +1020,14 @@ export declare class TradeComplianceWorkbenchMiddleware {
1020
1020
  }, {
1021
1021
  importTaskId: string;
1022
1022
  contract: {
1023
- contractNo?: string | null | undefined;
1024
1023
  signedAt?: string | null | undefined;
1025
- contractAmountReviewCny?: string | number | null | undefined;
1024
+ contractNo?: string | null | undefined;
1026
1025
  numberCandidates?: {
1027
1026
  value: string;
1028
1027
  sourceLocation: string;
1029
- kind: "CUSTOMER" | "INVOICE" | "PURCHASE";
1028
+ kind: "INVOICE" | "PURCHASE" | "CUSTOMER";
1030
1029
  }[] | undefined;
1030
+ contractAmountReviewCny?: string | number | null | undefined;
1031
1031
  } & {
1032
1032
  [k: string]: unknown;
1033
1033
  };
@@ -1040,10 +1040,10 @@ export declare class TradeComplianceWorkbenchMiddleware {
1040
1040
  reviewedText?: string | null | undefined;
1041
1041
  }[];
1042
1042
  customer: {
1043
- englishName?: string | null | undefined;
1044
- countryOrRegion?: string | null | undefined;
1045
1043
  name?: string | null | undefined;
1044
+ englishName?: string | null | undefined;
1046
1045
  address?: string | null | undefined;
1046
+ countryOrRegion?: string | null | undefined;
1047
1047
  contactName?: string | null | undefined;
1048
1048
  phone?: string | null | undefined;
1049
1049
  email?: string | null | undefined;
@@ -1068,14 +1068,14 @@ export declare class TradeComplianceWorkbenchMiddleware {
1068
1068
  }>, {
1069
1069
  importTaskId: string;
1070
1070
  contract: {
1071
- contractNo?: string | null | undefined;
1072
1071
  signedAt?: string | null | undefined;
1073
- contractAmountReviewCny?: string | number | null | undefined;
1072
+ contractNo?: string | null | undefined;
1074
1073
  numberCandidates?: {
1075
1074
  value: string;
1076
1075
  sourceLocation: string;
1077
- kind: "CUSTOMER" | "INVOICE" | "PURCHASE";
1076
+ kind: "INVOICE" | "PURCHASE" | "CUSTOMER";
1078
1077
  }[] | undefined;
1078
+ contractAmountReviewCny?: string | number | null | undefined;
1079
1079
  } & {
1080
1080
  [k: string]: unknown;
1081
1081
  };
@@ -1088,10 +1088,10 @@ export declare class TradeComplianceWorkbenchMiddleware {
1088
1088
  reviewedText?: string | null | undefined;
1089
1089
  }[];
1090
1090
  customer: {
1091
- englishName?: string | null | undefined;
1092
- countryOrRegion?: string | null | undefined;
1093
1091
  name?: string | null | undefined;
1092
+ englishName?: string | null | undefined;
1094
1093
  address?: string | null | undefined;
1094
+ countryOrRegion?: string | null | undefined;
1095
1095
  contactName?: string | null | undefined;
1096
1096
  phone?: string | null | undefined;
1097
1097
  email?: string | null | undefined;
@@ -1116,14 +1116,14 @@ export declare class TradeComplianceWorkbenchMiddleware {
1116
1116
  }, {
1117
1117
  importTaskId: string;
1118
1118
  contract: {
1119
- contractNo?: string | null | undefined;
1120
1119
  signedAt?: string | null | undefined;
1121
- contractAmountReviewCny?: string | number | null | undefined;
1120
+ contractNo?: string | null | undefined;
1122
1121
  numberCandidates?: {
1123
1122
  value: string;
1124
1123
  sourceLocation: string;
1125
- kind: "CUSTOMER" | "INVOICE" | "PURCHASE";
1124
+ kind: "INVOICE" | "PURCHASE" | "CUSTOMER";
1126
1125
  }[] | undefined;
1126
+ contractAmountReviewCny?: string | number | null | undefined;
1127
1127
  } & {
1128
1128
  [k: string]: unknown;
1129
1129
  };
@@ -1136,10 +1136,10 @@ export declare class TradeComplianceWorkbenchMiddleware {
1136
1136
  reviewedText?: string | null | undefined;
1137
1137
  }[];
1138
1138
  customer: {
1139
- englishName?: string | null | undefined;
1140
- countryOrRegion?: string | null | undefined;
1141
1139
  name?: string | null | undefined;
1140
+ englishName?: string | null | undefined;
1142
1141
  address?: string | null | undefined;
1142
+ countryOrRegion?: string | null | undefined;
1143
1143
  contactName?: string | null | undefined;
1144
1144
  phone?: string | null | undefined;
1145
1145
  email?: string | null | undefined;
@@ -1195,8 +1195,8 @@ export declare class TradeComplianceWorkbenchMiddleware {
1195
1195
  }, "strip", z.ZodTypeAny, {
1196
1196
  model: string | null;
1197
1197
  description: string | null;
1198
- role: "MAIN" | "BOOM" | "PART" | "SLAVE" | "CONFIG" | "EXTRA" | null;
1199
1198
  qty: number | null;
1199
+ role: "MAIN" | "BOOM" | "PART" | "SLAVE" | "CONFIG" | "EXTRA" | null;
1200
1200
  cartons: number | null;
1201
1201
  dimensionCm: string | null;
1202
1202
  grossWeightPerCtnKg: number | null;
@@ -1208,8 +1208,8 @@ export declare class TradeComplianceWorkbenchMiddleware {
1208
1208
  }, {
1209
1209
  model: string | null;
1210
1210
  description: string | null;
1211
- role: "MAIN" | "BOOM" | "PART" | "SLAVE" | "CONFIG" | "EXTRA" | null;
1212
1211
  qty: number | null;
1212
+ role: "MAIN" | "BOOM" | "PART" | "SLAVE" | "CONFIG" | "EXTRA" | null;
1213
1213
  cartons: number | null;
1214
1214
  dimensionCm: string | null;
1215
1215
  grossWeightPerCtnKg: number | null;
@@ -1223,8 +1223,8 @@ export declare class TradeComplianceWorkbenchMiddleware {
1223
1223
  rows: {
1224
1224
  model: string | null;
1225
1225
  description: string | null;
1226
- role: "MAIN" | "BOOM" | "PART" | "SLAVE" | "CONFIG" | "EXTRA" | null;
1227
1226
  qty: number | null;
1227
+ role: "MAIN" | "BOOM" | "PART" | "SLAVE" | "CONFIG" | "EXTRA" | null;
1228
1228
  cartons: number | null;
1229
1229
  dimensionCm: string | null;
1230
1230
  grossWeightPerCtnKg: number | null;
@@ -1247,8 +1247,8 @@ export declare class TradeComplianceWorkbenchMiddleware {
1247
1247
  rows: {
1248
1248
  model: string | null;
1249
1249
  description: string | null;
1250
- role: "MAIN" | "BOOM" | "PART" | "SLAVE" | "CONFIG" | "EXTRA" | null;
1251
1250
  qty: number | null;
1251
+ role: "MAIN" | "BOOM" | "PART" | "SLAVE" | "CONFIG" | "EXTRA" | null;
1252
1252
  cartons: number | null;
1253
1253
  dimensionCm: string | null;
1254
1254
  grossWeightPerCtnKg: number | null;
@@ -1271,8 +1271,8 @@ export declare class TradeComplianceWorkbenchMiddleware {
1271
1271
  rows: {
1272
1272
  model: string | null;
1273
1273
  description: string | null;
1274
- role: "MAIN" | "BOOM" | "PART" | "SLAVE" | "CONFIG" | "EXTRA" | null;
1275
1274
  qty: number | null;
1275
+ role: "MAIN" | "BOOM" | "PART" | "SLAVE" | "CONFIG" | "EXTRA" | null;
1276
1276
  cartons: number | null;
1277
1277
  dimensionCm: string | null;
1278
1278
  grossWeightPerCtnKg: number | null;
@@ -1295,8 +1295,8 @@ export declare class TradeComplianceWorkbenchMiddleware {
1295
1295
  rows: {
1296
1296
  model: string | null;
1297
1297
  description: string | null;
1298
- role: "MAIN" | "BOOM" | "PART" | "SLAVE" | "CONFIG" | "EXTRA" | null;
1299
1298
  qty: number | null;
1299
+ role: "MAIN" | "BOOM" | "PART" | "SLAVE" | "CONFIG" | "EXTRA" | null;
1300
1300
  cartons: number | null;
1301
1301
  dimensionCm: string | null;
1302
1302
  grossWeightPerCtnKg: number | null;
@@ -1350,20 +1350,20 @@ export declare class TradeComplianceWorkbenchMiddleware {
1350
1350
  unit?: string | null | undefined;
1351
1351
  unitPrice?: string | number | null | undefined;
1352
1352
  hsCode?: string | null | undefined;
1353
+ sourceLocation?: string | null | undefined;
1354
+ sourceContent?: string | null | undefined;
1355
+ sourceRow?: number | undefined;
1356
+ netWeightKg?: string | number | null | undefined;
1353
1357
  statutoryUnitPrimary?: string | null | undefined;
1354
1358
  statutoryUnitSecondary?: string | null | undefined;
1355
1359
  originCountry?: string | null | undefined;
1356
1360
  domesticSourceLocation?: string | null | undefined;
1357
1361
  taxMode?: string | null | undefined;
1358
1362
  packagingType?: string | null | undefined;
1363
+ currency?: string | null | undefined;
1364
+ declarationElements?: string | null | undefined;
1359
1365
  material?: string | null | undefined;
1360
1366
  usage?: string | null | undefined;
1361
- declarationElements?: string | null | undefined;
1362
- netWeightKg?: string | number | null | undefined;
1363
- sourceRow?: number | undefined;
1364
- sourceLocation?: string | null | undefined;
1365
- sourceContent?: string | null | undefined;
1366
- currency?: string | null | undefined;
1367
1367
  }, {
1368
1368
  model?: string | null | undefined;
1369
1369
  productName?: string | null | undefined;
@@ -1373,20 +1373,20 @@ export declare class TradeComplianceWorkbenchMiddleware {
1373
1373
  unit?: string | null | undefined;
1374
1374
  unitPrice?: string | number | null | undefined;
1375
1375
  hsCode?: string | null | undefined;
1376
+ sourceLocation?: string | null | undefined;
1377
+ sourceContent?: string | null | undefined;
1378
+ sourceRow?: number | undefined;
1379
+ netWeightKg?: string | number | null | undefined;
1376
1380
  statutoryUnitPrimary?: string | null | undefined;
1377
1381
  statutoryUnitSecondary?: string | null | undefined;
1378
1382
  originCountry?: string | null | undefined;
1379
1383
  domesticSourceLocation?: string | null | undefined;
1380
1384
  taxMode?: string | null | undefined;
1381
1385
  packagingType?: string | null | undefined;
1386
+ currency?: string | null | undefined;
1387
+ declarationElements?: string | null | undefined;
1382
1388
  material?: string | null | undefined;
1383
1389
  usage?: string | null | undefined;
1384
- declarationElements?: string | null | undefined;
1385
- netWeightKg?: string | number | null | undefined;
1386
- sourceRow?: number | undefined;
1387
- sourceLocation?: string | null | undefined;
1388
- sourceContent?: string | null | undefined;
1389
- currency?: string | null | undefined;
1390
1390
  }>, "many">;
1391
1391
  }, "strip", z.ZodTypeAny, {
1392
1392
  rows: {
@@ -1398,20 +1398,20 @@ export declare class TradeComplianceWorkbenchMiddleware {
1398
1398
  unit?: string | null | undefined;
1399
1399
  unitPrice?: string | number | null | undefined;
1400
1400
  hsCode?: string | null | undefined;
1401
+ sourceLocation?: string | null | undefined;
1402
+ sourceContent?: string | null | undefined;
1403
+ sourceRow?: number | undefined;
1404
+ netWeightKg?: string | number | null | undefined;
1401
1405
  statutoryUnitPrimary?: string | null | undefined;
1402
1406
  statutoryUnitSecondary?: string | null | undefined;
1403
1407
  originCountry?: string | null | undefined;
1404
1408
  domesticSourceLocation?: string | null | undefined;
1405
1409
  taxMode?: string | null | undefined;
1406
1410
  packagingType?: string | null | undefined;
1411
+ currency?: string | null | undefined;
1412
+ declarationElements?: string | null | undefined;
1407
1413
  material?: string | null | undefined;
1408
1414
  usage?: string | null | undefined;
1409
- declarationElements?: string | null | undefined;
1410
- netWeightKg?: string | number | null | undefined;
1411
- sourceRow?: number | undefined;
1412
- sourceLocation?: string | null | undefined;
1413
- sourceContent?: string | null | undefined;
1414
- currency?: string | null | undefined;
1415
1415
  }[];
1416
1416
  importTaskId: string;
1417
1417
  claimAttemptToken?: string | undefined;
@@ -1425,20 +1425,20 @@ export declare class TradeComplianceWorkbenchMiddleware {
1425
1425
  unit?: string | null | undefined;
1426
1426
  unitPrice?: string | number | null | undefined;
1427
1427
  hsCode?: string | null | undefined;
1428
+ sourceLocation?: string | null | undefined;
1429
+ sourceContent?: string | null | undefined;
1430
+ sourceRow?: number | undefined;
1431
+ netWeightKg?: string | number | null | undefined;
1428
1432
  statutoryUnitPrimary?: string | null | undefined;
1429
1433
  statutoryUnitSecondary?: string | null | undefined;
1430
1434
  originCountry?: string | null | undefined;
1431
1435
  domesticSourceLocation?: string | null | undefined;
1432
1436
  taxMode?: string | null | undefined;
1433
1437
  packagingType?: string | null | undefined;
1438
+ currency?: string | null | undefined;
1439
+ declarationElements?: string | null | undefined;
1434
1440
  material?: string | null | undefined;
1435
1441
  usage?: string | null | undefined;
1436
- declarationElements?: string | null | undefined;
1437
- netWeightKg?: string | number | null | undefined;
1438
- sourceRow?: number | undefined;
1439
- sourceLocation?: string | null | undefined;
1440
- sourceContent?: string | null | undefined;
1441
- currency?: string | null | undefined;
1442
1442
  }[];
1443
1443
  importTaskId: string;
1444
1444
  claimAttemptToken?: string | undefined;
@@ -1452,20 +1452,20 @@ export declare class TradeComplianceWorkbenchMiddleware {
1452
1452
  unit?: string | null | undefined;
1453
1453
  unitPrice?: string | number | null | undefined;
1454
1454
  hsCode?: string | null | undefined;
1455
+ sourceLocation?: string | null | undefined;
1456
+ sourceContent?: string | null | undefined;
1457
+ sourceRow?: number | undefined;
1458
+ netWeightKg?: string | number | null | undefined;
1455
1459
  statutoryUnitPrimary?: string | null | undefined;
1456
1460
  statutoryUnitSecondary?: string | null | undefined;
1457
1461
  originCountry?: string | null | undefined;
1458
1462
  domesticSourceLocation?: string | null | undefined;
1459
1463
  taxMode?: string | null | undefined;
1460
1464
  packagingType?: string | null | undefined;
1465
+ currency?: string | null | undefined;
1466
+ declarationElements?: string | null | undefined;
1461
1467
  material?: string | null | undefined;
1462
1468
  usage?: string | null | undefined;
1463
- declarationElements?: string | null | undefined;
1464
- netWeightKg?: string | number | null | undefined;
1465
- sourceRow?: number | undefined;
1466
- sourceLocation?: string | null | undefined;
1467
- sourceContent?: string | null | undefined;
1468
- currency?: string | null | undefined;
1469
1469
  }[];
1470
1470
  importTaskId: string;
1471
1471
  claimAttemptToken?: string | undefined;
@@ -1479,20 +1479,20 @@ export declare class TradeComplianceWorkbenchMiddleware {
1479
1479
  unit?: string | null | undefined;
1480
1480
  unitPrice?: string | number | null | undefined;
1481
1481
  hsCode?: string | null | undefined;
1482
+ sourceLocation?: string | null | undefined;
1483
+ sourceContent?: string | null | undefined;
1484
+ sourceRow?: number | undefined;
1485
+ netWeightKg?: string | number | null | undefined;
1482
1486
  statutoryUnitPrimary?: string | null | undefined;
1483
1487
  statutoryUnitSecondary?: string | null | undefined;
1484
1488
  originCountry?: string | null | undefined;
1485
1489
  domesticSourceLocation?: string | null | undefined;
1486
1490
  taxMode?: string | null | undefined;
1487
1491
  packagingType?: string | null | undefined;
1492
+ currency?: string | null | undefined;
1493
+ declarationElements?: string | null | undefined;
1488
1494
  material?: string | null | undefined;
1489
1495
  usage?: string | null | undefined;
1490
- declarationElements?: string | null | undefined;
1491
- netWeightKg?: string | number | null | undefined;
1492
- sourceRow?: number | undefined;
1493
- sourceLocation?: string | null | undefined;
1494
- sourceContent?: string | null | undefined;
1495
- currency?: string | null | undefined;
1496
1496
  }[];
1497
1497
  importTaskId: string;
1498
1498
  claimAttemptToken?: string | undefined;