@zensoftbr/zenerpclient 1.0.33 → 1.0.35
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/dist/cjs/I18n.js +54 -56
- package/dist/cjs/I18n.js.map +1 -1
- package/dist/cjs/api/api.module.js +2 -1
- package/dist/cjs/api/api.module.js.map +1 -1
- package/dist/cjs/api/catalog/product/Product.js +1 -0
- package/dist/cjs/api/catalog/product/Product.js.map +1 -1
- package/dist/cjs/api/catalog/product/ProductPacking.js +2 -0
- package/dist/cjs/api/catalog/product/ProductPacking.js.map +1 -1
- package/dist/cjs/api/commercial/PersonHierarchy.js +1 -0
- package/dist/cjs/api/commercial/PersonHierarchy.js.map +1 -1
- package/dist/cjs/api/commercial/PersonHierarchyView.js +1 -0
- package/dist/cjs/api/commercial/PersonHierarchyView.js.map +1 -1
- package/dist/cjs/api/commercial/contract/ContractBilling.js +1 -0
- package/dist/cjs/api/commercial/contract/ContractBilling.js.map +1 -1
- package/dist/cjs/api/commercial/contract/ContractService.js +8 -0
- package/dist/cjs/api/commercial/contract/ContractService.js.map +1 -1
- package/dist/cjs/api/financial/FinancialService.js +8 -0
- package/dist/cjs/api/financial/FinancialService.js.map +1 -1
- package/dist/cjs/api/fiscal/FiscalProfileOperation.js +1 -0
- package/dist/cjs/api/fiscal/FiscalProfileOperation.js.map +1 -1
- package/dist/cjs/api/material/ArgsReservationOpCreate.js +10 -0
- package/dist/cjs/api/material/ArgsReservationOpCreate.js.map +1 -0
- package/dist/cjs/api/material/ArgsStockOpRead.js +9 -0
- package/dist/cjs/api/material/ArgsStockOpRead.js.map +1 -0
- package/dist/cjs/api/material/Inventory.js +1 -0
- package/dist/cjs/api/material/Inventory.js.map +1 -1
- package/dist/cjs/api/material/InventoryProfile.js +13 -0
- package/dist/cjs/api/material/InventoryProfile.js.map +1 -0
- package/dist/cjs/api/material/MaterialService.js +55 -0
- package/dist/cjs/api/material/MaterialService.js.map +1 -1
- package/dist/cjs/api/material/material.module.js +3 -1
- package/dist/cjs/api/material/material.module.js.map +1 -1
- package/dist/cjs/api/trade/Clearance.js +17 -0
- package/dist/cjs/api/trade/Clearance.js.map +1 -0
- package/dist/cjs/api/trade/ClearanceItem.js +14 -0
- package/dist/cjs/api/trade/ClearanceItem.js.map +1 -0
- package/dist/cjs/api/trade/Contract.js +22 -0
- package/dist/cjs/api/trade/Contract.js.map +1 -0
- package/dist/cjs/api/trade/ContractItem.js +17 -0
- package/dist/cjs/api/trade/ContractItem.js.map +1 -0
- package/dist/cjs/api/trade/ContractPayment.js +15 -0
- package/dist/cjs/api/trade/ContractPayment.js.map +1 -0
- package/dist/cjs/api/trade/Cost.js +17 -0
- package/dist/cjs/api/trade/Cost.js.map +1 -0
- package/dist/cjs/api/trade/CostAllocation.js +13 -0
- package/dist/cjs/api/trade/CostAllocation.js.map +1 -0
- package/dist/cjs/api/trade/ExchangeContract.js +21 -0
- package/dist/cjs/api/trade/ExchangeContract.js.map +1 -0
- package/dist/cjs/api/trade/ExchangeContractProfile.js +11 -0
- package/dist/cjs/api/trade/ExchangeContractProfile.js.map +1 -0
- package/dist/cjs/api/trade/Shipment.js +15 -0
- package/dist/cjs/api/trade/Shipment.js.map +1 -0
- package/dist/cjs/api/trade/ShipmentContainer.js +12 -0
- package/dist/cjs/api/trade/ShipmentContainer.js.map +1 -0
- package/dist/cjs/api/trade/ShipmentItem.js +19 -0
- package/dist/cjs/api/trade/ShipmentItem.js.map +1 -0
- package/dist/cjs/api/trade/TradeClearance.js +16 -0
- package/dist/cjs/api/trade/TradeClearance.js.map +1 -0
- package/dist/cjs/api/trade/TradeClearanceItem.js +14 -0
- package/dist/cjs/api/trade/TradeClearanceItem.js.map +1 -0
- package/dist/cjs/api/trade/TradeContract.js +21 -0
- package/dist/cjs/api/trade/TradeContract.js.map +1 -0
- package/dist/cjs/api/trade/TradeContractItem.js +17 -0
- package/dist/cjs/api/trade/TradeContractItem.js.map +1 -0
- package/dist/cjs/api/trade/TradeContractPayment.js +16 -0
- package/dist/cjs/api/trade/TradeContractPayment.js.map +1 -0
- package/dist/cjs/api/trade/TradeCost.js +17 -0
- package/dist/cjs/api/trade/TradeCost.js.map +1 -0
- package/dist/cjs/api/trade/TradeCostAllocation.js +13 -0
- package/dist/cjs/api/trade/TradeCostAllocation.js.map +1 -0
- package/dist/cjs/api/trade/TradeExchangeContract.js +19 -0
- package/dist/cjs/api/trade/TradeExchangeContract.js.map +1 -0
- package/dist/cjs/api/trade/TradeExchangeContractPayment.js +16 -0
- package/dist/cjs/api/trade/TradeExchangeContractPayment.js.map +1 -0
- package/dist/cjs/api/trade/TradeService.js +496 -0
- package/dist/cjs/api/trade/TradeService.js.map +1 -0
- package/dist/cjs/api/trade/TradeShipment.js +15 -0
- package/dist/cjs/api/trade/TradeShipment.js.map +1 -0
- package/dist/cjs/api/trade/TradeShipmentContainer.js +12 -0
- package/dist/cjs/api/trade/TradeShipmentContainer.js.map +1 -0
- package/dist/cjs/api/trade/TradeShipmentItem.js +19 -0
- package/dist/cjs/api/trade/TradeShipmentItem.js.map +1 -0
- package/dist/cjs/api/trade/trade.module.js +30 -0
- package/dist/cjs/api/trade/trade.module.js.map +1 -0
- package/dist/esm/I18n.js +54 -56
- package/dist/esm/I18n.js.map +1 -1
- package/dist/esm/api/api.module.js +1 -0
- package/dist/esm/api/api.module.js.map +1 -1
- package/dist/esm/api/catalog/product/Product.js +1 -0
- package/dist/esm/api/catalog/product/Product.js.map +1 -1
- package/dist/esm/api/catalog/product/ProductPacking.js +2 -0
- package/dist/esm/api/catalog/product/ProductPacking.js.map +1 -1
- package/dist/esm/api/commercial/PersonHierarchy.js +1 -0
- package/dist/esm/api/commercial/PersonHierarchy.js.map +1 -1
- package/dist/esm/api/commercial/PersonHierarchyView.js +1 -0
- package/dist/esm/api/commercial/PersonHierarchyView.js.map +1 -1
- package/dist/esm/api/commercial/contract/ContractBilling.js +1 -0
- package/dist/esm/api/commercial/contract/ContractBilling.js.map +1 -1
- package/dist/esm/api/commercial/contract/ContractService.js +8 -0
- package/dist/esm/api/commercial/contract/ContractService.js.map +1 -1
- package/dist/esm/api/financial/FinancialService.js +8 -0
- package/dist/esm/api/financial/FinancialService.js.map +1 -1
- package/dist/esm/api/fiscal/FiscalProfileOperation.js +1 -0
- package/dist/esm/api/fiscal/FiscalProfileOperation.js.map +1 -1
- package/dist/esm/api/material/ArgsReservationOpCreate.js +6 -0
- package/dist/esm/api/material/ArgsReservationOpCreate.js.map +1 -0
- package/dist/esm/api/material/ArgsStockOpRead.js +5 -0
- package/dist/esm/api/material/ArgsStockOpRead.js.map +1 -0
- package/dist/esm/api/material/Inventory.js +1 -0
- package/dist/esm/api/material/Inventory.js.map +1 -1
- package/dist/esm/api/material/InventoryProfile.js +9 -0
- package/dist/esm/api/material/InventoryProfile.js.map +1 -0
- package/dist/esm/api/material/MaterialService.js +55 -0
- package/dist/esm/api/material/MaterialService.js.map +1 -1
- package/dist/esm/api/material/material.module.js +1 -0
- package/dist/esm/api/material/material.module.js.map +1 -1
- package/dist/esm/api/trade/Clearance.js +13 -0
- package/dist/esm/api/trade/Clearance.js.map +1 -0
- package/dist/esm/api/trade/ClearanceItem.js +10 -0
- package/dist/esm/api/trade/ClearanceItem.js.map +1 -0
- package/dist/esm/api/trade/Contract.js +18 -0
- package/dist/esm/api/trade/Contract.js.map +1 -0
- package/dist/esm/api/trade/ContractItem.js +13 -0
- package/dist/esm/api/trade/ContractItem.js.map +1 -0
- package/dist/esm/api/trade/ContractPayment.js +11 -0
- package/dist/esm/api/trade/ContractPayment.js.map +1 -0
- package/dist/esm/api/trade/Cost.js +13 -0
- package/dist/esm/api/trade/Cost.js.map +1 -0
- package/dist/esm/api/trade/CostAllocation.js +9 -0
- package/dist/esm/api/trade/CostAllocation.js.map +1 -0
- package/dist/esm/api/trade/ExchangeContract.js +17 -0
- package/dist/esm/api/trade/ExchangeContract.js.map +1 -0
- package/dist/esm/api/trade/ExchangeContractProfile.js +7 -0
- package/dist/esm/api/trade/ExchangeContractProfile.js.map +1 -0
- package/dist/esm/api/trade/Shipment.js +11 -0
- package/dist/esm/api/trade/Shipment.js.map +1 -0
- package/dist/esm/api/trade/ShipmentContainer.js +8 -0
- package/dist/esm/api/trade/ShipmentContainer.js.map +1 -0
- package/dist/esm/api/trade/ShipmentItem.js +15 -0
- package/dist/esm/api/trade/ShipmentItem.js.map +1 -0
- package/dist/esm/api/trade/TradeClearance.js +12 -0
- package/dist/esm/api/trade/TradeClearance.js.map +1 -0
- package/dist/esm/api/trade/TradeClearanceItem.js +10 -0
- package/dist/esm/api/trade/TradeClearanceItem.js.map +1 -0
- package/dist/esm/api/trade/TradeContract.js +17 -0
- package/dist/esm/api/trade/TradeContract.js.map +1 -0
- package/dist/esm/api/trade/TradeContractItem.js +13 -0
- package/dist/esm/api/trade/TradeContractItem.js.map +1 -0
- package/dist/esm/api/trade/TradeContractPayment.js +12 -0
- package/dist/esm/api/trade/TradeContractPayment.js.map +1 -0
- package/dist/esm/api/trade/TradeCost.js +13 -0
- package/dist/esm/api/trade/TradeCost.js.map +1 -0
- package/dist/esm/api/trade/TradeCostAllocation.js +9 -0
- package/dist/esm/api/trade/TradeCostAllocation.js.map +1 -0
- package/dist/esm/api/trade/TradeExchangeContract.js +15 -0
- package/dist/esm/api/trade/TradeExchangeContract.js.map +1 -0
- package/dist/esm/api/trade/TradeExchangeContractPayment.js +12 -0
- package/dist/esm/api/trade/TradeExchangeContractPayment.js.map +1 -0
- package/dist/esm/api/trade/TradeService.js +492 -0
- package/dist/esm/api/trade/TradeService.js.map +1 -0
- package/dist/esm/api/trade/TradeShipment.js +11 -0
- package/dist/esm/api/trade/TradeShipment.js.map +1 -0
- package/dist/esm/api/trade/TradeShipmentContainer.js +8 -0
- package/dist/esm/api/trade/TradeShipmentContainer.js.map +1 -0
- package/dist/esm/api/trade/TradeShipmentItem.js +15 -0
- package/dist/esm/api/trade/TradeShipmentItem.js.map +1 -0
- package/dist/esm/api/trade/trade.module.js +14 -0
- package/dist/esm/api/trade/trade.module.js.map +1 -0
- package/dist/types/I18n.d.ts +38 -9
- package/dist/types/api/api.module.d.ts +1 -0
- package/dist/types/api/catalog/product/Product.d.ts +2 -0
- package/dist/types/api/catalog/product/ProductPacking.d.ts +3 -0
- package/dist/types/api/commercial/PersonHierarchy.d.ts +1 -0
- package/dist/types/api/commercial/PersonHierarchyView.d.ts +1 -0
- package/dist/types/api/commercial/contract/ContractBilling.d.ts +2 -0
- package/dist/types/api/commercial/contract/ContractService.d.ts +1 -0
- package/dist/types/api/financial/FinancialService.d.ts +1 -0
- package/dist/types/api/fiscal/FiscalProfileOperation.d.ts +1 -0
- package/dist/types/api/material/ArgsReservationOpCreate.d.ts +5 -0
- package/dist/types/api/material/ArgsStockOpRead.d.ts +4 -0
- package/dist/types/api/material/Inventory.d.ts +2 -0
- package/dist/types/api/material/InventoryProfile.d.ts +9 -0
- package/dist/types/api/material/MaterialService.d.ts +9 -0
- package/dist/types/api/material/material.module.d.ts +1 -0
- package/dist/types/api/trade/Clearance.d.ts +15 -0
- package/dist/types/api/trade/ClearanceItem.d.ts +11 -0
- package/dist/types/api/trade/Contract.d.ts +22 -0
- package/dist/types/api/trade/ContractItem.d.ts +14 -0
- package/dist/types/api/trade/ContractPayment.d.ts +12 -0
- package/dist/types/api/trade/Cost.d.ts +14 -0
- package/dist/types/api/trade/CostAllocation.d.ts +10 -0
- package/dist/types/api/trade/ExchangeContract.d.ts +20 -0
- package/dist/types/api/trade/ExchangeContractProfile.d.ts +6 -0
- package/dist/types/api/trade/Shipment.d.ts +11 -0
- package/dist/types/api/trade/ShipmentContainer.d.ts +8 -0
- package/dist/types/api/trade/ShipmentItem.d.ts +17 -0
- package/dist/types/api/trade/TradeClearance.d.ts +14 -0
- package/dist/types/api/trade/TradeClearanceItem.d.ts +11 -0
- package/dist/types/api/trade/TradeContract.d.ts +20 -0
- package/dist/types/api/trade/TradeContractItem.d.ts +14 -0
- package/dist/types/api/trade/TradeContractPayment.d.ts +13 -0
- package/dist/types/api/trade/TradeCost.d.ts +14 -0
- package/dist/types/api/trade/TradeCostAllocation.d.ts +10 -0
- package/dist/types/api/trade/TradeExchangeContract.d.ts +17 -0
- package/dist/types/api/trade/TradeExchangeContractPayment.d.ts +13 -0
- package/dist/types/api/trade/TradeService.d.ts +91 -0
- package/dist/types/api/trade/TradeShipment.d.ts +11 -0
- package/dist/types/api/trade/TradeShipmentContainer.d.ts +8 -0
- package/dist/types/api/trade/TradeShipmentItem.d.ts +17 -0
- package/dist/types/api/trade/trade.module.d.ts +13 -0
- package/package.json +6 -4
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Image } from "../../system/image/Image.js";
|
|
1
2
|
import { Product } from "./Product.js";
|
|
2
3
|
import { ProductVariant } from "./ProductVariant.js";
|
|
3
4
|
export declare class ProductPacking {
|
|
@@ -14,6 +15,8 @@ export declare class ProductPacking {
|
|
|
14
15
|
volumeM3: number;
|
|
15
16
|
netWeightKg: number;
|
|
16
17
|
grossWeightKg: number;
|
|
18
|
+
image: Image;
|
|
19
|
+
productPackingStock: ProductPacking;
|
|
17
20
|
tags: string;
|
|
18
21
|
properties: any;
|
|
19
22
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ContractItem } from "./ContractItem.js";
|
|
2
|
+
import { OutgoingInvoice } from "../../fiscal/OutgoingInvoice.js";
|
|
2
3
|
export declare class ContractBilling {
|
|
3
4
|
id: number;
|
|
4
5
|
status: string;
|
|
5
6
|
contractItem: ContractItem;
|
|
6
7
|
date: Date;
|
|
7
8
|
value: number;
|
|
9
|
+
invoice: OutgoingInvoice;
|
|
8
10
|
tags: string;
|
|
9
11
|
properties: any;
|
|
10
12
|
}
|
|
@@ -16,6 +16,7 @@ export declare class ContractService {
|
|
|
16
16
|
contractBillingOpApproveRevert(id: number): Promise<ContractBilling>;
|
|
17
17
|
contractBillingOpCreate(contractId: number): Promise<ContractBilling[]>;
|
|
18
18
|
contractBillingOpCreateInvoice(args: ArgsContractBillingOpCreateInvoice): Promise<OutgoingInvoice>;
|
|
19
|
+
contractBillingOpCreateInvoiceRevert(invoiceId: number): Promise<OutgoingInvoice>;
|
|
19
20
|
contractBillingOpCreateRevert(contractId: number): Promise<Contract>;
|
|
20
21
|
contractBillingOpPrepare(id: number): Promise<ContractBilling>;
|
|
21
22
|
contractBillingOpPrepareRevert(id: number): Promise<ContractBilling>;
|
|
@@ -30,6 +30,7 @@ export declare class FinancialService {
|
|
|
30
30
|
payableDelete(id: number): Promise<Payable>;
|
|
31
31
|
payableOpApprove(id: number): Promise<Payable>;
|
|
32
32
|
payableOpApproveRevert(id: number): Promise<Payable>;
|
|
33
|
+
payableOpChangeWallet(id: number, walletId: number): Promise<Payable>;
|
|
33
34
|
payableOpPrepare(id: number): Promise<Payable>;
|
|
34
35
|
payableOpPrepareRevert(id: number): Promise<Payable>;
|
|
35
36
|
payableOpRepeat(id: number, args: ArgsBillingTitleOpRepeat): Promise<Payable[]>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Company } from "../catalog/company/Company.js";
|
|
2
|
+
import { InventoryProfile } from "./InventoryProfile.js";
|
|
2
3
|
import { JournalEntry } from "../financial/accounting/JournalEntry.js";
|
|
3
4
|
export declare class Inventory {
|
|
4
5
|
id: number;
|
|
5
6
|
company: Company;
|
|
6
7
|
status: string;
|
|
8
|
+
inventoryProfile: InventoryProfile;
|
|
7
9
|
date: Date;
|
|
8
10
|
description: string;
|
|
9
11
|
pointInTime: Date;
|
|
@@ -9,6 +9,7 @@ import { ArgsOutgoingListOpOutgoingInvoiceCreate } from "./ArgsOutgoingListOpOut
|
|
|
9
9
|
import { ArgsOutgoingListOpVolumeCreateAuto } from "./ArgsOutgoingListOpVolumeCreateAuto.js";
|
|
10
10
|
import { ArgsPickingOrderOpCreate } from "./ArgsPickingOrderOpCreate.js";
|
|
11
11
|
import { ArgsPickingOrderOpGroup } from "./ArgsPickingOrderOpGroup.js";
|
|
12
|
+
import { ArgsReservationOpCreate } from "./ArgsReservationOpCreate.js";
|
|
12
13
|
import { ArgsStockManagementOpImport } from "./ArgsStockManagementOpImport.js";
|
|
13
14
|
import { ArgsStockOpUpdate } from "./ArgsStockOpUpdate.js";
|
|
14
15
|
import { ArgsUpdateAverageDailyConsumption } from "./ArgsUpdateAverageDailyConsumption.js";
|
|
@@ -20,6 +21,7 @@ import { IncomingListItem } from "./IncomingListItem.js";
|
|
|
20
21
|
import { Inventory } from "./Inventory.js";
|
|
21
22
|
import { InventoryAdjustment } from "./InventoryAdjustment.js";
|
|
22
23
|
import { InventoryCheck } from "./InventoryCheck.js";
|
|
24
|
+
import { InventoryProfile } from "./InventoryProfile.js";
|
|
23
25
|
import { InventoryStock } from "./InventoryStock.js";
|
|
24
26
|
import { Lot } from "./Lot.js";
|
|
25
27
|
import { MovingOrder } from "./MovingOrder.js";
|
|
@@ -97,6 +99,11 @@ export declare class MaterialService {
|
|
|
97
99
|
inventoryOpProcessRevert(id: number): Promise<Inventory>;
|
|
98
100
|
inventoryOpStart(id: number): Promise<Inventory>;
|
|
99
101
|
inventoryOpStartRevert(id: number): Promise<Inventory>;
|
|
102
|
+
inventoryProfileCreate(bean: InventoryProfile): Promise<InventoryProfile>;
|
|
103
|
+
inventoryProfileDelete(id: number): Promise<InventoryProfile>;
|
|
104
|
+
inventoryProfileRead(search: any): Promise<InventoryProfile[]>;
|
|
105
|
+
inventoryProfileReadById(id: number): Promise<InventoryProfile>;
|
|
106
|
+
inventoryProfileUpdate(bean: InventoryProfile): Promise<InventoryProfile>;
|
|
100
107
|
inventoryRead(search: any): Promise<Inventory[]>;
|
|
101
108
|
inventoryReadById(id: number): Promise<Inventory>;
|
|
102
109
|
inventoryStockCreate(bean: InventoryStock): Promise<InventoryStock>;
|
|
@@ -191,6 +198,7 @@ export declare class MaterialService {
|
|
|
191
198
|
reservationOpAllocateStockRevert(id: number, stockId: number, quantity: number): Promise<Reservation>;
|
|
192
199
|
reservationOpApprove(id: number): Promise<Reservation>;
|
|
193
200
|
reservationOpApproveRevert(id: number): Promise<Reservation>;
|
|
201
|
+
reservationOpCreate(args: ArgsReservationOpCreate): Promise<Reservation>;
|
|
194
202
|
reservationOpFinish(id: number): Promise<Reservation>;
|
|
195
203
|
reservationOpFinishDivergent(id: number): Promise<Reservation>;
|
|
196
204
|
reservationOpFinishRevert(id: number): Promise<Reservation>;
|
|
@@ -230,6 +238,7 @@ export declare class MaterialService {
|
|
|
230
238
|
stockManagementReadById(id: number): Promise<StockManagement>;
|
|
231
239
|
stockManagementUpdate(bean: StockManagement): Promise<StockManagement>;
|
|
232
240
|
stockOpBarcode(stock: Stock): Promise<string>;
|
|
241
|
+
stockOpCompensate(stockMap: any): Promise<void>;
|
|
233
242
|
stockOpUpdate(id: number, args: ArgsStockOpUpdate): Promise<Stock>;
|
|
234
243
|
stockRead(search: any): Promise<Stock[]>;
|
|
235
244
|
stockReadById(id: number): Promise<Stock>;
|
|
@@ -7,6 +7,7 @@ export { IncomingListItem } from "./IncomingListItem.js";
|
|
|
7
7
|
export { Inventory } from "./Inventory.js";
|
|
8
8
|
export { InventoryAdjustment } from "./InventoryAdjustment.js";
|
|
9
9
|
export { InventoryCheck } from "./InventoryCheck.js";
|
|
10
|
+
export { InventoryProfile } from "./InventoryProfile.js";
|
|
10
11
|
export { InventoryStock } from "./InventoryStock.js";
|
|
11
12
|
export { Lot } from "./Lot.js";
|
|
12
13
|
export { MovingOrder } from "./MovingOrder.js";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Company } from "../catalog/company/Company.js";
|
|
2
|
+
import { Invoice } from "../fiscal/Invoice.js";
|
|
3
|
+
import { Shipment } from "./Shipment.js";
|
|
4
|
+
export declare class Clearance {
|
|
5
|
+
id: number;
|
|
6
|
+
type: string;
|
|
7
|
+
status: string;
|
|
8
|
+
shipment: Shipment;
|
|
9
|
+
company: Company;
|
|
10
|
+
code: string;
|
|
11
|
+
date: Date;
|
|
12
|
+
invoice: Invoice;
|
|
13
|
+
tags: string;
|
|
14
|
+
properties: any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Clearance } from "./Clearance.js";
|
|
2
|
+
import { ShipmentItem } from "./ShipmentItem.js";
|
|
3
|
+
export declare class ClearanceItem {
|
|
4
|
+
id: number;
|
|
5
|
+
clearance: Clearance;
|
|
6
|
+
shipmentItem: ShipmentItem;
|
|
7
|
+
quantity: number;
|
|
8
|
+
value: number;
|
|
9
|
+
tags: string;
|
|
10
|
+
properties: any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Company } from "../catalog/company/Company.js";
|
|
2
|
+
import { Country } from "../catalog/location/Country.js";
|
|
3
|
+
import { Currency } from "../financial/Currency.js";
|
|
4
|
+
import { Person } from "../catalog/person/Person.js";
|
|
5
|
+
import { ResultCenter } from "../financial/accounting/ResultCenter.js";
|
|
6
|
+
export declare class Contract {
|
|
7
|
+
id: number;
|
|
8
|
+
status: string;
|
|
9
|
+
company: Company;
|
|
10
|
+
person: Person;
|
|
11
|
+
code: string;
|
|
12
|
+
description: string;
|
|
13
|
+
date: Date;
|
|
14
|
+
availabilityDate: Date;
|
|
15
|
+
country: Country;
|
|
16
|
+
currency: Currency;
|
|
17
|
+
totalValue: number;
|
|
18
|
+
paymentValue: number;
|
|
19
|
+
resultCenter: ResultCenter;
|
|
20
|
+
tags: string;
|
|
21
|
+
properties: any;
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Contract } from "./Contract.js";
|
|
2
|
+
import { ProductPacking } from "../catalog/product/ProductPacking.js";
|
|
3
|
+
export declare class ContractItem {
|
|
4
|
+
id: number;
|
|
5
|
+
contract: Contract;
|
|
6
|
+
productPacking: ProductPacking;
|
|
7
|
+
quantity: number;
|
|
8
|
+
unitValue: number;
|
|
9
|
+
totalValue: number;
|
|
10
|
+
shippedQuantity: number;
|
|
11
|
+
clearedQuantity: number;
|
|
12
|
+
tags: string;
|
|
13
|
+
properties: any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Contract } from "./Contract.js";
|
|
2
|
+
import { ExchangeContract } from "./ExchangeContract.js";
|
|
3
|
+
export declare class ContractPayment {
|
|
4
|
+
id: number;
|
|
5
|
+
status: string;
|
|
6
|
+
exchangeContract: ExchangeContract;
|
|
7
|
+
contract: Contract;
|
|
8
|
+
date: Date;
|
|
9
|
+
value: number;
|
|
10
|
+
tags: string;
|
|
11
|
+
properties: any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Currency } from "../financial/Currency.js";
|
|
2
|
+
import { Shipment } from "./Shipment.js";
|
|
3
|
+
export declare class Cost {
|
|
4
|
+
id: number;
|
|
5
|
+
shipment: Shipment;
|
|
6
|
+
type: string;
|
|
7
|
+
description: string;
|
|
8
|
+
date: Date;
|
|
9
|
+
value: number;
|
|
10
|
+
currency: Currency;
|
|
11
|
+
exchangeRate: number;
|
|
12
|
+
tags: string;
|
|
13
|
+
properties: any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Company } from "../catalog/company/Company.js";
|
|
2
|
+
import { Currency } from "../financial/Currency.js";
|
|
3
|
+
import { ExchangeContractProfile } from "./ExchangeContractProfile.js";
|
|
4
|
+
import { Person } from "../catalog/person/Person.js";
|
|
5
|
+
export declare class ExchangeContract {
|
|
6
|
+
id: number;
|
|
7
|
+
status: string;
|
|
8
|
+
profile: ExchangeContractProfile;
|
|
9
|
+
company: Company;
|
|
10
|
+
person: Person;
|
|
11
|
+
personAgent: Person;
|
|
12
|
+
code: string;
|
|
13
|
+
description: string;
|
|
14
|
+
date: Date;
|
|
15
|
+
currency: Currency;
|
|
16
|
+
value: number;
|
|
17
|
+
paymentValue: number;
|
|
18
|
+
tags: string;
|
|
19
|
+
properties: any;
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ContractItem } from "./ContractItem.js";
|
|
2
|
+
import { Shipment } from "./Shipment.js";
|
|
3
|
+
import { ShipmentContainer } from "./ShipmentContainer.js";
|
|
4
|
+
export declare class ShipmentItem {
|
|
5
|
+
id: number;
|
|
6
|
+
shipment: Shipment;
|
|
7
|
+
contractItem: ContractItem;
|
|
8
|
+
quantity: number;
|
|
9
|
+
unitValue: number;
|
|
10
|
+
totalValue: number;
|
|
11
|
+
netWeightKg: number;
|
|
12
|
+
grossWeightKg: number;
|
|
13
|
+
clearedQuantity: number;
|
|
14
|
+
container: ShipmentContainer;
|
|
15
|
+
tags: string;
|
|
16
|
+
properties: any;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Company } from "../catalog/company/Company.js";
|
|
2
|
+
import { Invoice } from "../fiscal/Invoice.js";
|
|
3
|
+
import { TradeShipment } from "./TradeShipment.js";
|
|
4
|
+
export declare class TradeClearance {
|
|
5
|
+
id: number;
|
|
6
|
+
status: string;
|
|
7
|
+
shipment: TradeShipment;
|
|
8
|
+
company: Company;
|
|
9
|
+
code: string;
|
|
10
|
+
date: Date;
|
|
11
|
+
invoice: Invoice;
|
|
12
|
+
tags: string;
|
|
13
|
+
properties: any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TradeClearance } from "./TradeClearance.js";
|
|
2
|
+
import { TradeShipmentItem } from "./TradeShipmentItem.js";
|
|
3
|
+
export declare class TradeClearanceItem {
|
|
4
|
+
id: number;
|
|
5
|
+
clearance: TradeClearance;
|
|
6
|
+
shipmentItem: TradeShipmentItem;
|
|
7
|
+
quantity: number;
|
|
8
|
+
value: number;
|
|
9
|
+
tags: string;
|
|
10
|
+
properties: any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Company } from "../catalog/company/Company.js";
|
|
2
|
+
import { Country } from "../catalog/location/Country.js";
|
|
3
|
+
import { Currency } from "../financial/Currency.js";
|
|
4
|
+
import { Person } from "../catalog/person/Person.js";
|
|
5
|
+
export declare class TradeContract {
|
|
6
|
+
id: number;
|
|
7
|
+
status: string;
|
|
8
|
+
company: Company;
|
|
9
|
+
person: Person;
|
|
10
|
+
code: string;
|
|
11
|
+
description: string;
|
|
12
|
+
date: Date;
|
|
13
|
+
availabilityDate: Date;
|
|
14
|
+
country: Country;
|
|
15
|
+
currency: Currency;
|
|
16
|
+
totalValue: number;
|
|
17
|
+
paymentValue: number;
|
|
18
|
+
tags: string;
|
|
19
|
+
properties: any;
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ProductPacking } from "../catalog/product/ProductPacking.js";
|
|
2
|
+
import { TradeContract } from "./TradeContract.js";
|
|
3
|
+
export declare class TradeContractItem {
|
|
4
|
+
id: number;
|
|
5
|
+
contract: TradeContract;
|
|
6
|
+
productPacking: ProductPacking;
|
|
7
|
+
quantity: number;
|
|
8
|
+
unitValue: number;
|
|
9
|
+
totalValue: number;
|
|
10
|
+
shippedQuantity: number;
|
|
11
|
+
clearedQuantity: number;
|
|
12
|
+
tags: string;
|
|
13
|
+
properties: any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TradeContract } from "./TradeContract.js";
|
|
2
|
+
import { TradeExchangeContract } from "./TradeExchangeContract.js";
|
|
3
|
+
export declare class TradeContractPayment {
|
|
4
|
+
id: number;
|
|
5
|
+
status: string;
|
|
6
|
+
exchangeContract: TradeExchangeContract;
|
|
7
|
+
contract: TradeContract;
|
|
8
|
+
date: Date;
|
|
9
|
+
value: number;
|
|
10
|
+
exchangeRate: number;
|
|
11
|
+
tags: string;
|
|
12
|
+
properties: any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Currency } from "../financial/Currency.js";
|
|
2
|
+
import { Shipment } from "./Shipment.js";
|
|
3
|
+
export declare class TradeCost {
|
|
4
|
+
id: number;
|
|
5
|
+
shipment: Shipment;
|
|
6
|
+
type: string;
|
|
7
|
+
description: string;
|
|
8
|
+
date: Date;
|
|
9
|
+
value: number;
|
|
10
|
+
currency: Currency;
|
|
11
|
+
exchangeRate: number;
|
|
12
|
+
tags: string;
|
|
13
|
+
properties: any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Company } from "../catalog/company/Company.js";
|
|
2
|
+
import { Currency } from "../financial/Currency.js";
|
|
3
|
+
import { Person } from "../catalog/person/Person.js";
|
|
4
|
+
export declare class TradeExchangeContract {
|
|
5
|
+
id: number;
|
|
6
|
+
status: string;
|
|
7
|
+
company: Company;
|
|
8
|
+
person: Person;
|
|
9
|
+
code: string;
|
|
10
|
+
description: string;
|
|
11
|
+
date: Date;
|
|
12
|
+
currency: Currency;
|
|
13
|
+
value: number;
|
|
14
|
+
paymentValue: number;
|
|
15
|
+
tags: string;
|
|
16
|
+
properties: any;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TradeContract } from "./TradeContract.js";
|
|
2
|
+
import { TradeExchangeContract } from "./TradeExchangeContract.js";
|
|
3
|
+
export declare class TradeExchangeContractPayment {
|
|
4
|
+
id: number;
|
|
5
|
+
status: string;
|
|
6
|
+
exchangeContract: TradeExchangeContract;
|
|
7
|
+
contract: TradeContract;
|
|
8
|
+
date: Date;
|
|
9
|
+
value: number;
|
|
10
|
+
exchangeRate: number;
|
|
11
|
+
tags: string;
|
|
12
|
+
properties: any;
|
|
13
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Client } from "../../Client.js";
|
|
2
|
+
import { Clearance } from "./Clearance.js";
|
|
3
|
+
import { ClearanceItem } from "./ClearanceItem.js";
|
|
4
|
+
import { Contract } from "./Contract.js";
|
|
5
|
+
import { ContractItem } from "./ContractItem.js";
|
|
6
|
+
import { ContractPayment } from "./ContractPayment.js";
|
|
7
|
+
import { Cost } from "./Cost.js";
|
|
8
|
+
import { CostAllocation } from "./CostAllocation.js";
|
|
9
|
+
import { ExchangeContract } from "./ExchangeContract.js";
|
|
10
|
+
import { Shipment } from "./Shipment.js";
|
|
11
|
+
import { ShipmentContainer } from "./ShipmentContainer.js";
|
|
12
|
+
import { ShipmentItem } from "./ShipmentItem.js";
|
|
13
|
+
export declare class TradeService {
|
|
14
|
+
#private;
|
|
15
|
+
constructor(client: Client);
|
|
16
|
+
clearanceCreate(bean: Clearance): Promise<Clearance>;
|
|
17
|
+
clearanceDelete(id: number): Promise<Clearance>;
|
|
18
|
+
clearanceItemCreate(bean: ClearanceItem): Promise<ClearanceItem>;
|
|
19
|
+
clearanceItemDelete(id: number): Promise<ClearanceItem>;
|
|
20
|
+
clearanceItemRead(search: any): Promise<ClearanceItem[]>;
|
|
21
|
+
clearanceItemReadById(id: number): Promise<ClearanceItem>;
|
|
22
|
+
clearanceItemUpdate(bean: ClearanceItem): Promise<ClearanceItem>;
|
|
23
|
+
clearanceOpApprove(id: number): Promise<Clearance>;
|
|
24
|
+
clearanceOpApproveRevert(id: number): Promise<Clearance>;
|
|
25
|
+
clearanceOpPrepare(id: number): Promise<Clearance>;
|
|
26
|
+
clearanceOpPrepareRevert(id: number): Promise<Clearance>;
|
|
27
|
+
clearanceRead(search: any): Promise<Clearance[]>;
|
|
28
|
+
clearanceReadById(id: number): Promise<Clearance>;
|
|
29
|
+
clearanceUpdate(bean: Clearance): Promise<Clearance>;
|
|
30
|
+
contractCreate(bean: Contract): Promise<Contract>;
|
|
31
|
+
contractDelete(id: number): Promise<Contract>;
|
|
32
|
+
contractItemCreate(bean: ContractItem): Promise<ContractItem>;
|
|
33
|
+
contractItemDelete(id: number): Promise<ContractItem>;
|
|
34
|
+
contractItemRead(search: any): Promise<ContractItem[]>;
|
|
35
|
+
contractItemReadById(id: number): Promise<ContractItem>;
|
|
36
|
+
contractItemUpdate(bean: ContractItem): Promise<ContractItem>;
|
|
37
|
+
contractOpApprove(id: number): Promise<Contract>;
|
|
38
|
+
contractOpApproveRevert(id: number): Promise<Contract>;
|
|
39
|
+
contractOpPrepare(id: number): Promise<Contract>;
|
|
40
|
+
contractOpPrepareRevert(id: number): Promise<Contract>;
|
|
41
|
+
contractPaymentCreate(bean: ContractPayment): Promise<ContractPayment>;
|
|
42
|
+
contractPaymentDelete(id: number): Promise<ContractPayment>;
|
|
43
|
+
contractPaymentOpApprove(id: number): Promise<ContractPayment>;
|
|
44
|
+
contractPaymentOpApproveRevert(id: number): Promise<ContractPayment>;
|
|
45
|
+
contractPaymentOpPrepare(id: number): Promise<ContractPayment>;
|
|
46
|
+
contractPaymentOpPrepareRevert(id: number): Promise<ContractPayment>;
|
|
47
|
+
contractPaymentRead(search: any): Promise<ContractPayment[]>;
|
|
48
|
+
contractPaymentReadById(id: number): Promise<ContractPayment>;
|
|
49
|
+
contractPaymentUpdate(bean: ContractPayment): Promise<ContractPayment>;
|
|
50
|
+
contractRead(search: any): Promise<Contract[]>;
|
|
51
|
+
contractReadById(id: number): Promise<Contract>;
|
|
52
|
+
contractUpdate(bean: Contract): Promise<Contract>;
|
|
53
|
+
costAllocationCreate(bean: CostAllocation): Promise<CostAllocation>;
|
|
54
|
+
costAllocationDelete(id: number): Promise<CostAllocation>;
|
|
55
|
+
costAllocationRead(search: any): Promise<CostAllocation[]>;
|
|
56
|
+
costAllocationReadById(id: number): Promise<CostAllocation>;
|
|
57
|
+
costAllocationUpdate(bean: CostAllocation): Promise<CostAllocation>;
|
|
58
|
+
costCreate(bean: Cost): Promise<Cost>;
|
|
59
|
+
costDelete(id: number): Promise<Cost>;
|
|
60
|
+
costRead(search: any): Promise<Cost[]>;
|
|
61
|
+
costReadById(id: number): Promise<Cost>;
|
|
62
|
+
costUpdate(bean: Cost): Promise<Cost>;
|
|
63
|
+
exchangeContractCreate(bean: ExchangeContract): Promise<ExchangeContract>;
|
|
64
|
+
exchangeContractDelete(id: number): Promise<ExchangeContract>;
|
|
65
|
+
exchangeContractOpApprove(id: number): Promise<ExchangeContract>;
|
|
66
|
+
exchangeContractOpApproveRevert(id: number): Promise<ExchangeContract>;
|
|
67
|
+
exchangeContractOpPrepare(id: number): Promise<ExchangeContract>;
|
|
68
|
+
exchangeContractOpPrepareRevert(id: number): Promise<ExchangeContract>;
|
|
69
|
+
exchangeContractRead(search: any): Promise<ExchangeContract[]>;
|
|
70
|
+
exchangeContractReadById(id: number): Promise<ExchangeContract>;
|
|
71
|
+
exchangeContractUpdate(bean: ExchangeContract): Promise<ExchangeContract>;
|
|
72
|
+
shipmentContainerCreate(bean: ShipmentContainer): Promise<ShipmentContainer>;
|
|
73
|
+
shipmentContainerDelete(id: number): Promise<ShipmentContainer>;
|
|
74
|
+
shipmentContainerRead(search: any): Promise<ShipmentContainer[]>;
|
|
75
|
+
shipmentContainerReadById(id: number): Promise<ShipmentContainer>;
|
|
76
|
+
shipmentContainerUpdate(bean: ShipmentContainer): Promise<ShipmentContainer>;
|
|
77
|
+
shipmentCreate(bean: Shipment): Promise<Shipment>;
|
|
78
|
+
shipmentDelete(id: number): Promise<Shipment>;
|
|
79
|
+
shipmentItemCreate(bean: ShipmentItem): Promise<ShipmentItem>;
|
|
80
|
+
shipmentItemDelete(id: number): Promise<ShipmentItem>;
|
|
81
|
+
shipmentItemRead(search: any): Promise<ShipmentItem[]>;
|
|
82
|
+
shipmentItemReadById(id: number): Promise<ShipmentItem>;
|
|
83
|
+
shipmentItemUpdate(bean: ShipmentItem): Promise<ShipmentItem>;
|
|
84
|
+
shipmentOpApprove(id: number): Promise<Shipment>;
|
|
85
|
+
shipmentOpApproveRevert(id: number): Promise<Shipment>;
|
|
86
|
+
shipmentOpPrepare(id: number): Promise<Shipment>;
|
|
87
|
+
shipmentOpPrepareRevert(id: number): Promise<Shipment>;
|
|
88
|
+
shipmentRead(search: any): Promise<Shipment[]>;
|
|
89
|
+
shipmentReadById(id: number): Promise<Shipment>;
|
|
90
|
+
shipmentUpdate(bean: Shipment): Promise<Shipment>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TradeContractItem } from "./TradeContractItem.js";
|
|
2
|
+
import { TradeShipment } from "./TradeShipment.js";
|
|
3
|
+
import { TradeShipmentContainer } from "./TradeShipmentContainer.js";
|
|
4
|
+
export declare class TradeShipmentItem {
|
|
5
|
+
id: number;
|
|
6
|
+
shipment: TradeShipment;
|
|
7
|
+
contractItem: TradeContractItem;
|
|
8
|
+
quantity: number;
|
|
9
|
+
unitValue: number;
|
|
10
|
+
totalValue: number;
|
|
11
|
+
netWeightKg: number;
|
|
12
|
+
grossWeightKg: number;
|
|
13
|
+
clearedQuantity: number;
|
|
14
|
+
container: TradeShipmentContainer;
|
|
15
|
+
tags: string;
|
|
16
|
+
properties: any;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { TradeService } from "./TradeService.js";
|
|
2
|
+
export { Clearance } from "./Clearance.js";
|
|
3
|
+
export { ClearanceItem } from "./ClearanceItem.js";
|
|
4
|
+
export { Contract } from "./Contract.js";
|
|
5
|
+
export { ContractItem } from "./ContractItem.js";
|
|
6
|
+
export { ContractPayment } from "./ContractPayment.js";
|
|
7
|
+
export { Cost } from "./Cost.js";
|
|
8
|
+
export { CostAllocation } from "./CostAllocation.js";
|
|
9
|
+
export { ExchangeContract } from "./ExchangeContract.js";
|
|
10
|
+
export { ExchangeContractProfile } from "./ExchangeContractProfile.js";
|
|
11
|
+
export { Shipment } from "./Shipment.js";
|
|
12
|
+
export { ShipmentContainer } from "./ShipmentContainer.js";
|
|
13
|
+
export { ShipmentItem } from "./ShipmentItem.js";
|