repzo 1.0.154 → 1.0.156

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.
Files changed (96) hide show
  1. package/changelog.md +1 -0
  2. package/lib/index.d.ts +18 -0
  3. package/lib/index.js +38 -0
  4. package/lib/types/index.d.ts +462 -198
  5. package/lib/types/index.js +2 -1
  6. package/package.json +2 -2
  7. package/src/index.ts +4890 -0
  8. package/src/oas/activity-ai-sales-order.yaml +623 -0
  9. package/src/oas/activity-feedback-v2.yaml +753 -0
  10. package/src/oas/activity-feedback.yaml +645 -0
  11. package/src/oas/activity-storecheck.yaml +379 -0
  12. package/src/oas/adjust-account.yaml +241 -0
  13. package/src/oas/adjust-inventory.yaml +133 -0
  14. package/src/oas/approval-request.yaml +211 -0
  15. package/src/oas/approvals.yaml +176 -0
  16. package/src/oas/asset-part-receival.yaml +591 -0
  17. package/src/oas/asset-part-transfer.yaml +618 -0
  18. package/src/oas/asset-part-type.yaml +383 -0
  19. package/src/oas/asset-part-unit.yaml +722 -0
  20. package/src/oas/asset-part.yaml +485 -0
  21. package/src/oas/asset-type.yaml +180 -0
  22. package/src/oas/asset-unit.yaml +705 -0
  23. package/src/oas/asset.yaml +204 -0
  24. package/src/oas/banks.yaml +168 -0
  25. package/src/oas/bankslists.yaml +168 -0
  26. package/src/oas/brand.yaml +246 -0
  27. package/src/oas/category.yaml +285 -0
  28. package/src/oas/checks.yaml +247 -0
  29. package/src/oas/client-channel.yaml +480 -0
  30. package/src/oas/client-contact.yaml +665 -0
  31. package/src/oas/client-location.yaml +687 -0
  32. package/src/oas/client.yaml +669 -0
  33. package/src/oas/contract-installment.yaml +740 -0
  34. package/src/oas/contract.yaml +210 -0
  35. package/src/oas/custom-list-item.yaml +168 -0
  36. package/src/oas/custom-list.yaml +168 -0
  37. package/src/oas/custom-status.yaml +168 -0
  38. package/src/oas/day.yaml +246 -0
  39. package/src/oas/feedback-options.yaml +802 -0
  40. package/src/oas/fullinvoices.yaml +584 -0
  41. package/src/oas/integration-action-log.yaml +361 -0
  42. package/src/oas/integration-app.yaml +303 -0
  43. package/src/oas/integration-command-log.yaml +381 -0
  44. package/src/oas/inventory-adjustment-reason.yaml +165 -0
  45. package/src/oas/inventory.yaml +64 -0
  46. package/src/oas/mail-unsubscribe.yaml +463 -0
  47. package/src/oas/measureunit-family.yaml +354 -0
  48. package/src/oas/measureunit.yaml +366 -0
  49. package/src/oas/media-storage.yaml +329 -0
  50. package/src/oas/media.yaml +472 -0
  51. package/src/oas/msl-products.yaml +180 -0
  52. package/src/oas/msl.yaml +186 -0
  53. package/src/oas/ocr-invoice-job-group.yaml +528 -0
  54. package/src/oas/ocr-invoice-job-page.yaml +602 -0
  55. package/src/oas/ocr-invoice-job-template.yaml +628 -0
  56. package/src/oas/ocr-invoice-job.yaml +603 -0
  57. package/src/oas/patch-action.yaml +421 -0
  58. package/src/oas/payment-terms.yaml +235 -0
  59. package/src/oas/payments.yaml +536 -0
  60. package/src/oas/pricelist-item.yaml +369 -0
  61. package/src/oas/pricelist.yaml +287 -0
  62. package/src/oas/product-group.yaml +278 -0
  63. package/src/oas/product-modifiers-group.yaml +524 -0
  64. package/src/oas/product.yaml +578 -0
  65. package/src/oas/proforma.yaml +180 -0
  66. package/src/oas/quick-convert-to-pdf.yaml +95 -0
  67. package/src/oas/receiving-material.yaml +336 -0
  68. package/src/oas/refund.yaml +281 -0
  69. package/src/oas/rep-balance-summary.yaml +135 -0
  70. package/src/oas/rep.yaml +1824 -0
  71. package/src/oas/return-asset-part-unit.yaml +573 -0
  72. package/src/oas/return-reason.yaml +286 -0
  73. package/src/oas/route.yaml +337 -0
  74. package/src/oas/safe-invoice-serial-counter.yaml +525 -0
  75. package/src/oas/settings.yaml +123 -0
  76. package/src/oas/settlement.yaml +505 -0
  77. package/src/oas/speciality.yaml +447 -0
  78. package/src/oas/store-asset-part-unit.yaml +658 -0
  79. package/src/oas/storecheck-template.yaml +415 -0
  80. package/src/oas/subcategory.yaml +355 -0
  81. package/src/oas/supplier.yaml +183 -0
  82. package/src/oas/svix-integration.yaml +335 -0
  83. package/src/oas/tag.yaml +272 -0
  84. package/src/oas/tax.yaml +303 -0
  85. package/src/oas/team.yaml +268 -0
  86. package/src/oas/transfer.yaml +347 -0
  87. package/src/oas/update-integration-meta.yaml +387 -0
  88. package/src/oas/variant.yaml +569 -0
  89. package/src/oas/visit.yaml +174 -0
  90. package/src/oas/warehouse.yaml +311 -0
  91. package/src/oas/workorder-category.yaml +751 -0
  92. package/src/oas/workorder-portal-link.yaml +811 -0
  93. package/src/oas/workorder-portal.yaml +650 -0
  94. package/src/oas/workorder-request.yaml +193 -0
  95. package/src/oas/workorder.yaml +204 -0
  96. package/src/types/index.ts +1175 -223
