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,278 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Product Group
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Product Group endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /product-group:
10
+ get:
11
+ summary: Find product groups
12
+ operationId: findProductGroups
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
+ name:
28
+ oneOf:
29
+ - type: array
30
+ items:
31
+ type: string
32
+ - type: string
33
+ local_name:
34
+ oneOf:
35
+ - type: array
36
+ items:
37
+ type: string
38
+ - type: string
39
+ disabled:
40
+ type: boolean
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]
55
+ type:
56
+ type: string
57
+ enum: [asc, desc]
58
+ createdAt:
59
+ type: number
60
+ updatedAt:
61
+ type: number
62
+ description: Query parameters for filtering product groups
63
+ responses:
64
+ "200":
65
+ description: A list of product groups
66
+ content:
67
+ application/json:
68
+ schema:
69
+ $ref: "#/components/schemas/ProductGroupFindResult"
70
+ post:
71
+ summary: Create a product group
72
+ operationId: createProductGroup
73
+ requestBody:
74
+ required: true
75
+ content:
76
+ application/json:
77
+ schema:
78
+ $ref: "#/components/schemas/ProductGroupCreateBody"
79
+ responses:
80
+ "201":
81
+ description: Product group created
82
+ content:
83
+ application/json:
84
+ schema:
85
+ $ref: "#/components/schemas/ProductGroupCreateResult"
86
+ /product-group/{id}:
87
+ get:
88
+ summary: Get a product group by ID
89
+ operationId: getProductGroup
90
+ parameters:
91
+ - in: path
92
+ name: id
93
+ required: true
94
+ schema:
95
+ type: string
96
+ responses:
97
+ "200":
98
+ description: Product group details
99
+ content:
100
+ application/json:
101
+ schema:
102
+ $ref: "#/components/schemas/ProductGroupGetResult"
103
+ put:
104
+ summary: Update a product group
105
+ operationId: updateProductGroup
106
+ parameters:
107
+ - in: path
108
+ name: id
109
+ required: true
110
+ schema:
111
+ type: string
112
+ requestBody:
113
+ required: true
114
+ content:
115
+ application/json:
116
+ schema:
117
+ $ref: "#/components/schemas/ProductGroupUpdateBody"
118
+ responses:
119
+ "200":
120
+ description: Product group updated
121
+ content:
122
+ application/json:
123
+ schema:
124
+ $ref: "#/components/schemas/ProductGroupUpdateResult"
125
+ delete:
126
+ summary: Remove a product group
127
+ operationId: removeProductGroup
128
+ parameters:
129
+ - in: path
130
+ name: id
131
+ required: true
132
+ schema:
133
+ type: string
134
+ responses:
135
+ "200":
136
+ description: Product group removed
137
+ content:
138
+ application/json:
139
+ schema:
140
+ $ref: "#/components/schemas/ProductGroupRemoveResult"
141
+ components:
142
+ schemas:
143
+ ProductGroupFindResult:
144
+ type: object
145
+ description: Result of finding product groups
146
+ properties:
147
+ data:
148
+ type: array
149
+ items:
150
+ $ref: "#/components/schemas/ProductGroupSchema"
151
+ total_result:
152
+ type: number
153
+ description: Total number of product groups
154
+ current_count:
155
+ type: number
156
+ description: Count of product groups in current page
157
+ total_pages:
158
+ type: number
159
+ description: Total number of pages
160
+ current_page:
161
+ type: number
162
+ description: Current page number
163
+ per_page:
164
+ type: number
165
+ description: Number of product groups per page
166
+ first_page_url:
167
+ type: string
168
+ description: URL for the first page
169
+ last_page_url:
170
+ type: string
171
+ description: URL for the last page
172
+ next_page_url:
173
+ type: string
174
+ nullable: true
175
+ description: URL for the next page
176
+ prev_page_url:
177
+ type: string
178
+ nullable: true
179
+ description: URL for the previous page
180
+ path:
181
+ type: string
182
+ description: Base URL path
183
+ ProductGroupSchema:
184
+ type: object
185
+ description: Product group schema
186
+ properties:
187
+ _id:
188
+ type: string
189
+ description: Unique identifier for the product group
190
+ name:
191
+ type: string
192
+ description: Name of the product group
193
+ local_name:
194
+ type: string
195
+ description: Localized name of the product group
196
+ disabled:
197
+ type: boolean
198
+ description: Whether the product group is disabled
199
+ company_namespace:
200
+ type: array
201
+ items:
202
+ type: string
203
+ description: Company namespaces
204
+ createdAt:
205
+ type: string
206
+ format: date-time
207
+ description: Creation timestamp
208
+ updatedAt:
209
+ type: string
210
+ format: date-time
211
+ description: Last update timestamp
212
+ __v:
213
+ type: number
214
+ description: Version number
215
+ ProductGroupCreateBody:
216
+ type: object
217
+ description: Body for creating a product group
218
+ required:
219
+ - name
220
+ properties:
221
+ name:
222
+ type: string
223
+ description: Name of the product group
224
+ local_name:
225
+ type: string
226
+ description: Localized name of the product group
227
+ disabled:
228
+ type: boolean
229
+ description: Whether the product group is disabled
230
+ company_namespace:
231
+ type: array
232
+ items:
233
+ type: string
234
+ description: Company namespaces
235
+ ProductGroupCreateResult:
236
+ $ref: "#/components/schemas/ProductGroupSchema"
237
+ description: Result of creating a product group
238
+ ProductGroupGetResult:
239
+ $ref: "#/components/schemas/ProductGroupSchema"
240
+ description: Result of getting a product group
241
+ ProductGroupUpdateBody:
242
+ type: object
243
+ description: Body for updating a product group
244
+ properties:
245
+ name:
246
+ type: string
247
+ description: Name of the product group
248
+ local_name:
249
+ type: string
250
+ description: Localized name of the product group
251
+ disabled:
252
+ type: boolean
253
+ description: Whether the product group is disabled
254
+ company_namespace:
255
+ type: array
256
+ items:
257
+ type: string
258
+ description: Company namespaces
259
+ _id:
260
+ type: string
261
+ description: Unique identifier for the product group
262
+ createdAt:
263
+ type: string
264
+ format: date-time
265
+ description: Creation timestamp
266
+ updatedAt:
267
+ type: string
268
+ format: date-time
269
+ description: Last update timestamp
270
+ __v:
271
+ type: number
272
+ description: Version number
273
+ ProductGroupUpdateResult:
274
+ $ref: "#/components/schemas/ProductGroupSchema"
275
+ description: Result of updating a product group
276
+ ProductGroupRemoveResult:
277
+ $ref: "#/components/schemas/ProductGroupSchema"
278
+ description: Result of removing a product group