@hexclave/shared 1.0.14 → 1.0.16

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 (122) hide show
  1. package/dist/apps/apps-config.d.ts +6 -0
  2. package/dist/apps/apps-config.js +6 -0
  3. package/dist/apps/apps-config.js.map +1 -1
  4. package/dist/config/schema.d.ts +107 -107
  5. package/dist/config-authoring.d.ts.map +1 -1
  6. package/dist/config-authoring.js.map +1 -1
  7. package/dist/config-authoring.test.js +1 -1
  8. package/dist/config-authoring.test.js.map +1 -1
  9. package/dist/config-rendering.d.ts +2 -2
  10. package/dist/config-rendering.js +16 -0
  11. package/dist/config-rendering.js.map +1 -1
  12. package/dist/esm/apps/apps-config.d.ts +6 -0
  13. package/dist/esm/apps/apps-config.js +6 -0
  14. package/dist/esm/apps/apps-config.js.map +1 -1
  15. package/dist/esm/config/schema.d.ts +107 -107
  16. package/dist/esm/config-authoring.d.ts.map +1 -1
  17. package/dist/esm/config-authoring.js.map +1 -1
  18. package/dist/esm/config-authoring.test.js +1 -1
  19. package/dist/esm/config-authoring.test.js.map +1 -1
  20. package/dist/esm/config-rendering.d.ts +2 -2
  21. package/dist/esm/config-rendering.js +16 -2
  22. package/dist/esm/config-rendering.js.map +1 -1
  23. package/dist/esm/hexclave-config-file.d.ts +24 -1
  24. package/dist/esm/hexclave-config-file.d.ts.map +1 -1
  25. package/dist/esm/hexclave-config-file.js +69 -2
  26. package/dist/esm/hexclave-config-file.js.map +1 -1
  27. package/dist/esm/interface/admin-interface.d.ts +19 -1
  28. package/dist/esm/interface/admin-interface.d.ts.map +1 -1
  29. package/dist/esm/interface/admin-interface.js +14 -0
  30. package/dist/esm/interface/admin-interface.js.map +1 -1
  31. package/dist/esm/interface/admin-metrics.d.ts +115 -21
  32. package/dist/esm/interface/admin-metrics.d.ts.map +1 -1
  33. package/dist/esm/interface/admin-metrics.js +61 -1
  34. package/dist/esm/interface/admin-metrics.js.map +1 -1
  35. package/dist/esm/interface/conversations.d.ts +42 -42
  36. package/dist/esm/interface/crud/current-user.d.ts +15 -15
  37. package/dist/esm/interface/crud/email-outbox.d.ts +220 -220
  38. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  39. package/dist/esm/interface/crud/products.d.ts +17 -17
  40. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  41. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  42. package/dist/esm/interface/crud/projects.d.ts +59 -59
  43. package/dist/esm/interface/crud/team-member-profiles.d.ts +26 -26
  44. package/dist/esm/interface/crud/transactions.d.ts +15 -15
  45. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  46. package/dist/esm/interface/crud/users.d.ts +18 -18
  47. package/dist/esm/interface/webhooks.d.ts +4 -4
  48. package/dist/esm/known-errors.d.ts +5 -5
  49. package/dist/esm/schema-fields.d.ts +8 -8
  50. package/dist/esm/sessions.d.ts +7 -7
  51. package/dist/esm/utils/analytics-clickmap-overlay.d.ts +18 -0
  52. package/dist/esm/utils/analytics-clickmap-overlay.d.ts.map +1 -0
  53. package/dist/esm/utils/analytics-clickmap-overlay.js +19 -0
  54. package/dist/esm/utils/analytics-clickmap-overlay.js.map +1 -0
  55. package/dist/esm/utils/dev-tool.d.ts +31 -0
  56. package/dist/esm/utils/dev-tool.d.ts.map +1 -0
  57. package/dist/esm/utils/dev-tool.js +32 -0
  58. package/dist/esm/utils/dev-tool.js.map +1 -0
  59. package/dist/esm/utils/dom.d.ts +7 -1
  60. package/dist/esm/utils/dom.d.ts.map +1 -1
  61. package/dist/esm/utils/dom.js +20 -1
  62. package/dist/esm/utils/dom.js.map +1 -1
  63. package/dist/esm/utils/elements-chain.d.ts +38 -0
  64. package/dist/esm/utils/elements-chain.d.ts.map +1 -0
  65. package/dist/esm/utils/elements-chain.js +297 -0
  66. package/dist/esm/utils/elements-chain.js.map +1 -0
  67. package/dist/hexclave-config-file.d.ts +24 -1
  68. package/dist/hexclave-config-file.d.ts.map +1 -1
  69. package/dist/hexclave-config-file.js +71 -1
  70. package/dist/hexclave-config-file.js.map +1 -1
  71. package/dist/interface/admin-interface.d.ts +19 -1
  72. package/dist/interface/admin-interface.d.ts.map +1 -1
  73. package/dist/interface/admin-interface.js +14 -0
  74. package/dist/interface/admin-interface.js.map +1 -1
  75. package/dist/interface/admin-metrics.d.ts +115 -21
  76. package/dist/interface/admin-metrics.d.ts.map +1 -1
  77. package/dist/interface/admin-metrics.js +65 -0
  78. package/dist/interface/admin-metrics.js.map +1 -1
  79. package/dist/interface/conversations.d.ts +42 -42
  80. package/dist/interface/crud/current-user.d.ts +15 -15
  81. package/dist/interface/crud/email-outbox.d.ts +220 -220
  82. package/dist/interface/crud/invoices.d.ts +2 -2
  83. package/dist/interface/crud/products.d.ts +17 -17
  84. package/dist/interface/crud/products.d.ts.map +1 -1
  85. package/dist/interface/crud/project-api-keys.d.ts +4 -4
  86. package/dist/interface/crud/projects.d.ts +59 -59
  87. package/dist/interface/crud/team-member-profiles.d.ts +26 -26
  88. package/dist/interface/crud/transactions.d.ts +15 -15
  89. package/dist/interface/crud/transactions.d.ts.map +1 -1
  90. package/dist/interface/crud/users.d.ts +18 -18
  91. package/dist/interface/webhooks.d.ts +4 -4
  92. package/dist/known-errors.d.ts +5 -5
  93. package/dist/schema-fields.d.ts +8 -8
  94. package/dist/sessions.d.ts +7 -7
  95. package/dist/utils/analytics-clickmap-overlay.d.ts +18 -0
  96. package/dist/utils/analytics-clickmap-overlay.d.ts.map +1 -0
  97. package/dist/utils/analytics-clickmap-overlay.js +23 -0
  98. package/dist/utils/analytics-clickmap-overlay.js.map +1 -0
  99. package/dist/utils/dev-tool.d.ts +31 -0
  100. package/dist/utils/dev-tool.d.ts.map +1 -0
  101. package/dist/utils/dev-tool.js +37 -0
  102. package/dist/utils/dev-tool.js.map +1 -0
  103. package/dist/utils/dom.d.ts +7 -1
  104. package/dist/utils/dom.d.ts.map +1 -1
  105. package/dist/utils/dom.js +20 -0
  106. package/dist/utils/dom.js.map +1 -1
  107. package/dist/utils/elements-chain.d.ts +38 -0
  108. package/dist/utils/elements-chain.d.ts.map +1 -0
  109. package/dist/utils/elements-chain.js +304 -0
  110. package/dist/utils/elements-chain.js.map +1 -0
  111. package/package.json +1 -1
  112. package/src/apps/apps-config.ts +6 -0
  113. package/src/config-authoring.test.ts +1 -1
  114. package/src/config-authoring.ts +6 -6
  115. package/src/config-rendering.ts +24 -2
  116. package/src/hexclave-config-file.ts +90 -1
  117. package/src/interface/admin-interface.ts +43 -1
  118. package/src/interface/admin-metrics.ts +92 -4
  119. package/src/utils/analytics-clickmap-overlay.tsx +15 -0
  120. package/src/utils/dev-tool.tsx +30 -0
  121. package/src/utils/dom.tsx +42 -0
  122. package/src/utils/elements-chain.tsx +349 -0
