@chrt-inc/typescript-sdk 1.875.0 → 1.876.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 (498) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.ts +2 -2
  3. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +2 -2
  4. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.ts +1 -1
  5. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.d.ts +2 -2
  6. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.js +7 -7
  7. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.ts +2 -2
  8. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.d.ts +4 -4
  9. package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +2 -2
  10. package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +10 -8
  11. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +2 -2
  12. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +2 -2
  13. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +2 -2
  14. package/dist/cjs/api/resources/operations/client/Client.d.ts +0 -3
  15. package/dist/cjs/api/resources/operations/client/Client.js +8 -13
  16. package/dist/cjs/api/resources/operations/resources/index.d.ts +0 -2
  17. package/dist/cjs/api/resources/operations/resources/index.js +1 -3
  18. package/dist/cjs/api/resources/orgs/client/Client.d.ts +8 -16
  19. package/dist/cjs/api/resources/orgs/client/Client.js +10 -24
  20. package/dist/cjs/api/resources/orgs/client/requests/SetupOrgReq.d.ts +3 -1
  21. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +24 -8
  22. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +94 -17
  23. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.d.ts +6 -0
  24. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.d.ts +11 -0
  25. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +1 -0
  26. package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/Client.d.ts +19 -17
  27. package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/Client.js +30 -25
  28. package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.d.ts +6 -3
  29. package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.ts +5 -9
  30. package/dist/cjs/api/resources/orgs/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts +21 -0
  31. package/dist/cjs/api/resources/orgs/resources/index.d.ts +4 -9
  32. package/dist/cjs/api/resources/orgs/resources/index.js +5 -10
  33. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.d.ts +100 -0
  34. package/dist/cjs/api/resources/orgs/resources/{offChrtShipperOrg → offChrtOrgData}/client/Client.js +53 -97
  35. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.d.ts +18 -0
  36. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.d.ts +19 -0
  37. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.d.ts +26 -0
  38. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/index.d.ts +3 -0
  39. package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.d.ts +27 -1
  40. package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.js +119 -1
  41. package/dist/cjs/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.ts +12 -1
  42. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +1 -1
  43. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +4 -4
  44. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +2 -2
  45. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +3 -3
  46. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +3 -3
  47. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +1 -1
  48. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +1 -1
  49. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -2
  50. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -3
  51. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.ts +1 -1
  52. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +3 -3
  53. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +12 -12
  54. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +2 -2
  55. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +2 -2
  56. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +2 -2
  57. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +1 -1
  58. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +1 -1
  59. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.ts +3 -3
  60. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.ts +1 -1
  61. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.ts +1 -1
  62. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +2 -2
  63. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +8 -8
  64. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +2 -2
  65. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +2 -2
  66. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +1 -1
  67. package/dist/cjs/api/resources/users/client/Client.d.ts +0 -3
  68. package/dist/cjs/api/resources/users/client/Client.js +4 -9
  69. package/dist/cjs/api/resources/users/resources/index.d.ts +0 -2
  70. package/dist/cjs/api/resources/users/resources/index.js +1 -3
  71. package/dist/cjs/api/types/BillingLedger1.d.ts +2 -2
  72. package/dist/cjs/api/types/BillingLedgerPeriod1.d.ts +2 -2
  73. package/dist/cjs/api/types/CreateOffChrtOrgRes.d.ts +7 -0
  74. package/dist/cjs/api/types/DeviceLimitedForList1.d.ts +1 -1
  75. package/dist/cjs/api/types/DirectoryEntry1.d.ts +6 -11
  76. package/dist/cjs/api/types/DirectoryEntrySortByEnum.d.ts +1 -6
  77. package/dist/cjs/api/types/DirectoryEntrySortByEnum.js +0 -6
  78. package/dist/cjs/api/types/LineItemGroup1.d.ts +2 -2
  79. package/dist/cjs/api/types/OffChrtOrgData1.d.ts +18 -0
  80. package/dist/cjs/api/types/OffChrtOrgDataClientCreate1.d.ts +13 -0
  81. package/dist/cjs/api/types/{OffChrtShipperOrgListRes.d.ts → OffChrtOrgDataListRes.d.ts} +2 -2
  82. package/dist/cjs/api/types/OffChrtOrgDataSortByEnum.d.ts +4 -0
  83. package/dist/cjs/api/types/Order1.d.ts +1 -1
  84. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -1
  85. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -1
  86. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +1 -1
  87. package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.d.ts +1 -1
  88. package/dist/cjs/api/types/OrderTaskGroupSharedDetails1.d.ts +1 -1
  89. package/dist/cjs/api/types/OrderTemplate1.d.ts +2 -2
  90. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +2 -2
  91. package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +2 -2
  92. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +3 -3
  93. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +2 -2
  94. package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +2 -2
  95. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +1 -1
  96. package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +1 -1
  97. package/dist/cjs/api/types/OrgPublicData1.d.ts +6 -1
  98. package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +3 -2
  99. package/dist/cjs/api/types/ProviderProviderConnectionListItem.d.ts +3 -6
  100. package/dist/cjs/api/types/RateSheetMapping1.d.ts +2 -2
  101. package/dist/cjs/api/types/Session1.d.ts +1 -1
  102. package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +3 -1
  103. package/dist/cjs/api/types/ShipperProviderConnectionForCoordinatorListItem.d.ts +9 -0
  104. package/dist/cjs/api/types/ShipperProviderConnectionForShipperListItem.d.ts +8 -0
  105. package/dist/cjs/api/types/{ProviderConnectionListRes.d.ts → ShipperProviderConnectionsForCoordinatorListRes.d.ts} +2 -2
  106. package/dist/cjs/api/types/{ProviderOnAndOffChrtExecutorListPage.d.ts → ShipperProviderConnectionsForShipperListRes.d.ts} +2 -2
  107. package/dist/cjs/api/types/Statement1.d.ts +2 -2
  108. package/dist/cjs/api/types/TaskGroup1.d.ts +2 -2
  109. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +1 -1
  110. package/dist/cjs/api/types/TaskGroupQuoteResp.d.ts +2 -2
  111. package/dist/cjs/api/types/index.d.ts +9 -17
  112. package/dist/cjs/api/types/index.js +9 -17
  113. package/dist/cjs/version.d.ts +1 -1
  114. package/dist/cjs/version.js +1 -1
  115. package/dist/esm/Client.mjs +2 -2
  116. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.mts +2 -2
  117. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +2 -2
  118. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.mts +1 -1
  119. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.d.mts +2 -2
  120. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.mjs +7 -7
  121. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.mts +2 -2
  122. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.d.mts +4 -4
  123. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +2 -2
  124. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +10 -8
  125. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +2 -2
  126. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +2 -2
  127. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +2 -2
  128. package/dist/esm/api/resources/operations/client/Client.d.mts +0 -3
  129. package/dist/esm/api/resources/operations/client/Client.mjs +0 -5
  130. package/dist/esm/api/resources/operations/resources/index.d.mts +0 -2
  131. package/dist/esm/api/resources/operations/resources/index.mjs +0 -2
  132. package/dist/esm/api/resources/orgs/client/Client.d.mts +8 -16
  133. package/dist/esm/api/resources/orgs/client/Client.mjs +8 -22
  134. package/dist/esm/api/resources/orgs/client/requests/SetupOrgReq.d.mts +3 -1
  135. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +24 -8
  136. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +94 -17
  137. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.d.mts +6 -0
  138. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.d.mts +11 -0
  139. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +1 -0
  140. package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/Client.d.mts +19 -17
  141. package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/Client.mjs +30 -25
  142. package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.d.mts +6 -3
  143. package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts +5 -9
  144. package/dist/esm/api/resources/orgs/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts +21 -0
  145. package/dist/esm/api/resources/orgs/resources/index.d.mts +4 -9
  146. package/dist/esm/api/resources/orgs/resources/index.mjs +4 -9
  147. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.d.mts +100 -0
  148. package/dist/esm/api/resources/orgs/resources/{offChrtShipperOrg → offChrtOrgData}/client/Client.mjs +51 -95
  149. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.d.mts +18 -0
  150. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.d.mts +19 -0
  151. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.d.mts +26 -0
  152. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/index.d.mts +3 -0
  153. package/dist/esm/api/resources/orgs/resources/publicData/client/Client.d.mts +27 -1
  154. package/dist/esm/api/resources/orgs/resources/publicData/client/Client.mjs +119 -1
  155. package/dist/esm/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.mts +12 -1
  156. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +1 -1
  157. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +4 -4
  158. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +2 -2
  159. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +3 -3
  160. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +3 -3
  161. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +1 -1
  162. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +1 -1
  163. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -2
  164. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -3
  165. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.mts +1 -1
  166. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +3 -3
  167. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +12 -12
  168. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +2 -2
  169. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +2 -2
  170. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +2 -2
  171. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +1 -1
  172. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +1 -1
  173. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.mts +3 -3
  174. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.mts +1 -1
  175. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.mts +1 -1
  176. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +2 -2
  177. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +8 -8
  178. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +2 -2
  179. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +2 -2
  180. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +1 -1
  181. package/dist/esm/api/resources/users/client/Client.d.mts +0 -3
  182. package/dist/esm/api/resources/users/client/Client.mjs +0 -5
  183. package/dist/esm/api/resources/users/resources/index.d.mts +0 -2
  184. package/dist/esm/api/resources/users/resources/index.mjs +0 -2
  185. package/dist/esm/api/types/BillingLedger1.d.mts +2 -2
  186. package/dist/esm/api/types/BillingLedgerPeriod1.d.mts +2 -2
  187. package/dist/esm/api/types/CreateOffChrtOrgRes.d.mts +7 -0
  188. package/dist/esm/api/types/DeviceLimitedForList1.d.mts +1 -1
  189. package/dist/esm/api/types/DirectoryEntry1.d.mts +6 -11
  190. package/dist/esm/api/types/DirectoryEntrySortByEnum.d.mts +1 -6
  191. package/dist/esm/api/types/DirectoryEntrySortByEnum.mjs +1 -5
  192. package/dist/esm/api/types/LineItemGroup1.d.mts +2 -2
  193. package/dist/esm/api/types/OffChrtOrgData1.d.mts +18 -0
  194. package/dist/esm/api/types/OffChrtOrgDataClientCreate1.d.mts +13 -0
  195. package/dist/esm/api/types/{OffChrtShipperOrgListRes.d.mts → OffChrtOrgDataListRes.d.mts} +2 -2
  196. package/dist/esm/api/types/OffChrtOrgDataSortByEnum.d.mts +4 -0
  197. package/dist/esm/api/types/Order1.d.mts +1 -1
  198. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -1
  199. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -1
  200. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +1 -1
  201. package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.d.mts +1 -1
  202. package/dist/esm/api/types/OrderTaskGroupSharedDetails1.d.mts +1 -1
  203. package/dist/esm/api/types/OrderTemplate1.d.mts +2 -2
  204. package/dist/esm/api/types/OrderTemplateCore1.d.mts +2 -2
  205. package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +2 -2
  206. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +3 -3
  207. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +2 -2
  208. package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +2 -2
  209. package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +1 -1
  210. package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +1 -1
  211. package/dist/esm/api/types/OrgPublicData1.d.mts +6 -1
  212. package/dist/esm/api/types/ProviderProviderConnection1.d.mts +3 -2
  213. package/dist/esm/api/types/ProviderProviderConnectionListItem.d.mts +3 -6
  214. package/dist/esm/api/types/RateSheetMapping1.d.mts +2 -2
  215. package/dist/esm/api/types/Session1.d.mts +1 -1
  216. package/dist/esm/api/types/ShipperProviderConnection1.d.mts +3 -1
  217. package/dist/esm/api/types/ShipperProviderConnectionForCoordinatorListItem.d.mts +9 -0
  218. package/dist/esm/api/types/ShipperProviderConnectionForShipperListItem.d.mts +8 -0
  219. package/dist/esm/api/types/{ProviderConnectionListRes.d.mts → ShipperProviderConnectionsForCoordinatorListRes.d.mts} +2 -2
  220. package/dist/esm/api/types/{OffChrtProviderOrgListRes.d.mts → ShipperProviderConnectionsForShipperListRes.d.mts} +2 -2
  221. package/dist/esm/api/types/Statement1.d.mts +2 -2
  222. package/dist/esm/api/types/TaskGroup1.d.mts +2 -2
  223. package/dist/esm/api/types/TaskGroupExpanded.d.mts +1 -1
  224. package/dist/esm/api/types/TaskGroupQuoteResp.d.mts +2 -2
  225. package/dist/esm/api/types/index.d.mts +9 -17
  226. package/dist/esm/api/types/index.mjs +9 -17
  227. package/dist/esm/version.d.mts +1 -1
  228. package/dist/esm/version.mjs +1 -1
  229. package/package.json +1 -1
  230. package/reference.md +2221 -3409
  231. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +0 -76
  232. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +0 -254
  233. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.ts +0 -17
  234. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.d.ts +0 -14
  235. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.ts +0 -2
  236. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.ts +0 -106
  237. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.js +0 -384
  238. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +0 -25
  239. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +0 -29
  240. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.ts +0 -14
  241. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.ts +0 -3
  242. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.ts +0 -107
  243. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/index.d.ts +0 -2
  244. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/index.js +0 -17
  245. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +0 -26
  246. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +0 -29
  247. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.d.ts +0 -17
  248. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.d.ts +0 -3
  249. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.js +0 -2
  250. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/index.d.ts +0 -1
  251. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/index.js +0 -17
  252. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.ts +0 -26
  253. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.js +0 -22
  254. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/index.d.ts +0 -1
  255. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/index.js +0 -2
  256. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/index.d.ts +0 -2
  257. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/index.js +0 -18
  258. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.ts +0 -4
  259. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.js +0 -43
  260. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.ts +0 -83
  261. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.js +0 -300
  262. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.ts +0 -2
  263. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.js +0 -17
  264. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.ts +0 -24
  265. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
  266. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.ts +0 -2
  267. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.js +0 -2
  268. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.ts +0 -1
  269. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.js +0 -17
  270. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.ts +0 -73
  271. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.js +0 -246
  272. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.d.ts +0 -2
  273. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.js +0 -17
  274. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.ts +0 -24
  275. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
  276. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.d.ts +0 -2
  277. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.js +0 -2
  278. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.d.ts +0 -1
  279. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.js +0 -17
  280. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.d.ts +0 -101
  281. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.js +0 -366
  282. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/index.d.ts +0 -2
  283. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/index.js +0 -17
  284. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.ts +0 -19
  285. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.ts +0 -12
  286. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.js +0 -5
  287. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.d.ts +0 -2
  288. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.js +0 -2
  289. package/dist/cjs/api/resources/orgs/resources/orgProfiles/index.d.ts +0 -1
  290. package/dist/cjs/api/resources/orgs/resources/orgProfiles/index.js +0 -17
  291. package/dist/cjs/api/resources/orgs/resources/providers/client/Client.d.ts +0 -54
  292. package/dist/cjs/api/resources/orgs/resources/providers/client/Client.js +0 -157
  293. package/dist/cjs/api/resources/orgs/resources/providers/client/index.d.ts +0 -2
  294. package/dist/cjs/api/resources/orgs/resources/providers/client/index.js +0 -17
  295. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.ts +0 -26
  296. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.js +0 -5
  297. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/index.d.ts +0 -1
  298. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/index.js +0 -2
  299. package/dist/cjs/api/resources/orgs/resources/providers/index.d.ts +0 -1
  300. package/dist/cjs/api/resources/orgs/resources/providers/index.js +0 -17
  301. package/dist/cjs/api/resources/users/resources/directoryEntries/client/index.d.ts +0 -2
  302. package/dist/cjs/api/resources/users/resources/directoryEntries/client/index.js +0 -17
  303. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts +0 -32
  304. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/index.js +0 -2
  305. package/dist/cjs/api/resources/users/resources/directoryEntries/index.d.ts +0 -1
  306. package/dist/cjs/api/resources/users/resources/directoryEntries/index.js +0 -17
  307. package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +0 -16
  308. package/dist/cjs/api/types/DepartmentRoutingRule1.js +0 -5
  309. package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +0 -23
  310. package/dist/cjs/api/types/OffChrtProviderOrg1.js +0 -5
  311. package/dist/cjs/api/types/OffChrtProviderOrgListRes.d.ts +0 -8
  312. package/dist/cjs/api/types/OffChrtProviderOrgListRes.js +0 -5
  313. package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +0 -24
  314. package/dist/cjs/api/types/OffChrtShipperOrg1.js +0 -5
  315. package/dist/cjs/api/types/OffChrtShipperOrgListRes.js +0 -5
  316. package/dist/cjs/api/types/ProviderConnectionListRes.js +0 -5
  317. package/dist/cjs/api/types/ProviderConnectionRes.d.ts +0 -8
  318. package/dist/cjs/api/types/ProviderConnectionRes.js +0 -5
  319. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.d.ts +0 -20
  320. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.js +0 -5
  321. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListPage.js +0 -5
  322. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.d.ts +0 -8
  323. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.js +0 -5
  324. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.ts +0 -8
  325. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.js +0 -10
  326. package/dist/cjs/api/types/ProviderOrgInfoForConnections1.d.ts +0 -22
  327. package/dist/cjs/api/types/ProviderOrgInfoForConnections1.js +0 -5
  328. package/dist/cjs/api/types/ProviderOrgProfile1.d.ts +0 -13
  329. package/dist/cjs/api/types/ProviderOrgProfile1.js +0 -5
  330. package/dist/cjs/api/types/ShipperConnectionListRes.d.ts +0 -8
  331. package/dist/cjs/api/types/ShipperConnectionListRes.js +0 -5
  332. package/dist/cjs/api/types/ShipperConnectionRes.d.ts +0 -8
  333. package/dist/cjs/api/types/ShipperConnectionRes.js +0 -5
  334. package/dist/cjs/api/types/ShipperOrgInfoForConnections1.d.ts +0 -22
  335. package/dist/cjs/api/types/ShipperOrgInfoForConnections1.js +0 -5
  336. package/dist/cjs/api/types/ShippingTurnClientCreate1.d.ts +0 -17
  337. package/dist/cjs/api/types/ShippingTurnClientCreate1.js +0 -5
  338. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +0 -76
  339. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +0 -217
  340. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.mts +0 -17
  341. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.d.mts +0 -14
  342. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.mts +0 -2
  343. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.mts +0 -106
  344. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.mjs +0 -347
  345. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +0 -25
  346. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +0 -29
  347. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.mts +0 -14
  348. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.mts +0 -3
  349. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.mts +0 -107
  350. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/index.d.mts +0 -2
  351. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/index.mjs +0 -1
  352. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +0 -26
  353. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +0 -29
  354. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.d.mts +0 -17
  355. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.d.mts +0 -3
  356. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.mjs +0 -1
  357. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/index.d.mts +0 -1
  358. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/index.mjs +0 -1
  359. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.mts +0 -26
  360. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.mjs +0 -18
  361. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/index.d.mts +0 -1
  362. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/index.mjs +0 -1
  363. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/index.d.mts +0 -2
  364. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/index.mjs +0 -2
  365. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.mts +0 -4
  366. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.mjs +0 -4
  367. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.mts +0 -83
  368. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.mjs +0 -263
  369. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.mts +0 -2
  370. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.mjs +0 -1
  371. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.mts +0 -24
  372. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
  373. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.mts +0 -2
  374. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.mjs +0 -1
  375. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.mts +0 -1
  376. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.mjs +0 -1
  377. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.mts +0 -73
  378. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.mjs +0 -209
  379. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.d.mts +0 -2
  380. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.mjs +0 -1
  381. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.mts +0 -24
  382. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
  383. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.d.mts +0 -2
  384. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.mjs +0 -1
  385. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.d.mts +0 -1
  386. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.mjs +0 -1
  387. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.d.mts +0 -101
  388. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.mjs +0 -329
  389. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/index.d.mts +0 -2
  390. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/index.mjs +0 -1
  391. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.mts +0 -19
  392. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.mts +0 -12
  393. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.mjs +0 -4
  394. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.d.mts +0 -2
  395. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.mjs +0 -1
  396. package/dist/esm/api/resources/orgs/resources/orgProfiles/index.d.mts +0 -1
  397. package/dist/esm/api/resources/orgs/resources/orgProfiles/index.mjs +0 -1
  398. package/dist/esm/api/resources/orgs/resources/providers/client/Client.d.mts +0 -54
  399. package/dist/esm/api/resources/orgs/resources/providers/client/Client.mjs +0 -120
  400. package/dist/esm/api/resources/orgs/resources/providers/client/index.d.mts +0 -2
  401. package/dist/esm/api/resources/orgs/resources/providers/client/index.mjs +0 -1
  402. package/dist/esm/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.mts +0 -26
  403. package/dist/esm/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.mjs +0 -4
  404. package/dist/esm/api/resources/orgs/resources/providers/client/requests/index.d.mts +0 -1
  405. package/dist/esm/api/resources/orgs/resources/providers/client/requests/index.mjs +0 -1
  406. package/dist/esm/api/resources/orgs/resources/providers/index.d.mts +0 -1
  407. package/dist/esm/api/resources/orgs/resources/providers/index.mjs +0 -1
  408. package/dist/esm/api/resources/users/resources/directoryEntries/client/index.d.mts +0 -2
  409. package/dist/esm/api/resources/users/resources/directoryEntries/client/index.mjs +0 -1
  410. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts +0 -32
  411. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/index.mjs +0 -1
  412. package/dist/esm/api/resources/users/resources/directoryEntries/index.d.mts +0 -1
  413. package/dist/esm/api/resources/users/resources/directoryEntries/index.mjs +0 -1
  414. package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +0 -16
  415. package/dist/esm/api/types/DepartmentRoutingRule1.mjs +0 -4
  416. package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +0 -23
  417. package/dist/esm/api/types/OffChrtProviderOrg1.mjs +0 -4
  418. package/dist/esm/api/types/OffChrtProviderOrgListRes.mjs +0 -4
  419. package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +0 -24
  420. package/dist/esm/api/types/OffChrtShipperOrg1.mjs +0 -4
  421. package/dist/esm/api/types/OffChrtShipperOrgListRes.mjs +0 -4
  422. package/dist/esm/api/types/ProviderConnectionListRes.mjs +0 -4
  423. package/dist/esm/api/types/ProviderConnectionRes.d.mts +0 -8
  424. package/dist/esm/api/types/ProviderConnectionRes.mjs +0 -4
  425. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.d.mts +0 -20
  426. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.mjs +0 -4
  427. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.d.mts +0 -8
  428. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.mjs +0 -4
  429. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.d.mts +0 -8
  430. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.mjs +0 -4
  431. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.mts +0 -8
  432. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.mjs +0 -7
  433. package/dist/esm/api/types/ProviderOrgInfoForConnections1.d.mts +0 -22
  434. package/dist/esm/api/types/ProviderOrgInfoForConnections1.mjs +0 -4
  435. package/dist/esm/api/types/ProviderOrgProfile1.d.mts +0 -13
  436. package/dist/esm/api/types/ProviderOrgProfile1.mjs +0 -4
  437. package/dist/esm/api/types/ShipperConnectionListRes.d.mts +0 -8
  438. package/dist/esm/api/types/ShipperConnectionListRes.mjs +0 -4
  439. package/dist/esm/api/types/ShipperConnectionRes.d.mts +0 -8
  440. package/dist/esm/api/types/ShipperConnectionRes.mjs +0 -4
  441. package/dist/esm/api/types/ShipperOrgInfoForConnections1.d.mts +0 -22
  442. package/dist/esm/api/types/ShipperOrgInfoForConnections1.mjs +0 -4
  443. package/dist/esm/api/types/ShippingTurnClientCreate1.d.mts +0 -17
  444. package/dist/esm/api/types/ShippingTurnClientCreate1.mjs +0 -4
  445. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.js → orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.js} +0 -0
  446. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.d.ts +0 -0
  447. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.js +0 -0
  448. /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.js +0 -0
  449. /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.js +0 -0
  450. /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.js +0 -0
  451. /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/index.d.ts +0 -0
  452. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/requests/index.js +0 -0
  453. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.d.ts +0 -0
  454. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.js +0 -0
  455. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.d.ts +0 -0
  456. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.js +0 -0
  457. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.js → orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.js} +0 -0
  458. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.js → offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.js} +0 -0
  459. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.js → offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.js} +0 -0
  460. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/requests/index.js +0 -0
  461. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.d.ts +0 -0
  462. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.js +0 -0
  463. /package/dist/cjs/api/{resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.js → types/CreateOffChrtOrgRes.js} +0 -0
  464. /package/dist/cjs/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.js → types/OffChrtOrgData1.js} +0 -0
  465. /package/dist/cjs/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.js → types/OffChrtOrgDataClientCreate1.js} +0 -0
  466. /package/dist/cjs/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.js → types/OffChrtOrgDataListRes.js} +0 -0
  467. /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.js → types/OffChrtOrgDataSortByEnum.js} +0 -0
  468. /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.js → types/ShipperProviderConnectionForCoordinatorListItem.js} +0 -0
  469. /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.js → types/ShipperProviderConnectionForShipperListItem.js} +0 -0
  470. /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.js → types/ShipperProviderConnectionsForCoordinatorListRes.js} +0 -0
  471. /package/dist/cjs/api/{resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.js → types/ShipperProviderConnectionsForShipperListRes.js} +0 -0
  472. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.mjs → orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.mjs} +0 -0
  473. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.d.mts +0 -0
  474. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.mjs +0 -0
  475. /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.mjs +0 -0
  476. /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.mjs +0 -0
  477. /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.mjs +0 -0
  478. /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/index.d.mts +0 -0
  479. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/requests/index.mjs +0 -0
  480. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.d.mts +0 -0
  481. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.mjs +0 -0
  482. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.d.mts +0 -0
  483. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.mjs +0 -0
  484. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.mjs → orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.mjs} +0 -0
  485. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.mjs → offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.mjs} +0 -0
  486. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.mjs → offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.mjs} +0 -0
  487. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/requests/index.mjs +0 -0
  488. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.d.mts +0 -0
  489. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.mjs +0 -0
  490. /package/dist/esm/api/{resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.mjs → types/CreateOffChrtOrgRes.mjs} +0 -0
  491. /package/dist/esm/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.mjs → types/OffChrtOrgData1.mjs} +0 -0
  492. /package/dist/esm/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.mjs → types/OffChrtOrgDataClientCreate1.mjs} +0 -0
  493. /package/dist/esm/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.mjs → types/OffChrtOrgDataListRes.mjs} +0 -0
  494. /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.mjs → types/OffChrtOrgDataSortByEnum.mjs} +0 -0
  495. /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.mjs → types/ShipperProviderConnectionForCoordinatorListItem.mjs} +0 -0
  496. /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.mjs → types/ShipperProviderConnectionForShipperListItem.mjs} +0 -0
  497. /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.mjs → types/ShipperProviderConnectionsForCoordinatorListRes.mjs} +0 -0
  498. /package/dist/esm/api/{resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.mjs → types/ShipperProviderConnectionsForShipperListRes.mjs} +0 -0
