@konversi/konversi-client 1.1.2 → 1.1.3
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/index.d.mts +67 -66
- package/dist/index.d.ts +67 -66
- package/dist/index.js +7 -2
- package/dist/index.mjs +3 -2
- package/index.ts +4 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -61,70 +61,70 @@ declare const WORK_ORDER = "order/sales-order?type=WORK_ORDER";
|
|
|
61
61
|
declare const INCOMING_SHIPMENT = "shipment/incoming-shipment";
|
|
62
62
|
declare const OUTGOING_SHIPMENT = "shipment/outgoing-shipment";
|
|
63
63
|
|
|
64
|
-
declare const
|
|
65
|
-
declare const
|
|
66
|
-
declare const
|
|
67
|
-
declare const
|
|
68
|
-
declare const
|
|
69
|
-
declare const
|
|
70
|
-
declare const
|
|
71
|
-
declare const
|
|
72
|
-
declare const
|
|
73
|
-
declare const
|
|
74
|
-
declare const
|
|
75
|
-
declare const
|
|
76
|
-
declare const
|
|
77
|
-
declare const
|
|
78
|
-
declare const
|
|
79
|
-
declare const
|
|
80
|
-
declare const
|
|
81
|
-
declare const
|
|
82
|
-
declare const
|
|
83
|
-
declare const
|
|
84
|
-
declare const
|
|
85
|
-
declare const
|
|
86
|
-
declare const
|
|
87
|
-
declare const
|
|
88
|
-
declare const
|
|
89
|
-
declare const
|
|
90
|
-
declare const
|
|
91
|
-
declare const
|
|
92
|
-
declare const
|
|
93
|
-
declare const
|
|
94
|
-
declare const
|
|
95
|
-
declare const
|
|
96
|
-
declare const
|
|
97
|
-
declare const
|
|
98
|
-
declare const
|
|
99
|
-
declare const
|
|
100
|
-
declare const
|
|
101
|
-
declare const
|
|
102
|
-
declare const
|
|
103
|
-
declare const
|
|
104
|
-
declare const
|
|
105
|
-
declare const
|
|
106
|
-
declare const
|
|
107
|
-
declare const
|
|
108
|
-
declare const
|
|
109
|
-
declare const
|
|
110
|
-
declare const
|
|
111
|
-
declare const
|
|
112
|
-
declare const
|
|
113
|
-
declare const
|
|
114
|
-
declare const
|
|
115
|
-
declare const
|
|
116
|
-
declare const
|
|
117
|
-
declare const
|
|
118
|
-
declare const
|
|
119
|
-
declare const
|
|
120
|
-
declare const
|
|
121
|
-
declare const
|
|
122
|
-
declare const
|
|
123
|
-
declare const
|
|
124
|
-
declare const
|
|
125
|
-
declare const
|
|
126
|
-
declare namespace
|
|
127
|
-
export {
|
|
64
|
+
declare const crudEndpointsImported_ACCOUNT: typeof ACCOUNT;
|
|
65
|
+
declare const crudEndpointsImported_ATTENDANCE: typeof ATTENDANCE;
|
|
66
|
+
declare const crudEndpointsImported_AUDIT_LOG: typeof AUDIT_LOG;
|
|
67
|
+
declare const crudEndpointsImported_AUTOMATION_JOB: typeof AUTOMATION_JOB;
|
|
68
|
+
declare const crudEndpointsImported_AUTOMATION_SCRIPT: typeof AUTOMATION_SCRIPT;
|
|
69
|
+
declare const crudEndpointsImported_BILL_OF_MATERIALS: typeof BILL_OF_MATERIALS;
|
|
70
|
+
declare const crudEndpointsImported_BOM_COMPONENT: typeof BOM_COMPONENT;
|
|
71
|
+
declare const crudEndpointsImported_BOM_OPERATION: typeof BOM_OPERATION;
|
|
72
|
+
declare const crudEndpointsImported_COMPANY_ALIAS: typeof COMPANY_ALIAS;
|
|
73
|
+
declare const crudEndpointsImported_COMPANY_OPTION: typeof COMPANY_OPTION;
|
|
74
|
+
declare const crudEndpointsImported_COMPANY_PERMISSION: typeof COMPANY_PERMISSION;
|
|
75
|
+
declare const crudEndpointsImported_CUSTOMER: typeof CUSTOMER;
|
|
76
|
+
declare const crudEndpointsImported_CUSTOM_DOCUMENT: typeof CUSTOM_DOCUMENT;
|
|
77
|
+
declare const crudEndpointsImported_CUSTOM_ENTITY_FIELD: typeof CUSTOM_ENTITY_FIELD;
|
|
78
|
+
declare const crudEndpointsImported_CUSTOM_ENTITY_OBJECT: typeof CUSTOM_ENTITY_OBJECT;
|
|
79
|
+
declare const crudEndpointsImported_CUSTOM_ENTITY_SCHEMA: typeof CUSTOM_ENTITY_SCHEMA;
|
|
80
|
+
declare const crudEndpointsImported_CUSTOM_FIELD: typeof CUSTOM_FIELD;
|
|
81
|
+
declare const crudEndpointsImported_DELIVERY_JOB: typeof DELIVERY_JOB;
|
|
82
|
+
declare const crudEndpointsImported_EMPLOYEE: typeof EMPLOYEE;
|
|
83
|
+
declare const crudEndpointsImported_EXPENSE: typeof EXPENSE;
|
|
84
|
+
declare const crudEndpointsImported_EXPENSE_LINE: typeof EXPENSE_LINE;
|
|
85
|
+
declare const crudEndpointsImported_FIXED_ASSET: typeof FIXED_ASSET;
|
|
86
|
+
declare const crudEndpointsImported_INCOMING_DELIVERY: typeof INCOMING_DELIVERY;
|
|
87
|
+
declare const crudEndpointsImported_INCOMING_DELIVERY_LINE: typeof INCOMING_DELIVERY_LINE;
|
|
88
|
+
declare const crudEndpointsImported_INCOMING_PAYMENT_METHOD: typeof INCOMING_PAYMENT_METHOD;
|
|
89
|
+
declare const crudEndpointsImported_INCOMING_SHIPMENT: typeof INCOMING_SHIPMENT;
|
|
90
|
+
declare const crudEndpointsImported_INTERNAL_DELIVERY: typeof INTERNAL_DELIVERY;
|
|
91
|
+
declare const crudEndpointsImported_INTERNAL_DELIVERY_LINE: typeof INTERNAL_DELIVERY_LINE;
|
|
92
|
+
declare const crudEndpointsImported_INVITATION: typeof INVITATION;
|
|
93
|
+
declare const crudEndpointsImported_INVOICE: typeof INVOICE;
|
|
94
|
+
declare const crudEndpointsImported_INVOICE_LINE: typeof INVOICE_LINE;
|
|
95
|
+
declare const crudEndpointsImported_JOURNAL_ENTRY: typeof JOURNAL_ENTRY;
|
|
96
|
+
declare const crudEndpointsImported_JOURNAL_ENTRY_LINE: typeof JOURNAL_ENTRY_LINE;
|
|
97
|
+
declare const crudEndpointsImported_OUTGOING_DELIVERY: typeof OUTGOING_DELIVERY;
|
|
98
|
+
declare const crudEndpointsImported_OUTGOING_DELIVERY_LINE: typeof OUTGOING_DELIVERY_LINE;
|
|
99
|
+
declare const crudEndpointsImported_OUTGOING_SHIPMENT: typeof OUTGOING_SHIPMENT;
|
|
100
|
+
declare const crudEndpointsImported_PAYMENT: typeof PAYMENT;
|
|
101
|
+
declare const crudEndpointsImported_PRINT_JOB: typeof PRINT_JOB;
|
|
102
|
+
declare const crudEndpointsImported_PRODUCT: typeof PRODUCT;
|
|
103
|
+
declare const crudEndpointsImported_PRODUCTION_ORDER: typeof PRODUCTION_ORDER;
|
|
104
|
+
declare const crudEndpointsImported_PRODUCTION_ORDER_LINE: typeof PRODUCTION_ORDER_LINE;
|
|
105
|
+
declare const crudEndpointsImported_PRODUCT_GROUP: typeof PRODUCT_GROUP;
|
|
106
|
+
declare const crudEndpointsImported_PRODUCT_ITEM: typeof PRODUCT_ITEM;
|
|
107
|
+
declare const crudEndpointsImported_PURCHASE_ORDER: typeof PURCHASE_ORDER;
|
|
108
|
+
declare const crudEndpointsImported_PURCHASE_ORDER_APPROVER: typeof PURCHASE_ORDER_APPROVER;
|
|
109
|
+
declare const crudEndpointsImported_PURCHASE_ORDER_LINE: typeof PURCHASE_ORDER_LINE;
|
|
110
|
+
declare const crudEndpointsImported_QUOTE: typeof QUOTE;
|
|
111
|
+
declare const crudEndpointsImported_QUOTE_LINE: typeof QUOTE_LINE;
|
|
112
|
+
declare const crudEndpointsImported_RENTAL_ORDER: typeof RENTAL_ORDER;
|
|
113
|
+
declare const crudEndpointsImported_RENTAL_ORDER_LINE: typeof RENTAL_ORDER_LINE;
|
|
114
|
+
declare const crudEndpointsImported_SALES_ORDER: typeof SALES_ORDER;
|
|
115
|
+
declare const crudEndpointsImported_SALES_ORDER_APPROVER: typeof SALES_ORDER_APPROVER;
|
|
116
|
+
declare const crudEndpointsImported_SALES_ORDER_LINE: typeof SALES_ORDER_LINE;
|
|
117
|
+
declare const crudEndpointsImported_STOCK_ADJUSTMENT: typeof STOCK_ADJUSTMENT;
|
|
118
|
+
declare const crudEndpointsImported_STORE: typeof STORE;
|
|
119
|
+
declare const crudEndpointsImported_STORE_PRODUCT: typeof STORE_PRODUCT;
|
|
120
|
+
declare const crudEndpointsImported_STORE_PRODUCT_GROUP: typeof STORE_PRODUCT_GROUP;
|
|
121
|
+
declare const crudEndpointsImported_SUBSIDIARY: typeof SUBSIDIARY;
|
|
122
|
+
declare const crudEndpointsImported_SUPPLIER: typeof SUPPLIER;
|
|
123
|
+
declare const crudEndpointsImported_VEHICLE: typeof VEHICLE;
|
|
124
|
+
declare const crudEndpointsImported_WAREHOUSE: typeof WAREHOUSE;
|
|
125
|
+
declare const crudEndpointsImported_WORK_ORDER: typeof WORK_ORDER;
|
|
126
|
+
declare namespace crudEndpointsImported {
|
|
127
|
+
export { crudEndpointsImported_ACCOUNT as ACCOUNT, crudEndpointsImported_ATTENDANCE as ATTENDANCE, crudEndpointsImported_AUDIT_LOG as AUDIT_LOG, crudEndpointsImported_AUTOMATION_JOB as AUTOMATION_JOB, crudEndpointsImported_AUTOMATION_SCRIPT as AUTOMATION_SCRIPT, crudEndpointsImported_BILL_OF_MATERIALS as BILL_OF_MATERIALS, crudEndpointsImported_BOM_COMPONENT as BOM_COMPONENT, crudEndpointsImported_BOM_OPERATION as BOM_OPERATION, crudEndpointsImported_COMPANY_ALIAS as COMPANY_ALIAS, crudEndpointsImported_COMPANY_OPTION as COMPANY_OPTION, crudEndpointsImported_COMPANY_PERMISSION as COMPANY_PERMISSION, crudEndpointsImported_CUSTOMER as CUSTOMER, crudEndpointsImported_CUSTOM_DOCUMENT as CUSTOM_DOCUMENT, crudEndpointsImported_CUSTOM_ENTITY_FIELD as CUSTOM_ENTITY_FIELD, crudEndpointsImported_CUSTOM_ENTITY_OBJECT as CUSTOM_ENTITY_OBJECT, crudEndpointsImported_CUSTOM_ENTITY_SCHEMA as CUSTOM_ENTITY_SCHEMA, crudEndpointsImported_CUSTOM_FIELD as CUSTOM_FIELD, crudEndpointsImported_DELIVERY_JOB as DELIVERY_JOB, crudEndpointsImported_EMPLOYEE as EMPLOYEE, crudEndpointsImported_EXPENSE as EXPENSE, crudEndpointsImported_EXPENSE_LINE as EXPENSE_LINE, crudEndpointsImported_FIXED_ASSET as FIXED_ASSET, crudEndpointsImported_INCOMING_DELIVERY as INCOMING_DELIVERY, crudEndpointsImported_INCOMING_DELIVERY_LINE as INCOMING_DELIVERY_LINE, crudEndpointsImported_INCOMING_PAYMENT_METHOD as INCOMING_PAYMENT_METHOD, crudEndpointsImported_INCOMING_SHIPMENT as INCOMING_SHIPMENT, crudEndpointsImported_INTERNAL_DELIVERY as INTERNAL_DELIVERY, crudEndpointsImported_INTERNAL_DELIVERY_LINE as INTERNAL_DELIVERY_LINE, crudEndpointsImported_INVITATION as INVITATION, crudEndpointsImported_INVOICE as INVOICE, crudEndpointsImported_INVOICE_LINE as INVOICE_LINE, crudEndpointsImported_JOURNAL_ENTRY as JOURNAL_ENTRY, crudEndpointsImported_JOURNAL_ENTRY_LINE as JOURNAL_ENTRY_LINE, crudEndpointsImported_OUTGOING_DELIVERY as OUTGOING_DELIVERY, crudEndpointsImported_OUTGOING_DELIVERY_LINE as OUTGOING_DELIVERY_LINE, crudEndpointsImported_OUTGOING_SHIPMENT as OUTGOING_SHIPMENT, crudEndpointsImported_PAYMENT as PAYMENT, crudEndpointsImported_PRINT_JOB as PRINT_JOB, crudEndpointsImported_PRODUCT as PRODUCT, crudEndpointsImported_PRODUCTION_ORDER as PRODUCTION_ORDER, crudEndpointsImported_PRODUCTION_ORDER_LINE as PRODUCTION_ORDER_LINE, crudEndpointsImported_PRODUCT_GROUP as PRODUCT_GROUP, crudEndpointsImported_PRODUCT_ITEM as PRODUCT_ITEM, crudEndpointsImported_PURCHASE_ORDER as PURCHASE_ORDER, crudEndpointsImported_PURCHASE_ORDER_APPROVER as PURCHASE_ORDER_APPROVER, crudEndpointsImported_PURCHASE_ORDER_LINE as PURCHASE_ORDER_LINE, crudEndpointsImported_QUOTE as QUOTE, crudEndpointsImported_QUOTE_LINE as QUOTE_LINE, crudEndpointsImported_RENTAL_ORDER as RENTAL_ORDER, crudEndpointsImported_RENTAL_ORDER_LINE as RENTAL_ORDER_LINE, crudEndpointsImported_SALES_ORDER as SALES_ORDER, crudEndpointsImported_SALES_ORDER_APPROVER as SALES_ORDER_APPROVER, crudEndpointsImported_SALES_ORDER_LINE as SALES_ORDER_LINE, crudEndpointsImported_STOCK_ADJUSTMENT as STOCK_ADJUSTMENT, crudEndpointsImported_STORE as STORE, crudEndpointsImported_STORE_PRODUCT as STORE_PRODUCT, crudEndpointsImported_STORE_PRODUCT_GROUP as STORE_PRODUCT_GROUP, crudEndpointsImported_SUBSIDIARY as SUBSIDIARY, crudEndpointsImported_SUPPLIER as SUPPLIER, crudEndpointsImported_VEHICLE as VEHICLE, crudEndpointsImported_WAREHOUSE as WAREHOUSE, crudEndpointsImported_WORK_ORDER as WORK_ORDER };
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
declare function getAllObjects(entity: any, queryParams?: any): Promise<any>;
|
|
@@ -140,7 +140,8 @@ declare const konversiAPI: {
|
|
|
140
140
|
updateObject: typeof updateObject;
|
|
141
141
|
createObject: typeof createObject;
|
|
142
142
|
deleteObject: typeof deleteObject;
|
|
143
|
-
crudEndpoints: typeof crudEndpoints;
|
|
144
143
|
};
|
|
145
144
|
|
|
146
|
-
|
|
145
|
+
declare const crudEndpoints: typeof crudEndpointsImported;
|
|
146
|
+
|
|
147
|
+
export { crudEndpoints, konversiAPI as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -61,70 +61,70 @@ declare const WORK_ORDER = "order/sales-order?type=WORK_ORDER";
|
|
|
61
61
|
declare const INCOMING_SHIPMENT = "shipment/incoming-shipment";
|
|
62
62
|
declare const OUTGOING_SHIPMENT = "shipment/outgoing-shipment";
|
|
63
63
|
|
|
64
|
-
declare const
|
|
65
|
-
declare const
|
|
66
|
-
declare const
|
|
67
|
-
declare const
|
|
68
|
-
declare const
|
|
69
|
-
declare const
|
|
70
|
-
declare const
|
|
71
|
-
declare const
|
|
72
|
-
declare const
|
|
73
|
-
declare const
|
|
74
|
-
declare const
|
|
75
|
-
declare const
|
|
76
|
-
declare const
|
|
77
|
-
declare const
|
|
78
|
-
declare const
|
|
79
|
-
declare const
|
|
80
|
-
declare const
|
|
81
|
-
declare const
|
|
82
|
-
declare const
|
|
83
|
-
declare const
|
|
84
|
-
declare const
|
|
85
|
-
declare const
|
|
86
|
-
declare const
|
|
87
|
-
declare const
|
|
88
|
-
declare const
|
|
89
|
-
declare const
|
|
90
|
-
declare const
|
|
91
|
-
declare const
|
|
92
|
-
declare const
|
|
93
|
-
declare const
|
|
94
|
-
declare const
|
|
95
|
-
declare const
|
|
96
|
-
declare const
|
|
97
|
-
declare const
|
|
98
|
-
declare const
|
|
99
|
-
declare const
|
|
100
|
-
declare const
|
|
101
|
-
declare const
|
|
102
|
-
declare const
|
|
103
|
-
declare const
|
|
104
|
-
declare const
|
|
105
|
-
declare const
|
|
106
|
-
declare const
|
|
107
|
-
declare const
|
|
108
|
-
declare const
|
|
109
|
-
declare const
|
|
110
|
-
declare const
|
|
111
|
-
declare const
|
|
112
|
-
declare const
|
|
113
|
-
declare const
|
|
114
|
-
declare const
|
|
115
|
-
declare const
|
|
116
|
-
declare const
|
|
117
|
-
declare const
|
|
118
|
-
declare const
|
|
119
|
-
declare const
|
|
120
|
-
declare const
|
|
121
|
-
declare const
|
|
122
|
-
declare const
|
|
123
|
-
declare const
|
|
124
|
-
declare const
|
|
125
|
-
declare const
|
|
126
|
-
declare namespace
|
|
127
|
-
export {
|
|
64
|
+
declare const crudEndpointsImported_ACCOUNT: typeof ACCOUNT;
|
|
65
|
+
declare const crudEndpointsImported_ATTENDANCE: typeof ATTENDANCE;
|
|
66
|
+
declare const crudEndpointsImported_AUDIT_LOG: typeof AUDIT_LOG;
|
|
67
|
+
declare const crudEndpointsImported_AUTOMATION_JOB: typeof AUTOMATION_JOB;
|
|
68
|
+
declare const crudEndpointsImported_AUTOMATION_SCRIPT: typeof AUTOMATION_SCRIPT;
|
|
69
|
+
declare const crudEndpointsImported_BILL_OF_MATERIALS: typeof BILL_OF_MATERIALS;
|
|
70
|
+
declare const crudEndpointsImported_BOM_COMPONENT: typeof BOM_COMPONENT;
|
|
71
|
+
declare const crudEndpointsImported_BOM_OPERATION: typeof BOM_OPERATION;
|
|
72
|
+
declare const crudEndpointsImported_COMPANY_ALIAS: typeof COMPANY_ALIAS;
|
|
73
|
+
declare const crudEndpointsImported_COMPANY_OPTION: typeof COMPANY_OPTION;
|
|
74
|
+
declare const crudEndpointsImported_COMPANY_PERMISSION: typeof COMPANY_PERMISSION;
|
|
75
|
+
declare const crudEndpointsImported_CUSTOMER: typeof CUSTOMER;
|
|
76
|
+
declare const crudEndpointsImported_CUSTOM_DOCUMENT: typeof CUSTOM_DOCUMENT;
|
|
77
|
+
declare const crudEndpointsImported_CUSTOM_ENTITY_FIELD: typeof CUSTOM_ENTITY_FIELD;
|
|
78
|
+
declare const crudEndpointsImported_CUSTOM_ENTITY_OBJECT: typeof CUSTOM_ENTITY_OBJECT;
|
|
79
|
+
declare const crudEndpointsImported_CUSTOM_ENTITY_SCHEMA: typeof CUSTOM_ENTITY_SCHEMA;
|
|
80
|
+
declare const crudEndpointsImported_CUSTOM_FIELD: typeof CUSTOM_FIELD;
|
|
81
|
+
declare const crudEndpointsImported_DELIVERY_JOB: typeof DELIVERY_JOB;
|
|
82
|
+
declare const crudEndpointsImported_EMPLOYEE: typeof EMPLOYEE;
|
|
83
|
+
declare const crudEndpointsImported_EXPENSE: typeof EXPENSE;
|
|
84
|
+
declare const crudEndpointsImported_EXPENSE_LINE: typeof EXPENSE_LINE;
|
|
85
|
+
declare const crudEndpointsImported_FIXED_ASSET: typeof FIXED_ASSET;
|
|
86
|
+
declare const crudEndpointsImported_INCOMING_DELIVERY: typeof INCOMING_DELIVERY;
|
|
87
|
+
declare const crudEndpointsImported_INCOMING_DELIVERY_LINE: typeof INCOMING_DELIVERY_LINE;
|
|
88
|
+
declare const crudEndpointsImported_INCOMING_PAYMENT_METHOD: typeof INCOMING_PAYMENT_METHOD;
|
|
89
|
+
declare const crudEndpointsImported_INCOMING_SHIPMENT: typeof INCOMING_SHIPMENT;
|
|
90
|
+
declare const crudEndpointsImported_INTERNAL_DELIVERY: typeof INTERNAL_DELIVERY;
|
|
91
|
+
declare const crudEndpointsImported_INTERNAL_DELIVERY_LINE: typeof INTERNAL_DELIVERY_LINE;
|
|
92
|
+
declare const crudEndpointsImported_INVITATION: typeof INVITATION;
|
|
93
|
+
declare const crudEndpointsImported_INVOICE: typeof INVOICE;
|
|
94
|
+
declare const crudEndpointsImported_INVOICE_LINE: typeof INVOICE_LINE;
|
|
95
|
+
declare const crudEndpointsImported_JOURNAL_ENTRY: typeof JOURNAL_ENTRY;
|
|
96
|
+
declare const crudEndpointsImported_JOURNAL_ENTRY_LINE: typeof JOURNAL_ENTRY_LINE;
|
|
97
|
+
declare const crudEndpointsImported_OUTGOING_DELIVERY: typeof OUTGOING_DELIVERY;
|
|
98
|
+
declare const crudEndpointsImported_OUTGOING_DELIVERY_LINE: typeof OUTGOING_DELIVERY_LINE;
|
|
99
|
+
declare const crudEndpointsImported_OUTGOING_SHIPMENT: typeof OUTGOING_SHIPMENT;
|
|
100
|
+
declare const crudEndpointsImported_PAYMENT: typeof PAYMENT;
|
|
101
|
+
declare const crudEndpointsImported_PRINT_JOB: typeof PRINT_JOB;
|
|
102
|
+
declare const crudEndpointsImported_PRODUCT: typeof PRODUCT;
|
|
103
|
+
declare const crudEndpointsImported_PRODUCTION_ORDER: typeof PRODUCTION_ORDER;
|
|
104
|
+
declare const crudEndpointsImported_PRODUCTION_ORDER_LINE: typeof PRODUCTION_ORDER_LINE;
|
|
105
|
+
declare const crudEndpointsImported_PRODUCT_GROUP: typeof PRODUCT_GROUP;
|
|
106
|
+
declare const crudEndpointsImported_PRODUCT_ITEM: typeof PRODUCT_ITEM;
|
|
107
|
+
declare const crudEndpointsImported_PURCHASE_ORDER: typeof PURCHASE_ORDER;
|
|
108
|
+
declare const crudEndpointsImported_PURCHASE_ORDER_APPROVER: typeof PURCHASE_ORDER_APPROVER;
|
|
109
|
+
declare const crudEndpointsImported_PURCHASE_ORDER_LINE: typeof PURCHASE_ORDER_LINE;
|
|
110
|
+
declare const crudEndpointsImported_QUOTE: typeof QUOTE;
|
|
111
|
+
declare const crudEndpointsImported_QUOTE_LINE: typeof QUOTE_LINE;
|
|
112
|
+
declare const crudEndpointsImported_RENTAL_ORDER: typeof RENTAL_ORDER;
|
|
113
|
+
declare const crudEndpointsImported_RENTAL_ORDER_LINE: typeof RENTAL_ORDER_LINE;
|
|
114
|
+
declare const crudEndpointsImported_SALES_ORDER: typeof SALES_ORDER;
|
|
115
|
+
declare const crudEndpointsImported_SALES_ORDER_APPROVER: typeof SALES_ORDER_APPROVER;
|
|
116
|
+
declare const crudEndpointsImported_SALES_ORDER_LINE: typeof SALES_ORDER_LINE;
|
|
117
|
+
declare const crudEndpointsImported_STOCK_ADJUSTMENT: typeof STOCK_ADJUSTMENT;
|
|
118
|
+
declare const crudEndpointsImported_STORE: typeof STORE;
|
|
119
|
+
declare const crudEndpointsImported_STORE_PRODUCT: typeof STORE_PRODUCT;
|
|
120
|
+
declare const crudEndpointsImported_STORE_PRODUCT_GROUP: typeof STORE_PRODUCT_GROUP;
|
|
121
|
+
declare const crudEndpointsImported_SUBSIDIARY: typeof SUBSIDIARY;
|
|
122
|
+
declare const crudEndpointsImported_SUPPLIER: typeof SUPPLIER;
|
|
123
|
+
declare const crudEndpointsImported_VEHICLE: typeof VEHICLE;
|
|
124
|
+
declare const crudEndpointsImported_WAREHOUSE: typeof WAREHOUSE;
|
|
125
|
+
declare const crudEndpointsImported_WORK_ORDER: typeof WORK_ORDER;
|
|
126
|
+
declare namespace crudEndpointsImported {
|
|
127
|
+
export { crudEndpointsImported_ACCOUNT as ACCOUNT, crudEndpointsImported_ATTENDANCE as ATTENDANCE, crudEndpointsImported_AUDIT_LOG as AUDIT_LOG, crudEndpointsImported_AUTOMATION_JOB as AUTOMATION_JOB, crudEndpointsImported_AUTOMATION_SCRIPT as AUTOMATION_SCRIPT, crudEndpointsImported_BILL_OF_MATERIALS as BILL_OF_MATERIALS, crudEndpointsImported_BOM_COMPONENT as BOM_COMPONENT, crudEndpointsImported_BOM_OPERATION as BOM_OPERATION, crudEndpointsImported_COMPANY_ALIAS as COMPANY_ALIAS, crudEndpointsImported_COMPANY_OPTION as COMPANY_OPTION, crudEndpointsImported_COMPANY_PERMISSION as COMPANY_PERMISSION, crudEndpointsImported_CUSTOMER as CUSTOMER, crudEndpointsImported_CUSTOM_DOCUMENT as CUSTOM_DOCUMENT, crudEndpointsImported_CUSTOM_ENTITY_FIELD as CUSTOM_ENTITY_FIELD, crudEndpointsImported_CUSTOM_ENTITY_OBJECT as CUSTOM_ENTITY_OBJECT, crudEndpointsImported_CUSTOM_ENTITY_SCHEMA as CUSTOM_ENTITY_SCHEMA, crudEndpointsImported_CUSTOM_FIELD as CUSTOM_FIELD, crudEndpointsImported_DELIVERY_JOB as DELIVERY_JOB, crudEndpointsImported_EMPLOYEE as EMPLOYEE, crudEndpointsImported_EXPENSE as EXPENSE, crudEndpointsImported_EXPENSE_LINE as EXPENSE_LINE, crudEndpointsImported_FIXED_ASSET as FIXED_ASSET, crudEndpointsImported_INCOMING_DELIVERY as INCOMING_DELIVERY, crudEndpointsImported_INCOMING_DELIVERY_LINE as INCOMING_DELIVERY_LINE, crudEndpointsImported_INCOMING_PAYMENT_METHOD as INCOMING_PAYMENT_METHOD, crudEndpointsImported_INCOMING_SHIPMENT as INCOMING_SHIPMENT, crudEndpointsImported_INTERNAL_DELIVERY as INTERNAL_DELIVERY, crudEndpointsImported_INTERNAL_DELIVERY_LINE as INTERNAL_DELIVERY_LINE, crudEndpointsImported_INVITATION as INVITATION, crudEndpointsImported_INVOICE as INVOICE, crudEndpointsImported_INVOICE_LINE as INVOICE_LINE, crudEndpointsImported_JOURNAL_ENTRY as JOURNAL_ENTRY, crudEndpointsImported_JOURNAL_ENTRY_LINE as JOURNAL_ENTRY_LINE, crudEndpointsImported_OUTGOING_DELIVERY as OUTGOING_DELIVERY, crudEndpointsImported_OUTGOING_DELIVERY_LINE as OUTGOING_DELIVERY_LINE, crudEndpointsImported_OUTGOING_SHIPMENT as OUTGOING_SHIPMENT, crudEndpointsImported_PAYMENT as PAYMENT, crudEndpointsImported_PRINT_JOB as PRINT_JOB, crudEndpointsImported_PRODUCT as PRODUCT, crudEndpointsImported_PRODUCTION_ORDER as PRODUCTION_ORDER, crudEndpointsImported_PRODUCTION_ORDER_LINE as PRODUCTION_ORDER_LINE, crudEndpointsImported_PRODUCT_GROUP as PRODUCT_GROUP, crudEndpointsImported_PRODUCT_ITEM as PRODUCT_ITEM, crudEndpointsImported_PURCHASE_ORDER as PURCHASE_ORDER, crudEndpointsImported_PURCHASE_ORDER_APPROVER as PURCHASE_ORDER_APPROVER, crudEndpointsImported_PURCHASE_ORDER_LINE as PURCHASE_ORDER_LINE, crudEndpointsImported_QUOTE as QUOTE, crudEndpointsImported_QUOTE_LINE as QUOTE_LINE, crudEndpointsImported_RENTAL_ORDER as RENTAL_ORDER, crudEndpointsImported_RENTAL_ORDER_LINE as RENTAL_ORDER_LINE, crudEndpointsImported_SALES_ORDER as SALES_ORDER, crudEndpointsImported_SALES_ORDER_APPROVER as SALES_ORDER_APPROVER, crudEndpointsImported_SALES_ORDER_LINE as SALES_ORDER_LINE, crudEndpointsImported_STOCK_ADJUSTMENT as STOCK_ADJUSTMENT, crudEndpointsImported_STORE as STORE, crudEndpointsImported_STORE_PRODUCT as STORE_PRODUCT, crudEndpointsImported_STORE_PRODUCT_GROUP as STORE_PRODUCT_GROUP, crudEndpointsImported_SUBSIDIARY as SUBSIDIARY, crudEndpointsImported_SUPPLIER as SUPPLIER, crudEndpointsImported_VEHICLE as VEHICLE, crudEndpointsImported_WAREHOUSE as WAREHOUSE, crudEndpointsImported_WORK_ORDER as WORK_ORDER };
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
declare function getAllObjects(entity: any, queryParams?: any): Promise<any>;
|
|
@@ -140,7 +140,8 @@ declare const konversiAPI: {
|
|
|
140
140
|
updateObject: typeof updateObject;
|
|
141
141
|
createObject: typeof createObject;
|
|
142
142
|
deleteObject: typeof deleteObject;
|
|
143
|
-
crudEndpoints: typeof crudEndpoints;
|
|
144
143
|
};
|
|
145
144
|
|
|
146
|
-
|
|
145
|
+
declare const crudEndpoints: typeof crudEndpointsImported;
|
|
146
|
+
|
|
147
|
+
export { crudEndpoints, konversiAPI as default };
|
package/dist/index.js
CHANGED
|
@@ -50,6 +50,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
50
50
|
// index.ts
|
|
51
51
|
var konversi_client_exports = {};
|
|
52
52
|
__export(konversi_client_exports, {
|
|
53
|
+
crudEndpoints: () => crudEndpoints,
|
|
53
54
|
default: () => konversi_client_default
|
|
54
55
|
});
|
|
55
56
|
module.exports = __toCommonJS(konversi_client_exports);
|
|
@@ -239,7 +240,11 @@ var konversiAPI = {
|
|
|
239
240
|
getObjectById,
|
|
240
241
|
updateObject,
|
|
241
242
|
createObject,
|
|
242
|
-
deleteObject
|
|
243
|
-
crudEndpoints: crudEndpoints_exports
|
|
243
|
+
deleteObject
|
|
244
244
|
};
|
|
245
245
|
var konversi_client_default = konversiAPI;
|
|
246
|
+
var crudEndpoints = crudEndpoints_exports;
|
|
247
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
248
|
+
0 && (module.exports = {
|
|
249
|
+
crudEndpoints
|
|
250
|
+
});
|
package/dist/index.mjs
CHANGED
|
@@ -209,10 +209,11 @@ var konversiAPI = {
|
|
|
209
209
|
getObjectById,
|
|
210
210
|
updateObject,
|
|
211
211
|
createObject,
|
|
212
|
-
deleteObject
|
|
213
|
-
crudEndpoints: crudEndpoints_exports
|
|
212
|
+
deleteObject
|
|
214
213
|
};
|
|
215
214
|
var konversi_client_default = konversiAPI;
|
|
215
|
+
var crudEndpoints = crudEndpoints_exports;
|
|
216
216
|
export {
|
|
217
|
+
crudEndpoints,
|
|
217
218
|
konversi_client_default as default
|
|
218
219
|
};
|
package/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import axiosAPI, { setAuthToken, setCompanyId } from "./axiosAPI";
|
|
2
2
|
|
|
3
|
-
import * as
|
|
3
|
+
import * as crudEndpointsImported from "./crudEndpoints";
|
|
4
4
|
|
|
5
5
|
async function getAllObjects(entity: any, queryParams: any = {}) {
|
|
6
6
|
const response = await axiosAPI.get(`${entity}`, {
|
|
@@ -38,8 +38,8 @@ const konversiAPI = {
|
|
|
38
38
|
getObjectById,
|
|
39
39
|
updateObject,
|
|
40
40
|
createObject,
|
|
41
|
-
deleteObject
|
|
42
|
-
crudEndpoints
|
|
41
|
+
deleteObject
|
|
43
42
|
}
|
|
44
43
|
|
|
45
|
-
export default konversiAPI;
|
|
44
|
+
export default konversiAPI;
|
|
45
|
+
export const crudEndpoints = crudEndpointsImported;
|