repzo 1.0.155 → 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 (90) hide show
  1. package/package.json +2 -2
  2. package/src/index.ts +4890 -0
  3. package/src/oas/activity-ai-sales-order.yaml +623 -0
  4. package/src/oas/activity-feedback-v2.yaml +753 -0
  5. package/src/oas/activity-feedback.yaml +645 -0
  6. package/src/oas/activity-storecheck.yaml +379 -0
  7. package/src/oas/adjust-account.yaml +241 -0
  8. package/src/oas/adjust-inventory.yaml +133 -0
  9. package/src/oas/approval-request.yaml +211 -0
  10. package/src/oas/approvals.yaml +176 -0
  11. package/src/oas/asset-part-receival.yaml +591 -0
  12. package/src/oas/asset-part-transfer.yaml +618 -0
  13. package/src/oas/asset-part-type.yaml +383 -0
  14. package/src/oas/asset-part-unit.yaml +722 -0
  15. package/src/oas/asset-part.yaml +485 -0
  16. package/src/oas/asset-type.yaml +180 -0
  17. package/src/oas/asset-unit.yaml +705 -0
  18. package/src/oas/asset.yaml +204 -0
  19. package/src/oas/banks.yaml +168 -0
  20. package/src/oas/bankslists.yaml +168 -0
  21. package/src/oas/brand.yaml +246 -0
  22. package/src/oas/category.yaml +285 -0
  23. package/src/oas/checks.yaml +247 -0
  24. package/src/oas/client-channel.yaml +480 -0
  25. package/src/oas/client-contact.yaml +665 -0
  26. package/src/oas/client-location.yaml +687 -0
  27. package/src/oas/client.yaml +669 -0
  28. package/src/oas/contract-installment.yaml +740 -0
  29. package/src/oas/contract.yaml +210 -0
  30. package/src/oas/custom-list-item.yaml +168 -0
  31. package/src/oas/custom-list.yaml +168 -0
  32. package/src/oas/custom-status.yaml +168 -0
  33. package/src/oas/day.yaml +246 -0
  34. package/src/oas/feedback-options.yaml +802 -0
  35. package/src/oas/fullinvoices.yaml +584 -0
  36. package/src/oas/integration-action-log.yaml +361 -0
  37. package/src/oas/integration-app.yaml +303 -0
  38. package/src/oas/integration-command-log.yaml +381 -0
  39. package/src/oas/inventory-adjustment-reason.yaml +165 -0
  40. package/src/oas/inventory.yaml +64 -0
  41. package/src/oas/mail-unsubscribe.yaml +463 -0
  42. package/src/oas/measureunit-family.yaml +354 -0
  43. package/src/oas/measureunit.yaml +366 -0
  44. package/src/oas/media-storage.yaml +329 -0
  45. package/src/oas/media.yaml +472 -0
  46. package/src/oas/msl-products.yaml +180 -0
  47. package/src/oas/msl.yaml +186 -0
  48. package/src/oas/ocr-invoice-job-group.yaml +528 -0
  49. package/src/oas/ocr-invoice-job-page.yaml +602 -0
  50. package/src/oas/ocr-invoice-job-template.yaml +628 -0
  51. package/src/oas/ocr-invoice-job.yaml +603 -0
  52. package/src/oas/patch-action.yaml +421 -0
  53. package/src/oas/payment-terms.yaml +235 -0
  54. package/src/oas/payments.yaml +536 -0
  55. package/src/oas/pricelist-item.yaml +369 -0
  56. package/src/oas/pricelist.yaml +287 -0
  57. package/src/oas/product-group.yaml +278 -0
  58. package/src/oas/product-modifiers-group.yaml +524 -0
  59. package/src/oas/product.yaml +578 -0
  60. package/src/oas/proforma.yaml +180 -0
  61. package/src/oas/quick-convert-to-pdf.yaml +95 -0
  62. package/src/oas/receiving-material.yaml +336 -0
  63. package/src/oas/refund.yaml +281 -0
  64. package/src/oas/rep-balance-summary.yaml +135 -0
  65. package/src/oas/rep.yaml +1824 -0
  66. package/src/oas/return-asset-part-unit.yaml +573 -0
  67. package/src/oas/return-reason.yaml +286 -0
  68. package/src/oas/route.yaml +337 -0
  69. package/src/oas/safe-invoice-serial-counter.yaml +525 -0
  70. package/src/oas/settings.yaml +123 -0
  71. package/src/oas/settlement.yaml +505 -0
  72. package/src/oas/speciality.yaml +447 -0
  73. package/src/oas/store-asset-part-unit.yaml +658 -0
  74. package/src/oas/storecheck-template.yaml +415 -0
  75. package/src/oas/subcategory.yaml +355 -0
  76. package/src/oas/supplier.yaml +183 -0
  77. package/src/oas/svix-integration.yaml +335 -0
  78. package/src/oas/tag.yaml +272 -0
  79. package/src/oas/tax.yaml +303 -0
  80. package/src/oas/team.yaml +268 -0
  81. package/src/oas/transfer.yaml +347 -0
  82. package/src/oas/update-integration-meta.yaml +387 -0
  83. package/src/oas/variant.yaml +569 -0
  84. package/src/oas/visit.yaml +174 -0
  85. package/src/oas/warehouse.yaml +311 -0
  86. package/src/oas/workorder-category.yaml +751 -0
  87. package/src/oas/workorder-portal-link.yaml +811 -0
  88. package/src/oas/workorder-portal.yaml +650 -0
  89. package/src/oas/workorder-request.yaml +193 -0
  90. package/src/oas/workorder.yaml +204 -0
