@chrt-inc/typescript-sdk 1.869.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 (506) 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/Client.d.ts +2 -2
  50. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.js +2 -2
  51. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -2
  52. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -3
  53. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.ts +1 -1
  54. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/types/OrderBuilderStreamEvent.d.ts +1 -0
  55. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +3 -3
  56. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +12 -12
  57. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +2 -2
  58. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +2 -2
  59. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +2 -2
  60. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +1 -1
  61. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +1 -1
  62. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.ts +3 -3
  63. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.ts +1 -1
  64. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.ts +1 -1
  65. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +2 -2
  66. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +8 -8
  67. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +2 -2
  68. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +2 -2
  69. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +1 -1
  70. package/dist/cjs/api/resources/users/client/Client.d.ts +0 -3
  71. package/dist/cjs/api/resources/users/client/Client.js +4 -9
  72. package/dist/cjs/api/resources/users/resources/index.d.ts +0 -2
  73. package/dist/cjs/api/resources/users/resources/index.js +1 -3
  74. package/dist/cjs/api/types/BillingLedger1.d.ts +2 -2
  75. package/dist/cjs/api/types/BillingLedgerPeriod1.d.ts +2 -2
  76. package/dist/cjs/api/types/CreateOffChrtOrgRes.d.ts +7 -0
  77. package/dist/cjs/api/types/DeviceLimitedForList1.d.ts +1 -1
  78. package/dist/cjs/api/types/DirectoryEntry1.d.ts +6 -11
  79. package/dist/cjs/api/types/DirectoryEntrySortByEnum.d.ts +1 -6
  80. package/dist/cjs/api/types/DirectoryEntrySortByEnum.js +0 -6
  81. package/dist/cjs/api/types/LineItemGroup1.d.ts +2 -2
  82. package/dist/cjs/api/types/OffChrtOrgData1.d.ts +18 -0
  83. package/dist/cjs/api/types/OffChrtOrgDataClientCreate1.d.ts +13 -0
  84. package/dist/cjs/api/types/{OffChrtShipperOrgListRes.d.ts → OffChrtOrgDataListRes.d.ts} +2 -2
  85. package/dist/cjs/api/types/OffChrtOrgDataSortByEnum.d.ts +4 -0
  86. package/dist/cjs/api/types/Order1.d.ts +1 -1
  87. package/dist/cjs/api/types/OrderBuilderReq.d.ts +3 -0
  88. package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -1
  89. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -1
  90. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +1 -1
  91. package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.d.ts +1 -1
  92. package/dist/cjs/api/types/OrderTaskGroupSharedDetails1.d.ts +1 -1
  93. package/dist/cjs/api/types/OrderTemplate1.d.ts +2 -2
  94. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +2 -2
  95. package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +2 -2
  96. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +3 -3
  97. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +2 -2
  98. package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +2 -2
  99. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +1 -1
  100. package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +1 -1
  101. package/dist/cjs/api/types/OrgPublicData1.d.ts +6 -1
  102. package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +3 -2
  103. package/dist/cjs/api/types/ProviderProviderConnectionListItem.d.ts +3 -6
  104. package/dist/cjs/api/types/RateSheetMapping1.d.ts +2 -2
  105. package/dist/cjs/api/types/Session1.d.ts +1 -1
  106. package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +3 -1
  107. package/dist/cjs/api/types/ShipperProviderConnectionForCoordinatorListItem.d.ts +9 -0
  108. package/dist/cjs/api/types/ShipperProviderConnectionForShipperListItem.d.ts +8 -0
  109. package/dist/cjs/api/types/{ProviderConnectionListRes.d.ts → ShipperProviderConnectionsForCoordinatorListRes.d.ts} +2 -2
  110. package/dist/cjs/api/types/{ProviderOnAndOffChrtExecutorListPage.d.ts → ShipperProviderConnectionsForShipperListRes.d.ts} +2 -2
  111. package/dist/cjs/api/types/Statement1.d.ts +2 -2
  112. package/dist/cjs/api/types/TaskGroup1.d.ts +2 -2
  113. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +1 -1
  114. package/dist/cjs/api/types/TaskGroupQuoteResp.d.ts +2 -2
  115. package/dist/cjs/api/types/index.d.ts +9 -17
  116. package/dist/cjs/api/types/index.js +9 -17
  117. package/dist/cjs/version.d.ts +1 -1
  118. package/dist/cjs/version.js +1 -1
  119. package/dist/esm/Client.mjs +2 -2
  120. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.mts +2 -2
  121. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +2 -2
  122. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.mts +1 -1
  123. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.d.mts +2 -2
  124. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.mjs +7 -7
  125. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.mts +2 -2
  126. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.d.mts +4 -4
  127. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +2 -2
  128. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +10 -8
  129. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +2 -2
  130. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +2 -2
  131. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +2 -2
  132. package/dist/esm/api/resources/operations/client/Client.d.mts +0 -3
  133. package/dist/esm/api/resources/operations/client/Client.mjs +0 -5
  134. package/dist/esm/api/resources/operations/resources/index.d.mts +0 -2
  135. package/dist/esm/api/resources/operations/resources/index.mjs +0 -2
  136. package/dist/esm/api/resources/orgs/client/Client.d.mts +8 -16
  137. package/dist/esm/api/resources/orgs/client/Client.mjs +8 -22
  138. package/dist/esm/api/resources/orgs/client/requests/SetupOrgReq.d.mts +3 -1
  139. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +24 -8
  140. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +94 -17
  141. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.d.mts +6 -0
  142. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.d.mts +11 -0
  143. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +1 -0
  144. package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/Client.d.mts +19 -17
  145. package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/Client.mjs +30 -25
  146. package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.d.mts +6 -3
  147. package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts +5 -9
  148. package/dist/esm/api/resources/orgs/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts +21 -0
  149. package/dist/esm/api/resources/orgs/resources/index.d.mts +4 -9
  150. package/dist/esm/api/resources/orgs/resources/index.mjs +4 -9
  151. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.d.mts +100 -0
  152. package/dist/esm/api/resources/orgs/resources/{offChrtShipperOrg → offChrtOrgData}/client/Client.mjs +51 -95
  153. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.d.mts +18 -0
  154. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.d.mts +19 -0
  155. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.d.mts +26 -0
  156. package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/index.d.mts +3 -0
  157. package/dist/esm/api/resources/orgs/resources/publicData/client/Client.d.mts +27 -1
  158. package/dist/esm/api/resources/orgs/resources/publicData/client/Client.mjs +119 -1
  159. package/dist/esm/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.mts +12 -1
  160. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +1 -1
  161. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +4 -4
  162. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +2 -2
  163. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +3 -3
  164. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +3 -3
  165. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +1 -1
  166. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +1 -1
  167. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.mts +2 -2
  168. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.mjs +2 -2
  169. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -2
  170. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -3
  171. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.mts +1 -1
  172. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/types/OrderBuilderStreamEvent.d.mts +1 -0
  173. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +3 -3
  174. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +12 -12
  175. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +2 -2
  176. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +2 -2
  177. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +2 -2
  178. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +1 -1
  179. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +1 -1
  180. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.mts +3 -3
  181. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.mts +1 -1
  182. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.mts +1 -1
  183. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +2 -2
  184. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +8 -8
  185. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +2 -2
  186. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +2 -2
  187. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +1 -1
  188. package/dist/esm/api/resources/users/client/Client.d.mts +0 -3
  189. package/dist/esm/api/resources/users/client/Client.mjs +0 -5
  190. package/dist/esm/api/resources/users/resources/index.d.mts +0 -2
  191. package/dist/esm/api/resources/users/resources/index.mjs +0 -2
  192. package/dist/esm/api/types/BillingLedger1.d.mts +2 -2
  193. package/dist/esm/api/types/BillingLedgerPeriod1.d.mts +2 -2
  194. package/dist/esm/api/types/CreateOffChrtOrgRes.d.mts +7 -0
  195. package/dist/esm/api/types/DeviceLimitedForList1.d.mts +1 -1
  196. package/dist/esm/api/types/DirectoryEntry1.d.mts +6 -11
  197. package/dist/esm/api/types/DirectoryEntrySortByEnum.d.mts +1 -6
  198. package/dist/esm/api/types/DirectoryEntrySortByEnum.mjs +1 -5
  199. package/dist/esm/api/types/LineItemGroup1.d.mts +2 -2
  200. package/dist/esm/api/types/OffChrtOrgData1.d.mts +18 -0
  201. package/dist/esm/api/types/OffChrtOrgDataClientCreate1.d.mts +13 -0
  202. package/dist/esm/api/types/{OffChrtShipperOrgListRes.d.mts → OffChrtOrgDataListRes.d.mts} +2 -2
  203. package/dist/esm/api/types/OffChrtOrgDataSortByEnum.d.mts +4 -0
  204. package/dist/esm/api/types/Order1.d.mts +1 -1
  205. package/dist/esm/api/types/OrderBuilderReq.d.mts +3 -0
  206. package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -1
  207. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -1
  208. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +1 -1
  209. package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.d.mts +1 -1
  210. package/dist/esm/api/types/OrderTaskGroupSharedDetails1.d.mts +1 -1
  211. package/dist/esm/api/types/OrderTemplate1.d.mts +2 -2
  212. package/dist/esm/api/types/OrderTemplateCore1.d.mts +2 -2
  213. package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +2 -2
  214. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +3 -3
  215. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +2 -2
  216. package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +2 -2
  217. package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +1 -1
  218. package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +1 -1
  219. package/dist/esm/api/types/OrgPublicData1.d.mts +6 -1
  220. package/dist/esm/api/types/ProviderProviderConnection1.d.mts +3 -2
  221. package/dist/esm/api/types/ProviderProviderConnectionListItem.d.mts +3 -6
  222. package/dist/esm/api/types/RateSheetMapping1.d.mts +2 -2
  223. package/dist/esm/api/types/Session1.d.mts +1 -1
  224. package/dist/esm/api/types/ShipperProviderConnection1.d.mts +3 -1
  225. package/dist/esm/api/types/ShipperProviderConnectionForCoordinatorListItem.d.mts +9 -0
  226. package/dist/esm/api/types/ShipperProviderConnectionForShipperListItem.d.mts +8 -0
  227. package/dist/esm/api/types/{ProviderConnectionListRes.d.mts → ShipperProviderConnectionsForCoordinatorListRes.d.mts} +2 -2
  228. package/dist/esm/api/types/{OffChrtProviderOrgListRes.d.mts → ShipperProviderConnectionsForShipperListRes.d.mts} +2 -2
  229. package/dist/esm/api/types/Statement1.d.mts +2 -2
  230. package/dist/esm/api/types/TaskGroup1.d.mts +2 -2
  231. package/dist/esm/api/types/TaskGroupExpanded.d.mts +1 -1
  232. package/dist/esm/api/types/TaskGroupQuoteResp.d.mts +2 -2
  233. package/dist/esm/api/types/index.d.mts +9 -17
  234. package/dist/esm/api/types/index.mjs +9 -17
  235. package/dist/esm/version.d.mts +1 -1
  236. package/dist/esm/version.mjs +1 -1
  237. package/package.json +1 -1
  238. package/reference.md +2218 -3406
  239. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +0 -76
  240. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +0 -254
  241. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.ts +0 -17
  242. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.d.ts +0 -14
  243. package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.ts +0 -2
  244. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.ts +0 -106
  245. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.js +0 -384
  246. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +0 -25
  247. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +0 -29
  248. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.ts +0 -14
  249. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.ts +0 -3
  250. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.ts +0 -107
  251. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/index.d.ts +0 -2
  252. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/index.js +0 -17
  253. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +0 -26
  254. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +0 -29
  255. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.d.ts +0 -17
  256. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.d.ts +0 -3
  257. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.js +0 -2
  258. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/index.d.ts +0 -1
  259. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/index.js +0 -17
  260. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.ts +0 -26
  261. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.js +0 -22
  262. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/index.d.ts +0 -1
  263. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/index.js +0 -2
  264. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/index.d.ts +0 -2
  265. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/index.js +0 -18
  266. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.ts +0 -4
  267. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.js +0 -43
  268. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.ts +0 -83
  269. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.js +0 -300
  270. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.ts +0 -2
  271. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.js +0 -17
  272. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.ts +0 -24
  273. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
  274. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.ts +0 -2
  275. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.js +0 -2
  276. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.ts +0 -1
  277. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.js +0 -17
  278. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.ts +0 -73
  279. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.js +0 -246
  280. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.d.ts +0 -2
  281. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.js +0 -17
  282. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.ts +0 -24
  283. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
  284. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.d.ts +0 -2
  285. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.js +0 -2
  286. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.d.ts +0 -1
  287. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.js +0 -17
  288. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.d.ts +0 -101
  289. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.js +0 -366
  290. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/index.d.ts +0 -2
  291. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/index.js +0 -17
  292. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.ts +0 -19
  293. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.ts +0 -12
  294. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.js +0 -5
  295. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.d.ts +0 -2
  296. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.js +0 -2
  297. package/dist/cjs/api/resources/orgs/resources/orgProfiles/index.d.ts +0 -1
  298. package/dist/cjs/api/resources/orgs/resources/orgProfiles/index.js +0 -17
  299. package/dist/cjs/api/resources/orgs/resources/providers/client/Client.d.ts +0 -54
  300. package/dist/cjs/api/resources/orgs/resources/providers/client/Client.js +0 -157
  301. package/dist/cjs/api/resources/orgs/resources/providers/client/index.d.ts +0 -2
  302. package/dist/cjs/api/resources/orgs/resources/providers/client/index.js +0 -17
  303. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.ts +0 -26
  304. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.js +0 -5
  305. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/index.d.ts +0 -1
  306. package/dist/cjs/api/resources/orgs/resources/providers/client/requests/index.js +0 -2
  307. package/dist/cjs/api/resources/orgs/resources/providers/index.d.ts +0 -1
  308. package/dist/cjs/api/resources/orgs/resources/providers/index.js +0 -17
  309. package/dist/cjs/api/resources/users/resources/directoryEntries/client/index.d.ts +0 -2
  310. package/dist/cjs/api/resources/users/resources/directoryEntries/client/index.js +0 -17
  311. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts +0 -32
  312. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/index.js +0 -2
  313. package/dist/cjs/api/resources/users/resources/directoryEntries/index.d.ts +0 -1
  314. package/dist/cjs/api/resources/users/resources/directoryEntries/index.js +0 -17
  315. package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +0 -16
  316. package/dist/cjs/api/types/DepartmentRoutingRule1.js +0 -5
  317. package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +0 -23
  318. package/dist/cjs/api/types/OffChrtProviderOrg1.js +0 -5
  319. package/dist/cjs/api/types/OffChrtProviderOrgListRes.d.ts +0 -8
  320. package/dist/cjs/api/types/OffChrtProviderOrgListRes.js +0 -5
  321. package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +0 -24
  322. package/dist/cjs/api/types/OffChrtShipperOrg1.js +0 -5
  323. package/dist/cjs/api/types/OffChrtShipperOrgListRes.js +0 -5
  324. package/dist/cjs/api/types/ProviderConnectionListRes.js +0 -5
  325. package/dist/cjs/api/types/ProviderConnectionRes.d.ts +0 -8
  326. package/dist/cjs/api/types/ProviderConnectionRes.js +0 -5
  327. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.d.ts +0 -20
  328. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.js +0 -5
  329. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListPage.js +0 -5
  330. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.d.ts +0 -8
  331. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.js +0 -5
  332. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.ts +0 -8
  333. package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.js +0 -10
  334. package/dist/cjs/api/types/ProviderOrgInfoForConnections1.d.ts +0 -22
  335. package/dist/cjs/api/types/ProviderOrgInfoForConnections1.js +0 -5
  336. package/dist/cjs/api/types/ProviderOrgProfile1.d.ts +0 -13
  337. package/dist/cjs/api/types/ProviderOrgProfile1.js +0 -5
  338. package/dist/cjs/api/types/ShipperConnectionListRes.d.ts +0 -8
  339. package/dist/cjs/api/types/ShipperConnectionListRes.js +0 -5
  340. package/dist/cjs/api/types/ShipperConnectionRes.d.ts +0 -8
  341. package/dist/cjs/api/types/ShipperConnectionRes.js +0 -5
  342. package/dist/cjs/api/types/ShipperOrgInfoForConnections1.d.ts +0 -22
  343. package/dist/cjs/api/types/ShipperOrgInfoForConnections1.js +0 -5
  344. package/dist/cjs/api/types/ShippingTurnClientCreate1.d.ts +0 -17
  345. package/dist/cjs/api/types/ShippingTurnClientCreate1.js +0 -5
  346. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +0 -76
  347. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +0 -217
  348. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.mts +0 -17
  349. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.d.mts +0 -14
  350. package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.mts +0 -2
  351. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.mts +0 -106
  352. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.mjs +0 -347
  353. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +0 -25
  354. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +0 -29
  355. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.mts +0 -14
  356. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.mts +0 -3
  357. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.mts +0 -107
  358. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/index.d.mts +0 -2
  359. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/index.mjs +0 -1
  360. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +0 -26
  361. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +0 -29
  362. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.d.mts +0 -17
  363. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.d.mts +0 -3
  364. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.mjs +0 -1
  365. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/index.d.mts +0 -1
  366. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/index.mjs +0 -1
  367. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.mts +0 -26
  368. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.mjs +0 -18
  369. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/index.d.mts +0 -1
  370. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/index.mjs +0 -1
  371. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/index.d.mts +0 -2
  372. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/index.mjs +0 -2
  373. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.mts +0 -4
  374. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.mjs +0 -4
  375. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.mts +0 -83
  376. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.mjs +0 -263
  377. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.mts +0 -2
  378. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.mjs +0 -1
  379. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.mts +0 -24
  380. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
  381. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.mts +0 -2
  382. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.mjs +0 -1
  383. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.mts +0 -1
  384. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.mjs +0 -1
  385. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.mts +0 -73
  386. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.mjs +0 -209
  387. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.d.mts +0 -2
  388. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.mjs +0 -1
  389. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.mts +0 -24
  390. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
  391. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.d.mts +0 -2
  392. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.mjs +0 -1
  393. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.d.mts +0 -1
  394. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.mjs +0 -1
  395. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.d.mts +0 -101
  396. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.mjs +0 -329
  397. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/index.d.mts +0 -2
  398. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/index.mjs +0 -1
  399. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.mts +0 -19
  400. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.mts +0 -12
  401. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.mjs +0 -4
  402. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.d.mts +0 -2
  403. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.mjs +0 -1
  404. package/dist/esm/api/resources/orgs/resources/orgProfiles/index.d.mts +0 -1
  405. package/dist/esm/api/resources/orgs/resources/orgProfiles/index.mjs +0 -1
  406. package/dist/esm/api/resources/orgs/resources/providers/client/Client.d.mts +0 -54
  407. package/dist/esm/api/resources/orgs/resources/providers/client/Client.mjs +0 -120
  408. package/dist/esm/api/resources/orgs/resources/providers/client/index.d.mts +0 -2
  409. package/dist/esm/api/resources/orgs/resources/providers/client/index.mjs +0 -1
  410. package/dist/esm/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.mts +0 -26
  411. package/dist/esm/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.mjs +0 -4
  412. package/dist/esm/api/resources/orgs/resources/providers/client/requests/index.d.mts +0 -1
  413. package/dist/esm/api/resources/orgs/resources/providers/client/requests/index.mjs +0 -1
  414. package/dist/esm/api/resources/orgs/resources/providers/index.d.mts +0 -1
  415. package/dist/esm/api/resources/orgs/resources/providers/index.mjs +0 -1
  416. package/dist/esm/api/resources/users/resources/directoryEntries/client/index.d.mts +0 -2
  417. package/dist/esm/api/resources/users/resources/directoryEntries/client/index.mjs +0 -1
  418. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts +0 -32
  419. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/index.mjs +0 -1
  420. package/dist/esm/api/resources/users/resources/directoryEntries/index.d.mts +0 -1
  421. package/dist/esm/api/resources/users/resources/directoryEntries/index.mjs +0 -1
  422. package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +0 -16
  423. package/dist/esm/api/types/DepartmentRoutingRule1.mjs +0 -4
  424. package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +0 -23
  425. package/dist/esm/api/types/OffChrtProviderOrg1.mjs +0 -4
  426. package/dist/esm/api/types/OffChrtProviderOrgListRes.mjs +0 -4
  427. package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +0 -24
  428. package/dist/esm/api/types/OffChrtShipperOrg1.mjs +0 -4
  429. package/dist/esm/api/types/OffChrtShipperOrgListRes.mjs +0 -4
  430. package/dist/esm/api/types/ProviderConnectionListRes.mjs +0 -4
  431. package/dist/esm/api/types/ProviderConnectionRes.d.mts +0 -8
  432. package/dist/esm/api/types/ProviderConnectionRes.mjs +0 -4
  433. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.d.mts +0 -20
  434. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.mjs +0 -4
  435. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.d.mts +0 -8
  436. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.mjs +0 -4
  437. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.d.mts +0 -8
  438. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.mjs +0 -4
  439. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.mts +0 -8
  440. package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.mjs +0 -7
  441. package/dist/esm/api/types/ProviderOrgInfoForConnections1.d.mts +0 -22
  442. package/dist/esm/api/types/ProviderOrgInfoForConnections1.mjs +0 -4
  443. package/dist/esm/api/types/ProviderOrgProfile1.d.mts +0 -13
  444. package/dist/esm/api/types/ProviderOrgProfile1.mjs +0 -4
  445. package/dist/esm/api/types/ShipperConnectionListRes.d.mts +0 -8
  446. package/dist/esm/api/types/ShipperConnectionListRes.mjs +0 -4
  447. package/dist/esm/api/types/ShipperConnectionRes.d.mts +0 -8
  448. package/dist/esm/api/types/ShipperConnectionRes.mjs +0 -4
  449. package/dist/esm/api/types/ShipperOrgInfoForConnections1.d.mts +0 -22
  450. package/dist/esm/api/types/ShipperOrgInfoForConnections1.mjs +0 -4
  451. package/dist/esm/api/types/ShippingTurnClientCreate1.d.mts +0 -17
  452. package/dist/esm/api/types/ShippingTurnClientCreate1.mjs +0 -4
  453. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.js → orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.js} +0 -0
  454. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.d.ts +0 -0
  455. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.js +0 -0
  456. /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.js +0 -0
  457. /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.js +0 -0
  458. /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.js +0 -0
  459. /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/index.d.ts +0 -0
  460. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/requests/index.js +0 -0
  461. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.d.ts +0 -0
  462. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.js +0 -0
  463. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.d.ts +0 -0
  464. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.js +0 -0
  465. /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.js → orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.js} +0 -0
  466. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.js → offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.js} +0 -0
  467. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.js → offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.js} +0 -0
  468. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/requests/index.js +0 -0
  469. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.d.ts +0 -0
  470. /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.js +0 -0
  471. /package/dist/cjs/api/{resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.js → types/CreateOffChrtOrgRes.js} +0 -0
  472. /package/dist/cjs/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.js → types/OffChrtOrgData1.js} +0 -0
  473. /package/dist/cjs/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.js → types/OffChrtOrgDataClientCreate1.js} +0 -0
  474. /package/dist/cjs/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.js → types/OffChrtOrgDataListRes.js} +0 -0
  475. /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.js → types/OffChrtOrgDataSortByEnum.js} +0 -0
  476. /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.js → types/ShipperProviderConnectionForCoordinatorListItem.js} +0 -0
  477. /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.js → types/ShipperProviderConnectionForShipperListItem.js} +0 -0
  478. /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.js → types/ShipperProviderConnectionsForCoordinatorListRes.js} +0 -0
  479. /package/dist/cjs/api/{resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.js → types/ShipperProviderConnectionsForShipperListRes.js} +0 -0
  480. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.mjs → orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.mjs} +0 -0
  481. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.d.mts +0 -0
  482. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.mjs +0 -0
  483. /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.mjs +0 -0
  484. /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.mjs +0 -0
  485. /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.mjs +0 -0
  486. /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/index.d.mts +0 -0
  487. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/requests/index.mjs +0 -0
  488. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.d.mts +0 -0
  489. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.mjs +0 -0
  490. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.d.mts +0 -0
  491. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.mjs +0 -0
  492. /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.mjs → orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.mjs} +0 -0
  493. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.mjs → offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.mjs} +0 -0
  494. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.mjs → offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.mjs} +0 -0
  495. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/requests/index.mjs +0 -0
  496. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.d.mts +0 -0
  497. /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.mjs +0 -0
  498. /package/dist/esm/api/{resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.mjs → types/CreateOffChrtOrgRes.mjs} +0 -0
  499. /package/dist/esm/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.mjs → types/OffChrtOrgData1.mjs} +0 -0
  500. /package/dist/esm/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.mjs → types/OffChrtOrgDataClientCreate1.mjs} +0 -0
  501. /package/dist/esm/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.mjs → types/OffChrtOrgDataListRes.mjs} +0 -0
  502. /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.mjs → types/OffChrtOrgDataSortByEnum.mjs} +0 -0
  503. /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.mjs → types/ShipperProviderConnectionForCoordinatorListItem.mjs} +0 -0
  504. /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.mjs → types/ShipperProviderConnectionForShipperListItem.mjs} +0 -0
  505. /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.mjs → types/ShipperProviderConnectionsForCoordinatorListRes.mjs} +0 -0
  506. /package/dist/esm/api/{resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.mjs → types/ShipperProviderConnectionsForShipperListRes.mjs} +0 -0
