@schematichq/schematic-typescript-node 1.6.3 → 1.6.5
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/README.md +18 -3
- package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +1 -0
- package/dist/api/resources/billing/client/Client.d.ts +38 -6
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +2 -1
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/UpdateBillingSettingsRequestBody.d.ts +8 -0
- package/dist/api/resources/billing/client/requests/index.d.ts +1 -0
- package/dist/api/resources/billing/types/GetBillingSettingsResponse.d.ts +6 -0
- package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +1 -1
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +1 -1
- package/dist/api/resources/billing/types/UpdateBillingSettingsResponse.d.ts +6 -0
- package/dist/api/resources/billing/types/index.d.ts +2 -0
- package/dist/api/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +2 -1
- package/dist/api/resources/companies/client/Client.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +1 -1
- package/dist/api/resources/credits/client/Client.d.ts +47 -6
- package/dist/api/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +2 -0
- package/dist/api/resources/credits/client/requests/CountCreditEventLedgerRequest.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CreateCreditSpendPolicyRequestBody.d.ts +8 -4
- package/dist/api/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +2 -0
- package/dist/api/resources/credits/client/requests/GetCreditBalanceTimeSeriesRequest.d.ts +15 -0
- package/dist/api/resources/credits/client/requests/GetCreditSpendPolicyUsageRequest.d.ts +13 -0
- package/dist/api/resources/credits/client/requests/ListCreditEventLedgerRequest.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/UpdateCreditSpendPolicyRequestBody.d.ts +3 -0
- package/dist/api/resources/credits/client/requests/index.d.ts +2 -0
- package/dist/api/resources/credits/types/GetCreditBalanceTimeSeriesParams.d.ts +9 -0
- package/dist/api/resources/credits/types/GetCreditBalanceTimeSeriesResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/GetCreditSpendPolicyUsageParams.d.ts +8 -0
- package/dist/api/resources/credits/types/GetCreditSpendPolicyUsageResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/index.d.ts +4 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +69 -0
- package/dist/api/resources/entitlements/client/requests/CountCompanyUserUsageRequest.d.ts +29 -0
- package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +3 -1
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -0
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +3 -1
- package/dist/api/resources/entitlements/client/requests/GetCompanyUserUsageMetricsRequest.d.ts +16 -0
- package/dist/api/resources/entitlements/client/requests/ListCompanyUserUsageRequest.d.ts +29 -0
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -0
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -1
- package/dist/api/resources/entitlements/client/requests/index.d.ts +3 -0
- package/dist/api/resources/entitlements/types/CountCompanyUserUsageParams.d.ts +20 -0
- package/dist/api/resources/entitlements/types/CountCompanyUserUsageResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/GetCompanyUserUsageMetricsParams.d.ts +11 -0
- package/dist/api/resources/entitlements/types/GetCompanyUserUsageMetricsResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/ListCompanyUserUsageParams.d.ts +20 -0
- package/dist/api/resources/entitlements/types/ListCompanyUserUsageResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/index.d.ts +6 -0
- package/dist/api/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +2 -0
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -0
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -0
- package/dist/api/resources/plangroups/client/Client.d.ts +2 -0
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -0
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +2 -0
- package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +2 -0
- package/dist/api/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +3 -0
- package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +2 -0
- package/dist/api/resources/planmigrations/types/CountMigrationsParams.d.ts +1 -0
- package/dist/api/resources/planmigrations/types/ListMigrationsParams.d.ts +1 -0
- package/dist/api/resources/plans/client/Client.d.ts +20 -1
- package/dist/api/resources/plans/client/requests/GetPlanVersionDiffRequest.d.ts +10 -0
- package/dist/api/resources/plans/client/requests/ListCustomPlanBillingsRequest.d.ts +2 -2
- package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +10 -0
- package/dist/api/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +2 -0
- package/dist/api/resources/plans/client/requests/index.d.ts +1 -0
- package/dist/api/resources/plans/types/GetPlanVersionDiffParams.d.ts +7 -0
- package/dist/api/resources/plans/types/GetPlanVersionDiffResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/ListCustomPlanBillingsParams.d.ts +1 -1
- package/dist/api/resources/plans/types/index.d.ts +2 -0
- package/dist/api/types/BillingCouponResponseData.d.ts +1 -1
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +2 -2
- package/dist/api/types/BillingCustomerSubscription.d.ts +2 -1
- package/dist/api/types/BillingPriceResponseData.d.ts +1 -1
- package/dist/api/types/BillingPriceView.d.ts +1 -1
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +1 -1
- package/dist/api/types/BillingProductPriceResponseData.d.ts +1 -1
- package/dist/api/types/BillingProductPricing.d.ts +1 -1
- package/dist/api/types/BillingSettingsResponseData.d.ts +4 -0
- package/dist/api/types/BillingSubscriptionDiscountView.d.ts +2 -1
- package/dist/api/types/BillingSubscriptionResponseData.d.ts +1 -1
- package/dist/api/types/BillingSubscriptionView.d.ts +1 -1
- package/dist/api/types/CaptureRawEvent.d.ts +2 -0
- package/dist/api/types/CatalogConfigOrderedPlan.d.ts +1 -0
- package/dist/api/types/CatalogConfigOrderedPlanResponseData.d.ts +1 -0
- package/dist/api/types/CatalogConfigPlanCredit.d.ts +4 -0
- package/dist/api/types/CatalogConfigPlanCreditResponseData.d.ts +4 -0
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -1
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -1
- package/dist/api/types/CheckFlagsResponseData.d.ts +2 -0
- package/dist/api/types/CheckoutProblemCode.d.ts +47 -0
- package/dist/api/types/CheckoutProblemResponseData.d.ts +19 -0
- package/dist/api/types/CheckoutProblemSource.d.ts +6 -0
- package/dist/api/types/CheckoutSubscription.d.ts +1 -1
- package/dist/api/types/CompanyBillingEntitySubscriptionResponseData.d.ts +1 -1
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
- package/dist/api/types/CompanyOverrideResponseData.d.ts +2 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +2 -0
- package/dist/api/types/CompanySubscriptionResponseData.d.ts +1 -1
- package/dist/api/types/CompanyUserUsageMetricsResponseData.d.ts +11 -0
- package/dist/api/types/CompanyUserUsageResponseData.d.ts +15 -0
- package/dist/api/types/CompanyUserUsageRowResponseData.d.ts +13 -0
- package/dist/api/types/ComponentDisplaySettings.d.ts +1 -0
- package/dist/api/types/ComponentSettingsResponseData.d.ts +1 -0
- package/dist/api/types/Condition.d.ts +1 -0
- package/dist/api/types/ConditionResponseData.d.ts +1 -0
- package/dist/api/types/ConditionView.d.ts +1 -0
- package/dist/api/types/CouponRequestBody.d.ts +2 -1
- package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +3 -1
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +2 -0
- package/dist/api/types/CreditBalanceEventResponseData.d.ts +10 -0
- package/dist/api/types/CreditBalanceFeatureConsumptionResponseData.d.ts +5 -0
- package/dist/api/types/CreditBalancePointResponseData.d.ts +9 -0
- package/dist/api/types/CreditBalanceTimeSeriesResponseData.d.ts +8 -0
- package/dist/api/types/CreditBundleCurrencyPrice.d.ts +1 -1
- package/dist/api/types/CreditBundleCurrencyPriceRequestBody.d.ts +2 -1
- package/dist/api/types/CreditBundleCurrencyPriceResponseData.d.ts +1 -1
- package/dist/api/types/CreditBurnBreakdownLine.d.ts +6 -0
- package/dist/api/types/CreditCompanyGrantView.d.ts +2 -2
- package/dist/api/types/CreditCurrencyPrice.d.ts +1 -1
- package/dist/api/types/CreditCurrencyPriceRequestBody.d.ts +2 -1
- package/dist/api/types/CreditCurrencyPriceResponseData.d.ts +1 -1
- package/dist/api/types/CreditEventLedgerResponseData.d.ts +6 -1
- package/dist/api/types/CreditEventType.d.ts +3 -0
- package/dist/api/types/CreditLedgerEntryKind.d.ts +10 -0
- package/dist/api/types/CreditSpendPolicy.d.ts +21 -0
- package/dist/api/types/CreditSpendPolicyResponseData.d.ts +9 -0
- package/dist/api/types/CreditSpendWindow.d.ts +6 -0
- package/dist/api/types/CreditSpendWindowUnit.d.ts +6 -0
- package/dist/api/types/CreditUsageReason.d.ts +1 -0
- package/dist/api/types/CreditsInPlan.d.ts +4 -0
- package/dist/api/types/Currency.d.ts +137 -0
- package/dist/api/types/CurrencyPriceRequestBody.d.ts +1 -1
- package/dist/api/types/CustomPlanBillingResponseData.d.ts +9 -1
- package/dist/api/types/EntitlementCurrencyPricesResponseData.d.ts +1 -1
- package/dist/api/types/EnvironmentDetailResponseData.d.ts +1 -0
- package/dist/api/types/EnvironmentResponseData.d.ts +1 -0
- package/dist/api/types/EstimatedPlanTotal.d.ts +6 -0
- package/dist/api/types/FeatureDetailResponseData.d.ts +2 -0
- package/dist/api/types/FeatureEntitlement.d.ts +2 -0
- package/dist/api/types/FeatureEventSource.d.ts +5 -0
- package/dist/api/types/FeatureInPlanResponseData.d.ts +2 -0
- package/dist/api/types/FeatureResponseData.d.ts +2 -0
- package/dist/api/types/FeatureView.d.ts +1 -0
- package/dist/api/types/InvoiceRequestBody.d.ts +1 -1
- package/dist/api/types/InvoiceResponseData.d.ts +1 -1
- package/dist/api/types/ManagePlanPreviewResponseResponseData.d.ts +1 -0
- package/dist/api/types/ManagePlanRequest.d.ts +3 -1
- package/dist/api/types/ManagePlanResponseResponseData.d.ts +2 -0
- package/dist/api/types/MrrResponseData.d.ts +2 -1
- package/dist/api/types/OrderedPlansInGroup.d.ts +1 -0
- package/dist/api/types/PendingMigrationResponseData.d.ts +8 -0
- package/dist/api/types/PlanBillingSource.d.ts +1 -0
- package/dist/api/types/PlanChangeAction.d.ts +1 -0
- package/dist/api/types/PlanChangeAmendmentStatus.d.ts +8 -0
- package/dist/api/types/PlanChangeResponseData.d.ts +4 -0
- package/dist/api/types/PlanCreditOrder.d.ts +4 -0
- package/dist/api/types/PlanCreditVisibility.d.ts +4 -0
- package/dist/api/types/PlanCurrencyPriceRequestBody.d.ts +2 -1
- package/dist/api/types/PlanCurrencyPricesResponseData.d.ts +1 -1
- package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -0
- package/dist/api/types/PlanGroupPlanEntitlementsOrder.d.ts +1 -0
- package/dist/api/types/PlanVersionBillingProductChangeResponseData.d.ts +5 -0
- package/dist/api/types/PlanVersionCreditGrantChangeResponseData.d.ts +9 -0
- package/dist/api/types/PlanVersionDiffChangeType.d.ts +6 -0
- package/dist/api/types/PlanVersionDiffPriceCadence.d.ts +7 -0
- package/dist/api/types/PlanVersionDiffResponseData.d.ts +19 -0
- package/dist/api/types/PlanVersionEntitlementChangeResponseData.d.ts +9 -0
- package/dist/api/types/PlanVersionFieldChangeResponseData.d.ts +5 -0
- package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationStrategy.d.ts +1 -0
- package/dist/api/types/PlanVersionPriceChangeResponseData.d.ts +7 -0
- package/dist/api/types/PlanViewPublicResponseData.d.ts +1 -0
- package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +1 -0
- package/dist/api/types/PreviewSubscriptionDiscountResponseData.d.ts +2 -1
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -1
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/RulesengineCompany.d.ts +1 -0
- package/dist/api/types/RulesengineCondition.d.ts +1 -0
- package/dist/api/types/RulesengineCreditSpendPolicy.d.ts +21 -0
- package/dist/api/types/RulesengineCreditSpendPolicyScope.d.ts +6 -0
- package/dist/api/types/RulesengineCreditSpendWindow.d.ts +6 -0
- package/dist/api/types/RulesengineFeatureEntitlement.d.ts +2 -0
- package/dist/api/types/RulesengineUser.d.ts +1 -0
- package/dist/api/types/ScheduledDowngradeResponseData.d.ts +2 -1
- package/dist/api/types/UpcomingInvoiceResponseData.d.ts +1 -1
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +2 -0
- package/dist/api/types/UpsertBillingProductRequestBody.d.ts +1 -1
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +1 -1
- package/dist/api/types/UserUsageMetric.d.ts +5 -0
- package/dist/api/types/index.d.ts +37 -0
- package/dist/core/fetcher/getResponseBody.d.ts +16 -0
- package/dist/core/fetcher/makeRequest.d.ts +6 -1
- package/dist/core/fetcher/requestWithRetries.d.ts +1 -1
- package/dist/core/fetcher/signals.d.ts +1 -0
- package/dist/datastream/datastream-client.d.ts +2 -2
- package/dist/index.js +9 -9
- package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +1 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -1
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +2 -1
- package/dist/serialization/resources/billing/client/requests/CreateCouponRequestBody.d.ts +2 -1
- package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -1
- package/dist/serialization/resources/billing/client/requests/UpdateBillingSettingsRequestBody.d.ts +10 -0
- package/dist/serialization/resources/billing/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/billing/types/GetBillingSettingsResponse.d.ts +11 -0
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +2 -1
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -1
- package/dist/serialization/resources/billing/types/UpdateBillingSettingsResponse.d.ts +11 -0
- package/dist/serialization/resources/billing/types/index.d.ts +2 -0
- package/dist/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.d.ts +2 -1
- package/dist/serialization/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +1 -0
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +2 -1
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +2 -1
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -1
- package/dist/serialization/resources/credits/client/requests/CreateCreditSpendPolicyRequestBody.d.ts +4 -1
- package/dist/serialization/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +1 -0
- package/dist/serialization/resources/credits/client/requests/UpdateCreditSpendPolicyRequestBody.d.ts +3 -0
- package/dist/serialization/resources/credits/types/GetCreditBalanceTimeSeriesParams.d.ts +12 -0
- package/dist/serialization/resources/credits/types/GetCreditBalanceTimeSeriesResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/GetCreditSpendPolicyUsageParams.d.ts +11 -0
- package/dist/serialization/resources/credits/types/GetCreditSpendPolicyUsageResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/index.d.ts +4 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +3 -1
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +3 -1
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -1
- package/dist/serialization/resources/entitlements/types/CountCompanyUserUsageParams.d.ts +16 -0
- package/dist/serialization/resources/entitlements/types/CountCompanyUserUsageResponse.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/GetCompanyUserUsageMetricsParams.d.ts +11 -0
- package/dist/serialization/resources/entitlements/types/GetCompanyUserUsageMetricsResponse.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/ListCompanyUserUsageParams.d.ts +16 -0
- package/dist/serialization/resources/entitlements/types/ListCompanyUserUsageResponse.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +6 -0
- package/dist/serialization/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +2 -0
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +2 -0
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +2 -0
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/types/CountMigrationsParams.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/types/ListMigrationsParams.d.ts +1 -0
- package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +4 -0
- package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +1 -0
- package/dist/serialization/resources/plans/types/GetPlanVersionDiffParams.d.ts +9 -0
- package/dist/serialization/resources/plans/types/GetPlanVersionDiffResponse.d.ts +12 -0
- package/dist/serialization/resources/plans/types/index.d.ts +2 -0
- package/dist/serialization/types/BillingCouponResponseData.d.ts +2 -1
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +3 -2
- package/dist/serialization/types/BillingCustomerSubscription.d.ts +2 -1
- package/dist/serialization/types/BillingPriceResponseData.d.ts +2 -1
- package/dist/serialization/types/BillingPriceView.d.ts +2 -1
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +2 -1
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +2 -1
- package/dist/serialization/types/BillingProductPricing.d.ts +2 -1
- package/dist/serialization/types/BillingSettingsResponseData.d.ts +10 -0
- package/dist/serialization/types/BillingSubscriptionDiscountView.d.ts +2 -1
- package/dist/serialization/types/BillingSubscriptionResponseData.d.ts +2 -1
- package/dist/serialization/types/BillingSubscriptionView.d.ts +2 -1
- package/dist/serialization/types/CaptureRawEvent.d.ts +2 -0
- package/dist/serialization/types/CatalogConfigOrderedPlan.d.ts +2 -0
- package/dist/serialization/types/CatalogConfigOrderedPlanResponseData.d.ts +2 -0
- package/dist/serialization/types/CatalogConfigPlanCredit.d.ts +10 -0
- package/dist/serialization/types/CatalogConfigPlanCreditResponseData.d.ts +10 -0
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -1
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +2 -1
- package/dist/serialization/types/CheckFlagsResponseData.d.ts +2 -0
- package/dist/serialization/types/CheckoutProblemCode.d.ts +7 -0
- package/dist/serialization/types/CheckoutProblemResponseData.d.ts +23 -0
- package/dist/serialization/types/CheckoutProblemSource.d.ts +7 -0
- package/dist/serialization/types/CheckoutSubscription.d.ts +2 -1
- package/dist/serialization/types/CompanyBillingEntitySubscriptionResponseData.d.ts +2 -1
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +1 -0
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +1 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +4 -0
- package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +2 -1
- package/dist/serialization/types/CompanyUserUsageMetricsResponseData.d.ts +13 -0
- package/dist/serialization/types/CompanyUserUsageResponseData.d.ts +15 -0
- package/dist/serialization/types/CompanyUserUsageRowResponseData.d.ts +14 -0
- package/dist/serialization/types/ComponentDisplaySettings.d.ts +1 -0
- package/dist/serialization/types/ComponentSettingsResponseData.d.ts +1 -0
- package/dist/serialization/types/Condition.d.ts +1 -0
- package/dist/serialization/types/ConditionResponseData.d.ts +1 -0
- package/dist/serialization/types/ConditionView.d.ts +1 -0
- package/dist/serialization/types/CouponRequestBody.d.ts +2 -1
- package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +3 -1
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +1 -0
- package/dist/serialization/types/CreditBalanceEventResponseData.d.ts +18 -0
- package/dist/serialization/types/CreditBalanceFeatureConsumptionResponseData.d.ts +11 -0
- package/dist/serialization/types/CreditBalancePointResponseData.d.ts +13 -0
- package/dist/serialization/types/CreditBalanceTimeSeriesResponseData.d.ts +14 -0
- package/dist/serialization/types/CreditBundleCurrencyPrice.d.ts +2 -1
- package/dist/serialization/types/CreditBundleCurrencyPriceRequestBody.d.ts +2 -1
- package/dist/serialization/types/CreditBundleCurrencyPriceResponseData.d.ts +2 -1
- package/dist/serialization/types/CreditBurnBreakdownLine.d.ts +12 -0
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +3 -2
- package/dist/serialization/types/CreditCurrencyPrice.d.ts +2 -1
- package/dist/serialization/types/CreditCurrencyPriceRequestBody.d.ts +2 -1
- package/dist/serialization/types/CreditCurrencyPriceResponseData.d.ts +2 -1
- package/dist/serialization/types/CreditEventLedgerResponseData.d.ts +8 -1
- package/dist/serialization/types/CreditEventType.d.ts +1 -1
- package/dist/serialization/types/CreditLedgerEntryKind.d.ts +7 -0
- package/dist/serialization/types/CreditSpendPolicy.d.ts +19 -0
- package/dist/serialization/types/CreditSpendPolicyResponseData.d.ts +7 -0
- package/dist/serialization/types/CreditSpendWindow.d.ts +10 -0
- package/dist/serialization/types/CreditSpendWindowUnit.d.ts +7 -0
- package/dist/serialization/types/CreditUsageReason.d.ts +1 -1
- package/dist/serialization/types/CreditsInPlan.d.ts +10 -0
- package/dist/serialization/types/Currency.d.ts +7 -0
- package/dist/serialization/types/CurrencyPriceRequestBody.d.ts +2 -1
- package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +5 -0
- package/dist/serialization/types/EntitlementCurrencyPricesResponseData.d.ts +2 -1
- package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +1 -0
- package/dist/serialization/types/EnvironmentResponseData.d.ts +1 -0
- package/dist/serialization/types/EstimatedPlanTotal.d.ts +13 -0
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/FeatureEntitlement.d.ts +1 -0
- package/dist/serialization/types/FeatureEventSource.d.ts +7 -0
- package/dist/serialization/types/FeatureInPlanResponseData.d.ts +2 -0
- package/dist/serialization/types/FeatureResponseData.d.ts +2 -0
- package/dist/serialization/types/FeatureView.d.ts +2 -0
- package/dist/serialization/types/InvoiceRequestBody.d.ts +2 -1
- package/dist/serialization/types/InvoiceResponseData.d.ts +2 -1
- package/dist/serialization/types/ManagePlanPreviewResponseResponseData.d.ts +2 -0
- package/dist/serialization/types/ManagePlanRequest.d.ts +3 -1
- package/dist/serialization/types/ManagePlanResponseResponseData.d.ts +3 -0
- package/dist/serialization/types/MrrResponseData.d.ts +2 -1
- package/dist/serialization/types/OrderedPlansInGroup.d.ts +2 -0
- package/dist/serialization/types/PendingMigrationResponseData.d.ts +5 -0
- package/dist/serialization/types/PlanBillingSource.d.ts +1 -1
- package/dist/serialization/types/PlanChangeAction.d.ts +1 -1
- package/dist/serialization/types/PlanChangeAmendmentStatus.d.ts +7 -0
- package/dist/serialization/types/PlanChangeResponseData.d.ts +3 -0
- package/dist/serialization/types/PlanCreditOrder.d.ts +10 -0
- package/dist/serialization/types/PlanCreditVisibility.d.ts +10 -0
- package/dist/serialization/types/PlanCurrencyPriceRequestBody.d.ts +2 -1
- package/dist/serialization/types/PlanCurrencyPricesResponseData.d.ts +2 -1
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanGroupPlanEntitlementsOrder.d.ts +2 -0
- package/dist/serialization/types/PlanVersionBillingProductChangeResponseData.d.ts +11 -0
- package/dist/serialization/types/PlanVersionCreditGrantChangeResponseData.d.ts +15 -0
- package/dist/serialization/types/PlanVersionDiffChangeType.d.ts +7 -0
- package/dist/serialization/types/PlanVersionDiffPriceCadence.d.ts +7 -0
- package/dist/serialization/types/PlanVersionDiffResponseData.d.ts +22 -0
- package/dist/serialization/types/PlanVersionEntitlementChangeResponseData.d.ts +15 -0
- package/dist/serialization/types/PlanVersionFieldChangeResponseData.d.ts +11 -0
- package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanVersionMigrationStrategy.d.ts +1 -1
- package/dist/serialization/types/PlanVersionPriceChangeResponseData.d.ts +15 -0
- package/dist/serialization/types/PlanViewPublicResponseData.d.ts +2 -0
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +2 -0
- package/dist/serialization/types/PreviewSubscriptionDiscountResponseData.d.ts +2 -1
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -1
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/serialization/types/RulesengineCompany.d.ts +2 -0
- package/dist/serialization/types/RulesengineCondition.d.ts +1 -0
- package/dist/serialization/types/RulesengineCreditSpendPolicy.d.ts +19 -0
- package/dist/serialization/types/RulesengineCreditSpendPolicyScope.d.ts +7 -0
- package/dist/serialization/types/RulesengineCreditSpendWindow.d.ts +10 -0
- package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +1 -0
- package/dist/serialization/types/RulesengineUser.d.ts +2 -0
- package/dist/serialization/types/ScheduledDowngradeResponseData.d.ts +2 -1
- package/dist/serialization/types/UpcomingInvoiceResponseData.d.ts +2 -1
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +1 -0
- package/dist/serialization/types/UpsertBillingProductRequestBody.d.ts +2 -1
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +2 -1
- package/dist/serialization/types/UserUsageMetric.d.ts +7 -0
- package/dist/serialization/types/index.d.ts +37 -0
- package/dist/wasm/rulesengine.js +1 -1
- package/dist/wrapper.d.ts +2 -2
- package/package.json +1 -1
package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts
CHANGED
|
@@ -6,11 +6,12 @@ import { BillingPriceUsageType } from "../../../../types/BillingPriceUsageType";
|
|
|
6
6
|
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
7
7
|
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
8
8
|
import { CreateBillingPriceTierRequestBody } from "../../../../types/CreateBillingPriceTierRequestBody";
|
|
9
|
+
import { Currency } from "../../../../types/Currency";
|
|
9
10
|
export declare const CreateBillingPriceRequestBody: core.serialization.Schema<serializers.CreateBillingPriceRequestBody.Raw, Schematic.CreateBillingPriceRequestBody>;
|
|
10
11
|
export declare namespace CreateBillingPriceRequestBody {
|
|
11
12
|
interface Raw {
|
|
12
13
|
billing_scheme: BillingPriceScheme.Raw;
|
|
13
|
-
currency:
|
|
14
|
+
currency: Currency.Raw;
|
|
14
15
|
external_account_id: string;
|
|
15
16
|
interval: string;
|
|
16
17
|
interval_count?: number | null;
|
|
@@ -5,6 +5,7 @@ import { BillingProductPricing } from "../../../../types/BillingProductPricing";
|
|
|
5
5
|
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
6
6
|
import { BillingSubscriptionDiscount } from "../../../../types/BillingSubscriptionDiscount";
|
|
7
7
|
import { BillingSubscriptionTrialEndSetting } from "../../../../types/BillingSubscriptionTrialEndSetting";
|
|
8
|
+
import { Currency } from "../../../../types/Currency";
|
|
8
9
|
export declare const CreateBillingSubscriptionRequestBody: core.serialization.Schema<serializers.CreateBillingSubscriptionRequestBody.Raw, Schematic.CreateBillingSubscriptionRequestBody>;
|
|
9
10
|
export declare namespace CreateBillingSubscriptionRequestBody {
|
|
10
11
|
interface Raw {
|
|
@@ -12,7 +13,7 @@ export declare namespace CreateBillingSubscriptionRequestBody {
|
|
|
12
13
|
cancel_at?: number | null;
|
|
13
14
|
cancel_at_period_end: boolean;
|
|
14
15
|
company_id?: string | null;
|
|
15
|
-
currency:
|
|
16
|
+
currency: Currency.Raw;
|
|
16
17
|
customer_external_id: string;
|
|
17
18
|
default_payment_method_external_id?: string | null;
|
|
18
19
|
default_payment_method_id?: string | null;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
|
+
import { Currency } from "../../../../types/Currency";
|
|
4
5
|
export declare const CreateCouponRequestBody: core.serialization.Schema<serializers.CreateCouponRequestBody.Raw, Schematic.CreateCouponRequestBody>;
|
|
5
6
|
export declare namespace CreateCouponRequestBody {
|
|
6
7
|
interface Raw {
|
|
7
8
|
amount_off: number;
|
|
8
|
-
currency?:
|
|
9
|
+
currency?: Currency.Raw | null;
|
|
9
10
|
duration: string;
|
|
10
11
|
duration_in_months: number;
|
|
11
12
|
external_id: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
|
+
import { Currency } from "../../../../types/Currency";
|
|
4
5
|
import { InvoiceStatus } from "../../../../types/InvoiceStatus";
|
|
5
6
|
export declare const CreateInvoiceRequestBody: core.serialization.Schema<serializers.CreateInvoiceRequestBody.Raw, Schematic.CreateInvoiceRequestBody>;
|
|
6
7
|
export declare namespace CreateInvoiceRequestBody {
|
|
@@ -9,7 +10,7 @@ export declare namespace CreateInvoiceRequestBody {
|
|
|
9
10
|
amount_paid: number;
|
|
10
11
|
amount_remaining: number;
|
|
11
12
|
collection_method: string;
|
|
12
|
-
currency:
|
|
13
|
+
currency: Currency.Raw;
|
|
13
14
|
customer_external_id: string;
|
|
14
15
|
due_date?: string | null;
|
|
15
16
|
ending_balance?: number | null;
|
package/dist/serialization/resources/billing/client/requests/UpdateBillingSettingsRequestBody.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../index";
|
|
4
|
+
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
5
|
+
export declare const UpdateBillingSettingsRequestBody: core.serialization.Schema<serializers.UpdateBillingSettingsRequestBody.Raw, Schematic.UpdateBillingSettingsRequestBody>;
|
|
6
|
+
export declare namespace UpdateBillingSettingsRequestBody {
|
|
7
|
+
interface Raw {
|
|
8
|
+
default_provider_type?: BillingProviderType.Raw | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -6,4 +6,5 @@ export { CreateCouponRequestBody } from "./CreateCouponRequestBody";
|
|
|
6
6
|
export { CreateInvoiceRequestBody } from "./CreateInvoiceRequestBody";
|
|
7
7
|
export { CreateMeterRequestBody } from "./CreateMeterRequestBody";
|
|
8
8
|
export { CreatePaymentMethodRequestBody } from "./CreatePaymentMethodRequestBody";
|
|
9
|
+
export { UpdateBillingSettingsRequestBody } from "./UpdateBillingSettingsRequestBody";
|
|
9
10
|
export { UpdateCompanyBillingProfileRequestBody } from "./UpdateCompanyBillingProfileRequestBody";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { BillingSettingsResponseData } from "../../../types/BillingSettingsResponseData";
|
|
5
|
+
export declare const GetBillingSettingsResponse: core.serialization.ObjectSchema<serializers.GetBillingSettingsResponse.Raw, Schematic.GetBillingSettingsResponse>;
|
|
6
|
+
export declare namespace GetBillingSettingsResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: BillingSettingsResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -4,10 +4,11 @@ import type * as serializers from "../../../index";
|
|
|
4
4
|
import { BillingPriceUsageType } from "../../../types/BillingPriceUsageType";
|
|
5
5
|
import { BillingProviderType } from "../../../types/BillingProviderType";
|
|
6
6
|
import { BillingTiersMode } from "../../../types/BillingTiersMode";
|
|
7
|
+
import { Currency } from "../../../types/Currency";
|
|
7
8
|
export declare const ListBillingPricesParams: core.serialization.ObjectSchema<serializers.ListBillingPricesParams.Raw, Schematic.ListBillingPricesParams>;
|
|
8
9
|
export declare namespace ListBillingPricesParams {
|
|
9
10
|
interface Raw {
|
|
10
|
-
currency?:
|
|
11
|
+
currency?: Currency.Raw | null;
|
|
11
12
|
for_initial_plan?: boolean | null;
|
|
12
13
|
for_trial_expiry_plan?: boolean | null;
|
|
13
14
|
ids?: string[] | null;
|
|
@@ -4,10 +4,11 @@ import type * as serializers from "../../../index";
|
|
|
4
4
|
import { BillingPriceUsageType } from "../../../types/BillingPriceUsageType";
|
|
5
5
|
import { BillingProviderType } from "../../../types/BillingProviderType";
|
|
6
6
|
import { BillingTiersMode } from "../../../types/BillingTiersMode";
|
|
7
|
+
import { Currency } from "../../../types/Currency";
|
|
7
8
|
export declare const ListBillingProductPricesParams: core.serialization.ObjectSchema<serializers.ListBillingProductPricesParams.Raw, Schematic.ListBillingProductPricesParams>;
|
|
8
9
|
export declare namespace ListBillingProductPricesParams {
|
|
9
10
|
interface Raw {
|
|
10
|
-
currency?:
|
|
11
|
+
currency?: Currency.Raw | null;
|
|
11
12
|
for_initial_plan?: boolean | null;
|
|
12
13
|
for_trial_expiry_plan?: boolean | null;
|
|
13
14
|
ids?: string[] | null;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { BillingSettingsResponseData } from "../../../types/BillingSettingsResponseData";
|
|
5
|
+
export declare const UpdateBillingSettingsResponse: core.serialization.ObjectSchema<serializers.UpdateBillingSettingsResponse.Raw, Schematic.UpdateBillingSettingsResponse>;
|
|
6
|
+
export declare namespace UpdateBillingSettingsResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: BillingSettingsResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -8,6 +8,7 @@ export * from "./DeleteBillingInvoiceResponse";
|
|
|
8
8
|
export * from "./DeleteBillingProductResponse";
|
|
9
9
|
export * from "./DeletePaymentMethodByExternalIdResponse";
|
|
10
10
|
export * from "./DeleteProductPriceResponse";
|
|
11
|
+
export * from "./GetBillingSettingsResponse";
|
|
11
12
|
export * from "./ListBillingPricesParams";
|
|
12
13
|
export * from "./ListBillingPricesResponse";
|
|
13
14
|
export * from "./ListBillingProductPricesParams";
|
|
@@ -26,6 +27,7 @@ export * from "./ListMetersParams";
|
|
|
26
27
|
export * from "./ListMetersResponse";
|
|
27
28
|
export * from "./ListPaymentMethodsParams";
|
|
28
29
|
export * from "./ListPaymentMethodsResponse";
|
|
30
|
+
export * from "./UpdateBillingSettingsResponse";
|
|
29
31
|
export * from "./UpdateCompanyBillingProfileResponse";
|
|
30
32
|
export * from "./UpsertBillingCouponResponse";
|
|
31
33
|
export * from "./UpsertBillingCustomerResponse";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
|
+
import { Currency } from "../../../../types/Currency";
|
|
4
5
|
export declare const CheckoutDataRequestBody: core.serialization.Schema<serializers.CheckoutDataRequestBody.Raw, Schematic.CheckoutDataRequestBody>;
|
|
5
6
|
export declare namespace CheckoutDataRequestBody {
|
|
6
7
|
interface Raw {
|
|
7
8
|
company_id: string;
|
|
8
|
-
currency?:
|
|
9
|
+
currency?: Currency.Raw | null;
|
|
9
10
|
selected_plan_id?: string | null;
|
|
10
11
|
}
|
|
11
12
|
}
|
package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts
CHANGED
|
@@ -5,11 +5,12 @@ import { BillingCreditBurnStrategy } from "../../../../types/BillingCreditBurnSt
|
|
|
5
5
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
6
6
|
import { BillingCreditRolloverPolicy } from "../../../../types/BillingCreditRolloverPolicy";
|
|
7
7
|
import { CreditCurrencyPriceRequestBody } from "../../../../types/CreditCurrencyPriceRequestBody";
|
|
8
|
+
import { Currency } from "../../../../types/Currency";
|
|
8
9
|
export declare const CreateBillingCreditRequestBody: core.serialization.Schema<serializers.CreateBillingCreditRequestBody.Raw, Schematic.CreateBillingCreditRequestBody>;
|
|
9
10
|
export declare namespace CreateBillingCreditRequestBody {
|
|
10
11
|
interface Raw {
|
|
11
12
|
burn_strategy?: BillingCreditBurnStrategy.Raw | null;
|
|
12
|
-
currency:
|
|
13
|
+
currency: Currency.Raw;
|
|
13
14
|
currency_prices?: CreditCurrencyPriceRequestBody.Raw[] | null;
|
|
14
15
|
default_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
15
16
|
default_expiry_unit_count?: number | null;
|
|
@@ -5,6 +5,7 @@ import { BillingCreditExpiryType } from "../../../../types/BillingCreditExpiryTy
|
|
|
5
5
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
6
6
|
import { BillingCreditGrantReason } from "../../../../types/BillingCreditGrantReason";
|
|
7
7
|
import { BillingPlanCreditGrantResetStart } from "../../../../types/BillingPlanCreditGrantResetStart";
|
|
8
|
+
import { Currency } from "../../../../types/Currency";
|
|
8
9
|
export declare const CreateCompanyCreditGrant: core.serialization.Schema<serializers.CreateCompanyCreditGrant.Raw, Schematic.CreateCompanyCreditGrant>;
|
|
9
10
|
export declare namespace CreateCompanyCreditGrant {
|
|
10
11
|
interface Raw {
|
|
@@ -12,7 +13,7 @@ export declare namespace CreateCompanyCreditGrant {
|
|
|
12
13
|
company_id: string;
|
|
13
14
|
credit_bundle_id?: string | null;
|
|
14
15
|
credit_id: string;
|
|
15
|
-
currency?:
|
|
16
|
+
currency?: Currency.Raw | null;
|
|
16
17
|
expires_at?: string | null;
|
|
17
18
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
18
19
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { BillingCreditBundleType } from "../../../../types/BillingCreditBundleTy
|
|
|
6
6
|
import { BillingCreditExpiryType } from "../../../../types/BillingCreditExpiryType";
|
|
7
7
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
8
8
|
import { CreditBundleCurrencyPriceRequestBody } from "../../../../types/CreditBundleCurrencyPriceRequestBody";
|
|
9
|
+
import { Currency } from "../../../../types/Currency";
|
|
9
10
|
export declare const CreateCreditBundleRequestBody: core.serialization.Schema<serializers.CreateCreditBundleRequestBody.Raw, Schematic.CreateCreditBundleRequestBody>;
|
|
10
11
|
export declare namespace CreateCreditBundleRequestBody {
|
|
11
12
|
interface Raw {
|
|
@@ -13,7 +14,7 @@ export declare namespace CreateCreditBundleRequestBody {
|
|
|
13
14
|
bundle_type?: BillingCreditBundleType.Raw | null;
|
|
14
15
|
compatible_plan_ids?: string[] | null;
|
|
15
16
|
credit_id: string;
|
|
16
|
-
currency:
|
|
17
|
+
currency: Currency.Raw;
|
|
17
18
|
currency_prices?: CreditBundleCurrencyPriceRequestBody.Raw[] | null;
|
|
18
19
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
19
20
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
package/dist/serialization/resources/credits/client/requests/CreateCreditSpendPolicyRequestBody.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
|
+
import { CreditSpendWindowUnit } from "../../../../types/CreditSpendWindowUnit";
|
|
4
5
|
export declare const CreateCreditSpendPolicyRequestBody: core.serialization.Schema<serializers.CreateCreditSpendPolicyRequestBody.Raw, Schematic.CreateCreditSpendPolicyRequestBody>;
|
|
5
6
|
export declare namespace CreateCreditSpendPolicyRequestBody {
|
|
6
7
|
interface Raw {
|
|
7
8
|
billing_credit_id: string;
|
|
8
9
|
company_id?: string | null;
|
|
9
10
|
label?: string | null;
|
|
10
|
-
max_per_draw
|
|
11
|
+
max_per_draw?: number | null;
|
|
11
12
|
user_id?: string | null;
|
|
13
|
+
window_amount?: number | null;
|
|
14
|
+
window_unit?: CreditSpendWindowUnit.Raw | null;
|
|
12
15
|
}
|
|
13
16
|
}
|
package/dist/serialization/resources/credits/client/requests/UpdateCreditSpendPolicyRequestBody.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
|
+
import { CreditSpendWindowUnit } from "../../../../types/CreditSpendWindowUnit";
|
|
4
5
|
export declare const UpdateCreditSpendPolicyRequestBody: core.serialization.Schema<serializers.UpdateCreditSpendPolicyRequestBody.Raw, Schematic.UpdateCreditSpendPolicyRequestBody>;
|
|
5
6
|
export declare namespace UpdateCreditSpendPolicyRequestBody {
|
|
6
7
|
interface Raw {
|
|
7
8
|
label?: string | null;
|
|
8
9
|
max_per_draw?: number | null;
|
|
10
|
+
window_amount?: number | null;
|
|
11
|
+
window_unit?: CreditSpendWindowUnit.Raw | null;
|
|
9
12
|
}
|
|
10
13
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const GetCreditBalanceTimeSeriesParams: core.serialization.ObjectSchema<serializers.GetCreditBalanceTimeSeriesParams.Raw, Schematic.GetCreditBalanceTimeSeriesParams>;
|
|
5
|
+
export declare namespace GetCreditBalanceTimeSeriesParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
billing_credit_id?: string | null;
|
|
8
|
+
company_id?: string | null;
|
|
9
|
+
end_time?: string | null;
|
|
10
|
+
start_time?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CreditBalanceTimeSeriesResponseData } from "../../../types/CreditBalanceTimeSeriesResponseData";
|
|
5
|
+
import { GetCreditBalanceTimeSeriesParams } from "./GetCreditBalanceTimeSeriesParams";
|
|
6
|
+
export declare const GetCreditBalanceTimeSeriesResponse: core.serialization.ObjectSchema<serializers.GetCreditBalanceTimeSeriesResponse.Raw, Schematic.GetCreditBalanceTimeSeriesResponse>;
|
|
7
|
+
export declare namespace GetCreditBalanceTimeSeriesResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CreditBalanceTimeSeriesResponseData.Raw;
|
|
10
|
+
params: GetCreditBalanceTimeSeriesParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const GetCreditSpendPolicyUsageParams: core.serialization.ObjectSchema<serializers.GetCreditSpendPolicyUsageParams.Raw, Schematic.GetCreditSpendPolicyUsageParams>;
|
|
5
|
+
export declare namespace GetCreditSpendPolicyUsageParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
billing_credit_id?: string | null;
|
|
8
|
+
company_id?: string | null;
|
|
9
|
+
user_ids?: string[] | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CreditSpendPolicyResponseData } from "../../../types/CreditSpendPolicyResponseData";
|
|
5
|
+
import { GetCreditSpendPolicyUsageParams } from "./GetCreditSpendPolicyUsageParams";
|
|
6
|
+
export declare const GetCreditSpendPolicyUsageResponse: core.serialization.ObjectSchema<serializers.GetCreditSpendPolicyUsageResponse.Raw, Schematic.GetCreditSpendPolicyUsageResponse>;
|
|
7
|
+
export declare namespace GetCreditSpendPolicyUsageResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CreditSpendPolicyResponseData.Raw[];
|
|
10
|
+
params: GetCreditSpendPolicyUsageParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -22,8 +22,12 @@ export * from "./DeleteBillingPlanCreditGrantResponse";
|
|
|
22
22
|
export * from "./DeleteCreditBundleResponse";
|
|
23
23
|
export * from "./DeleteCreditSpendPolicyResponse";
|
|
24
24
|
export * from "./ExtendCreditLeaseResponse";
|
|
25
|
+
export * from "./GetCreditBalanceTimeSeriesParams";
|
|
26
|
+
export * from "./GetCreditBalanceTimeSeriesResponse";
|
|
25
27
|
export * from "./GetCreditBundleResponse";
|
|
26
28
|
export * from "./GetCreditSpendPolicyResponse";
|
|
29
|
+
export * from "./GetCreditSpendPolicyUsageParams";
|
|
30
|
+
export * from "./GetCreditSpendPolicyUsageResponse";
|
|
27
31
|
export * from "./GetSingleBillingCreditResponse";
|
|
28
32
|
export * from "./GetSingleBillingPlanCreditGrantResponse";
|
|
29
33
|
export * from "./GrantBillingCreditsToCompanyResponse";
|
|
@@ -6,6 +6,7 @@ import { BillingArrearsCadence } from "../../../../types/BillingArrearsCadence";
|
|
|
6
6
|
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
7
7
|
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
8
8
|
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
9
|
+
import { Currency } from "../../../../types/Currency";
|
|
9
10
|
import { CurrencyPriceRequestBody } from "../../../../types/CurrencyPriceRequestBody";
|
|
10
11
|
import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBehavior";
|
|
11
12
|
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
@@ -19,7 +20,7 @@ export declare namespace CreateBillingLinkedPlanEntitlementRequestBody {
|
|
|
19
20
|
billing_provider: BillingProviderType.Raw;
|
|
20
21
|
billing_threshold?: number | null;
|
|
21
22
|
credit_consumption_rate?: number | null;
|
|
22
|
-
currency?:
|
|
23
|
+
currency?: Currency.Raw | null;
|
|
23
24
|
currency_prices?: CurrencyPriceRequestBody.Raw[] | null;
|
|
24
25
|
external_resource_id: string;
|
|
25
26
|
feature_id: string;
|
|
@@ -36,6 +37,7 @@ export declare namespace CreateBillingLinkedPlanEntitlementRequestBody {
|
|
|
36
37
|
plan_version_id?: string | null;
|
|
37
38
|
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
38
39
|
price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
40
|
+
quantity_rates?: Record<string, number> | null;
|
|
39
41
|
quarterly_metered_price_id?: string | null;
|
|
40
42
|
quarterly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
41
43
|
quarterly_unit_price?: number | null;
|
|
@@ -14,6 +14,7 @@ export declare namespace CreateCompanyOverrideRequestBody {
|
|
|
14
14
|
metric_period?: MetricPeriod.Raw | null;
|
|
15
15
|
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
16
16
|
note?: string | null;
|
|
17
|
+
quantity_rates?: Record<string, number> | null;
|
|
17
18
|
value_bool?: boolean | null;
|
|
18
19
|
value_credit_id?: string | null;
|
|
19
20
|
value_numeric?: number | null;
|
|
@@ -5,6 +5,7 @@ import { BillingArrearsAnchor } from "../../../../types/BillingArrearsAnchor";
|
|
|
5
5
|
import { BillingArrearsCadence } from "../../../../types/BillingArrearsCadence";
|
|
6
6
|
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
7
7
|
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
8
|
+
import { Currency } from "../../../../types/Currency";
|
|
8
9
|
import { CurrencyPriceRequestBody } from "../../../../types/CurrencyPriceRequestBody";
|
|
9
10
|
import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBehavior";
|
|
10
11
|
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
@@ -17,7 +18,7 @@ export declare namespace CreatePlanEntitlementRequestBody {
|
|
|
17
18
|
billing_product_id?: string | null;
|
|
18
19
|
billing_threshold?: number | null;
|
|
19
20
|
credit_consumption_rate?: number | null;
|
|
20
|
-
currency?:
|
|
21
|
+
currency?: Currency.Raw | null;
|
|
21
22
|
currency_prices?: CurrencyPriceRequestBody.Raw[] | null;
|
|
22
23
|
feature_id: string;
|
|
23
24
|
metric_period?: MetricPeriod.Raw | null;
|
|
@@ -33,6 +34,7 @@ export declare namespace CreatePlanEntitlementRequestBody {
|
|
|
33
34
|
plan_version_id?: string | null;
|
|
34
35
|
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
35
36
|
price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
37
|
+
quantity_rates?: Record<string, number> | null;
|
|
36
38
|
quarterly_metered_price_id?: string | null;
|
|
37
39
|
quarterly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
38
40
|
quarterly_unit_price?: number | null;
|
|
@@ -12,6 +12,7 @@ export declare namespace UpdateCompanyOverrideRequestBody {
|
|
|
12
12
|
metric_period?: MetricPeriod.Raw | null;
|
|
13
13
|
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
14
14
|
note?: string | null;
|
|
15
|
+
quantity_rates?: Record<string, number> | null;
|
|
15
16
|
value_bool?: boolean | null;
|
|
16
17
|
value_credit_id?: string | null;
|
|
17
18
|
value_numeric?: number | null;
|
|
@@ -5,6 +5,7 @@ import { BillingArrearsAnchor } from "../../../../types/BillingArrearsAnchor";
|
|
|
5
5
|
import { BillingArrearsCadence } from "../../../../types/BillingArrearsCadence";
|
|
6
6
|
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
7
7
|
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
8
|
+
import { Currency } from "../../../../types/Currency";
|
|
8
9
|
import { CurrencyPriceRequestBody } from "../../../../types/CurrencyPriceRequestBody";
|
|
9
10
|
import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBehavior";
|
|
10
11
|
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
@@ -17,7 +18,7 @@ export declare namespace UpdatePlanEntitlementRequestBody {
|
|
|
17
18
|
billing_product_id?: string | null;
|
|
18
19
|
billing_threshold?: number | null;
|
|
19
20
|
credit_consumption_rate?: number | null;
|
|
20
|
-
currency?:
|
|
21
|
+
currency?: Currency.Raw | null;
|
|
21
22
|
currency_prices?: CurrencyPriceRequestBody.Raw[] | null;
|
|
22
23
|
metric_period?: MetricPeriod.Raw | null;
|
|
23
24
|
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
@@ -30,6 +31,7 @@ export declare namespace UpdatePlanEntitlementRequestBody {
|
|
|
30
31
|
overage_invoice_anchor?: BillingArrearsAnchor.Raw | null;
|
|
31
32
|
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
32
33
|
price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
34
|
+
quantity_rates?: Record<string, number> | null;
|
|
33
35
|
quarterly_metered_price_id?: string | null;
|
|
34
36
|
quarterly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
35
37
|
quarterly_unit_price?: number | null;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { UserUsageMetric } from "../../../types/UserUsageMetric";
|
|
5
|
+
export declare const CountCompanyUserUsageParams: core.serialization.ObjectSchema<serializers.CountCompanyUserUsageParams.Raw, Schematic.CountCompanyUserUsageParams>;
|
|
6
|
+
export declare namespace CountCompanyUserUsageParams {
|
|
7
|
+
interface Raw {
|
|
8
|
+
company_id?: string | null;
|
|
9
|
+
end_time?: string | null;
|
|
10
|
+
feature_id?: string | null;
|
|
11
|
+
limit?: number | null;
|
|
12
|
+
metric?: UserUsageMetric.Raw | null;
|
|
13
|
+
offset?: number | null;
|
|
14
|
+
start_time?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CountResponse } from "../../../types/CountResponse";
|
|
5
|
+
import { CountCompanyUserUsageParams } from "./CountCompanyUserUsageParams";
|
|
6
|
+
export declare const CountCompanyUserUsageResponse: core.serialization.ObjectSchema<serializers.CountCompanyUserUsageResponse.Raw, Schematic.CountCompanyUserUsageResponse>;
|
|
7
|
+
export declare namespace CountCompanyUserUsageResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CountResponse.Raw;
|
|
10
|
+
params: CountCompanyUserUsageParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const GetCompanyUserUsageMetricsParams: core.serialization.ObjectSchema<serializers.GetCompanyUserUsageMetricsParams.Raw, Schematic.GetCompanyUserUsageMetricsParams>;
|
|
5
|
+
export declare namespace GetCompanyUserUsageMetricsParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
company_id?: string | null;
|
|
8
|
+
end_time?: string | null;
|
|
9
|
+
start_time?: string | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
package/dist/serialization/resources/entitlements/types/GetCompanyUserUsageMetricsResponse.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CompanyUserUsageMetricsResponseData } from "../../../types/CompanyUserUsageMetricsResponseData";
|
|
5
|
+
import { GetCompanyUserUsageMetricsParams } from "./GetCompanyUserUsageMetricsParams";
|
|
6
|
+
export declare const GetCompanyUserUsageMetricsResponse: core.serialization.ObjectSchema<serializers.GetCompanyUserUsageMetricsResponse.Raw, Schematic.GetCompanyUserUsageMetricsResponse>;
|
|
7
|
+
export declare namespace GetCompanyUserUsageMetricsResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CompanyUserUsageMetricsResponseData.Raw;
|
|
10
|
+
params: GetCompanyUserUsageMetricsParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { UserUsageMetric } from "../../../types/UserUsageMetric";
|
|
5
|
+
export declare const ListCompanyUserUsageParams: core.serialization.ObjectSchema<serializers.ListCompanyUserUsageParams.Raw, Schematic.ListCompanyUserUsageParams>;
|
|
6
|
+
export declare namespace ListCompanyUserUsageParams {
|
|
7
|
+
interface Raw {
|
|
8
|
+
company_id?: string | null;
|
|
9
|
+
end_time?: string | null;
|
|
10
|
+
feature_id?: string | null;
|
|
11
|
+
limit?: number | null;
|
|
12
|
+
metric?: UserUsageMetric.Raw | null;
|
|
13
|
+
offset?: number | null;
|
|
14
|
+
start_time?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CompanyUserUsageResponseData } from "../../../types/CompanyUserUsageResponseData";
|
|
5
|
+
import { ListCompanyUserUsageParams } from "./ListCompanyUserUsageParams";
|
|
6
|
+
export declare const ListCompanyUserUsageResponse: core.serialization.ObjectSchema<serializers.ListCompanyUserUsageResponse.Raw, Schematic.ListCompanyUserUsageResponse>;
|
|
7
|
+
export declare namespace ListCompanyUserUsageResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CompanyUserUsageResponseData.Raw;
|
|
10
|
+
params: ListCompanyUserUsageParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "./CountCompanyOverridesParams";
|
|
2
2
|
export * from "./CountCompanyOverridesResponse";
|
|
3
|
+
export * from "./CountCompanyUserUsageParams";
|
|
4
|
+
export * from "./CountCompanyUserUsageResponse";
|
|
3
5
|
export * from "./CountFeatureCompaniesParams";
|
|
4
6
|
export * from "./CountFeatureCompaniesResponse";
|
|
5
7
|
export * from "./CountFeatureUsageParams";
|
|
@@ -14,6 +16,8 @@ export * from "./DeleteCompanyOverrideResponse";
|
|
|
14
16
|
export * from "./DeletePlanEntitlementResponse";
|
|
15
17
|
export * from "./DuplicatePlanEntitlementsResponse";
|
|
16
18
|
export * from "./GetCompanyOverrideResponse";
|
|
19
|
+
export * from "./GetCompanyUserUsageMetricsParams";
|
|
20
|
+
export * from "./GetCompanyUserUsageMetricsResponse";
|
|
17
21
|
export * from "./GetFeatureUsageByCompanyParams";
|
|
18
22
|
export * from "./GetFeatureUsageByCompanyResponse";
|
|
19
23
|
export * from "./GetFeatureUsageTimeSeriesParams";
|
|
@@ -25,6 +29,8 @@ export * from "./GetUserUsageDetailParams";
|
|
|
25
29
|
export * from "./GetUserUsageDetailResponse";
|
|
26
30
|
export * from "./ListCompanyOverridesParams";
|
|
27
31
|
export * from "./ListCompanyOverridesResponse";
|
|
32
|
+
export * from "./ListCompanyUserUsageParams";
|
|
33
|
+
export * from "./ListCompanyUserUsageResponse";
|
|
28
34
|
export * from "./ListFeatureCompaniesParams";
|
|
29
35
|
export * from "./ListFeatureCompaniesResponse";
|
|
30
36
|
export * from "./ListFeatureUsageHistoryParams";
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
5
5
|
import { CreateOrUpdateFlagRequestBody } from "../../../../types/CreateOrUpdateFlagRequestBody";
|
|
6
|
+
import { FeatureEventSource } from "../../../../types/FeatureEventSource";
|
|
6
7
|
import { FeatureLifecyclePhase } from "../../../../types/FeatureLifecyclePhase";
|
|
7
8
|
import { FeatureType } from "../../../../types/FeatureType";
|
|
8
9
|
export declare const CreateBillingLinkedFeatureRequestBody: core.serialization.Schema<serializers.CreateBillingLinkedFeatureRequestBody.Raw, Schematic.CreateBillingLinkedFeatureRequestBody>;
|
|
@@ -10,6 +11,7 @@ export declare namespace CreateBillingLinkedFeatureRequestBody {
|
|
|
10
11
|
interface Raw {
|
|
11
12
|
billing_provider: BillingProviderType.Raw;
|
|
12
13
|
description: string;
|
|
14
|
+
event_source?: FeatureEventSource.Raw | null;
|
|
13
15
|
event_subtype?: string | null;
|
|
14
16
|
external_resource_id: string;
|
|
15
17
|
feature_type: FeatureType.Raw;
|
|
@@ -2,12 +2,14 @@ import type * as Schematic from "../../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { CreateOrUpdateFlagRequestBody } from "../../../../types/CreateOrUpdateFlagRequestBody";
|
|
5
|
+
import { FeatureEventSource } from "../../../../types/FeatureEventSource";
|
|
5
6
|
import { FeatureLifecyclePhase } from "../../../../types/FeatureLifecyclePhase";
|
|
6
7
|
import { FeatureType } from "../../../../types/FeatureType";
|
|
7
8
|
export declare const CreateFeatureRequestBody: core.serialization.Schema<serializers.CreateFeatureRequestBody.Raw, Schematic.CreateFeatureRequestBody>;
|
|
8
9
|
export declare namespace CreateFeatureRequestBody {
|
|
9
10
|
interface Raw {
|
|
10
11
|
description: string;
|
|
12
|
+
event_source?: FeatureEventSource.Raw | null;
|
|
11
13
|
event_subtype?: string | null;
|
|
12
14
|
feature_type: FeatureType.Raw;
|
|
13
15
|
flag?: CreateOrUpdateFlagRequestBody.Raw | null;
|
|
@@ -2,12 +2,14 @@ import type * as Schematic from "../../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { CreateOrUpdateFlagRequestBody } from "../../../../types/CreateOrUpdateFlagRequestBody";
|
|
5
|
+
import { FeatureEventSource } from "../../../../types/FeatureEventSource";
|
|
5
6
|
import { FeatureLifecyclePhase } from "../../../../types/FeatureLifecyclePhase";
|
|
6
7
|
import { FeatureType } from "../../../../types/FeatureType";
|
|
7
8
|
export declare const UpdateFeatureRequestBody: core.serialization.Schema<serializers.UpdateFeatureRequestBody.Raw, Schematic.UpdateFeatureRequestBody>;
|
|
8
9
|
export declare namespace UpdateFeatureRequestBody {
|
|
9
10
|
interface Raw {
|
|
10
11
|
description?: string | null;
|
|
12
|
+
event_source?: FeatureEventSource.Raw | null;
|
|
11
13
|
event_subtype?: string | null;
|
|
12
14
|
feature_type?: FeatureType.Raw | null;
|
|
13
15
|
flag?: CreateOrUpdateFlagRequestBody.Raw | null;
|