lark-billing 0.0.6 → 0.0.8

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 (563) hide show
  1. package/README.md +2 -1
  2. package/dist/cjs/Client.d.ts +15 -5
  3. package/dist/cjs/Client.js +28 -13
  4. package/dist/cjs/api/resources/checkout/client/Client.d.ts +6 -15
  5. package/dist/cjs/api/resources/checkout/client/Client.js +5 -63
  6. package/dist/cjs/api/resources/checkout/client/requests/CreateSubscriptionCheckoutSessionRequest.d.ts +6 -2
  7. package/dist/cjs/api/resources/{featureAccess → customerAccess}/client/Client.d.ts +13 -11
  8. package/dist/cjs/api/resources/{featureAccess → customerAccess}/client/Client.js +13 -11
  9. package/dist/cjs/api/resources/customerPortal/client/Client.d.ts +48 -0
  10. package/dist/cjs/api/resources/customerPortal/client/Client.js +130 -0
  11. package/dist/cjs/api/resources/customerPortal/client/index.d.ts +2 -0
  12. package/dist/cjs/api/resources/customerPortal/client/index.js +17 -0
  13. package/dist/cjs/api/resources/customerPortal/client/requests/CreateCustomerPortalSessionRequest.d.ts +12 -0
  14. package/dist/cjs/api/resources/customerPortal/client/requests/index.d.ts +1 -0
  15. package/dist/cjs/api/resources/customerPortal/client/requests/index.js +2 -0
  16. package/dist/cjs/api/resources/customerPortal/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/customerPortal/index.js +17 -0
  18. package/dist/cjs/api/resources/index.d.ts +8 -1
  19. package/dist/cjs/api/resources/index.js +9 -2
  20. package/dist/cjs/api/resources/invoices/client/Client.d.ts +50 -0
  21. package/dist/cjs/api/resources/invoices/client/Client.js +135 -0
  22. package/dist/cjs/api/resources/invoices/client/index.d.ts +2 -0
  23. package/dist/cjs/api/resources/invoices/client/index.js +17 -0
  24. package/dist/cjs/api/resources/{subscriptions/client/requests/SubscriptionsListSubscriptionsRequest.d.ts → invoices/client/requests/ListInvoicesInvoicesGetRequest.d.ts} +4 -1
  25. package/dist/cjs/api/resources/invoices/client/requests/index.d.ts +1 -0
  26. package/dist/cjs/api/resources/invoices/client/requests/index.js +2 -0
  27. package/dist/cjs/api/resources/invoices/index.d.ts +1 -0
  28. package/dist/cjs/api/resources/invoices/index.js +17 -0
  29. package/dist/cjs/api/resources/pricingMetrics/client/Client.d.ts +77 -0
  30. package/dist/cjs/api/resources/pricingMetrics/client/Client.js +253 -0
  31. package/dist/cjs/api/resources/pricingMetrics/client/index.d.ts +2 -0
  32. package/dist/cjs/api/resources/pricingMetrics/client/index.js +17 -0
  33. package/dist/cjs/api/resources/pricingMetrics/client/requests/CreatePricingMetricRequest.d.ts +22 -0
  34. package/dist/{esm/api/resources/subjects/client/requests/SubjectsListSubjectsRequest.d.mts → cjs/api/resources/pricingMetrics/client/requests/ListPricingMetricsPricingMetricsGetRequest.d.ts} +2 -4
  35. package/dist/cjs/api/resources/pricingMetrics/client/requests/index.d.ts +2 -0
  36. package/dist/cjs/api/resources/pricingMetrics/client/requests/index.js +2 -0
  37. package/dist/cjs/api/resources/pricingMetrics/index.d.ts +2 -0
  38. package/dist/cjs/api/resources/pricingMetrics/index.js +18 -0
  39. package/dist/cjs/api/resources/pricingMetrics/types/PricingMetricAggregation.d.ts +13 -0
  40. package/dist/cjs/api/resources/pricingMetrics/types/index.d.ts +1 -0
  41. package/dist/cjs/api/resources/pricingMetrics/types/index.js +17 -0
  42. package/dist/cjs/api/resources/rateCards/client/Client.d.ts +9 -112
  43. package/dist/cjs/api/resources/rateCards/client/Client.js +10 -247
  44. package/dist/cjs/api/resources/rateCards/client/requests/CreateRateCardRequest.d.ts +3 -38
  45. package/dist/{esm/api/resources/rateCards/client/requests/RateCardsListRateCardsRequest.d.mts → cjs/api/resources/rateCards/client/requests/ListRateCardsRateCardsGetRequest.d.ts} +2 -4
  46. package/dist/cjs/api/resources/rateCards/client/requests/index.d.ts +1 -2
  47. package/dist/cjs/api/resources/rateCards/types/CreateRateCardRequestUsageBasedRatesItem.d.ts +2 -5
  48. package/dist/cjs/api/resources/rateCards/types/index.d.ts +0 -1
  49. package/dist/cjs/api/resources/rateCards/types/index.js +0 -1
  50. package/dist/cjs/api/resources/subjects/client/Client.d.ts +6 -5
  51. package/dist/cjs/api/resources/subjects/client/Client.js +12 -11
  52. package/dist/cjs/api/resources/subjects/client/requests/CreateSubjectRequest.d.ts +4 -1
  53. package/dist/cjs/api/resources/subjects/client/requests/{SubjectsListSubjectsRequest.d.ts → ListSubjectsSubjectsGetRequest.d.ts} +1 -1
  54. package/dist/cjs/api/resources/subjects/client/requests/UpdateSubjectRequest.d.ts +3 -2
  55. package/dist/cjs/api/resources/subjects/client/requests/index.d.ts +1 -1
  56. package/dist/cjs/api/resources/subscriptions/client/Client.d.ts +22 -13
  57. package/dist/cjs/api/resources/subscriptions/client/Client.js +70 -42
  58. package/dist/cjs/api/resources/subscriptions/client/requests/CancelSubscriptionRequest.d.ts +13 -0
  59. package/dist/cjs/api/resources/subscriptions/client/requests/ChangeSubscriptionRateCardRequest.d.ts +12 -0
  60. package/dist/cjs/api/resources/subscriptions/client/requests/CreateSubscriptionRequest.d.ts +6 -6
  61. package/dist/cjs/api/resources/subscriptions/client/requests/ListSubscriptionsSubscriptionsGetRequest.d.ts +18 -0
  62. package/dist/cjs/api/resources/subscriptions/client/requests/index.d.ts +3 -1
  63. package/dist/cjs/api/resources/usageEvents/client/Client.d.ts +4 -4
  64. package/dist/cjs/api/resources/usageEvents/client/Client.js +5 -5
  65. package/dist/cjs/api/resources/usageEvents/client/requests/CreateUsageEventRequest.d.ts +1 -2
  66. package/dist/cjs/api/types/Aggregation.d.ts +3 -12
  67. package/dist/cjs/api/types/Amount.d.ts +2 -1
  68. package/dist/cjs/api/types/BillingStateResponse.d.ts +7 -0
  69. package/dist/cjs/api/types/{CreditGrantScheduleOneTimeResource.d.ts → CountAggregationPricingMetricResource.d.ts} +1 -1
  70. package/dist/cjs/api/types/CreateCustomerPortalSessionResponse.d.ts +7 -0
  71. package/dist/cjs/api/types/{CreatePricingMatrixInterface.d.ts → CreateFixedRateRequest.d.ts} +4 -2
  72. package/dist/cjs/api/types/{PricingMetricInterface.d.ts → CreatePricingMetricResponse.d.ts} +1 -2
  73. package/dist/cjs/api/types/CreateSimpleUsageBasedRateRequest.d.ts +12 -0
  74. package/dist/cjs/api/types/CreateSubjectResponse.d.ts +7 -1
  75. package/dist/cjs/api/types/CreateSubscriptionCheckoutSessionResponse.d.ts +1 -2
  76. package/dist/cjs/api/types/CreateUsageEventSummaryResponse.d.ts +1 -1
  77. package/dist/cjs/api/types/FixedRateInterface.d.ts +1 -4
  78. package/dist/cjs/api/types/{CreatePricingMetricInterface.d.ts → GetPricingMetricResponse.d.ts} +2 -2
  79. package/dist/cjs/api/types/{CompleteSubscriptionCheckoutResponse.d.ts → InvoiceLineItemResource.d.ts} +4 -2
  80. package/dist/cjs/api/types/InvoiceResource.d.ts +25 -0
  81. package/dist/cjs/api/types/InvoiceResource.js +16 -0
  82. package/dist/cjs/api/types/{PricingMatrixInterface.d.ts → ListInvoicesResponse.d.ts} +3 -2
  83. package/dist/cjs/api/types/ListPricingMetricsResponse.d.ts +8 -0
  84. package/dist/cjs/api/types/PeriodResource.d.ts +9 -0
  85. package/dist/cjs/api/types/Price.d.ts +10 -1
  86. package/dist/cjs/api/types/PricingMetricResource.d.ts +11 -0
  87. package/dist/cjs/api/types/RateCardResource.d.ts +0 -4
  88. package/dist/cjs/api/types/RateCardResourceUsageBasedRatesItem.d.ts +1 -4
  89. package/dist/cjs/api/types/SimpleUsageBasedRateInterface.d.ts +2 -4
  90. package/dist/cjs/api/types/SubjectResource.d.ts +7 -1
  91. package/dist/cjs/api/types/SubscriptionResource.d.ts +4 -2
  92. package/dist/cjs/api/types/{MaxAggregationPricingMetricInterface.d.ts → SumAggregationPricingMetricResource.d.ts} +1 -2
  93. package/dist/cjs/api/types/index.d.ts +14 -88
  94. package/dist/cjs/api/types/index.js +14 -88
  95. package/dist/cjs/environments.d.ts +7 -0
  96. package/dist/cjs/environments.js +9 -0
  97. package/dist/cjs/index.d.ts +1 -0
  98. package/dist/cjs/index.js +3 -1
  99. package/dist/cjs/version.d.ts +1 -1
  100. package/dist/cjs/version.js +1 -1
  101. package/dist/esm/Client.d.mts +15 -5
  102. package/dist/esm/Client.mjs +22 -7
  103. package/dist/esm/api/resources/checkout/client/Client.d.mts +6 -15
  104. package/dist/esm/api/resources/checkout/client/Client.mjs +5 -63
  105. package/dist/esm/api/resources/checkout/client/requests/CreateSubscriptionCheckoutSessionRequest.d.mts +6 -2
  106. package/dist/esm/api/resources/{featureAccess → customerAccess}/client/Client.d.mts +13 -11
  107. package/dist/esm/api/resources/{featureAccess → customerAccess}/client/Client.mjs +11 -9
  108. package/dist/esm/api/resources/customerPortal/client/Client.d.mts +48 -0
  109. package/dist/esm/api/resources/customerPortal/client/Client.mjs +93 -0
  110. package/dist/esm/api/resources/customerPortal/client/index.d.mts +2 -0
  111. package/dist/esm/api/resources/customerPortal/client/index.mjs +1 -0
  112. package/dist/esm/api/resources/customerPortal/client/requests/CreateCustomerPortalSessionRequest.d.mts +12 -0
  113. package/dist/esm/api/resources/customerPortal/client/requests/index.d.mts +1 -0
  114. package/dist/esm/api/resources/customerPortal/client/requests/index.mjs +1 -0
  115. package/dist/esm/api/resources/customerPortal/index.d.mts +1 -0
  116. package/dist/esm/api/resources/customerPortal/index.mjs +1 -0
  117. package/dist/esm/api/resources/index.d.mts +8 -1
  118. package/dist/esm/api/resources/index.mjs +8 -1
  119. package/dist/esm/api/resources/invoices/client/Client.d.mts +50 -0
  120. package/dist/esm/api/resources/invoices/client/Client.mjs +98 -0
  121. package/dist/esm/api/resources/invoices/client/index.d.mts +2 -0
  122. package/dist/esm/api/resources/invoices/client/index.mjs +1 -0
  123. package/dist/esm/api/resources/invoices/client/requests/ListInvoicesInvoicesGetRequest.d.mts +17 -0
  124. package/dist/esm/api/resources/invoices/client/requests/index.d.mts +1 -0
  125. package/dist/esm/api/resources/invoices/client/requests/index.mjs +1 -0
  126. package/dist/esm/api/resources/invoices/index.d.mts +1 -0
  127. package/dist/esm/api/resources/invoices/index.mjs +1 -0
  128. package/dist/esm/api/resources/pricingMetrics/client/Client.d.mts +77 -0
  129. package/dist/esm/api/resources/pricingMetrics/client/Client.mjs +216 -0
  130. package/dist/esm/api/resources/pricingMetrics/client/index.d.mts +2 -0
  131. package/dist/esm/api/resources/pricingMetrics/client/index.mjs +1 -0
  132. package/dist/esm/api/resources/pricingMetrics/client/requests/CreatePricingMetricRequest.d.mts +22 -0
  133. package/dist/esm/api/resources/pricingMetrics/client/requests/ListPricingMetricsPricingMetricsGetRequest.d.mts +12 -0
  134. package/dist/esm/api/resources/pricingMetrics/client/requests/index.d.mts +2 -0
  135. package/dist/esm/api/resources/pricingMetrics/client/requests/index.mjs +1 -0
  136. package/dist/esm/api/resources/pricingMetrics/index.d.mts +2 -0
  137. package/dist/esm/api/resources/pricingMetrics/index.mjs +2 -0
  138. package/dist/esm/api/resources/pricingMetrics/types/PricingMetricAggregation.d.mts +13 -0
  139. package/dist/esm/api/resources/pricingMetrics/types/index.d.mts +1 -0
  140. package/dist/esm/api/resources/pricingMetrics/types/index.mjs +1 -0
  141. package/dist/esm/api/resources/rateCards/client/Client.d.mts +9 -112
  142. package/dist/esm/api/resources/rateCards/client/Client.mjs +10 -247
  143. package/dist/esm/api/resources/rateCards/client/requests/CreateRateCardRequest.d.mts +3 -38
  144. package/dist/esm/api/resources/rateCards/client/requests/ListRateCardsRateCardsGetRequest.d.mts +12 -0
  145. package/dist/esm/api/resources/rateCards/client/requests/index.d.mts +1 -2
  146. package/dist/esm/api/resources/rateCards/types/CreateRateCardRequestUsageBasedRatesItem.d.mts +2 -5
  147. package/dist/esm/api/resources/rateCards/types/index.d.mts +0 -1
  148. package/dist/esm/api/resources/rateCards/types/index.mjs +0 -1
  149. package/dist/esm/api/resources/subjects/client/Client.d.mts +6 -5
  150. package/dist/esm/api/resources/subjects/client/Client.mjs +12 -11
  151. package/dist/esm/api/resources/subjects/client/requests/CreateSubjectRequest.d.mts +4 -1
  152. package/dist/{cjs/api/resources/rateCards/client/requests/RateCardsListRateCardsRequest.d.ts → esm/api/resources/subjects/client/requests/ListSubjectsSubjectsGetRequest.d.mts} +1 -1
  153. package/dist/esm/api/resources/subjects/client/requests/UpdateSubjectRequest.d.mts +3 -2
  154. package/dist/esm/api/resources/subjects/client/requests/index.d.mts +1 -1
  155. package/dist/esm/api/resources/subscriptions/client/Client.d.mts +22 -13
  156. package/dist/esm/api/resources/subscriptions/client/Client.mjs +70 -42
  157. package/dist/esm/api/resources/subscriptions/client/requests/CancelSubscriptionRequest.d.mts +13 -0
  158. package/dist/esm/api/resources/subscriptions/client/requests/ChangeSubscriptionRateCardRequest.d.mts +12 -0
  159. package/dist/esm/api/resources/subscriptions/client/requests/CreateSubscriptionRequest.d.mts +6 -6
  160. package/dist/esm/api/resources/subscriptions/client/requests/ListSubscriptionsSubscriptionsGetRequest.d.mts +18 -0
  161. package/dist/esm/api/resources/subscriptions/client/requests/index.d.mts +3 -1
  162. package/dist/esm/api/resources/usageEvents/client/Client.d.mts +4 -4
  163. package/dist/esm/api/resources/usageEvents/client/Client.mjs +5 -5
  164. package/dist/esm/api/resources/usageEvents/client/requests/CreateUsageEventRequest.d.mts +1 -2
  165. package/dist/esm/api/types/Aggregation.d.mts +3 -12
  166. package/dist/esm/api/types/Amount.d.mts +2 -1
  167. package/dist/esm/api/types/BillingStateResponse.d.mts +7 -0
  168. package/dist/esm/api/types/{CreditGrantScheduleOneTimeResource.d.mts → CountAggregationPricingMetricResource.d.mts} +1 -1
  169. package/dist/esm/api/types/CreateCustomerPortalSessionResponse.d.mts +7 -0
  170. package/dist/esm/api/types/{PricingMatrixInterface.d.mts → CreateFixedRateRequest.d.mts} +4 -2
  171. package/dist/esm/api/types/{PricingMetricInterface.d.mts → CreatePricingMetricResponse.d.mts} +1 -2
  172. package/dist/esm/api/types/CreateSimpleUsageBasedRateRequest.d.mts +12 -0
  173. package/dist/esm/api/types/CreateSubjectResponse.d.mts +7 -1
  174. package/dist/esm/api/types/CreateSubscriptionCheckoutSessionResponse.d.mts +1 -2
  175. package/dist/esm/api/types/CreateUsageEventSummaryResponse.d.mts +1 -1
  176. package/dist/esm/api/types/FixedRateInterface.d.mts +1 -4
  177. package/dist/esm/api/types/{CreatePricingMetricInterface.d.mts → GetPricingMetricResponse.d.mts} +2 -2
  178. package/dist/esm/api/types/InvoiceLineItemResource.d.mts +10 -0
  179. package/dist/esm/api/types/InvoiceResource.d.mts +25 -0
  180. package/dist/esm/api/types/InvoiceResource.mjs +13 -0
  181. package/dist/esm/api/types/{CompleteSubscriptionCheckoutResponse.d.mts → ListInvoicesResponse.d.mts} +3 -3
  182. package/dist/esm/api/types/ListPricingMetricsResponse.d.mts +8 -0
  183. package/dist/esm/api/types/PeriodResource.d.mts +9 -0
  184. package/dist/esm/api/types/Price.d.mts +10 -1
  185. package/dist/esm/api/types/PricingMetricResource.d.mts +11 -0
  186. package/dist/esm/api/types/RateCardResource.d.mts +0 -4
  187. package/dist/esm/api/types/RateCardResourceUsageBasedRatesItem.d.mts +1 -4
  188. package/dist/esm/api/types/SimpleUsageBasedRateInterface.d.mts +2 -4
  189. package/dist/esm/api/types/SubjectResource.d.mts +7 -1
  190. package/dist/esm/api/types/SubscriptionResource.d.mts +4 -2
  191. package/dist/esm/api/types/{MaxAggregationPricingMetricInterface.d.mts → SumAggregationPricingMetricResource.d.mts} +1 -2
  192. package/dist/esm/api/types/index.d.mts +14 -88
  193. package/dist/esm/api/types/index.mjs +14 -88
  194. package/dist/esm/environments.d.mts +7 -0
  195. package/dist/esm/environments.mjs +6 -0
  196. package/dist/esm/index.d.mts +1 -0
  197. package/dist/esm/index.mjs +1 -0
  198. package/dist/esm/version.d.mts +1 -1
  199. package/dist/esm/version.mjs +1 -1
  200. package/package.json +1 -1
  201. package/reference.md +192 -195
  202. package/dist/cjs/api/resources/rateCards/client/requests/CreateRateCardVersionRequest.d.ts +0 -63
  203. package/dist/cjs/api/resources/rateCards/client/requests/CreateRateCardVersionRequest.js +0 -13
  204. package/dist/cjs/api/resources/rateCards/types/CreateRateCardVersionRequestUsageBasedRatesItem.d.ts +0 -13
  205. package/dist/cjs/api/types/CheckFeatureAccessRequest.d.ts +0 -8
  206. package/dist/cjs/api/types/CheckFeatureAccessResponse.d.ts +0 -8
  207. package/dist/cjs/api/types/CreateCreditGrantInterface.d.ts +0 -12
  208. package/dist/cjs/api/types/CreateCreditGrantInterfaceExpiration.d.ts +0 -10
  209. package/dist/cjs/api/types/CreateCreditPoolRequest.d.ts +0 -4
  210. package/dist/cjs/api/types/CreateDimensionCoordinateInterface.d.ts +0 -7
  211. package/dist/cjs/api/types/CreateDimensionInterface.d.ts +0 -7
  212. package/dist/cjs/api/types/CreateDimensionalUsageBasedRateInterface.d.ts +0 -14
  213. package/dist/cjs/api/types/CreateFixedRateInterface.d.ts +0 -12
  214. package/dist/cjs/api/types/CreatePricingMatrixCellInterface.d.ts +0 -8
  215. package/dist/cjs/api/types/CreatePricingPlanRequest.d.ts +0 -4
  216. package/dist/cjs/api/types/CreateRateCardResponse.d.ts +0 -26
  217. package/dist/cjs/api/types/CreateRateCardResponse.js +0 -13
  218. package/dist/cjs/api/types/CreateRateCardResponseUsageBasedRatesItem.d.ts +0 -13
  219. package/dist/cjs/api/types/CreateRateCardVersionResponse.d.ts +0 -26
  220. package/dist/cjs/api/types/CreateRateCardVersionResponse.js +0 -13
  221. package/dist/cjs/api/types/CreateRateCardVersionResponseUsageBasedRatesItem.d.ts +0 -13
  222. package/dist/cjs/api/types/CreateSimpleUsageBasedRateInterface.d.ts +0 -13
  223. package/dist/cjs/api/types/CreditGrant.d.ts +0 -4
  224. package/dist/cjs/api/types/CreditGrantDateTimeExpirationInterface.d.ts +0 -6
  225. package/dist/cjs/api/types/CreditGrantDateTimeExpirationResource.d.ts +0 -6
  226. package/dist/cjs/api/types/CreditGrantDateTimeExpirationResource.js +0 -5
  227. package/dist/cjs/api/types/CreditGrantDurationExpirationInterface.d.ts +0 -17
  228. package/dist/cjs/api/types/CreditGrantDurationExpirationInterface.js +0 -16
  229. package/dist/cjs/api/types/CreditGrantDurationExpirationResource.d.ts +0 -17
  230. package/dist/cjs/api/types/CreditGrantDurationExpirationResource.js +0 -16
  231. package/dist/cjs/api/types/CreditGrantInterface.d.ts +0 -12
  232. package/dist/cjs/api/types/CreditGrantInterface.js +0 -5
  233. package/dist/cjs/api/types/CreditGrantInterfaceInputExpiration.d.ts +0 -10
  234. package/dist/cjs/api/types/CreditGrantInterfaceInputExpiration.js +0 -5
  235. package/dist/cjs/api/types/CreditGrantInterfaceOutputExpiration.d.ts +0 -13
  236. package/dist/cjs/api/types/CreditGrantInterfaceOutputExpiration.js +0 -5
  237. package/dist/cjs/api/types/CreditGrantInterfaceOutputSchedule.d.ts +0 -13
  238. package/dist/cjs/api/types/CreditGrantInterfaceOutputSchedule.js +0 -5
  239. package/dist/cjs/api/types/CreditGrantResource.d.ts +0 -12
  240. package/dist/cjs/api/types/CreditGrantResource.js +0 -5
  241. package/dist/cjs/api/types/CreditGrantResourceInputExpiration.d.ts +0 -10
  242. package/dist/cjs/api/types/CreditGrantResourceInputExpiration.js +0 -5
  243. package/dist/cjs/api/types/CreditGrantResourceInputSchedule.d.ts +0 -13
  244. package/dist/cjs/api/types/CreditGrantResourceInputSchedule.js +0 -5
  245. package/dist/cjs/api/types/CreditGrantResourceOutputExpiration.d.ts +0 -13
  246. package/dist/cjs/api/types/CreditGrantResourceOutputExpiration.js +0 -5
  247. package/dist/cjs/api/types/CreditGrantResourceOutputSchedule.d.ts +0 -13
  248. package/dist/cjs/api/types/CreditGrantResourceOutputSchedule.js +0 -5
  249. package/dist/cjs/api/types/CreditGrantSchedule.d.ts +0 -4
  250. package/dist/cjs/api/types/CreditGrantSchedule.js +0 -5
  251. package/dist/cjs/api/types/CreditGrantScheduleOneTimeInterface.d.ts +0 -6
  252. package/dist/cjs/api/types/CreditGrantScheduleOneTimeInterface.js +0 -5
  253. package/dist/cjs/api/types/CreditGrantScheduleOneTimeResource.js +0 -5
  254. package/dist/cjs/api/types/CreditGrantScheduleRateCycleStartInterface.d.ts +0 -6
  255. package/dist/cjs/api/types/CreditGrantScheduleRateCycleStartInterface.js +0 -5
  256. package/dist/cjs/api/types/CreditGrantScheduleRateCycleStartResource.d.ts +0 -5
  257. package/dist/cjs/api/types/CreditGrantScheduleRateCycleStartResource.js +0 -5
  258. package/dist/cjs/api/types/CreditGrantSubjectGrantingConfigInterface.d.ts +0 -7
  259. package/dist/cjs/api/types/CreditGrantSubjectGrantingConfigInterface.js +0 -5
  260. package/dist/cjs/api/types/CreditPool.d.ts +0 -4
  261. package/dist/cjs/api/types/CreditPool.js +0 -5
  262. package/dist/cjs/api/types/CreditPoolRolloverConfig.d.ts +0 -4
  263. package/dist/cjs/api/types/CreditPoolRolloverConfig.js +0 -5
  264. package/dist/cjs/api/types/CustomAggregationPricingMetricInterface.d.ts +0 -7
  265. package/dist/cjs/api/types/CustomAggregationPricingMetricInterface.js +0 -5
  266. package/dist/cjs/api/types/CustomPricingMetric.d.ts +0 -4
  267. package/dist/cjs/api/types/CustomPricingMetric.js +0 -5
  268. package/dist/cjs/api/types/CustomUnit.d.ts +0 -4
  269. package/dist/cjs/api/types/CustomUnit.js +0 -5
  270. package/dist/cjs/api/types/CustomUnitAmount.d.ts +0 -4
  271. package/dist/cjs/api/types/CustomUnitAmount.js +0 -5
  272. package/dist/cjs/api/types/Dimension.d.ts +0 -4
  273. package/dist/cjs/api/types/Dimension.js +0 -5
  274. package/dist/cjs/api/types/DimensionCoordinate.d.ts +0 -4
  275. package/dist/cjs/api/types/DimensionCoordinate.js +0 -5
  276. package/dist/cjs/api/types/DimensionCoordinateInterface.d.ts +0 -7
  277. package/dist/cjs/api/types/DimensionCoordinateInterface.js +0 -5
  278. package/dist/cjs/api/types/DimensionCoordinateSet.d.ts +0 -4
  279. package/dist/cjs/api/types/DimensionCoordinateSet.js +0 -5
  280. package/dist/cjs/api/types/DimensionInterface.d.ts +0 -7
  281. package/dist/cjs/api/types/DimensionInterface.js +0 -5
  282. package/dist/cjs/api/types/DimensionalRateMatrix.d.ts +0 -4
  283. package/dist/cjs/api/types/DimensionalRateMatrix.js +0 -5
  284. package/dist/cjs/api/types/DimensionalRateMatrixCell.d.ts +0 -4
  285. package/dist/cjs/api/types/DimensionalRateMatrixCell.js +0 -5
  286. package/dist/cjs/api/types/DimensionalUsageBasedRate.d.ts +0 -4
  287. package/dist/cjs/api/types/DimensionalUsageBasedRate.js +0 -5
  288. package/dist/cjs/api/types/DimensionalUsageBasedRateInput.d.ts +0 -4
  289. package/dist/cjs/api/types/DimensionalUsageBasedRateInput.js +0 -5
  290. package/dist/cjs/api/types/DimensionalUsageBasedRateInterface.d.ts +0 -15
  291. package/dist/cjs/api/types/DimensionalUsageBasedRateInterface.js +0 -5
  292. package/dist/cjs/api/types/FeatureAccessResource.d.ts +0 -8
  293. package/dist/cjs/api/types/FeatureAccessResource.js +0 -5
  294. package/dist/cjs/api/types/GetRateCardResponse.d.ts +0 -26
  295. package/dist/cjs/api/types/GetRateCardResponse.js +0 -13
  296. package/dist/cjs/api/types/GetRateCardResponseUsageBasedRatesItem.d.ts +0 -13
  297. package/dist/cjs/api/types/GetRateCardResponseUsageBasedRatesItem.js +0 -5
  298. package/dist/cjs/api/types/GrantCreditsRequest.d.ts +0 -4
  299. package/dist/cjs/api/types/GrantCreditsRequest.js +0 -5
  300. package/dist/cjs/api/types/LastAggregationPricingMetricInterface.d.ts +0 -7
  301. package/dist/cjs/api/types/LastAggregationPricingMetricInterface.js +0 -5
  302. package/dist/cjs/api/types/LicenseBasedRate.d.ts +0 -4
  303. package/dist/cjs/api/types/LicenseBasedRate.js +0 -5
  304. package/dist/cjs/api/types/LicenseBasedRateInput.d.ts +0 -4
  305. package/dist/cjs/api/types/LicenseBasedRateInput.js +0 -5
  306. package/dist/cjs/api/types/MaxAggregationPricingMetricInterface.js +0 -5
  307. package/dist/cjs/api/types/MonetaryAmount.d.ts +0 -4
  308. package/dist/cjs/api/types/MonetaryAmount.js +0 -5
  309. package/dist/cjs/api/types/PackagePriceWrapper.d.ts +0 -4
  310. package/dist/cjs/api/types/PackagePriceWrapper.js +0 -5
  311. package/dist/cjs/api/types/PricingMatrixCellInterface.d.ts +0 -8
  312. package/dist/cjs/api/types/PricingMatrixCellInterface.js +0 -5
  313. package/dist/cjs/api/types/PricingMatrixInterface.js +0 -5
  314. package/dist/cjs/api/types/PricingMetric.d.ts +0 -4
  315. package/dist/cjs/api/types/PricingMetric.js +0 -5
  316. package/dist/cjs/api/types/PricingMetricInterface.js +0 -5
  317. package/dist/cjs/api/types/PricingPlan.d.ts +0 -4
  318. package/dist/cjs/api/types/PricingPlan.js +0 -5
  319. package/dist/cjs/api/types/PricingPlanSubscription.d.ts +0 -4
  320. package/dist/cjs/api/types/PricingPlanSubscription.js +0 -5
  321. package/dist/cjs/api/types/PricingTier.d.ts +0 -4
  322. package/dist/cjs/api/types/PricingTier.js +0 -5
  323. package/dist/cjs/api/types/RateCard.d.ts +0 -4
  324. package/dist/cjs/api/types/RateCard.js +0 -5
  325. package/dist/cjs/api/types/RateCardVersion.d.ts +0 -4
  326. package/dist/cjs/api/types/RateCardVersion.js +0 -5
  327. package/dist/cjs/api/types/RateCardVersionInput.d.ts +0 -4
  328. package/dist/cjs/api/types/RateCardVersionInput.js +0 -5
  329. package/dist/cjs/api/types/SimpleUsageBasedRate.d.ts +0 -4
  330. package/dist/cjs/api/types/SimpleUsageBasedRate.js +0 -5
  331. package/dist/cjs/api/types/SimpleUsageBasedRateInput.d.ts +0 -4
  332. package/dist/cjs/api/types/SimpleUsageBasedRateInput.js +0 -5
  333. package/dist/cjs/api/types/Subject.d.ts +0 -4
  334. package/dist/cjs/api/types/Subject.js +0 -5
  335. package/dist/cjs/api/types/SubjectGrantingConfig.d.ts +0 -4
  336. package/dist/cjs/api/types/SubjectGrantingConfig.js +0 -5
  337. package/dist/cjs/api/types/SubjectGrantingConfigResource.d.ts +0 -7
  338. package/dist/cjs/api/types/SubjectGrantingConfigResource.js +0 -5
  339. package/dist/cjs/api/types/TieredPrice.d.ts +0 -4
  340. package/dist/cjs/api/types/TieredPrice.js +0 -5
  341. package/dist/cjs/api/types/TieredPriceWrapper.d.ts +0 -4
  342. package/dist/cjs/api/types/TieredPriceWrapper.js +0 -5
  343. package/dist/cjs/api/types/UpdatePricingPlanRequest.d.ts +0 -4
  344. package/dist/cjs/api/types/UpdatePricingPlanRequest.js +0 -5
  345. package/dist/cjs/api/types/UpdateRateCardRequest.d.ts +0 -4
  346. package/dist/cjs/api/types/UpdateRateCardRequest.js +0 -5
  347. package/dist/cjs/api/types/UpdateSubscriptionRequest.d.ts +0 -4
  348. package/dist/cjs/api/types/UpdateSubscriptionRequest.js +0 -5
  349. package/dist/cjs/api/types/UsageBasedRate.d.ts +0 -4
  350. package/dist/cjs/api/types/UsageBasedRate.js +0 -5
  351. package/dist/cjs/api/types/UsageBasedRateInput.d.ts +0 -4
  352. package/dist/cjs/api/types/UsageBasedRateInput.js +0 -5
  353. package/dist/cjs/api/types/UsageUnit.d.ts +0 -4
  354. package/dist/cjs/api/types/UsageUnit.js +0 -5
  355. package/dist/esm/api/resources/rateCards/client/requests/CreateRateCardVersionRequest.d.mts +0 -63
  356. package/dist/esm/api/resources/rateCards/client/requests/CreateRateCardVersionRequest.mjs +0 -10
  357. package/dist/esm/api/resources/rateCards/types/CreateRateCardVersionRequestUsageBasedRatesItem.d.mts +0 -13
  358. package/dist/esm/api/resources/subscriptions/client/requests/SubscriptionsListSubscriptionsRequest.d.mts +0 -14
  359. package/dist/esm/api/types/CheckFeatureAccessRequest.d.mts +0 -8
  360. package/dist/esm/api/types/CheckFeatureAccessResponse.d.mts +0 -8
  361. package/dist/esm/api/types/CreateCreditGrantInterface.d.mts +0 -12
  362. package/dist/esm/api/types/CreateCreditGrantInterfaceExpiration.d.mts +0 -10
  363. package/dist/esm/api/types/CreateCreditPoolRequest.d.mts +0 -4
  364. package/dist/esm/api/types/CreateDimensionCoordinateInterface.d.mts +0 -7
  365. package/dist/esm/api/types/CreateDimensionInterface.d.mts +0 -7
  366. package/dist/esm/api/types/CreateDimensionalUsageBasedRateInterface.d.mts +0 -14
  367. package/dist/esm/api/types/CreateFixedRateInterface.d.mts +0 -12
  368. package/dist/esm/api/types/CreatePricingMatrixCellInterface.d.mts +0 -8
  369. package/dist/esm/api/types/CreatePricingMatrixInterface.d.mts +0 -7
  370. package/dist/esm/api/types/CreatePricingPlanRequest.d.mts +0 -4
  371. package/dist/esm/api/types/CreateRateCardResponse.d.mts +0 -26
  372. package/dist/esm/api/types/CreateRateCardResponse.mjs +0 -10
  373. package/dist/esm/api/types/CreateRateCardResponseUsageBasedRatesItem.d.mts +0 -13
  374. package/dist/esm/api/types/CreateRateCardVersionResponse.d.mts +0 -26
  375. package/dist/esm/api/types/CreateRateCardVersionResponse.mjs +0 -10
  376. package/dist/esm/api/types/CreateRateCardVersionResponseUsageBasedRatesItem.d.mts +0 -13
  377. package/dist/esm/api/types/CreateSimpleUsageBasedRateInterface.d.mts +0 -13
  378. package/dist/esm/api/types/CreditGrant.d.mts +0 -4
  379. package/dist/esm/api/types/CreditGrantDateTimeExpirationInterface.d.mts +0 -6
  380. package/dist/esm/api/types/CreditGrantDateTimeExpirationResource.d.mts +0 -6
  381. package/dist/esm/api/types/CreditGrantDateTimeExpirationResource.mjs +0 -4
  382. package/dist/esm/api/types/CreditGrantDurationExpirationInterface.d.mts +0 -17
  383. package/dist/esm/api/types/CreditGrantDurationExpirationInterface.mjs +0 -13
  384. package/dist/esm/api/types/CreditGrantDurationExpirationResource.d.mts +0 -17
  385. package/dist/esm/api/types/CreditGrantDurationExpirationResource.mjs +0 -13
  386. package/dist/esm/api/types/CreditGrantInterface.d.mts +0 -12
  387. package/dist/esm/api/types/CreditGrantInterface.mjs +0 -4
  388. package/dist/esm/api/types/CreditGrantInterfaceInputExpiration.d.mts +0 -10
  389. package/dist/esm/api/types/CreditGrantInterfaceInputExpiration.mjs +0 -4
  390. package/dist/esm/api/types/CreditGrantInterfaceOutputExpiration.d.mts +0 -13
  391. package/dist/esm/api/types/CreditGrantInterfaceOutputExpiration.mjs +0 -4
  392. package/dist/esm/api/types/CreditGrantInterfaceOutputSchedule.d.mts +0 -13
  393. package/dist/esm/api/types/CreditGrantInterfaceOutputSchedule.mjs +0 -4
  394. package/dist/esm/api/types/CreditGrantResource.d.mts +0 -12
  395. package/dist/esm/api/types/CreditGrantResource.mjs +0 -4
  396. package/dist/esm/api/types/CreditGrantResourceInputExpiration.d.mts +0 -10
  397. package/dist/esm/api/types/CreditGrantResourceInputExpiration.mjs +0 -4
  398. package/dist/esm/api/types/CreditGrantResourceInputSchedule.d.mts +0 -13
  399. package/dist/esm/api/types/CreditGrantResourceInputSchedule.mjs +0 -4
  400. package/dist/esm/api/types/CreditGrantResourceOutputExpiration.d.mts +0 -13
  401. package/dist/esm/api/types/CreditGrantResourceOutputExpiration.mjs +0 -4
  402. package/dist/esm/api/types/CreditGrantResourceOutputSchedule.d.mts +0 -13
  403. package/dist/esm/api/types/CreditGrantResourceOutputSchedule.mjs +0 -4
  404. package/dist/esm/api/types/CreditGrantSchedule.d.mts +0 -4
  405. package/dist/esm/api/types/CreditGrantSchedule.mjs +0 -4
  406. package/dist/esm/api/types/CreditGrantScheduleOneTimeInterface.d.mts +0 -6
  407. package/dist/esm/api/types/CreditGrantScheduleOneTimeInterface.mjs +0 -4
  408. package/dist/esm/api/types/CreditGrantScheduleOneTimeResource.mjs +0 -4
  409. package/dist/esm/api/types/CreditGrantScheduleRateCycleStartInterface.d.mts +0 -6
  410. package/dist/esm/api/types/CreditGrantScheduleRateCycleStartInterface.mjs +0 -4
  411. package/dist/esm/api/types/CreditGrantScheduleRateCycleStartResource.d.mts +0 -5
  412. package/dist/esm/api/types/CreditGrantScheduleRateCycleStartResource.mjs +0 -4
  413. package/dist/esm/api/types/CreditGrantSubjectGrantingConfigInterface.d.mts +0 -7
  414. package/dist/esm/api/types/CreditGrantSubjectGrantingConfigInterface.mjs +0 -4
  415. package/dist/esm/api/types/CreditPool.d.mts +0 -4
  416. package/dist/esm/api/types/CreditPool.mjs +0 -4
  417. package/dist/esm/api/types/CreditPoolRolloverConfig.d.mts +0 -4
  418. package/dist/esm/api/types/CreditPoolRolloverConfig.mjs +0 -4
  419. package/dist/esm/api/types/CustomAggregationPricingMetricInterface.d.mts +0 -7
  420. package/dist/esm/api/types/CustomAggregationPricingMetricInterface.mjs +0 -4
  421. package/dist/esm/api/types/CustomPricingMetric.d.mts +0 -4
  422. package/dist/esm/api/types/CustomPricingMetric.mjs +0 -4
  423. package/dist/esm/api/types/CustomUnit.d.mts +0 -4
  424. package/dist/esm/api/types/CustomUnit.mjs +0 -4
  425. package/dist/esm/api/types/CustomUnitAmount.d.mts +0 -4
  426. package/dist/esm/api/types/CustomUnitAmount.mjs +0 -4
  427. package/dist/esm/api/types/Dimension.d.mts +0 -4
  428. package/dist/esm/api/types/Dimension.mjs +0 -4
  429. package/dist/esm/api/types/DimensionCoordinate.d.mts +0 -4
  430. package/dist/esm/api/types/DimensionCoordinate.mjs +0 -4
  431. package/dist/esm/api/types/DimensionCoordinateInterface.d.mts +0 -7
  432. package/dist/esm/api/types/DimensionCoordinateInterface.mjs +0 -4
  433. package/dist/esm/api/types/DimensionCoordinateSet.d.mts +0 -4
  434. package/dist/esm/api/types/DimensionCoordinateSet.mjs +0 -4
  435. package/dist/esm/api/types/DimensionInterface.d.mts +0 -7
  436. package/dist/esm/api/types/DimensionInterface.mjs +0 -4
  437. package/dist/esm/api/types/DimensionalRateMatrix.d.mts +0 -4
  438. package/dist/esm/api/types/DimensionalRateMatrix.mjs +0 -4
  439. package/dist/esm/api/types/DimensionalRateMatrixCell.d.mts +0 -4
  440. package/dist/esm/api/types/DimensionalRateMatrixCell.mjs +0 -4
  441. package/dist/esm/api/types/DimensionalUsageBasedRate.d.mts +0 -4
  442. package/dist/esm/api/types/DimensionalUsageBasedRate.mjs +0 -4
  443. package/dist/esm/api/types/DimensionalUsageBasedRateInput.d.mts +0 -4
  444. package/dist/esm/api/types/DimensionalUsageBasedRateInput.mjs +0 -4
  445. package/dist/esm/api/types/DimensionalUsageBasedRateInterface.d.mts +0 -15
  446. package/dist/esm/api/types/DimensionalUsageBasedRateInterface.mjs +0 -4
  447. package/dist/esm/api/types/FeatureAccessResource.d.mts +0 -8
  448. package/dist/esm/api/types/FeatureAccessResource.mjs +0 -4
  449. package/dist/esm/api/types/GetRateCardResponse.d.mts +0 -26
  450. package/dist/esm/api/types/GetRateCardResponse.mjs +0 -10
  451. package/dist/esm/api/types/GetRateCardResponseUsageBasedRatesItem.d.mts +0 -13
  452. package/dist/esm/api/types/GetRateCardResponseUsageBasedRatesItem.mjs +0 -4
  453. package/dist/esm/api/types/GrantCreditsRequest.d.mts +0 -4
  454. package/dist/esm/api/types/GrantCreditsRequest.mjs +0 -4
  455. package/dist/esm/api/types/LastAggregationPricingMetricInterface.d.mts +0 -7
  456. package/dist/esm/api/types/LastAggregationPricingMetricInterface.mjs +0 -4
  457. package/dist/esm/api/types/LicenseBasedRate.d.mts +0 -4
  458. package/dist/esm/api/types/LicenseBasedRate.mjs +0 -4
  459. package/dist/esm/api/types/LicenseBasedRateInput.d.mts +0 -4
  460. package/dist/esm/api/types/LicenseBasedRateInput.mjs +0 -4
  461. package/dist/esm/api/types/MaxAggregationPricingMetricInterface.mjs +0 -4
  462. package/dist/esm/api/types/MonetaryAmount.d.mts +0 -4
  463. package/dist/esm/api/types/MonetaryAmount.mjs +0 -4
  464. package/dist/esm/api/types/PackagePriceWrapper.d.mts +0 -4
  465. package/dist/esm/api/types/PackagePriceWrapper.mjs +0 -4
  466. package/dist/esm/api/types/PricingMatrixCellInterface.d.mts +0 -8
  467. package/dist/esm/api/types/PricingMatrixCellInterface.mjs +0 -4
  468. package/dist/esm/api/types/PricingMatrixInterface.mjs +0 -4
  469. package/dist/esm/api/types/PricingMetric.d.mts +0 -4
  470. package/dist/esm/api/types/PricingMetric.mjs +0 -4
  471. package/dist/esm/api/types/PricingMetricInterface.mjs +0 -4
  472. package/dist/esm/api/types/PricingPlan.d.mts +0 -4
  473. package/dist/esm/api/types/PricingPlan.mjs +0 -4
  474. package/dist/esm/api/types/PricingPlanSubscription.d.mts +0 -4
  475. package/dist/esm/api/types/PricingPlanSubscription.mjs +0 -4
  476. package/dist/esm/api/types/PricingTier.d.mts +0 -4
  477. package/dist/esm/api/types/PricingTier.mjs +0 -4
  478. package/dist/esm/api/types/RateCard.d.mts +0 -4
  479. package/dist/esm/api/types/RateCard.mjs +0 -4
  480. package/dist/esm/api/types/RateCardVersion.d.mts +0 -4
  481. package/dist/esm/api/types/RateCardVersion.mjs +0 -4
  482. package/dist/esm/api/types/RateCardVersionInput.d.mts +0 -4
  483. package/dist/esm/api/types/RateCardVersionInput.mjs +0 -4
  484. package/dist/esm/api/types/SimpleUsageBasedRate.d.mts +0 -4
  485. package/dist/esm/api/types/SimpleUsageBasedRate.mjs +0 -4
  486. package/dist/esm/api/types/SimpleUsageBasedRateInput.d.mts +0 -4
  487. package/dist/esm/api/types/SimpleUsageBasedRateInput.mjs +0 -4
  488. package/dist/esm/api/types/Subject.d.mts +0 -4
  489. package/dist/esm/api/types/Subject.mjs +0 -4
  490. package/dist/esm/api/types/SubjectGrantingConfig.d.mts +0 -4
  491. package/dist/esm/api/types/SubjectGrantingConfig.mjs +0 -4
  492. package/dist/esm/api/types/SubjectGrantingConfigResource.d.mts +0 -7
  493. package/dist/esm/api/types/SubjectGrantingConfigResource.mjs +0 -4
  494. package/dist/esm/api/types/TieredPrice.d.mts +0 -4
  495. package/dist/esm/api/types/TieredPrice.mjs +0 -4
  496. package/dist/esm/api/types/TieredPriceWrapper.d.mts +0 -4
  497. package/dist/esm/api/types/TieredPriceWrapper.mjs +0 -4
  498. package/dist/esm/api/types/UpdatePricingPlanRequest.d.mts +0 -4
  499. package/dist/esm/api/types/UpdatePricingPlanRequest.mjs +0 -4
  500. package/dist/esm/api/types/UpdateRateCardRequest.d.mts +0 -4
  501. package/dist/esm/api/types/UpdateRateCardRequest.mjs +0 -4
  502. package/dist/esm/api/types/UpdateSubscriptionRequest.d.mts +0 -4
  503. package/dist/esm/api/types/UpdateSubscriptionRequest.mjs +0 -4
  504. package/dist/esm/api/types/UsageBasedRate.d.mts +0 -4
  505. package/dist/esm/api/types/UsageBasedRate.mjs +0 -4
  506. package/dist/esm/api/types/UsageBasedRateInput.d.mts +0 -4
  507. package/dist/esm/api/types/UsageBasedRateInput.mjs +0 -4
  508. package/dist/esm/api/types/UsageUnit.d.mts +0 -4
  509. package/dist/esm/api/types/UsageUnit.mjs +0 -4
  510. /package/dist/cjs/api/resources/{featureAccess → customerAccess}/client/index.d.ts +0 -0
  511. /package/dist/cjs/api/resources/{featureAccess → customerAccess}/client/index.js +0 -0
  512. /package/dist/cjs/api/resources/{featureAccess → customerAccess}/index.d.ts +0 -0
  513. /package/dist/cjs/api/resources/{featureAccess → customerAccess}/index.js +0 -0
  514. /package/dist/cjs/api/resources/{rateCards/client/requests/RateCardsListRateCardsRequest.js → customerPortal/client/requests/CreateCustomerPortalSessionRequest.js} +0 -0
  515. /package/dist/cjs/api/resources/{rateCards/types/CreateRateCardVersionRequestUsageBasedRatesItem.js → invoices/client/requests/ListInvoicesInvoicesGetRequest.js} +0 -0
  516. /package/dist/cjs/api/resources/{subjects/client/requests/SubjectsListSubjectsRequest.js → pricingMetrics/client/requests/CreatePricingMetricRequest.js} +0 -0
  517. /package/dist/cjs/api/resources/{subscriptions/client/requests/SubscriptionsListSubscriptionsRequest.js → pricingMetrics/client/requests/ListPricingMetricsPricingMetricsGetRequest.js} +0 -0
  518. /package/dist/cjs/api/{types/CheckFeatureAccessRequest.js → resources/pricingMetrics/types/PricingMetricAggregation.js} +0 -0
  519. /package/dist/cjs/api/{types/CheckFeatureAccessResponse.js → resources/rateCards/client/requests/ListRateCardsRateCardsGetRequest.js} +0 -0
  520. /package/dist/cjs/api/{types/CompleteSubscriptionCheckoutResponse.js → resources/subjects/client/requests/ListSubjectsSubjectsGetRequest.js} +0 -0
  521. /package/dist/cjs/api/{types/CreateCreditGrantInterface.js → resources/subscriptions/client/requests/CancelSubscriptionRequest.js} +0 -0
  522. /package/dist/cjs/api/{types/CreateCreditGrantInterfaceExpiration.js → resources/subscriptions/client/requests/ChangeSubscriptionRateCardRequest.js} +0 -0
  523. /package/dist/cjs/api/{types/CreateCreditPoolRequest.js → resources/subscriptions/client/requests/ListSubscriptionsSubscriptionsGetRequest.js} +0 -0
  524. /package/dist/cjs/api/types/{CreateDimensionCoordinateInterface.js → BillingStateResponse.js} +0 -0
  525. /package/dist/cjs/api/types/{CreateDimensionInterface.js → CountAggregationPricingMetricResource.js} +0 -0
  526. /package/dist/cjs/api/types/{CreateDimensionalUsageBasedRateInterface.js → CreateCustomerPortalSessionResponse.js} +0 -0
  527. /package/dist/cjs/api/types/{CreateFixedRateInterface.js → CreateFixedRateRequest.js} +0 -0
  528. /package/dist/cjs/api/types/{CreatePricingMatrixCellInterface.js → CreatePricingMetricResponse.js} +0 -0
  529. /package/dist/cjs/api/types/{CreatePricingMatrixInterface.js → CreateSimpleUsageBasedRateRequest.js} +0 -0
  530. /package/dist/cjs/api/types/{CreatePricingMetricInterface.js → GetPricingMetricResponse.js} +0 -0
  531. /package/dist/cjs/api/types/{CreatePricingPlanRequest.js → InvoiceLineItemResource.js} +0 -0
  532. /package/dist/cjs/api/types/{CreateRateCardResponseUsageBasedRatesItem.js → ListInvoicesResponse.js} +0 -0
  533. /package/dist/cjs/api/types/{CreateRateCardVersionResponseUsageBasedRatesItem.js → ListPricingMetricsResponse.js} +0 -0
  534. /package/dist/cjs/api/types/{CreateSimpleUsageBasedRateInterface.js → PeriodResource.js} +0 -0
  535. /package/dist/cjs/api/types/{CreditGrant.js → PricingMetricResource.js} +0 -0
  536. /package/dist/cjs/api/types/{CreditGrantDateTimeExpirationInterface.js → SumAggregationPricingMetricResource.js} +0 -0
  537. /package/dist/esm/api/resources/{featureAccess → customerAccess}/client/index.d.mts +0 -0
  538. /package/dist/esm/api/resources/{featureAccess → customerAccess}/client/index.mjs +0 -0
  539. /package/dist/esm/api/resources/{featureAccess → customerAccess}/index.d.mts +0 -0
  540. /package/dist/esm/api/resources/{featureAccess → customerAccess}/index.mjs +0 -0
  541. /package/dist/esm/api/resources/{rateCards/client/requests/RateCardsListRateCardsRequest.mjs → customerPortal/client/requests/CreateCustomerPortalSessionRequest.mjs} +0 -0
  542. /package/dist/esm/api/resources/{rateCards/types/CreateRateCardVersionRequestUsageBasedRatesItem.mjs → invoices/client/requests/ListInvoicesInvoicesGetRequest.mjs} +0 -0
  543. /package/dist/esm/api/resources/{subjects/client/requests/SubjectsListSubjectsRequest.mjs → pricingMetrics/client/requests/CreatePricingMetricRequest.mjs} +0 -0
  544. /package/dist/esm/api/resources/{subscriptions/client/requests/SubscriptionsListSubscriptionsRequest.mjs → pricingMetrics/client/requests/ListPricingMetricsPricingMetricsGetRequest.mjs} +0 -0
  545. /package/dist/esm/api/{types/CheckFeatureAccessRequest.mjs → resources/pricingMetrics/types/PricingMetricAggregation.mjs} +0 -0
  546. /package/dist/esm/api/{types/CheckFeatureAccessResponse.mjs → resources/rateCards/client/requests/ListRateCardsRateCardsGetRequest.mjs} +0 -0
  547. /package/dist/esm/api/{types/CompleteSubscriptionCheckoutResponse.mjs → resources/subjects/client/requests/ListSubjectsSubjectsGetRequest.mjs} +0 -0
  548. /package/dist/esm/api/{types/CreateCreditGrantInterface.mjs → resources/subscriptions/client/requests/CancelSubscriptionRequest.mjs} +0 -0
  549. /package/dist/esm/api/{types/CreateCreditGrantInterfaceExpiration.mjs → resources/subscriptions/client/requests/ChangeSubscriptionRateCardRequest.mjs} +0 -0
  550. /package/dist/esm/api/{types/CreateCreditPoolRequest.mjs → resources/subscriptions/client/requests/ListSubscriptionsSubscriptionsGetRequest.mjs} +0 -0
  551. /package/dist/esm/api/types/{CreateDimensionCoordinateInterface.mjs → BillingStateResponse.mjs} +0 -0
  552. /package/dist/esm/api/types/{CreateDimensionInterface.mjs → CountAggregationPricingMetricResource.mjs} +0 -0
  553. /package/dist/esm/api/types/{CreateDimensionalUsageBasedRateInterface.mjs → CreateCustomerPortalSessionResponse.mjs} +0 -0
  554. /package/dist/esm/api/types/{CreateFixedRateInterface.mjs → CreateFixedRateRequest.mjs} +0 -0
  555. /package/dist/esm/api/types/{CreatePricingMatrixCellInterface.mjs → CreatePricingMetricResponse.mjs} +0 -0
  556. /package/dist/esm/api/types/{CreatePricingMatrixInterface.mjs → CreateSimpleUsageBasedRateRequest.mjs} +0 -0
  557. /package/dist/esm/api/types/{CreatePricingMetricInterface.mjs → GetPricingMetricResponse.mjs} +0 -0
  558. /package/dist/esm/api/types/{CreatePricingPlanRequest.mjs → InvoiceLineItemResource.mjs} +0 -0
  559. /package/dist/esm/api/types/{CreateRateCardResponseUsageBasedRatesItem.mjs → ListInvoicesResponse.mjs} +0 -0
  560. /package/dist/esm/api/types/{CreateRateCardVersionResponseUsageBasedRatesItem.mjs → ListPricingMetricsResponse.mjs} +0 -0
  561. /package/dist/esm/api/types/{CreateSimpleUsageBasedRateInterface.mjs → PeriodResource.mjs} +0 -0
  562. /package/dist/esm/api/types/{CreditGrant.mjs → PricingMetricResource.mjs} +0 -0
  563. /package/dist/esm/api/types/{CreditGrantDateTimeExpirationInterface.mjs → SumAggregationPricingMetricResource.mjs} +0 -0
