@chrt-inc/typescript-sdk 1.891.0 → 1.892.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 +23 -18
- package/dist/cjs/api/resources/billingNew/client/Client.d.ts +29 -0
- package/dist/cjs/api/resources/billingNew/client/Client.js +27 -0
- package/dist/cjs/api/resources/billingNew/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/client/index.js +2 -0
- package/dist/cjs/api/resources/billingNew/index.d.ts +2 -0
- package/dist/cjs/api/resources/billingNew/index.js +18 -0
- package/dist/cjs/api/resources/billingNew/resources/index.d.ts +6 -0
- package/dist/cjs/api/resources/billingNew/resources/index.js +45 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.ts +180 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +639 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/index.js +17 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.d.ts +22 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.ts +28 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.ts +45 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemClientUpdate1.d.ts +19 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsDeleteManyReq.d.ts +12 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsDeleteManyReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.ts +62 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/index.js +17 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +217 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +880 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/index.js +17 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.ts +24 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientUpdate1.d.ts +13 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsAddReq.d.ts +12 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsAddReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsRemoveReq.d.ts +12 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsRemoveReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceVoidReq.d.ts +10 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceVoidReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.ts +51 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/index.js +17 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/Client.d.ts +145 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/Client.js +578 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/index.js +17 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.d.ts +13 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.d.ts +37 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.ts +43 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.d.ts +13 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.d.ts +54 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +36 -20
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/types/AdditionalMileageRate1.d.ts +9 -0
- package/dist/cjs/api/types/AdditionalMileageRate1.js +5 -0
- package/dist/cjs/api/types/AfterHoursRate1.d.ts +7 -0
- package/dist/cjs/api/types/AfterHoursRate1.js +5 -0
- package/dist/cjs/api/types/ApplyChrtGroundProviderRatesRes.d.ts +7 -0
- package/dist/cjs/api/types/ApplyChrtGroundProviderRatesRes.js +5 -0
- package/dist/cjs/api/types/AttemptRate1.d.ts +7 -0
- package/dist/cjs/api/types/AttemptRate1.js +5 -0
- package/dist/cjs/api/types/BaseMileageRate1.d.ts +8 -0
- package/dist/cjs/api/types/BaseMileageRate1.js +5 -0
- package/dist/cjs/api/types/BillingCurrencyCodeEnum1.d.ts +17 -0
- package/dist/cjs/api/types/BillingCurrencyCodeEnum1.js +19 -0
- package/dist/cjs/api/types/CargoTypeEnum1.d.ts +8 -1
- package/dist/cjs/api/types/CargoTypeEnum1.js +7 -0
- package/dist/cjs/api/types/ChrtGroundProviderRates1.d.ts +35 -0
- package/dist/cjs/api/types/ChrtGroundProviderRates1.js +5 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesListRes.d.ts +8 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesListRes.js +5 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesSortByEnum.js +12 -0
- package/dist/cjs/api/types/CreateInvoiceLineItemsFromAmountRes.d.ts +7 -0
- package/dist/cjs/api/types/CreateInvoiceLineItemsFromAmountRes.js +5 -0
- package/dist/cjs/api/types/CreateInvoiceLineItemsFromLineItemsRes.d.ts +7 -0
- package/dist/cjs/api/types/CreateInvoiceLineItemsFromLineItemsRes.js +5 -0
- package/dist/cjs/api/types/DangerousGoodsRate1.d.ts +7 -0
- package/dist/cjs/api/types/DangerousGoodsRate1.js +5 -0
- package/dist/cjs/api/types/ExtraStopRate1.d.ts +7 -0
- package/dist/cjs/api/types/ExtraStopRate1.js +5 -0
- package/dist/cjs/api/types/FlatFeeRate1.d.ts +7 -0
- package/dist/cjs/api/types/FlatFeeRate1.js +5 -0
- package/dist/cjs/api/types/FuelSurchargeRate1.d.ts +7 -0
- package/dist/cjs/api/types/FuelSurchargeRate1.js +5 -0
- package/dist/cjs/api/types/HolidayRate1.d.ts +7 -0
- package/dist/cjs/api/types/HolidayRate1.js +5 -0
- package/dist/cjs/api/types/Invoice1.d.ts +57 -0
- package/dist/cjs/api/types/Invoice1.js +5 -0
- package/dist/cjs/api/types/InvoiceExpandedRes.d.ts +11 -0
- package/dist/cjs/api/types/InvoiceExpandedRes.js +5 -0
- package/dist/cjs/api/types/InvoiceLineItem1.d.ts +31 -0
- package/dist/cjs/api/types/InvoiceLineItem1.js +5 -0
- package/dist/cjs/api/types/InvoiceLineItemAmountTransformation1.d.ts +8 -0
- package/dist/cjs/api/types/InvoiceLineItemAmountTransformation1.js +5 -0
- package/dist/cjs/api/types/InvoiceLineItemAmountTransformationTypeEnum1.d.ts +9 -0
- package/dist/cjs/api/types/InvoiceLineItemAmountTransformationTypeEnum1.js +11 -0
- package/dist/cjs/api/types/InvoiceLineItemListRes.d.ts +8 -0
- package/dist/cjs/api/types/InvoiceLineItemListRes.js +5 -0
- package/dist/cjs/api/types/InvoiceLineItemSortByEnum.d.ts +14 -0
- package/dist/cjs/api/types/InvoiceLineItemSortByEnum.js +16 -0
- package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.d.ts +33 -0
- package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.js +35 -0
- package/dist/cjs/api/types/InvoiceLineItemUnitEnum1.d.ts +14 -0
- package/dist/cjs/api/types/InvoiceLineItemUnitEnum1.js +16 -0
- package/dist/cjs/api/types/InvoiceLineItemsByOrderExpandedRes.d.ts +10 -0
- package/dist/cjs/api/types/InvoiceLineItemsByOrderExpandedRes.js +5 -0
- package/dist/cjs/api/types/InvoiceLineItemsDeleteManyRes.d.ts +6 -0
- package/dist/cjs/api/types/InvoiceLineItemsDeleteManyRes.js +5 -0
- package/dist/cjs/api/types/InvoiceListRes.d.ts +8 -0
- package/dist/cjs/api/types/InvoiceListRes.js +5 -0
- package/dist/cjs/api/types/InvoiceMergeStatusEnum1.d.ts +12 -0
- package/dist/cjs/api/types/InvoiceMergeStatusEnum1.js +14 -0
- package/dist/cjs/api/types/InvoiceSortByEnum.d.ts +11 -0
- package/dist/cjs/api/types/InvoiceSortByEnum.js +13 -0
- package/dist/cjs/api/types/InvoiceStatusEnum1.d.ts +9 -0
- package/dist/cjs/api/types/InvoiceStatusEnum1.js +11 -0
- package/dist/cjs/api/types/InvoiceStripeStatusEnum1.d.ts +11 -0
- package/dist/cjs/api/types/InvoiceStripeStatusEnum1.js +13 -0
- package/dist/cjs/api/types/InvoiceTypeEnum1.d.ts +8 -0
- package/dist/cjs/api/types/InvoiceTypeEnum1.js +10 -0
- package/dist/cjs/api/types/LongDistanceSurchargeRate1.d.ts +8 -0
- package/dist/cjs/api/types/LongDistanceSurchargeRate1.js +5 -0
- package/dist/cjs/api/types/Order1.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForExecutor1.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +1 -0
- package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +1 -0
- package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +1 -0
- package/dist/cjs/api/types/PickAndHoldRate1.d.ts +7 -0
- package/dist/cjs/api/types/PickAndHoldRate1.js +5 -0
- package/dist/cjs/api/types/WaitTimeRate1.d.ts +8 -0
- package/dist/cjs/api/types/WaitTimeRate1.js +5 -0
- package/dist/cjs/api/types/WeekendRate1.d.ts +7 -0
- package/dist/cjs/api/types/WeekendRate1.js +5 -0
- package/dist/cjs/api/types/index.d.ts +37 -0
- package/dist/cjs/api/types/index.js +37 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +7 -2
- package/dist/esm/api/resources/billingNew/client/Client.d.mts +29 -0
- package/dist/esm/api/resources/billingNew/client/Client.mjs +23 -0
- package/dist/esm/api/resources/billingNew/client/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/client/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/index.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/index.mjs +2 -0
- package/dist/esm/api/resources/billingNew/resources/index.d.mts +6 -0
- package/dist/esm/api/resources/billingNew/resources/index.mjs +6 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +180 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +602 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/index.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.d.mts +22 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.mts +28 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.mts +45 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemClientUpdate1.d.mts +19 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsDeleteManyReq.d.mts +12 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsDeleteManyReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.mts +62 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +217 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +843 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/index.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.mts +24 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientUpdate1.d.mts +13 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsAddReq.d.mts +12 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsAddReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsRemoveReq.d.mts +12 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsRemoveReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceVoidReq.d.mts +10 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceVoidReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.mts +51 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/Client.d.mts +145 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/Client.mjs +541 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/index.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.d.mts +13 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.d.mts +37 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.mts +43 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.d.mts +13 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.d.mts +54 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/rates/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/rates/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +36 -20
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/types/AdditionalMileageRate1.d.mts +9 -0
- package/dist/esm/api/types/AdditionalMileageRate1.mjs +4 -0
- package/dist/esm/api/types/AfterHoursRate1.d.mts +7 -0
- package/dist/esm/api/types/AfterHoursRate1.mjs +4 -0
- package/dist/esm/api/types/ApplyChrtGroundProviderRatesRes.d.mts +7 -0
- package/dist/esm/api/types/ApplyChrtGroundProviderRatesRes.mjs +4 -0
- package/dist/esm/api/types/AttemptRate1.d.mts +7 -0
- package/dist/esm/api/types/AttemptRate1.mjs +4 -0
- package/dist/esm/api/types/BaseMileageRate1.d.mts +8 -0
- package/dist/esm/api/types/BaseMileageRate1.mjs +4 -0
- package/dist/esm/api/types/BillingCurrencyCodeEnum1.d.mts +17 -0
- package/dist/esm/api/types/BillingCurrencyCodeEnum1.mjs +16 -0
- package/dist/esm/api/types/CargoTypeEnum1.d.mts +8 -1
- package/dist/esm/api/types/CargoTypeEnum1.mjs +7 -0
- package/dist/esm/api/types/ChrtGroundProviderRates1.d.mts +35 -0
- package/dist/esm/api/types/ChrtGroundProviderRates1.mjs +4 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesListRes.d.mts +8 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesListRes.mjs +4 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesSortByEnum.mjs +9 -0
- package/dist/esm/api/types/CreateInvoiceLineItemsFromAmountRes.d.mts +7 -0
- package/dist/esm/api/types/CreateInvoiceLineItemsFromAmountRes.mjs +4 -0
- package/dist/esm/api/types/CreateInvoiceLineItemsFromLineItemsRes.d.mts +7 -0
- package/dist/esm/api/types/CreateInvoiceLineItemsFromLineItemsRes.mjs +4 -0
- package/dist/esm/api/types/DangerousGoodsRate1.d.mts +7 -0
- package/dist/esm/api/types/DangerousGoodsRate1.mjs +4 -0
- package/dist/esm/api/types/ExtraStopRate1.d.mts +7 -0
- package/dist/esm/api/types/ExtraStopRate1.mjs +4 -0
- package/dist/esm/api/types/FlatFeeRate1.d.mts +7 -0
- package/dist/esm/api/types/FlatFeeRate1.mjs +4 -0
- package/dist/esm/api/types/FuelSurchargeRate1.d.mts +7 -0
- package/dist/esm/api/types/FuelSurchargeRate1.mjs +4 -0
- package/dist/esm/api/types/HolidayRate1.d.mts +7 -0
- package/dist/esm/api/types/HolidayRate1.mjs +4 -0
- package/dist/esm/api/types/Invoice1.d.mts +57 -0
- package/dist/esm/api/types/Invoice1.mjs +4 -0
- package/dist/esm/api/types/InvoiceExpandedRes.d.mts +11 -0
- package/dist/esm/api/types/InvoiceExpandedRes.mjs +4 -0
- package/dist/esm/api/types/InvoiceLineItem1.d.mts +31 -0
- package/dist/esm/api/types/InvoiceLineItem1.mjs +4 -0
- package/dist/esm/api/types/InvoiceLineItemAmountTransformation1.d.mts +8 -0
- package/dist/esm/api/types/InvoiceLineItemAmountTransformation1.mjs +4 -0
- package/dist/esm/api/types/InvoiceLineItemAmountTransformationTypeEnum1.d.mts +9 -0
- package/dist/esm/api/types/InvoiceLineItemAmountTransformationTypeEnum1.mjs +8 -0
- package/dist/esm/api/types/InvoiceLineItemListRes.d.mts +8 -0
- package/dist/esm/api/types/InvoiceLineItemListRes.mjs +4 -0
- package/dist/esm/api/types/InvoiceLineItemSortByEnum.d.mts +14 -0
- package/dist/esm/api/types/InvoiceLineItemSortByEnum.mjs +13 -0
- package/dist/esm/api/types/InvoiceLineItemTypeEnum1.d.mts +33 -0
- package/dist/esm/api/types/InvoiceLineItemTypeEnum1.mjs +32 -0
- package/dist/esm/api/types/InvoiceLineItemUnitEnum1.d.mts +14 -0
- package/dist/esm/api/types/InvoiceLineItemUnitEnum1.mjs +13 -0
- package/dist/esm/api/types/InvoiceLineItemsByOrderExpandedRes.d.mts +10 -0
- package/dist/esm/api/types/InvoiceLineItemsByOrderExpandedRes.mjs +4 -0
- package/dist/esm/api/types/InvoiceLineItemsDeleteManyRes.d.mts +6 -0
- package/dist/esm/api/types/InvoiceLineItemsDeleteManyRes.mjs +4 -0
- package/dist/esm/api/types/InvoiceListRes.d.mts +8 -0
- package/dist/esm/api/types/InvoiceListRes.mjs +4 -0
- package/dist/esm/api/types/InvoiceMergeStatusEnum1.d.mts +12 -0
- package/dist/esm/api/types/InvoiceMergeStatusEnum1.mjs +11 -0
- package/dist/esm/api/types/InvoiceSortByEnum.d.mts +11 -0
- package/dist/esm/api/types/InvoiceSortByEnum.mjs +10 -0
- package/dist/esm/api/types/InvoiceStatusEnum1.d.mts +9 -0
- package/dist/esm/api/types/InvoiceStatusEnum1.mjs +8 -0
- package/dist/esm/api/types/InvoiceStripeStatusEnum1.d.mts +11 -0
- package/dist/esm/api/types/InvoiceStripeStatusEnum1.mjs +10 -0
- package/dist/esm/api/types/InvoiceTypeEnum1.d.mts +8 -0
- package/dist/esm/api/types/InvoiceTypeEnum1.mjs +7 -0
- package/dist/esm/api/types/LongDistanceSurchargeRate1.d.mts +8 -0
- package/dist/esm/api/types/LongDistanceSurchargeRate1.mjs +4 -0
- package/dist/esm/api/types/Order1.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForExecutor1.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +1 -0
- package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +1 -0
- package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +1 -0
- package/dist/esm/api/types/PickAndHoldRate1.d.mts +7 -0
- package/dist/esm/api/types/PickAndHoldRate1.mjs +4 -0
- package/dist/esm/api/types/WaitTimeRate1.d.mts +8 -0
- package/dist/esm/api/types/WaitTimeRate1.mjs +4 -0
- package/dist/esm/api/types/WeekendRate1.d.mts +7 -0
- package/dist/esm/api/types/WeekendRate1.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +37 -0
- package/dist/esm/api/types/index.mjs +37 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1822 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*/
|
|
9
|
+
export interface ChrtGroundProviderRatesClientUpdate1 {
|
|
10
|
+
additional_mileage?: Chrt.AdditionalMileageRate1 | null;
|
|
11
|
+
additional_mileage__set_to_None?: boolean;
|
|
12
|
+
after_hours?: Chrt.AfterHoursRate1 | null;
|
|
13
|
+
after_hours__set_to_None?: boolean;
|
|
14
|
+
attempt?: Chrt.AttemptRate1 | null;
|
|
15
|
+
attempt__set_to_None?: boolean;
|
|
16
|
+
base_mileage?: Chrt.BaseMileageRate1 | null;
|
|
17
|
+
base_mileage__set_to_None?: boolean;
|
|
18
|
+
cargo_types?: Chrt.CargoTypeEnum1[];
|
|
19
|
+
comments?: string | null;
|
|
20
|
+
comments__set_to_None?: boolean;
|
|
21
|
+
currency_code?: Chrt.BillingCurrencyCodeEnum1 | null;
|
|
22
|
+
dangerous_goods?: Chrt.DangerousGoodsRate1 | null;
|
|
23
|
+
dangerous_goods__set_to_None?: boolean;
|
|
24
|
+
extra_stop?: Chrt.ExtraStopRate1 | null;
|
|
25
|
+
extra_stop__set_to_None?: boolean;
|
|
26
|
+
flat_fee?: Chrt.FlatFeeRate1 | null;
|
|
27
|
+
flat_fee__set_to_None?: boolean;
|
|
28
|
+
fuel_surcharge?: Chrt.FuelSurchargeRate1 | null;
|
|
29
|
+
fuel_surcharge__set_to_None?: boolean;
|
|
30
|
+
holiday?: Chrt.HolidayRate1 | null;
|
|
31
|
+
holiday__set_to_None?: boolean;
|
|
32
|
+
long_distance_surcharge?: Chrt.LongDistanceSurchargeRate1 | null;
|
|
33
|
+
long_distance_surcharge__set_to_None?: boolean;
|
|
34
|
+
name?: string | null;
|
|
35
|
+
name__set_to_None?: boolean;
|
|
36
|
+
pick_and_hold?: Chrt.PickAndHoldRate1 | null;
|
|
37
|
+
pick_and_hold__set_to_None?: boolean;
|
|
38
|
+
vehicle_types?: Chrt.VehicleTypeEnum[];
|
|
39
|
+
wait_time?: Chrt.WaitTimeRate1 | null;
|
|
40
|
+
wait_time__set_to_None?: boolean;
|
|
41
|
+
weekend?: Chrt.WeekendRate1 | null;
|
|
42
|
+
weekend__set_to_None?: boolean;
|
|
43
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface ChrtGroundProviderRatesRemoveCounterpartiesReq {
|
|
9
|
+
counterparty_account_ids?: string[];
|
|
10
|
+
counterparty_driver_ids?: string[];
|
|
11
|
+
counterparty_off_chrt_org_data_ids?: string[];
|
|
12
|
+
counterparty_org_ids?: string[];
|
|
13
|
+
}
|
package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.d.ts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* search: "search",
|
|
9
|
+
* sort_by: "name",
|
|
10
|
+
* sort_order: "asc",
|
|
11
|
+
* page: 1,
|
|
12
|
+
* page_size: 1,
|
|
13
|
+
* filter_counterparty_org_id: "filter_counterparty_org_id",
|
|
14
|
+
* filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
|
|
15
|
+
* filter_counterparty_account_id: "filter_counterparty_account_id",
|
|
16
|
+
* filter_counterparty_driver_id: "filter_counterparty_driver_id",
|
|
17
|
+
* filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
18
|
+
* filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
19
|
+
* filter_updated_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
20
|
+
* filter_updated_at_timestamp_lte: "2024-01-15T09:30:00Z"
|
|
21
|
+
* }
|
|
22
|
+
*/
|
|
23
|
+
export interface RatesListV1Request {
|
|
24
|
+
/** Search rate names and comments. */
|
|
25
|
+
search?: string | null;
|
|
26
|
+
/** Field to sort by. */
|
|
27
|
+
sort_by?: Chrt.ChrtGroundProviderRatesSortByEnum | null;
|
|
28
|
+
/** Sort order. */
|
|
29
|
+
sort_order?: Chrt.SortOrderEnum | null;
|
|
30
|
+
page?: number | null;
|
|
31
|
+
page_size?: number | null;
|
|
32
|
+
/** Filter by one or more currency codes. */
|
|
33
|
+
filter_currency_codes?: (Chrt.BillingCurrencyCodeEnum1 | null) | (Chrt.BillingCurrencyCodeEnum1 | null)[];
|
|
34
|
+
/** Filter by an associated on-CHRT organization. */
|
|
35
|
+
filter_counterparty_org_id?: string | null;
|
|
36
|
+
/** Filter by associated off-CHRT organization data. */
|
|
37
|
+
filter_counterparty_off_chrt_org_data_id?: string | null;
|
|
38
|
+
/** Filter by an associated account. */
|
|
39
|
+
filter_counterparty_account_id?: string | null;
|
|
40
|
+
/** Filter by an associated driver. */
|
|
41
|
+
filter_counterparty_driver_id?: string | null;
|
|
42
|
+
/** Filter by one or more cargo types. */
|
|
43
|
+
filter_cargo_types?: (Chrt.CargoTypeEnum1 | null) | (Chrt.CargoTypeEnum1 | null)[];
|
|
44
|
+
/** Filter by one or more vehicle types. */
|
|
45
|
+
filter_vehicle_types?: (Chrt.VehicleTypeEnum | null) | (Chrt.VehicleTypeEnum | null)[];
|
|
46
|
+
/** Filter by created_at_timestamp greater than or equal. */
|
|
47
|
+
filter_created_at_timestamp_gte?: string | null;
|
|
48
|
+
/** Filter by created_at_timestamp less than or equal. */
|
|
49
|
+
filter_created_at_timestamp_lte?: string | null;
|
|
50
|
+
/** Filter by updated_at_timestamp greater than or equal. */
|
|
51
|
+
filter_updated_at_timestamp_gte?: string | null;
|
|
52
|
+
/** Filter by updated_at_timestamp less than or equal. */
|
|
53
|
+
filter_updated_at_timestamp_lte?: string | null;
|
|
54
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { type ChrtGroundProviderRatesAddCounterpartiesReq } from "./ChrtGroundProviderRatesAddCounterpartiesReq.js";
|
|
2
|
+
export { type ChrtGroundProviderRatesRemoveCounterpartiesReq } from "./ChrtGroundProviderRatesRemoveCounterpartiesReq.js";
|
|
3
|
+
export { type ChrtGroundProviderRatesClientCreate1 } from "./ChrtGroundProviderRatesClientCreate1.js";
|
|
4
|
+
export { type RatesListV1Request } from "./RatesListV1Request.js";
|
|
5
|
+
export { type ChrtGroundProviderRatesClientUpdate1 } from "./ChrtGroundProviderRatesClientUpdate1.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
@@ -4,6 +4,7 @@ export * as flights from "./flights/index.js";
|
|
|
4
4
|
export * as utils from "./utils/index.js";
|
|
5
5
|
export * as analytics from "./analytics/index.js";
|
|
6
6
|
export * as billing from "./billing/index.js";
|
|
7
|
+
export * as billingNew from "./billingNew/index.js";
|
|
7
8
|
export * as integrations from "./integrations/index.js";
|
|
8
9
|
export * as listing from "./listing/index.js";
|
|
9
10
|
export * as notifications from "./notifications/index.js";
|
|
@@ -36,13 +36,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.users = exports.trackingIntegrations = exports.tracking = exports.operations = exports.notifications = exports.listing = exports.integrations = exports.billing = exports.analytics = exports.utils = exports.flights = exports.shipping = exports.orgs = void 0;
|
|
39
|
+
exports.users = exports.trackingIntegrations = exports.tracking = exports.operations = exports.notifications = exports.listing = exports.integrations = exports.billingNew = exports.billing = exports.analytics = exports.utils = exports.flights = exports.shipping = exports.orgs = void 0;
|
|
40
40
|
exports.orgs = __importStar(require("./orgs/index.js"));
|
|
41
41
|
exports.shipping = __importStar(require("./shipping/index.js"));
|
|
42
42
|
exports.flights = __importStar(require("./flights/index.js"));
|
|
43
43
|
exports.utils = __importStar(require("./utils/index.js"));
|
|
44
44
|
exports.analytics = __importStar(require("./analytics/index.js"));
|
|
45
45
|
exports.billing = __importStar(require("./billing/index.js"));
|
|
46
|
+
exports.billingNew = __importStar(require("./billingNew/index.js"));
|
|
46
47
|
exports.integrations = __importStar(require("./integrations/index.js"));
|
|
47
48
|
exports.listing = __importStar(require("./listing/index.js"));
|
|
48
49
|
exports.notifications = __importStar(require("./notifications/index.js"));
|
package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts
CHANGED
|
@@ -102,6 +102,7 @@ export declare class Expanded {
|
|
|
102
102
|
* page_size: 1,
|
|
103
103
|
* search: "search",
|
|
104
104
|
* filter_awb_number: "filter_awb_number",
|
|
105
|
+
* filter_has_invoice: true,
|
|
105
106
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
106
107
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
107
108
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -140,6 +141,7 @@ export declare class Expanded {
|
|
|
140
141
|
* page_size: 1,
|
|
141
142
|
* search: "search",
|
|
142
143
|
* filter_awb_number: "filter_awb_number",
|
|
144
|
+
* filter_has_invoice: true,
|
|
143
145
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
144
146
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
145
147
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -177,6 +179,7 @@ export declare class Expanded {
|
|
|
177
179
|
* page_size: 1,
|
|
178
180
|
* search: "search",
|
|
179
181
|
* filter_awb_number: "filter_awb_number",
|
|
182
|
+
* filter_has_invoice: true,
|
|
180
183
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
181
184
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
182
185
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -216,6 +219,7 @@ export declare class Expanded {
|
|
|
216
219
|
* page_size: 1,
|
|
217
220
|
* search: "search",
|
|
218
221
|
* filter_awb_number: "filter_awb_number",
|
|
222
|
+
* filter_has_invoice: true,
|
|
219
223
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
220
224
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
221
225
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js
CHANGED
|
@@ -323,6 +323,7 @@ class Expanded {
|
|
|
323
323
|
* page_size: 1,
|
|
324
324
|
* search: "search",
|
|
325
325
|
* filter_awb_number: "filter_awb_number",
|
|
326
|
+
* filter_has_invoice: true,
|
|
326
327
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
327
328
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
328
329
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -348,8 +349,8 @@ class Expanded {
|
|
|
348
349
|
}
|
|
349
350
|
__listForCoordinatorOperatorsV1(request, requestOptions) {
|
|
350
351
|
return __awaiter(this, void 0, void 0, function* () {
|
|
351
|
-
var _a, _b, _c, _d, _e, _f;
|
|
352
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
|
|
352
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
353
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
|
|
353
354
|
const _queryParams = {};
|
|
354
355
|
if (sortBy !== undefined) {
|
|
355
356
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -387,6 +388,9 @@ class Expanded {
|
|
|
387
388
|
if (filterAwbNumber !== undefined) {
|
|
388
389
|
_queryParams["filter_awb_number"] = filterAwbNumber;
|
|
389
390
|
}
|
|
391
|
+
if (filterHasInvoice !== undefined) {
|
|
392
|
+
_queryParams["filter_has_invoice"] = (_c = filterHasInvoice === null || filterHasInvoice === void 0 ? void 0 : filterHasInvoice.toString()) !== null && _c !== void 0 ? _c : null;
|
|
393
|
+
}
|
|
390
394
|
if (filterDraftStartedAtTimestampLte !== undefined) {
|
|
391
395
|
_queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
|
|
392
396
|
}
|
|
@@ -454,9 +458,9 @@ class Expanded {
|
|
|
454
458
|
if (filterCoordinatorLabel !== undefined) {
|
|
455
459
|
_queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
|
|
456
460
|
}
|
|
457
|
-
let _headers = (0, headers_js_1.mergeHeaders)((
|
|
458
|
-
const _response = yield ((
|
|
459
|
-
url: core.url.join((
|
|
461
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
462
|
+
const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
|
|
463
|
+
url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_coordinator_operators/v1"),
|
|
460
464
|
method: "POST",
|
|
461
465
|
headers: _headers,
|
|
462
466
|
contentType: "application/json",
|
|
@@ -518,6 +522,7 @@ class Expanded {
|
|
|
518
522
|
* page_size: 1,
|
|
519
523
|
* search: "search",
|
|
520
524
|
* filter_awb_number: "filter_awb_number",
|
|
525
|
+
* filter_has_invoice: true,
|
|
521
526
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
522
527
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
523
528
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -541,8 +546,8 @@ class Expanded {
|
|
|
541
546
|
}
|
|
542
547
|
__listForExecutorOperatorsV1(request, requestOptions) {
|
|
543
548
|
return __awaiter(this, void 0, void 0, function* () {
|
|
544
|
-
var _a, _b, _c, _d, _e, _f;
|
|
545
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
|
|
549
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
550
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
|
|
546
551
|
const _queryParams = {};
|
|
547
552
|
if (sortBy !== undefined) {
|
|
548
553
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -580,6 +585,9 @@ class Expanded {
|
|
|
580
585
|
if (filterAwbNumber !== undefined) {
|
|
581
586
|
_queryParams["filter_awb_number"] = filterAwbNumber;
|
|
582
587
|
}
|
|
588
|
+
if (filterHasInvoice !== undefined) {
|
|
589
|
+
_queryParams["filter_has_invoice"] = (_c = filterHasInvoice === null || filterHasInvoice === void 0 ? void 0 : filterHasInvoice.toString()) !== null && _c !== void 0 ? _c : null;
|
|
590
|
+
}
|
|
583
591
|
if (filterDraftStartedAtTimestampLte !== undefined) {
|
|
584
592
|
_queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
|
|
585
593
|
}
|
|
@@ -625,9 +633,9 @@ class Expanded {
|
|
|
625
633
|
if (filterOffChrtShipperOrgDataId !== undefined) {
|
|
626
634
|
_queryParams["filter_off_chrt_shipper_org_data_id"] = filterOffChrtShipperOrgDataId;
|
|
627
635
|
}
|
|
628
|
-
let _headers = (0, headers_js_1.mergeHeaders)((
|
|
629
|
-
const _response = yield ((
|
|
630
|
-
url: core.url.join((
|
|
636
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
637
|
+
const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
|
|
638
|
+
url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_executor_operators/v1"),
|
|
631
639
|
method: "POST",
|
|
632
640
|
headers: _headers,
|
|
633
641
|
contentType: "application/json",
|
|
@@ -690,6 +698,7 @@ class Expanded {
|
|
|
690
698
|
* page_size: 1,
|
|
691
699
|
* search: "search",
|
|
692
700
|
* filter_awb_number: "filter_awb_number",
|
|
701
|
+
* filter_has_invoice: true,
|
|
693
702
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
694
703
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
695
704
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -716,8 +725,8 @@ class Expanded {
|
|
|
716
725
|
}
|
|
717
726
|
__listForProviderOperatorsV1(request, requestOptions) {
|
|
718
727
|
return __awaiter(this, void 0, void 0, function* () {
|
|
719
|
-
var _a, _b, _c, _d, _e, _f;
|
|
720
|
-
const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
|
|
728
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
729
|
+
const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
|
|
721
730
|
const _queryParams = {};
|
|
722
731
|
if (providerRole !== undefined) {
|
|
723
732
|
_queryParams["provider_role"] = providerRole;
|
|
@@ -758,6 +767,9 @@ class Expanded {
|
|
|
758
767
|
if (filterAwbNumber !== undefined) {
|
|
759
768
|
_queryParams["filter_awb_number"] = filterAwbNumber;
|
|
760
769
|
}
|
|
770
|
+
if (filterHasInvoice !== undefined) {
|
|
771
|
+
_queryParams["filter_has_invoice"] = (_c = filterHasInvoice === null || filterHasInvoice === void 0 ? void 0 : filterHasInvoice.toString()) !== null && _c !== void 0 ? _c : null;
|
|
772
|
+
}
|
|
761
773
|
if (filterDraftStartedAtTimestampLte !== undefined) {
|
|
762
774
|
_queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
|
|
763
775
|
}
|
|
@@ -828,9 +840,9 @@ class Expanded {
|
|
|
828
840
|
if (filterCoordinatorLabel !== undefined) {
|
|
829
841
|
_queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
|
|
830
842
|
}
|
|
831
|
-
let _headers = (0, headers_js_1.mergeHeaders)((
|
|
832
|
-
const _response = yield ((
|
|
833
|
-
url: core.url.join((
|
|
843
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
844
|
+
const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
|
|
845
|
+
url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_provider_operators/v1"),
|
|
834
846
|
method: "POST",
|
|
835
847
|
headers: _headers,
|
|
836
848
|
contentType: "application/json",
|
|
@@ -892,6 +904,7 @@ class Expanded {
|
|
|
892
904
|
* page_size: 1,
|
|
893
905
|
* search: "search",
|
|
894
906
|
* filter_awb_number: "filter_awb_number",
|
|
907
|
+
* filter_has_invoice: true,
|
|
895
908
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
896
909
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
897
910
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -914,8 +927,8 @@ class Expanded {
|
|
|
914
927
|
}
|
|
915
928
|
__listForShipperOperatorsV1(request, requestOptions) {
|
|
916
929
|
return __awaiter(this, void 0, void 0, function* () {
|
|
917
|
-
var _a, _b, _c, _d, _e, _f;
|
|
918
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
|
|
930
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
931
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
|
|
919
932
|
const _queryParams = {};
|
|
920
933
|
if (sortBy !== undefined) {
|
|
921
934
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -953,6 +966,9 @@ class Expanded {
|
|
|
953
966
|
if (filterAwbNumber !== undefined) {
|
|
954
967
|
_queryParams["filter_awb_number"] = filterAwbNumber;
|
|
955
968
|
}
|
|
969
|
+
if (filterHasInvoice !== undefined) {
|
|
970
|
+
_queryParams["filter_has_invoice"] = (_c = filterHasInvoice === null || filterHasInvoice === void 0 ? void 0 : filterHasInvoice.toString()) !== null && _c !== void 0 ? _c : null;
|
|
971
|
+
}
|
|
956
972
|
if (filterDraftStartedAtTimestampLte !== undefined) {
|
|
957
973
|
_queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
|
|
958
974
|
}
|
|
@@ -995,9 +1011,9 @@ class Expanded {
|
|
|
995
1011
|
if (filterCoordinatorOrgId !== undefined) {
|
|
996
1012
|
_queryParams["filter_coordinator_org_id"] = filterCoordinatorOrgId;
|
|
997
1013
|
}
|
|
998
|
-
let _headers = (0, headers_js_1.mergeHeaders)((
|
|
999
|
-
const _response = yield ((
|
|
1000
|
-
url: core.url.join((
|
|
1014
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1015
|
+
const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
|
|
1016
|
+
url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_shipper_operators/v1"),
|
|
1001
1017
|
method: "POST",
|
|
1002
1018
|
headers: _headers,
|
|
1003
1019
|
contentType: "application/json",
|
|
@@ -11,6 +11,7 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
13
|
* filter_awb_number: "filter_awb_number",
|
|
14
|
+
* filter_has_invoice: true,
|
|
14
15
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
15
16
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
16
17
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -44,6 +45,8 @@ export interface ExpandedListForCoordinatorOperatorsV1Request {
|
|
|
44
45
|
filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
|
|
45
46
|
/** Filter by exact AWB number */
|
|
46
47
|
filter_awb_number?: string | null;
|
|
48
|
+
/** Filter by whether the order has any invoice */
|
|
49
|
+
filter_has_invoice?: boolean | null;
|
|
47
50
|
filter_draft_started_at_timestamp_lte?: string | null;
|
|
48
51
|
filter_draft_started_at_timestamp_gte?: string | null;
|
|
49
52
|
filter_staged_at_timestamp_lte?: string | null;
|
|
@@ -11,6 +11,7 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
13
|
* filter_awb_number: "filter_awb_number",
|
|
14
|
+
* filter_has_invoice: true,
|
|
14
15
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
15
16
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
16
17
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -42,6 +43,8 @@ export interface ExpandedListForExecutorOperatorsV1Request {
|
|
|
42
43
|
filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
|
|
43
44
|
/** Filter by exact AWB number */
|
|
44
45
|
filter_awb_number?: string | null;
|
|
46
|
+
/** Filter by whether the order has any invoice */
|
|
47
|
+
filter_has_invoice?: boolean | null;
|
|
45
48
|
filter_draft_started_at_timestamp_lte?: string | null;
|
|
46
49
|
filter_draft_started_at_timestamp_gte?: string | null;
|
|
47
50
|
filter_staged_at_timestamp_lte?: string | null;
|
|
@@ -12,6 +12,7 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
12
12
|
* page_size: 1,
|
|
13
13
|
* search: "search",
|
|
14
14
|
* filter_awb_number: "filter_awb_number",
|
|
15
|
+
* filter_has_invoice: true,
|
|
15
16
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
16
17
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
17
18
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -47,6 +48,8 @@ export interface ExpandedListForProviderOperatorsV1Request {
|
|
|
47
48
|
filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
|
|
48
49
|
/** Filter by exact AWB number */
|
|
49
50
|
filter_awb_number?: string | null;
|
|
51
|
+
/** Filter by whether the order has any invoice */
|
|
52
|
+
filter_has_invoice?: boolean | null;
|
|
50
53
|
filter_draft_started_at_timestamp_lte?: string | null;
|
|
51
54
|
filter_draft_started_at_timestamp_gte?: string | null;
|
|
52
55
|
filter_staged_at_timestamp_lte?: string | null;
|
|
@@ -11,6 +11,7 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
13
|
* filter_awb_number: "filter_awb_number",
|
|
14
|
+
* filter_has_invoice: true,
|
|
14
15
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
15
16
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
16
17
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -41,6 +42,8 @@ export interface ExpandedListForShipperOperatorsV1Request {
|
|
|
41
42
|
filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
|
|
42
43
|
/** Filter by exact AWB number */
|
|
43
44
|
filter_awb_number?: string | null;
|
|
45
|
+
/** Filter by whether the order has any invoice */
|
|
46
|
+
filter_has_invoice?: boolean | null;
|
|
44
47
|
filter_draft_started_at_timestamp_lte?: string | null;
|
|
45
48
|
filter_draft_started_at_timestamp_gte?: string | null;
|
|
46
49
|
filter_staged_at_timestamp_lte?: string | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type BillingCurrencyCodeEnum1 = "USD" | "CAD" | "EUR" | "GBP" | "MXN" | "AUD" | "JPY" | "CNY" | "CHF" | "INR" | "XXX";
|
|
5
|
+
export declare const BillingCurrencyCodeEnum1: {
|
|
6
|
+
readonly Usd: "USD";
|
|
7
|
+
readonly Cad: "CAD";
|
|
8
|
+
readonly Eur: "EUR";
|
|
9
|
+
readonly Gbp: "GBP";
|
|
10
|
+
readonly Mxn: "MXN";
|
|
11
|
+
readonly Aud: "AUD";
|
|
12
|
+
readonly Jpy: "JPY";
|
|
13
|
+
readonly Cny: "CNY";
|
|
14
|
+
readonly Chf: "CHF";
|
|
15
|
+
readonly Inr: "INR";
|
|
16
|
+
readonly Xxx: "XXX";
|
|
17
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BillingCurrencyCodeEnum1 = void 0;
|
|
7
|
+
exports.BillingCurrencyCodeEnum1 = {
|
|
8
|
+
Usd: "USD",
|
|
9
|
+
Cad: "CAD",
|
|
10
|
+
Eur: "EUR",
|
|
11
|
+
Gbp: "GBP",
|
|
12
|
+
Mxn: "MXN",
|
|
13
|
+
Aud: "AUD",
|
|
14
|
+
Jpy: "JPY",
|
|
15
|
+
Cny: "CNY",
|
|
16
|
+
Chf: "CHF",
|
|
17
|
+
Inr: "INR",
|
|
18
|
+
Xxx: "XXX",
|
|
19
|
+
};
|