@hexclave/shared 1.0.26 → 1.0.27

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 (31) hide show
  1. package/dist/config/schema.d.ts +167 -167
  2. package/dist/esm/config/schema.d.ts +167 -167
  3. package/dist/esm/interface/admin-metrics.d.ts +16 -16
  4. package/dist/esm/interface/conversations.d.ts +36 -36
  5. package/dist/esm/interface/crud/current-user.d.ts +9 -9
  6. package/dist/esm/interface/crud/email-outbox.d.ts +226 -226
  7. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  8. package/dist/esm/interface/crud/products.d.ts +5 -5
  9. package/dist/esm/interface/crud/project-api-keys.d.ts +3 -3
  10. package/dist/esm/interface/crud/projects.d.ts +50 -50
  11. package/dist/esm/interface/crud/team-member-profiles.d.ts +22 -22
  12. package/dist/esm/interface/crud/transactions.d.ts +2 -2
  13. package/dist/esm/interface/crud/users.d.ts +18 -18
  14. package/dist/esm/interface/webhooks.d.ts +4 -4
  15. package/dist/esm/schema-fields.d.ts +1 -1
  16. package/dist/esm/sessions.d.ts +3 -3
  17. package/dist/interface/admin-metrics.d.ts +16 -16
  18. package/dist/interface/conversations.d.ts +36 -36
  19. package/dist/interface/crud/current-user.d.ts +9 -9
  20. package/dist/interface/crud/email-outbox.d.ts +226 -226
  21. package/dist/interface/crud/invoices.d.ts +2 -2
  22. package/dist/interface/crud/products.d.ts +5 -5
  23. package/dist/interface/crud/project-api-keys.d.ts +3 -3
  24. package/dist/interface/crud/projects.d.ts +50 -50
  25. package/dist/interface/crud/team-member-profiles.d.ts +22 -22
  26. package/dist/interface/crud/transactions.d.ts +2 -2
  27. package/dist/interface/crud/users.d.ts +18 -18
  28. package/dist/interface/webhooks.d.ts +4 -4
  29. package/dist/schema-fields.d.ts +1 -1
  30. package/dist/sessions.d.ts +3 -3
  31. package/package.json +1 -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;
@@ -26,8 +26,8 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
26
26
  }>;
27
27
  display_name: string;
28
28
  included_items: Record<string, {
29
- quantity?: number | undefined;
30
29
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
30
+ quantity?: number | undefined;
31
31
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
32
32
  }>;
33
33
  };
@@ -61,8 +61,8 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
61
61
  }>;
62
62
  display_name: string;
63
63
  included_items: Record<string, {
64
- quantity?: number | undefined;
65
64
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
65
+ quantity?: number | undefined;
66
66
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
67
67
  }>;
68
68
  };
@@ -124,12 +124,13 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
124
124
  }>;
125
125
  display_name: string;
126
126
  included_items: Record<string, {
127
- quantity?: number | undefined;
128
127
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
128
+ quantity?: number | 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
136
  free_trial?: ______utils_dates0.DayInterval | undefined;
@@ -152,12 +153,11 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
152
153
  }>;
153
154
  display_name: string;
154
155
  included_items: Record<string, {
155
- quantity?: number | undefined;
156
156
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
157
+ quantity?: number | 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: {
@@ -79,10 +79,10 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
79
79
  is_public: undefined;
80
80
  user_id: undefined;
81
81
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
82
- user_id: string;
82
+ id: string;
83
83
  type: "user";
84
+ user_id: string;
84
85
  description: string;
85
- id: string;
86
86
  created_at_millis: number;
87
87
  expires_at_millis: number | undefined;
88
88
  manually_revoked_at_millis: number | undefined;
@@ -177,10 +177,10 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
177
177
  is_public: undefined;
178
178
  team_id: undefined;
179
179
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
180
+ id: string;
180
181
  type: "team";
181
182
  team_id: string;
182
183
  description: string;
183
- id: string;
184
184
  created_at_millis: number;
185
185
  expires_at_millis: number | undefined;
186
186
  manually_revoked_at_millis: number | undefined;
@@ -52,7 +52,7 @@ 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" | "credential" | "magicLink" | "passkey")[];
55
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
56
56
  selected_email_theme_id: string | null;
57
57
  selected_payments_country: "US" | "OTHER";
58
58
  } | null | undefined;
@@ -69,10 +69,14 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
69
69
  facebook_config_id?: string | undefined;
70
70
  microsoft_tenant_id?: string | undefined;
71
71
  apple_bundle_ids?: string[] | undefined;
72
- type: "shared" | "standard";
73
72
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
73
+ type: "shared" | "standard";
74
74
  provider_config_id: string;
75
75
  }[];
