@schematichq/schematic-typescript-node 1.5.3 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Client.d.ts +3 -0
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +1 -0
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -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/companies/client/Client.d.ts +34 -0
- package/dist/api/resources/companies/client/requests/GetBillingEntityChildSubscriptionsRequest.d.ts +9 -0
- package/dist/api/resources/companies/client/requests/GetCompanyBillingEntityRequest.d.ts +9 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +2 -0
- package/dist/api/resources/companies/types/GetBillingEntityChildSubscriptionsParams.d.ts +6 -0
- package/dist/api/resources/companies/types/GetBillingEntityChildSubscriptionsResponse.d.ts +6 -0
- package/dist/api/resources/companies/types/GetCompanyBillingEntityParams.d.ts +6 -0
- package/dist/api/resources/companies/types/GetCompanyBillingEntityResponse.d.ts +6 -0
- package/dist/api/resources/companies/types/index.d.ts +4 -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/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +1 -0
- package/dist/api/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +0 -1
- package/dist/api/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +0 -1
- package/dist/api/types/AccountMemberPermission.d.ts +1 -0
- package/dist/api/types/AuditLogExportMetadata.d.ts +12 -0
- package/dist/api/types/BillingCreditAutoTopupAvailability.d.ts +6 -0
- package/dist/api/types/BillingCreditGrantZeroedOutReason.d.ts +2 -0
- package/dist/api/types/BillingPlanCreditGrantResetCadence.d.ts +2 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +5 -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/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +1 -0
- package/dist/api/types/CompanyBillingEntityResponseData.d.ts +5 -0
- package/dist/api/types/CompanyBillingEntitySubscriptionResponseData.d.ts +21 -0
- package/dist/api/types/CompanyFeatureUsageExportMetadata.d.ts +36 -0
- package/dist/api/types/CompanyPlanCreditGrantView.d.ts +2 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +3 -0
- package/dist/api/types/ComponentResponseData.d.ts +1 -0
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -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/EventBody.d.ts +1 -1
- package/dist/api/types/EventBodyInference.d.ts +30 -0
- package/dist/api/types/EventType.d.ts +1 -0
- package/dist/api/types/FeatureEntitlement.d.ts +2 -0
- package/dist/api/types/IntegrationsListResponseData.d.ts +1 -0
- package/dist/api/types/InvoiceRequestBody.d.ts +2 -0
- package/dist/api/types/InvoiceResponseData.d.ts +2 -0
- package/dist/api/types/ManagePlanRequest.d.ts +2 -0
- package/dist/api/types/MetronomeIntegrationConfig.d.ts +4 -1
- package/dist/api/types/PlanBundleResponseData.d.ts +0 -1
- package/dist/api/types/PlanCatalogMembershipResponseData.d.ts +4 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +2 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +3 -0
- package/dist/api/types/PlanEntitlementResponseData.d.ts +1 -0
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +3 -0
- package/dist/api/types/PlanViewPublicResponseData.d.ts +3 -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/UpdateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/api/types/UpsertCompanyRequestBody.d.ts +4 -0
- package/dist/api/types/WarningTier.d.ts +6 -0
- package/dist/api/types/WarningTierRequestBody.d.ts +4 -0
- package/dist/api/types/WarningTierResponseData.d.ts +5 -0
- package/dist/api/types/index.d.ts +25 -0
- package/dist/index.js +9 -9
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +1 -0
- package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.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/companies/types/GetBillingEntityChildSubscriptionsParams.d.ts +9 -0
- package/dist/serialization/resources/companies/types/GetBillingEntityChildSubscriptionsResponse.d.ts +12 -0
- package/dist/serialization/resources/companies/types/GetCompanyBillingEntityParams.d.ts +9 -0
- package/dist/serialization/resources/companies/types/GetCompanyBillingEntityResponse.d.ts +12 -0
- package/dist/serialization/resources/companies/types/index.d.ts +4 -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/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +2 -0
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +2 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +2 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +2 -0
- package/dist/serialization/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +0 -2
- package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +0 -2
- package/dist/serialization/types/AccountMemberPermission.d.ts +1 -1
- package/dist/serialization/types/AuditLogExportMetadata.d.ts +13 -0
- package/dist/serialization/types/BillingCreditAutoTopupAvailability.d.ts +7 -0
- package/dist/serialization/types/BillingCreditGrantZeroedOutReason.d.ts +1 -1
- package/dist/serialization/types/BillingPlanCreditGrantResetCadence.d.ts +1 -1
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +3 -0
- 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/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +1 -0
- package/dist/serialization/types/CompanyBillingEntityResponseData.d.ts +11 -0
- package/dist/serialization/types/CompanyBillingEntitySubscriptionResponseData.d.ts +32 -0
- package/dist/serialization/types/CompanyFeatureUsageExportMetadata.d.ts +25 -0
- package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +3 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +5 -0
- package/dist/serialization/types/ComponentResponseData.d.ts +1 -0
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +3 -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/EventBody.d.ts +2 -1
- package/dist/serialization/types/EventBodyInference.d.ts +22 -0
- package/dist/serialization/types/EventType.d.ts +1 -1
- package/dist/serialization/types/FeatureEntitlement.d.ts +2 -0
- package/dist/serialization/types/IntegrationsListResponseData.d.ts +1 -0
- package/dist/serialization/types/InvoiceRequestBody.d.ts +2 -0
- package/dist/serialization/types/InvoiceResponseData.d.ts +2 -0
- package/dist/serialization/types/ManagePlanRequest.d.ts +1 -0
- package/dist/serialization/types/MetronomeIntegrationConfig.d.ts +3 -1
- package/dist/serialization/types/PlanBundleResponseData.d.ts +0 -2
- package/dist/serialization/types/PlanCatalogMembershipResponseData.d.ts +10 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +3 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +5 -0
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +5 -0
- package/dist/serialization/types/PlanViewPublicResponseData.d.ts +5 -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/UpdateBillingPlanCreditGrantRequestBody.d.ts +3 -0
- package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +2 -0
- package/dist/serialization/types/WarningTier.d.ts +10 -0
- package/dist/serialization/types/WarningTierRequestBody.d.ts +10 -0
- package/dist/serialization/types/WarningTierResponseData.d.ts +11 -0
- package/dist/serialization/types/index.d.ts +25 -0
- package/dist/wasm/rulesengine.js +4 -4
- package/dist/wasm/rulesengine_bg.wasm.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ export declare namespace CreateBillingSubscriptionRequestBody {
|
|
|
11
11
|
application_id?: string | null;
|
|
12
12
|
cancel_at?: number | null;
|
|
13
13
|
cancel_at_period_end: boolean;
|
|
14
|
+
company_id?: string | null;
|
|
14
15
|
currency: string;
|
|
15
16
|
customer_external_id: string;
|
|
16
17
|
default_payment_method_external_id?: string | null;
|
|
@@ -12,8 +12,10 @@ export declare namespace CreateInvoiceRequestBody {
|
|
|
12
12
|
currency: string;
|
|
13
13
|
customer_external_id: string;
|
|
14
14
|
due_date?: string | null;
|
|
15
|
+
ending_balance?: number | null;
|
|
15
16
|
external_id?: string | null;
|
|
16
17
|
payment_method_external_id?: string | null;
|
|
18
|
+
starting_balance?: number | null;
|
|
17
19
|
status?: InvoiceStatus.Raw | null;
|
|
18
20
|
subscription_external_id?: string | null;
|
|
19
21
|
subtotal: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -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 CreateCatalogRequestBody: core.serialization.Schema<serializers.CreateCatalogRequestBody.Raw, Schematic.CreateCatalogRequestBody>;
|
|
5
|
+
export declare namespace CreateCatalogRequestBody {
|
|
6
|
+
interface Raw {
|
|
7
|
+
description?: string | null;
|
|
8
|
+
is_default: boolean;
|
|
9
|
+
name: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -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
|
+
import { CatalogConfigOrderedBundle } from "../../../../types/CatalogConfigOrderedBundle";
|
|
5
|
+
import { CatalogConfigOrderedPlan } from "../../../../types/CatalogConfigOrderedPlan";
|
|
6
|
+
export declare const UpdateCatalogConfigurationRequestBody: core.serialization.Schema<serializers.UpdateCatalogConfigurationRequestBody.Raw, Schematic.UpdateCatalogConfigurationRequestBody>;
|
|
7
|
+
export declare namespace UpdateCatalogConfigurationRequestBody {
|
|
8
|
+
interface Raw {
|
|
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 | null;
|
|
13
|
+
ordered_add_ons?: CatalogConfigOrderedPlan.Raw[] | null;
|
|
14
|
+
ordered_bundles?: CatalogConfigOrderedBundle.Raw[] | null;
|
|
15
|
+
ordered_plans?: CatalogConfigOrderedPlan.Raw[] | null;
|
|
16
|
+
pricing_model?: string | null;
|
|
17
|
+
pricing_url?: string | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -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 UpdateCatalogRequestBody: core.serialization.Schema<serializers.UpdateCatalogRequestBody.Raw, Schematic.UpdateCatalogRequestBody>;
|
|
5
|
+
export declare namespace UpdateCatalogRequestBody {
|
|
6
|
+
interface Raw {
|
|
7
|
+
description?: string | null;
|
|
8
|
+
is_default?: boolean | null;
|
|
9
|
+
name?: string | null;
|
|
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 { CatalogResponseData } from "../../../types/CatalogResponseData";
|
|
5
|
+
export declare const CreateCatalogResponse: core.serialization.ObjectSchema<serializers.CreateCatalogResponse.Raw, Schematic.CreateCatalogResponse>;
|
|
6
|
+
export declare namespace CreateCatalogResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: CatalogResponseData.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 { DeleteResponse } from "../../../types/DeleteResponse";
|
|
5
|
+
export declare const DeleteCatalogResponse: core.serialization.ObjectSchema<serializers.DeleteCatalogResponse.Raw, Schematic.DeleteCatalogResponse>;
|
|
6
|
+
export declare namespace DeleteCatalogResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: DeleteResponse.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 { CatalogResponseData } from "../../../types/CatalogResponseData";
|
|
5
|
+
export declare const GetCatalogResponse: core.serialization.ObjectSchema<serializers.GetCatalogResponse.Raw, Schematic.GetCatalogResponse>;
|
|
6
|
+
export declare namespace GetCatalogResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: CatalogResponseData.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 { CatalogConfigurationResponseData } from "../../../types/CatalogConfigurationResponseData";
|
|
5
|
+
export declare const GetConfigurationResponse: core.serialization.ObjectSchema<serializers.GetConfigurationResponse.Raw, Schematic.GetConfigurationResponse>;
|
|
6
|
+
export declare namespace GetConfigurationResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: CatalogConfigurationResponseData.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 { CatalogCreditBundleIDsResponseData } from "../../../types/CatalogCreditBundleIDsResponseData";
|
|
5
|
+
export declare const GetCreditBundlesInCatalogResponse: core.serialization.ObjectSchema<serializers.GetCreditBundlesInCatalogResponse.Raw, Schematic.GetCreditBundlesInCatalogResponse>;
|
|
6
|
+
export declare namespace GetCreditBundlesInCatalogResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: CatalogCreditBundleIDsResponseData.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 { CatalogDerivedFeaturesResponseData } from "../../../types/CatalogDerivedFeaturesResponseData";
|
|
5
|
+
export declare const GetDerivedFeaturesResponse: core.serialization.ObjectSchema<serializers.GetDerivedFeaturesResponse.Raw, Schematic.GetDerivedFeaturesResponse>;
|
|
6
|
+
export declare namespace GetDerivedFeaturesResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: CatalogDerivedFeaturesResponseData.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 { CatalogPlanIDsResponseData } from "../../../types/CatalogPlanIDsResponseData";
|
|
5
|
+
export declare const GetPlansInCatalogResponse: core.serialization.ObjectSchema<serializers.GetPlansInCatalogResponse.Raw, Schematic.GetPlansInCatalogResponse>;
|
|
6
|
+
export declare namespace GetPlansInCatalogResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: CatalogPlanIDsResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -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 ListCatalogsParams: core.serialization.ObjectSchema<serializers.ListCatalogsParams.Raw, Schematic.ListCatalogsParams>;
|
|
5
|
+
export declare namespace ListCatalogsParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
is_default?: boolean | 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 { CatalogResponseData } from "../../../types/CatalogResponseData";
|
|
5
|
+
import { ListCatalogsParams } from "./ListCatalogsParams";
|
|
6
|
+
export declare const ListCatalogsResponse: core.serialization.ObjectSchema<serializers.ListCatalogsResponse.Raw, Schematic.ListCatalogsResponse>;
|
|
7
|
+
export declare namespace ListCatalogsResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CatalogResponseData.Raw[];
|
|
10
|
+
params: ListCatalogsParams.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 { CatalogResponseData } from "../../../types/CatalogResponseData";
|
|
5
|
+
export declare const UpdateCatalogResponse: core.serialization.ObjectSchema<serializers.UpdateCatalogResponse.Raw, Schematic.UpdateCatalogResponse>;
|
|
6
|
+
export declare namespace UpdateCatalogResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: CatalogResponseData.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 { CatalogResponseData } from "../../../types/CatalogResponseData";
|
|
5
|
+
export declare const UpdateConfigurationResponse: core.serialization.ObjectSchema<serializers.UpdateConfigurationResponse.Raw, Schematic.UpdateConfigurationResponse>;
|
|
6
|
+
export declare namespace UpdateConfigurationResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: CatalogResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./CreateCatalogResponse";
|
|
2
|
+
export * from "./DeleteCatalogResponse";
|
|
3
|
+
export * from "./GetCatalogResponse";
|
|
4
|
+
export * from "./GetConfigurationResponse";
|
|
5
|
+
export * from "./GetCreditBundlesInCatalogResponse";
|
|
6
|
+
export * from "./GetDerivedFeaturesResponse";
|
|
7
|
+
export * from "./GetPlansInCatalogResponse";
|
|
8
|
+
export * from "./ListCatalogsParams";
|
|
9
|
+
export * from "./ListCatalogsResponse";
|
|
10
|
+
export * from "./UpdateCatalogResponse";
|
|
11
|
+
export * from "./UpdateConfigurationResponse";
|
package/dist/serialization/resources/companies/types/GetBillingEntityChildSubscriptionsParams.d.ts
ADDED
|
@@ -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 GetBillingEntityChildSubscriptionsParams: core.serialization.ObjectSchema<serializers.GetBillingEntityChildSubscriptionsParams.Raw, Schematic.GetBillingEntityChildSubscriptionsParams>;
|
|
5
|
+
export declare namespace GetBillingEntityChildSubscriptionsParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
company_id?: string | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
package/dist/serialization/resources/companies/types/GetBillingEntityChildSubscriptionsResponse.d.ts
ADDED
|
@@ -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 { CompanyBillingEntitySubscriptionResponseData } from "../../../types/CompanyBillingEntitySubscriptionResponseData";
|
|
5
|
+
import { GetBillingEntityChildSubscriptionsParams } from "./GetBillingEntityChildSubscriptionsParams";
|
|
6
|
+
export declare const GetBillingEntityChildSubscriptionsResponse: core.serialization.ObjectSchema<serializers.GetBillingEntityChildSubscriptionsResponse.Raw, Schematic.GetBillingEntityChildSubscriptionsResponse>;
|
|
7
|
+
export declare namespace GetBillingEntityChildSubscriptionsResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CompanyBillingEntitySubscriptionResponseData.Raw[];
|
|
10
|
+
params: GetBillingEntityChildSubscriptionsParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -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 GetCompanyBillingEntityParams: core.serialization.ObjectSchema<serializers.GetCompanyBillingEntityParams.Raw, Schematic.GetCompanyBillingEntityParams>;
|
|
5
|
+
export declare namespace GetCompanyBillingEntityParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
company_id?: string | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CompanyBillingEntityResponseData } from "../../../types/CompanyBillingEntityResponseData";
|
|
5
|
+
import { GetCompanyBillingEntityParams } from "./GetCompanyBillingEntityParams";
|
|
6
|
+
export declare const GetCompanyBillingEntityResponse: core.serialization.ObjectSchema<serializers.GetCompanyBillingEntityResponse.Raw, Schematic.GetCompanyBillingEntityResponse>;
|
|
7
|
+
export declare namespace GetCompanyBillingEntityResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CompanyBillingEntityResponseData.Raw[];
|
|
10
|
+
params: GetCompanyBillingEntityParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -18,6 +18,10 @@ export * from "./DeleteUserByKeysResponse";
|
|
|
18
18
|
export * from "./DeleteUserResponse";
|
|
19
19
|
export * from "./GetActiveCompanySubscriptionParams";
|
|
20
20
|
export * from "./GetActiveCompanySubscriptionResponse";
|
|
21
|
+
export * from "./GetBillingEntityChildSubscriptionsParams";
|
|
22
|
+
export * from "./GetBillingEntityChildSubscriptionsResponse";
|
|
23
|
+
export * from "./GetCompanyBillingEntityParams";
|
|
24
|
+
export * from "./GetCompanyBillingEntityResponse";
|
|
21
25
|
export * from "./GetCompanyResponse";
|
|
22
26
|
export * from "./GetEntityTraitDefinitionResponse";
|
|
23
27
|
export * from "./GetEntityTraitValuesParams";
|
|
@@ -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 BindCatalogRequestBody: core.serialization.Schema<serializers.BindCatalogRequestBody.Raw, Schematic.BindCatalogRequestBody>;
|
|
5
|
+
export declare namespace BindCatalogRequestBody {
|
|
6
|
+
interface Raw {
|
|
7
|
+
catalog_id?: string | null;
|
|
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
|
+
import { ComponentResponseData } from "../../../types/ComponentResponseData";
|
|
5
|
+
export declare const BindCatalogResponse: core.serialization.ObjectSchema<serializers.BindCatalogResponse.Raw, Schematic.BindCatalogResponse>;
|
|
6
|
+
export declare namespace BindCatalogResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: ComponentResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts
CHANGED
|
@@ -1,9 +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 { DataExportMetadata } from "../../../../types/DataExportMetadata";
|
|
5
|
+
import { DataExportOutputFileType } from "../../../../types/DataExportOutputFileType";
|
|
6
|
+
import { DataExportType } from "../../../../types/DataExportType";
|
|
4
7
|
export declare const CreateDataExportRequestBody: core.serialization.Schema<serializers.CreateDataExportRequestBody.Raw, Schematic.CreateDataExportRequestBody>;
|
|
5
8
|
export declare namespace CreateDataExportRequestBody {
|
|
6
9
|
interface Raw {
|
|
7
|
-
|
|
10
|
+
export_type: DataExportType.Raw;
|
|
11
|
+
metadata?: DataExportMetadata.Raw | null;
|
|
12
|
+
output_file_type: DataExportOutputFileType.Raw;
|
|
8
13
|
}
|
|
9
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
|
+
import { DataExportResponseData } from "../../../types/DataExportResponseData";
|
|
5
|
+
export declare const GetDataExportResponse: core.serialization.ObjectSchema<serializers.GetDataExportResponse.Raw, Schematic.GetDataExportResponse>;
|
|
6
|
+
export declare namespace GetDataExportResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: DataExportResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -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 { DataExportStatus } from "../../../types/DataExportStatus";
|
|
5
|
+
import { DataExportType } from "../../../types/DataExportType";
|
|
6
|
+
export declare const ListDataExportsParams: core.serialization.ObjectSchema<serializers.ListDataExportsParams.Raw, Schematic.ListDataExportsParams>;
|
|
7
|
+
export declare namespace ListDataExportsParams {
|
|
8
|
+
interface Raw {
|
|
9
|
+
export_type?: DataExportType.Raw | null;
|
|
10
|
+
limit?: number | null;
|
|
11
|
+
offset?: number | null;
|
|
12
|
+
status?: DataExportStatus.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -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 { DataExportResponseData } from "../../../types/DataExportResponseData";
|
|
5
|
+
import { ListDataExportsParams } from "./ListDataExportsParams";
|
|
6
|
+
export declare const ListDataExportsResponse: core.serialization.ObjectSchema<serializers.ListDataExportsResponse.Raw, Schematic.ListDataExportsResponse>;
|
|
7
|
+
export declare namespace ListDataExportsResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: DataExportResponseData.Raw[];
|
|
10
|
+
params: ListDataExportsParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -9,6 +9,7 @@ import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBeha
|
|
|
9
9
|
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
10
10
|
import { MetricPeriod } from "../../../../types/MetricPeriod";
|
|
11
11
|
import { MetricPeriodMonthReset } from "../../../../types/MetricPeriodMonthReset";
|
|
12
|
+
import { WarningTierRequestBody } from "../../../../types/WarningTierRequestBody";
|
|
12
13
|
export declare const CreateBillingLinkedPlanEntitlementRequestBody: core.serialization.Schema<serializers.CreateBillingLinkedPlanEntitlementRequestBody.Raw, Schematic.CreateBillingLinkedPlanEntitlementRequestBody>;
|
|
13
14
|
export declare namespace CreateBillingLinkedPlanEntitlementRequestBody {
|
|
14
15
|
interface Raw {
|
|
@@ -43,6 +44,7 @@ export declare namespace CreateBillingLinkedPlanEntitlementRequestBody {
|
|
|
43
44
|
value_numeric?: number | null;
|
|
44
45
|
value_trait_id?: string | null;
|
|
45
46
|
value_type: EntitlementValueType.Raw;
|
|
47
|
+
warning_tiers?: WarningTierRequestBody.Raw[] | null;
|
|
46
48
|
yearly_metered_price_id?: string | null;
|
|
47
49
|
yearly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
48
50
|
yearly_unit_price?: number | null;
|
|
@@ -8,6 +8,7 @@ import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBeha
|
|
|
8
8
|
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
9
9
|
import { MetricPeriod } from "../../../../types/MetricPeriod";
|
|
10
10
|
import { MetricPeriodMonthReset } from "../../../../types/MetricPeriodMonthReset";
|
|
11
|
+
import { WarningTierRequestBody } from "../../../../types/WarningTierRequestBody";
|
|
11
12
|
export declare const CreatePlanEntitlementRequestBody: core.serialization.Schema<serializers.CreatePlanEntitlementRequestBody.Raw, Schematic.CreatePlanEntitlementRequestBody>;
|
|
12
13
|
export declare namespace CreatePlanEntitlementRequestBody {
|
|
13
14
|
interface Raw {
|
|
@@ -40,6 +41,7 @@ export declare namespace CreatePlanEntitlementRequestBody {
|
|
|
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;
|
|
@@ -8,6 +8,7 @@ import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBeha
|
|
|
8
8
|
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
9
9
|
import { MetricPeriod } from "../../../../types/MetricPeriod";
|
|
10
10
|
import { MetricPeriodMonthReset } from "../../../../types/MetricPeriodMonthReset";
|
|
11
|
+
import { WarningTierRequestBody } from "../../../../types/WarningTierRequestBody";
|
|
11
12
|
export declare const UpdatePlanEntitlementRequestBody: core.serialization.Schema<serializers.UpdatePlanEntitlementRequestBody.Raw, Schematic.UpdatePlanEntitlementRequestBody>;
|
|
12
13
|
export declare namespace UpdatePlanEntitlementRequestBody {
|
|
13
14
|
interface Raw {
|
|
@@ -37,6 +38,7 @@ export declare namespace UpdatePlanEntitlementRequestBody {
|
|
|
37
38
|
value_numeric?: number | null;
|
|
38
39
|
value_trait_id?: string | null;
|
|
39
40
|
value_type: EntitlementValueType.Raw;
|
|
41
|
+
warning_tiers?: WarningTierRequestBody.Raw[] | null;
|
|
40
42
|
yearly_metered_price_id?: string | null;
|
|
41
43
|
yearly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
42
44
|
yearly_unit_price?: number | null;
|
|
@@ -7,6 +7,9 @@ export * from "./accounts/types";
|
|
|
7
7
|
export * as billing from "./billing";
|
|
8
8
|
export * from "./billing/client/requests";
|
|
9
9
|
export * from "./billing/types";
|
|
10
|
+
export * as catalogs from "./catalogs";
|
|
11
|
+
export * from "./catalogs/client/requests";
|
|
12
|
+
export * from "./catalogs/types";
|
|
10
13
|
export * as checkout from "./checkout";
|
|
11
14
|
export * from "./checkout/client/requests";
|
|
12
15
|
export * from "./checkout/types";
|
|
@@ -2,12 +2,14 @@ import type * as Schematic from "../../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { CreateCustomPlanBundlePlanRequestBody } from "../../../../types/CreateCustomPlanBundlePlanRequestBody";
|
|
5
|
+
import { PlanBundleCreditGrantRequestBody } from "../../../../types/PlanBundleCreditGrantRequestBody";
|
|
5
6
|
import { PlanBundleEntitlementRequestBody } from "../../../../types/PlanBundleEntitlementRequestBody";
|
|
6
7
|
import { UpsertBillingProductRequestBody } from "../../../../types/UpsertBillingProductRequestBody";
|
|
7
8
|
export declare const CreateCustomPlanBundleRequestBody: core.serialization.Schema<serializers.CreateCustomPlanBundleRequestBody.Raw, Schematic.CreateCustomPlanBundleRequestBody>;
|
|
8
9
|
export declare namespace CreateCustomPlanBundleRequestBody {
|
|
9
10
|
interface Raw {
|
|
10
11
|
billing_product?: UpsertBillingProductRequestBody.Raw | null;
|
|
12
|
+
credit_grants?: PlanBundleCreditGrantRequestBody.Raw[] | null;
|
|
11
13
|
entitlements: PlanBundleEntitlementRequestBody.Raw[];
|
|
12
14
|
plan?: CreateCustomPlanBundlePlanRequestBody.Raw | null;
|
|
13
15
|
}
|
package/dist/serialization/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import type * as serializers from "../../../../index";
|
|
|
4
4
|
import { CreatePlanRequestBody } from "../../../../types/CreatePlanRequestBody";
|
|
5
5
|
import { PlanBundleCreditGrantRequestBody } from "../../../../types/PlanBundleCreditGrantRequestBody";
|
|
6
6
|
import { PlanBundleEntitlementRequestBody } from "../../../../types/PlanBundleEntitlementRequestBody";
|
|
7
|
-
import { UpdatePlanTraitTraitRequestBody } from "../../../../types/UpdatePlanTraitTraitRequestBody";
|
|
8
7
|
import { UpsertBillingProductRequestBody } from "../../../../types/UpsertBillingProductRequestBody";
|
|
9
8
|
export declare const CreatePlanBundleRequestBody: core.serialization.Schema<serializers.CreatePlanBundleRequestBody.Raw, Schematic.CreatePlanBundleRequestBody>;
|
|
10
9
|
export declare namespace CreatePlanBundleRequestBody {
|
|
@@ -13,6 +12,5 @@ export declare namespace CreatePlanBundleRequestBody {
|
|
|
13
12
|
credit_grants?: PlanBundleCreditGrantRequestBody.Raw[] | null;
|
|
14
13
|
entitlements: PlanBundleEntitlementRequestBody.Raw[];
|
|
15
14
|
plan?: CreatePlanRequestBody.Raw | null;
|
|
16
|
-
traits?: UpdatePlanTraitTraitRequestBody.Raw[] | null;
|
|
17
15
|
}
|
|
18
16
|
}
|
package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import type * as serializers from "../../../../index";
|
|
|
4
4
|
import { PlanBundleCreditGrantRequestBody } from "../../../../types/PlanBundleCreditGrantRequestBody";
|
|
5
5
|
import { PlanBundleEntitlementRequestBody } from "../../../../types/PlanBundleEntitlementRequestBody";
|
|
6
6
|
import { UpdatePlanRequestBody } from "../../../../types/UpdatePlanRequestBody";
|
|
7
|
-
import { UpdatePlanTraitTraitRequestBody } from "../../../../types/UpdatePlanTraitTraitRequestBody";
|
|
8
7
|
import { UpsertBillingProductRequestBody } from "../../../../types/UpsertBillingProductRequestBody";
|
|
9
8
|
export declare const UpdatePlanBundleRequestBody: core.serialization.Schema<serializers.UpdatePlanBundleRequestBody.Raw, Schematic.UpdatePlanBundleRequestBody>;
|
|
10
9
|
export declare namespace UpdatePlanBundleRequestBody {
|
|
@@ -14,6 +13,5 @@ export declare namespace UpdatePlanBundleRequestBody {
|
|
|
14
13
|
entitlements: PlanBundleEntitlementRequestBody.Raw[];
|
|
15
14
|
plan?: UpdatePlanRequestBody.Raw | null;
|
|
16
15
|
plan_version_id?: string | null;
|
|
17
|
-
traits?: UpdatePlanTraitTraitRequestBody.Raw[] | null;
|
|
18
16
|
}
|
|
19
17
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const AccountMemberPermission: core.serialization.Schema<serializers.AccountMemberPermission.Raw, Schematic.AccountMemberPermission>;
|
|
5
5
|
export declare namespace AccountMemberPermission {
|
|
6
|
-
type Raw = "companies_edit" | "company_users_edit" | "components_edit" | "data_exports_edit" | "features_edit" | "flag_rules_edit" | "flags_edit" | "overrides_edit" | "plan_billing_edit" | "plan_entitlements_edit" | "plan_versions_edit" | "plans_edit" | "webhooks_edit" | "webhooks_reveal_secret";
|
|
6
|
+
type Raw = "companies_edit" | "company_users_edit" | "components_edit" | "custom_plans_edit" | "data_exports_edit" | "features_edit" | "flag_rules_edit" | "flags_edit" | "overrides_edit" | "plan_billing_edit" | "plan_entitlements_edit" | "plan_versions_edit" | "plans_edit" | "webhooks_edit" | "webhooks_reveal_secret";
|
|
7
7
|
}
|
|
@@ -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 AuditLogExportMetadata: core.serialization.ObjectSchema<serializers.AuditLogExportMetadata.Raw, Schematic.AuditLogExportMetadata>;
|
|
5
|
+
export declare namespace AuditLogExportMetadata {
|
|
6
|
+
interface Raw {
|
|
7
|
+
actor_type?: string | null;
|
|
8
|
+
end_time?: string | null;
|
|
9
|
+
notification_email_recipient_email_addresses?: string[] | null;
|
|
10
|
+
q?: string | null;
|
|
11
|
+
start_time?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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 BillingCreditAutoTopupAvailability: core.serialization.Schema<serializers.BillingCreditAutoTopupAvailability.Raw, Schematic.BillingCreditAutoTopupAvailability>;
|
|
5
|
+
export declare namespace BillingCreditAutoTopupAvailability {
|
|
6
|
+
type Raw = "off" | "automatic" | "user_controlled";
|
|
7
|
+
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const BillingCreditGrantZeroedOutReason: core.serialization.Schema<serializers.BillingCreditGrantZeroedOutReason.Raw, Schematic.BillingCreditGrantZeroedOutReason>;
|
|
5
5
|
export declare namespace BillingCreditGrantZeroedOutReason {
|
|
6
|
-
type Raw = "expired" | "manual" | "plan_change" | "plan_period_reset" | "reconciled";
|
|
6
|
+
type Raw = "customer_archived" | "expired" | "integration_uninstalled" | "manual" | "plan_change" | "plan_period_reset" | "reconciled";
|
|
7
7
|
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const BillingPlanCreditGrantResetCadence: core.serialization.Schema<serializers.BillingPlanCreditGrantResetCadence.Raw, Schematic.BillingPlanCreditGrantResetCadence>;
|
|
5
5
|
export declare namespace BillingPlanCreditGrantResetCadence {
|
|
6
|
-
type Raw = "daily" | "monthly" | "weekly" | "yearly";
|
|
6
|
+
type Raw = "daily" | "every_6_months" | "monthly" | "quarterly" | "weekly" | "yearly";
|
|
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 { BillingCreditAutoTopupAvailability } from "./BillingCreditAutoTopupAvailability";
|
|
4
5
|
import { BillingCreditExpiryType } from "./BillingCreditExpiryType";
|
|
5
6
|
import { BillingCreditExpiryUnit } from "./BillingCreditExpiryUnit";
|
|
6
7
|
import { BillingCreditResponseData } from "./BillingCreditResponseData";
|
|
@@ -13,6 +14,7 @@ export declare namespace BillingPlanCreditGrantResponseData {
|
|
|
13
14
|
interface Raw {
|
|
14
15
|
auto_topup_amount?: number | null;
|
|
15
16
|
auto_topup_amount_type?: string | null;
|
|
17
|
+
auto_topup_availability: BillingCreditAutoTopupAvailability.Raw;
|
|
16
18
|
auto_topup_enabled: boolean;
|
|
17
19
|
auto_topup_expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
18
20
|
auto_topup_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
@@ -20,6 +22,7 @@ export declare namespace BillingPlanCreditGrantResponseData {
|
|
|
20
22
|
auto_topup_self_service: boolean;
|
|
21
23
|
auto_topup_threshold_credits?: number | null;
|
|
22
24
|
auto_topup_threshold_percent?: number | null;
|
|
25
|
+
can_buy_bundles: boolean;
|
|
23
26
|
created_at: string;
|
|
24
27
|
credit?: BillingCreditResponseData.Raw | null;
|
|
25
28
|
credit_amount: number;
|
|
@@ -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 CatalogConfigOrderedBundle: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedBundle.Raw, Schematic.CatalogConfigOrderedBundle>;
|
|
5
|
+
export declare namespace CatalogConfigOrderedBundle {
|
|
6
|
+
interface Raw {
|
|
7
|
+
bundle_id: string;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -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 CatalogConfigOrderedBundleResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedBundleResponseData.Raw, Schematic.CatalogConfigOrderedBundleResponseData>;
|
|
5
|
+
export declare namespace CatalogConfigOrderedBundleResponseData {
|
|
6
|
+
interface Raw {
|
|
7
|
+
bundle_id: string;
|
|
8
|
+
}
|
|
9
|
+
}
|