@things-factory/operato-hub 4.3.299 → 4.3.301
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/dist-server/graphql/resolvers/synchronization/powrup-get-tracking-no.js +2 -1
- package/dist-server/graphql/resolvers/synchronization/powrup-get-tracking-no.js.map +1 -1
- package/dist-server/routers/api/restful-apis/unstable/add-release-order.js +12 -8
- package/dist-server/routers/api/restful-apis/unstable/add-release-order.js.map +1 -1
- package/dist-server/routers/api/restful-apis/unstable/get-release-order-list.js +1 -0
- package/dist-server/routers/api/restful-apis/unstable/get-release-order-list.js.map +1 -1
- package/dist-server/routers/api/restful-apis/v1/utils/params.js +72 -3
- package/dist-server/routers/api/restful-apis/v1/utils/params.js.map +1 -1
- package/dist-server/routers/api/restful-apis/v1/warehouse/add-release-order.js +15 -11
- package/dist-server/routers/api/restful-apis/v1/warehouse/add-release-order.js.map +1 -1
- package/dist-server/routers/api/restful-apis/v1/warehouse/dispatch-delivery-order.js +313 -0
- package/dist-server/routers/api/restful-apis/v1/warehouse/dispatch-delivery-order.js.map +1 -0
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-delivery-order-list.js +50 -3
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-delivery-order-list.js.map +1 -1
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-do-document.js +65 -0
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-do-document.js.map +1 -0
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-grn-document.js +101 -0
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-grn-document.js.map +1 -0
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-inbound-order-details.js +3 -1
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-inbound-order-details.js.map +1 -1
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-release-order-details.js +96 -3
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-release-order-details.js.map +1 -1
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-release-order-list.js +12 -3
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-release-order-list.js.map +1 -1
- package/dist-server/routers/api/restful-apis/v1/warehouse/index.js +4 -0
- package/dist-server/routers/api/restful-apis/v1/warehouse/index.js.map +1 -1
- package/dist-server/routers/api/restful-apis/v1/warehouse/update-gan-to-arrived.js +96 -0
- package/dist-server/routers/api/restful-apis/v1/warehouse/update-gan-to-arrived.js.map +1 -0
- package/openapi/unstable/outbound.yaml +8 -0
- package/openapi/v1/inbound.yaml +210 -0
- package/openapi/v1/outbound.yaml +812 -0
- package/package.json +17 -17
- package/server/graphql/resolvers/synchronization/powrup-get-tracking-no.ts +1 -0
- package/server/routers/api/restful-apis/unstable/add-release-order.ts +4 -0
- package/server/routers/api/restful-apis/unstable/get-release-order-list.ts +1 -0
- package/server/routers/api/restful-apis/v1/utils/params.ts +72 -3
- package/server/routers/api/restful-apis/v1/warehouse/add-release-order.ts +5 -1
- package/server/routers/api/restful-apis/v1/warehouse/dispatch-delivery-order.ts +356 -0
- package/server/routers/api/restful-apis/v1/warehouse/get-delivery-order-list.ts +50 -3
- package/server/routers/api/restful-apis/v1/warehouse/get-do-document.ts +74 -0
- package/server/routers/api/restful-apis/v1/warehouse/get-grn-document.ts +116 -0
- package/server/routers/api/restful-apis/v1/warehouse/get-inbound-order-details.ts +3 -1
- package/server/routers/api/restful-apis/v1/warehouse/get-release-order-details.ts +102 -4
- package/server/routers/api/restful-apis/v1/warehouse/get-release-order-list.ts +12 -3
- package/server/routers/api/restful-apis/v1/warehouse/index.ts +4 -0
- package/server/routers/api/restful-apis/v1/warehouse/update-gan-to-arrived.ts +109 -0
package/openapi/v1/outbound.yaml
CHANGED
|
@@ -63,6 +63,9 @@ definitions:
|
|
|
63
63
|
attentionCompany:
|
|
64
64
|
type: 'string'
|
|
65
65
|
example: 'string'
|
|
66
|
+
ward:
|
|
67
|
+
type: 'string'
|
|
68
|
+
example: 'PHƯỜNG HÀNG BUỒM'
|
|
66
69
|
city:
|
|
67
70
|
type: 'string'
|
|
68
71
|
example: 'Kuala Muda'
|
|
@@ -232,6 +235,9 @@ definitions:
|
|
|
232
235
|
attentionTo:
|
|
233
236
|
type: 'string'
|
|
234
237
|
example: 'string'
|
|
238
|
+
ward:
|
|
239
|
+
type: 'string'
|
|
240
|
+
example: 'string'
|
|
235
241
|
city:
|
|
236
242
|
type: 'string'
|
|
237
243
|
example: 'string'
|
|
@@ -400,6 +406,9 @@ definitions:
|
|
|
400
406
|
attentionCompany:
|
|
401
407
|
type: 'string'
|
|
402
408
|
example: 'ABC SDN BHD'
|
|
409
|
+
ward:
|
|
410
|
+
type: 'string'
|
|
411
|
+
example: 'PHƯỜNG HÀNG BUỒM'
|
|
403
412
|
city:
|
|
404
413
|
type: 'string'
|
|
405
414
|
example: 'Shah Alam'
|
|
@@ -435,6 +444,9 @@ definitions:
|
|
|
435
444
|
sku:
|
|
436
445
|
type: 'string'
|
|
437
446
|
example: 'PANADOL-201020'
|
|
447
|
+
productDetail:
|
|
448
|
+
type: 'object'
|
|
449
|
+
properties:
|
|
438
450
|
refCode:
|
|
439
451
|
type: 'string'
|
|
440
452
|
example: '201020'
|
|
@@ -583,6 +595,15 @@ definitions:
|
|
|
583
595
|
status:
|
|
584
596
|
type: 'string'
|
|
585
597
|
example: 'PICKING'
|
|
598
|
+
bizplace:
|
|
599
|
+
type: 'object'
|
|
600
|
+
properties:
|
|
601
|
+
id:
|
|
602
|
+
type: 'string'
|
|
603
|
+
example: '5df82669-646f-42a0-8364-56f670f40we3d'
|
|
604
|
+
name:
|
|
605
|
+
type: 'string'
|
|
606
|
+
example: 'mybizplace'
|
|
586
607
|
billTo:
|
|
587
608
|
type: 'object'
|
|
588
609
|
properties:
|
|
@@ -613,6 +634,9 @@ definitions:
|
|
|
613
634
|
attentionCompany:
|
|
614
635
|
type: 'string'
|
|
615
636
|
example: 'ABC SDN BHD'
|
|
637
|
+
ward:
|
|
638
|
+
type: 'string'
|
|
639
|
+
example: 'PHƯỜNG HÀNG BUỒM'
|
|
616
640
|
city:
|
|
617
641
|
type: 'string'
|
|
618
642
|
example: 'Shah Alam'
|
|
@@ -648,6 +672,9 @@ definitions:
|
|
|
648
672
|
sku:
|
|
649
673
|
type: 'string'
|
|
650
674
|
example: 'PANADOL-201020'
|
|
675
|
+
productDetail:
|
|
676
|
+
type: 'object'
|
|
677
|
+
properties:
|
|
651
678
|
refCode:
|
|
652
679
|
type: 'string'
|
|
653
680
|
example: '201020'
|
|
@@ -702,6 +729,135 @@ definitions:
|
|
|
702
729
|
packedQty:
|
|
703
730
|
types: 'integer'
|
|
704
731
|
example: null
|
|
732
|
+
deliveryOrders:
|
|
733
|
+
type: 'array'
|
|
734
|
+
items:
|
|
735
|
+
type: 'object'
|
|
736
|
+
properties:
|
|
737
|
+
id:
|
|
738
|
+
type: 'string'
|
|
739
|
+
example: '5df82669-646f-42a0-8364-56f670f4uuid'
|
|
740
|
+
name:
|
|
741
|
+
type: 'string'
|
|
742
|
+
example: 'DO-2022121373XXXXXX'
|
|
743
|
+
to:
|
|
744
|
+
type: 'string'
|
|
745
|
+
example: null
|
|
746
|
+
truckNo:
|
|
747
|
+
type: 'string'
|
|
748
|
+
example: 'WSS7822'
|
|
749
|
+
ownCollection:
|
|
750
|
+
type: 'boolean'
|
|
751
|
+
example: true
|
|
752
|
+
looseItem:
|
|
753
|
+
type: 'boolean'
|
|
754
|
+
example: true
|
|
755
|
+
deliveryDate:
|
|
756
|
+
type: 'string'
|
|
757
|
+
example: '2022-1-13'
|
|
758
|
+
palletQty:
|
|
759
|
+
type: 'number'
|
|
760
|
+
example: 2
|
|
761
|
+
remark:
|
|
762
|
+
type: 'string'
|
|
763
|
+
example: ''
|
|
764
|
+
status:
|
|
765
|
+
type: 'string'
|
|
766
|
+
example: 'DONE'
|
|
767
|
+
creator:
|
|
768
|
+
type: 'object'
|
|
769
|
+
properties:
|
|
770
|
+
id:
|
|
771
|
+
type: 'string'
|
|
772
|
+
example: 'd42df9f2-4f44-4f11-a5c6-ba14a0a8f374'
|
|
773
|
+
name:
|
|
774
|
+
type: 'string'
|
|
775
|
+
example: 'Nazuan'
|
|
776
|
+
createdAt:
|
|
777
|
+
type: 'string'
|
|
778
|
+
example: '2022-12-12T23:33:10.912Z'
|
|
779
|
+
updater:
|
|
780
|
+
type: 'object'
|
|
781
|
+
properties:
|
|
782
|
+
id:
|
|
783
|
+
type: 'string'
|
|
784
|
+
example: '362f6ff8-f803-49d4-86d5-e0093e9fuuid'
|
|
785
|
+
name:
|
|
786
|
+
type: 'string'
|
|
787
|
+
example: 'Najwa'
|
|
788
|
+
updatedAt:
|
|
789
|
+
type: 'string'
|
|
790
|
+
example: '2022-12-12T23:33:10.912Z'
|
|
791
|
+
transportDriver:
|
|
792
|
+
type: 'object'
|
|
793
|
+
properties:
|
|
794
|
+
id:
|
|
795
|
+
type: 'string'
|
|
796
|
+
example: '362f6ff8-f803-49d4-86d5-e0093e9fuuid'
|
|
797
|
+
name:
|
|
798
|
+
type: 'string'
|
|
799
|
+
example: 'Drive'
|
|
800
|
+
transportVehicle:
|
|
801
|
+
type: 'object'
|
|
802
|
+
properties:
|
|
803
|
+
id:
|
|
804
|
+
type: 'string'
|
|
805
|
+
example: '362f6ff8-f803-49d4-86d5-e0093e9fuuid'
|
|
806
|
+
name:
|
|
807
|
+
type: 'string'
|
|
808
|
+
example: 'ABC'
|
|
809
|
+
orderInventories:
|
|
810
|
+
type: 'array'
|
|
811
|
+
items:
|
|
812
|
+
type: 'object'
|
|
813
|
+
properties:
|
|
814
|
+
releaseQty:
|
|
815
|
+
type: 'number'
|
|
816
|
+
example: 1
|
|
817
|
+
releaseUomValue:
|
|
818
|
+
type: 'number'
|
|
819
|
+
example: 200
|
|
820
|
+
packingType:
|
|
821
|
+
type: 'string'
|
|
822
|
+
example: 'RUM'
|
|
823
|
+
packingSize:
|
|
824
|
+
type: 'number'
|
|
825
|
+
example: 1
|
|
826
|
+
remark:
|
|
827
|
+
type: 'string'
|
|
828
|
+
example: null
|
|
829
|
+
product:
|
|
830
|
+
type: 'object'
|
|
831
|
+
properties:
|
|
832
|
+
id:
|
|
833
|
+
type: 'string'
|
|
834
|
+
example: '9ea2c03-8eda-4ff1-9287-c1b55317uuid'
|
|
835
|
+
name:
|
|
836
|
+
type: 'string'
|
|
837
|
+
example: 'Product A '
|
|
838
|
+
description:
|
|
839
|
+
type: 'string'
|
|
840
|
+
example: 'Product A Description'
|
|
841
|
+
sku:
|
|
842
|
+
type: 'string'
|
|
843
|
+
example: 'PRODUCT A SKU'
|
|
844
|
+
productDetail:
|
|
845
|
+
type: 'object'
|
|
846
|
+
properties:
|
|
847
|
+
refCode:
|
|
848
|
+
type: 'string'
|
|
849
|
+
example: null
|
|
850
|
+
attachment:
|
|
851
|
+
type: 'array'
|
|
852
|
+
items:
|
|
853
|
+
type: 'object'
|
|
854
|
+
properties:
|
|
855
|
+
name:
|
|
856
|
+
type: 'string'
|
|
857
|
+
example: 'attachment1.pdf'
|
|
858
|
+
fullpath:
|
|
859
|
+
type: 'string'
|
|
860
|
+
example: 'context.origin/attachment/ae0cfe87-ed48-48d4-b377-88494bdeuuid.pdf'
|
|
705
861
|
|
|
706
862
|
xml:
|
|
707
863
|
name: 'GetReleaseOrderDetails'
|
|
@@ -889,6 +1045,9 @@ definitions:
|
|
|
889
1045
|
attentionCompany:
|
|
890
1046
|
type: 'string'
|
|
891
1047
|
example: 'string'
|
|
1048
|
+
ward:
|
|
1049
|
+
type: 'string'
|
|
1050
|
+
example: 'string'
|
|
892
1051
|
city:
|
|
893
1052
|
type: 'string'
|
|
894
1053
|
example: 'string'
|
|
@@ -980,6 +1139,21 @@ definitions:
|
|
|
980
1139
|
status:
|
|
981
1140
|
type: 'string'
|
|
982
1141
|
example: 'ACTIVE'
|
|
1142
|
+
shippingOrder:
|
|
1143
|
+
type: 'object'
|
|
1144
|
+
properties:
|
|
1145
|
+
containerArrivalDate:
|
|
1146
|
+
type: 'string'
|
|
1147
|
+
exaample: null
|
|
1148
|
+
containerLeavingDate:
|
|
1149
|
+
type: 'string'
|
|
1150
|
+
exaample: null
|
|
1151
|
+
containerNo:
|
|
1152
|
+
type: 'string'
|
|
1153
|
+
example: 'sssds'
|
|
1154
|
+
shipName:
|
|
1155
|
+
type: 'string'
|
|
1156
|
+
exaample: null
|
|
983
1157
|
orderInventories:
|
|
984
1158
|
type: 'array'
|
|
985
1159
|
items:
|
|
@@ -1163,6 +1337,9 @@ definitions:
|
|
|
1163
1337
|
attentionCompany:
|
|
1164
1338
|
type: 'string'
|
|
1165
1339
|
example: 'ABC SDN BHD'
|
|
1340
|
+
ward:
|
|
1341
|
+
type: 'string'
|
|
1342
|
+
example: 'PHƯỜNG HÀNG BUỒM'
|
|
1166
1343
|
city:
|
|
1167
1344
|
type: 'string'
|
|
1168
1345
|
example: 'Shah Alam'
|
|
@@ -1228,6 +1405,459 @@ definitions:
|
|
|
1228
1405
|
xml:
|
|
1229
1406
|
name: 'GetDraftOrderList'
|
|
1230
1407
|
|
|
1408
|
+
# GetGRNDocument
|
|
1409
|
+
GetDODocument:
|
|
1410
|
+
type: 'object'
|
|
1411
|
+
properties:
|
|
1412
|
+
fileType:
|
|
1413
|
+
type: 'string'
|
|
1414
|
+
example: 'HTML'
|
|
1415
|
+
content:
|
|
1416
|
+
type: 'string'
|
|
1417
|
+
example: '<!DOCTYPE html PUBLIC ... ></td>\n</tr>\n<tr valign=\"top\" style=\"height:29pt\">\n<td colspan=\"30\">\n</td>\n</tr>\n</table>\n\n</td><td width=\"50%\"> </td></tr>\n</table>\n</body>\n</html>\n'
|
|
1418
|
+
xml:
|
|
1419
|
+
name: 'GetDODocument'
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
# DispatchDeliveryOrder
|
|
1423
|
+
DispatchDeliveryOrder:
|
|
1424
|
+
type: 'object'
|
|
1425
|
+
properties:
|
|
1426
|
+
data:
|
|
1427
|
+
type: 'object'
|
|
1428
|
+
properties:
|
|
1429
|
+
id:
|
|
1430
|
+
type: 'string'
|
|
1431
|
+
example: 'string'
|
|
1432
|
+
doNo:
|
|
1433
|
+
type: 'string'
|
|
1434
|
+
example: 'string'
|
|
1435
|
+
from:
|
|
1436
|
+
type: 'string'
|
|
1437
|
+
example: null
|
|
1438
|
+
to:
|
|
1439
|
+
type: 'string'
|
|
1440
|
+
example: null
|
|
1441
|
+
contactPointRefId:
|
|
1442
|
+
type: 'string'
|
|
1443
|
+
example: 'string'
|
|
1444
|
+
truckNo:
|
|
1445
|
+
type: 'string'
|
|
1446
|
+
example: 'string'
|
|
1447
|
+
transportDriver:
|
|
1448
|
+
type: 'string'
|
|
1449
|
+
example: null
|
|
1450
|
+
transportVehicle:
|
|
1451
|
+
type: 'string'
|
|
1452
|
+
example: null
|
|
1453
|
+
otherDriver:
|
|
1454
|
+
type: 'string'
|
|
1455
|
+
example: 'string'
|
|
1456
|
+
deliveryDate:
|
|
1457
|
+
type: 'string'
|
|
1458
|
+
example: '2023-08-15'
|
|
1459
|
+
status:
|
|
1460
|
+
type: 'string'
|
|
1461
|
+
example: 'DELIVERING'
|
|
1462
|
+
ownCollection:
|
|
1463
|
+
type: 'string'
|
|
1464
|
+
example: true
|
|
1465
|
+
looseItem:
|
|
1466
|
+
type: 'string'
|
|
1467
|
+
example: null
|
|
1468
|
+
deliveryDateTime:
|
|
1469
|
+
type: 'string'
|
|
1470
|
+
example: null
|
|
1471
|
+
loadWeight:
|
|
1472
|
+
type: 'string'
|
|
1473
|
+
example: null
|
|
1474
|
+
cargo Type:
|
|
1475
|
+
type: 'string'
|
|
1476
|
+
example: null
|
|
1477
|
+
urgency:
|
|
1478
|
+
type: 'string'
|
|
1479
|
+
example: null
|
|
1480
|
+
telNo:
|
|
1481
|
+
type: 'string'
|
|
1482
|
+
example: null
|
|
1483
|
+
refNo:
|
|
1484
|
+
type: 'string'
|
|
1485
|
+
example: 'string'
|
|
1486
|
+
palletQty:
|
|
1487
|
+
type: 'integer'
|
|
1488
|
+
example: 1
|
|
1489
|
+
remark:
|
|
1490
|
+
type: 'string'
|
|
1491
|
+
example: 'string'
|
|
1492
|
+
description:
|
|
1493
|
+
type: 'string'
|
|
1494
|
+
example: null
|
|
1495
|
+
reusablePallet:
|
|
1496
|
+
type: 'string'
|
|
1497
|
+
example: null
|
|
1498
|
+
attentionTo:
|
|
1499
|
+
type: 'string'
|
|
1500
|
+
example: null
|
|
1501
|
+
attentionCompany:
|
|
1502
|
+
type: 'string'
|
|
1503
|
+
example: null
|
|
1504
|
+
city:
|
|
1505
|
+
type: 'string'
|
|
1506
|
+
example: 'PERLIS'
|
|
1507
|
+
country:
|
|
1508
|
+
type: 'string'
|
|
1509
|
+
example: 'MY'
|
|
1510
|
+
deliveryAddress1:
|
|
1511
|
+
type: 'string'
|
|
1512
|
+
example: 'string'
|
|
1513
|
+
phone1:
|
|
1514
|
+
type: 'string'
|
|
1515
|
+
example: '0123456789'
|
|
1516
|
+
postalCode:
|
|
1517
|
+
type: 'string'
|
|
1518
|
+
example: '01007'
|
|
1519
|
+
state:
|
|
1520
|
+
type: 'string'
|
|
1521
|
+
example: 'KANGAR'
|
|
1522
|
+
billingAddress:
|
|
1523
|
+
type: 'string'
|
|
1524
|
+
example: 'ssss'
|
|
1525
|
+
billingCity:
|
|
1526
|
+
type: 'string'
|
|
1527
|
+
example: 'PERLIS'
|
|
1528
|
+
billingCountry:
|
|
1529
|
+
type: 'string'
|
|
1530
|
+
example: 'MY'
|
|
1531
|
+
billingPostalCode:
|
|
1532
|
+
type: 'string'
|
|
1533
|
+
example: '01007'
|
|
1534
|
+
billingState:
|
|
1535
|
+
type: 'string'
|
|
1536
|
+
example: 'KANGAR'
|
|
1537
|
+
bizplace:
|
|
1538
|
+
id: 'string'
|
|
1539
|
+
name: 'string'
|
|
1540
|
+
description: 'string'
|
|
1541
|
+
domain:
|
|
1542
|
+
id: 'string'
|
|
1543
|
+
name: 'string'
|
|
1544
|
+
releaseGood:
|
|
1545
|
+
type: 'object'
|
|
1546
|
+
properties:
|
|
1547
|
+
id:
|
|
1548
|
+
type: 'string'
|
|
1549
|
+
example: 'string'
|
|
1550
|
+
roNo:
|
|
1551
|
+
type: 'string'
|
|
1552
|
+
example: 'string'
|
|
1553
|
+
description:
|
|
1554
|
+
type: 'string'
|
|
1555
|
+
example: null
|
|
1556
|
+
status:
|
|
1557
|
+
type: 'string'
|
|
1558
|
+
example: 'DONE'
|
|
1559
|
+
refNo:
|
|
1560
|
+
type: 'string'
|
|
1561
|
+
example: 'Retail Sales 20230516_01'
|
|
1562
|
+
refNo2:
|
|
1563
|
+
type: 'string'
|
|
1564
|
+
example: null
|
|
1565
|
+
refNo3:
|
|
1566
|
+
type: 'string'
|
|
1567
|
+
example: null
|
|
1568
|
+
truckNo:
|
|
1569
|
+
type: 'string'
|
|
1570
|
+
example: null
|
|
1571
|
+
exportOption:
|
|
1572
|
+
type: 'string'
|
|
1573
|
+
example: true
|
|
1574
|
+
ownTransport:
|
|
1575
|
+
type: 'string'
|
|
1576
|
+
example: true
|
|
1577
|
+
crossDocking:
|
|
1578
|
+
type: 'string'
|
|
1579
|
+
example: false
|
|
1580
|
+
releaseDate:
|
|
1581
|
+
type: 'string'
|
|
1582
|
+
example: '2023-05-21'
|
|
1583
|
+
remark:
|
|
1584
|
+
type: 'string'
|
|
1585
|
+
example: null
|
|
1586
|
+
courierOption:
|
|
1587
|
+
type: 'string'
|
|
1588
|
+
example: true
|
|
1589
|
+
packingOption:
|
|
1590
|
+
type: 'string'
|
|
1591
|
+
example: false
|
|
1592
|
+
type:
|
|
1593
|
+
type: 'string'
|
|
1594
|
+
example: 'b2b'
|
|
1595
|
+
acceptedAt:
|
|
1596
|
+
type: 'string'
|
|
1597
|
+
example: '2023-5-1T0:504.236Z'
|
|
1598
|
+
marketplaceOrderStatus:
|
|
1599
|
+
type: 'string'
|
|
1600
|
+
example: null
|
|
1601
|
+
billingAddress:
|
|
1602
|
+
type: 'string'
|
|
1603
|
+
example: null
|
|
1604
|
+
deliveryAddress1:
|
|
1605
|
+
type: 'string'
|
|
1606
|
+
example: null
|
|
1607
|
+
deliveryAddress2:
|
|
1608
|
+
type: 'string'
|
|
1609
|
+
example: null
|
|
1610
|
+
deliveryAddress3:
|
|
1611
|
+
type: 'string'
|
|
1612
|
+
example: null
|
|
1613
|
+
deliveryAddress4:
|
|
1614
|
+
type: 'string'
|
|
1615
|
+
example: null
|
|
1616
|
+
deliveryAddress5:
|
|
1617
|
+
type: 'string'
|
|
1618
|
+
example: null
|
|
1619
|
+
attentionTo:
|
|
1620
|
+
type: 'string'
|
|
1621
|
+
example: null
|
|
1622
|
+
attentionCompany:
|
|
1623
|
+
type: 'string'
|
|
1624
|
+
example: null
|
|
1625
|
+
city:
|
|
1626
|
+
type: 'string'
|
|
1627
|
+
example: null
|
|
1628
|
+
state:
|
|
1629
|
+
type: 'string'
|
|
1630
|
+
example: null
|
|
1631
|
+
postalCode:
|
|
1632
|
+
type: 'string'
|
|
1633
|
+
example: null
|
|
1634
|
+
country:
|
|
1635
|
+
type: 'string'
|
|
1636
|
+
example: 'MY'
|
|
1637
|
+
phone1:
|
|
1638
|
+
type: 'string'
|
|
1639
|
+
example: null
|
|
1640
|
+
phone2:
|
|
1641
|
+
type: 'string'
|
|
1642
|
+
example: null
|
|
1643
|
+
email:
|
|
1644
|
+
type: 'string'
|
|
1645
|
+
example: 'support@hatio.com'
|
|
1646
|
+
transporter:
|
|
1647
|
+
type: 'string'
|
|
1648
|
+
example: null
|
|
1649
|
+
trackingNo:
|
|
1650
|
+
type: 'string'
|
|
1651
|
+
example: null
|
|
1652
|
+
airwayBill:
|
|
1653
|
+
type: 'string'
|
|
1654
|
+
example: null
|
|
1655
|
+
invoice:
|
|
1656
|
+
type: 'string'
|
|
1657
|
+
example: null
|
|
1658
|
+
pickupAddress:
|
|
1659
|
+
type: 'string'
|
|
1660
|
+
example: null
|
|
1661
|
+
pickupTime:
|
|
1662
|
+
type: 'string'
|
|
1663
|
+
example: null
|
|
1664
|
+
handoverType:
|
|
1665
|
+
type: 'string'
|
|
1666
|
+
example: null
|
|
1667
|
+
dropoffAddress:
|
|
1668
|
+
type: 'string'
|
|
1669
|
+
example: null
|
|
1670
|
+
noOfItems:
|
|
1671
|
+
type: 'string'
|
|
1672
|
+
example: 4
|
|
1673
|
+
orderProducts:
|
|
1674
|
+
type: 'string'
|
|
1675
|
+
example: []
|
|
1676
|
+
shippingOrder:
|
|
1677
|
+
type: 'string'
|
|
1678
|
+
example: null
|
|
1679
|
+
orderInventories:
|
|
1680
|
+
type: 'array'
|
|
1681
|
+
items:
|
|
1682
|
+
type: 'object'
|
|
1683
|
+
properties:
|
|
1684
|
+
id:
|
|
1685
|
+
type: 'string'
|
|
1686
|
+
example: 'string'
|
|
1687
|
+
name:
|
|
1688
|
+
type: 'string'
|
|
1689
|
+
example: 'string'
|
|
1690
|
+
type:
|
|
1691
|
+
type: 'string'
|
|
1692
|
+
example: 'RELEASE_OF_GOODS'
|
|
1693
|
+
remark:
|
|
1694
|
+
type: 'string'
|
|
1695
|
+
example: null
|
|
1696
|
+
issue:
|
|
1697
|
+
type: 'string'
|
|
1698
|
+
example: null
|
|
1699
|
+
description:
|
|
1700
|
+
type: 'string'
|
|
1701
|
+
example: null
|
|
1702
|
+
batchId:
|
|
1703
|
+
type: 'string'
|
|
1704
|
+
example: '-'
|
|
1705
|
+
batchIdRef:
|
|
1706
|
+
type: 'string'
|
|
1707
|
+
example: 'string'
|
|
1708
|
+
packingType:
|
|
1709
|
+
type: 'string'
|
|
1710
|
+
example: 'UNIT'
|
|
1711
|
+
packingSize:
|
|
1712
|
+
type: 'string'
|
|
1713
|
+
example: 1
|
|
1714
|
+
refWorksheetId:
|
|
1715
|
+
type: 'string'
|
|
1716
|
+
example: null
|
|
1717
|
+
originQty:
|
|
1718
|
+
type: 'string'
|
|
1719
|
+
example: null
|
|
1720
|
+
inspectedQty:
|
|
1721
|
+
type: 'string'
|
|
1722
|
+
example: null
|
|
1723
|
+
originUomValue:
|
|
1724
|
+
type: 'string'
|
|
1725
|
+
example: null
|
|
1726
|
+
inspectedUomValue:
|
|
1727
|
+
type: 'string'
|
|
1728
|
+
example: null
|
|
1729
|
+
originBatchNo:
|
|
1730
|
+
type: 'string'
|
|
1731
|
+
example: null
|
|
1732
|
+
inspectedBatchNo:
|
|
1733
|
+
type: 'string'
|
|
1734
|
+
example: null
|
|
1735
|
+
releaseQty:
|
|
1736
|
+
type: 'string'
|
|
1737
|
+
example: 1
|
|
1738
|
+
pickedQty:
|
|
1739
|
+
type: 'string'
|
|
1740
|
+
example: 1
|
|
1741
|
+
packedQty:
|
|
1742
|
+
type: 'string'
|
|
1743
|
+
example: 0
|
|
1744
|
+
sortedQty:
|
|
1745
|
+
type: 'string'
|
|
1746
|
+
example: 0
|
|
1747
|
+
releaseUomValue:
|
|
1748
|
+
type: 'string'
|
|
1749
|
+
example: 1
|
|
1750
|
+
uom:
|
|
1751
|
+
type: 'string'
|
|
1752
|
+
example: 'UN'
|
|
1753
|
+
returnQty:
|
|
1754
|
+
type: 'string'
|
|
1755
|
+
example: null
|
|
1756
|
+
returnUomValue:
|
|
1757
|
+
type: 'string'
|
|
1758
|
+
example: null
|
|
1759
|
+
returnToLocationQty:
|
|
1760
|
+
type: 'string'
|
|
1761
|
+
example: null
|
|
1762
|
+
returnToLocationUomValue:
|
|
1763
|
+
type: 'string'
|
|
1764
|
+
example: null
|
|
1765
|
+
actualPackQty:
|
|
1766
|
+
type: 'string'
|
|
1767
|
+
example: null
|
|
1768
|
+
palletQty:
|
|
1769
|
+
type: 'string'
|
|
1770
|
+
example: null
|
|
1771
|
+
actualPalletQty:
|
|
1772
|
+
type: 'string'
|
|
1773
|
+
example: null
|
|
1774
|
+
crossDocking:
|
|
1775
|
+
type: 'string'
|
|
1776
|
+
example: null
|
|
1777
|
+
serialNumber:
|
|
1778
|
+
type: 'string'
|
|
1779
|
+
example: null
|
|
1780
|
+
status:
|
|
1781
|
+
type: 'string'
|
|
1782
|
+
example: 'TERMINATED'
|
|
1783
|
+
pickedBy:
|
|
1784
|
+
type: 'string'
|
|
1785
|
+
example: 'string'
|
|
1786
|
+
pickedAt:
|
|
1787
|
+
type: 'string'
|
|
1788
|
+
example: '2023-5-1T0:534.762Z'
|
|
1789
|
+
packedBy:
|
|
1790
|
+
type: 'string'
|
|
1791
|
+
example: null
|
|
1792
|
+
packedAt:
|
|
1793
|
+
type: 'string'
|
|
1794
|
+
example: null
|
|
1795
|
+
loadedBy:
|
|
1796
|
+
type: 'string'
|
|
1797
|
+
example: 'pikah'
|
|
1798
|
+
loadedAt:
|
|
1799
|
+
type: 'string'
|
|
1800
|
+
example: '2023-5-1T0:505.685Z'
|
|
1801
|
+
createdAt:
|
|
1802
|
+
type: 'string'
|
|
1803
|
+
example: '2023-5-1T0:546.826Z'
|
|
1804
|
+
updatedAt:
|
|
1805
|
+
type: 'string'
|
|
1806
|
+
example: '2023-5-1T0:508.811Z'
|
|
1807
|
+
domainId:
|
|
1808
|
+
type: 'string'
|
|
1809
|
+
example: 'string'
|
|
1810
|
+
bizplaceId:
|
|
1811
|
+
type: 'string'
|
|
1812
|
+
example: 'string'
|
|
1813
|
+
inventoryId:
|
|
1814
|
+
type: 'string'
|
|
1815
|
+
example: 'string'
|
|
1816
|
+
productId:
|
|
1817
|
+
type: 'string'
|
|
1818
|
+
example: 'string'
|
|
1819
|
+
arrivalNoticeId:
|
|
1820
|
+
type: 'string'
|
|
1821
|
+
example: null
|
|
1822
|
+
releaseGoodId:
|
|
1823
|
+
type: 'string'
|
|
1824
|
+
example: 'string'
|
|
1825
|
+
replenishmentId:
|
|
1826
|
+
type: 'string'
|
|
1827
|
+
example: null
|
|
1828
|
+
inventoryCheckId:
|
|
1829
|
+
type: 'string'
|
|
1830
|
+
example: null
|
|
1831
|
+
deliveryOrderId:
|
|
1832
|
+
type: 'string'
|
|
1833
|
+
example: 'string'
|
|
1834
|
+
transferOrderId:
|
|
1835
|
+
type: 'string'
|
|
1836
|
+
example: null
|
|
1837
|
+
returnOrderId:
|
|
1838
|
+
type: 'string'
|
|
1839
|
+
example: null
|
|
1840
|
+
orderProductId:
|
|
1841
|
+
type: 'string'
|
|
1842
|
+
example: 'string'
|
|
1843
|
+
originLocationId:
|
|
1844
|
+
type: 'string'
|
|
1845
|
+
example: null
|
|
1846
|
+
inspectedLocationId:
|
|
1847
|
+
type: 'string'
|
|
1848
|
+
example: null
|
|
1849
|
+
binLocationId:
|
|
1850
|
+
type: 'string'
|
|
1851
|
+
example: 'string'
|
|
1852
|
+
creatorId:
|
|
1853
|
+
type: 'string'
|
|
1854
|
+
example: 'string'
|
|
1855
|
+
updaterId:
|
|
1856
|
+
type: 'string'
|
|
1857
|
+
example: 'string'
|
|
1858
|
+
xml:
|
|
1859
|
+
name: 'DispatchDeliveryOrder'
|
|
1860
|
+
|
|
1231
1861
|
paths:
|
|
1232
1862
|
# add-release-order
|
|
1233
1863
|
api/v1/warehouse/add-release-order:
|
|
@@ -1373,6 +2003,9 @@ paths:
|
|
|
1373
2003
|
attentionTo:
|
|
1374
2004
|
type: 'string'
|
|
1375
2005
|
example: 'Rokiah bt Bakar'
|
|
2006
|
+
ward:
|
|
2007
|
+
type: 'string'
|
|
2008
|
+
example: 'PHƯỜNG HÀNG BUỒM'
|
|
1376
2009
|
city:
|
|
1377
2010
|
type: 'string'
|
|
1378
2011
|
example: 'Kuala Muda'
|
|
@@ -1592,6 +2225,9 @@ paths:
|
|
|
1592
2225
|
attentionTo:
|
|
1593
2226
|
type: 'string'
|
|
1594
2227
|
example: 'string'
|
|
2228
|
+
ward:
|
|
2229
|
+
type: 'string'
|
|
2230
|
+
example: 'PHƯỜNG HÀNG BUỒM'
|
|
1595
2231
|
city:
|
|
1596
2232
|
type: 'string'
|
|
1597
2233
|
example: 'string'
|
|
@@ -1765,6 +2401,9 @@ paths:
|
|
|
1765
2401
|
- in: 'query'
|
|
1766
2402
|
name: 'doNo'
|
|
1767
2403
|
type: 'string'
|
|
2404
|
+
- in: 'query'
|
|
2405
|
+
name: 'vehicleNo'
|
|
2406
|
+
type: 'string'
|
|
1768
2407
|
- in: 'query'
|
|
1769
2408
|
name: 'fromDate'
|
|
1770
2409
|
type: 'string'
|
|
@@ -1847,3 +2486,176 @@ paths:
|
|
|
1847
2486
|
type: 'array'
|
|
1848
2487
|
items:
|
|
1849
2488
|
$ref: '#/definitions/GetDraftOrderList'
|
|
2489
|
+
|
|
2490
|
+
# get-do-document
|
|
2491
|
+
api/v1/warehouse/get-do-document:
|
|
2492
|
+
get:
|
|
2493
|
+
tags:
|
|
2494
|
+
- 'Outbound'
|
|
2495
|
+
summary: 'Get delivery order document.'
|
|
2496
|
+
description: 'Get Delivery Order Document.'
|
|
2497
|
+
operationId: 'getDoDocument'
|
|
2498
|
+
consumes:
|
|
2499
|
+
- 'application/json'
|
|
2500
|
+
produces:
|
|
2501
|
+
- 'application/json'
|
|
2502
|
+
parameters:
|
|
2503
|
+
- in: 'query'
|
|
2504
|
+
name: 'bizplaceId'
|
|
2505
|
+
type: 'string'
|
|
2506
|
+
required: true
|
|
2507
|
+
- in: 'query'
|
|
2508
|
+
name: 'doNo'
|
|
2509
|
+
type: 'string'
|
|
2510
|
+
required: true
|
|
2511
|
+
- in: 'query'
|
|
2512
|
+
name: 'filetype'
|
|
2513
|
+
type: 'string'
|
|
2514
|
+
default: 'HTML'
|
|
2515
|
+
required: true
|
|
2516
|
+
responses:
|
|
2517
|
+
'200':
|
|
2518
|
+
description: 'successful operation'
|
|
2519
|
+
content:
|
|
2520
|
+
application/json:
|
|
2521
|
+
schema:
|
|
2522
|
+
$ref: '#/definitions/GetDODocument'
|
|
2523
|
+
|
|
2524
|
+
# dispatch-delivery-order
|
|
2525
|
+
api/v1/warehouse/dispatch-delivery-order:
|
|
2526
|
+
post:
|
|
2527
|
+
tags:
|
|
2528
|
+
- 'Outbound'
|
|
2529
|
+
summary: 'Dispatch delivery order.'
|
|
2530
|
+
description: 'Dispatch Delivery Order'
|
|
2531
|
+
operationId: 'dispatchDeliveryOrder'
|
|
2532
|
+
produces:
|
|
2533
|
+
- 'application/json'
|
|
2534
|
+
parameters:
|
|
2535
|
+
- in: 'body'
|
|
2536
|
+
name: 'body'
|
|
2537
|
+
schema:
|
|
2538
|
+
type: 'object'
|
|
2539
|
+
properties:
|
|
2540
|
+
data:
|
|
2541
|
+
type: 'object'
|
|
2542
|
+
properties:
|
|
2543
|
+
coNo:
|
|
2544
|
+
type: 'string'
|
|
2545
|
+
example: 'string'
|
|
2546
|
+
deliveryDate:
|
|
2547
|
+
type: 'string'
|
|
2548
|
+
example: '2023-08-15'
|
|
2549
|
+
exportOption:
|
|
2550
|
+
type: 'boolean'
|
|
2551
|
+
example: true
|
|
2552
|
+
name:
|
|
2553
|
+
type: 'string'
|
|
2554
|
+
example: 'DO-20235211053686'
|
|
2555
|
+
bizplaceId:
|
|
2556
|
+
type: 'string'
|
|
2557
|
+
example: 'string'
|
|
2558
|
+
remark:
|
|
2559
|
+
type: 'string'
|
|
2560
|
+
example: 'string'
|
|
2561
|
+
totalPalletQty:
|
|
2562
|
+
type: 'number'
|
|
2563
|
+
example: 1
|
|
2564
|
+
attentionCompany:
|
|
2565
|
+
type: 'string'
|
|
2566
|
+
example: 'string'
|
|
2567
|
+
attentionTo:
|
|
2568
|
+
type: 'string'
|
|
2569
|
+
example: 'string'
|
|
2570
|
+
billingAddress:
|
|
2571
|
+
type: 'string'
|
|
2572
|
+
example: 'String'
|
|
2573
|
+
billingCity:
|
|
2574
|
+
type: 'string'
|
|
2575
|
+
example: 'PERLIS'
|
|
2576
|
+
billingCountry:
|
|
2577
|
+
type: 'string'
|
|
2578
|
+
example: 'MY'
|
|
2579
|
+
billingPostalCode:
|
|
2580
|
+
type: 'string'
|
|
2581
|
+
example: '01007'
|
|
2582
|
+
billingState:
|
|
2583
|
+
type: 'string'
|
|
2584
|
+
example: 'KANGAR'
|
|
2585
|
+
city:
|
|
2586
|
+
type: 'string'
|
|
2587
|
+
example: 'PERLIS'
|
|
2588
|
+
country:
|
|
2589
|
+
type: 'string'
|
|
2590
|
+
example: 'MY'
|
|
2591
|
+
deliveryAddress1:
|
|
2592
|
+
type: 'string'
|
|
2593
|
+
example: 'string'
|
|
2594
|
+
phone1:
|
|
2595
|
+
type: 'string'
|
|
2596
|
+
example: '01234567890'
|
|
2597
|
+
postalCode:
|
|
2598
|
+
type: 'string'
|
|
2599
|
+
example: '01007'
|
|
2600
|
+
state:
|
|
2601
|
+
type: 'string'
|
|
2602
|
+
example: 'KANGAR'
|
|
2603
|
+
transportType:
|
|
2604
|
+
type: 'string'
|
|
2605
|
+
example: 'Warehouse Transport'
|
|
2606
|
+
transportDriver:
|
|
2607
|
+
type: 'object'
|
|
2608
|
+
properties :
|
|
2609
|
+
name:
|
|
2610
|
+
type: 'string'
|
|
2611
|
+
example: 'string'
|
|
2612
|
+
driverCode:
|
|
2613
|
+
type: 'string'
|
|
2614
|
+
example: 'string'
|
|
2615
|
+
transportVehicle:
|
|
2616
|
+
type: 'object'
|
|
2617
|
+
properties:
|
|
2618
|
+
name:
|
|
2619
|
+
type: 'string'
|
|
2620
|
+
example: 'string'
|
|
2621
|
+
orderInventories :
|
|
2622
|
+
type: 'array'
|
|
2623
|
+
items:
|
|
2624
|
+
type: 'object'
|
|
2625
|
+
properties:
|
|
2626
|
+
id:
|
|
2627
|
+
type: 'string'
|
|
2628
|
+
example: 'string'
|
|
2629
|
+
remark:
|
|
2630
|
+
type: 'string'
|
|
2631
|
+
example: 'string'
|
|
2632
|
+
id:
|
|
2633
|
+
type: 'string'
|
|
2634
|
+
example: 'string'
|
|
2635
|
+
remark:
|
|
2636
|
+
type: 'string'
|
|
2637
|
+
example: 'string'
|
|
2638
|
+
shippingOrder:
|
|
2639
|
+
type: 'object'
|
|
2640
|
+
properties:
|
|
2641
|
+
containerArrivalDate:
|
|
2642
|
+
type: 'string'
|
|
2643
|
+
example: '2023-08-05'
|
|
2644
|
+
containerLeavingDate:
|
|
2645
|
+
type: 'string'
|
|
2646
|
+
example: '2023-08-05'
|
|
2647
|
+
containerNo:
|
|
2648
|
+
type: 'string'
|
|
2649
|
+
example: 'string'
|
|
2650
|
+
shipName:
|
|
2651
|
+
type: 'string'
|
|
2652
|
+
example: 'string'
|
|
2653
|
+
responses:
|
|
2654
|
+
'200':
|
|
2655
|
+
description: 'success'
|
|
2656
|
+
content:
|
|
2657
|
+
application/json:
|
|
2658
|
+
schema:
|
|
2659
|
+
type: 'array'
|
|
2660
|
+
items:
|
|
2661
|
+
$ref: '#/definitions/DispatchDeliveryOrder'
|