76
+ domains: {
77
+ domain: string;
78
+ handler_path: string;
79
+ }[];
76
80
  allow_localhost: boolean;
77
81
  sign_up_enabled: boolean;
78
82
  credential_enabled: boolean;
@@ -85,10 +89,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
85
89
  enabled_oauth_providers: {
86
90
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
87
91
  }[];
88
- domains: {
89
- domain: string;
90
- handler_path: string;
91
- }[];
92
92
  email_config: {
93
93
  password?: string | undefined;
94
94
  host?: string | undefined;
@@ -175,6 +175,10 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
175
175
  message: string;
176
176
  }[];
177
177
  config: {
178
+ domains: {
179
+ domain: string;
180
+ handler_path: string;
181
+ }[];
178
182
  allow_localhost: boolean;
179
183
  sign_up_enabled: boolean;
180
184
  credential_enabled: boolean;
@@ -187,10 +191,6 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
187
191
  enabled_oauth_providers: {
188
192
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
189
193
  }[];
190
- domains: {
191
- domain: string;
192
- handler_path: string;
193
- }[];
194
194
  };
195
195
  }, yup$1.AnyObject, {
196
196
  id: undefined;
@@ -225,7 +225,7 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
225
225
  onboarding_state: {
226
226
  selected_config_choice: "create-new" | "link-existing";
227
227
  selected_apps: string[];
228
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
228
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
229
229
  selected_email_theme_id: string | null;
230
230
  selected_payments_country: "US" | "OTHER";
231
231
  } | null | undefined;
@@ -236,8 +236,12 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
236
236
  facebook_config_id?: string | undefined;
237
237
  microsoft_tenant_id?: string | undefined;
238
238
  apple_bundle_ids?: string[] | undefined;
239
- type: "shared" | "standard";
240
239
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
240
+ type: "shared" | "standard";
241
+ }[] | undefined;
242
+ domains?: {
243
+ domain: string;
244
+ handler_path: string;
241
245
  }[] | undefined;
242
246
  allow_localhost?: boolean | undefined;
243
247
  sign_up_enabled?: boolean | undefined;
@@ -248,10 +252,6 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
248
252
  client_user_deletion_enabled?: boolean | undefined;
249
253
  allow_user_api_keys?: boolean | undefined;
250
254
  allow_team_api_keys?: boolean | undefined;
251
- domains?: {
252
- domain: string;
253
- handler_path: string;
254
- }[] | undefined;
255
255
  email_config?: {
256
256
  password?: string | undefined;
257
257
  host?: string | undefined;
@@ -305,7 +305,7 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
305
305
  onboarding_state: {
306
306
  selected_config_choice: "create-new" | "link-existing";
307
307
  selected_apps: string[];
308
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
308
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
309
309
  selected_email_theme_id: string | null;
310
310
  selected_payments_country: "US" | "OTHER";
311
311
  } | null | undefined;
@@ -316,8 +316,12 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
316
316
  facebook_config_id?: string | undefined;
317
317
  microsoft_tenant_id?: string | undefined;
318
318
  apple_bundle_ids?: string[] | undefined;
319
- type: "shared" | "standard";
320
319
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
320
+ type: "shared" | "standard";
321
+ }[] | undefined;
322
+ domains?: {
323
+ domain: string;
324
+ handler_path: string;
321
325
  }[] | undefined;
