@chrt-inc/typescript-sdk 1.510.0 → 1.512.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 +15 -10
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/resources/integrations/client/Client.d.ts +29 -0
- package/dist/cjs/api/resources/integrations/client/Client.js +27 -0
- package/dist/cjs/api/resources/integrations/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/client/index.js +2 -0
- package/dist/cjs/api/resources/integrations/index.d.ts +2 -0
- package/dist/cjs/api/resources/integrations/index.js +18 -0
- package/dist/cjs/api/resources/integrations/resources/airWaybills/client/Client.d.ts +128 -0
- package/dist/cjs/api/resources/integrations/resources/airWaybills/client/Client.js +490 -0
- package/dist/cjs/api/resources/integrations/resources/airWaybills/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/integrations/resources/airWaybills/client/index.js +17 -0
- package/dist/cjs/api/resources/integrations/resources/airWaybills/client/requests/AirWaybillCreateReq.d.ts +12 -0
- package/dist/cjs/api/resources/integrations/resources/airWaybills/client/requests/ChampAirWaybillClientUpdate1.d.ts +40 -0
- package/dist/cjs/api/resources/integrations/resources/airWaybills/client/requests/ChampAirWaybillClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/integrations/resources/airWaybills/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/integrations/resources/airWaybills/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/integrations/resources/airWaybills/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/resources/airWaybills/index.js +17 -0
- package/dist/cjs/api/resources/integrations/resources/index.d.ts +5 -0
- package/dist/cjs/api/resources/integrations/resources/index.js +44 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoBookings/client/Client.d.ts +60 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoBookings/client/Client.js +186 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoBookings/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoBookings/client/index.js +2 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoBookings/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoBookings/index.js +17 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/Client.d.ts +53 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/Client.js +136 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/index.js +17 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/requests/GetWebcargoEmbedReq.d.ts +18 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/requests/GetWebcargoEmbedReq.js +5 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/index.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/index.js +17 -0
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +30 -0
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +128 -0
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesPauseV1Request.d.ts +12 -0
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesPauseV1Request.js +5 -0
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesUnpauseV1Request.d.ts +12 -0
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesUnpauseV1Request.js +5 -0
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/utils/resources/dev/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/utils/resources/dev/client/Client.js +7 -7
- package/dist/cjs/api/resources/utils/resources/root/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/utils/resources/root/client/Client.js +14 -14
- package/dist/cjs/api/types/Caller.d.ts +15 -0
- package/dist/cjs/api/types/Caller.js +5 -0
- package/dist/cjs/api/types/CallerCredentialTypeEnum.d.ts +9 -0
- package/dist/cjs/api/types/CallerCredentialTypeEnum.js +11 -0
- package/dist/cjs/api/types/CargoByDeviceDataPointMetadata1.d.ts +1 -0
- package/dist/cjs/api/types/CargojsonAccountContact.d.ts +13 -0
- package/dist/cjs/api/types/CargojsonAccountContact.js +5 -0
- package/dist/cjs/api/types/CargojsonAccounting.d.ts +11 -0
- package/dist/cjs/api/types/CargojsonAccounting.js +5 -0
- package/dist/cjs/api/types/CargojsonAccountingInformationIdentifier.d.ts +18 -0
- package/dist/cjs/api/types/CargojsonAccountingInformationIdentifier.js +17 -0
- package/dist/cjs/api/types/CargojsonAddress.d.ts +16 -0
- package/dist/cjs/api/types/CargojsonAddress.js +5 -0
- package/dist/cjs/api/types/CargojsonAddressing.d.ts +14 -0
- package/dist/cjs/api/types/CargojsonAddressing.js +5 -0
- package/dist/cjs/api/types/CargojsonAgent.d.ts +16 -0
- package/dist/cjs/api/types/CargojsonAgent.js +5 -0
- package/dist/cjs/api/types/CargojsonCassIndicator.d.ts +21 -0
- package/dist/cjs/api/types/CargojsonCassIndicator.js +20 -0
- package/dist/cjs/api/types/CargojsonCharge.d.ts +16 -0
- package/dist/cjs/api/types/CargojsonCharge.js +5 -0
- package/dist/cjs/api/types/CargojsonChargeCode.d.ts +34 -0
- package/dist/cjs/api/types/CargojsonChargeCode.js +33 -0
- package/dist/cjs/api/types/CargojsonChargeDeclarations.d.ts +17 -0
- package/dist/cjs/api/types/CargojsonChargeDeclarations.js +5 -0
- package/dist/cjs/api/types/CargojsonChargeItem.d.ts +20 -0
- package/dist/cjs/api/types/CargojsonChargeItem.js +5 -0
- package/dist/cjs/api/types/CargojsonChargeSummary.d.ts +15 -0
- package/dist/cjs/api/types/CargojsonChargeSummary.js +5 -0
- package/dist/cjs/api/types/CargojsonCollectChargesInDestCurrency.d.ts +13 -0
- package/dist/cjs/api/types/CargojsonCollectChargesInDestCurrency.js +5 -0
- package/dist/cjs/api/types/CargojsonCommissionInfo.d.ts +10 -0
- package/dist/cjs/api/types/CargojsonCommissionInfo.js +5 -0
- package/dist/cjs/api/types/CargojsonContactDetail.d.ts +11 -0
- package/dist/cjs/api/types/CargojsonContactDetail.js +5 -0
- package/dist/cjs/api/types/CargojsonDimensionUnit.d.ts +17 -0
- package/dist/cjs/api/types/CargojsonDimensionUnit.js +15 -0
- package/dist/cjs/api/types/CargojsonDimensions.d.ts +13 -0
- package/dist/cjs/api/types/CargojsonDimensions.js +5 -0
- package/dist/cjs/api/types/CargojsonEdifactData.d.ts +12 -0
- package/dist/cjs/api/types/CargojsonEdifactData.js +5 -0
- package/dist/cjs/api/types/CargojsonEntitlementCode.d.ts +11 -0
- package/dist/cjs/api/types/CargojsonEntitlementCode.js +10 -0
- package/dist/cjs/api/types/CargojsonFlightIdentity.d.ts +13 -0
- package/dist/cjs/api/types/CargojsonFlightIdentity.js +5 -0
- package/dist/cjs/api/types/CargojsonMessageHeader.d.ts +12 -0
- package/dist/cjs/api/types/CargojsonMessageHeader.js +5 -0
- package/dist/cjs/api/types/CargojsonNominatedHandlingParty.d.ts +10 -0
- package/dist/cjs/api/types/CargojsonNominatedHandlingParty.js +5 -0
- package/dist/cjs/api/types/CargojsonOci.d.ts +13 -0
- package/dist/cjs/api/types/CargojsonOci.js +5 -0
- package/dist/cjs/api/types/CargojsonOfficeMessageAddress.d.ts +11 -0
- package/dist/cjs/api/types/CargojsonOfficeMessageAddress.js +5 -0
- package/dist/cjs/api/types/CargojsonOtherChargeCode.d.ts +147 -0
- package/dist/cjs/api/types/CargojsonOtherChargeCode.js +143 -0
- package/dist/cjs/api/types/CargojsonOtherChargeItem.d.ts +13 -0
- package/dist/cjs/api/types/CargojsonOtherChargeItem.js +5 -0
- package/dist/cjs/api/types/CargojsonOtherParticipant.d.ts +13 -0
- package/dist/cjs/api/types/CargojsonOtherParticipant.js +5 -0
- package/dist/cjs/api/types/CargojsonPackaging.d.ts +15 -0
- package/dist/cjs/api/types/CargojsonPackaging.js +5 -0
- package/dist/cjs/api/types/CargojsonParticipantAddress.d.ts +11 -0
- package/dist/cjs/api/types/CargojsonParticipantAddress.js +5 -0
- package/dist/cjs/api/types/CargojsonParticipantAddressType.d.ts +16 -0
- package/dist/cjs/api/types/CargojsonParticipantAddressType.js +15 -0
- package/dist/cjs/api/types/CargojsonParticipantIdentifier.d.ts +12 -0
- package/dist/cjs/api/types/CargojsonParticipantIdentifier.js +5 -0
- package/dist/cjs/api/types/CargojsonParticipantType.d.ts +23 -0
- package/dist/cjs/api/types/CargojsonParticipantType.js +22 -0
- package/dist/cjs/api/types/CargojsonPaymentCondition.d.ts +11 -0
- package/dist/cjs/api/types/CargojsonPaymentCondition.js +10 -0
- package/dist/cjs/api/types/CargojsonRateClassCode.d.ts +22 -0
- package/dist/cjs/api/types/CargojsonRateClassCode.js +21 -0
- package/dist/cjs/api/types/CargojsonRouting.d.ts +10 -0
- package/dist/cjs/api/types/CargojsonRouting.js +5 -0
- package/dist/cjs/api/types/CargojsonSalesIncentive.d.ts +11 -0
- package/dist/cjs/api/types/CargojsonSalesIncentive.js +5 -0
- package/dist/cjs/api/types/CargojsonServiceCode.d.ts +35 -0
- package/dist/cjs/api/types/CargojsonServiceCode.js +34 -0
- package/dist/cjs/api/types/CargojsonShipmentReferenceInformation.d.ts +10 -0
- package/dist/cjs/api/types/CargojsonShipmentReferenceInformation.js +5 -0
- package/dist/cjs/api/types/CargojsonSpecialHandlingCode.d.ts +122 -0
- package/dist/cjs/api/types/CargojsonSpecialHandlingCode.js +120 -0
- package/dist/cjs/api/types/CargojsonUld.d.ts +15 -0
- package/dist/cjs/api/types/CargojsonUld.js +5 -0
- package/dist/cjs/api/types/CargojsonVolume.d.ts +11 -0
- package/dist/cjs/api/types/CargojsonVolume.js +5 -0
- package/dist/cjs/api/types/CargojsonVolumeUnit.d.ts +10 -0
- package/dist/cjs/api/types/CargojsonVolumeUnit.js +12 -0
- package/dist/cjs/api/types/CargojsonWeight.d.ts +16 -0
- package/dist/cjs/api/types/CargojsonWeight.js +5 -0
- package/dist/cjs/api/types/CargojsonWeightUnit.d.ts +8 -0
- package/dist/cjs/api/types/CargojsonWeightUnit.js +10 -0
- package/dist/cjs/api/types/ChampAirWaybill1.d.ts +49 -0
- package/dist/cjs/api/types/ChampAirWaybill1.js +5 -0
- package/dist/cjs/api/types/ChampAirWaybillStatusEnum1.d.ts +10 -0
- package/dist/cjs/api/types/ChampAirWaybillStatusEnum1.js +12 -0
- package/dist/cjs/api/types/ChampConfirmationReceipt1.d.ts +22 -0
- package/dist/cjs/api/types/ChampConfirmationReceipt1.js +5 -0
- package/dist/cjs/api/types/ChampFlightStatus1.d.ts +20 -0
- package/dist/cjs/api/types/ChampFlightStatus1.js +5 -0
- package/dist/cjs/api/types/ChampFlightStatusEvent1.d.ts +27 -0
- package/dist/cjs/api/types/ChampFlightStatusEvent1.js +5 -0
- package/dist/cjs/api/types/ChampOriginAndDestination.d.ts +7 -0
- package/dist/cjs/api/types/ChampOriginAndDestination.js +5 -0
- package/dist/cjs/api/types/ChampQuantity.d.ts +9 -0
- package/dist/cjs/api/types/ChampQuantity.js +5 -0
- package/dist/cjs/api/types/CredentialInfoRes.d.ts +9 -0
- package/dist/cjs/api/types/CredentialInfoRes.js +5 -0
- package/dist/cjs/api/types/DeviceLimitedForList1.d.ts +1 -0
- package/dist/cjs/api/types/OrgPrivateData1.d.ts +3 -0
- package/dist/cjs/api/types/SessionByDeviceDataPointMetadata1.d.ts +1 -0
- package/dist/cjs/api/types/WebcargoAccountId.d.ts +7 -0
- package/dist/cjs/api/types/WebcargoAccountId.js +5 -0
- package/dist/cjs/api/types/WebcargoBookStatus.d.ts +7 -0
- package/dist/cjs/api/types/WebcargoBookStatus.js +5 -0
- package/dist/cjs/api/types/WebcargoBookingRate.d.ts +20 -0
- package/dist/cjs/api/types/WebcargoBookingRate.js +5 -0
- package/dist/cjs/api/types/WebcargoBookingRecord1.d.ts +19 -0
- package/dist/cjs/api/types/WebcargoBookingRecord1.js +5 -0
- package/dist/cjs/api/types/WebcargoBusinessInfo.d.ts +9 -0
- package/dist/cjs/api/types/WebcargoBusinessInfo.js +5 -0
- package/dist/cjs/api/types/WebcargoCarrier.d.ts +6 -0
- package/dist/cjs/api/types/WebcargoCarrier.js +5 -0
- package/dist/cjs/api/types/WebcargoCommodityClass.d.ts +8 -0
- package/dist/cjs/api/types/WebcargoCommodityClass.js +5 -0
- package/dist/cjs/api/types/WebcargoConnection.d.ts +8 -0
- package/dist/cjs/api/types/WebcargoConnection.js +5 -0
- package/dist/cjs/api/types/WebcargoContact.d.ts +9 -0
- package/dist/cjs/api/types/WebcargoContact.js +5 -0
- package/dist/cjs/api/types/WebcargoDimension.d.ts +9 -0
- package/dist/cjs/api/types/WebcargoDimension.js +5 -0
- package/dist/cjs/api/types/WebcargoDocumentIdentifier.d.ts +8 -0
- package/dist/cjs/api/types/WebcargoDocumentIdentifier.js +5 -0
- package/dist/cjs/api/types/WebcargoEmbedResponse.d.ts +11 -0
- package/dist/cjs/api/types/WebcargoEmbedResponse.js +5 -0
- package/dist/cjs/api/types/WebcargoFee.d.ts +16 -0
- package/dist/cjs/api/types/WebcargoFee.js +5 -0
- package/dist/cjs/api/types/WebcargoLeg.d.ts +10 -0
- package/dist/cjs/api/types/WebcargoLeg.js +5 -0
- package/dist/cjs/api/types/WebcargoLoad.d.ts +11 -0
- package/dist/cjs/api/types/WebcargoLoad.js +5 -0
- package/dist/cjs/api/types/WebcargoLocation.d.ts +11 -0
- package/dist/cjs/api/types/WebcargoLocation.js +5 -0
- package/dist/cjs/api/types/WebcargoMessageHeader.d.ts +7 -0
- package/dist/cjs/api/types/WebcargoMessageHeader.js +5 -0
- package/dist/cjs/api/types/WebcargoPackage.d.ts +12 -0
- package/dist/cjs/api/types/WebcargoPackage.js +5 -0
- package/dist/cjs/api/types/WebcargoParty.d.ts +12 -0
- package/dist/cjs/api/types/WebcargoParty.js +5 -0
- package/dist/cjs/api/types/WebcargoPostalAddress.d.ts +14 -0
- package/dist/cjs/api/types/WebcargoPostalAddress.js +5 -0
- package/dist/cjs/api/types/WebcargoPriceIndicator.d.ts +12 -0
- package/dist/cjs/api/types/WebcargoPriceIndicator.js +5 -0
- package/dist/cjs/api/types/WebcargoProduct.d.ts +7 -0
- package/dist/cjs/api/types/WebcargoProduct.js +5 -0
- package/dist/cjs/api/types/WebcargoResponseStatus.d.ts +7 -0
- package/dist/cjs/api/types/WebcargoResponseStatus.js +5 -0
- package/dist/cjs/api/types/WebcargoResponseStatusEntry.d.ts +7 -0
- package/dist/cjs/api/types/WebcargoResponseStatusEntry.js +5 -0
- package/dist/cjs/api/types/WebcargoSegment.d.ts +21 -0
- package/dist/cjs/api/types/WebcargoSegment.js +5 -0
- package/dist/cjs/api/types/WebcargoShipment.d.ts +8 -0
- package/dist/cjs/api/types/WebcargoShipment.js +5 -0
- package/dist/cjs/api/types/WebcargoValueWithUnit.d.ts +13 -0
- package/dist/cjs/api/types/WebcargoValueWithUnit.js +5 -0
- package/dist/cjs/api/types/index.d.ts +81 -1
- package/dist/cjs/api/types/index.js +81 -1
- 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/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/integrations/client/Client.d.mts +29 -0
- package/dist/esm/api/resources/integrations/client/Client.mjs +23 -0
- package/dist/esm/api/resources/integrations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/integrations/client/index.mjs +1 -0
- package/dist/esm/api/resources/integrations/index.d.mts +2 -0
- package/dist/esm/api/resources/integrations/index.mjs +2 -0
- package/dist/esm/api/resources/integrations/resources/airWaybills/client/Client.d.mts +128 -0
- package/dist/esm/api/resources/integrations/resources/airWaybills/client/Client.mjs +453 -0
- package/dist/esm/api/resources/integrations/resources/airWaybills/client/index.d.mts +2 -0
- package/dist/esm/api/resources/integrations/resources/airWaybills/client/index.mjs +1 -0
- package/dist/esm/api/resources/integrations/resources/airWaybills/client/requests/AirWaybillCreateReq.d.mts +12 -0
- package/dist/esm/api/resources/integrations/resources/airWaybills/client/requests/ChampAirWaybillClientUpdate1.d.mts +40 -0
- package/dist/esm/api/resources/integrations/resources/airWaybills/client/requests/ChampAirWaybillClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/integrations/resources/airWaybills/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/integrations/resources/airWaybills/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/integrations/resources/airWaybills/index.d.mts +1 -0
- package/dist/esm/api/resources/integrations/resources/airWaybills/index.mjs +1 -0
- package/dist/esm/api/resources/integrations/resources/index.d.mts +5 -0
- package/dist/esm/api/resources/integrations/resources/index.mjs +5 -0
- package/dist/esm/api/resources/integrations/resources/webcargoBookings/client/Client.d.mts +60 -0
- package/dist/esm/api/resources/integrations/resources/webcargoBookings/client/Client.mjs +149 -0
- package/dist/esm/api/resources/integrations/resources/webcargoBookings/client/index.d.mts +1 -0
- package/dist/esm/api/resources/integrations/resources/webcargoBookings/client/index.mjs +1 -0
- package/dist/esm/api/resources/integrations/resources/webcargoBookings/index.d.mts +1 -0
- package/dist/esm/api/resources/integrations/resources/webcargoBookings/index.mjs +1 -0
- package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/Client.d.mts +53 -0
- package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/Client.mjs +99 -0
- package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/index.d.mts +2 -0
- package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/index.mjs +1 -0
- package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/requests/GetWebcargoEmbedReq.d.mts +18 -0
- package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/requests/GetWebcargoEmbedReq.mjs +4 -0
- package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/integrations/resources/webcargoEmbed/index.d.mts +1 -0
- package/dist/esm/api/resources/integrations/resources/webcargoEmbed/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +30 -0
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +128 -0
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesPauseV1Request.d.mts +12 -0
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesPauseV1Request.mjs +4 -0
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesUnpauseV1Request.d.mts +12 -0
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesUnpauseV1Request.mjs +4 -0
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/utils/resources/dev/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/utils/resources/dev/client/Client.mjs +7 -7
- package/dist/esm/api/resources/utils/resources/root/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/utils/resources/root/client/Client.mjs +14 -14
- package/dist/esm/api/types/Caller.d.mts +15 -0
- package/dist/esm/api/types/Caller.mjs +4 -0
- package/dist/esm/api/types/CallerCredentialTypeEnum.d.mts +9 -0
- package/dist/esm/api/types/CallerCredentialTypeEnum.mjs +8 -0
- package/dist/esm/api/types/CargoByDeviceDataPointMetadata1.d.mts +1 -0
- package/dist/esm/api/types/CargojsonAccountContact.d.mts +13 -0
- package/dist/esm/api/types/CargojsonAccountContact.mjs +4 -0
- package/dist/esm/api/types/CargojsonAccounting.d.mts +11 -0
- package/dist/esm/api/types/CargojsonAccounting.mjs +4 -0
- package/dist/esm/api/types/CargojsonAccountingInformationIdentifier.d.mts +18 -0
- package/dist/esm/api/types/CargojsonAccountingInformationIdentifier.mjs +14 -0
- package/dist/esm/api/types/CargojsonAddress.d.mts +16 -0
- package/dist/esm/api/types/CargojsonAddress.mjs +4 -0
- package/dist/esm/api/types/CargojsonAddressing.d.mts +14 -0
- package/dist/esm/api/types/CargojsonAddressing.mjs +4 -0
- package/dist/esm/api/types/CargojsonAgent.d.mts +16 -0
- package/dist/esm/api/types/CargojsonAgent.mjs +4 -0
- package/dist/esm/api/types/CargojsonCassIndicator.d.mts +21 -0
- package/dist/esm/api/types/CargojsonCassIndicator.mjs +17 -0
- package/dist/esm/api/types/CargojsonCharge.d.mts +16 -0
- package/dist/esm/api/types/CargojsonCharge.mjs +4 -0
- package/dist/esm/api/types/CargojsonChargeCode.d.mts +34 -0
- package/dist/esm/api/types/CargojsonChargeCode.mjs +30 -0
- package/dist/esm/api/types/CargojsonChargeDeclarations.d.mts +17 -0
- package/dist/esm/api/types/CargojsonChargeDeclarations.mjs +4 -0
- package/dist/esm/api/types/CargojsonChargeItem.d.mts +20 -0
- package/dist/esm/api/types/CargojsonChargeItem.mjs +4 -0
- package/dist/esm/api/types/CargojsonChargeSummary.d.mts +15 -0
- package/dist/esm/api/types/CargojsonChargeSummary.mjs +4 -0
- package/dist/esm/api/types/CargojsonCollectChargesInDestCurrency.d.mts +13 -0
- package/dist/esm/api/types/CargojsonCollectChargesInDestCurrency.mjs +4 -0
- package/dist/esm/api/types/CargojsonCommissionInfo.d.mts +10 -0
- package/dist/esm/api/types/CargojsonCommissionInfo.mjs +4 -0
- package/dist/esm/api/types/CargojsonContactDetail.d.mts +11 -0
- package/dist/esm/api/types/CargojsonContactDetail.mjs +4 -0
- package/dist/esm/api/types/CargojsonDimensionUnit.d.mts +17 -0
- package/dist/esm/api/types/CargojsonDimensionUnit.mjs +12 -0
- package/dist/esm/api/types/CargojsonDimensions.d.mts +13 -0
- package/dist/esm/api/types/CargojsonDimensions.mjs +4 -0
- package/dist/esm/api/types/CargojsonEdifactData.d.mts +12 -0
- package/dist/esm/api/types/CargojsonEdifactData.mjs +4 -0
- package/dist/esm/api/types/CargojsonEntitlementCode.d.mts +11 -0
- package/dist/esm/api/types/CargojsonEntitlementCode.mjs +7 -0
- package/dist/esm/api/types/CargojsonFlightIdentity.d.mts +13 -0
- package/dist/esm/api/types/CargojsonFlightIdentity.mjs +4 -0
- package/dist/esm/api/types/CargojsonMessageHeader.d.mts +12 -0
- package/dist/esm/api/types/CargojsonMessageHeader.mjs +4 -0
- package/dist/esm/api/types/CargojsonNominatedHandlingParty.d.mts +10 -0
- package/dist/esm/api/types/CargojsonNominatedHandlingParty.mjs +4 -0
- package/dist/esm/api/types/CargojsonOci.d.mts +13 -0
- package/dist/esm/api/types/CargojsonOci.mjs +4 -0
- package/dist/esm/api/types/CargojsonOfficeMessageAddress.d.mts +11 -0
- package/dist/esm/api/types/CargojsonOfficeMessageAddress.mjs +4 -0
- package/dist/esm/api/types/CargojsonOtherChargeCode.d.mts +147 -0
- package/dist/esm/api/types/CargojsonOtherChargeCode.mjs +140 -0
- package/dist/esm/api/types/CargojsonOtherChargeItem.d.mts +13 -0
- package/dist/esm/api/types/CargojsonOtherChargeItem.mjs +4 -0
- package/dist/esm/api/types/CargojsonOtherParticipant.d.mts +13 -0
- package/dist/esm/api/types/CargojsonOtherParticipant.mjs +4 -0
- package/dist/esm/api/types/CargojsonPackaging.d.mts +15 -0
- package/dist/esm/api/types/CargojsonPackaging.mjs +4 -0
- package/dist/esm/api/types/CargojsonParticipantAddress.d.mts +11 -0
- package/dist/esm/api/types/CargojsonParticipantAddress.mjs +4 -0
- package/dist/esm/api/types/CargojsonParticipantAddressType.d.mts +16 -0
- package/dist/esm/api/types/CargojsonParticipantAddressType.mjs +12 -0
- package/dist/esm/api/types/CargojsonParticipantIdentifier.d.mts +12 -0
- package/dist/esm/api/types/CargojsonParticipantIdentifier.mjs +4 -0
- package/dist/esm/api/types/CargojsonParticipantType.d.mts +23 -0
- package/dist/esm/api/types/CargojsonParticipantType.mjs +19 -0
- package/dist/esm/api/types/CargojsonPaymentCondition.d.mts +11 -0
- package/dist/esm/api/types/CargojsonPaymentCondition.mjs +7 -0
- package/dist/esm/api/types/CargojsonRateClassCode.d.mts +22 -0
- package/dist/esm/api/types/CargojsonRateClassCode.mjs +18 -0
- package/dist/esm/api/types/CargojsonRouting.d.mts +10 -0
- package/dist/esm/api/types/CargojsonRouting.mjs +4 -0
- package/dist/esm/api/types/CargojsonSalesIncentive.d.mts +11 -0
- package/dist/esm/api/types/CargojsonSalesIncentive.mjs +4 -0
- package/dist/esm/api/types/CargojsonServiceCode.d.mts +35 -0
- package/dist/esm/api/types/CargojsonServiceCode.mjs +31 -0
- package/dist/esm/api/types/CargojsonShipmentReferenceInformation.d.mts +10 -0
- package/dist/esm/api/types/CargojsonShipmentReferenceInformation.mjs +4 -0
- package/dist/esm/api/types/CargojsonSpecialHandlingCode.d.mts +122 -0
- package/dist/esm/api/types/CargojsonSpecialHandlingCode.mjs +117 -0
- package/dist/esm/api/types/CargojsonUld.d.mts +15 -0
- package/dist/esm/api/types/CargojsonUld.mjs +4 -0
- package/dist/esm/api/types/CargojsonVolume.d.mts +11 -0
- package/dist/esm/api/types/CargojsonVolume.mjs +4 -0
- package/dist/esm/api/types/CargojsonVolumeUnit.d.mts +10 -0
- package/dist/esm/api/types/CargojsonVolumeUnit.mjs +9 -0
- package/dist/esm/api/types/CargojsonWeight.d.mts +16 -0
- package/dist/esm/api/types/CargojsonWeight.mjs +4 -0
- package/dist/esm/api/types/CargojsonWeightUnit.d.mts +8 -0
- package/dist/esm/api/types/CargojsonWeightUnit.mjs +7 -0
- package/dist/esm/api/types/ChampAirWaybill1.d.mts +49 -0
- package/dist/esm/api/types/ChampAirWaybill1.mjs +4 -0
- package/dist/esm/api/types/ChampAirWaybillStatusEnum1.d.mts +10 -0
- package/dist/esm/api/types/ChampAirWaybillStatusEnum1.mjs +9 -0
- package/dist/esm/api/types/ChampConfirmationReceipt1.d.mts +22 -0
- package/dist/esm/api/types/ChampConfirmationReceipt1.mjs +4 -0
- package/dist/esm/api/types/ChampFlightStatus1.d.mts +20 -0
- package/dist/esm/api/types/ChampFlightStatus1.mjs +4 -0
- package/dist/esm/api/types/ChampFlightStatusEvent1.d.mts +27 -0
- package/dist/esm/api/types/ChampFlightStatusEvent1.mjs +4 -0
- package/dist/esm/api/types/ChampOriginAndDestination.d.mts +7 -0
- package/dist/esm/api/types/ChampOriginAndDestination.mjs +4 -0
- package/dist/esm/api/types/ChampQuantity.d.mts +9 -0
- package/dist/esm/api/types/ChampQuantity.mjs +4 -0
- package/dist/esm/api/types/CredentialInfoRes.d.mts +9 -0
- package/dist/esm/api/types/CredentialInfoRes.mjs +4 -0
- package/dist/esm/api/types/DeviceLimitedForList1.d.mts +1 -0
- package/dist/esm/api/types/OrgPrivateData1.d.mts +3 -0
- package/dist/esm/api/types/SessionByDeviceDataPointMetadata1.d.mts +1 -0
- package/dist/esm/api/types/WebcargoAccountId.d.mts +7 -0
- package/dist/esm/api/types/WebcargoAccountId.mjs +4 -0
- package/dist/esm/api/types/WebcargoBookStatus.d.mts +7 -0
- package/dist/esm/api/types/WebcargoBookStatus.mjs +4 -0
- package/dist/esm/api/types/WebcargoBookingRate.d.mts +20 -0
- package/dist/esm/api/types/WebcargoBookingRate.mjs +4 -0
- package/dist/esm/api/types/WebcargoBookingRecord1.d.mts +19 -0
- package/dist/esm/api/types/WebcargoBookingRecord1.mjs +4 -0
- package/dist/esm/api/types/WebcargoBusinessInfo.d.mts +9 -0
- package/dist/esm/api/types/WebcargoBusinessInfo.mjs +4 -0
- package/dist/esm/api/types/WebcargoCarrier.d.mts +6 -0
- package/dist/esm/api/types/WebcargoCarrier.mjs +4 -0
- package/dist/esm/api/types/WebcargoCommodityClass.d.mts +8 -0
- package/dist/esm/api/types/WebcargoCommodityClass.mjs +4 -0
- package/dist/esm/api/types/WebcargoConnection.d.mts +8 -0
- package/dist/esm/api/types/WebcargoConnection.mjs +4 -0
- package/dist/esm/api/types/WebcargoContact.d.mts +9 -0
- package/dist/esm/api/types/WebcargoContact.mjs +4 -0
- package/dist/esm/api/types/WebcargoDimension.d.mts +9 -0
- package/dist/esm/api/types/WebcargoDimension.mjs +4 -0
- package/dist/esm/api/types/WebcargoDocumentIdentifier.d.mts +8 -0
- package/dist/esm/api/types/WebcargoDocumentIdentifier.mjs +4 -0
- package/dist/esm/api/types/WebcargoEmbedResponse.d.mts +11 -0
- package/dist/esm/api/types/WebcargoEmbedResponse.mjs +4 -0
- package/dist/esm/api/types/WebcargoFee.d.mts +16 -0
- package/dist/esm/api/types/WebcargoFee.mjs +4 -0
- package/dist/esm/api/types/WebcargoLeg.d.mts +10 -0
- package/dist/esm/api/types/WebcargoLeg.mjs +4 -0
- package/dist/esm/api/types/WebcargoLoad.d.mts +11 -0
- package/dist/esm/api/types/WebcargoLoad.mjs +4 -0
- package/dist/esm/api/types/WebcargoLocation.d.mts +11 -0
- package/dist/esm/api/types/WebcargoLocation.mjs +4 -0
- package/dist/esm/api/types/WebcargoMessageHeader.d.mts +7 -0
- package/dist/esm/api/types/WebcargoMessageHeader.mjs +4 -0
- package/dist/esm/api/types/WebcargoPackage.d.mts +12 -0
- package/dist/esm/api/types/WebcargoPackage.mjs +4 -0
- package/dist/esm/api/types/WebcargoParty.d.mts +12 -0
- package/dist/esm/api/types/WebcargoParty.mjs +4 -0
- package/dist/esm/api/types/WebcargoPostalAddress.d.mts +14 -0
- package/dist/esm/api/types/WebcargoPostalAddress.mjs +4 -0
- package/dist/esm/api/types/WebcargoPriceIndicator.d.mts +12 -0
- package/dist/esm/api/types/WebcargoPriceIndicator.mjs +4 -0
- package/dist/esm/api/types/WebcargoProduct.d.mts +7 -0
- package/dist/esm/api/types/WebcargoProduct.mjs +4 -0
- package/dist/esm/api/types/WebcargoResponseStatus.d.mts +7 -0
- package/dist/esm/api/types/WebcargoResponseStatus.mjs +4 -0
- package/dist/esm/api/types/WebcargoResponseStatusEntry.d.mts +7 -0
- package/dist/esm/api/types/WebcargoResponseStatusEntry.mjs +4 -0
- package/dist/esm/api/types/WebcargoSegment.d.mts +21 -0
- package/dist/esm/api/types/WebcargoSegment.mjs +4 -0
- package/dist/esm/api/types/WebcargoShipment.d.mts +8 -0
- package/dist/esm/api/types/WebcargoShipment.mjs +4 -0
- package/dist/esm/api/types/WebcargoValueWithUnit.d.mts +13 -0
- package/dist/esm/api/types/WebcargoValueWithUnit.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +81 -1
- package/dist/esm/api/types/index.mjs +81 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +798 -9
- package/dist/cjs/api/types/DecodedJwtWithOrgAndUserId.d.ts +0 -27
- package/dist/esm/api/types/DecodedJwtWithOrgAndUserId.d.mts +0 -27
- /package/dist/cjs/api/{types/DecodedJwtWithOrgAndUserId.js → resources/integrations/resources/airWaybills/client/requests/AirWaybillCreateReq.js} +0 -0
- /package/dist/esm/api/{types/DecodedJwtWithOrgAndUserId.mjs → resources/integrations/resources/airWaybills/client/requests/AirWaybillCreateReq.mjs} +0 -0
|
@@ -60,24 +60,24 @@ export declare class Root {
|
|
|
60
60
|
pingUnauthd(requestOptions?: Root.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
|
|
61
61
|
private __pingUnauthd;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* Test endpoint that intentionally fails for error handling validation and monitoring purposes. | () -> (None)
|
|
64
64
|
*
|
|
65
65
|
* @param {Root.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
|
-
* await client.utils.root.
|
|
68
|
+
* await client.utils.root.failure()
|
|
69
69
|
*/
|
|
70
|
-
|
|
71
|
-
private
|
|
70
|
+
failure(requestOptions?: Root.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
71
|
+
private __failure;
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* Returns a health status message used for monitoring system availability and uptime. | () -> (dict)
|
|
74
74
|
*
|
|
75
75
|
* @param {Root.RequestOptions} requestOptions - Request-specific configuration.
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
|
-
* await client.utils.root.
|
|
78
|
+
* await client.utils.root.health()
|
|
79
79
|
*/
|
|
80
|
-
|
|
81
|
-
private
|
|
80
|
+
health(requestOptions?: Root.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
|
|
81
|
+
private __health;
|
|
82
82
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
83
83
|
}
|
|
@@ -172,22 +172,22 @@ export class Root {
|
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
|
-
*
|
|
175
|
+
* Test endpoint that intentionally fails for error handling validation and monitoring purposes. | () -> (None)
|
|
176
176
|
*
|
|
177
177
|
* @param {Root.RequestOptions} requestOptions - Request-specific configuration.
|
|
178
178
|
*
|
|
179
179
|
* @example
|
|
180
|
-
* await client.utils.root.
|
|
180
|
+
* await client.utils.root.failure()
|
|
181
181
|
*/
|
|
182
|
-
|
|
183
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
182
|
+
failure(requestOptions) {
|
|
183
|
+
return core.HttpResponsePromise.fromPromise(this.__failure(requestOptions));
|
|
184
184
|
}
|
|
185
|
-
|
|
185
|
+
__failure(requestOptions) {
|
|
186
186
|
return __awaiter(this, void 0, void 0, function* () {
|
|
187
187
|
var _a, _b, _c, _d;
|
|
188
188
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
189
189
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
190
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "
|
|
190
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "failure"),
|
|
191
191
|
method: "GET",
|
|
192
192
|
headers: _headers,
|
|
193
193
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -213,7 +213,7 @@ export class Root {
|
|
|
213
213
|
rawResponse: _response.rawResponse,
|
|
214
214
|
});
|
|
215
215
|
case "timeout":
|
|
216
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /
|
|
216
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /failure.");
|
|
217
217
|
case "unknown":
|
|
218
218
|
throw new errors.ChrtError({
|
|
219
219
|
message: _response.error.errorMessage,
|
|
@@ -223,22 +223,22 @@ export class Root {
|
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
225
|
/**
|
|
226
|
-
*
|
|
226
|
+
* Returns a health status message used for monitoring system availability and uptime. | () -> (dict)
|
|
227
227
|
*
|
|
228
228
|
* @param {Root.RequestOptions} requestOptions - Request-specific configuration.
|
|
229
229
|
*
|
|
230
230
|
* @example
|
|
231
|
-
* await client.utils.root.
|
|
231
|
+
* await client.utils.root.health()
|
|
232
232
|
*/
|
|
233
|
-
|
|
234
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
233
|
+
health(requestOptions) {
|
|
234
|
+
return core.HttpResponsePromise.fromPromise(this.__health(requestOptions));
|
|
235
235
|
}
|
|
236
|
-
|
|
236
|
+
__health(requestOptions) {
|
|
237
237
|
return __awaiter(this, void 0, void 0, function* () {
|
|
238
238
|
var _a, _b, _c, _d;
|
|
239
239
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
240
240
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
241
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "
|
|
241
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "health"),
|
|
242
242
|
method: "GET",
|
|
243
243
|
headers: _headers,
|
|
244
244
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -264,7 +264,7 @@ export class Root {
|
|
|
264
264
|
rawResponse: _response.rawResponse,
|
|
265
265
|
});
|
|
266
266
|
case "timeout":
|
|
267
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /
|
|
267
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /health.");
|
|
268
268
|
case "unknown":
|
|
269
269
|
throw new errors.ChrtError({
|
|
270
270
|
message: _response.error.errorMessage,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface Caller {
|
|
6
|
+
credential_type: Chrt.CallerCredentialTypeEnum;
|
|
7
|
+
credential?: string | null;
|
|
8
|
+
o: Chrt.ClerkOrgData;
|
|
9
|
+
/** Must be a string starting with `user_` */
|
|
10
|
+
user_id: string;
|
|
11
|
+
/** Must be a string starting with `org_` */
|
|
12
|
+
org_id: string;
|
|
13
|
+
org_public_metadata?: Record<string, unknown> | null;
|
|
14
|
+
primary_email_address?: string | null;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CallerCredentialTypeEnum = "session_jwt" | "m2m_jwt" | "api_key";
|
|
5
|
+
export declare const CallerCredentialTypeEnum: {
|
|
6
|
+
readonly SessionJwt: "session_jwt";
|
|
7
|
+
readonly M2MJwt: "m2m_jwt";
|
|
8
|
+
readonly ApiKey: "api_key";
|
|
9
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* [CUSTOMER] Shipper or consignee with address and optional contact info.
|
|
7
|
+
* account_number is the IATA participant code (optional).
|
|
8
|
+
*/
|
|
9
|
+
export interface CargojsonAccountContact {
|
|
10
|
+
accountNumber?: string | null;
|
|
11
|
+
address: Chrt.CargojsonAddress;
|
|
12
|
+
contactDetails?: Chrt.CargojsonContactDetail[] | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* [CUSTOMER] Accounting information line item.
|
|
7
|
+
*/
|
|
8
|
+
export interface CargojsonAccounting {
|
|
9
|
+
identifier: Chrt.CargojsonAccountingInformationIdentifier;
|
|
10
|
+
accountingInformation: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* https://github.com/champ-cargosystems-gmbh/cargojson.champ.aero/blob/master/src/main/java/aero/champ/cargojson/common/AccountingInformationIdentifier.java
|
|
6
|
+
*/
|
|
7
|
+
export type CargojsonAccountingInformationIdentifier = "CreditCardNumber" | "CreditCardExpiryDate" | "CreditCardIssuanceName" | "GeneralInformation" | "GovernmentBillOfLading" | "MiscellaneousChargeOrder" | "ModeOfSettlement" | "ReturnToOrigin" | "ShippersReferenceNumber";
|
|
8
|
+
export declare const CargojsonAccountingInformationIdentifier: {
|
|
9
|
+
readonly CreditCardNumber: "CreditCardNumber";
|
|
10
|
+
readonly CreditCardExpiryDate: "CreditCardExpiryDate";
|
|
11
|
+
readonly CreditCardIssuanceName: "CreditCardIssuanceName";
|
|
12
|
+
readonly GeneralInformation: "GeneralInformation";
|
|
13
|
+
readonly GovernmentBillOfLading: "GovernmentBillOfLading";
|
|
14
|
+
readonly MiscellaneousChargeOrder: "MiscellaneousChargeOrder";
|
|
15
|
+
readonly ModeOfSettlement: "ModeOfSettlement";
|
|
16
|
+
readonly ReturnToOrigin: "ReturnToOrigin";
|
|
17
|
+
readonly ShippersReferenceNumber: "ShippersReferenceNumber";
|
|
18
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export const CargojsonAccountingInformationIdentifier = {
|
|
5
|
+
CreditCardNumber: "CreditCardNumber",
|
|
6
|
+
CreditCardExpiryDate: "CreditCardExpiryDate",
|
|
7
|
+
CreditCardIssuanceName: "CreditCardIssuanceName",
|
|
8
|
+
GeneralInformation: "GeneralInformation",
|
|
9
|
+
GovernmentBillOfLading: "GovernmentBillOfLading",
|
|
10
|
+
MiscellaneousChargeOrder: "MiscellaneousChargeOrder",
|
|
11
|
+
ModeOfSettlement: "ModeOfSettlement",
|
|
12
|
+
ReturnToOrigin: "ReturnToOrigin",
|
|
13
|
+
ShippersReferenceNumber: "ShippersReferenceNumber",
|
|
14
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* [CUSTOMER] Postal address of shipper or consignee.
|
|
6
|
+
*/
|
|
7
|
+
export interface CargojsonAddress {
|
|
8
|
+
name1: string;
|
|
9
|
+
name2?: string | null;
|
|
10
|
+
streetAddress1: string;
|
|
11
|
+
streetAddress2?: string | null;
|
|
12
|
+
place: string;
|
|
13
|
+
stateProvince?: string | null;
|
|
14
|
+
country: string;
|
|
15
|
+
postCode: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* [CONFIG] Routing addresses for the CargoHUB message.
|
|
7
|
+
*/
|
|
8
|
+
export interface CargojsonAddressing {
|
|
9
|
+
routeVia?: Chrt.CargojsonParticipantAddress | null;
|
|
10
|
+
routeAnswerVia?: Chrt.CargojsonParticipantAddress | null;
|
|
11
|
+
senderAddresses?: Chrt.CargojsonParticipantAddress[];
|
|
12
|
+
finalRecipientAddresses?: Chrt.CargojsonParticipantAddress[];
|
|
13
|
+
replyAnswerTo?: Chrt.CargojsonParticipantAddress[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* [WEBCARGO/CONFIG] Forwarder's IATA agent identification.
|
|
7
|
+
* Same identity as `iata` in WebcargoEmbedViewParams and OY party in bookingRecord XML.
|
|
8
|
+
*/
|
|
9
|
+
export interface CargojsonAgent {
|
|
10
|
+
name: string;
|
|
11
|
+
place: string;
|
|
12
|
+
accountNumber?: string | null;
|
|
13
|
+
iataCargoAgentNumericCode?: string | null;
|
|
14
|
+
iataCargoAgentCASSAddress?: string | null;
|
|
15
|
+
participantIdentifier?: Chrt.CargojsonParticipantIdentifier | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* https://github.com/champ-cargosystems-gmbh/cargojson.champ.aero/blob/master/src/main/java/aero/champ/cargojson/common/CASSIndicator.java
|
|
6
|
+
*/
|
|
7
|
+
export type CargojsonCassIndicator = "AWB_AS_INVOICE" | "CANCEL_AWB" | "CHARGES_CORRECTION_ADIVCE" | "DEBIT_OR_CREDIT_MEMORANDUM" | "IDENTIFICATION" | "LATE_REPORTING_WAYBILLS" | "NO_COMMISSION_OR_NEGATIVE_SALES_INCENTIVE" | "ORIGINAL_DATA" | "REVISED_ADJUSTED_DATA" | "SERVICE_AWB" | "TAX_CALCULATION_REQUIRED" | "VOID_AWB";
|
|
8
|
+
export declare const CargojsonCassIndicator: {
|
|
9
|
+
readonly AwbAsInvoice: "AWB_AS_INVOICE";
|
|
10
|
+
readonly CancelAwb: "CANCEL_AWB";
|
|
11
|
+
readonly ChargesCorrectionAdivce: "CHARGES_CORRECTION_ADIVCE";
|
|
12
|
+
readonly DebitOrCreditMemorandum: "DEBIT_OR_CREDIT_MEMORANDUM";
|
|
13
|
+
readonly Identification: "IDENTIFICATION";
|
|
14
|
+
readonly LateReportingWaybills: "LATE_REPORTING_WAYBILLS";
|
|
15
|
+
readonly NoCommissionOrNegativeSalesIncentive: "NO_COMMISSION_OR_NEGATIVE_SALES_INCENTIVE";
|
|
16
|
+
readonly OriginalData: "ORIGINAL_DATA";
|
|
17
|
+
readonly RevisedAdjustedData: "REVISED_ADJUSTED_DATA";
|
|
18
|
+
readonly ServiceAwb: "SERVICE_AWB";
|
|
19
|
+
readonly TaxCalculationRequired: "TAX_CALCULATION_REQUIRED";
|
|
20
|
+
readonly VoidAwb: "VOID_AWB";
|
|
21
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export const CargojsonCassIndicator = {
|
|
5
|
+
AwbAsInvoice: "AWB_AS_INVOICE",
|
|
6
|
+
CancelAwb: "CANCEL_AWB",
|
|
7
|
+
ChargesCorrectionAdivce: "CHARGES_CORRECTION_ADIVCE",
|
|
8
|
+
DebitOrCreditMemorandum: "DEBIT_OR_CREDIT_MEMORANDUM",
|
|
9
|
+
Identification: "IDENTIFICATION",
|
|
10
|
+
LateReportingWaybills: "LATE_REPORTING_WAYBILLS",
|
|
11
|
+
NoCommissionOrNegativeSalesIncentive: "NO_COMMISSION_OR_NEGATIVE_SALES_INCENTIVE",
|
|
12
|
+
OriginalData: "ORIGINAL_DATA",
|
|
13
|
+
RevisedAdjustedData: "REVISED_ADJUSTED_DATA",
|
|
14
|
+
ServiceAwb: "SERVICE_AWB",
|
|
15
|
+
TaxCalculationRequired: "TAX_CALCULATION_REQUIRED",
|
|
16
|
+
VoidAwb: "VOID_AWB",
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* [WEBCARGO/CUSTOMER] Rate line item.
|
|
7
|
+
*/
|
|
8
|
+
export interface CargojsonCharge {
|
|
9
|
+
chargeableWeight?: Chrt.CargojsonWeight | null;
|
|
10
|
+
rateClassCode?: Chrt.CargojsonRateClassCode | null;
|
|
11
|
+
rateClassCodeBasis?: Chrt.CargojsonRateClassCode | null;
|
|
12
|
+
classRatePercentage?: number | null;
|
|
13
|
+
uldRateClassType?: string | null;
|
|
14
|
+
rateOrCharge?: number | null;
|
|
15
|
+
totalChargeAmount?: number | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* https://github.com/champ-cargosystems-gmbh/cargojson.champ.aero/blob/master/src/main/java/aero/champ/cargojson/common/ChargeCode.java
|
|
6
|
+
*/
|
|
7
|
+
export type CargojsonChargeCode = "ALL_CHARGES_COLLECT" | "ALL_CHARGES_COLLECT_BY_CREDIT_CARD" | "ALL_CHARGES_COLLECT_BY_GBL" | "ALL_CHARGES_PREPAID_CASH" | "ALL_CHARGES_PREPAID_CREDIT" | "ALL_CHARGES_PREPAID_BY_CREDIT_CARD" | "ALL_CHARGES_PREPAID_BY_GBL" | "DESTINATION_COLLECT_CASH" | "DESTINATION_COLLECT_CREDIT" | "DESTINATION_COLLECT_BY_MCO" | "NO_CHARGE" | "NO_WEIGHT_CHARGE_OTHER_CHARGES_COLLECT" | "NO_WEIGHT_CHARGE_OTHER_CHARGES_PREPAID_BY_CREDIT_CARD" | "NO_WEIGHT_CHARGE_OTHER_CHARGES_PREPAID_BY_GBL" | "NO_WEIGHT_CHARGE_OTHER_CHARGES_PREPAID_CASH" | "NO_WEIGHT_CHARGE_OTHER_CHARGES_PREPAID_CREDIT" | "PARTIAL_COLLECT_CREDIT_PARTIAL_PREPAID_CASH" | "PARTIAL_COLLECT_CREDIT_PARTIAL_PREPAID_CREDIT" | "PARTIAL_COLLECT_CREDIT_CARD_PARTIAL_PREPAID_CASH" | "PARTIAL_COLLECT_CREDIT_CARD_PARTIAL_PREPAID_CREDIT" | "PARTIAL_PREPAID_CASH_PARTIAL_COLLECT_CASH" | "PARTIAL_PREPAID_CREDIT_PARTIAL_COLLECT_CASH" | "PARTIAL_PREPAID_CREDIT_CARD_PARTIAL_COLLECT_CASH" | "PARTIAL_PREPAID_CREDIT_CARD_PARTIAL_COLLECT_CREDIT" | "PARTIAL_PREPAID_CREDIT_CARD_PARTIAL_COLLECT_CREDIT_CARD";
|
|
8
|
+
export declare const CargojsonChargeCode: {
|
|
9
|
+
readonly AllChargesCollect: "ALL_CHARGES_COLLECT";
|
|
10
|
+
readonly AllChargesCollectByCreditCard: "ALL_CHARGES_COLLECT_BY_CREDIT_CARD";
|
|
11
|
+
readonly AllChargesCollectByGbl: "ALL_CHARGES_COLLECT_BY_GBL";
|
|
12
|
+
readonly AllChargesPrepaidCash: "ALL_CHARGES_PREPAID_CASH";
|
|
13
|
+
readonly AllChargesPrepaidCredit: "ALL_CHARGES_PREPAID_CREDIT";
|
|
14
|
+
readonly AllChargesPrepaidByCreditCard: "ALL_CHARGES_PREPAID_BY_CREDIT_CARD";
|
|
15
|
+
readonly AllChargesPrepaidByGbl: "ALL_CHARGES_PREPAID_BY_GBL";
|
|
16
|
+
readonly DestinationCollectCash: "DESTINATION_COLLECT_CASH";
|
|
17
|
+
readonly DestinationCollectCredit: "DESTINATION_COLLECT_CREDIT";
|
|
18
|
+
readonly DestinationCollectByMco: "DESTINATION_COLLECT_BY_MCO";
|
|
19
|
+
readonly NoCharge: "NO_CHARGE";
|
|
20
|
+
readonly NoWeightChargeOtherChargesCollect: "NO_WEIGHT_CHARGE_OTHER_CHARGES_COLLECT";
|
|
21
|
+
readonly NoWeightChargeOtherChargesPrepaidByCreditCard: "NO_WEIGHT_CHARGE_OTHER_CHARGES_PREPAID_BY_CREDIT_CARD";
|
|
22
|
+
readonly NoWeightChargeOtherChargesPrepaidByGbl: "NO_WEIGHT_CHARGE_OTHER_CHARGES_PREPAID_BY_GBL";
|
|
23
|
+
readonly NoWeightChargeOtherChargesPrepaidCash: "NO_WEIGHT_CHARGE_OTHER_CHARGES_PREPAID_CASH";
|
|
24
|
+
readonly NoWeightChargeOtherChargesPrepaidCredit: "NO_WEIGHT_CHARGE_OTHER_CHARGES_PREPAID_CREDIT";
|
|
25
|
+
readonly PartialCollectCreditPartialPrepaidCash: "PARTIAL_COLLECT_CREDIT_PARTIAL_PREPAID_CASH";
|
|
26
|
+
readonly PartialCollectCreditPartialPrepaidCredit: "PARTIAL_COLLECT_CREDIT_PARTIAL_PREPAID_CREDIT";
|
|
27
|
+
readonly PartialCollectCreditCardPartialPrepaidCash: "PARTIAL_COLLECT_CREDIT_CARD_PARTIAL_PREPAID_CASH";
|
|
28
|
+
readonly PartialCollectCreditCardPartialPrepaidCredit: "PARTIAL_COLLECT_CREDIT_CARD_PARTIAL_PREPAID_CREDIT";
|
|
29
|
+
readonly PartialPrepaidCashPartialCollectCash: "PARTIAL_PREPAID_CASH_PARTIAL_COLLECT_CASH";
|
|
30
|
+
readonly PartialPrepaidCreditPartialCollectCash: "PARTIAL_PREPAID_CREDIT_PARTIAL_COLLECT_CASH";
|
|
31
|
+
readonly PartialPrepaidCreditCardPartialCollectCash: "PARTIAL_PREPAID_CREDIT_CARD_PARTIAL_COLLECT_CASH";
|
|
32
|
+
readonly PartialPrepaidCreditCardPartialCollectCredit: "PARTIAL_PREPAID_CREDIT_CARD_PARTIAL_COLLECT_CREDIT";
|
|
33
|
+
readonly PartialPrepaidCreditCardPartialCollectCreditCard: "PARTIAL_PREPAID_CREDIT_CARD_PARTIAL_COLLECT_CREDIT_CARD";
|
|
34
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export const CargojsonChargeCode = {
|
|
5
|
+
AllChargesCollect: "ALL_CHARGES_COLLECT",
|
|
6
|
+
AllChargesCollectByCreditCard: "ALL_CHARGES_COLLECT_BY_CREDIT_CARD",
|
|
7
|
+
AllChargesCollectByGbl: "ALL_CHARGES_COLLECT_BY_GBL",
|
|
8
|
+
AllChargesPrepaidCash: "ALL_CHARGES_PREPAID_CASH",
|
|
9
|
+
AllChargesPrepaidCredit: "ALL_CHARGES_PREPAID_CREDIT",
|
|
10
|
+
AllChargesPrepaidByCreditCard: "ALL_CHARGES_PREPAID_BY_CREDIT_CARD",
|
|
11
|
+
AllChargesPrepaidByGbl: "ALL_CHARGES_PREPAID_BY_GBL",
|
|
12
|
+
DestinationCollectCash: "DESTINATION_COLLECT_CASH",
|
|
13
|
+
DestinationCollectCredit: "DESTINATION_COLLECT_CREDIT",
|
|
14
|
+
DestinationCollectByMco: "DESTINATION_COLLECT_BY_MCO",
|
|
15
|
+
NoCharge: "NO_CHARGE",
|
|
16
|
+
NoWeightChargeOtherChargesCollect: "NO_WEIGHT_CHARGE_OTHER_CHARGES_COLLECT",
|
|
17
|
+
NoWeightChargeOtherChargesPrepaidByCreditCard: "NO_WEIGHT_CHARGE_OTHER_CHARGES_PREPAID_BY_CREDIT_CARD",
|
|
18
|
+
NoWeightChargeOtherChargesPrepaidByGbl: "NO_WEIGHT_CHARGE_OTHER_CHARGES_PREPAID_BY_GBL",
|
|
19
|
+
NoWeightChargeOtherChargesPrepaidCash: "NO_WEIGHT_CHARGE_OTHER_CHARGES_PREPAID_CASH",
|
|
20
|
+
NoWeightChargeOtherChargesPrepaidCredit: "NO_WEIGHT_CHARGE_OTHER_CHARGES_PREPAID_CREDIT",
|
|
21
|
+
PartialCollectCreditPartialPrepaidCash: "PARTIAL_COLLECT_CREDIT_PARTIAL_PREPAID_CASH",
|
|
22
|
+
PartialCollectCreditPartialPrepaidCredit: "PARTIAL_COLLECT_CREDIT_PARTIAL_PREPAID_CREDIT",
|
|
23
|
+
PartialCollectCreditCardPartialPrepaidCash: "PARTIAL_COLLECT_CREDIT_CARD_PARTIAL_PREPAID_CASH",
|
|
24
|
+
PartialCollectCreditCardPartialPrepaidCredit: "PARTIAL_COLLECT_CREDIT_CARD_PARTIAL_PREPAID_CREDIT",
|
|
25
|
+
PartialPrepaidCashPartialCollectCash: "PARTIAL_PREPAID_CASH_PARTIAL_COLLECT_CASH",
|
|
26
|
+
PartialPrepaidCreditPartialCollectCash: "PARTIAL_PREPAID_CREDIT_PARTIAL_COLLECT_CASH",
|
|
27
|
+
PartialPrepaidCreditCardPartialCollectCash: "PARTIAL_PREPAID_CREDIT_CARD_PARTIAL_COLLECT_CASH",
|
|
28
|
+
PartialPrepaidCreditCardPartialCollectCredit: "PARTIAL_PREPAID_CREDIT_CARD_PARTIAL_COLLECT_CREDIT",
|
|
29
|
+
PartialPrepaidCreditCardPartialCollectCreditCard: "PARTIAL_PREPAID_CREDIT_CARD_PARTIAL_COLLECT_CREDIT_CARD",
|
|
30
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* [CUSTOMER/WEBCARGO] Currency from WebCargo <PriceIndicator>,
|
|
7
|
+
* payment conditions from customer's commercial terms.
|
|
8
|
+
*/
|
|
9
|
+
export interface CargojsonChargeDeclarations {
|
|
10
|
+
isoCurrencyCode: string;
|
|
11
|
+
chargeCode?: Chrt.CargojsonChargeCode | null;
|
|
12
|
+
payment_WeightValuation?: Chrt.CargojsonPaymentCondition | null;
|
|
13
|
+
payment_OtherCharges?: Chrt.CargojsonPaymentCondition | null;
|
|
14
|
+
declaredValueForCarriage?: number | null;
|
|
15
|
+
declaredValueForCustoms?: number | null;
|
|
16
|
+
declaredValueForInsurance?: number | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* [WEBCARGO/CUSTOMER] Rate description line.
|
|
7
|
+
*/
|
|
8
|
+
export interface CargojsonChargeItem {
|
|
9
|
+
numberOfPieces?: number | null;
|
|
10
|
+
rateCombinationPointCityCode?: string | null;
|
|
11
|
+
commodityItemNumber?: string[] | null;
|
|
12
|
+
goodsDescription?: string | null;
|
|
13
|
+
grossWeight?: Chrt.CargojsonWeight | null;
|
|
14
|
+
consolidation?: boolean;
|
|
15
|
+
harmonisedCommodityCode?: string[] | null;
|
|
16
|
+
isoCountryCodeOfOriginOfGoods?: string | null;
|
|
17
|
+
packaging?: Chrt.CargojsonPackaging[] | null;
|
|
18
|
+
charges?: Chrt.CargojsonCharge[] | null;
|
|
19
|
+
serviceCode?: Chrt.CargojsonServiceCode | null;
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* [CUSTOMER] Prepaid or collect charge totals.
|
|
6
|
+
* One of prepaid or collect charge summary must be given.
|
|
7
|
+
*/
|
|
8
|
+
export interface CargojsonChargeSummary {
|
|
9
|
+
totalWeightCharge?: number | null;
|
|
10
|
+
valuationCharge?: number | null;
|
|
11
|
+
taxes?: number | null;
|
|
12
|
+
totalOtherChargesDueAgent?: number | null;
|
|
13
|
+
totalOtherChargesDueCarrier?: number | null;
|
|
14
|
+
chargeSummaryTotal: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* [CUSTOMER] Charges Collect expressed in destination currency.
|
|
6
|
+
*/
|
|
7
|
+
export interface CargojsonCollectChargesInDestCurrency {
|
|
8
|
+
isoCurrencyCode: string;
|
|
9
|
+
currencyConversionRateOfExchange: number;
|
|
10
|
+
chargesInDestinationCurrency: number;
|
|
11
|
+
chargesAtDestination: number;
|
|
12
|
+
totalCollectCharges: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* [CUSTOMER] Commission information concerning CASS settlement.
|
|
6
|
+
*/
|
|
7
|
+
export interface CargojsonCommissionInfo {
|
|
8
|
+
amountCASSSettlementFactor?: number | null;
|
|
9
|
+
percentageCASSSettlementFactor?: number | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* [CUSTOMER] Contact details (phone, fax, email).
|
|
6
|
+
* contactIdentifier: TE=telephone, FX=fax, EM=email.
|
|
7
|
+
*/
|
|
8
|
+
export interface CargojsonContactDetail {
|
|
9
|
+
contactIdentifier: string;
|
|
10
|
+
contactNumber: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Java source calls this LengthUnit; we use DimensionUnit since it
|
|
6
|
+
* describes all three axes (length, width, height) in CargojsonDimensions.
|
|
7
|
+
*/
|
|
8
|
+
export type CargojsonDimensionUnit = "CENTIMETRE" | "DECIMETRE" | "FOOT" | "INCH" | "METRE" | "MILLIMETRE" | "YARD";
|
|
9
|
+
export declare const CargojsonDimensionUnit: {
|
|
10
|
+
readonly Centimetre: "CENTIMETRE";
|
|
11
|
+
readonly Decimetre: "DECIMETRE";
|
|
12
|
+
readonly Foot: "FOOT";
|
|
13
|
+
readonly Inch: "INCH";
|
|
14
|
+
readonly Metre: "METRE";
|
|
15
|
+
readonly Millimetre: "MILLIMETRE";
|
|
16
|
+
readonly Yard: "YARD";
|
|
17
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export const CargojsonDimensionUnit = {
|
|
5
|
+
Centimetre: "CENTIMETRE",
|
|
6
|
+
Decimetre: "DECIMETRE",
|
|
7
|
+
Foot: "FOOT",
|
|
8
|
+
Inch: "INCH",
|
|
9
|
+
Metre: "METRE",
|
|
10
|
+
Millimetre: "MILLIMETRE",
|
|
11
|
+
Yard: "YARD",
|
|
12
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* [WEBCARGO/CUSTOMER] Package dimensions from <Dimension> or customer input.
|
|
7
|
+
*/
|
|
8
|
+
export interface CargojsonDimensions {
|
|
9
|
+
unit?: Chrt.CargojsonDimensionUnit;
|
|
10
|
+
length: number;
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
}
|