@schematichq/schematic-typescript-node 1.4.5 → 1.4.7

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 (706) hide show
  1. package/README.md +118 -2
  2. package/dist/BaseClient.d.ts +3 -0
  3. package/dist/Client.d.ts +8 -20
  4. package/dist/api/resources/accounts/client/Client.d.ts +35 -0
  5. package/dist/api/resources/accounts/client/requests/ListAccountMembersRequest.d.ts +18 -0
  6. package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +1 -0
  7. package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
  8. package/dist/api/resources/accounts/types/GetAccountMemberResponse.d.ts +6 -0
  9. package/dist/api/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
  10. package/dist/api/resources/accounts/types/ListAccountMembersResponse.d.ts +6 -0
  11. package/dist/api/resources/accounts/types/index.d.ts +3 -0
  12. package/dist/api/resources/billing/client/Client.d.ts +33 -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/CreateBillingSubscriptionRequestBody.d.ts +1 -0
  17. package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
  18. package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +6 -1
  19. package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +6 -1
  20. package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +5 -1
  21. package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +2 -1
  22. package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +2 -0
  23. package/dist/api/resources/billing/types/DeletePaymentMethodByExternalIdResponse.d.ts +6 -0
  24. package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +2 -0
  25. package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -0
  26. package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +2 -0
  27. package/dist/api/resources/billing/types/index.d.ts +1 -0
  28. package/dist/api/resources/checkout/client/Client.d.ts +6 -0
  29. package/dist/api/resources/companies/client/Client.d.ts +31 -55
  30. package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +11 -0
  31. package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +1 -0
  32. package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +2 -0
  33. package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -0
  34. package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +1 -0
  35. package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +1 -0
  36. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +11 -0
  37. package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +1 -0
  38. package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +2 -0
  39. package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +7 -4
  40. package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -0
  41. package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +1 -0
  42. package/dist/api/resources/companies/client/requests/index.d.ts +0 -2
  43. package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +4 -0
  44. package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +4 -0
  45. package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +3 -2
  46. package/dist/api/resources/companies/types/index.d.ts +0 -3
  47. package/dist/api/resources/credits/client/Client.d.ts +99 -1
  48. package/dist/api/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +14 -0
  49. package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +1 -0
  50. package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +1 -0
  51. package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +4 -0
  52. package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +1 -0
  53. package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +1 -0
  54. package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +2 -1
  55. package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -0
  56. package/dist/api/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +10 -0
  57. package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +1 -0
  58. package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +4 -0
  59. package/dist/api/resources/credits/client/requests/ListCompanyCreditBalancesRequest.d.ts +9 -0
  60. package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +1 -0
  61. package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +1 -0
  62. package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +1 -0
  63. package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -0
  64. package/dist/api/resources/credits/client/requests/index.d.ts +3 -0
  65. package/dist/api/resources/credits/types/AcquireCreditLeaseResponse.d.ts +6 -0
  66. package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
  67. package/dist/api/resources/credits/types/ExtendCreditLeaseResponse.d.ts +6 -0
  68. package/dist/api/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +6 -0
  69. package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
  70. package/dist/api/resources/credits/types/ListCompanyCreditBalancesParams.d.ts +6 -0
  71. package/dist/api/resources/credits/types/ListCompanyCreditBalancesResponse.d.ts +6 -0
  72. package/dist/api/resources/credits/types/ReleaseCreditLeaseResponse.d.ts +6 -0
  73. package/dist/api/resources/credits/types/index.d.ts +6 -0
  74. package/dist/api/resources/entitlements/client/Client.d.ts +39 -0
  75. package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +3 -0
  76. package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +5 -0
  77. package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +4 -0
  78. package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +50 -0
  79. package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -2
  80. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +9 -2
  81. package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +3 -0
  82. package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +5 -0
  83. package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +4 -0
  84. package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -2
  85. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +9 -2
  86. package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
  87. package/dist/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +3 -0
  88. package/dist/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +3 -0
  89. package/dist/api/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +6 -0
  90. package/dist/api/resources/entitlements/types/index.d.ts +1 -8
  91. package/dist/api/resources/events/client/Client.d.ts +3 -0
  92. package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +1 -0
  93. package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +3 -0
  94. package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -0
  95. package/dist/api/resources/features/client/Client.d.ts +35 -6
  96. package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +13 -8
  97. package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +1 -0
  98. package/dist/api/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +26 -0
  99. package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
  100. package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +13 -8
  101. package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +1 -0
  102. package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
  103. package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +2 -2
  104. package/dist/api/resources/features/client/requests/index.d.ts +1 -0
  105. package/dist/api/resources/features/types/CountFeaturesParams.d.ts +2 -0
  106. package/dist/api/resources/features/types/ListFeaturesParams.d.ts +2 -0
  107. package/dist/api/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts +6 -0
  108. package/dist/api/resources/features/types/index.d.ts +1 -0
  109. package/dist/api/resources/index.d.ts +6 -0
  110. package/dist/api/resources/insights/client/Client.d.ts +114 -0
  111. package/dist/api/resources/insights/client/index.d.ts +1 -0
  112. package/dist/api/resources/insights/client/requests/GetActivityRequest.d.ts +9 -0
  113. package/dist/api/resources/insights/client/requests/GetEnvironmentFeatureUsageTimeSeriesRequest.d.ts +16 -0
  114. package/dist/api/resources/insights/client/requests/GetEnvironmentTraitUsageTimeSeriesRequest.d.ts +16 -0
  115. package/dist/api/resources/insights/client/requests/GetPlanGrowthRequest.d.ts +9 -0
  116. package/dist/api/resources/insights/client/requests/GetTopFeaturesByUsageRequest.d.ts +13 -0
  117. package/dist/api/resources/insights/client/requests/index.d.ts +5 -0
  118. package/dist/api/resources/insights/exports.d.ts +2 -0
  119. package/dist/api/resources/insights/index.d.ts +2 -0
  120. package/dist/api/resources/insights/types/GetActivityParams.d.ts +6 -0
  121. package/dist/api/resources/insights/types/GetActivityResponse.d.ts +6 -0
  122. package/dist/api/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesParams.d.ts +10 -0
  123. package/dist/api/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesResponse.d.ts +6 -0
  124. package/dist/api/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesParams.d.ts +10 -0
  125. package/dist/api/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesResponse.d.ts +6 -0
  126. package/dist/api/resources/insights/types/GetPlanGrowthParams.d.ts +6 -0
  127. package/dist/api/resources/insights/types/GetPlanGrowthResponse.d.ts +6 -0
  128. package/dist/api/resources/{companies/types/UpdatePlanTraitResponse.d.ts → insights/types/GetSummaryResponse.d.ts} +2 -2
  129. package/dist/api/resources/insights/types/GetTopFeaturesByUsageParams.d.ts +8 -0
  130. package/dist/api/resources/insights/types/GetTopFeaturesByUsageResponse.d.ts +6 -0
  131. package/dist/api/resources/insights/types/index.d.ts +11 -0
  132. package/dist/api/resources/integrationsapi/client/Client.d.ts +109 -0
  133. package/dist/api/resources/integrationsapi/client/index.d.ts +1 -0
  134. package/dist/api/resources/integrationsapi/client/requests/ListIntegrationsRequest.d.ts +24 -0
  135. package/dist/api/resources/integrationsapi/client/requests/StartDataImportRequestBody.d.ts +12 -0
  136. package/dist/api/resources/integrationsapi/client/requests/index.d.ts +2 -0
  137. package/dist/api/resources/integrationsapi/exports.d.ts +2 -0
  138. package/dist/api/resources/integrationsapi/index.d.ts +2 -0
  139. package/dist/api/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +6 -0
  140. package/dist/api/resources/integrationsapi/types/ListIntegrationsParams.d.ts +15 -0
  141. package/dist/api/resources/integrationsapi/types/ListIntegrationsResponse.d.ts +6 -0
  142. package/dist/api/resources/integrationsapi/types/LoadSampleDataSetV2Response.d.ts +6 -0
  143. package/dist/api/resources/{companies/types/CreatePlanTraitResponse.d.ts → integrationsapi/types/RunIntegrationResponse.d.ts} +2 -2
  144. package/dist/api/resources/integrationsapi/types/StartDataImportResponse.d.ts +6 -0
  145. package/dist/api/resources/{companies/types/DeletePlanTraitResponse.d.ts → integrationsapi/types/UninstallIntegrationResponse.d.ts} +1 -1
  146. package/dist/api/resources/integrationsapi/types/index.d.ts +7 -0
  147. package/dist/api/resources/planbundle/client/Client.d.ts +19 -0
  148. package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +14 -0
  149. package/dist/api/resources/planbundle/client/requests/index.d.ts +1 -0
  150. package/dist/api/resources/planbundle/types/CreateCustomPlanBundleResponse.d.ts +6 -0
  151. package/dist/api/resources/planbundle/types/index.d.ts +1 -0
  152. package/dist/api/resources/planmigrations/client/Client.d.ts +56 -0
  153. package/dist/api/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +22 -0
  154. package/dist/api/resources/planmigrations/client/requests/RetryMigrationRequestBody.d.ts +10 -0
  155. package/dist/api/resources/planmigrations/client/requests/index.d.ts +2 -0
  156. package/dist/api/resources/planmigrations/types/CreateMigrationResponse.d.ts +6 -0
  157. package/dist/api/resources/planmigrations/types/RetryCompanyMigrationResponse.d.ts +6 -0
  158. package/dist/api/resources/planmigrations/types/RetryMigrationResponse.d.ts +6 -0
  159. package/dist/api/resources/planmigrations/types/index.d.ts +3 -0
  160. package/dist/api/resources/plans/client/Client.d.ts +162 -3
  161. package/dist/api/resources/plans/client/requests/CountBillingProductMatchCompaniesRequest.d.ts +19 -0
  162. package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +13 -0
  163. package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +20 -0
  164. package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +16 -0
  165. package/dist/api/resources/plans/client/requests/DeletePlanVersionRequest.d.ts +9 -0
  166. package/dist/api/resources/plans/client/requests/ListBillingProductMatchCompaniesRequest.d.ts +19 -0
  167. package/dist/api/resources/plans/client/requests/ListCustomPlanBillingsRequest.d.ts +26 -0
  168. package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +13 -0
  169. package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +9 -1
  170. package/dist/api/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +17 -0
  171. package/dist/api/resources/plans/client/requests/index.d.ts +7 -0
  172. package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +13 -0
  173. package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +6 -0
  174. package/dist/api/resources/plans/types/CountPlansParams.d.ts +8 -0
  175. package/dist/api/resources/plans/types/CreateCustomPlanResponse.d.ts +6 -0
  176. package/dist/api/resources/plans/types/DeletePlanVersionParams.d.ts +6 -0
  177. package/dist/api/resources/plans/types/DeletePlanVersionResponse.d.ts +1 -1
  178. package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +13 -0
  179. package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +6 -0
  180. package/dist/api/resources/plans/types/ListCustomPlanBillingsParams.d.ts +18 -0
  181. package/dist/api/resources/plans/types/ListCustomPlanBillingsResponse.d.ts +6 -0
  182. package/dist/api/resources/plans/types/ListPlansParams.d.ts +8 -0
  183. package/dist/api/resources/plans/types/MarkCustomPlanBillingPaidResponse.d.ts +6 -0
  184. package/dist/api/resources/plans/types/RetryCustomPlanBillingResponse.d.ts +6 -0
  185. package/dist/api/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +6 -0
  186. package/dist/api/resources/plans/types/index.d.ts +11 -0
  187. package/dist/api/resources/webhooks/client/Client.d.ts +2 -0
  188. package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +1 -0
  189. package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +1 -0
  190. package/dist/api/types/AccountMemberPermission.d.ts +18 -0
  191. package/dist/api/types/AccountMemberResponseData.d.ts +11 -0
  192. package/dist/api/types/AccountMemberRole.d.ts +5 -0
  193. package/dist/api/types/ActivityEntryResponseData.d.ts +8 -0
  194. package/dist/api/types/ActivityResponseResponseData.d.ts +4 -0
  195. package/dist/api/types/ApiKeyCreateResponseData.d.ts +2 -0
  196. package/dist/api/types/ApiKeyIntegrationResponseData.d.ts +6 -0
  197. package/dist/api/types/ApiKeyResponseData.d.ts +2 -0
  198. package/dist/api/types/AuditLogListResponseData.d.ts +2 -0
  199. package/dist/api/types/AuditLogResponseData.d.ts +2 -0
  200. package/dist/api/types/BillingCreditBundleResponseData.d.ts +2 -0
  201. package/dist/api/types/BillingCreditBundleView.d.ts +1 -0
  202. package/dist/api/types/BillingCreditGrantReason.d.ts +1 -0
  203. package/dist/api/types/BillingCreditGrantResponseData.d.ts +1 -0
  204. package/dist/api/types/BillingCreditResponseData.d.ts +1 -0
  205. package/dist/api/types/BillingCreditView.d.ts +1 -0
  206. package/dist/api/types/BillingLinkedResourceResponseData.d.ts +6 -0
  207. package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +2 -0
  208. package/dist/api/types/BillingPriceResponseData.d.ts +2 -0
  209. package/dist/api/types/BillingPriceView.d.ts +2 -0
  210. package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
  211. package/dist/api/types/BillingProductPlanResponseData.d.ts +2 -1
  212. package/dist/api/types/BillingProductPriceResponseData.d.ts +2 -0
  213. package/dist/api/types/BillingProviderType.d.ts +1 -0
  214. package/dist/api/types/BillingStrategy.d.ts +6 -0
  215. package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
  216. package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -0
  217. package/dist/api/types/ChargeType.d.ts +1 -0
  218. package/dist/api/types/CheckFlagResponseData.d.ts +2 -2
  219. package/dist/api/types/CheckoutSubscription.d.ts +2 -0
  220. package/dist/api/types/ClerkIntegrationConfig.d.ts +6 -0
  221. package/dist/api/types/CompanyCreditBalanceResponseData.d.ts +7 -0
  222. package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
  223. package/dist/api/types/CompanyEventPeriodMetricsResponseData.d.ts +3 -2
  224. package/dist/api/types/CompanyMatchingCriteria.d.ts +5 -0
  225. package/dist/api/types/CompanyOverrideResponseData.d.ts +2 -2
  226. package/dist/api/types/CompanyPlanCreditGrantView.d.ts +40 -0
  227. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +13 -4
  228. package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +1 -1
  229. package/dist/api/types/CompanySubscriptionResponseData.d.ts +1 -0
  230. package/dist/api/types/{ConditionOperator.d.ts → ComparableOperator.d.ts} +5 -5
  231. package/dist/api/types/Condition.d.ts +4 -4
  232. package/dist/api/types/ConditionResponseData.d.ts +4 -4
  233. package/dist/api/types/{ConditionConditionType.d.ts → ConditionType.d.ts} +2 -2
  234. package/dist/api/types/ConditionView.d.ts +4 -4
  235. package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -0
  236. package/dist/api/types/CreateCustomPlanBundlePlanRequestBody.d.ts +7 -0
  237. package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +9 -2
  238. package/dist/api/types/CreateEntitlementReqCommon.d.ts +2 -2
  239. package/dist/api/types/CreateEventRequestBody.d.ts +6 -0
  240. package/dist/api/types/CreateFlagRequestBody.d.ts +1 -1
  241. package/dist/api/types/CreateOrUpdateConditionRequestBody.d.ts +4 -4
  242. package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
  243. package/dist/api/types/CreateOrUpdateRuleRequestBody.d.ts +1 -1
  244. package/dist/api/types/CreatePlanRequestBody.d.ts +1 -1
  245. package/dist/api/types/CreditBundleCurrencyPrice.d.ts +5 -0
  246. package/dist/api/types/CreditBundleCurrencyPriceRequestBody.d.ts +5 -0
  247. package/dist/api/types/CreditBundleCurrencyPriceResponseData.d.ts +5 -0
  248. package/dist/api/types/CreditCompanyGrantView.d.ts +1 -0
  249. package/dist/api/types/CreditCurrencyPrice.d.ts +5 -0
  250. package/dist/api/types/CreditCurrencyPriceRequestBody.d.ts +5 -0
  251. package/dist/api/types/CreditCurrencyPriceResponseData.d.ts +5 -0
  252. package/dist/api/types/CreditLeaseResponseData.d.ts +10 -0
  253. package/dist/api/types/CurrencyPriceRequestBody.d.ts +13 -0
  254. package/dist/api/types/CustomPlanActivationStrategy.d.ts +5 -0
  255. package/dist/api/types/CustomPlanBillingResponseData.d.ts +15 -0
  256. package/dist/api/types/CustomPlanBillingStatus.d.ts +7 -0
  257. package/dist/api/types/DataEventPayload.d.ts +3 -0
  258. package/dist/api/types/DatastreamCompanyPlan.d.ts +2 -0
  259. package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +1 -0
  260. package/dist/api/types/EntitlementCurrencyPricesResponseData.d.ts +7 -0
  261. package/dist/api/types/EnvironmentFeatureUsageTimeSeriesResponseData.d.ts +6 -0
  262. package/dist/api/types/EnvironmentTraitUsageTimeSeriesResponseData.d.ts +6 -0
  263. package/dist/api/types/EnvironmentUsagePointResponseData.d.ts +4 -0
  264. package/dist/api/types/EventBodyTrack.d.ts +2 -0
  265. package/dist/api/types/EventDetailResponseData.d.ts +2 -0
  266. package/dist/api/types/EventResponseData.d.ts +1 -0
  267. package/dist/api/types/FeatureCompanyResponseData.d.ts +4 -3
  268. package/dist/api/types/FeatureCompanyUserResponseData.d.ts +2 -2
  269. package/dist/api/types/FeatureDetailResponseData.d.ts +3 -1
  270. package/dist/api/types/FeatureEntitlement.d.ts +2 -2
  271. package/dist/api/types/FeatureInPlanResponseData.d.ts +21 -0
  272. package/dist/api/types/FeatureResponseData.d.ts +1 -1
  273. package/dist/api/types/FeatureUsageResponseData.d.ts +4 -3
  274. package/dist/api/types/FeatureView.d.ts +2 -1
  275. package/dist/api/types/FlagDetailResponseData.d.ts +2 -1
  276. package/dist/api/types/FlagInPlanResponseData.d.ts +16 -0
  277. package/dist/api/types/FlagResponseData.d.ts +1 -1
  278. package/dist/api/types/FlagView.d.ts +0 -1
  279. package/dist/api/types/InsightsSummaryResponseData.d.ts +9 -0
  280. package/dist/api/types/IntegrationCapabilities.d.ts +5 -0
  281. package/dist/api/types/IntegrationConfig.d.ts +16 -0
  282. package/dist/api/types/IntegrationResponseData.d.ts +8 -0
  283. package/dist/api/types/IntegrationState.d.ts +6 -0
  284. package/dist/api/types/IntegrationType.d.ts +8 -0
  285. package/dist/api/types/IntegrationWebhookUrlResponseData.d.ts +5 -0
  286. package/dist/api/types/IntegrationsDataSetResponseData.d.ts +3 -0
  287. package/dist/api/types/IntegrationsListResponseData.d.ts +10 -0
  288. package/dist/api/types/IntegrationsResponseData.d.ts +8 -0
  289. package/dist/api/types/MarkCustomPlanBillingPaidRequestBody.d.ts +1 -0
  290. package/dist/api/types/{ConditionMetricPeriod.d.ts → MetricPeriod.d.ts} +2 -2
  291. package/dist/api/types/MetricPeriodMonthReset.d.ts +5 -0
  292. package/dist/api/types/MigrationErrorCode.d.ts +14 -0
  293. package/dist/api/types/MrrResponseData.d.ts +4 -0
  294. package/dist/api/types/OrbIntegrationConfig.d.ts +4 -0
  295. package/dist/api/types/PlanCreditGrantView.d.ts +2 -0
  296. package/dist/api/types/PlanCurrencyPriceRequestBody.d.ts +7 -0
  297. package/dist/api/types/PlanCurrencyPricesResponseData.d.ts +8 -0
  298. package/dist/api/types/PlanDetailResponseData.d.ts +12 -3
  299. package/dist/api/types/PlanEntitlementResponseData.d.ts +7 -2
  300. package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +13 -4
  301. package/dist/api/types/PlanGrowthPointResponseData.d.ts +6 -0
  302. package/dist/api/types/PlanGrowthResponseData.d.ts +4 -0
  303. package/dist/api/types/PlanIcon.d.ts +28 -0
  304. package/dist/api/types/PlanPriceCadence.d.ts +6 -0
  305. package/dist/api/types/PlanResponseData.d.ts +3 -1
  306. package/dist/api/types/PlanVersionCompanyMigrationResponseData.d.ts +1 -0
  307. package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
  308. package/dist/api/types/PlanVersionResponseData.d.ts +1 -1
  309. package/dist/api/types/PlanViewPublicResponseData.d.ts +13 -4
  310. package/dist/api/types/ReleaseCreditLeaseRequestBody.d.ts +1 -0
  311. package/dist/api/types/Rule.d.ts +1 -1
  312. package/dist/api/types/RuleConditionDetailResponseData.d.ts +4 -4
  313. package/dist/api/types/RuleConditionResponseData.d.ts +4 -4
  314. package/dist/api/types/RuleDetailResponseData.d.ts +1 -1
  315. package/dist/api/types/RuleResponseData.d.ts +2 -1
  316. package/dist/api/types/{RuleRuleType.d.ts → RuleType.d.ts} +4 -4
  317. package/dist/api/types/RuleView.d.ts +1 -1
  318. package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
  319. package/dist/api/types/RulesengineCheckFlagResult.d.ts +2 -2
  320. package/dist/api/types/RulesengineCompanyMetric.d.ts +2 -2
  321. package/dist/api/types/RulesengineCondition.d.ts +4 -4
  322. package/dist/api/types/{RulesengineConditionConditionType.d.ts → RulesengineConditionType.d.ts} +2 -2
  323. package/dist/api/types/RulesengineFeatureEntitlement.d.ts +2 -2
  324. package/dist/api/types/RulesengineMetricPeriod.d.ts +7 -0
  325. package/dist/api/types/RulesengineMetricPeriodMonthReset.d.ts +5 -0
  326. package/dist/api/types/RulesengineRule.d.ts +1 -1
  327. package/dist/api/types/{RulesengineRuleRuleType.d.ts → RulesengineRuleType.d.ts} +4 -4
  328. package/dist/api/types/StripeIntegrationConfig.d.ts +14 -0
  329. package/dist/api/types/TopFeatureByUsageResponseData.d.ts +8 -0
  330. package/dist/api/types/TopFeaturesByUsageResponseData.d.ts +4 -0
  331. package/dist/api/types/TrialStatus.d.ts +6 -0
  332. package/dist/api/types/UpdateAutoTopupOverrideRequestBody.d.ts +6 -0
  333. package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +2 -0
  334. package/dist/api/types/UpdateEntitlementReqCommon.d.ts +2 -2
  335. package/dist/api/types/UpdatePlanRequestBody.d.ts +2 -1
  336. package/dist/api/types/UpsertBillingProductRequestBody.d.ts +4 -0
  337. package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +7 -0
  338. package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +5 -2
  339. package/dist/api/types/WebhookUrl.d.ts +5 -0
  340. package/dist/api/types/WorkOsIntegrationConfig.d.ts +6 -0
  341. package/dist/api/types/index.d.ts +67 -30
  342. package/dist/core/auth/AuthProvider.d.ts +1 -0
  343. package/dist/core/auth/BasicAuth.d.ts +2 -2
  344. package/dist/core/auth/index.d.ts +1 -1
  345. package/dist/core/fetcher/Fetcher.d.ts +8 -0
  346. package/dist/core/schemas/builders/enum/enum.d.ts +1 -0
  347. package/dist/core/schemas/builders/enum/index.d.ts +1 -1
  348. package/dist/core/url/QueryStringBuilder.d.ts +47 -0
  349. package/dist/core/url/index.d.ts +1 -0
  350. package/dist/core/url/qs.d.ts +2 -1
  351. package/dist/datastream/merge.d.ts +11 -7
  352. package/dist/datastream/types.d.ts +1 -0
  353. package/dist/datastream/websocket-client.d.ts +1 -1
  354. package/dist/errors/SchematicError.d.ts +3 -1
  355. package/dist/errors/SchematicTimeoutError.d.ts +4 -1
  356. package/dist/event-capture.d.ts +28 -0
  357. package/dist/events.d.ts +3 -3
  358. package/dist/index.d.ts +2 -1
  359. package/dist/index.js +3 -3
  360. package/dist/logger.d.ts +20 -0
  361. package/dist/rules-engine.d.ts +3 -3
  362. package/dist/serialization/resources/accounts/types/GetAccountMemberResponse.d.ts +11 -0
  363. package/dist/serialization/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
  364. package/dist/serialization/resources/accounts/types/ListAccountMembersResponse.d.ts +12 -0
  365. package/dist/serialization/resources/accounts/types/index.d.ts +3 -0
  366. package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -0
  367. package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +2 -0
  368. package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
  369. package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +1 -0
  370. package/dist/serialization/resources/billing/types/DeletePaymentMethodByExternalIdResponse.d.ts +11 -0
  371. package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +1 -0
  372. package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +1 -0
  373. package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +1 -0
  374. package/dist/serialization/resources/billing/types/index.d.ts +1 -0
  375. package/dist/serialization/resources/companies/client/requests/index.d.ts +0 -2
  376. package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +2 -0
  377. package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +2 -0
  378. package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +4 -2
  379. package/dist/serialization/resources/companies/types/index.d.ts +0 -3
  380. package/dist/serialization/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +12 -0
  381. package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +2 -0
  382. package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -0
  383. package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -0
  384. package/dist/serialization/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +10 -0
  385. package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +2 -0
  386. package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -0
  387. package/dist/serialization/resources/credits/client/requests/index.d.ts +2 -0
  388. package/dist/serialization/resources/credits/types/AcquireCreditLeaseResponse.d.ts +11 -0
  389. package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
  390. package/dist/serialization/resources/credits/types/ExtendCreditLeaseResponse.d.ts +11 -0
  391. package/dist/serialization/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +11 -0
  392. package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
  393. package/dist/serialization/resources/credits/types/ListCompanyCreditBalancesParams.d.ts +9 -0
  394. package/dist/serialization/resources/credits/types/ListCompanyCreditBalancesResponse.d.ts +12 -0
  395. package/dist/serialization/resources/credits/types/ReleaseCreditLeaseResponse.d.ts +11 -0
  396. package/dist/serialization/resources/credits/types/index.d.ts +6 -0
  397. package/dist/serialization/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +51 -0
  398. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +4 -4
  399. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +11 -4
  400. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +4 -4
  401. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +11 -4
  402. package/dist/serialization/resources/entitlements/client/requests/index.d.ts +1 -0
  403. package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +2 -0
  404. package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +2 -0
  405. package/dist/serialization/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +11 -0
  406. package/dist/serialization/resources/entitlements/types/index.d.ts +1 -8
  407. package/dist/serialization/resources/events/types/ListEventsParams.d.ts +1 -0
  408. package/dist/serialization/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +25 -0
  409. package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
  410. package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
  411. package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
  412. package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -0
  413. package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -0
  414. package/dist/serialization/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts +11 -0
  415. package/dist/serialization/resources/features/types/index.d.ts +1 -0
  416. package/dist/serialization/resources/index.d.ts +6 -0
  417. package/dist/serialization/resources/insights/index.d.ts +1 -0
  418. package/dist/serialization/resources/insights/types/GetActivityParams.d.ts +9 -0
  419. package/dist/serialization/resources/insights/types/GetActivityResponse.d.ts +12 -0
  420. package/dist/serialization/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesParams.d.ts +13 -0
  421. package/dist/serialization/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesResponse.d.ts +12 -0
  422. package/dist/serialization/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesParams.d.ts +13 -0
  423. package/dist/serialization/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesResponse.d.ts +12 -0
  424. package/dist/serialization/resources/insights/types/GetPlanGrowthParams.d.ts +9 -0
  425. package/dist/serialization/resources/insights/types/GetPlanGrowthResponse.d.ts +12 -0
  426. package/dist/serialization/resources/insights/types/GetSummaryResponse.d.ts +11 -0
  427. package/dist/serialization/resources/insights/types/GetTopFeaturesByUsageParams.d.ts +11 -0
  428. package/dist/serialization/resources/insights/types/GetTopFeaturesByUsageResponse.d.ts +12 -0
  429. package/dist/serialization/resources/insights/types/index.d.ts +11 -0
  430. package/dist/serialization/resources/integrationsapi/client/index.d.ts +1 -0
  431. package/dist/serialization/resources/integrationsapi/client/requests/StartDataImportRequestBody.d.ts +12 -0
  432. package/dist/serialization/resources/integrationsapi/client/requests/index.d.ts +1 -0
  433. package/dist/serialization/resources/integrationsapi/index.d.ts +2 -0
  434. package/dist/serialization/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +11 -0
  435. package/dist/serialization/resources/integrationsapi/types/ListIntegrationsParams.d.ts +17 -0
  436. package/dist/serialization/resources/integrationsapi/types/ListIntegrationsResponse.d.ts +12 -0
  437. package/dist/serialization/resources/integrationsapi/types/LoadSampleDataSetV2Response.d.ts +11 -0
  438. package/dist/serialization/resources/integrationsapi/types/RunIntegrationResponse.d.ts +11 -0
  439. package/dist/serialization/resources/integrationsapi/types/StartDataImportResponse.d.ts +11 -0
  440. package/dist/serialization/resources/{companies/types/DeletePlanTraitResponse.d.ts → integrationsapi/types/UninstallIntegrationResponse.d.ts} +2 -2
  441. package/dist/serialization/resources/integrationsapi/types/index.d.ts +7 -0
  442. package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +14 -0
  443. package/dist/serialization/resources/planbundle/client/requests/index.d.ts +1 -0
  444. package/dist/serialization/resources/planbundle/types/CreateCustomPlanBundleResponse.d.ts +11 -0
  445. package/dist/serialization/resources/planbundle/types/index.d.ts +1 -0
  446. package/dist/serialization/resources/planmigrations/client/index.d.ts +1 -0
  447. package/dist/serialization/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +17 -0
  448. package/dist/serialization/resources/planmigrations/client/requests/RetryMigrationRequestBody.d.ts +10 -0
  449. package/dist/serialization/resources/planmigrations/client/requests/index.d.ts +2 -0
  450. package/dist/serialization/resources/planmigrations/index.d.ts +1 -0
  451. package/dist/serialization/resources/planmigrations/types/CreateMigrationResponse.d.ts +11 -0
  452. package/dist/serialization/resources/planmigrations/types/RetryCompanyMigrationResponse.d.ts +11 -0
  453. package/dist/serialization/resources/planmigrations/types/RetryMigrationResponse.d.ts +11 -0
  454. package/dist/serialization/resources/planmigrations/types/index.d.ts +3 -0
  455. package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +18 -0
  456. package/dist/serialization/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +14 -0
  457. package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +6 -0
  458. package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +14 -0
  459. package/dist/serialization/resources/plans/client/requests/index.d.ts +3 -0
  460. package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +12 -0
  461. package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +12 -0
  462. package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +4 -0
  463. package/dist/serialization/resources/plans/types/CreateCustomPlanResponse.d.ts +11 -0
  464. package/dist/serialization/resources/plans/types/DeletePlanVersionParams.d.ts +9 -0
  465. package/dist/serialization/resources/plans/types/DeletePlanVersionResponse.d.ts +2 -1
  466. package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +12 -0
  467. package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +12 -0
  468. package/dist/serialization/resources/plans/types/ListCustomPlanBillingsParams.d.ts +15 -0
  469. package/dist/serialization/resources/plans/types/ListCustomPlanBillingsResponse.d.ts +12 -0
  470. package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +4 -0
  471. package/dist/serialization/resources/plans/types/MarkCustomPlanBillingPaidResponse.d.ts +11 -0
  472. package/dist/serialization/resources/plans/types/RetryCustomPlanBillingResponse.d.ts +11 -0
  473. package/dist/serialization/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +11 -0
  474. package/dist/serialization/resources/plans/types/index.d.ts +11 -0
  475. package/dist/serialization/types/AccountMemberPermission.d.ts +7 -0
  476. package/dist/serialization/types/AccountMemberResponseData.d.ts +18 -0
  477. package/dist/serialization/types/AccountMemberRole.d.ts +7 -0
  478. package/dist/serialization/types/ActivityEntryResponseData.d.ts +14 -0
  479. package/dist/serialization/types/ActivityResponseResponseData.d.ts +10 -0
  480. package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +4 -0
  481. package/dist/serialization/types/ApiKeyIntegrationResponseData.d.ts +13 -0
  482. package/dist/serialization/types/ApiKeyResponseData.d.ts +4 -0
  483. package/dist/serialization/types/AuditLogListResponseData.d.ts +4 -0
  484. package/dist/serialization/types/AuditLogResponseData.d.ts +4 -0
  485. package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +3 -0
  486. package/dist/serialization/types/BillingCreditBundleView.d.ts +2 -0
  487. package/dist/serialization/types/BillingCreditGrantReason.d.ts +1 -1
  488. package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +1 -0
  489. package/dist/serialization/types/BillingCreditResponseData.d.ts +2 -0
  490. package/dist/serialization/types/BillingCreditView.d.ts +2 -0
  491. package/dist/serialization/types/BillingLinkedResourceResponseData.d.ts +12 -0
  492. package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +2 -0
  493. package/dist/serialization/types/BillingPriceResponseData.d.ts +2 -0
  494. package/dist/serialization/types/BillingPriceView.d.ts +2 -0
  495. package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
  496. package/dist/serialization/types/BillingProductPlanResponseData.d.ts +4 -2
  497. package/dist/serialization/types/BillingProductPriceResponseData.d.ts +2 -0
  498. package/dist/serialization/types/BillingProviderType.d.ts +1 -1
  499. package/dist/serialization/types/BillingStrategy.d.ts +7 -0
  500. package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
  501. package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +2 -0
  502. package/dist/serialization/types/ChargeType.d.ts +1 -1
  503. package/dist/serialization/types/CheckFlagResponseData.d.ts +4 -2
  504. package/dist/serialization/types/CheckoutSubscription.d.ts +2 -0
  505. package/dist/serialization/types/ClerkIntegrationConfig.d.ts +10 -0
  506. package/dist/serialization/types/CompanyCreditBalanceResponseData.d.ts +13 -0
  507. package/dist/serialization/types/CompanyDetailResponseData.d.ts +2 -0
  508. package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.d.ts +4 -2
  509. package/dist/serialization/types/CompanyMatchingCriteria.d.ts +7 -0
  510. package/dist/serialization/types/CompanyOverrideResponseData.d.ts +4 -2
  511. package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +47 -0
  512. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +19 -6
  513. package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -2
  514. package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +2 -0
  515. package/dist/serialization/types/ComparableOperator.d.ts +7 -0
  516. package/dist/serialization/types/Condition.d.ts +8 -8
  517. package/dist/serialization/types/ConditionResponseData.d.ts +8 -4
  518. package/dist/serialization/types/{ConditionConditionType.d.ts → ConditionType.d.ts} +2 -2
  519. package/dist/serialization/types/ConditionView.d.ts +8 -4
  520. package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -0
  521. package/dist/serialization/types/CreateCustomPlanBundlePlanRequestBody.d.ts +13 -0
  522. package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +11 -4
  523. package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +4 -4
  524. package/dist/serialization/types/CreateEventRequestBody.d.ts +3 -0
  525. package/dist/serialization/types/CreateFlagRequestBody.d.ts +1 -1
  526. package/dist/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +8 -8
  527. package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
  528. package/dist/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +2 -2
  529. package/dist/serialization/types/CreatePlanRequestBody.d.ts +2 -1
  530. package/dist/serialization/types/CreditBundleCurrencyPrice.d.ts +11 -0
  531. package/dist/serialization/types/CreditBundleCurrencyPriceRequestBody.d.ts +11 -0
  532. package/dist/serialization/types/CreditBundleCurrencyPriceResponseData.d.ts +11 -0
  533. package/dist/serialization/types/CreditCompanyGrantView.d.ts +1 -0
  534. package/dist/serialization/types/CreditCurrencyPrice.d.ts +11 -0
  535. package/dist/serialization/types/CreditCurrencyPriceRequestBody.d.ts +11 -0
  536. package/dist/serialization/types/CreditCurrencyPriceResponseData.d.ts +11 -0
  537. package/dist/serialization/types/CreditLeaseResponseData.d.ts +16 -0
  538. package/dist/serialization/types/CurrencyPriceRequestBody.d.ts +19 -0
  539. package/dist/serialization/types/CustomPlanActivationStrategy.d.ts +7 -0
  540. package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +22 -0
  541. package/dist/serialization/types/CustomPlanBillingStatus.d.ts +7 -0
  542. package/dist/serialization/types/DataEventPayload.d.ts +3 -0
  543. package/dist/serialization/types/DatastreamCompanyPlan.d.ts +2 -0
  544. package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +2 -0
  545. package/dist/serialization/types/EntitlementCurrencyPricesResponseData.d.ts +13 -0
  546. package/dist/serialization/types/EnvironmentFeatureUsageTimeSeriesResponseData.d.ts +12 -0
  547. package/dist/serialization/types/EnvironmentTraitUsageTimeSeriesResponseData.d.ts +12 -0
  548. package/dist/serialization/types/EnvironmentUsagePointResponseData.d.ts +10 -0
  549. package/dist/serialization/types/EventBodyTrack.d.ts +1 -0
  550. package/dist/serialization/types/EventDetailResponseData.d.ts +3 -0
  551. package/dist/serialization/types/EventResponseData.d.ts +1 -0
  552. package/dist/serialization/types/FeatureCompanyResponseData.d.ts +7 -4
  553. package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +4 -2
  554. package/dist/serialization/types/FeatureDetailResponseData.d.ts +5 -1
  555. package/dist/serialization/types/FeatureEntitlement.d.ts +4 -4
  556. package/dist/serialization/types/FeatureInPlanResponseData.d.ts +33 -0
  557. package/dist/serialization/types/FeatureResponseData.d.ts +1 -1
  558. package/dist/serialization/types/FeatureUsageResponseData.d.ts +7 -4
  559. package/dist/serialization/types/FeatureView.d.ts +3 -1
  560. package/dist/serialization/types/FlagDetailResponseData.d.ts +3 -1
  561. package/dist/serialization/types/FlagInPlanResponseData.d.ts +24 -0
  562. package/dist/serialization/types/FlagResponseData.d.ts +1 -1
  563. package/dist/serialization/types/FlagView.d.ts +0 -1
  564. package/dist/serialization/types/InsightsSummaryResponseData.d.ts +15 -0
  565. package/dist/serialization/types/IntegrationCapabilities.d.ts +11 -0
  566. package/dist/serialization/types/IntegrationConfig.d.ts +23 -0
  567. package/dist/serialization/types/IntegrationResponseData.d.ts +15 -0
  568. package/dist/serialization/types/IntegrationState.d.ts +7 -0
  569. package/dist/serialization/types/IntegrationType.d.ts +7 -0
  570. package/dist/serialization/types/IntegrationWebhookUrlResponseData.d.ts +11 -0
  571. package/dist/serialization/types/IntegrationsDataSetResponseData.d.ts +9 -0
  572. package/dist/serialization/types/IntegrationsListResponseData.d.ts +19 -0
  573. package/dist/serialization/types/IntegrationsResponseData.d.ts +15 -0
  574. package/dist/serialization/types/MarkCustomPlanBillingPaidRequestBody.d.ts +7 -0
  575. package/dist/serialization/types/{ConditionMetricPeriod.d.ts → MetricPeriod.d.ts} +2 -2
  576. package/dist/serialization/types/MetricPeriodMonthReset.d.ts +7 -0
  577. package/dist/serialization/types/MigrationErrorCode.d.ts +7 -0
  578. package/dist/serialization/types/MrrResponseData.d.ts +10 -0
  579. package/dist/serialization/types/OrbIntegrationConfig.d.ts +9 -0
  580. package/dist/serialization/types/PlanCreditGrantView.d.ts +2 -0
  581. package/dist/serialization/types/PlanCurrencyPriceRequestBody.d.ts +13 -0
  582. package/dist/serialization/types/PlanCurrencyPricesResponseData.d.ts +14 -0
  583. package/dist/serialization/types/PlanDetailResponseData.d.ts +18 -5
  584. package/dist/serialization/types/PlanEntitlementResponseData.d.ts +10 -2
  585. package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +19 -6
  586. package/dist/serialization/types/PlanGrowthPointResponseData.d.ts +12 -0
  587. package/dist/serialization/types/PlanGrowthResponseData.d.ts +10 -0
  588. package/dist/serialization/types/PlanIcon.d.ts +7 -0
  589. package/dist/serialization/types/PlanPriceCadence.d.ts +7 -0
  590. package/dist/serialization/types/PlanResponseData.d.ts +4 -1
  591. package/dist/serialization/types/PlanVersionCompanyMigrationResponseData.d.ts +2 -0
  592. package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +1 -0
  593. package/dist/serialization/types/PlanVersionResponseData.d.ts +2 -1
  594. package/dist/serialization/types/PlanViewPublicResponseData.d.ts +19 -6
  595. package/dist/serialization/types/ReleaseCreditLeaseRequestBody.d.ts +7 -0
  596. package/dist/serialization/types/Rule.d.ts +2 -2
  597. package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +8 -4
  598. package/dist/serialization/types/RuleConditionResponseData.d.ts +8 -4
  599. package/dist/serialization/types/RuleDetailResponseData.d.ts +2 -1
  600. package/dist/serialization/types/RuleResponseData.d.ts +2 -1
  601. package/dist/serialization/types/RuleType.d.ts +7 -0
  602. package/dist/serialization/types/RuleView.d.ts +2 -1
  603. package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
  604. package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +4 -4
  605. package/dist/serialization/types/RulesengineCompanyMetric.d.ts +4 -4
  606. package/dist/serialization/types/RulesengineCondition.d.ts +8 -8
  607. package/dist/serialization/types/{RulesengineConditionConditionType.d.ts → RulesengineConditionType.d.ts} +2 -2
  608. package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +4 -4
  609. package/dist/serialization/types/RulesengineMetricPeriod.d.ts +7 -0
  610. package/dist/serialization/types/RulesengineMetricPeriodMonthReset.d.ts +7 -0
  611. package/dist/serialization/types/RulesengineRule.d.ts +2 -2
  612. package/dist/serialization/types/RulesengineRuleType.d.ts +7 -0
  613. package/dist/serialization/types/StripeIntegrationConfig.d.ts +14 -0
  614. package/dist/serialization/types/TopFeatureByUsageResponseData.d.ts +14 -0
  615. package/dist/serialization/types/TopFeaturesByUsageResponseData.d.ts +10 -0
  616. package/dist/serialization/types/TrialStatus.d.ts +7 -0
  617. package/dist/serialization/types/UpdateAutoTopupOverrideRequestBody.d.ts +12 -0
  618. package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +2 -0
  619. package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +4 -4
  620. package/dist/serialization/types/UpdatePlanRequestBody.d.ts +2 -1
  621. package/dist/serialization/types/UpsertBillingProductRequestBody.d.ts +6 -0
  622. package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +7 -0
  623. package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +6 -2
  624. package/dist/serialization/types/WebhookUrl.d.ts +11 -0
  625. package/dist/serialization/types/WorkOsIntegrationConfig.d.ts +10 -0
  626. package/dist/serialization/types/index.d.ts +67 -30
  627. package/dist/version.d.ts +2 -0
  628. package/dist/wasm/rulesengine.d.ts +1 -0
  629. package/dist/wasm/rulesengine.js +41 -9
  630. package/dist/wasm/rulesengine_bg.wasm +0 -0
  631. package/dist/wasm/rulesengine_bg.wasm.d.ts +1 -0
  632. package/dist/wrapper.d.ts +40 -5
  633. package/package.json +9 -9
  634. package/dist/api/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -13
  635. package/dist/api/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -11
  636. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
  637. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -5
  638. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
  639. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -5
  640. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
  641. package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -5
  642. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
  643. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -5
  644. package/dist/api/types/ConditionMetricPeriodMonthReset.d.ts +0 -5
  645. package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +0 -7
  646. package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +0 -5
  647. package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +0 -7
  648. package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -5
  649. package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +0 -10
  650. package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +0 -8
  651. package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +0 -6
  652. package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +0 -11
  653. package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +0 -8
  654. package/dist/api/types/FeatureEntitlementMetricPeriod.d.ts +0 -8
  655. package/dist/api/types/FeatureEntitlementMonthReset.d.ts +0 -6
  656. package/dist/api/types/PlanControlledByType.d.ts +0 -5
  657. package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +0 -7
  658. package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +0 -10
  659. package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +0 -5
  660. package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +0 -7
  661. package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +0 -7
  662. package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +0 -5
  663. package/dist/api/types/RulesengineConditionOperator.d.ts +0 -11
  664. package/dist/api/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +0 -8
  665. package/dist/api/types/RulesengineFeatureEntitlementMonthReset.d.ts +0 -6
  666. package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +0 -7
  667. package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -5
  668. package/dist/serialization/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -11
  669. package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -10
  670. package/dist/serialization/resources/companies/types/CreatePlanTraitResponse.d.ts +0 -11
  671. package/dist/serialization/resources/companies/types/UpdatePlanTraitResponse.d.ts +0 -11
  672. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
  673. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -7
  674. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
  675. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -7
  676. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
  677. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -7
  678. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
  679. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -7
  680. package/dist/serialization/types/ConditionMetricPeriodMonthReset.d.ts +0 -7
  681. package/dist/serialization/types/ConditionOperator.d.ts +0 -7
  682. package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +0 -7
  683. package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +0 -7
  684. package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +0 -7
  685. package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -7
  686. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +0 -7
  687. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +0 -7
  688. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +0 -7
  689. package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +0 -7
  690. package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +0 -7
  691. package/dist/serialization/types/FeatureEntitlementMetricPeriod.d.ts +0 -7
  692. package/dist/serialization/types/FeatureEntitlementMonthReset.d.ts +0 -7
  693. package/dist/serialization/types/PlanControlledByType.d.ts +0 -7
  694. package/dist/serialization/types/RuleRuleType.d.ts +0 -7
  695. package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +0 -7
  696. package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +0 -7
  697. package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +0 -7
  698. package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +0 -7
  699. package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +0 -7
  700. package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +0 -7
  701. package/dist/serialization/types/RulesengineConditionOperator.d.ts +0 -7
  702. package/dist/serialization/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +0 -7
  703. package/dist/serialization/types/RulesengineFeatureEntitlementMonthReset.d.ts +0 -7
  704. package/dist/serialization/types/RulesengineRuleRuleType.d.ts +0 -7
  705. package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +0 -7
  706. package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -7
