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,335 @@
1
+ openapi: 3.0.0
2
+ info:
3
+ title: Svix Integration API
4
+ description: API for managing Svix webhook integrations
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: Svix Integration
18
+ description: Operations related to Svix webhook integration management
19
+
20
+ paths:
21
+ /svix-integration:
22
+ get:
23
+ tags:
24
+ - Svix Integration
25
+ summary: Get all Svix integration records
26
+ description: Retrieve a list of all Svix integration 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 Svix integration 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/SvixIntegration"
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
+ - Svix Integration
98
+ summary: Create a new Svix integration
99
+ description: Create a new Svix integration with the provided data
100
+ requestBody:
101
+ required: true
102
+ content:
103
+ application/json:
104
+ schema:
105
+ $ref: "#/components/schemas/SvixIntegrationInput"
106
+ responses:
107
+ "201":
108
+ description: Svix integration 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/SvixIntegration"
119
+ "400":
120
+ description: Bad request
121
+ "401":
122
+ description: Unauthorized
123
+ "500":
124
+ description: Internal server error
125
+
126
+ /svix-integration/{id}:
127
+ get:
128
+ tags:
129
+ - Svix Integration
130
+ summary: Get Svix integration by ID
131
+ description: Retrieve a specific Svix integration by its ID
132
+ parameters:
133
+ - name: id
134
+ in: path
135
+ required: true
136
+ description: Svix integration ID
137
+ schema:
138
+ type: string
139
+ responses:
140
+ "200":
141
+ description: Svix integration 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/SvixIntegration"
152
+ "404":
153
+ description: Svix integration not found
154
+ "401":
155
+ description: Unauthorized
156
+ "500":
157
+ description: Internal server error
158
+ put:
159
+ tags:
160
+ - Svix Integration
161
+ summary: Update Svix integration
162
+ description: Update an existing Svix integration with new data
163
+ parameters:
164
+ - name: id
165
+ in: path
166
+ required: true
167
+ description: Svix integration ID
168
+ schema:
169
+ type: string
170
+ requestBody:
171
+ required: true
172
+ content:
173
+ application/json:
174
+ schema:
175
+ $ref: "#/components/schemas/SvixIntegrationInput"
176
+ responses:
177
+ "200":
178
+ description: Svix integration 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/SvixIntegration"
189
+ "400":
190
+ description: Bad request
191
+ "404":
192
+ description: Svix integration not found
193
+ "401":
194
+ description: Unauthorized
195
+ "500":
196
+ description: Internal server error
197
+ delete:
198
+ tags:
199
+ - Svix Integration
200
+ summary: Delete Svix integration
201
+ description: Delete an existing Svix integration
202
+ parameters:
203
+ - name: id
204
+ in: path
205
+ required: true
206
+ description: Svix integration ID
207
+ schema:
208
+ type: string
209
+ responses:
210
+ "200":
211
+ description: Svix integration 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: Svix integration deleted successfully
223
+ "404":
224
+ description: Svix integration not found
225
+ "401":
226
+ description: Unauthorized
227
+ "500":
228
+ description: Internal server error
229
+
230
+ components:
231
+ schemas:
232
+ SvixIntegration:
233
+ type: object
234
+ properties:
235
+ _id:
236
+ type: string
237
+ description: Unique identifier for the Svix integration
238
+ example: "60f7b1b3e4b0e8b3f8b3f8b3"
239
+ name:
240
+ type: string
241
+ description: Name of the integration
242
+ example: "Webhook Integration"
243
+ description:
244
+ type: string
245
+ description: Description of the integration
246
+ applicationId:
247
+ type: string
248
+ description: Svix application ID
249
+ example: "app_12345"
250
+ endpointUrl:
251
+ type: string
252
+ format: uri
253
+ description: Webhook endpoint URL
254
+ example: "https://example.com/webhook"
255
+ eventTypes:
256
+ type: array
257
+ items:
258
+ type: string
259
+ description: List of event types to subscribe to
260
+ example: ["user.created", "order.updated"]
261
+ secret:
262
+ type: string
263
+ description: Webhook secret for signature verification
264
+ isActive:
265
+ type: boolean
266
+ default: true
267
+ description: Whether the integration is active
268
+ metadata:
269
+ type: object
270
+ additionalProperties: true
271
+ description: Additional metadata
272
+ createdAt:
273
+ type: string
274
+ format: date-time
275
+ description: Record creation timestamp
276
+ example: "2023-01-15T08:00:00Z"
277
+ updatedAt:
278
+ type: string
279
+ format: date-time
280
+ description: Record last update timestamp
281
+ example: "2023-01-15T10:30:00Z"
282
+ required:
283
+ - name
284
+ - applicationId
285
+ - endpointUrl
286
+
287
+ SvixIntegrationInput:
288
+ type: object
289
+ properties:
290
+ name:
291
+ type: string
292
+ description: Name of the integration
293
+ example: "Webhook Integration"
294
+ description:
295
+ type: string
296
+ description: Description of the integration
297
+ applicationId:
298
+ type: string
299
+ description: Svix application ID
300
+ example: "app_12345"
301
+ endpointUrl:
302
+ type: string
303
+ format: uri
304
+ description: Webhook endpoint URL
305
+ example: "https://example.com/webhook"
306
+ eventTypes:
307
+ type: array
308
+ items:
309
+ type: string
310
+ description: List of event types to subscribe to
311
+ example: ["user.created", "order.updated"]
312
+ secret:
313
+ type: string
314
+ description: Webhook secret for signature verification
315
+ isActive:
316
+ type: boolean
317
+ default: true
318
+ description: Whether the integration is active
319
+ metadata:
320
+ type: object
321
+ additionalProperties: true
322
+ description: Additional metadata
323
+ required:
324
+ - name
325
+ - applicationId
326
+ - endpointUrl
327
+
328
+ securitySchemes:
329
+ ApiKeyAuth:
330
+ type: apiKey
331
+ in: header
332
+ name: api-key
333
+
334
+ security:
335
+ - ApiKeyAuth: []
@@ -0,0 +1,272 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Tag
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Tag endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /tag:
10
+ get:
11
+ summary: Find tags
12
+ operationId: findTags
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 tags
53
+ responses:
54
+ "200":
55
+ description: A list of tags
56
+ content:
57
+ application/json:
58
+ schema:
59
+ $ref: "#/components/schemas/TagFindResult"
60
+ post:
61
+ summary: Create a tag
62
+ operationId: createTag
63
+ requestBody:
64
+ required: true
65
+ content:
66
+ application/json:
67
+ schema:
68
+ $ref: "#/components/schemas/TagCreateBody"
69
+ responses:
70
+ "201":
71
+ description: Tag created
72
+ content:
73
+ application/json:
74
+ schema:
75
+ $ref: "#/components/schemas/TagCreateResult"
76
+ /tag/{id}:
77
+ get:
78
+ summary: Get a tag by ID
79
+ operationId: getTag
80
+ parameters:
81
+ - in: path
82
+ name: id
83
+ required: true
84
+ schema:
85
+ type: string
86
+ responses:
87
+ "200":
88
+ description: Tag details
89
+ content:
90
+ application/json:
91
+ schema:
92
+ $ref: "#/components/schemas/TagGetResult"
93
+ put:
94
+ summary: Update a tag
95
+ operationId: updateTag
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/TagUpdateBody"
108
+ responses:
109
+ "200":
110
+ description: Tag updated
111
+ content:
112
+ application/json:
113
+ schema:
114
+ $ref: "#/components/schemas/TagUpdateResult"
115
+ delete:
116
+ summary: Remove a tag
117
+ operationId: removeTag
118
+ parameters:
119
+ - in: path
120
+ name: id
121
+ required: true
122
+ schema:
123
+ type: string
124
+ responses:
125
+ "200":
126
+ description: Tag removed
127
+ content:
128
+ application/json:
129
+ schema:
130
+ $ref: "#/components/schemas/TagRemoveResult"
131
+ components:
132
+ schemas:
133
+ TagFindResult:
134
+ type: object
135
+ description: Result of finding tags
136
+ properties:
137
+ data:
138
+ type: array
139
+ items:
140
+ $ref: "#/components/schemas/TagSchema"
141
+ total_result:
142
+ type: number
143
+ description: Total number of tags
144
+ current_count:
145
+ type: number
146
+ description: Count of tags 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 tags 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
+ TagSchema:
174
+ type: object
175
+ description: Tag schema
176
+ properties:
177
+ _id:
178
+ type: string
179
+ description: Unique identifier for the tag
180
+ name:
181
+ type: string
182
+ description: Name of the tag
183
+ disabled:
184
+ type: boolean
185
+ description: Whether the tag is disabled
186
+ integration_meta:
187
+ type: object
188
+ additionalProperties: true
189
+ description: Integration metadata
190
+ company_namespace:
191
+ type: array
192
+ items:
193
+ type: string
194
+ description: Company namespaces
195
+ createdAt:
196
+ type: string
197
+ format: date-time
198
+ description: Creation timestamp
199
+ updatedAt:
200
+ type: string
201
+ format: date-time
202
+ description: Last update timestamp
203
+ __v:
204
+ type: number
205
+ description: Version number
206
+ TagCreateBody:
207
+ type: object
208
+ description: Body for creating a tag
209
+ required:
210
+ - name
211
+ - company_namespace
212
+ properties:
213
+ name:
214
+ type: string
215
+ description: Name of the tag
216
+ disabled:
217
+ type: boolean
218
+ description: Whether the tag is disabled
219
+ integration_meta:
220
+ type: object
221
+ additionalProperties: true
222
+ description: Integration metadata
223
+ company_namespace:
224
+ type: array
225
+ items:
226
+ type: string
227
+ description: Company namespaces
228
+ TagCreateResult:
229
+ $ref: "#/components/schemas/TagSchema"
230
+ description: Result of creating a tag
231
+ TagGetResult:
232
+ $ref: "#/components/schemas/TagSchema"
233
+ description: Result of getting a tag
234
+ TagUpdateBody:
235
+ type: object
236
+ description: Body for updating a tag
237
+ properties:
238
+ name:
239
+ type: string
240
+ description: Name of the tag
241
+ disabled:
242
+ type: boolean
243
+ description: Whether the tag is disabled
244
+ integration_meta:
245
+ type: object
246
+ additionalProperties: true
247
+ description: Integration metadata
248
+ company_namespace:
249
+ type: array
250
+ items:
251
+ type: string
252
+ description: Company namespaces
253
+ _id:
254
+ type: string
255
+ description: Unique identifier for the tag
256
+ createdAt:
257
+ type: string
258
+ format: date-time
259
+ description: Creation timestamp
260
+ updatedAt:
261
+ type: string
262
+ format: date-time
263
+ description: Last update timestamp
264
+ __v:
265
+ type: number
266
+ description: Version number
267
+ TagUpdateResult:
268
+ $ref: "#/components/schemas/TagSchema"
269
+ description: Result of updating a tag
270
+ TagRemoveResult:
271
+ $ref: "#/components/schemas/TagSchema"
272
+ description: Result of removing a tag