322
326
  allow_localhost?: boolean | undefined;
323
327
  sign_up_enabled?: boolean | undefined;
@@ -328,10 +332,6 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
328
332
  client_user_deletion_enabled?: boolean | undefined;
329
333
  allow_user_api_keys?: boolean | undefined;
330
334
  allow_team_api_keys?: boolean | undefined;
331
- domains?: {
332
- domain: string;
333
- handler_path: string;
334
- }[] | undefined;
335
335
  email_config?: {
336
336
  password?: string | undefined;
337
337
  host?: string | undefined;
@@ -391,6 +391,10 @@ declare const clientProjectsCrud: ______crud0.CrudSchemaFromOptions<{
391
391
  message: string;
392
392
  }[];
393
393
  config: {
394
+ domains: {
395
+ domain: string;
396
+ handler_path: string;
397
+ }[];
394
398
  allow_localhost: boolean;
395
399
  sign_up_enabled: boolean;
396
400
  credential_enabled: boolean;
@@ -403,10 +407,6 @@ declare const clientProjectsCrud: ______crud0.CrudSchemaFromOptions<{
403
407
  enabled_oauth_providers: {
404
408
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
405
409
  }[];
406
- domains: {
407
- domain: string;
408
- handler_path: string;
409
- }[];
410
410
  };
411
411
  }, yup$1.AnyObject, {
412
412
  id: undefined;
@@ -455,7 +455,7 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
455
455
  onboarding_state: {
456
456
  selected_config_choice: "create-new" | "link-existing";
457
457
  selected_apps: string[];
458
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
458
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
459
459
  selected_email_theme_id: string | null;
460
460
  selected_payments_country: "US" | "OTHER";
461
461
  } | null | undefined;
@@ -472,10 +472,14 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
472
472
  facebook_config_id?: string | undefined;
473
473
  microsoft_tenant_id?: string | undefined;
474
474
  apple_bundle_ids?: string[] | undefined;
475
- type: "shared" | "standard";
476
475
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
476
+ type: "shared" | "standard";
477
477
  provider_config_id: string;
478
478
  }[];
479
+ domains: {
480
+ domain: string;
481
+ handler_path: string;
482
+ }[];
479
483
  allow_localhost: boolean;
480
484
  sign_up_enabled: boolean;
481
485
  credential_enabled: boolean;
@@ -488,10 +492,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
488
492
  enabled_oauth_providers: {
489
493
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
490
494
  }[];
491
- domains: {
492
- domain: string;
493
- handler_path: string;
494
- }[];
495
495
  email_config: {
496
496
  password?: string | undefined;
497
497
  host?: string | undefined;
@@ -580,7 +580,7 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
580
580
  onboarding_state: {
581
581
  selected_config_choice: "create-new" | "link-existing";
582
582
  selected_apps: string[];
583
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
583
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
584
584
  selected_email_theme_id: string | null;
585
585
  selected_payments_country: "US" | "OTHER";
586
586
  } | null | undefined;
@@ -591,8 +591,12 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
591
591
  facebook_config_id?: string | undefined;
592
592
  microsoft_tenant_id?: string | undefined;
593
593
  apple_bundle_ids?: string[] | undefined;
594
- type: "shared" | "standard";
595
594
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
595
+ type: "shared" | "standard";
596
+ }[] | undefined;
597
+ domains?: {
598
+ domain: string;
599
+ handler_path: string;
596
600
  }[] | undefined;
597
601
  allow_localhost?: boolean | undefined;
598
602
  sign_up_enabled?: boolean | undefined;
@@ -603,10 +607,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
603
607
  client_user_deletion_enabled?: boolean | undefined;
604
608
  allow_user_api_keys?: boolean | undefined;
605
609
  allow_team_api_keys?: boolean | undefined;
606
- domains?: {
607
- domain: string;
608
- handler_path: string;
609
- }[] | undefined;
610
610
  email_config?: {
611
611
  password?: string | undefined;
612
612
  host?: string | undefined;
@@ -688,7 +688,7 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
688
688
  onboarding_state: {
689
689
  selected_config_choice: "create-new" | "link-existing";
690
690
  selected_apps: string[];
691
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
691
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
692
692
  selected_email_theme_id: string | null;
693
693
  selected_payments_country: "US" | "OTHER";
694
694
  } | null | undefined;
@@ -705,10 +705,14 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
705
705
  facebook_config_id?: string | undefined;
706
706
  microsoft_tenant_id?: string | undefined;
707
707
  apple_bundle_ids?: string[] | undefined;
708
- type: "shared" | "standard";
709
708
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
709
+ type: "shared" | "standard";
710
710
  provider_config_id: string;
711
711
  }[];
712
+ domains: {
713
+ domain: string;
714
+ handler_path: string;
715
+ }[];
712
716
  allow_localhost: boolean;
713
717
  sign_up_enabled: boolean;
714
718
  credential_enabled: boolean;
@@ -721,10 +725,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
721
725
  enabled_oauth_providers: {
722
726
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
723
727
  }[];
724
- domains: {
725
- domain: string;
726
- handler_path: string;
727
- }[];
728
728
  email_config: {
729
729
  password?: string | undefined;
730
730
  host?: string | undefined;
@@ -813,7 +813,7 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
813
813
  onboarding_state: {
814
814
  selected_config_choice: "create-new" | "link-existing";
815
815
  selected_apps: string[];
816
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
816
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
817
817
  selected_email_theme_id: string | null;
818
818
  selected_payments_country: "US" | "OTHER";
819
819
  } | null | undefined;
@@ -824,8 +824,12 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
824
824
  facebook_config_id?: string | undefined;
825
825
  microsoft_tenant_id?: string | undefined;
826
826
  apple_bundle_ids?: string[] | undefined;
827
- type: "shared" | "standard";
828
827
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
828
+ type: "shared" | "standard";
829
+ }[] | undefined;
830
+ domains?: {
831
+ domain: string;
832
+ handler_path: string;
829
833
  }[] | undefined;
830
834
  allow_localhost?: boolean | undefined;
831
835
  sign_up_enabled?: boolean | undefined;
@@ -836,10 +840,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
836
840
  client_user_deletion_enabled?: boolean | undefined;
837
841
  allow_user_api_keys?: boolean | undefined;
838
842
  allow_team_api_keys?: boolean | undefined;
839
- domains?: {
840
- domain: string;
841
- handler_path: string;
842
- }[] | undefined;
843
843
  email_config?: {
844
844
  password?: string | undefined;
845
845
  host?: string | 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;
24
25
  restricted_reason: {
25
26
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
26
27
  } | null;
27
28
  primary_email: string | null;
28
- selected_team_id: string | null;
29
- is_anonymous: boolean;
30
- is_restricted: boolean;
31
- requires_totp_mfa: boolean;
32
29
  display_name: string | null;
33
30
  client_metadata: {} | null;
34
31
  client_read_only_metadata: {} | null;
35
32
  server_metadata: {} | null;
36
- id: string;
33
+ selected_team_id: string | null;
34
+ is_anonymous: boolean;
35
+ is_restricted: boolean;
36
+ requires_totp_mfa: boolean;
37
+ country_code: string | null;
38
+ profile_image_url: string | null;
39
+ signed_up_at_millis: number;
40
+ last_active_at_millis: number;
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;
48
+ display_name: string;
47
49
  created_at_millis: number;
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;
147
148
  restricted_reason: {
148
149
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
149
150
  } | null;
150
151
  primary_email: string | null;
151
- selected_team_id: string | null;
152
- is_anonymous: boolean;
153
- is_restricted: boolean;
154
- requires_totp_mfa: boolean;
155
152
  display_name: string | null;
156
153
  client_metadata: {} | null;
157
154
  client_read_only_metadata: {} | null;
158
155
  server_metadata: {} | null;
159
- id: string;
156
+ selected_team_id: string | null;
157
+ is_anonymous: boolean;
158
+ is_restricted: boolean;
159
+ requires_totp_mfa: boolean;
160
+ country_code: string | null;
161
+ profile_image_url: string | null;
162
+ signed_up_at_millis: number;
163
+ last_active_at_millis: number;
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;
171
+ display_name: string;
170
172
  created_at_millis: number;
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;
@@ -58,8 +58,8 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
58
58
  }>;
59
59
  display_name: string;
60
60
  included_items: Record<string, {
61
- quantity?: number | undefined;
62
61
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
62
+ quantity?: number | undefined;
63
63
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
64
64
  }>;
65
65
  };