@@ -1,3 +0,0 @@
1
- export { type OffChrtShipperOrgClientCreate1 } from "./OffChrtShipperOrgClientCreate1.js";
2
- export { type OffChrtShipperOrgListV1Request } from "./OffChrtShipperOrgListV1Request.js";
3
- export { type OffChrtShipperOrgClientUpdate1 } from "./OffChrtShipperOrgClientUpdate1.js";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from "./client/index.js";
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./client/index.js"), exports);
@@ -1,26 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../../../environments.js";
5
- import * as core from "../../../../../../core/index.js";
6
- import { Provider } from "../resources/provider/client/Client.js";
7
- import { Shipper } from "../resources/shipper/client/Client.js";
8
- export declare namespace OrgInfoForConnections {
9
- interface Options {
10
- environment?: core.Supplier<environments.ChrtEnvironment | string>;
11
- /** Specify a custom URL to connect the client to. */
12
- baseUrl?: core.Supplier<string>;
13
- token?: core.Supplier<core.BearerToken | undefined>;
14
- /** Additional headers to include in requests. */
15
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
16
- fetcher?: core.FetchFunction;
17
- }
18
- }
19
- export declare class OrgInfoForConnections {
20
- protected readonly _options: OrgInfoForConnections.Options;
21
- protected _provider: Provider | undefined;
22
- protected _shipper: Shipper | undefined;
23
- constructor(_options?: OrgInfoForConnections.Options);
24
- get provider(): Provider;
25
- get shipper(): Shipper;
26
- }
@@ -1,22 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.OrgInfoForConnections = void 0;
7
- const Client_js_1 = require("../resources/provider/client/Client.js");
8
- const Client_js_2 = require("../resources/shipper/client/Client.js");
9
- class OrgInfoForConnections {
10
- constructor(_options = {}) {
11
- this._options = _options;
12
- }
13
- get provider() {
14
- var _a;
15
- return ((_a = this._provider) !== null && _a !== void 0 ? _a : (this._provider = new Client_js_1.Provider(this._options)));
16
- }
17
- get shipper() {
18
- var _a;
19
- return ((_a = this._shipper) !== null && _a !== void 0 ? _a : (this._shipper = new Client_js_2.Shipper(this._options)));
20
- }
21
- }
22
- exports.OrgInfoForConnections = OrgInfoForConnections;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +0,0 @@
1
- export * from "./client/index.js";
2
- export * from "./resources/index.js";
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./client/index.js"), exports);
18
- __exportStar(require("./resources/index.js"), exports);
@@ -1,4 +0,0 @@
1
- export * as provider from "./provider/index.js";
2
- export * as shipper from "./shipper/index.js";
3
- export * from "./provider/client/requests/index.js";
4
- export * from "./shipper/client/requests/index.js";
@@ -1,43 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.shipper = exports.provider = void 0;
40
- exports.provider = __importStar(require("./provider/index.js"));
41
- exports.shipper = __importStar(require("./shipper/index.js"));
42
- __exportStar(require("./provider/client/requests/index.js"), exports);
43
- __exportStar(require("./shipper/client/requests/index.js"), exports);
@@ -1,83 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as environments from "../../../../../../../../environments.js";
5
- import * as core from "../../../../../../../../core/index.js";
6
- import * as Chrt from "../../../../../../../index.js";
7
- export declare namespace Provider {
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 Provider {
31
- protected readonly _options: Provider.Options;
32
- constructor(_options?: Provider.Options);
33
- /**
34
- * Creates provider organization connection information. Fails if already exists. | (ProviderOrgInfoForConnectionsClientCreate1) -> (PydanticObjectId)
35
- *
36
- * @param {Chrt.orgs.orgInfoForConnections.ProviderOrgInfoForConnectionsClientCreate1} request
37
- * @param {Provider.RequestOptions} requestOptions - Request-specific configuration.
38
- *
39
- * @throws {@link Chrt.UnprocessableEntityError}
40
- *
41
- * @example
42
- * await client.orgs.orgInfoForConnections.provider.createV1({
43
- * email_address_primary: "email_address_primary",
44
- * schema_version: 1
45
- * })
46
- */
47
- createV1(request: Chrt.orgs.orgInfoForConnections.ProviderOrgInfoForConnectionsClientCreate1, requestOptions?: Provider.RequestOptions): core.HttpResponsePromise<string>;
48
- private __createV1;
49
- /**
50
- * Retrieves list of provider org info documents for providers connected to the caller. Shippers see providers via shipper_provider_connections; providers see other providers via provider_provider_connections (in either direction). | () -> (list[ProviderOrgInfoForConnections1])
51
- *
52
- * @param {Provider.RequestOptions} requestOptions - Request-specific configuration.
53
- *
54
- * @example
55
- * await client.orgs.orgInfoForConnections.provider.listV1()
56
- */
57
- listV1(requestOptions?: Provider.RequestOptions): core.HttpResponsePromise<Chrt.ProviderOrgInfoForConnections1[]>;
58
- private __listV1;
59
- /**
60
- * Updates existing provider organization connection information. | (ProviderOrgInfoForConnectionsClientUpdate1) -> (bool)
61
- *
62
- * @param {Chrt.orgs.orgInfoForConnections.ProviderOrgInfoForConnectionsClientUpdate1} request
63
- * @param {Provider.RequestOptions} requestOptions - Request-specific configuration.
64
- *
65
- * @throws {@link Chrt.UnprocessableEntityError}
66
- *
67
- * @example
68
- * await client.orgs.orgInfoForConnections.provider.updateV1()
69
- */
70
- updateV1(request?: Chrt.orgs.orgInfoForConnections.ProviderOrgInfoForConnectionsClientUpdate1, requestOptions?: Provider.RequestOptions): core.HttpResponsePromise<boolean>;
71
- private __updateV1;
72
- /**
73
- * Retrieves provider organization connection information for the caller's organization. | () -> (ProviderOrgInfoForConnections1)
74
- *
75
- * @param {Provider.RequestOptions} requestOptions - Request-specific configuration.
76
- *
77
- * @example
78
- * await client.orgs.orgInfoForConnections.provider.getV1()
79
- */
80
- getV1(requestOptions?: Provider.RequestOptions): core.HttpResponsePromise<Chrt.ProviderOrgInfoForConnections1>;
81
- private __getV1;
82
- protected _getAuthorizationHeader(): Promise<string | undefined>;
83
- }
@@ -1,300 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
- return new (P || (P = Promise))(function (resolve, reject) {
41
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
- step((generator = generator.apply(thisArg, _arguments || [])).next());
45
- });
46
- };
47
- Object.defineProperty(exports, "__esModule", { value: true });
48
- exports.Provider = void 0;
49
- const environments = __importStar(require("../../../../../../../../environments.js"));
50
- const core = __importStar(require("../../../../../../../../core/index.js"));
51
- const Chrt = __importStar(require("../../../../../../../index.js"));
52
- const headers_js_1 = require("../../../../../../../../core/headers.js");
53
- const errors = __importStar(require("../../../../../../../../errors/index.js"));
54
- class Provider {
55
- constructor(_options = {}) {
56
- this._options = _options;
57
- }
58
- /**
59
- * Creates provider organization connection information. Fails if already exists. | (ProviderOrgInfoForConnectionsClientCreate1) -> (PydanticObjectId)
60
- *
61
- * @param {Chrt.orgs.orgInfoForConnections.ProviderOrgInfoForConnectionsClientCreate1} request
62
- * @param {Provider.RequestOptions} requestOptions - Request-specific configuration.
63
- *
64
- * @throws {@link Chrt.UnprocessableEntityError}
65
- *
66
- * @example
67
- * await client.orgs.orgInfoForConnections.provider.createV1({
68
- * email_address_primary: "email_address_primary",
69
- * schema_version: 1
70
- * })
71
- */
72
- createV1(request, requestOptions) {
73
- return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
74
- }
75
- __createV1(request, requestOptions) {
76
- return __awaiter(this, void 0, void 0, function* () {
77
- var _a, _b, _c, _d;
78
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
79
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
80
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/org_info_for_connections/provider/create/v1"),
81
- method: "POST",
82
- headers: _headers,
83
- contentType: "application/json",
84
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
85
- requestType: "json",
86
- body: request,
87
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
88
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
89
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
90
- });
91
- if (_response.ok) {
92
- return { data: _response.body, rawResponse: _response.rawResponse };
93
- }
94
- if (_response.error.reason === "status-code") {
95
- switch (_response.error.statusCode) {
96
- case 422:
97
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
98
- default:
99
- throw new errors.ChrtError({
100
- statusCode: _response.error.statusCode,
101
- body: _response.error.body,
102
- rawResponse: _response.rawResponse,
103
- });
104
- }
105
- }
106
- switch (_response.error.reason) {
107
- case "non-json":
108
- throw new errors.ChrtError({
109
- statusCode: _response.error.statusCode,
110
- body: _response.error.rawBody,
111
- rawResponse: _response.rawResponse,
112
- });
113
- case "timeout":
114
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/org_info_for_connections/provider/create/v1.");
115
- case "unknown":
116
- throw new errors.ChrtError({
117
- message: _response.error.errorMessage,
118
- rawResponse: _response.rawResponse,
119
- });
120
- }
121
- });
122
- }
123
- /**
124
- * Retrieves list of provider org info documents for providers connected to the caller. Shippers see providers via shipper_provider_connections; providers see other providers via provider_provider_connections (in either direction). | () -> (list[ProviderOrgInfoForConnections1])
125
- *
126
- * @param {Provider.RequestOptions} requestOptions - Request-specific configuration.
127
- *
128
- * @example
129
- * await client.orgs.orgInfoForConnections.provider.listV1()
130
- */
131
- listV1(requestOptions) {
132
- return core.HttpResponsePromise.fromPromise(this.__listV1(requestOptions));
133
- }
134
- __listV1(requestOptions) {
135
- return __awaiter(this, void 0, void 0, function* () {
136
- var _a, _b, _c, _d;
137
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
138
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
139
- 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_info_for_connections/provider/list/v1"),
140
- method: "GET",
141
- headers: _headers,
142
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
143
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
144
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
145
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
146
- });
147
- if (_response.ok) {
148
- return {
149
- data: _response.body,
150
- rawResponse: _response.rawResponse,
151
- };
152
- }
153
- if (_response.error.reason === "status-code") {
154
- throw new errors.ChrtError({
155
- statusCode: _response.error.statusCode,
156
- body: _response.error.body,
157
- rawResponse: _response.rawResponse,
158
- });
159
- }
160
- switch (_response.error.reason) {
161
- case "non-json":
162
- throw new errors.ChrtError({
163
- statusCode: _response.error.statusCode,
164
- body: _response.error.rawBody,
165
- rawResponse: _response.rawResponse,
166
- });
167
- case "timeout":
168
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_info_for_connections/provider/list/v1.");
169
- case "unknown":
170
- throw new errors.ChrtError({
171
- message: _response.error.errorMessage,
172
- rawResponse: _response.rawResponse,
173
- });
174
- }
175
- });
176
- }
177
- /**
178
- * Updates existing provider organization connection information. | (ProviderOrgInfoForConnectionsClientUpdate1) -> (bool)
179
- *
180
- * @param {Chrt.orgs.orgInfoForConnections.ProviderOrgInfoForConnectionsClientUpdate1} request
181
- * @param {Provider.RequestOptions} requestOptions - Request-specific configuration.
182
- *
183
- * @throws {@link Chrt.UnprocessableEntityError}
184
- *
185
- * @example
186
- * await client.orgs.orgInfoForConnections.provider.updateV1()
187
- */
188
- updateV1(request = {}, requestOptions) {
189
- return core.HttpResponsePromise.fromPromise(this.__updateV1(request, requestOptions));
190
- }
191
- __updateV1() {
192
- return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
193
- var _a, _b, _c, _d;
194
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
195
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
196
- 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_info_for_connections/provider/update/v1"),
197
- method: "PATCH",
198
- headers: _headers,
199
- contentType: "application/json",
200
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
201
- requestType: "json",
202
- body: request,
203
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
204
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
205
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
206
- });
207
- if (_response.ok) {
208
- return { data: _response.body, rawResponse: _response.rawResponse };
209
- }
210
- if (_response.error.reason === "status-code") {
211
- switch (_response.error.statusCode) {
212
- case 422:
213
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
214
- default:
215
- throw new errors.ChrtError({
216
- statusCode: _response.error.statusCode,
217
- body: _response.error.body,
218
- rawResponse: _response.rawResponse,
219
- });
220
- }
221
- }
222
- switch (_response.error.reason) {
223
- case "non-json":
224
- throw new errors.ChrtError({
225
- statusCode: _response.error.statusCode,
226
- body: _response.error.rawBody,
227
- rawResponse: _response.rawResponse,
228
- });
229
- case "timeout":
230
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/org_info_for_connections/provider/update/v1.");
231
- case "unknown":
232
- throw new errors.ChrtError({
233
- message: _response.error.errorMessage,
234
- rawResponse: _response.rawResponse,
235
- });
236
- }
237
- });
238
- }
239
- /**
240
- * Retrieves provider organization connection information for the caller's organization. | () -> (ProviderOrgInfoForConnections1)
241
- *
242
- * @param {Provider.RequestOptions} requestOptions - Request-specific configuration.
243
- *
244
- * @example
245
- * await client.orgs.orgInfoForConnections.provider.getV1()
246
- */
247
- getV1(requestOptions) {
248
- return core.HttpResponsePromise.fromPromise(this.__getV1(requestOptions));
249
- }
250
- __getV1(requestOptions) {
251
- return __awaiter(this, void 0, void 0, function* () {
252
- var _a, _b, _c, _d;
253
- let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
254
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
255
- 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_info_for_connections/provider/v1"),
256
- method: "GET",
257
- headers: _headers,
258
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
259
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
260
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
261
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
262
- });
263
- if (_response.ok) {
264
- return { data: _response.body, rawResponse: _response.rawResponse };
265
- }
266
- if (_response.error.reason === "status-code") {
267
- throw new errors.ChrtError({
268
- statusCode: _response.error.statusCode,
269
- body: _response.error.body,
270
- rawResponse: _response.rawResponse,
271
- });
272
- }
273
- switch (_response.error.reason) {
274
- case "non-json":
275
- throw new errors.ChrtError({
276
- statusCode: _response.error.statusCode,
277
- body: _response.error.rawBody,
278
- rawResponse: _response.rawResponse,
279
- });
280
- case "timeout":
281
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_info_for_connections/provider/v1.");
282
- case "unknown":
283
- throw new errors.ChrtError({
284
- message: _response.error.errorMessage,
285
- rawResponse: _response.rawResponse,
286
- });
287
- }
288
- });
289
- }
290
- _getAuthorizationHeader() {
291
- return __awaiter(this, void 0, void 0, function* () {
292
- const bearer = yield core.Supplier.get(this._options.token);
293
- if (bearer != null) {
294
- return `Bearer ${bearer}`;
295
- }
296
- return undefined;
297
- });
298
- }
299
- }
300
- exports.Provider = Provider;
@@ -1,2 +0,0 @@
1
- export {};
2
- export * from "./requests/index.js";
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./requests/index.js"), exports);
@@ -1,24 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../../../../../../../../index.js";
5
- /**
6
- * @example
7
- * {
8
- * email_address_primary: "email_address_primary",
9
- * schema_version: 1
10
- * }
11
- */
12
- export interface ProviderOrgInfoForConnectionsClientCreate1 {
13
- contact_first_name?: string | null;
14
- contact_last_name?: string | null;
15
- email_address_primary: string;
16
- email_address_secondary?: string | null;
17
- industry?: string | null;
18
- job_title?: string | null;
19
- notes?: string | null;
20
- phone_number_primary?: string | null;
21
- phone_number_secondary?: string | null;
22
- schema_version: number;
23
- street_address?: Chrt.LocationFeature | null;
24
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../../../../../../../../index.js";
5
- /**
6
- * @example
7
- * {}
8
- */
9
- export interface ProviderOrgInfoForConnectionsClientUpdate1 {
10
- contact_first_name?: string | null;
11
- contact_first_name__set_to_None?: boolean;
12
- contact_last_name?: string | null;
13
- contact_last_name__set_to_None?: boolean;
14
- email_address_primary?: string | null;
15
- email_address_secondary?: string | null;
16
- email_address_secondary__set_to_None?: boolean;
17
- industry?: string | null;
18
- industry__set_to_None?: boolean;
19
- job_title?: string | null;
20
- job_title__set_to_None?: boolean;
21
- notes?: string | null;
22
- notes__set_to_None?: boolean;
23
- phone_number_primary?: string | null;
24
- phone_number_primary__set_to_None?: boolean;
25
- phone_number_secondary?: string | null;
26
- phone_number_secondary__set_to_None?: boolean;
27
- street_address?: Chrt.LocationFeature | null;
28
- street_address__set_to_None?: boolean;
29
- }
@@ -1,2 +0,0 @@
1
- export { type ProviderOrgInfoForConnectionsClientCreate1 } from "./ProviderOrgInfoForConnectionsClientCreate1.js";
2
- export { type ProviderOrgInfoForConnectionsClientUpdate1 } from "./ProviderOrgInfoForConnectionsClientUpdate1.js";
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from "./client/index.js";