@@ -0,0 +1,329 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Media Storage
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Media Storage endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /media-storage:
10
+ get:
11
+ summary: Find media storage items
12
+ operationId: findMediaStorage
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ properties:
19
+ _id:
20
+ oneOf:
21
+ - type: array
22
+ items:
23
+ type: string
24
+ - type: string
25
+ search:
26
+ type: string
27
+ filename:
28
+ type: string
29
+ mimeType:
30
+ oneOf:
31
+ - type: array
32
+ items:
33
+ type: string
34
+ - type: string
35
+ category:
36
+ type: string
37
+ entityType:
38
+ type: string
39
+ entityId:
40
+ type: string
41
+ from_updatedAt:
42
+ type: number
43
+ from__id:
44
+ type: string
45
+ to__id:
46
+ type: string
47
+ sortBy:
48
+ type: array
49
+ items:
50
+ type: object
51
+ properties:
52
+ field:
53
+ type: string
54
+ enum: [_id, createdAt, updatedAt, filename, size]
55
+ type:
56
+ type: string
57
+ enum: [asc, desc]
58
+ description: Query parameters for filtering media storage items
59
+ responses:
60
+ "200":
61
+ description: A list of media storage items
62
+ content:
63
+ application/json:
64
+ schema:
65
+ $ref: "#/components/schemas/MediaStorageFindResult"
66
+ post:
67
+ summary: Create a media storage item
68
+ operationId: createMediaStorage
69
+ requestBody:
70
+ required: true
71
+ content:
72
+ application/json:
73
+ schema:
74
+ $ref: "#/components/schemas/MediaStorageCreateBody"
75
+ responses:
76
+ "201":
77
+ description: Media storage item created
78
+ content:
79
+ application/json:
80
+ schema:
81
+ $ref: "#/components/schemas/MediaStorageCreateResult"
82
+ /media-storage/{id}:
83
+ get:
84
+ summary: Get a media storage item by ID
85
+ operationId: getMediaStorage
86
+ parameters:
87
+ - in: path
88
+ name: id
89
+ required: true
90
+ schema:
91
+ type: string
92
+ responses:
93
+ "200":
94
+ description: Media storage item details
95
+ content:
96
+ application/json:
97
+ schema:
98
+ $ref: "#/components/schemas/MediaStorageGetResult"
99
+ put:
100
+ summary: Update a media storage item
101
+ operationId: updateMediaStorage
102
+ parameters:
103
+ - in: path
104
+ name: id
105
+ required: true
106
+ schema:
107
+ type: string
108
+ requestBody:
109
+ required: true
110
+ content:
111
+ application/json:
112
+ schema:
113
+ $ref: "#/components/schemas/MediaStorageUpdateBody"
114
+ responses:
115
+ "200":
116
+ description: Media storage item updated
117
+ content:
118
+ application/json:
119
+ schema:
120
+ $ref: "#/components/schemas/MediaStorageUpdateResult"
121
+ delete:
122
+ summary: Remove a media storage item
123
+ operationId: removeMediaStorage
124
+ parameters:
125
+ - in: path
126
+ name: id
127
+ required: true
128
+ schema:
129
+ type: string
130
+ responses:
131
+ "200":
132
+ description: Media storage item removed
133
+ content:
134
+ application/json:
135
+ schema:
136
+ $ref: "#/components/schemas/MediaStorageRemoveResult"
137
+ components:
138
+ schemas:
139
+ MediaStorageFindResult:
140
+ type: object
141
+ description: Result of finding media storage items
142
+ properties:
143
+ data:
144
+ type: array
145
+ items:
146
+ $ref: "#/components/schemas/MediaStorageSchema"
147
+ total_result:
148
+ type: number
149
+ description: Total number of media storage items
150
+ current_count:
151
+ type: number
152
+ description: Count of media storage items in current page
153
+ total_pages:
154
+ type: number
155
+ description: Total number of pages
156
+ current_page:
157
+ type: number
158
+ description: Current page number
159
+ per_page:
160
+ type: number
161
+ description: Number of media storage items per page
162
+ MediaStorageSchema:
163
+ type: object
164
+ description: Media storage schema
165
+ properties:
166
+ _id:
167
+ type: string
168
+ description: Unique identifier for the media storage item
169
+ filename:
170
+ type: string
171
+ description: Original filename
172
+ url:
173
+ type: string
174
+ description: URL to access the media file
175
+ mimeType:
176
+ type: string
177
+ description: MIME type of the file
178
+ size:
179
+ type: number
180
+ description: File size in bytes
181
+ category:
182
+ type: string
183
+ description: Media category
184
+ entityType:
185
+ type: string
186
+ description: Type of entity this media is associated with
187
+ entityId:
188
+ type: string
189
+ description: ID of the entity this media is associated with
190
+ uploadedBy:
191
+ type: string
192
+ description: ID of user who uploaded the media
193
+ isPublic:
194
+ type: boolean
195
+ description: Whether the media is publicly accessible
196
+ thumbnailUrl:
197
+ type: string
198
+ description: URL to thumbnail version (for images)
199
+ metadata:
200
+ type: object
201
+ additionalProperties: true
202
+ description: Additional metadata about the file
203
+ tags:
204
+ type: array
205
+ items:
206
+ type: string
207
+ description: Tags associated with the media
208
+ description:
209
+ type: string
210
+ description: Description of the media
211
+ integration_meta:
212
+ type: object
213
+ additionalProperties: true
214
+ description: Integration metadata
215
+ company_namespace:
216
+ type: array
217
+ items:
218
+ type: string
219
+ description: Company namespaces
220
+ createdAt:
221
+ type: string
222
+ format: date-time
223
+ description: Creation timestamp
224
+ updatedAt:
225
+ type: string
226
+ format: date-time
227
+ description: Last update timestamp
228
+ __v:
229
+ type: number
230
+ description: Version number
231
+ MediaStorageCreateBody:
232
+ type: object
233
+ description: Body for creating a media storage item
234
+ required:
235
+ - filename
236
+ - url
237
+ - mimeType
238
+ - size
239
+ properties:
240
+ filename:
241
+ type: string
242
+ description: Original filename
243
+ url:
244
+ type: string
245
+ description: URL to access the media file
246
+ mimeType:
247
+ type: string
248
+ description: MIME type of the file
249
+ size:
250
+ type: number
251
+ description: File size in bytes
252
+ category:
253
+ type: string
254
+ description: Media category
255
+ entityType:
256
+ type: string
257
+ description: Type of entity this media is associated with
258
+ entityId:
259
+ type: string
260
+ description: ID of the entity this media is associated with
261
+ isPublic:
262
+ type: boolean
263
+ description: Whether the media is publicly accessible
264
+ thumbnailUrl:
265
+ type: string
266
+ description: URL to thumbnail version (for images)
267
+ metadata:
268
+ type: object
269
+ additionalProperties: true
270
+ description: Additional metadata about the file
271
+ tags:
272
+ type: array
273
+ items:
274
+ type: string
275
+ description: Tags associated with the media
276
+ description:
277
+ type: string
278
+ description: Description of the media
279
+ integration_meta:
280
+ type: object
281
+ additionalProperties: true
282
+ description: Integration metadata
283
+ MediaStorageCreateResult:
284
+ $ref: "#/components/schemas/MediaStorageSchema"
285
+ description: Result of creating a media storage item
286
+ MediaStorageGetResult:
287
+ $ref: "#/components/schemas/MediaStorageSchema"
288
+ description: Result of getting a media storage item
289
+ MediaStorageUpdateBody:
290
+ type: object
291
+ description: Body for updating a media storage item
292
+ properties:
293
+ filename:
294
+ type: string
295
+ description: Original filename
296
+ category:
297
+ type: string
298
+ description: Media category
299
+ entityType:
300
+ type: string
301
+ description: Type of entity this media is associated with
302
+ entityId:
303
+ type: string
304
+ description: ID of the entity this media is associated with
305
+ isPublic:
306
+ type: boolean
307
+ description: Whether the media is publicly accessible
308
+ metadata:
309
+ type: object
310
+ additionalProperties: true
311
+ description: Additional metadata about the file
312
+ tags:
313
+ type: array
314
+ items:
315
+ type: string
316
+ description: Tags associated with the media
317
+ description:
318
+ type: string
319
+ description: Description of the media
320
+ integration_meta:
321
+ type: object
322
+ additionalProperties: true
323
+ description: Integration metadata
324
+ MediaStorageUpdateResult:
325
+ $ref: "#/components/schemas/MediaStorageSchema"
326
+ description: Result of updating a media storage item
327
+ MediaStorageRemoveResult:
328
+ $ref: "#/components/schemas/MediaStorageSchema"
329
+ description: Result of removing a media storage item