@chrt-inc/typescript-sdk 1.875.0 → 1.876.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (498) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.ts +2 -2
  3. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +2 -2
  4. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.ts +1 -1
  5. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.d.ts +2 -2
  6. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.js +7 -7
  7. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.ts +2 -2
  8. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.d.ts +4 -4
  9. package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +2 -2
  10. package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +10 -8
  11. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +2 -2
  12. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +2 -2
  13. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +2 -2
  14. package/dist/cjs/api/resources/operations/client/Client.d.ts +0 -3
  15. package/dist/cjs/api/resources/operations/client/Client.js +8 -13
  16. package/dist/cjs/api/resources/operations/resources/index.d.ts +0 -2
  17. package/dist/cjs/api/resources/operations/resources/index.js +1 -3
  18. package/dist/cjs/api/resources/orgs/client/Client.d.ts +8 -16
  19. package/dist/cjs/api/resources/orgs/client/Client.js +10 -24
  20. package/dist/cjs/api/resources/orgs/client/requests/SetupOrgReq.d.ts +3 -1
  21. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +24 -8
  22. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +94 -17
  23. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.d.ts +6 -0
  24. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.d.ts +11 -0
  25. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +1 -0
  26. package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/Client.d.ts +19 -17
  27. package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/Client.js +30 -25
  28. package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.d.ts +6 -3
  29. package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.ts +5 -9
  30. package/dist/cjs/api/resources/orgs/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts +21 -0
  31. package/dist/cjs/api/resources/orgs/resources/index.d.ts +4 -9
  32. package/dist/cjs/api/resources/orgs/resources/index.js +5 -10
  33. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.d.ts +100 -0
  34. package/dist/cjs/api/resources/orgs/resources/{offChrtShipperOrg → offChrtOrgData}/client/Client.js +53 -97
  35. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.d.ts +18 -0
  36. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.d.ts +19 -0
  37. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.d.ts +26 -0
  38. package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/index.d.ts +3 -0
  39. package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.d.ts +27 -1
  40. package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.js +119 -1
  41. package/dist/cjs/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.ts +12 -1
  42. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +1 -1
  43. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +4 -4
  44. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +2 -2
  45. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +3 -3
  46. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +3 -3
  47. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +1 -1
  48. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +1 -1
  49. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -2
  50. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -3
  51. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.ts +1 -1
  52. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +3 -3
  53. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +12 -12
  54. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +2 -2
  55. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +2 -2
  56. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +2 -2
  57. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +1 -1
  58. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +1 -1
  59. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.ts +3 -3
  60. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.ts +1 -1
  61. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.ts +1 -1
  62. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +2 -2
  63. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +8 -8
  64. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +2 -2
  65. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +2 -2
  66. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +1 -1
  67. package/dist/cjs/api/resources/users/client/Client.d.ts +0 -3
  68. package/dist/cjs/api/resources/users/client/Client.js +4 -9
  69. package/dist/cjs/api/resources/users/resources/index.d.ts +0 -2
  70. package/dist/cjs/api/resources/users/resources/index.js +1 -3
  71. package/dist/cjs/api/types/BillingLedger1.d.ts +2 -2
  72. package/dist/cjs/api/types/BillingLedgerPeriod1.d.ts +2 -2
  73. package/dist/cjs/api/types/CreateOffChrtOrgRes.d.ts +7 -0
  74. package/dist/cjs/api/types/DeviceLimitedForList1.d.ts +1 -1
  75. package/dist/cjs/api/types/DirectoryEntry1.d.ts +6 -11
  76. package/dist/cjs/api/types/DirectoryEntrySortByEnum.d.ts +1 -6
  77. package/dist/cjs/api/types/DirectoryEntrySortByEnum.js +0 -6
  78. package/dist/cjs/api/types/LineItemGroup1.d.ts +2 -2
  79. package/dist/cjs/api/types/OffChrtOrgData1.d.ts +18 -0
  80. package/dist/cjs/api/types/OffChrtOrgDataClientCreate1.d.ts +13 -0
  81. package/dist/cjs/api/types/{OffChrtShipperOrgListRes.d.ts → OffChrtOrgDataListRes.d.ts} +2 -2
  82. package/dist/cjs/api/types/OffChrtOrgDataSortByEnum.d.ts +4 -0
  83. package/dist/cjs/api/types/Order1.d.ts +1 -1
  84. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -1
  85. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -1
  86. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +1 -1
  87. package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.d.ts +1 -1
  88. package/dist/cjs/api/types/OrderTaskGroupSharedDetails1.d.ts +1 -1
  89. package/dist/cjs/api/types/OrderTemplate1.d.ts +2 -2
  90. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +2 -2
  91. package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +2 -2
  92. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +3 -3
  93. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +2 -2
  94. package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +2 -2
  95. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +1 -1
  96. package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +1 -1
  97. package/dist/cjs/api/types/OrgPublicData1.d.ts +6 -1
  98. package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +3 -2
  99. package/dist/cjs/api/types/ProviderProviderConnectionListItem.d.ts +3 -6
  100. package/dist/cjs/api/types/RateSheetMapping1.d.ts +2 -2
  101. package/dist/cjs/api/types/Session1.d.ts +1 -1
  102. package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +3 -1
  103. package/dist/cjs/api/types/ShipperProviderConnectionForCoordinatorListItem.d.ts +9 -0
  104. package/dist/cjs/api/types/ShipperProviderConnectionForShipperListItem.d.ts +8 -0
  105. package/dist/cjs/api/types/{ProviderConnectionListRes.d.ts → ShipperProviderConnectionsForCoordinatorListRes.d.ts} +2 -2
  106. package/dist/cjs/api/types/{ProviderOnAndOffChrtExecutorListPage.d.ts → ShipperProviderConnectionsForShipperListRes.d.ts} +2 -2
  107. package/dist/cjs/api/types/Statement1.d.ts +2 -2
  108. package/dist/cjs/api/types/TaskGroup1.d.ts +2 -2
  109. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +1 -1
  110. package/dist/cjs/api/types/TaskGroupQuoteResp.d.ts +2 -2
  111. package/dist/cjs/api/types/index.d.ts +9 -17
  112. package/dist/cjs/api/types/index.js +9 -17
  113. package/dist/cjs/version.d.ts +1 -1
  114. package/dist/cjs/version.js +1 -1
  115. package/dist/esm/Client.mjs +2 -2
  116. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.mts +2 -2
  117. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +2 -2
  118. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.mts +1 -1
  119. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.d.mts +2 -2
  120. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.mjs +7 -7
  121. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.mts +2 -2
  122. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.d.mts +4 -4
  123. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +2 -2
  124. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +10 -8
  125. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +2 -2
  126. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +2 -2
  127. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +2 -2
  128. package/dist/esm/api/resources/operations/client/Client.d.mts +0 -3
  129. package/dist/esm/api/resources/operations/client/Client.mjs +0 -5
  130. package/dist/esm/api/resources/operations/resources/index.d.mts +0 -2
  131. package/dist/esm/api/resources/operations/resources/index.mjs +0 -2
  132. package/dist/esm/api/resources/orgs/client/Client.d.mts +8 -16
  133. package/dist/esm/api/resources/orgs/client/Client.mjs +8 -22
  134. package/dist/esm/api/resources/orgs/client/requests/SetupOrgReq.d.mts +3 -1
  135. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +24 -8
  136. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +94 -17
  137. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.d.mts +6 -0
  138. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.d.mts +11 -0
  139. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +1 -0
  140. package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/Client.d.mts +19 -17
  141. package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/Client.mjs +30 -25
  142. package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.d.mts +6 -3
  143. package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts +5 -9
  144. package/dist/esm/api/resources/orgs/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts +21 -0
  145. package/dist/esm/api/resources/orgs/resources/index.d.mts +4 -9
  146. package/dist/esm/api/resources/orgs/resources/index.mjs +4 -9
  147. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.d.mts +100 -0
  148. package/dist/esm/api/resources/orgs/resources/{offChrtShipperOrg → offChrtOrgData}/client/Client.mjs +51 -95
  149. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.d.mts +18 -0
  150. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.d.mts +19 -0
  151. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.d.mts +26 -0
  152. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/index.d.mts +3 -0
  153. package/dist/esm/api/resources/orgs/resources/publicData/client/Client.d.mts +27 -1
  154. package/dist/esm/api/resources/orgs/resources/publicData/client/Client.mjs +119 -1
  155. package/dist/esm/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.mts +12 -1
  156. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +1 -1
  157. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +4 -4
  158. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +2 -2
  159. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +3 -3
  160. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +3 -3
  161. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +1 -1
  162. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +1 -1
  163. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -2
  164. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -3
  165. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.mts +1 -1
  166. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +3 -3
  167. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +12 -12
  168. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +2 -2
  169. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +2 -2
  170. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +2 -2
  171. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +1 -1
  172. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +1 -1
  173. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.mts +3 -3
  174. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.mts +1 -1
  175. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.mts +1 -1
  176. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +2 -2
  177. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +8 -8
  178. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +2 -2
  179. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +2 -2
  180. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +1 -1
  181. package/dist/esm/api/resources/users/client/Client.d.mts +0 -3
  182. package/dist/esm/api/resources/users/client/Client.mjs +0 -5
  183. package/dist/esm/api/resources/users/resources/index.d.mts +0 -2
  184. package/dist/esm/api/resources/users/resources/index.mjs +0 -2
  185. package/dist/esm/api/types/BillingLedger1.d.mts +2 -2
  186. package/dist/esm/api/types/BillingLedgerPeriod1.d.mts +2 -2
  187. package/dist/esm/api/types/CreateOffChrtOrgRes.d.mts +7 -0
  188. package/dist/esm/api/types/DeviceLimitedForList1.d.mts +1 -1
  189. package/dist/esm/api/types/DirectoryEntry1.d.mts +6 -11
  190. package/dist/esm/api/types/DirectoryEntrySortByEnum.d.mts +1 -6
  191. package/dist/esm/api/types/DirectoryEntrySortByEnum.mjs +1 -5
  192. package/dist/esm/api/types/LineItemGroup1.d.mts +2 -2
  193. package/dist/esm/api/types/OffChrtOrgData1.d.mts +18 -0
  194. package/dist/esm/api/types/OffChrtOrgDataClientCreate1.d.mts +13 -0
  195. package/dist/esm/api/types/{OffChrtShipperOrgListRes.d.mts → OffChrtOrgDataListRes.d.mts} +2 -2
  196. package/dist/esm/api/types/OffChrtOrgDataSortByEnum.d.mts +4 -0
  197. package/dist/esm/api/types/Order1.d.mts +1 -1
  198. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -1
  199. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -1
  200. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +1 -1
  201. package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.d.mts +1 -1
  202. package/dist/esm/api/types/OrderTaskGroupSharedDetails1.d.mts +1 -1
  203. package/dist/esm/api/types/OrderTemplate1.d.mts +2 -2
  204. package/dist/esm/api/types/OrderTemplateCore1.d.mts +2 -2
  205. package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +2 -2
  206. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +3 -3
  207. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +2 -2
  208. package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +2 -2
  209. package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +1 -1
  210. package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +1 -1
  211. package/dist/esm/api/types/OrgPublicData1.d.mts +6 -1
  212. package/dist/esm/api/types/ProviderProviderConnection1.d.mts +3 -2
  213. package/dist/esm/api/types/ProviderProviderConnectionListItem.d.mts +3 -6
  214. package/dist/esm/api/types/RateSheetMapping1.d.mts +2 -2
  215. package/dist/esm/api/types/Session1.d.mts +1 -1
  216. package/dist/esm/api/types/ShipperProviderConnection1.d.mts +3 -1
  217. package/dist/esm/api/types/ShipperProviderConnectionForCoordinatorListItem.d.mts +9 -0
  218. package/dist/esm/api/types/ShipperProviderConnectionForShipperListItem.d.mts +8 -0
  219. package/dist/esm/api/types/{ProviderConnectionListRes.d.mts → ShipperProviderConnectionsForCoordinatorListRes.d.mts} +2 -2
  220. package/dist/esm/api/types/{OffChrtProviderOrgListRes.d.mts → ShipperProviderConnectionsForShipperListRes.d.mts} +2 -2
  221. package/dist/esm/api/types/Statement1.d.mts +2 -2
  222. package/dist/esm/api/types/TaskGroup1.d.mts +2 -2
  223. package/dist/esm/api/types/TaskGroupExpanded.d.mts +1 -1
  224. package/dist/esm/api/types/TaskGroupQuoteResp.d.mts +2 -2
  225. package/dist/esm/api/types/index.d.mts +9 -17
  226. package/dist/esm/api/types/index.mjs +9 -17
  227. package/dist/esm/version.d.mts +1 -1
  228. package/dist/esm/version.mjs +1 -1
  229. package/package.json +1 -1
  230. package/reference.md +2221 -3409
  231. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +0 -76
  232. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +0 -254
  233. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.ts +0 -17
  234. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.d.ts +0 -14
  235. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.ts +0 -2
  236. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.ts +0 -106
  237. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.js +0 -384
  238. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +0 -25
  239. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +0 -29
  240. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.ts +0 -14
  241. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.ts +0 -3
  242. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.ts +0 -107
  243. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/index.d.ts +0 -2
  244. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/index.js +0 -17
  245. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +0 -26
  246. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +0 -29
  247. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.d.ts +0 -17
  248. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.d.ts +0 -3
  249. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.js +0 -2
  250. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/index.d.ts +0 -1
  251. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/index.js +0 -17
  252. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.ts +0 -26
  253. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.js +0 -22
  254. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/index.d.ts +0 -1
  255. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/index.js +0 -2
  256. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/index.d.ts +0 -2
  257. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/index.js +0 -18
  258. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.ts +0 -4
  259. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.js +0 -43
  260. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.ts +0 -83
  261. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.js +0 -300
  262. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.ts +0 -2
  263. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.js +0 -17
  264. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.ts +0 -24
  265. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
  266. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.ts +0 -2
  267. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.js +0 -2
  268. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.ts +0 -1
  269. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.js +0 -17
  270. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.ts +0 -73
  271. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.js +0 -246
  272. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.d.ts +0 -2
  273. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.js +0 -17
  274. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.ts +0 -24
  275. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
  276. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.d.ts +0 -2
  277. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.js +0 -2
  278. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.d.ts +0 -1
  279. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.js +0 -17
  280. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.d.ts +0 -101
  281. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.js +0 -366
  282. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/index.d.ts +0 -2
  283. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/index.js +0 -17
  284. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.ts +0 -19
  285. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.ts +0 -12
  286. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.js +0 -5
  287. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.d.ts +0 -2
  288. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.js +0 -2
  289. package/dist/cjs/api/resources/orgs/resources/orgProfiles/index.d.ts +0 -1
  290. package/dist/cjs/api/resources/orgs/resources/orgProfiles/index.js +0 -17
  291. package/dist/cjs/api/resources/orgs/resources/providers/client/Client.d.ts +0 -54
  292. package/dist/cjs/api/resources/orgs/resources/providers/client/Client.js +0 -157
  293. package/dist/cjs/api/resources/orgs/resources/providers/client/index.d.ts +0 -2
  294. package/dist/cjs/api/resources/orgs/resources/providers/client/index.js +0 -17
  295. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.ts +0 -26
  296. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.js +0 -5
  297. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/index.d.ts +0 -1
  298. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/index.js +0 -2
  299. package/dist/cjs/api/resources/orgs/resources/providers/index.d.ts +0 -1
  300. package/dist/cjs/api/resources/orgs/resources/providers/index.js +0 -17
  301. package/dist/cjs/api/resources/users/resources/directoryEntries/client/index.d.ts +0 -2
  302. package/dist/cjs/api/resources/users/resources/directoryEntries/client/index.js +0 -17
  303. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts +0 -32
  304. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/index.js +0 -2
  305. package/dist/cjs/api/resources/users/resources/directoryEntries/index.d.ts +0 -1
  306. package/dist/cjs/api/resources/users/resources/directoryEntries/index.js +0 -17
  307. package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +0 -16
  308. package/dist/cjs/api/types/DepartmentRoutingRule1.js +0 -5
  309. package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +0 -23
  310. package/dist/cjs/api/types/OffChrtProviderOrg1.js +0 -5
  311. package/dist/cjs/api/types/OffChrtProviderOrgListRes.d.ts +0 -8
  312. package/dist/cjs/api/types/OffChrtProviderOrgListRes.js +0 -5
  313. package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +0 -24
  314. package/dist/cjs/api/types/OffChrtShipperOrg1.js +0 -5
  315. package/dist/cjs/api/types/OffChrtShipperOrgListRes.js +0 -5
  316. package/dist/cjs/api/types/ProviderConnectionListRes.js +0 -5
  317. package/dist/cjs/api/types/ProviderConnectionRes.d.ts +0 -8
  318. package/dist/cjs/api/types/ProviderConnectionRes.js +0 -5
  319. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.d.ts +0 -20
  320. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.js +0 -5
  321. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListPage.js +0 -5
  322. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.d.ts +0 -8
  323. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.js +0 -5
  324. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.ts +0 -8
  325. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.js +0 -10
  326. package/dist/cjs/api/types/ProviderOrgInfoForConnections1.d.ts +0 -22
  327. package/dist/cjs/api/types/ProviderOrgInfoForConnections1.js +0 -5
  328. package/dist/cjs/api/types/ProviderOrgProfile1.d.ts +0 -13
  329. package/dist/cjs/api/types/ProviderOrgProfile1.js +0 -5
  330. package/dist/cjs/api/types/ShipperConnectionListRes.d.ts +0 -8
  331. package/dist/cjs/api/types/ShipperConnectionListRes.js +0 -5
  332. package/dist/cjs/api/types/ShipperConnectionRes.d.ts +0 -8
  333. package/dist/cjs/api/types/ShipperConnectionRes.js +0 -5
  334. package/dist/cjs/api/types/ShipperOrgInfoForConnections1.d.ts +0 -22
  335. package/dist/cjs/api/types/ShipperOrgInfoForConnections1.js +0 -5
  336. package/dist/cjs/api/types/ShippingTurnClientCreate1.d.ts +0 -17
  337. package/dist/cjs/api/types/ShippingTurnClientCreate1.js +0 -5
  338. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +0 -76
  339. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +0 -217
  340. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.mts +0 -17
  341. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.d.mts +0 -14
  342. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.mts +0 -2
  343. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.mts +0 -106
  344. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.mjs +0 -347
  345. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +0 -25
  346. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +0 -29
  347. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.mts +0 -14
  348. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.mts +0 -3
  349. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.mts +0 -107
  350. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/index.d.mts +0 -2
  351. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/index.mjs +0 -1
  352. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +0 -26
  353. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +0 -29
  354. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.d.mts +0 -17
  355. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.d.mts +0 -3
  356. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.mjs +0 -1
  357. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/index.d.mts +0 -1
  358. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/index.mjs +0 -1
  359. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.mts +0 -26
  360. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.mjs +0 -18
  361. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/index.d.mts +0 -1
  362. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/index.mjs +0 -1
  363. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/index.d.mts +0 -2
  364. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/index.mjs +0 -2
  365. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.mts +0 -4
  366. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.mjs +0 -4
  367. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.mts +0 -83
  368. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.mjs +0 -263
  369. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.mts +0 -2
  370. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.mjs +0 -1
  371. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.mts +0 -24
  372. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
  373. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.mts +0 -2
  374. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.mjs +0 -1
  375. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.mts +0 -1
  376. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.mjs +0 -1
  377. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.mts +0 -73
  378. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.mjs +0 -209
  379. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.d.mts +0 -2
  380. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.mjs +0 -1
  381. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.mts +0 -24
  382. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
  383. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.d.mts +0 -2
  384. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.mjs +0 -1
  385. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.d.mts +0 -1
  386. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.mjs +0 -1
  387. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.d.mts +0 -101
  388. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.mjs +0 -329
  389. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/index.d.mts +0 -2
  390. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/index.mjs +0 -1
  391. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.mts +0 -19
  392. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.mts +0 -12
  393. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.mjs +0 -4
  394. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.d.mts +0 -2
  395. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.mjs +0 -1
  396. package/dist/esm/api/resources/orgs/resources/orgProfiles/index.d.mts +0 -1
  397. package/dist/esm/api/resources/orgs/resources/orgProfiles/index.mjs +0 -1
  398. package/dist/esm/api/resources/orgs/resources/providers/client/Client.d.mts +0 -54
  399. package/dist/esm/api/resources/orgs/resources/providers/client/Client.mjs +0 -120
  400. package/dist/esm/api/resources/orgs/resources/providers/client/index.d.mts +0 -2
  401. package/dist/esm/api/resources/orgs/resources/providers/client/index.mjs +0 -1
  402. package/dist/esm/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.mts +0 -26
  403. package/dist/esm/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.mjs +0 -4
  404. package/dist/esm/api/resources/orgs/resources/providers/client/requests/index.d.mts +0 -1
  405. package/dist/esm/api/resources/orgs/resources/providers/client/requests/index.mjs +0 -1
  406. package/dist/esm/api/resources/orgs/resources/providers/index.d.mts +0 -1
  407. package/dist/esm/api/resources/orgs/resources/providers/index.mjs +0 -1
  408. package/dist/esm/api/resources/users/resources/directoryEntries/client/index.d.mts +0 -2
  409. package/dist/esm/api/resources/users/resources/directoryEntries/client/index.mjs +0 -1
  410. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts +0 -32
  411. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/index.mjs +0 -1
  412. package/dist/esm/api/resources/users/resources/directoryEntries/index.d.mts +0 -1
  413. package/dist/esm/api/resources/users/resources/directoryEntries/index.mjs +0 -1
  414. package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +0 -16
  415. package/dist/esm/api/types/DepartmentRoutingRule1.mjs +0 -4
  416. package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +0 -23
  417. package/dist/esm/api/types/OffChrtProviderOrg1.mjs +0 -4
  418. package/dist/esm/api/types/OffChrtProviderOrgListRes.mjs +0 -4
  419. package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +0 -24
  420. package/dist/esm/api/types/OffChrtShipperOrg1.mjs +0 -4
  421. package/dist/esm/api/types/OffChrtShipperOrgListRes.mjs +0 -4
  422. package/dist/esm/api/types/ProviderConnectionListRes.mjs +0 -4
  423. package/dist/esm/api/types/ProviderConnectionRes.d.mts +0 -8
  424. package/dist/esm/api/types/ProviderConnectionRes.mjs +0 -4
  425. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.d.mts +0 -20
  426. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.mjs +0 -4
  427. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.d.mts +0 -8
  428. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.mjs +0 -4
  429. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.d.mts +0 -8
  430. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.mjs +0 -4
  431. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.mts +0 -8
  432. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.mjs +0 -7
  433. package/dist/esm/api/types/ProviderOrgInfoForConnections1.d.mts +0 -22
  434. package/dist/esm/api/types/ProviderOrgInfoForConnections1.mjs +0 -4
  435. package/dist/esm/api/types/ProviderOrgProfile1.d.mts +0 -13
  436. package/dist/esm/api/types/ProviderOrgProfile1.mjs +0 -4
  437. package/dist/esm/api/types/ShipperConnectionListRes.d.mts +0 -8
  438. package/dist/esm/api/types/ShipperConnectionListRes.mjs +0 -4
  439. package/dist/esm/api/types/ShipperConnectionRes.d.mts +0 -8
  440. package/dist/esm/api/types/ShipperConnectionRes.mjs +0 -4
  441. package/dist/esm/api/types/ShipperOrgInfoForConnections1.d.mts +0 -22
  442. package/dist/esm/api/types/ShipperOrgInfoForConnections1.mjs +0 -4
  443. package/dist/esm/api/types/ShippingTurnClientCreate1.d.mts +0 -17
  444. package/dist/esm/api/types/ShippingTurnClientCreate1.mjs +0 -4
  445. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.js → orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.js} +0 -0
  446. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.d.ts +0 -0
  447. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.js +0 -0
  448. /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.js +0 -0
  449. /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.js +0 -0
  450. /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.js +0 -0
  451. /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/index.d.ts +0 -0
  452. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/requests/index.js +0 -0
  453. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.d.ts +0 -0
  454. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.js +0 -0
  455. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.d.ts +0 -0
  456. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.js +0 -0
  457. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.js → orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.js} +0 -0
  458. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.js → offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.js} +0 -0
  459. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.js → offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.js} +0 -0
  460. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/requests/index.js +0 -0
  461. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.d.ts +0 -0
  462. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.js +0 -0
  463. /package/dist/cjs/api/{resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.js → types/CreateOffChrtOrgRes.js} +0 -0
  464. /package/dist/cjs/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.js → types/OffChrtOrgData1.js} +0 -0
  465. /package/dist/cjs/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.js → types/OffChrtOrgDataClientCreate1.js} +0 -0
  466. /package/dist/cjs/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.js → types/OffChrtOrgDataListRes.js} +0 -0
  467. /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.js → types/OffChrtOrgDataSortByEnum.js} +0 -0
  468. /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.js → types/ShipperProviderConnectionForCoordinatorListItem.js} +0 -0
  469. /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.js → types/ShipperProviderConnectionForShipperListItem.js} +0 -0
  470. /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.js → types/ShipperProviderConnectionsForCoordinatorListRes.js} +0 -0
  471. /package/dist/cjs/api/{resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.js → types/ShipperProviderConnectionsForShipperListRes.js} +0 -0
  472. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.mjs → orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.mjs} +0 -0
  473. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.d.mts +0 -0
  474. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.mjs +0 -0
  475. /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.mjs +0 -0
  476. /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.mjs +0 -0
  477. /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.mjs +0 -0
  478. /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/index.d.mts +0 -0
  479. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/requests/index.mjs +0 -0
  480. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.d.mts +0 -0
  481. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.mjs +0 -0
  482. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.d.mts +0 -0
  483. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.mjs +0 -0
  484. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.mjs → orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.mjs} +0 -0
  485. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.mjs → offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.mjs} +0 -0
  486. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.mjs → offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.mjs} +0 -0
  487. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/requests/index.mjs +0 -0
  488. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.d.mts +0 -0
  489. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.mjs +0 -0
  490. /package/dist/esm/api/{resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.mjs → types/CreateOffChrtOrgRes.mjs} +0 -0
  491. /package/dist/esm/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.mjs → types/OffChrtOrgData1.mjs} +0 -0
  492. /package/dist/esm/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.mjs → types/OffChrtOrgDataClientCreate1.mjs} +0 -0
  493. /package/dist/esm/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.mjs → types/OffChrtOrgDataListRes.mjs} +0 -0
  494. /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.mjs → types/OffChrtOrgDataSortByEnum.mjs} +0 -0
  495. /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.mjs → types/ShipperProviderConnectionForCoordinatorListItem.mjs} +0 -0
  496. /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.mjs → types/ShipperProviderConnectionForShipperListItem.mjs} +0 -0
  497. /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.mjs → types/ShipperProviderConnectionsForCoordinatorListRes.mjs} +0 -0
  498. /package/dist/esm/api/{resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.mjs → types/ShipperProviderConnectionsForShipperListRes.mjs} +0 -0
