@indigina/dcm-api 0.0.128 → 0.0.130
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/README.md +2 -2
- package/fesm2022/indigina-dcm-api.mjs +358 -2
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-dcm-api.d.ts +481 -117
package/package.json
CHANGED
|
@@ -868,6 +868,243 @@ declare class AuditLogsService extends BaseService {
|
|
|
868
868
|
static ɵprov: i0.ɵɵInjectableDeclaration<AuditLogsService>;
|
|
869
869
|
}
|
|
870
870
|
|
|
871
|
+
/**
|
|
872
|
+
* Dcm.API.Client
|
|
873
|
+
*
|
|
874
|
+
*
|
|
875
|
+
*
|
|
876
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
877
|
+
* https://openapi-generator.tech
|
|
878
|
+
* Do not edit the class manually.
|
|
879
|
+
*/
|
|
880
|
+
declare const ShipmentTerm: {
|
|
881
|
+
readonly Cfr: "CFR";
|
|
882
|
+
readonly Cif: "CIF";
|
|
883
|
+
readonly Cip: "CIP";
|
|
884
|
+
readonly Cpt: "CPT";
|
|
885
|
+
readonly Daf: "DAF";
|
|
886
|
+
readonly Ddp: "DDP";
|
|
887
|
+
readonly Ddu: "DDU";
|
|
888
|
+
readonly Des: "DES";
|
|
889
|
+
readonly Deq: "DEQ";
|
|
890
|
+
readonly Exw: "EXW";
|
|
891
|
+
readonly Fas: "FAS";
|
|
892
|
+
readonly Fca: "FCA";
|
|
893
|
+
readonly Fob: "FOB";
|
|
894
|
+
readonly Dap: "DAP";
|
|
895
|
+
};
|
|
896
|
+
type ShipmentTerm = typeof ShipmentTerm[keyof typeof ShipmentTerm];
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* Dcm.API.Client
|
|
900
|
+
*
|
|
901
|
+
*
|
|
902
|
+
*
|
|
903
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
904
|
+
* https://openapi-generator.tech
|
|
905
|
+
* Do not edit the class manually.
|
|
906
|
+
*/
|
|
907
|
+
interface Branch {
|
|
908
|
+
id: string;
|
|
909
|
+
name: string;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* Dcm.API.Client
|
|
914
|
+
*
|
|
915
|
+
*
|
|
916
|
+
*
|
|
917
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
918
|
+
* https://openapi-generator.tech
|
|
919
|
+
* Do not edit the class manually.
|
|
920
|
+
*/
|
|
921
|
+
declare const ShipmentState: {
|
|
922
|
+
readonly Draft: "Draft";
|
|
923
|
+
readonly RequestAuthorisation: "RequestAuthorisation";
|
|
924
|
+
readonly AuthorisedToShip: "AuthorisedToShip";
|
|
925
|
+
readonly Amend: "Amend";
|
|
926
|
+
readonly Confirmed: "Confirmed";
|
|
927
|
+
readonly Delivered: "Delivered";
|
|
928
|
+
readonly Arrived: "Arrived";
|
|
929
|
+
readonly CancellationRequested: "CancellationRequested";
|
|
930
|
+
readonly Cancelled: "Cancelled";
|
|
931
|
+
};
|
|
932
|
+
type ShipmentState = typeof ShipmentState[keyof typeof ShipmentState];
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* Dcm.API.Client
|
|
936
|
+
*
|
|
937
|
+
*
|
|
938
|
+
*
|
|
939
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
940
|
+
* https://openapi-generator.tech
|
|
941
|
+
* Do not edit the class manually.
|
|
942
|
+
*/
|
|
943
|
+
|
|
944
|
+
interface BookingShipment {
|
|
945
|
+
id: string;
|
|
946
|
+
reference: string;
|
|
947
|
+
state: ShipmentState;
|
|
948
|
+
houseBillRef: string;
|
|
949
|
+
}
|
|
950
|
+
declare namespace BookingShipment {
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
/**
|
|
954
|
+
* Dcm.API.Client
|
|
955
|
+
*
|
|
956
|
+
*
|
|
957
|
+
*
|
|
958
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
959
|
+
* https://openapi-generator.tech
|
|
960
|
+
* Do not edit the class manually.
|
|
961
|
+
*/
|
|
962
|
+
declare const BookingCollectionDelivery: {
|
|
963
|
+
readonly VendorDelivers: "VendorDelivers";
|
|
964
|
+
readonly AgentCollects: "AgentCollects";
|
|
965
|
+
};
|
|
966
|
+
type BookingCollectionDelivery = typeof BookingCollectionDelivery[keyof typeof BookingCollectionDelivery];
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* Dcm.API.Client
|
|
970
|
+
*
|
|
971
|
+
*
|
|
972
|
+
*
|
|
973
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
974
|
+
* https://openapi-generator.tech
|
|
975
|
+
* Do not edit the class manually.
|
|
976
|
+
*/
|
|
977
|
+
declare const TransportMode: {
|
|
978
|
+
readonly Air: "Air";
|
|
979
|
+
readonly Sea: "Sea";
|
|
980
|
+
readonly Road: "Road";
|
|
981
|
+
readonly Rail: "Rail";
|
|
982
|
+
};
|
|
983
|
+
type TransportMode = typeof TransportMode[keyof typeof TransportMode];
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* Dcm.API.Client
|
|
987
|
+
*
|
|
988
|
+
*
|
|
989
|
+
*
|
|
990
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
991
|
+
* https://openapi-generator.tech
|
|
992
|
+
* Do not edit the class manually.
|
|
993
|
+
*/
|
|
994
|
+
declare const BookingStates: {
|
|
995
|
+
readonly Draft: "Draft";
|
|
996
|
+
readonly Confirmed: "Confirmed";
|
|
997
|
+
readonly CancellationRequested: "CancellationRequested";
|
|
998
|
+
readonly Cancelled: "Cancelled";
|
|
999
|
+
readonly DraftSi: "DraftSI";
|
|
1000
|
+
readonly ConfirmedSi: "ConfirmedSI";
|
|
1001
|
+
};
|
|
1002
|
+
type BookingStates = typeof BookingStates[keyof typeof BookingStates];
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Dcm.API.Client
|
|
1006
|
+
*
|
|
1007
|
+
*
|
|
1008
|
+
*
|
|
1009
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1010
|
+
* https://openapi-generator.tech
|
|
1011
|
+
* Do not edit the class manually.
|
|
1012
|
+
*/
|
|
1013
|
+
interface Supplier {
|
|
1014
|
+
id: string;
|
|
1015
|
+
name: string;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Dcm.API.Client
|
|
1020
|
+
*
|
|
1021
|
+
*
|
|
1022
|
+
*
|
|
1023
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1024
|
+
* https://openapi-generator.tech
|
|
1025
|
+
* Do not edit the class manually.
|
|
1026
|
+
*/
|
|
1027
|
+
declare const BookingTypes: {
|
|
1028
|
+
readonly CfsLoad: "CFSLoad";
|
|
1029
|
+
readonly VendorLoad: "VendorLoad";
|
|
1030
|
+
};
|
|
1031
|
+
type BookingTypes = typeof BookingTypes[keyof typeof BookingTypes];
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* Dcm.API.Client
|
|
1035
|
+
*
|
|
1036
|
+
*
|
|
1037
|
+
*
|
|
1038
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1039
|
+
* https://openapi-generator.tech
|
|
1040
|
+
* Do not edit the class manually.
|
|
1041
|
+
*/
|
|
1042
|
+
|
|
1043
|
+
interface Booking {
|
|
1044
|
+
id: string;
|
|
1045
|
+
state: BookingStates;
|
|
1046
|
+
transportMode: TransportMode;
|
|
1047
|
+
preTransportMode: TransportMode;
|
|
1048
|
+
type: BookingTypes;
|
|
1049
|
+
isStackable: boolean;
|
|
1050
|
+
BookingCollectionDelivery: BookingCollectionDelivery;
|
|
1051
|
+
incoTerm: ShipmentTerm;
|
|
1052
|
+
bookingReference: string;
|
|
1053
|
+
exFactoryDate: string | null;
|
|
1054
|
+
targetHandoverDate: string | null;
|
|
1055
|
+
createDate: string;
|
|
1056
|
+
incoTermLocation: string;
|
|
1057
|
+
totalBookedQuantity: number | null;
|
|
1058
|
+
totalExpectedCarton: number | null;
|
|
1059
|
+
totalExpectedUnits: number | null;
|
|
1060
|
+
totalExpectedVolume: number | null;
|
|
1061
|
+
totalExpectedVolumeUom: string;
|
|
1062
|
+
totalExpectedVolumeUomId: string;
|
|
1063
|
+
totalExpectedWeight: number | null;
|
|
1064
|
+
totalExpectedWeightUomId: string;
|
|
1065
|
+
totalExpectedWeightUom: string;
|
|
1066
|
+
noOfLines: number | null;
|
|
1067
|
+
hasDocuments: boolean;
|
|
1068
|
+
clientId: string;
|
|
1069
|
+
createdById: string;
|
|
1070
|
+
createdBy: string;
|
|
1071
|
+
clientName: string;
|
|
1072
|
+
shipmentId: string | null;
|
|
1073
|
+
shipment: BookingShipment;
|
|
1074
|
+
branchId: string | null;
|
|
1075
|
+
branch: Branch;
|
|
1076
|
+
consigneeId: string | null;
|
|
1077
|
+
consignee: Consignee;
|
|
1078
|
+
supplierId: string | null;
|
|
1079
|
+
supplier: Supplier;
|
|
1080
|
+
supplierAddressId: string | null;
|
|
1081
|
+
supplierAddress: string;
|
|
1082
|
+
supplierPickupAddressId: string | null;
|
|
1083
|
+
supplierPickupAddress: string;
|
|
1084
|
+
consigneeDeliveryAddressId: string | null;
|
|
1085
|
+
finalDeliveryAddress: string;
|
|
1086
|
+
productCodes: Array<string>;
|
|
1087
|
+
poNumbers: Array<string>;
|
|
1088
|
+
productDescriptions: Array<string>;
|
|
1089
|
+
}
|
|
1090
|
+
declare namespace Booking {
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
/**
|
|
1094
|
+
* Dcm.API.Client
|
|
1095
|
+
*
|
|
1096
|
+
*
|
|
1097
|
+
*
|
|
1098
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1099
|
+
* https://openapi-generator.tech
|
|
1100
|
+
* Do not edit the class manually.
|
|
1101
|
+
*/
|
|
1102
|
+
|
|
1103
|
+
interface Bookings {
|
|
1104
|
+
total: number;
|
|
1105
|
+
data: Array<Booking>;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
871
1108
|
/**
|
|
872
1109
|
* Dcm.API.Client
|
|
873
1110
|
*
|
|
@@ -884,6 +1121,60 @@ interface BookingsCount {
|
|
|
884
1121
|
declare class BookingsService extends BaseService {
|
|
885
1122
|
protected httpClient: HttpClient;
|
|
886
1123
|
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
1124
|
+
/**
|
|
1125
|
+
* Bookings list
|
|
1126
|
+
* @endpoint get /bookings/list
|
|
1127
|
+
* @param $skip
|
|
1128
|
+
* @param $top
|
|
1129
|
+
* @param $orderby
|
|
1130
|
+
* @param $filter
|
|
1131
|
+
* @param $search
|
|
1132
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1133
|
+
* @param reportProgress flag to report request and response progress.
|
|
1134
|
+
* @param options additional options
|
|
1135
|
+
*/
|
|
1136
|
+
getBookings($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1137
|
+
httpHeaderAccept?: 'application/json';
|
|
1138
|
+
context?: HttpContext;
|
|
1139
|
+
transferCache?: boolean;
|
|
1140
|
+
}): Observable<Bookings>;
|
|
1141
|
+
getBookings($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1142
|
+
httpHeaderAccept?: 'application/json';
|
|
1143
|
+
context?: HttpContext;
|
|
1144
|
+
transferCache?: boolean;
|
|
1145
|
+
}): Observable<HttpResponse<Bookings>>;
|
|
1146
|
+
getBookings($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1147
|
+
httpHeaderAccept?: 'application/json';
|
|
1148
|
+
context?: HttpContext;
|
|
1149
|
+
transferCache?: boolean;
|
|
1150
|
+
}): Observable<HttpEvent<Bookings>>;
|
|
1151
|
+
/**
|
|
1152
|
+
* Get bookings
|
|
1153
|
+
* @endpoint get /bookings/search
|
|
1154
|
+
* @param $skip
|
|
1155
|
+
* @param $top
|
|
1156
|
+
* @param $orderby
|
|
1157
|
+
* @param $filter
|
|
1158
|
+
* @param searchTerm
|
|
1159
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
1160
|
+
* @param reportProgress flag to report request and response progress.
|
|
1161
|
+
* @param options additional options
|
|
1162
|
+
*/
|
|
1163
|
+
getBookingsFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
1164
|
+
httpHeaderAccept?: 'application/json';
|
|
1165
|
+
context?: HttpContext;
|
|
1166
|
+
transferCache?: boolean;
|
|
1167
|
+
}): Observable<Bookings>;
|
|
1168
|
+
getBookingsFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
1169
|
+
httpHeaderAccept?: 'application/json';
|
|
1170
|
+
context?: HttpContext;
|
|
1171
|
+
transferCache?: boolean;
|
|
1172
|
+
}): Observable<HttpResponse<Bookings>>;
|
|
1173
|
+
getBookingsFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, searchTerm?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
1174
|
+
httpHeaderAccept?: 'application/json';
|
|
1175
|
+
context?: HttpContext;
|
|
1176
|
+
transferCache?: boolean;
|
|
1177
|
+
}): Observable<HttpEvent<Bookings>>;
|
|
887
1178
|
/**
|
|
888
1179
|
* Get vendor draft bookings count
|
|
889
1180
|
* @endpoint get /bookings/vendorDrafts/count
|
|
@@ -1084,23 +1375,6 @@ interface Port {
|
|
|
1084
1375
|
fullCode?: string;
|
|
1085
1376
|
}
|
|
1086
1377
|
|
|
1087
|
-
/**
|
|
1088
|
-
* Dcm.API.Client
|
|
1089
|
-
*
|
|
1090
|
-
*
|
|
1091
|
-
*
|
|
1092
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1093
|
-
* https://openapi-generator.tech
|
|
1094
|
-
* Do not edit the class manually.
|
|
1095
|
-
*/
|
|
1096
|
-
declare const TransportMode: {
|
|
1097
|
-
readonly Air: "Air";
|
|
1098
|
-
readonly Sea: "Sea";
|
|
1099
|
-
readonly Road: "Road";
|
|
1100
|
-
readonly Rail: "Rail";
|
|
1101
|
-
};
|
|
1102
|
-
type TransportMode = typeof TransportMode[keyof typeof TransportMode];
|
|
1103
|
-
|
|
1104
1378
|
/**
|
|
1105
1379
|
* Dcm.API.Client
|
|
1106
1380
|
*
|
|
@@ -1213,33 +1487,6 @@ interface ContainerDeliveries {
|
|
|
1213
1487
|
data: Array<ContainerDeliveryGridView>;
|
|
1214
1488
|
}
|
|
1215
1489
|
|
|
1216
|
-
/**
|
|
1217
|
-
* Dcm.API.Client
|
|
1218
|
-
*
|
|
1219
|
-
*
|
|
1220
|
-
*
|
|
1221
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1222
|
-
* https://openapi-generator.tech
|
|
1223
|
-
* Do not edit the class manually.
|
|
1224
|
-
*/
|
|
1225
|
-
declare const ShipmentTerm: {
|
|
1226
|
-
readonly Cfr: "CFR";
|
|
1227
|
-
readonly Cif: "CIF";
|
|
1228
|
-
readonly Cip: "CIP";
|
|
1229
|
-
readonly Cpt: "CPT";
|
|
1230
|
-
readonly Daf: "DAF";
|
|
1231
|
-
readonly Ddp: "DDP";
|
|
1232
|
-
readonly Ddu: "DDU";
|
|
1233
|
-
readonly Des: "DES";
|
|
1234
|
-
readonly Deq: "DEQ";
|
|
1235
|
-
readonly Exw: "EXW";
|
|
1236
|
-
readonly Fas: "FAS";
|
|
1237
|
-
readonly Fca: "FCA";
|
|
1238
|
-
readonly Fob: "FOB";
|
|
1239
|
-
readonly Dap: "DAP";
|
|
1240
|
-
};
|
|
1241
|
-
type ShipmentTerm = typeof ShipmentTerm[keyof typeof ShipmentTerm];
|
|
1242
|
-
|
|
1243
1490
|
/**
|
|
1244
1491
|
* Dcm.API.Client
|
|
1245
1492
|
*
|
|
@@ -1370,28 +1617,6 @@ interface ContainerItems {
|
|
|
1370
1617
|
data: Array<ContainerItemView>;
|
|
1371
1618
|
}
|
|
1372
1619
|
|
|
1373
|
-
/**
|
|
1374
|
-
* Dcm.API.Client
|
|
1375
|
-
*
|
|
1376
|
-
*
|
|
1377
|
-
*
|
|
1378
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1379
|
-
* https://openapi-generator.tech
|
|
1380
|
-
* Do not edit the class manually.
|
|
1381
|
-
*/
|
|
1382
|
-
declare const ShipmentState: {
|
|
1383
|
-
readonly Draft: "Draft";
|
|
1384
|
-
readonly RequestAuthorisation: "RequestAuthorisation";
|
|
1385
|
-
readonly AuthorisedToShip: "AuthorisedToShip";
|
|
1386
|
-
readonly Amend: "Amend";
|
|
1387
|
-
readonly Confirmed: "Confirmed";
|
|
1388
|
-
readonly Delivered: "Delivered";
|
|
1389
|
-
readonly Arrived: "Arrived";
|
|
1390
|
-
readonly CancellationRequested: "CancellationRequested";
|
|
1391
|
-
readonly Cancelled: "Cancelled";
|
|
1392
|
-
};
|
|
1393
|
-
type ShipmentState = typeof ShipmentState[keyof typeof ShipmentState];
|
|
1394
|
-
|
|
1395
1620
|
/**
|
|
1396
1621
|
* Dcm.API.Client
|
|
1397
1622
|
*
|
|
@@ -3115,25 +3340,6 @@ interface PoItemDetails {
|
|
|
3115
3340
|
declare namespace PoItemDetails {
|
|
3116
3341
|
}
|
|
3117
3342
|
|
|
3118
|
-
/**
|
|
3119
|
-
* Dcm.API.Client
|
|
3120
|
-
*
|
|
3121
|
-
*
|
|
3122
|
-
*
|
|
3123
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3124
|
-
* https://openapi-generator.tech
|
|
3125
|
-
* Do not edit the class manually.
|
|
3126
|
-
*/
|
|
3127
|
-
declare const BookingStates: {
|
|
3128
|
-
readonly Draft: "Draft";
|
|
3129
|
-
readonly Confirmed: "Confirmed";
|
|
3130
|
-
readonly CancellationRequested: "CancellationRequested";
|
|
3131
|
-
readonly Cancelled: "Cancelled";
|
|
3132
|
-
readonly DraftSi: "DraftSI";
|
|
3133
|
-
readonly ConfirmedSi: "ConfirmedSI";
|
|
3134
|
-
};
|
|
3135
|
-
type BookingStates = typeof BookingStates[keyof typeof BookingStates];
|
|
3136
|
-
|
|
3137
3343
|
/**
|
|
3138
3344
|
* Dcm.API.Client
|
|
3139
3345
|
*
|
|
@@ -3653,6 +3859,193 @@ declare class PoItemsService extends BaseService {
|
|
|
3653
3859
|
static ɵprov: i0.ɵɵInjectableDeclaration<PoItemsService>;
|
|
3654
3860
|
}
|
|
3655
3861
|
|
|
3862
|
+
/**
|
|
3863
|
+
* Dcm.API.Client
|
|
3864
|
+
*
|
|
3865
|
+
*
|
|
3866
|
+
*
|
|
3867
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3868
|
+
* https://openapi-generator.tech
|
|
3869
|
+
* Do not edit the class manually.
|
|
3870
|
+
*/
|
|
3871
|
+
declare const PortType: {
|
|
3872
|
+
readonly Air: "Air";
|
|
3873
|
+
readonly Sea: "Sea";
|
|
3874
|
+
readonly Road: "Road";
|
|
3875
|
+
readonly Rail: "Rail";
|
|
3876
|
+
};
|
|
3877
|
+
type PortType = typeof PortType[keyof typeof PortType];
|
|
3878
|
+
|
|
3879
|
+
/**
|
|
3880
|
+
* Dcm.API.Client
|
|
3881
|
+
*
|
|
3882
|
+
*
|
|
3883
|
+
*
|
|
3884
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3885
|
+
* https://openapi-generator.tech
|
|
3886
|
+
* Do not edit the class manually.
|
|
3887
|
+
*/
|
|
3888
|
+
|
|
3889
|
+
interface PortData {
|
|
3890
|
+
type: PortType;
|
|
3891
|
+
countryId: string;
|
|
3892
|
+
name: string;
|
|
3893
|
+
code: string;
|
|
3894
|
+
customsPortCode?: string | null;
|
|
3895
|
+
latitude?: number | null;
|
|
3896
|
+
longitude?: number | null;
|
|
3897
|
+
}
|
|
3898
|
+
declare namespace PortData {
|
|
3899
|
+
}
|
|
3900
|
+
|
|
3901
|
+
/**
|
|
3902
|
+
* Dcm.API.Client
|
|
3903
|
+
*
|
|
3904
|
+
*
|
|
3905
|
+
*
|
|
3906
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3907
|
+
* https://openapi-generator.tech
|
|
3908
|
+
* Do not edit the class manually.
|
|
3909
|
+
*/
|
|
3910
|
+
|
|
3911
|
+
interface PortDetails {
|
|
3912
|
+
id: string;
|
|
3913
|
+
type?: PortType;
|
|
3914
|
+
countryId: string;
|
|
3915
|
+
countryName: string;
|
|
3916
|
+
name?: string | null;
|
|
3917
|
+
code: string;
|
|
3918
|
+
fullCode?: string | null;
|
|
3919
|
+
customsPortCode?: string | null;
|
|
3920
|
+
locationName?: string | null;
|
|
3921
|
+
latitude?: number | null;
|
|
3922
|
+
longitude?: number | null;
|
|
3923
|
+
}
|
|
3924
|
+
declare namespace PortDetails {
|
|
3925
|
+
}
|
|
3926
|
+
|
|
3927
|
+
declare class PortsService extends BaseService {
|
|
3928
|
+
protected httpClient: HttpClient;
|
|
3929
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
3930
|
+
/**
|
|
3931
|
+
* Create a port
|
|
3932
|
+
* @endpoint post /ports
|
|
3933
|
+
* @param portData
|
|
3934
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
3935
|
+
* @param reportProgress flag to report request and response progress.
|
|
3936
|
+
* @param options additional options
|
|
3937
|
+
*/
|
|
3938
|
+
createPort(portData: PortData, observe?: 'body', reportProgress?: boolean, options?: {
|
|
3939
|
+
httpHeaderAccept?: 'application/json';
|
|
3940
|
+
context?: HttpContext;
|
|
3941
|
+
transferCache?: boolean;
|
|
3942
|
+
}): Observable<PortDetails>;
|
|
3943
|
+
createPort(portData: PortData, observe?: 'response', reportProgress?: boolean, options?: {
|
|
3944
|
+
httpHeaderAccept?: 'application/json';
|
|
3945
|
+
context?: HttpContext;
|
|
3946
|
+
transferCache?: boolean;
|
|
3947
|
+
}): Observable<HttpResponse<PortDetails>>;
|
|
3948
|
+
createPort(portData: PortData, observe?: 'events', reportProgress?: boolean, options?: {
|
|
3949
|
+
httpHeaderAccept?: 'application/json';
|
|
3950
|
+
context?: HttpContext;
|
|
3951
|
+
transferCache?: boolean;
|
|
3952
|
+
}): Observable<HttpEvent<PortDetails>>;
|
|
3953
|
+
/**
|
|
3954
|
+
* Delete a port that is not used by shipments, bookings or routing legs
|
|
3955
|
+
* @endpoint delete /ports/{id}
|
|
3956
|
+
* @param id
|
|
3957
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
3958
|
+
* @param reportProgress flag to report request and response progress.
|
|
3959
|
+
* @param options additional options
|
|
3960
|
+
*/
|
|
3961
|
+
deletePort(id: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
3962
|
+
httpHeaderAccept?: undefined;
|
|
3963
|
+
context?: HttpContext;
|
|
3964
|
+
transferCache?: boolean;
|
|
3965
|
+
}): Observable<any>;
|
|
3966
|
+
deletePort(id: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
3967
|
+
httpHeaderAccept?: undefined;
|
|
3968
|
+
context?: HttpContext;
|
|
3969
|
+
transferCache?: boolean;
|
|
3970
|
+
}): Observable<HttpResponse<any>>;
|
|
3971
|
+
deletePort(id: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
3972
|
+
httpHeaderAccept?: undefined;
|
|
3973
|
+
context?: HttpContext;
|
|
3974
|
+
transferCache?: boolean;
|
|
3975
|
+
}): Observable<HttpEvent<any>>;
|
|
3976
|
+
/**
|
|
3977
|
+
* Get active countries
|
|
3978
|
+
* @endpoint get /ports/countries
|
|
3979
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
3980
|
+
* @param reportProgress flag to report request and response progress.
|
|
3981
|
+
* @param options additional options
|
|
3982
|
+
*/
|
|
3983
|
+
getPortCountries(observe?: 'body', reportProgress?: boolean, options?: {
|
|
3984
|
+
httpHeaderAccept?: 'application/json';
|
|
3985
|
+
context?: HttpContext;
|
|
3986
|
+
transferCache?: boolean;
|
|
3987
|
+
}): Observable<Array<Country>>;
|
|
3988
|
+
getPortCountries(observe?: 'response', reportProgress?: boolean, options?: {
|
|
3989
|
+
httpHeaderAccept?: 'application/json';
|
|
3990
|
+
context?: HttpContext;
|
|
3991
|
+
transferCache?: boolean;
|
|
3992
|
+
}): Observable<HttpResponse<Array<Country>>>;
|
|
3993
|
+
getPortCountries(observe?: 'events', reportProgress?: boolean, options?: {
|
|
3994
|
+
httpHeaderAccept?: 'application/json';
|
|
3995
|
+
context?: HttpContext;
|
|
3996
|
+
transferCache?: boolean;
|
|
3997
|
+
}): Observable<HttpEvent<Array<Country>>>;
|
|
3998
|
+
/**
|
|
3999
|
+
* Get active ports
|
|
4000
|
+
* @endpoint get /ports
|
|
4001
|
+
* @param type
|
|
4002
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
4003
|
+
* @param reportProgress flag to report request and response progress.
|
|
4004
|
+
* @param options additional options
|
|
4005
|
+
*/
|
|
4006
|
+
getPorts(type?: PortType, observe?: 'body', reportProgress?: boolean, options?: {
|
|
4007
|
+
httpHeaderAccept?: 'application/json';
|
|
4008
|
+
context?: HttpContext;
|
|
4009
|
+
transferCache?: boolean;
|
|
4010
|
+
}): Observable<Array<PortDetails>>;
|
|
4011
|
+
getPorts(type?: PortType, observe?: 'response', reportProgress?: boolean, options?: {
|
|
4012
|
+
httpHeaderAccept?: 'application/json';
|
|
4013
|
+
context?: HttpContext;
|
|
4014
|
+
transferCache?: boolean;
|
|
4015
|
+
}): Observable<HttpResponse<Array<PortDetails>>>;
|
|
4016
|
+
getPorts(type?: PortType, observe?: 'events', reportProgress?: boolean, options?: {
|
|
4017
|
+
httpHeaderAccept?: 'application/json';
|
|
4018
|
+
context?: HttpContext;
|
|
4019
|
+
transferCache?: boolean;
|
|
4020
|
+
}): Observable<HttpEvent<Array<PortDetails>>>;
|
|
4021
|
+
/**
|
|
4022
|
+
* Update a port
|
|
4023
|
+
* @endpoint put /ports/{id}
|
|
4024
|
+
* @param id
|
|
4025
|
+
* @param portData
|
|
4026
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
4027
|
+
* @param reportProgress flag to report request and response progress.
|
|
4028
|
+
* @param options additional options
|
|
4029
|
+
*/
|
|
4030
|
+
updatePort(id: string, portData: PortData, observe?: 'body', reportProgress?: boolean, options?: {
|
|
4031
|
+
httpHeaderAccept?: 'application/json';
|
|
4032
|
+
context?: HttpContext;
|
|
4033
|
+
transferCache?: boolean;
|
|
4034
|
+
}): Observable<PortDetails>;
|
|
4035
|
+
updatePort(id: string, portData: PortData, observe?: 'response', reportProgress?: boolean, options?: {
|
|
4036
|
+
httpHeaderAccept?: 'application/json';
|
|
4037
|
+
context?: HttpContext;
|
|
4038
|
+
transferCache?: boolean;
|
|
4039
|
+
}): Observable<HttpResponse<PortDetails>>;
|
|
4040
|
+
updatePort(id: string, portData: PortData, observe?: 'events', reportProgress?: boolean, options?: {
|
|
4041
|
+
httpHeaderAccept?: 'application/json';
|
|
4042
|
+
context?: HttpContext;
|
|
4043
|
+
transferCache?: boolean;
|
|
4044
|
+
}): Observable<HttpEvent<PortDetails>>;
|
|
4045
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PortsService, [null, { optional: true; }, { optional: true; }]>;
|
|
4046
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PortsService>;
|
|
4047
|
+
}
|
|
4048
|
+
|
|
3656
4049
|
/**
|
|
3657
4050
|
* Dcm.API.Client
|
|
3658
4051
|
*
|
|
@@ -4407,20 +4800,6 @@ interface ApprovalContainerInfo {
|
|
|
4407
4800
|
declare namespace ApprovalContainerInfo {
|
|
4408
4801
|
}
|
|
4409
4802
|
|
|
4410
|
-
/**
|
|
4411
|
-
* Dcm.API.Client
|
|
4412
|
-
*
|
|
4413
|
-
*
|
|
4414
|
-
*
|
|
4415
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4416
|
-
* https://openapi-generator.tech
|
|
4417
|
-
* Do not edit the class manually.
|
|
4418
|
-
*/
|
|
4419
|
-
interface Supplier {
|
|
4420
|
-
id: string;
|
|
4421
|
-
name: string;
|
|
4422
|
-
}
|
|
4423
|
-
|
|
4424
4803
|
/**
|
|
4425
4804
|
* Dcm.API.Client
|
|
4426
4805
|
*
|
|
@@ -6036,21 +6415,6 @@ interface VendorBookingShipment {
|
|
|
6036
6415
|
declare namespace VendorBookingShipment {
|
|
6037
6416
|
}
|
|
6038
6417
|
|
|
6039
|
-
/**
|
|
6040
|
-
* Dcm.API.Client
|
|
6041
|
-
*
|
|
6042
|
-
*
|
|
6043
|
-
*
|
|
6044
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6045
|
-
* https://openapi-generator.tech
|
|
6046
|
-
* Do not edit the class manually.
|
|
6047
|
-
*/
|
|
6048
|
-
declare const BookingTypes: {
|
|
6049
|
-
readonly CfsLoad: "CFSLoad";
|
|
6050
|
-
readonly VendorLoad: "VendorLoad";
|
|
6051
|
-
};
|
|
6052
|
-
type BookingTypes = typeof BookingTypes[keyof typeof BookingTypes];
|
|
6053
|
-
|
|
6054
6418
|
/**
|
|
6055
6419
|
* Dcm.API.Client
|
|
6056
6420
|
*
|
|
@@ -6128,7 +6492,7 @@ declare class VendorBookingsService extends BaseService {
|
|
|
6128
6492
|
static ɵprov: i0.ɵɵInjectableDeclaration<VendorBookingsService>;
|
|
6129
6493
|
}
|
|
6130
6494
|
|
|
6131
|
-
declare const APIS: (typeof ApprovalRulesService | typeof AuditLogsService | typeof BookingsService | typeof CompaniesService | typeof ConfigService | typeof ContainersService | typeof DcsService | typeof DeliveryBookingDcsService | typeof DeliveryBookingsService | typeof DocumentsService | typeof HealthService | typeof NotesService | typeof PackingRulesService | typeof PendoService | typeof PermissionsService | typeof PoItemsService | typeof PurchaseOrdersService | typeof ReportsService | typeof SettingsService | typeof ShipmentsService | typeof SipmetItemsService | typeof UserService | typeof VendorBookingsService)[];
|
|
6495
|
+
declare const APIS: (typeof ApprovalRulesService | typeof AuditLogsService | typeof BookingsService | typeof CompaniesService | typeof ConfigService | typeof ContainersService | typeof DcsService | typeof DeliveryBookingDcsService | typeof DeliveryBookingsService | typeof DocumentsService | typeof HealthService | typeof NotesService | typeof PackingRulesService | typeof PendoService | typeof PermissionsService | typeof PoItemsService | typeof PortsService | typeof PurchaseOrdersService | typeof ReportsService | typeof SettingsService | typeof ShipmentsService | typeof SipmetItemsService | typeof UserService | typeof VendorBookingsService)[];
|
|
6132
6496
|
|
|
6133
6497
|
/**
|
|
6134
6498
|
* Dcm.API.Client
|
|
@@ -6217,5 +6581,5 @@ declare class ApiModule {
|
|
|
6217
6581
|
|
|
6218
6582
|
declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
|
|
6219
6583
|
|
|
6220
|
-
export { APIS, AmendConfirmationTypes, ApiModule, ApprovalContainerInfo, ApprovalProcess, ApprovalProcessConsignee, ApprovalProcessContainer, ApprovalProcessContainerData, ApprovalProcessData, ApprovalRuleType, ApprovalRulesService, ApprovalShipmentTimelineItem, ApprovalTypes, AuditLog, AuditLogsService, BASE_PATH, BookingStates, BookingTypes, BookingsService, COLLECTION_FORMATS, CompaniesService, ConfigService, Configuration, ContainerBookedState, ContainerDeliveryGridView, ContainerDeliveryItemGridView, ContainerDeliveryShipmentView, ContainerDeliverySummary, ContainerGridView, ContainerShipmentView, ContainerSize, ContainerType, ContainerView, ContainersService, CurrentUser, CwStates, DcClientDeliveryBooking, DcsService, DeliveryBookingContainerView, DeliveryBookingDcClientDeliveryBooking, DeliveryBookingDcsService, DeliveryBookingStates, DeliveryBookingsService, DeliveryShipmentTimelineItem, Document, DocumentType, DocumentsService, EmbedReportInfoModel, EntityState, HealthService, JourneySegmentType, LocationType, Note, NoteCategory, NoteSourceType, NotesService, PackingRulesService, PendoService, PermissionsService, PoItemDetails, PoItemShippingDetail, PoItemState, PoItemsService, PowerBiTenant, Product, ProductsShippingDetail, PurchaseOrderGridView, PurchaseOrderItem, PurchaseOrderProduct, PurchaseOrderState, PurchaseOrderSummary, PurchaseOrderView, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, Shipment, ShipmentAirRouting, ShipmentApproval, ShipmentApprovalType, ShipmentContainer, ShipmentItemSummary, ShipmentLocation, ShipmentRoadRouting, ShipmentRouting, ShipmentRoutingSummary, ShipmentRoutingSummaryLeg, ShipmentSeaRouting, ShipmentState, ShipmentSummary, ShipmentTerm, ShipmentTimelineItem, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TrackedVehicle, TransportMode, TransportationShipmentTimelineItem, UserCompanyType, UserService, VendorBooking, VendorBookingShipment, VendorBookingsService, WorkflowArtifacts, provideApi };
|
|
6221
|
-
export type { AppConfig, ApprovalContainerRules, ApprovalItemRules, ApprovalProcessConsigneeData, ApprovalRules, AuditLogs, BookingsCount, Column, CommandStatusResult, Companies, Company, ConfigurationParameters, Consignee, ContainerDeliveries, ContainerDeliveryItems, ContainerDeliverySummaries, ContainerItemView, ContainerItems, ContainerPoGridView, ContainerPos, Containers, ContainersCount, ContainersToDeliverCount, Country, CreateDcClientDeliveryBooking, DashboardReportGroup, DashboardReports, DataFormat, DataType, Dc, Dcs, DeliveryBookingDc, DeliveryBookingGridView, DeliveryBookingShipmentView, DeliveryBookings, DepartmentShipment, Documents, EmbedReport, EmbedTokenDto, EntityList, GeoCoordinate, ModelError, NoteView, Notes, PackingRule, PackingRuleData, Param, ParamLocation, ParamStyle, PaymentTerm, PendingMessagesCount, PoItemDc, PoItemShippingDetails, PoItemSummary, PoItemTotals, Port, Products, ProductsShippingDetails, PurchaseOrderItems, PurchaseOrders, SetNewFeaturesVisibilityCommand, SettingValue, SettingView, ShipmentApprovals, ShipmentContainers, ShipmentGeoTracking, ShipmentItem, ShipmentItemSummaries, ShipmentItems, ShipmentProduct, ShipmentProductTotals, ShipmentProducts, ShipmentRoutingsInner, ShipmentTimelineInner, Shipments, ShipmentsApprovalCount, ShipmentsCount, ShipmentsInTransitCount, StandardDataFormat, StandardDataType, StandardParamStyle, SummaryDashboardReports, Supplier, TransportCarrier, TransportLocation, TransportPosition, UnbookedProductCount, User, UserApplication, UserApplications, UserCapabilitiesModel, UserPermissions, VendorBookings };
|
|
6584
|
+
export { APIS, AmendConfirmationTypes, ApiModule, ApprovalContainerInfo, ApprovalProcess, ApprovalProcessConsignee, ApprovalProcessContainer, ApprovalProcessContainerData, ApprovalProcessData, ApprovalRuleType, ApprovalRulesService, ApprovalShipmentTimelineItem, ApprovalTypes, AuditLog, AuditLogsService, BASE_PATH, Booking, BookingCollectionDelivery, BookingShipment, BookingStates, BookingTypes, BookingsService, COLLECTION_FORMATS, CompaniesService, ConfigService, Configuration, ContainerBookedState, ContainerDeliveryGridView, ContainerDeliveryItemGridView, ContainerDeliveryShipmentView, ContainerDeliverySummary, ContainerGridView, ContainerShipmentView, ContainerSize, ContainerType, ContainerView, ContainersService, CurrentUser, CwStates, DcClientDeliveryBooking, DcsService, DeliveryBookingContainerView, DeliveryBookingDcClientDeliveryBooking, DeliveryBookingDcsService, DeliveryBookingStates, DeliveryBookingsService, DeliveryShipmentTimelineItem, Document, DocumentType, DocumentsService, EmbedReportInfoModel, EntityState, HealthService, JourneySegmentType, LocationType, Note, NoteCategory, NoteSourceType, NotesService, PackingRulesService, PendoService, PermissionsService, PoItemDetails, PoItemShippingDetail, PoItemState, PoItemsService, PortData, PortDetails, PortType, PortsService, PowerBiTenant, Product, ProductsShippingDetail, PurchaseOrderGridView, PurchaseOrderItem, PurchaseOrderProduct, PurchaseOrderState, PurchaseOrderSummary, PurchaseOrderView, PurchaseOrdersService, RecordTypes, ReportsService, RoutingLegType, SettingsService, Shipment, ShipmentAirRouting, ShipmentApproval, ShipmentApprovalType, ShipmentContainer, ShipmentItemSummary, ShipmentLocation, ShipmentRoadRouting, ShipmentRouting, ShipmentRoutingSummary, ShipmentRoutingSummaryLeg, ShipmentSeaRouting, ShipmentState, ShipmentSummary, ShipmentTerm, ShipmentTimelineItem, ShipmentsService, SipmetItemsService, TimelineEventStates, TimelineEventTypes, TrackedVehicle, TransportMode, TransportationShipmentTimelineItem, UserCompanyType, UserService, VendorBooking, VendorBookingShipment, VendorBookingsService, WorkflowArtifacts, provideApi };
|
|
6585
|
+
export type { AppConfig, ApprovalContainerRules, ApprovalItemRules, ApprovalProcessConsigneeData, ApprovalRules, AuditLogs, Bookings, BookingsCount, Branch, Column, CommandStatusResult, Companies, Company, ConfigurationParameters, Consignee, ContainerDeliveries, ContainerDeliveryItems, ContainerDeliverySummaries, ContainerItemView, ContainerItems, ContainerPoGridView, ContainerPos, Containers, ContainersCount, ContainersToDeliverCount, Country, CreateDcClientDeliveryBooking, DashboardReportGroup, DashboardReports, DataFormat, DataType, Dc, Dcs, DeliveryBookingDc, DeliveryBookingGridView, DeliveryBookingShipmentView, DeliveryBookings, DepartmentShipment, Documents, EmbedReport, EmbedTokenDto, EntityList, GeoCoordinate, ModelError, NoteView, Notes, PackingRule, PackingRuleData, Param, ParamLocation, ParamStyle, PaymentTerm, PendingMessagesCount, PoItemDc, PoItemShippingDetails, PoItemSummary, PoItemTotals, Port, Products, ProductsShippingDetails, PurchaseOrderItems, PurchaseOrders, SetNewFeaturesVisibilityCommand, SettingValue, SettingView, ShipmentApprovals, ShipmentContainers, ShipmentGeoTracking, ShipmentItem, ShipmentItemSummaries, ShipmentItems, ShipmentProduct, ShipmentProductTotals, ShipmentProducts, ShipmentRoutingsInner, ShipmentTimelineInner, Shipments, ShipmentsApprovalCount, ShipmentsCount, ShipmentsInTransitCount, StandardDataFormat, StandardDataType, StandardParamStyle, SummaryDashboardReports, Supplier, TransportCarrier, TransportLocation, TransportPosition, UnbookedProductCount, User, UserApplication, UserApplications, UserCapabilitiesModel, UserPermissions, VendorBookings };
|