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.
Files changed (94) hide show
  1. package/lib/index.d.ts +1 -2
  2. package/lib/index.js +1 -1
  3. package/lib/types/index.d.ts +2 -2
  4. package/package.json +2 -2
  5. package/src/index.ts +4890 -0
  6. package/src/oas/activity-ai-sales-order.yaml +623 -0
  7. package/src/oas/activity-feedback-v2.yaml +753 -0
  8. package/src/oas/activity-feedback.yaml +645 -0
  9. package/src/oas/activity-storecheck.yaml +379 -0
  10. package/src/oas/adjust-account.yaml +241 -0
  11. package/src/oas/adjust-inventory.yaml +133 -0
  12. package/src/oas/approval-request.yaml +211 -0
  13. package/src/oas/approvals.yaml +176 -0
  14. package/src/oas/asset-part-receival.yaml +591 -0
  15. package/src/oas/asset-part-transfer.yaml +618 -0
  16. package/src/oas/asset-part-type.yaml +383 -0
  17. package/src/oas/asset-part-unit.yaml +722 -0
  18. package/src/oas/asset-part.yaml +485 -0
  19. package/src/oas/asset-type.yaml +180 -0
  20. package/src/oas/asset-unit.yaml +705 -0
  21. package/src/oas/asset.yaml +204 -0
  22. package/src/oas/banks.yaml +168 -0
  23. package/src/oas/bankslists.yaml +168 -0
  24. package/src/oas/brand.yaml +246 -0
  25. package/src/oas/category.yaml +285 -0
  26. package/src/oas/checks.yaml +247 -0
  27. package/src/oas/client-channel.yaml +480 -0
  28. package/src/oas/client-contact.yaml +665 -0
  29. package/src/oas/client-location.yaml +687 -0
  30. package/src/oas/client.yaml +669 -0
  31. package/src/oas/contract-installment.yaml +740 -0
  32. package/src/oas/contract.yaml +210 -0
  33. package/src/oas/custom-list-item.yaml +168 -0
  34. package/src/oas/custom-list.yaml +168 -0
  35. package/src/oas/custom-status.yaml +168 -0
  36. package/src/oas/day.yaml +246 -0
  37. package/src/oas/feedback-options.yaml +802 -0
  38. package/src/oas/fullinvoices.yaml +584 -0
  39. package/src/oas/integration-action-log.yaml +361 -0
  40. package/src/oas/integration-app.yaml +303 -0
  41. package/src/oas/integration-command-log.yaml +381 -0
  42. package/src/oas/inventory-adjustment-reason.yaml +165 -0
  43. package/src/oas/inventory.yaml +64 -0
  44. package/src/oas/mail-unsubscribe.yaml +463 -0
  45. package/src/oas/measureunit-family.yaml +354 -0
  46. package/src/oas/measureunit.yaml +366 -0
  47. package/src/oas/media-storage.yaml +329 -0
  48. package/src/oas/media.yaml +472 -0
  49. package/src/oas/msl-products.yaml +180 -0
  50. package/src/oas/msl.yaml +186 -0
  51. package/src/oas/ocr-invoice-job-group.yaml +528 -0
  52. package/src/oas/ocr-invoice-job-page.yaml +602 -0
  53. package/src/oas/ocr-invoice-job-template.yaml +628 -0
  54. package/src/oas/ocr-invoice-job.yaml +603 -0
  55. package/src/oas/patch-action.yaml +421 -0
  56. package/src/oas/payment-terms.yaml +235 -0
  57. package/src/oas/payments.yaml +536 -0
  58. package/src/oas/pricelist-item.yaml +369 -0
  59. package/src/oas/pricelist.yaml +287 -0
  60. package/src/oas/product-group.yaml +278 -0
  61. package/src/oas/product-modifiers-group.yaml +524 -0
  62. package/src/oas/product.yaml +578 -0
  63. package/src/oas/proforma.yaml +180 -0
  64. package/src/oas/quick-convert-to-pdf.yaml +95 -0
  65. package/src/oas/receiving-material.yaml +336 -0
  66. package/src/oas/refund.yaml +281 -0
  67. package/src/oas/rep-balance-summary.yaml +135 -0
  68. package/src/oas/rep.yaml +1824 -0
  69. package/src/oas/return-asset-part-unit.yaml +573 -0
  70. package/src/oas/return-reason.yaml +286 -0
  71. package/src/oas/route.yaml +337 -0
  72. package/src/oas/safe-invoice-serial-counter.yaml +525 -0
  73. package/src/oas/settings.yaml +123 -0
  74. package/src/oas/settlement.yaml +505 -0
  75. package/src/oas/speciality.yaml +447 -0
  76. package/src/oas/store-asset-part-unit.yaml +658 -0
  77. package/src/oas/storecheck-template.yaml +415 -0
  78. package/src/oas/subcategory.yaml +355 -0
  79. package/src/oas/supplier.yaml +183 -0
  80. package/src/oas/svix-integration.yaml +335 -0
  81. package/src/oas/tag.yaml +272 -0
  82. package/src/oas/tax.yaml +303 -0
  83. package/src/oas/team.yaml +268 -0
  84. package/src/oas/transfer.yaml +347 -0
  85. package/src/oas/update-integration-meta.yaml +387 -0
  86. package/src/oas/variant.yaml +569 -0
  87. package/src/oas/visit.yaml +174 -0
  88. package/src/oas/warehouse.yaml +311 -0
  89. package/src/oas/workorder-category.yaml +751 -0
  90. package/src/oas/workorder-portal-link.yaml +811 -0
  91. package/src/oas/workorder-portal.yaml +650 -0
  92. package/src/oas/workorder-request.yaml +193 -0
  93. package/src/oas/workorder.yaml +204 -0
  94. package/src/types/index.ts +2 -1