@@ -142,8 +142,8 @@ declare const transactionSchema: yup$1.ObjectSchema<{
142
142
  }>;
143
143
  display_name: string;
144
144
  included_items: Record<string, {
145
- quantity?: number | undefined;
146
145
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
146
+ quantity?: number | undefined;
147
147
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
148
148
  }>;
149
149
  };
@@ -81,10 +81,10 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
81
81
  client_metadata?: {} | null | undefined;
82
82
  client_read_only_metadata?: {} | null | undefined;
83
83
  server_metadata?: {} | null | undefined;
84
- display_name: string;
85
84
  id: string;
86
- profile_image_url: string | null;
85
+ display_name: string;
87
86
  created_at_millis: number;
87
+ profile_image_url: string | null;
88
88
  } | null;
89
89
  selected_team_id: string | null;
90
90
  profile_image_url: string | null;
@@ -164,33 +164,33 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
164
164
  }, "">;
165
165
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
166
166
  primary_email: string | null | undefined;
167
- is_anonymous: boolean | undefined;
168
167
  display_name: string | null | undefined;
169
168
  client_metadata: {} | null | undefined;
170
169
  client_read_only_metadata: {} | null | undefined;
171
170
  server_metadata: {} | null | undefined;
171
+ is_anonymous: boolean | undefined;
172
+ password: string | null | undefined;
173
+ country_code: string | null | undefined;
174
+ profile_image_url: string | null | undefined;
172
175
  primary_email_verified: boolean | undefined;
