@chrt-inc/typescript-sdk 1.880.0 → 1.885.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 (228) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +0 -1
  3. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +0 -1
  4. package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.d.ts +2 -2
  5. package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.js +2 -2
  6. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +25 -9
  7. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +80 -12
  8. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1.d.ts +14 -0
  9. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTasksBulkUpdateDeadlinesReq1.d.ts → OperationsTasksSetDeadlineTimestampsReq1.d.ts} +4 -4
  10. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +2 -1
  11. package/dist/cjs/api/resources/orgs/client/Client.d.ts +6 -6
  12. package/dist/cjs/api/resources/orgs/client/Client.js +14 -14
  13. package/dist/cjs/api/resources/orgs/resources/accounts/client/Client.d.ts +97 -0
  14. package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → accounts}/client/Client.js +57 -100
  15. package/dist/{esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.mts → cjs/api/resources/orgs/resources/accounts/client/requests/AccountClientCreate1.d.ts} +4 -2
  16. package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.ts → accounts/client/requests/AccountClientUpdate1.d.ts} +1 -3
  17. package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.ts +27 -0
  18. package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/index.d.ts +3 -0
  19. package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.d.ts +112 -0
  20. package/dist/cjs/api/resources/orgs/resources/{directoryEntries → contacts}/client/Client.js +55 -51
  21. package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.d.ts → contacts/client/requests/ContactClientCreate1.d.ts} +5 -4
  22. package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts → contacts/client/requests/ContactClientUpdate1.d.ts} +1 -1
  23. package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.d.ts → contacts/client/requests/ContactsListV1Request.d.ts} +9 -6
  24. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/index.d.ts +3 -0
  25. package/dist/cjs/api/resources/orgs/resources/index.d.ts +4 -4
  26. package/dist/cjs/api/resources/orgs/resources/index.js +5 -5
  27. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.d.ts +1 -1
  28. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.js +1 -1
  29. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +1 -1
  30. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +4 -4
  31. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +2 -1
  32. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +2 -1
  33. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +3 -3
  34. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +28 -0
  35. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +120 -0
  36. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -0
  37. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -0
  38. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +20 -4
  39. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +3 -0
  40. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +3 -0
  41. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
  42. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +3 -0
  43. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +1 -1
  44. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +1 -1
  45. package/dist/{esm/api/types/OffChrtVendor1.d.mts → cjs/api/types/Account1.d.ts} +4 -2
  46. package/dist/cjs/api/types/{OffChrtVendorListRes.d.ts → AccountListRes.d.ts} +2 -2
  47. package/dist/cjs/api/types/AccountSortByEnum.d.ts +4 -0
  48. package/dist/cjs/api/types/{DirectoryEntry1.d.ts → Contact1.d.ts} +6 -7
  49. package/dist/cjs/api/types/{DirectoryEntryListRes.d.ts → ContactListRes.d.ts} +2 -2
  50. package/dist/cjs/api/types/ContactSortByEnum.d.ts +4 -0
  51. package/dist/cjs/api/types/CreateOffChrtOrgRes.d.ts +1 -1
  52. package/dist/cjs/api/types/LineItemGroup1.d.ts +0 -1
  53. package/dist/cjs/api/types/NotificationIntentAdHoc1.d.ts +1 -1
  54. package/dist/cjs/api/types/NotificationIntentAdHocClientCreate1.d.ts +1 -1
  55. package/dist/cjs/api/types/{OperationsTaskDeadlineUpdate1.d.ts → OperationsTaskDeadlineTimestampUpdate1.d.ts} +2 -2
  56. package/dist/cjs/api/types/OperationsTaskDeadlineTimestampUpdate1.js +5 -0
  57. package/dist/cjs/api/types/OperationsTasksDeadlineTimestampsUpdateRes1.d.ts +7 -0
  58. package/dist/cjs/api/types/OperationsTasksDeadlineTimestampsUpdateRes1.js +5 -0
  59. package/dist/cjs/api/types/Order1.d.ts +1 -0
  60. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +1 -1
  61. package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +1 -0
  62. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -0
  63. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -0
  64. package/dist/cjs/api/types/OrderTemplate1.d.ts +2 -1
  65. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +2 -1
  66. package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +1 -1
  67. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +3 -2
  68. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +2 -1
  69. package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +1 -1
  70. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +2 -1
  71. package/dist/cjs/api/types/OrgTypeEnum.d.ts +2 -1
  72. package/dist/cjs/api/types/OrgTypeEnum.js +1 -0
  73. package/dist/cjs/api/types/Statement1.d.ts +0 -1
  74. package/dist/cjs/api/types/Task1.d.ts +1 -1
  75. package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -1
  76. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +1 -1
  77. package/dist/cjs/api/types/TaskExpanded.d.ts +1 -1
  78. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +2 -0
  79. package/dist/cjs/api/types/index.d.ts +8 -7
  80. package/dist/cjs/api/types/index.js +8 -7
  81. package/dist/cjs/version.d.ts +1 -1
  82. package/dist/cjs/version.js +1 -1
  83. package/dist/esm/Client.mjs +2 -2
  84. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +0 -1
  85. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +0 -1
  86. package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.d.mts +2 -2
  87. package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.mjs +2 -2
  88. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +25 -9
  89. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +80 -12
  90. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1.d.mts +14 -0
  91. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTasksBulkUpdateDeadlinesReq1.d.mts → OperationsTasksSetDeadlineTimestampsReq1.d.mts} +4 -4
  92. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +2 -1
  93. package/dist/esm/api/resources/orgs/client/Client.d.mts +6 -6
  94. package/dist/esm/api/resources/orgs/client/Client.mjs +8 -8
  95. package/dist/esm/api/resources/orgs/resources/accounts/client/Client.d.mts +97 -0
  96. package/dist/esm/api/resources/orgs/resources/{offChrtVendor → accounts}/client/Client.mjs +55 -98
  97. package/dist/{cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.ts → esm/api/resources/orgs/resources/accounts/client/requests/AccountClientCreate1.d.mts} +4 -2
  98. package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.mts → accounts/client/requests/AccountClientUpdate1.d.mts} +1 -3
  99. package/dist/esm/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.mts +27 -0
  100. package/dist/esm/api/resources/orgs/resources/accounts/client/requests/index.d.mts +3 -0
  101. package/dist/esm/api/resources/orgs/resources/contacts/client/Client.d.mts +112 -0
  102. package/dist/esm/api/resources/orgs/resources/{directoryEntries → contacts}/client/Client.mjs +53 -49
  103. package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts → contacts/client/requests/ContactClientCreate1.d.mts} +5 -4
  104. package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts → contacts/client/requests/ContactClientUpdate1.d.mts} +1 -1
  105. package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.d.mts → contacts/client/requests/ContactsListV1Request.d.mts} +9 -6
  106. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/index.d.mts +3 -0
  107. package/dist/esm/api/resources/orgs/resources/index.d.mts +4 -4
  108. package/dist/esm/api/resources/orgs/resources/index.mjs +4 -4
  109. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.d.mts +1 -1
  110. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.mjs +1 -1
  111. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +1 -1
  112. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +4 -4
  113. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +2 -1
  114. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +2 -1
  115. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +3 -3
  116. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +28 -0
  117. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +120 -0
  118. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -0
  119. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -0
  120. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +20 -4
  121. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +3 -0
  122. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +3 -0
  123. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
  124. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +3 -0
  125. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +1 -1
  126. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +1 -1
  127. package/dist/{cjs/api/types/OffChrtVendor1.d.ts → esm/api/types/Account1.d.mts} +4 -2
  128. package/dist/esm/api/types/{OffChrtVendorListRes.d.mts → AccountListRes.d.mts} +2 -2
  129. package/dist/esm/api/types/AccountSortByEnum.d.mts +4 -0
  130. package/dist/esm/api/types/{DirectoryEntry1.d.mts → Contact1.d.mts} +6 -7
  131. package/dist/esm/api/types/{DirectoryEntryListRes.d.mts → ContactListRes.d.mts} +2 -2
  132. package/dist/esm/api/types/ContactSortByEnum.d.mts +4 -0
  133. package/dist/esm/api/types/CreateOffChrtOrgRes.d.mts +1 -1
  134. package/dist/esm/api/types/LineItemGroup1.d.mts +0 -1
  135. package/dist/esm/api/types/NotificationIntentAdHoc1.d.mts +1 -1
  136. package/dist/esm/api/types/NotificationIntentAdHocClientCreate1.d.mts +1 -1
  137. package/dist/esm/api/types/{OperationsTaskDeadlineUpdate1.d.mts → OperationsTaskDeadlineTimestampUpdate1.d.mts} +2 -2
  138. package/dist/esm/api/types/OperationsTaskDeadlineTimestampUpdate1.mjs +4 -0
  139. package/dist/esm/api/types/OperationsTasksDeadlineTimestampsUpdateRes1.d.mts +7 -0
  140. package/dist/esm/api/types/OperationsTasksDeadlineTimestampsUpdateRes1.mjs +4 -0
  141. package/dist/esm/api/types/Order1.d.mts +1 -0
  142. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +1 -1
  143. package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +1 -0
  144. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -0
  145. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -0
  146. package/dist/esm/api/types/OrderTemplate1.d.mts +2 -1
  147. package/dist/esm/api/types/OrderTemplateCore1.d.mts +2 -1
  148. package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +1 -1
  149. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +3 -2
  150. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +2 -1
  151. package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +1 -1
  152. package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +2 -1
  153. package/dist/esm/api/types/OrgTypeEnum.d.mts +2 -1
  154. package/dist/esm/api/types/OrgTypeEnum.mjs +1 -0
  155. package/dist/esm/api/types/Statement1.d.mts +0 -1
  156. package/dist/esm/api/types/Task1.d.mts +1 -1
  157. package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -1
  158. package/dist/esm/api/types/TaskClientUpdate1.d.mts +1 -1
  159. package/dist/esm/api/types/TaskExpanded.d.mts +1 -1
  160. package/dist/esm/api/types/TaskGroupExpanded.d.mts +2 -0
  161. package/dist/esm/api/types/index.d.mts +8 -7
  162. package/dist/esm/api/types/index.mjs +8 -7
  163. package/dist/esm/version.d.mts +1 -1
  164. package/dist/esm/version.mjs +1 -1
  165. package/package.json +1 -1
  166. package/reference.md +441 -287
  167. package/dist/cjs/api/resources/orgs/resources/directoryEntries/client/Client.d.ts +0 -111
  168. package/dist/cjs/api/resources/orgs/resources/directoryEntries/client/requests/index.d.ts +0 -3
  169. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.d.ts +0 -106
  170. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.ts +0 -14
  171. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.ts +0 -3
  172. package/dist/cjs/api/types/DirectoryEntrySortByEnum.d.ts +0 -4
  173. package/dist/cjs/api/types/OperationsTasksBulkUpdateDeadlinesRes1.d.ts +0 -7
  174. package/dist/esm/api/resources/orgs/resources/directoryEntries/client/Client.d.mts +0 -111
  175. package/dist/esm/api/resources/orgs/resources/directoryEntries/client/requests/index.d.mts +0 -3
  176. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.d.mts +0 -106
  177. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.mts +0 -14
  178. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.mts +0 -3
  179. package/dist/esm/api/types/DirectoryEntrySortByEnum.d.mts +0 -4
  180. package/dist/esm/api/types/OperationsTasksBulkUpdateDeadlinesRes1.d.mts +0 -7
  181. /package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTasksBulkUpdateDeadlinesReq1.js → OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1.js} +0 -0
  182. /package/dist/cjs/api/resources/{orgs/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.js → operations/resources/operationsTasks/client/requests/OperationsTasksSetDeadlineTimestampsReq1.js} +0 -0
  183. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.d.ts +0 -0
  184. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.js +0 -0
  185. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.js → accounts/client/requests/AccountClientCreate1.js} +0 -0
  186. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.js → accounts/client/requests/AccountClientUpdate1.js} +0 -0
  187. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientCreate1.js → accounts/client/requests/AccountsListV1Request.js} +0 -0
  188. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/requests/index.js +0 -0
  189. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/index.d.ts +0 -0
  190. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/index.js +0 -0
  191. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.d.ts +0 -0
  192. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.js +0 -0
  193. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.js → contacts/client/requests/ContactClientCreate1.js} +0 -0
  194. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorListV1Request.js → contacts/client/requests/ContactClientUpdate1.js} +0 -0
  195. /package/dist/cjs/api/{types/DirectoryEntry1.js → resources/orgs/resources/contacts/client/requests/ContactsListV1Request.js} +0 -0
  196. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/client/requests/index.js +0 -0
  197. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/index.d.ts +0 -0
  198. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/index.js +0 -0
  199. /package/dist/cjs/api/types/{DirectoryEntryListRes.js → Account1.js} +0 -0
  200. /package/dist/cjs/api/types/{DirectoryEntrySortByEnum.js → AccountListRes.js} +0 -0
  201. /package/dist/cjs/api/types/{OffChrtVendor1.js → AccountSortByEnum.js} +0 -0
  202. /package/dist/cjs/api/types/{OffChrtVendorListRes.js → Contact1.js} +0 -0
  203. /package/dist/cjs/api/types/{OperationsTaskDeadlineUpdate1.js → ContactListRes.js} +0 -0
  204. /package/dist/cjs/api/types/{OperationsTasksBulkUpdateDeadlinesRes1.js → ContactSortByEnum.js} +0 -0
  205. /package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTasksBulkUpdateDeadlinesReq1.mjs → OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1.mjs} +0 -0
  206. /package/dist/esm/api/resources/{orgs/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksSetDeadlineTimestampsReq1.mjs} +0 -0
  207. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.d.mts +0 -0
  208. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.mjs +0 -0
  209. /package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.mjs → accounts/client/requests/AccountClientCreate1.mjs} +0 -0
  210. /package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.mjs → accounts/client/requests/AccountClientUpdate1.mjs} +0 -0
  211. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientCreate1.mjs → accounts/client/requests/AccountsListV1Request.mjs} +0 -0
  212. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/requests/index.mjs +0 -0
  213. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/index.d.mts +0 -0
  214. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/index.mjs +0 -0
  215. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.d.mts +0 -0
  216. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.mjs +0 -0
  217. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.mjs → contacts/client/requests/ContactClientCreate1.mjs} +0 -0
  218. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorListV1Request.mjs → contacts/client/requests/ContactClientUpdate1.mjs} +0 -0
  219. /package/dist/esm/api/{types/DirectoryEntry1.mjs → resources/orgs/resources/contacts/client/requests/ContactsListV1Request.mjs} +0 -0
  220. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/requests/index.mjs +0 -0
  221. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/index.d.mts +0 -0
  222. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/index.mjs +0 -0
  223. /package/dist/esm/api/types/{DirectoryEntryListRes.mjs → Account1.mjs} +0 -0
  224. /package/dist/esm/api/types/{DirectoryEntrySortByEnum.mjs → AccountListRes.mjs} +0 -0
  225. /package/dist/esm/api/types/{OffChrtVendor1.mjs → AccountSortByEnum.mjs} +0 -0
  226. /package/dist/esm/api/types/{OffChrtVendorListRes.mjs → Contact1.mjs} +0 -0
  227. /package/dist/esm/api/types/{OperationsTaskDeadlineUpdate1.mjs → ContactListRes.mjs} +0 -0
  228. /package/dist/esm/api/types/{OperationsTasksBulkUpdateDeadlinesRes1.mjs → ContactSortByEnum.mjs} +0 -0