@@ -0,0 +1,246 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Brand
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Brand endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /product-brand:
10
+ get:
11
+ summary: Find brands
12
+ operationId: findBrands
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering brands
19
+ responses:
20
+ "200":
21
+ description: A list of brands
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/BrandFindResult"
26
+ post:
27
+ summary: Create a brand
28
+ operationId: createBrand
29
+ requestBody:
30
+ required: true
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: "#/components/schemas/BrandCreateBody"
35
+ responses:
36
+ "201":
37
+ description: Brand created
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: "#/components/schemas/BrandCreateResult"
42
+ /product-brand/{id}:
43
+ get:
44
+ summary: Get a brand by ID
45
+ operationId: getBrand
46
+ parameters:
47
+ - in: path
48
+ name: id
49
+ required: true
50
+ schema:
51
+ type: string
52
+ responses:
53
+ "200":
54
+ description: Brand details
55
+ content:
56
+ application/json:
57
+ schema:
58
+ $ref: "#/components/schemas/BrandGetResult"
59
+ put:
60
+ summary: Update a brand
61
+ operationId: updateBrand
62
+ parameters:
63
+ - in: path
64
+ name: id
65
+ required: true
66
+ schema:
67
+ type: string
68
+ requestBody:
69
+ required: true
70
+ content:
71
+ application/json:
72
+ schema:
73
+ $ref: "#/components/schemas/BrandUpdateBody"
74
+ responses:
75
+ "200":
76
+ description: Brand updated
77
+ content:
78
+ application/json:
79
+ schema:
80
+ $ref: "#/components/schemas/BrandUpdateResult"
81
+ delete:
82
+ summary: Remove a brand
83
+ operationId: removeBrand
84
+ parameters:
85
+ - in: path
86
+ name: id
87
+ required: true
88
+ schema:
89
+ type: string
90
+ responses:
91
+ "200":
92
+ description: Brand removed
93
+ content:
94
+ application/json:
95
+ schema:
96
+ $ref: "#/components/schemas/BrandRemoveResult"
97
+ components:
98
+ schemas:
99
+ BrandFindResult:
100
+ type: object
101
+ description: Result of finding brands
102
+ properties:
103
+ data:
104
+ type: array
105
+ items:
106
+ $ref: "#/components/schemas/BrandSchema"
107
+ total_result:
108
+ type: number
109
+ description: Total number of brands
110
+ current_count:
111
+ type: number
112
+ description: Count of brands in current page
113
+ total_pages:
114
+ type: number
115
+ description: Total number of pages
116
+ current_page:
117
+ type: number
118
+ description: Current page number
119
+ per_page:
120
+ type: number
121
+ description: Number of brands per page
122
+ first_page_url:
123
+ type: string
124
+ description: URL for the first page
125
+ last_page_url:
126
+ type: string
127
+ description: URL for the last page
128
+ next_page_url:
129
+ type: string
130
+ nullable: true
131
+ description: URL for the next page
132
+ prev_page_url:
133
+ type: string
134
+ nullable: true
135
+ description: URL for the previous page
136
+ path:
137
+ type: string
138
+ description: Base URL path
139
+ BrandSchema:
140
+ type: object
141
+ description: Brand schema
142
+ properties:
143
+ _id:
144
+ type: string
145
+ description: Unique identifier for the brand
146
+ name:
147
+ type: string
148
+ description: Name of the brand
149
+ local_name:
150
+ type: string
151
+ description: Localized name of the brand
152
+ disabled:
153
+ type: boolean
154
+ description: Whether the brand is disabled
155
+ integration_meta:
156
+ type: object
157
+ additionalProperties: true
158
+ description: Integration metadata
159
+ company_namespace:
160
+ type: array
161
+ items:
162
+ type: string
163
+ description: Company namespaces
164
+ createdAt:
165
+ type: string
166
+ format: date-time
167
+ description: Creation timestamp
168
+ updatedAt:
169
+ type: string
170
+ format: date-time
171
+ description: Last update timestamp
172
+ __v:
173
+ type: number
174
+ description: Version number
175
+ BrandCreateBody:
176
+ type: object
177
+ description: Body for creating a brand
178
+ required:
179
+ - name
180
+ properties:
181
+ name:
182
+ type: string
183
+ description: Name of the brand
184
+ local_name:
185
+ type: string
186
+ description: Localized name of the brand
187
+ disabled:
188
+ type: boolean
189
+ description: Whether the brand is disabled
190
+ integration_meta:
191
+ type: object
192
+ additionalProperties: true
193
+ description: Integration metadata
194
+ company_namespace:
195
+ type: array
196
+ items:
197
+ type: string
198
+ description: Company namespaces
199
+ BrandCreateResult:
200
+ $ref: "#/components/schemas/BrandSchema"
201
+ description: Result of creating a brand
202
+ BrandGetResult:
203
+ $ref: "#/components/schemas/BrandSchema"
204
+ description: Result of getting a brand
205
+ BrandUpdateBody:
206
+ type: object
207
+ description: Body for updating a brand
208
+ properties:
209
+ name:
210
+ type: string
211
+ description: Name of the brand
212
+ local_name:
213
+ type: string
214
+ description: Localized name of the brand
215
+ disabled:
216
+ type: boolean
217
+ description: Whether the brand is disabled
218
+ integration_meta:
219
+ type: object
220
+ additionalProperties: true
221
+ description: Integration metadata
222
+ company_namespace:
223
+ type: array
224
+ items:
225
+ type: string
226
+ description: Company namespaces
227
+ _id:
228
+ type: string
229
+ description: Unique identifier for the brand
230
+ createdAt:
231
+ type: string
232
+ format: date-time
233
+ description: Creation timestamp
234
+ updatedAt:
235
+ type: string
236
+ format: date-time
237
+ description: Last update timestamp
238
+ __v:
239
+ type: number
240
+ description: Version number
241
+ BrandUpdateResult:
242
+ $ref: "#/components/schemas/BrandSchema"
243
+ description: Result of updating a brand
244
+ BrandRemoveResult:
245
+ $ref: "#/components/schemas/BrandSchema"
246
+ description: Result of removing a brand
@@ -0,0 +1,285 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Category
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Category endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /product-category:
10
+ get:
11
+ summary: Find categories
12
+ operationId: findCategories
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering categories
19
+ responses:
20
+ "200":
21
+ description: A list of categories
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/CategoryFindResult"
26
+ post:
27
+ summary: Create a category
28
+ operationId: createCategory
29
+ requestBody:
30
+ required: true
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: "#/components/schemas/CategoryCreateBody"
35
+ responses:
36
+ "201":
37
+ description: Category created
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: "#/components/schemas/CategoryCreateResult"
42
+ /product-category/{id}:
43
+ get:
44
+ summary: Get a category by ID
45
+ operationId: getCategory
46
+ parameters:
47
+ - in: path
48
+ name: id
49
+ required: true
50
+ schema:
51
+ type: string
52
+ responses:
53
+ "200":
54
+ description: Category details
55
+ content:
56
+ application/json:
57
+ schema:
58
+ $ref: "#/components/schemas/CategoryGetResult"
59
+ put:
60
+ summary: Update a category
61
+ operationId: updateCategory
62
+ parameters:
63
+ - in: path
64
+ name: id
65
+ required: true
66
+ schema:
67
+ type: string
68
+ requestBody:
69
+ required: true
70
+ content:
71
+ application/json:
72
+ schema:
73
+ $ref: "#/components/schemas/CategoryUpdateBody"
74
+ responses:
75
+ "200":
76
+ description: Category updated
77
+ content:
78
+ application/json:
79
+ schema:
80
+ $ref: "#/components/schemas/CategoryUpdateResult"
81
+ delete:
82
+ summary: Remove a category
83
+ operationId: removeCategory
84
+ parameters:
85
+ - in: path
86
+ name: id
87
+ required: true
88
+ schema:
89
+ type: string
90
+ responses:
91
+ "200":
92
+ description: Category removed
93
+ content:
94
+ application/json:
95
+ schema:
96
+ $ref: "#/components/schemas/CategoryRemoveResult"
97
+ components:
98
+ schemas:
99
+ CategoryFindResult:
100
+ type: object
101
+ description: Result of finding categories
102
+ properties:
103
+ data:
104
+ type: array
105
+ items:
106
+ $ref: "#/components/schemas/CategorySchema"
107
+ total_result:
108
+ type: number
109
+ description: Total number of categories
110
+ current_count:
111
+ type: number
112
+ description: Count of categories in current page
113
+ total_pages:
114
+ type: number
115
+ description: Total number of pages
116
+ current_page:
117
+ type: number
118
+ description: Current page number
119
+ per_page:
120
+ type: number
121
+ description: Number of categories per page
122
+ first_page_url:
123
+ type: string
124
+ description: URL for the first page
125
+ last_page_url:
126
+ type: string
127
+ description: URL for the last page
128
+ next_page_url:
129
+ type: string
130
+ nullable: true
131
+ description: URL for the next page
132
+ prev_page_url:
133
+ type: string
134
+ nullable: true
135
+ description: URL for the previous page
136
+ path:
137
+ type: string
138
+ description: Base URL path
139
+ CategorySchema:
140
+ type: object
141
+ description: Category schema
142
+ properties:
143
+ _id:
144
+ type: string
145
+ description: Unique identifier for the category
146
+ type:
147
+ type: string
148
+ enum: [main]
149
+ description: Category type
150
+ name:
151
+ type: string
152
+ description: Name of the category
153
+ photo:
154
+ type: string
155
+ description: Photo URL of the category
156
+ local_name:
157
+ type: string
158
+ description: Localized name of the category
159
+ icon:
160
+ type: string
161
+ description: Icon for the category
162
+ disabled:
163
+ type: boolean
164
+ description: Whether the category is disabled
165
+ position:
166
+ type: number
167
+ description: Position of the category
168
+ integration_meta:
169
+ type: object
170
+ additionalProperties: true
171
+ description: Integration metadata
172
+ company_namespace:
173
+ type: array
174
+ items:
175
+ type: string
176
+ description: Company namespaces
177
+ createdAt:
178
+ type: string
179
+ format: date-time
180
+ description: Creation timestamp
181
+ updatedAt:
182
+ type: string
183
+ format: date-time
184
+ description: Last update timestamp
185
+ __v:
186
+ type: number
187
+ description: Version number
188
+ CategoryCreateBody:
189
+ type: object
190
+ description: Body for creating a category
191
+ required:
192
+ - name
193
+ properties:
194
+ name:
195
+ type: string
196
+ description: Name of the category
197
+ company_namespace:
198
+ type: array
199
+ items:
200
+ type: string
201
+ description: Company namespaces
202
+ type:
203
+ type: string
204
+ enum: [main]
205
+ description: Category type
206
+ disabled:
207
+ type: boolean
208
+ description: Whether the category is disabled
209
+ photo:
210
+ type: string
211
+ description: Photo URL of the category
212
+ local_name:
213
+ type: string
214
+ description: Localized name of the category
215
+ icon:
216
+ type: string
217
+ description: Icon for the category
218
+ position:
219
+ type: number
220
+ description: Position of the category
221
+ integration_meta:
222
+ type: object
223
+ additionalProperties: true
224
+ description: Integration metadata
225
+ CategoryCreateResult:
226
+ $ref: "#/components/schemas/CategorySchema"
227
+ description: Result of creating a category
228
+ CategoryGetResult:
229
+ $ref: "#/components/schemas/CategorySchema"
230
+ description: Result of getting a category
231
+ CategoryUpdateBody:
232
+ type: object
233
+ description: Body for updating a category
234
+ properties:
235
+ name:
236
+ type: string
237
+ description: Name of the category
238
+ company_namespace:
239
+ type: array
240
+ items:
241
+ type: string
242
+ description: Company namespaces
243
+ type:
244
+ type: string
245
+ enum: [main]
246
+ description: Category type
247
+ disabled:
248
+ type: boolean
249
+ description: Whether the category is disabled
250
+ photo:
251
+ type: string
252
+ description: Photo URL of the category
253
+ local_name:
254
+ type: string
255
+ description: Localized name of the category
256
+ icon:
257
+ type: string
258
+ description: Icon for the category
259
+ position:
260
+ type: number
261
+ description: Position of the category
262
+ integration_meta:
263
+ type: object
264
+ additionalProperties: true
265
+ description: Integration metadata
266
+ _id:
267
+ type: string
268
+ description: Unique identifier for the category
269
+ createdAt:
270
+ type: string
271
+ format: date-time
272
+ description: Creation timestamp
273
+ updatedAt:
274
+ type: string
275
+ format: date-time
276
+ description: Last update timestamp
277
+ __v:
278
+ type: number
279
+ description: Version number
280
+ CategoryUpdateResult:
281
+ $ref: "#/components/schemas/CategorySchema"
282
+ description: Result of updating a category
283
+ CategoryRemoveResult:
284
+ $ref: "#/components/schemas/CategorySchema"
285
+ description: Result of removing a category