@schematichq/schematic-typescript-node 1.4.4 → 1.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (359) hide show
  1. package/LICENSE +1 -1
  2. package/dist/BaseClient.d.ts +1 -1
  3. package/dist/Client.d.ts +14 -0
  4. package/dist/api/resources/accesstokens/exports.d.ts +2 -0
  5. package/dist/api/resources/accounts/client/Client.d.ts +43 -10
  6. package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +2 -2
  7. package/dist/api/resources/accounts/client/requests/CountAuditLogsRequest.d.ts +2 -2
  8. package/dist/api/resources/accounts/client/requests/ListAccountMembersRequest.d.ts +17 -0
  9. package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +2 -2
  10. package/dist/api/resources/accounts/client/requests/ListAuditLogsRequest.d.ts +2 -2
  11. package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +2 -2
  12. package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
  13. package/dist/api/resources/accounts/exports.d.ts +2 -0
  14. package/dist/api/resources/accounts/types/GetAccountMemberResponse.d.ts +6 -0
  15. package/dist/api/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
  16. package/dist/api/resources/accounts/types/ListAccountMembersResponse.d.ts +6 -0
  17. package/dist/api/resources/accounts/types/index.d.ts +3 -0
  18. package/dist/api/resources/billing/client/Client.d.ts +42 -40
  19. package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +3 -3
  20. package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +3 -3
  21. package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +1 -1
  22. package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +4 -3
  23. package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +4 -4
  24. package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +4 -4
  25. package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
  26. package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +7 -4
  27. package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +7 -4
  28. package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +3 -3
  29. package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +2 -2
  30. package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +3 -3
  31. package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +2 -2
  32. package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +2 -2
  33. package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +2 -2
  34. package/dist/api/resources/billing/exports.d.ts +2 -0
  35. package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +2 -0
  36. package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -0
  37. package/dist/api/resources/checkout/client/Client.d.ts +8 -8
  38. package/dist/api/resources/checkout/exports.d.ts +2 -0
  39. package/dist/api/resources/companies/client/Client.d.ts +38 -30
  40. package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +5 -2
  41. package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +2 -2
  42. package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +2 -2
  43. package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -2
  44. package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +2 -2
  45. package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +2 -2
  46. package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +2 -2
  47. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +5 -2
  48. package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +2 -2
  49. package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +2 -2
  50. package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +2 -2
  51. package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +7 -6
  52. package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -2
  53. package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +2 -2
  54. package/dist/api/resources/companies/exports.d.ts +2 -0
  55. package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +2 -0
  56. package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +2 -0
  57. package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +3 -2
  58. package/dist/api/resources/components/client/Client.d.ts +4 -4
  59. package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +2 -2
  60. package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +2 -2
  61. package/dist/api/resources/components/exports.d.ts +2 -0
  62. package/dist/api/resources/componentspublic/exports.d.ts +2 -0
  63. package/dist/api/resources/credits/client/Client.d.ts +47 -33
  64. package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +2 -2
  65. package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +2 -2
  66. package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +2 -2
  67. package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +2 -2
  68. package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +2 -2
  69. package/dist/api/resources/credits/client/requests/CountCreditEventLedgerRequest.d.ts +2 -2
  70. package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +2 -2
  71. package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +1 -0
  72. package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +3 -2
  73. package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -1
  74. package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +2 -2
  75. package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +2 -2
  76. package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +2 -2
  77. package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +2 -2
  78. package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +2 -2
  79. package/dist/api/resources/credits/client/requests/ListCreditEventLedgerRequest.d.ts +2 -2
  80. package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +2 -2
  81. package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +1 -0
  82. package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -1
  83. package/dist/api/resources/credits/exports.d.ts +2 -0
  84. package/dist/api/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +6 -0
  85. package/dist/api/resources/credits/types/index.d.ts +1 -0
  86. package/dist/api/resources/dataexports/exports.d.ts +2 -0
  87. package/dist/api/resources/entitlements/client/Client.d.ts +41 -20
  88. package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +2 -2
  89. package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +2 -2
  90. package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +2 -2
  91. package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +2 -2
  92. package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +2 -2
  93. package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +44 -0
  94. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
  95. package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +2 -2
  96. package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +2 -2
  97. package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +2 -2
  98. package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +2 -2
  99. package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +2 -2
  100. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -0
  101. package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
  102. package/dist/api/resources/entitlements/exports.d.ts +2 -0
  103. package/dist/api/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +7 -0
  104. package/dist/api/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +5 -0
  105. package/dist/api/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +6 -0
  106. package/dist/api/resources/entitlements/types/index.d.ts +3 -0
  107. package/dist/api/resources/events/client/Client.d.ts +4 -4
  108. package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +2 -2
  109. package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +2 -2
  110. package/dist/api/resources/events/exports.d.ts +2 -0
  111. package/dist/api/resources/features/client/Client.d.ts +34 -13
  112. package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +10 -10
  113. package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +2 -2
  114. package/dist/api/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +26 -0
  115. package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +10 -10
  116. package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +2 -2
  117. package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +1 -1
  118. package/dist/api/resources/features/client/requests/index.d.ts +1 -0
  119. package/dist/api/resources/features/exports.d.ts +2 -0
  120. package/dist/api/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts +6 -0
  121. package/dist/api/resources/features/types/index.d.ts +1 -0
  122. package/dist/api/resources/index.d.ts +2 -0
  123. package/dist/api/resources/integrationsapi/client/Client.d.ts +27 -0
  124. package/dist/api/resources/integrationsapi/client/index.d.ts +1 -0
  125. package/dist/api/resources/integrationsapi/exports.d.ts +2 -0
  126. package/dist/api/resources/integrationsapi/index.d.ts +2 -0
  127. package/dist/api/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +6 -0
  128. package/dist/api/resources/integrationsapi/types/index.d.ts +1 -0
  129. package/dist/api/resources/planbundle/exports.d.ts +2 -0
  130. package/dist/api/resources/plangroups/exports.d.ts +2 -0
  131. package/dist/api/resources/planmigrations/client/Client.d.ts +8 -8
  132. package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +2 -2
  133. package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +2 -2
  134. package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +2 -2
  135. package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +2 -2
  136. package/dist/api/resources/planmigrations/exports.d.ts +2 -0
  137. package/dist/api/resources/plans/client/Client.d.ts +98 -7
  138. package/dist/api/resources/plans/client/requests/CountBillingProductMatchCompaniesRequest.d.ts +19 -0
  139. package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +8 -2
  140. package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +19 -0
  141. package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +16 -0
  142. package/dist/api/resources/plans/client/requests/DeletePlanVersionRequest.d.ts +9 -0
  143. package/dist/api/resources/plans/client/requests/ListBillingProductMatchCompaniesRequest.d.ts +19 -0
  144. package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +8 -2
  145. package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +9 -1
  146. package/dist/api/resources/plans/client/requests/index.d.ts +5 -0
  147. package/dist/api/resources/plans/exports.d.ts +2 -0
  148. package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +13 -0
  149. package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +6 -0
  150. package/dist/api/resources/plans/types/CountPlansParams.d.ts +4 -0
  151. package/dist/api/resources/plans/types/CreateCustomPlanResponse.d.ts +6 -0
  152. package/dist/api/resources/plans/types/DeletePlanVersionParams.d.ts +6 -0
  153. package/dist/api/resources/plans/types/DeletePlanVersionResponse.d.ts +1 -1
  154. package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +13 -0
  155. package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +6 -0
  156. package/dist/api/resources/plans/types/ListPlansParams.d.ts +4 -0
  157. package/dist/api/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +6 -0
  158. package/dist/api/resources/plans/types/index.d.ts +7 -0
  159. package/dist/api/resources/scheduledcheckout/client/Client.d.ts +2 -2
  160. package/dist/api/resources/scheduledcheckout/client/requests/ListScheduledCheckoutsRequest.d.ts +2 -2
  161. package/dist/api/resources/scheduledcheckout/exports.d.ts +2 -0
  162. package/dist/api/resources/webhooks/client/Client.d.ts +8 -8
  163. package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +2 -2
  164. package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +2 -2
  165. package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +2 -2
  166. package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +2 -2
  167. package/dist/api/resources/webhooks/exports.d.ts +2 -0
  168. package/dist/api/types/AccountMemberPermission.d.ts +18 -0
  169. package/dist/api/types/AccountMemberResponseData.d.ts +11 -0
  170. package/dist/api/types/AccountMemberRole.d.ts +5 -0
  171. package/dist/api/types/BillingCreditBundleResponseData.d.ts +2 -0
  172. package/dist/api/types/BillingCreditBundleView.d.ts +1 -0
  173. package/dist/api/types/BillingCreditGrantReason.d.ts +1 -0
  174. package/dist/api/types/BillingCreditGrantResponseData.d.ts +1 -0
  175. package/dist/api/types/BillingCreditResponseData.d.ts +1 -0
  176. package/dist/api/types/BillingLinkedResourceResponseData.d.ts +6 -0
  177. package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
  178. package/dist/api/types/BillingProductPlanResponseData.d.ts +1 -1
  179. package/dist/api/types/BillingProviderType.d.ts +1 -0
  180. package/dist/api/types/CheckoutSubscription.d.ts +1 -0
  181. package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
  182. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +7 -2
  183. package/dist/api/types/ConditionGroupResponseData.d.ts +0 -1
  184. package/dist/api/types/ConditionGroupView.d.ts +0 -1
  185. package/dist/api/types/ConditionResponseData.d.ts +0 -1
  186. package/dist/api/types/ConditionView.d.ts +0 -1
  187. package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
  188. package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +1 -0
  189. package/dist/api/types/CreatePlanRequestBody.d.ts +1 -1
  190. package/dist/api/types/CreditBundleCurrencyPrice.d.ts +5 -0
  191. package/dist/api/types/CreditBundleCurrencyPriceRequestBody.d.ts +5 -0
  192. package/dist/api/types/CreditBundleCurrencyPriceResponseData.d.ts +5 -0
  193. package/dist/api/types/CreditCompanyGrantView.d.ts +1 -0
  194. package/dist/api/types/CreditCurrencyPriceRequestBody.d.ts +5 -0
  195. package/dist/api/types/CreditCurrencyPriceResponseData.d.ts +5 -0
  196. package/dist/api/types/CurrencyPriceRequestBody.d.ts +10 -0
  197. package/dist/api/types/CustomPlanActivationStrategy.d.ts +5 -0
  198. package/dist/api/types/CustomPlanBillingResponseData.d.ts +14 -0
  199. package/dist/api/types/CustomPlanBillingStatus.d.ts +6 -0
  200. package/dist/api/types/DatastreamCompanyPlan.d.ts +2 -0
  201. package/dist/api/types/EntitlementCurrencyPricesResponseData.d.ts +6 -0
  202. package/dist/api/types/FeatureDetailResponseData.d.ts +1 -0
  203. package/dist/api/types/FeatureView.d.ts +1 -0
  204. package/dist/api/types/IntegrationType.d.ts +7 -0
  205. package/dist/api/types/IntegrationWebhookUrlResponseData.d.ts +5 -0
  206. package/dist/api/types/ManagePlanRequest.d.ts +1 -0
  207. package/dist/api/types/PlanCreditGrantView.d.ts +1 -0
  208. package/dist/api/types/PlanCurrencyPriceRequestBody.d.ts +6 -0
  209. package/dist/api/types/PlanCurrencyPricesResponseData.d.ts +7 -0
  210. package/dist/api/types/PlanDetailResponseData.d.ts +7 -2
  211. package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -0
  212. package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +7 -2
  213. package/dist/api/types/PlanIcon.d.ts +28 -0
  214. package/dist/api/types/PlanResponseData.d.ts +3 -1
  215. package/dist/api/types/PlanSelection.d.ts +1 -0
  216. package/dist/api/types/PlanVersionResponseData.d.ts +1 -1
  217. package/dist/api/types/PlanViewPublicResponseData.d.ts +7 -2
  218. package/dist/api/types/RuleView.d.ts +0 -1
  219. package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
  220. package/dist/api/types/TrialStatus.d.ts +6 -0
  221. package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
  222. package/dist/api/types/UpdatePlanRequestBody.d.ts +2 -1
  223. package/dist/api/types/UpsertBillingProductRequestBody.d.ts +1 -0
  224. package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +1 -0
  225. package/dist/api/types/WebScheduledDowngradeWebhookOutput.d.ts +10 -0
  226. package/dist/api/types/WebhookRequestType.d.ts +1 -0
  227. package/dist/api/types/WebhookUrl.d.ts +5 -0
  228. package/dist/api/types/index.d.ts +22 -1
  229. package/dist/auth/HeaderAuthProvider.d.ts +14 -10
  230. package/dist/core/fetcher/BinaryResponse.d.ts +1 -1
  231. package/dist/core/fetcher/EndpointSupplier.d.ts +2 -2
  232. package/dist/core/fetcher/Fetcher.d.ts +1 -2
  233. package/dist/core/fetcher/index.d.ts +2 -0
  234. package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
  235. package/dist/core/fetcher/makeRequest.d.ts +6 -1
  236. package/dist/core/headers.d.ts +2 -2
  237. package/dist/core/schemas/builders/record/index.d.ts +2 -2
  238. package/dist/core/schemas/builders/record/record.d.ts +2 -1
  239. package/dist/core/schemas/builders/record/types.d.ts +2 -0
  240. package/dist/datastream/merge.d.ts +25 -0
  241. package/dist/datastream/types.d.ts +1 -0
  242. package/dist/index.js +3 -3
  243. package/dist/serialization/resources/accounts/types/GetAccountMemberResponse.d.ts +11 -0
  244. package/dist/serialization/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
  245. package/dist/serialization/resources/accounts/types/ListAccountMembersResponse.d.ts +12 -0
  246. package/dist/serialization/resources/accounts/types/index.d.ts +3 -0
  247. package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +2 -0
  248. package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
  249. package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +1 -0
  250. package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +1 -0
  251. package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +1 -0
  252. package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
  253. package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +4 -2
  254. package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +2 -0
  255. package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -0
  256. package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -0
  257. package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +2 -0
  258. package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -0
  259. package/dist/serialization/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +11 -0
  260. package/dist/serialization/resources/credits/types/index.d.ts +1 -0
  261. package/dist/serialization/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +46 -0
  262. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +2 -0
  263. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +2 -0
  264. package/dist/serialization/resources/entitlements/client/requests/index.d.ts +1 -0
  265. package/dist/serialization/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +7 -0
  266. package/dist/serialization/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +7 -0
  267. package/dist/serialization/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +11 -0
  268. package/dist/serialization/resources/entitlements/types/index.d.ts +3 -0
  269. package/dist/serialization/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +25 -0
  270. package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
  271. package/dist/serialization/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts +11 -0
  272. package/dist/serialization/resources/features/types/index.d.ts +1 -0
  273. package/dist/serialization/resources/index.d.ts +2 -0
  274. package/dist/serialization/resources/integrationsapi/index.d.ts +1 -0
  275. package/dist/serialization/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +11 -0
  276. package/dist/serialization/resources/integrationsapi/types/index.d.ts +1 -0
  277. package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +17 -0
  278. package/dist/serialization/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +14 -0
  279. package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +6 -0
  280. package/dist/serialization/resources/plans/client/requests/index.d.ts +2 -0
  281. package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +12 -0
  282. package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +12 -0
  283. package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -0
  284. package/dist/serialization/resources/plans/types/CreateCustomPlanResponse.d.ts +11 -0
  285. package/dist/serialization/resources/plans/types/DeletePlanVersionParams.d.ts +9 -0
  286. package/dist/serialization/resources/plans/types/DeletePlanVersionResponse.d.ts +2 -1
  287. package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +12 -0
  288. package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +12 -0
  289. package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -0
  290. package/dist/serialization/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +11 -0
  291. package/dist/serialization/resources/plans/types/index.d.ts +7 -0
  292. package/dist/serialization/types/AccountMemberPermission.d.ts +7 -0
  293. package/dist/serialization/types/AccountMemberResponseData.d.ts +18 -0
  294. package/dist/serialization/types/AccountMemberRole.d.ts +7 -0
  295. package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +3 -0
  296. package/dist/serialization/types/BillingCreditBundleView.d.ts +2 -0
  297. package/dist/serialization/types/BillingCreditGrantReason.d.ts +1 -1
  298. package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +1 -0
  299. package/dist/serialization/types/BillingCreditResponseData.d.ts +2 -0
  300. package/dist/serialization/types/BillingLinkedResourceResponseData.d.ts +12 -0
  301. package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
  302. package/dist/serialization/types/BillingProductPlanResponseData.d.ts +2 -2
  303. package/dist/serialization/types/BillingProviderType.d.ts +1 -1
  304. package/dist/serialization/types/CheckoutSubscription.d.ts +1 -0
  305. package/dist/serialization/types/CompanyDetailResponseData.d.ts +2 -0
  306. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +10 -3
  307. package/dist/serialization/types/ConditionGroupResponseData.d.ts +0 -1
  308. package/dist/serialization/types/ConditionGroupView.d.ts +0 -1
  309. package/dist/serialization/types/ConditionResponseData.d.ts +0 -1
  310. package/dist/serialization/types/ConditionView.d.ts +0 -1
  311. package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
  312. package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +2 -0
  313. package/dist/serialization/types/CreatePlanRequestBody.d.ts +2 -1
  314. package/dist/serialization/types/CreditBundleCurrencyPrice.d.ts +11 -0
  315. package/dist/serialization/types/CreditBundleCurrencyPriceRequestBody.d.ts +11 -0
  316. package/dist/serialization/types/CreditBundleCurrencyPriceResponseData.d.ts +11 -0
  317. package/dist/serialization/types/CreditCompanyGrantView.d.ts +1 -0
  318. package/dist/serialization/types/CreditCurrencyPriceRequestBody.d.ts +11 -0
  319. package/dist/serialization/types/CreditCurrencyPriceResponseData.d.ts +11 -0
  320. package/dist/serialization/types/CurrencyPriceRequestBody.d.ts +16 -0
  321. package/dist/serialization/types/CustomPlanActivationStrategy.d.ts +7 -0
  322. package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +21 -0
  323. package/dist/serialization/types/CustomPlanBillingStatus.d.ts +7 -0
  324. package/dist/serialization/types/DatastreamCompanyPlan.d.ts +2 -0
  325. package/dist/serialization/types/EntitlementCurrencyPricesResponseData.d.ts +12 -0
  326. package/dist/serialization/types/FeatureDetailResponseData.d.ts +2 -0
  327. package/dist/serialization/types/FeatureView.d.ts +2 -0
  328. package/dist/serialization/types/IntegrationType.d.ts +7 -0
  329. package/dist/serialization/types/IntegrationWebhookUrlResponseData.d.ts +11 -0
  330. package/dist/serialization/types/ManagePlanRequest.d.ts +1 -0
  331. package/dist/serialization/types/PlanCreditGrantView.d.ts +1 -0
  332. package/dist/serialization/types/PlanCurrencyPriceRequestBody.d.ts +12 -0
  333. package/dist/serialization/types/PlanCurrencyPricesResponseData.d.ts +13 -0
  334. package/dist/serialization/types/PlanDetailResponseData.d.ts +10 -3
  335. package/dist/serialization/types/PlanEntitlementResponseData.d.ts +4 -0
  336. package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +10 -3
  337. package/dist/serialization/types/PlanIcon.d.ts +7 -0
  338. package/dist/serialization/types/PlanResponseData.d.ts +4 -1
  339. package/dist/serialization/types/PlanSelection.d.ts +1 -0
  340. package/dist/serialization/types/PlanVersionResponseData.d.ts +2 -1
  341. package/dist/serialization/types/PlanViewPublicResponseData.d.ts +10 -3
  342. package/dist/serialization/types/RuleView.d.ts +0 -1
  343. package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
  344. package/dist/serialization/types/TrialStatus.d.ts +7 -0
  345. package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
  346. package/dist/serialization/types/UpdatePlanRequestBody.d.ts +2 -1
  347. package/dist/serialization/types/UpsertBillingProductRequestBody.d.ts +2 -0
  348. package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +2 -0
  349. package/dist/serialization/types/WebScheduledDowngradeWebhookOutput.d.ts +17 -0
  350. package/dist/serialization/types/WebhookRequestType.d.ts +1 -1
  351. package/dist/serialization/types/WebhookUrl.d.ts +11 -0
  352. package/dist/serialization/types/index.d.ts +22 -1
  353. package/dist/wasm/rulesengine.d.ts +10 -0
  354. package/dist/wasm/rulesengine.js +193 -0
  355. package/dist/wasm/rulesengine_bg.wasm +0 -0
  356. package/dist/wasm/rulesengine_bg.wasm.d.ts +25 -0
  357. package/package.json +9 -9
  358. package/dist/api/types/PlanControlledByType.d.ts +0 -5
  359. package/dist/serialization/types/PlanControlledByType.d.ts +0 -7
