@chrt-inc/typescript-sdk 1.530.1 → 1.539.1

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 (359) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/Client.js +2 -2
  3. package/dist/cjs/api/resources/billing/index.d.ts +1 -1
  4. package/dist/cjs/api/resources/billing/index.js +1 -1
  5. package/dist/cjs/api/resources/billing/resources/index.d.ts +1 -2
  6. package/dist/cjs/api/resources/billing/resources/index.js +2 -3
  7. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +1 -0
  8. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +5 -1
  9. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.d.ts +3 -0
  10. package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.d.ts +3 -2
  11. package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.js +7 -3
  12. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsListByOrgV1Request.d.ts +6 -2
  13. package/dist/cjs/api/resources/billing/resources/rateSheets/index.d.ts +0 -1
  14. package/dist/cjs/api/resources/billing/resources/rateSheets/index.js +0 -1
  15. package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +8 -2
  16. package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +28 -4
  17. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +10 -1
  18. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +10 -1
  19. package/dist/cjs/api/resources/index.d.ts +2 -2
  20. package/dist/cjs/api/resources/index.js +3 -3
  21. package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.d.ts +7 -3
  22. package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.js +23 -11
  23. package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/AdHocListByOrderIdV1Request.d.ts +14 -0
  24. package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/index.d.ts +1 -0
  25. package/dist/cjs/api/resources/notifications/resources/groups/client/Client.d.ts +18 -6
  26. package/dist/cjs/api/resources/notifications/resources/groups/client/Client.js +71 -36
  27. package/dist/cjs/api/resources/notifications/resources/groups/client/requests/GroupsListByOrgV1Request.d.ts +14 -0
  28. package/dist/cjs/api/resources/notifications/resources/groups/client/requests/GroupsListByUserV1Request.d.ts +14 -0
  29. package/dist/cjs/api/resources/notifications/resources/groups/client/requests/index.d.ts +2 -0
  30. package/dist/cjs/api/resources/orgs/client/Client.d.ts +11 -3
  31. package/dist/cjs/api/resources/orgs/client/Client.js +51 -16
  32. package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +23 -0
  33. package/dist/cjs/api/resources/orgs/client/requests/index.d.ts +1 -0
  34. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +27 -9
  35. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +105 -48
  36. package/dist/cjs/api/resources/orgs/resources/connections/client/index.d.ts +1 -0
  37. package/dist/cjs/api/resources/orgs/resources/connections/client/index.js +15 -0
  38. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.d.ts +14 -0
  39. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.js +5 -0
  40. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.d.ts +14 -0
  41. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.js +5 -0
  42. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListShippersV1Request.d.ts +14 -0
  43. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListShippersV1Request.js +5 -0
  44. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +3 -0
  45. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.js +2 -0
  46. package/dist/cjs/api/resources/orgs/resources/index.d.ts +1 -0
  47. package/dist/cjs/api/resources/orgs/resources/index.js +1 -0
  48. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.ts +9 -3
  49. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.js +35 -16
  50. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.d.ts +14 -0
  51. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.js +5 -0
  52. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.d.ts +1 -0
  53. package/dist/cjs/api/resources/shipping/index.d.ts +1 -1
  54. package/dist/cjs/api/resources/shipping/index.js +1 -1
  55. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +14 -8
  56. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +58 -24
  57. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +11 -4
  58. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +17 -6
  59. package/dist/cjs/api/resources/shipping/resources/index.d.ts +3 -3
  60. package/dist/cjs/api/resources/shipping/resources/index.js +4 -4
  61. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.ts +3 -0
  62. package/dist/cjs/api/resources/shipping/resources/orderDrafts/index.d.ts +1 -1
  63. package/dist/cjs/api/resources/shipping/resources/orderDrafts/index.js +1 -1
  64. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +1 -1
  65. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +1 -1
  66. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.ts +3 -2
  67. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/index.d.ts +0 -1
  68. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/index.js +0 -1
  69. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.d.ts +1 -2
  70. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.js +2 -3
  71. package/dist/cjs/api/resources/shipping/resources/orders/index.d.ts +1 -1
  72. package/dist/cjs/api/resources/shipping/resources/orders/index.js +1 -1
  73. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +22 -4
  74. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +82 -6
  75. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.ts +6 -2
  76. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +6 -2
  77. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.ts +16 -0
  78. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedTypeaheadV1Request.js +5 -0
  79. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.ts +1 -0
  80. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/index.d.ts +0 -1
  81. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/index.js +0 -1
  82. package/dist/cjs/api/resources/shipping/resources/orders/resources/index.d.ts +0 -1
  83. package/dist/cjs/api/resources/shipping/resources/orders/resources/index.js +0 -1
  84. package/dist/cjs/api/resources/shipping/resources/taskGroups/index.d.ts +1 -1
  85. package/dist/cjs/api/resources/shipping/resources/taskGroups/index.js +1 -1
  86. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +22 -4
  87. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +82 -6
  88. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.ts +6 -2
  89. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.ts +6 -2
  90. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.ts +16 -0
  91. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedTypeaheadV1Request.js +5 -0
  92. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.ts +1 -0
  93. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/index.d.ts +0 -1
  94. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/index.js +0 -1
  95. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.d.ts +1 -2
  96. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.js +2 -3
  97. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +5 -20
  98. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +15 -79
  99. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.ts +10 -1
  100. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/index.d.ts +0 -1
  101. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +4 -21
  102. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +8 -80
  103. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.ts +4 -1
  104. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +0 -1
  105. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.ts +2 -2
  106. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.js +2 -2
  107. package/dist/cjs/api/resources/users/resources/directoryEntries/client/Client.d.ts +12 -3
  108. package/dist/cjs/api/resources/users/resources/directoryEntries/client/Client.js +47 -16
  109. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.d.ts +24 -0
  110. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.js +5 -0
  111. package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/index.d.ts +1 -0
  112. package/dist/cjs/api/types/CourierConnectionListRes.d.ts +8 -0
  113. package/dist/cjs/api/types/CourierConnectionListRes.js +5 -0
  114. package/dist/cjs/api/types/DeviceLimitedForList1.d.ts +1 -0
  115. package/dist/cjs/api/types/DeviceListRes.d.ts +1 -1
  116. package/dist/cjs/api/types/DevicePausedTimeWindow1.d.ts +7 -0
  117. package/dist/cjs/api/types/DevicePausedTimeWindow1.js +5 -0
  118. package/dist/cjs/api/types/{DeviceSearchRes.d.ts → DirectoryEntryListRes.d.ts} +2 -2
  119. package/dist/cjs/api/types/DirectoryEntryListRes.js +5 -0
  120. package/dist/cjs/api/types/DirectoryEntrySortByEnum.d.ts +9 -0
  121. package/dist/cjs/api/types/DirectoryEntrySortByEnum.js +11 -0
  122. package/dist/cjs/api/types/{SessionSearchRes.d.ts → DriverListRes.d.ts} +2 -2
  123. package/dist/cjs/api/types/DriverListRes.js +5 -0
  124. package/dist/cjs/api/types/ForwarderConnectionListRes.d.ts +8 -0
  125. package/dist/cjs/api/types/ForwarderConnectionListRes.js +5 -0
  126. package/dist/cjs/api/types/LineItemGroupListRes.d.ts +1 -1
  127. package/dist/cjs/api/types/NotificationAdHocListRes.d.ts +8 -0
  128. package/dist/cjs/api/types/NotificationAdHocListRes.js +5 -0
  129. package/dist/cjs/api/types/NotificationGroupListRes.d.ts +8 -0
  130. package/dist/cjs/api/types/NotificationGroupListRes.js +5 -0
  131. package/dist/cjs/api/types/NotificationGroupUserListRes.d.ts +8 -0
  132. package/dist/cjs/api/types/NotificationGroupUserListRes.js +5 -0
  133. package/dist/cjs/api/types/OffChrtShipperOrgListRes.d.ts +8 -0
  134. package/dist/cjs/api/types/OffChrtShipperOrgListRes.js +5 -0
  135. package/dist/cjs/api/types/OrderDraftExpandedListRes.d.ts +1 -1
  136. package/dist/cjs/api/types/OrdersExpandedListRes.d.ts +1 -1
  137. package/dist/cjs/api/types/OrgMemberListRes.d.ts +8 -0
  138. package/dist/cjs/api/types/OrgMemberListRes.js +5 -0
  139. package/dist/cjs/api/types/OrgMemberSortByEnum.d.ts +8 -0
  140. package/dist/cjs/api/types/OrgMemberSortByEnum.js +10 -0
  141. package/dist/cjs/api/types/OrgMembersAndDriversListRes.d.ts +8 -0
  142. package/dist/cjs/api/types/OrgMembersAndDriversListRes.js +5 -0
  143. package/dist/cjs/api/types/RateSheetListResponse.d.ts +1 -1
  144. package/dist/cjs/api/types/SessionListRes.d.ts +1 -1
  145. package/dist/cjs/api/types/ShipperConnectionListRes.d.ts +8 -0
  146. package/dist/cjs/api/types/ShipperConnectionListRes.js +5 -0
  147. package/dist/cjs/api/types/StatementsExpandedListRes.d.ts +1 -1
  148. package/dist/cjs/api/types/StatementsListRes.d.ts +1 -1
  149. package/dist/cjs/api/types/TaskGroupExpandedListRes.d.ts +1 -1
  150. package/dist/cjs/api/types/index.d.ts +14 -2
  151. package/dist/cjs/api/types/index.js +14 -2
  152. package/dist/cjs/version.d.ts +1 -1
  153. package/dist/cjs/version.js +1 -1
  154. package/dist/esm/Client.mjs +2 -2
  155. package/dist/esm/api/resources/billing/index.d.mts +1 -1
  156. package/dist/esm/api/resources/billing/index.mjs +1 -1
  157. package/dist/esm/api/resources/billing/resources/index.d.mts +1 -2
  158. package/dist/esm/api/resources/billing/resources/index.mjs +1 -2
  159. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +1 -0
  160. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +5 -1
  161. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.d.mts +3 -0
  162. package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.d.mts +3 -2
  163. package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.mjs +7 -3
  164. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsListByOrgV1Request.d.mts +6 -2
  165. package/dist/esm/api/resources/billing/resources/rateSheets/index.d.mts +0 -1
  166. package/dist/esm/api/resources/billing/resources/rateSheets/index.mjs +0 -1
  167. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +8 -2
  168. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +28 -4
  169. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +10 -1
  170. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +10 -1
  171. package/dist/esm/api/resources/index.d.mts +2 -2
  172. package/dist/esm/api/resources/index.mjs +2 -2
  173. package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.d.mts +7 -3
  174. package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.mjs +23 -11
  175. package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/AdHocListByOrderIdV1Request.d.mts +14 -0
  176. package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/index.d.mts +1 -0
  177. package/dist/esm/api/resources/notifications/resources/groups/client/Client.d.mts +18 -6
  178. package/dist/esm/api/resources/notifications/resources/groups/client/Client.mjs +71 -36
  179. package/dist/esm/api/resources/notifications/resources/groups/client/requests/GroupsListByOrgV1Request.d.mts +14 -0
  180. package/dist/esm/api/resources/notifications/resources/groups/client/requests/GroupsListByUserV1Request.d.mts +14 -0
  181. package/dist/esm/api/resources/notifications/resources/groups/client/requests/index.d.mts +2 -0
  182. package/dist/esm/api/resources/orgs/client/Client.d.mts +11 -3
  183. package/dist/esm/api/resources/orgs/client/Client.mjs +51 -16
  184. package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +23 -0
  185. package/dist/esm/api/resources/orgs/client/requests/index.d.mts +1 -0
  186. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +27 -9
  187. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +105 -48
  188. package/dist/esm/api/resources/orgs/resources/connections/client/index.d.mts +1 -0
  189. package/dist/esm/api/resources/orgs/resources/connections/client/index.mjs +1 -1
  190. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.d.mts +14 -0
  191. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.mjs +4 -0
  192. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.d.mts +14 -0
  193. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.mjs +4 -0
  194. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListShippersV1Request.d.mts +14 -0
  195. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListShippersV1Request.mjs +4 -0
  196. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +3 -0
  197. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.mjs +1 -0
  198. package/dist/esm/api/resources/orgs/resources/index.d.mts +1 -0
  199. package/dist/esm/api/resources/orgs/resources/index.mjs +1 -0
  200. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.mts +9 -3
  201. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.mjs +35 -16
  202. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.d.mts +14 -0
  203. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.mjs +4 -0
  204. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.d.mts +1 -0
  205. package/dist/esm/api/resources/shipping/index.d.mts +1 -1
  206. package/dist/esm/api/resources/shipping/index.mjs +1 -1
  207. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +14 -8
  208. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +58 -24
  209. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +11 -4
  210. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +17 -6
  211. package/dist/esm/api/resources/shipping/resources/index.d.mts +3 -3
  212. package/dist/esm/api/resources/shipping/resources/index.mjs +3 -3
  213. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.mts +3 -0
  214. package/dist/esm/api/resources/shipping/resources/orderDrafts/index.d.mts +1 -1
  215. package/dist/esm/api/resources/shipping/resources/orderDrafts/index.mjs +1 -1
  216. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +1 -1
  217. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +1 -1
  218. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.mts +3 -2
  219. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/index.d.mts +0 -1
  220. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/index.mjs +0 -1
  221. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.d.mts +1 -2
  222. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.mjs +1 -2
  223. package/dist/esm/api/resources/shipping/resources/orders/index.d.mts +1 -1
  224. package/dist/esm/api/resources/shipping/resources/orders/index.mjs +1 -1
  225. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +22 -4
  226. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +82 -6
  227. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.mts +6 -2
  228. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +6 -2
  229. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.mts +16 -0
  230. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedTypeaheadV1Request.mjs +4 -0
  231. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.mts +1 -0
  232. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/index.d.mts +0 -1
  233. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/index.mjs +0 -1
  234. package/dist/esm/api/resources/shipping/resources/orders/resources/index.d.mts +0 -1
  235. package/dist/esm/api/resources/shipping/resources/orders/resources/index.mjs +0 -1
  236. package/dist/esm/api/resources/shipping/resources/taskGroups/index.d.mts +1 -1
  237. package/dist/esm/api/resources/shipping/resources/taskGroups/index.mjs +1 -1
  238. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +22 -4
  239. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +82 -6
  240. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.mts +6 -2
  241. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.mts +6 -2
  242. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.mts +16 -0
  243. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedTypeaheadV1Request.mjs +4 -0
  244. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.mts +1 -0
  245. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/index.d.mts +0 -1
  246. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/index.mjs +0 -1
  247. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.d.mts +1 -2
  248. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.mjs +1 -2
  249. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +5 -20
  250. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +15 -79
  251. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.mts +10 -1
  252. package/dist/esm/api/resources/tracking/resources/devices/client/requests/index.d.mts +0 -1
  253. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +4 -21
  254. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +8 -80
  255. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.mts +4 -1
  256. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +0 -1
  257. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.mts +2 -2
  258. package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.mjs +2 -2
  259. package/dist/esm/api/resources/users/resources/directoryEntries/client/Client.d.mts +12 -3
  260. package/dist/esm/api/resources/users/resources/directoryEntries/client/Client.mjs +47 -16
  261. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.d.mts +24 -0
  262. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.mjs +4 -0
  263. package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/index.d.mts +1 -0
  264. package/dist/esm/api/types/CourierConnectionListRes.d.mts +8 -0
  265. package/dist/esm/api/types/CourierConnectionListRes.mjs +4 -0
  266. package/dist/esm/api/types/DeviceLimitedForList1.d.mts +1 -0
  267. package/dist/esm/api/types/DeviceListRes.d.mts +1 -1
  268. package/dist/esm/api/types/DevicePausedTimeWindow1.d.mts +7 -0
  269. package/dist/esm/api/types/DevicePausedTimeWindow1.mjs +4 -0
  270. package/dist/esm/api/types/{DeviceSearchRes.d.mts → DirectoryEntryListRes.d.mts} +2 -2
  271. package/dist/esm/api/types/DirectoryEntryListRes.mjs +4 -0
  272. package/dist/esm/api/types/DirectoryEntrySortByEnum.d.mts +9 -0
  273. package/dist/esm/api/types/DirectoryEntrySortByEnum.mjs +8 -0
  274. package/dist/esm/api/types/{SessionSearchRes.d.mts → DriverListRes.d.mts} +2 -2
  275. package/dist/esm/api/types/DriverListRes.mjs +4 -0
  276. package/dist/esm/api/types/ForwarderConnectionListRes.d.mts +8 -0
  277. package/dist/esm/api/types/ForwarderConnectionListRes.mjs +4 -0
  278. package/dist/esm/api/types/LineItemGroupListRes.d.mts +1 -1
  279. package/dist/esm/api/types/NotificationAdHocListRes.d.mts +8 -0
  280. package/dist/esm/api/types/NotificationAdHocListRes.mjs +4 -0
  281. package/dist/esm/api/types/NotificationGroupListRes.d.mts +8 -0
  282. package/dist/esm/api/types/NotificationGroupListRes.mjs +4 -0
  283. package/dist/esm/api/types/NotificationGroupUserListRes.d.mts +8 -0
  284. package/dist/esm/api/types/NotificationGroupUserListRes.mjs +4 -0
  285. package/dist/esm/api/types/OffChrtShipperOrgListRes.d.mts +8 -0
  286. package/dist/esm/api/types/OffChrtShipperOrgListRes.mjs +4 -0
  287. package/dist/esm/api/types/OrderDraftExpandedListRes.d.mts +1 -1
  288. package/dist/esm/api/types/OrdersExpandedListRes.d.mts +1 -1
  289. package/dist/esm/api/types/OrgMemberListRes.d.mts +8 -0
  290. package/dist/esm/api/types/OrgMemberListRes.mjs +4 -0
  291. package/dist/esm/api/types/OrgMemberSortByEnum.d.mts +8 -0
  292. package/dist/esm/api/types/OrgMemberSortByEnum.mjs +7 -0
  293. package/dist/esm/api/types/OrgMembersAndDriversListRes.d.mts +8 -0
  294. package/dist/esm/api/types/OrgMembersAndDriversListRes.mjs +4 -0
  295. package/dist/esm/api/types/RateSheetListResponse.d.mts +1 -1
  296. package/dist/esm/api/types/SessionListRes.d.mts +1 -1
  297. package/dist/esm/api/types/ShipperConnectionListRes.d.mts +8 -0
  298. package/dist/esm/api/types/ShipperConnectionListRes.mjs +4 -0
  299. package/dist/esm/api/types/StatementsExpandedListRes.d.mts +1 -1
  300. package/dist/esm/api/types/StatementsListRes.d.mts +1 -1
  301. package/dist/esm/api/types/TaskGroupExpandedListRes.d.mts +1 -1
  302. package/dist/esm/api/types/index.d.mts +14 -2
  303. package/dist/esm/api/types/index.mjs +14 -2
  304. package/dist/esm/version.d.mts +1 -1
  305. package/dist/esm/version.mjs +1 -1
  306. package/package.json +1 -1
  307. package/reference.md +307 -185
  308. package/dist/cjs/api/resources/billing/resources/rateSheets/types/RateSheetsListByOrgV1RequestSortOrder.d.ts +0 -8
  309. package/dist/cjs/api/resources/billing/resources/rateSheets/types/RateSheetsListByOrgV1RequestSortOrder.js +0 -10
  310. package/dist/cjs/api/resources/billing/resources/rateSheets/types/index.d.ts +0 -1
  311. package/dist/cjs/api/resources/billing/resources/rateSheets/types/index.js +0 -17
  312. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/types/ExpandedListV1RequestSortOrder.d.ts +0 -8
  313. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/types/ExpandedListV1RequestSortOrder.js +0 -10
  314. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/types/index.d.ts +0 -1
  315. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/types/index.js +0 -17
  316. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/types/ExpandedListForForwarderOperatorsV1RequestSortOrder.d.ts +0 -8
  317. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/types/ExpandedListForForwarderOperatorsV1RequestSortOrder.js +0 -10
  318. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/types/ExpandedListForShipperOperatorsV1RequestSortOrder.d.ts +0 -8
  319. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/types/ExpandedListForShipperOperatorsV1RequestSortOrder.js +0 -10
  320. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/types/index.d.ts +0 -2
  321. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/types/index.js +0 -18
  322. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/types/ExpandedListForCourierDriverV1RequestSortOrder.d.ts +0 -8
  323. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/types/ExpandedListForCourierDriverV1RequestSortOrder.js +0 -10
  324. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/types/ExpandedListForCourierOperatorsV1RequestSortOrder.d.ts +0 -8
  325. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/types/ExpandedListForCourierOperatorsV1RequestSortOrder.js +0 -10
  326. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/types/index.d.ts +0 -2
  327. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/types/index.js +0 -18
  328. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesSearchV1Request.d.ts +0 -21
  329. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsSearchV1Request.d.ts +0 -21
  330. package/dist/esm/api/resources/billing/resources/rateSheets/types/RateSheetsListByOrgV1RequestSortOrder.d.mts +0 -8
  331. package/dist/esm/api/resources/billing/resources/rateSheets/types/RateSheetsListByOrgV1RequestSortOrder.mjs +0 -7
  332. package/dist/esm/api/resources/billing/resources/rateSheets/types/index.d.mts +0 -1
  333. package/dist/esm/api/resources/billing/resources/rateSheets/types/index.mjs +0 -1
  334. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/types/ExpandedListV1RequestSortOrder.d.mts +0 -8
  335. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/types/ExpandedListV1RequestSortOrder.mjs +0 -7
  336. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/types/index.d.mts +0 -1
  337. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/types/index.mjs +0 -1
  338. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/types/ExpandedListForForwarderOperatorsV1RequestSortOrder.d.mts +0 -8
  339. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/types/ExpandedListForForwarderOperatorsV1RequestSortOrder.mjs +0 -7
  340. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/types/ExpandedListForShipperOperatorsV1RequestSortOrder.d.mts +0 -8
  341. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/types/ExpandedListForShipperOperatorsV1RequestSortOrder.mjs +0 -7
  342. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/types/index.d.mts +0 -2
  343. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/types/index.mjs +0 -2
  344. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/types/ExpandedListForCourierDriverV1RequestSortOrder.d.mts +0 -8
  345. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/types/ExpandedListForCourierDriverV1RequestSortOrder.mjs +0 -7
  346. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/types/ExpandedListForCourierOperatorsV1RequestSortOrder.d.mts +0 -8
  347. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/types/ExpandedListForCourierOperatorsV1RequestSortOrder.mjs +0 -7
  348. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/types/index.d.mts +0 -2
  349. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/types/index.mjs +0 -2
  350. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesSearchV1Request.d.mts +0 -21
  351. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsSearchV1Request.d.mts +0 -21
  352. /package/dist/cjs/api/resources/{tracking/resources/devices/client/requests/DevicesSearchV1Request.js → notifications/resources/adHoc/client/requests/AdHocListByOrderIdV1Request.js} +0 -0
  353. /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionsSearchV1Request.js → notifications/resources/groups/client/requests/GroupsListByOrgV1Request.js} +0 -0
  354. /package/dist/cjs/api/{types/DeviceSearchRes.js → resources/notifications/resources/groups/client/requests/GroupsListByUserV1Request.js} +0 -0
  355. /package/dist/cjs/api/{types/SessionSearchRes.js → resources/orgs/client/requests/OrgsListMembersV1Request.js} +0 -0
  356. /package/dist/esm/api/resources/{tracking/resources/devices/client/requests/DevicesSearchV1Request.mjs → notifications/resources/adHoc/client/requests/AdHocListByOrderIdV1Request.mjs} +0 -0
  357. /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionsSearchV1Request.mjs → notifications/resources/groups/client/requests/GroupsListByOrgV1Request.mjs} +0 -0
  358. /package/dist/esm/api/{types/DeviceSearchRes.mjs → resources/notifications/resources/groups/client/requests/GroupsListByUserV1Request.mjs} +0 -0
  359. /package/dist/esm/api/{types/SessionSearchRes.mjs → resources/orgs/client/requests/OrgsListMembersV1Request.mjs} +0 -0
