repzo 1.0.154 → 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 (96) hide show
  1. package/changelog.md +1 -0
  2. package/lib/index.d.ts +18 -0
  3. package/lib/index.js +38 -0
  4. package/lib/types/index.d.ts +462 -198
  5. package/lib/types/index.js +2 -1
  6. package/package.json +2 -2
  7. package/src/index.ts +4890 -0
  8. package/src/oas/activity-ai-sales-order.yaml +623 -0
  9. package/src/oas/activity-feedback-v2.yaml +753 -0
  10. package/src/oas/activity-feedback.yaml +645 -0
  11. package/src/oas/activity-storecheck.yaml +379 -0
  12. package/src/oas/adjust-account.yaml +241 -0
  13. package/src/oas/adjust-inventory.yaml +133 -0
  14. package/src/oas/approval-request.yaml +211 -0
  15. package/src/oas/approvals.yaml +176 -0
  16. package/src/oas/asset-part-receival.yaml +591 -0
  17. package/src/oas/asset-part-transfer.yaml +618 -0
  18. package/src/oas/asset-part-type.yaml +383 -0
  19. package/src/oas/asset-part-unit.yaml +722 -0
  20. package/src/oas/asset-part.yaml +485 -0
  21. package/src/oas/asset-type.yaml +180 -0
  22. package/src/oas/asset-unit.yaml +705 -0
  23. package/src/oas/asset.yaml +204 -0
  24. package/src/oas/banks.yaml +168 -0
  25. package/src/oas/bankslists.yaml +168 -0
  26. package/src/oas/brand.yaml +246 -0
  27. package/src/oas/category.yaml +285 -0
  28. package/src/oas/checks.yaml +247 -0
  29. package/src/oas/client-channel.yaml +480 -0
  30. package/src/oas/client-contact.yaml +665 -0
  31. package/src/oas/client-location.yaml +687 -0
  32. package/src/oas/client.yaml +669 -0
  33. package/src/oas/contract-installment.yaml +740 -0
  34. package/src/oas/contract.yaml +210 -0
  35. package/src/oas/custom-list-item.yaml +168 -0
  36. package/src/oas/custom-list.yaml +168 -0
  37. package/src/oas/custom-status.yaml +168 -0
  38. package/src/oas/day.yaml +246 -0
  39. package/src/oas/feedback-options.yaml +802 -0
  40. package/src/oas/fullinvoices.yaml +584 -0
  41. package/src/oas/integration-action-log.yaml +361 -0
  42. package/src/oas/integration-app.yaml +303 -0
  43. package/src/oas/integration-command-log.yaml +381 -0
  44. package/src/oas/inventory-adjustment-reason.yaml +165 -0
  45. package/src/oas/inventory.yaml +64 -0
  46. package/src/oas/mail-unsubscribe.yaml +463 -0
  47. package/src/oas/measureunit-family.yaml +354 -0
  48. package/src/oas/measureunit.yaml +366 -0
  49. package/src/oas/media-storage.yaml +329 -0
  50. package/src/oas/media.yaml +472 -0
  51. package/src/oas/msl-products.yaml +180 -0
  52. package/src/oas/msl.yaml +186 -0
  53. package/src/oas/ocr-invoice-job-group.yaml +528 -0
  54. package/src/oas/ocr-invoice-job-page.yaml +602 -0
  55. package/src/oas/ocr-invoice-job-template.yaml +628 -0
  56. package/src/oas/ocr-invoice-job.yaml +603 -0
  57. package/src/oas/patch-action.yaml +421 -0
  58. package/src/oas/payment-terms.yaml +235 -0
  59. package/src/oas/payments.yaml +536 -0
  60. package/src/oas/pricelist-item.yaml +369 -0
  61. package/src/oas/pricelist.yaml +287 -0
  62. package/src/oas/product-group.yaml +278 -0
  63. package/src/oas/product-modifiers-group.yaml +524 -0
  64. package/src/oas/product.yaml +578 -0
  65. package/src/oas/proforma.yaml +180 -0
  66. package/src/oas/quick-convert-to-pdf.yaml +95 -0
  67. package/src/oas/receiving-material.yaml +336 -0
  68. package/src/oas/refund.yaml +281 -0
  69. package/src/oas/rep-balance-summary.yaml +135 -0
  70. package/src/oas/rep.yaml +1824 -0
  71. package/src/oas/return-asset-part-unit.yaml +573 -0
  72. package/src/oas/return-reason.yaml +286 -0
  73. package/src/oas/route.yaml +337 -0
  74. package/src/oas/safe-invoice-serial-counter.yaml +525 -0
  75. package/src/oas/settings.yaml +123 -0
  76. package/src/oas/settlement.yaml +505 -0
  77. package/src/oas/speciality.yaml +447 -0
  78. package/src/oas/store-asset-part-unit.yaml +658 -0
  79. package/src/oas/storecheck-template.yaml +415 -0
  80. package/src/oas/subcategory.yaml +355 -0
  81. package/src/oas/supplier.yaml +183 -0
  82. package/src/oas/svix-integration.yaml +335 -0
  83. package/src/oas/tag.yaml +272 -0
  84. package/src/oas/tax.yaml +303 -0
  85. package/src/oas/team.yaml +268 -0
  86. package/src/oas/transfer.yaml +347 -0
  87. package/src/oas/update-integration-meta.yaml +387 -0
  88. package/src/oas/variant.yaml +569 -0
  89. package/src/oas/visit.yaml +174 -0
  90. package/src/oas/warehouse.yaml +311 -0
  91. package/src/oas/workorder-category.yaml +751 -0
  92. package/src/oas/workorder-portal-link.yaml +811 -0
  93. package/src/oas/workorder-portal.yaml +650 -0
  94. package/src/oas/workorder-request.yaml +193 -0
  95. package/src/oas/workorder.yaml +204 -0
  96. package/src/types/index.ts +1175 -223
