@hexclave/shared 1.0.56 → 1.0.58

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 (93) hide show
  1. package/dist/{admin-interface-sca4FCAt.d.ts → admin-interface-Do9G1zZ8.d.ts} +11 -11
  2. package/dist/{admin-interface-sca4FCAt.d.ts.map → admin-interface-Do9G1zZ8.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-BTgqWZXI.d.ts → admin-metrics-bsOkw4YQ.d.ts} +16 -16
  4. package/dist/{admin-metrics-BTgqWZXI.d.ts.map → admin-metrics-bsOkw4YQ.d.ts.map} +1 -1
  5. package/dist/{client-interface-BQakINAH.d.ts → client-interface-DvkciaL0.d.ts} +10 -10
  6. package/dist/{client-interface-BQakINAH.d.ts.map → client-interface-DvkciaL0.d.ts.map} +1 -1
  7. package/dist/config/schema.d.ts +1 -1
  8. package/dist/config-authoring.d.ts +1 -1
  9. package/dist/{current-user-DosTPiF7.d.ts → current-user-BBoN3hsn.d.ts} +12 -12
  10. package/dist/{current-user-DosTPiF7.d.ts.map → current-user-BBoN3hsn.d.ts.map} +1 -1
  11. package/dist/{email-outbox-C07KfbmL.d.ts → email-outbox-D_wbK759.d.ts} +271 -271
  12. package/dist/{email-outbox-C07KfbmL.d.ts.map → email-outbox-D_wbK759.d.ts.map} +1 -1
  13. package/dist/esm/config/schema.d.ts +181 -181
  14. package/dist/esm/interface/admin-interface.js +1 -1
  15. package/dist/esm/interface/admin-metrics.d.ts +15 -15
  16. package/dist/esm/interface/client-interface.js +1 -1
  17. package/dist/esm/interface/conversations.d.ts +30 -30
  18. package/dist/esm/interface/crud/current-user.d.ts +11 -11
  19. package/dist/esm/interface/crud/email-outbox.d.ts +270 -270
  20. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  21. package/dist/esm/interface/crud/products.d.ts +15 -15
  22. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  23. package/dist/esm/interface/crud/projects.d.ts +117 -113
  24. package/dist/esm/interface/crud/projects.d.ts.map +1 -1
  25. package/dist/esm/interface/crud/projects.js +1 -0
  26. package/dist/esm/interface/crud/projects.js.map +1 -1
  27. package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
  28. package/dist/esm/interface/crud/transactions.d.ts +20 -20
  29. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  30. package/dist/esm/interface/crud/users.d.ts +6 -6
  31. package/dist/esm/interface/plan-usage.d.ts +2 -2
  32. package/dist/esm/interface/server-interface.js +1 -1
  33. package/dist/esm/known-errors.d.ts +1 -1
  34. package/dist/esm/schema-fields.d.ts +2 -2
  35. package/dist/esm/sessions.d.ts +7 -7
  36. package/dist/esm/utils/promises.js +1 -1
  37. package/dist/helpers/password.d.ts +1 -1
  38. package/dist/helpers/production-mode.d.ts +1 -1
  39. package/dist/index.d.ts +4 -4
  40. package/dist/interface/admin-interface.d.ts +2 -2
  41. package/dist/interface/admin-interface.js +1 -1
  42. package/dist/interface/admin-metrics.d.ts +1 -1
  43. package/dist/interface/client-interface.d.ts +1 -1
  44. package/dist/interface/client-interface.js +1 -1
  45. package/dist/interface/conversations.d.ts +30 -30
  46. package/dist/interface/crud/current-user.d.ts +1 -1
  47. package/dist/interface/crud/email-outbox.d.ts +1 -1
  48. package/dist/interface/crud/invoices.d.ts +1 -1
  49. package/dist/interface/crud/products.d.ts +1 -1
  50. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  51. package/dist/interface/crud/projects.d.ts +1 -1
  52. package/dist/interface/crud/projects.js +1 -0
  53. package/dist/interface/crud/projects.js.map +1 -1
  54. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  55. package/dist/interface/crud/transactions.d.ts +1 -1
  56. package/dist/interface/crud/users.d.ts +1 -1
  57. package/dist/interface/plan-usage.d.ts +1 -1
  58. package/dist/interface/server-interface.d.ts +1 -1
  59. package/dist/interface/server-interface.js +1 -1
  60. package/dist/{invoices-U65KzAZX.d.ts → invoices-CHo9YKbI.d.ts} +3 -3
  61. package/dist/{invoices-U65KzAZX.d.ts.map → invoices-CHo9YKbI.d.ts.map} +1 -1
  62. package/dist/{known-errors-BFf8SVm8.d.ts → known-errors-Bm4a61wL.d.ts} +2 -2
  63. package/dist/{known-errors-BFf8SVm8.d.ts.map → known-errors-Bm4a61wL.d.ts.map} +1 -1
  64. package/dist/known-errors.d.ts +1 -1
  65. package/dist/{plan-usage-CFwV688o.d.ts → plan-usage-BaDxcLZ1.d.ts} +3 -3
  66. package/dist/{plan-usage-CFwV688o.d.ts.map → plan-usage-BaDxcLZ1.d.ts.map} +1 -1
  67. package/dist/{products-DzedG6oU.d.ts → products-D4o8A2W0.d.ts} +16 -16
  68. package/dist/{products-DzedG6oU.d.ts.map → products-D4o8A2W0.d.ts.map} +1 -1
  69. package/dist/{project-api-keys-Di2ENRam.d.ts → project-api-keys--7V5X_UW.d.ts} +3 -3
  70. package/dist/{project-api-keys-Di2ENRam.d.ts.map → project-api-keys--7V5X_UW.d.ts.map} +1 -1
  71. package/dist/{projects-W2I5ueag.d.ts → projects-BX5Y50kJ.d.ts} +118 -114
  72. package/dist/projects-BX5Y50kJ.d.ts.map +1 -0
  73. package/dist/{schema-BXM8B2V2.d.ts → schema-BvjIkl-K.d.ts} +182 -182
  74. package/dist/{schema-BXM8B2V2.d.ts.map → schema-BvjIkl-K.d.ts.map} +1 -1
  75. package/dist/{schema-fields-DhryPaD4.d.ts → schema-fields-DZtDQEEO.d.ts} +3 -3
  76. package/dist/{schema-fields-DhryPaD4.d.ts.map → schema-fields-DZtDQEEO.d.ts.map} +1 -1
  77. package/dist/schema-fields.d.ts +1 -1
  78. package/dist/{server-interface--aZDYxx4.d.ts → server-interface-Ra_vIHP4.d.ts} +8 -8
  79. package/dist/{server-interface--aZDYxx4.d.ts.map → server-interface-Ra_vIHP4.d.ts.map} +1 -1
  80. package/dist/{sessions-CKNkS48M.d.ts → sessions-CI-0TBQb.d.ts} +9 -9
  81. package/dist/{sessions-CKNkS48M.d.ts.map → sessions-CI-0TBQb.d.ts.map} +1 -1
  82. package/dist/sessions.d.ts +1 -1
  83. package/dist/{team-member-profiles-BhcD2OP5.d.ts → team-member-profiles-BoDEqx-0.d.ts} +25 -25
  84. package/dist/{team-member-profiles-BhcD2OP5.d.ts.map → team-member-profiles-BoDEqx-0.d.ts.map} +1 -1
  85. package/dist/{transactions-icyjJzs-.d.ts → transactions-CHNUJ42J.d.ts} +21 -21
  86. package/dist/transactions-CHNUJ42J.d.ts.map +1 -0
  87. package/dist/{users-DMNuqLTW.d.ts → users-DHNRwoSz.d.ts} +7 -7
  88. package/dist/{users-DMNuqLTW.d.ts.map → users-DHNRwoSz.d.ts.map} +1 -1
  89. package/dist/utils/promises.js +1 -1
  90. package/package.json +1 -1
  91. package/src/interface/crud/projects.ts +1 -0
  92. package/dist/projects-W2I5ueag.d.ts.map +0 -1
  93. package/dist/transactions-icyjJzs-.d.ts.map +0 -1
