@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
|
@@ -20,6 +20,8 @@ __exportStar(require("./BillingLineItemGroupMessageWebhookPayload.js"), exports)
|
|
|
20
20
|
__exportStar(require("./BillingLineItemGroupS3ObjectAddedWebhookPayload.js"), exports);
|
|
21
21
|
__exportStar(require("./BillingStatementOpenedWebhookPayload.js"), exports);
|
|
22
22
|
__exportStar(require("./BillingStatementPaidWebhookPayload.js"), exports);
|
|
23
|
+
__exportStar(require("./Caller.js"), exports);
|
|
24
|
+
__exportStar(require("./CallerCredentialTypeEnum.js"), exports);
|
|
23
25
|
__exportStar(require("./Cargo1.js"), exports);
|
|
24
26
|
__exportStar(require("./CargoByDeviceDataPoint1.js"), exports);
|
|
25
27
|
__exportStar(require("./CargoByDeviceDataPointMetadata1.js"), exports);
|
|
@@ -32,6 +34,57 @@ __exportStar(require("./CargoClientCreate1.js"), exports);
|
|
|
32
34
|
__exportStar(require("./CargoClientUpdate1.js"), exports);
|
|
33
35
|
__exportStar(require("./CargoStatusEnum1.js"), exports);
|
|
34
36
|
__exportStar(require("./CargoTypeEnum1.js"), exports);
|
|
37
|
+
__exportStar(require("./CargojsonAccountContact.js"), exports);
|
|
38
|
+
__exportStar(require("./CargojsonAccounting.js"), exports);
|
|
39
|
+
__exportStar(require("./CargojsonAccountingInformationIdentifier.js"), exports);
|
|
40
|
+
__exportStar(require("./CargojsonAddress.js"), exports);
|
|
41
|
+
__exportStar(require("./CargojsonAddressing.js"), exports);
|
|
42
|
+
__exportStar(require("./CargojsonAgent.js"), exports);
|
|
43
|
+
__exportStar(require("./CargojsonCassIndicator.js"), exports);
|
|
44
|
+
__exportStar(require("./CargojsonCharge.js"), exports);
|
|
45
|
+
__exportStar(require("./CargojsonChargeCode.js"), exports);
|
|
46
|
+
__exportStar(require("./CargojsonChargeDeclarations.js"), exports);
|
|
47
|
+
__exportStar(require("./CargojsonChargeItem.js"), exports);
|
|
48
|
+
__exportStar(require("./CargojsonChargeSummary.js"), exports);
|
|
49
|
+
__exportStar(require("./CargojsonCollectChargesInDestCurrency.js"), exports);
|
|
50
|
+
__exportStar(require("./CargojsonCommissionInfo.js"), exports);
|
|
51
|
+
__exportStar(require("./CargojsonContactDetail.js"), exports);
|
|
52
|
+
__exportStar(require("./CargojsonDimensionUnit.js"), exports);
|
|
53
|
+
__exportStar(require("./CargojsonDimensions.js"), exports);
|
|
54
|
+
__exportStar(require("./CargojsonEdifactData.js"), exports);
|
|
55
|
+
__exportStar(require("./CargojsonEntitlementCode.js"), exports);
|
|
56
|
+
__exportStar(require("./CargojsonFlightIdentity.js"), exports);
|
|
57
|
+
__exportStar(require("./CargojsonMessageHeader.js"), exports);
|
|
58
|
+
__exportStar(require("./CargojsonNominatedHandlingParty.js"), exports);
|
|
59
|
+
__exportStar(require("./CargojsonOci.js"), exports);
|
|
60
|
+
__exportStar(require("./CargojsonOfficeMessageAddress.js"), exports);
|
|
61
|
+
__exportStar(require("./CargojsonOtherChargeCode.js"), exports);
|
|
62
|
+
__exportStar(require("./CargojsonOtherChargeItem.js"), exports);
|
|
63
|
+
__exportStar(require("./CargojsonOtherParticipant.js"), exports);
|
|
64
|
+
__exportStar(require("./CargojsonPackaging.js"), exports);
|
|
65
|
+
__exportStar(require("./CargojsonParticipantAddress.js"), exports);
|
|
66
|
+
__exportStar(require("./CargojsonParticipantAddressType.js"), exports);
|
|
67
|
+
__exportStar(require("./CargojsonParticipantIdentifier.js"), exports);
|
|
68
|
+
__exportStar(require("./CargojsonParticipantType.js"), exports);
|
|
69
|
+
__exportStar(require("./CargojsonPaymentCondition.js"), exports);
|
|
70
|
+
__exportStar(require("./CargojsonRateClassCode.js"), exports);
|
|
71
|
+
__exportStar(require("./CargojsonRouting.js"), exports);
|
|
72
|
+
__exportStar(require("./CargojsonSalesIncentive.js"), exports);
|
|
73
|
+
__exportStar(require("./CargojsonServiceCode.js"), exports);
|
|
74
|
+
__exportStar(require("./CargojsonShipmentReferenceInformation.js"), exports);
|
|
75
|
+
__exportStar(require("./CargojsonSpecialHandlingCode.js"), exports);
|
|
76
|
+
__exportStar(require("./CargojsonUld.js"), exports);
|
|
77
|
+
__exportStar(require("./CargojsonVolume.js"), exports);
|
|
78
|
+
__exportStar(require("./CargojsonVolumeUnit.js"), exports);
|
|
79
|
+
__exportStar(require("./CargojsonWeight.js"), exports);
|
|
80
|
+
__exportStar(require("./CargojsonWeightUnit.js"), exports);
|
|
81
|
+
__exportStar(require("./ChampAirWaybill1.js"), exports);
|
|
82
|
+
__exportStar(require("./ChampAirWaybillStatusEnum1.js"), exports);
|
|
83
|
+
__exportStar(require("./ChampConfirmationReceipt1.js"), exports);
|
|
84
|
+
__exportStar(require("./ChampFlightStatus1.js"), exports);
|
|
85
|
+
__exportStar(require("./ChampFlightStatusEvent1.js"), exports);
|
|
86
|
+
__exportStar(require("./ChampOriginAndDestination.js"), exports);
|
|
87
|
+
__exportStar(require("./ChampQuantity.js"), exports);
|
|
35
88
|
__exportStar(require("./ChrtGroundCourierTaskActionEnum1.js"), exports);
|
|
36
89
|
__exportStar(require("./ClerkOrgData.js"), exports);
|
|
37
90
|
__exportStar(require("./CourierConnectionRes.js"), exports);
|
|
@@ -41,7 +94,7 @@ __exportStar(require("./CreateCheckoutSessionRes.js"), exports);
|
|
|
41
94
|
__exportStar(require("./CreateConnectionReq.js"), exports);
|
|
42
95
|
__exportStar(require("./CreateOrgPublicDataRes.js"), exports);
|
|
43
96
|
__exportStar(require("./CreateStripeConnectAccountRes.js"), exports);
|
|
44
|
-
__exportStar(require("./
|
|
97
|
+
__exportStar(require("./CredentialInfoResponse.js"), exports);
|
|
45
98
|
__exportStar(require("./DeviceExpandedRes.js"), exports);
|
|
46
99
|
__exportStar(require("./DeviceLimitedForList1.js"), exports);
|
|
47
100
|
__exportStar(require("./DeviceListRes.js"), exports);
|
|
@@ -203,4 +256,31 @@ __exportStar(require("./UserPublicData1.js"), exports);
|
|
|
203
256
|
__exportStar(require("./ValidationError.js"), exports);
|
|
204
257
|
__exportStar(require("./Vehicle1.js"), exports);
|
|
205
258
|
__exportStar(require("./VehicleTypeEnum.js"), exports);
|
|
259
|
+
__exportStar(require("./WebcargoAccountId.js"), exports);
|
|
260
|
+
__exportStar(require("./WebcargoBookStatus.js"), exports);
|
|
261
|
+
__exportStar(require("./WebcargoBookingRate.js"), exports);
|
|
262
|
+
__exportStar(require("./WebcargoBookingRecord1.js"), exports);
|
|
263
|
+
__exportStar(require("./WebcargoBusinessInfo.js"), exports);
|
|
264
|
+
__exportStar(require("./WebcargoCarrier.js"), exports);
|
|
265
|
+
__exportStar(require("./WebcargoCommodityClass.js"), exports);
|
|
266
|
+
__exportStar(require("./WebcargoConnection.js"), exports);
|
|
267
|
+
__exportStar(require("./WebcargoContact.js"), exports);
|
|
268
|
+
__exportStar(require("./WebcargoDimension.js"), exports);
|
|
269
|
+
__exportStar(require("./WebcargoDocumentIdentifier.js"), exports);
|
|
270
|
+
__exportStar(require("./WebcargoEmbedResponse.js"), exports);
|
|
271
|
+
__exportStar(require("./WebcargoFee.js"), exports);
|
|
272
|
+
__exportStar(require("./WebcargoLeg.js"), exports);
|
|
273
|
+
__exportStar(require("./WebcargoLoad.js"), exports);
|
|
274
|
+
__exportStar(require("./WebcargoLocation.js"), exports);
|
|
275
|
+
__exportStar(require("./WebcargoMessageHeader.js"), exports);
|
|
276
|
+
__exportStar(require("./WebcargoPackage.js"), exports);
|
|
277
|
+
__exportStar(require("./WebcargoParty.js"), exports);
|
|
278
|
+
__exportStar(require("./WebcargoPostalAddress.js"), exports);
|
|
279
|
+
__exportStar(require("./WebcargoPriceIndicator.js"), exports);
|
|
280
|
+
__exportStar(require("./WebcargoProduct.js"), exports);
|
|
281
|
+
__exportStar(require("./WebcargoResponseStatus.js"), exports);
|
|
282
|
+
__exportStar(require("./WebcargoResponseStatusEntry.js"), exports);
|
|
283
|
+
__exportStar(require("./WebcargoSegment.js"), exports);
|
|
284
|
+
__exportStar(require("./WebcargoShipment.js"), exports);
|
|
285
|
+
__exportStar(require("./WebcargoValueWithUnit.js"), exports);
|
|
206
286
|
__exportStar(require("./WebhookAppPortalAccessRes.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.511.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.d.mts
CHANGED
|
@@ -7,6 +7,7 @@ import { Orgs } from "./api/resources/orgs/client/Client.mjs";
|
|
|
7
7
|
import { Utils } from "./api/resources/utils/client/Client.mjs";
|
|
8
8
|
import { Analytics } from "./api/resources/analytics/client/Client.mjs";
|
|
9
9
|
import { Billing } from "./api/resources/billing/client/Client.mjs";
|
|
10
|
+
import { Integrations } from "./api/resources/integrations/client/Client.mjs";
|
|
10
11
|
import { Notifications } from "./api/resources/notifications/client/Client.mjs";
|
|
11
12
|
import { Shipping } from "./api/resources/shipping/client/Client.mjs";
|
|
12
13
|
import { Tracking } from "./api/resources/tracking/client/Client.mjs";
|
|
@@ -40,6 +41,7 @@ export declare class ChrtClient {
|
|
|
40
41
|
protected _utils: Utils | undefined;
|
|
41
42
|
protected _analytics: Analytics | undefined;
|
|
42
43
|
protected _billing: Billing | undefined;
|
|
44
|
+
protected _integrations: Integrations | undefined;
|
|
43
45
|
protected _notifications: Notifications | undefined;
|
|
44
46
|
protected _shipping: Shipping | undefined;
|
|
45
47
|
protected _tracking: Tracking | undefined;
|
|
@@ -49,6 +51,7 @@ export declare class ChrtClient {
|
|
|
49
51
|
get utils(): Utils;
|
|
50
52
|
get analytics(): Analytics;
|
|
51
53
|
get billing(): Billing;
|
|
54
|
+
get integrations(): Integrations;
|
|
52
55
|
get notifications(): Notifications;
|
|
53
56
|
get shipping(): Shipping;
|
|
54
57
|
get tracking(): Tracking;
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -7,6 +7,7 @@ import { Orgs } from "./api/resources/orgs/client/Client.mjs";
|
|
|
7
7
|
import { Utils } from "./api/resources/utils/client/Client.mjs";
|
|
8
8
|
import { Analytics } from "./api/resources/analytics/client/Client.mjs";
|
|
9
9
|
import { Billing } from "./api/resources/billing/client/Client.mjs";
|
|
10
|
+
import { Integrations } from "./api/resources/integrations/client/Client.mjs";
|
|
10
11
|
import { Notifications } from "./api/resources/notifications/client/Client.mjs";
|
|
11
12
|
import { Shipping } from "./api/resources/shipping/client/Client.mjs";
|
|
12
13
|
import { Tracking } from "./api/resources/tracking/client/Client.mjs";
|
|
@@ -16,8 +17,8 @@ export class ChrtClient {
|
|
|
16
17
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
17
18
|
"X-Fern-Language": "JavaScript",
|
|
18
19
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
19
|
-
"X-Fern-SDK-Version": "1.
|
|
20
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
20
|
+
"X-Fern-SDK-Version": "1.511.0",
|
|
21
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.511.0",
|
|
21
22
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
22
23
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
23
24
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -38,6 +39,10 @@ export class ChrtClient {
|
|
|
38
39
|
var _a;
|
|
39
40
|
return ((_a = this._billing) !== null && _a !== void 0 ? _a : (this._billing = new Billing(this._options)));
|
|
40
41
|
}
|
|
42
|
+
get integrations() {
|
|
43
|
+
var _a;
|
|
44
|
+
return ((_a = this._integrations) !== null && _a !== void 0 ? _a : (this._integrations = new Integrations(this._options)));
|
|
45
|
+
}
|
|
41
46
|
get notifications() {
|
|
42
47
|
var _a;
|
|
43
48
|
return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Notifications(this._options)));
|
|
@@ -3,6 +3,7 @@ export * as orgs from "./orgs/index.mjs";
|
|
|
3
3
|
export * as shipping from "./shipping/index.mjs";
|
|
4
4
|
export * as utils from "./utils/index.mjs";
|
|
5
5
|
export * as analytics from "./analytics/index.mjs";
|
|
6
|
+
export * as integrations from "./integrations/index.mjs";
|
|
6
7
|
export * as notifications from "./notifications/index.mjs";
|
|
7
8
|
export * as tracking from "./tracking/index.mjs";
|
|
8
9
|
export * as users from "./users/index.mjs";
|
|
@@ -3,6 +3,7 @@ export * as orgs from "./orgs/index.mjs";
|
|
|
3
3
|
export * as shipping from "./shipping/index.mjs";
|
|
4
4
|
export * as utils from "./utils/index.mjs";
|
|
5
5
|
export * as analytics from "./analytics/index.mjs";
|
|
6
|
+
export * as integrations from "./integrations/index.mjs";
|
|
6
7
|
export * as notifications from "./notifications/index.mjs";
|
|
7
8
|
export * as tracking from "./tracking/index.mjs";
|
|
8
9
|
export * as users from "./users/index.mjs";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments.mjs";
|
|
5
|
+
import * as core from "../../../../core/index.mjs";
|
|
6
|
+
import { AirWaybills } from "../resources/airWaybills/client/Client.mjs";
|
|
7
|
+
import { WebcargoBookings } from "../resources/webcargoBookings/client/Client.mjs";
|
|
8
|
+
import { WebcargoEmbed } from "../resources/webcargoEmbed/client/Client.mjs";
|
|
9
|
+
export declare namespace Integrations {
|
|
10
|
+
interface Options {
|
|
11
|
+
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
12
|
+
/** Specify a custom URL to connect the client to. */
|
|
13
|
+
baseUrl?: core.Supplier<string>;
|
|
14
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
15
|
+
/** Additional headers to include in requests. */
|
|
16
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
17
|
+
fetcher?: core.FetchFunction;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export declare class Integrations {
|
|
21
|
+
protected readonly _options: Integrations.Options;
|
|
22
|
+
protected _airWaybills: AirWaybills | undefined;
|
|
23
|
+
protected _webcargoBookings: WebcargoBookings | undefined;
|
|
24
|
+
protected _webcargoEmbed: WebcargoEmbed | undefined;
|
|
25
|
+
constructor(_options?: Integrations.Options);
|
|
26
|
+
get airWaybills(): AirWaybills;
|
|
27
|
+
get webcargoBookings(): WebcargoBookings;
|
|
28
|
+
get webcargoEmbed(): WebcargoEmbed;
|
|
29
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import { AirWaybills } from "../resources/airWaybills/client/Client.mjs";
|
|
5
|
+
import { WebcargoBookings } from "../resources/webcargoBookings/client/Client.mjs";
|
|
6
|
+
import { WebcargoEmbed } from "../resources/webcargoEmbed/client/Client.mjs";
|
|
7
|
+
export class Integrations {
|
|
8
|
+
constructor(_options = {}) {
|
|
9
|
+
this._options = _options;
|
|
10
|
+
}
|
|
11
|
+
get airWaybills() {
|
|
12
|
+
var _a;
|
|
13
|
+
return ((_a = this._airWaybills) !== null && _a !== void 0 ? _a : (this._airWaybills = new AirWaybills(this._options)));
|
|
14
|
+
}
|
|
15
|
+
get webcargoBookings() {
|
|
16
|
+
var _a;
|
|
17
|
+
return ((_a = this._webcargoBookings) !== null && _a !== void 0 ? _a : (this._webcargoBookings = new WebcargoBookings(this._options)));
|
|
18
|
+
}
|
|
19
|
+
get webcargoEmbed() {
|
|
20
|
+
var _a;
|
|
21
|
+
return ((_a = this._webcargoEmbed) !== null && _a !== void 0 ? _a : (this._webcargoEmbed = new WebcargoEmbed(this._options)));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments.mjs";
|
|
5
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
6
|
+
import * as Chrt from "../../../../../index.mjs";
|
|
7
|
+
export declare namespace AirWaybills {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
/** Additional headers to include in requests. */
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
|
+
fetcher?: core.FetchFunction;
|
|
16
|
+
}
|
|
17
|
+
interface RequestOptions {
|
|
18
|
+
/** The maximum time to wait for a response in seconds. */
|
|
19
|
+
timeoutInSeconds?: number;
|
|
20
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
21
|
+
maxRetries?: number;
|
|
22
|
+
/** A hook to abort the request. */
|
|
23
|
+
abortSignal?: AbortSignal;
|
|
24
|
+
/** Additional query string parameters to include in the request. */
|
|
25
|
+
queryParams?: Record<string, unknown>;
|
|
26
|
+
/** Additional headers to include in the request. */
|
|
27
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export declare class AirWaybills {
|
|
31
|
+
protected readonly _options: AirWaybills.Options;
|
|
32
|
+
constructor(_options?: AirWaybills.Options);
|
|
33
|
+
/**
|
|
34
|
+
* 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)
|
|
35
|
+
*
|
|
36
|
+
* @param {Chrt.integrations.AirWaybillCreateReq} request
|
|
37
|
+
* @param {AirWaybills.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.integrations.airWaybills.createV1({
|
|
43
|
+
* task_group_id: "task_group_id"
|
|
44
|
+
* })
|
|
45
|
+
*/
|
|
46
|
+
createV1(request: Chrt.integrations.AirWaybillCreateReq, requestOptions?: AirWaybills.RequestOptions): core.HttpResponsePromise<Chrt.ChampAirWaybill1>;
|
|
47
|
+
private __createV1;
|
|
48
|
+
/**
|
|
49
|
+
* Retrieves the stored CHAMP air waybill for a task group. | () -> (ChampAirWaybill1)
|
|
50
|
+
*
|
|
51
|
+
* @param {string} taskGroupId
|
|
52
|
+
* @param {AirWaybills.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* await client.integrations.airWaybills.retrieveV1("task_group_id")
|
|
58
|
+
*/
|
|
59
|
+
retrieveV1(taskGroupId: string, requestOptions?: AirWaybills.RequestOptions): core.HttpResponsePromise<Chrt.ChampAirWaybill1>;
|
|
60
|
+
private __retrieveV1;
|
|
61
|
+
/**
|
|
62
|
+
* 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)
|
|
63
|
+
*
|
|
64
|
+
* @param {string} taskGroupId
|
|
65
|
+
* @param {Chrt.integrations.ChampAirWaybillClientUpdate1} request
|
|
66
|
+
* @param {AirWaybills.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* await client.integrations.airWaybills.updateV1("task_group_id")
|
|
72
|
+
*/
|
|
73
|
+
updateV1(taskGroupId: string, request?: Chrt.integrations.ChampAirWaybillClientUpdate1, requestOptions?: AirWaybills.RequestOptions): core.HttpResponsePromise<Chrt.ChampAirWaybill1>;
|
|
74
|
+
private __updateV1;
|
|
75
|
+
/**
|
|
76
|
+
* 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)
|
|
77
|
+
*
|
|
78
|
+
* @param {string} taskGroupId
|
|
79
|
+
* @param {AirWaybills.RequestOptions} requestOptions - Request-specific configuration.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* await client.integrations.airWaybills.submitV1("task_group_id")
|
|
85
|
+
*/
|
|
86
|
+
submitV1(taskGroupId: string, requestOptions?: AirWaybills.RequestOptions): core.HttpResponsePromise<Chrt.ChampAirWaybill1>;
|
|
87
|
+
private __submitV1;
|
|
88
|
+
/**
|
|
89
|
+
* 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)
|
|
90
|
+
*
|
|
91
|
+
* @param {string} taskGroupId
|
|
92
|
+
* @param {AirWaybills.RequestOptions} requestOptions - Request-specific configuration.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* await client.integrations.airWaybills.pdfV1("task_group_id")
|
|
98
|
+
*/
|
|
99
|
+
pdfV1(taskGroupId: string, requestOptions?: AirWaybills.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
100
|
+
private __pdfV1;
|
|
101
|
+
/**
|
|
102
|
+
* Retrieves all CHAMP confirmation receipts linked to the air waybill for a task group. | () -> (list[ChampConfirmationReceipt1])
|
|
103
|
+
*
|
|
104
|
+
* @param {string} taskGroupId
|
|
105
|
+
* @param {AirWaybills.RequestOptions} requestOptions - Request-specific configuration.
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* await client.integrations.airWaybills.confirmationsV1("task_group_id")
|
|
111
|
+
*/
|
|
112
|
+
confirmationsV1(taskGroupId: string, requestOptions?: AirWaybills.RequestOptions): core.HttpResponsePromise<Chrt.ChampConfirmationReceipt1[]>;
|
|
113
|
+
private __confirmationsV1;
|
|
114
|
+
/**
|
|
115
|
+
* Retrieves all CHAMP flight status updates linked to the air waybill for a task group. | () -> (list[ChampFlightStatus1])
|
|
116
|
+
*
|
|
117
|
+
* @param {string} taskGroupId
|
|
118
|
+
* @param {AirWaybills.RequestOptions} requestOptions - Request-specific configuration.
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* await client.integrations.airWaybills.flightStatusesV1("task_group_id")
|
|
124
|
+
*/
|
|
125
|
+
flightStatusesV1(taskGroupId: string, requestOptions?: AirWaybills.RequestOptions): core.HttpResponsePromise<Chrt.ChampFlightStatus1[]>;
|
|
126
|
+
private __flightStatusesV1;
|
|
127
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
128
|
+
}
|