@chrt-inc/typescript-sdk 1.1015.0 → 1.1016.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/README.md +10 -13
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +41 -36
- package/dist/cjs/api/resources/agent/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/agent/client/Client.js +3 -3
- package/dist/cjs/api/resources/agent/resources/index.d.ts +1 -2
- package/dist/cjs/api/resources/agent/resources/index.js +2 -6
- package/dist/cjs/api/resources/agent/resources/livekit/client/Client.d.ts +23 -0
- package/dist/cjs/api/resources/agent/resources/livekit/client/Client.js +17 -0
- package/dist/cjs/api/resources/agent/resources/livekit/index.d.ts +2 -0
- package/dist/cjs/api/resources/agent/resources/livekit/index.js +18 -0
- package/dist/cjs/api/resources/agent/resources/livekit/resources/helloWorld/client/Client.d.ts +44 -0
- package/dist/cjs/api/resources/agent/resources/livekit/resources/helloWorld/client/Client.js +118 -0
- package/dist/cjs/api/resources/agent/resources/livekit/resources/helloWorld/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/resources/livekit/resources/helloWorld/client/index.js +2 -0
- package/dist/cjs/api/resources/agent/resources/livekit/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/resources/livekit/resources/index.js +37 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.d.ts +51 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.js +222 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSendAirWaybillReq.d.ts +13 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.d.ts +20 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.js +13 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoaiListAirWaybillMessagesV1Request.d.ts +30 -0
- package/dist/cjs/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/chrtGpt/client/Client.d.ts +49 -0
- package/dist/cjs/api/resources/chrtGpt/client/Client.js +132 -0
- package/dist/{esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.d.mts → cjs/api/resources/chrtGpt/client/requests/ChrtGptMessageReq.d.ts} +3 -1
- package/dist/cjs/api/resources/chrtGpt/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/chrtGpt/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/chrtGpt/index.d.ts +1 -0
- package/dist/cjs/api/resources/chrtGpt/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +3 -1
- package/dist/cjs/api/resources/shipping/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/shipping/client/Client.js +28 -18
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/Client.d.ts +154 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/Client.js +494 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientCreate1.d.ts +57 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientUpdate1.d.ts +29 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsListV1Request.d.ts +27 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsMarkAcceptedReq.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightAirWaybills/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/Client.d.ts +115 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/Client.js +403 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientCreate1.d.ts +29 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientUpdate1.d.ts +19 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillsListV1Request.d.ts +24 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillsListV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/index.js +5 -1
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +1 -1
- package/dist/cjs/api/resources/utils/resources/dev/client/Client.d.ts +0 -30
- package/dist/cjs/api/resources/utils/resources/dev/client/Client.js +0 -128
- package/dist/cjs/api/resources/utils/resources/dev/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/types/ArchivedModel.d.ts +5 -1
- package/dist/cjs/api/types/ArchivedModel.js +4 -0
- package/dist/cjs/api/types/CallerCredentialTypeEnum.d.ts +2 -1
- package/dist/cjs/api/types/CallerCredentialTypeEnum.js +1 -0
- package/dist/cjs/api/types/CargoAiAirWaybillMessage1.d.ts +24 -0
- package/dist/cjs/api/types/CargoAiAirWaybillMessage1.js +5 -0
- package/dist/cjs/api/types/CargoAiAirWaybillMessageSendStatusEnum1.d.ts +10 -0
- package/dist/cjs/api/types/CargoAiAirWaybillMessageSendStatusEnum1.js +12 -0
- package/dist/cjs/api/types/CargoAiAirWaybillMessageSortByEnum.d.ts +4 -0
- package/dist/cjs/api/types/CargoAiAirWaybillMessageSortByEnum.js +5 -0
- package/dist/cjs/api/types/CargoAiAirWaybillMessageWebhookEvent1.d.ts +12 -0
- package/dist/cjs/api/types/CargoAiAirWaybillMessageWebhookEvent1.js +5 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlAddress1.d.ts +13 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlAddress1.js +5 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlAgent1.d.ts +10 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlAgent1.js +5 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlChargesDeclaration1.d.ts +18 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlChargesDeclaration1.js +13 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlCity1.d.ts +7 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlCity1.js +5 -0
- package/dist/cjs/api/types/{GeographyRes.d.ts → CargoAiFwbAndFhlCode1.d.ts} +2 -2
- package/dist/cjs/api/types/CargoAiFwbAndFhlCode1.js +5 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlCountry1.d.ts +7 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlCountry1.js +5 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlDimension1.d.ts +19 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlDimension1.js +15 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlExecution1.d.ts +9 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlExecution1.js +5 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlHandling1.d.ts +9 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlHandling1.js +5 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlHouse1.d.ts +26 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlHouse1.js +13 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlHouseLocations1.d.ts +8 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlHouseLocations1.js +5 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlOci1.d.ts +8 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlOci1.js +5 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlOciSecurity1.d.ts +22 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlOciSecurity1.js +15 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlOtherCharge1.d.ts +21 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlOtherCharge1.js +17 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlParty1.d.ts +12 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlParty1.js +5 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlRate1.d.ts +19 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlRate1.js +5 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlRequest1.d.ts +24 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlRequest1.js +5 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlRouting1.d.ts +9 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlRouting1.js +5 -0
- package/dist/{esm/api/types/GeographyRes.d.mts → cjs/api/types/CargoAiFwbAndFhlUld1.d.ts} +2 -2
- package/dist/cjs/api/types/CargoAiFwbAndFhlUld1.js +5 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlWeightOrVolume1.d.ts +16 -0
- package/dist/cjs/api/types/CargoAiFwbAndFhlWeightOrVolume1.js +15 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybill1.d.ts +32 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybill1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillCarriersExecution1.d.ts +11 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillCarriersExecution1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillChargeCodeEnum1.d.ts +34 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillChargeCodeEnum1.js +33 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillChargesDeclaration1.d.ts +16 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillChargesDeclaration1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillConsignmentSecurityDeclaration1.d.ts +18 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillConsignmentSecurityDeclaration1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillDimension1.d.ts +12 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillDimension1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillFwbMessage1.d.ts +17 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillFwbMessage1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillListRes.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillListRes.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillMessageResponseProvenanceEnum1.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillMessageResponseProvenanceEnum1.js +10 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillMessageStatusEnum1.d.ts +9 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillMessageStatusEnum1.js +11 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillOtherCharge1.d.ts +13 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillOtherCharge1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillOtherChargeEntitlementEnum1.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillOtherChargeEntitlementEnum1.js +10 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillParty1.d.ts +20 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillParty1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillPaymentConditionEnum1.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillPaymentConditionEnum1.js +10 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillRateClassCodeEnum1.d.ts +22 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillRateClassCodeEnum1.js +21 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillRateLine1.d.ts +21 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillRateLine1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillRegulatedEntityCategoryEnum1.d.ts +10 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillRegulatedEntityCategoryEnum1.js +12 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillScreeningExemptionEnum1.d.ts +13 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillScreeningExemptionEnum1.js +15 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillScreeningMethodEnum1.d.ts +17 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillScreeningMethodEnum1.js +19 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillSecurityStatusEnum1.d.ts +10 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillSecurityStatusEnum1.js +12 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillSortByEnum.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillSortByEnum.js +10 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillsMarkAcceptedRes.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightAirWaybillsMarkAcceptedRes.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightHouseAirWaybill1.d.ts +26 -0
- package/dist/cjs/api/types/CargoOnFlightHouseAirWaybill1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightHouseAirWaybillFhlMessage1.d.ts +17 -0
- package/dist/cjs/api/types/CargoOnFlightHouseAirWaybillFhlMessage1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightHouseAirWaybillListRes.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightHouseAirWaybillListRes.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightHouseAirWaybillSortByEnum.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightHouseAirWaybillSortByEnum.js +10 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListItem.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListItem.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillsWebhookRes.d.ts +6 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillsWebhookRes.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.d.ts +15 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.js +14 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes.js +5 -0
- package/dist/{esm/api/types/OrderInformationConversationRes.d.mts → cjs/api/types/ChrtGptMessageRes.d.ts} +1 -1
- package/dist/cjs/api/types/ChrtGptMessageRes.js +5 -0
- package/dist/cjs/api/types/LiveKitHelloWorldStartRes.d.ts +8 -0
- package/dist/cjs/api/types/LiveKitHelloWorldStartRes.js +5 -0
- package/dist/cjs/api/types/Model.d.ts +7 -4
- package/dist/cjs/api/types/Model.js +6 -3
- package/dist/cjs/api/types/OrderEventActionEnum1.d.ts +10 -1
- package/dist/cjs/api/types/OrderEventActionEnum1.js +9 -0
- package/dist/cjs/api/types/OrderEventEntity1.d.ts +2 -0
- package/dist/cjs/api/types/index.d.ts +57 -3
- package/dist/cjs/api/types/index.js +57 -3
- 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/agent/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/agent/client/Client.mjs +3 -3
- package/dist/esm/api/resources/agent/resources/index.d.mts +1 -2
- package/dist/esm/api/resources/agent/resources/index.mjs +1 -2
- package/dist/esm/api/resources/agent/resources/livekit/client/Client.d.mts +23 -0
- package/dist/esm/api/resources/agent/resources/livekit/client/Client.mjs +13 -0
- package/dist/esm/api/resources/agent/resources/livekit/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/resources/livekit/client/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/livekit/index.d.mts +2 -0
- package/dist/esm/api/resources/agent/resources/livekit/index.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/livekit/resources/helloWorld/client/Client.d.mts +44 -0
- package/dist/esm/api/resources/agent/resources/livekit/resources/helloWorld/client/Client.mjs +81 -0
- package/dist/esm/api/resources/agent/resources/livekit/resources/helloWorld/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/resources/livekit/resources/helloWorld/client/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/livekit/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/resources/livekit/resources/index.mjs +1 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.d.mts +51 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/Client.mjs +222 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSendAirWaybillReq.d.mts +13 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.d.mts +20 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseReq.mjs +10 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoaiListAirWaybillMessagesV1Request.d.mts +30 -0
- package/dist/esm/api/resources/cargoOnFlightIntegrations/resources/cargoai/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/chrtGpt/client/Client.d.mts +49 -0
- package/dist/esm/api/resources/chrtGpt/client/Client.mjs +95 -0
- package/dist/{cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.d.ts → esm/api/resources/chrtGpt/client/requests/ChrtGptMessageReq.d.mts} +3 -2
- package/dist/esm/api/resources/chrtGpt/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/chrtGpt/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/chrtGpt/index.d.mts +1 -0
- package/dist/esm/api/resources/chrtGpt/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/shipping/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/shipping/client/Client.mjs +10 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/Client.d.mts +154 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/Client.mjs +457 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientCreate1.d.mts +57 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientUpdate1.d.mts +29 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsListV1Request.d.mts +27 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsMarkAcceptedReq.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightAirWaybills/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/Client.d.mts +115 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/Client.mjs +366 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientCreate1.d.mts +29 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientUpdate1.d.mts +19 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillsListV1Request.d.mts +24 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillsListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/cargoOnFlightHouseAirWaybills/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/index.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +1 -1
- package/dist/esm/api/resources/utils/resources/dev/client/Client.d.mts +0 -30
- package/dist/esm/api/resources/utils/resources/dev/client/Client.mjs +0 -128
- package/dist/esm/api/resources/utils/resources/dev/client/requests/index.d.mts +0 -2
- package/dist/esm/api/types/ArchivedModel.d.mts +5 -1
- package/dist/esm/api/types/ArchivedModel.mjs +4 -0
- package/dist/esm/api/types/CallerCredentialTypeEnum.d.mts +2 -1
- package/dist/esm/api/types/CallerCredentialTypeEnum.mjs +1 -0
- package/dist/esm/api/types/CargoAiAirWaybillMessage1.d.mts +24 -0
- package/dist/esm/api/types/CargoAiAirWaybillMessage1.mjs +4 -0
- package/dist/esm/api/types/CargoAiAirWaybillMessageSendStatusEnum1.d.mts +10 -0
- package/dist/esm/api/types/CargoAiAirWaybillMessageSendStatusEnum1.mjs +9 -0
- package/dist/esm/api/types/CargoAiAirWaybillMessageSortByEnum.d.mts +4 -0
- package/dist/esm/api/types/CargoAiAirWaybillMessageSortByEnum.mjs +4 -0
- package/dist/esm/api/types/CargoAiAirWaybillMessageWebhookEvent1.d.mts +12 -0
- package/dist/esm/api/types/CargoAiAirWaybillMessageWebhookEvent1.mjs +4 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlAddress1.d.mts +13 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlAddress1.mjs +4 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlAgent1.d.mts +10 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlAgent1.mjs +4 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlChargesDeclaration1.d.mts +18 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlChargesDeclaration1.mjs +10 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlCity1.d.mts +7 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlCity1.mjs +4 -0
- package/dist/{cjs/api/types/PingOpenAiRes.d.ts → esm/api/types/CargoAiFwbAndFhlCode1.d.mts} +2 -2
- package/dist/esm/api/types/CargoAiFwbAndFhlCode1.mjs +4 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlCountry1.d.mts +7 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlCountry1.mjs +4 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlDimension1.d.mts +19 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlDimension1.mjs +12 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlExecution1.d.mts +9 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlExecution1.mjs +4 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlHandling1.d.mts +9 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlHandling1.mjs +4 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlHouse1.d.mts +26 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlHouse1.mjs +10 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlHouseLocations1.d.mts +8 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlHouseLocations1.mjs +4 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlOci1.d.mts +8 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlOci1.mjs +4 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlOciSecurity1.d.mts +22 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlOciSecurity1.mjs +12 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlOtherCharge1.d.mts +21 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlOtherCharge1.mjs +14 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlParty1.d.mts +12 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlParty1.mjs +4 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlRate1.d.mts +19 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlRate1.mjs +4 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlRequest1.d.mts +24 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlRequest1.mjs +4 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlRouting1.d.mts +9 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlRouting1.mjs +4 -0
- package/dist/esm/api/types/{PingOpenAiRes.d.mts → CargoAiFwbAndFhlUld1.d.mts} +2 -2
- package/dist/esm/api/types/CargoAiFwbAndFhlUld1.mjs +4 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlWeightOrVolume1.d.mts +16 -0
- package/dist/esm/api/types/CargoAiFwbAndFhlWeightOrVolume1.mjs +12 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybill1.d.mts +32 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybill1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillCarriersExecution1.d.mts +11 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillCarriersExecution1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillChargeCodeEnum1.d.mts +34 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillChargeCodeEnum1.mjs +30 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillChargesDeclaration1.d.mts +16 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillChargesDeclaration1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillConsignmentSecurityDeclaration1.d.mts +18 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillConsignmentSecurityDeclaration1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillDimension1.d.mts +12 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillDimension1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillFwbMessage1.d.mts +17 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillFwbMessage1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillListRes.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillListRes.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillMessageResponseProvenanceEnum1.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillMessageResponseProvenanceEnum1.mjs +7 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillMessageStatusEnum1.d.mts +9 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillMessageStatusEnum1.mjs +8 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillOtherCharge1.d.mts +13 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillOtherCharge1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillOtherChargeEntitlementEnum1.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillOtherChargeEntitlementEnum1.mjs +7 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillParty1.d.mts +20 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillParty1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillPaymentConditionEnum1.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillPaymentConditionEnum1.mjs +7 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillRateClassCodeEnum1.d.mts +22 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillRateClassCodeEnum1.mjs +18 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillRateLine1.d.mts +21 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillRateLine1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillRegulatedEntityCategoryEnum1.d.mts +10 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillRegulatedEntityCategoryEnum1.mjs +9 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillScreeningExemptionEnum1.d.mts +13 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillScreeningExemptionEnum1.mjs +12 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillScreeningMethodEnum1.d.mts +17 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillScreeningMethodEnum1.mjs +16 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillSecurityStatusEnum1.d.mts +10 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillSecurityStatusEnum1.mjs +9 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillSortByEnum.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillSortByEnum.mjs +7 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillsMarkAcceptedRes.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightAirWaybillsMarkAcceptedRes.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightHouseAirWaybill1.d.mts +26 -0
- package/dist/esm/api/types/CargoOnFlightHouseAirWaybill1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightHouseAirWaybillFhlMessage1.d.mts +17 -0
- package/dist/esm/api/types/CargoOnFlightHouseAirWaybillFhlMessage1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightHouseAirWaybillListRes.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightHouseAirWaybillListRes.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightHouseAirWaybillSortByEnum.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightHouseAirWaybillSortByEnum.mjs +7 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListItem.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListItem.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillMessageListRes.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillsWebhookRes.d.mts +6 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiAirWaybillsWebhookRes.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.d.mts +15 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseHouse.mjs +11 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightIntegrationsCargoAiSimulateAirlineResponseRes.mjs +4 -0
- package/dist/{cjs/api/types/OrderInformationConversationRes.d.ts → esm/api/types/ChrtGptMessageRes.d.mts} +1 -1
- package/dist/esm/api/types/ChrtGptMessageRes.mjs +4 -0
- package/dist/esm/api/types/LiveKitHelloWorldStartRes.d.mts +8 -0
- package/dist/esm/api/types/LiveKitHelloWorldStartRes.mjs +4 -0
- package/dist/esm/api/types/Model.d.mts +7 -4
- package/dist/esm/api/types/Model.mjs +6 -3
- package/dist/esm/api/types/OrderEventActionEnum1.d.mts +10 -1
- package/dist/esm/api/types/OrderEventActionEnum1.mjs +9 -0
- package/dist/esm/api/types/OrderEventEntity1.d.mts +2 -0
- package/dist/esm/api/types/index.d.mts +57 -3
- package/dist/esm/api/types/index.mjs +57 -3
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1444 -668
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/Client.d.ts +0 -79
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/Client.js +0 -260
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.d.ts +0 -11
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.d.ts +0 -12
- package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/utils/resources/dev/client/requests/GeographyReq.d.ts +0 -12
- package/dist/cjs/api/resources/utils/resources/dev/client/requests/PingOpenAiReq.d.ts +0 -12
- package/dist/esm/api/resources/agent/resources/orderInformation/client/Client.d.mts +0 -79
- package/dist/esm/api/resources/agent/resources/orderInformation/client/Client.mjs +0 -223
- package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.d.mts +0 -11
- package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.d.mts +0 -13
- package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/utils/resources/dev/client/requests/GeographyReq.d.mts +0 -12
- package/dist/esm/api/resources/utils/resources/dev/client/requests/PingOpenAiReq.d.mts +0 -12
- /package/dist/{esm/api/resources/agent/resources/orderInformation/client/requests/index.mjs → cjs/api/resources/agent/resources/livekit/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/agent/resources/{orderInformation/client/requests → livekit/client}/index.js +0 -0
- /package/dist/cjs/api/resources/agent/resources/{orderInformation → livekit/resources/helloWorld}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/agent/resources/{orderInformation → livekit/resources/helloWorld}/index.js +0 -0
- /package/dist/cjs/api/resources/{agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.js → cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSendAirWaybillReq.js} +0 -0
- /package/dist/cjs/api/resources/{agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.js → cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoaiListAirWaybillMessagesV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{agent/resources/orderInformation → chrtGpt}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{agent/resources/orderInformation → chrtGpt}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.js → chrtGpt/client/requests/ChrtGptMessageReq.js} +0 -0
- /package/dist/cjs/api/resources/{utils/resources/dev/client/requests/GeographyReq.js → shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{utils/resources/dev/client/requests/PingOpenAiReq.js → shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/GeographyRes.js → resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsListV1Request.js} +0 -0
- /package/dist/cjs/api/{types/OrderInformationConversationRes.js → resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsMarkAcceptedReq.js} +0 -0
- /package/dist/cjs/api/{types/PingOpenAiRes.js → resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientCreate1.js} +0 -0
- /package/dist/esm/api/resources/agent/resources/{orderInformation → livekit/resources/helloWorld}/index.d.mts +0 -0
- /package/dist/esm/api/resources/agent/resources/{orderInformation → livekit/resources/helloWorld}/index.mjs +0 -0
- /package/dist/esm/api/resources/{agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.mjs → cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoOnFlightIntegrationsCargoAiSendAirWaybillReq.mjs} +0 -0
- /package/dist/esm/api/resources/{agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.mjs → cargoOnFlightIntegrations/resources/cargoai/client/requests/CargoaiListAirWaybillMessagesV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{agent/resources/orderInformation → chrtGpt}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{agent/resources/orderInformation → chrtGpt}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.mjs → chrtGpt/client/requests/ChrtGptMessageReq.mjs} +0 -0
- /package/dist/esm/api/resources/{utils/resources/dev/client/requests/GeographyReq.mjs → shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{utils/resources/dev/client/requests/PingOpenAiReq.mjs → shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/GeographyRes.mjs → resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsListV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/OrderInformationConversationRes.mjs → resources/shipping/resources/cargoOnFlightAirWaybills/client/requests/CargoOnFlightAirWaybillsMarkAcceptedReq.mjs} +0 -0
- /package/dist/esm/api/{types/PingOpenAiRes.mjs → resources/shipping/resources/cargoOnFlightHouseAirWaybills/client/requests/CargoOnFlightHouseAirWaybillClientCreate1.mjs} +0 -0
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as environments from "../../../../../../environments.js";
|
|
5
|
-
import * as core from "../../../../../../core/index.js";
|
|
6
|
-
import * as Chrt from "../../../../../index.js";
|
|
7
|
-
export declare namespace OrderInformation {
|
|
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 OrderInformation {
|
|
31
|
-
protected readonly _options: OrderInformation.Options;
|
|
32
|
-
constructor(_options?: OrderInformation.Options);
|
|
33
|
-
/**
|
|
34
|
-
* Adds a message to an existing order-information conversation for its owner. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (OrderInformationConversationMessageReq) -> (OrderInformationConversationRes)
|
|
35
|
-
*
|
|
36
|
-
* @param {string} conversationId
|
|
37
|
-
* @param {Chrt.agent.OrderInformationConversationMessageReq} request
|
|
38
|
-
* @param {OrderInformation.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
|
-
*
|
|
40
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* await client.agent.orderInformation.messageV1("conversation_id", {
|
|
44
|
-
* message: "message"
|
|
45
|
-
* })
|
|
46
|
-
*/
|
|
47
|
-
messageV1(conversationId: string, request: Chrt.agent.OrderInformationConversationMessageReq, requestOptions?: OrderInformation.RequestOptions): core.HttpResponsePromise<Chrt.OrderInformationConversationRes>;
|
|
48
|
-
private __messageV1;
|
|
49
|
-
/**
|
|
50
|
-
* Starts an order-information conversation for the authenticated operator. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (OrderInformationConversationStartReq) -> (OrderInformationConversationRes)
|
|
51
|
-
*
|
|
52
|
-
* @param {Chrt.agent.OrderInformationConversationStartReq} request
|
|
53
|
-
* @param {OrderInformation.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
|
-
*
|
|
55
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* await client.agent.orderInformation.startV1({
|
|
59
|
-
* message: "message"
|
|
60
|
-
* })
|
|
61
|
-
*/
|
|
62
|
-
startV1(request: Chrt.agent.OrderInformationConversationStartReq, requestOptions?: OrderInformation.RequestOptions): core.HttpResponsePromise<Chrt.OrderInformationConversationRes>;
|
|
63
|
-
private __startV1;
|
|
64
|
-
/**
|
|
65
|
-
* Updates an order-information conversation's title for its owner. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (OrderInformationConversationClientUpdate1) -> (bool)
|
|
66
|
-
*
|
|
67
|
-
* @param {string} conversationId
|
|
68
|
-
* @param {Chrt.agent.OrderInformationConversationClientUpdate1} request
|
|
69
|
-
* @param {OrderInformation.RequestOptions} requestOptions - Request-specific configuration.
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
72
|
-
*
|
|
73
|
-
* @example
|
|
74
|
-
* await client.agent.orderInformation.updateV1("conversation_id")
|
|
75
|
-
*/
|
|
76
|
-
updateV1(conversationId: string, request?: Chrt.agent.OrderInformationConversationClientUpdate1, requestOptions?: OrderInformation.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
77
|
-
private __updateV1;
|
|
78
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
79
|
-
}
|
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.OrderInformation = void 0;
|
|
49
|
-
const environments = __importStar(require("../../../../../../environments.js"));
|
|
50
|
-
const core = __importStar(require("../../../../../../core/index.js"));
|
|
51
|
-
const Chrt = __importStar(require("../../../../../index.js"));
|
|
52
|
-
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
53
|
-
const errors = __importStar(require("../../../../../../errors/index.js"));
|
|
54
|
-
class OrderInformation {
|
|
55
|
-
constructor(_options = {}) {
|
|
56
|
-
this._options = _options;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Adds a message to an existing order-information conversation for its owner. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (OrderInformationConversationMessageReq) -> (OrderInformationConversationRes)
|
|
60
|
-
*
|
|
61
|
-
* @param {string} conversationId
|
|
62
|
-
* @param {Chrt.agent.OrderInformationConversationMessageReq} request
|
|
63
|
-
* @param {OrderInformation.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
|
-
*
|
|
65
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
66
|
-
*
|
|
67
|
-
* @example
|
|
68
|
-
* await client.agent.orderInformation.messageV1("conversation_id", {
|
|
69
|
-
* message: "message"
|
|
70
|
-
* })
|
|
71
|
-
*/
|
|
72
|
-
messageV1(conversationId, request, requestOptions) {
|
|
73
|
-
return core.HttpResponsePromise.fromPromise(this.__messageV1(conversationId, request, requestOptions));
|
|
74
|
-
}
|
|
75
|
-
__messageV1(conversationId, request, requestOptions) {
|
|
76
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
-
var _a, _b, _c, _d;
|
|
78
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
79
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
80
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `agent/order_information/message/v1/${encodeURIComponent(conversationId)}`),
|
|
81
|
-
method: "POST",
|
|
82
|
-
headers: _headers,
|
|
83
|
-
contentType: "application/json",
|
|
84
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
85
|
-
requestType: "json",
|
|
86
|
-
body: request,
|
|
87
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
88
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
89
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
90
|
-
});
|
|
91
|
-
if (_response.ok) {
|
|
92
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
93
|
-
}
|
|
94
|
-
if (_response.error.reason === "status-code") {
|
|
95
|
-
switch (_response.error.statusCode) {
|
|
96
|
-
case 422:
|
|
97
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
98
|
-
default:
|
|
99
|
-
throw new errors.ChrtError({
|
|
100
|
-
statusCode: _response.error.statusCode,
|
|
101
|
-
body: _response.error.body,
|
|
102
|
-
rawResponse: _response.rawResponse,
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
switch (_response.error.reason) {
|
|
107
|
-
case "non-json":
|
|
108
|
-
throw new errors.ChrtError({
|
|
109
|
-
statusCode: _response.error.statusCode,
|
|
110
|
-
body: _response.error.rawBody,
|
|
111
|
-
rawResponse: _response.rawResponse,
|
|
112
|
-
});
|
|
113
|
-
case "timeout":
|
|
114
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /agent/order_information/message/v1/{conversation_id}.");
|
|
115
|
-
case "unknown":
|
|
116
|
-
throw new errors.ChrtError({
|
|
117
|
-
message: _response.error.errorMessage,
|
|
118
|
-
rawResponse: _response.rawResponse,
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Starts an order-information conversation for the authenticated operator. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (OrderInformationConversationStartReq) -> (OrderInformationConversationRes)
|
|
125
|
-
*
|
|
126
|
-
* @param {Chrt.agent.OrderInformationConversationStartReq} request
|
|
127
|
-
* @param {OrderInformation.RequestOptions} requestOptions - Request-specific configuration.
|
|
128
|
-
*
|
|
129
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
130
|
-
*
|
|
131
|
-
* @example
|
|
132
|
-
* await client.agent.orderInformation.startV1({
|
|
133
|
-
* message: "message"
|
|
134
|
-
* })
|
|
135
|
-
*/
|
|
136
|
-
startV1(request, requestOptions) {
|
|
137
|
-
return core.HttpResponsePromise.fromPromise(this.__startV1(request, requestOptions));
|
|
138
|
-
}
|
|
139
|
-
__startV1(request, requestOptions) {
|
|
140
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
141
|
-
var _a, _b, _c, _d;
|
|
142
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
143
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
144
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "agent/order_information/start/v1"),
|
|
145
|
-
method: "POST",
|
|
146
|
-
headers: _headers,
|
|
147
|
-
contentType: "application/json",
|
|
148
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
149
|
-
requestType: "json",
|
|
150
|
-
body: request,
|
|
151
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
152
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
153
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
154
|
-
});
|
|
155
|
-
if (_response.ok) {
|
|
156
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
157
|
-
}
|
|
158
|
-
if (_response.error.reason === "status-code") {
|
|
159
|
-
switch (_response.error.statusCode) {
|
|
160
|
-
case 422:
|
|
161
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
162
|
-
default:
|
|
163
|
-
throw new errors.ChrtError({
|
|
164
|
-
statusCode: _response.error.statusCode,
|
|
165
|
-
body: _response.error.body,
|
|
166
|
-
rawResponse: _response.rawResponse,
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
switch (_response.error.reason) {
|
|
171
|
-
case "non-json":
|
|
172
|
-
throw new errors.ChrtError({
|
|
173
|
-
statusCode: _response.error.statusCode,
|
|
174
|
-
body: _response.error.rawBody,
|
|
175
|
-
rawResponse: _response.rawResponse,
|
|
176
|
-
});
|
|
177
|
-
case "timeout":
|
|
178
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /agent/order_information/start/v1.");
|
|
179
|
-
case "unknown":
|
|
180
|
-
throw new errors.ChrtError({
|
|
181
|
-
message: _response.error.errorMessage,
|
|
182
|
-
rawResponse: _response.rawResponse,
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* Updates an order-information conversation's title for its owner. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (OrderInformationConversationClientUpdate1) -> (bool)
|
|
189
|
-
*
|
|
190
|
-
* @param {string} conversationId
|
|
191
|
-
* @param {Chrt.agent.OrderInformationConversationClientUpdate1} request
|
|
192
|
-
* @param {OrderInformation.RequestOptions} requestOptions - Request-specific configuration.
|
|
193
|
-
*
|
|
194
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
195
|
-
*
|
|
196
|
-
* @example
|
|
197
|
-
* await client.agent.orderInformation.updateV1("conversation_id")
|
|
198
|
-
*/
|
|
199
|
-
updateV1(conversationId, request = {}, requestOptions) {
|
|
200
|
-
return core.HttpResponsePromise.fromPromise(this.__updateV1(conversationId, request, requestOptions));
|
|
201
|
-
}
|
|
202
|
-
__updateV1(conversationId_1) {
|
|
203
|
-
return __awaiter(this, arguments, void 0, function* (conversationId, request = {}, requestOptions) {
|
|
204
|
-
var _a, _b, _c, _d;
|
|
205
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
206
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
207
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `agent/order_information/update/v1/${encodeURIComponent(conversationId)}`),
|
|
208
|
-
method: "PATCH",
|
|
209
|
-
headers: _headers,
|
|
210
|
-
contentType: "application/json",
|
|
211
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
212
|
-
requestType: "json",
|
|
213
|
-
body: request,
|
|
214
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
215
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
216
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
217
|
-
});
|
|
218
|
-
if (_response.ok) {
|
|
219
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
220
|
-
}
|
|
221
|
-
if (_response.error.reason === "status-code") {
|
|
222
|
-
switch (_response.error.statusCode) {
|
|
223
|
-
case 422:
|
|
224
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
225
|
-
default:
|
|
226
|
-
throw new errors.ChrtError({
|
|
227
|
-
statusCode: _response.error.statusCode,
|
|
228
|
-
body: _response.error.body,
|
|
229
|
-
rawResponse: _response.rawResponse,
|
|
230
|
-
});
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
switch (_response.error.reason) {
|
|
234
|
-
case "non-json":
|
|
235
|
-
throw new errors.ChrtError({
|
|
236
|
-
statusCode: _response.error.statusCode,
|
|
237
|
-
body: _response.error.rawBody,
|
|
238
|
-
rawResponse: _response.rawResponse,
|
|
239
|
-
});
|
|
240
|
-
case "timeout":
|
|
241
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /agent/order_information/update/v1/{conversation_id}.");
|
|
242
|
-
case "unknown":
|
|
243
|
-
throw new errors.ChrtError({
|
|
244
|
-
message: _response.error.errorMessage,
|
|
245
|
-
rawResponse: _response.rawResponse,
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
|
-
});
|
|
249
|
-
}
|
|
250
|
-
_getAuthorizationHeader() {
|
|
251
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
252
|
-
const bearer = yield core.Supplier.get(this._options.token);
|
|
253
|
-
if (bearer != null) {
|
|
254
|
-
return `Bearer ${bearer}`;
|
|
255
|
-
}
|
|
256
|
-
return undefined;
|
|
257
|
-
});
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
exports.OrderInformation = OrderInformation;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { type OrderInformationConversationMessageReq } from "./OrderInformationConversationMessageReq.js";
|
|
2
|
-
export { type OrderInformationConversationStartReq } from "./OrderInformationConversationStartReq.js";
|
|
3
|
-
export { type OrderInformationConversationClientUpdate1 } from "./OrderInformationConversationClientUpdate1.js";
|
|
@@ -1,79 +0,0 @@
|
|
|
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 OrderInformation {
|
|
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 OrderInformation {
|
|
31
|
-
protected readonly _options: OrderInformation.Options;
|
|
32
|
-
constructor(_options?: OrderInformation.Options);
|
|
33
|
-
/**
|
|
34
|
-
* Adds a message to an existing order-information conversation for its owner. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (OrderInformationConversationMessageReq) -> (OrderInformationConversationRes)
|
|
35
|
-
*
|
|
36
|
-
* @param {string} conversationId
|
|
37
|
-
* @param {Chrt.agent.OrderInformationConversationMessageReq} request
|
|
38
|
-
* @param {OrderInformation.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
|
-
*
|
|
40
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
41
|
-
*
|
|
42
|
-
* @example
|
|
43
|
-
* await client.agent.orderInformation.messageV1("conversation_id", {
|
|
44
|
-
* message: "message"
|
|
45
|
-
* })
|
|
46
|
-
*/
|
|
47
|
-
messageV1(conversationId: string, request: Chrt.agent.OrderInformationConversationMessageReq, requestOptions?: OrderInformation.RequestOptions): core.HttpResponsePromise<Chrt.OrderInformationConversationRes>;
|
|
48
|
-
private __messageV1;
|
|
49
|
-
/**
|
|
50
|
-
* Starts an order-information conversation for the authenticated operator. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (OrderInformationConversationStartReq) -> (OrderInformationConversationRes)
|
|
51
|
-
*
|
|
52
|
-
* @param {Chrt.agent.OrderInformationConversationStartReq} request
|
|
53
|
-
* @param {OrderInformation.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
|
-
*
|
|
55
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* await client.agent.orderInformation.startV1({
|
|
59
|
-
* message: "message"
|
|
60
|
-
* })
|
|
61
|
-
*/
|
|
62
|
-
startV1(request: Chrt.agent.OrderInformationConversationStartReq, requestOptions?: OrderInformation.RequestOptions): core.HttpResponsePromise<Chrt.OrderInformationConversationRes>;
|
|
63
|
-
private __startV1;
|
|
64
|
-
/**
|
|
65
|
-
* Updates an order-information conversation's title for its owner. | authz: allowed_org_types=[shipper, provider], min_org_role=operator | (OrderInformationConversationClientUpdate1) -> (bool)
|
|
66
|
-
*
|
|
67
|
-
* @param {string} conversationId
|
|
68
|
-
* @param {Chrt.agent.OrderInformationConversationClientUpdate1} request
|
|
69
|
-
* @param {OrderInformation.RequestOptions} requestOptions - Request-specific configuration.
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
72
|
-
*
|
|
73
|
-
* @example
|
|
74
|
-
* await client.agent.orderInformation.updateV1("conversation_id")
|
|
75
|
-
*/
|
|
76
|
-
updateV1(conversationId: string, request?: Chrt.agent.OrderInformationConversationClientUpdate1, requestOptions?: OrderInformation.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
77
|
-
private __updateV1;
|
|
78
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
79
|
-
}
|