@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?: 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?: 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?: DayInterval | undefined;
25
26
  free_trial?: DayInterval | undefined;
26
27
  }>;
27
- display_name: string;
28
28
  included_items: Record<string, {
29
- repeat?: "never" | DayInterval | undefined;
30
29
  quantity?: number | undefined;
30
+ repeat?: "never" | 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?: 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?: 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?: DayInterval | undefined;
60
61
  free_trial?: DayInterval | undefined;
61
62
  }>;
62
- display_name: string;
63
63
  included_items: Record<string, {
64
- repeat?: "never" | DayInterval | undefined;
65
64
  quantity?: number | undefined;
65
+ repeat?: "never" | 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?: 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?: 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?: DayInterval | undefined;
123
124
  free_trial?: DayInterval | undefined;
124
125
  }>;
125
- display_name: string;
126
126
  included_items: Record<string, {
127
- repeat?: "never" | DayInterval | undefined;
128
127
  quantity?: number | undefined;
128
+ repeat?: "never" | 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?: 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?: 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?: DayInterval | undefined;
151
153
  free_trial?: DayInterval | undefined;
152
154
  }>;
153
- display_name: string;
154
155
  included_items: Record<string, {
155
- repeat?: "never" | DayInterval | undefined;
156
156
  quantity?: number | undefined;
157
+ repeat?: "never" | 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,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;qBAMnC,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,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;;;;qBAMnC,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
@@ -78,12 +78,12 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
78
78
  is_public: undefined;
79
79
  user_id: undefined;
80
80
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
81
- description: string;
82
- user_id: string;
83
81
  type: "user";
84
82
  id: string;
85
83
  created_at_millis: number;
86
84
  expires_at_millis: number | undefined;
85
+ user_id: string;
86
+ description: string;
87
87
  manually_revoked_at_millis: number | undefined;
88
88
  is_public: boolean;
89
89
  } & {
@@ -176,12 +176,12 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
176
176
  is_public: undefined;
177
177
  team_id: undefined;
178
178
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
179
- description: string;
180
179
  type: "team";
181
- team_id: string;
182
180
  id: string;
183
181
  created_at_millis: number;
184
182
  expires_at_millis: number | undefined;
183
+ team_id: string;
184
+ description: string;
185
185
  manually_revoked_at_millis: number | undefined;
186
186
  is_public: boolean;
187
187
  } & {
@@ -3,7 +3,7 @@ import * as yup$1 from "yup";
3
3
 
4
4
  //#region src/interface/crud/projects.d.ts
5
5
  declare const emailConfigSchema: yup$1.ObjectSchema<{
6
- type: "standard" | "shared";
6
+ type: "shared" | "standard";
7
7
  host: string | undefined;
8
8
  port: number | undefined;
9
9
  username: string | undefined;
@@ -20,7 +20,7 @@ declare const emailConfigSchema: yup$1.ObjectSchema<{
20
20
  sender_email: undefined;
21
21
  }, "">;
22
22
  declare const emailConfigWithoutPasswordSchema: yup$1.ObjectSchema<{
23
- type: "standard" | "shared";
23
+ type: "shared" | "standard";
24
24
  host: string | undefined;
25
25
  port: number | undefined;
26
26
  username: string | undefined;
@@ -51,22 +51,18 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
51
51
  onboarding_state: {
52
52
  selected_config_choice: "create-new" | "link-existing";
53
53
  selected_apps: string[];
54
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
54
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
55
55
  selected_email_theme_id: string | null;
56
56
  selected_payments_country: "US" | "OTHER";
57
57
  } | null | undefined;
58
58
  config: {
59
- domains: {
60
- domain: string;
61
- handler_path: string;
62
- }[];
63
59
  oauth_providers: {
64
60
  client_id?: string | undefined;
65
61
  client_secret?: string | undefined;
66
62
  facebook_config_id?: string | undefined;
67
63
  microsoft_tenant_id?: string | undefined;
68
64
  apple_bundle_ids?: string[] | undefined;
69
- type: "standard" | "shared";
65
+ type: "shared" | "standard";
70
66
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
71
67
  provider_config_id: string;
72
68
  }[];
@@ -82,6 +78,10 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
82
78
  enabled_oauth_providers: {
83
79
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
84
80
  }[];
81
+ domains: {
82
+ domain: string;
83
+ handler_path: string;
84
+ }[];
85
85
  email_config: {
86
86
  password?: string | undefined;
87
87
  host?: string | undefined;
@@ -89,7 +89,7 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
89
89
  username?: string | undefined;
90
90
  sender_name?: string | undefined;
91
91
  sender_email?: string | undefined;
92
- type: "standard" | "shared";
92
+ type: "shared" | "standard";
93
93
  };
94
94
  email_theme: string;
95
95
  create_team_on_sign_up: boolean;
@@ -158,10 +158,6 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
158
158
  id: string;
159
159
  display_name: string;
160
160
  config: {
161
- domains: {
162
- domain: string;
163
- handler_path: string;
164
- }[];
165
161
  allow_localhost: boolean;
166
162
  sign_up_enabled: boolean;
167
163
  credential_enabled: boolean;
@@ -174,6 +170,10 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
174
170
  enabled_oauth_providers: {
175
171
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
176
172
  }[];
173
+ domains: {
174
+ domain: string;
175
+ handler_path: string;
176
+ }[];
177
177
  };
178
178
  }, yup$1.AnyObject, {
179
179
  id: undefined;
@@ -204,22 +204,18 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
204
204
  onboarding_state: {
205
205
  selected_config_choice: "create-new" | "link-existing";
206
206
  selected_apps: string[];
207
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
207
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
208
208
  selected_email_theme_id: string | null;
209
209
  selected_payments_country: "US" | "OTHER";
210
210
  } | null | undefined;
211
211
  config: {
212
- domains?: {
213
- domain: string;
214
- handler_path: string;
215
- }[] | undefined;
216
212
  oauth_providers?: {
217
213
  client_id?: string | undefined;
218
214
  client_secret?: string | undefined;
219
215
  facebook_config_id?: string | undefined;
220
216
  microsoft_tenant_id?: string | undefined;
221
217
  apple_bundle_ids?: string[] | undefined;
222
- type: "standard" | "shared";
218
+ type: "shared" | "standard";
223
219
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
224
220
  }[] | undefined;
225
221
  allow_localhost?: boolean | undefined;
@@ -231,6 +227,10 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
231
227
  client_user_deletion_enabled?: boolean | undefined;
232
228
  allow_user_api_keys?: boolean | undefined;
233
229
  allow_team_api_keys?: boolean | undefined;
230
+ domains?: {
231
+ domain: string;
232
+ handler_path: string;
233
+ }[] | undefined;
234
234
  email_config?: {
235
235
  password?: string | undefined;
236
236
  host?: string | undefined;
@@ -238,7 +238,7 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
238
238
  username?: string | undefined;
239
239
  sender_name?: string | undefined;
240
240
  sender_email?: string | undefined;
241
- type: "standard" | "shared";
241
+ type: "shared" | "standard";
242
242
  } | undefined;
243
243
  email_theme?: string | undefined;
244
244
  create_team_on_sign_up?: boolean | undefined;
@@ -284,22 +284,18 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
284
284
  onboarding_state: {
285
285
  selected_config_choice: "create-new" | "link-existing";
286
286
  selected_apps: string[];
287
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
287
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
288
288
  selected_email_theme_id: string | null;
289
289
  selected_payments_country: "US" | "OTHER";
290
290
  } | null | undefined;
291
291
  config: {
292
- domains?: {
293
- domain: string;
294
- handler_path: string;
295
- }[] | undefined;
296
292
  oauth_providers?: {
297
293
  client_id?: string | undefined;
298
294
  client_secret?: string | undefined;
299
295
  facebook_config_id?: string | undefined;
300
296
  microsoft_tenant_id?: string | undefined;
301
297
  apple_bundle_ids?: string[] | undefined;
302
- type: "standard" | "shared";
298
+ type: "shared" | "standard";
303
299
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
304
300
  }[] | undefined;
305
301
  allow_localhost?: boolean | undefined;
@@ -311,6 +307,10 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
311
307
  client_user_deletion_enabled?: boolean | undefined;
312
308
  allow_user_api_keys?: boolean | undefined;
313
309
  allow_team_api_keys?: boolean | undefined;
310
+ domains?: {
311
+ domain: string;
312
+ handler_path: string;
313
+ }[] | undefined;
314
314
  email_config?: {
315
315
  password?: string | undefined;
316
316
  host?: string | undefined;
@@ -318,7 +318,7 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
318
318
  username?: string | undefined;
319
319
  sender_name?: string | undefined;
320
320
  sender_email?: string | undefined;
321
- type: "standard" | "shared";
321
+ type: "shared" | "standard";
322
322
  } | undefined;
323
323
  email_theme?: string | undefined;
324
324
  create_team_on_sign_up?: boolean | undefined;
@@ -364,10 +364,6 @@ declare const clientProjectsCrud: CrudSchemaFromOptions<{
364
364
  id: string;
365
365
  display_name: string;
366
366
  config: {
367
- domains: {
368
- domain: string;
369
- handler_path: string;
370
- }[];
371
367
  allow_localhost: boolean;
372
368
  sign_up_enabled: boolean;
373
369
  credential_enabled: boolean;
@@ -380,6 +376,10 @@ declare const clientProjectsCrud: CrudSchemaFromOptions<{
380
376
  enabled_oauth_providers: {
381
377
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
382
378
  }[];
379
+ domains: {
380
+ domain: string;
381
+ handler_path: string;
382
+ }[];
383
383
  };
384
384
  }, yup$1.AnyObject, {
385
385
  id: undefined;
@@ -424,22 +424,18 @@ declare const projectsCrud: CrudSchemaFromOptions<{
424
424
  onboarding_state: {
425
425
  selected_config_choice: "create-new" | "link-existing";
426
426
  selected_apps: string[];
427
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
427
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
428
428
  selected_email_theme_id: string | null;
429
429
  selected_payments_country: "US" | "OTHER";
430
430
  } | null | undefined;
431
431
  config: {
432
- domains: {
433
- domain: string;
434
- handler_path: string;
435
- }[];
436
432
  oauth_providers: {
437
433
  client_id?: string | undefined;
438
434
  client_secret?: string | undefined;
439
435
  facebook_config_id?: string | undefined;
440
436
  microsoft_tenant_id?: string | undefined;
441
437
  apple_bundle_ids?: string[] | undefined;
442
- type: "standard" | "shared";
438
+ type: "shared" | "standard";
443
439
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
444
440
  provider_config_id: string;
445
441
  }[];
@@ -455,6 +451,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
455
451
  enabled_oauth_providers: {
456
452
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
457
453
  }[];
454
+ domains: {
455
+ domain: string;
456
+ handler_path: string;
457
+ }[];
458
458
  email_config: {
459
459
  password?: string | undefined;
460
460
  host?: string | undefined;
@@ -462,7 +462,7 @@ declare const projectsCrud: CrudSchemaFromOptions<{
462
462
  username?: string | undefined;
463
463
  sender_name?: string | undefined;
464
464
  sender_email?: string | undefined;
465
- type: "standard" | "shared";
465
+ type: "shared" | "standard";
466
466
  };
467
467
  email_theme: string;
468
468
  create_team_on_sign_up: boolean;
@@ -539,22 +539,18 @@ declare const projectsCrud: CrudSchemaFromOptions<{
539
539
  onboarding_state: {
540
540
  selected_config_choice: "create-new" | "link-existing";
541
541
  selected_apps: string[];
542
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
542
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
543
543
  selected_email_theme_id: string | null;
544
544
  selected_payments_country: "US" | "OTHER";
545
545
  } | null | undefined;
546
546
  config: {
547
- domains?: {
548
- domain: string;
549
- handler_path: string;
550
- }[] | undefined;
551
547
  oauth_providers?: {
552
548
  client_id?: string | undefined;
553
549
  client_secret?: string | undefined;
554
550
  facebook_config_id?: string | undefined;
555
551
  microsoft_tenant_id?: string | undefined;
556
552
  apple_bundle_ids?: string[] | undefined;
557
- type: "standard" | "shared";
553
+ type: "shared" | "standard";
558
554
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
559
555
  }[] | undefined;
560
556
  allow_localhost?: boolean | undefined;
@@ -566,6 +562,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
566
562
  client_user_deletion_enabled?: boolean | undefined;
567
563
  allow_user_api_keys?: boolean | undefined;
568
564
  allow_team_api_keys?: boolean | undefined;
565
+ domains?: {
566
+ domain: string;
567
+ handler_path: string;
568
+ }[] | undefined;
569
569
  email_config?: {
570
570
  password?: string | undefined;
571
571
  host?: string | undefined;
@@ -573,7 +573,7 @@ declare const projectsCrud: CrudSchemaFromOptions<{
573
573
  username?: string | undefined;
574
574
  sender_name?: string | undefined;
575
575
  sender_email?: string | undefined;
576
- type: "standard" | "shared";
576
+ type: "shared" | "standard";
577
577
  } | undefined;
578
578
  email_theme?: string | undefined;
579
579
  create_team_on_sign_up?: boolean | undefined;
@@ -647,22 +647,18 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
647
647
  onboarding_state: {
648
648
  selected_config_choice: "create-new" | "link-existing";
649
649
  selected_apps: string[];
650
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
650
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
651
651
  selected_email_theme_id: string | null;
652
652
  selected_payments_country: "US" | "OTHER";
653
653
  } | null | undefined;
654
654
  config: {
655
- domains: {
656
- domain: string;
657
- handler_path: string;
658
- }[];
659
655
  oauth_providers: {
660
656
  client_id?: string | undefined;
661
657
  client_secret?: string | undefined;
662
658
  facebook_config_id?: string | undefined;
663
659
  microsoft_tenant_id?: string | undefined;
664
660
  apple_bundle_ids?: string[] | undefined;
665
- type: "standard" | "shared";
661
+ type: "shared" | "standard";
666
662
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
667
663
  provider_config_id: string;
668
664
  }[];
@@ -678,6 +674,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
678
674
  enabled_oauth_providers: {
679
675
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
680
676
  }[];
677
+ domains: {
678
+ domain: string;
679
+ handler_path: string;
680
+ }[];
681
681
  email_config: {
682
682
  password?: string | undefined;
683
683
  host?: string | undefined;
@@ -685,7 +685,7 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
685
685
  username?: string | undefined;
686
686
  sender_name?: string | undefined;
687
687
  sender_email?: string | undefined;
688
- type: "standard" | "shared";
688
+ type: "shared" | "standard";
689
689
  };
690
690
  email_theme: string;
691
691
  create_team_on_sign_up: boolean;
@@ -762,22 +762,18 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
762
762
  onboarding_state: {
763
763
  selected_config_choice: "create-new" | "link-existing";
764
764
  selected_apps: string[];
765
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
765
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
766
766
  selected_email_theme_id: string | null;
767
767
  selected_payments_country: "US" | "OTHER";
768
768
  } | null | undefined;
769
769
  config: {
770
- domains?: {
771
- domain: string;
772
- handler_path: string;
773
- }[] | undefined;
774
770
  oauth_providers?: {
775
771
  client_id?: string | undefined;
776
772
  client_secret?: string | undefined;
777
773
  facebook_config_id?: string | undefined;
778
774
  microsoft_tenant_id?: string | undefined;
779
775
  apple_bundle_ids?: string[] | undefined;
780
- type: "standard" | "shared";
776
+ type: "shared" | "standard";
781
777
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
782
778
  }[] | undefined;
783
779
  allow_localhost?: boolean | undefined;
@@ -789,6 +785,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
789
785
  client_user_deletion_enabled?: boolean | undefined;
790
786
  allow_user_api_keys?: boolean | undefined;
791
787
  allow_team_api_keys?: boolean | undefined;
788
+ domains?: {
789
+ domain: string;
790
+ handler_path: string;
791
+ }[] | undefined;
792
792
  email_config?: {
793
793
  password?: string | undefined;
794
794
  host?: string | undefined;
@@ -796,7 +796,7 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
796
796
  username?: string | undefined;
797
797
  sender_name?: string | undefined;
798
798
  sender_email?: string | undefined;
799
- type: "standard" | "shared";
799
+ type: "shared" | "standard";
800
800
  } | undefined;
801
801
  email_theme?: string | undefined;
802
802
  create_team_on_sign_up?: boolean | undefined;
@@ -20,40 +20,40 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
20
20
  profile_image_url: string | null;
21
21
  } & {
22
22
  user: {
23
+ id: string;
24
+ country_code: string | null;
25
+ display_name: string | null;
26
+ primary_email: string | null;
27
+ profile_image_url: string | null;
28
+ signed_up_at_millis: number;
29
+ last_active_at_millis: number;
30
+ selected_team_id: string | null;
31
+ is_anonymous: boolean;
32
+ is_restricted: boolean;
23
33
  restricted_reason: {
24
34
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
25
35
  } | null;
26
- primary_email: string | null;
27
- display_name: string | null;
36
+ requires_totp_mfa: boolean;
28
37
  client_metadata: {} | null;
29
38
  client_read_only_metadata: {} | null;
30
39
  server_metadata: {} | null;
31
- id: string;
32
- selected_team_id: string | null;
33
- is_anonymous: boolean;
34
- is_restricted: boolean;
35
- requires_totp_mfa: boolean;
36
40
  primary_email_verified: boolean;
37
41
  primary_email_auth_enabled: boolean;
38
- profile_image_url: string | null;
39
42
  selected_team: {
40
43
  client_metadata?: {} | null | undefined;
41
44
  client_read_only_metadata?: {} | null | undefined;
42
45
  server_metadata?: {} | null | undefined;
43
- display_name: string;
44
46
  id: string;
45
- profile_image_url: string | null;
46
47
  created_at_millis: number;
48
+ display_name: string;
49
+ profile_image_url: string | null;
47
50
  } | null;
48
- signed_up_at_millis: number;
49
51
  has_password: boolean;
50
52
  otp_auth_enabled: boolean;
51
53
  passkey_auth_enabled: boolean;
52
- last_active_at_millis: number;
53
54
  restricted_by_admin: boolean;
54
55
  restricted_by_admin_reason: string | null;
55
56
  restricted_by_admin_private_details: string | null;
56
- country_code: string | null;
57
57
  risk_scores: {
58
58
  sign_up: {
59
59
  bot: number;
@@ -143,40 +143,40 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
143
143
  profile_image_url: string | null;
144
144
  } & {
145
145
  user: {
146
+ id: string;
147
+ country_code: string | null;
148
+ display_name: string | null;
149
+ primary_email: string | null;
150
+ profile_image_url: string | null;
151
+ signed_up_at_millis: number;
152
+ last_active_at_millis: number;
153
+ selected_team_id: string | null;
154
+ is_anonymous: boolean;
155
+ is_restricted: boolean;
146
156
  restricted_reason: {
147
157
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
148
158
  } | null;
149
- primary_email: string | null;
150
- display_name: string | null;
159
+ requires_totp_mfa: boolean;
151
160
  client_metadata: {} | null;
152
161
  client_read_only_metadata: {} | null;
153
162
  server_metadata: {} | null;
154
- id: string;
155
- selected_team_id: string | null;
156
- is_anonymous: boolean;
157
- is_restricted: boolean;
158
- requires_totp_mfa: boolean;
159
163
  primary_email_verified: boolean;
160
164
  primary_email_auth_enabled: boolean;
161
- profile_image_url: string | null;
162
165
  selected_team: {
163
166
  client_metadata?: {} | null | undefined;
164
167
  client_read_only_metadata?: {} | null | undefined;
165
168
  server_metadata?: {} | null | undefined;
166
- display_name: string;
167
169
  id: string;
168
- profile_image_url: string | null;
169
170
  created_at_millis: number;
171
+ display_name: string;
172
+ profile_image_url: string | null;
170
173
  } | null;
171
- signed_up_at_millis: number;
172
174
  has_password: boolean;
173
175
  otp_auth_enabled: boolean;
174
176
  passkey_auth_enabled: boolean;
175
- last_active_at_millis: number;
176
177
  restricted_by_admin: boolean;
177
178
  restricted_by_admin_reason: string | null;
178
179
  restricted_by_admin_private_details: string | null;
179
- country_code: string | null;
180
180
  risk_scores: {
181
181
  sign_up: {
182
182
  bot: number;