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,303 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Tax
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Tax endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /tax:
10
+ get:
11
+ summary: Find taxes
12
+ operationId: findTaxes
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
+ rate:
34
+ oneOf:
35
+ - type: array
36
+ items:
37
+ type: number
38
+ - type: number
39
+ type:
40
+ type: string
41
+ enum: [inclusive, additive, "N/A"]
42
+ disabled:
43
+ type: boolean
44
+ from_updatedAt:
45
+ type: number
46
+ from__id:
47
+ type: string
48
+ to__id:
49
+ type: string
50
+ sortBy:
51
+ type: array
52
+ items:
53
+ type: object
54
+ properties:
55
+ field:
56
+ type: string
57
+ enum: [_id]
58
+ type:
59
+ type: string
60
+ enum: [asc, desc]
61
+ description: Query parameters for filtering taxes
62
+ responses:
63
+ "200":
64
+ description: A list of taxes
65
+ content:
66
+ application/json:
67
+ schema:
68
+ $ref: "#/components/schemas/TaxFindResult"
69
+ post:
70
+ summary: Create a tax
71
+ operationId: createTax
72
+ requestBody:
73
+ required: true
74
+ content:
75
+ application/json:
76
+ schema:
77
+ $ref: "#/components/schemas/TaxCreateBody"
78
+ responses:
79
+ "201":
80
+ description: Tax created
81
+ content:
82
+ application/json:
83
+ schema:
84
+ $ref: "#/components/schemas/TaxCreateResult"
85
+ /tax/{id}:
86
+ get:
87
+ summary: Get a tax by ID
88
+ operationId: getTax
89
+ parameters:
90
+ - in: path
91
+ name: id
92
+ required: true
93
+ schema:
94
+ type: string
95
+ responses:
96
+ "200":
97
+ description: Tax details
98
+ content:
99
+ application/json:
100
+ schema:
101
+ $ref: "#/components/schemas/TaxGetResult"
102
+ put:
103
+ summary: Update a tax
104
+ operationId: updateTax
105
+ parameters:
106
+ - in: path
107
+ name: id
108
+ required: true
109
+ schema:
110
+ type: string
111
+ requestBody:
112
+ required: true
113
+ content:
114
+ application/json:
115
+ schema:
116
+ $ref: "#/components/schemas/TaxUpdateBody"
117
+ responses:
118
+ "200":
119
+ description: Tax updated
120
+ content:
121
+ application/json:
122
+ schema:
123
+ $ref: "#/components/schemas/TaxUpdateResult"
124
+ delete:
125
+ summary: Remove a tax
126
+ operationId: removeTax
127
+ parameters:
128
+ - in: path
129
+ name: id
130
+ required: true
131
+ schema:
132
+ type: string
133
+ responses:
134
+ "200":
135
+ description: Tax removed
136
+ content:
137
+ application/json:
138
+ schema:
139
+ $ref: "#/components/schemas/TaxRemoveResult"
140
+ components:
141
+ schemas:
142
+ TaxFindResult:
143
+ type: object
144
+ description: Result of finding taxes
145
+ properties:
146
+ data:
147
+ type: array
148
+ items:
149
+ $ref: "#/components/schemas/TaxSchema"
150
+ total_result:
151
+ type: number
152
+ description: Total number of taxes
153
+ current_count:
154
+ type: number
155
+ description: Count of taxes in current page
156
+ total_pages:
157
+ type: number
158
+ description: Total number of pages
159
+ current_page:
160
+ type: number
161
+ description: Current page number
162
+ per_page:
163
+ type: number
164
+ description: Number of taxes per page
165
+ first_page_url:
166
+ type: string
167
+ description: URL for the first page
168
+ last_page_url:
169
+ type: string
170
+ description: URL for the last page
171
+ next_page_url:
172
+ type: string
173
+ nullable: true
174
+ description: URL for the next page
175
+ prev_page_url:
176
+ type: string
177
+ nullable: true
178
+ description: URL for the previous page
179
+ path:
180
+ type: string
181
+ description: Base URL path
182
+ TaxSchema:
183
+ type: object
184
+ description: Tax schema
185
+ properties:
186
+ _id:
187
+ type: string
188
+ description: Unique identifier for the tax
189
+ name:
190
+ type: string
191
+ description: Name of the tax
192
+ rate:
193
+ type: number
194
+ description: Tax rate
195
+ type:
196
+ type: string
197
+ enum: [inclusive, additive, "N/A"]
198
+ description: Type of tax (inclusive, additive, or N/A)
199
+ disabled:
200
+ type: boolean
201
+ description: Whether the tax 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
+ TaxCreateBody:
223
+ type: object
224
+ description: Body for creating a tax
225
+ required:
226
+ - name
227
+ - rate
228
+ - type
229
+ properties:
230
+ name:
231
+ type: string
232
+ description: Name of the tax
233
+ rate:
234
+ type: number
235
+ description: Tax rate
236
+ type:
237
+ type: string
238
+ enum: [inclusive, additive, "N/A"]
239
+ description: Type of tax
240
+ disabled:
241
+ type: boolean
242
+ description: Whether the tax is disabled
243
+ integration_meta:
244
+ type: object
245
+ additionalProperties: true
246
+ description: Integration metadata
247
+ company_namespace:
248
+ type: array
249
+ items:
250
+ type: string
251
+ description: Company namespaces
252
+ TaxCreateResult:
253
+ $ref: "#/components/schemas/TaxSchema"
254
+ description: Result of creating a tax
255
+ TaxGetResult:
256
+ $ref: "#/components/schemas/TaxSchema"
257
+ description: Result of getting a tax
258
+ TaxUpdateBody:
259
+ type: object
260
+ description: Body for updating a tax
261
+ properties:
262
+ name:
263
+ type: string
264
+ description: Name of the tax
265
+ rate:
266
+ type: number
267
+ description: Tax rate
268
+ type:
269
+ type: string
270
+ enum: [inclusive, additive, "N/A"]
271
+ description: Type of tax
272
+ disabled:
273
+ type: boolean
274
+ description: Whether the tax is disabled
275
+ integration_meta:
276
+ type: object
277
+ additionalProperties: true
278
+ description: Integration metadata
279
+ company_namespace:
280
+ type: array
281
+ items:
282
+ type: string
283
+ description: Company namespaces
284
+ _id:
285
+ type: string
286
+ description: Unique identifier for the tax
287
+ createdAt:
288
+ type: string
289
+ format: date-time
290
+ description: Creation timestamp
291
+ updatedAt:
292
+ type: string
293
+ format: date-time
294
+ description: Last update timestamp
295
+ __v:
296
+ type: number
297
+ description: Version number
298
+ TaxUpdateResult:
299
+ $ref: "#/components/schemas/TaxSchema"
300
+ description: Result of updating a tax
301
+ TaxRemoveResult:
302
+ $ref: "#/components/schemas/TaxSchema"
303
+ description: Result of removing a tax
@@ -0,0 +1,268 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Team
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Team endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /team:
10
+ get:
11
+ summary: Find teams
12
+ operationId: findTeams
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
+ to_updatedAt:
38
+ type: number
39
+ from__id:
40
+ type: string
41
+ to__id:
42
+ type: string
43
+ sortBy:
44
+ type: array
45
+ items:
46
+ type: object
47
+ properties:
48
+ field:
49
+ type: string
50
+ enum: [_id]
51
+ type:
52
+ type: string
53
+ enum: [asc, desc]
54
+ description: Query parameters for filtering teams
55
+ responses:
56
+ "200":
57
+ description: A list of teams
58
+ content:
59
+ application/json:
60
+ schema:
61
+ $ref: "#/components/schemas/TeamFindResult"
62
+ post:
63
+ summary: Create a team
64
+ operationId: createTeam
65
+ requestBody:
66
+ required: true
67
+ content:
68
+ application/json:
69
+ schema:
70
+ $ref: "#/components/schemas/TeamCreateBody"
71
+ responses:
72
+ "201":
73
+ description: Team created
74
+ content:
75
+ application/json:
76
+ schema:
77
+ $ref: "#/components/schemas/TeamCreateResult"
78
+ /team/{id}:
79
+ get:
80
+ summary: Get a team by ID
81
+ operationId: getTeam
82
+ parameters:
83
+ - in: path
84
+ name: id
85
+ required: true
86
+ schema:
87
+ type: string
88
+ responses:
89
+ "200":
90
+ description: Team details
91
+ content:
92
+ application/json:
93
+ schema:
94
+ $ref: "#/components/schemas/TeamGetResult"
95
+ put:
96
+ summary: Update a team
97
+ operationId: updateTeam
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/TeamUpdateBody"
110
+ responses:
111
+ "200":
112
+ description: Team updated
113
+ content:
114
+ application/json:
115
+ schema:
116
+ $ref: "#/components/schemas/TeamUpdateResult"
117
+ delete:
118
+ summary: Remove a team
119
+ operationId: removeTeam
120
+ parameters:
121
+ - in: path
122
+ name: id
123
+ required: true
124
+ schema:
125
+ type: string
126
+ responses:
127
+ "200":
128
+ description: Team removed
129
+ content:
130
+ application/json:
131
+ schema:
132
+ $ref: "#/components/schemas/TeamRemoveResult"
133
+ components:
134
+ schemas:
135
+ TeamFindResult:
136
+ type: object
137
+ description: Result of finding teams
138
+ properties:
139
+ data:
140
+ type: array
141
+ items:
142
+ $ref: "#/components/schemas/TeamSchema"
143
+ total_result:
144
+ type: number
145
+ description: Total number of teams
146
+ current_count:
147
+ type: number
148
+ description: Count of teams in current page
149
+ total_pages:
150
+ type: number
151
+ description: Total number of pages
152
+ current_page:
153
+ type: number
154
+ description: Current page number
155
+ per_page:
156
+ type: number
157
+ description: Number of teams per page
158
+ first_page_url:
159
+ type: string
160
+ description: URL for the first page
161
+ last_page_url:
162
+ type: string
163
+ description: URL for the last page
164
+ next_page_url:
165
+ type: string
166
+ nullable: true
167
+ description: URL for the next page
168
+ prev_page_url:
169
+ type: string
170
+ nullable: true
171
+ description: URL for the previous page
172
+ path:
173
+ type: string
174
+ description: Base URL path
175
+ TeamSchema:
176
+ type: object
177
+ description: Team schema
178
+ properties:
179
+ _id:
180
+ type: string
181
+ description: Unique identifier for the team
182
+ name:
183
+ type: string
184
+ description: Name of the team
185
+ disabled:
186
+ type: boolean
187
+ description: Whether the team is disabled
188
+ company_namespace:
189
+ type: array
190
+ items:
191
+ type: string
192
+ description: Company namespaces
193
+ createdAt:
194
+ type: string
195
+ format: date-time
196
+ description: Creation timestamp
197
+ updatedAt:
198
+ type: string
199
+ format: date-time
200
+ description: Last update timestamp
201
+ __v:
202
+ type: number
203
+ description: Version number
204
+ TeamCreateBody:
205
+ type: object
206
+ description: Body for creating a team
207
+ required:
208
+ - name
209
+ properties:
210
+ name:
211
+ type: string
212
+ description: Name of the team
213
+ company_namespace:
214
+ type: array
215
+ items:
216
+ type: string
217
+ description: Company namespaces
218
+ disabled:
219
+ type: boolean
220
+ description: Whether the team is disabled
221
+ TeamCreateResult:
222
+ $ref: "#/components/schemas/TeamSchema"
223
+ description: Result of creating a team
224
+ TeamGetResult:
225
+ allOf:
226
+ - $ref: "#/components/schemas/TeamSchema"
227
+ - type: object
228
+ properties:
229
+ admins:
230
+ description: Administrators associated with the team
231
+ reps:
232
+ description: Representatives associated with the team
233
+ description: Result of getting a team
234
+ TeamUpdateBody:
235
+ type: object
236
+ description: Body for updating a team
237
+ properties:
238
+ name:
239
+ type: string
240
+ description: Name of the team
241
+ company_namespace:
242
+ type: array
243
+ items:
244
+ type: string
245
+ description: Company namespaces
246
+ disabled:
247
+ type: boolean
248
+ description: Whether the team is disabled
249
+ _id:
250
+ type: string
251
+ description: Unique identifier for the team
252
+ createdAt:
253
+ type: string
254
+ format: date-time
255
+ description: Creation timestamp
256
+ updatedAt:
257
+ type: string
258
+ format: date-time
259
+ description: Last update timestamp
260
+ __v:
261
+ type: number
262
+ description: Version number
263
+ TeamUpdateResult:
264
+ $ref: "#/components/schemas/TeamSchema"
265
+ description: Result of updating a team
266
+ TeamRemoveResult:
267
+ $ref: "#/components/schemas/TeamSchema"
268
+ description: Result of removing a team