@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
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { Orgs } from "./api/resources/orgs/client/Client.js";
|
|
|
8
8
|
import { Utils } from "./api/resources/utils/client/Client.js";
|
|
9
9
|
import { Analytics } from "./api/resources/analytics/client/Client.js";
|
|
10
10
|
import { Billing } from "./api/resources/billing/client/Client.js";
|
|
11
|
+
import { BillingNew } from "./api/resources/billingNew/client/Client.js";
|
|
11
12
|
import { Integrations } from "./api/resources/integrations/client/Client.js";
|
|
12
13
|
import { Listing } from "./api/resources/listing/client/Client.js";
|
|
13
14
|
import { Notifications } from "./api/resources/notifications/client/Client.js";
|
|
@@ -46,6 +47,7 @@ export declare class ChrtClient {
|
|
|
46
47
|
protected _utils: Utils | undefined;
|
|
47
48
|
protected _analytics: Analytics | undefined;
|
|
48
49
|
protected _billing: Billing | undefined;
|
|
50
|
+
protected _billingNew: BillingNew | undefined;
|
|
49
51
|
protected _integrations: Integrations | undefined;
|
|
50
52
|
protected _listing: Listing | undefined;
|
|
51
53
|
protected _notifications: Notifications | undefined;
|
|
@@ -60,6 +62,7 @@ export declare class ChrtClient {
|
|
|
60
62
|
get utils(): Utils;
|
|
61
63
|
get analytics(): Analytics;
|
|
62
64
|
get billing(): Billing;
|
|
65
|
+
get billingNew(): BillingNew;
|
|
63
66
|
get integrations(): Integrations;
|
|
64
67
|
get listing(): Listing;
|
|
65
68
|
get notifications(): Notifications;
|
package/dist/cjs/Client.js
CHANGED
|
@@ -44,21 +44,22 @@ const Client_js_2 = require("./api/resources/orgs/client/Client.js");
|
|
|
44
44
|
const Client_js_3 = require("./api/resources/utils/client/Client.js");
|
|
45
45
|
const Client_js_4 = require("./api/resources/analytics/client/Client.js");
|
|
46
46
|
const Client_js_5 = require("./api/resources/billing/client/Client.js");
|
|
47
|
-
const Client_js_6 = require("./api/resources/
|
|
48
|
-
const Client_js_7 = require("./api/resources/
|
|
49
|
-
const Client_js_8 = require("./api/resources/
|
|
50
|
-
const Client_js_9 = require("./api/resources/
|
|
51
|
-
const Client_js_10 = require("./api/resources/
|
|
52
|
-
const Client_js_11 = require("./api/resources/
|
|
53
|
-
const Client_js_12 = require("./api/resources/
|
|
54
|
-
const Client_js_13 = require("./api/resources/
|
|
47
|
+
const Client_js_6 = require("./api/resources/billingNew/client/Client.js");
|
|
48
|
+
const Client_js_7 = require("./api/resources/integrations/client/Client.js");
|
|
49
|
+
const Client_js_8 = require("./api/resources/listing/client/Client.js");
|
|
50
|
+
const Client_js_9 = require("./api/resources/notifications/client/Client.js");
|
|
51
|
+
const Client_js_10 = require("./api/resources/operations/client/Client.js");
|
|
52
|
+
const Client_js_11 = require("./api/resources/shipping/client/Client.js");
|
|
53
|
+
const Client_js_12 = require("./api/resources/tracking/client/Client.js");
|
|
54
|
+
const Client_js_13 = require("./api/resources/trackingIntegrations/client/Client.js");
|
|
55
|
+
const Client_js_14 = require("./api/resources/users/client/Client.js");
|
|
55
56
|
class ChrtClient {
|
|
56
57
|
constructor(_options = {}) {
|
|
57
58
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
58
59
|
"X-Fern-Language": "JavaScript",
|
|
59
60
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
60
|
-
"X-Fern-SDK-Version": "1.
|
|
61
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
61
|
+
"X-Fern-SDK-Version": "1.892.0",
|
|
62
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.892.0",
|
|
62
63
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
63
64
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
64
65
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -83,37 +84,41 @@ class ChrtClient {
|
|
|
83
84
|
var _a;
|
|
84
85
|
return ((_a = this._billing) !== null && _a !== void 0 ? _a : (this._billing = new Client_js_5.Billing(this._options)));
|
|
85
86
|
}
|
|
87
|
+
get billingNew() {
|
|
88
|
+
var _a;
|
|
89
|
+
return ((_a = this._billingNew) !== null && _a !== void 0 ? _a : (this._billingNew = new Client_js_6.BillingNew(this._options)));
|
|
90
|
+
}
|
|
86
91
|
get integrations() {
|
|
87
92
|
var _a;
|
|
88
|
-
return ((_a = this._integrations) !== null && _a !== void 0 ? _a : (this._integrations = new
|
|
93
|
+
return ((_a = this._integrations) !== null && _a !== void 0 ? _a : (this._integrations = new Client_js_7.Integrations(this._options)));
|
|
89
94
|
}
|
|
90
95
|
get listing() {
|
|
91
96
|
var _a;
|
|
92
|
-
return ((_a = this._listing) !== null && _a !== void 0 ? _a : (this._listing = new
|
|
97
|
+
return ((_a = this._listing) !== null && _a !== void 0 ? _a : (this._listing = new Client_js_8.Listing(this._options)));
|
|
93
98
|
}
|
|
94
99
|
get notifications() {
|
|
95
100
|
var _a;
|
|
96
|
-
return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new
|
|
101
|
+
return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Client_js_9.Notifications(this._options)));
|
|
97
102
|
}
|
|
98
103
|
get operations() {
|
|
99
104
|
var _a;
|
|
100
|
-
return ((_a = this._operations) !== null && _a !== void 0 ? _a : (this._operations = new
|
|
105
|
+
return ((_a = this._operations) !== null && _a !== void 0 ? _a : (this._operations = new Client_js_10.Operations(this._options)));
|
|
101
106
|
}
|
|
102
107
|
get shipping() {
|
|
103
108
|
var _a;
|
|
104
|
-
return ((_a = this._shipping) !== null && _a !== void 0 ? _a : (this._shipping = new
|
|
109
|
+
return ((_a = this._shipping) !== null && _a !== void 0 ? _a : (this._shipping = new Client_js_11.Shipping(this._options)));
|
|
105
110
|
}
|
|
106
111
|
get tracking() {
|
|
107
112
|
var _a;
|
|
108
|
-
return ((_a = this._tracking) !== null && _a !== void 0 ? _a : (this._tracking = new
|
|
113
|
+
return ((_a = this._tracking) !== null && _a !== void 0 ? _a : (this._tracking = new Client_js_12.Tracking(this._options)));
|
|
109
114
|
}
|
|
110
115
|
get trackingIntegrations() {
|
|
111
116
|
var _a;
|
|
112
|
-
return ((_a = this._trackingIntegrations) !== null && _a !== void 0 ? _a : (this._trackingIntegrations = new
|
|
117
|
+
return ((_a = this._trackingIntegrations) !== null && _a !== void 0 ? _a : (this._trackingIntegrations = new Client_js_13.TrackingIntegrations(this._options)));
|
|
113
118
|
}
|
|
114
119
|
get users() {
|
|
115
120
|
var _a;
|
|
116
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
121
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_14.Users(this._options)));
|
|
117
122
|
}
|
|
118
123
|
}
|
|
119
124
|
exports.ChrtClient = ChrtClient;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { InvoiceLineItems } from "../resources/invoiceLineItems/client/Client.js";
|
|
7
|
+
import { Invoices } from "../resources/invoices/client/Client.js";
|
|
8
|
+
import { Rates } from "../resources/rates/client/Client.js";
|
|
9
|
+
export declare namespace BillingNew {
|
|
10
|
+
interface Options {
|
|
11
|
+
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
12
|
+
/** Specify a custom URL to connect the client to. */
|
|
13
|
+
baseUrl?: core.Supplier<string>;
|
|
14
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
15
|
+
/** Additional headers to include in requests. */
|
|
16
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
17
|
+
fetcher?: core.FetchFunction;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export declare class BillingNew {
|
|
21
|
+
protected readonly _options: BillingNew.Options;
|
|
22
|
+
protected _invoiceLineItems: InvoiceLineItems | undefined;
|
|
23
|
+
protected _invoices: Invoices | undefined;
|
|
24
|
+
protected _rates: Rates | undefined;
|
|
25
|
+
constructor(_options?: BillingNew.Options);
|
|
26
|
+
get invoiceLineItems(): InvoiceLineItems;
|
|
27
|
+
get invoices(): Invoices;
|
|
28
|
+
get rates(): Rates;
|
|
29
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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.BillingNew = void 0;
|
|
7
|
+
const Client_js_1 = require("../resources/invoiceLineItems/client/Client.js");
|
|
8
|
+
const Client_js_2 = require("../resources/invoices/client/Client.js");
|
|
9
|
+
const Client_js_3 = require("../resources/rates/client/Client.js");
|
|
10
|
+
class BillingNew {
|
|
11
|
+
constructor(_options = {}) {
|
|
12
|
+
this._options = _options;
|
|
13
|
+
}
|
|
14
|
+
get invoiceLineItems() {
|
|
15
|
+
var _a;
|
|
16
|
+
return ((_a = this._invoiceLineItems) !== null && _a !== void 0 ? _a : (this._invoiceLineItems = new Client_js_1.InvoiceLineItems(this._options)));
|
|
17
|
+
}
|
|
18
|
+
get invoices() {
|
|
19
|
+
var _a;
|
|
20
|
+
return ((_a = this._invoices) !== null && _a !== void 0 ? _a : (this._invoices = new Client_js_2.Invoices(this._options)));
|
|
21
|
+
}
|
|
22
|
+
get rates() {
|
|
23
|
+
var _a;
|
|
24
|
+
return ((_a = this._rates) !== null && _a !== void 0 ? _a : (this._rates = new Client_js_3.Rates(this._options)));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.BillingNew = BillingNew;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
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);
|
|
18
|
+
__exportStar(require("./resources/index.js"), exports);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * as invoiceLineItems from "./invoiceLineItems/index.js";
|
|
2
|
+
export * as invoices from "./invoices/index.js";
|
|
3
|
+
export * as rates from "./rates/index.js";
|
|
4
|
+
export * from "./invoiceLineItems/client/requests/index.js";
|
|
5
|
+
export * from "./invoices/client/requests/index.js";
|
|
6
|
+
export * from "./rates/client/requests/index.js";
|
|
@@ -0,0 +1,45 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.rates = exports.invoices = exports.invoiceLineItems = void 0;
|
|
40
|
+
exports.invoiceLineItems = __importStar(require("./invoiceLineItems/index.js"));
|
|
41
|
+
exports.invoices = __importStar(require("./invoices/index.js"));
|
|
42
|
+
exports.rates = __importStar(require("./rates/index.js"));
|
|
43
|
+
__exportStar(require("./invoiceLineItems/client/requests/index.js"), exports);
|
|
44
|
+
__exportStar(require("./invoices/client/requests/index.js"), exports);
|
|
45
|
+
__exportStar(require("./rates/client/requests/index.js"), exports);
|
|
@@ -0,0 +1,180 @@
|
|
|
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 InvoiceLineItems {
|
|
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 InvoiceLineItems {
|
|
31
|
+
protected readonly _options: InvoiceLineItems.Options;
|
|
32
|
+
constructor(_options?: InvoiceLineItems.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Applies a caller-owned CHRT-ground rate sheet to a TaskGroup and atomically creates line items on a draft invoice. | authz: allowed_org_types=[provider], min_org_role=operator | (ApplyChrtGroundProviderRatesReq) -> (ApplyChrtGroundProviderRatesRes)
|
|
35
|
+
*
|
|
36
|
+
* @param {Chrt.billingNew.ApplyChrtGroundProviderRatesReq} request
|
|
37
|
+
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.billingNew.invoiceLineItems.applyChrtGroundProviderRatesV1({
|
|
43
|
+
* invoice_type: "accounts_receivable",
|
|
44
|
+
* org_id: "org_id",
|
|
45
|
+
* rate_sheet_id: "rate_sheet_id",
|
|
46
|
+
* task_group_id: "task_group_id"
|
|
47
|
+
* })
|
|
48
|
+
*/
|
|
49
|
+
applyChrtGroundProviderRatesV1(request: Chrt.billingNew.ApplyChrtGroundProviderRatesReq, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<Chrt.ApplyChrtGroundProviderRatesRes>;
|
|
50
|
+
private __applyChrtGroundProviderRatesV1;
|
|
51
|
+
/**
|
|
52
|
+
* Lists owner-scoped line items for an order with counterparties and accounts expanded. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceLineItemsByOrderExpandedRes)
|
|
53
|
+
*
|
|
54
|
+
* @param {string} orderId
|
|
55
|
+
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* await client.billingNew.invoiceLineItems.listByOrderV1("order_id")
|
|
61
|
+
*/
|
|
62
|
+
listByOrderV1(orderId: string, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<Chrt.InvoiceLineItemsByOrderExpandedRes>;
|
|
63
|
+
private __listByOrderV1;
|
|
64
|
+
/**
|
|
65
|
+
* Creates optionally order-attributed line items from an amount and attaches them to a draft invoice. | authz: allowed_org_types=[provider], min_org_role=operator | authz_personas=[coordinator_org_operators, order_executor_org_operators, task_group_coordinator_operators, executor_org_operators] when order-attributed | (CreateInvoiceLineItemsFromAmountReq) -> (CreateInvoiceLineItemsFromAmountRes)
|
|
66
|
+
*
|
|
67
|
+
* @param {Chrt.billingNew.CreateInvoiceLineItemsFromAmountReq} request
|
|
68
|
+
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* await client.billingNew.invoiceLineItems.createFromAmountV1({
|
|
74
|
+
* amount: 1.1,
|
|
75
|
+
* currency_code: "USD",
|
|
76
|
+
* description: "description",
|
|
77
|
+
* invoice_type: "accounts_receivable",
|
|
78
|
+
* line_item_type: "base_rate",
|
|
79
|
+
* org_id: "org_id"
|
|
80
|
+
* })
|
|
81
|
+
*/
|
|
82
|
+
createFromAmountV1(request: Chrt.billingNew.CreateInvoiceLineItemsFromAmountReq, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<Chrt.CreateInvoiceLineItemsFromAmountRes>;
|
|
83
|
+
private __createFromAmountV1;
|
|
84
|
+
/**
|
|
85
|
+
* Creates optionally order-attributed line items by transforming submitted line items and attaches them to a draft invoice. | authz: allowed_org_types=[provider], min_org_role=operator | authz_personas=[coordinator_org_operators, order_executor_org_operators, task_group_coordinator_operators, executor_org_operators] when order-attributed | (CreateInvoiceLineItemsFromLineItemsReq) -> (CreateInvoiceLineItemsFromLineItemsRes)
|
|
86
|
+
*
|
|
87
|
+
* @param {Chrt.billingNew.CreateInvoiceLineItemsFromLineItemsReq} request
|
|
88
|
+
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* await client.billingNew.invoiceLineItems.createFromLineItemsV1({
|
|
94
|
+
* description: "description",
|
|
95
|
+
* invoice_line_item_amount_transformation: {
|
|
96
|
+
* transformation_type: "percent",
|
|
97
|
+
* value: 1.1
|
|
98
|
+
* },
|
|
99
|
+
* invoice_type: "accounts_receivable",
|
|
100
|
+
* line_item_type: "base_rate",
|
|
101
|
+
* org_id: "org_id",
|
|
102
|
+
* source_invoice_line_items: [{
|
|
103
|
+
* _id: "_id",
|
|
104
|
+
* created_at_timestamp: "2024-01-15T09:30:00Z",
|
|
105
|
+
* created_by_user_id: "created_by_user_id",
|
|
106
|
+
* currency_code: "USD",
|
|
107
|
+
* description: "description",
|
|
108
|
+
* invoice_type: "accounts_receivable",
|
|
109
|
+
* last_edited_at_timestamp: "2024-01-15T09:30:00Z",
|
|
110
|
+
* last_edited_by_user_id: "last_edited_by_user_id",
|
|
111
|
+
* line_item_type: "base_rate",
|
|
112
|
+
* owned_by_org_id: "owned_by_org_id",
|
|
113
|
+
* quantity: 1.1,
|
|
114
|
+
* schema_version: 1,
|
|
115
|
+
* unit_price: 1.1
|
|
116
|
+
* }]
|
|
117
|
+
* })
|
|
118
|
+
*/
|
|
119
|
+
createFromLineItemsV1(request: Chrt.billingNew.CreateInvoiceLineItemsFromLineItemsReq, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<Chrt.CreateInvoiceLineItemsFromLineItemsRes>;
|
|
120
|
+
private __createFromLineItemsV1;
|
|
121
|
+
/**
|
|
122
|
+
* Deletes owner-scoped line items and rebuilds every affected draft invoice. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsDeleteManyReq) -> (InvoiceLineItemsDeleteManyRes)
|
|
123
|
+
*
|
|
124
|
+
* @param {Chrt.billingNew.InvoiceLineItemsDeleteManyReq} request
|
|
125
|
+
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
128
|
+
*
|
|
129
|
+
* @example
|
|
130
|
+
* await client.billingNew.invoiceLineItems.deleteManyV1({
|
|
131
|
+
* invoice_line_item_ids: ["invoice_line_item_ids"]
|
|
132
|
+
* })
|
|
133
|
+
*/
|
|
134
|
+
deleteManyV1(request: Chrt.billingNew.InvoiceLineItemsDeleteManyReq, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<Chrt.InvoiceLineItemsDeleteManyRes>;
|
|
135
|
+
private __deleteManyV1;
|
|
136
|
+
/**
|
|
137
|
+
* Lists owner-scoped invoice line items with filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (InvoiceLineItemListRes)
|
|
138
|
+
*
|
|
139
|
+
* @param {Chrt.billingNew.InvoiceLineItemsListV1Request} request
|
|
140
|
+
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* await client.billingNew.invoiceLineItems.listV1({
|
|
146
|
+
* sort_by: "created_at_timestamp",
|
|
147
|
+
* sort_order: "asc",
|
|
148
|
+
* page: 1,
|
|
149
|
+
* page_size: 1,
|
|
150
|
+
* filter_counterparty_org_id: "filter_counterparty_org_id",
|
|
151
|
+
* filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
|
|
152
|
+
* filter_counterparty_account_id: "filter_counterparty_account_id",
|
|
153
|
+
* filter_invoice_id: "filter_invoice_id",
|
|
154
|
+
* filter_is_invoiced: true,
|
|
155
|
+
* filter_order_id: "filter_order_id",
|
|
156
|
+
* filter_task_group_id: "filter_task_group_id",
|
|
157
|
+
* filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
158
|
+
* filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
159
|
+
* filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
160
|
+
* filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z"
|
|
161
|
+
* })
|
|
162
|
+
*/
|
|
163
|
+
listV1(request?: Chrt.billingNew.InvoiceLineItemsListV1Request, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<Chrt.InvoiceLineItemListRes>;
|
|
164
|
+
private __listV1;
|
|
165
|
+
/**
|
|
166
|
+
* Updates an owner-scoped line item and rebuilds its draft invoice when attached. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemClientUpdate1) -> (bool)
|
|
167
|
+
*
|
|
168
|
+
* @param {string} invoiceLineItemId
|
|
169
|
+
* @param {Chrt.billingNew.InvoiceLineItemClientUpdate1} request
|
|
170
|
+
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
171
|
+
*
|
|
172
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* await client.billingNew.invoiceLineItems.updateV1("invoice_line_item_id")
|
|
176
|
+
*/
|
|
177
|
+
updateV1(invoiceLineItemId: string, request?: Chrt.billingNew.InvoiceLineItemClientUpdate1, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
178
|
+
private __updateV1;
|
|
179
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
180
|
+
}
|