@chrt-inc/typescript-sdk 1.888.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/resources/trackingIntegrations/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/trackingIntegrations/client/Client.js +7 -2
- package/dist/cjs/api/resources/trackingIntegrations/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/index.js +2 -1
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/Client.d.ts +29 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/Client.js +27 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/index.js +2 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/index.d.ts +2 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/index.js +18 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.ts +93 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.js +328 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/index.js +17 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/AssetsListV1Request.d.ts +21 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/AssetsListV1Request.js +5 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientUpdate1.d.ts +14 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/index.d.ts +1 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/index.js +17 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/index.d.ts +6 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/index.js +45 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.ts +51 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.js +135 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/index.js +17 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.js +5 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/index.d.ts +1 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/index.js +17 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.ts +62 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.js +197 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.js +17 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.d.ts +21 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.js +5 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.d.ts +1 -0
- package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.js +17 -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/ReelablesAsset1.d.ts +22 -0
- package/dist/cjs/api/types/ReelablesAsset1.js +5 -0
- package/dist/cjs/api/types/ReelablesAssetListRes.d.ts +8 -0
- package/dist/cjs/api/types/ReelablesAssetListRes.js +5 -0
- package/dist/cjs/api/types/ReelablesAssetSortByEnum.d.ts +8 -0
- package/dist/cjs/api/types/ReelablesAssetSortByEnum.js +10 -0
- package/dist/cjs/api/types/ReelablesAssetSyncRes.d.ts +8 -0
- package/dist/cjs/api/types/ReelablesAssetSyncRes.js +5 -0
- package/dist/cjs/api/types/ReelablesDataPoint1.d.ts +12 -0
- package/dist/cjs/api/types/ReelablesDataPoint1.js +5 -0
- package/dist/cjs/api/types/ReelablesDataPointMetadata1.d.ts +6 -0
- package/dist/cjs/api/types/ReelablesDataPointMetadata1.js +5 -0
- package/dist/cjs/api/types/ReelablesLabel1.d.ts +9 -0
- package/dist/cjs/api/types/ReelablesLabel1.js +5 -0
- package/dist/cjs/api/types/ReelablesTimeseriesRes.d.ts +7 -0
- package/dist/cjs/api/types/ReelablesTimeseriesRes.js +5 -0
- package/dist/cjs/api/types/ReelablesWorkspace1.d.ts +13 -0
- package/dist/cjs/api/types/ReelablesWorkspace1.js +5 -0
- package/dist/cjs/api/types/ReelablesWorkspaceListRes.d.ts +8 -0
- package/dist/cjs/api/types/ReelablesWorkspaceListRes.js +5 -0
- package/dist/cjs/api/types/ReelablesWorkspaceSortByEnum.d.ts +4 -0
- package/dist/cjs/api/types/ReelablesWorkspaceSortByEnum.js +5 -0
- package/dist/cjs/api/types/ReelablesWorkspaceSyncRes.d.ts +9 -0
- package/dist/cjs/api/types/ReelablesWorkspaceSyncRes.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 +49 -0
- package/dist/cjs/api/types/index.js +49 -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/resources/trackingIntegrations/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/trackingIntegrations/client/Client.mjs +5 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/index.mjs +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/Client.d.mts +29 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/Client.mjs +23 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/index.d.mts +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/index.mjs +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/index.d.mts +2 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/index.mjs +2 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.mts +93 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.mjs +291 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/index.d.mts +2 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/index.mjs +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/AssetsListV1Request.d.mts +21 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/AssetsListV1Request.mjs +4 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientUpdate1.d.mts +14 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/index.d.mts +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/index.mjs +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/index.d.mts +6 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/index.mjs +6 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.mts +51 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.mjs +98 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/index.d.mts +2 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/index.mjs +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.d.mts +14 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.mjs +4 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/index.d.mts +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/index.mjs +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.mts +62 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.mjs +160 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.d.mts +2 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.mjs +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.d.mts +21 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.mjs +4 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.d.mts +1 -0
- package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.mjs +1 -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/ReelablesAsset1.d.mts +22 -0
- package/dist/esm/api/types/ReelablesAsset1.mjs +4 -0
- package/dist/esm/api/types/ReelablesAssetListRes.d.mts +8 -0
- package/dist/esm/api/types/ReelablesAssetListRes.mjs +4 -0
- package/dist/esm/api/types/ReelablesAssetSortByEnum.d.mts +8 -0
- package/dist/esm/api/types/ReelablesAssetSortByEnum.mjs +7 -0
- package/dist/esm/api/types/ReelablesAssetSyncRes.d.mts +8 -0
- package/dist/esm/api/types/ReelablesAssetSyncRes.mjs +4 -0
- package/dist/esm/api/types/ReelablesDataPoint1.d.mts +12 -0
- package/dist/esm/api/types/ReelablesDataPoint1.mjs +4 -0
- package/dist/esm/api/types/ReelablesDataPointMetadata1.d.mts +6 -0
- package/dist/esm/api/types/ReelablesDataPointMetadata1.mjs +4 -0
- package/dist/esm/api/types/ReelablesLabel1.d.mts +9 -0
- package/dist/esm/api/types/ReelablesLabel1.mjs +4 -0
- package/dist/esm/api/types/ReelablesTimeseriesRes.d.mts +7 -0
- package/dist/esm/api/types/ReelablesTimeseriesRes.mjs +4 -0
- package/dist/esm/api/types/ReelablesWorkspace1.d.mts +13 -0
- package/dist/esm/api/types/ReelablesWorkspace1.mjs +4 -0
- package/dist/esm/api/types/ReelablesWorkspaceListRes.d.mts +8 -0
- package/dist/esm/api/types/ReelablesWorkspaceListRes.mjs +4 -0
- package/dist/esm/api/types/ReelablesWorkspaceSortByEnum.d.mts +4 -0
- package/dist/esm/api/types/ReelablesWorkspaceSortByEnum.mjs +4 -0
- package/dist/esm/api/types/ReelablesWorkspaceSyncRes.d.mts +9 -0
- package/dist/esm/api/types/ReelablesWorkspaceSyncRes.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 +49 -0
- package/dist/esm/api/types/index.mjs +49 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +5877 -3579
|
@@ -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("./requests/index.js"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
* currency_code: "USD",
|
|
9
|
+
* invoice_type: "accounts_receivable",
|
|
10
|
+
* schema_version: 1
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
13
|
+
export interface InvoiceClientCreate1 {
|
|
14
|
+
counterparty_off_chrt_org_data_id?: string | null;
|
|
15
|
+
/** Must be a string starting with `org_` */
|
|
16
|
+
counterparty_org_id?: string | null;
|
|
17
|
+
currency_code: Chrt.BillingCurrencyCodeEnum1;
|
|
18
|
+
description?: string | null;
|
|
19
|
+
export_ref__sage__customer_id?: string | null;
|
|
20
|
+
export_ref__sage__department_id?: string | null;
|
|
21
|
+
invoice_type: Chrt.InvoiceTypeEnum1;
|
|
22
|
+
name?: string | null;
|
|
23
|
+
schema_version: number;
|
|
24
|
+
}
|
|
@@ -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 InvoiceClientUpdate1 {
|
|
9
|
+
description?: string | null;
|
|
10
|
+
description__set_to_None?: boolean;
|
|
11
|
+
name?: string | null;
|
|
12
|
+
name__set_to_None?: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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: "created_at_timestamp",
|
|
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_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
17
|
+
* filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
18
|
+
* filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
19
|
+
* filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z"
|
|
20
|
+
* }
|
|
21
|
+
*/
|
|
22
|
+
export interface InvoicesListV1Request {
|
|
23
|
+
/** Search invoice names and descriptions. */
|
|
24
|
+
search?: string | null;
|
|
25
|
+
/** Field to sort by. */
|
|
26
|
+
sort_by?: Chrt.InvoiceSortByEnum | null;
|
|
27
|
+
/** Sort order. */
|
|
28
|
+
sort_order?: Chrt.SortOrderEnum | null;
|
|
29
|
+
page?: number | null;
|
|
30
|
+
page_size?: number | null;
|
|
31
|
+
/** Filter by one or more invoice statuses. */
|
|
32
|
+
filter_statuses?: (Chrt.InvoiceStatusEnum1 | null) | (Chrt.InvoiceStatusEnum1 | null)[];
|
|
33
|
+
/** Filter by one or more invoice types. */
|
|
34
|
+
filter_invoice_types?: (Chrt.InvoiceTypeEnum1 | null) | (Chrt.InvoiceTypeEnum1 | null)[];
|
|
35
|
+
/** Filter by one or more currency codes. */
|
|
36
|
+
filter_currency_codes?: (Chrt.BillingCurrencyCodeEnum1 | null) | (Chrt.BillingCurrencyCodeEnum1 | null)[];
|
|
37
|
+
/** Filter by an on-CHRT counterparty organization. */
|
|
38
|
+
filter_counterparty_org_id?: string | null;
|
|
39
|
+
/** Filter by off-CHRT counterparty organization data. */
|
|
40
|
+
filter_counterparty_off_chrt_org_data_id?: string | null;
|
|
41
|
+
/** Filter by an associated counterparty account. */
|
|
42
|
+
filter_counterparty_account_id?: string | null;
|
|
43
|
+
/** Filter by created_at_timestamp greater than or equal. */
|
|
44
|
+
filter_created_at_timestamp_gte?: string | null;
|
|
45
|
+
/** Filter by created_at_timestamp less than or equal. */
|
|
46
|
+
filter_created_at_timestamp_lte?: string | null;
|
|
47
|
+
/** Filter by last_edited_at_timestamp greater than or equal. */
|
|
48
|
+
filter_last_edited_at_timestamp_gte?: string | null;
|
|
49
|
+
/** Filter by last_edited_at_timestamp less than or equal. */
|
|
50
|
+
filter_last_edited_at_timestamp_lte?: string | null;
|
|
51
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { type InvoiceClientCreate1 } from "./InvoiceClientCreate1.js";
|
|
2
|
+
export { type InvoiceLineItemsAddReq } from "./InvoiceLineItemsAddReq.js";
|
|
3
|
+
export { type InvoiceLineItemsRemoveReq } from "./InvoiceLineItemsRemoveReq.js";
|
|
4
|
+
export { type InvoicesListV1Request } from "./InvoicesListV1Request.js";
|
|
5
|
+
export { type InvoiceClientUpdate1 } from "./InvoiceClientUpdate1.js";
|
|
6
|
+
export { type InvoiceVoidReq } from "./InvoiceVoidReq.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);
|
|
@@ -0,0 +1,145 @@
|
|
|
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 Rates {
|
|
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 Rates {
|
|
31
|
+
protected readonly _options: Rates.Options;
|
|
32
|
+
constructor(_options?: Rates.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Atomically adds counterparties to owner-scoped ground-provider rates without creating duplicates. | authz: allowed_org_types=[provider], min_org_role=operator | (ChrtGroundProviderRatesAddCounterpartiesReq) -> (bool)
|
|
35
|
+
*
|
|
36
|
+
* @param {string} rateId
|
|
37
|
+
* @param {Chrt.billingNew.ChrtGroundProviderRatesAddCounterpartiesReq} request
|
|
38
|
+
* @param {Rates.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* await client.billingNew.rates.addCounterpartiesV1("rate_id")
|
|
44
|
+
*/
|
|
45
|
+
addCounterpartiesV1(rateId: string, request?: Chrt.billingNew.ChrtGroundProviderRatesAddCounterpartiesReq, requestOptions?: Rates.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
46
|
+
private __addCounterpartiesV1;
|
|
47
|
+
/**
|
|
48
|
+
* Atomically removes counterparties from owner-scoped ground-provider rates. | authz: allowed_org_types=[provider], min_org_role=operator | (ChrtGroundProviderRatesRemoveCounterpartiesReq) -> (bool)
|
|
49
|
+
*
|
|
50
|
+
* @param {string} rateId
|
|
51
|
+
* @param {Chrt.billingNew.ChrtGroundProviderRatesRemoveCounterpartiesReq} request
|
|
52
|
+
* @param {Rates.RequestOptions} requestOptions - Request-specific configuration.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* await client.billingNew.rates.removeCounterpartiesV1("rate_id")
|
|
58
|
+
*/
|
|
59
|
+
removeCounterpartiesV1(rateId: string, request?: Chrt.billingNew.ChrtGroundProviderRatesRemoveCounterpartiesReq, requestOptions?: Rates.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
60
|
+
private __removeCounterpartiesV1;
|
|
61
|
+
/**
|
|
62
|
+
* Creates ground-provider rates owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | (ChrtGroundProviderRatesClientCreate1) -> (PydanticObjectId)
|
|
63
|
+
*
|
|
64
|
+
* @param {Chrt.billingNew.ChrtGroundProviderRatesClientCreate1} request
|
|
65
|
+
* @param {Rates.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* await client.billingNew.rates.createV1({
|
|
71
|
+
* currency_code: "USD",
|
|
72
|
+
* schema_version: 1
|
|
73
|
+
* })
|
|
74
|
+
*/
|
|
75
|
+
createV1(request: Chrt.billingNew.ChrtGroundProviderRatesClientCreate1, requestOptions?: Rates.RequestOptions): core.HttpResponsePromise<string>;
|
|
76
|
+
private __createV1;
|
|
77
|
+
/**
|
|
78
|
+
* Hard-deletes owner-scoped ground-provider rates. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
|
|
79
|
+
*
|
|
80
|
+
* @param {string} rateId
|
|
81
|
+
* @param {Rates.RequestOptions} requestOptions - Request-specific configuration.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* await client.billingNew.rates.deleteV1("rate_id")
|
|
87
|
+
*/
|
|
88
|
+
deleteV1(rateId: string, requestOptions?: Rates.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
89
|
+
private __deleteV1;
|
|
90
|
+
/**
|
|
91
|
+
* Lists owner-scoped ground-provider rates with counterparty, cargo, vehicle, currency, search, sort, and pagination controls. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ChrtGroundProviderRatesListRes)
|
|
92
|
+
*
|
|
93
|
+
* @param {Chrt.billingNew.RatesListV1Request} request
|
|
94
|
+
* @param {Rates.RequestOptions} requestOptions - Request-specific configuration.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* await client.billingNew.rates.listV1({
|
|
100
|
+
* search: "search",
|
|
101
|
+
* sort_by: "name",
|
|
102
|
+
* sort_order: "asc",
|
|
103
|
+
* page: 1,
|
|
104
|
+
* page_size: 1,
|
|
105
|
+
* filter_counterparty_org_id: "filter_counterparty_org_id",
|
|
106
|
+
* filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
|
|
107
|
+
* filter_counterparty_account_id: "filter_counterparty_account_id",
|
|
108
|
+
* filter_counterparty_driver_id: "filter_counterparty_driver_id",
|
|
109
|
+
* filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
110
|
+
* filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
111
|
+
* filter_updated_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
112
|
+
* filter_updated_at_timestamp_lte: "2024-01-15T09:30:00Z"
|
|
113
|
+
* })
|
|
114
|
+
*/
|
|
115
|
+
listV1(request?: Chrt.billingNew.RatesListV1Request, requestOptions?: Rates.RequestOptions): core.HttpResponsePromise<Chrt.ChrtGroundProviderRatesListRes>;
|
|
116
|
+
private __listV1;
|
|
117
|
+
/**
|
|
118
|
+
* Updates owner-scoped ground-provider rates and advances the server-managed update timestamp. | authz: allowed_org_types=[provider], min_org_role=operator | (ChrtGroundProviderRatesClientUpdate1) -> (bool)
|
|
119
|
+
*
|
|
120
|
+
* @param {string} rateId
|
|
121
|
+
* @param {Chrt.billingNew.ChrtGroundProviderRatesClientUpdate1} request
|
|
122
|
+
* @param {Rates.RequestOptions} requestOptions - Request-specific configuration.
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* await client.billingNew.rates.updateV1("rate_id")
|
|
128
|
+
*/
|
|
129
|
+
updateV1(rateId: string, request?: Chrt.billingNew.ChrtGroundProviderRatesClientUpdate1, requestOptions?: Rates.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
130
|
+
private __updateV1;
|
|
131
|
+
/**
|
|
132
|
+
* Retrieves owner-scoped ground-provider rates. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ChrtGroundProviderRates1)
|
|
133
|
+
*
|
|
134
|
+
* @param {string} rateId
|
|
135
|
+
* @param {Rates.RequestOptions} requestOptions - Request-specific configuration.
|
|
136
|
+
*
|
|
137
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* await client.billingNew.rates.getV1("rate_id")
|
|
141
|
+
*/
|
|
142
|
+
getV1(rateId: string, requestOptions?: Rates.RequestOptions): core.HttpResponsePromise<Chrt.ChrtGroundProviderRates1>;
|
|
143
|
+
private __getV1;
|
|
144
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
145
|
+
}
|