@schematichq/schematic-typescript-node 1.5.8 → 1.5.9
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/api/resources/accounts/client/Client.d.ts +28 -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/companies/client/Client.d.ts +53 -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/credits/client/Client.d.ts +2 -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/entitlements/client/Client.d.ts +23 -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/planbundle/client/Client.d.ts +23 -6
- package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +12 -3
- package/dist/api/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +7 -2
- package/dist/api/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +5 -2
- package/dist/api/resources/plangroups/client/Client.d.ts +2 -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 +4 -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 +10 -9
- package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +1 -0
- 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/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 +2 -0
- 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/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- 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 +7 -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/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 +1 -0
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +4 -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 +16 -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/CreateCustomPlanRequestBody.d.ts +1 -0
- 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/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/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- 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 +14 -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/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 +1 -0
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- 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 +16 -0
- package/dist/wasm/rulesengine.js +4 -4
- package/package.json +4 -1
|
@@ -1,21 +1,35 @@
|
|
|
1
1
|
import type * as Schematic from "../index";
|
|
2
2
|
export interface ManagePlanRequest {
|
|
3
|
+
/** If true, the company gets the plan only once the first invoice is paid. Only applies to an invoiced subscription. Defaults to false. */
|
|
4
|
+
activateOnPayment?: boolean;
|
|
3
5
|
addOnSelections: Schematic.PlanSelection[];
|
|
4
6
|
basePlanId?: string;
|
|
5
7
|
basePlanPriceId?: string;
|
|
6
8
|
basePlanVersionId?: string;
|
|
9
|
+
/** The date the subscription's billing period renews on. Only honored when starting a new subscription; changing the anchor on an existing subscription is not supported. */
|
|
10
|
+
billingCycleAnchor?: Date;
|
|
11
|
+
/** Address the invoice is sent to. Required when collection_method is send_invoice. */
|
|
12
|
+
billingEmail?: string;
|
|
7
13
|
/** The company that pays for this subscription. Must already have a Stripe customer. Only honored when starting a new subscription. */
|
|
8
14
|
billingEntityId?: string;
|
|
9
15
|
/** If false, subscription cancels at period end. Only applies when removing all plans. Defaults to true. */
|
|
10
16
|
cancelImmediately?: boolean;
|
|
17
|
+
/** How the subscription is paid: charged to a payment method on file, or invoiced with payment terms. Invoicing is only available when starting a new subscription. Defaults to charge_automatically. */
|
|
18
|
+
collectionMethod?: Schematic.BillingCollectionMethod;
|
|
11
19
|
companyId: string;
|
|
12
20
|
couponExternalId?: string;
|
|
13
21
|
creditBundles: Schematic.UpdateCreditBundleRequestBody[];
|
|
14
22
|
customFieldValues: Schematic.CheckoutFieldValue[];
|
|
23
|
+
/** Payment terms in days for an invoiced subscription. Defaults to 30. */
|
|
24
|
+
daysUntilDue?: number;
|
|
15
25
|
payInAdvanceEntitlements: Schematic.UpdatePayInAdvanceRequestBody[];
|
|
16
26
|
paymentMethodExternalId?: string;
|
|
17
27
|
promoCode?: string;
|
|
18
28
|
/** If true and cancel_immediately is true, issue prorated credit. Only applies when removing all plans. Defaults to true. */
|
|
19
29
|
prorate?: boolean;
|
|
30
|
+
/** When true, the partial period between the subscription starting and its renewal date is billed pro rata straight away. When false that period is free and no invoice is raised until the renewal date. Only applies alongside billing_cycle_anchor. Defaults to true. */
|
|
31
|
+
prorateFirstPeriod?: boolean;
|
|
32
|
+
/** Whether Stripe emails the invoice when it is finalized. Only applies to an invoiced subscription. Defaults to true. */
|
|
33
|
+
sendInvoice?: boolean;
|
|
20
34
|
trialEnd?: Date;
|
|
21
35
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const MigrationProrationBehavior: {
|
|
2
|
+
readonly AlwaysInvoice: "always_invoice";
|
|
3
|
+
readonly CreateProrations: "create_prorations";
|
|
4
|
+
readonly None: "none";
|
|
5
|
+
};
|
|
6
|
+
export type MigrationProrationBehavior = (typeof MigrationProrationBehavior)[keyof typeof MigrationProrationBehavior];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const OnboardingRequirement: {
|
|
2
|
+
readonly ConnectBilling: "connect_billing";
|
|
3
|
+
readonly CreateApiKey: "create_api_key";
|
|
4
|
+
readonly FirstFlagCheck: "first_flag_check";
|
|
5
|
+
readonly ImportCompanies: "import_companies";
|
|
6
|
+
readonly ModelPackaging: "model_packaging";
|
|
7
|
+
readonly SendEvents: "send_events";
|
|
8
|
+
};
|
|
9
|
+
export type OnboardingRequirement = (typeof OnboardingRequirement)[keyof typeof OnboardingRequirement];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const OnboardingRequirementStatus: {
|
|
2
|
+
readonly Available: "available";
|
|
3
|
+
readonly Blocked: "blocked";
|
|
4
|
+
readonly Complete: "complete";
|
|
5
|
+
};
|
|
6
|
+
export type OnboardingRequirementStatus = (typeof OnboardingRequirementStatus)[keyof typeof OnboardingRequirementStatus];
|
|
@@ -11,6 +11,7 @@ export interface PlanCreditGrantView {
|
|
|
11
11
|
billingCreditAutoTopupThresholdCredits?: number;
|
|
12
12
|
billingCreditAutoTopupThresholdPercent?: number;
|
|
13
13
|
billingCreditCanBuyBundles: boolean;
|
|
14
|
+
companyCreditAmount: number;
|
|
14
15
|
createdAt: Date;
|
|
15
16
|
credit?: Schematic.BillingCreditView;
|
|
16
17
|
creditAmount: number;
|
|
@@ -10,6 +10,7 @@ export interface PlanVersionMigrationResponseData {
|
|
|
10
10
|
planVersionIdFrom?: string;
|
|
11
11
|
planVersionIdTo: string;
|
|
12
12
|
planVersionIdsFrom: string[];
|
|
13
|
+
prorationBehavior?: Schematic.MigrationProrationBehavior;
|
|
13
14
|
skippedCompanies: number;
|
|
14
15
|
startedAt?: Date;
|
|
15
16
|
status: Schematic.PlanVersionMigrationStatus;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Schematic from "../index";
|
|
2
|
+
export interface PreflightRequestBody {
|
|
3
|
+
/** Cost in credits of the action, keyed by credit ID, for callers that have already computed it. Takes precedence over usage and event_usage on credit balance conditions for the same credit. A cost of zero means the action is free, not that the input is absent */
|
|
4
|
+
creditCost?: Record<string, number>;
|
|
5
|
+
/** Usage of a specific event subtype. Preferred over usage when the subtype is known, since it only affects conditions measuring that subtype */
|
|
6
|
+
eventUsage?: Schematic.PreflightEventUsageRequestBody;
|
|
7
|
+
/** Quantity of usage to simulate against any numeric condition encountered while evaluating the flag. Zero has no effect */
|
|
8
|
+
usage?: number;
|
|
9
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** The current schema version hash for rules engine types. The first enum value is always the current version. */
|
|
2
2
|
export declare const RulesEngineSchemaVersion: {
|
|
3
|
-
readonly
|
|
3
|
+
readonly Vc8Eb8Df4: "vc8eb8df4";
|
|
4
4
|
readonly PlaceholderForFernCompatibility: "placeholder-for-fern-compatibility";
|
|
5
5
|
};
|
|
6
6
|
export type RulesEngineSchemaVersion = (typeof RulesEngineSchemaVersion)[keyof typeof RulesEngineSchemaVersion];
|
|
@@ -12,17 +12,19 @@ export interface UpdateBillingPlanCreditGrantRequestBody {
|
|
|
12
12
|
autoTopupThresholdCredits?: number;
|
|
13
13
|
autoTopupThresholdPercent?: number;
|
|
14
14
|
canBuyBundles?: boolean;
|
|
15
|
+
/** Credits granted once per company on top of the per-license amount. Only valid when the grant scales per license. */
|
|
16
|
+
companyCreditAmount?: number;
|
|
15
17
|
creditAmount?: number;
|
|
16
18
|
expiryType?: Schematic.BillingCreditExpiryType;
|
|
17
19
|
expiryUnit?: Schematic.BillingCreditExpiryUnit;
|
|
18
20
|
expiryUnitCount?: number;
|
|
19
|
-
/** The license whose quantity scales this grant.
|
|
21
|
+
/** The license whose quantity scales this grant. Cleared when the grant moves off per-license scaling. */
|
|
20
22
|
licenseId?: string;
|
|
21
23
|
resetCadence: Schematic.BillingPlanCreditGrantResetCadence;
|
|
22
24
|
resetStart: Schematic.BillingPlanCreditGrantResetStart;
|
|
23
25
|
resetType?: Schematic.BillingPlanCreditGrantResetType;
|
|
24
26
|
/** Percentage of unused credits that carry over when this grant resets. Only applies when reset_type is plan_period. Rolled-over credits expire at the next reset and are not rolled again. */
|
|
25
27
|
rolloverPercentage?: number;
|
|
26
|
-
/** Whether the grant is a fixed amount per company, or issued once per license the company holds.
|
|
28
|
+
/** Whether the grant is a fixed amount per company, or issued once per license the company holds. Changing this re-issues the credits companies already hold for this grant. */
|
|
27
29
|
scaling?: Schematic.PlanCreditGrantScaling;
|
|
28
30
|
}
|
|
@@ -10,6 +10,8 @@ export interface UpsertCompanyRequestBody {
|
|
|
10
10
|
lastSeenAt?: Date;
|
|
11
11
|
name?: string;
|
|
12
12
|
preventKeyRemap?: boolean;
|
|
13
|
+
/** Names of keys to remove from the company. Removing a key the company does not have does nothing, and a company must keep at least one key. */
|
|
14
|
+
removeKeys?: string[];
|
|
13
15
|
/** A map of trait names to trait values */
|
|
14
16
|
traits?: Record<string, unknown>;
|
|
15
17
|
updateOnly?: boolean;
|
|
@@ -13,6 +13,8 @@ export interface UpsertUserRequestBody {
|
|
|
13
13
|
keys: Record<string, string>;
|
|
14
14
|
lastSeenAt?: Date;
|
|
15
15
|
name?: string;
|
|
16
|
+
/** Names of keys to remove from the user. Removing a key the user does not have does nothing, and a user must keep at least one key. */
|
|
17
|
+
removeKeys?: string[];
|
|
16
18
|
/** A map of trait names to trait values */
|
|
17
19
|
traits?: Record<string, unknown>;
|
|
18
20
|
updateOnly?: boolean;
|
|
@@ -9,6 +9,8 @@ export interface UpsertUserSubRequestBody {
|
|
|
9
9
|
keys: Record<string, string>;
|
|
10
10
|
lastSeenAt?: Date;
|
|
11
11
|
name?: string;
|
|
12
|
+
/** Names of keys to remove from the user. Removing a key the user does not have does nothing, and a user must keep at least one key. */
|
|
13
|
+
removeKeys?: string[];
|
|
12
14
|
/** A map of trait names to trait values */
|
|
13
15
|
traits?: Record<string, unknown>;
|
|
14
16
|
updateOnly?: boolean;
|
|
@@ -12,6 +12,7 @@ export * from "./ApiKeyScope";
|
|
|
12
12
|
export * from "./AuditLogExportMetadata";
|
|
13
13
|
export * from "./AuditLogListResponseData";
|
|
14
14
|
export * from "./AuditLogResponseData";
|
|
15
|
+
export * from "./BillingCollectionMethod";
|
|
15
16
|
export * from "./BillingCouponResponseData";
|
|
16
17
|
export * from "./BillingCreditAutoTopupAvailability";
|
|
17
18
|
export * from "./BillingCreditBundleResponseData";
|
|
@@ -80,6 +81,7 @@ export * from "./CheckFlagRequestBody";
|
|
|
80
81
|
export * from "./CheckFlagResponseData";
|
|
81
82
|
export * from "./CheckFlagsBulkResponseData";
|
|
82
83
|
export * from "./CheckFlagsResponseData";
|
|
84
|
+
export * from "./CheckoutBundlePurchaseBehavior";
|
|
83
85
|
export * from "./CheckoutDataResponseData";
|
|
84
86
|
export * from "./CheckoutFieldInput";
|
|
85
87
|
export * from "./CheckoutFieldResponseData";
|
|
@@ -204,6 +206,7 @@ export * from "./EntityKeyDefinitionResponseData";
|
|
|
204
206
|
export * from "./EntityKeyDetailResponseData";
|
|
205
207
|
export * from "./EntityKeyResponseData";
|
|
206
208
|
export * from "./EntityTraitDefinitionResponseData";
|
|
209
|
+
export * from "./EntityTraitDefinitionUsage";
|
|
207
210
|
export * from "./EntityTraitDetailResponseData";
|
|
208
211
|
export * from "./EntityTraitResponseData";
|
|
209
212
|
export * from "./EntityTraitValue";
|
|
@@ -237,6 +240,7 @@ export * from "./FeatureLifecyclePhase";
|
|
|
237
240
|
export * from "./FeatureResponseData";
|
|
238
241
|
export * from "./FeatureType";
|
|
239
242
|
export * from "./FeatureUsageDetailResponseData";
|
|
243
|
+
export * from "./FeatureUsageHistoryResponseData";
|
|
240
244
|
export * from "./FeatureUsageLegacyResponseData";
|
|
241
245
|
export * from "./FeatureUsageResponseData";
|
|
242
246
|
export * from "./FeatureUsageTimeSeriesResponseData";
|
|
@@ -247,6 +251,7 @@ export * from "./FlagResponseData";
|
|
|
247
251
|
export * from "./FlagType";
|
|
248
252
|
export * from "./FlagView";
|
|
249
253
|
export * from "./GenericPreviewObject";
|
|
254
|
+
export * from "./GetOnboardingStateResp";
|
|
250
255
|
export * from "./InsightsSummaryResponseData";
|
|
251
256
|
export * from "./InstallIntegrationRequestBody";
|
|
252
257
|
export * from "./IntegrationCapabilities";
|
|
@@ -276,11 +281,20 @@ export * from "./MetricPeriod";
|
|
|
276
281
|
export * from "./MetricPeriodMonthReset";
|
|
277
282
|
export * from "./MetronomeIntegrationConfig";
|
|
278
283
|
export * from "./MigrationErrorCode";
|
|
284
|
+
export * from "./MigrationProrationBehavior";
|
|
279
285
|
export * from "./MrrResponseData";
|
|
286
|
+
export * from "./OnboardingMilestone";
|
|
287
|
+
export * from "./OnboardingMilestoneView";
|
|
288
|
+
export * from "./OnboardingPath";
|
|
289
|
+
export * from "./OnboardingRequirement";
|
|
290
|
+
export * from "./OnboardingRequirementStatus";
|
|
291
|
+
export * from "./OnboardingRequirementView";
|
|
292
|
+
export * from "./OnboardingTrack";
|
|
280
293
|
export * from "./OrbIntegrationConfig";
|
|
281
294
|
export * from "./OrderedPlansInGroup";
|
|
282
295
|
export * from "./PaymentMethodRequestBody";
|
|
283
296
|
export * from "./PaymentMethodResponseData";
|
|
297
|
+
export * from "./PlanBillingSource";
|
|
284
298
|
export * from "./PlanBundleAction";
|
|
285
299
|
export * from "./PlanBundleCreditGrantRequestBody";
|
|
286
300
|
export * from "./PlanBundleEntitlementRequestBody";
|
|
@@ -323,6 +337,8 @@ export * from "./PlanVersionResponseData";
|
|
|
323
337
|
export * from "./PlanVersionSnapshotView";
|
|
324
338
|
export * from "./PlanVersionStatus";
|
|
325
339
|
export * from "./PlanViewPublicResponseData";
|
|
340
|
+
export * from "./PreflightEventUsageRequestBody";
|
|
341
|
+
export * from "./PreflightRequestBody";
|
|
326
342
|
export * from "./PreviewObject";
|
|
327
343
|
export * from "./PreviewObjectResponseData";
|
|
328
344
|
export * from "./PreviewSubscriptionChangeResponseData";
|