@donotdev/core 0.2.0 → 0.2.2
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/index.d.ts +21 -110
- package/index.js +5 -5
- package/next/index.js +28 -28
- package/package.json +2 -2
- package/server.d.ts +17 -100
- package/server.js +1 -14
- package/symbol-index.json +1 -1
- package/vite/index.js +34 -34
package/index.d.ts
CHANGED
|
@@ -3966,10 +3966,9 @@ declare const CheckoutLineItemInputSchema: v.ObjectSchema<{
|
|
|
3966
3966
|
*
|
|
3967
3967
|
* 0.1.x requests keep working unchanged: the key may come from
|
|
3968
3968
|
* `metadata.billingConfigKey`, `lineItems` defaults to the single product, and
|
|
3969
|
-
* the 0.1.x fields (`priceId`, `
|
|
3969
|
+
* the 0.1.x fields (`priceId`, `currency`, `mode`)
|
|
3970
3970
|
* are kept and honoured for StripePayment/StripeSubscription items exactly as in
|
|
3971
|
-
* 0.1.x (priceId checked against the back config
|
|
3972
|
-
* `maxUnitAmount`). StripeOrder ignores them. `userId` is never trusted by the
|
|
3971
|
+
* 0.1.x (priceId checked against the back config). StripeOrder ignores them. `userId` is never trusted by the
|
|
3973
3972
|
* framework providers: they pass the authenticated user.
|
|
3974
3973
|
* The output is always normalized (`billingConfigKey` + `lineItems` set).
|
|
3975
3974
|
*
|
|
@@ -4001,11 +4000,7 @@ declare const CreateCheckoutSessionRequestSchema: v.SchemaWithPipe<readonly [v.O
|
|
|
4001
4000
|
readonly productId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4002
4001
|
/** 0.1.x: Stripe price ID (must match the back config priceId when it has one) */
|
|
4003
4002
|
readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4004
|
-
/** 0.1.x:
|
|
4005
|
-
readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4006
|
-
/** 0.1.x: product name shown on Stripe checkout (dynamic pricing) */
|
|
4007
|
-
readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4008
|
-
/** 0.1.x: currency code (dynamic pricing), defaults to the back config currency */
|
|
4003
|
+
/** 0.1.x: currency code, defaults to the back config currency */
|
|
4009
4004
|
readonly currency: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, "Currency must be 3-letter ISO code">]>, undefined>;
|
|
4010
4005
|
readonly userEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
4011
4006
|
/** 0.1.x: Stripe mode. Omitted: derived from the back config item type. */
|
|
@@ -4026,8 +4021,6 @@ declare const CreateCheckoutSessionRequestSchema: v.SchemaWithPipe<readonly [v.O
|
|
|
4026
4021
|
userId?: string | undefined;
|
|
4027
4022
|
productId?: string | undefined;
|
|
4028
4023
|
priceId?: string | undefined;
|
|
4029
|
-
unitAmount?: number | undefined;
|
|
4030
|
-
productName?: string | undefined;
|
|
4031
4024
|
currency?: string | undefined;
|
|
4032
4025
|
userEmail?: string | undefined;
|
|
4033
4026
|
mode?: "payment" | "subscription" | undefined;
|
|
@@ -4047,8 +4040,6 @@ declare const CreateCheckoutSessionRequestSchema: v.SchemaWithPipe<readonly [v.O
|
|
|
4047
4040
|
userId?: string | undefined;
|
|
4048
4041
|
productId?: string | undefined;
|
|
4049
4042
|
priceId?: string | undefined;
|
|
4050
|
-
unitAmount?: number | undefined;
|
|
4051
|
-
productName?: string | undefined;
|
|
4052
4043
|
currency?: string | undefined;
|
|
4053
4044
|
userEmail?: string | undefined;
|
|
4054
4045
|
mode?: "payment" | "subscription" | undefined;
|
|
@@ -4251,11 +4242,7 @@ declare function validateCreateCheckoutSessionRequest(data: unknown): v.SafePars
|
|
|
4251
4242
|
readonly productId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4252
4243
|
/** 0.1.x: Stripe price ID (must match the back config priceId when it has one) */
|
|
4253
4244
|
readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4254
|
-
/** 0.1.x:
|
|
4255
|
-
readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4256
|
-
/** 0.1.x: product name shown on Stripe checkout (dynamic pricing) */
|
|
4257
|
-
readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4258
|
-
/** 0.1.x: currency code (dynamic pricing), defaults to the back config currency */
|
|
4245
|
+
/** 0.1.x: currency code, defaults to the back config currency */
|
|
4259
4246
|
readonly currency: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, "Currency must be 3-letter ISO code">]>, undefined>;
|
|
4260
4247
|
readonly userEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
4261
4248
|
/** 0.1.x: Stripe mode. Omitted: derived from the back config item type. */
|
|
@@ -4276,8 +4263,6 @@ declare function validateCreateCheckoutSessionRequest(data: unknown): v.SafePars
|
|
|
4276
4263
|
userId?: string | undefined;
|
|
4277
4264
|
productId?: string | undefined;
|
|
4278
4265
|
priceId?: string | undefined;
|
|
4279
|
-
unitAmount?: number | undefined;
|
|
4280
|
-
productName?: string | undefined;
|
|
4281
4266
|
currency?: string | undefined;
|
|
4282
4267
|
userEmail?: string | undefined;
|
|
4283
4268
|
mode?: "payment" | "subscription" | undefined;
|
|
@@ -4297,8 +4282,6 @@ declare function validateCreateCheckoutSessionRequest(data: unknown): v.SafePars
|
|
|
4297
4282
|
userId?: string | undefined;
|
|
4298
4283
|
productId?: string | undefined;
|
|
4299
4284
|
priceId?: string | undefined;
|
|
4300
|
-
unitAmount?: number | undefined;
|
|
4301
|
-
productName?: string | undefined;
|
|
4302
4285
|
currency?: string | undefined;
|
|
4303
4286
|
userEmail?: string | undefined;
|
|
4304
4287
|
mode?: "payment" | "subscription" | undefined;
|
|
@@ -4389,14 +4372,8 @@ declare const StripePaymentSchema: v.ObjectSchema<{
|
|
|
4389
4372
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4390
4373
|
readonly price: v.StringSchema<undefined>;
|
|
4391
4374
|
readonly currency: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, "Currency must be 3-letter ISO code">]>, "EUR">;
|
|
4392
|
-
/** Stripe price ID
|
|
4375
|
+
/** Stripe price ID. */
|
|
4393
4376
|
readonly priceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, "Stripe price ID is required">]>, undefined>;
|
|
4394
|
-
/** Default amount in cents (dynamic pricing). Used when no priceId. */
|
|
4395
|
-
readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4396
|
-
/** Product name for Stripe checkout (dynamic pricing). */
|
|
4397
|
-
readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4398
|
-
/** Maximum allowed unit amount in cents. Security cap for client-provided amounts. */
|
|
4399
|
-
readonly maxUnitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4400
4377
|
readonly tier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, "Tier is required">]>;
|
|
4401
4378
|
readonly duration: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, "Duration is required">]>;
|
|
4402
4379
|
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -4436,14 +4413,8 @@ declare const ProductDeclarationSchema: v.VariantSchema<"type", [v.ObjectSchema<
|
|
|
4436
4413
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4437
4414
|
readonly price: v.StringSchema<undefined>;
|
|
4438
4415
|
readonly currency: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, "Currency must be 3-letter ISO code">]>, "EUR">;
|
|
4439
|
-
/** Stripe price ID
|
|
4416
|
+
/** Stripe price ID. */
|
|
4440
4417
|
readonly priceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, "Stripe price ID is required">]>, undefined>;
|
|
4441
|
-
/** Default amount in cents (dynamic pricing). Used when no priceId. */
|
|
4442
|
-
readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4443
|
-
/** Product name for Stripe checkout (dynamic pricing). */
|
|
4444
|
-
readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4445
|
-
/** Maximum allowed unit amount in cents. Security cap for client-provided amounts. */
|
|
4446
|
-
readonly maxUnitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4447
4418
|
readonly tier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, "Tier is required">]>;
|
|
4448
4419
|
readonly duration: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, "Duration is required">]>;
|
|
4449
4420
|
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -4474,14 +4445,8 @@ declare const ProductDeclarationsSchema: v.RecordSchema<v.StringSchema<undefined
|
|
|
4474
4445
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4475
4446
|
readonly price: v.StringSchema<undefined>;
|
|
4476
4447
|
readonly currency: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, "Currency must be 3-letter ISO code">]>, "EUR">;
|
|
4477
|
-
/** Stripe price ID
|
|
4448
|
+
/** Stripe price ID. */
|
|
4478
4449
|
readonly priceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, "Stripe price ID is required">]>, undefined>;
|
|
4479
|
-
/** Default amount in cents (dynamic pricing). Used when no priceId. */
|
|
4480
|
-
readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4481
|
-
/** Product name for Stripe checkout (dynamic pricing). */
|
|
4482
|
-
readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4483
|
-
/** Maximum allowed unit amount in cents. Security cap for client-provided amounts. */
|
|
4484
|
-
readonly maxUnitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4485
4450
|
readonly tier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, "Tier is required">]>;
|
|
4486
4451
|
readonly duration: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, "Duration is required">]>;
|
|
4487
4452
|
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -4512,12 +4477,8 @@ declare const StripeFrontConfigSchema: v.RecordSchema<v.StringSchema<undefined>,
|
|
|
4512
4477
|
readonly currency: v.StringSchema<undefined>;
|
|
4513
4478
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4514
4479
|
readonly features: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4515
|
-
/** Stripe price ID
|
|
4480
|
+
/** Stripe price ID. */
|
|
4516
4481
|
readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4517
|
-
/** Amount in cents (dynamic pricing). For display purposes. */
|
|
4518
|
-
readonly unitAmount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
4519
|
-
/** Product name (dynamic pricing). For display purposes. */
|
|
4520
|
-
readonly productName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4521
4482
|
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4522
4483
|
}, undefined>, undefined>;
|
|
4523
4484
|
/**
|
|
@@ -4606,9 +4567,6 @@ declare const StripeBackConfigSchema: v.RecordSchema<v.StringSchema<undefined>,
|
|
|
4606
4567
|
readonly price: v.NumberSchema<undefined>;
|
|
4607
4568
|
readonly currency: v.StringSchema<undefined>;
|
|
4608
4569
|
readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4609
|
-
readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4610
|
-
readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4611
|
-
readonly maxUnitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4612
4570
|
readonly tier: v.StringSchema<undefined>;
|
|
4613
4571
|
readonly duration: v.StringSchema<undefined>;
|
|
4614
4572
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -4620,9 +4578,6 @@ declare const StripeBackConfigSchema: v.RecordSchema<v.StringSchema<undefined>,
|
|
|
4620
4578
|
readonly price: v.NumberSchema<undefined>;
|
|
4621
4579
|
readonly currency: v.StringSchema<undefined>;
|
|
4622
4580
|
readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4623
|
-
readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4624
|
-
readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4625
|
-
readonly maxUnitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4626
4581
|
readonly tier: v.StringSchema<undefined>;
|
|
4627
4582
|
readonly duration: v.StringSchema<undefined>;
|
|
4628
4583
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -4673,8 +4628,6 @@ declare function validateStripeFrontConfig(config: unknown): {
|
|
|
4673
4628
|
description?: string | undefined;
|
|
4674
4629
|
features?: string[] | undefined;
|
|
4675
4630
|
priceId?: string | undefined;
|
|
4676
|
-
unitAmount?: number | undefined;
|
|
4677
|
-
productName?: string | undefined;
|
|
4678
4631
|
allowPromotionCodes?: boolean | undefined;
|
|
4679
4632
|
};
|
|
4680
4633
|
};
|
|
@@ -4691,9 +4644,6 @@ declare function validateStripeBackConfig(config: unknown): {
|
|
|
4691
4644
|
price: number;
|
|
4692
4645
|
currency: string;
|
|
4693
4646
|
priceId?: string | undefined;
|
|
4694
|
-
unitAmount?: number | undefined;
|
|
4695
|
-
productName?: string | undefined;
|
|
4696
|
-
maxUnitAmount?: number | undefined;
|
|
4697
4647
|
tier: string;
|
|
4698
4648
|
duration: string;
|
|
4699
4649
|
description?: string | undefined;
|
|
@@ -4707,9 +4657,6 @@ declare function validateStripeBackConfig(config: unknown): {
|
|
|
4707
4657
|
price: number;
|
|
4708
4658
|
currency: string;
|
|
4709
4659
|
priceId?: string | undefined;
|
|
4710
|
-
unitAmount?: number | undefined;
|
|
4711
|
-
productName?: string | undefined;
|
|
4712
|
-
maxUnitAmount?: number | undefined;
|
|
4713
4660
|
tier: string;
|
|
4714
4661
|
duration: string;
|
|
4715
4662
|
description?: string | undefined;
|
|
@@ -4733,7 +4680,7 @@ declare function validateStripeBackConfig(config: unknown): {
|
|
|
4733
4680
|
} | {
|
|
4734
4681
|
mode: "automatic";
|
|
4735
4682
|
};
|
|
4736
|
-
taxIdCollection: "optional" | "
|
|
4683
|
+
taxIdCollection: "optional" | "disabled" | "required";
|
|
4737
4684
|
billingAddressCollection: "required" | "auto";
|
|
4738
4685
|
shipping?: {
|
|
4739
4686
|
allowedCountries: string[];
|
|
@@ -4778,11 +4725,7 @@ declare function validateBillingSchemas(): {
|
|
|
4778
4725
|
readonly productId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4779
4726
|
/** 0.1.x: Stripe price ID (must match the back config priceId when it has one) */
|
|
4780
4727
|
readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4781
|
-
/** 0.1.x:
|
|
4782
|
-
readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4783
|
-
/** 0.1.x: product name shown on Stripe checkout (dynamic pricing) */
|
|
4784
|
-
readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4785
|
-
/** 0.1.x: currency code (dynamic pricing), defaults to the back config currency */
|
|
4728
|
+
/** 0.1.x: currency code, defaults to the back config currency */
|
|
4786
4729
|
readonly currency: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, "Currency must be 3-letter ISO code">]>, undefined>;
|
|
4787
4730
|
readonly userEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
4788
4731
|
/** 0.1.x: Stripe mode. Omitted: derived from the back config item type. */
|
|
@@ -4803,8 +4746,6 @@ declare function validateBillingSchemas(): {
|
|
|
4803
4746
|
userId?: string | undefined;
|
|
4804
4747
|
productId?: string | undefined;
|
|
4805
4748
|
priceId?: string | undefined;
|
|
4806
|
-
unitAmount?: number | undefined;
|
|
4807
|
-
productName?: string | undefined;
|
|
4808
4749
|
currency?: string | undefined;
|
|
4809
4750
|
userEmail?: string | undefined;
|
|
4810
4751
|
mode?: "payment" | "subscription" | undefined;
|
|
@@ -4824,8 +4765,6 @@ declare function validateBillingSchemas(): {
|
|
|
4824
4765
|
userId?: string | undefined;
|
|
4825
4766
|
productId?: string | undefined;
|
|
4826
4767
|
priceId?: string | undefined;
|
|
4827
|
-
unitAmount?: number | undefined;
|
|
4828
|
-
productName?: string | undefined;
|
|
4829
4768
|
currency?: string | undefined;
|
|
4830
4769
|
userEmail?: string | undefined;
|
|
4831
4770
|
mode?: "payment" | "subscription" | undefined;
|
|
@@ -5065,10 +5004,6 @@ interface RefreshSubscriptionRequest {
|
|
|
5065
5004
|
interface StripeProvider {
|
|
5066
5005
|
createCheckoutSession(params: {
|
|
5067
5006
|
priceId?: string;
|
|
5068
|
-
/** Amount in cents (dynamic pricing mode, used with price_data) */
|
|
5069
|
-
unitAmount?: number;
|
|
5070
|
-
/** Product name for Stripe checkout (dynamic pricing mode) */
|
|
5071
|
-
productName?: string;
|
|
5072
5007
|
/** Currency code, defaults to 'eur' */
|
|
5073
5008
|
currency?: string;
|
|
5074
5009
|
userId: string;
|
|
@@ -5135,10 +5070,6 @@ type BillingErrorCode = 'unknown' | 'unauthenticated' | 'invalid_request' | 'str
|
|
|
5135
5070
|
interface StripeCheckoutRequest {
|
|
5136
5071
|
/** Stripe price ID (fixed pricing mode) */
|
|
5137
5072
|
priceId?: string;
|
|
5138
|
-
/** Amount in cents (dynamic pricing mode, used with price_data) */
|
|
5139
|
-
unitAmount?: number;
|
|
5140
|
-
/** Product name for Stripe checkout (dynamic pricing mode) */
|
|
5141
|
-
productName?: string;
|
|
5142
5073
|
/** Currency code, defaults to 'eur' (dynamic pricing mode) */
|
|
5143
5074
|
currency?: string;
|
|
5144
5075
|
/** User email for the subscription */
|
|
@@ -5517,16 +5448,6 @@ interface BeforeCheckoutResult {
|
|
|
5517
5448
|
allowed: boolean;
|
|
5518
5449
|
/** Reason for blocking (shown in error response) */
|
|
5519
5450
|
reason?: string;
|
|
5520
|
-
/**
|
|
5521
|
-
* 0.1.x dynamic pricing only (request `unitAmount` + `productName`, no
|
|
5522
|
-
* `priceId`): replaces the amount/name before session creation. The amount
|
|
5523
|
-
* stays capped by the back config `maxUnitAmount`. Ignored otherwise.
|
|
5524
|
-
* @deprecated Prefer StripeOrder `resolveLineItems` for server-priced lines.
|
|
5525
|
-
*/
|
|
5526
|
-
overrides?: {
|
|
5527
|
-
unitAmount?: number;
|
|
5528
|
-
productName?: string;
|
|
5529
|
-
};
|
|
5530
5451
|
}
|
|
5531
5452
|
/**
|
|
5532
5453
|
* Second argument of a `beforeCheckout` hook: the normalized request plus the
|
|
@@ -5756,10 +5677,6 @@ interface CheckoutOptions {
|
|
|
5756
5677
|
allowPromotionCodes?: boolean;
|
|
5757
5678
|
/** Stripe price ID (single-price items). Must match the back config priceId when it has one; defaults to it. */
|
|
5758
5679
|
priceId?: string;
|
|
5759
|
-
/** Dynamic pricing amount in cents (with `productName`, no `priceId`). Capped by the back config `maxUnitAmount`. */
|
|
5760
|
-
unitAmount?: number;
|
|
5761
|
-
/** Product name for dynamic pricing. */
|
|
5762
|
-
productName?: string;
|
|
5763
5680
|
/** Currency for dynamic pricing (default 'eur'). */
|
|
5764
5681
|
currency?: string;
|
|
5765
5682
|
/** Stripe mode for single-price items. Defaults to the back config item type. */
|
|
@@ -5978,10 +5895,6 @@ interface CheckoutSessionResult {
|
|
|
5978
5895
|
*/
|
|
5979
5896
|
interface CheckoutSessionParams {
|
|
5980
5897
|
priceId?: string;
|
|
5981
|
-
/** Amount in cents (dynamic pricing mode) */
|
|
5982
|
-
unitAmount?: number;
|
|
5983
|
-
/** Product name for Stripe checkout (dynamic pricing mode) */
|
|
5984
|
-
productName?: string;
|
|
5985
5898
|
/** Currency code, defaults to 'eur' */
|
|
5986
5899
|
currency?: string;
|
|
5987
5900
|
customerEmail?: string;
|
|
@@ -8484,8 +8397,6 @@ interface CrudAPI<T = unknown> {
|
|
|
8484
8397
|
* - `error`: CRUD encountered error
|
|
8485
8398
|
*/
|
|
8486
8399
|
status: FeatureStatus;
|
|
8487
|
-
/** Current data (from get/subscribe) */
|
|
8488
|
-
data: T | null;
|
|
8489
8400
|
/** Loading state for async operations */
|
|
8490
8401
|
loading: boolean;
|
|
8491
8402
|
/** Last error encountered */
|
|
@@ -8768,7 +8679,13 @@ interface CrudListQuery<T> {
|
|
|
8768
8679
|
*/
|
|
8769
8680
|
interface CrudDocQuery<T> {
|
|
8770
8681
|
readonly queryKey: readonly ['crud', string, 'get', string];
|
|
8771
|
-
|
|
8682
|
+
/**
|
|
8683
|
+
* Receives TanStack's query context; `client` (the request's QueryClient on the
|
|
8684
|
+
* server) selects a request-scoped adapter when one is bound.
|
|
8685
|
+
*/
|
|
8686
|
+
readonly queryFn: (context: {
|
|
8687
|
+
client: object;
|
|
8688
|
+
}) => Promise<T | null>;
|
|
8772
8689
|
readonly staleTime: number;
|
|
8773
8690
|
}
|
|
8774
8691
|
/** Callback for single-document subscriptions */
|
|
@@ -17101,8 +17018,8 @@ declare function clearPartnerCache(): void;
|
|
|
17101
17018
|
declare function getPartnerCacheStatus(): {
|
|
17102
17019
|
authPartnersCached: boolean;
|
|
17103
17020
|
oauthPartnersCached: boolean;
|
|
17104
|
-
authPartners: ("
|
|
17105
|
-
oauthPartners: ("
|
|
17021
|
+
authPartners: ("password" | "apple" | "discord" | "emailLink" | "facebook" | "github" | "google" | "linkedin" | "microsoft" | "reddit" | "spotify" | "twitch" | "twitter" | "yahoo")[] | null;
|
|
17022
|
+
oauthPartners: ("discord" | "github" | "google" | "linkedin" | "reddit" | "spotify" | "twitch" | "twitter" | "slack" | "notion" | "medium" | "mastodon" | "youtube" | "supabase" | "vercel")[] | null;
|
|
17106
17023
|
};
|
|
17107
17024
|
/**
|
|
17108
17025
|
* Get AuthPartnerId from Firebase provider ID
|
|
@@ -21103,11 +21020,6 @@ declare function useNetworkOnline(): boolean;
|
|
|
21103
21020
|
*/
|
|
21104
21021
|
declare function useNetworkConnectionType(): NetworkConnectionType;
|
|
21105
21022
|
|
|
21106
|
-
declare function useRateLimit(): {
|
|
21107
|
-
checkLimit: () => boolean;
|
|
21108
|
-
resetLimit: () => void;
|
|
21109
|
-
};
|
|
21110
|
-
|
|
21111
21023
|
interface AbortControllerState {
|
|
21112
21024
|
controllers: Map<string, AbortController>;
|
|
21113
21025
|
createController: (key: string) => AbortController;
|
|
@@ -22013,12 +21925,11 @@ declare const index_d$3_useNetworkStatus: typeof useNetworkStatus;
|
|
|
22013
21925
|
declare const index_d$3_useNetworkStore: typeof useNetworkStore;
|
|
22014
21926
|
declare const index_d$3_useOverlay: typeof useOverlay;
|
|
22015
21927
|
declare const index_d$3_useOverlayStore: typeof useOverlayStore;
|
|
22016
|
-
declare const index_d$3_useRateLimit: typeof useRateLimit;
|
|
22017
21928
|
declare const index_d$3_useTheme: typeof useTheme;
|
|
22018
21929
|
declare const index_d$3_useThemeReady: typeof useThemeReady;
|
|
22019
21930
|
declare const index_d$3_useThemeStore: typeof useThemeStore;
|
|
22020
21931
|
declare namespace index_d$3 {
|
|
22021
|
-
export { index_d$3_applyTheme as applyTheme, index_d$3_buildRoutePath as buildRoutePath, index_d$3_createDoNotDevStore as createDoNotDevStore, index_d$3_extractRoutePath as extractRoutePath, index_d$3_getAvailableThemeNames as getAvailableThemeNames, index_d$3_getAvailableThemes as getAvailableThemes, index_d$3_getRouteManifest as getRouteManifest, index_d$3_getRouteSource as getRouteSource, index_d$3_getRoutes as getRoutes, index_d$3_getSmartDefaults as getSmartDefaults, index_d$3_getThemeInfo as getThemeInfo, index_d$3_isDoNotDevStore as isDoNotDevStore, index_d$3_isValidTheme as isValidTheme, index_d$3_resolveAuthConfig as resolveAuthConfig, index_d$3_resolvePageMeta as resolvePageMeta, index_d$3_useAbortControllerStore as useAbortControllerStore, index_d$3_useAnalyticsConsent as useAnalyticsConsent, index_d$3_useBreakpoint as useBreakpoint, index_d$3_useConsent as useConsent, index_d$3_useConsentReady as useConsentReady, index_d$3_useConsentStore as useConsentStore, index_d$3_useFeatureConsent as useFeatureConsent, index_d$3_useFunctionalConsent as useFunctionalConsent, index_d$3_useHasConsented as useHasConsented, index_d$3_useLanguage as useLanguage, index_d$3_useLanguageReady as useLanguageReady, index_d$3_useLanguageStore as useLanguageStore, index_d$3_useLayout as useLayout, index_d$3_useMarketingConsent as useMarketingConsent, index_d$3_useNavigationStore as useNavigationStore, index_d$3_useNetwork as useNetwork, index_d$3_useNetworkConnectionType as useNetworkConnectionType, index_d$3_useNetworkOnline as useNetworkOnline, index_d$3_useNetworkStatus as useNetworkStatus, index_d$3_useNetworkStore as useNetworkStore, index_d$3_useOverlay as useOverlay, index_d$3_useOverlayStore as useOverlayStore, index_d$
|
|
21932
|
+
export { index_d$3_applyTheme as applyTheme, index_d$3_buildRoutePath as buildRoutePath, index_d$3_createDoNotDevStore as createDoNotDevStore, index_d$3_extractRoutePath as extractRoutePath, index_d$3_getAvailableThemeNames as getAvailableThemeNames, index_d$3_getAvailableThemes as getAvailableThemes, index_d$3_getRouteManifest as getRouteManifest, index_d$3_getRouteSource as getRouteSource, index_d$3_getRoutes as getRoutes, index_d$3_getSmartDefaults as getSmartDefaults, index_d$3_getThemeInfo as getThemeInfo, index_d$3_isDoNotDevStore as isDoNotDevStore, index_d$3_isValidTheme as isValidTheme, index_d$3_resolveAuthConfig as resolveAuthConfig, index_d$3_resolvePageMeta as resolvePageMeta, index_d$3_useAbortControllerStore as useAbortControllerStore, index_d$3_useAnalyticsConsent as useAnalyticsConsent, index_d$3_useBreakpoint as useBreakpoint, index_d$3_useConsent as useConsent, index_d$3_useConsentReady as useConsentReady, index_d$3_useConsentStore as useConsentStore, index_d$3_useFeatureConsent as useFeatureConsent, index_d$3_useFunctionalConsent as useFunctionalConsent, index_d$3_useHasConsented as useHasConsented, index_d$3_useLanguage as useLanguage, index_d$3_useLanguageReady as useLanguageReady, index_d$3_useLanguageStore as useLanguageStore, index_d$3_useLayout as useLayout, index_d$3_useMarketingConsent as useMarketingConsent, index_d$3_useNavigationStore as useNavigationStore, index_d$3_useNetwork as useNetwork, index_d$3_useNetworkConnectionType as useNetworkConnectionType, index_d$3_useNetworkOnline as useNetworkOnline, index_d$3_useNetworkStatus as useNetworkStatus, index_d$3_useNetworkStore as useNetworkStore, index_d$3_useOverlay as useOverlay, index_d$3_useOverlayStore as useOverlayStore, index_d$3_useTheme as useTheme, index_d$3_useThemeReady as useThemeReady, index_d$3_useThemeStore as useThemeStore };
|
|
22022
21933
|
export type { index_d$3_BreakpointAPI as BreakpointAPI, index_d$3_DoNotDevStore as DoNotDevStore, index_d$3_DoNotDevStoreConfig as DoNotDevStoreConfig, index_d$3_DoNotDevStoreState as DoNotDevStoreState, index_d$3_LanguageAPI as LanguageAPI, index_d$3_LayoutAPI as LayoutAPI, index_d$3_OverlayAPI as OverlayAPI, index_d$3_RouteData as RouteData, index_d$3_RouteManifest as RouteManifest, index_d$3_ThemeAPI as ThemeAPI };
|
|
22023
21934
|
}
|
|
22024
21935
|
|
|
@@ -25157,5 +25068,5 @@ declare namespace index_d {
|
|
|
25157
25068
|
export type { index_d_CountryData as CountryData, index_d_DoNotDevTransProps as DoNotDevTransProps, index_d_FAQSectionProps as FAQSectionProps, index_d_LanguageData as LanguageData, index_d_LanguageFABFormat as LanguageFABFormat, index_d_LanguageFABProps as LanguageFABProps, index_d_LanguageSelectorProps as LanguageSelectorProps, index_d_LanguageToggleGroupProps as LanguageToggleGroupProps, index_d_ToggleOrientation as ToggleOrientation, index_d_ToggleSize as ToggleSize, index_d_TransTag as TransTag };
|
|
25158
25069
|
}
|
|
25159
25070
|
|
|
25160
|
-
export { AGGREGATE_FILTER_OPERATORS, AGGREGATE_OPERATIONS, AIChatRequestSchema, AIChatResponseSchema, AIMessageSchema, AIProviderConfigSchema, AIToolCallSchema, AIToolDefinitionSchema, AIUsageSchema, AI_ERROR_CODES, AI_MODELS, AI_PROVIDERS, AI_ROLES, AI_TIERS, AI_TOKEN_PRICING, AUTH_COMPUTED_KEYS, AUTH_EVENTS, AUTH_PARTNERS, AUTH_PARTNER_STATE, AUTH_STORE_KEYS, AppConfigContext, AppConfigProvider, AuthHardening, AuthSessionProvider, AuthUserSchema, BACKEND_GENERATED_FIELD_NAMES, BILLING_EVENTS, BILLING_STORE_KEYS, BREAKPOINT_RANGES, BREAKPOINT_THRESHOLDS, BaseStorageStrategy, BulkAcrossCycleError, BulkCollisionError, BulkDeleteIdSchema, BulkInsertSchema, BulkNotImplementedError, BulkRequestSchema, BulkResponseSchema, BulkUpdateSchema, COMMON_TIER_CONFIGS, CONFIDENCE_LEVELS, CONSENT_CATEGORY, CONSENT_LEVELS, CONTEXTS, COUNTRIES, CRUD_OPERATORS, CURRENCY_MAP, CanvasBlockSchema, CanvasEventSchema, CanvasLifetimeSchema, CanvasWidgetMetadataSchema, CheckoutLineItemInputSchema, CheckoutSessionMetadataSchema, ClaimsCache, ConditionBuilder, CreateCheckoutSessionRequestSchema, CreateCheckoutSessionResponseSchema, CustomClaimsSchema, DEFAULT_AI_CONFIG, DEFAULT_AI_MARKUP, DEFAULT_CRUD_TIMEOUT, DEFAULT_ENTITY_ACCESS, DEFAULT_ERROR_MESSAGES, DEFAULT_LAYOUT_PRESET, DEFAULT_STATUS_OPTIONS, DEFAULT_STATUS_VALUE, DEFAULT_SUBSCRIPTION, DEFAULT_UPLOAD_TIMEOUT, DEGRADED_AI_API, DEGRADED_AUTH_API, DEGRADED_BILLING_API, DEGRADED_CRUD_API, DEGRADED_OAUTH_API, DENSITY, DoNotDevError, EDITABLE, EMAIL_ERROR_CODES, EMAIL_PROVIDERS, EMAIL_VERIFICATION_STATUS, ENTITY_HOOK_ERRORS, ENVIRONMENTS, ERROR_CODES, ERROR_SEVERITY, ERROR_SOURCE, EntityHookError, EventEmitter, FAQSection, FEATURES, FEATURE_CONSENT_MATRIX, FEATURE_STATUS, FIELD_TYPES, FIREBASE_ERROR_MAP, FOOTER_MODE, FRAMEWORK_FEATURES, Flag, GITHUB_PERMISSION_LEVELS, HIDDEN_STATUSES, index_d$1 as Hooks, HybridStorageStrategy, index_d as I18n, LANGUAGES, LANGUAGE_COOKIE, LAYOUT_PRESET, LIST_SCHEMA_TYPE, LanguageFAB, LanguageSelector, LanguageToggleGroup, LocalStorageStrategy, MAX_CHECKOUT_LINE_ITEMS, MAX_SHIPPING_RATE_IDS, OAUTH_EVENTS, OAUTH_PARTNERS, OAUTH_STORE_KEYS, ORDER_DIRECTION, PARTNER_ICONS, PAYLOAD_EVENTS, PERMISSIONS, PLATFORMS, PWA_ASSET_TYPES, PWA_DISPLAY_MODES, ProductDeclarationSchema, ProductDeclarationsSchema, ProxiedImageUrlSchema, QueryProviders, ROUTE_SOURCES, RequestLanguageProvider, STORAGE_SCOPES, STORAGE_TYPES, STRIPE_EVENTS, STRIPE_MODES, SUBSCRIPTION_DURATIONS, SUBSCRIPTION_STATUS, SUBSCRIPTION_TIERS, index_d$2 as Schemas, SendEmailRequestSchema, SendEmailResponseSchema, SingletonManager, StorageManager, index_d$3 as Stores, StripeBackConfigSchema, StripeFrontConfigSchema, StripeOrderBackSchema, StripeOrderShippingSchema, StripeOrderTaxSchema, StripePaymentSchema, StripeSubscriptionSchema, SubscriptionClaimsSchema, SubscriptionDataSchema, TECHNICAL_FIELD_NAMES, TRANS_TAGS, TokenManager, Trans, TranslatedText, index_d$5 as Types, USER_ROLES, UserSubscriptionSchema, index_d$4 as Utils, VISIBILITY, ViewportHandler, WebhookEventSchema, addressSchema, applyTheme, areFeaturesAvailable, arraySchema, baseFields, booleanSchema, buildRoutePath, canRedirectExternally, captureError, captureErrorToSentry, captureMessage, checkGitHubAccessSchema, cleanupSentry, clearFeatureCache, clearGlobalSingleton, clearLocalStorage, clearPartnerCache, clearSchemaGenerators, clearScopeProviders, commonErrorCodeMappings, compactToISOString, configureProviders, cooldown, createAsyncSingleton, createDefaultSubscriptionClaims, createDefaultUserProfile, createDoNotDevStore, createEntitySchema, createErrorHandler, createMetadata, createMethodProxy, createSchemas, createSingleton, createSingletonWithParams, createViewportHandler, dateSchema, debounce, debugPlatformDetection, decryptData, defineEntity, delay, deleteCookie, deleteEntitySchema, detectBrowser, detectBulkCollisions, detectErrorSource, detectFeatures, detectPlatform, detectPlatformInfo, detectStorageError, disconnectOAuthSchema, emailSchema, encryptData, enhanceSchema, ensureSpreadable, evaluateCondition, evaluateFieldConditions, exchangeTokenSchema, extractRoutePath, fileSchema, filesSchema, filterVisibleFields, formatCookieList, formatCurrency, formatDate, formatRelativeTime, gdprConsentSchema, generateCodeChallenge, generateCodeVerifier, generateCompatibilityReport, generateEncryptionKey, generateFirestoreRuleCondition, generatePKCEPair, generateUUID, geopointSchema, getActiveCookies, getAppShortName, getAssetsConfig, getAuthDomain, getAuthMethod, getAuthPartnerConfig, getAuthPartnerIdByFirebaseId, getAvailableFeatures, getAvailableThemeNames, getAvailableThemes, getBreakpointFromWidth, getBreakpointUtils, getBrowserRecommendations, getCollectionName, getConditionDependencies, getConfigSection, getConfigSource, getConnectionsSchema, getCookie, getCookieExamples, getCookiesByCategory, getCountries, getCurrencyLocale, getCurrencySymbol, getCurrentOrigin, getCurrentTimestamp, getDndevConfig, getEnabledAuthPartners, getEnabledOAuthPartners, getEncryptionKey, getEntitySchema, getFeatureSummary, getFlagCodes, getGlobalSingleton, getI18nConfig, getI18nInstance, getListCardFieldNames, getLocalStorageItem, getNextEnvVar, getOAuthClientId, getOAuthPartnerConfig, getOAuthRedirectUri, getOAuthRedirectUrl, getPartnerCacheStatus, getPartnerConfig, getPlatformEnvVar, getProvider, getProviderColor, getQueryClient, getRegisteredSchemaTypes, getRegisteredScopeProviders, getRequestLanguage, getRoleFromClaims, getRouteManifest, getRouteSource, getRoutes, getRoutesConfig, getSchemaType, getScopeValue, getSmartDefaults, getStorageManager, getSupportedLanguages, getThemeInfo, getThemesConfig, getTokenManager, getValidAuthPartnerConfig, getValidAuthPartnerIds, getValidOAuthPartnerConfig, getValidOAuthPartnerIds, getVisibleFields, getVisibleItems, getViteEnvVar, getWeekFromISOString, getWidget, githubPermissionSchema, githubRepoConfigSchema, globalEmitter, grantGitHubAccessSchema, handleError, hasCustomSchemaGenerator, hasFlag, hasMetadata, hasOptionalCookies, hasProvider, hasRestrictedVisibility, hasRoleAccess, hasScopeProvider, hasTierAccess, ibanSchema, initSentry, initializeConfig, initializePlatformDetection, isAuthPartnerEnabled, isAuthPartnerId, isBackendGeneratedField, isBreakpoint, isClient, isCompactDateString, isConfigAvailable, isDev, isDoNotDevStore, isElementInViewport, isEmailVerificationRequired, isExpo, isFeatureAvailable, isFieldVisible, isFrameworkField, isIntersectionObserverSupported, isLocalStorageAvailable, isNextJs, isOAuthPartnerEnabled, isOAuthPartnerId, isPKCESupported, isPlatform, isReactNative, isServer, isTest, isValidTheme, isVite, isoToCompactString, lazyImport, listEntitiesSchema, listWidgets, mapSchema, mapToDoNotDevError, maybeTranslate, multiselectSchema, neverSchema, normalizeToISOString, numberSchema, observeElement, overrideFeatures, overridePaymentModes, overridePermissions, overrideSubscriptionStatus, overrideSubscriptionTiers, overrideUserRoles, parseAcceptLanguage, parseDate, parseDateToNoonUTC, passwordSchema, pictureSchema, picturesSchema, priceSchema, rangeOptions, readCookieValue, redirectToExternalUrl, redirectToExternalUrlWithErrorHandling, referenceSchema, refreshTokenSchema, registerSchemaGenerator, registerScopeProvider, registerUniqueConstraintValidator, registerWidget, removeLocalStorageItem, resetProviders, resolveAppConfig, resolveAuthConfig, resolveLanguage, resolvePageMeta, revokeGitHubAccessSchema, safeLocalStorage, safeSessionStorage, safeValidate, sanitizeHref, selectSchema, setCookie, setLocalStorageItem, shouldShowEmailVerification, showNotification, stringSchema, supportsFeature, switchSchema, telSchema, textSchema, throttle, timestampToISOString, timingUtils, toDateOnly, toISOString, translateArray, translateArrayRange, translateArrayWithIndices, translateObjectArray, unregisterScopeProvider, updateEntitySchema, updateMetadata, urlSchema, useAbortControllerStore, useAnalyticsConsent, useAppConfig, useAuthConfig, useAuthSessionSnapshot, useBreakpoint, useBreathingTimer, useClickOutside, useConsent, useConsentReady, useConsentStore, useDebounce, useEventListener, useFaviconConfig, useFeatureConsent, useFeaturesConfig, useFunctionalConsent, useHasConsented, useI18nReady, useIntersectionObserver, useIsClient, useLanguage, useLanguageReady, useLanguageSelector, useLanguageStore, useLayout, useLocalStorage, useMarketingConsent, useMutation, useNavigationStore, useNetwork, useNetworkConnectionType, useNetworkOnline, useNetworkStatus, useNetworkStore, useOverlay, useOverlayStore, useQuery,
|
|
25071
|
+
export { AGGREGATE_FILTER_OPERATORS, AGGREGATE_OPERATIONS, AIChatRequestSchema, AIChatResponseSchema, AIMessageSchema, AIProviderConfigSchema, AIToolCallSchema, AIToolDefinitionSchema, AIUsageSchema, AI_ERROR_CODES, AI_MODELS, AI_PROVIDERS, AI_ROLES, AI_TIERS, AI_TOKEN_PRICING, AUTH_COMPUTED_KEYS, AUTH_EVENTS, AUTH_PARTNERS, AUTH_PARTNER_STATE, AUTH_STORE_KEYS, AppConfigContext, AppConfigProvider, AuthHardening, AuthSessionProvider, AuthUserSchema, BACKEND_GENERATED_FIELD_NAMES, BILLING_EVENTS, BILLING_STORE_KEYS, BREAKPOINT_RANGES, BREAKPOINT_THRESHOLDS, BaseStorageStrategy, BulkAcrossCycleError, BulkCollisionError, BulkDeleteIdSchema, BulkInsertSchema, BulkNotImplementedError, BulkRequestSchema, BulkResponseSchema, BulkUpdateSchema, COMMON_TIER_CONFIGS, CONFIDENCE_LEVELS, CONSENT_CATEGORY, CONSENT_LEVELS, CONTEXTS, COUNTRIES, CRUD_OPERATORS, CURRENCY_MAP, CanvasBlockSchema, CanvasEventSchema, CanvasLifetimeSchema, CanvasWidgetMetadataSchema, CheckoutLineItemInputSchema, CheckoutSessionMetadataSchema, ClaimsCache, ConditionBuilder, CreateCheckoutSessionRequestSchema, CreateCheckoutSessionResponseSchema, CustomClaimsSchema, DEFAULT_AI_CONFIG, DEFAULT_AI_MARKUP, DEFAULT_CRUD_TIMEOUT, DEFAULT_ENTITY_ACCESS, DEFAULT_ERROR_MESSAGES, DEFAULT_LAYOUT_PRESET, DEFAULT_STATUS_OPTIONS, DEFAULT_STATUS_VALUE, DEFAULT_SUBSCRIPTION, DEFAULT_UPLOAD_TIMEOUT, DEGRADED_AI_API, DEGRADED_AUTH_API, DEGRADED_BILLING_API, DEGRADED_CRUD_API, DEGRADED_OAUTH_API, DENSITY, DoNotDevError, EDITABLE, EMAIL_ERROR_CODES, EMAIL_PROVIDERS, EMAIL_VERIFICATION_STATUS, ENTITY_HOOK_ERRORS, ENVIRONMENTS, ERROR_CODES, ERROR_SEVERITY, ERROR_SOURCE, EntityHookError, EventEmitter, FAQSection, FEATURES, FEATURE_CONSENT_MATRIX, FEATURE_STATUS, FIELD_TYPES, FIREBASE_ERROR_MAP, FOOTER_MODE, FRAMEWORK_FEATURES, Flag, GITHUB_PERMISSION_LEVELS, HIDDEN_STATUSES, index_d$1 as Hooks, HybridStorageStrategy, index_d as I18n, LANGUAGES, LANGUAGE_COOKIE, LAYOUT_PRESET, LIST_SCHEMA_TYPE, LanguageFAB, LanguageSelector, LanguageToggleGroup, LocalStorageStrategy, MAX_CHECKOUT_LINE_ITEMS, MAX_SHIPPING_RATE_IDS, OAUTH_EVENTS, OAUTH_PARTNERS, OAUTH_STORE_KEYS, ORDER_DIRECTION, PARTNER_ICONS, PAYLOAD_EVENTS, PERMISSIONS, PLATFORMS, PWA_ASSET_TYPES, PWA_DISPLAY_MODES, ProductDeclarationSchema, ProductDeclarationsSchema, ProxiedImageUrlSchema, QueryProviders, ROUTE_SOURCES, RequestLanguageProvider, STORAGE_SCOPES, STORAGE_TYPES, STRIPE_EVENTS, STRIPE_MODES, SUBSCRIPTION_DURATIONS, SUBSCRIPTION_STATUS, SUBSCRIPTION_TIERS, index_d$2 as Schemas, SendEmailRequestSchema, SendEmailResponseSchema, SingletonManager, StorageManager, index_d$3 as Stores, StripeBackConfigSchema, StripeFrontConfigSchema, StripeOrderBackSchema, StripeOrderShippingSchema, StripeOrderTaxSchema, StripePaymentSchema, StripeSubscriptionSchema, SubscriptionClaimsSchema, SubscriptionDataSchema, TECHNICAL_FIELD_NAMES, TRANS_TAGS, TokenManager, Trans, TranslatedText, index_d$5 as Types, USER_ROLES, UserSubscriptionSchema, index_d$4 as Utils, VISIBILITY, ViewportHandler, WebhookEventSchema, addressSchema, applyTheme, areFeaturesAvailable, arraySchema, baseFields, booleanSchema, buildRoutePath, canRedirectExternally, captureError, captureErrorToSentry, captureMessage, checkGitHubAccessSchema, cleanupSentry, clearFeatureCache, clearGlobalSingleton, clearLocalStorage, clearPartnerCache, clearSchemaGenerators, clearScopeProviders, commonErrorCodeMappings, compactToISOString, configureProviders, cooldown, createAsyncSingleton, createDefaultSubscriptionClaims, createDefaultUserProfile, createDoNotDevStore, createEntitySchema, createErrorHandler, createMetadata, createMethodProxy, createSchemas, createSingleton, createSingletonWithParams, createViewportHandler, dateSchema, debounce, debugPlatformDetection, decryptData, defineEntity, delay, deleteCookie, deleteEntitySchema, detectBrowser, detectBulkCollisions, detectErrorSource, detectFeatures, detectPlatform, detectPlatformInfo, detectStorageError, disconnectOAuthSchema, emailSchema, encryptData, enhanceSchema, ensureSpreadable, evaluateCondition, evaluateFieldConditions, exchangeTokenSchema, extractRoutePath, fileSchema, filesSchema, filterVisibleFields, formatCookieList, formatCurrency, formatDate, formatRelativeTime, gdprConsentSchema, generateCodeChallenge, generateCodeVerifier, generateCompatibilityReport, generateEncryptionKey, generateFirestoreRuleCondition, generatePKCEPair, generateUUID, geopointSchema, getActiveCookies, getAppShortName, getAssetsConfig, getAuthDomain, getAuthMethod, getAuthPartnerConfig, getAuthPartnerIdByFirebaseId, getAvailableFeatures, getAvailableThemeNames, getAvailableThemes, getBreakpointFromWidth, getBreakpointUtils, getBrowserRecommendations, getCollectionName, getConditionDependencies, getConfigSection, getConfigSource, getConnectionsSchema, getCookie, getCookieExamples, getCookiesByCategory, getCountries, getCurrencyLocale, getCurrencySymbol, getCurrentOrigin, getCurrentTimestamp, getDndevConfig, getEnabledAuthPartners, getEnabledOAuthPartners, getEncryptionKey, getEntitySchema, getFeatureSummary, getFlagCodes, getGlobalSingleton, getI18nConfig, getI18nInstance, getListCardFieldNames, getLocalStorageItem, getNextEnvVar, getOAuthClientId, getOAuthPartnerConfig, getOAuthRedirectUri, getOAuthRedirectUrl, getPartnerCacheStatus, getPartnerConfig, getPlatformEnvVar, getProvider, getProviderColor, getQueryClient, getRegisteredSchemaTypes, getRegisteredScopeProviders, getRequestLanguage, getRoleFromClaims, getRouteManifest, getRouteSource, getRoutes, getRoutesConfig, getSchemaType, getScopeValue, getSmartDefaults, getStorageManager, getSupportedLanguages, getThemeInfo, getThemesConfig, getTokenManager, getValidAuthPartnerConfig, getValidAuthPartnerIds, getValidOAuthPartnerConfig, getValidOAuthPartnerIds, getVisibleFields, getVisibleItems, getViteEnvVar, getWeekFromISOString, getWidget, githubPermissionSchema, githubRepoConfigSchema, globalEmitter, grantGitHubAccessSchema, handleError, hasCustomSchemaGenerator, hasFlag, hasMetadata, hasOptionalCookies, hasProvider, hasRestrictedVisibility, hasRoleAccess, hasScopeProvider, hasTierAccess, ibanSchema, initSentry, initializeConfig, initializePlatformDetection, isAuthPartnerEnabled, isAuthPartnerId, isBackendGeneratedField, isBreakpoint, isClient, isCompactDateString, isConfigAvailable, isDev, isDoNotDevStore, isElementInViewport, isEmailVerificationRequired, isExpo, isFeatureAvailable, isFieldVisible, isFrameworkField, isIntersectionObserverSupported, isLocalStorageAvailable, isNextJs, isOAuthPartnerEnabled, isOAuthPartnerId, isPKCESupported, isPlatform, isReactNative, isServer, isTest, isValidTheme, isVite, isoToCompactString, lazyImport, listEntitiesSchema, listWidgets, mapSchema, mapToDoNotDevError, maybeTranslate, multiselectSchema, neverSchema, normalizeToISOString, numberSchema, observeElement, overrideFeatures, overridePaymentModes, overridePermissions, overrideSubscriptionStatus, overrideSubscriptionTiers, overrideUserRoles, parseAcceptLanguage, parseDate, parseDateToNoonUTC, passwordSchema, pictureSchema, picturesSchema, priceSchema, rangeOptions, readCookieValue, redirectToExternalUrl, redirectToExternalUrlWithErrorHandling, referenceSchema, refreshTokenSchema, registerSchemaGenerator, registerScopeProvider, registerUniqueConstraintValidator, registerWidget, removeLocalStorageItem, resetProviders, resolveAppConfig, resolveAuthConfig, resolveLanguage, resolvePageMeta, revokeGitHubAccessSchema, safeLocalStorage, safeSessionStorage, safeValidate, sanitizeHref, selectSchema, setCookie, setLocalStorageItem, shouldShowEmailVerification, showNotification, stringSchema, supportsFeature, switchSchema, telSchema, textSchema, throttle, timestampToISOString, timingUtils, toDateOnly, toISOString, translateArray, translateArrayRange, translateArrayWithIndices, translateObjectArray, unregisterScopeProvider, updateEntitySchema, updateMetadata, urlSchema, useAbortControllerStore, useAnalyticsConsent, useAppConfig, useAuthConfig, useAuthSessionSnapshot, useBreakpoint, useBreathingTimer, useClickOutside, useConsent, useConsentReady, useConsentStore, useDebounce, useEventListener, useFaviconConfig, useFeatureConsent, useFeaturesConfig, useFunctionalConsent, useHasConsented, useI18nReady, useIntersectionObserver, useIsClient, useLanguage, useLanguageReady, useLanguageSelector, useLanguageStore, useLayout, useLocalStorage, useMarketingConsent, useMutation, useNavigationStore, useNetwork, useNetworkConnectionType, useNetworkOnline, useNetworkStatus, useNetworkStore, useOverlay, useOverlayStore, useQuery, useSafeContext, useScriptLoader, useSeoConfig, useStorageManager, useTheme, useThemeReady, useThemeStore, useTranslation, useViewportVisibility, validateAIChatRequest, validateAIChatResponse, validateAuthPartners, validateAuthSchemas, validateAuthUser, validateBillingSchemas, validateBlock, validateCheckoutSessionMetadata, validateCodeChallenge, validateCodeVerifier, validateCreateCheckoutSessionRequest, validateCreateCheckoutSessionResponse, validateCustomClaims, validateDates, validateDocument, validateEvent, validateOAuthPartners, validateSendEmailRequest, validateSendEmailResponse, validateStripeBackConfig, validateStripeFrontConfig, validateSubscriptionClaims, validateSubscriptionData, validateUniqueFields, validateUserSubscription, validateWebhookEvent, validateWithSchema, when, withErrorHandling, withGracefulDegradation, withTimeout, wrapAuthError, wrapCrudError, wrapStorageError };
|
|
25161
25072
|
export type { AIAPI, AIChatRequest, AIChatResponse, AIConfig, AICostConfig, AICostEvent, AICostRecord, AICostResult, AIErrorCode, AIMessage, AIModelPricing, AIProvider, AIProviderConfig, AIRateLimitConfig, AIRouteConfig, AITierId, AIToolCall, AIToolDefinition, AIToolParameter, AIUsage, AccountLinkResult, AccountLinkingInfo, AdminCheckHookResult, AdminClaims, AggregateConfig, AggregateFilterOperator, AggregateOperation, AggregateRequest, AggregateResponse, AnyEntity, AnyFieldValue, AnyValibotSchema, ApiResponse, AppConfig, AppConfigProviderProps, AppCookieCategories, AppMetadata, AppProvidersProps, AssetsPluginConfig, AttemptRecord, AuditEvent, AuditEventType, AuthAPI, AuthActions, AuthConfig, AuthContextValue, AuthCoreHookResult, AuthError, AuthEventData, AuthEventKey, AuthEventName, AuthHardeningConfig, AuthHardeningContext, AuthMethod, AuthPartner, AuthPartnerHookResult, AuthPartnerId, AuthPartnerResult, AuthPartnerState, AuthProvider, AuthProviderProps, AuthRedirectHookResult, AuthRedirectOperation, AuthRedirectOptions, AuthResult, AuthSessionSnapshot, AuthState, AuthStateStore, AuthStatus, AuthTokenHookResult, AuthUser, AuthUserLike, BackendGeneratedField, BaseActions, BaseCredentials, BaseDocument, BaseEntityFields, BasePartnerState, BaseState, BaseStoreActions, BaseStoreState, BaseUserProfile, BasicUserInfo, BeforeCheckoutHook, BeforeCheckoutOptions, BeforeCheckoutResult, BillingAPI, BillingAdapter, BillingAuthProvider, BillingErrorCode, BillingEvent, BillingEventData, BillingEventKey, BillingEventName, BillingProvider, BillingProviderConfig, BillingRedirectOperation, Breakpoint, BreakpointAPI, BreakpointUtils, BrowserEngine, BrowserInfo, BrowserType, BuiltInFieldType, BulkAcrossBatch, BulkAcrossResult, BulkCollisionReport, BulkOperations, BulkRequest, BulkResponse, BulkResult, BusinessEntity, CachedError, CanAPI, CanvasBlock, CanvasCallerAccess, CanvasEvent, CanvasLifetime, CanvasSurface, CanvasWidgetMetadata, CanvasWidgetProps, CheckGitHubAccessRequest, CheckoutAddress, CheckoutLineItemInput, CheckoutMode, CheckoutOptions, CheckoutSessionMetadata, CheckoutSessionParams, CheckoutSessionResult, CheckoutSessionSnapshot, Claims, ClaimsCacheOptions, ClaimsCacheResult, CleanupFunction, CollectionSubscriptionCallback, ColumnDef, CommonSubscriptionFeatures, CommonTranslations, CompatibilityReport, ConditionBuilderLike, ConditionExpression, ConditionGroup, ConditionInput, ConditionNode, ConditionOperator, ConditionResult, ConditionalBehavior, ConfidenceLevel, ConnectOptions, ConsentAPI, ConsentActions, ConsentCategory, ConsentLevel, ConsentState, Context, CookieInfo, CookieOptions, CountryData, CreateCheckoutSessionRequest, CreateCheckoutSessionRequestInput, CreateCheckoutSessionResponse, CreateEntityData, CreateEntityRequest, CreateEntityResponse, CrudAPI, CrudCardProps, CrudConfig, CrudCreateInput, CrudDocQuery, CrudListQuery, CrudOperationOptions, CrudOperator, CurrencyEntry, CustomClaims, CustomFieldOptionsMap, CustomSchemaGenerator, CustomStoreConfig, DateFormatOptions, DateFormatPreset, DateValue, DeleteEntityRequest, DeleteEntityResponse, Density, DnDevOverride, DnDevWrapper, DndevFrameworkConfig, DndevProviders, DndevStoreApi, DoNotDevCookieCategories, DoNotDevStore, DoNotDevStoreConfig, DoNotDevStoreState, DoNotDevTransProps, DocumentSubscriptionCallback, DynamicFormRule, Editable, EffectiveConnectionType, EmailConfig, EmailErrorCode, EmailProvider, EmailRouteConfig, EmailTemplate, EmailTemplateRegistry, EmailVerificationHookResult, EmailVerificationStatus, Entity, EntityAccessConfig, EntityAccessDefaults, EntityBrowseBaseProps, EntityCardListProps, EntityDisplayRendererProps, EntityField, EntityFieldMapDefault, EntityFormRendererProps, EntityHookErrors, EntityListProps, EntityMetadata, EntityOwnershipConfig, EntityOwnershipPublicCondition, EntityRecommendationsProps, EntityRecord, EntityRowFromFields, EntityTemplateProps, EntityTranslations, EnvironmentMode, ErrorCode, ErrorHandlerConfig, ErrorHandlerFunction, ErrorSeverity, ErrorSource, EventListener, ExchangeTokenParams, ExchangeTokenRequest, ExchangeTokenResponse, FAQSectionProps, FaviconConfig, Feature, FeatureAccessHookResult, FeatureAvailability, FeatureConsentRequirement, FeatureHookResult, FeatureId, FeatureName, FeatureStatus, FeatureSupport, FeaturesConfig, FeaturesPluginConfig, FeaturesRequiringAnyConsent, FeaturesRequiringConsent, FeaturesWithoutConsent, FieldCondition, FieldType, FieldTypeToValue, FileAsset, FilterVisibleFieldsOptions, FirebaseCallOptions, FirebaseConfig, FirestoreTimestamp, FirestoreUniqueConstraintValidator, FooterConfig, FooterMode, FooterZoneConfig, FormConfig, FormStep, FrameworkFeature, FunctionCallConfig, FunctionCallContext, FunctionCallOptions, FunctionCallResult, FunctionClient, FunctionClientFactoryOptions, FunctionDefaults, FunctionEndpoint, FunctionError, FunctionLoader, FunctionMemory, FunctionMeta, FunctionPlatform, FunctionResponse, FunctionSchema, FunctionSchemas, FunctionSystem, FunctionTrigger, FunctionsConfig, GetCustomClaimsResponse, GetEntityData, GetEntityRequest, GetEntityResponse, GetUserAuthStatusResponse, GetVisibleFieldsOptions, GitHubPermission, GitHubRepoConfig, GrantGitHubAccessRequest, GroupByDefinition, HandleErrorOptions, HeaderZoneConfig, I18nConfig, I18nPluginConfig, I18nProviderProps, ICallableProvider, ICrudAdapter, ID, INetworkManager, IServerAuthAdapter, IStorageAdapter, IStorageManager, IStorageStrategy, InferEntityRow, IntersectionObserverCallback, IntersectionObserverOptions, Invoice, InvoiceItem, LanguageAPI, LanguageData, LanguageFABFormat, LanguageFABProps, LanguageInfo$1 as LanguageInfo, LanguageSelectorProps, LanguageToggleGroupProps, LayoutAPI, LayoutConfig, LayoutPreset, LegalCompanyInfo, LegalConfig, LegalContactInfo, LegalDirectorInfo, LegalHostingInfo, LegalJurisdictionInfo, LegalSectionsConfig, LegalWebsiteInfo, ListCardLayout, ListEntitiesRequest, ListEntitiesResponse, ListEntityData, ListOptions, ListResponse, ListSchemaType, LoadingActions, LoadingState, LockoutResult, MergedBarConfig, MergedEntityFieldMap, MetricDefinition, MobileBehaviorConfig, ModalActions, ModalState, MutableMergedEntityFieldMap, MutationResponse, NavigationRoute, NetworkCheckConfig, NetworkConnectionType, NetworkReconnectCallback, NetworkState$1 as NetworkState, NetworkStatus, NetworkStatusHookResult, OAuthAPI, OAuthApiRequestOptions, OAuthCallbackHookResult, OAuthConnection, OAuthConnectionInfo, OAuthConnectionRequest, OAuthConnectionStatus, OAuthCredentials, OAuthEventData, OAuthEventKey, OAuthEventName, OAuthPartner, OAuthPartnerHookResult, OAuthPartnerId, OAuthPartnerResult, OAuthPartnerState, OAuthPurpose, OAuthRedirectOperation, OAuthRefreshRequest, OAuthRefreshResponse, OAuthResult, OAuthStoreActions, OAuthStoreState, OS, Observable, OperationSchemas, OrderByClause, OrderDirection, OrderHookContext, OverlayAPI, PWAAssetType, PWADisplayMode, PWAPluginConfig, PageAuth, PageMeta, PaginatedQueryResult, PaginationOptions, PaidLineItem, PartnerConnectionState, PartnerIconId, PartnerId, PartnerResult, PartnerType, PayloadCacheEventData, PayloadDocument, PayloadDocumentEventData, PayloadEventKey, PayloadEventName, PayloadGlobalEventData, PayloadMediaEventData, PayloadPageRegenerationEventData, PayloadRequest, PayloadUserEventData, PaymentEventData, PaymentMethod, PaymentMethodType, PaymentMode, Permission, Picture, Platform, PlatformInfo, PresetConfig, PresetRegistry, ProcessPaymentSuccessRequest, ProcessPaymentSuccessResponse, ProductDeclaration, ProviderInstances, QueryConfig, QueryOptions, QueryOrderBy, QueryWhereClause, RateLimitBackend, RateLimitConfig, RateLimitManager, RateLimitResult, RateLimitState, RateLimiter, ReadCallback, RedirectOperation, RedirectOverlayActions, RedirectOverlayConfig, RedirectOverlayPhase, RedirectOverlayState, Reference, RefreshSubscriptionRequest, RefreshSubscriptionResponse, RegisteredWidgetBase, RemoveCustomClaimsResponse, ResolveLineItemsContext, ResolvedLayoutConfig, ResolvedLineItem, ResolvedOrder, ResolvedOrderSession, RevokeGitHubAccessRequest, RouteData, RouteManifest, RouteMeta, RouteSource, RoutesPluginConfig, SEOConfig, SchemaMetadata, SchemaWithVisibility, ScopeConfig, ScopeProviderFn, SecurityContext, SecurityEntityConfig, SelectOption, SendEmailRequest, SendEmailResponse, SeoMeta, ServerRateLimitConfig, ServerRateLimitResult, ServerUserRecord, SetCustomClaimsResponse, SidebarZoneConfig, SignUpMetadata, SlotContent, StatusField, StorageError, StorageErrorType, StorageOptions, StorageScope, StorageType, Store, StripeBackConfig, StripeCheckoutProvider, StripeCheckoutRequest, StripeCheckoutResponse, StripeCheckoutSessionEventData, StripeConfig, StripeCustomer, StripeCustomerEventData, StripeEventData, StripeEventKey, StripeEventName, StripeFrontConfig, StripeInvoice, StripeInvoiceEventData, StripeOrderBackItem, StripePayment, StripePaymentBackItem, StripePaymentIntentEventData, StripePaymentMethod, StripePrice, StripeProduct, StripeProvider, StripeSubscription, StripeSubscriptionBackItem, StripeSubscriptionData, StripeWebhookEvent, StripeWebhookEventData, Subscription, SubscriptionClaims, SubscriptionConfig, SubscriptionData, SubscriptionDuration, SubscriptionEventData, SubscriptionHookResult, SubscriptionInfo, SubscriptionStatus, SubscriptionTier, SubscriptionUpdate, SupportedLanguage, TechnicalField, ThemeAPI, ThemeActions, ThemeInfo, ThemeMode, ThemeState, ThemesPluginConfig, TierAccessHookResult, Timestamp, ToggleOrientation, ToggleSize, TokenInfo, TokenManagerOptions, TokenResponse, TokenState, TokenStatus, TransTag, TranslationOptions, TranslationResource, TypedBaseFields, UIFieldOptions, UniqueConstraintValidator, UniqueKeyDefinition, UnsubscribeFn, UpdateEntityData, UpdateEntityRequest, UpdateEntityResponse, UpdateSubscriptionFn, UploadOptions, UploadProgressCallback, UploadResult, UseClickOutsideOptions, UseClickOutsideReturn, UseDebounceOptions, UseEventListenerOptions, UseEventListenerReturn, UseFunctionsCallResult, UseFunctionsMutationOptions, UseFunctionsMutationResult, UseFunctionsQueryOptions, UseFunctionsQueryResult, UseIntersectionObserverOptions, UseIntersectionObserverReturn, UseLocalStorageOptions, UseLocalStorageReturn, UseMutationOptionsWithErrorHandling, UseQueryOptionsWithErrorHandling, UseScriptLoaderOptions, UseScriptLoaderReturn, UseTranslationOptionsEnhanced, UseViewportVisibilityOptions, UseViewportVisibilityReturn, UserContext, UserProfile, UserProviderData, UserRole, UserSubscription, ValidateBlockOptions, ValidateResult, ValidationRules, ValueTypeForField, VerifiedToken, ViewportDetectionOptions, ViewportDetectionResult, Visibility, WebhookEvent, WebhookEventData, WhereClause, WhereOperator, WidgetDef, WithMetadata, dndevSchema };
|