@donotdev/core 0.1.46 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/functions/index.js +13 -11
- package/i18n/locales/lazy/auth_ar.json +1 -1
- package/i18n/locales/lazy/auth_da.json +1 -1
- package/i18n/locales/lazy/auth_de.json +1 -1
- package/i18n/locales/lazy/auth_en.json +1 -1
- package/i18n/locales/lazy/auth_es.json +1 -1
- package/i18n/locales/lazy/auth_fr.json +1 -1
- package/i18n/locales/lazy/auth_it.json +1 -1
- package/i18n/locales/lazy/auth_ja.json +1 -1
- package/i18n/locales/lazy/auth_ko.json +1 -1
- package/i18n/locales/lazy/auth_nl.json +1 -1
- package/i18n/locales/lazy/auth_pt.json +1 -1
- package/i18n/locales/lazy/auth_zh.json +1 -1
- package/i18n/locales/lazy/cookies_ar.json +4 -1
- package/i18n/locales/lazy/cookies_da.json +4 -1
- package/i18n/locales/lazy/cookies_de.json +4 -1
- package/i18n/locales/lazy/cookies_en.json +4 -1
- package/i18n/locales/lazy/cookies_es.json +4 -1
- package/i18n/locales/lazy/cookies_fr.json +4 -1
- package/i18n/locales/lazy/cookies_it.json +4 -1
- package/i18n/locales/lazy/cookies_ja.json +4 -1
- package/i18n/locales/lazy/cookies_ko.json +4 -1
- package/i18n/locales/lazy/cookies_nl.json +4 -1
- package/i18n/locales/lazy/cookies_pt.json +4 -1
- package/i18n/locales/lazy/cookies_zh.json +4 -1
- package/index.d.ts +971 -129
- package/index.js +6 -6
- package/next/index.d.ts +7 -0
- package/next/index.js +59 -57
- package/package.json +25 -24
- package/server.d.ts +857 -107
- package/server.js +1 -1
- package/symbol-index.json +1 -0
- package/vite/index.d.ts +7 -0
- package/vite/index.js +70 -68
package/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import { StoreApi, UseBoundStore } from 'zustand';
|
|
|
9
9
|
import { PersistOptions } from 'zustand/middleware';
|
|
10
10
|
import { MutationOptions, QueryClient, QueryClientProvider, QueryClientProviderProps, QueryFunction, QueryKey, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult, useQueryClient } from '@tanstack/react-query';
|
|
11
11
|
export { MutationOptions, QueryClient, QueryClientProvider, QueryClientProviderProps, QueryFunction, QueryKey, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult, useQueryClient } from '@tanstack/react-query';
|
|
12
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
13
12
|
import { DISPLAY, BUTTON_VARIANT } from '@donotdev/components';
|
|
14
13
|
|
|
15
14
|
/**
|
|
@@ -3934,54 +3933,126 @@ declare const DEFAULT_SUBSCRIPTION: SubscriptionClaims;
|
|
|
3934
3933
|
* @fileoverview Schema Definitions for Billing and Subscription Management
|
|
3935
3934
|
* @description Single source of truth for all billing-related data validation. Defines Valibot schemas for billing, subscriptions, checkout sessions, and related data structures.
|
|
3936
3935
|
*
|
|
3937
|
-
* @version 0.
|
|
3936
|
+
* @version 0.2.0
|
|
3938
3937
|
* @since 0.0.1
|
|
3939
3938
|
* @author AMBROISE PARK Consulting
|
|
3940
3939
|
*/
|
|
3941
3940
|
|
|
3942
3941
|
/**
|
|
3943
|
-
*
|
|
3944
|
-
* Uses constants for enum values to ensure consistency
|
|
3942
|
+
* Maximum line items per checkout request (framework limit).
|
|
3945
3943
|
*
|
|
3946
|
-
* @version 0.
|
|
3944
|
+
* @version 0.2.0
|
|
3945
|
+
* @since 0.2.0
|
|
3946
|
+
* @author AMBROISE PARK Consulting
|
|
3947
|
+
*/
|
|
3948
|
+
declare const MAX_CHECKOUT_LINE_ITEMS = 100;
|
|
3949
|
+
/**
|
|
3950
|
+
* One requested line: what the client wants, never what it costs.
|
|
3951
|
+
* Names and prices are resolved on the server.
|
|
3952
|
+
*
|
|
3953
|
+
* @version 0.2.0
|
|
3954
|
+
* @since 0.2.0
|
|
3955
|
+
* @author AMBROISE PARK Consulting
|
|
3956
|
+
*/
|
|
3957
|
+
declare const CheckoutLineItemInputSchema: v.ObjectSchema<{
|
|
3958
|
+
/** App product ID. For StripePayment/StripeSubscription: the billing config key. */
|
|
3959
|
+
readonly productId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
3960
|
+
readonly quantity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>;
|
|
3961
|
+
}, undefined>;
|
|
3962
|
+
/**
|
|
3963
|
+
* Schema for creating a checkout session request.
|
|
3964
|
+
* The client sends what it wants (config key + line items); the server derives
|
|
3965
|
+
* prices, mode and user from the back config and the auth context.
|
|
3966
|
+
*
|
|
3967
|
+
* 0.1.x requests keep working unchanged: the key may come from
|
|
3968
|
+
* `metadata.billingConfigKey`, `lineItems` defaults to the single product, and
|
|
3969
|
+
* the 0.1.x fields (`priceId`, `unitAmount` + `productName`, `currency`, `mode`)
|
|
3970
|
+
* are kept and honoured for StripePayment/StripeSubscription items exactly as in
|
|
3971
|
+
* 0.1.x (priceId checked against the back config, dynamic amounts capped by
|
|
3972
|
+
* `maxUnitAmount`). StripeOrder ignores them. `userId` is never trusted by the
|
|
3973
|
+
* framework providers: they pass the authenticated user.
|
|
3974
|
+
* The output is always normalized (`billingConfigKey` + `lineItems` set).
|
|
3975
|
+
*
|
|
3976
|
+
* @version 0.2.0
|
|
3947
3977
|
* @since 0.0.1
|
|
3948
3978
|
* @author AMBROISE PARK Consulting
|
|
3949
3979
|
*/
|
|
3950
3980
|
declare const CreateCheckoutSessionRequestSchema: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3981
|
+
/** Key in the app's StripeBackConfig */
|
|
3982
|
+
readonly billingConfigKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3983
|
+
readonly lineItems: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3984
|
+
/** App product ID. For StripePayment/StripeSubscription: the billing config key. */
|
|
3985
|
+
readonly productId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
3986
|
+
readonly quantity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>;
|
|
3987
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
3988
|
+
productId: string;
|
|
3989
|
+
quantity: number;
|
|
3990
|
+
}[], 1, "At least one line item is required">, v.MaxLengthAction<{
|
|
3991
|
+
productId: string;
|
|
3992
|
+
quantity: number;
|
|
3993
|
+
}[], 100, "At most 100 line items">]>, undefined>;
|
|
3994
|
+
readonly successUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
3995
|
+
readonly cancelUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
3996
|
+
readonly customerEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
3997
|
+
readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
3998
|
+
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3999
|
+
/** 0.1.x: ignored by the framework providers (they pass the authenticated user) */
|
|
3951
4000
|
readonly userId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3952
4001
|
readonly productId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3953
|
-
/** Stripe price ID (
|
|
4002
|
+
/** 0.1.x: Stripe price ID (must match the back config priceId when it has one) */
|
|
3954
4003
|
readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3955
|
-
/**
|
|
4004
|
+
/** 0.1.x: amount in cents (dynamic pricing, capped by the back config `maxUnitAmount`) */
|
|
3956
4005
|
readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
3957
|
-
/**
|
|
4006
|
+
/** 0.1.x: product name shown on Stripe checkout (dynamic pricing) */
|
|
3958
4007
|
readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3959
|
-
/**
|
|
4008
|
+
/** 0.1.x: currency code (dynamic pricing), defaults to the back config currency */
|
|
3960
4009
|
readonly currency: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, "Currency must be 3-letter ISO code">]>, undefined>;
|
|
3961
|
-
readonly successUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
3962
|
-
readonly cancelUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
3963
|
-
readonly customerEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
3964
4010
|
readonly userEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
3965
|
-
|
|
3966
|
-
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4011
|
+
/** 0.1.x: Stripe mode. Omitted: derived from the back config item type. */
|
|
3967
4012
|
readonly mode: v.OptionalSchema<v.PicklistSchema<["payment", "subscription"], undefined>, undefined>;
|
|
3968
|
-
}, undefined>, v.
|
|
4013
|
+
}, undefined>, v.RawTransformAction<{
|
|
4014
|
+
billingConfigKey?: string | undefined;
|
|
4015
|
+
lineItems?: {
|
|
4016
|
+
productId: string;
|
|
4017
|
+
quantity: number;
|
|
4018
|
+
}[] | undefined;
|
|
4019
|
+
successUrl: string;
|
|
4020
|
+
cancelUrl: string;
|
|
4021
|
+
customerEmail?: string | undefined;
|
|
4022
|
+
metadata?: {
|
|
4023
|
+
[x: string]: string;
|
|
4024
|
+
} | undefined;
|
|
4025
|
+
allowPromotionCodes?: boolean | undefined;
|
|
3969
4026
|
userId?: string | undefined;
|
|
3970
4027
|
productId?: string | undefined;
|
|
3971
4028
|
priceId?: string | undefined;
|
|
3972
4029
|
unitAmount?: number | undefined;
|
|
3973
4030
|
productName?: string | undefined;
|
|
3974
4031
|
currency?: string | undefined;
|
|
4032
|
+
userEmail?: string | undefined;
|
|
4033
|
+
mode?: "payment" | "subscription" | undefined;
|
|
4034
|
+
}, {
|
|
4035
|
+
billingConfigKey: string;
|
|
4036
|
+
lineItems: {
|
|
4037
|
+
productId: string;
|
|
4038
|
+
quantity: number;
|
|
4039
|
+
}[];
|
|
3975
4040
|
successUrl: string;
|
|
3976
4041
|
cancelUrl: string;
|
|
3977
4042
|
customerEmail?: string | undefined;
|
|
3978
|
-
userEmail?: string | undefined;
|
|
3979
4043
|
metadata?: {
|
|
3980
4044
|
[x: string]: string;
|
|
3981
4045
|
} | undefined;
|
|
3982
4046
|
allowPromotionCodes?: boolean | undefined;
|
|
4047
|
+
userId?: string | undefined;
|
|
4048
|
+
productId?: string | undefined;
|
|
4049
|
+
priceId?: string | undefined;
|
|
4050
|
+
unitAmount?: number | undefined;
|
|
4051
|
+
productName?: string | undefined;
|
|
4052
|
+
currency?: string | undefined;
|
|
4053
|
+
userEmail?: string | undefined;
|
|
3983
4054
|
mode?: "payment" | "subscription" | undefined;
|
|
3984
|
-
}
|
|
4055
|
+
}>]>;
|
|
3985
4056
|
/**
|
|
3986
4057
|
* Schema for creating a checkout session response
|
|
3987
4058
|
*
|
|
@@ -4056,13 +4127,21 @@ declare const CheckoutSessionMetadataSchema: v.LooseObjectSchema<{
|
|
|
4056
4127
|
readonly productType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4057
4128
|
}, undefined>;
|
|
4058
4129
|
/**
|
|
4059
|
-
* Create checkout session request type
|
|
4130
|
+
* Create checkout session request type (normalized: `billingConfigKey` and `lineItems` set)
|
|
4060
4131
|
*
|
|
4061
|
-
* @version 0.
|
|
4132
|
+
* @version 0.2.0
|
|
4062
4133
|
* @since 0.0.1
|
|
4063
4134
|
* @author AMBROISE PARK Consulting
|
|
4064
4135
|
*/
|
|
4065
4136
|
type CreateCheckoutSessionRequest = v.InferOutput<typeof CreateCheckoutSessionRequestSchema>;
|
|
4137
|
+
/**
|
|
4138
|
+
* Create checkout session request as sent by a client (before normalization)
|
|
4139
|
+
*
|
|
4140
|
+
* @version 0.2.0
|
|
4141
|
+
* @since 0.2.0
|
|
4142
|
+
* @author AMBROISE PARK Consulting
|
|
4143
|
+
*/
|
|
4144
|
+
type CreateCheckoutSessionRequestInput = v.InferInput<typeof CreateCheckoutSessionRequestSchema>;
|
|
4066
4145
|
/**
|
|
4067
4146
|
* Create checkout session response type
|
|
4068
4147
|
*
|
|
@@ -4142,47 +4221,88 @@ type ProductDeclaration = v.InferOutput<typeof ProductDeclarationSchema> & {
|
|
|
4142
4221
|
onPaymentFailed?: (userId: string, metadata: any) => Promise<void>;
|
|
4143
4222
|
};
|
|
4144
4223
|
/**
|
|
4145
|
-
* Validate create checkout session request
|
|
4224
|
+
* Validate (and normalize) a create checkout session request
|
|
4146
4225
|
*
|
|
4147
|
-
* @version 0.
|
|
4226
|
+
* @version 0.2.0
|
|
4148
4227
|
* @since 0.0.1
|
|
4149
4228
|
* @author AMBROISE PARK Consulting
|
|
4150
4229
|
*/
|
|
4151
4230
|
declare function validateCreateCheckoutSessionRequest(data: unknown): v.SafeParseResult<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4231
|
+
/** Key in the app's StripeBackConfig */
|
|
4232
|
+
readonly billingConfigKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4233
|
+
readonly lineItems: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4234
|
+
/** App product ID. For StripePayment/StripeSubscription: the billing config key. */
|
|
4235
|
+
readonly productId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
4236
|
+
readonly quantity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>;
|
|
4237
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
4238
|
+
productId: string;
|
|
4239
|
+
quantity: number;
|
|
4240
|
+
}[], 1, "At least one line item is required">, v.MaxLengthAction<{
|
|
4241
|
+
productId: string;
|
|
4242
|
+
quantity: number;
|
|
4243
|
+
}[], 100, "At most 100 line items">]>, undefined>;
|
|
4244
|
+
readonly successUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
4245
|
+
readonly cancelUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
4246
|
+
readonly customerEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
4247
|
+
readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
4248
|
+
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4249
|
+
/** 0.1.x: ignored by the framework providers (they pass the authenticated user) */
|
|
4152
4250
|
readonly userId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4153
4251
|
readonly productId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4154
|
-
/** Stripe price ID (
|
|
4252
|
+
/** 0.1.x: Stripe price ID (must match the back config priceId when it has one) */
|
|
4155
4253
|
readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4156
|
-
/**
|
|
4254
|
+
/** 0.1.x: amount in cents (dynamic pricing, capped by the back config `maxUnitAmount`) */
|
|
4157
4255
|
readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4158
|
-
/**
|
|
4256
|
+
/** 0.1.x: product name shown on Stripe checkout (dynamic pricing) */
|
|
4159
4257
|
readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4160
|
-
/**
|
|
4258
|
+
/** 0.1.x: currency code (dynamic pricing), defaults to the back config currency */
|
|
4161
4259
|
readonly currency: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, "Currency must be 3-letter ISO code">]>, undefined>;
|
|
4162
|
-
readonly successUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
4163
|
-
readonly cancelUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
4164
|
-
readonly customerEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
4165
4260
|
readonly userEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
4166
|
-
|
|
4167
|
-
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4261
|
+
/** 0.1.x: Stripe mode. Omitted: derived from the back config item type. */
|
|
4168
4262
|
readonly mode: v.OptionalSchema<v.PicklistSchema<["payment", "subscription"], undefined>, undefined>;
|
|
4169
|
-
}, undefined>, v.
|
|
4263
|
+
}, undefined>, v.RawTransformAction<{
|
|
4264
|
+
billingConfigKey?: string | undefined;
|
|
4265
|
+
lineItems?: {
|
|
4266
|
+
productId: string;
|
|
4267
|
+
quantity: number;
|
|
4268
|
+
}[] | undefined;
|
|
4269
|
+
successUrl: string;
|
|
4270
|
+
cancelUrl: string;
|
|
4271
|
+
customerEmail?: string | undefined;
|
|
4272
|
+
metadata?: {
|
|
4273
|
+
[x: string]: string;
|
|
4274
|
+
} | undefined;
|
|
4275
|
+
allowPromotionCodes?: boolean | undefined;
|
|
4170
4276
|
userId?: string | undefined;
|
|
4171
4277
|
productId?: string | undefined;
|
|
4172
4278
|
priceId?: string | undefined;
|
|
4173
4279
|
unitAmount?: number | undefined;
|
|
4174
4280
|
productName?: string | undefined;
|
|
4175
4281
|
currency?: string | undefined;
|
|
4282
|
+
userEmail?: string | undefined;
|
|
4283
|
+
mode?: "payment" | "subscription" | undefined;
|
|
4284
|
+
}, {
|
|
4285
|
+
billingConfigKey: string;
|
|
4286
|
+
lineItems: {
|
|
4287
|
+
productId: string;
|
|
4288
|
+
quantity: number;
|
|
4289
|
+
}[];
|
|
4176
4290
|
successUrl: string;
|
|
4177
4291
|
cancelUrl: string;
|
|
4178
4292
|
customerEmail?: string | undefined;
|
|
4179
|
-
userEmail?: string | undefined;
|
|
4180
4293
|
metadata?: {
|
|
4181
4294
|
[x: string]: string;
|
|
4182
4295
|
} | undefined;
|
|
4183
4296
|
allowPromotionCodes?: boolean | undefined;
|
|
4297
|
+
userId?: string | undefined;
|
|
4298
|
+
productId?: string | undefined;
|
|
4299
|
+
priceId?: string | undefined;
|
|
4300
|
+
unitAmount?: number | undefined;
|
|
4301
|
+
productName?: string | undefined;
|
|
4302
|
+
currency?: string | undefined;
|
|
4303
|
+
userEmail?: string | undefined;
|
|
4184
4304
|
mode?: "payment" | "subscription" | undefined;
|
|
4185
|
-
}
|
|
4305
|
+
}>]>>;
|
|
4186
4306
|
/**
|
|
4187
4307
|
* Validate create checkout session response
|
|
4188
4308
|
*
|
|
@@ -4400,32 +4520,144 @@ declare const StripeFrontConfigSchema: v.RecordSchema<v.StringSchema<undefined>,
|
|
|
4400
4520
|
readonly productName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4401
4521
|
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4402
4522
|
}, undefined>, undefined>;
|
|
4523
|
+
/**
|
|
4524
|
+
* Tax handling for StripeOrder. Unit amounts are always excl. VAT
|
|
4525
|
+
* (`tax_behavior: 'exclusive'`).
|
|
4526
|
+
* - `manual`: Stripe Tax Rate IDs applied to every line
|
|
4527
|
+
* - `automatic`: Stripe Tax computes the tax (reverse charge from the buyer's tax ID)
|
|
4528
|
+
*
|
|
4529
|
+
* @version 0.2.0
|
|
4530
|
+
* @since 0.2.0
|
|
4531
|
+
* @author AMBROISE PARK Consulting
|
|
4532
|
+
*/
|
|
4533
|
+
declare const StripeOrderTaxSchema: v.VariantSchema<"mode", [v.ObjectSchema<{
|
|
4534
|
+
readonly mode: v.LiteralSchema<"manual", undefined>;
|
|
4535
|
+
readonly taxRateIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
4536
|
+
}, undefined>, v.ObjectSchema<{
|
|
4537
|
+
readonly mode: v.LiteralSchema<"automatic", undefined>;
|
|
4538
|
+
}, undefined>], undefined>;
|
|
4539
|
+
/**
|
|
4540
|
+
* Maximum shipping rates per Checkout Session (Stripe `shipping_options` limit).
|
|
4541
|
+
*
|
|
4542
|
+
* @version 0.2.0
|
|
4543
|
+
* @since 0.2.0
|
|
4544
|
+
* @author AMBROISE PARK Consulting
|
|
4545
|
+
*/
|
|
4546
|
+
declare const MAX_SHIPPING_RATE_IDS = 5;
|
|
4547
|
+
/**
|
|
4548
|
+
* Shipping collection for StripeOrder.
|
|
4549
|
+
*
|
|
4550
|
+
* @version 0.2.0
|
|
4551
|
+
* @since 0.2.0
|
|
4552
|
+
* @author AMBROISE PARK Consulting
|
|
4553
|
+
*/
|
|
4554
|
+
declare const StripeOrderShippingSchema: v.ObjectSchema<{
|
|
4555
|
+
/** Uppercase ISO 3166-1 alpha-2 country codes the order can ship to (e.g. `FR`) */
|
|
4556
|
+
readonly allowedCountries: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "allowedCountries: uppercase ISO 3166-1 alpha-2 code expected (e.g. FR)">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
4557
|
+
/** Stripe Shipping Rate IDs offered at checkout (Stripe allows at most 5) */
|
|
4558
|
+
readonly shippingRateIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MaxLengthAction<string[], 5, "shippingRateIds: at most 5 (Stripe limit)">]>, undefined>;
|
|
4559
|
+
}, undefined>;
|
|
4560
|
+
/**
|
|
4561
|
+
* Back-config item for a multi-line, one-time order priced on the server
|
|
4562
|
+
* (`resolveLineItems` hook, TypeScript only).
|
|
4563
|
+
*
|
|
4564
|
+
* @version 0.2.0
|
|
4565
|
+
* @since 0.2.0
|
|
4566
|
+
* @author AMBROISE PARK Consulting
|
|
4567
|
+
*/
|
|
4568
|
+
declare const StripeOrderBackSchema: v.ObjectSchema<{
|
|
4569
|
+
readonly type: v.LiteralSchema<"StripeOrder", undefined>;
|
|
4570
|
+
readonly name: v.StringSchema<undefined>;
|
|
4571
|
+
/** ISO 4217 currency of every resolved line */
|
|
4572
|
+
readonly currency: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, undefined>]>;
|
|
4573
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4574
|
+
readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
4575
|
+
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4576
|
+
readonly tax: v.VariantSchema<"mode", [v.ObjectSchema<{
|
|
4577
|
+
readonly mode: v.LiteralSchema<"manual", undefined>;
|
|
4578
|
+
readonly taxRateIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
4579
|
+
}, undefined>, v.ObjectSchema<{
|
|
4580
|
+
readonly mode: v.LiteralSchema<"automatic", undefined>;
|
|
4581
|
+
}, undefined>], undefined>;
|
|
4582
|
+
/** Collect the buyer's tax ID (VAT number) */
|
|
4583
|
+
readonly taxIdCollection: v.PicklistSchema<["disabled", "optional", "required"], undefined>;
|
|
4584
|
+
readonly billingAddressCollection: v.PicklistSchema<["auto", "required"], undefined>;
|
|
4585
|
+
readonly shipping: v.OptionalSchema<v.ObjectSchema<{
|
|
4586
|
+
/** Uppercase ISO 3166-1 alpha-2 country codes the order can ship to (e.g. `FR`) */
|
|
4587
|
+
readonly allowedCountries: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "allowedCountries: uppercase ISO 3166-1 alpha-2 code expected (e.g. FR)">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
4588
|
+
/** Stripe Shipping Rate IDs offered at checkout (Stripe allows at most 5) */
|
|
4589
|
+
readonly shippingRateIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MaxLengthAction<string[], 5, "shippingRateIds: at most 5 (Stripe limit)">]>, undefined>;
|
|
4590
|
+
}, undefined>, undefined>;
|
|
4591
|
+
readonly customerCreation: v.PicklistSchema<["always", "if_required"], undefined>;
|
|
4592
|
+
/** Generate a post-payment Stripe invoice */
|
|
4593
|
+
readonly invoiceCreation: v.BooleanSchema<undefined>;
|
|
4594
|
+
/** Stripe Payment Method Configuration ID (card, SEPA debit...). Omit to use the account default. */
|
|
4595
|
+
readonly paymentMethodConfiguration: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4596
|
+
}, undefined>;
|
|
4403
4597
|
/**
|
|
4404
4598
|
* Schema for backend billing configuration (with hooks)
|
|
4405
4599
|
*
|
|
4406
|
-
* @version 0.
|
|
4600
|
+
* @version 0.2.0
|
|
4407
4601
|
* @since 0.0.1
|
|
4408
4602
|
* @author AMBROISE PARK Consulting
|
|
4409
4603
|
*/
|
|
4410
|
-
declare const StripeBackConfigSchema: v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
|
|
4411
|
-
readonly type: v.PicklistSchema<["StripePayment", "StripeSubscription"], undefined>;
|
|
4604
|
+
declare const StripeBackConfigSchema: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
4412
4605
|
readonly name: v.StringSchema<undefined>;
|
|
4413
4606
|
readonly price: v.NumberSchema<undefined>;
|
|
4414
4607
|
readonly currency: v.StringSchema<undefined>;
|
|
4415
|
-
/** Stripe price ID (fixed pricing). Optional for dynamic pricing products. */
|
|
4416
4608
|
readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4417
|
-
/** Default amount in cents (dynamic pricing). */
|
|
4418
4609
|
readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4419
|
-
/** Product name for Stripe checkout (dynamic pricing). */
|
|
4420
4610
|
readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4421
|
-
/** Maximum allowed unit amount in cents. Security cap. */
|
|
4422
4611
|
readonly maxUnitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4423
4612
|
readonly tier: v.StringSchema<undefined>;
|
|
4424
4613
|
readonly duration: v.StringSchema<undefined>;
|
|
4425
4614
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4426
4615
|
readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
4427
4616
|
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4428
|
-
|
|
4617
|
+
readonly type: v.LiteralSchema<"StripePayment", undefined>;
|
|
4618
|
+
}, undefined>, v.ObjectSchema<{
|
|
4619
|
+
readonly name: v.StringSchema<undefined>;
|
|
4620
|
+
readonly price: v.NumberSchema<undefined>;
|
|
4621
|
+
readonly currency: v.StringSchema<undefined>;
|
|
4622
|
+
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
|
+
readonly tier: v.StringSchema<undefined>;
|
|
4627
|
+
readonly duration: v.StringSchema<undefined>;
|
|
4628
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4629
|
+
readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
4630
|
+
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4631
|
+
readonly type: v.LiteralSchema<"StripeSubscription", undefined>;
|
|
4632
|
+
}, undefined>, v.ObjectSchema<{
|
|
4633
|
+
readonly type: v.LiteralSchema<"StripeOrder", undefined>;
|
|
4634
|
+
readonly name: v.StringSchema<undefined>;
|
|
4635
|
+
/** ISO 4217 currency of every resolved line */
|
|
4636
|
+
readonly currency: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, undefined>]>;
|
|
4637
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4638
|
+
readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
4639
|
+
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4640
|
+
readonly tax: v.VariantSchema<"mode", [v.ObjectSchema<{
|
|
4641
|
+
readonly mode: v.LiteralSchema<"manual", undefined>;
|
|
4642
|
+
readonly taxRateIds: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
4643
|
+
}, undefined>, v.ObjectSchema<{
|
|
4644
|
+
readonly mode: v.LiteralSchema<"automatic", undefined>;
|
|
4645
|
+
}, undefined>], undefined>;
|
|
4646
|
+
/** Collect the buyer's tax ID (VAT number) */
|
|
4647
|
+
readonly taxIdCollection: v.PicklistSchema<["disabled", "optional", "required"], undefined>;
|
|
4648
|
+
readonly billingAddressCollection: v.PicklistSchema<["auto", "required"], undefined>;
|
|
4649
|
+
readonly shipping: v.OptionalSchema<v.ObjectSchema<{
|
|
4650
|
+
/** Uppercase ISO 3166-1 alpha-2 country codes the order can ship to (e.g. `FR`) */
|
|
4651
|
+
readonly allowedCountries: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "allowedCountries: uppercase ISO 3166-1 alpha-2 code expected (e.g. FR)">]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
|
|
4652
|
+
/** Stripe Shipping Rate IDs offered at checkout (Stripe allows at most 5) */
|
|
4653
|
+
readonly shippingRateIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MaxLengthAction<string[], 5, "shippingRateIds: at most 5 (Stripe limit)">]>, undefined>;
|
|
4654
|
+
}, undefined>, undefined>;
|
|
4655
|
+
readonly customerCreation: v.PicklistSchema<["always", "if_required"], undefined>;
|
|
4656
|
+
/** Generate a post-payment Stripe invoice */
|
|
4657
|
+
readonly invoiceCreation: v.BooleanSchema<undefined>;
|
|
4658
|
+
/** Stripe Payment Method Configuration ID (card, SEPA debit...). Omit to use the account default. */
|
|
4659
|
+
readonly paymentMethodConfiguration: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4660
|
+
}, undefined>], undefined>, undefined>;
|
|
4429
4661
|
/**
|
|
4430
4662
|
* Helper to validate frontend config at runtime
|
|
4431
4663
|
*
|
|
@@ -4455,7 +4687,6 @@ declare function validateStripeFrontConfig(config: unknown): {
|
|
|
4455
4687
|
*/
|
|
4456
4688
|
declare function validateStripeBackConfig(config: unknown): {
|
|
4457
4689
|
[x: string]: {
|
|
4458
|
-
type: "StripePayment" | "StripeSubscription";
|
|
4459
4690
|
name: string;
|
|
4460
4691
|
price: number;
|
|
4461
4692
|
currency: string;
|
|
@@ -4470,6 +4701,47 @@ declare function validateStripeBackConfig(config: unknown): {
|
|
|
4470
4701
|
[x: string]: string;
|
|
4471
4702
|
} | undefined;
|
|
4472
4703
|
allowPromotionCodes?: boolean | undefined;
|
|
4704
|
+
type: "StripePayment";
|
|
4705
|
+
} | {
|
|
4706
|
+
name: string;
|
|
4707
|
+
price: number;
|
|
4708
|
+
currency: string;
|
|
4709
|
+
priceId?: string | undefined;
|
|
4710
|
+
unitAmount?: number | undefined;
|
|
4711
|
+
productName?: string | undefined;
|
|
4712
|
+
maxUnitAmount?: number | undefined;
|
|
4713
|
+
tier: string;
|
|
4714
|
+
duration: string;
|
|
4715
|
+
description?: string | undefined;
|
|
4716
|
+
metadata?: {
|
|
4717
|
+
[x: string]: string;
|
|
4718
|
+
} | undefined;
|
|
4719
|
+
allowPromotionCodes?: boolean | undefined;
|
|
4720
|
+
type: "StripeSubscription";
|
|
4721
|
+
} | {
|
|
4722
|
+
type: "StripeOrder";
|
|
4723
|
+
name: string;
|
|
4724
|
+
currency: string;
|
|
4725
|
+
description?: string | undefined;
|
|
4726
|
+
metadata?: {
|
|
4727
|
+
[x: string]: string;
|
|
4728
|
+
} | undefined;
|
|
4729
|
+
allowPromotionCodes?: boolean | undefined;
|
|
4730
|
+
tax: {
|
|
4731
|
+
mode: "manual";
|
|
4732
|
+
taxRateIds: string[];
|
|
4733
|
+
} | {
|
|
4734
|
+
mode: "automatic";
|
|
4735
|
+
};
|
|
4736
|
+
taxIdCollection: "optional" | "required" | "disabled";
|
|
4737
|
+
billingAddressCollection: "required" | "auto";
|
|
4738
|
+
shipping?: {
|
|
4739
|
+
allowedCountries: string[];
|
|
4740
|
+
shippingRateIds?: string[] | undefined;
|
|
4741
|
+
} | undefined;
|
|
4742
|
+
customerCreation: "always" | "if_required";
|
|
4743
|
+
invoiceCreation: boolean;
|
|
4744
|
+
paymentMethodConfiguration?: string | undefined;
|
|
4473
4745
|
};
|
|
4474
4746
|
};
|
|
4475
4747
|
/**
|
|
@@ -4483,40 +4755,81 @@ declare function validateBillingSchemas(): {
|
|
|
4483
4755
|
success: boolean;
|
|
4484
4756
|
results: {
|
|
4485
4757
|
createCheckoutSessionRequest: v.SafeParseResult<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4758
|
+
/** Key in the app's StripeBackConfig */
|
|
4759
|
+
readonly billingConfigKey: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4760
|
+
readonly lineItems: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4761
|
+
/** App product ID. For StripePayment/StripeSubscription: the billing config key. */
|
|
4762
|
+
readonly productId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
|
|
4763
|
+
readonly quantity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>;
|
|
4764
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
4765
|
+
productId: string;
|
|
4766
|
+
quantity: number;
|
|
4767
|
+
}[], 1, "At least one line item is required">, v.MaxLengthAction<{
|
|
4768
|
+
productId: string;
|
|
4769
|
+
quantity: number;
|
|
4770
|
+
}[], 100, "At most 100 line items">]>, undefined>;
|
|
4771
|
+
readonly successUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
4772
|
+
readonly cancelUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
4773
|
+
readonly customerEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
4774
|
+
readonly metadata: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>;
|
|
4775
|
+
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4776
|
+
/** 0.1.x: ignored by the framework providers (they pass the authenticated user) */
|
|
4486
4777
|
readonly userId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4487
4778
|
readonly productId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4488
|
-
/** Stripe price ID (
|
|
4779
|
+
/** 0.1.x: Stripe price ID (must match the back config priceId when it has one) */
|
|
4489
4780
|
readonly priceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4490
|
-
/**
|
|
4781
|
+
/** 0.1.x: amount in cents (dynamic pricing, capped by the back config `maxUnitAmount`) */
|
|
4491
4782
|
readonly unitAmount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
4492
|
-
/**
|
|
4783
|
+
/** 0.1.x: product name shown on Stripe checkout (dynamic pricing) */
|
|
4493
4784
|
readonly productName: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
4494
|
-
/**
|
|
4785
|
+
/** 0.1.x: currency code (dynamic pricing), defaults to the back config currency */
|
|
4495
4786
|
readonly currency: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.LengthAction<string, 3, "Currency must be 3-letter ISO code">]>, undefined>;
|
|
4496
|
-
readonly successUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
4497
|
-
readonly cancelUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>;
|
|
4498
|
-
readonly customerEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
4499
4787
|
readonly userEmail: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>, undefined>;
|
|
4500
|
-
|
|
4501
|
-
readonly allowPromotionCodes: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4788
|
+
/** 0.1.x: Stripe mode. Omitted: derived from the back config item type. */
|
|
4502
4789
|
readonly mode: v.OptionalSchema<v.PicklistSchema<["payment", "subscription"], undefined>, undefined>;
|
|
4503
|
-
}, undefined>, v.
|
|
4790
|
+
}, undefined>, v.RawTransformAction<{
|
|
4791
|
+
billingConfigKey?: string | undefined;
|
|
4792
|
+
lineItems?: {
|
|
4793
|
+
productId: string;
|
|
4794
|
+
quantity: number;
|
|
4795
|
+
}[] | undefined;
|
|
4796
|
+
successUrl: string;
|
|
4797
|
+
cancelUrl: string;
|
|
4798
|
+
customerEmail?: string | undefined;
|
|
4799
|
+
metadata?: {
|
|
4800
|
+
[x: string]: string;
|
|
4801
|
+
} | undefined;
|
|
4802
|
+
allowPromotionCodes?: boolean | undefined;
|
|
4504
4803
|
userId?: string | undefined;
|
|
4505
4804
|
productId?: string | undefined;
|
|
4506
4805
|
priceId?: string | undefined;
|
|
4507
4806
|
unitAmount?: number | undefined;
|
|
4508
4807
|
productName?: string | undefined;
|
|
4509
4808
|
currency?: string | undefined;
|
|
4809
|
+
userEmail?: string | undefined;
|
|
4810
|
+
mode?: "payment" | "subscription" | undefined;
|
|
4811
|
+
}, {
|
|
4812
|
+
billingConfigKey: string;
|
|
4813
|
+
lineItems: {
|
|
4814
|
+
productId: string;
|
|
4815
|
+
quantity: number;
|
|
4816
|
+
}[];
|
|
4510
4817
|
successUrl: string;
|
|
4511
4818
|
cancelUrl: string;
|
|
4512
4819
|
customerEmail?: string | undefined;
|
|
4513
|
-
userEmail?: string | undefined;
|
|
4514
4820
|
metadata?: {
|
|
4515
4821
|
[x: string]: string;
|
|
4516
4822
|
} | undefined;
|
|
4517
4823
|
allowPromotionCodes?: boolean | undefined;
|
|
4824
|
+
userId?: string | undefined;
|
|
4825
|
+
productId?: string | undefined;
|
|
4826
|
+
priceId?: string | undefined;
|
|
4827
|
+
unitAmount?: number | undefined;
|
|
4828
|
+
productName?: string | undefined;
|
|
4829
|
+
currency?: string | undefined;
|
|
4830
|
+
userEmail?: string | undefined;
|
|
4518
4831
|
mode?: "payment" | "subscription" | undefined;
|
|
4519
|
-
}
|
|
4832
|
+
}>]>>;
|
|
4520
4833
|
createCheckoutSessionResponse: v.SafeParseResult<v.ObjectSchema<{
|
|
4521
4834
|
readonly sessionId: v.StringSchema<undefined>;
|
|
4522
4835
|
readonly sessionUrl: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.UrlAction<string, undefined>]>, undefined>;
|
|
@@ -4812,6 +5125,9 @@ type BillingErrorCode = 'unknown' | 'unauthenticated' | 'invalid_request' | 'str
|
|
|
4812
5125
|
/**
|
|
4813
5126
|
* Stripe checkout session creation request
|
|
4814
5127
|
*
|
|
5128
|
+
* 0.1.x request shape, still accepted. New code sends
|
|
5129
|
+
* `CreateCheckoutSessionRequestInput` (`billingConfigKey`, plus `lineItems` for StripeOrder).
|
|
5130
|
+
*
|
|
4815
5131
|
* @version 0.1.0
|
|
4816
5132
|
* @since 0.0.1
|
|
4817
5133
|
* @author AMBROISE PARK Consulting
|
|
@@ -5189,48 +5505,265 @@ interface StripePrice {
|
|
|
5189
5505
|
lookup_key?: string;
|
|
5190
5506
|
}
|
|
5191
5507
|
/**
|
|
5192
|
-
* Result of a beforeCheckout hook invocation.
|
|
5193
|
-
*
|
|
5508
|
+
* Result of a beforeCheckout hook invocation. Blocks or allows checkout.
|
|
5509
|
+
* StripeOrder prices come from `resolveLineItems`, never from here.
|
|
5510
|
+
*
|
|
5511
|
+
* @version 0.2.0
|
|
5512
|
+
* @since 0.0.1
|
|
5513
|
+
* @author AMBROISE PARK Consulting
|
|
5194
5514
|
*/
|
|
5195
5515
|
interface BeforeCheckoutResult {
|
|
5196
5516
|
/** Whether checkout is allowed to proceed */
|
|
5197
5517
|
allowed: boolean;
|
|
5198
5518
|
/** Reason for blocking (shown in error response) */
|
|
5199
5519
|
reason?: string;
|
|
5200
|
-
/**
|
|
5201
|
-
|
|
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
|
+
};
|
|
5202
5530
|
}
|
|
5531
|
+
/**
|
|
5532
|
+
* Second argument of a `beforeCheckout` hook: the normalized request plus the
|
|
5533
|
+
* 0.1.x checkout options, so 0.1.x guards (`options.mode === 'subscription'`,
|
|
5534
|
+
* `options.priceId`) keep working.
|
|
5535
|
+
*
|
|
5536
|
+
* @version 0.2.0
|
|
5537
|
+
* @since 0.2.0
|
|
5538
|
+
* @author AMBROISE PARK Consulting
|
|
5539
|
+
*/
|
|
5540
|
+
type BeforeCheckoutOptions = Omit<CreateCheckoutSessionRequest, 'userId' | 'mode' | 'priceId' | 'metadata' | 'allowPromotionCodes'> & {
|
|
5541
|
+
/** Authenticated user ID (never the client value) */
|
|
5542
|
+
userId: string;
|
|
5543
|
+
/** Stripe mode of the session (request `mode`, else derived from the item type; StripeOrder: `payment`) */
|
|
5544
|
+
mode: CheckoutMode;
|
|
5545
|
+
/** Stripe price charged (request priceId, else the back config priceId). Undefined for dynamic pricing and StripeOrder. */
|
|
5546
|
+
priceId?: string;
|
|
5547
|
+
/** Request metadata as sent (before sanitization; 0.1.x behaviour) */
|
|
5548
|
+
metadata: Record<string, string>;
|
|
5549
|
+
/** Request value, default `true` (0.1.x behaviour) */
|
|
5550
|
+
allowPromotionCodes: boolean;
|
|
5551
|
+
};
|
|
5203
5552
|
/**
|
|
5204
5553
|
* Hook called before Stripe checkout session creation.
|
|
5205
|
-
* Use for ownership checks
|
|
5554
|
+
* Use for ownership checks and status validation.
|
|
5555
|
+
*
|
|
5556
|
+
* @example
|
|
5557
|
+
* ```typescript
|
|
5558
|
+
* const beforeCheckout: BeforeCheckoutHook = async (userId, options) =>
|
|
5559
|
+
* options.mode === 'subscription' && options.billingConfigKey !== 'pro_monthly'
|
|
5560
|
+
* ? { allowed: false, reason: 'Unknown plan' }
|
|
5561
|
+
* : { allowed: true };
|
|
5562
|
+
* ```
|
|
5206
5563
|
*
|
|
5207
5564
|
* @param userId - Authenticated user ID
|
|
5208
|
-
* @param options -
|
|
5565
|
+
* @param options - Normalized request + 0.1.x checkout options (`mode`, `priceId`, `unitAmount`, `currency`...)
|
|
5209
5566
|
* @param metadata - Request metadata (sanitized)
|
|
5210
|
-
* @returns Whether to allow checkout, optional reason
|
|
5567
|
+
* @returns Whether to allow checkout, optional reason (and 0.1.x dynamic-pricing overrides)
|
|
5568
|
+
*
|
|
5569
|
+
* @version 0.2.0
|
|
5570
|
+
* @since 0.0.1
|
|
5571
|
+
* @author AMBROISE PARK Consulting
|
|
5211
5572
|
*/
|
|
5212
|
-
type BeforeCheckoutHook = (userId: string, options:
|
|
5573
|
+
type BeforeCheckoutHook = (userId: string, options: BeforeCheckoutOptions, metadata: Record<string, string>) => Promise<BeforeCheckoutResult>;
|
|
5213
5574
|
/**
|
|
5214
|
-
*
|
|
5575
|
+
* One requested checkout line (client input).
|
|
5215
5576
|
*
|
|
5216
|
-
* @version 0.
|
|
5577
|
+
* @version 0.2.0
|
|
5578
|
+
* @since 0.2.0
|
|
5579
|
+
* @author AMBROISE PARK Consulting
|
|
5580
|
+
*/
|
|
5581
|
+
type CheckoutLineItemInput = v.InferOutput<typeof CheckoutLineItemInputSchema>;
|
|
5582
|
+
/**
|
|
5583
|
+
* One line priced by the app's `resolveLineItems` hook.
|
|
5584
|
+
*
|
|
5585
|
+
* @version 0.2.0
|
|
5586
|
+
* @since 0.2.0
|
|
5587
|
+
* @author AMBROISE PARK Consulting
|
|
5588
|
+
*/
|
|
5589
|
+
interface ResolvedLineItem {
|
|
5590
|
+
/** App product ID, copied to the Stripe product metadata and returned in `onOrderPaid` */
|
|
5591
|
+
productId: string;
|
|
5592
|
+
/** Name shown on the Stripe checkout page and invoice */
|
|
5593
|
+
name: string;
|
|
5594
|
+
description?: string;
|
|
5595
|
+
/** Unit price excl. VAT, in the smallest currency unit (cents) */
|
|
5596
|
+
unitAmount: number;
|
|
5597
|
+
quantity: number;
|
|
5598
|
+
}
|
|
5599
|
+
/**
|
|
5600
|
+
* Output of `resolveLineItems`: the server-side order and its priced lines.
|
|
5601
|
+
*
|
|
5602
|
+
* @version 0.2.0
|
|
5603
|
+
* @since 0.2.0
|
|
5604
|
+
* @author AMBROISE PARK Consulting
|
|
5605
|
+
*/
|
|
5606
|
+
interface ResolvedOrder {
|
|
5607
|
+
/** App order ID (created by the hook, e.g. a pending order row) */
|
|
5608
|
+
orderId: string;
|
|
5609
|
+
lineItems: ResolvedLineItem[];
|
|
5610
|
+
/** Per-order session options decided by the server (omit to use the back config). */
|
|
5611
|
+
session?: ResolvedOrderSession;
|
|
5612
|
+
}
|
|
5613
|
+
/**
|
|
5614
|
+
* Checkout session options a StripeOrder decides per order in `resolveLineItems`
|
|
5615
|
+
* (they depend on the buyer or the order, not on the back config).
|
|
5616
|
+
*
|
|
5617
|
+
* @version 0.2.0
|
|
5618
|
+
* @since 0.2.0
|
|
5619
|
+
* @author AMBROISE PARK Consulting
|
|
5620
|
+
*/
|
|
5621
|
+
interface ResolvedOrderSession {
|
|
5622
|
+
/**
|
|
5623
|
+
* Manual tax only: Tax Rate IDs applied to every line of this order instead of
|
|
5624
|
+
* `tax.taxRateIds` (each must be exclusive). `[]` = no tax (e.g. EU B2B reverse charge).
|
|
5625
|
+
*/
|
|
5626
|
+
taxRateIds?: string[];
|
|
5627
|
+
/** Payment methods offered for this order. Replaces `paymentMethodConfiguration`. */
|
|
5628
|
+
paymentMethodTypes?: Array<'card' | 'sepa_debit'>;
|
|
5629
|
+
/** Session expiry, Unix seconds. Stripe: 30 minutes to 24 hours after creation. */
|
|
5630
|
+
expiresAt?: number;
|
|
5631
|
+
/** Footer printed on the post-payment invoice (e.g. a legal mention). Needs `invoiceCreation`. */
|
|
5632
|
+
invoiceFooter?: string;
|
|
5633
|
+
}
|
|
5634
|
+
/**
|
|
5635
|
+
* Context passed to `resolveLineItems`.
|
|
5636
|
+
*
|
|
5637
|
+
* @version 0.2.0
|
|
5638
|
+
* @since 0.2.0
|
|
5639
|
+
* @author AMBROISE PARK Consulting
|
|
5640
|
+
*/
|
|
5641
|
+
interface ResolveLineItemsContext {
|
|
5642
|
+
userId: string;
|
|
5643
|
+
billingConfigKey: string;
|
|
5644
|
+
/** Request metadata (sanitized) */
|
|
5645
|
+
metadata: Record<string, string>;
|
|
5646
|
+
}
|
|
5647
|
+
/**
|
|
5648
|
+
* Postal address as reported by Stripe.
|
|
5649
|
+
*
|
|
5650
|
+
* @version 0.2.0
|
|
5651
|
+
* @since 0.2.0
|
|
5652
|
+
* @author AMBROISE PARK Consulting
|
|
5653
|
+
*/
|
|
5654
|
+
interface CheckoutAddress {
|
|
5655
|
+
line1: string | null;
|
|
5656
|
+
line2: string | null;
|
|
5657
|
+
postalCode: string | null;
|
|
5658
|
+
city: string | null;
|
|
5659
|
+
state: string | null;
|
|
5660
|
+
/** ISO 3166-1 alpha-2 */
|
|
5661
|
+
country: string | null;
|
|
5662
|
+
}
|
|
5663
|
+
/**
|
|
5664
|
+
* Provider-neutral snapshot of a completed/expired Stripe Checkout Session,
|
|
5665
|
+
* passed to order hooks.
|
|
5666
|
+
*
|
|
5667
|
+
* @version 0.2.0
|
|
5668
|
+
* @since 0.2.0
|
|
5669
|
+
* @author AMBROISE PARK Consulting
|
|
5670
|
+
*/
|
|
5671
|
+
interface CheckoutSessionSnapshot {
|
|
5672
|
+
id: string;
|
|
5673
|
+
/** 'paid' | 'unpaid' | 'no_payment_required' */
|
|
5674
|
+
paymentStatus: string;
|
|
5675
|
+
currency: string | null;
|
|
5676
|
+
/** Amounts in the smallest currency unit */
|
|
5677
|
+
amountSubtotal: number | null;
|
|
5678
|
+
amountTax: number | null;
|
|
5679
|
+
amountShipping: number | null;
|
|
5680
|
+
amountDiscount: number | null;
|
|
5681
|
+
amountTotal: number | null;
|
|
5682
|
+
customerId: string | null;
|
|
5683
|
+
customer: {
|
|
5684
|
+
email: string | null;
|
|
5685
|
+
name: string | null;
|
|
5686
|
+
phone: string | null;
|
|
5687
|
+
/** Business name, when collected */
|
|
5688
|
+
businessName: string | null;
|
|
5689
|
+
address: CheckoutAddress | null;
|
|
5690
|
+
taxIds: Array<{
|
|
5691
|
+
type: string;
|
|
5692
|
+
value: string | null;
|
|
5693
|
+
}>;
|
|
5694
|
+
/** 'none' | 'exempt' | 'reverse' */
|
|
5695
|
+
taxExempt: string | null;
|
|
5696
|
+
} | null;
|
|
5697
|
+
shipping: {
|
|
5698
|
+
name: string;
|
|
5699
|
+
address: CheckoutAddress;
|
|
5700
|
+
} | null;
|
|
5701
|
+
invoiceId: string | null;
|
|
5702
|
+
paymentIntentId: string | null;
|
|
5703
|
+
metadata: Record<string, string>;
|
|
5704
|
+
}
|
|
5705
|
+
/**
|
|
5706
|
+
* One paid line, read back from Stripe (amounts as charged).
|
|
5707
|
+
*
|
|
5708
|
+
* @version 0.2.0
|
|
5709
|
+
* @since 0.2.0
|
|
5710
|
+
* @author AMBROISE PARK Consulting
|
|
5711
|
+
*/
|
|
5712
|
+
interface PaidLineItem {
|
|
5713
|
+
productId: string;
|
|
5714
|
+
name: string;
|
|
5715
|
+
quantity: number;
|
|
5716
|
+
/** Amounts in the smallest currency unit */
|
|
5717
|
+
amountSubtotal: number;
|
|
5718
|
+
amountDiscount: number;
|
|
5719
|
+
amountTax: number;
|
|
5720
|
+
amountTotal: number;
|
|
5721
|
+
}
|
|
5722
|
+
/**
|
|
5723
|
+
* Context passed to order webhook hooks.
|
|
5724
|
+
*
|
|
5725
|
+
* @version 0.2.0
|
|
5726
|
+
* @since 0.2.0
|
|
5727
|
+
* @author AMBROISE PARK Consulting
|
|
5728
|
+
*/
|
|
5729
|
+
interface OrderHookContext {
|
|
5730
|
+
userId: string;
|
|
5731
|
+
orderId: string;
|
|
5732
|
+
billingConfigKey: string;
|
|
5733
|
+
/**
|
|
5734
|
+
* Stripe event ID. Delivery is at-least-once: the same event can reach a hook
|
|
5735
|
+
* again (retry after a failed or unrecorded run). Key side effects on
|
|
5736
|
+
* `orderId` (or `eventId`) so a replay is a no-op.
|
|
5737
|
+
*/
|
|
5738
|
+
eventId: string;
|
|
5739
|
+
}
|
|
5740
|
+
/**
|
|
5741
|
+
* Client checkout options (useStripeBilling `checkout`).
|
|
5742
|
+
*
|
|
5743
|
+
* @version 0.2.0
|
|
5217
5744
|
* @since 0.0.1
|
|
5218
5745
|
* @author AMBROISE PARK Consulting
|
|
5219
5746
|
*/
|
|
5220
5747
|
interface CheckoutOptions {
|
|
5221
|
-
/**
|
|
5222
|
-
|
|
5223
|
-
/**
|
|
5224
|
-
|
|
5225
|
-
/** Product name for Stripe checkout (dynamic pricing mode) */
|
|
5226
|
-
productName?: string;
|
|
5227
|
-
/** Currency code, defaults to 'eur' (dynamic pricing mode) */
|
|
5228
|
-
currency?: string;
|
|
5229
|
-
mode: 'payment' | 'subscription';
|
|
5748
|
+
/** Key in the app's StripeBackConfig. 0.1.x callers may pass it as `metadata.billingConfigKey`. */
|
|
5749
|
+
billingConfigKey?: string;
|
|
5750
|
+
/** Requested lines. Defaults to `[{ productId: billingConfigKey, quantity: 1 }]` (single product / subscription). */
|
|
5751
|
+
lineItems?: CheckoutLineItemInput[];
|
|
5230
5752
|
successUrl?: string;
|
|
5231
5753
|
cancelUrl?: string;
|
|
5232
5754
|
metadata?: Record<string, string>;
|
|
5755
|
+
/** Single-price items: show the promotion code field (default true). StripeOrder: set in the back config. */
|
|
5233
5756
|
allowPromotionCodes?: boolean;
|
|
5757
|
+
/** Stripe price ID (single-price items). Must match the back config priceId when it has one; defaults to it. */
|
|
5758
|
+
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
|
+
/** Currency for dynamic pricing (default 'eur'). */
|
|
5764
|
+
currency?: string;
|
|
5765
|
+
/** Stripe mode for single-price items. Defaults to the back config item type. */
|
|
5766
|
+
mode?: CheckoutMode;
|
|
5234
5767
|
}
|
|
5235
5768
|
/**
|
|
5236
5769
|
* Billing API type - complete interface for useStripeBilling hook
|
|
@@ -5277,42 +5810,82 @@ interface BillingAPI {
|
|
|
5277
5810
|
* @author AMBROISE PARK Consulting
|
|
5278
5811
|
*/
|
|
5279
5812
|
type StripeFrontConfig = v.InferOutput<typeof StripeFrontConfigSchema>;
|
|
5813
|
+
type StripeBackConfigItemData = v.InferOutput<typeof StripeBackConfigSchema>[string];
|
|
5814
|
+
/**
|
|
5815
|
+
* Hooks shared by every back-config item.
|
|
5816
|
+
*/
|
|
5817
|
+
interface StripeBackItemCommonHooks {
|
|
5818
|
+
/** Called before Stripe checkout session creation. Can block checkout. */
|
|
5819
|
+
beforeCheckout?: BeforeCheckoutHook;
|
|
5820
|
+
}
|
|
5821
|
+
/**
|
|
5822
|
+
* One-time payment item (single Stripe price) granting a tier.
|
|
5823
|
+
* The tier is granted once the payment is settled: at checkout completion when
|
|
5824
|
+
* `payment_status` is `paid` / `no_payment_required`, else on
|
|
5825
|
+
* `checkout.session.async_payment_succeeded` (e.g. SEPA debit).
|
|
5826
|
+
* Hooks run at least once per Stripe event and may run again for the same
|
|
5827
|
+
* purchase: make them idempotent. Their errors are logged, not retried.
|
|
5828
|
+
*
|
|
5829
|
+
* @version 0.2.0
|
|
5830
|
+
* @since 0.2.0
|
|
5831
|
+
* @author AMBROISE PARK Consulting
|
|
5832
|
+
*/
|
|
5833
|
+
type StripePaymentBackItem = Extract<StripeBackConfigItemData, {
|
|
5834
|
+
type: 'StripePayment';
|
|
5835
|
+
}> & StripeBackItemCommonHooks & {
|
|
5836
|
+
onPurchaseSuccess?: (userId: string, metadata: Record<string, string>) => Promise<void>;
|
|
5837
|
+
onPurchaseFailure?: (userId: string, metadata: Record<string, string>) => Promise<void>;
|
|
5838
|
+
};
|
|
5839
|
+
/**
|
|
5840
|
+
* Recurring subscription item (single Stripe price) granting a tier.
|
|
5841
|
+
* Granted once the first payment is settled (same rule as StripePayment).
|
|
5842
|
+
* Hooks run at least once per Stripe event and may run again for the same
|
|
5843
|
+
* event: make them idempotent. Their errors are logged, not retried.
|
|
5844
|
+
*
|
|
5845
|
+
* @version 0.2.0
|
|
5846
|
+
* @since 0.2.0
|
|
5847
|
+
* @author AMBROISE PARK Consulting
|
|
5848
|
+
*/
|
|
5849
|
+
type StripeSubscriptionBackItem = Extract<StripeBackConfigItemData, {
|
|
5850
|
+
type: 'StripeSubscription';
|
|
5851
|
+
}> & StripeBackItemCommonHooks & {
|
|
5852
|
+
onSubscriptionCreated?: (userId: string, metadata: Record<string, string>) => Promise<void>;
|
|
5853
|
+
onSubscriptionRenewed?: (userId: string, metadata: Record<string, string>) => Promise<void>;
|
|
5854
|
+
onSubscriptionCancelled?: (userId: string, metadata: Record<string, string>) => Promise<void>;
|
|
5855
|
+
onPaymentFailed?: (userId: string, metadata: Record<string, string>) => Promise<void>;
|
|
5856
|
+
};
|
|
5857
|
+
/**
|
|
5858
|
+
* Multi-line, one-time order priced on the server.
|
|
5859
|
+
* Order hooks are delivered at least once and must be idempotent on
|
|
5860
|
+
* `ctx.orderId` / `ctx.eventId`: a hook re-runs when it threw (the webhook
|
|
5861
|
+
* answers non-2xx and Stripe retries) and also after it succeeded when the
|
|
5862
|
+
* framework could not record the event as processed. A store write cannot be
|
|
5863
|
+
* atomic with an arbitrary hook, so exactly-once is not possible.
|
|
5864
|
+
*
|
|
5865
|
+
* @version 0.2.0
|
|
5866
|
+
* @since 0.2.0
|
|
5867
|
+
* @author AMBROISE PARK Consulting
|
|
5868
|
+
*/
|
|
5869
|
+
type StripeOrderBackItem = Extract<StripeBackConfigItemData, {
|
|
5870
|
+
type: 'StripeOrder';
|
|
5871
|
+
}> & StripeBackItemCommonHooks & {
|
|
5872
|
+
/** Resolve requested lines to names and unit prices (excl. VAT) and create the app order. */
|
|
5873
|
+
resolveLineItems: (items: CheckoutLineItemInput[], ctx: ResolveLineItemsContext) => Promise<ResolvedOrder>;
|
|
5874
|
+
/** Payment confirmed (card at completion, or async method such as SEPA debit later). */
|
|
5875
|
+
onOrderPaid: (session: CheckoutSessionSnapshot, lineItems: PaidLineItem[], ctx: OrderHookContext) => Promise<void>;
|
|
5876
|
+
/** Async payment (e.g. SEPA debit) failed after checkout completion. */
|
|
5877
|
+
onOrderPaymentFailed?: (session: CheckoutSessionSnapshot, ctx: OrderHookContext) => Promise<void>;
|
|
5878
|
+
/** Checkout session expired without payment. */
|
|
5879
|
+
onOrderExpired?: (session: CheckoutSessionSnapshot, ctx: OrderHookContext) => Promise<void>;
|
|
5880
|
+
};
|
|
5280
5881
|
/**
|
|
5281
5882
|
* Backend billing configuration type with hooks
|
|
5282
5883
|
*
|
|
5283
|
-
* @version 0.
|
|
5884
|
+
* @version 0.2.0
|
|
5284
5885
|
* @since 0.0.1
|
|
5285
5886
|
* @author AMBROISE PARK Consulting
|
|
5286
5887
|
*/
|
|
5287
|
-
type StripeBackConfig =
|
|
5288
|
-
[key: string]: {
|
|
5289
|
-
type: 'StripePayment' | 'StripeSubscription';
|
|
5290
|
-
name: string;
|
|
5291
|
-
price: number;
|
|
5292
|
-
currency: string;
|
|
5293
|
-
/** Stripe price ID (fixed pricing). Optional for dynamic pricing products. */
|
|
5294
|
-
priceId?: string;
|
|
5295
|
-
/** Default amount in cents (dynamic pricing). */
|
|
5296
|
-
unitAmount?: number;
|
|
5297
|
-
/** Product name for Stripe checkout (dynamic pricing). */
|
|
5298
|
-
productName?: string;
|
|
5299
|
-
/** Maximum allowed unit amount in cents. Security cap for client-provided amounts. */
|
|
5300
|
-
maxUnitAmount?: number;
|
|
5301
|
-
tier: string;
|
|
5302
|
-
duration: string;
|
|
5303
|
-
description?: string;
|
|
5304
|
-
metadata?: Record<string, string>;
|
|
5305
|
-
allowPromotionCodes?: boolean;
|
|
5306
|
-
onPurchaseSuccess?: (userId: string, metadata: Record<string, string>) => Promise<void>;
|
|
5307
|
-
onPurchaseFailure?: (userId: string, metadata: Record<string, string>) => Promise<void>;
|
|
5308
|
-
onSubscriptionCreated?: (userId: string, metadata: Record<string, string>) => Promise<void>;
|
|
5309
|
-
onSubscriptionRenewed?: (userId: string, metadata: Record<string, string>) => Promise<void>;
|
|
5310
|
-
onSubscriptionCancelled?: (userId: string, metadata: Record<string, string>) => Promise<void>;
|
|
5311
|
-
onPaymentFailed?: (userId: string, metadata: Record<string, string>) => Promise<void>;
|
|
5312
|
-
/** Hook called before Stripe checkout session creation. Can block or override pricing. */
|
|
5313
|
-
beforeCheckout?: BeforeCheckoutHook;
|
|
5314
|
-
};
|
|
5315
|
-
};
|
|
5888
|
+
type StripeBackConfig = Record<string, StripePaymentBackItem | StripeSubscriptionBackItem | StripeOrderBackItem>;
|
|
5316
5889
|
/**
|
|
5317
5890
|
* Stripe configuration interface
|
|
5318
5891
|
*
|
|
@@ -5347,6 +5920,89 @@ interface StripeConfig {
|
|
|
5347
5920
|
};
|
|
5348
5921
|
};
|
|
5349
5922
|
}
|
|
5923
|
+
/**
|
|
5924
|
+
* Auth operations the server billing code needs: read a user's custom claims
|
|
5925
|
+
* and write them back (subscription tier lives in the claims).
|
|
5926
|
+
*
|
|
5927
|
+
* @version 0.1.0
|
|
5928
|
+
* @since 0.5.0
|
|
5929
|
+
* @author AMBROISE PARK Consulting
|
|
5930
|
+
*/
|
|
5931
|
+
interface BillingAuthProvider {
|
|
5932
|
+
getUser(userId: string): Promise<{
|
|
5933
|
+
customClaims?: Record<string, unknown>;
|
|
5934
|
+
}>;
|
|
5935
|
+
setCustomUserClaims(userId: string, claims: Record<string, unknown>): Promise<void>;
|
|
5936
|
+
}
|
|
5937
|
+
/**
|
|
5938
|
+
* Subscription fields written to a user by the webhook and subscription helpers
|
|
5939
|
+
* (the stored record, {@link SubscriptionData}, adds userId and updatedAt).
|
|
5940
|
+
*
|
|
5941
|
+
* @version 0.1.0
|
|
5942
|
+
* @since 0.5.0
|
|
5943
|
+
* @author AMBROISE PARK Consulting
|
|
5944
|
+
*/
|
|
5945
|
+
interface SubscriptionUpdate {
|
|
5946
|
+
tier: string;
|
|
5947
|
+
status: 'active' | 'canceled' | 'past_due' | 'trialing' | 'incomplete';
|
|
5948
|
+
subscriptionEnd: string | null;
|
|
5949
|
+
cancelAtPeriodEnd?: boolean;
|
|
5950
|
+
subscriptionId?: string | null;
|
|
5951
|
+
customerId?: string;
|
|
5952
|
+
}
|
|
5953
|
+
/**
|
|
5954
|
+
* Writes a subscription update for a user.
|
|
5955
|
+
*
|
|
5956
|
+
* @version 0.1.0
|
|
5957
|
+
* @since 0.5.0
|
|
5958
|
+
* @author AMBROISE PARK Consulting
|
|
5959
|
+
*/
|
|
5960
|
+
type UpdateSubscriptionFn = (userId: string, data: SubscriptionUpdate, authProvider: BillingAuthProvider) => Promise<void>;
|
|
5961
|
+
/**
|
|
5962
|
+
* Checkout Session created by a provider.
|
|
5963
|
+
*
|
|
5964
|
+
* @version 0.1.0
|
|
5965
|
+
* @since 0.5.0
|
|
5966
|
+
* @author AMBROISE PARK Consulting
|
|
5967
|
+
*/
|
|
5968
|
+
interface CheckoutSessionResult {
|
|
5969
|
+
id: string;
|
|
5970
|
+
url: string | null;
|
|
5971
|
+
}
|
|
5972
|
+
/**
|
|
5973
|
+
* 0.1.x single-price session params, sent to a {@link StripeCheckoutProvider}.
|
|
5974
|
+
*
|
|
5975
|
+
* @version 0.2.0
|
|
5976
|
+
* @since 0.5.0
|
|
5977
|
+
* @author AMBROISE PARK Consulting
|
|
5978
|
+
*/
|
|
5979
|
+
interface CheckoutSessionParams {
|
|
5980
|
+
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
|
+
/** Currency code, defaults to 'eur' */
|
|
5986
|
+
currency?: string;
|
|
5987
|
+
customerEmail?: string;
|
|
5988
|
+
metadata: Record<string, string>;
|
|
5989
|
+
allowPromotionCodes: boolean;
|
|
5990
|
+
successUrl: string;
|
|
5991
|
+
cancelUrl: string;
|
|
5992
|
+
mode?: 'payment' | 'subscription';
|
|
5993
|
+
}
|
|
5994
|
+
/**
|
|
5995
|
+
* 0.1.x provider interface for Stripe checkout operations. Supports
|
|
5996
|
+
* StripePayment/StripeSubscription items only; StripeOrder needs the full-session
|
|
5997
|
+
* provider of @donotdev/functions (StripeSessionProvider).
|
|
5998
|
+
*
|
|
5999
|
+
* @version 0.1.0
|
|
6000
|
+
* @since 0.5.0
|
|
6001
|
+
* @author AMBROISE PARK Consulting
|
|
6002
|
+
*/
|
|
6003
|
+
interface StripeCheckoutProvider {
|
|
6004
|
+
createCheckoutSession(params: CheckoutSessionParams): Promise<CheckoutSessionResult>;
|
|
6005
|
+
}
|
|
5350
6006
|
|
|
5351
6007
|
/**
|
|
5352
6008
|
* @fileoverview Authentication Types
|
|
@@ -6091,6 +6747,38 @@ interface AuthProvider {
|
|
|
6091
6747
|
* @param remember - true for persistent session, false for session-only
|
|
6092
6748
|
*/
|
|
6093
6749
|
setRememberMe?(remember: boolean): Promise<void>;
|
|
6750
|
+
/**
|
|
6751
|
+
* Signed-in state read synchronously from the request cookies, without the auth
|
|
6752
|
+
* service. Lets the server render, and the client's hydration pass, show the real
|
|
6753
|
+
* signed-in state before the provider has initialised.
|
|
6754
|
+
* Display only: never an authorisation decision (the cookie is not verified).
|
|
6755
|
+
* Implemented by providers that keep their session in cookies (Supabase via
|
|
6756
|
+
* `createBrowserClient`); absent otherwise.
|
|
6757
|
+
*
|
|
6758
|
+
* @param cookieHeader - The request's `Cookie` header (`a=1; b=2`)
|
|
6759
|
+
* @returns The snapshot (`user: null` = signed out), or `null` when the cookies
|
|
6760
|
+
* cannot tell
|
|
6761
|
+
*/
|
|
6762
|
+
readSessionSnapshot?(cookieHeader: string): AuthSessionSnapshot | null;
|
|
6763
|
+
}
|
|
6764
|
+
/**
|
|
6765
|
+
* Signed-in state known from the request cookies, before the auth provider has
|
|
6766
|
+
* initialised (see AuthProvider.readSessionSnapshot). Display only.
|
|
6767
|
+
*
|
|
6768
|
+
* @version 0.1.0
|
|
6769
|
+
* @since 0.1.50
|
|
6770
|
+
* @author AMBROISE PARK Consulting
|
|
6771
|
+
*/
|
|
6772
|
+
interface AuthSessionSnapshot {
|
|
6773
|
+
/** The signed-in user, or `null` when signed out */
|
|
6774
|
+
user: AuthUser | null;
|
|
6775
|
+
/**
|
|
6776
|
+
* The session's access token while it is still valid, else absent. Server render
|
|
6777
|
+
* only: lets CRUD reads run as the visitor (ICrudAdapter.forAccessToken), so the
|
|
6778
|
+
* HTML carries the visitor's own data. The database verifies the token; the
|
|
6779
|
+
* framework never trusts it for anything else.
|
|
6780
|
+
*/
|
|
6781
|
+
accessToken?: string;
|
|
6094
6782
|
}
|
|
6095
6783
|
/**
|
|
6096
6784
|
* Information about a token including its status and expiration
|
|
@@ -8060,7 +8748,13 @@ interface PaginatedQueryResult<T> {
|
|
|
8060
8748
|
*/
|
|
8061
8749
|
interface CrudListQuery<T> {
|
|
8062
8750
|
readonly queryKey: readonly ['crud', string, 'query', string];
|
|
8063
|
-
|
|
8751
|
+
/**
|
|
8752
|
+
* Receives TanStack's query context; `client` (the request's QueryClient on the
|
|
8753
|
+
* server) selects a request-scoped adapter when one is bound.
|
|
8754
|
+
*/
|
|
8755
|
+
readonly queryFn: (context: {
|
|
8756
|
+
client: object;
|
|
8757
|
+
}) => Promise<PaginatedQueryResult<T>>;
|
|
8064
8758
|
readonly staleTime: number;
|
|
8065
8759
|
}
|
|
8066
8760
|
/**
|
|
@@ -8127,6 +8821,13 @@ interface ICrudAdapter {
|
|
|
8127
8821
|
* **Firestore:** Rules are row-level only — field-level filtering needs FunctionsAdapter.
|
|
8128
8822
|
*/
|
|
8129
8823
|
readonly dbLevelSecurity?: boolean;
|
|
8824
|
+
/**
|
|
8825
|
+
* A view of this adapter whose reads run as the holder of `accessToken` (the
|
|
8826
|
+
* visitor's session during the server render). Only for adapters whose backend
|
|
8827
|
+
* verifies the token itself (`dbLevelSecurity`), so a forged token reads nothing.
|
|
8828
|
+
* Absent: the server render does not prefetch signed-in visitors' data.
|
|
8829
|
+
*/
|
|
8830
|
+
forAccessToken?(accessToken: string): ICrudAdapter;
|
|
8130
8831
|
/** Fetch a single document by ID. Returns null if not found. */
|
|
8131
8832
|
get<T>(collection: string, id: string, schema?: dndevSchema<unknown>, options?: CrudOperationOptions): Promise<T | null>;
|
|
8132
8833
|
/** Create a new document with auto-generated ID. Returns the ID + parsed data. */
|
|
@@ -12931,7 +13632,6 @@ interface CanvasWidgetProps {
|
|
|
12931
13632
|
* @since 0.0.1
|
|
12932
13633
|
* @author AMBROISE PARK Consulting
|
|
12933
13634
|
*/
|
|
12934
|
-
//# sourceMappingURL=index.d.ts.map
|
|
12935
13635
|
|
|
12936
13636
|
declare const index_d$5_AGGREGATE_FILTER_OPERATORS: typeof AGGREGATE_FILTER_OPERATORS;
|
|
12937
13637
|
declare const index_d$5_AGGREGATE_OPERATIONS: typeof AGGREGATE_OPERATIONS;
|
|
@@ -13014,6 +13714,7 @@ type index_d$5_AuthRedirectHookResult = AuthRedirectHookResult;
|
|
|
13014
13714
|
type index_d$5_AuthRedirectOperation = AuthRedirectOperation;
|
|
13015
13715
|
type index_d$5_AuthRedirectOptions = AuthRedirectOptions;
|
|
13016
13716
|
type index_d$5_AuthResult = AuthResult;
|
|
13717
|
+
type index_d$5_AuthSessionSnapshot = AuthSessionSnapshot;
|
|
13017
13718
|
type index_d$5_AuthState = AuthState;
|
|
13018
13719
|
type index_d$5_AuthStateStore = AuthStateStore;
|
|
13019
13720
|
type index_d$5_AuthStatus = AuthStatus;
|
|
@@ -13034,9 +13735,11 @@ type index_d$5_BaseStoreState = BaseStoreState;
|
|
|
13034
13735
|
type index_d$5_BaseUserProfile = BaseUserProfile;
|
|
13035
13736
|
type index_d$5_BasicUserInfo = BasicUserInfo;
|
|
13036
13737
|
type index_d$5_BeforeCheckoutHook = BeforeCheckoutHook;
|
|
13738
|
+
type index_d$5_BeforeCheckoutOptions = BeforeCheckoutOptions;
|
|
13037
13739
|
type index_d$5_BeforeCheckoutResult = BeforeCheckoutResult;
|
|
13038
13740
|
type index_d$5_BillingAPI = BillingAPI;
|
|
13039
13741
|
type index_d$5_BillingAdapter = BillingAdapter;
|
|
13742
|
+
type index_d$5_BillingAuthProvider = BillingAuthProvider;
|
|
13040
13743
|
type index_d$5_BillingErrorCode = BillingErrorCode;
|
|
13041
13744
|
type index_d$5_BillingEvent = BillingEvent;
|
|
13042
13745
|
type index_d$5_BillingEventData = BillingEventData;
|
|
@@ -13074,10 +13777,16 @@ type index_d$5_CanvasSurface = CanvasSurface;
|
|
|
13074
13777
|
type index_d$5_CanvasWidgetMetadata = CanvasWidgetMetadata;
|
|
13075
13778
|
type index_d$5_CanvasWidgetProps = CanvasWidgetProps;
|
|
13076
13779
|
type index_d$5_CheckGitHubAccessRequest = CheckGitHubAccessRequest;
|
|
13780
|
+
type index_d$5_CheckoutAddress = CheckoutAddress;
|
|
13781
|
+
type index_d$5_CheckoutLineItemInput = CheckoutLineItemInput;
|
|
13782
|
+
declare const index_d$5_CheckoutLineItemInputSchema: typeof CheckoutLineItemInputSchema;
|
|
13077
13783
|
type index_d$5_CheckoutMode = CheckoutMode;
|
|
13078
13784
|
type index_d$5_CheckoutOptions = CheckoutOptions;
|
|
13079
13785
|
type index_d$5_CheckoutSessionMetadata = CheckoutSessionMetadata;
|
|
13080
13786
|
declare const index_d$5_CheckoutSessionMetadataSchema: typeof CheckoutSessionMetadataSchema;
|
|
13787
|
+
type index_d$5_CheckoutSessionParams = CheckoutSessionParams;
|
|
13788
|
+
type index_d$5_CheckoutSessionResult = CheckoutSessionResult;
|
|
13789
|
+
type index_d$5_CheckoutSessionSnapshot = CheckoutSessionSnapshot;
|
|
13081
13790
|
type index_d$5_CollectionSubscriptionCallback<T> = CollectionSubscriptionCallback<T>;
|
|
13082
13791
|
type index_d$5_ColumnDef<T extends FieldValues> = ColumnDef<T>;
|
|
13083
13792
|
type index_d$5_CommonSubscriptionFeatures = CommonSubscriptionFeatures;
|
|
@@ -13099,6 +13808,7 @@ type index_d$5_ConsentState = ConsentState;
|
|
|
13099
13808
|
type index_d$5_Context = Context;
|
|
13100
13809
|
type index_d$5_CookieOptions = CookieOptions;
|
|
13101
13810
|
type index_d$5_CreateCheckoutSessionRequest = CreateCheckoutSessionRequest;
|
|
13811
|
+
type index_d$5_CreateCheckoutSessionRequestInput = CreateCheckoutSessionRequestInput;
|
|
13102
13812
|
declare const index_d$5_CreateCheckoutSessionRequestSchema: typeof CreateCheckoutSessionRequestSchema;
|
|
13103
13813
|
type index_d$5_CreateCheckoutSessionResponse = CreateCheckoutSessionResponse;
|
|
13104
13814
|
declare const index_d$5_CreateCheckoutSessionResponseSchema: typeof CreateCheckoutSessionResponseSchema;
|
|
@@ -13282,6 +13992,8 @@ type index_d$5_ListResponse<T> = ListResponse<T>;
|
|
|
13282
13992
|
type index_d$5_ListSchemaType = ListSchemaType;
|
|
13283
13993
|
type index_d$5_LoadingActions = LoadingActions;
|
|
13284
13994
|
type index_d$5_LoadingState = LoadingState;
|
|
13995
|
+
declare const index_d$5_MAX_CHECKOUT_LINE_ITEMS: typeof MAX_CHECKOUT_LINE_ITEMS;
|
|
13996
|
+
declare const index_d$5_MAX_SHIPPING_RATE_IDS: typeof MAX_SHIPPING_RATE_IDS;
|
|
13285
13997
|
type index_d$5_MergedBarConfig = MergedBarConfig;
|
|
13286
13998
|
type index_d$5_MergedEntityFieldMap<F extends Record<string, EntityField>> = MergedEntityFieldMap<F>;
|
|
13287
13999
|
type index_d$5_MetricDefinition = MetricDefinition;
|
|
@@ -13325,6 +14037,7 @@ declare const index_d$5_ORDER_DIRECTION: typeof ORDER_DIRECTION;
|
|
|
13325
14037
|
type index_d$5_Observable<T> = Observable<T>;
|
|
13326
14038
|
type index_d$5_OrderByClause = OrderByClause;
|
|
13327
14039
|
type index_d$5_OrderDirection = OrderDirection;
|
|
14040
|
+
type index_d$5_OrderHookContext = OrderHookContext;
|
|
13328
14041
|
declare const index_d$5_PARTNER_ICONS: typeof PARTNER_ICONS;
|
|
13329
14042
|
declare const index_d$5_PAYLOAD_EVENTS: typeof PAYLOAD_EVENTS;
|
|
13330
14043
|
declare const index_d$5_PERMISSIONS: typeof PERMISSIONS;
|
|
@@ -13338,6 +14051,7 @@ type index_d$5_PageAuth = PageAuth;
|
|
|
13338
14051
|
type index_d$5_PageMeta = PageMeta;
|
|
13339
14052
|
type index_d$5_PaginatedQueryResult<T> = PaginatedQueryResult<T>;
|
|
13340
14053
|
type index_d$5_PaginationOptions = PaginationOptions;
|
|
14054
|
+
type index_d$5_PaidLineItem = PaidLineItem;
|
|
13341
14055
|
type index_d$5_PartnerConnectionState = PartnerConnectionState;
|
|
13342
14056
|
type index_d$5_PartnerIconId = PartnerIconId;
|
|
13343
14057
|
type index_d$5_PartnerId = PartnerId;
|
|
@@ -13389,7 +14103,11 @@ type index_d$5_Reference = Reference;
|
|
|
13389
14103
|
type index_d$5_RefreshSubscriptionRequest = RefreshSubscriptionRequest;
|
|
13390
14104
|
type index_d$5_RefreshSubscriptionResponse = RefreshSubscriptionResponse;
|
|
13391
14105
|
type index_d$5_RemoveCustomClaimsResponse = RemoveCustomClaimsResponse;
|
|
14106
|
+
type index_d$5_ResolveLineItemsContext = ResolveLineItemsContext;
|
|
13392
14107
|
type index_d$5_ResolvedLayoutConfig = ResolvedLayoutConfig;
|
|
14108
|
+
type index_d$5_ResolvedLineItem = ResolvedLineItem;
|
|
14109
|
+
type index_d$5_ResolvedOrder = ResolvedOrder;
|
|
14110
|
+
type index_d$5_ResolvedOrderSession = ResolvedOrderSession;
|
|
13393
14111
|
type index_d$5_RevokeGitHubAccessRequest = RevokeGitHubAccessRequest;
|
|
13394
14112
|
type index_d$5_RouteMeta = RouteMeta;
|
|
13395
14113
|
type index_d$5_RouteSource = RouteSource;
|
|
@@ -13424,6 +14142,7 @@ type index_d$5_StorageType = StorageType;
|
|
|
13424
14142
|
type index_d$5_Store<T> = Store<T>;
|
|
13425
14143
|
type index_d$5_StripeBackConfig = StripeBackConfig;
|
|
13426
14144
|
declare const index_d$5_StripeBackConfigSchema: typeof StripeBackConfigSchema;
|
|
14145
|
+
type index_d$5_StripeCheckoutProvider = StripeCheckoutProvider;
|
|
13427
14146
|
type index_d$5_StripeCheckoutRequest = StripeCheckoutRequest;
|
|
13428
14147
|
type index_d$5_StripeCheckoutResponse = StripeCheckoutResponse;
|
|
13429
14148
|
type index_d$5_StripeCheckoutSessionEventData = StripeCheckoutSessionEventData;
|
|
@@ -13437,7 +14156,12 @@ type index_d$5_StripeFrontConfig = StripeFrontConfig;
|
|
|
13437
14156
|
declare const index_d$5_StripeFrontConfigSchema: typeof StripeFrontConfigSchema;
|
|
13438
14157
|
type index_d$5_StripeInvoice = StripeInvoice;
|
|
13439
14158
|
type index_d$5_StripeInvoiceEventData = StripeInvoiceEventData;
|
|
14159
|
+
type index_d$5_StripeOrderBackItem = StripeOrderBackItem;
|
|
14160
|
+
declare const index_d$5_StripeOrderBackSchema: typeof StripeOrderBackSchema;
|
|
14161
|
+
declare const index_d$5_StripeOrderShippingSchema: typeof StripeOrderShippingSchema;
|
|
14162
|
+
declare const index_d$5_StripeOrderTaxSchema: typeof StripeOrderTaxSchema;
|
|
13440
14163
|
type index_d$5_StripePayment = StripePayment;
|
|
14164
|
+
type index_d$5_StripePaymentBackItem = StripePaymentBackItem;
|
|
13441
14165
|
type index_d$5_StripePaymentIntentEventData = StripePaymentIntentEventData;
|
|
13442
14166
|
type index_d$5_StripePaymentMethod = StripePaymentMethod;
|
|
13443
14167
|
declare const index_d$5_StripePaymentSchema: typeof StripePaymentSchema;
|
|
@@ -13445,6 +14169,7 @@ type index_d$5_StripePrice = StripePrice;
|
|
|
13445
14169
|
type index_d$5_StripeProduct = StripeProduct;
|
|
13446
14170
|
type index_d$5_StripeProvider = StripeProvider;
|
|
13447
14171
|
type index_d$5_StripeSubscription = StripeSubscription;
|
|
14172
|
+
type index_d$5_StripeSubscriptionBackItem = StripeSubscriptionBackItem;
|
|
13448
14173
|
type index_d$5_StripeSubscriptionData = StripeSubscriptionData;
|
|
13449
14174
|
declare const index_d$5_StripeSubscriptionSchema: typeof StripeSubscriptionSchema;
|
|
13450
14175
|
type index_d$5_StripeWebhookEvent = StripeWebhookEvent;
|
|
@@ -13461,6 +14186,7 @@ type index_d$5_SubscriptionHookResult = SubscriptionHookResult;
|
|
|
13461
14186
|
type index_d$5_SubscriptionInfo = SubscriptionInfo;
|
|
13462
14187
|
type index_d$5_SubscriptionStatus = SubscriptionStatus;
|
|
13463
14188
|
type index_d$5_SubscriptionTier = SubscriptionTier;
|
|
14189
|
+
type index_d$5_SubscriptionUpdate = SubscriptionUpdate;
|
|
13464
14190
|
type index_d$5_SupportedLanguage = SupportedLanguage;
|
|
13465
14191
|
type index_d$5_ThemeActions = ThemeActions;
|
|
13466
14192
|
type index_d$5_ThemeInfo = ThemeInfo;
|
|
@@ -13483,6 +14209,7 @@ type index_d$5_UnsubscribeFn = UnsubscribeFn;
|
|
|
13483
14209
|
type index_d$5_UpdateEntityData<T extends Record<string, any>> = UpdateEntityData<T>;
|
|
13484
14210
|
type index_d$5_UpdateEntityRequest = UpdateEntityRequest;
|
|
13485
14211
|
type index_d$5_UpdateEntityResponse = UpdateEntityResponse;
|
|
14212
|
+
type index_d$5_UpdateSubscriptionFn = UpdateSubscriptionFn;
|
|
13486
14213
|
type index_d$5_UploadOptions = UploadOptions;
|
|
13487
14214
|
type index_d$5_UploadProgressCallback = UploadProgressCallback;
|
|
13488
14215
|
type index_d$5_UploadResult = UploadResult;
|
|
@@ -13559,8 +14286,8 @@ declare const index_d$5_validateSubscriptionData: typeof validateSubscriptionDat
|
|
|
13559
14286
|
declare const index_d$5_validateUserSubscription: typeof validateUserSubscription;
|
|
13560
14287
|
declare const index_d$5_validateWebhookEvent: typeof validateWebhookEvent;
|
|
13561
14288
|
declare namespace index_d$5 {
|
|
13562
|
-
export { index_d$5_AGGREGATE_FILTER_OPERATORS as AGGREGATE_FILTER_OPERATORS, index_d$5_AGGREGATE_OPERATIONS as AGGREGATE_OPERATIONS, index_d$5_AIChatRequestSchema as AIChatRequestSchema, index_d$5_AIChatResponseSchema as AIChatResponseSchema, index_d$5_AIMessageSchema as AIMessageSchema, index_d$5_AIProviderConfigSchema as AIProviderConfigSchema, index_d$5_AIToolCallSchema as AIToolCallSchema, index_d$5_AIToolDefinitionSchema as AIToolDefinitionSchema, index_d$5_AIUsageSchema as AIUsageSchema, index_d$5_AI_ERROR_CODES as AI_ERROR_CODES, index_d$5_AI_MODELS as AI_MODELS, index_d$5_AI_PROVIDERS as AI_PROVIDERS, index_d$5_AI_ROLES as AI_ROLES, index_d$5_AI_TIERS as AI_TIERS, index_d$5_AI_TOKEN_PRICING as AI_TOKEN_PRICING, index_d$5_AUTH_EVENTS as AUTH_EVENTS, index_d$5_AUTH_PARTNERS as AUTH_PARTNERS, index_d$5_AUTH_PARTNER_STATE as AUTH_PARTNER_STATE, index_d$5_AuthUserSchema as AuthUserSchema, index_d$5_BILLING_EVENTS as BILLING_EVENTS, index_d$5_BREAKPOINT_RANGES as BREAKPOINT_RANGES, index_d$5_BREAKPOINT_THRESHOLDS as BREAKPOINT_THRESHOLDS, index_d$5_BulkAcrossCycleError as BulkAcrossCycleError, index_d$5_BulkCollisionError as BulkCollisionError, index_d$5_BulkNotImplementedError as BulkNotImplementedError, index_d$5_COMMON_TIER_CONFIGS as COMMON_TIER_CONFIGS, index_d$5_CONFIDENCE_LEVELS as CONFIDENCE_LEVELS, index_d$5_CONSENT_CATEGORY as CONSENT_CATEGORY, index_d$5_CONTEXTS as CONTEXTS, index_d$5_CRUD_OPERATORS as CRUD_OPERATORS, index_d$5_CheckoutSessionMetadataSchema as CheckoutSessionMetadataSchema, index_d$5_CreateCheckoutSessionRequestSchema as CreateCheckoutSessionRequestSchema, index_d$5_CreateCheckoutSessionResponseSchema as CreateCheckoutSessionResponseSchema, index_d$5_CustomClaimsSchema as CustomClaimsSchema, index_d$5_DEFAULT_AI_CONFIG as DEFAULT_AI_CONFIG, index_d$5_DEFAULT_AI_MARKUP as DEFAULT_AI_MARKUP, index_d$5_DEFAULT_ENTITY_ACCESS as DEFAULT_ENTITY_ACCESS, index_d$5_DEFAULT_LAYOUT_PRESET as DEFAULT_LAYOUT_PRESET, index_d$5_DEFAULT_SUBSCRIPTION as DEFAULT_SUBSCRIPTION, index_d$5_DENSITY as DENSITY, index_d$5_DoNotDevError as DoNotDevError, index_d$5_EDITABLE as EDITABLE, index_d$5_EMAIL_ERROR_CODES as EMAIL_ERROR_CODES, index_d$5_EMAIL_PROVIDERS as EMAIL_PROVIDERS, index_d$5_EMAIL_VERIFICATION_STATUS as EMAIL_VERIFICATION_STATUS, index_d$5_ENTITY_HOOK_ERRORS as ENTITY_HOOK_ERRORS, index_d$5_ENVIRONMENTS as ENVIRONMENTS, index_d$5_ERROR_CODES as ERROR_CODES, index_d$5_ERROR_SEVERITY as ERROR_SEVERITY, index_d$5_ERROR_SOURCE as ERROR_SOURCE, index_d$5_EntityHookError as EntityHookError, index_d$5_FEATURES as FEATURES, index_d$5_FEATURE_CONSENT_MATRIX as FEATURE_CONSENT_MATRIX, index_d$5_FEATURE_STATUS as FEATURE_STATUS, index_d$5_FIELD_TYPES as FIELD_TYPES, index_d$5_FIREBASE_ERROR_MAP as FIREBASE_ERROR_MAP, index_d$5_FOOTER_MODE as FOOTER_MODE, index_d$5_GITHUB_PERMISSION_LEVELS as GITHUB_PERMISSION_LEVELS, index_d$5_LAYOUT_PRESET as LAYOUT_PRESET, index_d$5_LIST_SCHEMA_TYPE as LIST_SCHEMA_TYPE, index_d$5_OAUTH_EVENTS as OAUTH_EVENTS, index_d$5_OAUTH_PARTNERS as OAUTH_PARTNERS, index_d$5_ORDER_DIRECTION as ORDER_DIRECTION, index_d$5_PARTNER_ICONS as PARTNER_ICONS, index_d$5_PAYLOAD_EVENTS as PAYLOAD_EVENTS, index_d$5_PERMISSIONS as PERMISSIONS, index_d$5_PLATFORMS as PLATFORMS, index_d$5_PWA_ASSET_TYPES as PWA_ASSET_TYPES, index_d$5_PWA_DISPLAY_MODES as PWA_DISPLAY_MODES, index_d$5_ProductDeclarationSchema as ProductDeclarationSchema, index_d$5_ProductDeclarationsSchema as ProductDeclarationsSchema, index_d$5_ROUTE_SOURCES as ROUTE_SOURCES, index_d$5_STORAGE_SCOPES as STORAGE_SCOPES, index_d$5_STORAGE_TYPES as STORAGE_TYPES, index_d$5_STRIPE_EVENTS as STRIPE_EVENTS, index_d$5_STRIPE_MODES as STRIPE_MODES, index_d$5_SUBSCRIPTION_DURATIONS as SUBSCRIPTION_DURATIONS, index_d$5_SUBSCRIPTION_STATUS as SUBSCRIPTION_STATUS, index_d$5_SUBSCRIPTION_TIERS as SUBSCRIPTION_TIERS, index_d$5_SendEmailRequestSchema as SendEmailRequestSchema, index_d$5_SendEmailResponseSchema as SendEmailResponseSchema, index_d$5_StripeBackConfigSchema as StripeBackConfigSchema, index_d$5_StripeFrontConfigSchema as StripeFrontConfigSchema, index_d$5_StripePaymentSchema as StripePaymentSchema, index_d$5_StripeSubscriptionSchema as StripeSubscriptionSchema, index_d$5_SubscriptionClaimsSchema as SubscriptionClaimsSchema, index_d$5_SubscriptionDataSchema as SubscriptionDataSchema, index_d$5_USER_ROLES as USER_ROLES, index_d$5_UserSubscriptionSchema as UserSubscriptionSchema, index_d$5_VISIBILITY as VISIBILITY, index_d$5_WebhookEventSchema as WebhookEventSchema, index_d$5_checkGitHubAccessSchema as checkGitHubAccessSchema, index_d$5_createDefaultSubscriptionClaims as createDefaultSubscriptionClaims, index_d$5_createDefaultUserProfile as createDefaultUserProfile, index_d$5_createEntitySchema as createEntitySchema, index_d$5_deleteEntitySchema as deleteEntitySchema, index_d$5_disconnectOAuthSchema as disconnectOAuthSchema, index_d$5_exchangeTokenSchema as exchangeTokenSchema, index_d$5_getBreakpointFromWidth as getBreakpointFromWidth, index_d$5_getBreakpointUtils as getBreakpointUtils, index_d$5_getConnectionsSchema as getConnectionsSchema, index_d$5_getEntitySchema as getEntitySchema, index_d$5_githubPermissionSchema as githubPermissionSchema, index_d$5_githubRepoConfigSchema as githubRepoConfigSchema, index_d$5_grantGitHubAccessSchema as grantGitHubAccessSchema, index_d$5_isAuthPartnerId as isAuthPartnerId, index_d$5_isBreakpoint as isBreakpoint, index_d$5_isOAuthPartnerId as isOAuthPartnerId, index_d$5_listEntitiesSchema as listEntitiesSchema, index_d$5_overrideFeatures as overrideFeatures, index_d$5_overridePaymentModes as overridePaymentModes, index_d$5_overridePermissions as overridePermissions, index_d$5_overrideSubscriptionStatus as overrideSubscriptionStatus, index_d$5_overrideSubscriptionTiers as overrideSubscriptionTiers, index_d$5_overrideUserRoles as overrideUserRoles, index_d$5_refreshTokenSchema as refreshTokenSchema, index_d$5_revokeGitHubAccessSchema as revokeGitHubAccessSchema, index_d$5_updateEntitySchema as updateEntitySchema, index_d$5_validateAIChatRequest as validateAIChatRequest, index_d$5_validateAIChatResponse as validateAIChatResponse, index_d$5_validateAuthPartners as validateAuthPartners, index_d$5_validateAuthSchemas as validateAuthSchemas, index_d$5_validateAuthUser as validateAuthUser, index_d$5_validateBillingSchemas as validateBillingSchemas, index_d$5_validateCheckoutSessionMetadata as validateCheckoutSessionMetadata, index_d$5_validateCreateCheckoutSessionRequest as validateCreateCheckoutSessionRequest, index_d$5_validateCreateCheckoutSessionResponse as validateCreateCheckoutSessionResponse, index_d$5_validateCustomClaims as validateCustomClaims, index_d$5_validateOAuthPartners as validateOAuthPartners, index_d$5_validateSendEmailRequest as validateSendEmailRequest, index_d$5_validateSendEmailResponse as validateSendEmailResponse, index_d$5_validateStripeBackConfig as validateStripeBackConfig, index_d$5_validateStripeFrontConfig as validateStripeFrontConfig, index_d$5_validateSubscriptionClaims as validateSubscriptionClaims, index_d$5_validateSubscriptionData as validateSubscriptionData, index_d$5_validateUserSubscription as validateUserSubscription, index_d$5_validateWebhookEvent as validateWebhookEvent };
|
|
13563
|
-
export type { index_d$5_AIAPI as AIAPI, index_d$5_AIChatRequest as AIChatRequest, index_d$5_AIChatResponse as AIChatResponse, index_d$5_AIConfig as AIConfig, index_d$5_AICostConfig as AICostConfig, index_d$5_AICostEvent as AICostEvent, index_d$5_AICostRecord as AICostRecord, index_d$5_AICostResult as AICostResult, index_d$5_AIErrorCode as AIErrorCode, index_d$5_AIMessage as AIMessage, index_d$5_AIModelPricing as AIModelPricing, index_d$5_AIProvider as AIProvider, index_d$5_AIProviderConfig as AIProviderConfig, index_d$5_AIRateLimitConfig as AIRateLimitConfig, index_d$5_AIRouteConfig as AIRouteConfig, index_d$5_AITierId as AITierId, index_d$5_AIToolCall as AIToolCall, index_d$5_AIToolDefinition as AIToolDefinition, index_d$5_AIToolParameter as AIToolParameter, index_d$5_AIUsage as AIUsage, index_d$5_AccountLinkResult as AccountLinkResult, index_d$5_AccountLinkingInfo as AccountLinkingInfo, index_d$5_AdminCheckHookResult as AdminCheckHookResult, index_d$5_AdminClaims as AdminClaims, index_d$5_AggregateConfig as AggregateConfig, index_d$5_AggregateFilterOperator as AggregateFilterOperator, index_d$5_AggregateOperation as AggregateOperation, index_d$5_AggregateRequest as AggregateRequest, index_d$5_AggregateResponse as AggregateResponse, index_d$5_AnyEntity as AnyEntity, index_d$5_AnyFieldValue as AnyFieldValue, index_d$5_AnyValibotSchema as AnyValibotSchema, index_d$5_ApiResponse as ApiResponse, index_d$5_AppConfig as AppConfig, index_d$5_AppCookieCategories as AppCookieCategories, index_d$5_AppMetadata as AppMetadata, index_d$5_AppProvidersProps as AppProvidersProps, index_d$5_AssetsPluginConfig as AssetsPluginConfig, index_d$5_AttemptRecord as AttemptRecord, index_d$5_AuditEvent as AuditEvent, index_d$5_AuditEventType as AuditEventType, index_d$5_AuthAPI as AuthAPI, index_d$5_AuthActions as AuthActions, index_d$5_AuthConfig as AuthConfig, index_d$5_AuthContextValue as AuthContextValue, index_d$5_AuthCoreHookResult as AuthCoreHookResult, index_d$5_AuthError as AuthError, index_d$5_AuthEventData as AuthEventData, index_d$5_AuthEventKey as AuthEventKey, index_d$5_AuthEventName as AuthEventName, index_d$5_AuthHardeningContext as AuthHardeningContext, index_d$5_AuthMethod as AuthMethod, index_d$5_AuthPartner as AuthPartner, index_d$5_AuthPartnerHookResult as AuthPartnerHookResult, index_d$5_AuthPartnerId as AuthPartnerId, index_d$5_AuthPartnerResult as AuthPartnerResult, index_d$5_AuthPartnerState as AuthPartnerState, index_d$5_AuthProvider as AuthProvider, index_d$5_AuthProviderProps as AuthProviderProps, index_d$5_AuthRedirectHookResult as AuthRedirectHookResult, index_d$5_AuthRedirectOperation as AuthRedirectOperation, index_d$5_AuthRedirectOptions as AuthRedirectOptions, index_d$5_AuthResult as AuthResult, index_d$5_AuthState as AuthState, index_d$5_AuthStateStore as AuthStateStore, index_d$5_AuthStatus as AuthStatus, index_d$5_AuthTokenHookResult as AuthTokenHookResult, index_d$5_AuthUser as AuthUser, index_d$5_BaseActions as BaseActions, index_d$5_BaseCredentials as BaseCredentials, index_d$5_BaseDocument as BaseDocument, index_d$5_BaseEntityFields as BaseEntityFields, index_d$5_BasePartnerState as BasePartnerState, index_d$5_BaseState as BaseState, index_d$5_BaseStoreActions as BaseStoreActions, index_d$5_BaseStoreState as BaseStoreState, index_d$5_BaseUserProfile as BaseUserProfile, index_d$5_BasicUserInfo as BasicUserInfo, index_d$5_BeforeCheckoutHook as BeforeCheckoutHook, index_d$5_BeforeCheckoutResult as BeforeCheckoutResult, index_d$5_BillingAPI as BillingAPI, index_d$5_BillingAdapter as BillingAdapter, index_d$5_BillingErrorCode as BillingErrorCode, index_d$5_BillingEvent as BillingEvent, index_d$5_BillingEventData as BillingEventData, index_d$5_BillingEventKey as BillingEventKey, index_d$5_BillingEventName as BillingEventName, index_d$5_BillingProvider as BillingProvider, index_d$5_BillingProviderConfig as BillingProviderConfig, index_d$5_BillingRedirectOperation as BillingRedirectOperation, index_d$5_Breakpoint as Breakpoint, index_d$5_BreakpointUtils as BreakpointUtils, index_d$5_BuiltInFieldType as BuiltInFieldType, index_d$5_BulkAcrossBatch as BulkAcrossBatch, index_d$5_BulkAcrossResult as BulkAcrossResult, index_d$5_BulkOperations as BulkOperations, index_d$5_BulkResult as BulkResult, index_d$5_BusinessEntity as BusinessEntity, index_d$5_CachedError as CachedError, index_d$5_CanAPI as CanAPI, index_d$5_CanvasBlock as CanvasBlock, index_d$5_CanvasCallerAccess as CanvasCallerAccess, index_d$5_CanvasEvent as CanvasEvent, index_d$5_CanvasLifetime as CanvasLifetime, index_d$5_CanvasSurface as CanvasSurface, index_d$5_CanvasWidgetMetadata as CanvasWidgetMetadata, index_d$5_CanvasWidgetProps as CanvasWidgetProps, index_d$5_CheckGitHubAccessRequest as CheckGitHubAccessRequest, index_d$5_CheckoutMode as CheckoutMode, index_d$5_CheckoutOptions as CheckoutOptions, index_d$5_CheckoutSessionMetadata as CheckoutSessionMetadata, index_d$5_CollectionSubscriptionCallback as CollectionSubscriptionCallback, index_d$5_ColumnDef as ColumnDef, index_d$5_CommonSubscriptionFeatures as CommonSubscriptionFeatures, index_d$5_CommonTranslations as CommonTranslations, index_d$5_ConditionBuilderLike as ConditionBuilderLike, index_d$5_ConditionExpression as ConditionExpression, index_d$5_ConditionGroup as ConditionGroup, index_d$5_ConditionInput as ConditionInput, index_d$5_ConditionNode as ConditionNode, index_d$5_ConditionOperator as ConditionOperator, index_d$5_ConditionResult as ConditionResult, index_d$5_ConditionalBehavior as ConditionalBehavior, index_d$5_ConfidenceLevel as ConfidenceLevel, index_d$5_ConnectOptions as ConnectOptions, index_d$5_ConsentAPI as ConsentAPI, index_d$5_ConsentActions as ConsentActions, index_d$5_ConsentCategory as ConsentCategory, index_d$5_ConsentState as ConsentState, index_d$5_Context as Context, index_d$5_CookieOptions as CookieOptions, index_d$5_CreateCheckoutSessionRequest as CreateCheckoutSessionRequest, index_d$5_CreateCheckoutSessionResponse as CreateCheckoutSessionResponse, index_d$5_CreateEntityData as CreateEntityData, index_d$5_CreateEntityRequest as CreateEntityRequest, index_d$5_CreateEntityResponse as CreateEntityResponse, index_d$5_CrudAPI as CrudAPI, index_d$5_CrudCardProps as CrudCardProps, index_d$5_CrudConfig as CrudConfig, index_d$5_CrudCreateInput as CrudCreateInput, index_d$5_CrudDocQuery as CrudDocQuery, index_d$5_CrudListQuery as CrudListQuery, index_d$5_CrudOperationOptions as CrudOperationOptions, index_d$5_CrudOperator as CrudOperator, index_d$5_CustomClaims as CustomClaims, index_d$5_CustomFieldOptionsMap as CustomFieldOptionsMap, index_d$5_CustomStoreConfig as CustomStoreConfig, index_d$5_DateValue as DateValue, index_d$5_DeleteEntityRequest as DeleteEntityRequest, index_d$5_DeleteEntityResponse as DeleteEntityResponse, index_d$5_Density as Density, index_d$5_DnDevOverride as DnDevOverride, index_d$5_DnDevWrapper as DnDevWrapper, index_d$5_DndevFrameworkConfig as DndevFrameworkConfig, index_d$5_DndevProviders as DndevProviders, index_d$5_DndevStoreApi as DndevStoreApi, index_d$5_DoNotDevCookieCategories as DoNotDevCookieCategories, index_d$5_DocumentSubscriptionCallback as DocumentSubscriptionCallback, index_d$5_DynamicFormRule as DynamicFormRule, index_d$5_Editable as Editable, index_d$5_EffectiveConnectionType as EffectiveConnectionType, index_d$5_EmailConfig as EmailConfig, index_d$5_EmailErrorCode as EmailErrorCode, index_d$5_EmailProvider as EmailProvider, index_d$5_EmailRouteConfig as EmailRouteConfig, index_d$5_EmailTemplate as EmailTemplate, index_d$5_EmailTemplateRegistry as EmailTemplateRegistry, index_d$5_EmailVerificationHookResult as EmailVerificationHookResult, index_d$5_EmailVerificationStatus as EmailVerificationStatus, index_d$5_Entity as Entity, index_d$5_EntityAccessConfig as EntityAccessConfig, index_d$5_EntityAccessDefaults as EntityAccessDefaults, index_d$5_EntityBrowseBaseProps as EntityBrowseBaseProps, index_d$5_EntityCardListProps as EntityCardListProps, index_d$5_EntityDisplayRendererProps as EntityDisplayRendererProps, index_d$5_EntityField as EntityField, index_d$5_EntityFieldMapDefault as EntityFieldMapDefault, index_d$5_EntityFormRendererProps as EntityFormRendererProps, index_d$5_EntityHookErrors as EntityHookErrors, index_d$5_EntityListProps as EntityListProps, index_d$5_EntityMetadata as EntityMetadata, index_d$5_EntityOwnershipConfig as EntityOwnershipConfig, index_d$5_EntityOwnershipPublicCondition as EntityOwnershipPublicCondition, index_d$5_EntityRecommendationsProps as EntityRecommendationsProps, index_d$5_EntityRecord as EntityRecord, index_d$5_EntityRowFromFields as EntityRowFromFields, index_d$5_EntityTemplateProps as EntityTemplateProps, index_d$5_EntityTranslations as EntityTranslations, index_d$5_EnvironmentMode as EnvironmentMode, index_d$5_ErrorCode as ErrorCode, index_d$5_ErrorSeverity as ErrorSeverity, index_d$5_ErrorSource as ErrorSource, index_d$5_ExchangeTokenParams as ExchangeTokenParams, index_d$5_ExchangeTokenRequest as ExchangeTokenRequest, index_d$5_ExchangeTokenResponse as ExchangeTokenResponse, index_d$5_FaviconConfig as FaviconConfig, index_d$5_Feature as Feature, index_d$5_FeatureAccessHookResult as FeatureAccessHookResult, index_d$5_FeatureConsentRequirement as FeatureConsentRequirement, index_d$5_FeatureHookResult as FeatureHookResult, index_d$5_FeatureId as FeatureId, index_d$5_FeatureName as FeatureName, index_d$5_FeatureStatus as FeatureStatus, index_d$5_FeaturesConfig as FeaturesConfig, index_d$5_FeaturesPluginConfig as FeaturesPluginConfig, index_d$5_FeaturesRequiringAnyConsent as FeaturesRequiringAnyConsent, index_d$5_FeaturesRequiringConsent as FeaturesRequiringConsent, index_d$5_FeaturesWithoutConsent as FeaturesWithoutConsent, index_d$5_FieldCondition as FieldCondition, index_d$5_FieldType as FieldType, index_d$5_FieldTypeToValue as FieldTypeToValue, index_d$5_FileAsset as FileAsset, index_d$5_FirebaseCallOptions as FirebaseCallOptions, index_d$5_FirebaseConfig as FirebaseConfig, index_d$5_FirestoreTimestamp as FirestoreTimestamp, index_d$5_FirestoreUniqueConstraintValidator as FirestoreUniqueConstraintValidator, index_d$5_FooterConfig as FooterConfig, index_d$5_FooterMode as FooterMode, index_d$5_FooterZoneConfig as FooterZoneConfig, index_d$5_FormConfig as FormConfig, index_d$5_FormStep as FormStep, index_d$5_FunctionCallConfig as FunctionCallConfig, index_d$5_FunctionCallContext as FunctionCallContext, index_d$5_FunctionCallOptions as FunctionCallOptions, index_d$5_FunctionCallResult as FunctionCallResult, index_d$5_FunctionClient as FunctionClient, index_d$5_FunctionClientFactoryOptions as FunctionClientFactoryOptions, index_d$5_FunctionDefaults as FunctionDefaults, index_d$5_FunctionEndpoint as FunctionEndpoint, index_d$5_FunctionError as FunctionError, index_d$5_FunctionLoader as FunctionLoader, index_d$5_FunctionMemory as FunctionMemory, index_d$5_FunctionMeta as FunctionMeta, index_d$5_FunctionPlatform as FunctionPlatform, index_d$5_FunctionResponse as FunctionResponse, index_d$5_FunctionSchema as FunctionSchema, index_d$5_FunctionSchemas as FunctionSchemas, index_d$5_FunctionSystem as FunctionSystem, index_d$5_FunctionTrigger as FunctionTrigger, index_d$5_FunctionsConfig as FunctionsConfig, index_d$5_GetCustomClaimsResponse as GetCustomClaimsResponse, index_d$5_GetEntityData as GetEntityData, index_d$5_GetEntityRequest as GetEntityRequest, index_d$5_GetEntityResponse as GetEntityResponse, index_d$5_GetUserAuthStatusResponse as GetUserAuthStatusResponse, index_d$5_GitHubPermission as GitHubPermission, index_d$5_GitHubRepoConfig as GitHubRepoConfig, index_d$5_GrantGitHubAccessRequest as GrantGitHubAccessRequest, index_d$5_GroupByDefinition as GroupByDefinition, index_d$5_HeaderZoneConfig as HeaderZoneConfig, index_d$5_I18nConfig as I18nConfig, index_d$5_I18nPluginConfig as I18nPluginConfig, index_d$5_I18nProviderProps as I18nProviderProps, index_d$5_ICallableProvider as ICallableProvider, index_d$5_ICrudAdapter as ICrudAdapter, index_d$5_ID as ID, index_d$5_INetworkManager as INetworkManager, index_d$5_IServerAuthAdapter as IServerAuthAdapter, index_d$5_IStorageAdapter as IStorageAdapter, index_d$5_IStorageManager as IStorageManager, index_d$5_IStorageStrategy as IStorageStrategy, index_d$5_InferEntityRow as InferEntityRow, index_d$5_Invoice as Invoice, index_d$5_InvoiceItem as InvoiceItem, index_d$5_LanguageData as LanguageData, LanguageInfo$1 as LanguageInfo, index_d$5_LayoutConfig as LayoutConfig, index_d$5_LayoutPreset as LayoutPreset, index_d$5_LegalCompanyInfo as LegalCompanyInfo, index_d$5_LegalConfig as LegalConfig, index_d$5_LegalContactInfo as LegalContactInfo, index_d$5_LegalDirectorInfo as LegalDirectorInfo, index_d$5_LegalHostingInfo as LegalHostingInfo, index_d$5_LegalJurisdictionInfo as LegalJurisdictionInfo, index_d$5_LegalSectionsConfig as LegalSectionsConfig, index_d$5_LegalWebsiteInfo as LegalWebsiteInfo, index_d$5_ListCardLayout as ListCardLayout, index_d$5_ListEntitiesRequest as ListEntitiesRequest, index_d$5_ListEntitiesResponse as ListEntitiesResponse, index_d$5_ListEntityData as ListEntityData, index_d$5_ListOptions as ListOptions, index_d$5_ListResponse as ListResponse, index_d$5_ListSchemaType as ListSchemaType, index_d$5_LoadingActions as LoadingActions, index_d$5_LoadingState as LoadingState, index_d$5_MergedBarConfig as MergedBarConfig, index_d$5_MergedEntityFieldMap as MergedEntityFieldMap, index_d$5_MetricDefinition as MetricDefinition, index_d$5_MobileBehaviorConfig as MobileBehaviorConfig, index_d$5_ModalActions as ModalActions, index_d$5_ModalState as ModalState, index_d$5_MutableMergedEntityFieldMap as MutableMergedEntityFieldMap, index_d$5_MutationResponse as MutationResponse, index_d$5_NavigationRoute as NavigationRoute, index_d$5_NetworkCheckConfig as NetworkCheckConfig, index_d$5_NetworkConnectionType as NetworkConnectionType, index_d$5_NetworkReconnectCallback as NetworkReconnectCallback, NetworkState$1 as NetworkState, index_d$5_NetworkStatus as NetworkStatus, index_d$5_NetworkStatusHookResult as NetworkStatusHookResult, index_d$5_OAuthAPI as OAuthAPI, index_d$5_OAuthApiRequestOptions as OAuthApiRequestOptions, index_d$5_OAuthCallbackHookResult as OAuthCallbackHookResult, index_d$5_OAuthConnection as OAuthConnection, index_d$5_OAuthConnectionInfo as OAuthConnectionInfo, index_d$5_OAuthConnectionRequest as OAuthConnectionRequest, index_d$5_OAuthConnectionStatus as OAuthConnectionStatus, index_d$5_OAuthCredentials as OAuthCredentials, index_d$5_OAuthEventData as OAuthEventData, index_d$5_OAuthEventKey as OAuthEventKey, index_d$5_OAuthEventName as OAuthEventName, index_d$5_OAuthPartner as OAuthPartner, index_d$5_OAuthPartnerHookResult as OAuthPartnerHookResult, index_d$5_OAuthPartnerId as OAuthPartnerId, index_d$5_OAuthPartnerResult as OAuthPartnerResult, index_d$5_OAuthPartnerState as OAuthPartnerState, index_d$5_OAuthPurpose as OAuthPurpose, index_d$5_OAuthRedirectOperation as OAuthRedirectOperation, index_d$5_OAuthRefreshRequest as OAuthRefreshRequest, index_d$5_OAuthRefreshResponse as OAuthRefreshResponse, index_d$5_OAuthResult as OAuthResult, index_d$5_OAuthStoreActions as OAuthStoreActions, index_d$5_OAuthStoreState as OAuthStoreState, index_d$5_Observable as Observable, index_d$5_OrderByClause as OrderByClause, index_d$5_OrderDirection as OrderDirection, index_d$5_PWAAssetType as PWAAssetType, index_d$5_PWADisplayMode as PWADisplayMode, index_d$5_PWAPluginConfig as PWAPluginConfig, index_d$5_PageAuth as PageAuth, index_d$5_PageMeta as PageMeta, index_d$5_PaginatedQueryResult as PaginatedQueryResult, index_d$5_PaginationOptions as PaginationOptions, index_d$5_PartnerConnectionState as PartnerConnectionState, index_d$5_PartnerIconId as PartnerIconId, index_d$5_PartnerId as PartnerId, index_d$5_PartnerResult as PartnerResult, index_d$5_PartnerType as PartnerType, index_d$5_PayloadCacheEventData as PayloadCacheEventData, index_d$5_PayloadDocument as PayloadDocument, index_d$5_PayloadDocumentEventData as PayloadDocumentEventData, index_d$5_PayloadEventKey as PayloadEventKey, index_d$5_PayloadEventName as PayloadEventName, index_d$5_PayloadGlobalEventData as PayloadGlobalEventData, index_d$5_PayloadMediaEventData as PayloadMediaEventData, index_d$5_PayloadPageRegenerationEventData as PayloadPageRegenerationEventData, index_d$5_PayloadRequest as PayloadRequest, index_d$5_PayloadUserEventData as PayloadUserEventData, index_d$5_PaymentEventData as PaymentEventData, index_d$5_PaymentMethod as PaymentMethod, index_d$5_PaymentMethodType as PaymentMethodType, index_d$5_PaymentMode as PaymentMode, index_d$5_Permission as Permission, index_d$5_Picture as Picture, index_d$5_Platform as Platform, index_d$5_PresetConfig as PresetConfig, index_d$5_PresetRegistry as PresetRegistry, index_d$5_ProcessPaymentSuccessRequest as ProcessPaymentSuccessRequest, index_d$5_ProcessPaymentSuccessResponse as ProcessPaymentSuccessResponse, index_d$5_ProductDeclaration as ProductDeclaration, index_d$5_ProviderInstances as ProviderInstances, index_d$5_QueryConfig as QueryConfig, index_d$5_QueryOptions as QueryOptions, index_d$5_QueryOrderBy as QueryOrderBy, index_d$5_QueryWhereClause as QueryWhereClause, index_d$5_RateLimitBackend as RateLimitBackend, index_d$5_RateLimitConfig as RateLimitConfig, index_d$5_RateLimitManager as RateLimitManager, index_d$5_RateLimitResult as RateLimitResult, index_d$5_RateLimitState as RateLimitState, index_d$5_RateLimiter as RateLimiter, index_d$5_ReadCallback as ReadCallback, index_d$5_RedirectOperation as RedirectOperation, index_d$5_RedirectOverlayActions as RedirectOverlayActions, index_d$5_RedirectOverlayConfig as RedirectOverlayConfig, index_d$5_RedirectOverlayPhase as RedirectOverlayPhase, index_d$5_RedirectOverlayState as RedirectOverlayState, index_d$5_Reference as Reference, index_d$5_RefreshSubscriptionRequest as RefreshSubscriptionRequest, index_d$5_RefreshSubscriptionResponse as RefreshSubscriptionResponse, index_d$5_RemoveCustomClaimsResponse as RemoveCustomClaimsResponse, index_d$5_ResolvedLayoutConfig as ResolvedLayoutConfig, index_d$5_RevokeGitHubAccessRequest as RevokeGitHubAccessRequest, index_d$5_RouteMeta as RouteMeta, index_d$5_RouteSource as RouteSource, index_d$5_RoutesPluginConfig as RoutesPluginConfig, index_d$5_SEOConfig as SEOConfig, index_d$5_SchemaMetadata as SchemaMetadata, index_d$5_ScopeConfig as ScopeConfig, index_d$5_SecurityContext as SecurityContext, index_d$5_SecurityEntityConfig as SecurityEntityConfig, index_d$5_SendEmailRequest as SendEmailRequest, index_d$5_SendEmailResponse as SendEmailResponse, index_d$5_SeoMeta as SeoMeta, index_d$5_ServerRateLimitConfig as ServerRateLimitConfig, index_d$5_ServerRateLimitResult as ServerRateLimitResult, index_d$5_ServerUserRecord as ServerUserRecord, index_d$5_SetCustomClaimsResponse as SetCustomClaimsResponse, index_d$5_SidebarZoneConfig as SidebarZoneConfig, index_d$5_SignUpMetadata as SignUpMetadata, index_d$5_SlotContent as SlotContent, index_d$5_StorageOptions as StorageOptions, index_d$5_StorageScope as StorageScope, index_d$5_StorageType as StorageType, index_d$5_Store as Store, index_d$5_StripeBackConfig as StripeBackConfig, index_d$5_StripeCheckoutRequest as StripeCheckoutRequest, index_d$5_StripeCheckoutResponse as StripeCheckoutResponse, index_d$5_StripeCheckoutSessionEventData as StripeCheckoutSessionEventData, index_d$5_StripeConfig as StripeConfig, index_d$5_StripeCustomer as StripeCustomer, index_d$5_StripeCustomerEventData as StripeCustomerEventData, index_d$5_StripeEventData as StripeEventData, index_d$5_StripeEventKey as StripeEventKey, index_d$5_StripeEventName as StripeEventName, index_d$5_StripeFrontConfig as StripeFrontConfig, index_d$5_StripeInvoice as StripeInvoice, index_d$5_StripeInvoiceEventData as StripeInvoiceEventData, index_d$5_StripePayment as StripePayment, index_d$5_StripePaymentIntentEventData as StripePaymentIntentEventData, index_d$5_StripePaymentMethod as StripePaymentMethod, index_d$5_StripePrice as StripePrice, index_d$5_StripeProduct as StripeProduct, index_d$5_StripeProvider as StripeProvider, index_d$5_StripeSubscription as StripeSubscription, index_d$5_StripeSubscriptionData as StripeSubscriptionData, index_d$5_StripeWebhookEvent as StripeWebhookEvent, index_d$5_StripeWebhookEventData as StripeWebhookEventData, index_d$5_Subscription as Subscription, index_d$5_SubscriptionClaims as SubscriptionClaims, index_d$5_SubscriptionConfig as SubscriptionConfig, index_d$5_SubscriptionData as SubscriptionData, index_d$5_SubscriptionDuration as SubscriptionDuration, index_d$5_SubscriptionEventData as SubscriptionEventData, index_d$5_SubscriptionHookResult as SubscriptionHookResult, index_d$5_SubscriptionInfo as SubscriptionInfo, index_d$5_SubscriptionStatus as SubscriptionStatus, index_d$5_SubscriptionTier as SubscriptionTier, index_d$5_SupportedLanguage as SupportedLanguage, index_d$5_ThemeActions as ThemeActions, index_d$5_ThemeInfo as ThemeInfo, index_d$5_ThemeMode as ThemeMode, index_d$5_ThemeState as ThemeState, index_d$5_ThemesPluginConfig as ThemesPluginConfig, index_d$5_TierAccessHookResult as TierAccessHookResult, index_d$5_Timestamp as Timestamp, index_d$5_TokenInfo as TokenInfo, index_d$5_TokenResponse as TokenResponse, index_d$5_TokenState as TokenState, index_d$5_TokenStatus as TokenStatus, index_d$5_TranslationOptions as TranslationOptions, index_d$5_TranslationResource as TranslationResource, index_d$5_UIFieldOptions as UIFieldOptions, index_d$5_UniqueConstraintValidator as UniqueConstraintValidator, index_d$5_UniqueKeyDefinition as UniqueKeyDefinition, index_d$5_UnsubscribeFn as UnsubscribeFn, index_d$5_UpdateEntityData as UpdateEntityData, index_d$5_UpdateEntityRequest as UpdateEntityRequest, index_d$5_UpdateEntityResponse as UpdateEntityResponse, index_d$5_UploadOptions as UploadOptions, index_d$5_UploadProgressCallback as UploadProgressCallback, index_d$5_UploadResult as UploadResult, index_d$5_UseFunctionsCallResult as UseFunctionsCallResult, index_d$5_UseFunctionsMutationOptions as UseFunctionsMutationOptions, index_d$5_UseFunctionsMutationResult as UseFunctionsMutationResult, index_d$5_UseFunctionsQueryOptions as UseFunctionsQueryOptions, index_d$5_UseFunctionsQueryResult as UseFunctionsQueryResult, index_d$5_UseTranslationOptionsEnhanced as UseTranslationOptionsEnhanced, index_d$5_UserContext as UserContext, index_d$5_UserProfile as UserProfile, index_d$5_UserProviderData as UserProviderData, index_d$5_UserRole as UserRole, index_d$5_UserSubscription as UserSubscription, index_d$5_ValidateBlockOptions as ValidateBlockOptions, index_d$5_ValidationRules as ValidationRules, index_d$5_ValueTypeForField as ValueTypeForField, index_d$5_VerifiedToken as VerifiedToken, index_d$5_Visibility as Visibility, index_d$5_WebhookEvent as WebhookEvent, index_d$5_WebhookEventData as WebhookEventData, index_d$5_WhereClause as WhereClause, index_d$5_WhereOperator as WhereOperator, index_d$5_WidgetDef as WidgetDef, index_d$5_WithMetadata as WithMetadata, index_d$5_dndevSchema as dndevSchema };
|
|
14289
|
+
export { index_d$5_AGGREGATE_FILTER_OPERATORS as AGGREGATE_FILTER_OPERATORS, index_d$5_AGGREGATE_OPERATIONS as AGGREGATE_OPERATIONS, index_d$5_AIChatRequestSchema as AIChatRequestSchema, index_d$5_AIChatResponseSchema as AIChatResponseSchema, index_d$5_AIMessageSchema as AIMessageSchema, index_d$5_AIProviderConfigSchema as AIProviderConfigSchema, index_d$5_AIToolCallSchema as AIToolCallSchema, index_d$5_AIToolDefinitionSchema as AIToolDefinitionSchema, index_d$5_AIUsageSchema as AIUsageSchema, index_d$5_AI_ERROR_CODES as AI_ERROR_CODES, index_d$5_AI_MODELS as AI_MODELS, index_d$5_AI_PROVIDERS as AI_PROVIDERS, index_d$5_AI_ROLES as AI_ROLES, index_d$5_AI_TIERS as AI_TIERS, index_d$5_AI_TOKEN_PRICING as AI_TOKEN_PRICING, index_d$5_AUTH_EVENTS as AUTH_EVENTS, index_d$5_AUTH_PARTNERS as AUTH_PARTNERS, index_d$5_AUTH_PARTNER_STATE as AUTH_PARTNER_STATE, index_d$5_AuthUserSchema as AuthUserSchema, index_d$5_BILLING_EVENTS as BILLING_EVENTS, index_d$5_BREAKPOINT_RANGES as BREAKPOINT_RANGES, index_d$5_BREAKPOINT_THRESHOLDS as BREAKPOINT_THRESHOLDS, index_d$5_BulkAcrossCycleError as BulkAcrossCycleError, index_d$5_BulkCollisionError as BulkCollisionError, index_d$5_BulkNotImplementedError as BulkNotImplementedError, index_d$5_COMMON_TIER_CONFIGS as COMMON_TIER_CONFIGS, index_d$5_CONFIDENCE_LEVELS as CONFIDENCE_LEVELS, index_d$5_CONSENT_CATEGORY as CONSENT_CATEGORY, index_d$5_CONTEXTS as CONTEXTS, index_d$5_CRUD_OPERATORS as CRUD_OPERATORS, index_d$5_CheckoutLineItemInputSchema as CheckoutLineItemInputSchema, index_d$5_CheckoutSessionMetadataSchema as CheckoutSessionMetadataSchema, index_d$5_CreateCheckoutSessionRequestSchema as CreateCheckoutSessionRequestSchema, index_d$5_CreateCheckoutSessionResponseSchema as CreateCheckoutSessionResponseSchema, index_d$5_CustomClaimsSchema as CustomClaimsSchema, index_d$5_DEFAULT_AI_CONFIG as DEFAULT_AI_CONFIG, index_d$5_DEFAULT_AI_MARKUP as DEFAULT_AI_MARKUP, index_d$5_DEFAULT_ENTITY_ACCESS as DEFAULT_ENTITY_ACCESS, index_d$5_DEFAULT_LAYOUT_PRESET as DEFAULT_LAYOUT_PRESET, index_d$5_DEFAULT_SUBSCRIPTION as DEFAULT_SUBSCRIPTION, index_d$5_DENSITY as DENSITY, index_d$5_DoNotDevError as DoNotDevError, index_d$5_EDITABLE as EDITABLE, index_d$5_EMAIL_ERROR_CODES as EMAIL_ERROR_CODES, index_d$5_EMAIL_PROVIDERS as EMAIL_PROVIDERS, index_d$5_EMAIL_VERIFICATION_STATUS as EMAIL_VERIFICATION_STATUS, index_d$5_ENTITY_HOOK_ERRORS as ENTITY_HOOK_ERRORS, index_d$5_ENVIRONMENTS as ENVIRONMENTS, index_d$5_ERROR_CODES as ERROR_CODES, index_d$5_ERROR_SEVERITY as ERROR_SEVERITY, index_d$5_ERROR_SOURCE as ERROR_SOURCE, index_d$5_EntityHookError as EntityHookError, index_d$5_FEATURES as FEATURES, index_d$5_FEATURE_CONSENT_MATRIX as FEATURE_CONSENT_MATRIX, index_d$5_FEATURE_STATUS as FEATURE_STATUS, index_d$5_FIELD_TYPES as FIELD_TYPES, index_d$5_FIREBASE_ERROR_MAP as FIREBASE_ERROR_MAP, index_d$5_FOOTER_MODE as FOOTER_MODE, index_d$5_GITHUB_PERMISSION_LEVELS as GITHUB_PERMISSION_LEVELS, index_d$5_LAYOUT_PRESET as LAYOUT_PRESET, index_d$5_LIST_SCHEMA_TYPE as LIST_SCHEMA_TYPE, index_d$5_MAX_CHECKOUT_LINE_ITEMS as MAX_CHECKOUT_LINE_ITEMS, index_d$5_MAX_SHIPPING_RATE_IDS as MAX_SHIPPING_RATE_IDS, index_d$5_OAUTH_EVENTS as OAUTH_EVENTS, index_d$5_OAUTH_PARTNERS as OAUTH_PARTNERS, index_d$5_ORDER_DIRECTION as ORDER_DIRECTION, index_d$5_PARTNER_ICONS as PARTNER_ICONS, index_d$5_PAYLOAD_EVENTS as PAYLOAD_EVENTS, index_d$5_PERMISSIONS as PERMISSIONS, index_d$5_PLATFORMS as PLATFORMS, index_d$5_PWA_ASSET_TYPES as PWA_ASSET_TYPES, index_d$5_PWA_DISPLAY_MODES as PWA_DISPLAY_MODES, index_d$5_ProductDeclarationSchema as ProductDeclarationSchema, index_d$5_ProductDeclarationsSchema as ProductDeclarationsSchema, index_d$5_ROUTE_SOURCES as ROUTE_SOURCES, index_d$5_STORAGE_SCOPES as STORAGE_SCOPES, index_d$5_STORAGE_TYPES as STORAGE_TYPES, index_d$5_STRIPE_EVENTS as STRIPE_EVENTS, index_d$5_STRIPE_MODES as STRIPE_MODES, index_d$5_SUBSCRIPTION_DURATIONS as SUBSCRIPTION_DURATIONS, index_d$5_SUBSCRIPTION_STATUS as SUBSCRIPTION_STATUS, index_d$5_SUBSCRIPTION_TIERS as SUBSCRIPTION_TIERS, index_d$5_SendEmailRequestSchema as SendEmailRequestSchema, index_d$5_SendEmailResponseSchema as SendEmailResponseSchema, index_d$5_StripeBackConfigSchema as StripeBackConfigSchema, index_d$5_StripeFrontConfigSchema as StripeFrontConfigSchema, index_d$5_StripeOrderBackSchema as StripeOrderBackSchema, index_d$5_StripeOrderShippingSchema as StripeOrderShippingSchema, index_d$5_StripeOrderTaxSchema as StripeOrderTaxSchema, index_d$5_StripePaymentSchema as StripePaymentSchema, index_d$5_StripeSubscriptionSchema as StripeSubscriptionSchema, index_d$5_SubscriptionClaimsSchema as SubscriptionClaimsSchema, index_d$5_SubscriptionDataSchema as SubscriptionDataSchema, index_d$5_USER_ROLES as USER_ROLES, index_d$5_UserSubscriptionSchema as UserSubscriptionSchema, index_d$5_VISIBILITY as VISIBILITY, index_d$5_WebhookEventSchema as WebhookEventSchema, index_d$5_checkGitHubAccessSchema as checkGitHubAccessSchema, index_d$5_createDefaultSubscriptionClaims as createDefaultSubscriptionClaims, index_d$5_createDefaultUserProfile as createDefaultUserProfile, index_d$5_createEntitySchema as createEntitySchema, index_d$5_deleteEntitySchema as deleteEntitySchema, index_d$5_disconnectOAuthSchema as disconnectOAuthSchema, index_d$5_exchangeTokenSchema as exchangeTokenSchema, index_d$5_getBreakpointFromWidth as getBreakpointFromWidth, index_d$5_getBreakpointUtils as getBreakpointUtils, index_d$5_getConnectionsSchema as getConnectionsSchema, index_d$5_getEntitySchema as getEntitySchema, index_d$5_githubPermissionSchema as githubPermissionSchema, index_d$5_githubRepoConfigSchema as githubRepoConfigSchema, index_d$5_grantGitHubAccessSchema as grantGitHubAccessSchema, index_d$5_isAuthPartnerId as isAuthPartnerId, index_d$5_isBreakpoint as isBreakpoint, index_d$5_isOAuthPartnerId as isOAuthPartnerId, index_d$5_listEntitiesSchema as listEntitiesSchema, index_d$5_overrideFeatures as overrideFeatures, index_d$5_overridePaymentModes as overridePaymentModes, index_d$5_overridePermissions as overridePermissions, index_d$5_overrideSubscriptionStatus as overrideSubscriptionStatus, index_d$5_overrideSubscriptionTiers as overrideSubscriptionTiers, index_d$5_overrideUserRoles as overrideUserRoles, index_d$5_refreshTokenSchema as refreshTokenSchema, index_d$5_revokeGitHubAccessSchema as revokeGitHubAccessSchema, index_d$5_updateEntitySchema as updateEntitySchema, index_d$5_validateAIChatRequest as validateAIChatRequest, index_d$5_validateAIChatResponse as validateAIChatResponse, index_d$5_validateAuthPartners as validateAuthPartners, index_d$5_validateAuthSchemas as validateAuthSchemas, index_d$5_validateAuthUser as validateAuthUser, index_d$5_validateBillingSchemas as validateBillingSchemas, index_d$5_validateCheckoutSessionMetadata as validateCheckoutSessionMetadata, index_d$5_validateCreateCheckoutSessionRequest as validateCreateCheckoutSessionRequest, index_d$5_validateCreateCheckoutSessionResponse as validateCreateCheckoutSessionResponse, index_d$5_validateCustomClaims as validateCustomClaims, index_d$5_validateOAuthPartners as validateOAuthPartners, index_d$5_validateSendEmailRequest as validateSendEmailRequest, index_d$5_validateSendEmailResponse as validateSendEmailResponse, index_d$5_validateStripeBackConfig as validateStripeBackConfig, index_d$5_validateStripeFrontConfig as validateStripeFrontConfig, index_d$5_validateSubscriptionClaims as validateSubscriptionClaims, index_d$5_validateSubscriptionData as validateSubscriptionData, index_d$5_validateUserSubscription as validateUserSubscription, index_d$5_validateWebhookEvent as validateWebhookEvent };
|
|
14290
|
+
export type { index_d$5_AIAPI as AIAPI, index_d$5_AIChatRequest as AIChatRequest, index_d$5_AIChatResponse as AIChatResponse, index_d$5_AIConfig as AIConfig, index_d$5_AICostConfig as AICostConfig, index_d$5_AICostEvent as AICostEvent, index_d$5_AICostRecord as AICostRecord, index_d$5_AICostResult as AICostResult, index_d$5_AIErrorCode as AIErrorCode, index_d$5_AIMessage as AIMessage, index_d$5_AIModelPricing as AIModelPricing, index_d$5_AIProvider as AIProvider, index_d$5_AIProviderConfig as AIProviderConfig, index_d$5_AIRateLimitConfig as AIRateLimitConfig, index_d$5_AIRouteConfig as AIRouteConfig, index_d$5_AITierId as AITierId, index_d$5_AIToolCall as AIToolCall, index_d$5_AIToolDefinition as AIToolDefinition, index_d$5_AIToolParameter as AIToolParameter, index_d$5_AIUsage as AIUsage, index_d$5_AccountLinkResult as AccountLinkResult, index_d$5_AccountLinkingInfo as AccountLinkingInfo, index_d$5_AdminCheckHookResult as AdminCheckHookResult, index_d$5_AdminClaims as AdminClaims, index_d$5_AggregateConfig as AggregateConfig, index_d$5_AggregateFilterOperator as AggregateFilterOperator, index_d$5_AggregateOperation as AggregateOperation, index_d$5_AggregateRequest as AggregateRequest, index_d$5_AggregateResponse as AggregateResponse, index_d$5_AnyEntity as AnyEntity, index_d$5_AnyFieldValue as AnyFieldValue, index_d$5_AnyValibotSchema as AnyValibotSchema, index_d$5_ApiResponse as ApiResponse, index_d$5_AppConfig as AppConfig, index_d$5_AppCookieCategories as AppCookieCategories, index_d$5_AppMetadata as AppMetadata, index_d$5_AppProvidersProps as AppProvidersProps, index_d$5_AssetsPluginConfig as AssetsPluginConfig, index_d$5_AttemptRecord as AttemptRecord, index_d$5_AuditEvent as AuditEvent, index_d$5_AuditEventType as AuditEventType, index_d$5_AuthAPI as AuthAPI, index_d$5_AuthActions as AuthActions, index_d$5_AuthConfig as AuthConfig, index_d$5_AuthContextValue as AuthContextValue, index_d$5_AuthCoreHookResult as AuthCoreHookResult, index_d$5_AuthError as AuthError, index_d$5_AuthEventData as AuthEventData, index_d$5_AuthEventKey as AuthEventKey, index_d$5_AuthEventName as AuthEventName, index_d$5_AuthHardeningContext as AuthHardeningContext, index_d$5_AuthMethod as AuthMethod, index_d$5_AuthPartner as AuthPartner, index_d$5_AuthPartnerHookResult as AuthPartnerHookResult, index_d$5_AuthPartnerId as AuthPartnerId, index_d$5_AuthPartnerResult as AuthPartnerResult, index_d$5_AuthPartnerState as AuthPartnerState, index_d$5_AuthProvider as AuthProvider, index_d$5_AuthProviderProps as AuthProviderProps, index_d$5_AuthRedirectHookResult as AuthRedirectHookResult, index_d$5_AuthRedirectOperation as AuthRedirectOperation, index_d$5_AuthRedirectOptions as AuthRedirectOptions, index_d$5_AuthResult as AuthResult, index_d$5_AuthSessionSnapshot as AuthSessionSnapshot, index_d$5_AuthState as AuthState, index_d$5_AuthStateStore as AuthStateStore, index_d$5_AuthStatus as AuthStatus, index_d$5_AuthTokenHookResult as AuthTokenHookResult, index_d$5_AuthUser as AuthUser, index_d$5_BaseActions as BaseActions, index_d$5_BaseCredentials as BaseCredentials, index_d$5_BaseDocument as BaseDocument, index_d$5_BaseEntityFields as BaseEntityFields, index_d$5_BasePartnerState as BasePartnerState, index_d$5_BaseState as BaseState, index_d$5_BaseStoreActions as BaseStoreActions, index_d$5_BaseStoreState as BaseStoreState, index_d$5_BaseUserProfile as BaseUserProfile, index_d$5_BasicUserInfo as BasicUserInfo, index_d$5_BeforeCheckoutHook as BeforeCheckoutHook, index_d$5_BeforeCheckoutOptions as BeforeCheckoutOptions, index_d$5_BeforeCheckoutResult as BeforeCheckoutResult, index_d$5_BillingAPI as BillingAPI, index_d$5_BillingAdapter as BillingAdapter, index_d$5_BillingAuthProvider as BillingAuthProvider, index_d$5_BillingErrorCode as BillingErrorCode, index_d$5_BillingEvent as BillingEvent, index_d$5_BillingEventData as BillingEventData, index_d$5_BillingEventKey as BillingEventKey, index_d$5_BillingEventName as BillingEventName, index_d$5_BillingProvider as BillingProvider, index_d$5_BillingProviderConfig as BillingProviderConfig, index_d$5_BillingRedirectOperation as BillingRedirectOperation, index_d$5_Breakpoint as Breakpoint, index_d$5_BreakpointUtils as BreakpointUtils, index_d$5_BuiltInFieldType as BuiltInFieldType, index_d$5_BulkAcrossBatch as BulkAcrossBatch, index_d$5_BulkAcrossResult as BulkAcrossResult, index_d$5_BulkOperations as BulkOperations, index_d$5_BulkResult as BulkResult, index_d$5_BusinessEntity as BusinessEntity, index_d$5_CachedError as CachedError, index_d$5_CanAPI as CanAPI, index_d$5_CanvasBlock as CanvasBlock, index_d$5_CanvasCallerAccess as CanvasCallerAccess, index_d$5_CanvasEvent as CanvasEvent, index_d$5_CanvasLifetime as CanvasLifetime, index_d$5_CanvasSurface as CanvasSurface, index_d$5_CanvasWidgetMetadata as CanvasWidgetMetadata, index_d$5_CanvasWidgetProps as CanvasWidgetProps, index_d$5_CheckGitHubAccessRequest as CheckGitHubAccessRequest, index_d$5_CheckoutAddress as CheckoutAddress, index_d$5_CheckoutLineItemInput as CheckoutLineItemInput, index_d$5_CheckoutMode as CheckoutMode, index_d$5_CheckoutOptions as CheckoutOptions, index_d$5_CheckoutSessionMetadata as CheckoutSessionMetadata, index_d$5_CheckoutSessionParams as CheckoutSessionParams, index_d$5_CheckoutSessionResult as CheckoutSessionResult, index_d$5_CheckoutSessionSnapshot as CheckoutSessionSnapshot, index_d$5_CollectionSubscriptionCallback as CollectionSubscriptionCallback, index_d$5_ColumnDef as ColumnDef, index_d$5_CommonSubscriptionFeatures as CommonSubscriptionFeatures, index_d$5_CommonTranslations as CommonTranslations, index_d$5_ConditionBuilderLike as ConditionBuilderLike, index_d$5_ConditionExpression as ConditionExpression, index_d$5_ConditionGroup as ConditionGroup, index_d$5_ConditionInput as ConditionInput, index_d$5_ConditionNode as ConditionNode, index_d$5_ConditionOperator as ConditionOperator, index_d$5_ConditionResult as ConditionResult, index_d$5_ConditionalBehavior as ConditionalBehavior, index_d$5_ConfidenceLevel as ConfidenceLevel, index_d$5_ConnectOptions as ConnectOptions, index_d$5_ConsentAPI as ConsentAPI, index_d$5_ConsentActions as ConsentActions, index_d$5_ConsentCategory as ConsentCategory, index_d$5_ConsentState as ConsentState, index_d$5_Context as Context, index_d$5_CookieOptions as CookieOptions, index_d$5_CreateCheckoutSessionRequest as CreateCheckoutSessionRequest, index_d$5_CreateCheckoutSessionRequestInput as CreateCheckoutSessionRequestInput, index_d$5_CreateCheckoutSessionResponse as CreateCheckoutSessionResponse, index_d$5_CreateEntityData as CreateEntityData, index_d$5_CreateEntityRequest as CreateEntityRequest, index_d$5_CreateEntityResponse as CreateEntityResponse, index_d$5_CrudAPI as CrudAPI, index_d$5_CrudCardProps as CrudCardProps, index_d$5_CrudConfig as CrudConfig, index_d$5_CrudCreateInput as CrudCreateInput, index_d$5_CrudDocQuery as CrudDocQuery, index_d$5_CrudListQuery as CrudListQuery, index_d$5_CrudOperationOptions as CrudOperationOptions, index_d$5_CrudOperator as CrudOperator, index_d$5_CustomClaims as CustomClaims, index_d$5_CustomFieldOptionsMap as CustomFieldOptionsMap, index_d$5_CustomStoreConfig as CustomStoreConfig, index_d$5_DateValue as DateValue, index_d$5_DeleteEntityRequest as DeleteEntityRequest, index_d$5_DeleteEntityResponse as DeleteEntityResponse, index_d$5_Density as Density, index_d$5_DnDevOverride as DnDevOverride, index_d$5_DnDevWrapper as DnDevWrapper, index_d$5_DndevFrameworkConfig as DndevFrameworkConfig, index_d$5_DndevProviders as DndevProviders, index_d$5_DndevStoreApi as DndevStoreApi, index_d$5_DoNotDevCookieCategories as DoNotDevCookieCategories, index_d$5_DocumentSubscriptionCallback as DocumentSubscriptionCallback, index_d$5_DynamicFormRule as DynamicFormRule, index_d$5_Editable as Editable, index_d$5_EffectiveConnectionType as EffectiveConnectionType, index_d$5_EmailConfig as EmailConfig, index_d$5_EmailErrorCode as EmailErrorCode, index_d$5_EmailProvider as EmailProvider, index_d$5_EmailRouteConfig as EmailRouteConfig, index_d$5_EmailTemplate as EmailTemplate, index_d$5_EmailTemplateRegistry as EmailTemplateRegistry, index_d$5_EmailVerificationHookResult as EmailVerificationHookResult, index_d$5_EmailVerificationStatus as EmailVerificationStatus, index_d$5_Entity as Entity, index_d$5_EntityAccessConfig as EntityAccessConfig, index_d$5_EntityAccessDefaults as EntityAccessDefaults, index_d$5_EntityBrowseBaseProps as EntityBrowseBaseProps, index_d$5_EntityCardListProps as EntityCardListProps, index_d$5_EntityDisplayRendererProps as EntityDisplayRendererProps, index_d$5_EntityField as EntityField, index_d$5_EntityFieldMapDefault as EntityFieldMapDefault, index_d$5_EntityFormRendererProps as EntityFormRendererProps, index_d$5_EntityHookErrors as EntityHookErrors, index_d$5_EntityListProps as EntityListProps, index_d$5_EntityMetadata as EntityMetadata, index_d$5_EntityOwnershipConfig as EntityOwnershipConfig, index_d$5_EntityOwnershipPublicCondition as EntityOwnershipPublicCondition, index_d$5_EntityRecommendationsProps as EntityRecommendationsProps, index_d$5_EntityRecord as EntityRecord, index_d$5_EntityRowFromFields as EntityRowFromFields, index_d$5_EntityTemplateProps as EntityTemplateProps, index_d$5_EntityTranslations as EntityTranslations, index_d$5_EnvironmentMode as EnvironmentMode, index_d$5_ErrorCode as ErrorCode, index_d$5_ErrorSeverity as ErrorSeverity, index_d$5_ErrorSource as ErrorSource, index_d$5_ExchangeTokenParams as ExchangeTokenParams, index_d$5_ExchangeTokenRequest as ExchangeTokenRequest, index_d$5_ExchangeTokenResponse as ExchangeTokenResponse, index_d$5_FaviconConfig as FaviconConfig, index_d$5_Feature as Feature, index_d$5_FeatureAccessHookResult as FeatureAccessHookResult, index_d$5_FeatureConsentRequirement as FeatureConsentRequirement, index_d$5_FeatureHookResult as FeatureHookResult, index_d$5_FeatureId as FeatureId, index_d$5_FeatureName as FeatureName, index_d$5_FeatureStatus as FeatureStatus, index_d$5_FeaturesConfig as FeaturesConfig, index_d$5_FeaturesPluginConfig as FeaturesPluginConfig, index_d$5_FeaturesRequiringAnyConsent as FeaturesRequiringAnyConsent, index_d$5_FeaturesRequiringConsent as FeaturesRequiringConsent, index_d$5_FeaturesWithoutConsent as FeaturesWithoutConsent, index_d$5_FieldCondition as FieldCondition, index_d$5_FieldType as FieldType, index_d$5_FieldTypeToValue as FieldTypeToValue, index_d$5_FileAsset as FileAsset, index_d$5_FirebaseCallOptions as FirebaseCallOptions, index_d$5_FirebaseConfig as FirebaseConfig, index_d$5_FirestoreTimestamp as FirestoreTimestamp, index_d$5_FirestoreUniqueConstraintValidator as FirestoreUniqueConstraintValidator, index_d$5_FooterConfig as FooterConfig, index_d$5_FooterMode as FooterMode, index_d$5_FooterZoneConfig as FooterZoneConfig, index_d$5_FormConfig as FormConfig, index_d$5_FormStep as FormStep, index_d$5_FunctionCallConfig as FunctionCallConfig, index_d$5_FunctionCallContext as FunctionCallContext, index_d$5_FunctionCallOptions as FunctionCallOptions, index_d$5_FunctionCallResult as FunctionCallResult, index_d$5_FunctionClient as FunctionClient, index_d$5_FunctionClientFactoryOptions as FunctionClientFactoryOptions, index_d$5_FunctionDefaults as FunctionDefaults, index_d$5_FunctionEndpoint as FunctionEndpoint, index_d$5_FunctionError as FunctionError, index_d$5_FunctionLoader as FunctionLoader, index_d$5_FunctionMemory as FunctionMemory, index_d$5_FunctionMeta as FunctionMeta, index_d$5_FunctionPlatform as FunctionPlatform, index_d$5_FunctionResponse as FunctionResponse, index_d$5_FunctionSchema as FunctionSchema, index_d$5_FunctionSchemas as FunctionSchemas, index_d$5_FunctionSystem as FunctionSystem, index_d$5_FunctionTrigger as FunctionTrigger, index_d$5_FunctionsConfig as FunctionsConfig, index_d$5_GetCustomClaimsResponse as GetCustomClaimsResponse, index_d$5_GetEntityData as GetEntityData, index_d$5_GetEntityRequest as GetEntityRequest, index_d$5_GetEntityResponse as GetEntityResponse, index_d$5_GetUserAuthStatusResponse as GetUserAuthStatusResponse, index_d$5_GitHubPermission as GitHubPermission, index_d$5_GitHubRepoConfig as GitHubRepoConfig, index_d$5_GrantGitHubAccessRequest as GrantGitHubAccessRequest, index_d$5_GroupByDefinition as GroupByDefinition, index_d$5_HeaderZoneConfig as HeaderZoneConfig, index_d$5_I18nConfig as I18nConfig, index_d$5_I18nPluginConfig as I18nPluginConfig, index_d$5_I18nProviderProps as I18nProviderProps, index_d$5_ICallableProvider as ICallableProvider, index_d$5_ICrudAdapter as ICrudAdapter, index_d$5_ID as ID, index_d$5_INetworkManager as INetworkManager, index_d$5_IServerAuthAdapter as IServerAuthAdapter, index_d$5_IStorageAdapter as IStorageAdapter, index_d$5_IStorageManager as IStorageManager, index_d$5_IStorageStrategy as IStorageStrategy, index_d$5_InferEntityRow as InferEntityRow, index_d$5_Invoice as Invoice, index_d$5_InvoiceItem as InvoiceItem, index_d$5_LanguageData as LanguageData, LanguageInfo$1 as LanguageInfo, index_d$5_LayoutConfig as LayoutConfig, index_d$5_LayoutPreset as LayoutPreset, index_d$5_LegalCompanyInfo as LegalCompanyInfo, index_d$5_LegalConfig as LegalConfig, index_d$5_LegalContactInfo as LegalContactInfo, index_d$5_LegalDirectorInfo as LegalDirectorInfo, index_d$5_LegalHostingInfo as LegalHostingInfo, index_d$5_LegalJurisdictionInfo as LegalJurisdictionInfo, index_d$5_LegalSectionsConfig as LegalSectionsConfig, index_d$5_LegalWebsiteInfo as LegalWebsiteInfo, index_d$5_ListCardLayout as ListCardLayout, index_d$5_ListEntitiesRequest as ListEntitiesRequest, index_d$5_ListEntitiesResponse as ListEntitiesResponse, index_d$5_ListEntityData as ListEntityData, index_d$5_ListOptions as ListOptions, index_d$5_ListResponse as ListResponse, index_d$5_ListSchemaType as ListSchemaType, index_d$5_LoadingActions as LoadingActions, index_d$5_LoadingState as LoadingState, index_d$5_MergedBarConfig as MergedBarConfig, index_d$5_MergedEntityFieldMap as MergedEntityFieldMap, index_d$5_MetricDefinition as MetricDefinition, index_d$5_MobileBehaviorConfig as MobileBehaviorConfig, index_d$5_ModalActions as ModalActions, index_d$5_ModalState as ModalState, index_d$5_MutableMergedEntityFieldMap as MutableMergedEntityFieldMap, index_d$5_MutationResponse as MutationResponse, index_d$5_NavigationRoute as NavigationRoute, index_d$5_NetworkCheckConfig as NetworkCheckConfig, index_d$5_NetworkConnectionType as NetworkConnectionType, index_d$5_NetworkReconnectCallback as NetworkReconnectCallback, NetworkState$1 as NetworkState, index_d$5_NetworkStatus as NetworkStatus, index_d$5_NetworkStatusHookResult as NetworkStatusHookResult, index_d$5_OAuthAPI as OAuthAPI, index_d$5_OAuthApiRequestOptions as OAuthApiRequestOptions, index_d$5_OAuthCallbackHookResult as OAuthCallbackHookResult, index_d$5_OAuthConnection as OAuthConnection, index_d$5_OAuthConnectionInfo as OAuthConnectionInfo, index_d$5_OAuthConnectionRequest as OAuthConnectionRequest, index_d$5_OAuthConnectionStatus as OAuthConnectionStatus, index_d$5_OAuthCredentials as OAuthCredentials, index_d$5_OAuthEventData as OAuthEventData, index_d$5_OAuthEventKey as OAuthEventKey, index_d$5_OAuthEventName as OAuthEventName, index_d$5_OAuthPartner as OAuthPartner, index_d$5_OAuthPartnerHookResult as OAuthPartnerHookResult, index_d$5_OAuthPartnerId as OAuthPartnerId, index_d$5_OAuthPartnerResult as OAuthPartnerResult, index_d$5_OAuthPartnerState as OAuthPartnerState, index_d$5_OAuthPurpose as OAuthPurpose, index_d$5_OAuthRedirectOperation as OAuthRedirectOperation, index_d$5_OAuthRefreshRequest as OAuthRefreshRequest, index_d$5_OAuthRefreshResponse as OAuthRefreshResponse, index_d$5_OAuthResult as OAuthResult, index_d$5_OAuthStoreActions as OAuthStoreActions, index_d$5_OAuthStoreState as OAuthStoreState, index_d$5_Observable as Observable, index_d$5_OrderByClause as OrderByClause, index_d$5_OrderDirection as OrderDirection, index_d$5_OrderHookContext as OrderHookContext, index_d$5_PWAAssetType as PWAAssetType, index_d$5_PWADisplayMode as PWADisplayMode, index_d$5_PWAPluginConfig as PWAPluginConfig, index_d$5_PageAuth as PageAuth, index_d$5_PageMeta as PageMeta, index_d$5_PaginatedQueryResult as PaginatedQueryResult, index_d$5_PaginationOptions as PaginationOptions, index_d$5_PaidLineItem as PaidLineItem, index_d$5_PartnerConnectionState as PartnerConnectionState, index_d$5_PartnerIconId as PartnerIconId, index_d$5_PartnerId as PartnerId, index_d$5_PartnerResult as PartnerResult, index_d$5_PartnerType as PartnerType, index_d$5_PayloadCacheEventData as PayloadCacheEventData, index_d$5_PayloadDocument as PayloadDocument, index_d$5_PayloadDocumentEventData as PayloadDocumentEventData, index_d$5_PayloadEventKey as PayloadEventKey, index_d$5_PayloadEventName as PayloadEventName, index_d$5_PayloadGlobalEventData as PayloadGlobalEventData, index_d$5_PayloadMediaEventData as PayloadMediaEventData, index_d$5_PayloadPageRegenerationEventData as PayloadPageRegenerationEventData, index_d$5_PayloadRequest as PayloadRequest, index_d$5_PayloadUserEventData as PayloadUserEventData, index_d$5_PaymentEventData as PaymentEventData, index_d$5_PaymentMethod as PaymentMethod, index_d$5_PaymentMethodType as PaymentMethodType, index_d$5_PaymentMode as PaymentMode, index_d$5_Permission as Permission, index_d$5_Picture as Picture, index_d$5_Platform as Platform, index_d$5_PresetConfig as PresetConfig, index_d$5_PresetRegistry as PresetRegistry, index_d$5_ProcessPaymentSuccessRequest as ProcessPaymentSuccessRequest, index_d$5_ProcessPaymentSuccessResponse as ProcessPaymentSuccessResponse, index_d$5_ProductDeclaration as ProductDeclaration, index_d$5_ProviderInstances as ProviderInstances, index_d$5_QueryConfig as QueryConfig, index_d$5_QueryOptions as QueryOptions, index_d$5_QueryOrderBy as QueryOrderBy, index_d$5_QueryWhereClause as QueryWhereClause, index_d$5_RateLimitBackend as RateLimitBackend, index_d$5_RateLimitConfig as RateLimitConfig, index_d$5_RateLimitManager as RateLimitManager, index_d$5_RateLimitResult as RateLimitResult, index_d$5_RateLimitState as RateLimitState, index_d$5_RateLimiter as RateLimiter, index_d$5_ReadCallback as ReadCallback, index_d$5_RedirectOperation as RedirectOperation, index_d$5_RedirectOverlayActions as RedirectOverlayActions, index_d$5_RedirectOverlayConfig as RedirectOverlayConfig, index_d$5_RedirectOverlayPhase as RedirectOverlayPhase, index_d$5_RedirectOverlayState as RedirectOverlayState, index_d$5_Reference as Reference, index_d$5_RefreshSubscriptionRequest as RefreshSubscriptionRequest, index_d$5_RefreshSubscriptionResponse as RefreshSubscriptionResponse, index_d$5_RemoveCustomClaimsResponse as RemoveCustomClaimsResponse, index_d$5_ResolveLineItemsContext as ResolveLineItemsContext, index_d$5_ResolvedLayoutConfig as ResolvedLayoutConfig, index_d$5_ResolvedLineItem as ResolvedLineItem, index_d$5_ResolvedOrder as ResolvedOrder, index_d$5_ResolvedOrderSession as ResolvedOrderSession, index_d$5_RevokeGitHubAccessRequest as RevokeGitHubAccessRequest, index_d$5_RouteMeta as RouteMeta, index_d$5_RouteSource as RouteSource, index_d$5_RoutesPluginConfig as RoutesPluginConfig, index_d$5_SEOConfig as SEOConfig, index_d$5_SchemaMetadata as SchemaMetadata, index_d$5_ScopeConfig as ScopeConfig, index_d$5_SecurityContext as SecurityContext, index_d$5_SecurityEntityConfig as SecurityEntityConfig, index_d$5_SendEmailRequest as SendEmailRequest, index_d$5_SendEmailResponse as SendEmailResponse, index_d$5_SeoMeta as SeoMeta, index_d$5_ServerRateLimitConfig as ServerRateLimitConfig, index_d$5_ServerRateLimitResult as ServerRateLimitResult, index_d$5_ServerUserRecord as ServerUserRecord, index_d$5_SetCustomClaimsResponse as SetCustomClaimsResponse, index_d$5_SidebarZoneConfig as SidebarZoneConfig, index_d$5_SignUpMetadata as SignUpMetadata, index_d$5_SlotContent as SlotContent, index_d$5_StorageOptions as StorageOptions, index_d$5_StorageScope as StorageScope, index_d$5_StorageType as StorageType, index_d$5_Store as Store, index_d$5_StripeBackConfig as StripeBackConfig, index_d$5_StripeCheckoutProvider as StripeCheckoutProvider, index_d$5_StripeCheckoutRequest as StripeCheckoutRequest, index_d$5_StripeCheckoutResponse as StripeCheckoutResponse, index_d$5_StripeCheckoutSessionEventData as StripeCheckoutSessionEventData, index_d$5_StripeConfig as StripeConfig, index_d$5_StripeCustomer as StripeCustomer, index_d$5_StripeCustomerEventData as StripeCustomerEventData, index_d$5_StripeEventData as StripeEventData, index_d$5_StripeEventKey as StripeEventKey, index_d$5_StripeEventName as StripeEventName, index_d$5_StripeFrontConfig as StripeFrontConfig, index_d$5_StripeInvoice as StripeInvoice, index_d$5_StripeInvoiceEventData as StripeInvoiceEventData, index_d$5_StripeOrderBackItem as StripeOrderBackItem, index_d$5_StripePayment as StripePayment, index_d$5_StripePaymentBackItem as StripePaymentBackItem, index_d$5_StripePaymentIntentEventData as StripePaymentIntentEventData, index_d$5_StripePaymentMethod as StripePaymentMethod, index_d$5_StripePrice as StripePrice, index_d$5_StripeProduct as StripeProduct, index_d$5_StripeProvider as StripeProvider, index_d$5_StripeSubscription as StripeSubscription, index_d$5_StripeSubscriptionBackItem as StripeSubscriptionBackItem, index_d$5_StripeSubscriptionData as StripeSubscriptionData, index_d$5_StripeWebhookEvent as StripeWebhookEvent, index_d$5_StripeWebhookEventData as StripeWebhookEventData, index_d$5_Subscription as Subscription, index_d$5_SubscriptionClaims as SubscriptionClaims, index_d$5_SubscriptionConfig as SubscriptionConfig, index_d$5_SubscriptionData as SubscriptionData, index_d$5_SubscriptionDuration as SubscriptionDuration, index_d$5_SubscriptionEventData as SubscriptionEventData, index_d$5_SubscriptionHookResult as SubscriptionHookResult, index_d$5_SubscriptionInfo as SubscriptionInfo, index_d$5_SubscriptionStatus as SubscriptionStatus, index_d$5_SubscriptionTier as SubscriptionTier, index_d$5_SubscriptionUpdate as SubscriptionUpdate, index_d$5_SupportedLanguage as SupportedLanguage, index_d$5_ThemeActions as ThemeActions, index_d$5_ThemeInfo as ThemeInfo, index_d$5_ThemeMode as ThemeMode, index_d$5_ThemeState as ThemeState, index_d$5_ThemesPluginConfig as ThemesPluginConfig, index_d$5_TierAccessHookResult as TierAccessHookResult, index_d$5_Timestamp as Timestamp, index_d$5_TokenInfo as TokenInfo, index_d$5_TokenResponse as TokenResponse, index_d$5_TokenState as TokenState, index_d$5_TokenStatus as TokenStatus, index_d$5_TranslationOptions as TranslationOptions, index_d$5_TranslationResource as TranslationResource, index_d$5_UIFieldOptions as UIFieldOptions, index_d$5_UniqueConstraintValidator as UniqueConstraintValidator, index_d$5_UniqueKeyDefinition as UniqueKeyDefinition, index_d$5_UnsubscribeFn as UnsubscribeFn, index_d$5_UpdateEntityData as UpdateEntityData, index_d$5_UpdateEntityRequest as UpdateEntityRequest, index_d$5_UpdateEntityResponse as UpdateEntityResponse, index_d$5_UpdateSubscriptionFn as UpdateSubscriptionFn, index_d$5_UploadOptions as UploadOptions, index_d$5_UploadProgressCallback as UploadProgressCallback, index_d$5_UploadResult as UploadResult, index_d$5_UseFunctionsCallResult as UseFunctionsCallResult, index_d$5_UseFunctionsMutationOptions as UseFunctionsMutationOptions, index_d$5_UseFunctionsMutationResult as UseFunctionsMutationResult, index_d$5_UseFunctionsQueryOptions as UseFunctionsQueryOptions, index_d$5_UseFunctionsQueryResult as UseFunctionsQueryResult, index_d$5_UseTranslationOptionsEnhanced as UseTranslationOptionsEnhanced, index_d$5_UserContext as UserContext, index_d$5_UserProfile as UserProfile, index_d$5_UserProviderData as UserProviderData, index_d$5_UserRole as UserRole, index_d$5_UserSubscription as UserSubscription, index_d$5_ValidateBlockOptions as ValidateBlockOptions, index_d$5_ValidationRules as ValidationRules, index_d$5_ValueTypeForField as ValueTypeForField, index_d$5_VerifiedToken as VerifiedToken, index_d$5_Visibility as Visibility, index_d$5_WebhookEvent as WebhookEvent, index_d$5_WebhookEventData as WebhookEventData, index_d$5_WhereClause as WhereClause, index_d$5_WhereOperator as WhereOperator, index_d$5_WidgetDef as WidgetDef, index_d$5_WithMetadata as WithMetadata, index_d$5_dndevSchema as dndevSchema };
|
|
13564
14291
|
}
|
|
13565
14292
|
|
|
13566
14293
|
/**
|
|
@@ -19337,6 +20064,51 @@ declare function hasProvider(key: keyof DndevProviders): boolean;
|
|
|
19337
20064
|
*/
|
|
19338
20065
|
declare function resetProviders(): void;
|
|
19339
20066
|
|
|
20067
|
+
/**
|
|
20068
|
+
* @fileoverview Request language resolution
|
|
20069
|
+
* @description One rule for the language of a render, shared by the server (cookie
|
|
20070
|
+
* header + Accept-Language) and the browser (document.cookie + navigator.languages),
|
|
20071
|
+
* so a server-rendered page and its hydration pick the same language.
|
|
20072
|
+
*
|
|
20073
|
+
* Order: the visitor's stored choice (language cookie) > their browser languages >
|
|
20074
|
+
* the app's fallback language.
|
|
20075
|
+
*
|
|
20076
|
+
* @version 0.1.0
|
|
20077
|
+
* @since 0.1.50
|
|
20078
|
+
* @author AMBROISE PARK Consulting
|
|
20079
|
+
*/
|
|
20080
|
+
/**
|
|
20081
|
+
* Cookie holding the visitor's language (BCP-47 code). Written by the language store
|
|
20082
|
+
* on every resolution and change; read by the server to render in that language.
|
|
20083
|
+
* Functional cookie (interface preference), no consent required.
|
|
20084
|
+
*/
|
|
20085
|
+
declare const LANGUAGE_COOKIE = "dndev-lang";
|
|
20086
|
+
/**
|
|
20087
|
+
* Value of one cookie in a `Cookie` header string (`a=1; b=2`).
|
|
20088
|
+
*
|
|
20089
|
+
* @returns The decoded value, or `null` when the cookie is absent
|
|
20090
|
+
*/
|
|
20091
|
+
declare function readCookieValue(cookieHeader: string | null | undefined, name: string): string | null;
|
|
20092
|
+
/**
|
|
20093
|
+
* Language codes of an `Accept-Language` header, most preferred first
|
|
20094
|
+
* (`fr-FR,fr;q=0.9,en;q=0.8` → `['fr-FR', 'fr', 'en']`).
|
|
20095
|
+
*/
|
|
20096
|
+
declare function parseAcceptLanguage(header: string | null | undefined): string[];
|
|
20097
|
+
/**
|
|
20098
|
+
* The language to render in.
|
|
20099
|
+
*
|
|
20100
|
+
* @param supported - Language codes the app ships
|
|
20101
|
+
* @param fallback - App fallback language (used when nothing else matches)
|
|
20102
|
+
* @param stored - The visitor's stored choice (language cookie), if any
|
|
20103
|
+
* @param preferred - The visitor's browser languages, most preferred first
|
|
20104
|
+
*/
|
|
20105
|
+
declare function resolveLanguage({ supported, fallback, stored, preferred, }: {
|
|
20106
|
+
supported: readonly string[];
|
|
20107
|
+
fallback: string;
|
|
20108
|
+
stored?: string | null;
|
|
20109
|
+
preferred?: readonly string[];
|
|
20110
|
+
}): string;
|
|
20111
|
+
|
|
19340
20112
|
/**
|
|
19341
20113
|
* Get or create a singleton backed by `globalThis.__DNDEV_SINGLETONS__`.
|
|
19342
20114
|
*
|
|
@@ -19933,7 +20705,6 @@ declare function withTimeout<T>(promise: Promise<T>, timeoutMs: number, signal?:
|
|
|
19933
20705
|
* @since 0.0.1
|
|
19934
20706
|
* @author AMBROISE PARK Consulting
|
|
19935
20707
|
*/
|
|
19936
|
-
//# sourceMappingURL=index.d.ts.map
|
|
19937
20708
|
|
|
19938
20709
|
declare const index_d$4_AUTH_COMPUTED_KEYS: typeof AUTH_COMPUTED_KEYS;
|
|
19939
20710
|
declare const index_d$4_AUTH_STORE_KEYS: typeof AUTH_STORE_KEYS;
|
|
@@ -19990,6 +20761,7 @@ declare const index_d$4_HybridStorageStrategy: typeof HybridStorageStrategy;
|
|
|
19990
20761
|
type index_d$4_IStorageManager = IStorageManager;
|
|
19991
20762
|
type index_d$4_IntersectionObserverCallback = IntersectionObserverCallback;
|
|
19992
20763
|
type index_d$4_IntersectionObserverOptions = IntersectionObserverOptions;
|
|
20764
|
+
declare const index_d$4_LANGUAGE_COOKIE: typeof LANGUAGE_COOKIE;
|
|
19993
20765
|
type index_d$4_LocalStorageStrategy = LocalStorageStrategy;
|
|
19994
20766
|
declare const index_d$4_LocalStorageStrategy: typeof LocalStorageStrategy;
|
|
19995
20767
|
type index_d$4_LockoutResult = LockoutResult;
|
|
@@ -20145,13 +20917,16 @@ declare const index_d$4_mapToDoNotDevError: typeof mapToDoNotDevError;
|
|
|
20145
20917
|
declare const index_d$4_maybeTranslate: typeof maybeTranslate;
|
|
20146
20918
|
declare const index_d$4_normalizeToISOString: typeof normalizeToISOString;
|
|
20147
20919
|
declare const index_d$4_observeElement: typeof observeElement;
|
|
20920
|
+
declare const index_d$4_parseAcceptLanguage: typeof parseAcceptLanguage;
|
|
20148
20921
|
declare const index_d$4_parseDate: typeof parseDate;
|
|
20149
20922
|
declare const index_d$4_parseDateToNoonUTC: typeof parseDateToNoonUTC;
|
|
20923
|
+
declare const index_d$4_readCookieValue: typeof readCookieValue;
|
|
20150
20924
|
declare const index_d$4_redirectToExternalUrl: typeof redirectToExternalUrl;
|
|
20151
20925
|
declare const index_d$4_redirectToExternalUrlWithErrorHandling: typeof redirectToExternalUrlWithErrorHandling;
|
|
20152
20926
|
declare const index_d$4_removeLocalStorageItem: typeof removeLocalStorageItem;
|
|
20153
20927
|
declare const index_d$4_resetProviders: typeof resetProviders;
|
|
20154
20928
|
declare const index_d$4_resolveAppConfig: typeof resolveAppConfig;
|
|
20929
|
+
declare const index_d$4_resolveLanguage: typeof resolveLanguage;
|
|
20155
20930
|
declare const index_d$4_safeLocalStorage: typeof safeLocalStorage;
|
|
20156
20931
|
declare const index_d$4_safeSessionStorage: typeof safeSessionStorage;
|
|
20157
20932
|
declare const index_d$4_safeValidate: typeof safeValidate;
|
|
@@ -20184,7 +20959,7 @@ declare const index_d$4_wrapAuthError: typeof wrapAuthError;
|
|
|
20184
20959
|
declare const index_d$4_wrapCrudError: typeof wrapCrudError;
|
|
20185
20960
|
declare const index_d$4_wrapStorageError: typeof wrapStorageError;
|
|
20186
20961
|
declare namespace index_d$4 {
|
|
20187
|
-
export { index_d$4_AUTH_COMPUTED_KEYS as AUTH_COMPUTED_KEYS, index_d$4_AUTH_STORE_KEYS as AUTH_STORE_KEYS, index_d$4_AuthHardening as AuthHardening, index_d$4_BILLING_STORE_KEYS as BILLING_STORE_KEYS, index_d$4_BaseStorageStrategy as BaseStorageStrategy, index_d$4_CONSENT_LEVELS as CONSENT_LEVELS, index_d$4_CURRENCY_MAP as CURRENCY_MAP, index_d$4_ClaimsCache as ClaimsCache, index_d$4_ConditionBuilder as ConditionBuilder, index_d$4_DEFAULT_CRUD_TIMEOUT as DEFAULT_CRUD_TIMEOUT, index_d$4_DEFAULT_ERROR_MESSAGES as DEFAULT_ERROR_MESSAGES, index_d$4_DEFAULT_UPLOAD_TIMEOUT as DEFAULT_UPLOAD_TIMEOUT, index_d$4_DEGRADED_AI_API as DEGRADED_AI_API, index_d$4_DEGRADED_AUTH_API as DEGRADED_AUTH_API, index_d$4_DEGRADED_BILLING_API as DEGRADED_BILLING_API, index_d$4_DEGRADED_CRUD_API as DEGRADED_CRUD_API, index_d$4_DEGRADED_OAUTH_API as DEGRADED_OAUTH_API, index_d$4_DoNotDevError as DoNotDevError, index_d$4_EventEmitter as EventEmitter, index_d$4_FRAMEWORK_FEATURES as FRAMEWORK_FEATURES, index_d$4_HybridStorageStrategy as HybridStorageStrategy, index_d$4_LocalStorageStrategy as LocalStorageStrategy, index_d$4_OAUTH_STORE_KEYS as OAUTH_STORE_KEYS, index_d$4_SingletonManager as SingletonManager, index_d$4_StorageManager as StorageManager, index_d$4_TokenManager as TokenManager, index_d$4_ViewportHandler as ViewportHandler, index_d$4_areFeaturesAvailable as areFeaturesAvailable, index_d$4_canRedirectExternally as canRedirectExternally, index_d$4_captureError as captureError, index_d$4_captureErrorToSentry as captureErrorToSentry, index_d$4_captureMessage as captureMessage, index_d$4_cleanupSentry as cleanupSentry, index_d$4_clearFeatureCache as clearFeatureCache, index_d$4_clearGlobalSingleton as clearGlobalSingleton, index_d$4_clearLocalStorage as clearLocalStorage, index_d$4_clearPartnerCache as clearPartnerCache, index_d$4_commonErrorCodeMappings as commonErrorCodeMappings, index_d$4_compactToISOString as compactToISOString, index_d$4_configureProviders as configureProviders, index_d$4_cooldown as cooldown, index_d$4_createAsyncSingleton as createAsyncSingleton, index_d$4_createErrorHandler as createErrorHandler, index_d$4_createMetadata as createMetadata, index_d$4_createMethodProxy as createMethodProxy, index_d$4_createSingleton as createSingleton, index_d$4_createSingletonWithParams as createSingletonWithParams, index_d$4_createViewportHandler as createViewportHandler, index_d$4_debounce as debounce, index_d$4_debugPlatformDetection as debugPlatformDetection, index_d$4_decryptData as decryptData, index_d$4_delay as delay, index_d$4_deleteCookie as deleteCookie, index_d$4_detectBrowser as detectBrowser, index_d$4_detectErrorSource as detectErrorSource, index_d$4_detectFeatures as detectFeatures, index_d$4_detectPlatform as detectPlatform, index_d$4_detectPlatformInfo as detectPlatformInfo, index_d$4_detectStorageError as detectStorageError, index_d$4_encryptData as encryptData, index_d$4_ensureSpreadable as ensureSpreadable, index_d$4_evaluateCondition as evaluateCondition, index_d$4_evaluateFieldConditions as evaluateFieldConditions, index_d$4_filterVisibleFields as filterVisibleFields, index_d$4_formatCookieList as formatCookieList, index_d$4_formatCurrency as formatCurrency, index_d$4_formatDate as formatDate, index_d$4_formatRelativeTime as formatRelativeTime, index_d$4_generateCodeChallenge as generateCodeChallenge, index_d$4_generateCodeVerifier as generateCodeVerifier, index_d$4_generateCompatibilityReport as generateCompatibilityReport, index_d$4_generateEncryptionKey as generateEncryptionKey, index_d$4_generateFirestoreRuleCondition as generateFirestoreRuleCondition, index_d$4_generatePKCEPair as generatePKCEPair, index_d$4_generateUUID as generateUUID, index_d$4_getActiveCookies as getActiveCookies, index_d$4_getAppShortName as getAppShortName, index_d$4_getAssetsConfig as getAssetsConfig, index_d$4_getAuthDomain as getAuthDomain, index_d$4_getAuthMethod as getAuthMethod, index_d$4_getAuthPartnerConfig as getAuthPartnerConfig, index_d$4_getAuthPartnerIdByFirebaseId as getAuthPartnerIdByFirebaseId, index_d$4_getAvailableFeatures as getAvailableFeatures, index_d$4_getBrowserRecommendations as getBrowserRecommendations, index_d$4_getConditionDependencies as getConditionDependencies, index_d$4_getConfigSection as getConfigSection, index_d$4_getConfigSource as getConfigSource, index_d$4_getCookie as getCookie, index_d$4_getCookieExamples as getCookieExamples, index_d$4_getCookiesByCategory as getCookiesByCategory, index_d$4_getCurrencyLocale as getCurrencyLocale, index_d$4_getCurrencySymbol as getCurrencySymbol, index_d$4_getCurrentOrigin as getCurrentOrigin, index_d$4_getCurrentTimestamp as getCurrentTimestamp, index_d$4_getDndevConfig as getDndevConfig, index_d$4_getEnabledAuthPartners as getEnabledAuthPartners, index_d$4_getEnabledOAuthPartners as getEnabledOAuthPartners, index_d$4_getEncryptionKey as getEncryptionKey, index_d$4_getFeatureSummary as getFeatureSummary, index_d$4_getGlobalSingleton as getGlobalSingleton, index_d$4_getI18nConfig as getI18nConfig, index_d$4_getListCardFieldNames as getListCardFieldNames, index_d$4_getLocalStorageItem as getLocalStorageItem, index_d$4_getNextEnvVar as getNextEnvVar, index_d$4_getOAuthClientId as getOAuthClientId, index_d$4_getOAuthPartnerConfig as getOAuthPartnerConfig, index_d$4_getOAuthRedirectUri as getOAuthRedirectUri, index_d$4_getOAuthRedirectUrl as getOAuthRedirectUrl, index_d$4_getPartnerCacheStatus as getPartnerCacheStatus, index_d$4_getPartnerConfig as getPartnerConfig, index_d$4_getPlatformEnvVar as getPlatformEnvVar, index_d$4_getProvider as getProvider, index_d$4_getProviderColor as getProviderColor, index_d$4_getRoleFromClaims as getRoleFromClaims, index_d$4_getRoutesConfig as getRoutesConfig, index_d$4_getStorageManager as getStorageManager, index_d$4_getThemesConfig as getThemesConfig, index_d$4_getTokenManager as getTokenManager, index_d$4_getValidAuthPartnerConfig as getValidAuthPartnerConfig, index_d$4_getValidAuthPartnerIds as getValidAuthPartnerIds, index_d$4_getValidOAuthPartnerConfig as getValidOAuthPartnerConfig, index_d$4_getValidOAuthPartnerIds as getValidOAuthPartnerIds, index_d$4_getVisibleFields as getVisibleFields, index_d$4_getVisibleItems as getVisibleItems, index_d$4_getViteEnvVar as getViteEnvVar, index_d$4_getWeekFromISOString as getWeekFromISOString, index_d$4_globalEmitter as globalEmitter, index_d$4_handleError as handleError, index_d$4_hasOptionalCookies as hasOptionalCookies, index_d$4_hasProvider as hasProvider, index_d$4_hasRestrictedVisibility as hasRestrictedVisibility, index_d$4_hasRoleAccess as hasRoleAccess, index_d$4_hasTierAccess as hasTierAccess, index_d$4_initSentry as initSentry, index_d$4_initializeConfig as initializeConfig, index_d$4_initializePlatformDetection as initializePlatformDetection, index_d$4_isAuthPartnerEnabled as isAuthPartnerEnabled, index_d$4_isClient as isClient, index_d$4_isCompactDateString as isCompactDateString, index_d$4_isConfigAvailable as isConfigAvailable, index_d$4_isDev as isDev, index_d$4_isElementInViewport as isElementInViewport, index_d$4_isEmailVerificationRequired as isEmailVerificationRequired, index_d$4_isExpo as isExpo, index_d$4_isFeatureAvailable as isFeatureAvailable, index_d$4_isFieldVisible as isFieldVisible, index_d$4_isIntersectionObserverSupported as isIntersectionObserverSupported, index_d$4_isLocalStorageAvailable as isLocalStorageAvailable, index_d$4_isNextJs as isNextJs, index_d$4_isOAuthPartnerEnabled as isOAuthPartnerEnabled, index_d$4_isPKCESupported as isPKCESupported, index_d$4_isPlatform as isPlatform, index_d$4_isReactNative as isReactNative, index_d$4_isServer as isServer, index_d$4_isTest as isTest, index_d$4_isVite as isVite, index_d$4_isoToCompactString as isoToCompactString, index_d$4_lazyImport as lazyImport, index_d$4_mapToDoNotDevError as mapToDoNotDevError, index_d$4_maybeTranslate as maybeTranslate, index_d$4_normalizeToISOString as normalizeToISOString, index_d$4_observeElement as observeElement, index_d$4_parseDate as parseDate, index_d$4_parseDateToNoonUTC as parseDateToNoonUTC, index_d$4_redirectToExternalUrl as redirectToExternalUrl, index_d$4_redirectToExternalUrlWithErrorHandling as redirectToExternalUrlWithErrorHandling, index_d$4_removeLocalStorageItem as removeLocalStorageItem, index_d$4_resetProviders as resetProviders, index_d$4_resolveAppConfig as resolveAppConfig, index_d$4_safeLocalStorage as safeLocalStorage, index_d$4_safeSessionStorage as safeSessionStorage, index_d$4_safeValidate as safeValidate, index_d$4_sanitizeHref as sanitizeHref, index_d$4_setCookie as setCookie, index_d$4_setLocalStorageItem as setLocalStorageItem, index_d$4_shouldShowEmailVerification as shouldShowEmailVerification, index_d$4_showNotification as showNotification, index_d$4_supportsFeature as supportsFeature, index_d$4_throttle as throttle, index_d$4_timestampToISOString as timestampToISOString, index_d$4_timingUtils as timingUtils, index_d$4_toDateOnly as toDateOnly, index_d$4_toISOString as toISOString, index_d$4_translateArray as translateArray, index_d$4_translateArrayRange as translateArrayRange, index_d$4_translateArrayWithIndices as translateArrayWithIndices, index_d$4_translateObjectArray as translateObjectArray, index_d$4_updateMetadata as updateMetadata, index_d$4_useSafeContext as useSafeContext, index_d$4_useStorageManager as useStorageManager, index_d$4_validateCodeChallenge as validateCodeChallenge, index_d$4_validateCodeVerifier as validateCodeVerifier, index_d$4_validateWithSchema as validateWithSchema, index_d$4_when as when, index_d$4_withErrorHandling as withErrorHandling, index_d$4_withGracefulDegradation as withGracefulDegradation, index_d$4_withTimeout as withTimeout, index_d$4_wrapAuthError as wrapAuthError, index_d$4_wrapCrudError as wrapCrudError, index_d$4_wrapStorageError as wrapStorageError };
|
|
20962
|
+
export { index_d$4_AUTH_COMPUTED_KEYS as AUTH_COMPUTED_KEYS, index_d$4_AUTH_STORE_KEYS as AUTH_STORE_KEYS, index_d$4_AuthHardening as AuthHardening, index_d$4_BILLING_STORE_KEYS as BILLING_STORE_KEYS, index_d$4_BaseStorageStrategy as BaseStorageStrategy, index_d$4_CONSENT_LEVELS as CONSENT_LEVELS, index_d$4_CURRENCY_MAP as CURRENCY_MAP, index_d$4_ClaimsCache as ClaimsCache, index_d$4_ConditionBuilder as ConditionBuilder, index_d$4_DEFAULT_CRUD_TIMEOUT as DEFAULT_CRUD_TIMEOUT, index_d$4_DEFAULT_ERROR_MESSAGES as DEFAULT_ERROR_MESSAGES, index_d$4_DEFAULT_UPLOAD_TIMEOUT as DEFAULT_UPLOAD_TIMEOUT, index_d$4_DEGRADED_AI_API as DEGRADED_AI_API, index_d$4_DEGRADED_AUTH_API as DEGRADED_AUTH_API, index_d$4_DEGRADED_BILLING_API as DEGRADED_BILLING_API, index_d$4_DEGRADED_CRUD_API as DEGRADED_CRUD_API, index_d$4_DEGRADED_OAUTH_API as DEGRADED_OAUTH_API, index_d$4_DoNotDevError as DoNotDevError, index_d$4_EventEmitter as EventEmitter, index_d$4_FRAMEWORK_FEATURES as FRAMEWORK_FEATURES, index_d$4_HybridStorageStrategy as HybridStorageStrategy, index_d$4_LANGUAGE_COOKIE as LANGUAGE_COOKIE, index_d$4_LocalStorageStrategy as LocalStorageStrategy, index_d$4_OAUTH_STORE_KEYS as OAUTH_STORE_KEYS, index_d$4_SingletonManager as SingletonManager, index_d$4_StorageManager as StorageManager, index_d$4_TokenManager as TokenManager, index_d$4_ViewportHandler as ViewportHandler, index_d$4_areFeaturesAvailable as areFeaturesAvailable, index_d$4_canRedirectExternally as canRedirectExternally, index_d$4_captureError as captureError, index_d$4_captureErrorToSentry as captureErrorToSentry, index_d$4_captureMessage as captureMessage, index_d$4_cleanupSentry as cleanupSentry, index_d$4_clearFeatureCache as clearFeatureCache, index_d$4_clearGlobalSingleton as clearGlobalSingleton, index_d$4_clearLocalStorage as clearLocalStorage, index_d$4_clearPartnerCache as clearPartnerCache, index_d$4_commonErrorCodeMappings as commonErrorCodeMappings, index_d$4_compactToISOString as compactToISOString, index_d$4_configureProviders as configureProviders, index_d$4_cooldown as cooldown, index_d$4_createAsyncSingleton as createAsyncSingleton, index_d$4_createErrorHandler as createErrorHandler, index_d$4_createMetadata as createMetadata, index_d$4_createMethodProxy as createMethodProxy, index_d$4_createSingleton as createSingleton, index_d$4_createSingletonWithParams as createSingletonWithParams, index_d$4_createViewportHandler as createViewportHandler, index_d$4_debounce as debounce, index_d$4_debugPlatformDetection as debugPlatformDetection, index_d$4_decryptData as decryptData, index_d$4_delay as delay, index_d$4_deleteCookie as deleteCookie, index_d$4_detectBrowser as detectBrowser, index_d$4_detectErrorSource as detectErrorSource, index_d$4_detectFeatures as detectFeatures, index_d$4_detectPlatform as detectPlatform, index_d$4_detectPlatformInfo as detectPlatformInfo, index_d$4_detectStorageError as detectStorageError, index_d$4_encryptData as encryptData, index_d$4_ensureSpreadable as ensureSpreadable, index_d$4_evaluateCondition as evaluateCondition, index_d$4_evaluateFieldConditions as evaluateFieldConditions, index_d$4_filterVisibleFields as filterVisibleFields, index_d$4_formatCookieList as formatCookieList, index_d$4_formatCurrency as formatCurrency, index_d$4_formatDate as formatDate, index_d$4_formatRelativeTime as formatRelativeTime, index_d$4_generateCodeChallenge as generateCodeChallenge, index_d$4_generateCodeVerifier as generateCodeVerifier, index_d$4_generateCompatibilityReport as generateCompatibilityReport, index_d$4_generateEncryptionKey as generateEncryptionKey, index_d$4_generateFirestoreRuleCondition as generateFirestoreRuleCondition, index_d$4_generatePKCEPair as generatePKCEPair, index_d$4_generateUUID as generateUUID, index_d$4_getActiveCookies as getActiveCookies, index_d$4_getAppShortName as getAppShortName, index_d$4_getAssetsConfig as getAssetsConfig, index_d$4_getAuthDomain as getAuthDomain, index_d$4_getAuthMethod as getAuthMethod, index_d$4_getAuthPartnerConfig as getAuthPartnerConfig, index_d$4_getAuthPartnerIdByFirebaseId as getAuthPartnerIdByFirebaseId, index_d$4_getAvailableFeatures as getAvailableFeatures, index_d$4_getBrowserRecommendations as getBrowserRecommendations, index_d$4_getConditionDependencies as getConditionDependencies, index_d$4_getConfigSection as getConfigSection, index_d$4_getConfigSource as getConfigSource, index_d$4_getCookie as getCookie, index_d$4_getCookieExamples as getCookieExamples, index_d$4_getCookiesByCategory as getCookiesByCategory, index_d$4_getCurrencyLocale as getCurrencyLocale, index_d$4_getCurrencySymbol as getCurrencySymbol, index_d$4_getCurrentOrigin as getCurrentOrigin, index_d$4_getCurrentTimestamp as getCurrentTimestamp, index_d$4_getDndevConfig as getDndevConfig, index_d$4_getEnabledAuthPartners as getEnabledAuthPartners, index_d$4_getEnabledOAuthPartners as getEnabledOAuthPartners, index_d$4_getEncryptionKey as getEncryptionKey, index_d$4_getFeatureSummary as getFeatureSummary, index_d$4_getGlobalSingleton as getGlobalSingleton, index_d$4_getI18nConfig as getI18nConfig, index_d$4_getListCardFieldNames as getListCardFieldNames, index_d$4_getLocalStorageItem as getLocalStorageItem, index_d$4_getNextEnvVar as getNextEnvVar, index_d$4_getOAuthClientId as getOAuthClientId, index_d$4_getOAuthPartnerConfig as getOAuthPartnerConfig, index_d$4_getOAuthRedirectUri as getOAuthRedirectUri, index_d$4_getOAuthRedirectUrl as getOAuthRedirectUrl, index_d$4_getPartnerCacheStatus as getPartnerCacheStatus, index_d$4_getPartnerConfig as getPartnerConfig, index_d$4_getPlatformEnvVar as getPlatformEnvVar, index_d$4_getProvider as getProvider, index_d$4_getProviderColor as getProviderColor, index_d$4_getRoleFromClaims as getRoleFromClaims, index_d$4_getRoutesConfig as getRoutesConfig, index_d$4_getStorageManager as getStorageManager, index_d$4_getThemesConfig as getThemesConfig, index_d$4_getTokenManager as getTokenManager, index_d$4_getValidAuthPartnerConfig as getValidAuthPartnerConfig, index_d$4_getValidAuthPartnerIds as getValidAuthPartnerIds, index_d$4_getValidOAuthPartnerConfig as getValidOAuthPartnerConfig, index_d$4_getValidOAuthPartnerIds as getValidOAuthPartnerIds, index_d$4_getVisibleFields as getVisibleFields, index_d$4_getVisibleItems as getVisibleItems, index_d$4_getViteEnvVar as getViteEnvVar, index_d$4_getWeekFromISOString as getWeekFromISOString, index_d$4_globalEmitter as globalEmitter, index_d$4_handleError as handleError, index_d$4_hasOptionalCookies as hasOptionalCookies, index_d$4_hasProvider as hasProvider, index_d$4_hasRestrictedVisibility as hasRestrictedVisibility, index_d$4_hasRoleAccess as hasRoleAccess, index_d$4_hasTierAccess as hasTierAccess, index_d$4_initSentry as initSentry, index_d$4_initializeConfig as initializeConfig, index_d$4_initializePlatformDetection as initializePlatformDetection, index_d$4_isAuthPartnerEnabled as isAuthPartnerEnabled, index_d$4_isClient as isClient, index_d$4_isCompactDateString as isCompactDateString, index_d$4_isConfigAvailable as isConfigAvailable, index_d$4_isDev as isDev, index_d$4_isElementInViewport as isElementInViewport, index_d$4_isEmailVerificationRequired as isEmailVerificationRequired, index_d$4_isExpo as isExpo, index_d$4_isFeatureAvailable as isFeatureAvailable, index_d$4_isFieldVisible as isFieldVisible, index_d$4_isIntersectionObserverSupported as isIntersectionObserverSupported, index_d$4_isLocalStorageAvailable as isLocalStorageAvailable, index_d$4_isNextJs as isNextJs, index_d$4_isOAuthPartnerEnabled as isOAuthPartnerEnabled, index_d$4_isPKCESupported as isPKCESupported, index_d$4_isPlatform as isPlatform, index_d$4_isReactNative as isReactNative, index_d$4_isServer as isServer, index_d$4_isTest as isTest, index_d$4_isVite as isVite, index_d$4_isoToCompactString as isoToCompactString, index_d$4_lazyImport as lazyImport, index_d$4_mapToDoNotDevError as mapToDoNotDevError, index_d$4_maybeTranslate as maybeTranslate, index_d$4_normalizeToISOString as normalizeToISOString, index_d$4_observeElement as observeElement, index_d$4_parseAcceptLanguage as parseAcceptLanguage, index_d$4_parseDate as parseDate, index_d$4_parseDateToNoonUTC as parseDateToNoonUTC, index_d$4_readCookieValue as readCookieValue, index_d$4_redirectToExternalUrl as redirectToExternalUrl, index_d$4_redirectToExternalUrlWithErrorHandling as redirectToExternalUrlWithErrorHandling, index_d$4_removeLocalStorageItem as removeLocalStorageItem, index_d$4_resetProviders as resetProviders, index_d$4_resolveAppConfig as resolveAppConfig, index_d$4_resolveLanguage as resolveLanguage, index_d$4_safeLocalStorage as safeLocalStorage, index_d$4_safeSessionStorage as safeSessionStorage, index_d$4_safeValidate as safeValidate, index_d$4_sanitizeHref as sanitizeHref, index_d$4_setCookie as setCookie, index_d$4_setLocalStorageItem as setLocalStorageItem, index_d$4_shouldShowEmailVerification as shouldShowEmailVerification, index_d$4_showNotification as showNotification, index_d$4_supportsFeature as supportsFeature, index_d$4_throttle as throttle, index_d$4_timestampToISOString as timestampToISOString, index_d$4_timingUtils as timingUtils, index_d$4_toDateOnly as toDateOnly, index_d$4_toISOString as toISOString, index_d$4_translateArray as translateArray, index_d$4_translateArrayRange as translateArrayRange, index_d$4_translateArrayWithIndices as translateArrayWithIndices, index_d$4_translateObjectArray as translateObjectArray, index_d$4_updateMetadata as updateMetadata, index_d$4_useSafeContext as useSafeContext, index_d$4_useStorageManager as useStorageManager, index_d$4_validateCodeChallenge as validateCodeChallenge, index_d$4_validateCodeVerifier as validateCodeVerifier, index_d$4_validateWithSchema as validateWithSchema, index_d$4_when as when, index_d$4_withErrorHandling as withErrorHandling, index_d$4_withGracefulDegradation as withGracefulDegradation, index_d$4_withTimeout as withTimeout, index_d$4_wrapAuthError as wrapAuthError, index_d$4_wrapCrudError as wrapCrudError, index_d$4_wrapStorageError as wrapStorageError };
|
|
20188
20963
|
export type { index_d$4_AuthHardeningConfig as AuthHardeningConfig, index_d$4_AuthUserLike as AuthUserLike, index_d$4_BrowserEngine as BrowserEngine, index_d$4_BrowserInfo as BrowserInfo, index_d$4_BrowserType as BrowserType, index_d$4_Claims as Claims, index_d$4_ClaimsCacheOptions as ClaimsCacheOptions, index_d$4_ClaimsCacheResult as ClaimsCacheResult, index_d$4_CleanupFunction as CleanupFunction, index_d$4_CompatibilityReport as CompatibilityReport, index_d$4_ConsentLevel as ConsentLevel, index_d$4_CookieInfo as CookieInfo, index_d$4_CurrencyEntry as CurrencyEntry, index_d$4_DateFormatOptions as DateFormatOptions, index_d$4_DateFormatPreset as DateFormatPreset, index_d$4_ErrorHandlerConfig as ErrorHandlerConfig, index_d$4_ErrorHandlerFunction as ErrorHandlerFunction, index_d$4_EventListener as EventListener, index_d$4_FeatureAvailability as FeatureAvailability, index_d$4_FeatureSupport as FeatureSupport, index_d$4_FilterVisibleFieldsOptions as FilterVisibleFieldsOptions, index_d$4_FrameworkFeature as FrameworkFeature, index_d$4_GetVisibleFieldsOptions as GetVisibleFieldsOptions, index_d$4_HandleErrorOptions as HandleErrorOptions, index_d$4_IStorageManager as IStorageManager, index_d$4_IntersectionObserverCallback as IntersectionObserverCallback, index_d$4_IntersectionObserverOptions as IntersectionObserverOptions, index_d$4_LockoutResult as LockoutResult, index_d$4_OS as OS, index_d$4_PlatformInfo as PlatformInfo, index_d$4_StorageError as StorageError, index_d$4_StorageErrorType as StorageErrorType, index_d$4_StorageOptions as StorageOptions, index_d$4_TokenManagerOptions as TokenManagerOptions, index_d$4_ViewportDetectionOptions as ViewportDetectionOptions, index_d$4_ViewportDetectionResult as ViewportDetectionResult };
|
|
20189
20964
|
}
|
|
20190
20965
|
|
|
@@ -21190,7 +21965,6 @@ declare const useThemeReady: () => boolean;
|
|
|
21190
21965
|
* @since 0.0.1
|
|
21191
21966
|
* @author AMBROISE PARK Consulting
|
|
21192
21967
|
*/
|
|
21193
|
-
//# sourceMappingURL=index.d.ts.map
|
|
21194
21968
|
|
|
21195
21969
|
type index_d$3_BreakpointAPI = BreakpointAPI;
|
|
21196
21970
|
type index_d$3_DoNotDevStore = DoNotDevStore;
|
|
@@ -22168,7 +22942,6 @@ declare function validateEvent(event: unknown, widgetKind: string): ValidateResu
|
|
|
22168
22942
|
* @since 0.0.1
|
|
22169
22943
|
* @author AMBROISE PARK Consulting
|
|
22170
22944
|
*/
|
|
22171
|
-
//# sourceMappingURL=index.d.ts.map
|
|
22172
22945
|
|
|
22173
22946
|
declare const index_d$2_BACKEND_GENERATED_FIELD_NAMES: typeof BACKEND_GENERATED_FIELD_NAMES;
|
|
22174
22947
|
type index_d$2_BackendGeneratedField = BackendGeneratedField;
|
|
@@ -23494,6 +24267,15 @@ declare function useBreathingTimer({ duration, onComplete, }: UseBreathingTimerP
|
|
|
23494
24267
|
formatTime: (seconds: number) => string;
|
|
23495
24268
|
};
|
|
23496
24269
|
|
|
24270
|
+
/**
|
|
24271
|
+
* @fileoverview QueryProviders - TanStack Query Provider Component
|
|
24272
|
+
* @description TanStack Query provider for apps that use CRUD operations (SSR-safe)
|
|
24273
|
+
*
|
|
24274
|
+
* @version 0.1.0
|
|
24275
|
+
* @since 0.0.1
|
|
24276
|
+
* @author AMBROISE PARK Consulting
|
|
24277
|
+
*/
|
|
24278
|
+
|
|
23497
24279
|
/**
|
|
23498
24280
|
* QueryProviders - TanStack Query Provider Component
|
|
23499
24281
|
*
|
|
@@ -23570,7 +24352,7 @@ interface AppConfigProviderProps {
|
|
|
23570
24352
|
* </AppConfigProvider>
|
|
23571
24353
|
* ```
|
|
23572
24354
|
*/
|
|
23573
|
-
declare function AppConfigProvider({ config, platform, children, }: AppConfigProviderProps):
|
|
24355
|
+
declare function AppConfigProvider({ config, platform, children, }: AppConfigProviderProps): react.JSX.Element;
|
|
23574
24356
|
/**
|
|
23575
24357
|
* useAppConfig hook
|
|
23576
24358
|
*
|
|
@@ -23664,6 +24446,28 @@ declare function useFaviconConfig(): FaviconConfig | false | undefined;
|
|
|
23664
24446
|
*/
|
|
23665
24447
|
declare function useFeaturesConfig(): FeaturesConfig;
|
|
23666
24448
|
|
|
24449
|
+
/**
|
|
24450
|
+
* Provides the request's auth session snapshot (`null` = unknown).
|
|
24451
|
+
*
|
|
24452
|
+
* @version 0.1.0
|
|
24453
|
+
* @since 0.1.50
|
|
24454
|
+
* @author AMBROISE PARK Consulting
|
|
24455
|
+
*/
|
|
24456
|
+
declare function AuthSessionProvider({ snapshot, children, }: {
|
|
24457
|
+
snapshot: AuthSessionSnapshot | null;
|
|
24458
|
+
children: ReactNode;
|
|
24459
|
+
}): react.JSX.Element;
|
|
24460
|
+
/**
|
|
24461
|
+
* The request's auth session snapshot, or `null` when the cookies cannot tell
|
|
24462
|
+
* (no provider, or an auth provider that does not keep its session in cookies).
|
|
24463
|
+
* Display only, and only meaningful until the auth provider is ready.
|
|
24464
|
+
*
|
|
24465
|
+
* @version 0.1.0
|
|
24466
|
+
* @since 0.1.50
|
|
24467
|
+
* @author AMBROISE PARK Consulting
|
|
24468
|
+
*/
|
|
24469
|
+
declare function useAuthSessionSnapshot(): AuthSessionSnapshot | null;
|
|
24470
|
+
|
|
23667
24471
|
/**
|
|
23668
24472
|
* @fileoverview Core hooks package
|
|
23669
24473
|
* @description React hooks for DoNotDev framework
|
|
@@ -23673,11 +24477,11 @@ declare function useFeaturesConfig(): FeaturesConfig;
|
|
|
23673
24477
|
* @since 0.0.1
|
|
23674
24478
|
* @author AMBROISE PARK Consulting
|
|
23675
24479
|
*/
|
|
23676
|
-
//# sourceMappingURL=index.d.ts.map
|
|
23677
24480
|
|
|
23678
24481
|
declare const index_d$1_AppConfigContext: typeof AppConfigContext;
|
|
23679
24482
|
declare const index_d$1_AppConfigProvider: typeof AppConfigProvider;
|
|
23680
24483
|
type index_d$1_AppConfigProviderProps = AppConfigProviderProps;
|
|
24484
|
+
declare const index_d$1_AuthSessionProvider: typeof AuthSessionProvider;
|
|
23681
24485
|
declare const index_d$1_MutationOptions: typeof MutationOptions;
|
|
23682
24486
|
declare const index_d$1_QueryClient: typeof QueryClient;
|
|
23683
24487
|
declare const index_d$1_QueryClientProvider: typeof QueryClientProvider;
|
|
@@ -23707,6 +24511,7 @@ type index_d$1_UseViewportVisibilityReturn = UseViewportVisibilityReturn;
|
|
|
23707
24511
|
declare const index_d$1_getQueryClient: typeof getQueryClient;
|
|
23708
24512
|
declare const index_d$1_useAppConfig: typeof useAppConfig;
|
|
23709
24513
|
declare const index_d$1_useAuthConfig: typeof useAuthConfig;
|
|
24514
|
+
declare const index_d$1_useAuthSessionSnapshot: typeof useAuthSessionSnapshot;
|
|
23710
24515
|
declare const index_d$1_useBreathingTimer: typeof useBreathingTimer;
|
|
23711
24516
|
declare const index_d$1_useClickOutside: typeof useClickOutside;
|
|
23712
24517
|
declare const index_d$1_useDebounce: typeof useDebounce;
|
|
@@ -23723,10 +24528,24 @@ declare const index_d$1_useScriptLoader: typeof useScriptLoader;
|
|
|
23723
24528
|
declare const index_d$1_useSeoConfig: typeof useSeoConfig;
|
|
23724
24529
|
declare const index_d$1_useViewportVisibility: typeof useViewportVisibility;
|
|
23725
24530
|
declare namespace index_d$1 {
|
|
23726
|
-
export { index_d$1_AppConfigContext as AppConfigContext, index_d$1_AppConfigProvider as AppConfigProvider, index_d$1_MutationOptions as MutationOptions, index_d$1_QueryClient as QueryClient, index_d$1_QueryClientProvider as QueryClientProvider, index_d$1_QueryClientProviderProps as QueryClientProviderProps, index_d$1_QueryFunction as QueryFunction, index_d$1_QueryKey as QueryKey, index_d$1_QueryProviders as QueryProviders, index_d$1_UseMutationOptions as UseMutationOptions, index_d$1_UseMutationResult as UseMutationResult, index_d$1_UseQueryOptions as UseQueryOptions, index_d$1_UseQueryResult as UseQueryResult, index_d$1_getQueryClient as getQueryClient, index_d$1_useAppConfig as useAppConfig, index_d$1_useAuthConfig as useAuthConfig, index_d$1_useBreathingTimer as useBreathingTimer, index_d$1_useClickOutside as useClickOutside, index_d$1_useDebounce as useDebounce, index_d$1_useEventListener as useEventListener, index_d$1_useFaviconConfig as useFaviconConfig, index_d$1_useFeaturesConfig as useFeaturesConfig, index_d$1_useIntersectionObserver as useIntersectionObserver, index_d$1_useIsClient as useIsClient, index_d$1_useLocalStorage as useLocalStorage, index_d$1_useMutation as useMutation, index_d$1_useQuery as useQuery, index_d$1_useQueryClient as useQueryClient, index_d$1_useScriptLoader as useScriptLoader, index_d$1_useSeoConfig as useSeoConfig, index_d$1_useViewportVisibility as useViewportVisibility };
|
|
24531
|
+
export { index_d$1_AppConfigContext as AppConfigContext, index_d$1_AppConfigProvider as AppConfigProvider, index_d$1_AuthSessionProvider as AuthSessionProvider, index_d$1_MutationOptions as MutationOptions, index_d$1_QueryClient as QueryClient, index_d$1_QueryClientProvider as QueryClientProvider, index_d$1_QueryClientProviderProps as QueryClientProviderProps, index_d$1_QueryFunction as QueryFunction, index_d$1_QueryKey as QueryKey, index_d$1_QueryProviders as QueryProviders, index_d$1_UseMutationOptions as UseMutationOptions, index_d$1_UseMutationResult as UseMutationResult, index_d$1_UseQueryOptions as UseQueryOptions, index_d$1_UseQueryResult as UseQueryResult, index_d$1_getQueryClient as getQueryClient, index_d$1_useAppConfig as useAppConfig, index_d$1_useAuthConfig as useAuthConfig, index_d$1_useAuthSessionSnapshot as useAuthSessionSnapshot, index_d$1_useBreathingTimer as useBreathingTimer, index_d$1_useClickOutside as useClickOutside, index_d$1_useDebounce as useDebounce, index_d$1_useEventListener as useEventListener, index_d$1_useFaviconConfig as useFaviconConfig, index_d$1_useFeaturesConfig as useFeaturesConfig, index_d$1_useIntersectionObserver as useIntersectionObserver, index_d$1_useIsClient as useIsClient, index_d$1_useLocalStorage as useLocalStorage, index_d$1_useMutation as useMutation, index_d$1_useQuery as useQuery, index_d$1_useQueryClient as useQueryClient, index_d$1_useScriptLoader as useScriptLoader, index_d$1_useSeoConfig as useSeoConfig, index_d$1_useViewportVisibility as useViewportVisibility };
|
|
23727
24532
|
export type { index_d$1_AppConfigProviderProps as AppConfigProviderProps, index_d$1_UseClickOutsideOptions as UseClickOutsideOptions, index_d$1_UseClickOutsideReturn as UseClickOutsideReturn, index_d$1_UseDebounceOptions as UseDebounceOptions, index_d$1_UseEventListenerOptions as UseEventListenerOptions, index_d$1_UseEventListenerReturn as UseEventListenerReturn, index_d$1_UseIntersectionObserverOptions as UseIntersectionObserverOptions, index_d$1_UseIntersectionObserverReturn as UseIntersectionObserverReturn, index_d$1_UseLocalStorageOptions as UseLocalStorageOptions, index_d$1_UseLocalStorageReturn as UseLocalStorageReturn, index_d$1_UseMutationOptionsWithErrorHandling as UseMutationOptionsWithErrorHandling, index_d$1_UseQueryOptionsWithErrorHandling as UseQueryOptionsWithErrorHandling, index_d$1_UseScriptLoaderOptions as UseScriptLoaderOptions, index_d$1_UseScriptLoaderReturn as UseScriptLoaderReturn, index_d$1_UseViewportVisibilityOptions as UseViewportVisibilityOptions, index_d$1_UseViewportVisibilityReturn as UseViewportVisibilityReturn };
|
|
23728
24533
|
}
|
|
23729
24534
|
|
|
24535
|
+
/**
|
|
24536
|
+
* Provides the request language to `useTranslation` for the server render and the
|
|
24537
|
+
* client's hydration pass. Rendered by the Next providers with the language resolved
|
|
24538
|
+
* from the request (language cookie, Accept-Language); the same props reach the
|
|
24539
|
+
* client, so both passes translate identically.
|
|
24540
|
+
*
|
|
24541
|
+
* @version 0.1.0
|
|
24542
|
+
* @since 0.1.50
|
|
24543
|
+
* @author AMBROISE PARK Consulting
|
|
24544
|
+
*/
|
|
24545
|
+
declare function RequestLanguageProvider({ language, children, }: {
|
|
24546
|
+
language: string;
|
|
24547
|
+
children: ReactNode;
|
|
24548
|
+
}): react.FunctionComponentElement<react.ProviderProps<string | null>>;
|
|
23730
24549
|
/**
|
|
23731
24550
|
* Translation hook result interface
|
|
23732
24551
|
* @public
|
|
@@ -23738,8 +24557,14 @@ declare namespace index_d$1 {
|
|
|
23738
24557
|
interface UseTranslationResult {
|
|
23739
24558
|
/** Translation function with interpolation support */
|
|
23740
24559
|
t: TFunction;
|
|
23741
|
-
/** i18next instance for advanced usage */
|
|
24560
|
+
/** i18next instance for advanced usage (null during the server render and hydration pass) */
|
|
23742
24561
|
i18n: any;
|
|
24562
|
+
/**
|
|
24563
|
+
* Current language, available during the server render too: the request language
|
|
24564
|
+
* on the server and the hydration pass, then the live i18next language. Use it for
|
|
24565
|
+
* locale-aware formatting (prices, dates) so the first paint is final.
|
|
24566
|
+
*/
|
|
24567
|
+
language: string;
|
|
23743
24568
|
/** Whether translations are ready for use */
|
|
23744
24569
|
ready: boolean;
|
|
23745
24570
|
/** Whether language switching is in progress */
|
|
@@ -23753,8 +24578,11 @@ interface UseTranslationResult {
|
|
|
23753
24578
|
* **Architecture**: Uses singleton pattern for clean instance management.
|
|
23754
24579
|
* The singleton handles all initialization, this hook just provides the translation function.
|
|
23755
24580
|
*
|
|
23756
|
-
* **SSR Safety**:
|
|
23757
|
-
*
|
|
24581
|
+
* **SSR Safety**: The server render and the client's hydration pass translate in the
|
|
24582
|
+
* request language (RequestLanguageProvider), from the inline `content` both sides load
|
|
24583
|
+
* synchronously. Both passes produce the same text, so the first paint is translated
|
|
24584
|
+
* and hydration matches. After hydration the live instance takes over; it starts in the
|
|
24585
|
+
* same language (language cookie, see getInitialLanguage).
|
|
23758
24586
|
*
|
|
23759
24587
|
* **Performance**: Stable references, minimal re-renders, efficient memoization.
|
|
23760
24588
|
*
|
|
@@ -23836,7 +24664,6 @@ declare function useI18nReady(): boolean;
|
|
|
23836
24664
|
* HMR-safe: Store instance globally to survive module reloads
|
|
23837
24665
|
*/
|
|
23838
24666
|
declare const getI18nInstance: () => i18n;
|
|
23839
|
-
//# sourceMappingURL=instance.vite.d.ts.map
|
|
23840
24667
|
|
|
23841
24668
|
/**
|
|
23842
24669
|
* Props for LanguageSelector component
|
|
@@ -23897,7 +24724,7 @@ interface LanguageSelectorProps {
|
|
|
23897
24724
|
* @since 0.0.1
|
|
23898
24725
|
* @author AMBROISE PARK Consulting
|
|
23899
24726
|
*/
|
|
23900
|
-
declare const LanguageSelector: ({ display, variant, showFlags, showNames, className, }: LanguageSelectorProps) =>
|
|
24727
|
+
declare const LanguageSelector: ({ display, variant, showFlags, showNames, className, }: LanguageSelectorProps) => react.JSX.Element | null;
|
|
23901
24728
|
|
|
23902
24729
|
/**
|
|
23903
24730
|
* Label format for the pill trigger
|
|
@@ -23939,7 +24766,7 @@ interface LanguageFABProps {
|
|
|
23939
24766
|
*
|
|
23940
24767
|
* @public
|
|
23941
24768
|
*/
|
|
23942
|
-
declare const LanguageFAB: ({ "aria-label": ariaLabel, className, showFlag, showFlags, format, }: LanguageFABProps) =>
|
|
24769
|
+
declare const LanguageFAB: ({ "aria-label": ariaLabel, className, showFlag, showFlags, format, }: LanguageFABProps) => react.JSX.Element | null;
|
|
23943
24770
|
|
|
23944
24771
|
/**
|
|
23945
24772
|
* Orientation for the toggle group
|
|
@@ -24009,7 +24836,7 @@ interface LanguageToggleGroupProps {
|
|
|
24009
24836
|
*
|
|
24010
24837
|
* @public
|
|
24011
24838
|
*/
|
|
24012
|
-
declare const LanguageToggleGroup: ({ languages, orientation, size, showFlags, showNames, className, showLoading, variant, }: LanguageToggleGroupProps) =>
|
|
24839
|
+
declare const LanguageToggleGroup: ({ languages, orientation, size, showFlags, showNames, className, showLoading, variant, }: LanguageToggleGroupProps) => react.JSX.Element | null;
|
|
24013
24840
|
|
|
24014
24841
|
/** Props for the FAQ accordion section with i18n support. */
|
|
24015
24842
|
interface FAQSectionProps {
|
|
@@ -24045,7 +24872,7 @@ interface FAQSectionProps {
|
|
|
24045
24872
|
* aria-label="Frequently Asked Questions"
|
|
24046
24873
|
* />
|
|
24047
24874
|
*/
|
|
24048
|
-
declare function FAQSection({ t, keyPrefix, maxIndex, className, 'aria-label': ariaLabel, }: FAQSectionProps):
|
|
24875
|
+
declare function FAQSection({ t, keyPrefix, maxIndex, className, 'aria-label': ariaLabel, }: FAQSectionProps): react.JSX.Element | null;
|
|
24049
24876
|
|
|
24050
24877
|
interface TranslatedTextProps {
|
|
24051
24878
|
/** Translation key (e.g., 'dashboard.title') */
|
|
@@ -24105,7 +24932,7 @@ interface TranslatedTextProps {
|
|
|
24105
24932
|
* fallback="Save"
|
|
24106
24933
|
* />
|
|
24107
24934
|
*/
|
|
24108
|
-
declare function TranslatedText({ i18nKey, namespace, fallback, values, component: Component, className, 'aria-label': ariaLabel, 'aria-describedby': ariaDescribedBy, 'aria-live': ariaLive, srOnly, ...props }: TranslatedTextProps):
|
|
24935
|
+
declare function TranslatedText({ i18nKey, namespace, fallback, values, component: Component, className, 'aria-label': ariaLabel, 'aria-describedby': ariaDescribedBy, 'aria-live': ariaLive, srOnly, ...props }: TranslatedTextProps): react.JSX.Element;
|
|
24109
24936
|
|
|
24110
24937
|
/**
|
|
24111
24938
|
* Trans component props - extends i18next TransProps
|
|
@@ -24135,7 +24962,7 @@ type DoNotDevTransProps = Omit<TransProps<string>, 'components' | 'ns'> & {
|
|
|
24135
24962
|
* />
|
|
24136
24963
|
* ```
|
|
24137
24964
|
*/
|
|
24138
|
-
declare function Trans({ components, ...props }: DoNotDevTransProps):
|
|
24965
|
+
declare function Trans({ components, ...props }: DoNotDevTransProps): react.JSX.Element;
|
|
24139
24966
|
/**
|
|
24140
24967
|
* List of available predefined tags for documentation/AI reference
|
|
24141
24968
|
*/
|
|
@@ -24243,6 +25070,20 @@ type LanguageInfo = LanguageData;
|
|
|
24243
25070
|
*/
|
|
24244
25071
|
declare function getSupportedLanguages(): LanguageInfo[];
|
|
24245
25072
|
|
|
25073
|
+
/**
|
|
25074
|
+
* Language of a request, from its `Cookie` and `Accept-Language` headers: language
|
|
25075
|
+
* cookie > Accept-Language > fallback. Pure on its inputs, so the server render and
|
|
25076
|
+
* the client's hydration pass (given the same header values as props) agree.
|
|
25077
|
+
*
|
|
25078
|
+
* @param cookieHeader - The request's `Cookie` header
|
|
25079
|
+
* @param acceptLanguage - The request's `Accept-Language` header
|
|
25080
|
+
*
|
|
25081
|
+
* @version 0.1.0
|
|
25082
|
+
* @since 0.1.50
|
|
25083
|
+
* @author AMBROISE PARK Consulting
|
|
25084
|
+
*/
|
|
25085
|
+
declare function getRequestLanguage(cookieHeader: string | null | undefined, acceptLanguage: string | null | undefined): string;
|
|
25086
|
+
|
|
24246
25087
|
/**
|
|
24247
25088
|
* @fileoverview Flag Base Component Factory
|
|
24248
25089
|
* @description Base component factory and type definitions for creating flag components with consistent sizing and styling.
|
|
@@ -24266,7 +25107,7 @@ interface FlagBaseProps {
|
|
|
24266
25107
|
|
|
24267
25108
|
declare function Flag({ code, className, style, title, }: {
|
|
24268
25109
|
code: string;
|
|
24269
|
-
} & FlagBaseProps):
|
|
25110
|
+
} & FlagBaseProps): react.JSX.Element;
|
|
24270
25111
|
|
|
24271
25112
|
declare function getFlagCodes(): string[];
|
|
24272
25113
|
declare function hasFlag(code: string): boolean;
|
|
@@ -24279,7 +25120,6 @@ declare function hasFlag(code: string): boolean;
|
|
|
24279
25120
|
* @since 0.0.1
|
|
24280
25121
|
* @author AMBROISE PARK Consulting
|
|
24281
25122
|
*/
|
|
24282
|
-
//# sourceMappingURL=index.d.ts.map
|
|
24283
25123
|
|
|
24284
25124
|
declare const index_d_COUNTRIES: typeof COUNTRIES;
|
|
24285
25125
|
type index_d_CountryData = CountryData;
|
|
@@ -24296,6 +25136,7 @@ declare const index_d_LanguageSelector: typeof LanguageSelector;
|
|
|
24296
25136
|
type index_d_LanguageSelectorProps = LanguageSelectorProps;
|
|
24297
25137
|
declare const index_d_LanguageToggleGroup: typeof LanguageToggleGroup;
|
|
24298
25138
|
type index_d_LanguageToggleGroupProps = LanguageToggleGroupProps;
|
|
25139
|
+
declare const index_d_RequestLanguageProvider: typeof RequestLanguageProvider;
|
|
24299
25140
|
declare const index_d_TRANS_TAGS: typeof TRANS_TAGS;
|
|
24300
25141
|
type index_d_ToggleOrientation = ToggleOrientation;
|
|
24301
25142
|
type index_d_ToggleSize = ToggleSize;
|
|
@@ -24305,15 +25146,16 @@ declare const index_d_TranslatedText: typeof TranslatedText;
|
|
|
24305
25146
|
declare const index_d_getCountries: typeof getCountries;
|
|
24306
25147
|
declare const index_d_getFlagCodes: typeof getFlagCodes;
|
|
24307
25148
|
declare const index_d_getI18nInstance: typeof getI18nInstance;
|
|
25149
|
+
declare const index_d_getRequestLanguage: typeof getRequestLanguage;
|
|
24308
25150
|
declare const index_d_getSupportedLanguages: typeof getSupportedLanguages;
|
|
24309
25151
|
declare const index_d_hasFlag: typeof hasFlag;
|
|
24310
25152
|
declare const index_d_useI18nReady: typeof useI18nReady;
|
|
24311
25153
|
declare const index_d_useLanguageSelector: typeof useLanguageSelector;
|
|
24312
25154
|
declare const index_d_useTranslation: typeof useTranslation;
|
|
24313
25155
|
declare namespace index_d {
|
|
24314
|
-
export { index_d_COUNTRIES as COUNTRIES, index_d_FAQSection as FAQSection, index_d_Flag as Flag, index_d_LANGUAGES as LANGUAGES, index_d_LanguageFAB as LanguageFAB, index_d_LanguageSelector as LanguageSelector, index_d_LanguageToggleGroup as LanguageToggleGroup, index_d_TRANS_TAGS as TRANS_TAGS, index_d_Trans as Trans, index_d_TranslatedText as TranslatedText, index_d_getCountries as getCountries, index_d_getFlagCodes as getFlagCodes, index_d_getI18nInstance as getI18nInstance, index_d_getSupportedLanguages as getSupportedLanguages, index_d_hasFlag as hasFlag, index_d_useI18nReady as useI18nReady, index_d_useLanguageSelector as useLanguageSelector, index_d_useTranslation as useTranslation };
|
|
25156
|
+
export { index_d_COUNTRIES as COUNTRIES, index_d_FAQSection as FAQSection, index_d_Flag as Flag, index_d_LANGUAGES as LANGUAGES, index_d_LanguageFAB as LanguageFAB, index_d_LanguageSelector as LanguageSelector, index_d_LanguageToggleGroup as LanguageToggleGroup, index_d_RequestLanguageProvider as RequestLanguageProvider, index_d_TRANS_TAGS as TRANS_TAGS, index_d_Trans as Trans, index_d_TranslatedText as TranslatedText, index_d_getCountries as getCountries, index_d_getFlagCodes as getFlagCodes, index_d_getI18nInstance as getI18nInstance, index_d_getRequestLanguage as getRequestLanguage, index_d_getSupportedLanguages as getSupportedLanguages, index_d_hasFlag as hasFlag, index_d_useI18nReady as useI18nReady, index_d_useLanguageSelector as useLanguageSelector, index_d_useTranslation as useTranslation };
|
|
24315
25157
|
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 };
|
|
24316
25158
|
}
|
|
24317
25159
|
|
|
24318
|
-
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, 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, 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, LAYOUT_PRESET, LIST_SCHEMA_TYPE, LanguageFAB, LanguageSelector, LanguageToggleGroup, LocalStorageStrategy, 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, 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, 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, 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, parseDate, parseDateToNoonUTC, passwordSchema, pictureSchema, picturesSchema, priceSchema, rangeOptions, redirectToExternalUrl, redirectToExternalUrlWithErrorHandling, referenceSchema, refreshTokenSchema, registerSchemaGenerator, registerScopeProvider, registerUniqueConstraintValidator, registerWidget, removeLocalStorageItem, resetProviders, resolveAppConfig, resolveAuthConfig, 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, 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, useRateLimit, 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 };
|
|
24319
|
-
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, AuthState, AuthStateStore, AuthStatus, AuthTokenHookResult, AuthUser, AuthUserLike, BackendGeneratedField, BaseActions, BaseCredentials, BaseDocument, BaseEntityFields, BasePartnerState, BaseState, BaseStoreActions, BaseStoreState, BaseUserProfile, BasicUserInfo, BeforeCheckoutHook, BeforeCheckoutResult, BillingAPI, BillingAdapter, 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, CheckoutMode, CheckoutOptions, CheckoutSessionMetadata, 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, 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, OverlayAPI, PWAAssetType, PWADisplayMode, PWAPluginConfig, PageAuth, PageMeta, PaginatedQueryResult, PaginationOptions, 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, ResolvedLayoutConfig, 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, StripeCheckoutRequest, StripeCheckoutResponse, StripeCheckoutSessionEventData, StripeConfig, StripeCustomer, StripeCustomerEventData, StripeEventData, StripeEventKey, StripeEventName, StripeFrontConfig, StripeInvoice, StripeInvoiceEventData, StripePayment, StripePaymentIntentEventData, StripePaymentMethod, StripePrice, StripeProduct, StripeProvider, StripeSubscription, StripeSubscriptionData, StripeWebhookEvent, StripeWebhookEventData, Subscription, SubscriptionClaims, SubscriptionConfig, SubscriptionData, SubscriptionDuration, SubscriptionEventData, SubscriptionHookResult, SubscriptionInfo, SubscriptionStatus, SubscriptionTier, 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, 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 };
|
|
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, useRateLimit, 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
|
+
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 };
|