173
176
  primary_email_auth_enabled: boolean | undefined;
174
- profile_image_url: string | null | undefined;
175
177
  otp_auth_enabled: boolean | undefined;
176
178
  passkey_auth_enabled: boolean | undefined;
177
179
  restricted_by_admin: boolean | undefined;
178
180
  restricted_by_admin_reason: string | null | undefined;
179
181
  restricted_by_admin_private_details: string | null | undefined;
180
- country_code: string | null | undefined;
181
182
  risk_scores: {
182
183
  sign_up: {
183
184
  bot: number;
184
185
  free_trial_abuse: number;
185
186
  };
186
187
  } | undefined;
187
- password: string | null | undefined;
188
188
  password_hash: string | undefined;
189
189
  totp_secret_base64: string | null | undefined;
190
190
  } & {
191
191
  oauth_providers: {
192
- email: string | null;
193
192
  id: string;
193
+ email: string | null;
194
194
  account_id: string;
195
195
  }[] | undefined;
196
196
  is_anonymous: boolean | undefined;
@@ -234,10 +234,10 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
234
234
  client_metadata?: {} | null | undefined;
235
235
  client_read_only_metadata?: {} | null | undefined;
236
236
  server_metadata?: {} | null | undefined;
237
- display_name: string;
238
237
  id: string;
239
- profile_image_url: string | null;
238
+ display_name: string;
240
239
  created_at_millis: number;
240
+ profile_image_url: string | null;
241
241
  } | null;
242
242
  selected_team_id: string | null;
243
243
  profile_image_url: string | null;
@@ -370,33 +370,33 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
370
370
  }, "">;
