@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/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export declare namespace CreatePlanGroupRequestBody {
|
|
|
41
41
|
scheduled_downgrade_prevent_when_over_limit?: boolean | null;
|
|
42
42
|
show_as_monthly_prices: boolean;
|
|
43
43
|
show_credits: boolean;
|
|
44
|
+
show_estimated_total: boolean;
|
|
44
45
|
show_feature_description: boolean;
|
|
45
46
|
show_hard_limit: boolean;
|
|
46
47
|
show_period_toggle: boolean;
|
package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export declare namespace UpdatePlanGroupRequestBody {
|
|
|
41
41
|
scheduled_downgrade_prevent_when_over_limit?: boolean | null;
|
|
42
42
|
show_as_monthly_prices: boolean;
|
|
43
43
|
show_credits: boolean;
|
|
44
|
+
show_estimated_total: boolean;
|
|
44
45
|
show_feature_description: boolean;
|
|
45
46
|
show_hard_limit: boolean;
|
|
46
47
|
show_period_toggle: boolean;
|
package/dist/serialization/resources/planmigrations/client/requests/CreateMigrationInput.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare namespace CreateMigrationInput {
|
|
|
13
13
|
plan_version_id_to: string;
|
|
14
14
|
plan_version_ids_from?: string[] | null;
|
|
15
15
|
proration_behavior?: MigrationProrationBehavior.Raw | null;
|
|
16
|
+
scheduled_at?: string | null;
|
|
16
17
|
strategy: PlanVersionMigrationStrategy.Raw;
|
|
17
18
|
target_plan_type: PlanType.Raw;
|
|
18
19
|
}
|
|
@@ -6,6 +6,7 @@ export declare const CountMigrationsParams: core.serialization.ObjectSchema<seri
|
|
|
6
6
|
export declare namespace CountMigrationsParams {
|
|
7
7
|
interface Raw {
|
|
8
8
|
feature_id?: string | null;
|
|
9
|
+
feature_plan_rollout_id?: string | null;
|
|
9
10
|
limit?: number | null;
|
|
10
11
|
offset?: number | null;
|
|
11
12
|
plan_version_id?: string | null;
|
|
@@ -6,6 +6,7 @@ export declare const ListMigrationsParams: core.serialization.ObjectSchema<seria
|
|
|
6
6
|
export declare namespace ListMigrationsParams {
|
|
7
7
|
interface Raw {
|
|
8
8
|
feature_id?: string | null;
|
|
9
|
+
feature_plan_rollout_id?: string | null;
|
|
9
10
|
limit?: number | null;
|
|
10
11
|
offset?: number | null;
|
|
11
12
|
plan_version_id?: string | null;
|
package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts
CHANGED
|
@@ -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 { BillingCollectionMethod } from "../../../../types/BillingCollectionMethod";
|
|
4
5
|
import { CheckoutFieldValue } from "../../../../types/CheckoutFieldValue";
|
|
5
6
|
import { CustomerBillingAddress } from "../../../../types/CustomerBillingAddress";
|
|
6
7
|
import { CustomPlanActivationStrategy } from "../../../../types/CustomPlanActivationStrategy";
|
|
@@ -13,6 +14,8 @@ export declare namespace PublishPlanVersionRequestBody {
|
|
|
13
14
|
activation_strategy?: CustomPlanActivationStrategy.Raw | null;
|
|
14
15
|
address?: CustomerBillingAddress.Raw | null;
|
|
15
16
|
billing_cycle_anchor?: string | null;
|
|
17
|
+
billing_start_date?: string | null;
|
|
18
|
+
collection_method?: BillingCollectionMethod.Raw | null;
|
|
16
19
|
coupon_external_id?: string | null;
|
|
17
20
|
custom_field_values?: CheckoutFieldValue.Raw[] | null;
|
|
18
21
|
customer_email?: string | null;
|
|
@@ -23,6 +26,7 @@ export declare namespace PublishPlanVersionRequestBody {
|
|
|
23
26
|
prorate_first_period?: boolean | null;
|
|
24
27
|
proration_behavior?: MigrationProrationBehavior.Raw | null;
|
|
25
28
|
require_no_migration?: boolean | null;
|
|
29
|
+
scheduled_at?: string | null;
|
|
26
30
|
send_invoice?: boolean | null;
|
|
27
31
|
tax_id?: TaxIdInput.Raw | null;
|
|
28
32
|
}
|
package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare namespace RetryCustomPlanBillingRequestBody {
|
|
|
7
7
|
interface Raw {
|
|
8
8
|
activation_strategy?: CustomPlanActivationStrategy.Raw | null;
|
|
9
9
|
billing_cycle_anchor?: string | null;
|
|
10
|
+
billing_start_date?: string | null;
|
|
10
11
|
customer_email: string;
|
|
11
12
|
days_until_due?: number | null;
|
|
12
13
|
prorate_first_period?: boolean | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
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 GetPlanVersionDiffParams: core.serialization.ObjectSchema<serializers.GetPlanVersionDiffParams.Raw, Schematic.GetPlanVersionDiffParams>;
|
|
5
|
+
export declare namespace GetPlanVersionDiffParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
against?: string | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -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 { PlanVersionDiffResponseData } from "../../../types/PlanVersionDiffResponseData";
|
|
5
|
+
import { GetPlanVersionDiffParams } from "./GetPlanVersionDiffParams";
|
|
6
|
+
export declare const GetPlanVersionDiffResponse: core.serialization.ObjectSchema<serializers.GetPlanVersionDiffResponse.Raw, Schematic.GetPlanVersionDiffResponse>;
|
|
7
|
+
export declare namespace GetPlanVersionDiffResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: PlanVersionDiffResponseData.Raw;
|
|
10
|
+
params: GetPlanVersionDiffParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -9,6 +9,8 @@ export * from "./DeletePlanVersionParams";
|
|
|
9
9
|
export * from "./DeletePlanVersionResponse";
|
|
10
10
|
export * from "./GetPlanParams";
|
|
11
11
|
export * from "./GetPlanResponse";
|
|
12
|
+
export * from "./GetPlanVersionDiffParams";
|
|
13
|
+
export * from "./GetPlanVersionDiffResponse";
|
|
12
14
|
export * from "./ListBillingProductMatchCompaniesParams";
|
|
13
15
|
export * from "./ListBillingProductMatchCompaniesResponse";
|
|
14
16
|
export * from "./ListCustomPlanBillingsParams";
|
|
@@ -2,12 +2,13 @@ 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 { BillingProviderType } from "./BillingProviderType";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
5
6
|
export declare const BillingCouponResponseData: core.serialization.ObjectSchema<serializers.BillingCouponResponseData.Raw, Schematic.BillingCouponResponseData>;
|
|
6
7
|
export declare namespace BillingCouponResponseData {
|
|
7
8
|
interface Raw {
|
|
8
9
|
account_id: string;
|
|
9
10
|
amount_off?: number | null;
|
|
10
|
-
currency?:
|
|
11
|
+
currency?: Currency.Raw | null;
|
|
11
12
|
duration?: string | null;
|
|
12
13
|
duration_in_months?: number | null;
|
|
13
14
|
environment_id: string;
|
|
@@ -6,6 +6,7 @@ import { BillingCreditGrantZeroedOutReason } from "./BillingCreditGrantZeroedOut
|
|
|
6
6
|
import { BillingPlanCreditGrantResetCadence } from "./BillingPlanCreditGrantResetCadence";
|
|
7
7
|
import { BillingPriceResponseData } from "./BillingPriceResponseData";
|
|
8
8
|
import { CreditTransferResponseData } from "./CreditTransferResponseData";
|
|
9
|
+
import { Currency } from "./Currency";
|
|
9
10
|
export declare const BillingCreditGrantResponseData: core.serialization.ObjectSchema<serializers.BillingCreditGrantResponseData.Raw, Schematic.BillingCreditGrantResponseData>;
|
|
10
11
|
export declare namespace BillingCreditGrantResponseData {
|
|
11
12
|
interface Raw {
|
|
@@ -17,7 +18,7 @@ export declare namespace BillingCreditGrantResponseData {
|
|
|
17
18
|
credit_icon?: string | null;
|
|
18
19
|
credit_id: string;
|
|
19
20
|
credit_name: string;
|
|
20
|
-
currency?:
|
|
21
|
+
currency?: Currency.Raw | null;
|
|
21
22
|
expires_at?: string | null;
|
|
22
23
|
grant_reason: BillingCreditGrantReason.Raw;
|
|
23
24
|
id: string;
|
|
@@ -25,7 +26,7 @@ export declare namespace BillingCreditGrantResponseData {
|
|
|
25
26
|
plan_id?: string | null;
|
|
26
27
|
plan_name?: string | null;
|
|
27
28
|
postpaid_charge_amount?: number | null;
|
|
28
|
-
postpaid_charge_currency?:
|
|
29
|
+
postpaid_charge_currency?: Currency.Raw | null;
|
|
29
30
|
postpaid_charged_credits?: number | null;
|
|
30
31
|
price?: BillingPriceResponseData.Raw | null;
|
|
31
32
|
quantity: number;
|
|
@@ -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 BillingCustomerSubscription: core.serialization.ObjectSchema<serializers.BillingCustomerSubscription.Raw, Schematic.BillingCustomerSubscription>;
|
|
5
6
|
export declare namespace BillingCustomerSubscription {
|
|
6
7
|
interface Raw {
|
|
7
|
-
currency:
|
|
8
|
+
currency: Currency.Raw;
|
|
8
9
|
expired_at?: string | null;
|
|
9
10
|
interval: string;
|
|
10
11
|
metered_usage: boolean;
|
|
@@ -4,10 +4,11 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { BillingPriceScheme } from "./BillingPriceScheme";
|
|
5
5
|
import { BillingProductPriceInterval } from "./BillingProductPriceInterval";
|
|
6
6
|
import { BillingProviderType } from "./BillingProviderType";
|
|
7
|
+
import { Currency } from "./Currency";
|
|
7
8
|
export declare const BillingPriceResponseData: core.serialization.ObjectSchema<serializers.BillingPriceResponseData.Raw, Schematic.BillingPriceResponseData>;
|
|
8
9
|
export declare namespace BillingPriceResponseData {
|
|
9
10
|
interface Raw {
|
|
10
|
-
currency:
|
|
11
|
+
currency: Currency.Raw;
|
|
11
12
|
external_price_id: string;
|
|
12
13
|
id: string;
|
|
13
14
|
interval: BillingProductPriceInterval.Raw;
|
|
@@ -7,12 +7,13 @@ import { BillingProductPriceInterval } from "./BillingProductPriceInterval";
|
|
|
7
7
|
import { BillingProductPriceTierResponseData } from "./BillingProductPriceTierResponseData";
|
|
8
8
|
import { BillingProviderType } from "./BillingProviderType";
|
|
9
9
|
import { BillingTiersMode } from "./BillingTiersMode";
|
|
10
|
+
import { Currency } from "./Currency";
|
|
10
11
|
export declare const BillingPriceView: core.serialization.ObjectSchema<serializers.BillingPriceView.Raw, Schematic.BillingPriceView>;
|
|
11
12
|
export declare namespace BillingPriceView {
|
|
12
13
|
interface Raw {
|
|
13
14
|
billing_scheme: BillingPriceScheme.Raw;
|
|
14
15
|
created_at: string;
|
|
15
|
-
currency:
|
|
16
|
+
currency: Currency.Raw;
|
|
16
17
|
id: string;
|
|
17
18
|
interval: BillingProductPriceInterval.Raw;
|
|
18
19
|
interval_count: number;
|
|
@@ -5,13 +5,14 @@ import { BillingPriceScheme } from "./BillingPriceScheme";
|
|
|
5
5
|
import { BillingPriceUsageType } from "./BillingPriceUsageType";
|
|
6
6
|
import { BillingProductPriceTierResponseData } from "./BillingProductPriceTierResponseData";
|
|
7
7
|
import { BillingProviderType } from "./BillingProviderType";
|
|
8
|
+
import { Currency } from "./Currency";
|
|
8
9
|
export declare const BillingProductForSubscriptionResponseData: core.serialization.ObjectSchema<serializers.BillingProductForSubscriptionResponseData.Raw, Schematic.BillingProductForSubscriptionResponseData>;
|
|
9
10
|
export declare namespace BillingProductForSubscriptionResponseData {
|
|
10
11
|
interface Raw {
|
|
11
12
|
billing_scheme: BillingPriceScheme.Raw;
|
|
12
13
|
billing_threshold?: number | null;
|
|
13
14
|
created_at: string;
|
|
14
|
-
currency:
|
|
15
|
+
currency: Currency.Raw;
|
|
15
16
|
environment_id: string;
|
|
16
17
|
external_id: string;
|
|
17
18
|
id: string;
|
|
@@ -6,12 +6,13 @@ import { BillingPriceUsageType } from "./BillingPriceUsageType";
|
|
|
6
6
|
import { BillingProductPriceInterval } from "./BillingProductPriceInterval";
|
|
7
7
|
import { BillingProviderType } from "./BillingProviderType";
|
|
8
8
|
import { BillingTiersMode } from "./BillingTiersMode";
|
|
9
|
+
import { Currency } from "./Currency";
|
|
9
10
|
export declare const BillingProductPriceResponseData: core.serialization.ObjectSchema<serializers.BillingProductPriceResponseData.Raw, Schematic.BillingProductPriceResponseData>;
|
|
10
11
|
export declare namespace BillingProductPriceResponseData {
|
|
11
12
|
interface Raw {
|
|
12
13
|
billing_scheme: BillingPriceScheme.Raw;
|
|
13
14
|
created_at: string;
|
|
14
|
-
currency:
|
|
15
|
+
currency: Currency.Raw;
|
|
15
16
|
id: string;
|
|
16
17
|
interval: BillingProductPriceInterval.Raw;
|
|
17
18
|
interval_count: number;
|
|
@@ -2,11 +2,12 @@ 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 { BillingPriceUsageType } from "./BillingPriceUsageType";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
5
6
|
export declare const BillingProductPricing: core.serialization.ObjectSchema<serializers.BillingProductPricing.Raw, Schematic.BillingProductPricing>;
|
|
6
7
|
export declare namespace BillingProductPricing {
|
|
7
8
|
interface Raw {
|
|
8
9
|
billing_threshold?: number | null;
|
|
9
|
-
currency:
|
|
10
|
+
currency: Currency.Raw;
|
|
10
11
|
interval: string;
|
|
11
12
|
meter_id?: string | null;
|
|
12
13
|
package_size?: number | null;
|
|
@@ -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 "./BillingProviderType";
|
|
5
|
+
export declare const BillingSettingsResponseData: core.serialization.ObjectSchema<serializers.BillingSettingsResponseData.Raw, Schematic.BillingSettingsResponseData>;
|
|
6
|
+
export declare namespace BillingSettingsResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
default_provider_type?: BillingProviderType.Raw | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,13 +1,14 @@
|
|
|
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 BillingSubscriptionDiscountView: core.serialization.ObjectSchema<serializers.BillingSubscriptionDiscountView.Raw, Schematic.BillingSubscriptionDiscountView>;
|
|
5
6
|
export declare namespace BillingSubscriptionDiscountView {
|
|
6
7
|
interface Raw {
|
|
7
8
|
amount_off?: number | null;
|
|
8
9
|
coupon_id: string;
|
|
9
10
|
coupon_name: string;
|
|
10
|
-
currency?:
|
|
11
|
+
currency?: Currency.Raw | null;
|
|
11
12
|
customer_facing_code?: string | null;
|
|
12
13
|
discount_external_id: string;
|
|
13
14
|
duration: string;
|
|
@@ -3,6 +3,7 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { BillingProviderType } from "./BillingProviderType";
|
|
5
5
|
import { BillingSubscriptionTrialEndSetting } from "./BillingSubscriptionTrialEndSetting";
|
|
6
|
+
import { Currency } from "./Currency";
|
|
6
7
|
export declare const BillingSubscriptionResponseData: core.serialization.ObjectSchema<serializers.BillingSubscriptionResponseData.Raw, Schematic.BillingSubscriptionResponseData>;
|
|
7
8
|
export declare namespace BillingSubscriptionResponseData {
|
|
8
9
|
interface Raw {
|
|
@@ -11,7 +12,7 @@ export declare namespace BillingSubscriptionResponseData {
|
|
|
11
12
|
cancel_at_period_end: boolean;
|
|
12
13
|
company_id?: string | null;
|
|
13
14
|
created_at: string;
|
|
14
|
-
currency:
|
|
15
|
+
currency: Currency.Raw;
|
|
15
16
|
customer_external_id: string;
|
|
16
17
|
default_payment_method_id?: string | null;
|
|
17
18
|
expired_at?: string | null;
|
|
@@ -5,6 +5,7 @@ import { BillingProductForSubscriptionResponseData } from "./BillingProductForSu
|
|
|
5
5
|
import { BillingProviderType } from "./BillingProviderType";
|
|
6
6
|
import { BillingSubscriptionDiscountView } from "./BillingSubscriptionDiscountView";
|
|
7
7
|
import { BillingSubscriptionTrialEndSetting } from "./BillingSubscriptionTrialEndSetting";
|
|
8
|
+
import { Currency } from "./Currency";
|
|
8
9
|
import { InvoiceResponseData } from "./InvoiceResponseData";
|
|
9
10
|
import { PaymentMethodResponseData } from "./PaymentMethodResponseData";
|
|
10
11
|
export declare const BillingSubscriptionView: core.serialization.ObjectSchema<serializers.BillingSubscriptionView.Raw, Schematic.BillingSubscriptionView>;
|
|
@@ -15,7 +16,7 @@ export declare namespace BillingSubscriptionView {
|
|
|
15
16
|
cancel_at_period_end: boolean;
|
|
16
17
|
company_id?: string | null;
|
|
17
18
|
created_at: string;
|
|
18
|
-
currency:
|
|
19
|
+
currency: Currency.Raw;
|
|
19
20
|
customer_external_id: string;
|
|
20
21
|
default_payment_method_id?: string | null;
|
|
21
22
|
discounts: BillingSubscriptionDiscountView.Raw[];
|
|
@@ -5,6 +5,8 @@ export declare const CaptureRawEvent: core.serialization.ObjectSchema<serializer
|
|
|
5
5
|
export declare namespace CaptureRawEvent {
|
|
6
6
|
interface Raw {
|
|
7
7
|
captured_at: string;
|
|
8
|
+
context_signature?: string | null;
|
|
9
|
+
context_signature_checked?: boolean | null;
|
|
8
10
|
event_id?: string | null;
|
|
9
11
|
raw_bytes: string;
|
|
10
12
|
remote_ip: string;
|
|
@@ -2,9 +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 { CatalogConfigOrderedEntitlement } from "./CatalogConfigOrderedEntitlement";
|
|
5
|
+
import { CatalogConfigPlanCredit } from "./CatalogConfigPlanCredit";
|
|
5
6
|
export declare const CatalogConfigOrderedPlan: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedPlan.Raw, Schematic.CatalogConfigOrderedPlan>;
|
|
6
7
|
export declare namespace CatalogConfigOrderedPlan {
|
|
7
8
|
interface Raw {
|
|
9
|
+
credits?: CatalogConfigPlanCredit.Raw[] | null;
|
|
8
10
|
entitlements?: CatalogConfigOrderedEntitlement.Raw[] | null;
|
|
9
11
|
plan_id: string;
|
|
10
12
|
}
|
|
@@ -2,9 +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 { CatalogConfigOrderedEntitlementResponseData } from "./CatalogConfigOrderedEntitlementResponseData";
|
|
5
|
+
import { CatalogConfigPlanCreditResponseData } from "./CatalogConfigPlanCreditResponseData";
|
|
5
6
|
export declare const CatalogConfigOrderedPlanResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedPlanResponseData.Raw, Schematic.CatalogConfigOrderedPlanResponseData>;
|
|
6
7
|
export declare namespace CatalogConfigOrderedPlanResponseData {
|
|
7
8
|
interface Raw {
|
|
9
|
+
credits: CatalogConfigPlanCreditResponseData.Raw[];
|
|
8
10
|
entitlements: CatalogConfigOrderedEntitlementResponseData.Raw[];
|
|
9
11
|
plan_id: string;
|
|
10
12
|
}
|
|
@@ -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 CatalogConfigPlanCredit: core.serialization.ObjectSchema<serializers.CatalogConfigPlanCredit.Raw, Schematic.CatalogConfigPlanCredit>;
|
|
5
|
+
export declare namespace CatalogConfigPlanCredit {
|
|
6
|
+
interface Raw {
|
|
7
|
+
credit_id: string;
|
|
8
|
+
visible?: boolean | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -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 CatalogConfigPlanCreditResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigPlanCreditResponseData.Raw, Schematic.CatalogConfigPlanCreditResponseData>;
|
|
5
|
+
export declare namespace CatalogConfigPlanCreditResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
credit_id: string;
|
|
8
|
+
visible: boolean;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -2,6 +2,7 @@ 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 { CheckoutFieldValue } from "./CheckoutFieldValue";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
5
6
|
import { UpdateAddOnRequestBody } from "./UpdateAddOnRequestBody";
|
|
6
7
|
import { UpdateAutoTopupOverrideRequestBody } from "./UpdateAutoTopupOverrideRequestBody";
|
|
7
8
|
import { UpdateCreditBundleRequestBody } from "./UpdateCreditBundleRequestBody";
|
|
@@ -15,7 +16,7 @@ export declare namespace ChangeSubscriptionInternalRequestBody {
|
|
|
15
16
|
company_id: string;
|
|
16
17
|
coupon_external_id?: string | null;
|
|
17
18
|
credit_bundles: UpdateCreditBundleRequestBody.Raw[];
|
|
18
|
-
currency?:
|
|
19
|
+
currency?: Currency.Raw | null;
|
|
19
20
|
custom_field_values: CheckoutFieldValue.Raw[];
|
|
20
21
|
new_plan_id: string;
|
|
21
22
|
new_price_id: string;
|
|
@@ -2,6 +2,7 @@ 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 { CheckoutFieldValue } from "./CheckoutFieldValue";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
5
6
|
import { UpdateAddOnRequestBody } from "./UpdateAddOnRequestBody";
|
|
6
7
|
import { UpdateAutoTopupOverrideRequestBody } from "./UpdateAutoTopupOverrideRequestBody";
|
|
7
8
|
import { UpdateCreditBundleRequestBody } from "./UpdateCreditBundleRequestBody";
|
|
@@ -14,7 +15,7 @@ export declare namespace ChangeSubscriptionRequestBody {
|
|
|
14
15
|
billing_entity_id?: string | null;
|
|
15
16
|
coupon_external_id?: string | null;
|
|
16
17
|
credit_bundles: UpdateCreditBundleRequestBody.Raw[];
|
|
17
|
-
currency?:
|
|
18
|
+
currency?: Currency.Raw | null;
|
|
18
19
|
custom_field_values: CheckoutFieldValue.Raw[];
|
|
19
20
|
new_plan_id: string;
|
|
20
21
|
new_price_id: string;
|
|
@@ -3,11 +3,13 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { CheckFlagResponseData } from "./CheckFlagResponseData";
|
|
5
5
|
import { CompanyCreditBalance } from "./CompanyCreditBalance";
|
|
6
|
+
import { CreditSpendPolicy } from "./CreditSpendPolicy";
|
|
6
7
|
import { DatastreamCompanyPlan } from "./DatastreamCompanyPlan";
|
|
7
8
|
export declare const CheckFlagsResponseData: core.serialization.ObjectSchema<serializers.CheckFlagsResponseData.Raw, Schematic.CheckFlagsResponseData>;
|
|
8
9
|
export declare namespace CheckFlagsResponseData {
|
|
9
10
|
interface Raw {
|
|
10
11
|
credit_balances?: Record<string, CompanyCreditBalance.Raw> | null;
|
|
12
|
+
credit_spend_policies: CreditSpendPolicy.Raw[];
|
|
11
13
|
flags: CheckFlagResponseData.Raw[];
|
|
12
14
|
plan?: DatastreamCompanyPlan.Raw | null;
|
|
13
15
|
}
|
|
@@ -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 CheckoutProblemCode: core.serialization.Schema<serializers.CheckoutProblemCode.Raw, Schematic.CheckoutProblemCode>;
|
|
5
|
+
export declare namespace CheckoutProblemCode {
|
|
6
|
+
type Raw = "add_on_conflicts_with_plan" | "add_on_interval_mismatch" | "add_on_requires_billed_plan" | "add_on_unavailable" | "billing_cycle_anchor_conflicts_with_trial" | "billing_cycle_anchor_must_be_future" | "billing_cycle_anchor_needs_new_subscription" | "billing_cycle_anchor_without_plan" | "billing_start_date_must_be_past" | "billing_start_date_needs_new_subscription" | "billing_start_date_needs_renewal_date" | "billing_start_date_not_before_renewal_date" | "billing_start_date_too_far_in_past" | "credit_bundle_incompatible" | "credit_bundle_unavailable" | "credit_bundles_activate_on_payment" | "currency_mismatch" | "custom_field_required" | "discount_ineligible" | "downgrade_not_permitted" | "free_first_period_activates_on_payment" | "invoice_email_required" | "invoiced_subscription_conflicts_with_trial" | "invoiced_subscription_needs_new_subscription" | "invoiced_subscription_requires_plan" | "opt_in_required" | "pay_in_advance_price_invalid" | "pay_in_advance_required" | "payment_method_required" | "plan_not_trialable" | "plan_unavailable" | "price_unavailable" | "prorate_first_period_without_anchor" | "provider_rejected" | "scheduled_change_blocks_purchase" | "scheduled_change_pending" | "selection_invalid" | "subscription_currency_change" | "trial_end_must_be_future" | "trial_end_too_far" | "trial_excludes_add_ons" | "trial_excludes_usage_based" | "usage_price_missing_for_interval" | "usage_over_limit";
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { CheckoutProblemCode } from "./CheckoutProblemCode";
|
|
5
|
+
import { CheckoutProblemSource } from "./CheckoutProblemSource";
|
|
6
|
+
import { Currency } from "./Currency";
|
|
7
|
+
export declare const CheckoutProblemResponseData: core.serialization.ObjectSchema<serializers.CheckoutProblemResponseData.Raw, Schematic.CheckoutProblemResponseData>;
|
|
8
|
+
export declare namespace CheckoutProblemResponseData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
blocking: boolean;
|
|
11
|
+
bundle_id?: string | null;
|
|
12
|
+
code: CheckoutProblemCode.Raw;
|
|
13
|
+
currency?: Currency.Raw | null;
|
|
14
|
+
detail?: string | null;
|
|
15
|
+
feature_id?: string | null;
|
|
16
|
+
field_id?: string | null;
|
|
17
|
+
message: string;
|
|
18
|
+
payment_method_id?: string | null;
|
|
19
|
+
plan_id?: string | null;
|
|
20
|
+
price_id?: string | null;
|
|
21
|
+
source: CheckoutProblemSource.Raw;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -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 CheckoutProblemSource: core.serialization.Schema<serializers.CheckoutProblemSource.Raw, Schematic.CheckoutProblemSource>;
|
|
5
|
+
export declare namespace CheckoutProblemSource {
|
|
6
|
+
type Raw = "provider" | "requirement" | "validation";
|
|
7
|
+
}
|
|
@@ -3,6 +3,7 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { BillingProviderType } from "./BillingProviderType";
|
|
5
5
|
import { BillingSubscriptionTrialEndSetting } from "./BillingSubscriptionTrialEndSetting";
|
|
6
|
+
import { Currency } from "./Currency";
|
|
6
7
|
export declare const CheckoutSubscription: core.serialization.ObjectSchema<serializers.CheckoutSubscription.Raw, Schematic.CheckoutSubscription>;
|
|
7
8
|
export declare namespace CheckoutSubscription {
|
|
8
9
|
interface Raw {
|
|
@@ -13,7 +14,7 @@ export declare namespace CheckoutSubscription {
|
|
|
13
14
|
confirm_payment_intent_client_secret?: string | null;
|
|
14
15
|
confirm_payment_intent_id?: string | null;
|
|
15
16
|
created_at: string;
|
|
16
|
-
currency:
|
|
17
|
+
currency: Currency.Raw;
|
|
17
18
|
customer_external_id: string;
|
|
18
19
|
default_payment_method_id?: string | null;
|
|
19
20
|
expired_at?: string | null;
|
|
@@ -5,6 +5,7 @@ import { BillingProductForSubscriptionResponseData } from "./BillingProductForSu
|
|
|
5
5
|
import { BillingProviderType } from "./BillingProviderType";
|
|
6
6
|
import { BillingSubscriptionDiscountView } from "./BillingSubscriptionDiscountView";
|
|
7
7
|
import { CompanyResponseData } from "./CompanyResponseData";
|
|
8
|
+
import { Currency } from "./Currency";
|
|
8
9
|
import { InvoiceResponseData } from "./InvoiceResponseData";
|
|
9
10
|
import { PaymentMethodResponseData } from "./PaymentMethodResponseData";
|
|
10
11
|
export declare const CompanyBillingEntitySubscriptionResponseData: core.serialization.ObjectSchema<serializers.CompanyBillingEntitySubscriptionResponseData.Raw, Schematic.CompanyBillingEntitySubscriptionResponseData>;
|
|
@@ -13,7 +14,7 @@ export declare namespace CompanyBillingEntitySubscriptionResponseData {
|
|
|
13
14
|
cancel_at?: string | null;
|
|
14
15
|
cancel_at_period_end: boolean;
|
|
15
16
|
company?: CompanyResponseData.Raw | null;
|
|
16
|
-
currency:
|
|
17
|
+
currency: Currency.Raw;
|
|
17
18
|
customer_external_id: string;
|
|
18
19
|
discounts: BillingSubscriptionDiscountView.Raw[];
|
|
19
20
|
expired_at?: string | null;
|
|
@@ -19,6 +19,7 @@ export declare namespace CompanyDetailResponseData {
|
|
|
19
19
|
interface Raw {
|
|
20
20
|
add_ons: CompanyPlanWithBillingSubView.Raw[];
|
|
21
21
|
billing_credit_balances?: Record<string, number> | null;
|
|
22
|
+
billing_email?: string | null;
|
|
22
23
|
billing_profile?: CompanyBillingProfileResponseData.Raw | null;
|
|
23
24
|
billing_profiles?: CompanyBillingProfileResponseData.Raw[] | null;
|
|
24
25
|
billing_subscription?: BillingSubscriptionView.Raw | null;
|
|
@@ -24,6 +24,7 @@ export declare namespace CompanyOverrideResponseData {
|
|
|
24
24
|
metric_period?: MetricPeriod.Raw | null;
|
|
25
25
|
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
26
26
|
notes: CompanyOverrideNoteResponseData.Raw[];
|
|
27
|
+
quantity_rates?: Record<string, number> | null;
|
|
27
28
|
rule_id?: string | null;
|
|
28
29
|
rule_id_usage_exceeded?: string | null;
|
|
29
30
|
updated_at: string;
|
|
@@ -10,10 +10,12 @@ import { BillingStrategy } from "./BillingStrategy";
|
|
|
10
10
|
import { ChargeType } from "./ChargeType";
|
|
11
11
|
import { CompanyPlanInvalidReason } from "./CompanyPlanInvalidReason";
|
|
12
12
|
import { CustomPlanConfig } from "./CustomPlanConfig";
|
|
13
|
+
import { EstimatedPlanTotal } from "./EstimatedPlanTotal";
|
|
13
14
|
import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
|
|
14
15
|
import { FeatureUsageResponseData } from "./FeatureUsageResponseData";
|
|
15
16
|
import { PlanCatalogMembershipResponseData } from "./PlanCatalogMembershipResponseData";
|
|
16
17
|
import { PlanCreditGrantView } from "./PlanCreditGrantView";
|
|
18
|
+
import { PlanCreditVisibility } from "./PlanCreditVisibility";
|
|
17
19
|
import { PlanCurrencyPricesResponseData } from "./PlanCurrencyPricesResponseData";
|
|
18
20
|
import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
19
21
|
import { PlanIcon } from "./PlanIcon";
|
|
@@ -40,6 +42,7 @@ export declare namespace CompanyPlanDetailResponseData {
|
|
|
40
42
|
controlled_by: BillingProviderType.Raw;
|
|
41
43
|
copied_from_plan_id?: string | null;
|
|
42
44
|
created_at: string;
|
|
45
|
+
credit_visibility?: PlanCreditVisibility.Raw[] | null;
|
|
43
46
|
credits: BillingCreditResponseData.Raw[];
|
|
44
47
|
currency_prices: PlanCurrencyPricesResponseData.Raw[];
|
|
45
48
|
current: boolean;
|
|
@@ -48,6 +51,7 @@ export declare namespace CompanyPlanDetailResponseData {
|
|
|
48
51
|
description: string;
|
|
49
52
|
draft_version?: PlanVersionResponseData.Raw | null;
|
|
50
53
|
entitlements?: PlanEntitlementResponseData.Raw[] | null;
|
|
54
|
+
estimated_totals?: EstimatedPlanTotal.Raw[] | null;
|
|
51
55
|
features: FeatureInPlanResponseData.Raw[];
|
|
52
56
|
icon: PlanIcon.Raw;
|
|
53
57
|
id: string;
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { BillingProductForSubscriptionResponseData } from "./BillingProductForSubscriptionResponseData";
|
|
5
5
|
import { BillingProviderType } from "./BillingProviderType";
|
|
6
6
|
import { BillingSubscriptionDiscountView } from "./BillingSubscriptionDiscountView";
|
|
7
|
+
import { Currency } from "./Currency";
|
|
7
8
|
import { InvoiceResponseData } from "./InvoiceResponseData";
|
|
8
9
|
import { PaymentMethodResponseData } from "./PaymentMethodResponseData";
|
|
9
10
|
export declare const CompanySubscriptionResponseData: core.serialization.ObjectSchema<serializers.CompanySubscriptionResponseData.Raw, Schematic.CompanySubscriptionResponseData>;
|
|
@@ -11,7 +12,7 @@ export declare namespace CompanySubscriptionResponseData {
|
|
|
11
12
|
interface Raw {
|
|
12
13
|
cancel_at?: string | null;
|
|
13
14
|
cancel_at_period_end: boolean;
|
|
14
|
-
currency:
|
|
15
|
+
currency: Currency.Raw;
|
|
15
16
|
customer_external_id: string;
|
|
16
17
|
discounts: BillingSubscriptionDiscountView.Raw[];
|
|
17
18
|
expired_at?: string | 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 { FeatureResponseData } from "./FeatureResponseData";
|
|
5
|
+
export declare const CompanyUserUsageMetricsResponseData: core.serialization.ObjectSchema<serializers.CompanyUserUsageMetricsResponseData.Raw, Schematic.CompanyUserUsageMetricsResponseData>;
|
|
6
|
+
export declare namespace CompanyUserUsageMetricsResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
end_time: string;
|
|
9
|
+
features: FeatureResponseData.Raw[];
|
|
10
|
+
has_credits: boolean;
|
|
11
|
+
start_time: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { CompanyUserUsageRowResponseData } from "./CompanyUserUsageRowResponseData";
|
|
5
|
+
export declare const CompanyUserUsageResponseData: core.serialization.ObjectSchema<serializers.CompanyUserUsageResponseData.Raw, Schematic.CompanyUserUsageResponseData>;
|
|
6
|
+
export declare namespace CompanyUserUsageResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
end_time: string;
|
|
9
|
+
rows: CompanyUserUsageRowResponseData.Raw[];
|
|
10
|
+
start_time: string;
|
|
11
|
+
top_user_share: number;
|
|
12
|
+
total: number;
|
|
13
|
+
unattributed?: CompanyUserUsageRowResponseData.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -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 { UserResponseData } from "./UserResponseData";
|
|
5
|
+
export declare const CompanyUserUsageRowResponseData: core.serialization.ObjectSchema<serializers.CompanyUserUsageRowResponseData.Raw, Schematic.CompanyUserUsageRowResponseData>;
|
|
6
|
+
export declare namespace CompanyUserUsageRowResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
last_seen?: string | null;
|
|
9
|
+
share: number;
|
|
10
|
+
user?: UserResponseData.Raw | null;
|
|
11
|
+
user_id?: string | null;
|
|
12
|
+
value: number;
|
|
13
|
+
}
|
|
14
|
+
}
|