@chrt-inc/typescript-sdk 1.881.0 → 1.887.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 (223) 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/orgs/client/Client.d.ts +6 -6
  7. package/dist/cjs/api/resources/orgs/client/Client.js +14 -14
  8. package/dist/cjs/api/resources/orgs/resources/accounts/client/Client.d.ts +114 -0
  9. package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → accounts}/client/Client.js +84 -55
  10. package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/AccountClientCreate1.d.ts +19 -0
  11. package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/AccountClientUpdate1.d.ts +13 -0
  12. package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.ts +30 -0
  13. package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/AccountsTypeaheadV1Request.d.ts +16 -0
  14. package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/index.d.ts +4 -0
  15. package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.d.ts +112 -0
  16. package/dist/cjs/api/resources/orgs/resources/{directoryEntries → contacts}/client/Client.js +55 -51
  17. package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.d.ts → contacts/client/requests/ContactClientCreate1.d.ts} +5 -4
  18. package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts → contacts/client/requests/ContactClientUpdate1.d.ts} +1 -1
  19. package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.d.ts → contacts/client/requests/ContactsListV1Request.d.ts} +9 -6
  20. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/index.d.ts +3 -0
  21. package/dist/cjs/api/resources/orgs/resources/index.d.ts +4 -4
  22. package/dist/cjs/api/resources/orgs/resources/index.js +5 -5
  23. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.d.ts +1 -1
  24. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.js +1 -1
  25. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +1 -1
  26. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +4 -4
  27. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +2 -1
  28. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +2 -1
  29. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +3 -3
  30. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +28 -0
  31. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +120 -0
  32. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -0
  33. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -0
  34. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +36 -4
  35. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +5 -0
  36. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +3 -0
  37. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +5 -0
  38. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +3 -0
  39. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +1 -1
  40. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +1 -1
  41. package/dist/{esm/api/types/OffChrtVendor1.d.mts → cjs/api/types/Account1.d.ts} +6 -2
  42. package/dist/cjs/api/types/{OffChrtVendorListRes.d.ts → AccountListRes.d.ts} +2 -2
  43. package/dist/cjs/api/types/AccountSortByEnum.d.ts +4 -0
  44. package/dist/cjs/api/types/{DirectoryEntrySortByEnum.d.ts → AccountTypeaheadFieldEnum.d.ts} +1 -1
  45. package/dist/cjs/api/types/AccountTypeaheadResult.d.ts +8 -0
  46. package/dist/cjs/api/types/AccountTypeaheadResult.js +5 -0
  47. package/dist/cjs/api/types/AccountTypeaheadValue.d.ts +7 -0
  48. package/dist/cjs/api/types/AccountTypeaheadValue.js +5 -0
  49. package/dist/cjs/api/types/{DirectoryEntry1.d.ts → Contact1.d.ts} +6 -7
  50. package/dist/cjs/api/types/Contact1.js +5 -0
  51. package/dist/cjs/api/types/{DirectoryEntryListRes.d.ts → ContactListRes.d.ts} +2 -2
  52. package/dist/cjs/api/types/ContactListRes.js +5 -0
  53. package/dist/cjs/api/types/ContactSortByEnum.d.ts +4 -0
  54. package/dist/cjs/api/types/ContactSortByEnum.js +5 -0
  55. package/dist/cjs/api/types/CreateOffChrtOrgRes.d.ts +1 -1
  56. package/dist/cjs/api/types/LineItemGroup1.d.ts +0 -1
  57. package/dist/cjs/api/types/NotificationEventsForAdHocEnum.d.ts +1 -1
  58. package/dist/cjs/api/types/NotificationIntentAdHoc1.d.ts +1 -1
  59. package/dist/cjs/api/types/NotificationIntentAdHocClientCreate1.d.ts +1 -1
  60. package/dist/cjs/api/types/Order1.d.ts +1 -0
  61. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +1 -1
  62. package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +1 -0
  63. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -0
  64. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -0
  65. package/dist/cjs/api/types/OrderTemplate1.d.ts +2 -1
  66. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +2 -1
  67. package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +1 -1
  68. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +3 -2
  69. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +2 -1
  70. package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +1 -1
  71. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +2 -1
  72. package/dist/cjs/api/types/OrgTypeEnum.d.ts +2 -1
  73. package/dist/cjs/api/types/OrgTypeEnum.js +1 -0
  74. package/dist/cjs/api/types/Statement1.d.ts +0 -1
  75. package/dist/cjs/api/types/Task1.d.ts +1 -1
  76. package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -1
  77. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +1 -1
  78. package/dist/cjs/api/types/TaskExpanded.d.ts +1 -1
  79. package/dist/cjs/api/types/index.d.ts +9 -5
  80. package/dist/cjs/api/types/index.js +9 -5
  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/orgs/client/Client.d.mts +6 -6
  89. package/dist/esm/api/resources/orgs/client/Client.mjs +8 -8
  90. package/dist/esm/api/resources/orgs/resources/accounts/client/Client.d.mts +114 -0
  91. package/dist/esm/api/resources/orgs/resources/{offChrtVendor → accounts}/client/Client.mjs +82 -53
  92. package/dist/esm/api/resources/orgs/resources/accounts/client/requests/AccountClientCreate1.d.mts +19 -0
  93. package/dist/esm/api/resources/orgs/resources/accounts/client/requests/AccountClientUpdate1.d.mts +13 -0
  94. package/dist/esm/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.mts +30 -0
  95. package/dist/esm/api/resources/orgs/resources/accounts/client/requests/AccountsTypeaheadV1Request.d.mts +16 -0
  96. package/dist/esm/api/resources/orgs/resources/accounts/client/requests/index.d.mts +4 -0
  97. package/dist/esm/api/resources/orgs/resources/contacts/client/Client.d.mts +112 -0
  98. package/dist/esm/api/resources/orgs/resources/{directoryEntries → contacts}/client/Client.mjs +53 -49
  99. package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts → contacts/client/requests/ContactClientCreate1.d.mts} +5 -4
  100. package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts → contacts/client/requests/ContactClientUpdate1.d.mts} +1 -1
  101. package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.d.mts → contacts/client/requests/ContactsListV1Request.d.mts} +9 -6
  102. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/index.d.mts +3 -0
  103. package/dist/esm/api/resources/orgs/resources/index.d.mts +4 -4
  104. package/dist/esm/api/resources/orgs/resources/index.mjs +4 -4
  105. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.d.mts +1 -1
  106. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.mjs +1 -1
  107. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +1 -1
  108. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +4 -4
  109. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +2 -1
  110. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +2 -1
  111. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +3 -3
  112. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +28 -0
  113. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +120 -0
  114. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -0
  115. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -0
  116. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +36 -4
  117. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +5 -0
  118. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +3 -0
  119. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +5 -0
  120. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +3 -0
  121. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +1 -1
  122. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +1 -1
  123. package/dist/{cjs/api/types/OffChrtVendor1.d.ts → esm/api/types/Account1.d.mts} +6 -2
  124. package/dist/esm/api/types/{OffChrtVendorListRes.d.mts → AccountListRes.d.mts} +2 -2
  125. package/dist/esm/api/types/AccountSortByEnum.d.mts +4 -0
  126. package/dist/esm/api/types/AccountTypeaheadFieldEnum.d.mts +4 -0
  127. package/dist/esm/api/types/AccountTypeaheadResult.d.mts +8 -0
  128. package/dist/esm/api/types/AccountTypeaheadResult.mjs +4 -0
  129. package/dist/esm/api/types/AccountTypeaheadValue.d.mts +7 -0
  130. package/dist/esm/api/types/AccountTypeaheadValue.mjs +4 -0
  131. package/dist/esm/api/types/{DirectoryEntry1.d.mts → Contact1.d.mts} +6 -7
  132. package/dist/esm/api/types/Contact1.mjs +4 -0
  133. package/dist/esm/api/types/{DirectoryEntryListRes.d.mts → ContactListRes.d.mts} +2 -2
  134. package/dist/esm/api/types/ContactListRes.mjs +4 -0
  135. package/dist/esm/api/types/ContactSortByEnum.d.mts +4 -0
  136. package/dist/esm/api/types/ContactSortByEnum.mjs +4 -0
  137. package/dist/esm/api/types/CreateOffChrtOrgRes.d.mts +1 -1
  138. package/dist/esm/api/types/LineItemGroup1.d.mts +0 -1
  139. package/dist/esm/api/types/NotificationEventsForAdHocEnum.d.mts +1 -1
  140. package/dist/esm/api/types/NotificationIntentAdHoc1.d.mts +1 -1
  141. package/dist/esm/api/types/NotificationIntentAdHocClientCreate1.d.mts +1 -1
  142. package/dist/esm/api/types/Order1.d.mts +1 -0
  143. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +1 -1
  144. package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +1 -0
  145. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -0
  146. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -0
  147. package/dist/esm/api/types/OrderTemplate1.d.mts +2 -1
  148. package/dist/esm/api/types/OrderTemplateCore1.d.mts +2 -1
  149. package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +1 -1
  150. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +3 -2
  151. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +2 -1
  152. package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +1 -1
  153. package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +2 -1
  154. package/dist/esm/api/types/OrgTypeEnum.d.mts +2 -1
  155. package/dist/esm/api/types/OrgTypeEnum.mjs +1 -0
  156. package/dist/esm/api/types/Statement1.d.mts +0 -1
  157. package/dist/esm/api/types/Task1.d.mts +1 -1
  158. package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -1
  159. package/dist/esm/api/types/TaskClientUpdate1.d.mts +1 -1
  160. package/dist/esm/api/types/TaskExpanded.d.mts +1 -1
  161. package/dist/esm/api/types/index.d.mts +9 -5
  162. package/dist/esm/api/types/index.mjs +9 -5
  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 +388 -233
  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/OffChrtVendorClientCreate1.d.ts +0 -15
  171. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.ts +0 -12
  172. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.ts +0 -14
  173. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.ts +0 -3
  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/OffChrtVendorClientCreate1.d.mts +0 -15
  178. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.mts +0 -12
  179. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.mts +0 -14
  180. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.mts +0 -3
  181. package/dist/esm/api/types/DirectoryEntrySortByEnum.d.mts +0 -4
  182. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.d.ts +0 -0
  183. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.js +0 -0
  184. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.js → accounts/client/requests/AccountClientCreate1.js} +0 -0
  185. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.js → accounts/client/requests/AccountClientUpdate1.js} +0 -0
  186. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.js → accounts/client/requests/AccountsListV1Request.js} +0 -0
  187. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientCreate1.js → accounts/client/requests/AccountsTypeaheadV1Request.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 → AccountTypeaheadFieldEnum.js} +0 -0
  203. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.d.mts +0 -0
  204. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.mjs +0 -0
  205. /package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.mjs → accounts/client/requests/AccountClientCreate1.mjs} +0 -0
  206. /package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.mjs → accounts/client/requests/AccountClientUpdate1.mjs} +0 -0
  207. /package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.mjs → accounts/client/requests/AccountsListV1Request.mjs} +0 -0
  208. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientCreate1.mjs → accounts/client/requests/AccountsTypeaheadV1Request.mjs} +0 -0
  209. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/requests/index.mjs +0 -0
  210. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/index.d.mts +0 -0
  211. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/index.mjs +0 -0
  212. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.d.mts +0 -0
  213. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.mjs +0 -0
  214. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.mjs → contacts/client/requests/ContactClientCreate1.mjs} +0 -0
  215. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorListV1Request.mjs → contacts/client/requests/ContactClientUpdate1.mjs} +0 -0
  216. /package/dist/esm/api/{types/DirectoryEntry1.mjs → resources/orgs/resources/contacts/client/requests/ContactsListV1Request.mjs} +0 -0
  217. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/requests/index.mjs +0 -0
  218. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/index.d.mts +0 -0
  219. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/index.mjs +0 -0
  220. /package/dist/esm/api/types/{DirectoryEntryListRes.mjs → Account1.mjs} +0 -0
  221. /package/dist/esm/api/types/{DirectoryEntrySortByEnum.mjs → AccountListRes.mjs} +0 -0
  222. /package/dist/esm/api/types/{OffChrtVendor1.mjs → AccountSortByEnum.mjs} +0 -0
  223. /package/dist/esm/api/types/{OffChrtVendorListRes.mjs → AccountTypeaheadFieldEnum.mjs} +0 -0