@@ -87,6 +87,7 @@ __exportStar(require("./ChampOriginAndDestination.js"), exports);
87
87
  __exportStar(require("./ChampQuantity.js"), exports);
88
88
  __exportStar(require("./ChrtGroundCourierTaskActionEnum1.js"), exports);
89
89
  __exportStar(require("./ClerkOrgData.js"), exports);
90
+ __exportStar(require("./CourierConnectionListRes.js"), exports);
90
91
  __exportStar(require("./CourierConnectionRes.js"), exports);
91
92
  __exportStar(require("./CourierOrgInfoForConnections1.js"), exports);
92
93
  __exportStar(require("./CourierOrgProfile1.js"), exports);
@@ -98,10 +99,13 @@ __exportStar(require("./CredentialInfoRes.js"), exports);
98
99
  __exportStar(require("./DeviceExpandedRes.js"), exports);
99
100
  __exportStar(require("./DeviceLimitedForList1.js"), exports);
100
101
  __exportStar(require("./DeviceListRes.js"), exports);
101
- __exportStar(require("./DeviceSearchRes.js"), exports);
102
+ __exportStar(require("./DevicePausedTimeWindow1.js"), exports);
102
103
  __exportStar(require("./DeviceSortByEnum.js"), exports);
103
104
  __exportStar(require("./DirectoryEntry1.js"), exports);
