@konversi/konversi-client 1.1.3 → 1.1.4
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 +66 -66
- package/dist/index.d.ts +66 -66
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/index.ts +3 -2
- 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 crudEndpoints_ACCOUNT: typeof ACCOUNT;
|
|
65
|
+
declare const crudEndpoints_ATTENDANCE: typeof ATTENDANCE;
|
|
66
|
+
declare const crudEndpoints_AUDIT_LOG: typeof AUDIT_LOG;
|
|
67
|
+
declare const crudEndpoints_AUTOMATION_JOB: typeof AUTOMATION_JOB;
|
|
68
|
+
declare const crudEndpoints_AUTOMATION_SCRIPT: typeof AUTOMATION_SCRIPT;
|
|
69
|
+
declare const crudEndpoints_BILL_OF_MATERIALS: typeof BILL_OF_MATERIALS;
|
|
70
|
+
declare const crudEndpoints_BOM_COMPONENT: typeof BOM_COMPONENT;
|
|
71
|
+
declare const crudEndpoints_BOM_OPERATION: typeof BOM_OPERATION;
|
|
72
|
+
declare const crudEndpoints_COMPANY_ALIAS: typeof COMPANY_ALIAS;
|
|
73
|
+
declare const crudEndpoints_COMPANY_OPTION: typeof COMPANY_OPTION;
|
|
74
|
+
declare const crudEndpoints_COMPANY_PERMISSION: typeof COMPANY_PERMISSION;
|
|
75
|
+
declare const crudEndpoints_CUSTOMER: typeof CUSTOMER;
|
|
76
|
+
declare const crudEndpoints_CUSTOM_DOCUMENT: typeof CUSTOM_DOCUMENT;
|
|
77
|
+
declare const crudEndpoints_CUSTOM_ENTITY_FIELD: typeof CUSTOM_ENTITY_FIELD;
|
|
78
|
+
declare const crudEndpoints_CUSTOM_ENTITY_OBJECT: typeof CUSTOM_ENTITY_OBJECT;
|
|
79
|
+
declare const crudEndpoints_CUSTOM_ENTITY_SCHEMA: typeof CUSTOM_ENTITY_SCHEMA;
|
|
80
|
+
declare const crudEndpoints_CUSTOM_FIELD: typeof CUSTOM_FIELD;
|
|
81
|
+
declare const crudEndpoints_DELIVERY_JOB: typeof DELIVERY_JOB;
|
|
82
|
+
declare const crudEndpoints_EMPLOYEE: typeof EMPLOYEE;
|
|
83
|
+
declare const crudEndpoints_EXPENSE: typeof EXPENSE;
|
|
84
|
+
declare const crudEndpoints_EXPENSE_LINE: typeof EXPENSE_LINE;
|
|
85
|
+
declare const crudEndpoints_FIXED_ASSET: typeof FIXED_ASSET;
|
|
86
|
+
declare const crudEndpoints_INCOMING_DELIVERY: typeof INCOMING_DELIVERY;
|
|
87
|
+
declare const crudEndpoints_INCOMING_DELIVERY_LINE: typeof INCOMING_DELIVERY_LINE;
|
|
88
|
+
declare const crudEndpoints_INCOMING_PAYMENT_METHOD: typeof INCOMING_PAYMENT_METHOD;
|
|
89
|
+
declare const crudEndpoints_INCOMING_SHIPMENT: typeof INCOMING_SHIPMENT;
|
|
90
|
+
declare const crudEndpoints_INTERNAL_DELIVERY: typeof INTERNAL_DELIVERY;
|
|
91
|
+
declare const crudEndpoints_INTERNAL_DELIVERY_LINE: typeof INTERNAL_DELIVERY_LINE;
|
|
92
|
+
declare const crudEndpoints_INVITATION: typeof INVITATION;
|
|
93
|
+
declare const crudEndpoints_INVOICE: typeof INVOICE;
|
|
94
|
+
declare const crudEndpoints_INVOICE_LINE: typeof INVOICE_LINE;
|
|
95
|
+
declare const crudEndpoints_JOURNAL_ENTRY: typeof JOURNAL_ENTRY;
|
|
96
|
+
declare const crudEndpoints_JOURNAL_ENTRY_LINE: typeof JOURNAL_ENTRY_LINE;
|
|
97
|
+
declare const crudEndpoints_OUTGOING_DELIVERY: typeof OUTGOING_DELIVERY;
|
|
98
|
+
declare const crudEndpoints_OUTGOING_DELIVERY_LINE: typeof OUTGOING_DELIVERY_LINE;
|
|
99
|
+
declare const crudEndpoints_OUTGOING_SHIPMENT: typeof OUTGOING_SHIPMENT;
|
|
100
|
+
declare const crudEndpoints_PAYMENT: typeof PAYMENT;
|
|
101
|
+
declare const crudEndpoints_PRINT_JOB: typeof PRINT_JOB;
|
|
102
|
+
declare const crudEndpoints_PRODUCT: typeof PRODUCT;
|
|
103
|
+
declare const crudEndpoints_PRODUCTION_ORDER: typeof PRODUCTION_ORDER;
|
|
104
|
+
declare const crudEndpoints_PRODUCTION_ORDER_LINE: typeof PRODUCTION_ORDER_LINE;
|
|
105
|
+
declare const crudEndpoints_PRODUCT_GROUP: typeof PRODUCT_GROUP;
|
|
106
|
+
declare const crudEndpoints_PRODUCT_ITEM: typeof PRODUCT_ITEM;
|
|
107
|
+
declare const crudEndpoints_PURCHASE_ORDER: typeof PURCHASE_ORDER;
|
|
108
|
+
declare const crudEndpoints_PURCHASE_ORDER_APPROVER: typeof PURCHASE_ORDER_APPROVER;
|
|
109
|
+
declare const crudEndpoints_PURCHASE_ORDER_LINE: typeof PURCHASE_ORDER_LINE;
|
|
110
|
+
declare const crudEndpoints_QUOTE: typeof QUOTE;
|
|
111
|
+
declare const crudEndpoints_QUOTE_LINE: typeof QUOTE_LINE;
|
|
112
|
+
declare const crudEndpoints_RENTAL_ORDER: typeof RENTAL_ORDER;
|
|
113
|
+
declare const crudEndpoints_RENTAL_ORDER_LINE: typeof RENTAL_ORDER_LINE;
|
|
114
|
+
declare const crudEndpoints_SALES_ORDER: typeof SALES_ORDER;
|
|
115
|
+
declare const crudEndpoints_SALES_ORDER_APPROVER: typeof SALES_ORDER_APPROVER;
|
|
116
|
+
declare const crudEndpoints_SALES_ORDER_LINE: typeof SALES_ORDER_LINE;
|
|
117
|
+
declare const crudEndpoints_STOCK_ADJUSTMENT: typeof STOCK_ADJUSTMENT;
|
|
118
|
+
declare const crudEndpoints_STORE: typeof STORE;
|
|
119
|
+
declare const crudEndpoints_STORE_PRODUCT: typeof STORE_PRODUCT;
|
|
120
|
+
declare const crudEndpoints_STORE_PRODUCT_GROUP: typeof STORE_PRODUCT_GROUP;
|
|
121
|
+
declare const crudEndpoints_SUBSIDIARY: typeof SUBSIDIARY;
|
|
122
|
+
declare const crudEndpoints_SUPPLIER: typeof SUPPLIER;
|
|
123
|
+
declare const crudEndpoints_VEHICLE: typeof VEHICLE;
|
|
124
|
+
declare const crudEndpoints_WAREHOUSE: typeof WAREHOUSE;
|
|
125
|
+
declare const crudEndpoints_WORK_ORDER: typeof WORK_ORDER;
|
|
126
|
+
declare namespace crudEndpoints {
|
|
127
|
+
export { crudEndpoints_ACCOUNT as ACCOUNT, crudEndpoints_ATTENDANCE as ATTENDANCE, crudEndpoints_AUDIT_LOG as AUDIT_LOG, crudEndpoints_AUTOMATION_JOB as AUTOMATION_JOB, crudEndpoints_AUTOMATION_SCRIPT as AUTOMATION_SCRIPT, crudEndpoints_BILL_OF_MATERIALS as BILL_OF_MATERIALS, crudEndpoints_BOM_COMPONENT as BOM_COMPONENT, crudEndpoints_BOM_OPERATION as BOM_OPERATION, crudEndpoints_COMPANY_ALIAS as COMPANY_ALIAS, crudEndpoints_COMPANY_OPTION as COMPANY_OPTION, crudEndpoints_COMPANY_PERMISSION as COMPANY_PERMISSION, crudEndpoints_CUSTOMER as CUSTOMER, crudEndpoints_CUSTOM_DOCUMENT as CUSTOM_DOCUMENT, crudEndpoints_CUSTOM_ENTITY_FIELD as CUSTOM_ENTITY_FIELD, crudEndpoints_CUSTOM_ENTITY_OBJECT as CUSTOM_ENTITY_OBJECT, crudEndpoints_CUSTOM_ENTITY_SCHEMA as CUSTOM_ENTITY_SCHEMA, crudEndpoints_CUSTOM_FIELD as CUSTOM_FIELD, crudEndpoints_DELIVERY_JOB as DELIVERY_JOB, crudEndpoints_EMPLOYEE as EMPLOYEE, crudEndpoints_EXPENSE as EXPENSE, crudEndpoints_EXPENSE_LINE as EXPENSE_LINE, crudEndpoints_FIXED_ASSET as FIXED_ASSET, crudEndpoints_INCOMING_DELIVERY as INCOMING_DELIVERY, crudEndpoints_INCOMING_DELIVERY_LINE as INCOMING_DELIVERY_LINE, crudEndpoints_INCOMING_PAYMENT_METHOD as INCOMING_PAYMENT_METHOD, crudEndpoints_INCOMING_SHIPMENT as INCOMING_SHIPMENT, crudEndpoints_INTERNAL_DELIVERY as INTERNAL_DELIVERY, crudEndpoints_INTERNAL_DELIVERY_LINE as INTERNAL_DELIVERY_LINE, crudEndpoints_INVITATION as INVITATION, crudEndpoints_INVOICE as INVOICE, crudEndpoints_INVOICE_LINE as INVOICE_LINE, crudEndpoints_JOURNAL_ENTRY as JOURNAL_ENTRY, crudEndpoints_JOURNAL_ENTRY_LINE as JOURNAL_ENTRY_LINE, crudEndpoints_OUTGOING_DELIVERY as OUTGOING_DELIVERY, crudEndpoints_OUTGOING_DELIVERY_LINE as OUTGOING_DELIVERY_LINE, crudEndpoints_OUTGOING_SHIPMENT as OUTGOING_SHIPMENT, crudEndpoints_PAYMENT as PAYMENT, crudEndpoints_PRINT_JOB as PRINT_JOB, crudEndpoints_PRODUCT as PRODUCT, crudEndpoints_PRODUCTION_ORDER as PRODUCTION_ORDER, crudEndpoints_PRODUCTION_ORDER_LINE as PRODUCTION_ORDER_LINE, crudEndpoints_PRODUCT_GROUP as PRODUCT_GROUP, crudEndpoints_PRODUCT_ITEM as PRODUCT_ITEM, crudEndpoints_PURCHASE_ORDER as PURCHASE_ORDER, crudEndpoints_PURCHASE_ORDER_APPROVER as PURCHASE_ORDER_APPROVER, crudEndpoints_PURCHASE_ORDER_LINE as PURCHASE_ORDER_LINE, crudEndpoints_QUOTE as QUOTE, crudEndpoints_QUOTE_LINE as QUOTE_LINE, crudEndpoints_RENTAL_ORDER as RENTAL_ORDER, crudEndpoints_RENTAL_ORDER_LINE as RENTAL_ORDER_LINE, crudEndpoints_SALES_ORDER as SALES_ORDER, crudEndpoints_SALES_ORDER_APPROVER as SALES_ORDER_APPROVER, crudEndpoints_SALES_ORDER_LINE as SALES_ORDER_LINE, crudEndpoints_STOCK_ADJUSTMENT as STOCK_ADJUSTMENT, crudEndpoints_STORE as STORE, crudEndpoints_STORE_PRODUCT as STORE_PRODUCT, crudEndpoints_STORE_PRODUCT_GROUP as STORE_PRODUCT_GROUP, crudEndpoints_SUBSIDIARY as SUBSIDIARY, crudEndpoints_SUPPLIER as SUPPLIER, crudEndpoints_VEHICLE as VEHICLE, crudEndpoints_WAREHOUSE as WAREHOUSE, crudEndpoints_WORK_ORDER as WORK_ORDER };
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
declare function getAllObjects(entity: any, queryParams?: any): Promise<any>;
|
|
@@ -142,6 +142,6 @@ declare const konversiAPI: {
|
|
|
142
142
|
deleteObject: typeof deleteObject;
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
-
declare const
|
|
145
|
+
declare const Entity: typeof crudEndpoints;
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { Entity, 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 crudEndpoints_ACCOUNT: typeof ACCOUNT;
|
|
65
|
+
declare const crudEndpoints_ATTENDANCE: typeof ATTENDANCE;
|
|
66
|
+
declare const crudEndpoints_AUDIT_LOG: typeof AUDIT_LOG;
|
|
67
|
+
declare const crudEndpoints_AUTOMATION_JOB: typeof AUTOMATION_JOB;
|
|
68
|
+
declare const crudEndpoints_AUTOMATION_SCRIPT: typeof AUTOMATION_SCRIPT;
|
|
69
|
+
declare const crudEndpoints_BILL_OF_MATERIALS: typeof BILL_OF_MATERIALS;
|
|
70
|
+
declare const crudEndpoints_BOM_COMPONENT: typeof BOM_COMPONENT;
|
|
71
|
+
declare const crudEndpoints_BOM_OPERATION: typeof BOM_OPERATION;
|
|
72
|
+
declare const crudEndpoints_COMPANY_ALIAS: typeof COMPANY_ALIAS;
|
|
73
|
+
declare const crudEndpoints_COMPANY_OPTION: typeof COMPANY_OPTION;
|
|
74
|
+
declare const crudEndpoints_COMPANY_PERMISSION: typeof COMPANY_PERMISSION;
|
|
75
|
+
declare const crudEndpoints_CUSTOMER: typeof CUSTOMER;
|
|
76
|
+
declare const crudEndpoints_CUSTOM_DOCUMENT: typeof CUSTOM_DOCUMENT;
|
|
77
|
+
declare const crudEndpoints_CUSTOM_ENTITY_FIELD: typeof CUSTOM_ENTITY_FIELD;
|
|
78
|
+
declare const crudEndpoints_CUSTOM_ENTITY_OBJECT: typeof CUSTOM_ENTITY_OBJECT;
|
|
79
|
+
declare const crudEndpoints_CUSTOM_ENTITY_SCHEMA: typeof CUSTOM_ENTITY_SCHEMA;
|
|
80
|
+
declare const crudEndpoints_CUSTOM_FIELD: typeof CUSTOM_FIELD;
|
|
81
|
+
declare const crudEndpoints_DELIVERY_JOB: typeof DELIVERY_JOB;
|
|
82
|
+
declare const crudEndpoints_EMPLOYEE: typeof EMPLOYEE;
|
|
83
|
+
declare const crudEndpoints_EXPENSE: typeof EXPENSE;
|
|
84
|
+
declare const crudEndpoints_EXPENSE_LINE: typeof EXPENSE_LINE;
|
|
85
|
+
declare const crudEndpoints_FIXED_ASSET: typeof FIXED_ASSET;
|
|
86
|
+
declare const crudEndpoints_INCOMING_DELIVERY: typeof INCOMING_DELIVERY;
|
|
87
|
+
declare const crudEndpoints_INCOMING_DELIVERY_LINE: typeof INCOMING_DELIVERY_LINE;
|
|
88
|
+
declare const crudEndpoints_INCOMING_PAYMENT_METHOD: typeof INCOMING_PAYMENT_METHOD;
|
|
89
|
+
declare const crudEndpoints_INCOMING_SHIPMENT: typeof INCOMING_SHIPMENT;
|
|
90
|
+
declare const crudEndpoints_INTERNAL_DELIVERY: typeof INTERNAL_DELIVERY;
|
|
91
|
+
declare const crudEndpoints_INTERNAL_DELIVERY_LINE: typeof INTERNAL_DELIVERY_LINE;
|
|
92
|
+
declare const crudEndpoints_INVITATION: typeof INVITATION;
|
|
93
|
+
declare const crudEndpoints_INVOICE: typeof INVOICE;
|
|
94
|
+
declare const crudEndpoints_INVOICE_LINE: typeof INVOICE_LINE;
|
|
95
|
+
declare const crudEndpoints_JOURNAL_ENTRY: typeof JOURNAL_ENTRY;
|
|
96
|
+
declare const crudEndpoints_JOURNAL_ENTRY_LINE: typeof JOURNAL_ENTRY_LINE;
|
|
97
|
+
declare const crudEndpoints_OUTGOING_DELIVERY: typeof OUTGOING_DELIVERY;
|
|
98
|
+
declare const crudEndpoints_OUTGOING_DELIVERY_LINE: typeof OUTGOING_DELIVERY_LINE;
|
|
99
|
+
declare const crudEndpoints_OUTGOING_SHIPMENT: typeof OUTGOING_SHIPMENT;
|
|
100
|
+
declare const crudEndpoints_PAYMENT: typeof PAYMENT;
|
|
101
|
+
declare const crudEndpoints_PRINT_JOB: typeof PRINT_JOB;
|
|
102
|
+
declare const crudEndpoints_PRODUCT: typeof PRODUCT;
|
|
103
|
+
declare const crudEndpoints_PRODUCTION_ORDER: typeof PRODUCTION_ORDER;
|
|
104
|
+
declare const crudEndpoints_PRODUCTION_ORDER_LINE: typeof PRODUCTION_ORDER_LINE;
|
|
105
|
+
declare const crudEndpoints_PRODUCT_GROUP: typeof PRODUCT_GROUP;
|
|
106
|
+
declare const crudEndpoints_PRODUCT_ITEM: typeof PRODUCT_ITEM;
|
|
107
|
+
declare const crudEndpoints_PURCHASE_ORDER: typeof PURCHASE_ORDER;
|
|
108
|
+
declare const crudEndpoints_PURCHASE_ORDER_APPROVER: typeof PURCHASE_ORDER_APPROVER;
|
|
109
|
+
declare const crudEndpoints_PURCHASE_ORDER_LINE: typeof PURCHASE_ORDER_LINE;
|
|
110
|
+
declare const crudEndpoints_QUOTE: typeof QUOTE;
|
|
111
|
+
declare const crudEndpoints_QUOTE_LINE: typeof QUOTE_LINE;
|
|
112
|
+
declare const crudEndpoints_RENTAL_ORDER: typeof RENTAL_ORDER;
|
|
113
|
+
declare const crudEndpoints_RENTAL_ORDER_LINE: typeof RENTAL_ORDER_LINE;
|
|
114
|
+
declare const crudEndpoints_SALES_ORDER: typeof SALES_ORDER;
|
|
115
|
+
declare const crudEndpoints_SALES_ORDER_APPROVER: typeof SALES_ORDER_APPROVER;
|
|
116
|
+
declare const crudEndpoints_SALES_ORDER_LINE: typeof SALES_ORDER_LINE;
|
|
117
|
+
declare const crudEndpoints_STOCK_ADJUSTMENT: typeof STOCK_ADJUSTMENT;
|
|
118
|
+
declare const crudEndpoints_STORE: typeof STORE;
|
|
119
|
+
declare const crudEndpoints_STORE_PRODUCT: typeof STORE_PRODUCT;
|
|
120
|
+
declare const crudEndpoints_STORE_PRODUCT_GROUP: typeof STORE_PRODUCT_GROUP;
|
|
121
|
+
declare const crudEndpoints_SUBSIDIARY: typeof SUBSIDIARY;
|
|
122
|
+
declare const crudEndpoints_SUPPLIER: typeof SUPPLIER;
|
|
123
|
+
declare const crudEndpoints_VEHICLE: typeof VEHICLE;
|
|
124
|
+
declare const crudEndpoints_WAREHOUSE: typeof WAREHOUSE;
|
|
125
|
+
declare const crudEndpoints_WORK_ORDER: typeof WORK_ORDER;
|
|
126
|
+
declare namespace crudEndpoints {
|
|
127
|
+
export { crudEndpoints_ACCOUNT as ACCOUNT, crudEndpoints_ATTENDANCE as ATTENDANCE, crudEndpoints_AUDIT_LOG as AUDIT_LOG, crudEndpoints_AUTOMATION_JOB as AUTOMATION_JOB, crudEndpoints_AUTOMATION_SCRIPT as AUTOMATION_SCRIPT, crudEndpoints_BILL_OF_MATERIALS as BILL_OF_MATERIALS, crudEndpoints_BOM_COMPONENT as BOM_COMPONENT, crudEndpoints_BOM_OPERATION as BOM_OPERATION, crudEndpoints_COMPANY_ALIAS as COMPANY_ALIAS, crudEndpoints_COMPANY_OPTION as COMPANY_OPTION, crudEndpoints_COMPANY_PERMISSION as COMPANY_PERMISSION, crudEndpoints_CUSTOMER as CUSTOMER, crudEndpoints_CUSTOM_DOCUMENT as CUSTOM_DOCUMENT, crudEndpoints_CUSTOM_ENTITY_FIELD as CUSTOM_ENTITY_FIELD, crudEndpoints_CUSTOM_ENTITY_OBJECT as CUSTOM_ENTITY_OBJECT, crudEndpoints_CUSTOM_ENTITY_SCHEMA as CUSTOM_ENTITY_SCHEMA, crudEndpoints_CUSTOM_FIELD as CUSTOM_FIELD, crudEndpoints_DELIVERY_JOB as DELIVERY_JOB, crudEndpoints_EMPLOYEE as EMPLOYEE, crudEndpoints_EXPENSE as EXPENSE, crudEndpoints_EXPENSE_LINE as EXPENSE_LINE, crudEndpoints_FIXED_ASSET as FIXED_ASSET, crudEndpoints_INCOMING_DELIVERY as INCOMING_DELIVERY, crudEndpoints_INCOMING_DELIVERY_LINE as INCOMING_DELIVERY_LINE, crudEndpoints_INCOMING_PAYMENT_METHOD as INCOMING_PAYMENT_METHOD, crudEndpoints_INCOMING_SHIPMENT as INCOMING_SHIPMENT, crudEndpoints_INTERNAL_DELIVERY as INTERNAL_DELIVERY, crudEndpoints_INTERNAL_DELIVERY_LINE as INTERNAL_DELIVERY_LINE, crudEndpoints_INVITATION as INVITATION, crudEndpoints_INVOICE as INVOICE, crudEndpoints_INVOICE_LINE as INVOICE_LINE, crudEndpoints_JOURNAL_ENTRY as JOURNAL_ENTRY, crudEndpoints_JOURNAL_ENTRY_LINE as JOURNAL_ENTRY_LINE, crudEndpoints_OUTGOING_DELIVERY as OUTGOING_DELIVERY, crudEndpoints_OUTGOING_DELIVERY_LINE as OUTGOING_DELIVERY_LINE, crudEndpoints_OUTGOING_SHIPMENT as OUTGOING_SHIPMENT, crudEndpoints_PAYMENT as PAYMENT, crudEndpoints_PRINT_JOB as PRINT_JOB, crudEndpoints_PRODUCT as PRODUCT, crudEndpoints_PRODUCTION_ORDER as PRODUCTION_ORDER, crudEndpoints_PRODUCTION_ORDER_LINE as PRODUCTION_ORDER_LINE, crudEndpoints_PRODUCT_GROUP as PRODUCT_GROUP, crudEndpoints_PRODUCT_ITEM as PRODUCT_ITEM, crudEndpoints_PURCHASE_ORDER as PURCHASE_ORDER, crudEndpoints_PURCHASE_ORDER_APPROVER as PURCHASE_ORDER_APPROVER, crudEndpoints_PURCHASE_ORDER_LINE as PURCHASE_ORDER_LINE, crudEndpoints_QUOTE as QUOTE, crudEndpoints_QUOTE_LINE as QUOTE_LINE, crudEndpoints_RENTAL_ORDER as RENTAL_ORDER, crudEndpoints_RENTAL_ORDER_LINE as RENTAL_ORDER_LINE, crudEndpoints_SALES_ORDER as SALES_ORDER, crudEndpoints_SALES_ORDER_APPROVER as SALES_ORDER_APPROVER, crudEndpoints_SALES_ORDER_LINE as SALES_ORDER_LINE, crudEndpoints_STOCK_ADJUSTMENT as STOCK_ADJUSTMENT, crudEndpoints_STORE as STORE, crudEndpoints_STORE_PRODUCT as STORE_PRODUCT, crudEndpoints_STORE_PRODUCT_GROUP as STORE_PRODUCT_GROUP, crudEndpoints_SUBSIDIARY as SUBSIDIARY, crudEndpoints_SUPPLIER as SUPPLIER, crudEndpoints_VEHICLE as VEHICLE, crudEndpoints_WAREHOUSE as WAREHOUSE, crudEndpoints_WORK_ORDER as WORK_ORDER };
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
declare function getAllObjects(entity: any, queryParams?: any): Promise<any>;
|
|
@@ -142,6 +142,6 @@ declare const konversiAPI: {
|
|
|
142
142
|
deleteObject: typeof deleteObject;
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
-
declare const
|
|
145
|
+
declare const Entity: typeof crudEndpoints;
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { Entity, konversiAPI as default };
|
package/dist/index.js
CHANGED
|
@@ -50,7 +50,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
50
50
|
// index.ts
|
|
51
51
|
var konversi_client_exports = {};
|
|
52
52
|
__export(konversi_client_exports, {
|
|
53
|
-
|
|
53
|
+
Entity: () => Entity,
|
|
54
54
|
default: () => konversi_client_default
|
|
55
55
|
});
|
|
56
56
|
module.exports = __toCommonJS(konversi_client_exports);
|
|
@@ -243,8 +243,8 @@ var konversiAPI = {
|
|
|
243
243
|
deleteObject
|
|
244
244
|
};
|
|
245
245
|
var konversi_client_default = konversiAPI;
|
|
246
|
-
var
|
|
246
|
+
var Entity = crudEndpoints_exports;
|
|
247
247
|
// Annotate the CommonJS export names for ESM import in node:
|
|
248
248
|
0 && (module.exports = {
|
|
249
|
-
|
|
249
|
+
Entity
|
|
250
250
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -212,8 +212,8 @@ var konversiAPI = {
|
|
|
212
212
|
deleteObject
|
|
213
213
|
};
|
|
214
214
|
var konversi_client_default = konversiAPI;
|
|
215
|
-
var
|
|
215
|
+
var Entity = crudEndpoints_exports;
|
|
216
216
|
export {
|
|
217
|
-
|
|
217
|
+
Entity,
|
|
218
218
|
konversi_client_default as default
|
|
219
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 crudEndpoints from "./crudEndpoints";
|
|
4
4
|
|
|
5
5
|
async function getAllObjects(entity: any, queryParams: any = {}) {
|
|
6
6
|
const response = await axiosAPI.get(`${entity}`, {
|
|
@@ -42,4 +42,5 @@ const konversiAPI = {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
export default konversiAPI;
|
|
45
|
-
|
|
45
|
+
|
|
46
|
+
export const Entity = crudEndpoints;
|