@@ -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;
@@ -9,6 +9,8 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
9
9
  client_metadata?: {} | null | undefined;
10
10
  client_read_only_metadata?: {} | null | undefined;
11
11
  server_metadata?: {} | null | undefined;
12
+ server_only: boolean;
13
+ customer_type: "team" | "user" | "custom";
12
14
  stackable: boolean;
13
15
  prices: Record<string, {
14
16
  USD?: string | undefined;
@@ -22,11 +24,9 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
22
24
  free_trial?: import("../../utils/dates").DayInterval | undefined;
23
25
  }>;
24
26
  display_name: string;
25
- customer_type: "team" | "user" | "custom";
26
- server_only: boolean;
27
27
  included_items: Record<string, {
28
- repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
29
28
  quantity?: number | undefined;
29
+ repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
30
30
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
31
31
  }>;
32
32
  };
@@ -38,11 +38,14 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
38
38
  is_cancelable: boolean;
39
39
  } | null | undefined;
40
40
  switch_options: {
41
+ product_id: string;
41
42
  product: {
42
43
  free_trial?: import("../../utils/dates").DayInterval | undefined;
43
44
  client_metadata?: {} | null | undefined;
44
45
  client_read_only_metadata?: {} | null | undefined;
45
46
  server_metadata?: {} | null | undefined;
47
+ server_only: boolean;
48
+ customer_type: "team" | "user" | "custom";
46
49
  stackable: boolean;
47
50
  prices: Record<string, {
48
51
  USD?: string | undefined;
@@ -56,15 +59,12 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
56
59
  free_trial?: import("../../utils/dates").DayInterval | undefined;
57
60
  }>;
58
61
  display_name: string;
59
- customer_type: "team" | "user" | "custom";
60
- server_only: boolean;
61
62
  included_items: Record<string, {
62
- repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
63
63
  quantity?: number | undefined;
64
+ repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
64
65
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
65
66
  }>;
66
67
  };
67
- product_id: string;
68
68
  }[] | undefined;
