@chrt-inc/typescript-sdk 1.923.0 → 1.925.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 (298) hide show
  1. package/dist/cjs/Client.d.ts +3 -0
  2. package/dist/cjs/Client.js +29 -24
  3. package/dist/cjs/api/resources/agent/client/Client.d.ts +23 -0
  4. package/dist/cjs/api/resources/agent/client/Client.js +17 -0
  5. package/dist/cjs/api/resources/agent/client/index.d.ts +1 -0
  6. package/dist/cjs/api/resources/agent/client/index.js +2 -0
  7. package/dist/cjs/api/resources/agent/index.d.ts +2 -0
  8. package/dist/cjs/api/resources/agent/index.js +18 -0
  9. package/dist/cjs/api/resources/agent/resources/index.d.ts +2 -0
  10. package/dist/cjs/api/resources/agent/resources/index.js +41 -0
  11. package/dist/cjs/api/resources/agent/resources/orderInformation/client/Client.d.ts +79 -0
  12. package/dist/cjs/api/resources/agent/resources/orderInformation/client/Client.js +260 -0
  13. package/dist/cjs/api/resources/agent/resources/orderInformation/client/index.d.ts +2 -0
  14. package/dist/cjs/api/resources/agent/resources/orderInformation/client/index.js +17 -0
  15. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.d.ts +11 -0
  16. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.d.ts +12 -0
  17. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.d.ts +13 -0
  18. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/index.d.ts +3 -0
  19. package/dist/cjs/api/resources/agent/resources/orderInformation/client/requests/index.js +2 -0
  20. package/dist/cjs/api/resources/agent/resources/orderInformation/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/agent/resources/orderInformation/index.js +17 -0
  22. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.ts +0 -1
  23. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.js +1 -5
  24. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.ts +0 -1
  25. package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.ts +0 -3
  26. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.ts +1 -1
  27. package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +1 -1
  28. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +19 -2
  29. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +68 -2
  30. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.ts +2 -0
  31. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicePeriodUpdateReq.d.ts +14 -0
  32. package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.d.ts +1 -0
  33. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +3 -0
  34. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +5 -0
  35. package/dist/cjs/api/resources/billingNew/resources/orders/index.d.ts +1 -0
  36. package/dist/cjs/api/resources/billingNew/resources/orders/index.js +1 -0
  37. package/dist/cjs/api/resources/billingNew/resources/orders/resources/index.d.ts +2 -0
  38. package/dist/cjs/api/resources/billingNew/resources/orders/resources/index.js +41 -0
  39. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.d.ts +49 -0
  40. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.js +135 -0
  41. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.d.ts +2 -0
  42. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.js +17 -0
  43. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/OrderRateSheetLineItemsGenerateManyReq.d.ts +12 -0
  44. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.d.ts +1 -0
  45. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.js +2 -0
  46. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.d.ts +1 -0
  47. package/dist/cjs/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.js +17 -0
  48. package/dist/cjs/api/resources/index.d.ts +1 -0
  49. package/dist/cjs/api/resources/index.js +2 -1
  50. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +7 -7
  51. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +10 -10
  52. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTaskStatusReq.d.ts → OperationsTasksSetStatusReq1.d.ts} +3 -1
  53. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -1
  54. package/dist/cjs/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.d.ts +2 -2
  55. package/dist/cjs/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.js +5 -2
  56. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +2 -2
  57. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.js +5 -2
  58. package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.d.ts +1 -1
  59. package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.js +1 -1
  60. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +2 -2
  61. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.js +5 -2
  62. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.d.ts +14 -0
  63. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.js +60 -0
  64. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.ts +13 -0
  65. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.js +59 -0
  66. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +2 -105
  67. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +6 -518
  68. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
  69. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.ts +0 -2
  70. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +3 -3
  71. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +2 -2
  72. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +18 -31
  73. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +34 -93
  74. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/{ExpandedListForDriverForExecutorV1Request.d.ts → ExpandedListForDriverV1Request.d.ts} +1 -1
  75. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/{ExpandedListForExecutorOperatorsV1Request.d.ts → ExpandedListForProviderOperatorsV1Request.d.ts} +3 -1
  76. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.ts +2 -2
  77. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.d.ts +1 -0
  78. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.js +1 -0
  79. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.ts +2 -2
  80. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.js +1 -1
  81. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.ts +11 -7
  82. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.js +23 -15
  83. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/index.d.ts +1 -0
  84. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/index.js +15 -0
  85. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/TaskGroupIdForProviderOperatorsV1Request.d.ts +13 -0
  86. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/index.d.ts +1 -0
  87. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/index.js +2 -0
  88. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.ts +4 -4
  89. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.js +2 -2
  90. package/dist/cjs/api/types/AiImageDescription.d.ts +1 -1
  91. package/dist/cjs/api/types/{LlmModelEnum.d.ts → ArchivedModel.d.ts} +5 -2
  92. package/dist/cjs/api/types/{LlmModelEnum.js → ArchivedModel.js} +2 -2
  93. package/dist/cjs/api/types/ChrtGroundProviderRates1.d.ts +0 -1
  94. package/dist/cjs/api/types/ContactExpandedListItem.d.ts +10 -0
  95. package/dist/cjs/api/types/ContactListRes.d.ts +1 -1
  96. package/dist/cjs/api/types/Invoice1.d.ts +2 -0
  97. package/dist/cjs/api/types/InvoiceExpandedListItem.d.ts +11 -0
  98. package/dist/cjs/api/types/InvoiceLineItemExpandedListItem.d.ts +8 -0
  99. package/dist/cjs/api/types/InvoiceLineItemExpandedListItem.js +5 -0
  100. package/dist/cjs/api/types/InvoiceLineItemListRes.d.ts +1 -1
  101. package/dist/cjs/api/types/InvoiceListRes.d.ts +1 -1
  102. package/dist/cjs/api/types/Model.d.ts +12 -0
  103. package/dist/cjs/api/types/Model.js +11 -0
  104. package/dist/cjs/api/types/OperationsTaskExpandedListItem.d.ts +1 -0
  105. package/dist/cjs/api/types/OperationsTasksStatusUpdateRes1.d.ts +7 -0
  106. package/dist/cjs/api/types/OperationsTasksStatusUpdateRes1.js +5 -0
  107. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +1 -0
  108. package/dist/cjs/api/types/OrderExpandedForProvider.d.ts +2 -0
  109. package/dist/cjs/api/types/OrderExpandedForShipper.d.ts +1 -0
  110. package/dist/cjs/api/types/OrderInformationConversationRes.d.ts +7 -0
  111. package/dist/cjs/api/types/OrderInformationConversationRes.js +5 -0
  112. package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyRes.d.ts +12 -0
  113. package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyRes.js +5 -0
  114. package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyResult1.d.ts +11 -0
  115. package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyResult1.js +5 -0
  116. package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyStatusEnum.d.ts +9 -0
  117. package/dist/cjs/api/types/OrderRateSheetLineItemsGenerateManyStatusEnum.js +11 -0
  118. package/dist/cjs/api/types/StoredModel.d.ts +5 -0
  119. package/dist/cjs/api/types/StoredModel.js +5 -0
  120. package/dist/cjs/api/types/TaskGroupByDriverDataPointsRes.d.ts +8 -0
  121. package/dist/cjs/api/types/TaskGroupByDriverDataPointsRes.js +5 -0
  122. package/dist/cjs/api/types/TaskGroupByDriverLastSeenRes.d.ts +8 -0
  123. package/dist/cjs/api/types/TaskGroupByDriverLastSeenRes.js +5 -0
  124. package/dist/cjs/api/types/TaskGroupProviderRoleFilterEnum.d.ts +9 -0
  125. package/dist/cjs/api/types/TaskGroupProviderRoleFilterEnum.js +11 -0
  126. package/dist/cjs/api/types/index.d.ts +14 -7
  127. package/dist/cjs/api/types/index.js +14 -7
  128. package/dist/cjs/version.d.ts +1 -1
  129. package/dist/cjs/version.js +1 -1
  130. package/dist/esm/Client.d.mts +3 -0
  131. package/dist/esm/Client.mjs +7 -2
  132. package/dist/esm/api/resources/agent/client/Client.d.mts +23 -0
  133. package/dist/esm/api/resources/agent/client/Client.mjs +13 -0
  134. package/dist/esm/api/resources/agent/client/index.d.mts +1 -0
  135. package/dist/esm/api/resources/agent/client/index.mjs +1 -0
  136. package/dist/esm/api/resources/agent/index.d.mts +2 -0
  137. package/dist/esm/api/resources/agent/index.mjs +2 -0
  138. package/dist/esm/api/resources/agent/resources/index.d.mts +2 -0
  139. package/dist/esm/api/resources/agent/resources/index.mjs +2 -0
  140. package/dist/esm/api/resources/agent/resources/orderInformation/client/Client.d.mts +79 -0
  141. package/dist/esm/api/resources/agent/resources/orderInformation/client/Client.mjs +223 -0
  142. package/dist/esm/api/resources/agent/resources/orderInformation/client/index.d.mts +2 -0
  143. package/dist/esm/api/resources/agent/resources/orderInformation/client/index.mjs +1 -0
  144. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.d.mts +11 -0
  145. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.d.mts +12 -0
  146. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.d.mts +13 -0
  147. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/index.d.mts +3 -0
  148. package/dist/esm/api/resources/agent/resources/orderInformation/client/requests/index.mjs +1 -0
  149. package/dist/esm/api/resources/agent/resources/orderInformation/index.d.mts +1 -0
  150. package/dist/esm/api/resources/agent/resources/orderInformation/index.mjs +1 -0
  151. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.mts +0 -1
  152. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.mjs +1 -5
  153. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesClientCreate1.d.mts +0 -1
  154. package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.mts +0 -3
  155. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +1 -1
  156. package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +1 -1
  157. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +19 -2
  158. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +68 -2
  159. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoiceClientCreate1.d.mts +2 -0
  160. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicePeriodUpdateReq.d.mts +14 -0
  161. package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.d.mts +1 -0
  162. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +3 -0
  163. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +5 -0
  164. package/dist/esm/api/resources/billingNew/resources/orders/index.d.mts +1 -0
  165. package/dist/esm/api/resources/billingNew/resources/orders/index.mjs +1 -0
  166. package/dist/esm/api/resources/billingNew/resources/orders/resources/index.d.mts +2 -0
  167. package/dist/esm/api/resources/billingNew/resources/orders/resources/index.mjs +2 -0
  168. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.d.mts +49 -0
  169. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/Client.mjs +98 -0
  170. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.d.mts +2 -0
  171. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/index.mjs +1 -0
  172. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/OrderRateSheetLineItemsGenerateManyReq.d.mts +12 -0
  173. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.d.mts +1 -0
  174. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/client/requests/index.mjs +1 -0
  175. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.d.mts +1 -0
  176. package/dist/esm/api/resources/billingNew/resources/orders/resources/rateSheetLineItems/index.mjs +1 -0
  177. package/dist/esm/api/resources/index.d.mts +1 -0
  178. package/dist/esm/api/resources/index.mjs +1 -0
  179. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +7 -7
  180. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +10 -10
  181. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTaskStatusReq.d.mts → OperationsTasksSetStatusReq1.d.mts} +3 -1
  182. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -1
  183. package/dist/esm/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.d.mts +2 -2
  184. package/dist/esm/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.mjs +5 -2
  185. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +2 -2
  186. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.mjs +5 -2
  187. package/dist/esm/api/resources/orgs/resources/contacts/client/Client.d.mts +1 -1
  188. package/dist/esm/api/resources/orgs/resources/contacts/client/Client.mjs +1 -1
  189. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +2 -2
  190. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.mjs +5 -2
  191. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.d.mts +14 -0
  192. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/cargos/client/Client.mjs +60 -0
  193. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.mts +13 -0
  194. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.mjs +59 -0
  195. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +2 -105
  196. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +6 -518
  197. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
  198. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.mts +0 -2
  199. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +3 -3
  200. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +2 -2
  201. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +18 -31
  202. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +34 -93
  203. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/{ExpandedListForDriverForExecutorV1Request.d.mts → ExpandedListForDriverV1Request.d.mts} +1 -1
  204. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/{ExpandedListForExecutorOperatorsV1Request.d.mts → ExpandedListForProviderOperatorsV1Request.d.mts} +3 -1
  205. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.mts +2 -2
  206. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.d.mts +1 -0
  207. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.mjs +1 -0
  208. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts +2 -2
  209. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs +1 -1
  210. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.mts +11 -7
  211. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.mjs +23 -15
  212. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/index.d.mts +1 -0
  213. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/index.mjs +1 -1
  214. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/TaskGroupIdForProviderOperatorsV1Request.d.mts +13 -0
  215. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/index.d.mts +1 -0
  216. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/index.mjs +1 -0
  217. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.mts +4 -4
  218. package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.mjs +2 -2
  219. package/dist/esm/api/types/AiImageDescription.d.mts +1 -1
  220. package/dist/esm/api/types/{LlmModelEnum.d.mts → ArchivedModel.d.mts} +5 -2
  221. package/dist/esm/api/types/{LlmModelEnum.mjs → ArchivedModel.mjs} +1 -1
  222. package/dist/esm/api/types/ChrtGroundProviderRates1.d.mts +0 -1
  223. package/dist/esm/api/types/ContactExpandedListItem.d.mts +10 -0
  224. package/dist/esm/api/types/ContactListRes.d.mts +1 -1
  225. package/dist/esm/api/types/Invoice1.d.mts +2 -0
  226. package/dist/esm/api/types/InvoiceExpandedListItem.d.mts +11 -0
  227. package/dist/esm/api/types/InvoiceLineItemExpandedListItem.d.mts +8 -0
  228. package/dist/esm/api/types/InvoiceLineItemExpandedListItem.mjs +4 -0
  229. package/dist/esm/api/types/InvoiceLineItemListRes.d.mts +1 -1
  230. package/dist/esm/api/types/InvoiceListRes.d.mts +1 -1
  231. package/dist/esm/api/types/Model.d.mts +12 -0
  232. package/dist/esm/api/types/Model.mjs +8 -0
  233. package/dist/esm/api/types/OperationsTaskExpandedListItem.d.mts +1 -0
  234. package/dist/esm/api/types/OperationsTasksStatusUpdateRes1.d.mts +7 -0
  235. package/dist/esm/api/types/OperationsTasksStatusUpdateRes1.mjs +4 -0
  236. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +1 -0
  237. package/dist/esm/api/types/OrderExpandedForProvider.d.mts +2 -0
  238. package/dist/esm/api/types/OrderExpandedForShipper.d.mts +1 -0
  239. package/dist/esm/api/types/OrderInformationConversationRes.d.mts +7 -0
  240. package/dist/esm/api/types/OrderInformationConversationRes.mjs +4 -0
  241. package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyRes.d.mts +12 -0
  242. package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyRes.mjs +4 -0
  243. package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyResult1.d.mts +11 -0
  244. package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyResult1.mjs +4 -0
  245. package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyStatusEnum.d.mts +9 -0
  246. package/dist/esm/api/types/OrderRateSheetLineItemsGenerateManyStatusEnum.mjs +8 -0
  247. package/dist/esm/api/types/StoredModel.d.mts +5 -0
  248. package/dist/esm/api/types/StoredModel.mjs +4 -0
  249. package/dist/esm/api/types/TaskGroupByDriverDataPointsRes.d.mts +8 -0
  250. package/dist/esm/api/types/TaskGroupByDriverDataPointsRes.mjs +4 -0
  251. package/dist/esm/api/types/TaskGroupByDriverLastSeenRes.d.mts +8 -0
  252. package/dist/esm/api/types/TaskGroupByDriverLastSeenRes.mjs +4 -0
  253. package/dist/esm/api/types/TaskGroupProviderRoleFilterEnum.d.mts +9 -0
  254. package/dist/esm/api/types/TaskGroupProviderRoleFilterEnum.mjs +8 -0
  255. package/dist/esm/api/types/index.d.mts +14 -7
  256. package/dist/esm/api/types/index.mjs +14 -7
  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 +587 -486
  261. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +0 -73
  262. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +0 -66
  263. package/dist/cjs/api/types/OrderExpandedForCoordinator.d.ts +0 -15
  264. package/dist/cjs/api/types/OrderExpandedForExecutor.d.ts +0 -14
  265. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +0 -47
  266. package/dist/cjs/api/types/OrderLimitedForExecutor1.d.ts +0 -27
  267. package/dist/cjs/api/types/OrdersExpandedListForCoordinatorRes.d.ts +0 -8
  268. package/dist/cjs/api/types/OrdersExpandedListForExecutorRes.d.ts +0 -8
  269. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +0 -73
  270. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +0 -66
  271. package/dist/esm/api/types/OrderExpandedForCoordinator.d.mts +0 -15
  272. package/dist/esm/api/types/OrderExpandedForExecutor.d.mts +0 -14
  273. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +0 -47
  274. package/dist/esm/api/types/OrderLimitedForExecutor1.d.mts +0 -27
  275. package/dist/esm/api/types/OrdersExpandedListForCoordinatorRes.d.mts +0 -8
  276. package/dist/esm/api/types/OrdersExpandedListForExecutorRes.d.mts +0 -8
  277. /package/dist/cjs/api/resources/{operations/resources/operationsTasks/client/requests/OperationsTaskStatusReq.js → agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.js} +0 -0
  278. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.js → agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.js} +0 -0
  279. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.js → agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.js} +0 -0
  280. /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.js → billingNew/resources/invoices/client/requests/InvoicePeriodUpdateReq.js} +0 -0
  281. /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.js → billingNew/resources/orders/resources/rateSheetLineItems/client/requests/OrderRateSheetLineItemsGenerateManyReq.js} +0 -0
  282. /package/dist/cjs/api/{types/OrderExpandedForCoordinator.js → resources/operations/resources/operationsTasks/client/requests/OperationsTasksSetStatusReq1.js} +0 -0
  283. /package/dist/cjs/api/{types/OrderExpandedForExecutor.js → resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.js} +0 -0
  284. /package/dist/cjs/api/{types/OrderLimitedForCoordinator1.js → resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.js} +0 -0
  285. /package/dist/cjs/api/{types/OrderLimitedForExecutor1.js → resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/TaskGroupIdForProviderOperatorsV1Request.js} +0 -0
  286. /package/dist/cjs/api/types/{OrdersExpandedListForCoordinatorRes.js → ContactExpandedListItem.js} +0 -0
  287. /package/dist/cjs/api/types/{OrdersExpandedListForExecutorRes.js → InvoiceExpandedListItem.js} +0 -0
  288. /package/dist/esm/api/resources/{operations/resources/operationsTasks/client/requests/OperationsTaskStatusReq.mjs → agent/resources/orderInformation/client/requests/OrderInformationConversationClientUpdate1.mjs} +0 -0
  289. /package/dist/esm/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.mjs → agent/resources/orderInformation/client/requests/OrderInformationConversationMessageReq.mjs} +0 -0
  290. /package/dist/esm/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.mjs → agent/resources/orderInformation/client/requests/OrderInformationConversationStartReq.mjs} +0 -0
  291. /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.mjs → billingNew/resources/invoices/client/requests/InvoicePeriodUpdateReq.mjs} +0 -0
  292. /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.mjs → billingNew/resources/orders/resources/rateSheetLineItems/client/requests/OrderRateSheetLineItemsGenerateManyReq.mjs} +0 -0
  293. /package/dist/esm/api/{types/OrderExpandedForCoordinator.mjs → resources/operations/resources/operationsTasks/client/requests/OperationsTasksSetStatusReq1.mjs} +0 -0
  294. /package/dist/esm/api/{types/OrderExpandedForExecutor.mjs → resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.mjs} +0 -0
  295. /package/dist/esm/api/{types/OrderLimitedForCoordinator1.mjs → resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.mjs} +0 -0
  296. /package/dist/esm/api/{types/OrderLimitedForExecutor1.mjs → resources/shipping/resources/taskGroups/resources/taskGroupId/client/requests/TaskGroupIdForProviderOperatorsV1Request.mjs} +0 -0
  297. /package/dist/esm/api/types/{OrdersExpandedListForCoordinatorRes.mjs → ContactExpandedListItem.mjs} +0 -0
  298. /package/dist/esm/api/types/{OrdersExpandedListForExecutorRes.mjs → InvoiceExpandedListItem.mjs} +0 -0
