@chrt-inc/typescript-sdk 1.880.0 → 1.885.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +0 -1
  3. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +0 -1
  4. package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.d.ts +2 -2
  5. package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.js +2 -2
  6. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +25 -9
  7. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +80 -12
  8. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1.d.ts +14 -0
  9. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTasksBulkUpdateDeadlinesReq1.d.ts → OperationsTasksSetDeadlineTimestampsReq1.d.ts} +4 -4
  10. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +2 -1
  11. package/dist/cjs/api/resources/orgs/client/Client.d.ts +6 -6
  12. package/dist/cjs/api/resources/orgs/client/Client.js +14 -14
  13. package/dist/cjs/api/resources/orgs/resources/accounts/client/Client.d.ts +97 -0
  14. package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → accounts}/client/Client.js +57 -100
  15. package/dist/{esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.mts → cjs/api/resources/orgs/resources/accounts/client/requests/AccountClientCreate1.d.ts} +4 -2
  16. package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.ts → accounts/client/requests/AccountClientUpdate1.d.ts} +1 -3
  17. package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.ts +27 -0
  18. package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/index.d.ts +3 -0
  19. package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.d.ts +112 -0
  20. package/dist/cjs/api/resources/orgs/resources/{directoryEntries → contacts}/client/Client.js +55 -51
  21. package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.d.ts → contacts/client/requests/ContactClientCreate1.d.ts} +5 -4
  22. package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts → contacts/client/requests/ContactClientUpdate1.d.ts} +1 -1
  23. package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.d.ts → contacts/client/requests/ContactsListV1Request.d.ts} +9 -6
  24. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/index.d.ts +3 -0
  25. package/dist/cjs/api/resources/orgs/resources/index.d.ts +4 -4
  26. package/dist/cjs/api/resources/orgs/resources/index.js +5 -5
  27. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.d.ts +1 -1
  28. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.js +1 -1
  29. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +1 -1
  30. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +4 -4
  31. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +2 -1
  32. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +2 -1
  33. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +3 -3
  34. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +28 -0
  35. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +120 -0
  36. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -0
  37. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -0
  38. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +20 -4
  39. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +3 -0
  40. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +3 -0
  41. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
  42. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +3 -0
  43. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +1 -1
  44. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +1 -1
  45. package/dist/{esm/api/types/OffChrtVendor1.d.mts → cjs/api/types/Account1.d.ts} +4 -2
  46. package/dist/cjs/api/types/{OffChrtVendorListRes.d.ts → AccountListRes.d.ts} +2 -2
  47. package/dist/cjs/api/types/AccountSortByEnum.d.ts +4 -0
  48. package/dist/cjs/api/types/{DirectoryEntry1.d.ts → Contact1.d.ts} +6 -7
  49. package/dist/cjs/api/types/{DirectoryEntryListRes.d.ts → ContactListRes.d.ts} +2 -2
  50. package/dist/cjs/api/types/ContactSortByEnum.d.ts +4 -0
  51. package/dist/cjs/api/types/CreateOffChrtOrgRes.d.ts +1 -1
  52. package/dist/cjs/api/types/LineItemGroup1.d.ts +0 -1
  53. package/dist/cjs/api/types/NotificationIntentAdHoc1.d.ts +1 -1
  54. package/dist/cjs/api/types/NotificationIntentAdHocClientCreate1.d.ts +1 -1
  55. package/dist/cjs/api/types/{OperationsTaskDeadlineUpdate1.d.ts → OperationsTaskDeadlineTimestampUpdate1.d.ts} +2 -2
  56. package/dist/cjs/api/types/OperationsTaskDeadlineTimestampUpdate1.js +5 -0
  57. package/dist/cjs/api/types/OperationsTasksDeadlineTimestampsUpdateRes1.d.ts +7 -0
  58. package/dist/cjs/api/types/OperationsTasksDeadlineTimestampsUpdateRes1.js +5 -0
  59. package/dist/cjs/api/types/Order1.d.ts +1 -0
  60. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +1 -1
  61. package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +1 -0
  62. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -0
  63. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -0
  64. package/dist/cjs/api/types/OrderTemplate1.d.ts +2 -1
  65. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +2 -1
  66. package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +1 -1
  67. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +3 -2
  68. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +2 -1
  69. package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +1 -1
  70. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +2 -1
  71. package/dist/cjs/api/types/OrgTypeEnum.d.ts +2 -1
  72. package/dist/cjs/api/types/OrgTypeEnum.js +1 -0
  73. package/dist/cjs/api/types/Statement1.d.ts +0 -1
  74. package/dist/cjs/api/types/Task1.d.ts +1 -1
  75. package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -1
  76. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +1 -1
  77. package/dist/cjs/api/types/TaskExpanded.d.ts +1 -1
  78. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +2 -0
  79. package/dist/cjs/api/types/index.d.ts +8 -7
  80. package/dist/cjs/api/types/index.js +8 -7
  81. package/dist/cjs/version.d.ts +1 -1
  82. package/dist/cjs/version.js +1 -1
  83. package/dist/esm/Client.mjs +2 -2
  84. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +0 -1
  85. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +0 -1
  86. package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.d.mts +2 -2
  87. package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.mjs +2 -2
  88. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +25 -9
  89. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +80 -12
  90. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1.d.mts +14 -0
  91. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTasksBulkUpdateDeadlinesReq1.d.mts → OperationsTasksSetDeadlineTimestampsReq1.d.mts} +4 -4
  92. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +2 -1
  93. package/dist/esm/api/resources/orgs/client/Client.d.mts +6 -6
  94. package/dist/esm/api/resources/orgs/client/Client.mjs +8 -8
  95. package/dist/esm/api/resources/orgs/resources/accounts/client/Client.d.mts +97 -0
  96. package/dist/esm/api/resources/orgs/resources/{offChrtVendor → accounts}/client/Client.mjs +55 -98
  97. package/dist/{cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.ts → esm/api/resources/orgs/resources/accounts/client/requests/AccountClientCreate1.d.mts} +4 -2
  98. package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.mts → accounts/client/requests/AccountClientUpdate1.d.mts} +1 -3
  99. package/dist/esm/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.mts +27 -0
  100. package/dist/esm/api/resources/orgs/resources/accounts/client/requests/index.d.mts +3 -0
  101. package/dist/esm/api/resources/orgs/resources/contacts/client/Client.d.mts +112 -0
  102. package/dist/esm/api/resources/orgs/resources/{directoryEntries → contacts}/client/Client.mjs +53 -49
  103. package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts → contacts/client/requests/ContactClientCreate1.d.mts} +5 -4
  104. package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts → contacts/client/requests/ContactClientUpdate1.d.mts} +1 -1
  105. package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.d.mts → contacts/client/requests/ContactsListV1Request.d.mts} +9 -6
  106. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/index.d.mts +3 -0
  107. package/dist/esm/api/resources/orgs/resources/index.d.mts +4 -4
  108. package/dist/esm/api/resources/orgs/resources/index.mjs +4 -4
  109. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.d.mts +1 -1
  110. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.mjs +1 -1
  111. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +1 -1
  112. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +4 -4
  113. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +2 -1
  114. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +2 -1
  115. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +3 -3
  116. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +28 -0
  117. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +120 -0
  118. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -0
  119. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -0
  120. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +20 -4
  121. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +3 -0
  122. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +3 -0
  123. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
  124. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +3 -0
  125. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +1 -1
  126. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +1 -1
  127. package/dist/{cjs/api/types/OffChrtVendor1.d.ts → esm/api/types/Account1.d.mts} +4 -2
  128. package/dist/esm/api/types/{OffChrtVendorListRes.d.mts → AccountListRes.d.mts} +2 -2
  129. package/dist/esm/api/types/AccountSortByEnum.d.mts +4 -0
  130. package/dist/esm/api/types/{DirectoryEntry1.d.mts → Contact1.d.mts} +6 -7
  131. package/dist/esm/api/types/{DirectoryEntryListRes.d.mts → ContactListRes.d.mts} +2 -2
  132. package/dist/esm/api/types/ContactSortByEnum.d.mts +4 -0
  133. package/dist/esm/api/types/CreateOffChrtOrgRes.d.mts +1 -1
  134. package/dist/esm/api/types/LineItemGroup1.d.mts +0 -1
  135. package/dist/esm/api/types/NotificationIntentAdHoc1.d.mts +1 -1
  136. package/dist/esm/api/types/NotificationIntentAdHocClientCreate1.d.mts +1 -1
  137. package/dist/esm/api/types/{OperationsTaskDeadlineUpdate1.d.mts → OperationsTaskDeadlineTimestampUpdate1.d.mts} +2 -2
  138. package/dist/esm/api/types/OperationsTaskDeadlineTimestampUpdate1.mjs +4 -0
  139. package/dist/esm/api/types/OperationsTasksDeadlineTimestampsUpdateRes1.d.mts +7 -0
  140. package/dist/esm/api/types/OperationsTasksDeadlineTimestampsUpdateRes1.mjs +4 -0
  141. package/dist/esm/api/types/Order1.d.mts +1 -0
  142. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +1 -1
  143. package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +1 -0
  144. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -0
  145. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -0
  146. package/dist/esm/api/types/OrderTemplate1.d.mts +2 -1
  147. package/dist/esm/api/types/OrderTemplateCore1.d.mts +2 -1
  148. package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +1 -1
  149. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +3 -2
  150. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +2 -1
  151. package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +1 -1
  152. package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +2 -1
  153. package/dist/esm/api/types/OrgTypeEnum.d.mts +2 -1
  154. package/dist/esm/api/types/OrgTypeEnum.mjs +1 -0
  155. package/dist/esm/api/types/Statement1.d.mts +0 -1
  156. package/dist/esm/api/types/Task1.d.mts +1 -1
  157. package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -1
  158. package/dist/esm/api/types/TaskClientUpdate1.d.mts +1 -1
  159. package/dist/esm/api/types/TaskExpanded.d.mts +1 -1
  160. package/dist/esm/api/types/TaskGroupExpanded.d.mts +2 -0
  161. package/dist/esm/api/types/index.d.mts +8 -7
  162. package/dist/esm/api/types/index.mjs +8 -7
  163. package/dist/esm/version.d.mts +1 -1
  164. package/dist/esm/version.mjs +1 -1
  165. package/package.json +1 -1
  166. package/reference.md +441 -287
  167. package/dist/cjs/api/resources/orgs/resources/directoryEntries/client/Client.d.ts +0 -111
  168. package/dist/cjs/api/resources/orgs/resources/directoryEntries/client/requests/index.d.ts +0 -3
  169. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.d.ts +0 -106
  170. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.ts +0 -14
  171. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.ts +0 -3
  172. package/dist/cjs/api/types/DirectoryEntrySortByEnum.d.ts +0 -4
  173. package/dist/cjs/api/types/OperationsTasksBulkUpdateDeadlinesRes1.d.ts +0 -7
  174. package/dist/esm/api/resources/orgs/resources/directoryEntries/client/Client.d.mts +0 -111
  175. package/dist/esm/api/resources/orgs/resources/directoryEntries/client/requests/index.d.mts +0 -3
  176. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.d.mts +0 -106
  177. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.mts +0 -14
  178. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.mts +0 -3
  179. package/dist/esm/api/types/DirectoryEntrySortByEnum.d.mts +0 -4
  180. package/dist/esm/api/types/OperationsTasksBulkUpdateDeadlinesRes1.d.mts +0 -7
  181. /package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTasksBulkUpdateDeadlinesReq1.js → OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1.js} +0 -0
  182. /package/dist/cjs/api/resources/{orgs/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.js → operations/resources/operationsTasks/client/requests/OperationsTasksSetDeadlineTimestampsReq1.js} +0 -0
  183. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.d.ts +0 -0
  184. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.js +0 -0
  185. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.js → accounts/client/requests/AccountClientCreate1.js} +0 -0
  186. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.js → accounts/client/requests/AccountClientUpdate1.js} +0 -0
  187. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientCreate1.js → accounts/client/requests/AccountsListV1Request.js} +0 -0
  188. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/requests/index.js +0 -0
  189. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/index.d.ts +0 -0
  190. /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/index.js +0 -0
  191. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.d.ts +0 -0
  192. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.js +0 -0
  193. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.js → contacts/client/requests/ContactClientCreate1.js} +0 -0
  194. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorListV1Request.js → contacts/client/requests/ContactClientUpdate1.js} +0 -0
  195. /package/dist/cjs/api/{types/DirectoryEntry1.js → resources/orgs/resources/contacts/client/requests/ContactsListV1Request.js} +0 -0
  196. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/client/requests/index.js +0 -0
  197. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/index.d.ts +0 -0
  198. /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/index.js +0 -0
  199. /package/dist/cjs/api/types/{DirectoryEntryListRes.js → Account1.js} +0 -0
  200. /package/dist/cjs/api/types/{DirectoryEntrySortByEnum.js → AccountListRes.js} +0 -0
  201. /package/dist/cjs/api/types/{OffChrtVendor1.js → AccountSortByEnum.js} +0 -0
  202. /package/dist/cjs/api/types/{OffChrtVendorListRes.js → Contact1.js} +0 -0
  203. /package/dist/cjs/api/types/{OperationsTaskDeadlineUpdate1.js → ContactListRes.js} +0 -0
  204. /package/dist/cjs/api/types/{OperationsTasksBulkUpdateDeadlinesRes1.js → ContactSortByEnum.js} +0 -0
  205. /package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTasksBulkUpdateDeadlinesReq1.mjs → OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1.mjs} +0 -0
  206. /package/dist/esm/api/resources/{orgs/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksSetDeadlineTimestampsReq1.mjs} +0 -0
  207. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.d.mts +0 -0
  208. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.mjs +0 -0
  209. /package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.mjs → accounts/client/requests/AccountClientCreate1.mjs} +0 -0
  210. /package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.mjs → accounts/client/requests/AccountClientUpdate1.mjs} +0 -0
  211. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientCreate1.mjs → accounts/client/requests/AccountsListV1Request.mjs} +0 -0
  212. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/requests/index.mjs +0 -0
  213. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/index.d.mts +0 -0
  214. /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/index.mjs +0 -0
  215. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.d.mts +0 -0
  216. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.mjs +0 -0
  217. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.mjs → contacts/client/requests/ContactClientCreate1.mjs} +0 -0
  218. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorListV1Request.mjs → contacts/client/requests/ContactClientUpdate1.mjs} +0 -0
  219. /package/dist/esm/api/{types/DirectoryEntry1.mjs → resources/orgs/resources/contacts/client/requests/ContactsListV1Request.mjs} +0 -0
  220. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/requests/index.mjs +0 -0
  221. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/index.d.mts +0 -0
  222. /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/index.mjs +0 -0
  223. /package/dist/esm/api/types/{DirectoryEntryListRes.mjs → Account1.mjs} +0 -0
  224. /package/dist/esm/api/types/{DirectoryEntrySortByEnum.mjs → AccountListRes.mjs} +0 -0
  225. /package/dist/esm/api/types/{OffChrtVendor1.mjs → AccountSortByEnum.mjs} +0 -0
  226. /package/dist/esm/api/types/{OffChrtVendorListRes.mjs → Contact1.mjs} +0 -0
  227. /package/dist/esm/api/types/{OperationsTaskDeadlineUpdate1.mjs → ContactListRes.mjs} +0 -0
  228. /package/dist/esm/api/types/{OperationsTasksBulkUpdateDeadlinesRes1.mjs → ContactSortByEnum.mjs} +0 -0
