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.
- package/lib/index.d.ts +1 -2
- package/lib/index.js +1 -1
- package/lib/types/index.d.ts +2 -2
- 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 +2 -1
|
@@ -0,0 +1,618 @@
|
|
|
1
|
+
openapi: 3.0.0
|
|
2
|
+
info:
|
|
3
|
+
title: Asset Part Transfer API
|
|
4
|
+
description: API for managing asset part transfers between locations
|
|
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: Asset Part Transfer
|
|
18
|
+
description: Operations related to asset part transfer management
|
|
19
|
+
|
|
20
|
+
paths:
|
|
21
|
+
/asset-part-transfer:
|
|
22
|
+
get:
|
|
23
|
+
tags:
|
|
24
|
+
- Asset Part Transfer
|
|
25
|
+
summary: Get all asset part transfers
|
|
26
|
+
description: Retrieve a list of all asset part transfers 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 asset part transfers 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/AssetPartTransfer"
|
|
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
|
+
- Asset Part Transfer
|
|
98
|
+
summary: Create a new asset part transfer
|
|
99
|
+
description: Create a new asset part transfer with the provided data
|
|
100
|
+
requestBody:
|
|
101
|
+
required: true
|
|
102
|
+
content:
|
|
103
|
+
application/json:
|
|
104
|
+
schema:
|
|
105
|
+
$ref: "#/components/schemas/AssetPartTransferInput"
|
|
106
|
+
responses:
|
|
107
|
+
"201":
|
|
108
|
+
description: Asset part transfer 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/AssetPartTransfer"
|
|
119
|
+
"400":
|
|
120
|
+
description: Bad request
|
|
121
|
+
"401":
|
|
122
|
+
description: Unauthorized
|
|
123
|
+
"500":
|
|
124
|
+
description: Internal server error
|
|
125
|
+
|
|
126
|
+
/asset-part-transfer/{id}:
|
|
127
|
+
get:
|
|
128
|
+
tags:
|
|
129
|
+
- Asset Part Transfer
|
|
130
|
+
summary: Get asset part transfer by ID
|
|
131
|
+
description: Retrieve a specific asset part transfer by its ID
|
|
132
|
+
parameters:
|
|
133
|
+
- name: id
|
|
134
|
+
in: path
|
|
135
|
+
required: true
|
|
136
|
+
description: Asset part transfer ID
|
|
137
|
+
schema:
|
|
138
|
+
type: string
|
|
139
|
+
responses:
|
|
140
|
+
"200":
|
|
141
|
+
description: Asset part transfer 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/AssetPartTransfer"
|
|
152
|
+
"404":
|
|
153
|
+
description: Asset part transfer not found
|
|
154
|
+
"401":
|
|
155
|
+
description: Unauthorized
|
|
156
|
+
"500":
|
|
157
|
+
description: Internal server error
|
|
158
|
+
put:
|
|
159
|
+
tags:
|
|
160
|
+
- Asset Part Transfer
|
|
161
|
+
summary: Update asset part transfer
|
|
162
|
+
description: Update an existing asset part transfer with new data
|
|
163
|
+
parameters:
|
|
164
|
+
- name: id
|
|
165
|
+
in: path
|
|
166
|
+
required: true
|
|
167
|
+
description: Asset part transfer ID
|
|
168
|
+
schema:
|
|
169
|
+
type: string
|
|
170
|
+
requestBody:
|
|
171
|
+
required: true
|
|
172
|
+
content:
|
|
173
|
+
application/json:
|
|
174
|
+
schema:
|
|
175
|
+
$ref: "#/components/schemas/AssetPartTransferInput"
|
|
176
|
+
responses:
|
|
177
|
+
"200":
|
|
178
|
+
description: Asset part transfer 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/AssetPartTransfer"
|
|
189
|
+
"400":
|
|
190
|
+
description: Bad request
|
|
191
|
+
"404":
|
|
192
|
+
description: Asset part transfer not found
|
|
193
|
+
"401":
|
|
194
|
+
description: Unauthorized
|
|
195
|
+
"500":
|
|
196
|
+
description: Internal server error
|
|
197
|
+
delete:
|
|
198
|
+
tags:
|
|
199
|
+
- Asset Part Transfer
|
|
200
|
+
summary: Delete asset part transfer
|
|
201
|
+
description: Delete an existing asset part transfer
|
|
202
|
+
parameters:
|
|
203
|
+
- name: id
|
|
204
|
+
in: path
|
|
205
|
+
required: true
|
|
206
|
+
description: Asset part transfer ID
|
|
207
|
+
schema:
|
|
208
|
+
type: string
|
|
209
|
+
responses:
|
|
210
|
+
"200":
|
|
211
|
+
description: Asset part transfer 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: Asset part transfer deleted successfully
|
|
223
|
+
"404":
|
|
224
|
+
description: Asset part transfer not found
|
|
225
|
+
"401":
|
|
226
|
+
description: Unauthorized
|
|
227
|
+
"500":
|
|
228
|
+
description: Internal server error
|
|
229
|
+
|
|
230
|
+
/asset-part-transfer/{id}/complete:
|
|
231
|
+
post:
|
|
232
|
+
tags:
|
|
233
|
+
- Asset Part Transfer
|
|
234
|
+
summary: Complete asset part transfer
|
|
235
|
+
description: Mark an asset part transfer as completed
|
|
236
|
+
parameters:
|
|
237
|
+
- name: id
|
|
238
|
+
in: path
|
|
239
|
+
required: true
|
|
240
|
+
description: Asset part transfer ID
|
|
241
|
+
schema:
|
|
242
|
+
type: string
|
|
243
|
+
responses:
|
|
244
|
+
"200":
|
|
245
|
+
description: Asset part transfer completed successfully
|
|
246
|
+
content:
|
|
247
|
+
application/json:
|
|
248
|
+
schema:
|
|
249
|
+
type: object
|
|
250
|
+
properties:
|
|
251
|
+
success:
|
|
252
|
+
type: boolean
|
|
253
|
+
example: true
|
|
254
|
+
data:
|
|
255
|
+
$ref: "#/components/schemas/AssetPartTransfer"
|
|
256
|
+
"404":
|
|
257
|
+
description: Asset part transfer not found
|
|
258
|
+
"401":
|
|
259
|
+
description: Unauthorized
|
|
260
|
+
"500":
|
|
261
|
+
description: Internal server error
|
|
262
|
+
|
|
263
|
+
components:
|
|
264
|
+
schemas:
|
|
265
|
+
AssetPartTransfer:
|
|
266
|
+
type: object
|
|
267
|
+
properties:
|
|
268
|
+
_id:
|
|
269
|
+
type: string
|
|
270
|
+
description: Unique identifier for the asset part transfer
|
|
271
|
+
example: "60f7b1b3e4b0e8b3f8b3f8b3"
|
|
272
|
+
transferNumber:
|
|
273
|
+
type: string
|
|
274
|
+
description: Unique transfer number
|
|
275
|
+
example: "TRF-2023-001"
|
|
276
|
+
fromLocation:
|
|
277
|
+
type: object
|
|
278
|
+
properties:
|
|
279
|
+
warehouse:
|
|
280
|
+
type: string
|
|
281
|
+
description: Source warehouse ID
|
|
282
|
+
section:
|
|
283
|
+
type: string
|
|
284
|
+
description: Source section
|
|
285
|
+
shelf:
|
|
286
|
+
type: string
|
|
287
|
+
description: Source shelf
|
|
288
|
+
position:
|
|
289
|
+
type: string
|
|
290
|
+
description: Source position
|
|
291
|
+
toLocation:
|
|
292
|
+
type: object
|
|
293
|
+
properties:
|
|
294
|
+
warehouse:
|
|
295
|
+
type: string
|
|
296
|
+
description: Destination warehouse ID
|
|
297
|
+
section:
|
|
298
|
+
type: string
|
|
299
|
+
description: Destination section
|
|
300
|
+
shelf:
|
|
301
|
+
type: string
|
|
302
|
+
description: Destination shelf
|
|
303
|
+
position:
|
|
304
|
+
type: string
|
|
305
|
+
description: Destination position
|
|
306
|
+
requestedBy:
|
|
307
|
+
type: string
|
|
308
|
+
description: User who requested the transfer
|
|
309
|
+
example: "60f7b1b3e4b0e8b3f8b3f8b4"
|
|
310
|
+
approvedBy:
|
|
311
|
+
type: string
|
|
312
|
+
description: User who approved the transfer
|
|
313
|
+
example: "60f7b1b3e4b0e8b3f8b3f8b5"
|
|
314
|
+
transferredBy:
|
|
315
|
+
type: string
|
|
316
|
+
description: User who executed the transfer
|
|
317
|
+
example: "60f7b1b3e4b0e8b3f8b3f8b6"
|
|
318
|
+
requestDate:
|
|
319
|
+
type: string
|
|
320
|
+
format: date-time
|
|
321
|
+
description: Date when transfer was requested
|
|
322
|
+
example: "2023-01-15T08:00:00Z"
|
|
323
|
+
approvalDate:
|
|
324
|
+
type: string
|
|
325
|
+
format: date-time
|
|
326
|
+
description: Date when transfer was approved
|
|
327
|
+
example: "2023-01-15T09:00:00Z"
|
|
328
|
+
transferDate:
|
|
329
|
+
type: string
|
|
330
|
+
format: date-time
|
|
331
|
+
description: Date when transfer was executed
|
|
332
|
+
example: "2023-01-15T10:00:00Z"
|
|
333
|
+
scheduledDate:
|
|
334
|
+
type: string
|
|
335
|
+
format: date-time
|
|
336
|
+
description: Scheduled transfer date
|
|
337
|
+
example: "2023-01-15T10:00:00Z"
|
|
338
|
+
status:
|
|
339
|
+
type: string
|
|
340
|
+
enum: [requested, approved, in-progress, completed, cancelled]
|
|
341
|
+
default: requested
|
|
342
|
+
description: Status of the transfer
|
|
343
|
+
priority:
|
|
344
|
+
type: string
|
|
345
|
+
enum: [low, medium, high, urgent]
|
|
346
|
+
default: medium
|
|
347
|
+
description: Priority of the transfer
|
|
348
|
+
reason:
|
|
349
|
+
type: string
|
|
350
|
+
description: Reason for the transfer
|
|
351
|
+
items:
|
|
352
|
+
type: array
|
|
353
|
+
items:
|
|
354
|
+
type: object
|
|
355
|
+
properties:
|
|
356
|
+
assetPartUnit:
|
|
357
|
+
type: string
|
|
358
|
+
description: Asset part unit ID
|
|
359
|
+
assetPart:
|
|
360
|
+
type: string
|
|
361
|
+
description: Asset part ID
|
|
362
|
+
serialNumber:
|
|
363
|
+
type: string
|
|
364
|
+
description: Serial number
|
|
365
|
+
quantity:
|
|
366
|
+
type: integer
|
|
367
|
+
minimum: 1
|
|
368
|
+
description: Quantity to transfer
|
|
369
|
+
condition:
|
|
370
|
+
type: string
|
|
371
|
+
enum: [new, good, fair, poor, damaged]
|
|
372
|
+
description: Condition at transfer
|
|
373
|
+
notes:
|
|
374
|
+
type: string
|
|
375
|
+
description: Notes for this item
|
|
376
|
+
totalItems:
|
|
377
|
+
type: integer
|
|
378
|
+
minimum: 0
|
|
379
|
+
description: Total number of items being transferred
|
|
380
|
+
transportMethod:
|
|
381
|
+
type: string
|
|
382
|
+
enum: [manual, vehicle, courier, automated]
|
|
383
|
+
default: manual
|
|
384
|
+
description: Method of transport
|
|
385
|
+
carrier:
|
|
386
|
+
type: string
|
|
387
|
+
description: Carrier/transporter name
|
|
388
|
+
trackingNumber:
|
|
389
|
+
type: string
|
|
390
|
+
description: Tracking number if applicable
|
|
391
|
+
estimatedArrival:
|
|
392
|
+
type: string
|
|
393
|
+
format: date-time
|
|
394
|
+
description: Estimated arrival time
|
|
395
|
+
actualArrival:
|
|
396
|
+
type: string
|
|
397
|
+
format: date-time
|
|
398
|
+
description: Actual arrival time
|
|
399
|
+
cost:
|
|
400
|
+
type: number
|
|
401
|
+
format: double
|
|
402
|
+
minimum: 0
|
|
403
|
+
description: Transfer cost
|
|
404
|
+
currency:
|
|
405
|
+
type: string
|
|
406
|
+
description: Currency code
|
|
407
|
+
example: "USD"
|
|
408
|
+
documents:
|
|
409
|
+
type: array
|
|
410
|
+
items:
|
|
411
|
+
type: object
|
|
412
|
+
properties:
|
|
413
|
+
name:
|
|
414
|
+
type: string
|
|
415
|
+
url:
|
|
416
|
+
type: string
|
|
417
|
+
format: uri
|
|
418
|
+
type:
|
|
419
|
+
type: string
|
|
420
|
+
enum: [transfer-order, receipt, photo, other]
|
|
421
|
+
notes:
|
|
422
|
+
type: string
|
|
423
|
+
description: General notes
|
|
424
|
+
metadata:
|
|
425
|
+
type: object
|
|
426
|
+
additionalProperties: true
|
|
427
|
+
description: Additional metadata
|
|
428
|
+
createdAt:
|
|
429
|
+
type: string
|
|
430
|
+
format: date-time
|
|
431
|
+
description: Record creation timestamp
|
|
432
|
+
example: "2023-01-15T08:00:00Z"
|
|
433
|
+
updatedAt:
|
|
434
|
+
type: string
|
|
435
|
+
format: date-time
|
|
436
|
+
description: Record last update timestamp
|
|
437
|
+
example: "2023-01-15T10:30:00Z"
|
|
438
|
+
required:
|
|
439
|
+
- transferNumber
|
|
440
|
+
- fromLocation
|
|
441
|
+
- toLocation
|
|
442
|
+
- requestedBy
|
|
443
|
+
- items
|
|
444
|
+
|
|
445
|
+
AssetPartTransferInput:
|
|
446
|
+
type: object
|
|
447
|
+
properties:
|
|
448
|
+
transferNumber:
|
|
449
|
+
type: string
|
|
450
|
+
description: Unique transfer number
|
|
451
|
+
example: "TRF-2023-001"
|
|
452
|
+
fromLocation:
|
|
453
|
+
type: object
|
|
454
|
+
properties:
|
|
455
|
+
warehouse:
|
|
456
|
+
type: string
|
|
457
|
+
description: Source warehouse ID
|
|
458
|
+
section:
|
|
459
|
+
type: string
|
|
460
|
+
description: Source section
|
|
461
|
+
shelf:
|
|
462
|
+
type: string
|
|
463
|
+
description: Source shelf
|
|
464
|
+
position:
|
|
465
|
+
type: string
|
|
466
|
+
description: Source position
|
|
467
|
+
toLocation:
|
|
468
|
+
type: object
|
|
469
|
+
properties:
|
|
470
|
+
warehouse:
|
|
471
|
+
type: string
|
|
472
|
+
description: Destination warehouse ID
|
|
473
|
+
section:
|
|
474
|
+
type: string
|
|
475
|
+
description: Destination section
|
|
476
|
+
shelf:
|
|
477
|
+
type: string
|
|
478
|
+
description: Destination shelf
|
|
479
|
+
position:
|
|
480
|
+
type: string
|
|
481
|
+
description: Destination position
|
|
482
|
+
requestedBy:
|
|
483
|
+
type: string
|
|
484
|
+
description: User who requested the transfer
|
|
485
|
+
example: "60f7b1b3e4b0e8b3f8b3f8b4"
|
|
486
|
+
approvedBy:
|
|
487
|
+
type: string
|
|
488
|
+
description: User who approved the transfer
|
|
489
|
+
example: "60f7b1b3e4b0e8b3f8b3f8b5"
|
|
490
|
+
transferredBy:
|
|
491
|
+
type: string
|
|
492
|
+
description: User who executed the transfer
|
|
493
|
+
example: "60f7b1b3e4b0e8b3f8b3f8b6"
|
|
494
|
+
requestDate:
|
|
495
|
+
type: string
|
|
496
|
+
format: date-time
|
|
497
|
+
description: Date when transfer was requested
|
|
498
|
+
example: "2023-01-15T08:00:00Z"
|
|
499
|
+
approvalDate:
|
|
500
|
+
type: string
|
|
501
|
+
format: date-time
|
|
502
|
+
description: Date when transfer was approved
|
|
503
|
+
example: "2023-01-15T09:00:00Z"
|
|
504
|
+
transferDate:
|
|
505
|
+
type: string
|
|
506
|
+
format: date-time
|
|
507
|
+
description: Date when transfer was executed
|
|
508
|
+
example: "2023-01-15T10:00:00Z"
|
|
509
|
+
scheduledDate:
|
|
510
|
+
type: string
|
|
511
|
+
format: date-time
|
|
512
|
+
description: Scheduled transfer date
|
|
513
|
+
example: "2023-01-15T10:00:00Z"
|
|
514
|
+
status:
|
|
515
|
+
type: string
|
|
516
|
+
enum: [requested, approved, in-progress, completed, cancelled]
|
|
517
|
+
default: requested
|
|
518
|
+
description: Status of the transfer
|
|
519
|
+
priority:
|
|
520
|
+
type: string
|
|
521
|
+
enum: [low, medium, high, urgent]
|
|
522
|
+
default: medium
|
|
523
|
+
description: Priority of the transfer
|
|
524
|
+
reason:
|
|
525
|
+
type: string
|
|
526
|
+
description: Reason for the transfer
|
|
527
|
+
items:
|
|
528
|
+
type: array
|
|
529
|
+
items:
|
|
530
|
+
type: object
|
|
531
|
+
properties:
|
|
532
|
+
assetPartUnit:
|
|
533
|
+
type: string
|
|
534
|
+
description: Asset part unit ID
|
|
535
|
+
assetPart:
|
|
536
|
+
type: string
|
|
537
|
+
description: Asset part ID
|
|
538
|
+
serialNumber:
|
|
539
|
+
type: string
|
|
540
|
+
description: Serial number
|
|
541
|
+
quantity:
|
|
542
|
+
type: integer
|
|
543
|
+
minimum: 1
|
|
544
|
+
description: Quantity to transfer
|
|
545
|
+
condition:
|
|
546
|
+
type: string
|
|
547
|
+
enum: [new, good, fair, poor, damaged]
|
|
548
|
+
description: Condition at transfer
|
|
549
|
+
notes:
|
|
550
|
+
type: string
|
|
551
|
+
description: Notes for this item
|
|
552
|
+
totalItems:
|
|
553
|
+
type: integer
|
|
554
|
+
minimum: 0
|
|
555
|
+
description: Total number of items being transferred
|
|
556
|
+
transportMethod:
|
|
557
|
+
type: string
|
|
558
|
+
enum: [manual, vehicle, courier, automated]
|
|
559
|
+
default: manual
|
|
560
|
+
description: Method of transport
|
|
561
|
+
carrier:
|
|
562
|
+
type: string
|
|
563
|
+
description: Carrier/transporter name
|
|
564
|
+
trackingNumber:
|
|
565
|
+
type: string
|
|
566
|
+
description: Tracking number if applicable
|
|
567
|
+
estimatedArrival:
|
|
568
|
+
type: string
|
|
569
|
+
format: date-time
|
|
570
|
+
description: Estimated arrival time
|
|
571
|
+
actualArrival:
|
|
572
|
+
type: string
|
|
573
|
+
format: date-time
|
|
574
|
+
description: Actual arrival time
|
|
575
|
+
cost:
|
|
576
|
+
type: number
|
|
577
|
+
format: double
|
|
578
|
+
minimum: 0
|
|
579
|
+
description: Transfer cost
|
|
580
|
+
currency:
|
|
581
|
+
type: string
|
|
582
|
+
description: Currency code
|
|
583
|
+
example: "USD"
|
|
584
|
+
documents:
|
|
585
|
+
type: array
|
|
586
|
+
items:
|
|
587
|
+
type: object
|
|
588
|
+
properties:
|
|
589
|
+
name:
|
|
590
|
+
type: string
|
|
591
|
+
url:
|
|
592
|
+
type: string
|
|
593
|
+
format: uri
|
|
594
|
+
type:
|
|
595
|
+
type: string
|
|
596
|
+
enum: [transfer-order, receipt, photo, other]
|
|
597
|
+
notes:
|
|
598
|
+
type: string
|
|
599
|
+
description: General notes
|
|
600
|
+
metadata:
|
|
601
|
+
type: object
|
|
602
|
+
additionalProperties: true
|
|
603
|
+
description: Additional metadata
|
|
604
|
+
required:
|
|
605
|
+
- transferNumber
|
|
606
|
+
- fromLocation
|
|
607
|
+
- toLocation
|
|
608
|
+
- requestedBy
|
|
609
|
+
- items
|
|
610
|
+
|
|
611
|
+
securitySchemes:
|
|
612
|
+
ApiKeyAuth:
|
|
613
|
+
type: apiKey
|
|
614
|
+
in: header
|
|
615
|
+
name: api-key
|
|
616
|
+
|
|
617
|
+
security:
|
|
618
|
+
- ApiKeyAuth: []
|