@schematichq/schematic-typescript-node 1.4.7 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +111 -6
- package/dist/api/resources/accounts/client/Client.d.ts +20 -0
- package/dist/api/resources/accounts/client/requests/CountAccountMembersRequest.d.ts +18 -0
- package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/accounts/types/CountAccountMembersParams.d.ts +12 -0
- package/dist/api/resources/accounts/types/CountAccountMembersResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/index.d.ts +2 -0
- package/dist/api/resources/billing/client/Client.d.ts +6 -6
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +1 -1
- package/dist/api/resources/checkout/client/Client.d.ts +16 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +3 -3
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +1 -1
- package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +1 -1
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +1 -1
- package/dist/api/resources/features/client/Client.d.ts +3 -3
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +1 -1
- package/dist/api/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +1 -1
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +1 -1
- package/dist/api/resources/integrationsapi/client/Client.d.ts +54 -3
- package/dist/api/resources/integrationsapi/types/AssumeStripeInstalledResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/InstallIntegrationResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/InstallStripeResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/{LoadSampleDataSetV2Response.d.ts → LoadSampleDataSetResponse.d.ts} +1 -1
- package/dist/api/resources/integrationsapi/types/index.d.ts +4 -1
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/plans/client/Client.d.ts +1 -1
- package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -1
- package/dist/api/types/AccountMemberResponseData.d.ts +2 -0
- package/dist/api/types/BillingCreditGrantReason.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -0
- package/dist/api/types/BillingCreditLedgerAuthority.d.ts +6 -0
- package/dist/api/types/BillingCreditView.d.ts +1 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +2 -0
- package/dist/api/types/BillingProviderType.d.ts +1 -0
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -0
- package/dist/api/types/CheckoutDataResponseData.d.ts +1 -0
- package/dist/api/types/CheckoutFieldInput.d.ts +8 -0
- package/dist/api/types/CheckoutFieldResponseData.d.ts +12 -0
- package/dist/api/types/CheckoutFieldValue.d.ts +4 -0
- package/dist/api/types/CheckoutFieldWithValue.d.ts +9 -0
- package/dist/api/types/CompanyCreditBalanceResponseData.d.ts +2 -0
- package/dist/api/types/CompanyPlanCreditGrantView.d.ts +1 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -0
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -0
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/api/types/CreditCompanyGrantView.d.ts +3 -0
- package/dist/api/types/CreditEventLedgerResponseData.d.ts +1 -0
- package/dist/api/types/CreditUsageReason.d.ts +8 -0
- package/dist/api/types/EventDetailResponseData.d.ts +1 -0
- package/dist/api/types/EventResponseData.d.ts +1 -0
- package/dist/api/types/InstallIntegrationRequestBody.d.ts +9 -0
- package/dist/api/types/IntegrationConfig.d.ts +4 -1
- package/dist/api/types/IntegrationInstallConfig.d.ts +13 -0
- package/dist/api/types/IntegrationInstallResponseData.d.ts +6 -0
- package/dist/api/types/IntegrationType.d.ts +1 -0
- package/dist/api/types/ManagePlanRequest.d.ts +1 -0
- package/dist/api/types/MetronomeIntegrationConfig.d.ts +1 -0
- package/dist/api/types/MigrationErrorCode.d.ts +1 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +1 -0
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +1 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/api/types/index.d.ts +10 -0
- package/dist/cache/redis.d.ts +29 -2
- package/dist/credits/check.d.ts +49 -0
- package/dist/credits/index.d.ts +7 -0
- package/dist/credits/lease-manager.d.ts +68 -0
- package/dist/credits/lease-store.d.ts +133 -0
- package/dist/credits/redis-lease-store.d.ts +30 -0
- package/dist/credits/redis-reservation-store.d.ts +46 -0
- package/dist/credits/reservation-store.d.ts +64 -0
- package/dist/credits/track.d.ts +44 -0
- package/dist/credits/types.d.ts +175 -0
- package/dist/datastream/datastream-client.d.ts +19 -3
- package/dist/datastream/merge.d.ts +5 -11
- package/dist/index.d.ts +1 -0
- package/dist/index.js +85 -3
- package/dist/rules-engine.d.ts +3 -1
- package/dist/serialization/resources/accounts/types/CountAccountMembersParams.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/CountAccountMembersResponse.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/index.d.ts +2 -0
- package/dist/serialization/resources/integrationsapi/types/AssumeStripeInstalledResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/InstallIntegrationResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/InstallStripeResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/{LoadSampleDataSetV2Response.d.ts → LoadSampleDataSetResponse.d.ts} +2 -2
- package/dist/serialization/resources/integrationsapi/types/index.d.ts +4 -1
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -0
- package/dist/serialization/types/AccountMemberResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +1 -1
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +3 -0
- package/dist/serialization/types/BillingCreditLedgerAuthority.d.ts +7 -0
- package/dist/serialization/types/BillingCreditView.d.ts +2 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingProviderType.d.ts +1 -1
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +2 -0
- package/dist/serialization/types/CheckoutDataResponseData.d.ts +2 -0
- package/dist/serialization/types/CheckoutFieldInput.d.ts +14 -0
- package/dist/serialization/types/CheckoutFieldResponseData.d.ts +18 -0
- package/dist/serialization/types/CheckoutFieldValue.d.ts +10 -0
- package/dist/serialization/types/CheckoutFieldWithValue.d.ts +15 -0
- package/dist/serialization/types/CompanyCreditBalanceResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +1 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -0
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +3 -0
- package/dist/serialization/types/CreditEventLedgerResponseData.d.ts +2 -0
- package/dist/serialization/types/CreditUsageReason.d.ts +7 -0
- package/dist/serialization/types/EventDetailResponseData.d.ts +1 -0
- package/dist/serialization/types/EventResponseData.d.ts +1 -0
- package/dist/serialization/types/InstallIntegrationRequestBody.d.ts +16 -0
- package/dist/serialization/types/IntegrationConfig.d.ts +5 -1
- package/dist/serialization/types/IntegrationInstallConfig.d.ts +20 -0
- package/dist/serialization/types/IntegrationInstallResponseData.d.ts +14 -0
- package/dist/serialization/types/IntegrationType.d.ts +1 -1
- package/dist/serialization/types/ManagePlanRequest.d.ts +2 -0
- package/dist/serialization/types/MetronomeIntegrationConfig.d.ts +7 -0
- package/dist/serialization/types/MigrationErrorCode.d.ts +1 -1
- package/dist/serialization/types/PlanCreditGrantView.d.ts +1 -0
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/index.d.ts +10 -0
- package/dist/wasm/rulesengine.js +5 -5
- package/dist/wrapper.d.ts +158 -6
- package/package.json +5 -4
- package/dist/wasm/rulesengine_bg.wasm +0 -0
package/dist/rules-engine.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import * as Schematic from
|
|
1
|
+
import * as Schematic from "./api/types";
|
|
2
|
+
import type { CheckFlagOptions } from "./wrapper";
|
|
2
3
|
/** Entitlement details returned by the WASM rules engine */
|
|
3
4
|
export interface WasmFeatureEntitlement {
|
|
4
5
|
featureId: string;
|
|
@@ -40,6 +41,7 @@ export declare class RulesEngineClient {
|
|
|
40
41
|
constructor();
|
|
41
42
|
initialize(): Promise<void>;
|
|
42
43
|
checkFlag(flag: object, company?: object | null, user?: object | null): Promise<WasmCheckFlagResult>;
|
|
44
|
+
checkFlagWithOptions(flag: object, company?: object | null, user?: object | null, options?: CheckFlagOptions | null): Promise<WasmCheckFlagResult>;
|
|
43
45
|
/**
|
|
44
46
|
* Get the version key of the WASM rules engine.
|
|
45
47
|
* Useful for debugging and compatibility checking.
|
|
@@ -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 CountAccountMembersParams: core.serialization.ObjectSchema<serializers.CountAccountMembersParams.Raw, Schematic.CountAccountMembersParams>;
|
|
5
|
+
export declare namespace CountAccountMembersParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
ids?: string[] | null;
|
|
8
|
+
limit?: number | null;
|
|
9
|
+
offset?: number | null;
|
|
10
|
+
q?: 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 { CountResponse } from "../../../types/CountResponse";
|
|
5
|
+
import { CountAccountMembersParams } from "./CountAccountMembersParams";
|
|
6
|
+
export declare const CountAccountMembersResponse: core.serialization.ObjectSchema<serializers.CountAccountMembersResponse.Raw, Schematic.CountAccountMembersResponse>;
|
|
7
|
+
export declare namespace CountAccountMembersResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CountResponse.Raw;
|
|
10
|
+
params: CountAccountMembersParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { IntegrationInstallResponseData } from "../../../types/IntegrationInstallResponseData";
|
|
5
|
+
export declare const AssumeStripeInstalledResponse: core.serialization.ObjectSchema<serializers.AssumeStripeInstalledResponse.Raw, Schematic.AssumeStripeInstalledResponse>;
|
|
6
|
+
export declare namespace AssumeStripeInstalledResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: IntegrationInstallResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -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 { IntegrationInstallResponseData } from "../../../types/IntegrationInstallResponseData";
|
|
5
|
+
export declare const InstallIntegrationResponse: core.serialization.ObjectSchema<serializers.InstallIntegrationResponse.Raw, Schematic.InstallIntegrationResponse>;
|
|
6
|
+
export declare namespace InstallIntegrationResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: IntegrationInstallResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -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 { IntegrationInstallResponseData } from "../../../types/IntegrationInstallResponseData";
|
|
5
|
+
export declare const InstallStripeResponse: core.serialization.ObjectSchema<serializers.InstallStripeResponse.Raw, Schematic.InstallStripeResponse>;
|
|
6
|
+
export declare namespace InstallStripeResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: IntegrationInstallResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -2,8 +2,8 @@ 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 { IntegrationsDataSetResponseData } from "../../../types/IntegrationsDataSetResponseData";
|
|
5
|
-
export declare const
|
|
6
|
-
export declare namespace
|
|
5
|
+
export declare const LoadSampleDataSetResponse: core.serialization.ObjectSchema<serializers.LoadSampleDataSetResponse.Raw, Schematic.LoadSampleDataSetResponse>;
|
|
6
|
+
export declare namespace LoadSampleDataSetResponse {
|
|
7
7
|
interface Raw {
|
|
8
8
|
data: IntegrationsDataSetResponseData.Raw;
|
|
9
9
|
params: Record<string, unknown>;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
export * from "./AssumeStripeInstalledResponse";
|
|
1
2
|
export * from "./GetIntegrationWebhookUrlResponse";
|
|
3
|
+
export * from "./InstallIntegrationResponse";
|
|
4
|
+
export * from "./InstallStripeResponse";
|
|
2
5
|
export * from "./ListIntegrationsParams";
|
|
3
6
|
export * from "./ListIntegrationsResponse";
|
|
4
|
-
export * from "./
|
|
7
|
+
export * from "./LoadSampleDataSetResponse";
|
|
5
8
|
export * from "./RunIntegrationResponse";
|
|
6
9
|
export * from "./StartDataImportResponse";
|
|
7
10
|
export * from "./UninstallIntegrationResponse";
|
package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.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 { CheckoutFieldInput } from "../../../../types/CheckoutFieldInput";
|
|
4
5
|
import { CompatiblePlans } from "../../../../types/CompatiblePlans";
|
|
5
6
|
import { CustomPlanConfig } from "../../../../types/CustomPlanConfig";
|
|
6
7
|
import { OrderedPlansInGroup } from "../../../../types/OrderedPlansInGroup";
|
|
@@ -15,6 +16,7 @@ export declare namespace CreatePlanGroupRequestBody {
|
|
|
15
16
|
checkout_collect_address: boolean;
|
|
16
17
|
checkout_collect_email: boolean;
|
|
17
18
|
checkout_collect_phone: boolean;
|
|
19
|
+
custom_checkout_fields?: CheckoutFieldInput.Raw[] | null;
|
|
18
20
|
custom_plan_config?: CustomPlanConfig.Raw | null;
|
|
19
21
|
custom_plan_id?: string | null;
|
|
20
22
|
enable_tax_collection: boolean;
|
package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.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 { CheckoutFieldInput } from "../../../../types/CheckoutFieldInput";
|
|
4
5
|
import { CompatiblePlans } from "../../../../types/CompatiblePlans";
|
|
5
6
|
import { CustomPlanConfig } from "../../../../types/CustomPlanConfig";
|
|
6
7
|
import { OrderedPlansInGroup } from "../../../../types/OrderedPlansInGroup";
|
|
@@ -15,6 +16,7 @@ export declare namespace UpdatePlanGroupRequestBody {
|
|
|
15
16
|
checkout_collect_address: boolean;
|
|
16
17
|
checkout_collect_email: boolean;
|
|
17
18
|
checkout_collect_phone: boolean;
|
|
19
|
+
custom_checkout_fields?: CheckoutFieldInput.Raw[] | null;
|
|
18
20
|
custom_plan_config?: CustomPlanConfig.Raw | null;
|
|
19
21
|
custom_plan_id?: string | null;
|
|
20
22
|
enable_tax_collection: boolean;
|
|
@@ -8,8 +8,10 @@ export declare namespace AccountMemberResponseData {
|
|
|
8
8
|
interface Raw {
|
|
9
9
|
created_at: string;
|
|
10
10
|
email?: string | null;
|
|
11
|
+
first_name?: string | null;
|
|
11
12
|
id: string;
|
|
12
13
|
image_url?: string | null;
|
|
14
|
+
last_name?: string | null;
|
|
13
15
|
name?: string | null;
|
|
14
16
|
permissions: Record<string, AccountMemberPermission.Raw[]>;
|
|
15
17
|
role?: AccountMemberRole.Raw | null;
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const BillingCreditGrantReason: core.serialization.Schema<serializers.BillingCreditGrantReason.Raw, Schematic.BillingCreditGrantReason>;
|
|
5
5
|
export declare namespace BillingCreditGrantReason {
|
|
6
|
-
type Raw = "adjustment" | "billing_credit_auto_topup" | "free" | "plan" | "purchased";
|
|
6
|
+
type Raw = "adjustment" | "billing_credit_auto_topup" | "free" | "plan" | "purchased" | "rollover";
|
|
7
7
|
}
|
|
@@ -27,6 +27,9 @@ export declare namespace BillingCreditGrantResponseData {
|
|
|
27
27
|
quantity_used: number;
|
|
28
28
|
renewal_enabled: boolean;
|
|
29
29
|
renewal_period?: BillingPlanCreditGrantResetCadence.Raw | null;
|
|
30
|
+
reserved?: number | null;
|
|
31
|
+
settled?: number | null;
|
|
32
|
+
source_grant_id?: string | null;
|
|
30
33
|
source_label: string;
|
|
31
34
|
transfers?: CreditTransferResponseData.Raw[] | null;
|
|
32
35
|
updated_at: string;
|
|
@@ -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 BillingCreditLedgerAuthority: core.serialization.Schema<serializers.BillingCreditLedgerAuthority.Raw, Schematic.BillingCreditLedgerAuthority>;
|
|
5
|
+
export declare namespace BillingCreditLedgerAuthority {
|
|
6
|
+
type Raw = "schematic_authoritative" | "external_mirror" | "external_rated";
|
|
7
|
+
}
|
|
@@ -3,6 +3,7 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { BillingCreditBurnStrategy } from "./BillingCreditBurnStrategy";
|
|
5
5
|
import { BillingCreditExpiryUnit } from "./BillingCreditExpiryUnit";
|
|
6
|
+
import { BillingCreditLedgerAuthority } from "./BillingCreditLedgerAuthority";
|
|
6
7
|
import { BillingCreditRolloverPolicy } from "./BillingCreditRolloverPolicy";
|
|
7
8
|
import { BillingPriceView } from "./BillingPriceView";
|
|
8
9
|
import { BillingProductResponseData } from "./BillingProductResponseData";
|
|
@@ -22,6 +23,7 @@ export declare namespace BillingCreditView {
|
|
|
22
23
|
environment_id: string;
|
|
23
24
|
icon?: string | null;
|
|
24
25
|
id: string;
|
|
26
|
+
ledger_authority: BillingCreditLedgerAuthority.Raw;
|
|
25
27
|
name: string;
|
|
26
28
|
plural_name?: string | null;
|
|
27
29
|
price?: BillingPriceView.Raw | null;
|
|
@@ -38,6 +38,7 @@ export declare namespace BillingPlanCreditGrantResponseData {
|
|
|
38
38
|
reset_cadence?: BillingPlanCreditGrantResetCadence.Raw | null;
|
|
39
39
|
reset_start?: BillingPlanCreditGrantResetStart.Raw | null;
|
|
40
40
|
reset_type?: BillingPlanCreditGrantResetType.Raw | null;
|
|
41
|
+
rollover_percentage: number;
|
|
41
42
|
updated_at: string;
|
|
42
43
|
}
|
|
43
44
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const BillingProviderType: core.serialization.Schema<serializers.BillingProviderType.Raw, Schematic.BillingProviderType>;
|
|
5
5
|
export declare namespace BillingProviderType {
|
|
6
|
-
type Raw = "orb" | "schematic" | "stripe";
|
|
6
|
+
type Raw = "metronome" | "orb" | "schematic" | "stripe";
|
|
7
7
|
}
|
|
@@ -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 { CheckoutFieldValue } from "./CheckoutFieldValue";
|
|
4
5
|
import { UpdateAddOnRequestBody } from "./UpdateAddOnRequestBody";
|
|
5
6
|
import { UpdateAutoTopupOverrideRequestBody } from "./UpdateAutoTopupOverrideRequestBody";
|
|
6
7
|
import { UpdateCreditBundleRequestBody } from "./UpdateCreditBundleRequestBody";
|
|
@@ -13,6 +14,7 @@ export declare namespace ChangeSubscriptionInternalRequestBody {
|
|
|
13
14
|
company_id: string;
|
|
14
15
|
coupon_external_id?: string | null;
|
|
15
16
|
credit_bundles: UpdateCreditBundleRequestBody.Raw[];
|
|
17
|
+
custom_field_values: CheckoutFieldValue.Raw[];
|
|
16
18
|
new_plan_id: string;
|
|
17
19
|
new_price_id: string;
|
|
18
20
|
pay_in_advance: UpdatePayInAdvanceRequestBody.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 { CheckoutFieldValue } from "./CheckoutFieldValue";
|
|
4
5
|
import { UpdateAddOnRequestBody } from "./UpdateAddOnRequestBody";
|
|
5
6
|
import { UpdateAutoTopupOverrideRequestBody } from "./UpdateAutoTopupOverrideRequestBody";
|
|
6
7
|
import { UpdateCreditBundleRequestBody } from "./UpdateCreditBundleRequestBody";
|
|
@@ -12,6 +13,7 @@ export declare namespace ChangeSubscriptionRequestBody {
|
|
|
12
13
|
auto_topup_overrides: UpdateAutoTopupOverrideRequestBody.Raw[];
|
|
13
14
|
coupon_external_id?: string | null;
|
|
14
15
|
credit_bundles: UpdateCreditBundleRequestBody.Raw[];
|
|
16
|
+
custom_field_values: CheckoutFieldValue.Raw[];
|
|
15
17
|
new_plan_id: string;
|
|
16
18
|
new_price_id: string;
|
|
17
19
|
pay_in_advance: UpdatePayInAdvanceRequestBody.Raw[];
|
|
@@ -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 { BillingCreditBundleResponseData } from "./BillingCreditBundleResponseData";
|
|
5
|
+
import { CheckoutFieldWithValue } from "./CheckoutFieldWithValue";
|
|
5
6
|
import { CompanyDetailResponseData } from "./CompanyDetailResponseData";
|
|
6
7
|
import { CompanySubscriptionResponseData } from "./CompanySubscriptionResponseData";
|
|
7
8
|
import { CreditBundlePurchaseResponseData } from "./CreditBundlePurchaseResponseData";
|
|
@@ -16,6 +17,7 @@ export declare namespace CheckoutDataResponseData {
|
|
|
16
17
|
active_usage_based_entitlements: UsageBasedEntitlementResponseData.Raw[];
|
|
17
18
|
available_credit_bundles: BillingCreditBundleResponseData.Raw[];
|
|
18
19
|
company?: CompanyDetailResponseData.Raw | null;
|
|
20
|
+
custom_checkout_fields: CheckoutFieldWithValue.Raw[];
|
|
19
21
|
feature_usage?: FeatureUsageDetailResponseData.Raw | null;
|
|
20
22
|
selected_credit_bundles: CreditBundlePurchaseResponseData.Raw[];
|
|
21
23
|
selected_plan?: PlanDetailResponseData.Raw | null;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const CheckoutFieldInput: core.serialization.ObjectSchema<serializers.CheckoutFieldInput.Raw, Schematic.CheckoutFieldInput>;
|
|
5
|
+
export declare namespace CheckoutFieldInput {
|
|
6
|
+
interface Raw {
|
|
7
|
+
definition_id?: string | null;
|
|
8
|
+
helper_text?: string | null;
|
|
9
|
+
id?: string | null;
|
|
10
|
+
name: string;
|
|
11
|
+
required: boolean;
|
|
12
|
+
stripe_metadata_key: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const CheckoutFieldResponseData: core.serialization.ObjectSchema<serializers.CheckoutFieldResponseData.Raw, Schematic.CheckoutFieldResponseData>;
|
|
5
|
+
export declare namespace CheckoutFieldResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
created_at: string;
|
|
8
|
+
definition_id: string;
|
|
9
|
+
helper_text?: string | null;
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
position: number;
|
|
13
|
+
required: boolean;
|
|
14
|
+
stripe_metadata_key: string;
|
|
15
|
+
trait_hierarchy: string[];
|
|
16
|
+
updated_at: string;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -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 CheckoutFieldValue: core.serialization.ObjectSchema<serializers.CheckoutFieldValue.Raw, Schematic.CheckoutFieldValue>;
|
|
5
|
+
export declare namespace CheckoutFieldValue {
|
|
6
|
+
interface Raw {
|
|
7
|
+
id: string;
|
|
8
|
+
value: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -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
|
+
export declare const CheckoutFieldWithValue: core.serialization.ObjectSchema<serializers.CheckoutFieldWithValue.Raw, Schematic.CheckoutFieldWithValue>;
|
|
5
|
+
export declare namespace CheckoutFieldWithValue {
|
|
6
|
+
interface Raw {
|
|
7
|
+
definition_id: string;
|
|
8
|
+
helper_text?: string | null;
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
required: boolean;
|
|
12
|
+
stripe_metadata_key: string;
|
|
13
|
+
value?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -41,6 +41,7 @@ export declare namespace CompanyPlanCreditGrantView {
|
|
|
41
41
|
reset_cadence?: BillingPlanCreditGrantResetCadence.Raw | null;
|
|
42
42
|
reset_start?: BillingPlanCreditGrantResetStart.Raw | null;
|
|
43
43
|
reset_type: BillingPlanCreditGrantResetType.Raw;
|
|
44
|
+
rollover_percentage: number;
|
|
44
45
|
singular_name?: string | null;
|
|
45
46
|
updated_at: string;
|
|
46
47
|
}
|
|
@@ -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 { BillingCreditBundleView } from "./BillingCreditBundleView";
|
|
5
|
+
import { CheckoutFieldWithValue } from "./CheckoutFieldWithValue";
|
|
5
6
|
import { CompanyDetailResponseData } from "./CompanyDetailResponseData";
|
|
6
7
|
import { CompanyPlanDetailResponseData } from "./CompanyPlanDetailResponseData";
|
|
7
8
|
import { CompanySubscriptionResponseData } from "./CompanySubscriptionResponseData";
|
|
@@ -30,6 +31,7 @@ export declare namespace ComponentHydrateResponseData {
|
|
|
30
31
|
component?: ComponentResponseData.Raw | null;
|
|
31
32
|
credit_bundles: BillingCreditBundleView.Raw[];
|
|
32
33
|
credit_grants: CreditCompanyGrantView.Raw[];
|
|
34
|
+
custom_checkout_fields: CheckoutFieldWithValue.Raw[];
|
|
33
35
|
default_plan?: PlanDetailResponseData.Raw | null;
|
|
34
36
|
display_settings: ComponentDisplaySettings.Raw;
|
|
35
37
|
feature_usage?: FeatureUsageDetailResponseData.Raw | 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 { BillingCreditBundleView } from "./BillingCreditBundleView";
|
|
5
|
+
import { CheckoutFieldWithValue } from "./CheckoutFieldWithValue";
|
|
5
6
|
import { CompanyDetailResponseData } from "./CompanyDetailResponseData";
|
|
6
7
|
import { CompanyPlanDetailResponseData } from "./CompanyPlanDetailResponseData";
|
|
7
8
|
import { CompanySubscriptionResponseData } from "./CompanySubscriptionResponseData";
|
|
@@ -30,6 +31,7 @@ export declare namespace ComponentPreviewResponseData {
|
|
|
30
31
|
component?: ComponentResponseData.Raw | null;
|
|
31
32
|
credit_bundles: BillingCreditBundleView.Raw[];
|
|
32
33
|
credit_grants: CreditCompanyGrantView.Raw[];
|
|
34
|
+
custom_checkout_fields: CheckoutFieldWithValue.Raw[];
|
|
33
35
|
default_plan?: PlanDetailResponseData.Raw | null;
|
|
34
36
|
display_settings: ComponentDisplaySettings.Raw;
|
|
35
37
|
feature_usage?: FeatureUsageDetailResponseData.Raw | null;
|
|
@@ -30,5 +30,6 @@ export declare namespace CreateBillingPlanCreditGrantRequestBody {
|
|
|
30
30
|
reset_cadence: BillingPlanCreditGrantResetCadence.Raw;
|
|
31
31
|
reset_start: BillingPlanCreditGrantResetStart.Raw;
|
|
32
32
|
reset_type?: BillingPlanCreditGrantResetType.Raw | null;
|
|
33
|
+
rollover_percentage?: number | null;
|
|
33
34
|
}
|
|
34
35
|
}
|
|
@@ -36,7 +36,10 @@ export declare namespace CreditCompanyGrantView {
|
|
|
36
36
|
quantity_used: number;
|
|
37
37
|
renewal_enabled: boolean;
|
|
38
38
|
renewal_period?: BillingPlanCreditGrantResetCadence.Raw | null;
|
|
39
|
+
reserved?: number | null;
|
|
40
|
+
settled?: number | null;
|
|
39
41
|
singular_name?: string | null;
|
|
42
|
+
source_grant_id?: string | null;
|
|
40
43
|
source_label: string;
|
|
41
44
|
transfers?: CreditTransferView.Raw[] | null;
|
|
42
45
|
updated_at: string;
|
|
@@ -8,6 +8,7 @@ import { BillingCreditGrantZeroedOutReason } from "./BillingCreditGrantZeroedOut
|
|
|
8
8
|
import { BillingCreditLedgerResponseData } from "./BillingCreditLedgerResponseData";
|
|
9
9
|
import { CompanyLedgerResponseData } from "./CompanyLedgerResponseData";
|
|
10
10
|
import { CreditEventType } from "./CreditEventType";
|
|
11
|
+
import { CreditUsageReason } from "./CreditUsageReason";
|
|
11
12
|
import { FeatureLedgerResponseData } from "./FeatureLedgerResponseData";
|
|
12
13
|
export declare const CreditEventLedgerResponseData: core.serialization.ObjectSchema<serializers.CreditEventLedgerResponseData.Raw, Schematic.CreditEventLedgerResponseData>;
|
|
13
14
|
export declare namespace CreditEventLedgerResponseData {
|
|
@@ -42,6 +43,7 @@ export declare namespace CreditEventLedgerResponseData {
|
|
|
42
43
|
source_id: number;
|
|
43
44
|
to_grant_id?: string | null;
|
|
44
45
|
usage_event_id?: string | null;
|
|
46
|
+
usage_reason?: CreditUsageReason.Raw | null;
|
|
45
47
|
zeroed_out_reason?: BillingCreditGrantZeroedOutReason.Raw | null;
|
|
46
48
|
}
|
|
47
49
|
}
|
|
@@ -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 CreditUsageReason: core.serialization.Schema<serializers.CreditUsageReason.Raw, Schematic.CreditUsageReason>;
|
|
5
|
+
export declare namespace CreditUsageReason {
|
|
6
|
+
type Raw = "lease_hold" | "lease_release" | "manual_adjustment" | "reconciliation" | "track";
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { CompanyMatchingCriteria } from "./CompanyMatchingCriteria";
|
|
5
|
+
import { IntegrationType } from "./IntegrationType";
|
|
6
|
+
export declare const InstallIntegrationRequestBody: core.serialization.ObjectSchema<serializers.InstallIntegrationRequestBody.Raw, Schematic.InstallIntegrationRequestBody>;
|
|
7
|
+
export declare namespace InstallIntegrationRequestBody {
|
|
8
|
+
interface Raw {
|
|
9
|
+
company_matching_criteria?: CompanyMatchingCriteria.Raw | null;
|
|
10
|
+
company_matching_field?: string | null;
|
|
11
|
+
config?: Record<string, unknown> | null;
|
|
12
|
+
is_sandbox?: boolean | null;
|
|
13
|
+
live_mode?: boolean | null;
|
|
14
|
+
type: IntegrationType.Raw;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -2,15 +2,19 @@ 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 { ClerkIntegrationConfig } from "./ClerkIntegrationConfig";
|
|
5
|
+
import { MetronomeIntegrationConfig } from "./MetronomeIntegrationConfig";
|
|
5
6
|
import { OrbIntegrationConfig } from "./OrbIntegrationConfig";
|
|
6
7
|
import { StripeIntegrationConfig } from "./StripeIntegrationConfig";
|
|
7
8
|
import { WorkOsIntegrationConfig } from "./WorkOsIntegrationConfig";
|
|
8
9
|
export declare const IntegrationConfig: core.serialization.Schema<serializers.IntegrationConfig.Raw, Schematic.IntegrationConfig>;
|
|
9
10
|
export declare namespace IntegrationConfig {
|
|
10
|
-
type Raw = IntegrationConfig.Clerk | IntegrationConfig.Orb | IntegrationConfig.Stripe | IntegrationConfig.Workos;
|
|
11
|
+
type Raw = IntegrationConfig.Clerk | IntegrationConfig.Metronome | IntegrationConfig.Orb | IntegrationConfig.Stripe | IntegrationConfig.Workos;
|
|
11
12
|
interface Clerk extends ClerkIntegrationConfig.Raw {
|
|
12
13
|
type: "clerk";
|
|
13
14
|
}
|
|
15
|
+
interface Metronome extends MetronomeIntegrationConfig.Raw {
|
|
16
|
+
type: "metronome";
|
|
17
|
+
}
|
|
14
18
|
interface Orb extends OrbIntegrationConfig.Raw {
|
|
15
19
|
type: "orb";
|
|
16
20
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { CompanyMatchingCriteria } from "./CompanyMatchingCriteria";
|
|
5
|
+
import { IntegrationConfig } from "./IntegrationConfig";
|
|
6
|
+
export declare const IntegrationInstallConfig: core.serialization.ObjectSchema<serializers.IntegrationInstallConfig.Raw, Schematic.IntegrationInstallConfig>;
|
|
7
|
+
export declare namespace IntegrationInstallConfig {
|
|
8
|
+
interface Raw {
|
|
9
|
+
company_matching_criteria?: CompanyMatchingCriteria.Raw | null;
|
|
10
|
+
company_matching_field?: string | null;
|
|
11
|
+
config?: IntegrationConfig.Raw | null;
|
|
12
|
+
created_at: string;
|
|
13
|
+
id: string;
|
|
14
|
+
integration_id: string;
|
|
15
|
+
is_app_install: boolean;
|
|
16
|
+
is_connect_install: boolean;
|
|
17
|
+
live_mode: boolean;
|
|
18
|
+
updated_at: string;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { IntegrationCapabilities } from "./IntegrationCapabilities";
|
|
5
|
+
import { IntegrationInstallConfig } from "./IntegrationInstallConfig";
|
|
6
|
+
import { IntegrationResponseData } from "./IntegrationResponseData";
|
|
7
|
+
export declare const IntegrationInstallResponseData: core.serialization.ObjectSchema<serializers.IntegrationInstallResponseData.Raw, Schematic.IntegrationInstallResponseData>;
|
|
8
|
+
export declare namespace IntegrationInstallResponseData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
capabilities: IntegrationCapabilities.Raw;
|
|
11
|
+
config: IntegrationInstallConfig.Raw;
|
|
12
|
+
integration: IntegrationResponseData.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const IntegrationType: core.serialization.Schema<serializers.IntegrationType.Raw, Schematic.IntegrationType>;
|
|
5
5
|
export declare namespace IntegrationType {
|
|
6
|
-
type Raw = "clerk" | "orb" | "stripe" | "unknown" | "workos";
|
|
6
|
+
type Raw = "clerk" | "metronome" | "orb" | "stripe" | "unknown" | "workos";
|
|
7
7
|
}
|
|
@@ -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 { CheckoutFieldValue } from "./CheckoutFieldValue";
|
|
4
5
|
import { PlanSelection } from "./PlanSelection";
|
|
5
6
|
import { UpdateCreditBundleRequestBody } from "./UpdateCreditBundleRequestBody";
|
|
6
7
|
import { UpdatePayInAdvanceRequestBody } from "./UpdatePayInAdvanceRequestBody";
|
|
@@ -15,6 +16,7 @@ export declare namespace ManagePlanRequest {
|
|
|
15
16
|
company_id: string;
|
|
16
17
|
coupon_external_id?: string | null;
|
|
17
18
|
credit_bundles: UpdateCreditBundleRequestBody.Raw[];
|
|
19
|
+
custom_field_values: CheckoutFieldValue.Raw[];
|
|
18
20
|
pay_in_advance_entitlements: UpdatePayInAdvanceRequestBody.Raw[];
|
|
19
21
|
payment_method_external_id?: string | null;
|
|
20
22
|
promo_code?: string | null;
|
|
@@ -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 MetronomeIntegrationConfig: core.serialization.ObjectSchema<serializers.MetronomeIntegrationConfig.Raw, Schematic.MetronomeIntegrationConfig>;
|
|
5
|
+
export declare namespace MetronomeIntegrationConfig {
|
|
6
|
+
type Raw = {};
|
|
7
|
+
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const MigrationErrorCode: core.serialization.Schema<serializers.MigrationErrorCode.Raw, Schematic.MigrationErrorCode>;
|
|
5
5
|
export declare namespace MigrationErrorCode {
|
|
6
|
-
type Raw = "ambiguous_subscription_item" | "multiple_subscriptions" | "no_price_for_interval" | "not_on_origin_version" | "permanent_config" | "permanent_decline" | "transient_decline" | "transient_infra" | "transient_stripe" | "unknown" | "would_leave_empty_subscription";
|
|
6
|
+
type Raw = "ambiguous_subscription_item" | "multiple_subscriptions" | "no_price_for_interval" | "not_on_origin_version" | "operation_item_not_found" | "permanent_config" | "permanent_decline" | "transient_decline" | "transient_infra" | "transient_stripe" | "unknown" | "would_leave_empty_subscription";
|
|
7
7
|
}
|
|
@@ -38,6 +38,7 @@ export declare namespace PlanCreditGrantView {
|
|
|
38
38
|
reset_cadence?: BillingPlanCreditGrantResetCadence.Raw | null;
|
|
39
39
|
reset_start?: BillingPlanCreditGrantResetStart.Raw | null;
|
|
40
40
|
reset_type: BillingPlanCreditGrantResetType.Raw;
|
|
41
|
+
rollover_percentage: number;
|
|
41
42
|
singular_name?: string | null;
|
|
42
43
|
updated_at: string;
|
|
43
44
|
}
|
|
@@ -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 { BillingPriceView } from "./BillingPriceView";
|
|
5
|
+
import { CheckoutFieldResponseData } from "./CheckoutFieldResponseData";
|
|
5
6
|
import { CheckoutSettingsResponseData } from "./CheckoutSettingsResponseData";
|
|
6
7
|
import { ComponentSettingsResponseData } from "./ComponentSettingsResponseData";
|
|
7
8
|
import { CustomPlanViewConfigResponseData } from "./CustomPlanViewConfigResponseData";
|
|
@@ -14,6 +15,7 @@ export declare namespace PlanGroupDetailResponseData {
|
|
|
14
15
|
add_ons: PlanGroupPlanDetailResponseData.Raw[];
|
|
15
16
|
checkout_settings: CheckoutSettingsResponseData.Raw;
|
|
16
17
|
component_settings: ComponentSettingsResponseData.Raw;
|
|
18
|
+
custom_checkout_fields: CheckoutFieldResponseData.Raw[];
|
|
17
19
|
custom_plan_config?: CustomPlanViewConfigResponseData.Raw | null;
|
|
18
20
|
custom_plan_id?: string | null;
|
|
19
21
|
default_plan?: PlanGroupPlanDetailResponseData.Raw | null;
|
|
@@ -27,5 +27,6 @@ export declare namespace UpdateBillingPlanCreditGrantRequestBody {
|
|
|
27
27
|
reset_cadence: BillingPlanCreditGrantResetCadence.Raw;
|
|
28
28
|
reset_start: BillingPlanCreditGrantResetStart.Raw;
|
|
29
29
|
reset_type?: BillingPlanCreditGrantResetType.Raw | null;
|
|
30
|
+
rollover_percentage?: number | null;
|
|
30
31
|
}
|
|
31
32
|
}
|