@chrt-inc/typescript-sdk 1.719.0 → 1.723.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/operations/client/Client.d.ts +6 -3
- package/dist/cjs/api/resources/operations/client/Client.js +10 -5
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +5 -125
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +17 -494
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +3 -8
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +76 -0
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +246 -0
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.ts +19 -0
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +1 -1
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.ts +1 -1
- package/dist/cjs/api/resources/operations/resources/index.d.ts +4 -2
- package/dist/cjs/api/resources/operations/resources/index.js +5 -3
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +181 -0
- package/dist/cjs/api/resources/operations/resources/{checklists → operationsTaskLists}/client/Client.js +206 -75
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.d.ts → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.ts} +3 -2
- package/dist/{esm/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.d.mts → cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.ts} +2 -1
- package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.d.ts → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.d.ts} +2 -2
- package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.d.ts → operations/resources/operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.d.ts} +2 -2
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.ts +13 -0
- package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistsListV1Request.d.ts → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.ts} +2 -2
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +6 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +23 -5
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +108 -14
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +7 -2
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +4 -0
- package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.d.ts → operationsTasks/client/requests/OperationsTaskStatusReq.d.ts} +3 -3
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +15 -6
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +0 -14
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +0 -63
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -0
- package/dist/cjs/api/types/AiImageDescription.d.ts +1 -1
- package/dist/cjs/api/types/Case1.d.ts +1 -12
- package/dist/cjs/api/types/CaseSortByEnum.d.ts +1 -2
- package/dist/cjs/api/types/CaseSortByEnum.js +0 -1
- package/dist/cjs/api/types/Department1.d.ts +1 -0
- package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +16 -0
- package/dist/cjs/api/types/DepartmentTypeEnum.d.ts +10 -10
- package/dist/cjs/api/types/DepartmentTypeEnum.js +9 -9
- package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +0 -1
- package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +0 -1
- package/dist/cjs/api/types/OperationsTask1.d.ts +7 -2
- package/dist/cjs/api/types/{Checklist1.d.ts → OperationsTaskList1.d.ts} +3 -2
- package/dist/cjs/api/types/OperationsTaskListEntry1.d.ts +23 -0
- package/dist/cjs/api/types/{ChecklistListRes.d.ts → OperationsTaskListListRes.d.ts} +2 -2
- package/dist/cjs/api/types/OperationsTaskListRemoveFromCaseRes1.d.ts +13 -0
- package/dist/{esm/api/types/ChecklistSortByEnum.d.mts → cjs/api/types/OperationsTaskListSortByEnum.d.ts} +2 -2
- package/dist/cjs/api/types/{ChecklistSortByEnum.js → OperationsTaskListSortByEnum.js} +2 -2
- package/dist/cjs/api/types/OperationsTaskStatusEnum.d.ts +17 -0
- package/dist/cjs/api/types/{CheckStatusEnum.js → OperationsTaskStatusEnum.js} +4 -7
- package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +23 -0
- package/dist/cjs/api/types/OperationsTaskTypeEnum.js +20 -0
- package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +0 -1
- package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.d.ts +8 -0
- package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.js +10 -0
- package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +0 -1
- package/dist/cjs/api/types/index.d.ts +9 -11
- package/dist/cjs/api/types/index.js +9 -11
- 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/operations/client/Client.d.mts +6 -3
- package/dist/esm/api/resources/operations/client/Client.mjs +8 -3
- package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +5 -125
- package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +17 -494
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +3 -8
- package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +0 -4
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +76 -0
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +209 -0
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.mts +19 -0
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +1 -1
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.mts +1 -1
- package/dist/esm/api/resources/operations/resources/index.d.mts +4 -2
- package/dist/esm/api/resources/operations/resources/index.mjs +4 -2
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +181 -0
- package/dist/esm/api/resources/operations/resources/{checklists → operationsTaskLists}/client/Client.mjs +204 -73
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/index.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.d.mts → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.mts} +3 -2
- package/dist/{cjs/api/resources/operations/resources/checklists/client/requests/ChecklistClientUpdate1.d.ts → esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.mts} +2 -1
- package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.d.mts → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.d.mts} +2 -2
- package/dist/esm/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.d.mts → operations/resources/operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.d.mts} +2 -2
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.mts +13 -0
- package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistsListV1Request.d.mts → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.mts} +2 -2
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +6 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +23 -5
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +108 -14
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +7 -2
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +4 -0
- package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.d.mts → operationsTasks/client/requests/OperationsTaskStatusReq.d.mts} +3 -3
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +15 -6
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +0 -14
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +0 -63
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +0 -1
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +0 -1
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -0
- package/dist/esm/api/types/AiImageDescription.d.mts +1 -1
- package/dist/esm/api/types/Case1.d.mts +1 -12
- package/dist/esm/api/types/CaseSortByEnum.d.mts +1 -2
- package/dist/esm/api/types/CaseSortByEnum.mjs +0 -1
- package/dist/esm/api/types/Department1.d.mts +1 -0
- package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +16 -0
- package/dist/esm/api/types/DepartmentTypeEnum.d.mts +10 -10
- package/dist/esm/api/types/DepartmentTypeEnum.mjs +9 -9
- package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +0 -1
- package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +0 -1
- package/dist/esm/api/types/OperationsTask1.d.mts +7 -2
- package/dist/esm/api/types/{Checklist1.d.mts → OperationsTaskList1.d.mts} +3 -2
- package/dist/esm/api/types/OperationsTaskListEntry1.d.mts +23 -0
- package/dist/esm/api/types/{ChecklistListRes.d.mts → OperationsTaskListListRes.d.mts} +2 -2
- package/dist/esm/api/types/OperationsTaskListRemoveFromCaseRes1.d.mts +13 -0
- package/dist/{cjs/api/types/ChecklistSortByEnum.d.ts → esm/api/types/OperationsTaskListSortByEnum.d.mts} +2 -2
- package/dist/esm/api/types/{ChecklistSortByEnum.mjs → OperationsTaskListSortByEnum.mjs} +1 -1
- package/dist/esm/api/types/OperationsTaskStatusEnum.d.mts +17 -0
- package/dist/esm/api/types/OperationsTaskStatusEnum.mjs +9 -0
- package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +23 -0
- package/dist/esm/api/types/OperationsTaskTypeEnum.mjs +17 -0
- package/dist/esm/api/types/ProviderProviderConnection1.d.mts +0 -1
- package/dist/esm/api/types/RoutingCounterpartyTypeEnum.d.mts +8 -0
- package/dist/esm/api/types/RoutingCounterpartyTypeEnum.mjs +7 -0
- package/dist/esm/api/types/ShipperProviderConnection1.d.mts +0 -1
- package/dist/esm/api/types/index.d.mts +9 -11
- package/dist/esm/api/types/index.mjs +9 -11
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +323 -497
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.ts +0 -12
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.ts +0 -15
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseNeedsActionReq.d.ts +0 -12
- package/dist/cjs/api/resources/operations/resources/checklists/client/Client.d.ts +0 -150
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.ts +0 -11
- package/dist/cjs/api/resources/operations/resources/checklists/client/requests/index.d.ts +0 -5
- package/dist/cjs/api/types/CaseChecksDisableReq.d.ts +0 -7
- package/dist/cjs/api/types/CaseChecksDismissReq.d.ts +0 -8
- package/dist/cjs/api/types/CaseChecksSummary1.d.ts +0 -27
- package/dist/cjs/api/types/CaseStatusEnum.d.ts +0 -9
- package/dist/cjs/api/types/CaseStatusEnum.js +0 -11
- package/dist/cjs/api/types/Check1.d.ts +0 -33
- package/dist/cjs/api/types/Check1.js +0 -5
- package/dist/cjs/api/types/CheckEnum.d.ts +0 -46
- package/dist/cjs/api/types/CheckEnum.js +0 -23
- package/dist/cjs/api/types/CheckStatusEnum.d.ts +0 -32
- package/dist/cjs/api/types/Checklist1.js +0 -5
- package/dist/cjs/api/types/ChecklistCheck1.d.ts +0 -15
- package/dist/cjs/api/types/ChecklistCheck1.js +0 -5
- package/dist/cjs/api/types/ChecklistListRes.js +0 -5
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.mts +0 -12
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.mts +0 -15
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseNeedsActionReq.d.mts +0 -12
- package/dist/esm/api/resources/operations/resources/checklists/client/Client.d.mts +0 -150
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.mts +0 -11
- package/dist/esm/api/resources/operations/resources/checklists/client/requests/index.d.mts +0 -5
- package/dist/esm/api/types/CaseChecksDisableReq.d.mts +0 -7
- package/dist/esm/api/types/CaseChecksDismissReq.d.mts +0 -8
- package/dist/esm/api/types/CaseChecksSummary1.d.mts +0 -27
- package/dist/esm/api/types/CaseStatusEnum.d.mts +0 -9
- package/dist/esm/api/types/CaseStatusEnum.mjs +0 -8
- package/dist/esm/api/types/Check1.d.mts +0 -33
- package/dist/esm/api/types/Check1.mjs +0 -4
- package/dist/esm/api/types/CheckEnum.d.mts +0 -46
- package/dist/esm/api/types/CheckEnum.mjs +0 -20
- package/dist/esm/api/types/CheckStatusEnum.d.mts +0 -32
- package/dist/esm/api/types/CheckStatusEnum.mjs +0 -12
- package/dist/esm/api/types/Checklist1.mjs +0 -4
- package/dist/esm/api/types/ChecklistCheck1.d.mts +0 -15
- package/dist/esm/api/types/ChecklistCheck1.mjs +0 -4
- package/dist/esm/api/types/ChecklistListRes.mjs +0 -4
- /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.js +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseChecksApplyChecklistReq.js → departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.js +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.js → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseNeedsActionReq.js → operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.js → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.js → operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksRemove1.js → operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.js → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientUpdate1.js → operationsTasks/client/requests/OperationsTaskStatusReq.js} +0 -0
- /package/dist/cjs/api/{resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.js → types/DepartmentRoutingRule1.js} +0 -0
- /package/dist/cjs/api/{resources/orgs/resources/connections/client/requests/SetDepartmentReq.js → types/OperationsTaskList1.js} +0 -0
- /package/dist/cjs/api/types/{CaseChecksDisableReq.js → OperationsTaskListEntry1.js} +0 -0
- /package/dist/cjs/api/types/{CaseChecksDismissReq.js → OperationsTaskListListRes.js} +0 -0
- /package/dist/cjs/api/types/{CaseChecksSummary1.js → OperationsTaskListRemoveFromCaseRes1.js} +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseChecksApplyChecklistReq.mjs → departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.d.mts +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.mjs +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.mjs → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseNeedsActionReq.mjs → operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.mjs → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.mjs → operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksRemove1.mjs → operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.mjs → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientUpdate1.mjs → operationsTasks/client/requests/OperationsTaskStatusReq.mjs} +0 -0
- /package/dist/esm/api/{resources/operations/resources/checklists/client/requests/ChecklistsListV1Request.mjs → types/DepartmentRoutingRule1.mjs} +0 -0
- /package/dist/esm/api/{resources/orgs/resources/connections/client/requests/SetDepartmentReq.mjs → types/OperationsTaskList1.mjs} +0 -0
- /package/dist/esm/api/types/{CaseChecksDisableReq.mjs → OperationsTaskListEntry1.mjs} +0 -0
- /package/dist/esm/api/types/{CaseChecksDismissReq.mjs → OperationsTaskListListRes.mjs} +0 -0
- /package/dist/esm/api/types/{CaseChecksSummary1.mjs → OperationsTaskListRemoveFromCaseRes1.mjs} +0 -0
|
@@ -6,7 +6,6 @@ export interface OffChrtProviderOrg1 {
|
|
|
6
6
|
schema_version: number;
|
|
7
7
|
company_name?: string | null;
|
|
8
8
|
industry?: string | null;
|
|
9
|
-
department_id?: string | null;
|
|
10
9
|
street_address?: Chrt.LocationFeature | null;
|
|
11
10
|
contact_first_name?: string | null;
|
|
12
11
|
contact_last_name?: string | null;
|
|
@@ -6,7 +6,6 @@ export interface OffChrtShipperOrg1 {
|
|
|
6
6
|
schema_version: number;
|
|
7
7
|
company_name?: string | null;
|
|
8
8
|
industry?: string | null;
|
|
9
|
-
department_id?: string | null;
|
|
10
9
|
street_address?: Chrt.LocationFeature | null;
|
|
11
10
|
contact_first_name?: string | null;
|
|
12
11
|
contact_last_name?: string | null;
|
|
@@ -4,14 +4,19 @@
|
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface OperationsTask1 {
|
|
6
6
|
schema_version: number;
|
|
7
|
-
|
|
7
|
+
order_id: string;
|
|
8
|
+
task_type: Chrt.OperationsTaskTypeEnum;
|
|
8
9
|
title: string;
|
|
9
10
|
description: string;
|
|
10
11
|
deadline_timestamp?: string;
|
|
12
|
+
tags?: string[];
|
|
13
|
+
assigned_user_ids?: string[];
|
|
11
14
|
_id: string;
|
|
12
15
|
/** Must be a string starting with `org_` */
|
|
13
16
|
org_id: string;
|
|
14
|
-
|
|
17
|
+
department_id?: string | null;
|
|
18
|
+
source_task_list_id?: string | null;
|
|
19
|
+
status?: Chrt.OperationsTaskStatusEnum;
|
|
15
20
|
completed_at_timestamp?: string | null;
|
|
16
21
|
/** Must be a string starting with `user_` */
|
|
17
22
|
completed_by_user_id?: string | null;
|
|
@@ -2,11 +2,12 @@
|
|
|
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 OperationsTaskList1 {
|
|
6
6
|
schema_version: number;
|
|
7
7
|
name: string;
|
|
8
8
|
description?: string | null;
|
|
9
|
-
|
|
9
|
+
tags?: string[];
|
|
10
|
+
entries?: Chrt.OperationsTaskListEntry1[];
|
|
10
11
|
_id: string;
|
|
11
12
|
/** Must be a string starting with `org_` */
|
|
12
13
|
org_id: string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* One task declared in a Task List.
|
|
7
|
+
*
|
|
8
|
+
* Materialized into an `OperationsTask` on apply.
|
|
9
|
+
*
|
|
10
|
+
* `deadline_offset_seconds` is an OPTIONAL absolute offset from apply time, in
|
|
11
|
+
* seconds. When set, the materialized task's deadline is
|
|
12
|
+
* `apply_time + deadline_offset_seconds`. When left `None` (the default), the
|
|
13
|
+
* entry is staggered by its position in the list at a default 20-min cadence:
|
|
14
|
+
* the Nth entry (1-based) is due at `apply_time + N * 20min`. An apply-time
|
|
15
|
+
* `overall_deadline_timestamp` overrides both.
|
|
16
|
+
*/
|
|
17
|
+
export interface OperationsTaskListEntry1 {
|
|
18
|
+
id?: string;
|
|
19
|
+
task_type: Chrt.OperationsTaskTypeEnum;
|
|
20
|
+
title: string;
|
|
21
|
+
description: string;
|
|
22
|
+
deadline_offset_seconds?: number | null;
|
|
23
|
+
}
|
|
@@ -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
|
|
6
|
-
items: Chrt.
|
|
5
|
+
export interface OperationsTaskListListRes {
|
|
6
|
+
items: Chrt.OperationsTaskList1[];
|
|
7
7
|
total_count: number;
|
|
8
8
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Result of removing a Task List from a Case.
|
|
6
|
+
*
|
|
7
|
+
* Only untouched (`not_started`) tasks are deleted; tasks an operator has
|
|
8
|
+
* started, completed, or skipped are preserved and reported as `kept_count`.
|
|
9
|
+
*/
|
|
10
|
+
export interface OperationsTaskListRemoveFromCaseRes1 {
|
|
11
|
+
deleted_count: number;
|
|
12
|
+
kept_count: number;
|
|
13
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type
|
|
5
|
-
export declare const
|
|
4
|
+
export type OperationsTaskListSortByEnum = "created_at_timestamp" | "updated_at_timestamp" | "name";
|
|
5
|
+
export declare const OperationsTaskListSortByEnum: {
|
|
6
6
|
readonly CreatedAtTimestamp: "created_at_timestamp";
|
|
7
7
|
readonly UpdatedAtTimestamp: "updated_at_timestamp";
|
|
8
8
|
readonly Name: "name";
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.OperationsTaskListSortByEnum = void 0;
|
|
7
|
+
exports.OperationsTaskListSortByEnum = {
|
|
8
8
|
CreatedAtTimestamp: "created_at_timestamp",
|
|
9
9
|
UpdatedAtTimestamp: "updated_at_timestamp",
|
|
10
10
|
Name: "name",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Operator-driven lifecycle of an operations task.
|
|
6
|
+
*
|
|
7
|
+
* Manually driven by operators for now (no automatic transitions). Kept
|
|
8
|
+
* structurally parallel to the Check status model in anticipation of the
|
|
9
|
+
* eventual Task <-> Check merge.
|
|
10
|
+
*/
|
|
11
|
+
export type OperationsTaskStatusEnum = "not_started" | "in_progress" | "completed" | "skipped";
|
|
12
|
+
export declare const OperationsTaskStatusEnum: {
|
|
13
|
+
readonly NotStarted: "not_started";
|
|
14
|
+
readonly InProgress: "in_progress";
|
|
15
|
+
readonly Completed: "completed";
|
|
16
|
+
readonly Skipped: "skipped";
|
|
17
|
+
};
|
|
@@ -3,13 +3,10 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.OperationsTaskStatusEnum = void 0;
|
|
7
|
+
exports.OperationsTaskStatusEnum = {
|
|
8
8
|
NotStarted: "not_started",
|
|
9
9
|
InProgress: "in_progress",
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Failure: "failure",
|
|
13
|
-
Error: "error",
|
|
14
|
-
Dismissed: "dismissed",
|
|
10
|
+
Completed: "completed",
|
|
11
|
+
Skipped: "skipped",
|
|
15
12
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Coarse functional buckets a dispatcher batch-processes (powers the
|
|
6
|
+
* per-type functional-queue index). Granular SOP specifics live in the Task's
|
|
7
|
+
* `title`/`description` + `tags`, not here.
|
|
8
|
+
*/
|
|
9
|
+
export type OperationsTaskTypeEnum = "review_order_details" | "book_cargo" | "dispatch_driver" | "verify_driver_readiness" | "share_instructions" | "monitor_transit" | "monitor_sla" | "call_driver" | "verify_task_artifacts" | "finalize_billing" | "custom" | "other";
|
|
10
|
+
export declare const OperationsTaskTypeEnum: {
|
|
11
|
+
readonly ReviewOrderDetails: "review_order_details";
|
|
12
|
+
readonly BookCargo: "book_cargo";
|
|
13
|
+
readonly DispatchDriver: "dispatch_driver";
|
|
14
|
+
readonly VerifyDriverReadiness: "verify_driver_readiness";
|
|
15
|
+
readonly ShareInstructions: "share_instructions";
|
|
16
|
+
readonly MonitorTransit: "monitor_transit";
|
|
17
|
+
readonly MonitorSla: "monitor_sla";
|
|
18
|
+
readonly CallDriver: "call_driver";
|
|
19
|
+
readonly VerifyTaskArtifacts: "verify_task_artifacts";
|
|
20
|
+
readonly FinalizeBilling: "finalize_billing";
|
|
21
|
+
readonly Custom: "custom";
|
|
22
|
+
readonly Other: "other";
|
|
23
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
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.OperationsTaskTypeEnum = void 0;
|
|
7
|
+
exports.OperationsTaskTypeEnum = {
|
|
8
|
+
ReviewOrderDetails: "review_order_details",
|
|
9
|
+
BookCargo: "book_cargo",
|
|
10
|
+
DispatchDriver: "dispatch_driver",
|
|
11
|
+
VerifyDriverReadiness: "verify_driver_readiness",
|
|
12
|
+
ShareInstructions: "share_instructions",
|
|
13
|
+
MonitorTransit: "monitor_transit",
|
|
14
|
+
MonitorSla: "monitor_sla",
|
|
15
|
+
CallDriver: "call_driver",
|
|
16
|
+
VerifyTaskArtifacts: "verify_task_artifacts",
|
|
17
|
+
FinalizeBilling: "finalize_billing",
|
|
18
|
+
Custom: "custom",
|
|
19
|
+
Other: "other",
|
|
20
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type RoutingCounterpartyTypeEnum = "shipper_org" | "off_chrt_shipper_org";
|
|
5
|
+
export declare const RoutingCounterpartyTypeEnum: {
|
|
6
|
+
readonly ShipperOrg: "shipper_org";
|
|
7
|
+
readonly OffChrtShipperOrg: "off_chrt_shipper_org";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.RoutingCounterpartyTypeEnum = void 0;
|
|
7
|
+
exports.RoutingCounterpartyTypeEnum = {
|
|
8
|
+
ShipperOrg: "shipper_org",
|
|
9
|
+
OffChrtShipperOrg: "off_chrt_shipper_org",
|
|
10
|
+
};
|
|
@@ -86,14 +86,10 @@ export * from "./CargojsonVolumeUnit.js";
|
|
|
86
86
|
export * from "./CargojsonWeight.js";
|
|
87
87
|
export * from "./CargojsonWeightUnit.js";
|
|
88
88
|
export * from "./Case1.js";
|
|
89
|
-
export * from "./CaseChecksDisableReq.js";
|
|
90
|
-
export * from "./CaseChecksDismissReq.js";
|
|
91
|
-
export * from "./CaseChecksSummary1.js";
|
|
92
89
|
export * from "./CaseListRes.js";
|
|
93
90
|
export * from "./CaseMessage1.js";
|
|
94
91
|
export * from "./CaseS3ObjectMetadata1.js";
|
|
95
92
|
export * from "./CaseSortByEnum.js";
|
|
96
|
-
export * from "./CaseStatusEnum.js";
|
|
97
93
|
export * from "./ChampAirWaybill1.js";
|
|
98
94
|
export * from "./ChampAirWaybillStatusEnum1.js";
|
|
99
95
|
export * from "./ChampConfirmationReceipt1.js";
|
|
@@ -101,13 +97,6 @@ export * from "./ChampFlightStatus1.js";
|
|
|
101
97
|
export * from "./ChampFlightStatusEvent1.js";
|
|
102
98
|
export * from "./ChampOriginAndDestination.js";
|
|
103
99
|
export * from "./ChampQuantity.js";
|
|
104
|
-
export * from "./Check1.js";
|
|
105
|
-
export * from "./CheckEnum.js";
|
|
106
|
-
export * from "./CheckStatusEnum.js";
|
|
107
|
-
export * from "./Checklist1.js";
|
|
108
|
-
export * from "./ChecklistCheck1.js";
|
|
109
|
-
export * from "./ChecklistListRes.js";
|
|
110
|
-
export * from "./ChecklistSortByEnum.js";
|
|
111
100
|
export * from "./ChrtGroundProviderRateSheet1.js";
|
|
112
101
|
export * from "./ChrtGroundProviderRateSheetListRes.js";
|
|
113
102
|
export * from "./ChrtGroundProviderTaskActionEnum1.js";
|
|
@@ -120,6 +109,7 @@ export * from "./CredentialInfoRes.js";
|
|
|
120
109
|
export * from "./DateTimeWindow1.js";
|
|
121
110
|
export * from "./Department1.js";
|
|
122
111
|
export * from "./DepartmentListRes.js";
|
|
112
|
+
export * from "./DepartmentRoutingRule1.js";
|
|
123
113
|
export * from "./DepartmentSortByEnum.js";
|
|
124
114
|
export * from "./DepartmentTypeEnum.js";
|
|
125
115
|
export * from "./DeviceExpandedRes.js";
|
|
@@ -210,8 +200,15 @@ export * from "./OperationsCaseOperatorAssignedWebhookPayload.js";
|
|
|
210
200
|
export * from "./OperationsCaseS3ObjectAddedWebhookPayload.js";
|
|
211
201
|
export * from "./OperationsTask1.js";
|
|
212
202
|
export * from "./OperationsTaskComment1.js";
|
|
203
|
+
export * from "./OperationsTaskList1.js";
|
|
204
|
+
export * from "./OperationsTaskListEntry1.js";
|
|
205
|
+
export * from "./OperationsTaskListListRes.js";
|
|
206
|
+
export * from "./OperationsTaskListRemoveFromCaseRes1.js";
|
|
213
207
|
export * from "./OperationsTaskListRes.js";
|
|
208
|
+
export * from "./OperationsTaskListSortByEnum.js";
|
|
214
209
|
export * from "./OperationsTaskSortByEnum.js";
|
|
210
|
+
export * from "./OperationsTaskStatusEnum.js";
|
|
211
|
+
export * from "./OperationsTaskTypeEnum.js";
|
|
215
212
|
export * from "./Order1.js";
|
|
216
213
|
export * from "./OrderAndTaskGroupExpandedReq.js";
|
|
217
214
|
export * from "./OrderBuilderPrecheckRes.js";
|
|
@@ -274,6 +271,7 @@ export * from "./ProviderOrgProfile1.js";
|
|
|
274
271
|
export * from "./ProviderProviderConnection1.js";
|
|
275
272
|
export * from "./RateSheetMapping1.js";
|
|
276
273
|
export * from "./RateSheetMappingListRes.js";
|
|
274
|
+
export * from "./RoutingCounterpartyTypeEnum.js";
|
|
277
275
|
export * from "./ScanPayloadKindEnum.js";
|
|
278
276
|
export * from "./ScheduleCalendarSpec.js";
|
|
279
277
|
export * from "./ScheduleIntervalSpec.js";
|
|
@@ -102,14 +102,10 @@ __exportStar(require("./CargojsonVolumeUnit.js"), exports);
|
|
|
102
102
|
__exportStar(require("./CargojsonWeight.js"), exports);
|
|
103
103
|
__exportStar(require("./CargojsonWeightUnit.js"), exports);
|
|
104
104
|
__exportStar(require("./Case1.js"), exports);
|
|
105
|
-
__exportStar(require("./CaseChecksDisableReq.js"), exports);
|
|
106
|
-
__exportStar(require("./CaseChecksDismissReq.js"), exports);
|
|
107
|
-
__exportStar(require("./CaseChecksSummary1.js"), exports);
|
|
108
105
|
__exportStar(require("./CaseListRes.js"), exports);
|
|
109
106
|
__exportStar(require("./CaseMessage1.js"), exports);
|
|
110
107
|
__exportStar(require("./CaseS3ObjectMetadata1.js"), exports);
|
|
111
108
|
__exportStar(require("./CaseSortByEnum.js"), exports);
|
|
112
|
-
__exportStar(require("./CaseStatusEnum.js"), exports);
|
|
113
109
|
__exportStar(require("./ChampAirWaybill1.js"), exports);
|
|
114
110
|
__exportStar(require("./ChampAirWaybillStatusEnum1.js"), exports);
|
|
115
111
|
__exportStar(require("./ChampConfirmationReceipt1.js"), exports);
|
|
@@ -117,13 +113,6 @@ __exportStar(require("./ChampFlightStatus1.js"), exports);
|
|
|
117
113
|
__exportStar(require("./ChampFlightStatusEvent1.js"), exports);
|
|
118
114
|
__exportStar(require("./ChampOriginAndDestination.js"), exports);
|
|
119
115
|
__exportStar(require("./ChampQuantity.js"), exports);
|
|
120
|
-
__exportStar(require("./Check1.js"), exports);
|
|
121
|
-
__exportStar(require("./CheckEnum.js"), exports);
|
|
122
|
-
__exportStar(require("./CheckStatusEnum.js"), exports);
|
|
123
|
-
__exportStar(require("./Checklist1.js"), exports);
|
|
124
|
-
__exportStar(require("./ChecklistCheck1.js"), exports);
|
|
125
|
-
__exportStar(require("./ChecklistListRes.js"), exports);
|
|
126
|
-
__exportStar(require("./ChecklistSortByEnum.js"), exports);
|
|
127
116
|
__exportStar(require("./ChrtGroundProviderRateSheet1.js"), exports);
|
|
128
117
|
__exportStar(require("./ChrtGroundProviderRateSheetListRes.js"), exports);
|
|
129
118
|
__exportStar(require("./ChrtGroundProviderTaskActionEnum1.js"), exports);
|
|
@@ -136,6 +125,7 @@ __exportStar(require("./CredentialInfoRes.js"), exports);
|
|
|
136
125
|
__exportStar(require("./DateTimeWindow1.js"), exports);
|
|
137
126
|
__exportStar(require("./Department1.js"), exports);
|
|
138
127
|
__exportStar(require("./DepartmentListRes.js"), exports);
|
|
128
|
+
__exportStar(require("./DepartmentRoutingRule1.js"), exports);
|
|
139
129
|
__exportStar(require("./DepartmentSortByEnum.js"), exports);
|
|
140
130
|
__exportStar(require("./DepartmentTypeEnum.js"), exports);
|
|
141
131
|
__exportStar(require("./DeviceExpandedRes.js"), exports);
|
|
@@ -226,8 +216,15 @@ __exportStar(require("./OperationsCaseOperatorAssignedWebhookPayload.js"), expor
|
|
|
226
216
|
__exportStar(require("./OperationsCaseS3ObjectAddedWebhookPayload.js"), exports);
|
|
227
217
|
__exportStar(require("./OperationsTask1.js"), exports);
|
|
228
218
|
__exportStar(require("./OperationsTaskComment1.js"), exports);
|
|
219
|
+
__exportStar(require("./OperationsTaskList1.js"), exports);
|
|
220
|
+
__exportStar(require("./OperationsTaskListEntry1.js"), exports);
|
|
221
|
+
__exportStar(require("./OperationsTaskListListRes.js"), exports);
|
|
222
|
+
__exportStar(require("./OperationsTaskListRemoveFromCaseRes1.js"), exports);
|
|
229
223
|
__exportStar(require("./OperationsTaskListRes.js"), exports);
|
|
224
|
+
__exportStar(require("./OperationsTaskListSortByEnum.js"), exports);
|
|
230
225
|
__exportStar(require("./OperationsTaskSortByEnum.js"), exports);
|
|
226
|
+
__exportStar(require("./OperationsTaskStatusEnum.js"), exports);
|
|
227
|
+
__exportStar(require("./OperationsTaskTypeEnum.js"), exports);
|
|
231
228
|
__exportStar(require("./Order1.js"), exports);
|
|
232
229
|
__exportStar(require("./OrderAndTaskGroupExpandedReq.js"), exports);
|
|
233
230
|
__exportStar(require("./OrderBuilderPrecheckRes.js"), exports);
|
|
@@ -290,6 +287,7 @@ __exportStar(require("./ProviderOrgProfile1.js"), exports);
|
|
|
290
287
|
__exportStar(require("./ProviderProviderConnection1.js"), exports);
|
|
291
288
|
__exportStar(require("./RateSheetMapping1.js"), exports);
|
|
292
289
|
__exportStar(require("./RateSheetMappingListRes.js"), exports);
|
|
290
|
+
__exportStar(require("./RoutingCounterpartyTypeEnum.js"), exports);
|
|
293
291
|
__exportStar(require("./ScanPayloadKindEnum.js"), exports);
|
|
294
292
|
__exportStar(require("./ScheduleCalendarSpec.js"), exports);
|
|
295
293
|
__exportStar(require("./ScheduleIntervalSpec.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.723.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.723.0",
|
|
24
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.723.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) });
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
import * as environments from "../../../../environments.mjs";
|
|
5
5
|
import * as core from "../../../../core/index.mjs";
|
|
6
6
|
import { Cases } from "../resources/cases/client/Client.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { DepartmentRoutingRules } from "../resources/departmentRoutingRules/client/Client.mjs";
|
|
8
8
|
import { Departments } from "../resources/departments/client/Client.mjs";
|
|
9
|
+
import { OperationsTaskLists } from "../resources/operationsTaskLists/client/Client.mjs";
|
|
9
10
|
import { OperationsTasks } from "../resources/operationsTasks/client/Client.mjs";
|
|
10
11
|
export declare namespace Operations {
|
|
11
12
|
interface Options {
|
|
@@ -21,12 +22,14 @@ export declare namespace Operations {
|
|
|
21
22
|
export declare class Operations {
|
|
22
23
|
protected readonly _options: Operations.Options;
|
|
23
24
|
protected _cases: Cases | undefined;
|
|
24
|
-
protected
|
|
25
|
+
protected _departmentRoutingRules: DepartmentRoutingRules | undefined;
|
|
25
26
|
protected _departments: Departments | undefined;
|
|
27
|
+
protected _operationsTaskLists: OperationsTaskLists | undefined;
|
|
26
28
|
protected _operationsTasks: OperationsTasks | undefined;
|
|
27
29
|
constructor(_options?: Operations.Options);
|
|
28
30
|
get cases(): Cases;
|
|
29
|
-
get
|
|
31
|
+
get departmentRoutingRules(): DepartmentRoutingRules;
|
|
30
32
|
get departments(): Departments;
|
|
33
|
+
get operationsTaskLists(): OperationsTaskLists;
|
|
31
34
|
get operationsTasks(): OperationsTasks;
|
|
32
35
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import { Cases } from "../resources/cases/client/Client.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { DepartmentRoutingRules } from "../resources/departmentRoutingRules/client/Client.mjs";
|
|
6
6
|
import { Departments } from "../resources/departments/client/Client.mjs";
|
|
7
|
+
import { OperationsTaskLists } from "../resources/operationsTaskLists/client/Client.mjs";
|
|
7
8
|
import { OperationsTasks } from "../resources/operationsTasks/client/Client.mjs";
|
|
8
9
|
export class Operations {
|
|
9
10
|
constructor(_options = {}) {
|
|
@@ -13,14 +14,18 @@ export class Operations {
|
|
|
13
14
|
var _a;
|
|
14
15
|
return ((_a = this._cases) !== null && _a !== void 0 ? _a : (this._cases = new Cases(this._options)));
|
|
15
16
|
}
|
|
16
|
-
get
|
|
17
|
+
get departmentRoutingRules() {
|
|
17
18
|
var _a;
|
|
18
|
-
return ((_a = this.
|
|
19
|
+
return ((_a = this._departmentRoutingRules) !== null && _a !== void 0 ? _a : (this._departmentRoutingRules = new DepartmentRoutingRules(this._options)));
|
|
19
20
|
}
|
|
20
21
|
get departments() {
|
|
21
22
|
var _a;
|
|
22
23
|
return ((_a = this._departments) !== null && _a !== void 0 ? _a : (this._departments = new Departments(this._options)));
|
|
23
24
|
}
|
|
25
|
+
get operationsTaskLists() {
|
|
26
|
+
var _a;
|
|
27
|
+
return ((_a = this._operationsTaskLists) !== null && _a !== void 0 ? _a : (this._operationsTaskLists = new OperationsTaskLists(this._options)));
|
|
28
|
+
}
|
|
24
29
|
get operationsTasks() {
|
|
25
30
|
var _a;
|
|
26
31
|
return ((_a = this._operationsTasks) !== null && _a !== void 0 ? _a : (this._operationsTasks = new OperationsTasks(this._options)));
|
|
@@ -33,106 +33,6 @@ export declare class Cases {
|
|
|
33
33
|
protected _s3Objects: S3Objects | undefined;
|
|
34
34
|
constructor(_options?: Cases.Options);
|
|
35
35
|
get s3Objects(): S3Objects;
|
|
36
|
-
/**
|
|
37
|
-
* Records image-analysis workflow results onto every participating org's Case for the order. Walks task_artifact -> task -> order, authorizes the caller against the shipping graph, then fans out to all Cases keyed on `order_id` — upserting one Check1 per surviving result keyed by (check, task_artifact_id) on each Case whose effective check set (`enabled - disabled`) includes it. Silently drops results for checks not in the image-uploaded event family, results for checks not in a given Case's effective set, and results whose existing row on that Case is DISMISSED. Returns True if any Case was updated. Intended to be called by the shipping_task_image_analysis Temporal workflow via an internal delegation JWT. | authz_personas=[driver_for_executor, executor_org_operators, shipper_org_operators, coordinator_org_operators] | (CaseChecksRecordImageAnalysisResultsReq) -> (bool)
|
|
38
|
-
*
|
|
39
|
-
* @param {string} taskArtifactId
|
|
40
|
-
* @param {Chrt.operations.CaseChecksRecordImageAnalysisResultsReq} request
|
|
41
|
-
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
|
-
*
|
|
43
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
44
|
-
*
|
|
45
|
-
* @example
|
|
46
|
-
* await client.operations.cases.recordImageAnalysisResultsV1("task_artifact_id", {
|
|
47
|
-
* results: {
|
|
48
|
-
* "key": "not_started"
|
|
49
|
-
* }
|
|
50
|
-
* })
|
|
51
|
-
*/
|
|
52
|
-
recordImageAnalysisResultsV1(taskArtifactId: string, request: Chrt.operations.CaseChecksRecordImageAnalysisResultsReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
53
|
-
private __recordImageAnalysisResultsV1;
|
|
54
|
-
/**
|
|
55
|
-
* Adds the Checklist's checks to the Case's enabled_check_keys (deduped) and records the Checklist id. Does not touch existing check runs. Idempotent. | authz: min_org_role=operator | (CaseChecksApplyChecklistReq) -> (bool)
|
|
56
|
-
*
|
|
57
|
-
* @param {string} caseId
|
|
58
|
-
* @param {Chrt.operations.CaseChecksApplyChecklistReq} request
|
|
59
|
-
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
60
|
-
*
|
|
61
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
62
|
-
*
|
|
63
|
-
* @example
|
|
64
|
-
* await client.operations.cases.applyChecklistV1("case_id", {
|
|
65
|
-
* checklist_id: "checklist_id"
|
|
66
|
-
* })
|
|
67
|
-
*/
|
|
68
|
-
applyChecklistV1(caseId: string, request: Chrt.operations.CaseChecksApplyChecklistReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
69
|
-
private __applyChecklistV1;
|
|
70
|
-
/**
|
|
71
|
-
* Adds a CheckEnum to the Case's disabled_check_keys (operator override). The Checklist that enabled the check stays applied; the workflow's effective set becomes enabled - disabled. Requires the CheckEnum to currently be in enabled_check_keys; otherwise 400. Existing check runs are untouched — operators dismiss them individually if they also want them out of summary counts. | authz: min_org_role=operator | (CaseChecksDisableReq) -> (bool)
|
|
72
|
-
*
|
|
73
|
-
* @param {string} caseId
|
|
74
|
-
* @param {Chrt.CaseChecksDisableReq} request
|
|
75
|
-
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
76
|
-
*
|
|
77
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
78
|
-
*
|
|
79
|
-
* @example
|
|
80
|
-
* await client.operations.cases.disableCheckV1("case_id", {
|
|
81
|
-
* check: "shipping.order.placed.order_details_reviewed"
|
|
82
|
-
* })
|
|
83
|
-
*/
|
|
84
|
-
disableCheckV1(caseId: string, request: Chrt.CaseChecksDisableReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
85
|
-
private __disableCheckV1;
|
|
86
|
-
/**
|
|
87
|
-
* Removes a CheckEnum from the Case's disabled_check_keys, restoring it to the workflow's effective set. Inverse of disable. No-op if the CheckEnum isn't currently disabled. | authz: min_org_role=operator | (CaseChecksDisableReq) -> (bool)
|
|
88
|
-
*
|
|
89
|
-
* @param {string} caseId
|
|
90
|
-
* @param {Chrt.CaseChecksDisableReq} request
|
|
91
|
-
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
92
|
-
*
|
|
93
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
94
|
-
*
|
|
95
|
-
* @example
|
|
96
|
-
* await client.operations.cases.enableCheckV1("case_id", {
|
|
97
|
-
* check: "shipping.order.placed.order_details_reviewed"
|
|
98
|
-
* })
|
|
99
|
-
*/
|
|
100
|
-
enableCheckV1(caseId: string, request: Chrt.CaseChecksDisableReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
101
|
-
private __enableCheckV1;
|
|
102
|
-
/**
|
|
103
|
-
* Transitions one (check, entity_id) Check1 to status=DISMISSED. Does not affect other runs of the same check on different entity_ids. | authz: min_org_role=operator | (CaseChecksDismissReq) -> (bool)
|
|
104
|
-
*
|
|
105
|
-
* @param {string} caseId
|
|
106
|
-
* @param {Chrt.CaseChecksDismissReq} request
|
|
107
|
-
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
108
|
-
*
|
|
109
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
110
|
-
*
|
|
111
|
-
* @example
|
|
112
|
-
* await client.operations.cases.dismissCheckV1("case_id", {
|
|
113
|
-
* check: "shipping.order.placed.order_details_reviewed",
|
|
114
|
-
* entity_id: "entity_id"
|
|
115
|
-
* })
|
|
116
|
-
*/
|
|
117
|
-
dismissCheckV1(caseId: string, request: Chrt.CaseChecksDismissReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
118
|
-
private __dismissCheckV1;
|
|
119
|
-
/**
|
|
120
|
-
* Transitions a DISMISSED (check, entity_id) Check1 back to NOT_STARTED so the next matching event re-evaluates it. No-op if not currently DISMISSED. | authz: min_org_role=operator | (CaseChecksDismissReq) -> (bool)
|
|
121
|
-
*
|
|
122
|
-
* @param {string} caseId
|
|
123
|
-
* @param {Chrt.CaseChecksDismissReq} request
|
|
124
|
-
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
125
|
-
*
|
|
126
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
127
|
-
*
|
|
128
|
-
* @example
|
|
129
|
-
* await client.operations.cases.undismissCheckV1("case_id", {
|
|
130
|
-
* check: "shipping.order.placed.order_details_reviewed",
|
|
131
|
-
* entity_id: "entity_id"
|
|
132
|
-
* })
|
|
133
|
-
*/
|
|
134
|
-
undismissCheckV1(caseId: string, request: Chrt.CaseChecksDismissReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
135
|
-
private __undismissCheckV1;
|
|
136
36
|
/**
|
|
137
37
|
* Lists cases for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (CaseListRes)
|
|
138
38
|
*
|
|
@@ -147,8 +47,7 @@ export declare class Cases {
|
|
|
147
47
|
* sort_order: "asc",
|
|
148
48
|
* page: 1,
|
|
149
49
|
* page_size: 1,
|
|
150
|
-
*
|
|
151
|
-
* filter_needs_action: true,
|
|
50
|
+
* filter_assigned_user_id: "filter_assigned_user_id",
|
|
152
51
|
* filter_unassigned: true
|
|
153
52
|
* })
|
|
154
53
|
*/
|
|
@@ -221,37 +120,18 @@ export declare class Cases {
|
|
|
221
120
|
getByOrderShortIdV1(orderShortId: string, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<Chrt.Case1>;
|
|
222
121
|
private __getByOrderShortIdV1;
|
|
223
122
|
/**
|
|
224
|
-
*
|
|
123
|
+
* Returns the department this case's order would map to from the shipper connection — a non-binding default for the UI. Department is never auto-applied; the frontend applies it explicitly via the update route. | authz: min_org_role=operator | () -> (PydanticObjectId | None)
|
|
225
124
|
*
|
|
226
125
|
* @param {string} caseId
|
|
227
|
-
* @param {Chrt.operations.CaseNeedsActionReq} request
|
|
228
126
|
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
229
127
|
*
|
|
230
128
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
231
129
|
*
|
|
232
130
|
* @example
|
|
233
|
-
* await client.operations.cases.
|
|
234
|
-
* needs_action: true
|
|
235
|
-
* })
|
|
236
|
-
*/
|
|
237
|
-
updateNeedsActionV1(caseId: string, request: Chrt.operations.CaseNeedsActionReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
238
|
-
private __updateNeedsActionV1;
|
|
239
|
-
/**
|
|
240
|
-
* Updates a case's status. Closing a case also clears needs_action. | authz: min_org_role=operator | (CaseStatusReq) -> (bool)
|
|
241
|
-
*
|
|
242
|
-
* @param {string} caseId
|
|
243
|
-
* @param {Chrt.operations.CaseStatusReq} request
|
|
244
|
-
* @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
|
|
245
|
-
*
|
|
246
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
247
|
-
*
|
|
248
|
-
* @example
|
|
249
|
-
* await client.operations.cases.updateStatusV1("case_id", {
|
|
250
|
-
* status: "open"
|
|
251
|
-
* })
|
|
131
|
+
* await client.operations.cases.getSuggestedDepartmentV1("case_id")
|
|
252
132
|
*/
|
|
253
|
-
|
|
254
|
-
private
|
|
133
|
+
getSuggestedDepartmentV1(caseId: string, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<(string | null) | undefined>;
|
|
134
|
+
private __getSuggestedDepartmentV1;
|
|
255
135
|
/**
|
|
256
136
|
* Adds operator(s) to a case. | authz: min_org_role=operator | (CaseAssignReq) -> (bool)
|
|
257
137
|
*
|