@schematichq/schematic-components 2.21.0 → 2.21.1-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.
- package/dist/schematic-components.browser.cjs.js +1861 -1009
- package/dist/schematic-components.browser.esm.js +1693 -841
- package/dist/schematic-components.cjs.js +1869 -1016
- package/dist/schematic-components.d.ts +460 -22
- package/dist/schematic-components.esm.js +1693 -841
- package/package.json +8 -8
|
@@ -702,10 +702,10 @@ declare interface BillingCreditView {
|
|
|
702
702
|
pricePerUnitDecimal?: string | null;
|
|
703
703
|
/**
|
|
704
704
|
*
|
|
705
|
-
* @type {
|
|
705
|
+
* @type {BillingProductRecordResponseData}
|
|
706
706
|
* @memberof BillingCreditView
|
|
707
707
|
*/
|
|
708
|
-
product?:
|
|
708
|
+
product?: BillingProductRecordResponseData;
|
|
709
709
|
/**
|
|
710
710
|
*
|
|
711
711
|
* @type {string}
|
|
@@ -836,10 +836,10 @@ declare interface BillingCreditView_2 {
|
|
|
836
836
|
pricePerUnitDecimal?: string | null;
|
|
837
837
|
/**
|
|
838
838
|
*
|
|
839
|
-
* @type {
|
|
839
|
+
* @type {BillingProductRecordResponseData}
|
|
840
840
|
* @memberof BillingCreditView
|
|
841
841
|
*/
|
|
842
|
-
product?:
|
|
842
|
+
product?: BillingProductRecordResponseData_2;
|
|
843
843
|
/**
|
|
844
844
|
*
|
|
845
845
|
* @type {string}
|
|
@@ -1054,6 +1054,12 @@ declare interface BillingPlanCreditGrantResponseData {
|
|
|
1054
1054
|
* @memberof BillingPlanCreditGrantResponseData
|
|
1055
1055
|
*/
|
|
1056
1056
|
canBuyBundles: boolean;
|
|
1057
|
+
/**
|
|
1058
|
+
* Credits granted once per company on top of the per-license amount. Always 0 when scaling is fixed.
|
|
1059
|
+
* @type {number}
|
|
1060
|
+
* @memberof BillingPlanCreditGrantResponseData
|
|
1061
|
+
*/
|
|
1062
|
+
companyCreditAmount: number;
|
|
1057
1063
|
/**
|
|
1058
1064
|
*
|
|
1059
1065
|
* @type {Date}
|
|
@@ -1123,6 +1129,12 @@ declare interface BillingPlanCreditGrantResponseData {
|
|
|
1123
1129
|
* @memberof BillingPlanCreditGrantResponseData
|
|
1124
1130
|
*/
|
|
1125
1131
|
id: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* The license whose quantity scales this grant. Set only when scaling is per_license.
|
|
1134
|
+
* @type {string}
|
|
1135
|
+
* @memberof BillingPlanCreditGrantResponseData
|
|
1136
|
+
*/
|
|
1137
|
+
licenseId?: string | null;
|
|
1126
1138
|
/**
|
|
1127
1139
|
*
|
|
1128
1140
|
* @type {PreviewObjectResponseData}
|
|
@@ -1172,6 +1184,12 @@ declare interface BillingPlanCreditGrantResponseData {
|
|
|
1172
1184
|
* @memberof BillingPlanCreditGrantResponseData
|
|
1173
1185
|
*/
|
|
1174
1186
|
rolloverPercentage: number;
|
|
1187
|
+
/**
|
|
1188
|
+
* Whether the grant is a fixed amount per company, or issued once per license the company holds.
|
|
1189
|
+
* @type {PlanCreditGrantScaling}
|
|
1190
|
+
* @memberof BillingPlanCreditGrantResponseData
|
|
1191
|
+
*/
|
|
1192
|
+
scaling: PlanCreditGrantScaling;
|
|
1175
1193
|
/**
|
|
1176
1194
|
*
|
|
1177
1195
|
* @type {Date}
|
|
@@ -2236,6 +2254,130 @@ declare interface BillingProductPriceTierResponseData_2 {
|
|
|
2236
2254
|
upTo?: number | null;
|
|
2237
2255
|
}
|
|
2238
2256
|
|
|
2257
|
+
/**
|
|
2258
|
+
*
|
|
2259
|
+
* @export
|
|
2260
|
+
* @interface BillingProductRecordResponseData
|
|
2261
|
+
*/
|
|
2262
|
+
declare interface BillingProductRecordResponseData {
|
|
2263
|
+
/**
|
|
2264
|
+
*
|
|
2265
|
+
* @type {string}
|
|
2266
|
+
* @memberof BillingProductRecordResponseData
|
|
2267
|
+
*/
|
|
2268
|
+
accountId: string;
|
|
2269
|
+
/**
|
|
2270
|
+
*
|
|
2271
|
+
* @type {Date}
|
|
2272
|
+
* @memberof BillingProductRecordResponseData
|
|
2273
|
+
*/
|
|
2274
|
+
createdAt: Date;
|
|
2275
|
+
/**
|
|
2276
|
+
*
|
|
2277
|
+
* @type {string}
|
|
2278
|
+
* @memberof BillingProductRecordResponseData
|
|
2279
|
+
*/
|
|
2280
|
+
environmentId: string;
|
|
2281
|
+
/**
|
|
2282
|
+
*
|
|
2283
|
+
* @type {string}
|
|
2284
|
+
* @memberof BillingProductRecordResponseData
|
|
2285
|
+
*/
|
|
2286
|
+
externalId: string;
|
|
2287
|
+
/**
|
|
2288
|
+
*
|
|
2289
|
+
* @type {string}
|
|
2290
|
+
* @memberof BillingProductRecordResponseData
|
|
2291
|
+
*/
|
|
2292
|
+
id: string;
|
|
2293
|
+
/**
|
|
2294
|
+
*
|
|
2295
|
+
* @type {boolean}
|
|
2296
|
+
* @memberof BillingProductRecordResponseData
|
|
2297
|
+
*/
|
|
2298
|
+
isActive: boolean;
|
|
2299
|
+
/**
|
|
2300
|
+
*
|
|
2301
|
+
* @type {string}
|
|
2302
|
+
* @memberof BillingProductRecordResponseData
|
|
2303
|
+
*/
|
|
2304
|
+
name: string;
|
|
2305
|
+
/**
|
|
2306
|
+
*
|
|
2307
|
+
* @type {BillingProviderType}
|
|
2308
|
+
* @memberof BillingProductRecordResponseData
|
|
2309
|
+
*/
|
|
2310
|
+
providerType: BillingProviderType;
|
|
2311
|
+
/**
|
|
2312
|
+
*
|
|
2313
|
+
* @type {Date}
|
|
2314
|
+
* @memberof BillingProductRecordResponseData
|
|
2315
|
+
*/
|
|
2316
|
+
updatedAt: Date;
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
/**
|
|
2320
|
+
*
|
|
2321
|
+
* @export
|
|
2322
|
+
* @interface BillingProductRecordResponseData
|
|
2323
|
+
*/
|
|
2324
|
+
declare interface BillingProductRecordResponseData_2 {
|
|
2325
|
+
/**
|
|
2326
|
+
*
|
|
2327
|
+
* @type {string}
|
|
2328
|
+
* @memberof BillingProductRecordResponseData
|
|
2329
|
+
*/
|
|
2330
|
+
accountId: string;
|
|
2331
|
+
/**
|
|
2332
|
+
*
|
|
2333
|
+
* @type {Date}
|
|
2334
|
+
* @memberof BillingProductRecordResponseData
|
|
2335
|
+
*/
|
|
2336
|
+
createdAt: Date;
|
|
2337
|
+
/**
|
|
2338
|
+
*
|
|
2339
|
+
* @type {string}
|
|
2340
|
+
* @memberof BillingProductRecordResponseData
|
|
2341
|
+
*/
|
|
2342
|
+
environmentId: string;
|
|
2343
|
+
/**
|
|
2344
|
+
*
|
|
2345
|
+
* @type {string}
|
|
2346
|
+
* @memberof BillingProductRecordResponseData
|
|
2347
|
+
*/
|
|
2348
|
+
externalId: string;
|
|
2349
|
+
/**
|
|
2350
|
+
*
|
|
2351
|
+
* @type {string}
|
|
2352
|
+
* @memberof BillingProductRecordResponseData
|
|
2353
|
+
*/
|
|
2354
|
+
id: string;
|
|
2355
|
+
/**
|
|
2356
|
+
*
|
|
2357
|
+
* @type {boolean}
|
|
2358
|
+
* @memberof BillingProductRecordResponseData
|
|
2359
|
+
*/
|
|
2360
|
+
isActive: boolean;
|
|
2361
|
+
/**
|
|
2362
|
+
*
|
|
2363
|
+
* @type {string}
|
|
2364
|
+
* @memberof BillingProductRecordResponseData
|
|
2365
|
+
*/
|
|
2366
|
+
name: string;
|
|
2367
|
+
/**
|
|
2368
|
+
*
|
|
2369
|
+
* @type {BillingProviderType}
|
|
2370
|
+
* @memberof BillingProductRecordResponseData
|
|
2371
|
+
*/
|
|
2372
|
+
providerType: BillingProviderType_2;
|
|
2373
|
+
/**
|
|
2374
|
+
*
|
|
2375
|
+
* @type {Date}
|
|
2376
|
+
* @memberof BillingProductRecordResponseData
|
|
2377
|
+
*/
|
|
2378
|
+
updatedAt: Date;
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2239
2381
|
/**
|
|
2240
2382
|
*
|
|
2241
2383
|
* @export
|
|
@@ -3099,7 +3241,7 @@ declare type ChargeType_2 = (typeof ChargeType_2)[keyof typeof ChargeType_2];
|
|
|
3099
3241
|
|
|
3100
3242
|
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;
|
|
3101
3243
|
|
|
3102
|
-
export declare const Checkout: ({ customCheckoutFields, customFieldValues, isPaymentMethodRequired, onCustomFieldChange, optInRequired, optInTitle, optInText, optInAccepted, setOptInAccepted, setPaymentMethodId, promoCode, updatePromoCode, confirmPaymentIntentProps, financeData, onPaymentMethodSaved, }: CheckoutProps) => JSX.Element | null;
|
|
3244
|
+
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
3245
|
|
|
3104
3246
|
/**
|
|
3105
3247
|
* Host-provided initial values used to pre-populate the checkout payment form.
|
|
@@ -3226,10 +3368,15 @@ export declare interface CheckoutPrefill {
|
|
|
3226
3368
|
}
|
|
3227
3369
|
|
|
3228
3370
|
declare interface CheckoutProps {
|
|
3371
|
+
collectTaxId?: boolean;
|
|
3229
3372
|
customCheckoutFields?: CheckoutFieldWithValue[];
|
|
3230
3373
|
customFieldValues: Record<string, string>;
|
|
3231
3374
|
isPaymentMethodRequired: boolean;
|
|
3232
3375
|
onCustomFieldChange: (fieldId: string, value: string) => void;
|
|
3376
|
+
taxIdValues?: TaxIdValues;
|
|
3377
|
+
onTaxIdChange?: (value: TaxIdValues) => void;
|
|
3378
|
+
onTaxIdBlur?: () => void;
|
|
3379
|
+
taxIdError?: string;
|
|
3233
3380
|
optInRequired: boolean;
|
|
3234
3381
|
optInTitle?: string | null;
|
|
3235
3382
|
optInText?: string | null;
|
|
@@ -4057,6 +4204,12 @@ declare interface CompanyPlanCreditGrantView {
|
|
|
4057
4204
|
* @memberof CompanyPlanCreditGrantView
|
|
4058
4205
|
*/
|
|
4059
4206
|
companyAutoTopupThresholdCredits?: number | null;
|
|
4207
|
+
/**
|
|
4208
|
+
*
|
|
4209
|
+
* @type {number}
|
|
4210
|
+
* @memberof CompanyPlanCreditGrantView
|
|
4211
|
+
*/
|
|
4212
|
+
companyCreditAmount: number;
|
|
4060
4213
|
/**
|
|
4061
4214
|
*
|
|
4062
4215
|
* @type {Date}
|
|
@@ -4126,6 +4279,12 @@ declare interface CompanyPlanCreditGrantView {
|
|
|
4126
4279
|
* @memberof CompanyPlanCreditGrantView
|
|
4127
4280
|
*/
|
|
4128
4281
|
id: string;
|
|
4282
|
+
/**
|
|
4283
|
+
*
|
|
4284
|
+
* @type {string}
|
|
4285
|
+
* @memberof CompanyPlanCreditGrantView
|
|
4286
|
+
*/
|
|
4287
|
+
licenseId?: string | null;
|
|
4129
4288
|
/**
|
|
4130
4289
|
*
|
|
4131
4290
|
* @type {GenericPreviewObject}
|
|
@@ -4175,6 +4334,12 @@ declare interface CompanyPlanCreditGrantView {
|
|
|
4175
4334
|
* @memberof CompanyPlanCreditGrantView
|
|
4176
4335
|
*/
|
|
4177
4336
|
rolloverPercentage: number;
|
|
4337
|
+
/**
|
|
4338
|
+
*
|
|
4339
|
+
* @type {PlanCreditGrantScaling}
|
|
4340
|
+
* @memberof CompanyPlanCreditGrantView
|
|
4341
|
+
*/
|
|
4342
|
+
scaling: PlanCreditGrantScaling;
|
|
4178
4343
|
/**
|
|
4179
4344
|
* Deprecated field, will be removed in the future. Use Credit.SingularName instead.
|
|
4180
4345
|
* @type {string}
|
|
@@ -4391,12 +4556,12 @@ declare interface CompanyPlanDetailResponseData {
|
|
|
4391
4556
|
*/
|
|
4392
4557
|
isDefault: boolean;
|
|
4393
4558
|
/**
|
|
4394
|
-
* Deprecated:
|
|
4559
|
+
* 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
4560
|
* @type {boolean}
|
|
4396
4561
|
* @memberof CompanyPlanDetailResponseData
|
|
4397
4562
|
* @deprecated
|
|
4398
4563
|
*/
|
|
4399
|
-
isFree
|
|
4564
|
+
isFree?: boolean | null;
|
|
4400
4565
|
/**
|
|
4401
4566
|
*
|
|
4402
4567
|
* @type {boolean}
|
|
@@ -4660,6 +4825,55 @@ declare interface CompanySubscriptionResponseData {
|
|
|
4660
4825
|
trialEnd?: Date | null;
|
|
4661
4826
|
}
|
|
4662
4827
|
|
|
4828
|
+
/**
|
|
4829
|
+
* Schematic API
|
|
4830
|
+
* Schematic API
|
|
4831
|
+
*
|
|
4832
|
+
* The version of the OpenAPI document: 0.1
|
|
4833
|
+
*
|
|
4834
|
+
*
|
|
4835
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4836
|
+
* https://openapi-generator.tech
|
|
4837
|
+
* Do not edit the class manually.
|
|
4838
|
+
*/
|
|
4839
|
+
/**
|
|
4840
|
+
*
|
|
4841
|
+
* @export
|
|
4842
|
+
* @interface CompanyTaxIDView
|
|
4843
|
+
*/
|
|
4844
|
+
declare interface CompanyTaxIDView {
|
|
4845
|
+
/**
|
|
4846
|
+
*
|
|
4847
|
+
* @type {string}
|
|
4848
|
+
* @memberof CompanyTaxIDView
|
|
4849
|
+
*/
|
|
4850
|
+
country: string;
|
|
4851
|
+
/**
|
|
4852
|
+
*
|
|
4853
|
+
* @type {string}
|
|
4854
|
+
* @memberof CompanyTaxIDView
|
|
4855
|
+
*/
|
|
4856
|
+
id: string;
|
|
4857
|
+
/**
|
|
4858
|
+
*
|
|
4859
|
+
* @type {string}
|
|
4860
|
+
* @memberof CompanyTaxIDView
|
|
4861
|
+
*/
|
|
4862
|
+
type: string;
|
|
4863
|
+
/**
|
|
4864
|
+
*
|
|
4865
|
+
* @type {string}
|
|
4866
|
+
* @memberof CompanyTaxIDView
|
|
4867
|
+
*/
|
|
4868
|
+
value: string;
|
|
4869
|
+
/**
|
|
4870
|
+
*
|
|
4871
|
+
* @type {string}
|
|
4872
|
+
* @memberof CompanyTaxIDView
|
|
4873
|
+
*/
|
|
4874
|
+
verificationStatus?: string | null;
|
|
4875
|
+
}
|
|
4876
|
+
|
|
4663
4877
|
/**
|
|
4664
4878
|
*
|
|
4665
4879
|
* @export
|
|
@@ -4818,17 +5032,6 @@ declare interface ComponentCapabilities_2 {
|
|
|
4818
5032
|
checkout: boolean;
|
|
4819
5033
|
}
|
|
4820
5034
|
|
|
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
5035
|
/**
|
|
4833
5036
|
*
|
|
4834
5037
|
* @export
|
|
@@ -4853,6 +5056,18 @@ declare interface ComponentCheckoutSettings {
|
|
|
4853
5056
|
* @memberof ComponentCheckoutSettings
|
|
4854
5057
|
*/
|
|
4855
5058
|
collectPhone: boolean;
|
|
5059
|
+
/**
|
|
5060
|
+
*
|
|
5061
|
+
* @type {boolean}
|
|
5062
|
+
* @memberof ComponentCheckoutSettings
|
|
5063
|
+
*/
|
|
5064
|
+
collectTaxId: boolean;
|
|
5065
|
+
/**
|
|
5066
|
+
*
|
|
5067
|
+
* @type {ProrationBehavior}
|
|
5068
|
+
* @memberof ComponentCheckoutSettings
|
|
5069
|
+
*/
|
|
5070
|
+
prorationBehavior: ProrationBehavior;
|
|
4856
5071
|
/**
|
|
4857
5072
|
*
|
|
4858
5073
|
* @type {boolean}
|
|
@@ -5460,6 +5675,12 @@ declare interface CreditCompanyGrantView {
|
|
|
5460
5675
|
* @memberof CreditCompanyGrantView
|
|
5461
5676
|
*/
|
|
5462
5677
|
companyId: string;
|
|
5678
|
+
/**
|
|
5679
|
+
*
|
|
5680
|
+
* @type {string}
|
|
5681
|
+
* @memberof CreditCompanyGrantView
|
|
5682
|
+
*/
|
|
5683
|
+
companyLicenseId?: string | null;
|
|
5463
5684
|
/**
|
|
5464
5685
|
*
|
|
5465
5686
|
* @type {string}
|
|
@@ -5538,6 +5759,12 @@ declare interface CreditCompanyGrantView {
|
|
|
5538
5759
|
* @memberof CreditCompanyGrantView
|
|
5539
5760
|
*/
|
|
5540
5761
|
id: string;
|
|
5762
|
+
/**
|
|
5763
|
+
*
|
|
5764
|
+
* @type {string}
|
|
5765
|
+
* @memberof CreditCompanyGrantView
|
|
5766
|
+
*/
|
|
5767
|
+
licenseName?: string | null;
|
|
5541
5768
|
/**
|
|
5542
5769
|
*
|
|
5543
5770
|
* @type {string}
|
|
@@ -5997,6 +6224,12 @@ declare interface CustomPlanBillingResponseData {
|
|
|
5997
6224
|
* @memberof CustomPlanBillingResponseData
|
|
5998
6225
|
*/
|
|
5999
6226
|
publishedAt?: Date | null;
|
|
6227
|
+
/**
|
|
6228
|
+
*
|
|
6229
|
+
* @type {boolean}
|
|
6230
|
+
* @memberof CustomPlanBillingResponseData
|
|
6231
|
+
*/
|
|
6232
|
+
sendInvoice: boolean;
|
|
6000
6233
|
/**
|
|
6001
6234
|
*
|
|
6002
6235
|
* @type {CustomPlanBillingStatus}
|
|
@@ -6470,6 +6703,8 @@ export declare interface EmbedContextProps extends EmbedState {
|
|
|
6470
6703
|
finishCheckout: (changeSubscriptionRequestBody: CheckoutResponseData) => void;
|
|
6471
6704
|
unsubscribe: () => DebouncedApiPromise<CheckoutUnsubscribeResponse>;
|
|
6472
6705
|
updateCustomFieldValues: (values: Record<string, string>) => Promise<void> | undefined;
|
|
6706
|
+
updateTaxId: (taxId: TaxIDInput) => Promise<UpdateCheckoutTaxIDResponse | undefined>;
|
|
6707
|
+
getTaxId: () => Promise<GetCheckoutTaxIDResponse | undefined>;
|
|
6473
6708
|
setAccessToken: (token: string) => void;
|
|
6474
6709
|
setError: (error: Error) => void;
|
|
6475
6710
|
setLayout: (layout: EmbedLayout) => void;
|
|
@@ -8404,6 +8639,26 @@ declare interface GenericPreviewObject_2 {
|
|
|
8404
8639
|
name: string;
|
|
8405
8640
|
}
|
|
8406
8641
|
|
|
8642
|
+
/**
|
|
8643
|
+
*
|
|
8644
|
+
* @export
|
|
8645
|
+
* @interface GetCheckoutTaxIDResponse
|
|
8646
|
+
*/
|
|
8647
|
+
declare interface GetCheckoutTaxIDResponse {
|
|
8648
|
+
/**
|
|
8649
|
+
*
|
|
8650
|
+
* @type {UpdateCheckoutTaxIDResponseData}
|
|
8651
|
+
* @memberof GetCheckoutTaxIDResponse
|
|
8652
|
+
*/
|
|
8653
|
+
data: UpdateCheckoutTaxIDResponseData;
|
|
8654
|
+
/**
|
|
8655
|
+
* Input parameters
|
|
8656
|
+
* @type {object}
|
|
8657
|
+
* @memberof GetCheckoutTaxIDResponse
|
|
8658
|
+
*/
|
|
8659
|
+
params: object;
|
|
8660
|
+
}
|
|
8661
|
+
|
|
8407
8662
|
/**
|
|
8408
8663
|
*
|
|
8409
8664
|
* @export
|
|
@@ -8488,6 +8743,8 @@ export declare const initialContext: {
|
|
|
8488
8743
|
checkout: () => never;
|
|
8489
8744
|
unsubscribe: () => never;
|
|
8490
8745
|
updateCustomFieldValues: () => never;
|
|
8746
|
+
updateTaxId: () => never;
|
|
8747
|
+
getTaxId: () => never;
|
|
8491
8748
|
setError: () => never;
|
|
8492
8749
|
setAccessToken: () => never;
|
|
8493
8750
|
setLayout: () => never;
|
|
@@ -9155,6 +9412,28 @@ declare interface PlanCatalogMembershipResponseData_2 {
|
|
|
9155
9412
|
name: string;
|
|
9156
9413
|
}
|
|
9157
9414
|
|
|
9415
|
+
/**
|
|
9416
|
+
*
|
|
9417
|
+
* @export
|
|
9418
|
+
*/
|
|
9419
|
+
declare const PlanCreditGrantScaling: {
|
|
9420
|
+
readonly Fixed: "fixed";
|
|
9421
|
+
readonly PerLicense: "per_license";
|
|
9422
|
+
};
|
|
9423
|
+
|
|
9424
|
+
declare type PlanCreditGrantScaling = (typeof PlanCreditGrantScaling)[keyof typeof PlanCreditGrantScaling];
|
|
9425
|
+
|
|
9426
|
+
/**
|
|
9427
|
+
*
|
|
9428
|
+
* @export
|
|
9429
|
+
*/
|
|
9430
|
+
declare const PlanCreditGrantScaling_2: {
|
|
9431
|
+
readonly Fixed: "fixed";
|
|
9432
|
+
readonly PerLicense: "per_license";
|
|
9433
|
+
};
|
|
9434
|
+
|
|
9435
|
+
declare type PlanCreditGrantScaling_2 = (typeof PlanCreditGrantScaling_2)[keyof typeof PlanCreditGrantScaling_2];
|
|
9436
|
+
|
|
9158
9437
|
/**
|
|
9159
9438
|
*
|
|
9160
9439
|
* @export
|
|
@@ -9227,6 +9506,12 @@ declare interface PlanCreditGrantView {
|
|
|
9227
9506
|
* @memberof PlanCreditGrantView
|
|
9228
9507
|
*/
|
|
9229
9508
|
billingCreditCanBuyBundles: boolean;
|
|
9509
|
+
/**
|
|
9510
|
+
*
|
|
9511
|
+
* @type {number}
|
|
9512
|
+
* @memberof PlanCreditGrantView
|
|
9513
|
+
*/
|
|
9514
|
+
companyCreditAmount: number;
|
|
9230
9515
|
/**
|
|
9231
9516
|
*
|
|
9232
9517
|
* @type {Date}
|
|
@@ -9296,6 +9581,12 @@ declare interface PlanCreditGrantView {
|
|
|
9296
9581
|
* @memberof PlanCreditGrantView
|
|
9297
9582
|
*/
|
|
9298
9583
|
id: string;
|
|
9584
|
+
/**
|
|
9585
|
+
*
|
|
9586
|
+
* @type {string}
|
|
9587
|
+
* @memberof PlanCreditGrantView
|
|
9588
|
+
*/
|
|
9589
|
+
licenseId?: string | null;
|
|
9299
9590
|
/**
|
|
9300
9591
|
*
|
|
9301
9592
|
* @type {GenericPreviewObject}
|
|
@@ -9345,6 +9636,12 @@ declare interface PlanCreditGrantView {
|
|
|
9345
9636
|
* @memberof PlanCreditGrantView
|
|
9346
9637
|
*/
|
|
9347
9638
|
rolloverPercentage: number;
|
|
9639
|
+
/**
|
|
9640
|
+
*
|
|
9641
|
+
* @type {PlanCreditGrantScaling}
|
|
9642
|
+
* @memberof PlanCreditGrantView
|
|
9643
|
+
*/
|
|
9644
|
+
scaling: PlanCreditGrantScaling;
|
|
9348
9645
|
/**
|
|
9349
9646
|
* Deprecated field, will be removed in the future. Use Credit.SingularName instead.
|
|
9350
9647
|
* @type {string}
|
|
@@ -9432,6 +9729,12 @@ declare interface PlanCreditGrantView_2 {
|
|
|
9432
9729
|
* @memberof PlanCreditGrantView
|
|
9433
9730
|
*/
|
|
9434
9731
|
billingCreditCanBuyBundles: boolean;
|
|
9732
|
+
/**
|
|
9733
|
+
*
|
|
9734
|
+
* @type {number}
|
|
9735
|
+
* @memberof PlanCreditGrantView
|
|
9736
|
+
*/
|
|
9737
|
+
companyCreditAmount: number;
|
|
9435
9738
|
/**
|
|
9436
9739
|
*
|
|
9437
9740
|
* @type {Date}
|
|
@@ -9501,6 +9804,12 @@ declare interface PlanCreditGrantView_2 {
|
|
|
9501
9804
|
* @memberof PlanCreditGrantView
|
|
9502
9805
|
*/
|
|
9503
9806
|
id: string;
|
|
9807
|
+
/**
|
|
9808
|
+
*
|
|
9809
|
+
* @type {string}
|
|
9810
|
+
* @memberof PlanCreditGrantView
|
|
9811
|
+
*/
|
|
9812
|
+
licenseId?: string | null;
|
|
9504
9813
|
/**
|
|
9505
9814
|
*
|
|
9506
9815
|
* @type {GenericPreviewObject}
|
|
@@ -9550,6 +9859,12 @@ declare interface PlanCreditGrantView_2 {
|
|
|
9550
9859
|
* @memberof PlanCreditGrantView
|
|
9551
9860
|
*/
|
|
9552
9861
|
rolloverPercentage: number;
|
|
9862
|
+
/**
|
|
9863
|
+
*
|
|
9864
|
+
* @type {PlanCreditGrantScaling}
|
|
9865
|
+
* @memberof PlanCreditGrantView
|
|
9866
|
+
*/
|
|
9867
|
+
scaling: PlanCreditGrantScaling_2;
|
|
9553
9868
|
/**
|
|
9554
9869
|
* Deprecated field, will be removed in the future. Use Credit.SingularName instead.
|
|
9555
9870
|
* @type {string}
|
|
@@ -9794,12 +10109,12 @@ declare interface PlanDetailResponseData {
|
|
|
9794
10109
|
*/
|
|
9795
10110
|
isDefault: boolean;
|
|
9796
10111
|
/**
|
|
9797
|
-
* Deprecated:
|
|
10112
|
+
* 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
10113
|
* @type {boolean}
|
|
9799
10114
|
* @memberof PlanDetailResponseData
|
|
9800
10115
|
* @deprecated
|
|
9801
10116
|
*/
|
|
9802
|
-
isFree
|
|
10117
|
+
isFree?: boolean | null;
|
|
9803
10118
|
/**
|
|
9804
10119
|
*
|
|
9805
10120
|
* @type {boolean}
|
|
@@ -10866,12 +11181,12 @@ declare interface PlanViewPublicResponseData {
|
|
|
10866
11181
|
*/
|
|
10867
11182
|
isDefault: boolean;
|
|
10868
11183
|
/**
|
|
10869
|
-
* Deprecated:
|
|
11184
|
+
* 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
11185
|
* @type {boolean}
|
|
10871
11186
|
* @memberof PlanViewPublicResponseData
|
|
10872
11187
|
* @deprecated
|
|
10873
11188
|
*/
|
|
10874
|
-
isFree
|
|
11189
|
+
isFree?: boolean | null;
|
|
10875
11190
|
/**
|
|
10876
11191
|
*
|
|
10877
11192
|
* @type {boolean}
|
|
@@ -11496,6 +11811,17 @@ export declare interface ProgressBarProps extends React.ComponentPropsWithoutRef
|
|
|
11496
11811
|
|
|
11497
11812
|
export declare const progressColorMap: ("blue" | "red" | "yellow")[];
|
|
11498
11813
|
|
|
11814
|
+
/**
|
|
11815
|
+
*
|
|
11816
|
+
* @export
|
|
11817
|
+
*/
|
|
11818
|
+
declare const ProrationBehavior: {
|
|
11819
|
+
readonly CreateProrations: "create_prorations";
|
|
11820
|
+
readonly InvoiceImmediately: "invoice_immediately";
|
|
11821
|
+
};
|
|
11822
|
+
|
|
11823
|
+
declare type ProrationBehavior = (typeof ProrationBehavior)[keyof typeof ProrationBehavior];
|
|
11824
|
+
|
|
11499
11825
|
/**
|
|
11500
11826
|
*
|
|
11501
11827
|
* @export
|
|
@@ -12425,6 +12751,84 @@ export declare const stub: () => never;
|
|
|
12425
12751
|
|
|
12426
12752
|
export declare const StyledCard: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
12427
12753
|
|
|
12754
|
+
/**
|
|
12755
|
+
*
|
|
12756
|
+
* @export
|
|
12757
|
+
* @interface TaxIDInput
|
|
12758
|
+
*/
|
|
12759
|
+
declare interface TaxIDInput {
|
|
12760
|
+
/**
|
|
12761
|
+
*
|
|
12762
|
+
* @type {TaxIdType}
|
|
12763
|
+
* @memberof TaxIDInput
|
|
12764
|
+
*/
|
|
12765
|
+
type: TaxIdType;
|
|
12766
|
+
/**
|
|
12767
|
+
*
|
|
12768
|
+
* @type {string}
|
|
12769
|
+
* @memberof TaxIDInput
|
|
12770
|
+
*/
|
|
12771
|
+
value: string;
|
|
12772
|
+
}
|
|
12773
|
+
|
|
12774
|
+
/**
|
|
12775
|
+
*
|
|
12776
|
+
* @export
|
|
12777
|
+
*/
|
|
12778
|
+
declare const TaxIdType: {
|
|
12779
|
+
readonly AeTrn: "ae_trn";
|
|
12780
|
+
readonly AuAbn: "au_abn";
|
|
12781
|
+
readonly AuArn: "au_arn";
|
|
12782
|
+
readonly BrCnpj: "br_cnpj";
|
|
12783
|
+
readonly BrCpf: "br_cpf";
|
|
12784
|
+
readonly CaBn: "ca_bn";
|
|
12785
|
+
readonly CaGstHst: "ca_gst_hst";
|
|
12786
|
+
readonly CaPstBc: "ca_pst_bc";
|
|
12787
|
+
readonly CaPstMb: "ca_pst_mb";
|
|
12788
|
+
readonly CaPstSk: "ca_pst_sk";
|
|
12789
|
+
readonly CaQst: "ca_qst";
|
|
12790
|
+
readonly ChUid: "ch_uid";
|
|
12791
|
+
readonly ChVat: "ch_vat";
|
|
12792
|
+
readonly EuVat: "eu_vat";
|
|
12793
|
+
readonly GbVat: "gb_vat";
|
|
12794
|
+
readonly HkBr: "hk_br";
|
|
12795
|
+
readonly IdNpwp: "id_npwp";
|
|
12796
|
+
readonly IlVat: "il_vat";
|
|
12797
|
+
readonly InGst: "in_gst";
|
|
12798
|
+
readonly JpCn: "jp_cn";
|
|
12799
|
+
readonly JpRn: "jp_rn";
|
|
12800
|
+
readonly JpTrn: "jp_trn";
|
|
12801
|
+
readonly KrBrn: "kr_brn";
|
|
12802
|
+
readonly MxRfc: "mx_rfc";
|
|
12803
|
+
readonly MyFrp: "my_frp";
|
|
12804
|
+
readonly MyItn: "my_itn";
|
|
12805
|
+
readonly MySst: "my_sst";
|
|
12806
|
+
readonly NoVat: "no_vat";
|
|
12807
|
+
readonly NzGst: "nz_gst";
|
|
12808
|
+
readonly PhTin: "ph_tin";
|
|
12809
|
+
readonly SaVat: "sa_vat";
|
|
12810
|
+
readonly SgGst: "sg_gst";
|
|
12811
|
+
readonly SgUen: "sg_uen";
|
|
12812
|
+
readonly ThVat: "th_vat";
|
|
12813
|
+
readonly TrTin: "tr_tin";
|
|
12814
|
+
readonly TwVat: "tw_vat";
|
|
12815
|
+
readonly UsEin: "us_ein";
|
|
12816
|
+
readonly ZaVat: "za_vat";
|
|
12817
|
+
};
|
|
12818
|
+
|
|
12819
|
+
declare type TaxIdType = (typeof TaxIdType)[keyof typeof TaxIdType];
|
|
12820
|
+
|
|
12821
|
+
/**
|
|
12822
|
+
* TaxIdValues is the form-state shape the tax-ID field group reads and writes.
|
|
12823
|
+
* `country` narrows the picker; `type` is the Stripe tax-ID type actually
|
|
12824
|
+
* submitted; `value` is the ID itself.
|
|
12825
|
+
*/
|
|
12826
|
+
declare type TaxIdValues = {
|
|
12827
|
+
country: string;
|
|
12828
|
+
type: string;
|
|
12829
|
+
value: string;
|
|
12830
|
+
};
|
|
12831
|
+
|
|
12428
12832
|
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;
|
|
12429
12833
|
export { Text_2 as Text }
|
|
12430
12834
|
|
|
@@ -12703,6 +13107,40 @@ declare interface UpdateAutoTopupOverrideRequestBody {
|
|
|
12703
13107
|
planCreditGrantId: string;
|
|
12704
13108
|
}
|
|
12705
13109
|
|
|
13110
|
+
/**
|
|
13111
|
+
*
|
|
13112
|
+
* @export
|
|
13113
|
+
* @interface UpdateCheckoutTaxIDResponse
|
|
13114
|
+
*/
|
|
13115
|
+
declare interface UpdateCheckoutTaxIDResponse {
|
|
13116
|
+
/**
|
|
13117
|
+
*
|
|
13118
|
+
* @type {UpdateCheckoutTaxIDResponseData}
|
|
13119
|
+
* @memberof UpdateCheckoutTaxIDResponse
|
|
13120
|
+
*/
|
|
13121
|
+
data: UpdateCheckoutTaxIDResponseData;
|
|
13122
|
+
/**
|
|
13123
|
+
* Input parameters
|
|
13124
|
+
* @type {object}
|
|
13125
|
+
* @memberof UpdateCheckoutTaxIDResponse
|
|
13126
|
+
*/
|
|
13127
|
+
params: object;
|
|
13128
|
+
}
|
|
13129
|
+
|
|
13130
|
+
/**
|
|
13131
|
+
*
|
|
13132
|
+
* @export
|
|
13133
|
+
* @interface UpdateCheckoutTaxIDResponseData
|
|
13134
|
+
*/
|
|
13135
|
+
declare interface UpdateCheckoutTaxIDResponseData {
|
|
13136
|
+
/**
|
|
13137
|
+
*
|
|
13138
|
+
* @type {Array<CompanyTaxIDView>}
|
|
13139
|
+
* @memberof UpdateCheckoutTaxIDResponseData
|
|
13140
|
+
*/
|
|
13141
|
+
taxIds: Array<CompanyTaxIDView>;
|
|
13142
|
+
}
|
|
13143
|
+
|
|
12706
13144
|
/**
|
|
12707
13145
|
* Schematic API
|
|
12708
13146
|
* Schematic API
|