@@ -15,20 +15,20 @@ 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
- export class DirectoryEntries {
18
+ export class Contacts {
19
19
  constructor(_options = {}) {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Creates an organization-owned directory entry. | authz: min_org_role=operator | (DirectoryEntryClientCreate1) -> (PydanticObjectId)
23
+ * Creates an organization-created contact. | authz: min_org_role=operator | (ContactClientCreate1) -> (PydanticObjectId)
24
24
  *
25
- * @param {Chrt.orgs.DirectoryEntryClientCreate1} request
26
- * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
25
+ * @param {Chrt.orgs.ContactClientCreate1} request
26
+ * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
27
27
  *
28
28
  * @throws {@link Chrt.UnprocessableEntityError}
29
29
  *
30
30
  * @example
31
- * await client.orgs.directoryEntries.createV1({
31
+ * await client.orgs.contacts.createV1({
32
32
  * name: "name",
33
33
  * schema_version: 1
34
34
  * })
@@ -41,7 +41,7 @@ export class DirectoryEntries {
41
41
  var _a, _b, _c, _d;
42
42
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
43
43
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
44
- 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"),
44
+ 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/contacts/create/v1"),
45
45
  method: "POST",
46
46
  headers: _headers,
47
47
  contentType: "application/json",
@@ -75,7 +75,7 @@ export class DirectoryEntries {
75
75
  rawResponse: _response.rawResponse,
76
76
  });
77
77
  case "timeout":
78
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/directory_entries/create/v1.");
78
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/contacts/create/v1.");
79
79
  case "unknown":
80
80
  throw new errors.ChrtError({
81
81
  message: _response.error.errorMessage,
@@ -85,25 +85,25 @@ export class DirectoryEntries {
85
85
  });
86
86
  }
87
87
  /**
88
- * Deletes an organization-owned directory entry. | authz: min_org_role=operator | () -> (bool)
88
+ * Deletes an organization-created contact. | authz: min_org_role=operator | () -> (bool)
89
89
  *
90
- * @param {string} directoryEntryId
91
- * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
90
+ * @param {string} contactId
91
+ * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
92
92
  *
93
93
  * @throws {@link Chrt.UnprocessableEntityError}
94
94
  *
95
95
  * @example
96
- * await client.orgs.directoryEntries.deleteV1("directory_entry_id")
96
+ * await client.orgs.contacts.deleteV1("contact_id")
97
97
  */
98
- deleteV1(directoryEntryId, requestOptions) {
99
- return core.HttpResponsePromise.fromPromise(this.__deleteV1(directoryEntryId, requestOptions));
98
+ deleteV1(contactId, requestOptions) {
99
+ return core.HttpResponsePromise.fromPromise(this.__deleteV1(contactId, requestOptions));
100
100
  }
101
- __deleteV1(directoryEntryId, requestOptions) {
101
+ __deleteV1(contactId, requestOptions) {
102
102
  return __awaiter(this, void 0, void 0, function* () {
103
103
  var _a, _b, _c, _d;
104
104
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
105
105
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
106
- 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)}`),
106
+ 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/contacts/delete/v1/${encodeURIComponent(contactId)}`),
107
107
  method: "DELETE",
108
108
  headers: _headers,
109
109
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -134,7 +134,7 @@ export class DirectoryEntries {
134
134
  rawResponse: _response.rawResponse,
135
135
  });
136
136
  case "timeout":
137
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /orgs/directory_entries/delete/v1/{directory_entry_id}.");
137
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /orgs/contacts/delete/v1/{contact_id}.");
138
138
  case "unknown":
139
139
  throw new errors.ChrtError({
140
140
  message: _response.error.errorMessage,
@@ -144,18 +144,19 @@ export class DirectoryEntries {
144
144
  });
145
145
  }
146
146
  /**
147
- * Lists organization-owned directory entries with association filters and search. | authz: min_org_role=operator | () -> (DirectoryEntryListRes)
147
+ * Lists organization-created contacts with association filters and search. | authz: min_org_role=operator | () -> (ContactListRes)
148
148
  *
149
- * @param {Chrt.orgs.DirectoryEntriesListV1Request} request
150
- * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
149
+ * @param {Chrt.orgs.ContactsListV1Request} request
150
+ * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
151
151
  *
152
152
  * @throws {@link Chrt.UnprocessableEntityError}
153
153
  *
154
154
  * @example
155
- * await client.orgs.directoryEntries.listV1({
155
+ * await client.orgs.contacts.listV1({
156
156
  * search: "search",
157
- * filter_entry_org_id: "filter_entry_org_id",
158
- * filter_entry_off_chrt_org_data_id: "filter_entry_off_chrt_org_data_id",
157
+ * filter_org_id: "filter_org_id",
158
+ * filter_off_chrt_org_data_id: "filter_off_chrt_org_data_id",
159
+ * filter_account_id: "filter_account_id",
159
160
  * sort_by: "name",
160
161
  * sort_order: "asc",
161
162
  * page: 1,
@@ -168,16 +169,19 @@ export class DirectoryEntries {
168
169
  __listV1() {
169
170
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
170
171
  var _a, _b, _c, _d, _e, _f;
171
- 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;
172
+ const { search, filter_org_id: filterOrgId, filter_off_chrt_org_data_id: filterOffChrtOrgDataId, filter_account_id: filterAccountId, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
172
173
  const _queryParams = {};
173
174
  if (search !== undefined) {
174
175
  _queryParams["search"] = search;
175
176
  }
176
- if (filterEntryOrgId !== undefined) {
177
- _queryParams["filter_entry_org_id"] = filterEntryOrgId;
177
+ if (filterOrgId !== undefined) {
178
+ _queryParams["filter_org_id"] = filterOrgId;
178
179
  }
179
- if (filterEntryOffChrtOrgDataId !== undefined) {
180
- _queryParams["filter_entry_off_chrt_org_data_id"] = filterEntryOffChrtOrgDataId;
180
+ if (filterOffChrtOrgDataId !== undefined) {
181
+ _queryParams["filter_off_chrt_org_data_id"] = filterOffChrtOrgDataId;
182
+ }
183
+ if (filterAccountId !== undefined) {
184
+ _queryParams["filter_account_id"] = filterAccountId;
181
185
  }
182
186
  if (sortBy !== undefined) {
183
187
  _queryParams["sort_by"] = sortBy;
@@ -193,7 +197,7 @@ export class DirectoryEntries {
193
197
  }
194
198
  let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
195
199
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
196
- 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"),
200
+ 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/contacts/list/v1"),
197
201
  method: "GET",
198
202
  headers: _headers,
199
203
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -224,7 +228,7 @@ export class DirectoryEntries {
224
228
  rawResponse: _response.rawResponse,
225
229
  });
226
230
  case "timeout":
227
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/directory_entries/list/v1.");
231
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/contacts/list/v1.");
228
232
  case "unknown":
229
233
  throw new errors.ChrtError({
230
234
  message: _response.error.errorMessage,
@@ -234,26 +238,26 @@ export class DirectoryEntries {
234
238
  });
235
239
  }
236
240
  /**
237
- * Updates an organization-owned directory entry. | authz: min_org_role=operator | (DirectoryEntryClientUpdate1) -> (bool)
241
+ * Updates an organization-created contact. | authz: min_org_role=operator | (ContactClientUpdate1) -> (bool)
238
242
  *
239
- * @param {string} directoryEntryId
240
- * @param {Chrt.orgs.DirectoryEntryClientUpdate1} request
241
- * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
243
+ * @param {string} contactId
244
+ * @param {Chrt.orgs.ContactClientUpdate1} request
245
+ * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
242
246
  *
243
247
  * @throws {@link Chrt.UnprocessableEntityError}
244
248
  *
245
249
  * @example
246
- * await client.orgs.directoryEntries.updateV1("directory_entry_id")
250
+ * await client.orgs.contacts.updateV1("contact_id")
247
251
  */
248
- updateV1(directoryEntryId, request = {}, requestOptions) {
249
- return core.HttpResponsePromise.fromPromise(this.__updateV1(directoryEntryId, request, requestOptions));
252
+ updateV1(contactId, request = {}, requestOptions) {
253
+ return core.HttpResponsePromise.fromPromise(this.__updateV1(contactId, request, requestOptions));
250
254
  }
251
- __updateV1(directoryEntryId_1) {
252
- return __awaiter(this, arguments, void 0, function* (directoryEntryId, request = {}, requestOptions) {
255
+ __updateV1(contactId_1) {
256
+ return __awaiter(this, arguments, void 0, function* (contactId, request = {}, requestOptions) {
253
257
  var _a, _b, _c, _d;
254
258
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
255
259
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
256
- 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)}`),
260
+ 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/contacts/update/v1/${encodeURIComponent(contactId)}`),
257
261
  method: "PATCH",
258
262
  headers: _headers,
259
263
  contentType: "application/json",
@@ -287,7 +291,7 @@ export class DirectoryEntries {
287
291
  rawResponse: _response.rawResponse,
288
292
  });
289
293
  case "timeout":
290
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/directory_entries/update/v1/{directory_entry_id}.");
294
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/contacts/update/v1/{contact_id}.");
291
295
  case "unknown":
292
296
  throw new errors.ChrtError({
293
297
  message: _response.error.errorMessage,
@@ -297,25 +301,25 @@ export class DirectoryEntries {
297
301
  });
298
302
  }
299
303
  /**
300
- * Retrieves an organization-owned directory entry. | authz: min_org_role=operator | () -> (DirectoryEntry1)
304
+ * Retrieves an organization-created contact. | authz: min_org_role=operator | () -> (Contact1)
301
305
  *
302
- * @param {string} directoryEntryId
303
- * @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
306
+ * @param {string} contactId
307
+ * @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
304
308
  *
305
309
  * @throws {@link Chrt.UnprocessableEntityError}
306
310
  *
307
311
  * @example
308
- * await client.orgs.directoryEntries.getV1("directory_entry_id")
312
+ * await client.orgs.contacts.getV1("contact_id")
309
313
  */
310
- getV1(directoryEntryId, requestOptions) {
311
- return core.HttpResponsePromise.fromPromise(this.__getV1(directoryEntryId, requestOptions));
314
+ getV1(contactId, requestOptions) {
315
+ return core.HttpResponsePromise.fromPromise(this.__getV1(contactId, requestOptions));
312
316
  }
313
- __getV1(directoryEntryId, requestOptions) {
317
+ __getV1(contactId, requestOptions) {
314
318
  return __awaiter(this, void 0, void 0, function* () {
315
319
  var _a, _b, _c, _d;
316
320
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
317
321
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
318
- 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)}`),
322
+ 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/contacts/v1/${encodeURIComponent(contactId)}`),
319
323
  method: "GET",
320
324
  headers: _headers,
321
325
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -346,7 +350,7 @@ export class DirectoryEntries {
346
350
  rawResponse: _response.rawResponse,
347
351
  });
348
352
  case "timeout":
349
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/directory_entries/v1/{directory_entry_id}.");
353
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/contacts/v1/{contact_id}.");
350
354
  case "unknown":
351
355
  throw new errors.ChrtError({
352
356
  message: _response.error.errorMessage,
@@ -9,15 +9,16 @@ import * as Chrt from "../../../../../../index.mjs";
9
9
  * schema_version: 1
10
10
  * }
11
11
  */
12
- export interface DirectoryEntryClientCreate1 {
12
+ export interface ContactClientCreate1 {
13
+ account_id?: string | null;
13
14
  email_address?: string | null;
14
- entry_off_chrt_org_data_id?: string | null;
15
- /** Must be a string starting with `org_` */
16
- entry_org_id?: string | null;
17
15
  job_title?: string | null;
18
16
  location?: Chrt.LocationFeature | null;
19
17
  name: string;
20
18
  notes?: string | null;
19
+ off_chrt_org_data_id?: string | null;
20
+ /** Must be a string starting with `org_` */
21
+ org_id?: string | null;
21
22
  phone_number?: string | null;
22
23
  schema_version: number;
23
24
  }
@@ -6,7 +6,7 @@ import * as Chrt from "../../../../../../index.mjs";
6
6
  * @example
7
7
  * {}
8
8
  */
9
- export interface DirectoryEntryClientUpdate1 {
9
+ export interface ContactClientUpdate1 {
10
10
  email_address?: string | null;
11
11
  email_address__set_to_None?: boolean;
12
12
  job_title?: string | null;
@@ -6,23 +6,26 @@ import * as Chrt from "../../../../../../index.mjs";
6
6
  * @example
7
7
  * {
8
8
  * search: "search",
9
- * filter_entry_org_id: "filter_entry_org_id",
10
- * filter_entry_off_chrt_org_data_id: "filter_entry_off_chrt_org_data_id",
9
+ * filter_org_id: "filter_org_id",
10
+ * filter_off_chrt_org_data_id: "filter_off_chrt_org_data_id",
11
+ * filter_account_id: "filter_account_id",
11
12
  * sort_by: "name",
12
13
  * sort_order: "asc",
13
14
  * page: 1,
14
15
  * page_size: 1
15
16
  * }
16
17
  */
17
- export interface DirectoryEntriesListV1Request {
18
+ export interface ContactsListV1Request {
18
19
  /** Full-text search query */
19
20
  search?: string | null;
20
21
  /** Filter by associated on-CHRT organization */
21
- filter_entry_org_id?: string | null;
22
+ filter_org_id?: string | null;
22
23
  /** Filter by associated off-CHRT organization data */
23
- filter_entry_off_chrt_org_data_id?: string | null;
24
+ filter_off_chrt_org_data_id?: string | null;
25
+ /** Filter by associated account */
26
+ filter_account_id?: string | null;
24
27
  /** Field to sort by */
25
- sort_by?: Chrt.DirectoryEntrySortByEnum | null;
28
+ sort_by?: Chrt.ContactSortByEnum | null;
26
29
  /** Sort order */
27
30
  sort_order?: Chrt.SortOrderEnum | null;
28
31
  page?: number | null;
@@ -0,0 +1,3 @@
1
+ export { type ContactClientCreate1 } from "./ContactClientCreate1.mjs";
2
+ export { type ContactsListV1Request } from "./ContactsListV1Request.mjs";
3
+ export { type ContactClientUpdate1 } from "./ContactClientUpdate1.mjs";
@@ -1,14 +1,14 @@
1
1
  export * as connections from "./connections/index.mjs";
2
2
  export * from "./connections/types/index.mjs";
3
+ export * as accounts from "./accounts/index.mjs";
3
4
  export * as complianceDocuments from "./complianceDocuments/index.mjs";
4
- export * as directoryEntries from "./directoryEntries/index.mjs";
5
+ export * as contacts from "./contacts/index.mjs";
5
6
  export * as offChrtOrgData from "./offChrtOrgData/index.mjs";
6
- export * as offChrtVendor from "./offChrtVendor/index.mjs";
7
7
  export * as privateData from "./privateData/index.mjs";
8
8
  export * as publicData from "./publicData/index.mjs";
9
+ export * from "./accounts/client/requests/index.mjs";
9
10
  export * from "./complianceDocuments/client/requests/index.mjs";
10
11
  export * from "./connections/client/requests/index.mjs";
11
- export * from "./directoryEntries/client/requests/index.mjs";
12
+ export * from "./contacts/client/requests/index.mjs";
12
13
  export * from "./offChrtOrgData/client/requests/index.mjs";
13
- export * from "./offChrtVendor/client/requests/index.mjs";
14
14
  export * from "./publicData/client/requests/index.mjs";
@@ -1,14 +1,14 @@
1
1
  export * as connections from "./connections/index.mjs";
2
2
  export * from "./connections/types/index.mjs";
3
+ export * as accounts from "./accounts/index.mjs";
3
4
  export * as complianceDocuments from "./complianceDocuments/index.mjs";
4
- export * as directoryEntries from "./directoryEntries/index.mjs";
5
+ export * as contacts from "./contacts/index.mjs";
5
6
  export * as offChrtOrgData from "./offChrtOrgData/index.mjs";
6
- export * as offChrtVendor from "./offChrtVendor/index.mjs";
7
7
  export * as privateData from "./privateData/index.mjs";
8
8
  export * as publicData from "./publicData/index.mjs";
9
+ export * from "./accounts/client/requests/index.mjs";
9
10
  export * from "./complianceDocuments/client/requests/index.mjs";
10
11
  export * from "./connections/client/requests/index.mjs";
11
- export * from "./directoryEntries/client/requests/index.mjs";
12
+ export * from "./contacts/client/requests/index.mjs";
12
13
  export * from "./offChrtOrgData/client/requests/index.mjs";
13
- export * from "./offChrtVendor/client/requests/index.mjs";
14
14
  export * from "./publicData/client/requests/index.mjs";
@@ -31,7 +31,7 @@ export declare class OffChrtOrgData {
31
31
  protected readonly _options: OffChrtOrgData.Options;
32
32
  constructor(_options?: OffChrtOrgData.Options);
33
33
  /**
34
- * Atomically creates owner-scoped off-CHRT organization data and its shipper-coordinator or coordinator-executor connection. | authz: allowed_org_types=[provider] | (CreateOffChrtOrgReq) -> (CreateOffChrtOrgRes)
34
+ * Creates owner-scoped off-CHRT organization data and, for shippers or providers, its required connection. | authz: allowed_org_types=[provider] | (CreateOffChrtOrgReq) -> (CreateOffChrtOrgRes)
35
35
  *
36
36
  * @param {Chrt.orgs.CreateOffChrtOrgReq} request
37
37
  * @param {OffChrtOrgData.RequestOptions} requestOptions - Request-specific configuration.
@@ -20,7 +20,7 @@ export class OffChrtOrgData {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Atomically creates owner-scoped off-CHRT organization data and its shipper-coordinator or coordinator-executor connection. | authz: allowed_org_types=[provider] | (CreateOffChrtOrgReq) -> (CreateOffChrtOrgRes)
23
+ * Creates owner-scoped off-CHRT organization data and, for shippers or providers, its required connection. | authz: allowed_org_types=[provider] | (CreateOffChrtOrgReq) -> (CreateOffChrtOrgRes)
24
24
  *
25
25
  * @param {Chrt.orgs.CreateOffChrtOrgReq} request
26
26
  * @param {OffChrtOrgData.RequestOptions} requestOptions - Request-specific configuration.
@@ -80,7 +80,7 @@ export declare class OrderTemplates {
80
80
  * filter_department_id: "filter_department_id",
81
81
  * filter_coordinator_label: "filter_coordinator_label",
82
82
  * filter_driver_id: "filter_driver_id",
83
- * filter_directory_entry_id: "filter_directory_entry_id",
83
+ * filter_contact_id: "filter_contact_id",
84
84
  * filter_task_lists_to_apply_at_order_creation_task_list_id: "filter_task_lists_to_apply_at_order_creation_task_list_id",
85
85
  * filter_task_lists_to_apply_at_order_staging_task_list_id: "filter_task_lists_to_apply_at_order_staging_task_list_id",
86
86
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -161,7 +161,7 @@ export class OrderTemplates {
161
161
  * filter_department_id: "filter_department_id",
162
162
  * filter_coordinator_label: "filter_coordinator_label",
163
163
  * filter_driver_id: "filter_driver_id",
164
- * filter_directory_entry_id: "filter_directory_entry_id",
164
+ * filter_contact_id: "filter_contact_id",
165
165
  * filter_task_lists_to_apply_at_order_creation_task_list_id: "filter_task_lists_to_apply_at_order_creation_task_list_id",
166
166
  * filter_task_lists_to_apply_at_order_staging_task_list_id: "filter_task_lists_to_apply_at_order_staging_task_list_id",
167
167
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -178,7 +178,7 @@ export class OrderTemplates {
178
178
  __listV1() {
179
179
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
180
180
  var _a, _b, _c, _d, _e, _f, _g;
181
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_off_chrt_reference_id_str: filterOffChrtReferenceIdStr, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_department_id: filterDepartmentId, filter_coordinator_label: filterCoordinatorLabel, filter_driver_id: filterDriverId, filter_directory_entry_id: filterDirectoryEntryId, filter_task_lists_to_apply_at_order_creation_task_list_id: filterTaskListsToApplyAtOrderCreationTaskListId, filter_task_lists_to_apply_at_order_staging_task_list_id: filterTaskListsToApplyAtOrderStagingTaskListId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
181
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_off_chrt_reference_id_str: filterOffChrtReferenceIdStr, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_department_id: filterDepartmentId, filter_coordinator_label: filterCoordinatorLabel, filter_driver_id: filterDriverId, filter_contact_id: filterContactId, filter_task_lists_to_apply_at_order_creation_task_list_id: filterTaskListsToApplyAtOrderCreationTaskListId, filter_task_lists_to_apply_at_order_staging_task_list_id: filterTaskListsToApplyAtOrderStagingTaskListId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
182
182
  const _queryParams = {};
183
183
  if (sortBy !== undefined) {
184
184
  _queryParams["sort_by"] = sortBy;
@@ -222,8 +222,8 @@ export class OrderTemplates {
222
222
  if (filterDriverId !== undefined) {
223
223
  _queryParams["filter_driver_id"] = filterDriverId;
224
224
  }
225
- if (filterDirectoryEntryId !== undefined) {
226
- _queryParams["filter_directory_entry_id"] = filterDirectoryEntryId;
225
+ if (filterContactId !== undefined) {
226
+ _queryParams["filter_contact_id"] = filterContactId;
227
227
  }
228
228
  if (filterTaskListsToApplyAtOrderCreationTaskListId !== undefined) {
229
229
  _queryParams["filter_task_lists_to_apply_at_order_creation_task_list_id"] =
@@ -10,12 +10,13 @@ import * as Chrt from "../../../../../../index.mjs";
10
10
  * }
11
11
  */
12
12
  export interface OrderTemplateClientCreate1 {
13
+ contact_ids?: string[];
13
14
  coordinator_label?: string | null;
14
15
  /** Must be a string starting with `org_` */
15
16
  coordinator_org_id?: string | null;
17
+ coordinator_shipper_account_ids?: string[];
16
18
  department_id?: string | null;
17
19
  description?: string | null;
18
- directory_entry_ids?: string[];
19
20
  driver_ids?: string[];
20
21
  executor_org_ids?: string[];
21
22
  name: string;
@@ -7,16 +7,17 @@ import * as Chrt from "../../../../../../index.mjs";
7
7
  * {}
8
8
  */
9
9
  export interface OrderTemplateClientUpdate1 {
10
+ contact_ids?: string[];
10
11
  coordinator_label?: string | null;
11
12
  coordinator_label__set_to_None?: boolean;
12
13
  /** Must be a string starting with `org_` */
13
14
  coordinator_org_id?: string | null;
14
15
  coordinator_org_id__set_to_None?: boolean;
16
+ coordinator_shipper_account_ids?: string[];
15
17
  department_id?: string | null;
16
18
  department_id__set_to_None?: boolean;
17
19
  description?: string | null;
18
20
  description__set_to_None?: boolean;
19
- directory_entry_ids?: string[];
20
21
  driver_ids?: string[];
21
22
  executor_org_ids?: string[];
22
23
  name?: string | null;
@@ -19,7 +19,7 @@ import * as Chrt from "../../../../../../index.mjs";
19
19
  * filter_department_id: "filter_department_id",
20
20
  * filter_coordinator_label: "filter_coordinator_label",
21
21
  * filter_driver_id: "filter_driver_id",
22
- * filter_directory_entry_id: "filter_directory_entry_id",
22
+ * filter_contact_id: "filter_contact_id",
23
23
  * filter_task_lists_to_apply_at_order_creation_task_list_id: "filter_task_lists_to_apply_at_order_creation_task_list_id",
24
24
  * filter_task_lists_to_apply_at_order_staging_task_list_id: "filter_task_lists_to_apply_at_order_staging_task_list_id",
25
25
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -57,8 +57,8 @@ export interface OrderTemplatesListV1Request {
57
57
  filter_coordinator_label?: string | null;
58
58
  /** Filter by driver ID included in the template. */
59
59
  filter_driver_id?: string | null;
60
- /** Filter by directory entry ID included in the template. */
61
- filter_directory_entry_id?: string | null;
60
+ /** Filter by contact ID included in the template. */
61
+ filter_contact_id?: string | null;
62
62
  /** Filter by task list ID included in order-creation applications. */
63
63
  filter_task_lists_to_apply_at_order_creation_task_list_id?: string | null;
64
64
  /** Filter by task list ID included in staging applications. */
@@ -80,6 +80,34 @@ export declare class Orders {
80
80
  */
81
81
  cancelManyV1(request: Chrt.shipping.OrdersCancelManyReq, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<boolean>;
82
82
  private __cancelManyV1;
83
+ /**
84
+ * Adds a coordinator-owned account for the order's shipper. | authz_personas=[coordinator_org_operators] | () -> (bool)
85
+ *
86
+ * @param {string} orderId
87
+ * @param {string} coordinatorShipperAccountId
88
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
89
+ *
90
+ * @throws {@link Chrt.UnprocessableEntityError}
91
+ *
92
+ * @example
93
+ * await client.shipping.orders.addCoordinatorShipperAccountIdV1("order_id", "coordinator_shipper_account_id")
94
+ */
95
+ addCoordinatorShipperAccountIdV1(orderId: string, coordinatorShipperAccountId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<boolean>;
96
+ private __addCoordinatorShipperAccountIdV1;
97
+ /**
98
+ * Removes a coordinator-owned account for the order's shipper. | authz_personas=[coordinator_org_operators] | () -> (bool)
99
+ *
100
+ * @param {string} orderId
101
+ * @param {string} coordinatorShipperAccountId
102
+ * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
103
+ *
104
+ * @throws {@link Chrt.UnprocessableEntityError}
105
+ *
106
+ * @example
107
+ * await client.shipping.orders.removeCoordinatorShipperAccountIdV1("order_id", "coordinator_shipper_account_id")
108
+ */
109
+ removeCoordinatorShipperAccountIdV1(orderId: string, coordinatorShipperAccountId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<boolean>;
110
+ private __removeCoordinatorShipperAccountIdV1;
83
111
  /**
84
112
  * Validates a draft order and stages all related entities in a transaction. | authz_personas=[draft_creator_org_operator] | () -> (bool)
85
113
  *