@@ -253,6 +253,126 @@ class Orders {
253
253
  }
254
254
  });
255
255
  }
256
+ /**
257
+ * Adds a coordinator-owned account for the order's shipper. | authz_personas=[coordinator_org_operators] | () -> (bool)
258
+ *
259
+ * @param {string} orderId
260
+ * @param {string} coordinatorShipperAccountId
261
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
262
+ *
263
+ * @throws {@link Chrt.UnprocessableEntityError}
264
+ *
265
+ * @example
266
+ * await client.shipping.orders.addCoordinatorShipperAccountIdV1("order_id", "coordinator_shipper_account_id")
267
+ */
268
+ addCoordinatorShipperAccountIdV1(orderId, coordinatorShipperAccountId, requestOptions) {
269
+ return core.HttpResponsePromise.fromPromise(this.__addCoordinatorShipperAccountIdV1(orderId, coordinatorShipperAccountId, requestOptions));
270
+ }
271
+ __addCoordinatorShipperAccountIdV1(orderId, coordinatorShipperAccountId, requestOptions) {
272
+ return __awaiter(this, void 0, void 0, function* () {
273
+ var _a, _b, _c, _d;
274
+ 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);
275
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
276
+ 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/coordinator_shipper_account_ids/add/v1/${encodeURIComponent(orderId)}/${encodeURIComponent(coordinatorShipperAccountId)}`),
277
+ method: "POST",
278
+ headers: _headers,
279
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
280
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
281
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
282
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
283
+ });
284
+ if (_response.ok) {
285
+ return { data: _response.body, rawResponse: _response.rawResponse };
286
+ }
287
+ if (_response.error.reason === "status-code") {
288
+ switch (_response.error.statusCode) {
289
+ case 422:
290
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
291
+ default:
292
+ throw new errors.ChrtError({
293
+ statusCode: _response.error.statusCode,
294
+ body: _response.error.body,
295
+ rawResponse: _response.rawResponse,
296
+ });
297
+ }
298
+ }
299
+ switch (_response.error.reason) {
300
+ case "non-json":
301
+ throw new errors.ChrtError({
302
+ statusCode: _response.error.statusCode,
303
+ body: _response.error.rawBody,
304
+ rawResponse: _response.rawResponse,
305
+ });
306
+ case "timeout":
307
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/coordinator_shipper_account_ids/add/v1/{order_id}/{coordinator_shipper_account_id}.");
308
+ case "unknown":
309
+ throw new errors.ChrtError({
310
+ message: _response.error.errorMessage,
311
+ rawResponse: _response.rawResponse,
312
+ });
313
+ }
314
+ });
315
+ }
316
+ /**
317
+ * Removes a coordinator-owned account for the order's shipper. | authz_personas=[coordinator_org_operators] | () -> (bool)
318
+ *
319
+ * @param {string} orderId
320
+ * @param {string} coordinatorShipperAccountId
321
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
322
+ *
323
+ * @throws {@link Chrt.UnprocessableEntityError}
324
+ *
325
+ * @example
326
+ * await client.shipping.orders.removeCoordinatorShipperAccountIdV1("order_id", "coordinator_shipper_account_id")
327
+ */
328
+ removeCoordinatorShipperAccountIdV1(orderId, coordinatorShipperAccountId, requestOptions) {
329
+ return core.HttpResponsePromise.fromPromise(this.__removeCoordinatorShipperAccountIdV1(orderId, coordinatorShipperAccountId, requestOptions));
330
+ }
331
+ __removeCoordinatorShipperAccountIdV1(orderId, coordinatorShipperAccountId, requestOptions) {
332
+ return __awaiter(this, void 0, void 0, function* () {
333
+ var _a, _b, _c, _d;
334
+ 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);
335
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
336
+ 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/coordinator_shipper_account_ids/remove/v1/${encodeURIComponent(orderId)}/${encodeURIComponent(coordinatorShipperAccountId)}`),
337
+ method: "POST",
338
+ headers: _headers,
339
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
340
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
341
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
342
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
343
+ });
344
+ if (_response.ok) {
345
+ return { data: _response.body, rawResponse: _response.rawResponse };
346
+ }
347
+ if (_response.error.reason === "status-code") {
348
+ switch (_response.error.statusCode) {
349
+ case 422:
350
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
351
+ default:
352
+ throw new errors.ChrtError({
353
+ statusCode: _response.error.statusCode,
354
+ body: _response.error.body,
355
+ rawResponse: _response.rawResponse,
356
+ });
357
+ }
358
+ }
359
+ switch (_response.error.reason) {
360
+ case "non-json":
361
+ throw new errors.ChrtError({
362
+ statusCode: _response.error.statusCode,
363
+ body: _response.error.rawBody,
364
+ rawResponse: _response.rawResponse,
365
+ });
366
+ case "timeout":
367
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/coordinator_shipper_account_ids/remove/v1/{order_id}/{coordinator_shipper_account_id}.");
368
+ case "unknown":
369
+ throw new errors.ChrtError({
370
+ message: _response.error.errorMessage,
371
+ rawResponse: _response.rawResponse,
372
+ });
373
+ }
374
+ });
375
+ }
256
376
  /**
257
377
  * Validates a draft order and stages all related entities in a transaction. | authz_personas=[draft_creator_org_operator] | () -> (bool)
258
378
  *
@@ -9,6 +9,7 @@ import * as Chrt from "../../../../../../../../index.js";
9
9
  export interface OrdersOpenDraftReq {
10
10
  /** Must be a string starting with `org_` */