@@ -0,0 +1,210 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Contract
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Contract endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /contract:
10
+ get:
11
+ summary: Find contracts
12
+ operationId: findContracts
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering contracts
19
+ responses:
20
+ "200":
21
+ description: A list of contracts
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/ContractFindResult"
26
+ post:
27
+ summary: Create a contract
28
+ operationId: createContract
29
+ requestBody:
30
+ required: true
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: "#/components/schemas/ContractCreateBody"
35
+ responses:
36
+ "201":
37
+ description: Contract created
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: "#/components/schemas/ContractCreateResult"
42
+ /contract/{id}:
43
+ get:
44
+ summary: Get a contract by ID
45
+ operationId: getContract
46
+ parameters:
47
+ - in: path
48
+ name: id
49
+ required: true
50
+ schema:
51
+ type: string
52
+ responses:
53
+ "200":
54
+ description: Contract details
55
+ content:
56
+ application/json:
57
+ schema:
58
+ $ref: "#/components/schemas/ContractGetResult"
59
+ put:
60
+ summary: Update a contract
61
+ operationId: updateContract
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/ContractUpdateBody"
74
+ responses:
75
+ "200":
76
+ description: Contract updated
77
+ content:
78
+ application/json:
79
+ schema:
80
+ $ref: "#/components/schemas/ContractUpdateResult"
81
+ delete:
82
+ summary: Remove a contract
83
+ operationId: removeContract
84
+ parameters:
85
+ - in: path
86
+ name: id
87
+ required: true
88
+ schema:
89
+ type: string
90
+ responses:
91
+ "200":
92
+ description: Contract removed
93
+ content:
94
+ application/json:
95
+ schema:
96
+ $ref: "#/components/schemas/ContractRemoveResult"
97
+ components:
98
+ schemas:
99
+ ContractFindResult:
100
+ type: object
101
+ properties:
102
+ data:
103
+ type: array
104
+ items:
105
+ $ref: "#/components/schemas/Contract"
106
+ meta:
107
+ type: object
108
+ ContractCreateBody:
109
+ type: object
110
+ properties:
111
+ title:
112
+ type: string
113
+ client:
114
+ type: string
115
+ startDate:
116
+ type: string
117
+ format: date-time
118
+ endDate:
119
+ type: string
120
+ format: date-time
121
+ totalAmount:
122
+ type: number
123
+ currency:
124
+ type: string
125
+ status:
126
+ type: string
127
+ terms:
128
+ type: string
129
+ installments:
130
+ type: array
131
+ items:
132
+ type: object
133
+ ContractCreateResult:
134
+ type: object
135
+ properties:
136
+ data:
137
+ $ref: "#/components/schemas/Contract"
138
+ ContractGetResult:
139
+ type: object
140
+ properties:
141
+ data:
142
+ $ref: "#/components/schemas/Contract"
143
+ ContractUpdateBody:
144
+ type: object
145
+ properties:
146
+ title:
147
+ type: string
148
+ client:
149
+ type: string
150
+ startDate:
151
+ type: string
152
+ format: date-time
153
+ endDate:
154
+ type: string
155
+ format: date-time
156
+ totalAmount:
157
+ type: number
158
+ currency:
159
+ type: string
160
+ status:
161
+ type: string
162
+ terms:
163
+ type: string
164
+ installments:
165
+ type: array
166
+ items:
167
+ type: object
168
+ ContractUpdateResult:
169
+ type: object
170
+ properties:
171
+ data:
172
+ $ref: "#/components/schemas/Contract"
173
+ ContractRemoveResult:
174
+ type: object
175
+ properties:
176
+ success:
177
+ type: boolean
178
+ Contract:
179
+ type: object
180
+ properties:
181
+ _id:
182
+ type: string
183
+ title:
184
+ type: string
185
+ client:
186
+ type: string
187
+ startDate:
188
+ type: string
189
+ format: date-time
190
+ endDate:
191
+ type: string
192
+ format: date-time
193
+ totalAmount:
194
+ type: number
195
+ currency:
196
+ type: string
197
+ status:
198
+ type: string
199
+ terms:
200
+ type: string
201
+ installments:
202
+ type: array
203
+ items:
204
+ type: object
205
+ createdAt:
206
+ type: string
207
+ format: date-time
208
+ updatedAt:
209
+ type: string
210
+ format: date-time
@@ -0,0 +1,168 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Custom List Item
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Custom List Item endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /custom-list-item:
10
+ get:
11
+ summary: Find custom list items
12
+ operationId: findCustomListItems
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering custom list items
19
+ responses:
20
+ "200":
21
+ description: A list of custom list items
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/CustomListItemFindResult"
26
+ post:
27
+ summary: Create a custom list item
28
+ operationId: createCustomListItem
29
+ requestBody:
30
+ required: true
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: "#/components/schemas/CustomListItemCreateBody"
35
+ responses:
36
+ "201":
37
+ description: Custom list item created
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: "#/components/schemas/CustomListItemCreateResult"
42
+ /custom-list-item/{id}:
43
+ get:
44
+ summary: Get a custom list item by ID
45
+ operationId: getCustomListItem
46
+ parameters:
47
+ - in: path
48
+ name: id
49
+ required: true
50
+ schema:
51
+ type: string
52
+ responses:
53
+ "200":
54
+ description: Custom list item details
55
+ content:
56
+ application/json:
57
+ schema:
58
+ $ref: "#/components/schemas/CustomListItemGetResult"
59
+ put:
60
+ summary: Update a custom list item
61
+ operationId: updateCustomListItem
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/CustomListItemUpdateBody"
74
+ responses:
75
+ "200":
76
+ description: Custom list item updated
77
+ content:
78
+ application/json:
79
+ schema:
80
+ $ref: "#/components/schemas/CustomListItemUpdateResult"
81
+ delete:
82
+ summary: Remove a custom list item
83
+ operationId: removeCustomListItem
84
+ parameters:
85
+ - in: path
86
+ name: id
87
+ required: true
88
+ schema:
89
+ type: string
90
+ responses:
91
+ "200":
92
+ description: Custom list item removed
93
+ content:
94
+ application/json:
95
+ schema:
96
+ $ref: "#/components/schemas/CustomListItemRemoveResult"
97
+ components:
98
+ schemas:
99
+ CustomListItemFindResult:
100
+ type: object
101
+ properties:
102
+ data:
103
+ type: array
104
+ items:
105
+ $ref: "#/components/schemas/CustomListItem"
106
+ meta:
107
+ type: object
108
+ CustomListItemCreateBody:
109
+ type: object
110
+ properties:
111
+ name:
112
+ type: string
113
+ value:
114
+ type: string
115
+ customList:
116
+ type: string
117
+ disabled:
118
+ type: boolean
119
+ CustomListItemCreateResult:
120
+ type: object
121
+ properties:
122
+ data:
123
+ $ref: "#/components/schemas/CustomListItem"
124
+ CustomListItemGetResult:
125
+ type: object
126
+ properties:
127
+ data:
128
+ $ref: "#/components/schemas/CustomListItem"
129
+ CustomListItemUpdateBody:
130
+ type: object
131
+ properties:
132
+ name:
133
+ type: string
134
+ value:
135
+ type: string
136
+ customList:
137
+ type: string
138
+ disabled:
139
+ type: boolean
140
+ CustomListItemUpdateResult:
141
+ type: object
142
+ properties:
143
+ data:
144
+ $ref: "#/components/schemas/CustomListItem"
145
+ CustomListItemRemoveResult:
146
+ type: object
147
+ properties:
148
+ success:
149
+ type: boolean
150
+ CustomListItem:
151
+ type: object
152
+ properties:
153
+ _id:
154
+ type: string
155
+ name:
156
+ type: string
157
+ value:
158
+ type: string
159
+ customList:
160
+ type: string
161
+ disabled:
162
+ type: boolean
163
+ createdAt:
164
+ type: string
165
+ format: date-time
166
+ updatedAt:
167
+ type: string
168
+ format: date-time
@@ -0,0 +1,168 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Custom List
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Custom List endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /custom-list:
10
+ get:
11
+ summary: Find custom lists
12
+ operationId: findCustomLists
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering custom lists
19
+ responses:
20
+ "200":
21
+ description: A list of custom lists
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/CustomListFindResult"
26
+ post:
27
+ summary: Create a custom list
28
+ operationId: createCustomList
29
+ requestBody:
30
+ required: true
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: "#/components/schemas/CustomListCreateBody"
35
+ responses:
36
+ "201":
37
+ description: Custom list created
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: "#/components/schemas/CustomListCreateResult"
42
+ /custom-list/{id}:
43
+ get:
44
+ summary: Get a custom list by ID
45
+ operationId: getCustomList
46
+ parameters:
47
+ - in: path
48
+ name: id
49
+ required: true
50
+ schema:
51
+ type: string
52
+ responses:
53
+ "200":
54
+ description: Custom list details
55
+ content:
56
+ application/json:
57
+ schema:
58
+ $ref: "#/components/schemas/CustomListGetResult"
59
+ put:
60
+ summary: Update a custom list
61
+ operationId: updateCustomList
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/CustomListUpdateBody"
74
+ responses:
75
+ "200":
76
+ description: Custom list updated
77
+ content:
78
+ application/json:
79
+ schema:
80
+ $ref: "#/components/schemas/CustomListUpdateResult"
81
+ delete:
82
+ summary: Remove a custom list
83
+ operationId: removeCustomList
84
+ parameters:
85
+ - in: path
86
+ name: id
87
+ required: true
88
+ schema:
89
+ type: string
90
+ responses:
91
+ "200":
92
+ description: Custom list removed
93
+ content:
94
+ application/json:
95
+ schema:
96
+ $ref: "#/components/schemas/CustomListRemoveResult"
97
+ components:
98
+ schemas:
99
+ CustomListFindResult:
100
+ type: object
101
+ properties:
102
+ data:
103
+ type: array
104
+ items:
105
+ $ref: "#/components/schemas/CustomList"
106
+ meta:
107
+ type: object
108
+ CustomListCreateBody:
109
+ type: object
110
+ properties:
111
+ name:
112
+ type: string
113
+ description:
114
+ type: string
115
+ entity:
116
+ type: string
117
+ disabled:
118
+ type: boolean
119
+ CustomListCreateResult:
120
+ type: object
121
+ properties:
122
+ data:
123
+ $ref: "#/components/schemas/CustomList"
124
+ CustomListGetResult:
125
+ type: object
126
+ properties:
127
+ data:
128
+ $ref: "#/components/schemas/CustomList"
129
+ CustomListUpdateBody:
130
+ type: object
131
+ properties:
132
+ name:
133
+ type: string
134
+ description:
135
+ type: string
136
+ entity:
137
+ type: string
138
+ disabled:
139
+ type: boolean
140
+ CustomListUpdateResult:
141
+ type: object
142
+ properties:
143
+ data:
144
+ $ref: "#/components/schemas/CustomList"
145
+ CustomListRemoveResult:
146
+ type: object
147
+ properties:
148
+ success:
149
+ type: boolean
150
+ CustomList:
151
+ type: object
152
+ properties:
153
+ _id:
154
+ type: string
155
+ name:
156
+ type: string
157
+ description:
158
+ type: string
159
+ entity:
160
+ type: string
161
+ disabled:
162
+ type: boolean
163
+ createdAt:
164
+ type: string
165
+ format: date-time
166
+ updatedAt:
167
+ type: string
168
+ format: date-time
@@ -0,0 +1,168 @@
1
+ openapi: 3.0.3
2
+ info:
3
+ title: Repzo API - Custom Status
4
+ version: 1.0.0
5
+ description: OpenAPI specification for Repzo Custom Status endpoints.
6
+ servers:
7
+ - url: https://sv.api.repzo.me
8
+ paths:
9
+ /custom-status:
10
+ get:
11
+ summary: Find custom statuses
12
+ operationId: findCustomStatuses
13
+ parameters:
14
+ - in: query
15
+ name: params
16
+ schema:
17
+ type: object
18
+ description: Query parameters for filtering custom statuses
19
+ responses:
20
+ "200":
21
+ description: A list of custom statuses
22
+ content:
23
+ application/json:
24
+ schema:
25
+ $ref: "#/components/schemas/CustomStatusFindResult"
26
+ post:
27
+ summary: Create a custom status
28
+ operationId: createCustomStatus
29
+ requestBody:
30
+ required: true
31
+ content:
32
+ application/json:
33
+ schema:
34
+ $ref: "#/components/schemas/CustomStatusCreateBody"
35
+ responses:
36
+ "201":
37
+ description: Custom status created
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: "#/components/schemas/CustomStatusCreateResult"
42
+ /custom-status/{id}:
43
+ get:
44
+ summary: Get a custom status by ID
45
+ operationId: getCustomStatus
46
+ parameters:
47
+ - in: path
48
+ name: id
49
+ required: true
50
+ schema:
51
+ type: string
52
+ responses:
53
+ "200":
54
+ description: Custom status details
55
+ content:
56
+ application/json:
57
+ schema:
58
+ $ref: "#/components/schemas/CustomStatusGetResult"
59
+ put:
60
+ summary: Update a custom status
61
+ operationId: updateCustomStatus
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/CustomStatusUpdateBody"
74
+ responses:
75
+ "200":
76
+ description: Custom status updated
77
+ content:
78
+ application/json:
79
+ schema:
80
+ $ref: "#/components/schemas/CustomStatusUpdateResult"
81
+ delete:
82
+ summary: Remove a custom status
83
+ operationId: removeCustomStatus
84
+ parameters:
85
+ - in: path
86
+ name: id
87
+ required: true
88
+ schema:
89
+ type: string
90
+ responses:
91
+ "200":
92
+ description: Custom status removed
93
+ content:
94
+ application/json:
95
+ schema:
96
+ $ref: "#/components/schemas/CustomStatusRemoveResult"
97
+ components:
98
+ schemas:
99
+ CustomStatusFindResult:
100
+ type: object
101
+ properties:
102
+ data:
103
+ type: array
104
+ items:
105
+ $ref: "#/components/schemas/CustomStatus"
106
+ meta:
107
+ type: object
108
+ CustomStatusCreateBody:
109
+ type: object
110
+ properties:
111
+ name:
112
+ type: string
113
+ color:
114
+ type: string
115
+ entity:
116
+ type: string
117
+ disabled:
118
+ type: boolean
119
+ CustomStatusCreateResult:
120
+ type: object
121
+ properties:
122
+ data:
123
+ $ref: "#/components/schemas/CustomStatus"
124
+ CustomStatusGetResult:
125
+ type: object
126
+ properties:
127
+ data:
128
+ $ref: "#/components/schemas/CustomStatus"
129
+ CustomStatusUpdateBody:
130
+ type: object
131
+ properties:
132
+ name:
133
+ type: string
134
+ color:
135
+ type: string
136
+ entity:
137
+ type: string
138
+ disabled:
139
+ type: boolean
140
+ CustomStatusUpdateResult:
141
+ type: object
142
+ properties:
143
+ data:
144
+ $ref: "#/components/schemas/CustomStatus"
145
+ CustomStatusRemoveResult:
146
+ type: object
147
+ properties:
148
+ success:
149
+ type: boolean
150
+ CustomStatus:
151
+ type: object
152
+ properties:
153
+ _id:
154
+ type: string
155
+ name:
156
+ type: string
157
+ color:
158
+ type: string
159
+ entity:
160
+ type: string
161
+ disabled:
162
+ type: boolean
163
+ createdAt:
164
+ type: string
165
+ format: date-time
166
+ updatedAt:
167
+ type: string
168
+ format: date-time