@konversi/konversi-client 1.4.1 → 1.4.2
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/crudEndpoints.ts +15 -0
- package/dist/index.d.mts +27 -1
- package/dist/index.d.ts +27 -1
- package/dist/index.js +26 -0
- package/dist/index.mjs +26 -0
- package/package.json +1 -1
package/crudEndpoints.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export const NOTIFICATION = 'notification';
|
|
2
2
|
|
|
3
|
+
export const USER_PERSONA = 'user/user-persona';
|
|
4
|
+
export const USER_PERSONA_CUSTOM_SCHEMA_PERMISSION = 'user/user-persona-custom-schema-permission';
|
|
5
|
+
export const USER_PERSONA_ENTITY_PERMISSION = 'user/user-persona-entity-permission';
|
|
6
|
+
export const USER_PERSONA_ENTITY_ACCESS_STATUS = 'user/user-persona-entity-access-status';
|
|
7
|
+
|
|
3
8
|
export const COMPANY_PERMISSION = 'company-permission';
|
|
4
9
|
export const COMPANY_OPTION = 'company-option';
|
|
5
10
|
export const INVITATION = 'user/invitation';
|
|
@@ -9,6 +14,7 @@ export const CUSTOMER = 'contact/customer';
|
|
|
9
14
|
export const PRODUCT = 'product'
|
|
10
15
|
export const PRODUCT_ITEM = 'product/product-item'
|
|
11
16
|
export const PRODUCT_GROUP = 'product-group'
|
|
17
|
+
export const PRODUCT_SUPPLIER = 'product/product-supplier'
|
|
12
18
|
|
|
13
19
|
export const PURCHASE_ORDER = 'order/purchase-order'
|
|
14
20
|
export const PURCHASE_ORDER_LINE = 'order/purchase-order-line'
|
|
@@ -56,11 +62,15 @@ export const BOM_COMPONENT = 'manufacturing/bom-component'
|
|
|
56
62
|
export const BOM_OPERATION = 'manufacturing/bom-operation'
|
|
57
63
|
export const PRODUCTION_ORDER = 'manufacturing/production-order'
|
|
58
64
|
export const PRODUCTION_ORDER_LINE = 'manufacturing/production-order-line'
|
|
65
|
+
export const JOB_CARD = 'manufacturing/job-card'
|
|
66
|
+
export const WORKSTATION = 'manufacturing/workstation'
|
|
59
67
|
|
|
60
68
|
export const SUBSIDIARY = 'subsidiary'
|
|
61
69
|
|
|
62
70
|
// HR
|
|
63
71
|
export const EMPLOYEE = 'human-resources/employee'
|
|
72
|
+
export const GEOFENCE = 'geofence'
|
|
73
|
+
export const SHIFT = 'human-resources/employee/shift'
|
|
64
74
|
export const ATTENDANCE = 'human-resources/attendance'
|
|
65
75
|
|
|
66
76
|
// Fleet Management
|
|
@@ -71,6 +81,8 @@ export const DELIVERY_JOB = 'fleet/delivery-job'
|
|
|
71
81
|
export const CUSTOM_ENTITY_SCHEMA = 'custom-entity/schema'
|
|
72
82
|
export const CUSTOM_ENTITY_OBJECT = 'custom-entity'; // Need to add schemaName after this
|
|
73
83
|
export const CUSTOM_ENTITY_FIELD = 'custom-entity/field'; // Need to add schemaName after this
|
|
84
|
+
export const FORM = 'form';
|
|
85
|
+
export const CUSTOM_REPORT = 'report/custom-report';
|
|
74
86
|
|
|
75
87
|
// Automation
|
|
76
88
|
export const AUTOMATION_JOB = 'automation/job'
|
|
@@ -100,6 +112,9 @@ export const PRINT_JOB = 'thermal-printer/print-job'
|
|
|
100
112
|
export const WORK_ORDER = 'order/sales-order?type=WORK_ORDER';
|
|
101
113
|
|
|
102
114
|
export const SERVICE_ORDER = 'order/sales-order?type=SERVICE_ORDER';
|
|
115
|
+
export const IDENTIFIER_GROUP = 'identifier/identifier-group';
|
|
116
|
+
export const IDENTIFIER_TOKEN = 'identifier/identifier-token';
|
|
117
|
+
|
|
103
118
|
|
|
104
119
|
// TODO: Deprecate
|
|
105
120
|
export const INCOMING_SHIPMENT = 'shipment/incoming-shipment'
|
package/dist/index.d.mts
CHANGED
|
@@ -2,6 +2,10 @@ import * as axios from 'axios';
|
|
|
2
2
|
import { AxiosRequestConfig } from 'axios';
|
|
3
3
|
|
|
4
4
|
declare const NOTIFICATION = "notification";
|
|
5
|
+
declare const USER_PERSONA = "user/user-persona";
|
|
6
|
+
declare const USER_PERSONA_CUSTOM_SCHEMA_PERMISSION = "user/user-persona-custom-schema-permission";
|
|
7
|
+
declare const USER_PERSONA_ENTITY_PERMISSION = "user/user-persona-entity-permission";
|
|
8
|
+
declare const USER_PERSONA_ENTITY_ACCESS_STATUS = "user/user-persona-entity-access-status";
|
|
5
9
|
declare const COMPANY_PERMISSION = "company-permission";
|
|
6
10
|
declare const COMPANY_OPTION = "company-option";
|
|
7
11
|
declare const INVITATION = "user/invitation";
|
|
@@ -9,6 +13,7 @@ declare const CUSTOMER = "contact/customer";
|
|
|
9
13
|
declare const PRODUCT = "product";
|
|
10
14
|
declare const PRODUCT_ITEM = "product/product-item";
|
|
11
15
|
declare const PRODUCT_GROUP = "product-group";
|
|
16
|
+
declare const PRODUCT_SUPPLIER = "product/product-supplier";
|
|
12
17
|
declare const PURCHASE_ORDER = "order/purchase-order";
|
|
13
18
|
declare const PURCHASE_ORDER_LINE = "order/purchase-order-line";
|
|
14
19
|
declare const QUOTE = "order/quote";
|
|
@@ -45,14 +50,20 @@ declare const BOM_COMPONENT = "manufacturing/bom-component";
|
|
|
45
50
|
declare const BOM_OPERATION = "manufacturing/bom-operation";
|
|
46
51
|
declare const PRODUCTION_ORDER = "manufacturing/production-order";
|
|
47
52
|
declare const PRODUCTION_ORDER_LINE = "manufacturing/production-order-line";
|
|
53
|
+
declare const JOB_CARD = "manufacturing/job-card";
|
|
54
|
+
declare const WORKSTATION = "manufacturing/workstation";
|
|
48
55
|
declare const SUBSIDIARY = "subsidiary";
|
|
49
56
|
declare const EMPLOYEE = "human-resources/employee";
|
|
57
|
+
declare const GEOFENCE = "geofence";
|
|
58
|
+
declare const SHIFT = "human-resources/employee/shift";
|
|
50
59
|
declare const ATTENDANCE = "human-resources/attendance";
|
|
51
60
|
declare const VEHICLE = "fleet/vehicle";
|
|
52
61
|
declare const DELIVERY_JOB = "fleet/delivery-job";
|
|
53
62
|
declare const CUSTOM_ENTITY_SCHEMA = "custom-entity/schema";
|
|
54
63
|
declare const CUSTOM_ENTITY_OBJECT = "custom-entity";
|
|
55
64
|
declare const CUSTOM_ENTITY_FIELD = "custom-entity/field";
|
|
65
|
+
declare const FORM = "form";
|
|
66
|
+
declare const CUSTOM_REPORT = "report/custom-report";
|
|
56
67
|
declare const AUTOMATION_JOB = "automation/job";
|
|
57
68
|
declare const AUTOMATION_SCRIPT = "automation/script";
|
|
58
69
|
declare const USER_ACTION = "automation/user-action";
|
|
@@ -68,6 +79,8 @@ declare const COMPANY_ALIAS = "company-alias";
|
|
|
68
79
|
declare const PRINT_JOB = "thermal-printer/print-job";
|
|
69
80
|
declare const WORK_ORDER = "order/sales-order?type=WORK_ORDER";
|
|
70
81
|
declare const SERVICE_ORDER = "order/sales-order?type=SERVICE_ORDER";
|
|
82
|
+
declare const IDENTIFIER_GROUP = "identifier/identifier-group";
|
|
83
|
+
declare const IDENTIFIER_TOKEN = "identifier/identifier-token";
|
|
71
84
|
declare const INCOMING_SHIPMENT = "shipment/incoming-shipment";
|
|
72
85
|
declare const OUTGOING_SHIPMENT = "shipment/outgoing-shipment";
|
|
73
86
|
|
|
@@ -88,11 +101,16 @@ declare const crudEndpoints_CUSTOM_ENTITY_FIELD: typeof CUSTOM_ENTITY_FIELD;
|
|
|
88
101
|
declare const crudEndpoints_CUSTOM_ENTITY_OBJECT: typeof CUSTOM_ENTITY_OBJECT;
|
|
89
102
|
declare const crudEndpoints_CUSTOM_ENTITY_SCHEMA: typeof CUSTOM_ENTITY_SCHEMA;
|
|
90
103
|
declare const crudEndpoints_CUSTOM_FIELD: typeof CUSTOM_FIELD;
|
|
104
|
+
declare const crudEndpoints_CUSTOM_REPORT: typeof CUSTOM_REPORT;
|
|
91
105
|
declare const crudEndpoints_DELIVERY_JOB: typeof DELIVERY_JOB;
|
|
92
106
|
declare const crudEndpoints_EMPLOYEE: typeof EMPLOYEE;
|
|
93
107
|
declare const crudEndpoints_EXPENSE: typeof EXPENSE;
|
|
94
108
|
declare const crudEndpoints_EXPENSE_LINE: typeof EXPENSE_LINE;
|
|
95
109
|
declare const crudEndpoints_FIXED_ASSET: typeof FIXED_ASSET;
|
|
110
|
+
declare const crudEndpoints_FORM: typeof FORM;
|
|
111
|
+
declare const crudEndpoints_GEOFENCE: typeof GEOFENCE;
|
|
112
|
+
declare const crudEndpoints_IDENTIFIER_GROUP: typeof IDENTIFIER_GROUP;
|
|
113
|
+
declare const crudEndpoints_IDENTIFIER_TOKEN: typeof IDENTIFIER_TOKEN;
|
|
96
114
|
declare const crudEndpoints_INCOMING_DELIVERY: typeof INCOMING_DELIVERY;
|
|
97
115
|
declare const crudEndpoints_INCOMING_DELIVERY_LINE: typeof INCOMING_DELIVERY_LINE;
|
|
98
116
|
declare const crudEndpoints_INCOMING_PAYMENT_METHOD: typeof INCOMING_PAYMENT_METHOD;
|
|
@@ -104,6 +122,7 @@ declare const crudEndpoints_INVOICE: typeof INVOICE;
|
|
|
104
122
|
declare const crudEndpoints_INVOICE_LINE: typeof INVOICE_LINE;
|
|
105
123
|
declare const crudEndpoints_IOT_DEVICE: typeof IOT_DEVICE;
|
|
106
124
|
declare const crudEndpoints_IOT_JOB: typeof IOT_JOB;
|
|
125
|
+
declare const crudEndpoints_JOB_CARD: typeof JOB_CARD;
|
|
107
126
|
declare const crudEndpoints_JOURNAL_ENTRY: typeof JOURNAL_ENTRY;
|
|
108
127
|
declare const crudEndpoints_JOURNAL_ENTRY_LINE: typeof JOURNAL_ENTRY_LINE;
|
|
109
128
|
declare const crudEndpoints_NOTIFICATION: typeof NOTIFICATION;
|
|
@@ -117,6 +136,7 @@ declare const crudEndpoints_PRODUCTION_ORDER: typeof PRODUCTION_ORDER;
|
|
|
117
136
|
declare const crudEndpoints_PRODUCTION_ORDER_LINE: typeof PRODUCTION_ORDER_LINE;
|
|
118
137
|
declare const crudEndpoints_PRODUCT_GROUP: typeof PRODUCT_GROUP;
|
|
119
138
|
declare const crudEndpoints_PRODUCT_ITEM: typeof PRODUCT_ITEM;
|
|
139
|
+
declare const crudEndpoints_PRODUCT_SUPPLIER: typeof PRODUCT_SUPPLIER;
|
|
120
140
|
declare const crudEndpoints_PURCHASE_ORDER: typeof PURCHASE_ORDER;
|
|
121
141
|
declare const crudEndpoints_PURCHASE_ORDER_APPROVER: typeof PURCHASE_ORDER_APPROVER;
|
|
122
142
|
declare const crudEndpoints_PURCHASE_ORDER_LINE: typeof PURCHASE_ORDER_LINE;
|
|
@@ -128,6 +148,7 @@ declare const crudEndpoints_SALES_ORDER: typeof SALES_ORDER;
|
|
|
128
148
|
declare const crudEndpoints_SALES_ORDER_APPROVER: typeof SALES_ORDER_APPROVER;
|
|
129
149
|
declare const crudEndpoints_SALES_ORDER_LINE: typeof SALES_ORDER_LINE;
|
|
130
150
|
declare const crudEndpoints_SERVICE_ORDER: typeof SERVICE_ORDER;
|
|
151
|
+
declare const crudEndpoints_SHIFT: typeof SHIFT;
|
|
131
152
|
declare const crudEndpoints_STOCK_ADJUSTMENT: typeof STOCK_ADJUSTMENT;
|
|
132
153
|
declare const crudEndpoints_STORE: typeof STORE;
|
|
133
154
|
declare const crudEndpoints_STORE_PRODUCT: typeof STORE_PRODUCT;
|
|
@@ -137,11 +158,16 @@ declare const crudEndpoints_STORE_PRODUCT_GROUP: typeof STORE_PRODUCT_GROUP;
|
|
|
137
158
|
declare const crudEndpoints_SUBSIDIARY: typeof SUBSIDIARY;
|
|
138
159
|
declare const crudEndpoints_SUPPLIER: typeof SUPPLIER;
|
|
139
160
|
declare const crudEndpoints_USER_ACTION: typeof USER_ACTION;
|
|
161
|
+
declare const crudEndpoints_USER_PERSONA: typeof USER_PERSONA;
|
|
162
|
+
declare const crudEndpoints_USER_PERSONA_CUSTOM_SCHEMA_PERMISSION: typeof USER_PERSONA_CUSTOM_SCHEMA_PERMISSION;
|
|
163
|
+
declare const crudEndpoints_USER_PERSONA_ENTITY_ACCESS_STATUS: typeof USER_PERSONA_ENTITY_ACCESS_STATUS;
|
|
164
|
+
declare const crudEndpoints_USER_PERSONA_ENTITY_PERMISSION: typeof USER_PERSONA_ENTITY_PERMISSION;
|
|
140
165
|
declare const crudEndpoints_VEHICLE: typeof VEHICLE;
|
|
141
166
|
declare const crudEndpoints_WAREHOUSE: typeof WAREHOUSE;
|
|
167
|
+
declare const crudEndpoints_WORKSTATION: typeof WORKSTATION;
|
|
142
168
|
declare const crudEndpoints_WORK_ORDER: typeof WORK_ORDER;
|
|
143
169
|
declare namespace crudEndpoints {
|
|
144
|
-
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_IOT_DEVICE as IOT_DEVICE, crudEndpoints_IOT_JOB as IOT_JOB, crudEndpoints_JOURNAL_ENTRY as JOURNAL_ENTRY, crudEndpoints_JOURNAL_ENTRY_LINE as JOURNAL_ENTRY_LINE, crudEndpoints_NOTIFICATION as NOTIFICATION, 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_SERVICE_ORDER as SERVICE_ORDER, crudEndpoints_STOCK_ADJUSTMENT as STOCK_ADJUSTMENT, crudEndpoints_STORE as STORE, crudEndpoints_STORE_PRODUCT as STORE_PRODUCT, crudEndpoints_STORE_PRODUCT_ATTRIBUTE as STORE_PRODUCT_ATTRIBUTE, crudEndpoints_STORE_PRODUCT_ATTRIBUTE_VALUE as STORE_PRODUCT_ATTRIBUTE_VALUE, crudEndpoints_STORE_PRODUCT_GROUP as STORE_PRODUCT_GROUP, crudEndpoints_SUBSIDIARY as SUBSIDIARY, crudEndpoints_SUPPLIER as SUPPLIER, crudEndpoints_USER_ACTION as USER_ACTION, crudEndpoints_VEHICLE as VEHICLE, crudEndpoints_WAREHOUSE as WAREHOUSE, crudEndpoints_WORK_ORDER as WORK_ORDER };
|
|
170
|
+
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_CUSTOM_REPORT as CUSTOM_REPORT, 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_FORM as FORM, crudEndpoints_GEOFENCE as GEOFENCE, crudEndpoints_IDENTIFIER_GROUP as IDENTIFIER_GROUP, crudEndpoints_IDENTIFIER_TOKEN as IDENTIFIER_TOKEN, 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_IOT_DEVICE as IOT_DEVICE, crudEndpoints_IOT_JOB as IOT_JOB, crudEndpoints_JOB_CARD as JOB_CARD, crudEndpoints_JOURNAL_ENTRY as JOURNAL_ENTRY, crudEndpoints_JOURNAL_ENTRY_LINE as JOURNAL_ENTRY_LINE, crudEndpoints_NOTIFICATION as NOTIFICATION, 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_PRODUCT_SUPPLIER as PRODUCT_SUPPLIER, 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_SERVICE_ORDER as SERVICE_ORDER, crudEndpoints_SHIFT as SHIFT, crudEndpoints_STOCK_ADJUSTMENT as STOCK_ADJUSTMENT, crudEndpoints_STORE as STORE, crudEndpoints_STORE_PRODUCT as STORE_PRODUCT, crudEndpoints_STORE_PRODUCT_ATTRIBUTE as STORE_PRODUCT_ATTRIBUTE, crudEndpoints_STORE_PRODUCT_ATTRIBUTE_VALUE as STORE_PRODUCT_ATTRIBUTE_VALUE, crudEndpoints_STORE_PRODUCT_GROUP as STORE_PRODUCT_GROUP, crudEndpoints_SUBSIDIARY as SUBSIDIARY, crudEndpoints_SUPPLIER as SUPPLIER, crudEndpoints_USER_ACTION as USER_ACTION, crudEndpoints_USER_PERSONA as USER_PERSONA, crudEndpoints_USER_PERSONA_CUSTOM_SCHEMA_PERMISSION as USER_PERSONA_CUSTOM_SCHEMA_PERMISSION, crudEndpoints_USER_PERSONA_ENTITY_ACCESS_STATUS as USER_PERSONA_ENTITY_ACCESS_STATUS, crudEndpoints_USER_PERSONA_ENTITY_PERMISSION as USER_PERSONA_ENTITY_PERMISSION, crudEndpoints_VEHICLE as VEHICLE, crudEndpoints_WAREHOUSE as WAREHOUSE, crudEndpoints_WORKSTATION as WORKSTATION, crudEndpoints_WORK_ORDER as WORK_ORDER };
|
|
145
171
|
}
|
|
146
172
|
|
|
147
173
|
declare function call(axiosRequest: AxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ import * as axios from 'axios';
|
|
|
2
2
|
import { AxiosRequestConfig } from 'axios';
|
|
3
3
|
|
|
4
4
|
declare const NOTIFICATION = "notification";
|
|
5
|
+
declare const USER_PERSONA = "user/user-persona";
|
|
6
|
+
declare const USER_PERSONA_CUSTOM_SCHEMA_PERMISSION = "user/user-persona-custom-schema-permission";
|
|
7
|
+
declare const USER_PERSONA_ENTITY_PERMISSION = "user/user-persona-entity-permission";
|
|
8
|
+
declare const USER_PERSONA_ENTITY_ACCESS_STATUS = "user/user-persona-entity-access-status";
|
|
5
9
|
declare const COMPANY_PERMISSION = "company-permission";
|
|
6
10
|
declare const COMPANY_OPTION = "company-option";
|
|
7
11
|
declare const INVITATION = "user/invitation";
|
|
@@ -9,6 +13,7 @@ declare const CUSTOMER = "contact/customer";
|
|
|
9
13
|
declare const PRODUCT = "product";
|
|
10
14
|
declare const PRODUCT_ITEM = "product/product-item";
|
|
11
15
|
declare const PRODUCT_GROUP = "product-group";
|
|
16
|
+
declare const PRODUCT_SUPPLIER = "product/product-supplier";
|
|
12
17
|
declare const PURCHASE_ORDER = "order/purchase-order";
|
|
13
18
|
declare const PURCHASE_ORDER_LINE = "order/purchase-order-line";
|
|
14
19
|
declare const QUOTE = "order/quote";
|
|
@@ -45,14 +50,20 @@ declare const BOM_COMPONENT = "manufacturing/bom-component";
|
|
|
45
50
|
declare const BOM_OPERATION = "manufacturing/bom-operation";
|
|
46
51
|
declare const PRODUCTION_ORDER = "manufacturing/production-order";
|
|
47
52
|
declare const PRODUCTION_ORDER_LINE = "manufacturing/production-order-line";
|
|
53
|
+
declare const JOB_CARD = "manufacturing/job-card";
|
|
54
|
+
declare const WORKSTATION = "manufacturing/workstation";
|
|
48
55
|
declare const SUBSIDIARY = "subsidiary";
|
|
49
56
|
declare const EMPLOYEE = "human-resources/employee";
|
|
57
|
+
declare const GEOFENCE = "geofence";
|
|
58
|
+
declare const SHIFT = "human-resources/employee/shift";
|
|
50
59
|
declare const ATTENDANCE = "human-resources/attendance";
|
|
51
60
|
declare const VEHICLE = "fleet/vehicle";
|
|
52
61
|
declare const DELIVERY_JOB = "fleet/delivery-job";
|
|
53
62
|
declare const CUSTOM_ENTITY_SCHEMA = "custom-entity/schema";
|
|
54
63
|
declare const CUSTOM_ENTITY_OBJECT = "custom-entity";
|
|
55
64
|
declare const CUSTOM_ENTITY_FIELD = "custom-entity/field";
|
|
65
|
+
declare const FORM = "form";
|
|
66
|
+
declare const CUSTOM_REPORT = "report/custom-report";
|
|
56
67
|
declare const AUTOMATION_JOB = "automation/job";
|
|
57
68
|
declare const AUTOMATION_SCRIPT = "automation/script";
|
|
58
69
|
declare const USER_ACTION = "automation/user-action";
|
|
@@ -68,6 +79,8 @@ declare const COMPANY_ALIAS = "company-alias";
|
|
|
68
79
|
declare const PRINT_JOB = "thermal-printer/print-job";
|
|
69
80
|
declare const WORK_ORDER = "order/sales-order?type=WORK_ORDER";
|
|
70
81
|
declare const SERVICE_ORDER = "order/sales-order?type=SERVICE_ORDER";
|
|
82
|
+
declare const IDENTIFIER_GROUP = "identifier/identifier-group";
|
|
83
|
+
declare const IDENTIFIER_TOKEN = "identifier/identifier-token";
|
|
71
84
|
declare const INCOMING_SHIPMENT = "shipment/incoming-shipment";
|
|
72
85
|
declare const OUTGOING_SHIPMENT = "shipment/outgoing-shipment";
|
|
73
86
|
|
|
@@ -88,11 +101,16 @@ declare const crudEndpoints_CUSTOM_ENTITY_FIELD: typeof CUSTOM_ENTITY_FIELD;
|
|
|
88
101
|
declare const crudEndpoints_CUSTOM_ENTITY_OBJECT: typeof CUSTOM_ENTITY_OBJECT;
|
|
89
102
|
declare const crudEndpoints_CUSTOM_ENTITY_SCHEMA: typeof CUSTOM_ENTITY_SCHEMA;
|
|
90
103
|
declare const crudEndpoints_CUSTOM_FIELD: typeof CUSTOM_FIELD;
|
|
104
|
+
declare const crudEndpoints_CUSTOM_REPORT: typeof CUSTOM_REPORT;
|
|
91
105
|
declare const crudEndpoints_DELIVERY_JOB: typeof DELIVERY_JOB;
|
|
92
106
|
declare const crudEndpoints_EMPLOYEE: typeof EMPLOYEE;
|
|
93
107
|
declare const crudEndpoints_EXPENSE: typeof EXPENSE;
|
|
94
108
|
declare const crudEndpoints_EXPENSE_LINE: typeof EXPENSE_LINE;
|
|
95
109
|
declare const crudEndpoints_FIXED_ASSET: typeof FIXED_ASSET;
|
|
110
|
+
declare const crudEndpoints_FORM: typeof FORM;
|
|
111
|
+
declare const crudEndpoints_GEOFENCE: typeof GEOFENCE;
|
|
112
|
+
declare const crudEndpoints_IDENTIFIER_GROUP: typeof IDENTIFIER_GROUP;
|
|
113
|
+
declare const crudEndpoints_IDENTIFIER_TOKEN: typeof IDENTIFIER_TOKEN;
|
|
96
114
|
declare const crudEndpoints_INCOMING_DELIVERY: typeof INCOMING_DELIVERY;
|
|
97
115
|
declare const crudEndpoints_INCOMING_DELIVERY_LINE: typeof INCOMING_DELIVERY_LINE;
|
|
98
116
|
declare const crudEndpoints_INCOMING_PAYMENT_METHOD: typeof INCOMING_PAYMENT_METHOD;
|
|
@@ -104,6 +122,7 @@ declare const crudEndpoints_INVOICE: typeof INVOICE;
|
|
|
104
122
|
declare const crudEndpoints_INVOICE_LINE: typeof INVOICE_LINE;
|
|
105
123
|
declare const crudEndpoints_IOT_DEVICE: typeof IOT_DEVICE;
|
|
106
124
|
declare const crudEndpoints_IOT_JOB: typeof IOT_JOB;
|
|
125
|
+
declare const crudEndpoints_JOB_CARD: typeof JOB_CARD;
|
|
107
126
|
declare const crudEndpoints_JOURNAL_ENTRY: typeof JOURNAL_ENTRY;
|
|
108
127
|
declare const crudEndpoints_JOURNAL_ENTRY_LINE: typeof JOURNAL_ENTRY_LINE;
|
|
109
128
|
declare const crudEndpoints_NOTIFICATION: typeof NOTIFICATION;
|
|
@@ -117,6 +136,7 @@ declare const crudEndpoints_PRODUCTION_ORDER: typeof PRODUCTION_ORDER;
|
|
|
117
136
|
declare const crudEndpoints_PRODUCTION_ORDER_LINE: typeof PRODUCTION_ORDER_LINE;
|
|
118
137
|
declare const crudEndpoints_PRODUCT_GROUP: typeof PRODUCT_GROUP;
|
|
119
138
|
declare const crudEndpoints_PRODUCT_ITEM: typeof PRODUCT_ITEM;
|
|
139
|
+
declare const crudEndpoints_PRODUCT_SUPPLIER: typeof PRODUCT_SUPPLIER;
|
|
120
140
|
declare const crudEndpoints_PURCHASE_ORDER: typeof PURCHASE_ORDER;
|
|
121
141
|
declare const crudEndpoints_PURCHASE_ORDER_APPROVER: typeof PURCHASE_ORDER_APPROVER;
|
|
122
142
|
declare const crudEndpoints_PURCHASE_ORDER_LINE: typeof PURCHASE_ORDER_LINE;
|
|
@@ -128,6 +148,7 @@ declare const crudEndpoints_SALES_ORDER: typeof SALES_ORDER;
|
|
|
128
148
|
declare const crudEndpoints_SALES_ORDER_APPROVER: typeof SALES_ORDER_APPROVER;
|
|
129
149
|
declare const crudEndpoints_SALES_ORDER_LINE: typeof SALES_ORDER_LINE;
|
|
130
150
|
declare const crudEndpoints_SERVICE_ORDER: typeof SERVICE_ORDER;
|
|
151
|
+
declare const crudEndpoints_SHIFT: typeof SHIFT;
|
|
131
152
|
declare const crudEndpoints_STOCK_ADJUSTMENT: typeof STOCK_ADJUSTMENT;
|
|
132
153
|
declare const crudEndpoints_STORE: typeof STORE;
|
|
133
154
|
declare const crudEndpoints_STORE_PRODUCT: typeof STORE_PRODUCT;
|
|
@@ -137,11 +158,16 @@ declare const crudEndpoints_STORE_PRODUCT_GROUP: typeof STORE_PRODUCT_GROUP;
|
|
|
137
158
|
declare const crudEndpoints_SUBSIDIARY: typeof SUBSIDIARY;
|
|
138
159
|
declare const crudEndpoints_SUPPLIER: typeof SUPPLIER;
|
|
139
160
|
declare const crudEndpoints_USER_ACTION: typeof USER_ACTION;
|
|
161
|
+
declare const crudEndpoints_USER_PERSONA: typeof USER_PERSONA;
|
|
162
|
+
declare const crudEndpoints_USER_PERSONA_CUSTOM_SCHEMA_PERMISSION: typeof USER_PERSONA_CUSTOM_SCHEMA_PERMISSION;
|
|
163
|
+
declare const crudEndpoints_USER_PERSONA_ENTITY_ACCESS_STATUS: typeof USER_PERSONA_ENTITY_ACCESS_STATUS;
|
|
164
|
+
declare const crudEndpoints_USER_PERSONA_ENTITY_PERMISSION: typeof USER_PERSONA_ENTITY_PERMISSION;
|
|
140
165
|
declare const crudEndpoints_VEHICLE: typeof VEHICLE;
|
|
141
166
|
declare const crudEndpoints_WAREHOUSE: typeof WAREHOUSE;
|
|
167
|
+
declare const crudEndpoints_WORKSTATION: typeof WORKSTATION;
|
|
142
168
|
declare const crudEndpoints_WORK_ORDER: typeof WORK_ORDER;
|
|
143
169
|
declare namespace crudEndpoints {
|
|
144
|
-
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_IOT_DEVICE as IOT_DEVICE, crudEndpoints_IOT_JOB as IOT_JOB, crudEndpoints_JOURNAL_ENTRY as JOURNAL_ENTRY, crudEndpoints_JOURNAL_ENTRY_LINE as JOURNAL_ENTRY_LINE, crudEndpoints_NOTIFICATION as NOTIFICATION, 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_SERVICE_ORDER as SERVICE_ORDER, crudEndpoints_STOCK_ADJUSTMENT as STOCK_ADJUSTMENT, crudEndpoints_STORE as STORE, crudEndpoints_STORE_PRODUCT as STORE_PRODUCT, crudEndpoints_STORE_PRODUCT_ATTRIBUTE as STORE_PRODUCT_ATTRIBUTE, crudEndpoints_STORE_PRODUCT_ATTRIBUTE_VALUE as STORE_PRODUCT_ATTRIBUTE_VALUE, crudEndpoints_STORE_PRODUCT_GROUP as STORE_PRODUCT_GROUP, crudEndpoints_SUBSIDIARY as SUBSIDIARY, crudEndpoints_SUPPLIER as SUPPLIER, crudEndpoints_USER_ACTION as USER_ACTION, crudEndpoints_VEHICLE as VEHICLE, crudEndpoints_WAREHOUSE as WAREHOUSE, crudEndpoints_WORK_ORDER as WORK_ORDER };
|
|
170
|
+
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_CUSTOM_REPORT as CUSTOM_REPORT, 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_FORM as FORM, crudEndpoints_GEOFENCE as GEOFENCE, crudEndpoints_IDENTIFIER_GROUP as IDENTIFIER_GROUP, crudEndpoints_IDENTIFIER_TOKEN as IDENTIFIER_TOKEN, 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_IOT_DEVICE as IOT_DEVICE, crudEndpoints_IOT_JOB as IOT_JOB, crudEndpoints_JOB_CARD as JOB_CARD, crudEndpoints_JOURNAL_ENTRY as JOURNAL_ENTRY, crudEndpoints_JOURNAL_ENTRY_LINE as JOURNAL_ENTRY_LINE, crudEndpoints_NOTIFICATION as NOTIFICATION, 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_PRODUCT_SUPPLIER as PRODUCT_SUPPLIER, 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_SERVICE_ORDER as SERVICE_ORDER, crudEndpoints_SHIFT as SHIFT, crudEndpoints_STOCK_ADJUSTMENT as STOCK_ADJUSTMENT, crudEndpoints_STORE as STORE, crudEndpoints_STORE_PRODUCT as STORE_PRODUCT, crudEndpoints_STORE_PRODUCT_ATTRIBUTE as STORE_PRODUCT_ATTRIBUTE, crudEndpoints_STORE_PRODUCT_ATTRIBUTE_VALUE as STORE_PRODUCT_ATTRIBUTE_VALUE, crudEndpoints_STORE_PRODUCT_GROUP as STORE_PRODUCT_GROUP, crudEndpoints_SUBSIDIARY as SUBSIDIARY, crudEndpoints_SUPPLIER as SUPPLIER, crudEndpoints_USER_ACTION as USER_ACTION, crudEndpoints_USER_PERSONA as USER_PERSONA, crudEndpoints_USER_PERSONA_CUSTOM_SCHEMA_PERMISSION as USER_PERSONA_CUSTOM_SCHEMA_PERMISSION, crudEndpoints_USER_PERSONA_ENTITY_ACCESS_STATUS as USER_PERSONA_ENTITY_ACCESS_STATUS, crudEndpoints_USER_PERSONA_ENTITY_PERMISSION as USER_PERSONA_ENTITY_PERMISSION, crudEndpoints_VEHICLE as VEHICLE, crudEndpoints_WAREHOUSE as WAREHOUSE, crudEndpoints_WORKSTATION as WORKSTATION, crudEndpoints_WORK_ORDER as WORK_ORDER };
|
|
145
171
|
}
|
|
146
172
|
|
|
147
173
|
declare function call(axiosRequest: AxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
package/dist/index.js
CHANGED
|
@@ -95,11 +95,16 @@ __export(crudEndpoints_exports, {
|
|
|
95
95
|
CUSTOM_ENTITY_OBJECT: () => CUSTOM_ENTITY_OBJECT,
|
|
96
96
|
CUSTOM_ENTITY_SCHEMA: () => CUSTOM_ENTITY_SCHEMA,
|
|
97
97
|
CUSTOM_FIELD: () => CUSTOM_FIELD,
|
|
98
|
+
CUSTOM_REPORT: () => CUSTOM_REPORT,
|
|
98
99
|
DELIVERY_JOB: () => DELIVERY_JOB,
|
|
99
100
|
EMPLOYEE: () => EMPLOYEE,
|
|
100
101
|
EXPENSE: () => EXPENSE,
|
|
101
102
|
EXPENSE_LINE: () => EXPENSE_LINE,
|
|
102
103
|
FIXED_ASSET: () => FIXED_ASSET,
|
|
104
|
+
FORM: () => FORM,
|
|
105
|
+
GEOFENCE: () => GEOFENCE,
|
|
106
|
+
IDENTIFIER_GROUP: () => IDENTIFIER_GROUP,
|
|
107
|
+
IDENTIFIER_TOKEN: () => IDENTIFIER_TOKEN,
|
|
103
108
|
INCOMING_DELIVERY: () => INCOMING_DELIVERY,
|
|
104
109
|
INCOMING_DELIVERY_LINE: () => INCOMING_DELIVERY_LINE,
|
|
105
110
|
INCOMING_PAYMENT_METHOD: () => INCOMING_PAYMENT_METHOD,
|
|
@@ -111,6 +116,7 @@ __export(crudEndpoints_exports, {
|
|
|
111
116
|
INVOICE_LINE: () => INVOICE_LINE,
|
|
112
117
|
IOT_DEVICE: () => IOT_DEVICE,
|
|
113
118
|
IOT_JOB: () => IOT_JOB,
|
|
119
|
+
JOB_CARD: () => JOB_CARD,
|
|
114
120
|
JOURNAL_ENTRY: () => JOURNAL_ENTRY,
|
|
115
121
|
JOURNAL_ENTRY_LINE: () => JOURNAL_ENTRY_LINE,
|
|
116
122
|
NOTIFICATION: () => NOTIFICATION,
|
|
@@ -124,6 +130,7 @@ __export(crudEndpoints_exports, {
|
|
|
124
130
|
PRODUCTION_ORDER_LINE: () => PRODUCTION_ORDER_LINE,
|
|
125
131
|
PRODUCT_GROUP: () => PRODUCT_GROUP,
|
|
126
132
|
PRODUCT_ITEM: () => PRODUCT_ITEM,
|
|
133
|
+
PRODUCT_SUPPLIER: () => PRODUCT_SUPPLIER,
|
|
127
134
|
PURCHASE_ORDER: () => PURCHASE_ORDER,
|
|
128
135
|
PURCHASE_ORDER_APPROVER: () => PURCHASE_ORDER_APPROVER,
|
|
129
136
|
PURCHASE_ORDER_LINE: () => PURCHASE_ORDER_LINE,
|
|
@@ -135,6 +142,7 @@ __export(crudEndpoints_exports, {
|
|
|
135
142
|
SALES_ORDER_APPROVER: () => SALES_ORDER_APPROVER,
|
|
136
143
|
SALES_ORDER_LINE: () => SALES_ORDER_LINE,
|
|
137
144
|
SERVICE_ORDER: () => SERVICE_ORDER,
|
|
145
|
+
SHIFT: () => SHIFT,
|
|
138
146
|
STOCK_ADJUSTMENT: () => STOCK_ADJUSTMENT,
|
|
139
147
|
STORE: () => STORE,
|
|
140
148
|
STORE_PRODUCT: () => STORE_PRODUCT,
|
|
@@ -144,11 +152,20 @@ __export(crudEndpoints_exports, {
|
|
|
144
152
|
SUBSIDIARY: () => SUBSIDIARY,
|
|
145
153
|
SUPPLIER: () => SUPPLIER,
|
|
146
154
|
USER_ACTION: () => USER_ACTION,
|
|
155
|
+
USER_PERSONA: () => USER_PERSONA,
|
|
156
|
+
USER_PERSONA_CUSTOM_SCHEMA_PERMISSION: () => USER_PERSONA_CUSTOM_SCHEMA_PERMISSION,
|
|
157
|
+
USER_PERSONA_ENTITY_ACCESS_STATUS: () => USER_PERSONA_ENTITY_ACCESS_STATUS,
|
|
158
|
+
USER_PERSONA_ENTITY_PERMISSION: () => USER_PERSONA_ENTITY_PERMISSION,
|
|
147
159
|
VEHICLE: () => VEHICLE,
|
|
148
160
|
WAREHOUSE: () => WAREHOUSE,
|
|
161
|
+
WORKSTATION: () => WORKSTATION,
|
|
149
162
|
WORK_ORDER: () => WORK_ORDER
|
|
150
163
|
});
|
|
151
164
|
var NOTIFICATION = "notification";
|
|
165
|
+
var USER_PERSONA = "user/user-persona";
|
|
166
|
+
var USER_PERSONA_CUSTOM_SCHEMA_PERMISSION = "user/user-persona-custom-schema-permission";
|
|
167
|
+
var USER_PERSONA_ENTITY_PERMISSION = "user/user-persona-entity-permission";
|
|
168
|
+
var USER_PERSONA_ENTITY_ACCESS_STATUS = "user/user-persona-entity-access-status";
|
|
152
169
|
var COMPANY_PERMISSION = "company-permission";
|
|
153
170
|
var COMPANY_OPTION = "company-option";
|
|
154
171
|
var INVITATION = "user/invitation";
|
|
@@ -156,6 +173,7 @@ var CUSTOMER = "contact/customer";
|
|
|
156
173
|
var PRODUCT = "product";
|
|
157
174
|
var PRODUCT_ITEM = "product/product-item";
|
|
158
175
|
var PRODUCT_GROUP = "product-group";
|
|
176
|
+
var PRODUCT_SUPPLIER = "product/product-supplier";
|
|
159
177
|
var PURCHASE_ORDER = "order/purchase-order";
|
|
160
178
|
var PURCHASE_ORDER_LINE = "order/purchase-order-line";
|
|
161
179
|
var QUOTE = "order/quote";
|
|
@@ -192,14 +210,20 @@ var BOM_COMPONENT = "manufacturing/bom-component";
|
|
|
192
210
|
var BOM_OPERATION = "manufacturing/bom-operation";
|
|
193
211
|
var PRODUCTION_ORDER = "manufacturing/production-order";
|
|
194
212
|
var PRODUCTION_ORDER_LINE = "manufacturing/production-order-line";
|
|
213
|
+
var JOB_CARD = "manufacturing/job-card";
|
|
214
|
+
var WORKSTATION = "manufacturing/workstation";
|
|
195
215
|
var SUBSIDIARY = "subsidiary";
|
|
196
216
|
var EMPLOYEE = "human-resources/employee";
|
|
217
|
+
var GEOFENCE = "geofence";
|
|
218
|
+
var SHIFT = "human-resources/employee/shift";
|
|
197
219
|
var ATTENDANCE = "human-resources/attendance";
|
|
198
220
|
var VEHICLE = "fleet/vehicle";
|
|
199
221
|
var DELIVERY_JOB = "fleet/delivery-job";
|
|
200
222
|
var CUSTOM_ENTITY_SCHEMA = "custom-entity/schema";
|
|
201
223
|
var CUSTOM_ENTITY_OBJECT = "custom-entity";
|
|
202
224
|
var CUSTOM_ENTITY_FIELD = "custom-entity/field";
|
|
225
|
+
var FORM = "form";
|
|
226
|
+
var CUSTOM_REPORT = "report/custom-report";
|
|
203
227
|
var AUTOMATION_JOB = "automation/job";
|
|
204
228
|
var AUTOMATION_SCRIPT = "automation/script";
|
|
205
229
|
var USER_ACTION = "automation/user-action";
|
|
@@ -215,6 +239,8 @@ var COMPANY_ALIAS = "company-alias";
|
|
|
215
239
|
var PRINT_JOB = "thermal-printer/print-job";
|
|
216
240
|
var WORK_ORDER = "order/sales-order?type=WORK_ORDER";
|
|
217
241
|
var SERVICE_ORDER = "order/sales-order?type=SERVICE_ORDER";
|
|
242
|
+
var IDENTIFIER_GROUP = "identifier/identifier-group";
|
|
243
|
+
var IDENTIFIER_TOKEN = "identifier/identifier-token";
|
|
218
244
|
var INCOMING_SHIPMENT = "shipment/incoming-shipment";
|
|
219
245
|
var OUTGOING_SHIPMENT = "shipment/outgoing-shipment";
|
|
220
246
|
|
package/dist/index.mjs
CHANGED
|
@@ -63,11 +63,16 @@ __export(crudEndpoints_exports, {
|
|
|
63
63
|
CUSTOM_ENTITY_OBJECT: () => CUSTOM_ENTITY_OBJECT,
|
|
64
64
|
CUSTOM_ENTITY_SCHEMA: () => CUSTOM_ENTITY_SCHEMA,
|
|
65
65
|
CUSTOM_FIELD: () => CUSTOM_FIELD,
|
|
66
|
+
CUSTOM_REPORT: () => CUSTOM_REPORT,
|
|
66
67
|
DELIVERY_JOB: () => DELIVERY_JOB,
|
|
67
68
|
EMPLOYEE: () => EMPLOYEE,
|
|
68
69
|
EXPENSE: () => EXPENSE,
|
|
69
70
|
EXPENSE_LINE: () => EXPENSE_LINE,
|
|
70
71
|
FIXED_ASSET: () => FIXED_ASSET,
|
|
72
|
+
FORM: () => FORM,
|
|
73
|
+
GEOFENCE: () => GEOFENCE,
|
|
74
|
+
IDENTIFIER_GROUP: () => IDENTIFIER_GROUP,
|
|
75
|
+
IDENTIFIER_TOKEN: () => IDENTIFIER_TOKEN,
|
|
71
76
|
INCOMING_DELIVERY: () => INCOMING_DELIVERY,
|
|
72
77
|
INCOMING_DELIVERY_LINE: () => INCOMING_DELIVERY_LINE,
|
|
73
78
|
INCOMING_PAYMENT_METHOD: () => INCOMING_PAYMENT_METHOD,
|
|
@@ -79,6 +84,7 @@ __export(crudEndpoints_exports, {
|
|
|
79
84
|
INVOICE_LINE: () => INVOICE_LINE,
|
|
80
85
|
IOT_DEVICE: () => IOT_DEVICE,
|
|
81
86
|
IOT_JOB: () => IOT_JOB,
|
|
87
|
+
JOB_CARD: () => JOB_CARD,
|
|
82
88
|
JOURNAL_ENTRY: () => JOURNAL_ENTRY,
|
|
83
89
|
JOURNAL_ENTRY_LINE: () => JOURNAL_ENTRY_LINE,
|
|
84
90
|
NOTIFICATION: () => NOTIFICATION,
|
|
@@ -92,6 +98,7 @@ __export(crudEndpoints_exports, {
|
|
|
92
98
|
PRODUCTION_ORDER_LINE: () => PRODUCTION_ORDER_LINE,
|
|
93
99
|
PRODUCT_GROUP: () => PRODUCT_GROUP,
|
|
94
100
|
PRODUCT_ITEM: () => PRODUCT_ITEM,
|
|
101
|
+
PRODUCT_SUPPLIER: () => PRODUCT_SUPPLIER,
|
|
95
102
|
PURCHASE_ORDER: () => PURCHASE_ORDER,
|
|
96
103
|
PURCHASE_ORDER_APPROVER: () => PURCHASE_ORDER_APPROVER,
|
|
97
104
|
PURCHASE_ORDER_LINE: () => PURCHASE_ORDER_LINE,
|
|
@@ -103,6 +110,7 @@ __export(crudEndpoints_exports, {
|
|
|
103
110
|
SALES_ORDER_APPROVER: () => SALES_ORDER_APPROVER,
|
|
104
111
|
SALES_ORDER_LINE: () => SALES_ORDER_LINE,
|
|
105
112
|
SERVICE_ORDER: () => SERVICE_ORDER,
|
|
113
|
+
SHIFT: () => SHIFT,
|
|
106
114
|
STOCK_ADJUSTMENT: () => STOCK_ADJUSTMENT,
|
|
107
115
|
STORE: () => STORE,
|
|
108
116
|
STORE_PRODUCT: () => STORE_PRODUCT,
|
|
@@ -112,11 +120,20 @@ __export(crudEndpoints_exports, {
|
|
|
112
120
|
SUBSIDIARY: () => SUBSIDIARY,
|
|
113
121
|
SUPPLIER: () => SUPPLIER,
|
|
114
122
|
USER_ACTION: () => USER_ACTION,
|
|
123
|
+
USER_PERSONA: () => USER_PERSONA,
|
|
124
|
+
USER_PERSONA_CUSTOM_SCHEMA_PERMISSION: () => USER_PERSONA_CUSTOM_SCHEMA_PERMISSION,
|
|
125
|
+
USER_PERSONA_ENTITY_ACCESS_STATUS: () => USER_PERSONA_ENTITY_ACCESS_STATUS,
|
|
126
|
+
USER_PERSONA_ENTITY_PERMISSION: () => USER_PERSONA_ENTITY_PERMISSION,
|
|
115
127
|
VEHICLE: () => VEHICLE,
|
|
116
128
|
WAREHOUSE: () => WAREHOUSE,
|
|
129
|
+
WORKSTATION: () => WORKSTATION,
|
|
117
130
|
WORK_ORDER: () => WORK_ORDER
|
|
118
131
|
});
|
|
119
132
|
var NOTIFICATION = "notification";
|
|
133
|
+
var USER_PERSONA = "user/user-persona";
|
|
134
|
+
var USER_PERSONA_CUSTOM_SCHEMA_PERMISSION = "user/user-persona-custom-schema-permission";
|
|
135
|
+
var USER_PERSONA_ENTITY_PERMISSION = "user/user-persona-entity-permission";
|
|
136
|
+
var USER_PERSONA_ENTITY_ACCESS_STATUS = "user/user-persona-entity-access-status";
|
|
120
137
|
var COMPANY_PERMISSION = "company-permission";
|
|
121
138
|
var COMPANY_OPTION = "company-option";
|
|
122
139
|
var INVITATION = "user/invitation";
|
|
@@ -124,6 +141,7 @@ var CUSTOMER = "contact/customer";
|
|
|
124
141
|
var PRODUCT = "product";
|
|
125
142
|
var PRODUCT_ITEM = "product/product-item";
|
|
126
143
|
var PRODUCT_GROUP = "product-group";
|
|
144
|
+
var PRODUCT_SUPPLIER = "product/product-supplier";
|
|
127
145
|
var PURCHASE_ORDER = "order/purchase-order";
|
|
128
146
|
var PURCHASE_ORDER_LINE = "order/purchase-order-line";
|
|
129
147
|
var QUOTE = "order/quote";
|
|
@@ -160,14 +178,20 @@ var BOM_COMPONENT = "manufacturing/bom-component";
|
|
|
160
178
|
var BOM_OPERATION = "manufacturing/bom-operation";
|
|
161
179
|
var PRODUCTION_ORDER = "manufacturing/production-order";
|
|
162
180
|
var PRODUCTION_ORDER_LINE = "manufacturing/production-order-line";
|
|
181
|
+
var JOB_CARD = "manufacturing/job-card";
|
|
182
|
+
var WORKSTATION = "manufacturing/workstation";
|
|
163
183
|
var SUBSIDIARY = "subsidiary";
|
|
164
184
|
var EMPLOYEE = "human-resources/employee";
|
|
185
|
+
var GEOFENCE = "geofence";
|
|
186
|
+
var SHIFT = "human-resources/employee/shift";
|
|
165
187
|
var ATTENDANCE = "human-resources/attendance";
|
|
166
188
|
var VEHICLE = "fleet/vehicle";
|
|
167
189
|
var DELIVERY_JOB = "fleet/delivery-job";
|
|
168
190
|
var CUSTOM_ENTITY_SCHEMA = "custom-entity/schema";
|
|
169
191
|
var CUSTOM_ENTITY_OBJECT = "custom-entity";
|
|
170
192
|
var CUSTOM_ENTITY_FIELD = "custom-entity/field";
|
|
193
|
+
var FORM = "form";
|
|
194
|
+
var CUSTOM_REPORT = "report/custom-report";
|
|
171
195
|
var AUTOMATION_JOB = "automation/job";
|
|
172
196
|
var AUTOMATION_SCRIPT = "automation/script";
|
|
173
197
|
var USER_ACTION = "automation/user-action";
|
|
@@ -183,6 +207,8 @@ var COMPANY_ALIAS = "company-alias";
|
|
|
183
207
|
var PRINT_JOB = "thermal-printer/print-job";
|
|
184
208
|
var WORK_ORDER = "order/sales-order?type=WORK_ORDER";
|
|
185
209
|
var SERVICE_ORDER = "order/sales-order?type=SERVICE_ORDER";
|
|
210
|
+
var IDENTIFIER_GROUP = "identifier/identifier-group";
|
|
211
|
+
var IDENTIFIER_TOKEN = "identifier/identifier-token";
|
|
186
212
|
var INCOMING_SHIPMENT = "shipment/incoming-shipment";
|
|
187
213
|
var OUTGOING_SHIPMENT = "shipment/outgoing-shipment";
|
|
188
214
|
|