@donotdev/core 0.0.11 → 0.0.13

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.
Files changed (42) hide show
  1. package/functions/index.js +1 -1
  2. package/i18n/locales/eager/dndev_ar.json +122 -106
  3. package/i18n/locales/eager/dndev_de.json +122 -106
  4. package/i18n/locales/eager/dndev_en.json +122 -106
  5. package/i18n/locales/eager/dndev_es.json +122 -106
  6. package/i18n/locales/eager/dndev_fr.json +122 -106
  7. package/i18n/locales/eager/dndev_it.json +122 -106
  8. package/i18n/locales/eager/dndev_ja.json +122 -106
  9. package/i18n/locales/eager/dndev_ko.json +122 -106
  10. package/i18n/locales/lazy/auth_ar.json +121 -0
  11. package/i18n/locales/lazy/auth_de.json +121 -0
  12. package/i18n/locales/lazy/auth_en.json +121 -0
  13. package/i18n/locales/lazy/auth_es.json +121 -0
  14. package/i18n/locales/lazy/auth_fr.json +121 -0
  15. package/i18n/locales/lazy/auth_it.json +121 -0
  16. package/i18n/locales/lazy/auth_ja.json +121 -0
  17. package/i18n/locales/lazy/auth_ko.json +121 -0
  18. package/i18n/locales/lazy/billing_ar.json +12 -2
  19. package/i18n/locales/lazy/billing_de.json +12 -2
  20. package/i18n/locales/lazy/billing_en.json +12 -2
  21. package/i18n/locales/lazy/billing_es.json +12 -2
  22. package/i18n/locales/lazy/billing_fr.json +12 -2
  23. package/i18n/locales/lazy/billing_it.json +12 -2
  24. package/i18n/locales/lazy/billing_ja.json +12 -2
  25. package/i18n/locales/lazy/billing_ko.json +12 -2
  26. package/i18n/locales/lazy/oauth_ar.json +11 -0
  27. package/i18n/locales/lazy/oauth_de.json +11 -0
  28. package/i18n/locales/lazy/oauth_en.json +11 -0
  29. package/i18n/locales/lazy/oauth_es.json +11 -0
  30. package/i18n/locales/lazy/oauth_fr.json +11 -0
  31. package/i18n/locales/lazy/oauth_it.json +11 -0
  32. package/i18n/locales/lazy/oauth_ja.json +11 -0
  33. package/i18n/locales/lazy/oauth_ko.json +11 -0
  34. package/index.d.ts +1140 -107
  35. package/index.js +41 -41
  36. package/next/index.d.ts +10 -1
  37. package/next/index.js +20 -20
  38. package/package.json +2 -2
  39. package/server.d.ts +944 -580
  40. package/server.js +1 -575
  41. package/vite/index.d.ts +10 -1
  42. package/vite/index.js +23 -16
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as v from 'valibot';
2
2
  import * as React$1 from 'react';
3
- import { ReactNode, ReactElement, ComponentType } from 'react';
3
+ import { ReactNode, ComponentType, ReactElement } from 'react';
4
4
  export { ReactNode } from 'react';
5
5
  import * as zustand from 'zustand';
6
6
  import { UseBoundStore, StoreApi as StoreApi$1 } from 'zustand';
@@ -938,6 +938,7 @@ declare const USER_ROLES: {
938
938
  readonly GUEST: "guest";
939
939
  readonly USER: "user";
940
940
  readonly ADMIN: "admin";
941
+ readonly SUPER: "super";
941
942
  };
942
943
  /**
943
944
  * Override user roles for custom app needs
@@ -2342,7 +2343,7 @@ type PageAuth = boolean | {
2342
2343
  * // Framework provides: auth=false, title from home.title, entity=home
2343
2344
  * ```
2344
2345
  *
2345
- * @example Dynamic route (just define the path you want):
2346
+ * @example Dynamic route (string format - explicit path):
2346
2347
  * ```tsx
2347
2348
  * export const meta: PageMeta = {
2348
2349
  * route: '/blog/:slug' // Creates /blog/:slug
@@ -2350,6 +2351,14 @@ type PageAuth = boolean | {
2350
2351
  * // Framework provides: auth=false, title from blog.title, entity=blog
2351
2352
  * ```
2352
2353
  *
2354
+ * @example Dynamic route (object format - auto-generates base path):
2355
+ * ```tsx
2356
+ * export const meta: PageMeta = {
2357
+ * route: { params: ['id'] } // Creates /myRoute/:id (base path from file location)
2358
+ * };
2359
+ * // For file at pages/myRoute/DetailPage.tsx → route becomes /myRoute/:id
2360
+ * ```
2361
+ *
2353
2362
  * @example Auth-required (developer must be explicit):
2354
2363
  * ```tsx
2355
2364
  * export const meta: PageMeta = {
@@ -3594,6 +3603,12 @@ interface BillingAPI {
3594
3603
  */
3595
3604
  status: FeatureStatus;
3596
3605
  error: string | null;
3606
+ /**
3607
+ * Whether a billing operation is in progress.
3608
+ * For redirect operations (checkout, portal), the hook automatically shows
3609
+ * a fullscreen overlay with operation-specific messaging.
3610
+ */
3611
+ loading: boolean;
3597
3612
  checkout: (options: CheckoutOptions) => Promise<StripeCheckoutResponse>;
3598
3613
  cancelSubscription: () => Promise<{
3599
3614
  success: boolean;
@@ -4480,6 +4495,133 @@ interface CanAPI {
4480
4495
  has: (permission: string) => boolean;
4481
4496
  }
4482
4497
 
4498
+ /**
4499
+ * @fileoverview Aggregation Types
4500
+ * @description Types for generic entity aggregation/analytics functions
4501
+ *
4502
+ * @version 0.0.1
4503
+ * @since 0.0.1
4504
+ * @author AMBROISE PARK Consulting
4505
+ */
4506
+ /** Supported aggregation operations */
4507
+ type AggregateOperation = 'count' | 'sum' | 'avg' | 'min' | 'max';
4508
+ /** Filter operators for aggregation */
4509
+ type AggregateFilterOperator = '==' | '!=' | '>' | '<' | '>=' | '<=';
4510
+ /**
4511
+ * Single metric definition for aggregation
4512
+ *
4513
+ * @example
4514
+ * ```typescript
4515
+ * // Count all documents
4516
+ * { field: '*', operation: 'count', as: 'total' }
4517
+ *
4518
+ * // Sum a numeric field
4519
+ * { field: 'price', operation: 'sum', as: 'totalValue' }
4520
+ *
4521
+ * // Count with filter
4522
+ * {
4523
+ * field: '*',
4524
+ * operation: 'count',
4525
+ * as: 'availableCount',
4526
+ * filter: { field: 'status', operator: '==', value: 'available' }
4527
+ * }
4528
+ * ```
4529
+ */
4530
+ interface MetricDefinition {
4531
+ /** Field to aggregate ('*' for count all) */
4532
+ field: string;
4533
+ /** Aggregation operation */
4534
+ operation: AggregateOperation;
4535
+ /** Output name for this metric */
4536
+ as: string;
4537
+ /** Optional filter for this metric */
4538
+ filter?: {
4539
+ field: string;
4540
+ operator: AggregateFilterOperator;
4541
+ value: any;
4542
+ };
4543
+ }
4544
+ /**
4545
+ * Group by definition for aggregation
4546
+ *
4547
+ * @example
4548
+ * ```typescript
4549
+ * {
4550
+ * field: 'status',
4551
+ * metrics: [
4552
+ * { field: '*', operation: 'count', as: 'count' },
4553
+ * { field: 'price', operation: 'sum', as: 'value' },
4554
+ * ]
4555
+ * }
4556
+ * ```
4557
+ */
4558
+ interface GroupByDefinition {
4559
+ /** Field to group by */
4560
+ field: string;
4561
+ /** Metrics to compute per group */
4562
+ metrics: MetricDefinition[];
4563
+ }
4564
+ /**
4565
+ * Aggregation configuration for entity analytics
4566
+ *
4567
+ * @example
4568
+ * ```typescript
4569
+ * const carsAnalyticsConfig: AggregateConfig = {
4570
+ * metrics: [
4571
+ * { field: '*', operation: 'count', as: 'total' },
4572
+ * { field: 'price', operation: 'sum', as: 'totalValue' },
4573
+ * { field: 'price', operation: 'avg', as: 'avgPrice' },
4574
+ * ],
4575
+ * groupBy: [
4576
+ * {
4577
+ * field: 'status',
4578
+ * metrics: [
4579
+ * { field: '*', operation: 'count', as: 'count' },
4580
+ * { field: 'price', operation: 'sum', as: 'value' },
4581
+ * ],
4582
+ * },
4583
+ * ],
4584
+ * where: [['isActive', '==', true]],
4585
+ * };
4586
+ * ```
4587
+ */
4588
+ interface AggregateConfig {
4589
+ /** Top-level metrics (computed on entire collection) */
4590
+ metrics?: MetricDefinition[];
4591
+ /** Group by configurations */
4592
+ groupBy?: GroupByDefinition[];
4593
+ /** Optional global filters */
4594
+ where?: Array<[string, any, any]>;
4595
+ }
4596
+ /**
4597
+ * Request payload for aggregate function calls
4598
+ */
4599
+ interface AggregateRequest {
4600
+ /** Optional runtime filters (merged with config filters) */
4601
+ where?: Array<[string, any, any]>;
4602
+ /** Optional date range filter */
4603
+ dateRange?: {
4604
+ field: string;
4605
+ start?: string;
4606
+ end?: string;
4607
+ };
4608
+ }
4609
+ /**
4610
+ * Response from aggregate function
4611
+ */
4612
+ interface AggregateResponse {
4613
+ /** Computed top-level metrics */
4614
+ metrics: Record<string, number | null>;
4615
+ /** Grouped metrics by field */
4616
+ groups: Record<string, Record<string, Record<string, number | null>>>;
4617
+ /** Metadata about the aggregation */
4618
+ meta: {
4619
+ collection: string;
4620
+ totalDocs: number;
4621
+ computedAt: string;
4622
+ };
4623
+ }
4624
+
4483
4625
  /**
4484
4626
  * @fileoverview CRUD Constants
4485
4627
  * @description Constants for CRUD domain. Defines visibility levels for entity fields and supported field types for entities.
@@ -4490,11 +4632,33 @@ interface CanAPI {
4490
4632
  */
4491
4633
  /**
4492
4634
  * Visibility levels for entity fields (runtime constants)
4635
+ * Controls who can SEE this field in responses
4636
+ * - guest: Everyone (even unauthenticated)
4637
+ * - user: Authenticated users (users see both guest and user fields)
4638
+ * - admin: Admins only
4639
+ * - technical: Internal/system fields (shown as read-only in edit forms)
4640
+ * - hidden: Never shown in UI, only exists in DB (passwords, tokens, API keys)
4493
4641
  */
4494
4642
  declare const VISIBILITY: {
4643
+ readonly GUEST: "guest";
4495
4644
  readonly USER: "user";
4496
4645
  readonly ADMIN: "admin";
4497
4646
  readonly TECHNICAL: "technical";
4647
+ readonly HIDDEN: "hidden";
4648
+ };
4649
+ /**
4650
+ * Editable levels for entity fields (runtime constants)
4651
+ * Controls who can MODIFY this field
4652
+ * - true: Anyone who can see the field
4653
+ * - false: Nobody (read-only)
4654
+ * - 'admin': Only admins
4655
+ * - 'create-only': Editable on create, read-only after
4656
+ */
4657
+ declare const EDITABLE: {
4658
+ readonly TRUE: true;
4659
+ readonly FALSE: false;
4660
+ readonly ADMIN: "admin";
4661
+ readonly CREATE_ONLY: "create-only";
4498
4662
  };
4499
4663
  /**
4500
4664
  * Supported field types for entities (runtime constants)
@@ -4504,7 +4668,7 @@ declare const VISIBILITY: {
4504
4668
  * @since 0.0.1
4505
4669
  * @author AMBROISE PARK Consulting
4506
4670
  */
4507
- declare const FIELD_TYPES: readonly ["address", "array", "avatar", "badge", "boolean", "checkbox", "color", "date", "datetime-local", "email", "file", "geopoint", "hidden", "image", "map", "month", "multiselect", "number", "password", "radio", "reference", "range", "reset", "select", "submit", "tel", "text", "textarea", "time", "timestamp", "url", "week"];
4671
+ declare const FIELD_TYPES: readonly ["address", "array", "avatar", "badge", "boolean", "checkbox", "color", "combobox", "date", "datetime-local", "email", "file", "geopoint", "hidden", "image", "images", "map", "month", "multiselect", "number", "password", "radio", "reference", "range", "reset", "select", "submit", "switch", "tel", "text", "textarea", "time", "timestamp", "toggle", "url", "week"];
4508
4672
 
4509
4673
  /**
4510
4674
  * @fileoverview Schema-Related Type Definitions
@@ -4525,13 +4689,31 @@ declare const FIELD_TYPES: readonly ["address", "array", "avatar", "badge", "boo
4525
4689
  declare const FIRESTORE_ID_PATTERN: RegExp;
4526
4690
  /**
4527
4691
  * Visibility level for entity fields
4528
- * Controls who can see and edit a field
4692
+ * Controls who can SEE a field
4693
+ * - 'guest': Everyone (even unauthenticated)
4694
+ * - 'user': Authenticated users only (users see both guest and user fields)
4695
+ * - 'admin': Admins only
4696
+ * - 'technical': Internal/system fields (shown as read-only in edit forms)
4697
+ * - 'hidden': Never shown in UI, only exists in DB (passwords, tokens, API keys)
4529
4698
  *
4530
4699
  * @version 0.0.1
4531
4700
  * @since 0.0.1
4532
4701
  * @author AMBROISE PARK Consulting
4533
4702
  */
4534
4703
  type Visibility = (typeof VISIBILITY)[keyof typeof VISIBILITY];
4704
+ /**
4705
+ * Editable level for entity fields
4706
+ * Controls who can MODIFY a field
4707
+ * - true: Anyone who can see the field
4708
+ * - false: Nobody (read-only)
4709
+ * - 'admin': Only admins can edit
4710
+ * - 'create-only': Editable on create, read-only after
4711
+ *
4712
+ * @version 0.0.1
4713
+ * @since 0.0.1
4714
+ * @author AMBROISE PARK Consulting
4715
+ */
4716
+ type Editable = (typeof EDITABLE)[keyof typeof EDITABLE];
4535
4717
  /**
4536
4718
  * Supported field types for entities
4537
4719
  * These determine the UI components and validation rules used for each field
@@ -4541,6 +4723,14 @@ type Visibility = (typeof VISIBILITY)[keyof typeof VISIBILITY];
4541
4723
  * @author AMBROISE PARK Consulting
4542
4724
  */
4543
4725
  type FieldType = (typeof FIELD_TYPES)[number];
4726
+ /**
4727
+ * Picture type for image fields
4728
+ * Represents uploaded image with full and thumbnail URLs
4729
+ */
4730
+ interface Picture {
4731
+ fullUrl: string;
4732
+ thumbUrl: string;
4733
+ }
4544
4734
  /**
4545
4735
  * Maps field types to their corresponding TypeScript types
4546
4736
  * Used for type-safe form handling
@@ -4561,6 +4751,7 @@ type FieldTypeToValue = {
4561
4751
  badge: string;
4562
4752
  boolean: boolean;
4563
4753
  checkbox: boolean;
4754
+ combobox: string;
4564
4755
  color: string;
4565
4756
  date: string;
4566
4757
  'datetime-local': string;
@@ -4571,7 +4762,8 @@ type FieldTypeToValue = {
4571
4762
  lng: number;
4572
4763
  };
4573
4764
  hidden: string;
4574
- image: File | null;
4765
+ image: Picture | null;
4766
+ images: Picture[];
4575
4767
  map: Record<string, any>;
4576
4768
  month: string;
4577
4769
  multiselect: string[];
@@ -4588,6 +4780,8 @@ type FieldTypeToValue = {
4588
4780
  textarea: string;
4589
4781
  time: string;
4590
4782
  timestamp: string;
4783
+ toggle: boolean;
4784
+ switch: string | boolean;
4591
4785
  url: string;
4592
4786
  week: string;
4593
4787
  };
@@ -4604,6 +4798,32 @@ type ValueTypeForField<T extends FieldType> = FieldTypeToValue[T];
4604
4798
  * Enhanced validation rules with type checking
4605
4799
  * @template T - The field type
4606
4800
  *
4801
+ * @example
4802
+ * ```typescript
4803
+ * // Select field with dropdown options
4804
+ * validation: {
4805
+ * required: true,
4806
+ * options: [
4807
+ * { value: 'active', label: 'Active' },
4808
+ * { value: 'inactive', label: 'Inactive' }
4809
+ * ]
4810
+ * }
4811
+ *
4812
+ * // Text field with length validation
4813
+ * validation: {
4814
+ * required: true,
4815
+ * minLength: 3,
4816
+ * maxLength: 100
4817
+ * }
4818
+ *
4819
+ * // Number field with range validation
4820
+ * validation: {
4821
+ * required: true,
4822
+ * min: 0,
4823
+ * max: 1000
4824
+ * }
4825
+ * ```
4826
+ *
4607
4827
  * @version 0.0.1
4608
4828
  * @since 0.0.1
4609
4829
  * @author AMBROISE PARK Consulting
@@ -4621,11 +4841,48 @@ interface ValidationRules<T extends FieldType = FieldType> {
4621
4841
  maxLength?: T extends 'text' | 'textarea' | 'password' | 'email' | 'url' | 'tel' ? number : never;
4622
4842
  /** Regex pattern (for text fields) */
4623
4843
  pattern?: T extends 'text' | 'textarea' | 'password' | 'email' | 'url' | 'tel' ? string : never;
4624
- /** Options for select, multiselect, and radio fields */
4625
- options?: T extends 'select' | 'multiselect' | 'radio' ? Array<{
4844
+ /**
4845
+ * Options for select, multiselect, and radio fields.
4846
+ * Can be:
4847
+ * - An array of option objects
4848
+ * - A function that returns an array (receives form values for dynamic options)
4849
+ * - A range object for numeric sequences (e.g., years)
4850
+ *
4851
+ * @example
4852
+ * ```typescript
4853
+ * // Static array
4854
+ * options: [
4855
+ * { value: 'active', label: 'Active' },
4856
+ * { value: 'inactive', label: 'Inactive' }
4857
+ * ]
4858
+ *
4859
+ * // Dynamic function
4860
+ * options: (formValues) => {
4861
+ * return getModelsForMake(formValues.make);
4862
+ * }
4863
+ *
4864
+ * // Range for years (most common use case)
4865
+ * options: { type: 'range', start: 1995, end: 2024, step: 1, reverse: true }
4866
+ * ```
4867
+ */
4868
+ options?: T extends 'select' | 'multiselect' | 'radio' | 'combobox' ? Array<{
4626
4869
  value: string;
4627
4870
  label: string;
4628
- }> : never;
4871
+ }> | ((formValues?: Record<string, any>) => Array<{
4872
+ value: string;
4873
+ label: string;
4874
+ }>) | {
4875
+ /** Range type - generates numeric sequence */
4876
+ type: 'range';
4877
+ /** Start value (inclusive) */
4878
+ start: number;
4879
+ /** End value (inclusive) */
4880
+ end: number;
4881
+ /** Step increment (default: 1) */
4882
+ step?: number;
4883
+ /** Reverse order (default: false) - true for years (newest first) */
4884
+ reverse?: boolean;
4885
+ } : never;
4629
4886
  /** Collection name for reference fields */
4630
4887
  reference?: T extends 'reference' ? string : never;
4631
4888
  /** Whether the field is nullable */
@@ -4741,20 +4998,59 @@ interface FormConfig {
4741
4998
  }
4742
4999
  /**
4743
5000
  * Definition of a single entity field
5001
+ * @template T - The field type for type-safe validation and value inference
4744
5002
  *
4745
- * @version 0.0.1
5003
+ * @example
5004
+ * ```typescript
5005
+ * // Text field - TypeScript knows value is string
5006
+ * name: {
5007
+ * type: 'text',
5008
+ * visibility: 'user',
5009
+ * validation: { required: true, minLength: 3 }
5010
+ * }
5011
+ *
5012
+ * // Select field with dropdown options
5013
+ * status: {
5014
+ * type: 'select',
5015
+ * visibility: 'user',
5016
+ * validation: {
5017
+ * required: true,
5018
+ * options: [
5019
+ * { value: 'active', label: 'Active' },
5020
+ * { value: 'inactive', label: 'Inactive' }
5021
+ * ]
5022
+ * }
5023
+ * }
5024
+ * ```
5025
+ *
5026
+ * **Note:** For `select`, `multiselect`, and `radio` fields, dropdown options must be defined in `validation.options` as an array of `{ value: string, label: string }` objects.
5027
+ *
5028
+ * @version 0.0.2
4746
5029
  * @since 0.0.1
4747
5030
  * @author AMBROISE PARK Consulting
4748
5031
  */
4749
- interface EntityField {
5032
+ interface EntityField<T extends FieldType = FieldType> {
4750
5033
  /** The field type, which determines the UI component and validation */
4751
- type: FieldType;
4752
- /** Who can see and edit this field */
5034
+ type: T;
5035
+ /**
5036
+ * Who can SEE this field
5037
+ * - 'guest': Everyone (even unauthenticated)
5038
+ * - 'user': Authenticated users only (users see both guest and user fields)
5039
+ * - 'admin': Admins only
5040
+ * - 'technical': Internal/system fields (shown as read-only in edit forms)
5041
+ * - 'hidden': Never shown in UI, only exists in DB (passwords, tokens, API keys)
5042
+ */
4753
5043
  visibility: Visibility;
4754
- /** Validation rules for this field */
4755
- validation?: ValidationRules;
4756
- /** Whether the field should be hidden in the UI */
4757
- hidden?: boolean;
5044
+ /**
5045
+ * Who can MODIFY this field
5046
+ * - true: Anyone who can see the field (default)
5047
+ * - false: Nobody (read-only display)
5048
+ * - 'admin': Only admins can edit
5049
+ * - 'create-only': Editable on create, read-only after
5050
+ */
5051
+ editable?: Editable;
5052
+ /** Validation rules for this field. For select/multiselect/radio fields, include `options` array here. */
5053
+ validation?: ValidationRules<T>;
4758
5054
  /** Whether the field is internationalized */
4759
5055
  i18n?: boolean;
4760
5056
  /** Display label for the field */
@@ -4766,9 +5062,9 @@ interface EntityField {
4766
5062
  /** Field name this field depends on */
4767
5063
  field: string;
4768
5064
  /** Value that should trigger this field to show */
4769
- value?: any;
5065
+ value?: ValueTypeForField<FieldType>;
4770
5066
  /** Custom condition function */
4771
- condition?: (formData: any) => boolean;
5067
+ condition?: (formData: Record<string, unknown>) => boolean;
4772
5068
  };
4773
5069
  /** Field grouping for layout */
4774
5070
  group?: {
@@ -4783,25 +5079,42 @@ interface EntityField {
4783
5079
  /** Whether group is collapsed by default */
4784
5080
  collapsed?: boolean;
4785
5081
  };
5082
+ /** UI options for field rendering */
5083
+ options?: {
5084
+ /** Placeholder text */
5085
+ placeholder?: string;
5086
+ /** CSS class name */
5087
+ className?: string;
5088
+ /** Field-specific options (e.g., creatable for combobox) */
5089
+ fieldSpecific?: Record<string, unknown>;
5090
+ };
4786
5091
  }
4787
5092
  /**
4788
5093
  * Base fields that all entities should have
4789
5094
  *
4790
- * @version 0.0.1
5095
+ * @version 0.0.3
4791
5096
  * @since 0.0.1
4792
5097
  * @author AMBROISE PARK Consulting
4793
5098
  */
4794
5099
  interface BaseEntityFields {
4795
5100
  /** Unique identifier for the entity */
4796
- id: EntityField;
5101
+ id: EntityField<'text'>;
4797
5102
  /** When the entity was created */
4798
- createdAt: EntityField;
5103
+ createdAt: EntityField<'timestamp'>;
4799
5104
  /** When the entity was last updated */
4800
- updatedAt: EntityField;
5105
+ updatedAt: EntityField<'timestamp'>;
4801
5106
  /** Who created the entity */
4802
- createdById: EntityField;
5107
+ createdById: EntityField<'reference'>;
4803
5108
  /** Who last updated the entity */
4804
- updatedById: EntityField;
5109
+ updatedById: EntityField<'reference'>;
5110
+ /**
5111
+ * Publication status for draft/publish/delete workflow
5112
+ * - 'draft': Document is incomplete, hidden from non-admin
5113
+ * - 'available': Document is published and visible (default)
5114
+ * - 'deleted': Soft-deleted, hidden from non-admin
5115
+ * - Consumer can extend with additional statuses (e.g., 'reserved', 'sold')
5116
+ */
5117
+ status: EntityField<'select'>;
4805
5118
  }
4806
5119
  /**
4807
5120
  * Definition of a business entity without base fields
@@ -5073,23 +5386,37 @@ interface ListEntitiesResponse {
5073
5386
  interface CrudAPI<T = unknown> {
5074
5387
  /**
5075
5388
  * Unified feature status - single source of truth for CRUD state.
5076
- * Replaces deprecated `loading` boolean flag.
5077
5389
  * - `initializing`: CRUD is loading/initializing
5078
5390
  * - `ready`: CRUD fully operational
5079
5391
  * - `degraded`: CRUD unavailable (feature not installed/consent not given)
5080
5392
  * - `error`: CRUD encountered error
5081
5393
  */
5082
5394
  status: FeatureStatus;
5395
+ /** Current data (from get/subscribe) */
5083
5396
  data: T | null;
5397
+ /** Loading state for async operations */
5398
+ loading: boolean;
5399
+ /** Last error encountered */
5084
5400
  error: Error | null;
5401
+ /** Fetch single document by ID */
5085
5402
  get: (id: string) => Promise<T | null>;
5403
+ /** Set/replace document by ID */
5086
5404
  set: (id: string, data: T) => Promise<void>;
5405
+ /** Partial update document by ID */
5087
5406
  update: (id: string, data: Partial<T>) => Promise<void>;
5407
+ /** Delete document by ID */
5088
5408
  delete: (id: string) => Promise<void>;
5409
+ /** Add new document (auto-generated ID) */
5089
5410
  add: (data: T) => Promise<string>;
5411
+ /** Query collection with filters */
5090
5412
  query: (options: any) => Promise<T[]>;
5413
+ /** Subscribe to document changes */
5091
5414
  subscribe: (id: string, callback: (data: T | null, error?: Error) => void) => () => void;
5415
+ /** Subscribe to collection changes */
5092
5416
  subscribeToCollection: (options: any, callback: (data: T[], error?: Error) => void) => () => void;
5417
+ /** Invalidate cache for this collection (TanStack Query) */
5418
+ invalidate: () => Promise<void>;
5419
+ /** Whether CRUD is available and operational */
5093
5420
  isAvailable: boolean;
5094
5421
  }
5095
5422
 
@@ -8674,6 +9001,10 @@ interface UIFieldOptions<T extends FieldType = FieldType> {
8674
9001
  defaultCountry?: string;
8675
9002
  /** Whether to show country flags */
8676
9003
  showFlags?: boolean;
9004
+ /** Preferred country codes to show at the top of the list (e.g., ['FR', 'US', 'GB']) */
9005
+ preferredCountries?: string[];
9006
+ /** Custom list of country codes to show (if provided, only these countries are shown) */
9007
+ countries?: string[];
8677
9008
  } : T extends 'address' ? {
8678
9009
  /**
8679
9010
  * Whether to enable Google Maps autocomplete (default: false)
@@ -8682,32 +9013,37 @@ interface UIFieldOptions<T extends FieldType = FieldType> {
8682
9013
  enableGoogleMaps?: boolean;
8683
9014
  /** Whether to extract district code for Paris addresses */
8684
9015
  extractDistrictCode?: boolean;
8685
- } : never;
8686
- }
8687
- /**
8688
- * Complete field configuration combining schema definition with UI options
9016
+ } : T extends 'combobox' ? {
9017
+ /** Enable creating new values by typing */
9018
+ creatable?: boolean;
9019
+ } : T extends 'switch' ? {
9020
+ /** Label shown when switch is off/unchecked */
9021
+ uncheckedLabel?: string;
9022
+ /** Label shown when switch is on/checked */
9023
+ checkedLabel?: string;
9024
+ /** Value stored when switch is off (default: false) */
9025
+ uncheckedValue?: string | boolean;
9026
+ /** Value stored when switch is on (default: true) */
9027
+ checkedValue?: string | boolean;
9028
+ } : Record<string, unknown>;
9029
+ }
9030
+ /**
9031
+ * Complete field configuration for form rendering
9032
+ * Extends EntityField with runtime properties (name, value, defaultValue)
8689
9033
  * @template T - The field type
8690
9034
  *
8691
- * @version 0.0.1
9035
+ * @version 0.0.2
8692
9036
  * @since 0.0.1
8693
9037
  * @author AMBROISE PARK Consulting
8694
9038
  */
