@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 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 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 };
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 crudEndpoints: typeof crudEndpointsImported;
145
+ declare const Entity: typeof crudEndpoints;
146
146
 
147
- export { crudEndpoints, konversiAPI as default };
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 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 };
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 crudEndpoints: typeof crudEndpointsImported;
145
+ declare const Entity: typeof crudEndpoints;
146
146
 
147
- export { crudEndpoints, konversiAPI as default };
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
- crudEndpoints: () => crudEndpoints,
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 crudEndpoints = crudEndpoints_exports;
246
+ var Entity = crudEndpoints_exports;
247
247
  // Annotate the CommonJS export names for ESM import in node:
248
248
  0 && (module.exports = {
249
- crudEndpoints
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 crudEndpoints = crudEndpoints_exports;
215
+ var Entity = crudEndpoints_exports;
216
216
  export {
217
- crudEndpoints,
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 crudEndpointsImported from "./crudEndpoints";
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
- export const crudEndpoints = crudEndpointsImported;
45
+
46
+ export const Entity = crudEndpoints;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konversi/konversi-client",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",