@chrt-inc/typescript-sdk 1.654.0 → 1.659.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 (188) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billing/client/Client.d.ts +3 -0
  3. package/dist/cjs/api/resources/billing/client/Client.js +5 -0
  4. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.ts +1 -0
  5. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +1 -0
  6. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.ts +1 -0
  7. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.d.ts +1 -0
  8. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +1 -0
  9. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.ts +1 -0
  10. package/dist/cjs/api/resources/billing/resources/index.d.ts +1 -0
  11. package/dist/cjs/api/resources/billing/resources/index.js +2 -1
  12. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +14 -0
  13. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +60 -0
  14. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.ts +1 -0
  15. package/dist/cjs/api/resources/billing/resources/lineItems/client/Client.d.ts +23 -0
  16. package/dist/cjs/api/resources/billing/resources/lineItems/client/Client.js +17 -0
  17. package/dist/cjs/api/resources/billing/resources/lineItems/client/index.d.ts +1 -0
  18. package/dist/cjs/api/resources/billing/resources/lineItems/client/index.js +2 -0
  19. package/dist/cjs/api/resources/billing/resources/lineItems/index.d.ts +2 -0
  20. package/dist/cjs/api/resources/billing/resources/lineItems/index.js +18 -0
  21. package/dist/cjs/api/resources/billing/resources/lineItems/resources/index.d.ts +2 -0
  22. package/dist/cjs/api/resources/billing/resources/lineItems/resources/index.js +41 -0
  23. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.d.ts +83 -0
  24. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.js +308 -0
  25. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/index.d.ts +2 -0
  26. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/index.js +17 -0
  27. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/BodyLineItemsS3ObjectPostAddV1BillingLineItemsS3ObjectsAddV1LineItemIdPost.d.ts +13 -0
  28. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/index.d.ts +1 -0
  29. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/index.js +2 -0
  30. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/index.d.ts +1 -0
  31. package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/index.js +17 -0
  32. package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +2 -0
  33. package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +2 -0
  34. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +1 -0
  35. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +1 -0
  36. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +2 -0
  37. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +2 -0
  38. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.ts +1 -0
  39. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.ts +1 -0
  40. package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +10 -4
  41. package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +9 -3
  42. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.ts +2 -0
  43. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.ts +2 -0
  44. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.ts +2 -0
  45. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +2 -0
  46. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +2 -0
  47. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +2 -0
  48. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +2 -1
  49. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +2 -1
  50. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +2 -1
  51. package/dist/cjs/api/resources/orgs/client/Client.d.ts +1 -0
  52. package/dist/cjs/api/resources/orgs/client/Client.js +1 -0
  53. package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +1 -0
  54. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +1 -0
  55. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +1 -0
  56. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +1 -0
  57. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.d.ts +2 -0
  58. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.js +2 -0
  59. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.ts +2 -0
  60. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +2 -0
  61. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +2 -0
  62. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +1 -0
  63. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +1 -0
  64. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +14 -12
  65. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +17 -15
  66. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.d.ts +13 -0
  67. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.js +5 -0
  68. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.ts +13 -0
  69. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.js +5 -0
  70. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.ts +13 -0
  71. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.js +5 -0
  72. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +3 -0
  73. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +2 -0
  74. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +2 -0
  75. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +1 -0
  76. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +1 -0
  77. package/dist/cjs/api/types/LineItemGroupLineItemsRes.d.ts +11 -0
  78. package/dist/cjs/api/types/LineItemGroupLineItemsRes.js +5 -0
  79. package/dist/cjs/api/types/LineItemS3ObjectMetadata1.d.ts +19 -0
  80. package/dist/cjs/api/types/LineItemS3ObjectMetadata1.js +5 -0
  81. package/dist/cjs/api/types/ListingForBidder1.d.ts +8 -0
  82. package/dist/cjs/api/types/ListingForBidder1.js +5 -0
  83. package/dist/cjs/api/types/ListingForBidderListRes.d.ts +1 -1
  84. package/dist/cjs/api/types/ListingTaskForBidder1.d.ts +12 -0
  85. package/dist/cjs/api/types/ListingTaskForBidder1.js +5 -0
  86. package/dist/cjs/api/types/ListingTaskGroupForBidder1.d.ts +8 -0
  87. package/dist/cjs/api/types/ListingTaskGroupForBidder1.js +5 -0
  88. package/dist/cjs/api/types/index.d.ts +5 -1
  89. package/dist/cjs/api/types/index.js +5 -1
  90. package/dist/cjs/version.d.ts +1 -1
  91. package/dist/cjs/version.js +1 -1
  92. package/dist/esm/Client.mjs +2 -2
  93. package/dist/esm/api/resources/billing/client/Client.d.mts +3 -0
  94. package/dist/esm/api/resources/billing/client/Client.mjs +5 -0
  95. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.mts +1 -0
  96. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +1 -0
  97. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.mts +1 -0
  98. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.d.mts +1 -0
  99. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +1 -0
  100. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.mts +1 -0
  101. package/dist/esm/api/resources/billing/resources/index.d.mts +1 -0
  102. package/dist/esm/api/resources/billing/resources/index.mjs +1 -0
  103. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +14 -0
  104. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +60 -0
  105. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.mts +1 -0
  106. package/dist/esm/api/resources/billing/resources/lineItems/client/Client.d.mts +23 -0
  107. package/dist/esm/api/resources/billing/resources/lineItems/client/Client.mjs +13 -0
  108. package/dist/esm/api/resources/billing/resources/lineItems/client/index.d.mts +1 -0
  109. package/dist/esm/api/resources/billing/resources/lineItems/client/index.mjs +1 -0
  110. package/dist/esm/api/resources/billing/resources/lineItems/index.d.mts +2 -0
  111. package/dist/esm/api/resources/billing/resources/lineItems/index.mjs +2 -0
  112. package/dist/esm/api/resources/billing/resources/lineItems/resources/index.d.mts +2 -0
  113. package/dist/esm/api/resources/billing/resources/lineItems/resources/index.mjs +2 -0
  114. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.d.mts +83 -0
  115. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.mjs +271 -0
  116. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/index.d.mts +2 -0
  117. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/index.mjs +1 -0
  118. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/BodyLineItemsS3ObjectPostAddV1BillingLineItemsS3ObjectsAddV1LineItemIdPost.d.mts +13 -0
  119. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/index.d.mts +1 -0
  120. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/requests/index.mjs +1 -0
  121. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/index.d.mts +1 -0
  122. package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/index.mjs +1 -0
  123. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +2 -0
  124. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +2 -0
  125. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +1 -0
  126. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +1 -0
  127. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +2 -0
  128. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +2 -0
  129. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.mts +1 -0
  130. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.mts +1 -0
  131. package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +10 -4
  132. package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +9 -3
  133. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.mts +2 -0
  134. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.mts +2 -0
  135. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.mts +2 -0
  136. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +2 -0
  137. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +2 -0
  138. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +2 -0
  139. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +2 -1
  140. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +2 -1
  141. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +2 -1
  142. package/dist/esm/api/resources/orgs/client/Client.d.mts +1 -0
  143. package/dist/esm/api/resources/orgs/client/Client.mjs +1 -0
  144. package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +1 -0
  145. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +1 -0
  146. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +1 -0
  147. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +1 -0
  148. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.d.mts +2 -0
  149. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.mjs +2 -0
  150. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.mts +2 -0
  151. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +2 -0
  152. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +2 -0
  153. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +1 -0
  154. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +1 -0
  155. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +14 -12
  156. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +17 -15
  157. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.d.mts +13 -0
  158. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.mjs +4 -0
  159. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.mts +13 -0
  160. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.mjs +4 -0
  161. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.mts +13 -0
  162. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.mjs +4 -0
  163. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +3 -0
  164. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +2 -0
  165. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +2 -0
  166. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +1 -0
  167. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +1 -0
  168. package/dist/esm/api/types/LineItemGroupLineItemsRes.d.mts +11 -0
  169. package/dist/esm/api/types/LineItemGroupLineItemsRes.mjs +4 -0
  170. package/dist/esm/api/types/LineItemS3ObjectMetadata1.d.mts +19 -0
  171. package/dist/esm/api/types/LineItemS3ObjectMetadata1.mjs +4 -0
  172. package/dist/esm/api/types/ListingForBidder1.d.mts +8 -0
  173. package/dist/esm/api/types/ListingForBidder1.mjs +4 -0
  174. package/dist/esm/api/types/ListingForBidderListRes.d.mts +1 -1
  175. package/dist/esm/api/types/ListingTaskForBidder1.d.mts +12 -0
  176. package/dist/esm/api/types/ListingTaskForBidder1.mjs +4 -0
  177. package/dist/esm/api/types/ListingTaskGroupForBidder1.d.mts +8 -0
  178. package/dist/esm/api/types/ListingTaskGroupForBidder1.mjs +4 -0
  179. package/dist/esm/api/types/index.d.mts +5 -1
  180. package/dist/esm/api/types/index.mjs +5 -1
  181. package/dist/esm/version.d.mts +1 -1
  182. package/dist/esm/version.mjs +1 -1
  183. package/package.json +1 -1
  184. package/reference.md +366 -13
  185. package/dist/cjs/api/types/TaskGroupQuoteClientReq.d.ts +0 -6
  186. package/dist/esm/api/types/TaskGroupQuoteClientReq.d.mts +0 -6
  187. /package/dist/cjs/api/{types/TaskGroupQuoteClientReq.js → resources/billing/resources/lineItems/resources/s3Objects/client/requests/BodyLineItemsS3ObjectPostAddV1BillingLineItemsS3ObjectsAddV1LineItemIdPost.js} +0 -0
  188. /package/dist/esm/api/{types/TaskGroupQuoteClientReq.mjs → resources/billing/resources/lineItems/resources/s3Objects/client/requests/BodyLineItemsS3ObjectPostAddV1BillingLineItemsS3ObjectsAddV1LineItemIdPost.mjs} +0 -0