69
69
  }, yup$1.AnyObject, {
70
70
  id: undefined;
@@ -101,11 +101,14 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
101
101
  is_cancelable: boolean;
102
102
  } | null | undefined;
103
103
  switch_options?: {
104
+ product_id: string;
104
105
  product: {
105
106
  free_trial?: import("../../utils/dates").DayInterval | undefined;
106
107
  client_metadata?: {} | null | undefined;
107
108
  client_read_only_metadata?: {} | null | undefined;
108
109
  server_metadata?: {} | null | undefined;
110
+ server_only: boolean;
111
+ customer_type: "team" | "user" | "custom";
109
112
  stackable: boolean;
110
113
  prices: Record<string, {
111
114
  USD?: string | undefined;
@@ -119,21 +122,21 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
119
122
  free_trial?: import("../../utils/dates").DayInterval | undefined;
120
123
  }>;
121
124
  display_name: string;
122
- customer_type: "team" | "user" | "custom";
123
- server_only: boolean;
124
125
  included_items: Record<string, {
125
- repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
126
126
  quantity?: number | undefined;
127
+ repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
127
128
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
128
129
  }>;
129
130
  };
130
- product_id: string;
131
131
  }[] | undefined;
132
+ quantity: number;
132
133
  product: {
133
134
  free_trial?: import("../../utils/dates").DayInterval | undefined;
134
135
  client_metadata?: {} | null | undefined;
135
136
  client_read_only_metadata?: {} | null | undefined;
136
137
  server_metadata?: {} | null | undefined;
138
+ server_only: boolean;
139
+ customer_type: "team" | "user" | "custom";
137
140
  stackable: boolean;
138
141
  prices: Record<string, {
139
142
  USD?: string | undefined;
@@ -147,15 +150,12 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
147
150
  free_trial?: import("../../utils/dates").DayInterval | undefined;
148
151
  }>;
149
152
  display_name: string;
150
- customer_type: "team" | "user" | "custom";
151
- server_only: boolean;
152
153
  included_items: Record<string, {
153
- repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
154
154
  quantity?: number | undefined;
155
+ repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
155
156
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
156
157
  }>;
157
158
  };