@@ -74,7 +74,7 @@ class Connections {
74
74
  var _a, _b, _c, _d;
75
75
  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);
76
76
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
77
- 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, `orgs/connections/by_handle/${encodeURIComponent(handle)}/v1`),
77
+ 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, `orgs/connections/by_handle/v1/${encodeURIComponent(handle)}`),
78
78
  method: "GET",
79
79
  headers: _headers,
80
80
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -108,7 +108,7 @@ class Connections {
108
108
  rawResponse: _response.rawResponse,
109
109
  });
110
110
  case "timeout":
111
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/connections/by_handle/{handle}/v1.");
111
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/connections/by_handle/v1/{handle}.");
112
112
  case "unknown":
113
113
  throw new errors.ChrtError({
114
114
  message: _response.error.errorMessage,
@@ -118,7 +118,7 @@ class Connections {
118
118
  });
119
119
  }
120
120
  /**
121
- * Creates a new connection to a provider organization. Shippers create a shipper-provider connection. Providers create a provider-provider connection where the initiator is the coordinator (payer) and the target is the executor (payee). | (CreateConnectionReq) -> (PydanticObjectId)
121
+ * Creates a connection to an on-CHRT provider; provider callers become the paying coordinator. | (CreateConnectionReq) -> (PydanticObjectId)
122
122
  *
123
123
  * @param {Chrt.CreateConnectionReq} request
124
124
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
@@ -182,7 +182,7 @@ class Connections {
182
182
  });
183
183
  }
184
184
  /**
185
- * Creates a new connection to a shipper organization. Only providers can initiate connections to shippers. | (CreateConnectionReq) -> (PydanticObjectId)
185
+ * Creates a connection to an on-CHRT shipper. | authz: allowed_org_types=[provider] | (CreateConnectionReq) -> (PydanticObjectId)
186
186
  *
187
187
  * @param {Chrt.CreateConnectionReq} request
188
188
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
@@ -246,7 +246,7 @@ class Connections {
246
246
  });
247
247
  }
248
248
  /**
249
- * Lists provider-provider connections with the caller's coordinator or executor role. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ProviderProviderConnectionListRes)
249
+ * Lists provider-provider connections with the caller's coordinator or executor role, optionally sorted by counterparty proximity. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ProviderProviderConnectionListRes)
250
250
  *
251
251
  * @param {Chrt.orgs.ConnectionsListProviderProviderV1Request} request
252
252
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
@@ -258,6 +258,8 @@ class Connections {
258
258
  * search: "search",
259
259
  * page: 1,
260
260
  * page_size: 1,
261
+ * latitude: 1.1,
262
+ * longitude: 1.1,
261
263
  * filter_caller_connection_role: "coordinator",
262
264
  * filter_connected: true,
263
265
  * filter_auto_assign_enabled: true
@@ -268,8 +270,8 @@ class Connections {
268
270
  }
269
271
  __listProviderProviderV1() {
270
272
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
271
- var _a, _b, _c, _d, _e, _f, _g, _h;
272
- const { search, page, page_size: pageSize, filter_caller_connection_role: filterCallerConnectionRole, filter_connected: filterConnected, filter_auto_assign_enabled: filterAutoAssignEnabled, } = request;
273
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
274
+ const { search, page, page_size: pageSize, latitude, longitude, filter_caller_connection_role: filterCallerConnectionRole, filter_connected: filterConnected, filter_auto_assign_enabled: filterAutoAssignEnabled, } = request;
273
275
  const _queryParams = {};
274
276
  if (search !== undefined) {
275
277
  _queryParams["search"] = search;
@@ -280,18 +282,24 @@ class Connections {
280
282
  if (pageSize !== undefined) {
281
283
  _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
282
284
  }
285
+ if (latitude !== undefined) {
286
+ _queryParams["latitude"] = (_c = latitude === null || latitude === void 0 ? void 0 : latitude.toString()) !== null && _c !== void 0 ? _c : null;
287
+ }
288
+ if (longitude !== undefined) {
289
+ _queryParams["longitude"] = (_d = longitude === null || longitude === void 0 ? void 0 : longitude.toString()) !== null && _d !== void 0 ? _d : null;
290
+ }
283
291
  if (filterCallerConnectionRole !== undefined) {
284
292
  _queryParams["filter_caller_connection_role"] = filterCallerConnectionRole;
285
293
  }
286
294
  if (filterConnected !== undefined) {
287
- _queryParams["filter_connected"] = (_c = filterConnected === null || filterConnected === void 0 ? void 0 : filterConnected.toString()) !== null && _c !== void 0 ? _c : null;
295
+ _queryParams["filter_connected"] = (_e = filterConnected === null || filterConnected === void 0 ? void 0 : filterConnected.toString()) !== null && _e !== void 0 ? _e : null;
288
296
  }
289
297
  if (filterAutoAssignEnabled !== undefined) {
290
- _queryParams["filter_auto_assign_enabled"] = (_d = filterAutoAssignEnabled === null || filterAutoAssignEnabled === void 0 ? void 0 : filterAutoAssignEnabled.toString()) !== null && _d !== void 0 ? _d : null;
298
+ _queryParams["filter_auto_assign_enabled"] = (_f = filterAutoAssignEnabled === null || filterAutoAssignEnabled === void 0 ? void 0 : filterAutoAssignEnabled.toString()) !== null && _f !== void 0 ? _f : null;
291
299
  }
292
- let _headers = (0, headers_js_1.mergeHeaders)((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
293
- const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
294
- url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ChrtEnvironment.Local, "orgs/connections/provider_provider/list/v1"),
300
+ let _headers = (0, headers_js_1.mergeHeaders)((_g = this._options) === null || _g === void 0 ? void 0 : _g.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
301
+ const _response = yield ((_h = this._options.fetcher) !== null && _h !== void 0 ? _h : core.fetcher)({
302
+ url: core.url.join((_k = (_j = (yield core.Supplier.get(this._options.baseUrl))) !== null && _j !== void 0 ? _j : (yield core.Supplier.get(this._options.environment))) !== null && _k !== void 0 ? _k : environments.ChrtEnvironment.Local, "orgs/connections/provider_provider/list/v1"),
295
303
  method: "GET",
296
304
  headers: _headers,
297
305
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -335,7 +343,7 @@ class Connections {
335
343
  });
336
344
  }
337
345
  /**
338
- * Lists provider organizations connected to the calling shipper. | () -> (ProviderConnectionListRes)
346
+ * Lists coordinator connections for the calling shipper. | authz: allowed_org_types=[shipper] | () -> (ShipperProviderConnectionsForShipperListRes)
339
347
  *
340
348
  * @param {Chrt.orgs.ConnectionsListProvidersV1Request} request
341
349
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
@@ -377,7 +385,10 @@ class Connections {
377
385
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
378
386
  });
379
387
  if (_response.ok) {
380
- return { data: _response.body, rawResponse: _response.rawResponse };
388
+ return {
389
+ data: _response.body,
390
+ rawResponse: _response.rawResponse,
391
+ };
381
392
  }
382
393
  if (_response.error.reason === "status-code") {
383
394
  switch (_response.error.statusCode) {
@@ -409,7 +420,7 @@ class Connections {
409
420
  });
410
421
  }
411
422
  /**
412
- * Toggles `auto_assign_enabled` on a provider-provider connection — the executor org's opt-in for receiving direct (non-bidding) task-group assignments. Executor org only, min role: administrator. | (ProviderProviderUpdateAutoAssignReq) -> (bool)
423
+ * Sets an executor's consent to direct task-group assignment. | authz: allowed_org_types=[provider], min_org_role=administrator | (ProviderProviderUpdateAutoAssignReq) -> (bool)
413
424
  *
414
425
  * @param {string} connectionId
415
426
  * @param {Chrt.orgs.ProviderProviderUpdateAutoAssignReq} request
@@ -474,7 +485,70 @@ class Connections {
474
485
  });
475
486
  }
476
487
  /**
477
- * Lists shipper organizations connected to the caller (caller must be a provider) with optional search by company name or handle. | () -> (ShipperConnectionListRes)
488
+ * Sets or clears the coordinator's default department for a shipper connection. | authz: allowed_org_types=[provider], min_org_role=operator | (ShipperProviderConnectionClientUpdate1) -> (bool)
489
+ *
490
+ * @param {string} connectionId
491
+ * @param {Chrt.orgs.ShipperProviderConnectionClientUpdate1} request
492
+ * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
493
+ *
494
+ * @throws {@link Chrt.UnprocessableEntityError}
495
+ *
496
+ * @example
497
+ * await client.orgs.connections.setShipperProviderDefaultDepartmentV1("connection_id")
498
+ */
499
+ setShipperProviderDefaultDepartmentV1(connectionId, request = {}, requestOptions) {
500
+ return core.HttpResponsePromise.fromPromise(this.__setShipperProviderDefaultDepartmentV1(connectionId, request, requestOptions));
501
+ }
502
+ __setShipperProviderDefaultDepartmentV1(connectionId_1) {
503
+ return __awaiter(this, arguments, void 0, function* (connectionId, request = {}, requestOptions) {
504
+ var _a, _b, _c, _d;
505
+ 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);
506
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
507
+ 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, `orgs/connections/set_shipper_provider_default_department/v1/${encodeURIComponent(connectionId)}`),
508
+ method: "PATCH",
509
+ headers: _headers,
510
+ contentType: "application/json",
511
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
512
+ requestType: "json",
513
+ body: request,
514
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
515
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
516
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
517
+ });
518
+ if (_response.ok) {
519
+ return { data: _response.body, rawResponse: _response.rawResponse };
520
+ }
521
+ if (_response.error.reason === "status-code") {
522
+ switch (_response.error.statusCode) {
523
+ case 422:
524
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
525
+ default:
526
+ throw new errors.ChrtError({
527
+ statusCode: _response.error.statusCode,
528
+ body: _response.error.body,
529
+ rawResponse: _response.rawResponse,
530
+ });
531
+ }
532
+ }
533
+ switch (_response.error.reason) {
534
+ case "non-json":
535
+ throw new errors.ChrtError({
536
+ statusCode: _response.error.statusCode,
537
+ body: _response.error.rawBody,
538
+ rawResponse: _response.rawResponse,
539
+ });
540
+ case "timeout":
541
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/connections/set_shipper_provider_default_department/v1/{connection_id}.");
542
+ case "unknown":
543
+ throw new errors.ChrtError({
544
+ message: _response.error.errorMessage,
545
+ rawResponse: _response.rawResponse,
546
+ });
547
+ }
548
+ });
549
+ }
550
+ /**
551
+ * Lists on- and off-CHRT shipper connections owned by the caller. | authz: allowed_org_types=[provider] | () -> (ShipperProviderConnectionsForCoordinatorListRes)
478
552
  *
479
553
  * @param {Chrt.orgs.ConnectionsListShippersV1Request} request
480
554
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
@@ -516,7 +590,10 @@ class Connections {
516
590
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
517
591
  });
518
592
  if (_response.ok) {
519
- return { data: _response.body, rawResponse: _response.rawResponse };
593
+ return {
594
+ data: _response.body,
595
+ rawResponse: _response.rawResponse,
596
+ };
520
597
  }
521
598
  if (_response.error.reason === "status-code") {
522
599
  switch (_response.error.statusCode) {
@@ -8,6 +8,8 @@ import * as Chrt from "../../../../../../index.js";
8
8
  * search: "search",
9
9
  * page: 1,
10
10
  * page_size: 1,
11
+ * latitude: 1.1,
12
+ * longitude: 1.1,
11
13
  * filter_caller_connection_role: "coordinator",
12
14
  * filter_connected: true,
13
15
  * filter_auto_assign_enabled: true
@@ -18,6 +20,10 @@ export interface ConnectionsListProviderProviderV1Request {
18
20
  search?: string | null;
19
21
  page?: number | null;
20
22
  page_size?: number | null;
23
+ /** Latitude for proximity sorting */
24
+ latitude?: number | null;
25
+ /** Longitude for proximity sorting */
26
+ longitude?: number | null;
21
27
  /** Filter by the caller's role in the connection */
