@schematichq/schematic-components 2.21.0 → 2.22.0-rc.1

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.
@@ -1,6 +1,8 @@
1
1
  import { ButtonHTMLAttributes } from 'react';
2
- import { ClassAttributes } from 'react';
3
2
  import { Context } from 'react';
3
+ import { CSSProperties } from 'react';
4
+ import { CSSProperties as CSSProperties_2 } from 'styled-components';
5
+ import { CSSPropertiesWithVars } from 'styled-components/dist/types';
4
6
  import { DetailedHTMLProps } from 'react';
5
7
  import { FastOmit } from 'styled-components';
6
8
  import { ForwardRefExoticComponent } from 'react';
@@ -11,6 +13,7 @@ import { iconsList } from '@schematichq/schematic-icons';
11
13
  import { InputHTMLAttributes } from 'react';
12
14
  import { IStyledComponentBase } from 'styled-components/dist/types';
13
15
  import { JSX } from 'react';
16
+ import { Merged } from 'styled-components/dist/types';
14
17
  import { RefAttributes } from 'react';
15
18
  import { RuleSet } from 'styled-components';
16
19
  import type { Stripe } from '@stripe/stripe-js';
@@ -702,10 +705,10 @@ declare interface BillingCreditView {
702
705
  pricePerUnitDecimal?: string | null;
703
706
  /**
704
707
  *
705
- * @type {BillingProductResponseData}
708
+ * @type {BillingProductRecordResponseData}
706
709
  * @memberof BillingCreditView
707
710
  */
708
- product?: BillingProductResponseData;
711
+ product?: BillingProductRecordResponseData;
709
712
  /**
710
713
  *
711
714
  * @type {string}
@@ -836,10 +839,10 @@ declare interface BillingCreditView_2 {
836
839
  pricePerUnitDecimal?: string | null;
837
840
  /**
838
841
  *
839
- * @type {BillingProductResponseData}
842
+ * @type {BillingProductRecordResponseData}
840
843
  * @memberof BillingCreditView
841
844
  */
842
- product?: BillingProductResponseData_2;
845
+ product?: BillingProductRecordResponseData_2;
843
846
  /**
844
847
  *
845
848
  * @type {string}
@@ -1054,6 +1057,12 @@ declare interface BillingPlanCreditGrantResponseData {
1054
1057
  * @memberof BillingPlanCreditGrantResponseData
1055
1058
  */
1056
1059
  canBuyBundles: boolean;
1060
+ /**
1061
+ * Credits granted once per company on top of the per-license amount. Always 0 when scaling is fixed.
1062
+ * @type {number}
1063
+ * @memberof BillingPlanCreditGrantResponseData
1064
+ */
1065
+ companyCreditAmount: number;
1057
1066
  /**
1058
1067
  *
1059
1068
  * @type {Date}
@@ -1123,6 +1132,12 @@ declare interface BillingPlanCreditGrantResponseData {
1123
1132
  * @memberof BillingPlanCreditGrantResponseData
1124
1133
  */
1125
1134
  id: string;
1135
+ /**
1136
+ * The license whose quantity scales this grant. Set only when scaling is per_license.
1137
+ * @type {string}
1138
+ * @memberof BillingPlanCreditGrantResponseData
1139
+ */
1140
+ licenseId?: string | null;
1126
1141
  /**
1127
1142
  *
1128
1143
  * @type {PreviewObjectResponseData}
@@ -1172,6 +1187,12 @@ declare interface BillingPlanCreditGrantResponseData {
1172
1187
  * @memberof BillingPlanCreditGrantResponseData
1173
1188
  */
1174
1189
  rolloverPercentage: number;
1190
+ /**
1191
+ * Whether the grant is a fixed amount per company, or issued once per license the company holds.
1192
+ * @type {PlanCreditGrantScaling}
1193
+ * @memberof BillingPlanCreditGrantResponseData
1194
+ */
1195
+ scaling: PlanCreditGrantScaling;
1175
1196
  /**
1176
1197
  *
1177
1198
  * @type {Date}
@@ -2236,6 +2257,130 @@ declare interface BillingProductPriceTierResponseData_2 {
2236
2257
  upTo?: number | null;
2237
2258
  }
2238
2259
 
2260
+ /**
2261
+ *
2262
+ * @export
2263
+ * @interface BillingProductRecordResponseData
2264
+ */
2265
+ declare interface BillingProductRecordResponseData {
2266
+ /**
2267
+ *
2268
+ * @type {string}
2269
+ * @memberof BillingProductRecordResponseData
2270
+ */
2271
+ accountId: string;
2272
+ /**
2273
+ *
2274
+ * @type {Date}
2275
+ * @memberof BillingProductRecordResponseData
2276
+ */
2277
+ createdAt: Date;
2278
+ /**
2279
+ *
2280
+ * @type {string}
2281
+ * @memberof BillingProductRecordResponseData
2282
+ */
2283
+ environmentId: string;
2284
+ /**
2285
+ *
2286
+ * @type {string}
2287
+ * @memberof BillingProductRecordResponseData
2288
+ */
2289
+ externalId: string;
2290
+ /**
2291
+ *
2292
+ * @type {string}
2293
+ * @memberof BillingProductRecordResponseData
2294
+ */
2295
+ id: string;
2296
+ /**
2297
+ *
2298
+ * @type {boolean}
2299
+ * @memberof BillingProductRecordResponseData
2300
+ */
2301
+ isActive: boolean;
2302
+ /**
2303
+ *
2304
+ * @type {string}
2305
+ * @memberof BillingProductRecordResponseData
2306
+ */
2307
+ name: string;
2308
+ /**
2309
+ *
2310
+ * @type {BillingProviderType}
2311
+ * @memberof BillingProductRecordResponseData
2312
+ */
2313
+ providerType: BillingProviderType;
2314
+ /**
2315
+ *
2316
+ * @type {Date}
2317
+ * @memberof BillingProductRecordResponseData
2318
+ */
2319
+ updatedAt: Date;
2320
+ }
2321
+
2322
+ /**
2323
+ *
2324
+ * @export
2325
+ * @interface BillingProductRecordResponseData
2326
+ */
2327
+ declare interface BillingProductRecordResponseData_2 {
2328
+ /**
2329
+ *
2330
+ * @type {string}
2331
+ * @memberof BillingProductRecordResponseData
2332
+ */
2333
+ accountId: string;
2334
+ /**
2335
+ *
2336
+ * @type {Date}
2337
+ * @memberof BillingProductRecordResponseData
2338
+ */
2339
+ createdAt: Date;
2340
+ /**
2341
+ *
2342
+ * @type {string}
2343
+ * @memberof BillingProductRecordResponseData
2344
+ */
2345
+ environmentId: string;
2346
+ /**
2347
+ *
2348
+ * @type {string}
2349
+ * @memberof BillingProductRecordResponseData
2350
+ */
2351
+ externalId: string;
2352
+ /**
2353
+ *
2354
+ * @type {string}
2355
+ * @memberof BillingProductRecordResponseData
2356
+ */
2357
+ id: string;
2358
+ /**
2359
+ *
2360
+ * @type {boolean}
2361
+ * @memberof BillingProductRecordResponseData
2362
+ */
2363
+ isActive: boolean;
2364
+ /**
2365
+ *
2366
+ * @type {string}
2367
+ * @memberof BillingProductRecordResponseData
2368
+ */
2369
+ name: string;
2370
+ /**
2371
+ *
2372
+ * @type {BillingProviderType}
2373
+ * @memberof BillingProductRecordResponseData
2374
+ */
2375
+ providerType: BillingProviderType_2;
2376
+ /**
2377
+ *
2378
+ * @type {Date}
2379
+ * @memberof BillingProductRecordResponseData
2380
+ */
2381
+ updatedAt: Date;
2382
+ }
2383
+
2239
2384
  /**
2240
2385
  *
2241
2386
  * @export
@@ -2748,25 +2893,9 @@ declare const BillingTiersMode_2: {
2748
2893
 
2749
2894
  declare type BillingTiersMode_2 = (typeof BillingTiersMode_2)[keyof typeof BillingTiersMode_2];
2750
2895
 
2751
- export declare const Box: IStyledComponentBase<"web", FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
2752
- $viewport?: {
2753
- "sm"?: TransientCSSProperties;
2754
- "md"?: TransientCSSProperties;
2755
- "lg"?: TransientCSSProperties;
2756
- "xl"?: TransientCSSProperties;
2757
- "2xl"?: TransientCSSProperties;
2758
- [key: string]: TransientCSSProperties | undefined;
2759
- };
2760
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
2761
- $viewport?: {
2762
- "sm"?: TransientCSSProperties;
2763
- "md"?: TransientCSSProperties;
2764
- "lg"?: TransientCSSProperties;
2765
- "xl"?: TransientCSSProperties;
2766
- "2xl"?: TransientCSSProperties;
2767
- [key: string]: TransientCSSProperties | undefined;
2768
- };
2769
- }, never>>> & string;
2896
+ export declare const Box: IStyledComponentBase<"web", Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
2897
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
2898
+ }, BoxProps>> & string;
2770
2899
 
2771
2900
  export declare type BoxProps = ComponentProps & {
2772
2901
  $viewport?: {
@@ -2779,7 +2908,9 @@ export declare type BoxProps = ComponentProps & {
2779
2908
  };
2780
2909
  };
2781
2910
 
2782
- export declare const Button: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof ButtonProps> & ButtonProps, never> & Partial<Pick<FastOmit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof ButtonProps> & ButtonProps, never>>> & string;
2911
+ export declare const Button: IStyledComponentBase<"web", Merged<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style"> & {
2912
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
2913
+ }, ButtonProps>> & string;
2783
2914
 
2784
2915
  export declare type ButtonAlignment = "start" | "center" | "end";
2785
2916
 
@@ -3097,9 +3228,13 @@ declare const ChargeType_2: {
3097
3228
 
3098
3229
  declare type ChargeType_2 = (typeof ChargeType_2)[keyof typeof ChargeType_2];
3099
3230
 
3100
- export declare const Checkbox: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof ClassAttributes<HTMLInputElement> | keyof InputHTMLAttributes<HTMLInputElement>> & ClassAttributes<HTMLInputElement> & InputHTMLAttributes<HTMLInputElement>, "type"> & Partial<Pick<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof ClassAttributes<HTMLInputElement> | keyof InputHTMLAttributes<HTMLInputElement>> & ClassAttributes<HTMLInputElement> & InputHTMLAttributes<HTMLInputElement>, "type">>> & string;
3231
+ export declare const Checkbox: IStyledComponentBase<"web", FastOmit<Merged<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
3232
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
3233
+ }, DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, "type"> & Partial<Pick<Merged<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
3234
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
3235
+ }, DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, "type">>> & string;
3101
3236
 
3102
- export declare const Checkout: ({ customCheckoutFields, customFieldValues, isPaymentMethodRequired, onCustomFieldChange, optInRequired, optInTitle, optInText, optInAccepted, setOptInAccepted, setPaymentMethodId, promoCode, updatePromoCode, confirmPaymentIntentProps, financeData, onPaymentMethodSaved, }: CheckoutProps) => JSX.Element | null;
3237
+ export declare const Checkout: ({ collectTaxId, customCheckoutFields, customFieldValues, isPaymentMethodRequired, onCustomFieldChange, taxIdValues, onTaxIdChange, onTaxIdBlur, taxIdError, optInRequired, optInTitle, optInText, optInAccepted, setOptInAccepted, setPaymentMethodId, promoCode, updatePromoCode, confirmPaymentIntentProps, financeData, onPaymentMethodSaved, }: CheckoutProps) => JSX.Element | null;
3103
3238
 
3104
3239
  /**
3105
3240
  * Host-provided initial values used to pre-populate the checkout payment form.
@@ -3226,10 +3361,15 @@ export declare interface CheckoutPrefill {
3226
3361
  }
3227
3362
 
3228
3363
  declare interface CheckoutProps {
3364
+ collectTaxId?: boolean;
3229
3365
  customCheckoutFields?: CheckoutFieldWithValue[];
3230
3366
  customFieldValues: Record<string, string>;
3231
3367
  isPaymentMethodRequired: boolean;
3232
3368
  onCustomFieldChange: (fieldId: string, value: string) => void;
3369
+ taxIdValues?: TaxIdValues;
3370
+ onTaxIdChange?: (value: TaxIdValues) => void;
3371
+ onTaxIdBlur?: () => void;
3372
+ taxIdError?: string;
3233
3373
  optInRequired: boolean;
3234
3374
  optInTitle?: string | null;
3235
3375
  optInText?: string | null;
@@ -4057,6 +4197,12 @@ declare interface CompanyPlanCreditGrantView {
4057
4197
  * @memberof CompanyPlanCreditGrantView
4058
4198
  */
4059
4199
  companyAutoTopupThresholdCredits?: number | null;
4200
+ /**
4201
+ *
4202
+ * @type {number}
4203
+ * @memberof CompanyPlanCreditGrantView
4204
+ */
4205
+ companyCreditAmount: number;
4060
4206
  /**
4061
4207
  *
4062
4208
  * @type {Date}
@@ -4126,6 +4272,12 @@ declare interface CompanyPlanCreditGrantView {
4126
4272
  * @memberof CompanyPlanCreditGrantView
4127
4273
  */
4128
4274
  id: string;
4275
+ /**
4276
+ *
4277
+ * @type {string}
4278
+ * @memberof CompanyPlanCreditGrantView
4279
+ */
4280
+ licenseId?: string | null;
4129
4281
  /**
4130
4282
  *
4131
4283
  * @type {GenericPreviewObject}
@@ -4175,6 +4327,12 @@ declare interface CompanyPlanCreditGrantView {
4175
4327
  * @memberof CompanyPlanCreditGrantView
4176
4328
  */
4177
4329
  rolloverPercentage: number;
4330
+ /**
4331
+ *
4332
+ * @type {PlanCreditGrantScaling}
4333
+ * @memberof CompanyPlanCreditGrantView
4334
+ */
4335
+ scaling: PlanCreditGrantScaling;
4178
4336
  /**
4179
4337
  * Deprecated field, will be removed in the future. Use Credit.SingularName instead.
4180
4338
  * @type {string}
@@ -4391,12 +4549,12 @@ declare interface CompanyPlanDetailResponseData {
4391
4549
  */
4392
4550
  isDefault: boolean;
4393
4551
  /**
4394
- * Deprecated: Use BillingStrategy instead
4552
+ * Deprecated: reports the plan's charge type, not its price. Read the plan's prices to tell whether it costs anything, or billing_strategy to tell how it is billed.
4395
4553
  * @type {boolean}
4396
4554
  * @memberof CompanyPlanDetailResponseData
4397
4555
  * @deprecated
4398
4556
  */
4399
- isFree: boolean;
4557
+ isFree?: boolean | null;
4400
4558
  /**
4401
4559
  *
4402
4560
  * @type {boolean}
@@ -4660,6 +4818,55 @@ declare interface CompanySubscriptionResponseData {
4660
4818
  trialEnd?: Date | null;
4661
4819
  }
4662
4820
 
4821
+ /**
4822
+ * Schematic API
4823
+ * Schematic API
4824
+ *
4825
+ * The version of the OpenAPI document: 0.1
4826
+ *
4827
+ *
4828
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4829
+ * https://openapi-generator.tech
4830
+ * Do not edit the class manually.
4831
+ */
4832
+ /**
4833
+ *
4834
+ * @export
4835
+ * @interface CompanyTaxIDView
4836
+ */
4837
+ declare interface CompanyTaxIDView {
4838
+ /**
4839
+ *
4840
+ * @type {string}
4841
+ * @memberof CompanyTaxIDView
4842
+ */
4843
+ country: string;
4844
+ /**
4845
+ *
4846
+ * @type {string}
4847
+ * @memberof CompanyTaxIDView
4848
+ */
4849
+ id: string;
4850
+ /**
4851
+ *
4852
+ * @type {string}
4853
+ * @memberof CompanyTaxIDView
4854
+ */
4855
+ type: string;
4856
+ /**
4857
+ *
4858
+ * @type {string}
4859
+ * @memberof CompanyTaxIDView
4860
+ */
4861
+ value: string;
4862
+ /**
4863
+ *
4864
+ * @type {string}
4865
+ * @memberof CompanyTaxIDView
4866
+ */
4867
+ verificationStatus?: string | null;
4868
+ }
4869
+
4663
4870
  /**
4664
4871
  *
4665
4872
  * @export
@@ -4818,17 +5025,6 @@ declare interface ComponentCapabilities_2 {
4818
5025
  checkout: boolean;
4819
5026
  }
4820
5027
 
4821
- /**
4822
- * Schematic API
4823
- * Schematic API
4824
- *
4825
- * The version of the OpenAPI document: 0.1
4826
- *
4827
- *
4828
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4829
- * https://openapi-generator.tech
4830
- * Do not edit the class manually.
4831
- */
4832
5028
  /**
4833
5029
  *
4834
5030
  * @export
@@ -4853,6 +5049,18 @@ declare interface ComponentCheckoutSettings {
4853
5049
  * @memberof ComponentCheckoutSettings
4854
5050
  */
4855
5051
  collectPhone: boolean;
5052
+ /**
5053
+ *
5054
+ * @type {boolean}
5055
+ * @memberof ComponentCheckoutSettings
5056
+ */
5057
+ collectTaxId: boolean;
5058
+ /**
5059
+ *
5060
+ * @type {ProrationBehavior}
5061
+ * @memberof ComponentCheckoutSettings
5062
+ */
5063
+ prorationBehavior: ProrationBehavior;
4856
5064
  /**
4857
5065
  *
4858
5066
  * @type {boolean}
@@ -5402,7 +5610,9 @@ declare interface ConfirmPaymentIntentProps_2 {
5402
5610
  callback: (confirmed: boolean) => void;
5403
5611
  }
5404
5612
 
5405
- export declare const Container: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
5613
+ export declare const Container: IStyledComponentBase<"web", Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
5614
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
5615
+ }> & string;
5406
5616
 
5407
5617
  export declare const ContainerStyle: RuleSet<object>;
5408
5618
 
@@ -5460,6 +5670,12 @@ declare interface CreditCompanyGrantView {
5460
5670
  * @memberof CreditCompanyGrantView
5461
5671
  */
5462
5672
  companyId: string;
5673
+ /**
5674
+ *
5675
+ * @type {string}
5676
+ * @memberof CreditCompanyGrantView
5677
+ */
5678
+ companyLicenseId?: string | null;
5463
5679
  /**
5464
5680
  *
5465
5681
  * @type {string}
@@ -5538,6 +5754,12 @@ declare interface CreditCompanyGrantView {
5538
5754
  * @memberof CreditCompanyGrantView
5539
5755
  */
5540
5756
  id: string;
5757
+ /**
5758
+ *
5759
+ * @type {string}
5760
+ * @memberof CreditCompanyGrantView
5761
+ */
5762
+ licenseName?: string | null;
5541
5763
  /**
5542
5764
  *
5543
5765
  * @type {string}
@@ -5985,6 +6207,12 @@ declare interface CustomPlanBillingResponseData {
5985
6207
  * @memberof CustomPlanBillingResponseData
5986
6208
  */
5987
6209
  paidAt?: Date | null;
6210
+ /**
6211
+ * The flow that created this billing record: a custom plan, or a standard plan assigned by invoice through Manage Plan.
6212
+ * @type {PlanBillingSource}
6213
+ * @memberof CustomPlanBillingResponseData
6214
+ */
6215
+ planBillingSource: PlanBillingSource;
5988
6216
  /**
5989
6217
  *
5990
6218
  * @type {string}
@@ -5997,6 +6225,12 @@ declare interface CustomPlanBillingResponseData {
5997
6225
  * @memberof CustomPlanBillingResponseData
5998
6226
  */
5999
6227
  publishedAt?: Date | null;
6228
+ /**
6229
+ *
6230
+ * @type {boolean}
6231
+ * @memberof CustomPlanBillingResponseData
6232
+ */
6233
+ sendInvoice: boolean;
6000
6234
  /**
6001
6235
  *
6002
6236
  * @type {CustomPlanBillingStatus}
@@ -6401,49 +6635,16 @@ export declare interface DialogProps extends React.DialogHTMLAttributes<HTMLDial
6401
6635
 
6402
6636
  export declare type DialogSize = "sm" | "md" | "lg" | "auto";
6403
6637
 
6404
- declare const Element_2: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
6405
- $viewport?: {
6406
- "sm"?: TransientCSSProperties;
6407
- "md"?: TransientCSSProperties;
6408
- "lg"?: TransientCSSProperties;
6409
- "xl"?: TransientCSSProperties;
6410
- "2xl"?: TransientCSSProperties;
6411
- [key: string]: TransientCSSProperties | undefined;
6412
- };
6413
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
6414
- $viewport?: {
6415
- "sm"?: TransientCSSProperties;
6416
- "md"?: TransientCSSProperties;
6417
- "lg"?: TransientCSSProperties;
6418
- "xl"?: TransientCSSProperties;
6419
- "2xl"?: TransientCSSProperties;
6420
- [key: string]: TransientCSSProperties | undefined;
6421
- };
6422
- }, never>>, "as" | "forwardedAs"> & {
6423
- as?: WebTarget | undefined;
6424
- forwardedAs?: WebTarget | undefined;
6425
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
6426
- $viewport?: {
6427
- "sm"?: TransientCSSProperties;
6428
- "md"?: TransientCSSProperties;
6429
- "lg"?: TransientCSSProperties;
6430
- "xl"?: TransientCSSProperties;
6431
- "2xl"?: TransientCSSProperties;
6432
- [key: string]: TransientCSSProperties | undefined;
6433
- };
6434
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
6435
- $viewport?: {
6436
- "sm"?: TransientCSSProperties;
6437
- "md"?: TransientCSSProperties;
6438
- "lg"?: TransientCSSProperties;
6439
- "xl"?: TransientCSSProperties;
6440
- "2xl"?: TransientCSSProperties;
6441
- [key: string]: TransientCSSProperties | undefined;
6442
- };
6443
- }, never>>, "as" | "forwardedAs"> & {
6638
+ declare const Element_2: IStyledComponentBase<"web", Omit<FastOmit<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
6639
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
6640
+ }, BoxProps>, "as" | "forwardedAs"> & {
6444
6641
  as?: WebTarget | undefined;
6445
6642
  forwardedAs?: WebTarget | undefined;
6446
- }, never>>> & string;
6643
+ }, "style"> & {
6644
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
6645
+ [key: `--${string}`]: string | number | undefined;
6646
+ }) | undefined;
6647
+ }> & string;
6447
6648
  export { Element_2 as Element }
6448
6649
 
6449
6650
  declare interface ElementProps {
@@ -6470,6 +6671,8 @@ export declare interface EmbedContextProps extends EmbedState {
6470
6671
  finishCheckout: (changeSubscriptionRequestBody: CheckoutResponseData) => void;
6471
6672
  unsubscribe: () => DebouncedApiPromise<CheckoutUnsubscribeResponse>;
6472
6673
  updateCustomFieldValues: (values: Record<string, string>) => Promise<void> | undefined;
6674
+ updateTaxId: (taxId: TaxIDInput) => Promise<UpdateCheckoutTaxIDResponse | undefined>;
6675
+ getTaxId: () => Promise<GetCheckoutTaxIDResponse | undefined>;
6473
6676
  setAccessToken: (token: string) => void;
6474
6677
  setError: (error: Error) => void;
6475
6678
  setLayout: (layout: EmbedLayout) => void;
@@ -8169,49 +8372,16 @@ declare const FlagType_2: {
8169
8372
 
8170
8373
  declare type FlagType_2 = (typeof FlagType_2)[keyof typeof FlagType_2];
8171
8374
 
8172
- export declare const Flex: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8173
- $viewport?: {
8174
- "sm"?: TransientCSSProperties;
8175
- "md"?: TransientCSSProperties;
8176
- "lg"?: TransientCSSProperties;
8177
- "xl"?: TransientCSSProperties;
8178
- "2xl"?: TransientCSSProperties;
8179
- [key: string]: TransientCSSProperties | undefined;
8180
- };
8181
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8182
- $viewport?: {
8183
- "sm"?: TransientCSSProperties;
8184
- "md"?: TransientCSSProperties;
8185
- "lg"?: TransientCSSProperties;
8186
- "xl"?: TransientCSSProperties;
8187
- "2xl"?: TransientCSSProperties;
8188
- [key: string]: TransientCSSProperties | undefined;
8189
- };
8190
- }, never>>, "as" | "forwardedAs"> & {
8191
- as?: WebTarget | undefined;
8192
- forwardedAs?: WebTarget | undefined;
8193
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8194
- $viewport?: {
8195
- "sm"?: TransientCSSProperties;
8196
- "md"?: TransientCSSProperties;
8197
- "lg"?: TransientCSSProperties;
8198
- "xl"?: TransientCSSProperties;
8199
- "2xl"?: TransientCSSProperties;
8200
- [key: string]: TransientCSSProperties | undefined;
8201
- };
8202
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8203
- $viewport?: {
8204
- "sm"?: TransientCSSProperties;
8205
- "md"?: TransientCSSProperties;
8206
- "lg"?: TransientCSSProperties;
8207
- "xl"?: TransientCSSProperties;
8208
- "2xl"?: TransientCSSProperties;
8209
- [key: string]: TransientCSSProperties | undefined;
8210
- };
8211
- }, never>>, "as" | "forwardedAs"> & {
8375
+ export declare const Flex: IStyledComponentBase<"web", Omit<FastOmit<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8376
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
8377
+ }, BoxProps>, "as" | "forwardedAs"> & {
8212
8378
  as?: WebTarget | undefined;
8213
8379
  forwardedAs?: WebTarget | undefined;
8214
- }, never>>> & string;
8380
+ }, "style"> & {
8381
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
8382
+ [key: `--${string}`]: string | number | undefined;
8383
+ }) | undefined;
8384
+ }> & string;
8215
8385
 
8216
8386
  export declare type FontStyle = keyof ThemeSettings["typography"];
8217
8387
 
@@ -8226,97 +8396,23 @@ export declare function formatInvoices(invoices?: InvoiceResponseData[], options
8226
8396
  url: string | undefined;
8227
8397
  }[];
8228
8398
 
8229
- export declare const FussyChild: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8230
- $viewport?: {
8231
- "sm"?: TransientCSSProperties;
8232
- "md"?: TransientCSSProperties;
8233
- "lg"?: TransientCSSProperties;
8234
- "xl"?: TransientCSSProperties;
8235
- "2xl"?: TransientCSSProperties;
8236
- [key: string]: TransientCSSProperties | undefined;
8237
- };
8238
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8239
- $viewport?: {
8240
- "sm"?: TransientCSSProperties;
8241
- "md"?: TransientCSSProperties;
8242
- "lg"?: TransientCSSProperties;
8243
- "xl"?: TransientCSSProperties;
8244
- "2xl"?: TransientCSSProperties;
8245
- [key: string]: TransientCSSProperties | undefined;
8246
- };
8247
- }, never>>, "as" | "forwardedAs"> & {
8399
+ export declare const FussyChild: IStyledComponentBase<"web", Omit<FastOmit<Omit<FastOmit<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8400
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
8401
+ }, BoxProps>, "as" | "forwardedAs"> & {
8248
8402
  as?: WebTarget | undefined;
8249
8403
  forwardedAs?: WebTarget | undefined;
8250
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8251
- $viewport?: {
8252
- "sm"?: TransientCSSProperties;
8253
- "md"?: TransientCSSProperties;
8254
- "lg"?: TransientCSSProperties;
8255
- "xl"?: TransientCSSProperties;
8256
- "2xl"?: TransientCSSProperties;
8257
- [key: string]: TransientCSSProperties | undefined;
8258
- };
8259
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8260
- $viewport?: {
8261
- "sm"?: TransientCSSProperties;
8262
- "md"?: TransientCSSProperties;
8263
- "lg"?: TransientCSSProperties;
8264
- "xl"?: TransientCSSProperties;
8265
- "2xl"?: TransientCSSProperties;
8266
- [key: string]: TransientCSSProperties | undefined;
8267
- };
8268
- }, never>>, "as" | "forwardedAs"> & {
8404
+ }, "style"> & {
8405
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
8406
+ [key: `--${string}`]: string | number | undefined;
8407
+ }) | undefined;
8408
+ }, "as" | "forwardedAs"> & {
8269
8409
  as?: WebTarget | undefined;
8270
8410
  forwardedAs?: WebTarget | undefined;
8271
- }, never>>, "as" | "forwardedAs"> & {
8272
- as?: WebTarget | undefined;
8273
- forwardedAs?: WebTarget | undefined;
8274
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8275
- $viewport?: {
8276
- "sm"?: TransientCSSProperties;
8277
- "md"?: TransientCSSProperties;
8278
- "lg"?: TransientCSSProperties;
8279
- "xl"?: TransientCSSProperties;
8280
- "2xl"?: TransientCSSProperties;
8281
- [key: string]: TransientCSSProperties | undefined;
8282
- };
8283
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8284
- $viewport?: {
8285
- "sm"?: TransientCSSProperties;
8286
- "md"?: TransientCSSProperties;
8287
- "lg"?: TransientCSSProperties;
8288
- "xl"?: TransientCSSProperties;
8289
- "2xl"?: TransientCSSProperties;
8290
- [key: string]: TransientCSSProperties | undefined;
8291
- };
8292
- }, never>>, "as" | "forwardedAs"> & {
8293
- as?: WebTarget | undefined;
8294
- forwardedAs?: WebTarget | undefined;
8295
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8296
- $viewport?: {
8297
- "sm"?: TransientCSSProperties;
8298
- "md"?: TransientCSSProperties;
8299
- "lg"?: TransientCSSProperties;
8300
- "xl"?: TransientCSSProperties;
8301
- "2xl"?: TransientCSSProperties;
8302
- [key: string]: TransientCSSProperties | undefined;
8303
- };
8304
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8305
- $viewport?: {
8306
- "sm"?: TransientCSSProperties;
8307
- "md"?: TransientCSSProperties;
8308
- "lg"?: TransientCSSProperties;
8309
- "xl"?: TransientCSSProperties;
8310
- "2xl"?: TransientCSSProperties;
8311
- [key: string]: TransientCSSProperties | undefined;
8312
- };
8313
- }, never>>, "as" | "forwardedAs"> & {
8314
- as?: WebTarget | undefined;
8315
- forwardedAs?: WebTarget | undefined;
8316
- }, never>>, "as" | "forwardedAs"> & {
8317
- as?: WebTarget | undefined;
8318
- forwardedAs?: WebTarget | undefined;
8319
- }, never>>> & string;
8411
+ }, "style"> & {
8412
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
8413
+ [key: `--${string}`]: string | number | undefined;
8414
+ }) | undefined;
8415
+ }> & string;
8320
8416
 
8321
8417
  /**
8322
8418
  * Schematic API
@@ -8404,6 +8500,26 @@ declare interface GenericPreviewObject_2 {
8404
8500
  name: string;
8405
8501
  }
8406
8502
 
8503
+ /**
8504
+ *
8505
+ * @export
8506
+ * @interface GetCheckoutTaxIDResponse
8507
+ */
8508
+ declare interface GetCheckoutTaxIDResponse {
8509
+ /**
8510
+ *
8511
+ * @type {UpdateCheckoutTaxIDResponseData}
8512
+ * @memberof GetCheckoutTaxIDResponse
8513
+ */
8514
+ data: UpdateCheckoutTaxIDResponseData;
8515
+ /**
8516
+ * Input parameters
8517
+ * @type {object}
8518
+ * @memberof GetCheckoutTaxIDResponse
8519
+ */
8520
+ params: object;
8521
+ }
8522
+
8407
8523
  /**
8408
8524
  *
8409
8525
  * @export
@@ -8488,6 +8604,8 @@ export declare const initialContext: {
8488
8604
  checkout: () => never;
8489
8605
  unsubscribe: () => never;
8490
8606
  updateCustomFieldValues: () => never;
8607
+ updateTaxId: () => never;
8608
+ getTaxId: () => never;
8491
8609
  setError: () => never;
8492
8610
  setAccessToken: () => never;
8493
8611
  setLayout: () => never;
@@ -8514,15 +8632,13 @@ export declare const initialContext: {
8514
8632
 
8515
8633
  export declare const initialState: EmbedState;
8516
8634
 
8517
- export declare const Input: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "$color" | "$size" | "$variant"> & {
8635
+ export declare const Input: IStyledComponentBase<"web", Merged<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
8636
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
8637
+ }, {
8518
8638
  $size?: "xs" | "sm" | "md" | "lg" | "full";
8519
8639
  $color?: "primary" | "secondary" | "danger";
8520
8640
  $variant?: "filled" | "outline" | "ghost" | "text";
8521
- }, never> & Partial<Pick<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "$color" | "$size" | "$variant"> & {
8522
- $size?: "xs" | "sm" | "md" | "lg" | "full";
8523
- $color?: "primary" | "secondary" | "danger";
8524
- $variant?: "filled" | "outline" | "ghost" | "text";
8525
- }, never>>> & string;
8641
+ }>> & string;
8526
8642
 
8527
8643
  /**
8528
8644
  *
@@ -8744,7 +8860,9 @@ declare interface ListInvoicesResponse {
8744
8860
  params: ListInvoicesParams;
8745
8861
  }
8746
8862
 
8747
- export declare const Loader: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof LoaderProps> & LoaderProps, never> & Partial<Pick<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof LoaderProps> & LoaderProps, never>>> & string;
8863
+ export declare const Loader: IStyledComponentBase<"web", Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8864
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
8865
+ }, LoaderProps>> & string;
8748
8866
 
8749
8867
  declare interface LoaderProps {
8750
8868
  $size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
@@ -8812,141 +8930,34 @@ declare interface Middleware {
8812
8930
  onError?(context: ErrorContext): Promise<Response | void>;
8813
8931
  }
8814
8932
 
8815
- export declare const Notice: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8816
- $viewport?: {
8817
- "sm"?: TransientCSSProperties;
8818
- "md"?: TransientCSSProperties;
8819
- "lg"?: TransientCSSProperties;
8820
- "xl"?: TransientCSSProperties;
8821
- "2xl"?: TransientCSSProperties;
8822
- [key: string]: TransientCSSProperties | undefined;
8823
- };
8824
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8825
- $viewport?: {
8826
- "sm"?: TransientCSSProperties;
8827
- "md"?: TransientCSSProperties;
8828
- "lg"?: TransientCSSProperties;
8829
- "xl"?: TransientCSSProperties;
8830
- "2xl"?: TransientCSSProperties;
8831
- [key: string]: TransientCSSProperties | undefined;
8832
- };
8833
- }, never>>, "as" | "forwardedAs"> & {
8933
+ export declare const Notice: IStyledComponentBase<"web", Omit<FastOmit<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8934
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
8935
+ }, BoxProps>, "as" | "forwardedAs"> & {
8834
8936
  as?: WebTarget | undefined;
8835
8937
  forwardedAs?: WebTarget | undefined;
8836
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8837
- $viewport?: {
8838
- "sm"?: TransientCSSProperties;
8839
- "md"?: TransientCSSProperties;
8840
- "lg"?: TransientCSSProperties;
8841
- "xl"?: TransientCSSProperties;
8842
- "2xl"?: TransientCSSProperties;
8843
- [key: string]: TransientCSSProperties | undefined;
8844
- };
8845
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8846
- $viewport?: {
8847
- "sm"?: TransientCSSProperties;
8848
- "md"?: TransientCSSProperties;
8849
- "lg"?: TransientCSSProperties;
8850
- "xl"?: TransientCSSProperties;
8851
- "2xl"?: TransientCSSProperties;
8852
- [key: string]: TransientCSSProperties | undefined;
8853
- };
8854
- }, never>>, "as" | "forwardedAs"> & {
8855
- as?: WebTarget | undefined;
8856
- forwardedAs?: WebTarget | undefined;
8857
- }, never>>> & string;
8858
-
8859
- export declare const Overlay: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8860
- $viewport?: {
8861
- "sm"?: TransientCSSProperties;
8862
- "md"?: TransientCSSProperties;
8863
- "lg"?: TransientCSSProperties;
8864
- "xl"?: TransientCSSProperties;
8865
- "2xl"?: TransientCSSProperties;
8866
- [key: string]: TransientCSSProperties | undefined;
8867
- };
8868
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8869
- $viewport?: {
8870
- "sm"?: TransientCSSProperties;
8871
- "md"?: TransientCSSProperties;
8872
- "lg"?: TransientCSSProperties;
8873
- "xl"?: TransientCSSProperties;
8874
- "2xl"?: TransientCSSProperties;
8875
- [key: string]: TransientCSSProperties | undefined;
8876
- };
8877
- }, never>>, "as" | "forwardedAs"> & {
8878
- as?: WebTarget | undefined;
8879
- forwardedAs?: WebTarget | undefined;
8880
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8881
- $viewport?: {
8882
- "sm"?: TransientCSSProperties;
8883
- "md"?: TransientCSSProperties;
8884
- "lg"?: TransientCSSProperties;
8885
- "xl"?: TransientCSSProperties;
8886
- "2xl"?: TransientCSSProperties;
8887
- [key: string]: TransientCSSProperties | undefined;
8888
- };
8889
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8890
- $viewport?: {
8891
- "sm"?: TransientCSSProperties;
8892
- "md"?: TransientCSSProperties;
8893
- "lg"?: TransientCSSProperties;
8894
- "xl"?: TransientCSSProperties;
8895
- "2xl"?: TransientCSSProperties;
8896
- [key: string]: TransientCSSProperties | undefined;
8897
- };
8898
- }, never>>, "as" | "forwardedAs"> & {
8938
+ }, "style"> & {
8939
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
8940
+ [key: `--${string}`]: string | number | undefined;
8941
+ }) | undefined;
8942
+ }> & string;
8943
+
8944
+ export declare const Overlay: IStyledComponentBase<"web", Omit<FastOmit<Omit<FastOmit<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8945
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
8946
+ }, BoxProps>, "as" | "forwardedAs"> & {
8899
8947
  as?: WebTarget | undefined;
8900
8948
  forwardedAs?: WebTarget | undefined;
8901
- }, never>>, "as" | "forwardedAs"> & {
8949
+ }, "style"> & {
8950
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
8951
+ [key: `--${string}`]: string | number | undefined;
8952
+ }) | undefined;
8953
+ }, "as" | "forwardedAs"> & {
8902
8954
  as?: WebTarget | undefined;
8903
8955
  forwardedAs?: WebTarget | undefined;
8904
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8905
- $viewport?: {
8906
- "sm"?: TransientCSSProperties;
8907
- "md"?: TransientCSSProperties;
8908
- "lg"?: TransientCSSProperties;
8909
- "xl"?: TransientCSSProperties;
8910
- "2xl"?: TransientCSSProperties;
8911
- [key: string]: TransientCSSProperties | undefined;
8912
- };
8913
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8914
- $viewport?: {
8915
- "sm"?: TransientCSSProperties;
8916
- "md"?: TransientCSSProperties;
8917
- "lg"?: TransientCSSProperties;
8918
- "xl"?: TransientCSSProperties;
8919
- "2xl"?: TransientCSSProperties;
8920
- [key: string]: TransientCSSProperties | undefined;
8921
- };
8922
- }, never>>, "as" | "forwardedAs"> & {
8923
- as?: WebTarget | undefined;
8924
- forwardedAs?: WebTarget | undefined;
8925
- }, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8926
- $viewport?: {
8927
- "sm"?: TransientCSSProperties;
8928
- "md"?: TransientCSSProperties;
8929
- "lg"?: TransientCSSProperties;
8930
- "xl"?: TransientCSSProperties;
8931
- "2xl"?: TransientCSSProperties;
8932
- [key: string]: TransientCSSProperties | undefined;
8933
- };
8934
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
8935
- $viewport?: {
8936
- "sm"?: TransientCSSProperties;
8937
- "md"?: TransientCSSProperties;
8938
- "lg"?: TransientCSSProperties;
8939
- "xl"?: TransientCSSProperties;
8940
- "2xl"?: TransientCSSProperties;
8941
- [key: string]: TransientCSSProperties | undefined;
8942
- };
8943
- }, never>>, "as" | "forwardedAs"> & {
8944
- as?: WebTarget | undefined;
8945
- forwardedAs?: WebTarget | undefined;
8946
- }, never>>, "as" | "forwardedAs"> & {
8947
- as?: WebTarget | undefined;
8948
- forwardedAs?: WebTarget | undefined;
8949
- }, never>>> & string;
8956
+ }, "style"> & {
8957
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
8958
+ [key: `--${string}`]: string | number | undefined;
8959
+ }) | undefined;
8960
+ }> & string;
8950
8961
 
8951
8962
  export declare const PaymentMethod: ForwardRefExoticComponent<ElementProps & DeepPartial<DesignProps_5> & HTMLAttributes<HTMLDivElement> & {
8952
8963
  portal?: HTMLElement | null;
@@ -9093,6 +9104,17 @@ export declare const Plan: ({ portal, isLoading, plans, selectedPlan, period, se
9093
9104
 
9094
9105
  declare type Plan_2 = CompanyPlanDetailResponseData;
9095
9106
 
9107
+ /**
9108
+ *
9109
+ * @export
9110
+ */
9111
+ declare const PlanBillingSource: {
9112
+ readonly CustomPlan: "custom_plan";
9113
+ readonly ManagePlan: "manage_plan";
9114
+ };
9115
+
9116
+ declare type PlanBillingSource = (typeof PlanBillingSource)[keyof typeof PlanBillingSource];
9117
+
9096
9118
  /**
9097
9119
  * Schematic API
9098
9120
  * Schematic API
@@ -9155,6 +9177,28 @@ declare interface PlanCatalogMembershipResponseData_2 {
9155
9177
  name: string;
9156
9178
  }
9157
9179
 
9180
+ /**
9181
+ *
9182
+ * @export
9183
+ */
9184
+ declare const PlanCreditGrantScaling: {
9185
+ readonly Fixed: "fixed";
9186
+ readonly PerLicense: "per_license";
9187
+ };
9188
+
9189
+ declare type PlanCreditGrantScaling = (typeof PlanCreditGrantScaling)[keyof typeof PlanCreditGrantScaling];
9190
+
9191
+ /**
9192
+ *
9193
+ * @export
9194
+ */
9195
+ declare const PlanCreditGrantScaling_2: {
9196
+ readonly Fixed: "fixed";
9197
+ readonly PerLicense: "per_license";
9198
+ };
9199
+
9200
+ declare type PlanCreditGrantScaling_2 = (typeof PlanCreditGrantScaling_2)[keyof typeof PlanCreditGrantScaling_2];
9201
+
9158
9202
  /**
9159
9203
  *
9160
9204
  * @export
@@ -9227,6 +9271,12 @@ declare interface PlanCreditGrantView {
9227
9271
  * @memberof PlanCreditGrantView
9228
9272
  */
9229
9273
  billingCreditCanBuyBundles: boolean;
9274
+ /**
9275
+ *
9276
+ * @type {number}
9277
+ * @memberof PlanCreditGrantView
9278
+ */
9279
+ companyCreditAmount: number;
9230
9280
  /**
9231
9281
  *
9232
9282
  * @type {Date}
@@ -9296,6 +9346,12 @@ declare interface PlanCreditGrantView {
9296
9346
  * @memberof PlanCreditGrantView
9297
9347
  */
9298
9348
  id: string;
9349
+ /**
9350
+ *
9351
+ * @type {string}
9352
+ * @memberof PlanCreditGrantView
9353
+ */
9354
+ licenseId?: string | null;
9299
9355
  /**
9300
9356
  *
9301
9357
  * @type {GenericPreviewObject}
@@ -9345,6 +9401,12 @@ declare interface PlanCreditGrantView {
9345
9401
  * @memberof PlanCreditGrantView
9346
9402
  */
9347
9403
  rolloverPercentage: number;
9404
+ /**
9405
+ *
9406
+ * @type {PlanCreditGrantScaling}
9407
+ * @memberof PlanCreditGrantView
9408
+ */
9409
+ scaling: PlanCreditGrantScaling;
9348
9410
  /**
9349
9411
  * Deprecated field, will be removed in the future. Use Credit.SingularName instead.
9350
9412
  * @type {string}
@@ -9432,6 +9494,12 @@ declare interface PlanCreditGrantView_2 {
9432
9494
  * @memberof PlanCreditGrantView
9433
9495
  */
9434
9496
  billingCreditCanBuyBundles: boolean;
9497
+ /**
9498
+ *
9499
+ * @type {number}
9500
+ * @memberof PlanCreditGrantView
9501
+ */
9502
+ companyCreditAmount: number;
9435
9503
  /**
9436
9504
  *
9437
9505
  * @type {Date}
@@ -9501,6 +9569,12 @@ declare interface PlanCreditGrantView_2 {
9501
9569
  * @memberof PlanCreditGrantView
9502
9570
  */
9503
9571
  id: string;
9572
+ /**
9573
+ *
9574
+ * @type {string}
9575
+ * @memberof PlanCreditGrantView
9576
+ */
9577
+ licenseId?: string | null;
9504
9578
  /**
9505
9579
  *
9506
9580
  * @type {GenericPreviewObject}
@@ -9550,6 +9624,12 @@ declare interface PlanCreditGrantView_2 {
9550
9624
  * @memberof PlanCreditGrantView
9551
9625
  */
9552
9626
  rolloverPercentage: number;
9627
+ /**
9628
+ *
9629
+ * @type {PlanCreditGrantScaling}
9630
+ * @memberof PlanCreditGrantView
9631
+ */
9632
+ scaling: PlanCreditGrantScaling_2;
9553
9633
  /**
9554
9634
  * Deprecated field, will be removed in the future. Use Credit.SingularName instead.
9555
9635
  * @type {string}
@@ -9794,12 +9874,12 @@ declare interface PlanDetailResponseData {
9794
9874
  */
9795
9875
  isDefault: boolean;
9796
9876
  /**
9797
- * Deprecated: Use BillingStrategy instead
9877
+ * Deprecated: reports the plan's charge type, not its price. Read the plan's prices to tell whether it costs anything, or billing_strategy to tell how it is billed.
9798
9878
  * @type {boolean}
9799
9879
  * @memberof PlanDetailResponseData
9800
9880
  * @deprecated
9801
9881
  */
9802
- isFree: boolean;
9882
+ isFree?: boolean | null;
9803
9883
  /**
9804
9884
  *
9805
9885
  * @type {boolean}
@@ -10866,12 +10946,12 @@ declare interface PlanViewPublicResponseData {
10866
10946
  */
10867
10947
  isDefault: boolean;
10868
10948
  /**
10869
- * Deprecated: Use BillingStrategy instead
10949
+ * Deprecated: reports the plan's charge type, not its price. Read the plan's prices to tell whether it costs anything, or billing_strategy to tell how it is billed.
10870
10950
  * @type {boolean}
10871
10951
  * @memberof PlanViewPublicResponseData
10872
10952
  * @deprecated
10873
10953
  */
10874
- isFree: boolean;
10954
+ isFree?: boolean | null;
10875
10955
  /**
10876
10956
  *
10877
10957
  * @type {boolean}
@@ -11337,6 +11417,12 @@ declare interface PreviewSubscriptionFinanceResponseData {
11337
11417
  * @memberof PreviewSubscriptionFinanceResponseData
11338
11418
  */
11339
11419
  amountOff: number;
11420
+ /**
11421
+ *
11422
+ * @type {number}
11423
+ * @memberof PreviewSubscriptionFinanceResponseData
11424
+ */
11425
+ discountAmount: number;
11340
11426
  /**
11341
11427
  *
11342
11428
  * @type {Array<PreviewSubscriptionDiscountResponseData>}
@@ -11496,6 +11582,17 @@ export declare interface ProgressBarProps extends React.ComponentPropsWithoutRef
11496
11582
 
11497
11583
  export declare const progressColorMap: ("blue" | "red" | "yellow")[];
11498
11584
 
11585
+ /**
11586
+ *
11587
+ * @export
11588
+ */
11589
+ declare const ProrationBehavior: {
11590
+ readonly CreateProrations: "create_prorations";
11591
+ readonly InvoiceImmediately: "invoice_immediately";
11592
+ };
11593
+
11594
+ declare type ProrationBehavior = (typeof ProrationBehavior)[keyof typeof ProrationBehavior];
11595
+
11499
11596
  /**
11500
11597
  *
11501
11598
  * @export
@@ -12423,9 +12520,93 @@ declare interface StripeEmbedInfo {
12423
12520
 
12424
12521
  export declare const stub: () => never;
12425
12522
 
12426
- export declare const StyledCard: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
12523
+ export declare const StyledCard: IStyledComponentBase<"web", Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
12524
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
12525
+ }> & string;
12526
+
12527
+ /**
12528
+ *
12529
+ * @export
12530
+ * @interface TaxIDInput
12531
+ */
12532
+ declare interface TaxIDInput {
12533
+ /**
12534
+ *
12535
+ * @type {TaxIdType}
12536
+ * @memberof TaxIDInput
12537
+ */
12538
+ type: TaxIdType;
12539
+ /**
12540
+ *
12541
+ * @type {string}
12542
+ * @memberof TaxIDInput
12543
+ */
12544
+ value: string;
12545
+ }
12427
12546
 
12428
- declare const Text_2: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof ClassAttributes<HTMLSpanElement> | keyof HTMLAttributes<HTMLSpanElement>> & ClassAttributes<HTMLSpanElement> & HTMLAttributes<HTMLSpanElement>, keyof TextProps> & TextProps, "tabIndex"> & Partial<Pick<FastOmit<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof ClassAttributes<HTMLSpanElement> | keyof HTMLAttributes<HTMLSpanElement>> & ClassAttributes<HTMLSpanElement> & HTMLAttributes<HTMLSpanElement>, keyof TextProps> & TextProps, "tabIndex">>> & string;
12547
+ /**
12548
+ *
12549
+ * @export
12550
+ */
12551
+ declare const TaxIdType: {
12552
+ readonly AeTrn: "ae_trn";
12553
+ readonly AuAbn: "au_abn";
12554
+ readonly AuArn: "au_arn";
12555
+ readonly BrCnpj: "br_cnpj";
12556
+ readonly BrCpf: "br_cpf";
12557
+ readonly CaBn: "ca_bn";
12558
+ readonly CaGstHst: "ca_gst_hst";
12559
+ readonly CaPstBc: "ca_pst_bc";
12560
+ readonly CaPstMb: "ca_pst_mb";
12561
+ readonly CaPstSk: "ca_pst_sk";
12562
+ readonly CaQst: "ca_qst";
12563
+ readonly ChUid: "ch_uid";
12564
+ readonly ChVat: "ch_vat";
12565
+ readonly EuVat: "eu_vat";
12566
+ readonly GbVat: "gb_vat";
12567
+ readonly HkBr: "hk_br";
12568
+ readonly IdNpwp: "id_npwp";
12569
+ readonly IlVat: "il_vat";
12570
+ readonly InGst: "in_gst";
12571
+ readonly JpCn: "jp_cn";
12572
+ readonly JpRn: "jp_rn";
12573
+ readonly JpTrn: "jp_trn";
12574
+ readonly KrBrn: "kr_brn";
12575
+ readonly MxRfc: "mx_rfc";
12576
+ readonly MyFrp: "my_frp";
12577
+ readonly MyItn: "my_itn";
12578
+ readonly MySst: "my_sst";
12579
+ readonly NoVat: "no_vat";
12580
+ readonly NzGst: "nz_gst";
12581
+ readonly PhTin: "ph_tin";
12582
+ readonly SaVat: "sa_vat";
12583
+ readonly SgGst: "sg_gst";
12584
+ readonly SgUen: "sg_uen";
12585
+ readonly ThVat: "th_vat";
12586
+ readonly TrTin: "tr_tin";
12587
+ readonly TwVat: "tw_vat";
12588
+ readonly UsEin: "us_ein";
12589
+ readonly ZaVat: "za_vat";
12590
+ };
12591
+
12592
+ declare type TaxIdType = (typeof TaxIdType)[keyof typeof TaxIdType];
12593
+
12594
+ /**
12595
+ * TaxIdValues is the form-state shape the tax-ID field group reads and writes.
12596
+ * `country` narrows the picker; `type` is the Stripe tax-ID type actually
12597
+ * submitted; `value` is the ID itself.
12598
+ */
12599
+ declare type TaxIdValues = {
12600
+ country: string;
12601
+ type: string;
12602
+ value: string;
12603
+ };
12604
+
12605
+ declare const Text_2: IStyledComponentBase<"web", FastOmit<Merged<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
12606
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
12607
+ }, DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>, TextProps>, "tabIndex"> & Partial<Pick<Merged<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
12608
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
12609
+ }, DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>, TextProps>, "tabIndex">>> & string;
12429
12610
  export { Text_2 as Text }
