@schematichq/schematic-typescript-node 1.2.6 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/resources/accesstokens/client/Client.d.ts +2 -1
- package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.d.ts +1 -2
- package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +1 -1
- package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +1 -1
- package/dist/api/resources/accounts/types/index.d.ts +0 -2
- package/dist/api/resources/billing/client/Client.d.ts +21 -18
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +2 -1
- package/dist/api/resources/billing/client/requests/{SearchBillingPricesRequest.d.ts → ListBillingPricesRequest.d.ts} +15 -9
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +55 -0
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/index.d.ts +2 -2
- package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +1 -1
- package/dist/api/resources/billing/types/{SearchBillingPricesParams.d.ts → ListBillingPricesParams.d.ts} +8 -5
- package/dist/api/resources/billing/types/{SearchBillingPricesResponse.d.ts → ListBillingPricesResponse.d.ts} +2 -2
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +29 -0
- package/dist/api/resources/billing/types/ListBillingProductPricesResponse.d.ts +9 -0
- package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +1 -1
- package/dist/api/resources/billing/types/index.d.ts +4 -18
- package/dist/api/resources/checkout/client/Client.d.ts +17 -0
- package/dist/api/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +16 -0
- package/dist/api/resources/checkout/client/requests/index.d.ts +1 -0
- package/dist/api/resources/{billing/types/ListProductPricesResponse.d.ts → checkout/types/CancelSubscriptionResponse.d.ts} +3 -3
- package/dist/api/resources/checkout/types/index.d.ts +1 -0
- package/dist/api/resources/companies/client/Client.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +3 -3
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +3 -2
- package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +3 -3
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +3 -2
- package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +2 -0
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +3 -4
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +1 -1
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +3 -2
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +3 -4
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +1 -1
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +3 -2
- package/dist/api/resources/companies/types/index.d.ts +0 -19
- package/dist/api/resources/components/client/Client.d.ts +1 -1
- package/dist/api/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -2
- package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.d.ts +2 -2
- package/dist/api/resources/components/types/index.d.ts +0 -3
- package/dist/api/resources/credits/client/Client.d.ts +3 -3
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +3 -3
- package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +9 -9
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +6 -4
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +4 -4
- package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +3 -3
- package/dist/api/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +13 -6
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +3 -3
- package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +1 -1
- package/dist/api/resources/credits/types/CountCreditBundlesParams.d.ts +2 -2
- package/dist/api/resources/credits/types/CountCreditLedgerParams.d.ts +1 -1
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +1 -1
- package/dist/api/resources/credits/types/ListCompanyGrantsParams.d.ts +2 -2
- package/dist/api/resources/credits/types/ListCreditBundlesParams.d.ts +2 -2
- package/dist/api/resources/credits/types/index.d.ts +0 -37
- package/dist/api/resources/dataexports/client/Client.d.ts +3 -1
- package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +3 -1
- package/dist/api/resources/entitlements/client/Client.d.ts +18 -0
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -1
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +3 -3
- package/dist/api/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +14 -0
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -1
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -3
- package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/api/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +9 -0
- package/dist/api/resources/entitlements/types/index.d.ts +1 -6
- package/dist/api/resources/events/client/Client.d.ts +2 -2
- package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.d.ts +1 -1
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +1 -1
- package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -1
- package/dist/api/resources/events/types/index.d.ts +0 -2
- package/dist/api/resources/features/client/Client.d.ts +17 -0
- package/dist/api/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +13 -0
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +2 -1
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -2
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +2 -1
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -2
- package/dist/api/resources/features/client/requests/index.d.ts +1 -0
- package/dist/api/resources/features/types/CheckFlagsBulkResponse.d.ts +9 -0
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +2 -1
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +2 -1
- package/dist/api/resources/features/types/index.d.ts +1 -4
- package/dist/api/resources/plangroups/client/Client.d.ts +8 -2
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +10 -2
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +10 -2
- package/dist/api/resources/plans/client/Client.d.ts +1 -5
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +1 -11
- package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +1 -1
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +1 -11
- package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -2
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +1 -6
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +1 -6
- package/dist/api/resources/plans/types/index.d.ts +0 -6
- package/dist/api/resources/webhooks/client/Client.d.ts +1 -1
- package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -2
- package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +2 -2
- package/dist/api/resources/webhooks/types/index.d.ts +0 -3
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +2 -1
- package/dist/api/types/ApiKeyResponseData.d.ts +2 -1
- package/dist/api/types/ApiKeyScope.d.ts +10 -0
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +4 -4
- package/dist/api/{resources/credits/types/ListCreditBundlesRequestStatus.d.ts → types/BillingCreditBundleStatus.d.ts} +2 -2
- package/dist/api/types/BillingCreditBundleType.d.ts +4 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +4 -4
- package/dist/api/{resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts → types/BillingCreditBurnStrategy.d.ts} +4 -4
- package/dist/api/{resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts → types/BillingCreditExpiryType.d.ts} +4 -4
- package/dist/api/{resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts → types/BillingCreditExpiryUnit.d.ts} +3 -3
- package/dist/api/types/BillingCreditGrantReason.d.ts +10 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +2 -2
- package/dist/api/{resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts → types/BillingCreditGrantZeroedOutReason.d.ts} +4 -4
- package/dist/api/types/BillingCreditResponseData.d.ts +3 -3
- package/dist/api/types/BillingCreditRolloverPolicy.d.ts +9 -0
- package/dist/api/types/{CreditGrantExpiryRequestBodyResetCadence.d.ts → BillingPlanCreditGrantResetCadence.d.ts} +4 -4
- package/dist/api/types/{CreditGrantExpiryRequestBodyResetStart.d.ts → BillingPlanCreditGrantResetStart.d.ts} +2 -2
- package/dist/api/types/{CreditGrantExpiryRequestBodyResetType.d.ts → BillingPlanCreditGrantResetType.d.ts} +3 -3
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +8 -7
- package/dist/api/types/BillingPriceResponseData.d.ts +3 -2
- package/dist/api/types/BillingPriceScheme.d.ts +8 -0
- package/dist/api/types/{BillingProductPricingUsageType.d.ts → BillingPriceUsageType.d.ts} +2 -2
- package/dist/api/types/BillingPriceView.d.ts +4 -4
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +2 -2
- package/dist/api/types/BillingProductPlanResponseData.d.ts +3 -2
- package/dist/api/types/BillingProductPriceInterval.d.ts +10 -0
- package/dist/api/types/BillingProductPriceResponseData.d.ts +5 -4
- package/dist/api/types/BillingProductPricing.d.ts +1 -1
- package/dist/api/types/BillingSubscriptionResponseData.d.ts +3 -1
- package/dist/api/types/BillingSubscriptionTrialEndSetting.d.ts +8 -0
- package/dist/api/types/BillingSubscriptionView.d.ts +2 -1
- package/dist/api/{resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts → types/BillingTiersMode.d.ts} +3 -3
- package/dist/api/{resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts → types/ChargeType.d.ts} +3 -3
- package/dist/api/types/CheckFlagsBulkResponseData.d.ts +7 -0
- package/dist/api/types/CheckoutSubscription.d.ts +3 -1
- package/dist/api/types/CompanyOverrideResponseData.d.ts +1 -1
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +4 -3
- package/dist/api/types/CompanyPlanInvalidReason.d.ts +8 -0
- package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +2 -0
- package/dist/api/types/ComponentDisplaySettings.d.ts +9 -0
- package/dist/api/{resources/components/types/UpdateComponentRequestBodyEntityType.d.ts → types/ComponentEntityType.d.ts} +3 -3
- package/dist/api/types/ComponentHydrateResponseData.d.ts +5 -0
- package/dist/api/types/ComponentPreviewResponseData.d.ts +5 -0
- package/dist/api/types/ComponentResponseData.d.ts +3 -2
- package/dist/api/types/ComponentSettingsResponseData.d.ts +9 -0
- package/dist/api/{resources/components/types/UpdateComponentRequestBodyState.d.ts → types/ComponentState.d.ts} +2 -2
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +1 -1
- package/dist/api/types/CreateEventRequestBody.d.ts +1 -2
- package/dist/api/types/CreateFlagRequestBody.d.ts +2 -1
- package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +2 -1
- package/dist/api/types/CreditAutoTopupAmountType.d.ts +4 -0
- package/dist/api/types/CreditCompanyGrantView.d.ts +4 -4
- package/dist/api/types/CreditGrantDetail.d.ts +1 -1
- package/dist/api/types/CreditGrantExpiryRequestBody.d.ts +5 -5
- package/dist/api/{resources/credits/types/ListCompanyGrantsRequestOrder.d.ts → types/CreditGrantSortOrder.d.ts} +2 -2
- package/dist/api/{resources/credits/types/CountCreditLedgerRequestPeriod.d.ts → types/CreditLedgerPeriod.d.ts} +3 -3
- package/dist/api/types/DataExportOutputFileType.d.ts +4 -0
- package/dist/api/types/DataExportResponseData.d.ts +4 -3
- package/dist/api/types/DataExportStatus.d.ts +9 -0
- package/dist/api/types/DataExportType.d.ts +4 -0
- package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +8 -0
- package/dist/api/{resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts → types/EntitlementPriceBehavior.d.ts} +4 -4
- package/dist/api/types/EntitlementType.d.ts +9 -0
- package/dist/api/{resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts → types/EntitlementValueType.d.ts} +3 -2
- package/dist/api/types/EntityKeyDefinitionResponseData.d.ts +2 -1
- package/dist/api/types/EntityKeyDetailResponseData.d.ts +1 -1
- package/dist/api/types/EntityKeyResponseData.d.ts +2 -1
- package/dist/api/types/EntityTraitDefinitionResponseData.d.ts +3 -2
- package/dist/api/types/{TraitDefinitionEntityType.d.ts → EntityType.d.ts} +3 -3
- package/dist/api/types/EnvironmentDetailResponseData.d.ts +1 -1
- package/dist/api/types/EnvironmentResponseData.d.ts +2 -1
- package/dist/api/{resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts → types/EnvironmentType.d.ts} +3 -3
- package/dist/api/types/EventDetailResponseData.d.ts +2 -2
- package/dist/api/types/EventResponseData.d.ts +3 -2
- package/dist/api/types/EventStatus.d.ts +11 -0
- package/dist/api/{resources/events/types/ListEventsRequestEventTypesItem.d.ts → types/EventType.d.ts} +3 -3
- package/dist/api/types/FeatureCompanyResponseData.d.ts +4 -6
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +2 -3
- package/dist/api/types/FeatureDetailResponseData.d.ts +2 -2
- package/dist/api/{resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts → types/FeatureLifecyclePhase.d.ts} +3 -3
- package/dist/api/types/FeatureResponseData.d.ts +3 -2
- package/dist/api/{resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts → types/FeatureType.d.ts} +2 -2
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +1 -1
- package/dist/api/types/FeatureUsageResponseData.d.ts +4 -6
- package/dist/api/types/FlagDetailResponseData.d.ts +1 -1
- package/dist/api/types/FlagResponseData.d.ts +2 -1
- package/dist/api/types/FlagType.d.ts +4 -0
- package/dist/api/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/api/types/ManagePlanRequest.d.ts +5 -0
- package/dist/api/types/{PlanChangeResponseDataAction.d.ts → PlanChangeAction.d.ts} +3 -2
- package/dist/api/types/{PlanChangeResponseDataActorType.d.ts → PlanChangeActorType.d.ts} +3 -3
- package/dist/api/types/PlanChangeBasePlanAction.d.ts +10 -0
- package/dist/api/types/PlanChangeResponseData.d.ts +4 -6
- package/dist/api/types/PlanChangeSubscriptionAction.d.ts +12 -0
- package/dist/api/types/PlanControlledByType.d.ts +8 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +8 -7
- package/dist/api/types/PlanDetailResponseData.d.ts +3 -3
- package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -2
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +9 -3
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +3 -3
- package/dist/api/types/PlanGroupResponseData.d.ts +7 -1
- package/dist/api/types/PlanResponseData.d.ts +2 -1
- package/dist/api/{resources/plans/types/CreatePlanRequestBodyPlanType.d.ts → types/PlanType.d.ts} +2 -2
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
- package/dist/api/types/ProrationBehavior.d.ts +8 -0
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +1 -1
- package/dist/api/types/RuleConditionResponseData.d.ts +2 -1
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +11 -0
- package/dist/api/types/RulesengineCheckFlagResult.d.ts +20 -0
- package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +10 -0
- package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +13 -0
- package/dist/api/types/RulesengineCompany.d.ts +19 -0
- package/dist/api/types/RulesengineCompanyMetric.d.ts +15 -0
- package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +8 -0
- package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +10 -0
- package/dist/api/types/RulesengineCondition.d.ts +21 -0
- package/dist/api/types/RulesengineConditionConditionType.d.ts +15 -0
- package/dist/api/types/RulesengineConditionGroup.d.ts +7 -0
- package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +10 -0
- package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +8 -0
- package/dist/api/types/RulesengineConditionOperator.d.ts +14 -0
- package/dist/api/types/RulesengineEntityType.d.ts +8 -0
- package/dist/api/types/RulesengineFlag.d.ts +12 -0
- package/dist/api/types/RulesengineRule.d.ts +16 -0
- package/dist/api/types/RulesengineRuleRuleType.d.ts +13 -0
- package/dist/api/types/RulesengineSubscription.d.ts +8 -0
- package/dist/api/types/RulesengineTrait.d.ts +8 -0
- package/dist/api/types/RulesengineTraitDefinition.d.ts +9 -0
- package/dist/api/types/RulesengineTraitDefinitionComparableType.d.ts +10 -0
- package/dist/api/types/RulesengineUser.d.ts +12 -0
- package/dist/api/types/SkippedEntitlementErrorResponseData.d.ts +6 -0
- package/dist/api/types/SkippedEntitlementResponseData.d.ts +10 -0
- package/dist/api/{resources/credits/types/ListCompanyGrantsRequestDir.d.ts → types/SortDirection.d.ts} +2 -2
- package/dist/api/types/SubscriptionStatus.d.ts +15 -0
- package/dist/api/types/SubscriptionTraitUpdate.d.ts +2 -1
- package/dist/api/types/SubscriptionType.d.ts +10 -0
- package/dist/api/types/TemporaryAccessTokenResourceType.d.ts +4 -0
- package/dist/api/types/TemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/api/types/TraitDefinition.d.ts +1 -1
- package/dist/api/{resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts → types/TraitType.d.ts} +2 -2
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +1 -1
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +2 -2
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +2 -2
- package/dist/api/types/WebhookEventDetailResponseData.d.ts +2 -2
- package/dist/api/types/WebhookEventResponseData.d.ts +3 -2
- package/dist/api/types/WebhookEventStatus.d.ts +9 -0
- package/dist/api/{resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts → types/WebhookRequestType.d.ts} +30 -28
- package/dist/api/types/WebhookResponseData.d.ts +2 -2
- package/dist/api/{resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts → types/WebhookStatus.d.ts} +2 -2
- package/dist/api/types/index.d.ts +81 -21
- package/dist/index.js +3 -3
- package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.d.ts +2 -2
- package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +2 -2
- package/dist/serialization/resources/accounts/types/index.d.ts +0 -2
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +6 -6
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -2
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +2 -2
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +27 -0
- package/dist/serialization/resources/billing/types/{SearchBillingPricesResponse.d.ts → ListBillingPricesResponse.d.ts} +4 -4
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +27 -0
- package/dist/serialization/resources/billing/types/ListBillingProductPricesResponse.d.ts +15 -0
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +2 -2
- package/dist/serialization/resources/billing/types/index.d.ts +4 -18
- package/dist/serialization/resources/checkout/client/requests/CancelSubscriptionRequest.d.ts +14 -0
- package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/checkout/types/CancelSubscriptionResponse.d.ts +14 -0
- package/dist/serialization/resources/checkout/types/index.d.ts +1 -0
- package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.d.ts +4 -4
- package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.d.ts +2 -2
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitBulkRequestBody.d.ts +1 -0
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +6 -4
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.d.ts +2 -2
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.d.ts +5 -4
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +6 -4
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.d.ts +2 -2
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.d.ts +5 -4
- package/dist/serialization/resources/companies/types/index.d.ts +0 -19
- package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.d.ts +2 -2
- package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.d.ts +4 -4
- package/dist/serialization/resources/components/types/index.d.ts +0 -3
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +6 -5
- package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +14 -15
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +9 -5
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +8 -7
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +6 -5
- package/dist/serialization/resources/credits/client/requests/UpdateBillingPlanCreditGrantRequestBody.d.ts +18 -10
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +6 -6
- package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.d.ts +2 -2
- package/dist/serialization/resources/credits/types/CountCreditBundlesParams.d.ts +4 -3
- package/dist/serialization/resources/credits/types/CountCreditLedgerParams.d.ts +2 -2
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerParams.d.ts +2 -2
- package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.d.ts +4 -4
- package/dist/serialization/resources/credits/types/ListCreditBundlesParams.d.ts +4 -3
- package/dist/serialization/resources/credits/types/index.d.ts +0 -37
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -2
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +6 -5
- package/dist/serialization/resources/entitlements/client/requests/DuplicatePlanEntitlementsRequestBody.d.ts +13 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -2
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +6 -5
- package/dist/serialization/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts +14 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +1 -6
- package/dist/serialization/resources/events/types/ListEventsParams.d.ts +2 -2
- package/dist/serialization/resources/events/types/index.d.ts +0 -2
- package/dist/serialization/resources/features/client/requests/CheckFlagsBulkRequestBody.d.ts +13 -0
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +4 -4
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +4 -4
- package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/features/types/CheckFlagsBulkResponse.d.ts +14 -0
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -1
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -1
- package/dist/serialization/resources/features/types/index.d.ts +1 -4
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +7 -1
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +7 -1
- package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +2 -2
- package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +2 -2
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -4
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -4
- package/dist/serialization/resources/plans/types/index.d.ts +0 -6
- package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.d.ts +2 -2
- package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.d.ts +4 -4
- package/dist/serialization/resources/webhooks/types/index.d.ts +0 -3
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +2 -1
- package/dist/serialization/types/ApiKeyResponseData.d.ts +2 -1
- package/dist/serialization/types/ApiKeyScope.d.ts +10 -0
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +8 -4
- package/dist/serialization/types/BillingCreditBundleStatus.d.ts +10 -0
- package/dist/serialization/types/BillingCreditBundleType.d.ts +10 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +8 -4
- package/dist/serialization/types/BillingCreditBurnStrategy.d.ts +10 -0
- package/dist/serialization/types/BillingCreditExpiryType.d.ts +10 -0
- package/dist/serialization/types/BillingCreditExpiryUnit.d.ts +10 -0
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +10 -0
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +10 -0
- package/dist/serialization/types/BillingCreditResponseData.d.ts +6 -3
- package/dist/serialization/types/BillingCreditRolloverPolicy.d.ts +10 -0
- package/dist/serialization/types/BillingPlanCreditGrantResetCadence.d.ts +10 -0
- package/dist/serialization/types/BillingPlanCreditGrantResetStart.d.ts +10 -0
- package/dist/serialization/types/BillingPlanCreditGrantResetType.d.ts +10 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +12 -7
- package/dist/serialization/types/BillingPriceResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingPriceScheme.d.ts +10 -0
- package/dist/serialization/types/{BillingProductPricingUsageType.d.ts → BillingPriceUsageType.d.ts} +2 -2
- package/dist/serialization/types/BillingPriceView.d.ts +8 -4
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +4 -2
- package/dist/serialization/types/BillingProductPriceInterval.d.ts +10 -0
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +8 -4
- package/dist/serialization/types/BillingProductPricing.d.ts +2 -2
- package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +3 -1
- package/dist/serialization/types/BillingSubscriptionTrialEndSetting.d.ts +10 -0
- package/dist/serialization/types/BillingSubscriptionView.d.ts +3 -1
- package/dist/serialization/types/BillingTiersMode.d.ts +10 -0
- package/dist/serialization/types/ChargeType.d.ts +10 -0
- package/dist/serialization/types/CheckFlagsBulkResponseData.d.ts +13 -0
- package/dist/serialization/types/CheckoutSubscription.d.ts +3 -1
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +2 -1
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +8 -3
- package/dist/serialization/types/CompanyPlanInvalidReason.d.ts +10 -0
- package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -0
- package/dist/serialization/types/ComponentDisplaySettings.d.ts +15 -0
- package/dist/serialization/types/ComponentEntityType.d.ts +10 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +6 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +6 -0
- package/dist/serialization/types/ComponentResponseData.d.ts +4 -2
- package/dist/serialization/types/ComponentSettingsResponseData.d.ts +15 -0
- package/dist/serialization/types/ComponentState.d.ts +10 -0
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +2 -2
- package/dist/serialization/types/CreateEventRequestBody.d.ts +2 -2
- package/dist/serialization/types/CreateFlagRequestBody.d.ts +2 -1
- package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +2 -1
- package/dist/serialization/types/CreditAutoTopupAmountType.d.ts +10 -0
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +8 -4
- package/dist/serialization/types/CreditGrantDetail.d.ts +2 -2
- package/dist/serialization/types/CreditGrantExpiryRequestBody.d.ts +10 -10
- package/dist/serialization/types/CreditGrantSortOrder.d.ts +10 -0
- package/dist/serialization/types/CreditLedgerPeriod.d.ts +10 -0
- package/dist/serialization/types/DataExportOutputFileType.d.ts +10 -0
- package/dist/serialization/types/DataExportResponseData.d.ts +6 -3
- package/dist/serialization/types/DataExportStatus.d.ts +10 -0
- package/dist/serialization/types/DataExportType.d.ts +10 -0
- package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +15 -0
- package/dist/serialization/types/EntitlementPriceBehavior.d.ts +10 -0
- package/dist/serialization/types/EntitlementType.d.ts +10 -0
- package/dist/serialization/types/EntitlementValueType.d.ts +10 -0
- package/dist/serialization/types/EntityKeyDefinitionResponseData.d.ts +2 -1
- package/dist/serialization/types/EntityKeyDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/EntityKeyResponseData.d.ts +2 -1
- package/dist/serialization/types/EntityTraitDefinitionResponseData.d.ts +4 -2
- package/dist/serialization/types/EntityType.d.ts +10 -0
- package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/EnvironmentResponseData.d.ts +2 -1
- package/dist/serialization/types/EnvironmentType.d.ts +10 -0
- package/dist/serialization/types/EventDetailResponseData.d.ts +4 -2
- package/dist/serialization/types/EventResponseData.d.ts +4 -2
- package/dist/serialization/types/EventStatus.d.ts +10 -0
- package/dist/serialization/types/EventType.d.ts +10 -0
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +8 -6
- package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +4 -3
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +4 -2
- package/dist/serialization/types/FeatureLifecyclePhase.d.ts +10 -0
- package/dist/serialization/types/FeatureResponseData.d.ts +4 -2
- package/dist/serialization/types/FeatureType.d.ts +10 -0
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +2 -1
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +8 -6
- package/dist/serialization/types/FlagDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/FlagResponseData.d.ts +2 -1
- package/dist/serialization/types/FlagType.d.ts +10 -0
- package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/serialization/types/ManagePlanRequest.d.ts +3 -0
- package/dist/serialization/types/{PlanChangeResponseDataAction.d.ts → PlanChangeAction.d.ts} +3 -3
- package/dist/serialization/types/PlanChangeActorType.d.ts +10 -0
- package/dist/serialization/types/{PlanChangeResponseDataBasePlanAction.d.ts → PlanChangeBasePlanAction.d.ts} +2 -2
- package/dist/serialization/types/PlanChangeResponseData.d.ts +8 -8
- package/dist/serialization/types/{PlanChangeResponseDataSubscriptionChangeAction.d.ts → PlanChangeSubscriptionAction.d.ts} +2 -2
- package/dist/serialization/types/PlanControlledByType.d.ts +10 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +12 -7
- package/dist/serialization/types/PlanDetailResponseData.d.ts +6 -3
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +4 -2
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +11 -4
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +6 -3
- package/dist/serialization/types/PlanGroupResponseData.d.ts +8 -1
- package/dist/serialization/types/PlanResponseData.d.ts +2 -1
- package/dist/serialization/types/PlanType.d.ts +10 -0
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
- package/dist/serialization/types/ProrationBehavior.d.ts +10 -0
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/RuleConditionResponseData.d.ts +2 -1
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +10 -0
- package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +27 -0
- package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +10 -0
- package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +10 -0
- package/dist/serialization/types/RulesengineCompany.d.ts +28 -0
- package/dist/serialization/types/RulesengineCompanyMetric.d.ts +22 -0
- package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +10 -0
- package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +10 -0
- package/dist/serialization/types/RulesengineCondition.d.ts +31 -0
- package/dist/serialization/types/RulesengineConditionConditionType.d.ts +10 -0
- package/dist/serialization/types/RulesengineConditionGroup.d.ts +13 -0
- package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +10 -0
- package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +10 -0
- package/dist/serialization/types/RulesengineConditionOperator.d.ts +10 -0
- package/dist/serialization/types/RulesengineEntityType.d.ts +10 -0
- package/dist/serialization/types/RulesengineFlag.d.ts +18 -0
- package/dist/serialization/types/RulesengineRule.d.ts +24 -0
- package/dist/serialization/types/RulesengineRuleRuleType.d.ts +10 -0
- package/dist/serialization/types/RulesengineSubscription.d.ts +14 -0
- package/dist/serialization/types/RulesengineTrait.d.ts +14 -0
- package/dist/serialization/types/RulesengineTraitDefinition.d.ts +16 -0
- package/dist/serialization/types/RulesengineTraitDefinitionComparableType.d.ts +10 -0
- package/dist/serialization/types/RulesengineUser.d.ts +19 -0
- package/dist/serialization/types/SkippedEntitlementErrorResponseData.d.ts +12 -0
- package/dist/serialization/types/SkippedEntitlementResponseData.d.ts +16 -0
- package/dist/serialization/types/SortDirection.d.ts +10 -0
- package/dist/serialization/types/SubscriptionStatus.d.ts +10 -0
- package/dist/serialization/types/SubscriptionTraitUpdate.d.ts +2 -1
- package/dist/serialization/types/SubscriptionType.d.ts +10 -0
- package/dist/serialization/types/TemporaryAccessTokenResourceType.d.ts +10 -0
- package/dist/serialization/types/TemporaryAccessTokenResponseData.d.ts +2 -1
- package/dist/serialization/types/TraitDefinition.d.ts +2 -2
- package/dist/serialization/types/TraitType.d.ts +10 -0
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +2 -2
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +4 -3
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +4 -2
- package/dist/serialization/types/WebhookEventDetailResponseData.d.ts +4 -2
- package/dist/serialization/types/WebhookEventResponseData.d.ts +4 -2
- package/dist/serialization/types/WebhookEventStatus.d.ts +10 -0
- package/dist/serialization/types/WebhookRequestType.d.ts +10 -0
- package/dist/serialization/types/WebhookResponseData.d.ts +4 -2
- package/dist/serialization/types/WebhookStatus.d.ts +10 -0
- package/dist/serialization/types/index.d.ts +81 -21
- package/package.json +1 -1
- package/dist/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -9
- package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +0 -53
- package/dist/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -8
- package/dist/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListProductPricesParams.d.ts +0 -27
- package/dist/api/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
- package/dist/api/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -8
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -8
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -9
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -9
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -15
- package/dist/api/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -11
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -39
- package/dist/api/types/CreateEntitlementReqCommonValueType.d.ts +0 -11
- package/dist/api/types/CreateEventRequestBodyEventType.d.ts +0 -12
- package/dist/api/types/CreditGrantDetailGrantReason.d.ts +0 -9
- package/dist/api/types/CreditGrantExpiryRequestBodyExpiryType.d.ts +0 -11
- package/dist/api/types/CreditGrantExpiryRequestBodyExpiryUnit.d.ts +0 -8
- package/dist/api/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -13
- package/dist/api/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -12
- package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -14
- package/dist/api/types/FeatureUsageResponseDataAllocationType.d.ts +0 -13
- package/dist/api/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -12
- package/dist/api/types/PlanChangeResponseDataBasePlanAction.d.ts +0 -13
- package/dist/api/types/PlanChangeResponseDataSubscriptionChangeAction.d.ts +0 -15
- package/dist/api/types/UpdateEntitlementReqCommonValueType.d.ts +0 -11
- package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
- package/dist/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingSubscriptionRequestBodyTrialEndSetting.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListProductPricesParams.d.ts +0 -23
- package/dist/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListProductPricesResponse.d.ts +0 -15
- package/dist/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +0 -25
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
- package/dist/serialization/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyState.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCompanyCreditGrantExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerRequestPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/GetEnrichedCreditLedgerResponseParamsPeriod.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingPlanCreditGrantRequestBodyResetType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateCreditBundleDetailsRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -10
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +0 -10
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -10
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/types/CreateEntitlementReqCommonValueType.d.ts +0 -10
- package/dist/serialization/types/CreateEventRequestBodyEventType.d.ts +0 -10
- package/dist/serialization/types/CreditGrantDetailGrantReason.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyExpiryUnit.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/types/CreditGrantExpiryRequestBodyResetType.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyResponseDataCreditGrantReason.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureUsageResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureUsageResponseDataCreditGrantReason.d.ts +0 -10
- package/dist/serialization/types/PlanChangeResponseDataActorType.d.ts +0 -10
- package/dist/serialization/types/TraitDefinitionEntityType.d.ts +0 -10
- package/dist/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +0 -10
- package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -10
|
@@ -4,32 +4,31 @@
|
|
|
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 {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { CreateBillingPlanCreditGrantRequestBodyResetType } from "../../types/CreateBillingPlanCreditGrantRequestBodyResetType";
|
|
7
|
+
import { CreditAutoTopupAmountType } from "../../../../types/CreditAutoTopupAmountType";
|
|
8
|
+
import { BillingCreditExpiryType } from "../../../../types/BillingCreditExpiryType";
|
|
9
|
+
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
10
|
+
import { BillingPlanCreditGrantResetCadence } from "../../../../types/BillingPlanCreditGrantResetCadence";
|
|
11
|
+
import { BillingPlanCreditGrantResetStart } from "../../../../types/BillingPlanCreditGrantResetStart";
|
|
12
|
+
import { BillingPlanCreditGrantResetType } from "../../../../types/BillingPlanCreditGrantResetType";
|
|
14
13
|
export declare const CreateBillingPlanCreditGrantRequestBody: core.serialization.Schema<serializers.CreateBillingPlanCreditGrantRequestBody.Raw, Schematic.CreateBillingPlanCreditGrantRequestBody>;
|
|
15
14
|
export declare namespace CreateBillingPlanCreditGrantRequestBody {
|
|
16
15
|
interface Raw {
|
|
17
16
|
apply_to_existing?: boolean | null;
|
|
18
17
|
auto_topup_amount?: number | null;
|
|
19
|
-
auto_topup_amount_type?:
|
|
18
|
+
auto_topup_amount_type?: CreditAutoTopupAmountType.Raw | null;
|
|
20
19
|
auto_topup_enabled?: boolean | null;
|
|
21
|
-
auto_topup_expiry_type?:
|
|
22
|
-
auto_topup_expiry_unit?:
|
|
20
|
+
auto_topup_expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
21
|
+
auto_topup_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
23
22
|
auto_topup_expiry_unit_count?: number | null;
|
|
24
23
|
auto_topup_threshold_percent?: number | null;
|
|
25
24
|
credit_amount: number;
|
|
26
25
|
credit_id: string;
|
|
27
|
-
expiry_type?:
|
|
28
|
-
expiry_unit?:
|
|
26
|
+
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
27
|
+
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
29
28
|
expiry_unit_count?: number | null;
|
|
30
29
|
plan_id: string;
|
|
31
|
-
reset_cadence:
|
|
32
|
-
reset_start:
|
|
33
|
-
reset_type?:
|
|
30
|
+
reset_cadence: BillingPlanCreditGrantResetCadence.Raw;
|
|
31
|
+
reset_start: BillingPlanCreditGrantResetStart.Raw;
|
|
32
|
+
reset_type?: BillingPlanCreditGrantResetType.Raw | null;
|
|
34
33
|
}
|
|
35
34
|
}
|
|
@@ -4,8 +4,10 @@
|
|
|
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 { BillingCreditExpiryType } from "../../../../types/BillingCreditExpiryType";
|
|
8
|
+
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
9
|
+
import { BillingCreditGrantReason } from "../../../../types/BillingCreditGrantReason";
|
|
10
|
+
import { BillingPlanCreditGrantResetStart } from "../../../../types/BillingPlanCreditGrantResetStart";
|
|
9
11
|
export declare const CreateCompanyCreditGrant: core.serialization.Schema<serializers.CreateCompanyCreditGrant.Raw, Schematic.CreateCompanyCreditGrant>;
|
|
10
12
|
export declare namespace CreateCompanyCreditGrant {
|
|
11
13
|
interface Raw {
|
|
@@ -13,10 +15,12 @@ export declare namespace CreateCompanyCreditGrant {
|
|
|
13
15
|
company_id: string;
|
|
14
16
|
credit_id: string;
|
|
15
17
|
expires_at?: string | null;
|
|
16
|
-
expiry_type?:
|
|
17
|
-
expiry_unit?:
|
|
18
|
+
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
19
|
+
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
18
20
|
expiry_unit_count?: number | null;
|
|
19
21
|
quantity: number;
|
|
20
|
-
reason:
|
|
22
|
+
reason: BillingCreditGrantReason.Raw;
|
|
23
|
+
renewal_enabled?: boolean | null;
|
|
24
|
+
renewal_period?: BillingPlanCreditGrantResetStart.Raw | null;
|
|
21
25
|
}
|
|
22
26
|
}
|
package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts
CHANGED
|
@@ -4,22 +4,23 @@
|
|
|
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 {
|
|
9
|
-
import {
|
|
7
|
+
import { BillingCreditBundleType } from "../../../../types/BillingCreditBundleType";
|
|
8
|
+
import { BillingCreditExpiryType } from "../../../../types/BillingCreditExpiryType";
|
|
9
|
+
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
10
|
+
import { BillingCreditBundleStatus } from "../../../../types/BillingCreditBundleStatus";
|
|
10
11
|
export declare const CreateCreditBundleRequestBody: core.serialization.Schema<serializers.CreateCreditBundleRequestBody.Raw, Schematic.CreateCreditBundleRequestBody>;
|
|
11
12
|
export declare namespace CreateCreditBundleRequestBody {
|
|
12
13
|
interface Raw {
|
|
13
14
|
bundle_name: string;
|
|
14
|
-
bundle_type?:
|
|
15
|
+
bundle_type?: BillingCreditBundleType.Raw | null;
|
|
15
16
|
credit_id: string;
|
|
16
17
|
currency: string;
|
|
17
|
-
expiry_type?:
|
|
18
|
-
expiry_unit?:
|
|
18
|
+
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
19
|
+
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
19
20
|
expiry_unit_count?: number | null;
|
|
20
21
|
price_per_unit: number;
|
|
21
22
|
price_per_unit_decimal?: string | null;
|
|
22
23
|
quantity?: number | null;
|
|
23
|
-
status?:
|
|
24
|
+
status?: BillingCreditBundleStatus.Raw | null;
|
|
24
25
|
}
|
|
25
26
|
}
|
package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts
CHANGED
|
@@ -4,15 +4,16 @@
|
|
|
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 { BillingCreditBurnStrategy } from "../../../../types/BillingCreditBurnStrategy";
|
|
8
|
+
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
9
|
+
import { BillingCreditRolloverPolicy } from "../../../../types/BillingCreditRolloverPolicy";
|
|
9
10
|
export declare const UpdateBillingCreditRequestBody: core.serialization.Schema<serializers.UpdateBillingCreditRequestBody.Raw, Schematic.UpdateBillingCreditRequestBody>;
|
|
10
11
|
export declare namespace UpdateBillingCreditRequestBody {
|
|
11
12
|
interface Raw {
|
|
12
|
-
burn_strategy?:
|
|
13
|
-
default_expiry_unit?:
|
|
13
|
+
burn_strategy?: BillingCreditBurnStrategy.Raw | null;
|
|
14
|
+
default_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
14
15
|
default_expiry_unit_count?: number | null;
|
|
15
|
-
default_rollover_policy?:
|
|
16
|
+
default_rollover_policy?: BillingCreditRolloverPolicy.Raw | null;
|
|
16
17
|
description: string;
|
|
17
18
|
icon?: string | null;
|
|
18
19
|
name: string;
|
|
@@ -4,21 +4,29 @@
|
|
|
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 {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
7
|
+
import { CreditAutoTopupAmountType } from "../../../../types/CreditAutoTopupAmountType";
|
|
8
|
+
import { BillingCreditExpiryType } from "../../../../types/BillingCreditExpiryType";
|
|
9
|
+
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
10
|
+
import { BillingPlanCreditGrantResetCadence } from "../../../../types/BillingPlanCreditGrantResetCadence";
|
|
11
|
+
import { BillingPlanCreditGrantResetStart } from "../../../../types/BillingPlanCreditGrantResetStart";
|
|
12
|
+
import { BillingPlanCreditGrantResetType } from "../../../../types/BillingPlanCreditGrantResetType";
|
|
12
13
|
export declare const UpdateBillingPlanCreditGrantRequestBody: core.serialization.Schema<serializers.UpdateBillingPlanCreditGrantRequestBody.Raw, Schematic.UpdateBillingPlanCreditGrantRequestBody>;
|
|
13
14
|
export declare namespace UpdateBillingPlanCreditGrantRequestBody {
|
|
14
15
|
interface Raw {
|
|
15
16
|
apply_to_existing?: boolean | null;
|
|
17
|
+
auto_topup_amount?: number | null;
|
|
18
|
+
auto_topup_amount_type?: CreditAutoTopupAmountType.Raw | null;
|
|
19
|
+
auto_topup_enabled?: boolean | null;
|
|
20
|
+
auto_topup_expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
21
|
+
auto_topup_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
22
|
+
auto_topup_expiry_unit_count?: number | null;
|
|
23
|
+
auto_topup_threshold_percent?: number | null;
|
|
16
24
|
credit_amount?: number | null;
|
|
17
|
-
expiry_type?:
|
|
18
|
-
expiry_unit?:
|
|
25
|
+
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
26
|
+
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
19
27
|
expiry_unit_count?: number | null;
|
|
20
|
-
reset_cadence:
|
|
21
|
-
reset_start:
|
|
22
|
-
reset_type?:
|
|
28
|
+
reset_cadence: BillingPlanCreditGrantResetCadence.Raw;
|
|
29
|
+
reset_start: BillingPlanCreditGrantResetStart.Raw;
|
|
30
|
+
reset_type?: BillingPlanCreditGrantResetType.Raw | null;
|
|
23
31
|
}
|
|
24
32
|
}
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
import * as serializers from "../../../../index";
|
|
5
5
|
import * as Schematic from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { BillingCreditExpiryType } from "../../../../types/BillingCreditExpiryType";
|
|
8
|
+
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
9
|
+
import { BillingCreditBundleStatus } from "../../../../types/BillingCreditBundleStatus";
|
|
10
10
|
export declare const UpdateCreditBundleDetailsRequestBody: core.serialization.Schema<serializers.UpdateCreditBundleDetailsRequestBody.Raw, Schematic.UpdateCreditBundleDetailsRequestBody>;
|
|
11
11
|
export declare namespace UpdateCreditBundleDetailsRequestBody {
|
|
12
12
|
interface Raw {
|
|
13
13
|
bundle_name: string;
|
|
14
|
-
expiry_type?:
|
|
15
|
-
expiry_unit?:
|
|
14
|
+
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
15
|
+
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
16
16
|
expiry_unit_count?: number | null;
|
|
17
17
|
price_per_unit: number;
|
|
18
18
|
price_per_unit_decimal?: string | null;
|
|
19
19
|
quantity?: number | null;
|
|
20
|
-
status?:
|
|
20
|
+
status?: BillingCreditBundleStatus.Raw | null;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -4,10 +4,10 @@
|
|
|
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 { BillingCreditGrantZeroedOutReason } from "../../../../types/BillingCreditGrantZeroedOutReason";
|
|
8
8
|
export declare const ZeroOutGrantRequestBody: core.serialization.Schema<serializers.ZeroOutGrantRequestBody.Raw, Schematic.ZeroOutGrantRequestBody>;
|
|
9
9
|
export declare namespace ZeroOutGrantRequestBody {
|
|
10
10
|
interface Raw {
|
|
11
|
-
reason?:
|
|
11
|
+
reason?: BillingCreditGrantZeroedOutReason.Raw | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -4,15 +4,16 @@
|
|
|
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 { BillingCreditBundleType } from "../../../types/BillingCreditBundleType";
|
|
8
|
+
import { BillingCreditBundleStatus } from "../../../types/BillingCreditBundleStatus";
|
|
8
9
|
export declare const CountCreditBundlesParams: core.serialization.ObjectSchema<serializers.CountCreditBundlesParams.Raw, Schematic.CountCreditBundlesParams>;
|
|
9
10
|
export declare namespace CountCreditBundlesParams {
|
|
10
11
|
interface Raw {
|
|
11
|
-
bundle_type?:
|
|
12
|
+
bundle_type?: BillingCreditBundleType.Raw | null;
|
|
12
13
|
credit_id?: string | null;
|
|
13
14
|
ids?: string[] | null;
|
|
14
15
|
limit?: number | null;
|
|
15
16
|
offset?: number | null;
|
|
16
|
-
status?:
|
|
17
|
+
status?: BillingCreditBundleStatus.Raw | null;
|
|
17
18
|
}
|
|
18
19
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Schematic from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { CreditLedgerPeriod } from "../../../types/CreditLedgerPeriod";
|
|
8
8
|
export declare const CountCreditLedgerParams: core.serialization.ObjectSchema<serializers.CountCreditLedgerParams.Raw, Schematic.CountCreditLedgerParams>;
|
|
9
9
|
export declare namespace CountCreditLedgerParams {
|
|
10
10
|
interface Raw {
|
|
@@ -14,7 +14,7 @@ export declare namespace CountCreditLedgerParams {
|
|
|
14
14
|
feature_id?: string | null;
|
|
15
15
|
limit?: number | null;
|
|
16
16
|
offset?: number | null;
|
|
17
|
-
period?:
|
|
17
|
+
period?: CreditLedgerPeriod.Raw | null;
|
|
18
18
|
start_time?: string | null;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Schematic from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { CreditLedgerPeriod } from "../../../types/CreditLedgerPeriod";
|
|
8
8
|
export declare const GetEnrichedCreditLedgerParams: core.serialization.ObjectSchema<serializers.GetEnrichedCreditLedgerParams.Raw, Schematic.GetEnrichedCreditLedgerParams>;
|
|
9
9
|
export declare namespace GetEnrichedCreditLedgerParams {
|
|
10
10
|
interface Raw {
|
|
@@ -14,7 +14,7 @@ export declare namespace GetEnrichedCreditLedgerParams {
|
|
|
14
14
|
feature_id?: string | null;
|
|
15
15
|
limit?: number | null;
|
|
16
16
|
offset?: number | null;
|
|
17
|
-
period?:
|
|
17
|
+
period?: CreditLedgerPeriod.Raw | null;
|
|
18
18
|
start_time?: string | null;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Schematic from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { SortDirection } from "../../../types/SortDirection";
|
|
8
|
+
import { CreditGrantSortOrder } from "../../../types/CreditGrantSortOrder";
|
|
9
9
|
export declare const ListCompanyGrantsParams: core.serialization.ObjectSchema<serializers.ListCompanyGrantsParams.Raw, Schematic.ListCompanyGrantsParams>;
|
|
10
10
|
export declare namespace ListCompanyGrantsParams {
|
|
11
11
|
interface Raw {
|
|
12
12
|
company_id?: string | null;
|
|
13
|
-
dir?:
|
|
13
|
+
dir?: SortDirection.Raw | null;
|
|
14
14
|
limit?: number | null;
|
|
15
15
|
offset?: number | null;
|
|
16
|
-
order?:
|
|
16
|
+
order?: CreditGrantSortOrder.Raw | null;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -4,15 +4,16 @@
|
|
|
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 { BillingCreditBundleType } from "../../../types/BillingCreditBundleType";
|
|
8
|
+
import { BillingCreditBundleStatus } from "../../../types/BillingCreditBundleStatus";
|
|
8
9
|
export declare const ListCreditBundlesParams: core.serialization.ObjectSchema<serializers.ListCreditBundlesParams.Raw, Schematic.ListCreditBundlesParams>;
|
|
9
10
|
export declare namespace ListCreditBundlesParams {
|
|
10
11
|
interface Raw {
|
|
11
|
-
bundle_type?:
|
|
12
|
+
bundle_type?: BillingCreditBundleType.Raw | null;
|
|
12
13
|
credit_id?: string | null;
|
|
13
14
|
ids?: string[] | null;
|
|
14
15
|
limit?: number | null;
|
|
15
16
|
offset?: number | null;
|
|
16
|
-
status?:
|
|
17
|
+
status?: BillingCreditBundleStatus.Raw | null;
|
|
17
18
|
}
|
|
18
19
|
}
|
|
@@ -1,71 +1,34 @@
|
|
|
1
1
|
export * from "./ListBillingCreditsParams";
|
|
2
2
|
export * from "./ListBillingCreditsResponse";
|
|
3
|
-
export * from "./CreateBillingCreditRequestBodyBurnStrategy";
|
|
4
|
-
export * from "./CreateBillingCreditRequestBodyDefaultRolloverPolicy";
|
|
5
3
|
export * from "./CreateBillingCreditResponse";
|
|
6
4
|
export * from "./GetSingleBillingCreditResponse";
|
|
7
|
-
export * from "./UpdateBillingCreditRequestBodyBurnStrategy";
|
|
8
|
-
export * from "./UpdateBillingCreditRequestBodyDefaultRolloverPolicy";
|
|
9
5
|
export * from "./UpdateBillingCreditResponse";
|
|
10
6
|
export * from "./SoftDeleteBillingCreditResponse";
|
|
11
|
-
export * from "./ListCreditBundlesRequestStatus";
|
|
12
|
-
export * from "./ListCreditBundlesResponseParamsStatus";
|
|
13
7
|
export * from "./ListCreditBundlesParams";
|
|
14
8
|
export * from "./ListCreditBundlesResponse";
|
|
15
|
-
export * from "./CreateCreditBundleRequestBodyExpiryType";
|
|
16
|
-
export * from "./CreateCreditBundleRequestBodyExpiryUnit";
|
|
17
|
-
export * from "./CreateCreditBundleRequestBodyStatus";
|
|
18
9
|
export * from "./CreateCreditBundleResponse";
|
|
19
10
|
export * from "./GetCreditBundleResponse";
|
|
20
|
-
export * from "./UpdateCreditBundleDetailsRequestBodyExpiryType";
|
|
21
|
-
export * from "./UpdateCreditBundleDetailsRequestBodyExpiryUnit";
|
|
22
|
-
export * from "./UpdateCreditBundleDetailsRequestBodyStatus";
|
|
23
11
|
export * from "./UpdateCreditBundleDetailsResponse";
|
|
24
12
|
export * from "./DeleteCreditBundleResponse";
|
|
25
|
-
export * from "./CountCreditBundlesRequestStatus";
|
|
26
|
-
export * from "./CountCreditBundlesResponseParamsStatus";
|
|
27
13
|
export * from "./CountCreditBundlesParams";
|
|
28
14
|
export * from "./CountCreditBundlesResponse";
|
|
29
15
|
export * from "./CountBillingCreditsParams";
|
|
30
16
|
export * from "./CountBillingCreditsResponse";
|
|
31
|
-
export * from "./ZeroOutGrantRequestBodyReason";
|
|
32
17
|
export * from "./ZeroOutGrantResponse";
|
|
33
|
-
export * from "./CreateCompanyCreditGrantExpiryType";
|
|
34
|
-
export * from "./CreateCompanyCreditGrantExpiryUnit";
|
|
35
18
|
export * from "./GrantBillingCreditsToCompanyResponse";
|
|
36
|
-
export * from "./ListCompanyGrantsRequestOrder";
|
|
37
|
-
export * from "./ListCompanyGrantsRequestDir";
|
|
38
|
-
export * from "./ListCompanyGrantsResponseParamsDir";
|
|
39
|
-
export * from "./ListCompanyGrantsResponseParamsOrder";
|
|
40
19
|
export * from "./ListCompanyGrantsParams";
|
|
41
20
|
export * from "./ListCompanyGrantsResponse";
|
|
42
21
|
export * from "./CountBillingCreditsGrantsParams";
|
|
43
22
|
export * from "./CountBillingCreditsGrantsResponse";
|
|
44
23
|
export * from "./ListGrantsForCreditParams";
|
|
45
24
|
export * from "./ListGrantsForCreditResponse";
|
|
46
|
-
export * from "./GetEnrichedCreditLedgerRequestPeriod";
|
|
47
|
-
export * from "./GetEnrichedCreditLedgerResponseParamsPeriod";
|
|
48
25
|
export * from "./GetEnrichedCreditLedgerParams";
|
|
49
26
|
export * from "./GetEnrichedCreditLedgerResponse";
|
|
50
|
-
export * from "./CountCreditLedgerRequestPeriod";
|
|
51
|
-
export * from "./CountCreditLedgerResponseParamsPeriod";
|
|
52
27
|
export * from "./CountCreditLedgerParams";
|
|
53
28
|
export * from "./CountCreditLedgerResponse";
|
|
54
29
|
export * from "./ListBillingPlanCreditGrantsParams";
|
|
55
30
|
export * from "./ListBillingPlanCreditGrantsResponse";
|
|
56
|
-
export * from "./CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryType";
|
|
57
|
-
export * from "./CreateBillingPlanCreditGrantRequestBodyAutoTopupExpiryUnit";
|
|
58
|
-
export * from "./CreateBillingPlanCreditGrantRequestBodyExpiryType";
|
|
59
|
-
export * from "./CreateBillingPlanCreditGrantRequestBodyExpiryUnit";
|
|
60
|
-
export * from "./CreateBillingPlanCreditGrantRequestBodyResetCadence";
|
|
61
|
-
export * from "./CreateBillingPlanCreditGrantRequestBodyResetStart";
|
|
62
|
-
export * from "./CreateBillingPlanCreditGrantRequestBodyResetType";
|
|
63
31
|
export * from "./CreateBillingPlanCreditGrantResponse";
|
|
64
|
-
export * from "./UpdateBillingPlanCreditGrantRequestBodyExpiryType";
|
|
65
|
-
export * from "./UpdateBillingPlanCreditGrantRequestBodyExpiryUnit";
|
|
66
|
-
export * from "./UpdateBillingPlanCreditGrantRequestBodyResetCadence";
|
|
67
|
-
export * from "./UpdateBillingPlanCreditGrantRequestBodyResetStart";
|
|
68
|
-
export * from "./UpdateBillingPlanCreditGrantRequestBodyResetType";
|
|
69
32
|
export * from "./UpdateBillingPlanCreditGrantResponse";
|
|
70
33
|
export * from "./DeleteBillingPlanCreditGrantParams";
|
|
71
34
|
export * from "./DeleteBillingPlanCreditGrantResponse";
|
|
@@ -6,7 +6,7 @@ import * as Schematic from "../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
7
|
import { CreateCompanyOverrideRequestBodyMetricPeriod } from "../../types/CreateCompanyOverrideRequestBodyMetricPeriod";
|
|
8
8
|
import { CreateCompanyOverrideRequestBodyMetricPeriodMonthReset } from "../../types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset";
|
|
9
|
-
import {
|
|
9
|
+
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
10
10
|
export declare const CreateCompanyOverrideRequestBody: core.serialization.Schema<serializers.CreateCompanyOverrideRequestBody.Raw, Schematic.CreateCompanyOverrideRequestBody>;
|
|
11
11
|
export declare namespace CreateCompanyOverrideRequestBody {
|
|
12
12
|
interface Raw {
|
|
@@ -21,6 +21,6 @@ export declare namespace CreateCompanyOverrideRequestBody {
|
|
|
21
21
|
value_credit_id?: string | null;
|
|
22
22
|
value_numeric?: number | null;
|
|
23
23
|
value_trait_id?: string | null;
|
|
24
|
-
value_type:
|
|
24
|
+
value_type: EntitlementValueType.Raw;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -7,8 +7,9 @@ import * as core from "../../../../../core";
|
|
|
7
7
|
import { CreatePlanEntitlementRequestBodyMetricPeriod } from "../../types/CreatePlanEntitlementRequestBodyMetricPeriod";
|
|
8
8
|
import { CreatePlanEntitlementRequestBodyMetricPeriodMonthReset } from "../../types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset";
|
|
9
9
|
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBehavior";
|
|
11
|
+
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
12
|
+
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
12
13
|
export declare const CreatePlanEntitlementRequestBody: core.serialization.Schema<serializers.CreatePlanEntitlementRequestBody.Raw, Schematic.CreatePlanEntitlementRequestBody>;
|
|
13
14
|
export declare namespace CreatePlanEntitlementRequestBody {
|
|
14
15
|
interface Raw {
|
|
@@ -25,15 +26,15 @@ export declare namespace CreatePlanEntitlementRequestBody {
|
|
|
25
26
|
monthly_unit_price_decimal?: string | null;
|
|
26
27
|
overage_billing_product_id?: string | null;
|
|
27
28
|
plan_id: string;
|
|
28
|
-
price_behavior?:
|
|
29
|
+
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
29
30
|
price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
30
31
|
soft_limit?: number | null;
|
|
31
|
-
tier_mode?:
|
|
32
|
+
tier_mode?: BillingTiersMode.Raw | null;
|
|
32
33
|
value_bool?: boolean | null;
|
|
33
34
|
value_credit_id?: string | null;
|
|
34
35
|
value_numeric?: number | null;
|
|
35
36
|
value_trait_id?: string | null;
|
|
36
|
-
value_type:
|
|
37
|
+
value_type: EntitlementValueType.Raw;
|
|
37
38
|
yearly_metered_price_id?: string | null;
|
|
38
39
|
yearly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
39
40
|
yearly_unit_price?: number | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Schematic from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const DuplicatePlanEntitlementsRequestBody: core.serialization.Schema<serializers.DuplicatePlanEntitlementsRequestBody.Raw, Schematic.DuplicatePlanEntitlementsRequestBody>;
|
|
8
|
+
export declare namespace DuplicatePlanEntitlementsRequestBody {
|
|
9
|
+
interface Raw {
|
|
10
|
+
source_plan_id: string;
|
|
11
|
+
target_plan_id: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -6,7 +6,7 @@ import * as Schematic from "../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
7
|
import { UpdateCompanyOverrideRequestBodyMetricPeriod } from "../../types/UpdateCompanyOverrideRequestBodyMetricPeriod";
|
|
8
8
|
import { UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset } from "../../types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset";
|
|
9
|
-
import {
|
|
9
|
+
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
10
10
|
export declare const UpdateCompanyOverrideRequestBody: core.serialization.Schema<serializers.UpdateCompanyOverrideRequestBody.Raw, Schematic.UpdateCompanyOverrideRequestBody>;
|
|
11
11
|
export declare namespace UpdateCompanyOverrideRequestBody {
|
|
12
12
|
interface Raw {
|
|
@@ -19,6 +19,6 @@ export declare namespace UpdateCompanyOverrideRequestBody {
|
|
|
19
19
|
value_credit_id?: string | null;
|
|
20
20
|
value_numeric?: number | null;
|
|
21
21
|
value_trait_id?: string | null;
|
|
22
|
-
value_type:
|
|
22
|
+
value_type: EntitlementValueType.Raw;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -7,8 +7,9 @@ import * as core from "../../../../../core";
|
|
|
7
7
|
import { UpdatePlanEntitlementRequestBodyMetricPeriod } from "../../types/UpdatePlanEntitlementRequestBodyMetricPeriod";
|
|
8
8
|
import { UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset } from "../../types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset";
|
|
9
9
|
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBehavior";
|
|
11
|
+
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
12
|
+
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
12
13
|
export declare const UpdatePlanEntitlementRequestBody: core.serialization.Schema<serializers.UpdatePlanEntitlementRequestBody.Raw, Schematic.UpdatePlanEntitlementRequestBody>;
|
|
13
14
|
export declare namespace UpdatePlanEntitlementRequestBody {
|
|
14
15
|
interface Raw {
|
|
@@ -23,15 +24,15 @@ export declare namespace UpdatePlanEntitlementRequestBody {
|
|
|
23
24
|
monthly_unit_price?: number | null;
|
|
24
25
|
monthly_unit_price_decimal?: string | null;
|
|
25
26
|
overage_billing_product_id?: string | null;
|
|
26
|
-
price_behavior?:
|
|
27
|
+
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
27
28
|
price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
28
29
|
soft_limit?: number | null;
|
|
29
|
-
tier_mode?:
|
|
30
|
+
tier_mode?: BillingTiersMode.Raw | null;
|
|
30
31
|
value_bool?: boolean | null;
|
|
31
32
|
value_credit_id?: string | null;
|
|
32
33
|
value_numeric?: number | null;
|
|
33
34
|
value_trait_id?: string | null;
|
|
34
|
-
value_type:
|
|
35
|
+
value_type: EntitlementValueType.Raw;
|
|
35
36
|
yearly_metered_price_id?: string | null;
|
|
36
37
|
yearly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
37
38
|
yearly_unit_price?: number | null;
|
|
@@ -2,3 +2,4 @@ export { CreateCompanyOverrideRequestBody } from "./CreateCompanyOverrideRequest
|
|
|
2
2
|
export { UpdateCompanyOverrideRequestBody } from "./UpdateCompanyOverrideRequestBody";
|
|
3
3
|
export { CreatePlanEntitlementRequestBody } from "./CreatePlanEntitlementRequestBody";
|
|
4
4
|
export { UpdatePlanEntitlementRequestBody } from "./UpdatePlanEntitlementRequestBody";
|
|
5
|
+
export { DuplicatePlanEntitlementsRequestBody } from "./DuplicatePlanEntitlementsRequestBody";
|
package/dist/serialization/resources/entitlements/types/DuplicatePlanEntitlementsResponse.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Schematic from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { DuplicatePlanEntitlementsResponseResponseData } from "../../../types/DuplicatePlanEntitlementsResponseResponseData";
|
|
8
|
+
export declare const DuplicatePlanEntitlementsResponse: core.serialization.ObjectSchema<serializers.DuplicatePlanEntitlementsResponse.Raw, Schematic.DuplicatePlanEntitlementsResponse>;
|
|
9
|
+
export declare namespace DuplicatePlanEntitlementsResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
data: DuplicatePlanEntitlementsResponseResponseData.Raw;
|
|
12
|
+
params: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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";
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Schematic from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { EventType } from "../../../types/EventType";
|
|
8
8
|
export declare const ListEventsParams: core.serialization.ObjectSchema<serializers.ListEventsParams.Raw, Schematic.ListEventsParams>;
|
|
9
9
|
export declare namespace ListEventsParams {
|
|
10
10
|
interface Raw {
|
|
11
11
|
company_id?: string | null;
|
|
12
12
|
event_subtype?: string | null;
|
|
13
|
-
event_types?:
|
|
13
|
+
event_types?: EventType.Raw[] | null;
|
|
14
14
|
flag_id?: string | null;
|
|
15
15
|
limit?: number | null;
|
|
16
16
|
offset?: number | null;
|
|
@@ -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";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Schematic from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
import { CheckFlagRequestBody } from "../../../../types/CheckFlagRequestBody";
|
|
8
|
+
export declare const CheckFlagsBulkRequestBody: core.serialization.Schema<serializers.CheckFlagsBulkRequestBody.Raw, Schematic.CheckFlagsBulkRequestBody>;
|
|
9
|
+
export declare namespace CheckFlagsBulkRequestBody {
|
|
10
|
+
interface Raw {
|
|
11
|
+
contexts: CheckFlagRequestBody.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|