@chrt-inc/typescript-sdk 1.504.0 → 1.511.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/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/types/Caller.d.ts +14 -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/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/CredentialInfoResponse.d.ts +17 -0
- package/dist/cjs/api/types/CredentialInfoResponse.js +14 -0
- package/dist/cjs/api/types/OrgPrivateData1.d.ts +3 -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/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/types/Caller.d.mts +14 -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/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/CredentialInfoResponse.d.mts +17 -0
- package/dist/esm/api/types/CredentialInfoResponse.mjs +11 -0
- package/dist/esm/api/types/OrgPrivateData1.d.mts +3 -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 +662 -3
- 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
package/reference.md
CHANGED
|
@@ -3061,6 +3061,665 @@ await client.billing.lineItemGroups.s3Objects.deleteV1("line_item_group_s3_objec
|
|
|
3061
3061
|
</dl>
|
|
3062
3062
|
</details>
|
|
3063
3063
|
|
|
3064
|
+
## Integrations AirWaybills
|
|
3065
|
+
|
|
3066
|
+
<details><summary><code>client.integrations.airWaybills.<a href="/src/api/resources/integrations/resources/airWaybills/client/Client.ts">createV1</a>({ ...params }) -> Chrt.ChampAirWaybill1</code></summary>
|
|
3067
|
+
<dl>
|
|
3068
|
+
<dd>
|
|
3069
|
+
|
|
3070
|
+
#### 📝 Description
|
|
3071
|
+
|
|
3072
|
+
<dl>
|
|
3073
|
+
<dd>
|
|
3074
|
+
|
|
3075
|
+
<dl>
|
|
3076
|
+
<dd>
|
|
3077
|
+
|
|
3078
|
+
Creates a CHAMP air waybill pre-populated from the stored WebCargo booking record. The booking must be synced first via the webcargo_bookings sync route. Returns 409 if an air waybill already exists for this task group. | (AirWaybillCreateReq) -> (ChampAirWaybill1)
|
|
3079
|
+
|
|
3080
|
+
</dd>
|
|
3081
|
+
</dl>
|
|
3082
|
+
</dd>
|
|
3083
|
+
</dl>
|
|
3084
|
+
|
|
3085
|
+
#### 🔌 Usage
|
|
3086
|
+
|
|
3087
|
+
<dl>
|
|
3088
|
+
<dd>
|
|
3089
|
+
|
|
3090
|
+
<dl>
|
|
3091
|
+
<dd>
|
|
3092
|
+
|
|
3093
|
+
```typescript
|
|
3094
|
+
await client.integrations.airWaybills.createV1({
|
|
3095
|
+
task_group_id: "task_group_id",
|
|
3096
|
+
});
|
|
3097
|
+
```
|
|
3098
|
+
|
|
3099
|
+
</dd>
|
|
3100
|
+
</dl>
|
|
3101
|
+
</dd>
|
|
3102
|
+
</dl>
|
|
3103
|
+
|
|
3104
|
+
#### ⚙️ Parameters
|
|
3105
|
+
|
|
3106
|
+
<dl>
|
|
3107
|
+
<dd>
|
|
3108
|
+
|
|
3109
|
+
<dl>
|
|
3110
|
+
<dd>
|
|
3111
|
+
|
|
3112
|
+
**request:** `Chrt.integrations.AirWaybillCreateReq`
|
|
3113
|
+
|
|
3114
|
+
</dd>
|
|
3115
|
+
</dl>
|
|
3116
|
+
|
|
3117
|
+
<dl>
|
|
3118
|
+
<dd>
|
|
3119
|
+
|
|
3120
|
+
**requestOptions:** `AirWaybills.RequestOptions`
|
|
3121
|
+
|
|
3122
|
+
</dd>
|
|
3123
|
+
</dl>
|
|
3124
|
+
</dd>
|
|
3125
|
+
</dl>
|
|
3126
|
+
|
|
3127
|
+
</dd>
|
|
3128
|
+
</dl>
|
|
3129
|
+
</details>
|
|
3130
|
+
|
|
3131
|
+
<details><summary><code>client.integrations.airWaybills.<a href="/src/api/resources/integrations/resources/airWaybills/client/Client.ts">retrieveV1</a>(taskGroupId) -> Chrt.ChampAirWaybill1</code></summary>
|
|
3132
|
+
<dl>
|
|
3133
|
+
<dd>
|
|
3134
|
+
|
|
3135
|
+
#### 📝 Description
|
|
3136
|
+
|
|
3137
|
+
<dl>
|
|
3138
|
+
<dd>
|
|
3139
|
+
|
|
3140
|
+
<dl>
|
|
3141
|
+
<dd>
|
|
3142
|
+
|
|
3143
|
+
Retrieves the stored CHAMP air waybill for a task group. | () -> (ChampAirWaybill1)
|
|
3144
|
+
|
|
3145
|
+
</dd>
|
|
3146
|
+
</dl>
|
|
3147
|
+
</dd>
|
|
3148
|
+
</dl>
|
|
3149
|
+
|
|
3150
|
+
#### 🔌 Usage
|
|
3151
|
+
|
|
3152
|
+
<dl>
|
|
3153
|
+
<dd>
|
|
3154
|
+
|
|
3155
|
+
<dl>
|
|
3156
|
+
<dd>
|
|
3157
|
+
|
|
3158
|
+
```typescript
|
|
3159
|
+
await client.integrations.airWaybills.retrieveV1("task_group_id");
|
|
3160
|
+
```
|
|
3161
|
+
|
|
3162
|
+
</dd>
|
|
3163
|
+
</dl>
|
|
3164
|
+
</dd>
|
|
3165
|
+
</dl>
|
|
3166
|
+
|
|
3167
|
+
#### ⚙️ Parameters
|
|
3168
|
+
|
|
3169
|
+
<dl>
|
|
3170
|
+
<dd>
|
|
3171
|
+
|
|
3172
|
+
<dl>
|
|
3173
|
+
<dd>
|
|
3174
|
+
|
|
3175
|
+
**taskGroupId:** `string`
|
|
3176
|
+
|
|
3177
|
+
</dd>
|
|
3178
|
+
</dl>
|
|
3179
|
+
|
|
3180
|
+
<dl>
|
|
3181
|
+
<dd>
|
|
3182
|
+
|
|
3183
|
+
**requestOptions:** `AirWaybills.RequestOptions`
|
|
3184
|
+
|
|
3185
|
+
</dd>
|
|
3186
|
+
</dl>
|
|
3187
|
+
</dd>
|
|
3188
|
+
</dl>
|
|
3189
|
+
|
|
3190
|
+
</dd>
|
|
3191
|
+
</dl>
|
|
3192
|
+
</details>
|
|
3193
|
+
|
|
3194
|
+
<details><summary><code>client.integrations.airWaybills.<a href="/src/api/resources/integrations/resources/airWaybills/client/Client.ts">updateV1</a>(taskGroupId, { ...params }) -> Chrt.ChampAirWaybill1</code></summary>
|
|
3195
|
+
<dl>
|
|
3196
|
+
<dd>
|
|
3197
|
+
|
|
3198
|
+
#### 📝 Description
|
|
3199
|
+
|
|
3200
|
+
<dl>
|
|
3201
|
+
<dd>
|
|
3202
|
+
|
|
3203
|
+
<dl>
|
|
3204
|
+
<dd>
|
|
3205
|
+
|
|
3206
|
+
Updates fields on an existing CHAMP air waybill. Any editable field can be set — only fields included in the request body are changed. | (ChampAirWaybillClientUpdate1) -> (ChampAirWaybill1)
|
|
3207
|
+
|
|
3208
|
+
</dd>
|
|
3209
|
+
</dl>
|
|
3210
|
+
</dd>
|
|
3211
|
+
</dl>
|
|
3212
|
+
|
|
3213
|
+
#### 🔌 Usage
|
|
3214
|
+
|
|
3215
|
+
<dl>
|
|
3216
|
+
<dd>
|
|
3217
|
+
|
|
3218
|
+
<dl>
|
|
3219
|
+
<dd>
|
|
3220
|
+
|
|
3221
|
+
```typescript
|
|
3222
|
+
await client.integrations.airWaybills.updateV1("task_group_id");
|
|
3223
|
+
```
|
|
3224
|
+
|
|
3225
|
+
</dd>
|
|
3226
|
+
</dl>
|
|
3227
|
+
</dd>
|
|
3228
|
+
</dl>
|
|
3229
|
+
|
|
3230
|
+
#### ⚙️ Parameters
|
|
3231
|
+
|
|
3232
|
+
<dl>
|
|
3233
|
+
<dd>
|
|
3234
|
+
|
|
3235
|
+
<dl>
|
|
3236
|
+
<dd>
|
|
3237
|
+
|
|
3238
|
+
**taskGroupId:** `string`
|
|
3239
|
+
|
|
3240
|
+
</dd>
|
|
3241
|
+
</dl>
|
|
3242
|
+
|
|
3243
|
+
<dl>
|
|
3244
|
+
<dd>
|
|
3245
|
+
|
|
3246
|
+
**request:** `Chrt.integrations.ChampAirWaybillClientUpdate1`
|
|
3247
|
+
|
|
3248
|
+
</dd>
|
|
3249
|
+
</dl>
|
|
3250
|
+
|
|
3251
|
+
<dl>
|
|
3252
|
+
<dd>
|
|
3253
|
+
|
|
3254
|
+
**requestOptions:** `AirWaybills.RequestOptions`
|
|
3255
|
+
|
|
3256
|
+
</dd>
|
|
3257
|
+
</dl>
|
|
3258
|
+
</dd>
|
|
3259
|
+
</dl>
|
|
3260
|
+
|
|
3261
|
+
</dd>
|
|
3262
|
+
</dl>
|
|
3263
|
+
</details>
|
|
3264
|
+
|
|
3265
|
+
<details><summary><code>client.integrations.airWaybills.<a href="/src/api/resources/integrations/resources/airWaybills/client/Client.ts">submitV1</a>(taskGroupId) -> Chrt.ChampAirWaybill1</code></summary>
|
|
3266
|
+
<dl>
|
|
3267
|
+
<dd>
|
|
3268
|
+
|
|
3269
|
+
#### 📝 Description
|
|
3270
|
+
|
|
3271
|
+
<dl>
|
|
3272
|
+
<dd>
|
|
3273
|
+
|
|
3274
|
+
<dl>
|
|
3275
|
+
<dd>
|
|
3276
|
+
|
|
3277
|
+
Submits a draft CHAMP air waybill to Traxon cargoHUB. Requires shipper, consignee, and charge_declarations to be filled in. Returns 422 if the AWB is not in draft status or required fields are missing. | () -> (ChampAirWaybill1)
|
|
3278
|
+
|
|
3279
|
+
</dd>
|
|
3280
|
+
</dl>
|
|
3281
|
+
</dd>
|
|
3282
|
+
</dl>
|
|
3283
|
+
|
|
3284
|
+
#### 🔌 Usage
|
|
3285
|
+
|
|
3286
|
+
<dl>
|
|
3287
|
+
<dd>
|
|
3288
|
+
|
|
3289
|
+
<dl>
|
|
3290
|
+
<dd>
|
|
3291
|
+
|
|
3292
|
+
```typescript
|
|
3293
|
+
await client.integrations.airWaybills.submitV1("task_group_id");
|
|
3294
|
+
```
|
|
3295
|
+
|
|
3296
|
+
</dd>
|
|
3297
|
+
</dl>
|
|
3298
|
+
</dd>
|
|
3299
|
+
</dl>
|
|
3300
|
+
|
|
3301
|
+
#### ⚙️ Parameters
|
|
3302
|
+
|
|
3303
|
+
<dl>
|
|
3304
|
+
<dd>
|
|
3305
|
+
|
|
3306
|
+
<dl>
|
|
3307
|
+
<dd>
|
|
3308
|
+
|
|
3309
|
+
**taskGroupId:** `string`
|
|
3310
|
+
|
|
3311
|
+
</dd>
|
|
3312
|
+
</dl>
|
|
3313
|
+
|
|
3314
|
+
<dl>
|
|
3315
|
+
<dd>
|
|
3316
|
+
|
|
3317
|
+
**requestOptions:** `AirWaybills.RequestOptions`
|
|
3318
|
+
|
|
3319
|
+
</dd>
|
|
3320
|
+
</dl>
|
|
3321
|
+
</dd>
|
|
3322
|
+
</dl>
|
|
3323
|
+
|
|
3324
|
+
</dd>
|
|
3325
|
+
</dl>
|
|
3326
|
+
</details>
|
|
3327
|
+
|
|
3328
|
+
<details><summary><code>client.integrations.airWaybills.<a href="/src/api/resources/integrations/resources/airWaybills/client/Client.ts">pdfV1</a>(taskGroupId) -> unknown</code></summary>
|
|
3329
|
+
<dl>
|
|
3330
|
+
<dd>
|
|
3331
|
+
|
|
3332
|
+
#### 📝 Description
|
|
3333
|
+
|
|
3334
|
+
<dl>
|
|
3335
|
+
<dd>
|
|
3336
|
+
|
|
3337
|
+
<dl>
|
|
3338
|
+
<dd>
|
|
3339
|
+
|
|
3340
|
+
Converts a CHAMP air waybill to PDF via CHAMP's conversion API. Requires shipper, consignee, and charge_declarations to be filled in. Returns the PDF file as application/pdf. | () -> (PDF binary)
|
|
3341
|
+
|
|
3342
|
+
</dd>
|
|
3343
|
+
</dl>
|
|
3344
|
+
</dd>
|
|
3345
|
+
</dl>
|
|
3346
|
+
|
|
3347
|
+
#### 🔌 Usage
|
|
3348
|
+
|
|
3349
|
+
<dl>
|
|
3350
|
+
<dd>
|
|
3351
|
+
|
|
3352
|
+
<dl>
|
|
3353
|
+
<dd>
|
|
3354
|
+
|
|
3355
|
+
```typescript
|
|
3356
|
+
await client.integrations.airWaybills.pdfV1("task_group_id");
|
|
3357
|
+
```
|
|
3358
|
+
|
|
3359
|
+
</dd>
|
|
3360
|
+
</dl>
|
|
3361
|
+
</dd>
|
|
3362
|
+
</dl>
|
|
3363
|
+
|
|
3364
|
+
#### ⚙️ Parameters
|
|
3365
|
+
|
|
3366
|
+
<dl>
|
|
3367
|
+
<dd>
|
|
3368
|
+
|
|
3369
|
+
<dl>
|
|
3370
|
+
<dd>
|
|
3371
|
+
|
|
3372
|
+
**taskGroupId:** `string`
|
|
3373
|
+
|
|
3374
|
+
</dd>
|
|
3375
|
+
</dl>
|
|
3376
|
+
|
|
3377
|
+
<dl>
|
|
3378
|
+
<dd>
|
|
3379
|
+
|
|
3380
|
+
**requestOptions:** `AirWaybills.RequestOptions`
|
|
3381
|
+
|
|
3382
|
+
</dd>
|
|
3383
|
+
</dl>
|
|
3384
|
+
</dd>
|
|
3385
|
+
</dl>
|
|
3386
|
+
|
|
3387
|
+
</dd>
|
|
3388
|
+
</dl>
|
|
3389
|
+
</details>
|
|
3390
|
+
|
|
3391
|
+
<details><summary><code>client.integrations.airWaybills.<a href="/src/api/resources/integrations/resources/airWaybills/client/Client.ts">confirmationsV1</a>(taskGroupId) -> Chrt.ChampConfirmationReceipt1[]</code></summary>
|
|
3392
|
+
<dl>
|
|
3393
|
+
<dd>
|
|
3394
|
+
|
|
3395
|
+
#### 📝 Description
|
|
3396
|
+
|
|
3397
|
+
<dl>
|
|
3398
|
+
<dd>
|
|
3399
|
+
|
|
3400
|
+
<dl>
|
|
3401
|
+
<dd>
|
|
3402
|
+
|
|
3403
|
+
Retrieves all CHAMP confirmation receipts linked to the air waybill for a task group. | () -> (list[ChampConfirmationReceipt1])
|
|
3404
|
+
|
|
3405
|
+
</dd>
|
|
3406
|
+
</dl>
|
|
3407
|
+
</dd>
|
|
3408
|
+
</dl>
|
|
3409
|
+
|
|
3410
|
+
#### 🔌 Usage
|
|
3411
|
+
|
|
3412
|
+
<dl>
|
|
3413
|
+
<dd>
|
|
3414
|
+
|
|
3415
|
+
<dl>
|
|
3416
|
+
<dd>
|
|
3417
|
+
|
|
3418
|
+
```typescript
|
|
3419
|
+
await client.integrations.airWaybills.confirmationsV1("task_group_id");
|
|
3420
|
+
```
|
|
3421
|
+
|
|
3422
|
+
</dd>
|
|
3423
|
+
</dl>
|
|
3424
|
+
</dd>
|
|
3425
|
+
</dl>
|
|
3426
|
+
|
|
3427
|
+
#### ⚙️ Parameters
|
|
3428
|
+
|
|
3429
|
+
<dl>
|
|
3430
|
+
<dd>
|
|
3431
|
+
|
|
3432
|
+
<dl>
|
|
3433
|
+
<dd>
|
|
3434
|
+
|
|
3435
|
+
**taskGroupId:** `string`
|
|
3436
|
+
|
|
3437
|
+
</dd>
|
|
3438
|
+
</dl>
|
|
3439
|
+
|
|
3440
|
+
<dl>
|
|
3441
|
+
<dd>
|
|
3442
|
+
|
|
3443
|
+
**requestOptions:** `AirWaybills.RequestOptions`
|
|
3444
|
+
|
|
3445
|
+
</dd>
|
|
3446
|
+
</dl>
|
|
3447
|
+
</dd>
|
|
3448
|
+
</dl>
|
|
3449
|
+
|
|
3450
|
+
</dd>
|
|
3451
|
+
</dl>
|
|
3452
|
+
</details>
|
|
3453
|
+
|
|
3454
|
+
<details><summary><code>client.integrations.airWaybills.<a href="/src/api/resources/integrations/resources/airWaybills/client/Client.ts">flightStatusesV1</a>(taskGroupId) -> Chrt.ChampFlightStatus1[]</code></summary>
|
|
3455
|
+
<dl>
|
|
3456
|
+
<dd>
|
|
3457
|
+
|
|
3458
|
+
#### 📝 Description
|
|
3459
|
+
|
|
3460
|
+
<dl>
|
|
3461
|
+
<dd>
|
|
3462
|
+
|
|
3463
|
+
<dl>
|
|
3464
|
+
<dd>
|
|
3465
|
+
|
|
3466
|
+
Retrieves all CHAMP flight status updates linked to the air waybill for a task group. | () -> (list[ChampFlightStatus1])
|
|
3467
|
+
|
|
3468
|
+
</dd>
|
|
3469
|
+
</dl>
|
|
3470
|
+
</dd>
|
|
3471
|
+
</dl>
|
|
3472
|
+
|
|
3473
|
+
#### 🔌 Usage
|
|
3474
|
+
|
|
3475
|
+
<dl>
|
|
3476
|
+
<dd>
|
|
3477
|
+
|
|
3478
|
+
<dl>
|
|
3479
|
+
<dd>
|
|
3480
|
+
|
|
3481
|
+
```typescript
|
|
3482
|
+
await client.integrations.airWaybills.flightStatusesV1("task_group_id");
|
|
3483
|
+
```
|
|
3484
|
+
|
|
3485
|
+
</dd>
|
|
3486
|
+
</dl>
|
|
3487
|
+
</dd>
|
|
3488
|
+
</dl>
|
|
3489
|
+
|
|
3490
|
+
#### ⚙️ Parameters
|
|
3491
|
+
|
|
3492
|
+
<dl>
|
|
3493
|
+
<dd>
|
|
3494
|
+
|
|
3495
|
+
<dl>
|
|
3496
|
+
<dd>
|
|
3497
|
+
|
|
3498
|
+
**taskGroupId:** `string`
|
|
3499
|
+
|
|
3500
|
+
</dd>
|
|
3501
|
+
</dl>
|
|
3502
|
+
|
|
3503
|
+
<dl>
|
|
3504
|
+
<dd>
|
|
3505
|
+
|
|
3506
|
+
**requestOptions:** `AirWaybills.RequestOptions`
|
|
3507
|
+
|
|
3508
|
+
</dd>
|
|
3509
|
+
</dl>
|
|
3510
|
+
</dd>
|
|
3511
|
+
</dl>
|
|
3512
|
+
|
|
3513
|
+
</dd>
|
|
3514
|
+
</dl>
|
|
3515
|
+
</details>
|
|
3516
|
+
|
|
3517
|
+
## Integrations WebcargoBookings
|
|
3518
|
+
|
|
3519
|
+
<details><summary><code>client.integrations.webcargoBookings.<a href="/src/api/resources/integrations/resources/webcargoBookings/client/Client.ts">syncV1</a>(taskGroupId) -> Chrt.WebcargoBookingRecord1</code></summary>
|
|
3520
|
+
<dl>
|
|
3521
|
+
<dd>
|
|
3522
|
+
|
|
3523
|
+
#### 📝 Description
|
|
3524
|
+
|
|
3525
|
+
<dl>
|
|
3526
|
+
<dd>
|
|
3527
|
+
|
|
3528
|
+
<dl>
|
|
3529
|
+
<dd>
|
|
3530
|
+
|
|
3531
|
+
Fetches the latest booking record from WebCargo for a task group and upserts it in the database. Creates the record on first call, updates on subsequent calls. | () -> (WebcargoBookingRecord1)
|
|
3532
|
+
|
|
3533
|
+
</dd>
|
|
3534
|
+
</dl>
|
|
3535
|
+
</dd>
|
|
3536
|
+
</dl>
|
|
3537
|
+
|
|
3538
|
+
#### 🔌 Usage
|
|
3539
|
+
|
|
3540
|
+
<dl>
|
|
3541
|
+
<dd>
|
|
3542
|
+
|
|
3543
|
+
<dl>
|
|
3544
|
+
<dd>
|
|
3545
|
+
|
|
3546
|
+
```typescript
|
|
3547
|
+
await client.integrations.webcargoBookings.syncV1("task_group_id");
|
|
3548
|
+
```
|
|
3549
|
+
|
|
3550
|
+
</dd>
|
|
3551
|
+
</dl>
|
|
3552
|
+
</dd>
|
|
3553
|
+
</dl>
|
|
3554
|
+
|
|
3555
|
+
#### ⚙️ Parameters
|
|
3556
|
+
|
|
3557
|
+
<dl>
|
|
3558
|
+
<dd>
|
|
3559
|
+
|
|
3560
|
+
<dl>
|
|
3561
|
+
<dd>
|
|
3562
|
+
|
|
3563
|
+
**taskGroupId:** `string`
|
|
3564
|
+
|
|
3565
|
+
</dd>
|
|
3566
|
+
</dl>
|
|
3567
|
+
|
|
3568
|
+
<dl>
|
|
3569
|
+
<dd>
|
|
3570
|
+
|
|
3571
|
+
**requestOptions:** `WebcargoBookings.RequestOptions`
|
|
3572
|
+
|
|
3573
|
+
</dd>
|
|
3574
|
+
</dl>
|
|
3575
|
+
</dd>
|
|
3576
|
+
</dl>
|
|
3577
|
+
|
|
3578
|
+
</dd>
|
|
3579
|
+
</dl>
|
|
3580
|
+
</details>
|
|
3581
|
+
|
|
3582
|
+
<details><summary><code>client.integrations.webcargoBookings.<a href="/src/api/resources/integrations/resources/webcargoBookings/client/Client.ts">retrieveV1</a>(taskGroupId) -> Chrt.WebcargoBookingRecord1</code></summary>
|
|
3583
|
+
<dl>
|
|
3584
|
+
<dd>
|
|
3585
|
+
|
|
3586
|
+
#### 📝 Description
|
|
3587
|
+
|
|
3588
|
+
<dl>
|
|
3589
|
+
<dd>
|
|
3590
|
+
|
|
3591
|
+
<dl>
|
|
3592
|
+
<dd>
|
|
3593
|
+
|
|
3594
|
+
Retrieves the stored WebCargo booking record for a task group. Returns 404 if the booking has never been synced. | () -> (WebcargoBookingRecord1)
|
|
3595
|
+
|
|
3596
|
+
</dd>
|
|
3597
|
+
</dl>
|
|
3598
|
+
</dd>
|
|
3599
|
+
</dl>
|
|
3600
|
+
|
|
3601
|
+
#### 🔌 Usage
|
|
3602
|
+
|
|
3603
|
+
<dl>
|
|
3604
|
+
<dd>
|
|
3605
|
+
|
|
3606
|
+
<dl>
|
|
3607
|
+
<dd>
|
|
3608
|
+
|
|
3609
|
+
```typescript
|
|
3610
|
+
await client.integrations.webcargoBookings.retrieveV1("task_group_id");
|
|
3611
|
+
```
|
|
3612
|
+
|
|
3613
|
+
</dd>
|
|
3614
|
+
</dl>
|
|
3615
|
+
</dd>
|
|
3616
|
+
</dl>
|
|
3617
|
+
|
|
3618
|
+
#### ⚙️ Parameters
|
|
3619
|
+
|
|
3620
|
+
<dl>
|
|
3621
|
+
<dd>
|
|
3622
|
+
|
|
3623
|
+
<dl>
|
|
3624
|
+
<dd>
|
|
3625
|
+
|
|
3626
|
+
**taskGroupId:** `string`
|
|
3627
|
+
|
|
3628
|
+
</dd>
|
|
3629
|
+
</dl>
|
|
3630
|
+
|
|
3631
|
+
<dl>
|
|
3632
|
+
<dd>
|
|
3633
|
+
|
|
3634
|
+
**requestOptions:** `WebcargoBookings.RequestOptions`
|
|
3635
|
+
|
|
3636
|
+
</dd>
|
|
3637
|
+
</dl>
|
|
3638
|
+
</dd>
|
|
3639
|
+
</dl>
|
|
3640
|
+
|
|
3641
|
+
</dd>
|
|
3642
|
+
</dl>
|
|
3643
|
+
</details>
|
|
3644
|
+
|
|
3645
|
+
## Integrations WebcargoEmbed
|
|
3646
|
+
|
|
3647
|
+
<details><summary><code>client.integrations.webcargoEmbed.<a href="/src/api/resources/integrations/resources/webcargoEmbed/client/Client.ts">getEmbedV1</a>(taskGroupId, { ...params }) -> Chrt.WebcargoEmbedResponse</code></summary>
|
|
3648
|
+
<dl>
|
|
3649
|
+
<dd>
|
|
3650
|
+
|
|
3651
|
+
#### 📝 Description
|
|
3652
|
+
|
|
3653
|
+
<dl>
|
|
3654
|
+
<dd>
|
|
3655
|
+
|
|
3656
|
+
<dl>
|
|
3657
|
+
<dd>
|
|
3658
|
+
|
|
3659
|
+
Generates a WebCargo Sky Embed token for a FLIGHT task group. Assembles cargo data from the task group's tasks and returns an embed URL for the booking widget. | (GetWebcargoEmbedReq) -> (WebcargoEmbedResponse)
|
|
3660
|
+
|
|
3661
|
+
</dd>
|
|
3662
|
+
</dl>
|
|
3663
|
+
</dd>
|
|
3664
|
+
</dl>
|
|
3665
|
+
|
|
3666
|
+
#### 🔌 Usage
|
|
3667
|
+
|
|
3668
|
+
<dl>
|
|
3669
|
+
<dd>
|
|
3670
|
+
|
|
3671
|
+
<dl>
|
|
3672
|
+
<dd>
|
|
3673
|
+
|
|
3674
|
+
```typescript
|
|
3675
|
+
await client.integrations.webcargoEmbed.getEmbedV1("task_group_id", {
|
|
3676
|
+
origin: "origin",
|
|
3677
|
+
destination: "destination",
|
|
3678
|
+
departure: "departure",
|
|
3679
|
+
country: "country",
|
|
3680
|
+
});
|
|
3681
|
+
```
|
|
3682
|
+
|
|
3683
|
+
</dd>
|
|
3684
|
+
</dl>
|
|
3685
|
+
</dd>
|
|
3686
|
+
</dl>
|
|
3687
|
+
|
|
3688
|
+
#### ⚙️ Parameters
|
|
3689
|
+
|
|
3690
|
+
<dl>
|
|
3691
|
+
<dd>
|
|
3692
|
+
|
|
3693
|
+
<dl>
|
|
3694
|
+
<dd>
|
|
3695
|
+
|
|
3696
|
+
**taskGroupId:** `string`
|
|
3697
|
+
|
|
3698
|
+
</dd>
|
|
3699
|
+
</dl>
|
|
3700
|
+
|
|
3701
|
+
<dl>
|
|
3702
|
+
<dd>
|
|
3703
|
+
|
|
3704
|
+
**request:** `Chrt.integrations.GetWebcargoEmbedReq`
|
|
3705
|
+
|
|
3706
|
+
</dd>
|
|
3707
|
+
</dl>
|
|
3708
|
+
|
|
3709
|
+
<dl>
|
|
3710
|
+
<dd>
|
|
3711
|
+
|
|
3712
|
+
**requestOptions:** `WebcargoEmbed.RequestOptions`
|
|
3713
|
+
|
|
3714
|
+
</dd>
|
|
3715
|
+
</dl>
|
|
3716
|
+
</dd>
|
|
3717
|
+
</dl>
|
|
3718
|
+
|
|
3719
|
+
</dd>
|
|
3720
|
+
</dl>
|
|
3721
|
+
</details>
|
|
3722
|
+
|
|
3064
3723
|
## Notifications AdHoc
|
|
3065
3724
|
|
|
3066
3725
|
<details><summary><code>client.notifications.adHoc.<a href="/src/api/resources/notifications/resources/adHoc/client/Client.ts">listByOrderIdV1</a>(orderId) -> Chrt.NotificationIntentAdHoc1[]</code></summary>
|
|
@@ -15438,7 +16097,7 @@ await client.utils.dev.getUserIdV2();
|
|
|
15438
16097
|
</dl>
|
|
15439
16098
|
</details>
|
|
15440
16099
|
|
|
15441
|
-
<details><summary><code>client.utils.dev.<a href="/src/api/resources/utils/resources/dev/client/Client.ts">
|
|
16100
|
+
<details><summary><code>client.utils.dev.<a href="/src/api/resources/utils/resources/dev/client/Client.ts">getCredentialInfoV1</a>() -> Chrt.CredentialInfoResponse</code></summary>
|
|
15442
16101
|
<dl>
|
|
15443
16102
|
<dd>
|
|
15444
16103
|
|
|
@@ -15450,7 +16109,7 @@ await client.utils.dev.getUserIdV2();
|
|
|
15450
16109
|
<dl>
|
|
15451
16110
|
<dd>
|
|
15452
16111
|
|
|
15453
|
-
Returns the
|
|
16112
|
+
Returns the verified caller identity and raw credential claims for development purposes. | () -> (CredentialInfoResponse)
|
|
15454
16113
|
|
|
15455
16114
|
</dd>
|
|
15456
16115
|
</dl>
|
|
@@ -15466,7 +16125,7 @@ Returns the complete decoded JWT token information for development purposes. | (
|
|
|
15466
16125
|
<dd>
|
|
15467
16126
|
|
|
15468
16127
|
```typescript
|
|
15469
|
-
await client.utils.dev.
|
|
16128
|
+
await client.utils.dev.getCredentialInfoV1();
|
|
15470
16129
|
```
|
|
15471
16130
|
|
|
15472
16131
|
</dd>
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Chrt from "../index.js";
|
|
5
|
-
export interface DecodedJwtWithOrgAndUserId {
|
|
6
|
-
azp?: string | null;
|
|
7
|
-
exp?: number | null;
|
|
8
|
-
fva?: number[] | null;
|
|
9
|
-
iat?: number | null;
|
|
10
|
-
iss?: string | null;
|
|
11
|
-
jti?: string | null;
|
|
12
|
-
nbf?: number | null;
|
|
13
|
-
sid?: string | null;
|
|
14
|
-
/** Must be a string starting with `user_` */
|
|
15
|
-
sub?: string | null;
|
|
16
|
-
sts?: string | null;
|
|
17
|
-
v?: number | null;
|
|
18
|
-
o?: Chrt.ClerkOrgData | null;
|
|
19
|
-
org_public_metadata?: Record<string, unknown> | null;
|
|
20
|
-
primary_email_address?: string | null;
|
|
21
|
-
/** Must be a string starting with `user_` */
|
|
22
|
-
user_id: string;
|
|
23
|
-
/** Must be a string starting with `org_` */
|
|
24
|
-
org_id: string;
|
|
25
|
-
/** Accepts any additional properties */
|
|
26
|
-
[key: string]: any;
|
|
27
|
-
}
|