@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
package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts
CHANGED
|
@@ -6,11 +6,12 @@ import { BillingPriceUsageType } from "../../../../types/BillingPriceUsageType";
|
|
|
6
6
|
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
7
7
|
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
8
8
|
import { CreateBillingPriceTierRequestBody } from "../../../../types/CreateBillingPriceTierRequestBody";
|
|
9
|
+
import { Currency } from "../../../../types/Currency";
|
|
9
10
|
export declare const CreateBillingPriceRequestBody: core.serialization.Schema<serializers.CreateBillingPriceRequestBody.Raw, Schematic.CreateBillingPriceRequestBody>;
|
|
10
11
|
export declare namespace CreateBillingPriceRequestBody {
|
|
11
12
|
interface Raw {
|
|
12
13
|
billing_scheme: BillingPriceScheme.Raw;
|
|
13
|
-
currency:
|
|
14
|
+
currency: Currency.Raw;
|
|
14
15
|
external_account_id: string;
|
|
15
16
|
interval: string;
|
|
16
17
|
interval_count?: number | null;
|
|
@@ -5,6 +5,7 @@ import { BillingProductPricing } from "../../../../types/BillingProductPricing";
|
|
|
5
5
|
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
6
6
|
import { BillingSubscriptionDiscount } from "../../../../types/BillingSubscriptionDiscount";
|
|
7
7
|
import { BillingSubscriptionTrialEndSetting } from "../../../../types/BillingSubscriptionTrialEndSetting";
|
|
8
|
+
import { Currency } from "../../../../types/Currency";
|
|
8
9
|
export declare const CreateBillingSubscriptionRequestBody: core.serialization.Schema<serializers.CreateBillingSubscriptionRequestBody.Raw, Schematic.CreateBillingSubscriptionRequestBody>;
|
|
9
10
|
export declare namespace CreateBillingSubscriptionRequestBody {
|
|
10
11
|
interface Raw {
|
|
@@ -12,7 +13,7 @@ export declare namespace CreateBillingSubscriptionRequestBody {
|
|
|
12
13
|
cancel_at?: number | null;
|
|
13
14
|
cancel_at_period_end: boolean;
|
|
14
15
|
company_id?: string | null;
|
|
15
|
-
currency:
|
|
16
|
+
currency: Currency.Raw;
|
|
16
17
|
customer_external_id: string;
|
|
17
18
|
default_payment_method_external_id?: string | null;
|
|
18
19
|
default_payment_method_id?: string | null;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
|
+
import { Currency } from "../../../../types/Currency";
|
|
4
5
|
export declare const CreateCouponRequestBody: core.serialization.Schema<serializers.CreateCouponRequestBody.Raw, Schematic.CreateCouponRequestBody>;
|
|
5
6
|
export declare namespace CreateCouponRequestBody {
|
|
6
7
|
interface Raw {
|
|
7
8
|
amount_off: number;
|
|
8
|
-
currency?:
|
|
9
|
+
currency?: Currency.Raw | null;
|
|
9
10
|
duration: string;
|
|
10
11
|
duration_in_months: number;
|
|
11
12
|
external_id: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
|
+
import { Currency } from "../../../../types/Currency";
|
|
4
5
|
import { InvoiceStatus } from "../../../../types/InvoiceStatus";
|
|
5
6
|
export declare const CreateInvoiceRequestBody: core.serialization.Schema<serializers.CreateInvoiceRequestBody.Raw, Schematic.CreateInvoiceRequestBody>;
|
|
6
7
|
export declare namespace CreateInvoiceRequestBody {
|
|
@@ -9,7 +10,7 @@ export declare namespace CreateInvoiceRequestBody {
|
|
|
9
10
|
amount_paid: number;
|
|
10
11
|
amount_remaining: number;
|
|
11
12
|
collection_method: string;
|
|
12
|
-
currency:
|
|
13
|
+
currency: Currency.Raw;
|
|
13
14
|
customer_external_id: string;
|
|
14
15
|
due_date?: string | null;
|
|
15
16
|
ending_balance?: number | null;
|
package/dist/serialization/resources/billing/client/requests/UpdateBillingSettingsRequestBody.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../index";
|
|
4
|
+
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
5
|
+
export declare const UpdateBillingSettingsRequestBody: core.serialization.Schema<serializers.UpdateBillingSettingsRequestBody.Raw, Schematic.UpdateBillingSettingsRequestBody>;
|
|
6
|
+
export declare namespace UpdateBillingSettingsRequestBody {
|
|
7
|
+
interface Raw {
|
|
8
|
+
default_provider_type?: BillingProviderType.Raw | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -6,4 +6,5 @@ export { CreateCouponRequestBody } from "./CreateCouponRequestBody";
|
|
|
6
6
|
export { CreateInvoiceRequestBody } from "./CreateInvoiceRequestBody";
|
|
7
7
|
export { CreateMeterRequestBody } from "./CreateMeterRequestBody";
|
|
8
8
|
export { CreatePaymentMethodRequestBody } from "./CreatePaymentMethodRequestBody";
|
|
9
|
+
export { UpdateBillingSettingsRequestBody } from "./UpdateBillingSettingsRequestBody";
|
|
9
10
|
export { UpdateCompanyBillingProfileRequestBody } from "./UpdateCompanyBillingProfileRequestBody";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { BillingSettingsResponseData } from "../../../types/BillingSettingsResponseData";
|
|
5
|
+
export declare const GetBillingSettingsResponse: core.serialization.ObjectSchema<serializers.GetBillingSettingsResponse.Raw, Schematic.GetBillingSettingsResponse>;
|
|
6
|
+
export declare namespace GetBillingSettingsResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: BillingSettingsResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -4,10 +4,11 @@ import type * as serializers from "../../../index";
|
|
|
4
4
|
import { BillingPriceUsageType } from "../../../types/BillingPriceUsageType";
|
|
5
5
|
import { BillingProviderType } from "../../../types/BillingProviderType";
|
|
6
6
|
import { BillingTiersMode } from "../../../types/BillingTiersMode";
|
|
7
|
+
import { Currency } from "../../../types/Currency";
|
|
7
8
|
export declare const ListBillingPricesParams: core.serialization.ObjectSchema<serializers.ListBillingPricesParams.Raw, Schematic.ListBillingPricesParams>;
|
|
8
9
|
export declare namespace ListBillingPricesParams {
|
|
9
10
|
interface Raw {
|
|
10
|
-
currency?:
|
|
11
|
+
currency?: Currency.Raw | null;
|
|
11
12
|
for_initial_plan?: boolean | null;
|
|
12
13
|
for_trial_expiry_plan?: boolean | null;
|
|
13
14
|
ids?: string[] | null;
|
|
@@ -4,10 +4,11 @@ import type * as serializers from "../../../index";
|
|
|
4
4
|
import { BillingPriceUsageType } from "../../../types/BillingPriceUsageType";
|
|
5
5
|
import { BillingProviderType } from "../../../types/BillingProviderType";
|
|
6
6
|
import { BillingTiersMode } from "../../../types/BillingTiersMode";
|
|
7
|
+
import { Currency } from "../../../types/Currency";
|
|
7
8
|
export declare const ListBillingProductPricesParams: core.serialization.ObjectSchema<serializers.ListBillingProductPricesParams.Raw, Schematic.ListBillingProductPricesParams>;
|
|
8
9
|
export declare namespace ListBillingProductPricesParams {
|
|
9
10
|
interface Raw {
|
|
10
|
-
currency?:
|
|
11
|
+
currency?: Currency.Raw | null;
|
|
11
12
|
for_initial_plan?: boolean | null;
|
|
12
13
|
for_trial_expiry_plan?: boolean | null;
|
|
13
14
|
ids?: string[] | null;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { BillingSettingsResponseData } from "../../../types/BillingSettingsResponseData";
|
|
5
|
+
export declare const UpdateBillingSettingsResponse: core.serialization.ObjectSchema<serializers.UpdateBillingSettingsResponse.Raw, Schematic.UpdateBillingSettingsResponse>;
|
|
6
|
+
export declare namespace UpdateBillingSettingsResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: BillingSettingsResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -8,6 +8,7 @@ export * from "./DeleteBillingInvoiceResponse";
|
|
|
8
8
|
export * from "./DeleteBillingProductResponse";
|
|
9
9
|
export * from "./DeletePaymentMethodByExternalIdResponse";
|
|
10
10
|
export * from "./DeleteProductPriceResponse";
|
|
11
|
+
export * from "./GetBillingSettingsResponse";
|
|
11
12
|
export * from "./ListBillingPricesParams";
|
|
12
13
|
export * from "./ListBillingPricesResponse";
|
|
13
14
|
export * from "./ListBillingProductPricesParams";
|
|
@@ -26,6 +27,7 @@ export * from "./ListMetersParams";
|
|
|
26
27
|
export * from "./ListMetersResponse";
|
|
27
28
|
export * from "./ListPaymentMethodsParams";
|
|
28
29
|
export * from "./ListPaymentMethodsResponse";
|
|
30
|
+
export * from "./UpdateBillingSettingsResponse";
|
|
29
31
|
export * from "./UpdateCompanyBillingProfileResponse";
|
|
30
32
|
export * from "./UpsertBillingCouponResponse";
|
|
31
33
|
export * from "./UpsertBillingCustomerResponse";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
|
+
import { Currency } from "../../../../types/Currency";
|
|
4
5
|
export declare const CheckoutDataRequestBody: core.serialization.Schema<serializers.CheckoutDataRequestBody.Raw, Schematic.CheckoutDataRequestBody>;
|
|
5
6
|
export declare namespace CheckoutDataRequestBody {
|
|
6
7
|
interface Raw {
|
|
7
8
|
company_id: string;
|
|
8
|
-
currency?:
|
|
9
|
+
currency?: Currency.Raw | null;
|
|
9
10
|
selected_plan_id?: string | null;
|
|
10
11
|
}
|
|
11
12
|
}
|
package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts
CHANGED
|
@@ -5,11 +5,12 @@ import { BillingCreditBurnStrategy } from "../../../../types/BillingCreditBurnSt
|
|
|
5
5
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
6
6
|
import { BillingCreditRolloverPolicy } from "../../../../types/BillingCreditRolloverPolicy";
|
|
7
7
|
import { CreditCurrencyPriceRequestBody } from "../../../../types/CreditCurrencyPriceRequestBody";
|
|
8
|
+
import { Currency } from "../../../../types/Currency";
|
|
8
9
|
export declare const CreateBillingCreditRequestBody: core.serialization.Schema<serializers.CreateBillingCreditRequestBody.Raw, Schematic.CreateBillingCreditRequestBody>;
|
|
9
10
|
export declare namespace CreateBillingCreditRequestBody {
|
|
10
11
|
interface Raw {
|
|
11
12
|
burn_strategy?: BillingCreditBurnStrategy.Raw | null;
|
|
12
|
-
currency:
|
|
13
|
+
currency: Currency.Raw;
|
|
13
14
|
currency_prices?: CreditCurrencyPriceRequestBody.Raw[] | null;
|
|
14
15
|
default_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
15
16
|
default_expiry_unit_count?: number | null;
|
|
@@ -5,6 +5,7 @@ import { BillingCreditExpiryType } from "../../../../types/BillingCreditExpiryTy
|
|
|
5
5
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
6
6
|
import { BillingCreditGrantReason } from "../../../../types/BillingCreditGrantReason";
|
|
7
7
|
import { BillingPlanCreditGrantResetStart } from "../../../../types/BillingPlanCreditGrantResetStart";
|
|
8
|
+
import { Currency } from "../../../../types/Currency";
|
|
8
9
|
export declare const CreateCompanyCreditGrant: core.serialization.Schema<serializers.CreateCompanyCreditGrant.Raw, Schematic.CreateCompanyCreditGrant>;
|
|
9
10
|
export declare namespace CreateCompanyCreditGrant {
|
|
10
11
|
interface Raw {
|
|
@@ -12,7 +13,7 @@ export declare namespace CreateCompanyCreditGrant {
|
|
|
12
13
|
company_id: string;
|
|
13
14
|
credit_bundle_id?: string | null;
|
|
14
15
|
credit_id: string;
|
|
15
|
-
currency?:
|
|
16
|
+
currency?: Currency.Raw | null;
|
|
16
17
|
expires_at?: string | null;
|
|
17
18
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
18
19
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { BillingCreditBundleType } from "../../../../types/BillingCreditBundleTy
|
|
|
6
6
|
import { BillingCreditExpiryType } from "../../../../types/BillingCreditExpiryType";
|
|
7
7
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
8
8
|
import { CreditBundleCurrencyPriceRequestBody } from "../../../../types/CreditBundleCurrencyPriceRequestBody";
|
|
9
|
+
import { Currency } from "../../../../types/Currency";
|
|
9
10
|
export declare const CreateCreditBundleRequestBody: core.serialization.Schema<serializers.CreateCreditBundleRequestBody.Raw, Schematic.CreateCreditBundleRequestBody>;
|
|
10
11
|
export declare namespace CreateCreditBundleRequestBody {
|
|
11
12
|
interface Raw {
|
|
@@ -13,7 +14,7 @@ export declare namespace CreateCreditBundleRequestBody {
|
|
|
13
14
|
bundle_type?: BillingCreditBundleType.Raw | null;
|
|
14
15
|
compatible_plan_ids?: string[] | null;
|
|
15
16
|
credit_id: string;
|
|
16
|
-
currency:
|
|
17
|
+
currency: Currency.Raw;
|
|
17
18
|
currency_prices?: CreditBundleCurrencyPriceRequestBody.Raw[] | null;
|
|
18
19
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
19
20
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const GetCreditBalanceTimeSeriesParams: core.serialization.ObjectSchema<serializers.GetCreditBalanceTimeSeriesParams.Raw, Schematic.GetCreditBalanceTimeSeriesParams>;
|
|
5
|
+
export declare namespace GetCreditBalanceTimeSeriesParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
billing_credit_id?: string | null;
|
|
8
|
+
company_id?: string | null;
|
|
9
|
+
end_time?: string | null;
|
|
10
|
+
start_time?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CreditBalanceTimeSeriesResponseData } from "../../../types/CreditBalanceTimeSeriesResponseData";
|
|
5
|
+
import { GetCreditBalanceTimeSeriesParams } from "./GetCreditBalanceTimeSeriesParams";
|
|
6
|
+
export declare const GetCreditBalanceTimeSeriesResponse: core.serialization.ObjectSchema<serializers.GetCreditBalanceTimeSeriesResponse.Raw, Schematic.GetCreditBalanceTimeSeriesResponse>;
|
|
7
|
+
export declare namespace GetCreditBalanceTimeSeriesResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CreditBalanceTimeSeriesResponseData.Raw;
|
|
10
|
+
params: GetCreditBalanceTimeSeriesParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -22,6 +22,8 @@ export * from "./DeleteBillingPlanCreditGrantResponse";
|
|
|
22
22
|
export * from "./DeleteCreditBundleResponse";
|
|
23
23
|
export * from "./DeleteCreditSpendPolicyResponse";
|
|
24
24
|
export * from "./ExtendCreditLeaseResponse";
|
|
25
|
+
export * from "./GetCreditBalanceTimeSeriesParams";
|
|
26
|
+
export * from "./GetCreditBalanceTimeSeriesResponse";
|
|
25
27
|
export * from "./GetCreditBundleResponse";
|
|
26
28
|
export * from "./GetCreditSpendPolicyResponse";
|
|
27
29
|
export * from "./GetCreditSpendPolicyUsageParams";
|
|
@@ -6,6 +6,7 @@ import { BillingArrearsCadence } from "../../../../types/BillingArrearsCadence";
|
|
|
6
6
|
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
7
7
|
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
8
8
|
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
9
|
+
import { Currency } from "../../../../types/Currency";
|
|
9
10
|
import { CurrencyPriceRequestBody } from "../../../../types/CurrencyPriceRequestBody";
|
|
10
11
|
import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBehavior";
|
|
11
12
|
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
@@ -19,7 +20,7 @@ export declare namespace CreateBillingLinkedPlanEntitlementRequestBody {
|
|
|
19
20
|
billing_provider: BillingProviderType.Raw;
|
|
20
21
|
billing_threshold?: number | null;
|
|
21
22
|
credit_consumption_rate?: number | null;
|
|
22
|
-
currency?:
|
|
23
|
+
currency?: Currency.Raw | null;
|
|
23
24
|
currency_prices?: CurrencyPriceRequestBody.Raw[] | null;
|
|
24
25
|
external_resource_id: string;
|
|
25
26
|
feature_id: string;
|
|
@@ -36,6 +37,7 @@ export declare namespace CreateBillingLinkedPlanEntitlementRequestBody {
|
|
|
36
37
|
plan_version_id?: string | null;
|
|
37
38
|
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
38
39
|
price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
40
|
+
quantity_rates?: Record<string, number> | null;
|
|
39
41
|
quarterly_metered_price_id?: string | null;
|
|
40
42
|
quarterly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
41
43
|
quarterly_unit_price?: number | null;
|
|
@@ -14,6 +14,7 @@ export declare namespace CreateCompanyOverrideRequestBody {
|
|
|
14
14
|
metric_period?: MetricPeriod.Raw | null;
|
|
15
15
|
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
16
16
|
note?: string | null;
|
|
17
|
+
quantity_rates?: Record<string, number> | null;
|
|
17
18
|
value_bool?: boolean | null;
|
|
18
19
|
value_credit_id?: string | null;
|
|
19
20
|
value_numeric?: number | null;
|
|
@@ -5,6 +5,7 @@ import { BillingArrearsAnchor } from "../../../../types/BillingArrearsAnchor";
|
|
|
5
5
|
import { BillingArrearsCadence } from "../../../../types/BillingArrearsCadence";
|
|
6
6
|
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
7
7
|
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
8
|
+
import { Currency } from "../../../../types/Currency";
|
|
8
9
|
import { CurrencyPriceRequestBody } from "../../../../types/CurrencyPriceRequestBody";
|
|
9
10
|
import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBehavior";
|
|
10
11
|
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
@@ -17,7 +18,7 @@ export declare namespace CreatePlanEntitlementRequestBody {
|
|
|
17
18
|
billing_product_id?: string | null;
|
|
18
19
|
billing_threshold?: number | null;
|
|
19
20
|
credit_consumption_rate?: number | null;
|
|
20
|
-
currency?:
|
|
21
|
+
currency?: Currency.Raw | null;
|
|
21
22
|
currency_prices?: CurrencyPriceRequestBody.Raw[] | null;
|
|
22
23
|
feature_id: string;
|
|
23
24
|
metric_period?: MetricPeriod.Raw | null;
|
|
@@ -33,6 +34,7 @@ export declare namespace CreatePlanEntitlementRequestBody {
|
|
|
33
34
|
plan_version_id?: string | null;
|
|
34
35
|
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
35
36
|
price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
37
|
+
quantity_rates?: Record<string, number> | null;
|
|
36
38
|
quarterly_metered_price_id?: string | null;
|
|
37
39
|
quarterly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
38
40
|
quarterly_unit_price?: number | null;
|
|
@@ -12,6 +12,7 @@ export declare namespace UpdateCompanyOverrideRequestBody {
|
|
|
12
12
|
metric_period?: MetricPeriod.Raw | null;
|
|
13
13
|
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
14
14
|
note?: string | null;
|
|
15
|
+
quantity_rates?: Record<string, number> | null;
|
|
15
16
|
value_bool?: boolean | null;
|
|
16
17
|
value_credit_id?: string | null;
|
|
17
18
|
value_numeric?: number | null;
|
|
@@ -5,6 +5,7 @@ import { BillingArrearsAnchor } from "../../../../types/BillingArrearsAnchor";
|
|
|
5
5
|
import { BillingArrearsCadence } from "../../../../types/BillingArrearsCadence";
|
|
6
6
|
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
7
7
|
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
8
|
+
import { Currency } from "../../../../types/Currency";
|
|
8
9
|
import { CurrencyPriceRequestBody } from "../../../../types/CurrencyPriceRequestBody";
|
|
9
10
|
import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBehavior";
|
|
10
11
|
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
@@ -17,7 +18,7 @@ export declare namespace UpdatePlanEntitlementRequestBody {
|
|
|
17
18
|
billing_product_id?: string | null;
|
|
18
19
|
billing_threshold?: number | null;
|
|
19
20
|
credit_consumption_rate?: number | null;
|
|
20
|
-
currency?:
|
|
21
|
+
currency?: Currency.Raw | null;
|
|
21
22
|
currency_prices?: CurrencyPriceRequestBody.Raw[] | null;
|
|
22
23
|
metric_period?: MetricPeriod.Raw | null;
|
|
23
24
|
metric_period_month_reset?: MetricPeriodMonthReset.Raw | null;
|
|
@@ -30,6 +31,7 @@ export declare namespace UpdatePlanEntitlementRequestBody {
|
|
|
30
31
|
overage_invoice_anchor?: BillingArrearsAnchor.Raw | null;
|
|
31
32
|
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
32
33
|
price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
34
|
+
quantity_rates?: Record<string, number> | null;
|
|
33
35
|
quarterly_metered_price_id?: string | null;
|
|
34
36
|
quarterly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
35
37
|
quarterly_unit_price?: number | null;
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
5
5
|
import { CreateOrUpdateFlagRequestBody } from "../../../../types/CreateOrUpdateFlagRequestBody";
|
|
6
|
+
import { FeatureEventSource } from "../../../../types/FeatureEventSource";
|
|
6
7
|
import { FeatureLifecyclePhase } from "../../../../types/FeatureLifecyclePhase";
|
|
7
8
|
import { FeatureType } from "../../../../types/FeatureType";
|
|
8
9
|
export declare const CreateBillingLinkedFeatureRequestBody: core.serialization.Schema<serializers.CreateBillingLinkedFeatureRequestBody.Raw, Schematic.CreateBillingLinkedFeatureRequestBody>;
|
|
@@ -10,6 +11,7 @@ export declare namespace CreateBillingLinkedFeatureRequestBody {
|
|
|
10
11
|
interface Raw {
|
|
11
12
|
billing_provider: BillingProviderType.Raw;
|
|
12
13
|
description: string;
|
|
14
|
+
event_source?: FeatureEventSource.Raw | null;
|
|
13
15
|
event_subtype?: string | null;
|
|
14
16
|
external_resource_id: string;
|
|
15
17
|
feature_type: FeatureType.Raw;
|
|
@@ -2,12 +2,14 @@ import type * as Schematic from "../../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { CreateOrUpdateFlagRequestBody } from "../../../../types/CreateOrUpdateFlagRequestBody";
|
|
5
|
+
import { FeatureEventSource } from "../../../../types/FeatureEventSource";
|
|
5
6
|
import { FeatureLifecyclePhase } from "../../../../types/FeatureLifecyclePhase";
|
|
6
7
|
import { FeatureType } from "../../../../types/FeatureType";
|
|
7
8
|
export declare const CreateFeatureRequestBody: core.serialization.Schema<serializers.CreateFeatureRequestBody.Raw, Schematic.CreateFeatureRequestBody>;
|
|
8
9
|
export declare namespace CreateFeatureRequestBody {
|
|
9
10
|
interface Raw {
|
|
10
11
|
description: string;
|
|
12
|
+
event_source?: FeatureEventSource.Raw | null;
|
|
11
13
|
event_subtype?: string | null;
|
|
12
14
|
feature_type: FeatureType.Raw;
|
|
13
15
|
flag?: CreateOrUpdateFlagRequestBody.Raw | null;
|
|
@@ -2,12 +2,14 @@ import type * as Schematic from "../../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { CreateOrUpdateFlagRequestBody } from "../../../../types/CreateOrUpdateFlagRequestBody";
|
|
5
|
+
import { FeatureEventSource } from "../../../../types/FeatureEventSource";
|
|
5
6
|
import { FeatureLifecyclePhase } from "../../../../types/FeatureLifecyclePhase";
|
|
6
7
|
import { FeatureType } from "../../../../types/FeatureType";
|
|
7
8
|
export declare const UpdateFeatureRequestBody: core.serialization.Schema<serializers.UpdateFeatureRequestBody.Raw, Schematic.UpdateFeatureRequestBody>;
|
|
8
9
|
export declare namespace UpdateFeatureRequestBody {
|
|
9
10
|
interface Raw {
|
|
10
11
|
description?: string | null;
|
|
12
|
+
event_source?: FeatureEventSource.Raw | null;
|
|
11
13
|
event_subtype?: string | null;
|
|
12
14
|
feature_type?: FeatureType.Raw | null;
|
|
13
15
|
flag?: CreateOrUpdateFlagRequestBody.Raw | null;
|
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";
|
|
@@ -14,6 +15,7 @@ export declare namespace PublishPlanVersionRequestBody {
|
|
|
14
15
|
address?: CustomerBillingAddress.Raw | null;
|
|
15
16
|
billing_cycle_anchor?: string | null;
|
|
16
17
|
billing_start_date?: string | null;
|
|
18
|
+
collection_method?: BillingCollectionMethod.Raw | null;
|
|
17
19
|
coupon_external_id?: string | null;
|
|
18
20
|
custom_field_values?: CheckoutFieldValue.Raw[] | null;
|
|
19
21
|
customer_email?: string | 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
|
+
}
|