@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
|
@@ -368,6 +368,24 @@ export declare class Entitlements {
|
|
|
368
368
|
*/
|
|
369
369
|
countPlanEntitlements(request?: Schematic.CountPlanEntitlementsRequest, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.CountPlanEntitlementsResponse>;
|
|
370
370
|
private __countPlanEntitlements;
|
|
371
|
+
/**
|
|
372
|
+
* @param {Schematic.DuplicatePlanEntitlementsRequestBody} request
|
|
373
|
+
* @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
|
|
374
|
+
*
|
|
375
|
+
* @throws {@link Schematic.BadRequestError}
|
|
376
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
377
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
378
|
+
* @throws {@link Schematic.NotFoundError}
|
|
379
|
+
* @throws {@link Schematic.InternalServerError}
|
|
380
|
+
*
|
|
381
|
+
* @example
|
|
382
|
+
* await client.entitlements.duplicatePlanEntitlements({
|
|
383
|
+
* sourcePlanId: "source_plan_id",
|
|
384
|
+
* targetPlanId: "target_plan_id"
|
|
385
|
+
* })
|
|
386
|
+
*/
|
|
387
|
+
duplicatePlanEntitlements(request: Schematic.DuplicatePlanEntitlementsRequestBody, requestOptions?: Entitlements.RequestOptions): core.HttpResponsePromise<Schematic.DuplicatePlanEntitlementsResponse>;
|
|
388
|
+
private __duplicatePlanEntitlements;
|
|
371
389
|
/**
|
|
372
390
|
* @param {Schematic.GetFeatureUsageByCompanyRequest} request
|
|
373
391
|
* @param {Entitlements.RequestOptions} requestOptions - Request-specific configuration.
|
package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts
CHANGED
|
@@ -24,16 +24,16 @@ export interface CreatePlanEntitlementRequestBody {
|
|
|
24
24
|
monthlyUnitPriceDecimal?: string;
|
|
25
25
|
overageBillingProductId?: string;
|
|
26
26
|
planId: string;
|
|
27
|
-
priceBehavior?: Schematic.
|
|
27
|
+
priceBehavior?: Schematic.EntitlementPriceBehavior;
|
|
28
28
|
/** Use MonthlyPriceTiers or YearlyPriceTiers instead */
|
|
29
29
|
priceTiers?: Schematic.CreatePriceTierRequestBody[];
|
|
30
30
|
softLimit?: number;
|
|
31
|
-
tierMode?:
|
|
31
|
+
tierMode?: Schematic.BillingTiersMode;
|
|
32
32
|
valueBool?: boolean;
|
|
33
33
|
valueCreditId?: string;
|
|
34
34
|
valueNumeric?: number;
|
|
35
35
|
valueTraitId?: string;
|
|
36
|
-
valueType: Schematic.
|
|
36
|
+
valueType: Schematic.EntitlementValueType;
|
|
37
37
|
yearlyMeteredPriceId?: string;
|
|
38
38
|
yearlyPriceTiers?: Schematic.CreatePriceTierRequestBody[];
|
|
39
39
|
yearlyUnitPrice?: number;
|
package/dist/api/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* sourcePlanId: "source_plan_id",
|
|
8
|
+
* targetPlanId: "target_plan_id"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface DuplicatePlanEntitlementsRequestBody {
|
|
12
|
+
sourcePlanId: string;
|
|
13
|
+
targetPlanId: string;
|
|
14
|
+
}
|
package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts
CHANGED
|
@@ -20,16 +20,16 @@ export interface UpdatePlanEntitlementRequestBody {
|
|
|
20
20
|
monthlyUnitPrice?: number;
|
|
21
21
|
monthlyUnitPriceDecimal?: string;
|
|
22
22
|
overageBillingProductId?: string;
|
|
23
|
-
priceBehavior?: Schematic.
|
|
23
|
+
priceBehavior?: Schematic.EntitlementPriceBehavior;
|
|
24
24
|
/** Use MonthlyPriceTiers or YearlyPriceTiers instead */
|
|
25
25
|
priceTiers?: Schematic.CreatePriceTierRequestBody[];
|
|
26
26
|
softLimit?: number;
|
|
27
|
-
tierMode?:
|
|
27
|
+
tierMode?: Schematic.BillingTiersMode;
|
|
28
28
|
valueBool?: boolean;
|
|
29
29
|
valueCreditId?: string;
|
|
30
30
|
valueNumeric?: number;
|
|
31
31
|
valueTraitId?: string;
|
|
32
|
-
valueType: Schematic.
|
|
32
|
+
valueType: Schematic.EntitlementValueType;
|
|
33
33
|
yearlyMeteredPriceId?: string;
|
|
34
34
|
yearlyPriceTiers?: Schematic.CreatePriceTierRequestBody[];
|
|
35
35
|
yearlyUnitPrice?: number;
|
|
@@ -12,4 +12,5 @@ export { type ListPlanEntitlementsRequest } from "./ListPlanEntitlementsRequest"
|
|
|
12
12
|
export { type CreatePlanEntitlementRequestBody } from "./CreatePlanEntitlementRequestBody";
|
|
13
13
|
export { type UpdatePlanEntitlementRequestBody } from "./UpdatePlanEntitlementRequestBody";
|
|
14
14
|
export { type CountPlanEntitlementsRequest } from "./CountPlanEntitlementsRequest";
|
|
15
|
+
export { type DuplicatePlanEntitlementsRequestBody } from "./DuplicatePlanEntitlementsRequestBody";
|
|
15
16
|
export { type GetFeatureUsageByCompanyRequest } from "./GetFeatureUsageByCompanyRequest";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
5
|
+
export interface DuplicatePlanEntitlementsResponse {
|
|
6
|
+
data: Schematic.DuplicatePlanEntitlementsResponseResponseData;
|
|
7
|
+
/** Input parameters */
|
|
8
|
+
params: Record<string, unknown>;
|
|
9
|
+
}
|
|
@@ -2,12 +2,10 @@ export * from "./ListCompanyOverridesParams";
|
|
|
2
2
|
export * from "./ListCompanyOverridesResponse";
|
|
3
3
|
export * from "./CreateCompanyOverrideRequestBodyMetricPeriod";
|
|
4
4
|
export * from "./CreateCompanyOverrideRequestBodyMetricPeriodMonthReset";
|
|
5
|
-
export * from "./CreateCompanyOverrideRequestBodyValueType";
|
|
6
5
|
export * from "./CreateCompanyOverrideResponse";
|
|
7
6
|
export * from "./GetCompanyOverrideResponse";
|
|
8
7
|
export * from "./UpdateCompanyOverrideRequestBodyMetricPeriod";
|
|
9
8
|
export * from "./UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset";
|
|
10
|
-
export * from "./UpdateCompanyOverrideRequestBodyValueType";
|
|
11
9
|
export * from "./UpdateCompanyOverrideResponse";
|
|
12
10
|
export * from "./DeleteCompanyOverrideResponse";
|
|
13
11
|
export * from "./CountCompanyOverridesParams";
|
|
@@ -28,17 +26,14 @@ export * from "./ListPlanEntitlementsParams";
|
|
|
28
26
|
export * from "./ListPlanEntitlementsResponse";
|
|
29
27
|
export * from "./CreatePlanEntitlementRequestBodyMetricPeriod";
|
|
30
28
|
export * from "./CreatePlanEntitlementRequestBodyMetricPeriodMonthReset";
|
|
31
|
-
export * from "./CreatePlanEntitlementRequestBodyPriceBehavior";
|
|
32
|
-
export * from "./CreatePlanEntitlementRequestBodyValueType";
|
|
33
29
|
export * from "./CreatePlanEntitlementResponse";
|
|
34
30
|
export * from "./GetPlanEntitlementResponse";
|
|
35
31
|
export * from "./UpdatePlanEntitlementRequestBodyMetricPeriod";
|
|
36
32
|
export * from "./UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset";
|
|
37
|
-
export * from "./UpdatePlanEntitlementRequestBodyPriceBehavior";
|
|
38
|
-
export * from "./UpdatePlanEntitlementRequestBodyValueType";
|
|
39
33
|
export * from "./UpdatePlanEntitlementResponse";
|
|
40
34
|
export * from "./DeletePlanEntitlementResponse";
|
|
41
35
|
export * from "./CountPlanEntitlementsParams";
|
|
42
36
|
export * from "./CountPlanEntitlementsResponse";
|
|
37
|
+
export * from "./DuplicatePlanEntitlementsResponse";
|
|
43
38
|
export * from "./GetFeatureUsageByCompanyParams";
|
|
44
39
|
export * from "./GetFeatureUsageByCompanyResponse";
|
|
@@ -39,7 +39,7 @@ export declare class Events {
|
|
|
39
39
|
* @example
|
|
40
40
|
* await client.events.createEventBatch({
|
|
41
41
|
* events: [{
|
|
42
|
-
* eventType: "
|
|
42
|
+
* eventType: "flag_check"
|
|
43
43
|
* }]
|
|
44
44
|
* })
|
|
45
45
|
*/
|
|
@@ -98,7 +98,7 @@ export declare class Events {
|
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
100
|
* await client.events.createEvent({
|
|
101
|
-
* eventType: "
|
|
101
|
+
* eventType: "flag_check"
|
|
102
102
|
* })
|
|
103
103
|
*/
|
|
104
104
|
createEvent(request: Schematic.CreateEventRequestBody, requestOptions?: Events.RequestOptions): core.HttpResponsePromise<Schematic.CreateEventResponse>;
|
|
@@ -16,7 +16,7 @@ import * as Schematic from "../../../../index";
|
|
|
16
16
|
export interface ListEventsRequest {
|
|
17
17
|
companyId?: string;
|
|
18
18
|
eventSubtype?: string;
|
|
19
|
-
eventTypes?: Schematic.
|
|
19
|
+
eventTypes?: Schematic.EventType | Schematic.EventType[];
|
|
20
20
|
flagId?: string;
|
|
21
21
|
userId?: string;
|
|
22
22
|
/**
|
|
@@ -8,7 +8,7 @@ import * as Schematic from "../../../index";
|
|
|
8
8
|
export interface ListEventsParams {
|
|
9
9
|
companyId?: string;
|
|
10
10
|
eventSubtype?: string;
|
|
11
|
-
eventTypes?: Schematic.
|
|
11
|
+
eventTypes?: Schematic.EventType[];
|
|
12
12
|
flagId?: string;
|
|
13
13
|
/** Page limit (default 100) */
|
|
14
14
|
limit?: number;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from "./CreateEventBatchResponse";
|
|
2
2
|
export * from "./GetEventSummariesParams";
|
|
3
3
|
export * from "./GetEventSummariesResponse";
|
|
4
|
-
export * from "./ListEventsRequestEventTypesItem";
|
|
5
|
-
export * from "./ListEventsResponseParamsEventTypesItem";
|
|
6
4
|
export * from "./ListEventsParams";
|
|
7
5
|
export * from "./ListEventsResponse";
|
|
8
6
|
export * from "./CreateEventResponse";
|
|
@@ -291,6 +291,23 @@ export declare class Features {
|
|
|
291
291
|
*/
|
|
292
292
|
checkFlags(request: Schematic.CheckFlagRequestBody, requestOptions?: Features.RequestOptions): core.HttpResponsePromise<Schematic.CheckFlagsResponse>;
|
|
293
293
|
private __checkFlags;
|
|
294
|
+
/**
|
|
295
|
+
* @param {Schematic.CheckFlagsBulkRequestBody} request
|
|
296
|
+
* @param {Features.RequestOptions} requestOptions - Request-specific configuration.
|
|
297
|
+
*
|
|
298
|
+
* @throws {@link Schematic.BadRequestError}
|
|
299
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
300
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
301
|
+
* @throws {@link Schematic.NotFoundError}
|
|
302
|
+
* @throws {@link Schematic.InternalServerError}
|
|
303
|
+
*
|
|
304
|
+
* @example
|
|
305
|
+
* await client.features.checkFlagsBulk({
|
|
306
|
+
* contexts: [{}]
|
|
307
|
+
* })
|
|
308
|
+
*/
|
|
309
|
+
checkFlagsBulk(request: Schematic.CheckFlagsBulkRequestBody, requestOptions?: Features.RequestOptions): core.HttpResponsePromise<Schematic.CheckFlagsBulkResponse>;
|
|
310
|
+
private __checkFlagsBulk;
|
|
294
311
|
/**
|
|
295
312
|
* @param {Schematic.CountFlagsRequest} request
|
|
296
313
|
* @param {Features.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* contexts: [{}]
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface CheckFlagsBulkRequestBody {
|
|
12
|
+
contexts: Schematic.CheckFlagRequestBody[];
|
|
13
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* @example
|
|
6
7
|
* {
|
|
@@ -29,7 +30,7 @@ export interface CountFeaturesRequest {
|
|
|
29
30
|
/**
|
|
30
31
|
* Filter by one or more feature types (boolean, event, trait)
|
|
31
32
|
*/
|
|
32
|
-
featureType?:
|
|
33
|
+
featureType?: Schematic.FeatureType | Schematic.FeatureType[];
|
|
33
34
|
/**
|
|
34
35
|
* Only return boolean features if there is an associated event. Automatically includes boolean in the feature types filter.
|
|
35
36
|
*/
|
|
@@ -13,10 +13,10 @@ import * as Schematic from "../../../../index";
|
|
|
13
13
|
export interface CreateFeatureRequestBody {
|
|
14
14
|
description: string;
|
|
15
15
|
eventSubtype?: string;
|
|
16
|
-
featureType: Schematic.
|
|
16
|
+
featureType: Schematic.FeatureType;
|
|
17
17
|
flag?: Schematic.CreateOrUpdateFlagRequestBody;
|
|
18
18
|
icon?: string;
|
|
19
|
-
lifecyclePhase?: Schematic.
|
|
19
|
+
lifecyclePhase?: Schematic.FeatureLifecyclePhase;
|
|
20
20
|
maintainerId?: string;
|
|
21
21
|
name: string;
|
|
22
22
|
pluralName?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Schematic from "../../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* @example
|
|
6
7
|
* {
|
|
@@ -29,7 +30,7 @@ export interface ListFeaturesRequest {
|
|
|
29
30
|
/**
|
|
30
31
|
* Filter by one or more feature types (boolean, event, trait)
|
|
31
32
|
*/
|
|
32
|
-
featureType?:
|
|
33
|
+
featureType?: Schematic.FeatureType | Schematic.FeatureType[];
|
|
33
34
|
/**
|
|
34
35
|
* Only return boolean features if there is an associated event. Automatically includes boolean in the feature types filter.
|
|
35
36
|
*/
|
|
@@ -9,10 +9,10 @@ import * as Schematic from "../../../../index";
|
|
|
9
9
|
export interface UpdateFeatureRequestBody {
|
|
10
10
|
description?: string;
|
|
11
11
|
eventSubtype?: string;
|
|
12
|
-
featureType?: Schematic.
|
|
12
|
+
featureType?: Schematic.FeatureType;
|
|
13
13
|
flag?: Schematic.CreateOrUpdateFlagRequestBody;
|
|
14
14
|
icon?: string;
|
|
15
|
-
lifecyclePhase?: Schematic.
|
|
15
|
+
lifecyclePhase?: Schematic.FeatureLifecyclePhase;
|
|
16
16
|
maintainerId?: string;
|
|
17
17
|
name?: string;
|
|
18
18
|
pluralName?: string;
|
|
@@ -4,4 +4,5 @@ export { type UpdateFeatureRequestBody } from "./UpdateFeatureRequestBody";
|
|
|
4
4
|
export { type CountFeaturesRequest } from "./CountFeaturesRequest";
|
|
5
5
|
export { type ListFlagsRequest } from "./ListFlagsRequest";
|
|
6
6
|
export { type UpdateFlagRulesRequestBody } from "./UpdateFlagRulesRequestBody";
|
|
7
|
+
export { type CheckFlagsBulkRequestBody } from "./CheckFlagsBulkRequestBody";
|
|
7
8
|
export { type CountFlagsRequest } from "./CountFlagsRequest";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
5
|
+
export interface CheckFlagsBulkResponse {
|
|
6
|
+
data: Schematic.CheckFlagsBulkResponseData;
|
|
7
|
+
/** Input parameters */
|
|
8
|
+
params: Record<string, unknown>;
|
|
9
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* Input parameters
|
|
6
7
|
*/
|
|
@@ -8,7 +9,7 @@ export interface CountFeaturesParams {
|
|
|
8
9
|
/** Only return boolean features if there is an associated event. Automatically includes boolean in the feature types filter. */
|
|
9
10
|
booleanRequireEvent?: boolean;
|
|
10
11
|
/** Filter by one or more feature types (boolean, event, trait) */
|
|
11
|
-
featureType?:
|
|
12
|
+
featureType?: Schematic.FeatureType[];
|
|
12
13
|
ids?: string[];
|
|
13
14
|
/** Page limit (default 100) */
|
|
14
15
|
limit?: number;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* Input parameters
|
|
6
7
|
*/
|
|
@@ -8,7 +9,7 @@ export interface ListFeaturesParams {
|
|
|
8
9
|
/** Only return boolean features if there is an associated event. Automatically includes boolean in the feature types filter. */
|
|
9
10
|
booleanRequireEvent?: boolean;
|
|
10
11
|
/** Filter by one or more feature types (boolean, event, trait) */
|
|
11
|
-
featureType?:
|
|
12
|
+
featureType?: Schematic.FeatureType[];
|
|
12
13
|
ids?: string[];
|
|
13
14
|
/** Page limit (default 100) */
|
|
14
15
|
limit?: number;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
export * from "./ListFeaturesParams";
|
|
2
2
|
export * from "./ListFeaturesResponse";
|
|
3
|
-
export * from "./CreateFeatureRequestBodyFeatureType";
|
|
4
|
-
export * from "./CreateFeatureRequestBodyLifecyclePhase";
|
|
5
3
|
export * from "./CreateFeatureResponse";
|
|
6
4
|
export * from "./GetFeatureResponse";
|
|
7
|
-
export * from "./UpdateFeatureRequestBodyFeatureType";
|
|
8
|
-
export * from "./UpdateFeatureRequestBodyLifecyclePhase";
|
|
9
5
|
export * from "./UpdateFeatureResponse";
|
|
10
6
|
export * from "./DeleteFeatureResponse";
|
|
11
7
|
export * from "./CountFeaturesParams";
|
|
@@ -19,5 +15,6 @@ export * from "./DeleteFlagResponse";
|
|
|
19
15
|
export * from "./UpdateFlagRulesResponse";
|
|
20
16
|
export * from "./CheckFlagResponse";
|
|
21
17
|
export * from "./CheckFlagsResponse";
|
|
18
|
+
export * from "./CheckFlagsBulkResponse";
|
|
22
19
|
export * from "./CountFlagsParams";
|
|
23
20
|
export * from "./CountFlagsResponse";
|
|
@@ -66,10 +66,13 @@ export declare class Plangroups {
|
|
|
66
66
|
* planId: "plan_id"
|
|
67
67
|
* }],
|
|
68
68
|
* preventDowngradesWhenOverLimit: true,
|
|
69
|
+
* preventSelfServiceDowngrade: true,
|
|
70
|
+
* prorationBehavior: "create_prorations",
|
|
71
|
+
* showAsMonthlyPrices: true,
|
|
69
72
|
* showCredits: true,
|
|
70
73
|
* showPeriodToggle: true,
|
|
71
74
|
* showZeroPriceAsFree: true,
|
|
72
|
-
*
|
|
75
|
+
* syncCustomerBillingDetails: true
|
|
73
76
|
* })
|
|
74
77
|
*/
|
|
75
78
|
createPlanGroup(request: Schematic.CreatePlanGroupRequestBody, requestOptions?: Plangroups.RequestOptions): core.HttpResponsePromise<Schematic.CreatePlanGroupResponse>;
|
|
@@ -102,10 +105,13 @@ export declare class Plangroups {
|
|
|
102
105
|
* planId: "plan_id"
|
|
103
106
|
* }],
|
|
104
107
|
* preventDowngradesWhenOverLimit: true,
|
|
108
|
+
* preventSelfServiceDowngrade: true,
|
|
109
|
+
* prorationBehavior: "create_prorations",
|
|
110
|
+
* showAsMonthlyPrices: true,
|
|
105
111
|
* showCredits: true,
|
|
106
112
|
* showPeriodToggle: true,
|
|
107
113
|
* showZeroPriceAsFree: true,
|
|
108
|
-
*
|
|
114
|
+
* syncCustomerBillingDetails: true
|
|
109
115
|
* })
|
|
110
116
|
*/
|
|
111
117
|
updatePlanGroup(planGroupId: string, request: Schematic.UpdatePlanGroupRequestBody, requestOptions?: Plangroups.RequestOptions): core.HttpResponsePromise<Schematic.UpdatePlanGroupResponse>;
|
|
@@ -20,10 +20,13 @@ import * as Schematic from "../../../../index";
|
|
|
20
20
|
* planId: "plan_id"
|
|
21
21
|
* }],
|
|
22
22
|
* preventDowngradesWhenOverLimit: true,
|
|
23
|
+
* preventSelfServiceDowngrade: true,
|
|
24
|
+
* prorationBehavior: "create_prorations",
|
|
25
|
+
* showAsMonthlyPrices: true,
|
|
23
26
|
* showCredits: true,
|
|
24
27
|
* showPeriodToggle: true,
|
|
25
28
|
* showZeroPriceAsFree: true,
|
|
26
|
-
*
|
|
29
|
+
* syncCustomerBillingDetails: true
|
|
27
30
|
* }
|
|
28
31
|
*/
|
|
29
32
|
export interface CreatePlanGroupRequestBody {
|
|
@@ -43,10 +46,15 @@ export interface CreatePlanGroupRequestBody {
|
|
|
43
46
|
orderedBundleList: Schematic.PlanGroupBundleOrder[];
|
|
44
47
|
orderedPlans: Schematic.OrderedPlansInGroup[];
|
|
45
48
|
preventDowngradesWhenOverLimit: boolean;
|
|
49
|
+
preventSelfServiceDowngrade: boolean;
|
|
50
|
+
preventSelfServiceDowngradeButtonText?: string;
|
|
51
|
+
preventSelfServiceDowngradeUrl?: string;
|
|
52
|
+
prorationBehavior: Schematic.ProrationBehavior;
|
|
53
|
+
showAsMonthlyPrices: boolean;
|
|
46
54
|
showCredits: boolean;
|
|
47
55
|
showPeriodToggle: boolean;
|
|
48
56
|
showZeroPriceAsFree: boolean;
|
|
49
|
-
|
|
57
|
+
syncCustomerBillingDetails: boolean;
|
|
50
58
|
trialDays?: number;
|
|
51
59
|
trialExpiryPlanId?: string;
|
|
52
60
|
trialExpiryPlanPriceId?: string;
|
|
@@ -20,10 +20,13 @@ import * as Schematic from "../../../../index";
|
|
|
20
20
|
* planId: "plan_id"
|
|
21
21
|
* }],
|
|
22
22
|
* preventDowngradesWhenOverLimit: true,
|
|
23
|
+
* preventSelfServiceDowngrade: true,
|
|
24
|
+
* prorationBehavior: "create_prorations",
|
|
25
|
+
* showAsMonthlyPrices: true,
|
|
23
26
|
* showCredits: true,
|
|
24
27
|
* showPeriodToggle: true,
|
|
25
28
|
* showZeroPriceAsFree: true,
|
|
26
|
-
*
|
|
29
|
+
* syncCustomerBillingDetails: true
|
|
27
30
|
* }
|
|
28
31
|
*/
|
|
29
32
|
export interface UpdatePlanGroupRequestBody {
|
|
@@ -43,10 +46,15 @@ export interface UpdatePlanGroupRequestBody {
|
|
|
43
46
|
orderedBundleList: Schematic.PlanGroupBundleOrder[];
|
|
44
47
|
orderedPlans: Schematic.OrderedPlansInGroup[];
|
|
45
48
|
preventDowngradesWhenOverLimit: boolean;
|
|
49
|
+
preventSelfServiceDowngrade: boolean;
|
|
50
|
+
preventSelfServiceDowngradeButtonText?: string;
|
|
51
|
+
preventSelfServiceDowngradeUrl?: string;
|
|
52
|
+
prorationBehavior: Schematic.ProrationBehavior;
|
|
53
|
+
showAsMonthlyPrices: boolean;
|
|
46
54
|
showCredits: boolean;
|
|
47
55
|
showPeriodToggle: boolean;
|
|
48
56
|
showZeroPriceAsFree: boolean;
|
|
49
|
-
|
|
57
|
+
syncCustomerBillingDetails: boolean;
|
|
50
58
|
trialDays?: number;
|
|
51
59
|
trialExpiryPlanId?: string;
|
|
52
60
|
trialExpiryPlanPriceId?: string;
|
|
@@ -63,9 +63,7 @@ export declare class Plans {
|
|
|
63
63
|
* hasProductId: true,
|
|
64
64
|
* planType: "plan",
|
|
65
65
|
* q: "q",
|
|
66
|
-
* requiresPaymentMethod: true,
|
|
67
66
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
68
|
-
* withoutProductId: true,
|
|
69
67
|
* withoutPaidProductId: true,
|
|
70
68
|
* limit: 1,
|
|
71
69
|
* offset: 1
|
|
@@ -152,7 +150,7 @@ export declare class Plans {
|
|
|
152
150
|
*
|
|
153
151
|
* @example
|
|
154
152
|
* await client.plans.upsertBillingProductPlan("plan_id", {
|
|
155
|
-
* chargeType: "
|
|
153
|
+
* chargeType: "free",
|
|
156
154
|
* isTrialable: true
|
|
157
155
|
* })
|
|
158
156
|
*/
|
|
@@ -177,9 +175,7 @@ export declare class Plans {
|
|
|
177
175
|
* hasProductId: true,
|
|
178
176
|
* planType: "plan",
|
|
179
177
|
* q: "q",
|
|
180
|
-
* requiresPaymentMethod: true,
|
|
181
178
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
182
|
-
* withoutProductId: true,
|
|
183
179
|
* withoutPaidProductId: true,
|
|
184
180
|
* limit: 1,
|
|
185
181
|
* offset: 1
|
|
@@ -12,9 +12,7 @@ import * as Schematic from "../../../../index";
|
|
|
12
12
|
* hasProductId: true,
|
|
13
13
|
* planType: "plan",
|
|
14
14
|
* q: "q",
|
|
15
|
-
* requiresPaymentMethod: true,
|
|
16
15
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
17
|
-
* withoutProductId: true,
|
|
18
16
|
* withoutPaidProductId: true,
|
|
19
17
|
* limit: 1,
|
|
20
18
|
* offset: 1
|
|
@@ -42,20 +40,12 @@ export interface CountPlansRequest {
|
|
|
42
40
|
/**
|
|
43
41
|
* Filter by plan type
|
|
44
42
|
*/
|
|
45
|
-
planType?: Schematic.
|
|
43
|
+
planType?: Schematic.PlanType;
|
|
46
44
|
q?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Filter for plans that require a payment method (inverse of ForInitialPlan)
|
|
49
|
-
*/
|
|
50
|
-
requiresPaymentMethod?: boolean;
|
|
51
45
|
/**
|
|
52
46
|
* Filter out plans that already have a plan entitlement for the specified feature ID
|
|
53
47
|
*/
|
|
54
48
|
withoutEntitlementFor?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Filter out plans that have a billing product ID
|
|
57
|
-
*/
|
|
58
|
-
withoutProductId?: boolean;
|
|
59
49
|
/**
|
|
60
50
|
* Filter out plans that have a paid billing product ID
|
|
61
51
|
*/
|
|
@@ -12,9 +12,7 @@ import * as Schematic from "../../../../index";
|
|
|
12
12
|
* hasProductId: true,
|
|
13
13
|
* planType: "plan",
|
|
14
14
|
* q: "q",
|
|
15
|
-
* requiresPaymentMethod: true,
|
|
16
15
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
17
|
-
* withoutProductId: true,
|
|
18
16
|
* withoutPaidProductId: true,
|
|
19
17
|
* limit: 1,
|
|
20
18
|
* offset: 1
|
|
@@ -42,20 +40,12 @@ export interface ListPlansRequest {
|
|
|
42
40
|
/**
|
|
43
41
|
* Filter by plan type
|
|
44
42
|
*/
|
|
45
|
-
planType?: Schematic.
|
|
43
|
+
planType?: Schematic.PlanType;
|
|
46
44
|
q?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Filter for plans that require a payment method (inverse of ForInitialPlan)
|
|
49
|
-
*/
|
|
50
|
-
requiresPaymentMethod?: boolean;
|
|
51
45
|
/**
|
|
52
46
|
* Filter out plans that already have a plan entitlement for the specified feature ID
|
|
53
47
|
*/
|
|
54
48
|
withoutEntitlementFor?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Filter out plans that have a billing product ID
|
|
57
|
-
*/
|
|
58
|
-
withoutProductId?: boolean;
|
|
59
49
|
/**
|
|
60
50
|
* Filter out plans that have a paid billing product ID
|
|
61
51
|
*/
|
|
@@ -5,13 +5,13 @@ import * as Schematic from "../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* chargeType: "
|
|
8
|
+
* chargeType: "free",
|
|
9
9
|
* isTrialable: true
|
|
10
10
|
* }
|
|
11
11
|
*/
|
|
12
12
|
export interface UpsertBillingProductRequestBody {
|
|
13
13
|
billingProductId?: string;
|
|
14
|
-
chargeType: Schematic.
|
|
14
|
+
chargeType: Schematic.ChargeType;
|
|
15
15
|
currency?: string;
|
|
16
16
|
isTrialable: boolean;
|
|
17
17
|
monthlyPrice?: number;
|
|
@@ -20,15 +20,10 @@ export interface CountPlansParams {
|
|
|
20
20
|
limit?: number;
|
|
21
21
|
/** Page offset (default 0) */
|
|
22
22
|
offset?: number;
|
|
23
|
-
|
|
24
|
-
planType?: Schematic.CountPlansResponseParamsPlanType;
|
|
23
|
+
planType?: Schematic.PlanType;
|
|
25
24
|
q?: string;
|
|
26
|
-
/** Filter for plans that require a payment method (inverse of ForInitialPlan) */
|
|
27
|
-
requiresPaymentMethod?: boolean;
|
|
28
25
|
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
29
26
|
withoutEntitlementFor?: string;
|
|
30
27
|
/** Filter out plans that have a paid billing product ID */
|
|
31
28
|
withoutPaidProductId?: boolean;
|
|
32
|
-
/** Filter out plans that have a billing product ID */
|
|
33
|
-
withoutProductId?: boolean;
|
|
34
29
|
}
|
|
@@ -20,15 +20,10 @@ export interface ListPlansParams {
|
|
|
20
20
|
limit?: number;
|
|
21
21
|
/** Page offset (default 0) */
|
|
22
22
|
offset?: number;
|
|
23
|
-
|
|
24
|
-
planType?: Schematic.ListPlansResponseParamsPlanType;
|
|
23
|
+
planType?: Schematic.PlanType;
|
|
25
24
|
q?: string;
|
|
26
|
-
/** Filter for plans that require a payment method (inverse of ForInitialPlan) */
|
|
27
|
-
requiresPaymentMethod?: boolean;
|
|
28
25
|
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
29
26
|
withoutEntitlementFor?: string;
|
|
30
27
|
/** Filter out plans that have a paid billing product ID */
|
|
31
28
|
withoutPaidProductId?: boolean;
|
|
32
|
-
/** Filter out plans that have a billing product ID */
|
|
33
|
-
withoutProductId?: boolean;
|
|
34
29
|
}
|