@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
@@ -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
  }
@@ -15,6 +15,8 @@ export interface TaskGroupExpanded {
15
15
  executor_org_handle?: string | null;
16
16
  /** Must be a string starting with `org_` */
17
17
  executor_org_id?: string | null;
18
+ off_chrt_executor_org_company_name?: string | null;
19
+ off_chrt_executor_org_data_id?: string | null;
18
20
  off_chrt_shipper_org_company_name?: string | null;
19
21
  off_chrt_shipper_org_data_id?: string | null;
20
22
  shipper_org_company_name?: string | null;
@@ -1,4 +1,7 @@
1
1
  export * from "./AiImageDescription.js";
2
+ export * from "./Account1.js";
3
+ export * from "./AccountListRes.js";
4
+ export * from "./AccountSortByEnum.js";
2
5
  export * from "./AlertCallback.js";
3
6
  export * from "./AlertEvent.js";
4
7
  export * from "./AlertMessage.js";
@@ -121,6 +124,9 @@ export * from "./ConnectionSearchPreferenceEnum.js";
121
124
  export * from "./ConnectionTypeaheadFieldEnum.js";
122
125
  export * from "./ConnectionTypeaheadResult.js";
123
126
  export * from "./ConnectionTypeaheadValue.js";
127
+ export * from "./Contact1.js";
128
+ export * from "./ContactListRes.js";
129
+ export * from "./ContactSortByEnum.js";
124
130
  export * from "./CoordinatorExecutorConnection1.js";
125
131
  export * from "./CoordinatorExecutorConnectionForCoordinatorGeoSearchListItem.js";
126
132
  export * from "./CoordinatorExecutorConnectionForCoordinatorListItem.js";
@@ -146,9 +152,6 @@ export * from "./DeviceLimitedForList1.js";
146
152
  export * from "./DeviceListRes.js";
147
153
  export * from "./DevicePausedTimeWindow1.js";
148
154
  export * from "./DeviceSortByEnum.js";
149
- export * from "./DirectoryEntry1.js";
150
- export * from "./DirectoryEntryListRes.js";
151
- export * from "./DirectoryEntrySortByEnum.js";
152
155
  export * from "./Driver1.js";
153
156
  export * from "./DriverAnalyticsDay.js";
154
157
  export * from "./DriverAnalyticsTaskGroup.js";
@@ -236,8 +239,6 @@ export * from "./OffChrtOrgData1.js";
236
239
  export * from "./OffChrtOrgDataClientCreate1.js";
237
240
  export * from "./OffChrtOrgDataListRes.js";
238
241
  export * from "./OffChrtOrgDataSortByEnum.js";
239
- export * from "./OffChrtVendor1.js";
240
- export * from "./OffChrtVendorListRes.js";
241
242
  export * from "./OnboardCourierRateSheet1.js";
242
243
  export * from "./OnboardCourierRateSheetListRes.js";
243
244
  export * from "./OnboardCourierTaskActionEnum1.js";
@@ -247,7 +248,7 @@ export * from "./OperationsOrderInternalMessagesS3ObjectAddedWebhookPayload.js";
247
248
  export * from "./OperationsOrderOperatorAssignedWebhookPayload.js";
248
249
  export * from "./OperationsTask1.js";
249
250
  export * from "./OperationsTaskComment1.js";
250
- export * from "./OperationsTaskDeadlineUpdate1.js";
251
+ export * from "./OperationsTaskDeadlineTimestampUpdate1.js";
251
252
  export * from "./OperationsTaskExpandedListItem.js";
252
253
  export * from "./OperationsTaskExpandedListRes.js";
253
254
  export * from "./OperationsTaskList1.js";
@@ -260,7 +261,7 @@ export * from "./OperationsTaskListSortByEnum.js";
260
261
  export * from "./OperationsTaskSortByEnum.js";
261
262
  export * from "./OperationsTaskStatusEnum.js";
262
263
  export * from "./OperationsTaskTypeEnum.js";
263
- export * from "./OperationsTasksBulkUpdateDeadlinesRes1.js";
264
+ export * from "./OperationsTasksDeadlineTimestampsUpdateRes1.js";
264
265
  export * from "./Order1.js";
265
266
  export * from "./OrderAndTaskGroupExpandedReq.js";
266
267
  export * from "./OrderBuilderReq.js";
@@ -15,6 +15,9 @@ 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);
18
21
  __exportStar(require("./AlertCallback.js"), exports);