@@ -154,20 +154,25 @@ __exportStar(require("./LineItem1.js"), exports);
154
154
  __exportStar(require("./LineItemClientCreate1.js"), exports);
155
155
  __exportStar(require("./LineItemEnum1.js"), exports);
156
156
  __exportStar(require("./LineItemGroup1.js"), exports);
157
+ __exportStar(require("./LineItemGroupLineItemsRes.js"), exports);
157
158
  __exportStar(require("./LineItemGroupListRes.js"), exports);
158
159
  __exportStar(require("./LineItemGroupMessage1.js"), exports);
159
160
  __exportStar(require("./LineItemGroupS3ObjectMetadata1.js"), exports);
160
161
  __exportStar(require("./LineItemGroupStatusEnum1.js"), exports);
161
162
  __exportStar(require("./LineItemProvenanceEnum.js"), exports);
163
+ __exportStar(require("./LineItemS3ObjectMetadata1.js"), exports);
162
164
  __exportStar(require("./LineItemStatusEnum.js"), exports);
163
165
  __exportStar(require("./LineString.js"), exports);
164
166
  __exportStar(require("./Listing1.js"), exports);
165
167
  __exportStar(require("./ListingAudienceEnum.js"), exports);
168
+ __exportStar(require("./ListingForBidder1.js"), exports);
166
169
  __exportStar(require("./ListingForBidderListRes.js"), exports);
