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,369 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Price List Item
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Price List Item endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /pricelistitem:
10
+ get:
11
+ summary: Find price list items
12
+ operationId: findPriceListItems
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
+ product_id:
28
+ oneOf:
29
+ - type: array
30
+ items:
31
+ type: string
32
+ - type: string
33
+ variant_id:
34
+ oneOf:
35
+ - type: array
36
+ items:
37
+ type: string
38
+ - type: string
39
+ pricelist_id:
40
+ oneOf:
41
+ - type: array
42
+ items:
43
+ type: string
44
+ - type: string
45
+ disabled:
46
+ type: boolean
47
+ from_updatedAt:
48
+ type: number
49
+ populatedKeys:
50
+ type: array
51
+ items:
52
+ type: string
53
+ enum: [product, variant, pricelist]
54
+ description: Query parameters for filtering price list items
55
+ responses:
56
+ "200":
57
+ description: A list of price list items
58
+ content:
59
+ application/json:
60
+ schema:
61
+ $ref: "#/components/schemas/PriceListItemFindResult"
62
+ post:
63
+ summary: Create a price list item
64
+ operationId: createPriceListItem
65
+ requestBody:
66
+ required: true
67
+ content:
68
+ application/json:
69
+ schema:
70
+ $ref: "#/components/schemas/PriceListItemCreateBody"
71
+ responses:
72
+ "201":
73
+ description: Price list item created
74
+ content:
75
+ application/json:
76
+ schema:
77
+ $ref: "#/components/schemas/PriceListItemCreateResult"
78
+ /pricelistitem/{id}:
79
+ get:
80
+ summary: Get a price list item by ID
81
+ operationId: getPriceListItem
82
+ parameters:
83
+ - in: path
84
+ name: id
85
+ required: true
86
+ schema:
87
+ type: string
88
+ responses:
89
+ "200":
90
+ description: Price list item details
91
+ content:
92
+ application/json:
93
+ schema:
94
+ $ref: "#/components/schemas/PriceListItemGetResult"
95
+ put:
96
+ summary: Update a price list item
97
+ operationId: updatePriceListItem
98
+ parameters:
99
+ - in: path
100
+ name: id
101
+ required: true
102
+ schema:
103
+ type: string
104
+ requestBody:
105
+ required: true
106
+ content:
107
+ application/json:
108
+ schema:
109
+ $ref: "#/components/schemas/PriceListItemUpdateBody"
110
+ responses:
111
+ "200":
112
+ description: Price list item updated
113
+ content:
114
+ application/json:
115
+ schema:
116
+ $ref: "#/components/schemas/PriceListItemUpdateResult"
117
+ delete:
118
+ summary: Remove a price list item
119
+ operationId: removePriceListItem
120
+ parameters:
121
+ - in: path
122
+ name: id
123
+ required: true
124
+ schema:
125
+ type: string
126
+ responses:
127
+ "200":
128
+ description: Price list item removed
129
+ content:
130
+ application/json:
131
+ schema:
132
+ $ref: "#/components/schemas/PriceListItemRemoveResult"
133
+ components:
134
+ schemas:
135
+ PriceListItemFindResult:
136
+ type: object
137
+ description: Result of finding price list items
138
+ properties:
139
+ data:
140
+ type: array
141
+ items:
142
+ allOf:
143
+ - $ref: "#/components/schemas/PriceListItemSchema"
144
+ - type: object
145
+ properties:
146
+ product_id:
147
+ oneOf:
148
+ - type: string
149
+ - $ref: "#/components/schemas/ProductReference"
150
+ variant_id:
151
+ oneOf:
152
+ - type: string
153
+ - $ref: "#/components/schemas/VariantReference"
154
+ pricelist_id:
155
+ oneOf:
156
+ - type: string
157
+ - $ref: "#/components/schemas/PriceListReference"
158
+ total_result:
159
+ type: number
160
+ description: Total number of price list items
161
+ current_count:
162
+ type: number
163
+ description: Count of price list items in current page
164
+ total_pages:
165
+ type: number
166
+ description: Total number of pages
167
+ current_page:
168
+ type: number
169
+ description: Current page number
170
+ per_page:
171
+ type: number
172
+ description: Number of price list items per page
173
+ first_page_url:
174
+ type: string
175
+ description: URL for the first page
176
+ last_page_url:
177
+ type: string
178
+ description: URL for the last page
179
+ next_page_url:
180
+ type: string
181
+ nullable: true
182
+ description: URL for the next page
183
+ prev_page_url:
184
+ type: string
185
+ nullable: true
186
+ description: URL for the previous page
187
+ path:
188
+ type: string
189
+ description: Base URL path
190
+ PriceListItemSchema:
191
+ type: object
192
+ description: Price list item schema
193
+ properties:
194
+ _id:
195
+ type: string
196
+ description: Unique identifier for the price list item
197
+ product_id:
198
+ type: string
199
+ description: ID of the product
200
+ variant_id:
201
+ type: string
202
+ description: ID of the variant
203
+ pricelist_id:
204
+ type: string
205
+ description: ID of the price list
206
+ price:
207
+ type: number
208
+ description: Price value
209
+ disabled:
210
+ type: boolean
211
+ description: Whether the price list item is disabled
212
+ integration_meta:
213
+ type: object
214
+ additionalProperties: true
215
+ description: Integration metadata
216
+ company_namespace:
217
+ type: array
218
+ items:
219
+ type: string
220
+ description: Company namespaces
221
+ createdAt:
222
+ type: string
223
+ format: date-time
224
+ description: Creation timestamp
225
+ updatedAt:
226
+ type: string
227
+ format: date-time
228
+ description: Last update timestamp
229
+ __v:
230
+ type: number
231
+ description: Version number
232
+ ProductReference:
233
+ type: object
234
+ description: Reference to a product
235
+ properties:
236
+ _id:
237
+ type: string
238
+ description: Product ID
239
+ name:
240
+ type: string
241
+ description: Product name
242
+ category:
243
+ type: string
244
+ description: Product category
245
+ active:
246
+ type: boolean
247
+ description: Whether the product is active
248
+ sku:
249
+ type: string
250
+ description: Product SKU
251
+ barcode:
252
+ type: string
253
+ description: Product barcode
254
+ VariantReference:
255
+ type: object
256
+ description: Reference to a variant
257
+ properties:
258
+ _id:
259
+ type: string
260
+ description: Variant ID
261
+ name:
262
+ type: string
263
+ description: Variant name
264
+ product:
265
+ type: string
266
+ description: Product ID
267
+ sku:
268
+ type: string
269
+ description: Variant SKU
270
+ barcode:
271
+ type: string
272
+ description: Variant barcode
273
+ PriceListReference:
274
+ type: object
275
+ description: Reference to a price list
276
+ properties:
277
+ _id:
278
+ type: string
279
+ description: Price list ID
280
+ name:
281
+ type: string
282
+ description: Price list name
283
+ PriceListItemCreateBody:
284
+ type: object
285
+ description: Body for creating a price list item
286
+ required:
287
+ - product_id
288
+ - variant_id
289
+ - pricelist_id
290
+ - price
291
+ properties:
292
+ product_id:
293
+ type: string
294
+ description: ID of the product
295
+ variant_id:
296
+ type: string
297
+ description: ID of the variant
298
+ pricelist_id:
299
+ type: string
300
+ description: ID of the price list
301
+ price:
302
+ type: number
303
+ description: Price value
304
+ integration_meta:
305
+ type: object
306
+ additionalProperties: true
307
+ description: Integration metadata
308
+ disabled:
309
+ type: boolean
310
+ description: Whether the price list item is disabled
311
+ company_namespace:
312
+ type: array
313
+ items:
314
+ type: string
315
+ description: Company namespaces
316
+ PriceListItemCreateResult:
317
+ $ref: "#/components/schemas/PriceListItemSchema"
318
+ description: Result of creating a price list item
319
+ PriceListItemGetResult:
320
+ $ref: "#/components/schemas/PriceListItemSchema"
321
+ description: Result of getting a price list item
322
+ PriceListItemUpdateBody:
323
+ type: object
324
+ description: Body for updating a price list item
325
+ properties:
326
+ product_id:
327
+ type: string
328
+ description: ID of the product
329
+ variant_id:
330
+ type: string
331
+ description: ID of the variant
332
+ pricelist_id:
333
+ type: string
334
+ description: ID of the price list
335
+ price:
336
+ type: number
337
+ description: Price value
338
+ integration_meta:
339
+ type: object
340
+ additionalProperties: true
341
+ description: Integration metadata
342
+ disabled:
343
+ type: boolean
344
+ description: Whether the price list item is disabled
345
+ company_namespace:
346
+ type: array
347
+ items:
348
+ type: string
349
+ description: Company namespaces
350
+ _id:
351
+ type: string
352
+ description: Unique identifier for the price list item
353
+ createdAt:
354
+ type: string
355
+ format: date-time
356
+ description: Creation timestamp
357
+ updatedAt:
358
+ type: string
359
+ format: date-time
360
+ description: Last update timestamp
361
+ __v:
362
+ type: number
363
+ description: Version number
364
+ PriceListItemUpdateResult:
365
+ $ref: "#/components/schemas/PriceListItemSchema"
366
+ description: Result of updating a price list item
367
+ PriceListItemRemoveResult:
368
+ $ref: "#/components/schemas/PriceListItemSchema"
369
+ description: Result of removing a price list item
@@ -0,0 +1,287 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Price List
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Price List endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /pricelist:
10
+ get:
11
+ summary: Find price lists
12
+ operationId: findPriceLists
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
+ "createdby._id":
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
+ description: Query parameters for filtering price lists
59
+ responses:
60
+ "200":
61
+ description: A list of price lists
62
+ content:
63
+ application/json:
64
+ schema:
65
+ $ref: "#/components/schemas/PriceListFindResult"
66
+ post:
67
+ summary: Create a price list
68
+ operationId: createPriceList
69
+ requestBody:
70
+ required: true
71
+ content:
72
+ application/json:
73
+ schema:
74
+ $ref: "#/components/schemas/PriceListCreateBody"
75
+ responses:
76
+ "201":
77
+ description: Price list created
78
+ content:
79
+ application/json:
80
+ schema:
81
+ $ref: "#/components/schemas/PriceListCreateResult"
82
+ /pricelist/{id}:
83
+ get:
84
+ summary: Get a price list by ID
85
+ operationId: getPriceList
86
+ parameters:
87
+ - in: path
88
+ name: id
89
+ required: true
90
+ schema:
91
+ type: string
92
+ responses:
93
+ "200":
94
+ description: Price list details
95
+ content:
96
+ application/json:
97
+ schema:
98
+ $ref: "#/components/schemas/PriceListGetResult"
99
+ put:
100
+ summary: Update a price list
101
+ operationId: updatePriceList
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/PriceListUpdateBody"
114
+ responses:
115
+ "200":
116
+ description: Price list updated
117
+ content:
118
+ application/json:
119
+ schema:
120
+ $ref: "#/components/schemas/PriceListUpdateResult"
121
+ delete:
122
+ summary: Remove a price list
123
+ operationId: removePriceList
124
+ parameters:
125
+ - in: path
126
+ name: id
127
+ required: true
128
+ schema:
129
+ type: string
130
+ responses:
131
+ "200":
132
+ description: Price list removed
133
+ content:
134
+ application/json:
135
+ schema:
136
+ $ref: "#/components/schemas/PriceListRemoveResult"
137
+ components:
138
+ schemas:
139
+ PriceListFindResult:
140
+ type: object
141
+ description: Result of finding price lists
142
+ properties:
143
+ data:
144
+ type: array
145
+ items:
146
+ $ref: "#/components/schemas/PriceListSchema"
147
+ total_result:
148
+ type: number
149
+ description: Total number of price lists
150
+ current_count:
151
+ type: number
152
+ description: Count of price lists 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 price lists per page
162
+ first_page_url:
163
+ type: string
164
+ description: URL for the first page
165
+ last_page_url:
166
+ type: string
167
+ description: URL for the last page
168
+ next_page_url:
169
+ type: string
170
+ nullable: true
171
+ description: URL for the next page
172
+ prev_page_url:
173
+ type: string
174
+ nullable: true
175
+ description: URL for the previous page
176
+ path:
177
+ type: string
178
+ description: Base URL path
179
+ PriceListSchema:
180
+ type: object
181
+ description: Price list schema
182
+ properties:
183
+ _id:
184
+ type: string
185
+ description: Unique identifier for the price list
186
+ name:
187
+ type: string
188
+ description: Name of the price list
189
+ createdby:
190
+ type: object
191
+ properties:
192
+ _id:
193
+ type: string
194
+ description: ID of the creator
195
+ name:
196
+ type: string
197
+ description: Name of the creator
198
+ description: Creator information
199
+ disabled:
200
+ type: boolean
201
+ description: Whether the price list is disabled
202
+ integration_meta:
203
+ type: object
204
+ additionalProperties: true
205
+ description: Integration metadata
206
+ company_namespace:
207
+ type: array
208
+ items:
209
+ type: string
210
+ description: Company namespaces
211
+ createdAt:
212
+ type: string
213
+ format: date-time
214
+ description: Creation timestamp
215
+ updatedAt:
216
+ type: string
217
+ format: date-time
218
+ description: Last update timestamp
219
+ __v:
220
+ type: number
221
+ description: Version number
222
+ PriceListCreateBody:
223
+ type: object
224
+ description: Body for creating a price list
225
+ required:
226
+ - name
227
+ properties:
228
+ name:
229
+ type: string
230
+ description: Name of the price list
231
+ integration_meta:
232
+ type: object
233
+ additionalProperties: true
234
+ description: Integration metadata
235
+ disabled:
236
+ type: boolean
237
+ description: Whether the price list is disabled
238
+ company_namespace:
239
+ type: array
240
+ items:
241
+ type: string
242
+ description: Company namespaces
243
+ PriceListCreateResult:
244
+ $ref: "#/components/schemas/PriceListSchema"
245
+ description: Result of creating a price list
246
+ PriceListGetResult:
247
+ $ref: "#/components/schemas/PriceListSchema"
248
+ description: Result of getting a price list
249
+ PriceListUpdateBody:
250
+ type: object
251
+ description: Body for updating a price list
252
+ properties:
253
+ name:
254
+ type: string
255
+ description: Name of the price list
256
+ integration_meta:
257
+ type: object
258
+ additionalProperties: true
259
+ description: Integration metadata
260
+ disabled:
261
+ type: boolean
262
+ description: Whether the price list is disabled
263
+ company_namespace:
264
+ type: array
265
+ items:
266
+ type: string
267
+ description: Company namespaces
268
+ _id:
269
+ type: string
270
+ description: Unique identifier for the price list
271
+ createdAt:
272
+ type: string
273
+ format: date-time
274
+ description: Creation timestamp
275
+ updatedAt:
276
+ type: string
277
+ format: date-time
278
+ description: Last update timestamp
279
+ __v:
280
+ type: number
281
+ description: Version number
282
+ PriceListUpdateResult:
283
+ $ref: "#/components/schemas/PriceListSchema"
284
+ description: Result of updating a price list
285
+ PriceListRemoveResult:
286
+ $ref: "#/components/schemas/PriceListSchema"
287
+ description: Result of removing a price list