@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
|
@@ -21,6 +21,7 @@ export declare namespace Condition {
|
|
|
21
21
|
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
22
22
|
metric_value?: number | null;
|
|
23
23
|
operator: ComparableOperator.Raw;
|
|
24
|
+
quantity_rates?: Record<string, number> | null;
|
|
24
25
|
resource_ids: string[];
|
|
25
26
|
trait_definition?: TraitDefinition.Raw | null;
|
|
26
27
|
trait_value: string;
|
|
@@ -24,6 +24,7 @@ export declare namespace ConditionResponseData {
|
|
|
24
24
|
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
25
25
|
metric_value?: number | null;
|
|
26
26
|
operator: ComparableOperator.Raw;
|
|
27
|
+
quantity_rates?: Record<string, number> | null;
|
|
27
28
|
resource_unspecified_ids: string[];
|
|
28
29
|
rule_id: string;
|
|
29
30
|
trait_entity_type?: EntityType.Raw | null;
|
|
@@ -31,6 +31,7 @@ export declare namespace ConditionView {
|
|
|
31
31
|
operator: ComparableOperator.Raw;
|
|
32
32
|
plan_versions: GenericPreviewObject.Raw[];
|
|
33
33
|
plans: GenericPreviewObject.Raw[];
|
|
34
|
+
quantity_rates?: Record<string, number> | null;
|
|
34
35
|
resource_unspecified_ids: string[];
|
|
35
36
|
rule_id: string;
|
|
36
37
|
trait?: EntityTraitDefinitionResponseData.Raw | 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 "./Currency";
|
|
4
5
|
export declare const CouponRequestBody: core.serialization.ObjectSchema<serializers.CouponRequestBody.Raw, Schematic.CouponRequestBody>;
|
|
5
6
|
export declare namespace CouponRequestBody {
|
|
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
|
max_redemptions: number;
|
|
@@ -5,6 +5,7 @@ import { BillingArrearsAnchor } from "./BillingArrearsAnchor";
|
|
|
5
5
|
import { BillingArrearsCadence } from "./BillingArrearsCadence";
|
|
6
6
|
import { BillingTiersMode } from "./BillingTiersMode";
|
|
7
7
|
import { CreatePriceTierRequestBody } from "./CreatePriceTierRequestBody";
|
|
8
|
+
import { Currency } from "./Currency";
|
|
8
9
|
import { CurrencyPriceRequestBody } from "./CurrencyPriceRequestBody";
|
|
9
10
|
import { EntitlementPriceBehavior } from "./EntitlementPriceBehavior";
|
|
10
11
|
import { EntitlementValueType } from "./EntitlementValueType";
|
|
@@ -17,7 +18,7 @@ export declare namespace CreateEntitlementInBundleRequestBody {
|
|
|
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 CreateEntitlementInBundleRequestBody {
|
|
|
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;
|
|
@@ -11,6 +11,7 @@ export declare namespace CreateEntitlementReqCommon {
|
|
|
11
11
|
feature_id: string;
|
|
12
12
|
metric_period?: MetricPeriod.Raw | null;
|
|
13
13
|
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
14
|
+
quantity_rates?: Record<string, number> | null;
|
|
14
15
|
value_bool?: boolean | null;
|
|
15
16
|
value_credit_id?: string | null;
|
|
16
17
|
value_numeric?: number | null;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { BillingCreditGrantReason } from "./BillingCreditGrantReason";
|
|
5
|
+
import { BillingCreditGrantZeroedOutReason } from "./BillingCreditGrantZeroedOutReason";
|
|
6
|
+
import { CreditEventType } from "./CreditEventType";
|
|
7
|
+
export declare const CreditBalanceEventResponseData: core.serialization.ObjectSchema<serializers.CreditBalanceEventResponseData.Raw, Schematic.CreditBalanceEventResponseData>;
|
|
8
|
+
export declare namespace CreditBalanceEventResponseData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
amount: number;
|
|
11
|
+
event_type: CreditEventType.Raw;
|
|
12
|
+
grant_id?: string | null;
|
|
13
|
+
grant_reason?: BillingCreditGrantReason.Raw | null;
|
|
14
|
+
plan_id?: string | null;
|
|
15
|
+
timestamp: string;
|
|
16
|
+
zeroed_out_reason?: BillingCreditGrantZeroedOutReason.Raw | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -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 CreditBalanceFeatureConsumptionResponseData: core.serialization.ObjectSchema<serializers.CreditBalanceFeatureConsumptionResponseData.Raw, Schematic.CreditBalanceFeatureConsumptionResponseData>;
|
|
5
|
+
export declare namespace CreditBalanceFeatureConsumptionResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
amount: number;
|
|
8
|
+
feature_id: string;
|
|
9
|
+
feature_name: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { CreditBalanceFeatureConsumptionResponseData } from "./CreditBalanceFeatureConsumptionResponseData";
|
|
5
|
+
export declare const CreditBalancePointResponseData: core.serialization.ObjectSchema<serializers.CreditBalancePointResponseData.Raw, Schematic.CreditBalancePointResponseData>;
|
|
6
|
+
export declare namespace CreditBalancePointResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
balance: number;
|
|
9
|
+
consumed: number;
|
|
10
|
+
consumed_by_feature: CreditBalanceFeatureConsumptionResponseData.Raw[];
|
|
11
|
+
timestamp: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { CreditBalanceEventResponseData } from "./CreditBalanceEventResponseData";
|
|
5
|
+
import { CreditBalancePointResponseData } from "./CreditBalancePointResponseData";
|
|
6
|
+
export declare const CreditBalanceTimeSeriesResponseData: core.serialization.ObjectSchema<serializers.CreditBalanceTimeSeriesResponseData.Raw, Schematic.CreditBalanceTimeSeriesResponseData>;
|
|
7
|
+
export declare namespace CreditBalanceTimeSeriesResponseData {
|
|
8
|
+
interface Raw {
|
|
9
|
+
balance_points: CreditBalancePointResponseData.Raw[];
|
|
10
|
+
billing_credit_id: string;
|
|
11
|
+
events: CreditBalanceEventResponseData.Raw[];
|
|
12
|
+
external: boolean;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -2,10 +2,11 @@ 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 { BillingPriceView } from "./BillingPriceView";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
5
6
|
export declare const CreditBundleCurrencyPrice: core.serialization.ObjectSchema<serializers.CreditBundleCurrencyPrice.Raw, Schematic.CreditBundleCurrencyPrice>;
|
|
6
7
|
export declare namespace CreditBundleCurrencyPrice {
|
|
7
8
|
interface Raw {
|
|
8
|
-
currency:
|
|
9
|
+
currency: Currency.Raw;
|
|
9
10
|
price?: BillingPriceView.Raw | null;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
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 "./Currency";
|
|
4
5
|
export declare const CreditBundleCurrencyPriceRequestBody: core.serialization.ObjectSchema<serializers.CreditBundleCurrencyPriceRequestBody.Raw, Schematic.CreditBundleCurrencyPriceRequestBody>;
|
|
5
6
|
export declare namespace CreditBundleCurrencyPriceRequestBody {
|
|
6
7
|
interface Raw {
|
|
7
|
-
currency:
|
|
8
|
+
currency: Currency.Raw;
|
|
8
9
|
price_per_unit?: number | null;
|
|
9
10
|
price_per_unit_decimal?: string | null;
|
|
10
11
|
}
|
|
@@ -2,10 +2,11 @@ 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 { BillingPriceResponseData } from "./BillingPriceResponseData";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
5
6
|
export declare const CreditBundleCurrencyPriceResponseData: core.serialization.ObjectSchema<serializers.CreditBundleCurrencyPriceResponseData.Raw, Schematic.CreditBundleCurrencyPriceResponseData>;
|
|
6
7
|
export declare namespace CreditBundleCurrencyPriceResponseData {
|
|
7
8
|
interface Raw {
|
|
8
|
-
currency:
|
|
9
|
+
currency: Currency.Raw;
|
|
9
10
|
price?: BillingPriceResponseData.Raw | null;
|
|
10
11
|
}
|
|
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
|
+
export declare const CreditBurnBreakdownLine: core.serialization.ObjectSchema<serializers.CreditBurnBreakdownLine.Raw, Schematic.CreditBurnBreakdownLine>;
|
|
5
|
+
export declare namespace CreditBurnBreakdownLine {
|
|
6
|
+
interface Raw {
|
|
7
|
+
credits: number;
|
|
8
|
+
key: string;
|
|
9
|
+
quantity: number;
|
|
10
|
+
rate: number;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -9,6 +9,7 @@ import { BillingCreditGrantZeroedOutReason } from "./BillingCreditGrantZeroedOut
|
|
|
9
9
|
import { BillingPlanCreditGrantResetCadence } from "./BillingPlanCreditGrantResetCadence";
|
|
10
10
|
import { BillingProductPriceResponseData } from "./BillingProductPriceResponseData";
|
|
11
11
|
import { CreditTransferView } from "./CreditTransferView";
|
|
12
|
+
import { Currency } from "./Currency";
|
|
12
13
|
export declare const CreditCompanyGrantView: core.serialization.ObjectSchema<serializers.CreditCompanyGrantView.Raw, Schematic.CreditCompanyGrantView>;
|
|
13
14
|
export declare namespace CreditCompanyGrantView {
|
|
14
15
|
interface Raw {
|
|
@@ -22,7 +23,7 @@ export declare namespace CreditCompanyGrantView {
|
|
|
22
23
|
credit_description: string;
|
|
23
24
|
credit_icon?: string | null;
|
|
24
25
|
credit_name: string;
|
|
25
|
-
currency?:
|
|
26
|
+
currency?: Currency.Raw | null;
|
|
26
27
|
exhausted_at?: string | null;
|
|
27
28
|
expires_at?: string | null;
|
|
28
29
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
@@ -35,7 +36,7 @@ export declare namespace CreditCompanyGrantView {
|
|
|
35
36
|
plan_name?: string | null;
|
|
36
37
|
plural_name?: string | null;
|
|
37
38
|
postpaid_charge_amount?: number | null;
|
|
38
|
-
postpaid_charge_currency?:
|
|
39
|
+
postpaid_charge_currency?: Currency.Raw | null;
|
|
39
40
|
postpaid_charged_credits?: number | null;
|
|
40
41
|
postpaid_period_end?: string | null;
|
|
41
42
|
postpaid_rate?: number | null;
|
|
@@ -2,10 +2,11 @@ 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 { BillingPriceView } from "./BillingPriceView";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
5
6
|
export declare const CreditCurrencyPrice: core.serialization.ObjectSchema<serializers.CreditCurrencyPrice.Raw, Schematic.CreditCurrencyPrice>;
|
|
6
7
|
export declare namespace CreditCurrencyPrice {
|
|
7
8
|
interface Raw {
|
|
8
|
-
currency:
|
|
9
|
+
currency: Currency.Raw;
|
|
9
10
|
price?: BillingPriceView.Raw | null;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
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 "./Currency";
|
|
4
5
|
export declare const CreditCurrencyPriceRequestBody: core.serialization.ObjectSchema<serializers.CreditCurrencyPriceRequestBody.Raw, Schematic.CreditCurrencyPriceRequestBody>;
|
|
5
6
|
export declare namespace CreditCurrencyPriceRequestBody {
|
|
6
7
|
interface Raw {
|
|
7
|
-
currency:
|
|
8
|
+
currency: Currency.Raw;
|
|
8
9
|
price_per_unit?: number | null;
|
|
9
10
|
price_per_unit_decimal?: string | null;
|
|
10
11
|
}
|
|
@@ -2,10 +2,11 @@ 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 { BillingPriceResponseData } from "./BillingPriceResponseData";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
5
6
|
export declare const CreditCurrencyPriceResponseData: core.serialization.ObjectSchema<serializers.CreditCurrencyPriceResponseData.Raw, Schematic.CreditCurrencyPriceResponseData>;
|
|
6
7
|
export declare namespace CreditCurrencyPriceResponseData {
|
|
7
8
|
interface Raw {
|
|
8
|
-
currency:
|
|
9
|
+
currency: Currency.Raw;
|
|
9
10
|
price?: BillingPriceResponseData.Raw | null;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
@@ -7,9 +7,12 @@ import { BillingCreditGrantReason } from "./BillingCreditGrantReason";
|
|
|
7
7
|
import { BillingCreditGrantZeroedOutReason } from "./BillingCreditGrantZeroedOutReason";
|
|
8
8
|
import { BillingCreditLedgerResponseData } from "./BillingCreditLedgerResponseData";
|
|
9
9
|
import { CompanyLedgerResponseData } from "./CompanyLedgerResponseData";
|
|
10
|
+
import { CreditBurnBreakdownLine } from "./CreditBurnBreakdownLine";
|
|
10
11
|
import { CreditEventType } from "./CreditEventType";
|
|
12
|
+
import { CreditLedgerEntryKind } from "./CreditLedgerEntryKind";
|
|
11
13
|
import { CreditTransferReason } from "./CreditTransferReason";
|
|
12
14
|
import { CreditUsageReason } from "./CreditUsageReason";
|
|
15
|
+
import { Currency } from "./Currency";
|
|
13
16
|
import { FeatureLedgerResponseData } from "./FeatureLedgerResponseData";
|
|
14
17
|
export declare const CreditEventLedgerResponseData: core.serialization.ObjectSchema<serializers.CreditEventLedgerResponseData.Raw, Schematic.CreditEventLedgerResponseData>;
|
|
15
18
|
export declare namespace CreditEventLedgerResponseData {
|
|
@@ -17,14 +20,17 @@ export declare namespace CreditEventLedgerResponseData {
|
|
|
17
20
|
amount: number;
|
|
18
21
|
auto_topup_log_id?: string | null;
|
|
19
22
|
billing_credit_bundle_id?: string | null;
|
|
20
|
-
billing_credit_id
|
|
23
|
+
billing_credit_id?: string | null;
|
|
24
|
+
burn_breakdown?: CreditBurnBreakdownLine.Raw[] | null;
|
|
21
25
|
company?: CompanyLedgerResponseData.Raw | null;
|
|
22
26
|
company_id: string;
|
|
23
27
|
credit?: BillingCreditLedgerResponseData.Raw | null;
|
|
24
28
|
credit_name: string;
|
|
29
|
+
currency?: Currency.Raw | null;
|
|
25
30
|
environment_id: string;
|
|
26
31
|
event_at: string;
|
|
27
32
|
event_id: string;
|
|
33
|
+
event_ids: string[];
|
|
28
34
|
event_type: CreditEventType.Raw;
|
|
29
35
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
30
36
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
@@ -38,6 +44,7 @@ export declare namespace CreditEventLedgerResponseData {
|
|
|
38
44
|
grant_quantity_remaining?: number | null;
|
|
39
45
|
grant_reason?: BillingCreditGrantReason.Raw | null;
|
|
40
46
|
grant_valid_from?: string | null;
|
|
47
|
+
kind: CreditLedgerEntryKind.Raw;
|
|
41
48
|
plan_id?: string | null;
|
|
42
49
|
quantity_consumed?: number | null;
|
|
43
50
|
quantity_remaining_at_zero_out?: number | null;
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const CreditEventType: core.serialization.Schema<serializers.CreditEventType.Raw, Schematic.CreditEventType>;
|
|
5
5
|
export declare namespace CreditEventType {
|
|
6
|
-
type Raw = "grant" | "transfer" | "usage" | "zero_out";
|
|
6
|
+
type Raw = "adjustment" | "charge" | "grant" | "settlement" | "transfer" | "usage" | "zero_out";
|
|
7
7
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
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 CreditLedgerEntryKind: core.serialization.Schema<serializers.CreditLedgerEntryKind.Raw, Schematic.CreditLedgerEntryKind>;
|
|
5
|
+
export declare namespace CreditLedgerEntryKind {
|
|
6
|
+
type Raw = "adjustment" | "charge" | "drawdown" | "grant" | "settlement" | "transfer" | "zero_out";
|
|
7
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { CreditSpendPolicyScope } from "./CreditSpendPolicyScope";
|
|
5
|
+
import { CreditSpendWindow } from "./CreditSpendWindow";
|
|
6
|
+
export declare const CreditSpendPolicy: core.serialization.ObjectSchema<serializers.CreditSpendPolicy.Raw, Schematic.CreditSpendPolicy>;
|
|
7
|
+
export declare namespace CreditSpendPolicy {
|
|
8
|
+
interface Raw {
|
|
9
|
+
consumed?: number | null;
|
|
10
|
+
credit_id: string;
|
|
11
|
+
id: string;
|
|
12
|
+
kind: string;
|
|
13
|
+
label?: string | null;
|
|
14
|
+
limit: number;
|
|
15
|
+
resets_at?: string | null;
|
|
16
|
+
scope: CreditSpendPolicyScope.Raw;
|
|
17
|
+
window?: CreditSpendWindow.Raw | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -2,17 +2,24 @@ 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 { CreditSpendPolicyScope } from "./CreditSpendPolicyScope";
|
|
5
|
+
import { CreditSpendWindowUnit } from "./CreditSpendWindowUnit";
|
|
5
6
|
export declare const CreditSpendPolicyResponseData: core.serialization.ObjectSchema<serializers.CreditSpendPolicyResponseData.Raw, Schematic.CreditSpendPolicyResponseData>;
|
|
6
7
|
export declare namespace CreditSpendPolicyResponseData {
|
|
7
8
|
interface Raw {
|
|
8
9
|
billing_credit_id: string;
|
|
9
10
|
company_id?: string | null;
|
|
11
|
+
consumed?: number | null;
|
|
10
12
|
created_at: string;
|
|
13
|
+
headroom?: number | null;
|
|
11
14
|
id: string;
|
|
12
15
|
label?: string | null;
|
|
13
16
|
max_per_draw?: number | null;
|
|
17
|
+
resets_at?: string | null;
|
|
14
18
|
scope_type: CreditSpendPolicyScope.Raw;
|
|
15
19
|
updated_at: string;
|
|
16
20
|
user_id?: string | null;
|
|
21
|
+
window_amount?: number | null;
|
|
22
|
+
window_count: number;
|
|
23
|
+
window_unit?: CreditSpendWindowUnit.Raw | null;
|
|
17
24
|
}
|
|
18
25
|
}
|
|
@@ -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
|
+
export declare const CreditSpendWindow: core.serialization.ObjectSchema<serializers.CreditSpendWindow.Raw, Schematic.CreditSpendWindow>;
|
|
5
|
+
export declare namespace CreditSpendWindow {
|
|
6
|
+
interface Raw {
|
|
7
|
+
count: number;
|
|
8
|
+
unit: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
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 CreditSpendWindowUnit: core.serialization.Schema<serializers.CreditSpendWindowUnit.Raw, Schematic.CreditSpendWindowUnit>;
|
|
5
|
+
export declare namespace CreditSpendWindowUnit {
|
|
6
|
+
type Raw = "hour" | "day" | "billing_period";
|
|
7
|
+
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const CreditUsageReason: core.serialization.Schema<serializers.CreditUsageReason.Raw, Schematic.CreditUsageReason>;
|
|
5
5
|
export declare namespace CreditUsageReason {
|
|
6
|
-
type Raw = "lease_hold" | "lease_release" | "manual_adjustment" | "reconciliation" | "reservation_hold" | "reservation_release" | "track";
|
|
6
|
+
type Raw = "inference" | "lease_hold" | "lease_release" | "manual_adjustment" | "reconciliation" | "reservation_hold" | "reservation_release" | "track";
|
|
7
7
|
}
|
|
@@ -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
|
+
export declare const CreditsInPlan: core.serialization.ObjectSchema<serializers.CreditsInPlan.Raw, Schematic.CreditsInPlan>;
|
|
5
|
+
export declare namespace CreditsInPlan {
|
|
6
|
+
interface Raw {
|
|
7
|
+
credit_id: string;
|
|
8
|
+
visible?: boolean | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
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 Currency: core.serialization.Schema<serializers.Currency.Raw, Schematic.Currency>;
|
|
5
|
+
export declare namespace Currency {
|
|
6
|
+
type Raw = "aed" | "afn" | "all" | "amd" | "ang" | "aoa" | "ars" | "aud" | "awg" | "azn" | "bam" | "bbd" | "bdt" | "bif" | "bmd" | "bnd" | "bob" | "brl" | "bsd" | "bwp" | "byn" | "bzd" | "cad" | "cdf" | "chf" | "clp" | "cny" | "cop" | "crc" | "cve" | "czk" | "djf" | "dkk" | "dop" | "dzd" | "egp" | "etb" | "eur" | "fjd" | "fkp" | "gbp" | "gel" | "gip" | "gmd" | "gnf" | "gtq" | "gyd" | "hkd" | "hnl" | "htg" | "huf" | "idr" | "ils" | "inr" | "isk" | "jmd" | "jpy" | "kes" | "kgs" | "khr" | "kmf" | "krw" | "kyd" | "kzt" | "lak" | "lbp" | "lkr" | "lrd" | "lsl" | "mad" | "mdl" | "mga" | "mkd" | "mmk" | "mnt" | "mop" | "mur" | "mvr" | "mwk" | "mxn" | "myr" | "mzn" | "nad" | "ngn" | "nio" | "nok" | "npr" | "nzd" | "pab" | "pen" | "pgk" | "php" | "pkr" | "pln" | "pyg" | "qar" | "ron" | "rsd" | "rub" | "rwf" | "sar" | "sbd" | "scr" | "sek" | "sgd" | "shp" | "sle" | "sos" | "srd" | "std" | "szl" | "thb" | "tjs" | "top" | "try" | "ttd" | "twd" | "tzs" | "uah" | "ugx" | "usd" | "uyu" | "uzs" | "vnd" | "vuv" | "wst" | "xaf" | "xcd" | "xcg" | "xof" | "xpf" | "yer" | "zar" | "zmw";
|
|
7
|
+
}
|
|
@@ -2,10 +2,11 @@ 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 { CreatePriceTierRequestBody } from "./CreatePriceTierRequestBody";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
5
6
|
export declare const CurrencyPriceRequestBody: core.serialization.ObjectSchema<serializers.CurrencyPriceRequestBody.Raw, Schematic.CurrencyPriceRequestBody>;
|
|
6
7
|
export declare namespace CurrencyPriceRequestBody {
|
|
7
8
|
interface Raw {
|
|
8
|
-
currency:
|
|
9
|
+
currency: Currency.Raw;
|
|
9
10
|
monthly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
10
11
|
monthly_unit_price?: number | null;
|
|
11
12
|
monthly_unit_price_decimal?: string | null;
|
|
@@ -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 { CheckoutProblemResponseData } from "./CheckoutProblemResponseData";
|
|
4
5
|
import { CustomPlanActivationStrategy } from "./CustomPlanActivationStrategy";
|
|
5
6
|
import { CustomPlanBillingStatus } from "./CustomPlanBillingStatus";
|
|
6
7
|
import { PlanBillingSource } from "./PlanBillingSource";
|
|
@@ -9,14 +10,18 @@ export declare namespace CustomPlanBillingResponseData {
|
|
|
9
10
|
interface Raw {
|
|
10
11
|
activation_strategy: CustomPlanActivationStrategy.Raw;
|
|
11
12
|
billing_cycle_anchor?: string | null;
|
|
13
|
+
billing_start_date?: string | null;
|
|
14
|
+
checkout_id?: string | null;
|
|
12
15
|
company_id: string;
|
|
13
16
|
created_at: string;
|
|
14
17
|
days_until_due: number;
|
|
15
18
|
external_invoice_id?: string | null;
|
|
16
19
|
id: string;
|
|
20
|
+
migration_id?: string | null;
|
|
17
21
|
paid_at?: string | null;
|
|
18
22
|
plan_billing_source: PlanBillingSource.Raw;
|
|
19
23
|
plan_id: string;
|
|
24
|
+
problems: CheckoutProblemResponseData.Raw[];
|
|
20
25
|
prorate_first_period?: boolean | null;
|
|
21
26
|
published_at?: string | null;
|
|
22
27
|
send_invoice: boolean;
|
|
@@ -2,10 +2,11 @@ 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 { BillingPriceView } from "./BillingPriceView";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
5
6
|
export declare const EntitlementCurrencyPricesResponseData: core.serialization.ObjectSchema<serializers.EntitlementCurrencyPricesResponseData.Raw, Schematic.EntitlementCurrencyPricesResponseData>;
|
|
6
7
|
export declare namespace EntitlementCurrencyPricesResponseData {
|
|
7
8
|
interface Raw {
|
|
8
|
-
currency:
|
|
9
|
+
currency: Currency.Raw;
|
|
9
10
|
monthly_price?: BillingPriceView.Raw | null;
|
|
10
11
|
quarterly_price?: BillingPriceView.Raw | null;
|
|
11
12
|
yearly_price?: BillingPriceView.Raw | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { Currency } from "./Currency";
|
|
5
|
+
import { PlanPriceCadence } from "./PlanPriceCadence";
|
|
6
|
+
export declare const EstimatedPlanTotal: core.serialization.ObjectSchema<serializers.EstimatedPlanTotal.Raw, Schematic.EstimatedPlanTotal>;
|
|
7
|
+
export declare namespace EstimatedPlanTotal {
|
|
8
|
+
interface Raw {
|
|
9
|
+
amount: number;
|
|
10
|
+
currency: Currency.Raw;
|
|
11
|
+
period: PlanPriceCadence.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -6,6 +6,7 @@ import { BillingLinkedResourceResponseData } from "./BillingLinkedResourceRespon
|
|
|
6
6
|
import { BillingProductResponseData } from "./BillingProductResponseData";
|
|
7
7
|
import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
|
|
8
8
|
import { EventSummaryResponseData } from "./EventSummaryResponseData";
|
|
9
|
+
import { FeatureEventSource } from "./FeatureEventSource";
|
|
9
10
|
import { FeatureLifecyclePhase } from "./FeatureLifecyclePhase";
|
|
10
11
|
import { FeatureType } from "./FeatureType";
|
|
11
12
|
import { FlagDetailResponseData } from "./FlagDetailResponseData";
|
|
@@ -17,6 +18,7 @@ export declare namespace FeatureDetailResponseData {
|
|
|
17
18
|
billing_product?: BillingProductResponseData.Raw | null;
|
|
18
19
|
created_at: string;
|
|
19
20
|
description: string;
|
|
21
|
+
event_source: FeatureEventSource.Raw;
|
|
20
22
|
event_subtype?: string | null;
|
|
21
23
|
event_summary?: EventSummaryResponseData.Raw | null;
|
|
22
24
|
feature_type: FeatureType.Raw;
|
|
@@ -23,6 +23,7 @@ export declare namespace FeatureEntitlement {
|
|
|
23
23
|
metric_period?: MetricPeriod.Raw | null;
|
|
24
24
|
metric_reset_at?: string | null;
|
|
25
25
|
month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
26
|
+
quantity_rates?: Record<string, number> | null;
|
|
26
27
|
soft_limit?: number | null;
|
|
27
28
|
usage?: number | null;
|
|
28
29
|
value_type: EntitlementValueType.Raw;
|
|
@@ -0,0 +1,7 @@
|
|
|
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 FeatureEventSource: core.serialization.Schema<serializers.FeatureEventSource.Raw, Schematic.FeatureEventSource>;
|
|
5
|
+
export declare namespace FeatureEventSource {
|
|
6
|
+
type Raw = "inference" | "track";
|
|
7
|
+
}
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { BillingLinkedResourceResponseData } from "./BillingLinkedResourceResponseData";
|
|
5
5
|
import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
|
|
6
6
|
import { EventSummaryResponseData } from "./EventSummaryResponseData";
|
|
7
|
+
import { FeatureEventSource } from "./FeatureEventSource";
|
|
7
8
|
import { FeatureLifecyclePhase } from "./FeatureLifecyclePhase";
|
|
8
9
|
import { FeatureType } from "./FeatureType";
|
|
9
10
|
import { FlagInPlanResponseData } from "./FlagInPlanResponseData";
|
|
@@ -14,6 +15,7 @@ export declare namespace FeatureInPlanResponseData {
|
|
|
14
15
|
billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
|
|
15
16
|
created_at: string;
|
|
16
17
|
description: string;
|
|
18
|
+
event_source: FeatureEventSource.Raw;
|
|
17
19
|
event_subtype?: string | null;
|
|
18
20
|
event_summary?: EventSummaryResponseData.Raw | null;
|
|
19
21
|
feature_type: FeatureType.Raw;
|
|
@@ -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 { FeatureEventSource } from "./FeatureEventSource";
|
|
4
5
|
import { FeatureLifecyclePhase } from "./FeatureLifecyclePhase";
|
|
5
6
|
import { FeatureType } from "./FeatureType";
|
|
6
7
|
export declare const FeatureResponseData: core.serialization.ObjectSchema<serializers.FeatureResponseData.Raw, Schematic.FeatureResponseData>;
|
|
@@ -8,6 +9,7 @@ export declare namespace FeatureResponseData {
|
|
|
8
9
|
interface Raw {
|
|
9
10
|
created_at: string;
|
|
10
11
|
description: string;
|
|
12
|
+
event_source: FeatureEventSource.Raw;
|
|
11
13
|
event_subtype?: string | null;
|
|
12
14
|
feature_type: FeatureType.Raw;
|
|
13
15
|
icon: string;
|
|
@@ -5,6 +5,7 @@ import { BillingLinkedResourceResponseData } from "./BillingLinkedResourceRespon
|
|
|
5
5
|
import { BillingProductRecordResponseData } from "./BillingProductRecordResponseData";
|
|
6
6
|
import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
|
|
7
7
|
import { EventSummaryResponseData } from "./EventSummaryResponseData";
|
|
8
|
+
import { FeatureEventSource } from "./FeatureEventSource";
|
|
8
9
|
import { FeatureLifecyclePhase } from "./FeatureLifecyclePhase";
|
|
9
10
|
import { FeatureType } from "./FeatureType";
|
|
10
11
|
import { FlagView } from "./FlagView";
|
|
@@ -17,6 +18,7 @@ export declare namespace FeatureView {
|
|
|
17
18
|
billing_product?: BillingProductRecordResponseData.Raw | null;
|
|
18
19
|
created_at: string;
|
|
19
20
|
description: string;
|
|
21
|
+
event_source: FeatureEventSource.Raw;
|
|
20
22
|
event_subtype?: string | null;
|
|
21
23
|
event_summary?: EventSummaryResponseData.Raw | null;
|
|
22
24
|
feature_type: FeatureType.Raw;
|