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.
- package/changelog.md +1 -0
- package/lib/index.d.ts +18 -0
- package/lib/index.js +38 -0
- package/lib/types/index.d.ts +462 -198
- package/lib/types/index.js +2 -1
- package/package.json +2 -2
- package/src/index.ts +4890 -0
- package/src/oas/activity-ai-sales-order.yaml +623 -0
- package/src/oas/activity-feedback-v2.yaml +753 -0
- package/src/oas/activity-feedback.yaml +645 -0
- package/src/oas/activity-storecheck.yaml +379 -0
- package/src/oas/adjust-account.yaml +241 -0
- package/src/oas/adjust-inventory.yaml +133 -0
- package/src/oas/approval-request.yaml +211 -0
- package/src/oas/approvals.yaml +176 -0
- package/src/oas/asset-part-receival.yaml +591 -0
- package/src/oas/asset-part-transfer.yaml +618 -0
- package/src/oas/asset-part-type.yaml +383 -0
- package/src/oas/asset-part-unit.yaml +722 -0
- package/src/oas/asset-part.yaml +485 -0
- package/src/oas/asset-type.yaml +180 -0
- package/src/oas/asset-unit.yaml +705 -0
- package/src/oas/asset.yaml +204 -0
- package/src/oas/banks.yaml +168 -0
- package/src/oas/bankslists.yaml +168 -0
- package/src/oas/brand.yaml +246 -0
- package/src/oas/category.yaml +285 -0
- package/src/oas/checks.yaml +247 -0
- package/src/oas/client-channel.yaml +480 -0
- package/src/oas/client-contact.yaml +665 -0
- package/src/oas/client-location.yaml +687 -0
- package/src/oas/client.yaml +669 -0
- package/src/oas/contract-installment.yaml +740 -0
- package/src/oas/contract.yaml +210 -0
- package/src/oas/custom-list-item.yaml +168 -0
- package/src/oas/custom-list.yaml +168 -0
- package/src/oas/custom-status.yaml +168 -0
- package/src/oas/day.yaml +246 -0
- package/src/oas/feedback-options.yaml +802 -0
- package/src/oas/fullinvoices.yaml +584 -0
- package/src/oas/integration-action-log.yaml +361 -0
- package/src/oas/integration-app.yaml +303 -0
- package/src/oas/integration-command-log.yaml +381 -0
- package/src/oas/inventory-adjustment-reason.yaml +165 -0
- package/src/oas/inventory.yaml +64 -0
- package/src/oas/mail-unsubscribe.yaml +463 -0
- package/src/oas/measureunit-family.yaml +354 -0
- package/src/oas/measureunit.yaml +366 -0
- package/src/oas/media-storage.yaml +329 -0
- package/src/oas/media.yaml +472 -0
- package/src/oas/msl-products.yaml +180 -0
- package/src/oas/msl.yaml +186 -0
- package/src/oas/ocr-invoice-job-group.yaml +528 -0
- package/src/oas/ocr-invoice-job-page.yaml +602 -0
- package/src/oas/ocr-invoice-job-template.yaml +628 -0
- package/src/oas/ocr-invoice-job.yaml +603 -0
- package/src/oas/patch-action.yaml +421 -0
- package/src/oas/payment-terms.yaml +235 -0
- package/src/oas/payments.yaml +536 -0
- package/src/oas/pricelist-item.yaml +369 -0
- package/src/oas/pricelist.yaml +287 -0
- package/src/oas/product-group.yaml +278 -0
- package/src/oas/product-modifiers-group.yaml +524 -0
- package/src/oas/product.yaml +578 -0
- package/src/oas/proforma.yaml +180 -0
- package/src/oas/quick-convert-to-pdf.yaml +95 -0
- package/src/oas/receiving-material.yaml +336 -0
- package/src/oas/refund.yaml +281 -0
- package/src/oas/rep-balance-summary.yaml +135 -0
- package/src/oas/rep.yaml +1824 -0
- package/src/oas/return-asset-part-unit.yaml +573 -0
- package/src/oas/return-reason.yaml +286 -0
- package/src/oas/route.yaml +337 -0
- package/src/oas/safe-invoice-serial-counter.yaml +525 -0
- package/src/oas/settings.yaml +123 -0
- package/src/oas/settlement.yaml +505 -0
- package/src/oas/speciality.yaml +447 -0
- package/src/oas/store-asset-part-unit.yaml +658 -0
- package/src/oas/storecheck-template.yaml +415 -0
- package/src/oas/subcategory.yaml +355 -0
- package/src/oas/supplier.yaml +183 -0
- package/src/oas/svix-integration.yaml +335 -0
- package/src/oas/tag.yaml +272 -0
- package/src/oas/tax.yaml +303 -0
- package/src/oas/team.yaml +268 -0
- package/src/oas/transfer.yaml +347 -0
- package/src/oas/update-integration-meta.yaml +387 -0
- package/src/oas/variant.yaml +569 -0
- package/src/oas/visit.yaml +174 -0
- package/src/oas/warehouse.yaml +311 -0
- package/src/oas/workorder-category.yaml +751 -0
- package/src/oas/workorder-portal-link.yaml +811 -0
- package/src/oas/workorder-portal.yaml +650 -0
- package/src/oas/workorder-request.yaml +193 -0
- package/src/oas/workorder.yaml +204 -0
- package/src/types/index.ts +1175 -223
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
openapi: 3.0.3
|
|
2
|
+
info:
|
|
3
|
+
title: Repzo API - Transfer
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
description: OpenAPI specification for Repzo Transfer endpoints.
|
|
6
|
+
servers:
|
|
7
|
+
- url: https://sv.api.repzo.me
|
|
8
|
+
paths:
|
|
9
|
+
/transfer:
|
|
10
|
+
get:
|
|
11
|
+
summary: Find transfers
|
|
12
|
+
operationId: findTransfers
|
|
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
|
+
fromWarehouse:
|
|
28
|
+
oneOf:
|
|
29
|
+
- type: array
|
|
30
|
+
items:
|
|
31
|
+
type: string
|
|
32
|
+
- type: string
|
|
33
|
+
toWarehouse:
|
|
34
|
+
oneOf:
|
|
35
|
+
- type: array
|
|
36
|
+
items:
|
|
37
|
+
type: string
|
|
38
|
+
- type: string
|
|
39
|
+
rep:
|
|
40
|
+
oneOf:
|
|
41
|
+
- type: array
|
|
42
|
+
items:
|
|
43
|
+
type: string
|
|
44
|
+
- type: string
|
|
45
|
+
status:
|
|
46
|
+
type: string
|
|
47
|
+
enum: [pending, in_transit, completed, cancelled]
|
|
48
|
+
from_date:
|
|
49
|
+
type: string
|
|
50
|
+
format: date-time
|
|
51
|
+
to_date:
|
|
52
|
+
type: string
|
|
53
|
+
format: date-time
|
|
54
|
+
from_updatedAt:
|
|
55
|
+
type: number
|
|
56
|
+
from__id:
|
|
57
|
+
type: string
|
|
58
|
+
to__id:
|
|
59
|
+
type: string
|
|
60
|
+
sortBy:
|
|
61
|
+
type: array
|
|
62
|
+
items:
|
|
63
|
+
type: object
|
|
64
|
+
properties:
|
|
65
|
+
field:
|
|
66
|
+
type: string
|
|
67
|
+
enum: [_id, createdAt, updatedAt, transferDate]
|
|
68
|
+
type:
|
|
69
|
+
type: string
|
|
70
|
+
enum: [asc, desc]
|
|
71
|
+
description: Query parameters for filtering transfers
|
|
72
|
+
responses:
|
|
73
|
+
"200":
|
|
74
|
+
description: A list of transfers
|
|
75
|
+
content:
|
|
76
|
+
application/json:
|
|
77
|
+
schema:
|
|
78
|
+
$ref: "#/components/schemas/TransferFindResult"
|
|
79
|
+
post:
|
|
80
|
+
summary: Create a transfer
|
|
81
|
+
operationId: createTransfer
|
|
82
|
+
requestBody:
|
|
83
|
+
required: true
|
|
84
|
+
content:
|
|
85
|
+
application/json:
|
|
86
|
+
schema:
|
|
87
|
+
$ref: "#/components/schemas/TransferCreateBody"
|
|
88
|
+
responses:
|
|
89
|
+
"201":
|
|
90
|
+
description: Transfer created
|
|
91
|
+
content:
|
|
92
|
+
application/json:
|
|
93
|
+
schema:
|
|
94
|
+
$ref: "#/components/schemas/TransferCreateResult"
|
|
95
|
+
/transfer/{id}:
|
|
96
|
+
get:
|
|
97
|
+
summary: Get a transfer by ID
|
|
98
|
+
operationId: getTransfer
|
|
99
|
+
parameters:
|
|
100
|
+
- in: path
|
|
101
|
+
name: id
|
|
102
|
+
required: true
|
|
103
|
+
schema:
|
|
104
|
+
type: string
|
|
105
|
+
responses:
|
|
106
|
+
"200":
|
|
107
|
+
description: Transfer details
|
|
108
|
+
content:
|
|
109
|
+
application/json:
|
|
110
|
+
schema:
|
|
111
|
+
$ref: "#/components/schemas/TransferGetResult"
|
|
112
|
+
put:
|
|
113
|
+
summary: Update a transfer
|
|
114
|
+
operationId: updateTransfer
|
|
115
|
+
parameters:
|
|
116
|
+
- in: path
|
|
117
|
+
name: id
|
|
118
|
+
required: true
|
|
119
|
+
schema:
|
|
120
|
+
type: string
|
|
121
|
+
requestBody:
|
|
122
|
+
required: true
|
|
123
|
+
content:
|
|
124
|
+
application/json:
|
|
125
|
+
schema:
|
|
126
|
+
$ref: "#/components/schemas/TransferUpdateBody"
|
|
127
|
+
responses:
|
|
128
|
+
"200":
|
|
129
|
+
description: Transfer updated
|
|
130
|
+
content:
|
|
131
|
+
application/json:
|
|
132
|
+
schema:
|
|
133
|
+
$ref: "#/components/schemas/TransferUpdateResult"
|
|
134
|
+
components:
|
|
135
|
+
schemas:
|
|
136
|
+
TransferFindResult:
|
|
137
|
+
type: object
|
|
138
|
+
description: Result of finding transfers
|
|
139
|
+
properties:
|
|
140
|
+
data:
|
|
141
|
+
type: array
|
|
142
|
+
items:
|
|
143
|
+
$ref: "#/components/schemas/TransferSchema"
|
|
144
|
+
total_result:
|
|
145
|
+
type: number
|
|
146
|
+
description: Total number of transfers
|
|
147
|
+
current_count:
|
|
148
|
+
type: number
|
|
149
|
+
description: Count of transfers in current page
|
|
150
|
+
total_pages:
|
|
151
|
+
type: number
|
|
152
|
+
description: Total number of pages
|
|
153
|
+
current_page:
|
|
154
|
+
type: number
|
|
155
|
+
description: Current page number
|
|
156
|
+
per_page:
|
|
157
|
+
type: number
|
|
158
|
+
description: Number of transfers per page
|
|
159
|
+
TransferSchema:
|
|
160
|
+
type: object
|
|
161
|
+
description: Transfer schema
|
|
162
|
+
properties:
|
|
163
|
+
_id:
|
|
164
|
+
type: string
|
|
165
|
+
description: Unique identifier for the transfer
|
|
166
|
+
transferNumber:
|
|
167
|
+
type: string
|
|
168
|
+
description: Transfer reference number
|
|
169
|
+
fromWarehouse:
|
|
170
|
+
type: string
|
|
171
|
+
description: Source warehouse ID
|
|
172
|
+
toWarehouse:
|
|
173
|
+
type: string
|
|
174
|
+
description: Destination warehouse ID
|
|
175
|
+
rep:
|
|
176
|
+
type: string
|
|
177
|
+
description: Representative ID who initiated the transfer
|
|
178
|
+
transferDate:
|
|
179
|
+
type: string
|
|
180
|
+
format: date-time
|
|
181
|
+
description: Date when transfer was initiated
|
|
182
|
+
expectedDate:
|
|
183
|
+
type: string
|
|
184
|
+
format: date-time
|
|
185
|
+
description: Expected delivery date
|
|
186
|
+
completedDate:
|
|
187
|
+
type: string
|
|
188
|
+
format: date-time
|
|
189
|
+
description: Date when transfer was completed
|
|
190
|
+
status:
|
|
191
|
+
type: string
|
|
192
|
+
enum: [pending, in_transit, completed, cancelled]
|
|
193
|
+
description: Status of the transfer
|
|
194
|
+
items:
|
|
195
|
+
type: array
|
|
196
|
+
items:
|
|
197
|
+
type: object
|
|
198
|
+
properties:
|
|
199
|
+
product:
|
|
200
|
+
type: string
|
|
201
|
+
description: Product ID
|
|
202
|
+
variant:
|
|
203
|
+
type: string
|
|
204
|
+
description: Product variant ID
|
|
205
|
+
requestedQuantity:
|
|
206
|
+
type: number
|
|
207
|
+
description: Requested quantity to transfer
|
|
208
|
+
sentQuantity:
|
|
209
|
+
type: number
|
|
210
|
+
description: Actually sent quantity
|
|
211
|
+
receivedQuantity:
|
|
212
|
+
type: number
|
|
213
|
+
description: Actually received quantity
|
|
214
|
+
unitCost:
|
|
215
|
+
type: number
|
|
216
|
+
description: Unit cost of the item
|
|
217
|
+
description: List of items being transferred
|
|
218
|
+
totalValue:
|
|
219
|
+
type: number
|
|
220
|
+
description: Total value of the transfer
|
|
221
|
+
reason:
|
|
222
|
+
type: string
|
|
223
|
+
description: Reason for the transfer
|
|
224
|
+
notes:
|
|
225
|
+
type: string
|
|
226
|
+
description: Additional notes
|
|
227
|
+
integration_meta:
|
|
228
|
+
type: object
|
|
229
|
+
additionalProperties: true
|
|
230
|
+
description: Integration metadata
|
|
231
|
+
company_namespace:
|
|
232
|
+
type: array
|
|
233
|
+
items:
|
|
234
|
+
type: string
|
|
235
|
+
description: Company namespaces
|
|
236
|
+
createdAt:
|
|
237
|
+
type: string
|
|
238
|
+
format: date-time
|
|
239
|
+
description: Creation timestamp
|
|
240
|
+
updatedAt:
|
|
241
|
+
type: string
|
|
242
|
+
format: date-time
|
|
243
|
+
description: Last update timestamp
|
|
244
|
+
__v:
|
|
245
|
+
type: number
|
|
246
|
+
description: Version number
|
|
247
|
+
TransferCreateBody:
|
|
248
|
+
type: object
|
|
249
|
+
description: Body for creating a transfer
|
|
250
|
+
required:
|
|
251
|
+
- fromWarehouse
|
|
252
|
+
- toWarehouse
|
|
253
|
+
- items
|
|
254
|
+
properties:
|
|
255
|
+
fromWarehouse:
|
|
256
|
+
type: string
|
|
257
|
+
description: Source warehouse ID
|
|
258
|
+
toWarehouse:
|
|
259
|
+
type: string
|
|
260
|
+
description: Destination warehouse ID
|
|
261
|
+
rep:
|
|
262
|
+
type: string
|
|
263
|
+
description: Representative ID who initiated the transfer
|
|
264
|
+
expectedDate:
|
|
265
|
+
type: string
|
|
266
|
+
format: date-time
|
|
267
|
+
description: Expected delivery date
|
|
268
|
+
items:
|
|
269
|
+
type: array
|
|
270
|
+
items:
|
|
271
|
+
type: object
|
|
272
|
+
properties:
|
|
273
|
+
product:
|
|
274
|
+
type: string
|
|
275
|
+
description: Product ID
|
|
276
|
+
variant:
|
|
277
|
+
type: string
|
|
278
|
+
description: Product variant ID
|
|
279
|
+
requestedQuantity:
|
|
280
|
+
type: number
|
|
281
|
+
description: Requested quantity to transfer
|
|
282
|
+
unitCost:
|
|
283
|
+
type: number
|
|
284
|
+
description: Unit cost of the item
|
|
285
|
+
description: List of items being transferred
|
|
286
|
+
reason:
|
|
287
|
+
type: string
|
|
288
|
+
description: Reason for the transfer
|
|
289
|
+
notes:
|
|
290
|
+
type: string
|
|
291
|
+
description: Additional notes
|
|
292
|
+
integration_meta:
|
|
293
|
+
type: object
|
|
294
|
+
additionalProperties: true
|
|
295
|
+
description: Integration metadata
|
|
296
|
+
TransferCreateResult:
|
|
297
|
+
$ref: "#/components/schemas/TransferSchema"
|
|
298
|
+
description: Result of creating a transfer
|
|
299
|
+
TransferGetResult:
|
|
300
|
+
$ref: "#/components/schemas/TransferSchema"
|
|
301
|
+
description: Result of getting a transfer
|
|
302
|
+
TransferUpdateBody:
|
|
303
|
+
type: object
|
|
304
|
+
description: Body for updating a transfer
|
|
305
|
+
properties:
|
|
306
|
+
expectedDate:
|
|
307
|
+
type: string
|
|
308
|
+
format: date-time
|
|
309
|
+
description: Expected delivery date
|
|
310
|
+
status:
|
|
311
|
+
type: string
|
|
312
|
+
enum: [pending, in_transit, completed, cancelled]
|
|
313
|
+
description: Status of the transfer
|
|
314
|
+
items:
|
|
315
|
+
type: array
|
|
316
|
+
items:
|
|
317
|
+
type: object
|
|
318
|
+
properties:
|
|
319
|
+
product:
|
|
320
|
+
type: string
|
|
321
|
+
description: Product ID
|
|
322
|
+
variant:
|
|
323
|
+
type: string
|
|
324
|
+
description: Product variant ID
|
|
325
|
+
requestedQuantity:
|
|
326
|
+
type: number
|
|
327
|
+
description: Requested quantity to transfer
|
|
328
|
+
sentQuantity:
|
|
329
|
+
type: number
|
|
330
|
+
description: Actually sent quantity
|
|
331
|
+
receivedQuantity:
|
|
332
|
+
type: number
|
|
333
|
+
description: Actually received quantity
|
|
334
|
+
unitCost:
|
|
335
|
+
type: number
|
|
336
|
+
description: Unit cost of the item
|
|
337
|
+
description: List of items being transferred
|
|
338
|
+
notes:
|
|
339
|
+
type: string
|
|
340
|
+
description: Additional notes
|
|
341
|
+
integration_meta:
|
|
342
|
+
type: object
|
|
343
|
+
additionalProperties: true
|
|
344
|
+
description: Integration metadata
|
|
345
|
+
TransferUpdateResult:
|
|
346
|
+
$ref: "#/components/schemas/TransferSchema"
|
|
347
|
+
description: Result of updating a transfer
|