@@ -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 { PlanIcon } from "./PlanIcon";
5
+ export declare const CreateCustomPlanBundlePlanRequestBody: core.serialization.ObjectSchema<serializers.CreateCustomPlanBundlePlanRequestBody.Raw, Schematic.CreateCustomPlanBundlePlanRequestBody>;
6
+ export declare namespace CreateCustomPlanBundlePlanRequestBody {
7
+ interface Raw {
8
+ company_id: string;
9
+ description: string;
10
+ icon?: PlanIcon.Raw | null;
11
+ name: string;
12
+ }
13
+ }
@@ -2,11 +2,12 @@ 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 { BillingTiersMode } from "./BillingTiersMode";
5
- import { CreateEntitlementInBundleRequestBodyMetricPeriod } from "./CreateEntitlementInBundleRequestBodyMetricPeriod";
6
- import { CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset } from "./CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset";
7
5
  import { CreatePriceTierRequestBody } from "./CreatePriceTierRequestBody";
6
+ import { CurrencyPriceRequestBody } from "./CurrencyPriceRequestBody";
8
7
  import { EntitlementPriceBehavior } from "./EntitlementPriceBehavior";
9
8
  import { EntitlementValueType } from "./EntitlementValueType";
9
+ import { MetricPeriod } from "./MetricPeriod";
10
+ import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
10
11
  export declare const CreateEntitlementInBundleRequestBody: core.serialization.ObjectSchema<serializers.CreateEntitlementInBundleRequestBody.Raw, Schematic.CreateEntitlementInBundleRequestBody>;