11
11
  coordinator_org_id?: string | null;
12
+ coordinator_shipper_account_ids?: string[];
12
13
  /** Optional key, unique per caller org, that makes draft creation idempotent: re-sending the same key returns the already-created draft instead of creating a duplicate. */
13
14
  creation_idempotency_key?: string | null;
14
15
  department_id?: string | null;
@@ -101,6 +101,7 @@ export declare class Expanded {
101
101
  * page: 1,
102
102
  * page_size: 1,
103
103
  * search: "search",
104
+ * filter_awb_number: "filter_awb_number",
104
105
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
105
106
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
106
107
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -138,6 +139,7 @@ export declare class Expanded {
138
139
  * page: 1,
139
140
  * page_size: 1,
140
141
  * search: "search",
142
+ * filter_awb_number: "filter_awb_number",
141
143
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
142
144
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
143
145
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -174,6 +176,7 @@ export declare class Expanded {
174
176
  * page: 1,
175
177
  * page_size: 1,
176
178
  * search: "search",
179
+ * filter_awb_number: "filter_awb_number",
177
180
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
178
181
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
179
182
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -212,6 +215,7 @@ export declare class Expanded {
212
215
  * page: 1,
213
216
  * page_size: 1,
214
217
  * search: "search",
218
+ * filter_awb_number: "filter_awb_number",
215
219
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
216
220
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
217
221
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -322,6 +322,7 @@ class Expanded {
322
322
  * page: 1,
323
323
  * page_size: 1,
324
324
  * search: "search",
325
+ * filter_awb_number: "filter_awb_number",
325
326
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
326
327
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
327
328
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -348,7 +349,7 @@ class Expanded {
348
349
  __listForCoordinatorOperatorsV1(request, requestOptions) {
349
350
  return __awaiter(this, void 0, void 0, function* () {
350
351
  var _a, _b, _c, _d, _e, _f;
351
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, 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_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
352
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, 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_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
352
353
  const _queryParams = {};
353
354
  if (sortBy !== undefined) {
354
355
  _queryParams["sort_by"] = sortBy;
@@ -383,6 +384,9 @@ class Expanded {
383
384
  filterOrderClassificationByTaskGroupType;
384
385
  }
385
386
  }
387
+ if (filterAwbNumber !== undefined) {
388
+ _queryParams["filter_awb_number"] = filterAwbNumber;
389
+ }
386
390
  if (filterDraftStartedAtTimestampLte !== undefined) {
387
391
  _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
388
392
  }
@@ -505,6 +509,7 @@ class Expanded {
505
509
  * page: 1,
506
510
  * page_size: 1,
507
511
  * search: "search",
512
+ * filter_awb_number: "filter_awb_number",
508
513
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
509
514
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
510
515
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -529,7 +534,7 @@ class Expanded {
529
534
  __listForExecutorOperatorsV1(request, requestOptions) {
530
535
  return __awaiter(this, void 0, void 0, function* () {
531
536
  var _a, _b, _c, _d, _e, _f;
532
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, 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;
537
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, 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;
533
538
  const _queryParams = {};
534
539
  if (sortBy !== undefined) {
535
540
  _queryParams["sort_by"] = sortBy;
@@ -564,6 +569,9 @@ class Expanded {
564
569
  filterOrderClassificationByTaskGroupType;
565
570
  }
566
571
  }
572
+ if (filterAwbNumber !== undefined) {
573
+ _queryParams["filter_awb_number"] = filterAwbNumber;
574
+ }
567
575
  if (filterDraftStartedAtTimestampLte !== undefined) {
568
576
  _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
569
577
  }
@@ -673,6 +681,7 @@ class Expanded {
673
681
  * page: 1,
674
682
  * page_size: 1,
675
683
  * search: "search",
684
+ * filter_awb_number: "filter_awb_number",
676
685
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
677
686
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
678
687
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -700,7 +709,7 @@ class Expanded {
700
709
  __listForProviderOperatorsV1(request, requestOptions) {
701
710
  return __awaiter(this, void 0, void 0, function* () {
702
711
  var _a, _b, _c, _d, _e, _f;
703
- const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, 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_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
712
+ const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, 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_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
704
713
  const _queryParams = {};
705
714
  if (providerRole !== undefined) {
706
715
  _queryParams["provider_role"] = providerRole;
@@ -738,6 +747,9 @@ class Expanded {
738
747
  filterOrderClassificationByTaskGroupType;
739
748
  }
740
749
  }
750
+ if (filterAwbNumber !== undefined) {
751
+ _queryParams["filter_awb_number"] = filterAwbNumber;
752
+ }
741
753
  if (filterDraftStartedAtTimestampLte !== undefined) {
742
754
  _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
743
755
  }
@@ -863,6 +875,7 @@ class Expanded {
863
875
  * page: 1,
864
876
  * page_size: 1,
865
877
  * search: "search",
878
+ * filter_awb_number: "filter_awb_number",
866
879
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
867
880
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
868
881
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -886,7 +899,7 @@ class Expanded {
886
899
  __listForShipperOperatorsV1(request, requestOptions) {
887
900
  return __awaiter(this, void 0, void 0, function* () {
888
901
  var _a, _b, _c, _d, _e, _f;
889
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, 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, body: _body, } = request;
902
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, 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, body: _body, } = request;
890
903
  const _queryParams = {};
891
904
  if (sortBy !== undefined) {
892
905
  _queryParams["sort_by"] = sortBy;
@@ -921,6 +934,9 @@ class Expanded {
921
934
  filterOrderClassificationByTaskGroupType;
922
935
  }
923
936
  }
937
+ if (filterAwbNumber !== undefined) {
938
+ _queryParams["filter_awb_number"] = filterAwbNumber;
939
+ }
924
940
  if (filterDraftStartedAtTimestampLte !== undefined) {
925
941
  _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
926
942
  }
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.js";
10
10
  * page: 1,
11
11
  * page_size: 1,
12
12
  * search: "search",
13
+ * filter_awb_number: "filter_awb_number",
13
14
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
14
15
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
15
16
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -41,6 +42,8 @@ export interface ExpandedListForCoordinatorOperatorsV1Request {
41
42
  filter_status?: (Chrt.OrderStatusEnum1 | null) | (Chrt.OrderStatusEnum1 | null)[];
42
43
  /** Filter by global order classification (OBC takes precedence over flight, then ground) */
43
44
  filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
45
+ /** Filter by exact AWB number */
46
+ filter_awb_number?: string | null;
44
47
  filter_draft_started_at_timestamp_lte?: string | null;
45
48
  filter_draft_started_at_timestamp_gte?: string | null;
46
49
  filter_staged_at_timestamp_lte?: string | null;
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.js";
10
10
  * page: 1,
11
11
  * page_size: 1,
12
12
  * search: "search",
13
+ * filter_awb_number: "filter_awb_number",
13
14
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
14
15
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
15
16
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -39,6 +40,8 @@ export interface ExpandedListForExecutorOperatorsV1Request {
39
40
  filter_status?: (Chrt.OrderStatusEnum1 | null) | (Chrt.OrderStatusEnum1 | null)[];
40
41
  /** Filter by global order classification (OBC takes precedence over flight, then ground) */
41
42
  filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
43
+ /** Filter by exact AWB number */
44
+ filter_awb_number?: string | null;
42
45
  filter_draft_started_at_timestamp_lte?: string | null;
43
46
  filter_draft_started_at_timestamp_gte?: string | null;
44
47
  filter_staged_at_timestamp_lte?: string | null;
@@ -11,6 +11,7 @@ import * as Chrt from "../../../../../../../../index.js";
11
11
  * page: 1,
12
12
  * page_size: 1,
13
13
  * search: "search",
14
+ * filter_awb_number: "filter_awb_number",
14
15
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
15
16
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
16
17
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -44,6 +45,8 @@ export interface ExpandedListForProviderOperatorsV1Request {
44
45
  filter_status?: (Chrt.OrderStatusEnum1 | null) | (Chrt.OrderStatusEnum1 | null)[];
45
46
  /** Filter by global order classification (OBC takes precedence over flight, then ground) */
46
47
  filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
48
+ /** Filter by exact AWB number */
49
+ filter_awb_number?: string | null;
47
50
  filter_draft_started_at_timestamp_lte?: string | null;
48
51
  filter_draft_started_at_timestamp_gte?: string | null;
49
52
  filter_staged_at_timestamp_lte?: string | null;
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.js";
10
10
  * page: 1,
11
11
  * page_size: 1,
12
12
  * search: "search",
13
+ * filter_awb_number: "filter_awb_number",
13
14
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
14
15
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
15
16
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -38,6 +39,8 @@ export interface ExpandedListForShipperOperatorsV1Request {
38
39
  filter_status?: (Chrt.OrderStatusEnum1 | null) | (Chrt.OrderStatusEnum1 | null)[];
39
40
  /** Filter by global order classification (OBC takes precedence over flight, then ground) */
40
41
  filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
42
+ /** Filter by exact AWB number */
43
+ filter_awb_number?: string | null;
41
44
  filter_draft_started_at_timestamp_lte?: string | null;
42
45
  filter_draft_started_at_timestamp_gte?: string | null;
43
46
  filter_staged_at_timestamp_lte?: string | null;
@@ -107,7 +107,7 @@ export declare class Tasks {
107
107
  skipV1(taskId: string, requestOptions?: Tasks.RequestOptions): core.HttpResponsePromise<boolean>;
108
108
  private __skipV1;
109
109
  /**
110
- * Updates a task. Operational fields (location, action, datetime_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). directory_entry_ids can be edited on STAGED/IN_PROGRESS orders for tasks still in STAGED status (order_creator_org_operators OR lig_owner_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
110
+ * Updates a task. Operational fields (location, action, datetime_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). contact_ids can be edited on STAGED/IN_PROGRESS orders for tasks still in STAGED status (order_creator_org_operators OR lig_owner_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
111
111
  *
112
112
  * @param {string} taskId
113
113
  * @param {Chrt.TaskClientUpdate1} request
@@ -370,7 +370,7 @@ class Tasks {
370
370
  });
371
371
  }
372
372
  /**
373
- * Updates a task. Operational fields (location, action, datetime_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). directory_entry_ids can be edited on STAGED/IN_PROGRESS orders for tasks still in STAGED status (order_creator_org_operators OR lig_owner_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
373
+ * Updates a task. Operational fields (location, action, datetime_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). contact_ids can be edited on STAGED/IN_PROGRESS orders for tasks still in STAGED status (order_creator_org_operators OR lig_owner_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
374
374
  *
375
375
  * @param {string} taskId
376
376
  * @param {Chrt.TaskClientUpdate1} request
@@ -1,13 +1,15 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface OffChrtVendor1 {
4
+ export interface Account1 {
5
5
  _id: string;
6
6
  /** Must be a string starting with `org_` */
7
7
  created_by_org_id: string;
8
8
  /** Must be a string starting with `user_` */
9
9
  created_by_user_id: string;
10
10
  name: string;
11
- notes?: string | null;
11
+ off_chrt_org_data_id?: string | null;
12
+ /** Must be a string starting with `org_` */
13
+ org_id?: string | null;
12
14
  schema_version: number;
13
15
  }
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
- export interface OffChrtVendorListRes {
6
- items: Chrt.OffChrtVendor1[];
5
+ export interface AccountListRes {
6
+ items: Chrt.Account1[];
7
7
  total_count: number;
8
8
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type AccountSortByEnum = "name";
@@ -2,20 +2,19 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
- export interface DirectoryEntry1 {
5
+ export interface Contact1 {
6
6
  _id: string;
7
- /** Must be a string starting with `user_` */
8
- created_by_user_id: string;
9
- email_address?: string | null;
10
- entry_off_chrt_org_data_id?: string | null;
7
+ account_id?: string | null;
11
8
  /** Must be a string starting with `org_` */
12
- entry_org_id?: string | null;
9
+ created_by_org_id: string;
10
+ email_address?: string | null;
13
11
  job_title?: string | null;
14
12
  location?: Chrt.LocationFeature | null;
15
13
  name: string;
16
14
  notes?: string | null;
15
+ off_chrt_org_data_id?: string | null;
17
16
  /** Must be a string starting with `org_` */
18
- owned_by_org_id: string;
17
+ org_id?: string | null;
19
18
  phone_number?: string | null;
20
19
  schema_version: number;
21
20
  }
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
- export interface DirectoryEntryListRes {
6
- items: Chrt.DirectoryEntry1[];
5
+ export interface ContactListRes {
6
+ items: Chrt.Contact1[];
7
7
  total_count: number;
8
8
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ContactSortByEnum = "name";
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface CreateOffChrtOrgRes {
5
- connection_id: string;
5
+ connection_id?: string | null;
6
6
  off_chrt_org_data_id: string;
7
7
  }
@@ -43,7 +43,6 @@ export interface LineItemGroup1 {
43
43
  owned_by_org_id: string;
44
44
  payment_destination_driver_id?: string | null;
45
45
  payment_destination_off_chrt_provider_org_data_id?: string | null;
46
- payment_destination_off_chrt_vendor_id?: string | null;
47
46
  /** Must be a string starting with `org_` */
48
47
  payment_destination_org_id?: string | null;
49
48
  payment_origin_off_chrt_shipper_org_data_id?: string | null;
@@ -4,12 +4,12 @@
4
4
  import * as Chrt from "../index.js";
5
5
  export interface NotificationIntentAdHoc1 {
6
6
  _id: string;
7
+ contact_id: string;
7
8
  created_at_timestamp: string;
8
9
  /** Must be a string starting with `org_` */
9
10
  created_by_org_id: string;
10
11
  /** Must be a string starting with `user_` */
11
12
  created_by_user_id: string;
12
- directory_entry_id: string;
13
13
  email_events?: Chrt.NotificationEventsForAdHocEnum[];
14
14
  order_id?: string | null;
15
15
  push_events?: Chrt.NotificationEventsForAdHocEnum[];
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface NotificationIntentAdHocClientCreate1 {
6
- directory_entry_id: string;
6
+ contact_id: string;
7
7
  email_events?: Chrt.NotificationEventsForAdHocEnum[];
8
8
  push_events?: Chrt.NotificationEventsForAdHocEnum[];
9
9
  schema_version: number;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface OperationsTaskDeadlineUpdate1 {
4
+ export interface OperationsTaskDeadlineTimestampUpdate1 {
5
5
  deadline_timestamp: string;
6
- task_id: string;
6
+ operations_task_id: string;
7
7
  }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OperationsTasksDeadlineTimestampsUpdateRes1 {
5
+ /** How many requested tasks were found in the caller's org and updated; a lower count means missing or cross-org task ids were skipped. */
6
+ updated_count: number;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -12,6 +12,7 @@ export interface Order1 {
12
12
  coordinator_label?: string | null;
13
13
  /** Must be a string starting with `org_` */
14
14
  coordinator_org_id?: string | null;
15
+ coordinator_shipper_account_ids?: string[];
15
16
  coordinator_task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
16
17
  /** Must be a string starting with `org_` */
17
18
  created_by_org_id: string;
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface OrderAndTaskGroupExpandedReq {
5
5
  expand_cargos?: boolean;
6
+ expand_contacts?: boolean;
6
7
  expand_coordinator_org_company_name?: boolean;
7
8
  expand_coordinator_org_handle?: boolean;
8
- expand_directory_entries?: boolean;
9
9
  expand_driver?: boolean;
10
10
  expand_executor_org_company_name?: boolean;
11
11
  expand_executor_org_handle?: boolean;
@@ -5,6 +5,7 @@ export interface OrderDraftValidationRequirements {
5
5
  all_entities_are_draft?: boolean | null;
6
6
  at_least_one_task_has_time_window?: boolean | null;
7
7
  cargos_have_valid_lifecycle?: boolean | null;
8
+ coordinator_shipper_accounts_match_order?: boolean | null;
8
9
  order_has_coordinator?: boolean | null;
9
10
  order_has_shipper?: boolean | null;
10
11
  order_has_task_groups?: boolean | null;
@@ -16,6 +16,7 @@ export interface OrderLimitedForCoordinator1 {
16
16
  coordinator_label?: string | null;
17
17
  /** Must be a string starting with `org_` */
18
18
  coordinator_org_id?: string | null;
19
+ coordinator_shipper_account_ids?: string[];
19
20
  coordinator_task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
20
21
  /** Must be a string starting with `org_` */
21
22
  created_by_org_id: string;
@@ -17,6 +17,7 @@ export interface OrderLimitedForProvider1 {
17
17
  coordinator_label?: string | null;
18
18
  /** Must be a string starting with `org_` */
19
19
  coordinator_org_id?: string | null;
20
+ coordinator_shipper_account_ids?: string[];
20
21
  coordinator_task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
21
22
  /** Must be a string starting with `org_` */
22
23
  created_by_org_id: string;
@@ -5,13 +5,14 @@ import * as Chrt from "../index.js";
5
5
  export interface OrderTemplate1 {
6
6
  _id: string;
7
7
  archived_at_timestamp?: string | null;
8
+ contact_ids?: string[];
8
9
  coordinator_label?: string | null;
9
10
  /** Must be a string starting with `org_` */
10
11
  coordinator_org_id?: string | null;
12
+ coordinator_shipper_account_ids?: string[];
11
13
  created_at_timestamp: string;
12
14
  department_id?: string | null;
13
15
  description?: string | null;
14
- directory_entry_ids?: string[];
15
16
  driver_ids?: string[];
16
17
  executor_org_ids?: string[];
17
18
  last_edited_at_timestamp: string;
@@ -8,11 +8,12 @@ import * as Chrt from "../index.js";
8
8
  * NOTE - some fields have multiple values and must be properly mapped to an entity by the order builder, e.g. for `driver_ids` each resolves to a single task group
9
9
  */
10
10
  export interface OrderTemplateCore1 {
11
+ contact_ids?: string[];
11
12
  coordinator_label?: string | null;
12
13
  /** Must be a string starting with `org_` */
13
14
  coordinator_org_id?: string | null;
15
+ coordinator_shipper_account_ids?: string[];
14
16
  department_id?: string | null;
15
- directory_entry_ids?: string[];
16
17
  driver_ids?: string[];
17
18
  executor_org_ids?: string[];
18
19
  off_chrt_executor_org_data_ids?: string[];
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface OrderTemplateExpanded1 {
6
- directory_entries?: Chrt.DirectoryEntry1[];
6
+ contacts?: Chrt.Contact1[];
7
7
  drivers?: Chrt.Driver1[];
8
8
  executor_orgs?: Chrt.OrderTemplateOrgInfo1[];
9
9
  off_chrt_executor_orgs?: Chrt.OffChrtOrgData1[];