@schematichq/schematic-typescript-node 1.2.6 → 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.
- package/dist/api/resources/accesstokens/client/Client.d.ts +2 -1
- package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -2
- package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +1 -1
- package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +1 -1
- package/dist/api/resources/accounts/types/index.d.ts +0 -2
- package/dist/api/resources/billing/client/Client.d.ts +21 -18
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +2 -1
- package/dist/api/resources/billing/client/requests/{SearchBillingPricesRequest.d.ts → ListBillingPricesRequest.d.ts} +15 -9
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +55 -0
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/index.d.ts +2 -2
- package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +1 -1
- package/dist/api/resources/billing/types/{SearchBillingPricesParams.d.ts → ListBillingPricesParams.d.ts} +8 -5
- package/dist/api/resources/billing/types/{SearchBillingPricesResponse.d.ts → ListBillingPricesResponse.d.ts} +2 -2
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +29 -0
- package/dist/api/resources/billing/types/ListBillingProductPricesResponse.d.ts +9 -0
- package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +1 -1
- package/dist/api/resources/billing/types/index.d.ts +4 -18
- package/dist/api/resources/checkout/client/Client.d.ts +17 -0
- package/dist/api/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +16 -0
- package/dist/api/resources/checkout/client/requests/index.d.ts +1 -0
- package/dist/api/resources/{billing/types/ListProductPricesResponse.d.ts → checkout/types/CancelSubscriptionResponse.d.ts} +3 -3
- package/dist/api/resources/checkout/types/index.d.ts +1 -0
- package/dist/api/resources/companies/client/Client.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +3 -3
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +3 -2
- package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +3 -3
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +3 -2
- package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +2 -0
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +3 -4
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +1 -1
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +3 -2
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +3 -4
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +1 -1
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +3 -2
- package/dist/api/resources/companies/types/index.d.ts +0 -19
- package/dist/api/resources/components/client/Client.d.ts +1 -1
- package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -2
- package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +2 -2
- package/dist/api/resources/components/types/index.d.ts +0 -3
- package/dist/api/resources/credits/client/Client.d.ts +3 -3
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +3 -3
- package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +9 -9
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +6 -4
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +4 -4
- package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +3 -3
- package/dist/api/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +13 -6
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +3 -3
- package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +1 -1
- package/dist/api/resources/credits/types/CountCreditBundlesParams.d.ts +2 -2
- package/dist/api/resources/credits/types/CountCreditLedgerParams.d.ts +1 -1
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +1 -1
- package/dist/api/resources/credits/types/ListCompanyGrantsParams.d.ts +2 -2
- package/dist/api/resources/credits/types/ListCreditBundlesParams.d.ts +2 -2
- package/dist/api/resources/credits/types/index.d.ts +0 -37
- package/dist/api/resources/dataexports/client/Client.d.ts +3 -1
- package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +3 -1
- package/dist/api/resources/entitlements/client/Client.d.ts +18 -0
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -1
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +3 -3
- package/dist/api/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +14 -0
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -1
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -3
- package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/api/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +9 -0
- package/dist/api/resources/entitlements/types/index.d.ts +1 -6
- package/dist/api/resources/events/client/Client.d.ts +2 -2
- package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +1 -1
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +1 -1
- package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -1
- package/dist/api/resources/events/types/index.d.ts +0 -2
- package/dist/api/resources/features/client/Client.d.ts +17 -0
- package/dist/api/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +13 -0
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +2 -1
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -2
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +2 -1
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -2
- package/dist/api/resources/features/client/requests/index.d.ts +1 -0
- package/dist/api/resources/features/types/CheckFlagsBulkResponse.d.ts +9 -0
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +2 -1
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +2 -1
- package/dist/api/resources/features/types/index.d.ts +1 -4
- package/dist/api/resources/plangroups/client/Client.d.ts +8 -2
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +10 -2
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +10 -2
- package/dist/api/resources/plans/client/Client.d.ts +1 -5
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +1 -11
- package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +1 -1
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +1 -11
- package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -2
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +1 -6
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +1 -6
- package/dist/api/resources/plans/types/index.d.ts +0 -6
- package/dist/api/resources/webhooks/client/Client.d.ts +1 -1
- package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -2
- package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -2
- package/dist/api/resources/webhooks/types/index.d.ts +0 -3
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +2 -1
- package/dist/api/types/ApiKeyResponseData.d.ts +2 -1
- package/dist/api/types/ApiKeyScope.d.ts +10 -0
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +4 -4
- package/dist/api/{resources/credits/types/ListCreditBundlesRequestStatus.d.ts → types/BillingCreditBundleStatus.d.ts} +2 -2
- package/dist/api/types/BillingCreditBundleType.d.ts +4 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +4 -4
- package/dist/api/{resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts → types/BillingCreditBurnStrategy.d.ts} +4 -4
- package/dist/api/{resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts → types/BillingCreditExpiryType.d.ts} +4 -4
- package/dist/api/{resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts → types/BillingCreditExpiryUnit.d.ts} +3 -3
- package/dist/api/types/BillingCreditGrantReason.d.ts +10 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +2 -2
- package/dist/api/{resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts → types/BillingCreditGrantZeroedOutReason.d.ts} +4 -4
- package/dist/api/types/BillingCreditResponseData.d.ts +3 -3
- package/dist/api/types/BillingCreditRolloverPolicy.d.ts +9 -0
- package/dist/api/types/{CreditGrantExpiryRequestBodyResetCadence.d.ts → BillingPlanCreditGrantResetCadence.d.ts} +4 -4
- package/dist/api/types/{CreditGrantExpiryRequestBodyResetStart.d.ts → BillingPlanCreditGrantResetStart.d.ts} +2 -2
- package/dist/api/types/{CreditGrantExpiryRequestBodyResetType.d.ts → BillingPlanCreditGrantResetType.d.ts} +3 -3
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +8 -7
- package/dist/api/types/BillingPriceResponseData.d.ts +3 -2
- package/dist/api/types/BillingPriceScheme.d.ts +8 -0
- package/dist/api/types/{BillingProductPricingUsageType.d.ts → BillingPriceUsageType.d.ts} +2 -2
- package/dist/api/types/BillingPriceView.d.ts +4 -4
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +2 -2
- package/dist/api/types/BillingProductPlanResponseData.d.ts +3 -2
- package/dist/api/types/BillingProductPriceInterval.d.ts +10 -0
- package/dist/api/types/BillingProductPriceResponseData.d.ts +5 -4
- package/dist/api/types/BillingProductPricing.d.ts +1 -1
- package/dist/api/types/BillingSubscriptionResponseData.d.ts +3 -1
- package/dist/api/types/BillingSubscriptionTrialEndSetting.d.ts +8 -0
- package/dist/api/types/BillingSubscriptionView.d.ts +2 -1
- package/dist/api/{resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts → types/BillingTiersMode.d.ts} +3 -3
- package/dist/api/{resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts → types/ChargeType.d.ts} +3 -3
- package/dist/api/types/CheckFlagsBulkResponseData.d.ts +7 -0
- package/dist/api/types/CheckoutSubscription.d.ts +3 -1
- package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -1
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +4 -3
- package/dist/api/types/CompanyPlanInvalidReason.d.ts +8 -0
- package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +2 -0
- package/dist/api/types/ComponentDisplaySettings.d.ts +9 -0
- package/dist/api/{resources/components/types/UpdateComponentRequestBodyEntityType.d.ts → types/ComponentEntityType.d.ts} +3 -3
- package/dist/api/types/ComponentHydrateResponseData.d.ts +5 -0
- package/dist/api/types/ComponentPreviewResponseData.d.ts +5 -0
- package/dist/api/types/ComponentResponseData.d.ts +3 -2
- package/dist/api/types/ComponentSettingsResponseData.d.ts +9 -0
- package/dist/api/{resources/components/types/UpdateComponentRequestBodyState.d.ts → types/ComponentState.d.ts} +2 -2
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +1 -1
- package/dist/api/types/CreateEventRequestBody.d.ts +1 -2
- package/dist/api/types/CreateFlagRequestBody.d.ts +2 -1
- package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +2 -1
- package/dist/api/types/CreditAutoTopupAmountType.d.ts +4 -0
- package/dist/api/types/CreditCompanyGrantView.d.ts +4 -4
- package/dist/api/types/CreditGrantDetail.d.ts +1 -1
- package/dist/api/types/CreditGrantExpiryRequestBody.d.ts +5 -5
- package/dist/api/{resources/credits/types/ListCompanyGrantsRequestOrder.d.ts → types/CreditGrantSortOrder.d.ts} +2 -2
- package/dist/api/{resources/credits/types/CountCreditLedgerRequestPeriod.d.ts → types/CreditLedgerPeriod.d.ts} +3 -3
- package/dist/api/types/DataExportOutputFileType.d.ts +4 -0
- package/dist/api/types/DataExportResponseData.d.ts +4 -3
- package/dist/api/types/DataExportStatus.d.ts +9 -0
- package/dist/api/types/DataExportType.d.ts +4 -0
- package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +8 -0
- package/dist/api/{resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts → types/EntitlementPriceBehavior.d.ts} +4 -4
- package/dist/api/types/EntitlementType.d.ts +9 -0
- package/dist/api/{resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts → types/EntitlementValueType.d.ts} +3 -2
- package/dist/api/types/EntityKeyDefinitionResponseData.d.ts +2 -1
- package/dist/api/types/EntityKeyDetailResponseData.d.ts +1 -1
- package/dist/api/types/EntityKeyResponseData.d.ts +2 -1
- package/dist/api/types/EntityTraitDefinitionResponseData.d.ts +3 -2
- package/dist/api/types/{TraitDefinitionEntityType.d.ts → EntityType.d.ts} +3 -3
- package/dist/api/types/EnvironmentDetailResponseData.d.ts +1 -1
- package/dist/api/types/EnvironmentResponseData.d.ts +2 -1
- package/dist/api/{resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts → types/EnvironmentType.d.ts} +3 -3
- package/dist/api/types/EventDetailResponseData.d.ts +2 -2
- package/dist/api/types/EventResponseData.d.ts +3 -2
- package/dist/api/types/EventStatus.d.ts +11 -0
- package/dist/api/{resources/events/types/ListEventsRequestEventTypesItem.d.ts → types/EventType.d.ts} +3 -3
- package/dist/api/types/FeatureCompanyResponseData.d.ts +4 -6
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +2 -3
- package/dist/api/types/FeatureDetailResponseData.d.ts +2 -2
- package/dist/api/{resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts → types/FeatureLifecyclePhase.d.ts} +3 -3
- package/dist/api/types/FeatureResponseData.d.ts +3 -2
- package/dist/api/{resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts → types/FeatureType.d.ts} +2 -2
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +1 -1
- package/dist/api/types/FeatureUsageResponseData.d.ts +4 -6
- package/dist/api/types/FlagDetailResponseData.d.ts +1 -1
- package/dist/api/types/FlagResponseData.d.ts +2 -1
- package/dist/api/types/FlagType.d.ts +4 -0
- package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/api/types/ManagePlanRequest.d.ts +5 -0
- package/dist/api/types/{PlanChangeResponseDataAction.d.ts → PlanChangeAction.d.ts} +3 -2
- package/dist/api/types/{PlanChangeResponseDataActorType.d.ts → PlanChangeActorType.d.ts} +3 -3
- package/dist/api/types/PlanChangeBasePlanAction.d.ts +10 -0
- package/dist/api/types/PlanChangeResponseData.d.ts +4 -6
- package/dist/api/types/PlanChangeSubscriptionAction.d.ts +12 -0
- package/dist/api/types/PlanControlledByType.d.ts +8 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +8 -7
- package/dist/api/types/PlanDetailResponseData.d.ts +3 -3
- package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -2
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +9 -3
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +3 -3
- package/dist/api/types/PlanGroupResponseData.d.ts +7 -1
- package/dist/api/types/PlanResponseData.d.ts +2 -1
- package/dist/api/{resources/plans/types/CreatePlanRequestBodyPlanType.d.ts → types/PlanType.d.ts} +2 -2
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
- package/dist/api/types/ProrationBehavior.d.ts +8 -0
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +1 -1
- package/dist/api/types/RuleConditionResponseData.d.ts +2 -1
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +11 -0
- package/dist/api/types/RulesengineCheckFlagResult.d.ts +20 -0
- package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +10 -0
- package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +13 -0
- package/dist/api/types/RulesengineCompany.d.ts +19 -0
- package/dist/api/types/RulesengineCompanyMetric.d.ts +15 -0
- package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +8 -0
- package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +10 -0
- package/dist/api/types/RulesengineCondition.d.ts +21 -0
- package/dist/api/types/RulesengineConditionConditionType.d.ts +15 -0
- package/dist/api/types/RulesengineConditionGroup.d.ts +7 -0
- package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +10 -0
- package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +8 -0
- package/dist/api/types/RulesengineConditionOperator.d.ts +14 -0
- package/dist/api/types/RulesengineEntityType.d.ts +8 -0
- package/dist/api/types/RulesengineFlag.d.ts +12 -0
- package/dist/api/types/RulesengineRule.d.ts +16 -0
- package/dist/api/types/RulesengineRuleRuleType.d.ts +13 -0
- package/dist/api/types/RulesengineSubscription.d.ts +8 -0
- package/dist/api/types/RulesengineTrait.d.ts +8 -0
- package/dist/api/types/RulesengineTraitDefinition.d.ts +9 -0
- package/dist/api/types/RulesengineTraitDefinitionComparableType.d.ts +10 -0
- package/dist/api/types/RulesengineUser.d.ts +12 -0
- package/dist/api/types/SkippedEntitlementErrorResponseData.d.ts +6 -0
- package/dist/api/types/SkippedEntitlementResponseData.d.ts +10 -0
- package/dist/api/{resources/credits/types/ListCompanyGrantsRequestDir.d.ts → types/SortDirection.d.ts} +2 -2
- package/dist/api/types/SubscriptionStatus.d.ts +15 -0
- package/dist/api/types/SubscriptionTraitUpdate.d.ts +2 -1
- package/dist/api/types/SubscriptionType.d.ts +10 -0
- package/dist/api/types/TemporaryAccessTokenResourceType.d.ts +4 -0
- package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/api/types/TraitDefinition.d.ts +1 -1
- package/dist/api/{resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts → types/TraitType.d.ts} +2 -2
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +1 -1
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +2 -2
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +2 -2
- package/dist/api/types/WebhookEventDetailResponseData.d.ts +2 -2
- package/dist/api/types/WebhookEventResponseData.d.ts +3 -2
- package/dist/api/types/WebhookEventStatus.d.ts +9 -0
- package/dist/api/{resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts → types/WebhookRequestType.d.ts} +30 -28
- package/dist/api/types/WebhookResponseData.d.ts +2 -2
- package/dist/api/{resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts → types/WebhookStatus.d.ts} +2 -2
- package/dist/api/types/index.d.ts +81 -21
- package/dist/index.js +3 -3
- package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +2 -2
- package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +2 -2
- package/dist/serialization/resources/accounts/types/index.d.ts +0 -2
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +6 -6
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -2
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +2 -2
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +27 -0
- package/dist/serialization/resources/billing/types/{SearchBillingPricesResponse.d.ts → ListBillingPricesResponse.d.ts} +4 -4
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +27 -0
- package/dist/serialization/resources/billing/types/ListBillingProductPricesResponse.d.ts +15 -0
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +2 -2
- package/dist/serialization/resources/billing/types/index.d.ts +4 -18
- package/dist/serialization/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +14 -0
- package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/checkout/types/CancelSubscriptionResponse.d.ts +14 -0
- package/dist/serialization/resources/checkout/types/index.d.ts +1 -0
- package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +4 -4
- package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +2 -2
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +1 -0
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +6 -4
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +2 -2
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +5 -4
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +6 -4
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +2 -2
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +5 -4
- package/dist/serialization/resources/companies/types/index.d.ts +0 -19
- package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -2
- package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +4 -4
- package/dist/serialization/resources/components/types/index.d.ts +0 -3
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +6 -5
- package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +14 -15
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +9 -5
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +8 -7
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +6 -5
- package/dist/serialization/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +18 -10
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +6 -6
- package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +2 -2
- package/dist/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +4 -3
- package/dist/serialization/resources/credits/types/CountCreditLedgerParams.d.ts +2 -2
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +2 -2
- package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +4 -4
- package/dist/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +4 -3
- package/dist/serialization/resources/credits/types/index.d.ts +0 -37
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -2
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +6 -5
- package/dist/serialization/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +13 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -2
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +6 -5
- package/dist/serialization/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +14 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +1 -6
- package/dist/serialization/resources/events/types/ListEventsParams.d.ts +2 -2
- package/dist/serialization/resources/events/types/index.d.ts +0 -2
- package/dist/serialization/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +13 -0
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +4 -4
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +4 -4
- package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/features/types/CheckFlagsBulkResponse.d.ts +14 -0
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -1
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -1
- package/dist/serialization/resources/features/types/index.d.ts +1 -4
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +7 -1
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +7 -1
- package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +2 -2
- package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -2
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -4
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -4
- package/dist/serialization/resources/plans/types/index.d.ts +0 -6
- package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -2
- package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +4 -4
- package/dist/serialization/resources/webhooks/types/index.d.ts +0 -3
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +2 -1
- package/dist/serialization/types/ApiKeyResponseData.d.ts +2 -1
- package/dist/serialization/types/ApiKeyScope.d.ts +10 -0
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +8 -4
- package/dist/serialization/types/BillingCreditBundleStatus.d.ts +10 -0
- package/dist/serialization/types/BillingCreditBundleType.d.ts +10 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +8 -4
- package/dist/serialization/types/BillingCreditBurnStrategy.d.ts +10 -0
- package/dist/serialization/types/BillingCreditExpiryType.d.ts +10 -0
- package/dist/serialization/types/BillingCreditExpiryUnit.d.ts +10 -0
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +10 -0
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +10 -0
- package/dist/serialization/types/BillingCreditResponseData.d.ts +6 -3
- package/dist/serialization/types/BillingCreditRolloverPolicy.d.ts +10 -0
- package/dist/serialization/types/BillingPlanCreditGrantResetCadence.d.ts +10 -0
- package/dist/serialization/types/BillingPlanCreditGrantResetStart.d.ts +10 -0
- package/dist/serialization/types/BillingPlanCreditGrantResetType.d.ts +10 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +12 -7
- package/dist/serialization/types/BillingPriceResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingPriceScheme.d.ts +10 -0
- package/dist/serialization/types/{BillingProductPricingUsageType.d.ts → BillingPriceUsageType.d.ts} +2 -2
- package/dist/serialization/types/BillingPriceView.d.ts +8 -4
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingProductPriceInterval.d.ts +10 -0
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +8 -4
- package/dist/serialization/types/BillingProductPricing.d.ts +2 -2
- package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +3 -1
- package/dist/serialization/types/BillingSubscriptionTrialEndSetting.d.ts +10 -0
- package/dist/serialization/types/BillingSubscriptionView.d.ts +3 -1
- package/dist/serialization/types/BillingTiersMode.d.ts +10 -0
- package/dist/serialization/types/ChargeType.d.ts +10 -0
- package/dist/serialization/types/CheckFlagsBulkResponseData.d.ts +13 -0
- package/dist/serialization/types/CheckoutSubscription.d.ts +3 -1
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +2 -1
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +8 -3
- package/dist/serialization/types/CompanyPlanInvalidReason.d.ts +10 -0
- package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -0
- package/dist/serialization/types/ComponentDisplaySettings.d.ts +15 -0
- package/dist/serialization/types/ComponentEntityType.d.ts +10 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +6 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +6 -0
- package/dist/serialization/types/ComponentResponseData.d.ts +4 -2
- package/dist/serialization/types/ComponentSettingsResponseData.d.ts +15 -0
- package/dist/serialization/types/ComponentState.d.ts +10 -0
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +2 -2
- package/dist/serialization/types/CreateEventRequestBody.d.ts +2 -2
- package/dist/serialization/types/CreateFlagRequestBody.d.ts +2 -1
- package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +2 -1
- package/dist/serialization/types/CreditAutoTopupAmountType.d.ts +10 -0
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +8 -4
- package/dist/serialization/types/CreditGrantDetail.d.ts +2 -2
- package/dist/serialization/types/CreditGrantExpiryRequestBody.d.ts +10 -10
- package/dist/serialization/types/CreditGrantSortOrder.d.ts +10 -0
- package/dist/serialization/types/CreditLedgerPeriod.d.ts +10 -0
- package/dist/serialization/types/DataExportOutputFileType.d.ts +10 -0
- package/dist/serialization/types/DataExportResponseData.d.ts +6 -3
- package/dist/serialization/types/DataExportStatus.d.ts +10 -0
- package/dist/serialization/types/DataExportType.d.ts +10 -0
- package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +15 -0
- package/dist/serialization/types/EntitlementPriceBehavior.d.ts +10 -0
- package/dist/serialization/types/EntitlementType.d.ts +10 -0
- package/dist/serialization/types/EntitlementValueType.d.ts +10 -0
- package/dist/serialization/types/EntityKeyDefinitionResponseData.d.ts +2 -1
- package/dist/serialization/types/EntityKeyDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/EntityKeyResponseData.d.ts +2 -1
- package/dist/serialization/types/EntityTraitDefinitionResponseData.d.ts +4 -2
- package/dist/serialization/types/EntityType.d.ts +10 -0
- package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/EnvironmentResponseData.d.ts +2 -1
- package/dist/serialization/types/EnvironmentType.d.ts +10 -0
- package/dist/serialization/types/EventDetailResponseData.d.ts +4 -2
- package/dist/serialization/types/EventResponseData.d.ts +4 -2
- package/dist/serialization/types/EventStatus.d.ts +10 -0
- package/dist/serialization/types/EventType.d.ts +10 -0
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +8 -6
- package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +4 -3
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +4 -2
- package/dist/serialization/types/FeatureLifecyclePhase.d.ts +10 -0
- package/dist/serialization/types/FeatureResponseData.d.ts +4 -2
- package/dist/serialization/types/FeatureType.d.ts +10 -0
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +2 -1
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +8 -6
- package/dist/serialization/types/FlagDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/FlagResponseData.d.ts +2 -1
- package/dist/serialization/types/FlagType.d.ts +10 -0
- package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/serialization/types/ManagePlanRequest.d.ts +3 -0
- package/dist/serialization/types/{PlanChangeResponseDataAction.d.ts → PlanChangeAction.d.ts} +3 -3
- package/dist/serialization/types/PlanChangeActorType.d.ts +10 -0
- package/dist/serialization/types/{PlanChangeResponseDataBasePlanAction.d.ts → PlanChangeBasePlanAction.d.ts} +2 -2
- package/dist/serialization/types/PlanChangeResponseData.d.ts +8 -8
- package/dist/serialization/types/{PlanChangeResponseDataSubscriptionChangeAction.d.ts → PlanChangeSubscriptionAction.d.ts} +2 -2
- package/dist/serialization/types/PlanControlledByType.d.ts +10 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +12 -7
- package/dist/serialization/types/PlanDetailResponseData.d.ts +6 -3
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +4 -2
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +11 -4
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +6 -3
- package/dist/serialization/types/PlanGroupResponseData.d.ts +8 -1
- package/dist/serialization/types/PlanResponseData.d.ts +2 -1
- package/dist/serialization/types/PlanType.d.ts +10 -0
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
- package/dist/serialization/types/ProrationBehavior.d.ts +10 -0
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/RuleConditionResponseData.d.ts +2 -1
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +10 -0
- package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +27 -0
- package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +10 -0
- package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +10 -0
- package/dist/serialization/types/RulesengineCompany.d.ts +28 -0
- package/dist/serialization/types/RulesengineCompanyMetric.d.ts +22 -0
- package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +10 -0
- package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +10 -0
- package/dist/serialization/types/RulesengineCondition.d.ts +31 -0
- package/dist/serialization/types/RulesengineConditionConditionType.d.ts +10 -0
- package/dist/serialization/types/RulesengineConditionGroup.d.ts +13 -0
- package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +10 -0
- package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +10 -0
- package/dist/serialization/types/RulesengineConditionOperator.d.ts +10 -0
- package/dist/serialization/types/RulesengineEntityType.d.ts +10 -0
- package/dist/serialization/types/RulesengineFlag.d.ts +18 -0
- package/dist/serialization/types/RulesengineRule.d.ts +24 -0
- package/dist/serialization/types/RulesengineRuleRuleType.d.ts +10 -0
- package/dist/serialization/types/RulesengineSubscription.d.ts +14 -0
- package/dist/serialization/types/RulesengineTrait.d.ts +14 -0
- package/dist/serialization/types/RulesengineTraitDefinition.d.ts +16 -0
- package/dist/serialization/types/RulesengineTraitDefinitionComparableType.d.ts +10 -0
- package/dist/serialization/types/RulesengineUser.d.ts +19 -0
- package/dist/serialization/types/SkippedEntitlementErrorResponseData.d.ts +12 -0
- package/dist/serialization/types/SkippedEntitlementResponseData.d.ts +16 -0
- package/dist/serialization/types/SortDirection.d.ts +10 -0
- package/dist/serialization/types/SubscriptionStatus.d.ts +10 -0
- package/dist/serialization/types/SubscriptionTraitUpdate.d.ts +2 -1
- package/dist/serialization/types/SubscriptionType.d.ts +10 -0
- package/dist/serialization/types/TemporaryAccessTokenResourceType.d.ts +10 -0
- package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/serialization/types/TraitDefinition.d.ts +2 -2
- package/dist/serialization/types/TraitType.d.ts +10 -0
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +2 -2
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +4 -3
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +4 -2
- package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +4 -2
- package/dist/serialization/types/WebhookEventResponseData.d.ts +4 -2
- package/dist/serialization/types/WebhookEventStatus.d.ts +10 -0
- package/dist/serialization/types/WebhookRequestType.d.ts +10 -0
- package/dist/serialization/types/WebhookResponseData.d.ts +4 -2
- package/dist/serialization/types/WebhookStatus.d.ts +10 -0
- package/dist/serialization/types/index.d.ts +81 -21
- package/package.json +1 -1
- package/dist/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -9
- package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +0 -53
- package/dist/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -8
- package/dist/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListProductPricesParams.d.ts +0 -27
- package/dist/api/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
- package/dist/api/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -8
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -8
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -9
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -9
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -15
- package/dist/api/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -11
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -39
- package/dist/api/types/CreateEntitlementReqCommonValueType.d.ts +0 -11
- package/dist/api/types/CreateEventRequestBodyEventType.d.ts +0 -12
- package/dist/api/types/CreditGrantDetailGrantReason.d.ts +0 -9
- package/dist/api/types/CreditGrantExpiryRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/types/CreditGrantExpiryRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -13
- package/dist/api/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -12
- package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -14
- package/dist/api/types/FeatureUsageResponseDataAllocationType.d.ts +0 -13
- package/dist/api/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -12
- package/dist/api/types/PlanChangeResponseDataBasePlanAction.d.ts +0 -13
- package/dist/api/types/PlanChangeResponseDataSubscriptionChangeAction.d.ts +0 -15
- package/dist/api/types/UpdateEntitlementReqCommonValueType.d.ts +0 -11
- package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
- package/dist/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListProductPricesParams.d.ts +0 -23
- package/dist/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListProductPricesResponse.d.ts +0 -15
- package/dist/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +0 -25
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
- package/dist/serialization/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyState.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -10
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +0 -10
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -10
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/types/CreateEntitlementReqCommonValueType.d.ts +0 -10
- package/dist/serialization/types/CreateEventRequestBodyEventType.d.ts +0 -10
- package/dist/serialization/types/CreditGrantDetailGrantReason.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyResetType.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureUsageResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -10
- package/dist/serialization/types/PlanChangeResponseDataActorType.d.ts +0 -10
- package/dist/serialization/types/TraitDefinitionEntityType.d.ts +0 -10
- package/dist/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +0 -10
- package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -10
|
@@ -4,14 +4,19 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { BillingCreditExpiryType } from "./BillingCreditExpiryType";
|
|
8
|
+
import { BillingCreditExpiryUnit } from "./BillingCreditExpiryUnit";
|
|
9
|
+
import { BillingPlanCreditGrantResetCadence } from "./BillingPlanCreditGrantResetCadence";
|
|
10
|
+
import { BillingPlanCreditGrantResetStart } from "./BillingPlanCreditGrantResetStart";
|
|
11
|
+
import { BillingPlanCreditGrantResetType } from "./BillingPlanCreditGrantResetType";
|
|
7
12
|
export declare const BillingPlanCreditGrantResponseData: core.serialization.ObjectSchema<serializers.BillingPlanCreditGrantResponseData.Raw, Schematic.BillingPlanCreditGrantResponseData>;
|
|
8
13
|
export declare namespace BillingPlanCreditGrantResponseData {
|
|
9
14
|
interface Raw {
|
|
10
15
|
auto_topup_amount?: number | null;
|
|
11
16
|
auto_topup_amount_type?: string | null;
|
|
12
17
|
auto_topup_enabled: boolean;
|
|
13
|
-
auto_topup_expiry_type?:
|
|
14
|
-
auto_topup_expiry_unit?:
|
|
18
|
+
auto_topup_expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
19
|
+
auto_topup_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
15
20
|
auto_topup_expiry_unit_count?: number | null;
|
|
16
21
|
auto_topup_threshold_percent?: number | null;
|
|
17
22
|
created_at: string;
|
|
@@ -20,15 +25,15 @@ export declare namespace BillingPlanCreditGrantResponseData {
|
|
|
20
25
|
credit_name: string;
|
|
21
26
|
credit_plural_name?: string | null;
|
|
22
27
|
credit_singular_name?: string | null;
|
|
23
|
-
expiry_type?:
|
|
24
|
-
expiry_unit?:
|
|
28
|
+
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
29
|
+
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
25
30
|
expiry_unit_count?: number | null;
|
|
26
31
|
id: string;
|
|
27
32
|
plan_id: string;
|
|
28
33
|
plan_name: string;
|
|
29
|
-
reset_cadence:
|
|
30
|
-
reset_start:
|
|
31
|
-
reset_type?:
|
|
34
|
+
reset_cadence: BillingPlanCreditGrantResetCadence.Raw;
|
|
35
|
+
reset_start: BillingPlanCreditGrantResetStart.Raw;
|
|
36
|
+
reset_type?: BillingPlanCreditGrantResetType.Raw | null;
|
|
32
37
|
updated_at: string;
|
|
33
38
|
}
|
|
34
39
|
}
|
|
@@ -4,15 +4,17 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { BillingProductPriceInterval } from "./BillingProductPriceInterval";
|
|
8
|
+
import { BillingPriceScheme } from "./BillingPriceScheme";
|
|
7
9
|
export declare const BillingPriceResponseData: core.serialization.ObjectSchema<serializers.BillingPriceResponseData.Raw, Schematic.BillingPriceResponseData>;
|
|
8
10
|
export declare namespace BillingPriceResponseData {
|
|
9
11
|
interface Raw {
|
|
10
12
|
currency: string;
|
|
11
13
|
external_price_id: string;
|
|
12
14
|
id: string;
|
|
13
|
-
interval:
|
|
15
|
+
interval: BillingProductPriceInterval.Raw;
|
|
14
16
|
price: number;
|
|
15
17
|
price_decimal?: string | null;
|
|
16
|
-
scheme:
|
|
18
|
+
scheme: BillingPriceScheme.Raw;
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const BillingPriceScheme: core.serialization.Schema<serializers.BillingPriceScheme.Raw, Schematic.BillingPriceScheme>;
|
|
8
|
+
export declare namespace BillingPriceScheme {
|
|
9
|
+
type Raw = "per_unit" | "tiered";
|
|
10
|
+
}
|
package/dist/serialization/types/{BillingProductPricingUsageType.d.ts → BillingPriceUsageType.d.ts}
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const BillingPriceUsageType: core.serialization.Schema<serializers.BillingPriceUsageType.Raw, Schematic.BillingPriceUsageType>;
|
|
8
|
+
export declare namespace BillingPriceUsageType {
|
|
9
9
|
type Raw = "licensed" | "metered";
|
|
10
10
|
}
|
|
@@ -4,15 +4,19 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { BillingPriceScheme } from "./BillingPriceScheme";
|
|
8
|
+
import { BillingProductPriceInterval } from "./BillingProductPriceInterval";
|
|
7
9
|
import { BillingProductPriceTierResponseData } from "./BillingProductPriceTierResponseData";
|
|
10
|
+
import { BillingTiersMode } from "./BillingTiersMode";
|
|
11
|
+
import { BillingPriceUsageType } from "./BillingPriceUsageType";
|
|
8
12
|
export declare const BillingPriceView: core.serialization.ObjectSchema<serializers.BillingPriceView.Raw, Schematic.BillingPriceView>;
|
|
9
13
|
export declare namespace BillingPriceView {
|
|
10
14
|
interface Raw {
|
|
11
|
-
billing_scheme:
|
|
15
|
+
billing_scheme: BillingPriceScheme.Raw;
|
|
12
16
|
created_at: string;
|
|
13
17
|
currency: string;
|
|
14
18
|
id: string;
|
|
15
|
-
interval:
|
|
19
|
+
interval: BillingProductPriceInterval.Raw;
|
|
16
20
|
is_active: boolean;
|
|
17
21
|
meter_event_name?: string | null;
|
|
18
22
|
meter_event_payload_key?: string | null;
|
|
@@ -26,8 +30,8 @@ export declare namespace BillingPriceView {
|
|
|
26
30
|
product_external_id: string;
|
|
27
31
|
product_id: string;
|
|
28
32
|
product_name: string;
|
|
29
|
-
tiers_mode?:
|
|
33
|
+
tiers_mode?: BillingTiersMode.Raw | null;
|
|
30
34
|
updated_at: string;
|
|
31
|
-
usage_type:
|
|
35
|
+
usage_type: BillingPriceUsageType.Raw;
|
|
32
36
|
}
|
|
33
37
|
}
|
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { BillingPriceScheme } from "./BillingPriceScheme";
|
|
7
8
|
import { BillingProductPriceTierResponseData } from "./BillingProductPriceTierResponseData";
|
|
9
|
+
import { BillingPriceUsageType } from "./BillingPriceUsageType";
|
|
8
10
|
export declare const BillingProductForSubscriptionResponseData: core.serialization.ObjectSchema<serializers.BillingProductForSubscriptionResponseData.Raw, Schematic.BillingProductForSubscriptionResponseData>;
|
|
9
11
|
export declare namespace BillingProductForSubscriptionResponseData {
|
|
10
12
|
interface Raw {
|
|
11
|
-
billing_scheme:
|
|
13
|
+
billing_scheme: BillingPriceScheme.Raw;
|
|
12
14
|
billing_threshold?: number | null;
|
|
13
15
|
created_at: string;
|
|
14
16
|
currency: string;
|
|
@@ -28,6 +30,6 @@ export declare namespace BillingProductForSubscriptionResponseData {
|
|
|
28
30
|
subscription_id: string;
|
|
29
31
|
subscription_item_external_id?: string | null;
|
|
30
32
|
updated_at: string;
|
|
31
|
-
usage_type:
|
|
33
|
+
usage_type: BillingPriceUsageType.Raw;
|
|
32
34
|
}
|
|
33
35
|
}
|
|
@@ -4,13 +4,15 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { ChargeType } from "./ChargeType";
|
|
8
|
+
import { PlanControlledByType } from "./PlanControlledByType";
|
|
7
9
|
export declare const BillingProductPlanResponseData: core.serialization.ObjectSchema<serializers.BillingProductPlanResponseData.Raw, Schematic.BillingProductPlanResponseData>;
|
|
8
10
|
export declare namespace BillingProductPlanResponseData {
|
|
9
11
|
interface Raw {
|
|
10
12
|
account_id: string;
|
|
11
13
|
billing_product_id: string;
|
|
12
|
-
charge_type:
|
|
13
|
-
controlled_by:
|
|
14
|
+
charge_type: ChargeType.Raw;
|
|
15
|
+
controlled_by: PlanControlledByType.Raw;
|
|
14
16
|
environment_id: string;
|
|
15
17
|
is_trialable: boolean;
|
|
16
18
|
monthly_price_id?: string | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const BillingProductPriceInterval: core.serialization.Schema<serializers.BillingProductPriceInterval.Raw, Schematic.BillingProductPriceInterval>;
|
|
8
|
+
export declare namespace BillingProductPriceInterval {
|
|
9
|
+
type Raw = "day" | "month" | "one-time" | "year";
|
|
10
|
+
}
|
|
@@ -4,14 +4,18 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { BillingPriceScheme } from "./BillingPriceScheme";
|
|
8
|
+
import { BillingProductPriceInterval } from "./BillingProductPriceInterval";
|
|
9
|
+
import { BillingTiersMode } from "./BillingTiersMode";
|
|
10
|
+
import { BillingPriceUsageType } from "./BillingPriceUsageType";
|
|
7
11
|
export declare const BillingProductPriceResponseData: core.serialization.ObjectSchema<serializers.BillingProductPriceResponseData.Raw, Schematic.BillingProductPriceResponseData>;
|
|
8
12
|
export declare namespace BillingProductPriceResponseData {
|
|
9
13
|
interface Raw {
|
|
10
|
-
billing_scheme:
|
|
14
|
+
billing_scheme: BillingPriceScheme.Raw;
|
|
11
15
|
created_at: string;
|
|
12
16
|
currency: string;
|
|
13
17
|
id: string;
|
|
14
|
-
interval:
|
|
18
|
+
interval: BillingProductPriceInterval.Raw;
|
|
15
19
|
is_active: boolean;
|
|
16
20
|
meter_id?: string | null;
|
|
17
21
|
package_size: number;
|
|
@@ -19,8 +23,8 @@ export declare namespace BillingProductPriceResponseData {
|
|
|
19
23
|
price_decimal?: string | null;
|
|
20
24
|
price_external_id: string;
|
|
21
25
|
product_external_id: string;
|
|
22
|
-
tiers_mode?:
|
|
26
|
+
tiers_mode?: BillingTiersMode.Raw | null;
|
|
23
27
|
updated_at: string;
|
|
24
|
-
usage_type:
|
|
28
|
+
usage_type: BillingPriceUsageType.Raw;
|
|
25
29
|
}
|
|
26
30
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { BillingPriceUsageType } from "./BillingPriceUsageType";
|
|
8
8
|
export declare const BillingProductPricing: core.serialization.ObjectSchema<serializers.BillingProductPricing.Raw, Schematic.BillingProductPricing>;
|
|
9
9
|
export declare namespace BillingProductPricing {
|
|
10
10
|
interface Raw {
|
|
@@ -19,6 +19,6 @@ export declare namespace BillingProductPricing {
|
|
|
19
19
|
product_external_id: string;
|
|
20
20
|
quantity: number;
|
|
21
21
|
subscription_item_external_id?: string | null;
|
|
22
|
-
usage_type:
|
|
22
|
+
usage_type: BillingPriceUsageType.Raw;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { BillingSubscriptionTrialEndSetting } from "./BillingSubscriptionTrialEndSetting";
|
|
7
8
|
export declare const BillingSubscriptionResponseData: core.serialization.ObjectSchema<serializers.BillingSubscriptionResponseData.Raw, Schematic.BillingSubscriptionResponseData>;
|
|
8
9
|
export declare namespace BillingSubscriptionResponseData {
|
|
9
10
|
interface Raw {
|
|
11
|
+
application_id?: string | null;
|
|
10
12
|
cancel_at?: number | null;
|
|
11
13
|
cancel_at_period_end: boolean;
|
|
12
14
|
company_id?: string | null;
|
|
@@ -24,6 +26,6 @@ export declare namespace BillingSubscriptionResponseData {
|
|
|
24
26
|
subscription_external_id: string;
|
|
25
27
|
total_price: number;
|
|
26
28
|
trial_end?: number | null;
|
|
27
|
-
trial_end_setting?:
|
|
29
|
+
trial_end_setting?: BillingSubscriptionTrialEndSetting.Raw | null;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const BillingSubscriptionTrialEndSetting: core.serialization.Schema<serializers.BillingSubscriptionTrialEndSetting.Raw, Schematic.BillingSubscriptionTrialEndSetting>;
|
|
8
|
+
export declare namespace BillingSubscriptionTrialEndSetting {
|
|
9
|
+
type Raw = "cancel" | "subscribe";
|
|
10
|
+
}
|
|
@@ -8,9 +8,11 @@ import { BillingSubscriptionDiscountView } from "./BillingSubscriptionDiscountVi
|
|
|
8
8
|
import { InvoiceResponseData } from "./InvoiceResponseData";
|
|
9
9
|
import { PaymentMethodResponseData } from "./PaymentMethodResponseData";
|
|
10
10
|
import { BillingProductForSubscriptionResponseData } from "./BillingProductForSubscriptionResponseData";
|
|
11
|
+
import { BillingSubscriptionTrialEndSetting } from "./BillingSubscriptionTrialEndSetting";
|
|
11
12
|
export declare const BillingSubscriptionView: core.serialization.ObjectSchema<serializers.BillingSubscriptionView.Raw, Schematic.BillingSubscriptionView>;
|
|
12
13
|
export declare namespace BillingSubscriptionView {
|
|
13
14
|
interface Raw {
|
|
15
|
+
application_id?: string | null;
|
|
14
16
|
cancel_at?: number | null;
|
|
15
17
|
cancel_at_period_end: boolean;
|
|
16
18
|
company_id?: string | null;
|
|
@@ -32,6 +34,6 @@ export declare namespace BillingSubscriptionView {
|
|
|
32
34
|
subscription_external_id: string;
|
|
33
35
|
total_price: number;
|
|
34
36
|
trial_end?: number | null;
|
|
35
|
-
trial_end_setting?:
|
|
37
|
+
trial_end_setting?: BillingSubscriptionTrialEndSetting.Raw | null;
|
|
36
38
|
}
|
|
37
39
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const BillingTiersMode: core.serialization.Schema<serializers.BillingTiersMode.Raw, Schematic.BillingTiersMode>;
|
|
8
|
+
export declare namespace BillingTiersMode {
|
|
9
|
+
type Raw = "graduated" | "volume";
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ChargeType: core.serialization.Schema<serializers.ChargeType.Raw, Schematic.ChargeType>;
|
|
8
|
+
export declare namespace ChargeType {
|
|
9
|
+
type Raw = "free" | "one_time" | "recurring";
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { CheckFlagsResponseData } from "./CheckFlagsResponseData";
|
|
8
|
+
export declare const CheckFlagsBulkResponseData: core.serialization.ObjectSchema<serializers.CheckFlagsBulkResponseData.Raw, Schematic.CheckFlagsBulkResponseData>;
|
|
9
|
+
export declare namespace CheckFlagsBulkResponseData {
|
|
10
|
+
interface Raw {
|
|
11
|
+
data: CheckFlagsResponseData.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { BillingSubscriptionTrialEndSetting } from "./BillingSubscriptionTrialEndSetting";
|
|
7
8
|
export declare const CheckoutSubscription: core.serialization.ObjectSchema<serializers.CheckoutSubscription.Raw, Schematic.CheckoutSubscription>;
|
|
8
9
|
export declare namespace CheckoutSubscription {
|
|
9
10
|
interface Raw {
|
|
11
|
+
application_id?: string | null;
|
|
10
12
|
cancel_at?: number | null;
|
|
11
13
|
cancel_at_period_end: boolean;
|
|
12
14
|
company_id?: string | null;
|
|
@@ -26,6 +28,6 @@ export declare namespace CheckoutSubscription {
|
|
|
26
28
|
subscription_external_id: string;
|
|
27
29
|
total_price: number;
|
|
28
30
|
trial_end?: number | null;
|
|
29
|
-
trial_end_setting?:
|
|
31
|
+
trial_end_setting?: BillingSubscriptionTrialEndSetting.Raw | null;
|
|
30
32
|
}
|
|
31
33
|
}
|
|
@@ -8,6 +8,7 @@ import { CompanyDetailResponseData } from "./CompanyDetailResponseData";
|
|
|
8
8
|
import { FeatureResponseData } from "./FeatureResponseData";
|
|
9
9
|
import { CompanyOverrideNoteResponseData } from "./CompanyOverrideNoteResponseData";
|
|
10
10
|
import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
|
|
11
|
+
import { EntitlementValueType } from "./EntitlementValueType";
|
|
11
12
|
export declare const CompanyOverrideResponseData: core.serialization.ObjectSchema<serializers.CompanyOverrideResponseData.Raw, Schematic.CompanyOverrideResponseData>;
|
|
12
13
|
export declare namespace CompanyOverrideResponseData {
|
|
13
14
|
interface Raw {
|
|
@@ -30,6 +31,6 @@ export declare namespace CompanyOverrideResponseData {
|
|
|
30
31
|
value_numeric?: number | null;
|
|
31
32
|
value_trait?: EntityTraitDefinitionResponseData.Raw | null;
|
|
32
33
|
value_trait_id?: string | null;
|
|
33
|
-
value_type:
|
|
34
|
+
value_type: EntitlementValueType.Raw;
|
|
34
35
|
}
|
|
35
36
|
}
|
|
@@ -5,22 +5,26 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { BillingProductDetailResponseData } from "./BillingProductDetailResponseData";
|
|
8
|
+
import { ChargeType } from "./ChargeType";
|
|
9
|
+
import { PlanControlledByType } from "./PlanControlledByType";
|
|
8
10
|
import { CustomPlanConfig } from "./CustomPlanConfig";
|
|
9
11
|
import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
10
12
|
import { FeatureDetailResponseData } from "./FeatureDetailResponseData";
|
|
11
13
|
import { PlanCreditGrantView } from "./PlanCreditGrantView";
|
|
14
|
+
import { CompanyPlanInvalidReason } from "./CompanyPlanInvalidReason";
|
|
12
15
|
import { BillingPriceResponseData } from "./BillingPriceResponseData";
|
|
16
|
+
import { PlanType } from "./PlanType";
|
|
13
17
|
import { FeatureUsageResponseData } from "./FeatureUsageResponseData";
|
|
14
18
|
export declare const CompanyPlanDetailResponseData: core.serialization.ObjectSchema<serializers.CompanyPlanDetailResponseData.Raw, Schematic.CompanyPlanDetailResponseData>;
|
|
15
19
|
export declare namespace CompanyPlanDetailResponseData {
|
|
16
20
|
interface Raw {
|
|
17
21
|
audience_type?: string | null;
|
|
18
22
|
billing_product?: BillingProductDetailResponseData.Raw | null;
|
|
19
|
-
charge_type:
|
|
23
|
+
charge_type: ChargeType.Raw;
|
|
20
24
|
company_can_trial: boolean;
|
|
21
25
|
company_count: number;
|
|
22
26
|
compatible_plan_ids: string[];
|
|
23
|
-
controlled_by:
|
|
27
|
+
controlled_by: PlanControlledByType.Raw;
|
|
24
28
|
created_at: string;
|
|
25
29
|
current: boolean;
|
|
26
30
|
custom: boolean;
|
|
@@ -31,6 +35,7 @@ export declare namespace CompanyPlanDetailResponseData {
|
|
|
31
35
|
icon: string;
|
|
32
36
|
id: string;
|
|
33
37
|
included_credit_grants: PlanCreditGrantView.Raw[];
|
|
38
|
+
invalid_reason?: CompanyPlanInvalidReason.Raw | null;
|
|
34
39
|
is_custom: boolean;
|
|
35
40
|
is_default: boolean;
|
|
36
41
|
is_free: boolean;
|
|
@@ -38,7 +43,7 @@ export declare namespace CompanyPlanDetailResponseData {
|
|
|
38
43
|
monthly_price?: BillingPriceResponseData.Raw | null;
|
|
39
44
|
name: string;
|
|
40
45
|
one_time_price?: BillingPriceResponseData.Raw | null;
|
|
41
|
-
plan_type:
|
|
46
|
+
plan_type: PlanType.Raw;
|
|
42
47
|
trial_days?: number | null;
|
|
43
48
|
updated_at: string;
|
|
44
49
|
usage_violations: FeatureUsageResponseData.Raw[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const CompanyPlanInvalidReason: core.serialization.Schema<serializers.CompanyPlanInvalidReason.Raw, Schematic.CompanyPlanInvalidReason>;
|
|
8
|
+
export declare namespace CompanyPlanInvalidReason {
|
|
9
|
+
type Raw = "downgrade_not_permitted" | "feature_usage_exceeded";
|
|
10
|
+
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { PlanCreditGrantView } from "./PlanCreditGrantView";
|
|
7
8
|
export declare const CompanyPlanWithBillingSubView: core.serialization.ObjectSchema<serializers.CompanyPlanWithBillingSubView.Raw, Schematic.CompanyPlanWithBillingSubView>;
|
|
8
9
|
export declare namespace CompanyPlanWithBillingSubView {
|
|
9
10
|
interface Raw {
|
|
@@ -13,6 +14,7 @@ export declare namespace CompanyPlanWithBillingSubView {
|
|
|
13
14
|
description?: string | null;
|
|
14
15
|
id: string;
|
|
15
16
|
image_url?: string | null;
|
|
17
|
+
included_credit_grants: PlanCreditGrantView.Raw[];
|
|
16
18
|
name: string;
|
|
17
19
|
plan_period?: string | null;
|
|
18
20
|
plan_price?: number | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ComponentDisplaySettings: core.serialization.ObjectSchema<serializers.ComponentDisplaySettings.Raw, Schematic.ComponentDisplaySettings>;
|
|
8
|
+
export declare namespace ComponentDisplaySettings {
|
|
9
|
+
interface Raw {
|
|
10
|
+
show_as_monthly_prices: boolean;
|
|
11
|
+
show_credits: boolean;
|
|
12
|
+
show_period_toggle: boolean;
|
|
13
|
+
show_zero_price_as_free: boolean;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ComponentEntityType: core.serialization.Schema<serializers.ComponentEntityType.Raw, Schematic.ComponentEntityType>;
|
|
8
|
+
export declare namespace ComponentEntityType {
|
|
9
|
+
type Raw = "billing" | "entitlement";
|
|
10
|
+
}
|
|
@@ -14,6 +14,7 @@ import { ComponentResponseData } from "./ComponentResponseData";
|
|
|
14
14
|
import { BillingCreditBundleView } from "./BillingCreditBundleView";
|
|
15
15
|
import { CreditCompanyGrantView } from "./CreditCompanyGrantView";
|
|
16
16
|
import { PlanDetailResponseData } from "./PlanDetailResponseData";
|
|
17
|
+
import { ComponentDisplaySettings } from "./ComponentDisplaySettings";
|
|
17
18
|
import { FeatureUsageDetailResponseData } from "./FeatureUsageDetailResponseData";
|
|
18
19
|
import { StripeEmbedInfo } from "./StripeEmbedInfo";
|
|
19
20
|
import { CompanySubscriptionResponseData } from "./CompanySubscriptionResponseData";
|
|
@@ -32,8 +33,13 @@ export declare namespace ComponentHydrateResponseData {
|
|
|
32
33
|
credit_bundles: BillingCreditBundleView.Raw[];
|
|
33
34
|
credit_grants: CreditCompanyGrantView.Raw[];
|
|
34
35
|
default_plan?: PlanDetailResponseData.Raw | null;
|
|
36
|
+
display_settings: ComponentDisplaySettings.Raw;
|
|
35
37
|
feature_usage?: FeatureUsageDetailResponseData.Raw | null;
|
|
36
38
|
post_trial_plan?: PlanDetailResponseData.Raw | null;
|
|
39
|
+
prevent_self_service_downgrade: boolean;
|
|
40
|
+
prevent_self_service_downgrade_button_text?: string | null;
|
|
41
|
+
prevent_self_service_downgrade_url?: string | null;
|
|
42
|
+
show_as_monthly_prices: boolean;
|
|
37
43
|
show_credits: boolean;
|
|
38
44
|
show_period_toggle: boolean;
|
|
39
45
|
show_zero_price_as_free: boolean;
|
|
@@ -14,6 +14,7 @@ import { ComponentResponseData } from "./ComponentResponseData";
|
|
|
14
14
|
import { BillingCreditBundleView } from "./BillingCreditBundleView";
|
|
15
15
|
import { CreditCompanyGrantView } from "./CreditCompanyGrantView";
|
|
16
16
|
import { PlanDetailResponseData } from "./PlanDetailResponseData";
|
|
17
|
+
import { ComponentDisplaySettings } from "./ComponentDisplaySettings";
|
|
17
18
|
import { FeatureUsageDetailResponseData } from "./FeatureUsageDetailResponseData";
|
|
18
19
|
import { InvoiceResponseData } from "./InvoiceResponseData";
|
|
19
20
|
import { StripeEmbedInfo } from "./StripeEmbedInfo";
|
|
@@ -32,9 +33,14 @@ export declare namespace ComponentPreviewResponseData {
|
|
|
32
33
|
credit_bundles: BillingCreditBundleView.Raw[];
|
|
33
34
|
credit_grants: CreditCompanyGrantView.Raw[];
|
|
34
35
|
default_plan?: PlanDetailResponseData.Raw | null;
|
|
36
|
+
display_settings: ComponentDisplaySettings.Raw;
|
|
35
37
|
feature_usage?: FeatureUsageDetailResponseData.Raw | null;
|
|
36
38
|
invoices: InvoiceResponseData.Raw[];
|
|
37
39
|
post_trial_plan?: PlanDetailResponseData.Raw | null;
|
|
40
|
+
prevent_self_service_downgrade: boolean;
|
|
41
|
+
prevent_self_service_downgrade_button_text?: string | null;
|
|
42
|
+
prevent_self_service_downgrade_url?: string | null;
|
|
43
|
+
show_as_monthly_prices: boolean;
|
|
38
44
|
show_credits: boolean;
|
|
39
45
|
show_period_toggle: boolean;
|
|
40
46
|
show_zero_price_as_free: boolean;
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { ComponentState } from "./ComponentState";
|
|
8
|
+
import { ComponentEntityType } from "./ComponentEntityType";
|
|
7
9
|
export declare const ComponentResponseData: core.serialization.ObjectSchema<serializers.ComponentResponseData.Raw, Schematic.ComponentResponseData>;
|
|
8
10
|
export declare namespace ComponentResponseData {
|
|
9
11
|
interface Raw {
|
|
@@ -11,8 +13,8 @@ export declare namespace ComponentResponseData {
|
|
|
11
13
|
created_at: string;
|
|
12
14
|
id: string;
|
|
13
15
|
name: string;
|
|
14
|
-
state:
|
|
15
|
-
type:
|
|
16
|
+
state: ComponentState.Raw;
|
|
17
|
+
type: ComponentEntityType.Raw;
|
|
16
18
|
updated_at: string;
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ComponentSettingsResponseData: core.serialization.ObjectSchema<serializers.ComponentSettingsResponseData.Raw, Schematic.ComponentSettingsResponseData>;
|
|
8
|
+
export declare namespace ComponentSettingsResponseData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
show_as_monthly_prices: boolean;
|
|
11
|
+
show_credits: boolean;
|
|
12
|
+
show_period_toggle: boolean;
|
|
13
|
+
show_zero_price_as_free: boolean;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ComponentState: core.serialization.Schema<serializers.ComponentState.Raw, Schematic.ComponentState>;
|
|
8
|
+
export declare namespace ComponentState {
|
|
9
|
+
type Raw = "draft" | "live";
|
|
10
|
+
}
|
|
@@ -6,7 +6,7 @@ import * as Schematic from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { CreateEntitlementReqCommonMetricPeriod } from "./CreateEntitlementReqCommonMetricPeriod";
|
|
8
8
|
import { CreateEntitlementReqCommonMetricPeriodMonthReset } from "./CreateEntitlementReqCommonMetricPeriodMonthReset";
|
|
9
|
-
import {
|
|
9
|
+
import { EntitlementValueType } from "./EntitlementValueType";
|
|
10
10
|
export declare const CreateEntitlementReqCommon: core.serialization.ObjectSchema<serializers.CreateEntitlementReqCommon.Raw, Schematic.CreateEntitlementReqCommon>;
|
|
11
11
|
export declare namespace CreateEntitlementReqCommon {
|
|
12
12
|
interface Raw {
|
|
@@ -18,6 +18,6 @@ export declare namespace CreateEntitlementReqCommon {
|
|
|
18
18
|
value_credit_id?: string | null;
|
|
19
19
|
value_numeric?: number | null;
|
|
20
20
|
value_trait_id?: string | null;
|
|
21
|
-
value_type:
|
|
21
|
+
value_type: EntitlementValueType.Raw;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -5,12 +5,12 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { EventBody } from "./EventBody";
|
|
8
|
-
import {
|
|
8
|
+
import { EventType } from "./EventType";
|
|
9
9
|
export declare const CreateEventRequestBody: core.serialization.ObjectSchema<serializers.CreateEventRequestBody.Raw, Schematic.CreateEventRequestBody>;
|
|
10
10
|
export declare namespace CreateEventRequestBody {
|
|
11
11
|
interface Raw {
|
|
12
12
|
body?: EventBody.Raw | null;
|
|
13
|
-
event_type:
|
|
13
|
+
event_type: EventType.Raw;
|
|
14
14
|
sent_at?: string | null;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { FlagType } from "./FlagType";
|
|
7
8
|
export declare const CreateFlagRequestBody: core.serialization.ObjectSchema<serializers.CreateFlagRequestBody.Raw, Schematic.CreateFlagRequestBody>;
|
|
8
9
|
export declare namespace CreateFlagRequestBody {
|
|
9
10
|
interface Raw {
|
|
10
11
|
default_value: boolean;
|
|
11
12
|
description: string;
|
|
12
13
|
feature_id?: string | null;
|
|
13
|
-
flag_type:
|
|
14
|
+
flag_type: FlagType.Raw;
|
|
14
15
|
key: string;
|
|
15
16
|
maintainer_id?: string | null;
|
|
16
17
|
name: string;
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { FlagType } from "./FlagType";
|
|
7
8
|
export declare const CreateOrUpdateFlagRequestBody: core.serialization.ObjectSchema<serializers.CreateOrUpdateFlagRequestBody.Raw, Schematic.CreateOrUpdateFlagRequestBody>;
|
|
8
9
|
export declare namespace CreateOrUpdateFlagRequestBody {
|
|
9
10
|
interface Raw {
|
|
10
11
|
default_value: boolean;
|
|
11
12
|
description: string;
|
|
12
13
|
feature_id?: string | null;
|
|
13
|
-
flag_type:
|
|
14
|
+
flag_type: FlagType.Raw;
|
|
14
15
|
id?: string | null;
|
|
15
16
|
key: string;
|
|
16
17
|
maintainer_id?: string | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Schematic from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const CreditAutoTopupAmountType: core.serialization.Schema<serializers.CreditAutoTopupAmountType.Raw, Schematic.CreditAutoTopupAmountType>;
|
|
8
|
+
export declare namespace CreditAutoTopupAmountType {
|
|
9
|
+
type Raw = "credit";
|
|
10
|
+
}
|