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,174 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Visit
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Visit endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /visit:
10
+ get:
11
+ summary: Find visits
12
+ operationId: findVisits
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering visits
19
+ responses:
20
+ "200":
21
+ description: A list of visits
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/VisitFindResult"
26
+ post:
27
+ summary: Create a visit
28
+ operationId: createVisit
29
+ requestBody:
30
+ required: true
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: "#/components/schemas/VisitCreateBody"
35
+ responses:
36
+ "201":
37
+ description: Visit created
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: "#/components/schemas/VisitCreateResult"
42
+ /visit/{id}:
43
+ get:
44
+ summary: Get a visit by ID
45
+ operationId: getVisit
46
+ parameters:
47
+ - in: path
48
+ name: id
49
+ required: true
50
+ schema:
51
+ type: string
52
+ responses:
53
+ "200":
54
+ description: Visit details
55
+ content:
56
+ application/json:
57
+ schema:
58
+ $ref: "#/components/schemas/VisitGetResult"
59
+ put:
60
+ summary: Update a visit
61
+ operationId: updateVisit
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/VisitUpdateBody"
74
+ responses:
75
+ "200":
76
+ description: Visit updated
77
+ content:
78
+ application/json:
79
+ schema:
80
+ $ref: "#/components/schemas/VisitUpdateResult"
81
+ components:
82
+ schemas:
83
+ VisitFindResult:
84
+ type: object
85
+ properties:
86
+ data:
87
+ type: array
88
+ items:
89
+ $ref: "#/components/schemas/Visit"
90
+ meta:
91
+ type: object
92
+ VisitCreateBody:
93
+ type: object
94
+ properties:
95
+ client:
96
+ type: string
97
+ rep:
98
+ type: string
99
+ plannedDate:
100
+ type: string
101
+ format: date-time
102
+ actualDate:
103
+ type: string
104
+ format: date-time
105
+ status:
106
+ type: string
107
+ enum: [planned, completed, cancelled]
108
+ notes:
109
+ type: string
110
+ location:
111
+ type: object
112
+ VisitCreateResult:
113
+ type: object
114
+ properties:
115
+ data:
116
+ $ref: "#/components/schemas/Visit"
117
+ VisitGetResult:
118
+ type: object
119
+ properties:
120
+ data:
121
+ $ref: "#/components/schemas/Visit"
122
+ VisitUpdateBody:
123
+ type: object
124
+ properties:
125
+ client:
126
+ type: string
127
+ rep:
128
+ type: string
129
+ plannedDate:
130
+ type: string
131
+ format: date-time
132
+ actualDate:
133
+ type: string
134
+ format: date-time
135
+ status:
136
+ type: string
137
+ enum: [planned, completed, cancelled]
138
+ notes:
139
+ type: string
140
+ location:
141
+ type: object
142
+ VisitUpdateResult:
143
+ type: object
144
+ properties:
145
+ data:
146
+ $ref: "#/components/schemas/Visit"
147
+ Visit:
148
+ type: object
149
+ properties:
150
+ _id:
151
+ type: string
152
+ client:
153
+ type: string
154
+ rep:
155
+ type: string
156
+ plannedDate:
157
+ type: string
158
+ format: date-time
159
+ actualDate:
160
+ type: string
161
+ format: date-time
162
+ status:
163
+ type: string
164
+ enum: [planned, completed, cancelled]
165
+ notes:
166
+ type: string
167
+ location:
168
+ type: object
169
+ createdAt:
170
+ type: string
171
+ format: date-time
172
+ updatedAt:
173
+ type: string
174
+ format: date-time
@@ -0,0 +1,311 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Warehouse
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Warehouse endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /warehouse:
10
+ get:
11
+ summary: Find warehouses
12
+ operationId: findWarehouses
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
+ disabled:
34
+ type: boolean
35
+ from_updatedAt:
36
+ type: number
37
+ from__id:
38
+ type: string
39
+ to__id:
40
+ type: string
41
+ sortBy:
42
+ type: array
43
+ items:
44
+ type: object
45
+ properties:
46
+ field:
47
+ type: string
48
+ enum: [_id]
49
+ type:
50
+ type: string
51
+ enum: [asc, desc]
52
+ description: Query parameters for filtering warehouses
53
+ responses:
54
+ "200":
55
+ description: A list of warehouses
56
+ content:
57
+ application/json:
58
+ schema:
59
+ $ref: "#/components/schemas/WarehouseFindResult"
60
+ post:
61
+ summary: Create a warehouse
62
+ operationId: createWarehouse
63
+ requestBody:
64
+ required: true
65
+ content:
66
+ application/json:
67
+ schema:
68
+ $ref: "#/components/schemas/WarehouseCreateBody"
69
+ responses:
70
+ "201":
71
+ description: Warehouse created
72
+ content:
73
+ application/json:
74
+ schema:
75
+ $ref: "#/components/schemas/WarehouseCreateResult"
76
+ /warehouse/{id}:
77
+ get:
78
+ summary: Get a warehouse by ID
79
+ operationId: getWarehouse
80
+ parameters:
81
+ - in: path
82
+ name: id
83
+ required: true
84
+ schema:
85
+ type: string
86
+ responses:
87
+ "200":
88
+ description: Warehouse details
89
+ content:
90
+ application/json:
91
+ schema:
92
+ $ref: "#/components/schemas/WarehouseGetResult"
93
+ put:
94
+ summary: Update a warehouse
95
+ operationId: updateWarehouse
96
+ parameters:
97
+ - in: path
98
+ name: id
99
+ required: true
100
+ schema:
101
+ type: string
102
+ requestBody:
103
+ required: true
104
+ content:
105
+ application/json:
106
+ schema:
107
+ $ref: "#/components/schemas/WarehouseUpdateBody"
108
+ responses:
109
+ "200":
110
+ description: Warehouse updated
111
+ content:
112
+ application/json:
113
+ schema:
114
+ $ref: "#/components/schemas/WarehouseUpdateResult"
115
+ delete:
116
+ summary: Remove a warehouse
117
+ operationId: removeWarehouse
118
+ parameters:
119
+ - in: path
120
+ name: id
121
+ required: true
122
+ schema:
123
+ type: string
124
+ responses:
125
+ "200":
126
+ description: Warehouse removed
127
+ content:
128
+ application/json:
129
+ schema:
130
+ $ref: "#/components/schemas/WarehouseRemoveResult"
131
+ components:
132
+ schemas:
133
+ WarehouseFindResult:
134
+ type: object
135
+ description: Result of finding warehouses
136
+ properties:
137
+ data:
138
+ type: array
139
+ items:
140
+ $ref: "#/components/schemas/WarehouseSchema"
141
+ total_result:
142
+ type: number
143
+ description: Total number of warehouses
144
+ current_count:
145
+ type: number
146
+ description: Count of warehouses in current page
147
+ total_pages:
148
+ type: number
149
+ description: Total number of pages
150
+ current_page:
151
+ type: number
152
+ description: Current page number
153
+ per_page:
154
+ type: number
155
+ description: Number of warehouses per page
156
+ first_page_url:
157
+ type: string
158
+ description: URL for the first page
159
+ last_page_url:
160
+ type: string
161
+ description: URL for the last page
162
+ next_page_url:
163
+ type: string
164
+ nullable: true
165
+ description: URL for the next page
166
+ prev_page_url:
167
+ type: string
168
+ nullable: true
169
+ description: URL for the previous page
170
+ path:
171
+ type: string
172
+ description: Base URL path
173
+ WarehouseSchema:
174
+ type: object
175
+ description: Warehouse schema
176
+ properties:
177
+ _id:
178
+ type: string
179
+ description: Unique identifier for the warehouse
180
+ name:
181
+ type: string
182
+ description: Name of the warehouse
183
+ location:
184
+ type: object
185
+ description: Geographic location of the warehouse
186
+ properties:
187
+ type:
188
+ type: string
189
+ enum: [Point]
190
+ description: Type of geolocation
191
+ coordinates:
192
+ type: array
193
+ items:
194
+ type: number
195
+ description: Coordinates [longitude, latitude]
196
+ disabled:
197
+ type: boolean
198
+ description: Whether the warehouse is disabled
199
+ integration_meta:
200
+ type: object
201
+ additionalProperties: true
202
+ description: Integration metadata
203
+ company_namespace:
204
+ type: array
205
+ items:
206
+ type: string
207
+ description: Company namespaces
208
+ createdAt:
209
+ type: string
210
+ format: date-time
211
+ description: Creation timestamp
212
+ updatedAt:
213
+ type: string
214
+ format: date-time
215
+ description: Last update timestamp
216
+ __v:
217
+ type: number
218
+ description: Version number
219
+ WarehouseCreateBody:
220
+ type: object
221
+ description: Body for creating a warehouse
222
+ required:
223
+ - name
224
+ - company_namespace
225
+ properties:
226
+ name:
227
+ type: string
228
+ description: Name of the warehouse
229
+ location:
230
+ type: object
231
+ description: Geographic location of the warehouse
232
+ properties:
233
+ type:
234
+ type: string
235
+ enum: [Point]
236
+ description: Type of geolocation
237
+ coordinates:
238
+ type: array
239
+ items:
240
+ type: number
241
+ description: Coordinates [longitude, latitude]
242
+ disabled:
243
+ type: boolean
244
+ description: Whether the warehouse is disabled
245
+ integration_meta:
246
+ type: object
247
+ additionalProperties: true
248
+ description: Integration metadata
249
+ company_namespace:
250
+ type: array
251
+ items:
252
+ type: string
253
+ description: Company namespaces
254
+ WarehouseCreateResult:
255
+ $ref: "#/components/schemas/WarehouseSchema"
256
+ description: Result of creating a warehouse
257
+ WarehouseGetResult:
258
+ $ref: "#/components/schemas/WarehouseSchema"
259
+ description: Result of getting a warehouse
260
+ WarehouseUpdateBody:
261
+ type: object
262
+ description: Body for updating a warehouse
263
+ properties:
264
+ name:
265
+ type: string
266
+ description: Name of the warehouse
267
+ location:
268
+ type: object
269
+ description: Geographic location of the warehouse
270
+ properties:
271
+ type:
272
+ type: string
273
+ enum: [Point]
274
+ description: Type of geolocation
275
+ coordinates:
276
+ type: array
277
+ items:
278
+ type: number
279
+ description: Coordinates [longitude, latitude]
280
+ disabled:
281
+ type: boolean
282
+ description: Whether the warehouse is disabled
283
+ integration_meta:
284
+ type: object
285
+ additionalProperties: true
286
+ description: Integration metadata
287
+ company_namespace:
288
+ type: array
289
+ items:
290
+ type: string
291
+ description: Company namespaces
292
+ _id:
293
+ type: string
294
+ description: Unique identifier for the warehouse
295
+ createdAt:
296
+ type: string
297
+ format: date-time
298
+ description: Creation timestamp
299
+ updatedAt:
300
+ type: string
301
+ format: date-time
302
+ description: Last update timestamp
303
+ __v:
304
+ type: number
305
+ description: Version number
306
+ WarehouseUpdateResult:
307
+ $ref: "#/components/schemas/WarehouseSchema"
308
+ description: Result of updating a warehouse
309
+ WarehouseRemoveResult:
310
+ $ref: "#/components/schemas/WarehouseSchema"
311
+ description: Result of removing a warehouse