371
371
  serverCreateSchema: yup$1.ObjectSchema<{
372
372
  primary_email: string | null | undefined;
373
- is_anonymous: boolean | undefined;
374
373
  display_name: string | null | undefined;
375
374
  client_metadata: {} | null | undefined;
376
375
  client_read_only_metadata: {} | null | undefined;
377
376
  server_metadata: {} | null | undefined;
377
+ is_anonymous: boolean | undefined;
378
+ password: string | null | undefined;
379
+ country_code: string | null | undefined;
380
+ profile_image_url: string | null | undefined;
378
381
  primary_email_verified: boolean | undefined;
379
382
  primary_email_auth_enabled: boolean | undefined;
380
- profile_image_url: string | null | undefined;
381
383
  otp_auth_enabled: boolean | undefined;
382
384
  passkey_auth_enabled: boolean | undefined;
383
385
  restricted_by_admin: boolean | undefined;
384
386
  restricted_by_admin_reason: string | null | undefined;
385
387
  restricted_by_admin_private_details: string | null | undefined;
386
- country_code: string | null | undefined;
387
388
  risk_scores: {
388
389
  sign_up: {
389
390
  bot: number;
390
391
  free_trial_abuse: number;
391
392
  };
392
393
  } | undefined;
393
- password: string | null | undefined;
394
394
  password_hash: string | undefined;
395
395
  totp_secret_base64: string | null | undefined;
396
396
  } & {
397
397
  oauth_providers: {
398
- email: string | null;
399
398
  id: string;
399
+ email: string | null;
400
400
  account_id: string;
401
401
  }[] | undefined;
402
402
  is_anonymous: boolean | undefined;
@@ -468,10 +468,10 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
468
468
  client_metadata?: {} | null | undefined;
469
469
  client_read_only_metadata?: {} | null | undefined;
470
470
  server_metadata?: {} | null | undefined;
471
- display_name: string;
472
471
  id: string;
473
- profile_image_url: string | null;
472
+ display_name: string;
474
473
  created_at_millis: number;
474
+ profile_image_url: string | null;
475
475
  } | null;
476
476
  selected_team_id: string | null;
477
477
  profile_image_url: string | null;
@@ -559,10 +559,10 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
559
559
  client_metadata?: {} | null | undefined;
560
560
  client_read_only_metadata?: {} | null | undefined;
561
561
  server_metadata?: {} | null | undefined;
562
- display_name: string;
563
562
  id: string;
564
- profile_image_url: string | null;
563
+ display_name: string;
565
564
  created_at_millis: number;
565
+ profile_image_url: string | null;
566
566
  } | null;
567
567
  selected_team_id: string | null;
568
568
  profile_image_url: string | null;
@@ -20,10 +20,10 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
20
20
  client_metadata?: {} | null | undefined;
21
21
  client_read_only_metadata?: {} | null | undefined;
22
22
  server_metadata?: {} | null | undefined;
23
- display_name: string;
24
23
  id: string;
25
- profile_image_url: string | null;
24
+ display_name: string;
26
25
  created_at_millis: number;
26
+ profile_image_url: string | null;
27
27
  } | null;
28
28
  selected_team_id: string | null;
29
29
  profile_image_url: string | null;
@@ -110,10 +110,10 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
110
110
  client_metadata?: {} | null | undefined;
111
111
  client_read_only_metadata?: {} | null | undefined;
112
112
  server_metadata?: {} | null | undefined;
113
- display_name: string;
114
113
  id: string;
115
- profile_image_url: string | null;
114
+ display_name: string;
116
115
  created_at_millis: number;
116
+ profile_image_url: string | null;
117
117
  } | null;
118
118
  selected_team_id: string | null;
119
119
  profile_image_url: string | null;
@@ -314,8 +314,8 @@ declare const inlineProductSchema: yup$1.ObjectSchema<{
314
314
  free_trial?: DayInterval | undefined;
315
315
  }>;
316
316
  included_items: Record<string, {
317
- quantity?: number | undefined;
318
317
  repeat?: "never" | DayInterval | undefined;
318
+ quantity?: number | undefined;
319
319
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
320
320
  }>;
321
321
  client_metadata: {} | null | undefined;