@schematichq/schematic-typescript-node 1.2.5 → 1.2.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 (699) hide show
  1. package/LICENSE +21 -0
  2. package/dist/api/resources/accesstokens/client/Client.d.ts +2 -1
  3. package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -2
  4. package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +1 -1
  5. package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +1 -1
  6. package/dist/api/resources/accounts/types/index.d.ts +0 -2
  7. package/dist/api/resources/billing/client/Client.d.ts +21 -18
  8. package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +1 -1
  9. package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +3 -3
  10. package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +2 -1
  11. package/dist/api/resources/billing/client/requests/{SearchBillingPricesRequest.d.ts → ListBillingPricesRequest.d.ts} +15 -9
  12. package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +55 -0
  13. package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +1 -1
  14. package/dist/api/resources/billing/client/requests/index.d.ts +2 -2
  15. package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +1 -1
  16. package/dist/api/resources/billing/types/{SearchBillingPricesParams.d.ts → ListBillingPricesParams.d.ts} +8 -5
  17. package/dist/api/resources/billing/types/{SearchBillingPricesResponse.d.ts → ListBillingPricesResponse.d.ts} +2 -2
  18. package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +29 -0
  19. package/dist/api/resources/billing/types/ListBillingProductPricesResponse.d.ts +9 -0
  20. package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +1 -1
  21. package/dist/api/resources/billing/types/index.d.ts +4 -18
  22. package/dist/api/resources/checkout/client/Client.d.ts +17 -0
  23. package/dist/api/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +16 -0
  24. package/dist/api/resources/checkout/client/requests/index.d.ts +1 -0
  25. package/dist/api/resources/{billing/types/ListProductPricesResponse.d.ts → checkout/types/CancelSubscriptionResponse.d.ts} +3 -3
  26. package/dist/api/resources/checkout/types/index.d.ts +1 -0
  27. package/dist/api/resources/companies/client/Client.d.ts +7 -2
  28. package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +3 -3
  29. package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +1 -1
  30. package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +3 -2
  31. package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +2 -2
  32. package/dist/api/resources/companies/client/requests/DeleteCompanyRequest.d.ts +14 -0
  33. package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +3 -3
  34. package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +1 -1
  35. package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +3 -2
  36. package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +1 -1
  37. package/dist/api/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +2 -0
  38. package/dist/api/resources/companies/client/requests/index.d.ts +1 -0
  39. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +3 -4
  40. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +1 -1
  41. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +3 -2
  42. package/dist/api/resources/companies/types/DeleteCompanyParams.d.ts +10 -0
  43. package/dist/api/resources/companies/types/DeleteCompanyResponse.d.ts +1 -1
  44. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +3 -4
  45. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +1 -1
  46. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +3 -2
  47. package/dist/api/resources/companies/types/index.d.ts +1 -19
  48. package/dist/api/resources/components/client/Client.d.ts +1 -1
  49. package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -2
  50. package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +2 -2
  51. package/dist/api/resources/components/types/index.d.ts +0 -3
  52. package/dist/api/resources/credits/client/Client.d.ts +26 -4
  53. package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +2 -2
  54. package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +1 -1
  55. package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +3 -3
  56. package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +14 -6
  57. package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +6 -4
  58. package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +4 -4
  59. package/dist/api/resources/credits/client/requests/DeleteBillingPlanCreditGrantRequest.d.ts +12 -0
  60. package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +1 -1
  61. package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +2 -2
  62. package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +2 -2
  63. package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +3 -3
  64. package/dist/api/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +28 -0
  65. package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +3 -3
  66. package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +1 -1
  67. package/dist/api/resources/credits/client/requests/index.d.ts +2 -0
  68. package/dist/api/resources/credits/types/CountCreditBundlesParams.d.ts +2 -2
  69. package/dist/api/resources/credits/types/CountCreditLedgerParams.d.ts +1 -1
  70. package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +9 -0
  71. package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +1 -1
  72. package/dist/api/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +1 -1
  73. package/dist/api/resources/credits/types/ListCompanyGrantsParams.d.ts +2 -2
  74. package/dist/api/resources/credits/types/ListCreditBundlesParams.d.ts +2 -2
  75. package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +9 -0
  76. package/dist/api/resources/credits/types/index.d.ts +2 -30
  77. package/dist/api/resources/dataexports/client/Client.d.ts +3 -1
  78. package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +3 -1
  79. package/dist/api/resources/entitlements/client/Client.d.ts +18 -0
  80. package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -1
  81. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +3 -3
  82. package/dist/api/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +14 -0
  83. package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -1
  84. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -3
  85. package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
  86. package/dist/api/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +9 -0
  87. package/dist/api/resources/entitlements/types/index.d.ts +1 -6
  88. package/dist/api/resources/events/client/Client.d.ts +2 -2
  89. package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +1 -1
  90. package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +1 -1
  91. package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -1
  92. package/dist/api/resources/events/types/index.d.ts +0 -2
  93. package/dist/api/resources/features/client/Client.d.ts +17 -0
  94. package/dist/api/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +13 -0
  95. package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +2 -1
  96. package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -2
  97. package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +2 -1
  98. package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -2
  99. package/dist/api/resources/features/client/requests/index.d.ts +1 -0
  100. package/dist/api/resources/features/types/CheckFlagsBulkResponse.d.ts +9 -0
  101. package/dist/api/resources/features/types/CountFeaturesParams.d.ts +2 -1
  102. package/dist/api/resources/features/types/ListFeaturesParams.d.ts +2 -1
  103. package/dist/api/resources/features/types/index.d.ts +1 -4
  104. package/dist/api/resources/plangroups/client/Client.d.ts +8 -2
  105. package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +10 -2
  106. package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +10 -2
  107. package/dist/api/resources/plans/client/Client.d.ts +1 -5
  108. package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +1 -11
  109. package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +1 -1
  110. package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +1 -11
  111. package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -2
  112. package/dist/api/resources/plans/types/CountPlansParams.d.ts +1 -6
  113. package/dist/api/resources/plans/types/ListPlansParams.d.ts +1 -6
  114. package/dist/api/resources/plans/types/index.d.ts +0 -6
  115. package/dist/api/resources/webhooks/client/Client.d.ts +1 -1
  116. package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -2
  117. package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -2
  118. package/dist/api/resources/webhooks/types/index.d.ts +0 -3
  119. package/dist/api/types/ApiKeyCreateResponseData.d.ts +2 -1
  120. package/dist/api/types/ApiKeyResponseData.d.ts +2 -1
  121. package/dist/api/types/ApiKeyScope.d.ts +10 -0
  122. package/dist/api/types/BillingCreditBundleResponseData.d.ts +4 -4
  123. package/dist/api/{resources/credits/types/ListCreditBundlesRequestStatus.d.ts → types/BillingCreditBundleStatus.d.ts} +2 -2
  124. package/dist/api/types/BillingCreditBundleType.d.ts +4 -0
  125. package/dist/api/types/BillingCreditBundleView.d.ts +4 -4
  126. package/dist/api/{resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts → types/BillingCreditBurnStrategy.d.ts} +4 -4
  127. package/dist/api/{resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts → types/BillingCreditExpiryType.d.ts} +4 -4
  128. package/dist/api/{resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts → types/BillingCreditExpiryUnit.d.ts} +3 -3
  129. package/dist/api/types/BillingCreditGrantReason.d.ts +10 -0
  130. package/dist/api/types/BillingCreditGrantResponseData.d.ts +2 -2
  131. package/dist/api/{resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts → types/BillingCreditGrantZeroedOutReason.d.ts} +4 -4
  132. package/dist/api/types/BillingCreditResponseData.d.ts +3 -3
  133. package/dist/api/types/BillingCreditRolloverPolicy.d.ts +9 -0
  134. package/dist/api/{resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts → types/BillingPlanCreditGrantResetCadence.d.ts} +4 -4
  135. package/dist/api/types/BillingPlanCreditGrantResetStart.d.ts +8 -0
  136. package/dist/api/types/BillingPlanCreditGrantResetType.d.ts +8 -0
  137. package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +13 -5
  138. package/dist/api/types/BillingPriceResponseData.d.ts +3 -2
  139. package/dist/api/types/BillingPriceScheme.d.ts +8 -0
  140. package/dist/api/types/{BillingProductPricingUsageType.d.ts → BillingPriceUsageType.d.ts} +2 -2
  141. package/dist/api/types/BillingPriceView.d.ts +4 -4
  142. package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +2 -2
  143. package/dist/api/types/BillingProductPlanResponseData.d.ts +3 -2
  144. package/dist/api/types/BillingProductPriceInterval.d.ts +10 -0
  145. package/dist/api/types/BillingProductPriceResponseData.d.ts +5 -4
  146. package/dist/api/types/BillingProductPricing.d.ts +1 -1
  147. package/dist/api/types/BillingSubscriptionResponseData.d.ts +3 -1
  148. package/dist/api/types/BillingSubscriptionTrialEndSetting.d.ts +8 -0
  149. package/dist/api/types/BillingSubscriptionView.d.ts +2 -1
  150. package/dist/api/{resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts → types/BillingTiersMode.d.ts} +3 -3
  151. package/dist/api/{resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts → types/ChargeType.d.ts} +3 -3
  152. package/dist/api/types/CheckFlagsBulkResponseData.d.ts +7 -0
  153. package/dist/api/types/CheckoutSubscription.d.ts +3 -1
  154. package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -1
  155. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +4 -3
  156. package/dist/api/types/CompanyPlanInvalidReason.d.ts +8 -0
  157. package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +2 -0
  158. package/dist/api/types/ComponentDisplaySettings.d.ts +9 -0
  159. package/dist/api/{resources/components/types/UpdateComponentRequestBodyEntityType.d.ts → types/ComponentEntityType.d.ts} +3 -3
  160. package/dist/api/types/ComponentHydrateResponseData.d.ts +5 -0
  161. package/dist/api/types/ComponentPreviewResponseData.d.ts +5 -0
  162. package/dist/api/types/ComponentResponseData.d.ts +3 -2
  163. package/dist/api/types/ComponentSettingsResponseData.d.ts +9 -0
  164. package/dist/api/{resources/components/types/UpdateComponentRequestBodyState.d.ts → types/ComponentState.d.ts} +2 -2
  165. package/dist/api/types/Condition.d.ts +4 -4
  166. package/dist/api/types/ConditionConditionType.d.ts +15 -0
  167. package/dist/api/types/ConditionMetricPeriod.d.ts +10 -0
  168. package/dist/api/types/ConditionMetricPeriodMonthReset.d.ts +8 -0
  169. package/dist/api/types/ConditionOperator.d.ts +14 -0
  170. package/dist/api/types/CreateEntitlementReqCommon.d.ts +1 -1
  171. package/dist/api/types/CreateEventRequestBody.d.ts +1 -2
  172. package/dist/api/types/CreateFlagRequestBody.d.ts +2 -1
  173. package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +2 -1
  174. package/dist/api/types/CreditAutoTopupAmountType.d.ts +4 -0
  175. package/dist/api/types/CreditCompanyGrantView.d.ts +4 -4
  176. package/dist/api/types/CreditGrantDetail.d.ts +1 -1
  177. package/dist/api/types/CreditGrantExpiryRequestBody.d.ts +12 -0
  178. package/dist/api/{resources/credits/types/ListCompanyGrantsRequestOrder.d.ts → types/CreditGrantSortOrder.d.ts} +2 -2
  179. package/dist/api/types/CreditLedgerEnrichedEntryResponseData.d.ts +1 -0
  180. package/dist/api/{resources/credits/types/CountCreditLedgerRequestPeriod.d.ts → types/CreditLedgerPeriod.d.ts} +3 -3
  181. package/dist/api/types/DataExportOutputFileType.d.ts +4 -0
  182. package/dist/api/types/DataExportResponseData.d.ts +4 -3
  183. package/dist/api/types/DataExportStatus.d.ts +9 -0
  184. package/dist/api/types/DataExportType.d.ts +4 -0
  185. package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +8 -0
  186. package/dist/api/{resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts → types/EntitlementPriceBehavior.d.ts} +4 -4
  187. package/dist/api/types/EntitlementType.d.ts +9 -0
  188. package/dist/api/{resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts → types/EntitlementValueType.d.ts} +3 -2
  189. package/dist/api/types/EntityKeyDefinitionResponseData.d.ts +2 -1
  190. package/dist/api/types/EntityKeyDetailResponseData.d.ts +1 -1
  191. package/dist/api/types/EntityKeyResponseData.d.ts +2 -1
  192. package/dist/api/types/EntityTraitDefinitionResponseData.d.ts +3 -2
  193. package/dist/api/types/EntityType.d.ts +8 -0
  194. package/dist/api/types/EnvironmentDetailResponseData.d.ts +1 -1
  195. package/dist/api/types/EnvironmentResponseData.d.ts +2 -1
  196. package/dist/api/{resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts → types/EnvironmentType.d.ts} +3 -3
  197. package/dist/api/types/EventDetailResponseData.d.ts +2 -2
  198. package/dist/api/types/EventResponseData.d.ts +3 -2
  199. package/dist/api/types/EventStatus.d.ts +11 -0
  200. package/dist/api/{resources/events/types/ListEventsRequestEventTypesItem.d.ts → types/EventType.d.ts} +3 -3
  201. package/dist/api/types/FeatureCompanyResponseData.d.ts +4 -6
  202. package/dist/api/types/FeatureCompanyUserResponseData.d.ts +2 -3
  203. package/dist/api/types/FeatureDetailResponseData.d.ts +2 -2
  204. package/dist/api/{resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts → types/FeatureLifecyclePhase.d.ts} +3 -3
  205. package/dist/api/types/FeatureResponseData.d.ts +3 -2
  206. package/dist/api/{resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts → types/FeatureType.d.ts} +2 -2
  207. package/dist/api/types/FeatureUsageDataResponseData.d.ts +1 -1
  208. package/dist/api/types/FeatureUsageResponseData.d.ts +4 -6
  209. package/dist/api/types/FlagDetailResponseData.d.ts +1 -1
  210. package/dist/api/types/FlagResponseData.d.ts +2 -1
  211. package/dist/api/types/FlagType.d.ts +4 -0
  212. package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -1
  213. package/dist/api/types/ManagePlanRequest.d.ts +5 -0
  214. package/dist/api/types/{PlanChangeResponseDataAction.d.ts → PlanChangeAction.d.ts} +4 -2
  215. package/dist/api/types/{PlanChangeResponseDataActorType.d.ts → PlanChangeActorType.d.ts} +3 -3
  216. package/dist/api/types/PlanChangeBasePlanAction.d.ts +10 -0
  217. package/dist/api/types/PlanChangeResponseData.d.ts +4 -6
  218. package/dist/api/types/PlanChangeSubscriptionAction.d.ts +12 -0
  219. package/dist/api/types/PlanControlledByType.d.ts +8 -0
  220. package/dist/api/types/PlanCreditGrantView.d.ts +13 -5
  221. package/dist/api/types/PlanDetailResponseData.d.ts +3 -3
  222. package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -2
  223. package/dist/api/types/PlanGroupDetailResponseData.d.ts +9 -3
  224. package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +3 -3
  225. package/dist/api/types/PlanGroupResponseData.d.ts +7 -1
  226. package/dist/api/types/PlanResponseData.d.ts +2 -1
  227. package/dist/api/{resources/plans/types/CreatePlanRequestBodyPlanType.d.ts → types/PlanType.d.ts} +2 -2
  228. package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
  229. package/dist/api/types/ProrationBehavior.d.ts +8 -0
  230. package/dist/api/types/Rule.d.ts +1 -1
  231. package/dist/api/types/RuleConditionDetailResponseData.d.ts +1 -1
  232. package/dist/api/types/RuleConditionResponseData.d.ts +2 -1
  233. package/dist/api/types/RuleRuleType.d.ts +13 -0
  234. package/dist/api/types/RulesEngineSchemaVersion.d.ts +11 -0
  235. package/dist/api/types/RulesengineCheckFlagResult.d.ts +20 -0
  236. package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +10 -0
  237. package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +13 -0
  238. package/dist/api/types/RulesengineCompany.d.ts +19 -0
  239. package/dist/api/types/RulesengineCompanyMetric.d.ts +15 -0
  240. package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +8 -0
  241. package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +10 -0
  242. package/dist/api/types/RulesengineCondition.d.ts +21 -0
  243. package/dist/api/types/RulesengineConditionConditionType.d.ts +15 -0
  244. package/dist/api/types/RulesengineConditionGroup.d.ts +7 -0
  245. package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +10 -0
  246. package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +8 -0
  247. package/dist/api/types/RulesengineConditionOperator.d.ts +14 -0
  248. package/dist/api/types/RulesengineEntityType.d.ts +8 -0
  249. package/dist/api/types/RulesengineFlag.d.ts +12 -0
  250. package/dist/api/types/RulesengineRule.d.ts +16 -0
  251. package/dist/api/types/RulesengineRuleRuleType.d.ts +13 -0
  252. package/dist/api/types/RulesengineSubscription.d.ts +8 -0
  253. package/dist/api/types/RulesengineTrait.d.ts +8 -0
  254. package/dist/api/types/RulesengineTraitDefinition.d.ts +9 -0
  255. package/dist/api/types/RulesengineTraitDefinitionComparableType.d.ts +10 -0
  256. package/dist/api/types/RulesengineUser.d.ts +12 -0
  257. package/dist/api/types/SkippedEntitlementErrorResponseData.d.ts +6 -0
  258. package/dist/api/types/SkippedEntitlementResponseData.d.ts +10 -0
  259. package/dist/api/{resources/credits/types/ListCompanyGrantsRequestDir.d.ts → types/SortDirection.d.ts} +2 -2
  260. package/dist/api/types/SubscriptionStatus.d.ts +15 -0
  261. package/dist/api/types/SubscriptionTraitUpdate.d.ts +2 -1
  262. package/dist/api/types/SubscriptionType.d.ts +10 -0
  263. package/dist/api/types/TemporaryAccessTokenResourceType.d.ts +4 -0
  264. package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +2 -1
  265. package/dist/api/types/TraitDefinition.d.ts +3 -2
  266. package/dist/api/types/TraitDefinitionComparableType.d.ts +10 -0
  267. package/dist/api/{resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts → types/TraitType.d.ts} +2 -2
  268. package/dist/api/types/UpdateEntitlementReqCommon.d.ts +1 -1
  269. package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +2 -2
  270. package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +2 -2
  271. package/dist/api/types/WebhookEventDetailResponseData.d.ts +2 -2
  272. package/dist/api/types/WebhookEventResponseData.d.ts +3 -2
  273. package/dist/api/types/WebhookEventStatus.d.ts +9 -0
  274. package/dist/api/{resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts → types/WebhookRequestType.d.ts} +30 -28
  275. package/dist/api/types/WebhookResponseData.d.ts +2 -2
  276. package/dist/api/{resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts → types/WebhookStatus.d.ts} +2 -2
  277. package/dist/api/types/index.d.ts +88 -15
  278. package/dist/index.js +3 -3
  279. package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +2 -2
  280. package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +2 -2
  281. package/dist/serialization/resources/accounts/types/index.d.ts +0 -2
  282. package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +6 -6
  283. package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -2
  284. package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +2 -2
  285. package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +27 -0
  286. package/dist/serialization/resources/billing/types/{SearchBillingPricesResponse.d.ts → ListBillingPricesResponse.d.ts} +4 -4
  287. package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +27 -0
  288. package/dist/serialization/resources/billing/types/ListBillingProductPricesResponse.d.ts +15 -0
  289. package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +2 -2
  290. package/dist/serialization/resources/billing/types/index.d.ts +4 -18
  291. package/dist/serialization/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +14 -0
  292. package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -0
  293. package/dist/serialization/resources/checkout/types/CancelSubscriptionResponse.d.ts +14 -0
  294. package/dist/serialization/resources/checkout/types/index.d.ts +1 -0
  295. package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +4 -4
  296. package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +2 -2
  297. package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +1 -0
  298. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +6 -4
  299. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +2 -2
  300. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +5 -4
  301. package/dist/serialization/resources/companies/types/DeleteCompanyParams.d.ts +13 -0
  302. package/dist/serialization/resources/companies/types/DeleteCompanyResponse.d.ts +2 -1
  303. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +6 -4
  304. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +2 -2
  305. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +5 -4
  306. package/dist/serialization/resources/companies/types/index.d.ts +1 -19
  307. package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -2
  308. package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +4 -4
  309. package/dist/serialization/resources/components/types/index.d.ts +0 -3
  310. package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +6 -5
  311. package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +19 -10
  312. package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +9 -5
  313. package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +8 -7
  314. package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +6 -5
  315. package/dist/serialization/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +32 -0
  316. package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +6 -6
  317. package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +2 -2
  318. package/dist/serialization/resources/credits/client/requests/index.d.ts +1 -0
  319. package/dist/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +4 -3
  320. package/dist/serialization/resources/credits/types/CountCreditLedgerParams.d.ts +2 -2
  321. package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantParams.d.ts +12 -0
  322. package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +2 -1
  323. package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +2 -2
  324. package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +4 -4
  325. package/dist/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +4 -3
  326. package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantResponse.d.ts +14 -0
  327. package/dist/serialization/resources/credits/types/index.d.ts +2 -30
  328. package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -2
  329. package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +6 -5
  330. package/dist/serialization/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +13 -0
  331. package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -2
  332. package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +6 -5
  333. package/dist/serialization/resources/entitlements/client/requests/index.d.ts +1 -0
  334. package/dist/serialization/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +14 -0
  335. package/dist/serialization/resources/entitlements/types/index.d.ts +1 -6
  336. package/dist/serialization/resources/events/types/ListEventsParams.d.ts +2 -2
  337. package/dist/serialization/resources/events/types/index.d.ts +0 -2
  338. package/dist/serialization/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +13 -0
  339. package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +4 -4
  340. package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +4 -4
  341. package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
  342. package/dist/serialization/resources/features/types/CheckFlagsBulkResponse.d.ts +14 -0
  343. package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -1
  344. package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -1
  345. package/dist/serialization/resources/features/types/index.d.ts +1 -4
  346. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +7 -1
  347. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +7 -1
  348. package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +2 -2
  349. package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -2
  350. package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -4
  351. package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -4
  352. package/dist/serialization/resources/plans/types/index.d.ts +0 -6
  353. package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -2
  354. package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +4 -4
  355. package/dist/serialization/resources/webhooks/types/index.d.ts +0 -3
  356. package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +2 -1
  357. package/dist/serialization/types/ApiKeyResponseData.d.ts +2 -1
  358. package/dist/serialization/types/ApiKeyScope.d.ts +10 -0
  359. package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +8 -4
  360. package/dist/serialization/types/BillingCreditBundleStatus.d.ts +10 -0
  361. package/dist/serialization/types/BillingCreditBundleType.d.ts +10 -0
  362. package/dist/serialization/types/BillingCreditBundleView.d.ts +8 -4
  363. package/dist/serialization/types/BillingCreditBurnStrategy.d.ts +10 -0
  364. package/dist/serialization/types/BillingCreditExpiryType.d.ts +10 -0
  365. package/dist/serialization/types/BillingCreditExpiryUnit.d.ts +10 -0
  366. package/dist/serialization/types/BillingCreditGrantReason.d.ts +10 -0
  367. package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +4 -2
  368. package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +10 -0
  369. package/dist/serialization/types/BillingCreditResponseData.d.ts +6 -3
  370. package/dist/serialization/types/BillingCreditRolloverPolicy.d.ts +10 -0
  371. package/dist/serialization/types/BillingPlanCreditGrantResetCadence.d.ts +10 -0
  372. package/dist/serialization/types/BillingPlanCreditGrantResetStart.d.ts +10 -0
  373. package/dist/serialization/types/BillingPlanCreditGrantResetType.d.ts +10 -0
  374. package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +17 -5
  375. package/dist/serialization/types/BillingPriceResponseData.d.ts +4 -2
  376. package/dist/serialization/types/BillingPriceScheme.d.ts +10 -0
  377. package/dist/serialization/types/{BillingProductPricingUsageType.d.ts → BillingPriceUsageType.d.ts} +2 -2
  378. package/dist/serialization/types/BillingPriceView.d.ts +8 -4
  379. package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +4 -2
  380. package/dist/serialization/types/BillingProductPlanResponseData.d.ts +4 -2
  381. package/dist/serialization/types/BillingProductPriceInterval.d.ts +10 -0
  382. package/dist/serialization/types/BillingProductPriceResponseData.d.ts +8 -4
  383. package/dist/serialization/types/BillingProductPricing.d.ts +2 -2
  384. package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +3 -1
  385. package/dist/serialization/types/BillingSubscriptionTrialEndSetting.d.ts +10 -0
  386. package/dist/serialization/types/BillingSubscriptionView.d.ts +3 -1
  387. package/dist/serialization/types/BillingTiersMode.d.ts +10 -0
  388. package/dist/serialization/types/ChargeType.d.ts +10 -0
  389. package/dist/serialization/types/CheckFlagsBulkResponseData.d.ts +13 -0
  390. package/dist/serialization/types/CheckoutSubscription.d.ts +3 -1
  391. package/dist/serialization/types/CompanyOverrideResponseData.d.ts +2 -1
  392. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +8 -3
  393. package/dist/serialization/types/CompanyPlanInvalidReason.d.ts +10 -0
  394. package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -0
  395. package/dist/serialization/types/ComponentDisplaySettings.d.ts +15 -0
  396. package/dist/serialization/types/ComponentEntityType.d.ts +10 -0
  397. package/dist/serialization/types/ComponentHydrateResponseData.d.ts +6 -0
  398. package/dist/serialization/types/ComponentPreviewResponseData.d.ts +6 -0
  399. package/dist/serialization/types/ComponentResponseData.d.ts +4 -2
  400. package/dist/serialization/types/ComponentSettingsResponseData.d.ts +15 -0
  401. package/dist/serialization/types/ComponentState.d.ts +10 -0
  402. package/dist/serialization/types/Condition.d.ts +8 -4
  403. package/dist/serialization/types/ConditionConditionType.d.ts +10 -0
  404. package/dist/serialization/types/ConditionMetricPeriod.d.ts +10 -0
  405. package/dist/serialization/types/ConditionMetricPeriodMonthReset.d.ts +10 -0
  406. package/dist/serialization/types/ConditionOperator.d.ts +10 -0
  407. package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +2 -2
  408. package/dist/serialization/types/CreateEventRequestBody.d.ts +2 -2
  409. package/dist/serialization/types/CreateFlagRequestBody.d.ts +2 -1
  410. package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +2 -1
  411. package/dist/serialization/types/CreditAutoTopupAmountType.d.ts +10 -0
  412. package/dist/serialization/types/CreditCompanyGrantView.d.ts +8 -4
  413. package/dist/serialization/types/CreditGrantDetail.d.ts +2 -2
  414. package/dist/serialization/types/CreditGrantExpiryRequestBody.d.ts +22 -0
  415. package/dist/serialization/types/CreditGrantSortOrder.d.ts +10 -0
  416. package/dist/serialization/types/CreditLedgerEnrichedEntryResponseData.d.ts +1 -0
  417. package/dist/serialization/types/CreditLedgerPeriod.d.ts +10 -0
  418. package/dist/serialization/types/DataExportOutputFileType.d.ts +10 -0
  419. package/dist/serialization/types/DataExportResponseData.d.ts +6 -3
  420. package/dist/serialization/types/DataExportStatus.d.ts +10 -0
  421. package/dist/serialization/types/DataExportType.d.ts +10 -0
  422. package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +15 -0
  423. package/dist/serialization/types/EntitlementPriceBehavior.d.ts +10 -0
  424. package/dist/serialization/types/EntitlementType.d.ts +10 -0
  425. package/dist/serialization/types/EntitlementValueType.d.ts +10 -0
  426. package/dist/serialization/types/EntityKeyDefinitionResponseData.d.ts +2 -1
  427. package/dist/serialization/types/EntityKeyDetailResponseData.d.ts +2 -1
  428. package/dist/serialization/types/EntityKeyResponseData.d.ts +2 -1
  429. package/dist/serialization/types/EntityTraitDefinitionResponseData.d.ts +4 -2
  430. package/dist/serialization/types/EntityType.d.ts +10 -0
  431. package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +2 -1
  432. package/dist/serialization/types/EnvironmentResponseData.d.ts +2 -1
  433. package/dist/serialization/types/EnvironmentType.d.ts +10 -0
  434. package/dist/serialization/types/EventDetailResponseData.d.ts +4 -2
  435. package/dist/serialization/types/EventResponseData.d.ts +4 -2
  436. package/dist/serialization/types/EventStatus.d.ts +10 -0
  437. package/dist/serialization/types/EventType.d.ts +10 -0
  438. package/dist/serialization/types/FeatureCompanyResponseData.d.ts +8 -6
  439. package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +4 -3
  440. package/dist/serialization/types/FeatureDetailResponseData.d.ts +4 -2
  441. package/dist/serialization/types/FeatureLifecyclePhase.d.ts +10 -0
  442. package/dist/serialization/types/FeatureResponseData.d.ts +4 -2
  443. package/dist/serialization/types/FeatureType.d.ts +10 -0
  444. package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +2 -1
  445. package/dist/serialization/types/FeatureUsageResponseData.d.ts +8 -6
  446. package/dist/serialization/types/FlagDetailResponseData.d.ts +2 -1
  447. package/dist/serialization/types/FlagResponseData.d.ts +2 -1
  448. package/dist/serialization/types/FlagType.d.ts +10 -0
  449. package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -1
  450. package/dist/serialization/types/ManagePlanRequest.d.ts +3 -0
  451. package/dist/serialization/types/PlanChangeAction.d.ts +10 -0
  452. package/dist/serialization/types/PlanChangeActorType.d.ts +10 -0
  453. package/dist/serialization/types/{PlanChangeResponseDataBasePlanAction.d.ts → PlanChangeBasePlanAction.d.ts} +2 -2
  454. package/dist/serialization/types/PlanChangeResponseData.d.ts +8 -8
  455. package/dist/serialization/types/{PlanChangeResponseDataSubscriptionChangeAction.d.ts → PlanChangeSubscriptionAction.d.ts} +2 -2
  456. package/dist/serialization/types/PlanControlledByType.d.ts +10 -0
  457. package/dist/serialization/types/PlanCreditGrantView.d.ts +17 -5
  458. package/dist/serialization/types/PlanDetailResponseData.d.ts +6 -3
  459. package/dist/serialization/types/PlanEntitlementResponseData.d.ts +4 -2
  460. package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +11 -4
  461. package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +6 -3
  462. package/dist/serialization/types/PlanGroupResponseData.d.ts +8 -1
  463. package/dist/serialization/types/PlanResponseData.d.ts +2 -1
  464. package/dist/serialization/types/PlanType.d.ts +10 -0
  465. package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
  466. package/dist/serialization/types/ProrationBehavior.d.ts +10 -0
  467. package/dist/serialization/types/Rule.d.ts +2 -1
  468. package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +2 -1
  469. package/dist/serialization/types/RuleConditionResponseData.d.ts +2 -1
  470. package/dist/serialization/types/RuleRuleType.d.ts +10 -0
  471. package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +10 -0
  472. package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +27 -0
  473. package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +10 -0
  474. package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +10 -0
  475. package/dist/serialization/types/RulesengineCompany.d.ts +28 -0
  476. package/dist/serialization/types/RulesengineCompanyMetric.d.ts +22 -0
  477. package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +10 -0
  478. package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +10 -0
  479. package/dist/serialization/types/RulesengineCondition.d.ts +31 -0
  480. package/dist/serialization/types/RulesengineConditionConditionType.d.ts +10 -0
  481. package/dist/serialization/types/RulesengineConditionGroup.d.ts +13 -0
  482. package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +10 -0
  483. package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +10 -0
  484. package/dist/serialization/types/RulesengineConditionOperator.d.ts +10 -0
  485. package/dist/serialization/types/RulesengineEntityType.d.ts +10 -0
  486. package/dist/serialization/types/RulesengineFlag.d.ts +18 -0
  487. package/dist/serialization/types/RulesengineRule.d.ts +24 -0
  488. package/dist/serialization/types/RulesengineRuleRuleType.d.ts +10 -0
  489. package/dist/serialization/types/RulesengineSubscription.d.ts +14 -0
  490. package/dist/serialization/types/RulesengineTrait.d.ts +14 -0
  491. package/dist/serialization/types/RulesengineTraitDefinition.d.ts +16 -0
  492. package/dist/serialization/types/RulesengineTraitDefinitionComparableType.d.ts +10 -0
  493. package/dist/serialization/types/RulesengineUser.d.ts +19 -0
  494. package/dist/serialization/types/SkippedEntitlementErrorResponseData.d.ts +12 -0
  495. package/dist/serialization/types/SkippedEntitlementResponseData.d.ts +16 -0
  496. package/dist/serialization/types/SortDirection.d.ts +10 -0
  497. package/dist/serialization/types/SubscriptionStatus.d.ts +10 -0
  498. package/dist/serialization/types/SubscriptionTraitUpdate.d.ts +2 -1
  499. package/dist/serialization/types/SubscriptionType.d.ts +10 -0
  500. package/dist/serialization/types/TemporaryAccessTokenResourceType.d.ts +10 -0
  501. package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +2 -1
  502. package/dist/serialization/types/TraitDefinition.d.ts +4 -2
  503. package/dist/serialization/types/TraitDefinitionComparableType.d.ts +10 -0
  504. package/dist/serialization/types/TraitType.d.ts +10 -0
  505. package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +2 -2
  506. package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +4 -3
  507. package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +4 -2
  508. package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +4 -2
  509. package/dist/serialization/types/WebhookEventResponseData.d.ts +4 -2
  510. package/dist/serialization/types/WebhookEventStatus.d.ts +10 -0
  511. package/dist/serialization/types/WebhookRequestType.d.ts +10 -0
  512. package/dist/serialization/types/WebhookResponseData.d.ts +4 -2
  513. package/dist/serialization/types/WebhookStatus.d.ts +10 -0
  514. package/dist/serialization/types/index.d.ts +88 -15
  515. package/package.json +2 -1
  516. package/dist/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -9
  517. package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +0 -53
  518. package/dist/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -8
  519. package/dist/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
  520. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -8
  521. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -8
  522. package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -8
  523. package/dist/api/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -8
  524. package/dist/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -8
  525. package/dist/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
  526. package/dist/api/resources/billing/types/ListProductPricesParams.d.ts +0 -27
  527. package/dist/api/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -8
  528. package/dist/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -8
  529. package/dist/api/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -8
  530. package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -8
  531. package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -8
  532. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
  533. package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
  534. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
  535. package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
  536. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
  537. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -12
  538. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
  539. package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
  540. package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -8
  541. package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
  542. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
  543. package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
  544. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
  545. package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
  546. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
  547. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
  548. package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
  549. package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
  550. package/dist/api/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -8
  551. package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -8
  552. package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -8
  553. package/dist/api/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
  554. package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
  555. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -11
  556. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -8
  557. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
  558. package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -8
  559. package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -11
  560. package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -8
  561. package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -8
  562. package/dist/api/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
  563. package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
  564. package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -8
  565. package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
  566. package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -8
  567. package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
  568. package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
  569. package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -11
  570. package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -8
  571. package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -8
  572. package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -11
  573. package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -11
  574. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -11
  575. package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -11
  576. package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -9
  577. package/dist/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -9
  578. package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -15
  579. package/dist/api/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -11
  580. package/dist/api/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -11
  581. package/dist/api/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -11
  582. package/dist/api/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -11
  583. package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -39
  584. package/dist/api/types/CreateEntitlementReqCommonValueType.d.ts +0 -11
  585. package/dist/api/types/CreateEventRequestBodyEventType.d.ts +0 -12
  586. package/dist/api/types/CreditGrantDetailGrantReason.d.ts +0 -9
  587. package/dist/api/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -13
  588. package/dist/api/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -12
  589. package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -14
  590. package/dist/api/types/FeatureUsageResponseDataAllocationType.d.ts +0 -13
  591. package/dist/api/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -12
  592. package/dist/api/types/PlanChangeResponseDataBasePlanAction.d.ts +0 -13
  593. package/dist/api/types/PlanChangeResponseDataSubscriptionChangeAction.d.ts +0 -15
  594. package/dist/api/types/UpdateEntitlementReqCommonValueType.d.ts +0 -11
  595. package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -11
  596. package/dist/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
  597. package/dist/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
  598. package/dist/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -10
  599. package/dist/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
  600. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -10
  601. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -10
  602. package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -10
  603. package/dist/serialization/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -10
  604. package/dist/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -10
  605. package/dist/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
  606. package/dist/serialization/resources/billing/types/ListProductPricesParams.d.ts +0 -23
  607. package/dist/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -10
  608. package/dist/serialization/resources/billing/types/ListProductPricesResponse.d.ts +0 -15
  609. package/dist/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -10
  610. package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +0 -25
  611. package/dist/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +0 -10
  612. package/dist/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -10
  613. package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -10
  614. package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -10
  615. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
  616. package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
  617. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
  618. package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
  619. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
  620. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
  621. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
  622. package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
  623. package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -10
  624. package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
  625. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
  626. package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
  627. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
  628. package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
  629. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
  630. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
  631. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
  632. package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
  633. package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
  634. package/dist/serialization/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -10
  635. package/dist/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +0 -10
  636. package/dist/serialization/resources/components/types/UpdateComponentRequestBodyState.d.ts +0 -10
  637. package/dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -10
  638. package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -10
  639. package/dist/serialization/resources/credits/types/CountCreditLedgerRequestPeriod.d.ts +0 -10
  640. package/dist/serialization/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
  641. package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
  642. package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
  643. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -10
  644. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -10
  645. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
  646. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
  647. package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -10
  648. package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts +0 -10
  649. package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts +0 -10
  650. package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -10
  651. package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -10
  652. package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -10
  653. package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
  654. package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
  655. package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +0 -10
  656. package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +0 -10
  657. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -10
  658. package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
  659. package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +0 -10
  660. package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -10
  661. package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
  662. package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
  663. package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -10
  664. package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -10
  665. package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -10
  666. package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +0 -10
  667. package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -10
  668. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
  669. package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -10
  670. package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +0 -10
  671. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
  672. package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -10
  673. package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.d.ts +0 -10
  674. package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -10
  675. package/dist/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +0 -10
  676. package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
  677. package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -10
  678. package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
  679. package/dist/serialization/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -10
  680. package/dist/serialization/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -10
  681. package/dist/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +0 -10
  682. package/dist/serialization/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -10
  683. package/dist/serialization/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -10
  684. package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +0 -10
  685. package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
  686. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
  687. package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +0 -10
  688. package/dist/serialization/types/CreateEntitlementReqCommonValueType.d.ts +0 -10
  689. package/dist/serialization/types/CreateEventRequestBodyEventType.d.ts +0 -10
  690. package/dist/serialization/types/CreditGrantDetailGrantReason.d.ts +0 -10
  691. package/dist/serialization/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -10
  692. package/dist/serialization/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -10
  693. package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -10
  694. package/dist/serialization/types/FeatureUsageResponseDataAllocationType.d.ts +0 -10
  695. package/dist/serialization/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -10
  696. package/dist/serialization/types/PlanChangeResponseDataAction.d.ts +0 -10
  697. package/dist/serialization/types/PlanChangeResponseDataActorType.d.ts +0 -10
  698. package/dist/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +0 -10
  699. package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -10
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Schematic from "../index";
4
5
  export interface BillingProductPriceResponseData {
5
- billingScheme: string;
6
+ billingScheme: Schematic.BillingPriceScheme;
6
7
  createdAt: Date;
7
8
  currency: string;
8
9
  id: string;
9
- interval: string;
10
+ interval: Schematic.BillingProductPriceInterval;
10
11
  isActive: boolean;
11
12
  meterId?: string;
12
13
  packageSize: number;
@@ -14,7 +15,7 @@ export interface BillingProductPriceResponseData {
14
15
  priceDecimal?: string;
15
16
  priceExternalId: string;
16
17
  productExternalId: string;
17
- tiersMode?: string;
18
+ tiersMode?: Schematic.BillingTiersMode;
18
19
  updatedAt: Date;
19
- usageType: string;
20
+ usageType: Schematic.BillingPriceUsageType;
20
21
  }
@@ -14,5 +14,5 @@ export interface BillingProductPricing {
14
14
  productExternalId: string;
15
15
  quantity: number;
16
16
  subscriptionItemExternalId?: string;
17
- usageType: Schematic.BillingProductPricingUsageType;
17
+ usageType: Schematic.BillingPriceUsageType;
18
18
  }
@@ -1,7 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Schematic from "../index";
4
5
  export interface BillingSubscriptionResponseData {
6
+ applicationId?: string;
5
7
  cancelAt?: number;
6
8
  cancelAtPeriodEnd: boolean;
7
9
  companyId?: string;
@@ -19,5 +21,5 @@ export interface BillingSubscriptionResponseData {
19
21
  subscriptionExternalId: string;
20
22
  totalPrice: number;
21
23
  trialEnd?: number;
22
- trialEndSetting?: string;
24
+ trialEndSetting?: Schematic.BillingSubscriptionTrialEndSetting;
23
25
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type BillingSubscriptionTrialEndSetting = "cancel" | "subscribe";
5
+ export declare const BillingSubscriptionTrialEndSetting: {
6
+ readonly Cancel: "cancel";
7
+ readonly Subscribe: "subscribe";
8
+ };
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as Schematic from "../index";
5
5
  export interface BillingSubscriptionView {
6
+ applicationId?: string;
6
7
  cancelAt?: number;
7
8
  cancelAtPeriodEnd: boolean;
8
9
  companyId?: string;
@@ -24,5 +25,5 @@ export interface BillingSubscriptionView {
24
25
  subscriptionExternalId: string;
25
26
  totalPrice: number;
26
27
  trialEnd?: number;
27
- trialEndSetting?: string;
28
+ trialEndSetting?: Schematic.BillingSubscriptionTrialEndSetting;
28
29
  }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type SearchBillingPricesRequestTiersMode = "volume" | "graduated";
5
- export declare const SearchBillingPricesRequestTiersMode: {
6
- readonly Volume: "volume";
4
+ export type BillingTiersMode = "graduated" | "volume";
5
+ export declare const BillingTiersMode: {
7
6
  readonly Graduated: "graduated";
7
+ readonly Volume: "volume";
8
8
  };
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type UpsertBillingProductRequestBodyChargeType = "one_time" | "recurring" | "free";
5
- export declare const UpsertBillingProductRequestBodyChargeType: {
4
+ export type ChargeType = "free" | "one_time" | "recurring";
5
+ export declare const ChargeType: {
6
+ readonly Free: "free";
6
7
  readonly OneTime: "one_time";
7
8
  readonly Recurring: "recurring";
8
- readonly Free: "free";
9
9
  };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Schematic from "../index";
5
+ export interface CheckFlagsBulkResponseData {
6
+ data: Schematic.CheckFlagsResponseData[];
7
+ }
@@ -1,7 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Schematic from "../index";
4
5
  export interface CheckoutSubscription {
6
+ applicationId?: string;
5
7
  cancelAt?: number;
6
8
  cancelAtPeriodEnd: boolean;
7
9
  companyId?: string;
@@ -21,5 +23,5 @@ export interface CheckoutSubscription {
21
23
  subscriptionExternalId: string;
22
24
  totalPrice: number;
23
25
  trialEnd?: number;
24
- trialEndSetting?: string;
26
+ trialEndSetting?: Schematic.BillingSubscriptionTrialEndSetting;
25
27
  }
@@ -22,5 +22,5 @@ export interface CompanyOverrideResponseData {
22
22
  valueNumeric?: number;
23
23
  valueTrait?: Schematic.EntityTraitDefinitionResponseData;
24
24
  valueTraitId?: string;
25
- valueType: string;
25
+ valueType: Schematic.EntitlementValueType;
26
26
  }
@@ -5,11 +5,11 @@ import * as Schematic from "../index";
5
5
  export interface CompanyPlanDetailResponseData {
6
6
  audienceType?: string;
7
7
  billingProduct?: Schematic.BillingProductDetailResponseData;
8
- chargeType: string;
8
+ chargeType: Schematic.ChargeType;
9
9
  companyCanTrial: boolean;
10
10
  companyCount: number;
11
11
  compatiblePlanIds: string[];
12
- controlledBy: string;
12
+ controlledBy: Schematic.PlanControlledByType;
13
13
  createdAt: Date;
14
14
  current: boolean;
15
15
  custom: boolean;
@@ -20,6 +20,7 @@ export interface CompanyPlanDetailResponseData {
20
20
  icon: string;
21
21
  id: string;
22
22
  includedCreditGrants: Schematic.PlanCreditGrantView[];
23
+ invalidReason?: Schematic.CompanyPlanInvalidReason;
23
24
  isCustom: boolean;
24
25
  isDefault: boolean;
25
26
  isFree: boolean;
@@ -27,7 +28,7 @@ export interface CompanyPlanDetailResponseData {
27
28
  monthlyPrice?: Schematic.BillingPriceResponseData;
28
29
  name: string;
29
30
  oneTimePrice?: Schematic.BillingPriceResponseData;
30
- planType: string;
31
+ planType: Schematic.PlanType;
31
32
  trialDays?: number;
32
33
  updatedAt: Date;
33
34
  usageViolations: Schematic.FeatureUsageResponseData[];
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type CompanyPlanInvalidReason = "downgrade_not_permitted" | "feature_usage_exceeded";
5
+ export declare const CompanyPlanInvalidReason: {
6
+ readonly DowngradeNotPermitted: "downgrade_not_permitted";
7
+ readonly FeatureUsageExceeded: "feature_usage_exceeded";
8
+ };
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Schematic from "../index";
4
5
  export interface CompanyPlanWithBillingSubView {
5
6
  addedOn?: Date;
6
7
  billingProductExternalId?: string;
@@ -8,6 +9,7 @@ export interface CompanyPlanWithBillingSubView {
8
9
  description?: string;
9
10
  id: string;
10
11
  imageUrl?: string;
12
+ includedCreditGrants: Schematic.PlanCreditGrantView[];
11
13
  name: string;
12
14
  planPeriod?: string;
13
15
  planPrice?: number;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ComponentDisplaySettings {
5
+ showAsMonthlyPrices: boolean;
6
+ showCredits: boolean;
7
+ showPeriodToggle: boolean;
8
+ showZeroPriceAsFree: boolean;
9
+ }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type UpdateComponentRequestBodyEntityType = "entitlement" | "billing";
5
- export declare const UpdateComponentRequestBodyEntityType: {
6
- readonly Entitlement: "entitlement";
4
+ export type ComponentEntityType = "billing" | "entitlement";
5
+ export declare const ComponentEntityType: {
7
6
  readonly Billing: "billing";
7
+ readonly Entitlement: "entitlement";
8
8
  };
@@ -14,8 +14,13 @@ export interface ComponentHydrateResponseData {
14
14
  creditBundles: Schematic.BillingCreditBundleView[];
15
15
  creditGrants: Schematic.CreditCompanyGrantView[];
16
16
  defaultPlan?: Schematic.PlanDetailResponseData;
17
+ displaySettings: Schematic.ComponentDisplaySettings;
17
18
  featureUsage?: Schematic.FeatureUsageDetailResponseData;
18
19
  postTrialPlan?: Schematic.PlanDetailResponseData;
20
+ preventSelfServiceDowngrade: boolean;
21
+ preventSelfServiceDowngradeButtonText?: string;
22
+ preventSelfServiceDowngradeUrl?: string;
23
+ showAsMonthlyPrices: boolean;
19
24
  showCredits: boolean;
20
25
  showPeriodToggle: boolean;
21
26
  showZeroPriceAsFree: boolean;
@@ -14,9 +14,14 @@ export interface ComponentPreviewResponseData {
14
14
  creditBundles: Schematic.BillingCreditBundleView[];
15
15
  creditGrants: Schematic.CreditCompanyGrantView[];
16
16
  defaultPlan?: Schematic.PlanDetailResponseData;
17
+ displaySettings: Schematic.ComponentDisplaySettings;
17
18
  featureUsage?: Schematic.FeatureUsageDetailResponseData;
18
19
  invoices: Schematic.InvoiceResponseData[];
19
20
  postTrialPlan?: Schematic.PlanDetailResponseData;
21
+ preventSelfServiceDowngrade: boolean;
22
+ preventSelfServiceDowngradeButtonText?: string;
23
+ preventSelfServiceDowngradeUrl?: string;
24
+ showAsMonthlyPrices: boolean;
20
25
  showCredits: boolean;
21
26
  showPeriodToggle: boolean;
22
27
  showZeroPriceAsFree: boolean;
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Schematic from "../index";
4
5
  export interface ComponentResponseData {
5
6
  ast?: Record<string, number>;
6
7
  createdAt: Date;
7
8
  id: string;
8
9
  name: string;
9
- state: string;
10
- type: string;
10
+ state: Schematic.ComponentState;
11
+ type: Schematic.ComponentEntityType;
11
12
  updatedAt: Date;
12
13
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ComponentSettingsResponseData {
5
+ showAsMonthlyPrices: boolean;
6
+ showCredits: boolean;
7
+ showPeriodToggle: boolean;
8
+ showZeroPriceAsFree: boolean;
9
+ }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type UpdateComponentRequestBodyState = "draft" | "live";
5
- export declare const UpdateComponentRequestBodyState: {
4
+ export type ComponentState = "draft" | "live";
5
+ export declare const ComponentState: {
6
6
  readonly Draft: "draft";
7
7
  readonly Live: "live";
8
8
  };
@@ -5,16 +5,16 @@ import * as Schematic from "../index";
5
5
  export interface Condition {
6
6
  accountId: string;
7
7
  comparisonTraitDefinition?: Schematic.TraitDefinition;
8
- conditionType: string;
8
+ conditionType: Schematic.ConditionConditionType;
9
9
  consumptionRate?: number;
10
10
  creditId?: string;
11
11
  environmentId: string;
12
12
  eventSubtype?: string;
13
13
  id: string;
14
- metricPeriod?: string;
15
- metricPeriodMonthReset?: string;
14
+ metricPeriod?: Schematic.ConditionMetricPeriod;
15
+ metricPeriodMonthReset?: Schematic.ConditionMetricPeriodMonthReset;
16
16
  metricValue?: number;
17
- operator: string;
17
+ operator: Schematic.ConditionOperator;
18
18
  resourceIds: string[];
19
19
  traitDefinition?: Schematic.TraitDefinition;
20
20
  traitValue: string;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ConditionConditionType = "base_plan" | "billing_product" | "company" | "credit" | "crm_product" | "metric" | "plan" | "trait" | "user";
5
+ export declare const ConditionConditionType: {
6
+ readonly BasePlan: "base_plan";
7
+ readonly BillingProduct: "billing_product";
8
+ readonly Company: "company";
9
+ readonly Credit: "credit";
10
+ readonly CrmProduct: "crm_product";
11
+ readonly Metric: "metric";
12
+ readonly Plan: "plan";
13
+ readonly Trait: "trait";
14
+ readonly User: "user";
15
+ };
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ConditionMetricPeriod = "all_time" | "current_day" | "current_month" | "current_week";
5
+ export declare const ConditionMetricPeriod: {
6
+ readonly AllTime: "all_time";
7
+ readonly CurrentDay: "current_day";
8
+ readonly CurrentMonth: "current_month";
9
+ readonly CurrentWeek: "current_week";
10
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ConditionMetricPeriodMonthReset = "first_of_month" | "billing_cycle";
5
+ export declare const ConditionMetricPeriodMonthReset: {
6
+ readonly FirstOfMonth: "first_of_month";
7
+ readonly BillingCycle: "billing_cycle";
8
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ConditionOperator = "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "is_empty" | "not_empty";
5
+ export declare const ConditionOperator: {
6
+ readonly Eq: "eq";
7
+ readonly Ne: "ne";
8
+ readonly Gt: "gt";
9
+ readonly Lt: "lt";
10
+ readonly Gte: "gte";
11
+ readonly Lte: "lte";
12
+ readonly IsEmpty: "is_empty";
13
+ readonly NotEmpty: "not_empty";
14
+ };
@@ -11,5 +11,5 @@ export interface CreateEntitlementReqCommon {
11
11
  valueCreditId?: string;
12
12
  valueNumeric?: number;
13
13
  valueTraitId?: string;
14
- valueType: Schematic.CreateEntitlementReqCommonValueType;
14
+ valueType: Schematic.EntitlementValueType;
15
15
  }
@@ -4,8 +4,7 @@
4
4
  import * as Schematic from "../index";
5
5
  export interface CreateEventRequestBody {
6
6
  body?: Schematic.EventBody;
7
- /** Either 'identify' or 'track' */
8
- eventType: Schematic.CreateEventRequestBodyEventType;
7
+ eventType: Schematic.EventType;
9
8
  /** Optionally provide a timestamp at which the event was sent to Schematic */
10
9
  sentAt?: Date;
11
10
  }
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Schematic from "../index";
4
5
  export interface CreateFlagRequestBody {
5
6
  defaultValue: boolean;
6
7
  description: string;
7
8
  featureId?: string;
8
- flagType: "boolean";
9
+ flagType: Schematic.FlagType;
9
10
  key: string;
10
11
  maintainerId?: string;
11
12
  name: string;
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Schematic from "../index";
4
5
  export interface CreateOrUpdateFlagRequestBody {
5
6
  defaultValue: boolean;
6
7
  description: string;
7
8
  featureId?: string;
8
- flagType: "boolean";
9
+ flagType: Schematic.FlagType;
9
10
  id?: string;
10
11
  key: string;
11
12
  maintainerId?: string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type CreditAutoTopupAmountType = "credit";
@@ -12,10 +12,10 @@ export interface CreditCompanyGrantView {
12
12
  creditIcon?: string;
13
13
  creditName: string;
14
14
  expiresAt?: Date;
15
- expiryType?: string;
16
- expiryUnit?: string;
15
+ expiryType?: Schematic.BillingCreditExpiryType;
16
+ expiryUnit?: Schematic.BillingCreditExpiryUnit;
17
17
  expiryUnitCount?: number;
18
- grantReason: string;
18
+ grantReason: Schematic.BillingCreditGrantReason;
19
19
  id: string;
20
20
  planId?: string;
21
21
  planName?: string;
@@ -29,5 +29,5 @@ export interface CreditCompanyGrantView {
29
29
  updatedAt: Date;
30
30
  validFrom?: Date;
31
31
  zeroedOutDate?: Date;
32
- zeroedOutReason?: string;
32
+ zeroedOutReason?: Schematic.BillingCreditGrantZeroedOutReason;
33
33
  }
@@ -5,6 +5,6 @@ import * as Schematic from "../index";
5
5
  export interface CreditGrantDetail {
6
6
  creditTypeIcon?: string;
7
7
  expiresAt?: Date;
8
- grantReason: Schematic.CreditGrantDetailGrantReason;
8
+ grantReason: Schematic.BillingCreditGrantReason;
9
9
  quantity: number;
10
10
  }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Schematic from "../index";
5
+ export interface CreditGrantExpiryRequestBody {
6
+ expiryType?: Schematic.BillingCreditExpiryType;
7
+ expiryUnit?: Schematic.BillingCreditExpiryUnit;
8
+ expiryUnitCount?: number;
9
+ resetCadence: Schematic.BillingPlanCreditGrantResetCadence;
10
+ resetStart: Schematic.BillingPlanCreditGrantResetStart;
11
+ resetType?: Schematic.BillingPlanCreditGrantResetType;
12
+ }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type ListCompanyGrantsRequestOrder = "created_at" | "expires_at" | "quantity" | "quantity_remaining";
5
- export declare const ListCompanyGrantsRequestOrder: {
4
+ export type CreditGrantSortOrder = "created_at" | "expires_at" | "quantity" | "quantity_remaining";
5
+ export declare const CreditGrantSortOrder: {
6
6
  readonly CreatedAt: "created_at";
7
7
  readonly ExpiresAt: "expires_at";
8
8
  readonly Quantity: "quantity";
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as Schematic from "../index";
5
5
  export interface CreditLedgerEnrichedEntryResponseData {
6
+ billingCreditAutoTopupGrantCount: number;
6
7
  billingCreditId: string;
7
8
  company?: Schematic.CompanyLedgerResponseData;
8
9
  companyId: string;
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type CountCreditLedgerRequestPeriod = "daily" | "weekly" | "monthly" | "raw";
5
- export declare const CountCreditLedgerRequestPeriod: {
4
+ export type CreditLedgerPeriod = "daily" | "monthly" | "raw" | "weekly";
5
+ export declare const CreditLedgerPeriod: {
6
6
  readonly Daily: "daily";
7
- readonly Weekly: "weekly";
8
7
  readonly Monthly: "monthly";
9
8
  readonly Raw: "raw";
9
+ readonly Weekly: "weekly";
10
10
  };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type DataExportOutputFileType = "csv";
@@ -1,14 +1,15 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Schematic from "../index";
4
5
  export interface DataExportResponseData {
5
6
  accountId: string;
6
7
  createdAt: Date;
7
8
  environmentId: string;
8
- exportType: string;
9
+ exportType: Schematic.DataExportType;
9
10
  id: string;
10
11
  metadata: string;
11
- outputFileType: string;
12
- status: string;
12
+ outputFileType: Schematic.DataExportOutputFileType;
13
+ status: Schematic.DataExportStatus;
13
14
  updatedAt: Date;
14
15
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type DataExportStatus = "failure" | "pending" | "success";
5
+ export declare const DataExportStatus: {
6
+ readonly Failure: "failure";
7
+ readonly Pending: "pending";
8
+ readonly Success: "success";
9
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type DataExportType = "company-feature-usage";
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Schematic from "../index";
5
+ export interface DuplicatePlanEntitlementsResponseResponseData {
6
+ data: Schematic.PlanEntitlementResponseData[];
7
+ skipped: Schematic.SkippedEntitlementResponseData[];
8
+ }
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type CreatePlanEntitlementRequestBodyPriceBehavior = "pay_as_you_go" | "pay_in_advance" | "overage" | "credit_burndown" | "tier";
5
- export declare const CreatePlanEntitlementRequestBodyPriceBehavior: {
4
+ export type EntitlementPriceBehavior = "credit_burndown" | "overage" | "pay_as_you_go" | "pay_in_advance" | "tier";
5
+ export declare const EntitlementPriceBehavior: {
6
+ readonly CreditBurndown: "credit_burndown";
7
+ readonly Overage: "overage";
6
8
  readonly PayAsYouGo: "pay_as_you_go";
7
9
  readonly PayInAdvance: "pay_in_advance";
8
- readonly Overage: "overage";
9
- readonly CreditBurndown: "credit_burndown";
10
10
  readonly Tier: "tier";
11
11
  };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type EntitlementType = "company_override" | "plan_entitlement" | "unknown";
5
+ export declare const EntitlementType: {
6
+ readonly CompanyOverride: "company_override";
7
+ readonly PlanEntitlement: "plan_entitlement";
8
+ readonly Unknown: "unknown";
9
+ };
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type UpdateCompanyOverrideRequestBodyValueType = "boolean" | "credit" | "numeric" | "trait" | "unlimited";
5
- export declare const UpdateCompanyOverrideRequestBodyValueType: {
4
+ export type EntitlementValueType = "boolean" | "credit" | "numeric" | "trait" | "unknown" | "unlimited";
5
+ export declare const EntitlementValueType: {
6
6
  readonly Boolean: "boolean";
7
7
  readonly Credit: "credit";
8
8
  readonly Numeric: "numeric";
9
9
  readonly Trait: "trait";
10
+ readonly Unknown: "unknown";
10
11
  readonly Unlimited: "unlimited";
11
12
  };
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Schematic from "../index";
4
5
  export interface EntityKeyDefinitionResponseData {
5
6
  createdAt: Date;
6
- entityType: string;
7
+ entityType: Schematic.EntityType;
7
8
  id: string;
8
9
  key: string;
9
10
  updatedAt: Date;
@@ -7,7 +7,7 @@ export interface EntityKeyDetailResponseData {
7
7
  definition?: Schematic.EntityKeyDefinitionResponseData;
8
8
  definitionId: string;
9
9
  entityId: string;
10
- entityType: string;
10
+ entityType: Schematic.EntityType;
11
11
  environmentId: string;
12
12
  id: string;
13
13
  key: string;
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Schematic from "../index";
4
5
  export interface EntityKeyResponseData {
5
6
  createdAt: Date;
6
7
  definitionId: string;
7
8
  entityId: string;
8
- entityType: string;
9
+ entityType: Schematic.EntityType;
9
10
  environmentId: string;
10
11
  id: string;
11
12
  key: string;