@@ -1,329 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
- return new (P || (P = Promise))(function (resolve, reject) {
7
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
- step((generator = generator.apply(thisArg, _arguments || [])).next());
11
- });
12
- };
13
- import * as environments from "../../../../../../environments.mjs";
14
- import * as core from "../../../../../../core/index.mjs";
15
- import * as Chrt from "../../../../../index.mjs";
16
- import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
17
- import * as errors from "../../../../../../errors/index.mjs";
18
- export class OrgProfiles {
19
- constructor(_options = {}) {
20
- this._options = _options;
21
- }
22
- /**
23
- * Returns the organization avatar image URL from WorkOS or a placeholder if not found. | () -> (str)
24
- *
25
- * @param {string} handle
26
- * @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
27
- *
28
- * @throws {@link Chrt.UnprocessableEntityError}
29
- *
30
- * @example
31
- * await client.orgs.orgProfiles.getAvatarV1("handle")
32
- */
33
- getAvatarV1(handle, requestOptions) {
34
- return core.HttpResponsePromise.fromPromise(this.__getAvatarV1(handle, requestOptions));
35
- }
36
- __getAvatarV1(handle, requestOptions) {
37
- return __awaiter(this, void 0, void 0, function* () {
38
- var _a, _b, _c, _d;
39
- 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);
40
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
41
- 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/org_profiles/avatar/v1/${encodeURIComponent(handle)}`),
42
- method: "GET",
43
- headers: _headers,
44
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
45
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
46
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
47
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
48
- });
49
- if (_response.ok) {
50
- return { data: _response.body, rawResponse: _response.rawResponse };
51
- }
52
- if (_response.error.reason === "status-code") {
53
- switch (_response.error.statusCode) {
54
- case 422:
55
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
56
- default:
57
- throw new errors.ChrtError({
58
- statusCode: _response.error.statusCode,
59
- body: _response.error.body,
60
- rawResponse: _response.rawResponse,
61
- });
62
- }
63
- }
64
- switch (_response.error.reason) {
65
- case "non-json":
66
- throw new errors.ChrtError({
67
- statusCode: _response.error.statusCode,
68
- body: _response.error.rawBody,
69
- rawResponse: _response.rawResponse,
70
- });
71
- case "timeout":
72
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_profiles/avatar/v1/{handle}.");
73
- case "unknown":
74
- throw new errors.ChrtError({
75
- message: _response.error.errorMessage,
76
- rawResponse: _response.rawResponse,
77
- });
78
- }
79
- });
80
- }
81
- /**
82
- * Creates a new provider organization profile. Fails if a profile already exists for the organization. | (ProviderOrgProfileClientCreate1) -> (PydanticObjectId)
83
- *
84
- * @param {Chrt.orgs.ProviderOrgProfileClientCreate1} request
85
- * @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
86
- *
87
- * @throws {@link Chrt.UnprocessableEntityError}
88
- *
89
- * @example
90
- * await client.orgs.orgProfiles.createProviderV1({
91
- * description: "description",
92
- * email_address_primary: "email_address_primary",
93
- * phone_number_primary: "phone_number_primary",
94
- * schema_version: 1
95
- * })
96
- */
97
- createProviderV1(request, requestOptions) {
98
- return core.HttpResponsePromise.fromPromise(this.__createProviderV1(request, requestOptions));
99
- }
100
- __createProviderV1(request, requestOptions) {
101
- return __awaiter(this, void 0, void 0, function* () {
102
- var _a, _b, _c, _d;
103
- 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);
104
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
105
- 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/org_profiles/provider/create/v1"),
106
- method: "POST",
107
- headers: _headers,
108
- contentType: "application/json",
109
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
110
- requestType: "json",
111
- body: request,
112
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
113
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
114
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
115
- });
116
- if (_response.ok) {
117
- return { data: _response.body, rawResponse: _response.rawResponse };
118
- }
119
- if (_response.error.reason === "status-code") {
120
- switch (_response.error.statusCode) {
121
- case 422:
122
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
123
- default:
124
- throw new errors.ChrtError({
125
- statusCode: _response.error.statusCode,
126
- body: _response.error.body,
127
- rawResponse: _response.rawResponse,
128
- });
129
- }
130
- }
131
- switch (_response.error.reason) {
132
- case "non-json":
133
- throw new errors.ChrtError({
134
- statusCode: _response.error.statusCode,
135
- body: _response.error.rawBody,
136
- rawResponse: _response.rawResponse,
137
- });
138
- case "timeout":
139
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/org_profiles/provider/create/v1.");
140
- case "unknown":
141
- throw new errors.ChrtError({
142
- message: _response.error.errorMessage,
143
- rawResponse: _response.rawResponse,
144
- });
145
- }
146
- });
147
- }
148
- /**
149
- * Updates an existing provider organization profile. | (ProviderOrgProfileClientUpdate1) -> (bool)
150
- *
151
- * @param {Chrt.orgs.ProviderOrgProfileClientUpdate1} request
152
- * @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
153
- *
154
- * @throws {@link Chrt.UnprocessableEntityError}
155
- *
156
- * @example
157
- * await client.orgs.orgProfiles.updateProviderV1()
158
- */
159
- updateProviderV1(request = {}, requestOptions) {
160
- return core.HttpResponsePromise.fromPromise(this.__updateProviderV1(request, requestOptions));
161
- }
162
- __updateProviderV1() {
163
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
164
- var _a, _b, _c, _d;
165
- 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);
166
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
167
- 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/org_profiles/provider/update/v1"),
168
- method: "PATCH",
169
- headers: _headers,
170
- contentType: "application/json",
171
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
172
- requestType: "json",
173
- body: request,
174
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
175
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
176
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
177
- });
178
- if (_response.ok) {
179
- return { data: _response.body, rawResponse: _response.rawResponse };
180
- }
181
- if (_response.error.reason === "status-code") {
182
- switch (_response.error.statusCode) {
183
- case 422:
184
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
185
- default:
186
- throw new errors.ChrtError({
187
- statusCode: _response.error.statusCode,
188
- body: _response.error.body,
189
- rawResponse: _response.rawResponse,
190
- });
191
- }
192
- }
193
- switch (_response.error.reason) {
194
- case "non-json":
195
- throw new errors.ChrtError({
196
- statusCode: _response.error.statusCode,
197
- body: _response.error.rawBody,
198
- rawResponse: _response.rawResponse,
199
- });
200
- case "timeout":
201
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/org_profiles/provider/update/v1.");
202
- case "unknown":
203
- throw new errors.ChrtError({
204
- message: _response.error.errorMessage,
205
- rawResponse: _response.rawResponse,
206
- });
207
- }
208
- });
209
- }
210
- /**
211
- * Retrieves the provider organization profile for the caller's organization. | () -> (ProviderOrgProfile1)
212
- *
213
- * @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
214
- *
215
- * @example
216
- * await client.orgs.orgProfiles.getV1()
217
- */
218
- getV1(requestOptions) {
219
- return core.HttpResponsePromise.fromPromise(this.__getV1(requestOptions));
220
- }
221
- __getV1(requestOptions) {
222
- return __awaiter(this, void 0, void 0, function* () {
223
- var _a, _b, _c, _d;
224
- 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);
225
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
226
- 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/org_profiles/v1"),
227
- method: "GET",
228
- headers: _headers,
229
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
230
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
231
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
232
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
233
- });
234
- if (_response.ok) {
235
- return { data: _response.body, rawResponse: _response.rawResponse };
236
- }
237
- if (_response.error.reason === "status-code") {
238
- throw new errors.ChrtError({
239
- statusCode: _response.error.statusCode,
240
- body: _response.error.body,
241
- rawResponse: _response.rawResponse,
242
- });
243
- }
244
- switch (_response.error.reason) {
245
- case "non-json":
246
- throw new errors.ChrtError({
247
- statusCode: _response.error.statusCode,
248
- body: _response.error.rawBody,
249
- rawResponse: _response.rawResponse,
250
- });
251
- case "timeout":
252
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_profiles/v1.");
253
- case "unknown":
254
- throw new errors.ChrtError({
255
- message: _response.error.errorMessage,
256
- rawResponse: _response.rawResponse,
257
- });
258
- }
259
- });
260
- }
261
- /**
262
- * Retrieves a provider organization profile by handle for public profile viewing. | () -> (ProviderOrgProfile1)
263
- *
264
- * @param {string} handle
265
- * @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
266
- *
267
- * @throws {@link Chrt.UnprocessableEntityError}
268
- *
269
- * @example
270
- * await client.orgs.orgProfiles.getByHandleV1("handle")
271
- */
272
- getByHandleV1(handle, requestOptions) {
273
- return core.HttpResponsePromise.fromPromise(this.__getByHandleV1(handle, requestOptions));
274
- }
275
- __getByHandleV1(handle, requestOptions) {
276
- return __awaiter(this, void 0, void 0, function* () {
277
- var _a, _b, _c, _d;
278
- 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);
279
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
280
- 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/org_profiles/v1/${encodeURIComponent(handle)}`),
281
- method: "GET",
282
- headers: _headers,
283
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
284
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
285
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
286
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
287
- });
288
- if (_response.ok) {
289
- return { data: _response.body, rawResponse: _response.rawResponse };
290
- }
291
- if (_response.error.reason === "status-code") {
292
- switch (_response.error.statusCode) {
293
- case 422:
294
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
295
- default:
296
- throw new errors.ChrtError({
297
- statusCode: _response.error.statusCode,
298
- body: _response.error.body,
299
- rawResponse: _response.rawResponse,
300
- });
301
- }
302
- }
303
- switch (_response.error.reason) {
304
- case "non-json":
305
- throw new errors.ChrtError({
306
- statusCode: _response.error.statusCode,
307
- body: _response.error.rawBody,
308
- rawResponse: _response.rawResponse,
309
- });
310
- case "timeout":
311
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_profiles/v1/{handle}.");
312
- case "unknown":
313
- throw new errors.ChrtError({
314
- message: _response.error.errorMessage,
315
- rawResponse: _response.rawResponse,
316
- });
317
- }
318
- });
319
- }
320
- _getAuthorizationHeader() {
321
- return __awaiter(this, void 0, void 0, function* () {
322
- const bearer = yield core.Supplier.get(this._options.token);
323
- if (bearer != null) {
324
- return `Bearer ${bearer}`;
325
- }
326
- return undefined;
327
- });
328
- }
329
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- export * from "./requests/index.mjs";
@@ -1 +0,0 @@
1
- export * from "./requests/index.mjs";
@@ -1,19 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * description: "description",
8
- * email_address_primary: "email_address_primary",
9
- * phone_number_primary: "phone_number_primary",
10
- * schema_version: 1
11
- * }
12
- */
13
- export interface ProviderOrgProfileClientCreate1 {
14
- description: string;
15
- email_address_primary: string;
16
- /** E.164 formatted phone number (e.g. +16505551234). Assumes US country code if none provided. */
17
- phone_number_primary: string;
18
- schema_version: number;
19
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {}
7
- */
8
- export interface ProviderOrgProfileClientUpdate1 {
9
- description?: string | null;
10
- email_address_primary?: string | null;
11
- phone_number_primary?: string | null;
12
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,2 +0,0 @@
1
- export { type ProviderOrgProfileClientCreate1 } from "./ProviderOrgProfileClientCreate1.mjs";
2
- export { type ProviderOrgProfileClientUpdate1 } from "./ProviderOrgProfileClientUpdate1.mjs";
@@ -1 +0,0 @@
1
- export * from "./client/index.mjs";
@@ -1 +0,0 @@
1
- export * from "./client/index.mjs";
@@ -1,54 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../../../environments.mjs";
5
- import * as core from "../../../../../../core/index.mjs";
6
- import * as Chrt from "../../../../../index.mjs";
7
- export declare namespace Providers {
8
- interface Options {
9
- environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
- /** Specify a custom URL to connect the client to. */
11
- baseUrl?: core.Supplier<string>;
12
- token?: core.Supplier<core.BearerToken | undefined>;
13
- /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
- fetcher?: core.FetchFunction;
16
- }
17
- interface RequestOptions {
18
- /** The maximum time to wait for a response in seconds. */
19
- timeoutInSeconds?: number;
20
- /** The number of times to retry the request. Defaults to 2. */
21
- maxRetries?: number;
22
- /** A hook to abort the request. */
23
- abortSignal?: AbortSignal;
24
- /** Additional query string parameters to include in the request. */
25
- queryParams?: Record<string, unknown>;
26
- /** Additional headers to include in the request. */
27
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
- }
29
- }
30
- export declare class Providers {
31
- protected readonly _options: Providers.Options;
32
- constructor(_options?: Providers.Options);
33
- /**
34
- * Lists on-CHRT executor connections and off-CHRT executor records. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ProviderOnAndOffChrtExecutorListRes)
35
- *
36
- * @param {Chrt.orgs.ProvidersListOnAndOffChrtExecutorsV1Request} request
37
- * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
38
- *
39
- * @throws {@link Chrt.UnprocessableEntityError}
40
- *
41
- * @example
42
- * await client.orgs.providers.listOnAndOffChrtExecutorsV1({
43
- * search: "search",
44
- * filter_auto_assign_enabled: true,
45
- * page: 1,
46
- * page_size: 1,
47
- * latitude: 1.1,
48
- * longitude: 1.1
49
- * })
50
- */
51
- listOnAndOffChrtExecutorsV1(request?: Chrt.orgs.ProvidersListOnAndOffChrtExecutorsV1Request, requestOptions?: Providers.RequestOptions): core.HttpResponsePromise<Chrt.ProviderOnAndOffChrtExecutorListRes>;
52
- private __listOnAndOffChrtExecutorsV1;
53
- protected _getAuthorizationHeader(): Promise<string | undefined>;
54
- }
@@ -1,120 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
- return new (P || (P = Promise))(function (resolve, reject) {
7
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
- step((generator = generator.apply(thisArg, _arguments || [])).next());
11
- });
12
- };
13
- import * as environments from "../../../../../../environments.mjs";
14
- import * as core from "../../../../../../core/index.mjs";
15
- import * as Chrt from "../../../../../index.mjs";
16
- import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
17
- import * as errors from "../../../../../../errors/index.mjs";
18
- export class Providers {
19
- constructor(_options = {}) {
20
- this._options = _options;
21
- }
22
- /**
23
- * Lists on-CHRT executor connections and off-CHRT executor records. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ProviderOnAndOffChrtExecutorListRes)
24
- *
25
- * @param {Chrt.orgs.ProvidersListOnAndOffChrtExecutorsV1Request} request
26
- * @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
27
- *
28
- * @throws {@link Chrt.UnprocessableEntityError}
29
- *
30
- * @example
31
- * await client.orgs.providers.listOnAndOffChrtExecutorsV1({
32
- * search: "search",
33
- * filter_auto_assign_enabled: true,
34
- * page: 1,
35
- * page_size: 1,
36
- * latitude: 1.1,
37
- * longitude: 1.1
38
- * })
39
- */
40
- listOnAndOffChrtExecutorsV1(request = {}, requestOptions) {
41
- return core.HttpResponsePromise.fromPromise(this.__listOnAndOffChrtExecutorsV1(request, requestOptions));
42
- }
43
- __listOnAndOffChrtExecutorsV1() {
44
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
45
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
46
- const { search, filter_auto_assign_enabled: filterAutoAssignEnabled, page, page_size: pageSize, latitude, longitude, } = request;
47
- const _queryParams = {};
48
- if (search !== undefined) {
49
- _queryParams["search"] = search;
50
- }
51
- if (filterAutoAssignEnabled !== undefined) {
52
- _queryParams["filter_auto_assign_enabled"] = (_a = filterAutoAssignEnabled === null || filterAutoAssignEnabled === void 0 ? void 0 : filterAutoAssignEnabled.toString()) !== null && _a !== void 0 ? _a : null;
53
- }
54
- if (page !== undefined) {
55
- _queryParams["page"] = (_b = page === null || page === void 0 ? void 0 : page.toString()) !== null && _b !== void 0 ? _b : null;
56
- }
57
- if (pageSize !== undefined) {
58
- _queryParams["page_size"] = (_c = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _c !== void 0 ? _c : null;
59
- }
60
- if (latitude !== undefined) {
61
- _queryParams["latitude"] = (_d = latitude === null || latitude === void 0 ? void 0 : latitude.toString()) !== null && _d !== void 0 ? _d : null;
62
- }
63
- if (longitude !== undefined) {
64
- _queryParams["longitude"] = (_e = longitude === null || longitude === void 0 ? void 0 : longitude.toString()) !== null && _e !== void 0 ? _e : null;
65
- }
66
- let _headers = mergeHeaders((_f = this._options) === null || _f === void 0 ? void 0 : _f.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
67
- const _response = yield ((_g = this._options.fetcher) !== null && _g !== void 0 ? _g : core.fetcher)({
68
- url: core.url.join((_j = (_h = (yield core.Supplier.get(this._options.baseUrl))) !== null && _h !== void 0 ? _h : (yield core.Supplier.get(this._options.environment))) !== null && _j !== void 0 ? _j : environments.ChrtEnvironment.Local, "orgs/providers/on_and_off_chrt_executors/list/v1"),
69
- method: "GET",
70
- headers: _headers,
71
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
72
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
73
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
74
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
75
- });
76
- if (_response.ok) {
77
- return {
78
- data: _response.body,
79
- rawResponse: _response.rawResponse,
80
- };
81
- }
82
- if (_response.error.reason === "status-code") {
83
- switch (_response.error.statusCode) {
84
- case 422:
85
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
86
- default:
87
- throw new errors.ChrtError({
88
- statusCode: _response.error.statusCode,
89
- body: _response.error.body,
90
- rawResponse: _response.rawResponse,
91
- });
92
- }
93
- }
94
- switch (_response.error.reason) {
95
- case "non-json":
96
- throw new errors.ChrtError({
97
- statusCode: _response.error.statusCode,
98
- body: _response.error.rawBody,
99
- rawResponse: _response.rawResponse,
100
- });
101
- case "timeout":
102
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/providers/on_and_off_chrt_executors/list/v1.");
103
- case "unknown":
104
- throw new errors.ChrtError({
105
- message: _response.error.errorMessage,
106
- rawResponse: _response.rawResponse,
107
- });
108
- }
109
- });
110
- }
111
- _getAuthorizationHeader() {
112
- return __awaiter(this, void 0, void 0, function* () {
113
- const bearer = yield core.Supplier.get(this._options.token);
114
- if (bearer != null) {
115
- return `Bearer ${bearer}`;
116
- }
117
- return undefined;
118
- });
119
- }
120
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- export * from "./requests/index.mjs";
@@ -1 +0,0 @@
1
- export * from "./requests/index.mjs";
@@ -1,26 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * @example
6
- * {
7
- * search: "search",
8
- * filter_auto_assign_enabled: true,
9
- * page: 1,
10
- * page_size: 1,
11
- * latitude: 1.1,
12
- * longitude: 1.1
13
- * }
14
- */
15
- export interface ProvidersListOnAndOffChrtExecutorsV1Request {
16
- /** Search company names and on-CHRT handles */
17
- search?: string | null;
18
- /** Filter on-CHRT executor providers by auto-assign status */
19
- filter_auto_assign_enabled?: boolean | null;
20
- page?: number | null;
21
- page_size?: number | null;
22
- /** Latitude for proximity sorting */
23
- latitude?: number | null;
24
- /** Longitude for proximity sorting */
25
- longitude?: number | null;
26
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1 +0,0 @@
1
- export { type ProvidersListOnAndOffChrtExecutorsV1Request } from "./ProvidersListOnAndOffChrtExecutorsV1Request.mjs";
@@ -1 +0,0 @@
1
- export * from "./client/index.mjs";
@@ -1 +0,0 @@
1
- export * from "./client/index.mjs";
@@ -1,2 +0,0 @@
1
- export {};
2
- export * from "./requests/index.mjs";
@@ -1 +0,0 @@
1
- export * from "./requests/index.mjs";