105
+ __exportStar(require("./DirectoryEntryListRes.js"), exports);
106
+ __exportStar(require("./DirectoryEntrySortByEnum.js"), exports);
104
107
  __exportStar(require("./Driver1.js"), exports);
108
+ __exportStar(require("./DriverListRes.js"), exports);
105
109
  __exportStar(require("./DriverStatusEnum.js"), exports);
106
110
  __exportStar(require("./DriverUpdateAvailabilityReq.js"), exports);
107
111
  __exportStar(require("./DriverUpdateRes.js"), exports);
@@ -112,6 +116,7 @@ __exportStar(require("./FlightAwareWebhookResponse.js"), exports);
112
116
  __exportStar(require("./FlightInfoForTaskRes.js"), exports);
113
117
  __exportStar(require("./FlightStatusEnum.js"), exports);
114
118
  __exportStar(require("./FlightTaskActionEnum1.js"), exports);
119
+ __exportStar(require("./ForwarderConnectionListRes.js"), exports);
115
120
  __exportStar(require("./ForwarderConnectionRes.js"), exports);
116
121
  __exportStar(require("./ForwarderCourierConnection1.js"), exports);
117
122
  __exportStar(require("./ForwarderOrgInfoForConnections1.js"), exports);
@@ -133,15 +138,19 @@ __exportStar(require("./LocationProperties.js"), exports);
133
138
  __exportStar(require("./MultiLineString.js"), exports);
