@schematichq/schematic-typescript-node 1.5.8 → 1.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/BaseClient.d.ts +12 -0
- package/dist/Client.d.ts +3 -0
- package/dist/api/errors/BadRequestError.d.ts +1 -0
- package/dist/api/errors/ForbiddenError.d.ts +1 -0
- package/dist/api/errors/InternalServerError.d.ts +1 -0
- package/dist/api/errors/NotFoundError.d.ts +1 -0
- package/dist/api/errors/UnauthorizedError.d.ts +1 -0
- package/dist/api/resources/accesstokens/client/Client.d.ts +2 -0
- package/dist/api/resources/accounts/client/Client.d.ts +70 -0
- package/dist/api/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +11 -0
- package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/accounts/types/GetOnboardingStateResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/UpdateOnboardingStateResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/index.d.ts +2 -0
- package/dist/api/resources/billing/client/Client.d.ts +48 -0
- package/dist/api/resources/catalogs/client/Client.d.ts +28 -0
- package/dist/api/resources/checkout/client/Client.d.ts +18 -0
- package/dist/api/resources/companies/client/Client.d.ts +139 -3
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +3 -0
- package/dist/api/resources/companies/client/requests/CountEntityTraitsRequest.d.ts +18 -0
- package/dist/api/resources/companies/client/requests/GetBillingEntityChildSubscriptionsRequest.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/GetCompanyBillingEntityRequest.d.ts +1 -1
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +3 -0
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +0 -2
- package/dist/api/resources/companies/client/requests/index.d.ts +1 -0
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +2 -0
- package/dist/api/resources/companies/types/CountEntityTraitsParams.d.ts +12 -0
- package/dist/api/resources/companies/types/CountEntityTraitsResponse.d.ts +6 -0
- package/dist/api/resources/companies/types/DeleteEntityTraitDefinitionResponse.d.ts +6 -0
- package/dist/api/resources/companies/types/GetEntityTraitDefinitionUsageResponse.d.ts +6 -0
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +2 -0
- package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +0 -1
- 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/componentspublic/client/Client.d.ts +2 -0
- package/dist/api/resources/credits/client/Client.d.ts +62 -2
- package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -0
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +1 -1
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -0
- package/dist/api/resources/dataexports/client/Client.d.ts +8 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +73 -0
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageHistoryRequest.d.ts +29 -0
- package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/api/resources/entitlements/types/ListFeatureUsageHistoryParams.d.ts +20 -0
- package/dist/api/resources/entitlements/types/ListFeatureUsageHistoryResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/index.d.ts +2 -0
- package/dist/api/resources/events/client/Client.d.ts +12 -0
- package/dist/api/resources/features/client/Client.d.ts +34 -0
- package/dist/api/resources/insights/client/Client.d.ts +12 -0
- package/dist/api/resources/integrationsapi/client/Client.d.ts +18 -0
- package/dist/api/resources/licenses/client/Client.d.ts +6 -0
- package/dist/api/resources/planbundle/client/Client.d.ts +27 -6
- package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +11 -3
- package/dist/api/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +6 -2
- package/dist/api/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +5 -2
- package/dist/api/resources/plangroups/client/Client.d.ts +8 -0
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +3 -0
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +3 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +22 -8
- package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +1 -1
- package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +1 -1
- package/dist/api/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +4 -6
- package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +1 -1
- package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +1 -1
- package/dist/api/resources/planmigrations/client/requests/PreviewMigrationRequestBody.d.ts +2 -2
- package/dist/api/resources/plans/client/Client.d.ts +46 -12
- package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -2
- package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +2 -2
- package/dist/api/resources/plans/client/requests/ListCustomPlanBillingsRequest.d.ts +3 -0
- package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +3 -0
- package/dist/api/resources/plans/types/ListCustomPlanBillingsParams.d.ts +2 -0
- package/dist/api/resources/scheduledcheckout/client/Client.d.ts +8 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +20 -0
- package/dist/api/types/AuditLogResponseData.d.ts +1 -0
- package/dist/api/types/BillingCollectionMethod.d.ts +5 -0
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +2 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +3 -1
- package/dist/api/types/CheckFlagRequestBody.d.ts +3 -0
- package/dist/api/types/CheckoutBundlePurchaseBehavior.d.ts +5 -0
- package/dist/api/types/CheckoutSettingsResponseData.d.ts +3 -0
- package/dist/api/types/CompanyBillingCheckoutSettings.d.ts +1 -0
- package/dist/api/types/CompanyFeatureUsageExportMetadata.d.ts +6 -0
- package/dist/api/types/CompanyPlanCreditGrantView.d.ts +1 -0
- package/dist/api/types/ComponentCheckoutSettings.d.ts +2 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -1
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -1
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +3 -0
- package/dist/api/types/CreateCustomPlanBundlePlanRequestBody.d.ts +1 -1
- package/dist/api/types/CreatePlanRequestBody.d.ts +1 -1
- package/dist/api/types/CreditCompanyGrantView.d.ts +2 -0
- package/dist/api/types/CustomPlanBillingResponseData.d.ts +4 -0
- package/dist/api/types/EntityTraitDefinitionUsage.d.ts +8 -0
- package/dist/api/types/EventBodyFlagCheck.d.ts +2 -0
- package/dist/api/types/FeatureUsageHistoryResponseData.d.ts +12 -0
- package/dist/api/types/GetOnboardingStateResp.d.ts +9 -0
- package/dist/api/types/ManagePlanRequest.d.ts +14 -0
- package/dist/api/types/MigrationProrationBehavior.d.ts +6 -0
- package/dist/api/types/OnboardingMilestone.d.ts +5 -0
- package/dist/api/types/OnboardingMilestoneView.d.ts +7 -0
- package/dist/api/types/OnboardingPath.d.ts +5 -0
- package/dist/api/types/OnboardingRequirement.d.ts +9 -0
- package/dist/api/types/OnboardingRequirementStatus.d.ts +6 -0
- package/dist/api/types/OnboardingRequirementView.d.ts +8 -0
- package/dist/api/types/OnboardingTrack.d.ts +5 -0
- package/dist/api/types/PlanBillingSource.d.ts +5 -0
- package/dist/api/types/PlanBundleResponseData.d.ts +1 -0
- package/dist/api/types/PlanChangeResponseData.d.ts +6 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationPreviewCompanyResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationPreviewResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/api/types/PreflightEventUsageRequestBody.d.ts +6 -0
- package/dist/api/types/PreflightRequestBody.d.ts +9 -0
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -0
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/StripeIntegrationConfig.d.ts +2 -0
- package/dist/api/types/UpcomingInvoiceResponseData.d.ts +23 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +5 -2
- package/dist/api/types/UpsertCompanyRequestBody.d.ts +2 -0
- package/dist/api/types/UpsertUserRequestBody.d.ts +2 -0
- package/dist/api/types/UpsertUserSubRequestBody.d.ts +2 -0
- package/dist/api/types/WhoAmIResponseData.d.ts +1 -0
- package/dist/api/types/index.d.ts +17 -0
- package/dist/core/fetcher/redactUrl.d.ts +2 -0
- package/dist/core/requestBody.d.ts +12 -0
- package/dist/core/runtime/index.d.ts +1 -1
- package/dist/core/runtime/runtime.d.ts +19 -0
- package/dist/errors/SchematicError.d.ts +1 -0
- package/dist/errors/SchematicTimeoutError.d.ts +2 -2
- package/dist/events.d.ts +6 -0
- package/dist/index.js +9 -9
- package/dist/serialization/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +14 -0
- package/dist/serialization/resources/accounts/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/accounts/types/GetOnboardingStateResponse.d.ts +11 -0
- package/dist/serialization/resources/accounts/types/UpdateOnboardingStateResponse.d.ts +11 -0
- package/dist/serialization/resources/accounts/types/index.d.ts +2 -0
- package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/CountEntityTraitsParams.d.ts +13 -0
- package/dist/serialization/resources/companies/types/CountEntityTraitsResponse.d.ts +12 -0
- package/dist/serialization/resources/companies/types/DeleteEntityTraitDefinitionResponse.d.ts +11 -0
- package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionUsageResponse.d.ts +11 -0
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +0 -1
- package/dist/serialization/resources/companies/types/index.d.ts +4 -0
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -0
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageHistoryParams.d.ts +16 -0
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageHistoryResponse.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +2 -0
- package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +2 -2
- package/dist/serialization/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +1 -1
- package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +1 -1
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +3 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +3 -0
- package/dist/serialization/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +5 -3
- package/dist/serialization/resources/planmigrations/client/requests/PreviewMigrationRequestBody.d.ts +2 -1
- package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -1
- package/dist/serialization/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +2 -1
- package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +3 -0
- package/dist/serialization/resources/plans/types/ListCustomPlanBillingsParams.d.ts +2 -0
- package/dist/serialization/types/AuditLogResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingCollectionMethod.d.ts +7 -0
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +1 -0
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
- package/dist/serialization/types/CheckFlagRequestBody.d.ts +2 -0
- package/dist/serialization/types/CheckoutBundlePurchaseBehavior.d.ts +7 -0
- package/dist/serialization/types/CheckoutSettingsResponseData.d.ts +3 -0
- package/dist/serialization/types/CompanyBillingCheckoutSettings.d.ts +1 -0
- package/dist/serialization/types/CompanyFeatureUsageExportMetadata.d.ts +3 -0
- package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +1 -0
- package/dist/serialization/types/ComponentCheckoutSettings.d.ts +3 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -2
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -1
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/CreateCustomPlanBundlePlanRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreatePlanRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +2 -0
- package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +3 -0
- package/dist/serialization/types/EntityTraitDefinitionUsage.d.ts +14 -0
- package/dist/serialization/types/EventBodyFlagCheck.d.ts +1 -0
- package/dist/serialization/types/FeatureUsageHistoryResponseData.d.ts +14 -0
- package/dist/serialization/types/GetOnboardingStateResp.d.ts +19 -0
- package/dist/serialization/types/ManagePlanRequest.d.ts +8 -0
- package/dist/serialization/types/MigrationProrationBehavior.d.ts +7 -0
- package/dist/serialization/types/OnboardingMilestone.d.ts +7 -0
- package/dist/serialization/types/OnboardingMilestoneView.d.ts +14 -0
- package/dist/serialization/types/OnboardingPath.d.ts +7 -0
- package/dist/serialization/types/OnboardingRequirement.d.ts +7 -0
- package/dist/serialization/types/OnboardingRequirementStatus.d.ts +7 -0
- package/dist/serialization/types/OnboardingRequirementView.d.ts +15 -0
- package/dist/serialization/types/OnboardingTrack.d.ts +7 -0
- package/dist/serialization/types/PlanBillingSource.d.ts +7 -0
- package/dist/serialization/types/PlanBundleResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanChangeResponseData.d.ts +4 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +1 -0
- package/dist/serialization/types/PlanVersionMigrationPreviewCompanyResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanVersionMigrationPreviewResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +2 -0
- package/dist/serialization/types/PreflightEventUsageRequestBody.d.ts +10 -0
- package/dist/serialization/types/PreflightRequestBody.d.ts +12 -0
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -0
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/serialization/types/StripeIntegrationConfig.d.ts +1 -0
- package/dist/serialization/types/UpcomingInvoiceResponseData.d.ts +30 -0
- package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +1 -0
- package/dist/serialization/types/UpsertUserRequestBody.d.ts +1 -0
- package/dist/serialization/types/UpsertUserSubRequestBody.d.ts +1 -0
- package/dist/serialization/types/WhoAmIResponseData.d.ts +1 -0
- package/dist/serialization/types/index.d.ts +17 -0
- package/dist/wasm/rulesengine.js +4 -4
- package/package.json +4 -1
package/dist/serialization/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts
ADDED
|
@@ -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 { OnboardingPath } from "../../../../types/OnboardingPath";
|
|
5
|
+
import { OnboardingTrack } from "../../../../types/OnboardingTrack";
|
|
6
|
+
export declare const UpdateOnboardingStateRequestBody: core.serialization.Schema<serializers.UpdateOnboardingStateRequestBody.Raw, Schematic.UpdateOnboardingStateRequestBody>;
|
|
7
|
+
export declare namespace UpdateOnboardingStateRequestBody {
|
|
8
|
+
interface Raw {
|
|
9
|
+
path?: OnboardingPath.Raw | null;
|
|
10
|
+
pricing_page_url?: string | null;
|
|
11
|
+
track?: OnboardingTrack.Raw | null;
|
|
12
|
+
website_url?: string | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -2,3 +2,4 @@ export { CreateApiKeyRequestBody } from "./CreateApiKeyRequestBody";
|
|
|
2
2
|
export { CreateEnvironmentRequestBody } from "./CreateEnvironmentRequestBody";
|
|
3
3
|
export { UpdateApiKeyRequestBody } from "./UpdateApiKeyRequestBody";
|
|
4
4
|
export { UpdateEnvironmentRequestBody } from "./UpdateEnvironmentRequestBody";
|
|
5
|
+
export { UpdateOnboardingStateRequestBody } from "./UpdateOnboardingStateRequestBody";
|
|
@@ -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 { GetOnboardingStateResp } from "../../../types/GetOnboardingStateResp";
|
|
5
|
+
export declare const GetOnboardingStateResponse: core.serialization.ObjectSchema<serializers.GetOnboardingStateResponse.Raw, Schematic.GetOnboardingStateResponse>;
|
|
6
|
+
export declare namespace GetOnboardingStateResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: GetOnboardingStateResp.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 { GetOnboardingStateResp } from "../../../types/GetOnboardingStateResp";
|
|
5
|
+
export declare const UpdateOnboardingStateResponse: core.serialization.ObjectSchema<serializers.UpdateOnboardingStateResponse.Raw, Schematic.UpdateOnboardingStateResponse>;
|
|
6
|
+
export declare namespace UpdateOnboardingStateResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: GetOnboardingStateResp.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -12,6 +12,7 @@ export * from "./GetAccountMemberResponse";
|
|
|
12
12
|
export * from "./GetApiKeyResponse";
|
|
13
13
|
export * from "./GetAuditLogResponse";
|
|
14
14
|
export * from "./GetEnvironmentResponse";
|
|
15
|
+
export * from "./GetOnboardingStateResponse";
|
|
15
16
|
export * from "./GetWhoAmIResponse";
|
|
16
17
|
export * from "./ListAccountMembersParams";
|
|
17
18
|
export * from "./ListAccountMembersResponse";
|
|
@@ -24,3 +25,4 @@ export * from "./ListEnvironmentsResponse";
|
|
|
24
25
|
export * from "./QuickstartResponse";
|
|
25
26
|
export * from "./UpdateApiKeyResponse";
|
|
26
27
|
export * from "./UpdateEnvironmentResponse";
|
|
28
|
+
export * from "./UpdateOnboardingStateResponse";
|
|
@@ -17,6 +17,7 @@ export declare namespace CountCompaniesParams {
|
|
|
17
17
|
plan_ids?: string[] | null;
|
|
18
18
|
plan_version_id?: string | null;
|
|
19
19
|
plan_version_ids?: string[] | null;
|
|
20
|
+
plan_version_unpublished?: boolean | null;
|
|
20
21
|
q?: string | null;
|
|
21
22
|
sort_order_column?: string | null;
|
|
22
23
|
sort_order_direction?: SortDirection.Raw | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { EntityType } from "../../../types/EntityType";
|
|
5
|
+
export declare const CountEntityTraitsParams: core.serialization.ObjectSchema<serializers.CountEntityTraitsParams.Raw, Schematic.CountEntityTraitsParams>;
|
|
6
|
+
export declare namespace CountEntityTraitsParams {
|
|
7
|
+
interface Raw {
|
|
8
|
+
definition_id?: string | null;
|
|
9
|
+
entity_type?: EntityType.Raw | null;
|
|
10
|
+
limit?: number | null;
|
|
11
|
+
offset?: number | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CountResponse } from "../../../types/CountResponse";
|
|
5
|
+
import { CountEntityTraitsParams } from "./CountEntityTraitsParams";
|
|
6
|
+
export declare const CountEntityTraitsResponse: core.serialization.ObjectSchema<serializers.CountEntityTraitsResponse.Raw, Schematic.CountEntityTraitsResponse>;
|
|
7
|
+
export declare namespace CountEntityTraitsResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CountResponse.Raw;
|
|
10
|
+
params: CountEntityTraitsParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { DeleteResponse } from "../../../types/DeleteResponse";
|
|
5
|
+
export declare const DeleteEntityTraitDefinitionResponse: core.serialization.ObjectSchema<serializers.DeleteEntityTraitDefinitionResponse.Raw, Schematic.DeleteEntityTraitDefinitionResponse>;
|
|
6
|
+
export declare namespace DeleteEntityTraitDefinitionResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: DeleteResponse.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionUsageResponse.d.ts
ADDED
|
@@ -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 { EntityTraitDefinitionUsage } from "../../../types/EntityTraitDefinitionUsage";
|
|
5
|
+
export declare const GetEntityTraitDefinitionUsageResponse: core.serialization.ObjectSchema<serializers.GetEntityTraitDefinitionUsageResponse.Raw, Schematic.GetEntityTraitDefinitionUsageResponse>;
|
|
6
|
+
export declare namespace GetEntityTraitDefinitionUsageResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: EntityTraitDefinitionUsage.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -17,6 +17,7 @@ export declare namespace ListCompaniesParams {
|
|
|
17
17
|
plan_ids?: string[] | null;
|
|
18
18
|
plan_version_id?: string | null;
|
|
19
19
|
plan_version_ids?: string[] | null;
|
|
20
|
+
plan_version_unpublished?: boolean | null;
|
|
20
21
|
q?: string | null;
|
|
21
22
|
sort_order_column?: string | null;
|
|
22
23
|
sort_order_direction?: SortDirection.Raw | null;
|
|
@@ -6,6 +6,8 @@ export * from "./CountEntityKeysParams";
|
|
|
6
6
|
export * from "./CountEntityKeysResponse";
|
|
7
7
|
export * from "./CountEntityTraitDefinitionsParams";
|
|
8
8
|
export * from "./CountEntityTraitDefinitionsResponse";
|
|
9
|
+
export * from "./CountEntityTraitsParams";
|
|
10
|
+
export * from "./CountEntityTraitsResponse";
|
|
9
11
|
export * from "./CountPlanTraitsParams";
|
|
10
12
|
export * from "./CountPlanTraitsResponse";
|
|
11
13
|
export * from "./CountUsersParams";
|
|
@@ -17,6 +19,7 @@ export * from "./DeleteCompanyMembershipResponse";
|
|
|
17
19
|
export * from "./DeleteCompanyParams";
|
|
18
20
|
export * from "./DeleteCompanyResponse";
|
|
19
21
|
export * from "./DeleteEntityKeyDefinitionResponse";
|
|
22
|
+
export * from "./DeleteEntityTraitDefinitionResponse";
|
|
20
23
|
export * from "./DeleteUserByKeysResponse";
|
|
21
24
|
export * from "./DeleteUserResponse";
|
|
22
25
|
export * from "./GetActiveCompanySubscriptionParams";
|
|
@@ -27,6 +30,7 @@ export * from "./GetCompanyBillingEntityParams";
|
|
|
27
30
|
export * from "./GetCompanyBillingEntityResponse";
|
|
28
31
|
export * from "./GetCompanyResponse";
|
|
29
32
|
export * from "./GetEntityTraitDefinitionResponse";
|
|
33
|
+
export * from "./GetEntityTraitDefinitionUsageResponse";
|
|
30
34
|
export * from "./GetEntityTraitValuesParams";
|
|
31
35
|
export * from "./GetEntityTraitValuesResponse";
|
|
32
36
|
export * from "./GetOrCreateCompanyMembershipResponse";
|
package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare namespace CreateCreditBundleRequestBody {
|
|
|
11
11
|
interface Raw {
|
|
12
12
|
bundle_name: string;
|
|
13
13
|
bundle_type?: BillingCreditBundleType.Raw | null;
|
|
14
|
+
compatible_plan_ids?: string[] | null;
|
|
14
15
|
credit_id: string;
|
|
15
16
|
currency: string;
|
|
16
17
|
currency_prices?: CreditBundleCurrencyPriceRequestBody.Raw[] | null;
|
|
@@ -9,6 +9,7 @@ export declare const UpdateCreditBundleDetailsRequestBody: core.serialization.Sc
|
|
|
9
9
|
export declare namespace UpdateCreditBundleDetailsRequestBody {
|
|
10
10
|
interface Raw {
|
|
11
11
|
bundle_name: string;
|
|
12
|
+
compatible_plan_ids?: string[] | null;
|
|
12
13
|
currency_prices?: CreditBundleCurrencyPriceRequestBody.Raw[] | null;
|
|
13
14
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
14
15
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
@@ -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 { TimeSeriesGranularity } from "../../../types/TimeSeriesGranularity";
|
|
5
|
+
export declare const ListFeatureUsageHistoryParams: core.serialization.ObjectSchema<serializers.ListFeatureUsageHistoryParams.Raw, Schematic.ListFeatureUsageHistoryParams>;
|
|
6
|
+
export declare namespace ListFeatureUsageHistoryParams {
|
|
7
|
+
interface Raw {
|
|
8
|
+
company_ids?: string[] | null;
|
|
9
|
+
end_time?: string | null;
|
|
10
|
+
feature_ids?: string[] | null;
|
|
11
|
+
granularity?: TimeSeriesGranularity.Raw | null;
|
|
12
|
+
limit?: number | null;
|
|
13
|
+
offset?: number | null;
|
|
14
|
+
start_time?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -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 { FeatureUsageHistoryResponseData } from "../../../types/FeatureUsageHistoryResponseData";
|
|
5
|
+
import { ListFeatureUsageHistoryParams } from "./ListFeatureUsageHistoryParams";
|
|
6
|
+
export declare const ListFeatureUsageHistoryResponse: core.serialization.ObjectSchema<serializers.ListFeatureUsageHistoryResponse.Raw, Schematic.ListFeatureUsageHistoryResponse>;
|
|
7
|
+
export declare namespace ListFeatureUsageHistoryResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: FeatureUsageHistoryResponseData.Raw[];
|
|
10
|
+
params: ListFeatureUsageHistoryParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -27,6 +27,8 @@ export * from "./ListCompanyOverridesParams";
|
|
|
27
27
|
export * from "./ListCompanyOverridesResponse";
|
|
28
28
|
export * from "./ListFeatureCompaniesParams";
|
|
29
29
|
export * from "./ListFeatureCompaniesResponse";
|
|
30
|
+
export * from "./ListFeatureUsageHistoryParams";
|
|
31
|
+
export * from "./ListFeatureUsageHistoryResponse";
|
|
30
32
|
export * from "./ListFeatureUsageParams";
|
|
31
33
|
export * from "./ListFeatureUsageResponse";
|
|
32
34
|
export * from "./ListFeatureUsersParams";
|
|
@@ -8,9 +8,9 @@ import { UpsertBillingProductRequestBody } from "../../../../types/UpsertBilling
|
|
|
8
8
|
export declare const CreateCustomPlanBundleRequestBody: core.serialization.Schema<serializers.CreateCustomPlanBundleRequestBody.Raw, Schematic.CreateCustomPlanBundleRequestBody>;
|
|
9
9
|
export declare namespace CreateCustomPlanBundleRequestBody {
|
|
10
10
|
interface Raw {
|
|
11
|
-
billing_product
|
|
11
|
+
billing_product: UpsertBillingProductRequestBody.Raw;
|
|
12
12
|
credit_grants?: PlanBundleCreditGrantRequestBody.Raw[] | null;
|
|
13
13
|
entitlements: PlanBundleEntitlementRequestBody.Raw[];
|
|
14
|
-
plan
|
|
14
|
+
plan: CreateCustomPlanBundlePlanRequestBody.Raw;
|
|
15
15
|
}
|
|
16
16
|
}
|
package/dist/serialization/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ export declare namespace CreatePlanBundleRequestBody {
|
|
|
11
11
|
billing_product?: UpsertBillingProductRequestBody.Raw | null;
|
|
12
12
|
credit_grants?: PlanBundleCreditGrantRequestBody.Raw[] | null;
|
|
13
13
|
entitlements: PlanBundleEntitlementRequestBody.Raw[];
|
|
14
|
-
plan
|
|
14
|
+
plan: CreatePlanRequestBody.Raw;
|
|
15
15
|
}
|
|
16
16
|
}
|
package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare namespace UpdatePlanBundleRequestBody {
|
|
|
11
11
|
billing_product?: UpsertBillingProductRequestBody.Raw | null;
|
|
12
12
|
credit_grants?: PlanBundleCreditGrantRequestBody.Raw[] | null;
|
|
13
13
|
entitlements: PlanBundleEntitlementRequestBody.Raw[];
|
|
14
|
-
plan
|
|
14
|
+
plan: UpdatePlanRequestBody.Raw;
|
|
15
15
|
plan_version_id?: string | null;
|
|
16
16
|
}
|
|
17
17
|
}
|
package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
|
+
import { CheckoutBundlePurchaseBehavior } from "../../../../types/CheckoutBundlePurchaseBehavior";
|
|
4
5
|
import { CheckoutFieldInput } from "../../../../types/CheckoutFieldInput";
|
|
5
6
|
import { CompatiblePlans } from "../../../../types/CompatiblePlans";
|
|
6
7
|
import { CustomPlanConfig } from "../../../../types/CustomPlanConfig";
|
|
@@ -13,9 +14,11 @@ export declare namespace CreatePlanGroupRequestBody {
|
|
|
13
14
|
interface Raw {
|
|
14
15
|
add_on_compatibilities?: CompatiblePlans.Raw[] | null;
|
|
15
16
|
add_on_ids: string[];
|
|
17
|
+
checkout_bundle_purchase_behavior?: CheckoutBundlePurchaseBehavior.Raw | null;
|
|
16
18
|
checkout_collect_address: boolean;
|
|
17
19
|
checkout_collect_email: boolean;
|
|
18
20
|
checkout_collect_phone: boolean;
|
|
21
|
+
checkout_collect_tax_id: boolean;
|
|
19
22
|
custom_checkout_fields?: CheckoutFieldInput.Raw[] | null;
|
|
20
23
|
custom_plan_config?: CustomPlanConfig.Raw | null;
|
|
21
24
|
custom_plan_id?: string | null;
|
package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
|
+
import { CheckoutBundlePurchaseBehavior } from "../../../../types/CheckoutBundlePurchaseBehavior";
|
|
4
5
|
import { CheckoutFieldInput } from "../../../../types/CheckoutFieldInput";
|
|
5
6
|
import { CompatiblePlans } from "../../../../types/CompatiblePlans";
|
|
6
7
|
import { CustomPlanConfig } from "../../../../types/CustomPlanConfig";
|
|
@@ -13,9 +14,11 @@ export declare namespace UpdatePlanGroupRequestBody {
|
|
|
13
14
|
interface Raw {
|
|
14
15
|
add_on_compatibilities?: CompatiblePlans.Raw[] | null;
|
|
15
16
|
add_on_ids: string[];
|
|
17
|
+
checkout_bundle_purchase_behavior?: CheckoutBundlePurchaseBehavior.Raw | null;
|
|
16
18
|
checkout_collect_address: boolean;
|
|
17
19
|
checkout_collect_email: boolean;
|
|
18
20
|
checkout_collect_phone: boolean;
|
|
21
|
+
checkout_collect_tax_id: boolean;
|
|
19
22
|
custom_checkout_fields?: CheckoutFieldInput.Raw[] | null;
|
|
20
23
|
custom_plan_config?: CustomPlanConfig.Raw | null;
|
|
21
24
|
custom_plan_id?: string | null;
|
package/dist/serialization/resources/planmigrations/client/requests/CreateMigrationInput.d.ts
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
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 { MigrationProrationBehavior } from "../../../../types/MigrationProrationBehavior";
|
|
4
5
|
import { PlanType } from "../../../../types/PlanType";
|
|
5
6
|
import { PlanVersionMigrationStrategy } from "../../../../types/PlanVersionMigrationStrategy";
|
|
6
7
|
export declare const CreateMigrationInput: core.serialization.Schema<serializers.CreateMigrationInput.Raw, Schematic.CreateMigrationInput>;
|
|
7
8
|
export declare namespace CreateMigrationInput {
|
|
8
9
|
interface Raw {
|
|
9
|
-
company_ids
|
|
10
|
-
excluded_company_ids
|
|
10
|
+
company_ids?: string[] | null;
|
|
11
|
+
excluded_company_ids?: string[] | null;
|
|
11
12
|
plan_id: string;
|
|
12
13
|
plan_version_id_to: string;
|
|
13
|
-
plan_version_ids_from
|
|
14
|
+
plan_version_ids_from?: string[] | null;
|
|
15
|
+
proration_behavior?: MigrationProrationBehavior.Raw | null;
|
|
14
16
|
strategy: PlanVersionMigrationStrategy.Raw;
|
|
15
17
|
target_plan_type: PlanType.Raw;
|
|
16
18
|
}
|
package/dist/serialization/resources/planmigrations/client/requests/PreviewMigrationRequestBody.d.ts
CHANGED
|
@@ -5,9 +5,10 @@ import { PlanType } from "../../../../types/PlanType";
|
|
|
5
5
|
export declare const PreviewMigrationRequestBody: core.serialization.Schema<serializers.PreviewMigrationRequestBody.Raw, Schematic.PreviewMigrationRequestBody>;
|
|
6
6
|
export declare namespace PreviewMigrationRequestBody {
|
|
7
7
|
interface Raw {
|
|
8
|
-
company_ids
|
|
8
|
+
company_ids?: string[] | null;
|
|
9
9
|
plan_id: string;
|
|
10
10
|
plan_version_id_to: string;
|
|
11
|
+
plan_version_ids_from?: string[] | null;
|
|
11
12
|
target_plan_type: PlanType.Raw;
|
|
12
13
|
}
|
|
13
14
|
}
|
package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const CreateBillingLinkedPlanRequestBody: core.serialization.Sche
|
|
|
8
8
|
export declare namespace CreateBillingLinkedPlanRequestBody {
|
|
9
9
|
interface Raw {
|
|
10
10
|
billing_provider: BillingProviderType.Raw;
|
|
11
|
-
description
|
|
11
|
+
description?: string | null;
|
|
12
12
|
external_resource_id: string;
|
|
13
13
|
external_resource_version?: string | null;
|
|
14
14
|
icon?: PlanIcon.Raw | null;
|
|
@@ -7,7 +7,8 @@ export declare namespace CreateCustomPlanRequestBody {
|
|
|
7
7
|
interface Raw {
|
|
8
8
|
company_id: string;
|
|
9
9
|
copied_from_plan_id?: string | null;
|
|
10
|
-
|
|
10
|
+
copied_price_id?: string | null;
|
|
11
|
+
description?: string | null;
|
|
11
12
|
icon?: PlanIcon.Raw | null;
|
|
12
13
|
name: string;
|
|
13
14
|
}
|
package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../index";
|
|
|
4
4
|
import { CheckoutFieldValue } from "../../../../types/CheckoutFieldValue";
|
|
5
5
|
import { CustomerBillingAddress } from "../../../../types/CustomerBillingAddress";
|
|
6
6
|
import { CustomPlanActivationStrategy } from "../../../../types/CustomPlanActivationStrategy";
|
|
7
|
+
import { MigrationProrationBehavior } from "../../../../types/MigrationProrationBehavior";
|
|
7
8
|
import { PlanVersionMigrationStrategy } from "../../../../types/PlanVersionMigrationStrategy";
|
|
8
9
|
import { TaxIdInput } from "../../../../types/TaxIdInput";
|
|
9
10
|
export declare const PublishPlanVersionRequestBody: core.serialization.Schema<serializers.PublishPlanVersionRequestBody.Raw, Schematic.PublishPlanVersionRequestBody>;
|
|
@@ -18,6 +19,8 @@ export declare namespace PublishPlanVersionRequestBody {
|
|
|
18
19
|
excluded_company_ids: string[];
|
|
19
20
|
migration_strategy: PlanVersionMigrationStrategy.Raw;
|
|
20
21
|
phone?: string | null;
|
|
22
|
+
proration_behavior?: MigrationProrationBehavior.Raw | null;
|
|
23
|
+
require_no_migration?: boolean | null;
|
|
21
24
|
send_invoice?: boolean | null;
|
|
22
25
|
tax_id?: TaxIdInput.Raw | null;
|
|
23
26
|
}
|
|
@@ -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 { CustomPlanBillingStatus } from "../../../types/CustomPlanBillingStatus";
|
|
5
|
+
import { PlanBillingSource } from "../../../types/PlanBillingSource";
|
|
5
6
|
export declare const ListCustomPlanBillingsParams: core.serialization.ObjectSchema<serializers.ListCustomPlanBillingsParams.Raw, Schematic.ListCustomPlanBillingsParams>;
|
|
6
7
|
export declare namespace ListCustomPlanBillingsParams {
|
|
7
8
|
interface Raw {
|
|
8
9
|
company_id?: string | null;
|
|
9
10
|
limit?: number | null;
|
|
10
11
|
offset?: number | null;
|
|
12
|
+
plan_billing_source?: PlanBillingSource.Raw | null;
|
|
11
13
|
plan_id?: string | null;
|
|
12
14
|
status?: CustomPlanBillingStatus.Raw | null;
|
|
13
15
|
statuses?: CustomPlanBillingStatus.Raw[] | null;
|
|
@@ -7,6 +7,7 @@ import { EnvironmentResponseData } from "./EnvironmentResponseData";
|
|
|
7
7
|
export declare const AuditLogResponseData: core.serialization.ObjectSchema<serializers.AuditLogResponseData.Raw, Schematic.AuditLogResponseData>;
|
|
8
8
|
export declare namespace AuditLogResponseData {
|
|
9
9
|
interface Raw {
|
|
10
|
+
account_member_id?: string | null;
|
|
10
11
|
actor_type: ActorType.Raw;
|
|
11
12
|
api_key?: ApiKeyResponseData.Raw | null;
|
|
12
13
|
api_key_id?: string | null;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Schematic from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const BillingCollectionMethod: core.serialization.Schema<serializers.BillingCollectionMethod.Raw, Schematic.BillingCollectionMethod>;
|
|
5
|
+
export declare namespace BillingCollectionMethod {
|
|
6
|
+
type Raw = "charge_automatically" | "send_invoice";
|
|
7
|
+
}
|
|
@@ -12,6 +12,7 @@ export declare namespace BillingCreditBundleResponseData {
|
|
|
12
12
|
interface Raw {
|
|
13
13
|
billing_invoice_id?: string | null;
|
|
14
14
|
bundle_type: BillingCreditBundleType.Raw;
|
|
15
|
+
compatible_plan_ids: string[];
|
|
15
16
|
created_at: string;
|
|
16
17
|
credit_description?: string | null;
|
|
17
18
|
credit_icon?: string | null;
|
|
@@ -11,6 +11,7 @@ export declare const BillingCreditBundleView: core.serialization.ObjectSchema<se
|
|
|
11
11
|
export declare namespace BillingCreditBundleView {
|
|
12
12
|
interface Raw {
|
|
13
13
|
bundle_type: BillingCreditBundleType.Raw;
|
|
14
|
+
compatible_plan_ids: string[];
|
|
14
15
|
created_at: string;
|
|
15
16
|
credit_description?: string | null;
|
|
16
17
|
credit_icon?: string | null;
|
|
@@ -10,6 +10,7 @@ export declare const BillingCreditGrantResponseData: core.serialization.ObjectSc
|
|
|
10
10
|
export declare namespace BillingCreditGrantResponseData {
|
|
11
11
|
interface Raw {
|
|
12
12
|
company_id: string;
|
|
13
|
+
company_license_id?: string | null;
|
|
13
14
|
company_name: string;
|
|
14
15
|
created_at: string;
|
|
15
16
|
credit_icon?: string | null;
|
|
@@ -19,6 +20,7 @@ export declare namespace BillingCreditGrantResponseData {
|
|
|
19
20
|
expires_at?: string | null;
|
|
20
21
|
grant_reason: BillingCreditGrantReason.Raw;
|
|
21
22
|
id: string;
|
|
23
|
+
license_name?: string | null;
|
|
22
24
|
plan_id?: string | null;
|
|
23
25
|
plan_name?: string | null;
|
|
24
26
|
price?: BillingPriceResponseData.Raw | null;
|
|
@@ -24,6 +24,7 @@ export declare namespace BillingPlanCreditGrantResponseData {
|
|
|
24
24
|
auto_topup_threshold_credits?: number | null;
|
|
25
25
|
auto_topup_threshold_percent?: number | null;
|
|
26
26
|
can_buy_bundles: boolean;
|
|
27
|
+
company_credit_amount: number;
|
|
27
28
|
created_at: string;
|
|
28
29
|
credit?: BillingCreditResponseData.Raw | null;
|
|
29
30
|
credit_amount: number;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type * as Schematic from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { PreflightRequestBody } from "./PreflightRequestBody";
|
|
4
5
|
export declare const CheckFlagRequestBody: core.serialization.ObjectSchema<serializers.CheckFlagRequestBody.Raw, Schematic.CheckFlagRequestBody>;
|
|
5
6
|
export declare namespace CheckFlagRequestBody {
|
|
6
7
|
interface Raw {
|
|
7
8
|
company?: Record<string, string> | null;
|
|
9
|
+
preflight?: PreflightRequestBody.Raw | null;
|
|
8
10
|
user?: Record<string, string> | null;
|
|
9
11
|
}
|
|
10
12
|
}
|
|
@@ -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 CheckoutBundlePurchaseBehavior: core.serialization.Schema<serializers.CheckoutBundlePurchaseBehavior.Raw, Schematic.CheckoutBundlePurchaseBehavior>;
|
|
5
|
+
export declare namespace CheckoutBundlePurchaseBehavior {
|
|
6
|
+
type Raw = "individual" | "quantity";
|
|
7
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
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 { CheckoutBundlePurchaseBehavior } from "./CheckoutBundlePurchaseBehavior";
|
|
4
5
|
export declare const CheckoutSettingsResponseData: core.serialization.ObjectSchema<serializers.CheckoutSettingsResponseData.Raw, Schematic.CheckoutSettingsResponseData>;
|
|
5
6
|
export declare namespace CheckoutSettingsResponseData {
|
|
6
7
|
interface Raw {
|
|
8
|
+
bundle_purchase_behavior: CheckoutBundlePurchaseBehavior.Raw;
|
|
7
9
|
collect_address: boolean;
|
|
8
10
|
collect_email: boolean;
|
|
9
11
|
collect_phone: boolean;
|
|
12
|
+
collect_tax_id: boolean;
|
|
10
13
|
opt_in_enabled: boolean;
|
|
11
14
|
opt_in_text?: string | null;
|
|
12
15
|
opt_in_title?: string | null;
|
|
@@ -8,6 +8,8 @@ export declare namespace CompanyFeatureUsageExportMetadata {
|
|
|
8
8
|
interface Raw {
|
|
9
9
|
company_ids?: string[] | null;
|
|
10
10
|
credit_type_ids?: string[] | null;
|
|
11
|
+
entity_key_definition_ids?: string[] | null;
|
|
12
|
+
entity_trait_definition_ids?: string[] | null;
|
|
11
13
|
feature_ids?: string[] | null;
|
|
12
14
|
has_scheduled_downgrade?: boolean | null;
|
|
13
15
|
monetized_subscriptions?: boolean | null;
|
|
@@ -15,6 +17,7 @@ export declare namespace CompanyFeatureUsageExportMetadata {
|
|
|
15
17
|
plan_id?: string | null;
|
|
16
18
|
plan_ids?: string[] | null;
|
|
17
19
|
plan_version_id?: string | null;
|
|
20
|
+
plan_version_unpublished?: boolean | null;
|
|
18
21
|
q?: string | null;
|
|
19
22
|
sort_order_column?: string | null;
|
|
20
23
|
sort_order_direction?: CompanyFeatureUsageExportMetadataSortOrderDirection.Raw | null;
|
|
@@ -27,6 +27,7 @@ export declare namespace CompanyPlanCreditGrantView {
|
|
|
27
27
|
company_auto_topup_amount?: number | null;
|
|
28
28
|
company_auto_topup_enabled?: boolean | null;
|
|
29
29
|
company_auto_topup_threshold_credits?: number | null;
|
|
30
|
+
company_credit_amount: number;
|
|
30
31
|
created_at: string;
|
|
31
32
|
credit?: BillingCreditView.Raw | null;
|
|
32
33
|
credit_amount: number;
|
|
@@ -1,13 +1,16 @@
|
|
|
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 { CheckoutBundlePurchaseBehavior } from "./CheckoutBundlePurchaseBehavior";
|
|
4
5
|
import { ProrationBehavior } from "./ProrationBehavior";
|
|
5
6
|
export declare const ComponentCheckoutSettings: core.serialization.ObjectSchema<serializers.ComponentCheckoutSettings.Raw, Schematic.ComponentCheckoutSettings>;
|
|
6
7
|
export declare namespace ComponentCheckoutSettings {
|
|
7
8
|
interface Raw {
|
|
9
|
+
bundle_purchase_behavior: CheckoutBundlePurchaseBehavior.Raw;
|
|
8
10
|
collect_address: boolean;
|
|
9
11
|
collect_email: boolean;
|
|
10
12
|
collect_phone: boolean;
|
|
13
|
+
collect_tax_id: boolean;
|
|
11
14
|
proration_behavior: ProrationBehavior.Raw;
|
|
12
15
|
tax_collection_enabled: boolean;
|
|
13
16
|
}
|
|
@@ -13,10 +13,10 @@ import { ComponentDisplaySettings } from "./ComponentDisplaySettings";
|
|
|
13
13
|
import { ComponentResponseData } from "./ComponentResponseData";
|
|
14
14
|
import { CreditCompanyGrantView } from "./CreditCompanyGrantView";
|
|
15
15
|
import { FeatureUsageDetailResponseData } from "./FeatureUsageDetailResponseData";
|
|
16
|
-
import { InvoiceResponseData } from "./InvoiceResponseData";
|
|
17
16
|
import { PlanDetailResponseData } from "./PlanDetailResponseData";
|
|
18
17
|
import { ScheduledDowngradeResponseData } from "./ScheduledDowngradeResponseData";
|
|
19
18
|
import { StripeEmbedInfo } from "./StripeEmbedInfo";
|
|
19
|
+
import { UpcomingInvoiceResponseData } from "./UpcomingInvoiceResponseData";
|
|
20
20
|
import { UsageBasedEntitlementResponseData } from "./UsageBasedEntitlementResponseData";
|
|
21
21
|
export declare const ComponentHydrateResponseData: core.serialization.ObjectSchema<serializers.ComponentHydrateResponseData.Raw, Schematic.ComponentHydrateResponseData>;
|
|
22
22
|
export declare namespace ComponentHydrateResponseData {
|
|
@@ -47,6 +47,6 @@ export declare namespace ComponentHydrateResponseData {
|
|
|
47
47
|
stripe_embed?: StripeEmbedInfo.Raw | null;
|
|
48
48
|
subscription?: CompanySubscriptionResponseData.Raw | null;
|
|
49
49
|
trial_payment_method_required?: boolean | null;
|
|
50
|
-
upcoming_invoice?:
|
|
50
|
+
upcoming_invoice?: UpcomingInvoiceResponseData.Raw | null;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -17,6 +17,7 @@ import { InvoiceResponseData } from "./InvoiceResponseData";
|
|
|
17
17
|
import { PlanDetailResponseData } from "./PlanDetailResponseData";
|
|
18
18
|
import { ScheduledDowngradeResponseData } from "./ScheduledDowngradeResponseData";
|
|
19
19
|
import { StripeEmbedInfo } from "./StripeEmbedInfo";
|
|
20
|
+
import { UpcomingInvoiceResponseData } from "./UpcomingInvoiceResponseData";
|
|
20
21
|
import { UsageBasedEntitlementResponseData } from "./UsageBasedEntitlementResponseData";
|
|
21
22
|
export declare const ComponentPreviewResponseData: core.serialization.ObjectSchema<serializers.ComponentPreviewResponseData.Raw, Schematic.ComponentPreviewResponseData>;
|
|
22
23
|
export declare namespace ComponentPreviewResponseData {
|
|
@@ -48,6 +49,6 @@ export declare namespace ComponentPreviewResponseData {
|
|
|
48
49
|
stripe_embed?: StripeEmbedInfo.Raw | null;
|
|
49
50
|
subscription?: CompanySubscriptionResponseData.Raw | null;
|
|
50
51
|
trial_payment_method_required?: boolean | null;
|
|
51
|
-
upcoming_invoice?:
|
|
52
|
+
upcoming_invoice?: UpcomingInvoiceResponseData.Raw | null;
|
|
52
53
|
}
|
|
53
54
|
}
|
|
@@ -24,6 +24,7 @@ export declare namespace CreateBillingPlanCreditGrantRequestBody {
|
|
|
24
24
|
auto_topup_threshold_credits?: number | null;
|
|
25
25
|
auto_topup_threshold_percent?: number | null;
|
|
26
26
|
can_buy_bundles?: boolean | null;
|
|
27
|
+
company_credit_amount?: number | null;
|
|
27
28
|
credit_amount: number;
|
|
28
29
|
credit_id: string;
|
|
29
30
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
@@ -6,7 +6,7 @@ export declare const CreateCustomPlanBundlePlanRequestBody: core.serialization.O
|
|
|
6
6
|
export declare namespace CreateCustomPlanBundlePlanRequestBody {
|
|
7
7
|
interface Raw {
|
|
8
8
|
company_id: string;
|
|
9
|
-
description
|
|
9
|
+
description?: string | null;
|
|
10
10
|
icon?: PlanIcon.Raw | null;
|
|
11
11
|
name: string;
|
|
12
12
|
}
|
|
@@ -6,7 +6,7 @@ import { PlanType } from "./PlanType";
|
|
|
6
6
|
export declare const CreatePlanRequestBody: core.serialization.ObjectSchema<serializers.CreatePlanRequestBody.Raw, Schematic.CreatePlanRequestBody>;
|
|
7
7
|
export declare namespace CreatePlanRequestBody {
|
|
8
8
|
interface Raw {
|
|
9
|
-
description
|
|
9
|
+
description?: string | null;
|
|
10
10
|
icon?: PlanIcon.Raw | null;
|
|
11
11
|
name: string;
|
|
12
12
|
plan_type: PlanType.Raw;
|