12430
12611
 
12431
12612
  export declare const TextElement: ForwardRefExoticComponent<ElementProps & DeepPartial<DesignProps_8> & HTMLAttributes<HTMLDivElement> & {
@@ -12481,7 +12662,11 @@ export declare interface ThemeSettings {
12481
12662
  };
12482
12663
  }
12483
12664
 
12484
- export declare const Toggle: IStyledComponentBase<"web", FastOmit<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof ClassAttributes<HTMLInputElement> | keyof InputHTMLAttributes<HTMLInputElement>> & ClassAttributes<HTMLInputElement> & InputHTMLAttributes<HTMLInputElement>, "type"> & Partial<Pick<FastOmit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof ClassAttributes<HTMLInputElement> | keyof InputHTMLAttributes<HTMLInputElement>> & ClassAttributes<HTMLInputElement> & InputHTMLAttributes<HTMLInputElement>, "type">>> & string;
12665
+ export declare const Toggle: IStyledComponentBase<"web", FastOmit<Merged<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
12666
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
12667
+ }, DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, "type"> & Partial<Pick<Merged<Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
12668
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
12669
+ }, DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>, "type">>> & string;
12485
12670
 
12486
12671
  export declare const Tooltip: ({ children, portal, trigger, content, position, ...rest }: TooltipProps) => JSX.Element;