134
139
  __exportStar(require("./MultiPoint.js"), exports);
135
140
  __exportStar(require("./MultiPolygon.js"), exports);
141
+ __exportStar(require("./NotificationAdHocListRes.js"), exports);
136
142
  __exportStar(require("./NotificationChannelsEnum.js"), exports);
137
143
  __exportStar(require("./NotificationEventsForAdHocEnum.js"), exports);
138
144
  __exportStar(require("./NotificationEventsForOrgsEnum.js"), exports);
139
145
  __exportStar(require("./NotificationEventsForUsersEnum.js"), exports);
140
146
  __exportStar(require("./NotificationGroup1.js"), exports);
141
147
  __exportStar(require("./NotificationGroupLimitedForDriver1.js"), exports);
148
+ __exportStar(require("./NotificationGroupListRes.js"), exports);
149
+ __exportStar(require("./NotificationGroupUserListRes.js"), exports);
142
150
  __exportStar(require("./NotificationIntentAdHoc1.js"), exports);
143
151
  __exportStar(require("./NotificationUserPreferences1.js"), exports);
144
152
  __exportStar(require("./OffChrtShipperOrg1.js"), exports);
153
+ __exportStar(require("./OffChrtShipperOrgListRes.js"), exports);
145
154
  __exportStar(require("./OnboardCourierTaskActionEnum1.js"), exports);
146
155
  __exportStar(require("./Order1.js"), exports);
147
156
  __exportStar(require("./OrderAndTaskGroupExpandedReq.js"), exports);
@@ -157,7 +166,10 @@ __exportStar(require("./OrdersExpandedListRes.js"), exports);
157
166
  __exportStar(require("./OrdersNewDraftRes.js"), exports);
158
167
  __exportStar(require("./OrgInfoResponse.js"), exports);
159
168
  __exportStar(require("./OrgMemberDetails.js"), exports);
169
+ __exportStar(require("./OrgMemberListRes.js"), exports);
170
+ __exportStar(require("./OrgMemberSortByEnum.js"), exports);
160
171
  __exportStar(require("./OrgMembersAndDrivers.js"), exports);
172
+ __exportStar(require("./OrgMembersAndDriversListRes.js"), exports);
161
173
  __exportStar(require("./OrgPrivateData1.js"), exports);
162
174
  __exportStar(require("./OrgProfileRes1.js"), exports);
163
175
  __exportStar(require("./OrgPublicData1.js"), exports);
@@ -184,10 +196,10 @@ __exportStar(require("./SessionByDeviceDataPointMetadata1.js"), exports);
184
196
  __exportStar(require("./SessionByDeviceHistoryRes1.js"), exports);
185
197
  __exportStar(require("./SessionByDeviceMarkOutliersResponse1.js"), exports);
186
198
  __exportStar(require("./SessionListRes.js"), exports);
187
- __exportStar(require("./SessionSearchRes.js"), exports);
188
199
  __exportStar(require("./SessionSortByEnum.js"), exports);
189
200
  __exportStar(require("./SetFlightInfoReq.js"), exports);
190
201
  __exportStar(require("./SettlementTypeEnum1.js"), exports);
202
+ __exportStar(require("./ShipperConnectionListRes.js"), exports);
191
203
  __exportStar(require("./ShipperConnectionRes.js"), exports);
192
204
  __exportStar(require("./ShipperCourierConnection1.js"), exports);
