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,133 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Adjust Inventory
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Adjust Inventory endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /adjust-inventory:
10
+ get:
11
+ summary: Find inventory adjustments
12
+ operationId: findInventoryAdjustments
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering inventory adjustments
19
+ responses:
20
+ "200":
21
+ description: A list of inventory adjustments
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/InventoryAdjustmentFindResult"
26
+ post:
27
+ summary: Create an inventory adjustment
28
+ operationId: createInventoryAdjustment
29
+ requestBody:
30
+ required: true
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: "#/components/schemas/InventoryAdjustmentCreateBody"
35
+ responses:
36
+ "201":
37
+ description: Inventory adjustment created
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: "#/components/schemas/InventoryAdjustmentCreateResult"
42
+ /adjust-inventory/{id}:
43
+ get:
44
+ summary: Get an inventory adjustment by ID
45
+ operationId: getInventoryAdjustment
46
+ parameters:
47
+ - in: path
48
+ name: id
49
+ required: true
50
+ schema:
51
+ type: string
52
+ responses:
53
+ "200":
54
+ description: Inventory adjustment details
55
+ content:
56
+ application/json:
57
+ schema:
58
+ $ref: "#/components/schemas/InventoryAdjustmentGetResult"
59
+ components:
60
+ schemas:
61
+ InventoryAdjustmentFindResult:
62
+ type: object
63
+ properties:
64
+ data:
65
+ type: array
66
+ items:
67
+ $ref: "#/components/schemas/InventoryAdjustment"
68
+ meta:
69
+ type: object
70
+ InventoryAdjustmentCreateBody:
71
+ type: object
72
+ properties:
73
+ warehouse:
74
+ type: string
75
+ rep:
76
+ type: string
77
+ items:
78
+ type: array
79
+ items:
80
+ type: object
81
+ properties:
82
+ product:
83
+ type: string
84
+ variant:
85
+ type: string
86
+ adjustmentQuantity:
87
+ type: number
88
+ reason:
89
+ type: string
90
+ notes:
91
+ type: string
92
+ InventoryAdjustmentCreateResult:
93
+ type: object
94
+ properties:
95
+ data:
96
+ $ref: "#/components/schemas/InventoryAdjustment"
97
+ InventoryAdjustmentGetResult:
98
+ type: object
99
+ properties:
100
+ data:
101
+ $ref: "#/components/schemas/InventoryAdjustment"
102
+ InventoryAdjustment:
103
+ type: object
104
+ properties:
105
+ _id:
106
+ type: string
107
+ warehouse:
108
+ type: string
109
+ rep:
110
+ type: string
111
+ items:
112
+ type: array
113
+ items:
114
+ type: object
115
+ properties:
116
+ product:
117
+ type: string
118
+ variant:
119
+ type: string
120
+ adjustmentQuantity:
121
+ type: number
122
+ reason:
123
+ type: string
124
+ notes:
125
+ type: string
126
+ status:
127
+ type: string
128
+ createdAt:
129
+ type: string
130
+ format: date-time
131
+ updatedAt:
132
+ type: string
133
+ format: date-time
@@ -0,0 +1,211 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Approval Request
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Approval Request endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /approval-request:
10
+ get:
11
+ summary: Find approval requests
12
+ operationId: findApprovalRequests
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering approval requests
19
+ responses:
20
+ "200":
21
+ description: A list of approval requests
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/ApprovalRequestFindResult"
26
+ post:
27
+ summary: Create an approval request
28
+ operationId: createApprovalRequest
29
+ requestBody:
30
+ required: true
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: "#/components/schemas/ApprovalRequestCreateBody"
35
+ responses:
36
+ "201":
37
+ description: Approval request created
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: "#/components/schemas/ApprovalRequestCreateResult"
42
+ /approval-request/{id}:
43
+ get:
44
+ summary: Get an approval request by ID
45
+ operationId: getApprovalRequest
46
+ parameters:
47
+ - in: path
48
+ name: id
49
+ required: true
50
+ schema:
51
+ type: string
52
+ responses:
53
+ "200":
54
+ description: Approval request details
55
+ content:
56
+ application/json:
57
+ schema:
58
+ $ref: "#/components/schemas/ApprovalRequestGetResult"
59
+ put:
60
+ summary: Update an approval request
61
+ operationId: updateApprovalRequest
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/ApprovalRequestUpdateBody"
74
+ responses:
75
+ "200":
76
+ description: Approval request updated
77
+ content:
78
+ application/json:
79
+ schema:
80
+ $ref: "#/components/schemas/ApprovalRequestUpdateResult"
81
+ delete:
82
+ summary: Remove an approval request
83
+ operationId: removeApprovalRequest
84
+ parameters:
85
+ - in: path
86
+ name: id
87
+ required: true
88
+ schema:
89
+ type: string
90
+ responses:
91
+ "200":
92
+ description: Approval request removed
93
+ content:
94
+ application/json:
95
+ schema:
96
+ $ref: "#/components/schemas/ApprovalRequestRemoveResult"
97
+ components:
98
+ schemas:
99
+ ApprovalRequestFindResult:
100
+ type: object
101
+ properties:
102
+ data:
103
+ type: array
104
+ items:
105
+ $ref: "#/components/schemas/ApprovalRequest"
106
+ meta:
107
+ type: object
108
+ ApprovalRequestCreateBody:
109
+ type: object
110
+ properties:
111
+ title:
112
+ type: string
113
+ description:
114
+ type: string
115
+ requestedBy:
116
+ type: string
117
+ entity:
118
+ type: string
119
+ entityId:
120
+ type: string
121
+ approvers:
122
+ type: array
123
+ items:
124
+ type: string
125
+ requiredApprovals:
126
+ type: number
127
+ dueDate:
128
+ type: string
129
+ format: date-time
130
+ priority:
131
+ type: string
132
+ enum: [low, medium, high, urgent]
133
+ ApprovalRequestCreateResult:
134
+ type: object
135
+ properties:
136
+ data:
137
+ $ref: "#/components/schemas/ApprovalRequest"
138
+ ApprovalRequestGetResult:
139
+ type: object
140
+ properties:
141
+ data:
142
+ $ref: "#/components/schemas/ApprovalRequest"
143
+ ApprovalRequestUpdateBody:
144
+ type: object
145
+ properties:
146
+ title:
147
+ type: string
148
+ description:
149
+ type: string
150
+ approvers:
151
+ type: array
152
+ items:
153
+ type: string
154
+ requiredApprovals:
155
+ type: number
156
+ dueDate:
157
+ type: string
158
+ format: date-time
159
+ priority:
160
+ type: string
161
+ enum: [low, medium, high, urgent]
162
+ status:
163
+ type: string
164
+ ApprovalRequestUpdateResult:
165
+ type: object
166
+ properties:
167
+ data:
168
+ $ref: "#/components/schemas/ApprovalRequest"
169
+ ApprovalRequestRemoveResult:
170
+ type: object
171
+ properties:
172
+ success:
173
+ type: boolean
174
+ ApprovalRequest:
175
+ type: object
176
+ properties:
177
+ _id:
178
+ type: string
179
+ title:
180
+ type: string
181
+ description:
182
+ type: string
183
+ requestedBy:
184
+ type: string
185
+ entity:
186
+ type: string
187
+ entityId:
188
+ type: string
189
+ approvers:
190
+ type: array
191
+ items:
192
+ type: string
193
+ requiredApprovals:
194
+ type: number
195
+ currentApprovals:
196
+ type: number
197
+ dueDate:
198
+ type: string
199
+ format: date-time
200
+ priority:
201
+ type: string
202
+ enum: [low, medium, high, urgent]
203
+ status:
204
+ type: string
205
+ enum: [pending, approved, rejected, expired]
206
+ createdAt:
207
+ type: string
208
+ format: date-time
209
+ updatedAt:
210
+ type: string
211
+ format: date-time
@@ -0,0 +1,176 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Approvals
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Approvals endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /approvals:
10
+ get:
11
+ summary: Find approvals
12
+ operationId: findApprovals
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering approvals
19
+ responses:
20
+ "200":
21
+ description: A list of approvals
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/ApprovalFindResult"
26
+ post:
27
+ summary: Create an approval
28
+ operationId: createApproval
29
+ requestBody:
30
+ required: true
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: "#/components/schemas/ApprovalCreateBody"
35
+ responses:
36
+ "201":
37
+ description: Approval created
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: "#/components/schemas/ApprovalCreateResult"
42
+ /approvals/{id}:
43
+ get:
44
+ summary: Get an approval by ID
45
+ operationId: getApproval
46
+ parameters:
47
+ - in: path
48
+ name: id
49
+ required: true
50
+ schema:
51
+ type: string
52
+ responses:
53
+ "200":
54
+ description: Approval details
55
+ content:
56
+ application/json:
57
+ schema:
58
+ $ref: "#/components/schemas/ApprovalGetResult"
59
+ put:
60
+ summary: Update an approval
61
+ operationId: updateApproval
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/ApprovalUpdateBody"
74
+ responses:
75
+ "200":
76
+ description: Approval updated
77
+ content:
78
+ application/json:
79
+ schema:
80
+ $ref: "#/components/schemas/ApprovalUpdateResult"
81
+ delete:
82
+ summary: Remove an approval
83
+ operationId: removeApproval
84
+ parameters:
85
+ - in: path
86
+ name: id
87
+ required: true
88
+ schema:
89
+ type: string
90
+ responses:
91
+ "200":
92
+ description: Approval removed
93
+ content:
94
+ application/json:
95
+ schema:
96
+ $ref: "#/components/schemas/ApprovalRemoveResult"
97
+ components:
98
+ schemas:
99
+ ApprovalFindResult:
100
+ type: object
101
+ properties:
102
+ data:
103
+ type: array
104
+ items:
105
+ $ref: "#/components/schemas/Approval"
106
+ meta:
107
+ type: object
108
+ ApprovalCreateBody:
109
+ type: object
110
+ properties:
111
+ approvalRequest:
112
+ type: string
113
+ approver:
114
+ type: string
115
+ decision:
116
+ type: string
117
+ enum: [approved, rejected]
118
+ comments:
119
+ type: string
120
+ signedAt:
121
+ type: string
122
+ format: date-time
123
+ ApprovalCreateResult:
124
+ type: object
125
+ properties:
126
+ data:
127
+ $ref: "#/components/schemas/Approval"
128
+ ApprovalGetResult:
129
+ type: object
130
+ properties:
131
+ data:
132
+ $ref: "#/components/schemas/Approval"
133
+ ApprovalUpdateBody:
134
+ type: object
135
+ properties:
136
+ decision:
137
+ type: string
138
+ enum: [approved, rejected]
139
+ comments:
140
+ type: string
141
+ signedAt:
142
+ type: string
143
+ format: date-time
144
+ ApprovalUpdateResult:
145
+ type: object
146
+ properties:
147
+ data:
148
+ $ref: "#/components/schemas/Approval"
149
+ ApprovalRemoveResult:
150
+ type: object
151
+ properties:
152
+ success:
153
+ type: boolean
154
+ Approval:
155
+ type: object
156
+ properties:
157
+ _id:
158
+ type: string
159
+ approvalRequest:
160
+ type: string
161
+ approver:
162
+ type: string
163
+ decision:
164
+ type: string
165
+ enum: [approved, rejected, pending]
166
+ comments:
167
+ type: string
168
+ signedAt:
169
+ type: string
170
+ format: date-time
171
+ createdAt:
172
+ type: string
173
+ format: date-time
174
+ updatedAt:
175
+ type: string
176
+ format: date-time