@@ -3,7 +3,7 @@ import * as yup$1 from "yup";
3
3
  //#region src/interface/crud/invoices.d.ts
4
4
  declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
5
5
  created_at_millis: number;
6
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
6
+ status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
7
7
  amount_total: number;
8
8
  hosted_invoice_url: string | null;
9
9
  }, yup$1.AnyObject, {
@@ -15,7 +15,7 @@ declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
15
15
  type CustomerInvoiceRead = yup$1.InferType<typeof customerInvoiceReadSchema>;
16
16
  declare const customerInvoicesListResponseSchema: yup$1.ObjectSchema<{
17
17
  items: {
18
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
18
+ status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
19
19
  created_at_millis: number;
20
20
  amount_total: number;
21
21
  hosted_invoice_url: string | null;
@@ -6,12 +6,13 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
6
6
  id: string | null;
7
7
  quantity: number;
8
8
  product: {
9
- free_trial?: ______utils_dates0.DayInterval | undefined;
10
9
  client_metadata?: {} | null | undefined;
11
10
  client_read_only_metadata?: {} | null | undefined;
12
11
  server_metadata?: {} | null | undefined;
12
+ free_trial?: ______utils_dates0.DayInterval | undefined;
13
+ display_name: string;
13
14
  server_only: boolean;
14
- customer_type: "team" | "user" | "custom";
15
+ customer_type: "user" | "team" | "custom";
15
16
  stackable: boolean;
16
17
  prices: Record<string, {
17
18
  USD?: string | undefined;
@@ -24,10 +25,9 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
24
25
  interval?: ______utils_dates0.DayInterval | undefined;
25
26
  free_trial?: ______utils_dates0.DayInterval | undefined;
26
27
  }>;
27
- display_name: string;
28
28
  included_items: Record<string, {
29
- repeat?: "never" | ______utils_dates0.DayInterval | undefined;
30
29
  quantity?: number | undefined;
30
+ repeat?: "never" | ______utils_dates0.DayInterval | undefined;
31
31
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
32
32
  }>;
33
33
  };
@@ -41,12 +41,13 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
41
41
  switch_options: {
42
42
  product_id: string;
43
43
  product: {
44
- free_trial?: ______utils_dates0.DayInterval | undefined;
45
44
  client_metadata?: {} | null | undefined;
46
45
  client_read_only_metadata?: {} | null | undefined;
47
46
  server_metadata?: {} | null | undefined;
47
+ free_trial?: ______utils_dates0.DayInterval | undefined;
48
+ display_name: string;
48
49
  server_only: boolean;
49
- customer_type: "team" | "user" | "custom";
50
+ customer_type: "user" | "team" | "custom";
50
51
  stackable: boolean;
51
52
  prices: Record<string, {
52
53
  USD?: string | undefined;
@@ -59,10 +60,9 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
59
60
  interval?: ______utils_dates0.DayInterval | undefined;
60
61
  free_trial?: ______utils_dates0.DayInterval | undefined;
61
62
  }>;
62
- display_name: string;
63
63
  included_items: Record<string, {
64
- repeat?: "never" | ______utils_dates0.DayInterval | undefined;
65
64
  quantity?: number | undefined;
65
+ repeat?: "never" | ______utils_dates0.DayInterval | undefined;
66
66
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
67
67
  }>;
68
68
  };
@@ -104,12 +104,13 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
104
104
  switch_options?: {
105
105
  product_id: string;
106
106
  product: {
107
- free_trial?: ______utils_dates0.DayInterval | undefined;
108
107
  client_metadata?: {} | null | undefined;
109
108
  client_read_only_metadata?: {} | null | undefined;
110
109
  server_metadata?: {} | null | undefined;
110
+ free_trial?: ______utils_dates0.DayInterval | undefined;
111
+ display_name: string;
111
112
  server_only: boolean;
112
- customer_type: "team" | "user" | "custom";
113
+ customer_type: "user" | "team" | "custom";
113
114
  stackable: boolean;
114
115
  prices: Record<string, {
115
116
  USD?: string | undefined;
@@ -122,22 +123,23 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
122
123
  interval?: ______utils_dates0.DayInterval | undefined;
123
124
  free_trial?: ______utils_dates0.DayInterval | undefined;
124
125
  }>;
125
- display_name: string;
126
126
  included_items: Record<string, {
127
- repeat?: "never" | ______utils_dates0.DayInterval | undefined;
128
127
  quantity?: number | undefined;
128
+ repeat?: "never" | ______utils_dates0.DayInterval | undefined;
129
129
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
130
130
  }>;
131
131
  };
132
132
  }[] | undefined;
133
+ id: string | null;
133
134
  quantity: number;
134
135
  product: {
135
- free_trial?: ______utils_dates0.DayInterval | undefined;
136
136
  client_metadata?: {} | null | undefined;
137
137
  client_read_only_metadata?: {} | null | undefined;
138
138
  server_metadata?: {} | null | undefined;
139
+ free_trial?: ______utils_dates0.DayInterval | undefined;
140
+ display_name: string;
139
141
  server_only: boolean;
140
- customer_type: "team" | "user" | "custom";
142
+ customer_type: "user" | "team" | "custom";
141
143
  stackable: boolean;
142
144
  prices: Record<string, {
143
145
  USD?: string | undefined;
@@ -150,14 +152,12 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
150
152
  interval?: ______utils_dates0.DayInterval | undefined;
151
153
  free_trial?: ______utils_dates0.DayInterval | undefined;
152
154
  }>;
153
- display_name: string;
154
155
  included_items: Record<string, {
155
- repeat?: "never" | ______utils_dates0.DayInterval | undefined;
156
156
  quantity?: number | undefined;
157
+ repeat?: "never" | ______utils_dates0.DayInterval | undefined;
157
158
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
158
159
  }>;
159
160
  };
160
- id: string | null;
161
161
  }[];
162
162
  is_paginated: boolean;
163
163
  pagination: {
@@ -1 +1 @@
1
- {"version":3,"file":"products.d.ts","names":[],"sources":["../../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;iBAc1B,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;qBAMnC,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
1
+ {"version":3,"file":"products.d.ts","names":[],"sources":["../../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;;;;iBAc1B,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;;;;qBAMnC,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
@@ -79,12 +79,12 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
79
79
  is_public: undefined;
80
80
  user_id: undefined;
81
81
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
82
- description: string;
83
- user_id: string;
84
82
  type: "user";
85
83
  id: string;
86
84
  created_at_millis: number;
87
85
  expires_at_millis: number | undefined;
86
+ user_id: string;
87
+ description: string;
88
88
  manually_revoked_at_millis: number | undefined;
89
89
  is_public: boolean;
90
90
  } & {
@@ -177,12 +177,12 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
177
177
  is_public: undefined;
178
178
  team_id: undefined;
179
179
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
180
- description: string;
181
180
  type: "team";
182
- team_id: string;
183
181
  id: string;
184
182
  created_at_millis: number;
185
183
  expires_at_millis: number | undefined;
184
+ team_id: string;
185
+ description: string;
186
186
  manually_revoked_at_millis: number | undefined;
187
187
  is_public: boolean;
188
188
  } & {
@@ -4,7 +4,7 @@ import { CrudTypeOf } from "../../crud";
4
4
 
5
5
  //#region src/interface/crud/projects.d.ts
6
6
  declare const emailConfigSchema: yup$1.ObjectSchema<{
7
- type: "standard" | "shared";
7
+ type: "shared" | "standard";
8
8
  host: string | undefined;
9
9
  port: number | undefined;
10
10
  username: string | undefined;
@@ -21,7 +21,7 @@ declare const emailConfigSchema: yup$1.ObjectSchema<{
21
21
  sender_email: undefined;
22
22
  }, "">;
23
23
  declare const emailConfigWithoutPasswordSchema: yup$1.ObjectSchema<{
24
- type: "standard" | "shared";
24
+ type: "shared" | "standard";
25
25
  host: string | undefined;
26
26
  port: number | undefined;
27
27
  username: string | undefined;
@@ -52,22 +52,18 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
52
52
  onboarding_state: {
53
53
  selected_config_choice: "create-new" | "link-existing";
54
54
  selected_apps: string[];
55
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
55
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
56
56
  selected_email_theme_id: string | null;
57
57
  selected_payments_country: "US" | "OTHER";
58
58
  } | null | undefined;
59
59
  config: {
60
- domains: {
61
- domain: string;
62
- handler_path: string;
63
- }[];
64
60
  oauth_providers: {
65
61
  client_id?: string | undefined;
66
62
  client_secret?: string | undefined;
67
63
  facebook_config_id?: string | undefined;
68
64
  microsoft_tenant_id?: string | undefined;
69
65
  apple_bundle_ids?: string[] | undefined;
70
- type: "standard" | "shared";
66
+ type: "shared" | "standard";
71
67
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
72
68
  provider_config_id: string;
73
69
  }[];
@@ -83,6 +79,10 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
83
79
  enabled_oauth_providers: {
84
80
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
85
81
  }[];
82
+ domains: {
83
+ domain: string;
84
+ handler_path: string;
85
+ }[];
86
86
  email_config: {
87
87
  password?: string | undefined;
88
88
  host?: string | undefined;
@@ -90,7 +90,7 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
90
90
  username?: string | undefined;
91
91
  sender_name?: string | undefined;
92
92
  sender_email?: string | undefined;
93
- type: "standard" | "shared";
93
+ type: "shared" | "standard";
94
94
  };
95
95
  email_theme: string;
96
96
  create_team_on_sign_up: boolean;
@@ -159,10 +159,6 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
159
159
  id: string;
160
160
  display_name: string;
161
161
  config: {
162
- domains: {
163
- domain: string;
164
- handler_path: string;
165
- }[];
166
162
  allow_localhost: boolean;
167
163
  sign_up_enabled: boolean;
168
164
  credential_enabled: boolean;
@@ -175,6 +171,10 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
175
171
  enabled_oauth_providers: {
176
172
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
177
173
  }[];
174
+ domains: {
175
+ domain: string;
176
+ handler_path: string;
177
+ }[];
178
178
  };
179
179
  }, yup$1.AnyObject, {
180
180
  id: undefined;
@@ -205,22 +205,18 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
205
205
  onboarding_state: {
206
206
  selected_config_choice: "create-new" | "link-existing";
207
207
  selected_apps: string[];
208
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
208
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
209
209
  selected_email_theme_id: string | null;
210
210
  selected_payments_country: "US" | "OTHER";
211
211
  } | null | undefined;
212
212
  config: {
213
- domains?: {
214
- domain: string;
215
- handler_path: string;
216
- }[] | undefined;
217
213
  oauth_providers?: {
218
214
  client_id?: string | undefined;
219
215
  client_secret?: string | undefined;
220
216
  facebook_config_id?: string | undefined;
221
217
  microsoft_tenant_id?: string | undefined;
222
218
  apple_bundle_ids?: string[] | undefined;
223
- type: "standard" | "shared";
219
+ type: "shared" | "standard";
224
220
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
225
221
  }[] | undefined;
226
222
  allow_localhost?: boolean | undefined;
@@ -232,6 +228,10 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
232
228
  client_user_deletion_enabled?: boolean | undefined;
233
229
  allow_user_api_keys?: boolean | undefined;
234
230
  allow_team_api_keys?: boolean | undefined;
231
+ domains?: {
232
+ domain: string;
233
+ handler_path: string;
234
+ }[] | undefined;
235
235
  email_config?: {
236
236
  password?: string | undefined;
237
237
  host?: string | undefined;
@@ -239,7 +239,7 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
239
239
  username?: string | undefined;
240
240
  sender_name?: string | undefined;
241
241
  sender_email?: string | undefined;
242
- type: "standard" | "shared";
242
+ type: "shared" | "standard";
243
243
  } | undefined;
244
244
  email_theme?: string | undefined;
245
245
  create_team_on_sign_up?: boolean | undefined;
@@ -285,22 +285,18 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
285
285
  onboarding_state: {
286
286
  selected_config_choice: "create-new" | "link-existing";
287
287
  selected_apps: string[];
288
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
288
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
289
289
  selected_email_theme_id: string | null;
290
290
  selected_payments_country: "US" | "OTHER";
291
291
  } | null | undefined;
292
292
  config: {
293
- domains?: {
294
- domain: string;
295
- handler_path: string;
296
- }[] | undefined;
297
293
  oauth_providers?: {
298
294
  client_id?: string | undefined;
299
295
  client_secret?: string | undefined;
300
296
  facebook_config_id?: string | undefined;
301
297
  microsoft_tenant_id?: string | undefined;
302
298
  apple_bundle_ids?: string[] | undefined;
303
- type: "standard" | "shared";
299
+ type: "shared" | "standard";
304
300
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
305
301
  }[] | undefined;
306
302
  allow_localhost?: boolean | undefined;
@@ -312,6 +308,10 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
312
308
  client_user_deletion_enabled?: boolean | undefined;
313
309
  allow_user_api_keys?: boolean | undefined;
314
310
  allow_team_api_keys?: boolean | undefined;
311
+ domains?: {
312
+ domain: string;
313
+ handler_path: string;
314
+ }[] | undefined;
315
315
  email_config?: {
316
316
  password?: string | undefined;
317
317
  host?: string | undefined;
@@ -319,7 +319,7 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
319
319
  username?: string | undefined;
320
320
  sender_name?: string | undefined;
321
321
  sender_email?: string | undefined;
322
- type: "standard" | "shared";
322
+ type: "shared" | "standard";
323
323
  } | undefined;
324
324
  email_theme?: string | undefined;
325
325
  create_team_on_sign_up?: boolean | undefined;
@@ -365,10 +365,6 @@ declare const clientProjectsCrud: ______crud0.CrudSchemaFromOptions<{
365
365
  id: string;
366
366
  display_name: string;
367
367
  config: {
368
- domains: {
369
- domain: string;
370
- handler_path: string;
371
- }[];
372
368
  allow_localhost: boolean;
373
369
  sign_up_enabled: boolean;
374
370
  credential_enabled: boolean;
@@ -381,6 +377,10 @@ declare const clientProjectsCrud: ______crud0.CrudSchemaFromOptions<{
381
377
  enabled_oauth_providers: {
382
378
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
383
379
  }[];
380
+ domains: {
381
+ domain: string;
382
+ handler_path: string;
383
+ }[];
384
384
  };
385
385
  }, yup$1.AnyObject, {
386
386
  id: undefined;
@@ -425,22 +425,18 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
425
425
  onboarding_state: {
426
426
  selected_config_choice: "create-new" | "link-existing";
427
427
  selected_apps: string[];
428
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
428
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
429
429
  selected_email_theme_id: string | null;
430
430
  selected_payments_country: "US" | "OTHER";
431
431
  } | null | undefined;
432
432
  config: {
433
- domains: {
434
- domain: string;
435
- handler_path: string;
436
- }[];
437
433
  oauth_providers: {
438
434
  client_id?: string | undefined;
439
435
  client_secret?: string | undefined;
440
436
  facebook_config_id?: string | undefined;
441
437
  microsoft_tenant_id?: string | undefined;
442
438
  apple_bundle_ids?: string[] | undefined;
443
- type: "standard" | "shared";
439
+ type: "shared" | "standard";
444
440
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
445
441
  provider_config_id: string;
446
442
  }[];
@@ -456,6 +452,10 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
456
452
  enabled_oauth_providers: {
457
453
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
458
454
  }[];
455
+ domains: {
456
+ domain: string;
457
+ handler_path: string;
458
+ }[];
459
459
  email_config: {
460
460
  password?: string | undefined;
461
461
  host?: string | undefined;
@@ -463,7 +463,7 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
463
463
  username?: string | undefined;
464
464
  sender_name?: string | undefined;
465
465
  sender_email?: string | undefined;
466
- type: "standard" | "shared";
466
+ type: "shared" | "standard";
467
467
  };
468
468
  email_theme: string;
469
469
  create_team_on_sign_up: boolean;
@@ -540,22 +540,18 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
540
540
  onboarding_state: {
541
541
  selected_config_choice: "create-new" | "link-existing";
542
542
  selected_apps: string[];
543
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
543
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
544
544
  selected_email_theme_id: string | null;
545
545
  selected_payments_country: "US" | "OTHER";
546
546
  } | null | undefined;
547
547
  config: {
548
- domains?: {
549
- domain: string;
550
- handler_path: string;
551
- }[] | undefined;
552
548
  oauth_providers?: {
553
549
  client_id?: string | undefined;
554
550
  client_secret?: string | undefined;
555
551
  facebook_config_id?: string | undefined;
556
552
  microsoft_tenant_id?: string | undefined;
557
553
  apple_bundle_ids?: string[] | undefined;
558
- type: "standard" | "shared";
554
+ type: "shared" | "standard";
559
555
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
560
556
  }[] | undefined;
561
557
  allow_localhost?: boolean | undefined;
@@ -567,6 +563,10 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
567
563
  client_user_deletion_enabled?: boolean | undefined;
568
564
  allow_user_api_keys?: boolean | undefined;
569
565
  allow_team_api_keys?: boolean | undefined;
566
+ domains?: {
567
+ domain: string;
568
+ handler_path: string;
569
+ }[] | undefined;
570
570
  email_config?: {
571
571
  password?: string | undefined;
572
572
  host?: string | undefined;
@@ -574,7 +574,7 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
574
574
  username?: string | undefined;
575
575
  sender_name?: string | undefined;
576
576
  sender_email?: string | undefined;
577
- type: "standard" | "shared";
577
+ type: "shared" | "standard";
578
578
  } | undefined;
579
579
  email_theme?: string | undefined;
580
580
  create_team_on_sign_up?: boolean | undefined;
@@ -648,22 +648,18 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
648
648
  onboarding_state: {
649
649
  selected_config_choice: "create-new" | "link-existing";
650
650
  selected_apps: string[];
651
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
651
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
652
652
  selected_email_theme_id: string | null;
653
653
  selected_payments_country: "US" | "OTHER";
654
654
  } | null | undefined;
655
655
  config: {
656
- domains: {
657
- domain: string;
658
- handler_path: string;
659
- }[];
660
656
  oauth_providers: {
661
657
  client_id?: string | undefined;
662
658
  client_secret?: string | undefined;
663
659
  facebook_config_id?: string | undefined;
664
660
  microsoft_tenant_id?: string | undefined;
665
661
  apple_bundle_ids?: string[] | undefined;
666
- type: "standard" | "shared";
662
+ type: "shared" | "standard";
667
663
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
668
664
  provider_config_id: string;
669
665
  }[];
@@ -679,6 +675,10 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
679
675
  enabled_oauth_providers: {
680
676
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
681
677
  }[];
678
+ domains: {
679
+ domain: string;
680
+ handler_path: string;
681
+ }[];
682
682
  email_config: {
683
683
  password?: string | undefined;
684
684
  host?: string | undefined;
@@ -686,7 +686,7 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
686
686
  username?: string | undefined;
687
687
  sender_name?: string | undefined;
688
688
  sender_email?: string | undefined;
689
- type: "standard" | "shared";
689
+ type: "shared" | "standard";
690
690
  };
691
691
  email_theme: string;
692
692
  create_team_on_sign_up: boolean;
@@ -763,22 +763,18 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
763
763
  onboarding_state: {
764
764
  selected_config_choice: "create-new" | "link-existing";
765
765
  selected_apps: string[];
766
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
766
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
767
767
  selected_email_theme_id: string | null;
768
768
  selected_payments_country: "US" | "OTHER";
769
769
  } | null | undefined;
770
770
  config: {
771
- domains?: {
772
- domain: string;
773
- handler_path: string;
774
- }[] | undefined;
775
771
  oauth_providers?: {
776
772
  client_id?: string | undefined;
777
773
  client_secret?: string | undefined;
778
774
  facebook_config_id?: string | undefined;
779
775
  microsoft_tenant_id?: string | undefined;
780
776
  apple_bundle_ids?: string[] | undefined;
781
- type: "standard" | "shared";
777
+ type: "shared" | "standard";
782
778
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
783
779
  }[] | undefined;
784
780
  allow_localhost?: boolean | undefined;
@@ -790,6 +786,10 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
790
786
  client_user_deletion_enabled?: boolean | undefined;
791
787
  allow_user_api_keys?: boolean | undefined;
792
788
  allow_team_api_keys?: boolean | undefined;
789
+ domains?: {
790
+ domain: string;
791
+ handler_path: string;
792
+ }[] | undefined;
793
793
  email_config?: {
794
794
  password?: string | undefined;
795
795
  host?: string | undefined;
@@ -797,7 +797,7 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
797
797
  username?: string | undefined;
798
798
  sender_name?: string | undefined;
799
799
  sender_email?: string | undefined;
800
- type: "standard" | "shared";
800
+ type: "shared" | "standard";
801
801
  } | undefined;
802
802
  email_theme?: string | undefined;
803
803
  create_team_on_sign_up?: boolean | undefined;
@@ -21,40 +21,40 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
21
21
  profile_image_url: string | null;
22
22
  } & {
23
23
  user: {
24
+ id: string;
25
+ country_code: string | null;
26
+ display_name: string | null;
27
+ primary_email: string | null;
28
+ profile_image_url: string | null;
29
+ signed_up_at_millis: number;
30
+ last_active_at_millis: number;
31
+ selected_team_id: string | null;
32
+ is_anonymous: boolean;
33
+ is_restricted: boolean;
24
34
  restricted_reason: {
25
35
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
26
36
  } | null;
27
- primary_email: string | null;
28
- display_name: string | null;
37
+ requires_totp_mfa: boolean;
29
38
  client_metadata: {} | null;
30
39
  client_read_only_metadata: {} | null;
31
40
  server_metadata: {} | null;
32
- id: string;
33
- selected_team_id: string | null;
34
- is_anonymous: boolean;
35
- is_restricted: boolean;
36
- requires_totp_mfa: boolean;
37
41
  primary_email_verified: boolean;
38
42
  primary_email_auth_enabled: boolean;
39
- profile_image_url: string | null;
40
43
  selected_team: {
41
44
  client_metadata?: {} | null | undefined;
42
45
  client_read_only_metadata?: {} | null | undefined;
43
46
  server_metadata?: {} | null | undefined;
44
- display_name: string;
45
47
  id: string;
46
- profile_image_url: string | null;
47
48
  created_at_millis: number;
49
+ display_name: string;
50
+ profile_image_url: string | null;
48
51
  } | null;
49
- signed_up_at_millis: number;
50
52
  has_password: boolean;
51
53
  otp_auth_enabled: boolean;
52
54
  passkey_auth_enabled: boolean;
53
- last_active_at_millis: number;
54
55
  restricted_by_admin: boolean;
55
56
  restricted_by_admin_reason: string | null;
56
57
  restricted_by_admin_private_details: string | null;
57
- country_code: string | null;
58
58
  risk_scores: {
59
59
  sign_up: {
60
60
  bot: number;
@@ -144,40 +144,40 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
144
144
  profile_image_url: string | null;
145
145
  } & {
146
146
  user: {
147
+ id: string;
148
+ country_code: string | null;
149
+ display_name: string | null;
150
+ primary_email: string | null;
151
+ profile_image_url: string | null;
152
+ signed_up_at_millis: number;
153
+ last_active_at_millis: number;
154
+ selected_team_id: string | null;
155
+ is_anonymous: boolean;
156
+ is_restricted: boolean;
147
157
  restricted_reason: {
148
158
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
149
159
  } | null;
150
- primary_email: string | null;
151
- display_name: string | null;
160
+ requires_totp_mfa: boolean;
152
161
  client_metadata: {} | null;
153
162
  client_read_only_metadata: {} | null;
154
163
  server_metadata: {} | null;
155
- id: string;
156
- selected_team_id: string | null;
157
- is_anonymous: boolean;
158
- is_restricted: boolean;
159
- requires_totp_mfa: boolean;
160
164
  primary_email_verified: boolean;
161
165
  primary_email_auth_enabled: boolean;
162
- profile_image_url: string | null;
163
166
  selected_team: {
164
167
  client_metadata?: {} | null | undefined;
165
168
  client_read_only_metadata?: {} | null | undefined;
166
169
  server_metadata?: {} | null | undefined;
167
- display_name: string;
168
170
  id: string;
169
- profile_image_url: string | null;
170
171
  created_at_millis: number;
172
+ display_name: string;
173
+ profile_image_url: string | null;
171
174
  } | null;
172
- signed_up_at_millis: number;
173
175
  has_password: boolean;
174
176
  otp_auth_enabled: boolean;
175
177
  passkey_auth_enabled: boolean;
176
- last_active_at_millis: number;
177
178
  restricted_by_admin: boolean;
178
179
  restricted_by_admin_reason: string | null;
179
180
  restricted_by_admin_private_details: string | null;
180
- country_code: string | null;
181
181
  risk_scores: {
182
182
  sign_up: {
183
183
  bot: number;