@@ -1,9 +1,10 @@
1
+ import type * as Schematic from "../../../index";
1
2
  /**
2
3
  * Input parameters
3
4
  */
4
5
  export interface ListPlanChangesParams {
5
- action?: string;
6
- basePlanAction?: string;
6
+ action?: Schematic.PlanChangeAction;
7
+ basePlanAction?: Schematic.PlanChangeBasePlanAction;
7
8
  companyId?: string;
8
9
  companyIds?: string[];
9
10
  /** Page limit (default 100) */
@@ -23,8 +23,8 @@ export declare class ComponentsClient {
23
23
  * @example
24
24
  * await client.components.listComponents({
25
25
  * q: "q",
26
- * limit: 1,
27
- * offset: 1
26
+ * limit: 1000000,
27
+ * offset: 1000000
28
28
  * })
29
29
  */
30
30
  listComponents(request?: Schematic.ListComponentsRequest, requestOptions?: ComponentsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListComponentsResponse>;
@@ -105,8 +105,8 @@ export declare class ComponentsClient {
105
105
  * @example
106
106
  * await client.components.countComponents({
107
107
  * q: "q",
108
- * limit: 1,
109
- * offset: 1
108
+ * limit: 1000000,
109
+ * offset: 1000000
110
110
  * })
111
111
  */
112
112
  countComponents(request?: Schematic.CountComponentsRequest, requestOptions?: ComponentsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountComponentsResponse>;
@@ -2,8 +2,8 @@
2
2
  * @example
3
3
  * {
4
4
  * q: "q",
5
- * limit: 1,
6
- * offset: 1
5
+ * limit: 1000000,
6
+ * offset: 1000000
7
7
  * }
8
8
  */
9
9
  export interface CountComponentsRequest {
@@ -2,8 +2,8 @@
2
2
  * @example
3
3
  * {
4
4
  * q: "q",
5
- * limit: 1,
6
- * offset: 1
5
+ * limit: 1000000,
6
+ * offset: 1000000
7
7
  * }
8
8
  */
9
9
  export interface ListComponentsRequest {
@@ -0,0 +1,2 @@
1
+ export { ComponentsClient } from "./client/Client";
2
+ export * from "./client/index";
@@ -0,0 +1,2 @@
1
+ export { ComponentspublicClient } from "./client/Client";
2
+ export * from "./client/index";
@@ -23,8 +23,8 @@ export declare class CreditsClient {
23
23
  * @example
24
24
  * await client.credits.listBillingCredits({
25
25
  * name: "name",
26
- * limit: 1,
27
- * offset: 1
26
+ * limit: 1000000,
27
+ * offset: 1000000
28
28
  * })
29
29
  */
30
30
  listBillingCredits(request?: Schematic.ListBillingCreditsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingCreditsResponse>;
@@ -111,8 +111,8 @@ export declare class CreditsClient {
111
111
  * creditId: "credit_id",
112
112
  * status: "active",
113
113
  * bundleType: "fixed",
114
- * limit: 1,
115
- * offset: 1
114
+ * limit: 1000000,
115
+ * offset: 1000000
116
116
  * })
117
117
  */
118
118
  listCreditBundles(request?: Schematic.ListCreditBundlesRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCreditBundlesResponse>;
@@ -132,7 +132,7 @@ export declare class CreditsClient {
132
132
  * bundleName: "bundle_name",
133
133
  * creditId: "credit_id",
134
134
  * currency: "currency",
135
- * pricePerUnit: 1
135
+ * pricePerUnit: 1000000
136
136
  * })
137
137
  */
138
138
  createCreditBundle(request: Schematic.CreateCreditBundleRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateCreditBundleResponse>;
@@ -165,7 +165,7 @@ export declare class CreditsClient {
165
165
  * @example
166
166
  * await client.credits.updateCreditBundleDetails("bundle_id", {
167
167
  * bundleName: "bundle_name",
168
- * pricePerUnit: 1
168
+ * pricePerUnit: 1000000
169
169
  * })
170
170
  */
171
171
  updateCreditBundleDetails(bundle_id: string, request: Schematic.UpdateCreditBundleDetailsRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdateCreditBundleDetailsResponse>;
@@ -200,8 +200,8 @@ export declare class CreditsClient {
200
200
  * creditId: "credit_id",
201
201
  * status: "active",
202
202
  * bundleType: "fixed",
203
- * limit: 1,
204
- * offset: 1
203
+ * limit: 1000000,
204
+ * offset: 1000000
205
205
  * })
206
206
  */
207
207
  countCreditBundles(request?: Schematic.CountCreditBundlesRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCreditBundlesResponse>;
@@ -219,8 +219,8 @@ export declare class CreditsClient {
219
219
  * @example
220
220
  * await client.credits.countBillingCredits({
221
221
  * name: "name",
222
- * limit: 1,
223
- * offset: 1
222
+ * limit: 1000000,
223
+ * offset: 1000000
224
224
  * })
225
225
  */
226
226
  countBillingCredits(request?: Schematic.CountBillingCreditsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingCreditsResponse>;
@@ -255,8 +255,8 @@ export declare class CreditsClient {
255
255
  * await client.credits.grantBillingCreditsToCompany({
256
256
  * companyId: "company_id",
257
257
  * creditId: "credit_id",
258
- * quantity: 1,
259
- * reason: "billing_credit_auto_topup"
258
+ * quantity: 1000000,
259
+ * reason: "adjustment"
260
260
  * })
261
261
  */
262
262
  grantBillingCreditsToCompany(request: Schematic.CreateCompanyCreditGrant, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.GrantBillingCreditsToCompanyResponse>;
@@ -276,8 +276,8 @@ export declare class CreditsClient {
276
276
  * companyId: "company_id",
277
277
  * order: "created_at",
278
278
  * dir: "asc",
279
- * limit: 1,
280
- * offset: 1
279
+ * limit: 1000000,
280
+ * offset: 1000000
281
281
  * })
282
282
  */
283
283
  countCompanyGrants(request?: Schematic.CountCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCompanyGrantsResponse>;
@@ -297,8 +297,8 @@ export declare class CreditsClient {
297
297
  * companyId: "company_id",
298
298
  * order: "created_at",
299
299
  * dir: "asc",
300
- * limit: 1,
301
- * offset: 1
300
+ * limit: 1000000,
301
+ * offset: 1000000
302
302
  * })
303
303
  */
304
304
  listCompanyGrants(request?: Schematic.ListCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyGrantsResponse>;
@@ -316,8 +316,8 @@ export declare class CreditsClient {
316
316
  * @example
317
317
  * await client.credits.countBillingCreditsGrants({
318
318
  * creditId: "credit_id",
319
- * limit: 1,
320
- * offset: 1
319
+ * limit: 1000000,
320
+ * offset: 1000000
321
321
  * })
322
322
  */
323
323
  countBillingCreditsGrants(request?: Schematic.CountBillingCreditsGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingCreditsGrantsResponse>;
@@ -335,8 +335,8 @@ export declare class CreditsClient {
335
335
  * @example
336
336
  * await client.credits.listGrantsForCredit({
337
337
  * creditId: "credit_id",
338
- * limit: 1,
339
- * offset: 1
338
+ * limit: 1000000,
339
+ * offset: 1000000
340
340
  * })
341
341
  */
342
342
  listGrantsForCredit(request?: Schematic.ListGrantsForCreditRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListGrantsForCreditResponse>;
@@ -359,8 +359,8 @@ export declare class CreditsClient {
359
359
  * period: "daily",
360
360
  * startTime: "start_time",
361
361
  * endTime: "end_time",
362
- * limit: 1,
363
- * offset: 1
362
+ * limit: 1000000,
363
+ * offset: 1000000
364
364
  * })
365
365
  */
366
366
  getEnrichedCreditLedger(request: Schematic.GetEnrichedCreditLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetEnrichedCreditLedgerResponse>;
@@ -383,8 +383,8 @@ export declare class CreditsClient {
383
383
  * period: "daily",
384
384
  * startTime: "start_time",
385
385
  * endTime: "end_time",
386
- * limit: 1,
387
- * offset: 1
386
+ * limit: 1000000,
387
+ * offset: 1000000
388
388
  * })
389
389
  */
390
390
  countCreditLedger(request: Schematic.CountCreditLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCreditLedgerResponse>;
@@ -404,8 +404,8 @@ export declare class CreditsClient {
404
404
  * creditId: "credit_id",
405
405
  * planId: "plan_id",
406
406
  * planVersionId: "plan_version_id",
407
- * limit: 1,
408
- * offset: 1
407
+ * limit: 1000000,
408
+ * offset: 1000000
409
409
  * })
410
410
  */
411
411
  listBillingPlanCreditGrants(request?: Schematic.ListBillingPlanCreditGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingPlanCreditGrantsResponse>;
@@ -422,7 +422,7 @@ export declare class CreditsClient {
422
422
  *
423
423
  * @example
424
424
  * await client.credits.createBillingPlanCreditGrant({
425
- * creditAmount: 1,
425
+ * creditAmount: 1000000,
426
426
  * creditId: "credit_id",
427
427
  * planId: "plan_id",
428
428
  * resetCadence: "daily",
@@ -431,6 +431,20 @@ export declare class CreditsClient {
431
431
  */
432
432
  createBillingPlanCreditGrant(request: Schematic.CreateBillingPlanCreditGrantRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateBillingPlanCreditGrantResponse>;
433
433
  private __createBillingPlanCreditGrant;
434
+ /**
435
+ * @param {string} plan_grant_id - plan_grant_id
436
+ * @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
437
+ *
438
+ * @throws {@link Schematic.UnauthorizedError}
439
+ * @throws {@link Schematic.ForbiddenError}
440
+ * @throws {@link Schematic.NotFoundError}
441
+ * @throws {@link Schematic.InternalServerError}
442
+ *
443
+ * @example
444
+ * await client.credits.getSingleBillingPlanCreditGrant("plan_grant_id")
445
+ */
446
+ getSingleBillingPlanCreditGrant(plan_grant_id: string, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.GetSingleBillingPlanCreditGrantResponse>;
447
+ private __getSingleBillingPlanCreditGrant;
434
448
  /**
435
449
  * @param {string} plan_grant_id - plan_grant_id
436
450
  * @param {Schematic.UpdateBillingPlanCreditGrantRequestBody} request
@@ -483,8 +497,8 @@ export declare class CreditsClient {
483
497
  * creditId: "credit_id",
484
498
  * planId: "plan_id",
485
499
  * planVersionId: "plan_version_id",
486
- * limit: 1,
487
- * offset: 1
500
+ * limit: 1000000,
501
+ * offset: 1000000
488
502
  * })
489
503
  */
490
504
  countBillingPlanCreditGrants(request?: Schematic.CountBillingPlanCreditGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingPlanCreditGrantsResponse>;
@@ -507,8 +521,8 @@ export declare class CreditsClient {
507
521
  * eventType: "grant",
508
522
  * featureId: "feature_id",
509
523
  * startTime: "start_time",
510
- * limit: 1,
511
- * offset: 1
524
+ * limit: 1000000,
525
+ * offset: 1000000
512
526
  * })
513
527
  */
514
528
  listCreditEventLedger(request: Schematic.ListCreditEventLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCreditEventLedgerResponse>;
@@ -531,8 +545,8 @@ export declare class CreditsClient {
531
545
  * eventType: "grant",
532
546
  * featureId: "feature_id",
533
547
  * startTime: "start_time",
534
- * limit: 1,
535
- * offset: 1
548
+ * limit: 1000000,
549
+ * offset: 1000000
536
550
  * })
537
551
  */
538
552
  countCreditEventLedger(request: Schematic.CountCreditEventLedgerRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCreditEventLedgerResponse>;
@@ -2,8 +2,8 @@
2
2
  * @example
3
3
  * {
4
4
  * creditId: "credit_id",
5
- * limit: 1,
6
- * offset: 1
5
+ * limit: 1000000,
6
+ * offset: 1000000
7
7
  * }
8
8
  */
9
9
  export interface CountBillingCreditsGrantsRequest {
@@ -2,8 +2,8 @@
2
2
  * @example
3
3
  * {
4
4
  * name: "name",
5
- * limit: 1,
6
- * offset: 1
5
+ * limit: 1000000,
6
+ * offset: 1000000
7
7
  * }
8
8
  */
9
9
  export interface CountBillingCreditsRequest {
@@ -4,8 +4,8 @@
4
4
  * creditId: "credit_id",
5
5
  * planId: "plan_id",
6
6
  * planVersionId: "plan_version_id",
7
- * limit: 1,
8
- * offset: 1
7
+ * limit: 1000000,
8
+ * offset: 1000000
9
9
  * }
10
10
  */
11
11
  export interface CountBillingPlanCreditGrantsRequest {
@@ -5,8 +5,8 @@ import type * as Schematic from "../../../../index";
5
5
  * companyId: "company_id",
6
6
  * order: "created_at",
7
7
  * dir: "asc",
8
- * limit: 1,
9
- * offset: 1
8
+ * limit: 1000000,
9
+ * offset: 1000000
10
10
  * }
11
11
  */
12
12
  export interface CountCompanyGrantsRequest {
@@ -5,8 +5,8 @@ import type * as Schematic from "../../../../index";
5
5
  * creditId: "credit_id",
6
6
  * status: "active",
7
7
  * bundleType: "fixed",
8
- * limit: 1,
9
- * offset: 1
8
+ * limit: 1000000,
9
+ * offset: 1000000
10
10
  * }
11
11
  */
12
12
  export interface CountCreditBundlesRequest {
@@ -8,8 +8,8 @@ import type * as Schematic from "../../../../index";
8
8
  * eventType: "grant",
9
9
  * featureId: "feature_id",
10
10
  * startTime: "start_time",
11
- * limit: 1,
12
- * offset: 1
11
+ * limit: 1000000,
12
+ * offset: 1000000
13
13
  * }
14
14
  */
15
15
  export interface CountCreditEventLedgerRequest {
@@ -8,8 +8,8 @@ import type * as Schematic from "../../../../index";
8
8
  * period: "daily",
9
9
  * startTime: "start_time",
10
10
  * endTime: "end_time",
11
- * limit: 1,
12
- * offset: 1
11
+ * limit: 1000000,
12
+ * offset: 1000000
13
13
  * }
14
14
  */
15
15
  export interface CountCreditLedgerRequest {
@@ -10,6 +10,7 @@ import type * as Schematic from "../../../../index";
10
10
  export interface CreateBillingCreditRequestBody {
11
11
  burnStrategy?: Schematic.BillingCreditBurnStrategy;
12
12
  currency: string;
13
+ currencyPrices?: Schematic.CreditCurrencyPriceRequestBody[];
13
14
  defaultExpiryUnit?: Schematic.BillingCreditExpiryUnit;
14
15
  defaultExpiryUnitCount?: number;
15
16
  defaultRolloverPolicy?: Schematic.BillingCreditRolloverPolicy;
@@ -4,14 +4,15 @@ import type * as Schematic from "../../../../index";
4
4
  * {
5
5
  * companyId: "company_id",
6
6
  * creditId: "credit_id",
7
- * quantity: 1,
8
- * reason: "billing_credit_auto_topup"
7
+ * quantity: 1000000,
8
+ * reason: "adjustment"
9
9
  * }
10
10
  */
11
11
  export interface CreateCompanyCreditGrant {
12
12
  billingPeriodsCount?: number;
13
13
  companyId: string;
14
14
  creditId: string;
15
+ currency?: string;
15
16
  expiresAt?: Date;
16
17
  expiryType?: Schematic.BillingCreditExpiryType;
17
18
  expiryUnit?: Schematic.BillingCreditExpiryUnit;
@@ -5,7 +5,7 @@ import type * as Schematic from "../../../../index";
5
5
  * bundleName: "bundle_name",
6
6
  * creditId: "credit_id",
7
7
  * currency: "currency",
8
- * pricePerUnit: 1
8
+ * pricePerUnit: 1000000
9
9
  * }
10
10
  */
11
11
  export interface CreateCreditBundleRequestBody {
@@ -13,6 +13,7 @@ export interface CreateCreditBundleRequestBody {
13
13
  bundleType?: Schematic.BillingCreditBundleType;
14
14
  creditId: string;
15
15
  currency: string;
16
+ currencyPrices?: Schematic.CreditBundleCurrencyPriceRequestBody[];
16
17
  expiryType?: Schematic.BillingCreditExpiryType;
17
18
  expiryUnit?: Schematic.BillingCreditExpiryUnit;
18
19
  expiryUnitCount?: number;
@@ -8,8 +8,8 @@ import type * as Schematic from "../../../../index";
8
8
  * period: "daily",
9
9
  * startTime: "start_time",
10
10
  * endTime: "end_time",
11
- * limit: 1,
12
- * offset: 1
11
+ * limit: 1000000,
12
+ * offset: 1000000
13
13
  * }
14
14
  */
15
15
  export interface GetEnrichedCreditLedgerRequest {
@@ -2,8 +2,8 @@
2
2
  * @example
3
3
  * {
4
4
  * name: "name",
5
- * limit: 1,
6
- * offset: 1
5
+ * limit: 1000000,
6
+ * offset: 1000000
7
7
  * }
8
8
  */
9
9
  export interface ListBillingCreditsRequest {
@@ -4,8 +4,8 @@
4
4
  * creditId: "credit_id",
5
5
  * planId: "plan_id",
6
6
  * planVersionId: "plan_version_id",
7
- * limit: 1,
8
- * offset: 1
7
+ * limit: 1000000,
8
+ * offset: 1000000
9
9
  * }
10
10
  */
11
11
  export interface ListBillingPlanCreditGrantsRequest {
@@ -5,8 +5,8 @@ import type * as Schematic from "../../../../index";
5
5
  * companyId: "company_id",
6
6
  * order: "created_at",
7
7
  * dir: "asc",
8
- * limit: 1,
9
- * offset: 1
8
+ * limit: 1000000,
9
+ * offset: 1000000
10
10
  * }
11
11
  */
12
12
  export interface ListCompanyGrantsRequest {
@@ -5,8 +5,8 @@ import type * as Schematic from "../../../../index";
5
5
  * creditId: "credit_id",
6
6
  * status: "active",
7
7
  * bundleType: "fixed",
8
- * limit: 1,
9
- * offset: 1
8
+ * limit: 1000000,
9
+ * offset: 1000000
10
10
  * }
11
11
  */
12
12
  export interface ListCreditBundlesRequest {
@@ -8,8 +8,8 @@ import type * as Schematic from "../../../../index";
8
8
  * eventType: "grant",
9
9
  * featureId: "feature_id",
10
10
  * startTime: "start_time",
11
- * limit: 1,
12
- * offset: 1
11
+ * limit: 1000000,
12
+ * offset: 1000000
13
13
  * }
14
14
  */
15
15
  export interface ListCreditEventLedgerRequest {
@@ -2,8 +2,8 @@
2
2
  * @example
3
3
  * {
4
4
  * creditId: "credit_id",
5
- * limit: 1,
6
- * offset: 1
5
+ * limit: 1000000,
6
+ * offset: 1000000
7
7
  * }
8
8
  */
9
9
  export interface ListGrantsForCreditRequest {
@@ -8,6 +8,7 @@ import type * as Schematic from "../../../../index";
8
8
  */
9
9
  export interface UpdateBillingCreditRequestBody {
10
10
  burnStrategy?: Schematic.BillingCreditBurnStrategy;
11
+ currencyPrices?: Schematic.CreditCurrencyPriceRequestBody[];
11
12
  defaultExpiryUnit?: Schematic.BillingCreditExpiryUnit;
12
13
  defaultExpiryUnitCount?: number;
13
14
  defaultRolloverPolicy?: Schematic.BillingCreditRolloverPolicy;
@@ -3,11 +3,12 @@ import type * as Schematic from "../../../../index";
3
3
  * @example
4
4
  * {
5
5
  * bundleName: "bundle_name",
6
- * pricePerUnit: 1
6
+ * pricePerUnit: 1000000
7
7
  * }
8
8
  */
9
9
  export interface UpdateCreditBundleDetailsRequestBody {
10
10
  bundleName: string;
11
+ currencyPrices?: Schematic.CreditBundleCurrencyPriceRequestBody[];
11
12
  expiryType?: Schematic.BillingCreditExpiryType;
12
13
  expiryUnit?: Schematic.BillingCreditExpiryUnit;
13
14
  expiryUnitCount?: number;
@@ -0,0 +1,2 @@
1
+ export { CreditsClient } from "./client/Client";
2
+ export * from "./client/index";
@@ -0,0 +1,6 @@
1
+ import type * as Schematic from "../../../index";
2
+ export interface GetSingleBillingPlanCreditGrantResponse {
3
+ data: Schematic.BillingPlanCreditGrantResponseData;
4
+ /** Input parameters */
5
+ params: Record<string, unknown>;
6
+ }
@@ -22,6 +22,7 @@ export * from "./GetCreditBundleResponse";
22
22
  export * from "./GetEnrichedCreditLedgerParams";
23
23
  export * from "./GetEnrichedCreditLedgerResponse";
24
24
  export * from "./GetSingleBillingCreditResponse";
25
+ export * from "./GetSingleBillingPlanCreditGrantResponse";
25
26
  export * from "./GrantBillingCreditsToCompanyResponse";
26
27
  export * from "./ListBillingCreditsParams";
27
28
  export * from "./ListBillingCreditsResponse";
@@ -0,0 +1,2 @@
1
+ export { DataexportsClient } from "./client/Client";
2
+ export * from "./client/index";