167
170
  __exportStar(require("./ListingLimitedForBidder1.js"), exports);
168
171
  __exportStar(require("./ListingListRes.js"), exports);
169
172
  __exportStar(require("./ListingSortByEnum.js"), exports);
170
173
  __exportStar(require("./ListingStatusEnum.js"), exports);
174
+ __exportStar(require("./ListingTaskForBidder1.js"), exports);
175
+ __exportStar(require("./ListingTaskGroupForBidder1.js"), exports);
171
176
  __exportStar(require("./ListingTypeEnum.js"), exports);
172
177
  __exportStar(require("./Geometry.js"), exports);
173
178
  __exportStar(require("./LocationFeature.js"), exports);
@@ -314,7 +319,6 @@ __exportStar(require("./TaskGroupExpanded.js"), exports);
314
319
  __exportStar(require("./TaskGroupExpandedListRes.js"), exports);
315
320
  __exportStar(require("./TaskGroupManifest1.js"), exports);
316
321
  __exportStar(require("./TaskGroupMessage1.js"), exports);
317
- __exportStar(require("./TaskGroupQuoteClientReq.js"), exports);
318
322
  __exportStar(require("./TaskGroupQuoteResp.js"), exports);
319
323
  __exportStar(require("./TaskGroupS3ObjectMetadata1.js"), exports);