12487
12672
 
@@ -12564,49 +12749,16 @@ declare type TransientCSSProperties = {
12564
12749
  [Property in keyof React.CSSProperties as `$${string & Property}`]: React.CSSProperties[Property];
12565
12750
  };
12566
12751
 
12567
- export declare const TransitionBox: IStyledComponentBase<"web", FastOmit<FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
12568
- $viewport?: {
12569
- "sm"?: TransientCSSProperties;
12570
- "md"?: TransientCSSProperties;
12571
- "lg"?: TransientCSSProperties;
12572
- "xl"?: TransientCSSProperties;
12573
- "2xl"?: TransientCSSProperties;
12574
- [key: string]: TransientCSSProperties | undefined;
12575
- };
12576
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
12577
- $viewport?: {
12578
- "sm"?: TransientCSSProperties;
12579
- "md"?: TransientCSSProperties;
12580
- "lg"?: TransientCSSProperties;
12581
- "xl"?: TransientCSSProperties;
12582
- "2xl"?: TransientCSSProperties;
12583
- [key: string]: TransientCSSProperties | undefined;
12584
- };
12585
- }, never>>, "as" | "forwardedAs"> & {
12752
+ export declare const TransitionBox: IStyledComponentBase<"web", Merged<Omit<FastOmit<Merged<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
12753
+ style?: CSSProperties | CSSPropertiesWithVars | undefined;
12754
+ }, BoxProps>, "as" | "forwardedAs"> & {
12586
12755
  as?: WebTarget | undefined;
12587
12756
  forwardedAs?: WebTarget | undefined;
12588
- }, "$isExpanded"> & TransitionBoxProps, never> & Partial<Pick<FastOmit<FastOmit<FastOmit<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
12589
- $viewport?: {
12590
- "sm"?: TransientCSSProperties;
12591
- "md"?: TransientCSSProperties;
12592
- "lg"?: TransientCSSProperties;
12593
- "xl"?: TransientCSSProperties;
12594
- "2xl"?: TransientCSSProperties;
12595
- [key: string]: TransientCSSProperties | undefined;
12596
- };
12597
- }, never> & Partial<Pick<FastOmit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement>, keyof ComponentProps | "$viewport"> & ComponentProps & {
12598
- $viewport?: {
12599
- "sm"?: TransientCSSProperties;
12600
- "md"?: TransientCSSProperties;
12601
- "lg"?: TransientCSSProperties;
12602
- "xl"?: TransientCSSProperties;
12603
- "2xl"?: TransientCSSProperties;
12604
- [key: string]: TransientCSSProperties | undefined;
12605
- };
12606
- }, never>>, "as" | "forwardedAs"> & {
12607
- as?: WebTarget | undefined;
12608
- forwardedAs?: WebTarget | undefined;
12609
- }, "$isExpanded"> & TransitionBoxProps, never>>> & string;
12757
+ }, "style"> & {
12758
+ style?: CSSProperties | CSSPropertiesWithVars | (CSSProperties_2 & {
12759
+ [key: `--${string}`]: string | number | undefined;
12760
+ }) | undefined;
12761
+ }, TransitionBoxProps>> & string;
12610
12762
 
