@chrt-inc/typescript-sdk 1.760.0 → 1.772.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/notifications/resources/adHoc/client/Client.d.ts +36 -2
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.js +138 -1
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/AdHocListBySessionIdV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/index.d.ts +1 -1
- 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/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 +4 -0
- package/dist/cjs/api/resources/shipping/resources/index.js +5 -1
- 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/requests/OrderDraftAddTaskGroupReq.d.ts +1 -0
- 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/OrderGroupClientUpdate1.d.ts +12 -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/tracking/resources/sessions/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +2 -2
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +3 -0
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.ts +4 -0
- 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/{InternalDelegationTokenReq.d.ts → InternalDelegationJwtReq.d.ts} +2 -2
- package/dist/cjs/api/types/InternalDelegationJwtReq.js +5 -0
- package/dist/cjs/api/types/{InternalDelegationTokenRes.d.ts → 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/NotificationEventsForAdHocEnum.d.ts +4 -3
- package/dist/cjs/api/types/NotificationEventsForAdHocEnum.js +1 -0
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +2 -1
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +1 -0
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +2 -1
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +1 -0
- package/dist/cjs/api/types/NotificationIntentAdHoc1.d.ts +2 -1
- package/dist/cjs/api/{resources/notifications/resources/adHoc/client/requests → types}/NotificationIntentAdHocClientCreate1.d.ts +1 -8
- package/dist/cjs/api/types/NotificationIntentAdHocClientCreate1.js +5 -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/OnboardCourierTaskActionEnum1.d.ts +1 -11
- package/dist/cjs/api/types/OnboardCourierTaskActionEnum1.js +0 -10
- 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/Session1.d.ts +3 -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/TaskGroup1.d.ts +1 -0
- package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.ts +10 -0
- package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.js +5 -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 +22 -6
- package/dist/cjs/api/types/index.js +22 -6
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/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/notifications/resources/adHoc/client/Client.d.mts +36 -2
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.mjs +138 -1
- package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/AdHocListBySessionIdV1Request.d.mts +14 -0
- package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/index.d.mts +1 -1
- 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/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 +4 -0
- package/dist/esm/api/resources/shipping/resources/index.mjs +4 -0
- 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/requests/OrderDraftAddTaskGroupReq.d.mts +1 -0
- 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/OrderGroupClientUpdate1.d.mts +12 -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/tracking/resources/sessions/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +2 -2
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +3 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.mts +4 -0
- 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/{InternalDelegationTokenReq.d.mts → InternalDelegationJwtReq.d.mts} +2 -2
- package/dist/esm/api/types/InternalDelegationJwtReq.mjs +4 -0
- package/dist/esm/api/types/{InternalDelegationTokenRes.d.mts → 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/NotificationEventsForAdHocEnum.d.mts +4 -3
- package/dist/esm/api/types/NotificationEventsForAdHocEnum.mjs +1 -0
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +2 -1
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +1 -0
- package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +2 -1
- package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +1 -0
- package/dist/esm/api/types/NotificationIntentAdHoc1.d.mts +2 -1
- package/dist/esm/api/{resources/notifications/resources/adHoc/client/requests → types}/NotificationIntentAdHocClientCreate1.d.mts +1 -8
- package/dist/esm/api/types/NotificationIntentAdHocClientCreate1.mjs +4 -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/OnboardCourierTaskActionEnum1.d.mts +1 -11
- package/dist/esm/api/types/OnboardCourierTaskActionEnum1.mjs +0 -10
- 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/Session1.d.mts +3 -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/TaskGroup1.d.mts +1 -0
- package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.mts +10 -0
- package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.mjs +4 -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 +22 -6
- package/dist/esm/api/types/index.mjs +22 -6
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1650 -478
- package/dist/cjs/api/types/OrderBuilderPrecheckRes.d.ts +0 -7
- package/dist/esm/api/types/OrderBuilderPrecheckRes.d.mts +0 -7
- /package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/{NotificationIntentAdHocClientCreate1.js → AdHocListBySessionIdV1Request.js} +0 -0
- /package/dist/cjs/api/{types/InternalDelegationTokenReq.js → resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.js} +0 -0
- /package/dist/cjs/api/{types/InternalDelegationTokenRes.js → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/OrderBuilderPrecheckRes.js → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/OrderTemplateExpanded.js → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.js} +0 -0
- /package/dist/cjs/api/{types/OrderTemplateOrgRef1.js → resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/WorkflowActorContext.js → resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.js} +0 -0
- /package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/{NotificationIntentAdHocClientCreate1.mjs → AdHocListBySessionIdV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/InternalDelegationTokenReq.mjs → resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.mjs} +0 -0
- /package/dist/esm/api/{types/InternalDelegationTokenRes.mjs → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/OrderBuilderPrecheckRes.mjs → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/OrderTemplateExpanded.mjs → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/OrderTemplateOrgRef1.mjs → resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/WorkflowActorContext.mjs → resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.mjs} +0 -0
|
@@ -35,6 +35,7 @@ export interface TaskGroup1 {
|
|
|
35
35
|
exception_at_timestamp?: string | null;
|
|
36
36
|
task_group_type: Chrt.TaskGroupTypeEnum1;
|
|
37
37
|
vehicle_type?: Chrt.VehicleTypeEnum | null;
|
|
38
|
+
flight_setup_notes?: string | null;
|
|
38
39
|
mileage_estimated?: number | null;
|
|
39
40
|
mileage_observed?: number | null;
|
|
40
41
|
wait_time_total_minutes?: number | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TrackingSessionDestinationGeofenceEnteredWebhookPayload {
|
|
5
|
+
event_type?: "tracking.session.destination_geofence_entered";
|
|
6
|
+
/** UTC timestamp when the event occurred */
|
|
7
|
+
event_timestamp: string;
|
|
8
|
+
/** The tracking session whose tracker entered the destination geofence */
|
|
9
|
+
session_id: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type UngroupedOrderSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "status";
|
|
5
|
+
export declare const UngroupedOrderSortByEnum: {
|
|
6
|
+
readonly DraftStartedAtTimestamp: "draft_started_at_timestamp";
|
|
7
|
+
readonly StagedAtTimestamp: "staged_at_timestamp";
|
|
8
|
+
readonly InProgressAtTimestamp: "in_progress_at_timestamp";
|
|
9
|
+
readonly CompletedAtTimestamp: "completed_at_timestamp";
|
|
10
|
+
readonly Status: "status";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
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.UngroupedOrderSortByEnum = void 0;
|
|
7
|
+
exports.UngroupedOrderSortByEnum = {
|
|
8
|
+
DraftStartedAtTimestamp: "draft_started_at_timestamp",
|
|
9
|
+
StagedAtTimestamp: "staged_at_timestamp",
|
|
10
|
+
InProgressAtTimestamp: "in_progress_at_timestamp",
|
|
11
|
+
CompletedAtTimestamp: "completed_at_timestamp",
|
|
12
|
+
Status: "status",
|
|
13
|
+
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
|
-
export interface
|
|
5
|
+
export interface WorkflowActor {
|
|
6
6
|
/** Must be a string starting with `user_` */
|
|
7
7
|
user_id: string;
|
|
8
8
|
/** Must be a string starting with `org_` */
|
|
@@ -21,6 +21,7 @@ export * from "./BillingLedgerStatusEnum.js";
|
|
|
21
21
|
export * from "./BillingLineItemGroupMessageWebhookPayload.js";
|
|
22
22
|
export * from "./BillingLineItemGroupS3ObjectAddedWebhookPayload.js";
|
|
23
23
|
export * from "./BillingLineItemS3ObjectAddedWebhookPayload.js";
|
|
24
|
+
export * from "./BillingReviewStatusEnum.js";
|
|
24
25
|
export * from "./BillingStatementOpenedWebhookPayload.js";
|
|
25
26
|
export * from "./BillingStatementPaidWebhookPayload.js";
|
|
26
27
|
export * from "./Caller.js";
|
|
@@ -163,8 +164,8 @@ export * from "./FlightTrackWaypoint1.js";
|
|
|
163
164
|
export * from "./GeometryCollectionGeometriesItem.js";
|
|
164
165
|
export * from "./GeometryCollection.js";
|
|
165
166
|
export * from "./HttpValidationError.js";
|
|
166
|
-
export * from "./
|
|
167
|
-
export * from "./
|
|
167
|
+
export * from "./InternalDelegationJwtReq.js";
|
|
168
|
+
export * from "./InternalDelegationJwtRes.js";
|
|
168
169
|
export * from "./LlmModelEnum.js";
|
|
169
170
|
export * from "./LineItem1.js";
|
|
170
171
|
export * from "./LineItemClientCreate1.js";
|
|
@@ -209,11 +210,14 @@ export * from "./NotificationGroupLimitedForDriver1.js";
|
|
|
209
210
|
export * from "./NotificationGroupListRes.js";
|
|
210
211
|
export * from "./NotificationGroupUserListRes.js";
|
|
211
212
|
export * from "./NotificationIntentAdHoc1.js";
|
|
213
|
+
export * from "./NotificationIntentAdHocClientCreate1.js";
|
|
212
214
|
export * from "./NotificationUserPreferences1.js";
|
|
213
215
|
export * from "./OffChrtProviderOrg1.js";
|
|
214
216
|
export * from "./OffChrtProviderOrgListRes.js";
|
|
215
217
|
export * from "./OffChrtShipperOrg1.js";
|
|
216
218
|
export * from "./OffChrtShipperOrgListRes.js";
|
|
219
|
+
export * from "./OffChrtVendor1.js";
|
|
220
|
+
export * from "./OffChrtVendorListRes.js";
|
|
217
221
|
export * from "./OnboardCourierRateSheet1.js";
|
|
218
222
|
export * from "./OnboardCourierRateSheetListRes.js";
|
|
219
223
|
export * from "./OnboardCourierTaskActionEnum1.js";
|
|
@@ -234,7 +238,6 @@ export * from "./OperationsTaskStatusEnum.js";
|
|
|
234
238
|
export * from "./OperationsTaskTypeEnum.js";
|
|
235
239
|
export * from "./Order1.js";
|
|
236
240
|
export * from "./OrderAndTaskGroupExpandedReq.js";
|
|
237
|
-
export * from "./OrderBuilderPrecheckRes.js";
|
|
238
241
|
export * from "./OrderBuilderReq.js";
|
|
239
242
|
export * from "./OrderBuilderRes.js";
|
|
240
243
|
export * from "./OrderDraftExpanded.js";
|
|
@@ -243,6 +246,12 @@ export * from "./OrderDraftSortByEnum.js";
|
|
|
243
246
|
export * from "./OrderDraftValidationRequirements.js";
|
|
244
247
|
export * from "./OrderDraftValidationResult.js";
|
|
245
248
|
export * from "./OrderExpanded.js";
|
|
249
|
+
export * from "./OrderGroup1.js";
|
|
250
|
+
export * from "./OrderGroupExpandedListRes.js";
|
|
251
|
+
export * from "./OrderGroupExpandedRow.js";
|
|
252
|
+
export * from "./OrderGroupExpandedSortByEnum.js";
|
|
253
|
+
export * from "./OrderGroupListRes.js";
|
|
254
|
+
export * from "./OrderGroupSortByEnum.js";
|
|
246
255
|
export * from "./OrderManifest1.js";
|
|
247
256
|
export * from "./OrderManifestValidationRequirements.js";
|
|
248
257
|
export * from "./OrderManifestValidationResult.js";
|
|
@@ -257,10 +266,12 @@ export * from "./OrderScheduleStatusEnum1.js";
|
|
|
257
266
|
export * from "./OrderSortByEnum.js";
|
|
258
267
|
export * from "./OrderStatusEnum1.js";
|
|
259
268
|
export * from "./OrderTemplate1.js";
|
|
260
|
-
export * from "./
|
|
269
|
+
export * from "./OrderTemplateCore1.js";
|
|
270
|
+
export * from "./OrderTemplateExpanded1.js";
|
|
261
271
|
export * from "./OrderTemplateListRes.js";
|
|
262
|
-
export * from "./
|
|
272
|
+
export * from "./OrderTemplateOrgInfo1.js";
|
|
263
273
|
export * from "./OrderTemplateReferenceColumnEnum1.js";
|
|
274
|
+
export * from "./OrderTemplateResolvabilityRes.js";
|
|
264
275
|
export * from "./OrderTemplateSortByEnum.js";
|
|
265
276
|
export * from "./OrderTypeaheadFieldEnum.js";
|
|
266
277
|
export * from "./OrderTypeaheadResult.js";
|
|
@@ -336,6 +347,7 @@ export * from "./ShippingTaskGroupS3ObjectAddedWebhookPayload.js";
|
|
|
336
347
|
export * from "./ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.js";
|
|
337
348
|
export * from "./ShippingTaskSkippedWebhookPayload.js";
|
|
338
349
|
export * from "./ShippingTaskTaskArtifactCompletedWebhookPayload.js";
|
|
350
|
+
export * from "./ShippingTurnClientCreate1.js";
|
|
339
351
|
export * from "./SortOrderEnum.js";
|
|
340
352
|
export * from "./StartOfWeek.js";
|
|
341
353
|
export * from "./Statement1.js";
|
|
@@ -394,10 +406,14 @@ export * from "./TiveTimeseriesRes.js";
|
|
|
394
406
|
export * from "./TiveTimeseriesSyncRes.js";
|
|
395
407
|
export * from "./TrackingDeviceTypeEnum1.js";
|
|
396
408
|
export * from "./TrackingOrgScopeEnum.js";
|
|
409
|
+
export * from "./TrackingSessionDestinationGeofenceEnteredWebhookPayload.js";
|
|
397
410
|
export * from "./TrackingSharingSettingsRes.js";
|
|
398
411
|
export * from "./TrackingTypeaheadFieldEnum.js";
|
|
399
412
|
export * from "./TrackingTypeaheadResult.js";
|
|
400
413
|
export * from "./TrackingWebhookResponse.js";
|
|
414
|
+
export * from "./UngroupedOrderListRes.js";
|
|
415
|
+
export * from "./UngroupedOrderRow.js";
|
|
416
|
+
export * from "./UngroupedOrderSortByEnum.js";
|
|
401
417
|
export * from "./UnitsEnum.js";
|
|
402
418
|
export * from "./UserPrivateData1.js";
|
|
403
419
|
export * from "./UserPublicData1.js";
|
|
@@ -434,4 +450,4 @@ export * from "./WebcargoSegment.js";
|
|
|
434
450
|
export * from "./WebcargoShipment.js";
|
|
435
451
|
export * from "./WebcargoValueWithUnit.js";
|
|
436
452
|
export * from "./WebhookAppPortalAccessRes.js";
|
|
437
|
-
export * from "./
|
|
453
|
+
export * from "./WorkflowActor.js";
|
|
@@ -37,6 +37,7 @@ __exportStar(require("./BillingLedgerStatusEnum.js"), exports);
|
|
|
37
37
|
__exportStar(require("./BillingLineItemGroupMessageWebhookPayload.js"), exports);
|
|
38
38
|
__exportStar(require("./BillingLineItemGroupS3ObjectAddedWebhookPayload.js"), exports);
|
|
39
39
|
__exportStar(require("./BillingLineItemS3ObjectAddedWebhookPayload.js"), exports);
|
|
40
|
+
__exportStar(require("./BillingReviewStatusEnum.js"), exports);
|
|
40
41
|
__exportStar(require("./BillingStatementOpenedWebhookPayload.js"), exports);
|
|
41
42
|
__exportStar(require("./BillingStatementPaidWebhookPayload.js"), exports);
|
|
42
43
|
__exportStar(require("./Caller.js"), exports);
|
|
@@ -179,8 +180,8 @@ __exportStar(require("./FlightTrackWaypoint1.js"), exports);
|
|
|
179
180
|
__exportStar(require("./GeometryCollectionGeometriesItem.js"), exports);
|
|
180
181
|
__exportStar(require("./GeometryCollection.js"), exports);
|
|
181
182
|
__exportStar(require("./HttpValidationError.js"), exports);
|
|
182
|
-
__exportStar(require("./
|
|
183
|
-
__exportStar(require("./
|
|
183
|
+
__exportStar(require("./InternalDelegationJwtReq.js"), exports);
|
|
184
|
+
__exportStar(require("./InternalDelegationJwtRes.js"), exports);
|
|
184
185
|
__exportStar(require("./LlmModelEnum.js"), exports);
|
|
185
186
|
__exportStar(require("./LineItem1.js"), exports);
|
|
186
187
|
__exportStar(require("./LineItemClientCreate1.js"), exports);
|
|
@@ -225,11 +226,14 @@ __exportStar(require("./NotificationGroupLimitedForDriver1.js"), exports);
|
|
|
225
226
|
__exportStar(require("./NotificationGroupListRes.js"), exports);
|
|
226
227
|
__exportStar(require("./NotificationGroupUserListRes.js"), exports);
|
|
227
228
|
__exportStar(require("./NotificationIntentAdHoc1.js"), exports);
|
|
229
|
+
__exportStar(require("./NotificationIntentAdHocClientCreate1.js"), exports);
|
|
228
230
|
__exportStar(require("./NotificationUserPreferences1.js"), exports);
|
|
229
231
|
__exportStar(require("./OffChrtProviderOrg1.js"), exports);
|
|
230
232
|
__exportStar(require("./OffChrtProviderOrgListRes.js"), exports);
|
|
231
233
|
__exportStar(require("./OffChrtShipperOrg1.js"), exports);
|
|
232
234
|
__exportStar(require("./OffChrtShipperOrgListRes.js"), exports);
|
|
235
|
+
__exportStar(require("./OffChrtVendor1.js"), exports);
|
|
236
|
+
__exportStar(require("./OffChrtVendorListRes.js"), exports);
|
|
233
237
|
__exportStar(require("./OnboardCourierRateSheet1.js"), exports);
|
|
234
238
|
__exportStar(require("./OnboardCourierRateSheetListRes.js"), exports);
|
|
235
239
|
__exportStar(require("./OnboardCourierTaskActionEnum1.js"), exports);
|
|
@@ -250,7 +254,6 @@ __exportStar(require("./OperationsTaskStatusEnum.js"), exports);
|
|
|
250
254
|
__exportStar(require("./OperationsTaskTypeEnum.js"), exports);
|
|
251
255
|
__exportStar(require("./Order1.js"), exports);
|
|
252
256
|
__exportStar(require("./OrderAndTaskGroupExpandedReq.js"), exports);
|
|
253
|
-
__exportStar(require("./OrderBuilderPrecheckRes.js"), exports);
|
|
254
257
|
__exportStar(require("./OrderBuilderReq.js"), exports);
|
|
255
258
|
__exportStar(require("./OrderBuilderRes.js"), exports);
|
|
256
259
|
__exportStar(require("./OrderDraftExpanded.js"), exports);
|
|
@@ -259,6 +262,12 @@ __exportStar(require("./OrderDraftSortByEnum.js"), exports);
|
|
|
259
262
|
__exportStar(require("./OrderDraftValidationRequirements.js"), exports);
|
|
260
263
|
__exportStar(require("./OrderDraftValidationResult.js"), exports);
|
|
261
264
|
__exportStar(require("./OrderExpanded.js"), exports);
|
|
265
|
+
__exportStar(require("./OrderGroup1.js"), exports);
|
|
266
|
+
__exportStar(require("./OrderGroupExpandedListRes.js"), exports);
|
|
267
|
+
__exportStar(require("./OrderGroupExpandedRow.js"), exports);
|
|
268
|
+
__exportStar(require("./OrderGroupExpandedSortByEnum.js"), exports);
|
|
269
|
+
__exportStar(require("./OrderGroupListRes.js"), exports);
|
|
270
|
+
__exportStar(require("./OrderGroupSortByEnum.js"), exports);
|
|
262
271
|
__exportStar(require("./OrderManifest1.js"), exports);
|
|
263
272
|
__exportStar(require("./OrderManifestValidationRequirements.js"), exports);
|
|
264
273
|
__exportStar(require("./OrderManifestValidationResult.js"), exports);
|
|
@@ -273,10 +282,12 @@ __exportStar(require("./OrderScheduleStatusEnum1.js"), exports);
|
|
|
273
282
|
__exportStar(require("./OrderSortByEnum.js"), exports);
|
|
274
283
|
__exportStar(require("./OrderStatusEnum1.js"), exports);
|
|
275
284
|
__exportStar(require("./OrderTemplate1.js"), exports);
|
|
276
|
-
__exportStar(require("./
|
|
285
|
+
__exportStar(require("./OrderTemplateCore1.js"), exports);
|
|
286
|
+
__exportStar(require("./OrderTemplateExpanded1.js"), exports);
|
|
277
287
|
__exportStar(require("./OrderTemplateListRes.js"), exports);
|
|
278
|
-
__exportStar(require("./
|
|
288
|
+
__exportStar(require("./OrderTemplateOrgInfo1.js"), exports);
|
|
279
289
|
__exportStar(require("./OrderTemplateReferenceColumnEnum1.js"), exports);
|
|
290
|
+
__exportStar(require("./OrderTemplateResolvabilityRes.js"), exports);
|
|
280
291
|
__exportStar(require("./OrderTemplateSortByEnum.js"), exports);
|
|
281
292
|
__exportStar(require("./OrderTypeaheadFieldEnum.js"), exports);
|
|
282
293
|
__exportStar(require("./OrderTypeaheadResult.js"), exports);
|
|
@@ -352,6 +363,7 @@ __exportStar(require("./ShippingTaskGroupS3ObjectAddedWebhookPayload.js"), expor
|
|
|
352
363
|
__exportStar(require("./ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.js"), exports);
|
|
353
364
|
__exportStar(require("./ShippingTaskSkippedWebhookPayload.js"), exports);
|
|
354
365
|
__exportStar(require("./ShippingTaskTaskArtifactCompletedWebhookPayload.js"), exports);
|
|
366
|
+
__exportStar(require("./ShippingTurnClientCreate1.js"), exports);
|
|
355
367
|
__exportStar(require("./SortOrderEnum.js"), exports);
|
|
356
368
|
__exportStar(require("./StartOfWeek.js"), exports);
|
|
357
369
|
__exportStar(require("./Statement1.js"), exports);
|
|
@@ -410,10 +422,14 @@ __exportStar(require("./TiveTimeseriesRes.js"), exports);
|
|
|
410
422
|
__exportStar(require("./TiveTimeseriesSyncRes.js"), exports);
|
|
411
423
|
__exportStar(require("./TrackingDeviceTypeEnum1.js"), exports);
|
|
412
424
|
__exportStar(require("./TrackingOrgScopeEnum.js"), exports);
|
|
425
|
+
__exportStar(require("./TrackingSessionDestinationGeofenceEnteredWebhookPayload.js"), exports);
|
|
413
426
|
__exportStar(require("./TrackingSharingSettingsRes.js"), exports);
|
|
414
427
|
__exportStar(require("./TrackingTypeaheadFieldEnum.js"), exports);
|
|
415
428
|
__exportStar(require("./TrackingTypeaheadResult.js"), exports);
|
|
416
429
|
__exportStar(require("./TrackingWebhookResponse.js"), exports);
|
|
430
|
+
__exportStar(require("./UngroupedOrderListRes.js"), exports);
|
|
431
|
+
__exportStar(require("./UngroupedOrderRow.js"), exports);
|
|
432
|
+
__exportStar(require("./UngroupedOrderSortByEnum.js"), exports);
|
|
417
433
|
__exportStar(require("./UnitsEnum.js"), exports);
|
|
418
434
|
__exportStar(require("./UserPrivateData1.js"), exports);
|
|
419
435
|
__exportStar(require("./UserPublicData1.js"), exports);
|
|
@@ -450,4 +466,4 @@ __exportStar(require("./WebcargoSegment.js"), exports);
|
|
|
450
466
|
__exportStar(require("./WebcargoShipment.js"), exports);
|
|
451
467
|
__exportStar(require("./WebcargoValueWithUnit.js"), exports);
|
|
452
468
|
__exportStar(require("./WebhookAppPortalAccessRes.js"), exports);
|
|
453
|
-
__exportStar(require("./
|
|
469
|
+
__exportStar(require("./WorkflowActor.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.772.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -20,8 +20,8 @@ export class ChrtClient {
|
|
|
20
20
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
21
21
|
"X-Fern-Language": "JavaScript",
|
|
22
22
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
23
|
-
"X-Fern-SDK-Version": "1.
|
|
24
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
23
|
+
"X-Fern-SDK-Version": "1.772.0",
|
|
24
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.772.0",
|
|
25
25
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
26
26
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
27
27
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -18,5 +18,7 @@ export interface LineItemGroupAdHocCreateClientReq {
|
|
|
18
18
|
payment_destination_org_id?: string | null;
|
|
19
19
|
payment_destination_off_chrt_provider_org_id?: string | null;
|
|
20
20
|
payment_destination_driver_id?: string | null;
|
|
21
|
+
payment_destination_off_chrt_vendor_id?: string | null;
|
|
22
|
+
order_group_id?: string | null;
|
|
21
23
|
line_items?: Chrt.LineItemClientCreate1[];
|
|
22
24
|
}
|
|
@@ -17,4 +17,6 @@ export interface StatementCreateClientReq {
|
|
|
17
17
|
payment_destination_org_id?: string | null;
|
|
18
18
|
payment_destination_off_chrt_provider_org_id?: string | null;
|
|
19
19
|
payment_destination_driver_id?: string | null;
|
|
20
|
+
payment_destination_off_chrt_vendor_id?: string | null;
|
|
21
|
+
order_group_id?: string | null;
|
|
20
22
|
}
|
|
@@ -47,11 +47,28 @@ export declare class AdHoc {
|
|
|
47
47
|
*/
|
|
48
48
|
listByOrderIdV1(orderId: string, request?: Chrt.notifications.AdHocListByOrderIdV1Request, requestOptions?: AdHoc.RequestOptions): core.HttpResponsePromise<Chrt.NotificationAdHocListRes>;
|
|
49
49
|
private __listByOrderIdV1;
|
|
50
|
+
/**
|
|
51
|
+
* Lists all ad-hoc notification intents for a tracking session. | authz: min_org_role=operator | () -> (NotificationAdHocListRes)
|
|
52
|
+
*
|
|
53
|
+
* @param {string} sessionId
|
|
54
|
+
* @param {Chrt.notifications.AdHocListBySessionIdV1Request} request
|
|
55
|
+
* @param {AdHoc.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* await client.notifications.adHoc.listBySessionIdV1("session_id", {
|
|
61
|
+
* page: 1,
|
|
62
|
+
* page_size: 1
|
|
63
|
+
* })
|
|
64
|
+
*/
|
|
65
|
+
listBySessionIdV1(sessionId: string, request?: Chrt.notifications.AdHocListBySessionIdV1Request, requestOptions?: AdHoc.RequestOptions): core.HttpResponsePromise<Chrt.NotificationAdHocListRes>;
|
|
66
|
+
private __listBySessionIdV1;
|
|
50
67
|
/**
|
|
51
68
|
* Creates a new ad-hoc notification intent for an order. | authz: min_org_role=operator | (NotificationIntentAdHocClientCreate1) -> (PydanticObjectId)
|
|
52
69
|
*
|
|
53
70
|
* @param {string} orderId
|
|
54
|
-
* @param {Chrt.
|
|
71
|
+
* @param {Chrt.NotificationIntentAdHocClientCreate1} request
|
|
55
72
|
* @param {AdHoc.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
73
|
*
|
|
57
74
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
@@ -62,8 +79,25 @@ export declare class AdHoc {
|
|
|
62
79
|
* directory_entry_id: "directory_entry_id"
|
|
63
80
|
* })
|
|
64
81
|
*/
|
|
65
|
-
createV1(orderId: string, request: Chrt.
|
|
82
|
+
createV1(orderId: string, request: Chrt.NotificationIntentAdHocClientCreate1, requestOptions?: AdHoc.RequestOptions): core.HttpResponsePromise<string>;
|
|
66
83
|
private __createV1;
|
|
84
|
+
/**
|
|
85
|
+
* Creates a new ad-hoc notification intent for a tracking session. | authz: min_org_role=operator | (NotificationIntentAdHocClientCreate1) -> (PydanticObjectId)
|
|
86
|
+
*
|
|
87
|
+
* @param {string} sessionId
|
|
88
|
+
* @param {Chrt.NotificationIntentAdHocClientCreate1} request
|
|
89
|
+
* @param {AdHoc.RequestOptions} requestOptions - Request-specific configuration.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* await client.notifications.adHoc.createForSessionV1("session_id", {
|
|
95
|
+
* schema_version: 1,
|
|
96
|
+
* directory_entry_id: "directory_entry_id"
|
|
97
|
+
* })
|
|
98
|
+
*/
|
|
99
|
+
createForSessionV1(sessionId: string, request: Chrt.NotificationIntentAdHocClientCreate1, requestOptions?: AdHoc.RequestOptions): core.HttpResponsePromise<string>;
|
|
100
|
+
private __createForSessionV1;
|
|
67
101
|
/**
|
|
68
102
|
* Deletes an ad-hoc notification intent. | authz: min_org_role=operator | () -> (bool)
|
|
69
103
|
*
|
|
@@ -90,11 +90,82 @@ export class AdHoc {
|
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
|
+
/**
|
|
94
|
+
* Lists all ad-hoc notification intents for a tracking session. | authz: min_org_role=operator | () -> (NotificationAdHocListRes)
|
|
95
|
+
*
|
|
96
|
+
* @param {string} sessionId
|
|
97
|
+
* @param {Chrt.notifications.AdHocListBySessionIdV1Request} request
|
|
98
|
+
* @param {AdHoc.RequestOptions} requestOptions - Request-specific configuration.
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* await client.notifications.adHoc.listBySessionIdV1("session_id", {
|
|
104
|
+
* page: 1,
|
|
105
|
+
* page_size: 1
|
|
106
|
+
* })
|
|
107
|
+
*/
|
|
108
|
+
listBySessionIdV1(sessionId, request = {}, requestOptions) {
|
|
109
|
+
return core.HttpResponsePromise.fromPromise(this.__listBySessionIdV1(sessionId, request, requestOptions));
|
|
110
|
+
}
|
|
111
|
+
__listBySessionIdV1(sessionId_1) {
|
|
112
|
+
return __awaiter(this, arguments, void 0, function* (sessionId, request = {}, requestOptions) {
|
|
113
|
+
var _a, _b, _c, _d, _e, _f;
|
|
114
|
+
const { page, page_size: pageSize } = request;
|
|
115
|
+
const _queryParams = {};
|
|
116
|
+
if (page !== undefined) {
|
|
117
|
+
_queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
|
|
118
|
+
}
|
|
119
|
+
if (pageSize !== undefined) {
|
|
120
|
+
_queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
|
|
121
|
+
}
|
|
122
|
+
let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
123
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
124
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, `notifications/ad_hoc/list_by_session_id/v1/${encodeURIComponent(sessionId)}`),
|
|
125
|
+
method: "GET",
|
|
126
|
+
headers: _headers,
|
|
127
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
128
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
129
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
130
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
131
|
+
});
|
|
132
|
+
if (_response.ok) {
|
|
133
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
134
|
+
}
|
|
135
|
+
if (_response.error.reason === "status-code") {
|
|
136
|
+
switch (_response.error.statusCode) {
|
|
137
|
+
case 422:
|
|
138
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
139
|
+
default:
|
|
140
|
+
throw new errors.ChrtError({
|
|
141
|
+
statusCode: _response.error.statusCode,
|
|
142
|
+
body: _response.error.body,
|
|
143
|
+
rawResponse: _response.rawResponse,
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
switch (_response.error.reason) {
|
|
148
|
+
case "non-json":
|
|
149
|
+
throw new errors.ChrtError({
|
|
150
|
+
statusCode: _response.error.statusCode,
|
|
151
|
+
body: _response.error.rawBody,
|
|
152
|
+
rawResponse: _response.rawResponse,
|
|
153
|
+
});
|
|
154
|
+
case "timeout":
|
|
155
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /notifications/ad_hoc/list_by_session_id/v1/{session_id}.");
|
|
156
|
+
case "unknown":
|
|
157
|
+
throw new errors.ChrtError({
|
|
158
|
+
message: _response.error.errorMessage,
|
|
159
|
+
rawResponse: _response.rawResponse,
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
}
|
|
93
164
|
/**
|
|
94
165
|
* Creates a new ad-hoc notification intent for an order. | authz: min_org_role=operator | (NotificationIntentAdHocClientCreate1) -> (PydanticObjectId)
|
|
95
166
|
*
|
|
96
167
|
* @param {string} orderId
|
|
97
|
-
* @param {Chrt.
|
|
168
|
+
* @param {Chrt.NotificationIntentAdHocClientCreate1} request
|
|
98
169
|
* @param {AdHoc.RequestOptions} requestOptions - Request-specific configuration.
|
|
99
170
|
*
|
|
100
171
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
@@ -156,6 +227,72 @@ export class AdHoc {
|
|
|
156
227
|
}
|
|
157
228
|
});
|
|
158
229
|
}
|
|
230
|
+
/**
|
|
231
|
+
* Creates a new ad-hoc notification intent for a tracking session. | authz: min_org_role=operator | (NotificationIntentAdHocClientCreate1) -> (PydanticObjectId)
|
|
232
|
+
*
|
|
233
|
+
* @param {string} sessionId
|
|
234
|
+
* @param {Chrt.NotificationIntentAdHocClientCreate1} request
|
|
235
|
+
* @param {AdHoc.RequestOptions} requestOptions - Request-specific configuration.
|
|
236
|
+
*
|
|
237
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* await client.notifications.adHoc.createForSessionV1("session_id", {
|
|
241
|
+
* schema_version: 1,
|
|
242
|
+
* directory_entry_id: "directory_entry_id"
|
|
243
|
+
* })
|
|
244
|
+
*/
|
|
245
|
+
createForSessionV1(sessionId, request, requestOptions) {
|
|
246
|
+
return core.HttpResponsePromise.fromPromise(this.__createForSessionV1(sessionId, request, requestOptions));
|
|
247
|
+
}
|
|
248
|
+
__createForSessionV1(sessionId, request, requestOptions) {
|
|
249
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
250
|
+
var _a, _b, _c, _d;
|
|
251
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
252
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
253
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `notifications/ad_hoc/create_for_session/v1/${encodeURIComponent(sessionId)}`),
|
|
254
|
+
method: "POST",
|
|
255
|
+
headers: _headers,
|
|
256
|
+
contentType: "application/json",
|
|
257
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
258
|
+
requestType: "json",
|
|
259
|
+
body: request,
|
|
260
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
261
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
262
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
263
|
+
});
|
|
264
|
+
if (_response.ok) {
|
|
265
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
266
|
+
}
|
|
267
|
+
if (_response.error.reason === "status-code") {
|
|
268
|
+
switch (_response.error.statusCode) {
|
|
269
|
+
case 422:
|
|
270
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
271
|
+
default:
|
|
272
|
+
throw new errors.ChrtError({
|
|
273
|
+
statusCode: _response.error.statusCode,
|
|
274
|
+
body: _response.error.body,
|
|
275
|
+
rawResponse: _response.rawResponse,
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
switch (_response.error.reason) {
|
|
280
|
+
case "non-json":
|
|
281
|
+
throw new errors.ChrtError({
|
|
282
|
+
statusCode: _response.error.statusCode,
|
|
283
|
+
body: _response.error.rawBody,
|
|
284
|
+
rawResponse: _response.rawResponse,
|
|
285
|
+
});
|
|
286
|
+
case "timeout":
|
|
287
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /notifications/ad_hoc/create_for_session/v1/{session_id}.");
|
|
288
|
+
case "unknown":
|
|
289
|
+
throw new errors.ChrtError({
|
|
290
|
+
message: _response.error.errorMessage,
|
|
291
|
+
rawResponse: _response.rawResponse,
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
});
|
|
295
|
+
}
|
|
159
296
|
/**
|
|
160
297
|
* Deletes an ad-hoc notification intent. | authz: min_org_role=operator | () -> (bool)
|
|
161
298
|
*
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* page: 1,
|
|
8
|
+
* page_size: 1
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface AdHocListBySessionIdV1Request {
|
|
12
|
+
page?: number | null;
|
|
13
|
+
page_size?: number | null;
|
|
14
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { type AdHocListByOrderIdV1Request } from "./AdHocListByOrderIdV1Request.mjs";
|
|
2
|
-
export { type
|
|
2
|
+
export { type AdHocListBySessionIdV1Request } from "./AdHocListBySessionIdV1Request.mjs";
|
|
@@ -132,6 +132,22 @@ export declare class Cases {
|
|
|
132
132
|
*/
|
|
133
133
|
getSuggestedDepartmentV1(caseId: string, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<(string | null) | undefined>;
|
|
134
134
|
private __getSuggestedDepartmentV1;
|
|
135
|
+
/**
|
|
136
|
+
* Sets the case's operator billing-review status. | authz: min_org_role=operator | (CaseSetBillingReviewStatusReq) -> (bool)
|
|
137
|
+
*
|
|
138
|
+
* @param {string} caseId
|
|
139
|
+
* @param {Chrt.operations.CaseSetBillingReviewStatusReq} request
|
|
140
|
+
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* await client.operations.cases.setBillingReviewStatusV1("case_id", {
|
|
146
|
+
* billing_review_status: "not_started"
|
|
147
|
+
* })
|
|
148
|
+
*/
|
|
149
|
+
setBillingReviewStatusV1(caseId: string, request: Chrt.operations.CaseSetBillingReviewStatusReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
150
|
+
private __setBillingReviewStatusV1;
|
|
135
151
|
/**
|
|
136
152
|
* Adds operator(s) to a case. | authz: min_org_role=operator | (CaseAssignReq) -> (bool)
|
|
137
153
|
*
|