@chrt-inc/typescript-sdk 1.756.0 → 1.762.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/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +2 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +16 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +65 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.d.ts +13 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/client/Client.js +7 -2
- package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.d.ts +106 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.js +384 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/index.js +17 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.ts +15 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.ts +12 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/index.js +17 -0
- package/dist/cjs/api/resources/shipping/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/shipping/client/Client.js +18 -8
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +102 -1
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +439 -1
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientCreate1.d.ts +18 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientUpdate1.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListSelfReportedHoursAndMileageV1Request.d.ts +21 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversOrgListSelfReportedHoursAndMileageV1Request.d.ts +25 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/index.js +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/types/DriversOrgListSelfReportedHoursAndMileageV1RequestSortBy.d.ts +8 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/types/DriversOrgListSelfReportedHoursAndMileageV1RequestSortBy.js +10 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/types/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/flights/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/flights/client/Client.js +2 -2
- package/dist/cjs/api/resources/shipping/resources/index.d.ts +6 -1
- package/dist/cjs/api/resources/shipping/resources/index.js +7 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.d.ts +13 -19
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.js +41 -47
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +2 -1
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/Client.d.ts +142 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/Client.js +530 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.ts +16 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.ts +12 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.d.ts +30 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderGroups/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +7 -4
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +7 -2
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.ts +73 -0
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.js +252 -0
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.d.ts +32 -0
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.ts +23 -0
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +2 -1
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +75 -0
- package/dist/cjs/api/resources/tracking/resources/driver/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/driver/client/index.js +15 -0
- package/dist/cjs/api/resources/tracking/resources/driver/client/requests/DriverByDriverDataPointClientCreate1.d.ts +26 -0
- package/dist/cjs/api/resources/tracking/resources/driver/client/requests/DriverByDriverDataPointClientCreate1.js +5 -0
- package/dist/cjs/api/resources/tracking/resources/driver/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/driver/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tracking/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/index.js +1 -0
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +1 -1
- package/dist/cjs/api/types/BillingReviewStatusEnum.d.ts +15 -0
- package/dist/cjs/api/types/BillingReviewStatusEnum.js +12 -0
- package/dist/cjs/api/types/Case1.d.ts +1 -0
- package/dist/cjs/api/types/DriverSelfReportedHoursAndMileage1.d.ts +17 -0
- package/dist/cjs/api/types/DriverSelfReportedHoursAndMileage1.js +5 -0
- package/dist/cjs/api/types/DriverSelfReportedHoursAndMileageListRes.d.ts +8 -0
- package/dist/cjs/api/types/DriverSelfReportedHoursAndMileageListRes.js +5 -0
- package/dist/cjs/api/types/DriverStatsRes.d.ts +8 -3
- package/dist/cjs/api/types/DriverUpdateRes.d.ts +1 -0
- package/dist/cjs/api/types/FlightLeg1.d.ts +1 -1
- package/dist/cjs/api/types/FlightLegClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/{FlightTrackPosition.d.ts → FlightTrackPosition1.d.ts} +1 -4
- package/dist/cjs/api/types/FlightTrackPosition1.js +5 -0
- package/dist/cjs/api/types/FlightTrackRes.d.ts +2 -2
- package/dist/cjs/api/types/{FlightTrackWaypoint.d.ts → FlightTrackWaypoint1.d.ts} +1 -4
- package/dist/cjs/api/types/FlightTrackWaypoint1.js +5 -0
- package/dist/cjs/api/types/{InternalDelegationTokenReq.d.ts → InternalDelegationJwtReq.d.ts} +2 -2
- package/dist/cjs/api/types/InternalDelegationJwtReq.js +5 -0
- package/dist/{esm/api/types/InternalDelegationTokenRes.d.mts → cjs/api/types/InternalDelegationJwtRes.d.ts} +1 -1
- package/dist/cjs/api/types/InternalDelegationJwtRes.js +5 -0
- package/dist/cjs/api/types/LineItemGroup1.d.ts +3 -0
- package/dist/cjs/api/types/OffChrtVendor1.d.ts +13 -0
- package/dist/cjs/api/types/OffChrtVendor1.js +5 -0
- package/dist/cjs/api/types/OffChrtVendorListRes.d.ts +8 -0
- package/dist/cjs/api/types/OffChrtVendorListRes.js +5 -0
- package/dist/cjs/api/types/Order1.d.ts +2 -0
- package/dist/cjs/api/types/OrderBuilderReq.d.ts +3 -2
- package/dist/cjs/api/types/OrderBuilderRes.d.ts +2 -2
- package/dist/cjs/api/types/OrderGroup1.d.ts +21 -0
- package/dist/cjs/api/types/OrderGroup1.js +5 -0
- package/dist/cjs/api/types/OrderGroupExpandedListRes.d.ts +8 -0
- package/dist/cjs/api/types/OrderGroupExpandedListRes.js +5 -0
- package/dist/cjs/api/types/OrderGroupExpandedRow.d.ts +9 -0
- package/dist/cjs/api/types/OrderGroupExpandedRow.js +5 -0
- package/dist/cjs/api/types/OrderGroupExpandedSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/OrderGroupExpandedSortByEnum.js +12 -0
- package/dist/cjs/api/types/OrderGroupListRes.d.ts +8 -0
- package/dist/cjs/api/types/OrderGroupListRes.js +5 -0
- package/dist/cjs/api/types/OrderGroupSortByEnum.d.ts +9 -0
- package/dist/cjs/api/types/OrderGroupSortByEnum.js +11 -0
- package/dist/cjs/api/types/OrderTemplate1.d.ts +7 -4
- package/dist/cjs/api/types/OrderTemplateCore1.d.ts +21 -0
- package/dist/cjs/api/types/OrderTemplateCore1.js +5 -0
- package/dist/cjs/api/types/{OrderTemplateExpanded.d.ts → OrderTemplateExpanded1.d.ts} +4 -4
- package/dist/cjs/api/types/OrderTemplateExpanded1.js +5 -0
- package/dist/{esm/api/types/OrderTemplateOrgRef1.d.mts → cjs/api/types/OrderTemplateOrgInfo1.d.ts} +1 -1
- package/dist/cjs/api/types/OrderTemplateOrgInfo1.js +5 -0
- package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +10 -0
- package/dist/cjs/api/types/OrderTemplateResolvabilityRes.js +5 -0
- package/dist/cjs/api/types/ShippingTurnClientCreate1.d.ts +16 -0
- package/dist/cjs/api/types/ShippingTurnClientCreate1.js +5 -0
- package/dist/cjs/api/types/Statement1.d.ts +3 -0
- package/dist/cjs/api/types/UngroupedOrderListRes.d.ts +8 -0
- package/dist/cjs/api/types/UngroupedOrderListRes.js +5 -0
- package/dist/cjs/api/types/UngroupedOrderRow.d.ts +8 -0
- package/dist/cjs/api/types/UngroupedOrderRow.js +5 -0
- package/dist/cjs/api/types/UngroupedOrderSortByEnum.d.ts +11 -0
- package/dist/cjs/api/types/UngroupedOrderSortByEnum.js +13 -0
- package/dist/cjs/api/types/{WorkflowActorContext.d.ts → WorkflowActor.d.ts} +1 -1
- package/dist/cjs/api/types/WorkflowActor.js +5 -0
- package/dist/cjs/api/types/index.d.ts +24 -8
- package/dist/cjs/api/types/index.js +24 -8
- 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/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +2 -0
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +16 -0
- package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +65 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.d.mts +13 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/orgs/client/Client.mjs +5 -0
- package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.d.mts +106 -0
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.mjs +347 -0
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.mts +15 -0
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.mts +12 -0
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.mts +14 -0
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/shipping/client/Client.mjs +10 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +102 -1
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +439 -1
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientCreate1.d.mts +18 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientUpdate1.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListSelfReportedHoursAndMileageV1Request.d.mts +21 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversOrgListSelfReportedHoursAndMileageV1Request.d.mts +25 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/drivers/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/types/DriversOrgListSelfReportedHoursAndMileageV1RequestSortBy.d.mts +8 -0
- package/dist/esm/api/resources/shipping/resources/drivers/types/DriversOrgListSelfReportedHoursAndMileageV1RequestSortBy.mjs +7 -0
- package/dist/esm/api/resources/shipping/resources/drivers/types/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/types/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/flights/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/flights/client/Client.mjs +2 -2
- package/dist/esm/api/resources/shipping/resources/index.d.mts +6 -1
- package/dist/esm/api/resources/shipping/resources/index.mjs +6 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +5 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.d.mts +13 -19
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.mjs +41 -47
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +2 -1
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/Client.d.mts +142 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/Client.mjs +493 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.mts +16 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.mts +12 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.d.mts +30 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderGroups/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +2 -2
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +7 -4
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +7 -2
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.mts +73 -0
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.mjs +215 -0
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.d.mts +32 -0
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.mts +23 -0
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +2 -1
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +75 -0
- package/dist/esm/api/resources/tracking/resources/driver/client/index.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/driver/client/index.mjs +1 -1
- package/dist/esm/api/resources/tracking/resources/driver/client/requests/DriverByDriverDataPointClientCreate1.d.mts +26 -0
- package/dist/esm/api/resources/tracking/resources/driver/client/requests/DriverByDriverDataPointClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/tracking/resources/driver/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/driver/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +1 -1
- package/dist/esm/api/types/BillingReviewStatusEnum.d.mts +15 -0
- package/dist/esm/api/types/BillingReviewStatusEnum.mjs +9 -0
- package/dist/esm/api/types/Case1.d.mts +1 -0
- package/dist/esm/api/types/DriverSelfReportedHoursAndMileage1.d.mts +17 -0
- package/dist/esm/api/types/DriverSelfReportedHoursAndMileage1.mjs +4 -0
- package/dist/esm/api/types/DriverSelfReportedHoursAndMileageListRes.d.mts +8 -0
- package/dist/esm/api/types/DriverSelfReportedHoursAndMileageListRes.mjs +4 -0
- package/dist/esm/api/types/DriverStatsRes.d.mts +8 -3
- package/dist/esm/api/types/DriverUpdateRes.d.mts +1 -0
- package/dist/esm/api/types/FlightLeg1.d.mts +1 -1
- package/dist/esm/api/types/FlightLegClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/{FlightTrackPosition.d.mts → FlightTrackPosition1.d.mts} +1 -4
- package/dist/esm/api/types/FlightTrackPosition1.mjs +4 -0
- package/dist/esm/api/types/FlightTrackRes.d.mts +2 -2
- package/dist/esm/api/types/{FlightTrackWaypoint.d.mts → FlightTrackWaypoint1.d.mts} +1 -4
- package/dist/esm/api/types/FlightTrackWaypoint1.mjs +4 -0
- package/dist/esm/api/types/{InternalDelegationTokenReq.d.mts → InternalDelegationJwtReq.d.mts} +2 -2
- package/dist/esm/api/types/InternalDelegationJwtReq.mjs +4 -0
- package/dist/{cjs/api/types/InternalDelegationTokenRes.d.ts → esm/api/types/InternalDelegationJwtRes.d.mts} +1 -1
- package/dist/esm/api/types/InternalDelegationJwtRes.mjs +4 -0
- package/dist/esm/api/types/LineItemGroup1.d.mts +3 -0
- package/dist/esm/api/types/OffChrtVendor1.d.mts +13 -0
- package/dist/esm/api/types/OffChrtVendor1.mjs +4 -0
- package/dist/esm/api/types/OffChrtVendorListRes.d.mts +8 -0
- package/dist/esm/api/types/OffChrtVendorListRes.mjs +4 -0
- package/dist/esm/api/types/Order1.d.mts +2 -0
- package/dist/esm/api/types/OrderBuilderReq.d.mts +3 -2
- package/dist/esm/api/types/OrderBuilderRes.d.mts +2 -2
- package/dist/esm/api/types/OrderGroup1.d.mts +21 -0
- package/dist/esm/api/types/OrderGroup1.mjs +4 -0
- package/dist/esm/api/types/OrderGroupExpandedListRes.d.mts +8 -0
- package/dist/esm/api/types/OrderGroupExpandedListRes.mjs +4 -0
- package/dist/esm/api/types/OrderGroupExpandedRow.d.mts +9 -0
- package/dist/esm/api/types/OrderGroupExpandedRow.mjs +4 -0
- package/dist/esm/api/types/OrderGroupExpandedSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/OrderGroupExpandedSortByEnum.mjs +9 -0
- package/dist/esm/api/types/OrderGroupListRes.d.mts +8 -0
- package/dist/esm/api/types/OrderGroupListRes.mjs +4 -0
- package/dist/esm/api/types/OrderGroupSortByEnum.d.mts +9 -0
- package/dist/esm/api/types/OrderGroupSortByEnum.mjs +8 -0
- package/dist/esm/api/types/OrderTemplate1.d.mts +7 -4
- package/dist/esm/api/types/OrderTemplateCore1.d.mts +21 -0
- package/dist/esm/api/types/OrderTemplateCore1.mjs +4 -0
- package/dist/esm/api/types/{OrderTemplateExpanded.d.mts → OrderTemplateExpanded1.d.mts} +4 -4
- package/dist/esm/api/types/OrderTemplateExpanded1.mjs +4 -0
- package/dist/{cjs/api/types/OrderTemplateOrgRef1.d.ts → esm/api/types/OrderTemplateOrgInfo1.d.mts} +1 -1
- package/dist/esm/api/types/OrderTemplateOrgInfo1.mjs +4 -0
- package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +10 -0
- package/dist/esm/api/types/OrderTemplateResolvabilityRes.mjs +4 -0
- package/dist/esm/api/types/ShippingTurnClientCreate1.d.mts +16 -0
- package/dist/esm/api/types/ShippingTurnClientCreate1.mjs +4 -0
- package/dist/esm/api/types/Statement1.d.mts +3 -0
- package/dist/esm/api/types/UngroupedOrderListRes.d.mts +8 -0
- package/dist/esm/api/types/UngroupedOrderListRes.mjs +4 -0
- package/dist/esm/api/types/UngroupedOrderRow.d.mts +8 -0
- package/dist/esm/api/types/UngroupedOrderRow.mjs +4 -0
- package/dist/esm/api/types/UngroupedOrderSortByEnum.d.mts +11 -0
- package/dist/esm/api/types/UngroupedOrderSortByEnum.mjs +10 -0
- package/dist/esm/api/types/{WorkflowActorContext.d.mts → WorkflowActor.d.mts} +1 -1
- package/dist/esm/api/types/WorkflowActor.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +24 -8
- package/dist/esm/api/types/index.mjs +24 -8
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1909 -369
- package/dist/cjs/api/types/OrderBuilderPrecheckRes.d.ts +0 -7
- package/dist/esm/api/types/OrderBuilderPrecheckRes.d.mts +0 -7
- /package/dist/cjs/api/{types/FlightTrackPosition.js → resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.js} +0 -0
- /package/dist/cjs/api/{types/FlightTrackWaypoint.js → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/InternalDelegationTokenReq.js → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/InternalDelegationTokenRes.js → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.js} +0 -0
- /package/dist/cjs/api/{types/OrderBuilderPrecheckRes.js → resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/OrderTemplateExpanded.js → resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/OrderTemplateOrgRef1.js → resources/shipping/resources/drivers/client/requests/DriversListSelfReportedHoursAndMileageV1Request.js} +0 -0
- /package/dist/cjs/api/{types/WorkflowActorContext.js → resources/shipping/resources/drivers/client/requests/DriversOrgListSelfReportedHoursAndMileageV1Request.js} +0 -0
- /package/dist/esm/api/{types/FlightTrackPosition.mjs → resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.mjs} +0 -0
- /package/dist/esm/api/{types/FlightTrackWaypoint.mjs → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/InternalDelegationTokenReq.mjs → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/InternalDelegationTokenRes.mjs → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/OrderBuilderPrecheckRes.mjs → resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/OrderTemplateExpanded.mjs → resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/OrderTemplateOrgRef1.mjs → resources/shipping/resources/drivers/client/requests/DriversListSelfReportedHoursAndMileageV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/WorkflowActorContext.mjs → resources/shipping/resources/drivers/client/requests/DriversOrgListSelfReportedHoursAndMileageV1Request.mjs} +0 -0
|
@@ -4,5 +4,6 @@ export * as sessions from "./sessions/index.mjs";
|
|
|
4
4
|
export * as sharingSettings from "./sharingSettings/index.mjs";
|
|
5
5
|
export * as timeseries from "./timeseries/index.mjs";
|
|
6
6
|
export * from "./devices/client/requests/index.mjs";
|
|
7
|
+
export * from "./driver/client/requests/index.mjs";
|
|
7
8
|
export * from "./sessions/client/requests/index.mjs";
|
|
8
9
|
export * from "./sharingSettings/client/requests/index.mjs";
|
|
@@ -99,7 +99,7 @@ export declare class Sessions {
|
|
|
99
99
|
typeaheadV1(request: Chrt.tracking.SessionsTypeaheadV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.TrackingTypeaheadResult[]>;
|
|
100
100
|
private __typeaheadV1;
|
|
101
101
|
/**
|
|
102
|
-
* Creates a new tracking session for a device and automatically starts recording data points. The caller must be the device owner or belong to an org the device is shared with. The device owner remains the session owner (org_id). The device's shared_with_org_ids are copied to the session. The device must not have an active session. Auto-termination is scheduled for ~
|
|
102
|
+
* Creates a new tracking session for a device and automatically starts recording data points. The caller must be the device owner or belong to an org the device is shared with. The device owner remains the session owner (org_id). The device's shared_with_org_ids are copied to the session. The device must not have an active session. Auto-termination is scheduled for ~1 week out at 8 PM PT. Prevent auto termination with `no_auto_termination=True` | auth: api_key | (SessionClientCreate1) -> (PydanticObjectId)
|
|
103
103
|
*
|
|
104
104
|
* @param {Chrt.tracking.SessionClientCreate1} request
|
|
105
105
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -317,7 +317,7 @@ export class Sessions {
|
|
|
317
317
|
});
|
|
318
318
|
}
|
|
319
319
|
/**
|
|
320
|
-
* Creates a new tracking session for a device and automatically starts recording data points. The caller must be the device owner or belong to an org the device is shared with. The device owner remains the session owner (org_id). The device's shared_with_org_ids are copied to the session. The device must not have an active session. Auto-termination is scheduled for ~
|
|
320
|
+
* Creates a new tracking session for a device and automatically starts recording data points. The caller must be the device owner or belong to an org the device is shared with. The device owner remains the session owner (org_id). The device's shared_with_org_ids are copied to the session. The device must not have an active session. Auto-termination is scheduled for ~1 week out at 8 PM PT. Prevent auto termination with `no_auto_termination=True` | auth: api_key | (SessionClientCreate1) -> (PydanticObjectId)
|
|
321
321
|
*
|
|
322
322
|
* @param {Chrt.tracking.SessionClientCreate1} request
|
|
323
323
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Operator-driven billing-review flag for an OrderGroup (group-level) or a
|
|
6
|
+
* Case (per-order, per-org). Distinct from the derived billing *settlement*
|
|
7
|
+
* state - this is a manual triage status the operator flips.
|
|
8
|
+
*/
|
|
9
|
+
export type BillingReviewStatusEnum = "not_started" | "in_progress" | "disputed" | "completed";
|
|
10
|
+
export declare const BillingReviewStatusEnum: {
|
|
11
|
+
readonly NotStarted: "not_started";
|
|
12
|
+
readonly InProgress: "in_progress";
|
|
13
|
+
readonly Disputed: "disputed";
|
|
14
|
+
readonly Completed: "completed";
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface DriverSelfReportedHoursAndMileage1 {
|
|
5
|
+
schema_version: number;
|
|
6
|
+
driver_id: string;
|
|
7
|
+
date: string;
|
|
8
|
+
hours_worked?: number | null;
|
|
9
|
+
miles_driven?: number | null;
|
|
10
|
+
/** Must be a string starting with `org_` */
|
|
11
|
+
org_id: string;
|
|
12
|
+
created_at_timestamp: string;
|
|
13
|
+
/** Must be a string starting with `user_` */
|
|
14
|
+
created_by_user_id: string;
|
|
15
|
+
updated_at: string;
|
|
16
|
+
_id: string;
|
|
17
|
+
}
|
|
@@ -5,7 +5,12 @@ import * as Chrt from "../index.mjs";
|
|
|
5
5
|
export interface DriverStatsRes {
|
|
6
6
|
task_groups: Chrt.TaskGroup1[];
|
|
7
7
|
excluded_task_groups: Chrt.TaskGroup1[];
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
/** Summed from task group in-progress intervals merged to eliminate double-counting of overlapping task groups. */
|
|
9
|
+
deduped_task_group_driver_hours: number;
|
|
10
|
+
overlapping_task_groups_detected: boolean;
|
|
11
|
+
/** Total mileage recorded for this driver across all tracked pings that fall within the requested query window. Independent of task group filtering or deduplication. i.e. includes pings inside and outside of task group time windows */
|
|
12
|
+
total_driver_mileage_tracked?: number | null;
|
|
13
|
+
/** Total mileage from pings that fall within task group in-progress merged intervals. i.e. excludes pings outside of merged task group time windows */
|
|
14
|
+
deduped_task_group_driver_mileage_tracked?: number | null;
|
|
15
|
+
self_reported_hours_and_mileage?: Chrt.DriverSelfReportedHoursAndMileage1[];
|
|
11
16
|
}
|
|
@@ -12,7 +12,7 @@ export interface FlightLeg1 {
|
|
|
12
12
|
origin_iata: string;
|
|
13
13
|
destination_iata: string;
|
|
14
14
|
scheduled_departure_utc: string;
|
|
15
|
-
carrier_iata
|
|
15
|
+
carrier_iata: string;
|
|
16
16
|
carrier_icao?: string | null;
|
|
17
17
|
scheduled_arrival_utc?: string | null;
|
|
18
18
|
cirium_flight_id?: number | null;
|
|
@@ -9,7 +9,7 @@ export interface FlightLegClientCreate1 {
|
|
|
9
9
|
origin_iata: string;
|
|
10
10
|
destination_iata: string;
|
|
11
11
|
scheduled_departure_utc: string;
|
|
12
|
-
carrier_iata
|
|
12
|
+
carrier_iata: string;
|
|
13
13
|
carrier_icao?: string | null;
|
|
14
14
|
scheduled_arrival_utc?: string | null;
|
|
15
15
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
* A single reported (or derived) aircraft position along the flown trail.
|
|
6
|
-
*/
|
|
7
|
-
export interface FlightTrackPosition {
|
|
4
|
+
export interface FlightTrackPosition1 {
|
|
8
5
|
lat?: number | null;
|
|
9
6
|
lon?: number | null;
|
|
10
7
|
altitude_ft?: number | null;
|
|
@@ -13,8 +13,8 @@ import * as Chrt from "../index.mjs";
|
|
|
13
13
|
*/
|
|
14
14
|
export interface FlightTrackRes {
|
|
15
15
|
cirium_flight_id?: number | null;
|
|
16
|
-
positions?: Chrt.
|
|
17
|
-
waypoints?: Chrt.
|
|
16
|
+
positions?: Chrt.FlightTrackPosition1[];
|
|
17
|
+
waypoints?: Chrt.FlightTrackWaypoint1[];
|
|
18
18
|
legacy_route?: string | null;
|
|
19
19
|
bearing?: number | null;
|
|
20
20
|
heading?: number | null;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
* A lat/lon point on the published flight plan (the planned path).
|
|
6
|
-
*/
|
|
7
|
-
export interface FlightTrackWaypoint {
|
|
4
|
+
export interface FlightTrackWaypoint1 {
|
|
8
5
|
lat?: number | null;
|
|
9
6
|
lon?: number | null;
|
|
10
7
|
}
|
package/dist/esm/api/types/{InternalDelegationTokenReq.d.mts → InternalDelegationJwtReq.d.mts}
RENAMED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
|
-
export interface
|
|
5
|
+
export interface InternalDelegationJwtReq {
|
|
6
6
|
sts_presigned_url: string;
|
|
7
|
-
|
|
7
|
+
workflow_actor: Chrt.WorkflowActor;
|
|
8
8
|
expires_in_seconds: number;
|
|
9
9
|
}
|
|
@@ -28,6 +28,8 @@ export interface LineItemGroup1 {
|
|
|
28
28
|
order_short_id?: string | null;
|
|
29
29
|
/** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
|
|
30
30
|
order_off_chrt_reference_id?: string | null;
|
|
31
|
+
order_group_id?: string | null;
|
|
32
|
+
order_group_short_id?: string | null;
|
|
31
33
|
rate_sheet_id?: string | null;
|
|
32
34
|
agreement_line_item_ids?: string[];
|
|
33
35
|
agreement_amount?: number;
|
|
@@ -49,6 +51,7 @@ export interface LineItemGroup1 {
|
|
|
49
51
|
payment_destination_org_id?: string | null;
|
|
50
52
|
payment_destination_off_chrt_provider_org_id?: string | null;
|
|
51
53
|
payment_destination_driver_id?: string | null;
|
|
54
|
+
payment_destination_off_chrt_vendor_id?: string | null;
|
|
52
55
|
status?: Chrt.LineItemGroupStatusEnum1;
|
|
53
56
|
finalized_at_timestamp?: string | null;
|
|
54
57
|
/** Must be a string starting with `user_` */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface OffChrtVendor1 {
|
|
5
|
+
schema_version: number;
|
|
6
|
+
name: string;
|
|
7
|
+
notes?: string | null;
|
|
8
|
+
_id: string;
|
|
9
|
+
/** Must be a string starting with `org_` */
|
|
10
|
+
created_by_org_id: string;
|
|
11
|
+
/** Must be a string starting with `user_` */
|
|
12
|
+
created_by_user_id: string;
|
|
13
|
+
}
|
|
@@ -12,6 +12,8 @@ export interface Order1 {
|
|
|
12
12
|
order_schedule_id?: string | null;
|
|
13
13
|
order_schedule_run_idempotency_key?: string | null;
|
|
14
14
|
order_template_id?: string | null;
|
|
15
|
+
/** Client-supplied key for use by agentic order builder */
|
|
16
|
+
creation_idempotency_key?: string | null;
|
|
15
17
|
/** Must be a string starting with `user_` */
|
|
16
18
|
created_by_user_id?: string | null;
|
|
17
19
|
/** Must be a string starting with `org_` */
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
4
5
|
export interface OrderBuilderReq {
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
order_template_core?: Chrt.OrderTemplateCore1 | null;
|
|
7
|
+
order_template_id?: string | null;
|
|
7
8
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface OrderBuilderRes {
|
|
5
|
-
order_id
|
|
6
|
-
order_short_id
|
|
5
|
+
order_id?: string | null;
|
|
6
|
+
order_short_id?: string | null;
|
|
7
7
|
summary: string;
|
|
8
8
|
validation_passed?: boolean;
|
|
9
9
|
validation_issues?: string[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface OrderGroup1 {
|
|
6
|
+
schema_version: number;
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string | null;
|
|
9
|
+
_id: string;
|
|
10
|
+
short_id: string;
|
|
11
|
+
order_ids?: string[];
|
|
12
|
+
/** Must be a string starting with `org_` */
|
|
13
|
+
owned_by_org_id: string;
|
|
14
|
+
billing_review_status?: Chrt.BillingReviewStatusEnum;
|
|
15
|
+
/** Must be a string starting with `user_` */
|
|
16
|
+
created_by_user_id: string;
|
|
17
|
+
/** Must be a string starting with `org_` */
|
|
18
|
+
created_by_org_id: string;
|
|
19
|
+
created_at_timestamp: string;
|
|
20
|
+
last_edited_at_timestamp: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface OrderGroupExpandedRow {
|
|
6
|
+
order_group: Chrt.OrderGroup1;
|
|
7
|
+
orders: Chrt.Order1[];
|
|
8
|
+
shipping_status?: Chrt.OrderStatusEnum1 | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type OrderGroupExpandedSortByEnum = "created_at_timestamp" | "last_edited_at_timestamp" | "name" | "billing_review_status";
|
|
5
|
+
export declare const OrderGroupExpandedSortByEnum: {
|
|
6
|
+
readonly CreatedAtTimestamp: "created_at_timestamp";
|
|
7
|
+
readonly LastEditedAtTimestamp: "last_edited_at_timestamp";
|
|
8
|
+
readonly Name: "name";
|
|
9
|
+
readonly BillingReviewStatus: "billing_review_status";
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export const OrderGroupExpandedSortByEnum = {
|
|
5
|
+
CreatedAtTimestamp: "created_at_timestamp",
|
|
6
|
+
LastEditedAtTimestamp: "last_edited_at_timestamp",
|
|
7
|
+
Name: "name",
|
|
8
|
+
BillingReviewStatus: "billing_review_status",
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type OrderGroupSortByEnum = "created_at_timestamp" | "last_edited_at_timestamp" | "name";
|
|
5
|
+
export declare const OrderGroupSortByEnum: {
|
|
6
|
+
readonly CreatedAtTimestamp: "created_at_timestamp";
|
|
7
|
+
readonly LastEditedAtTimestamp: "last_edited_at_timestamp";
|
|
8
|
+
readonly Name: "name";
|
|
9
|
+
};
|
|
@@ -3,16 +3,19 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface OrderTemplate1 {
|
|
5
5
|
schema_version: number;
|
|
6
|
-
|
|
7
|
-
description?: string | null;
|
|
8
|
-
order_input?: string | null;
|
|
9
|
-
off_chrt_reference_id_str?: string | null;
|
|
6
|
+
text?: string | null;
|
|
10
7
|
/** Must be a string starting with `org_` */
|
|
11
8
|
shipper_org_id?: string | null;
|
|
12
9
|
off_chrt_shipper_org_id?: string | null;
|
|
13
10
|
executor_org_ids?: string[];
|
|
14
11
|
driver_ids?: string[];
|
|
15
12
|
directory_entry_ids?: string[];
|
|
13
|
+
/** Must be a string starting with `org_` */
|
|
14
|
+
coordinator_org_id?: string | null;
|
|
15
|
+
department_id?: string | null;
|
|
16
|
+
name: string;
|
|
17
|
+
description?: string | null;
|
|
18
|
+
off_chrt_reference_id_str?: string | null;
|
|
16
19
|
_id: string;
|
|
17
20
|
/** Must be a string starting with `user_` */
|
|
18
21
|
owned_by_user_id: string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Shared seed of an order build: the order text + long-lived references. Reused by the library template (OrderTemplateBase1) and the ad-hoc kickoff payload so the fields the builder seeds from can't drift. (Mirrors TaskCore1.)
|
|
6
|
+
*
|
|
7
|
+
* NOTE - some fields have multiple values and must be properly mapped to an entity by the order builder, e.g. for `driver_ids` each resolves to a single task group
|
|
8
|
+
*/
|
|
9
|
+
export interface OrderTemplateCore1 {
|
|
10
|
+
schema_version: number;
|
|
11
|
+
text?: string | null;
|
|
12
|
+
/** Must be a string starting with `org_` */
|
|
13
|
+
shipper_org_id?: string | null;
|
|
14
|
+
off_chrt_shipper_org_id?: string | null;
|
|
15
|
+
executor_org_ids?: string[];
|
|
16
|
+
driver_ids?: string[];
|
|
17
|
+
directory_entry_ids?: string[];
|
|
18
|
+
/** Must be a string starting with `org_` */
|
|
19
|
+
coordinator_org_id?: string | null;
|
|
20
|
+
department_id?: string | null;
|
|
21
|
+
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
|
-
export interface
|
|
6
|
-
|
|
7
|
-
shipper_org?: Chrt.OrderTemplateOrgRef1 | null;
|
|
5
|
+
export interface OrderTemplateExpanded1 {
|
|
6
|
+
shipper_org?: Chrt.OrderTemplateOrgInfo1 | null;
|
|
8
7
|
off_chrt_shipper_org?: Chrt.OffChrtShipperOrg1 | null;
|
|
9
|
-
executor_orgs?: Chrt.
|
|
8
|
+
executor_orgs?: Chrt.OrderTemplateOrgInfo1[];
|
|
10
9
|
drivers?: Chrt.Driver1[];
|
|
11
10
|
directory_entries?: Chrt.DirectoryEntry1[];
|
|
11
|
+
order_template: Chrt.OrderTemplate1;
|
|
12
12
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface OrderTemplateResolvabilityRes {
|
|
5
|
+
valid: boolean;
|
|
6
|
+
unresolvable_off_chrt_shipper?: boolean;
|
|
7
|
+
unresolvable_driver_ids?: string[];
|
|
8
|
+
unresolvable_directory_entry_ids?: string[];
|
|
9
|
+
unresolvable_coordinator?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface ShippingTurnClientCreate1 {
|
|
5
|
+
text?: string | null;
|
|
6
|
+
/** Must be a string starting with `org_` */
|
|
7
|
+
shipper_org_id?: string | null;
|
|
8
|
+
off_chrt_shipper_org_id?: string | null;
|
|
9
|
+
executor_org_ids?: string[];
|
|
10
|
+
driver_ids?: string[];
|
|
11
|
+
directory_entry_ids?: string[];
|
|
12
|
+
cargo_ids?: string[];
|
|
13
|
+
task_ids?: string[];
|
|
14
|
+
task_group_ids?: string[];
|
|
15
|
+
task_artifact_ids?: string[];
|
|
16
|
+
}
|
|
@@ -10,6 +10,8 @@ export interface Statement1 {
|
|
|
10
10
|
order_ids?: string[];
|
|
11
11
|
order_short_ids?: string[];
|
|
12
12
|
order_off_chrt_reference_ids?: string[];
|
|
13
|
+
order_group_id?: string | null;
|
|
14
|
+
order_group_short_id?: string | null;
|
|
13
15
|
amount?: number | null;
|
|
14
16
|
units?: Chrt.UnitsEnum;
|
|
15
17
|
/** Must be a string starting with `user_` */
|
|
@@ -24,6 +26,7 @@ export interface Statement1 {
|
|
|
24
26
|
payment_destination_org_id?: string | null;
|
|
25
27
|
payment_destination_off_chrt_provider_org_id?: string | null;
|
|
26
28
|
payment_destination_driver_id?: string | null;
|
|
29
|
+
payment_destination_off_chrt_vendor_id?: string | null;
|
|
27
30
|
status?: Chrt.StatementStatusEnum1;
|
|
28
31
|
stripe_invoice_id?: string | null;
|
|
29
32
|
stripe_invoice_url?: string | null;
|