@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.
- package/LICENSE +21 -0
- 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 +7 -2
- 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/DeleteCompanyRequest.d.ts +14 -0
- 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/client/requests/index.d.ts +1 -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/DeleteCompanyParams.d.ts +10 -0
- package/dist/api/resources/companies/types/DeleteCompanyResponse.d.ts +1 -1
- 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 +1 -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 +26 -4
- 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 +14 -6
- 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/DeleteBillingPlanCreditGrantRequest.d.ts +12 -0
- 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 +28 -0
- 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/client/requests/index.d.ts +2 -0
- 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/DeleteBillingPlanCreditGrantParams.d.ts +9 -0
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.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/UpdateBillingPlanCreditGrantResponse.d.ts +9 -0
- package/dist/api/resources/credits/types/index.d.ts +2 -30
- 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/{resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts → types/BillingPlanCreditGrantResetCadence.d.ts} +4 -4
- package/dist/api/types/BillingPlanCreditGrantResetStart.d.ts +8 -0
- package/dist/api/types/BillingPlanCreditGrantResetType.d.ts +8 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +13 -5
- 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/Condition.d.ts +4 -4
- package/dist/api/types/ConditionConditionType.d.ts +15 -0
- package/dist/api/types/ConditionMetricPeriod.d.ts +10 -0
- package/dist/api/types/ConditionMetricPeriodMonthReset.d.ts +8 -0
- package/dist/api/types/ConditionOperator.d.ts +14 -0
- 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 +12 -0
- package/dist/api/{resources/credits/types/ListCompanyGrantsRequestOrder.d.ts → types/CreditGrantSortOrder.d.ts} +2 -2
- package/dist/api/types/CreditLedgerEnrichedEntryResponseData.d.ts +1 -0
- 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/EntityType.d.ts +8 -0
- 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} +4 -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 +13 -5
- 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/Rule.d.ts +1 -1
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +1 -1
- package/dist/api/types/RuleConditionResponseData.d.ts +2 -1
- package/dist/api/types/RuleRuleType.d.ts +13 -0
- 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 +3 -2
- package/dist/api/types/TraitDefinitionComparableType.d.ts +10 -0
- 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 +88 -15
- 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/DeleteCompanyParams.d.ts +13 -0
- package/dist/serialization/resources/companies/types/DeleteCompanyResponse.d.ts +2 -1
- 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 +1 -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 +19 -10
- 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 +32 -0
- 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/client/requests/index.d.ts +1 -0
- 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/DeleteBillingPlanCreditGrantParams.d.ts +12 -0
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.d.ts +2 -1
- 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/UpdateBillingPlanCreditGrantResponse.d.ts +14 -0
- package/dist/serialization/resources/credits/types/index.d.ts +2 -30
- 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 +17 -5
- 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/Condition.d.ts +8 -4
- package/dist/serialization/types/ConditionConditionType.d.ts +10 -0
- package/dist/serialization/types/ConditionMetricPeriod.d.ts +10 -0
- package/dist/serialization/types/ConditionMetricPeriodMonthReset.d.ts +10 -0
- package/dist/serialization/types/ConditionOperator.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 +22 -0
- package/dist/serialization/types/CreditGrantSortOrder.d.ts +10 -0
- package/dist/serialization/types/CreditLedgerEnrichedEntryResponseData.d.ts +1 -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/PlanChangeAction.d.ts +10 -0
- 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 +17 -5
- 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/Rule.d.ts +2 -1
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/RuleConditionResponseData.d.ts +2 -1
- package/dist/serialization/types/RuleRuleType.d.ts +10 -0
- 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 +4 -2
- package/dist/serialization/types/TraitDefinitionComparableType.d.ts +10 -0
- 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 +88 -15
- package/package.json +2 -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/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -8
- 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/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/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/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/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/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/PlanChangeResponseDataAction.d.ts +0 -10
- package/dist/serialization/types/PlanChangeResponseDataActorType.d.ts +0 -10
- package/dist/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +0 -10
- package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -10
|
@@ -4,8 +4,9 @@
|
|
|
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 { EntitlementValueType } from "./EntitlementValueType";
|
|
8
8
|
import { CompanyDetailResponseData } from "./CompanyDetailResponseData";
|
|
9
|
+
import { EntitlementType } from "./EntitlementType";
|
|
9
10
|
import { FeatureDetailResponseData } from "./FeatureDetailResponseData";
|
|
10
11
|
import { PlanResponseData } from "./PlanResponseData";
|
|
11
12
|
import { UserResponseData } from "./UserResponseData";
|
|
@@ -14,10 +15,10 @@ export declare namespace FeatureCompanyUserResponseData {
|
|
|
14
15
|
interface Raw {
|
|
15
16
|
access: boolean;
|
|
16
17
|
allocation?: number | null;
|
|
17
|
-
allocation_type:
|
|
18
|
+
allocation_type: EntitlementValueType.Raw;
|
|
18
19
|
company?: CompanyDetailResponseData.Raw | null;
|
|
19
20
|
entitlement_id: string;
|
|
20
|
-
entitlement_type:
|
|
21
|
+
entitlement_type: EntitlementType.Raw;
|
|
21
22
|
feature?: FeatureDetailResponseData.Raw | null;
|
|
22
23
|
metric_reset_at?: string | null;
|
|
23
24
|
month_reset?: string | null;
|
|
@@ -5,7 +5,9 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { EventSummaryResponseData } from "./EventSummaryResponseData";
|
|
8
|
+
import { FeatureType } from "./FeatureType";
|
|
8
9
|
import { FlagDetailResponseData } from "./FlagDetailResponseData";
|
|
10
|
+
import { FeatureLifecyclePhase } from "./FeatureLifecyclePhase";
|
|
9
11
|
import { PreviewObject } from "./PreviewObject";
|
|
10
12
|
import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
|
|
11
13
|
export declare const FeatureDetailResponseData: core.serialization.ObjectSchema<serializers.FeatureDetailResponseData.Raw, Schematic.FeatureDetailResponseData>;
|
|
@@ -15,11 +17,11 @@ export declare namespace FeatureDetailResponseData {
|
|
|
15
17
|
description: string;
|
|
16
18
|
event_subtype?: string | null;
|
|
17
19
|
event_summary?: EventSummaryResponseData.Raw | null;
|
|
18
|
-
feature_type:
|
|
20
|
+
feature_type: FeatureType.Raw;
|
|
19
21
|
flags: FlagDetailResponseData.Raw[];
|
|
20
22
|
icon: string;
|
|
21
23
|
id: string;
|
|
22
|
-
lifecycle_phase?:
|
|
24
|
+
lifecycle_phase?: FeatureLifecyclePhase.Raw | null;
|
|
23
25
|
maintainer_id?: string | null;
|
|
24
26
|
name: string;
|
|
25
27
|
plans: PreviewObject.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 FeatureLifecyclePhase: core.serialization.Schema<serializers.FeatureLifecyclePhase.Raw, Schematic.FeatureLifecyclePhase>;
|
|
8
|
+
export declare namespace FeatureLifecyclePhase {
|
|
9
|
+
type Raw = "add_on" | "alpha" | "beta" | "deprecated" | "ga" | "inactive" | "in_plan" | "internal_testing" | "legacy";
|
|
10
|
+
}
|
|
@@ -4,16 +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 { FeatureType } from "./FeatureType";
|
|
8
|
+
import { FeatureLifecyclePhase } from "./FeatureLifecyclePhase";
|
|
7
9
|
export declare const FeatureResponseData: core.serialization.ObjectSchema<serializers.FeatureResponseData.Raw, Schematic.FeatureResponseData>;
|
|
8
10
|
export declare namespace FeatureResponseData {
|
|
9
11
|
interface Raw {
|
|
10
12
|
created_at: string;
|
|
11
13
|
description: string;
|
|
12
14
|
event_subtype?: string | null;
|
|
13
|
-
feature_type:
|
|
15
|
+
feature_type: FeatureType.Raw;
|
|
14
16
|
icon: string;
|
|
15
17
|
id: string;
|
|
16
|
-
lifecycle_phase?:
|
|
18
|
+
lifecycle_phase?: FeatureLifecyclePhase.Raw | null;
|
|
17
19
|
maintainer_id?: string | null;
|
|
18
20
|
name: string;
|
|
19
21
|
plural_name?: 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 FeatureType: core.serialization.Schema<serializers.FeatureType.Raw, Schematic.FeatureType>;
|
|
8
|
+
export declare namespace FeatureType {
|
|
9
|
+
type Raw = "boolean" | "event" | "trait";
|
|
10
|
+
}
|
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { CreditUsageResponseData } from "./CreditUsageResponseData";
|
|
8
|
+
import { FeatureType } from "./FeatureType";
|
|
8
9
|
import { BillingPriceView } from "./BillingPriceView";
|
|
9
10
|
export declare const FeatureUsageDataResponseData: core.serialization.ObjectSchema<serializers.FeatureUsageDataResponseData.Raw, Schematic.FeatureUsageDataResponseData>;
|
|
10
11
|
export declare namespace FeatureUsageDataResponseData {
|
|
@@ -15,7 +16,7 @@ export declare namespace FeatureUsageDataResponseData {
|
|
|
15
16
|
entitlement_value_type: string;
|
|
16
17
|
feature_id: string;
|
|
17
18
|
feature_name: string;
|
|
18
|
-
feature_type:
|
|
19
|
+
feature_type: FeatureType.Raw;
|
|
19
20
|
hard_limit: string;
|
|
20
21
|
has_access: boolean;
|
|
21
22
|
metric_reset_at?: string | null;
|
|
@@ -4,25 +4,27 @@
|
|
|
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 { EntitlementValueType } from "./EntitlementValueType";
|
|
8
8
|
import { CompanyOverrideResponseData } from "./CompanyOverrideResponseData";
|
|
9
9
|
import { CreditGrantDetail } from "./CreditGrantDetail";
|
|
10
|
-
import {
|
|
10
|
+
import { BillingCreditGrantReason } from "./BillingCreditGrantReason";
|
|
11
|
+
import { EntitlementType } from "./EntitlementType";
|
|
11
12
|
import { FeatureDetailResponseData } from "./FeatureDetailResponseData";
|
|
12
13
|
import { BillingPriceView } from "./BillingPriceView";
|
|
13
14
|
import { PlanResponseData } from "./PlanResponseData";
|
|
14
15
|
import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
16
|
+
import { EntitlementPriceBehavior } from "./EntitlementPriceBehavior";
|
|
15
17
|
export declare const FeatureUsageResponseData: core.serialization.ObjectSchema<serializers.FeatureUsageResponseData.Raw, Schematic.FeatureUsageResponseData>;
|
|
16
18
|
export declare namespace FeatureUsageResponseData {
|
|
17
19
|
interface Raw {
|
|
18
20
|
access: boolean;
|
|
19
21
|
allocation?: number | null;
|
|
20
|
-
allocation_type:
|
|
22
|
+
allocation_type: EntitlementValueType.Raw;
|
|
21
23
|
company_override?: CompanyOverrideResponseData.Raw | null;
|
|
22
24
|
credit_consumption_rate?: number | null;
|
|
23
25
|
credit_grant_counts?: Record<string, number> | null;
|
|
24
26
|
credit_grant_details?: CreditGrantDetail.Raw[] | null;
|
|
25
|
-
credit_grant_reason?:
|
|
27
|
+
credit_grant_reason?: BillingCreditGrantReason.Raw | null;
|
|
26
28
|
credit_remaining?: number | null;
|
|
27
29
|
credit_total?: number | null;
|
|
28
30
|
credit_type_icon?: string | null;
|
|
@@ -32,7 +34,7 @@ export declare namespace FeatureUsageResponseData {
|
|
|
32
34
|
entitlement_expiration_date?: string | null;
|
|
33
35
|
entitlement_id: string;
|
|
34
36
|
entitlement_source?: string | null;
|
|
35
|
-
entitlement_type:
|
|
37
|
+
entitlement_type: EntitlementType.Raw;
|
|
36
38
|
feature?: FeatureDetailResponseData.Raw | null;
|
|
37
39
|
has_valid_allocation?: boolean | null;
|
|
38
40
|
is_unlimited?: boolean | null;
|
|
@@ -44,7 +46,7 @@ export declare namespace FeatureUsageResponseData {
|
|
|
44
46
|
period?: string | null;
|
|
45
47
|
plan?: PlanResponseData.Raw | null;
|
|
46
48
|
plan_entitlement?: PlanEntitlementResponseData.Raw | null;
|
|
47
|
-
price_behavior?:
|
|
49
|
+
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
48
50
|
soft_limit?: number | null;
|
|
49
51
|
usage?: number | null;
|
|
50
52
|
yearly_usage_based_price?: BillingPriceView.Raw | null;
|
|
@@ -5,6 +5,7 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { FeatureResponseData } from "./FeatureResponseData";
|
|
8
|
+
import { FlagType } from "./FlagType";
|
|
8
9
|
import { RuleDetailResponseData } from "./RuleDetailResponseData";
|
|
9
10
|
export declare const FlagDetailResponseData: core.serialization.ObjectSchema<serializers.FlagDetailResponseData.Raw, Schematic.FlagDetailResponseData>;
|
|
10
11
|
export declare namespace FlagDetailResponseData {
|
|
@@ -14,7 +15,7 @@ export declare namespace FlagDetailResponseData {
|
|
|
14
15
|
description: string;
|
|
15
16
|
feature?: FeatureResponseData.Raw | null;
|
|
16
17
|
feature_id?: string | null;
|
|
17
|
-
flag_type:
|
|
18
|
+
flag_type: FlagType.Raw;
|
|
18
19
|
id: string;
|
|
19
20
|
key: string;
|
|
20
21
|
last_checked_at?: string | null;
|
|
@@ -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 { FlagType } from "./FlagType";
|
|
7
8
|
export declare const FlagResponseData: core.serialization.ObjectSchema<serializers.FlagResponseData.Raw, Schematic.FlagResponseData>;
|
|
8
9
|
export declare namespace FlagResponseData {
|
|
9
10
|
interface Raw {
|
|
@@ -11,7 +12,7 @@ export declare namespace FlagResponseData {
|
|
|
11
12
|
default_value: boolean;
|
|
12
13
|
description: string;
|
|
13
14
|
feature_id?: string | null;
|
|
14
|
-
flag_type:
|
|
15
|
+
flag_type: FlagType.Raw;
|
|
15
16
|
id: string;
|
|
16
17
|
key: string;
|
|
17
18
|
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 FlagType: core.serialization.Schema<serializers.FlagType.Raw, Schematic.FlagType>;
|
|
8
|
+
export declare namespace FlagType {
|
|
9
|
+
type Raw = "boolean";
|
|
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 { TemporaryAccessTokenResourceType } from "./TemporaryAccessTokenResourceType";
|
|
7
8
|
export declare const IssueTemporaryAccessTokenResponseData: core.serialization.ObjectSchema<serializers.IssueTemporaryAccessTokenResponseData.Raw, Schematic.IssueTemporaryAccessTokenResponseData>;
|
|
8
9
|
export declare namespace IssueTemporaryAccessTokenResponseData {
|
|
9
10
|
interface Raw {
|
|
@@ -12,7 +13,7 @@ export declare namespace IssueTemporaryAccessTokenResponseData {
|
|
|
12
13
|
environment_id: string;
|
|
13
14
|
expired_at: string;
|
|
14
15
|
id: string;
|
|
15
|
-
resource_type:
|
|
16
|
+
resource_type: TemporaryAccessTokenResourceType.Raw;
|
|
16
17
|
token: string;
|
|
17
18
|
updated_at: string;
|
|
18
19
|
}
|
|
@@ -13,11 +13,14 @@ export declare namespace ManagePlanRequest {
|
|
|
13
13
|
add_on_selections: PlanSelection.Raw[];
|
|
14
14
|
base_plan_id?: string | null;
|
|
15
15
|
base_plan_price_id?: string | null;
|
|
16
|
+
cancel_immediately?: boolean | null;
|
|
16
17
|
company_id: string;
|
|
17
18
|
coupon_external_id?: string | null;
|
|
18
19
|
credit_bundles: UpdateCreditBundleRequestBody.Raw[];
|
|
19
20
|
pay_in_advance_entitlements: UpdatePayInAdvanceRequestBody.Raw[];
|
|
20
21
|
payment_method_external_id?: string | null;
|
|
21
22
|
promo_code?: string | null;
|
|
23
|
+
prorate?: boolean | null;
|
|
24
|
+
trial_end?: string | null;
|
|
22
25
|
}
|
|
23
26
|
}
|
|
@@ -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 PlanChangeAction: core.serialization.Schema<serializers.PlanChangeAction.Raw, Schematic.PlanChangeAction>;
|
|
8
|
+
export declare namespace PlanChangeAction {
|
|
9
|
+
type Raw = "checkout" | "company_upsert" | "fallback_plan" | "manage_plan" | "migration" | "plan_billing_product_changed" | "plan_deleted" | "plan_trait_change" | "quickstart" | "subscription_change";
|
|
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 PlanChangeActorType: core.serialization.Schema<serializers.PlanChangeActorType.Raw, Schematic.PlanChangeActorType>;
|
|
8
|
+
export declare namespace PlanChangeActorType {
|
|
9
|
+
type Raw = "api_key" | "app_user" | "system" | "temporary_access_token";
|
|
10
|
+
}
|
|
@@ -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 PlanChangeBasePlanAction: core.serialization.Schema<serializers.PlanChangeBasePlanAction.Raw, Schematic.PlanChangeBasePlanAction>;
|
|
8
|
+
export declare namespace PlanChangeBasePlanAction {
|
|
9
9
|
type Raw = "fallback" | "initial" | "trait" | "trial_expiry";
|
|
10
10
|
}
|
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Schematic from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { PlanChangeAction } from "./PlanChangeAction";
|
|
8
|
+
import { PlanChangeActorType } from "./PlanChangeActorType";
|
|
9
9
|
import { PlanSnapshotView } from "./PlanSnapshotView";
|
|
10
10
|
import { ApiKeyResponseData } from "./ApiKeyResponseData";
|
|
11
11
|
import { ApiKeyRequestListResponseData } from "./ApiKeyRequestListResponseData";
|
|
12
|
-
import {
|
|
12
|
+
import { PlanChangeBasePlanAction } from "./PlanChangeBasePlanAction";
|
|
13
13
|
import { CompanyResponseData } from "./CompanyResponseData";
|
|
14
|
-
import {
|
|
14
|
+
import { PlanChangeSubscriptionAction } from "./PlanChangeSubscriptionAction";
|
|
15
15
|
import { SubscriptionTraitUpdate } from "./SubscriptionTraitUpdate";
|
|
16
16
|
export declare const PlanChangeResponseData: core.serialization.ObjectSchema<serializers.PlanChangeResponseData.Raw, Schematic.PlanChangeResponseData>;
|
|
17
17
|
export declare namespace PlanChangeResponseData {
|
|
18
18
|
interface Raw {
|
|
19
|
-
action:
|
|
20
|
-
actor_type:
|
|
19
|
+
action: PlanChangeAction.Raw;
|
|
20
|
+
actor_type: PlanChangeActorType.Raw;
|
|
21
21
|
add_ons_added: PlanSnapshotView.Raw[];
|
|
22
22
|
add_ons_removed: PlanSnapshotView.Raw[];
|
|
23
23
|
api_key?: ApiKeyResponseData.Raw | null;
|
|
24
24
|
api_key_request?: ApiKeyRequestListResponseData.Raw | null;
|
|
25
25
|
base_plan?: PlanSnapshotView.Raw | null;
|
|
26
|
-
base_plan_action?:
|
|
26
|
+
base_plan_action?: PlanChangeBasePlanAction.Raw | null;
|
|
27
27
|
company?: CompanyResponseData.Raw | null;
|
|
28
28
|
company_id: string;
|
|
29
29
|
created_at: string;
|
|
@@ -31,7 +31,7 @@ export declare namespace PlanChangeResponseData {
|
|
|
31
31
|
id: string;
|
|
32
32
|
previous_base_plan?: PlanSnapshotView.Raw | null;
|
|
33
33
|
request_id?: string | null;
|
|
34
|
-
subscription_change_action?:
|
|
34
|
+
subscription_change_action?: PlanChangeSubscriptionAction.Raw | null;
|
|
35
35
|
traits_updated: SubscriptionTraitUpdate.Raw[];
|
|
36
36
|
updated_at: string;
|
|
37
37
|
user_id?: string | null;
|
|
@@ -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 PlanChangeSubscriptionAction: core.serialization.Schema<serializers.PlanChangeSubscriptionAction.Raw, Schematic.PlanChangeSubscriptionAction>;
|
|
8
|
+
export declare namespace PlanChangeSubscriptionAction {
|
|
9
9
|
type Raw = "downgrade" | "invalid" | "subscribe" | "unsubscribe" | "upgrade" | "upgrade_trial";
|
|
10
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 PlanControlledByType: core.serialization.Schema<serializers.PlanControlledByType.Raw, Schematic.PlanControlledByType>;
|
|
8
|
+
export declare namespace PlanControlledByType {
|
|
9
|
+
type Raw = "schematic" | "stripe";
|
|
10
|
+
}
|
|
@@ -4,25 +4,37 @@
|
|
|
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 PlanCreditGrantView: core.serialization.ObjectSchema<serializers.PlanCreditGrantView.Raw, Schematic.PlanCreditGrantView>;
|
|
8
13
|
export declare namespace PlanCreditGrantView {
|
|
9
14
|
interface Raw {
|
|
15
|
+
billing_credit_auto_topup_amount?: number | null;
|
|
16
|
+
billing_credit_auto_topup_amount_type?: string | null;
|
|
17
|
+
billing_credit_auto_topup_enabled: boolean;
|
|
18
|
+
billing_credit_auto_topup_expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
19
|
+
billing_credit_auto_topup_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
20
|
+
billing_credit_auto_topup_expiry_unit_count?: number | null;
|
|
21
|
+
billing_credit_auto_topup_threshold_percent?: number | null;
|
|
10
22
|
created_at: string;
|
|
11
23
|
credit_amount: number;
|
|
12
24
|
credit_description: string;
|
|
13
25
|
credit_icon?: string | null;
|
|
14
26
|
credit_id: string;
|
|
15
27
|
credit_name: string;
|
|
16
|
-
expiry_type?:
|
|
17
|
-
expiry_unit?:
|
|
28
|
+
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
29
|
+
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
18
30
|
expiry_unit_count?: number | null;
|
|
19
31
|
id: string;
|
|
20
32
|
plan_id: string;
|
|
21
33
|
plan_name: string;
|
|
22
34
|
plural_name?: string | null;
|
|
23
|
-
reset_cadence:
|
|
24
|
-
reset_start:
|
|
25
|
-
reset_type:
|
|
35
|
+
reset_cadence: BillingPlanCreditGrantResetCadence.Raw;
|
|
36
|
+
reset_start: BillingPlanCreditGrantResetStart.Raw;
|
|
37
|
+
reset_type: BillingPlanCreditGrantResetType.Raw;
|
|
26
38
|
singular_name?: string | null;
|
|
27
39
|
updated_at: string;
|
|
28
40
|
}
|
|
@@ -5,17 +5,20 @@ 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 { FeatureDetailResponseData } from "./FeatureDetailResponseData";
|
|
9
11
|
import { BillingPlanCreditGrantResponseData } from "./BillingPlanCreditGrantResponseData";
|
|
10
12
|
import { BillingPriceResponseData } from "./BillingPriceResponseData";
|
|
13
|
+
import { PlanType } from "./PlanType";
|
|
11
14
|
export declare const PlanDetailResponseData: core.serialization.ObjectSchema<serializers.PlanDetailResponseData.Raw, Schematic.PlanDetailResponseData>;
|
|
12
15
|
export declare namespace PlanDetailResponseData {
|
|
13
16
|
interface Raw {
|
|
14
17
|
audience_type?: string | null;
|
|
15
18
|
billing_product?: BillingProductDetailResponseData.Raw | null;
|
|
16
|
-
charge_type:
|
|
19
|
+
charge_type: ChargeType.Raw;
|
|
17
20
|
company_count: number;
|
|
18
|
-
controlled_by:
|
|
21
|
+
controlled_by: PlanControlledByType.Raw;
|
|
19
22
|
created_at: string;
|
|
20
23
|
description: string;
|
|
21
24
|
features: FeatureDetailResponseData.Raw[];
|
|
@@ -28,7 +31,7 @@ export declare namespace PlanDetailResponseData {
|
|
|
28
31
|
monthly_price?: BillingPriceResponseData.Raw | null;
|
|
29
32
|
name: string;
|
|
30
33
|
one_time_price?: BillingPriceResponseData.Raw | null;
|
|
31
|
-
plan_type:
|
|
34
|
+
plan_type: PlanType.Raw;
|
|
32
35
|
trial_days?: number | null;
|
|
33
36
|
updated_at: string;
|
|
34
37
|
yearly_price?: BillingPriceResponseData.Raw | null;
|
|
@@ -7,9 +7,11 @@ import * as core from "../../core";
|
|
|
7
7
|
import { FeatureResponseData } from "./FeatureResponseData";
|
|
8
8
|
import { BillingPriceView } from "./BillingPriceView";
|
|
9
9
|
import { PlanResponseData } from "./PlanResponseData";
|
|
10
|
+
import { EntitlementPriceBehavior } from "./EntitlementPriceBehavior";
|
|
10
11
|
import { BillingProductResponseData } from "./BillingProductResponseData";
|
|
11
12
|
import { BillingCreditResponseData } from "./BillingCreditResponseData";
|
|
12
13
|
import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
|
|
14
|
+
import { EntitlementValueType } from "./EntitlementValueType";
|
|
13
15
|
export declare const PlanEntitlementResponseData: core.serialization.ObjectSchema<serializers.PlanEntitlementResponseData.Raw, Schematic.PlanEntitlementResponseData>;
|
|
14
16
|
export declare namespace PlanEntitlementResponseData {
|
|
15
17
|
interface Raw {
|
|
@@ -26,7 +28,7 @@ export declare namespace PlanEntitlementResponseData {
|
|
|
26
28
|
metric_period_month_reset?: string | null;
|
|
27
29
|
plan?: PlanResponseData.Raw | null;
|
|
28
30
|
plan_id: string;
|
|
29
|
-
price_behavior?:
|
|
31
|
+
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
30
32
|
rule_id: string;
|
|
31
33
|
rule_id_usage_exceeded?: string | null;
|
|
32
34
|
soft_limit?: number | null;
|
|
@@ -37,6 +39,6 @@ export declare namespace PlanEntitlementResponseData {
|
|
|
37
39
|
value_numeric?: number | null;
|
|
38
40
|
value_trait?: EntityTraitDefinitionResponseData.Raw | null;
|
|
39
41
|
value_trait_id?: string | null;
|
|
40
|
-
value_type:
|
|
42
|
+
value_type: EntitlementValueType.Raw;
|
|
41
43
|
}
|
|
42
44
|
}
|
|
@@ -6,8 +6,9 @@ import * as Schematic from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { PlanGroupPlanDetailResponseData } from "./PlanGroupPlanDetailResponseData";
|
|
8
8
|
import { CheckoutSettingsResponseData } from "./CheckoutSettingsResponseData";
|
|
9
|
+
import { ComponentSettingsResponseData } from "./ComponentSettingsResponseData";
|
|
9
10
|
import { CustomPlanViewConfigResponseData } from "./CustomPlanViewConfigResponseData";
|
|
10
|
-
import {
|
|
11
|
+
import { BillingPriceView } from "./BillingPriceView";
|
|
11
12
|
import { PlanGroupPlanEntitlementsOrder } from "./PlanGroupPlanEntitlementsOrder";
|
|
12
13
|
import { PlanGroupBundleOrder } from "./PlanGroupBundleOrder";
|
|
13
14
|
export declare const PlanGroupDetailResponseData: core.serialization.ObjectSchema<serializers.PlanGroupDetailResponseData.Raw, Schematic.PlanGroupDetailResponseData>;
|
|
@@ -15,6 +16,7 @@ export declare namespace PlanGroupDetailResponseData {
|
|
|
15
16
|
interface Raw {
|
|
16
17
|
add_ons: PlanGroupPlanDetailResponseData.Raw[];
|
|
17
18
|
checkout_settings: CheckoutSettingsResponseData.Raw;
|
|
19
|
+
component_settings: ComponentSettingsResponseData.Raw;
|
|
18
20
|
custom_plan_config?: CustomPlanViewConfigResponseData.Raw | null;
|
|
19
21
|
custom_plan_id?: string | null;
|
|
20
22
|
default_plan?: PlanGroupPlanDetailResponseData.Raw | null;
|
|
@@ -24,22 +26,27 @@ export declare namespace PlanGroupDetailResponseData {
|
|
|
24
26
|
id: string;
|
|
25
27
|
initial_plan?: PlanGroupPlanDetailResponseData.Raw | null;
|
|
26
28
|
initial_plan_id?: string | null;
|
|
27
|
-
initial_plan_price?:
|
|
29
|
+
initial_plan_price?: BillingPriceView.Raw | null;
|
|
28
30
|
initial_plan_price_id?: string | null;
|
|
29
31
|
ordered_add_on_list: PlanGroupPlanEntitlementsOrder.Raw[];
|
|
30
32
|
ordered_bundle_list: PlanGroupBundleOrder.Raw[];
|
|
31
33
|
ordered_plan_list: PlanGroupPlanEntitlementsOrder.Raw[];
|
|
32
34
|
plans: PlanGroupPlanDetailResponseData.Raw[];
|
|
33
35
|
prevent_downgrades_when_over_limit: boolean;
|
|
36
|
+
prevent_self_service_downgrade: boolean;
|
|
37
|
+
prevent_self_service_downgrade_button_text?: string | null;
|
|
38
|
+
prevent_self_service_downgrade_url?: string | null;
|
|
39
|
+
proration_behavior: string;
|
|
40
|
+
show_as_monthly_prices: boolean;
|
|
34
41
|
show_credits: boolean;
|
|
35
42
|
show_period_toggle: boolean;
|
|
36
43
|
show_zero_price_as_free: boolean;
|
|
37
|
-
|
|
44
|
+
sync_customer_billing_details: boolean;
|
|
38
45
|
tax_collection_enabled: boolean;
|
|
39
46
|
trial_days?: number | null;
|
|
40
47
|
trial_expiry_plan?: PlanGroupPlanDetailResponseData.Raw | null;
|
|
41
48
|
trial_expiry_plan_id?: string | null;
|
|
42
|
-
trial_expiry_plan_price?:
|
|
49
|
+
trial_expiry_plan_price?: BillingPriceView.Raw | null;
|
|
43
50
|
trial_expiry_plan_price_id?: string | null;
|
|
44
51
|
trial_payment_method_required?: boolean | null;
|
|
45
52
|
}
|
|
@@ -5,20 +5,23 @@ 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 { CustomPlanViewConfigResponseData } from "./CustomPlanViewConfigResponseData";
|
|
9
11
|
import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
10
12
|
import { FeatureDetailResponseData } from "./FeatureDetailResponseData";
|
|
11
13
|
import { BillingPlanCreditGrantResponseData } from "./BillingPlanCreditGrantResponseData";
|
|
12
14
|
import { BillingPriceResponseData } from "./BillingPriceResponseData";
|
|
15
|
+
import { PlanType } from "./PlanType";
|
|
13
16
|
export declare const PlanGroupPlanDetailResponseData: core.serialization.ObjectSchema<serializers.PlanGroupPlanDetailResponseData.Raw, Schematic.PlanGroupPlanDetailResponseData>;
|
|
14
17
|
export declare namespace PlanGroupPlanDetailResponseData {
|
|
15
18
|
interface Raw {
|
|
16
19
|
audience_type?: string | null;
|
|
17
20
|
billing_product?: BillingProductDetailResponseData.Raw | null;
|
|
18
|
-
charge_type:
|
|
21
|
+
charge_type: ChargeType.Raw;
|
|
19
22
|
company_count: number;
|
|
20
23
|
compatible_plan_ids: string[];
|
|
21
|
-
controlled_by:
|
|
24
|
+
controlled_by: PlanControlledByType.Raw;
|
|
22
25
|
created_at: string;
|
|
23
26
|
custom_plan_config?: CustomPlanViewConfigResponseData.Raw | null;
|
|
24
27
|
description: string;
|
|
@@ -34,7 +37,7 @@ export declare namespace PlanGroupPlanDetailResponseData {
|
|
|
34
37
|
monthly_price?: BillingPriceResponseData.Raw | null;
|
|
35
38
|
name: string;
|
|
36
39
|
one_time_price?: BillingPriceResponseData.Raw | null;
|
|
37
|
-
plan_type:
|
|
40
|
+
plan_type: PlanType.Raw;
|
|
38
41
|
trial_days?: number | null;
|
|
39
42
|
updated_at: string;
|
|
40
43
|
yearly_price?: BillingPriceResponseData.Raw | null;
|
|
@@ -6,6 +6,7 @@ import * as Schematic from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { CompatiblePlansResponseData } from "./CompatiblePlansResponseData";
|
|
8
8
|
import { CheckoutSettingsResponseData } from "./CheckoutSettingsResponseData";
|
|
9
|
+
import { ComponentSettingsResponseData } from "./ComponentSettingsResponseData";
|
|
9
10
|
import { OrderedPlansInGroup } from "./OrderedPlansInGroup";
|
|
10
11
|
export declare const PlanGroupResponseData: core.serialization.ObjectSchema<serializers.PlanGroupResponseData.Raw, Schematic.PlanGroupResponseData>;
|
|
11
12
|
export declare namespace PlanGroupResponseData {
|
|
@@ -13,6 +14,7 @@ export declare namespace PlanGroupResponseData {
|
|
|
13
14
|
add_on_compatibilities: CompatiblePlansResponseData.Raw[];
|
|
14
15
|
add_on_ids: string[];
|
|
15
16
|
checkout_settings: CheckoutSettingsResponseData.Raw;
|
|
17
|
+
component_settings: ComponentSettingsResponseData.Raw;
|
|
16
18
|
default_plan_id?: string | null;
|
|
17
19
|
fallback_plan_id?: string | null;
|
|
18
20
|
id: string;
|
|
@@ -21,10 +23,15 @@ export declare namespace PlanGroupResponseData {
|
|
|
21
23
|
ordered_add_on_ids: OrderedPlansInGroup.Raw[];
|
|
22
24
|
plan_ids: OrderedPlansInGroup.Raw[];
|
|
23
25
|
prevent_downgrades_when_over_limit: boolean;
|
|
26
|
+
prevent_self_service_downgrade: boolean;
|
|
27
|
+
prevent_self_service_downgrade_button_text?: string | null;
|
|
28
|
+
prevent_self_service_downgrade_url?: string | null;
|
|
29
|
+
proration_behavior: string;
|
|
30
|
+
show_as_monthly_prices: boolean;
|
|
24
31
|
show_credits: boolean;
|
|
25
32
|
show_period_toggle: boolean;
|
|
26
33
|
show_zero_price_as_free: boolean;
|
|
27
|
-
|
|
34
|
+
sync_customer_billing_details: boolean;
|
|
28
35
|
tax_collection_enabled: boolean;
|
|
29
36
|
trial_days?: number | null;
|
|
30
37
|
trial_expiry_plan_id?: string | null;
|
|
@@ -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 { PlanType } from "./PlanType";
|
|
7
8
|
export declare const PlanResponseData: core.serialization.ObjectSchema<serializers.PlanResponseData.Raw, Schematic.PlanResponseData>;
|
|
8
9
|
export declare namespace PlanResponseData {
|
|
9
10
|
interface Raw {
|
|
@@ -13,7 +14,7 @@ export declare namespace PlanResponseData {
|
|
|
13
14
|
icon: string;
|
|
14
15
|
id: string;
|
|
15
16
|
name: string;
|
|
16
|
-
plan_type:
|
|
17
|
+
plan_type: PlanType.Raw;
|
|
17
18
|
updated_at: string;
|
|
18
19
|
}
|
|
19
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 PlanType: core.serialization.Schema<serializers.PlanType.Raw, Schematic.PlanType>;
|
|
8
|
+
export declare namespace PlanType {
|
|
9
|
+
type Raw = "plan" | "add_on";
|
|
10
|
+
}
|
|
@@ -18,6 +18,7 @@ export declare namespace PreviewSubscriptionFinanceResponseData {
|
|
|
18
18
|
tax_amount?: number | null;
|
|
19
19
|
tax_display_name?: string | null;
|
|
20
20
|
tax_require_billing_details: boolean;
|
|
21
|
+
total_per_billing_period: number;
|
|
21
22
|
trial_end?: string | null;
|
|
22
23
|
upcoming_invoice_line_items: PreviewSubscriptionUpcomingInvoiceLineItems.Raw[];
|
|
23
24
|
}
|
|
@@ -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 ProrationBehavior: core.serialization.Schema<serializers.ProrationBehavior.Raw, Schematic.ProrationBehavior>;
|
|
8
|
+
export declare namespace ProrationBehavior {
|
|
9
|
+
type Raw = "create_prorations" | "invoice_immediately";
|
|
10
|
+
}
|