@@ -56,133 +56,7 @@ class Expanded {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Retrieves an expanded order with optional related data for coordinator operators. Drafts are visible only to operators in the creating provider org; when expand_cargos is requested, the response includes unassigned_cargos. | authz_personas=[coordinator_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpandedForCoordinator)
60
- *
61
- * @param {string} orderRef - Order ID, short ID, or off-chrt reference ID
62
- * @param {Chrt.OrderAndTaskGroupExpandedReq} request
63
- * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
64
- *
65
- * @throws {@link Chrt.UnprocessableEntityError}
66
- *
67
- * @example
68
- * await client.shipping.orders.expanded.forCoordinatorOperatorsV1("order_ref", {})
69
- */
70
- forCoordinatorOperatorsV1(orderRef, request, requestOptions) {
71
- return core.HttpResponsePromise.fromPromise(this.__forCoordinatorOperatorsV1(orderRef, request, requestOptions));
72
- }
73
- __forCoordinatorOperatorsV1(orderRef, request, requestOptions) {
74
- return __awaiter(this, void 0, void 0, function* () {
75
- var _a, _b, _c, _d;
76
- 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);
77
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
78
- 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, `shipping/orders/expanded/for_coordinator_operators/v1/${encodeURIComponent(orderRef)}`),
79
- method: "POST",
80
- headers: _headers,
81
- contentType: "application/json",
82
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
83
- requestType: "json",
84
- body: request,
85
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
86
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
87
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
88
- });
89
- if (_response.ok) {
90
- return { data: _response.body, rawResponse: _response.rawResponse };
91
- }
92
- if (_response.error.reason === "status-code") {
93
- switch (_response.error.statusCode) {
94
- case 422:
95
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
96
- default:
97
- throw new errors.ChrtError({
98
- statusCode: _response.error.statusCode,
99
- body: _response.error.body,
100
- rawResponse: _response.rawResponse,
101
- });
102
- }
103
- }
104
- switch (_response.error.reason) {
105
- case "non-json":
106
- throw new errors.ChrtError({
107
- statusCode: _response.error.statusCode,
108
- body: _response.error.rawBody,
109
- rawResponse: _response.rawResponse,
110
- });
111
- case "timeout":
112
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/expanded/for_coordinator_operators/v1/{order_ref}.");
113
- case "unknown":
114
- throw new errors.ChrtError({
115
- message: _response.error.errorMessage,
116
- rawResponse: _response.rawResponse,
117
- });
118
- }
119
- });
120
- }
121
- /**
122
- * Retrieves an expanded order containing only task groups executed by the caller's provider org. | authz_personas=[order_executor_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpandedForExecutor)
123
- *
124
- * @param {string} orderRef - Order ID, short ID, or off-chrt reference ID
125
- * @param {Chrt.OrderAndTaskGroupExpandedReq} request
126
- * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
127
- *
128
- * @throws {@link Chrt.UnprocessableEntityError}
129
- *
130
- * @example
131
- * await client.shipping.orders.expanded.forExecutorOperatorsV1("order_ref", {})
132
- */
133
- forExecutorOperatorsV1(orderRef, request, requestOptions) {
134
- return core.HttpResponsePromise.fromPromise(this.__forExecutorOperatorsV1(orderRef, request, requestOptions));
135
- }
136
- __forExecutorOperatorsV1(orderRef, request, requestOptions) {
137
- return __awaiter(this, void 0, void 0, function* () {
138
- var _a, _b, _c, _d;
139
- 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);
140
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
141
- 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, `shipping/orders/expanded/for_executor_operators/v1/${encodeURIComponent(orderRef)}`),
142
- method: "POST",
143
- headers: _headers,
144
- contentType: "application/json",
145
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
146
- requestType: "json",
147
- body: request,
148
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
149
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
150
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
151
- });
152
- if (_response.ok) {
153
- return { data: _response.body, rawResponse: _response.rawResponse };
154
- }
155
- if (_response.error.reason === "status-code") {
156
- switch (_response.error.statusCode) {
157
- case 422:
158
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
159
- default:
160
- throw new errors.ChrtError({
161
- statusCode: _response.error.statusCode,
162
- body: _response.error.body,
163
- rawResponse: _response.rawResponse,
164
- });
165
- }
166
- }
167
- switch (_response.error.reason) {
168
- case "non-json":
169
- throw new errors.ChrtError({
170
- statusCode: _response.error.statusCode,
171
- body: _response.error.rawBody,
172
- rawResponse: _response.rawResponse,
173
- });
174
- case "timeout":
175
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/expanded/for_executor_operators/v1/{order_ref}.");
176
- case "unknown":
177
- throw new errors.ChrtError({
178
- message: _response.error.errorMessage,
179
- rawResponse: _response.rawResponse,
180
- });
181
- }
182
- });
183
- }
184
- /**
185
- * Retrieves an expanded order for a provider org that is the coordinator, an executor, or both, with role-filtered task-group details. Mirrors the per-item projection of the for_provider_operators list route. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpandedForProvider)
59
+ * Retrieves an expanded order for a provider org that is the coordinator, an executor, or both. Executor-only callers receive only their task groups. Drafts are visible only to operators in the creating provider org; coordinator responses include unassigned_cargos when expand_cargos is requested. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpandedForProvider)
186
60
  *
187
61
  * @param {string} orderRef - Order ID, short ID, or off-chrt reference ID
188
62
  * @param {Chrt.OrderAndTaskGroupExpandedReq} request
@@ -307,396 +181,6 @@ class Expanded {
307
181
  }
308
182
  });
309
183
  }
310
- /**
311
- * Lists expanded orders where the caller's provider org is the coordinator. Filtering, sorting, pagination, optional search. | authz: allowed_org_types=[provider], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListForCoordinatorRes)
312
- *
313
- * @param {Chrt.shipping.orders.ExpandedListForCoordinatorOperatorsV1Request} request
314
- * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
315
- *
316
- * @throws {@link Chrt.UnprocessableEntityError}
317
- *
318
- * @example
319
- * await client.shipping.orders.expanded.listForCoordinatorOperatorsV1({
320
- * sort_by: "draft_started_at_timestamp",
321
- * sort_order: "asc",
322
- * page: 1,
323
- * page_size: 1,
324
- * search: "search",
325
- * filter_awb_number: "filter_awb_number",
326
- * filter_has_invoice: true,
327
- * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
328
- * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
329
- * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
330
- * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
331
- * filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
332
- * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
333
- * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
334
- * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
335
- * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
336
- * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
337
- * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
338
- * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
339
- * filter_executor_org_id: "filter_executor_org_id",
340
- * filter_shipper_org_id: "filter_shipper_org_id",
341
- * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
342
- * filter_coordinator_department_id: "filter_coordinator_department_id",
343
- * filter_coordinator_label: "filter_coordinator_label",
344
- * body: {}
345
- * })
346
- */
347
- listForCoordinatorOperatorsV1(request, requestOptions) {
348
- return core.HttpResponsePromise.fromPromise(this.__listForCoordinatorOperatorsV1(request, requestOptions));
349
- }
350
- __listForCoordinatorOperatorsV1(request, requestOptions) {
351
- return __awaiter(this, void 0, void 0, function* () {
352
- var _a, _b, _c, _d, _e, _f, _g;
353
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
354
- const _queryParams = {};
355
- if (sortBy !== undefined) {
356
- _queryParams["sort_by"] = sortBy;
357
- }
358
- if (sortOrder !== undefined) {
359
- _queryParams["sort_order"] = sortOrder;
360
- }
361
- if (page !== undefined) {
362
- _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
363
- }
364
- if (pageSize !== undefined) {
365
- _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
366
- }
367
- if (search !== undefined) {
368
- _queryParams["search"] = search;
369
- }
370
- if (filterStatus !== undefined) {
371
- if (Array.isArray(filterStatus)) {
372
- _queryParams["filter_status"] = filterStatus.map((item) => item);
373
- }
374
- else {
375
- _queryParams["filter_status"] = filterStatus;
376
- }
377
- }
378
- if (filterServiceLine !== undefined) {
379
- if (Array.isArray(filterServiceLine)) {
380
- _queryParams["filter_service_line"] = filterServiceLine.map((item) => item);
381
- }
382
- else {
383
- _queryParams["filter_service_line"] = filterServiceLine;
384
- }
385
- }
386
- if (filterOrderClassificationByTaskGroupType !== undefined) {
387
- if (Array.isArray(filterOrderClassificationByTaskGroupType)) {
388
- _queryParams["filter_order_classification_by_task_group_type"] =
389
- filterOrderClassificationByTaskGroupType.map((item) => item);
390
- }
391
- else {
392
- _queryParams["filter_order_classification_by_task_group_type"] =
393
- filterOrderClassificationByTaskGroupType;
394
- }
395
- }
396
- if (filterAwbNumber !== undefined) {
397
- _queryParams["filter_awb_number"] = filterAwbNumber;
398
- }
399
- if (filterHasInvoice !== undefined) {
400
- _queryParams["filter_has_invoice"] = (_c = filterHasInvoice === null || filterHasInvoice === void 0 ? void 0 : filterHasInvoice.toString()) !== null && _c !== void 0 ? _c : null;
401
- }
402
- if (filterDraftStartedAtTimestampLte !== undefined) {
403
- _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
404
- }
405
- if (filterDraftStartedAtTimestampGte !== undefined) {
406
- _queryParams["filter_draft_started_at_timestamp_gte"] = filterDraftStartedAtTimestampGte;
407
- }
408
- if (filterStagedAtTimestampLte !== undefined) {
409
- _queryParams["filter_staged_at_timestamp_lte"] = filterStagedAtTimestampLte;
410
- }
411
- if (filterStagedAtTimestampGte !== undefined) {
412
- _queryParams["filter_staged_at_timestamp_gte"] = filterStagedAtTimestampGte;
413
- }
414
- if (filterInProgressAtTimestampLte !== undefined) {
415
- _queryParams["filter_in_progress_at_timestamp_lte"] = filterInProgressAtTimestampLte;
416
- }
417
- if (filterInProgressAtTimestampGte !== undefined) {
418
- _queryParams["filter_in_progress_at_timestamp_gte"] = filterInProgressAtTimestampGte;
419
- }
420
- if (filterCompletedAtTimestampLte !== undefined) {
421
- _queryParams["filter_completed_at_timestamp_lte"] = filterCompletedAtTimestampLte;
422
- }
423
- if (filterCompletedAtTimestampGte !== undefined) {
424
- _queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
425
- }
426
- if (filterCancelledAtTimestampLte !== undefined) {
427
- _queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
428
- }
429
- if (filterCancelledAtTimestampGte !== undefined) {
430
- _queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
431
- }
432
- if (filterExceptionAtTimestampLte !== undefined) {
433
- _queryParams["filter_exception_at_timestamp_lte"] = filterExceptionAtTimestampLte;
434
- }
435
- if (filterExceptionAtTimestampGte !== undefined) {
436
- _queryParams["filter_exception_at_timestamp_gte"] = filterExceptionAtTimestampGte;
437
- }
438
- if (filterExecutorOrgId !== undefined) {
439
- _queryParams["filter_executor_org_id"] = filterExecutorOrgId;
440
- }
441
- if (filterShipperOrgId !== undefined) {
442
- _queryParams["filter_shipper_org_id"] = filterShipperOrgId;
443
- }
444
- if (filterOffChrtShipperOrgDataId !== undefined) {
445
- _queryParams["filter_off_chrt_shipper_org_data_id"] = filterOffChrtShipperOrgDataId;
446
- }
447
- if (filterCoordinatorShipperAccountIds !== undefined) {
448
- if (Array.isArray(filterCoordinatorShipperAccountIds)) {
449
- _queryParams["filter_coordinator_shipper_account_ids"] = filterCoordinatorShipperAccountIds.map((item) => item);
450
- }
451
- else {
452
- _queryParams["filter_coordinator_shipper_account_ids"] = filterCoordinatorShipperAccountIds;
453
- }
454
- }
455
- if (filterCoordinatorDepartmentId !== undefined) {
456
- _queryParams["filter_coordinator_department_id"] = filterCoordinatorDepartmentId;
457
- }
458
- if (filterCoordinatorAssignedUserIds !== undefined) {
459
- if (Array.isArray(filterCoordinatorAssignedUserIds)) {
460
- _queryParams["filter_coordinator_assigned_user_ids"] = filterCoordinatorAssignedUserIds.map((item) => item);
461
- }
462
- else {
463
- _queryParams["filter_coordinator_assigned_user_ids"] = filterCoordinatorAssignedUserIds;
464
- }
465
- }
466
- if (filterCoordinatorLabel !== undefined) {
467
- _queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
468
- }
469
- let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
470
- const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
471
- url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_coordinator_operators/v1"),
472
- method: "POST",
473
- headers: _headers,
474
- contentType: "application/json",
475
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
476
- requestType: "json",
477
- body: _body,
478
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
479
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
480
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
481
- });
482
- if (_response.ok) {
483
- return {
484
- data: _response.body,
485
- rawResponse: _response.rawResponse,
486
- };
487
- }
488
- if (_response.error.reason === "status-code") {
489
- switch (_response.error.statusCode) {
490
- case 422:
491
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
492
- default:
493
- throw new errors.ChrtError({
494
- statusCode: _response.error.statusCode,
495
- body: _response.error.body,
496
- rawResponse: _response.rawResponse,
497
- });
498
- }
499
- }
500
- switch (_response.error.reason) {
501
- case "non-json":
502
- throw new errors.ChrtError({
503
- statusCode: _response.error.statusCode,
504
- body: _response.error.rawBody,
505
- rawResponse: _response.rawResponse,
506
- });
507
- case "timeout":
508
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/expanded/list/for_coordinator_operators/v1.");
509
- case "unknown":
510
- throw new errors.ChrtError({
511
- message: _response.error.errorMessage,
512
- rawResponse: _response.rawResponse,
513
- });
514
- }
515
- });
516
- }
517
- /**
518
- * Lists expanded orders where the caller's provider org executes at least one task group. Each result contains only that org's task groups. | authz: allowed_org_types=[provider], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListForExecutorRes)
519
- *
520
- * @param {Chrt.shipping.orders.ExpandedListForExecutorOperatorsV1Request} request
521
- * @param {Expanded.RequestOptions} requestOptions - Request-specific configuration.
522
- *
523
- * @throws {@link Chrt.UnprocessableEntityError}
524
- *
525
- * @example
526
- * await client.shipping.orders.expanded.listForExecutorOperatorsV1({
527
- * sort_by: "draft_started_at_timestamp",
528
- * sort_order: "asc",
529
- * page: 1,
530
- * page_size: 1,
531
- * search: "search",
532
- * filter_awb_number: "filter_awb_number",
533
- * filter_has_invoice: true,
534
- * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
535
- * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
536
- * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
537
- * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
538
- * filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
539
- * filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
540
- * filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
541
- * filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
542
- * filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
543
- * filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
544
- * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
545
- * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
546
- * filter_coordinator_org_id: "filter_coordinator_org_id",
547
- * filter_shipper_org_id: "filter_shipper_org_id",
548
- * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
549
- * body: {}
550
- * })
551
- */
552
- listForExecutorOperatorsV1(request, requestOptions) {
553
- return core.HttpResponsePromise.fromPromise(this.__listForExecutorOperatorsV1(request, requestOptions));
554
- }
555
- __listForExecutorOperatorsV1(request, requestOptions) {
556
- return __awaiter(this, void 0, void 0, function* () {
557
- var _a, _b, _c, _d, _e, _f, _g;
558
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
559
- const _queryParams = {};
560
- if (sortBy !== undefined) {
561
- _queryParams["sort_by"] = sortBy;
562
- }
563
- if (sortOrder !== undefined) {
564
- _queryParams["sort_order"] = sortOrder;
565
- }
566
- if (page !== undefined) {
567
- _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
568
- }
569
- if (pageSize !== undefined) {
570
- _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
571
- }
572
- if (search !== undefined) {
573
- _queryParams["search"] = search;
574
- }
575
- if (filterStatus !== undefined) {
576
- if (Array.isArray(filterStatus)) {
577
- _queryParams["filter_status"] = filterStatus.map((item) => item);
578
- }
579
- else {
580
- _queryParams["filter_status"] = filterStatus;
581
- }
582
- }
583
- if (filterServiceLine !== undefined) {
584
- if (Array.isArray(filterServiceLine)) {
585
- _queryParams["filter_service_line"] = filterServiceLine.map((item) => item);
586
- }
587
- else {
588
- _queryParams["filter_service_line"] = filterServiceLine;
589
- }
590
- }
591
- if (filterOrderClassificationByTaskGroupType !== undefined) {
592
- if (Array.isArray(filterOrderClassificationByTaskGroupType)) {
593
- _queryParams["filter_order_classification_by_task_group_type"] =
594
- filterOrderClassificationByTaskGroupType.map((item) => item);
595
- }
596
- else {
597
- _queryParams["filter_order_classification_by_task_group_type"] =
598
- filterOrderClassificationByTaskGroupType;
599
- }
600
- }
601
- if (filterAwbNumber !== undefined) {
602
- _queryParams["filter_awb_number"] = filterAwbNumber;
603
- }
604
- if (filterHasInvoice !== undefined) {
605
- _queryParams["filter_has_invoice"] = (_c = filterHasInvoice === null || filterHasInvoice === void 0 ? void 0 : filterHasInvoice.toString()) !== null && _c !== void 0 ? _c : null;
606
- }
607
- if (filterDraftStartedAtTimestampLte !== undefined) {
608
- _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
609
- }
610
- if (filterDraftStartedAtTimestampGte !== undefined) {
611
- _queryParams["filter_draft_started_at_timestamp_gte"] = filterDraftStartedAtTimestampGte;
612
- }
613
- if (filterStagedAtTimestampLte !== undefined) {
614
- _queryParams["filter_staged_at_timestamp_lte"] = filterStagedAtTimestampLte;
615
- }
616
- if (filterStagedAtTimestampGte !== undefined) {
617
- _queryParams["filter_staged_at_timestamp_gte"] = filterStagedAtTimestampGte;
618
- }
619
- if (filterInProgressAtTimestampLte !== undefined) {
620
- _queryParams["filter_in_progress_at_timestamp_lte"] = filterInProgressAtTimestampLte;
621
- }
622
- if (filterInProgressAtTimestampGte !== undefined) {
623
- _queryParams["filter_in_progress_at_timestamp_gte"] = filterInProgressAtTimestampGte;
624
- }
625
- if (filterCompletedAtTimestampLte !== undefined) {
626
- _queryParams["filter_completed_at_timestamp_lte"] = filterCompletedAtTimestampLte;
627
- }
628
- if (filterCompletedAtTimestampGte !== undefined) {
629
- _queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
630
- }
631
- if (filterCancelledAtTimestampLte !== undefined) {
632
- _queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
633
- }
634
- if (filterCancelledAtTimestampGte !== undefined) {
635
- _queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
636
- }
637
- if (filterExceptionAtTimestampLte !== undefined) {
638
- _queryParams["filter_exception_at_timestamp_lte"] = filterExceptionAtTimestampLte;
639
- }
640
- if (filterExceptionAtTimestampGte !== undefined) {
641
- _queryParams["filter_exception_at_timestamp_gte"] = filterExceptionAtTimestampGte;
642
- }
643
- if (filterCoordinatorOrgId !== undefined) {
644
- _queryParams["filter_coordinator_org_id"] = filterCoordinatorOrgId;
645
- }
646
- if (filterShipperOrgId !== undefined) {
647
- _queryParams["filter_shipper_org_id"] = filterShipperOrgId;
648
- }
649
- if (filterOffChrtShipperOrgDataId !== undefined) {
650
- _queryParams["filter_off_chrt_shipper_org_data_id"] = filterOffChrtShipperOrgDataId;
651
- }
652
- let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
653
- const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
654
- url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "shipping/orders/expanded/list/for_executor_operators/v1"),
655
- method: "POST",
656
- headers: _headers,
657
- contentType: "application/json",
658
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
659
- requestType: "json",
660
- body: _body,
661
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
662
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
663
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
664
- });
665
- if (_response.ok) {
666
- return {
667
- data: _response.body,
668
- rawResponse: _response.rawResponse,
669
- };
670
- }
671
- if (_response.error.reason === "status-code") {
672
- switch (_response.error.statusCode) {
673
- case 422:
674
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
675
- default:
676
- throw new errors.ChrtError({
677
- statusCode: _response.error.statusCode,
678
- body: _response.error.body,
679
- rawResponse: _response.rawResponse,
680
- });
681
- }
682
- }
683
- switch (_response.error.reason) {
684
- case "non-json":
685
- throw new errors.ChrtError({
686
- statusCode: _response.error.statusCode,
687
- body: _response.error.rawBody,
688
- rawResponse: _response.rawResponse,
689
- });
690
- case "timeout":
691
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/expanded/list/for_executor_operators/v1.");
692
- case "unknown":
693
- throw new errors.ChrtError({
694
- message: _response.error.errorMessage,
695
- rawResponse: _response.rawResponse,
696
- });
697
- }
698
- });
699
- }
700
184
  /**
701
185
  * Lists expanded orders where the caller's provider org is the coordinator, an executor, or both. Each order appears once with role-filtered task-group details. | authz: allowed_org_types=[provider], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListForProviderRes)
702
186
  *
@@ -728,6 +212,7 @@ class Expanded {
728
212
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
729
213
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
730
214
  * filter_executor_org_id: "filter_executor_org_id",
215
+ * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
731
216
  * filter_coordinator_org_id: "filter_coordinator_org_id",
732
217
  * filter_shipper_org_id: "filter_shipper_org_id",
733
218
  * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
@@ -742,7 +227,7 @@ class Expanded {
742
227
  __listForProviderOperatorsV1(request, requestOptions) {
743
228
  return __awaiter(this, void 0, void 0, function* () {
744
229
  var _a, _b, _c, _d, _e, _f, _g;
745
- const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
230
+ const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
746
231
  const _queryParams = {};
747
232
  if (providerRole !== undefined) {
748
233
  _queryParams["provider_role"] = providerRole;
@@ -833,6 +318,9 @@ class Expanded {
833
318
  if (filterExecutorOrgId !== undefined) {
834
319
  _queryParams["filter_executor_org_id"] = filterExecutorOrgId;
835
320
  }
321
+ if (filterOffChrtExecutorOrgDataId !== undefined) {
322
+ _queryParams["filter_off_chrt_executor_org_data_id"] = filterOffChrtExecutorOrgDataId;
323
+ }
836
324
  if (filterCoordinatorOrgId !== undefined) {
837
325
  _queryParams["filter_coordinator_org_id"] = filterCoordinatorOrgId;
838
326
  }
@@ -26,6 +26,7 @@ import * as Chrt from "../../../../../../../../index.js";
26
26
  * filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
27
27
  * filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
28
28
  * filter_executor_org_id: "filter_executor_org_id",
29
+ * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
29
30
  * filter_coordinator_org_id: "filter_coordinator_org_id",
30
31
  * filter_shipper_org_id: "filter_shipper_org_id",
31
32
  * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
@@ -65,6 +66,8 @@ export interface ExpandedListForProviderOperatorsV1Request {
65
66
  filter_exception_at_timestamp_lte?: string | null;
66
67
  filter_exception_at_timestamp_gte?: string | null;
67
68
  filter_executor_org_id?: string | null;
69
+ /** Filter by off-CHRT executor org data ID */
70
+ filter_off_chrt_executor_org_data_id?: string | null;
68
71
  filter_coordinator_org_id?: string | null;