11
12
  export declare namespace CreateEntitlementInBundleRequestBody {
12
13
  interface Raw {
@@ -14,9 +15,10 @@ export declare namespace CreateEntitlementInBundleRequestBody {
14
15
  billing_threshold?: number | null;
15
16
  credit_consumption_rate?: number | null;
16
17
  currency?: string | null;
18
+ currency_prices?: CurrencyPriceRequestBody.Raw[] | null;
17
19
  feature_id: string;
18
- metric_period?: CreateEntitlementInBundleRequestBodyMetricPeriod.Raw | null;
19
- metric_period_month_reset?: CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.Raw | null;
20
+ metric_period?: MetricPeriod.Raw | null;
21
+ metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
20
22
  monthly_metered_price_id?: string | null;
21
23
  monthly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
22
24
  monthly_unit_price?: number | null;
@@ -26,8 +28,13 @@ export declare namespace CreateEntitlementInBundleRequestBody {
26
28
  plan_version_id?: string | null;
27
29
  price_behavior?: EntitlementPriceBehavior.Raw | null;
28
30
  price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
31
+ quarterly_metered_price_id?: string | null;
32
+ quarterly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
33
+ quarterly_unit_price?: number | null;
34
+ quarterly_unit_price_decimal?: string | null;
29
35
  soft_limit?: number | null;
30
36
  tier_mode?: BillingTiersMode.Raw | null;
37
+ usage_quantity?: number | null;
31
38
  value_bool?: boolean | null;
32
39
  value_credit_id?: string | null;
33
40
  value_numeric?: number | null;
@@ -1,16 +1,16 @@
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 { CreateEntitlementReqCommonMetricPeriod } from "./CreateEntitlementReqCommonMetricPeriod";
5
- import { CreateEntitlementReqCommonMetricPeriodMonthReset } from "./CreateEntitlementReqCommonMetricPeriodMonthReset";
6
4
  import { EntitlementValueType } from "./EntitlementValueType";
5
+ import { MetricPeriod } from "./MetricPeriod";
6
+ import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
7
7
  export declare const CreateEntitlementReqCommon: core.serialization.ObjectSchema<serializers.CreateEntitlementReqCommon.Raw, Schematic.CreateEntitlementReqCommon>;
8
8
  export declare namespace CreateEntitlementReqCommon {
9
9
  interface Raw {
10
10
  credit_consumption_rate?: number | null;
11
11
  feature_id: string;
12
- metric_period?: CreateEntitlementReqCommonMetricPeriod.Raw | null;
13
- metric_period_month_reset?: CreateEntitlementReqCommonMetricPeriodMonthReset.Raw | null;
12
+ metric_period?: MetricPeriod.Raw | null;
13
+ metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
14
14
  value_bool?: boolean | null;
15
15
  value_credit_id?: string | null;
16
16
  value_numeric?: number | null;
@@ -6,8 +6,11 @@ import { EventType } from "./EventType";
6
6
  export declare const CreateEventRequestBody: core.serialization.ObjectSchema<serializers.CreateEventRequestBody.Raw, Schematic.CreateEventRequestBody>;
7
7
  export declare namespace CreateEventRequestBody {
8
8
  interface Raw {
9
+ backfill?: boolean | null;
9
10
  body?: EventBody.Raw | null;
10
11
  event_type: EventType.Raw;
12
+ idempotency_key?: string | null;
11
13
  sent_at?: string | null;
14
+ trusted_client_clock?: boolean | null;
12
15
  }
13
16
  }
@@ -10,7 +10,7 @@ export declare namespace CreateFlagRequestBody {
10
10
  feature_id?: string | null;
11
11
  flag_type: FlagType.Raw;
12
12
  key: string;
13
- maintainer_id?: string | null;
13
+ maintainer_account_member_id?: string | null;
14
14
  name: string;
15
15
  }
16
16
  }
@@ -1,23 +1,23 @@
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 { CreateOrUpdateConditionRequestBodyConditionType } from "./CreateOrUpdateConditionRequestBodyConditionType";
5
- import { CreateOrUpdateConditionRequestBodyMetricPeriod } from "./CreateOrUpdateConditionRequestBodyMetricPeriod";
6
- import { CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset } from "./CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset";
7
- import { CreateOrUpdateConditionRequestBodyOperator } from "./CreateOrUpdateConditionRequestBodyOperator";
4
+ import { ComparableOperator } from "./ComparableOperator";
5
+ import { ConditionType } from "./ConditionType";
6
+ import { MetricPeriod } from "./MetricPeriod";
7
+ import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
8
8
  export declare const CreateOrUpdateConditionRequestBody: core.serialization.ObjectSchema<serializers.CreateOrUpdateConditionRequestBody.Raw, Schematic.CreateOrUpdateConditionRequestBody>;
9
9
  export declare namespace CreateOrUpdateConditionRequestBody {
10
10
  interface Raw {
11
11
  comparison_trait_id?: string | null;
12
- condition_type: CreateOrUpdateConditionRequestBodyConditionType.Raw;
12
+ condition_type: ConditionType.Raw;
13
13
  credit_cost?: number | null;
14
14
  credit_id?: string | null;
15
15
  event_subtype?: string | null;
16
16
  id?: string | null;
17
- metric_period?: CreateOrUpdateConditionRequestBodyMetricPeriod.Raw | null;
18
- metric_period_month_reset?: CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.Raw | null;
17
+ metric_period?: MetricPeriod.Raw | null;
18
+ metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
19
19
  metric_value?: number | null;
20
- operator: CreateOrUpdateConditionRequestBodyOperator.Raw;
20
+ operator: ComparableOperator.Raw;
21
21
  resource_ids: string[];
22
22
  trait_id?: string | null;
23
23
  trait_value?: string | null;
@@ -11,7 +11,7 @@ export declare namespace CreateOrUpdateFlagRequestBody {
11
11
  flag_type: FlagType.Raw;
12
12
  id?: string | null;
13
13
  key: string;
14
- maintainer_id?: string | null;
14
+ maintainer_account_member_id?: string | null;
15
15
  name: string;
16
16
  }
17
17
  }
@@ -3,7 +3,7 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { CreateOrUpdateConditionGroupRequestBody } from "./CreateOrUpdateConditionGroupRequestBody";
5
5
  import { CreateOrUpdateConditionRequestBody } from "./CreateOrUpdateConditionRequestBody";
6
- import { CreateOrUpdateRuleRequestBodyRuleType } from "./CreateOrUpdateRuleRequestBodyRuleType";
6
+ import { RuleType } from "./RuleType";
7
7
  export declare const CreateOrUpdateRuleRequestBody: core.serialization.ObjectSchema<serializers.CreateOrUpdateRuleRequestBody.Raw, Schematic.CreateOrUpdateRuleRequestBody>;
8
8
  export declare namespace CreateOrUpdateRuleRequestBody {
9
9
  interface Raw {
@@ -12,7 +12,7 @@ export declare namespace CreateOrUpdateRuleRequestBody {
12
12
  id?: string | null;
13
13
  name: string;
14
14
  priority: number;
15
- rule_type?: CreateOrUpdateRuleRequestBodyRuleType.Raw | null;
15
+ rule_type?: RuleType.Raw | null;
16
16
  value: boolean;
17
17
  }
18
18
  }
@@ -1,12 +1,13 @@
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 { PlanIcon } from "./PlanIcon";
4
5
  import { PlanType } from "./PlanType";
5
6
  export declare const CreatePlanRequestBody: core.serialization.ObjectSchema<serializers.CreatePlanRequestBody.Raw, Schematic.CreatePlanRequestBody>;
6
7
  export declare namespace CreatePlanRequestBody {
7
8
  interface Raw {
8
9
  description: string;
9
- icon?: string | null;
10
+ icon?: PlanIcon.Raw | null;
10
11
  name: string;
11
12
  plan_type: PlanType.Raw;
12
13
  }
@@ -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 { BillingPriceView } from "./BillingPriceView";
5
+ export declare const CreditBundleCurrencyPrice: core.serialization.ObjectSchema<serializers.CreditBundleCurrencyPrice.Raw, Schematic.CreditBundleCurrencyPrice>;
6
+ export declare namespace CreditBundleCurrencyPrice {
7
+ interface Raw {
8
+ currency: string;
9
+ price?: BillingPriceView.Raw | null;
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
+ export declare const CreditBundleCurrencyPriceRequestBody: core.serialization.ObjectSchema<serializers.CreditBundleCurrencyPriceRequestBody.Raw, Schematic.CreditBundleCurrencyPriceRequestBody>;
5
+ export declare namespace CreditBundleCurrencyPriceRequestBody {
6
+ interface Raw {
7
+ currency: string;
8
+ price_per_unit?: number | null;
9
+ price_per_unit_decimal?: string | null;
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 { BillingPriceResponseData } from "./BillingPriceResponseData";
5
+ export declare const CreditBundleCurrencyPriceResponseData: core.serialization.ObjectSchema<serializers.CreditBundleCurrencyPriceResponseData.Raw, Schematic.CreditBundleCurrencyPriceResponseData>;
6
+ export declare namespace CreditBundleCurrencyPriceResponseData {
7
+ interface Raw {
8
+ currency: string;
9
+ price?: BillingPriceResponseData.Raw | null;
10
+ }
11
+ }
@@ -19,6 +19,7 @@ export declare namespace CreditCompanyGrantView {
19
19
  credit_description: string;
20
20
  credit_icon?: string | null;
21
21
  credit_name: string;
22
+ currency?: string | null;
22
23
  exhausted_at?: string | null;
23
24
  expires_at?: string | null;
24
25
  expiry_type?: BillingCreditExpiryType.Raw | null;
@@ -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 { BillingPriceView } from "./BillingPriceView";
5
+ export declare const CreditCurrencyPrice: core.serialization.ObjectSchema<serializers.CreditCurrencyPrice.Raw, Schematic.CreditCurrencyPrice>;
6
+ export declare namespace CreditCurrencyPrice {
7
+ interface Raw {
8
+ currency: string;
9
+ price?: BillingPriceView.Raw | null;
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
+ export declare const CreditCurrencyPriceRequestBody: core.serialization.ObjectSchema<serializers.CreditCurrencyPriceRequestBody.Raw, Schematic.CreditCurrencyPriceRequestBody>;
5
+ export declare namespace CreditCurrencyPriceRequestBody {
6
+ interface Raw {
7
+ currency: string;
8
+ price_per_unit?: number | null;
9
+ price_per_unit_decimal?: string | null;
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 { BillingPriceResponseData } from "./BillingPriceResponseData";
5
+ export declare const CreditCurrencyPriceResponseData: core.serialization.ObjectSchema<serializers.CreditCurrencyPriceResponseData.Raw, Schematic.CreditCurrencyPriceResponseData>;
6
+ export declare namespace CreditCurrencyPriceResponseData {
7
+ interface Raw {
8
+ currency: string;
9
+ price?: BillingPriceResponseData.Raw | null;
10
+ }
11
+ }
@@ -0,0 +1,16 @@
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 CreditLeaseResponseData: core.serialization.ObjectSchema<serializers.CreditLeaseResponseData.Raw, Schematic.CreditLeaseResponseData>;
5
+ export declare namespace CreditLeaseResponseData {
6
+ interface Raw {
7
+ company_id: string;
8
+ created_at: string;
9
+ credit_type_id: string;
10
+ expires_at: string;
11
+ granted_amount: number;
12
+ id: string;
13
+ released_at?: string | null;
14
+ updated_at: string;
15
+ }
16
+ }
@@ -0,0 +1,19 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { CreatePriceTierRequestBody } from "./CreatePriceTierRequestBody";
5
+ export declare const CurrencyPriceRequestBody: core.serialization.ObjectSchema<serializers.CurrencyPriceRequestBody.Raw, Schematic.CurrencyPriceRequestBody>;
6
+ export declare namespace CurrencyPriceRequestBody {
7
+ interface Raw {
8
+ currency: string;
9
+ monthly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
10
+ monthly_unit_price?: number | null;
11
+ monthly_unit_price_decimal?: string | null;
12
+ quarterly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
13
+ quarterly_unit_price?: number | null;
14
+ quarterly_unit_price_decimal?: string | null;
15
+ yearly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
16
+ yearly_unit_price?: number | null;
17
+ yearly_unit_price_decimal?: string | null;
18
+ }
19
+ }
@@ -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 CustomPlanActivationStrategy: core.serialization.Schema<serializers.CustomPlanActivationStrategy.Raw, Schematic.CustomPlanActivationStrategy>;
5
+ export declare namespace CustomPlanActivationStrategy {
6
+ type Raw = "on_payment" | "on_publish";
7
+ }
@@ -0,0 +1,22 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { CustomPlanActivationStrategy } from "./CustomPlanActivationStrategy";
5
+ import { CustomPlanBillingStatus } from "./CustomPlanBillingStatus";
6
+ export declare const CustomPlanBillingResponseData: core.serialization.ObjectSchema<serializers.CustomPlanBillingResponseData.Raw, Schematic.CustomPlanBillingResponseData>;
7
+ export declare namespace CustomPlanBillingResponseData {
8
+ interface Raw {
9
+ activation_strategy: CustomPlanActivationStrategy.Raw;
10
+ company_id: string;
11
+ created_at: string;
12
+ days_until_due: number;
13
+ external_invoice_id?: string | null;
14
+ id: string;
15
+ paid_at?: string | null;
16
+ plan_id: string;
17
+ published_at?: string | null;
18
+ status: CustomPlanBillingStatus.Raw;
19
+ stripe_invoice_url?: string | null;
20
+ updated_at: string;
21
+ }
22
+ }
@@ -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 CustomPlanBillingStatus: core.serialization.Schema<serializers.CustomPlanBillingStatus.Raw, Schematic.CustomPlanBillingStatus>;
5
+ export declare namespace CustomPlanBillingStatus {
6
+ type Raw = "active" | "expired" | "paid" | "pending";
7
+ }
@@ -6,8 +6,11 @@ export declare const DataEventPayload: core.serialization.ObjectSchema<serialize
6
6
  export declare namespace DataEventPayload {
7
7
  interface Raw {
8
8
  api_key: string;
9
+ backfill?: boolean | null;
9
10
  body?: Record<string, unknown> | null;
11
+ idempotency_key?: string | null;
10
12
  sent_at?: string | null;
13
+ trusted_client_clock?: boolean | null;
11
14
  type: EventType.Raw;
12
15
  }
13
16
  }
@@ -1,11 +1,13 @@
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 { TrialStatus } from "./TrialStatus";
4
5
  export declare const DatastreamCompanyPlan: core.serialization.ObjectSchema<serializers.DatastreamCompanyPlan.Raw, Schematic.DatastreamCompanyPlan>;
5
6
  export declare namespace DatastreamCompanyPlan {
6
7
  interface Raw {
7
8
  id: string;
8
9
  name: string;
9
10
  trial_end_date?: string | null;
11
+ trial_status?: TrialStatus.Raw | null;
10
12
  }
11
13
  }
@@ -2,11 +2,13 @@ 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 { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
5
+ import { PlanIssueResponseData } from "./PlanIssueResponseData";
5
6
  import { SkippedEntitlementResponseData } from "./SkippedEntitlementResponseData";
6
7
  export declare const DuplicatePlanEntitlementsResponseResponseData: core.serialization.ObjectSchema<serializers.DuplicatePlanEntitlementsResponseResponseData.Raw, Schematic.DuplicatePlanEntitlementsResponseResponseData>;
7
8
  export declare namespace DuplicatePlanEntitlementsResponseResponseData {
8
9
  interface Raw {
9
10
  data: PlanEntitlementResponseData.Raw[];
11
+ issues: PlanIssueResponseData.Raw[];
10
12
  skipped: SkippedEntitlementResponseData.Raw[];
11
13
  }
12
14
  }
@@ -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 { BillingPriceView } from "./BillingPriceView";
5
+ export declare const EntitlementCurrencyPricesResponseData: core.serialization.ObjectSchema<serializers.EntitlementCurrencyPricesResponseData.Raw, Schematic.EntitlementCurrencyPricesResponseData>;
6
+ export declare namespace EntitlementCurrencyPricesResponseData {
7
+ interface Raw {
8
+ currency: string;
9
+ monthly_price?: BillingPriceView.Raw | null;
10
+ quarterly_price?: BillingPriceView.Raw | null;
11
+ yearly_price?: BillingPriceView.Raw | null;
12
+ }
13
+ }
@@ -0,0 +1,12 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { EnvironmentUsagePointResponseData } from "./EnvironmentUsagePointResponseData";
5
+ export declare const EnvironmentFeatureUsageTimeSeriesResponseData: core.serialization.ObjectSchema<serializers.EnvironmentFeatureUsageTimeSeriesResponseData.Raw, Schematic.EnvironmentFeatureUsageTimeSeriesResponseData>;
6
+ export declare namespace EnvironmentFeatureUsageTimeSeriesResponseData {
7
+ interface Raw {
8
+ event_subtype: string;
9
+ feature_id: string;
10
+ points: EnvironmentUsagePointResponseData.Raw[];
11
+ }
12
+ }
@@ -0,0 +1,12 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { EnvironmentUsagePointResponseData } from "./EnvironmentUsagePointResponseData";
5
+ export declare const EnvironmentTraitUsageTimeSeriesResponseData: core.serialization.ObjectSchema<serializers.EnvironmentTraitUsageTimeSeriesResponseData.Raw, Schematic.EnvironmentTraitUsageTimeSeriesResponseData>;
6
+ export declare namespace EnvironmentTraitUsageTimeSeriesResponseData {
7
+ interface Raw {
8
+ feature_id: string;
9
+ points: EnvironmentUsagePointResponseData.Raw[];
10
+ trait_definition_id: string;
11
+ }
12
+ }
@@ -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 EnvironmentUsagePointResponseData: core.serialization.ObjectSchema<serializers.EnvironmentUsagePointResponseData.Raw, Schematic.EnvironmentUsagePointResponseData>;
5
+ export declare namespace EnvironmentUsagePointResponseData {
6
+ interface Raw {
7
+ timestamp: string;
8
+ usage: number;
9
+ }
10
+ }
@@ -6,6 +6,7 @@ export declare namespace EventBodyTrack {
6
6
  interface Raw {
7
7
  company?: Record<string, string> | null;
8
8
  event: string;
9
+ lease_id?: string | null;
9
10
  quantity?: number | null;
10
11
  traits?: Record<string, unknown> | null;
11
12
  user?: Record<string, string> | null;
@@ -1,6 +1,7 @@
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 { ApiKeyResponseData } from "./ApiKeyResponseData";
4
5
  import { EventStatus } from "./EventStatus";
5
6
  import { EventType } from "./EventType";
6
7
  import { PreviewObject } from "./PreviewObject";
@@ -8,6 +9,7 @@ export declare const EventDetailResponseData: core.serialization.ObjectSchema<se
8
9
  export declare namespace EventDetailResponseData {
9
10
  interface Raw {
10
11
  api_key?: string | null;
12
+ api_key_view?: ApiKeyResponseData.Raw | null;
11
13
  body: Record<string, unknown>;
12
14
  body_preview: string;
13
15
  captured_at: string;
@@ -19,6 +21,7 @@ export declare namespace EventDetailResponseData {
19
21
  feature_ids: string[];
20
22
  features: PreviewObject.Raw[];
21
23
  id: string;
24
+ idempotency_key?: string | null;
22
25
  loaded_at?: string | null;
23
26
  processed_at?: string | null;
24
27
  quantity: number;
@@ -16,6 +16,7 @@ export declare namespace EventResponseData {
16
16
  error_message?: string | null;
17
17
  feature_ids: string[];
18
18
  id: string;
19
+ idempotency_key?: string | null;
19
20
  loaded_at?: string | null;
20
21
  processed_at?: string | null;
21
22
  quantity: number;
@@ -11,7 +11,9 @@ import { CreditUsageAggregation } from "./CreditUsageAggregation";
11
11
  import { EntitlementPriceBehavior } from "./EntitlementPriceBehavior";
12
12
  import { EntitlementType } from "./EntitlementType";
13
13
  import { EntitlementValueType } from "./EntitlementValueType";
14
- import { FeatureDetailResponseData } from "./FeatureDetailResponseData";
14
+ import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
15
+ import { MetricPeriod } from "./MetricPeriod";
16
+ import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
15
17
  import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
16
18
  import { PlanResponseData } from "./PlanResponseData";
17
19
  export declare const FeatureCompanyResponseData: core.serialization.ObjectSchema<serializers.FeatureCompanyResponseData.Raw, Schematic.FeatureCompanyResponseData>;
@@ -38,18 +40,19 @@ export declare namespace FeatureCompanyResponseData {
38
40
  entitlement_id: string;
39
41
  entitlement_source?: string | null;
40
42
  entitlement_type: EntitlementType.Raw;
41
- feature?: FeatureDetailResponseData.Raw | null;
43
+ feature?: FeatureInPlanResponseData.Raw | null;
42
44
  has_valid_allocation?: boolean | null;
43
45
  is_unlimited?: boolean | null;
44
46
  metric_reset_at?: string | null;
45
- month_reset?: string | null;
47
+ month_reset?: MetricPeriodMonthReset.Raw | null;
46
48
  monthly_usage_based_price?: BillingPriceView.Raw | null;
47
49
  overuse?: number | null;
48
50
  percent_used?: number | null;
49
- period?: string | null;
51
+ period?: MetricPeriod.Raw | null;
50
52
  plan?: PlanResponseData.Raw | null;
51
53
  plan_entitlement?: PlanEntitlementResponseData.Raw | null;
52
54
  price_behavior?: EntitlementPriceBehavior.Raw | null;
55
+ quarterly_usage_based_price?: BillingPriceView.Raw | null;
53
56
  soft_limit?: number | null;
54
57
  usage?: number | null;
55
58
  yearly_usage_based_price?: BillingPriceView.Raw | null;
@@ -5,6 +5,8 @@ import { CompanyDetailResponseData } from "./CompanyDetailResponseData";
5
5
  import { EntitlementType } from "./EntitlementType";
6
6
  import { EntitlementValueType } from "./EntitlementValueType";
7
7
  import { FeatureDetailResponseData } from "./FeatureDetailResponseData";
8
+ import { MetricPeriod } from "./MetricPeriod";
9
+ import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
8
10
  import { PlanResponseData } from "./PlanResponseData";
9
11
  import { UserResponseData } from "./UserResponseData";
10
12
  export declare const FeatureCompanyUserResponseData: core.serialization.ObjectSchema<serializers.FeatureCompanyUserResponseData.Raw, Schematic.FeatureCompanyUserResponseData>;
@@ -18,8 +20,8 @@ export declare namespace FeatureCompanyUserResponseData {
18
20
  entitlement_type: EntitlementType.Raw;
19
21
  feature?: FeatureDetailResponseData.Raw | null;
20
22
  metric_reset_at?: string | null;
21
- month_reset?: string | null;
22
- period?: string | null;
23
+ month_reset?: MetricPeriodMonthReset.Raw | null;
24
+ period?: MetricPeriod.Raw | null;
23
25
  plan?: PlanResponseData.Raw | null;
24
26
  usage?: number | null;
25
27
  user?: UserResponseData.Raw | null;
@@ -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 { AccountMemberResponseData } from "./AccountMemberResponseData";
5
+ import { BillingLinkedResourceResponseData } from "./BillingLinkedResourceResponseData";
4
6
  import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
5
7
  import { EventSummaryResponseData } from "./EventSummaryResponseData";
6
8
  import { FeatureLifecyclePhase } from "./FeatureLifecyclePhase";
@@ -10,6 +12,7 @@ import { PreviewObject } from "./PreviewObject";
10
12
  export declare const FeatureDetailResponseData: core.serialization.ObjectSchema<serializers.FeatureDetailResponseData.Raw, Schematic.FeatureDetailResponseData>;
11
13
  export declare namespace FeatureDetailResponseData {
12
14
  interface Raw {
15
+ billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
13
16
  created_at: string;
14
17
  description: string;
15
18
  event_subtype?: string | null;
@@ -19,7 +22,8 @@ export declare namespace FeatureDetailResponseData {
19
22
  icon: string;
20
23
  id: string;
21
24
  lifecycle_phase?: FeatureLifecyclePhase.Raw | null;
22
- maintainer_id?: string | null;
25
+ maintainer?: AccountMemberResponseData.Raw | null;
26
+ maintainer_account_member_id?: string | null;
23
27
  name: string;
24
28
  plans: PreviewObject.Raw[];
25
29
  plural_name?: string | null;
@@ -2,8 +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 { EntitlementValueType } from "./EntitlementValueType";
5
- import { FeatureEntitlementMetricPeriod } from "./FeatureEntitlementMetricPeriod";
6
- import { FeatureEntitlementMonthReset } from "./FeatureEntitlementMonthReset";
5
+ import { MetricPeriod } from "./MetricPeriod";
6
+ import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
7
7
  export declare const FeatureEntitlement: core.serialization.ObjectSchema<serializers.FeatureEntitlement.Raw, Schematic.FeatureEntitlement>;
8
8
  export declare namespace FeatureEntitlement {
9
9
  interface Raw {
@@ -15,9 +15,9 @@ export declare namespace FeatureEntitlement {
15
15
  event_name?: string | null;
16
16
  feature_id: string;
17
17
  feature_key: string;
18
- metric_period?: FeatureEntitlementMetricPeriod.Raw | null;
18
+ metric_period?: MetricPeriod.Raw | null;
19
19
  metric_reset_at?: string | null;
20
- month_reset?: FeatureEntitlementMonthReset.Raw | null;
20
+ month_reset?: MetricPeriodMonthReset.Raw | null;
21
21
  soft_limit?: number | null;
22
22
  usage?: number | null;
23
23
  value_type: EntitlementValueType.Raw;
@@ -0,0 +1,33 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { BillingLinkedResourceResponseData } from "./BillingLinkedResourceResponseData";
5
+ import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
6
+ import { EventSummaryResponseData } from "./EventSummaryResponseData";
7
+ import { FeatureLifecyclePhase } from "./FeatureLifecyclePhase";
8
+ import { FeatureType } from "./FeatureType";
9
+ import { FlagInPlanResponseData } from "./FlagInPlanResponseData";
10
+ import { PreviewObject } from "./PreviewObject";
11
+ export declare const FeatureInPlanResponseData: core.serialization.ObjectSchema<serializers.FeatureInPlanResponseData.Raw, Schematic.FeatureInPlanResponseData>;
12
+ export declare namespace FeatureInPlanResponseData {
13
+ interface Raw {
14
+ billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
15
+ created_at: string;
16
+ description: string;
17
+ event_subtype?: string | null;
18
+ event_summary?: EventSummaryResponseData.Raw | null;
19
+ feature_type: FeatureType.Raw;
20
+ flags: FlagInPlanResponseData.Raw[];
21
+ icon: string;
22
+ id: string;
23
+ lifecycle_phase?: FeatureLifecyclePhase.Raw | null;
24
+ maintainer_account_member_id?: string | null;
25
+ name: string;
26
+ plans: PreviewObject.Raw[];
27
+ plural_name?: string | null;
28
+ singular_name?: string | null;
29
+ trait?: EntityTraitDefinitionResponseData.Raw | null;
30
+ trait_id?: string | null;
31
+ updated_at: string;
32
+ }
33
+ }