@shipengine/connect-carrier-api 4.10.1 → 4.10.3
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/app/metadata/carrier-attributes.d.ts +2 -1
- package/lib/app/metadata/carrier-attributes.js +1 -0
- package/lib/app/metadata/carrier-attributes.js.map +1 -1
- package/lib/models/tracking/standardized-status-detail-codes.d.ts +72 -72
- package/lib/models/tracking/standardized-status-detail-codes.js +72 -72
- package/lib/models/tracking/standardized-status-detail-codes.js.map +1 -1
- package/package.json +2 -2
- package/src/app/metadata/carrier-attributes.ts +1 -0
- package/src/models/tracking/standardized-status-detail-codes.ts +72 -72
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -4,6 +4,7 @@ export declare enum CarrierAttributeEnum {
|
|
|
4
4
|
ManifestPhysical = "ManifestPhysical",
|
|
5
5
|
Consolidator = "Consolidator",
|
|
6
6
|
Regional = "Regional",
|
|
7
|
-
RequiresInboundWebhook = "RequiresInboundWebhook"
|
|
7
|
+
RequiresInboundWebhook = "RequiresInboundWebhook",
|
|
8
|
+
DetailStatuses = "DetailStatuses"
|
|
8
9
|
}
|
|
9
10
|
export declare const CarrierAttributeEnumSchema: Joi.StringSchema;
|
|
@@ -10,6 +10,7 @@ var CarrierAttributeEnum;
|
|
|
10
10
|
CarrierAttributeEnum["Consolidator"] = "Consolidator";
|
|
11
11
|
CarrierAttributeEnum["Regional"] = "Regional";
|
|
12
12
|
CarrierAttributeEnum["RequiresInboundWebhook"] = "RequiresInboundWebhook";
|
|
13
|
+
CarrierAttributeEnum["DetailStatuses"] = "DetailStatuses";
|
|
13
14
|
})(CarrierAttributeEnum || (exports.CarrierAttributeEnum = CarrierAttributeEnum = {}));
|
|
14
15
|
exports.CarrierAttributeEnumSchema = joi_1.default.string().valid(...Object.values(CarrierAttributeEnum));
|
|
15
16
|
//# sourceMappingURL=carrier-attributes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carrier-attributes.js","sourceRoot":"","sources":["../../../src/app/metadata/carrier-attributes.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,IAAY,
|
|
1
|
+
{"version":3,"file":"carrier-attributes.js","sourceRoot":"","sources":["../../../src/app/metadata/carrier-attributes.ts"],"names":[],"mappings":";;;;AAAA,sDAAsB;AAEtB,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC9B,2DAAmC,CAAA;IACnC,6DAAqC,CAAA;IACrC,qDAA6B,CAAA;IAC7B,6CAAqB,CAAA;IACrB,yEAAiD,CAAA;IACjD,yDAAiC,CAAA;AACnC,CAAC,EAPW,oBAAoB,oCAApB,oBAAoB,QAO/B;AAEY,QAAA,0BAA0B,GAAG,aAAG,CAAC,MAAM,EAAE,CAAC,KAAK,CAC1D,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CACvC,CAAC"}
|
|
@@ -1,75 +1,75 @@
|
|
|
1
1
|
/** @description This represents the ShipEngine supported detail codes for a shipment. */
|
|
2
2
|
export declare enum StandardizedStatusDetailCodes {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
3
|
+
CollectionFailed = "COLLECTION_FAILED",
|
|
4
|
+
AwaitingDespatch = "AWAITING_DESPATCH",
|
|
5
|
+
CollectionRequested = "COLLECTION_REQUESTED",
|
|
6
|
+
Despatched = "DESPATCHED",
|
|
7
|
+
ElecAdviceRecdByCarrier = "ELEC_ADVICE_RECD_BY_CARRIER",
|
|
8
|
+
NotYetReceivedByCarrier = "NOT_YET_RECEIVED_BY_CARRIER",
|
|
9
|
+
AttemptedDelivery = "ATTEMPTED_DELIVERY",
|
|
10
|
+
AttemptedDelivery2Nd = "ATTEMPTED_DELIVERY_2ND",
|
|
11
|
+
AttemptedDelivery3Rd = "ATTEMPTED_DELIVERY_3RD",
|
|
12
|
+
CodAmountNotPaid = "COD_AMOUNT_NOT_PAID",
|
|
13
|
+
CodAmountPaid = "COD_AMOUNT_PAID",
|
|
14
|
+
CustomerCarded = "CUSTOMER_CARDED",
|
|
15
|
+
CustomerIdentificationFailed = "CUSTOMER_IDENTIFICATION_FAILED",
|
|
16
|
+
InvalidMethodOfPayment = "INVALID_METHOD_OF_PAYMENT",
|
|
17
|
+
NoAccessToRecipientsAddress = "NO_ACCESS_TO_RECIPIENTS_ADDRESS",
|
|
18
|
+
OutForDelivery = "OUT_FOR_DELIVERY",
|
|
19
|
+
Delivered = "DELIVERED",
|
|
20
|
+
DeliveredDamaged = "DELIVERED_DAMAGED",
|
|
21
|
+
DeliveredInPart = "DELIVERED_IN_PART",
|
|
22
|
+
DeliveredSpecifiedSafePlace = "DELIVERED_SPECIFIED_SAFE_PLACE",
|
|
23
|
+
DeliveredToAlternativeDeliveryLocation = "DELIVERED_TO_ALTERNATIVE_DELIVERY_LOCATION",
|
|
24
|
+
DeliveredToNeighbour = "DELIVERED_TO_NEIGHBOUR",
|
|
25
|
+
DeliveredToPoBox = "DELIVERED_TO_PO_BOX",
|
|
26
|
+
ParcelCollectedFromPickupPoint = "PARCEL_COLLECTED_FROM_PICKUP_POINT",
|
|
27
|
+
PostTransitStatus = "POST_TRANSIT_STATUS",
|
|
28
|
+
ProofOfDelivery = "PROOF_OF_DELIVERY",
|
|
29
|
+
Cancelled = "CANCELLED",
|
|
30
|
+
CancelledBeforeDespatch = "CANCELLED_BEFORE_DESPATCH",
|
|
31
|
+
CustomerMoved = "CUSTOMER_MOVED",
|
|
32
|
+
HazardousProhibited = "HAZARDOUS_PROHIBITED",
|
|
33
|
+
NotCollectedFromPickupPoint = "NOT_COLLECTED_FROM_PICKUP_POINT",
|
|
34
|
+
NotDelivered = "NOT_DELIVERED",
|
|
35
|
+
NotDeliveredAddresseeDeceased = "NOT_DELIVERED_ADDRESSEE_DECEASED",
|
|
36
|
+
ParcelDamaged = "PARCEL_DAMAGED",
|
|
37
|
+
ParcelDisposed = "PARCEL_DISPOSED",
|
|
38
|
+
ParcelLost = "PARCEL_LOST",
|
|
39
|
+
ParcelOutsideOfServiceCapability = "PARCEL_OUTSIDE_OF_SERVICE_CAPABILITY",
|
|
40
|
+
RefusedByCustomer = "REFUSED_BY_CUSTOMER",
|
|
41
|
+
ReturnToSender = "RETURN_TO_SENDER",
|
|
42
|
+
AddressQuery = "ADDRESS_QUERY",
|
|
43
|
+
CarrierDelays = "CARRIER_DELAYS",
|
|
44
|
+
CollectionMade = "COLLECTION_MADE",
|
|
45
|
+
CustomsCleared = "CUSTOMS_CLEARED",
|
|
46
|
+
CustomsProcessing = "CUSTOMS_PROCESSING",
|
|
47
|
+
DelayedNotCarrier = "DELAYED_NOT_CARRIER",
|
|
48
|
+
DeliveryArrangedWithRecipient = "DELIVERY_ARRANGED_WITH_RECIPIENT",
|
|
49
|
+
HeldByCarrier = "HELD_BY_CARRIER",
|
|
50
|
+
HeldByCarrierForClearancePreProcessing = "HELD_BY_CARRIER_FOR_CLEARANCE_PRE_PROCESSING",
|
|
51
|
+
HeldByCustoms = "HELD_BY_CUSTOMS",
|
|
52
|
+
HeldByExportCustoms = "HELD_BY_EXPORT_CUSTOMS",
|
|
53
|
+
HeldByImportCustoms = "HELD_BY_IMPORT_CUSTOMS",
|
|
54
|
+
HubScanOut = "HUB_SCAN_OUT",
|
|
55
|
+
InTransit = "IN_TRANSIT",
|
|
56
|
+
IncorrectDeclaration = "INCORRECT_DECLARATION",
|
|
57
|
+
Information = "INFORMATION",
|
|
58
|
+
Missorted = "MISSORTED",
|
|
59
|
+
ParcelOverLabelled = "PARCEL_OVER_LABELLED",
|
|
60
|
+
ParcelRepacked = "PARCEL_REPACKED",
|
|
61
|
+
ParcelUpdateNotificationViaEmail = "PARCEL_UPDATE_NOTIFICATION_VIA_EMAIL",
|
|
62
|
+
ParcelUpdateNotificationViaSms = "PARCEL_UPDATE_NOTIFICATION_VIA_SMS",
|
|
63
|
+
ReceivedByCarrier = "RECEIVED_BY_CARRIER",
|
|
64
|
+
ReceivedLocalDeliveryDepot = "RECEIVED_LOCAL_DELIVERY_DEPOT",
|
|
65
|
+
RoutingError = "ROUTING_ERROR",
|
|
66
|
+
SubContractorEvent = "SUB_CONTRACTOR_EVENT",
|
|
67
|
+
SubContractorReceived = "SUB_CONTRACTOR_RECEIVED",
|
|
68
|
+
RecdByCarrierNoElecAdvice = "RECD_BY_CARRIER_NO_ELEC_ADVICE",
|
|
69
|
+
AwaitingElectronicAdvice = "AWAITING_ELECTRONIC_ADVICE",
|
|
70
|
+
AwaitingCollectionFromPickupPoint = "AWAITING_COLLECTION_FROM_PICKUP_POINT",
|
|
71
|
+
CollectAtLocalPo = "COLLECT_AT_LOCAL_PO",
|
|
72
|
+
CustomerToCollectFromCarrier = "CUSTOMER_TO_COLLECT_FROM_CARRIER",
|
|
73
|
+
DeliveredToLockerCollectionPoint = "DELIVERED_TO_LOCKER_COLLECTION_POINT",
|
|
74
|
+
CarrierStatusNotMapped = "CARRIER_STATUS_NOT_MAPPED"
|
|
75
75
|
}
|
|
@@ -4,77 +4,77 @@ exports.StandardizedStatusDetailCodes = void 0;
|
|
|
4
4
|
/** @description This represents the ShipEngine supported detail codes for a shipment. */
|
|
5
5
|
var StandardizedStatusDetailCodes;
|
|
6
6
|
(function (StandardizedStatusDetailCodes) {
|
|
7
|
-
StandardizedStatusDetailCodes["
|
|
8
|
-
StandardizedStatusDetailCodes["
|
|
9
|
-
StandardizedStatusDetailCodes["
|
|
10
|
-
StandardizedStatusDetailCodes["
|
|
11
|
-
StandardizedStatusDetailCodes["
|
|
12
|
-
StandardizedStatusDetailCodes["
|
|
13
|
-
StandardizedStatusDetailCodes["
|
|
14
|
-
StandardizedStatusDetailCodes["
|
|
15
|
-
StandardizedStatusDetailCodes["
|
|
16
|
-
StandardizedStatusDetailCodes["
|
|
17
|
-
StandardizedStatusDetailCodes["
|
|
18
|
-
StandardizedStatusDetailCodes["
|
|
19
|
-
StandardizedStatusDetailCodes["
|
|
20
|
-
StandardizedStatusDetailCodes["
|
|
21
|
-
StandardizedStatusDetailCodes["
|
|
22
|
-
StandardizedStatusDetailCodes["
|
|
23
|
-
StandardizedStatusDetailCodes["
|
|
24
|
-
StandardizedStatusDetailCodes["
|
|
25
|
-
StandardizedStatusDetailCodes["
|
|
26
|
-
StandardizedStatusDetailCodes["
|
|
27
|
-
StandardizedStatusDetailCodes["
|
|
28
|
-
StandardizedStatusDetailCodes["
|
|
29
|
-
StandardizedStatusDetailCodes["
|
|
30
|
-
StandardizedStatusDetailCodes["
|
|
31
|
-
StandardizedStatusDetailCodes["
|
|
32
|
-
StandardizedStatusDetailCodes["
|
|
33
|
-
StandardizedStatusDetailCodes["
|
|
34
|
-
StandardizedStatusDetailCodes["
|
|
35
|
-
StandardizedStatusDetailCodes["
|
|
36
|
-
StandardizedStatusDetailCodes["
|
|
37
|
-
StandardizedStatusDetailCodes["
|
|
38
|
-
StandardizedStatusDetailCodes["
|
|
39
|
-
StandardizedStatusDetailCodes["
|
|
40
|
-
StandardizedStatusDetailCodes["
|
|
41
|
-
StandardizedStatusDetailCodes["
|
|
42
|
-
StandardizedStatusDetailCodes["
|
|
43
|
-
StandardizedStatusDetailCodes["
|
|
44
|
-
StandardizedStatusDetailCodes["
|
|
45
|
-
StandardizedStatusDetailCodes["
|
|
46
|
-
StandardizedStatusDetailCodes["
|
|
47
|
-
StandardizedStatusDetailCodes["
|
|
48
|
-
StandardizedStatusDetailCodes["
|
|
49
|
-
StandardizedStatusDetailCodes["
|
|
50
|
-
StandardizedStatusDetailCodes["
|
|
51
|
-
StandardizedStatusDetailCodes["
|
|
52
|
-
StandardizedStatusDetailCodes["
|
|
53
|
-
StandardizedStatusDetailCodes["
|
|
54
|
-
StandardizedStatusDetailCodes["
|
|
55
|
-
StandardizedStatusDetailCodes["
|
|
56
|
-
StandardizedStatusDetailCodes["
|
|
57
|
-
StandardizedStatusDetailCodes["
|
|
58
|
-
StandardizedStatusDetailCodes["
|
|
59
|
-
StandardizedStatusDetailCodes["
|
|
60
|
-
StandardizedStatusDetailCodes["
|
|
61
|
-
StandardizedStatusDetailCodes["
|
|
62
|
-
StandardizedStatusDetailCodes["
|
|
63
|
-
StandardizedStatusDetailCodes["
|
|
64
|
-
StandardizedStatusDetailCodes["
|
|
65
|
-
StandardizedStatusDetailCodes["
|
|
66
|
-
StandardizedStatusDetailCodes["
|
|
67
|
-
StandardizedStatusDetailCodes["
|
|
68
|
-
StandardizedStatusDetailCodes["
|
|
69
|
-
StandardizedStatusDetailCodes["
|
|
70
|
-
StandardizedStatusDetailCodes["
|
|
71
|
-
StandardizedStatusDetailCodes["
|
|
72
|
-
StandardizedStatusDetailCodes["
|
|
73
|
-
StandardizedStatusDetailCodes["
|
|
74
|
-
StandardizedStatusDetailCodes["
|
|
75
|
-
StandardizedStatusDetailCodes["
|
|
76
|
-
StandardizedStatusDetailCodes["
|
|
77
|
-
StandardizedStatusDetailCodes["
|
|
78
|
-
StandardizedStatusDetailCodes["
|
|
7
|
+
StandardizedStatusDetailCodes["CollectionFailed"] = "COLLECTION_FAILED";
|
|
8
|
+
StandardizedStatusDetailCodes["AwaitingDespatch"] = "AWAITING_DESPATCH";
|
|
9
|
+
StandardizedStatusDetailCodes["CollectionRequested"] = "COLLECTION_REQUESTED";
|
|
10
|
+
StandardizedStatusDetailCodes["Despatched"] = "DESPATCHED";
|
|
11
|
+
StandardizedStatusDetailCodes["ElecAdviceRecdByCarrier"] = "ELEC_ADVICE_RECD_BY_CARRIER";
|
|
12
|
+
StandardizedStatusDetailCodes["NotYetReceivedByCarrier"] = "NOT_YET_RECEIVED_BY_CARRIER";
|
|
13
|
+
StandardizedStatusDetailCodes["AttemptedDelivery"] = "ATTEMPTED_DELIVERY";
|
|
14
|
+
StandardizedStatusDetailCodes["AttemptedDelivery2Nd"] = "ATTEMPTED_DELIVERY_2ND";
|
|
15
|
+
StandardizedStatusDetailCodes["AttemptedDelivery3Rd"] = "ATTEMPTED_DELIVERY_3RD";
|
|
16
|
+
StandardizedStatusDetailCodes["CodAmountNotPaid"] = "COD_AMOUNT_NOT_PAID";
|
|
17
|
+
StandardizedStatusDetailCodes["CodAmountPaid"] = "COD_AMOUNT_PAID";
|
|
18
|
+
StandardizedStatusDetailCodes["CustomerCarded"] = "CUSTOMER_CARDED";
|
|
19
|
+
StandardizedStatusDetailCodes["CustomerIdentificationFailed"] = "CUSTOMER_IDENTIFICATION_FAILED";
|
|
20
|
+
StandardizedStatusDetailCodes["InvalidMethodOfPayment"] = "INVALID_METHOD_OF_PAYMENT";
|
|
21
|
+
StandardizedStatusDetailCodes["NoAccessToRecipientsAddress"] = "NO_ACCESS_TO_RECIPIENTS_ADDRESS";
|
|
22
|
+
StandardizedStatusDetailCodes["OutForDelivery"] = "OUT_FOR_DELIVERY";
|
|
23
|
+
StandardizedStatusDetailCodes["Delivered"] = "DELIVERED";
|
|
24
|
+
StandardizedStatusDetailCodes["DeliveredDamaged"] = "DELIVERED_DAMAGED";
|
|
25
|
+
StandardizedStatusDetailCodes["DeliveredInPart"] = "DELIVERED_IN_PART";
|
|
26
|
+
StandardizedStatusDetailCodes["DeliveredSpecifiedSafePlace"] = "DELIVERED_SPECIFIED_SAFE_PLACE";
|
|
27
|
+
StandardizedStatusDetailCodes["DeliveredToAlternativeDeliveryLocation"] = "DELIVERED_TO_ALTERNATIVE_DELIVERY_LOCATION";
|
|
28
|
+
StandardizedStatusDetailCodes["DeliveredToNeighbour"] = "DELIVERED_TO_NEIGHBOUR";
|
|
29
|
+
StandardizedStatusDetailCodes["DeliveredToPoBox"] = "DELIVERED_TO_PO_BOX";
|
|
30
|
+
StandardizedStatusDetailCodes["ParcelCollectedFromPickupPoint"] = "PARCEL_COLLECTED_FROM_PICKUP_POINT";
|
|
31
|
+
StandardizedStatusDetailCodes["PostTransitStatus"] = "POST_TRANSIT_STATUS";
|
|
32
|
+
StandardizedStatusDetailCodes["ProofOfDelivery"] = "PROOF_OF_DELIVERY";
|
|
33
|
+
StandardizedStatusDetailCodes["Cancelled"] = "CANCELLED";
|
|
34
|
+
StandardizedStatusDetailCodes["CancelledBeforeDespatch"] = "CANCELLED_BEFORE_DESPATCH";
|
|
35
|
+
StandardizedStatusDetailCodes["CustomerMoved"] = "CUSTOMER_MOVED";
|
|
36
|
+
StandardizedStatusDetailCodes["HazardousProhibited"] = "HAZARDOUS_PROHIBITED";
|
|
37
|
+
StandardizedStatusDetailCodes["NotCollectedFromPickupPoint"] = "NOT_COLLECTED_FROM_PICKUP_POINT";
|
|
38
|
+
StandardizedStatusDetailCodes["NotDelivered"] = "NOT_DELIVERED";
|
|
39
|
+
StandardizedStatusDetailCodes["NotDeliveredAddresseeDeceased"] = "NOT_DELIVERED_ADDRESSEE_DECEASED";
|
|
40
|
+
StandardizedStatusDetailCodes["ParcelDamaged"] = "PARCEL_DAMAGED";
|
|
41
|
+
StandardizedStatusDetailCodes["ParcelDisposed"] = "PARCEL_DISPOSED";
|
|
42
|
+
StandardizedStatusDetailCodes["ParcelLost"] = "PARCEL_LOST";
|
|
43
|
+
StandardizedStatusDetailCodes["ParcelOutsideOfServiceCapability"] = "PARCEL_OUTSIDE_OF_SERVICE_CAPABILITY";
|
|
44
|
+
StandardizedStatusDetailCodes["RefusedByCustomer"] = "REFUSED_BY_CUSTOMER";
|
|
45
|
+
StandardizedStatusDetailCodes["ReturnToSender"] = "RETURN_TO_SENDER";
|
|
46
|
+
StandardizedStatusDetailCodes["AddressQuery"] = "ADDRESS_QUERY";
|
|
47
|
+
StandardizedStatusDetailCodes["CarrierDelays"] = "CARRIER_DELAYS";
|
|
48
|
+
StandardizedStatusDetailCodes["CollectionMade"] = "COLLECTION_MADE";
|
|
49
|
+
StandardizedStatusDetailCodes["CustomsCleared"] = "CUSTOMS_CLEARED";
|
|
50
|
+
StandardizedStatusDetailCodes["CustomsProcessing"] = "CUSTOMS_PROCESSING";
|
|
51
|
+
StandardizedStatusDetailCodes["DelayedNotCarrier"] = "DELAYED_NOT_CARRIER";
|
|
52
|
+
StandardizedStatusDetailCodes["DeliveryArrangedWithRecipient"] = "DELIVERY_ARRANGED_WITH_RECIPIENT";
|
|
53
|
+
StandardizedStatusDetailCodes["HeldByCarrier"] = "HELD_BY_CARRIER";
|
|
54
|
+
StandardizedStatusDetailCodes["HeldByCarrierForClearancePreProcessing"] = "HELD_BY_CARRIER_FOR_CLEARANCE_PRE_PROCESSING";
|
|
55
|
+
StandardizedStatusDetailCodes["HeldByCustoms"] = "HELD_BY_CUSTOMS";
|
|
56
|
+
StandardizedStatusDetailCodes["HeldByExportCustoms"] = "HELD_BY_EXPORT_CUSTOMS";
|
|
57
|
+
StandardizedStatusDetailCodes["HeldByImportCustoms"] = "HELD_BY_IMPORT_CUSTOMS";
|
|
58
|
+
StandardizedStatusDetailCodes["HubScanOut"] = "HUB_SCAN_OUT";
|
|
59
|
+
StandardizedStatusDetailCodes["InTransit"] = "IN_TRANSIT";
|
|
60
|
+
StandardizedStatusDetailCodes["IncorrectDeclaration"] = "INCORRECT_DECLARATION";
|
|
61
|
+
StandardizedStatusDetailCodes["Information"] = "INFORMATION";
|
|
62
|
+
StandardizedStatusDetailCodes["Missorted"] = "MISSORTED";
|
|
63
|
+
StandardizedStatusDetailCodes["ParcelOverLabelled"] = "PARCEL_OVER_LABELLED";
|
|
64
|
+
StandardizedStatusDetailCodes["ParcelRepacked"] = "PARCEL_REPACKED";
|
|
65
|
+
StandardizedStatusDetailCodes["ParcelUpdateNotificationViaEmail"] = "PARCEL_UPDATE_NOTIFICATION_VIA_EMAIL";
|
|
66
|
+
StandardizedStatusDetailCodes["ParcelUpdateNotificationViaSms"] = "PARCEL_UPDATE_NOTIFICATION_VIA_SMS";
|
|
67
|
+
StandardizedStatusDetailCodes["ReceivedByCarrier"] = "RECEIVED_BY_CARRIER";
|
|
68
|
+
StandardizedStatusDetailCodes["ReceivedLocalDeliveryDepot"] = "RECEIVED_LOCAL_DELIVERY_DEPOT";
|
|
69
|
+
StandardizedStatusDetailCodes["RoutingError"] = "ROUTING_ERROR";
|
|
70
|
+
StandardizedStatusDetailCodes["SubContractorEvent"] = "SUB_CONTRACTOR_EVENT";
|
|
71
|
+
StandardizedStatusDetailCodes["SubContractorReceived"] = "SUB_CONTRACTOR_RECEIVED";
|
|
72
|
+
StandardizedStatusDetailCodes["RecdByCarrierNoElecAdvice"] = "RECD_BY_CARRIER_NO_ELEC_ADVICE";
|
|
73
|
+
StandardizedStatusDetailCodes["AwaitingElectronicAdvice"] = "AWAITING_ELECTRONIC_ADVICE";
|
|
74
|
+
StandardizedStatusDetailCodes["AwaitingCollectionFromPickupPoint"] = "AWAITING_COLLECTION_FROM_PICKUP_POINT";
|
|
75
|
+
StandardizedStatusDetailCodes["CollectAtLocalPo"] = "COLLECT_AT_LOCAL_PO";
|
|
76
|
+
StandardizedStatusDetailCodes["CustomerToCollectFromCarrier"] = "CUSTOMER_TO_COLLECT_FROM_CARRIER";
|
|
77
|
+
StandardizedStatusDetailCodes["DeliveredToLockerCollectionPoint"] = "DELIVERED_TO_LOCKER_COLLECTION_POINT";
|
|
78
|
+
StandardizedStatusDetailCodes["CarrierStatusNotMapped"] = "CARRIER_STATUS_NOT_MAPPED";
|
|
79
79
|
})(StandardizedStatusDetailCodes || (exports.StandardizedStatusDetailCodes = StandardizedStatusDetailCodes = {}));
|
|
80
80
|
//# sourceMappingURL=standardized-status-detail-codes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standardized-status-detail-codes.js","sourceRoot":"","sources":["../../../src/models/tracking/standardized-status-detail-codes.ts"],"names":[],"mappings":";;;AAAA,yFAAyF;AACzF,IAAY,6BAyEX;AAzED,WAAY,6BAA6B;IACvC,
|
|
1
|
+
{"version":3,"file":"standardized-status-detail-codes.js","sourceRoot":"","sources":["../../../src/models/tracking/standardized-status-detail-codes.ts"],"names":[],"mappings":";;;AAAA,yFAAyF;AACzF,IAAY,6BAyEX;AAzED,WAAY,6BAA6B;IACvC,uEAAsC,CAAA;IACtC,uEAAsC,CAAA;IACtC,6EAA4C,CAAA;IAC5C,0DAAyB,CAAA;IACzB,wFAAuD,CAAA;IACvD,wFAAuD,CAAA;IACvD,yEAAwC,CAAA;IACxC,gFAA+C,CAAA;IAC/C,gFAA+C,CAAA;IAC/C,yEAAwC,CAAA;IACxC,kEAAiC,CAAA;IACjC,mEAAkC,CAAA;IAClC,gGAA+D,CAAA;IAC/D,qFAAoD,CAAA;IACpD,gGAA+D,CAAA;IAC/D,oEAAmC,CAAA;IACnC,wDAAuB,CAAA;IACvB,uEAAsC,CAAA;IACtC,sEAAqC,CAAA;IACrC,+FAA8D,CAAA;IAC9D,sHAAqF,CAAA;IACrF,gFAA+C,CAAA;IAC/C,yEAAwC,CAAA;IACxC,sGAAqE,CAAA;IACrE,0EAAyC,CAAA;IACzC,sEAAqC,CAAA;IACrC,wDAAuB,CAAA;IACvB,sFAAqD,CAAA;IACrD,iEAAgC,CAAA;IAChC,6EAA4C,CAAA;IAC5C,gGAA+D,CAAA;IAC/D,+DAA8B,CAAA;IAC9B,mGAAkE,CAAA;IAClE,iEAAgC,CAAA;IAChC,mEAAkC,CAAA;IAClC,2DAA0B,CAAA;IAC1B,0GAAyE,CAAA;IACzE,0EAAyC,CAAA;IACzC,oEAAmC,CAAA;IACnC,+DAA8B,CAAA;IAC9B,iEAAgC,CAAA;IAChC,mEAAkC,CAAA;IAClC,mEAAkC,CAAA;IAClC,yEAAwC,CAAA;IACxC,0EAAyC,CAAA;IACzC,mGAAkE,CAAA;IAClE,kEAAiC,CAAA;IACjC,wHAAuF,CAAA;IACvF,kEAAiC,CAAA;IACjC,+EAA8C,CAAA;IAC9C,+EAA8C,CAAA;IAC9C,4DAA2B,CAAA;IAC3B,yDAAwB,CAAA;IACxB,+EAA8C,CAAA;IAC9C,4DAA2B,CAAA;IAC3B,wDAAuB,CAAA;IACvB,4EAA2C,CAAA;IAC3C,mEAAkC,CAAA;IAClC,0GAAyE,CAAA;IACzE,sGAAqE,CAAA;IACrE,0EAAyC,CAAA;IACzC,6FAA4D,CAAA;IAC5D,+DAA8B,CAAA;IAC9B,4EAA2C,CAAA;IAC3C,kFAAiD,CAAA;IACjD,6FAA4D,CAAA;IAC5D,wFAAuD,CAAA;IACvD,4GAA2E,CAAA;IAC3E,yEAAwC,CAAA;IACxC,kGAAiE,CAAA;IACjE,0GAAyE,CAAA;IACzE,qFAAoD,CAAA;AACtD,CAAC,EAzEW,6BAA6B,6CAA7B,6BAA6B,QAyExC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipengine/connect-carrier-api",
|
|
3
|
-
"version": "4.10.
|
|
3
|
+
"version": "4.10.3",
|
|
4
4
|
"description": "This is the typescript/javascript definitions for carrier api",
|
|
5
5
|
"homepage": "https://connect.shipengine.com",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"tslib": "^2.6.2"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@shipengine/connect-runtime": "^4.6.
|
|
47
|
+
"@shipengine/connect-runtime": "^4.6.3",
|
|
48
48
|
"express": "^4.18.2",
|
|
49
49
|
"winston": "^3.8.2"
|
|
50
50
|
}
|
|
@@ -1,75 +1,75 @@
|
|
|
1
1
|
/** @description This represents the ShipEngine supported detail codes for a shipment. */
|
|
2
2
|
export enum StandardizedStatusDetailCodes {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
3
|
+
CollectionFailed = 'COLLECTION_FAILED',
|
|
4
|
+
AwaitingDespatch = 'AWAITING_DESPATCH',
|
|
5
|
+
CollectionRequested = 'COLLECTION_REQUESTED',
|
|
6
|
+
Despatched = 'DESPATCHED',
|
|
7
|
+
ElecAdviceRecdByCarrier = 'ELEC_ADVICE_RECD_BY_CARRIER',
|
|
8
|
+
NotYetReceivedByCarrier = 'NOT_YET_RECEIVED_BY_CARRIER',
|
|
9
|
+
AttemptedDelivery = 'ATTEMPTED_DELIVERY',
|
|
10
|
+
AttemptedDelivery2Nd = 'ATTEMPTED_DELIVERY_2ND',
|
|
11
|
+
AttemptedDelivery3Rd = 'ATTEMPTED_DELIVERY_3RD',
|
|
12
|
+
CodAmountNotPaid = 'COD_AMOUNT_NOT_PAID',
|
|
13
|
+
CodAmountPaid = 'COD_AMOUNT_PAID',
|
|
14
|
+
CustomerCarded = 'CUSTOMER_CARDED',
|
|
15
|
+
CustomerIdentificationFailed = 'CUSTOMER_IDENTIFICATION_FAILED',
|
|
16
|
+
InvalidMethodOfPayment = 'INVALID_METHOD_OF_PAYMENT',
|
|
17
|
+
NoAccessToRecipientsAddress = 'NO_ACCESS_TO_RECIPIENTS_ADDRESS',
|
|
18
|
+
OutForDelivery = 'OUT_FOR_DELIVERY',
|
|
19
|
+
Delivered = 'DELIVERED',
|
|
20
|
+
DeliveredDamaged = 'DELIVERED_DAMAGED',
|
|
21
|
+
DeliveredInPart = 'DELIVERED_IN_PART',
|
|
22
|
+
DeliveredSpecifiedSafePlace = 'DELIVERED_SPECIFIED_SAFE_PLACE',
|
|
23
|
+
DeliveredToAlternativeDeliveryLocation = 'DELIVERED_TO_ALTERNATIVE_DELIVERY_LOCATION',
|
|
24
|
+
DeliveredToNeighbour = 'DELIVERED_TO_NEIGHBOUR',
|
|
25
|
+
DeliveredToPoBox = 'DELIVERED_TO_PO_BOX',
|
|
26
|
+
ParcelCollectedFromPickupPoint = 'PARCEL_COLLECTED_FROM_PICKUP_POINT',
|
|
27
|
+
PostTransitStatus = 'POST_TRANSIT_STATUS',
|
|
28
|
+
ProofOfDelivery = 'PROOF_OF_DELIVERY',
|
|
29
|
+
Cancelled = 'CANCELLED',
|
|
30
|
+
CancelledBeforeDespatch = 'CANCELLED_BEFORE_DESPATCH',
|
|
31
|
+
CustomerMoved = 'CUSTOMER_MOVED',
|
|
32
|
+
HazardousProhibited = 'HAZARDOUS_PROHIBITED',
|
|
33
|
+
NotCollectedFromPickupPoint = 'NOT_COLLECTED_FROM_PICKUP_POINT',
|
|
34
|
+
NotDelivered = 'NOT_DELIVERED',
|
|
35
|
+
NotDeliveredAddresseeDeceased = 'NOT_DELIVERED_ADDRESSEE_DECEASED',
|
|
36
|
+
ParcelDamaged = 'PARCEL_DAMAGED',
|
|
37
|
+
ParcelDisposed = 'PARCEL_DISPOSED',
|
|
38
|
+
ParcelLost = 'PARCEL_LOST',
|
|
39
|
+
ParcelOutsideOfServiceCapability = 'PARCEL_OUTSIDE_OF_SERVICE_CAPABILITY',
|
|
40
|
+
RefusedByCustomer = 'REFUSED_BY_CUSTOMER',
|
|
41
|
+
ReturnToSender = 'RETURN_TO_SENDER',
|
|
42
|
+
AddressQuery = 'ADDRESS_QUERY',
|
|
43
|
+
CarrierDelays = 'CARRIER_DELAYS',
|
|
44
|
+
CollectionMade = 'COLLECTION_MADE',
|
|
45
|
+
CustomsCleared = 'CUSTOMS_CLEARED',
|
|
46
|
+
CustomsProcessing = 'CUSTOMS_PROCESSING',
|
|
47
|
+
DelayedNotCarrier = 'DELAYED_NOT_CARRIER',
|
|
48
|
+
DeliveryArrangedWithRecipient = 'DELIVERY_ARRANGED_WITH_RECIPIENT',
|
|
49
|
+
HeldByCarrier = 'HELD_BY_CARRIER',
|
|
50
|
+
HeldByCarrierForClearancePreProcessing = 'HELD_BY_CARRIER_FOR_CLEARANCE_PRE_PROCESSING',
|
|
51
|
+
HeldByCustoms = 'HELD_BY_CUSTOMS',
|
|
52
|
+
HeldByExportCustoms = 'HELD_BY_EXPORT_CUSTOMS',
|
|
53
|
+
HeldByImportCustoms = 'HELD_BY_IMPORT_CUSTOMS',
|
|
54
|
+
HubScanOut = 'HUB_SCAN_OUT',
|
|
55
|
+
InTransit = 'IN_TRANSIT',
|
|
56
|
+
IncorrectDeclaration = 'INCORRECT_DECLARATION',
|
|
57
|
+
Information = 'INFORMATION',
|
|
58
|
+
Missorted = 'MISSORTED',
|
|
59
|
+
ParcelOverLabelled = 'PARCEL_OVER_LABELLED',
|
|
60
|
+
ParcelRepacked = 'PARCEL_REPACKED',
|
|
61
|
+
ParcelUpdateNotificationViaEmail = 'PARCEL_UPDATE_NOTIFICATION_VIA_EMAIL',
|
|
62
|
+
ParcelUpdateNotificationViaSms = 'PARCEL_UPDATE_NOTIFICATION_VIA_SMS',
|
|
63
|
+
ReceivedByCarrier = 'RECEIVED_BY_CARRIER',
|
|
64
|
+
ReceivedLocalDeliveryDepot = 'RECEIVED_LOCAL_DELIVERY_DEPOT',
|
|
65
|
+
RoutingError = 'ROUTING_ERROR',
|
|
66
|
+
SubContractorEvent = 'SUB_CONTRACTOR_EVENT',
|
|
67
|
+
SubContractorReceived = 'SUB_CONTRACTOR_RECEIVED',
|
|
68
|
+
RecdByCarrierNoElecAdvice = 'RECD_BY_CARRIER_NO_ELEC_ADVICE',
|
|
69
|
+
AwaitingElectronicAdvice = 'AWAITING_ELECTRONIC_ADVICE',
|
|
70
|
+
AwaitingCollectionFromPickupPoint = 'AWAITING_COLLECTION_FROM_PICKUP_POINT',
|
|
71
|
+
CollectAtLocalPo = 'COLLECT_AT_LOCAL_PO',
|
|
72
|
+
CustomerToCollectFromCarrier = 'CUSTOMER_TO_COLLECT_FROM_CARRIER',
|
|
73
|
+
DeliveredToLockerCollectionPoint = 'DELIVERED_TO_LOCKER_COLLECTION_POINT',
|
|
74
|
+
CarrierStatusNotMapped = 'CARRIER_STATUS_NOT_MAPPED',
|
|
75
75
|
}
|