@@ -10,6 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  step((generator = generator.apply(thisArg, _arguments || [])).next());
11
11
  });
12
12
  };
13
+ import * as environments from "../../../../environments.mjs";
13
14
  import * as core from "../../../../core/index.mjs";
14
15
  import * as Lark from "../../../index.mjs";
15
16
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
@@ -29,7 +30,6 @@ export class UsageEvents {
29
30
  * idempotency_key: "idempotency_key",
30
31
  * event_name: "event_name",
31
32
  * subject_id: "subject_id",
32
- * timestamp: "2024-01-15T09:30:00Z",
33
33
  * data: {
34
34
  * "key": "value"
35
35
  * }
@@ -40,10 +40,10 @@ export class UsageEvents {
40
40
  }
41
41
  __createUsageEvent(request, requestOptions) {
42
42
  return __awaiter(this, void 0, void 0, function* () {
43
- var _a, _b;
43
+ var _a, _b, _c;
44
44
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
45
45
  const _response = yield core.fetcher({
46
- url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "usage-events"),
46
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LarkEnvironment.Default, "usage-events"),
47
47
  method: "POST",
48
48
  headers: _headers,
49
49
  contentType: "application/json",
@@ -108,10 +108,10 @@ export class UsageEvents {
108
108
  }
109
109
  __createUsageEventSummary(request, requestOptions) {
110
110
  return __awaiter(this, void 0, void 0, function* () {
111
- var _a, _b;
111
+ var _a, _b, _c;
112
112
  let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({}, (yield this._getCustomAuthorizationHeaders()))), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
113
113
  const _response = yield core.fetcher({
114
- url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment)), "usage-events/summary"),
114
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.LarkEnvironment.Default, "usage-events/summary"),
115
115
  method: "POST",
116
116
  headers: _headers,
117
117
  contentType: "application/json",
@@ -7,7 +7,6 @@
7
7
  * idempotency_key: "idempotency_key",
8
8
  * event_name: "event_name",
9
9
  * subject_id: "subject_id",
10
- * timestamp: "2024-01-15T09:30:00Z",
11
10
  * data: {
12
11
  * "key": "value"
13
12
  * }
@@ -17,6 +16,6 @@ export interface CreateUsageEventRequest {
17
16
  idempotency_key: string;
18
17
  event_name: string;
19
18
  subject_id: string;
20
- timestamp: string;
19
+ timestamp?: string;
21
20
  data: Record<string, unknown>;
22
21
  }
@@ -2,21 +2,12 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Lark from "../index.mjs";
5
- export type Aggregation = Lark.Aggregation.Count | Lark.Aggregation.Custom | Lark.Aggregation.Last | Lark.Aggregation.Max | Lark.Aggregation.Sum;
5
+ export type Aggregation = Lark.Aggregation.Count | Lark.Aggregation.Sum;
6
6
  export declare namespace Aggregation {
7
- interface Count extends Lark.CountAggregationPricingMetricInterface {
7
+ interface Count extends Lark.CountAggregationPricingMetricResource {
8
8
  aggregation_type: "count";
9
9
  }
10
- interface Custom extends Lark.CustomAggregationPricingMetricInterface {
11
- aggregation_type: "custom";
12
- }
13
- interface Last extends Lark.LastAggregationPricingMetricInterface {
14
- aggregation_type: "last";
15
- }
16
- interface Max extends Lark.MaxAggregationPricingMetricInterface {
17
- aggregation_type: "max";
18
- }
19
- interface Sum extends Lark.SumAggregationPricingMetricInterface {
10
+ interface Sum extends Lark.SumAggregationPricingMetricResource {
20
11
  aggregation_type: "sum";
21
12
  }
22
13
  }
@@ -2,6 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface Amount {
5
- value: number;
5
+ /** The value of the amount in the smallest unit of the currency. */
6
+ value: string;
6
7
  currency_code: string;
7
8
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface BillingStateResponse {
5
+ has_active_subscription: boolean;
6
+ has_overage_for_usage: boolean;
7
+ }
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface CreditGrantScheduleOneTimeResource {
4
+ export interface CountAggregationPricingMetricResource {
5
5
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CreateCustomerPortalSessionResponse {
5
+ subject_id: string;
6
+ url: string;
7
+ }
@@ -2,6 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Lark from "../index.mjs";
5
- export interface PricingMatrixInterface {
6
- cells: Lark.PricingMatrixCellInterface[];
5
+ export interface CreateFixedRateRequest {
6
+ name?: string;
7
+ description?: string;
8
+ price: Lark.Price;
7
9
  }
@@ -2,11 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Lark from "../index.mjs";
5
- export interface PricingMetricInterface {
5
+ export interface CreatePricingMetricResponse {
6
6
  id: string;
7
7
  name: string;
8
8
  event_name: string;
9
9
  aggregation: Lark.Aggregation;
10
- /** Unit of the value computed by the pricing metric. */
11
10
  unit: string;
12
11
  }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Lark from "../index.mjs";
5
+ export interface CreateSimpleUsageBasedRateRequest {
6
+ name?: string;
7
+ description?: string;
8
+ price: Lark.Price;
9
+ included_units?: number;
10
+ /** The ID of the pricing metric to use for this rate. */
11
+ pricing_metric_id: string;
12
+ }
@@ -2,10 +2,16 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface CreateSubjectResponse {
5
+ /** The ID of the subject. */
5
6
  id: string;
7
+ /** The ID of the subject in your system. You may pass it to the API in place of the subject ID. */
6
8
  external_id?: string;
9
+ /** The name of the subject. Used for display in the dashboard. */
7
10
  name?: string;
11
+ /** The email of the subject. */
8
12
  email?: string;
9
- parent_subject_id?: string;
13
+ /** Additional metadata about the subject. You may use this to store any custom data about the subject. */
10
14
  metadata: Record<string, string>;
15
+ /** The date and time the subject was created. */
16
+ created_at: string;
11
17
  }
@@ -5,6 +5,5 @@ import * as Lark from "../index.mjs";
5
5
  export interface CreateSubscriptionCheckoutSessionResponse {
6
6
  id: string;
7
7
  amount: Lark.Amount;
8
- payment_intent_client_secret?: string;
9
- setup_intent_client_secret?: string;
8
+ url: string;
10
9
  }
@@ -5,6 +5,6 @@ import * as Lark from "../index.mjs";
5
5
  export interface CreateUsageEventSummaryResponse {
6
6
  event_name: string;
7
7
  subject_id: string;
8
- value?: number;
8
+ value?: string;
9
9
  period: Lark.Period;
10
10
  }
@@ -6,8 +6,5 @@ export interface FixedRateInterface {
6
6
  id: string;
7
7
  name: string;
8
8
  description: string;
9
- price?: Lark.Price;
10
- credit_grants: Lark.CreditGrantInterface[];
11
- /** Code of this rate to be used for setting quantity. */
12
- quantity_code?: string;
9
+ price: Lark.Price;
13
10
  }
@@ -2,10 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Lark from "../index.mjs";
5
- export interface CreatePricingMetricInterface {
5
+ export interface GetPricingMetricResponse {
6
+ id: string;
6
7
  name: string;
7
8
  event_name: string;
8
9
  aggregation: Lark.Aggregation;
9
- /** Unit of the value computed by the pricing metric. */
10
10
  unit: string;
11
11
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Lark from "../index.mjs";
5
+ export interface InvoiceLineItemResource {
6
+ amount: Lark.Amount;
7
+ description: string;
8
+ quantity: number;
9
+ price_in_unit_amount: Lark.Amount;
10
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Lark from "../index.mjs";
5
+ export interface InvoiceResource {
6
+ id: string;
7
+ merchant_id: string;
8
+ bill_id?: string;
9
+ total_amount: Lark.Amount;
10
+ subject_id: string;
11
+ created_at: string;
12
+ status: InvoiceResource.Status;
13
+ hosted_url?: string;
14
+ line_items: Lark.InvoiceLineItemResource[];
15
+ }
16
+ export declare namespace InvoiceResource {
17
+ type Status = "draft" | "open" | "paid" | "uncollectible" | "void";
18
+ const Status: {
19
+ readonly Draft: "draft";
20
+ readonly Open: "open";
21
+ readonly Paid: "paid";
22
+ readonly Uncollectible: "uncollectible";
23
+ readonly Void: "void";
24
+ };
25
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export var InvoiceResource;
5
+ (function (InvoiceResource) {
6
+ InvoiceResource.Status = {
7
+ Draft: "draft",
8
+ Open: "open",
9
+ Paid: "paid",
10
+ Uncollectible: "uncollectible",
11
+ Void: "void",
12
+ };
13
+ })(InvoiceResource || (InvoiceResource = {}));
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Lark from "../index.mjs";
5
- export interface CompleteSubscriptionCheckoutResponse {
6
- id: string;
7
- amount: Lark.Amount;
5
+ export interface ListInvoicesResponse {
6
+ invoices: Lark.InvoiceResource[];
7
+ has_more: boolean;
8
8
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Lark from "../index.mjs";
5
+ export interface ListPricingMetricsResponse {
6
+ pricing_metrics: Lark.PricingMetricResource[];
7
+ has_more: boolean;
8
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface PeriodResource {
5
+ inclusive_start?: boolean;
6
+ inclusive_end?: boolean;
7
+ start: string;
8
+ end: string;
9
+ }
@@ -1,4 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type Price = unknown;
4
+ import * as Lark from "../index.mjs";
5
+ export type Price = Lark.Price.Flat | Lark.Price.Package;
6
+ export declare namespace Price {
7
+ interface Flat extends Lark.FlatPrice {
8
+ price_type: "flat";
9
+ }
10
+ interface Package extends Lark.PackagePrice {
11
+ price_type: "package";
12
+ }
13
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Lark from "../index.mjs";
5
+ export interface PricingMetricResource {
6
+ id: string;
7
+ name: string;
8
+ event_name: string;
9
+ aggregation: Lark.Aggregation;
10
+ unit: string;
11
+ }
@@ -9,12 +9,8 @@ export interface RateCardResource {
9
9
  usage_based_rates: Lark.RateCardResourceUsageBasedRatesItem[];
10
10
  fixed_rates: Lark.FixedRateInterface[];
11
11
  billing_interval: RateCardResource.BillingInterval;
12
- credit_grants: Lark.CreditGrantResource[];
13
12
  created_at: string;
14
13
  updated_at: string;
15
- major_version: number;
16
- minor_version: number;
17
- feature_access: Lark.FeatureAccessResource[];
18
14
  metadata: Record<string, string>;
19
15
  }
20
16
  export declare namespace RateCardResource {
@@ -2,11 +2,8 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Lark from "../index.mjs";
5
- export type RateCardResourceUsageBasedRatesItem = Lark.RateCardResourceUsageBasedRatesItem.Dimensional | Lark.RateCardResourceUsageBasedRatesItem.Simple;
5
+ export type RateCardResourceUsageBasedRatesItem = Lark.RateCardResourceUsageBasedRatesItem.Simple;
6
6
  export declare namespace RateCardResourceUsageBasedRatesItem {
7
- interface Dimensional extends Lark.DimensionalUsageBasedRateInterface {
8
- usage_based_rate_type: "dimensional";
9
- }
10
7
  interface Simple extends Lark.SimpleUsageBasedRateInterface {
11
8
  usage_based_rate_type: "simple";
12
9
  }
@@ -4,11 +4,9 @@
4
4
  import * as Lark from "../index.mjs";
5
5
  export interface SimpleUsageBasedRateInterface {
6
6
  id: string;
7
- /** Code of this rate to be used for overrides and external reference. */
8
- code: string;
9
7
  name: string;
10
8
  description: string;
11
- price?: Lark.Price;
9
+ price: Lark.Price;
12
10
  included_units: number;
13
- pricing_metric: Lark.PricingMetricInterface;
11
+ pricing_metric_id: string;
14
12
  }
@@ -2,10 +2,16 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface SubjectResource {
5
+ /** The ID of the subject. */
5
6
  id: string;
7
+ /** The ID of the subject in your system. You may pass it to the API in place of the subject ID. */
6
8
  external_id?: string;
9
+ /** The name of the subject. Used for display in the dashboard. */
7
10
  name?: string;
11
+ /** The email of the subject. */
8
12
  email?: string;
9
- parent_subject_id?: string;
13
+ /** Additional metadata about the subject. You may use this to store any custom data about the subject. */
10
14
  metadata: Record<string, string>;
15
+ /** The date and time the subject was created. */
16
+ created_at: string;
11
17
  }
@@ -1,15 +1,17 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Lark from "../index.mjs";
4
5
  export interface SubscriptionResource {
5
6
  id: string;
6
7
  subject_id: string;
7
8
  rate_card_id: string;
8
9
  effective_at: string;
9
10
  cycles_next_at?: string;
10
- variables?: Record<string, string | undefined>;
11
- metadata?: Record<string, string | undefined>;
11
+ current_period?: Lark.PeriodResource;
12
+ metadata: Record<string, string>;
12
13
  status: SubscriptionResource.Status;
14
+ cancels_at_end_of_cycle: boolean;
13
15
  }
14
16
  export declare namespace SubscriptionResource {
15
17
  type Status = "active" | "cancelled" | "paused";
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface MaxAggregationPricingMetricInterface {
5
- /** Field to get the max value of. */
4
+ export interface SumAggregationPricingMetricResource {
6
5
  value_field: string;
7
6
  }
@@ -1,110 +1,36 @@
1
1
  export * from "./Amount.mjs";
2
- export * from "./CheckFeatureAccessRequest.mjs";
3
- export * from "./CheckFeatureAccessResponse.mjs";
4
- export * from "./CompleteSubscriptionCheckoutResponse.mjs";
2
+ export * from "./BillingStateResponse.mjs";
5
3
  export * from "./CountAggregationPricingMetricInterface.mjs";
6
- export * from "./CreateCreditGrantInterfaceExpiration.mjs";
7
- export * from "./CreateCreditGrantInterface.mjs";
8
- export * from "./CreateDimensionCoordinateInterface.mjs";
9
- export * from "./CreateDimensionInterface.mjs";
10
- export * from "./CreateDimensionalUsageBasedRateInterface.mjs";
4
+ export * from "./CountAggregationPricingMetricResource.mjs";
5
+ export * from "./CreateCustomerPortalSessionResponse.mjs";
11
6
  export * from "./Price.mjs";
12
- export * from "./CreateFixedRateInterface.mjs";
13
- export * from "./CreatePricingMatrixCellInterface.mjs";
14
- export * from "./CreatePricingMatrixInterface.mjs";
7
+ export * from "./CreateFixedRateRequest.mjs";
15
8
  export * from "./Aggregation.mjs";
16
- export * from "./CreatePricingMetricInterface.mjs";
17
- export * from "./CreateRateCardResponseUsageBasedRatesItem.mjs";
18
- export * from "./CreateRateCardResponse.mjs";
19
- export * from "./CreateRateCardVersionResponseUsageBasedRatesItem.mjs";
20
- export * from "./CreateRateCardVersionResponse.mjs";
21
- export * from "./CreateSimpleUsageBasedRateInterface.mjs";
9
+ export * from "./CreatePricingMetricResponse.mjs";
10
+ export * from "./CreateSimpleUsageBasedRateRequest.mjs";
22
11
  export * from "./CreateSubjectResponse.mjs";
23
12
  export * from "./CreateSubscriptionCheckoutSessionResponse.mjs";
24
13
  export * from "./CreateUsageEventSummaryResponse.mjs";
25
- export * from "./CreditGrantDateTimeExpirationInterface.mjs";
26
- export * from "./CreditGrantDateTimeExpirationResource.mjs";
27
- export * from "./CreditGrantDurationExpirationInterface.mjs";
28
- export * from "./CreditGrantDurationExpirationResource.mjs";
29
- export * from "./CreditGrantInterfaceInputExpiration.mjs";
30
- export * from "./CreditGrantInterface.mjs";
31
- export * from "./CreditGrantInterfaceOutputSchedule.mjs";
32
- export * from "./CreditGrantInterfaceOutputExpiration.mjs";
33
- export * from "./CreditGrantResourceInputSchedule.mjs";
34
- export * from "./CreditGrantResourceInputExpiration.mjs";
35
- export * from "./CreditGrantResource.mjs";
36
- export * from "./CreditGrantResourceOutputSchedule.mjs";
37
- export * from "./CreditGrantResourceOutputExpiration.mjs";
38
- export * from "./CreditGrantScheduleOneTimeInterface.mjs";
39
- export * from "./CreditGrantScheduleOneTimeResource.mjs";
40
- export * from "./CreditGrantScheduleRateCycleStartInterface.mjs";
41
- export * from "./CreditGrantScheduleRateCycleStartResource.mjs";
42
- export * from "./CreditGrantSubjectGrantingConfigInterface.mjs";
43
- export * from "./CustomAggregationPricingMetricInterface.mjs";
44
- export * from "./DimensionCoordinateInterface.mjs";
45
- export * from "./DimensionInterface.mjs";
46
- export * from "./DimensionalUsageBasedRateInterface.mjs";
47
- export * from "./FeatureAccessResource.mjs";
48
14
  export * from "./FixedRateInterface.mjs";
49
15
  export * from "./FlatPrice.mjs";
50
- export * from "./GetRateCardResponseUsageBasedRatesItem.mjs";
51
- export * from "./GetRateCardResponse.mjs";
16
+ export * from "./GetPricingMetricResponse.mjs";
52
17
  export * from "./HttpValidationError.mjs";
53
- export * from "./LastAggregationPricingMetricInterface.mjs";
18
+ export * from "./InvoiceLineItemResource.mjs";
19
+ export * from "./InvoiceResource.mjs";
20
+ export * from "./ListInvoicesResponse.mjs";
21
+ export * from "./ListPricingMetricsResponse.mjs";
54
22
  export * from "./ListRateCardsResponse.mjs";
55
23
  export * from "./ListSubjectsResponse.mjs";
56
24
  export * from "./ListSubscriptionsResponse.mjs";
57
- export * from "./MaxAggregationPricingMetricInterface.mjs";
58
25
  export * from "./PackagePrice.mjs";
59
26
  export * from "./Period.mjs";
60
- export * from "./PricingMatrixCellInterface.mjs";
61
- export * from "./PricingMatrixInterface.mjs";
62
- export * from "./PricingMetricInterface.mjs";
27
+ export * from "./PeriodResource.mjs";
28
+ export * from "./PricingMetricResource.mjs";
63
29
  export * from "./RateCardResourceUsageBasedRatesItem.mjs";
64
30
  export * from "./RateCardResource.mjs";
65
31
  export * from "./SimpleUsageBasedRateInterface.mjs";
66
- export * from "./SubjectGrantingConfigResource.mjs";
67
32
  export * from "./SubjectResource.mjs";
68
33
  export * from "./SubscriptionResource.mjs";
69
34
  export * from "./SumAggregationPricingMetricInterface.mjs";
35
+ export * from "./SumAggregationPricingMetricResource.mjs";
70
36
  export * from "./ValidationError.mjs";
71
- export * from "./Subject.mjs";
72
- export * from "./UsageUnit.mjs";
73
- export * from "./CustomUnit.mjs";
74
- export * from "./MonetaryAmount.mjs";
75
- export * from "./CustomUnitAmount.mjs";
76
- export * from "./PricingTier.mjs";
77
- export * from "./TieredPrice.mjs";
78
- export * from "./TieredPriceWrapper.mjs";
79
- export * from "./PackagePriceWrapper.mjs";
80
- export * from "./CustomPricingMetric.mjs";
81
- export * from "./PricingMetric.mjs";
82
- export * from "./DimensionCoordinate.mjs";
83
- export * from "./DimensionCoordinateSet.mjs";
84
- export * from "./Dimension.mjs";
85
- export * from "./DimensionalRateMatrixCell.mjs";
86
- export * from "./DimensionalRateMatrix.mjs";
87
- export * from "./SimpleUsageBasedRate.mjs";
88
- export * from "./DimensionalUsageBasedRate.mjs";
89
- export * from "./UsageBasedRate.mjs";
90
- export * from "./LicenseBasedRate.mjs";
91
- export * from "./RateCardVersion.mjs";
92
- export * from "./RateCard.mjs";
93
- export * from "./CreditPoolRolloverConfig.mjs";
94
- export * from "./CreditPool.mjs";
95
- export * from "./SubjectGrantingConfig.mjs";
96
- export * from "./CreditGrantSchedule.mjs";
97
- export * from "./CreditGrant.mjs";
98
- export * from "./PricingPlan.mjs";
99
- export * from "./PricingPlanSubscription.mjs";
100
- export * from "./SimpleUsageBasedRateInput.mjs";
101
- export * from "./DimensionalUsageBasedRateInput.mjs";
102
- export * from "./UsageBasedRateInput.mjs";
103
- export * from "./LicenseBasedRateInput.mjs";
104
- export * from "./RateCardVersionInput.mjs";
105
- export * from "./CreatePricingPlanRequest.mjs";
106
- export * from "./UpdatePricingPlanRequest.mjs";
107
- export * from "./UpdateSubscriptionRequest.mjs";
108
- export * from "./CreateCreditPoolRequest.mjs";
109
- export * from "./GrantCreditsRequest.mjs";
110
- export * from "./UpdateRateCardRequest.mjs";