@@ -80,6 +80,34 @@ export declare class Orders {
80
80
  */
81
81
  cancelManyV1(request: Chrt.shipping.OrdersCancelManyReq, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<boolean>;
82
82
  private __cancelManyV1;
83
+ /**
84
+ * Adds a coordinator-owned account for the order's shipper. | authz_personas=[coordinator_org_operators] | () -> (bool)
85
+ *
86
+ * @param {string} orderId
87
+ * @param {string} coordinatorShipperAccountId
88
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
89
+ *
90
+ * @throws {@link Chrt.UnprocessableEntityError}
91
+ *
92
+ * @example
93
+ * await client.shipping.orders.addCoordinatorShipperAccountIdV1("order_id", "coordinator_shipper_account_id")
94
+ */
95
+ addCoordinatorShipperAccountIdV1(orderId: string, coordinatorShipperAccountId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<boolean>;
96
+ private __addCoordinatorShipperAccountIdV1;
97
+ /**
98
+ * Removes a coordinator-owned account for the order's shipper. | authz_personas=[coordinator_org_operators] | () -> (bool)
99
+ *
100
+ * @param {string} orderId
101
+ * @param {string} coordinatorShipperAccountId
102
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
103
+ *
104
+ * @throws {@link Chrt.UnprocessableEntityError}
105
+ *
106
+ * @example
107
+ * await client.shipping.orders.removeCoordinatorShipperAccountIdV1("order_id", "coordinator_shipper_account_id")
108
+ */
109
+ removeCoordinatorShipperAccountIdV1(orderId: string, coordinatorShipperAccountId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<boolean>;
110
+ private __removeCoordinatorShipperAccountIdV1;
83
111
  /**
84
112
  * Validates a draft order and stages all related entities in a transaction. | authz_personas=[draft_creator_org_operator] | () -> (bool)
85
113
  *
@@ -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_shipper_account_ids: filterCoordinatorShipperAccountIds, 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
  }
@@ -428,6 +432,14 @@ class Expanded {
428
432
  if (filterOffChrtShipperOrgDataId !== undefined) {
429
433
  _queryParams["filter_off_chrt_shipper_org_data_id"] = filterOffChrtShipperOrgDataId;
430
434
  }
435
+ if (filterCoordinatorShipperAccountIds !== undefined) {
436
+ if (Array.isArray(filterCoordinatorShipperAccountIds)) {
437
+ _queryParams["filter_coordinator_shipper_account_ids"] = filterCoordinatorShipperAccountIds.map((item) => item);
438
+ }
439
+ else {
440
+ _queryParams["filter_coordinator_shipper_account_ids"] = filterCoordinatorShipperAccountIds;
441
+ }
442
+ }
431
443
  if (filterCoordinatorDepartmentId !== undefined) {
432
444
  _queryParams["filter_coordinator_department_id"] = filterCoordinatorDepartmentId;
433
445
  }
@@ -505,6 +517,7 @@ class Expanded {
505
517
  * page: 1,
506
518
  * page_size: 1,
507
519
  * search: "search",
520
+ * filter_awb_number: "filter_awb_number",
508
521
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
509
522
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
510
523
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -529,7 +542,7 @@ class Expanded {
529
542
  __listForExecutorOperatorsV1(request, requestOptions) {
530
543
  return __awaiter(this, void 0, void 0, function* () {
531
544
  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;
545
+ 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
546
  const _queryParams = {};
534
547
  if (sortBy !== undefined) {
535
548
  _queryParams["sort_by"] = sortBy;
@@ -564,6 +577,9 @@ class Expanded {
564
577
  filterOrderClassificationByTaskGroupType;
565
578
  }
566
579
  }
580
+ if (filterAwbNumber !== undefined) {
581
+ _queryParams["filter_awb_number"] = filterAwbNumber;
582
+ }
567
583
  if (filterDraftStartedAtTimestampLte !== undefined) {
568
584
  _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
569
585
  }
@@ -673,6 +689,7 @@ class Expanded {
673
689
  * page: 1,
674
690
  * page_size: 1,
675
691
  * search: "search",
692
+ * filter_awb_number: "filter_awb_number",
676
693
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
677
694
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
678
695
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -700,7 +717,7 @@ class Expanded {
700
717
  __listForProviderOperatorsV1(request, requestOptions) {
701
718
  return __awaiter(this, void 0, void 0, function* () {
702
719
  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;
720
+ 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_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
704
721
  const _queryParams = {};
705
722
  if (providerRole !== undefined) {
706
723
  _queryParams["provider_role"] = providerRole;
@@ -738,6 +755,9 @@ class Expanded {
738
755
  filterOrderClassificationByTaskGroupType;
739
756
  }
740
757
  }
758
+ if (filterAwbNumber !== undefined) {
759
+ _queryParams["filter_awb_number"] = filterAwbNumber;
760
+ }
741
761
  if (filterDraftStartedAtTimestampLte !== undefined) {
742
762
  _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
743
763
  }
@@ -786,6 +806,14 @@ class Expanded {
786
806
  if (filterOffChrtShipperOrgDataId !== undefined) {
787
807
  _queryParams["filter_off_chrt_shipper_org_data_id"] = filterOffChrtShipperOrgDataId;
788
808
  }
809
+ if (filterCoordinatorShipperAccountIds !== undefined) {
810
+ if (Array.isArray(filterCoordinatorShipperAccountIds)) {
811
+ _queryParams["filter_coordinator_shipper_account_ids"] = filterCoordinatorShipperAccountIds.map((item) => item);
812
+ }
813
+ else {
814
+ _queryParams["filter_coordinator_shipper_account_ids"] = filterCoordinatorShipperAccountIds;
815
+ }
816
+ }
789
817
  if (filterCoordinatorDepartmentId !== undefined) {
790
818
  _queryParams["filter_coordinator_department_id"] = filterCoordinatorDepartmentId;
791
819
  }
@@ -863,6 +891,7 @@ class Expanded {
863
891
  * page: 1,
864
892
  * page_size: 1,
865
893
  * search: "search",
894
+ * filter_awb_number: "filter_awb_number",
866
895
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
867
896
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
868
897
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -886,7 +915,7 @@ class Expanded {
886
915
  __listForShipperOperatorsV1(request, requestOptions) {
887
916
  return __awaiter(this, void 0, void 0, function* () {
888
917
  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;
918
+ 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
919
  const _queryParams = {};
891
920
  if (sortBy !== undefined) {
892
921
  _queryParams["sort_by"] = sortBy;
@@ -921,6 +950,9 @@ class Expanded {
921
950
  filterOrderClassificationByTaskGroupType;
922
951
  }
923
952
  }
953
+ if (filterAwbNumber !== undefined) {
954
+ _queryParams["filter_awb_number"] = filterAwbNumber;
955
+ }
924
956
  if (filterDraftStartedAtTimestampLte !== undefined) {
925
957
  _queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
926
958
  }
@@ -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;
@@ -56,6 +59,8 @@ export interface ExpandedListForCoordinatorOperatorsV1Request {
56
59
  filter_executor_org_id?: string | null;
57
60
  filter_shipper_org_id?: string | null;
58
61
  filter_off_chrt_shipper_org_data_id?: string | null;
62
+ /** Filter by coordinator shipper account IDs */
63
+ filter_coordinator_shipper_account_ids?: (string | null) | (string | null)[];
59
64
  filter_coordinator_department_id?: string | null;
60
65
  filter_coordinator_assigned_user_ids?: (string | null) | (string | null)[];
61
66
  filter_coordinator_label?: 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;
@@ -60,6 +63,8 @@ export interface ExpandedListForProviderOperatorsV1Request {
60
63
  filter_coordinator_org_id?: string | null;
61
64
  filter_shipper_org_id?: string | null;
62
65
  filter_off_chrt_shipper_org_data_id?: string | null;
66
+ /** Filter by coordinator shipper account IDs */
67
+ filter_coordinator_shipper_account_ids?: (string | null) | (string | null)[];
63
68
  filter_coordinator_department_id?: string | null;
64
69
  filter_coordinator_assigned_user_ids?: (string | null) | (string | null)[];
65
70
  filter_coordinator_label?: 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,17 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface OffChrtVendor1 {
4
+ import * as Chrt from "../index.js";
5
+ export interface Account1 {
5
6
  _id: string;
6
7
  /** Must be a string starting with `org_` */
7
8
  created_by_org_id: string;
8
9
  /** Must be a string starting with `user_` */
9
10
  created_by_user_id: string;
11
+ location?: Chrt.LocationFeature | null;
10
12
  name: string;
11
- notes?: string | null;
13
+ off_chrt_org_data_id?: string | null;
14
+ /** Must be a string starting with `org_` */
15
+ org_id?: string | null;
12
16
  schema_version: number;
13
17
  }
@@ -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";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type DirectoryEntrySortByEnum = "name";
4
+ export type AccountTypeaheadFieldEnum = "name";
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface AccountTypeaheadResult {
6
+ type: Chrt.AccountTypeaheadFieldEnum;
7
+ values: Chrt.AccountTypeaheadValue[];
8
+ }
@@ -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 AccountTypeaheadValue {
5
+ account_ids: string[];
6
+ value: string;
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 });
@@ -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
  }
@@ -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 });
@@ -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,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,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ContactSortByEnum = "name";
@@ -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 });
@@ -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;