22
28
  filter_caller_connection_role?: Chrt.ProviderProviderConnectionCallerRoleEnum | null;
23
29
  /** Filter by connection status */
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface ShipperProviderConnectionClientUpdate1 {
9
+ coordinator_default_department_id?: string | null;
10
+ coordinator_default_department_id__set_to_None?: boolean;
11
+ }
@@ -1,4 +1,5 @@
1
1
  export { type ConnectionsListProviderProviderV1Request } from "./ConnectionsListProviderProviderV1Request.js";
2
2
  export { type ConnectionsListProvidersV1Request } from "./ConnectionsListProvidersV1Request.js";
3
3
  export { type ProviderProviderUpdateAutoAssignReq } from "./ProviderProviderUpdateAutoAssignReq.js";
4
+ export { type ShipperProviderConnectionClientUpdate1 } from "./ShipperProviderConnectionClientUpdate1.js";
4
5
  export { type ConnectionsListShippersV1Request } from "./ConnectionsListShippersV1Request.js";
@@ -31,22 +31,23 @@ export declare class DirectoryEntries {
31
31
  protected readonly _options: DirectoryEntries.Options;
32
32
  constructor(_options?: DirectoryEntries.Options);
33
33
  /**
34
- * Creates a directory entry. | (DirectoryEntryClientCreate1) -> (PydanticObjectId)
34
+ * Creates an organization-owned directory entry. | authz: min_org_role=operator | (DirectoryEntryClientCreate1) -> (PydanticObjectId)
35
35
  *
36
- * @param {Chrt.users.DirectoryEntryClientCreate1} request
36
+ * @param {Chrt.orgs.DirectoryEntryClientCreate1} request
37
37
  * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
38
38
  *
39
39
  * @throws {@link Chrt.UnprocessableEntityError}
40
40
  *
41
41
  * @example
42
- * await client.users.directoryEntries.createV1({
42
+ * await client.orgs.directoryEntries.createV1({
43
+ * name: "name",
43
44
  * schema_version: 1
44
45
  * })
45
46
  */
46
- createV1(request: Chrt.users.DirectoryEntryClientCreate1, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<string>;
47
+ createV1(request: Chrt.orgs.DirectoryEntryClientCreate1, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<string>;
47
48
  private __createV1;
48
49
  /**
49
- * Deletes directory entry owned by the caller's organization. | authz: min_org_role=operator | () -> (bool)
50
+ * Deletes an organization-owned directory entry. | authz: min_org_role=operator | () -> (bool)
50
51
  *
51
52
  * @param {string} directoryEntryId
52
53
  * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
@@ -54,46 +55,47 @@ export declare class DirectoryEntries {
54
55
  * @throws {@link Chrt.UnprocessableEntityError}
55
56
  *
56
57
  * @example
57
- * await client.users.directoryEntries.deleteV1("directory_entry_id")
58
+ * await client.orgs.directoryEntries.deleteV1("directory_entry_id")
58
59
  */
59
60
  deleteV1(directoryEntryId: string, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<boolean>;
60
61
  private __deleteV1;
61
62
  /**
62
- * Lists directory entries with pagination, optional filtering by entry_org_id, and optional full-text search. | authz: min_org_role=operator | () -> (DirectoryEntryListRes)
63
+ * Lists organization-owned directory entries with association filters and search. | authz: min_org_role=operator | () -> (DirectoryEntryListRes)
63
64
  *
64
- * @param {Chrt.users.DirectoryEntriesListV1Request} request
65
+ * @param {Chrt.orgs.DirectoryEntriesListV1Request} request
65
66
  * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
66
67
  *
67
68
  * @throws {@link Chrt.UnprocessableEntityError}
68
69
  *
69
70
  * @example
70
- * await client.users.directoryEntries.listV1({
71
+ * await client.orgs.directoryEntries.listV1({
71
72
  * search: "search",
72
73
  * filter_entry_org_id: "filter_entry_org_id",
73
- * sort_by: "company_name",
74
+ * filter_entry_off_chrt_org_data_id: "filter_entry_off_chrt_org_data_id",
75
+ * sort_by: "name",
74
76
  * sort_order: "asc",
75
77
  * page: 1,
76
78
  * page_size: 1
77
79
  * })
78
80
  */
79
- listV1(request?: Chrt.users.DirectoryEntriesListV1Request, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<Chrt.DirectoryEntryListRes>;
81
+ listV1(request?: Chrt.orgs.DirectoryEntriesListV1Request, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<Chrt.DirectoryEntryListRes>;
80
82
  private __listV1;
81
83
  /**
82
- * Updates existing directory entry owned by the caller's organization. | (DirectoryEntryClientUpdate1) -> (bool)
84
+ * Updates an organization-owned directory entry. | authz: min_org_role=operator | (DirectoryEntryClientUpdate1) -> (bool)
83
85
  *
84
86
  * @param {string} directoryEntryId
85
- * @param {Chrt.users.DirectoryEntryClientUpdate1} request
87
+ * @param {Chrt.orgs.DirectoryEntryClientUpdate1} request
86
88
  * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
87
89
  *
88
90
  * @throws {@link Chrt.UnprocessableEntityError}
89
91
  *
90
92
  * @example
91
- * await client.users.directoryEntries.updateV1("directory_entry_id")
93
+ * await client.orgs.directoryEntries.updateV1("directory_entry_id")
92
94
  */
93
- updateV1(directoryEntryId: string, request?: Chrt.users.DirectoryEntryClientUpdate1, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<boolean>;
95
+ updateV1(directoryEntryId: string, request?: Chrt.orgs.DirectoryEntryClientUpdate1, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<boolean>;
94
96
  private __updateV1;
95
97
  /**
96
- * Retrieves a specific directory entry by ID if authorized to access it. | authz: min_org_role=operator | () -> (DirectoryEntry1)
98
+ * Retrieves an organization-owned directory entry. | authz: min_org_role=operator | () -> (DirectoryEntry1)
97
99
  *
98
100
  * @param {string} directoryEntryId
99
101
  * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
@@ -101,7 +103,7 @@ export declare class DirectoryEntries {
101
103
  * @throws {@link Chrt.UnprocessableEntityError}
102
104
  *
103
105
  * @example
104
- * await client.users.directoryEntries.getV1("directory_entry_id")
106
+ * await client.orgs.directoryEntries.getV1("directory_entry_id")
105
107
  */
106
108
  getV1(directoryEntryId: string, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<Chrt.DirectoryEntry1>;
107
109
  private __getV1;
@@ -56,15 +56,16 @@ class DirectoryEntries {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Creates a directory entry. | (DirectoryEntryClientCreate1) -> (PydanticObjectId)
59
+ * Creates an organization-owned directory entry. | authz: min_org_role=operator | (DirectoryEntryClientCreate1) -> (PydanticObjectId)
60
60
  *
61
- * @param {Chrt.users.DirectoryEntryClientCreate1} request
61
+ * @param {Chrt.orgs.DirectoryEntryClientCreate1} request
62
62
  * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
63
63
  *
64
64
  * @throws {@link Chrt.UnprocessableEntityError}
65
65
  *
66
66
  * @example
67
- * await client.users.directoryEntries.createV1({
67
+ * await client.orgs.directoryEntries.createV1({
68
+ * name: "name",
68
69
  * schema_version: 1
69
70
  * })
70
71
  */
@@ -76,7 +77,7 @@ class DirectoryEntries {
76
77
  var _a, _b, _c, _d;
77
78
  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);
78
79
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
79
- 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, "users/directory_entries/create/v1"),
80
+ 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, "orgs/directory_entries/create/v1"),
80
81
  method: "POST",
81
82
  headers: _headers,
82
83
  contentType: "application/json",
@@ -110,7 +111,7 @@ class DirectoryEntries {
110
111
  rawResponse: _response.rawResponse,
111
112
  });
112
113
  case "timeout":
113
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /users/directory_entries/create/v1.");
114
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/directory_entries/create/v1.");
114
115
  case "unknown":
115
116
  throw new errors.ChrtError({
116
117
  message: _response.error.errorMessage,
@@ -120,7 +121,7 @@ class DirectoryEntries {
120
121
  });
121
122
  }
122
123
  /**
123
- * Deletes directory entry owned by the caller's organization. | authz: min_org_role=operator | () -> (bool)
124
+ * Deletes an organization-owned directory entry. | authz: min_org_role=operator | () -> (bool)
124
125
  *
125
126
  * @param {string} directoryEntryId
126
127
  * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
@@ -128,7 +129,7 @@ class DirectoryEntries {
128
129
  * @throws {@link Chrt.UnprocessableEntityError}
129
130
  *
130
131
  * @example
131
- * await client.users.directoryEntries.deleteV1("directory_entry_id")
132
+ * await client.orgs.directoryEntries.deleteV1("directory_entry_id")
132
133
  */
133
134
  deleteV1(directoryEntryId, requestOptions) {
134
135
  return core.HttpResponsePromise.fromPromise(this.__deleteV1(directoryEntryId, requestOptions));
@@ -138,7 +139,7 @@ class DirectoryEntries {
138
139
  var _a, _b, _c, _d;
139
140
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
140
141
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
141
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `users/directory_entries/delete/v1/${encodeURIComponent(directoryEntryId)}`),
142
+ 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, `orgs/directory_entries/delete/v1/${encodeURIComponent(directoryEntryId)}`),
142
143
  method: "DELETE",
143
144
  headers: _headers,
144
145
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -169,7 +170,7 @@ class DirectoryEntries {
169
170
  rawResponse: _response.rawResponse,
170
171
  });
171
172
  case "timeout":
172
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /users/directory_entries/delete/v1/{directory_entry_id}.");
173
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /orgs/directory_entries/delete/v1/{directory_entry_id}.");
173
174
  case "unknown":
174
175
  throw new errors.ChrtError({
175
176
  message: _response.error.errorMessage,
@@ -179,18 +180,19 @@ class DirectoryEntries {
179
180
  });
180
181
  }
181
182
  /**
182
- * Lists directory entries with pagination, optional filtering by entry_org_id, and optional full-text search. | authz: min_org_role=operator | () -> (DirectoryEntryListRes)
183
+ * Lists organization-owned directory entries with association filters and search. | authz: min_org_role=operator | () -> (DirectoryEntryListRes)
183
184
  *
184
- * @param {Chrt.users.DirectoryEntriesListV1Request} request
185
+ * @param {Chrt.orgs.DirectoryEntriesListV1Request} request
185
186
  * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
186
187
  *
187
188
  * @throws {@link Chrt.UnprocessableEntityError}
188
189
  *
189
190
  * @example
190
- * await client.users.directoryEntries.listV1({
191
+ * await client.orgs.directoryEntries.listV1({
191
192
  * search: "search",
192
193
  * filter_entry_org_id: "filter_entry_org_id",
193
- * sort_by: "company_name",
194
+ * filter_entry_off_chrt_org_data_id: "filter_entry_off_chrt_org_data_id",
195
+ * sort_by: "name",
194
196
  * sort_order: "asc",
195
197
  * page: 1,
196
198
  * page_size: 1
@@ -202,7 +204,7 @@ class DirectoryEntries {
202
204
  __listV1() {
203
205
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
204
206
  var _a, _b, _c, _d, _e, _f;
205
- const { search, filter_entry_org_id: filterEntryOrgId, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
207
+ const { search, filter_entry_org_id: filterEntryOrgId, filter_entry_off_chrt_org_data_id: filterEntryOffChrtOrgDataId, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
206
208
  const _queryParams = {};
207
209
  if (search !== undefined) {
208
210
  _queryParams["search"] = search;
@@ -210,6 +212,9 @@ class DirectoryEntries {
210
212
  if (filterEntryOrgId !== undefined) {
211
213
  _queryParams["filter_entry_org_id"] = filterEntryOrgId;
212
214
  }
215
+ if (filterEntryOffChrtOrgDataId !== undefined) {
216
+ _queryParams["filter_entry_off_chrt_org_data_id"] = filterEntryOffChrtOrgDataId;
217
+ }
213
218
  if (sortBy !== undefined) {
214
219
  _queryParams["sort_by"] = sortBy;
215
220
  }
@@ -224,7 +229,7 @@ class DirectoryEntries {
224
229
  }
225
230
  let _headers = (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
226
231
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
227
- url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "users/directory_entries/list/v1"),
232
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "orgs/directory_entries/list/v1"),
228
233
  method: "GET",
229
234
  headers: _headers,
230
235
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -255,7 +260,7 @@ class DirectoryEntries {
255
260
  rawResponse: _response.rawResponse,
256
261
  });
257
262
  case "timeout":
258
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /users/directory_entries/list/v1.");
263
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/directory_entries/list/v1.");
259
264
  case "unknown":
260
265
  throw new errors.ChrtError({
261
266
  message: _response.error.errorMessage,
@@ -265,16 +270,16 @@ class DirectoryEntries {
265
270
  });
266
271
  }
267
272
  /**
268
- * Updates existing directory entry owned by the caller's organization. | (DirectoryEntryClientUpdate1) -> (bool)
273
+ * Updates an organization-owned directory entry. | authz: min_org_role=operator | (DirectoryEntryClientUpdate1) -> (bool)
269
274
  *
270
275
  * @param {string} directoryEntryId
271
- * @param {Chrt.users.DirectoryEntryClientUpdate1} request
276
+ * @param {Chrt.orgs.DirectoryEntryClientUpdate1} request
272
277
  * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
273
278
  *
274
279
  * @throws {@link Chrt.UnprocessableEntityError}
275
280
  *
276
281
  * @example
277
- * await client.users.directoryEntries.updateV1("directory_entry_id")
282
+ * await client.orgs.directoryEntries.updateV1("directory_entry_id")
278
283
  */
279
284
  updateV1(directoryEntryId, request = {}, requestOptions) {
280
285
  return core.HttpResponsePromise.fromPromise(this.__updateV1(directoryEntryId, request, requestOptions));
@@ -284,7 +289,7 @@ class DirectoryEntries {
284
289
  var _a, _b, _c, _d;
285
290
  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);
286
291
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
287
- 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, `users/directory_entries/update/v1/${encodeURIComponent(directoryEntryId)}`),
292
+ 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, `orgs/directory_entries/update/v1/${encodeURIComponent(directoryEntryId)}`),
288
293
  method: "PATCH",
289
294
  headers: _headers,
290
295
  contentType: "application/json",
@@ -318,7 +323,7 @@ class DirectoryEntries {
318
323
  rawResponse: _response.rawResponse,
319
324
  });
320
325
  case "timeout":
321
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /users/directory_entries/update/v1/{directory_entry_id}.");
326
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/directory_entries/update/v1/{directory_entry_id}.");
322
327
  case "unknown":
323
328
  throw new errors.ChrtError({
324
329
  message: _response.error.errorMessage,
@@ -328,7 +333,7 @@ class DirectoryEntries {
328
333
  });
329
334
  }
330
335
  /**
331
- * Retrieves a specific directory entry by ID if authorized to access it. | authz: min_org_role=operator | () -> (DirectoryEntry1)
336
+ * Retrieves an organization-owned directory entry. | authz: min_org_role=operator | () -> (DirectoryEntry1)
332
337
  *
333
338
  * @param {string} directoryEntryId
334
339
  * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
@@ -336,7 +341,7 @@ class DirectoryEntries {
336
341
  * @throws {@link Chrt.UnprocessableEntityError}
337
342
  *
338
343
  * @example
339
- * await client.users.directoryEntries.getV1("directory_entry_id")
344
+ * await client.orgs.directoryEntries.getV1("directory_entry_id")
340
345
  */
341
346
  getV1(directoryEntryId, requestOptions) {
342
347
  return core.HttpResponsePromise.fromPromise(this.__getV1(directoryEntryId, requestOptions));
@@ -346,7 +351,7 @@ class DirectoryEntries {
346
351
  var _a, _b, _c, _d;
347
352
  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);
348
353
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
349
- 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, `users/directory_entries/v1/${encodeURIComponent(directoryEntryId)}`),
354
+ 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, `orgs/directory_entries/v1/${encodeURIComponent(directoryEntryId)}`),
350
355
  method: "GET",
351
356
  headers: _headers,
352
357
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -377,7 +382,7 @@ class DirectoryEntries {
377
382
  rawResponse: _response.rawResponse,
378
383
  });
379
384
  case "timeout":
380
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /users/directory_entries/v1/{directory_entry_id}.");
385
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/directory_entries/v1/{directory_entry_id}.");
381
386
  case "unknown":
382
387
  throw new errors.ChrtError({
383
388
  message: _response.error.errorMessage,
@@ -7,7 +7,8 @@ import * as Chrt from "../../../../../../index.js";
7
7
  * {
8
8
  * search: "search",
9
9
  * filter_entry_org_id: "filter_entry_org_id",
10
- * sort_by: "company_name",
10
+ * filter_entry_off_chrt_org_data_id: "filter_entry_off_chrt_org_data_id",
11
+ * sort_by: "name",
11
12
  * sort_order: "asc",
12
13
  * page: 1,
13
14
  * page_size: 1
@@ -16,11 +17,13 @@ import * as Chrt from "../../../../../../index.js";
16
17
  export interface DirectoryEntriesListV1Request {
17
18
  /** Full-text search query */
18
19
  search?: string | null;
19
- /** Filter by the org this entry belongs to */
20
+ /** Filter by associated on-CHRT organization */
20
21
  filter_entry_org_id?: string | null;
22
+ /** Filter by associated off-CHRT organization data */
23
+ filter_entry_off_chrt_org_data_id?: string | null;
21
24
  /** Field to sort by */
22
25
  sort_by?: Chrt.DirectoryEntrySortByEnum | null;
23
- /** Sort order (asc or desc) */
26
+ /** Sort order */
24
27
  sort_order?: Chrt.SortOrderEnum | null;
25
28
  page?: number | null;
26
29
  page_size?: number | null;
@@ -5,23 +5,19 @@ import * as Chrt from "../../../../../../index.js";
5
5
  /**
6
6
  * @example
7
7
  * {
8
+ * name: "name",
8
9
  * schema_version: 1
9
10
  * }
10
11
  */
11
12
  export interface DirectoryEntryClientCreate1 {
12
- company_name?: string | null;
13
- contact_first_name?: string | null;
14
- contact_last_name?: string | null;
15
- email_address_primary?: string | null;
16
- email_address_secondary?: string | null;
17
- entry_off_chrt_shipper_org_id?: string | null;
13
+ email_address?: string | null;
14
+ entry_off_chrt_org_data_id?: string | null;
18
15
  /** Must be a string starting with `org_` */
19
16
  entry_org_id?: string | null;
20
- industry?: string | null;
21
17
  job_title?: string | null;
22
18
  location?: Chrt.LocationFeature | null;
19
+ name: string;
23
20
  notes?: string | null;
24
- phone_number_primary?: string | null;
25
- phone_number_secondary?: string | null;
21
+ phone_number?: string | null;
26
22
  schema_version: number;
27
23
  }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../../../index.js";
5
+ /**
6
+ * @example
7
+ * {}
8
+ */
9
+ export interface DirectoryEntryClientUpdate1 {
10
+ email_address?: string | null;
11
+ email_address__set_to_None?: boolean;
12
+ job_title?: string | null;
13
+ job_title__set_to_None?: boolean;
14
+ location?: Chrt.LocationFeature | null;
15
+ location__set_to_None?: boolean;
16
+ name?: string | null;
17
+ notes?: string | null;
18
+ notes__set_to_None?: boolean;
19
+ phone_number?: string | null;
20
+ phone_number__set_to_None?: boolean;
21
+ }