@chrt-inc/typescript-sdk 1.719.0 → 1.726.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.
Files changed (337) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/analytics/resources/shipping/client/Client.d.ts +3 -3
  3. package/dist/cjs/api/resources/analytics/resources/shipping/client/Client.js +2 -2
  4. package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.d.ts → AnalyticsTimePeriodReq.d.ts} +1 -1
  5. package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/index.d.ts +1 -1
  6. package/dist/cjs/api/resources/operations/client/Client.d.ts +6 -3
  7. package/dist/cjs/api/resources/operations/client/Client.js +10 -5
  8. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +5 -125
  9. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +17 -494
  10. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.ts +1 -0
  11. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +3 -8
  12. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +0 -4
  13. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +76 -0
  14. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +246 -0
  15. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.ts +19 -0
  16. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +1 -1
  18. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +1 -1
  19. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.ts +1 -1
  20. package/dist/cjs/api/resources/operations/resources/index.d.ts +4 -2
  21. package/dist/cjs/api/resources/operations/resources/index.js +5 -3
  22. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +181 -0
  23. package/dist/cjs/api/resources/operations/resources/{checklists → operationsTaskLists}/client/Client.js +206 -75
  24. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/index.d.ts +2 -0
  25. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/index.js +17 -0
  26. package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.d.ts → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.ts} +3 -2
  27. 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
  28. package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.d.ts → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.d.ts} +2 -2
  29. package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.d.ts → operations/resources/operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.d.ts} +2 -2
  30. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.ts +13 -0
  31. package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistsListV1Request.d.ts → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.ts} +2 -2
  32. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +6 -0
  33. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.js +2 -0
  34. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/index.d.ts +1 -0
  35. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/index.js +17 -0
  36. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +23 -5
  37. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +108 -14
  38. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +7 -2
  39. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +4 -0
  40. package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.d.ts → operationsTasks/client/requests/OperationsTaskStatusReq.d.ts} +3 -3
  41. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +15 -6
  42. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -0
  43. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +0 -14
  44. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +0 -63
  45. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +0 -1
  46. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +0 -1
  47. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +0 -2
  48. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +0 -1
  49. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +0 -2
  50. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +17 -0
  51. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +66 -0
  52. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.d.ts +15 -0
  53. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +1 -0
  54. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +15 -0
  55. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +64 -0
  56. package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.ts → shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.d.ts} +3 -3
  57. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -0
  58. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/index.d.ts +1 -0
  59. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +57 -1
  60. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +247 -1
  61. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.ts +13 -0
  62. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.ts +13 -0
  63. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +2 -0
  64. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +16 -1
  65. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +65 -1
  66. package/dist/cjs/api/resources/{operations/resources/cases/client/requests/CaseNeedsActionReq.d.ts → shipping/resources/orders/client/requests/OrdersCancelManyReq.d.ts} +3 -3
  67. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +1 -0
  68. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -6
  69. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +26 -34
  70. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +4 -6
  71. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +4 -6
  72. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +4 -2
  73. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +26 -18
  74. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +4 -2
  75. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +4 -2
  76. package/dist/cjs/api/types/AiImageDescription.d.ts +1 -1
  77. package/dist/cjs/api/types/{AnalyticsTimeBucketResponse.d.ts → AnalyticsTimeBucketRes.d.ts} +1 -1
  78. package/dist/cjs/api/types/Cargo1.d.ts +1 -0
  79. package/dist/cjs/api/types/CargoStatusEnum1.d.ts +2 -1
  80. package/dist/cjs/api/types/CargoStatusEnum1.js +1 -0
  81. package/dist/cjs/api/types/Case1.d.ts +1 -12
  82. package/dist/cjs/api/types/CaseSortByEnum.d.ts +1 -2
  83. package/dist/cjs/api/types/CaseSortByEnum.js +0 -1
  84. package/dist/cjs/api/types/Department1.d.ts +1 -0
  85. package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +16 -0
  86. package/dist/cjs/api/types/DepartmentTypeEnum.d.ts +10 -10
  87. package/dist/cjs/api/types/DepartmentTypeEnum.js +9 -9
  88. package/dist/cjs/api/types/DriverStatsRes.d.ts +11 -0
  89. package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +0 -1
  90. package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +0 -1
  91. package/dist/cjs/api/types/OperationsTask1.d.ts +7 -2
  92. package/dist/cjs/api/types/{Checklist1.d.ts → OperationsTaskList1.d.ts} +3 -2
  93. package/dist/cjs/api/types/OperationsTaskListEntry1.d.ts +23 -0
  94. package/dist/cjs/api/types/{ChecklistListRes.d.ts → OperationsTaskListListRes.d.ts} +2 -2
  95. package/dist/cjs/api/types/OperationsTaskListListRes.js +5 -0
  96. package/dist/cjs/api/types/OperationsTaskListRemoveFromCaseRes1.d.ts +13 -0
  97. package/dist/cjs/api/types/OperationsTaskListRemoveFromCaseRes1.js +5 -0
  98. package/dist/{esm/api/types/ChecklistSortByEnum.d.mts → cjs/api/types/OperationsTaskListSortByEnum.d.ts} +2 -2
  99. package/dist/cjs/api/types/{ChecklistSortByEnum.js → OperationsTaskListSortByEnum.js} +2 -2
  100. package/dist/cjs/api/types/OperationsTaskStatusEnum.d.ts +17 -0
  101. package/dist/cjs/api/types/{CheckStatusEnum.js → OperationsTaskStatusEnum.js} +4 -7
  102. package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +23 -0
  103. package/dist/cjs/api/types/OperationsTaskTypeEnum.js +20 -0
  104. package/dist/cjs/api/types/Order1.d.ts +1 -2
  105. package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +1 -0
  106. package/dist/cjs/api/types/OrderManifestValidationRequirements.d.ts +1 -0
  107. package/dist/cjs/api/types/OrderSortByEnum.d.ts +2 -2
  108. package/dist/cjs/api/types/OrderSortByEnum.js +1 -1
  109. package/dist/cjs/api/types/OrderStatusEnum1.d.ts +2 -1
  110. package/dist/cjs/api/types/OrderStatusEnum1.js +1 -0
  111. package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +0 -1
  112. package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.d.ts +8 -0
  113. package/dist/cjs/api/types/RoutingCounterpartyTypeEnum.js +10 -0
  114. package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +0 -1
  115. package/dist/cjs/api/types/Task1.d.ts +1 -1
  116. package/dist/cjs/api/types/TaskArtifact1.d.ts +1 -0
  117. package/dist/cjs/api/types/TaskArtifactStatusEnum1.d.ts +2 -1
  118. package/dist/cjs/api/types/TaskArtifactStatusEnum1.js +1 -0
  119. package/dist/cjs/api/types/TaskGroup1.d.ts +1 -1
  120. package/dist/cjs/api/types/TaskGroupSortByEnum.d.ts +2 -1
  121. package/dist/cjs/api/types/TaskGroupSortByEnum.js +1 -0
  122. package/dist/cjs/api/types/TaskGroupStatusEnum1.d.ts +2 -1
  123. package/dist/cjs/api/types/TaskGroupStatusEnum1.js +1 -0
  124. package/dist/cjs/api/types/TaskStatusEnum1.d.ts +2 -1
  125. package/dist/cjs/api/types/TaskStatusEnum1.js +1 -0
  126. package/dist/cjs/api/types/index.d.ts +11 -12
  127. package/dist/cjs/api/types/index.js +11 -12
  128. package/dist/cjs/version.d.ts +1 -1
  129. package/dist/cjs/version.js +1 -1
  130. package/dist/esm/Client.mjs +2 -2
  131. package/dist/esm/api/resources/analytics/resources/shipping/client/Client.d.mts +3 -3
  132. package/dist/esm/api/resources/analytics/resources/shipping/client/Client.mjs +2 -2
  133. package/dist/esm/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.d.mts → AnalyticsTimePeriodReq.d.mts} +1 -1
  134. package/dist/esm/api/resources/analytics/resources/shipping/client/requests/index.d.mts +1 -1
  135. package/dist/esm/api/resources/operations/client/Client.d.mts +6 -3
  136. package/dist/esm/api/resources/operations/client/Client.mjs +8 -3
  137. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +5 -125
  138. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +17 -494
  139. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.mts +1 -0
  140. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +3 -8
  141. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +0 -4
  142. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +76 -0
  143. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +209 -0
  144. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.mts +19 -0
  145. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.mts +1 -0
  146. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +1 -1
  147. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +1 -1
  148. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.mts +1 -1
  149. package/dist/esm/api/resources/operations/resources/index.d.mts +4 -2
  150. package/dist/esm/api/resources/operations/resources/index.mjs +4 -2
  151. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +181 -0
  152. package/dist/esm/api/resources/operations/resources/{checklists → operationsTaskLists}/client/Client.mjs +204 -73
  153. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/index.d.mts +2 -0
  154. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/index.mjs +1 -0
  155. package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.d.mts → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.mts} +3 -2
  156. 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
  157. package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.d.mts → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.d.mts} +2 -2
  158. package/dist/esm/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.d.mts → operations/resources/operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.d.mts} +2 -2
  159. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.d.mts +13 -0
  160. package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistsListV1Request.d.mts → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.mts} +2 -2
  161. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +6 -0
  162. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.mjs +1 -0
  163. package/dist/esm/api/resources/operations/resources/operationsTaskLists/index.d.mts +1 -0
  164. package/dist/esm/api/resources/operations/resources/operationsTaskLists/index.mjs +1 -0
  165. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +23 -5
  166. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +108 -14
  167. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +7 -2
  168. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +4 -0
  169. package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.d.mts → operationsTasks/client/requests/OperationsTaskStatusReq.d.mts} +3 -3
  170. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +15 -6
  171. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
  172. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +0 -14
  173. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +0 -63
  174. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +0 -1
  175. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +0 -1
  176. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +0 -2
  177. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +0 -1
  178. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +0 -2
  179. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +17 -0
  180. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +66 -0
  181. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.d.mts +15 -0
  182. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +1 -0
  183. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +15 -0
  184. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +64 -0
  185. package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseChecksApplyChecklistReq.d.mts → shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.d.mts} +3 -3
  186. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -0
  187. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/index.d.mts +1 -0
  188. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +57 -1
  189. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +247 -1
  190. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.mts +13 -0
  191. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.d.mts +13 -0
  192. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +2 -0
  193. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +16 -1
  194. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +65 -1
  195. package/dist/esm/api/resources/{operations/resources/cases/client/requests/CaseNeedsActionReq.d.mts → shipping/resources/orders/client/requests/OrdersCancelManyReq.d.mts} +3 -3
  196. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +1 -0
  197. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -6
  198. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +26 -34
  199. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +4 -6
  200. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +4 -6
  201. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +4 -2
  202. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +26 -18
  203. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +4 -2
  204. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +4 -2
  205. package/dist/esm/api/types/AiImageDescription.d.mts +1 -1
  206. package/dist/esm/api/types/{AnalyticsTimeBucketResponse.d.mts → AnalyticsTimeBucketRes.d.mts} +1 -1
  207. package/dist/esm/api/types/Cargo1.d.mts +1 -0
  208. package/dist/esm/api/types/CargoStatusEnum1.d.mts +2 -1
  209. package/dist/esm/api/types/CargoStatusEnum1.mjs +1 -0
  210. package/dist/esm/api/types/Case1.d.mts +1 -12
  211. package/dist/esm/api/types/CaseSortByEnum.d.mts +1 -2
  212. package/dist/esm/api/types/CaseSortByEnum.mjs +0 -1
  213. package/dist/esm/api/types/Department1.d.mts +1 -0
  214. package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +16 -0
  215. package/dist/esm/api/types/DepartmentTypeEnum.d.mts +10 -10
  216. package/dist/esm/api/types/DepartmentTypeEnum.mjs +9 -9
  217. package/dist/esm/api/types/DriverStatsRes.d.mts +11 -0
  218. package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +0 -1
  219. package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +0 -1
  220. package/dist/esm/api/types/OperationsTask1.d.mts +7 -2
  221. package/dist/esm/api/types/{Checklist1.d.mts → OperationsTaskList1.d.mts} +3 -2
  222. package/dist/esm/api/types/OperationsTaskListEntry1.d.mts +23 -0
  223. package/dist/esm/api/types/{ChecklistListRes.d.mts → OperationsTaskListListRes.d.mts} +2 -2
  224. package/dist/esm/api/types/OperationsTaskListListRes.mjs +4 -0
  225. package/dist/esm/api/types/OperationsTaskListRemoveFromCaseRes1.d.mts +13 -0
  226. package/dist/esm/api/types/OperationsTaskListRemoveFromCaseRes1.mjs +4 -0
  227. package/dist/{cjs/api/types/ChecklistSortByEnum.d.ts → esm/api/types/OperationsTaskListSortByEnum.d.mts} +2 -2
  228. package/dist/esm/api/types/{ChecklistSortByEnum.mjs → OperationsTaskListSortByEnum.mjs} +1 -1
  229. package/dist/esm/api/types/OperationsTaskStatusEnum.d.mts +17 -0
  230. package/dist/esm/api/types/OperationsTaskStatusEnum.mjs +9 -0
  231. package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +23 -0
  232. package/dist/esm/api/types/OperationsTaskTypeEnum.mjs +17 -0
  233. package/dist/esm/api/types/Order1.d.mts +1 -2
  234. package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +1 -0
  235. package/dist/esm/api/types/OrderManifestValidationRequirements.d.mts +1 -0
  236. package/dist/esm/api/types/OrderSortByEnum.d.mts +2 -2
  237. package/dist/esm/api/types/OrderSortByEnum.mjs +1 -1
  238. package/dist/esm/api/types/OrderStatusEnum1.d.mts +2 -1
  239. package/dist/esm/api/types/OrderStatusEnum1.mjs +1 -0
  240. package/dist/esm/api/types/ProviderProviderConnection1.d.mts +0 -1
  241. package/dist/esm/api/types/RoutingCounterpartyTypeEnum.d.mts +8 -0
  242. package/dist/esm/api/types/RoutingCounterpartyTypeEnum.mjs +7 -0
  243. package/dist/esm/api/types/ShipperProviderConnection1.d.mts +0 -1
  244. package/dist/esm/api/types/Task1.d.mts +1 -1
  245. package/dist/esm/api/types/TaskArtifact1.d.mts +1 -0
  246. package/dist/esm/api/types/TaskArtifactStatusEnum1.d.mts +2 -1
  247. package/dist/esm/api/types/TaskArtifactStatusEnum1.mjs +1 -0
  248. package/dist/esm/api/types/TaskGroup1.d.mts +1 -1
  249. package/dist/esm/api/types/TaskGroupSortByEnum.d.mts +2 -1
  250. package/dist/esm/api/types/TaskGroupSortByEnum.mjs +1 -0
  251. package/dist/esm/api/types/TaskGroupStatusEnum1.d.mts +2 -1
  252. package/dist/esm/api/types/TaskGroupStatusEnum1.mjs +1 -0
  253. package/dist/esm/api/types/TaskStatusEnum1.d.mts +2 -1
  254. package/dist/esm/api/types/TaskStatusEnum1.mjs +1 -0
  255. package/dist/esm/api/types/index.d.mts +11 -12
  256. package/dist/esm/api/types/index.mjs +11 -12
  257. package/dist/esm/version.d.mts +1 -1
  258. package/dist/esm/version.mjs +1 -1
  259. package/package.json +1 -1
  260. package/reference.md +816 -516
  261. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.ts +0 -15
  262. package/dist/cjs/api/resources/operations/resources/checklists/client/Client.d.ts +0 -150
  263. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.ts +0 -11
  264. package/dist/cjs/api/resources/operations/resources/checklists/client/requests/index.d.ts +0 -5
  265. package/dist/cjs/api/types/CaseChecksDisableReq.d.ts +0 -7
  266. package/dist/cjs/api/types/CaseChecksDismissReq.d.ts +0 -8
  267. package/dist/cjs/api/types/CaseChecksSummary1.d.ts +0 -27
  268. package/dist/cjs/api/types/CaseStatusEnum.d.ts +0 -9
  269. package/dist/cjs/api/types/CaseStatusEnum.js +0 -11
  270. package/dist/cjs/api/types/Check1.d.ts +0 -33
  271. package/dist/cjs/api/types/CheckEnum.d.ts +0 -46
  272. package/dist/cjs/api/types/CheckEnum.js +0 -23
  273. package/dist/cjs/api/types/CheckStatusEnum.d.ts +0 -32
  274. package/dist/cjs/api/types/ChecklistCheck1.d.ts +0 -15
  275. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.d.mts +0 -15
  276. package/dist/esm/api/resources/operations/resources/checklists/client/Client.d.mts +0 -150
  277. package/dist/esm/api/resources/operations/resources/checklists/client/requests/ChecklistChecksRemove1.d.mts +0 -11
  278. package/dist/esm/api/resources/operations/resources/checklists/client/requests/index.d.mts +0 -5
  279. package/dist/esm/api/types/CaseChecksDisableReq.d.mts +0 -7
  280. package/dist/esm/api/types/CaseChecksDismissReq.d.mts +0 -8
  281. package/dist/esm/api/types/CaseChecksSummary1.d.mts +0 -27
  282. package/dist/esm/api/types/CaseStatusEnum.d.mts +0 -9
  283. package/dist/esm/api/types/CaseStatusEnum.mjs +0 -8
  284. package/dist/esm/api/types/Check1.d.mts +0 -33
  285. package/dist/esm/api/types/CheckEnum.d.mts +0 -46
  286. package/dist/esm/api/types/CheckEnum.mjs +0 -20
  287. package/dist/esm/api/types/CheckStatusEnum.d.mts +0 -32
  288. package/dist/esm/api/types/CheckStatusEnum.mjs +0 -12
  289. package/dist/esm/api/types/ChecklistCheck1.d.mts +0 -15
  290. /package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.js → AnalyticsTimePeriodReq.js} +0 -0
  291. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.d.ts +0 -0
  292. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.js +0 -0
  293. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseChecksApplyChecklistReq.js → departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.js} +0 -0
  294. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/requests/index.js +0 -0
  295. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.d.ts +0 -0
  296. /package/dist/cjs/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.js +0 -0
  297. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.js → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.js} +0 -0
  298. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseNeedsActionReq.js → operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.js} +0 -0
  299. /package/dist/cjs/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.js → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.js} +0 -0
  300. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.js → operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.js} +0 -0
  301. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksRemove1.js → operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.js} +0 -0
  302. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.js → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.js} +0 -0
  303. /package/dist/cjs/api/resources/operations/resources/{checklists/client/requests/ChecklistClientUpdate1.js → operationsTasks/client/requests/OperationsTaskStatusReq.js} +0 -0
  304. /package/dist/cjs/api/resources/{operations/resources/checklists/client/requests/ChecklistsListV1Request.js → shipping/resources/drivers/client/requests/DriverStatsReq.js} +0 -0
  305. /package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.js → shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.js} +0 -0
  306. /package/dist/cjs/api/{types/AnalyticsTimeBucketResponse.js → resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.js} +0 -0
  307. /package/dist/cjs/api/{types/CaseChecksDisableReq.js → resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.js} +0 -0
  308. /package/dist/cjs/api/{types/CaseChecksDismissReq.js → resources/shipping/resources/orders/client/requests/OrdersCancelManyReq.js} +0 -0
  309. /package/dist/cjs/api/types/{CaseChecksSummary1.js → AnalyticsTimeBucketRes.js} +0 -0
  310. /package/dist/cjs/api/types/{Check1.js → DepartmentRoutingRule1.js} +0 -0
  311. /package/dist/cjs/api/types/{Checklist1.js → DriverStatsRes.js} +0 -0
  312. /package/dist/cjs/api/types/{ChecklistCheck1.js → OperationsTaskList1.js} +0 -0
  313. /package/dist/cjs/api/types/{ChecklistListRes.js → OperationsTaskListEntry1.js} +0 -0
  314. /package/dist/esm/api/resources/analytics/resources/shipping/client/requests/{AnalyticsTimePeriodRequest.mjs → AnalyticsTimePeriodReq.mjs} +0 -0
  315. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.d.mts +0 -0
  316. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/index.mjs +0 -0
  317. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseChecksApplyChecklistReq.mjs → departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.mjs} +0 -0
  318. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/client/requests/index.mjs +0 -0
  319. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.d.mts +0 -0
  320. /package/dist/esm/api/resources/operations/resources/{checklists → departmentRoutingRules}/index.mjs +0 -0
  321. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseChecksRecordImageAnalysisResultsReq.mjs → operationsTaskLists/client/requests/OperationsTaskListClientCreate1.mjs} +0 -0
  322. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseNeedsActionReq.mjs → operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.mjs} +0 -0
  323. /package/dist/esm/api/resources/operations/resources/{cases/client/requests/CaseStatusReq.mjs → operationsTaskLists/client/requests/OperationsTaskListEntriesAdd1.mjs} +0 -0
  324. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksAdd1.mjs → operationsTaskLists/client/requests/OperationsTaskListEntriesRemove1.mjs} +0 -0
  325. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistChecksRemove1.mjs → operationsTaskLists/client/requests/OperationsTaskListsApplyToCaseV1Request.mjs} +0 -0
  326. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientCreate1.mjs → operationsTaskLists/client/requests/OperationsTaskListsListV1Request.mjs} +0 -0
  327. /package/dist/esm/api/resources/operations/resources/{checklists/client/requests/ChecklistClientUpdate1.mjs → operationsTasks/client/requests/OperationsTaskStatusReq.mjs} +0 -0
  328. /package/dist/esm/api/resources/{operations/resources/checklists/client/requests/ChecklistsListV1Request.mjs → shipping/resources/drivers/client/requests/DriverStatsReq.mjs} +0 -0
  329. /package/dist/esm/api/resources/{orgs/resources/connections/client/requests/SetDepartmentReq.mjs → shipping/resources/orderDrafts/client/requests/OrdersDraftDeleteManyReq.mjs} +0 -0
  330. /package/dist/esm/api/{types/AnalyticsTimeBucketResponse.mjs → resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.mjs} +0 -0
  331. /package/dist/esm/api/{types/CaseChecksDisableReq.mjs → resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftUpdateDriverReq.mjs} +0 -0
  332. /package/dist/esm/api/{types/CaseChecksDismissReq.mjs → resources/shipping/resources/orders/client/requests/OrdersCancelManyReq.mjs} +0 -0
  333. /package/dist/esm/api/types/{CaseChecksSummary1.mjs → AnalyticsTimeBucketRes.mjs} +0 -0
  334. /package/dist/esm/api/types/{Check1.mjs → DepartmentRoutingRule1.mjs} +0 -0
  335. /package/dist/esm/api/types/{Checklist1.mjs → DriverStatsRes.mjs} +0 -0
  336. /package/dist/esm/api/types/{ChecklistCheck1.mjs → OperationsTaskList1.mjs} +0 -0
  337. /package/dist/esm/api/types/{ChecklistListRes.mjs → OperationsTaskListEntry1.mjs} +0 -0
