repzo 1.0.143 → 1.0.144
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/docs/api/activity-ai-sales-order-examples.md +3 -3
- package/docs/api/activity-ai-sales-order.md +0 -7
- package/docs/api/activity-feedback-examples.md +4 -4
- package/docs/api/activity-feedback-v2-examples.md +5 -5
- package/docs/api/activity-feedback-v2.md +0 -9
- package/docs/api/activity-feedback.md +0 -9
- package/docs/api/activity-storecheck-examples.md +3 -3
- package/docs/api/activity-storecheck.md +0 -6
- package/docs/api/adjust-account-examples.md +3 -3
- package/docs/api/adjust-account.md +0 -5
- package/docs/api/adjust-inventory-examples.md +3 -3
- package/docs/api/adjust-inventory.md +0 -7
- package/docs/api/approval-request-examples.md +3 -3
- package/docs/api/approval-request.md +0 -12
- package/docs/api/approvals-examples.md +3 -3
- package/docs/api/approvals.md +0 -12
- package/docs/api/asset-examples.md +2 -2
- package/docs/api/asset-part-examples.md +3 -3
- package/docs/api/asset-part-receival-examples.md +3 -3
- package/docs/api/asset-part-receival.md +0 -6
- package/docs/api/asset-part-transfer-examples.md +3 -3
- package/docs/api/asset-part-transfer.md +0 -7
- package/docs/api/asset-part-type-examples.md +3 -3
- package/docs/api/asset-part-type.md +0 -6
- package/docs/api/asset-part-unit-examples.md +3 -3
- package/docs/api/asset-part-unit.md +0 -6
- package/docs/api/asset-part.md +0 -6
- package/docs/api/asset-type-examples.md +3 -3
- package/docs/api/asset-type.md +0 -12
- package/docs/api/asset-unit-examples.md +3 -3
- package/docs/api/asset-unit.md +0 -9
- package/docs/api/asset.md +0 -12
- package/docs/api/banks-examples.md +2 -2
- package/docs/api/banks.md +0 -12
- package/docs/api/bankslists-examples.md +3 -3
- package/docs/api/bankslists.md +0 -12
- package/docs/api/brand-examples.md +3 -3
- package/docs/api/brand.md +0 -8
- package/docs/api/category-examples.md +3 -3
- package/docs/api/category.md +0 -8
- package/docs/api/checks-examples.md +2 -2
- package/docs/api/checks.md +0 -5
- package/docs/api/client-channel-examples.md +3 -3
- package/docs/api/client-channel.md +0 -8
- package/docs/api/client-contact-examples.md +3 -3
- package/docs/api/client-contact.md +0 -11
- package/docs/api/client-examples.md +2 -2
- package/docs/api/client-location-examples.md +3 -3
- package/docs/api/client-location.md +0 -9
- package/docs/api/client.md +0 -8
- package/docs/api/contract-examples.md +3 -3
- package/docs/api/contract-installment-examples.md +4 -4
- package/docs/api/contract-installment.md +0 -10
- package/docs/api/contract.md +0 -12
- package/docs/api/custom-list-examples.md +3 -3
- package/docs/api/custom-list-item-examples.md +3 -3
- package/docs/api/custom-list-item.md +0 -12
- package/docs/api/custom-list.md +0 -12
- package/docs/api/custom-status-examples.md +3 -3
- package/docs/api/custom-status.md +0 -12
- package/docs/api/day-examples.md +2 -2
- package/docs/api/day.md +0 -5
- package/docs/api/feedback-options-examples.md +5 -5
- package/docs/api/feedback-options.md +0 -11
- package/docs/api/fullinvoices-examples.md +3 -3
- package/docs/api/fullinvoices.md +0 -10
- package/docs/api/integration-action-log-examples.md +3 -3
- package/docs/api/integration-action-log.md +0 -6
- package/docs/api/integration-app-examples.md +3 -3
- package/docs/api/integration-app.md +0 -7
- package/docs/api/integration-command-log-examples.md +3 -3
- package/docs/api/integration-command-log.md +0 -6
- package/docs/api/inventory-adjustment-reason-examples.md +3 -3
- package/docs/api/inventory-adjustment-reason.md +0 -12
- package/docs/api/inventory-examples.md +2 -2
- package/docs/api/inventory.md +0 -3
- package/docs/api/mail-unsubscribe-examples.md +3 -3
- package/docs/api/mail-unsubscribe.md +0 -6
- package/docs/api/measureunit-examples.md +3 -3
- package/docs/api/measureunit-family-examples.md +3 -3
- package/docs/api/measureunit-family.md +0 -8
- package/docs/api/measureunit.md +0 -9
- package/docs/api/media-examples.md +2 -2
- package/docs/api/media-storage-examples.md +3 -3
- package/docs/api/media-storage.md +0 -8
- package/docs/api/media.md +0 -8
- package/docs/api/msl-examples.md +2 -2
- package/docs/api/msl-products-examples.md +3 -3
- package/docs/api/msl-products.md +0 -12
- package/docs/api/msl.md +0 -12
- package/docs/api/ocr-invoice-job-examples.md +4 -4
- package/docs/api/ocr-invoice-job-group-examples.md +4 -4
- package/docs/api/ocr-invoice-job-group.md +0 -7
- package/docs/api/ocr-invoice-job-page-examples.md +3 -3
- package/docs/api/ocr-invoice-job-page.md +0 -7
- package/docs/api/ocr-invoice-job-template-examples.md +3 -3
- package/docs/api/ocr-invoice-job-template.md +0 -6
- package/docs/api/ocr-invoice-job.md +0 -9
- package/docs/api/patch-action-examples.md +3 -3
- package/docs/api/patch-action.md +0 -7
- package/docs/api/payment-terms-examples.md +3 -3
- package/docs/api/payment-terms.md +0 -13
- package/docs/api/payments-examples.md +3 -3
- package/docs/api/payments.md +0 -10
- package/docs/api/pricelist-examples.md +3 -3
- package/docs/api/pricelist-item-examples.md +3 -3
- package/docs/api/pricelist-item.md +0 -11
- package/docs/api/pricelist.md +0 -8
- package/docs/api/product-examples.md +3 -3
- package/docs/api/product-group-examples.md +3 -3
- package/docs/api/product-group.md +0 -8
- package/docs/api/product-modifiers-group-examples.md +3 -3
- package/docs/api/product-modifiers-group.md +0 -9
- package/docs/api/product.md +0 -9
- package/docs/api/proforma-examples.md +3 -3
- package/docs/api/proforma.md +0 -10
- package/docs/api/quick-convert-to-pdf-examples.md +1 -1
- package/docs/api/quick-convert-to-pdf.md +0 -2
- package/docs/api/receiving-material-examples.md +3 -3
- package/docs/api/receiving-material.md +0 -7
- package/docs/api/refund-examples.md +2 -2
- package/docs/api/refund.md +0 -7
- package/docs/api/rep-balance-summary-examples.md +2 -2
- package/docs/api/rep-balance-summary.md +0 -2
- package/docs/api/rep-examples.md +2 -2
- package/docs/api/rep.md +0 -8
- package/docs/api/return-asset-part-unit-examples.md +3 -3
- package/docs/api/return-asset-part-unit.md +0 -6
- package/docs/api/return-reason-examples.md +3 -3
- package/docs/api/return-reason.md +0 -8
- package/docs/api/route-examples.md +2 -2
- package/docs/api/route.md +0 -8
- package/docs/api/safe-invoice-serial-counter-examples.md +3 -3
- package/docs/api/safe-invoice-serial-counter.md +0 -8
- package/docs/api/settings-examples.md +3 -3
- package/docs/api/settings.md +0 -8
- package/docs/api/settlement-examples.md +3 -3
- package/docs/api/settlement.md +0 -5
- package/docs/api/speciality-examples.md +3 -3
- package/docs/api/speciality.md +0 -8
- package/docs/api/store-asset-part-unit-examples.md +3 -3
- package/docs/api/store-asset-part-unit.md +0 -6
- package/docs/api/storecheck-template-examples.md +3 -3
- package/docs/api/storecheck-template.md +0 -8
- package/docs/api/subcategory-examples.md +3 -3
- package/docs/api/subcategory.md +0 -8
- package/docs/api/supplier-examples.md +3 -3
- package/docs/api/supplier.md +0 -12
- package/docs/api/svix-integration-examples.md +3 -3
- package/docs/api/svix-integration.md +0 -6
- package/docs/api/tag-examples.md +2 -2
- package/docs/api/tag.md +0 -8
- package/docs/api/tax-examples.md +2 -2
- package/docs/api/tax.md +0 -8
- package/docs/api/team-examples.md +2 -2
- package/docs/api/team.md +0 -8
- package/docs/api/transfer-examples.md +3 -3
- package/docs/api/transfer.md +0 -7
- package/docs/api/update-integration-meta-examples.md +3 -3
- package/docs/api/update-integration-meta.md +0 -7
- package/docs/api/variant-examples.md +3 -3
- package/docs/api/variant.md +0 -9
- package/docs/api/visit-examples.md +2 -2
- package/docs/api/visit.md +0 -10
- package/docs/api/warehouse-examples.md +3 -3
- package/docs/api/warehouse.md +0 -8
- package/docs/api/workorder-category-examples.md +3 -3
- package/docs/api/workorder-category.md +0 -9
- package/docs/api/workorder-examples.md +3 -3
- package/docs/api/workorder-portal-examples.md +3 -3
- package/docs/api/workorder-portal-link-examples.md +3 -3
- package/docs/api/workorder-portal-link.md +0 -11
- package/docs/api/workorder-portal.md +0 -9
- package/docs/api/workorder-request-examples.md +3 -3
- package/docs/api/workorder-request.md +0 -12
- package/docs/api/workorder.md +0 -12
- package/lib/index.d.ts +388 -387
- package/lib/index.js +366 -365
- package/lib/types/index.d.ts +14663 -13407
- package/package.json +6 -5
- package/src/types/index.ts +22 -18
package/docs/api/route.md
CHANGED
|
@@ -27,7 +27,6 @@ No authentication required.
|
|
|
27
27
|
| Name | Location | Type | Required | Description |
|
|
28
28
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
29
29
|
|
|
30
|
-
|
|
31
30
|
| `params` | query | object | No | Query parameters for filtering routes |
|
|
32
31
|
|
|
33
32
|
##### Responses
|
|
@@ -67,7 +66,6 @@ Content-Type: `application/json`
|
|
|
67
66
|
| Name | Location | Type | Required | Description |
|
|
68
67
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
69
68
|
|
|
70
|
-
|
|
71
69
|
| `id` | path | string | Yes | No description |
|
|
72
70
|
|
|
73
71
|
##### Responses
|
|
@@ -87,7 +85,6 @@ Content-Type: `application/json`
|
|
|
87
85
|
| Name | Location | Type | Required | Description |
|
|
88
86
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
89
87
|
|
|
90
|
-
|
|
91
88
|
| `id` | path | string | Yes | No description |
|
|
92
89
|
|
|
93
90
|
##### Request Body
|
|
@@ -113,7 +110,6 @@ Content-Type: `application/json`
|
|
|
113
110
|
| Name | Location | Type | Required | Description |
|
|
114
111
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
115
112
|
|
|
116
|
-
|
|
117
113
|
| `id` | path | string | Yes | No description |
|
|
118
114
|
|
|
119
115
|
##### Responses
|
|
@@ -133,7 +129,6 @@ Result of finding routes
|
|
|
133
129
|
| Property | Type | Required | Description |
|
|
134
130
|
| -------- | ---- | -------- | ----------- |
|
|
135
131
|
|
|
136
|
-
|
|
137
132
|
| `data` | array | No | No description |
|
|
138
133
|
|
|
139
134
|
| `total_result` | number | No | Total number of routes |
|
|
@@ -163,7 +158,6 @@ Route schema
|
|
|
163
158
|
| Property | Type | Required | Description |
|
|
164
159
|
| -------- | ---- | -------- | ----------- |
|
|
165
160
|
|
|
166
|
-
|
|
167
161
|
| `_id` | string | No | Unique identifier for the route |
|
|
168
162
|
|
|
169
163
|
| `name` | string | No | Name of the route |
|
|
@@ -193,7 +187,6 @@ Body for creating a route
|
|
|
193
187
|
| Property | Type | Required | Description |
|
|
194
188
|
| -------- | ---- | -------- | ----------- |
|
|
195
189
|
|
|
196
|
-
|
|
197
190
|
| `name` | string | Yes | Name of the route |
|
|
198
191
|
|
|
199
192
|
| `rep_id` | string | Yes | ID of the assigned rep |
|
|
@@ -223,7 +216,6 @@ Body for updating a route
|
|
|
223
216
|
| Property | Type | Required | Description |
|
|
224
217
|
| -------- | ---- | -------- | ----------- |
|
|
225
218
|
|
|
226
|
-
|
|
227
219
|
| `name` | string | No | Name of the route |
|
|
228
220
|
|
|
229
221
|
| `rep_id` | string | No | ID of the assigned rep |
|
|
@@ -51,7 +51,7 @@ const result = await fetch(
|
|
|
51
51
|
Authorization: `Bearer ${apiKey}`,
|
|
52
52
|
"Content-Type": "application/json",
|
|
53
53
|
},
|
|
54
|
-
}
|
|
54
|
+
},
|
|
55
55
|
);
|
|
56
56
|
|
|
57
57
|
const data = await result.json();
|
|
@@ -117,7 +117,7 @@ const result = await fetch(
|
|
|
117
117
|
Authorization: `Bearer ${apiKey}`,
|
|
118
118
|
"Content-Type": "application/json",
|
|
119
119
|
},
|
|
120
|
-
}
|
|
120
|
+
},
|
|
121
121
|
);
|
|
122
122
|
|
|
123
123
|
const data = await result.json();
|
|
@@ -313,7 +313,7 @@ const result = await fetch(
|
|
|
313
313
|
Authorization: `Bearer ${apiKey}`,
|
|
314
314
|
"Content-Type": "application/json",
|
|
315
315
|
},
|
|
316
|
-
}
|
|
316
|
+
},
|
|
317
317
|
);
|
|
318
318
|
|
|
319
319
|
const data = await result.json();
|
|
@@ -37,7 +37,6 @@ This API uses the following authentication methods:
|
|
|
37
37
|
| Name | Location | Type | Required | Description |
|
|
38
38
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
39
39
|
|
|
40
|
-
|
|
41
40
|
| `page` | query | integer | No | Page number for pagination |
|
|
42
41
|
|
|
43
42
|
| `per_page` | query | integer | No | Number of items per page |
|
|
@@ -115,7 +114,6 @@ Content-Type: `application/json`
|
|
|
115
114
|
| Name | Location | Type | Required | Description |
|
|
116
115
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
117
116
|
|
|
118
|
-
|
|
119
117
|
| `id` | path | string | Yes | Safe invoice serial counter ID |
|
|
120
118
|
|
|
121
119
|
##### Responses
|
|
@@ -149,7 +147,6 @@ Content-Type: `application/json`
|
|
|
149
147
|
| Name | Location | Type | Required | Description |
|
|
150
148
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
151
149
|
|
|
152
|
-
|
|
153
150
|
| `id` | path | string | Yes | Safe invoice serial counter ID |
|
|
154
151
|
|
|
155
152
|
##### Request Body
|
|
@@ -191,7 +188,6 @@ Content-Type: `application/json`
|
|
|
191
188
|
| Name | Location | Type | Required | Description |
|
|
192
189
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
193
190
|
|
|
194
|
-
|
|
195
191
|
| `id` | path | string | Yes | Safe invoice serial counter ID |
|
|
196
192
|
|
|
197
193
|
##### Responses
|
|
@@ -251,7 +247,6 @@ Content-Type: `application/json`
|
|
|
251
247
|
| Property | Type | Required | Description |
|
|
252
248
|
| -------- | ---- | -------- | ----------- |
|
|
253
249
|
|
|
254
|
-
|
|
255
250
|
| `_id` | string | No | Unique identifier |
|
|
256
251
|
|
|
257
252
|
| `rep` | string | Yes | Representative ID |
|
|
@@ -285,7 +280,6 @@ Content-Type: `application/json`
|
|
|
285
280
|
| Property | Type | Required | Description |
|
|
286
281
|
| -------- | ---- | -------- | ----------- |
|
|
287
282
|
|
|
288
|
-
|
|
289
283
|
| `rep` | string | Yes | Representative ID |
|
|
290
284
|
|
|
291
285
|
| `warehouse` | string | Yes | Warehouse ID |
|
|
@@ -307,7 +301,6 @@ Content-Type: `application/json`
|
|
|
307
301
|
| Property | Type | Required | Description |
|
|
308
302
|
| -------- | ---- | -------- | ----------- |
|
|
309
303
|
|
|
310
|
-
|
|
311
304
|
| `current_serial` | integer | No | Current serial number |
|
|
312
305
|
|
|
313
306
|
| `prefix` | string | No | Serial number prefix |
|
|
@@ -323,7 +316,6 @@ Content-Type: `application/json`
|
|
|
323
316
|
| Property | Type | Required | Description |
|
|
324
317
|
| -------- | ---- | -------- | ----------- |
|
|
325
318
|
|
|
326
|
-
|
|
327
319
|
| `total` | integer | No | Total number of items |
|
|
328
320
|
|
|
329
321
|
| `page` | integer | No | Current page number |
|
|
@@ -37,7 +37,7 @@ const result = await fetch(
|
|
|
37
37
|
Authorization: `Bearer ${apiKey}`,
|
|
38
38
|
"Content-Type": "application/json",
|
|
39
39
|
},
|
|
40
|
-
}
|
|
40
|
+
},
|
|
41
41
|
);
|
|
42
42
|
|
|
43
43
|
const data = await result.json();
|
|
@@ -74,7 +74,7 @@ const result = await fetch(
|
|
|
74
74
|
Authorization: `Bearer ${apiKey}`,
|
|
75
75
|
"Content-Type": "application/json",
|
|
76
76
|
},
|
|
77
|
-
}
|
|
77
|
+
},
|
|
78
78
|
);
|
|
79
79
|
|
|
80
80
|
const data = await result.json();
|
|
@@ -176,7 +176,7 @@ const result = await fetch(
|
|
|
176
176
|
Authorization: `Bearer ${apiKey}`,
|
|
177
177
|
"Content-Type": "application/json",
|
|
178
178
|
},
|
|
179
|
-
}
|
|
179
|
+
},
|
|
180
180
|
);
|
|
181
181
|
|
|
182
182
|
const data = await result.json();
|
package/docs/api/settings.md
CHANGED
|
@@ -27,7 +27,6 @@ No authentication required.
|
|
|
27
27
|
| Name | Location | Type | Required | Description |
|
|
28
28
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
29
29
|
|
|
30
|
-
|
|
31
30
|
| `params` | query | object | No | Query parameters for filtering settings |
|
|
32
31
|
|
|
33
32
|
##### Responses
|
|
@@ -49,7 +48,6 @@ Content-Type: `application/json`
|
|
|
49
48
|
| Name | Location | Type | Required | Description |
|
|
50
49
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
51
50
|
|
|
52
|
-
|
|
53
51
|
| `id` | path | string | Yes | No description |
|
|
54
52
|
|
|
55
53
|
##### Responses
|
|
@@ -69,7 +67,6 @@ Content-Type: `application/json`
|
|
|
69
67
|
| Name | Location | Type | Required | Description |
|
|
70
68
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
71
69
|
|
|
72
|
-
|
|
73
70
|
| `id` | path | string | Yes | No description |
|
|
74
71
|
|
|
75
72
|
##### Request Body
|
|
@@ -93,7 +90,6 @@ Content-Type: `application/json`
|
|
|
93
90
|
| Property | Type | Required | Description |
|
|
94
91
|
| -------- | ---- | -------- | ----------- |
|
|
95
92
|
|
|
96
|
-
|
|
97
93
|
| `data` | array | No | No description |
|
|
98
94
|
|
|
99
95
|
| `meta` | object | No | No description |
|
|
@@ -103,7 +99,6 @@ Content-Type: `application/json`
|
|
|
103
99
|
| Property | Type | Required | Description |
|
|
104
100
|
| -------- | ---- | -------- | ----------- |
|
|
105
101
|
|
|
106
|
-
|
|
107
102
|
| `data` | object | No | No description |
|
|
108
103
|
|
|
109
104
|
### SettingsUpdateBody
|
|
@@ -111,7 +106,6 @@ Content-Type: `application/json`
|
|
|
111
106
|
| Property | Type | Required | Description |
|
|
112
107
|
| -------- | ---- | -------- | ----------- |
|
|
113
108
|
|
|
114
|
-
|
|
115
109
|
| `key` | string | No | No description |
|
|
116
110
|
|
|
117
111
|
| `value` | object | No | No description |
|
|
@@ -125,7 +119,6 @@ Content-Type: `application/json`
|
|
|
125
119
|
| Property | Type | Required | Description |
|
|
126
120
|
| -------- | ---- | -------- | ----------- |
|
|
127
121
|
|
|
128
|
-
|
|
129
122
|
| `data` | object | No | No description |
|
|
130
123
|
|
|
131
124
|
### Settings
|
|
@@ -133,7 +126,6 @@ Content-Type: `application/json`
|
|
|
133
126
|
| Property | Type | Required | Description |
|
|
134
127
|
| -------- | ---- | -------- | ----------- |
|
|
135
128
|
|
|
136
|
-
|
|
137
129
|
| `_id` | string | No | No description |
|
|
138
130
|
|
|
139
131
|
| `key` | string | No | No description |
|
|
@@ -37,7 +37,7 @@ const result = await fetch(
|
|
|
37
37
|
Authorization: `Bearer ${apiKey}`,
|
|
38
38
|
"Content-Type": "application/json",
|
|
39
39
|
},
|
|
40
|
-
}
|
|
40
|
+
},
|
|
41
41
|
);
|
|
42
42
|
|
|
43
43
|
const data = await result.json();
|
|
@@ -99,7 +99,7 @@ const result = await fetch(
|
|
|
99
99
|
Authorization: `Bearer ${apiKey}`,
|
|
100
100
|
"Content-Type": "application/json",
|
|
101
101
|
},
|
|
102
|
-
}
|
|
102
|
+
},
|
|
103
103
|
);
|
|
104
104
|
|
|
105
105
|
const data = await result.json();
|
|
@@ -182,7 +182,7 @@ const result = await fetch(
|
|
|
182
182
|
Authorization: `Bearer ${apiKey}`,
|
|
183
183
|
"Content-Type": "application/json",
|
|
184
184
|
},
|
|
185
|
-
}
|
|
185
|
+
},
|
|
186
186
|
);
|
|
187
187
|
|
|
188
188
|
const data = await result.json();
|
package/docs/api/settlement.md
CHANGED
|
@@ -27,7 +27,6 @@ No authentication required.
|
|
|
27
27
|
| Name | Location | Type | Required | Description |
|
|
28
28
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
29
29
|
|
|
30
|
-
|
|
31
30
|
| `params` | query | object | No | Query parameters for filtering settlements |
|
|
32
31
|
|
|
33
32
|
##### Responses
|
|
@@ -67,7 +66,6 @@ Content-Type: `application/json`
|
|
|
67
66
|
| Name | Location | Type | Required | Description |
|
|
68
67
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
69
68
|
|
|
70
|
-
|
|
71
69
|
| `id` | path | string | Yes | No description |
|
|
72
70
|
|
|
73
71
|
##### Responses
|
|
@@ -87,7 +85,6 @@ Result of finding settlements
|
|
|
87
85
|
| Property | Type | Required | Description |
|
|
88
86
|
| -------- | ---- | -------- | ----------- |
|
|
89
87
|
|
|
90
|
-
|
|
91
88
|
| `data` | array | No | No description |
|
|
92
89
|
|
|
93
90
|
| `total_result` | number | No | Total number of settlements |
|
|
@@ -107,7 +104,6 @@ Settlement schema
|
|
|
107
104
|
| Property | Type | Required | Description |
|
|
108
105
|
| -------- | ---- | -------- | ----------- |
|
|
109
106
|
|
|
110
|
-
|
|
111
107
|
| `_id` | string | No | Unique identifier for the settlement |
|
|
112
108
|
|
|
113
109
|
| `client` | string | No | Client ID associated with the settlement |
|
|
@@ -143,7 +139,6 @@ Body for creating a settlement
|
|
|
143
139
|
| Property | Type | Required | Description |
|
|
144
140
|
| -------- | ---- | -------- | ----------- |
|
|
145
141
|
|
|
146
|
-
|
|
147
142
|
| `client` | string | Yes | Client ID associated with the settlement |
|
|
148
143
|
|
|
149
144
|
| `rep` | string | No | Representative ID who processed the settlement |
|
|
@@ -49,7 +49,7 @@ const result = await fetch(
|
|
|
49
49
|
Authorization: `Bearer ${apiKey}`,
|
|
50
50
|
"Content-Type": "application/json",
|
|
51
51
|
},
|
|
52
|
-
}
|
|
52
|
+
},
|
|
53
53
|
);
|
|
54
54
|
|
|
55
55
|
const data = await result.json();
|
|
@@ -115,7 +115,7 @@ const result = await fetch(
|
|
|
115
115
|
Authorization: `Bearer ${apiKey}`,
|
|
116
116
|
"Content-Type": "application/json",
|
|
117
117
|
},
|
|
118
|
-
}
|
|
118
|
+
},
|
|
119
119
|
);
|
|
120
120
|
|
|
121
121
|
const data = await result.json();
|
|
@@ -311,7 +311,7 @@ const result = await fetch(
|
|
|
311
311
|
Authorization: `Bearer ${apiKey}`,
|
|
312
312
|
"Content-Type": "application/json",
|
|
313
313
|
},
|
|
314
|
-
}
|
|
314
|
+
},
|
|
315
315
|
);
|
|
316
316
|
|
|
317
317
|
const data = await result.json();
|
package/docs/api/speciality.md
CHANGED
|
@@ -37,7 +37,6 @@ This API uses the following authentication methods:
|
|
|
37
37
|
| Name | Location | Type | Required | Description |
|
|
38
38
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
39
39
|
|
|
40
|
-
|
|
41
40
|
| `page` | query | integer | No | Page number for pagination |
|
|
42
41
|
|
|
43
42
|
| `per_page` | query | integer | No | Number of items per page |
|
|
@@ -113,7 +112,6 @@ Content-Type: `application/json`
|
|
|
113
112
|
| Name | Location | Type | Required | Description |
|
|
114
113
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
115
114
|
|
|
116
|
-
|
|
117
115
|
| `id` | path | string | Yes | Speciality ID |
|
|
118
116
|
|
|
119
117
|
##### Responses
|
|
@@ -147,7 +145,6 @@ Content-Type: `application/json`
|
|
|
147
145
|
| Name | Location | Type | Required | Description |
|
|
148
146
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
149
147
|
|
|
150
|
-
|
|
151
148
|
| `id` | path | string | Yes | Speciality ID |
|
|
152
149
|
|
|
153
150
|
##### Request Body
|
|
@@ -189,7 +186,6 @@ Content-Type: `application/json`
|
|
|
189
186
|
| Name | Location | Type | Required | Description |
|
|
190
187
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
191
188
|
|
|
192
|
-
|
|
193
189
|
| `id` | path | string | Yes | Speciality ID |
|
|
194
190
|
|
|
195
191
|
##### Responses
|
|
@@ -249,7 +245,6 @@ Content-Type: `application/json`
|
|
|
249
245
|
| Property | Type | Required | Description |
|
|
250
246
|
| -------- | ---- | -------- | ----------- |
|
|
251
247
|
|
|
252
|
-
|
|
253
248
|
| `_id` | string | No | Unique identifier |
|
|
254
249
|
|
|
255
250
|
| `name` | string | Yes | Speciality name |
|
|
@@ -271,7 +266,6 @@ Content-Type: `application/json`
|
|
|
271
266
|
| Property | Type | Required | Description |
|
|
272
267
|
| -------- | ---- | -------- | ----------- |
|
|
273
268
|
|
|
274
|
-
|
|
275
269
|
| `name` | string | Yes | Speciality name |
|
|
276
270
|
|
|
277
271
|
| `company_namespace` | array | No | Company namespace |
|
|
@@ -283,7 +277,6 @@ Content-Type: `application/json`
|
|
|
283
277
|
| Property | Type | Required | Description |
|
|
284
278
|
| -------- | ---- | -------- | ----------- |
|
|
285
279
|
|
|
286
|
-
|
|
287
280
|
| `name` | string | No | Speciality name |
|
|
288
281
|
|
|
289
282
|
| `company_namespace` | array | No | Company namespace |
|
|
@@ -295,7 +288,6 @@ Content-Type: `application/json`
|
|
|
295
288
|
| Property | Type | Required | Description |
|
|
296
289
|
| -------- | ---- | -------- | ----------- |
|
|
297
290
|
|
|
298
|
-
|
|
299
291
|
| `total` | integer | No | Total number of items |
|
|
300
292
|
|
|
301
293
|
| `page` | integer | No | Current page number |
|
|
@@ -49,7 +49,7 @@ const result = await fetch(
|
|
|
49
49
|
Authorization: `Bearer ${apiKey}`,
|
|
50
50
|
"Content-Type": "application/json",
|
|
51
51
|
},
|
|
52
|
-
}
|
|
52
|
+
},
|
|
53
53
|
);
|
|
54
54
|
|
|
55
55
|
const data = await result.json();
|
|
@@ -115,7 +115,7 @@ const result = await fetch(
|
|
|
115
115
|
Authorization: `Bearer ${apiKey}`,
|
|
116
116
|
"Content-Type": "application/json",
|
|
117
117
|
},
|
|
118
|
-
}
|
|
118
|
+
},
|
|
119
119
|
);
|
|
120
120
|
|
|
121
121
|
const data = await result.json();
|
|
@@ -254,7 +254,7 @@ const result = await fetch(
|
|
|
254
254
|
Authorization: `Bearer ${apiKey}`,
|
|
255
255
|
"Content-Type": "application/json",
|
|
256
256
|
},
|
|
257
|
-
}
|
|
257
|
+
},
|
|
258
258
|
);
|
|
259
259
|
|
|
260
260
|
const data = await result.json();
|
|
@@ -39,7 +39,6 @@ This API uses the following authentication methods:
|
|
|
39
39
|
| Name | Location | Type | Required | Description |
|
|
40
40
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
41
41
|
|
|
42
|
-
|
|
43
42
|
| `limit` | query | integer | No | Maximum number of records to return |
|
|
44
43
|
|
|
45
44
|
| `offset` | query | integer | No | Number of records to skip for pagination |
|
|
@@ -109,7 +108,6 @@ Content-Type: `application/json`
|
|
|
109
108
|
| Name | Location | Type | Required | Description |
|
|
110
109
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
111
110
|
|
|
112
|
-
|
|
113
111
|
| `id` | path | string | Yes | Asset part unit storage record ID |
|
|
114
112
|
|
|
115
113
|
##### Responses
|
|
@@ -139,7 +137,6 @@ Content-Type: `application/json`
|
|
|
139
137
|
| Name | Location | Type | Required | Description |
|
|
140
138
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
141
139
|
|
|
142
|
-
|
|
143
140
|
| `id` | path | string | Yes | Asset part unit storage record ID |
|
|
144
141
|
|
|
145
142
|
##### Request Body
|
|
@@ -177,7 +174,6 @@ Content-Type: `application/json`
|
|
|
177
174
|
| Name | Location | Type | Required | Description |
|
|
178
175
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
179
176
|
|
|
180
|
-
|
|
181
177
|
| `id` | path | string | Yes | Asset part unit storage record ID |
|
|
182
178
|
|
|
183
179
|
##### Responses
|
|
@@ -201,7 +197,6 @@ Content-Type: `application/json`
|
|
|
201
197
|
| Property | Type | Required | Description |
|
|
202
198
|
| -------- | ---- | -------- | ----------- |
|
|
203
199
|
|
|
204
|
-
|
|
205
200
|
| `_id` | string | No | Unique identifier for the storage record |
|
|
206
201
|
|
|
207
202
|
| `storageNumber` | string | Yes | Unique storage number |
|
|
@@ -263,7 +258,6 @@ Content-Type: `application/json`
|
|
|
263
258
|
| Property | Type | Required | Description |
|
|
264
259
|
| -------- | ---- | -------- | ----------- |
|
|
265
260
|
|
|
266
|
-
|
|
267
261
|
| `storageNumber` | string | Yes | Unique storage number |
|
|
268
262
|
|
|
269
263
|
| `assetPartUnit` | string | Yes | Asset part unit ID being stored |
|
|
@@ -37,7 +37,7 @@ const result = await fetch(
|
|
|
37
37
|
Authorization: `Bearer ${apiKey}`,
|
|
38
38
|
"Content-Type": "application/json",
|
|
39
39
|
},
|
|
40
|
-
}
|
|
40
|
+
},
|
|
41
41
|
);
|
|
42
42
|
|
|
43
43
|
const data = await result.json();
|
|
@@ -99,7 +99,7 @@ const result = await fetch(
|
|
|
99
99
|
Authorization: `Bearer ${apiKey}`,
|
|
100
100
|
"Content-Type": "application/json",
|
|
101
101
|
},
|
|
102
|
-
}
|
|
102
|
+
},
|
|
103
103
|
);
|
|
104
104
|
|
|
105
105
|
const data = await result.json();
|
|
@@ -234,7 +234,7 @@ const result = await fetch(
|
|
|
234
234
|
Authorization: `Bearer ${apiKey}`,
|
|
235
235
|
"Content-Type": "application/json",
|
|
236
236
|
},
|
|
237
|
-
}
|
|
237
|
+
},
|
|
238
238
|
);
|
|
239
239
|
|
|
240
240
|
const data = await result.json();
|
|
@@ -27,7 +27,6 @@ No authentication required.
|
|
|
27
27
|
| Name | Location | Type | Required | Description |
|
|
28
28
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
29
29
|
|
|
30
|
-
|
|
31
30
|
| `params` | query | object | No | Query parameters for filtering storecheck templates |
|
|
32
31
|
|
|
33
32
|
##### Responses
|
|
@@ -67,7 +66,6 @@ Content-Type: `application/json`
|
|
|
67
66
|
| Name | Location | Type | Required | Description |
|
|
68
67
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
69
68
|
|
|
70
|
-
|
|
71
69
|
| `id` | path | string | Yes | No description |
|
|
72
70
|
|
|
73
71
|
##### Responses
|
|
@@ -87,7 +85,6 @@ Content-Type: `application/json`
|
|
|
87
85
|
| Name | Location | Type | Required | Description |
|
|
88
86
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
89
87
|
|
|
90
|
-
|
|
91
88
|
| `id` | path | string | Yes | No description |
|
|
92
89
|
|
|
93
90
|
##### Request Body
|
|
@@ -113,7 +110,6 @@ Content-Type: `application/json`
|
|
|
113
110
|
| Name | Location | Type | Required | Description |
|
|
114
111
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
115
112
|
|
|
116
|
-
|
|
117
113
|
| `id` | path | string | Yes | No description |
|
|
118
114
|
|
|
119
115
|
##### Responses
|
|
@@ -133,7 +129,6 @@ Result of finding storecheck templates
|
|
|
133
129
|
| Property | Type | Required | Description |
|
|
134
130
|
| -------- | ---- | -------- | ----------- |
|
|
135
131
|
|
|
136
|
-
|
|
137
132
|
| `data` | array | No | No description |
|
|
138
133
|
|
|
139
134
|
| `total_result` | number | No | Total number of storecheck templates |
|
|
@@ -153,7 +148,6 @@ Storecheck template schema
|
|
|
153
148
|
| Property | Type | Required | Description |
|
|
154
149
|
| -------- | ---- | -------- | ----------- |
|
|
155
150
|
|
|
156
|
-
|
|
157
151
|
| `_id` | string | No | Unique identifier for the storecheck template |
|
|
158
152
|
|
|
159
153
|
| `name` | string | No | Name of the storecheck template |
|
|
@@ -191,7 +185,6 @@ Body for creating a storecheck template
|
|
|
191
185
|
| Property | Type | Required | Description |
|
|
192
186
|
| -------- | ---- | -------- | ----------- |
|
|
193
187
|
|
|
194
|
-
|
|
195
188
|
| `name` | string | Yes | Name of the storecheck template |
|
|
196
189
|
|
|
197
190
|
| `description` | string | No | Description of the template |
|
|
@@ -225,7 +218,6 @@ Body for updating a storecheck template
|
|
|
225
218
|
| Property | Type | Required | Description |
|
|
226
219
|
| -------- | ---- | -------- | ----------- |
|
|
227
220
|
|
|
228
|
-
|
|
229
221
|
| `name` | string | No | Name of the storecheck template |
|
|
230
222
|
|
|
231
223
|
| `description` | string | No | Description of the template |
|
|
@@ -37,7 +37,7 @@ const result = await fetch(
|
|
|
37
37
|
Authorization: `Bearer ${apiKey}`,
|
|
38
38
|
"Content-Type": "application/json",
|
|
39
39
|
},
|
|
40
|
-
}
|
|
40
|
+
},
|
|
41
41
|
);
|
|
42
42
|
|
|
43
43
|
const data = await result.json();
|
|
@@ -101,7 +101,7 @@ const result = await fetch(
|
|
|
101
101
|
Authorization: `Bearer ${apiKey}`,
|
|
102
102
|
"Content-Type": "application/json",
|
|
103
103
|
},
|
|
104
|
-
}
|
|
104
|
+
},
|
|
105
105
|
);
|
|
106
106
|
|
|
107
107
|
const data = await result.json();
|
|
@@ -236,7 +236,7 @@ const result = await fetch(
|
|
|
236
236
|
Authorization: `Bearer ${apiKey}`,
|
|
237
237
|
"Content-Type": "application/json",
|
|
238
238
|
},
|
|
239
|
-
}
|
|
239
|
+
},
|
|
240
240
|
);
|
|
241
241
|
|
|
242
242
|
const data = await result.json();
|
package/docs/api/subcategory.md
CHANGED
|
@@ -27,7 +27,6 @@ No authentication required.
|
|
|
27
27
|
| Name | Location | Type | Required | Description |
|
|
28
28
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
29
29
|
|
|
30
|
-
|
|
31
30
|
| `params` | query | object | No | Query parameters for filtering subcategories |
|
|
32
31
|
|
|
33
32
|
##### Responses
|
|
@@ -67,7 +66,6 @@ Content-Type: `application/json`
|
|
|
67
66
|
| Name | Location | Type | Required | Description |
|
|
68
67
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
69
68
|
|
|
70
|
-
|
|
71
69
|
| `id` | path | string | Yes | No description |
|
|
72
70
|
|
|
73
71
|
| `params` | query | object | No | No description |
|
|
@@ -89,7 +87,6 @@ Content-Type: `application/json`
|
|
|
89
87
|
| Name | Location | Type | Required | Description |
|
|
90
88
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
91
89
|
|
|
92
|
-
|
|
93
90
|
| `id` | path | string | Yes | No description |
|
|
94
91
|
|
|
95
92
|
##### Request Body
|
|
@@ -115,7 +112,6 @@ Content-Type: `application/json`
|
|
|
115
112
|
| Name | Location | Type | Required | Description |
|
|
116
113
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
117
114
|
|
|
118
|
-
|
|
119
115
|
| `id` | path | string | Yes | No description |
|
|
120
116
|
|
|
121
117
|
##### Responses
|
|
@@ -135,7 +131,6 @@ Result of finding subcategories
|
|
|
135
131
|
| Property | Type | Required | Description |
|
|
136
132
|
| -------- | ---- | -------- | ----------- |
|
|
137
133
|
|
|
138
|
-
|
|
139
134
|
| `data` | array | No | No description |
|
|
140
135
|
|
|
141
136
|
| `total_result` | number | No | Total number of subcategories |
|
|
@@ -165,7 +160,6 @@ SubCategory schema
|
|
|
165
160
|
| Property | Type | Required | Description |
|
|
166
161
|
| -------- | ---- | -------- | ----------- |
|
|
167
162
|
|
|
168
|
-
|
|
169
163
|
| `_id` | string | No | Unique identifier for the subcategory |
|
|
170
164
|
|
|
171
165
|
| `name` | string | No | Name of the subcategory |
|
|
@@ -197,7 +191,6 @@ Body for creating a subcategory
|
|
|
197
191
|
| Property | Type | Required | Description |
|
|
198
192
|
| -------- | ---- | -------- | ----------- |
|
|
199
193
|
|
|
200
|
-
|
|
201
194
|
| `name` | string | Yes | Name of the subcategory |
|
|
202
195
|
|
|
203
196
|
| `parent_id` | string | Yes | ID of the parent category |
|
|
@@ -229,7 +222,6 @@ Body for updating a subcategory
|
|
|
229
222
|
| Property | Type | Required | Description |
|
|
230
223
|
| -------- | ---- | -------- | ----------- |
|
|
231
224
|
|
|
232
|
-
|
|
233
225
|
| `name` | string | No | Name of the subcategory |
|
|
234
226
|
|
|
235
227
|
| `parent_id` | string | No | ID of the parent category |
|
|
@@ -37,7 +37,7 @@ const result = await fetch(
|
|
|
37
37
|
Authorization: `Bearer ${apiKey}`,
|
|
38
38
|
"Content-Type": "application/json",
|
|
39
39
|
},
|
|
40
|
-
}
|
|
40
|
+
},
|
|
41
41
|
);
|
|
42
42
|
|
|
43
43
|
const data = await result.json();
|
|
@@ -99,7 +99,7 @@ const result = await fetch(
|
|
|
99
99
|
Authorization: `Bearer ${apiKey}`,
|
|
100
100
|
"Content-Type": "application/json",
|
|
101
101
|
},
|
|
102
|
-
}
|
|
102
|
+
},
|
|
103
103
|
);
|
|
104
104
|
|
|
105
105
|
const data = await result.json();
|
|
@@ -234,7 +234,7 @@ const result = await fetch(
|
|
|
234
234
|
Authorization: `Bearer ${apiKey}`,
|
|
235
235
|
"Content-Type": "application/json",
|
|
236
236
|
},
|
|
237
|
-
}
|
|
237
|
+
},
|
|
238
238
|
);
|
|
239
239
|
|
|
240
240
|
const data = await result.json();
|