193
205
  __exportStar(require("./ShipperForwarderConnection1.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.530.1";
1
+ export declare const SDK_VERSION = "1.539.1";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.530.1";
4
+ exports.SDK_VERSION = "1.539.1";
@@ -17,8 +17,8 @@ export class ChrtClient {
17
17
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
18
18
  "X-Fern-Language": "JavaScript",
19
19
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
20
- "X-Fern-SDK-Version": "1.530.1",
21
- "User-Agent": "@chrt-inc/typescript-sdk/1.530.1",
20
+ "X-Fern-SDK-Version": "1.539.1",
21
+ "User-Agent": "@chrt-inc/typescript-sdk/1.539.1",
22
22
  "X-Fern-Runtime": core.RUNTIME.type,
23
23
  "X-Fern-Runtime-Version": core.RUNTIME.version,
24
24
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -1,2 +1,2 @@
1
- export * from "./resources/index.mjs";
2
1
  export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -1,2 +1,2 @@
1
- export * from "./resources/index.mjs";
2
1
  export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -1,6 +1,5 @@
1
- export * as rateSheets from "./rateSheets/index.mjs";
2
- export * from "./rateSheets/types/index.mjs";
3
1
  export * as lineItemGroups from "./lineItemGroups/index.mjs";
2
+ export * as rateSheets from "./rateSheets/index.mjs";
4
3
  export * as statements from "./statements/index.mjs";
5
4
  export * as stripe from "./stripe/index.mjs";
6
5
  export * as stripeConnect from "./stripeConnect/index.mjs";
@@ -1,6 +1,5 @@
1
- export * as rateSheets from "./rateSheets/index.mjs";
2
- export * from "./rateSheets/types/index.mjs";
3
1
  export * as lineItemGroups from "./lineItemGroups/index.mjs";
2
+ export * as rateSheets from "./rateSheets/index.mjs";
4
3
  export * as statements from "./statements/index.mjs";
5
4
  export * as stripe from "./stripe/index.mjs";
6
5
  export * as stripeConnect from "./stripeConnect/index.mjs";
@@ -66,6 +66,7 @@ export declare class LineItemGroups {
66
66
  * filter_attached_to_statement: true,
67
67
  * filter_order_id: "filter_order_id",
68
68
  * filter_payment_role: "origin",
69
+ * sort_order: "asc",
69
70
  * page: 1,
70
71
  * page_size: 1
71
72
  * })
@@ -107,6 +107,7 @@ export class LineItemGroups {
107
107
  * filter_attached_to_statement: true,
108
108
  * filter_order_id: "filter_order_id",
109
109
  * filter_payment_role: "origin",
110
+ * sort_order: "asc",
110
111
  * page: 1,
111
112
  * page_size: 1
112
113
  * })
@@ -117,7 +118,7 @@ export class LineItemGroups {
117
118
  __listForCourierOrgV1() {
118
119
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
119
120
  var _a, _b, _c, _d, _e, _f, _g;
120
- const { filter_driver_id: filterDriverId, filter_status: filterStatus, filter_attached_to_statement: filterAttachedToStatement, filter_order_id: filterOrderId, filter_payment_role: filterPaymentRole, page, page_size: pageSize, } = request;
121
+ const { filter_driver_id: filterDriverId, filter_status: filterStatus, filter_attached_to_statement: filterAttachedToStatement, filter_order_id: filterOrderId, filter_payment_role: filterPaymentRole, sort_order: sortOrder, page, page_size: pageSize, } = request;
121
122
  const _queryParams = {};
122
123
  if (filterDriverId !== undefined) {
123
124
  _queryParams["filter_driver_id"] = filterDriverId;
@@ -139,6 +140,9 @@ export class LineItemGroups {
139
140
  if (filterPaymentRole !== undefined) {
140
141
  _queryParams["filter_payment_role"] = filterPaymentRole;
141
142
  }
143
+ if (sortOrder !== undefined) {
144
+ _queryParams["sort_order"] = sortOrder;
145
+ }
142
146
  if (page !== undefined) {
143
147
  _queryParams["page"] = (_b = page === null || page === void 0 ? void 0 : page.toString()) !== null && _b !== void 0 ? _b : null;
144
148
  }
@@ -9,6 +9,7 @@ import * as Chrt from "../../../../../../index.mjs";
9
9
  * filter_attached_to_statement: true,
10
10
  * filter_order_id: "filter_order_id",
11
11
  * filter_payment_role: "origin",
12
+ * sort_order: "asc",
12
13
  * page: 1,
13
14
  * page_size: 1
14
15
  * }
@@ -24,6 +25,8 @@ export interface LineItemGroupsListForCourierOrgV1Request {
24
25
  filter_order_id?: string | null;
25
26
  /** Filter by payment role: origin (courier pays) or destination (courier receives). Returns both if not specified. */
26
27
  filter_payment_role?: Chrt.PaymentRoleFilterEnum | null;
28
+ /** Sort order (asc or desc) */
29
+ sort_order?: Chrt.SortOrderEnum | null;
27
30
  page?: number | null;
28
31
  page_size?: number | null;
29
32
  }
@@ -58,7 +58,7 @@ export declare class RateSheets {
58
58
  updateV1(rateSheetId: string, request?: Chrt.billing.RateSheetClientUpdate1, requestOptions?: RateSheets.RequestOptions): core.HttpResponsePromise<Chrt.RateSheet1>;
59
59
  private __updateV1;
60
60
  /**
61
- * Lists rate sheets for the caller's organization with filtering, sorting, and pagination. | authz: allowed_org_types=[courier, forwarder], min_org_role=operator | () -> (RateSheetListResponse)
61
+ * Lists rate sheets for the caller's organization with filtering, sorting, pagination, and optional full-text search. | authz: allowed_org_types=[courier, forwarder], min_org_role=operator | () -> (RateSheetListResponse)
62
62
  *
63
63
  * @param {Chrt.billing.RateSheetsListByOrgV1Request} request
64
64
  * @param {RateSheets.RequestOptions} requestOptions - Request-specific configuration.
@@ -68,9 +68,10 @@ export declare class RateSheets {
68
68
  * @example
69
69
  * await client.billing.rateSheets.listByOrgV1({
70
70
  * sort_by: "id",
71
- * sort_order: "ascending",
71
+ * sort_order: "asc",
72
72
  * page: 1,
73
73
  * page_size: 1,
74
+ * search: "search",
74
75
  * filter_archived: true,
75
76
  * filter_payment_vector_type: "shipper_pay_forwarder",
76
77
  * filter_service_type: "on_demand",
@@ -153,7 +153,7 @@ export class RateSheets {
153
153
  });
154
154
  }
155
155
  /**
156
- * Lists rate sheets for the caller's organization with filtering, sorting, and pagination. | authz: allowed_org_types=[courier, forwarder], min_org_role=operator | () -> (RateSheetListResponse)
156
+ * Lists rate sheets for the caller's organization with filtering, sorting, pagination, and optional full-text search. | authz: allowed_org_types=[courier, forwarder], min_org_role=operator | () -> (RateSheetListResponse)
157
157
  *
158
158
  * @param {Chrt.billing.RateSheetsListByOrgV1Request} request
159
159
  * @param {RateSheets.RequestOptions} requestOptions - Request-specific configuration.
@@ -163,9 +163,10 @@ export class RateSheets {
163
163
  * @example
164
164
  * await client.billing.rateSheets.listByOrgV1({
165
165
  * sort_by: "id",
166
- * sort_order: "ascending",
166
+ * sort_order: "asc",
167
167
  * page: 1,
168
168
  * page_size: 1,
169
+ * search: "search",
169
170
  * filter_archived: true,
170
171
  * filter_payment_vector_type: "shipper_pay_forwarder",
171
172
  * filter_service_type: "on_demand",
@@ -179,7 +180,7 @@ export class RateSheets {
179
180
  __listByOrgV1() {
180
181
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
181
182
  var _a, _b, _c, _d, _e, _f, _g;
182
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_archived: filterArchived, filter_payment_vector_type: filterPaymentVectorType, filter_service_type: filterServiceType, filter_cargo_type: filterCargoType, filter_vehicle_type: filterVehicleType, } = request;
183
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_payment_vector_type: filterPaymentVectorType, filter_service_type: filterServiceType, filter_cargo_type: filterCargoType, filter_vehicle_type: filterVehicleType, } = request;
183
184
  const _queryParams = {};
184
185
  if (sortBy !== undefined) {
185
186
  _queryParams["sort_by"] = sortBy;
@@ -193,6 +194,9 @@ export class RateSheets {
193
194
  if (pageSize !== undefined) {
194
195
  _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
195
196
  }
197
+ if (search !== undefined) {
198
+ _queryParams["search"] = search;
199
+ }
196
200
  if (filterArchived !== undefined) {
197
201
  _queryParams["filter_archived"] = (_c = filterArchived === null || filterArchived === void 0 ? void 0 : filterArchived.toString()) !== null && _c !== void 0 ? _c : null;
198
202
  }
@@ -6,9 +6,10 @@ import * as Chrt from "../../../../../../index.mjs";
6
6
  * @example
7
7
  * {
8
8
  * sort_by: "id",
9
- * sort_order: "ascending",
9
+ * sort_order: "asc",
10
10
  * page: 1,
11
11
  * page_size: 1,
12
+ * search: "search",
12
13
  * filter_archived: true,
13
14
  * filter_payment_vector_type: "shipper_pay_forwarder",
14
15
  * filter_service_type: "on_demand",
@@ -18,9 +19,12 @@ import * as Chrt from "../../../../../../index.mjs";
18
19
  */
19
20
  export interface RateSheetsListByOrgV1Request {
20
21
  sort_by?: Chrt.RateSheetSortByEnum | null;
21
- sort_order?: Chrt.billing.RateSheetsListByOrgV1RequestSortOrder | null;
22
+ /** Sort order (asc or desc) */
23
+ sort_order?: Chrt.SortOrderEnum | null;
22
24
  page?: number | null;
23
25
  page_size?: number | null;
26
+ /** Full-text search query */
27
+ search?: string | null;
24
28
  filter_archived?: boolean | null;
25
29
  filter_payment_vector_type?: Chrt.PaymentVectorTypeEnum1 | null;
26
30
  /** Filter by service type (exact match) */
@@ -1,2 +1 @@
1
- export * from "./types/index.mjs";
2
1
  export * from "./client/index.mjs";
@@ -1,2 +1 @@
1
- export * from "./types/index.mjs";
2
1
  export * from "./client/index.mjs";
@@ -88,6 +88,7 @@ export declare class Statements {
88
88
  * filter_settlement_type: "stripe_connect",
89
89
  * filter_order_id: "filter_order_id",
90
90
  * filter_payment_origin_org_id: "filter_payment_origin_org_id",
91
+ * filter_payment_origin_off_chrt_shipper_org_id: "filter_payment_origin_off_chrt_shipper_org_id",
91
92
  * filter_payment_destination_org_id: "filter_payment_destination_org_id",
92
93
  * filter_owned_by_org_id: "filter_owned_by_org_id",
93
94
  * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -95,7 +96,9 @@ export declare class Statements {
95
96
  * filter_opened_at_timestamp_gte: "2024-01-15T09:30:00Z",
96
97
  * filter_opened_at_timestamp_lte: "2024-01-15T09:30:00Z",
97
98
  * filter_paid_at_timestamp_gte: "2024-01-15T09:30:00Z",
98
- * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z"
99
+ * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z",
100
+ * filter_uncollectible_at_timestamp_gte: "2024-01-15T09:30:00Z",
101
+ * filter_uncollectible_at_timestamp_lte: "2024-01-15T09:30:00Z"
99
102
  * })
100
103
  */
101
104
  listV1(request?: Chrt.billing.StatementsListV1Request, requestOptions?: Statements.RequestOptions): core.HttpResponsePromise<Chrt.StatementsListRes>;
@@ -117,6 +120,7 @@ export declare class Statements {
117
120
  * filter_settlement_type: "stripe_connect",
118
121
  * filter_order_id: "filter_order_id",
119
122
  * filter_payment_origin_org_id: "filter_payment_origin_org_id",
123
+ * filter_payment_origin_off_chrt_shipper_org_id: "filter_payment_origin_off_chrt_shipper_org_id",
120
124
  * filter_payment_destination_org_id: "filter_payment_destination_org_id",
121
125
  * filter_owned_by_org_id: "filter_owned_by_org_id",
122
126
  * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -124,7 +128,9 @@ export declare class Statements {
124
128
  * filter_opened_at_timestamp_gte: "2024-01-15T09:30:00Z",
125
129
  * filter_opened_at_timestamp_lte: "2024-01-15T09:30:00Z",
126
130
  * filter_paid_at_timestamp_gte: "2024-01-15T09:30:00Z",
127
- * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z"
131
+ * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z",
132
+ * filter_uncollectible_at_timestamp_gte: "2024-01-15T09:30:00Z",
133
+ * filter_uncollectible_at_timestamp_lte: "2024-01-15T09:30:00Z"
128
134
  * })
129
135
  */
130
136
  expandedListV1(request?: Chrt.billing.StatementsExpandedListV1Request, requestOptions?: Statements.RequestOptions): core.HttpResponsePromise<Chrt.StatementsExpandedListRes>;
@@ -218,6 +218,7 @@ export class Statements {
218
218
  * filter_settlement_type: "stripe_connect",
219
219
  * filter_order_id: "filter_order_id",
220
220
  * filter_payment_origin_org_id: "filter_payment_origin_org_id",
221
+ * filter_payment_origin_off_chrt_shipper_org_id: "filter_payment_origin_off_chrt_shipper_org_id",
221
222
  * filter_payment_destination_org_id: "filter_payment_destination_org_id",
222
223
  * filter_owned_by_org_id: "filter_owned_by_org_id",
223
224
  * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -225,7 +226,9 @@ export class Statements {
225
226
  * filter_opened_at_timestamp_gte: "2024-01-15T09:30:00Z",
226
227
  * filter_opened_at_timestamp_lte: "2024-01-15T09:30:00Z",
227
228
  * filter_paid_at_timestamp_gte: "2024-01-15T09:30:00Z",
228
- * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z"
229
+ * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z",
230
+ * filter_uncollectible_at_timestamp_gte: "2024-01-15T09:30:00Z",
231
+ * filter_uncollectible_at_timestamp_lte: "2024-01-15T09:30:00Z"
229
232
  * })
230
233
  */
231
234
  listV1(request = {}, requestOptions) {
@@ -234,7 +237,7 @@ export class Statements {
234
237
  __listV1() {
235
238
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
236
239
  var _a, _b, _c, _d, _e, _f;
237
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_status: filterStatus, filter_settlement_type: filterSettlementType, filter_order_id: filterOrderId, filter_payment_origin_org_id: filterPaymentOriginOrgId, filter_payment_destination_org_id: filterPaymentDestinationOrgId, filter_owned_by_org_id: filterOwnedByOrgId, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_opened_at_timestamp_gte: filterOpenedAtTimestampGte, filter_opened_at_timestamp_lte: filterOpenedAtTimestampLte, filter_paid_at_timestamp_gte: filterPaidAtTimestampGte, filter_paid_at_timestamp_lte: filterPaidAtTimestampLte, } = request;
240
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_status: filterStatus, filter_settlement_type: filterSettlementType, filter_order_id: filterOrderId, filter_payment_origin_org_id: filterPaymentOriginOrgId, filter_payment_origin_off_chrt_shipper_org_id: filterPaymentOriginOffChrtShipperOrgId, filter_payment_destination_org_id: filterPaymentDestinationOrgId, filter_owned_by_org_id: filterOwnedByOrgId, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_opened_at_timestamp_gte: filterOpenedAtTimestampGte, filter_opened_at_timestamp_lte: filterOpenedAtTimestampLte, filter_paid_at_timestamp_gte: filterPaidAtTimestampGte, filter_paid_at_timestamp_lte: filterPaidAtTimestampLte, filter_uncollectible_at_timestamp_gte: filterUncollectibleAtTimestampGte, filter_uncollectible_at_timestamp_lte: filterUncollectibleAtTimestampLte, } = request;
238
241
  const _queryParams = {};
239
242
  if (sortBy !== undefined) {
240
243
  _queryParams["sort_by"] = sortBy;
@@ -265,6 +268,9 @@ export class Statements {
265
268
  if (filterPaymentOriginOrgId !== undefined) {
266
269
  _queryParams["filter_payment_origin_org_id"] = filterPaymentOriginOrgId;
267
270
  }
271
+ if (filterPaymentOriginOffChrtShipperOrgId !== undefined) {
272
+ _queryParams["filter_payment_origin_off_chrt_shipper_org_id"] = filterPaymentOriginOffChrtShipperOrgId;
273
+ }
268
274
  if (filterPaymentDestinationOrgId !== undefined) {
269
275
  _queryParams["filter_payment_destination_org_id"] = filterPaymentDestinationOrgId;
270
276
  }
@@ -289,6 +295,12 @@ export class Statements {
289
295
  if (filterPaidAtTimestampLte !== undefined) {
290
296
  _queryParams["filter_paid_at_timestamp_lte"] = filterPaidAtTimestampLte;
291
297
  }
298
+ if (filterUncollectibleAtTimestampGte !== undefined) {
299
+ _queryParams["filter_uncollectible_at_timestamp_gte"] = filterUncollectibleAtTimestampGte;
300
+ }
301
+ if (filterUncollectibleAtTimestampLte !== undefined) {
302
+ _queryParams["filter_uncollectible_at_timestamp_lte"] = filterUncollectibleAtTimestampLte;
303
+ }
292
304
  let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
293
305
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
294
306
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "billing/statements/list/v1"),
@@ -348,6 +360,7 @@ export class Statements {
348
360
  * filter_settlement_type: "stripe_connect",
349
361
  * filter_order_id: "filter_order_id",
350
362
  * filter_payment_origin_org_id: "filter_payment_origin_org_id",
363
+ * filter_payment_origin_off_chrt_shipper_org_id: "filter_payment_origin_off_chrt_shipper_org_id",
351
364
  * filter_payment_destination_org_id: "filter_payment_destination_org_id",
352
365
  * filter_owned_by_org_id: "filter_owned_by_org_id",
353
366
  * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -355,7 +368,9 @@ export class Statements {
355
368
  * filter_opened_at_timestamp_gte: "2024-01-15T09:30:00Z",
356
369
  * filter_opened_at_timestamp_lte: "2024-01-15T09:30:00Z",
357
370
  * filter_paid_at_timestamp_gte: "2024-01-15T09:30:00Z",
358
- * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z"
371
+ * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z",
372
+ * filter_uncollectible_at_timestamp_gte: "2024-01-15T09:30:00Z",
373
+ * filter_uncollectible_at_timestamp_lte: "2024-01-15T09:30:00Z"
359
374
  * })
360
375
  */
361
376
  expandedListV1(request = {}, requestOptions) {
@@ -364,7 +379,7 @@ export class Statements {
364
379
  __expandedListV1() {
365
380
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
366
381
  var _a, _b, _c, _d, _e, _f;
367
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_status: filterStatus, filter_settlement_type: filterSettlementType, filter_order_id: filterOrderId, filter_payment_origin_org_id: filterPaymentOriginOrgId, filter_payment_destination_org_id: filterPaymentDestinationOrgId, filter_owned_by_org_id: filterOwnedByOrgId, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_opened_at_timestamp_gte: filterOpenedAtTimestampGte, filter_opened_at_timestamp_lte: filterOpenedAtTimestampLte, filter_paid_at_timestamp_gte: filterPaidAtTimestampGte, filter_paid_at_timestamp_lte: filterPaidAtTimestampLte, } = request;
382
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_status: filterStatus, filter_settlement_type: filterSettlementType, filter_order_id: filterOrderId, filter_payment_origin_org_id: filterPaymentOriginOrgId, filter_payment_origin_off_chrt_shipper_org_id: filterPaymentOriginOffChrtShipperOrgId, filter_payment_destination_org_id: filterPaymentDestinationOrgId, filter_owned_by_org_id: filterOwnedByOrgId, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_opened_at_timestamp_gte: filterOpenedAtTimestampGte, filter_opened_at_timestamp_lte: filterOpenedAtTimestampLte, filter_paid_at_timestamp_gte: filterPaidAtTimestampGte, filter_paid_at_timestamp_lte: filterPaidAtTimestampLte, filter_uncollectible_at_timestamp_gte: filterUncollectibleAtTimestampGte, filter_uncollectible_at_timestamp_lte: filterUncollectibleAtTimestampLte, } = request;
368
383
  const _queryParams = {};
369
384
  if (sortBy !== undefined) {
370
385
  _queryParams["sort_by"] = sortBy;
@@ -395,6 +410,9 @@ export class Statements {
395
410
  if (filterPaymentOriginOrgId !== undefined) {
396
411
  _queryParams["filter_payment_origin_org_id"] = filterPaymentOriginOrgId;
397
412
  }
413
+ if (filterPaymentOriginOffChrtShipperOrgId !== undefined) {
414
+ _queryParams["filter_payment_origin_off_chrt_shipper_org_id"] = filterPaymentOriginOffChrtShipperOrgId;
415
+ }
398
416
  if (filterPaymentDestinationOrgId !== undefined) {
399
417
  _queryParams["filter_payment_destination_org_id"] = filterPaymentDestinationOrgId;
400
418
  }
@@ -419,6 +437,12 @@ export class Statements {
419
437
  if (filterPaidAtTimestampLte !== undefined) {
420
438
  _queryParams["filter_paid_at_timestamp_lte"] = filterPaidAtTimestampLte;
421
439
  }
440
+ if (filterUncollectibleAtTimestampGte !== undefined) {
441
+ _queryParams["filter_uncollectible_at_timestamp_gte"] = filterUncollectibleAtTimestampGte;
442
+ }
443
+ if (filterUncollectibleAtTimestampLte !== undefined) {
444
+ _queryParams["filter_uncollectible_at_timestamp_lte"] = filterUncollectibleAtTimestampLte;
445
+ }
422
446
  let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
423
447
  const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
424
448
  url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "billing/statements/expanded/list/v1"),
@@ -12,6 +12,7 @@ import * as Chrt from "../../../../../../index.mjs";
12
12
  * filter_settlement_type: "stripe_connect",
13
13
  * filter_order_id: "filter_order_id",
14
14
  * filter_payment_origin_org_id: "filter_payment_origin_org_id",
15
+ * filter_payment_origin_off_chrt_shipper_org_id: "filter_payment_origin_off_chrt_shipper_org_id",
15
16
  * filter_payment_destination_org_id: "filter_payment_destination_org_id",
16
17
  * filter_owned_by_org_id: "filter_owned_by_org_id",
17
18
  * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -19,7 +20,9 @@ import * as Chrt from "../../../../../../index.mjs";
19
20
  * filter_opened_at_timestamp_gte: "2024-01-15T09:30:00Z",
20
21
  * filter_opened_at_timestamp_lte: "2024-01-15T09:30:00Z",
21
22
  * filter_paid_at_timestamp_gte: "2024-01-15T09:30:00Z",
22
- * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z"
23
+ * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z",
24
+ * filter_uncollectible_at_timestamp_gte: "2024-01-15T09:30:00Z",
25
+ * filter_uncollectible_at_timestamp_lte: "2024-01-15T09:30:00Z"
23
26
  * }
24
27
  */
25
28
  export interface StatementsExpandedListV1Request {
@@ -37,6 +40,8 @@ export interface StatementsExpandedListV1Request {
37
40
  filter_order_id?: string | null;
38
41
  /** Filter by payment origin org ID */
39
42
  filter_payment_origin_org_id?: string | null;
43
+ /** Filter by payment origin off-chrt shipper org ID */
44
+ filter_payment_origin_off_chrt_shipper_org_id?: string | null;
40
45
  /** Filter by payment destination org ID */
41
46
  filter_payment_destination_org_id?: string | null;
42
47
  /** Filter by owned by org ID */
@@ -53,4 +58,8 @@ export interface StatementsExpandedListV1Request {
53
58
  filter_paid_at_timestamp_gte?: string | null;
54
59
  /** Filter by paid_at_timestamp <= value */
55
60
  filter_paid_at_timestamp_lte?: string | null;
61
+ /** Filter by uncollectible_at_timestamp >= value */
62
+ filter_uncollectible_at_timestamp_gte?: string | null;
63
+ /** Filter by uncollectible_at_timestamp <= value */
64
+ filter_uncollectible_at_timestamp_lte?: string | null;
56
65
  }
@@ -12,6 +12,7 @@ import * as Chrt from "../../../../../../index.mjs";
12
12
  * filter_settlement_type: "stripe_connect",
13
13
  * filter_order_id: "filter_order_id",
14
14
  * filter_payment_origin_org_id: "filter_payment_origin_org_id",
15
+ * filter_payment_origin_off_chrt_shipper_org_id: "filter_payment_origin_off_chrt_shipper_org_id",
15
16
  * filter_payment_destination_org_id: "filter_payment_destination_org_id",
16
17
  * filter_owned_by_org_id: "filter_owned_by_org_id",
17
18
  * filter_staged_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -19,7 +20,9 @@ import * as Chrt from "../../../../../../index.mjs";
19
20
  * filter_opened_at_timestamp_gte: "2024-01-15T09:30:00Z",
20
21
  * filter_opened_at_timestamp_lte: "2024-01-15T09:30:00Z",
21
22
  * filter_paid_at_timestamp_gte: "2024-01-15T09:30:00Z",
22
- * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z"
23
+ * filter_paid_at_timestamp_lte: "2024-01-15T09:30:00Z",
24
+ * filter_uncollectible_at_timestamp_gte: "2024-01-15T09:30:00Z",
25
+ * filter_uncollectible_at_timestamp_lte: "2024-01-15T09:30:00Z"
23
26
  * }
24
27
  */
25
28
  export interface StatementsListV1Request {
@@ -37,6 +40,8 @@ export interface StatementsListV1Request {
37
40
  filter_order_id?: string | null;
38
41
  /** Filter by payment origin org ID */
39
42
  filter_payment_origin_org_id?: string | null;
43
+ /** Filter by payment origin off-chrt shipper org ID */
44
+ filter_payment_origin_off_chrt_shipper_org_id?: string | null;
40
45
  /** Filter by payment destination org ID */
41
46
  filter_payment_destination_org_id?: string | null;
42
47
  /** Filter by owned by org ID */
@@ -53,4 +58,8 @@ export interface StatementsListV1Request {
53
58
  filter_paid_at_timestamp_gte?: string | null;
54
59
  /** Filter by paid_at_timestamp <= value */
55
60
  filter_paid_at_timestamp_lte?: string | null;
61
+ /** Filter by uncollectible_at_timestamp >= value */
62
+ filter_uncollectible_at_timestamp_gte?: string | null;
63
+ /** Filter by uncollectible_at_timestamp <= value */
64
+ filter_uncollectible_at_timestamp_lte?: string | null;
56
65
  }
@@ -1,10 +1,10 @@
1
- export * as billing from "./billing/index.mjs";
2
1
  export * as orgs from "./orgs/index.mjs";
3
- export * as shipping from "./shipping/index.mjs";
4
2
  export * as utils from "./utils/index.mjs";
5
3
  export * as analytics from "./analytics/index.mjs";
4
+ export * as billing from "./billing/index.mjs";
6
5
  export * as integrations from "./integrations/index.mjs";
7
6
  export * as notifications from "./notifications/index.mjs";
7
+ export * as shipping from "./shipping/index.mjs";
8
8
  export * as tracking from "./tracking/index.mjs";
9
9
  export * as users from "./users/index.mjs";
10
10
  export * from "./orgs/client/requests/index.mjs";
@@ -1,10 +1,10 @@
1
- export * as billing from "./billing/index.mjs";
2
1
  export * as orgs from "./orgs/index.mjs";
3
- export * as shipping from "./shipping/index.mjs";
4
2
  export * as utils from "./utils/index.mjs";
5
3
  export * as analytics from "./analytics/index.mjs";
4
+ export * as billing from "./billing/index.mjs";
6
5
  export * as integrations from "./integrations/index.mjs";
7
6
  export * as notifications from "./notifications/index.mjs";
7
+ export * as shipping from "./shipping/index.mjs";
8
8
  export * as tracking from "./tracking/index.mjs";
9
9
  export * as users from "./users/index.mjs";
10
10
  export * from "./orgs/client/requests/index.mjs";
@@ -31,17 +31,21 @@ export declare class AdHoc {
31
31
  protected readonly _options: AdHoc.Options;
32
32
  constructor(_options?: AdHoc.Options);
33
33
  /**
34
- * Lists all ad-hoc notification intents for an order. | authz: min_org_role=operator | () -> (list[NotificationIntentAdHoc1])
34
+ * Lists all ad-hoc notification intents for an order. | authz: min_org_role=operator | () -> (NotificationAdHocListRes)
35
35
  *
36
36
  * @param {string} orderId
37
+ * @param {Chrt.notifications.AdHocListByOrderIdV1Request} request
37
38
  * @param {AdHoc.RequestOptions} requestOptions - Request-specific configuration.
38
39
  *
39
40
  * @throws {@link Chrt.UnprocessableEntityError}
40
41
  *
41
42
  * @example
42
- * await client.notifications.adHoc.listByOrderIdV1("order_id")
43
+ * await client.notifications.adHoc.listByOrderIdV1("order_id", {
44
+ * page: 1,
45
+ * page_size: 1
46
+ * })
43
47
  */
44
- listByOrderIdV1(orderId: string, requestOptions?: AdHoc.RequestOptions): core.HttpResponsePromise<Chrt.NotificationIntentAdHoc1[]>;
48
+ listByOrderIdV1(orderId: string, request?: Chrt.notifications.AdHocListByOrderIdV1Request, requestOptions?: AdHoc.RequestOptions): core.HttpResponsePromise<Chrt.NotificationAdHocListRes>;
45
49
  private __listByOrderIdV1;
46
50
  /**
47
51
  * Creates a new ad-hoc notification intent for an order. | authz: min_org_role=operator | (NotificationIntentAdHocClientCreate1) -> (PydanticObjectId)
@@ -20,28 +20,40 @@ export class AdHoc {
20
20
  this._options = _options;
21
21
  }
22
22
  /**
23
- * Lists all ad-hoc notification intents for an order. | authz: min_org_role=operator | () -> (list[NotificationIntentAdHoc1])
23
+ * Lists all ad-hoc notification intents for an order. | authz: min_org_role=operator | () -> (NotificationAdHocListRes)
24
24
  *
25
25
  * @param {string} orderId
26
+ * @param {Chrt.notifications.AdHocListByOrderIdV1Request} request
26
27
  * @param {AdHoc.RequestOptions} requestOptions - Request-specific configuration.
27
28
  *
28
29
  * @throws {@link Chrt.UnprocessableEntityError}
29
30
  *
30
31
  * @example
31
- * await client.notifications.adHoc.listByOrderIdV1("order_id")
32
+ * await client.notifications.adHoc.listByOrderIdV1("order_id", {
33
+ * page: 1,
34
+ * page_size: 1
35
+ * })
32
36
  */
33
- listByOrderIdV1(orderId, requestOptions) {
34
- return core.HttpResponsePromise.fromPromise(this.__listByOrderIdV1(orderId, requestOptions));
37
+ listByOrderIdV1(orderId, request = {}, requestOptions) {
38
+ return core.HttpResponsePromise.fromPromise(this.__listByOrderIdV1(orderId, request, requestOptions));
35
39
  }
36
- __listByOrderIdV1(orderId, 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, `notifications/ad_hoc/list_by_order_id/v1/${encodeURIComponent(orderId)}`),
40
+ __listByOrderIdV1(orderId_1) {
41
+ return __awaiter(this, arguments, void 0, function* (orderId, request = {}, requestOptions) {
42
+ var _a, _b, _c, _d, _e, _f;
43
+ const { page, page_size: pageSize } = request;
44
+ const _queryParams = {};
45
+ if (page !== undefined) {
46
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
47
+ }
48
+ if (pageSize !== undefined) {
49
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
50
+ }
51
+ let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
52
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
53
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, `notifications/ad_hoc/list_by_order_id/v1/${encodeURIComponent(orderId)}`),
42
54
  method: "GET",
43
55
  headers: _headers,
44
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
56
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
45
57
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
46
58
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
47
59
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * page: 1,
8
+ * page_size: 1
9
+ * }
10
+ */
11
+ export interface AdHocListByOrderIdV1Request {
12
+ page?: number | null;
13
+ page_size?: number | null;
14
+ }
@@ -1 +1,2 @@
1
+ export { type AdHocListByOrderIdV1Request } from "./AdHocListByOrderIdV1Request.mjs";
1
2
  export { type NotificationIntentAdHocClientCreate1 } from "./NotificationIntentAdHocClientCreate1.mjs";