@chrt-inc/typescript-sdk 1.998.0 → 1.999.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.js +2 -2
- package/dist/cjs/api/resources/billingNew/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/billingNew/client/Client.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/Client.js +1 -1
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.ts +0 -3
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.ts +0 -6
- package/dist/cjs/api/resources/billingNew/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/billingNew/resources/index.js +3 -1
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.ts +17 -73
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +50 -193
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/{resources/export/client → client}/requests/InvoiceLineItemExportListReq.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.ts +1 -3
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/index.d.ts +0 -1
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/index.js +0 -1
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +57 -32
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +169 -89
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +28 -3
- package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +126 -5
- package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/index.d.ts +0 -1
- package/dist/cjs/api/resources/billingNew/resources/orders/index.js +0 -1
- package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/Client.d.ts +128 -0
- package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/Client.js +485 -0
- package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationClientCreate1.d.ts +21 -0
- package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationClientUpdate1.d.ts +12 -0
- package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationResolveReq.d.ts +14 -0
- package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationsListV1Request.d.ts +33 -0
- package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/flights/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/flights/client/Client.js +1 -1
- package/dist/cjs/api/types/BillingCurrencyCodeEnum1.d.ts +1 -2
- package/dist/cjs/api/types/BillingCurrencyCodeEnum1.js +0 -1
- package/dist/cjs/api/types/BillingPeriodCloseRes.d.ts +8 -0
- package/dist/cjs/api/types/CalculatedInvoiceTax1.d.ts +12 -0
- package/dist/cjs/api/types/ChrtGroundProviderRates1.d.ts +0 -3
- package/dist/cjs/api/types/{CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.d.ts → CreateInvoiceLineItemsFromAwbCostsGroupRes1.d.ts} +2 -2
- package/dist/cjs/api/types/CreateInvoiceLineItemsFromAwbCostsRes.d.ts +1 -1
- package/dist/cjs/api/{resources/billingNew/resources/invoices/client/requests → types}/InvoiceClientCreate1.d.ts +1 -9
- package/dist/cjs/api/types/InvoiceCreateFromOrdersReq.d.ts +22 -0
- package/dist/cjs/api/types/InvoiceCreateFromOrdersRes.d.ts +14 -0
- package/dist/cjs/api/types/InvoiceCreateFromOrdersRes.js +5 -0
- package/dist/cjs/api/types/InvoiceCreateReq.d.ts +20 -0
- package/dist/cjs/api/types/InvoiceCreateReq.js +5 -0
- package/dist/cjs/api/types/InvoiceLineItemExportListItem.d.ts +3 -2
- package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.d.ts +2 -4
- package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.js +1 -3
- package/dist/cjs/api/types/InvoicePreviewFromOrdersRes.d.ts +15 -0
- package/dist/cjs/api/types/InvoicePreviewFromOrdersRes.js +5 -0
- package/dist/cjs/api/types/InvoicePreviewRes.d.ts +10 -0
- package/dist/cjs/api/types/InvoicePreviewRes.js +5 -0
- package/dist/cjs/api/types/InvoiceTaxCalculation1.d.ts +12 -0
- package/dist/cjs/api/types/InvoiceTaxCalculation1.js +5 -0
- package/dist/cjs/api/types/TaxConfiguration1.d.ts +24 -0
- package/dist/cjs/api/types/TaxConfiguration1.js +5 -0
- package/dist/cjs/api/types/TaxConfigurationListRes.d.ts +8 -0
- package/dist/cjs/api/types/TaxConfigurationListRes.js +5 -0
- package/dist/cjs/api/types/TaxConfigurationSortByEnum.d.ts +8 -0
- package/dist/cjs/api/types/TaxConfigurationSortByEnum.js +10 -0
- package/dist/cjs/api/types/{TaxRate1.d.ts → TaxRule1.d.ts} +2 -3
- package/dist/cjs/api/types/TaxRule1.js +5 -0
- package/dist/cjs/api/types/index.d.ts +14 -6
- package/dist/cjs/api/types/index.js +14 -6
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/billingNew/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/billingNew/client/Client.mjs +5 -0
- package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/Client.mjs +1 -1
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.mts +0 -3
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.mts +0 -6
- package/dist/esm/api/resources/billingNew/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/resources/index.mjs +2 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +17 -73
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +50 -193
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/{resources/export/client → client}/requests/InvoiceLineItemExportListReq.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.mts +1 -3
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/index.d.mts +0 -1
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/index.mjs +0 -1
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +57 -32
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +169 -89
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +28 -3
- package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +126 -5
- package/dist/esm/api/resources/billingNew/resources/orders/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/orders/index.d.mts +0 -1
- package/dist/esm/api/resources/billingNew/resources/orders/index.mjs +0 -1
- package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/Client.d.mts +128 -0
- package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/Client.mjs +448 -0
- package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationClientCreate1.d.mts +21 -0
- package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationClientUpdate1.d.mts +12 -0
- package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationResolveReq.d.mts +14 -0
- package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/requests/TaxConfigurationsListV1Request.d.mts +33 -0
- package/dist/esm/api/resources/billingNew/resources/taxConfigurations/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/flights/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/flights/client/Client.mjs +1 -1
- package/dist/esm/api/types/BillingCurrencyCodeEnum1.d.mts +1 -2
- package/dist/esm/api/types/BillingCurrencyCodeEnum1.mjs +0 -1
- package/dist/esm/api/types/BillingPeriodCloseRes.d.mts +8 -0
- package/dist/esm/api/types/CalculatedInvoiceTax1.d.mts +12 -0
- package/dist/esm/api/types/ChrtGroundProviderRates1.d.mts +0 -3
- package/dist/esm/api/types/{CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.d.mts → CreateInvoiceLineItemsFromAwbCostsGroupRes1.d.mts} +2 -2
- package/dist/esm/api/types/CreateInvoiceLineItemsFromAwbCostsRes.d.mts +1 -1
- package/dist/esm/api/{resources/billingNew/resources/invoices/client/requests → types}/InvoiceClientCreate1.d.mts +1 -9
- package/dist/esm/api/types/InvoiceCreateFromOrdersReq.d.mts +22 -0
- package/dist/esm/api/types/InvoiceCreateFromOrdersRes.d.mts +14 -0
- package/dist/esm/api/types/InvoiceCreateFromOrdersRes.mjs +4 -0
- package/dist/esm/api/types/InvoiceCreateReq.d.mts +20 -0
- package/dist/esm/api/types/InvoiceCreateReq.mjs +4 -0
- package/dist/esm/api/types/InvoiceLineItemExportListItem.d.mts +3 -2
- package/dist/esm/api/types/InvoiceLineItemTypeEnum1.d.mts +2 -4
- package/dist/esm/api/types/InvoiceLineItemTypeEnum1.mjs +1 -3
- package/dist/esm/api/types/InvoicePreviewFromOrdersRes.d.mts +15 -0
- package/dist/esm/api/types/InvoicePreviewFromOrdersRes.mjs +4 -0
- package/dist/esm/api/types/InvoicePreviewRes.d.mts +10 -0
- package/dist/esm/api/types/InvoicePreviewRes.mjs +4 -0
- package/dist/esm/api/types/InvoiceTaxCalculation1.d.mts +12 -0
- package/dist/esm/api/types/InvoiceTaxCalculation1.mjs +4 -0
- package/dist/esm/api/types/TaxConfiguration1.d.mts +24 -0
- package/dist/esm/api/types/TaxConfiguration1.mjs +4 -0
- package/dist/esm/api/types/TaxConfigurationListRes.d.mts +8 -0
- package/dist/esm/api/types/TaxConfigurationListRes.mjs +4 -0
- package/dist/esm/api/types/TaxConfigurationSortByEnum.d.mts +8 -0
- package/dist/esm/api/types/TaxConfigurationSortByEnum.mjs +7 -0
- package/dist/esm/api/types/{TaxRate1.d.mts → TaxRule1.d.mts} +2 -3
- package/dist/esm/api/types/TaxRule1.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +14 -6
- package/dist/esm/api/types/index.mjs +14 -6
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +520 -219
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.ts +0 -32
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.ts +0 -46
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.d.ts +0 -12
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/resources/export/client/Client.d.ts +0 -51
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/resources/export/client/Client.js +0 -153
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/resources/export/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/resources/index.js +0 -41
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/index.js +0 -41
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.d.ts +0 -49
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.js +0 -135
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.js +0 -17
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.d.ts +0 -1
- package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.js +0 -17
- package/dist/cjs/api/types/CreateInvoiceLineItemsFromAmountRes.d.ts +0 -7
- package/dist/cjs/api/types/CreateInvoiceLineItemsFromLineItemsRes.d.ts +0 -7
- package/dist/cjs/api/types/InvoiceLineItemAmountTransformation1.d.ts +0 -8
- package/dist/cjs/api/types/InvoiceLineItemAmountTransformationTypeEnum1.d.ts +0 -9
- package/dist/cjs/api/types/InvoiceLineItemAmountTransformationTypeEnum1.js +0 -11
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.mts +0 -32
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.mts +0 -46
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.d.mts +0 -12
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/resources/export/client/Client.d.mts +0 -51
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/resources/export/client/Client.mjs +0 -116
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/resources/export/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/resources/index.mjs +0 -2
- package/dist/esm/api/resources/billingNew/resources/orders/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/billingNew/resources/orders/resources/index.mjs +0 -2
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.d.mts +0 -49
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.mjs +0 -98
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.d.mts +0 -2
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.mjs +0 -1
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.d.mts +0 -1
- package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.mjs +0 -1
- package/dist/esm/api/types/CreateInvoiceLineItemsFromAmountRes.d.mts +0 -7
- package/dist/esm/api/types/CreateInvoiceLineItemsFromLineItemsRes.d.mts +0 -7
- package/dist/esm/api/types/InvoiceLineItemAmountTransformation1.d.mts +0 -8
- package/dist/esm/api/types/InvoiceLineItemAmountTransformationTypeEnum1.d.mts +0 -9
- package/dist/esm/api/types/InvoiceLineItemAmountTransformationTypeEnum1.mjs +0 -8
- /package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/{resources/export/client → client}/requests/InvoiceLineItemExportListReq.js +0 -0
- /package/dist/cjs/api/resources/billingNew/resources/orders/{resources/rateSheetLineItems/client → client}/requests/OrderRateSheetLineItemsGenerateManyReq.d.ts +0 -0
- /package/dist/cjs/api/resources/billingNew/resources/orders/{resources/rateSheetLineItems/client → client}/requests/OrderRateSheetLineItemsGenerateManyReq.js +0 -0
- /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/client/index.js +0 -0
- /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.js → taxConfigurations/client/requests/TaxConfigurationClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.js → taxConfigurations/client/requests/TaxConfigurationClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.js → taxConfigurations/client/requests/TaxConfigurationResolveReq.js} +0 -0
- /package/dist/cjs/api/resources/billingNew/resources/{invoices/client/requests/InvoiceClientCreate1.js → taxConfigurations/client/requests/TaxConfigurationsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/index.js +0 -0
- /package/dist/cjs/api/types/{CreateInvoiceLineItemsFromAmountRes.js → BillingPeriodCloseRes.js} +0 -0
- /package/dist/cjs/api/types/{CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.js → CalculatedInvoiceTax1.js} +0 -0
- /package/dist/cjs/api/types/{CreateInvoiceLineItemsFromLineItemsRes.js → CreateInvoiceLineItemsFromAwbCostsGroupRes1.js} +0 -0
- /package/dist/cjs/api/types/{InvoiceLineItemAmountTransformation1.js → InvoiceClientCreate1.js} +0 -0
- /package/dist/cjs/api/types/{TaxRate1.js → InvoiceCreateFromOrdersReq.js} +0 -0
- /package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/{resources/export/client → client}/requests/InvoiceLineItemExportListReq.mjs +0 -0
- /package/dist/esm/api/resources/billingNew/resources/orders/{resources/rateSheetLineItems/client → client}/requests/OrderRateSheetLineItemsGenerateManyReq.d.mts +0 -0
- /package/dist/esm/api/resources/billingNew/resources/orders/{resources/rateSheetLineItems/client → client}/requests/OrderRateSheetLineItemsGenerateManyReq.mjs +0 -0
- /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.mjs → taxConfigurations/client/requests/TaxConfigurationClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.mjs → taxConfigurations/client/requests/TaxConfigurationClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/client/requests/RecalculateOrderTaxInvoiceLineItemsReq.mjs → taxConfigurations/client/requests/TaxConfigurationResolveReq.mjs} +0 -0
- /package/dist/esm/api/resources/billingNew/resources/{invoices/client/requests/InvoiceClientCreate1.mjs → taxConfigurations/client/requests/TaxConfigurationsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/index.d.mts +0 -0
- /package/dist/esm/api/resources/billingNew/resources/{invoiceLineItems/resources/export → taxConfigurations}/index.mjs +0 -0
- /package/dist/esm/api/types/{CreateInvoiceLineItemsFromAmountRes.mjs → BillingPeriodCloseRes.mjs} +0 -0
- /package/dist/esm/api/types/{CreateInvoiceLineItemsFromAwbCostsInvoiceRes1.mjs → CalculatedInvoiceTax1.mjs} +0 -0
- /package/dist/esm/api/types/{CreateInvoiceLineItemsFromLineItemsRes.mjs → CreateInvoiceLineItemsFromAwbCostsGroupRes1.mjs} +0 -0
- /package/dist/esm/api/types/{InvoiceLineItemAmountTransformation1.mjs → InvoiceClientCreate1.mjs} +0 -0
- /package/dist/esm/api/types/{TaxRate1.mjs → InvoiceCreateFromOrdersReq.mjs} +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
* sort_by: "name",
|
|
9
|
+
* sort_order: "asc",
|
|
10
|
+
* page: 1,
|
|
11
|
+
* page_size: 1,
|
|
12
|
+
* filter_counterparty_org_id: "filter_counterparty_org_id",
|
|
13
|
+
* filter_counterparty_off_chrt_org_data_id: "filter_counterparty_off_chrt_org_data_id",
|
|
14
|
+
* filter_counterparty_driver_id: "filter_counterparty_driver_id",
|
|
15
|
+
* filter_shipper_account_id: "filter_shipper_account_id",
|
|
16
|
+
* filter_archived: true,
|
|
17
|
+
* filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
18
|
+
* filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z"
|
|
19
|
+
* }
|
|
20
|
+
*/
|
|
21
|
+
export interface TaxConfigurationsListV1Request {
|
|
22
|
+
sort_by?: Chrt.TaxConfigurationSortByEnum | null;
|
|
23
|
+
sort_order?: Chrt.SortOrderEnum | null;
|
|
24
|
+
page?: number | null;
|
|
25
|
+
page_size?: number | null;
|
|
26
|
+
filter_counterparty_org_id?: string | null;
|
|
27
|
+
filter_counterparty_off_chrt_org_data_id?: string | null;
|
|
28
|
+
filter_counterparty_driver_id?: string | null;
|
|
29
|
+
filter_shipper_account_id?: string | null;
|
|
30
|
+
filter_archived?: boolean | null;
|
|
31
|
+
filter_created_at_timestamp_gte?: string | null;
|
|
32
|
+
filter_created_at_timestamp_lte?: string | null;
|
|
33
|
+
}
|
package/dist/cjs/api/resources/billingNew/resources/taxConfigurations/client/requests/index.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { type TaxConfigurationClientCreate1 } from "./TaxConfigurationClientCreate1.js";
|
|
2
|
+
export { type TaxConfigurationsListV1Request } from "./TaxConfigurationsListV1Request.js";
|
|
3
|
+
export { type TaxConfigurationResolveReq } from "./TaxConfigurationResolveReq.js";
|
|
4
|
+
export { type TaxConfigurationClientUpdate1 } from "./TaxConfigurationClientUpdate1.js";
|
|
@@ -31,7 +31,7 @@ export declare class Flights {
|
|
|
31
31
|
protected readonly _options: Flights.Options;
|
|
32
32
|
constructor(_options?: Flights.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Searches Cirium for cargo flight connections between two airports, anchored on a departure or arrival time. | (FlightConnectionsSearchReq) -> (FlightConnectionsSearchRes)
|
|
34
|
+
* Searches Cirium for cargo flight connections between two airports, anchored on a departure or arrival time, ordered by earliest final arrival with unknown arrivals last. | (FlightConnectionsSearchReq) -> (FlightConnectionsSearchRes)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.FlightConnectionsSearchReq} request
|
|
37
37
|
* @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ class Flights {
|
|
|
56
56
|
this._options = _options;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Searches Cirium for cargo flight connections between two airports, anchored on a departure or arrival time. | (FlightConnectionsSearchReq) -> (FlightConnectionsSearchRes)
|
|
59
|
+
* Searches Cirium for cargo flight connections between two airports, anchored on a departure or arrival time, ordered by earliest final arrival with unknown arrivals last. | (FlightConnectionsSearchReq) -> (FlightConnectionsSearchRes)
|
|
60
60
|
*
|
|
61
61
|
* @param {Chrt.FlightConnectionsSearchReq} request
|
|
62
62
|
* @param {Flights.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type BillingCurrencyCodeEnum1 = "USD" | "CAD" | "EUR" | "GBP" | "MXN" | "AUD" | "JPY" | "CNY" | "CHF" | "INR"
|
|
4
|
+
export type BillingCurrencyCodeEnum1 = "USD" | "CAD" | "EUR" | "GBP" | "MXN" | "AUD" | "JPY" | "CNY" | "CHF" | "INR";
|
|
5
5
|
export declare const BillingCurrencyCodeEnum1: {
|
|
6
6
|
readonly Usd: "USD";
|
|
7
7
|
readonly Cad: "CAD";
|
|
@@ -13,5 +13,4 @@ export declare const BillingCurrencyCodeEnum1: {
|
|
|
13
13
|
readonly Cny: "CNY";
|
|
14
14
|
readonly Chf: "CHF";
|
|
15
15
|
readonly Inr: "INR";
|
|
16
|
-
readonly Xxx: "XXX";
|
|
17
16
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface CalculatedInvoiceTax1 {
|
|
5
|
+
export_ref__sage__item_id?: string | null;
|
|
6
|
+
invoice_line_item_id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
percentage: number;
|
|
9
|
+
tax_amount: number;
|
|
10
|
+
tax_configuration_id: string;
|
|
11
|
+
taxable_amount: number;
|
|
12
|
+
}
|
|
@@ -32,9 +32,6 @@ export interface ChrtGroundProviderRates1 {
|
|
|
32
32
|
schema_version: number;
|
|
33
33
|
service_line?: Chrt.ServiceLineEnum;
|
|
34
34
|
shipper_account_id?: string | null;
|
|
35
|
-
tax_1?: Chrt.TaxRate1 | null;
|
|
36
|
-
tax_2?: Chrt.TaxRate1 | null;
|
|
37
|
-
tax_3?: Chrt.TaxRate1 | null;
|
|
38
35
|
updated_at_timestamp: string;
|
|
39
36
|
vehicle_types?: Chrt.VehicleTypeEnum[];
|
|
40
37
|
wait_time?: Chrt.WaitTimeRate1 | null;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
|
-
export interface
|
|
5
|
+
export interface CreateInvoiceLineItemsFromAwbCostsGroupRes1 {
|
|
6
6
|
counterparty_off_chrt_org_data_id: string;
|
|
7
7
|
created_awb_count: number;
|
|
8
8
|
created_invoice_line_item_count: number;
|
|
9
9
|
currency_code: Chrt.BillingCurrencyCodeEnum1;
|
|
10
|
-
|
|
10
|
+
invoice_line_item_ids?: string[];
|
|
11
11
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface CreateInvoiceLineItemsFromAwbCostsRes {
|
|
6
|
+
charge_groups?: Chrt.CreateInvoiceLineItemsFromAwbCostsGroupRes1[];
|
|
6
7
|
created_awbs?: Chrt.CreateInvoiceLineItemsFromAwbCostsCreatedAwb1[];
|
|
7
8
|
created_invoice_line_item_count: number;
|
|
8
|
-
invoices?: Chrt.CreateInvoiceLineItemsFromAwbCostsInvoiceRes1[];
|
|
9
9
|
rejected_awbs?: Chrt.CreateInvoiceLineItemsFromAwbCostsRejectedAwb1[];
|
|
10
10
|
}
|
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as Chrt from "
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* currency_code: "USD",
|
|
9
|
-
* invoice_type: "accounts_receivable",
|
|
10
|
-
* schema_version: 1
|
|
11
|
-
* }
|
|
12
|
-
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
13
5
|
export interface InvoiceClientCreate1 {
|
|
14
6
|
counterparty_driver_id?: string | null;
|
|
15
7
|
counterparty_off_chrt_org_data_id?: string | null;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface InvoiceCreateFromOrdersReq {
|
|
6
|
+
counterparty_driver_id?: string | null;
|
|
7
|
+
counterparty_off_chrt_org_data_id?: string | null;
|
|
8
|
+
/** Must be a string starting with `org_` */
|
|
9
|
+
counterparty_org_id?: string | null;
|
|
10
|
+
currency_code: Chrt.BillingCurrencyCodeEnum1;
|
|
11
|
+
description?: string | null;
|
|
12
|
+
export_ref__sage__customer_id?: string | null;
|
|
13
|
+
export_ref__sage__department_id?: string | null;
|
|
14
|
+
invoice_type: Chrt.InvoiceTypeEnum1;
|
|
15
|
+
name?: string | null;
|
|
16
|
+
order_ids: string[];
|
|
17
|
+
/** When derived, the exclusive UTC midnight after the last delivery day. Explicit bounds are preserved. */
|
|
18
|
+
period_end_at_timestamp?: string | null;
|
|
19
|
+
/** Supply both bounds or omit both to derive the period from delivery completion days in UTC. */
|
|
20
|
+
period_start_at_timestamp?: string | null;
|
|
21
|
+
schema_version: number;
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface InvoiceCreateFromOrdersRes {
|
|
6
|
+
added_invoice_line_item_ids?: string[];
|
|
7
|
+
already_invoiced_line_item_ids?: string[];
|
|
8
|
+
finalized_line_item_ids?: string[];
|
|
9
|
+
/** Created draft, or null when no charges qualify. */
|
|
10
|
+
invoice?: Chrt.Invoice1 | null;
|
|
11
|
+
orders_without_added_charges?: string[];
|
|
12
|
+
/** Charges for another counterparty, invoice type, or currency, regardless of status. */
|
|
13
|
+
unmatched_line_item_ids?: string[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface InvoiceCreateReq {
|
|
6
|
+
counterparty_driver_id?: string | null;
|
|
7
|
+
counterparty_off_chrt_org_data_id?: string | null;
|
|
8
|
+
/** Must be a string starting with `org_` */
|
|
9
|
+
counterparty_org_id?: string | null;
|
|
10
|
+
currency_code: Chrt.BillingCurrencyCodeEnum1;
|
|
11
|
+
description?: string | null;
|
|
12
|
+
export_ref__sage__customer_id?: string | null;
|
|
13
|
+
export_ref__sage__department_id?: string | null;
|
|
14
|
+
invoice_line_item_ids?: string[];
|
|
15
|
+
invoice_type: Chrt.InvoiceTypeEnum1;
|
|
16
|
+
name?: string | null;
|
|
17
|
+
period_end_at_timestamp?: string | null;
|
|
18
|
+
period_start_at_timestamp?: string | null;
|
|
19
|
+
schema_version: number;
|
|
20
|
+
}
|
|
@@ -23,11 +23,12 @@ export interface InvoiceLineItemExportListItem {
|
|
|
23
23
|
destination_iata?: string | null;
|
|
24
24
|
flight_numbers?: string[];
|
|
25
25
|
invoice_approval_timestamp?: string | null;
|
|
26
|
-
invoice_line_item_id
|
|
27
|
-
invoice_line_item_status
|
|
26
|
+
invoice_line_item_id?: string | null;
|
|
27
|
+
invoice_line_item_status?: Chrt.InvoiceLineItemStatusEnum1 | null;
|
|
28
28
|
invoice_number?: string | null;
|
|
29
29
|
invoice_status?: Chrt.InvoiceStatusEnum1 | null;
|
|
30
30
|
invoice_type: Chrt.InvoiceTypeEnum1;
|
|
31
|
+
is_estimate?: boolean;
|
|
31
32
|
/** IATA Air Waybill number: 3-digit airline prefix + 8-digit serial, e.g. '020-12345678'. */
|
|
32
33
|
line_item_awb_number?: string | null;
|
|
33
34
|
line_item_description: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type InvoiceLineItemTypeEnum1 = "base_rate" | "additional_mileage" | "long_distance_mileage" | "fuel" | "extra_stop" | "wait_time" | "attempt" | "pick_and_hold" | "parking" | "tolls" | "additional_fee" | "dispute" | "equipment" | "dangerous_goods" | "special_vehicle" | "after_hours" | "weekend" | "holiday" | "air_waybill" | "insurance" | "off_network_carrier" | "obc_day_rate" | "flight_ticket" | "tracking_device_label" | "tracking_device_tag" | "tracking_device_other" | "
|
|
4
|
+
export type InvoiceLineItemTypeEnum1 = "base_rate" | "additional_mileage" | "long_distance_mileage" | "fuel" | "extra_stop" | "wait_time" | "attempt" | "pick_and_hold" | "parking" | "tolls" | "additional_fee" | "dispute" | "equipment" | "dangerous_goods" | "special_vehicle" | "after_hours" | "weekend" | "holiday" | "air_waybill" | "insurance" | "off_network_carrier" | "obc_day_rate" | "flight_ticket" | "tracking_device_label" | "tracking_device_tag" | "tracking_device_other" | "tax" | "other";
|
|
5
5
|
export declare const InvoiceLineItemTypeEnum1: {
|
|
6
6
|
readonly BaseRate: "base_rate";
|
|
7
7
|
readonly AdditionalMileage: "additional_mileage";
|
|
@@ -29,8 +29,6 @@ export declare const InvoiceLineItemTypeEnum1: {
|
|
|
29
29
|
readonly TrackingDeviceLabel: "tracking_device_label";
|
|
30
30
|
readonly TrackingDeviceTag: "tracking_device_tag";
|
|
31
31
|
readonly TrackingDeviceOther: "tracking_device_other";
|
|
32
|
-
readonly
|
|
33
|
-
readonly Tax2: "tax_2";
|
|
34
|
-
readonly Tax3: "tax_3";
|
|
32
|
+
readonly Tax: "tax";
|
|
35
33
|
readonly Other: "other";
|
|
36
34
|
};
|
|
@@ -31,8 +31,6 @@ exports.InvoiceLineItemTypeEnum1 = {
|
|
|
31
31
|
TrackingDeviceLabel: "tracking_device_label",
|
|
32
32
|
TrackingDeviceTag: "tracking_device_tag",
|
|
33
33
|
TrackingDeviceOther: "tracking_device_other",
|
|
34
|
-
|
|
35
|
-
Tax2: "tax_2",
|
|
36
|
-
Tax3: "tax_3",
|
|
34
|
+
Tax: "tax",
|
|
37
35
|
Other: "other",
|
|
38
36
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface InvoicePreviewFromOrdersRes {
|
|
6
|
+
already_invoiced_line_item_ids?: string[];
|
|
7
|
+
calculation: Chrt.InvoiceTaxCalculation1;
|
|
8
|
+
finalized_line_item_ids?: string[];
|
|
9
|
+
invoice: Chrt.InvoiceClientCreate1;
|
|
10
|
+
invoice_line_items?: Chrt.InvoiceLineItem1[];
|
|
11
|
+
orders_without_selected_charges?: string[];
|
|
12
|
+
tax_configurations_by_line_item_id?: Record<string, (Chrt.TaxConfiguration1 | null) | undefined>;
|
|
13
|
+
tax_line_item_ids?: string[];
|
|
14
|
+
unmatched_line_item_ids?: string[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface InvoicePreviewRes {
|
|
6
|
+
calculation: Chrt.InvoiceTaxCalculation1;
|
|
7
|
+
invoice: Chrt.InvoiceClientCreate1;
|
|
8
|
+
invoice_line_items?: Chrt.InvoiceLineItem1[];
|
|
9
|
+
tax_configurations_by_line_item_id?: Record<string, (Chrt.TaxConfiguration1 | null) | undefined>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface InvoiceTaxCalculation1 {
|
|
6
|
+
currency_code: Chrt.BillingCurrencyCodeEnum1;
|
|
7
|
+
net_amounts?: Record<string, number>;
|
|
8
|
+
subtotal: number;
|
|
9
|
+
tax_breakdown?: Chrt.CalculatedInvoiceTax1[];
|
|
10
|
+
tax_total: number;
|
|
11
|
+
total_amount: number;
|
|
12
|
+
}
|
|
@@ -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
|
+
export interface TaxConfiguration1 {
|
|
6
|
+
_id: string;
|
|
7
|
+
archived?: boolean;
|
|
8
|
+
counterparty_driver_id?: string | null;
|
|
9
|
+
counterparty_off_chrt_org_data_id?: string | null;
|
|
10
|
+
/** Must be a string starting with `org_` */
|
|
11
|
+
counterparty_org_id?: string | null;
|
|
12
|
+
created_at_timestamp: string;
|
|
13
|
+
/** Must be a string starting with `user_` */
|
|
14
|
+
created_by_user_id: string;
|
|
15
|
+
last_edited_at_timestamp: string;
|
|
16
|
+
/** Must be a string starting with `user_` */
|
|
17
|
+
last_edited_by_user_id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
/** Must be a string starting with `org_` */
|
|
20
|
+
owned_by_org_id: string;
|
|
21
|
+
schema_version: number;
|
|
22
|
+
shipper_account_id?: string | null;
|
|
23
|
+
tax_rules?: Chrt.TaxRule1[];
|
|
24
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type TaxConfigurationSortByEnum = "name" | "created_at_timestamp";
|
|
5
|
+
export declare const TaxConfigurationSortByEnum: {
|
|
6
|
+
readonly Name: "name";
|
|
7
|
+
readonly CreatedAtTimestamp: "created_at_timestamp";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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.TaxConfigurationSortByEnum = void 0;
|
|
7
|
+
exports.TaxConfigurationSortByEnum = {
|
|
8
|
+
Name: "name",
|
|
9
|
+
CreatedAtTimestamp: "created_at_timestamp",
|
|
10
|
+
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface TaxRule1 {
|
|
5
|
+
export_ref__sage__item_id?: string | null;
|
|
5
6
|
name: string;
|
|
6
|
-
note?: string | null;
|
|
7
7
|
percentage: number;
|
|
8
|
-
sage_item_id?: string | null;
|
|
9
8
|
}
|
|
@@ -43,12 +43,14 @@ export * from "./BidThreadStatusEnum.js";
|
|
|
43
43
|
export * from "./BillingCurrencyCodeEnum1.js";
|
|
44
44
|
export * from "./BillingInvoiceApprovedWebhookPayload.js";
|
|
45
45
|
export * from "./BillingPeriod1.js";
|
|
46
|
+
export * from "./BillingPeriodCloseRes.js";
|
|
46
47
|
export * from "./BillingPeriodCycleEnum1.js";
|
|
47
48
|
export * from "./BillingPeriodExpanded1.js";
|
|
48
49
|
export * from "./BillingPeriodListRes.js";
|
|
49
50
|
export * from "./BillingPeriodSortByEnum.js";
|
|
50
51
|
export * from "./BillingPeriodStatusEnum1.js";
|
|
51
52
|
export * from "./BillingPeriodTaskGroupsReq.js";
|
|
53
|
+
export * from "./CalculatedInvoiceTax1.js";
|
|
52
54
|
export * from "./Caller.js";
|
|
53
55
|
export * from "./CallerCredentialTypeEnum.js";
|
|
54
56
|
export * from "./Cargo1.js";
|
|
@@ -152,14 +154,12 @@ export * from "./CoordinatorExecutorConnectionsForExecutorListRes.js";
|
|
|
152
154
|
export * from "./CreateCheckoutSessionRes.js";
|
|
153
155
|
export * from "./CreateConnectionReq.js";
|
|
154
156
|
export * from "./CreateCustomerPortalSessionRes.js";
|
|
155
|
-
export * from "./CreateInvoiceLineItemsFromAmountRes.js";
|
|
156
157
|
export * from "./CreateInvoiceLineItemsFromAwbCostsCreatedAwb1.js";
|
|
157
|
-
export * from "./
|
|
158
|
+
export * from "./CreateInvoiceLineItemsFromAwbCostsGroupRes1.js";
|
|
158
159
|
export * from "./CreateInvoiceLineItemsFromAwbCostsItem1.js";
|
|
159
160
|
export * from "./CreateInvoiceLineItemsFromAwbCostsRejectedAwb1.js";
|
|
160
161
|
export * from "./CreateInvoiceLineItemsFromAwbCostsRejectedReasonEnum1.js";
|
|
161
162
|
export * from "./CreateInvoiceLineItemsFromAwbCostsRes.js";
|
|
162
|
-
export * from "./CreateInvoiceLineItemsFromLineItemsRes.js";
|
|
163
163
|
export * from "./CreateOffChrtOrgRes.js";
|
|
164
164
|
export * from "./CreateStripeConnectAccountRes.js";
|
|
165
165
|
export * from "./CredentialInfoRes.js";
|
|
@@ -260,11 +260,13 @@ export * from "./HolidayRate1.js";
|
|
|
260
260
|
export * from "./InternalDelegationJwtReq.js";
|
|
261
261
|
export * from "./InternalDelegationJwtRes.js";
|
|
262
262
|
export * from "./Invoice1.js";
|
|
263
|
+
export * from "./InvoiceClientCreate1.js";
|
|
264
|
+
export * from "./InvoiceCreateFromOrdersReq.js";
|
|
265
|
+
export * from "./InvoiceCreateFromOrdersRes.js";
|
|
266
|
+
export * from "./InvoiceCreateReq.js";
|
|
263
267
|
export * from "./InvoiceExpandedListItem.js";
|
|
264
268
|
export * from "./InvoiceExpandedRes.js";
|
|
265
269
|
export * from "./InvoiceLineItem1.js";
|
|
266
|
-
export * from "./InvoiceLineItemAmountTransformation1.js";
|
|
267
|
-
export * from "./InvoiceLineItemAmountTransformationTypeEnum1.js";
|
|
268
270
|
export * from "./InvoiceLineItemClientCreate1.js";
|
|
269
271
|
export * from "./InvoiceLineItemCurrencyConversion1.js";
|
|
270
272
|
export * from "./InvoiceLineItemExpandedListItem.js";
|
|
@@ -282,9 +284,12 @@ export * from "./InvoiceLineItemsDeleteManyRes.js";
|
|
|
282
284
|
export * from "./InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.js";
|
|
283
285
|
export * from "./InvoiceListRes.js";
|
|
284
286
|
export * from "./InvoiceMergeStatusEnum1.js";
|
|
287
|
+
export * from "./InvoicePreviewFromOrdersRes.js";
|
|
288
|
+
export * from "./InvoicePreviewRes.js";
|
|
285
289
|
export * from "./InvoiceSortByEnum.js";
|
|
286
290
|
export * from "./InvoiceStatusEnum1.js";
|
|
287
291
|
export * from "./InvoiceStripeStatusEnum1.js";
|
|
292
|
+
export * from "./InvoiceTaxCalculation1.js";
|
|
288
293
|
export * from "./InvoiceTypeEnum1.js";
|
|
289
294
|
export * from "./LineString.js";
|
|
290
295
|
export * from "./Listing1.js";
|
|
@@ -554,7 +559,10 @@ export * from "./TaskListToApplyToOrder1.js";
|
|
|
554
559
|
export * from "./TaskListToApplyToOrderExpanded.js";
|
|
555
560
|
export * from "./TaskStatusEnum1.js";
|
|
556
561
|
export * from "./TaskWaitTimeGeofenceRes.js";
|
|
557
|
-
export * from "./
|
|
562
|
+
export * from "./TaxConfiguration1.js";
|
|
563
|
+
export * from "./TaxConfigurationListRes.js";
|
|
564
|
+
export * from "./TaxConfigurationSortByEnum.js";
|
|
565
|
+
export * from "./TaxRule1.js";
|
|
558
566
|
export * from "./TemplateRes.js";
|
|
559
567
|
export * from "./TimeBucket.js";
|
|
560
568
|
export * from "./TimeGranularity.js";
|
|
@@ -59,12 +59,14 @@ __exportStar(require("./BidThreadStatusEnum.js"), exports);
|
|
|
59
59
|
__exportStar(require("./BillingCurrencyCodeEnum1.js"), exports);
|
|
60
60
|
__exportStar(require("./BillingInvoiceApprovedWebhookPayload.js"), exports);
|
|
61
61
|
__exportStar(require("./BillingPeriod1.js"), exports);
|
|
62
|
+
__exportStar(require("./BillingPeriodCloseRes.js"), exports);
|
|
62
63
|
__exportStar(require("./BillingPeriodCycleEnum1.js"), exports);
|
|
63
64
|
__exportStar(require("./BillingPeriodExpanded1.js"), exports);
|
|
64
65
|
__exportStar(require("./BillingPeriodListRes.js"), exports);
|
|
65
66
|
__exportStar(require("./BillingPeriodSortByEnum.js"), exports);
|
|
66
67
|
__exportStar(require("./BillingPeriodStatusEnum1.js"), exports);
|
|
67
68
|
__exportStar(require("./BillingPeriodTaskGroupsReq.js"), exports);
|
|
69
|
+
__exportStar(require("./CalculatedInvoiceTax1.js"), exports);
|
|
68
70
|
__exportStar(require("./Caller.js"), exports);
|
|
69
71
|
__exportStar(require("./CallerCredentialTypeEnum.js"), exports);
|
|
70
72
|
__exportStar(require("./Cargo1.js"), exports);
|
|
@@ -168,14 +170,12 @@ __exportStar(require("./CoordinatorExecutorConnectionsForExecutorListRes.js"), e
|
|
|
168
170
|
__exportStar(require("./CreateCheckoutSessionRes.js"), exports);
|
|
169
171
|
__exportStar(require("./CreateConnectionReq.js"), exports);
|
|
170
172
|
__exportStar(require("./CreateCustomerPortalSessionRes.js"), exports);
|
|
171
|
-
__exportStar(require("./CreateInvoiceLineItemsFromAmountRes.js"), exports);
|
|
172
173
|
__exportStar(require("./CreateInvoiceLineItemsFromAwbCostsCreatedAwb1.js"), exports);
|
|
173
|
-
__exportStar(require("./
|
|
174
|
+
__exportStar(require("./CreateInvoiceLineItemsFromAwbCostsGroupRes1.js"), exports);
|
|
174
175
|
__exportStar(require("./CreateInvoiceLineItemsFromAwbCostsItem1.js"), exports);
|
|
175
176
|
__exportStar(require("./CreateInvoiceLineItemsFromAwbCostsRejectedAwb1.js"), exports);
|
|
176
177
|
__exportStar(require("./CreateInvoiceLineItemsFromAwbCostsRejectedReasonEnum1.js"), exports);
|
|
177
178
|
__exportStar(require("./CreateInvoiceLineItemsFromAwbCostsRes.js"), exports);
|
|
178
|
-
__exportStar(require("./CreateInvoiceLineItemsFromLineItemsRes.js"), exports);
|
|
179
179
|
__exportStar(require("./CreateOffChrtOrgRes.js"), exports);
|
|
180
180
|
__exportStar(require("./CreateStripeConnectAccountRes.js"), exports);
|
|
181
181
|
__exportStar(require("./CredentialInfoRes.js"), exports);
|
|
@@ -276,11 +276,13 @@ __exportStar(require("./HolidayRate1.js"), exports);
|
|
|
276
276
|
__exportStar(require("./InternalDelegationJwtReq.js"), exports);
|
|
277
277
|
__exportStar(require("./InternalDelegationJwtRes.js"), exports);
|
|
278
278
|
__exportStar(require("./Invoice1.js"), exports);
|
|
279
|
+
__exportStar(require("./InvoiceClientCreate1.js"), exports);
|
|
280
|
+
__exportStar(require("./InvoiceCreateFromOrdersReq.js"), exports);
|
|
281
|
+
__exportStar(require("./InvoiceCreateFromOrdersRes.js"), exports);
|
|
282
|
+
__exportStar(require("./InvoiceCreateReq.js"), exports);
|
|
279
283
|
__exportStar(require("./InvoiceExpandedListItem.js"), exports);
|
|
280
284
|
__exportStar(require("./InvoiceExpandedRes.js"), exports);
|
|
281
285
|
__exportStar(require("./InvoiceLineItem1.js"), exports);
|
|
282
|
-
__exportStar(require("./InvoiceLineItemAmountTransformation1.js"), exports);
|
|
283
|
-
__exportStar(require("./InvoiceLineItemAmountTransformationTypeEnum1.js"), exports);
|
|
284
286
|
__exportStar(require("./InvoiceLineItemClientCreate1.js"), exports);
|
|
285
287
|
__exportStar(require("./InvoiceLineItemCurrencyConversion1.js"), exports);
|
|
286
288
|
__exportStar(require("./InvoiceLineItemExpandedListItem.js"), exports);
|
|
@@ -298,9 +300,12 @@ __exportStar(require("./InvoiceLineItemsDeleteManyRes.js"), exports);
|
|
|
298
300
|
__exportStar(require("./InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.js"), exports);
|
|
299
301
|
__exportStar(require("./InvoiceListRes.js"), exports);
|
|
300
302
|
__exportStar(require("./InvoiceMergeStatusEnum1.js"), exports);
|
|
303
|
+
__exportStar(require("./InvoicePreviewFromOrdersRes.js"), exports);
|
|
304
|
+
__exportStar(require("./InvoicePreviewRes.js"), exports);
|
|
301
305
|
__exportStar(require("./InvoiceSortByEnum.js"), exports);
|
|
302
306
|
__exportStar(require("./InvoiceStatusEnum1.js"), exports);
|
|
303
307
|
__exportStar(require("./InvoiceStripeStatusEnum1.js"), exports);
|
|
308
|
+
__exportStar(require("./InvoiceTaxCalculation1.js"), exports);
|
|
304
309
|
__exportStar(require("./InvoiceTypeEnum1.js"), exports);
|
|
305
310
|
__exportStar(require("./LineString.js"), exports);
|
|
306
311
|
__exportStar(require("./Listing1.js"), exports);
|
|
@@ -570,7 +575,10 @@ __exportStar(require("./TaskListToApplyToOrder1.js"), exports);
|
|
|
570
575
|
__exportStar(require("./TaskListToApplyToOrderExpanded.js"), exports);
|
|
571
576
|
__exportStar(require("./TaskStatusEnum1.js"), exports);
|
|
572
577
|
__exportStar(require("./TaskWaitTimeGeofenceRes.js"), exports);
|
|
573
|
-
__exportStar(require("./
|
|
578
|
+
__exportStar(require("./TaxConfiguration1.js"), exports);
|
|
579
|
+
__exportStar(require("./TaxConfigurationListRes.js"), exports);
|
|
580
|
+
__exportStar(require("./TaxConfigurationSortByEnum.js"), exports);
|
|
581
|
+
__exportStar(require("./TaxRule1.js"), exports);
|
|
574
582
|
__exportStar(require("./TemplateRes.js"), exports);
|
|
575
583
|
__exportStar(require("./TimeBucket.js"), exports);
|
|
576
584
|
__exportStar(require("./TimeGranularity.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.999.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -24,8 +24,8 @@ export class ChrtClient {
|
|
|
24
24
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
25
25
|
"X-Fern-Language": "JavaScript",
|
|
26
26
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
27
|
-
"X-Fern-SDK-Version": "1.
|
|
28
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
27
|
+
"X-Fern-SDK-Version": "1.999.0",
|
|
28
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.999.0",
|
|
29
29
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
30
30
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
31
31
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -8,6 +8,7 @@ import { ChrtGroundProviderRates } from "../resources/chrtGroundProviderRates/cl
|
|
|
8
8
|
import { InvoiceLineItems } from "../resources/invoiceLineItems/client/Client.mjs";
|
|
9
9
|
import { Invoices } from "../resources/invoices/client/Client.mjs";
|
|
10
10
|
import { Orders } from "../resources/orders/client/Client.mjs";
|
|
11
|
+
import { TaxConfigurations } from "../resources/taxConfigurations/client/Client.mjs";
|
|
11
12
|
export declare namespace BillingNew {
|
|
12
13
|
interface Options {
|
|
13
14
|
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
@@ -26,10 +27,12 @@ export declare class BillingNew {
|
|
|
26
27
|
protected _invoiceLineItems: InvoiceLineItems | undefined;
|
|
27
28
|
protected _invoices: Invoices | undefined;
|
|
28
29
|
protected _orders: Orders | undefined;
|
|
30
|
+
protected _taxConfigurations: TaxConfigurations | undefined;
|
|
29
31
|
constructor(_options?: BillingNew.Options);
|
|
30
32
|
get billingPeriods(): BillingPeriods;
|
|
31
33
|
get chrtGroundProviderRates(): ChrtGroundProviderRates;
|
|
32
34
|
get invoiceLineItems(): InvoiceLineItems;
|
|
33
35
|
get invoices(): Invoices;
|
|
34
36
|
get orders(): Orders;
|
|
37
|
+
get taxConfigurations(): TaxConfigurations;
|
|
35
38
|
}
|