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/visit.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 visits |
|
|
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
|
|
@@ -111,7 +108,6 @@ Content-Type: `application/json`
|
|
|
111
108
|
| Property | Type | Required | Description |
|
|
112
109
|
| -------- | ---- | -------- | ----------- |
|
|
113
110
|
|
|
114
|
-
|
|
115
111
|
| `data` | array | No | No description |
|
|
116
112
|
|
|
117
113
|
| `meta` | object | No | No description |
|
|
@@ -121,7 +117,6 @@ Content-Type: `application/json`
|
|
|
121
117
|
| Property | Type | Required | Description |
|
|
122
118
|
| -------- | ---- | -------- | ----------- |
|
|
123
119
|
|
|
124
|
-
|
|
125
120
|
| `client` | string | No | No description |
|
|
126
121
|
|
|
127
122
|
| `rep` | string | No | No description |
|
|
@@ -141,7 +136,6 @@ Content-Type: `application/json`
|
|
|
141
136
|
| Property | Type | Required | Description |
|
|
142
137
|
| -------- | ---- | -------- | ----------- |
|
|
143
138
|
|
|
144
|
-
|
|
145
139
|
| `data` | object | No | No description |
|
|
146
140
|
|
|
147
141
|
### VisitGetResult
|
|
@@ -149,7 +143,6 @@ Content-Type: `application/json`
|
|
|
149
143
|
| Property | Type | Required | Description |
|
|
150
144
|
| -------- | ---- | -------- | ----------- |
|
|
151
145
|
|
|
152
|
-
|
|
153
146
|
| `data` | object | No | No description |
|
|
154
147
|
|
|
155
148
|
### VisitUpdateBody
|
|
@@ -157,7 +150,6 @@ Content-Type: `application/json`
|
|
|
157
150
|
| Property | Type | Required | Description |
|
|
158
151
|
| -------- | ---- | -------- | ----------- |
|
|
159
152
|
|
|
160
|
-
|
|
161
153
|
| `client` | string | No | No description |
|
|
162
154
|
|
|
163
155
|
| `rep` | string | No | No description |
|
|
@@ -177,7 +169,6 @@ Content-Type: `application/json`
|
|
|
177
169
|
| Property | Type | Required | Description |
|
|
178
170
|
| -------- | ---- | -------- | ----------- |
|
|
179
171
|
|
|
180
|
-
|
|
181
172
|
| `data` | object | No | No description |
|
|
182
173
|
|
|
183
174
|
### Visit
|
|
@@ -185,7 +176,6 @@ Content-Type: `application/json`
|
|
|
185
176
|
| Property | Type | Required | Description |
|
|
186
177
|
| -------- | ---- | -------- | ----------- |
|
|
187
178
|
|
|
188
|
-
|
|
189
179
|
| `_id` | string | No | No description |
|
|
190
180
|
|
|
191
181
|
| `client` | 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();
|
package/docs/api/warehouse.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 warehouses |
|
|
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 warehouses
|
|
|
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 warehouses |
|
|
@@ -163,7 +158,6 @@ Warehouse schema
|
|
|
163
158
|
| Property | Type | Required | Description |
|
|
164
159
|
| -------- | ---- | -------- | ----------- |
|
|
165
160
|
|
|
166
|
-
|
|
167
161
|
| `_id` | string | No | Unique identifier for the warehouse |
|
|
168
162
|
|
|
169
163
|
| `name` | string | No | Name of the warehouse |
|
|
@@ -189,7 +183,6 @@ Body for creating a warehouse
|
|
|
189
183
|
| Property | Type | Required | Description |
|
|
190
184
|
| -------- | ---- | -------- | ----------- |
|
|
191
185
|
|
|
192
|
-
|
|
193
186
|
| `name` | string | Yes | Name of the warehouse |
|
|
194
187
|
|
|
195
188
|
| `location` | object | No | Geographic location of the warehouse |
|
|
@@ -215,7 +208,6 @@ Body for updating a warehouse
|
|
|
215
208
|
| Property | Type | Required | Description |
|
|
216
209
|
| -------- | ---- | -------- | ----------- |
|
|
217
210
|
|
|
218
|
-
|
|
219
211
|
| `name` | string | No | Name of the warehouse |
|
|
220
212
|
|
|
221
213
|
| `location` | object | No | Geographic location of the warehouse |
|
|
@@ -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();
|
|
@@ -345,7 +345,7 @@ const result = await fetch(
|
|
|
345
345
|
Authorization: `Bearer ${apiKey}`,
|
|
346
346
|
"Content-Type": "application/json",
|
|
347
347
|
},
|
|
348
|
-
}
|
|
348
|
+
},
|
|
349
349
|
);
|
|
350
350
|
|
|
351
351
|
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 | Workorder category 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 | Workorder category 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 | Workorder category ID |
|
|
196
192
|
|
|
197
193
|
##### Responses
|
|
@@ -277,7 +273,6 @@ Content-Type: `application/json`
|
|
|
277
273
|
| Property | Type | Required | Description |
|
|
278
274
|
| -------- | ---- | -------- | ----------- |
|
|
279
275
|
|
|
280
|
-
|
|
281
276
|
| `_id` | string | No | Unique identifier |
|
|
282
277
|
|
|
283
278
|
| `name` | string | Yes | Category name |
|
|
@@ -327,7 +322,6 @@ Content-Type: `application/json`
|
|
|
327
322
|
| Property | Type | Required | Description |
|
|
328
323
|
| -------- | ---- | -------- | ----------- |
|
|
329
324
|
|
|
330
|
-
|
|
331
325
|
| `_id` | string | No | Category ID |
|
|
332
326
|
|
|
333
327
|
| `name` | string | No | Category name |
|
|
@@ -349,7 +343,6 @@ Content-Type: `application/json`
|
|
|
349
343
|
| Property | Type | Required | Description |
|
|
350
344
|
| -------- | ---- | -------- | ----------- |
|
|
351
345
|
|
|
352
|
-
|
|
353
346
|
| `name` | string | Yes | Category name |
|
|
354
347
|
|
|
355
348
|
| `description` | string | No | Category description |
|
|
@@ -389,7 +382,6 @@ Content-Type: `application/json`
|
|
|
389
382
|
| Property | Type | Required | Description |
|
|
390
383
|
| -------- | ---- | -------- | ----------- |
|
|
391
384
|
|
|
392
|
-
|
|
393
385
|
| `name` | string | No | Category name |
|
|
394
386
|
|
|
395
387
|
| `description` | string | No | Category description |
|
|
@@ -429,7 +421,6 @@ Content-Type: `application/json`
|
|
|
429
421
|
| Property | Type | Required | Description |
|
|
430
422
|
| -------- | ---- | -------- | ----------- |
|
|
431
423
|
|
|
432
|
-
|
|
433
424
|
| `total` | integer | No | Total number of items |
|
|
434
425
|
|
|
435
426
|
| `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();
|
|
@@ -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();
|
|
@@ -53,7 +53,7 @@ const result = await fetch(
|
|
|
53
53
|
Authorization: `Bearer ${apiKey}`,
|
|
54
54
|
"Content-Type": "application/json",
|
|
55
55
|
},
|
|
56
|
-
}
|
|
56
|
+
},
|
|
57
57
|
);
|
|
58
58
|
|
|
59
59
|
const data = await result.json();
|
|
@@ -119,7 +119,7 @@ const result = await fetch(
|
|
|
119
119
|
Authorization: `Bearer ${apiKey}`,
|
|
120
120
|
"Content-Type": "application/json",
|
|
121
121
|
},
|
|
122
|
-
}
|
|
122
|
+
},
|
|
123
123
|
);
|
|
124
124
|
|
|
125
125
|
const data = await result.json();
|
|
@@ -317,7 +317,7 @@ const result = await fetch(
|
|
|
317
317
|
Authorization: `Bearer ${apiKey}`,
|
|
318
318
|
"Content-Type": "application/json",
|
|
319
319
|
},
|
|
320
|
-
}
|
|
320
|
+
},
|
|
321
321
|
);
|
|
322
322
|
|
|
323
323
|
const data = await result.json();
|
|
@@ -53,7 +53,7 @@ const result = await fetch(
|
|
|
53
53
|
Authorization: `Bearer ${apiKey}`,
|
|
54
54
|
"Content-Type": "application/json",
|
|
55
55
|
},
|
|
56
|
-
}
|
|
56
|
+
},
|
|
57
57
|
);
|
|
58
58
|
|
|
59
59
|
const data = await result.json();
|
|
@@ -119,7 +119,7 @@ const result = await fetch(
|
|
|
119
119
|
Authorization: `Bearer ${apiKey}`,
|
|
120
120
|
"Content-Type": "application/json",
|
|
121
121
|
},
|
|
122
|
-
}
|
|
122
|
+
},
|
|
123
123
|
);
|
|
124
124
|
|
|
125
125
|
const data = await result.json();
|
|
@@ -340,7 +340,7 @@ const result = await fetch(
|
|
|
340
340
|
Authorization: `Bearer ${apiKey}`,
|
|
341
341
|
"Content-Type": "application/json",
|
|
342
342
|
},
|
|
343
|
-
}
|
|
343
|
+
},
|
|
344
344
|
);
|
|
345
345
|
|
|
346
346
|
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 |
|
|
@@ -117,7 +116,6 @@ Content-Type: `application/json`
|
|
|
117
116
|
| Name | Location | Type | Required | Description |
|
|
118
117
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
119
118
|
|
|
120
|
-
|
|
121
119
|
| `id` | path | string | Yes | Workorder portal link ID |
|
|
122
120
|
|
|
123
121
|
##### Responses
|
|
@@ -151,7 +149,6 @@ Content-Type: `application/json`
|
|
|
151
149
|
| Name | Location | Type | Required | Description |
|
|
152
150
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
153
151
|
|
|
154
|
-
|
|
155
152
|
| `id` | path | string | Yes | Workorder portal link ID |
|
|
156
153
|
|
|
157
154
|
##### Request Body
|
|
@@ -193,7 +190,6 @@ Content-Type: `application/json`
|
|
|
193
190
|
| Name | Location | Type | Required | Description |
|
|
194
191
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
195
192
|
|
|
196
|
-
|
|
197
193
|
| `id` | path | string | Yes | Workorder portal link ID |
|
|
198
194
|
|
|
199
195
|
##### Responses
|
|
@@ -229,7 +225,6 @@ Content-Type: `application/json`
|
|
|
229
225
|
| Name | Location | Type | Required | Description |
|
|
230
226
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
231
227
|
|
|
232
|
-
|
|
233
228
|
| `id` | path | string | Yes | Workorder portal link ID |
|
|
234
229
|
|
|
235
230
|
##### Responses
|
|
@@ -265,7 +260,6 @@ Content-Type: `application/json`
|
|
|
265
260
|
| Name | Location | Type | Required | Description |
|
|
266
261
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
267
262
|
|
|
268
|
-
|
|
269
263
|
| `id` | path | string | Yes | Workorder portal link ID |
|
|
270
264
|
|
|
271
265
|
##### Responses
|
|
@@ -301,7 +295,6 @@ Content-Type: `application/json`
|
|
|
301
295
|
| Name | Location | Type | Required | Description |
|
|
302
296
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
303
297
|
|
|
304
|
-
|
|
305
298
|
| `id` | path | string | Yes | Workorder portal link ID |
|
|
306
299
|
|
|
307
300
|
##### Responses
|
|
@@ -329,7 +322,6 @@ Content-Type: `application/json`
|
|
|
329
322
|
| Property | Type | Required | Description |
|
|
330
323
|
| -------- | ---- | -------- | ----------- |
|
|
331
324
|
|
|
332
|
-
|
|
333
325
|
| `_id` | string | No | Unique identifier |
|
|
334
326
|
|
|
335
327
|
| `workorder` | string | Yes | Workorder ID reference |
|
|
@@ -371,7 +363,6 @@ Content-Type: `application/json`
|
|
|
371
363
|
| Property | Type | Required | Description |
|
|
372
364
|
| -------- | ---- | -------- | ----------- |
|
|
373
365
|
|
|
374
|
-
|
|
375
366
|
| `workorder` | string | Yes | Workorder ID reference |
|
|
376
367
|
|
|
377
368
|
| `link_type` | string | No | Type of portal link |
|
|
@@ -397,7 +388,6 @@ Content-Type: `application/json`
|
|
|
397
388
|
| Property | Type | Required | Description |
|
|
398
389
|
| -------- | ---- | -------- | ----------- |
|
|
399
390
|
|
|
400
|
-
|
|
401
391
|
| `link_type` | string | No | Type of portal link |
|
|
402
392
|
|
|
403
393
|
| `permissions` | object | No | No description |
|
|
@@ -421,7 +411,6 @@ Content-Type: `application/json`
|
|
|
421
411
|
| Property | Type | Required | Description |
|
|
422
412
|
| -------- | ---- | -------- | ----------- |
|
|
423
413
|
|
|
424
|
-
|
|
425
414
|
| `total` | integer | No | Total number of items |
|
|
426
415
|
|
|
427
416
|
| `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 |
|
|
@@ -117,7 +116,6 @@ Content-Type: `application/json`
|
|
|
117
116
|
| Name | Location | Type | Required | Description |
|
|
118
117
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
119
118
|
|
|
120
|
-
|
|
121
119
|
| `id` | path | string | Yes | Workorder portal entry ID |
|
|
122
120
|
|
|
123
121
|
##### Responses
|
|
@@ -151,7 +149,6 @@ Content-Type: `application/json`
|
|
|
151
149
|
| Name | Location | Type | Required | Description |
|
|
152
150
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
153
151
|
|
|
154
|
-
|
|
155
152
|
| `id` | path | string | Yes | Workorder portal entry ID |
|
|
156
153
|
|
|
157
154
|
##### Request Body
|
|
@@ -193,7 +190,6 @@ Content-Type: `application/json`
|
|
|
193
190
|
| Name | Location | Type | Required | Description |
|
|
194
191
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
195
192
|
|
|
196
|
-
|
|
197
193
|
| `id` | path | string | Yes | Workorder portal entry ID |
|
|
198
194
|
|
|
199
195
|
##### Responses
|
|
@@ -229,7 +225,6 @@ Content-Type: `application/json`
|
|
|
229
225
|
| Name | Location | Type | Required | Description |
|
|
230
226
|
| ---- | -------- | ---- | -------- | ----------- |
|
|
231
227
|
|
|
232
|
-
|
|
233
228
|
| `id` | path | string | Yes | Workorder portal entry ID |
|
|
234
229
|
|
|
235
230
|
##### Request Body
|
|
@@ -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
|
| `workorder` | string | Yes | Workorder ID reference |
|
|
@@ -307,7 +301,6 @@ Content-Type: `application/json`
|
|
|
307
301
|
| Property | Type | Required | Description |
|
|
308
302
|
| -------- | ---- | -------- | ----------- |
|
|
309
303
|
|
|
310
|
-
|
|
311
304
|
| `workorder` | string | Yes | Workorder ID reference |
|
|
312
305
|
|
|
313
306
|
| `client` | string | Yes | Client ID reference |
|
|
@@ -333,7 +326,6 @@ Content-Type: `application/json`
|
|
|
333
326
|
| Property | Type | Required | Description |
|
|
334
327
|
| -------- | ---- | -------- | ----------- |
|
|
335
328
|
|
|
336
|
-
|
|
337
329
|
| `status` | string | No | Current status |
|
|
338
330
|
|
|
339
331
|
| `access_level` | string | No | Level of access granted |
|
|
@@ -357,7 +349,6 @@ Content-Type: `application/json`
|
|
|
357
349
|
| Property | Type | Required | Description |
|
|
358
350
|
| -------- | ---- | -------- | ----------- |
|
|
359
351
|
|
|
360
|
-
|
|
361
352
|
| `total` | integer | No | Total number of items |
|
|
362
353
|
|
|
363
354
|
| `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();
|
|
@@ -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 workorder 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 |
|
|
@@ -161,7 +155,6 @@ Content-Type: `application/json`
|
|
|
161
155
|
| Property | Type | Required | Description |
|
|
162
156
|
| -------- | ---- | -------- | ----------- |
|
|
163
157
|
|
|
164
|
-
|
|
165
158
|
| `data` | object | No | No description |
|
|
166
159
|
|
|
167
160
|
### WorkorderRequestGetResult
|
|
@@ -169,7 +162,6 @@ Content-Type: `application/json`
|
|
|
169
162
|
| Property | Type | Required | Description |
|
|
170
163
|
| -------- | ---- | -------- | ----------- |
|
|
171
164
|
|
|
172
|
-
|
|
173
165
|
| `data` | object | No | No description |
|
|
174
166
|
|
|
175
167
|
### WorkorderRequestUpdateBody
|
|
@@ -177,7 +169,6 @@ Content-Type: `application/json`
|
|
|
177
169
|
| Property | Type | Required | Description |
|
|
178
170
|
| -------- | ---- | -------- | ----------- |
|
|
179
171
|
|
|
180
|
-
|
|
181
172
|
| `title` | string | No | No description |
|
|
182
173
|
|
|
183
174
|
| `description` | string | No | No description |
|
|
@@ -199,7 +190,6 @@ Content-Type: `application/json`
|
|
|
199
190
|
| Property | Type | Required | Description |
|
|
200
191
|
| -------- | ---- | -------- | ----------- |
|
|
201
192
|
|
|
202
|
-
|
|
203
193
|
| `data` | object | No | No description |
|
|
204
194
|
|
|
205
195
|
### WorkorderRequestRemoveResult
|
|
@@ -207,7 +197,6 @@ Content-Type: `application/json`
|
|
|
207
197
|
| Property | Type | Required | Description |
|
|
208
198
|
| -------- | ---- | -------- | ----------- |
|
|
209
199
|
|
|
210
|
-
|
|
211
200
|
| `success` | boolean | No | No description |
|
|
212
201
|
|
|
213
202
|
### WorkorderRequest
|
|
@@ -215,7 +204,6 @@ Content-Type: `application/json`
|
|
|
215
204
|
| Property | Type | Required | Description |
|
|
216
205
|
| -------- | ---- | -------- | ----------- |
|
|
217
206
|
|
|
218
|
-
|
|
219
207
|
| `_id` | string | No | No description |
|
|
220
208
|
|
|
221
209
|
| `title` | string | No | No description |
|