repzo 1.0.155 → 1.0.157
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/lib/index.d.ts +1 -2
- package/lib/index.js +1 -1
- package/lib/types/index.d.ts +2 -2
- package/package.json +2 -2
- package/src/index.ts +4890 -0
- package/src/oas/activity-ai-sales-order.yaml +623 -0
- package/src/oas/activity-feedback-v2.yaml +753 -0
- package/src/oas/activity-feedback.yaml +645 -0
- package/src/oas/activity-storecheck.yaml +379 -0
- package/src/oas/adjust-account.yaml +241 -0
- package/src/oas/adjust-inventory.yaml +133 -0
- package/src/oas/approval-request.yaml +211 -0
- package/src/oas/approvals.yaml +176 -0
- package/src/oas/asset-part-receival.yaml +591 -0
- package/src/oas/asset-part-transfer.yaml +618 -0
- package/src/oas/asset-part-type.yaml +383 -0
- package/src/oas/asset-part-unit.yaml +722 -0
- package/src/oas/asset-part.yaml +485 -0
- package/src/oas/asset-type.yaml +180 -0
- package/src/oas/asset-unit.yaml +705 -0
- package/src/oas/asset.yaml +204 -0
- package/src/oas/banks.yaml +168 -0
- package/src/oas/bankslists.yaml +168 -0
- package/src/oas/brand.yaml +246 -0
- package/src/oas/category.yaml +285 -0
- package/src/oas/checks.yaml +247 -0
- package/src/oas/client-channel.yaml +480 -0
- package/src/oas/client-contact.yaml +665 -0
- package/src/oas/client-location.yaml +687 -0
- package/src/oas/client.yaml +669 -0
- package/src/oas/contract-installment.yaml +740 -0
- package/src/oas/contract.yaml +210 -0
- package/src/oas/custom-list-item.yaml +168 -0
- package/src/oas/custom-list.yaml +168 -0
- package/src/oas/custom-status.yaml +168 -0
- package/src/oas/day.yaml +246 -0
- package/src/oas/feedback-options.yaml +802 -0
- package/src/oas/fullinvoices.yaml +584 -0
- package/src/oas/integration-action-log.yaml +361 -0
- package/src/oas/integration-app.yaml +303 -0
- package/src/oas/integration-command-log.yaml +381 -0
- package/src/oas/inventory-adjustment-reason.yaml +165 -0
- package/src/oas/inventory.yaml +64 -0
- package/src/oas/mail-unsubscribe.yaml +463 -0
- package/src/oas/measureunit-family.yaml +354 -0
- package/src/oas/measureunit.yaml +366 -0
- package/src/oas/media-storage.yaml +329 -0
- package/src/oas/media.yaml +472 -0
- package/src/oas/msl-products.yaml +180 -0
- package/src/oas/msl.yaml +186 -0
- package/src/oas/ocr-invoice-job-group.yaml +528 -0
- package/src/oas/ocr-invoice-job-page.yaml +602 -0
- package/src/oas/ocr-invoice-job-template.yaml +628 -0
- package/src/oas/ocr-invoice-job.yaml +603 -0
- package/src/oas/patch-action.yaml +421 -0
- package/src/oas/payment-terms.yaml +235 -0
- package/src/oas/payments.yaml +536 -0
- package/src/oas/pricelist-item.yaml +369 -0
- package/src/oas/pricelist.yaml +287 -0
- package/src/oas/product-group.yaml +278 -0
- package/src/oas/product-modifiers-group.yaml +524 -0
- package/src/oas/product.yaml +578 -0
- package/src/oas/proforma.yaml +180 -0
- package/src/oas/quick-convert-to-pdf.yaml +95 -0
- package/src/oas/receiving-material.yaml +336 -0
- package/src/oas/refund.yaml +281 -0
- package/src/oas/rep-balance-summary.yaml +135 -0
- package/src/oas/rep.yaml +1824 -0
- package/src/oas/return-asset-part-unit.yaml +573 -0
- package/src/oas/return-reason.yaml +286 -0
- package/src/oas/route.yaml +337 -0
- package/src/oas/safe-invoice-serial-counter.yaml +525 -0
- package/src/oas/settings.yaml +123 -0
- package/src/oas/settlement.yaml +505 -0
- package/src/oas/speciality.yaml +447 -0
- package/src/oas/store-asset-part-unit.yaml +658 -0
- package/src/oas/storecheck-template.yaml +415 -0
- package/src/oas/subcategory.yaml +355 -0
- package/src/oas/supplier.yaml +183 -0
- package/src/oas/svix-integration.yaml +335 -0
- package/src/oas/tag.yaml +272 -0
- package/src/oas/tax.yaml +303 -0
- package/src/oas/team.yaml +268 -0
- package/src/oas/transfer.yaml +347 -0
- package/src/oas/update-integration-meta.yaml +387 -0
- package/src/oas/variant.yaml +569 -0
- package/src/oas/visit.yaml +174 -0
- package/src/oas/warehouse.yaml +311 -0
- package/src/oas/workorder-category.yaml +751 -0
- package/src/oas/workorder-portal-link.yaml +811 -0
- package/src/oas/workorder-portal.yaml +650 -0
- package/src/oas/workorder-request.yaml +193 -0
- package/src/oas/workorder.yaml +204 -0
- package/src/types/index.ts +2 -1
|
@@ -0,0 +1,524 @@
|
|
|
1
|
+
openapi: 3.0.0
|
|
2
|
+
info:
|
|
3
|
+
title: Product Modifiers Group API
|
|
4
|
+
description: API for managing product modifier groups
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
servers:
|
|
7
|
+
- url: https://api.repzo.me/v1
|
|
8
|
+
description: Production server
|
|
9
|
+
security:
|
|
10
|
+
- ApiKeyAuth: []
|
|
11
|
+
tags:
|
|
12
|
+
- name: Product Modifiers Group
|
|
13
|
+
description: Product modifier group management operations
|
|
14
|
+
paths:
|
|
15
|
+
/product-modifiers-group:
|
|
16
|
+
get:
|
|
17
|
+
tags:
|
|
18
|
+
- Product Modifiers Group
|
|
19
|
+
summary: Get all product modifier groups
|
|
20
|
+
description: Retrieve a list of all product modifier groups with optional filtering and pagination
|
|
21
|
+
parameters:
|
|
22
|
+
- name: page
|
|
23
|
+
in: query
|
|
24
|
+
description: Page number for pagination
|
|
25
|
+
required: false
|
|
26
|
+
schema:
|
|
27
|
+
type: integer
|
|
28
|
+
minimum: 1
|
|
29
|
+
default: 1
|
|
30
|
+
- name: per_page
|
|
31
|
+
in: query
|
|
32
|
+
description: Number of items per page
|
|
33
|
+
required: false
|
|
34
|
+
schema:
|
|
35
|
+
type: integer
|
|
36
|
+
minimum: 1
|
|
37
|
+
maximum: 100
|
|
38
|
+
default: 25
|
|
39
|
+
- name: sort
|
|
40
|
+
in: query
|
|
41
|
+
description: Sort field
|
|
42
|
+
required: false
|
|
43
|
+
schema:
|
|
44
|
+
type: string
|
|
45
|
+
- name: company_namespace
|
|
46
|
+
in: query
|
|
47
|
+
description: Company namespace for filtering
|
|
48
|
+
required: false
|
|
49
|
+
schema:
|
|
50
|
+
type: array
|
|
51
|
+
items:
|
|
52
|
+
type: string
|
|
53
|
+
- name: disabled
|
|
54
|
+
in: query
|
|
55
|
+
description: Filter by disabled status
|
|
56
|
+
required: false
|
|
57
|
+
schema:
|
|
58
|
+
type: boolean
|
|
59
|
+
- name: _id
|
|
60
|
+
in: query
|
|
61
|
+
description: Filter by ID
|
|
62
|
+
required: false
|
|
63
|
+
schema:
|
|
64
|
+
type: array
|
|
65
|
+
items:
|
|
66
|
+
type: string
|
|
67
|
+
responses:
|
|
68
|
+
"200":
|
|
69
|
+
description: Successful response
|
|
70
|
+
content:
|
|
71
|
+
application/json:
|
|
72
|
+
schema:
|
|
73
|
+
type: object
|
|
74
|
+
properties:
|
|
75
|
+
success:
|
|
76
|
+
type: boolean
|
|
77
|
+
example: true
|
|
78
|
+
data:
|
|
79
|
+
type: array
|
|
80
|
+
items:
|
|
81
|
+
$ref: "#/components/schemas/ProductModifiersGroup"
|
|
82
|
+
paging:
|
|
83
|
+
$ref: "#/components/schemas/PagingInfo"
|
|
84
|
+
"400":
|
|
85
|
+
$ref: "#/components/responses/BadRequest"
|
|
86
|
+
"401":
|
|
87
|
+
$ref: "#/components/responses/Unauthorized"
|
|
88
|
+
"403":
|
|
89
|
+
$ref: "#/components/responses/Forbidden"
|
|
90
|
+
"500":
|
|
91
|
+
$ref: "#/components/responses/InternalServerError"
|
|
92
|
+
post:
|
|
93
|
+
tags:
|
|
94
|
+
- Product Modifiers Group
|
|
95
|
+
summary: Create a new product modifier group
|
|
96
|
+
description: Create a new product modifier group entry
|
|
97
|
+
requestBody:
|
|
98
|
+
required: true
|
|
99
|
+
content:
|
|
100
|
+
application/json:
|
|
101
|
+
schema:
|
|
102
|
+
$ref: "#/components/schemas/CreateProductModifiersGroupRequest"
|
|
103
|
+
responses:
|
|
104
|
+
"201":
|
|
105
|
+
description: Product modifier group created successfully
|
|
106
|
+
content:
|
|
107
|
+
application/json:
|
|
108
|
+
schema:
|
|
109
|
+
type: object
|
|
110
|
+
properties:
|
|
111
|
+
success:
|
|
112
|
+
type: boolean
|
|
113
|
+
example: true
|
|
114
|
+
data:
|
|
115
|
+
$ref: "#/components/schemas/ProductModifiersGroup"
|
|
116
|
+
"400":
|
|
117
|
+
$ref: "#/components/responses/BadRequest"
|
|
118
|
+
"401":
|
|
119
|
+
$ref: "#/components/responses/Unauthorized"
|
|
120
|
+
"403":
|
|
121
|
+
$ref: "#/components/responses/Forbidden"
|
|
122
|
+
"422":
|
|
123
|
+
$ref: "#/components/responses/ValidationError"
|
|
124
|
+
"500":
|
|
125
|
+
$ref: "#/components/responses/InternalServerError"
|
|
126
|
+
/product-modifiers-group/{id}:
|
|
127
|
+
get:
|
|
128
|
+
tags:
|
|
129
|
+
- Product Modifiers Group
|
|
130
|
+
summary: Get product modifier group by ID
|
|
131
|
+
description: Retrieve a specific product modifier group by its ID
|
|
132
|
+
parameters:
|
|
133
|
+
- name: id
|
|
134
|
+
in: path
|
|
135
|
+
required: true
|
|
136
|
+
description: Product modifier group ID
|
|
137
|
+
schema:
|
|
138
|
+
type: string
|
|
139
|
+
responses:
|
|
140
|
+
"200":
|
|
141
|
+
description: Successful response
|
|
142
|
+
content:
|
|
143
|
+
application/json:
|
|
144
|
+
schema:
|
|
145
|
+
type: object
|
|
146
|
+
properties:
|
|
147
|
+
success:
|
|
148
|
+
type: boolean
|
|
149
|
+
example: true
|
|
150
|
+
data:
|
|
151
|
+
$ref: "#/components/schemas/ProductModifiersGroup"
|
|
152
|
+
"400":
|
|
153
|
+
$ref: "#/components/responses/BadRequest"
|
|
154
|
+
"401":
|
|
155
|
+
$ref: "#/components/responses/Unauthorized"
|
|
156
|
+
"403":
|
|
157
|
+
$ref: "#/components/responses/Forbidden"
|
|
158
|
+
"404":
|
|
159
|
+
$ref: "#/components/responses/NotFound"
|
|
160
|
+
"500":
|
|
161
|
+
$ref: "#/components/responses/InternalServerError"
|
|
162
|
+
patch:
|
|
163
|
+
tags:
|
|
164
|
+
- Product Modifiers Group
|
|
165
|
+
summary: Update product modifier group
|
|
166
|
+
description: Update an existing product modifier group
|
|
167
|
+
parameters:
|
|
168
|
+
- name: id
|
|
169
|
+
in: path
|
|
170
|
+
required: true
|
|
171
|
+
description: Product modifier group ID
|
|
172
|
+
schema:
|
|
173
|
+
type: string
|
|
174
|
+
requestBody:
|
|
175
|
+
required: true
|
|
176
|
+
content:
|
|
177
|
+
application/json:
|
|
178
|
+
schema:
|
|
179
|
+
$ref: "#/components/schemas/UpdateProductModifiersGroupRequest"
|
|
180
|
+
responses:
|
|
181
|
+
"200":
|
|
182
|
+
description: Product modifier group updated successfully
|
|
183
|
+
content:
|
|
184
|
+
application/json:
|
|
185
|
+
schema:
|
|
186
|
+
type: object
|
|
187
|
+
properties:
|
|
188
|
+
success:
|
|
189
|
+
type: boolean
|
|
190
|
+
example: true
|
|
191
|
+
data:
|
|
192
|
+
$ref: "#/components/schemas/ProductModifiersGroup"
|
|
193
|
+
"400":
|
|
194
|
+
$ref: "#/components/responses/BadRequest"
|
|
195
|
+
"401":
|
|
196
|
+
$ref: "#/components/responses/Unauthorized"
|
|
197
|
+
"403":
|
|
198
|
+
$ref: "#/components/responses/Forbidden"
|
|
199
|
+
"404":
|
|
200
|
+
$ref: "#/components/responses/NotFound"
|
|
201
|
+
"422":
|
|
202
|
+
$ref: "#/components/responses/ValidationError"
|
|
203
|
+
"500":
|
|
204
|
+
$ref: "#/components/responses/InternalServerError"
|
|
205
|
+
delete:
|
|
206
|
+
tags:
|
|
207
|
+
- Product Modifiers Group
|
|
208
|
+
summary: Delete product modifier group
|
|
209
|
+
description: Delete a product modifier group by ID
|
|
210
|
+
parameters:
|
|
211
|
+
- name: id
|
|
212
|
+
in: path
|
|
213
|
+
required: true
|
|
214
|
+
description: Product modifier group ID
|
|
215
|
+
schema:
|
|
216
|
+
type: string
|
|
217
|
+
responses:
|
|
218
|
+
"200":
|
|
219
|
+
description: Product modifier group deleted successfully
|
|
220
|
+
content:
|
|
221
|
+
application/json:
|
|
222
|
+
schema:
|
|
223
|
+
type: object
|
|
224
|
+
properties:
|
|
225
|
+
success:
|
|
226
|
+
type: boolean
|
|
227
|
+
example: true
|
|
228
|
+
"400":
|
|
229
|
+
$ref: "#/components/responses/BadRequest"
|
|
230
|
+
"401":
|
|
231
|
+
$ref: "#/components/responses/Unauthorized"
|
|
232
|
+
"403":
|
|
233
|
+
$ref: "#/components/responses/Forbidden"
|
|
234
|
+
"404":
|
|
235
|
+
$ref: "#/components/responses/NotFound"
|
|
236
|
+
"500":
|
|
237
|
+
$ref: "#/components/responses/InternalServerError"
|
|
238
|
+
/product-modifiers-group/remove:
|
|
239
|
+
post:
|
|
240
|
+
tags:
|
|
241
|
+
- Product Modifiers Group
|
|
242
|
+
summary: Bulk delete product modifier groups
|
|
243
|
+
description: Delete multiple product modifier groups by their IDs
|
|
244
|
+
requestBody:
|
|
245
|
+
required: true
|
|
246
|
+
content:
|
|
247
|
+
application/json:
|
|
248
|
+
schema:
|
|
249
|
+
type: object
|
|
250
|
+
properties:
|
|
251
|
+
ids:
|
|
252
|
+
type: array
|
|
253
|
+
items:
|
|
254
|
+
type: string
|
|
255
|
+
description: Array of product modifier group IDs to delete
|
|
256
|
+
required:
|
|
257
|
+
- ids
|
|
258
|
+
responses:
|
|
259
|
+
"200":
|
|
260
|
+
description: Product modifier groups deleted successfully
|
|
261
|
+
content:
|
|
262
|
+
application/json:
|
|
263
|
+
schema:
|
|
264
|
+
type: object
|
|
265
|
+
properties:
|
|
266
|
+
success:
|
|
267
|
+
type: boolean
|
|
268
|
+
example: true
|
|
269
|
+
"400":
|
|
270
|
+
$ref: "#/components/responses/BadRequest"
|
|
271
|
+
"401":
|
|
272
|
+
$ref: "#/components/responses/Unauthorized"
|
|
273
|
+
"403":
|
|
274
|
+
$ref: "#/components/responses/Forbidden"
|
|
275
|
+
"500":
|
|
276
|
+
$ref: "#/components/responses/InternalServerError"
|
|
277
|
+
components:
|
|
278
|
+
securitySchemes:
|
|
279
|
+
ApiKeyAuth:
|
|
280
|
+
type: apiKey
|
|
281
|
+
in: header
|
|
282
|
+
name: Authorization
|
|
283
|
+
description: "Use format: Bearer {api_key}"
|
|
284
|
+
schemas:
|
|
285
|
+
ProductModifiersGroup:
|
|
286
|
+
type: object
|
|
287
|
+
properties:
|
|
288
|
+
_id:
|
|
289
|
+
type: string
|
|
290
|
+
description: Unique identifier
|
|
291
|
+
example: "507f1f77bcf86cd799439011"
|
|
292
|
+
name:
|
|
293
|
+
type: string
|
|
294
|
+
description: Product modifier group name
|
|
295
|
+
example: "Size Options"
|
|
296
|
+
description:
|
|
297
|
+
type: string
|
|
298
|
+
description: Group description
|
|
299
|
+
example: "Available size options for products"
|
|
300
|
+
modifiers:
|
|
301
|
+
type: array
|
|
302
|
+
items:
|
|
303
|
+
$ref: "#/components/schemas/ProductModifier"
|
|
304
|
+
description: List of modifiers in this group
|
|
305
|
+
is_required:
|
|
306
|
+
type: boolean
|
|
307
|
+
description: Whether selecting a modifier from this group is required
|
|
308
|
+
example: true
|
|
309
|
+
max_selection:
|
|
310
|
+
type: integer
|
|
311
|
+
description: Maximum number of modifiers that can be selected
|
|
312
|
+
example: 1
|
|
313
|
+
company_namespace:
|
|
314
|
+
type: array
|
|
315
|
+
items:
|
|
316
|
+
type: string
|
|
317
|
+
description: Company namespace
|
|
318
|
+
disabled:
|
|
319
|
+
type: boolean
|
|
320
|
+
description: Whether the group is disabled
|
|
321
|
+
example: false
|
|
322
|
+
createdAt:
|
|
323
|
+
type: string
|
|
324
|
+
format: date-time
|
|
325
|
+
description: Creation timestamp
|
|
326
|
+
modifiedAt:
|
|
327
|
+
type: string
|
|
328
|
+
format: date-time
|
|
329
|
+
description: Last modification timestamp
|
|
330
|
+
SVClient:
|
|
331
|
+
type: integer
|
|
332
|
+
description: Client version
|
|
333
|
+
__v:
|
|
334
|
+
type: integer
|
|
335
|
+
description: Document version
|
|
336
|
+
required:
|
|
337
|
+
- name
|
|
338
|
+
ProductModifier:
|
|
339
|
+
type: object
|
|
340
|
+
properties:
|
|
341
|
+
_id:
|
|
342
|
+
type: string
|
|
343
|
+
description: Modifier ID
|
|
344
|
+
name:
|
|
345
|
+
type: string
|
|
346
|
+
description: Modifier name
|
|
347
|
+
example: "Large"
|
|
348
|
+
price_adjustment:
|
|
349
|
+
type: number
|
|
350
|
+
description: Price adjustment for this modifier
|
|
351
|
+
example: 2.50
|
|
352
|
+
description:
|
|
353
|
+
type: string
|
|
354
|
+
description: Modifier description
|
|
355
|
+
CreateProductModifiersGroupRequest:
|
|
356
|
+
type: object
|
|
357
|
+
properties:
|
|
358
|
+
name:
|
|
359
|
+
type: string
|
|
360
|
+
description: Product modifier group name
|
|
361
|
+
example: "Size Options"
|
|
362
|
+
description:
|
|
363
|
+
type: string
|
|
364
|
+
description: Group description
|
|
365
|
+
example: "Available size options for products"
|
|
366
|
+
modifiers:
|
|
367
|
+
type: array
|
|
368
|
+
items:
|
|
369
|
+
type: object
|
|
370
|
+
properties:
|
|
371
|
+
name:
|
|
372
|
+
type: string
|
|
373
|
+
price_adjustment:
|
|
374
|
+
type: number
|
|
375
|
+
description:
|
|
376
|
+
type: string
|
|
377
|
+
is_required:
|
|
378
|
+
type: boolean
|
|
379
|
+
description: Whether selecting a modifier from this group is required
|
|
380
|
+
default: false
|
|
381
|
+
max_selection:
|
|
382
|
+
type: integer
|
|
383
|
+
description: Maximum number of modifiers that can be selected
|
|
384
|
+
default: 1
|
|
385
|
+
company_namespace:
|
|
386
|
+
type: array
|
|
387
|
+
items:
|
|
388
|
+
type: string
|
|
389
|
+
description: Company namespace
|
|
390
|
+
disabled:
|
|
391
|
+
type: boolean
|
|
392
|
+
description: Whether the group is disabled
|
|
393
|
+
default: false
|
|
394
|
+
required:
|
|
395
|
+
- name
|
|
396
|
+
UpdateProductModifiersGroupRequest:
|
|
397
|
+
type: object
|
|
398
|
+
properties:
|
|
399
|
+
name:
|
|
400
|
+
type: string
|
|
401
|
+
description: Product modifier group name
|
|
402
|
+
example: "Size Options"
|
|
403
|
+
description:
|
|
404
|
+
type: string
|
|
405
|
+
description: Group description
|
|
406
|
+
modifiers:
|
|
407
|
+
type: array
|
|
408
|
+
items:
|
|
409
|
+
type: object
|
|
410
|
+
properties:
|
|
411
|
+
name:
|
|
412
|
+
type: string
|
|
413
|
+
price_adjustment:
|
|
414
|
+
type: number
|
|
415
|
+
description:
|
|
416
|
+
type: string
|
|
417
|
+
is_required:
|
|
418
|
+
type: boolean
|
|
419
|
+
description: Whether selecting a modifier from this group is required
|
|
420
|
+
max_selection:
|
|
421
|
+
type: integer
|
|
422
|
+
description: Maximum number of modifiers that can be selected
|
|
423
|
+
company_namespace:
|
|
424
|
+
type: array
|
|
425
|
+
items:
|
|
426
|
+
type: string
|
|
427
|
+
description: Company namespace
|
|
428
|
+
disabled:
|
|
429
|
+
type: boolean
|
|
430
|
+
description: Whether the group is disabled
|
|
431
|
+
PagingInfo:
|
|
432
|
+
type: object
|
|
433
|
+
properties:
|
|
434
|
+
total:
|
|
435
|
+
type: integer
|
|
436
|
+
description: Total number of items
|
|
437
|
+
page:
|
|
438
|
+
type: integer
|
|
439
|
+
description: Current page number
|
|
440
|
+
per_page:
|
|
441
|
+
type: integer
|
|
442
|
+
description: Items per page
|
|
443
|
+
pages:
|
|
444
|
+
type: integer
|
|
445
|
+
description: Total number of pages
|
|
446
|
+
responses:
|
|
447
|
+
BadRequest:
|
|
448
|
+
description: Bad request
|
|
449
|
+
content:
|
|
450
|
+
application/json:
|
|
451
|
+
schema:
|
|
452
|
+
type: object
|
|
453
|
+
properties:
|
|
454
|
+
success:
|
|
455
|
+
type: boolean
|
|
456
|
+
example: false
|
|
457
|
+
error:
|
|
458
|
+
type: string
|
|
459
|
+
example: "Invalid request parameters"
|
|
460
|
+
Unauthorized:
|
|
461
|
+
description: Unauthorized
|
|
462
|
+
content:
|
|
463
|
+
application/json:
|
|
464
|
+
schema:
|
|
465
|
+
type: object
|
|
466
|
+
properties:
|
|
467
|
+
success:
|
|
468
|
+
type: boolean
|
|
469
|
+
example: false
|
|
470
|
+
error:
|
|
471
|
+
type: string
|
|
472
|
+
example: "Authentication required"
|
|
473
|
+
Forbidden:
|
|
474
|
+
description: Forbidden
|
|
475
|
+
content:
|
|
476
|
+
application/json:
|
|
477
|
+
schema:
|
|
478
|
+
type: object
|
|
479
|
+
properties:
|
|
480
|
+
success:
|
|
481
|
+
type: boolean
|
|
482
|
+
example: false
|
|
483
|
+
error:
|
|
484
|
+
type: string
|
|
485
|
+
example: "Insufficient permissions"
|
|
486
|
+
NotFound:
|
|
487
|
+
description: Resource not found
|
|
488
|
+
content:
|
|
489
|
+
application/json:
|
|
490
|
+
schema:
|
|
491
|
+
type: object
|
|
492
|
+
properties:
|
|
493
|
+
success:
|
|
494
|
+
type: boolean
|
|
495
|
+
example: false
|
|
496
|
+
error:
|
|
497
|
+
type: string
|
|
498
|
+
example: "Resource not found"
|
|
499
|
+
ValidationError:
|
|
500
|
+
description: Validation error
|
|
501
|
+
content:
|
|
502
|
+
application/json:
|
|
503
|
+
schema:
|
|
504
|
+
type: object
|
|
505
|
+
properties:
|
|
506
|
+
success:
|
|
507
|
+
type: boolean
|
|
508
|
+
example: false
|
|
509
|
+
error:
|
|
510
|
+
type: string
|
|
511
|
+
example: "Validation failed"
|
|
512
|
+
InternalServerError:
|
|
513
|
+
description: Internal server error
|
|
514
|
+
content:
|
|
515
|
+
application/json:
|
|
516
|
+
schema:
|
|
517
|
+
type: object
|
|
518
|
+
properties:
|
|
519
|
+
success:
|
|
520
|
+
type: boolean
|
|
521
|
+
example: false
|
|
522
|
+
error:
|
|
523
|
+
type: string
|
|
524
|
+
example: "Internal server error"
|