12611
12763
  declare interface TransitionBoxProps {
12612
12764
  $isExpanded?: boolean;
@@ -12703,6 +12855,40 @@ declare interface UpdateAutoTopupOverrideRequestBody {
12703
12855
  planCreditGrantId: string;
12704
12856
  }
12705
12857
 
12858
+ /**
12859
+ *
12860
+ * @export
12861
+ * @interface UpdateCheckoutTaxIDResponse
12862
+ */
12863
+ declare interface UpdateCheckoutTaxIDResponse {
12864
+ /**
12865
+ *
12866
+ * @type {UpdateCheckoutTaxIDResponseData}
12867
+ * @memberof UpdateCheckoutTaxIDResponse
12868
+ */
12869
+ data: UpdateCheckoutTaxIDResponseData;
12870
+ /**
12871
+ * Input parameters
12872
+ * @type {object}
12873
+ * @memberof UpdateCheckoutTaxIDResponse
12874
+ */
12875
+ params: object;
12876
+ }
12877
+
12878
+ /**
12879
+ *
12880
+ * @export
12881
+ * @interface UpdateCheckoutTaxIDResponseData
12882
+ */
12883
+ declare interface UpdateCheckoutTaxIDResponseData {
12884
+ /**
12885
+ *
12886
+ * @type {Array<CompanyTaxIDView>}
12887
+ * @memberof UpdateCheckoutTaxIDResponseData
12888
+ */
12889
+ taxIds: Array<CompanyTaxIDView>;
12890
+ }
12891
+
12706
12892
  /**
12707
12893
  * Schematic API
12708
12894
  * Schematic API