19
22
  __exportStar(require("./AlertEvent.js"), exports);
20
23
  __exportStar(require("./AlertMessage.js"), exports);
@@ -137,6 +140,9 @@ __exportStar(require("./ConnectionSearchPreferenceEnum.js"), exports);
137
140
  __exportStar(require("./ConnectionTypeaheadFieldEnum.js"), exports);
138
141
  __exportStar(require("./ConnectionTypeaheadResult.js"), exports);
139
142
  __exportStar(require("./ConnectionTypeaheadValue.js"), exports);
143
+ __exportStar(require("./Contact1.js"), exports);
144
+ __exportStar(require("./ContactListRes.js"), exports);
145
+ __exportStar(require("./ContactSortByEnum.js"), exports);
140
146
  __exportStar(require("./CoordinatorExecutorConnection1.js"), exports);
141
147
  __exportStar(require("./CoordinatorExecutorConnectionForCoordinatorGeoSearchListItem.js"), exports);
142
148
  __exportStar(require("./CoordinatorExecutorConnectionForCoordinatorListItem.js"), exports);
@@ -162,9 +168,6 @@ __exportStar(require("./DeviceLimitedForList1.js"), exports);
162
168
  __exportStar(require("./DeviceListRes.js"), exports);
163
169
  __exportStar(require("./DevicePausedTimeWindow1.js"), exports);
164
170
  __exportStar(require("./DeviceSortByEnum.js"), exports);
165
- __exportStar(require("./DirectoryEntry1.js"), exports);
166
- __exportStar(require("./DirectoryEntryListRes.js"), exports);
167
- __exportStar(require("./DirectoryEntrySortByEnum.js"), exports);
168
171
  __exportStar(require("./Driver1.js"), exports);
169
172
  __exportStar(require("./DriverAnalyticsDay.js"), exports);
170
173
  __exportStar(require("./DriverAnalyticsTaskGroup.js"), exports);
@@ -252,8 +255,6 @@ __exportStar(require("./OffChrtOrgData1.js"), exports);
252
255
  __exportStar(require("./OffChrtOrgDataClientCreate1.js"), exports);
253
256
  __exportStar(require("./OffChrtOrgDataListRes.js"), exports);
254
257
  __exportStar(require("./OffChrtOrgDataSortByEnum.js"), exports);
255
- __exportStar(require("./OffChrtVendor1.js"), exports);
256
- __exportStar(require("./OffChrtVendorListRes.js"), exports);
257
258
  __exportStar(require("./OnboardCourierRateSheet1.js"), exports);
258
259
  __exportStar(require("./OnboardCourierRateSheetListRes.js"), exports);
259
260
  __exportStar(require("./OnboardCourierTaskActionEnum1.js"), exports);
