@schematichq/schematic-typescript-node 1.4.6 → 1.4.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 (647) hide show
  1. package/README.md +118 -2
  2. package/dist/BaseClient.d.ts +3 -0
  3. package/dist/Client.d.ts +5 -20
  4. package/dist/api/resources/accounts/client/Client.d.ts +22 -0
  5. package/dist/api/resources/accounts/client/requests/CountAccountMembersRequest.d.ts +18 -0
  6. package/dist/api/resources/accounts/client/requests/ListAccountMembersRequest.d.ts +1 -0
  7. package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +1 -0
  8. package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
  9. package/dist/api/resources/accounts/types/CountAccountMembersParams.d.ts +12 -0
  10. package/dist/api/resources/accounts/types/CountAccountMembersResponse.d.ts +6 -0
  11. package/dist/api/resources/accounts/types/index.d.ts +2 -0
  12. package/dist/api/resources/billing/client/Client.d.ts +31 -6
  13. package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +5 -1
  14. package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +2 -1
  15. package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -0
  16. package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +3 -1
  17. package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +3 -1
  18. package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +5 -1
  19. package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +2 -1
  20. package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +2 -0
  21. package/dist/api/resources/billing/types/DeletePaymentMethodByExternalIdResponse.d.ts +6 -0
  22. package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +2 -0
  23. package/dist/api/resources/billing/types/index.d.ts +1 -0
  24. package/dist/api/resources/checkout/client/Client.d.ts +22 -0
  25. package/dist/api/resources/companies/client/Client.d.ts +27 -53
  26. package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +8 -0
  27. package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +1 -0
  28. package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +2 -0
  29. package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -0
  30. package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +1 -0
  31. package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +1 -0
  32. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +8 -0
  33. package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +1 -0
  34. package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +2 -0
  35. package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +2 -0
  36. package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -0
  37. package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +1 -0
  38. package/dist/api/resources/companies/client/requests/index.d.ts +0 -2
  39. package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +2 -0
  40. package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +2 -0
  41. package/dist/api/resources/companies/types/index.d.ts +0 -3
  42. package/dist/api/resources/credits/client/Client.d.ts +84 -0
  43. package/dist/api/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +14 -0
  44. package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +1 -0
  45. package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +1 -0
  46. package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +4 -0
  47. package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +1 -0
  48. package/dist/api/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +10 -0
  49. package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +1 -0
  50. package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +4 -0
  51. package/dist/api/resources/credits/client/requests/ListCompanyCreditBalancesRequest.d.ts +9 -0
  52. package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +1 -0
  53. package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +1 -0
  54. package/dist/api/resources/credits/client/requests/index.d.ts +3 -0
  55. package/dist/api/resources/credits/types/AcquireCreditLeaseResponse.d.ts +6 -0
  56. package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
  57. package/dist/api/resources/credits/types/ExtendCreditLeaseResponse.d.ts +6 -0
  58. package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
  59. package/dist/api/resources/credits/types/ListCompanyCreditBalancesParams.d.ts +6 -0
  60. package/dist/api/resources/credits/types/ListCompanyCreditBalancesResponse.d.ts +6 -0
  61. package/dist/api/resources/credits/types/ReleaseCreditLeaseResponse.d.ts +6 -0
  62. package/dist/api/resources/credits/types/index.d.ts +5 -0
  63. package/dist/api/resources/entitlements/client/Client.d.ts +19 -1
  64. package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +3 -0
  65. package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +5 -0
  66. package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +4 -0
  67. package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +9 -3
  68. package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -2
  69. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +8 -2
  70. package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +3 -0
  71. package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +5 -0
  72. package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +4 -0
  73. package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -2
  74. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +8 -2
  75. package/dist/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +3 -0
  76. package/dist/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +3 -0
  77. package/dist/api/resources/entitlements/types/index.d.ts +0 -10
  78. package/dist/api/resources/events/client/Client.d.ts +3 -0
  79. package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +1 -0
  80. package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +3 -0
  81. package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -0
  82. package/dist/api/resources/features/client/Client.d.ts +11 -3
  83. package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +5 -0
  84. package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +1 -0
  85. package/dist/api/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +2 -2
  86. package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
  87. package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +5 -0
  88. package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +1 -0
  89. package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
  90. package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +2 -2
  91. package/dist/api/resources/features/types/CountFeaturesParams.d.ts +2 -0
  92. package/dist/api/resources/features/types/ListFeaturesParams.d.ts +2 -0
  93. package/dist/api/resources/index.d.ts +4 -0
  94. package/dist/api/resources/insights/client/Client.d.ts +114 -0
  95. package/dist/api/resources/insights/client/index.d.ts +1 -0
  96. package/dist/api/resources/insights/client/requests/GetActivityRequest.d.ts +9 -0
  97. package/dist/api/resources/insights/client/requests/GetEnvironmentFeatureUsageTimeSeriesRequest.d.ts +16 -0
  98. package/dist/api/resources/insights/client/requests/GetEnvironmentTraitUsageTimeSeriesRequest.d.ts +16 -0
  99. package/dist/api/resources/insights/client/requests/GetPlanGrowthRequest.d.ts +9 -0
  100. package/dist/api/resources/insights/client/requests/GetTopFeaturesByUsageRequest.d.ts +13 -0
  101. package/dist/api/resources/insights/client/requests/index.d.ts +5 -0
  102. package/dist/api/resources/insights/exports.d.ts +2 -0
  103. package/dist/api/resources/insights/index.d.ts +2 -0
  104. package/dist/api/resources/insights/types/GetActivityParams.d.ts +6 -0
  105. package/dist/api/resources/insights/types/GetActivityResponse.d.ts +6 -0
  106. package/dist/api/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesParams.d.ts +10 -0
  107. package/dist/api/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesResponse.d.ts +6 -0
  108. package/dist/api/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesParams.d.ts +10 -0
  109. package/dist/api/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesResponse.d.ts +6 -0
  110. package/dist/api/resources/insights/types/GetPlanGrowthParams.d.ts +6 -0
  111. package/dist/api/resources/insights/types/GetPlanGrowthResponse.d.ts +6 -0
  112. package/dist/api/resources/{companies/types/UpdatePlanTraitResponse.d.ts → insights/types/GetSummaryResponse.d.ts} +2 -2
  113. package/dist/api/resources/insights/types/GetTopFeaturesByUsageParams.d.ts +8 -0
  114. package/dist/api/resources/insights/types/GetTopFeaturesByUsageResponse.d.ts +6 -0
  115. package/dist/api/resources/insights/types/index.d.ts +11 -0
  116. package/dist/api/resources/integrationsapi/client/Client.d.ts +133 -0
  117. package/dist/api/resources/integrationsapi/client/index.d.ts +1 -1
  118. package/dist/api/resources/integrationsapi/client/requests/ListIntegrationsRequest.d.ts +24 -0
  119. package/dist/api/resources/integrationsapi/client/requests/StartDataImportRequestBody.d.ts +12 -0
  120. package/dist/api/resources/integrationsapi/client/requests/index.d.ts +2 -0
  121. package/dist/api/resources/integrationsapi/types/AssumeStripeInstalledResponse.d.ts +6 -0
  122. package/dist/api/resources/integrationsapi/types/InstallIntegrationResponse.d.ts +6 -0
  123. package/dist/api/resources/integrationsapi/types/InstallStripeResponse.d.ts +6 -0
  124. package/dist/api/resources/integrationsapi/types/ListIntegrationsParams.d.ts +15 -0
  125. package/dist/api/resources/integrationsapi/types/ListIntegrationsResponse.d.ts +6 -0
  126. package/dist/api/resources/integrationsapi/types/LoadSampleDataSetResponse.d.ts +6 -0
  127. package/dist/api/resources/{companies/types/CreatePlanTraitResponse.d.ts → integrationsapi/types/RunIntegrationResponse.d.ts} +2 -2
  128. package/dist/api/resources/integrationsapi/types/StartDataImportResponse.d.ts +6 -0
  129. package/dist/api/resources/{companies/types/DeletePlanTraitResponse.d.ts → integrationsapi/types/UninstallIntegrationResponse.d.ts} +1 -1
  130. package/dist/api/resources/integrationsapi/types/index.d.ts +9 -0
  131. package/dist/api/resources/planbundle/client/Client.d.ts +19 -0
  132. package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +14 -0
  133. package/dist/api/resources/planbundle/client/requests/index.d.ts +1 -0
  134. package/dist/api/resources/planbundle/types/CreateCustomPlanBundleResponse.d.ts +6 -0
  135. package/dist/api/resources/planbundle/types/index.d.ts +1 -0
  136. package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
  137. package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
  138. package/dist/api/resources/planmigrations/client/Client.d.ts +56 -0
  139. package/dist/api/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +22 -0
  140. package/dist/api/resources/planmigrations/client/requests/RetryMigrationRequestBody.d.ts +10 -0
  141. package/dist/api/resources/planmigrations/client/requests/index.d.ts +2 -0
  142. package/dist/api/resources/planmigrations/types/CreateMigrationResponse.d.ts +6 -0
  143. package/dist/api/resources/planmigrations/types/RetryCompanyMigrationResponse.d.ts +6 -0
  144. package/dist/api/resources/planmigrations/types/RetryMigrationResponse.d.ts +6 -0
  145. package/dist/api/resources/planmigrations/types/index.d.ts +3 -0
  146. package/dist/api/resources/plans/client/Client.d.ts +71 -1
  147. package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +10 -0
  148. package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +2 -1
  149. package/dist/api/resources/plans/client/requests/ListCustomPlanBillingsRequest.d.ts +26 -0
  150. package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +10 -0
  151. package/dist/api/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +17 -0
  152. package/dist/api/resources/plans/client/requests/index.d.ts +2 -0
  153. package/dist/api/resources/plans/types/CountPlansParams.d.ts +6 -0
  154. package/dist/api/resources/plans/types/ListCustomPlanBillingsParams.d.ts +18 -0
  155. package/dist/api/resources/plans/types/ListCustomPlanBillingsResponse.d.ts +6 -0
  156. package/dist/api/resources/plans/types/ListPlansParams.d.ts +6 -0
  157. package/dist/api/resources/plans/types/MarkCustomPlanBillingPaidResponse.d.ts +6 -0
  158. package/dist/api/resources/plans/types/RetryCustomPlanBillingResponse.d.ts +6 -0
  159. package/dist/api/resources/plans/types/index.d.ts +4 -0
  160. package/dist/api/resources/webhooks/client/Client.d.ts +2 -0
  161. package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +1 -0
  162. package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +1 -0
  163. package/dist/api/types/AccountMemberResponseData.d.ts +2 -0
  164. package/dist/api/types/ActivityEntryResponseData.d.ts +8 -0
  165. package/dist/api/types/ActivityResponseResponseData.d.ts +4 -0
  166. package/dist/api/types/ApiKeyCreateResponseData.d.ts +2 -0
  167. package/dist/api/types/ApiKeyIntegrationResponseData.d.ts +6 -0
  168. package/dist/api/types/ApiKeyResponseData.d.ts +2 -0
  169. package/dist/api/types/AuditLogListResponseData.d.ts +2 -0
  170. package/dist/api/types/AuditLogResponseData.d.ts +2 -0
  171. package/dist/api/types/BillingCreditBundleView.d.ts +1 -1
  172. package/dist/api/types/BillingCreditGrantReason.d.ts +1 -0
  173. package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -0
  174. package/dist/api/types/BillingCreditLedgerAuthority.d.ts +6 -0
  175. package/dist/api/types/BillingCreditView.d.ts +2 -0
  176. package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +3 -0
  177. package/dist/api/types/BillingPriceResponseData.d.ts +2 -0
  178. package/dist/api/types/BillingPriceView.d.ts +2 -0
  179. package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
  180. package/dist/api/types/BillingProductPlanResponseData.d.ts +1 -0
  181. package/dist/api/types/BillingProductPriceResponseData.d.ts +2 -0
  182. package/dist/api/types/BillingProviderType.d.ts +1 -0
  183. package/dist/api/types/BillingStrategy.d.ts +6 -0
  184. package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
  185. package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +2 -0
  186. package/dist/api/types/ChargeType.d.ts +1 -0
  187. package/dist/api/types/CheckFlagResponseData.d.ts +2 -2
  188. package/dist/api/types/CheckoutDataResponseData.d.ts +1 -0
  189. package/dist/api/types/CheckoutFieldInput.d.ts +8 -0
  190. package/dist/api/types/CheckoutFieldResponseData.d.ts +12 -0
  191. package/dist/api/types/CheckoutFieldValue.d.ts +4 -0
  192. package/dist/api/types/CheckoutFieldWithValue.d.ts +9 -0
  193. package/dist/api/types/CheckoutSubscription.d.ts +1 -0
  194. package/dist/api/types/ClerkIntegrationConfig.d.ts +6 -0
  195. package/dist/api/types/CompanyCreditBalanceResponseData.d.ts +9 -0
  196. package/dist/api/types/CompanyEventPeriodMetricsResponseData.d.ts +3 -2
  197. package/dist/api/types/CompanyMatchingCriteria.d.ts +5 -0
  198. package/dist/api/types/CompanyOverrideResponseData.d.ts +2 -2
  199. package/dist/api/types/CompanyPlanCreditGrantView.d.ts +41 -0
  200. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +7 -3
  201. package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +1 -1
  202. package/dist/api/types/CompanySubscriptionResponseData.d.ts +1 -0
  203. package/dist/api/types/{ConditionOperator.d.ts → ComparableOperator.d.ts} +5 -5
  204. package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -0
  205. package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -0
  206. package/dist/api/types/Condition.d.ts +4 -4
  207. package/dist/api/types/ConditionResponseData.d.ts +4 -4
  208. package/dist/api/types/{ConditionConditionType.d.ts → ConditionType.d.ts} +2 -2
  209. package/dist/api/types/ConditionView.d.ts +4 -4
  210. package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +3 -0
  211. package/dist/api/types/CreateCustomPlanBundlePlanRequestBody.d.ts +7 -0
  212. package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +8 -2
  213. package/dist/api/types/CreateEntitlementReqCommon.d.ts +2 -2
  214. package/dist/api/types/CreateEventRequestBody.d.ts +6 -0
  215. package/dist/api/types/CreateFlagRequestBody.d.ts +1 -1
  216. package/dist/api/types/CreateOrUpdateConditionRequestBody.d.ts +4 -4
  217. package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
  218. package/dist/api/types/CreateOrUpdateRuleRequestBody.d.ts +1 -1
  219. package/dist/api/types/CreditCompanyGrantView.d.ts +3 -0
  220. package/dist/api/types/CreditCurrencyPrice.d.ts +5 -0
  221. package/dist/api/types/CreditEventLedgerResponseData.d.ts +1 -0
  222. package/dist/api/types/CreditLeaseResponseData.d.ts +10 -0
  223. package/dist/api/types/CreditUsageReason.d.ts +8 -0
  224. package/dist/api/types/CurrencyPriceRequestBody.d.ts +3 -0
  225. package/dist/api/types/CustomPlanBillingResponseData.d.ts +1 -0
  226. package/dist/api/types/CustomPlanBillingStatus.d.ts +1 -0
  227. package/dist/api/types/DataEventPayload.d.ts +3 -0
  228. package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +1 -0
  229. package/dist/api/types/EntitlementCurrencyPricesResponseData.d.ts +1 -0
  230. package/dist/api/types/EnvironmentFeatureUsageTimeSeriesResponseData.d.ts +6 -0
  231. package/dist/api/types/EnvironmentTraitUsageTimeSeriesResponseData.d.ts +6 -0
  232. package/dist/api/types/EnvironmentUsagePointResponseData.d.ts +4 -0
  233. package/dist/api/types/EventBodyTrack.d.ts +2 -0
  234. package/dist/api/types/EventDetailResponseData.d.ts +3 -0
  235. package/dist/api/types/EventResponseData.d.ts +2 -0
  236. package/dist/api/types/FeatureCompanyResponseData.d.ts +4 -3
  237. package/dist/api/types/FeatureCompanyUserResponseData.d.ts +2 -2
  238. package/dist/api/types/FeatureDetailResponseData.d.ts +2 -1
  239. package/dist/api/types/FeatureEntitlement.d.ts +2 -2
  240. package/dist/api/types/FeatureInPlanResponseData.d.ts +21 -0
  241. package/dist/api/types/FeatureResponseData.d.ts +1 -1
  242. package/dist/api/types/FeatureUsageResponseData.d.ts +4 -3
  243. package/dist/api/types/FeatureView.d.ts +1 -1
  244. package/dist/api/types/FlagDetailResponseData.d.ts +2 -1
  245. package/dist/api/types/FlagInPlanResponseData.d.ts +16 -0
  246. package/dist/api/types/FlagResponseData.d.ts +1 -1
  247. package/dist/api/types/FlagView.d.ts +0 -1
  248. package/dist/api/types/InsightsSummaryResponseData.d.ts +9 -0
  249. package/dist/api/types/InstallIntegrationRequestBody.d.ts +9 -0
  250. package/dist/api/types/IntegrationCapabilities.d.ts +5 -0
  251. package/dist/api/types/IntegrationConfig.d.ts +19 -0
  252. package/dist/api/types/IntegrationInstallConfig.d.ts +13 -0
  253. package/dist/api/types/IntegrationInstallResponseData.d.ts +6 -0
  254. package/dist/api/types/IntegrationResponseData.d.ts +8 -0
  255. package/dist/api/types/IntegrationState.d.ts +6 -0
  256. package/dist/api/types/IntegrationType.d.ts +2 -0
  257. package/dist/api/types/IntegrationsDataSetResponseData.d.ts +3 -0
  258. package/dist/api/types/IntegrationsListResponseData.d.ts +10 -0
  259. package/dist/api/types/IntegrationsResponseData.d.ts +8 -0
  260. package/dist/api/types/ManagePlanRequest.d.ts +1 -0
  261. package/dist/api/types/MarkCustomPlanBillingPaidRequestBody.d.ts +1 -0
  262. package/dist/api/types/{ConditionMetricPeriod.d.ts → MetricPeriod.d.ts} +2 -2
  263. package/dist/api/types/MetricPeriodMonthReset.d.ts +5 -0
  264. package/dist/api/types/MetronomeIntegrationConfig.d.ts +1 -0
  265. package/dist/api/types/MigrationErrorCode.d.ts +15 -0
  266. package/dist/api/types/MrrResponseData.d.ts +4 -0
  267. package/dist/api/types/OrbIntegrationConfig.d.ts +4 -0
  268. package/dist/api/types/PlanCreditGrantView.d.ts +2 -0
  269. package/dist/api/types/PlanCurrencyPriceRequestBody.d.ts +1 -0
  270. package/dist/api/types/PlanCurrencyPricesResponseData.d.ts +1 -0
  271. package/dist/api/types/PlanDetailResponseData.d.ts +6 -2
  272. package/dist/api/types/PlanEntitlementResponseData.d.ts +5 -2
  273. package/dist/api/types/PlanGroupDetailResponseData.d.ts +1 -0
  274. package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +7 -3
  275. package/dist/api/types/PlanGrowthPointResponseData.d.ts +6 -0
  276. package/dist/api/types/PlanGrowthResponseData.d.ts +4 -0
  277. package/dist/api/types/PlanPriceCadence.d.ts +6 -0
  278. package/dist/api/types/PlanVersionCompanyMigrationResponseData.d.ts +1 -0
  279. package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
  280. package/dist/api/types/PlanViewPublicResponseData.d.ts +7 -3
  281. package/dist/api/types/ReleaseCreditLeaseRequestBody.d.ts +1 -0
  282. package/dist/api/types/Rule.d.ts +1 -1
  283. package/dist/api/types/RuleConditionDetailResponseData.d.ts +4 -4
  284. package/dist/api/types/RuleConditionResponseData.d.ts +4 -4
  285. package/dist/api/types/RuleDetailResponseData.d.ts +1 -1
  286. package/dist/api/types/RuleResponseData.d.ts +2 -1
  287. package/dist/api/types/{RuleRuleType.d.ts → RuleType.d.ts} +4 -4
  288. package/dist/api/types/RuleView.d.ts +1 -1
  289. package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
  290. package/dist/api/types/RulesengineCheckFlagResult.d.ts +2 -2
  291. package/dist/api/types/RulesengineCompanyMetric.d.ts +2 -2
  292. package/dist/api/types/RulesengineCondition.d.ts +4 -4
  293. package/dist/api/types/{RulesengineConditionConditionType.d.ts → RulesengineConditionType.d.ts} +2 -2
  294. package/dist/api/types/RulesengineFeatureEntitlement.d.ts +2 -2
  295. package/dist/api/types/RulesengineMetricPeriod.d.ts +7 -0
  296. package/dist/api/types/RulesengineMetricPeriodMonthReset.d.ts +5 -0
  297. package/dist/api/types/RulesengineRule.d.ts +1 -1
  298. package/dist/api/types/{RulesengineRuleRuleType.d.ts → RulesengineRuleType.d.ts} +4 -4
  299. package/dist/api/types/StripeIntegrationConfig.d.ts +14 -0
  300. package/dist/api/types/TopFeatureByUsageResponseData.d.ts +8 -0
  301. package/dist/api/types/TopFeaturesByUsageResponseData.d.ts +4 -0
  302. package/dist/api/types/UpdateAutoTopupOverrideRequestBody.d.ts +6 -0
  303. package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +3 -0
  304. package/dist/api/types/UpdateEntitlementReqCommon.d.ts +2 -2
  305. package/dist/api/types/UpsertBillingProductRequestBody.d.ts +3 -0
  306. package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +6 -0
  307. package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +5 -2
  308. package/dist/api/types/WorkOsIntegrationConfig.d.ts +6 -0
  309. package/dist/api/types/index.d.ts +56 -29
  310. package/dist/core/auth/AuthProvider.d.ts +1 -0
  311. package/dist/core/auth/BasicAuth.d.ts +2 -2
  312. package/dist/core/auth/index.d.ts +1 -1
  313. package/dist/core/fetcher/Fetcher.d.ts +8 -0
  314. package/dist/core/schemas/builders/enum/enum.d.ts +1 -0
  315. package/dist/core/schemas/builders/enum/index.d.ts +1 -1
  316. package/dist/core/url/QueryStringBuilder.d.ts +47 -0
  317. package/dist/core/url/index.d.ts +1 -0
  318. package/dist/core/url/qs.d.ts +2 -1
  319. package/dist/datastream/merge.d.ts +13 -10
  320. package/dist/datastream/websocket-client.d.ts +1 -1
  321. package/dist/errors/SchematicError.d.ts +3 -1
  322. package/dist/errors/SchematicTimeoutError.d.ts +4 -1
  323. package/dist/event-capture.d.ts +28 -0
  324. package/dist/events.d.ts +3 -3
  325. package/dist/index.d.ts +2 -1
  326. package/dist/index.js +3 -3
  327. package/dist/logger.d.ts +20 -0
  328. package/dist/rules-engine.d.ts +3 -3
  329. package/dist/serialization/resources/accounts/types/CountAccountMembersParams.d.ts +12 -0
  330. package/dist/serialization/resources/accounts/types/CountAccountMembersResponse.d.ts +12 -0
  331. package/dist/serialization/resources/accounts/types/index.d.ts +2 -0
  332. package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -0
  333. package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +1 -0
  334. package/dist/serialization/resources/billing/types/DeletePaymentMethodByExternalIdResponse.d.ts +11 -0
  335. package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +1 -0
  336. package/dist/serialization/resources/billing/types/index.d.ts +1 -0
  337. package/dist/serialization/resources/companies/client/requests/index.d.ts +0 -2
  338. package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +1 -0
  339. package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
  340. package/dist/serialization/resources/companies/types/index.d.ts +0 -3
  341. package/dist/serialization/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +12 -0
  342. package/dist/serialization/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +10 -0
  343. package/dist/serialization/resources/credits/client/requests/index.d.ts +2 -0
  344. package/dist/serialization/resources/credits/types/AcquireCreditLeaseResponse.d.ts +11 -0
  345. package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
  346. package/dist/serialization/resources/credits/types/ExtendCreditLeaseResponse.d.ts +11 -0
  347. package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
  348. package/dist/serialization/resources/credits/types/ListCompanyCreditBalancesParams.d.ts +9 -0
  349. package/dist/serialization/resources/credits/types/ListCompanyCreditBalancesResponse.d.ts +12 -0
  350. package/dist/serialization/resources/credits/types/ReleaseCreditLeaseResponse.d.ts +11 -0
  351. package/dist/serialization/resources/credits/types/index.d.ts +5 -0
  352. package/dist/serialization/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +9 -4
  353. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +4 -4
  354. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +9 -4
  355. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +4 -4
  356. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +9 -4
  357. package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +2 -0
  358. package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +2 -0
  359. package/dist/serialization/resources/entitlements/types/index.d.ts +0 -10
  360. package/dist/serialization/resources/events/types/ListEventsParams.d.ts +1 -0
  361. package/dist/serialization/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +1 -1
  362. package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
  363. package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
  364. package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -0
  365. package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -0
  366. package/dist/serialization/resources/index.d.ts +4 -0
  367. package/dist/serialization/resources/insights/index.d.ts +1 -0
  368. package/dist/serialization/resources/insights/types/GetActivityParams.d.ts +9 -0
  369. package/dist/serialization/resources/insights/types/GetActivityResponse.d.ts +12 -0
  370. package/dist/serialization/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesParams.d.ts +13 -0
  371. package/dist/serialization/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesResponse.d.ts +12 -0
  372. package/dist/serialization/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesParams.d.ts +13 -0
  373. package/dist/serialization/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesResponse.d.ts +12 -0
  374. package/dist/serialization/resources/insights/types/GetPlanGrowthParams.d.ts +9 -0
  375. package/dist/serialization/resources/insights/types/GetPlanGrowthResponse.d.ts +12 -0
  376. package/dist/serialization/resources/insights/types/GetSummaryResponse.d.ts +11 -0
  377. package/dist/serialization/resources/insights/types/GetTopFeaturesByUsageParams.d.ts +11 -0
  378. package/dist/serialization/resources/insights/types/GetTopFeaturesByUsageResponse.d.ts +12 -0
  379. package/dist/serialization/resources/insights/types/index.d.ts +11 -0
  380. package/dist/serialization/resources/integrationsapi/client/index.d.ts +1 -0
  381. package/dist/serialization/resources/integrationsapi/client/requests/StartDataImportRequestBody.d.ts +12 -0
  382. package/dist/serialization/resources/integrationsapi/client/requests/index.d.ts +1 -0
  383. package/dist/serialization/resources/integrationsapi/index.d.ts +1 -0
  384. package/dist/serialization/resources/integrationsapi/types/AssumeStripeInstalledResponse.d.ts +11 -0
  385. package/dist/serialization/resources/integrationsapi/types/InstallIntegrationResponse.d.ts +11 -0
  386. package/dist/serialization/resources/integrationsapi/types/InstallStripeResponse.d.ts +11 -0
  387. package/dist/serialization/resources/integrationsapi/types/ListIntegrationsParams.d.ts +17 -0
  388. package/dist/serialization/resources/integrationsapi/types/ListIntegrationsResponse.d.ts +12 -0
  389. package/dist/serialization/resources/integrationsapi/types/LoadSampleDataSetResponse.d.ts +11 -0
  390. package/dist/serialization/resources/integrationsapi/types/RunIntegrationResponse.d.ts +11 -0
  391. package/dist/serialization/resources/integrationsapi/types/StartDataImportResponse.d.ts +11 -0
  392. package/dist/serialization/resources/{companies/types/DeletePlanTraitResponse.d.ts → integrationsapi/types/UninstallIntegrationResponse.d.ts} +2 -2
  393. package/dist/serialization/resources/integrationsapi/types/index.d.ts +9 -0
  394. package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +14 -0
  395. package/dist/serialization/resources/planbundle/client/requests/index.d.ts +1 -0
  396. package/dist/serialization/resources/planbundle/types/CreateCustomPlanBundleResponse.d.ts +11 -0
  397. package/dist/serialization/resources/planbundle/types/index.d.ts +1 -0
  398. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -0
  399. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -0
  400. package/dist/serialization/resources/planmigrations/client/index.d.ts +1 -0
  401. package/dist/serialization/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +17 -0
  402. package/dist/serialization/resources/planmigrations/client/requests/RetryMigrationRequestBody.d.ts +10 -0
  403. package/dist/serialization/resources/planmigrations/client/requests/index.d.ts +2 -0
  404. package/dist/serialization/resources/planmigrations/index.d.ts +1 -0
  405. package/dist/serialization/resources/planmigrations/types/CreateMigrationResponse.d.ts +11 -0
  406. package/dist/serialization/resources/planmigrations/types/RetryCompanyMigrationResponse.d.ts +11 -0
  407. package/dist/serialization/resources/planmigrations/types/RetryMigrationResponse.d.ts +11 -0
  408. package/dist/serialization/resources/planmigrations/types/index.d.ts +3 -0
  409. package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -0
  410. package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +14 -0
  411. package/dist/serialization/resources/plans/client/requests/index.d.ts +1 -0
  412. package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +3 -0
  413. package/dist/serialization/resources/plans/types/ListCustomPlanBillingsParams.d.ts +15 -0
  414. package/dist/serialization/resources/plans/types/ListCustomPlanBillingsResponse.d.ts +12 -0
  415. package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +3 -0
  416. package/dist/serialization/resources/plans/types/MarkCustomPlanBillingPaidResponse.d.ts +11 -0
  417. package/dist/serialization/resources/plans/types/RetryCustomPlanBillingResponse.d.ts +11 -0
  418. package/dist/serialization/resources/plans/types/index.d.ts +4 -0
  419. package/dist/serialization/types/AccountMemberResponseData.d.ts +2 -0
  420. package/dist/serialization/types/ActivityEntryResponseData.d.ts +14 -0
  421. package/dist/serialization/types/ActivityResponseResponseData.d.ts +10 -0
  422. package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +4 -0
  423. package/dist/serialization/types/ApiKeyIntegrationResponseData.d.ts +13 -0
  424. package/dist/serialization/types/ApiKeyResponseData.d.ts +4 -0
  425. package/dist/serialization/types/AuditLogListResponseData.d.ts +4 -0
  426. package/dist/serialization/types/AuditLogResponseData.d.ts +4 -0
  427. package/dist/serialization/types/BillingCreditBundleView.d.ts +1 -1
  428. package/dist/serialization/types/BillingCreditGrantReason.d.ts +1 -1
  429. package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +3 -0
  430. package/dist/serialization/types/BillingCreditLedgerAuthority.d.ts +7 -0
  431. package/dist/serialization/types/BillingCreditView.d.ts +4 -0
  432. package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +2 -0
  433. package/dist/serialization/types/BillingPriceResponseData.d.ts +2 -0
  434. package/dist/serialization/types/BillingPriceView.d.ts +2 -0
  435. package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
  436. package/dist/serialization/types/BillingProductPlanResponseData.d.ts +2 -0
  437. package/dist/serialization/types/BillingProductPriceResponseData.d.ts +2 -0
  438. package/dist/serialization/types/BillingProviderType.d.ts +1 -1
  439. package/dist/serialization/types/BillingStrategy.d.ts +7 -0
  440. package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +4 -0
  441. package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +4 -0
  442. package/dist/serialization/types/ChargeType.d.ts +1 -1
  443. package/dist/serialization/types/CheckFlagResponseData.d.ts +4 -2
  444. package/dist/serialization/types/CheckoutDataResponseData.d.ts +2 -0
  445. package/dist/serialization/types/CheckoutFieldInput.d.ts +14 -0
  446. package/dist/serialization/types/CheckoutFieldResponseData.d.ts +18 -0
  447. package/dist/serialization/types/CheckoutFieldValue.d.ts +10 -0
  448. package/dist/serialization/types/CheckoutFieldWithValue.d.ts +15 -0
  449. package/dist/serialization/types/CheckoutSubscription.d.ts +1 -0
  450. package/dist/serialization/types/ClerkIntegrationConfig.d.ts +10 -0
  451. package/dist/serialization/types/CompanyCreditBalanceResponseData.d.ts +15 -0
  452. package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.d.ts +4 -2
  453. package/dist/serialization/types/CompanyMatchingCriteria.d.ts +7 -0
  454. package/dist/serialization/types/CompanyOverrideResponseData.d.ts +4 -2
  455. package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +48 -0
  456. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +10 -4
  457. package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -2
  458. package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +2 -0
  459. package/dist/serialization/types/ComparableOperator.d.ts +7 -0
  460. package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -0
  461. package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -0
  462. package/dist/serialization/types/Condition.d.ts +8 -8
  463. package/dist/serialization/types/ConditionResponseData.d.ts +8 -4
  464. package/dist/serialization/types/{ConditionConditionType.d.ts → ConditionType.d.ts} +2 -2
  465. package/dist/serialization/types/ConditionView.d.ts +8 -4
  466. package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -0
  467. package/dist/serialization/types/CreateCustomPlanBundlePlanRequestBody.d.ts +13 -0
  468. package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +9 -4
  469. package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +4 -4
  470. package/dist/serialization/types/CreateEventRequestBody.d.ts +3 -0
  471. package/dist/serialization/types/CreateFlagRequestBody.d.ts +1 -1
  472. package/dist/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +8 -8
  473. package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
  474. package/dist/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +2 -2
  475. package/dist/serialization/types/CreditCompanyGrantView.d.ts +3 -0
  476. package/dist/serialization/types/CreditCurrencyPrice.d.ts +11 -0
  477. package/dist/serialization/types/CreditEventLedgerResponseData.d.ts +2 -0
  478. package/dist/serialization/types/CreditLeaseResponseData.d.ts +16 -0
  479. package/dist/serialization/types/CreditUsageReason.d.ts +7 -0
  480. package/dist/serialization/types/CurrencyPriceRequestBody.d.ts +3 -0
  481. package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +1 -0
  482. package/dist/serialization/types/CustomPlanBillingStatus.d.ts +1 -1
  483. package/dist/serialization/types/DataEventPayload.d.ts +3 -0
  484. package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +2 -0
  485. package/dist/serialization/types/EntitlementCurrencyPricesResponseData.d.ts +1 -0
  486. package/dist/serialization/types/EnvironmentFeatureUsageTimeSeriesResponseData.d.ts +12 -0
  487. package/dist/serialization/types/EnvironmentTraitUsageTimeSeriesResponseData.d.ts +12 -0
  488. package/dist/serialization/types/EnvironmentUsagePointResponseData.d.ts +10 -0
  489. package/dist/serialization/types/EventBodyTrack.d.ts +1 -0
  490. package/dist/serialization/types/EventDetailResponseData.d.ts +4 -0
  491. package/dist/serialization/types/EventResponseData.d.ts +2 -0
  492. package/dist/serialization/types/FeatureCompanyResponseData.d.ts +7 -4
  493. package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +4 -2
  494. package/dist/serialization/types/FeatureDetailResponseData.d.ts +3 -1
  495. package/dist/serialization/types/FeatureEntitlement.d.ts +4 -4
  496. package/dist/serialization/types/FeatureInPlanResponseData.d.ts +33 -0
  497. package/dist/serialization/types/FeatureResponseData.d.ts +1 -1
  498. package/dist/serialization/types/FeatureUsageResponseData.d.ts +7 -4
  499. package/dist/serialization/types/FeatureView.d.ts +1 -1
  500. package/dist/serialization/types/FlagDetailResponseData.d.ts +3 -1
  501. package/dist/serialization/types/FlagInPlanResponseData.d.ts +24 -0
  502. package/dist/serialization/types/FlagResponseData.d.ts +1 -1
  503. package/dist/serialization/types/FlagView.d.ts +0 -1
  504. package/dist/serialization/types/InsightsSummaryResponseData.d.ts +15 -0
  505. package/dist/serialization/types/InstallIntegrationRequestBody.d.ts +16 -0
  506. package/dist/serialization/types/IntegrationCapabilities.d.ts +11 -0
  507. package/dist/serialization/types/IntegrationConfig.d.ts +27 -0
  508. package/dist/serialization/types/IntegrationInstallConfig.d.ts +20 -0
  509. package/dist/serialization/types/IntegrationInstallResponseData.d.ts +14 -0
  510. package/dist/serialization/types/IntegrationResponseData.d.ts +15 -0
  511. package/dist/serialization/types/IntegrationState.d.ts +7 -0
  512. package/dist/serialization/types/IntegrationType.d.ts +1 -1
  513. package/dist/serialization/types/IntegrationsDataSetResponseData.d.ts +9 -0
  514. package/dist/serialization/types/IntegrationsListResponseData.d.ts +19 -0
  515. package/dist/serialization/types/IntegrationsResponseData.d.ts +15 -0
  516. package/dist/serialization/types/ManagePlanRequest.d.ts +2 -0
  517. package/dist/serialization/types/MarkCustomPlanBillingPaidRequestBody.d.ts +7 -0
  518. package/dist/serialization/types/{ConditionMetricPeriod.d.ts → MetricPeriod.d.ts} +2 -2
  519. package/dist/serialization/types/MetricPeriodMonthReset.d.ts +7 -0
  520. package/dist/serialization/types/MetronomeIntegrationConfig.d.ts +7 -0
  521. package/dist/serialization/types/MigrationErrorCode.d.ts +7 -0
  522. package/dist/serialization/types/MrrResponseData.d.ts +10 -0
  523. package/dist/serialization/types/OrbIntegrationConfig.d.ts +9 -0
  524. package/dist/serialization/types/PlanCreditGrantView.d.ts +2 -0
  525. package/dist/serialization/types/PlanCurrencyPriceRequestBody.d.ts +1 -0
  526. package/dist/serialization/types/PlanCurrencyPricesResponseData.d.ts +1 -0
  527. package/dist/serialization/types/PlanDetailResponseData.d.ts +9 -3
  528. package/dist/serialization/types/PlanEntitlementResponseData.d.ts +6 -2
  529. package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +2 -0
  530. package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +10 -4
  531. package/dist/serialization/types/PlanGrowthPointResponseData.d.ts +12 -0
  532. package/dist/serialization/types/PlanGrowthResponseData.d.ts +10 -0
  533. package/dist/serialization/types/PlanPriceCadence.d.ts +7 -0
  534. package/dist/serialization/types/PlanVersionCompanyMigrationResponseData.d.ts +2 -0
  535. package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +1 -0
  536. package/dist/serialization/types/PlanViewPublicResponseData.d.ts +10 -4
  537. package/dist/serialization/types/ReleaseCreditLeaseRequestBody.d.ts +7 -0
  538. package/dist/serialization/types/Rule.d.ts +2 -2
  539. package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +8 -4
  540. package/dist/serialization/types/RuleConditionResponseData.d.ts +8 -4
  541. package/dist/serialization/types/RuleDetailResponseData.d.ts +2 -1
  542. package/dist/serialization/types/RuleResponseData.d.ts +2 -1
  543. package/dist/serialization/types/RuleType.d.ts +7 -0
  544. package/dist/serialization/types/RuleView.d.ts +2 -1
  545. package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
  546. package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +4 -4
  547. package/dist/serialization/types/RulesengineCompanyMetric.d.ts +4 -4
  548. package/dist/serialization/types/RulesengineCondition.d.ts +8 -8
  549. package/dist/serialization/types/{RulesengineConditionConditionType.d.ts → RulesengineConditionType.d.ts} +2 -2
  550. package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +4 -4
  551. package/dist/serialization/types/RulesengineMetricPeriod.d.ts +7 -0
  552. package/dist/serialization/types/RulesengineMetricPeriodMonthReset.d.ts +7 -0
  553. package/dist/serialization/types/RulesengineRule.d.ts +2 -2
  554. package/dist/serialization/types/RulesengineRuleType.d.ts +7 -0
  555. package/dist/serialization/types/StripeIntegrationConfig.d.ts +14 -0
  556. package/dist/serialization/types/TopFeatureByUsageResponseData.d.ts +14 -0
  557. package/dist/serialization/types/TopFeaturesByUsageResponseData.d.ts +10 -0
  558. package/dist/serialization/types/UpdateAutoTopupOverrideRequestBody.d.ts +12 -0
  559. package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +2 -0
  560. package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +4 -4
  561. package/dist/serialization/types/UpsertBillingProductRequestBody.d.ts +4 -0
  562. package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +5 -0
  563. package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +6 -2
  564. package/dist/serialization/types/WorkOsIntegrationConfig.d.ts +10 -0
  565. package/dist/serialization/types/index.d.ts +56 -29
  566. package/dist/version.d.ts +2 -0
  567. package/dist/wasm/rulesengine.d.ts +1 -0
  568. package/dist/wasm/rulesengine.js +43 -11
  569. package/dist/wasm/rulesengine_bg.wasm.d.ts +1 -0
  570. package/dist/wrapper.d.ts +40 -5
  571. package/package.json +3 -3
  572. package/dist/api/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -13
  573. package/dist/api/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -11
  574. package/dist/api/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
  575. package/dist/api/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -5
  576. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
  577. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -5
  578. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
  579. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -5
  580. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
  581. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -5
  582. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
  583. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -5
  584. package/dist/api/types/ConditionMetricPeriodMonthReset.d.ts +0 -5
  585. package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +0 -7
  586. package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +0 -5
  587. package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +0 -7
  588. package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -5
  589. package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +0 -10
  590. package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +0 -8
  591. package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +0 -6
  592. package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +0 -11
  593. package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +0 -8
  594. package/dist/api/types/FeatureEntitlementMetricPeriod.d.ts +0 -8
  595. package/dist/api/types/FeatureEntitlementMonthReset.d.ts +0 -6
  596. package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +0 -7
  597. package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +0 -10
  598. package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +0 -5
  599. package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +0 -7
  600. package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +0 -7
  601. package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +0 -5
  602. package/dist/api/types/RulesengineConditionOperator.d.ts +0 -11
  603. package/dist/api/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +0 -8
  604. package/dist/api/types/RulesengineFeatureEntitlementMonthReset.d.ts +0 -6
  605. package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +0 -7
  606. package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -5
  607. package/dist/serialization/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -11
  608. package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -10
  609. package/dist/serialization/resources/companies/types/CreatePlanTraitResponse.d.ts +0 -11
  610. package/dist/serialization/resources/companies/types/UpdatePlanTraitResponse.d.ts +0 -11
  611. package/dist/serialization/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
  612. package/dist/serialization/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -7
  613. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
  614. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -7
  615. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
  616. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -7
  617. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
  618. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -7
  619. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
  620. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -7
  621. package/dist/serialization/types/ConditionMetricPeriodMonthReset.d.ts +0 -7
  622. package/dist/serialization/types/ConditionOperator.d.ts +0 -7
  623. package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +0 -7
  624. package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +0 -7
  625. package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +0 -7
  626. package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -7
  627. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +0 -7
  628. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +0 -7
  629. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +0 -7
  630. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +0 -7
  631. package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +0 -7
  632. package/dist/serialization/types/FeatureEntitlementMetricPeriod.d.ts +0 -7
  633. package/dist/serialization/types/FeatureEntitlementMonthReset.d.ts +0 -7
  634. package/dist/serialization/types/RuleRuleType.d.ts +0 -7
  635. package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +0 -7
  636. package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +0 -7
  637. package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +0 -7
  638. package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +0 -7
  639. package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +0 -7
  640. package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +0 -7
  641. package/dist/serialization/types/RulesengineConditionOperator.d.ts +0 -7
  642. package/dist/serialization/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +0 -7
  643. package/dist/serialization/types/RulesengineFeatureEntitlementMonthReset.d.ts +0 -7
  644. package/dist/serialization/types/RulesengineRuleRuleType.d.ts +0 -7
  645. package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +0 -7
  646. package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -7
  647. package/dist/wasm/rulesengine_bg.wasm +0 -0
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { CustomPlanBillingResponseData } from "../../../types/CustomPlanBillingResponseData";
5
+ export declare const MarkCustomPlanBillingPaidResponse: core.serialization.ObjectSchema<serializers.MarkCustomPlanBillingPaidResponse.Raw, Schematic.MarkCustomPlanBillingPaidResponse>;
6
+ export declare namespace MarkCustomPlanBillingPaidResponse {
7
+ interface Raw {
8
+ data: CustomPlanBillingResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { CustomPlanBillingResponseData } from "../../../types/CustomPlanBillingResponseData";
5
+ export declare const RetryCustomPlanBillingResponse: core.serialization.ObjectSchema<serializers.RetryCustomPlanBillingResponse.Raw, Schematic.RetryCustomPlanBillingResponse>;
6
+ export declare namespace RetryCustomPlanBillingResponse {
7
+ interface Raw {
8
+ data: CustomPlanBillingResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -11,11 +11,15 @@ export * from "./GetPlanParams";
11
11
  export * from "./GetPlanResponse";
12
12
  export * from "./ListBillingProductMatchCompaniesParams";
13
13
  export * from "./ListBillingProductMatchCompaniesResponse";
14
+ export * from "./ListCustomPlanBillingsParams";
15
+ export * from "./ListCustomPlanBillingsResponse";
14
16
  export * from "./ListPlanIssuesParams";
15
17
  export * from "./ListPlanIssuesResponse";
16
18
  export * from "./ListPlansParams";
17
19
  export * from "./ListPlansResponse";
20
+ export * from "./MarkCustomPlanBillingPaidResponse";
18
21
  export * from "./PublishPlanVersionResponse";
22
+ export * from "./RetryCustomPlanBillingResponse";
19
23
  export * from "./UpdateCompanyPlansResponse";
20
24
  export * from "./UpdatePlanResponse";
21
25
  export * from "./UpsertBillingProductPlanResponse";
@@ -8,8 +8,10 @@ export declare namespace AccountMemberResponseData {
8
8
  interface Raw {
9
9
  created_at: string;
10
10
  email?: string | null;
11
+ first_name?: string | null;
11
12
  id: string;
12
13
  image_url?: string | null;
14
+ last_name?: string | null;
13
15
  name?: string | null;
14
16
  permissions: Record<string, AccountMemberPermission.Raw[]>;
15
17
  role?: AccountMemberRole.Raw | null;
@@ -0,0 +1,14 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const ActivityEntryResponseData: core.serialization.ObjectSchema<serializers.ActivityEntryResponseData.Raw, Schematic.ActivityEntryResponseData>;
5
+ export declare namespace ActivityEntryResponseData {
6
+ interface Raw {
7
+ actor_name: string;
8
+ method: string;
9
+ resource_name: string;
10
+ resource_type: string;
11
+ timestamp: string;
12
+ title: string;
13
+ }
14
+ }
@@ -0,0 +1,10 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { ActivityEntryResponseData } from "./ActivityEntryResponseData";
5
+ export declare const ActivityResponseResponseData: core.serialization.ObjectSchema<serializers.ActivityResponseResponseData.Raw, Schematic.ActivityResponseResponseData>;
6
+ export declare namespace ActivityResponseResponseData {
7
+ interface Raw {
8
+ entries: ActivityEntryResponseData.Raw[];
9
+ }
10
+ }
@@ -1,14 +1,18 @@
1
1
  import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
+ import { ApiKeyIntegrationResponseData } from "./ApiKeyIntegrationResponseData";
4
5
  import { ApiKeyScope } from "./ApiKeyScope";
6
+ import { EnvironmentResponseData } from "./EnvironmentResponseData";
5
7
  export declare const ApiKeyCreateResponseData: core.serialization.ObjectSchema<serializers.ApiKeyCreateResponseData.Raw, Schematic.ApiKeyCreateResponseData>;
6
8
  export declare namespace ApiKeyCreateResponseData {
7
9
  interface Raw {
8
10
  created_at: string;
9
11
  description?: string | null;
12
+ environment?: EnvironmentResponseData.Raw | null;
10
13
  environment_id?: string | null;
11
14
  id: string;
15
+ integration?: ApiKeyIntegrationResponseData.Raw | null;
12
16
  last_used_at?: string | null;
13
17
  name: string;
14
18
  readonly: boolean;
@@ -0,0 +1,13 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { IntegrationState } from "./IntegrationState";
5
+ import { IntegrationType } from "./IntegrationType";
6
+ export declare const ApiKeyIntegrationResponseData: core.serialization.ObjectSchema<serializers.ApiKeyIntegrationResponseData.Raw, Schematic.ApiKeyIntegrationResponseData>;
7
+ export declare namespace ApiKeyIntegrationResponseData {
8
+ interface Raw {
9
+ id: string;
10
+ state: IntegrationState.Raw;
11
+ type: IntegrationType.Raw;
12
+ }
13
+ }
@@ -1,14 +1,18 @@
1
1
  import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
+ import { ApiKeyIntegrationResponseData } from "./ApiKeyIntegrationResponseData";
4
5
  import { ApiKeyScope } from "./ApiKeyScope";
6
+ import { EnvironmentResponseData } from "./EnvironmentResponseData";
5
7
  export declare const ApiKeyResponseData: core.serialization.ObjectSchema<serializers.ApiKeyResponseData.Raw, Schematic.ApiKeyResponseData>;
6
8
  export declare namespace ApiKeyResponseData {
7
9
  interface Raw {
8
10
  created_at: string;
9
11
  description?: string | null;
12
+ environment?: EnvironmentResponseData.Raw | null;
10
13
  environment_id?: string | null;
11
14
  id: string;
15
+ integration?: ApiKeyIntegrationResponseData.Raw | null;
12
16
  last_used_at?: string | null;
13
17
  name: string;
14
18
  readonly: boolean;
@@ -2,12 +2,16 @@ import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { ActorType } from "./ActorType";
5
+ import { ApiKeyResponseData } from "./ApiKeyResponseData";
6
+ import { EnvironmentResponseData } from "./EnvironmentResponseData";
5
7
  export declare const AuditLogListResponseData: core.serialization.ObjectSchema<serializers.AuditLogListResponseData.Raw, Schematic.AuditLogListResponseData>;
6
8
  export declare namespace AuditLogListResponseData {
7
9
  interface Raw {
8
10
  actor_type: ActorType.Raw;
11
+ api_key?: ApiKeyResponseData.Raw | null;
9
12
  api_key_id?: string | null;
10
13
  ended_at?: string | null;
14
+ environment?: EnvironmentResponseData.Raw | null;
11
15
  environment_id?: string | null;
12
16
  id: string;
13
17
  method: string;
@@ -2,12 +2,16 @@ import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { ActorType } from "./ActorType";
5
+ import { ApiKeyResponseData } from "./ApiKeyResponseData";
6
+ import { EnvironmentResponseData } from "./EnvironmentResponseData";
5
7
  export declare const AuditLogResponseData: core.serialization.ObjectSchema<serializers.AuditLogResponseData.Raw, Schematic.AuditLogResponseData>;
6
8
  export declare namespace AuditLogResponseData {
7
9
  interface Raw {
8
10
  actor_type: ActorType.Raw;
11
+ api_key?: ApiKeyResponseData.Raw | null;
9
12
  api_key_id?: string | null;
10
13
  ended_at?: string | null;
14
+ environment?: EnvironmentResponseData.Raw | null;
11
15
  environment_id?: string | null;
12
16
  id: string;
13
17
  method: string;
@@ -16,7 +16,7 @@ export declare namespace BillingCreditBundleView {
16
16
  credit_icon?: string | null;
17
17
  credit_id: string;
18
18
  credit_name: string;
19
- currency_prices?: CreditBundleCurrencyPrice.Raw[] | null;
19
+ currency_prices: CreditBundleCurrencyPrice.Raw[];
20
20
  expiry_type: BillingCreditExpiryType.Raw;
21
21
  expiry_unit: BillingCreditExpiryUnit.Raw;
22
22
  expiry_unit_count?: number | null;
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const BillingCreditGrantReason: core.serialization.Schema<serializers.BillingCreditGrantReason.Raw, Schematic.BillingCreditGrantReason>;
5
5
  export declare namespace BillingCreditGrantReason {
6
- type Raw = "adjustment" | "billing_credit_auto_topup" | "free" | "plan" | "purchased";
6
+ type Raw = "adjustment" | "billing_credit_auto_topup" | "free" | "plan" | "purchased" | "rollover";
7
7
  }
@@ -27,6 +27,9 @@ export declare namespace BillingCreditGrantResponseData {
27
27
  quantity_used: number;
28
28
  renewal_enabled: boolean;
29
29
  renewal_period?: BillingPlanCreditGrantResetCadence.Raw | null;
30
+ reserved?: number | null;
31
+ settled?: number | null;
32
+ source_grant_id?: string | null;
30
33
  source_label: string;
31
34
  transfers?: CreditTransferResponseData.Raw[] | null;
32
35
  updated_at: string;
@@ -0,0 +1,7 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const BillingCreditLedgerAuthority: core.serialization.Schema<serializers.BillingCreditLedgerAuthority.Raw, Schematic.BillingCreditLedgerAuthority>;
5
+ export declare namespace BillingCreditLedgerAuthority {
6
+ type Raw = "schematic_authoritative" | "external_mirror" | "external_rated";
7
+ }
@@ -3,9 +3,11 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { BillingCreditBurnStrategy } from "./BillingCreditBurnStrategy";
5
5
  import { BillingCreditExpiryUnit } from "./BillingCreditExpiryUnit";
6
+ import { BillingCreditLedgerAuthority } from "./BillingCreditLedgerAuthority";
6
7
  import { BillingCreditRolloverPolicy } from "./BillingCreditRolloverPolicy";
7
8
  import { BillingPriceView } from "./BillingPriceView";
8
9
  import { BillingProductResponseData } from "./BillingProductResponseData";
10
+ import { CreditCurrencyPrice } from "./CreditCurrencyPrice";
9
11
  export declare const BillingCreditView: core.serialization.ObjectSchema<serializers.BillingCreditView.Raw, Schematic.BillingCreditView>;
10
12
  export declare namespace BillingCreditView {
11
13
  interface Raw {
@@ -13,6 +15,7 @@ export declare namespace BillingCreditView {
13
15
  burn_strategy: BillingCreditBurnStrategy.Raw;
14
16
  cost_editable: boolean;
15
17
  created_at: string;
18
+ currency_prices: CreditCurrencyPrice.Raw[];
16
19
  default_expiry_unit: BillingCreditExpiryUnit.Raw;
17
20
  default_expiry_unit_count?: number | null;
18
21
  default_rollover_policy: BillingCreditRolloverPolicy.Raw;
@@ -20,6 +23,7 @@ export declare namespace BillingCreditView {
20
23
  environment_id: string;
21
24
  icon?: string | null;
22
25
  id: string;
26
+ ledger_authority: BillingCreditLedgerAuthority.Raw;
23
27
  name: string;
24
28
  plural_name?: string | null;
25
29
  price?: BillingPriceView.Raw | null;
@@ -17,6 +17,7 @@ export declare namespace BillingPlanCreditGrantResponseData {
17
17
  auto_topup_expiry_type?: BillingCreditExpiryType.Raw | null;
18
18
  auto_topup_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
19
19
  auto_topup_expiry_unit_count?: number | null;
20
+ auto_topup_self_service: boolean;
20
21
  auto_topup_threshold_credits?: number | null;
21
22
  auto_topup_threshold_percent?: number | null;
22
23
  created_at: string;
@@ -37,6 +38,7 @@ export declare namespace BillingPlanCreditGrantResponseData {
37
38
  reset_cadence?: BillingPlanCreditGrantResetCadence.Raw | null;
38
39
  reset_start?: BillingPlanCreditGrantResetStart.Raw | null;
39
40
  reset_type?: BillingPlanCreditGrantResetType.Raw | null;
41
+ rollover_percentage: number;
40
42
  updated_at: string;
41
43
  }
42
44
  }
@@ -11,6 +11,8 @@ export declare namespace BillingPriceResponseData {
11
11
  external_price_id: string;
12
12
  id: string;
13
13
  interval: BillingProductPriceInterval.Raw;
14
+ interval_count: number;
15
+ nickname?: string | null;
14
16
  price: number;
15
17
  price_decimal?: string | null;
16
18
  provider_type: BillingProviderType.Raw;
@@ -15,10 +15,12 @@ export declare namespace BillingPriceView {
15
15
  currency: string;
16
16
  id: string;
17
17
  interval: BillingProductPriceInterval.Raw;
18
+ interval_count: number;
18
19
  is_active: boolean;
19
20
  meter_event_name?: string | null;
20
21
  meter_event_payload_key?: string | null;
21
22
  meter_id?: string | null;
23
+ nickname?: string | null;
22
24
  package_size: number;
23
25
  price: number;
24
26
  price_decimal?: string | null;
@@ -16,6 +16,7 @@ export declare namespace BillingProductForSubscriptionResponseData {
16
16
  external_id: string;
17
17
  id: string;
18
18
  interval: string;
19
+ interval_count?: number | null;
19
20
  meter_id?: string | null;
20
21
  name: string;
21
22
  package_size: number;
@@ -2,12 +2,14 @@ import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { BillingProviderType } from "./BillingProviderType";
5
+ import { BillingStrategy } from "./BillingStrategy";
5
6
  import { ChargeType } from "./ChargeType";
6
7
  export declare const BillingProductPlanResponseData: core.serialization.ObjectSchema<serializers.BillingProductPlanResponseData.Raw, Schematic.BillingProductPlanResponseData>;
7
8
  export declare namespace BillingProductPlanResponseData {
8
9
  interface Raw {
9
10
  account_id: string;
10
11
  billing_product_id: string;
12
+ billing_strategy: BillingStrategy.Raw;
11
13
  charge_type: ChargeType.Raw;
12
14
  controlled_by: BillingProviderType.Raw;
13
15
  environment_id: string;
@@ -14,8 +14,10 @@ export declare namespace BillingProductPriceResponseData {
14
14
  currency: string;
15
15
  id: string;
16
16
  interval: BillingProductPriceInterval.Raw;
17
+ interval_count: number;
17
18
  is_active: boolean;
18
19
  meter_id?: string | null;
20
+ nickname?: string | null;
19
21
  package_size: number;
20
22
  price: number;
21
23
  price_decimal?: string | null;
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const BillingProviderType: core.serialization.Schema<serializers.BillingProviderType.Raw, Schematic.BillingProviderType>;
5
5
  export declare namespace BillingProviderType {
6
- type Raw = "orb" | "schematic" | "stripe";
6
+ type Raw = "metronome" | "orb" | "schematic" | "stripe";
7
7
  }
@@ -0,0 +1,7 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const BillingStrategy: core.serialization.Schema<serializers.BillingStrategy.Raw, Schematic.BillingStrategy>;
5
+ export declare namespace BillingStrategy {
6
+ type Raw = "schematic_managed" | "provider_managed" | "no_billing";
7
+ }
@@ -1,16 +1,20 @@
1
1
  import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
+ import { CheckoutFieldValue } from "./CheckoutFieldValue";
4
5
  import { UpdateAddOnRequestBody } from "./UpdateAddOnRequestBody";
6
+ import { UpdateAutoTopupOverrideRequestBody } from "./UpdateAutoTopupOverrideRequestBody";
5
7
  import { UpdateCreditBundleRequestBody } from "./UpdateCreditBundleRequestBody";
6
8
  import { UpdatePayInAdvanceRequestBody } from "./UpdatePayInAdvanceRequestBody";
7
9
  export declare const ChangeSubscriptionInternalRequestBody: core.serialization.ObjectSchema<serializers.ChangeSubscriptionInternalRequestBody.Raw, Schematic.ChangeSubscriptionInternalRequestBody>;
8
10
  export declare namespace ChangeSubscriptionInternalRequestBody {
9
11
  interface Raw {
10
12
  add_on_ids: UpdateAddOnRequestBody.Raw[];
13
+ auto_topup_overrides: UpdateAutoTopupOverrideRequestBody.Raw[];
11
14
  company_id: string;
12
15
  coupon_external_id?: string | null;
13
16
  credit_bundles: UpdateCreditBundleRequestBody.Raw[];
17
+ custom_field_values: CheckoutFieldValue.Raw[];
14
18
  new_plan_id: string;
15
19
  new_price_id: string;
16
20
  pay_in_advance: UpdatePayInAdvanceRequestBody.Raw[];
@@ -1,15 +1,19 @@
1
1
  import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
+ import { CheckoutFieldValue } from "./CheckoutFieldValue";
4
5
  import { UpdateAddOnRequestBody } from "./UpdateAddOnRequestBody";
6
+ import { UpdateAutoTopupOverrideRequestBody } from "./UpdateAutoTopupOverrideRequestBody";
5
7
  import { UpdateCreditBundleRequestBody } from "./UpdateCreditBundleRequestBody";
6
8
  import { UpdatePayInAdvanceRequestBody } from "./UpdatePayInAdvanceRequestBody";
7
9
  export declare const ChangeSubscriptionRequestBody: core.serialization.ObjectSchema<serializers.ChangeSubscriptionRequestBody.Raw, Schematic.ChangeSubscriptionRequestBody>;
8
10
  export declare namespace ChangeSubscriptionRequestBody {
9
11
  interface Raw {
10
12
  add_on_ids: UpdateAddOnRequestBody.Raw[];
13
+ auto_topup_overrides: UpdateAutoTopupOverrideRequestBody.Raw[];
11
14
  coupon_external_id?: string | null;
12
15
  credit_bundles: UpdateCreditBundleRequestBody.Raw[];
16
+ custom_field_values: CheckoutFieldValue.Raw[];
13
17
  new_plan_id: string;
14
18
  new_price_id: string;
15
19
  pay_in_advance: UpdatePayInAdvanceRequestBody.Raw[];
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const ChargeType: core.serialization.Schema<serializers.ChargeType.Raw, Schematic.ChargeType>;
5
5
  export declare namespace ChargeType {
6
- type Raw = "free" | "one_time" | "recurring";
6
+ type Raw = "free" | "none" | "one_time" | "recurring";
7
7
  }
@@ -2,6 +2,8 @@ import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { FeatureEntitlement } from "./FeatureEntitlement";
5
+ import { MetricPeriod } from "./MetricPeriod";
6
+ import { RuleType } from "./RuleType";
5
7
  export declare const CheckFlagResponseData: core.serialization.ObjectSchema<serializers.CheckFlagResponseData.Raw, Schematic.CheckFlagResponseData>;
6
8
  export declare namespace CheckFlagResponseData {
7
9
  interface Raw {
@@ -11,13 +13,13 @@ export declare namespace CheckFlagResponseData {
11
13
  feature_allocation?: number | null;
12
14
  feature_usage?: number | null;
13
15
  feature_usage_event?: string | null;
14
- feature_usage_period?: string | null;
16
+ feature_usage_period?: MetricPeriod.Raw | null;
15
17
  feature_usage_reset_at?: string | null;
16
18
  flag: string;
17
19
  flag_id?: string | null;
18
20
  reason: string;
19
21
  rule_id?: string | null;
20
- rule_type?: string | null;
22
+ rule_type?: RuleType.Raw | null;
21
23
  user_id?: string | null;
22
24
  value: boolean;
23
25
  }
@@ -2,6 +2,7 @@ import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { BillingCreditBundleResponseData } from "./BillingCreditBundleResponseData";
5
+ import { CheckoutFieldWithValue } from "./CheckoutFieldWithValue";
5
6
  import { CompanyDetailResponseData } from "./CompanyDetailResponseData";
6
7
  import { CompanySubscriptionResponseData } from "./CompanySubscriptionResponseData";
7
8
  import { CreditBundlePurchaseResponseData } from "./CreditBundlePurchaseResponseData";
@@ -16,6 +17,7 @@ export declare namespace CheckoutDataResponseData {
16
17
  active_usage_based_entitlements: UsageBasedEntitlementResponseData.Raw[];
17
18
  available_credit_bundles: BillingCreditBundleResponseData.Raw[];
18
19
  company?: CompanyDetailResponseData.Raw | null;
20
+ custom_checkout_fields: CheckoutFieldWithValue.Raw[];
19
21
  feature_usage?: FeatureUsageDetailResponseData.Raw | null;
20
22
  selected_credit_bundles: CreditBundlePurchaseResponseData.Raw[];
21
23
  selected_plan?: PlanDetailResponseData.Raw | null;
@@ -0,0 +1,14 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const CheckoutFieldInput: core.serialization.ObjectSchema<serializers.CheckoutFieldInput.Raw, Schematic.CheckoutFieldInput>;
5
+ export declare namespace CheckoutFieldInput {
6
+ interface Raw {
7
+ definition_id?: string | null;
8
+ helper_text?: string | null;
9
+ id?: string | null;
10
+ name: string;
11
+ required: boolean;
12
+ stripe_metadata_key: string;
13
+ }
14
+ }
@@ -0,0 +1,18 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const CheckoutFieldResponseData: core.serialization.ObjectSchema<serializers.CheckoutFieldResponseData.Raw, Schematic.CheckoutFieldResponseData>;
5
+ export declare namespace CheckoutFieldResponseData {
6
+ interface Raw {
7
+ created_at: string;
8
+ definition_id: string;
9
+ helper_text?: string | null;
10
+ id: string;
11
+ name: string;
12
+ position: number;
13
+ required: boolean;
14
+ stripe_metadata_key: string;
15
+ trait_hierarchy: string[];
16
+ updated_at: string;
17
+ }
18
+ }
@@ -0,0 +1,10 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const CheckoutFieldValue: core.serialization.ObjectSchema<serializers.CheckoutFieldValue.Raw, Schematic.CheckoutFieldValue>;
5
+ export declare namespace CheckoutFieldValue {
6
+ interface Raw {
7
+ id: string;
8
+ value: string;
9
+ }
10
+ }
@@ -0,0 +1,15 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const CheckoutFieldWithValue: core.serialization.ObjectSchema<serializers.CheckoutFieldWithValue.Raw, Schematic.CheckoutFieldWithValue>;
5
+ export declare namespace CheckoutFieldWithValue {
6
+ interface Raw {
7
+ definition_id: string;
8
+ helper_text?: string | null;
9
+ id: string;
10
+ name: string;
11
+ required: boolean;
12
+ stripe_metadata_key: string;
13
+ value?: string | null;
14
+ }
15
+ }
@@ -19,6 +19,7 @@ export declare namespace CheckoutSubscription {
19
19
  expired_at?: string | null;
20
20
  id: string;
21
21
  interval: string;
22
+ invoice_id?: string | null;
22
23
  invoice_url?: string | null;
23
24
  metadata?: Record<string, unknown> | null;
24
25
  period_end: number;
@@ -0,0 +1,10 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const ClerkIntegrationConfig: core.serialization.ObjectSchema<serializers.ClerkIntegrationConfig.Raw, Schematic.ClerkIntegrationConfig>;
5
+ export declare namespace ClerkIntegrationConfig {
6
+ interface Raw {
7
+ first_events_received?: boolean | null;
8
+ webhook_url?: string | null;
9
+ }
10
+ }
@@ -0,0 +1,15 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { BillingProviderType } from "./BillingProviderType";
5
+ export declare const CompanyCreditBalanceResponseData: core.serialization.ObjectSchema<serializers.CompanyCreditBalanceResponseData.Raw, Schematic.CompanyCreditBalanceResponseData>;
6
+ export declare namespace CompanyCreditBalanceResponseData {
7
+ interface Raw {
8
+ credit_id: string;
9
+ remaining: number;
10
+ reserved: number;
11
+ settled: number;
12
+ source: BillingProviderType.Raw;
13
+ total?: number | null;
14
+ }
15
+ }
@@ -1,6 +1,8 @@
1
1
  import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
+ import { MetricPeriod } from "./MetricPeriod";
5
+ import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
4
6
  export declare const CompanyEventPeriodMetricsResponseData: core.serialization.ObjectSchema<serializers.CompanyEventPeriodMetricsResponseData.Raw, Schematic.CompanyEventPeriodMetricsResponseData>;
5
7
  export declare namespace CompanyEventPeriodMetricsResponseData {
6
8
  interface Raw {
@@ -11,8 +13,8 @@ export declare namespace CompanyEventPeriodMetricsResponseData {
11
13
  created_at: string;
12
14
  environment_id: string;
13
15
  event_subtype: string;
14
- month_reset: string;
15
- period: string;
16
+ month_reset: MetricPeriodMonthReset.Raw;
17
+ period: MetricPeriod.Raw;
16
18
  valid_until?: string | null;
17
19
  value: number;
18
20
  }
@@ -0,0 +1,7 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const CompanyMatchingCriteria: core.serialization.Schema<serializers.CompanyMatchingCriteria.Raw, Schematic.CompanyMatchingCriteria>;
5
+ export declare namespace CompanyMatchingCriteria {
6
+ type Raw = "billing_meta_object" | "manual_upsert";
7
+ }
@@ -6,6 +6,8 @@ import { CompanyOverrideNoteResponseData } from "./CompanyOverrideNoteResponseDa
6
6
  import { EntitlementValueType } from "./EntitlementValueType";
7
7
  import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
8
8
  import { FeatureResponseData } from "./FeatureResponseData";
9
+ import { MetricPeriod } from "./MetricPeriod";
10
+ import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
9
11
  export declare const CompanyOverrideResponseData: core.serialization.ObjectSchema<serializers.CompanyOverrideResponseData.Raw, Schematic.CompanyOverrideResponseData>;
10
12
  export declare namespace CompanyOverrideResponseData {
11
13
  interface Raw {
@@ -18,8 +20,8 @@ export declare namespace CompanyOverrideResponseData {
18
20
  feature?: FeatureResponseData.Raw | null;
19
21
  feature_id: string;
20
22
  id: string;
21
- metric_period?: string | null;
22
- metric_period_month_reset?: string | null;
23
+ metric_period?: MetricPeriod.Raw | null;
24
+ metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
23
25
  notes: CompanyOverrideNoteResponseData.Raw[];
24
26
  rule_id?: string | null;
25
27
  rule_id_usage_exceeded?: string | null;
@@ -0,0 +1,48 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { BillingCreditExpiryType } from "./BillingCreditExpiryType";
5
+ import { BillingCreditExpiryUnit } from "./BillingCreditExpiryUnit";
6
+ import { BillingCreditView } from "./BillingCreditView";
7
+ import { BillingPlanCreditGrantResetCadence } from "./BillingPlanCreditGrantResetCadence";
8
+ import { BillingPlanCreditGrantResetStart } from "./BillingPlanCreditGrantResetStart";
9
+ import { BillingPlanCreditGrantResetType } from "./BillingPlanCreditGrantResetType";
10
+ import { GenericPreviewObject } from "./GenericPreviewObject";
11
+ export declare const CompanyPlanCreditGrantView: core.serialization.ObjectSchema<serializers.CompanyPlanCreditGrantView.Raw, Schematic.CompanyPlanCreditGrantView>;
12
+ export declare namespace CompanyPlanCreditGrantView {
13
+ interface Raw {
14
+ billing_credit_auto_topup_amount?: number | null;
15
+ billing_credit_auto_topup_amount_type?: string | null;
16
+ billing_credit_auto_topup_enabled: boolean;
17
+ billing_credit_auto_topup_expiry_type?: BillingCreditExpiryType.Raw | null;
18
+ billing_credit_auto_topup_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
19
+ billing_credit_auto_topup_expiry_unit_count?: number | null;
20
+ billing_credit_auto_topup_self_service: boolean;
21
+ billing_credit_auto_topup_threshold_credits?: number | null;
22
+ billing_credit_auto_topup_threshold_percent?: number | null;
23
+ company_auto_topup_amount?: number | null;
24
+ company_auto_topup_enabled?: boolean | null;
25
+ company_auto_topup_threshold_credits?: number | null;
26
+ created_at: string;
27
+ credit?: BillingCreditView.Raw | null;
28
+ credit_amount: number;
29
+ credit_description: string;
30
+ credit_icon?: string | null;
31
+ credit_id: string;
32
+ credit_name: string;
33
+ expiry_type?: BillingCreditExpiryType.Raw | null;
34
+ expiry_unit?: BillingCreditExpiryUnit.Raw | null;
35
+ expiry_unit_count?: number | null;
36
+ id: string;
37
+ plan?: GenericPreviewObject.Raw | null;
38
+ plan_id: string;
39
+ plan_version_id?: string | null;
40
+ plural_name?: string | null;
41
+ reset_cadence?: BillingPlanCreditGrantResetCadence.Raw | null;
42
+ reset_start?: BillingPlanCreditGrantResetStart.Raw | null;
43
+ reset_type: BillingPlanCreditGrantResetType.Raw;
44
+ rollover_percentage: number;
45
+ singular_name?: string | null;
46
+ updated_at: string;
47
+ }
48
+ }