repzo 1.0.142 → 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 +7 -6
- package/src/types/index.ts +22 -18
|
@@ -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();
|
|
@@ -275,7 +275,7 @@ const result = await fetch(
|
|
|
275
275
|
Authorization: `Bearer ${apiKey}`,
|
|
276
276
|
"Content-Type": "application/json",
|
|
277
277
|
},
|
|
278
|
-
}
|
|
278
|
+
},
|
|
279
279
|
);
|
|
280
280
|
|
|
281
281
|
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 | AI sales order activity 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 | AI sales order activity 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 | AI sales order activity ID |
|
|
182
178
|
|
|
183
179
|
##### Responses
|
|
@@ -209,7 +205,6 @@ Content-Type: `application/json`
|
|
|
209
205
|
| Name | Location | Type | Required | Description |
|
|
210
206
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
211
207
|
|
|
212
|
-
|
|
213
208
|
| `id` | path | string | Yes | AI sales order activity ID |
|
|
214
209
|
|
|
215
210
|
##### Responses
|
|
@@ -233,7 +228,6 @@ Content-Type: `application/json`
|
|
|
233
228
|
| Property | Type | Required | Description |
|
|
234
229
|
| -------- | ---- | -------- | ----------- |
|
|
235
230
|
|
|
236
|
-
|
|
237
231
|
| `_id` | string | No | Unique identifier for the AI sales order activity |
|
|
238
232
|
|
|
239
233
|
| `client` | string | Yes | Client ID |
|
|
@@ -271,7 +265,6 @@ Content-Type: `application/json`
|
|
|
271
265
|
| Property | Type | Required | Description |
|
|
272
266
|
| -------- | ---- | -------- | ----------- |
|
|
273
267
|
|
|
274
|
-
|
|
275
268
|
| `client` | string | Yes | Client ID |
|
|
276
269
|
|
|
277
270
|
| `rep` | string | Yes | Sales representative ID |
|
|
@@ -55,7 +55,7 @@ const result = await fetch(
|
|
|
55
55
|
Authorization: `Bearer ${apiKey}`,
|
|
56
56
|
"Content-Type": "application/json",
|
|
57
57
|
},
|
|
58
|
-
}
|
|
58
|
+
},
|
|
59
59
|
);
|
|
60
60
|
|
|
61
61
|
const data = await result.json();
|
|
@@ -121,7 +121,7 @@ const result = await fetch(
|
|
|
121
121
|
Authorization: `Bearer ${apiKey}`,
|
|
122
122
|
"Content-Type": "application/json",
|
|
123
123
|
},
|
|
124
|
-
}
|
|
124
|
+
},
|
|
125
125
|
);
|
|
126
126
|
|
|
127
127
|
const data = await result.json();
|
|
@@ -241,7 +241,7 @@ const result = await fetch(
|
|
|
241
241
|
Authorization: `Bearer ${apiKey}`,
|
|
242
242
|
"Content-Type": "application/json",
|
|
243
243
|
},
|
|
244
|
-
}
|
|
244
|
+
},
|
|
245
245
|
);
|
|
246
246
|
|
|
247
247
|
const data = await result.json();
|
|
@@ -324,7 +324,7 @@ const result = await fetch(
|
|
|
324
324
|
Authorization: `Bearer ${apiKey}`,
|
|
325
325
|
"Content-Type": "application/json",
|
|
326
326
|
},
|
|
327
|
-
}
|
|
327
|
+
},
|
|
328
328
|
);
|
|
329
329
|
|
|
330
330
|
const data = await result.json();
|
|
@@ -57,7 +57,7 @@ const result = await fetch(
|
|
|
57
57
|
Authorization: `Bearer ${apiKey}`,
|
|
58
58
|
"Content-Type": "application/json",
|
|
59
59
|
},
|
|
60
|
-
}
|
|
60
|
+
},
|
|
61
61
|
);
|
|
62
62
|
|
|
63
63
|
const data = await result.json();
|
|
@@ -123,7 +123,7 @@ const result = await fetch(
|
|
|
123
123
|
Authorization: `Bearer ${apiKey}`,
|
|
124
124
|
"Content-Type": "application/json",
|
|
125
125
|
},
|
|
126
|
-
}
|
|
126
|
+
},
|
|
127
127
|
);
|
|
128
128
|
|
|
129
129
|
const data = await result.json();
|
|
@@ -239,7 +239,7 @@ const params = {
|
|
|
239
239
|
|
|
240
240
|
const result = await fetch(
|
|
241
241
|
`${baseURL}/activity-feedback-v2/analytics/detailed?${new URLSearchParams(
|
|
242
|
-
params
|
|
242
|
+
params,
|
|
243
243
|
)}`,
|
|
244
244
|
{
|
|
245
245
|
method: "GET",
|
|
@@ -247,7 +247,7 @@ const result = await fetch(
|
|
|
247
247
|
Authorization: `Bearer ${apiKey}`,
|
|
248
248
|
"Content-Type": "application/json",
|
|
249
249
|
},
|
|
250
|
-
}
|
|
250
|
+
},
|
|
251
251
|
);
|
|
252
252
|
|
|
253
253
|
const data = await result.json();
|
|
@@ -330,7 +330,7 @@ const result = await fetch(
|
|
|
330
330
|
Authorization: `Bearer ${apiKey}`,
|
|
331
331
|
"Content-Type": "application/json",
|
|
332
332
|
},
|
|
333
|
-
}
|
|
333
|
+
},
|
|
334
334
|
);
|
|
335
335
|
|
|
336
336
|
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 |
|
|
@@ -121,7 +120,6 @@ Content-Type: `application/json`
|
|
|
121
120
|
| Name | Location | Type | Required | Description |
|
|
122
121
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
123
122
|
|
|
124
|
-
|
|
125
123
|
| `id` | path | string | Yes | Activity feedback v2 ID |
|
|
126
124
|
|
|
127
125
|
##### Responses
|
|
@@ -155,7 +153,6 @@ Content-Type: `application/json`
|
|
|
155
153
|
| Name | Location | Type | Required | Description |
|
|
156
154
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
157
155
|
|
|
158
|
-
|
|
159
156
|
| `id` | path | string | Yes | Activity feedback v2 ID |
|
|
160
157
|
|
|
161
158
|
##### Request Body
|
|
@@ -197,7 +194,6 @@ Content-Type: `application/json`
|
|
|
197
194
|
| Name | Location | Type | Required | Description |
|
|
198
195
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
199
196
|
|
|
200
|
-
|
|
201
197
|
| `id` | path | string | Yes | Activity feedback v2 ID |
|
|
202
198
|
|
|
203
199
|
##### Responses
|
|
@@ -233,7 +229,6 @@ Content-Type: `application/json`
|
|
|
233
229
|
| Name | Location | Type | Required | Description |
|
|
234
230
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
235
231
|
|
|
236
|
-
|
|
237
232
|
| `date_from` | query | string | No | Start date for analytics |
|
|
238
233
|
|
|
239
234
|
| `date_to` | query | string | No | End date for analytics |
|
|
@@ -267,7 +262,6 @@ Content-Type: `application/json`
|
|
|
267
262
|
| Property | Type | Required | Description |
|
|
268
263
|
| -------- | ---- | -------- | ----------- |
|
|
269
264
|
|
|
270
|
-
|
|
271
265
|
| `_id` | string | No | Unique identifier |
|
|
272
266
|
|
|
273
267
|
| `activity_type` | string | Yes | Type of activity this feedback is for |
|
|
@@ -313,7 +307,6 @@ Content-Type: `application/json`
|
|
|
313
307
|
| Property | Type | Required | Description |
|
|
314
308
|
| -------- | ---- | -------- | ----------- |
|
|
315
309
|
|
|
316
|
-
|
|
317
310
|
| `activity_type` | string | Yes | Type of activity this feedback is for |
|
|
318
311
|
|
|
319
312
|
| `activity_id` | string | No | ID of the related activity |
|
|
@@ -343,7 +336,6 @@ Content-Type: `application/json`
|
|
|
343
336
|
| Property | Type | Required | Description |
|
|
344
337
|
| -------- | ---- | -------- | ----------- |
|
|
345
338
|
|
|
346
|
-
|
|
347
339
|
| `overall_satisfaction` | integer | No | Overall satisfaction rating (1-10 scale) |
|
|
348
340
|
|
|
349
341
|
| `responses` | array | No | No description |
|
|
@@ -359,7 +351,6 @@ Content-Type: `application/json`
|
|
|
359
351
|
| Property | Type | Required | Description |
|
|
360
352
|
| -------- | ---- | -------- | ----------- |
|
|
361
353
|
|
|
362
|
-
|
|
363
354
|
| `total` | integer | No | Total number of items |
|
|
364
355
|
|
|
365
356
|
| `page` | integer | No | Current page number |
|
|
@@ -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 |
|
|
@@ -119,7 +118,6 @@ Content-Type: `application/json`
|
|
|
119
118
|
| Name | Location | Type | Required | Description |
|
|
120
119
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
121
120
|
|
|
122
|
-
|
|
123
121
|
| `id` | path | string | Yes | Activity feedback ID |
|
|
124
122
|
|
|
125
123
|
##### Responses
|
|
@@ -153,7 +151,6 @@ Content-Type: `application/json`
|
|
|
153
151
|
| Name | Location | Type | Required | Description |
|
|
154
152
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
155
153
|
|
|
156
|
-
|
|
157
154
|
| `id` | path | string | Yes | Activity feedback ID |
|
|
158
155
|
|
|
159
156
|
##### Request Body
|
|
@@ -195,7 +192,6 @@ Content-Type: `application/json`
|
|
|
195
192
|
| Name | Location | Type | Required | Description |
|
|
196
193
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
197
194
|
|
|
198
|
-
|
|
199
195
|
| `id` | path | string | Yes | Activity feedback ID |
|
|
200
196
|
|
|
201
197
|
##### Responses
|
|
@@ -231,7 +227,6 @@ Content-Type: `application/json`
|
|
|
231
227
|
| Name | Location | Type | Required | Description |
|
|
232
228
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
233
229
|
|
|
234
|
-
|
|
235
230
|
| `date_from` | query | string | No | Start date for analytics |
|
|
236
231
|
|
|
237
232
|
| `date_to` | query | string | No | End date for analytics |
|
|
@@ -263,7 +258,6 @@ Content-Type: `application/json`
|
|
|
263
258
|
| Property | Type | Required | Description |
|
|
264
259
|
| -------- | ---- | -------- | ----------- |
|
|
265
260
|
|
|
266
|
-
|
|
267
261
|
| `_id` | string | No | Unique identifier |
|
|
268
262
|
|
|
269
263
|
| `activity_type` | string | Yes | Type of activity this feedback is for |
|
|
@@ -309,7 +303,6 @@ Content-Type: `application/json`
|
|
|
309
303
|
| Property | Type | Required | Description |
|
|
310
304
|
| -------- | ---- | -------- | ----------- |
|
|
311
305
|
|
|
312
|
-
|
|
313
306
|
| `activity_type` | string | Yes | Type of activity this feedback is for |
|
|
314
307
|
|
|
315
308
|
| `activity_id` | string | No | ID of the related activity |
|
|
@@ -343,7 +336,6 @@ Content-Type: `application/json`
|
|
|
343
336
|
| Property | Type | Required | Description |
|
|
344
337
|
| -------- | ---- | -------- | ----------- |
|
|
345
338
|
|
|
346
|
-
|
|
347
339
|
| `rating` | integer | No | Feedback rating (1-5 scale) |
|
|
348
340
|
|
|
349
341
|
| `feedback_text` | string | No | Detailed feedback text |
|
|
@@ -361,7 +353,6 @@ Content-Type: `application/json`
|
|
|
361
353
|
| Property | Type | Required | Description |
|
|
362
354
|
| -------- | ---- | -------- | ----------- |
|
|
363
355
|
|
|
364
|
-
|
|
365
356
|
| `total` | integer | No | Total number of items |
|
|
366
357
|
|
|
367
358
|
| `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 | Activity storecheck 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 | Activity storecheck 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 | Activity storecheck 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 activity storecheck record |
|
|
206
201
|
|
|
207
202
|
| `client` | string | Yes | Client identifier |
|
|
@@ -229,7 +224,6 @@ Content-Type: `application/json`
|
|
|
229
224
|
| Property | Type | Required | Description |
|
|
230
225
|
| -------- | ---- | -------- | ----------- |
|
|
231
226
|
|
|
232
|
-
|
|
233
227
|
| `client` | string | Yes | Client identifier |
|
|
234
228
|
|
|
235
229
|
| `rep` | string | Yes | Sales representative identifier |
|
|
@@ -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();
|
|
@@ -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 account adjustments |
|
|
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 account adjustments
|
|
|
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 account adjustments |
|
|
@@ -107,7 +104,6 @@ Account adjustment schema
|
|
|
107
104
|
| Property | Type | Required | Description |
|
|
108
105
|
| -------- | ---- | -------- | ----------- |
|
|
109
106
|
|
|
110
|
-
|
|
111
107
|
| `_id` | string | No | Unique identifier for the account adjustment |
|
|
112
108
|
|
|
113
109
|
| `client` | string | No | Client ID whose account is being adjusted |
|
|
@@ -151,7 +147,6 @@ Body for creating an account adjustment
|
|
|
151
147
|
| Property | Type | Required | Description |
|
|
152
148
|
| -------- | ---- | -------- | ----------- |
|
|
153
149
|
|
|
154
|
-
|
|
155
150
|
| `client` | string | Yes | Client ID whose account is being adjusted |
|
|
156
151
|
|
|
157
152
|
| `rep` | string | No | Representative ID who made the adjustment |
|
|
@@ -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();
|
|
@@ -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 inventory adjustments |
|
|
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
|
|
@@ -85,7 +83,6 @@ Content-Type: `application/json`
|
|
|
85
83
|
| Property | Type | Required | Description |
|
|
86
84
|
| -------- | ---- | -------- | ----------- |
|
|
87
85
|
|
|
88
|
-
|
|
89
86
|
| `data` | array | No | No description |
|
|
90
87
|
|
|
91
88
|
| `meta` | object | No | No description |
|
|
@@ -95,7 +92,6 @@ Content-Type: `application/json`
|
|
|
95
92
|
| Property | Type | Required | Description |
|
|
96
93
|
| -------- | ---- | -------- | ----------- |
|
|
97
94
|
|
|
98
|
-
|
|
99
95
|
| `warehouse` | string | No | No description |
|
|
100
96
|
|
|
101
97
|
| `rep` | string | No | No description |
|
|
@@ -109,7 +105,6 @@ Content-Type: `application/json`
|
|
|
109
105
|
| Property | Type | Required | Description |
|
|
110
106
|
| -------- | ---- | -------- | ----------- |
|
|
111
107
|
|
|
112
|
-
|
|
113
108
|
| `data` | object | No | No description |
|
|
114
109
|
|
|
115
110
|
### InventoryAdjustmentGetResult
|
|
@@ -117,7 +112,6 @@ Content-Type: `application/json`
|
|
|
117
112
|
| Property | Type | Required | Description |
|
|
118
113
|
| -------- | ---- | -------- | ----------- |
|
|
119
114
|
|
|
120
|
-
|
|
121
115
|
| `data` | object | No | No description |
|
|
122
116
|
|
|
123
117
|
### InventoryAdjustment
|
|
@@ -125,7 +119,6 @@ Content-Type: `application/json`
|
|
|
125
119
|
| Property | Type | Required | Description |
|
|
126
120
|
| -------- | ---- | -------- | ----------- |
|
|
127
121
|
|
|
128
|
-
|
|
129
122
|
| `_id` | string | No | No description |
|
|
130
123
|
|
|
131
124
|
| `warehouse` | 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();
|
|
@@ -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 approval requests |
|
|
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
|
|
@@ -131,7 +127,6 @@ Content-Type: `application/json`
|
|
|
131
127
|
| Property | Type | Required | Description |
|
|
132
128
|
| -------- | ---- | -------- | ----------- |
|
|
133
129
|
|
|
134
|
-
|
|
135
130
|
| `data` | array | No | No description |
|
|
136
131
|
|
|
137
132
|
| `meta` | object | No | No description |
|
|
@@ -141,7 +136,6 @@ Content-Type: `application/json`
|
|
|
141
136
|
| Property | Type | Required | Description |
|
|
142
137
|
| -------- | ---- | -------- | ----------- |
|
|
143
138
|
|
|
144
|
-
|
|
145
139
|
| `title` | string | No | No description |
|
|
146
140
|
|
|
147
141
|
| `description` | string | No | No description |
|
|
@@ -165,7 +159,6 @@ Content-Type: `application/json`
|
|
|
165
159
|
| Property | Type | Required | Description |
|
|
166
160
|
| -------- | ---- | -------- | ----------- |
|
|
167
161
|
|
|
168
|
-
|
|
169
162
|
| `data` | object | No | No description |
|
|
170
163
|
|
|
171
164
|
### ApprovalRequestGetResult
|
|
@@ -173,7 +166,6 @@ Content-Type: `application/json`
|
|
|
173
166
|
| Property | Type | Required | Description |
|
|
174
167
|
| -------- | ---- | -------- | ----------- |
|
|
175
168
|
|
|
176
|
-
|
|
177
169
|
| `data` | object | No | No description |
|
|
178
170
|
|
|
179
171
|
### ApprovalRequestUpdateBody
|
|
@@ -181,7 +173,6 @@ Content-Type: `application/json`
|
|
|
181
173
|
| Property | Type | Required | Description |
|
|
182
174
|
| -------- | ---- | -------- | ----------- |
|
|
183
175
|
|
|
184
|
-
|
|
185
176
|
| `title` | string | No | No description |
|
|
186
177
|
|
|
187
178
|
| `description` | string | No | No description |
|
|
@@ -201,7 +192,6 @@ Content-Type: `application/json`
|
|
|
201
192
|
| Property | Type | Required | Description |
|
|
202
193
|
| -------- | ---- | -------- | ----------- |
|
|
203
194
|
|
|
204
|
-
|
|
205
195
|
| `data` | object | No | No description |
|
|
206
196
|
|
|
207
197
|
### ApprovalRequestRemoveResult
|
|
@@ -209,7 +199,6 @@ Content-Type: `application/json`
|
|
|
209
199
|
| Property | Type | Required | Description |
|
|
210
200
|
| -------- | ---- | -------- | ----------- |
|
|
211
201
|
|
|
212
|
-
|
|
213
202
|
| `success` | boolean | No | No description |
|
|
214
203
|
|
|
215
204
|
### ApprovalRequest
|
|
@@ -217,7 +206,6 @@ Content-Type: `application/json`
|
|
|
217
206
|
| Property | Type | Required | Description |
|
|
218
207
|
| -------- | ---- | -------- | ----------- |
|
|
219
208
|
|
|
220
|
-
|
|
221
209
|
| `_id` | string | No | No description |
|
|
222
210
|
|
|
223
211
|
| `title` | 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();
|
|
@@ -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();
|