320
324
  __exportStar(require("./TaskGroupSortByEnum.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.654.0";
1
+ export declare const SDK_VERSION = "1.659.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.654.0";
4
+ exports.SDK_VERSION = "1.659.0";
@@ -20,8 +20,8 @@ export class ChrtClient {
20
20
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
21
21
  "X-Fern-Language": "JavaScript",
22
22
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
23
- "X-Fern-SDK-Version": "1.654.0",
24
- "User-Agent": "@chrt-inc/typescript-sdk/1.654.0",
23
+ "X-Fern-SDK-Version": "1.659.0",
24
+ "User-Agent": "@chrt-inc/typescript-sdk/1.659.0",
25
25
  "X-Fern-Runtime": core.RUNTIME.type,
26
26
  "X-Fern-Runtime-Version": core.RUNTIME.version,
27
27
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -13,6 +13,7 @@ import { RateSheetMappings } from "../resources/rateSheetMappings/client/Client.
13
13
  import { Statements } from "../resources/statements/client/Client.mjs";
14
14
  import { Stripe } from "../resources/stripe/client/Client.mjs";
15
15
  import { StripeConnect } from "../resources/stripeConnect/client/Client.mjs";
16
+ import { LineItems } from "../resources/lineItems/client/Client.mjs";
16
17
  export declare namespace Billing {
17
18
  interface Options {
18
19
  environment?: core.Supplier<environments.ChrtEnvironment | string>;
@@ -36,6 +37,7 @@ export declare class Billing {
36
37
  protected _statements: Statements | undefined;
37
38
  protected _stripe: Stripe | undefined;
38
39
  protected _stripeConnect: StripeConnect | undefined;
40
+ protected _lineItems: LineItems | undefined;
39
41
  constructor(_options?: Billing.Options);
40
42
  get billingLedgers(): BillingLedgers;
41
43
  get billingLedgerPeriods(): BillingLedgerPeriods;
@@ -47,4 +49,5 @@ export declare class Billing {
47
49
  get statements(): Statements;
48
50
  get stripe(): Stripe;
49
51
  get stripeConnect(): StripeConnect;
52
+ get lineItems(): LineItems;
50
53
  }
@@ -11,6 +11,7 @@ import { RateSheetMappings } from "../resources/rateSheetMappings/client/Client.
11
11
  import { Statements } from "../resources/statements/client/Client.mjs";
12
12
  import { Stripe } from "../resources/stripe/client/Client.mjs";
13
13
  import { StripeConnect } from "../resources/stripeConnect/client/Client.mjs";
14
+ import { LineItems } from "../resources/lineItems/client/Client.mjs";
14
15
  export class Billing {
15
16
  constructor(_options = {}) {
16
17
  this._options = _options;
@@ -55,4 +56,8 @@ export class Billing {
55
56
  var _a;
56
57
  return ((_a = this._stripeConnect) !== null && _a !== void 0 ? _a : (this._stripeConnect = new StripeConnect(this._options)));
57
58
  }
59
+ get lineItems() {
60
+ var _a;
61
+ return ((_a = this._lineItems) !== null && _a !== void 0 ? _a : (this._lineItems = new LineItems(this._options)));
62
+ }
58
63
  }
@@ -59,6 +59,7 @@ export declare class BillingLedgerPeriods {
59
59
  * page_size: 1,
60
60
  * filter_billing_ledger_id: "filter_billing_ledger_id",
61
61
  * filter_owned_by_org_id: "filter_owned_by_org_id",
62
+ * filter_status: ["open"],
62
63
  * filter_statement_id: "filter_statement_id",
63
64
  * filter_attached_to_statement: true,
64
65
  * filter_period_end_at_timestamp_before: "2024-01-15T09:30:00Z",
@@ -94,6 +94,7 @@ export class BillingLedgerPeriods {
94
94
  * page_size: 1,
95
95
  * filter_billing_ledger_id: "filter_billing_ledger_id",
96
96
  * filter_owned_by_org_id: "filter_owned_by_org_id",
97
+ * filter_status: ["open"],
97
98
  * filter_statement_id: "filter_statement_id",
98
99
  * filter_attached_to_statement: true,
99
100
  * filter_period_end_at_timestamp_before: "2024-01-15T09:30:00Z",
@@ -11,6 +11,7 @@ import * as Chrt from "../../../../../../index.mjs";
11
11
  * page_size: 1,
12
12
  * filter_billing_ledger_id: "filter_billing_ledger_id",
13
13
  * filter_owned_by_org_id: "filter_owned_by_org_id",
14
+ * filter_status: ["open"],
14
15
  * filter_statement_id: "filter_statement_id",
15
16
  * filter_attached_to_statement: true,
16
17
  * filter_period_end_at_timestamp_before: "2024-01-15T09:30:00Z",
@@ -57,6 +57,7 @@ export declare class BillingLedgers {
57
57
  * sort_order: "asc",
58
58
  * page: 1,
59
59
  * page_size: 1,
60
+ * filter_status: ["active"],
60
61
  * filter_task_group_type: "chrt_ground_provider",
61
62
  * filter_payment_origin_org_id: "filter_payment_origin_org_id",
62
63
  * filter_payment_destination_org_id: "filter_payment_destination_org_id"
@@ -92,6 +92,7 @@ export class BillingLedgers {
92
92
  * sort_order: "asc",
93
93
  * page: 1,
94
94
  * page_size: 1,
95
+ * filter_status: ["active"],
95
96
  * filter_task_group_type: "chrt_ground_provider",
96
97
  * filter_payment_origin_org_id: "filter_payment_origin_org_id",
97
98
  * filter_payment_destination_org_id: "filter_payment_destination_org_id"
@@ -9,6 +9,7 @@ import * as Chrt from "../../../../../../index.mjs";
9
9
  * sort_order: "asc",
10
10
  * page: 1,
11
11
  * page_size: 1,
12
+ * filter_status: ["active"],
12
13
  * filter_task_group_type: "chrt_ground_provider",
13
14
  * filter_payment_origin_org_id: "filter_payment_origin_org_id",
14
15
  * filter_payment_destination_org_id: "filter_payment_destination_org_id"
@@ -8,6 +8,7 @@ export * as rateSheetMappings from "./rateSheetMappings/index.mjs";
8
8
  export * as statements from "./statements/index.mjs";
9
9
  export * as stripe from "./stripe/index.mjs";
10
10
  export * as stripeConnect from "./stripeConnect/index.mjs";
11
+ export * as lineItems from "./lineItems/index.mjs";
11
12
  export * from "./billingLedgers/client/requests/index.mjs";
12
13
  export * from "./billingLedgerPeriods/client/requests/index.mjs";
13
14
  export * from "./lineItemGroups/client/requests/index.mjs";
@@ -8,6 +8,7 @@ export * as rateSheetMappings from "./rateSheetMappings/index.mjs";
8
8
  export * as statements from "./statements/index.mjs";
9
9
  export * as stripe from "./stripe/index.mjs";
10
10
  export * as stripeConnect from "./stripeConnect/index.mjs";
11
+ export * as lineItems from "./lineItems/index.mjs";
11
12
  export * from "./billingLedgers/client/requests/index.mjs";
12
13
  export * from "./billingLedgerPeriods/client/requests/index.mjs";
13
14
  export * from "./lineItemGroups/client/requests/index.mjs";
@@ -49,6 +49,19 @@ export declare class LineItemGroups {
49
49
  */
50
50
  getByIdV1(id: string, requestOptions?: LineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.LineItemGroup1>;
51
51
  private __getByIdV1;
52
+ /**
53
+ * Retrieves all LineItems referenced by a LineItemGroup the caller can access. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemGroupLineItemsRes)
54
+ *
55
+ * @param {string} lineItemGroupId
56
+ * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
57
+ *
58
+ * @throws {@link Chrt.UnprocessableEntityError}
59
+ *
60
+ * @example
61
+ * await client.billing.lineItemGroups.getLineItemsV1("line_item_group_id")
62
+ */
63
+ getLineItemsV1(lineItemGroupId: string, requestOptions?: LineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.LineItemGroupLineItemsRes>;
64
+ private __getLineItemsV1;
52
65
  /**
53
66
  * Lists LineItemGroups the caller owns, is a payment counterparty on, or is the destination driver for. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemGroupListRes)
54
67
  *
@@ -62,6 +75,7 @@ export declare class LineItemGroups {
62
75
  * sort_order: "asc",
63
76
  * page: 1,
64
77
  * page_size: 1,
78
+ * filter_status: ["staged"],
65
79
  * filter_task_group_id: "filter_task_group_id",
66
80
  * filter_order_id: "filter_order_id",
67
81
  * filter_order_short_id: "filter_order_short_id",
@@ -88,6 +88,65 @@ export class LineItemGroups {
88
88
  }
89
89
  });
90
90
  }
91
+ /**
92
+ * Retrieves all LineItems referenced by a LineItemGroup the caller can access. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemGroupLineItemsRes)
93
+ *
94
+ * @param {string} lineItemGroupId
95
+ * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
96
+ *
97
+ * @throws {@link Chrt.UnprocessableEntityError}
98
+ *
99
+ * @example
100
+ * await client.billing.lineItemGroups.getLineItemsV1("line_item_group_id")
101
+ */
102
+ getLineItemsV1(lineItemGroupId, requestOptions) {
103
+ return core.HttpResponsePromise.fromPromise(this.__getLineItemsV1(lineItemGroupId, requestOptions));
104
+ }
105
+ __getLineItemsV1(lineItemGroupId, requestOptions) {
106
+ return __awaiter(this, void 0, void 0, function* () {
107
+ var _a, _b, _c, _d;
108
+ 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);
109
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
110
+ 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, `billing/line_item_groups/line_items/v1/${encodeURIComponent(lineItemGroupId)}`),
111
+ method: "GET",
112
+ headers: _headers,
113
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
114
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
115
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
116
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
117
+ });
118
+ if (_response.ok) {
119
+ return { data: _response.body, rawResponse: _response.rawResponse };
120
+ }
121
+ if (_response.error.reason === "status-code") {
122
+ switch (_response.error.statusCode) {
123
+ case 422:
124
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
125
+ default:
126
+ throw new errors.ChrtError({
127
+ statusCode: _response.error.statusCode,
128
+ body: _response.error.body,
129
+ rawResponse: _response.rawResponse,
130
+ });
131
+ }
132
+ }
133
+ switch (_response.error.reason) {
134
+ case "non-json":
135
+ throw new errors.ChrtError({
136
+ statusCode: _response.error.statusCode,
137
+ body: _response.error.rawBody,
138
+ rawResponse: _response.rawResponse,
139
+ });
140
+ case "timeout":
141
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/line_item_groups/line_items/v1/{line_item_group_id}.");
142
+ case "unknown":
143
+ throw new errors.ChrtError({
144
+ message: _response.error.errorMessage,
145
+ rawResponse: _response.rawResponse,
146
+ });
147
+ }
148
+ });
149
+ }
91
150
  /**
92
151
  * Lists LineItemGroups the caller owns, is a payment counterparty on, or is the destination driver for. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemGroupListRes)
93
152
  *
@@ -101,6 +160,7 @@ export class LineItemGroups {
101
160
  * sort_order: "asc",
102
161
  * page: 1,
103
162
  * page_size: 1,
163
+ * filter_status: ["staged"],
104
164
  * filter_task_group_id: "filter_task_group_id",
105
165
  * filter_order_id: "filter_order_id",
106
166
  * filter_order_short_id: "filter_order_short_id",
@@ -8,6 +8,7 @@ import * as Chrt from "../../../../../../index.mjs";
8
8
  * sort_order: "asc",
9
9
  * page: 1,
10
10
  * page_size: 1,
11
+ * filter_status: ["staged"],
11
12
  * filter_task_group_id: "filter_task_group_id",
12
13
  * filter_order_id: "filter_order_id",
13
14
  * filter_order_short_id: "filter_order_short_id",
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../core/index.mjs";
6
+ import { S3Objects } from "../resources/s3Objects/client/Client.mjs";
7
+ export declare namespace LineItems {
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
+ }
18
+ export declare class LineItems {
19
+ protected readonly _options: LineItems.Options;
20
+ protected _s3Objects: S3Objects | undefined;
21
+ constructor(_options?: LineItems.Options);
22
+ get s3Objects(): S3Objects;
23
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import { S3Objects } from "../resources/s3Objects/client/Client.mjs";
5
+ export class LineItems {
6
+ constructor(_options = {}) {
7
+ this._options = _options;
8
+ }
9
+ get s3Objects() {
10
+ var _a;
11
+ return ((_a = this._s3Objects) !== null && _a !== void 0 ? _a : (this._s3Objects = new S3Objects(this._options)));
12
+ }
13
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * as s3Objects from "./s3Objects/index.mjs";
2
+ export * from "./s3Objects/client/requests/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * as s3Objects from "./s3Objects/index.mjs";
2
+ export * from "./s3Objects/client/requests/index.mjs";
@@ -0,0 +1,83 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../../../core/index.mjs";
6
+ import * as Chrt from "../../../../../../../index.mjs";
7
+ export declare namespace S3Objects {
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 S3Objects {
31
+ protected readonly _options: S3Objects.Options;
32
+ constructor(_options?: S3Objects.Options);
33
+ /**
34
+ * Retrieves metadata for a line item S3 object. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemS3ObjectMetadata1)
35
+ *
36
+ * @param {string} lineItemS3ObjectMetadataId
37
+ * @param {S3Objects.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.billing.lineItems.s3Objects.getS3ObjectMetadataV1("line_item_s3_object_metadata_id")
43
+ */
44
+ getS3ObjectMetadataV1(lineItemS3ObjectMetadataId: string, requestOptions?: S3Objects.RequestOptions): core.HttpResponsePromise<Chrt.LineItemS3ObjectMetadata1>;
45
+ private __getS3ObjectMetadataV1;
46
+ /**
47
+ * Streams a line item S3 object file from storage. | authz_personas=[lig_org_operators, lig_driver] | () -> (binary)
48
+ * @throws {@link Chrt.UnprocessableEntityError}
49
+ */
50
+ getV1(lineItemS3ObjectMetadataId: string, requestOptions?: S3Objects.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
51
+ private __getV1;
52
+ /**
53
+ * Uploads a file to a line item. Automatic blurhash generation for images. | authz_personas=[lig_org_operators, lig_driver] | (UploadFile) -> (bool)
54
+ *
55
+ * @param {string} lineItemId
56
+ * @param {Chrt.billing.lineItems.BodyLineItemsS3ObjectPostAddV1BillingLineItemsS3ObjectsAddV1LineItemIdPost} request
57
+ * @param {S3Objects.RequestOptions} requestOptions - Request-specific configuration.
58
+ *
59
+ * @throws {@link Chrt.UnprocessableEntityError}
60
+ *
61
+ * @example
62
+ * import { createReadStream } from "fs";
63
+ * await client.billing.lineItems.s3Objects.addV1("line_item_id", {
64
+ * file: fs.createReadStream("/path/to/your/file")
65
+ * })
66
+ */
67
+ addV1(lineItemId: string, request: Chrt.billing.lineItems.BodyLineItemsS3ObjectPostAddV1BillingLineItemsS3ObjectsAddV1LineItemIdPost, requestOptions?: S3Objects.RequestOptions): core.HttpResponsePromise<boolean>;
68
+ private __addV1;
69
+ /**
70
+ * Deletes an S3 object metadata and the associated S3 object from a line item. | authz_personas=[lig_org_operators, lig_driver] | () -> (bool)
71
+ *
72
+ * @param {string} lineItemS3ObjectMetadataId
73
+ * @param {S3Objects.RequestOptions} requestOptions - Request-specific configuration.
74
+ *
75
+ * @throws {@link Chrt.UnprocessableEntityError}
76
+ *
77
+ * @example
78
+ * await client.billing.lineItems.s3Objects.deleteV1("line_item_s3_object_metadata_id")
79
+ */
80
+ deleteV1(lineItemS3ObjectMetadataId: string, requestOptions?: S3Objects.RequestOptions): core.HttpResponsePromise<boolean>;
81
+ private __deleteV1;
82
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
83
+ }