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,381 @@
1
+ openapi: 3.0.0
2
+ info:
3
+ title: Integration Command Log API
4
+ description: API for managing integration command logs
5
+ version: 1.0.0
6
+ contact:
7
+ name: Repzo
8
+ url: https://repzo.com
9
+
10
+ servers:
11
+ - url: https://sv.api.repzo.me
12
+ description: Production server
13
+ - url: https://staging.sv.api.repzo.me
14
+ description: Staging server
15
+
16
+ tags:
17
+ - name: Integration Command Log
18
+ description: Operations related to integration command log management
19
+
20
+ paths:
21
+ /integration-command-log:
22
+ get:
23
+ tags:
24
+ - Integration Command Log
25
+ summary: Get all integration command log records
26
+ description: Retrieve a list of all integration command log records with optional filtering and pagination
27
+ parameters:
28
+ - name: limit
29
+ in: query
30
+ description: Maximum number of records to return
31
+ required: false
32
+ schema:
33
+ type: integer
34
+ minimum: 1
35
+ maximum: 100
36
+ default: 50
37
+ - name: offset
38
+ in: query
39
+ description: Number of records to skip for pagination
40
+ required: false
41
+ schema:
42
+ type: integer
43
+ minimum: 0
44
+ default: 0
45
+ - name: sort
46
+ in: query
47
+ description: Field to sort by
48
+ required: false
49
+ schema:
50
+ type: string
51
+ - name: order
52
+ in: query
53
+ description: Sort order (asc or desc)
54
+ required: false
55
+ schema:
56
+ type: string
57
+ enum: [asc, desc]
58
+ default: desc
59
+ - name: filter
60
+ in: query
61
+ description: Filter conditions in JSON format
62
+ required: false
63
+ schema:
64
+ type: string
65
+ - name: search
66
+ in: query
67
+ description: Search term for text fields
68
+ required: false
69
+ schema:
70
+ type: string
71
+ responses:
72
+ "200":
73
+ description: List of integration command log records retrieved successfully
74
+ content:
75
+ application/json:
76
+ schema:
77
+ type: object
78
+ properties:
79
+ success:
80
+ type: boolean
81
+ example: true
82
+ data:
83
+ type: array
84
+ items:
85
+ $ref: "#/components/schemas/IntegrationCommandLog"
86
+ total:
87
+ type: integer
88
+ description: Total number of records
89
+ "400":
90
+ description: Bad request
91
+ "401":
92
+ description: Unauthorized
93
+ "500":
94
+ description: Internal server error
95
+ post:
96
+ tags:
97
+ - Integration Command Log
98
+ summary: Create a new integration command log record
99
+ description: Create a new integration command log record with the provided data
100
+ requestBody:
101
+ required: true
102
+ content:
103
+ application/json:
104
+ schema:
105
+ $ref: "#/components/schemas/IntegrationCommandLogInput"
106
+ responses:
107
+ "201":
108
+ description: Integration command log record created successfully
109
+ content:
110
+ application/json:
111
+ schema:
112
+ type: object
113
+ properties:
114
+ success:
115
+ type: boolean
116
+ example: true
117
+ data:
118
+ $ref: "#/components/schemas/IntegrationCommandLog"
119
+ "400":
120
+ description: Bad request
121
+ "401":
122
+ description: Unauthorized
123
+ "500":
124
+ description: Internal server error
125
+
126
+ /integration-command-log/{id}:
127
+ get:
128
+ tags:
129
+ - Integration Command Log
130
+ summary: Get integration command log record by ID
131
+ description: Retrieve a specific integration command log record by its ID
132
+ parameters:
133
+ - name: id
134
+ in: path
135
+ required: true
136
+ description: Integration command log record ID
137
+ schema:
138
+ type: string
139
+ responses:
140
+ "200":
141
+ description: Integration command log record retrieved successfully
142
+ content:
143
+ application/json:
144
+ schema:
145
+ type: object
146
+ properties:
147
+ success:
148
+ type: boolean
149
+ example: true
150
+ data:
151
+ $ref: "#/components/schemas/IntegrationCommandLog"
152
+ "404":
153
+ description: Integration command log record not found
154
+ "401":
155
+ description: Unauthorized
156
+ "500":
157
+ description: Internal server error
158
+ put:
159
+ tags:
160
+ - Integration Command Log
161
+ summary: Update integration command log record
162
+ description: Update an existing integration command log record with new data
163
+ parameters:
164
+ - name: id
165
+ in: path
166
+ required: true
167
+ description: Integration command log record ID
168
+ schema:
169
+ type: string
170
+ requestBody:
171
+ required: true
172
+ content:
173
+ application/json:
174
+ schema:
175
+ $ref: "#/components/schemas/IntegrationCommandLogInput"
176
+ responses:
177
+ "200":
178
+ description: Integration command log record updated successfully
179
+ content:
180
+ application/json:
181
+ schema:
182
+ type: object
183
+ properties:
184
+ success:
185
+ type: boolean
186
+ example: true
187
+ data:
188
+ $ref: "#/components/schemas/IntegrationCommandLog"
189
+ "400":
190
+ description: Bad request
191
+ "404":
192
+ description: Integration command log record not found
193
+ "401":
194
+ description: Unauthorized
195
+ "500":
196
+ description: Internal server error
197
+ delete:
198
+ tags:
199
+ - Integration Command Log
200
+ summary: Delete integration command log record
201
+ description: Delete an existing integration command log record
202
+ parameters:
203
+ - name: id
204
+ in: path
205
+ required: true
206
+ description: Integration command log record ID
207
+ schema:
208
+ type: string
209
+ responses:
210
+ "200":
211
+ description: Integration command log record deleted successfully
212
+ content:
213
+ application/json:
214
+ schema:
215
+ type: object
216
+ properties:
217
+ success:
218
+ type: boolean
219
+ example: true
220
+ message:
221
+ type: string
222
+ example: Integration command log record deleted successfully
223
+ "404":
224
+ description: Integration command log record not found
225
+ "401":
226
+ description: Unauthorized
227
+ "500":
228
+ description: Internal server error
229
+
230
+ components:
231
+ schemas:
232
+ IntegrationCommandLog:
233
+ type: object
234
+ properties:
235
+ _id:
236
+ type: string
237
+ description: Unique identifier for the integration command log record
238
+ example: "60f7b1b3e4b0e8b3f8b3f8b3"
239
+ integrationId:
240
+ type: string
241
+ description: Integration identifier
242
+ example: "60f7b1b3e4b0e8b3f8b3f8b4"
243
+ commandType:
244
+ type: string
245
+ enum: [sync, import, export, validate, transform]
246
+ description: Type of command executed
247
+ example: "sync"
248
+ command:
249
+ type: string
250
+ description: The actual command that was executed
251
+ example: "sync-products"
252
+ parameters:
253
+ type: object
254
+ additionalProperties: true
255
+ description: Command parameters
256
+ status:
257
+ type: string
258
+ enum: [pending, running, completed, failed, cancelled]
259
+ description: Status of the command execution
260
+ example: "completed"
261
+ startTime:
262
+ type: string
263
+ format: date-time
264
+ description: Command start time
265
+ example: "2023-01-15T08:00:00Z"
266
+ endTime:
267
+ type: string
268
+ format: date-time
269
+ description: Command end time
270
+ example: "2023-01-15T08:05:00Z"
271
+ duration:
272
+ type: number
273
+ description: Command execution duration in milliseconds
274
+ example: 300000
275
+ output:
276
+ type: object
277
+ additionalProperties: true
278
+ description: Command output data
279
+ errorLog:
280
+ type: string
281
+ description: Error log if command failed
282
+ processedRecords:
283
+ type: integer
284
+ minimum: 0
285
+ description: Number of records processed
286
+ failedRecords:
287
+ type: integer
288
+ minimum: 0
289
+ description: Number of records that failed processing
290
+ metadata:
291
+ type: object
292
+ additionalProperties: true
293
+ description: Additional metadata
294
+ createdAt:
295
+ type: string
296
+ format: date-time
297
+ description: Record creation timestamp
298
+ example: "2023-01-15T08:00:00Z"
299
+ updatedAt:
300
+ type: string
301
+ format: date-time
302
+ description: Record last update timestamp
303
+ example: "2023-01-15T10:30:00Z"
304
+ required:
305
+ - integrationId
306
+ - commandType
307
+ - command
308
+ - status
309
+
310
+ IntegrationCommandLogInput:
311
+ type: object
312
+ properties:
313
+ integrationId:
314
+ type: string
315
+ description: Integration identifier
316
+ example: "60f7b1b3e4b0e8b3f8b3f8b4"
317
+ commandType:
318
+ type: string
319
+ enum: [sync, import, export, validate, transform]
320
+ description: Type of command executed
321
+ example: "sync"
322
+ command:
323
+ type: string
324
+ description: The actual command that was executed
325
+ example: "sync-products"
326
+ parameters:
327
+ type: object
328
+ additionalProperties: true
329
+ description: Command parameters
330
+ status:
331
+ type: string
332
+ enum: [pending, running, completed, failed, cancelled]
333
+ description: Status of the command execution
334
+ example: "completed"
335
+ startTime:
336
+ type: string
337
+ format: date-time
338
+ description: Command start time
339
+ example: "2023-01-15T08:00:00Z"
340
+ endTime:
341
+ type: string
342
+ format: date-time
343
+ description: Command end time
344
+ example: "2023-01-15T08:05:00Z"
345
+ duration:
346
+ type: number
347
+ description: Command execution duration in milliseconds
348
+ example: 300000
349
+ output:
350
+ type: object
351
+ additionalProperties: true
352
+ description: Command output data
353
+ errorLog:
354
+ type: string
355
+ description: Error log if command failed
356
+ processedRecords:
357
+ type: integer
358
+ minimum: 0
359
+ description: Number of records processed
360
+ failedRecords:
361
+ type: integer
362
+ minimum: 0
363
+ description: Number of records that failed processing
364
+ metadata:
365
+ type: object
366
+ additionalProperties: true
367
+ description: Additional metadata
368
+ required:
369
+ - integrationId
370
+ - commandType
371
+ - command
372
+ - status
373
+
374
+ securitySchemes:
375
+ ApiKeyAuth:
376
+ type: apiKey
377
+ in: header
378
+ name: api-key
379
+
380
+ security:
381
+ - ApiKeyAuth: []
@@ -0,0 +1,165 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Inventory Adjustment Reason
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Inventory Adjustment Reason endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /inventory-adjustment-reason:
10
+ get:
11
+ summary: Find inventory adjustment reasons
12
+ operationId: findInventoryAdjustmentReasons
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering inventory adjustment reasons
19
+ responses:
20
+ "200":
21
+ description: A list of inventory adjustment reasons
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/InventoryAdjustmentReasonFindResult"
26
+ post:
27
+ summary: Create an inventory adjustment reason
28
+ operationId: createInventoryAdjustmentReason
29
+ requestBody:
30
+ required: true
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: "#/components/schemas/InventoryAdjustmentReasonCreateBody"
35
+ responses:
36
+ "201":
37
+ description: Inventory adjustment reason created
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: "#/components/schemas/InventoryAdjustmentReasonCreateResult"
42
+ /inventory-adjustment-reason/{id}:
43
+ get:
44
+ summary: Get an inventory adjustment reason by ID
45
+ operationId: getInventoryAdjustmentReason
46
+ parameters:
47
+ - in: path
48
+ name: id
49
+ required: true
50
+ schema:
51
+ type: string
52
+ responses:
53
+ "200":
54
+ description: Inventory adjustment reason details
55
+ content:
56
+ application/json:
57
+ schema:
58
+ $ref: "#/components/schemas/InventoryAdjustmentReasonGetResult"
59
+ put:
60
+ summary: Update an inventory adjustment reason
61
+ operationId: updateInventoryAdjustmentReason
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/InventoryAdjustmentReasonUpdateBody"
74
+ responses:
75
+ "200":
76
+ description: Inventory adjustment reason updated
77
+ content:
78
+ application/json:
79
+ schema:
80
+ $ref: "#/components/schemas/InventoryAdjustmentReasonUpdateResult"
81
+ delete:
82
+ summary: Remove an inventory adjustment reason
83
+ operationId: removeInventoryAdjustmentReason
84
+ parameters:
85
+ - in: path
86
+ name: id
87
+ required: true
88
+ schema:
89
+ type: string
90
+ responses:
91
+ "200":
92
+ description: Inventory adjustment reason removed
93
+ content:
94
+ application/json:
95
+ schema:
96
+ $ref: "#/components/schemas/InventoryAdjustmentReasonRemoveResult"
97
+ components:
98
+ schemas:
99
+ InventoryAdjustmentReasonFindResult:
100
+ type: object
101
+ properties:
102
+ data:
103
+ type: array
104
+ items:
105
+ $ref: "#/components/schemas/InventoryAdjustmentReason"
106
+ meta:
107
+ type: object
108
+ InventoryAdjustmentReasonCreateBody:
109
+ type: object
110
+ properties:
111
+ name:
112
+ type: string
113
+ type:
114
+ type: string
115
+ enum: [increase, decrease]
116
+ disabled:
117
+ type: boolean
118
+ InventoryAdjustmentReasonCreateResult:
119
+ type: object
120
+ properties:
121
+ data:
122
+ $ref: "#/components/schemas/InventoryAdjustmentReason"
123
+ InventoryAdjustmentReasonGetResult:
124
+ type: object
125
+ properties:
126
+ data:
127
+ $ref: "#/components/schemas/InventoryAdjustmentReason"
128
+ InventoryAdjustmentReasonUpdateBody:
129
+ type: object
130
+ properties:
131
+ name:
132
+ type: string
133
+ type:
134
+ type: string
135
+ enum: [increase, decrease]
136
+ disabled:
137
+ type: boolean
138
+ InventoryAdjustmentReasonUpdateResult:
139
+ type: object
140
+ properties:
141
+ data:
142
+ $ref: "#/components/schemas/InventoryAdjustmentReason"
143
+ InventoryAdjustmentReasonRemoveResult:
144
+ type: object
145
+ properties:
146
+ success:
147
+ type: boolean
148
+ InventoryAdjustmentReason:
149
+ type: object
150
+ properties:
151
+ _id:
152
+ type: string
153
+ name:
154
+ type: string
155
+ type:
156
+ type: string
157
+ enum: [increase, decrease]
158
+ disabled:
159
+ type: boolean
160
+ createdAt:
161
+ type: string
162
+ format: date-time
163
+ updatedAt:
164
+ type: string
165
+ format: date-time
@@ -0,0 +1,64 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Inventory
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Inventory endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /inventory:
10
+ get:
11
+ summary: Find inventory items
12
+ operationId: findInventory
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering inventory items
19
+ responses:
20
+ "200":
21
+ description: A list of inventory items
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/InventoryFindResult"
26
+ components:
27
+ schemas:
28
+ InventoryFindResult:
29
+ type: object
30
+ properties:
31
+ data:
32
+ type: array
33
+ items:
34
+ $ref: "#/components/schemas/Inventory"
35
+ meta:
36
+ type: object
37
+ Inventory:
38
+ type: object
39
+ properties:
40
+ _id:
41
+ type: string
42
+ product:
43
+ type: string
44
+ variant:
45
+ type: string
46
+ warehouse:
47
+ type: string
48
+ quantity:
49
+ type: number
50
+ reservedQuantity:
51
+ type: number
52
+ availableQuantity:
53
+ type: number
54
+ cost:
55
+ type: number
56
+ lastUpdated:
57
+ type: string
58
+ format: date-time
59
+ createdAt:
60
+ type: string
61
+ format: date-time
62
+ updatedAt:
63
+ type: string
64
+ format: date-time