@schematichq/schematic-typescript-node 1.5.6 → 1.5.8
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/accounts/client/requests/CreateApiKeyRequestBody.d.ts +1 -0
- package/dist/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +1 -0
- package/dist/api/resources/billing/client/Client.d.ts +2 -0
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +3 -0
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +3 -0
- package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +2 -0
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -0
- package/dist/api/resources/catalogs/client/Client.d.ts +0 -1
- package/dist/api/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +0 -2
- package/dist/api/resources/checkout/client/requests/UpdateCompanyBillingDetailsRequestBody.d.ts +1 -0
- package/dist/api/resources/companies/client/Client.d.ts +35 -0
- package/dist/api/resources/companies/client/requests/CountEntityKeysRequest.d.ts +18 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +1 -0
- package/dist/api/resources/companies/types/CountEntityKeysParams.d.ts +12 -0
- package/dist/api/resources/companies/types/CountEntityKeysResponse.d.ts +6 -0
- package/dist/api/resources/companies/types/DeleteEntityKeyDefinitionResponse.d.ts +6 -0
- package/dist/api/resources/companies/types/index.d.ts +3 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +38 -0
- package/dist/api/resources/entitlements/client/requests/GetUserUsageByCompanyRequest.d.ts +19 -0
- package/dist/api/resources/entitlements/client/requests/GetUserUsageDetailRequest.d.ts +19 -0
- package/dist/api/resources/entitlements/client/requests/index.d.ts +2 -0
- package/dist/api/resources/entitlements/types/GetUserUsageByCompanyParams.d.ts +13 -0
- package/dist/api/resources/entitlements/types/GetUserUsageByCompanyResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/GetUserUsageDetailParams.d.ts +13 -0
- package/dist/api/resources/entitlements/types/GetUserUsageDetailResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/index.d.ts +4 -0
- package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +6 -0
- package/dist/api/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +2 -0
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +1 -0
- package/dist/api/types/ApiKeyResponseData.d.ts +1 -0
- package/dist/api/types/BillingCreditView.d.ts +1 -1
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +4 -0
- package/dist/api/types/BillingProductRecordResponseData.d.ts +12 -0
- package/dist/api/types/CatalogConfigOrderedEntitlement.d.ts +1 -1
- package/dist/api/types/CatalogConfigOrderedEntitlementResponseData.d.ts +1 -1
- package/dist/api/types/CatalogResponseData.d.ts +0 -1
- package/dist/api/types/CompanyBillingDetailsResponseData.d.ts +1 -0
- package/dist/api/types/CompanyBillingDetailsView.d.ts +1 -0
- package/dist/api/types/CompanyFeatureUsageExportMetadata.d.ts +9 -2
- package/dist/api/types/CompanyFeatureUsageExportMetadataSortOrderDirection.d.ts +6 -0
- package/dist/api/types/CompanyFeatureUsageExportMetadataVisibleColumnsItem.d.ts +7 -0
- package/dist/api/types/CompanyPlanCreditGrantView.d.ts +2 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +2 -2
- package/dist/api/types/CompanyTaxIdView.d.ts +7 -0
- package/dist/api/types/ComponentCheckoutSettings.d.ts +2 -0
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +4 -0
- package/dist/api/types/CustomPlanBillingResponseData.d.ts +1 -0
- package/dist/api/types/DataExportMetadata.d.ts +4 -1
- package/dist/api/types/DataExportType.d.ts +1 -0
- package/dist/api/types/EventExportMetadata.d.ts +19 -0
- package/dist/api/types/EventExportMetadataEventTypesItem.d.ts +7 -0
- package/dist/api/types/FeatureView.d.ts +1 -1
- package/dist/api/types/PlanCreditGrantScaling.d.ts +5 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +2 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +2 -2
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +2 -2
- package/dist/api/types/PlanViewPublicResponseData.d.ts +2 -2
- package/dist/api/types/TaxIdInput.d.ts +5 -0
- package/dist/api/types/TaxIdType.d.ts +41 -0
- package/dist/api/types/TestWebhookResponseData.d.ts +1 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +4 -0
- package/dist/api/types/UserCreditUsageResponseData.d.ts +14 -0
- package/dist/api/types/UserDailyCreditPointResponseData.d.ts +6 -0
- package/dist/api/types/UserDailyUsagePointResponseData.d.ts +8 -0
- package/dist/api/types/UserFeatureUsageResponseData.d.ts +14 -0
- package/dist/api/types/UserUsageByCompanyResponseData.d.ts +11 -0
- package/dist/api/types/UserUsageDetailResponseData.d.ts +16 -0
- package/dist/api/types/index.d.ts +15 -0
- package/dist/index.js +9 -9
- package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +1 -0
- package/dist/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.d.ts +1 -0
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +1 -0
- package/dist/serialization/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +0 -1
- package/dist/serialization/resources/checkout/client/requests/UpdateCompanyBillingDetailsRequestBody.d.ts +2 -0
- package/dist/serialization/resources/companies/types/CountEntityKeysParams.d.ts +13 -0
- package/dist/serialization/resources/companies/types/CountEntityKeysResponse.d.ts +12 -0
- package/dist/serialization/resources/companies/types/DeleteEntityKeyDefinitionResponse.d.ts +11 -0
- package/dist/serialization/resources/companies/types/index.d.ts +3 -0
- package/dist/serialization/resources/entitlements/types/GetUserUsageByCompanyParams.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/GetUserUsageByCompanyResponse.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/GetUserUsageDetailParams.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/GetUserUsageDetailResponse.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +4 -0
- package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +8 -0
- package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +1 -0
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +1 -0
- package/dist/serialization/types/ApiKeyResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingCreditView.d.ts +2 -2
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +3 -0
- package/dist/serialization/types/BillingProductRecordResponseData.d.ts +18 -0
- package/dist/serialization/types/CatalogConfigOrderedEntitlement.d.ts +1 -1
- package/dist/serialization/types/CatalogConfigOrderedEntitlementResponseData.d.ts +1 -1
- package/dist/serialization/types/CatalogResponseData.d.ts +0 -1
- package/dist/serialization/types/CompanyBillingDetailsResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyBillingDetailsView.d.ts +2 -0
- package/dist/serialization/types/CompanyFeatureUsageExportMetadata.d.ts +6 -1
- package/dist/serialization/types/CompanyFeatureUsageExportMetadataSortOrderDirection.d.ts +7 -0
- package/dist/serialization/types/CompanyFeatureUsageExportMetadataVisibleColumnsItem.d.ts +7 -0
- package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +3 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +1 -1
- package/dist/serialization/types/CompanyTaxIdView.d.ts +13 -0
- package/dist/serialization/types/ComponentCheckoutSettings.d.ts +2 -0
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +3 -0
- package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +1 -0
- package/dist/serialization/types/DataExportMetadata.d.ts +5 -1
- package/dist/serialization/types/DataExportType.d.ts +1 -1
- package/dist/serialization/types/EventExportMetadata.d.ts +17 -0
- package/dist/serialization/types/EventExportMetadataEventTypesItem.d.ts +7 -0
- package/dist/serialization/types/FeatureView.d.ts +2 -2
- package/dist/serialization/types/PlanCreditGrantScaling.d.ts +7 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +3 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +1 -1
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +1 -1
- package/dist/serialization/types/PlanViewPublicResponseData.d.ts +1 -1
- package/dist/serialization/types/TaxIdInput.d.ts +11 -0
- package/dist/serialization/types/TaxIdType.d.ts +7 -0
- package/dist/serialization/types/TestWebhookResponseData.d.ts +1 -0
- package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +3 -0
- package/dist/serialization/types/UserCreditUsageResponseData.d.ts +15 -0
- package/dist/serialization/types/UserDailyCreditPointResponseData.d.ts +10 -0
- package/dist/serialization/types/UserDailyUsagePointResponseData.d.ts +12 -0
- package/dist/serialization/types/UserFeatureUsageResponseData.d.ts +16 -0
- package/dist/serialization/types/UserUsageByCompanyResponseData.d.ts +14 -0
- package/dist/serialization/types/UserUsageDetailResponseData.d.ts +20 -0
- package/dist/serialization/types/index.d.ts +15 -0
- package/dist/wasm/rulesengine.js +1 -1
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ export declare namespace ListBillingPricesParams {
|
|
|
12
12
|
for_trial_expiry_plan?: boolean | null;
|
|
13
13
|
ids?: string[] | null;
|
|
14
14
|
interval?: string | null;
|
|
15
|
+
interval_count?: number | null;
|
|
15
16
|
is_active?: boolean | null;
|
|
16
17
|
limit?: number | null;
|
|
17
18
|
offset?: number | null;
|
|
@@ -12,6 +12,7 @@ export declare namespace ListBillingProductPricesParams {
|
|
|
12
12
|
for_trial_expiry_plan?: boolean | null;
|
|
13
13
|
ids?: string[] | null;
|
|
14
14
|
interval?: string | null;
|
|
15
|
+
interval_count?: number | null;
|
|
15
16
|
is_active?: boolean | null;
|
|
16
17
|
limit?: number | null;
|
|
17
18
|
offset?: number | null;
|
|
@@ -3,12 +3,14 @@ import * as core from "../../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { CheckoutFieldValue } from "../../../../types/CheckoutFieldValue";
|
|
5
5
|
import { CustomerBillingAddress } from "../../../../types/CustomerBillingAddress";
|
|
6
|
+
import { TaxIdInput } from "../../../../types/TaxIdInput";
|
|
6
7
|
export declare const UpdateCompanyBillingDetailsRequestBody: core.serialization.Schema<serializers.UpdateCompanyBillingDetailsRequestBody.Raw, Schematic.UpdateCompanyBillingDetailsRequestBody>;
|
|
7
8
|
export declare namespace UpdateCompanyBillingDetailsRequestBody {
|
|
8
9
|
interface Raw {
|
|
9
10
|
address?: CustomerBillingAddress.Raw | null;
|
|
10
11
|
email?: string | null;
|
|
11
12
|
phone?: string | null;
|
|
13
|
+
tax_id?: TaxIdInput.Raw | null;
|
|
12
14
|
values: CheckoutFieldValue.Raw[];
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { EntityType } from "../../../types/EntityType";
|
|
5
|
+
export declare const CountEntityKeysParams: core.serialization.ObjectSchema<serializers.CountEntityKeysParams.Raw, Schematic.CountEntityKeysParams>;
|
|
6
|
+
export declare namespace CountEntityKeysParams {
|
|
7
|
+
interface Raw {
|
|
8
|
+
definition_id?: string | null;
|
|
9
|
+
entity_type?: EntityType.Raw | null;
|
|
10
|
+
limit?: number | null;
|
|
11
|
+
offset?: number | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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 { CountEntityKeysParams } from "./CountEntityKeysParams";
|
|
6
|
+
export declare const CountEntityKeysResponse: core.serialization.ObjectSchema<serializers.CountEntityKeysResponse.Raw, Schematic.CountEntityKeysResponse>;
|
|
7
|
+
export declare namespace CountEntityKeysResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CountResponse.Raw;
|
|
10
|
+
params: CountEntityKeysParams.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 { DeleteResponse } from "../../../types/DeleteResponse";
|
|
5
|
+
export declare const DeleteEntityKeyDefinitionResponse: core.serialization.ObjectSchema<serializers.DeleteEntityKeyDefinitionResponse.Raw, Schematic.DeleteEntityKeyDefinitionResponse>;
|
|
6
|
+
export declare namespace DeleteEntityKeyDefinitionResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: DeleteResponse.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -2,6 +2,8 @@ export * from "./CountCompaniesParams";
|
|
|
2
2
|
export * from "./CountCompaniesResponse";
|
|
3
3
|
export * from "./CountEntityKeyDefinitionsParams";
|
|
4
4
|
export * from "./CountEntityKeyDefinitionsResponse";
|
|
5
|
+
export * from "./CountEntityKeysParams";
|
|
6
|
+
export * from "./CountEntityKeysResponse";
|
|
5
7
|
export * from "./CountEntityTraitDefinitionsParams";
|
|
6
8
|
export * from "./CountEntityTraitDefinitionsResponse";
|
|
7
9
|
export * from "./CountPlanTraitsParams";
|
|
@@ -14,6 +16,7 @@ export * from "./DeleteCompanyByKeysResponse";
|
|
|
14
16
|
export * from "./DeleteCompanyMembershipResponse";
|
|
15
17
|
export * from "./DeleteCompanyParams";
|
|
16
18
|
export * from "./DeleteCompanyResponse";
|
|
19
|
+
export * from "./DeleteEntityKeyDefinitionResponse";
|
|
17
20
|
export * from "./DeleteUserByKeysResponse";
|
|
18
21
|
export * from "./DeleteUserResponse";
|
|
19
22
|
export * from "./GetActiveCompanySubscriptionParams";
|
|
@@ -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 GetUserUsageByCompanyParams: core.serialization.ObjectSchema<serializers.GetUserUsageByCompanyParams.Raw, Schematic.GetUserUsageByCompanyParams>;
|
|
5
|
+
export declare namespace GetUserUsageByCompanyParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
company_id?: string | null;
|
|
8
|
+
end_time?: string | null;
|
|
9
|
+
feature_id?: 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 { UserUsageByCompanyResponseData } from "../../../types/UserUsageByCompanyResponseData";
|
|
5
|
+
import { GetUserUsageByCompanyParams } from "./GetUserUsageByCompanyParams";
|
|
6
|
+
export declare const GetUserUsageByCompanyResponse: core.serialization.ObjectSchema<serializers.GetUserUsageByCompanyResponse.Raw, Schematic.GetUserUsageByCompanyResponse>;
|
|
7
|
+
export declare namespace GetUserUsageByCompanyResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: UserUsageByCompanyResponseData.Raw;
|
|
10
|
+
params: GetUserUsageByCompanyParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const GetUserUsageDetailParams: core.serialization.ObjectSchema<serializers.GetUserUsageDetailParams.Raw, Schematic.GetUserUsageDetailParams>;
|
|
5
|
+
export declare namespace GetUserUsageDetailParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
company_id?: string | null;
|
|
8
|
+
end_time?: string | null;
|
|
9
|
+
start_time?: string | null;
|
|
10
|
+
user_id?: 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 { UserUsageDetailResponseData } from "../../../types/UserUsageDetailResponseData";
|
|
5
|
+
import { GetUserUsageDetailParams } from "./GetUserUsageDetailParams";
|
|
6
|
+
export declare const GetUserUsageDetailResponse: core.serialization.ObjectSchema<serializers.GetUserUsageDetailResponse.Raw, Schematic.GetUserUsageDetailResponse>;
|
|
7
|
+
export declare namespace GetUserUsageDetailResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: UserUsageDetailResponseData.Raw;
|
|
10
|
+
params: GetUserUsageDetailParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -19,6 +19,10 @@ export * from "./GetFeatureUsageByCompanyResponse";
|
|
|
19
19
|
export * from "./GetFeatureUsageTimeSeriesParams";
|
|
20
20
|
export * from "./GetFeatureUsageTimeSeriesResponse";
|
|
21
21
|
export * from "./GetPlanEntitlementResponse";
|
|
22
|
+
export * from "./GetUserUsageByCompanyParams";
|
|
23
|
+
export * from "./GetUserUsageByCompanyResponse";
|
|
24
|
+
export * from "./GetUserUsageDetailParams";
|
|
25
|
+
export * from "./GetUserUsageDetailResponse";
|
|
22
26
|
export * from "./ListCompanyOverridesParams";
|
|
23
27
|
export * from "./ListCompanyOverridesResponse";
|
|
24
28
|
export * from "./ListFeatureCompaniesParams";
|
package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts
CHANGED
|
@@ -1,16 +1,24 @@
|
|
|
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 "../../../../types/CheckoutFieldValue";
|
|
5
|
+
import { CustomerBillingAddress } from "../../../../types/CustomerBillingAddress";
|
|
4
6
|
import { CustomPlanActivationStrategy } from "../../../../types/CustomPlanActivationStrategy";
|
|
5
7
|
import { PlanVersionMigrationStrategy } from "../../../../types/PlanVersionMigrationStrategy";
|
|
8
|
+
import { TaxIdInput } from "../../../../types/TaxIdInput";
|
|
6
9
|
export declare const PublishPlanVersionRequestBody: core.serialization.Schema<serializers.PublishPlanVersionRequestBody.Raw, Schematic.PublishPlanVersionRequestBody>;
|
|
7
10
|
export declare namespace PublishPlanVersionRequestBody {
|
|
8
11
|
interface Raw {
|
|
9
12
|
activation_strategy?: CustomPlanActivationStrategy.Raw | null;
|
|
13
|
+
address?: CustomerBillingAddress.Raw | null;
|
|
10
14
|
coupon_external_id?: string | null;
|
|
15
|
+
custom_field_values?: CheckoutFieldValue.Raw[] | null;
|
|
11
16
|
customer_email?: string | null;
|
|
12
17
|
days_until_due?: number | null;
|
|
13
18
|
excluded_company_ids: string[];
|
|
14
19
|
migration_strategy: PlanVersionMigrationStrategy.Raw;
|
|
20
|
+
phone?: string | null;
|
|
21
|
+
send_invoice?: boolean | null;
|
|
22
|
+
tax_id?: TaxIdInput.Raw | null;
|
|
15
23
|
}
|
|
16
24
|
}
|
|
@@ -15,6 +15,7 @@ export declare namespace ApiKeyCreateResponseData {
|
|
|
15
15
|
integration?: ApiKeyIntegrationResponseData.Raw | null;
|
|
16
16
|
last_used_at?: string | null;
|
|
17
17
|
name: string;
|
|
18
|
+
rate_limit_percent?: number | null;
|
|
18
19
|
readonly: boolean;
|
|
19
20
|
scopes: ApiKeyScope.Raw[];
|
|
20
21
|
secret: string;
|
|
@@ -15,6 +15,7 @@ export declare namespace ApiKeyResponseData {
|
|
|
15
15
|
integration?: ApiKeyIntegrationResponseData.Raw | null;
|
|
16
16
|
last_used_at?: string | null;
|
|
17
17
|
name: string;
|
|
18
|
+
rate_limit_percent?: number | null;
|
|
18
19
|
readonly: boolean;
|
|
19
20
|
scopes: ApiKeyScope.Raw[];
|
|
20
21
|
updated_at: string;
|
|
@@ -6,7 +6,7 @@ import { BillingCreditExpiryUnit } from "./BillingCreditExpiryUnit";
|
|
|
6
6
|
import { BillingCreditLedgerAuthority } from "./BillingCreditLedgerAuthority";
|
|
7
7
|
import { BillingCreditRolloverPolicy } from "./BillingCreditRolloverPolicy";
|
|
8
8
|
import { BillingPriceView } from "./BillingPriceView";
|
|
9
|
-
import {
|
|
9
|
+
import { BillingProductRecordResponseData } from "./BillingProductRecordResponseData";
|
|
10
10
|
import { CreditCurrencyPrice } from "./CreditCurrencyPrice";
|
|
11
11
|
export declare const BillingCreditView: core.serialization.ObjectSchema<serializers.BillingCreditView.Raw, Schematic.BillingCreditView>;
|
|
12
12
|
export declare namespace BillingCreditView {
|
|
@@ -29,7 +29,7 @@ export declare namespace BillingCreditView {
|
|
|
29
29
|
price?: BillingPriceView.Raw | null;
|
|
30
30
|
price_per_unit?: number | null;
|
|
31
31
|
price_per_unit_decimal?: string | null;
|
|
32
|
-
product?:
|
|
32
|
+
product?: BillingProductRecordResponseData.Raw | null;
|
|
33
33
|
singular_name?: string | null;
|
|
34
34
|
updated_at: string;
|
|
35
35
|
}
|
|
@@ -8,6 +8,7 @@ import { BillingCreditResponseData } from "./BillingCreditResponseData";
|
|
|
8
8
|
import { BillingPlanCreditGrantResetCadence } from "./BillingPlanCreditGrantResetCadence";
|
|
9
9
|
import { BillingPlanCreditGrantResetStart } from "./BillingPlanCreditGrantResetStart";
|
|
10
10
|
import { BillingPlanCreditGrantResetType } from "./BillingPlanCreditGrantResetType";
|
|
11
|
+
import { PlanCreditGrantScaling } from "./PlanCreditGrantScaling";
|
|
11
12
|
import { PreviewObjectResponseData } from "./PreviewObjectResponseData";
|
|
12
13
|
export declare const BillingPlanCreditGrantResponseData: core.serialization.ObjectSchema<serializers.BillingPlanCreditGrantResponseData.Raw, Schematic.BillingPlanCreditGrantResponseData>;
|
|
13
14
|
export declare namespace BillingPlanCreditGrantResponseData {
|
|
@@ -34,6 +35,7 @@ export declare namespace BillingPlanCreditGrantResponseData {
|
|
|
34
35
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
35
36
|
expiry_unit_count?: number | null;
|
|
36
37
|
id: string;
|
|
38
|
+
license_id?: string | null;
|
|
37
39
|
plan?: PreviewObjectResponseData.Raw | null;
|
|
38
40
|
plan_id: string;
|
|
39
41
|
plan_name: string;
|
|
@@ -42,6 +44,7 @@ export declare namespace BillingPlanCreditGrantResponseData {
|
|
|
42
44
|
reset_start?: BillingPlanCreditGrantResetStart.Raw | null;
|
|
43
45
|
reset_type?: BillingPlanCreditGrantResetType.Raw | null;
|
|
44
46
|
rollover_percentage: number;
|
|
47
|
+
scaling: PlanCreditGrantScaling.Raw;
|
|
45
48
|
updated_at: string;
|
|
46
49
|
}
|
|
47
50
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { BillingProviderType } from "./BillingProviderType";
|
|
5
|
+
export declare const BillingProductRecordResponseData: core.serialization.ObjectSchema<serializers.BillingProductRecordResponseData.Raw, Schematic.BillingProductRecordResponseData>;
|
|
6
|
+
export declare namespace BillingProductRecordResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
account_id: string;
|
|
9
|
+
created_at: string;
|
|
10
|
+
environment_id: string;
|
|
11
|
+
external_id: string;
|
|
12
|
+
id: string;
|
|
13
|
+
is_active: boolean;
|
|
14
|
+
name: string;
|
|
15
|
+
provider_type: BillingProviderType.Raw;
|
|
16
|
+
updated_at: string;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -4,7 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
export declare const CatalogConfigOrderedEntitlement: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedEntitlement.Raw, Schematic.CatalogConfigOrderedEntitlement>;
|
|
5
5
|
export declare namespace CatalogConfigOrderedEntitlement {
|
|
6
6
|
interface Raw {
|
|
7
|
-
|
|
7
|
+
feature_id: string;
|
|
8
8
|
visible?: boolean | null;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -4,7 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
export declare const CatalogConfigOrderedEntitlementResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedEntitlementResponseData.Raw, Schematic.CatalogConfigOrderedEntitlementResponseData>;
|
|
5
5
|
export declare namespace CatalogConfigOrderedEntitlementResponseData {
|
|
6
6
|
interface Raw {
|
|
7
|
-
|
|
7
|
+
feature_id: string;
|
|
8
8
|
visible: boolean;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { CheckoutFieldWithValue } from "./CheckoutFieldWithValue";
|
|
5
5
|
import { CompanyBillingAddressView } from "./CompanyBillingAddressView";
|
|
6
6
|
import { CompanyBillingCheckoutSettings } from "./CompanyBillingCheckoutSettings";
|
|
7
|
+
import { CompanyTaxIdView } from "./CompanyTaxIdView";
|
|
7
8
|
export declare const CompanyBillingDetailsResponseData: core.serialization.ObjectSchema<serializers.CompanyBillingDetailsResponseData.Raw, Schematic.CompanyBillingDetailsResponseData>;
|
|
8
9
|
export declare namespace CompanyBillingDetailsResponseData {
|
|
9
10
|
interface Raw {
|
|
@@ -12,5 +13,6 @@ export declare namespace CompanyBillingDetailsResponseData {
|
|
|
12
13
|
custom_fields: CheckoutFieldWithValue.Raw[];
|
|
13
14
|
email?: string | null;
|
|
14
15
|
phone?: string | null;
|
|
16
|
+
tax_ids: CompanyTaxIdView.Raw[];
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { CheckoutFieldWithValue } from "./CheckoutFieldWithValue";
|
|
5
5
|
import { CompanyBillingAddressView } from "./CompanyBillingAddressView";
|
|
6
6
|
import { CompanyBillingCheckoutSettings } from "./CompanyBillingCheckoutSettings";
|
|
7
|
+
import { CompanyTaxIdView } from "./CompanyTaxIdView";
|
|
7
8
|
export declare const CompanyBillingDetailsView: core.serialization.ObjectSchema<serializers.CompanyBillingDetailsView.Raw, Schematic.CompanyBillingDetailsView>;
|
|
8
9
|
export declare namespace CompanyBillingDetailsView {
|
|
9
10
|
interface Raw {
|
|
@@ -12,5 +13,6 @@ export declare namespace CompanyBillingDetailsView {
|
|
|
12
13
|
custom_fields: CheckoutFieldWithValue.Raw[];
|
|
13
14
|
email?: string | null;
|
|
14
15
|
phone?: string | null;
|
|
16
|
+
tax_ids: CompanyTaxIdView.Raw[];
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { CompanyFeatureUsageExportMetadataSortOrderDirection } from "./CompanyFeatureUsageExportMetadataSortOrderDirection";
|
|
5
|
+
import { CompanyFeatureUsageExportMetadataVisibleColumnsItem } from "./CompanyFeatureUsageExportMetadataVisibleColumnsItem";
|
|
4
6
|
export declare const CompanyFeatureUsageExportMetadata: core.serialization.ObjectSchema<serializers.CompanyFeatureUsageExportMetadata.Raw, Schematic.CompanyFeatureUsageExportMetadata>;
|
|
5
7
|
export declare namespace CompanyFeatureUsageExportMetadata {
|
|
6
8
|
interface Raw {
|
|
7
9
|
company_ids?: string[] | null;
|
|
8
10
|
credit_type_ids?: string[] | null;
|
|
9
|
-
feature_ids
|
|
11
|
+
feature_ids?: string[] | null;
|
|
10
12
|
has_scheduled_downgrade?: boolean | null;
|
|
11
13
|
monetized_subscriptions?: boolean | null;
|
|
12
14
|
notification_email_recipient_email_addresses?: string[] | null;
|
|
@@ -14,8 +16,11 @@ export declare namespace CompanyFeatureUsageExportMetadata {
|
|
|
14
16
|
plan_ids?: string[] | null;
|
|
15
17
|
plan_version_id?: string | null;
|
|
16
18
|
q?: string | null;
|
|
19
|
+
sort_order_column?: string | null;
|
|
20
|
+
sort_order_direction?: CompanyFeatureUsageExportMetadataSortOrderDirection.Raw | null;
|
|
17
21
|
subscription_statuses?: string[] | null;
|
|
18
22
|
subscription_types?: string[] | null;
|
|
23
|
+
visible_columns?: CompanyFeatureUsageExportMetadataVisibleColumnsItem.Raw[] | null;
|
|
19
24
|
with_entitlement_for?: string | null;
|
|
20
25
|
with_subscription?: boolean | null;
|
|
21
26
|
without_feature_override_for?: 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 CompanyFeatureUsageExportMetadataSortOrderDirection: core.serialization.Schema<serializers.CompanyFeatureUsageExportMetadataSortOrderDirection.Raw, Schematic.CompanyFeatureUsageExportMetadataSortOrderDirection>;
|
|
5
|
+
export declare namespace CompanyFeatureUsageExportMetadataSortOrderDirection {
|
|
6
|
+
type Raw = "asc" | "desc";
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const CompanyFeatureUsageExportMetadataVisibleColumnsItem: core.serialization.Schema<serializers.CompanyFeatureUsageExportMetadataVisibleColumnsItem.Raw, Schematic.CompanyFeatureUsageExportMetadataVisibleColumnsItem>;
|
|
5
|
+
export declare namespace CompanyFeatureUsageExportMetadataVisibleColumnsItem {
|
|
6
|
+
type Raw = "plan" | "subscription" | "users" | "last_seen_at";
|
|
7
|
+
}
|
|
@@ -9,6 +9,7 @@ import { BillingPlanCreditGrantResetCadence } from "./BillingPlanCreditGrantRese
|
|
|
9
9
|
import { BillingPlanCreditGrantResetStart } from "./BillingPlanCreditGrantResetStart";
|
|
10
10
|
import { BillingPlanCreditGrantResetType } from "./BillingPlanCreditGrantResetType";
|
|
11
11
|
import { GenericPreviewObject } from "./GenericPreviewObject";
|
|
12
|
+
import { PlanCreditGrantScaling } from "./PlanCreditGrantScaling";
|
|
12
13
|
export declare const CompanyPlanCreditGrantView: core.serialization.ObjectSchema<serializers.CompanyPlanCreditGrantView.Raw, Schematic.CompanyPlanCreditGrantView>;
|
|
13
14
|
export declare namespace CompanyPlanCreditGrantView {
|
|
14
15
|
interface Raw {
|
|
@@ -37,6 +38,7 @@ export declare namespace CompanyPlanCreditGrantView {
|
|
|
37
38
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
38
39
|
expiry_unit_count?: number | null;
|
|
39
40
|
id: string;
|
|
41
|
+
license_id?: string | null;
|
|
40
42
|
plan?: GenericPreviewObject.Raw | null;
|
|
41
43
|
plan_id: string;
|
|
42
44
|
plan_version_id?: string | null;
|
|
@@ -45,6 +47,7 @@ export declare namespace CompanyPlanCreditGrantView {
|
|
|
45
47
|
reset_start?: BillingPlanCreditGrantResetStart.Raw | null;
|
|
46
48
|
reset_type: BillingPlanCreditGrantResetType.Raw;
|
|
47
49
|
rollover_percentage: number;
|
|
50
|
+
scaling: PlanCreditGrantScaling.Raw;
|
|
48
51
|
singular_name?: string | null;
|
|
49
52
|
updated_at: string;
|
|
50
53
|
}
|
|
@@ -55,7 +55,7 @@ export declare namespace CompanyPlanDetailResponseData {
|
|
|
55
55
|
invalid_reason?: CompanyPlanInvalidReason.Raw | null;
|
|
56
56
|
is_custom: boolean;
|
|
57
57
|
is_default: boolean;
|
|
58
|
-
is_free
|
|
58
|
+
is_free?: boolean | null;
|
|
59
59
|
is_trialable: boolean;
|
|
60
60
|
monthly_price?: BillingPriceResponseData.Raw | null;
|
|
61
61
|
name: string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const CompanyTaxIdView: core.serialization.ObjectSchema<serializers.CompanyTaxIdView.Raw, Schematic.CompanyTaxIdView>;
|
|
5
|
+
export declare namespace CompanyTaxIdView {
|
|
6
|
+
interface Raw {
|
|
7
|
+
country: string;
|
|
8
|
+
id: string;
|
|
9
|
+
type: string;
|
|
10
|
+
value: string;
|
|
11
|
+
verification_status?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { ProrationBehavior } from "./ProrationBehavior";
|
|
4
5
|
export declare const ComponentCheckoutSettings: core.serialization.ObjectSchema<serializers.ComponentCheckoutSettings.Raw, Schematic.ComponentCheckoutSettings>;
|
|
5
6
|
export declare namespace ComponentCheckoutSettings {
|
|
6
7
|
interface Raw {
|
|
7
8
|
collect_address: boolean;
|
|
8
9
|
collect_email: boolean;
|
|
9
10
|
collect_phone: boolean;
|
|
11
|
+
proration_behavior: ProrationBehavior.Raw;
|
|
10
12
|
tax_collection_enabled: boolean;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -8,6 +8,7 @@ import { BillingPlanCreditGrantResetCadence } from "./BillingPlanCreditGrantRese
|
|
|
8
8
|
import { BillingPlanCreditGrantResetStart } from "./BillingPlanCreditGrantResetStart";
|
|
9
9
|
import { BillingPlanCreditGrantResetType } from "./BillingPlanCreditGrantResetType";
|
|
10
10
|
import { CreditAutoTopupAmountType } from "./CreditAutoTopupAmountType";
|
|
11
|
+
import { PlanCreditGrantScaling } from "./PlanCreditGrantScaling";
|
|
11
12
|
export declare const CreateBillingPlanCreditGrantRequestBody: core.serialization.ObjectSchema<serializers.CreateBillingPlanCreditGrantRequestBody.Raw, Schematic.CreateBillingPlanCreditGrantRequestBody>;
|
|
12
13
|
export declare namespace CreateBillingPlanCreditGrantRequestBody {
|
|
13
14
|
interface Raw {
|
|
@@ -28,11 +29,13 @@ export declare namespace CreateBillingPlanCreditGrantRequestBody {
|
|
|
28
29
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
29
30
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
30
31
|
expiry_unit_count?: number | null;
|
|
32
|
+
license_id?: string | null;
|
|
31
33
|
plan_id: string;
|
|
32
34
|
plan_version_id?: string | null;
|
|
33
35
|
reset_cadence: BillingPlanCreditGrantResetCadence.Raw;
|
|
34
36
|
reset_start: BillingPlanCreditGrantResetStart.Raw;
|
|
35
37
|
reset_type?: BillingPlanCreditGrantResetType.Raw | null;
|
|
36
38
|
rollover_percentage?: number | null;
|
|
39
|
+
scaling?: PlanCreditGrantScaling.Raw | null;
|
|
37
40
|
}
|
|
38
41
|
}
|
|
@@ -15,6 +15,7 @@ export declare namespace CustomPlanBillingResponseData {
|
|
|
15
15
|
paid_at?: string | null;
|
|
16
16
|
plan_id: string;
|
|
17
17
|
published_at?: string | null;
|
|
18
|
+
send_invoice: boolean;
|
|
18
19
|
status: CustomPlanBillingStatus.Raw;
|
|
19
20
|
stripe_invoice_url?: string | null;
|
|
20
21
|
updated_at: string;
|
|
@@ -3,13 +3,17 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { AuditLogExportMetadata } from "./AuditLogExportMetadata";
|
|
5
5
|
import { CompanyFeatureUsageExportMetadata } from "./CompanyFeatureUsageExportMetadata";
|
|
6
|
+
import { EventExportMetadata } from "./EventExportMetadata";
|
|
6
7
|
export declare const DataExportMetadata: core.serialization.Schema<serializers.DataExportMetadata.Raw, Schematic.DataExportMetadata>;
|
|
7
8
|
export declare namespace DataExportMetadata {
|
|
8
|
-
type Raw = DataExportMetadata.AuditLog | DataExportMetadata.CompanyFeatureUsage;
|
|
9
|
+
type Raw = DataExportMetadata.AuditLog | DataExportMetadata.CompanyFeatureUsage | DataExportMetadata.Event;
|
|
9
10
|
interface AuditLog extends AuditLogExportMetadata.Raw {
|
|
10
11
|
export_type: "audit-log";
|
|
11
12
|
}
|
|
12
13
|
interface CompanyFeatureUsage extends CompanyFeatureUsageExportMetadata.Raw {
|
|
13
14
|
export_type: "company-feature-usage";
|
|
14
15
|
}
|
|
16
|
+
interface Event extends EventExportMetadata.Raw {
|
|
17
|
+
export_type: "event";
|
|
18
|
+
}
|
|
15
19
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const DataExportType: core.serialization.Schema<serializers.DataExportType.Raw, Schematic.DataExportType>;
|
|
5
5
|
export declare namespace DataExportType {
|
|
6
|
-
type Raw = "audit-log" | "company-feature-usage";
|
|
6
|
+
type Raw = "audit-log" | "company-feature-usage" | "event";
|
|
7
7
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { EventExportMetadataEventTypesItem } from "./EventExportMetadataEventTypesItem";
|
|
5
|
+
export declare const EventExportMetadata: core.serialization.ObjectSchema<serializers.EventExportMetadata.Raw, Schematic.EventExportMetadata>;
|
|
6
|
+
export declare namespace EventExportMetadata {
|
|
7
|
+
interface Raw {
|
|
8
|
+
company_id?: string | null;
|
|
9
|
+
end_time?: string | null;
|
|
10
|
+
event_subtype?: string | null;
|
|
11
|
+
event_types?: EventExportMetadataEventTypesItem.Raw[] | null;
|
|
12
|
+
flag_id?: string | null;
|
|
13
|
+
notification_email_recipient_email_addresses?: string[] | null;
|
|
14
|
+
start_time?: string | null;
|
|
15
|
+
user_id?: string | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -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 EventExportMetadataEventTypesItem: core.serialization.Schema<serializers.EventExportMetadataEventTypesItem.Raw, Schematic.EventExportMetadataEventTypesItem>;
|
|
5
|
+
export declare namespace EventExportMetadataEventTypesItem {
|
|
6
|
+
type Raw = "flag_check" | "identify" | "inference" | "track";
|
|
7
|
+
}
|
|
@@ -2,7 +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 { BillingLinkedResourceResponseData } from "./BillingLinkedResourceResponseData";
|
|
5
|
-
import {
|
|
5
|
+
import { BillingProductRecordResponseData } from "./BillingProductRecordResponseData";
|
|
6
6
|
import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
|
|
7
7
|
import { EventSummaryResponseData } from "./EventSummaryResponseData";
|
|
8
8
|
import { FeatureLifecyclePhase } from "./FeatureLifecyclePhase";
|
|
@@ -14,7 +14,7 @@ export declare namespace FeatureView {
|
|
|
14
14
|
interface Raw {
|
|
15
15
|
account_id: string;
|
|
16
16
|
billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
|
|
17
|
-
billing_product?:
|
|
17
|
+
billing_product?: BillingProductRecordResponseData.Raw | null;
|
|
18
18
|
created_at: string;
|
|
19
19
|
description: string;
|
|
20
20
|
event_subtype?: 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 PlanCreditGrantScaling: core.serialization.Schema<serializers.PlanCreditGrantScaling.Raw, Schematic.PlanCreditGrantScaling>;
|
|
5
|
+
export declare namespace PlanCreditGrantScaling {
|
|
6
|
+
type Raw = "fixed" | "per_license";
|
|
7
|
+
}
|
|
@@ -9,6 +9,7 @@ import { BillingPlanCreditGrantResetCadence } from "./BillingPlanCreditGrantRese
|
|
|
9
9
|
import { BillingPlanCreditGrantResetStart } from "./BillingPlanCreditGrantResetStart";
|
|
10
10
|
import { BillingPlanCreditGrantResetType } from "./BillingPlanCreditGrantResetType";
|
|
11
11
|
import { GenericPreviewObject } from "./GenericPreviewObject";
|
|
12
|
+
import { PlanCreditGrantScaling } from "./PlanCreditGrantScaling";
|
|
12
13
|
export declare const PlanCreditGrantView: core.serialization.ObjectSchema<serializers.PlanCreditGrantView.Raw, Schematic.PlanCreditGrantView>;
|
|
13
14
|
export declare namespace PlanCreditGrantView {
|
|
14
15
|
interface Raw {
|
|
@@ -34,6 +35,7 @@ export declare namespace PlanCreditGrantView {
|
|
|
34
35
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
35
36
|
expiry_unit_count?: number | null;
|
|
36
37
|
id: string;
|
|
38
|
+
license_id?: string | null;
|
|
37
39
|
plan?: GenericPreviewObject.Raw | null;
|
|
38
40
|
plan_id: string;
|
|
39
41
|
plan_version_id?: string | null;
|
|
@@ -42,6 +44,7 @@ export declare namespace PlanCreditGrantView {
|
|
|
42
44
|
reset_start?: BillingPlanCreditGrantResetStart.Raw | null;
|
|
43
45
|
reset_type: BillingPlanCreditGrantResetType.Raw;
|
|
44
46
|
rollover_percentage: number;
|
|
47
|
+
scaling: PlanCreditGrantScaling.Raw;
|
|
45
48
|
singular_name?: string | null;
|
|
46
49
|
updated_at: string;
|
|
47
50
|
}
|
|
@@ -43,7 +43,7 @@ export declare namespace PlanDetailResponseData {
|
|
|
43
43
|
id: string;
|
|
44
44
|
included_credit_grants?: BillingPlanCreditGrantResponseData.Raw[] | null;
|
|
45
45
|
is_default: boolean;
|
|
46
|
-
is_free
|
|
46
|
+
is_free?: boolean | null;
|
|
47
47
|
is_trialable: boolean;
|
|
48
48
|
monthly_price?: BillingPriceResponseData.Raw | null;
|
|
49
49
|
name: string;
|