@chrt-inc/typescript-sdk 1.1013.0 → 1.1014.0
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/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightBookingSearchClientCreate1.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.d.ts +11 -3
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.js +39 -11
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesGetV1Request.d.ts +29 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesGetV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingClientCreate1.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientCreate1.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientUpdate1.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/requests/CargoClientUpdate1.d.ts +1 -0
- package/dist/cjs/api/types/Cargo1.d.ts +1 -0
- package/dist/cjs/api/types/CargoClientCreate1.d.ts +1 -0
- package/dist/cjs/api/types/CargoOnFlightBooking1.d.ts +1 -0
- package/dist/cjs/api/types/CargoOnFlightBookingAircraftBodyTypeEnum1.d.ts +10 -0
- package/dist/cjs/api/types/CargoOnFlightBookingAircraftBodyTypeEnum1.js +12 -0
- package/dist/cjs/api/types/CargoOnFlightBookingItinerary1.d.ts +2 -0
- package/dist/cjs/api/types/CargoOnFlightBookingItineraryLeg1.d.ts +3 -0
- package/dist/cjs/api/types/CargoOnFlightBookingRate1.d.ts +7 -0
- package/dist/cjs/api/types/CargoOnFlightBookingRateCharge1.d.ts +14 -0
- package/dist/cjs/api/types/CargoOnFlightBookingRateCharge1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSearch1.d.ts +1 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSearchResult1.d.ts +2 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSearchResultSortByEnum.d.ts +9 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSearchResultSortByEnum.js +11 -0
- package/dist/cjs/api/types/CargoOnFlightTaskActionEnum1.d.ts +3 -1
- package/dist/cjs/api/types/CargoOnFlightTaskActionEnum1.js +2 -0
- package/dist/cjs/api/types/OrderEventActionEnum1.d.ts +11 -1
- package/dist/cjs/api/types/OrderEventActionEnum1.js +10 -0
- package/dist/cjs/api/types/OrderEventEntity1.d.ts +2 -0
- package/dist/cjs/api/types/OrderEventSystemActorEnum1.d.ts +2 -1
- package/dist/cjs/api/types/OrderEventSystemActorEnum1.js +1 -0
- package/dist/cjs/api/types/OrderTemplateNewCargo1.d.ts +1 -0
- package/dist/cjs/api/types/SpecialHandlingCodeEnum1.d.ts +100 -0
- package/dist/cjs/api/types/SpecialHandlingCodeEnum1.js +102 -0
- package/dist/cjs/api/types/index.d.ts +4 -0
- package/dist/cjs/api/types/index.js +4 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightBookingSearchClientCreate1.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.d.mts +11 -3
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.mjs +39 -11
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesGetV1Request.d.mts +29 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesGetV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingClientCreate1.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientCreate1.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/requests/OrderTemplateNewCargoClientUpdate1.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/requests/CargoClientUpdate1.d.mts +1 -0
- package/dist/esm/api/types/Cargo1.d.mts +1 -0
- package/dist/esm/api/types/CargoClientCreate1.d.mts +1 -0
- package/dist/esm/api/types/CargoOnFlightBooking1.d.mts +1 -0
- package/dist/esm/api/types/CargoOnFlightBookingAircraftBodyTypeEnum1.d.mts +10 -0
- package/dist/esm/api/types/CargoOnFlightBookingAircraftBodyTypeEnum1.mjs +9 -0
- package/dist/esm/api/types/CargoOnFlightBookingItinerary1.d.mts +2 -0
- package/dist/esm/api/types/CargoOnFlightBookingItineraryLeg1.d.mts +3 -0
- package/dist/esm/api/types/CargoOnFlightBookingRate1.d.mts +7 -0
- package/dist/esm/api/types/CargoOnFlightBookingRateCharge1.d.mts +14 -0
- package/dist/esm/api/types/CargoOnFlightBookingRateCharge1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingSearch1.d.mts +1 -0
- package/dist/esm/api/types/CargoOnFlightBookingSearchResult1.d.mts +2 -0
- package/dist/esm/api/types/CargoOnFlightBookingSearchResultSortByEnum.d.mts +9 -0
- package/dist/esm/api/types/CargoOnFlightBookingSearchResultSortByEnum.mjs +8 -0
- package/dist/esm/api/types/CargoOnFlightTaskActionEnum1.d.mts +3 -1
- package/dist/esm/api/types/CargoOnFlightTaskActionEnum1.mjs +2 -0
- package/dist/esm/api/types/OrderEventActionEnum1.d.mts +11 -1
- package/dist/esm/api/types/OrderEventActionEnum1.mjs +10 -0
- package/dist/esm/api/types/OrderEventEntity1.d.mts +2 -0
- package/dist/esm/api/types/OrderEventSystemActorEnum1.d.mts +2 -1
- package/dist/esm/api/types/OrderEventSystemActorEnum1.mjs +1 -0
- package/dist/esm/api/types/OrderTemplateNewCargo1.d.mts +1 -0
- package/dist/esm/api/types/SpecialHandlingCodeEnum1.d.mts +100 -0
- package/dist/esm/api/types/SpecialHandlingCodeEnum1.mjs +99 -0
- package/dist/esm/api/types/index.d.mts +4 -0
- package/dist/esm/api/types/index.mjs +4 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +18 -3
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SpecialHandlingCodeEnum1 = void 0;
|
|
7
|
+
exports.SpecialHandlingCodeEnum1 = {
|
|
8
|
+
Act: "ACT",
|
|
9
|
+
Aog: "AOG",
|
|
10
|
+
Att: "ATT",
|
|
11
|
+
Avi: "AVI",
|
|
12
|
+
Big: "BIG",
|
|
13
|
+
Bup: "BUP",
|
|
14
|
+
Cao: "CAO",
|
|
15
|
+
Cat: "CAT",
|
|
16
|
+
Col: "COL",
|
|
17
|
+
Com: "COM",
|
|
18
|
+
Crt: "CRT",
|
|
19
|
+
Dip: "DIP",
|
|
20
|
+
Eap: "EAP",
|
|
21
|
+
Eat: "EAT",
|
|
22
|
+
Eaw: "EAW",
|
|
23
|
+
Ecc: "ECC",
|
|
24
|
+
Ecp: "ECP",
|
|
25
|
+
Eli: "ELI",
|
|
26
|
+
Elm: "ELM",
|
|
27
|
+
Emd: "EMD",
|
|
28
|
+
Ert: "ERT",
|
|
29
|
+
Fil: "FIL",
|
|
30
|
+
Fri: "FRI",
|
|
31
|
+
Fro: "FRO",
|
|
32
|
+
Goh: "GOH",
|
|
33
|
+
Hea: "HEA",
|
|
34
|
+
Heg: "HEG",
|
|
35
|
+
Hum: "HUM",
|
|
36
|
+
Ice: "ICE",
|
|
37
|
+
Lho: "LHO",
|
|
38
|
+
Lic: "LIC",
|
|
39
|
+
Mag: "MAG",
|
|
40
|
+
Mal: "MAL",
|
|
41
|
+
Muw: "MUW",
|
|
42
|
+
Nsc: "NSC",
|
|
43
|
+
Nwp: "NWP",
|
|
44
|
+
Obx: "OBX",
|
|
45
|
+
Ohg: "OHG",
|
|
46
|
+
Pac: "PAC",
|
|
47
|
+
Pea: "PEA",
|
|
48
|
+
Pef: "PEF",
|
|
49
|
+
Pem: "PEM",
|
|
50
|
+
Pep: "PEP",
|
|
51
|
+
Per: "PER",
|
|
52
|
+
Pes: "PES",
|
|
53
|
+
Pil: "PIL",
|
|
54
|
+
Pip: "PIP",
|
|
55
|
+
Qrt: "QRT",
|
|
56
|
+
Rac: "RAC",
|
|
57
|
+
Rbi: "RBI",
|
|
58
|
+
Rbm: "RBM",
|
|
59
|
+
Rcl: "RCL",
|
|
60
|
+
Rcm: "RCM",
|
|
61
|
+
Rcx: "RCX",
|
|
62
|
+
Rds: "RDS",
|
|
63
|
+
Req: "REQ",
|
|
64
|
+
Rex: "REX",
|
|
65
|
+
Rfg: "RFG",
|
|
66
|
+
Rfl: "RFL",
|
|
67
|
+
Rfs: "RFS",
|
|
68
|
+
Rfw: "RFW",
|
|
69
|
+
Rgx: "RGX",
|
|
70
|
+
Ris: "RIS",
|
|
71
|
+
Rli: "RLI",
|
|
72
|
+
Rlm: "RLM",
|
|
73
|
+
Rmd: "RMD",
|
|
74
|
+
Rng: "RNG",
|
|
75
|
+
Rop: "ROP",
|
|
76
|
+
Rox: "ROX",
|
|
77
|
+
Rpb: "RPB",
|
|
78
|
+
Rpg: "RPG",
|
|
79
|
+
Rre: "RRE",
|
|
80
|
+
Rrw: "RRW",
|
|
81
|
+
Rry: "RRY",
|
|
82
|
+
Rsb: "RSB",
|
|
83
|
+
Rsc: "RSC",
|
|
84
|
+
Rxb: "RXB",
|
|
85
|
+
Rxc: "RXC",
|
|
86
|
+
Rxd: "RXD",
|
|
87
|
+
Rxe: "RXE",
|
|
88
|
+
Rxg: "RXG",
|
|
89
|
+
Rxs: "RXS",
|
|
90
|
+
Sco: "SCO",
|
|
91
|
+
Shl: "SHL",
|
|
92
|
+
Shr: "SHR",
|
|
93
|
+
Spf: "SPF",
|
|
94
|
+
Spx: "SPX",
|
|
95
|
+
Sur: "SUR",
|
|
96
|
+
Swp: "SWP",
|
|
97
|
+
Val: "VAL",
|
|
98
|
+
Vol: "VOL",
|
|
99
|
+
Vun: "VUN",
|
|
100
|
+
Wet: "WET",
|
|
101
|
+
Xps: "XPS",
|
|
102
|
+
};
|
|
@@ -76,14 +76,17 @@ export * from "./CargoByDriverDataPointMetadata1.js";
|
|
|
76
76
|
export * from "./CargoByDriverSharingSettings1.js";
|
|
77
77
|
export * from "./CargoClientCreate1.js";
|
|
78
78
|
export * from "./CargoOnFlightBooking1.js";
|
|
79
|
+
export * from "./CargoOnFlightBookingAircraftBodyTypeEnum1.js";
|
|
79
80
|
export * from "./CargoOnFlightBookingCargoDimension1.js";
|
|
80
81
|
export * from "./CargoOnFlightBookingItinerary1.js";
|
|
81
82
|
export * from "./CargoOnFlightBookingItineraryLeg1.js";
|
|
82
83
|
export * from "./CargoOnFlightBookingListRes.js";
|
|
83
84
|
export * from "./CargoOnFlightBookingRate1.js";
|
|
85
|
+
export * from "./CargoOnFlightBookingRateCharge1.js";
|
|
84
86
|
export * from "./CargoOnFlightBookingSearch1.js";
|
|
85
87
|
export * from "./CargoOnFlightBookingSearchListRes.js";
|
|
86
88
|
export * from "./CargoOnFlightBookingSearchResult1.js";
|
|
89
|
+
export * from "./CargoOnFlightBookingSearchResultSortByEnum.js";
|
|
87
90
|
export * from "./CargoOnFlightBookingSearchSortByEnum.js";
|
|
88
91
|
export * from "./CargoOnFlightBookingSortByEnum.js";
|
|
89
92
|
export * from "./CargoOnFlightBookingStatusEnum1.js";
|
|
@@ -612,6 +615,7 @@ export * from "./ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.js";
|
|
|
612
615
|
export * from "./ShippingTaskSkippedWebhookPayload.js";
|
|
613
616
|
export * from "./ShippingTaskTaskArtifactCompletedWebhookPayload.js";
|
|
614
617
|
export * from "./SortOrderEnum.js";
|
|
618
|
+
export * from "./SpecialHandlingCodeEnum1.js";
|
|
615
619
|
export * from "./StartOfWeek.js";
|
|
616
620
|
export * from "./StationaryCluster.js";
|
|
617
621
|
export * from "./StoredModel.js";
|
|
@@ -92,14 +92,17 @@ __exportStar(require("./CargoByDriverDataPointMetadata1.js"), exports);
|
|
|
92
92
|
__exportStar(require("./CargoByDriverSharingSettings1.js"), exports);
|
|
93
93
|
__exportStar(require("./CargoClientCreate1.js"), exports);
|
|
94
94
|
__exportStar(require("./CargoOnFlightBooking1.js"), exports);
|
|
95
|
+
__exportStar(require("./CargoOnFlightBookingAircraftBodyTypeEnum1.js"), exports);
|
|
95
96
|
__exportStar(require("./CargoOnFlightBookingCargoDimension1.js"), exports);
|
|
96
97
|
__exportStar(require("./CargoOnFlightBookingItinerary1.js"), exports);
|
|
97
98
|
__exportStar(require("./CargoOnFlightBookingItineraryLeg1.js"), exports);
|
|
98
99
|
__exportStar(require("./CargoOnFlightBookingListRes.js"), exports);
|
|
99
100
|
__exportStar(require("./CargoOnFlightBookingRate1.js"), exports);
|
|
101
|
+
__exportStar(require("./CargoOnFlightBookingRateCharge1.js"), exports);
|
|
100
102
|
__exportStar(require("./CargoOnFlightBookingSearch1.js"), exports);
|
|
101
103
|
__exportStar(require("./CargoOnFlightBookingSearchListRes.js"), exports);
|
|
102
104
|
__exportStar(require("./CargoOnFlightBookingSearchResult1.js"), exports);
|
|
105
|
+
__exportStar(require("./CargoOnFlightBookingSearchResultSortByEnum.js"), exports);
|
|
103
106
|
__exportStar(require("./CargoOnFlightBookingSearchSortByEnum.js"), exports);
|
|
104
107
|
__exportStar(require("./CargoOnFlightBookingSortByEnum.js"), exports);
|
|
105
108
|
__exportStar(require("./CargoOnFlightBookingStatusEnum1.js"), exports);
|
|
@@ -628,6 +631,7 @@ __exportStar(require("./ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.js")
|
|
|
628
631
|
__exportStar(require("./ShippingTaskSkippedWebhookPayload.js"), exports);
|
|
629
632
|
__exportStar(require("./ShippingTaskTaskArtifactCompletedWebhookPayload.js"), exports);
|
|
630
633
|
__exportStar(require("./SortOrderEnum.js"), exports);
|
|
634
|
+
__exportStar(require("./SpecialHandlingCodeEnum1.js"), exports);
|
|
631
635
|
__exportStar(require("./StartOfWeek.js"), exports);
|
|
632
636
|
__exportStar(require("./StationaryCluster.js"), exports);
|
|
633
637
|
__exportStar(require("./StoredModel.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.1014.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -25,8 +25,8 @@ export class ChrtClient {
|
|
|
25
25
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
26
26
|
"X-Fern-Language": "JavaScript",
|
|
27
27
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
28
|
-
"X-Fern-SDK-Version": "1.
|
|
29
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
28
|
+
"X-Fern-SDK-Version": "1.1014.0",
|
|
29
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.1014.0",
|
|
30
30
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
31
31
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
32
32
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.d.mts
CHANGED
|
@@ -52,17 +52,25 @@ export declare class CargoOnFlightBookingSearches {
|
|
|
52
52
|
listV1(request: Chrt.shipping.CargoOnFlightBookingSearchesListV1Request, requestOptions?: CargoOnFlightBookingSearches.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightBookingSearchListRes>;
|
|
53
53
|
private __listV1;
|
|
54
54
|
/**
|
|
55
|
-
* Retrieves a cargo-on-flight booking search with its results. | authz_personas=[task_group_coordinator_operators] | () -> (CargoOnFlightBookingSearch1)
|
|
55
|
+
* Retrieves a cargo-on-flight booking search with its results, optionally filtered and sorted. | authz_personas=[task_group_coordinator_operators] | () -> (CargoOnFlightBookingSearch1)
|
|
56
56
|
*
|
|
57
57
|
* @param {string} cargoOnFlightBookingSearchId
|
|
58
|
+
* @param {Chrt.shipping.CargoOnFlightBookingSearchesGetV1Request} request
|
|
58
59
|
* @param {CargoOnFlightBookingSearches.RequestOptions} requestOptions - Request-specific configuration.
|
|
59
60
|
*
|
|
60
61
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
61
62
|
*
|
|
62
63
|
* @example
|
|
63
|
-
* await client.shipping.cargoOnFlightBookingSearches.getV1("cargo_on_flight_booking_search_id"
|
|
64
|
+
* await client.shipping.cargoOnFlightBookingSearches.getV1("cargo_on_flight_booking_search_id", {
|
|
65
|
+
* filter_bookable: true,
|
|
66
|
+
* filter_awb_required: true,
|
|
67
|
+
* filter_aircraft_body_type: "widebody",
|
|
68
|
+
* filter_currency_code: "filter_currency_code",
|
|
69
|
+
* sort_by: "departure",
|
|
70
|
+
* sort_order: "asc"
|
|
71
|
+
* })
|
|
64
72
|
*/
|
|
65
|
-
getV1(cargoOnFlightBookingSearchId: string, requestOptions?: CargoOnFlightBookingSearches.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightBookingSearch1>;
|
|
73
|
+
getV1(cargoOnFlightBookingSearchId: string, request?: Chrt.shipping.CargoOnFlightBookingSearchesGetV1Request, requestOptions?: CargoOnFlightBookingSearches.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightBookingSearch1>;
|
|
66
74
|
private __getV1;
|
|
67
75
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
68
76
|
}
|
package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.mjs
CHANGED
|
@@ -111,28 +111,56 @@ export class CargoOnFlightBookingSearches {
|
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
|
-
* Retrieves a cargo-on-flight booking search with its results. | authz_personas=[task_group_coordinator_operators] | () -> (CargoOnFlightBookingSearch1)
|
|
114
|
+
* Retrieves a cargo-on-flight booking search with its results, optionally filtered and sorted. | authz_personas=[task_group_coordinator_operators] | () -> (CargoOnFlightBookingSearch1)
|
|
115
115
|
*
|
|
116
116
|
* @param {string} cargoOnFlightBookingSearchId
|
|
117
|
+
* @param {Chrt.shipping.CargoOnFlightBookingSearchesGetV1Request} request
|
|
117
118
|
* @param {CargoOnFlightBookingSearches.RequestOptions} requestOptions - Request-specific configuration.
|
|
118
119
|
*
|
|
119
120
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
120
121
|
*
|
|
121
122
|
* @example
|
|
122
|
-
* await client.shipping.cargoOnFlightBookingSearches.getV1("cargo_on_flight_booking_search_id"
|
|
123
|
+
* await client.shipping.cargoOnFlightBookingSearches.getV1("cargo_on_flight_booking_search_id", {
|
|
124
|
+
* filter_bookable: true,
|
|
125
|
+
* filter_awb_required: true,
|
|
126
|
+
* filter_aircraft_body_type: "widebody",
|
|
127
|
+
* filter_currency_code: "filter_currency_code",
|
|
128
|
+
* sort_by: "departure",
|
|
129
|
+
* sort_order: "asc"
|
|
130
|
+
* })
|
|
123
131
|
*/
|
|
124
|
-
getV1(cargoOnFlightBookingSearchId, requestOptions) {
|
|
125
|
-
return core.HttpResponsePromise.fromPromise(this.__getV1(cargoOnFlightBookingSearchId, requestOptions));
|
|
132
|
+
getV1(cargoOnFlightBookingSearchId, request = {}, requestOptions) {
|
|
133
|
+
return core.HttpResponsePromise.fromPromise(this.__getV1(cargoOnFlightBookingSearchId, request, requestOptions));
|
|
126
134
|
}
|
|
127
|
-
__getV1(
|
|
128
|
-
return __awaiter(this,
|
|
129
|
-
var _a, _b, _c, _d;
|
|
130
|
-
|
|
131
|
-
const
|
|
132
|
-
|
|
135
|
+
__getV1(cargoOnFlightBookingSearchId_1) {
|
|
136
|
+
return __awaiter(this, arguments, void 0, function* (cargoOnFlightBookingSearchId, request = {}, requestOptions) {
|
|
137
|
+
var _a, _b, _c, _d, _e, _f;
|
|
138
|
+
const { filter_bookable: filterBookable, filter_awb_required: filterAwbRequired, filter_aircraft_body_type: filterAircraftBodyType, filter_currency_code: filterCurrencyCode, sort_by: sortBy, sort_order: sortOrder, } = request;
|
|
139
|
+
const _queryParams = {};
|
|
140
|
+
if (filterBookable !== undefined) {
|
|
141
|
+
_queryParams["filter_bookable"] = (_a = filterBookable === null || filterBookable === void 0 ? void 0 : filterBookable.toString()) !== null && _a !== void 0 ? _a : null;
|
|
142
|
+
}
|
|
143
|
+
if (filterAwbRequired !== undefined) {
|
|
144
|
+
_queryParams["filter_awb_required"] = (_b = filterAwbRequired === null || filterAwbRequired === void 0 ? void 0 : filterAwbRequired.toString()) !== null && _b !== void 0 ? _b : null;
|
|
145
|
+
}
|
|
146
|
+
if (filterAircraftBodyType !== undefined) {
|
|
147
|
+
_queryParams["filter_aircraft_body_type"] = filterAircraftBodyType;
|
|
148
|
+
}
|
|
149
|
+
if (filterCurrencyCode !== undefined) {
|
|
150
|
+
_queryParams["filter_currency_code"] = filterCurrencyCode;
|
|
151
|
+
}
|
|
152
|
+
if (sortBy !== undefined) {
|
|
153
|
+
_queryParams["sort_by"] = sortBy;
|
|
154
|
+
}
|
|
155
|
+
if (sortOrder !== undefined) {
|
|
156
|
+
_queryParams["sort_order"] = sortOrder;
|
|
157
|
+
}
|
|
158
|
+
let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
159
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
160
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, `shipping/cargo_on_flight_booking_searches/v1/${encodeURIComponent(cargoOnFlightBookingSearchId)}`),
|
|
133
161
|
method: "GET",
|
|
134
162
|
headers: _headers,
|
|
135
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
163
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
136
164
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
137
165
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
138
166
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* filter_bookable: true,
|
|
9
|
+
* filter_awb_required: true,
|
|
10
|
+
* filter_aircraft_body_type: "widebody",
|
|
11
|
+
* filter_currency_code: "filter_currency_code",
|
|
12
|
+
* sort_by: "departure",
|
|
13
|
+
* sort_order: "asc"
|
|
14
|
+
* }
|
|
15
|
+
*/
|
|
16
|
+
export interface CargoOnFlightBookingSearchesGetV1Request {
|
|
17
|
+
/** Filter results the integration accepts through its API. */
|
|
18
|
+
filter_bookable?: boolean | null;
|
|
19
|
+
/** Filter results that need the user's own AWB. */
|
|
20
|
+
filter_awb_required?: boolean | null;
|
|
21
|
+
/** Filter results whose every flown leg is on this body type. */
|
|
22
|
+
filter_aircraft_body_type?: Chrt.CargoOnFlightBookingAircraftBodyTypeEnum1 | null;
|
|
23
|
+
/** Keep only rates in this currency, and results with one. */
|
|
24
|
+
filter_currency_code?: string | null;
|
|
25
|
+
/** Field to sort results by; price needs filter_currency_code. */
|
|
26
|
+
sort_by?: Chrt.CargoOnFlightBookingSearchResultSortByEnum | null;
|
|
27
|
+
/** Sort order. */
|
|
28
|
+
sort_order?: Chrt.SortOrderEnum | null;
|
|
29
|
+
}
|
|
@@ -18,6 +18,7 @@ export interface OrderTemplateNewCargoClientCreate1 {
|
|
|
18
18
|
length_inches?: number | null;
|
|
19
19
|
quantity?: number | null;
|
|
20
20
|
schema_version?: number;
|
|
21
|
+
special_handling_codes?: Chrt.SpecialHandlingCodeEnum1[];
|
|
21
22
|
stackable?: boolean | null;
|
|
22
23
|
turnable?: boolean | null;
|
|
23
24
|
weight_pounds?: number | null;
|
|
@@ -21,6 +21,7 @@ export interface OrderTemplateNewCargoClientUpdate1 {
|
|
|
21
21
|
length_inches__set_to_None?: boolean;
|
|
22
22
|
quantity?: number | null;
|
|
23
23
|
quantity__set_to_None?: boolean;
|
|
24
|
+
special_handling_codes?: Chrt.SpecialHandlingCodeEnum1[];
|
|
24
25
|
stackable?: boolean | null;
|
|
25
26
|
stackable__set_to_None?: boolean;
|
|
26
27
|
turnable?: boolean | null;
|
|
@@ -21,6 +21,7 @@ export interface CargoClientUpdate1 {
|
|
|
21
21
|
length_inches__set_to_None?: boolean;
|
|
22
22
|
quantity?: number | null;
|
|
23
23
|
quantity__set_to_None?: boolean;
|
|
24
|
+
special_handling_codes?: Chrt.SpecialHandlingCodeEnum1[];
|
|
24
25
|
stackable?: boolean | null;
|
|
25
26
|
stackable__set_to_None?: boolean;
|
|
26
27
|
turnable?: boolean | null;
|
|
@@ -27,6 +27,7 @@ export interface Cargo1 {
|
|
|
27
27
|
quantity?: number | null;
|
|
28
28
|
schema_version: number;
|
|
29
29
|
skipped_at_timestamp?: string | null;
|
|
30
|
+
special_handling_codes?: Chrt.SpecialHandlingCodeEnum1[];
|
|
30
31
|
stackable?: boolean | null;
|
|
31
32
|
staged_at_timestamp?: string | null;
|
|
32
33
|
status?: Chrt.CargoStatusEnum1;
|
|
@@ -12,6 +12,7 @@ export interface CargoClientCreate1 {
|
|
|
12
12
|
length_inches?: number | null;
|
|
13
13
|
quantity?: number | null;
|
|
14
14
|
schema_version: number;
|
|
15
|
+
special_handling_codes?: Chrt.SpecialHandlingCodeEnum1[];
|
|
15
16
|
stackable?: boolean | null;
|
|
16
17
|
turnable?: boolean | null;
|
|
17
18
|
weight_pounds?: number | null;
|
|
@@ -29,6 +29,7 @@ export interface CargoOnFlightBooking1 {
|
|
|
29
29
|
rejected_at_timestamp?: string | null;
|
|
30
30
|
requested_at_timestamp?: string | null;
|
|
31
31
|
schema_version: number;
|
|
32
|
+
special_handling_codes?: Chrt.SpecialHandlingCodeEnum1[];
|
|
32
33
|
status: Chrt.CargoOnFlightBookingStatusEnum1;
|
|
33
34
|
task_group_id: string;
|
|
34
35
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CargoOnFlightBookingAircraftBodyTypeEnum1 = "widebody" | "narrowbody" | "freighter" | "unknown";
|
|
5
|
+
export declare const CargoOnFlightBookingAircraftBodyTypeEnum1: {
|
|
6
|
+
readonly Widebody: "widebody";
|
|
7
|
+
readonly Narrowbody: "narrowbody";
|
|
8
|
+
readonly Freighter: "freighter";
|
|
9
|
+
readonly Unknown: "unknown";
|
|
10
|
+
};
|
|
@@ -9,5 +9,7 @@ export interface CargoOnFlightBookingItinerary1 {
|
|
|
9
9
|
carrier_iata: string;
|
|
10
10
|
latest_acceptance_utc?: string | null;
|
|
11
11
|
legs?: Chrt.CargoOnFlightBookingItineraryLeg1[];
|
|
12
|
+
origin_ground_handling_agent_address?: string | null;
|
|
13
|
+
origin_ground_handling_agent_name?: string | null;
|
|
12
14
|
time_of_availability_utc?: string | null;
|
|
13
15
|
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
4
5
|
/**
|
|
5
6
|
* One leg of an itinerary: a flight, or a road feeder truck (`surface_transport`).
|
|
6
7
|
*/
|
|
7
8
|
export interface CargoOnFlightBookingItineraryLeg1 {
|
|
9
|
+
aircraft_body_type?: Chrt.CargoOnFlightBookingAircraftBodyTypeEnum1;
|
|
8
10
|
carrier_iata: string;
|
|
9
11
|
destination_iata: string;
|
|
10
12
|
flight_number: string;
|
|
13
|
+
integration_body_type?: string | null;
|
|
11
14
|
origin_iata: string;
|
|
12
15
|
scheduled_arrival_utc: string;
|
|
13
16
|
scheduled_departure_utc: string;
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
4
5
|
/**
|
|
5
6
|
* A price quoted for a shipment: one of a search result's rates, or the price a MANUAL booking was quoted.
|
|
6
7
|
*/
|
|
7
8
|
export interface CargoOnFlightBookingRate1 {
|
|
9
|
+
all_in_rate_per_kilogram?: number | null;
|
|
10
|
+
chargeable_weight_kilograms?: number | null;
|
|
11
|
+
charges?: Chrt.CargoOnFlightBookingRateCharge1[];
|
|
8
12
|
currency_code: string;
|
|
9
13
|
integration_rate_id?: string | null;
|
|
14
|
+
net_rate_per_kilogram?: number | null;
|
|
15
|
+
other_charges_due_carrier?: Chrt.CargoOnFlightBookingRateCharge1[];
|
|
10
16
|
rate_name?: string | null;
|
|
17
|
+
special_handling_codes?: string[];
|
|
11
18
|
total_amount: number;
|
|
12
19
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* One charge in a rate's breakdown, priced per `basis` unit in the rate's currency.
|
|
6
|
+
*/
|
|
7
|
+
export interface CargoOnFlightBookingRateCharge1 {
|
|
8
|
+
basis: string;
|
|
9
|
+
code?: string | null;
|
|
10
|
+
label: string;
|
|
11
|
+
maximum_amount?: number | null;
|
|
12
|
+
minimum_amount?: number | null;
|
|
13
|
+
rate: number;
|
|
14
|
+
}
|
|
@@ -15,6 +15,7 @@ export interface CargoOnFlightBookingSearch1 {
|
|
|
15
15
|
earliest_departure_date: string;
|
|
16
16
|
iata_cass_office_id: string;
|
|
17
17
|
integration_search_id: string;
|
|
18
|
+
offset_days?: number;
|
|
18
19
|
origin_iata: string;
|
|
19
20
|
results?: Chrt.CargoOnFlightBookingSearchResult1[];
|
|
20
21
|
schema_version: number;
|
|
@@ -11,6 +11,8 @@ export interface CargoOnFlightBookingSearchResult1 {
|
|
|
11
11
|
latest_acceptance_utc?: string | null;
|
|
12
12
|
legs?: Chrt.CargoOnFlightBookingItineraryLeg1[];
|
|
13
13
|
not_bookable_reason?: string | null;
|
|
14
|
+
origin_ground_handling_agent_address?: string | null;
|
|
15
|
+
origin_ground_handling_agent_name?: string | null;
|
|
14
16
|
rates?: Chrt.CargoOnFlightBookingRate1[];
|
|
15
17
|
time_of_availability_utc?: string | null;
|
|
16
18
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CargoOnFlightBookingSearchResultSortByEnum = "departure" | "latest_acceptance" | "price";
|
|
5
|
+
export declare const CargoOnFlightBookingSearchResultSortByEnum: {
|
|
6
|
+
readonly Departure: "departure";
|
|
7
|
+
readonly LatestAcceptance: "latest_acceptance";
|
|
8
|
+
readonly Price: "price";
|
|
9
|
+
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type CargoOnFlightTaskActionEnum1 = "cargo_on_flight__cargo_received_by_airline" | "cargo_on_flight__cargo_loaded_onto_flight" | "cargo_on_flight__flight_departed" | "cargo_on_flight__flight_arrived" | "cargo_on_flight__cargo_offloaded_from_flight" | "cargo_on_flight__cargo_cleared_customs" | "cargo_on_flight__cargo_ready_for_recovery";
|
|
4
|
+
export type CargoOnFlightTaskActionEnum1 = "cargo_on_flight__cargo_received_by_airline" | "cargo_on_flight__cargo_manifested" | "cargo_on_flight__cargo_loaded_onto_flight" | "cargo_on_flight__flight_departed" | "cargo_on_flight__flight_arrived" | "cargo_on_flight__cargo_offloaded_from_flight" | "cargo_on_flight__cargo_cleared_customs" | "cargo_on_flight__cargo_ready_for_recovery" | "cargo_on_flight__cargo_recovered";
|
|
5
5
|
export declare const CargoOnFlightTaskActionEnum1: {
|
|
6
6
|
readonly CargoOnFlightCargoReceivedByAirline: "cargo_on_flight__cargo_received_by_airline";
|
|
7
|
+
readonly CargoOnFlightCargoManifested: "cargo_on_flight__cargo_manifested";
|
|
7
8
|
readonly CargoOnFlightCargoLoadedOntoFlight: "cargo_on_flight__cargo_loaded_onto_flight";
|
|
8
9
|
readonly CargoOnFlightFlightDeparted: "cargo_on_flight__flight_departed";
|
|
9
10
|
readonly CargoOnFlightFlightArrived: "cargo_on_flight__flight_arrived";
|
|
10
11
|
readonly CargoOnFlightCargoOffloadedFromFlight: "cargo_on_flight__cargo_offloaded_from_flight";
|
|
11
12
|
readonly CargoOnFlightCargoClearedCustoms: "cargo_on_flight__cargo_cleared_customs";
|
|
12
13
|
readonly CargoOnFlightCargoReadyForRecovery: "cargo_on_flight__cargo_ready_for_recovery";
|
|
14
|
+
readonly CargoOnFlightCargoRecovered: "cargo_on_flight__cargo_recovered";
|
|
13
15
|
};
|
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const CargoOnFlightTaskActionEnum1 = {
|
|
5
5
|
CargoOnFlightCargoReceivedByAirline: "cargo_on_flight__cargo_received_by_airline",
|
|
6
|
+
CargoOnFlightCargoManifested: "cargo_on_flight__cargo_manifested",
|
|
6
7
|
CargoOnFlightCargoLoadedOntoFlight: "cargo_on_flight__cargo_loaded_onto_flight",
|
|
7
8
|
CargoOnFlightFlightDeparted: "cargo_on_flight__flight_departed",
|
|
8
9
|
CargoOnFlightFlightArrived: "cargo_on_flight__flight_arrived",
|
|
9
10
|
CargoOnFlightCargoOffloadedFromFlight: "cargo_on_flight__cargo_offloaded_from_flight",
|
|
10
11
|
CargoOnFlightCargoClearedCustoms: "cargo_on_flight__cargo_cleared_customs",
|
|
11
12
|
CargoOnFlightCargoReadyForRecovery: "cargo_on_flight__cargo_ready_for_recovery",
|
|
13
|
+
CargoOnFlightCargoRecovered: "cargo_on_flight__cargo_recovered",
|
|
12
14
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Canonical vocabulary for shipping order-event and notification actions.
|
|
6
6
|
*/
|
|
7
|
-
export type OrderEventActionEnum1 = "shipping.order.draft_started" | "shipping.order.staged" | "shipping.order.in_progress" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.order.exception" | "shipping.order.updated" | "shipping.order.deleted" | "shipping.task_group.added" | "shipping.task_group.staged" | "shipping.task_group.provider_assigned" | "shipping.task_group.driver_assigned" | "shipping.task_group.driver_unassigned" | "shipping.task_group.in_progress" | "shipping.task_group.completed" | "shipping.task_group.skipped" | "shipping.task_group.cancelled" | "shipping.task_group.exception" | "shipping.task_group.message" | "shipping.task_group.file_added" | "shipping.task_group.file_deleted" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task_group.vehicle_type_updated" | "shipping.task_group.ordering_updated" | "shipping.task_group.deleted" | "shipping.task.added" | "shipping.task.staged" | "shipping.task.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.cancelled" | "shipping.task.exception" | "shipping.task.wait_time_started" | "shipping.task.wait_time_ended" | "shipping.task.wait_time_validated" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "shipping.task.updated" | "shipping.task.deleted" | "shipping.cargo.added" | "shipping.cargo.staged" | "shipping.cargo.in_transit" | "shipping.cargo.delivered" | "shipping.cargo.skipped" | "shipping.cargo.cancelled" | "shipping.cargo.exception" | "shipping.cargo.device_linked" | "shipping.cargo.device_unlinked" | "shipping.cargo.associated" | "shipping.cargo.unassociated" | "shipping.cargo.updated" | "shipping.cargo.deleted" | "shipping.task_artifact.added" | "shipping.task_artifact.completed" | "shipping.task_artifact.updated" | "shipping.task_artifact.file_added" | "shipping.task_artifact.file_deleted" | "shipping.task_artifact.deleted" | "shipping.account.associated" | "shipping.account.removed" | "shipping.contact.associated" | "shipping.contact.removed";
|
|
7
|
+
export type OrderEventActionEnum1 = "shipping.order.draft_started" | "shipping.order.staged" | "shipping.order.in_progress" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.order.exception" | "shipping.order.updated" | "shipping.order.deleted" | "shipping.task_group.added" | "shipping.task_group.staged" | "shipping.task_group.provider_assigned" | "shipping.task_group.driver_assigned" | "shipping.task_group.driver_unassigned" | "shipping.task_group.in_progress" | "shipping.task_group.completed" | "shipping.task_group.skipped" | "shipping.task_group.cancelled" | "shipping.task_group.exception" | "shipping.task_group.message" | "shipping.task_group.file_added" | "shipping.task_group.file_deleted" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task_group.vehicle_type_updated" | "shipping.task_group.ordering_updated" | "shipping.task_group.deleted" | "shipping.task.added" | "shipping.task.staged" | "shipping.task.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.cancelled" | "shipping.task.exception" | "shipping.task.wait_time_started" | "shipping.task.wait_time_ended" | "shipping.task.wait_time_validated" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "shipping.task.updated" | "shipping.task.deleted" | "shipping.cargo.added" | "shipping.cargo.staged" | "shipping.cargo.in_transit" | "shipping.cargo.delivered" | "shipping.cargo.skipped" | "shipping.cargo.cancelled" | "shipping.cargo.exception" | "shipping.cargo.device_linked" | "shipping.cargo.device_unlinked" | "shipping.cargo.associated" | "shipping.cargo.unassociated" | "shipping.cargo.updated" | "shipping.cargo.deleted" | "shipping.cargo_on_flight_booking.draft_started" | "shipping.cargo_on_flight_booking.searched" | "shipping.cargo_on_flight_booking.requested" | "shipping.cargo_on_flight_booking.confirmed" | "shipping.cargo_on_flight_booking.rejected" | "shipping.cargo_on_flight_booking.failed" | "shipping.cargo_on_flight_booking.cancellation_requested" | "shipping.cargo_on_flight_booking.cancelled" | "shipping.cargo_on_flight_booking.updated" | "shipping.cargo_on_flight_booking.deleted" | "shipping.task_artifact.added" | "shipping.task_artifact.completed" | "shipping.task_artifact.updated" | "shipping.task_artifact.file_added" | "shipping.task_artifact.file_deleted" | "shipping.task_artifact.deleted" | "shipping.account.associated" | "shipping.account.removed" | "shipping.contact.associated" | "shipping.contact.removed";
|
|
8
8
|
export declare const OrderEventActionEnum1: {
|
|
9
9
|
readonly ShippingOrderDraftStarted: "shipping.order.draft_started";
|
|
10
10
|
readonly ShippingOrderStaged: "shipping.order.staged";
|
|
@@ -59,6 +59,16 @@ export declare const OrderEventActionEnum1: {
|
|
|
59
59
|
readonly ShippingCargoUnassociated: "shipping.cargo.unassociated";
|
|
60
60
|
readonly ShippingCargoUpdated: "shipping.cargo.updated";
|
|
61
61
|
readonly ShippingCargoDeleted: "shipping.cargo.deleted";
|
|
62
|
+
readonly ShippingCargoOnFlightBookingDraftStarted: "shipping.cargo_on_flight_booking.draft_started";
|
|
63
|
+
readonly ShippingCargoOnFlightBookingSearched: "shipping.cargo_on_flight_booking.searched";
|
|
64
|
+
readonly ShippingCargoOnFlightBookingRequested: "shipping.cargo_on_flight_booking.requested";
|
|
65
|
+
readonly ShippingCargoOnFlightBookingConfirmed: "shipping.cargo_on_flight_booking.confirmed";
|
|
66
|
+
readonly ShippingCargoOnFlightBookingRejected: "shipping.cargo_on_flight_booking.rejected";
|
|
67
|
+
readonly ShippingCargoOnFlightBookingFailed: "shipping.cargo_on_flight_booking.failed";
|
|
68
|
+
readonly ShippingCargoOnFlightBookingCancellationRequested: "shipping.cargo_on_flight_booking.cancellation_requested";
|
|
69
|
+
readonly ShippingCargoOnFlightBookingCancelled: "shipping.cargo_on_flight_booking.cancelled";
|
|
70
|
+
readonly ShippingCargoOnFlightBookingUpdated: "shipping.cargo_on_flight_booking.updated";
|
|
71
|
+
readonly ShippingCargoOnFlightBookingDeleted: "shipping.cargo_on_flight_booking.deleted";
|
|
62
72
|
readonly ShippingTaskArtifactAdded: "shipping.task_artifact.added";
|
|
63
73
|
readonly ShippingTaskArtifactCompleted: "shipping.task_artifact.completed";
|
|
64
74
|
readonly ShippingTaskArtifactUpdated: "shipping.task_artifact.updated";
|
|
@@ -55,6 +55,16 @@ export const OrderEventActionEnum1 = {
|
|
|
55
55
|
ShippingCargoUnassociated: "shipping.cargo.unassociated",
|
|
56
56
|
ShippingCargoUpdated: "shipping.cargo.updated",
|
|
57
57
|
ShippingCargoDeleted: "shipping.cargo.deleted",
|
|
58
|
+
ShippingCargoOnFlightBookingDraftStarted: "shipping.cargo_on_flight_booking.draft_started",
|
|
59
|
+
ShippingCargoOnFlightBookingSearched: "shipping.cargo_on_flight_booking.searched",
|
|
60
|
+
ShippingCargoOnFlightBookingRequested: "shipping.cargo_on_flight_booking.requested",
|
|
61
|
+
ShippingCargoOnFlightBookingConfirmed: "shipping.cargo_on_flight_booking.confirmed",
|
|
62
|
+
ShippingCargoOnFlightBookingRejected: "shipping.cargo_on_flight_booking.rejected",
|
|
63
|
+
ShippingCargoOnFlightBookingFailed: "shipping.cargo_on_flight_booking.failed",
|
|
64
|
+
ShippingCargoOnFlightBookingCancellationRequested: "shipping.cargo_on_flight_booking.cancellation_requested",
|
|
65
|
+
ShippingCargoOnFlightBookingCancelled: "shipping.cargo_on_flight_booking.cancelled",
|
|
66
|
+
ShippingCargoOnFlightBookingUpdated: "shipping.cargo_on_flight_booking.updated",
|
|
67
|
+
ShippingCargoOnFlightBookingDeleted: "shipping.cargo_on_flight_booking.deleted",
|
|
58
68
|
ShippingTaskArtifactAdded: "shipping.task_artifact.added",
|
|
59
69
|
ShippingTaskArtifactCompleted: "shipping.task_artifact.completed",
|
|
60
70
|
ShippingTaskArtifactUpdated: "shipping.task_artifact.updated",
|
|
@@ -5,6 +5,8 @@ import * as Chrt from "../index.mjs";
|
|
|
5
5
|
export interface OrderEventEntity1 {
|
|
6
6
|
account?: Chrt.Account1 | null;
|
|
7
7
|
cargo?: Chrt.Cargo1 | null;
|
|
8
|
+
cargo_on_flight_booking?: Chrt.CargoOnFlightBooking1 | null;
|
|
9
|
+
cargo_on_flight_booking_search?: Chrt.CargoOnFlightBookingSearch1 | null;
|
|
8
10
|
contact?: Chrt.Contact1 | null;
|
|
9
11
|
modification?: Record<string, unknown> | null;
|
|
10
12
|
order?: Chrt.Order1 | null;
|