@schematichq/schematic-typescript-node 1.6.4 → 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/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 +23 -2
- 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/GetCreditBalanceTimeSeriesRequest.d.ts +15 -0
- package/dist/api/resources/credits/client/requests/index.d.ts +1 -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/index.d.ts +2 -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/UpdateCompanyOverrideRequestBody.d.ts +2 -0
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +3 -1
- 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/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 +5 -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/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/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/CompanyOverrideResponseData.d.ts +2 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +1 -0
- package/dist/api/types/CompanySubscriptionResponseData.d.ts +1 -1
- 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 +4 -1
- 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 +7 -1
- package/dist/api/types/EntitlementCurrencyPricesResponseData.d.ts +1 -1
- package/dist/api/types/EstimatedPlanTotal.d.ts +1 -1
- 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 +1 -1
- 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/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/RulesengineCondition.d.ts +1 -0
- package/dist/api/types/RulesengineFeatureEntitlement.d.ts +2 -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/index.d.ts +25 -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/index.js +9 -9
- 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/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/types/GetCreditBalanceTimeSeriesParams.d.ts +12 -0
- package/dist/serialization/resources/credits/types/GetCreditBalanceTimeSeriesResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/index.d.ts +2 -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/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/plans/client/requests/PublishPlanVersionRequestBody.d.ts +2 -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/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/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/CompanyOverrideResponseData.d.ts +1 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +2 -1
- 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 +5 -1
- 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 +4 -0
- package/dist/serialization/types/EntitlementCurrencyPricesResponseData.d.ts +2 -1
- package/dist/serialization/types/EstimatedPlanTotal.d.ts +2 -1
- 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/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/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/RulesengineCondition.d.ts +1 -0
- package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +1 -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/index.d.ts +25 -0
- package/dist/wasm/rulesengine.js +1 -1
- package/package.json +3 -3
|
@@ -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";
|
|
@@ -10,14 +11,17 @@ export declare namespace CustomPlanBillingResponseData {
|
|
|
10
11
|
activation_strategy: CustomPlanActivationStrategy.Raw;
|
|
11
12
|
billing_cycle_anchor?: string | null;
|
|
12
13
|
billing_start_date?: string | null;
|
|
14
|
+
checkout_id?: string | null;
|
|
13
15
|
company_id: string;
|
|
14
16
|
created_at: string;
|
|
15
17
|
days_until_due: number;
|
|
16
18
|
external_invoice_id?: string | null;
|
|
17
19
|
id: string;
|
|
20
|
+
migration_id?: string | null;
|
|
18
21
|
paid_at?: string | null;
|
|
19
22
|
plan_billing_source: PlanBillingSource.Raw;
|
|
20
23
|
plan_id: string;
|
|
24
|
+
problems: CheckoutProblemResponseData.Raw[];
|
|
21
25
|
prorate_first_period?: boolean | null;
|
|
22
26
|
published_at?: string | null;
|
|
23
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;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { Currency } from "./Currency";
|
|
4
5
|
import { PlanPriceCadence } from "./PlanPriceCadence";
|
|
5
6
|
export declare const EstimatedPlanTotal: core.serialization.ObjectSchema<serializers.EstimatedPlanTotal.Raw, Schematic.EstimatedPlanTotal>;
|
|
6
7
|
export declare namespace EstimatedPlanTotal {
|
|
7
8
|
interface Raw {
|
|
8
9
|
amount: number;
|
|
9
|
-
currency:
|
|
10
|
+
currency: Currency.Raw;
|
|
10
11
|
period: PlanPriceCadence.Raw;
|
|
11
12
|
}
|
|
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;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { Currency } from "./Currency";
|
|
4
5
|
import { InvoiceStatus } from "./InvoiceStatus";
|
|
5
6
|
export declare const InvoiceRequestBody: core.serialization.ObjectSchema<serializers.InvoiceRequestBody.Raw, Schematic.InvoiceRequestBody>;
|
|
6
7
|
export declare namespace InvoiceRequestBody {
|
|
@@ -9,7 +10,7 @@ export declare namespace InvoiceRequestBody {
|
|
|
9
10
|
amount_paid: number;
|
|
10
11
|
amount_remaining: number;
|
|
11
12
|
collection_method: string;
|
|
12
|
-
currency:
|
|
13
|
+
currency: Currency.Raw;
|
|
13
14
|
customer_external_id: string;
|
|
14
15
|
due_date?: string | null;
|
|
15
16
|
ending_balance?: number | null;
|
|
@@ -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 { BillingProviderType } from "./BillingProviderType";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
5
6
|
import { InvoiceStatus } from "./InvoiceStatus";
|
|
6
7
|
export declare const InvoiceResponseData: core.serialization.ObjectSchema<serializers.InvoiceResponseData.Raw, Schematic.InvoiceResponseData>;
|
|
7
8
|
export declare namespace InvoiceResponseData {
|
|
@@ -12,7 +13,7 @@ export declare namespace InvoiceResponseData {
|
|
|
12
13
|
collection_method: string;
|
|
13
14
|
company_id?: string | null;
|
|
14
15
|
created_at: string;
|
|
15
|
-
currency:
|
|
16
|
+
currency: Currency.Raw;
|
|
16
17
|
customer_external_id: string;
|
|
17
18
|
due_date?: string | null;
|
|
18
19
|
ending_balance: number;
|
|
@@ -1,10 +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 { CheckoutProblemResponseData } from "./CheckoutProblemResponseData";
|
|
4
5
|
import { PreviewSubscriptionChangeResponseData } from "./PreviewSubscriptionChangeResponseData";
|
|
5
6
|
export declare const ManagePlanPreviewResponseResponseData: core.serialization.ObjectSchema<serializers.ManagePlanPreviewResponseResponseData.Raw, Schematic.ManagePlanPreviewResponseResponseData>;
|
|
6
7
|
export declare namespace ManagePlanPreviewResponseResponseData {
|
|
7
8
|
interface Raw {
|
|
9
|
+
problems: CheckoutProblemResponseData.Raw[];
|
|
8
10
|
subscription_change_preview?: PreviewSubscriptionChangeResponseData.Raw | null;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
@@ -3,6 +3,7 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { BillingCollectionMethod } from "./BillingCollectionMethod";
|
|
5
5
|
import { CheckoutFieldValue } from "./CheckoutFieldValue";
|
|
6
|
+
import { Currency } from "./Currency";
|
|
6
7
|
import { PlanSelection } from "./PlanSelection";
|
|
7
8
|
import { UpdateCreditBundleRequestBody } from "./UpdateCreditBundleRequestBody";
|
|
8
9
|
import { UpdatePayInAdvanceRequestBody } from "./UpdatePayInAdvanceRequestBody";
|
|
@@ -22,9 +23,10 @@ export declare namespace ManagePlanRequest {
|
|
|
22
23
|
company_id: string;
|
|
23
24
|
coupon_external_id?: string | null;
|
|
24
25
|
credit_bundles: UpdateCreditBundleRequestBody.Raw[];
|
|
25
|
-
currency?:
|
|
26
|
+
currency?: Currency.Raw | null;
|
|
26
27
|
custom_field_values: CheckoutFieldValue.Raw[];
|
|
27
28
|
days_until_due?: number | null;
|
|
29
|
+
paid_outside_stripe?: boolean | null;
|
|
28
30
|
pay_in_advance_entitlements: UpdatePayInAdvanceRequestBody.Raw[];
|
|
29
31
|
payment_method_external_id?: string | null;
|
|
30
32
|
promo_code?: string | null;
|
|
@@ -1,11 +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 { CheckoutProblemResponseData } from "./CheckoutProblemResponseData";
|
|
4
5
|
import { CompanyDetailResponseData } from "./CompanyDetailResponseData";
|
|
5
6
|
export declare const ManagePlanResponseResponseData: core.serialization.ObjectSchema<serializers.ManagePlanResponseResponseData.Raw, Schematic.ManagePlanResponseResponseData>;
|
|
6
7
|
export declare namespace ManagePlanResponseResponseData {
|
|
7
8
|
interface Raw {
|
|
9
|
+
checkout_id?: string | null;
|
|
8
10
|
company?: CompanyDetailResponseData.Raw | null;
|
|
11
|
+
problems: CheckoutProblemResponseData.Raw[];
|
|
9
12
|
success: boolean;
|
|
10
13
|
}
|
|
11
14
|
}
|
|
@@ -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 MrrResponseData: core.serialization.ObjectSchema<serializers.MrrResponseData.Raw, Schematic.MrrResponseData>;
|
|
5
6
|
export declare namespace MrrResponseData {
|
|
6
7
|
interface Raw {
|
|
7
8
|
amount: number;
|
|
8
|
-
currency:
|
|
9
|
+
currency: Currency.Raw;
|
|
9
10
|
}
|
|
10
11
|
}
|
|
@@ -1,10 +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 { CreditsInPlan } from "./CreditsInPlan";
|
|
4
5
|
import { EntitlementsInPlan } from "./EntitlementsInPlan";
|
|
5
6
|
export declare const OrderedPlansInGroup: core.serialization.ObjectSchema<serializers.OrderedPlansInGroup.Raw, Schematic.OrderedPlansInGroup>;
|
|
6
7
|
export declare namespace OrderedPlansInGroup {
|
|
7
8
|
interface Raw {
|
|
9
|
+
credits?: CreditsInPlan.Raw[] | null;
|
|
8
10
|
entitlements?: EntitlementsInPlan.Raw[] | null;
|
|
9
11
|
plan_id: string;
|
|
10
12
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const PlanBillingSource: core.serialization.Schema<serializers.PlanBillingSource.Raw, Schematic.PlanBillingSource>;
|
|
5
5
|
export declare namespace PlanBillingSource {
|
|
6
|
-
type Raw = "custom_plan" | "manage_plan";
|
|
6
|
+
type Raw = "amendment" | "custom_plan" | "manage_plan";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const PlanChangeAction: core.serialization.Schema<serializers.PlanChangeAction.Raw, Schematic.PlanChangeAction>;
|
|
5
5
|
export declare namespace PlanChangeAction {
|
|
6
|
-
type Raw = "checkout" | "company_upsert" | "fallback_plan" | "manage_plan" | "migration" | "plan_billing_product_changed" | "plan_deleted" | "plan_trait_change" | "plan_version_migration" | "quickstart" | "subscription_change";
|
|
6
|
+
type Raw = "amendment" | "checkout" | "company_upsert" | "fallback_plan" | "manage_plan" | "migration" | "plan_billing_product_changed" | "plan_deleted" | "plan_trait_change" | "plan_version_migration" | "quickstart" | "subscription_change";
|
|
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 PlanChangeAmendmentStatus: core.serialization.Schema<serializers.PlanChangeAmendmentStatus.Raw, Schematic.PlanChangeAmendmentStatus>;
|
|
5
|
+
export declare namespace PlanChangeAmendmentStatus {
|
|
6
|
+
type Raw = "applied" | "cancelled" | "failed" | "scheduled" | "skipped";
|
|
7
|
+
}
|
|
@@ -7,6 +7,7 @@ import { AuditLogListResponseData } from "./AuditLogListResponseData";
|
|
|
7
7
|
import { CompanyResponseData } from "./CompanyResponseData";
|
|
8
8
|
import { IntegrationResponseData } from "./IntegrationResponseData";
|
|
9
9
|
import { PlanChangeAction } from "./PlanChangeAction";
|
|
10
|
+
import { PlanChangeAmendmentStatus } from "./PlanChangeAmendmentStatus";
|
|
10
11
|
import { PlanChangeBasePlanAction } from "./PlanChangeBasePlanAction";
|
|
11
12
|
import { PlanChangeSubscriptionAction } from "./PlanChangeSubscriptionAction";
|
|
12
13
|
import { PlanSnapshotView } from "./PlanSnapshotView";
|
|
@@ -20,6 +21,7 @@ export declare namespace PlanChangeResponseData {
|
|
|
20
21
|
actor_type: ActorType.Raw;
|
|
21
22
|
add_ons_added: PlanSnapshotView.Raw[];
|
|
22
23
|
add_ons_removed: PlanSnapshotView.Raw[];
|
|
24
|
+
amendment_status?: PlanChangeAmendmentStatus.Raw | null;
|
|
23
25
|
api_key?: ApiKeyResponseData.Raw | null;
|
|
24
26
|
audit_log?: AuditLogListResponseData.Raw | null;
|
|
25
27
|
base_plan?: PlanSnapshotView.Raw | null;
|
|
@@ -32,6 +34,7 @@ export declare namespace PlanChangeResponseData {
|
|
|
32
34
|
id: string;
|
|
33
35
|
integration?: IntegrationResponseData.Raw | null;
|
|
34
36
|
is_version_upgrade: boolean;
|
|
37
|
+
migration_id?: string | null;
|
|
35
38
|
previous_base_plan?: PlanSnapshotView.Raw | null;
|
|
36
39
|
previous_base_plan_version?: PlanVersionSnapshotView.Raw | null;
|
|
37
40
|
request_id?: string | 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
|
+
export declare const PlanCreditOrder: core.serialization.ObjectSchema<serializers.PlanCreditOrder.Raw, Schematic.PlanCreditOrder>;
|
|
5
|
+
export declare namespace PlanCreditOrder {
|
|
6
|
+
interface Raw {
|
|
7
|
+
credit_id: string;
|
|
8
|
+
visible: boolean;
|
|
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 PlanCreditVisibility: core.serialization.ObjectSchema<serializers.PlanCreditVisibility.Raw, Schematic.PlanCreditVisibility>;
|
|
5
|
+
export declare namespace PlanCreditVisibility {
|
|
6
|
+
interface Raw {
|
|
7
|
+
credit_id: string;
|
|
8
|
+
visible: boolean;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -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 PlanCurrencyPriceRequestBody: core.serialization.ObjectSchema<serializers.PlanCurrencyPriceRequestBody.Raw, Schematic.PlanCurrencyPriceRequestBody>;
|
|
5
6
|
export declare namespace PlanCurrencyPriceRequestBody {
|
|
6
7
|
interface Raw {
|
|
7
|
-
currency:
|
|
8
|
+
currency: Currency.Raw;
|
|
8
9
|
monthly_price?: number | null;
|
|
9
10
|
one_time_price?: number | null;
|
|
10
11
|
quarterly_price?: 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 { BillingPriceResponseData } from "./BillingPriceResponseData";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
5
6
|
export declare const PlanCurrencyPricesResponseData: core.serialization.ObjectSchema<serializers.PlanCurrencyPricesResponseData.Raw, Schematic.PlanCurrencyPricesResponseData>;
|
|
6
7
|
export declare namespace PlanCurrencyPricesResponseData {
|
|
7
8
|
interface Raw {
|
|
8
|
-
currency:
|
|
9
|
+
currency: Currency.Raw;
|
|
9
10
|
monthly_price?: BillingPriceResponseData.Raw | null;
|
|
10
11
|
one_time_price?: BillingPriceResponseData.Raw | null;
|
|
11
12
|
quarterly_price?: BillingPriceResponseData.Raw | null;
|
|
@@ -38,6 +38,7 @@ export declare namespace PlanEntitlementResponseData {
|
|
|
38
38
|
plan?: PlanResponseData.Raw | null;
|
|
39
39
|
plan_id: string;
|
|
40
40
|
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
41
|
+
quantity_rates?: Record<string, number> | null;
|
|
41
42
|
rule_id: string;
|
|
42
43
|
rule_id_usage_exceeded?: string | null;
|
|
43
44
|
soft_limit?: number | null;
|
|
@@ -1,10 +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 { PlanCreditOrder } from "./PlanCreditOrder";
|
|
4
5
|
import { PlanEntitlementsOrder } from "./PlanEntitlementsOrder";
|
|
5
6
|
export declare const PlanGroupPlanEntitlementsOrder: core.serialization.ObjectSchema<serializers.PlanGroupPlanEntitlementsOrder.Raw, Schematic.PlanGroupPlanEntitlementsOrder>;
|
|
6
7
|
export declare namespace PlanGroupPlanEntitlementsOrder {
|
|
7
8
|
interface Raw {
|
|
9
|
+
credits: PlanCreditOrder.Raw[];
|
|
8
10
|
entitlements?: PlanEntitlementsOrder.Raw[] | null;
|
|
9
11
|
plan_id: string;
|
|
10
12
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { BillingProductDetailResponseData } from "./BillingProductDetailResponseData";
|
|
5
|
+
export declare const PlanVersionBillingProductChangeResponseData: core.serialization.ObjectSchema<serializers.PlanVersionBillingProductChangeResponseData.Raw, Schematic.PlanVersionBillingProductChangeResponseData>;
|
|
6
|
+
export declare namespace PlanVersionBillingProductChangeResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
"new"?: BillingProductDetailResponseData.Raw | null;
|
|
9
|
+
old?: BillingProductDetailResponseData.Raw | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -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 { BillingPlanCreditGrantResponseData } from "./BillingPlanCreditGrantResponseData";
|
|
5
|
+
import { PlanVersionDiffChangeType } from "./PlanVersionDiffChangeType";
|
|
6
|
+
export declare const PlanVersionCreditGrantChangeResponseData: core.serialization.ObjectSchema<serializers.PlanVersionCreditGrantChangeResponseData.Raw, Schematic.PlanVersionCreditGrantChangeResponseData>;
|
|
7
|
+
export declare namespace PlanVersionCreditGrantChangeResponseData {
|
|
8
|
+
interface Raw {
|
|
9
|
+
change_type: PlanVersionDiffChangeType.Raw;
|
|
10
|
+
changed_fields: string[];
|
|
11
|
+
credit_id: string;
|
|
12
|
+
"new"?: BillingPlanCreditGrantResponseData.Raw | null;
|
|
13
|
+
old?: BillingPlanCreditGrantResponseData.Raw | null;
|
|
14
|
+
}
|
|
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 PlanVersionDiffChangeType: core.serialization.Schema<serializers.PlanVersionDiffChangeType.Raw, Schematic.PlanVersionDiffChangeType>;
|
|
5
|
+
export declare namespace PlanVersionDiffChangeType {
|
|
6
|
+
type Raw = "added" | "changed" | "removed";
|
|
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 PlanVersionDiffPriceCadence: core.serialization.Schema<serializers.PlanVersionDiffPriceCadence.Raw, Schematic.PlanVersionDiffPriceCadence>;
|
|
5
|
+
export declare namespace PlanVersionDiffPriceCadence {
|
|
6
|
+
type Raw = "monthly" | "one_time" | "quarterly" | "yearly";
|
|
7
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { PlanVersionBillingProductChangeResponseData } from "./PlanVersionBillingProductChangeResponseData";
|
|
5
|
+
import { PlanVersionCreditGrantChangeResponseData } from "./PlanVersionCreditGrantChangeResponseData";
|
|
6
|
+
import { PlanVersionEntitlementChangeResponseData } from "./PlanVersionEntitlementChangeResponseData";
|
|
7
|
+
import { PlanVersionFieldChangeResponseData } from "./PlanVersionFieldChangeResponseData";
|
|
8
|
+
import { PlanVersionPriceChangeResponseData } from "./PlanVersionPriceChangeResponseData";
|
|
9
|
+
import { PlanVersionResponseData } from "./PlanVersionResponseData";
|
|
10
|
+
export declare const PlanVersionDiffResponseData: core.serialization.ObjectSchema<serializers.PlanVersionDiffResponseData.Raw, Schematic.PlanVersionDiffResponseData>;
|
|
11
|
+
export declare namespace PlanVersionDiffResponseData {
|
|
12
|
+
interface Raw {
|
|
13
|
+
billing_product?: PlanVersionBillingProductChangeResponseData.Raw | null;
|
|
14
|
+
credit_grants: PlanVersionCreditGrantChangeResponseData.Raw[];
|
|
15
|
+
entitlements: PlanVersionEntitlementChangeResponseData.Raw[];
|
|
16
|
+
from?: PlanVersionResponseData.Raw | null;
|
|
17
|
+
has_billing_changes: boolean;
|
|
18
|
+
plan_fields: PlanVersionFieldChangeResponseData.Raw[];
|
|
19
|
+
prices: PlanVersionPriceChangeResponseData.Raw[];
|
|
20
|
+
to?: PlanVersionResponseData.Raw | null;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -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 { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
5
|
+
import { PlanVersionDiffChangeType } from "./PlanVersionDiffChangeType";
|
|
6
|
+
export declare const PlanVersionEntitlementChangeResponseData: core.serialization.ObjectSchema<serializers.PlanVersionEntitlementChangeResponseData.Raw, Schematic.PlanVersionEntitlementChangeResponseData>;
|
|
7
|
+
export declare namespace PlanVersionEntitlementChangeResponseData {
|
|
8
|
+
interface Raw {
|
|
9
|
+
change_type: PlanVersionDiffChangeType.Raw;
|
|
10
|
+
changed_fields: string[];
|
|
11
|
+
feature_id: string;
|
|
12
|
+
"new"?: PlanEntitlementResponseData.Raw | null;
|
|
13
|
+
old?: PlanEntitlementResponseData.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -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 PlanVersionFieldChangeResponseData: core.serialization.ObjectSchema<serializers.PlanVersionFieldChangeResponseData.Raw, Schematic.PlanVersionFieldChangeResponseData>;
|
|
5
|
+
export declare namespace PlanVersionFieldChangeResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
field: string;
|
|
8
|
+
"new": string;
|
|
9
|
+
old: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -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 { BillingPriceResponseData } from "./BillingPriceResponseData";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
6
|
+
import { PlanVersionDiffPriceCadence } from "./PlanVersionDiffPriceCadence";
|
|
7
|
+
export declare const PlanVersionPriceChangeResponseData: core.serialization.ObjectSchema<serializers.PlanVersionPriceChangeResponseData.Raw, Schematic.PlanVersionPriceChangeResponseData>;
|
|
8
|
+
export declare namespace PlanVersionPriceChangeResponseData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
cadence: PlanVersionDiffPriceCadence.Raw;
|
|
11
|
+
currency: Currency.Raw;
|
|
12
|
+
"new"?: BillingPriceResponseData.Raw | null;
|
|
13
|
+
old?: BillingPriceResponseData.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -12,6 +12,7 @@ import { CustomPlanConfig } from "./CustomPlanConfig";
|
|
|
12
12
|
import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
|
|
13
13
|
import { PlanCatalogMembershipResponseData } from "./PlanCatalogMembershipResponseData";
|
|
14
14
|
import { PlanCreditGrantView } from "./PlanCreditGrantView";
|
|
15
|
+
import { PlanCreditVisibility } from "./PlanCreditVisibility";
|
|
15
16
|
import { PlanCurrencyPricesResponseData } from "./PlanCurrencyPricesResponseData";
|
|
16
17
|
import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
17
18
|
import { PlanIcon } from "./PlanIcon";
|
|
@@ -37,6 +38,7 @@ export declare namespace PlanViewPublicResponseData {
|
|
|
37
38
|
controlled_by: BillingProviderType.Raw;
|
|
38
39
|
copied_from_plan_id?: string | null;
|
|
39
40
|
created_at: string;
|
|
41
|
+
credit_visibility?: PlanCreditVisibility.Raw[] | null;
|
|
40
42
|
credits: BillingCreditResponseData.Raw[];
|
|
41
43
|
currency_prices: PlanCurrencyPricesResponseData.Raw[];
|
|
42
44
|
custom: boolean;
|
|
@@ -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 { FeatureUsageResponseData } from "./FeatureUsageResponseData";
|
|
5
6
|
import { PreviewSubscriptionFinanceResponseData } from "./PreviewSubscriptionFinanceResponseData";
|
|
6
7
|
export declare const PreviewSubscriptionChangeResponseData: core.serialization.ObjectSchema<serializers.PreviewSubscriptionChangeResponseData.Raw, Schematic.PreviewSubscriptionChangeResponseData>;
|
|
@@ -17,6 +18,7 @@ export declare namespace PreviewSubscriptionChangeResponseData {
|
|
|
17
18
|
payment_method_required: boolean;
|
|
18
19
|
percent_off: number;
|
|
19
20
|
period_start: string;
|
|
21
|
+
problems: CheckoutProblemResponseData.Raw[];
|
|
20
22
|
promo_code_applied: boolean;
|
|
21
23
|
proration: number;
|
|
22
24
|
scheduled_change_time?: string | null;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { Currency } from "./Currency";
|
|
4
5
|
export declare const PreviewSubscriptionDiscountResponseData: core.serialization.ObjectSchema<serializers.PreviewSubscriptionDiscountResponseData.Raw, Schematic.PreviewSubscriptionDiscountResponseData>;
|
|
5
6
|
export declare namespace PreviewSubscriptionDiscountResponseData {
|
|
6
7
|
interface Raw {
|
|
7
8
|
amount_off?: number | null;
|
|
8
9
|
coupon_name: string;
|
|
9
|
-
currency?:
|
|
10
|
+
currency?: Currency.Raw | null;
|
|
10
11
|
customer_facing_code?: string | null;
|
|
11
12
|
duration: string;
|
|
12
13
|
duration_in_months?: number | null;
|
|
@@ -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
|
import { PreviewSubscriptionDiscountResponseData } from "./PreviewSubscriptionDiscountResponseData";
|
|
5
6
|
import { PreviewSubscriptionUpcomingInvoiceLineItems } from "./PreviewSubscriptionUpcomingInvoiceLineItems";
|
|
6
7
|
export declare const PreviewSubscriptionFinanceResponseData: core.serialization.ObjectSchema<serializers.PreviewSubscriptionFinanceResponseData.Raw, Schematic.PreviewSubscriptionFinanceResponseData>;
|
|
7
8
|
export declare namespace PreviewSubscriptionFinanceResponseData {
|
|
8
9
|
interface Raw {
|
|
9
10
|
amount_off: number;
|
|
10
|
-
currency:
|
|
11
|
+
currency: Currency.Raw;
|
|
11
12
|
discount_amount: number;
|
|
12
13
|
discounts: PreviewSubscriptionDiscountResponseData.Raw[];
|
|
13
14
|
due_now: number;
|
|
@@ -21,6 +21,7 @@ export declare namespace RulesengineCondition {
|
|
|
21
21
|
metric_period_month_reset?: RulesengineMetricPeriodMonthReset.Raw | null;
|
|
22
22
|
metric_value?: number | null;
|
|
23
23
|
operator: RulesengineComparableOperator.Raw;
|
|
24
|
+
quantity_rates?: Record<string, number> | null;
|
|
24
25
|
resource_ids: string[];
|
|
25
26
|
trait_definition?: RulesengineTraitDefinition.Raw | null;
|
|
26
27
|
trait_value: string;
|
|
@@ -23,6 +23,7 @@ export declare namespace RulesengineFeatureEntitlement {
|
|
|
23
23
|
metric_period?: RulesengineMetricPeriod.Raw | null;
|
|
24
24
|
metric_reset_at?: string | null;
|
|
25
25
|
month_reset?: RulesengineMetricPeriodMonthReset.Raw | null;
|
|
26
|
+
quantity_rates?: Record<string, number> | null;
|
|
26
27
|
soft_limit?: number | null;
|
|
27
28
|
usage?: number | null;
|
|
28
29
|
value_type: RulesengineEntitlementValueType.Raw;
|
|
@@ -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 ScheduledDowngradeResponseData: core.serialization.ObjectSchema<serializers.ScheduledDowngradeResponseData.Raw, Schematic.ScheduledDowngradeResponseData>;
|
|
5
6
|
export declare namespace ScheduledDowngradeResponseData {
|
|
6
7
|
interface Raw {
|
|
7
|
-
currency:
|
|
8
|
+
currency: Currency.Raw;
|
|
8
9
|
effective_after: string;
|
|
9
10
|
from_plan_id: string;
|
|
10
11
|
from_plan_name: 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 { BillingProviderType } from "./BillingProviderType";
|
|
5
|
+
import { Currency } from "./Currency";
|
|
5
6
|
import { InvoiceStatus } from "./InvoiceStatus";
|
|
6
7
|
export declare const UpcomingInvoiceResponseData: core.serialization.ObjectSchema<serializers.UpcomingInvoiceResponseData.Raw, Schematic.UpcomingInvoiceResponseData>;
|
|
7
8
|
export declare namespace UpcomingInvoiceResponseData {
|
|
@@ -12,7 +13,7 @@ export declare namespace UpcomingInvoiceResponseData {
|
|
|
12
13
|
collection_method: string;
|
|
13
14
|
company_id?: string | null;
|
|
14
15
|
created_at: string;
|
|
15
|
-
currency:
|
|
16
|
+
currency: Currency.Raw;
|
|
16
17
|
customer_external_id: string;
|
|
17
18
|
due_date?: string | null;
|
|
18
19
|
ending_balance: number;
|