@chrt-inc/typescript-sdk 1.891.0 → 1.894.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 +178 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +637 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/index.js +17 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.d.ts +22 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.ts +28 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.ts +45 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemClientUpdate1.d.ts +19 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsDeleteManyReq.d.ts +12 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsDeleteManyReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.ts +62 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/index.js +17 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +217 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +880 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/index.js +17 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.ts +24 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientUpdate1.d.ts +13 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsAddReq.d.ts +12 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsAddReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsRemoveReq.d.ts +12 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsRemoveReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceVoidReq.d.ts +10 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceVoidReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.ts +51 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/index.js +17 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/Client.d.ts +145 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/Client.js +578 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/index.js +17 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.d.ts +13 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.d.ts +37 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.ts +43 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.d.ts +13 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.d.ts +54 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/rates/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +36 -20
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/types/AdditionalMileageRate1.d.ts +9 -0
- package/dist/cjs/api/types/AdditionalMileageRate1.js +5 -0
- package/dist/cjs/api/types/AfterHoursRate1.d.ts +7 -0
- package/dist/cjs/api/types/AfterHoursRate1.js +5 -0
- package/dist/cjs/api/types/ApplyChrtGroundProviderRatesRes.d.ts +7 -0
- package/dist/cjs/api/types/ApplyChrtGroundProviderRatesRes.js +5 -0
- package/dist/cjs/api/types/AttemptRate1.d.ts +7 -0
- package/dist/cjs/api/types/AttemptRate1.js +5 -0
- package/dist/cjs/api/types/BaseMileageRate1.d.ts +8 -0
- package/dist/cjs/api/types/BaseMileageRate1.js +5 -0
- package/dist/cjs/api/types/BillingCurrencyCodeEnum1.d.ts +17 -0
- package/dist/cjs/api/types/BillingCurrencyCodeEnum1.js +19 -0
- package/dist/cjs/api/types/CargoTypeEnum1.d.ts +8 -1
- package/dist/cjs/api/types/CargoTypeEnum1.js +7 -0
- package/dist/cjs/api/types/ChrtGroundProviderRates1.d.ts +35 -0
- package/dist/cjs/api/types/ChrtGroundProviderRates1.js +5 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesListRes.d.ts +8 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesListRes.js +5 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesSortByEnum.js +12 -0
- package/dist/cjs/api/types/CreateInvoiceLineItemsFromAmountRes.d.ts +7 -0
- package/dist/cjs/api/types/CreateInvoiceLineItemsFromAmountRes.js +5 -0
- package/dist/cjs/api/types/CreateInvoiceLineItemsFromLineItemsRes.d.ts +7 -0
- package/dist/cjs/api/types/CreateInvoiceLineItemsFromLineItemsRes.js +5 -0
- package/dist/cjs/api/types/DangerousGoodsRate1.d.ts +7 -0
- package/dist/cjs/api/types/DangerousGoodsRate1.js +5 -0
- package/dist/cjs/api/types/ExtraStopRate1.d.ts +7 -0
- package/dist/cjs/api/types/ExtraStopRate1.js +5 -0
- package/dist/cjs/api/types/FlatFeeRate1.d.ts +7 -0
- package/dist/cjs/api/types/FlatFeeRate1.js +5 -0
- package/dist/cjs/api/types/FuelSurchargeRate1.d.ts +7 -0
- package/dist/cjs/api/types/FuelSurchargeRate1.js +5 -0
- package/dist/cjs/api/types/HolidayRate1.d.ts +7 -0
- package/dist/cjs/api/types/HolidayRate1.js +5 -0
- package/dist/cjs/api/types/Invoice1.d.ts +57 -0
- package/dist/cjs/api/types/Invoice1.js +5 -0
- package/dist/cjs/api/types/InvoiceExpandedRes.d.ts +11 -0
- package/dist/cjs/api/types/InvoiceExpandedRes.js +5 -0
- package/dist/cjs/api/types/InvoiceLineItem1.d.ts +31 -0
- package/dist/cjs/api/types/InvoiceLineItem1.js +5 -0
- package/dist/cjs/api/types/InvoiceLineItemAmountTransformation1.d.ts +8 -0
- package/dist/cjs/api/types/InvoiceLineItemAmountTransformation1.js +5 -0
- package/dist/cjs/api/types/InvoiceLineItemAmountTransformationTypeEnum1.d.ts +9 -0
- package/dist/cjs/api/types/InvoiceLineItemAmountTransformationTypeEnum1.js +11 -0
- package/dist/cjs/api/types/InvoiceLineItemListRes.d.ts +8 -0
- package/dist/cjs/api/types/InvoiceLineItemListRes.js +5 -0
- package/dist/cjs/api/types/InvoiceLineItemSortByEnum.d.ts +14 -0
- package/dist/cjs/api/types/InvoiceLineItemSortByEnum.js +16 -0
- package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.d.ts +33 -0
- package/dist/cjs/api/types/InvoiceLineItemTypeEnum1.js +35 -0
- package/dist/cjs/api/types/InvoiceLineItemUnitEnum1.d.ts +14 -0
- package/dist/cjs/api/types/InvoiceLineItemUnitEnum1.js +16 -0
- package/dist/cjs/api/types/InvoiceLineItemsByOrderExpandedRes.d.ts +10 -0
- package/dist/cjs/api/types/InvoiceLineItemsByOrderExpandedRes.js +5 -0
- package/dist/cjs/api/types/InvoiceLineItemsDeleteManyRes.d.ts +6 -0
- package/dist/cjs/api/types/InvoiceLineItemsDeleteManyRes.js +5 -0
- package/dist/cjs/api/types/InvoiceListRes.d.ts +8 -0
- package/dist/cjs/api/types/InvoiceListRes.js +5 -0
- package/dist/cjs/api/types/InvoiceMergeStatusEnum1.d.ts +12 -0
- package/dist/cjs/api/types/InvoiceMergeStatusEnum1.js +14 -0
- package/dist/cjs/api/types/InvoiceSortByEnum.d.ts +11 -0
- package/dist/cjs/api/types/InvoiceSortByEnum.js +13 -0
- package/dist/cjs/api/types/InvoiceStatusEnum1.d.ts +9 -0
- package/dist/cjs/api/types/InvoiceStatusEnum1.js +11 -0
- package/dist/cjs/api/types/InvoiceStripeStatusEnum1.d.ts +11 -0
- package/dist/cjs/api/types/InvoiceStripeStatusEnum1.js +13 -0
- package/dist/cjs/api/types/InvoiceTypeEnum1.d.ts +8 -0
- package/dist/cjs/api/types/InvoiceTypeEnum1.js +10 -0
- package/dist/cjs/api/types/LongDistanceSurchargeRate1.d.ts +8 -0
- package/dist/cjs/api/types/LongDistanceSurchargeRate1.js +5 -0
- package/dist/cjs/api/types/Order1.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForExecutor1.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +1 -0
- package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +1 -0
- package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +1 -0
- package/dist/cjs/api/types/PickAndHoldRate1.d.ts +7 -0
- package/dist/cjs/api/types/PickAndHoldRate1.js +5 -0
- package/dist/cjs/api/types/WaitTimeRate1.d.ts +8 -0
- package/dist/cjs/api/types/WaitTimeRate1.js +5 -0
- package/dist/cjs/api/types/WeekendRate1.d.ts +7 -0
- package/dist/cjs/api/types/WeekendRate1.js +5 -0
- package/dist/cjs/api/types/index.d.ts +37 -0
- package/dist/cjs/api/types/index.js +37 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +7 -2
- package/dist/esm/api/resources/billingNew/client/Client.d.mts +29 -0
- package/dist/esm/api/resources/billingNew/client/Client.mjs +23 -0
- package/dist/esm/api/resources/billingNew/client/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/client/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/index.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/index.mjs +2 -0
- package/dist/esm/api/resources/billingNew/resources/index.d.mts +6 -0
- package/dist/esm/api/resources/billingNew/resources/index.mjs +6 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +178 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +600 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/index.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.d.mts +22 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/ApplyChrtGroundProviderRatesReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.d.mts +28 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromAmountReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.d.mts +45 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/CreateInvoiceLineItemsFromLineItemsReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemClientUpdate1.d.mts +19 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsDeleteManyReq.d.mts +12 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsDeleteManyReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.mts +62 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +217 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +843 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/index.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.mts +24 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientUpdate1.d.mts +13 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsAddReq.d.mts +12 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsAddReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsRemoveReq.d.mts +12 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceLineItemsRemoveReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceVoidReq.d.mts +10 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceVoidReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.mts +51 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/Client.d.mts +145 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/Client.mjs +541 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/index.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.d.mts +13 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesAddCounterpartiesReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.d.mts +37 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.d.mts +43 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.d.mts +13 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/ChrtGroundProviderRatesRemoveCounterpartiesReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.d.mts +54 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/RatesListV1Request.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/billingNew/resources/rates/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billingNew/resources/rates/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/rates/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +36 -20
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/types/AdditionalMileageRate1.d.mts +9 -0
- package/dist/esm/api/types/AdditionalMileageRate1.mjs +4 -0
- package/dist/esm/api/types/AfterHoursRate1.d.mts +7 -0
- package/dist/esm/api/types/AfterHoursRate1.mjs +4 -0
- package/dist/esm/api/types/ApplyChrtGroundProviderRatesRes.d.mts +7 -0
- package/dist/esm/api/types/ApplyChrtGroundProviderRatesRes.mjs +4 -0
- package/dist/esm/api/types/AttemptRate1.d.mts +7 -0
- package/dist/esm/api/types/AttemptRate1.mjs +4 -0
- package/dist/esm/api/types/BaseMileageRate1.d.mts +8 -0
- package/dist/esm/api/types/BaseMileageRate1.mjs +4 -0
- package/dist/esm/api/types/BillingCurrencyCodeEnum1.d.mts +17 -0
- package/dist/esm/api/types/BillingCurrencyCodeEnum1.mjs +16 -0
- package/dist/esm/api/types/CargoTypeEnum1.d.mts +8 -1
- package/dist/esm/api/types/CargoTypeEnum1.mjs +7 -0
- package/dist/esm/api/types/ChrtGroundProviderRates1.d.mts +35 -0
- package/dist/esm/api/types/ChrtGroundProviderRates1.mjs +4 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesListRes.d.mts +8 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesListRes.mjs +4 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesSortByEnum.mjs +9 -0
- package/dist/esm/api/types/CreateInvoiceLineItemsFromAmountRes.d.mts +7 -0
- package/dist/esm/api/types/CreateInvoiceLineItemsFromAmountRes.mjs +4 -0
- package/dist/esm/api/types/CreateInvoiceLineItemsFromLineItemsRes.d.mts +7 -0
- package/dist/esm/api/types/CreateInvoiceLineItemsFromLineItemsRes.mjs +4 -0
- package/dist/esm/api/types/DangerousGoodsRate1.d.mts +7 -0
- package/dist/esm/api/types/DangerousGoodsRate1.mjs +4 -0
- package/dist/esm/api/types/ExtraStopRate1.d.mts +7 -0
- package/dist/esm/api/types/ExtraStopRate1.mjs +4 -0
- package/dist/esm/api/types/FlatFeeRate1.d.mts +7 -0
- package/dist/esm/api/types/FlatFeeRate1.mjs +4 -0
- package/dist/esm/api/types/FuelSurchargeRate1.d.mts +7 -0
- package/dist/esm/api/types/FuelSurchargeRate1.mjs +4 -0
- package/dist/esm/api/types/HolidayRate1.d.mts +7 -0
- package/dist/esm/api/types/HolidayRate1.mjs +4 -0
- package/dist/esm/api/types/Invoice1.d.mts +57 -0
- package/dist/esm/api/types/Invoice1.mjs +4 -0
- package/dist/esm/api/types/InvoiceExpandedRes.d.mts +11 -0
- package/dist/esm/api/types/InvoiceExpandedRes.mjs +4 -0
- package/dist/esm/api/types/InvoiceLineItem1.d.mts +31 -0
- package/dist/esm/api/types/InvoiceLineItem1.mjs +4 -0
- package/dist/esm/api/types/InvoiceLineItemAmountTransformation1.d.mts +8 -0
- package/dist/esm/api/types/InvoiceLineItemAmountTransformation1.mjs +4 -0
- package/dist/esm/api/types/InvoiceLineItemAmountTransformationTypeEnum1.d.mts +9 -0
- package/dist/esm/api/types/InvoiceLineItemAmountTransformationTypeEnum1.mjs +8 -0
- package/dist/esm/api/types/InvoiceLineItemListRes.d.mts +8 -0
- package/dist/esm/api/types/InvoiceLineItemListRes.mjs +4 -0
- package/dist/esm/api/types/InvoiceLineItemSortByEnum.d.mts +14 -0
- package/dist/esm/api/types/InvoiceLineItemSortByEnum.mjs +13 -0
- package/dist/esm/api/types/InvoiceLineItemTypeEnum1.d.mts +33 -0
- package/dist/esm/api/types/InvoiceLineItemTypeEnum1.mjs +32 -0
- package/dist/esm/api/types/InvoiceLineItemUnitEnum1.d.mts +14 -0
- package/dist/esm/api/types/InvoiceLineItemUnitEnum1.mjs +13 -0
- package/dist/esm/api/types/InvoiceLineItemsByOrderExpandedRes.d.mts +10 -0
- package/dist/esm/api/types/InvoiceLineItemsByOrderExpandedRes.mjs +4 -0
- package/dist/esm/api/types/InvoiceLineItemsDeleteManyRes.d.mts +6 -0
- package/dist/esm/api/types/InvoiceLineItemsDeleteManyRes.mjs +4 -0
- package/dist/esm/api/types/InvoiceListRes.d.mts +8 -0
- package/dist/esm/api/types/InvoiceListRes.mjs +4 -0
- package/dist/esm/api/types/InvoiceMergeStatusEnum1.d.mts +12 -0
- package/dist/esm/api/types/InvoiceMergeStatusEnum1.mjs +11 -0
- package/dist/esm/api/types/InvoiceSortByEnum.d.mts +11 -0
- package/dist/esm/api/types/InvoiceSortByEnum.mjs +10 -0
- package/dist/esm/api/types/InvoiceStatusEnum1.d.mts +9 -0
- package/dist/esm/api/types/InvoiceStatusEnum1.mjs +8 -0
- package/dist/esm/api/types/InvoiceStripeStatusEnum1.d.mts +11 -0
- package/dist/esm/api/types/InvoiceStripeStatusEnum1.mjs +10 -0
- package/dist/esm/api/types/InvoiceTypeEnum1.d.mts +8 -0
- package/dist/esm/api/types/InvoiceTypeEnum1.mjs +7 -0
- package/dist/esm/api/types/LongDistanceSurchargeRate1.d.mts +8 -0
- package/dist/esm/api/types/LongDistanceSurchargeRate1.mjs +4 -0
- package/dist/esm/api/types/Order1.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForExecutor1.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +1 -0
- package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +1 -0
- package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +1 -0
- package/dist/esm/api/types/PickAndHoldRate1.d.mts +7 -0
- package/dist/esm/api/types/PickAndHoldRate1.mjs +4 -0
- package/dist/esm/api/types/WaitTimeRate1.d.mts +8 -0
- package/dist/esm/api/types/WaitTimeRate1.mjs +4 -0
- package/dist/esm/api/types/WeekendRate1.d.mts +7 -0
- package/dist/esm/api/types/WeekendRate1.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +37 -0
- package/dist/esm/api/types/index.mjs +37 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1820 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type CargoTypeEnum1 = "spare_parts" | "blood" | "lab_specimen" | "organ" | "tissue" | "manufacturing_equipment" | "aircraft_parts" | "medical_devices" | "medical_supplies" | "pharmaceuticals" | "documents" | "electronics" | "clothing" | "chemicals" | "hazardous_materials" | "perishable" | "frozen" | "other" | "unspecified";
|
|
4
|
+
export type CargoTypeEnum1 = "spare_parts" | "blood" | "lab_specimen" | "organ" | "tissue" | "manufacturing_equipment" | "aircraft_parts" | "medical_devices" | "medical_supplies" | "pharmaceuticals" | "documents" | "electronics" | "clothing" | "chemicals" | "hazardous_materials" | "perishable" | "frozen" | "live_animals" | "rodents" | "fish" | "birds" | "reptiles" | "mammals" | "crickets" | "other" | "unspecified";
|
|
5
5
|
export declare const CargoTypeEnum1: {
|
|
6
6
|
readonly SpareParts: "spare_parts";
|
|
7
7
|
readonly Blood: "blood";
|
|
@@ -20,6 +20,13 @@ export declare const CargoTypeEnum1: {
|
|
|
20
20
|
readonly HazardousMaterials: "hazardous_materials";
|
|
21
21
|
readonly Perishable: "perishable";
|
|
22
22
|
readonly Frozen: "frozen";
|
|
23
|
+
readonly LiveAnimals: "live_animals";
|
|
24
|
+
readonly Rodents: "rodents";
|
|
25
|
+
readonly Fish: "fish";
|
|
26
|
+
readonly Birds: "birds";
|
|
27
|
+
readonly Reptiles: "reptiles";
|
|
28
|
+
readonly Mammals: "mammals";
|
|
29
|
+
readonly Crickets: "crickets";
|
|
23
30
|
readonly Other: "other";
|
|
24
31
|
readonly Unspecified: "unspecified";
|
|
25
32
|
};
|
|
@@ -22,6 +22,13 @@ exports.CargoTypeEnum1 = {
|
|
|
22
22
|
HazardousMaterials: "hazardous_materials",
|
|
23
23
|
Perishable: "perishable",
|
|
24
24
|
Frozen: "frozen",
|
|
25
|
+
LiveAnimals: "live_animals",
|
|
26
|
+
Rodents: "rodents",
|
|
27
|
+
Fish: "fish",
|
|
28
|
+
Birds: "birds",
|
|
29
|
+
Reptiles: "reptiles",
|
|
30
|
+
Mammals: "mammals",
|
|
31
|
+
Crickets: "crickets",
|
|
25
32
|
Other: "other",
|
|
26
33
|
Unspecified: "unspecified",
|
|
27
34
|
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface ChrtGroundProviderRates1 {
|
|
6
|
+
_id: string;
|
|
7
|
+
additional_mileage?: Chrt.AdditionalMileageRate1 | null;
|
|
8
|
+
after_hours?: Chrt.AfterHoursRate1 | null;
|
|
9
|
+
archived?: boolean;
|
|
10
|
+
attempt?: Chrt.AttemptRate1 | null;
|
|
11
|
+
base_mileage?: Chrt.BaseMileageRate1 | null;
|
|
12
|
+
cargo_types?: Chrt.CargoTypeEnum1[];
|
|
13
|
+
comments?: string | null;
|
|
14
|
+
counterparty_account_ids?: string[];
|
|
15
|
+
counterparty_driver_ids?: string[];
|
|
16
|
+
counterparty_off_chrt_org_data_ids?: string[];
|
|
17
|
+
counterparty_org_ids?: string[];
|
|
18
|
+
created_at_timestamp: string;
|
|
19
|
+
currency_code: Chrt.BillingCurrencyCodeEnum1;
|
|
20
|
+
dangerous_goods?: Chrt.DangerousGoodsRate1 | null;
|
|
21
|
+
extra_stop?: Chrt.ExtraStopRate1 | null;
|
|
22
|
+
flat_fee?: Chrt.FlatFeeRate1 | null;
|
|
23
|
+
fuel_surcharge?: Chrt.FuelSurchargeRate1 | null;
|
|
24
|
+
holiday?: Chrt.HolidayRate1 | null;
|
|
25
|
+
long_distance_surcharge?: Chrt.LongDistanceSurchargeRate1 | null;
|
|
26
|
+
name?: string | null;
|
|
27
|
+
/** Must be a string starting with `org_` */
|
|
28
|
+
owned_by_org_id: string;
|
|
29
|
+
pick_and_hold?: Chrt.PickAndHoldRate1 | null;
|
|
30
|
+
schema_version: number;
|
|
31
|
+
updated_at_timestamp: string;
|
|
32
|
+
vehicle_types?: Chrt.VehicleTypeEnum[];
|
|
33
|
+
wait_time?: Chrt.WaitTimeRate1 | null;
|
|
34
|
+
weekend?: Chrt.WeekendRate1 | null;
|
|
35
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type ChrtGroundProviderRatesSortByEnum = "name" | "currency_code" | "created_at_timestamp" | "updated_at_timestamp";
|
|
5
|
+
export declare const ChrtGroundProviderRatesSortByEnum: {
|
|
6
|
+
readonly Name: "name";
|
|
7
|
+
readonly CurrencyCode: "currency_code";
|
|
8
|
+
readonly CreatedAtTimestamp: "created_at_timestamp";
|
|
9
|
+
readonly UpdatedAtTimestamp: "updated_at_timestamp";
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
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.ChrtGroundProviderRatesSortByEnum = void 0;
|
|
7
|
+
exports.ChrtGroundProviderRatesSortByEnum = {
|
|
8
|
+
Name: "name",
|
|
9
|
+
CurrencyCode: "currency_code",
|
|
10
|
+
CreatedAtTimestamp: "created_at_timestamp",
|
|
11
|
+
UpdatedAtTimestamp: "updated_at_timestamp",
|
|
12
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface Invoice1 {
|
|
6
|
+
_id: string;
|
|
7
|
+
approved_at_timestamp?: string | null;
|
|
8
|
+
/** Must be a string starting with `user_` */
|
|
9
|
+
approved_by_user_id?: string | null;
|
|
10
|
+
counterparty_account_ids?: string[];
|
|
11
|
+
counterparty_off_chrt_org_data_id?: string | null;
|
|
12
|
+
/** Must be a string starting with `org_` */
|
|
13
|
+
counterparty_org_id?: string | null;
|
|
14
|
+
created_at_timestamp: string;
|
|
15
|
+
/** Must be a string starting with `user_` */
|
|
16
|
+
created_by_user_id: string;
|
|
17
|
+
currency_code: Chrt.BillingCurrencyCodeEnum1;
|
|
18
|
+
description?: string | null;
|
|
19
|
+
export_ref__sage__customer_id?: string | null;
|
|
20
|
+
export_ref__sage__department_id?: string | null;
|
|
21
|
+
file_exported_at_timestamp?: string | null;
|
|
22
|
+
/** Must be a string starting with `user_` */
|
|
23
|
+
file_exported_by_user_id?: string | null;
|
|
24
|
+
invoice_line_item_ids?: string[];
|
|
25
|
+
invoice_type: Chrt.InvoiceTypeEnum1;
|
|
26
|
+
last_edited_at_timestamp: string;
|
|
27
|
+
/** Must be a string starting with `user_` */
|
|
28
|
+
last_edited_by_user_id: string;
|
|
29
|
+
merge_exported_at_timestamp?: string | null;
|
|
30
|
+
/** Must be a string starting with `user_` */
|
|
31
|
+
merge_exported_by_user_id?: string | null;
|
|
32
|
+
merge_invoice_id?: string | null;
|
|
33
|
+
merge_invoice_number?: string | null;
|
|
34
|
+
merge_invoice_url?: string | null;
|
|
35
|
+
merge_linked_account_id?: string | null;
|
|
36
|
+
merge_remote_id?: string | null;
|
|
37
|
+
merge_remote_was_deleted?: boolean;
|
|
38
|
+
merge_status?: Chrt.InvoiceMergeStatusEnum1 | null;
|
|
39
|
+
name?: string | null;
|
|
40
|
+
/** Must be a string starting with `org_` */
|
|
41
|
+
owned_by_org_id: string;
|
|
42
|
+
schema_version: number;
|
|
43
|
+
status?: Chrt.InvoiceStatusEnum1;
|
|
44
|
+
stripe_exported_at_timestamp?: string | null;
|
|
45
|
+
/** Must be a string starting with `user_` */
|
|
46
|
+
stripe_exported_by_user_id?: string | null;
|
|
47
|
+
stripe_invoice_id?: string | null;
|
|
48
|
+
stripe_invoice_number?: string | null;
|
|
49
|
+
stripe_invoice_url?: string | null;
|
|
50
|
+
stripe_status?: Chrt.InvoiceStripeStatusEnum1 | null;
|
|
51
|
+
stripe_was_deleted?: boolean;
|
|
52
|
+
total_amount?: number | null;
|
|
53
|
+
void_reason?: string | null;
|
|
54
|
+
voided_at_timestamp?: string | null;
|
|
55
|
+
/** Must be a string starting with `user_` */
|
|
56
|
+
voided_by_user_id?: string | null;
|
|
57
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface InvoiceExpandedRes {
|
|
6
|
+
counterparty_accounts?: Chrt.Account1[];
|
|
7
|
+
counterparty_off_chrt_org_data?: Chrt.OffChrtOrgData1 | null;
|
|
8
|
+
counterparty_org?: Chrt.OrgPublicData1 | null;
|
|
9
|
+
invoice: Chrt.Invoice1;
|
|
10
|
+
invoice_line_items?: Chrt.InvoiceLineItem1[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface InvoiceLineItem1 {
|
|
6
|
+
_id: string;
|
|
7
|
+
counterparty_account_id?: string | null;
|
|
8
|
+
counterparty_off_chrt_org_data_id?: string | null;
|
|
9
|
+
/** Must be a string starting with `org_` */
|
|
10
|
+
counterparty_org_id?: string | null;
|
|
11
|
+
created_at_timestamp: string;
|
|
12
|
+
/** Must be a string starting with `user_` */
|
|
13
|
+
created_by_user_id: string;
|
|
14
|
+
currency_code: Chrt.BillingCurrencyCodeEnum1;
|
|
15
|
+
description: string;
|
|
16
|
+
export_ref__sage__item_id?: string | null;
|
|
17
|
+
invoice_id?: string | null;
|
|
18
|
+
invoice_type: Chrt.InvoiceTypeEnum1;
|
|
19
|
+
last_edited_at_timestamp: string;
|
|
20
|
+
/** Must be a string starting with `user_` */
|
|
21
|
+
last_edited_by_user_id: string;
|
|
22
|
+
line_item_type: Chrt.InvoiceLineItemTypeEnum1;
|
|
23
|
+
order_id?: string | null;
|
|
24
|
+
/** Must be a string starting with `org_` */
|
|
25
|
+
owned_by_org_id: string;
|
|
26
|
+
quantity: number;
|
|
27
|
+
schema_version: number;
|
|
28
|
+
task_group_id?: string | null;
|
|
29
|
+
unit?: Chrt.InvoiceLineItemUnitEnum1 | null;
|
|
30
|
+
unit_price: number;
|
|
31
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface InvoiceLineItemAmountTransformation1 {
|
|
6
|
+
transformation_type: Chrt.InvoiceLineItemAmountTransformationTypeEnum1;
|
|
7
|
+
value: number;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type InvoiceLineItemAmountTransformationTypeEnum1 = "percent" | "markup" | "margin";
|
|
5
|
+
export declare const InvoiceLineItemAmountTransformationTypeEnum1: {
|
|
6
|
+
readonly Percent: "percent";
|
|
7
|
+
readonly Markup: "markup";
|
|
8
|
+
readonly Margin: "margin";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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.InvoiceLineItemAmountTransformationTypeEnum1 = void 0;
|
|
7
|
+
exports.InvoiceLineItemAmountTransformationTypeEnum1 = {
|
|
8
|
+
Percent: "percent",
|
|
9
|
+
Markup: "markup",
|
|
10
|
+
Margin: "margin",
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type InvoiceLineItemSortByEnum = "created_at_timestamp" | "last_edited_at_timestamp" | "description" | "quantity" | "unit_price" | "invoice_type" | "currency_code" | "line_item_type";
|
|
5
|
+
export declare const InvoiceLineItemSortByEnum: {
|
|
6
|
+
readonly CreatedAtTimestamp: "created_at_timestamp";
|
|
7
|
+
readonly LastEditedAtTimestamp: "last_edited_at_timestamp";
|
|
8
|
+
readonly Description: "description";
|
|
9
|
+
readonly Quantity: "quantity";
|
|
10
|
+
readonly UnitPrice: "unit_price";
|
|
11
|
+
readonly InvoiceType: "invoice_type";
|
|
12
|
+
readonly CurrencyCode: "currency_code";
|
|
13
|
+
readonly LineItemType: "line_item_type";
|
|
14
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
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.InvoiceLineItemSortByEnum = void 0;
|
|
7
|
+
exports.InvoiceLineItemSortByEnum = {
|
|
8
|
+
CreatedAtTimestamp: "created_at_timestamp",
|
|
9
|
+
LastEditedAtTimestamp: "last_edited_at_timestamp",
|
|
10
|
+
Description: "description",
|
|
11
|
+
Quantity: "quantity",
|
|
12
|
+
UnitPrice: "unit_price",
|
|
13
|
+
InvoiceType: "invoice_type",
|
|
14
|
+
CurrencyCode: "currency_code",
|
|
15
|
+
LineItemType: "line_item_type",
|
|
16
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
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" | "flight_cargo_booking" | "insurance" | "off_network_carrier" | "obc_day_rate" | "flight_ticket" | "tracking_device_label" | "tracking_device_tag" | "tracking_device_other" | "other";
|
|
5
|
+
export declare const InvoiceLineItemTypeEnum1: {
|
|
6
|
+
readonly BaseRate: "base_rate";
|
|
7
|
+
readonly AdditionalMileage: "additional_mileage";
|
|
8
|
+
readonly LongDistanceMileage: "long_distance_mileage";
|
|
9
|
+
readonly Fuel: "fuel";
|
|
10
|
+
readonly ExtraStop: "extra_stop";
|
|
11
|
+
readonly WaitTime: "wait_time";
|
|
12
|
+
readonly Attempt: "attempt";
|
|
13
|
+
readonly PickAndHold: "pick_and_hold";
|
|
14
|
+
readonly Parking: "parking";
|
|
15
|
+
readonly Tolls: "tolls";
|
|
16
|
+
readonly AdditionalFee: "additional_fee";
|
|
17
|
+
readonly Dispute: "dispute";
|
|
18
|
+
readonly Equipment: "equipment";
|
|
19
|
+
readonly DangerousGoods: "dangerous_goods";
|
|
20
|
+
readonly SpecialVehicle: "special_vehicle";
|
|
21
|
+
readonly AfterHours: "after_hours";
|
|
22
|
+
readonly Weekend: "weekend";
|
|
23
|
+
readonly Holiday: "holiday";
|
|
24
|
+
readonly FlightCargoBooking: "flight_cargo_booking";
|
|
25
|
+
readonly Insurance: "insurance";
|
|
26
|
+
readonly OffNetworkCarrier: "off_network_carrier";
|
|
27
|
+
readonly ObcDayRate: "obc_day_rate";
|
|
28
|
+
readonly FlightTicket: "flight_ticket";
|
|
29
|
+
readonly TrackingDeviceLabel: "tracking_device_label";
|
|
30
|
+
readonly TrackingDeviceTag: "tracking_device_tag";
|
|
31
|
+
readonly TrackingDeviceOther: "tracking_device_other";
|
|
32
|
+
readonly Other: "other";
|
|
33
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
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.InvoiceLineItemTypeEnum1 = void 0;
|
|
7
|
+
exports.InvoiceLineItemTypeEnum1 = {
|
|
8
|
+
BaseRate: "base_rate",
|
|
9
|
+
AdditionalMileage: "additional_mileage",
|
|
10
|
+
LongDistanceMileage: "long_distance_mileage",
|
|
11
|
+
Fuel: "fuel",
|
|
12
|
+
ExtraStop: "extra_stop",
|
|
13
|
+
WaitTime: "wait_time",
|
|
14
|
+
Attempt: "attempt",
|
|
15
|
+
PickAndHold: "pick_and_hold",
|
|
16
|
+
Parking: "parking",
|
|
17
|
+
Tolls: "tolls",
|
|
18
|
+
AdditionalFee: "additional_fee",
|
|
19
|
+
Dispute: "dispute",
|
|
20
|
+
Equipment: "equipment",
|
|
21
|
+
DangerousGoods: "dangerous_goods",
|
|
22
|
+
SpecialVehicle: "special_vehicle",
|
|
23
|
+
AfterHours: "after_hours",
|
|
24
|
+
Weekend: "weekend",
|
|
25
|
+
Holiday: "holiday",
|
|
26
|
+
FlightCargoBooking: "flight_cargo_booking",
|
|
27
|
+
Insurance: "insurance",
|
|
28
|
+
OffNetworkCarrier: "off_network_carrier",
|
|
29
|
+
ObcDayRate: "obc_day_rate",
|
|
30
|
+
FlightTicket: "flight_ticket",
|
|
31
|
+
TrackingDeviceLabel: "tracking_device_label",
|
|
32
|
+
TrackingDeviceTag: "tracking_device_tag",
|
|
33
|
+
TrackingDeviceOther: "tracking_device_other",
|
|
34
|
+
Other: "other",
|
|
35
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type InvoiceLineItemUnitEnum1 = "each" | "shipment" | "hour" | "day" | "mile" | "kilometer" | "pound" | "kilogram";
|
|
5
|
+
export declare const InvoiceLineItemUnitEnum1: {
|
|
6
|
+
readonly Each: "each";
|
|
7
|
+
readonly Shipment: "shipment";
|
|
8
|
+
readonly Hour: "hour";
|
|
9
|
+
readonly Day: "day";
|
|
10
|
+
readonly Mile: "mile";
|
|
11
|
+
readonly Kilometer: "kilometer";
|
|
12
|
+
readonly Pound: "pound";
|
|
13
|
+
readonly Kilogram: "kilogram";
|
|
14
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
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.InvoiceLineItemUnitEnum1 = void 0;
|
|
7
|
+
exports.InvoiceLineItemUnitEnum1 = {
|
|
8
|
+
Each: "each",
|
|
9
|
+
Shipment: "shipment",
|
|
10
|
+
Hour: "hour",
|
|
11
|
+
Day: "day",
|
|
12
|
+
Mile: "mile",
|
|
13
|
+
Kilometer: "kilometer",
|
|
14
|
+
Pound: "pound",
|
|
15
|
+
Kilogram: "kilogram",
|
|
16
|
+
};
|
|
@@ -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 InvoiceLineItemsByOrderExpandedRes {
|
|
6
|
+
counterparty_accounts: Chrt.Account1[];
|
|
7
|
+
counterparty_off_chrt_org_data: Chrt.OffChrtOrgData1[];
|
|
8
|
+
counterparty_orgs: Chrt.OrgPublicData1[];
|
|
9
|
+
invoice_line_items: Chrt.InvoiceLineItem1[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type InvoiceMergeStatusEnum1 = "draft" | "submitted" | "open" | "partially_paid" | "paid" | "void";
|
|
5
|
+
export declare const InvoiceMergeStatusEnum1: {
|
|
6
|
+
readonly Draft: "draft";
|
|
7
|
+
readonly Submitted: "submitted";
|
|
8
|
+
readonly Open: "open";
|
|
9
|
+
readonly PartiallyPaid: "partially_paid";
|
|
10
|
+
readonly Paid: "paid";
|
|
11
|
+
readonly Void: "void";
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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.InvoiceMergeStatusEnum1 = void 0;
|
|
7
|
+
exports.InvoiceMergeStatusEnum1 = {
|
|
8
|
+
Draft: "draft",
|
|
9
|
+
Submitted: "submitted",
|
|
10
|
+
Open: "open",
|
|
11
|
+
PartiallyPaid: "partially_paid",
|
|
12
|
+
Paid: "paid",
|
|
13
|
+
Void: "void",
|
|
14
|
+
};
|