@chrt-inc/typescript-sdk 1.718.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 +6 -6
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.ts +2 -2
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +2 -2
- 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 +2 -1
- package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +16 -0
- package/dist/cjs/api/types/DepartmentSortByEnum.d.ts +2 -2
- package/dist/cjs/api/types/DepartmentSortByEnum.js +1 -1
- package/dist/cjs/api/types/{DepartmentEnum.d.ts → DepartmentTypeEnum.d.ts} +14 -9
- package/dist/cjs/api/types/{DepartmentEnum.js → DepartmentTypeEnum.js} +14 -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 +10 -12
- package/dist/cjs/api/types/index.js +10 -12
- 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 +6 -6
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.mts +2 -2
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +2 -2
- 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 +2 -1
- package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +16 -0
- package/dist/esm/api/types/DepartmentSortByEnum.d.mts +2 -2
- package/dist/esm/api/types/DepartmentSortByEnum.mjs +1 -1
- package/dist/esm/api/types/{DepartmentEnum.d.mts → DepartmentTypeEnum.d.mts} +14 -9
- package/dist/esm/api/types/{DepartmentEnum.mjs → DepartmentTypeEnum.mjs} +13 -8
- 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 +10 -12
- package/dist/esm/api/types/index.mjs +10 -12
- 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
package/dist/cjs/Client.js
CHANGED
|
@@ -56,8 +56,8 @@ class ChrtClient {
|
|
|
56
56
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
57
57
|
"X-Fern-Language": "JavaScript",
|
|
58
58
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
59
|
-
"X-Fern-SDK-Version": "1.
|
|
60
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
59
|
+
"X-Fern-SDK-Version": "1.723.0",
|
|
60
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.723.0",
|
|
61
61
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
62
62
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
63
63
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
import * as environments from "../../../../environments.js";
|
|
5
5
|
import * as core from "../../../../core/index.js";
|
|
6
6
|
import { Cases } from "../resources/cases/client/Client.js";
|
|
7
|
-
import {
|
|
7
|
+
import { DepartmentRoutingRules } from "../resources/departmentRoutingRules/client/Client.js";
|
|
8
8
|
import { Departments } from "../resources/departments/client/Client.js";
|
|
9
|
+
import { OperationsTaskLists } from "../resources/operationsTaskLists/client/Client.js";
|
|
9
10
|
import { OperationsTasks } from "../resources/operationsTasks/client/Client.js";
|
|
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
|
}
|
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Operations = void 0;
|
|
7
7
|
const Client_js_1 = require("../resources/cases/client/Client.js");
|
|
8
|
-
const Client_js_2 = require("../resources/
|
|
8
|
+
const Client_js_2 = require("../resources/departmentRoutingRules/client/Client.js");
|
|
9
9
|
const Client_js_3 = require("../resources/departments/client/Client.js");
|
|
10
|
-
const Client_js_4 = require("../resources/
|
|
10
|
+
const Client_js_4 = require("../resources/operationsTaskLists/client/Client.js");
|
|
11
|
+
const Client_js_5 = require("../resources/operationsTasks/client/Client.js");
|
|
11
12
|
class Operations {
|
|
12
13
|
constructor(_options = {}) {
|
|
13
14
|
this._options = _options;
|
|
@@ -16,17 +17,21 @@ class Operations {
|
|
|
16
17
|
var _a;
|
|
17
18
|
return ((_a = this._cases) !== null && _a !== void 0 ? _a : (this._cases = new Client_js_1.Cases(this._options)));
|
|
18
19
|
}
|
|
19
|
-
get
|
|
20
|
+
get departmentRoutingRules() {
|
|
20
21
|
var _a;
|
|
21
|
-
return ((_a = this.
|
|
22
|
+
return ((_a = this._departmentRoutingRules) !== null && _a !== void 0 ? _a : (this._departmentRoutingRules = new Client_js_2.DepartmentRoutingRules(this._options)));
|
|
22
23
|
}
|
|
23
24
|
get departments() {
|
|
24
25
|
var _a;
|
|
25
26
|
return ((_a = this._departments) !== null && _a !== void 0 ? _a : (this._departments = new Client_js_3.Departments(this._options)));
|
|
26
27
|
}
|
|
28
|
+
get operationsTaskLists() {
|
|
29
|
+
var _a;
|
|
30
|
+
return ((_a = this._operationsTaskLists) !== null && _a !== void 0 ? _a : (this._operationsTaskLists = new Client_js_4.OperationsTaskLists(this._options)));
|
|
31
|
+
}
|
|
27
32
|
get operationsTasks() {
|
|
28
33
|
var _a;
|
|
29
|
-
return ((_a = this._operationsTasks) !== null && _a !== void 0 ? _a : (this._operationsTasks = new
|
|
34
|
+
return ((_a = this._operationsTasks) !== null && _a !== void 0 ? _a : (this._operationsTasks = new Client_js_5.OperationsTasks(this._options)));
|
|
30
35
|
}
|
|
31
36
|
}
|
|
32
37
|
exports.Operations = Operations;
|
|
@@ -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
|
*
|