@schematichq/schematic-typescript-node 1.5.4 → 1.5.6
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/Client.d.ts +6 -0
- package/dist/api/resources/accounts/client/Client.d.ts +2 -0
- package/dist/api/resources/accounts/client/requests/CountAccountMembersRequest.d.ts +4 -0
- package/dist/api/resources/accounts/client/requests/ListAccountMembersRequest.d.ts +4 -0
- package/dist/api/resources/accounts/types/CountAccountMembersParams.d.ts +3 -0
- package/dist/api/resources/accounts/types/ListAccountMembersParams.d.ts +3 -0
- package/dist/api/resources/catalogs/client/Client.d.ts +232 -0
- package/dist/api/resources/catalogs/client/index.d.ts +1 -0
- package/dist/api/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +12 -0
- package/dist/api/resources/catalogs/client/requests/ListCatalogsRequest.d.ts +18 -0
- package/dist/api/resources/catalogs/client/requests/UpdateCatalogConfigurationRequestBody.d.ts +16 -0
- package/dist/api/resources/catalogs/client/requests/UpdateCatalogRequestBody.d.ts +9 -0
- package/dist/api/resources/catalogs/client/requests/index.d.ts +4 -0
- package/dist/api/resources/catalogs/exports.d.ts +2 -0
- package/dist/api/resources/catalogs/index.d.ts +2 -0
- package/dist/api/resources/catalogs/types/CreateCatalogResponse.d.ts +6 -0
- package/dist/api/resources/catalogs/types/DeleteCatalogResponse.d.ts +6 -0
- package/dist/api/resources/catalogs/types/GetCatalogResponse.d.ts +6 -0
- package/dist/api/resources/catalogs/types/GetConfigurationResponse.d.ts +6 -0
- package/dist/api/resources/catalogs/types/GetCreditBundlesInCatalogResponse.d.ts +6 -0
- package/dist/api/resources/catalogs/types/GetDerivedFeaturesResponse.d.ts +6 -0
- package/dist/api/resources/catalogs/types/GetPlansInCatalogResponse.d.ts +6 -0
- package/dist/api/resources/catalogs/types/ListCatalogsParams.d.ts +12 -0
- package/dist/api/resources/catalogs/types/ListCatalogsResponse.d.ts +6 -0
- package/dist/api/resources/catalogs/types/UpdateCatalogResponse.d.ts +6 -0
- package/dist/api/resources/catalogs/types/UpdateConfigurationResponse.d.ts +6 -0
- package/dist/api/resources/catalogs/types/index.d.ts +11 -0
- package/dist/api/resources/checkout/client/Client.d.ts +35 -0
- package/dist/api/resources/checkout/client/requests/UpdateCompanyBillingDetailsRequestBody.d.ts +16 -0
- package/dist/api/resources/checkout/client/requests/index.d.ts +1 -0
- package/dist/api/resources/checkout/types/GetCompanyBillingDetailsResponse.d.ts +6 -0
- package/dist/api/resources/checkout/types/UpdateCompanyBillingDetailsResponse.d.ts +6 -0
- package/dist/api/resources/checkout/types/index.d.ts +2 -0
- package/dist/api/resources/components/client/Client.d.ts +16 -0
- package/dist/api/resources/components/client/requests/BindCatalogRequestBody.d.ts +7 -0
- package/dist/api/resources/components/client/requests/index.d.ts +1 -0
- package/dist/api/resources/components/types/BindCatalogResponse.d.ts +6 -0
- package/dist/api/resources/components/types/index.d.ts +1 -0
- package/dist/api/resources/dataexports/client/Client.d.ts +36 -1
- package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +6 -2
- package/dist/api/resources/dataexports/client/requests/ListDataExportsRequest.d.ts +18 -0
- package/dist/api/resources/dataexports/client/requests/index.d.ts +1 -0
- package/dist/api/resources/dataexports/types/GetDataExportResponse.d.ts +6 -0
- package/dist/api/resources/dataexports/types/ListDataExportsParams.d.ts +12 -0
- package/dist/api/resources/dataexports/types/ListDataExportsResponse.d.ts +6 -0
- package/dist/api/resources/dataexports/types/index.d.ts +3 -0
- package/dist/api/resources/index.d.ts +6 -0
- package/dist/api/resources/licenses/client/Client.d.ts +69 -0
- package/dist/api/resources/licenses/client/index.d.ts +1 -0
- package/dist/api/resources/licenses/client/requests/CountLicensesRequest.d.ts +19 -0
- package/dist/api/resources/licenses/client/requests/ListLicensesRequest.d.ts +19 -0
- package/dist/api/resources/licenses/client/requests/index.d.ts +2 -0
- package/dist/api/resources/licenses/exports.d.ts +2 -0
- package/dist/api/resources/licenses/index.d.ts +2 -0
- package/dist/api/resources/licenses/types/CountLicensesParams.d.ts +12 -0
- package/dist/api/resources/licenses/types/CountLicensesResponse.d.ts +6 -0
- package/dist/api/resources/licenses/types/GetSingleLicenseResponse.d.ts +6 -0
- package/dist/api/resources/licenses/types/ListLicensesParams.d.ts +12 -0
- package/dist/api/resources/licenses/types/ListLicensesResponse.d.ts +6 -0
- package/dist/api/resources/licenses/types/index.d.ts +5 -0
- package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +1 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +20 -0
- package/dist/api/resources/planmigrations/client/requests/PreviewMigrationRequestBody.d.ts +16 -0
- package/dist/api/resources/planmigrations/client/requests/index.d.ts +1 -0
- package/dist/api/resources/planmigrations/types/PreviewMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/index.d.ts +1 -0
- package/dist/api/types/AuditLogExportMetadata.d.ts +12 -0
- package/dist/api/types/BillingCreditGrantZeroedOutReason.d.ts +1 -0
- package/dist/api/types/CatalogConfigOrderedBundle.d.ts +3 -0
- package/dist/api/types/CatalogConfigOrderedBundleResponseData.d.ts +3 -0
- package/dist/api/types/CatalogConfigOrderedEntitlement.d.ts +4 -0
- package/dist/api/types/CatalogConfigOrderedEntitlementResponseData.d.ts +4 -0
- package/dist/api/types/CatalogConfigOrderedPlan.d.ts +5 -0
- package/dist/api/types/CatalogConfigOrderedPlanResponseData.d.ts +5 -0
- package/dist/api/types/CatalogConfigurationResponseData.d.ts +14 -0
- package/dist/api/types/CatalogCreditBundleIDsResponseData.d.ts +3 -0
- package/dist/api/types/CatalogDerivedFeatureResponseData.d.ts +5 -0
- package/dist/api/types/CatalogDerivedFeaturesResponseData.d.ts +4 -0
- package/dist/api/types/CatalogPlanIDsResponseData.d.ts +3 -0
- package/dist/api/types/CatalogResponseData.d.ts +16 -0
- package/dist/api/types/CompanyBillingAddressView.d.ts +8 -0
- package/dist/api/types/CompanyBillingCheckoutSettings.d.ts +5 -0
- package/dist/api/types/CompanyBillingDetailsResponseData.d.ts +8 -0
- package/dist/api/types/CompanyBillingDetailsView.d.ts +8 -0
- package/dist/api/types/CompanyFeatureUsageExportMetadata.d.ts +36 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +1 -0
- package/dist/api/types/ComponentResponseData.d.ts +1 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +1 -0
- package/dist/api/types/CreditsAutoTopupSuccess.d.ts +7 -0
- package/dist/api/types/CreditsCreditPurchaseSuccess.d.ts +9 -0
- package/dist/api/types/CreditsWebhookCompanySummary.d.ts +4 -0
- package/dist/api/types/CreditsWebhookCreditSummary.d.ts +4 -0
- package/dist/api/types/CustomerBillingAddress.d.ts +8 -0
- package/dist/api/types/DataExportMetadata.d.ts +10 -0
- package/dist/api/types/DataExportOutputFileType.d.ts +5 -1
- package/dist/api/types/DataExportResponseData.d.ts +1 -1
- package/dist/api/types/DataExportType.d.ts +5 -1
- package/dist/api/types/FeatureDetailResponseData.d.ts +6 -0
- package/dist/api/types/FeatureEntitlement.d.ts +2 -0
- package/dist/api/types/FeatureInPlanResponseData.d.ts +4 -0
- package/dist/api/types/FeatureResponseData.d.ts +4 -0
- package/dist/api/types/FeatureType.d.ts +1 -0
- package/dist/api/types/FeatureView.d.ts +2 -0
- package/dist/api/types/LicenseResponseData.d.ts +6 -0
- package/dist/api/types/PlanCatalogMembershipResponseData.d.ts +4 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +1 -0
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationPreviewCompanyResponseData.d.ts +8 -0
- package/dist/api/types/PlanVersionMigrationPreviewResponseData.d.ts +4 -0
- package/dist/api/types/PlanViewPublicResponseData.d.ts +1 -0
- package/dist/api/types/PreviewSubscriptionDiscountResponseData.d.ts +13 -0
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -0
- package/dist/api/types/RulesengineFeatureEntitlement.d.ts +2 -0
- package/dist/api/types/RulesengineWarningTier.d.ts +6 -0
- package/dist/api/types/UpsertCompanyRequestBody.d.ts +4 -0
- package/dist/api/types/WarningTier.d.ts +6 -0
- package/dist/api/types/WebhookRequestType.d.ts +2 -0
- package/dist/api/types/index.d.ts +31 -0
- package/dist/index.js +9 -9
- package/dist/serialization/resources/accounts/types/CountAccountMembersParams.d.ts +2 -0
- package/dist/serialization/resources/accounts/types/ListAccountMembersParams.d.ts +2 -0
- package/dist/serialization/resources/catalogs/client/index.d.ts +1 -0
- package/dist/serialization/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +11 -0
- package/dist/serialization/resources/catalogs/client/requests/UpdateCatalogConfigurationRequestBody.d.ts +19 -0
- package/dist/serialization/resources/catalogs/client/requests/UpdateCatalogRequestBody.d.ts +11 -0
- package/dist/serialization/resources/catalogs/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/catalogs/index.d.ts +2 -0
- package/dist/serialization/resources/catalogs/types/CreateCatalogResponse.d.ts +11 -0
- package/dist/serialization/resources/catalogs/types/DeleteCatalogResponse.d.ts +11 -0
- package/dist/serialization/resources/catalogs/types/GetCatalogResponse.d.ts +11 -0
- package/dist/serialization/resources/catalogs/types/GetConfigurationResponse.d.ts +11 -0
- package/dist/serialization/resources/catalogs/types/GetCreditBundlesInCatalogResponse.d.ts +11 -0
- package/dist/serialization/resources/catalogs/types/GetDerivedFeaturesResponse.d.ts +11 -0
- package/dist/serialization/resources/catalogs/types/GetPlansInCatalogResponse.d.ts +11 -0
- package/dist/serialization/resources/catalogs/types/ListCatalogsParams.d.ts +12 -0
- package/dist/serialization/resources/catalogs/types/ListCatalogsResponse.d.ts +12 -0
- package/dist/serialization/resources/catalogs/types/UpdateCatalogResponse.d.ts +11 -0
- package/dist/serialization/resources/catalogs/types/UpdateConfigurationResponse.d.ts +11 -0
- package/dist/serialization/resources/catalogs/types/index.d.ts +11 -0
- package/dist/serialization/resources/checkout/client/requests/UpdateCompanyBillingDetailsRequestBody.d.ts +14 -0
- package/dist/serialization/resources/checkout/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/checkout/types/GetCompanyBillingDetailsResponse.d.ts +11 -0
- package/dist/serialization/resources/checkout/types/UpdateCompanyBillingDetailsResponse.d.ts +11 -0
- package/dist/serialization/resources/checkout/types/index.d.ts +2 -0
- package/dist/serialization/resources/components/client/requests/BindCatalogRequestBody.d.ts +9 -0
- package/dist/serialization/resources/components/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/components/types/BindCatalogResponse.d.ts +11 -0
- package/dist/serialization/resources/components/types/index.d.ts +1 -0
- package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +6 -1
- package/dist/serialization/resources/dataexports/types/GetDataExportResponse.d.ts +11 -0
- package/dist/serialization/resources/dataexports/types/ListDataExportsParams.d.ts +14 -0
- package/dist/serialization/resources/dataexports/types/ListDataExportsResponse.d.ts +12 -0
- package/dist/serialization/resources/dataexports/types/index.d.ts +3 -0
- package/dist/serialization/resources/index.d.ts +5 -0
- package/dist/serialization/resources/licenses/index.d.ts +1 -0
- package/dist/serialization/resources/licenses/types/CountLicensesParams.d.ts +13 -0
- package/dist/serialization/resources/licenses/types/CountLicensesResponse.d.ts +12 -0
- package/dist/serialization/resources/licenses/types/GetSingleLicenseResponse.d.ts +11 -0
- package/dist/serialization/resources/licenses/types/ListLicensesParams.d.ts +13 -0
- package/dist/serialization/resources/licenses/types/ListLicensesResponse.d.ts +12 -0
- package/dist/serialization/resources/licenses/types/index.d.ts +5 -0
- package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +2 -0
- package/dist/serialization/resources/planmigrations/client/requests/PreviewMigrationRequestBody.d.ts +13 -0
- package/dist/serialization/resources/planmigrations/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/types/PreviewMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/index.d.ts +1 -0
- package/dist/serialization/types/AuditLogExportMetadata.d.ts +13 -0
- package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +1 -1
- package/dist/serialization/types/CatalogConfigOrderedBundle.d.ts +9 -0
- package/dist/serialization/types/CatalogConfigOrderedBundleResponseData.d.ts +9 -0
- package/dist/serialization/types/CatalogConfigOrderedEntitlement.d.ts +10 -0
- package/dist/serialization/types/CatalogConfigOrderedEntitlementResponseData.d.ts +10 -0
- package/dist/serialization/types/CatalogConfigOrderedPlan.d.ts +11 -0
- package/dist/serialization/types/CatalogConfigOrderedPlanResponseData.d.ts +11 -0
- package/dist/serialization/types/CatalogConfigurationResponseData.d.ts +22 -0
- package/dist/serialization/types/CatalogCreditBundleIDsResponseData.d.ts +9 -0
- package/dist/serialization/types/CatalogDerivedFeatureResponseData.d.ts +11 -0
- package/dist/serialization/types/CatalogDerivedFeaturesResponseData.d.ts +10 -0
- package/dist/serialization/types/CatalogPlanIDsResponseData.d.ts +9 -0
- package/dist/serialization/types/CatalogResponseData.d.ts +22 -0
- package/dist/serialization/types/CompanyBillingAddressView.d.ts +14 -0
- package/dist/serialization/types/CompanyBillingCheckoutSettings.d.ts +11 -0
- package/dist/serialization/types/CompanyBillingDetailsResponseData.d.ts +16 -0
- package/dist/serialization/types/CompanyBillingDetailsView.d.ts +16 -0
- package/dist/serialization/types/CompanyFeatureUsageExportMetadata.d.ts +25 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentResponseData.d.ts +1 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +2 -0
- package/dist/serialization/types/CreditsAutoTopupSuccess.d.ts +14 -0
- package/dist/serialization/types/CreditsCreditPurchaseSuccess.d.ts +16 -0
- package/dist/serialization/types/CreditsWebhookCompanySummary.d.ts +10 -0
- package/dist/serialization/types/CreditsWebhookCreditSummary.d.ts +10 -0
- package/dist/serialization/types/CustomerBillingAddress.d.ts +14 -0
- package/dist/serialization/types/DataExportMetadata.d.ts +15 -0
- package/dist/serialization/types/DataExportOutputFileType.d.ts +1 -1
- package/dist/serialization/types/DataExportResponseData.d.ts +2 -1
- package/dist/serialization/types/DataExportType.d.ts +1 -1
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +4 -0
- package/dist/serialization/types/FeatureEntitlement.d.ts +2 -0
- package/dist/serialization/types/FeatureInPlanResponseData.d.ts +2 -0
- package/dist/serialization/types/FeatureResponseData.d.ts +2 -0
- package/dist/serialization/types/FeatureType.d.ts +1 -1
- package/dist/serialization/types/FeatureView.d.ts +3 -0
- package/dist/serialization/types/LicenseResponseData.d.ts +12 -0
- package/dist/serialization/types/PlanCatalogMembershipResponseData.d.ts +10 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanVersionMigrationPreviewCompanyResponseData.d.ts +14 -0
- package/dist/serialization/types/PlanVersionMigrationPreviewResponseData.d.ts +10 -0
- package/dist/serialization/types/PlanViewPublicResponseData.d.ts +2 -0
- package/dist/serialization/types/PreviewSubscriptionDiscountResponseData.d.ts +19 -0
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +3 -0
- package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +2 -0
- package/dist/serialization/types/RulesengineWarningTier.d.ts +10 -0
- package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +2 -0
- package/dist/serialization/types/WarningTier.d.ts +10 -0
- package/dist/serialization/types/WebhookRequestType.d.ts +1 -1
- package/dist/serialization/types/index.d.ts +31 -0
- package/package.json +1 -1
|
@@ -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 CatalogConfigOrderedEntitlement: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedEntitlement.Raw, Schematic.CatalogConfigOrderedEntitlement>;
|
|
5
|
+
export declare namespace CatalogConfigOrderedEntitlement {
|
|
6
|
+
interface Raw {
|
|
7
|
+
plan_entitlement_id: string;
|
|
8
|
+
visible?: boolean | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const CatalogConfigOrderedEntitlementResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedEntitlementResponseData.Raw, Schematic.CatalogConfigOrderedEntitlementResponseData>;
|
|
5
|
+
export declare namespace CatalogConfigOrderedEntitlementResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
plan_entitlement_id: string;
|
|
8
|
+
visible: boolean;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -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 { CatalogConfigOrderedEntitlement } from "./CatalogConfigOrderedEntitlement";
|
|
5
|
+
export declare const CatalogConfigOrderedPlan: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedPlan.Raw, Schematic.CatalogConfigOrderedPlan>;
|
|
6
|
+
export declare namespace CatalogConfigOrderedPlan {
|
|
7
|
+
interface Raw {
|
|
8
|
+
entitlements?: CatalogConfigOrderedEntitlement.Raw[] | null;
|
|
9
|
+
plan_id: string;
|
|
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 { CatalogConfigOrderedEntitlementResponseData } from "./CatalogConfigOrderedEntitlementResponseData";
|
|
5
|
+
export declare const CatalogConfigOrderedPlanResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedPlanResponseData.Raw, Schematic.CatalogConfigOrderedPlanResponseData>;
|
|
6
|
+
export declare namespace CatalogConfigOrderedPlanResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
entitlements: CatalogConfigOrderedEntitlementResponseData.Raw[];
|
|
9
|
+
plan_id: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { CatalogConfigOrderedBundleResponseData } from "./CatalogConfigOrderedBundleResponseData";
|
|
5
|
+
import { CatalogConfigOrderedPlanResponseData } from "./CatalogConfigOrderedPlanResponseData";
|
|
6
|
+
import { PlanGroupPlanDetailResponseData } from "./PlanGroupPlanDetailResponseData";
|
|
7
|
+
export declare const CatalogConfigurationResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigurationResponseData.Raw, Schematic.CatalogConfigurationResponseData>;
|
|
8
|
+
export declare namespace CatalogConfigurationResponseData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
add_ons: PlanGroupPlanDetailResponseData.Raw[];
|
|
11
|
+
custom_plan_cta_text?: string | null;
|
|
12
|
+
custom_plan_cta_url?: string | null;
|
|
13
|
+
custom_plan_price_text?: string | null;
|
|
14
|
+
custom_plans_visible: boolean;
|
|
15
|
+
ordered_add_ons: CatalogConfigOrderedPlanResponseData.Raw[];
|
|
16
|
+
ordered_bundles: CatalogConfigOrderedBundleResponseData.Raw[];
|
|
17
|
+
ordered_plans: CatalogConfigOrderedPlanResponseData.Raw[];
|
|
18
|
+
plans: PlanGroupPlanDetailResponseData.Raw[];
|
|
19
|
+
pricing_model?: string | null;
|
|
20
|
+
pricing_url?: string | null;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -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 CatalogCreditBundleIDsResponseData: core.serialization.ObjectSchema<serializers.CatalogCreditBundleIDsResponseData.Raw, Schematic.CatalogCreditBundleIDsResponseData>;
|
|
5
|
+
export declare namespace CatalogCreditBundleIDsResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
credit_bundle_ids: string[];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const CatalogDerivedFeatureResponseData: core.serialization.ObjectSchema<serializers.CatalogDerivedFeatureResponseData.Raw, Schematic.CatalogDerivedFeatureResponseData>;
|
|
5
|
+
export declare namespace CatalogDerivedFeatureResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
icon: string;
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -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 { CatalogDerivedFeatureResponseData } from "./CatalogDerivedFeatureResponseData";
|
|
5
|
+
export declare const CatalogDerivedFeaturesResponseData: core.serialization.ObjectSchema<serializers.CatalogDerivedFeaturesResponseData.Raw, Schematic.CatalogDerivedFeaturesResponseData>;
|
|
6
|
+
export declare namespace CatalogDerivedFeaturesResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
features: CatalogDerivedFeatureResponseData.Raw[];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -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 CatalogPlanIDsResponseData: core.serialization.ObjectSchema<serializers.CatalogPlanIDsResponseData.Raw, Schematic.CatalogPlanIDsResponseData>;
|
|
5
|
+
export declare namespace CatalogPlanIDsResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
plan_ids: string[];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const CatalogResponseData: core.serialization.ObjectSchema<serializers.CatalogResponseData.Raw, Schematic.CatalogResponseData>;
|
|
5
|
+
export declare namespace CatalogResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
account_id: string;
|
|
8
|
+
created_at: string;
|
|
9
|
+
custom_plan_cta_text?: string | null;
|
|
10
|
+
custom_plan_cta_url?: string | null;
|
|
11
|
+
custom_plan_price_text?: string | null;
|
|
12
|
+
custom_plans_visible: boolean;
|
|
13
|
+
description?: string | null;
|
|
14
|
+
environment_id: string;
|
|
15
|
+
id: string;
|
|
16
|
+
is_default: boolean;
|
|
17
|
+
name: string;
|
|
18
|
+
pricing_model?: string | null;
|
|
19
|
+
pricing_url?: string | null;
|
|
20
|
+
updated_at: string;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -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 CompanyBillingAddressView: core.serialization.ObjectSchema<serializers.CompanyBillingAddressView.Raw, Schematic.CompanyBillingAddressView>;
|
|
5
|
+
export declare namespace CompanyBillingAddressView {
|
|
6
|
+
interface Raw {
|
|
7
|
+
city: string;
|
|
8
|
+
country: string;
|
|
9
|
+
line1: string;
|
|
10
|
+
line2: string;
|
|
11
|
+
postal_code: string;
|
|
12
|
+
state: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const CompanyBillingCheckoutSettings: core.serialization.ObjectSchema<serializers.CompanyBillingCheckoutSettings.Raw, Schematic.CompanyBillingCheckoutSettings>;
|
|
5
|
+
export declare namespace CompanyBillingCheckoutSettings {
|
|
6
|
+
interface Raw {
|
|
7
|
+
collect_address: boolean;
|
|
8
|
+
collect_email: boolean;
|
|
9
|
+
collect_phone: boolean;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -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 { CheckoutFieldWithValue } from "./CheckoutFieldWithValue";
|
|
5
|
+
import { CompanyBillingAddressView } from "./CompanyBillingAddressView";
|
|
6
|
+
import { CompanyBillingCheckoutSettings } from "./CompanyBillingCheckoutSettings";
|
|
7
|
+
export declare const CompanyBillingDetailsResponseData: core.serialization.ObjectSchema<serializers.CompanyBillingDetailsResponseData.Raw, Schematic.CompanyBillingDetailsResponseData>;
|
|
8
|
+
export declare namespace CompanyBillingDetailsResponseData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
address?: CompanyBillingAddressView.Raw | null;
|
|
11
|
+
checkout_settings: CompanyBillingCheckoutSettings.Raw;
|
|
12
|
+
custom_fields: CheckoutFieldWithValue.Raw[];
|
|
13
|
+
email?: string | null;
|
|
14
|
+
phone?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -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 { CheckoutFieldWithValue } from "./CheckoutFieldWithValue";
|
|
5
|
+
import { CompanyBillingAddressView } from "./CompanyBillingAddressView";
|
|
6
|
+
import { CompanyBillingCheckoutSettings } from "./CompanyBillingCheckoutSettings";
|
|
7
|
+
export declare const CompanyBillingDetailsView: core.serialization.ObjectSchema<serializers.CompanyBillingDetailsView.Raw, Schematic.CompanyBillingDetailsView>;
|
|
8
|
+
export declare namespace CompanyBillingDetailsView {
|
|
9
|
+
interface Raw {
|
|
10
|
+
address?: CompanyBillingAddressView.Raw | null;
|
|
11
|
+
checkout_settings: CompanyBillingCheckoutSettings.Raw;
|
|
12
|
+
custom_fields: CheckoutFieldWithValue.Raw[];
|
|
13
|
+
email?: string | null;
|
|
14
|
+
phone?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 CompanyFeatureUsageExportMetadata: core.serialization.ObjectSchema<serializers.CompanyFeatureUsageExportMetadata.Raw, Schematic.CompanyFeatureUsageExportMetadata>;
|
|
5
|
+
export declare namespace CompanyFeatureUsageExportMetadata {
|
|
6
|
+
interface Raw {
|
|
7
|
+
company_ids?: string[] | null;
|
|
8
|
+
credit_type_ids?: string[] | null;
|
|
9
|
+
feature_ids: string[];
|
|
10
|
+
has_scheduled_downgrade?: boolean | null;
|
|
11
|
+
monetized_subscriptions?: boolean | null;
|
|
12
|
+
notification_email_recipient_email_addresses?: string[] | null;
|
|
13
|
+
plan_id?: string | null;
|
|
14
|
+
plan_ids?: string[] | null;
|
|
15
|
+
plan_version_id?: string | null;
|
|
16
|
+
q?: string | null;
|
|
17
|
+
subscription_statuses?: string[] | null;
|
|
18
|
+
subscription_types?: string[] | null;
|
|
19
|
+
with_entitlement_for?: string | null;
|
|
20
|
+
with_subscription?: boolean | null;
|
|
21
|
+
without_feature_override_for?: string | null;
|
|
22
|
+
without_plan?: boolean | null;
|
|
23
|
+
without_subscription?: boolean | null;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -12,6 +12,7 @@ import { CompanyPlanInvalidReason } from "./CompanyPlanInvalidReason";
|
|
|
12
12
|
import { CustomPlanConfig } from "./CustomPlanConfig";
|
|
13
13
|
import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
|
|
14
14
|
import { FeatureUsageResponseData } from "./FeatureUsageResponseData";
|
|
15
|
+
import { PlanCatalogMembershipResponseData } from "./PlanCatalogMembershipResponseData";
|
|
15
16
|
import { PlanCreditGrantView } from "./PlanCreditGrantView";
|
|
16
17
|
import { PlanCurrencyPricesResponseData } from "./PlanCurrencyPricesResponseData";
|
|
17
18
|
import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
@@ -28,6 +29,7 @@ export declare namespace CompanyPlanDetailResponseData {
|
|
|
28
29
|
billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
|
|
29
30
|
billing_product?: BillingProductDetailResponseData.Raw | null;
|
|
30
31
|
billing_strategy: BillingStrategy.Raw;
|
|
32
|
+
catalogs?: PlanCatalogMembershipResponseData.Raw[] | null;
|
|
31
33
|
charge_type: ChargeType.Raw;
|
|
32
34
|
company_can_trial: boolean;
|
|
33
35
|
company_count: number;
|
|
@@ -7,6 +7,7 @@ export declare const ComponentResponseData: core.serialization.ObjectSchema<seri
|
|
|
7
7
|
export declare namespace ComponentResponseData {
|
|
8
8
|
interface Raw {
|
|
9
9
|
ast?: Record<string, number> | null;
|
|
10
|
+
catalog_id?: string | null;
|
|
10
11
|
created_at: string;
|
|
11
12
|
id: string;
|
|
12
13
|
name: string;
|
|
@@ -8,6 +8,7 @@ import { EntitlementPriceBehavior } from "./EntitlementPriceBehavior";
|
|
|
8
8
|
import { EntitlementValueType } from "./EntitlementValueType";
|
|
9
9
|
import { MetricPeriod } from "./MetricPeriod";
|
|
10
10
|
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
11
|
+
import { WarningTierRequestBody } from "./WarningTierRequestBody";
|
|
11
12
|
export declare const CreateEntitlementInBundleRequestBody: core.serialization.ObjectSchema<serializers.CreateEntitlementInBundleRequestBody.Raw, Schematic.CreateEntitlementInBundleRequestBody>;
|
|
12
13
|
export declare namespace CreateEntitlementInBundleRequestBody {
|
|
13
14
|
interface Raw {
|
|
@@ -40,6 +41,7 @@ export declare namespace CreateEntitlementInBundleRequestBody {
|
|
|
40
41
|
value_numeric?: number | null;
|
|
41
42
|
value_trait_id?: string | null;
|
|
42
43
|
value_type: EntitlementValueType.Raw;
|
|
44
|
+
warning_tiers?: WarningTierRequestBody.Raw[] | null;
|
|
43
45
|
yearly_metered_price_id?: string | null;
|
|
44
46
|
yearly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
45
47
|
yearly_unit_price?: number | 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
|
+
import { CreditsAutoTopupCompanySummary } from "./CreditsAutoTopupCompanySummary";
|
|
5
|
+
import { CreditsAutoTopupCreditSummary } from "./CreditsAutoTopupCreditSummary";
|
|
6
|
+
export declare const CreditsAutoTopupSuccess: core.serialization.ObjectSchema<serializers.CreditsAutoTopupSuccess.Raw, Schematic.CreditsAutoTopupSuccess>;
|
|
7
|
+
export declare namespace CreditsAutoTopupSuccess {
|
|
8
|
+
interface Raw {
|
|
9
|
+
company?: CreditsAutoTopupCompanySummary.Raw | null;
|
|
10
|
+
credit?: CreditsAutoTopupCreditSummary.Raw | null;
|
|
11
|
+
grant_id: string;
|
|
12
|
+
quantity: number;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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 { CreditsWebhookCompanySummary } from "./CreditsWebhookCompanySummary";
|
|
5
|
+
import { CreditsWebhookCreditSummary } from "./CreditsWebhookCreditSummary";
|
|
6
|
+
export declare const CreditsCreditPurchaseSuccess: core.serialization.ObjectSchema<serializers.CreditsCreditPurchaseSuccess.Raw, Schematic.CreditsCreditPurchaseSuccess>;
|
|
7
|
+
export declare namespace CreditsCreditPurchaseSuccess {
|
|
8
|
+
interface Raw {
|
|
9
|
+
bundle_id: string;
|
|
10
|
+
bundle_name: string;
|
|
11
|
+
company?: CreditsWebhookCompanySummary.Raw | null;
|
|
12
|
+
credit?: CreditsWebhookCreditSummary.Raw | null;
|
|
13
|
+
grant_ids: string[];
|
|
14
|
+
quantity: number;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -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 CreditsWebhookCompanySummary: core.serialization.ObjectSchema<serializers.CreditsWebhookCompanySummary.Raw, Schematic.CreditsWebhookCompanySummary>;
|
|
5
|
+
export declare namespace CreditsWebhookCompanySummary {
|
|
6
|
+
interface Raw {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const CreditsWebhookCreditSummary: core.serialization.ObjectSchema<serializers.CreditsWebhookCreditSummary.Raw, Schematic.CreditsWebhookCreditSummary>;
|
|
5
|
+
export declare namespace CreditsWebhookCreditSummary {
|
|
6
|
+
interface Raw {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -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 CustomerBillingAddress: core.serialization.ObjectSchema<serializers.CustomerBillingAddress.Raw, Schematic.CustomerBillingAddress>;
|
|
5
|
+
export declare namespace CustomerBillingAddress {
|
|
6
|
+
interface Raw {
|
|
7
|
+
city: string;
|
|
8
|
+
country: string;
|
|
9
|
+
line1: string;
|
|
10
|
+
line2: string;
|
|
11
|
+
postal_code: string;
|
|
12
|
+
state: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { AuditLogExportMetadata } from "./AuditLogExportMetadata";
|
|
5
|
+
import { CompanyFeatureUsageExportMetadata } from "./CompanyFeatureUsageExportMetadata";
|
|
6
|
+
export declare const DataExportMetadata: core.serialization.Schema<serializers.DataExportMetadata.Raw, Schematic.DataExportMetadata>;
|
|
7
|
+
export declare namespace DataExportMetadata {
|
|
8
|
+
type Raw = DataExportMetadata.AuditLog | DataExportMetadata.CompanyFeatureUsage;
|
|
9
|
+
interface AuditLog extends AuditLogExportMetadata.Raw {
|
|
10
|
+
export_type: "audit-log";
|
|
11
|
+
}
|
|
12
|
+
interface CompanyFeatureUsage extends CompanyFeatureUsageExportMetadata.Raw {
|
|
13
|
+
export_type: "company-feature-usage";
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const DataExportOutputFileType: core.serialization.Schema<serializers.DataExportOutputFileType.Raw, Schematic.DataExportOutputFileType>;
|
|
5
5
|
export declare namespace DataExportOutputFileType {
|
|
6
|
-
type Raw = "csv";
|
|
6
|
+
type Raw = "csv" | "csv.gz";
|
|
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 { DataExportMetadata } from "./DataExportMetadata";
|
|
4
5
|
import { DataExportOutputFileType } from "./DataExportOutputFileType";
|
|
5
6
|
import { DataExportStatus } from "./DataExportStatus";
|
|
6
7
|
import { DataExportType } from "./DataExportType";
|
|
@@ -12,7 +13,7 @@ export declare namespace DataExportResponseData {
|
|
|
12
13
|
environment_id: string;
|
|
13
14
|
export_type: DataExportType.Raw;
|
|
14
15
|
id: string;
|
|
15
|
-
metadata
|
|
16
|
+
metadata?: DataExportMetadata.Raw | null;
|
|
16
17
|
output_file_type: DataExportOutputFileType.Raw;
|
|
17
18
|
status: DataExportStatus.Raw;
|
|
18
19
|
updated_at: string;
|
|
@@ -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 = "company-feature-usage";
|
|
6
|
+
type Raw = "audit-log" | "company-feature-usage";
|
|
7
7
|
}
|
|
@@ -3,6 +3,7 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { AccountMemberResponseData } from "./AccountMemberResponseData";
|
|
5
5
|
import { BillingLinkedResourceResponseData } from "./BillingLinkedResourceResponseData";
|
|
6
|
+
import { BillingProductResponseData } from "./BillingProductResponseData";
|
|
6
7
|
import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
|
|
7
8
|
import { EventSummaryResponseData } from "./EventSummaryResponseData";
|
|
8
9
|
import { FeatureLifecyclePhase } from "./FeatureLifecyclePhase";
|
|
@@ -13,6 +14,7 @@ export declare const FeatureDetailResponseData: core.serialization.ObjectSchema<
|
|
|
13
14
|
export declare namespace FeatureDetailResponseData {
|
|
14
15
|
interface Raw {
|
|
15
16
|
billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
|
|
17
|
+
billing_product?: BillingProductResponseData.Raw | null;
|
|
16
18
|
created_at: string;
|
|
17
19
|
description: string;
|
|
18
20
|
event_subtype?: string | null;
|
|
@@ -21,6 +23,7 @@ export declare namespace FeatureDetailResponseData {
|
|
|
21
23
|
flags: FlagDetailResponseData.Raw[];
|
|
22
24
|
icon: string;
|
|
23
25
|
id: string;
|
|
26
|
+
license_id?: string | null;
|
|
24
27
|
lifecycle_phase?: FeatureLifecyclePhase.Raw | null;
|
|
25
28
|
maintainer?: AccountMemberResponseData.Raw | null;
|
|
26
29
|
maintainer_account_member_id?: string | null;
|
|
@@ -31,5 +34,6 @@ export declare namespace FeatureDetailResponseData {
|
|
|
31
34
|
trait?: EntityTraitDefinitionResponseData.Raw | null;
|
|
32
35
|
trait_id?: string | null;
|
|
33
36
|
updated_at: string;
|
|
37
|
+
usage_limit_trait_id?: string | null;
|
|
34
38
|
}
|
|
35
39
|
}
|
|
@@ -4,6 +4,7 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { EntitlementValueType } from "./EntitlementValueType";
|
|
5
5
|
import { MetricPeriod } from "./MetricPeriod";
|
|
6
6
|
import { MetricPeriodMonthReset } from "./MetricPeriodMonthReset";
|
|
7
|
+
import { WarningTier } from "./WarningTier";
|
|
7
8
|
export declare const FeatureEntitlement: core.serialization.ObjectSchema<serializers.FeatureEntitlement.Raw, Schematic.FeatureEntitlement>;
|
|
8
9
|
export declare namespace FeatureEntitlement {
|
|
9
10
|
interface Raw {
|
|
@@ -25,5 +26,6 @@ export declare namespace FeatureEntitlement {
|
|
|
25
26
|
soft_limit?: number | null;
|
|
26
27
|
usage?: number | null;
|
|
27
28
|
value_type: EntitlementValueType.Raw;
|
|
29
|
+
warning_tiers?: WarningTier.Raw[] | null;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
@@ -20,6 +20,7 @@ export declare namespace FeatureInPlanResponseData {
|
|
|
20
20
|
flags: FlagInPlanResponseData.Raw[];
|
|
21
21
|
icon: string;
|
|
22
22
|
id: string;
|
|
23
|
+
license_id?: string | null;
|
|
23
24
|
lifecycle_phase?: FeatureLifecyclePhase.Raw | null;
|
|
24
25
|
maintainer_account_member_id?: string | null;
|
|
25
26
|
name: string;
|
|
@@ -29,5 +30,6 @@ export declare namespace FeatureInPlanResponseData {
|
|
|
29
30
|
trait?: EntityTraitDefinitionResponseData.Raw | null;
|
|
30
31
|
trait_id?: string | null;
|
|
31
32
|
updated_at: string;
|
|
33
|
+
usage_limit_trait_id?: string | null;
|
|
32
34
|
}
|
|
33
35
|
}
|
|
@@ -12,6 +12,7 @@ export declare namespace FeatureResponseData {
|
|
|
12
12
|
feature_type: FeatureType.Raw;
|
|
13
13
|
icon: string;
|
|
14
14
|
id: string;
|
|
15
|
+
license_id?: string | null;
|
|
15
16
|
lifecycle_phase?: FeatureLifecyclePhase.Raw | null;
|
|
16
17
|
maintainer_account_member_id?: string | null;
|
|
17
18
|
name: string;
|
|
@@ -19,5 +20,6 @@ export declare namespace FeatureResponseData {
|
|
|
19
20
|
singular_name?: string | null;
|
|
20
21
|
trait_id?: string | null;
|
|
21
22
|
updated_at: string;
|
|
23
|
+
usage_limit_trait_id?: string | null;
|
|
22
24
|
}
|
|
23
25
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const FeatureType: core.serialization.Schema<serializers.FeatureType.Raw, Schematic.FeatureType>;
|
|
5
5
|
export declare namespace FeatureType {
|
|
6
|
-
type Raw = "boolean" | "event" | "trait";
|
|
6
|
+
type Raw = "boolean" | "event" | "license" | "trait";
|
|
7
7
|
}
|
|
@@ -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 { BillingLinkedResourceResponseData } from "./BillingLinkedResourceResponseData";
|
|
5
|
+
import { BillingProductResponseData } from "./BillingProductResponseData";
|
|
5
6
|
import { EntityTraitDefinitionResponseData } from "./EntityTraitDefinitionResponseData";
|
|
6
7
|
import { EventSummaryResponseData } from "./EventSummaryResponseData";
|
|
7
8
|
import { FeatureLifecyclePhase } from "./FeatureLifecyclePhase";
|
|
@@ -13,6 +14,7 @@ export declare namespace FeatureView {
|
|
|
13
14
|
interface Raw {
|
|
14
15
|
account_id: string;
|
|
15
16
|
billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
|
|
17
|
+
billing_product?: BillingProductResponseData.Raw | null;
|
|
16
18
|
created_at: string;
|
|
17
19
|
description: string;
|
|
18
20
|
event_subtype?: string | null;
|
|
@@ -21,6 +23,7 @@ export declare namespace FeatureView {
|
|
|
21
23
|
flags: FlagView.Raw[];
|
|
22
24
|
icon: string;
|
|
23
25
|
id: string;
|
|
26
|
+
license_id?: string | null;
|
|
24
27
|
lifecycle_phase?: FeatureLifecyclePhase.Raw | null;
|
|
25
28
|
name: string;
|
|
26
29
|
plans: PreviewObject.Raw[];
|
|
@@ -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 LicenseResponseData: core.serialization.ObjectSchema<serializers.LicenseResponseData.Raw, Schematic.LicenseResponseData>;
|
|
5
|
+
export declare namespace LicenseResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
created_at: string;
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
updated_at: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const PlanCatalogMembershipResponseData: core.serialization.ObjectSchema<serializers.PlanCatalogMembershipResponseData.Raw, Schematic.PlanCatalogMembershipResponseData>;
|
|
5
|
+
export declare namespace PlanCatalogMembershipResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -10,6 +10,7 @@ import { BillingProviderType } from "./BillingProviderType";
|
|
|
10
10
|
import { BillingStrategy } from "./BillingStrategy";
|
|
11
11
|
import { ChargeType } from "./ChargeType";
|
|
12
12
|
import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
|
|
13
|
+
import { PlanCatalogMembershipResponseData } from "./PlanCatalogMembershipResponseData";
|
|
13
14
|
import { PlanCurrencyPricesResponseData } from "./PlanCurrencyPricesResponseData";
|
|
14
15
|
import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
15
16
|
import { PlanIcon } from "./PlanIcon";
|
|
@@ -23,6 +24,7 @@ export declare namespace PlanDetailResponseData {
|
|
|
23
24
|
billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
|
|
24
25
|
billing_product?: BillingProductDetailResponseData.Raw | null;
|
|
25
26
|
billing_strategy: BillingStrategy.Raw;
|
|
27
|
+
catalogs?: PlanCatalogMembershipResponseData.Raw[] | null;
|
|
26
28
|
charge_type: ChargeType.Raw;
|
|
27
29
|
company_count: number;
|
|
28
30
|
company_id?: string | null;
|
|
@@ -11,6 +11,7 @@ import { BillingStrategy } from "./BillingStrategy";
|
|
|
11
11
|
import { ChargeType } from "./ChargeType";
|
|
12
12
|
import { CustomPlanViewConfigResponseData } from "./CustomPlanViewConfigResponseData";
|
|
13
13
|
import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
|
|
14
|
+
import { PlanCatalogMembershipResponseData } from "./PlanCatalogMembershipResponseData";
|
|
14
15
|
import { PlanCurrencyPricesResponseData } from "./PlanCurrencyPricesResponseData";
|
|
15
16
|
import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
16
17
|
import { PlanIcon } from "./PlanIcon";
|
|
@@ -26,6 +27,7 @@ export declare namespace PlanGroupPlanDetailResponseData {
|
|
|
26
27
|
billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
|
|
27
28
|
billing_product?: BillingProductDetailResponseData.Raw | null;
|
|
28
29
|
billing_strategy: BillingStrategy.Raw;
|
|
30
|
+
catalogs?: PlanCatalogMembershipResponseData.Raw[] | null;
|
|
29
31
|
charge_type: ChargeType.Raw;
|
|
30
32
|
company_count: number;
|
|
31
33
|
company_id?: string | 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 PlanVersionMigrationPreviewCompanyResponseData: core.serialization.ObjectSchema<serializers.PlanVersionMigrationPreviewCompanyResponseData.Raw, Schematic.PlanVersionMigrationPreviewCompanyResponseData>;
|
|
5
|
+
export declare namespace PlanVersionMigrationPreviewCompanyResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
company_id: string;
|
|
8
|
+
has_billing_changes: boolean;
|
|
9
|
+
has_custom_pricing: boolean;
|
|
10
|
+
note?: string | null;
|
|
11
|
+
plan_version_id_from?: string | null;
|
|
12
|
+
will_update_subscription: boolean;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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 { PlanVersionMigrationPreviewCompanyResponseData } from "./PlanVersionMigrationPreviewCompanyResponseData";
|
|
5
|
+
export declare const PlanVersionMigrationPreviewResponseData: core.serialization.ObjectSchema<serializers.PlanVersionMigrationPreviewResponseData.Raw, Schematic.PlanVersionMigrationPreviewResponseData>;
|
|
6
|
+
export declare namespace PlanVersionMigrationPreviewResponseData {
|
|
7
|
+
interface Raw {
|
|
8
|
+
companies: PlanVersionMigrationPreviewCompanyResponseData.Raw[];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -10,6 +10,7 @@ import { BillingStrategy } from "./BillingStrategy";
|
|
|
10
10
|
import { ChargeType } from "./ChargeType";
|
|
11
11
|
import { CustomPlanConfig } from "./CustomPlanConfig";
|
|
12
12
|
import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
|
|
13
|
+
import { PlanCatalogMembershipResponseData } from "./PlanCatalogMembershipResponseData";
|
|
13
14
|
import { PlanCreditGrantView } from "./PlanCreditGrantView";
|
|
14
15
|
import { PlanCurrencyPricesResponseData } from "./PlanCurrencyPricesResponseData";
|
|
15
16
|
import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
|
|
@@ -26,6 +27,7 @@ export declare namespace PlanViewPublicResponseData {
|
|
|
26
27
|
billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
|
|
27
28
|
billing_product?: BillingProductDetailResponseData.Raw | null;
|
|
28
29
|
billing_strategy: BillingStrategy.Raw;
|
|
30
|
+
catalogs?: PlanCatalogMembershipResponseData.Raw[] | null;
|
|
29
31
|
charge_type: ChargeType.Raw;
|
|
30
32
|
company_count: number;
|
|
31
33
|
company_id?: string | null;
|
|
@@ -0,0 +1,19 @@
|
|
|
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 PreviewSubscriptionDiscountResponseData: core.serialization.ObjectSchema<serializers.PreviewSubscriptionDiscountResponseData.Raw, Schematic.PreviewSubscriptionDiscountResponseData>;
|
|
5
|
+
export declare namespace PreviewSubscriptionDiscountResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
amount_off?: number | null;
|
|
8
|
+
coupon_name: string;
|
|
9
|
+
currency?: string | null;
|
|
10
|
+
customer_facing_code?: string | null;
|
|
11
|
+
duration: string;
|
|
12
|
+
duration_in_months?: number | null;
|
|
13
|
+
ended_at?: string | null;
|
|
14
|
+
is_active: boolean;
|
|
15
|
+
percent_off?: number | null;
|
|
16
|
+
promo_code_external_id?: string | null;
|
|
17
|
+
started_at: string;
|
|
18
|
+
}
|
|
19
|
+
}
|