@schematichq/schematic-components 2.30.0 → 2.31.0
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 +35 -7
- package/dist/schematic-components.browser.cjs.js +1113 -657
- package/dist/schematic-components.browser.esm.js +880 -424
- package/dist/schematic-components.cjs.js +1115 -659
- package/dist/schematic-components.d.ts +108 -12
- package/dist/schematic-components.esm.js +880 -424
- package/package.json +4 -4
|
@@ -4054,6 +4054,12 @@ declare interface CompanyDetailResponseData {
|
|
|
4054
4054
|
billingCreditBalances?: {
|
|
4055
4055
|
[key: string]: number;
|
|
4056
4056
|
} | null;
|
|
4057
|
+
/**
|
|
4058
|
+
*
|
|
4059
|
+
* @type {string}
|
|
4060
|
+
* @memberof CompanyDetailResponseData
|
|
4061
|
+
*/
|
|
4062
|
+
billingEmail?: string | null;
|
|
4057
4063
|
/**
|
|
4058
4064
|
*
|
|
4059
4065
|
* @type {CompanyBillingProfileResponseData}
|
|
@@ -4927,6 +4933,12 @@ declare interface CompanyPlanDetailResponseData {
|
|
|
4927
4933
|
* @memberof CompanyPlanDetailResponseData
|
|
4928
4934
|
*/
|
|
4929
4935
|
entitlements?: Array<PlanEntitlementResponseData> | null;
|
|
4936
|
+
/**
|
|
4937
|
+
*
|
|
4938
|
+
* @type {Array<EstimatedPlanTotal>}
|
|
4939
|
+
* @memberof CompanyPlanDetailResponseData
|
|
4940
|
+
*/
|
|
4941
|
+
estimatedTotals?: Array<EstimatedPlanTotal>;
|
|
4930
4942
|
/**
|
|
4931
4943
|
*
|
|
4932
4944
|
* @type {Array<FeatureInPlanResponseData>}
|
|
@@ -5526,6 +5538,12 @@ declare interface ComponentDisplaySettings {
|
|
|
5526
5538
|
* @memberof ComponentDisplaySettings
|
|
5527
5539
|
*/
|
|
5528
5540
|
showCredits: boolean;
|
|
5541
|
+
/**
|
|
5542
|
+
*
|
|
5543
|
+
* @type {boolean}
|
|
5544
|
+
* @memberof ComponentDisplaySettings
|
|
5545
|
+
*/
|
|
5546
|
+
showEstimatedTotal: boolean;
|
|
5529
5547
|
/**
|
|
5530
5548
|
*
|
|
5531
5549
|
* @type {boolean}
|
|
@@ -5581,6 +5599,12 @@ declare interface ComponentDisplaySettings_2 {
|
|
|
5581
5599
|
* @memberof ComponentDisplaySettings
|
|
5582
5600
|
*/
|
|
5583
5601
|
showCredits: boolean;
|
|
5602
|
+
/**
|
|
5603
|
+
*
|
|
5604
|
+
* @type {boolean}
|
|
5605
|
+
* @memberof ComponentDisplaySettings
|
|
5606
|
+
*/
|
|
5607
|
+
showEstimatedTotal: boolean;
|
|
5584
5608
|
/**
|
|
5585
5609
|
*
|
|
5586
5610
|
* @type {boolean}
|
|
@@ -6709,6 +6733,12 @@ declare interface CustomPlanBillingResponseData {
|
|
|
6709
6733
|
* @memberof CustomPlanBillingResponseData
|
|
6710
6734
|
*/
|
|
6711
6735
|
billingCycleAnchor?: Date | null;
|
|
6736
|
+
/**
|
|
6737
|
+
* The date the contract term starts, when the operator pinned one. A past date was backdated onto the subscription so the first period runs from the contract date rather than from finalization.
|
|
6738
|
+
* @type {Date}
|
|
6739
|
+
* @memberof CustomPlanBillingResponseData
|
|
6740
|
+
*/
|
|
6741
|
+
billingStartDate?: Date | null;
|
|
6712
6742
|
/**
|
|
6713
6743
|
*
|
|
6714
6744
|
* @type {string}
|
|
@@ -7414,6 +7444,8 @@ declare const en: {
|
|
|
7414
7444
|
"Error processing payment. Please try a different payment method.": string;
|
|
7415
7445
|
"Error retrieving plan details. Please try again in a moment.": string;
|
|
7416
7446
|
"Error updating payment method. Please try again.": string;
|
|
7447
|
+
"Estimated at current usage": string;
|
|
7448
|
+
"Estimated at current usage with base price": string;
|
|
7417
7449
|
"Estimated bill": string;
|
|
7418
7450
|
"Everything in": string;
|
|
7419
7451
|
Expired: string;
|
|
@@ -8088,6 +8120,32 @@ declare interface ErrorContext {
|
|
|
8088
8120
|
response?: Response;
|
|
8089
8121
|
}
|
|
8090
8122
|
|
|
8123
|
+
/**
|
|
8124
|
+
*
|
|
8125
|
+
* @export
|
|
8126
|
+
* @interface EstimatedPlanTotal
|
|
8127
|
+
*/
|
|
8128
|
+
declare interface EstimatedPlanTotal {
|
|
8129
|
+
/**
|
|
8130
|
+
*
|
|
8131
|
+
* @type {number}
|
|
8132
|
+
* @memberof EstimatedPlanTotal
|
|
8133
|
+
*/
|
|
8134
|
+
amount: number;
|
|
8135
|
+
/**
|
|
8136
|
+
*
|
|
8137
|
+
* @type {string}
|
|
8138
|
+
* @memberof EstimatedPlanTotal
|
|
8139
|
+
*/
|
|
8140
|
+
currency: string;
|
|
8141
|
+
/**
|
|
8142
|
+
*
|
|
8143
|
+
* @type {PlanPriceCadence}
|
|
8144
|
+
* @memberof EstimatedPlanTotal
|
|
8145
|
+
*/
|
|
8146
|
+
period: PlanPriceCadence;
|
|
8147
|
+
}
|
|
8148
|
+
|
|
8091
8149
|
/**
|
|
8092
8150
|
* Schematic API
|
|
8093
8151
|
* Schematic API
|
|
@@ -10014,6 +10072,18 @@ declare interface Middleware {
|
|
|
10014
10072
|
onError?(context: ErrorContext): Promise<Response | void>;
|
|
10015
10073
|
}
|
|
10016
10074
|
|
|
10075
|
+
/**
|
|
10076
|
+
*
|
|
10077
|
+
* @export
|
|
10078
|
+
*/
|
|
10079
|
+
declare const MigrationProrationBehavior: {
|
|
10080
|
+
readonly AlwaysInvoice: "always_invoice";
|
|
10081
|
+
readonly CreateProrations: "create_prorations";
|
|
10082
|
+
readonly None: "none";
|
|
10083
|
+
};
|
|
10084
|
+
|
|
10085
|
+
declare type MigrationProrationBehavior = (typeof MigrationProrationBehavior)[keyof typeof MigrationProrationBehavior];
|
|
10086
|
+
|
|
10017
10087
|
export declare const Notice: IStyledComponentBase<"web", Omit<FastOmit<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
|
|
10018
10088
|
style?: CSSProperties | CSSPropertiesWithVars | undefined;
|
|
10019
10089
|
}, BoxProps>, "as" | "forwardedAs"> & {
|
|
@@ -10184,23 +10254,18 @@ declare interface PaymentMethodResponseData {
|
|
|
10184
10254
|
updatedAt: Date;
|
|
10185
10255
|
}
|
|
10186
10256
|
|
|
10187
|
-
/**
|
|
10188
|
-
* Schematic API
|
|
10189
|
-
* Schematic API
|
|
10190
|
-
*
|
|
10191
|
-
* The version of the OpenAPI document: 0.1
|
|
10192
|
-
*
|
|
10193
|
-
*
|
|
10194
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10195
|
-
* https://openapi-generator.tech
|
|
10196
|
-
* Do not edit the class manually.
|
|
10197
|
-
*/
|
|
10198
10257
|
/**
|
|
10199
10258
|
*
|
|
10200
10259
|
* @export
|
|
10201
10260
|
* @interface PendingMigrationResponseData
|
|
10202
10261
|
*/
|
|
10203
10262
|
declare interface PendingMigrationResponseData {
|
|
10263
|
+
/**
|
|
10264
|
+
* When the company moves to the new version: the migration's date for a scheduled migration, or the end of the company's current billing period. Null when no date can be named yet, for example when the company's only subscription is past due or set to cancel; the company then moves at the next opportunity.
|
|
10265
|
+
* @type {Date}
|
|
10266
|
+
* @memberof PendingMigrationResponseData
|
|
10267
|
+
*/
|
|
10268
|
+
effectiveAt?: Date | null;
|
|
10204
10269
|
/**
|
|
10205
10270
|
*
|
|
10206
10271
|
* @type {string}
|
|
@@ -10208,11 +10273,24 @@ declare interface PendingMigrationResponseData {
|
|
|
10208
10273
|
*/
|
|
10209
10274
|
migrationId: string;
|
|
10210
10275
|
/**
|
|
10211
|
-
*
|
|
10276
|
+
* How the price difference is billed when the company moves. Always none for an end-of-billing-period migration.
|
|
10277
|
+
* @type {MigrationProrationBehavior}
|
|
10278
|
+
* @memberof PendingMigrationResponseData
|
|
10279
|
+
*/
|
|
10280
|
+
prorationBehavior?: MigrationProrationBehavior | null;
|
|
10281
|
+
/**
|
|
10282
|
+
* Deprecated; use effective_at, which carries the same value.
|
|
10212
10283
|
* @type {Date}
|
|
10213
10284
|
* @memberof PendingMigrationResponseData
|
|
10285
|
+
* @deprecated
|
|
10214
10286
|
*/
|
|
10215
10287
|
scheduledFor?: Date | null;
|
|
10288
|
+
/**
|
|
10289
|
+
* Whether the company moves at the end of its billing period (end_of_billing_period) or on a specific date (scheduled). The type is shared with plan version migrations, but only those two values appear here: an immediate migration never pends.
|
|
10290
|
+
* @type {PlanVersionMigrationStrategy}
|
|
10291
|
+
* @memberof PendingMigrationResponseData
|
|
10292
|
+
*/
|
|
10293
|
+
strategy: PlanVersionMigrationStrategy;
|
|
10216
10294
|
/**
|
|
10217
10295
|
*
|
|
10218
10296
|
* @type {string}
|
|
@@ -11873,6 +11951,19 @@ declare const PlanType_2: {
|
|
|
11873
11951
|
|
|
11874
11952
|
declare type PlanType_2 = (typeof PlanType_2)[keyof typeof PlanType_2];
|
|
11875
11953
|
|
|
11954
|
+
/**
|
|
11955
|
+
*
|
|
11956
|
+
* @export
|
|
11957
|
+
*/
|
|
11958
|
+
declare const PlanVersionMigrationStrategy: {
|
|
11959
|
+
readonly EndOfBillingPeriod: "end_of_billing_period";
|
|
11960
|
+
readonly Immediate: "immediate";
|
|
11961
|
+
readonly Leave: "leave";
|
|
11962
|
+
readonly Scheduled: "scheduled";
|
|
11963
|
+
};
|
|
11964
|
+
|
|
11965
|
+
declare type PlanVersionMigrationStrategy = (typeof PlanVersionMigrationStrategy)[keyof typeof PlanVersionMigrationStrategy];
|
|
11966
|
+
|
|
11876
11967
|
/**
|
|
11877
11968
|
*
|
|
11878
11969
|
* @export
|
|
@@ -13844,6 +13935,11 @@ export declare type SchematicTranslations = Partial<Record<BundleKey | `${Schema
|
|
|
13844
13935
|
/** The English bundle, for a host to translate from. */
|
|
13845
13936
|
export declare const schematicTranslationsEn: Readonly<SchematicTranslations>;
|
|
13846
13937
|
|
|
13938
|
+
/**
|
|
13939
|
+
* The Italian bundle, for `translations={{ it: schematicTranslationsIt }}`.
|
|
13940
|
+
*/
|
|
13941
|
+
export declare const schematicTranslationsIt: Readonly<SchematicTranslations>;
|
|
13942
|
+
|
|
13847
13943
|
export declare const Selected: ({ isCurrent, isTrial, }: SelectedProps) => JSX.Element;
|
|
13848
13944
|
|
|
13849
13945
|
declare type SelectedPlan = Plan_2 & {
|