@@ -0,0 +1,753 @@
1
+ openapi: 3.0.0
2
+ info:
3
+ title: Activity Feedback V2 API
4
+ description: API for managing activity feedback (version 2)
5
+ version: 2.0.0
6
+ servers:
7
+ - url: https://api.repzo.me/v1
8
+ description: Production server
9
+ security:
10
+ - ApiKeyAuth: []
11
+ tags:
12
+ - name: Activity Feedback V2
13
+ description: Activity feedback v2 management operations
14
+ paths:
15
+ /activity-feedback-v2:
16
+ get:
17
+ tags:
18
+ - Activity Feedback V2
19
+ summary: Get all activity feedback v2
20
+ description: Retrieve a list of all activity feedback v2 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: activity_type
54
+ in: query
55
+ description: Filter by activity type
56
+ required: false
57
+ schema:
58
+ type: string
59
+ - name: rep
60
+ in: query
61
+ description: Filter by representative ID
62
+ required: false
63
+ schema:
64
+ type: string
65
+ - name: client
66
+ in: query
67
+ description: Filter by client ID
68
+ required: false
69
+ schema:
70
+ type: string
71
+ - name: overall_satisfaction
72
+ in: query
73
+ description: Filter by overall satisfaction rating
74
+ required: false
75
+ schema:
76
+ type: integer
77
+ minimum: 1
78
+ maximum: 10
79
+ - name: template_id
80
+ in: query
81
+ description: Filter by feedback template ID
82
+ required: false
83
+ schema:
84
+ type: string
85
+ - name: _id
86
+ in: query
87
+ description: Filter by ID
88
+ required: false
89
+ schema:
90
+ type: array
91
+ items:
92
+ type: string
93
+ responses:
94
+ "200":
95
+ description: Successful response
96
+ content:
97
+ application/json:
98
+ schema:
99
+ type: object
100
+ properties:
101
+ success:
102
+ type: boolean
103
+ example: true
104
+ data:
105
+ type: array
106
+ items:
107
+ $ref: "#/components/schemas/ActivityFeedbackV2"
108
+ paging:
109
+ $ref: "#/components/schemas/PagingInfo"
110
+ "400":
111
+ $ref: "#/components/responses/BadRequest"
112
+ "401":
113
+ $ref: "#/components/responses/Unauthorized"
114
+ "403":
115
+ $ref: "#/components/responses/Forbidden"
116
+ "500":
117
+ $ref: "#/components/responses/InternalServerError"
118
+ post:
119
+ tags:
120
+ - Activity Feedback V2
121
+ summary: Create new activity feedback v2
122
+ description: Create a new activity feedback v2 entry
123
+ requestBody:
124
+ required: true
125
+ content:
126
+ application/json:
127
+ schema:
128
+ $ref: "#/components/schemas/CreateActivityFeedbackV2Request"
129
+ responses:
130
+ "201":
131
+ description: Activity feedback v2 created successfully
132
+ content:
133
+ application/json:
134
+ schema:
135
+ type: object
136
+ properties:
137
+ success:
138
+ type: boolean
139
+ example: true
140
+ data:
141
+ $ref: "#/components/schemas/ActivityFeedbackV2"
142
+ "400":
143
+ $ref: "#/components/responses/BadRequest"
144
+ "401":
145
+ $ref: "#/components/responses/Unauthorized"
146
+ "403":
147
+ $ref: "#/components/responses/Forbidden"
148
+ "422":
149
+ $ref: "#/components/responses/ValidationError"
150
+ "500":
151
+ $ref: "#/components/responses/InternalServerError"
152
+ /activity-feedback-v2/{id}:
153
+ get:
154
+ tags:
155
+ - Activity Feedback V2
156
+ summary: Get activity feedback v2 by ID
157
+ description: Retrieve a specific activity feedback v2 by its ID
158
+ parameters:
159
+ - name: id
160
+ in: path
161
+ required: true
162
+ description: Activity feedback v2 ID
163
+ schema:
164
+ type: string
165
+ responses:
166
+ "200":
167
+ description: Successful response
168
+ content:
169
+ application/json:
170
+ schema:
171
+ type: object
172
+ properties:
173
+ success:
174
+ type: boolean
175
+ example: true
176
+ data:
177
+ $ref: "#/components/schemas/ActivityFeedbackV2"
178
+ "400":
179
+ $ref: "#/components/responses/BadRequest"
180
+ "401":
181
+ $ref: "#/components/responses/Unauthorized"
182
+ "403":
183
+ $ref: "#/components/responses/Forbidden"
184
+ "404":
185
+ $ref: "#/components/responses/NotFound"
186
+ "500":
187
+ $ref: "#/components/responses/InternalServerError"
188
+ patch:
189
+ tags:
190
+ - Activity Feedback V2
191
+ summary: Update activity feedback v2
192
+ description: Update an existing activity feedback v2
193
+ parameters:
194
+ - name: id
195
+ in: path
196
+ required: true
197
+ description: Activity feedback v2 ID
198
+ schema:
199
+ type: string
200
+ requestBody:
201
+ required: true
202
+ content:
203
+ application/json:
204
+ schema:
205
+ $ref: "#/components/schemas/UpdateActivityFeedbackV2Request"
206
+ responses:
207
+ "200":
208
+ description: Activity feedback v2 updated successfully
209
+ content:
210
+ application/json:
211
+ schema:
212
+ type: object
213
+ properties:
214
+ success:
215
+ type: boolean
216
+ example: true
217
+ data:
218
+ $ref: "#/components/schemas/ActivityFeedbackV2"
219
+ "400":
220
+ $ref: "#/components/responses/BadRequest"
221
+ "401":
222
+ $ref: "#/components/responses/Unauthorized"
223
+ "403":
224
+ $ref: "#/components/responses/Forbidden"
225
+ "404":
226
+ $ref: "#/components/responses/NotFound"
227
+ "422":
228
+ $ref: "#/components/responses/ValidationError"
229
+ "500":
230
+ $ref: "#/components/responses/InternalServerError"
231
+ delete:
232
+ tags:
233
+ - Activity Feedback V2
234
+ summary: Delete activity feedback v2
235
+ description: Delete an activity feedback v2 by ID
236
+ parameters:
237
+ - name: id
238
+ in: path
239
+ required: true
240
+ description: Activity feedback v2 ID
241
+ schema:
242
+ type: string
243
+ responses:
244
+ "200":
245
+ description: Activity feedback v2 deleted successfully
246
+ content:
247
+ application/json:
248
+ schema:
249
+ type: object
250
+ properties:
251
+ success:
252
+ type: boolean
253
+ example: true
254
+ "400":
255
+ $ref: "#/components/responses/BadRequest"
256
+ "401":
257
+ $ref: "#/components/responses/Unauthorized"
258
+ "403":
259
+ $ref: "#/components/responses/Forbidden"
260
+ "404":
261
+ $ref: "#/components/responses/NotFound"
262
+ "500":
263
+ $ref: "#/components/responses/InternalServerError"
264
+ /activity-feedback-v2/analytics/detailed:
265
+ get:
266
+ tags:
267
+ - Activity Feedback V2
268
+ summary: Get detailed feedback analytics
269
+ description: Get detailed analytics and insights for activity feedback v2
270
+ parameters:
271
+ - name: date_from
272
+ in: query
273
+ description: Start date for analytics
274
+ required: false
275
+ schema:
276
+ type: string
277
+ format: date
278
+ - name: date_to
279
+ in: query
280
+ description: End date for analytics
281
+ required: false
282
+ schema:
283
+ type: string
284
+ format: date
285
+ - name: activity_type
286
+ in: query
287
+ description: Filter by activity type
288
+ required: false
289
+ schema:
290
+ type: string
291
+ - name: rep
292
+ in: query
293
+ description: Filter by representative ID
294
+ required: false
295
+ schema:
296
+ type: string
297
+ - name: template_id
298
+ in: query
299
+ description: Filter by feedback template ID
300
+ required: false
301
+ schema:
302
+ type: string
303
+ responses:
304
+ "200":
305
+ description: Detailed analytics data retrieved successfully
306
+ content:
307
+ application/json:
308
+ schema:
309
+ type: object
310
+ properties:
311
+ success:
312
+ type: boolean
313
+ example: true
314
+ data:
315
+ type: object
316
+ properties:
317
+ summary:
318
+ type: object
319
+ properties:
320
+ total_feedback:
321
+ type: integer
322
+ average_satisfaction:
323
+ type: number
324
+ format: float
325
+ response_rate:
326
+ type: number
327
+ format: float
328
+ satisfaction_trends:
329
+ type: array
330
+ items:
331
+ type: object
332
+ properties:
333
+ date:
334
+ type: string
335
+ format: date
336
+ average_satisfaction:
337
+ type: number
338
+ format: float
339
+ count:
340
+ type: integer
341
+ question_analysis:
342
+ type: array
343
+ items:
344
+ type: object
345
+ properties:
346
+ question_id:
347
+ type: string
348
+ question_text:
349
+ type: string
350
+ average_score:
351
+ type: number
352
+ format: float
353
+ response_count:
354
+ type: integer
355
+ "400":
356
+ $ref: "#/components/responses/BadRequest"
357
+ "401":
358
+ $ref: "#/components/responses/Unauthorized"
359
+ "403":
360
+ $ref: "#/components/responses/Forbidden"
361
+ "500":
362
+ $ref: "#/components/responses/InternalServerError"
363
+ components:
364
+ securitySchemes:
365
+ ApiKeyAuth:
366
+ type: apiKey
367
+ in: header
368
+ name: Authorization
369
+ description: "Use format: Bearer {api_key}"
370
+ schemas:
371
+ ActivityFeedbackV2:
372
+ type: object
373
+ properties:
374
+ _id:
375
+ type: string
376
+ description: Unique identifier
377
+ example: "507f1f77bcf86cd799439011"
378
+ activity_type:
379
+ type: string
380
+ description: Type of activity this feedback is for
381
+ example: "sales_visit"
382
+ activity_id:
383
+ type: string
384
+ description: ID of the related activity
385
+ example: "507f1f77bcf86cd799439012"
386
+ rep:
387
+ type: string
388
+ description: Representative ID
389
+ example: "507f1f77bcf86cd799439013"
390
+ client:
391
+ type: string
392
+ description: Client ID
393
+ example: "507f1f77bcf86cd799439014"
394
+ template_id:
395
+ type: string
396
+ description: Feedback template ID used
397
+ example: "507f1f77bcf86cd799439015"
398
+ overall_satisfaction:
399
+ type: integer
400
+ description: Overall satisfaction rating (1-10 scale)
401
+ minimum: 1
402
+ maximum: 10
403
+ example: 8
404
+ responses:
405
+ type: array
406
+ items:
407
+ type: object
408
+ properties:
409
+ question_id:
410
+ type: string
411
+ description: ID of the question
412
+ question_text:
413
+ type: string
414
+ description: Text of the question
415
+ question_type:
416
+ type: string
417
+ enum: ["rating", "multiple_choice", "text", "yes_no", "scale"]
418
+ response_value:
419
+ oneOf:
420
+ - type: string
421
+ - type: integer
422
+ - type: boolean
423
+ description: The response value
424
+ response_text:
425
+ type: string
426
+ description: Additional text response
427
+ nps_score:
428
+ type: integer
429
+ description: Net Promoter Score (0-10)
430
+ minimum: 0
431
+ maximum: 10
432
+ example: 9
433
+ sentiment_analysis:
434
+ type: object
435
+ properties:
436
+ overall_sentiment:
437
+ type: string
438
+ enum:
439
+ [
440
+ "very_positive",
441
+ "positive",
442
+ "neutral",
443
+ "negative",
444
+ "very_negative",
445
+ ]
446
+ confidence_score:
447
+ type: number
448
+ format: float
449
+ minimum: 0
450
+ maximum: 1
451
+ keywords:
452
+ type: array
453
+ items:
454
+ type: string
455
+ completion_time:
456
+ type: integer
457
+ description: Time taken to complete feedback (in seconds)
458
+ example: 180
459
+ completion_rate:
460
+ type: number
461
+ format: float
462
+ description: Percentage of questions completed
463
+ example: 100.0
464
+ session_data:
465
+ type: object
466
+ properties:
467
+ device_type:
468
+ type: string
469
+ enum: ["mobile", "desktop", "tablet"]
470
+ browser:
471
+ type: string
472
+ ip_address:
473
+ type: string
474
+ location:
475
+ type: object
476
+ properties:
477
+ country:
478
+ type: string
479
+ city:
480
+ type: string
481
+ follow_up_actions:
482
+ type: array
483
+ items:
484
+ type: object
485
+ properties:
486
+ action_type:
487
+ type: string
488
+ enum: ["call", "email", "visit", "escalate"]
489
+ priority:
490
+ type: string
491
+ enum: ["high", "medium", "low"]
492
+ assigned_to:
493
+ type: string
494
+ due_date:
495
+ type: string
496
+ format: date
497
+ status:
498
+ type: string
499
+ enum: ["pending", "in_progress", "completed"]
500
+ is_anonymous:
501
+ type: boolean
502
+ description: Whether the feedback is anonymous
503
+ example: false
504
+ company_namespace:
505
+ type: array
506
+ items:
507
+ type: string
508
+ description: Company namespace
509
+ createdAt:
510
+ type: string
511
+ format: date-time
512
+ description: Creation timestamp
513
+ modifiedAt:
514
+ type: string
515
+ format: date-time
516
+ description: Last modification timestamp
517
+ SVClient:
518
+ type: integer
519
+ description: Client version
520
+ __v:
521
+ type: integer
522
+ description: Document version
523
+ required:
524
+ - activity_type
525
+ - rep
526
+ - template_id
527
+ - overall_satisfaction
528
+ CreateActivityFeedbackV2Request:
529
+ type: object
530
+ properties:
531
+ activity_type:
532
+ type: string
533
+ description: Type of activity this feedback is for
534
+ example: "sales_visit"
535
+ activity_id:
536
+ type: string
537
+ description: ID of the related activity
538
+ example: "507f1f77bcf86cd799439012"
539
+ rep:
540
+ type: string
541
+ description: Representative ID
542
+ example: "507f1f77bcf86cd799439013"
543
+ client:
544
+ type: string
545
+ description: Client ID
546
+ example: "507f1f77bcf86cd799439014"
547
+ template_id:
548
+ type: string
549
+ description: Feedback template ID used
550
+ example: "507f1f77bcf86cd799439015"
551
+ overall_satisfaction:
552
+ type: integer
553
+ description: Overall satisfaction rating (1-10 scale)
554
+ minimum: 1
555
+ maximum: 10
556
+ example: 8
557
+ responses:
558
+ type: array
559
+ items:
560
+ type: object
561
+ properties:
562
+ question_id:
563
+ type: string
564
+ question_type:
565
+ type: string
566
+ enum: ["rating", "multiple_choice", "text", "yes_no", "scale"]
567
+ response_value:
568
+ oneOf:
569
+ - type: string
570
+ - type: integer
571
+ - type: boolean
572
+ response_text:
573
+ type: string
574
+ nps_score:
575
+ type: integer
576
+ description: Net Promoter Score (0-10)
577
+ minimum: 0
578
+ maximum: 10
579
+ completion_time:
580
+ type: integer
581
+ description: Time taken to complete feedback (in seconds)
582
+ session_data:
583
+ type: object
584
+ properties:
585
+ device_type:
586
+ type: string
587
+ enum: ["mobile", "desktop", "tablet"]
588
+ browser:
589
+ type: string
590
+ ip_address:
591
+ type: string
592
+ is_anonymous:
593
+ type: boolean
594
+ description: Whether the feedback is anonymous
595
+ default: false
596
+ company_namespace:
597
+ type: array
598
+ items:
599
+ type: string
600
+ description: Company namespace
601
+ required:
602
+ - activity_type
603
+ - rep
604
+ - template_id
605
+ - overall_satisfaction
606
+ UpdateActivityFeedbackV2Request:
607
+ type: object
608
+ properties:
609
+ overall_satisfaction:
610
+ type: integer
611
+ description: Overall satisfaction rating (1-10 scale)
612
+ minimum: 1
613
+ maximum: 10
614
+ responses:
615
+ type: array
616
+ items:
617
+ type: object
618
+ properties:
619
+ question_id:
620
+ type: string
621
+ question_type:
622
+ type: string
623
+ enum: ["rating", "multiple_choice", "text", "yes_no", "scale"]
624
+ response_value:
625
+ oneOf:
626
+ - type: string
627
+ - type: integer
628
+ - type: boolean
629
+ response_text:
630
+ type: string
631
+ nps_score:
632
+ type: integer
633
+ description: Net Promoter Score (0-10)
634
+ minimum: 0
635
+ maximum: 10
636
+ follow_up_actions:
637
+ type: array
638
+ items:
639
+ type: object
640
+ properties:
641
+ action_type:
642
+ type: string
643
+ enum: ["call", "email", "visit", "escalate"]
644
+ priority:
645
+ type: string
646
+ enum: ["high", "medium", "low"]
647
+ assigned_to:
648
+ type: string
649
+ due_date:
650
+ type: string
651
+ format: date
652
+ status:
653
+ type: string
654
+ enum: ["pending", "in_progress", "completed"]
655
+ company_namespace:
656
+ type: array
657
+ items:
658
+ type: string
659
+ description: Company namespace
660
+ PagingInfo:
661
+ type: object
662
+ properties:
663
+ total:
664
+ type: integer
665
+ description: Total number of items
666
+ page:
667
+ type: integer
668
+ description: Current page number
669
+ per_page:
670
+ type: integer
671
+ description: Items per page
672
+ pages:
673
+ type: integer
674
+ description: Total number of pages
675
+ responses:
676
+ BadRequest:
677
+ description: Bad request
678
+ content:
679
+ application/json:
680
+ schema:
681
+ type: object
682
+ properties:
683
+ success:
684
+ type: boolean
685
+ example: false
686
+ error:
687
+ type: string
688
+ example: "Invalid request parameters"
689
+ Unauthorized:
690
+ description: Unauthorized
691
+ content:
692
+ application/json:
693
+ schema:
694
+ type: object
695
+ properties:
696
+ success:
697
+ type: boolean
698
+ example: false
699
+ error:
700
+ type: string
701
+ example: "Authentication required"
702
+ Forbidden:
703
+ description: Forbidden
704
+ content:
705
+ application/json:
706
+ schema:
707
+ type: object
708
+ properties:
709
+ success:
710
+ type: boolean
711
+ example: false
712
+ error:
713
+ type: string
714
+ example: "Insufficient permissions"
715
+ NotFound:
716
+ description: Resource not found
717
+ content:
718
+ application/json:
719
+ schema:
720
+ type: object
721
+ properties:
722
+ success:
723
+ type: boolean
724
+ example: false
725
+ error:
726
+ type: string
727
+ example: "Resource not found"
728
+ ValidationError:
729
+ description: Validation error
730
+ content:
731
+ application/json:
732
+ schema:
733
+ type: object
734
+ properties:
735
+ success:
736
+ type: boolean
737
+ example: false
738
+ error:
739
+ type: string
740
+ example: "Validation failed"
741
+ InternalServerError:
742
+ description: Internal server error
743
+ content:
744
+ application/json:
745
+ schema:
746
+ type: object
747
+ properties:
748
+ success:
749
+ type: boolean
750
+ example: false
751
+ error:
752
+ type: string
753
+ example: "Internal server error"