@chrt-inc/typescript-sdk 1.1011.0 → 1.1013.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.d.ts +3 -0
- package/dist/cjs/Client.js +25 -20
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/client/Client.d.ts +23 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/client/Client.js +17 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/client/index.js +2 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/index.d.ts +2 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/index.js +18 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.d.ts +114 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.js +387 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/index.js +17 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightBookingSearchClientCreate1.d.ts +20 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightBookingSearchClientCreate1.js +5 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiBookReq.d.ts +18 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiBookReq.js +5 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiCancelReq.d.ts +12 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiCancelReq.js +5 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/index.d.ts +1 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/index.js +17 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/index.js +41 -0
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/client/Client.js +11 -6
- package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/Client.d.ts +93 -0
- package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/Client.js +331 -0
- package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/index.js +17 -0
- package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficeClientUpdate1.d.ts +13 -0
- package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficeClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficesListV1Request.d.ts +24 -0
- package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficesListV1Request.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/iataCassOffices/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/orgs/resources/iataCassOffices/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/iataCassOffices/index.js +17 -0
- package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
- package/dist/cjs/api/resources/shipping/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/shipping/client/Client.js +24 -14
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.d.ts +68 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.js +218 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesListV1Request.d.ts +30 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesListV1Request.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/cargoOnFlightBookingSearches/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookingSearches/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/Client.d.ts +120 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/Client.js +416 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingClientCreate1.d.ts +31 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingsListV1Request.d.ts +33 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingsListV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightBookings/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/index.js +5 -1
- package/dist/cjs/api/types/CargoOnFlightBooking1.d.ts +34 -0
- package/dist/cjs/api/types/CargoOnFlightBooking1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightBookingCargoDimension1.d.ts +15 -0
- package/dist/cjs/api/types/CargoOnFlightBookingCargoDimension1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightBookingItinerary1.d.ts +13 -0
- package/dist/cjs/api/types/CargoOnFlightBookingItinerary1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightBookingItineraryLeg1.d.ts +15 -0
- package/dist/cjs/api/types/CargoOnFlightBookingItineraryLeg1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightBookingListRes.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightBookingListRes.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightBookingRate1.d.ts +12 -0
- package/dist/cjs/api/types/CargoOnFlightBookingRate1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSearch1.d.ts +23 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSearch1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSearchListRes.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSearchListRes.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSearchResult1.d.ts +16 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSearchResult1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSearchSortByEnum.d.ts +4 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSearchSortByEnum.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSortByEnum.d.ts +4 -0
- package/dist/cjs/api/types/CargoOnFlightBookingSortByEnum.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightBookingStatusEnum1.d.ts +13 -0
- package/dist/cjs/api/types/CargoOnFlightBookingStatusEnum1.js +15 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationEnum1.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationEnum1.js +10 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiWebhookRes.d.ts +6 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiWebhookRes.js +5 -0
- package/dist/cjs/api/types/FlightLegProvenanceEnum1.d.ts +2 -1
- package/dist/cjs/api/types/FlightLegProvenanceEnum1.js +1 -0
- package/dist/cjs/api/types/IataCassOffice1.d.ts +22 -0
- package/dist/cjs/api/types/IataCassOffice1.js +5 -0
- package/dist/cjs/api/types/IataCassOfficeListRes.d.ts +8 -0
- package/dist/cjs/api/types/IataCassOfficeListRes.js +5 -0
- package/dist/cjs/api/types/IataCassOfficeSortByEnum.d.ts +8 -0
- package/dist/cjs/api/types/IataCassOfficeSortByEnum.js +10 -0
- package/dist/cjs/api/types/index.d.ts +17 -0
- package/dist/cjs/api/types/index.js +17 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +7 -2
- package/dist/esm/api/resources/cargoOnFlightIntegrations/client/Client.d.mts +23 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/client/Client.mjs +13 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/client/index.mjs +1 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/index.d.mts +2 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/index.mjs +2 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.d.mts +114 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.mjs +350 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/index.d.mts +2 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/index.mjs +1 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightBookingSearchClientCreate1.d.mts +20 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightBookingSearchClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiBookReq.d.mts +18 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiBookReq.mjs +4 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiCancelReq.d.mts +12 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiCancelReq.mjs +4 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/index.d.mts +1 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/index.mjs +1 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/index.mjs +2 -0
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/orgs/client/Client.mjs +5 -0
- package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/Client.d.mts +93 -0
- package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/Client.mjs +294 -0
- package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficeClientUpdate1.d.mts +13 -0
- package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficeClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficesListV1Request.d.mts +24 -0
- package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/requests/IataCassOfficesListV1Request.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/iataCassOffices/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/iataCassOffices/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/iataCassOffices/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
- package/dist/esm/api/resources/shipping/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/shipping/client/Client.mjs +10 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.d.mts +68 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/Client.mjs +181 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesListV1Request.d.mts +30 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/client/requests/CargoOnFlightBookingSearchesListV1Request.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/cargoOnFlightBookingSearches/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookingSearches/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/Client.d.mts +120 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/Client.mjs +379 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingClientCreate1.d.mts +31 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingsListV1Request.d.mts +33 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/CargoOnFlightBookingsListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightBookings/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/index.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightBooking1.d.mts +34 -0
- package/dist/esm/api/types/CargoOnFlightBooking1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingCargoDimension1.d.mts +15 -0
- package/dist/esm/api/types/CargoOnFlightBookingCargoDimension1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingItinerary1.d.mts +13 -0
- package/dist/esm/api/types/CargoOnFlightBookingItinerary1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingItineraryLeg1.d.mts +15 -0
- package/dist/esm/api/types/CargoOnFlightBookingItineraryLeg1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingListRes.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightBookingListRes.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingRate1.d.mts +12 -0
- package/dist/esm/api/types/CargoOnFlightBookingRate1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingSearch1.d.mts +23 -0
- package/dist/esm/api/types/CargoOnFlightBookingSearch1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingSearchListRes.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightBookingSearchListRes.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingSearchResult1.d.mts +16 -0
- package/dist/esm/api/types/CargoOnFlightBookingSearchResult1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingSearchSortByEnum.d.mts +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingSearchSortByEnum.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingSortByEnum.d.mts +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingSortByEnum.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightBookingStatusEnum1.d.mts +13 -0
- package/dist/esm/api/types/CargoOnFlightBookingStatusEnum1.mjs +12 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationEnum1.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationEnum1.mjs +7 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiWebhookRes.d.mts +6 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiWebhookRes.mjs +4 -0
- package/dist/esm/api/types/FlightLegProvenanceEnum1.d.mts +2 -1
- package/dist/esm/api/types/FlightLegProvenanceEnum1.mjs +1 -0
- package/dist/esm/api/types/IataCassOffice1.d.mts +22 -0
- package/dist/esm/api/types/IataCassOffice1.mjs +4 -0
- package/dist/esm/api/types/IataCassOfficeListRes.d.mts +8 -0
- package/dist/esm/api/types/IataCassOfficeListRes.mjs +4 -0
- package/dist/esm/api/types/IataCassOfficeSortByEnum.d.mts +8 -0
- package/dist/esm/api/types/IataCassOfficeSortByEnum.mjs +7 -0
- package/dist/esm/api/types/index.d.mts +17 -0
- package/dist/esm/api/types/index.mjs +17 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +2602 -1505
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* The itinerary of the search result a booking was placed on.
|
|
7
|
+
*/
|
|
8
|
+
export interface CargoOnFlightBookingItinerary1 {
|
|
9
|
+
carrier_iata: string;
|
|
10
|
+
latest_acceptance_utc?: string | null;
|
|
11
|
+
legs?: Chrt.CargoOnFlightBookingItineraryLeg1[];
|
|
12
|
+
time_of_availability_utc?: string | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* One leg of an itinerary: a flight, or a road feeder truck (`surface_transport`).
|
|
6
|
+
*/
|
|
7
|
+
export interface CargoOnFlightBookingItineraryLeg1 {
|
|
8
|
+
carrier_iata: string;
|
|
9
|
+
destination_iata: string;
|
|
10
|
+
flight_number: string;
|
|
11
|
+
origin_iata: string;
|
|
12
|
+
scheduled_arrival_utc: string;
|
|
13
|
+
scheduled_departure_utc: string;
|
|
14
|
+
surface_transport: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* A price quoted for a shipment: one of a search result's rates, or the price a MANUAL booking was quoted.
|
|
6
|
+
*/
|
|
7
|
+
export interface CargoOnFlightBookingRate1 {
|
|
8
|
+
currency_code: string;
|
|
9
|
+
integration_rate_id?: string | null;
|
|
10
|
+
rate_name?: string | null;
|
|
11
|
+
total_amount: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface CargoOnFlightBookingSearch1 {
|
|
6
|
+
_id: string;
|
|
7
|
+
cargo_on_flight_booking_id: string;
|
|
8
|
+
cargo_on_flight_integration: Chrt.CargoOnFlightIntegrationEnum1;
|
|
9
|
+
created_at_timestamp: string;
|
|
10
|
+
/** Must be a string starting with `org_` */
|
|
11
|
+
created_by_org_id: string;
|
|
12
|
+
/** Must be a string starting with `user_` */
|
|
13
|
+
created_by_user_id?: string | null;
|
|
14
|
+
destination_iata: string;
|
|
15
|
+
earliest_departure_date: string;
|
|
16
|
+
iata_cass_office_id: string;
|
|
17
|
+
integration_search_id: string;
|
|
18
|
+
origin_iata: string;
|
|
19
|
+
results?: Chrt.CargoOnFlightBookingSearchResult1[];
|
|
20
|
+
schema_version: number;
|
|
21
|
+
search_completed: boolean;
|
|
22
|
+
updated_at_timestamp: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface CargoOnFlightBookingSearchResult1 {
|
|
6
|
+
awb_prefixes?: string[];
|
|
7
|
+
awb_required: boolean;
|
|
8
|
+
bookable: boolean;
|
|
9
|
+
carrier_iata: string;
|
|
10
|
+
integration_result_id: string;
|
|
11
|
+
latest_acceptance_utc?: string | null;
|
|
12
|
+
legs?: Chrt.CargoOnFlightBookingItineraryLeg1[];
|
|
13
|
+
not_bookable_reason?: string | null;
|
|
14
|
+
rates?: Chrt.CargoOnFlightBookingRate1[];
|
|
15
|
+
time_of_availability_utc?: string | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CargoOnFlightBookingStatusEnum1 = "draft" | "requested" | "confirmed" | "rejected" | "failed" | "cancellation_requested" | "cancelled";
|
|
5
|
+
export declare const CargoOnFlightBookingStatusEnum1: {
|
|
6
|
+
readonly Draft: "draft";
|
|
7
|
+
readonly Requested: "requested";
|
|
8
|
+
readonly Confirmed: "confirmed";
|
|
9
|
+
readonly Rejected: "rejected";
|
|
10
|
+
readonly Failed: "failed";
|
|
11
|
+
readonly CancellationRequested: "cancellation_requested";
|
|
12
|
+
readonly Cancelled: "cancelled";
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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.CargoOnFlightBookingStatusEnum1 = void 0;
|
|
7
|
+
exports.CargoOnFlightBookingStatusEnum1 = {
|
|
8
|
+
Draft: "draft",
|
|
9
|
+
Requested: "requested",
|
|
10
|
+
Confirmed: "confirmed",
|
|
11
|
+
Rejected: "rejected",
|
|
12
|
+
Failed: "failed",
|
|
13
|
+
CancellationRequested: "cancellation_requested",
|
|
14
|
+
Cancelled: "cancelled",
|
|
15
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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.CargoOnFlightIntegrationEnum1 = void 0;
|
|
7
|
+
exports.CargoOnFlightIntegrationEnum1 = {
|
|
8
|
+
Cargoai: "cargoai",
|
|
9
|
+
Manual: "manual",
|
|
10
|
+
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type FlightLegProvenanceEnum1 = "manual" | "cirium" | "flightaware";
|
|
4
|
+
export type FlightLegProvenanceEnum1 = "manual" | "cirium" | "flightaware" | "cargo_on_flight_booking";
|
|
5
5
|
export declare const FlightLegProvenanceEnum1: {
|
|
6
6
|
readonly Manual: "manual";
|
|
7
7
|
readonly Cirium: "cirium";
|
|
8
8
|
readonly Flightaware: "flightaware";
|
|
9
|
+
readonly CargoOnFlightBooking: "cargo_on_flight_booking";
|
|
9
10
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface IataCassOffice1 {
|
|
5
|
+
_id: string;
|
|
6
|
+
archived_at_timestamp?: string | null;
|
|
7
|
+
company_name: string;
|
|
8
|
+
contact_email_address: string;
|
|
9
|
+
contact_first_name: string;
|
|
10
|
+
contact_last_name: string;
|
|
11
|
+
country_code: string;
|
|
12
|
+
created_at_timestamp: string;
|
|
13
|
+
iata_cargo_agent_cass_address: string;
|
|
14
|
+
iata_cargo_agent_numeric_code: string;
|
|
15
|
+
name: string;
|
|
16
|
+
/** Must be a string starting with `org_` */
|
|
17
|
+
owned_by_org_id: string;
|
|
18
|
+
/** Must be a string starting with `user_` */
|
|
19
|
+
owned_by_user_id: string;
|
|
20
|
+
schema_version: number;
|
|
21
|
+
updated_at_timestamp: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type IataCassOfficeSortByEnum = "created_at_timestamp" | "name";
|
|
5
|
+
export declare const IataCassOfficeSortByEnum: {
|
|
6
|
+
readonly CreatedAtTimestamp: "created_at_timestamp";
|
|
7
|
+
readonly Name: "name";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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.IataCassOfficeSortByEnum = void 0;
|
|
7
|
+
exports.IataCassOfficeSortByEnum = {
|
|
8
|
+
CreatedAtTimestamp: "created_at_timestamp",
|
|
9
|
+
Name: "name",
|
|
10
|
+
};
|
|
@@ -75,6 +75,20 @@ export * from "./CargoByDriverDataPoint1.js";
|
|
|
75
75
|
export * from "./CargoByDriverDataPointMetadata1.js";
|
|
76
76
|
export * from "./CargoByDriverSharingSettings1.js";
|
|
77
77
|
export * from "./CargoClientCreate1.js";
|
|
78
|
+
export * from "./CargoOnFlightBooking1.js";
|
|
79
|
+
export * from "./CargoOnFlightBookingCargoDimension1.js";
|
|
80
|
+
export * from "./CargoOnFlightBookingItinerary1.js";
|
|
81
|
+
export * from "./CargoOnFlightBookingItineraryLeg1.js";
|
|
82
|
+
export * from "./CargoOnFlightBookingListRes.js";
|
|
83
|
+
export * from "./CargoOnFlightBookingRate1.js";
|
|
84
|
+
export * from "./CargoOnFlightBookingSearch1.js";
|
|
85
|
+
export * from "./CargoOnFlightBookingSearchListRes.js";
|
|
86
|
+
export * from "./CargoOnFlightBookingSearchResult1.js";
|
|
87
|
+
export * from "./CargoOnFlightBookingSearchSortByEnum.js";
|
|
88
|
+
export * from "./CargoOnFlightBookingSortByEnum.js";
|
|
89
|
+
export * from "./CargoOnFlightBookingStatusEnum1.js";
|
|
90
|
+
export * from "./CargoOnFlightIntegrationEnum1.js";
|
|
91
|
+
export * from "./CargoOnFlightIntegrationsCargoAiWebhookRes.js";
|
|
78
92
|
export * from "./CargoOnFlightTaskActionEnum1.js";
|
|
79
93
|
export * from "./CargoStatusEnum1.js";
|
|
80
94
|
export * from "./CargoTypeEnum1.js";
|
|
@@ -303,6 +317,9 @@ export * from "./GeometriesItem.js";
|
|
|
303
317
|
export * from "./GeometryCollection.js";
|
|
304
318
|
export * from "./HttpValidationError.js";
|
|
305
319
|
export * from "./HolidayRate1.js";
|
|
320
|
+
export * from "./IataCassOffice1.js";
|
|
321
|
+
export * from "./IataCassOfficeListRes.js";
|
|
322
|
+
export * from "./IataCassOfficeSortByEnum.js";
|
|
306
323
|
export * from "./InternalDelegationJwtReq.js";
|
|
307
324
|
export * from "./InternalDelegationJwtRes.js";
|
|
308
325
|
export * from "./Invoice1.js";
|
|
@@ -91,6 +91,20 @@ __exportStar(require("./CargoByDriverDataPoint1.js"), exports);
|
|
|
91
91
|
__exportStar(require("./CargoByDriverDataPointMetadata1.js"), exports);
|
|
92
92
|
__exportStar(require("./CargoByDriverSharingSettings1.js"), exports);
|
|
93
93
|
__exportStar(require("./CargoClientCreate1.js"), exports);
|
|
94
|
+
__exportStar(require("./CargoOnFlightBooking1.js"), exports);
|
|
95
|
+
__exportStar(require("./CargoOnFlightBookingCargoDimension1.js"), exports);
|
|
96
|
+
__exportStar(require("./CargoOnFlightBookingItinerary1.js"), exports);
|
|
97
|
+
__exportStar(require("./CargoOnFlightBookingItineraryLeg1.js"), exports);
|
|
98
|
+
__exportStar(require("./CargoOnFlightBookingListRes.js"), exports);
|
|
99
|
+
__exportStar(require("./CargoOnFlightBookingRate1.js"), exports);
|
|
100
|
+
__exportStar(require("./CargoOnFlightBookingSearch1.js"), exports);
|
|
101
|
+
__exportStar(require("./CargoOnFlightBookingSearchListRes.js"), exports);
|
|
102
|
+
__exportStar(require("./CargoOnFlightBookingSearchResult1.js"), exports);
|
|
103
|
+
__exportStar(require("./CargoOnFlightBookingSearchSortByEnum.js"), exports);
|
|
104
|
+
__exportStar(require("./CargoOnFlightBookingSortByEnum.js"), exports);
|
|
105
|
+
__exportStar(require("./CargoOnFlightBookingStatusEnum1.js"), exports);
|
|
106
|
+
__exportStar(require("./CargoOnFlightIntegrationEnum1.js"), exports);
|
|
107
|
+
__exportStar(require("./CargoOnFlightIntegrationsCargoAiWebhookRes.js"), exports);
|
|
94
108
|
__exportStar(require("./CargoOnFlightTaskActionEnum1.js"), exports);
|
|
95
109
|
__exportStar(require("./CargoStatusEnum1.js"), exports);
|
|
96
110
|
__exportStar(require("./CargoTypeEnum1.js"), exports);
|
|
@@ -319,6 +333,9 @@ __exportStar(require("./GeometriesItem.js"), exports);
|
|
|
319
333
|
__exportStar(require("./GeometryCollection.js"), exports);
|
|
320
334
|
__exportStar(require("./HttpValidationError.js"), exports);
|
|
321
335
|
__exportStar(require("./HolidayRate1.js"), exports);
|
|
336
|
+
__exportStar(require("./IataCassOffice1.js"), exports);
|
|
337
|
+
__exportStar(require("./IataCassOfficeListRes.js"), exports);
|
|
338
|
+
__exportStar(require("./IataCassOfficeSortByEnum.js"), exports);
|
|
322
339
|
__exportStar(require("./InternalDelegationJwtReq.js"), exports);
|
|
323
340
|
__exportStar(require("./InternalDelegationJwtRes.js"), exports);
|
|
324
341
|
__exportStar(require("./Invoice1.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.1013.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.d.mts
CHANGED
|
@@ -10,6 +10,7 @@ import { Agent } from "./api/resources/agent/client/Client.mjs";
|
|
|
10
10
|
import { Analytics } from "./api/resources/analytics/client/Client.mjs";
|
|
11
11
|
import { Billing } from "./api/resources/billing/client/Client.mjs";
|
|
12
12
|
import { BillingNew } from "./api/resources/billingNew/client/Client.mjs";
|
|
13
|
+
import { CargoOnFlightIntegrations } from "./api/resources/cargoOnFlightIntegrations/client/Client.mjs";
|
|
13
14
|
import { Integrations } from "./api/resources/integrations/client/Client.mjs";
|
|
14
15
|
import { Listing } from "./api/resources/listing/client/Client.mjs";
|
|
15
16
|
import { Notifications } from "./api/resources/notifications/client/Client.mjs";
|
|
@@ -51,6 +52,7 @@ export declare class ChrtClient {
|
|
|
51
52
|
protected _analytics: Analytics | undefined;
|
|
52
53
|
protected _billing: Billing | undefined;
|
|
53
54
|
protected _billingNew: BillingNew | undefined;
|
|
55
|
+
protected _cargoOnFlightIntegrations: CargoOnFlightIntegrations | undefined;
|
|
54
56
|
protected _integrations: Integrations | undefined;
|
|
55
57
|
protected _listing: Listing | undefined;
|
|
56
58
|
protected _notifications: Notifications | undefined;
|
|
@@ -68,6 +70,7 @@ export declare class ChrtClient {
|
|
|
68
70
|
get analytics(): Analytics;
|
|
69
71
|
get billing(): Billing;
|
|
70
72
|
get billingNew(): BillingNew;
|
|
73
|
+
get cargoOnFlightIntegrations(): CargoOnFlightIntegrations;
|
|
71
74
|
get integrations(): Integrations;
|
|
72
75
|
get listing(): Listing;
|
|
73
76
|
get notifications(): Notifications;
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -10,6 +10,7 @@ import { Agent } from "./api/resources/agent/client/Client.mjs";
|
|
|
10
10
|
import { Analytics } from "./api/resources/analytics/client/Client.mjs";
|
|
11
11
|
import { Billing } from "./api/resources/billing/client/Client.mjs";
|
|
12
12
|
import { BillingNew } from "./api/resources/billingNew/client/Client.mjs";
|
|
13
|
+
import { CargoOnFlightIntegrations } from "./api/resources/cargoOnFlightIntegrations/client/Client.mjs";
|
|
13
14
|
import { Integrations } from "./api/resources/integrations/client/Client.mjs";
|
|
14
15
|
import { Listing } from "./api/resources/listing/client/Client.mjs";
|
|
15
16
|
import { Notifications } from "./api/resources/notifications/client/Client.mjs";
|
|
@@ -24,8 +25,8 @@ export class ChrtClient {
|
|
|
24
25
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
25
26
|
"X-Fern-Language": "JavaScript",
|
|
26
27
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
27
|
-
"X-Fern-SDK-Version": "1.
|
|
28
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
28
|
+
"X-Fern-SDK-Version": "1.1013.0",
|
|
29
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.1013.0",
|
|
29
30
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
30
31
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
31
32
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -58,6 +59,10 @@ export class ChrtClient {
|
|
|
58
59
|
var _a;
|
|
59
60
|
return ((_a = this._billingNew) !== null && _a !== void 0 ? _a : (this._billingNew = new BillingNew(this._options)));
|
|
60
61
|
}
|
|
62
|
+
get cargoOnFlightIntegrations() {
|
|
63
|
+
var _a;
|
|
64
|
+
return ((_a = this._cargoOnFlightIntegrations) !== null && _a !== void 0 ? _a : (this._cargoOnFlightIntegrations = new CargoOnFlightIntegrations(this._options)));
|
|
65
|
+
}
|
|
61
66
|
get integrations() {
|
|
62
67
|
var _a;
|
|
63
68
|
return ((_a = this._integrations) !== null && _a !== void 0 ? _a : (this._integrations = new Integrations(this._options)));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments.mjs";
|
|
5
|
+
import * as core from "../../../../core/index.mjs";
|
|
6
|
+
import { Cargoai } from "../resources/cargoai/client/Client.mjs";
|
|
7
|
+
export declare namespace CargoOnFlightIntegrations {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
/** Additional headers to include in requests. */
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
|
+
fetcher?: core.FetchFunction;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export declare class CargoOnFlightIntegrations {
|
|
19
|
+
protected readonly _options: CargoOnFlightIntegrations.Options;
|
|
20
|
+
protected _cargoai: Cargoai | undefined;
|
|
21
|
+
constructor(_options?: CargoOnFlightIntegrations.Options);
|
|
22
|
+
get cargoai(): Cargoai;
|
|
23
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import { Cargoai } from "../resources/cargoai/client/Client.mjs";
|
|
5
|
+
export class CargoOnFlightIntegrations {
|
|
6
|
+
constructor(_options = {}) {
|
|
7
|
+
this._options = _options;
|
|
8
|
+
}
|
|
9
|
+
get cargoai() {
|
|
10
|
+
var _a;
|
|
11
|
+
return ((_a = this._cargoai) !== null && _a !== void 0 ? _a : (this._cargoai = new Cargoai(this._options)));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.d.mts
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments.mjs";
|
|
5
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
6
|
+
import * as Chrt from "../../../../../index.mjs";
|
|
7
|
+
export declare namespace Cargoai {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
/** Additional headers to include in requests. */
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
|
+
fetcher?: core.FetchFunction;
|
|
16
|
+
}
|
|
17
|
+
interface RequestOptions {
|
|
18
|
+
/** The maximum time to wait for a response in seconds. */
|
|
19
|
+
timeoutInSeconds?: number;
|
|
20
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
21
|
+
maxRetries?: number;
|
|
22
|
+
/** A hook to abort the request. */
|
|
23
|
+
abortSignal?: AbortSignal;
|
|
24
|
+
/** Additional query string parameters to include in the request. */
|
|
25
|
+
queryParams?: Record<string, unknown>;
|
|
26
|
+
/** Additional headers to include in the request. */
|
|
27
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export declare class Cargoai {
|
|
31
|
+
protected readonly _options: Cargoai.Options;
|
|
32
|
+
constructor(_options?: Cargoai.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Books a draft booking on CargoAi with one result and rate of one of its searches, with the user's AWB or one from the airline's stock. | authz_personas=[task_group_coordinator_operators] | (CargoOnFlightIntegrationsCargoAiBookReq) -> (CargoOnFlightBooking1)
|
|
35
|
+
*
|
|
36
|
+
* @param {string} cargoOnFlightBookingId
|
|
37
|
+
* @param {Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiBookReq} request
|
|
38
|
+
* @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* await client.cargoOnFlightIntegrations.cargoai.bookV1("cargo_on_flight_booking_id", {
|
|
44
|
+
* cargo_on_flight_booking_search_id: "cargo_on_flight_booking_search_id",
|
|
45
|
+
* integration_rate_id: "integration_rate_id",
|
|
46
|
+
* integration_result_id: "integration_result_id"
|
|
47
|
+
* })
|
|
48
|
+
*/
|
|
49
|
+
bookV1(cargoOnFlightBookingId: string, request: Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiBookReq, requestOptions?: Cargoai.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightBooking1>;
|
|
50
|
+
private __bookV1;
|
|
51
|
+
/**
|
|
52
|
+
* Asks CargoAi to cancel a confirmed booking; it is CANCELLATION_REQUESTED until the airline answers. | authz_personas=[task_group_coordinator_operators] | (CargoOnFlightIntegrationsCargoAiCancelReq) -> (CargoOnFlightBooking1)
|
|
53
|
+
*
|
|
54
|
+
* @param {string} cargoOnFlightBookingId
|
|
55
|
+
* @param {Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiCancelReq} request
|
|
56
|
+
* @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* await client.cargoOnFlightIntegrations.cargoai.cancelV1("cargo_on_flight_booking_id", {
|
|
62
|
+
* cancellation_reason: "cancellation_reason"
|
|
63
|
+
* })
|
|
64
|
+
*/
|
|
65
|
+
cancelV1(cargoOnFlightBookingId: string, request: Chrt.cargoOnFlightIntegrations.CargoOnFlightIntegrationsCargoAiCancelReq, requestOptions?: Cargoai.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightBooking1>;
|
|
66
|
+
private __cancelV1;
|
|
67
|
+
/**
|
|
68
|
+
* Asks CargoAi for an active booking's current status and AWB and applies them, e.g. when its book answer was lost. | authz_personas=[task_group_coordinator_operators] | () -> (CargoOnFlightBooking1)
|
|
69
|
+
*
|
|
70
|
+
* @param {string} cargoOnFlightBookingId
|
|
71
|
+
* @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* await client.cargoOnFlightIntegrations.cargoai.refreshV1("cargo_on_flight_booking_id")
|
|
77
|
+
*/
|
|
78
|
+
refreshV1(cargoOnFlightBookingId: string, requestOptions?: Cargoai.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightBooking1>;
|
|
79
|
+
private __refreshV1;
|
|
80
|
+
/**
|
|
81
|
+
* Collects the remaining CargoAi results of an unfinished search and stores them; a completed search is returned as is. | authz_personas=[task_group_coordinator_operators] | () -> (CargoOnFlightBookingSearch1)
|
|
82
|
+
*
|
|
83
|
+
* @param {string} cargoOnFlightBookingSearchId
|
|
84
|
+
* @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* await client.cargoOnFlightIntegrations.cargoai.searchContinueV1("cargo_on_flight_booking_search_id")
|
|
90
|
+
*/
|
|
91
|
+
searchContinueV1(cargoOnFlightBookingSearchId: string, requestOptions?: Cargoai.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightBookingSearch1>;
|
|
92
|
+
private __searchContinueV1;
|
|
93
|
+
/**
|
|
94
|
+
* Starts a CargoAi search for flights with space and rates for a draft booking's cargos on a route and date, and stores it. | authz_personas=[task_group_coordinator_operators] | (CargoOnFlightBookingSearchClientCreate1) -> (CargoOnFlightBookingSearch1)
|
|
95
|
+
*
|
|
96
|
+
* @param {string} cargoOnFlightBookingId
|
|
97
|
+
* @param {Chrt.cargoOnFlightIntegrations.CargoOnFlightBookingSearchClientCreate1} request
|
|
98
|
+
* @param {Cargoai.RequestOptions} requestOptions - Request-specific configuration.
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* await client.cargoOnFlightIntegrations.cargoai.searchV1("cargo_on_flight_booking_id", {
|
|
104
|
+
* destination_iata: "destination_iata",
|
|
105
|
+
* earliest_departure_date: "earliest_departure_date",
|
|
106
|
+
* iata_cass_office_id: "iata_cass_office_id",
|
|
107
|
+
* origin_iata: "origin_iata",
|
|
108
|
+
* schema_version: 1
|
|
109
|
+
* })
|
|
110
|
+
*/
|
|
111
|
+
searchV1(cargoOnFlightBookingId: string, request: Chrt.cargoOnFlightIntegrations.CargoOnFlightBookingSearchClientCreate1, requestOptions?: Cargoai.RequestOptions): core.HttpResponsePromise<Chrt.CargoOnFlightBookingSearch1>;
|
|
112
|
+
private __searchV1;
|
|
113
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
114
|
+
}
|