@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
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Limited notification events for ad-hoc per-subject notifications.
6
6
  *
7
- * Set per order or per tracking session for any directory entry contact.
7
+ * Set per order or per tracking session for any contact.
8
8
  * Limited scope since it can go outside the org, e.g. share order completion but probably not billing events
9
9
  */
10
10
  export type NotificationEventsForAdHocEnum = "shipping.order.staged" | "shipping.order.completed" | "tracking.session.destination_geofence_entered";
@@ -4,12 +4,12 @@
4
4
  import * as Chrt from "../index.js";
5
5
  export interface NotificationIntentAdHoc1 {
6
6
  _id: string;
7
+ contact_id: string;
7
8
  created_at_timestamp: string;
8
9
  /** Must be a string starting with `org_` */
9
10
  created_by_org_id: string;
10
11
  /** Must be a string starting with `user_` */
11
12
  created_by_user_id: string;
12
- directory_entry_id: string;
13
13
  email_events?: Chrt.NotificationEventsForAdHocEnum[];
14
14
  order_id?: string | null;
15
15
  push_events?: Chrt.NotificationEventsForAdHocEnum[];
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface NotificationIntentAdHocClientCreate1 {
6
- directory_entry_id: string;
6
+ contact_id: string;
7
7
  email_events?: Chrt.NotificationEventsForAdHocEnum[];
8
8
  push_events?: Chrt.NotificationEventsForAdHocEnum[];
9
9
  schema_version: number;
@@ -12,6 +12,7 @@ export interface Order1 {
12
12
  coordinator_label?: string | null;
13
13
  /** Must be a string starting with `org_` */
14
14
  coordinator_org_id?: string | null;
15
+ coordinator_shipper_account_ids?: string[];
15
16
  coordinator_task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
16
17
  /** Must be a string starting with `org_` */
17
18
  created_by_org_id: string;
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export interface OrderAndTaskGroupExpandedReq {
5
5
  expand_cargos?: boolean;
6
+ expand_contacts?: boolean;
6
7
  expand_coordinator_org_company_name?: boolean;
7
8
  expand_coordinator_org_handle?: boolean;
8
- expand_directory_entries?: boolean;
9
9
  expand_driver?: boolean;
10
10
  expand_executor_org_company_name?: boolean;
11
11
  expand_executor_org_handle?: boolean;
@@ -5,6 +5,7 @@ export interface OrderDraftValidationRequirements {
5
5
  all_entities_are_draft?: boolean | null;
6
6
  at_least_one_task_has_time_window?: boolean | null;
7
7
  cargos_have_valid_lifecycle?: boolean | null;
8
+ coordinator_shipper_accounts_match_order?: boolean | null;
8
9
  order_has_coordinator?: boolean | null;
9
10
  order_has_shipper?: boolean | null;
10
11
  order_has_task_groups?: boolean | null;
@@ -16,6 +16,7 @@ export interface OrderLimitedForCoordinator1 {
16
16
  coordinator_label?: string | null;
17
17
  /** Must be a string starting with `org_` */
18
18
  coordinator_org_id?: string | null;
19
+ coordinator_shipper_account_ids?: string[];
19
20
  coordinator_task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
20
21
  /** Must be a string starting with `org_` */
21
22
  created_by_org_id: string;
@@ -17,6 +17,7 @@ export interface OrderLimitedForProvider1 {
17
17
  coordinator_label?: string | null;
18
18
  /** Must be a string starting with `org_` */
19
19
  coordinator_org_id?: string | null;
20
+ coordinator_shipper_account_ids?: string[];
20
21
  coordinator_task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
21
22
  /** Must be a string starting with `org_` */
22
23
  created_by_org_id: string;
@@ -5,13 +5,14 @@ import * as Chrt from "../index.js";
5
5
  export interface OrderTemplate1 {
6
6
  _id: string;
7
7
  archived_at_timestamp?: string | null;
8
+ contact_ids?: string[];
8
9
  coordinator_label?: string | null;
9
10
  /** Must be a string starting with `org_` */
10
11
  coordinator_org_id?: string | null;
12
+ coordinator_shipper_account_ids?: string[];
11
13
  created_at_timestamp: string;
12
14
  department_id?: string | null;
13
15
  description?: string | null;
14
- directory_entry_ids?: string[];
15
16
  driver_ids?: string[];
16
17
  executor_org_ids?: string[];
17
18
  last_edited_at_timestamp: string;
@@ -8,11 +8,12 @@ import * as Chrt from "../index.js";
8
8
  * NOTE - some fields have multiple values and must be properly mapped to an entity by the order builder, e.g. for `driver_ids` each resolves to a single task group
9
9
  */
10
10
  export interface OrderTemplateCore1 {
11
+ contact_ids?: string[];
11
12
  coordinator_label?: string | null;
12
13
  /** Must be a string starting with `org_` */
13
14
  coordinator_org_id?: string | null;
15
+ coordinator_shipper_account_ids?: string[];
14
16
  department_id?: string | null;
15
- directory_entry_ids?: string[];
16
17
  driver_ids?: string[];
17
18
  executor_org_ids?: string[];
18
19
  off_chrt_executor_org_data_ids?: string[];
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface OrderTemplateExpanded1 {
6
- directory_entries?: Chrt.DirectoryEntry1[];
6
+ contacts?: Chrt.Contact1[];
7
7
  drivers?: Chrt.Driver1[];
8
8
  executor_orgs?: Chrt.OrderTemplateOrgInfo1[];
9
9
  off_chrt_executor_orgs?: Chrt.OffChrtOrgData1[];
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OrderTemplateReferenceColumnEnum1 = "shipper_org_id" | "off_chrt_shipper_org_data_id" | "executor_org_ids" | "off_chrt_executor_org_data_ids" | "driver_ids" | "directory_entry_ids";
4
+ export type OrderTemplateReferenceColumnEnum1 = "shipper_org_id" | "off_chrt_shipper_org_data_id" | "coordinator_shipper_account_ids" | "executor_org_ids" | "off_chrt_executor_org_data_ids" | "driver_ids" | "contact_ids";
5
5
  export declare const OrderTemplateReferenceColumnEnum1: {
6
6
  readonly ShipperOrgId: "shipper_org_id";
7
7
  readonly OffChrtShipperOrgDataId: "off_chrt_shipper_org_data_id";
8
+ readonly CoordinatorShipperAccountIds: "coordinator_shipper_account_ids";
8
9
  readonly ExecutorOrgIds: "executor_org_ids";
9
10
  readonly OffChrtExecutorOrgDataIds: "off_chrt_executor_org_data_ids";
10
11
  readonly DriverIds: "driver_ids";
11
- readonly DirectoryEntryIds: "directory_entry_ids";
12
+ readonly ContactIds: "contact_ids";
12
13
  };
@@ -7,8 +7,9 @@ exports.OrderTemplateReferenceColumnEnum1 = void 0;
7
7
  exports.OrderTemplateReferenceColumnEnum1 = {
8
8
  ShipperOrgId: "shipper_org_id",
9
9
  OffChrtShipperOrgDataId: "off_chrt_shipper_org_data_id",
10
+ CoordinatorShipperAccountIds: "coordinator_shipper_account_ids",
10
11
  ExecutorOrgIds: "executor_org_ids",
11
12
  OffChrtExecutorOrgDataIds: "off_chrt_executor_org_data_ids",
12
13
  DriverIds: "driver_ids",
13
- DirectoryEntryIds: "directory_entry_ids",
14
+ ContactIds: "contact_ids",
14
15
  };
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface OrderTemplateReferencesExpanded1 {
6
- directory_entries?: Chrt.DirectoryEntry1[];
6
+ contacts?: Chrt.Contact1[];
7
7
  drivers?: Chrt.Driver1[];
8
8
  executor_orgs?: Chrt.OrderTemplateOrgInfo1[];
9
9
  off_chrt_executor_orgs?: Chrt.OffChrtOrgData1[];
@@ -2,8 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface OrderTemplateResolvabilityRes {
5
+ unresolvable_contact_ids?: string[];
5
6
  unresolvable_coordinator?: boolean;
6
- unresolvable_directory_entry_ids?: string[];
7
+ unresolvable_coordinator_shipper_account_ids?: string[];
7
8
  unresolvable_driver_ids?: string[];
8
9
  unresolvable_off_chrt_executor_org_data_ids?: string[];
9
10
  unresolvable_off_chrt_shipper?: boolean;
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OrgTypeEnum = "provider" | "shipper";
4
+ export type OrgTypeEnum = "provider" | "shipper" | "vendor";
5
5
  export declare const OrgTypeEnum: {
6
6
  readonly Provider: "provider";
7
7
  readonly Shipper: "shipper";
8
+ readonly Vendor: "vendor";
8
9
  };
@@ -7,4 +7,5 @@ exports.OrgTypeEnum = void 0;
7
7
  exports.OrgTypeEnum = {
8
8
  Provider: "provider",
9
9
  Shipper: "shipper",
10
+ Vendor: "vendor",
10
11
  };
@@ -24,7 +24,6 @@ export interface Statement1 {
24
24
  paid_at_timestamp?: string | null;
25
25
  payment_destination_driver_id?: string | null;
26
26
  payment_destination_off_chrt_provider_org_data_id?: string | null;
27
- payment_destination_off_chrt_vendor_id?: string | null;
28
27
  /** Must be a string starting with `org_` */
29
28
  payment_destination_org_id?: string | null;
30
29
  payment_origin_off_chrt_shipper_org_data_id?: string | null;
@@ -13,12 +13,12 @@ export interface Task1 {
13
13
  completed_by_org_id?: string | null;
14
14
  /** Must be a string starting with `user_` */
15
15
  completed_by_user_id?: string | null;
16
+ contact_ids?: string[];
16
17
  /** Must be a string starting with `org_` */
17
18
  created_by_org_id: string;
18
19
  /** Must be a string starting with `user_` */
19
20
  created_by_user_id?: string | null;
20
21
  datetime_windows?: Chrt.DateTimeWindow1[];
21
- directory_entry_ids?: string[];
22
22
  draft_started_at_timestamp: string;
23
23
  exception_at_timestamp?: string | null;
24
24
  executor_org_notes?: Chrt.TaskExecutorOrgNote1[];
@@ -4,8 +4,8 @@
4
4
  import * as Chrt from "../index.js";
5
5
  export interface TaskClientCreate1 {
6
6
  action?: TaskClientCreate1.Action | null;
7
+ contact_ids?: string[];
7
8
  datetime_windows?: Chrt.DateTimeWindow1[];
8
- directory_entry_ids?: string[];
9
9
  geofence_distance_miles?: number;
10
10
  location?: Chrt.LocationFeature | null;
11
11
  order_placer_comments?: string | null;
@@ -4,8 +4,8 @@
4
4
  import * as Chrt from "../index.js";
5
5
  export interface TaskClientUpdate1 {
6
6
  action?: TaskClientUpdate1.Action | null;
7
+ contact_ids?: string[];
7
8
  datetime_windows?: Chrt.DateTimeWindow1[];
8
- directory_entry_ids?: string[];
9
9
  location?: Chrt.LocationFeature | null;
10
10
  order_placer_comments?: string | null;
11
11
  order_placer_comments__set_to_None?: boolean;
@@ -4,7 +4,7 @@
4
4
  import * as Chrt from "../index.js";
5
5
  export interface TaskExpanded {
6
6
  cargos?: Chrt.Cargo1[] | null;
7
- directory_entries?: Chrt.DirectoryEntry1[] | null;
7
+ contacts?: Chrt.Contact1[] | null;
8
8
  task: Chrt.Task1;
9
9
  task_artifacts?: Chrt.TaskArtifact1[] | null;
10
10
  }
@@ -1,4 +1,10 @@
1
1
  export * from "./AiImageDescription.js";
2
+ export * from "./Account1.js";
3
+ export * from "./AccountListRes.js";
4
+ export * from "./AccountSortByEnum.js";
5
+ export * from "./AccountTypeaheadFieldEnum.js";
6
+ export * from "./AccountTypeaheadResult.js";
7
+ export * from "./AccountTypeaheadValue.js";
2
8
  export * from "./AlertCallback.js";
3
9
  export * from "./AlertEvent.js";
4
10
  export * from "./AlertMessage.js";
@@ -121,6 +127,9 @@ export * from "./ConnectionSearchPreferenceEnum.js";
121
127
  export * from "./ConnectionTypeaheadFieldEnum.js";
122
128
  export * from "./ConnectionTypeaheadResult.js";
123
129
  export * from "./ConnectionTypeaheadValue.js";
130
+ export * from "./Contact1.js";
131
+ export * from "./ContactListRes.js";
132
+ export * from "./ContactSortByEnum.js";
124
133
  export * from "./CoordinatorExecutorConnection1.js";
125
134
  export * from "./CoordinatorExecutorConnectionForCoordinatorGeoSearchListItem.js";
126
135
  export * from "./CoordinatorExecutorConnectionForCoordinatorListItem.js";
@@ -146,9 +155,6 @@ export * from "./DeviceLimitedForList1.js";
146
155
  export * from "./DeviceListRes.js";
147
156
  export * from "./DevicePausedTimeWindow1.js";
148
157
  export * from "./DeviceSortByEnum.js";
149
- export * from "./DirectoryEntry1.js";
150
- export * from "./DirectoryEntryListRes.js";
151
- export * from "./DirectoryEntrySortByEnum.js";
152
158
  export * from "./Driver1.js";
153
159
  export * from "./DriverAnalyticsDay.js";
154
160
  export * from "./DriverAnalyticsTaskGroup.js";
@@ -236,8 +242,6 @@ export * from "./OffChrtOrgData1.js";
236
242
  export * from "./OffChrtOrgDataClientCreate1.js";
237
243
  export * from "./OffChrtOrgDataListRes.js";
238
244
  export * from "./OffChrtOrgDataSortByEnum.js";
239
- export * from "./OffChrtVendor1.js";
240
- export * from "./OffChrtVendorListRes.js";
241
245
  export * from "./OnboardCourierRateSheet1.js";
242
246
  export * from "./OnboardCourierRateSheetListRes.js";
243
247
  export * from "./OnboardCourierTaskActionEnum1.js";
@@ -15,6 +15,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AiImageDescription.js"), exports);
18
+ __exportStar(require("./Account1.js"), exports);
19
+ __exportStar(require("./AccountListRes.js"), exports);
20
+ __exportStar(require("./AccountSortByEnum.js"), exports);
21
+ __exportStar(require("./AccountTypeaheadFieldEnum.js"), exports);
22
+ __exportStar(require("./AccountTypeaheadResult.js"), exports);
23
+ __exportStar(require("./AccountTypeaheadValue.js"), exports);
18
24
  __exportStar(require("./AlertCallback.js"), exports);
19
25
  __exportStar(require("./AlertEvent.js"), exports);
20
26
  __exportStar(require("./AlertMessage.js"), exports);
@@ -137,6 +143,9 @@ __exportStar(require("./ConnectionSearchPreferenceEnum.js"), exports);
137
143
  __exportStar(require("./ConnectionTypeaheadFieldEnum.js"), exports);
138
144
  __exportStar(require("./ConnectionTypeaheadResult.js"), exports);
139
145
  __exportStar(require("./ConnectionTypeaheadValue.js"), exports);
146
+ __exportStar(require("./Contact1.js"), exports);
147
+ __exportStar(require("./ContactListRes.js"), exports);
148
+ __exportStar(require("./ContactSortByEnum.js"), exports);
140
149
  __exportStar(require("./CoordinatorExecutorConnection1.js"), exports);
141
150
  __exportStar(require("./CoordinatorExecutorConnectionForCoordinatorGeoSearchListItem.js"), exports);
142
151
  __exportStar(require("./CoordinatorExecutorConnectionForCoordinatorListItem.js"), exports);
@@ -162,9 +171,6 @@ __exportStar(require("./DeviceLimitedForList1.js"), exports);
162
171
  __exportStar(require("./DeviceListRes.js"), exports);
163
172
  __exportStar(require("./DevicePausedTimeWindow1.js"), exports);
164
173
  __exportStar(require("./DeviceSortByEnum.js"), exports);
165
- __exportStar(require("./DirectoryEntry1.js"), exports);
166
- __exportStar(require("./DirectoryEntryListRes.js"), exports);
167
- __exportStar(require("./DirectoryEntrySortByEnum.js"), exports);
168
174
  __exportStar(require("./Driver1.js"), exports);
169
175
  __exportStar(require("./DriverAnalyticsDay.js"), exports);
170
176
  __exportStar(require("./DriverAnalyticsTaskGroup.js"), exports);
@@ -252,8 +258,6 @@ __exportStar(require("./OffChrtOrgData1.js"), exports);
252
258
  __exportStar(require("./OffChrtOrgDataClientCreate1.js"), exports);
253
259
  __exportStar(require("./OffChrtOrgDataListRes.js"), exports);
254
260
  __exportStar(require("./OffChrtOrgDataSortByEnum.js"), exports);
255
- __exportStar(require("./OffChrtVendor1.js"), exports);
256
- __exportStar(require("./OffChrtVendorListRes.js"), exports);
257
261
  __exportStar(require("./OnboardCourierRateSheet1.js"), exports);
258
262
  __exportStar(require("./OnboardCourierRateSheetListRes.js"), exports);
259
263
  __exportStar(require("./OnboardCourierTaskActionEnum1.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.881.0";
1
+ export declare const SDK_VERSION = "1.887.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.881.0";
4
+ exports.SDK_VERSION = "1.887.0";
@@ -21,8 +21,8 @@ export class ChrtClient {
21
21
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
22
22
  "X-Fern-Language": "JavaScript",
23
23
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
24
- "X-Fern-SDK-Version": "1.881.0",
25
- "User-Agent": "@chrt-inc/typescript-sdk/1.881.0",
24
+ "X-Fern-SDK-Version": "1.887.0",
25
+ "User-Agent": "@chrt-inc/typescript-sdk/1.887.0",
26
26
  "X-Fern-Runtime": core.RUNTIME.type,
27
27
  "X-Fern-Runtime-Version": core.RUNTIME.version,
28
28
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -15,7 +15,6 @@ export interface LineItemGroupAdHocCreateClientReq {
15
15
  owned_by_org_id: string;
16
16
  payment_destination_driver_id?: string | null;
17
17
  payment_destination_off_chrt_provider_org_data_id?: string | null;
18
- payment_destination_off_chrt_vendor_id?: string | null;
19
18
  /** Must be a string starting with `org_` */
20
19
  payment_destination_org_id?: string | null;
21
20
  payment_origin_off_chrt_shipper_org_data_id?: string | null;
@@ -12,7 +12,6 @@ export interface StatementCreateClientReq {
12
12
  order_group_id?: string | null;
13
13
  payment_destination_driver_id?: string | null;
14
14
  payment_destination_off_chrt_provider_org_data_id?: string | null;
15
- payment_destination_off_chrt_vendor_id?: string | null;
16
15
  /** Must be a string starting with `org_` */
17
16
  payment_destination_org_id?: string | null;
18
17
  payment_origin_off_chrt_shipper_org_data_id?: string | null;
@@ -41,7 +41,7 @@ export declare class AdHoc {
41
41
  *
42
42
  * @example
43
43
  * await client.notifications.adHoc.createV1("order_id", {
44
- * directory_entry_id: "directory_entry_id",
44
+ * contact_id: "contact_id",
45
45
  * schema_version: 1
46
46
  * })
47
47
  */
@@ -58,7 +58,7 @@ export declare class AdHoc {
58
58
  *
59
59
  * @example
60
60
  * await client.notifications.adHoc.createForSessionV1("session_id", {
61
- * directory_entry_id: "directory_entry_id",
61
+ * contact_id: "contact_id",
62
62
  * schema_version: 1
63
63
  * })
64
64
  */
@@ -30,7 +30,7 @@ export class AdHoc {
30
30
  *
31
31
  * @example
32
32
  * await client.notifications.adHoc.createV1("order_id", {
33
- * directory_entry_id: "directory_entry_id",
33
+ * contact_id: "contact_id",
34
34
  * schema_version: 1
35
35
  * })
36
36
  */
@@ -96,7 +96,7 @@ export class AdHoc {
96
96
  *
97
97
  * @example
98
98
  * await client.notifications.adHoc.createForSessionV1("session_id", {
99
- * directory_entry_id: "directory_entry_id",
99
+ * contact_id: "contact_id",
100
100
  * schema_version: 1
101
101
  * })
102
102
  */
@@ -4,11 +4,11 @@
4
4
  import * as environments from "../../../../environments.mjs";
5
5
  import * as core from "../../../../core/index.mjs";
6
6
  import * as Chrt from "../../../index.mjs";
7
+ import { Accounts } from "../resources/accounts/client/Client.mjs";
7
8
  import { ComplianceDocuments } from "../resources/complianceDocuments/client/Client.mjs";
8
9
  import { Connections } from "../resources/connections/client/Client.mjs";
9
- import { DirectoryEntries } from "../resources/directoryEntries/client/Client.mjs";
10
+ import { Contacts } from "../resources/contacts/client/Client.mjs";
10
11
  import { OffChrtOrgData } from "../resources/offChrtOrgData/client/Client.mjs";
11
- import { OffChrtVendor } from "../resources/offChrtVendor/client/Client.mjs";
12
12
  import { PrivateData } from "../resources/privateData/client/Client.mjs";
13
13
  import { PublicData } from "../resources/publicData/client/Client.mjs";
14
14
  export declare namespace Orgs {
@@ -36,19 +36,19 @@ export declare namespace Orgs {
36
36
  }
37
37
  export declare class Orgs {
38
38
  protected readonly _options: Orgs.Options;
39
+ protected _accounts: Accounts | undefined;
39
40
  protected _complianceDocuments: ComplianceDocuments | undefined;
40
41
  protected _connections: Connections | undefined;
41
- protected _directoryEntries: DirectoryEntries | undefined;
42
+ protected _contacts: Contacts | undefined;
42
43
  protected _offChrtOrgData: OffChrtOrgData | undefined;
43
- protected _offChrtVendor: OffChrtVendor | undefined;
44
44
  protected _privateData: PrivateData | undefined;
45
45
  protected _publicData: PublicData | undefined;
46
46
  constructor(_options?: Orgs.Options);
47
+ get accounts(): Accounts;
47
48
  get complianceDocuments(): ComplianceDocuments;
48
49
  get connections(): Connections;
49
- get directoryEntries(): DirectoryEntries;
50
+ get contacts(): Contacts;
50
51
  get offChrtOrgData(): OffChrtOrgData;
51
- get offChrtVendor(): OffChrtVendor;
52
52
  get privateData(): PrivateData;
53
53
  get publicData(): PublicData;
54
54
  /**
@@ -15,17 +15,21 @@ import * as core from "../../../../core/index.mjs";
15
15
  import * as Chrt from "../../../index.mjs";
16
16
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
17
17
  import * as errors from "../../../../errors/index.mjs";
18
+ import { Accounts } from "../resources/accounts/client/Client.mjs";
18
19
  import { ComplianceDocuments } from "../resources/complianceDocuments/client/Client.mjs";
19
20
  import { Connections } from "../resources/connections/client/Client.mjs";
20
- import { DirectoryEntries } from "../resources/directoryEntries/client/Client.mjs";
21
+ import { Contacts } from "../resources/contacts/client/Client.mjs";
21
22
  import { OffChrtOrgData } from "../resources/offChrtOrgData/client/Client.mjs";
22
- import { OffChrtVendor } from "../resources/offChrtVendor/client/Client.mjs";
23
23
  import { PrivateData } from "../resources/privateData/client/Client.mjs";
24
24
  import { PublicData } from "../resources/publicData/client/Client.mjs";
25
25
  export class Orgs {
26
26
  constructor(_options = {}) {
27
27
  this._options = _options;
28
28
  }
29
+ get accounts() {
30
+ var _a;
31
+ return ((_a = this._accounts) !== null && _a !== void 0 ? _a : (this._accounts = new Accounts(this._options)));
32
+ }
29
33
  get complianceDocuments() {
30
34
  var _a;
31
35
  return ((_a = this._complianceDocuments) !== null && _a !== void 0 ? _a : (this._complianceDocuments = new ComplianceDocuments(this._options)));
@@ -34,18 +38,14 @@ export class Orgs {
34
38
  var _a;
35
39
  return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Connections(this._options)));
36
40
  }
37
- get directoryEntries() {
41
+ get contacts() {
38
42
  var _a;
39
- return ((_a = this._directoryEntries) !== null && _a !== void 0 ? _a : (this._directoryEntries = new DirectoryEntries(this._options)));
43
+ return ((_a = this._contacts) !== null && _a !== void 0 ? _a : (this._contacts = new Contacts(this._options)));
40
44
  }
41
45
  get offChrtOrgData() {
42
46
  var _a;
43
47
  return ((_a = this._offChrtOrgData) !== null && _a !== void 0 ? _a : (this._offChrtOrgData = new OffChrtOrgData(this._options)));
44
48
  }
45
- get offChrtVendor() {
46
- var _a;
47
- return ((_a = this._offChrtVendor) !== null && _a !== void 0 ? _a : (this._offChrtVendor = new OffChrtVendor(this._options)));
48
- }
49
49
  get privateData() {
50
50
  var _a;
51
51
  return ((_a = this._privateData) !== null && _a !== void 0 ? _a : (this._privateData = new PrivateData(this._options)));
@@ -0,0 +1,114 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../core/index.mjs";
6
+ import * as Chrt from "../../../../../index.mjs";
7
+ export declare namespace Accounts {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
26
+ /** Additional headers to include in the request. */
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
+ }
29
+ }
30
+ export declare class Accounts {
31
+ protected readonly _options: Accounts.Options;
32
+ constructor(_options?: Accounts.Options);
33
+ /**
34
+ * Creates a coordinator-private account with a name unique to its associated shipper. Optional location may be set at creation. | authz: allowed_org_types=[provider], min_org_role=operator | (AccountClientCreate1) -> (PydanticObjectId)
35
+ *
36
+ * @param {Chrt.orgs.AccountClientCreate1} request
37
+ * @param {Accounts.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.orgs.accounts.createV1({
43
+ * name: "name",
44
+ * schema_version: 1
45
+ * })
46
+ */
47
+ createV1(request: Chrt.orgs.AccountClientCreate1, requestOptions?: Accounts.RequestOptions): core.HttpResponsePromise<string>;
48
+ private __createV1;
49
+ /**
50
+ * Lists coordinator-created shipper accounts with association filters, name search, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (AccountListRes)
51
+ *
52
+ * @param {Chrt.orgs.AccountsListV1Request} request
53
+ * @param {Accounts.RequestOptions} requestOptions - Request-specific configuration.
54
+ *
55
+ * @throws {@link Chrt.UnprocessableEntityError}
56
+ *
57
+ * @example
58
+ * await client.orgs.accounts.listV1({
59
+ * search: "search",
60
+ * filter_org_id: "filter_org_id",
61
+ * filter_off_chrt_org_data_id: "filter_off_chrt_org_data_id",
62
+ * sort_by: "name",
63
+ * sort_order: "asc",
64
+ * page: 1,
65
+ * page_size: 1
66
+ * })
67
+ */
68
+ listV1(request?: Chrt.orgs.AccountsListV1Request, requestOptions?: Accounts.RequestOptions): core.HttpResponsePromise<Chrt.AccountListRes>;
69
+ private __listV1;
70
+ /**
71
+ * Returns distinct coordinator-created shipper account names matching the query, with matching account IDs. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (list[AccountTypeaheadResult])
72
+ *
73
+ * @param {Chrt.orgs.AccountsTypeaheadV1Request} request
74
+ * @param {Accounts.RequestOptions} requestOptions - Request-specific configuration.
75
+ *
76
+ * @throws {@link Chrt.UnprocessableEntityError}
77
+ *
78
+ * @example
79
+ * await client.orgs.accounts.typeaheadV1({
80
+ * query: "query",
81
+ * limit: 1
82
+ * })
83
+ */
84
+ typeaheadV1(request: Chrt.orgs.AccountsTypeaheadV1Request, requestOptions?: Accounts.RequestOptions): core.HttpResponsePromise<Chrt.AccountTypeaheadResult[]>;
85
+ private __typeaheadV1;
86
+ /**
87
+ * Updates a coordinator-created shipper account name and optional location while preserving per-shipper name uniqueness. | authz: allowed_org_types=[provider], min_org_role=operator | (AccountClientUpdate1) -> (bool)
88
+ *
89
+ * @param {string} accountId
90
+ * @param {Chrt.orgs.AccountClientUpdate1} request
91
+ * @param {Accounts.RequestOptions} requestOptions - Request-specific configuration.
92
+ *
93
+ * @throws {@link Chrt.UnprocessableEntityError}
94
+ *
95
+ * @example
96
+ * await client.orgs.accounts.updateV1("account_id")
97
+ */
98
+ updateV1(accountId: string, request?: Chrt.orgs.AccountClientUpdate1, requestOptions?: Accounts.RequestOptions): core.HttpResponsePromise<boolean>;
99
+ private __updateV1;
100
+ /**
101
+ * Retrieves a coordinator-created shipper account. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Account1)
102
+ *
103
+ * @param {string} accountId
104
+ * @param {Accounts.RequestOptions} requestOptions - Request-specific configuration.
105
+ *
106
+ * @throws {@link Chrt.UnprocessableEntityError}
107
+ *
108
+ * @example
109
+ * await client.orgs.accounts.getV1("account_id")
110
+ */
111
+ getV1(accountId: string, requestOptions?: Accounts.RequestOptions): core.HttpResponsePromise<Chrt.Account1>;
112
+ private __getV1;
113
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
114
+ }