@chenchaolong/plugin-trade-compliance-workbench 0.1.74 → 1.0.1
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/README.md +41 -22
- package/dist/assets/templates/CI.xlsx +0 -0
- package/dist/assets/templates/CUSTOMS_DECLARATION.xlsx +0 -0
- package/dist/assets/templates/PI.xlsx +0 -0
- package/dist/assets/templates/PL.xlsx +0 -0
- package/dist/index.d.ts +115 -228
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -108
- package/dist/index.js.map +1 -1
- package/dist/lib/{document-text-extractor.d.ts → adapters/document-text-extractor.d.ts} +2 -2
- package/dist/lib/adapters/document-text-extractor.d.ts.map +1 -0
- package/dist/lib/{document-text-extractor.js → adapters/document-text-extractor.js} +8 -2
- package/dist/lib/adapters/document-text-extractor.js.map +1 -0
- package/dist/lib/adapters/file-storage.d.ts +9 -0
- package/dist/lib/adapters/file-storage.d.ts.map +1 -0
- package/dist/lib/adapters/file-storage.js +37 -0
- package/dist/lib/adapters/file-storage.js.map +1 -0
- package/dist/lib/{trade-compliance.enrichment.d.ts → adapters/hsbianma.provider.d.ts} +6 -6
- package/dist/lib/adapters/hsbianma.provider.d.ts.map +1 -0
- package/dist/lib/{trade-compliance.enrichment.js → adapters/hsbianma.provider.js} +1 -1
- package/dist/lib/adapters/hsbianma.provider.js.map +1 -0
- package/dist/lib/adapters/translation.provider.d.ts +4 -0
- package/dist/lib/adapters/translation.provider.d.ts.map +1 -0
- package/dist/lib/adapters/translation.provider.js +35 -0
- package/dist/lib/adapters/translation.provider.js.map +1 -0
- package/dist/lib/constants.d.ts +17 -11
- package/dist/lib/constants.d.ts.map +1 -1
- package/dist/lib/constants.js +17 -21
- package/dist/lib/constants.js.map +1 -1
- package/dist/lib/domain/contract-number.d.ts +14 -0
- package/dist/lib/domain/contract-number.d.ts.map +1 -0
- package/dist/lib/domain/contract-number.js +36 -0
- package/dist/lib/domain/contract-number.js.map +1 -0
- package/dist/lib/domain/default-settings.d.ts +28 -0
- package/dist/lib/domain/default-settings.d.ts.map +1 -0
- package/dist/lib/domain/default-settings.js +16 -0
- package/dist/lib/domain/default-settings.js.map +1 -0
- package/dist/lib/domain/finance.d.ts +37 -0
- package/dist/lib/domain/finance.d.ts.map +1 -0
- package/dist/lib/domain/finance.js +60 -0
- package/dist/lib/domain/finance.js.map +1 -0
- package/dist/lib/domain/import-issues.d.ts +10 -0
- package/dist/lib/domain/import-issues.d.ts.map +1 -0
- package/dist/lib/domain/import-issues.js +23 -0
- package/dist/lib/domain/import-issues.js.map +1 -0
- package/dist/lib/domain/normalization.d.ts +8 -0
- package/dist/lib/domain/normalization.d.ts.map +1 -0
- package/dist/lib/domain/normalization.js +50 -0
- package/dist/lib/domain/normalization.js.map +1 -0
- package/dist/lib/domain/workflow.d.ts +4 -0
- package/dist/lib/domain/workflow.d.ts.map +1 -0
- package/dist/lib/domain/workflow.js +14 -0
- package/dist/lib/domain/workflow.js.map +1 -0
- package/dist/lib/entities/base.d.ts +20 -0
- package/dist/lib/entities/base.d.ts.map +1 -0
- package/dist/lib/entities/base.js +51 -0
- package/dist/lib/entities/base.js.map +1 -0
- package/dist/lib/entities/catalog.entity.d.ts +80 -0
- package/dist/lib/entities/catalog.entity.d.ts.map +1 -0
- package/dist/lib/entities/catalog.entity.js +308 -0
- package/dist/lib/entities/catalog.entity.js.map +1 -0
- package/dist/lib/entities/customer.entity.d.ts +72 -0
- package/dist/lib/entities/customer.entity.d.ts.map +1 -0
- package/dist/lib/entities/customer.entity.js +276 -0
- package/dist/lib/entities/customer.entity.js.map +1 -0
- package/dist/lib/entities/index.d.ts +12 -6
- package/dist/lib/entities/index.d.ts.map +1 -1
- package/dist/lib/entities/index.js +20 -7
- package/dist/lib/entities/index.js.map +1 -1
- package/dist/lib/entities/procurement.entity.d.ts +99 -0
- package/dist/lib/entities/procurement.entity.d.ts.map +1 -0
- package/dist/lib/entities/procurement.entity.js +386 -0
- package/dist/lib/entities/procurement.entity.js.map +1 -0
- package/dist/lib/entities/settings.entity.d.ts +64 -0
- package/dist/lib/entities/settings.entity.d.ts.map +1 -0
- package/dist/lib/entities/settings.entity.js +243 -0
- package/dist/lib/entities/settings.entity.js.map +1 -0
- package/dist/lib/entities/shared.entity.d.ts +40 -0
- package/dist/lib/entities/shared.entity.d.ts.map +1 -0
- package/dist/lib/entities/shared.entity.js +149 -0
- package/dist/lib/entities/shared.entity.js.map +1 -0
- package/dist/lib/remote-components/trade-compliance-workbench/app.js +245 -2664
- package/dist/lib/remote-components/trade-compliance-workbench/editor-source.mjs +53 -0
- package/dist/lib/remote-components/trade-compliance-workbench/editor.css +1 -0
- package/dist/lib/remote-components/trade-compliance-workbench/editor.js +533 -0
- package/dist/lib/sales-file.service.d.ts +29 -0
- package/dist/lib/sales-file.service.d.ts.map +1 -0
- package/dist/lib/sales-file.service.js +300 -0
- package/dist/lib/sales-file.service.js.map +1 -0
- package/dist/lib/trade-compliance.config.d.ts +94 -187
- package/dist/lib/trade-compliance.config.d.ts.map +1 -1
- package/dist/lib/trade-compliance.config.js +12 -96
- package/dist/lib/trade-compliance.config.js.map +1 -1
- package/dist/lib/types.d.ts +104 -1
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/lib/types.js +47 -1
- package/dist/lib/types.js.map +1 -1
- package/dist/lib/workbench-view.provider.d.ts +276 -0
- package/dist/lib/workbench-view.provider.d.ts.map +1 -0
- package/dist/lib/workbench-view.provider.js +222 -0
- package/dist/lib/workbench-view.provider.js.map +1 -0
- package/dist/lib/workbench.middleware.d.ts +351 -0
- package/dist/lib/workbench.middleware.d.ts.map +1 -0
- package/dist/lib/workbench.middleware.js +48 -0
- package/dist/lib/workbench.middleware.js.map +1 -0
- package/dist/lib/workbench.plugin.d.ts +5 -0
- package/dist/lib/workbench.plugin.d.ts.map +1 -0
- package/dist/lib/workbench.plugin.js +24 -0
- package/dist/lib/workbench.plugin.js.map +1 -0
- package/dist/lib/workbench.service.d.ts +257 -0
- package/dist/lib/workbench.service.d.ts.map +1 -0
- package/dist/lib/workbench.service.js +755 -0
- package/dist/lib/workbench.service.js.map +1 -0
- package/package.json +19 -25
- package/dist/assets/customs-workbook-template.xls +0 -0
- package/dist/lib/controlled-goods-extracted-text-store.d.ts +0 -29
- package/dist/lib/controlled-goods-extracted-text-store.d.ts.map +0 -1
- package/dist/lib/controlled-goods-extracted-text-store.js +0 -42
- package/dist/lib/controlled-goods-extracted-text-store.js.map +0 -1
- package/dist/lib/controlled-goods-file-parser.d.ts +0 -9
- package/dist/lib/controlled-goods-file-parser.d.ts.map +0 -1
- package/dist/lib/controlled-goods-file-parser.js +0 -298
- package/dist/lib/controlled-goods-file-parser.js.map +0 -1
- package/dist/lib/document-text-extractor.d.ts.map +0 -1
- package/dist/lib/document-text-extractor.js.map +0 -1
- package/dist/lib/entities/controlled-goods-record.entity.d.ts +0 -5
- package/dist/lib/entities/controlled-goods-record.entity.d.ts.map +0 -1
- package/dist/lib/entities/controlled-goods-record.entity.js +0 -68
- package/dist/lib/entities/controlled-goods-record.entity.js.map +0 -1
- package/dist/lib/entities/customs-workbook-generation.entity.d.ts +0 -5
- package/dist/lib/entities/customs-workbook-generation.entity.d.ts.map +0 -1
- package/dist/lib/entities/customs-workbook-generation.entity.js +0 -72
- package/dist/lib/entities/customs-workbook-generation.entity.js.map +0 -1
- package/dist/lib/entities/trade-compliance-import-batch.entity.d.ts +0 -5
- package/dist/lib/entities/trade-compliance-import-batch.entity.d.ts.map +0 -1
- package/dist/lib/entities/trade-compliance-import-batch.entity.js +0 -60
- package/dist/lib/entities/trade-compliance-import-batch.entity.js.map +0 -1
- package/dist/lib/entities/trade-compliance-review-item.entity.d.ts +0 -5
- package/dist/lib/entities/trade-compliance-review-item.entity.d.ts.map +0 -1
- package/dist/lib/entities/trade-compliance-review-item.entity.js +0 -84
- package/dist/lib/entities/trade-compliance-review-item.entity.js.map +0 -1
- package/dist/lib/entities/trade-product.entity.d.ts +0 -5
- package/dist/lib/entities/trade-product.entity.d.ts.map +0 -1
- package/dist/lib/entities/trade-product.entity.js +0 -105
- package/dist/lib/entities/trade-product.entity.js.map +0 -1
- package/dist/lib/entities/trade-supplier.entity.d.ts +0 -5
- package/dist/lib/entities/trade-supplier.entity.d.ts.map +0 -1
- package/dist/lib/entities/trade-supplier.entity.js +0 -55
- package/dist/lib/entities/trade-supplier.entity.js.map +0 -1
- package/dist/lib/trade-compliance-workbench-view.provider.d.ts +0 -129
- package/dist/lib/trade-compliance-workbench-view.provider.d.ts.map +0 -1
- package/dist/lib/trade-compliance-workbench-view.provider.js +0 -863
- package/dist/lib/trade-compliance-workbench-view.provider.js.map +0 -1
- package/dist/lib/trade-compliance-workbench.middleware.d.ts +0 -485
- package/dist/lib/trade-compliance-workbench.middleware.d.ts.map +0 -1
- package/dist/lib/trade-compliance-workbench.middleware.js +0 -494
- package/dist/lib/trade-compliance-workbench.middleware.js.map +0 -1
- package/dist/lib/trade-compliance-workbench.plugin.d.ts +0 -11
- package/dist/lib/trade-compliance-workbench.plugin.d.ts.map +0 -1
- package/dist/lib/trade-compliance-workbench.plugin.js +0 -39
- package/dist/lib/trade-compliance-workbench.plugin.js.map +0 -1
- package/dist/lib/trade-compliance-workbench.service.d.ts +0 -33
- package/dist/lib/trade-compliance-workbench.service.d.ts.map +0 -1
- package/dist/lib/trade-compliance-workbench.service.js +0 -369
- package/dist/lib/trade-compliance-workbench.service.js.map +0 -1
- package/dist/lib/trade-compliance-workbench.templates.d.ts +0 -31
- package/dist/lib/trade-compliance-workbench.templates.d.ts.map +0 -1
- package/dist/lib/trade-compliance-workbench.templates.js +0 -60
- package/dist/lib/trade-compliance-workbench.templates.js.map +0 -1
- package/dist/lib/trade-compliance-workbook.d.ts +0 -28
- package/dist/lib/trade-compliance-workbook.d.ts.map +0 -1
- package/dist/lib/trade-compliance-workbook.js +0 -546
- package/dist/lib/trade-compliance-workbook.js.map +0 -1
- package/dist/lib/trade-compliance.enrichment.d.ts.map +0 -1
- package/dist/lib/trade-compliance.enrichment.js.map +0 -1
- package/dist/lib/trade-compliance.matching.d.ts +0 -10
- package/dist/lib/trade-compliance.matching.d.ts.map +0 -1
- package/dist/lib/trade-compliance.matching.js +0 -63
- package/dist/lib/trade-compliance.matching.js.map +0 -1
- package/dist/xpert-trade-compliance-workbench-assistant.yaml +0 -27
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.entity.js","sourceRoot":"","sources":["../../../src/lib/entities/customer.entity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAoB,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAEjE,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAKpD,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,gBAAgB;CAmB7C,CAAA;AAlB8C;IAA5C,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sCAAqB;AACpC;IAA5B,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;sCAAc;AACb;IAA5B,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;gDAAwB;AACP;IAA5C,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CAA0B;AACzB;IAA5C,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCAAwB;AAC1B;IAAzC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCAAwB;AACpB;IAA5C,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CAA4B;AAC3B;IAA5C,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uC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B,EAAE,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,qBAAqB,EAAE,CAAC;GAClH,2BAA2B,CAKvC"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
1
|
+
export * from './base.js';
|
|
2
|
+
export * from './shared.entity.js';
|
|
3
|
+
export * from './catalog.entity.js';
|
|
4
|
+
export * from './procurement.entity.js';
|
|
5
|
+
export * from './customer.entity.js';
|
|
6
|
+
export * from './settings.entity.js';
|
|
7
|
+
import { RiskNoticeSettings, SettingsHistory, ImportTask } from './shared.entity.js';
|
|
8
|
+
import { ControlledCatalogBatch, ControlledGoodsRecord, ControlledCatalogImportIssue, SanctionCatalogBatch, SanctionedCompanyRecord, SanctionCatalogImportIssue, CompanySanctionMatch } from './catalog.entity.js';
|
|
9
|
+
import { Supplier, PurchaseOrder, PurchaseOrderLine, ProductComplianceMatch, HsCodeReferenceSnapshot } from './procurement.entity.js';
|
|
10
|
+
import { Customer, CustomerContract, CustomerContractClause, CustomerContractAnalysisRun, CustomerContractClauseAnalysis, DerivedSalesOrderManualData } from './customer.entity.js';
|
|
11
|
+
import { GeneratedSalesFile, CompanySettings, BankAccountSettings, ProfitRuleSettings, MonthlySafeExchangeRate } from './settings.entity.js';
|
|
12
|
+
export declare const TRADE_COMPLIANCE_ENTITIES: readonly [typeof RiskNoticeSettings, typeof SettingsHistory, typeof ImportTask, typeof ControlledCatalogBatch, typeof ControlledGoodsRecord, typeof ControlledCatalogImportIssue, typeof SanctionCatalogBatch, typeof SanctionedCompanyRecord, typeof SanctionCatalogImportIssue, typeof CompanySanctionMatch, typeof Supplier, typeof PurchaseOrder, typeof PurchaseOrderLine, typeof ProductComplianceMatch, typeof HsCodeReferenceSnapshot, typeof Customer, typeof CustomerContract, typeof CustomerContractClause, typeof CustomerContractAnalysisRun, typeof CustomerContractClauseAnalysis, typeof DerivedSalesOrderManualData, typeof GeneratedSalesFile, typeof CompanySettings, typeof BankAccountSettings, typeof ProfitRuleSettings, typeof MonthlySafeExchangeRate];
|
|
7
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/entities/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AAEpC,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpF,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAClN,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AACrI,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,8BAA8B,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAA;AACnL,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAE5I,eAAO,MAAM,yBAAyB,kvBAQ5B,CAAA"}
|
|
@@ -1,8 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
|
|
1
|
+
export * from './base.js';
|
|
2
|
+
export * from './shared.entity.js';
|
|
3
|
+
export * from './catalog.entity.js';
|
|
4
|
+
export * from './procurement.entity.js';
|
|
5
|
+
export * from './customer.entity.js';
|
|
6
|
+
export * from './settings.entity.js';
|
|
7
|
+
import { RiskNoticeSettings, SettingsHistory, ImportTask } from './shared.entity.js';
|
|
8
|
+
import { ControlledCatalogBatch, ControlledGoodsRecord, ControlledCatalogImportIssue, SanctionCatalogBatch, SanctionedCompanyRecord, SanctionCatalogImportIssue, CompanySanctionMatch } from './catalog.entity.js';
|
|
9
|
+
import { Supplier, PurchaseOrder, PurchaseOrderLine, ProductComplianceMatch, HsCodeReferenceSnapshot } from './procurement.entity.js';
|
|
10
|
+
import { Customer, CustomerContract, CustomerContractClause, CustomerContractAnalysisRun, CustomerContractClauseAnalysis, DerivedSalesOrderManualData } from './customer.entity.js';
|
|
11
|
+
import { GeneratedSalesFile, CompanySettings, BankAccountSettings, ProfitRuleSettings, MonthlySafeExchangeRate } from './settings.entity.js';
|
|
12
|
+
export const TRADE_COMPLIANCE_ENTITIES = [
|
|
13
|
+
RiskNoticeSettings, SettingsHistory, ImportTask,
|
|
14
|
+
ControlledCatalogBatch, ControlledGoodsRecord, ControlledCatalogImportIssue,
|
|
15
|
+
SanctionCatalogBatch, SanctionedCompanyRecord, SanctionCatalogImportIssue, CompanySanctionMatch,
|
|
16
|
+
Supplier, PurchaseOrder, PurchaseOrderLine, ProductComplianceMatch, HsCodeReferenceSnapshot,
|
|
17
|
+
Customer, CustomerContract, CustomerContractClause, CustomerContractAnalysisRun, CustomerContractClauseAnalysis,
|
|
18
|
+
DerivedSalesOrderManualData, GeneratedSalesFile,
|
|
19
|
+
CompanySettings, BankAccountSettings, ProfitRuleSettings, MonthlySafeExchangeRate
|
|
20
|
+
];
|
|
8
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AAEpC,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpF,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAClN,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AACrI,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,8BAA8B,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAA;AACnL,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AAE5I,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,kBAAkB,EAAE,eAAe,EAAE,UAAU;IAC/C,sBAAsB,EAAE,qBAAqB,EAAE,4BAA4B;IAC3E,oBAAoB,EAAE,uBAAuB,EAAE,0BAA0B,EAAE,oBAAoB;IAC/F,QAAQ,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,uBAAuB;IAC3F,QAAQ,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,8BAA8B;IAC/G,2BAA2B,EAAE,kBAAkB;IAC/C,eAAe,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,uBAAuB;CACzE,CAAA"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { CatalogType, EnglishNameSource, HsCodeSource, HsCodeStatus, PurchaseOrderLineSourceType, RiskMatchInvalidationReason } from '../types.js';
|
|
2
|
+
import { CreatedEntity, SoftDeleteEntity } from './base.js';
|
|
3
|
+
export declare class Supplier extends SoftDeleteEntity {
|
|
4
|
+
code: string | null;
|
|
5
|
+
name: string;
|
|
6
|
+
normalizedName: string;
|
|
7
|
+
shortName: string | null;
|
|
8
|
+
address: string | null;
|
|
9
|
+
contactName: string | null;
|
|
10
|
+
phone: string | null;
|
|
11
|
+
wechat: string | null;
|
|
12
|
+
email: string | null;
|
|
13
|
+
taxNumber: string | null;
|
|
14
|
+
paymentAccount: string | null;
|
|
15
|
+
bankName: string | null;
|
|
16
|
+
taxpayerRating: string | null;
|
|
17
|
+
website: string | null;
|
|
18
|
+
businessProducts: string | null;
|
|
19
|
+
complianceCheckedAt: Date | null;
|
|
20
|
+
}
|
|
21
|
+
export declare class PurchaseOrder extends SoftDeleteEntity {
|
|
22
|
+
supplierId: string;
|
|
23
|
+
contractNo: string;
|
|
24
|
+
normalizedContractNo: string;
|
|
25
|
+
orderDate: string | null;
|
|
26
|
+
contractAmountCny: string;
|
|
27
|
+
paidAmountCny: string;
|
|
28
|
+
refundedAmountCny: string;
|
|
29
|
+
sourceFileId: string;
|
|
30
|
+
sourceFileName: string;
|
|
31
|
+
importTaskId: string;
|
|
32
|
+
amountMismatchConfirmedAt: Date | null;
|
|
33
|
+
amountMismatchConfirmedById: string | null;
|
|
34
|
+
}
|
|
35
|
+
export declare class PurchaseOrderLine extends SoftDeleteEntity {
|
|
36
|
+
purchaseOrderId: string;
|
|
37
|
+
lineNumber: number;
|
|
38
|
+
sourceType: PurchaseOrderLineSourceType;
|
|
39
|
+
productName: string;
|
|
40
|
+
normalizedProductName: string;
|
|
41
|
+
englishName: string | null;
|
|
42
|
+
englishNameSource: EnglishNameSource | null;
|
|
43
|
+
productDescription: string | null;
|
|
44
|
+
modelSpecification: string | null;
|
|
45
|
+
unit: string | null;
|
|
46
|
+
quantity: string;
|
|
47
|
+
unitPriceTaxIncluded: string;
|
|
48
|
+
lineAmountTaxIncluded: string;
|
|
49
|
+
vatRate: string | null;
|
|
50
|
+
vatRateSource: string | null;
|
|
51
|
+
hsCode: string | null;
|
|
52
|
+
hsCodeStatus: HsCodeStatus;
|
|
53
|
+
hsCodeSource: HsCodeSource | null;
|
|
54
|
+
hsCodeReferenceSnapshotId: string | null;
|
|
55
|
+
refundRate: string | null;
|
|
56
|
+
refundRateSource: string | null;
|
|
57
|
+
refundPolicyReference: string | null;
|
|
58
|
+
refundPolicyDate: string | null;
|
|
59
|
+
refundValidationMethod: string | null;
|
|
60
|
+
refundConfirmedAt: Date | null;
|
|
61
|
+
refundConfirmedById: string | null;
|
|
62
|
+
amountMismatchConfirmedAt: Date | null;
|
|
63
|
+
amountMismatchConfirmedById: string | null;
|
|
64
|
+
sourceLocation: string | null;
|
|
65
|
+
sourceContent: string | null;
|
|
66
|
+
complianceCheckedAt: Date | null;
|
|
67
|
+
}
|
|
68
|
+
export declare class ProductComplianceMatch extends CreatedEntity {
|
|
69
|
+
purchaseOrderLineId: string;
|
|
70
|
+
controlledGoodsId: string;
|
|
71
|
+
catalogType: CatalogType;
|
|
72
|
+
matchMethod: 'HS_CODE_EXACT' | 'NAME_CONTAINS' | 'NAME_DICE';
|
|
73
|
+
similarityScore: string | null;
|
|
74
|
+
matchingRuleVersion: string;
|
|
75
|
+
matchingThreshold: string;
|
|
76
|
+
matchedAt: Date;
|
|
77
|
+
deletedAt: Date | null;
|
|
78
|
+
invalidationReason: RiskMatchInvalidationReason | null;
|
|
79
|
+
}
|
|
80
|
+
export declare class HsCodeReferenceSnapshot extends CreatedEntity {
|
|
81
|
+
providerType: 'HSBIANMA';
|
|
82
|
+
queryMode: 'CODE' | 'NAME';
|
|
83
|
+
queryKeyword: string;
|
|
84
|
+
pageNumber: number;
|
|
85
|
+
hsCode: string;
|
|
86
|
+
chineseName: string | null;
|
|
87
|
+
englishName: string | null;
|
|
88
|
+
legalUnit: string | null;
|
|
89
|
+
refundRateRaw: string | null;
|
|
90
|
+
refundRate: string | null;
|
|
91
|
+
policyEffectiveFrom: string | null;
|
|
92
|
+
policyEffectiveTo: string | null;
|
|
93
|
+
supervisionConditions: string | null;
|
|
94
|
+
inspectionConditions: string | null;
|
|
95
|
+
sourceUrl: string;
|
|
96
|
+
queriedAt: Date;
|
|
97
|
+
parserVersion: string;
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=procurement.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"procurement.entity.d.ts","sourceRoot":"","sources":["../../../src/lib/entities/procurement.entity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,YAAY,EAAE,YAAY,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAA;AACvJ,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAE3D,qBAGa,QAAS,SAAQ,gBAAgB;IACC,IAAI,EAAG,MAAM,GAAG,IAAI,CAAA;IACpC,IAAI,EAAG,MAAM,CAAA;IACb,cAAc,EAAG,MAAM,CAAA;IACP,SAAS,EAAG,MAAM,GAAG,IAAI,CAAA;IAC5B,OAAO,EAAG,MAAM,GAAG,IAAI,CAAA;IACpB,WAAW,EAAG,MAAM,GAAG,IAAI,CAAA;IAC3B,KAAK,EAAG,MAAM,GAAG,IAAI,CAAA;IACrB,MAAM,EAAG,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,EAAG,MAAM,GAAG,IAAI,CAAA;IACrB,SAAS,EAAG,MAAM,GAAG,IAAI,CAAA;IACzB,cAAc,EAAG,MAAM,GAAG,IAAI,CAAA;IAC9B,QAAQ,EAAG,MAAM,GAAG,IAAI,CAAA;I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AA;IACT,UAAU,EAAG,MAAM,CAAA;IAC/B,MAAM,EAAG,MAAM,CAAA;IACC,WAAW,EAAG,MAAM,GAAG,IAAI,CAAA;IAC3B,WAAW,EAAG,MAAM,GAAG,IAAI,CAAA;IAC3B,SAAS,EAAG,MAAM,GAAG,IAAI,CAAA;IACzB,aAAa,EAAG,MAAM,GAAG,IAAI,CAAA;IACJ,UAAU,EAAG,MAAM,GAAG,IAAI,CAAA;IACtD,mBAAmB,EAAG,MAAM,GAAG,IAAI,CAAA;IACnC,iBAAiB,EAAG,MAAM,GAAG,IAAI,CAAA;IACjC,qBAAqB,EAAG,MAAM,GAAG,IAAI,CAAA;IACrC,oBAAoB,EAAG,MAAM,GAAG,IAAI,CAAA;IACpD,SAAS,EAAG,MAAM,CAAA;IACX,SAAS,EAAG,IAAI,CAAA;IACR,aAAa,EAAG,MAAM,CAAA;CAChE"}
|
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
import { __decorate, __metadata } from "tslib";
|
|
2
|
+
import { Column, Entity, Index } from 'typeorm';
|
|
3
|
+
import { CreatedEntity, SoftDeleteEntity } from './base.js';
|
|
4
|
+
let Supplier = class Supplier extends SoftDeleteEntity {
|
|
5
|
+
};
|
|
6
|
+
__decorate([
|
|
7
|
+
Column({ type: 'varchar', nullable: true }),
|
|
8
|
+
__metadata("design:type", Object)
|
|
9
|
+
], Supplier.prototype, "code", void 0);
|
|
10
|
+
__decorate([
|
|
11
|
+
Column({ type: 'varchar' }),
|
|
12
|
+
__metadata("design:type", String)
|
|
13
|
+
], Supplier.prototype, "name", void 0);
|
|
14
|
+
__decorate([
|
|
15
|
+
Column({ type: 'varchar' }),
|
|
16
|
+
__metadata("design:type", String)
|
|
17
|
+
], Supplier.prototype, "normalizedName", void 0);
|
|
18
|
+
__decorate([
|
|
19
|
+
Column({ type: 'varchar', nullable: true }),
|
|
20
|
+
__metadata("design:type", Object)
|
|
21
|
+
], Supplier.prototype, "shortName", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
Column({ type: 'text', nullable: true }),
|
|
24
|
+
__metadata("design:type", Object)
|
|
25
|
+
], Supplier.prototype, "address", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
Column({ type: 'varchar', nullable: true }),
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
|
+
], Supplier.prototype, "contactName", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
Column({ type: 'varchar', nullable: true }),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], Supplier.prototype, "phone", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
Column({ type: 'varchar', nullable: true }),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], Supplier.prototype, "wechat", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
Column({ type: 'varchar', nullable: true }),
|
|
40
|
+
__metadata("design:type", Object)
|
|
41
|
+
], Supplier.prototype, "email", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
Column({ type: 'varchar', nullable: true }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], Supplier.prototype, "taxNumber", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
Column({ type: 'varchar', nullable: true }),
|
|
48
|
+
__metadata("design:type", Object)
|
|
49
|
+
], Supplier.prototype, "paymentAccount", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
Column({ type: 'varchar', nullable: true }),
|
|
52
|
+
__metadata("design:type", Object)
|
|
53
|
+
], Supplier.prototype, "bankName", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
Column({ type: 'varchar', nullable: true }),
|
|
56
|
+
__metadata("design:type", Object)
|
|
57
|
+
], Supplier.prototype, "taxpayerRating", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
Column({ type: 'varchar', nullable: true }),
|
|
60
|
+
__metadata("design:type", Object)
|
|
61
|
+
], Supplier.prototype, "website", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
Column({ type: 'text', nullable: true }),
|
|
64
|
+
__metadata("design:type", Object)
|
|
65
|
+
], Supplier.prototype, "businessProducts", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
Column({ type: 'timestamptz', nullable: true }),
|
|
68
|
+
__metadata("design:type", Object)
|
|
69
|
+
], Supplier.prototype, "complianceCheckedAt", void 0);
|
|
70
|
+
Supplier = __decorate([
|
|
71
|
+
Entity('plugin_trade_compliance_supplier'),
|
|
72
|
+
Index(['tenantId', 'organizationId', 'normalizedName'], { unique: true, where: '"deletedAt" IS NULL' }),
|
|
73
|
+
Index(['tenantId', 'organizationId', 'code'])
|
|
74
|
+
], Supplier);
|
|
75
|
+
export { Supplier };
|
|
76
|
+
let PurchaseOrder = class PurchaseOrder extends SoftDeleteEntity {
|
|
77
|
+
};
|
|
78
|
+
__decorate([
|
|
79
|
+
Column({ type: 'uuid' }),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], PurchaseOrder.prototype, "supplierId", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
Column({ type: 'varchar' }),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], PurchaseOrder.prototype, "contractNo", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
Column({ type: 'varchar' }),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], PurchaseOrder.prototype, "normalizedContractNo", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
Column({ type: 'date', nullable: true }),
|
|
92
|
+
__metadata("design:type", Object)
|
|
93
|
+
], PurchaseOrder.prototype, "orderDate", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
Column({ type: 'numeric', precision: 20, scale: 4 }),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], PurchaseOrder.prototype, "contractAmountCny", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
Column({ type: 'numeric', precision: 20, scale: 4, default: 0 }),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], PurchaseOrder.prototype, "paidAmountCny", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
Column({ type: 'numeric', precision: 20, scale: 4, default: 0 }),
|
|
104
|
+
__metadata("design:type", String)
|
|
105
|
+
], PurchaseOrder.prototype, "refundedAmountCny", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
Column({ type: 'varchar' }),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], PurchaseOrder.prototype, "sourceFileId", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
Column({ type: 'varchar' }),
|
|
112
|
+
__metadata("design:type", String)
|
|
113
|
+
], PurchaseOrder.prototype, "sourceFileName", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
Column({ type: 'uuid' }),
|
|
116
|
+
__metadata("design:type", String)
|
|
117
|
+
], PurchaseOrder.prototype, "importTaskId", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
Column({ type: 'timestamptz', nullable: true }),
|
|
120
|
+
__metadata("design:type", Object)
|
|
121
|
+
], PurchaseOrder.prototype, "amountMismatchConfirmedAt", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
Column({ type: 'uuid', nullable: true }),
|
|
124
|
+
__metadata("design:type", Object)
|
|
125
|
+
], PurchaseOrder.prototype, "amountMismatchConfirmedById", void 0);
|
|
126
|
+
PurchaseOrder = __decorate([
|
|
127
|
+
Entity('plugin_trade_compliance_purchase_order'),
|
|
128
|
+
Index(['tenantId', 'organizationId', 'normalizedContractNo'], { unique: true, where: '"deletedAt" IS NULL' }),
|
|
129
|
+
Index(['tenantId', 'organizationId', 'supplierId', 'orderDate'])
|
|
130
|
+
], PurchaseOrder);
|
|
131
|
+
export { PurchaseOrder };
|
|
132
|
+
let PurchaseOrderLine = class PurchaseOrderLine extends SoftDeleteEntity {
|
|
133
|
+
};
|
|
134
|
+
__decorate([
|
|
135
|
+
Column({ type: 'uuid' }),
|
|
136
|
+
__metadata("design:type", String)
|
|
137
|
+
], PurchaseOrderLine.prototype, "purchaseOrderId", void 0);
|
|
138
|
+
__decorate([
|
|
139
|
+
Column({ type: 'integer' }),
|
|
140
|
+
__metadata("design:type", Number)
|
|
141
|
+
], PurchaseOrderLine.prototype, "lineNumber", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
Column({ type: 'varchar', length: 32 }),
|
|
144
|
+
__metadata("design:type", String)
|
|
145
|
+
], PurchaseOrderLine.prototype, "sourceType", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
Column({ type: 'varchar' }),
|
|
148
|
+
__metadata("design:type", String)
|
|
149
|
+
], PurchaseOrderLine.prototype, "productName", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
Column({ type: 'varchar' }),
|
|
152
|
+
__metadata("design:type", String)
|
|
153
|
+
], PurchaseOrderLine.prototype, "normalizedProductName", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
Column({ type: 'varchar', nullable: true }),
|
|
156
|
+
__metadata("design:type", Object)
|
|
157
|
+
], PurchaseOrderLine.prototype, "englishName", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
Column({ type: 'varchar', length: 24, nullable: true }),
|
|
160
|
+
__metadata("design:type", Object)
|
|
161
|
+
], PurchaseOrderLine.prototype, "englishNameSource", void 0);
|
|
162
|
+
__decorate([
|
|
163
|
+
Column({ type: 'text', nullable: true }),
|
|
164
|
+
__metadata("design:type", Object)
|
|
165
|
+
], PurchaseOrderLine.prototype, "productDescription", void 0);
|
|
166
|
+
__decorate([
|
|
167
|
+
Column({ type: 'varchar', nullable: true }),
|
|
168
|
+
__metadata("design:type", Object)
|
|
169
|
+
], PurchaseOrderLine.prototype, "modelSpecification", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
Column({ type: 'varchar', nullable: true }),
|
|
172
|
+
__metadata("design:type", Object)
|
|
173
|
+
], PurchaseOrderLine.prototype, "unit", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
Column({ type: 'numeric', precision: 20, scale: 6 }),
|
|
176
|
+
__metadata("design:type", String)
|
|
177
|
+
], PurchaseOrderLine.prototype, "quantity", void 0);
|
|
178
|
+
__decorate([
|
|
179
|
+
Column({ type: 'numeric', precision: 20, scale: 6 }),
|
|
180
|
+
__metadata("design:type", String)
|
|
181
|
+
], PurchaseOrderLine.prototype, "unitPriceTaxIncluded", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
Column({ type: 'numeric', precision: 20, scale: 4 }),
|
|
184
|
+
__metadata("design:type", String)
|
|
185
|
+
], PurchaseOrderLine.prototype, "lineAmountTaxIncluded", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
Column({ type: 'numeric', precision: 12, scale: 8, nullable: true }),
|
|
188
|
+
__metadata("design:type", Object)
|
|
189
|
+
], PurchaseOrderLine.prototype, "vatRate", void 0);
|
|
190
|
+
__decorate([
|
|
191
|
+
Column({ type: 'varchar', length: 32, nullable: true }),
|
|
192
|
+
__metadata("design:type", Object)
|
|
193
|
+
], PurchaseOrderLine.prototype, "vatRateSource", void 0);
|
|
194
|
+
__decorate([
|
|
195
|
+
Column({ type: 'varchar', nullable: true }),
|
|
196
|
+
__metadata("design:type", Object)
|
|
197
|
+
], PurchaseOrderLine.prototype, "hsCode", void 0);
|
|
198
|
+
__decorate([
|
|
199
|
+
Column({ type: 'varchar', length: 32 }),
|
|
200
|
+
__metadata("design:type", String)
|
|
201
|
+
], PurchaseOrderLine.prototype, "hsCodeStatus", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
Column({ type: 'varchar', length: 32, nullable: true }),
|
|
204
|
+
__metadata("design:type", Object)
|
|
205
|
+
], PurchaseOrderLine.prototype, "hsCodeSource", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
Column({ type: 'uuid', nullable: true }),
|
|
208
|
+
__metadata("design:type", Object)
|
|
209
|
+
], PurchaseOrderLine.prototype, "hsCodeReferenceSnapshotId", void 0);
|
|
210
|
+
__decorate([
|
|
211
|
+
Column({ type: 'numeric', precision: 12, scale: 8, nullable: true }),
|
|
212
|
+
__metadata("design:type", Object)
|
|
213
|
+
], PurchaseOrderLine.prototype, "refundRate", void 0);
|
|
214
|
+
__decorate([
|
|
215
|
+
Column({ type: 'varchar', length: 32, nullable: true }),
|
|
216
|
+
__metadata("design:type", Object)
|
|
217
|
+
], PurchaseOrderLine.prototype, "refundRateSource", void 0);
|
|
218
|
+
__decorate([
|
|
219
|
+
Column({ type: 'text', nullable: true }),
|
|
220
|
+
__metadata("design:type", Object)
|
|
221
|
+
], PurchaseOrderLine.prototype, "refundPolicyReference", void 0);
|
|
222
|
+
__decorate([
|
|
223
|
+
Column({ type: 'date', nullable: true }),
|
|
224
|
+
__metadata("design:type", Object)
|
|
225
|
+
], PurchaseOrderLine.prototype, "refundPolicyDate", void 0);
|
|
226
|
+
__decorate([
|
|
227
|
+
Column({ type: 'varchar', nullable: true }),
|
|
228
|
+
__metadata("design:type", Object)
|
|
229
|
+
], PurchaseOrderLine.prototype, "refundValidationMethod", void 0);
|
|
230
|
+
__decorate([
|
|
231
|
+
Column({ type: 'timestamptz', nullable: true }),
|
|
232
|
+
__metadata("design:type", Object)
|
|
233
|
+
], PurchaseOrderLine.prototype, "refundConfirmedAt", void 0);
|
|
234
|
+
__decorate([
|
|
235
|
+
Column({ type: 'uuid', nullable: true }),
|
|
236
|
+
__metadata("design:type", Object)
|
|
237
|
+
], PurchaseOrderLine.prototype, "refundConfirmedById", void 0);
|
|
238
|
+
__decorate([
|
|
239
|
+
Column({ type: 'timestamptz', nullable: true }),
|
|
240
|
+
__metadata("design:type", Object)
|
|
241
|
+
], PurchaseOrderLine.prototype, "amountMismatchConfirmedAt", void 0);
|
|
242
|
+
__decorate([
|
|
243
|
+
Column({ type: 'uuid', nullable: true }),
|
|
244
|
+
__metadata("design:type", Object)
|
|
245
|
+
], PurchaseOrderLine.prototype, "amountMismatchConfirmedById", void 0);
|
|
246
|
+
__decorate([
|
|
247
|
+
Column({ type: 'varchar', nullable: true }),
|
|
248
|
+
__metadata("design:type", Object)
|
|
249
|
+
], PurchaseOrderLine.prototype, "sourceLocation", void 0);
|
|
250
|
+
__decorate([
|
|
251
|
+
Column({ type: 'text', nullable: true }),
|
|
252
|
+
__metadata("design:type", Object)
|
|
253
|
+
], PurchaseOrderLine.prototype, "sourceContent", void 0);
|
|
254
|
+
__decorate([
|
|
255
|
+
Column({ type: 'timestamptz', nullable: true }),
|
|
256
|
+
__metadata("design:type", Object)
|
|
257
|
+
], PurchaseOrderLine.prototype, "complianceCheckedAt", void 0);
|
|
258
|
+
PurchaseOrderLine = __decorate([
|
|
259
|
+
Entity('plugin_trade_compliance_purchase_order_line'),
|
|
260
|
+
Index(['tenantId', 'organizationId', 'purchaseOrderId', 'lineNumber'], { unique: true, where: '"deletedAt" IS NULL' }),
|
|
261
|
+
Index(['tenantId', 'organizationId', 'normalizedProductName', 'hsCode'])
|
|
262
|
+
], PurchaseOrderLine);
|
|
263
|
+
export { PurchaseOrderLine };
|
|
264
|
+
let ProductComplianceMatch = class ProductComplianceMatch extends CreatedEntity {
|
|
265
|
+
};
|
|
266
|
+
__decorate([
|
|
267
|
+
Column({ type: 'uuid' }),
|
|
268
|
+
__metadata("design:type", String)
|
|
269
|
+
], ProductComplianceMatch.prototype, "purchaseOrderLineId", void 0);
|
|
270
|
+
__decorate([
|
|
271
|
+
Column({ type: 'uuid' }),
|
|
272
|
+
__metadata("design:type", String)
|
|
273
|
+
], ProductComplianceMatch.prototype, "controlledGoodsId", void 0);
|
|
274
|
+
__decorate([
|
|
275
|
+
Column({ type: 'varchar', length: 32 }),
|
|
276
|
+
__metadata("design:type", String)
|
|
277
|
+
], ProductComplianceMatch.prototype, "catalogType", void 0);
|
|
278
|
+
__decorate([
|
|
279
|
+
Column({ type: 'varchar', length: 32 }),
|
|
280
|
+
__metadata("design:type", String)
|
|
281
|
+
], ProductComplianceMatch.prototype, "matchMethod", void 0);
|
|
282
|
+
__decorate([
|
|
283
|
+
Column({ type: 'numeric', precision: 8, scale: 6, nullable: true }),
|
|
284
|
+
__metadata("design:type", Object)
|
|
285
|
+
], ProductComplianceMatch.prototype, "similarityScore", void 0);
|
|
286
|
+
__decorate([
|
|
287
|
+
Column({ type: 'varchar', length: 24 }),
|
|
288
|
+
__metadata("design:type", String)
|
|
289
|
+
], ProductComplianceMatch.prototype, "matchingRuleVersion", void 0);
|
|
290
|
+
__decorate([
|
|
291
|
+
Column({ type: 'numeric', precision: 8, scale: 6 }),
|
|
292
|
+
__metadata("design:type", String)
|
|
293
|
+
], ProductComplianceMatch.prototype, "matchingThreshold", void 0);
|
|
294
|
+
__decorate([
|
|
295
|
+
Column({ type: 'timestamptz' }),
|
|
296
|
+
__metadata("design:type", Date)
|
|
297
|
+
], ProductComplianceMatch.prototype, "matchedAt", void 0);
|
|
298
|
+
__decorate([
|
|
299
|
+
Column({ type: 'timestamptz', nullable: true }),
|
|
300
|
+
__metadata("design:type", Object)
|
|
301
|
+
], ProductComplianceMatch.prototype, "deletedAt", void 0);
|
|
302
|
+
__decorate([
|
|
303
|
+
Column({ type: 'varchar', length: 32, nullable: true }),
|
|
304
|
+
__metadata("design:type", Object)
|
|
305
|
+
], ProductComplianceMatch.prototype, "invalidationReason", void 0);
|
|
306
|
+
ProductComplianceMatch = __decorate([
|
|
307
|
+
Entity('plugin_trade_compliance_product_match'),
|
|
308
|
+
Index(['tenantId', 'organizationId', 'purchaseOrderLineId', 'controlledGoodsId'], { unique: true, where: '"deletedAt" IS NULL' })
|
|
309
|
+
], ProductComplianceMatch);
|
|
310
|
+
export { ProductComplianceMatch };
|
|
311
|
+
let HsCodeReferenceSnapshot = class HsCodeReferenceSnapshot extends CreatedEntity {
|
|
312
|
+
};
|
|
313
|
+
__decorate([
|
|
314
|
+
Column({ type: 'varchar', length: 24, default: 'HSBIANMA' }),
|
|
315
|
+
__metadata("design:type", String)
|
|
316
|
+
], HsCodeReferenceSnapshot.prototype, "providerType", void 0);
|
|
317
|
+
__decorate([
|
|
318
|
+
Column({ type: 'varchar', length: 24 }),
|
|
319
|
+
__metadata("design:type", String)
|
|
320
|
+
], HsCodeReferenceSnapshot.prototype, "queryMode", void 0);
|
|
321
|
+
__decorate([
|
|
322
|
+
Column({ type: 'varchar' }),
|
|
323
|
+
__metadata("design:type", String)
|
|
324
|
+
], HsCodeReferenceSnapshot.prototype, "queryKeyword", void 0);
|
|
325
|
+
__decorate([
|
|
326
|
+
Column({ type: 'integer', default: 1 }),
|
|
327
|
+
__metadata("design:type", Number)
|
|
328
|
+
], HsCodeReferenceSnapshot.prototype, "pageNumber", void 0);
|
|
329
|
+
__decorate([
|
|
330
|
+
Column({ type: 'varchar' }),
|
|
331
|
+
__metadata("design:type", String)
|
|
332
|
+
], HsCodeReferenceSnapshot.prototype, "hsCode", void 0);
|
|
333
|
+
__decorate([
|
|
334
|
+
Column({ type: 'varchar', nullable: true }),
|
|
335
|
+
__metadata("design:type", Object)
|
|
336
|
+
], HsCodeReferenceSnapshot.prototype, "chineseName", void 0);
|
|
337
|
+
__decorate([
|
|
338
|
+
Column({ type: 'varchar', nullable: true }),
|
|
339
|
+
__metadata("design:type", Object)
|
|
340
|
+
], HsCodeReferenceSnapshot.prototype, "englishName", void 0);
|
|
341
|
+
__decorate([
|
|
342
|
+
Column({ type: 'varchar', nullable: true }),
|
|
343
|
+
__metadata("design:type", Object)
|
|
344
|
+
], HsCodeReferenceSnapshot.prototype, "legalUnit", void 0);
|
|
345
|
+
__decorate([
|
|
346
|
+
Column({ type: 'varchar', nullable: true }),
|
|
347
|
+
__metadata("design:type", Object)
|
|
348
|
+
], HsCodeReferenceSnapshot.prototype, "refundRateRaw", void 0);
|
|
349
|
+
__decorate([
|
|
350
|
+
Column({ type: 'numeric', precision: 12, scale: 8, nullable: true }),
|
|
351
|
+
__metadata("design:type", Object)
|
|
352
|
+
], HsCodeReferenceSnapshot.prototype, "refundRate", void 0);
|
|
353
|
+
__decorate([
|
|
354
|
+
Column({ type: 'date', nullable: true }),
|
|
355
|
+
__metadata("design:type", Object)
|
|
356
|
+
], HsCodeReferenceSnapshot.prototype, "policyEffectiveFrom", void 0);
|
|
357
|
+
__decorate([
|
|
358
|
+
Column({ type: 'date', nullable: true }),
|
|
359
|
+
__metadata("design:type", Object)
|
|
360
|
+
], HsCodeReferenceSnapshot.prototype, "policyEffectiveTo", void 0);
|
|
361
|
+
__decorate([
|
|
362
|
+
Column({ type: 'text', nullable: true }),
|
|
363
|
+
__metadata("design:type", Object)
|
|
364
|
+
], HsCodeReferenceSnapshot.prototype, "supervisionConditions", void 0);
|
|
365
|
+
__decorate([
|
|
366
|
+
Column({ type: 'text', nullable: true }),
|
|
367
|
+
__metadata("design:type", Object)
|
|
368
|
+
], HsCodeReferenceSnapshot.prototype, "inspectionConditions", void 0);
|
|
369
|
+
__decorate([
|
|
370
|
+
Column({ type: 'text' }),
|
|
371
|
+
__metadata("design:type", String)
|
|
372
|
+
], HsCodeReferenceSnapshot.prototype, "sourceUrl", void 0);
|
|
373
|
+
__decorate([
|
|
374
|
+
Column({ type: 'timestamptz' }),
|
|
375
|
+
__metadata("design:type", Date)
|
|
376
|
+
], HsCodeReferenceSnapshot.prototype, "queriedAt", void 0);
|
|
377
|
+
__decorate([
|
|
378
|
+
Column({ type: 'varchar', length: 24 }),
|
|
379
|
+
__metadata("design:type", String)
|
|
380
|
+
], HsCodeReferenceSnapshot.prototype, "parserVersion", void 0);
|
|
381
|
+
HsCodeReferenceSnapshot = __decorate([
|
|
382
|
+
Entity('plugin_trade_compliance_hs_reference_snapshot'),
|
|
383
|
+
Index(['tenantId', 'organizationId', 'hsCode', 'queriedAt'])
|
|
384
|
+
], HsCodeReferenceSnapshot);
|
|
385
|
+
export { HsCodeReferenceSnapshot };
|
|
386
|
+
//# sourceMappingURL=procurement.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"procurement.entity.js","sourceRoot":"","sources":["../../../src/lib/entities/procurement.entity.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAoB,MAAM,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAEjE,OAAO,EAAE,aAAa,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AAC,+CAA+C,CAAC;IACvD,KAAK,CAAC,CAAC,UAAU,EAAE,gBAAgB,EAAE,QAAQ,EAAE,WAAW,CAAC,CAAC;GAChD,uBAAuB,CAkBnC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { BankAccountType, SalesFileType } from '../types.js';
|
|
2
|
+
import { AuditedEntity, SoftDeleteEntity } from './base.js';
|
|
3
|
+
export declare class GeneratedSalesFile extends SoftDeleteEntity {
|
|
4
|
+
customerContractId: string;
|
|
5
|
+
purchaseOrderId: string;
|
|
6
|
+
salesOrderNoSnapshot: string;
|
|
7
|
+
fileType: SalesFileType;
|
|
8
|
+
documentNo: string | null;
|
|
9
|
+
fileName: string;
|
|
10
|
+
storageFileId: string;
|
|
11
|
+
templateVersion: string;
|
|
12
|
+
templateChecksum: string;
|
|
13
|
+
generationSnapshotVersion: string;
|
|
14
|
+
generationSnapshot: Record<string, unknown>;
|
|
15
|
+
generationWarnings: Array<Record<string, unknown>> | null;
|
|
16
|
+
pricingProfitRate: string;
|
|
17
|
+
complianceProfitRate: string;
|
|
18
|
+
exchangeCost: string | null;
|
|
19
|
+
profitRuleSnapshot: Record<string, unknown>;
|
|
20
|
+
bankType: BankAccountType | null;
|
|
21
|
+
bankSnapshot: Record<string, unknown> | null;
|
|
22
|
+
generatedById: string | null;
|
|
23
|
+
generatedAt: Date;
|
|
24
|
+
lastEditedById: string | null;
|
|
25
|
+
lastEditedAt: Date | null;
|
|
26
|
+
}
|
|
27
|
+
export declare class CompanySettings extends AuditedEntity {
|
|
28
|
+
logoFileId: string | null;
|
|
29
|
+
companyNameZh: string | null;
|
|
30
|
+
companyNameEn: string | null;
|
|
31
|
+
unifiedSocialCreditCode: string | null;
|
|
32
|
+
addressZh: string | null;
|
|
33
|
+
addressEn: string | null;
|
|
34
|
+
phone: string | null;
|
|
35
|
+
email: string | null;
|
|
36
|
+
revision: number;
|
|
37
|
+
}
|
|
38
|
+
export declare class BankAccountSettings extends AuditedEntity {
|
|
39
|
+
bankType: BankAccountType;
|
|
40
|
+
beneficiary: string | null;
|
|
41
|
+
bankName: string | null;
|
|
42
|
+
bankAddress: string | null;
|
|
43
|
+
cnapsCode: string | null;
|
|
44
|
+
accountNo: string | null;
|
|
45
|
+
swiftCode: string | null;
|
|
46
|
+
revision: number;
|
|
47
|
+
}
|
|
48
|
+
export declare class ProfitRuleSettings extends AuditedEntity {
|
|
49
|
+
status: 'UNCONFIGURED' | 'ACTIVE';
|
|
50
|
+
ruleVersion: string;
|
|
51
|
+
minimumOrderProfitRate: string;
|
|
52
|
+
exchangeCostMinimum: string;
|
|
53
|
+
exchangeCostMaximum: string;
|
|
54
|
+
revision: number;
|
|
55
|
+
}
|
|
56
|
+
export declare class MonthlySafeExchangeRate extends SoftDeleteEntity {
|
|
57
|
+
year: number;
|
|
58
|
+
month: number;
|
|
59
|
+
currencyCode: 'USD';
|
|
60
|
+
usdToCnyRate: string;
|
|
61
|
+
sourceReference: string | null;
|
|
62
|
+
revision: number;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=settings.entity.d.ts.map
|