8695
- interface FieldConfig<T extends FieldType = FieldType> {
8696
- /** Field identifier - required business logic */
9039
+ interface FieldConfig<T extends FieldType = FieldType> extends Omit<EntityField<T>, 'options'> {
9040
+ /** Field identifier - required for form binding */
8697
9041
  name: string;
8698
- /** Field type - required business logic */
8699
- type: T;
8700
- /** Field label - required business logic */
9042
+ /** Field label - auto-generated from name if not provided in EntityField */
8701
9043
  label: string;
8702
- /** Whether field is required - smart default: false */
9044
+ /** Whether field is required - convenience prop extracted from validation.required */
8703
9045
  required?: boolean;
8704
- /** Field visibility - smart default: 'user' */
8705
- visibility?: 'user' | 'admin' | 'technical';
8706
- /** Whether the field should be hidden in the UI - smart default: false */
8707
- hidden?: boolean;
8708
- /** Field validation rules - smart default: schemas package handles it */
8709
- validation?: ValidationRules<T>;
8710
- /** UI-specific configuration */
9046
+ /** UI-specific configuration - extends EntityField.options with UI features */
8711
9047
  options?: UIFieldOptions<T>;
8712
9048
  /** Current field value */
8713
9049
  value?: ValueTypeForField<T>;
@@ -8869,6 +9205,108 @@ interface ModalActions {
8869
9205
  /** Close the modal */
8870
9206
  closeModal: () => void;
8871
9207
  }
9208
+ /**
9209
+ * Phase of the redirect overlay progression
9210
+ *
9211
+ * @version 0.0.1
9212
+ * @since 0.0.1
9213
+ * @author AMBROISE PARK Consulting
9214
+ */
9215
+ type RedirectOverlayPhase = 'connecting' | 'preparing' | 'redirecting' | 'timeout';
9216
+ /**
9217
+ * Billing-specific redirect operations
9218
+ *
9219
+ * @version 0.0.1
9220
+ * @since 0.0.1
9221
+ * @author AMBROISE PARK Consulting
9222
+ */
9223
+ type BillingRedirectOperation = 'stripe-checkout' | 'stripe-portal';
9224
+ /**
9225
+ * Auth partner redirect operations - DRY derived from AUTH_PARTNERS schema
9226
+ * Format: `oauth-${partnerId}` for OAuth partners, `auth-${partnerId}` for auth-only
9227
+ *
9228
+ * @version 0.0.1
9229
+ * @since 0.0.1
9230
+ * @author AMBROISE PARK Consulting
9231
+ */
9232
+ type AuthRedirectOperation = `oauth-${AuthPartnerId}` | `auth-${AuthPartnerId}`;
9233
+ /**
9234
+ * OAuth partner redirect operations - DRY derived from OAUTH_PARTNERS schema
9235
+ * Format: `oauth-api-${partnerId}` for API-only OAuth partners
9236
+ *
9237
+ * @version 0.0.1
9238
+ * @since 0.0.1
9239
+ * @author AMBROISE PARK Consulting
9240
+ */
9241
+ type OAuthRedirectOperation = `oauth-api-${OAuthPartnerId}`;
9242
+ /**
9243
+ * All redirect operations - Union of billing, auth, and OAuth operations
9244
+ * Extensible via string intersection for custom operations
9245
+ *
9246
+ * @version 0.0.1
9247
+ * @since 0.0.1
9248
+ * @author AMBROISE PARK Consulting
9249
+ */
9250
+ type RedirectOperation = BillingRedirectOperation | AuthRedirectOperation | OAuthRedirectOperation | (string & {});
9251
+ /**
9252
+ * Configuration for redirect overlay (optional overrides)
9253
+ *
9254
+ * @version 0.0.1
9255
+ * @since 0.0.1
9256
+ * @author AMBROISE PARK Consulting
9257
+ */
9258
+ interface RedirectOverlayConfig {
9259
+ /** i18n namespace to use (default: inferred from operation) */
9260
+ namespace?: string;
9261
+ /** Custom title (overrides i18n) */
9262
+ title?: string;
9263
+ /** Custom message (overrides i18n) */
9264
+ message?: string;
9265
+ /** Custom subtitle (overrides i18n) */
9266
+ subtitle?: string;
9267
+ /** Icon type: 'lock' for payments, 'shield' for auth (default: inferred) */
9268
+ icon?: 'lock' | 'shield' | 'none';
9269
+ /** Timeout in ms before showing cancel button (default: 10000) */
9270
+ cancelTimeout?: number;
9271
+ }
9272
+ /**
9273
+ * Redirect overlay state
9274
+ *
9275
+ * @version 0.0.1
9276
+ * @since 0.0.1
9277
+ * @author AMBROISE PARK Consulting
9278
+ */
9279
+ interface RedirectOverlayState {
9280
+ /** Whether the redirect overlay is visible */
9281
+ isRedirectOverlayOpen: boolean;
9282
+ /** Current operation being performed */
9283
+ redirectOperation: RedirectOperation | null;
9284
+ /** Current phase of the redirect */
9285
+ redirectPhase: RedirectOverlayPhase;
9286
+ /** Whether cancel button should be shown */
9287
+ showCancelButton: boolean;
9288
+ /** Configuration overrides */
9289
+ redirectConfig: RedirectOverlayConfig | null;
9290
+ /** Timestamp when overlay was shown (for phase progression) */
9291
+ redirectStartTime: number | null;
9292
+ }
9293
+ /**
9294
+ * Redirect overlay actions
9295
+ *
9296
+ * @version 0.0.1
9297
+ * @since 0.0.1
9298
+ * @author AMBROISE PARK Consulting
9299
+ */
9300
+ interface RedirectOverlayActions {
9301
+ /** Show the redirect overlay */
9302
+ showRedirectOverlay: (operation: RedirectOperation, config?: RedirectOverlayConfig) => void;
9303
+ /** Hide the redirect overlay */
9304
+ hideRedirectOverlay: () => void;
9305
+ /** Update the current phase (internal use) */
9306
+ setRedirectPhase: (phase: RedirectOverlayPhase) => void;
9307
+ /** Show/hide cancel button (internal use) */
9308
+ setShowCancelButton: (show: boolean) => void;
9309
+ }
8872
9310
  /**
8873
9311
  * Loading state
8874
9312
  *
@@ -11279,6 +11717,11 @@ type index_d$5_AccountLinkResult = AccountLinkResult;
11279
11717
  type index_d$5_AccountLinkingInfo = AccountLinkingInfo;
11280
11718
  type index_d$5_AdminCheckHookResult = AdminCheckHookResult;
11281
11719
  type index_d$5_AdminClaims = AdminClaims;
11720
+ type index_d$5_AggregateConfig = AggregateConfig;
11721
+ type index_d$5_AggregateFilterOperator = AggregateFilterOperator;
11722
+ type index_d$5_AggregateOperation = AggregateOperation;
11723
+ type index_d$5_AggregateRequest = AggregateRequest;
11724
+ type index_d$5_AggregateResponse = AggregateResponse;
11282
11725
  type index_d$5_ApiResponse<T> = ApiResponse<T>;
11283
11726
  type index_d$5_AppConfig = AppConfig;
11284
11727
  type index_d$5_AppCookieCategories = AppCookieCategories;
@@ -11305,6 +11748,7 @@ type index_d$5_AuthPartnerState = AuthPartnerState;
11305
11748
  type index_d$5_AuthProvider = AuthProvider;
11306
11749
  type index_d$5_AuthProviderProps = AuthProviderProps;
11307
11750
  type index_d$5_AuthRedirectHookResult = AuthRedirectHookResult;
11751
+ type index_d$5_AuthRedirectOperation = AuthRedirectOperation;
11308
11752
  type index_d$5_AuthRedirectOptions = AuthRedirectOptions;
11309
11753
  type index_d$5_AuthResult = AuthResult;
11310
11754
  type index_d$5_AuthState = AuthState;
@@ -11335,6 +11779,7 @@ type index_d$5_BillingEventKey = BillingEventKey;
11335
11779
  type index_d$5_BillingEventName = BillingEventName;
11336
11780
  type index_d$5_BillingProvider = BillingProvider;
11337
11781
  type index_d$5_BillingProviderConfig = BillingProviderConfig;
11782
+ type index_d$5_BillingRedirectOperation = BillingRedirectOperation;
11338
11783
  type index_d$5_Breakpoint = Breakpoint;
11339
11784
  type index_d$5_BreakpointUtils = BreakpointUtils;
11340
11785
  type index_d$5_BusinessEntity = BusinessEntity;
@@ -11385,11 +11830,12 @@ type index_d$5_DoNotDevError = DoNotDevError;
11385
11830
  declare const index_d$5_DoNotDevError: typeof DoNotDevError;
11386
11831
  type index_d$5_DynamicFormRule = DynamicFormRule;
11387
11832
  declare const index_d$5_ENVIRONMENTS: typeof ENVIRONMENTS;
11833
+ type index_d$5_Editable = Editable;
11388
11834
  type index_d$5_EffectiveConnectionType = EffectiveConnectionType;
11389
11835
  type index_d$5_EmailVerificationHookResult = EmailVerificationHookResult;
11390
11836
  type index_d$5_EmailVerificationStatus = EmailVerificationStatus;
11391
11837
  type index_d$5_Entity = Entity;
11392
- type index_d$5_EntityField = EntityField;
11838
+ type index_d$5_EntityField<T extends FieldType = FieldType> = EntityField<T>;
11393
11839
  type index_d$5_EntityHookError = EntityHookError;
11394
11840
  declare const index_d$5_EntityHookError: typeof EntityHookError;
11395
11841
  type index_d$5_EntityHookErrors = EntityHookErrors;
@@ -11454,6 +11900,7 @@ type index_d$5_GetUserAuthStatusResponse = GetUserAuthStatusResponse;
11454
11900
  type index_d$5_GitHubPermission = GitHubPermission;
11455
11901
  type index_d$5_GitHubRepoConfig = GitHubRepoConfig;
11456
11902
  type index_d$5_GrantGitHubAccessRequest = GrantGitHubAccessRequest;
11903
+ type index_d$5_GroupByDefinition = GroupByDefinition;
11457
11904
  type index_d$5_HeaderZoneConfig = HeaderZoneConfig;
11458
11905
  type index_d$5_I18nConfig = I18nConfig;
11459
11906
  type index_d$5_I18nPluginConfig = I18nPluginConfig;
@@ -11485,6 +11932,7 @@ type index_d$5_ListResponse<T> = ListResponse<T>;
11485
11932
  type index_d$5_LoadingActions = LoadingActions;
11486
11933
  type index_d$5_LoadingState = LoadingState;
11487
11934
  type index_d$5_MergedBarConfig = MergedBarConfig;
11935
+ type index_d$5_MetricDefinition = MetricDefinition;
11488
11936
  type index_d$5_MobileBehaviorConfig = MobileBehaviorConfig;
11489
11937
  type index_d$5_ModalActions = ModalActions;
11490
11938
  type index_d$5_ModalState = ModalState;
@@ -11515,6 +11963,7 @@ type index_d$5_OAuthPartnerId = OAuthPartnerId;
11515
11963
  type index_d$5_OAuthPartnerResult = OAuthPartnerResult;
11516
11964
  type index_d$5_OAuthPartnerState = OAuthPartnerState;
11517
11965
  type index_d$5_OAuthPurpose = OAuthPurpose;
11966
+ type index_d$5_OAuthRedirectOperation = OAuthRedirectOperation;
11518
11967
  type index_d$5_OAuthRefreshRequest = OAuthRefreshRequest;
11519
11968
  type index_d$5_OAuthRefreshResponse = OAuthRefreshResponse;
11520
11969
  type index_d$5_OAuthResult = OAuthResult;
@@ -11555,6 +12004,7 @@ type index_d$5_PaymentMethod = PaymentMethod;
11555
12004
  type index_d$5_PaymentMethodType = PaymentMethodType;
11556
12005
  type index_d$5_PaymentMode = PaymentMode;
11557
12006
  type index_d$5_Permission = Permission;
12007
+ type index_d$5_Picture = Picture;
11558
12008
  type index_d$5_Platform = Platform;
11559
12009
  type index_d$5_PresetConfig = PresetConfig;
11560
12010
  type index_d$5_PresetRegistry = PresetRegistry;
@@ -11572,6 +12022,11 @@ type index_d$5_RateLimitState = RateLimitState;
11572
12022
  type index_d$5_RateLimiter = RateLimiter;
11573
12023
  declare const index_d$5_ReactNode: typeof ReactNode;
11574
12024
  type index_d$5_ReadCallback = ReadCallback;
12025
+ type index_d$5_RedirectOperation = RedirectOperation;
12026
+ type index_d$5_RedirectOverlayActions = RedirectOverlayActions;
12027
+ type index_d$5_RedirectOverlayConfig = RedirectOverlayConfig;
12028
+ type index_d$5_RedirectOverlayPhase = RedirectOverlayPhase;
12029
+ type index_d$5_RedirectOverlayState = RedirectOverlayState;
11575
12030
  type index_d$5_Reference = Reference;
11576
12031
  type index_d$5_RefreshSubscriptionRequest = RefreshSubscriptionRequest;
11577
12032
  type index_d$5_RefreshSubscriptionResponse = RefreshSubscriptionResponse;
@@ -11721,7 +12176,7 @@ declare const index_d$5_validateUserSubscription: typeof validateUserSubscriptio
11721
12176
  declare const index_d$5_validateWebhookEvent: typeof validateWebhookEvent;
11722
12177
  declare namespace index_d$5 {
11723
12178
  export { 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_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_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_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_ENVIRONMENTS as ENVIRONMENTS, 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_FIREBASE_ERROR_MAP as FIREBASE_ERROR_MAP, index_d$5_FIRESTORE_ID_PATTERN as FIRESTORE_ID_PATTERN, index_d$5_GITHUB_PERMISSION_LEVELS as GITHUB_PERMISSION_LEVELS, index_d$5_LAYOUT_PRESET as LAYOUT_PRESET, index_d$5_OAUTH_EVENTS as OAUTH_EVENTS, index_d$5_OAUTH_PARTNERS as OAUTH_PARTNERS, 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_ReactNode as ReactNode, 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_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_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_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_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 };
11724
- export type { 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_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_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_AuthMethod as AuthMethod, index_d$5_AuthPartner as AuthPartner, index_d$5_AuthPartnerButton as AuthPartnerButton, 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_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_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_Breakpoint as Breakpoint, index_d$5_BreakpointUtils as BreakpointUtils, index_d$5_BusinessEntity as BusinessEntity, index_d$5_CachedError as CachedError, index_d$5_CanAPI as CanAPI, 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_ColumnDef as ColumnDef, index_d$5_CommonSubscriptionFeatures as CommonSubscriptionFeatures, index_d$5_CommonTranslations as CommonTranslations, index_d$5_ConfidenceLevel as ConfidenceLevel, 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_CustomClaims as CustomClaims, 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_DnDevLayoutProps as DnDevLayoutProps, index_d$5_DnDevOverride as DnDevOverride, index_d$5_DndevFrameworkConfig as DndevFrameworkConfig, index_d$5_DoNotDevCookieCategories as DoNotDevCookieCategories, index_d$5_DynamicFormRule as DynamicFormRule, index_d$5_EffectiveConnectionType as EffectiveConnectionType, index_d$5_EmailVerificationHookResult as EmailVerificationHookResult, index_d$5_EmailVerificationStatus as EmailVerificationStatus, index_d$5_Entity as Entity, index_d$5_EntityField as EntityField, index_d$5_EntityHookErrors as EntityHookErrors, index_d$5_EntityMetadata as EntityMetadata, 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_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_FieldConfig as FieldConfig, index_d$5_FieldType as FieldType, index_d$5_FieldTypeToValue as FieldTypeToValue, 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_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_FunctionError as FunctionError, index_d$5_FunctionLoader as FunctionLoader, 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_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_HeaderZoneConfig as HeaderZoneConfig, index_d$5_I18nConfig as I18nConfig, index_d$5_I18nPluginConfig as I18nPluginConfig, index_d$5_I18nProviderProps as I18nProviderProps, index_d$5_ID as ID, index_d$5_INetworkManager as INetworkManager, index_d$5_IStorageManager as IStorageManager, index_d$5_IStorageStrategy as IStorageStrategy, index_d$5_Invoice as Invoice, index_d$5_InvoiceItem as InvoiceItem, index_d$5_LanguageInfo as LanguageInfo, index_d$5_LayoutConfig as LayoutConfig, index_d$5_LayoutInput as LayoutInput, 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_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_LoadingActions as LoadingActions, index_d$5_LoadingState as LoadingState, index_d$5_MergedBarConfig as MergedBarConfig, index_d$5_MobileBehaviorConfig as MobileBehaviorConfig, index_d$5_ModalActions as ModalActions, index_d$5_ModalState as ModalState, 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_OAuthPartnerButton as OAuthPartnerButton, 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_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_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_PaginationOptions as PaginationOptions, index_d$5_PartnerButton as PartnerButton, 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_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_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_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_SetCustomClaimsResponse as SetCustomClaimsResponse, index_d$5_SidebarZoneConfig as SidebarZoneConfig, 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_StoreApi as StoreApi, 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_UnsubscribeFn as UnsubscribeFn, index_d$5_UpdateEntityData as UpdateEntityData, index_d$5_UpdateEntityRequest as UpdateEntityRequest, index_d$5_UpdateEntityResponse as UpdateEntityResponse, index_d$5_UseFunctionsMutationOptions as UseFunctionsMutationOptions, index_d$5_UseFunctionsQueryOptions as UseFunctionsQueryOptions, 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_ValidationRules as ValidationRules, index_d$5_ValueTypeForField as ValueTypeForField, 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_WithMetadata as WithMetadata, index_d$5_dndevSchema as dndevSchema };
12179
+ export type { 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_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_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_AuthMethod as AuthMethod, index_d$5_AuthPartner as AuthPartner, index_d$5_AuthPartnerButton as AuthPartnerButton, 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_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_BusinessEntity as BusinessEntity, index_d$5_CachedError as CachedError, index_d$5_CanAPI as CanAPI, 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_ColumnDef as ColumnDef, index_d$5_CommonSubscriptionFeatures as CommonSubscriptionFeatures, index_d$5_CommonTranslations as CommonTranslations, index_d$5_ConfidenceLevel as ConfidenceLevel, 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_CustomClaims as CustomClaims, 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_DnDevLayoutProps as DnDevLayoutProps, index_d$5_DnDevOverride as DnDevOverride, index_d$5_DndevFrameworkConfig as DndevFrameworkConfig, index_d$5_DoNotDevCookieCategories as DoNotDevCookieCategories, index_d$5_DynamicFormRule as DynamicFormRule, index_d$5_Editable as Editable, index_d$5_EffectiveConnectionType as EffectiveConnectionType, index_d$5_EmailVerificationHookResult as EmailVerificationHookResult, index_d$5_EmailVerificationStatus as EmailVerificationStatus, index_d$5_Entity as Entity, index_d$5_EntityField as EntityField, index_d$5_EntityHookErrors as EntityHookErrors, index_d$5_EntityMetadata as EntityMetadata, 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_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_FieldConfig as FieldConfig, index_d$5_FieldType as FieldType, index_d$5_FieldTypeToValue as FieldTypeToValue, 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_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_FunctionError as FunctionError, index_d$5_FunctionLoader as FunctionLoader, 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_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_ID as ID, index_d$5_INetworkManager as INetworkManager, index_d$5_IStorageManager as IStorageManager, index_d$5_IStorageStrategy as IStorageStrategy, index_d$5_Invoice as Invoice, index_d$5_InvoiceItem as InvoiceItem, index_d$5_LanguageInfo as LanguageInfo, index_d$5_LayoutConfig as LayoutConfig, index_d$5_LayoutInput as LayoutInput, 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_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_LoadingActions as LoadingActions, index_d$5_LoadingState as LoadingState, index_d$5_MergedBarConfig as MergedBarConfig, 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_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_OAuthPartnerButton as OAuthPartnerButton, 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_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_PaginationOptions as PaginationOptions, index_d$5_PartnerButton as PartnerButton, 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_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_SetCustomClaimsResponse as SetCustomClaimsResponse, index_d$5_SidebarZoneConfig as SidebarZoneConfig, 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_StoreApi as StoreApi, 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_UnsubscribeFn as UnsubscribeFn, index_d$5_UpdateEntityData as UpdateEntityData, index_d$5_UpdateEntityRequest as UpdateEntityRequest, index_d$5_UpdateEntityResponse as UpdateEntityResponse, index_d$5_UseFunctionsMutationOptions as UseFunctionsMutationOptions, index_d$5_UseFunctionsQueryOptions as UseFunctionsQueryOptions, 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_ValidationRules as ValidationRules, index_d$5_ValueTypeForField as ValueTypeForField, 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_WithMetadata as WithMetadata, index_d$5_dndevSchema as dndevSchema };
11725
12180
  }
11726
12181
 
11727
12182
  /**
@@ -12103,11 +12558,13 @@ declare function handleError(error: unknown, optionsOrMessage?: HandleErrorOptio
12103
12558
  */
12104
12559
  declare function withErrorHandling<T extends (...args: any[]) => any>(fn: T, options?: HandleErrorOptions | string): (...args: Parameters<T>) => Promise<ReturnType<T>>;
12105
12560
  /**
12106
- * Display a notification message
12561
+ * Display a notification message (client-only)
12562
+ * This is a stub - actual implementation should be in client-side code
12563
+ * that imports toast directly from @donotdev/components
12107
12564
  *
12108
12565
  * @param message Message to display
12109
12566
  * @param severity Severity level
12110
- * @param timeout Optional timeout in milliseconds (unused - toast handles its own timing)
12567
+ * @param timeout Optional timeout in milliseconds
12111
12568
  * @returns ID of the notification
12112
12569
  *
12113
12570
  * @version 0.0.1
@@ -12116,6 +12573,129 @@ declare function withErrorHandling<T extends (...args: any[]) => any>(fn: T, opt
12116
12573
  */
12117
12574
  declare function showNotification(message: string, severity?: 'error' | 'warning' | 'info' | 'success', timeout?: number): string;
12118
12575
 
12576
+ /**
12577
+ * @fileoverview Error source detection module
12578
+ * @description Automatically detects the source of errors to apply appropriate handling
12579
+ *
12580
+ * @version 0.0.1
12581
+ * @since 0.0.1
12582
+ * @author AMBROISE PARK Consulting
12583
+ */
12584
+
12585
+ /**
12586
+ * Detects the source of an error based on its properties and structure
12587
+ *
12588
+ * @version 0.0.1
12589
+ * @since 0.0.1
12590
+ * @author AMBROISE PARK Consulting
12591
+ * @param error - The error to analyze
12592
+ * @returns The detected error source
12593
+ */
12594
+ declare function detectErrorSource(error: unknown): ErrorSource;
12595
+
12596
+ /**
12597
+ * Default error messages for standard error codes
12598
+ * These provide a fallback when no specific message is available
12599
+ *
12600
+ * @version 0.0.1
12601
+ * @since 0.0.1
12602
+ * @author AMBROISE PARK Consulting
12603
+ */
12604
+ declare const DEFAULT_ERROR_MESSAGES: Record<ErrorCode, string>;
12605
+ /**
12606
+ * Maps an error from any source to a standardized DoNotDevError
12607
+ *
12608
+ * This is the central error mapping function that routes errors to the appropriate
12609
+ * handler based on the detected source.
12610
+ *
12611
+ * @param error - The original error
12612
+ * @param source - The detected error source
12613
+ * @param userMessage - Optional user-friendly message
12614
+ * @returns A standardized DoNotDevError
12615
+ *
12616
+ * @version 0.0.1
12617
+ * @since 0.0.1
12618
+ * @author AMBROISE PARK Consulting
12619
+ */
12620
+ declare function mapToDoNotDevError(error: unknown, source: ErrorSource, userMessage?: string): DoNotDevError;
12621
+
12622
+ /**
12623
+ * @fileoverview Sentry integration module
12624
+ * @description Handles capturing errors to Sentry with appropriate context.
12625
+ * Works universally on both client and server - uses globalThis.Sentry which
12626
+ * is set by both @sentry/react and @sentry/node when initialized.
12627
+ *
12628
+ * @version 0.0.1
12629
+ * @since 0.0.1
12630
+ * @author AMBROISE PARK Consulting
12631
+ */
12632
+
12633
+ /**
12634
+ * Captures an error to Sentry with additional context
12635
+ * Works on both client (@sentry/react) and server (@sentry/node)
12636
+ *
12637
+ * @version 0.0.1
12638
+ * @since 0.0.1
12639
+ * @author AMBROISE PARK Consulting
12640
+ * @param error - The error to capture
12641
+ * @param source - The detected error source
12642
+ * @param context - Additional context to include
12643
+ */
12644
+ declare function captureErrorToSentry(error: DoNotDevError, source: ErrorSource, context?: Record<string, any>): void;
12645
+
12646
+ /**
12647
+ * @fileoverview Standard error handling factory
12648
+ * @description Creates error handlers that map any source error to DoNotDevError format
12649
+ *
12650
+ * @version 0.0.1
12651
+ * @since 0.0.1
12652
+ * @author AMBROISE PARK Consulting
12653
+ */
12654
+
12655
+ /**
12656
+ * Type for error handler functions
12657
+ *
12658
+ * @version 0.0.1
12659
+ * @since 0.0.1
12660
+ * @author AMBROISE PARK Consulting
12661
+ */
12662
+ type ErrorHandlerFunction = (error: unknown, userMessage?: string) => DoNotDevError;
12663
+ /**
12664
+ * Core configuration for error handlers
12665
+ *
12666
+ * @version 0.0.1
12667
+ * @since 0.0.1
12668
+ * @author AMBROISE PARK Consulting
12669
+ */
12670
+ interface ErrorHandlerConfig {
12671
+ errorSource: ErrorSource;
12672
+ defaultErrorCode: ErrorCode;
12673
+ defaultErrorMessage: string;
12674
+ errorCodeMapping?: Record<string, ErrorCode>;
12675
+ friendlyMessageMapping?: Record<string, string>;
12676
+ extractErrorCode?: (error: unknown) => string | undefined;
12677
+ extractErrorMessage?: (error: unknown) => string | undefined;
12678
+ processMetadata?: (error: unknown) => Record<string, any>;
12679
+ }
12680
+ /**
12681
+ * Creates an error handler that converts any type of error to DoNotDevError format
12682
+ *
12683
+ * @version 0.0.1
12684
+ * @since 0.0.1
12685
+ * @author AMBROISE PARK Consulting
12686
+ * @param config Configuration for the error handler
12687
+ * @returns A function that converts errors to DoNotDevErrors
12688
+ */
12689
+ declare function createErrorHandler(config: ErrorHandlerConfig): ErrorHandlerFunction;
12690
+ /**
12691
+ * Common error code mappings for most services
12692
+ *
12693
+ * @version 0.0.1
12694
+ * @since 0.0.1
12695
+ * @author AMBROISE PARK Consulting
12696
+ */
12697
+ declare const commonErrorCodeMappings: Record<string, ErrorCode>;
12698
+
12119
12699
  /**
12120
12700
  * Initialize Sentry if configured
12121
12701
  *
@@ -16070,8 +16650,34 @@ declare const DEGRADED_CRUD_API: CrudAPI;
16070
16650
  declare const DEGRADED_OAUTH_API: OAuthAPI;
16071
16651
 
16072
16652
  /**
16073
- * @fileoverview Array translation utilities
16074
- * @description Provides utilities for handling array translations with indexed keys
16653
+ * Check if email verification should be shown to users
16654
+ *
16655
+ * Email verification is only relevant when:
16656
+ * 1. Email authentication is enabled (user can sign up with email/password)
16657
+ * 2. Firebase email verification is enabled in the project settings
16658
+ *
16659
+ * @returns boolean - true if email verification should be shown
16660
+ *
16661
+ * @version 0.0.1
16662
+ * @since 0.0.1
16663
+ * @author AMBROISE PARK Consulting
16664
+ */
16665
+ declare function shouldShowEmailVerification(): boolean;
16666
+ /**
16667
+ * Check if email verification is required for the current user
16668
+ *
16669
+ * @param user - The current user object
16670
+ * @returns boolean - true if email verification is required
16671
+ *
16672
+ * @version 0.0.1
16673
+ * @since 0.0.1
16674
+ * @author AMBROISE PARK Consulting
16675
+ */
16676
+ declare function isEmailVerificationRequired(user: any): boolean;
16677
+
16678
+ /**
16679
+ * @fileoverview Array translation utilities
16680
+ * @description Provides utilities for handling array translations with indexed keys
16075
16681
  *
16076
16682
  * This module provides utilities to simplify the common pattern of accessing
16077
16683
  * array translations using indexed keys instead of returnObjects.
@@ -16485,32 +17091,6 @@ declare function parseDateToNoonUTC(dateString: string): string | undefined;
16485
17091
  */
16486
17092
  declare function toDateOnly(date: DateValue | number | string | null | undefined): string;
16487
17093
 
16488
- /**
16489
- * Check if email verification should be shown to users
16490
- *
16491
- * Email verification is only relevant when:
16492
- * 1. Email authentication is enabled (user can sign up with email/password)
16493
- * 2. Firebase email verification is enabled in the project settings
16494
- *
16495
- * @returns boolean - true if email verification should be shown
16496
- *
16497
- * @version 0.0.1
16498
- * @since 0.0.1
16499
- * @author AMBROISE PARK Consulting
16500
- */
16501
- declare function shouldShowEmailVerification(): boolean;
16502
- /**
16503
- * Check if email verification is required for the current user
16504
- *
16505
- * @param user - The current user object
16506
- * @returns boolean - true if email verification is required
16507
- *
16508
- * @version 0.0.1
16509
- * @since 0.0.1
16510
- * @author AMBROISE PARK Consulting
16511
- */
16512
- declare function isEmailVerificationRequired(user: any): boolean;
16513
-
16514
17094
  /**
16515
17095
  * @fileoverview Smart translation helper
16516
17096
  * @description Auto-detects translation keys vs raw strings
@@ -16660,6 +17240,211 @@ declare function withGracefulDegradation<T>(init: () => Promise<T>, fallback: ()
16660
17240
  */
16661
17241
  declare function lazyImport<T>(importFn: () => Promise<T>, cacheKey: string): Promise<T>;
16662
17242
 
17243
+ /**
17244
+
17245
+ * @fileoverview Role Hierarchy Utilities
17246
+
17247
+ * @description Provides role-based access control with hierarchical permissions.
17248
+
17249
+ * Implements a 4-level hierarchy: guest (0) < user (1) < admin (2) < super (3).
17250
+
17251
+ *
17252
+
17253
+ * **Hierarchy Rules:**
17254
+
17255
+ * - Super can access: super, admin, user, and guest routes
17256
+
17257
+ * - Admin can access: admin, user, and guest routes
17258
+
17259
+ * - User can access: user and guest routes
17260
+
17261
+ * - Guest can access: guest routes only
17262
+
17263
+ *
17264
+
17265
+ * **CSR/SSR/Server Safe:**
17266
+
17267
+ * Pure function with no browser APIs or React dependencies.
17268
+
17269
+ * Safe for use in Firebase Functions, API routes, and server-side rendering.
17270
+
17271
+ *
17272
+
17273
+ * @version 0.0.1
17274
+
17275
+ * @since 0.0.1
17276
+
17277
+ * @author AMBROISE PARK Consulting
17278
+
17279
+ */
17280
+ /**
17281
+
17282
+ * Check if a user role has access to a required role based on hierarchy.
17283
+
17284
+ *
17285
+
17286
+ * Uses a 4-level hierarchy where higher roles inherit access to lower roles:
17287
+
17288
+ * - Super (level 3) can access super, admin, user, and guest routes
17289
+
17290
+ * - Admin (level 2) can access admin, user, and guest routes
17291
+
17292
+ * - User (level 1) can access user and guest routes
17293
+
17294
+ * - Guest (level 0) can access guest routes only
17295
+
17296
+ *
17297
+
17298
+ * Unknown roles default to level -1 (denied) for security.
17299
+
17300
+ * Unknown required roles default to Infinity (always denied).
17301
+
17302
+ *
17303
+
17304
+ * @param userRole - The user's current role (e.g., 'super', 'admin', 'user', 'guest')
17305
+
17306
+ * @param requiredRole - The role required to access the resource
17307
+
17308
+ * @returns True if user has sufficient role level, false otherwise
17309
+
17310
+ *
17311
+
17312
+ * @example
17313
+
17314
+ * ```typescript
17315
+
17316
+ * // Admin accessing user route
17317
+
17318
+ * hasRoleAccess('admin', 'user') // true
17319
+
17320
+ *
17321
+
17322
+ * // User accessing admin route
17323
+
17324
+ * hasRoleAccess('user', 'admin') // false
17325
+
17326
+ *
17327
+
17328
+ * // Super accessing admin route
17329
+
17330
+ * hasRoleAccess('super', 'admin') // true
17331
+
17332
+ * ```
17333
+
17334
+ *
17335
+
17336
+ * @version 0.0.1
17337
+
17338
+ * @since 0.0.1
17339
+
17340
+ */
17341
+ declare function hasRoleAccess(userRole: string | undefined, requiredRole: string): boolean;
17342
+
17343
+ /**
17344
+
17345
+ * @fileoverview Tier Hierarchy Utilities
17346
+
17347
+ * @description Provides subscription tier-based access control with hierarchical permissions.
17348
+
17349
+ * Uses tier levels from SubscriptionConfig (apps define their own) with COMMON_TIER_CONFIGS as fallback.
17350
+
17351
+ *
17352
+
17353
+ * **Hierarchy Rules:**
17354
+
17355
+ * Higher tier levels inherit access to lower tier levels:
17356
+
17357
+ * - Tier with level 2 can access tiers with level 2, 1, and 0
17358
+
17359
+ * - Tier with level 1 can access tiers with level 1 and 0
17360
+
17361
+ * - Tier with level 0 can access tier with level 0 only
17362
+
17363
+ *
17364
+
17365
+ * **CSR/SSR/Server Safe:**
17366
+
17367
+ * Pure function with no browser APIs or React dependencies.
17368
+
17369
+ * Safe for use in Firebase Functions, API routes, and server-side rendering.
17370
+
17371
+ *
17372
+
17373
+ * @version 0.0.1
17374
+
17375
+ * @since 0.0.1
17376
+
17377
+ * @author AMBROISE PARK Consulting
17378
+
17379
+ */
17380
+
17381
+ /**
17382
+
17383
+ * Check if a user tier has access to a required tier based on hierarchy.
17384
+
17385
+ *
17386
+
17387
+ * Uses tier levels from the provided config (or COMMON_TIER_CONFIGS as fallback).
17388
+
17389
+ * Higher tier levels inherit access to lower tier levels.
17390
+
17391
+ *
17392
+
17393
+ * Unknown tiers default to level -1 (denied) for security.
17394
+
17395
+ * Unknown required tiers default to Infinity (always denied).
17396
+
17397
+ *
17398
+
17399
+ * @param userTier - The user's current tier (e.g., 'pro', 'free', 'ai')
17400
+
17401
+ * @param requiredTier - The tier required to access the resource
17402
+
17403
+ * @param tierConfig - Optional custom tier configuration. If not provided, uses COMMON_TIER_CONFIGS
17404
+
17405
+ * @returns True if user has sufficient tier level, false otherwise
17406
+
17407
+ *
17408
+
17409
+ * @example
17410
+
17411
+ * ```typescript
17412
+
17413
+ * // Pro accessing free route
17414
+
17415
+ * hasTierAccess('pro', 'free') // true
17416
+
17417
+ *
17418
+
17419
+ * // Free accessing pro route
17420
+
17421
+ * hasTierAccess('free', 'pro') // false
17422
+
17423
+ *
17424
+
17425
+ * // With custom config
17426
+
17427
+ * const customConfig = {
17428
+
17429
+ * basic: { features: [], level: 0 },
17430
+
17431
+ * premium: { features: [], level: 1 }
17432
+
17433
+ * };
17434
+
17435
+ * hasTierAccess('premium', 'basic', customConfig) // true
17436
+
17437
+ * ```
17438
+
17439
+ *
17440
+
17441
+ * @version 0.0.1
17442
+
17443
+ * @since 0.0.1
17444
+
17445
+ */
17446
+ declare function hasTierAccess(userTier: string | undefined, requiredTier: string, tierConfig?: SubscriptionConfig['tiers']): boolean;
17447
+
16663
17448
  /**
16664
17449
  * @fileoverview Singleton utility functions
16665
17450
  * @description Provides singleton pattern implementation for the framework
@@ -16929,6 +17714,7 @@ type index_d$4_CleanupFunction = CleanupFunction;
16929
17714
  type index_d$4_CompatibilityReport = CompatibilityReport;
16930
17715
  type index_d$4_ConsentLevel = ConsentLevel;
16931
17716
  type index_d$4_CookieInfo = CookieInfo;
17717
+ declare const index_d$4_DEFAULT_ERROR_MESSAGES: typeof DEFAULT_ERROR_MESSAGES;
16932
17718
  declare const index_d$4_DEGRADED_AUTH_API: typeof DEGRADED_AUTH_API;
16933
17719
  declare const index_d$4_DEGRADED_BILLING_API: typeof DEGRADED_BILLING_API;
16934
17720
  declare const index_d$4_DEGRADED_CRUD_API: typeof DEGRADED_CRUD_API;
@@ -16937,6 +17723,8 @@ type index_d$4_DateFormatOptions = DateFormatOptions;
16937
17723
  type index_d$4_DateFormatPreset = DateFormatPreset;
16938
17724
  type index_d$4_DoNotDevError = DoNotDevError;
16939
17725
  declare const index_d$4_DoNotDevError: typeof DoNotDevError;
17726
+ type index_d$4_ErrorHandlerConfig = ErrorHandlerConfig;
17727
+ type index_d$4_ErrorHandlerFunction = ErrorHandlerFunction;
16940
17728
  type index_d$4_EventEmitter = EventEmitter;
16941
17729
  declare const index_d$4_EventEmitter: typeof EventEmitter;
16942
17730
  type index_d$4_EventListener<T = any> = EventListener<T>;
@@ -16973,15 +17761,18 @@ declare const index_d$4_ViewportHandler: typeof ViewportHandler;
16973
17761
  declare const index_d$4_areFeaturesAvailable: typeof areFeaturesAvailable;
16974
17762
  declare const index_d$4_canRedirectExternally: typeof canRedirectExternally;
16975
17763
  declare const index_d$4_captureError: typeof captureError;
17764
+ declare const index_d$4_captureErrorToSentry: typeof captureErrorToSentry;
16976
17765
  declare const index_d$4_captureMessage: typeof captureMessage;
16977
17766
  declare const index_d$4_checkLicense: typeof checkLicense;
16978
17767
  declare const index_d$4_cleanupSentry: typeof cleanupSentry;
16979
17768
  declare const index_d$4_clearFeatureCache: typeof clearFeatureCache;
16980
17769
  declare const index_d$4_clearLocalStorage: typeof clearLocalStorage;
16981
17770
  declare const index_d$4_clearPartnerCache: typeof clearPartnerCache;
17771
+ declare const index_d$4_commonErrorCodeMappings: typeof commonErrorCodeMappings;
16982
17772
  declare const index_d$4_compactToISOString: typeof compactToISOString;
16983
17773
  declare const index_d$4_cooldown: typeof cooldown;
16984
17774
  declare const index_d$4_createAsyncSingleton: typeof createAsyncSingleton;
17775
+ declare const index_d$4_createErrorHandler: typeof createErrorHandler;
16985
17776
  declare const index_d$4_createMetadata: typeof createMetadata;
16986
17777
  declare const index_d$4_createMethodProxy: typeof createMethodProxy;
16987
17778
  declare const index_d$4_createProvider: typeof createProvider;
@@ -16995,6 +17786,7 @@ declare const index_d$4_decryptData: typeof decryptData;
16995
17786
  declare const index_d$4_delay: typeof delay;
16996
17787
  declare const index_d$4_deleteCookie: typeof deleteCookie;
16997
17788
  declare const index_d$4_detectBrowser: typeof detectBrowser;
17789
+ declare const index_d$4_detectErrorSource: typeof detectErrorSource;
16998
17790
  declare const index_d$4_detectFeatures: typeof detectFeatures;
16999
17791
  declare const index_d$4_detectLicenseKey: typeof detectLicenseKey;
17000
17792
  declare const index_d$4_detectPlatform: typeof detectPlatform;
@@ -17055,6 +17847,8 @@ declare const index_d$4_getWeekFromISOString: typeof getWeekFromISOString;
17055
17847
  declare const index_d$4_globalEmitter: typeof globalEmitter;
17056
17848
  declare const index_d$4_handleError: typeof handleError;
17057
17849
  declare const index_d$4_hasOptionalCookies: typeof hasOptionalCookies;
17850
+ declare const index_d$4_hasRoleAccess: typeof hasRoleAccess;
17851
+ declare const index_d$4_hasTierAccess: typeof hasTierAccess;
17058
17852
  declare const index_d$4_importEncryptionKey: typeof importEncryptionKey;
17059
17853
  declare const index_d$4_initSentry: typeof initSentry;
17060
17854
  declare const index_d$4_initializeConfig: typeof initializeConfig;
@@ -17078,6 +17872,7 @@ declare const index_d$4_isTest: typeof isTest;
17078
17872
  declare const index_d$4_isVite: typeof isVite;
17079
17873
  declare const index_d$4_isoToCompactString: typeof isoToCompactString;
17080
17874
  declare const index_d$4_lazyImport: typeof lazyImport;
17875
+ declare const index_d$4_mapToDoNotDevError: typeof mapToDoNotDevError;
17081
17876
  declare const index_d$4_maybeTranslate: typeof maybeTranslate;
17082
17877
  declare const index_d$4_normalizeToISOString: typeof normalizeToISOString;
17083
17878
  declare const index_d$4_observeElement: typeof observeElement;
@@ -17112,8 +17907,8 @@ declare const index_d$4_validateLicenseKey: typeof validateLicenseKey;
17112
17907
  declare const index_d$4_withErrorHandling: typeof withErrorHandling;
17113
17908
  declare const index_d$4_withGracefulDegradation: typeof withGracefulDegradation;
17114
17909
  declare namespace index_d$4 {
17115
- export { index_d$4_AUTH_COMPUTED_KEYS as AUTH_COMPUTED_KEYS, index_d$4_AUTH_STORE_KEYS as AUTH_STORE_KEYS, 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_ClaimsCache as ClaimsCache, 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_captureMessage as captureMessage, index_d$4_checkLicense as checkLicense, index_d$4_cleanupSentry as cleanupSentry, index_d$4_clearFeatureCache as clearFeatureCache, index_d$4_clearLocalStorage as clearLocalStorage, index_d$4_clearPartnerCache as clearPartnerCache, index_d$4_compactToISOString as compactToISOString, index_d$4_cooldown as cooldown, index_d$4_createAsyncSingleton as createAsyncSingleton, index_d$4_createMetadata as createMetadata, index_d$4_createMethodProxy as createMethodProxy, index_d$4_createProvider as createProvider, index_d$4_createProviders as createProviders, 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_detectFeatures as detectFeatures, index_d$4_detectLicenseKey as detectLicenseKey, 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_exportEncryptionKey as exportEncryptionKey, index_d$4_formatCookieList as formatCookieList, 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_generatePKCEPair as generatePKCEPair, 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_getAuthPartnerConfig as getAuthPartnerConfig, index_d$4_getAuthPartnerIdByFirebaseId as getAuthPartnerIdByFirebaseId, index_d$4_getAvailableFeatures as getAvailableFeatures, index_d$4_getBrowserRecommendations as getBrowserRecommendations, 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_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_getI18nConfig as getI18nConfig, 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_getProviderColor as getProviderColor, 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_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_importEncryptionKey as importEncryptionKey, 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_isFeatureAvailable as isFeatureAvailable, 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_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_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_resolveAppConfig as resolveAppConfig, index_d$4_safeLocalStorage as safeLocalStorage, index_d$4_safeSessionStorage as safeSessionStorage, 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_validateLicenseKey as validateLicenseKey, index_d$4_withErrorHandling as withErrorHandling, index_d$4_withGracefulDegradation as withGracefulDegradation };
17116
- export type { 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_DateFormatOptions as DateFormatOptions, index_d$4_DateFormatPreset as DateFormatPreset, index_d$4_EventListener as EventListener, index_d$4_FeatureAvailability as FeatureAvailability, index_d$4_FeatureSupport as FeatureSupport, index_d$4_FrameworkFeature as FrameworkFeature, 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_LicenseValidationResult as LicenseValidationResult, 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 };
17910
+ export { index_d$4_AUTH_COMPUTED_KEYS as AUTH_COMPUTED_KEYS, index_d$4_AUTH_STORE_KEYS as AUTH_STORE_KEYS, 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_ClaimsCache as ClaimsCache, index_d$4_DEFAULT_ERROR_MESSAGES as DEFAULT_ERROR_MESSAGES, 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_checkLicense as checkLicense, index_d$4_cleanupSentry as cleanupSentry, index_d$4_clearFeatureCache as clearFeatureCache, 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_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_createProvider as createProvider, index_d$4_createProviders as createProviders, 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_detectLicenseKey as detectLicenseKey, 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_exportEncryptionKey as exportEncryptionKey, index_d$4_formatCookieList as formatCookieList, 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_generatePKCEPair as generatePKCEPair, 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_getAuthPartnerConfig as getAuthPartnerConfig, index_d$4_getAuthPartnerIdByFirebaseId as getAuthPartnerIdByFirebaseId, index_d$4_getAvailableFeatures as getAvailableFeatures, index_d$4_getBrowserRecommendations as getBrowserRecommendations, 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_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_getI18nConfig as getI18nConfig, 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_getProviderColor as getProviderColor, 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_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_hasRoleAccess as hasRoleAccess, index_d$4_hasTierAccess as hasTierAccess, index_d$4_importEncryptionKey as importEncryptionKey, 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_isFeatureAvailable as isFeatureAvailable, 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_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_resolveAppConfig as resolveAppConfig, index_d$4_safeLocalStorage as safeLocalStorage, index_d$4_safeSessionStorage as safeSessionStorage, 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_validateLicenseKey as validateLicenseKey, index_d$4_withErrorHandling as withErrorHandling, index_d$4_withGracefulDegradation as withGracefulDegradation };
17911
+ export type { 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_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_FrameworkFeature as FrameworkFeature, 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_LicenseValidationResult as LicenseValidationResult, 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 };
17117
17912
  }
17118
17913
 
17119
17914
  /**
@@ -17558,7 +18353,7 @@ declare const useLoadingStore: zustand.UseBoundStore<zustand.StoreApi<LoadingSta
17558
18353
  /**
17559
18354
  * Extended overlay actions interface
17560
18355
  */
17561
- interface ExtendedOverlayActions extends ModalActions {
18356
+ interface ExtendedOverlayActions extends ModalActions, RedirectOverlayActions {
17562
18357
  /** Open a modal with content */
17563
18358
  openModal: (content: ReactNode) => void;
17564
18359
  /** Close the current modal */
@@ -17581,7 +18376,7 @@ interface ExtendedOverlayActions extends ModalActions {
17581
18376
  /**
17582
18377
  * Overlay state interface
17583
18378
  */
17584
- interface OverlayState extends ModalState {
18379
+ interface OverlayState extends ModalState, RedirectOverlayState {
17585
18380
  /** Whether a sheet is currently open */
17586
18381
  isSheetOpen: boolean;
17587
18382
  /** Whether the command dialog (GlobalSearch) is currently open */
@@ -17659,6 +18454,50 @@ interface OverlayState extends ModalState {
17659
18454
  * @author AMBROISE PARK Consulting
17660
18455
  */
17661
18456
  declare const useOverlayStore: zustand.UseBoundStore<zustand.StoreApi<OverlayState & ExtendedOverlayActions & DoNotDevStore>>;
18457
+ /**
18458
+ * Overlay API type - complete interface for useOverlay
18459
+ *
18460
+ * Maps each property of OverlayState & ExtendedOverlayActions to its value type
18461
+ * for fine-grained selectors. Components only subscribe to the specific property they need.
18462
+ *
18463
+ * @example
18464
+ * ```typescript
18465
+ * // Subscribe only to modal open state
18466
+ * const isOpen = useOverlay('isOpen');
18467
+ *
18468
+ * // Subscribe only to showRedirectOverlay method
18469
+ * const showRedirectOverlay = useOverlay('showRedirectOverlay');
18470
+ *
18471
+ * // Subscribe only to redirect overlay state
18472
+ * const isRedirectOverlayOpen = useOverlay('isRedirectOverlayOpen');
18473
+ * ```
18474
+ */
18475
+ type OverlayAPI = OverlayState & ExtendedOverlayActions;
18476
+ /**
18477
+ * Hook for accessing overlay state and actions
18478
+ * Fine-grained selectors - subscribe only to the property you need
18479
+ *
18480
+ * @param key - Property key from OverlayAPI to subscribe to
18481
+ * @returns The value of the requested property
18482
+ *
18483
+ * @example
18484
+ * ```typescript
18485
+ * // Subscribe only to modal open state
18486
+ * const isOpen = useOverlay('isOpen');
18487
+ *
18488
+ * // Subscribe only to showRedirectOverlay method
18489
+ * const showRedirectOverlay = useOverlay('showRedirectOverlay');
18490
+ * showRedirectOverlay('stripe-checkout');
18491
+ *
18492
+ * // Subscribe only to redirect overlay state
18493
+ * const isRedirectOverlayOpen = useOverlay('isRedirectOverlayOpen');
18494
+ * ```
18495
+ *
18496
+ * @version 0.0.1
18497
+ * @since 0.0.1
18498
+ * @author AMBROISE PARK Consulting
18499
+ */
18500
+ declare function useOverlay<K extends keyof OverlayAPI>(key: K): OverlayAPI[K];
17662
18501
 
17663
18502
  /**
17664
18503
  * Cached navigation data keyed by auth state
@@ -18168,6 +19007,7 @@ type index_d$3_DoNotDevStore = DoNotDevStore;
18168
19007
  type index_d$3_DoNotDevStoreConfig<T> = DoNotDevStoreConfig<T>;
18169
19008
  type index_d$3_DoNotDevStoreState<T> = DoNotDevStoreState<T>;
18170
19009
  type index_d$3_LayoutAPI = LayoutAPI;
19010
+ type index_d$3_OverlayAPI = OverlayAPI;
18171
19011
  type index_d$3_RouteData = RouteData;
18172
19012
  type index_d$3_RouteManifest = RouteManifest;
18173
19013
  type index_d$3_ThemeAPI = ThemeAPI;
@@ -18207,14 +19047,15 @@ declare const index_d$3_useNetworkConnectionType: typeof useNetworkConnectionTyp
18207
19047
  declare const index_d$3_useNetworkOnline: typeof useNetworkOnline;
18208
19048
  declare const index_d$3_useNetworkStatus: typeof useNetworkStatus;
18209
19049
  declare const index_d$3_useNetworkStore: typeof useNetworkStore;
19050
+ declare const index_d$3_useOverlay: typeof useOverlay;
18210
19051
  declare const index_d$3_useOverlayStore: typeof useOverlayStore;
18211
19052
  declare const index_d$3_useRateLimit: typeof useRateLimit;
18212
19053
  declare const index_d$3_useTheme: typeof useTheme;
18213
19054
  declare const index_d$3_useThemeReady: typeof useThemeReady;
18214
19055
  declare const index_d$3_useThemeStore: typeof useThemeStore;
18215
19056
  declare namespace index_d$3 {
18216
- export { index_d$3_applyTheme as applyTheme, index_d$3_buildRoutePath as buildRoutePath, index_d$3_createDoNotDevStore as createDoNotDevStore, index_d$3_extractRoutePath as extractRoutePath, index_d$3_getAvailableThemeNames as getAvailableThemeNames, index_d$3_getAvailableThemes as getAvailableThemes, index_d$3_getRouteManifest as getRouteManifest, index_d$3_getRouteSource as getRouteSource, index_d$3_getRoutes as getRoutes, index_d$3_getSmartDefaults as getSmartDefaults, index_d$3_getThemeInfo as getThemeInfo, index_d$3_isDoNotDevStore as isDoNotDevStore, index_d$3_isValidTheme as isValidTheme, index_d$3_resolveAuthConfig as resolveAuthConfig, index_d$3_resolvePageMeta as resolvePageMeta, index_d$3_useAbortControllerStore as useAbortControllerStore, index_d$3_useAnalyticsConsent as useAnalyticsConsent, index_d$3_useBreakpoint as useBreakpoint, index_d$3_useConsent as useConsent, index_d$3_useConsentReady as useConsentReady, index_d$3_useConsentStore as useConsentStore, index_d$3_useFeatureConsent as useFeatureConsent, index_d$3_useFunctionalConsent as useFunctionalConsent, index_d$3_useHasConsented as useHasConsented, index_d$3_useLayout as useLayout, index_d$3_useLoading as useLoading, index_d$3_useLoadingActions as useLoadingActions, index_d$3_useLoadingState as useLoadingState, index_d$3_useLoadingStore as useLoadingStore, index_d$3_useMarketingConsent as useMarketingConsent, index_d$3_useNavigationStore as useNavigationStore, index_d$3_useNetwork as useNetwork, index_d$3_useNetworkConnectionType as useNetworkConnectionType, index_d$3_useNetworkOnline as useNetworkOnline, index_d$3_useNetworkStatus as useNetworkStatus, index_d$3_useNetworkStore as useNetworkStore, index_d$3_useOverlayStore as useOverlayStore, index_d$3_useRateLimit as useRateLimit, index_d$3_useTheme as useTheme, index_d$3_useThemeReady as useThemeReady, index_d$3_useThemeStore as useThemeStore };
18217
- export type { index_d$3_BreakpointAPI as BreakpointAPI, index_d$3_DoNotDevStore as DoNotDevStore, index_d$3_DoNotDevStoreConfig as DoNotDevStoreConfig, index_d$3_DoNotDevStoreState as DoNotDevStoreState, index_d$3_LayoutAPI as LayoutAPI, index_d$3_RouteData as RouteData, index_d$3_RouteManifest as RouteManifest, index_d$3_ThemeAPI as ThemeAPI };
19057
+ export { index_d$3_applyTheme as applyTheme, index_d$3_buildRoutePath as buildRoutePath, index_d$3_createDoNotDevStore as createDoNotDevStore, index_d$3_extractRoutePath as extractRoutePath, index_d$3_getAvailableThemeNames as getAvailableThemeNames, index_d$3_getAvailableThemes as getAvailableThemes, index_d$3_getRouteManifest as getRouteManifest, index_d$3_getRouteSource as getRouteSource, index_d$3_getRoutes as getRoutes, index_d$3_getSmartDefaults as getSmartDefaults, index_d$3_getThemeInfo as getThemeInfo, index_d$3_isDoNotDevStore as isDoNotDevStore, index_d$3_isValidTheme as isValidTheme, index_d$3_resolveAuthConfig as resolveAuthConfig, index_d$3_resolvePageMeta as resolvePageMeta, index_d$3_useAbortControllerStore as useAbortControllerStore, index_d$3_useAnalyticsConsent as useAnalyticsConsent, index_d$3_useBreakpoint as useBreakpoint, index_d$3_useConsent as useConsent, index_d$3_useConsentReady as useConsentReady, index_d$3_useConsentStore as useConsentStore, index_d$3_useFeatureConsent as useFeatureConsent, index_d$3_useFunctionalConsent as useFunctionalConsent, index_d$3_useHasConsented as useHasConsented, index_d$3_useLayout as useLayout, index_d$3_useLoading as useLoading, index_d$3_useLoadingActions as useLoadingActions, index_d$3_useLoadingState as useLoadingState, index_d$3_useLoadingStore as useLoadingStore, index_d$3_useMarketingConsent as useMarketingConsent, index_d$3_useNavigationStore as useNavigationStore, index_d$3_useNetwork as useNetwork, index_d$3_useNetworkConnectionType as useNetworkConnectionType, index_d$3_useNetworkOnline as useNetworkOnline, index_d$3_useNetworkStatus as useNetworkStatus, index_d$3_useNetworkStore as useNetworkStore, index_d$3_useOverlay as useOverlay, index_d$3_useOverlayStore as useOverlayStore, index_d$3_useRateLimit as useRateLimit, index_d$3_useTheme as useTheme, index_d$3_useThemeReady as useThemeReady, index_d$3_useThemeStore as useThemeStore };
19058
+ export type { index_d$3_BreakpointAPI as BreakpointAPI, index_d$3_DoNotDevStore as DoNotDevStore, index_d$3_DoNotDevStoreConfig as DoNotDevStoreConfig, index_d$3_DoNotDevStoreState as DoNotDevStoreState, index_d$3_LayoutAPI as LayoutAPI, index_d$3_OverlayAPI as OverlayAPI, index_d$3_RouteData as RouteData, index_d$3_RouteManifest as RouteManifest, index_d$3_ThemeAPI as ThemeAPI };
18218
19059
  }
18219
19060
 
18220
19061
  /**
@@ -18226,6 +19067,11 @@ interface EntitySchemas {
18226
19067
  /**
18227
19068
  * Creates all necessary schemas for an entity
18228
19069
  *
19070
+ * **Technical Fields Handling:**
19071
+ * - Create schema: Technical fields are optional (backend creates them automatically)
19072
+ * - Update schema: All fields optional except id. Technical fields can be updated if provided.
19073
+ * - Get/List schemas: Technical fields are required (they exist in the database)
19074
+ *
18229
19075
  * @param entity The entity to create schemas for
18230
19076
  * @returns An object containing all generated schemas with proper typing
18231
19077
  * @version 0.0.1
@@ -18257,7 +19103,7 @@ declare function enhanceSchema<T>(schema: v.BaseSchema<unknown, T, v.BaseIssue<u
18257
19103
 
18258
19104
  /**
18259
19105
  * @fileoverview Schema type generation utility
18260
- * @description Creates Valibot schemas for entity fields
19106
+ * @description Creates Valibot schemas via registry - extensible for custom types
18261
19107
  *
18262
19108
  * @version 0.0.1
18263
19109
  * @since 0.0.1
@@ -18265,15 +19111,30 @@ declare function enhanceSchema<T>(schema: v.BaseSchema<unknown, T, v.BaseIssue<u
18265
19111
  */
18266
19112
 
18267
19113
  /**
18268
- * Extracts a Valibot schema type for a given entity field with validation rules.
18269
- *
18270
- * @param field - The entity field definition
18271
- * @returns A Valibot schema corresponding to the field definition
18272
- * @version 0.0.1
18273
- * @since 0.0.1
18274
- * @author AMBROISE PARK Consulting
19114
+ * Schema generator function type
19115
+ */
19116
+ type CustomSchemaGenerator = (field: EntityField<FieldType>) => v.BaseSchema<unknown, unknown, v.BaseIssue<unknown>> | null;
19117
+ /**
19118
+ * Register a schema generator for a field type
19119
+ */
19120
+ declare function registerSchemaGenerator(type: string, generator: CustomSchemaGenerator): void;
19121
+ /**
19122
+ * Check if a schema generator is registered
19123
+ */
19124
+ declare function hasCustomSchemaGenerator(type: string): boolean;
19125
+ /**
19126
+ * Get all registered schema types
18275
19127
  */
18276
- declare function getSchemaType(field: EntityField): v.BaseSchema<unknown, unknown, v.BaseIssue<unknown>>;
19128
+ declare function getRegisteredSchemaTypes(): string[];
19129
+ /**
19130
+ * Clear all schema generators (testing)
19131
+ */
19132
+ declare function clearSchemaGenerators(): void;
19133
+ /**
19134
+ * Get Valibot schema for an entity field
19135
+ * Looks up in registry, falls back to v.unknown() for unregistered types
19136
+ */
19137
+ declare function getSchemaType(field: EntityField<FieldType>): v.BaseSchema<unknown, unknown, v.BaseIssue<unknown>>;
18277
19138
 
18278
19139
  /**
18279
19140
  * Recursively validates that all string values that look like potential dates
@@ -18377,24 +19238,67 @@ declare function getCollectionName(schema: dndevSchema<unknown>): string;
18377
19238
  *
18378
19239
  * @param visibility - The visibility level
18379
19240
  * @param isAdmin - Whether the user is an admin
19241
+ * @param isAuthenticated - Whether the user is authenticated (defaults to true for admins)
18380
19242
  * @returns Whether the field should be visible
18381
19243
  * @version 0.0.1
18382
19244
  * @since 0.0.1
18383
19245
  * @author AMBROISE PARK Consulting
18384
19246
  */
18385
- declare function isFieldVisible(visibility: Visibility, isAdmin: boolean): boolean;
19247
+ declare function isFieldVisible(visibility: Visibility, isAdmin: boolean, isAuthenticated?: boolean): boolean;
18386
19248
  /**
18387
19249
  * Gets visible fields from an entity definition
18388
19250
  *
18389
19251
  * @param fields - The entity fields
18390
19252
  * @param isAdmin - Whether the user is an admin
19253
+ * @param isAuthenticated - Whether the user is authenticated (defaults to true for admins)
18391
19254
  * @returns Array of visible field names
18392
19255
  * @version 0.0.1
18393
19256
  * @since 0.0.1
18394
19257
  * @author AMBROISE PARK Consulting
18395
19258
  */
18396
- declare function getVisibleFieldsFromEntity(fields: Record<string, EntityField>, isAdmin: boolean): string[];
18397
- declare const baseFields: Record<string, EntityField>;
19259
+ declare function getVisibleFieldsFromEntity(fields: Record<string, EntityField<FieldType>>, isAdmin: boolean, isAuthenticated?: boolean): string[];
19260
+ /**
19261
+ * Type-safe base fields that all entities inherit
19262
+ * Each field has its specific type for proper TypeScript inference
19263
+ */
19264
+ interface TypedBaseFields {
19265
+ id: EntityField<'text'>;
19266
+ createdAt: EntityField<'timestamp'>;
19267
+ updatedAt: EntityField<'timestamp'>;
19268
+ createdById: EntityField<'reference'>;
19269
+ updatedById: EntityField<'reference'>;
19270
+ status: EntityField<'select'>;
19271
+ }
19272
+ /**
19273
+ * Default status options for draft/publish/delete workflow
19274
+ * Framework provides 'draft', 'available', 'deleted' - consumers can extend
19275
+ * Labels use translation keys (dndev:status.*) for i18n support
19276
+ */
19277
+ declare const DEFAULT_STATUS_OPTIONS: readonly [{
19278
+ readonly value: "draft";
19279
+ readonly label: "dndev:status.draft";
19280
+ }, {
19281
+ readonly value: "available";
19282
+ readonly label: "dndev:status.available";
19283
+ }, {
19284
+ readonly value: "deleted";
19285
+ readonly label: "dndev:status.deleted";
19286
+ }];
19287
+ /**
19288
+ * Default status value for new documents (published by default)
19289
+ */
19290
+ declare const DEFAULT_STATUS_VALUE: "available";
19291
+ /**
19292
+ * Statuses that are hidden from non-admin users
19293
+ */
19294
+ declare const HIDDEN_STATUSES: readonly ["draft", "deleted"];
19295
+ /**
19296
+ * List of technical field names that are auto-generated by the backend
19297
+ * These fields are optional in create schemas (backend creates them automatically).
19298
+ * They can be updated in update operations if provided.
19299
+ */
19300
+ declare const TECHNICAL_FIELD_NAMES: readonly ["id", "createdAt", "updatedAt", "createdById", "updatedById", "status"];
19301
+ declare const baseFields: TypedBaseFields;
18398
19302
 
18399
19303
  /**
18400
19304
  * @fileoverview Entity Definition Utilities
@@ -18408,8 +19312,51 @@ declare const baseFields: Record<string, EntityField>;
18408
19312
  /**
18409
19313
  * Defines an entity with validation and default configuration
18410
19314
  *
19315
+ * Automatically adds technical fields (`id`, `createdAt`, `updatedAt`, `createdById`, `updatedById`)
19316
+ * with `visibility: 'technical'`. User-defined technical fields are merged with defaults, allowing
19317
+ * customization (e.g., `editable: 'admin'`, custom `label`, additional `validation`).
19318
+ *
18411
19319
  * @param entity - The business entity definition
18412
19320
  * @returns The validated and configured entity
19321
+ *
19322
+ * @example
19323
+ * ```typescript
19324
+ * export const productEntity = defineEntity({
19325
+ * name: 'Product',
19326
+ * collection: 'products',
19327
+ * fields: {
19328
+ * name: {
19329
+ * type: 'text',
19330
+ * visibility: 'user',
19331
+ * validation: { required: true, minLength: 3 }
19332
+ * },
19333
+ * // Customize technical field (optional)
19334
+ * createdAt: {
19335
+ * editable: 'admin',
19336
+ * label: 'Created Date'
19337
+ * }
19338
+ * }
19339
+ * });
19340
+ * ```
19341
+ *
19342
+ * **Technical Fields:**
19343
+ * - Automatically added: `id`, `createdAt`, `updatedAt`, `createdById`, `updatedById`, `status`
19344
+ * - Default: `visibility: 'technical'`, read-only in edit forms
19345
+ * - Customizable: Can override `editable`, `label`, `hint`, `validation` (merged with defaults)
19346
+ *
19347
+ * **Status Field (Draft/Publish/Delete):**
19348
+ * - Auto-added with `visibility: 'admin'` and options: `['draft', 'available', 'deleted']`
19349
+ * - Default value: `'available'` (new documents are published by default)
19350
+ * - `draft` and `deleted` statuses hidden from non-admin users (server-side filtering)
19351
+ * - `validation.required` on other fields only enforced when status !== 'draft'
19352
+ * - Extend options: `status: { validation: { options: [{ value: 'sold', label: 'sold' }] } }`
19353
+ * - Hide field: `status: { visibility: 'technical' }` if you don't want it in forms
19354
+ *
19355
+ * **Dropdown Options Format:**
19356
+ * - For `select`, `multiselect`, and `radio` field types, options must be defined in `validation.options`
19357
+ * - Options must be an array of objects with `value` (string) and `label` (string)
19358
+ * - Labels can use i18n keys (e.g., `'entities.product.status.active'`) for translation
19359
+ *
18413
19360
  * @version 0.0.1
18414
19361
  * @since 0.0.1
18415
19362
  * @author AMBROISE PARK Consulting
@@ -18426,23 +19373,33 @@ declare function defineEntity(entity: BusinessEntity): Entity;
18426
19373
  */
18427
19374
  //# sourceMappingURL=index.d.ts.map
18428
19375
 
19376
+ type index_d$2_CustomSchemaGenerator = CustomSchemaGenerator;
19377
+ declare const index_d$2_DEFAULT_STATUS_OPTIONS: typeof DEFAULT_STATUS_OPTIONS;
19378
+ declare const index_d$2_DEFAULT_STATUS_VALUE: typeof DEFAULT_STATUS_VALUE;
18429
19379
  type index_d$2_EntitySchemas = EntitySchemas;
19380
+ declare const index_d$2_HIDDEN_STATUSES: typeof HIDDEN_STATUSES;
19381
+ declare const index_d$2_TECHNICAL_FIELD_NAMES: typeof TECHNICAL_FIELD_NAMES;
19382
+ type index_d$2_TypedBaseFields = TypedBaseFields;
18430
19383
  declare const index_d$2_baseFields: typeof baseFields;
19384
+ declare const index_d$2_clearSchemaGenerators: typeof clearSchemaGenerators;
18431
19385
  declare const index_d$2_createSchemas: typeof createSchemas;
18432
19386
  declare const index_d$2_defineEntity: typeof defineEntity;
18433
19387
  declare const index_d$2_enhanceSchema: typeof enhanceSchema;
18434
19388
  declare const index_d$2_getCollectionName: typeof getCollectionName;
19389
+ declare const index_d$2_getRegisteredSchemaTypes: typeof getRegisteredSchemaTypes;
18435
19390
  declare const index_d$2_getSchemaType: typeof getSchemaType;
18436
19391
  declare const index_d$2_getVisibleFieldsFromEntity: typeof getVisibleFieldsFromEntity;
19392
+ declare const index_d$2_hasCustomSchemaGenerator: typeof hasCustomSchemaGenerator;
18437
19393
  declare const index_d$2_hasMetadata: typeof hasMetadata;
18438
19394
  declare const index_d$2_isFieldVisible: typeof isFieldVisible;
19395
+ declare const index_d$2_registerSchemaGenerator: typeof registerSchemaGenerator;
18439
19396
  declare const index_d$2_registerUniqueConstraintValidator: typeof registerUniqueConstraintValidator;
18440
19397
  declare const index_d$2_validateDates: typeof validateDates;
18441
19398
  declare const index_d$2_validateDocument: typeof validateDocument;
18442
19399
  declare const index_d$2_validateUniqueFields: typeof validateUniqueFields;
18443
19400
  declare namespace index_d$2 {
18444
- export { index_d$2_baseFields as baseFields, index_d$2_createSchemas as createSchemas, index_d$2_defineEntity as defineEntity, index_d$2_enhanceSchema as enhanceSchema, index_d$2_getCollectionName as getCollectionName, index_d$2_getSchemaType as getSchemaType, index_d$2_getVisibleFieldsFromEntity as getVisibleFieldsFromEntity, index_d$2_hasMetadata as hasMetadata, index_d$2_isFieldVisible as isFieldVisible, index_d$2_registerUniqueConstraintValidator as registerUniqueConstraintValidator, index_d$2_validateDates as validateDates, index_d$2_validateDocument as validateDocument, index_d$2_validateUniqueFields as validateUniqueFields };
18445
- export type { index_d$2_EntitySchemas as EntitySchemas };
19401
+ export { index_d$2_DEFAULT_STATUS_OPTIONS as DEFAULT_STATUS_OPTIONS, index_d$2_DEFAULT_STATUS_VALUE as DEFAULT_STATUS_VALUE, index_d$2_HIDDEN_STATUSES as HIDDEN_STATUSES, index_d$2_TECHNICAL_FIELD_NAMES as TECHNICAL_FIELD_NAMES, index_d$2_baseFields as baseFields, index_d$2_clearSchemaGenerators as clearSchemaGenerators, index_d$2_createSchemas as createSchemas, index_d$2_defineEntity as defineEntity, index_d$2_enhanceSchema as enhanceSchema, index_d$2_getCollectionName as getCollectionName, index_d$2_getRegisteredSchemaTypes as getRegisteredSchemaTypes, index_d$2_getSchemaType as getSchemaType, index_d$2_getVisibleFieldsFromEntity as getVisibleFieldsFromEntity, index_d$2_hasCustomSchemaGenerator as hasCustomSchemaGenerator, index_d$2_hasMetadata as hasMetadata, index_d$2_isFieldVisible as isFieldVisible, index_d$2_registerSchemaGenerator as registerSchemaGenerator, index_d$2_registerUniqueConstraintValidator as registerUniqueConstraintValidator, index_d$2_validateDates as validateDates, index_d$2_validateDocument as validateDocument, index_d$2_validateUniqueFields as validateUniqueFields };
19402
+ export type { index_d$2_CustomSchemaGenerator as CustomSchemaGenerator, index_d$2_EntitySchemas as EntitySchemas, index_d$2_TypedBaseFields as TypedBaseFields };
18446
19403
  }
18447
19404
 
18448
19405
  declare class Subscribable<TListener extends Function> {
@@ -20862,6 +21819,15 @@ interface UseViewportVisibilityReturn {
20862
21819
  */
20863
21820
  declare function useViewportVisibility(options?: UseViewportVisibilityOptions): UseViewportVisibilityReturn;
20864
21821
 
21822
+ /**
21823
+ * @fileoverview useAddOrUpdate hook
21824
+ * @description Generic hook for creating or updating entities
21825
+ *
21826
+ * @version 0.0.1
21827
+ * @since 0.0.1
21828
+ * @author AMBROISE PARK Consulting
21829
+ */
21830
+
20865
21831
  /**
20866
21832
  * Hook for creating or updating an entity.
20867
21833
  * If the data contains an 'id' field, it will perform an update; otherwise, a create.
@@ -20899,6 +21865,15 @@ declare function useBreathingTimer({ duration, onComplete, }: UseBreathingTimerP
20899
21865
  onComplete: (() => void) | undefined;
20900
21866
  };
20901
21867
 
21868
+ /**
21869
+ * @fileoverview useDelete hook
21870
+ * @description Generic hook for deleting entities by ID
21871
+ *
21872
+ * @version 0.0.1
21873
+ * @since 0.0.1
21874
+ * @author AMBROISE PARK Consulting
21875
+ */
21876
+
20902
21877
  /**
20903
21878
  * Hook for deleting an entity by ID.
20904
21879
  *
@@ -20910,6 +21885,43 @@ declare function useBreathingTimer({ duration, onComplete, }: UseBreathingTimerP
20910
21885
  */
20911
21886
  declare function useDelete<T>(schema: dndevSchema<T>): UseMutationResult<MutationResponse, EntityHookError, string>;
20912
21887
 
21888
+ /**
21889
+ * @fileoverview useGet hook for single entity retrieval
21890
+ * @description Generic hook for fetching a single entity by ID with full type safety
21891
+ *
21892
+ * This hook provides a simple, type-safe way to fetch individual entities
21893
+ * from the database using DoNotDev schemas. It handles loading states,
21894
+ * error handling, and caching automatically.
21895
+ *
21896
+ * **Key Features:**
21897
+ * - Type-safe entity retrieval
21898
+ * - Automatic loading and error states
21899
+ * - React Query integration for caching
21900
+ * - Optimistic updates support
21901
+ * - Automatic refetching on focus
21902
+ *
21903
+ * @version 0.0.1
21904
+ * @since 0.0.1
21905
+ * @author AMBROISE PARK Consulting
21906
+ *
21907
+ * **Usage Pattern:**
21908
+ * ```typescript
21909
+ * const { data: product, isLoading, error } = useGet(ProductSchema, productId);
21910
+ *
21911
+ * if (isLoading) return <LoadingSpinner />;
21912
+ * if (error) return <ErrorMessage error={error} />;
21913
+ * if (!product) return <NotFound />;
21914
+ *
21915
+ * return <ProductView product={product} />;
21916
+ * ```
21917
+ *
21918
+ * **Performance:**
21919
+ * - Automatic caching with React Query
21920
+ * - Background refetching for fresh data
21921
+ * - Optimized re-renders
21922
+ * - Memory-efficient cleanup
21923
+ */
21924
+
20913
21925
  /**
20914
21926
  * Hook for fetching a single entity by ID with full type safety
20915
21927
  *
@@ -21817,7 +22829,31 @@ interface LanguageData {
21817
22829
  id: string;
21818
22830
  name: string;
21819
22831
  nativeName: string;
22832
+ flagCode?: string;
22833
+ countryCode?: string;
22834
+ dialCode?: string;
21820
22835
  }
22836
+ /**
22837
+ * Complete language data array with all information
22838
+ * Single source of truth for all language-related data
22839
+ *
22840
+ * @version 0.0.1
22841
+ * @since 0.0.1
22842
+ * @author AMBROISE PARK Consulting
22843
+ */
22844
+ declare const LANGUAGES: readonly LanguageData[];
22845
+ type CountryData = {
22846
+ code: string;
22847
+ dialCode: string;
22848
+ flagCode: string;
22849
+ name: string;
22850
+ };
22851
+ /**
22852
+ * Get countries from languages that have country codes
22853
+ * Reuses existing language/flag mapping, just adds country code and dial code
22854
+ */
22855
+ declare function getCountries(): CountryData[];
22856
+ declare const COUNTRIES: readonly CountryData[];
21821
22857
 
21822
22858
  /**
21823
22859
  * Language selector utility hook
@@ -21889,23 +22925,19 @@ declare function Flag({ code, className, style, title, }: {
21889
22925
  code: string;
21890
22926
  } & FlagBaseProps): react_jsx_runtime.JSX.Element;
21891
22927
 
21892
- /**
21893
- * @fileoverview Flag assets package barrel exports
21894
- * @description Barrel exports for flag components and utilities. Provides access to the Flag component and utility functions for working with country flag codes.
21895
- * @version 0.0.1
21896
- * @since 0.0.1
21897
- * @author AMBROISE PARK Consulting
21898
- */
21899
-
21900
22928
  declare function getFlagCodes(): string[];
21901
22929
  declare function hasFlag(code: string): boolean;
21902
22930
 
21903
22931
  //# sourceMappingURL=index.d.ts.map
21904
22932
 
22933
+ declare const index_d_COUNTRIES: typeof COUNTRIES;
22934
+ type index_d_CountryData = CountryData;
21905
22935
  type index_d_DoNotDevTransProps = DoNotDevTransProps;
21906
22936
  declare const index_d_FAQSection: typeof FAQSection;
21907
22937
  type index_d_FAQSectionProps = FAQSectionProps;
21908
22938
  declare const index_d_Flag: typeof Flag;
22939
+ declare const index_d_LANGUAGES: typeof LANGUAGES;
22940
+ type index_d_LanguageData = LanguageData;
21909
22941
  declare const index_d_LanguageFAB: typeof LanguageFAB;
21910
22942
  declare const index_d_LanguageSelector: typeof LanguageSelector;
21911
22943
  declare const index_d_LanguageToggleGroup: typeof LanguageToggleGroup;
@@ -21913,6 +22945,7 @@ declare const index_d_TRANS_TAGS: typeof TRANS_TAGS;
21913
22945
  declare const index_d_Trans: typeof Trans;
21914
22946
  type index_d_TransTag = TransTag;
21915
22947
  declare const index_d_TranslatedText: typeof TranslatedText;
22948
+ declare const index_d_getCountries: typeof getCountries;
21916
22949
  declare const index_d_getFlagCodes: typeof getFlagCodes;
21917
22950
  declare const index_d_getI18nInstance: typeof getI18nInstance;
21918
22951
  declare const index_d_hasFlag: typeof hasFlag;
@@ -21920,9 +22953,9 @@ declare const index_d_useI18nReady: typeof useI18nReady;
21920
22953
  declare const index_d_useLanguageSelector: typeof useLanguageSelector;
21921
22954
  declare const index_d_useTranslation: typeof useTranslation;
21922
22955
  declare namespace index_d {
21923
- export { index_d_FAQSection as FAQSection, index_d_Flag as Flag, 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_getFlagCodes as getFlagCodes, index_d_getI18nInstance as getI18nInstance, index_d_hasFlag as hasFlag, index_d_useI18nReady as useI18nReady, index_d_useLanguageSelector as useLanguageSelector, index_d_useTranslation as useTranslation };
21924
- export type { index_d_DoNotDevTransProps as DoNotDevTransProps, index_d_FAQSectionProps as FAQSectionProps, index_d_TransTag as TransTag };
22956
+ 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_hasFlag as hasFlag, index_d_useI18nReady as useI18nReady, index_d_useLanguageSelector as useLanguageSelector, index_d_useTranslation as useTranslation };
22957
+ export type { index_d_CountryData as CountryData, index_d_DoNotDevTransProps as DoNotDevTransProps, index_d_FAQSectionProps as FAQSectionProps, index_d_LanguageData as LanguageData, index_d_TransTag as TransTag };
21925
22958
  }
21926
22959
 
21927
- export { AUTH_COMPUTED_KEYS, AUTH_EVENTS, AUTH_PARTNERS, AUTH_PARTNER_STATE, AUTH_STORE_KEYS, AppConfigContext, AppConfigProvider, AuthUserSchema, BILLING_EVENTS, BILLING_STORE_KEYS, BREAKPOINT_RANGES, BREAKPOINT_THRESHOLDS, BaseStorageStrategy, COMMON_TIER_CONFIGS, CONFIDENCE_LEVELS, CONSENT_CATEGORY, CONSENT_LEVELS, CONTEXTS, CheckoutSessionMetadataSchema, ClaimsCache, CreateCheckoutSessionRequestSchema, CreateCheckoutSessionResponseSchema, CustomClaimsSchema, DEFAULT_LAYOUT_PRESET, DEFAULT_SUBSCRIPTION, DEGRADED_AUTH_API, DEGRADED_BILLING_API, DEGRADED_CRUD_API, DEGRADED_OAUTH_API, DENSITY, DoNotDevError, ENVIRONMENTS, EntityHookError, EventEmitter, FAQSection, FEATURES, FEATURE_CONSENT_MATRIX, FEATURE_STATUS, FIREBASE_ERROR_MAP, FIRESTORE_ID_PATTERN, FRAMEWORK_FEATURES, Flag, GITHUB_PERMISSION_LEVELS, index_d$1 as Hooks, HybridStorageStrategy, index_d as I18n, LAYOUT_PRESET, LanguageFAB, LanguageSelector, LanguageToggleGroup, LocalStorageStrategy, OAUTH_EVENTS, OAUTH_PARTNERS, OAUTH_STORE_KEYS, PARTNER_ICONS, PAYLOAD_EVENTS, PERMISSIONS, PLATFORMS, PWA_ASSET_TYPES, PWA_DISPLAY_MODES, ProductDeclarationSchema, ProductDeclarationsSchema, QueryProviders, ROUTE_SOURCES, ReactQueryBridge, STORAGE_SCOPES, STORAGE_TYPES, STRIPE_EVENTS, STRIPE_MODES, SUBSCRIPTION_DURATIONS, SUBSCRIPTION_STATUS, SUBSCRIPTION_TIERS, index_d$2 as Schemas, SingletonManager, StorageManager, index_d$3 as Stores, StripeBackConfigSchema, StripeFrontConfigSchema, StripePaymentSchema, StripeSubscriptionSchema, SubscriptionClaimsSchema, SubscriptionDataSchema, TRANS_TAGS, TokenManager, Trans, TranslatedText, index_d$5 as Types, USER_ROLES, UserSubscriptionSchema, index_d$4 as Utils, ViewportHandler, WebhookEventSchema, applyTheme, areFeaturesAvailable, baseFields, buildRoutePath, canRedirectExternally, captureError, captureMessage, checkGitHubAccessSchema, checkLicense, cleanupSentry, clearFeatureCache, clearLocalStorage, clearPartnerCache, compactToISOString, cooldown, createAsyncSingleton, createDefaultSubscriptionClaims, createDefaultUserProfile, createDoNotDevStore, createEntitySchema, createMetadata, createMethodProxy, createProvider, createProviders, createSchemas, createSingleton, createSingletonWithParams, createViewportHandler, debounce, debugPlatformDetection, decryptData, defineEntity, delay, deleteCookie, deleteEntitySchema, detectBrowser, detectFeatures, detectLicenseKey, detectPlatform, detectPlatformInfo, detectStorageError, disconnectOAuthSchema, encryptData, enhanceSchema, exchangeTokenSchema, exportEncryptionKey, extractRoutePath, formatCookieList, formatDate, formatRelativeTime, generateCodeChallenge, generateCodeVerifier, generateCompatibilityReport, generateEncryptionKey, generatePKCEPair, getActiveCookies, getAppShortName, getAssetsConfig, getAuthDomain, getAuthPartnerConfig, getAuthPartnerIdByFirebaseId, getAvailableFeatures, getAvailableThemeNames, getAvailableThemes, getBreakpointFromWidth, getBreakpointUtils, getBrowserRecommendations, getCollectionName, getConfigSection, getConfigSource, getConnectionsSchema, getCookie, getCookieExamples, getCookiesByCategory, getCurrentOrigin, getCurrentTimestamp, getDndevConfig, getEnabledAuthPartners, getEnabledOAuthPartners, getEncryptionKey, getEntityProvider, getEntitySchema, getFeatureSummary, getFlagCodes, getI18nConfig, getI18nInstance, getLocalStorageItem, getNextEnvVar, getOAuthClientId, getOAuthPartnerConfig, getOAuthRedirectUri, getOAuthRedirectUrl, getPartnerCacheStatus, getPartnerConfig, getPlatformEnvVar, getProviderColor, getQueryClient, getRouteManifest, getRouteSource, getRoutes, getRoutesConfig, getSchemaType, getSmartDefaults, getStorageManager, getThemeInfo, getThemesConfig, getTokenManager, getValidAuthPartnerConfig, getValidAuthPartnerIds, getValidOAuthPartnerConfig, getValidOAuthPartnerIds, getVisibleFieldsFromEntity, getVisibleItems, getViteEnvVar, getWeekFromISOString, githubPermissionSchema, githubRepoConfigSchema, globalEmitter, grantGitHubAccessSchema, handleError, hasFlag, hasMetadata, hasOptionalCookies, importEncryptionKey, initSentry, initializeConfig, initializePlatformDetection, isAuthPartnerEnabled, isAuthPartnerId, isBreakpoint, isClient, isCompactDateString, isConfigAvailable, isDev, isDoNotDevStore, isElementInViewport, isEmailVerificationRequired, isFeatureAvailable, isFieldVisible, isIntersectionObserverSupported, isLocalStorageAvailable, isNextJs, isOAuthPartnerEnabled, isOAuthPartnerId, isPKCESupported, isPlatform, isServer, isTest, isValidTheme, isVite, isoToCompactString, lazyImport, listEntitiesSchema, maybeTranslate, normalizeToISOString, observeElement, overrideFeatures, overridePaymentModes, overridePermissions, overrideSubscriptionStatus, overrideSubscriptionTiers, overrideUserRoles, parseDate, parseDateToNoonUTC, queryClient, redirectToExternalUrl, redirectToExternalUrlWithErrorHandling, refreshTokenSchema, registerUniqueConstraintValidator, removeLocalStorageItem, resolveAppConfig, resolveAuthConfig, resolvePageMeta, revokeGitHubAccessSchema, safeLocalStorage, safeSessionStorage, setCookie, setEntityProvider, setLocalStorageItem, shouldShowEmailVerification, showNotification, supportsFeature, throttle, timestampToISOString, timingUtils, toDateOnly, toISOString, translateArray, translateArrayRange, translateArrayWithIndices, translateObjectArray, updateEntitySchema, updateMetadata, useAbortControllerStore, useAddOrUpdate, useAnalyticsConsent, useAppConfig, useAuthConfig, useBreakpoint, useBreathingTimer, useClickOutside, useConsent, useConsentReady, useConsentStore, useDebounce, useDelete, useEntityAddOrUpdate, useEntityDelete, useEntityGet, useEntityList, useEventListener, useFaviconConfig, useFeatureConsent, useFeaturesConfig, useFunctionalConsent, useGet, useHasConsented, useI18nReady, useIntersectionObserver, useIsClient, useLanguageSelector, useLayout, useList, useLoading, useLoadingActions, useLoadingState, useLoadingStore, useLocalStorage, useMarketingConsent, useNavigationStore, useNetwork, useNetworkConnectionType, useNetworkOnline, useNetworkStatus, useNetworkStore, useOverlayStore, useRateLimit, useSafeContext, useScriptLoader, useSeoConfig, useStorageManager, useTheme, useThemeReady, useThemeStore, useTranslation, useViewportVisibility, validateAuthPartners, validateAuthSchemas, validateAuthUser, validateBillingSchemas, validateCheckoutSessionMetadata, validateCodeChallenge, validateCodeVerifier, validateCreateCheckoutSessionRequest, validateCreateCheckoutSessionResponse, validateCustomClaims, validateDates, validateDocument, validateLicenseKey, validateOAuthPartners, validateStripeBackConfig, validateStripeFrontConfig, validateSubscriptionClaims, validateSubscriptionData, validateUniqueFields, validateUserSubscription, validateWebhookEvent, withErrorHandling, withGracefulDegradation };
21928
- export type { AccountLinkResult, AccountLinkingInfo, AdminCheckHookResult, AdminClaims, ApiResponse, AppConfig, AppConfigProviderProps, AppCookieCategories, AppMetadata, AppProvidersProps, AssetsPluginConfig, AttemptRecord, AuthAPI, AuthActions, AuthConfig, AuthContextValue, AuthCoreHookResult, AuthError, AuthEventData, AuthEventKey, AuthEventName, AuthMethod, AuthPartner, AuthPartnerButton, AuthPartnerHookResult, AuthPartnerId, AuthPartnerResult, AuthPartnerState, AuthProvider, AuthProviderProps, AuthRedirectHookResult, AuthRedirectOptions, AuthResult, AuthState, AuthStateStore, AuthStatus, AuthTokenHookResult, AuthUser, BaseActions, BaseCredentials, BaseDocument, BaseEntityFields, BasePartnerState, BaseState, BaseStoreActions, BaseStoreState, BaseUserProfile, BasicUserInfo, BillingAPI, BillingAdapter, BillingErrorCode, BillingEvent, BillingEventData, BillingEventKey, BillingEventName, BillingProvider, BillingProviderConfig, Breakpoint, BreakpointAPI, BreakpointUtils, BrowserEngine, BrowserInfo, BrowserType, BusinessEntity, CachedError, CanAPI, CheckGitHubAccessRequest, CheckoutMode, CheckoutOptions, CheckoutSessionMetadata, Claims, ClaimsCacheOptions, ClaimsCacheResult, CleanupFunction, ColumnDef, CommonSubscriptionFeatures, CommonTranslations, CompatibilityReport, ConfidenceLevel, ConsentAPI, ConsentActions, ConsentCategory, ConsentLevel, ConsentState, Context, CookieInfo, CookieOptions, CreateCheckoutSessionRequest, CreateCheckoutSessionResponse, CreateEntityData, CreateEntityRequest, CreateEntityResponse, CrudAPI, CustomClaims, CustomStoreConfig, DateFormatOptions, DateFormatPreset, DateValue, DeleteEntityRequest, DeleteEntityResponse, Density, DnDevLayoutProps, DnDevOverride, DndevFrameworkConfig, DoNotDevCookieCategories, DoNotDevStore, DoNotDevStoreConfig, DoNotDevStoreState, DoNotDevTransProps, DynamicFormRule, EffectiveConnectionType, EmailVerificationHookResult, EmailVerificationStatus, Entity, EntityField, EntityHookErrors, EntityMetadata, EntityProvider, EntitySchemas, EntityTemplateProps, EntityTranslations, EnvironmentMode, ErrorCode, ErrorSeverity, ErrorSource, EventListener, ExchangeTokenParams, ExchangeTokenRequest, FAQSectionProps, FaviconConfig, Feature, FeatureAccessHookResult, FeatureAvailability, FeatureConsentRequirement, FeatureHookResult, FeatureId, FeatureName, FeatureStatus, FeatureSupport, FeaturesConfig, FeaturesPluginConfig, FeaturesRequiringAnyConsent, FeaturesRequiringConsent, FeaturesWithoutConsent, FieldCondition, FieldConfig, FieldType, FieldTypeToValue, FirebaseCallOptions, FirebaseConfig, FirestoreTimestamp, FirestoreUniqueConstraintValidator, FooterConfig, FooterZoneConfig, FormConfig, FormStep, FrameworkFeature, FunctionCallConfig, FunctionCallContext, FunctionCallOptions, FunctionCallResult, FunctionClient, FunctionClientFactoryOptions, FunctionError, FunctionLoader, FunctionPlatform, FunctionResponse, FunctionSchema, FunctionSchemas, FunctionSystem, GetCustomClaimsResponse, GetEntityData, GetEntityRequest, GetEntityResponse, GetUserAuthStatusResponse, GitHubPermission, GitHubRepoConfig, GrantGitHubAccessRequest, HandleErrorOptions, HeaderZoneConfig, I18nConfig, I18nPluginConfig, I18nProviderProps, ID, INetworkManager, IStorageManager, IStorageStrategy, IntersectionObserverCallback, IntersectionObserverOptions, Invoice, InvoiceItem, LanguageInfo, LayoutAPI, LayoutConfig, LayoutInput, LayoutPreset, LegalCompanyInfo, LegalConfig, LegalContactInfo, LegalDirectorInfo, LegalHostingInfo, LegalJurisdictionInfo, LegalSectionsConfig, LegalWebsiteInfo, LicenseValidationResult, ListEntitiesRequest, ListEntitiesResponse, ListEntityData, ListOptions, ListResponse, LoadingActions, LoadingState, MergedBarConfig, MobileBehaviorConfig, ModalActions, ModalState, MutationResponse, NavigationRoute, NetworkCheckConfig, NetworkConnectionType, NetworkReconnectCallback, NetworkState$1 as NetworkState, NetworkStatus, NetworkStatusHookResult, OAuthAPI, OAuthApiRequestOptions, OAuthCallbackHookResult, OAuthConnection, OAuthConnectionInfo, OAuthConnectionRequest, OAuthConnectionStatus, OAuthCredentials, OAuthEventData, OAuthEventKey, OAuthEventName, OAuthPartner, OAuthPartnerButton, OAuthPartnerHookResult, OAuthPartnerId, OAuthPartnerResult, OAuthPartnerState, OAuthPurpose, OAuthRefreshRequest, OAuthRefreshResponse, OAuthResult, OAuthStoreActions, OAuthStoreState, OS, Observable, OrderByClause, PWAAssetType, PWADisplayMode, PWAPluginConfig, PageAuth, PageMeta, PaginationOptions, PartnerButton, PartnerConnectionState, PartnerIconId, PartnerId, PartnerResult, PartnerType, PayloadCacheEventData, PayloadDocument, PayloadDocumentEventData, PayloadEventKey, PayloadEventName, PayloadGlobalEventData, PayloadMediaEventData, PayloadPageRegenerationEventData, PayloadRequest, PayloadUserEventData, PaymentEventData, PaymentMethod, PaymentMethodType, PaymentMode, Permission, Platform, PlatformInfo, PresetConfig, PresetRegistry, ProcessPaymentSuccessRequest, ProcessPaymentSuccessResponse, ProductDeclaration, ProviderInstances, RateLimitConfig, RateLimitManager, RateLimitResult, RateLimitState, RateLimiter, ReadCallback, Reference, RefreshSubscriptionRequest, RefreshSubscriptionResponse, RemoveCustomClaimsResponse, ResolvedLayoutConfig, RevokeGitHubAccessRequest, RouteData, RouteManifest, RouteMeta, RouteSource, RoutesPluginConfig, SEOConfig, SchemaMetadata, SetCustomClaimsResponse, SidebarZoneConfig, SlotContent, StorageError, StorageErrorType, StorageOptions, StorageScope, StorageType, Store, StoreApi, 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, ThemeAPI, ThemeActions, ThemeInfo, ThemeMode, ThemeState, ThemesPluginConfig, TierAccessHookResult, Timestamp, TokenInfo, TokenManagerOptions, TokenResponse, TokenState, TokenStatus, TransTag, TranslationOptions, TranslationResource, UIFieldOptions, UniqueConstraintValidator, UnsubscribeFn, UpdateEntityData, UpdateEntityRequest, UpdateEntityResponse, UseClickOutsideOptions, UseClickOutsideReturn, UseDebounceOptions, UseEventListenerOptions, UseEventListenerReturn, UseFunctionsMutationOptions, UseFunctionsQueryOptions, UseIntersectionObserverOptions, UseIntersectionObserverReturn, UseLocalStorageOptions, UseLocalStorageReturn, UseScriptLoaderOptions, UseScriptLoaderReturn, UseTranslationOptionsEnhanced, UseViewportVisibilityOptions, UseViewportVisibilityReturn, UserContext, UserProfile, UserProviderData, UserRole, UserSubscription, ValidationRules, ValueTypeForField, ViewportDetectionOptions, ViewportDetectionResult, Visibility, WebhookEvent, WebhookEventData, WhereClause, WhereOperator, WithMetadata, dndevSchema };
22960
+ export { AUTH_COMPUTED_KEYS, AUTH_EVENTS, AUTH_PARTNERS, AUTH_PARTNER_STATE, AUTH_STORE_KEYS, AppConfigContext, AppConfigProvider, AuthUserSchema, BILLING_EVENTS, BILLING_STORE_KEYS, BREAKPOINT_RANGES, BREAKPOINT_THRESHOLDS, BaseStorageStrategy, COMMON_TIER_CONFIGS, CONFIDENCE_LEVELS, CONSENT_CATEGORY, CONSENT_LEVELS, CONTEXTS, COUNTRIES, CheckoutSessionMetadataSchema, ClaimsCache, CreateCheckoutSessionRequestSchema, CreateCheckoutSessionResponseSchema, CustomClaimsSchema, DEFAULT_ERROR_MESSAGES, DEFAULT_LAYOUT_PRESET, DEFAULT_STATUS_OPTIONS, DEFAULT_STATUS_VALUE, DEFAULT_SUBSCRIPTION, DEGRADED_AUTH_API, DEGRADED_BILLING_API, DEGRADED_CRUD_API, DEGRADED_OAUTH_API, DENSITY, DoNotDevError, ENVIRONMENTS, EntityHookError, EventEmitter, FAQSection, FEATURES, FEATURE_CONSENT_MATRIX, FEATURE_STATUS, FIREBASE_ERROR_MAP, FIRESTORE_ID_PATTERN, FRAMEWORK_FEATURES, Flag, GITHUB_PERMISSION_LEVELS, HIDDEN_STATUSES, index_d$1 as Hooks, HybridStorageStrategy, index_d as I18n, LANGUAGES, LAYOUT_PRESET, LanguageFAB, LanguageSelector, LanguageToggleGroup, LocalStorageStrategy, OAUTH_EVENTS, OAUTH_PARTNERS, OAUTH_STORE_KEYS, PARTNER_ICONS, PAYLOAD_EVENTS, PERMISSIONS, PLATFORMS, PWA_ASSET_TYPES, PWA_DISPLAY_MODES, ProductDeclarationSchema, ProductDeclarationsSchema, QueryProviders, ROUTE_SOURCES, ReactQueryBridge, STORAGE_SCOPES, STORAGE_TYPES, STRIPE_EVENTS, STRIPE_MODES, SUBSCRIPTION_DURATIONS, SUBSCRIPTION_STATUS, SUBSCRIPTION_TIERS, index_d$2 as Schemas, 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, ViewportHandler, WebhookEventSchema, applyTheme, areFeaturesAvailable, baseFields, buildRoutePath, canRedirectExternally, captureError, captureErrorToSentry, captureMessage, checkGitHubAccessSchema, checkLicense, cleanupSentry, clearFeatureCache, clearLocalStorage, clearPartnerCache, clearSchemaGenerators, commonErrorCodeMappings, compactToISOString, cooldown, createAsyncSingleton, createDefaultSubscriptionClaims, createDefaultUserProfile, createDoNotDevStore, createEntitySchema, createErrorHandler, createMetadata, createMethodProxy, createProvider, createProviders, createSchemas, createSingleton, createSingletonWithParams, createViewportHandler, debounce, debugPlatformDetection, decryptData, defineEntity, delay, deleteCookie, deleteEntitySchema, detectBrowser, detectErrorSource, detectFeatures, detectLicenseKey, detectPlatform, detectPlatformInfo, detectStorageError, disconnectOAuthSchema, encryptData, enhanceSchema, exchangeTokenSchema, exportEncryptionKey, extractRoutePath, formatCookieList, formatDate, formatRelativeTime, generateCodeChallenge, generateCodeVerifier, generateCompatibilityReport, generateEncryptionKey, generatePKCEPair, getActiveCookies, getAppShortName, getAssetsConfig, getAuthDomain, getAuthPartnerConfig, getAuthPartnerIdByFirebaseId, getAvailableFeatures, getAvailableThemeNames, getAvailableThemes, getBreakpointFromWidth, getBreakpointUtils, getBrowserRecommendations, getCollectionName, getConfigSection, getConfigSource, getConnectionsSchema, getCookie, getCookieExamples, getCookiesByCategory, getCountries, getCurrentOrigin, getCurrentTimestamp, getDndevConfig, getEnabledAuthPartners, getEnabledOAuthPartners, getEncryptionKey, getEntityProvider, getEntitySchema, getFeatureSummary, getFlagCodes, getI18nConfig, getI18nInstance, getLocalStorageItem, getNextEnvVar, getOAuthClientId, getOAuthPartnerConfig, getOAuthRedirectUri, getOAuthRedirectUrl, getPartnerCacheStatus, getPartnerConfig, getPlatformEnvVar, getProviderColor, getQueryClient, getRegisteredSchemaTypes, getRouteManifest, getRouteSource, getRoutes, getRoutesConfig, getSchemaType, getSmartDefaults, getStorageManager, getThemeInfo, getThemesConfig, getTokenManager, getValidAuthPartnerConfig, getValidAuthPartnerIds, getValidOAuthPartnerConfig, getValidOAuthPartnerIds, getVisibleFieldsFromEntity, getVisibleItems, getViteEnvVar, getWeekFromISOString, githubPermissionSchema, githubRepoConfigSchema, globalEmitter, grantGitHubAccessSchema, handleError, hasCustomSchemaGenerator, hasFlag, hasMetadata, hasOptionalCookies, hasRoleAccess, hasTierAccess, importEncryptionKey, initSentry, initializeConfig, initializePlatformDetection, isAuthPartnerEnabled, isAuthPartnerId, isBreakpoint, isClient, isCompactDateString, isConfigAvailable, isDev, isDoNotDevStore, isElementInViewport, isEmailVerificationRequired, isFeatureAvailable, isFieldVisible, isIntersectionObserverSupported, isLocalStorageAvailable, isNextJs, isOAuthPartnerEnabled, isOAuthPartnerId, isPKCESupported, isPlatform, isServer, isTest, isValidTheme, isVite, isoToCompactString, lazyImport, listEntitiesSchema, mapToDoNotDevError, maybeTranslate, normalizeToISOString, observeElement, overrideFeatures, overridePaymentModes, overridePermissions, overrideSubscriptionStatus, overrideSubscriptionTiers, overrideUserRoles, parseDate, parseDateToNoonUTC, queryClient, redirectToExternalUrl, redirectToExternalUrlWithErrorHandling, refreshTokenSchema, registerSchemaGenerator, registerUniqueConstraintValidator, removeLocalStorageItem, resolveAppConfig, resolveAuthConfig, resolvePageMeta, revokeGitHubAccessSchema, safeLocalStorage, safeSessionStorage, setCookie, setEntityProvider, setLocalStorageItem, shouldShowEmailVerification, showNotification, supportsFeature, throttle, timestampToISOString, timingUtils, toDateOnly, toISOString, translateArray, translateArrayRange, translateArrayWithIndices, translateObjectArray, updateEntitySchema, updateMetadata, useAbortControllerStore, useAddOrUpdate, useAnalyticsConsent, useAppConfig, useAuthConfig, useBreakpoint, useBreathingTimer, useClickOutside, useConsent, useConsentReady, useConsentStore, useDebounce, useDelete, useEntityAddOrUpdate, useEntityDelete, useEntityGet, useEntityList, useEventListener, useFaviconConfig, useFeatureConsent, useFeaturesConfig, useFunctionalConsent, useGet, useHasConsented, useI18nReady, useIntersectionObserver, useIsClient, useLanguageSelector, useLayout, useList, useLoading, useLoadingActions, useLoadingState, useLoadingStore, useLocalStorage, useMarketingConsent, useNavigationStore, useNetwork, useNetworkConnectionType, useNetworkOnline, useNetworkStatus, useNetworkStore, useOverlay, useOverlayStore, useRateLimit, useSafeContext, useScriptLoader, useSeoConfig, useStorageManager, useTheme, useThemeReady, useThemeStore, useTranslation, useViewportVisibility, validateAuthPartners, validateAuthSchemas, validateAuthUser, validateBillingSchemas, validateCheckoutSessionMetadata, validateCodeChallenge, validateCodeVerifier, validateCreateCheckoutSessionRequest, validateCreateCheckoutSessionResponse, validateCustomClaims, validateDates, validateDocument, validateLicenseKey, validateOAuthPartners, validateStripeBackConfig, validateStripeFrontConfig, validateSubscriptionClaims, validateSubscriptionData, validateUniqueFields, validateUserSubscription, validateWebhookEvent, withErrorHandling, withGracefulDegradation };
22961
+ export type { AccountLinkResult, AccountLinkingInfo, AdminCheckHookResult, AdminClaims, AggregateConfig, AggregateFilterOperator, AggregateOperation, AggregateRequest, AggregateResponse, ApiResponse, AppConfig, AppConfigProviderProps, AppCookieCategories, AppMetadata, AppProvidersProps, AssetsPluginConfig, AttemptRecord, AuthAPI, AuthActions, AuthConfig, AuthContextValue, AuthCoreHookResult, AuthError, AuthEventData, AuthEventKey, AuthEventName, AuthMethod, AuthPartner, AuthPartnerButton, AuthPartnerHookResult, AuthPartnerId, AuthPartnerResult, AuthPartnerState, AuthProvider, AuthProviderProps, AuthRedirectHookResult, AuthRedirectOperation, AuthRedirectOptions, AuthResult, AuthState, AuthStateStore, AuthStatus, AuthTokenHookResult, AuthUser, BaseActions, BaseCredentials, BaseDocument, BaseEntityFields, BasePartnerState, BaseState, BaseStoreActions, BaseStoreState, BaseUserProfile, BasicUserInfo, BillingAPI, BillingAdapter, BillingErrorCode, BillingEvent, BillingEventData, BillingEventKey, BillingEventName, BillingProvider, BillingProviderConfig, BillingRedirectOperation, Breakpoint, BreakpointAPI, BreakpointUtils, BrowserEngine, BrowserInfo, BrowserType, BusinessEntity, CachedError, CanAPI, CheckGitHubAccessRequest, CheckoutMode, CheckoutOptions, CheckoutSessionMetadata, Claims, ClaimsCacheOptions, ClaimsCacheResult, CleanupFunction, ColumnDef, CommonSubscriptionFeatures, CommonTranslations, CompatibilityReport, ConfidenceLevel, ConsentAPI, ConsentActions, ConsentCategory, ConsentLevel, ConsentState, Context, CookieInfo, CookieOptions, CountryData, CreateCheckoutSessionRequest, CreateCheckoutSessionResponse, CreateEntityData, CreateEntityRequest, CreateEntityResponse, CrudAPI, CustomClaims, CustomSchemaGenerator, CustomStoreConfig, DateFormatOptions, DateFormatPreset, DateValue, DeleteEntityRequest, DeleteEntityResponse, Density, DnDevLayoutProps, DnDevOverride, DndevFrameworkConfig, DoNotDevCookieCategories, DoNotDevStore, DoNotDevStoreConfig, DoNotDevStoreState, DoNotDevTransProps, DynamicFormRule, Editable, EffectiveConnectionType, EmailVerificationHookResult, EmailVerificationStatus, Entity, EntityField, EntityHookErrors, EntityMetadata, EntityProvider, EntitySchemas, EntityTemplateProps, EntityTranslations, EnvironmentMode, ErrorCode, ErrorHandlerConfig, ErrorHandlerFunction, ErrorSeverity, ErrorSource, EventListener, ExchangeTokenParams, ExchangeTokenRequest, FAQSectionProps, FaviconConfig, Feature, FeatureAccessHookResult, FeatureAvailability, FeatureConsentRequirement, FeatureHookResult, FeatureId, FeatureName, FeatureStatus, FeatureSupport, FeaturesConfig, FeaturesPluginConfig, FeaturesRequiringAnyConsent, FeaturesRequiringConsent, FeaturesWithoutConsent, FieldCondition, FieldConfig, FieldType, FieldTypeToValue, FirebaseCallOptions, FirebaseConfig, FirestoreTimestamp, FirestoreUniqueConstraintValidator, FooterConfig, FooterZoneConfig, FormConfig, FormStep, FrameworkFeature, FunctionCallConfig, FunctionCallContext, FunctionCallOptions, FunctionCallResult, FunctionClient, FunctionClientFactoryOptions, FunctionError, FunctionLoader, FunctionPlatform, FunctionResponse, FunctionSchema, FunctionSchemas, FunctionSystem, GetCustomClaimsResponse, GetEntityData, GetEntityRequest, GetEntityResponse, GetUserAuthStatusResponse, GitHubPermission, GitHubRepoConfig, GrantGitHubAccessRequest, GroupByDefinition, HandleErrorOptions, HeaderZoneConfig, I18nConfig, I18nPluginConfig, I18nProviderProps, ID, INetworkManager, IStorageManager, IStorageStrategy, IntersectionObserverCallback, IntersectionObserverOptions, Invoice, InvoiceItem, LanguageData, LanguageInfo, LayoutAPI, LayoutConfig, LayoutInput, LayoutPreset, LegalCompanyInfo, LegalConfig, LegalContactInfo, LegalDirectorInfo, LegalHostingInfo, LegalJurisdictionInfo, LegalSectionsConfig, LegalWebsiteInfo, LicenseValidationResult, ListEntitiesRequest, ListEntitiesResponse, ListEntityData, ListOptions, ListResponse, LoadingActions, LoadingState, MergedBarConfig, MetricDefinition, MobileBehaviorConfig, ModalActions, ModalState, MutationResponse, NavigationRoute, NetworkCheckConfig, NetworkConnectionType, NetworkReconnectCallback, NetworkState$1 as NetworkState, NetworkStatus, NetworkStatusHookResult, OAuthAPI, OAuthApiRequestOptions, OAuthCallbackHookResult, OAuthConnection, OAuthConnectionInfo, OAuthConnectionRequest, OAuthConnectionStatus, OAuthCredentials, OAuthEventData, OAuthEventKey, OAuthEventName, OAuthPartner, OAuthPartnerButton, OAuthPartnerHookResult, OAuthPartnerId, OAuthPartnerResult, OAuthPartnerState, OAuthPurpose, OAuthRedirectOperation, OAuthRefreshRequest, OAuthRefreshResponse, OAuthResult, OAuthStoreActions, OAuthStoreState, OS, Observable, OrderByClause, OverlayAPI, PWAAssetType, PWADisplayMode, PWAPluginConfig, PageAuth, PageMeta, PaginationOptions, PartnerButton, 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, RateLimitConfig, RateLimitManager, RateLimitResult, RateLimitState, RateLimiter, ReadCallback, RedirectOperation, RedirectOverlayActions, RedirectOverlayConfig, RedirectOverlayPhase, RedirectOverlayState, Reference, RefreshSubscriptionRequest, RefreshSubscriptionResponse, RemoveCustomClaimsResponse, ResolvedLayoutConfig, RevokeGitHubAccessRequest, RouteData, RouteManifest, RouteMeta, RouteSource, RoutesPluginConfig, SEOConfig, SchemaMetadata, SetCustomClaimsResponse, SidebarZoneConfig, SlotContent, StorageError, StorageErrorType, StorageOptions, StorageScope, StorageType, Store, StoreApi, 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, ThemeAPI, ThemeActions, ThemeInfo, ThemeMode, ThemeState, ThemesPluginConfig, TierAccessHookResult, Timestamp, TokenInfo, TokenManagerOptions, TokenResponse, TokenState, TokenStatus, TransTag, TranslationOptions, TranslationResource, TypedBaseFields, UIFieldOptions, UniqueConstraintValidator, UnsubscribeFn, UpdateEntityData, UpdateEntityRequest, UpdateEntityResponse, UseClickOutsideOptions, UseClickOutsideReturn, UseDebounceOptions, UseEventListenerOptions, UseEventListenerReturn, UseFunctionsMutationOptions, UseFunctionsQueryOptions, UseIntersectionObserverOptions, UseIntersectionObserverReturn, UseLocalStorageOptions, UseLocalStorageReturn, UseScriptLoaderOptions, UseScriptLoaderReturn, UseTranslationOptionsEnhanced, UseViewportVisibilityOptions, UseViewportVisibilityReturn, UserContext, UserProfile, UserProviderData, UserRole, UserSubscription, ValidationRules, ValueTypeForField, ViewportDetectionOptions, ViewportDetectionResult, Visibility, WebhookEvent, WebhookEventData, WhereClause, WhereOperator, WithMetadata, dndevSchema };