158
- quantity: number;
159
159
  id: string | null;
160
160
  }[];
161
161
  is_paginated: boolean;
@@ -78,10 +78,10 @@ declare const userApiKeysCrud: import("../../crud").CrudSchemaFromOptions<{
78
78
  is_public: undefined;
79
79
  user_id: undefined;
80
80
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
81
+ user_id: string;
81
82
  type: "user";
82
83
  description: string;
83
84
  id: string;
84
- user_id: string;
85
85
  created_at_millis: number;
86
86
  expires_at_millis: number | undefined;
87
87
  manually_revoked_at_millis: number | undefined;
@@ -177,9 +177,9 @@ declare const teamApiKeysCrud: import("../../crud").CrudSchemaFromOptions<{
177
177
  team_id: undefined;
178
178
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
179
179
  type: "team";
180
+ team_id: string;
180
181
  description: string;
181
182
  id: string;
182
- team_id: string;
183
183
  created_at_millis: number;
184
184
  expires_at_millis: number | undefined;
185
185
  manually_revoked_at_millis: number | undefined;
@@ -50,7 +50,7 @@ declare const projectsCrudAdminReadSchema: import("yup").ObjectSchema<{
50
50
  onboarding_state: {
51
51
  selected_config_choice: "create-new" | "link-existing";
52
52
  selected_apps: string[];
53
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
53
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
54
54
  selected_email_theme_id: string | null;
55
55
  selected_payments_country: "US" | "OTHER";
56
56
  } | null | undefined;
@@ -61,15 +61,10 @@ declare const projectsCrudAdminReadSchema: import("yup").ObjectSchema<{
61
61
  message: string;
62
62
  }[];
63
63
  config: {
64
- allow_localhost: boolean;
65
- sign_up_enabled: boolean;
66
- credential_enabled: boolean;
67
- magic_link_enabled: boolean;
68
- passkey_enabled: boolean;
69
- client_team_creation_enabled: boolean;
70
- client_user_deletion_enabled: boolean;
71
- allow_user_api_keys: boolean;
72
- allow_team_api_keys: boolean;
64
+ domains: {
65
+ domain: string;
66
+ handler_path: string;
67
+ }[];
73
68
  oauth_providers: {
74
69
  client_id?: string | undefined;
75
70
  client_secret?: string | undefined;
@@ -80,18 +75,23 @@ declare const projectsCrudAdminReadSchema: import("yup").ObjectSchema<{
80
75
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
81
76
  provider_config_id: string;
82
77
  }[];
78
+ allow_localhost: boolean;
79
+ sign_up_enabled: boolean;
80
+ credential_enabled: boolean;
81
+ magic_link_enabled: boolean;
82
+ passkey_enabled: boolean;
83
+ client_team_creation_enabled: boolean;
84
+ client_user_deletion_enabled: boolean;
85
+ allow_user_api_keys: boolean;
86
+ allow_team_api_keys: boolean;
83
87
  enabled_oauth_providers: {
84
88
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
85
89
  }[];
86
- domains: {
87
- domain: string;
88
- handler_path: string;
89
- }[];
90
90
  email_config: {
91
+ password?: string | undefined;
91
92
  host?: string | undefined;
92
93
  port?: number | undefined;
93
94
  username?: string | undefined;
94
- password?: string | undefined;
95
95
  sender_name?: string | undefined;
96
96
  sender_email?: string | undefined;
97
97
  type: "shared" | "standard";
@@ -166,6 +166,7 @@ declare const projectsCrudAdminReadSchema: import("yup").ObjectSchema<{
166
166
  declare const projectsCrudClientReadSchema: import("yup").ObjectSchema<{
167
167
  id: string;
168
168
  display_name: string;
169
+ is_development_environment: boolean;
169
170
  pushed_config_error: {
170
171
  message: string;
171
172
  } | null;
@@ -173,6 +174,10 @@ declare const projectsCrudClientReadSchema: import("yup").ObjectSchema<{
173
174
  message: string;
174
175
  }[];
175
176
  config: {
177
+ domains: {
178
+ domain: string;
179
+ handler_path: string;
180
+ }[];
176
181
  allow_localhost: boolean;
177
182
  sign_up_enabled: boolean;
178
183
  credential_enabled: boolean;
@@ -185,14 +190,11 @@ declare const projectsCrudClientReadSchema: import("yup").ObjectSchema<{
185
190
  enabled_oauth_providers: {
186
191
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
187
192
  }[];
188
- domains: {
189
- domain: string;
190
- handler_path: string;
191
- }[];
192
193
  };
193
194
  }, import("yup").AnyObject, {
194
195
  id: undefined;
195
196
  display_name: undefined;
197
+ is_development_environment: undefined;
196
198
  pushed_config_error: {
197
199
  message: undefined;
198
200
  };
@@ -223,20 +225,15 @@ declare const projectsCrudAdminUpdateSchema: import("yup").ObjectSchema<{
223
225
  onboarding_state: {
224
226
  selected_config_choice: "create-new" | "link-existing";
225
227
  selected_apps: string[];
226
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
228
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
227
229
  selected_email_theme_id: string | null;
228
230
  selected_payments_country: "US" | "OTHER";
229
231
  } | null | undefined;
230
232
  config: {
231
- allow_localhost?: boolean | undefined;
232
- sign_up_enabled?: boolean | undefined;
233
- credential_enabled?: boolean | undefined;
234
- magic_link_enabled?: boolean | undefined;
235
- passkey_enabled?: boolean | undefined;
236
- client_team_creation_enabled?: boolean | undefined;
237
- client_user_deletion_enabled?: boolean | undefined;
238
- allow_user_api_keys?: boolean | undefined;
239
- allow_team_api_keys?: boolean | undefined;
233
+ domains?: {
234
+ domain: string;
235
+ handler_path: string;
236
+ }[] | undefined;
240
237
  oauth_providers?: {
241
238
  client_id?: string | undefined;
242
239
  client_secret?: string | undefined;
@@ -246,15 +243,20 @@ declare const projectsCrudAdminUpdateSchema: import("yup").ObjectSchema<{
246
243
  type: "shared" | "standard";
247
244
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
248
245
  }[] | undefined;
249
- domains?: {
250
- domain: string;
251
- handler_path: string;
252
- }[] | undefined;
246
+ allow_localhost?: boolean | undefined;
247
+ sign_up_enabled?: boolean | undefined;
248
+ credential_enabled?: boolean | undefined;
249
+ magic_link_enabled?: boolean | undefined;
250
+ passkey_enabled?: boolean | undefined;
251
+ client_team_creation_enabled?: boolean | undefined;
252
+ client_user_deletion_enabled?: boolean | undefined;
253
+ allow_user_api_keys?: boolean | undefined;
254
+ allow_team_api_keys?: boolean | undefined;
253
255
  email_config?: {
256
+ password?: string | undefined;
254
257
  host?: string | undefined;
255
258
  port?: number | undefined;
256
259
  username?: string | undefined;
257
- password?: string | undefined;
258
260
  sender_name?: string | undefined;
259
261
  sender_email?: string | undefined;
260
262
  type: "shared" | "standard";
@@ -303,20 +305,15 @@ declare const projectsCrudAdminCreateSchema: import("yup").ObjectSchema<{
303
305
  onboarding_state: {
304
306
  selected_config_choice: "create-new" | "link-existing";
305
307
  selected_apps: string[];
306
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
308
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
307
309
  selected_email_theme_id: string | null;
308
310
  selected_payments_country: "US" | "OTHER";
309
311
  } | null | undefined;
310
312
  config: {
311
- allow_localhost?: boolean | undefined;
312
- sign_up_enabled?: boolean | undefined;
313
- credential_enabled?: boolean | undefined;
314
- magic_link_enabled?: boolean | undefined;
315
- passkey_enabled?: boolean | undefined;
316
- client_team_creation_enabled?: boolean | undefined;
317
- client_user_deletion_enabled?: boolean | undefined;
318
- allow_user_api_keys?: boolean | undefined;
319
- allow_team_api_keys?: boolean | undefined;
313
+ domains?: {
314
+ domain: string;
315
+ handler_path: string;
316
+ }[] | undefined;
320
317
  oauth_providers?: {
321
318
  client_id?: string | undefined;
322
319
  client_secret?: string | undefined;
@@ -326,15 +323,20 @@ declare const projectsCrudAdminCreateSchema: import("yup").ObjectSchema<{
326
323
  type: "shared" | "standard";
327
324
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
328
325
  }[] | undefined;
329
- domains?: {
330
- domain: string;
331
- handler_path: string;
332
- }[] | undefined;
326
+ allow_localhost?: boolean | undefined;
327
+ sign_up_enabled?: boolean | undefined;
328
+ credential_enabled?: boolean | undefined;
329
+ magic_link_enabled?: boolean | undefined;
330
+ passkey_enabled?: boolean | undefined;
331
+ client_team_creation_enabled?: boolean | undefined;
332
+ client_user_deletion_enabled?: boolean | undefined;
333
+ allow_user_api_keys?: boolean | undefined;
334
+ allow_team_api_keys?: boolean | undefined;
333
335
  email_config?: {
336
+ password?: string | undefined;
334
337
  host?: string | undefined;
335
338
  port?: number | undefined;
336
339
  username?: string | undefined;
337
- password?: string | undefined;
338
340
  sender_name?: string | undefined;
339
341
  sender_email?: string | undefined;
340
342
  type: "shared" | "standard";
@@ -382,6 +384,7 @@ declare const clientProjectsCrud: import("../../crud").CrudSchemaFromOptions<{
382
384
  clientReadSchema: import("yup").ObjectSchema<{
383
385
  id: string;
384
386
  display_name: string;
387
+ is_development_environment: boolean;
385
388
  pushed_config_error: {
386
389
  message: string;
387
390
  } | null;
@@ -389,6 +392,10 @@ declare const clientProjectsCrud: import("../../crud").CrudSchemaFromOptions<{
389
392
  message: string;
390
393
  }[];
391
394
  config: {
395
+ domains: {
396
+ domain: string;
397
+ handler_path: string;
398
+ }[];
392
399
  allow_localhost: boolean;
393
400
  sign_up_enabled: boolean;
394
401
  credential_enabled: boolean;
@@ -401,14 +408,11 @@ declare const clientProjectsCrud: import("../../crud").CrudSchemaFromOptions<{
401
408
  enabled_oauth_providers: {
402
409
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
403
410
  }[];
404
- domains: {
405
- domain: string;
406
- handler_path: string;
407
- }[];
408
411
  };
409
412
  }, import("yup").AnyObject, {
410
413
  id: undefined;
411
414
  display_name: undefined;
415
+ is_development_environment: undefined;
412
416
  pushed_config_error: {
413
417
  message: undefined;
414
418
  };
@@ -453,7 +457,7 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
453
457
  onboarding_state: {
454
458
  selected_config_choice: "create-new" | "link-existing";
455
459
  selected_apps: string[];
456
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
460
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
457
461
  selected_email_theme_id: string | null;
458
462
  selected_payments_country: "US" | "OTHER";
459
463
  } | null | undefined;
@@ -464,15 +468,10 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
464
468
  message: string;
465
469
  }[];
466
470
  config: {
467
- allow_localhost: boolean;
468
- sign_up_enabled: boolean;
469
- credential_enabled: boolean;
470
- magic_link_enabled: boolean;
471
- passkey_enabled: boolean;
472
- client_team_creation_enabled: boolean;
473
- client_user_deletion_enabled: boolean;
474
- allow_user_api_keys: boolean;
475
- allow_team_api_keys: boolean;
471
+ domains: {
472
+ domain: string;
473
+ handler_path: string;
474
+ }[];
476
475
  oauth_providers: {
477
476
  client_id?: string | undefined;
478
477
  client_secret?: string | undefined;
@@ -483,18 +482,23 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
483
482
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
484
483
  provider_config_id: string;
485
484
  }[];
485
+ allow_localhost: boolean;
486
+ sign_up_enabled: boolean;
487
+ credential_enabled: boolean;
488
+ magic_link_enabled: boolean;
489
+ passkey_enabled: boolean;
490
+ client_team_creation_enabled: boolean;
491
+ client_user_deletion_enabled: boolean;
492
+ allow_user_api_keys: boolean;
493
+ allow_team_api_keys: boolean;
486
494
  enabled_oauth_providers: {
487
495
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
488
496
  }[];
489
- domains: {
490
- domain: string;
491
- handler_path: string;
492
- }[];
493
497
  email_config: {
498
+ password?: string | undefined;
494
499
  host?: string | undefined;
495
500
  port?: number | undefined;
496
501
  username?: string | undefined;
497
- password?: string | undefined;
498
502
  sender_name?: string | undefined;
499
503
  sender_email?: string | undefined;
500
504
  type: "shared" | "standard";
@@ -578,20 +582,15 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
578
582
  onboarding_state: {
579
583
  selected_config_choice: "create-new" | "link-existing";
580
584
  selected_apps: string[];
581
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
585
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
582
586
  selected_email_theme_id: string | null;
583
587
  selected_payments_country: "US" | "OTHER";
584
588
  } | null | undefined;
585
589
  config: {
586
- allow_localhost?: boolean | undefined;
587
- sign_up_enabled?: boolean | undefined;
588
- credential_enabled?: boolean | undefined;
589
- magic_link_enabled?: boolean | undefined;
590
- passkey_enabled?: boolean | undefined;
591
- client_team_creation_enabled?: boolean | undefined;
592
- client_user_deletion_enabled?: boolean | undefined;
593
- allow_user_api_keys?: boolean | undefined;
594
- allow_team_api_keys?: boolean | undefined;
590
+ domains?: {
591
+ domain: string;
592
+ handler_path: string;
593
+ }[] | undefined;
595
594
  oauth_providers?: {
596
595
  client_id?: string | undefined;
597
596
  client_secret?: string | undefined;
@@ -601,15 +600,20 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
601
600
  type: "shared" | "standard";
602
601
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
603
602
  }[] | undefined;
604
- domains?: {
605
- domain: string;
606
- handler_path: string;
607
- }[] | undefined;
603
+ allow_localhost?: boolean | undefined;
604
+ sign_up_enabled?: boolean | undefined;
605
+ credential_enabled?: boolean | undefined;
606
+ magic_link_enabled?: boolean | undefined;
607
+ passkey_enabled?: boolean | undefined;
608
+ client_team_creation_enabled?: boolean | undefined;
609
+ client_user_deletion_enabled?: boolean | undefined;
610
+ allow_user_api_keys?: boolean | undefined;
611
+ allow_team_api_keys?: boolean | undefined;
608
612
  email_config?: {
613
+ password?: string | undefined;
609
614
  host?: string | undefined;
610
615
  port?: number | undefined;
611
616
  username?: string | undefined;
612
- password?: string | undefined;
613
617
  sender_name?: string | undefined;
614
618
  sender_email?: string | undefined;
615
619
  type: "shared" | "standard";
@@ -686,7 +690,7 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
686
690
  onboarding_state: {
687
691
  selected_config_choice: "create-new" | "link-existing";
688
692
  selected_apps: string[];
689
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
693
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
690
694
  selected_email_theme_id: string | null;
691
695
  selected_payments_country: "US" | "OTHER";
692
696
  } | null | undefined;
@@ -697,15 +701,10 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
697
701
  message: string;
698
702
  }[];
699
703
  config: {
700
- allow_localhost: boolean;
701
- sign_up_enabled: boolean;
702
- credential_enabled: boolean;
703
- magic_link_enabled: boolean;
704
- passkey_enabled: boolean;
705
- client_team_creation_enabled: boolean;
706
- client_user_deletion_enabled: boolean;
707
- allow_user_api_keys: boolean;
708
- allow_team_api_keys: boolean;
704
+ domains: {
705
+ domain: string;
706
+ handler_path: string;
707
+ }[];
709
708
  oauth_providers: {
710
709
  client_id?: string | undefined;
711
710
  client_secret?: string | undefined;
@@ -716,18 +715,23 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
716
715
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
717
716
  provider_config_id: string;
718
717
  }[];
718
+ allow_localhost: boolean;
719
+ sign_up_enabled: boolean;
720
+ credential_enabled: boolean;
721
+ magic_link_enabled: boolean;
722
+ passkey_enabled: boolean;
723
+ client_team_creation_enabled: boolean;
724
+ client_user_deletion_enabled: boolean;
725
+ allow_user_api_keys: boolean;
726
+ allow_team_api_keys: boolean;
719
727
  enabled_oauth_providers: {
720
728
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
721
729
  }[];
722
- domains: {
723
- domain: string;
724
- handler_path: string;
725
- }[];
726
730
  email_config: {
731
+ password?: string | undefined;
727
732
  host?: string | undefined;
728
733
  port?: number | undefined;
729
734
  username?: string | undefined;
730
- password?: string | undefined;
731
735
  sender_name?: string | undefined;
732
736
  sender_email?: string | undefined;
733
737
  type: "shared" | "standard";
@@ -811,20 +815,15 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
811
815
  onboarding_state: {
812
816
  selected_config_choice: "create-new" | "link-existing";
813
817
  selected_apps: string[];
814
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
818
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
815
819
  selected_email_theme_id: string | null;
816
820
  selected_payments_country: "US" | "OTHER";
817
821
  } | null | undefined;
818
822
  config: {
819
- allow_localhost?: boolean | undefined;
820
- sign_up_enabled?: boolean | undefined;
821
- credential_enabled?: boolean | undefined;
822
- magic_link_enabled?: boolean | undefined;
823
- passkey_enabled?: boolean | undefined;
824
- client_team_creation_enabled?: boolean | undefined;
825
- client_user_deletion_enabled?: boolean | undefined;
826
- allow_user_api_keys?: boolean | undefined;
827
- allow_team_api_keys?: boolean | undefined;
823
+ domains?: {
824
+ domain: string;
825
+ handler_path: string;
826
+ }[] | undefined;
828
827
  oauth_providers?: {
829
828
  client_id?: string | undefined;
830
829
  client_secret?: string | undefined;
@@ -834,15 +833,20 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
834
833
  type: "shared" | "standard";
835
834
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
836
835
  }[] | undefined;
837
- domains?: {
838
- domain: string;
839
- handler_path: string;
840
- }[] | undefined;
836
+ allow_localhost?: boolean | undefined;
837
+ sign_up_enabled?: boolean | undefined;
838
+ credential_enabled?: boolean | undefined;
839
+ magic_link_enabled?: boolean | undefined;
840
+ passkey_enabled?: boolean | undefined;
841
+ client_team_creation_enabled?: boolean | undefined;
842
+ client_user_deletion_enabled?: boolean | undefined;
843
+ allow_user_api_keys?: boolean | undefined;
844
+ allow_team_api_keys?: boolean | undefined;
841
845
  email_config?: {
846
+ password?: string | undefined;
842
847
  host?: string | undefined;
843
848
  port?: number | undefined;
844
849
  username?: string | undefined;
845
- password?: string | undefined;
846
850
  sender_name?: string | undefined;
847
851
  sender_email?: string | undefined;
848
852
  type: "shared" | "standard";
@@ -1 +1 @@
1
- {"version":3,"file":"projects.d.ts","names":[],"sources":["../../../../src/interface/crud/projects.ts"],"mappings":";;;cAsDa,iBAAA,gBAAiB,YAAA;;;;;;;;;;;;;;;;;cAsBjB,gCAAA,gBAAgC,YAAA;;;;;;;;;;;;;;;;cAShC,2BAAA,gBAA2B,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyC3B,4BAAA,gBAA4B,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqB5B,6BAAA,gBAA6B,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAYtB,qBAAA,GAAwB,UAAU,QAAQ,qBAAA"}
@@ -98,6 +98,7 @@ const projectsCrudAdminReadSchema = yupObject({
98
98
  const projectsCrudClientReadSchema = yupObject({
99
99
  id: schemaFields.projectIdSchema.defined(),
100
100
  display_name: schemaFields.projectDisplayNameSchema.defined(),
101
+ is_development_environment: schemaFields.yupBoolean().defined(),
101
102
  pushed_config_error: pushedConfigErrorSchema.nullable().defined(),
102
103
  config_warnings: yupArray(configWarningSchema).defined(),
103
104
  config: yupObject({