@@ -0,0 +1,76 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments.js";
5
+ import * as core from "../../../../../../core/index.js";
6
+ import * as Chrt from "../../../../../index.js";
7
+ export declare namespace DepartmentRoutingRules {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
26
+ /** Additional headers to include in the request. */
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
+ }
29
+ }
30
+ export declare class DepartmentRoutingRules {
31
+ protected readonly _options: DepartmentRoutingRules.Options;
32
+ constructor(_options?: DepartmentRoutingRules.Options);
33
+ /**
34
+ * Lists the caller org's department routing rules. | authz: min_org_role=operator | () -> (list[DepartmentRoutingRule1])
35
+ *
36
+ * @param {DepartmentRoutingRules.RequestOptions} requestOptions - Request-specific configuration.
37
+ *
38
+ * @example
39
+ * await client.operations.departmentRoutingRules.listV1()
40
+ */
41
+ listV1(requestOptions?: DepartmentRoutingRules.RequestOptions): core.HttpResponsePromise<Chrt.DepartmentRoutingRule1[]>;
42
+ private __listV1;
43
+ /**
44
+ * Sets the caller org's default operations desk for a counterparty (on-chrt shipper or off-chrt shipper shell). Upsert: one rule per (owner, counterparty). Returns the rule id. The mapping is a non-binding suggestion surfaced at Case creation. | authz: min_org_role=administrator | (DepartmentRoutingRuleClientCreate1) -> (PydanticObjectId)
45
+ *
46
+ * @param {Chrt.operations.DepartmentRoutingRuleClientCreate1} request
47
+ * @param {DepartmentRoutingRules.RequestOptions} requestOptions - Request-specific configuration.
48
+ *
49
+ * @throws {@link Chrt.UnprocessableEntityError}
50
+ *
51
+ * @example
52
+ * await client.operations.departmentRoutingRules.upsertV1({
53
+ * schema_version: 1,
54
+ * counterparty_type: "shipper_org",
55
+ * counterparty_id: "counterparty_id",
56
+ * department_id: "department_id"
57
+ * })
58
+ */
59
+ upsertV1(request: Chrt.operations.DepartmentRoutingRuleClientCreate1, requestOptions?: DepartmentRoutingRules.RequestOptions): core.HttpResponsePromise<string>;
60
+ private __upsertV1;
61
+ /**
62
+ * Clears the caller org's default operations desk for a counterparty. | authz: min_org_role=administrator | () -> (bool)
63
+ *
64
+ * @param {Chrt.RoutingCounterpartyTypeEnum} counterpartyType
65
+ * @param {string} counterpartyId
66
+ * @param {DepartmentRoutingRules.RequestOptions} requestOptions - Request-specific configuration.
67
+ *
68
+ * @throws {@link Chrt.UnprocessableEntityError}
69
+ *
70
+ * @example
71
+ * await client.operations.departmentRoutingRules.deleteV1("shipper_org", "counterparty_id")
72
+ */
73
+ deleteV1(counterpartyType: Chrt.RoutingCounterpartyTypeEnum, counterpartyId: string, requestOptions?: DepartmentRoutingRules.RequestOptions): core.HttpResponsePromise<boolean>;
74
+ private __deleteV1;
75
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
76
+ }
@@ -0,0 +1,246 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.DepartmentRoutingRules = void 0;
49
+ const environments = __importStar(require("../../../../../../environments.js"));
50
+ const core = __importStar(require("../../../../../../core/index.js"));
51
+ const Chrt = __importStar(require("../../../../../index.js"));
52
+ const headers_js_1 = require("../../../../../../core/headers.js");
53
+ const errors = __importStar(require("../../../../../../errors/index.js"));
54
+ class DepartmentRoutingRules {
55
+ constructor(_options = {}) {
56
+ this._options = _options;
57
+ }
58
+ /**
59
+ * Lists the caller org's department routing rules. | authz: min_org_role=operator | () -> (list[DepartmentRoutingRule1])
60
+ *
61
+ * @param {DepartmentRoutingRules.RequestOptions} requestOptions - Request-specific configuration.
62
+ *
63
+ * @example
64
+ * await client.operations.departmentRoutingRules.listV1()
65
+ */
66
+ listV1(requestOptions) {
67
+ return core.HttpResponsePromise.fromPromise(this.__listV1(requestOptions));
68
+ }
69
+ __listV1(requestOptions) {
70
+ return __awaiter(this, void 0, void 0, function* () {
71
+ var _a, _b, _c, _d;
72
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
73
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
74
+ 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, "operations/department_routing_rules/v1"),
75
+ method: "GET",
76
+ headers: _headers,
77
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
78
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
79
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
80
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
81
+ });
82
+ if (_response.ok) {
83
+ return { data: _response.body, rawResponse: _response.rawResponse };
84
+ }
85
+ if (_response.error.reason === "status-code") {
86
+ throw new errors.ChrtError({
87
+ statusCode: _response.error.statusCode,
88
+ body: _response.error.body,
89
+ rawResponse: _response.rawResponse,
90
+ });
91
+ }
92
+ switch (_response.error.reason) {
93
+ case "non-json":
94
+ throw new errors.ChrtError({
95
+ statusCode: _response.error.statusCode,
96
+ body: _response.error.rawBody,
97
+ rawResponse: _response.rawResponse,
98
+ });
99
+ case "timeout":
100
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /operations/department_routing_rules/v1.");
101
+ case "unknown":
102
+ throw new errors.ChrtError({
103
+ message: _response.error.errorMessage,
104
+ rawResponse: _response.rawResponse,
105
+ });
106
+ }
107
+ });
108
+ }
109
+ /**
110
+ * Sets the caller org's default operations desk for a counterparty (on-chrt shipper or off-chrt shipper shell). Upsert: one rule per (owner, counterparty). Returns the rule id. The mapping is a non-binding suggestion surfaced at Case creation. | authz: min_org_role=administrator | (DepartmentRoutingRuleClientCreate1) -> (PydanticObjectId)
111
+ *
112
+ * @param {Chrt.operations.DepartmentRoutingRuleClientCreate1} request
113
+ * @param {DepartmentRoutingRules.RequestOptions} requestOptions - Request-specific configuration.
114
+ *
115
+ * @throws {@link Chrt.UnprocessableEntityError}
116
+ *
117
+ * @example
118
+ * await client.operations.departmentRoutingRules.upsertV1({
119
+ * schema_version: 1,
120
+ * counterparty_type: "shipper_org",
121
+ * counterparty_id: "counterparty_id",
122
+ * department_id: "department_id"
123
+ * })
124
+ */
125
+ upsertV1(request, requestOptions) {
126
+ return core.HttpResponsePromise.fromPromise(this.__upsertV1(request, requestOptions));
127
+ }
128
+ __upsertV1(request, requestOptions) {
129
+ return __awaiter(this, void 0, void 0, function* () {
130
+ var _a, _b, _c, _d;
131
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
132
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
133
+ 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, "operations/department_routing_rules/v1"),
134
+ method: "PUT",
135
+ headers: _headers,
136
+ contentType: "application/json",
137
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
138
+ requestType: "json",
139
+ body: request,
140
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
141
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
142
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
143
+ });
144
+ if (_response.ok) {
145
+ return { data: _response.body, rawResponse: _response.rawResponse };
146
+ }
147
+ if (_response.error.reason === "status-code") {
148
+ switch (_response.error.statusCode) {
149
+ case 422:
150
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
151
+ default:
152
+ throw new errors.ChrtError({
153
+ statusCode: _response.error.statusCode,
154
+ body: _response.error.body,
155
+ rawResponse: _response.rawResponse,
156
+ });
157
+ }
158
+ }
159
+ switch (_response.error.reason) {
160
+ case "non-json":
161
+ throw new errors.ChrtError({
162
+ statusCode: _response.error.statusCode,
163
+ body: _response.error.rawBody,
164
+ rawResponse: _response.rawResponse,
165
+ });
166
+ case "timeout":
167
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PUT /operations/department_routing_rules/v1.");
168
+ case "unknown":
169
+ throw new errors.ChrtError({
170
+ message: _response.error.errorMessage,
171
+ rawResponse: _response.rawResponse,
172
+ });
173
+ }
174
+ });
175
+ }
176
+ /**
177
+ * Clears the caller org's default operations desk for a counterparty. | authz: min_org_role=administrator | () -> (bool)
178
+ *
179
+ * @param {Chrt.RoutingCounterpartyTypeEnum} counterpartyType
180
+ * @param {string} counterpartyId
181
+ * @param {DepartmentRoutingRules.RequestOptions} requestOptions - Request-specific configuration.
182
+ *
183
+ * @throws {@link Chrt.UnprocessableEntityError}
184
+ *
185
+ * @example
186
+ * await client.operations.departmentRoutingRules.deleteV1("shipper_org", "counterparty_id")
187
+ */
188
+ deleteV1(counterpartyType, counterpartyId, requestOptions) {
189
+ return core.HttpResponsePromise.fromPromise(this.__deleteV1(counterpartyType, counterpartyId, requestOptions));
190
+ }
191
+ __deleteV1(counterpartyType, counterpartyId, requestOptions) {
192
+ return __awaiter(this, void 0, void 0, function* () {
193
+ var _a, _b, _c, _d;
194
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
195
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
196
+ 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, `operations/department_routing_rules/v1/${encodeURIComponent(counterpartyType)}/${encodeURIComponent(counterpartyId)}`),
197
+ method: "DELETE",
198
+ headers: _headers,
199
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
200
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
201
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
202
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
203
+ });
204
+ if (_response.ok) {
205
+ return { data: _response.body, rawResponse: _response.rawResponse };
206
+ }
207
+ if (_response.error.reason === "status-code") {
208
+ switch (_response.error.statusCode) {
209
+ case 422:
210
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
211
+ default:
212
+ throw new errors.ChrtError({
213
+ statusCode: _response.error.statusCode,
214
+ body: _response.error.body,
215
+ rawResponse: _response.rawResponse,
216
+ });
217
+ }
218
+ }
219
+ switch (_response.error.reason) {
220
+ case "non-json":
221
+ throw new errors.ChrtError({
222
+ statusCode: _response.error.statusCode,
223
+ body: _response.error.rawBody,
224
+ rawResponse: _response.rawResponse,
225
+ });
226
+ case "timeout":
227
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /operations/department_routing_rules/v1/{counterparty_type}/{counterparty_id}.");
228
+ case "unknown":
229
+ throw new errors.ChrtError({
230
+ message: _response.error.errorMessage,
231
+ rawResponse: _response.rawResponse,
232
+ });
233
+ }
234
+ });
235
+ }
236
+ _getAuthorizationHeader() {
237
+ return __awaiter(this, void 0, void 0, function* () {
238
+ const bearer = yield core.Supplier.get(this._options.token);
239
+ if (bearer != null) {
240
+ return `Bearer ${bearer}`;
241
+ }
242
+ return undefined;
243
+ });
244
+ }
245
+ }
246
+ exports.DepartmentRoutingRules = DepartmentRoutingRules;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../../../index.js";
5
+ /**
6
+ * @example
7
+ * {
8
+ * schema_version: 1,
9
+ * counterparty_type: "shipper_org",
10
+ * counterparty_id: "counterparty_id",
11
+ * department_id: "department_id"
12
+ * }
13
+ */
14
+ export interface DepartmentRoutingRuleClientCreate1 {
15
+ schema_version: number;
16
+ counterparty_type: Chrt.RoutingCounterpartyTypeEnum;
17
+ counterparty_id: string;
18
+ department_id: string;
19
+ }
@@ -0,0 +1 @@
1
+ export { type DepartmentRoutingRuleClientCreate1 } from "./DepartmentRoutingRuleClientCreate1.js";
@@ -100,7 +100,7 @@ export declare class Departments {
100
100
  * await client.operations.departments.createV1({
101
101
  * schema_version: 1,
102
102
  * name: "name",
103
- * department_type: "automotive"
103
+ * department_type: "aerospace"
104
104
  * })
105
105
  */
106
106
  createV1(request: Chrt.operations.DepartmentClientCreate1, requestOptions?: Departments.RequestOptions): core.HttpResponsePromise<string>;
@@ -334,7 +334,7 @@ class Departments {
334
334
  * await client.operations.departments.createV1({
335
335
  * schema_version: 1,
336
336
  * name: "name",
337
- * department_type: "automotive"
337
+ * department_type: "aerospace"
338
338
  * })
339
339
  */
340
340
  createV1(request, requestOptions) {
@@ -7,7 +7,7 @@ import * as Chrt from "../../../../../../index.js";
7
7
  * {
8
8
  * schema_version: 1,
9
9
  * name: "name",
10
- * department_type: "automotive"
10
+ * department_type: "aerospace"
11
11
  * }
12
12
  */
13
13
  export interface DepartmentClientCreate1 {
@@ -1,8 +1,10 @@
1
1
  export * as cases from "./cases/index.js";
2
- export * as checklists from "./checklists/index.js";
2
+ export * as departmentRoutingRules from "./departmentRoutingRules/index.js";
3
3
  export * as departments from "./departments/index.js";
4
+ export * as operationsTaskLists from "./operationsTaskLists/index.js";
4
5
  export * as operationsTasks from "./operationsTasks/index.js";
5
6
  export * from "./cases/client/requests/index.js";
6
- export * from "./checklists/client/requests/index.js";
7
+ export * from "./departmentRoutingRules/client/requests/index.js";
7
8
  export * from "./departments/client/requests/index.js";
9
+ export * from "./operationsTaskLists/client/requests/index.js";
8
10
  export * from "./operationsTasks/client/requests/index.js";
@@ -36,12 +36,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.operationsTasks = exports.departments = exports.checklists = exports.cases = void 0;
39
+ exports.operationsTasks = exports.operationsTaskLists = exports.departments = exports.departmentRoutingRules = exports.cases = void 0;
40
40
  exports.cases = __importStar(require("./cases/index.js"));
41
- exports.checklists = __importStar(require("./checklists/index.js"));
41
+ exports.departmentRoutingRules = __importStar(require("./departmentRoutingRules/index.js"));
42
42
  exports.departments = __importStar(require("./departments/index.js"));
43
+ exports.operationsTaskLists = __importStar(require("./operationsTaskLists/index.js"));
43
44
  exports.operationsTasks = __importStar(require("./operationsTasks/index.js"));
44
45
  __exportStar(require("./cases/client/requests/index.js"), exports);
45
- __exportStar(require("./checklists/client/requests/index.js"), exports);
46
+ __exportStar(require("./departmentRoutingRules/client/requests/index.js"), exports);
46
47
  __exportStar(require("./departments/client/requests/index.js"), exports);
48
+ __exportStar(require("./operationsTaskLists/client/requests/index.js"), exports);
47
49
  __exportStar(require("./operationsTasks/client/requests/index.js"), exports);
@@ -0,0 +1,181 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments.js";
5
+ import * as core from "../../../../../../core/index.js";
6
+ import * as Chrt from "../../../../../index.js";
7
+ export declare namespace OperationsTaskLists {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
26
+ /** Additional headers to include in the request. */
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
+ }
29
+ }
30
+ export declare class OperationsTaskLists {
31
+ protected readonly _options: OperationsTaskLists.Options;
32
+ constructor(_options?: OperationsTaskLists.Options);
33
+ /**
34
+ * Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
35
+ *
36
+ * @param {Chrt.operations.OperationsTaskListsListV1Request} request
37
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.operations.operationsTaskLists.listV1({
43
+ * sort_by: "created_at_timestamp",
44
+ * sort_order: "asc",
45
+ * page: 1,
46
+ * page_size: 1,
47
+ * filter_archived: true
48
+ * })
49
+ */
50
+ listV1(request?: Chrt.operations.OperationsTaskListsListV1Request, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskListListRes>;
51
+ private __listV1;
52
+ /**
53
+ * Retrieves a single OperationsTaskList by id. | authz: min_org_role=operator | () -> (OperationsTaskList1)
54
+ *
55
+ * @param {string} taskListId
56
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
57
+ *
58
+ * @throws {@link Chrt.UnprocessableEntityError}
59
+ *
60
+ * @example
61
+ * await client.operations.operationsTaskLists.getV1("task_list_id")
62
+ */
63
+ getV1(taskListId: string, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskList1>;
64
+ private __getV1;
65
+ /**
66
+ * Updates scalar fields (name, description, tags) on an OperationsTaskList. | authz: min_org_role=operator | (OperationsTaskListClientUpdate1) -> (bool)
67
+ *
68
+ * @param {string} taskListId
69
+ * @param {Chrt.operations.OperationsTaskListClientUpdate1} request
70
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
71
+ *
72
+ * @throws {@link Chrt.UnprocessableEntityError}
73
+ *
74
+ * @example
75
+ * await client.operations.operationsTaskLists.updateV1("task_list_id")
76
+ */
77
+ updateV1(taskListId: string, request?: Chrt.operations.OperationsTaskListClientUpdate1, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<boolean>;
78
+ private __updateV1;
79
+ /**
80
+ * Creates a new OperationsTaskList for the caller's organization. | authz: min_org_role=operator | (OperationsTaskListClientCreate1) -> (PydanticObjectId)
81
+ *
82
+ * @param {Chrt.operations.OperationsTaskListClientCreate1} request
83
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
84
+ *
85
+ * @throws {@link Chrt.UnprocessableEntityError}
86
+ *
87
+ * @example
88
+ * await client.operations.operationsTaskLists.createV1({
89
+ * schema_version: 1,
90
+ * name: "name"
91
+ * })
92
+ */
93
+ createV1(request: Chrt.operations.OperationsTaskListClientCreate1, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<string>;
94
+ private __createV1;
95
+ /**
96
+ * Appends entries to an OperationsTaskList's `entries` array. | authz: min_org_role=operator | (OperationsTaskListEntriesAdd1) -> (bool)
97
+ *
98
+ * @param {string} taskListId
99
+ * @param {Chrt.operations.OperationsTaskListEntriesAdd1} request
100
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
101
+ *
102
+ * @throws {@link Chrt.UnprocessableEntityError}
103
+ *
104
+ * @example
105
+ * await client.operations.operationsTaskLists.addEntriesV1("task_list_id")
106
+ */
107
+ addEntriesV1(taskListId: string, request?: Chrt.operations.OperationsTaskListEntriesAdd1, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<boolean>;
108
+ private __addEntriesV1;
109
+ /**
110
+ * Removes entries from an OperationsTaskList by entry id. | authz: min_org_role=operator | (OperationsTaskListEntriesRemove1) -> (bool)
111
+ *
112
+ * @param {string} taskListId
113
+ * @param {Chrt.operations.OperationsTaskListEntriesRemove1} request
114
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
115
+ *
116
+ * @throws {@link Chrt.UnprocessableEntityError}
117
+ *
118
+ * @example
119
+ * await client.operations.operationsTaskLists.removeEntriesV1("task_list_id")
120
+ */
121
+ removeEntriesV1(taskListId: string, request?: Chrt.operations.OperationsTaskListEntriesRemove1, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<boolean>;
122
+ private __removeEntriesV1;
123
+ /**
124
+ * Soft-deletes an OperationsTaskList by setting `archived=True`. Tasks already applied to Cases are unaffected. | authz: min_org_role=operator | () -> (bool)
125
+ *
126
+ * @param {string} taskListId
127
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
128
+ *
129
+ * @throws {@link Chrt.UnprocessableEntityError}
130
+ *
131
+ * @example
132
+ * await client.operations.operationsTaskLists.archiveV1("task_list_id")
133
+ */
134
+ archiveV1(taskListId: string, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<boolean>;
135
+ private __archiveV1;
136
+ /**
137
+ * Restores an archived OperationsTaskList by setting `archived=False`. | authz: min_org_role=operator | () -> (bool)
138
+ *
139
+ * @param {string} taskListId
140
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
141
+ *
142
+ * @throws {@link Chrt.UnprocessableEntityError}
143
+ *
144
+ * @example
145
+ * await client.operations.operationsTaskLists.unarchiveV1("task_list_id")
146
+ */
147
+ unarchiveV1(taskListId: string, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<boolean>;
148
+ private __unarchiveV1;
149
+ /**
150
+ * Materializes each entry of an OperationsTaskList into an OperationsTask on the Case (status=not_started, source_task_list_id set). Deadlines: overall_deadline_timestamp wins, else the entry's deadline_offset_seconds, else a positional 20-min stagger. No dedup — applying twice creates duplicate tasks. | authz: min_org_role=operator | () -> (list[PydanticObjectId])
151
+ *
152
+ * @param {string} taskListId
153
+ * @param {string} caseId
154
+ * @param {Chrt.operations.OperationsTaskListsApplyToCaseV1Request} request
155
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
156
+ *
157
+ * @throws {@link Chrt.UnprocessableEntityError}
158
+ *
159
+ * @example
160
+ * await client.operations.operationsTaskLists.applyToCaseV1("task_list_id", "case_id", {
161
+ * overall_deadline_timestamp: "2024-01-15T09:30:00Z"
162
+ * })
163
+ */
164
+ applyToCaseV1(taskListId: string, caseId: string, request?: Chrt.operations.OperationsTaskListsApplyToCaseV1Request, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<string[]>;
165
+ private __applyToCaseV1;
166
+ /**
167
+ * Removes the OperationsTasks this OperationsTaskList added to the Case (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromCaseRes1)
168
+ *
169
+ * @param {string} taskListId
170
+ * @param {string} caseId
171
+ * @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
172
+ *
173
+ * @throws {@link Chrt.UnprocessableEntityError}
174
+ *
175
+ * @example
176
+ * await client.operations.operationsTaskLists.removeFromCaseV1("task_list_id", "case_id")
177
+ */
178
+ removeFromCaseV1(taskListId: string, caseId: string, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskListRemoveFromCaseRes1>;
179
+ private __removeFromCaseV1;
180
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
181
+ }