@@ -263,7 +264,7 @@ __exportStar(require("./OperationsOrderInternalMessagesS3ObjectAddedWebhookPaylo
263
264
  __exportStar(require("./OperationsOrderOperatorAssignedWebhookPayload.js"), exports);
264
265
  __exportStar(require("./OperationsTask1.js"), exports);
265
266
  __exportStar(require("./OperationsTaskComment1.js"), exports);
266
- __exportStar(require("./OperationsTaskDeadlineUpdate1.js"), exports);
267
+ __exportStar(require("./OperationsTaskDeadlineTimestampUpdate1.js"), exports);
267
268
  __exportStar(require("./OperationsTaskExpandedListItem.js"), exports);
268
269
  __exportStar(require("./OperationsTaskExpandedListRes.js"), exports);
269
270
  __exportStar(require("./OperationsTaskList1.js"), exports);
@@ -276,7 +277,7 @@ __exportStar(require("./OperationsTaskListSortByEnum.js"), exports);
276
277
  __exportStar(require("./OperationsTaskSortByEnum.js"), exports);
277
278
  __exportStar(require("./OperationsTaskStatusEnum.js"), exports);
278
279
  __exportStar(require("./OperationsTaskTypeEnum.js"), exports);
279
- __exportStar(require("./OperationsTasksBulkUpdateDeadlinesRes1.js"), exports);
280
+ __exportStar(require("./OperationsTasksDeadlineTimestampsUpdateRes1.js"), exports);
280
281
  __exportStar(require("./Order1.js"), exports);
281
282
  __exportStar(require("./OrderAndTaskGroupExpandedReq.js"), exports);
282
283
  __exportStar(require("./OrderBuilderReq.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.880.0";
1
+ export declare const SDK_VERSION = "1.885.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.880.0";
4
+ exports.SDK_VERSION = "1.885.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.880.0",
25
- "User-Agent": "@chrt-inc/typescript-sdk/1.880.0",
24
+ "X-Fern-SDK-Version": "1.885.0",
25
+ "User-Agent": "@chrt-inc/typescript-sdk/1.885.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
  */
@@ -47,23 +47,21 @@ export declare class OperationsTasks {
47
47
  addCommentV1(taskId: string, request: Chrt.operations.OperationsTaskAddCommentReq1, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<string>;
48
48
  private __addCommentV1;
49
49
  /**
50
- * Sets deadline_timestamp on multiple OperationsTasks in one call, each scoped to the caller's organization. Task ids that don't exist or belong to another org are silently skipped; the response reports how many were updated. | authz: min_org_role=operator | (OperationsTasksBulkUpdateDeadlinesReq1) -> (OperationsTasksBulkUpdateDeadlinesRes1)
50
+ * Adds the same ISO 8601 duration to every selected OperationsTask's deadline_timestamp. Missing or cross-org task ids are skipped and reported through updated_count. | authz: min_org_role=operator | (OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1) -> (OperationsTasksDeadlineTimestampsUpdateRes1)
51
51
  *
52
- * @param {Chrt.operations.OperationsTasksBulkUpdateDeadlinesReq1} request
52
+ * @param {Chrt.operations.OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1} request
53
53
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
54
54
  *
55
55
  * @throws {@link Chrt.UnprocessableEntityError}
56
56
  *
57
57
  * @example
58
- * await client.operations.operationsTasks.bulkUpdateDeadlinesV1({
59
- * operations_task_deadline_updates: [{
60
- * deadline_timestamp: "2024-01-15T09:30:00Z",
61
- * task_id: "task_id"
62
- * }]
58
+ * await client.operations.operationsTasks.applyTimeDeltaToDeadlineTimestampsV1({
59
+ * operations_task_ids: ["operations_task_ids"],
60
+ * time_delta: "time_delta"
63
61
  * })
64
62
  */
65
- bulkUpdateDeadlinesV1(request: Chrt.operations.OperationsTasksBulkUpdateDeadlinesReq1, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTasksBulkUpdateDeadlinesRes1>;
66
- private __bulkUpdateDeadlinesV1;
63
+ applyTimeDeltaToDeadlineTimestampsV1(request: Chrt.operations.OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTasksDeadlineTimestampsUpdateRes1>;
64
+ private __applyTimeDeltaToDeadlineTimestampsV1;
67
65
  /**
68
66
  * Deletes a comment from an OperationsTask's comment thread. 404 if the comment isn't found. | authz: min_org_role=operator | () -> (bool)
69
67
  *
@@ -128,6 +126,24 @@ export declare class OperationsTasks {
128
126
  */
129
127
  listV1(request?: Chrt.operations.OperationsTasksListV1Request, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskListRes>;
130
128
  private __listV1;
129
+ /**
130
+ * Sets each selected OperationsTask's deadline_timestamp to its requested timestamp. Missing or cross-org task ids are skipped and reported through updated_count. | authz: min_org_role=operator | (OperationsTasksSetDeadlineTimestampsReq1) -> (OperationsTasksDeadlineTimestampsUpdateRes1)
131
+ *
132
+ * @param {Chrt.operations.OperationsTasksSetDeadlineTimestampsReq1} request
133
+ * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
134
+ *
135
+ * @throws {@link Chrt.UnprocessableEntityError}
136
+ *
137
+ * @example
138
+ * await client.operations.operationsTasks.setDeadlineTimestampsV1({
139
+ * updates: [{
140
+ * deadline_timestamp: "2024-01-15T09:30:00Z",
141
+ * operations_task_id: "operations_task_id"
142
+ * }]
143
+ * })
144
+ */
145
+ setDeadlineTimestampsV1(request: Chrt.operations.OperationsTasksSetDeadlineTimestampsReq1, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTasksDeadlineTimestampsUpdateRes1>;
146
+ private __setDeadlineTimestampsV1;
131
147
  /**
132
148
  * Sets an OperationsTask's status (not_started / in_progress / completed / skipped / cancelled). Setting COMPLETED stamps completed_at/by; any other status clears them. | authz: min_org_role=operator | (OperationsTaskStatusReq) -> (bool)
133
149
  *
@@ -85,30 +85,28 @@ export class OperationsTasks {
85
85
  });
86
86
  }
87
87
  /**
88
- * Sets deadline_timestamp on multiple OperationsTasks in one call, each scoped to the caller's organization. Task ids that don't exist or belong to another org are silently skipped; the response reports how many were updated. | authz: min_org_role=operator | (OperationsTasksBulkUpdateDeadlinesReq1) -> (OperationsTasksBulkUpdateDeadlinesRes1)
88
+ * Adds the same ISO 8601 duration to every selected OperationsTask's deadline_timestamp. Missing or cross-org task ids are skipped and reported through updated_count. | authz: min_org_role=operator | (OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1) -> (OperationsTasksDeadlineTimestampsUpdateRes1)
89
89
  *
90
- * @param {Chrt.operations.OperationsTasksBulkUpdateDeadlinesReq1} request
90
+ * @param {Chrt.operations.OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1} request
91
91
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
92
92
  *
93
93
  * @throws {@link Chrt.UnprocessableEntityError}
94
94
  *
95
95
  * @example
96
- * await client.operations.operationsTasks.bulkUpdateDeadlinesV1({
97
- * operations_task_deadline_updates: [{
98
- * deadline_timestamp: "2024-01-15T09:30:00Z",
99
- * task_id: "task_id"
100
- * }]
96
+ * await client.operations.operationsTasks.applyTimeDeltaToDeadlineTimestampsV1({
97
+ * operations_task_ids: ["operations_task_ids"],
98
+ * time_delta: "time_delta"
101
99
  * })
102
100
  */
103
- bulkUpdateDeadlinesV1(request, requestOptions) {
104
- return core.HttpResponsePromise.fromPromise(this.__bulkUpdateDeadlinesV1(request, requestOptions));
101
+ applyTimeDeltaToDeadlineTimestampsV1(request, requestOptions) {
102
+ return core.HttpResponsePromise.fromPromise(this.__applyTimeDeltaToDeadlineTimestampsV1(request, requestOptions));
105
103
  }
106
- __bulkUpdateDeadlinesV1(request, requestOptions) {
104
+ __applyTimeDeltaToDeadlineTimestampsV1(request, requestOptions) {
107
105
  return __awaiter(this, void 0, void 0, function* () {
108
106
  var _a, _b, _c, _d;
109
107
  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);
110
108
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
111
- 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, "operations/operations_tasks/bulk_update_deadlines/v1"),
109
+ 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, "operations/operations_tasks/apply_time_delta_to_deadline_timestamps/v1"),
112
110
  method: "PATCH",
113
111
  headers: _headers,
114
112
  contentType: "application/json",
@@ -145,7 +143,7 @@ export class OperationsTasks {
145
143
  rawResponse: _response.rawResponse,
146
144
  });
147
145
  case "timeout":
148
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /operations/operations_tasks/bulk_update_deadlines/v1.");
146
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /operations/operations_tasks/apply_time_delta_to_deadline_timestamps/v1.");
149
147
  case "unknown":
150
148
  throw new errors.ChrtError({
151
149
  message: _response.error.errorMessage,
@@ -474,6 +472,76 @@ export class OperationsTasks {
474
472
  }
475
473
  });
476
474
  }
475
+ /**
476
+ * Sets each selected OperationsTask's deadline_timestamp to its requested timestamp. Missing or cross-org task ids are skipped and reported through updated_count. | authz: min_org_role=operator | (OperationsTasksSetDeadlineTimestampsReq1) -> (OperationsTasksDeadlineTimestampsUpdateRes1)
477
+ *
478
+ * @param {Chrt.operations.OperationsTasksSetDeadlineTimestampsReq1} request
479
+ * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
480
+ *
481
+ * @throws {@link Chrt.UnprocessableEntityError}
482
+ *
483
+ * @example
484
+ * await client.operations.operationsTasks.setDeadlineTimestampsV1({
485
+ * updates: [{
486
+ * deadline_timestamp: "2024-01-15T09:30:00Z",
487
+ * operations_task_id: "operations_task_id"
488
+ * }]
489
+ * })
490
+ */
491
+ setDeadlineTimestampsV1(request, requestOptions) {
492
+ return core.HttpResponsePromise.fromPromise(this.__setDeadlineTimestampsV1(request, requestOptions));
493
+ }
494
+ __setDeadlineTimestampsV1(request, requestOptions) {
495
+ return __awaiter(this, void 0, void 0, function* () {
496
+ var _a, _b, _c, _d;
497
+ 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);
498
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
499
+ 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, "operations/operations_tasks/set_deadline_timestamps/v1"),
500
+ method: "PATCH",
501
+ headers: _headers,
502
+ contentType: "application/json",
503
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
504
+ requestType: "json",
505
+ body: request,
506
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
507
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
508
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
509
+ });
510
+ if (_response.ok) {
511
+ return {
512
+ data: _response.body,
513
+ rawResponse: _response.rawResponse,
514
+ };
515
+ }
516
+ if (_response.error.reason === "status-code") {
517
+ switch (_response.error.statusCode) {
518
+ case 422:
519
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
520
+ default:
521
+ throw new errors.ChrtError({
522
+ statusCode: _response.error.statusCode,
523
+ body: _response.error.body,
524
+ rawResponse: _response.rawResponse,
525
+ });
526
+ }
527
+ }
528
+ switch (_response.error.reason) {
529
+ case "non-json":
530
+ throw new errors.ChrtError({
531
+ statusCode: _response.error.statusCode,
532
+ body: _response.error.rawBody,
533
+ rawResponse: _response.rawResponse,
534
+ });
535
+ case "timeout":
536
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /operations/operations_tasks/set_deadline_timestamps/v1.");
537
+ case "unknown":
538
+ throw new errors.ChrtError({
539
+ message: _response.error.errorMessage,
540
+ rawResponse: _response.rawResponse,
541
+ });
542
+ }
543
+ });
544
+ }
477
545
  /**
478
546
  * Sets an OperationsTask's status (not_started / in_progress / completed / skipped / cancelled). Setting COMPLETED stamps completed_at/by; any other status clears them. | authz: min_org_role=operator | (OperationsTaskStatusReq) -> (bool)
479
547
  *
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * operations_task_ids: ["operations_task_ids"],
8
+ * time_delta: "time_delta"
9
+ * }
10
+ */
11
+ export interface OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1 {
12
+ operations_task_ids: string[];
13
+ time_delta: string;
14
+ }
@@ -5,12 +5,12 @@ import * as Chrt from "../../../../../../index.mjs";
5
5
  /**
6
6
  * @example
7
7
  * {
8
- * operations_task_deadline_updates: [{
8
+ * updates: [{
9
9
  * deadline_timestamp: "2024-01-15T09:30:00Z",
10
- * task_id: "task_id"
10
+ * operations_task_id: "operations_task_id"
11
11
  * }]
12
12
  * }
13
13
  */
14
- export interface OperationsTasksBulkUpdateDeadlinesReq1 {
15
- operations_task_deadline_updates: Chrt.OperationsTaskDeadlineUpdate1[];
14
+ export interface OperationsTasksSetDeadlineTimestampsReq1 {
15
+ updates: Chrt.OperationsTaskDeadlineTimestampUpdate1[];
16
16
  }
@@ -1,7 +1,8 @@
1
1
  export { type OperationsTaskAddCommentReq1 } from "./OperationsTaskAddCommentReq1.mjs";
2
- export { type OperationsTasksBulkUpdateDeadlinesReq1 } from "./OperationsTasksBulkUpdateDeadlinesReq1.mjs";
2
+ export { type OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1 } from "./OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1.mjs";
3
3
  export { type OperationsTasksExpandedListV1Request } from "./OperationsTasksExpandedListV1Request.mjs";
4
4
  export { type OperationsTasksListV1Request } from "./OperationsTasksListV1Request.mjs";
5
+ export { type OperationsTasksSetDeadlineTimestampsReq1 } from "./OperationsTasksSetDeadlineTimestampsReq1.mjs";
5
6
  export { type OperationsTaskStatusReq } from "./OperationsTaskStatusReq.mjs";
6
7
  export { type OperationsTaskClientCreate1 } from "./OperationsTaskClientCreate1.mjs";
7
8
  export { type OperationsTaskClientUpdate1 } from "./OperationsTaskClientUpdate1.mjs";
@@ -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
  /**