69
72
  filter_shipper_org_id?: string | null;
70
73
  filter_off_chrt_shipper_org_data_id?: string | null;
@@ -1,4 +1,2 @@
1
- export { type ExpandedListForCoordinatorOperatorsV1Request } from "./ExpandedListForCoordinatorOperatorsV1Request.js";
2
- export { type ExpandedListForExecutorOperatorsV1Request } from "./ExpandedListForExecutorOperatorsV1Request.js";
3
1
  export { type ExpandedListForProviderOperatorsV1Request } from "./ExpandedListForProviderOperatorsV1Request.js";
4
2
  export { type ExpandedListForShipperOperatorsV1Request } from "./ExpandedListForShipperOperatorsV1Request.js";
@@ -31,7 +31,7 @@ export declare class S3Object {
31
31
  protected readonly _options: S3Object.Options;
32
32
  constructor(_options?: S3Object.Options);
33
33
  /**
34
- * Uploads a file (image, PDF, etc.) to a task artifact. Automatic blurhash generation for images. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, shipper_org_operators] | (UploadFile) -> (bool)
34
+ * Uploads a file (image, PDF, etc.) to a task artifact. Automatic blurhash generation for images. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, shipper_org_operators] | (UploadFile) -> (TaskArtifactS3ObjectMetadata1)
35
35
  *
36
36
  * @param {string} taskArtifactId
37
37
  * @param {Chrt.shipping.taskArtifacts.BodyPostTaskArtifactsS3ObjectAddV1} request
@@ -45,7 +45,7 @@ export declare class S3Object {
45
45
  * file: fs.createReadStream("/path/to/your/file")
46
46
  * })
47
47
  */
48
- addV1(taskArtifactId: string, request: Chrt.shipping.taskArtifacts.BodyPostTaskArtifactsS3ObjectAddV1, requestOptions?: S3Object.RequestOptions): core.HttpResponsePromise<boolean>;
48
+ addV1(taskArtifactId: string, request: Chrt.shipping.taskArtifacts.BodyPostTaskArtifactsS3ObjectAddV1, requestOptions?: S3Object.RequestOptions): core.HttpResponsePromise<Chrt.TaskArtifactS3ObjectMetadata1>;
49
49
  private __addV1;
50
50
  /**
51
51
  * Writes the AI-generated image description onto an existing TaskArtifactS3ObjectMetadata. Called by the shipping_task_image_analysis Temporal workflow via a delegation JWT. | authz_personas=[driver_for_executor, executor_org_operators, shipper_org_operators, coordinator_org_operators] | (AIImageDescription) -> (bool)
@@ -63,7 +63,7 @@ export declare class S3Object {
63
63
  * dispute_defensibility: "dispute_defensibility",
64
64
  * location_description: "location_description",
65
65
  * location_identifiers: ["location_identifiers"],
66
- * model: "gpt-5.5",
66
+ * model: "gpt-5.6-terra",
67
67
  * package_appearance: "package_appearance",
68
68
  * package_types: ["package_types"],
69
69
  * proof_notes: ["proof_notes"],
@@ -56,7 +56,7 @@ class S3Object {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Uploads a file (image, PDF, etc.) to a task artifact. Automatic blurhash generation for images. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, shipper_org_operators] | (UploadFile) -> (bool)
59
+ * Uploads a file (image, PDF, etc.) to a task artifact. Automatic blurhash generation for images. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, shipper_org_operators] | (UploadFile) -> (TaskArtifactS3ObjectMetadata1)
60
60
  *
61
61
  * @param {string} taskArtifactId
62
62
  * @param {Chrt.shipping.taskArtifacts.BodyPostTaskArtifactsS3ObjectAddV1} request
@@ -140,7 +140,7 @@ class S3Object {
140
140
  * dispute_defensibility: "dispute_defensibility",
141
141
  * location_description: "location_description",
142
142
  * location_identifiers: ["location_identifiers"],
143
- * model: "gpt-5.5",
143
+ * model: "gpt-5.6-terra",
144
144
  * package_appearance: "package_appearance",
145
145
  * package_types: ["package_types"],
146
146
  * proof_notes: ["proof_notes"],