@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" | 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" | 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" | 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?: 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" | 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: {
@@ -78,10 +78,10 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
78
78
  is_public: undefined;
79
79
  user_id: undefined;
80
80
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
81
- user_id: string;
81
+ id: string;
82
82
  type: "user";
83
+ user_id: string;
83
84
  description: string;
84
- id: string;
85
85
  created_at_millis: number;
86
86
  expires_at_millis: number | undefined;
87
87
  manually_revoked_at_millis: number | undefined;
@@ -176,10 +176,10 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
176
176
  is_public: undefined;
177
177
  team_id: undefined;
178
178
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
179
+ id: string;
179
180
  type: "team";
180
181
  team_id: string;
181
182
  description: string;
182
- id: string;
183
183
  created_at_millis: number;
184
184
  expires_at_millis: number | undefined;
185
185
  manually_revoked_at_millis: number | undefined;
@@ -51,7 +51,7 @@ 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" | "credential" | "magicLink" | "passkey")[];
54
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
55
55
  selected_email_theme_id: string | null;
56
56
  selected_payments_country: "US" | "OTHER";
57
57
  } | null | undefined;
@@ -68,10 +68,14 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
68
68
  facebook_config_id?: string | undefined;
69
69
  microsoft_tenant_id?: string | undefined;
70
70
  apple_bundle_ids?: string[] | undefined;
71
- type: "shared" | "standard";
72
71
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
72
+ type: "shared" | "standard";
73
73
  provider_config_id: string;
74
74
  }[];
75
+ domains: {
76
+ domain: string;
77
+ handler_path: string;
78
+ }[];
75
79
  allow_localhost: boolean;
76
80
  sign_up_enabled: boolean;
77
81
  credential_enabled: boolean;
@@ -84,10 +88,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
84
88
  enabled_oauth_providers: {
85
89
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
86
90
  }[];
87
- domains: {
88
- domain: string;
89
- handler_path: string;
90
- }[];
91
91
  email_config: {
92
92
  password?: string | undefined;
93
93
  host?: string | undefined;
@@ -174,6 +174,10 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
174
174
  message: string;
175
175
  }[];
176
176
  config: {
177
+ domains: {
178
+ domain: string;
179
+ handler_path: string;
180
+ }[];
177
181
  allow_localhost: boolean;
178
182
  sign_up_enabled: boolean;
179
183
  credential_enabled: boolean;
@@ -186,10 +190,6 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
186
190
  enabled_oauth_providers: {
187
191
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
188
192
  }[];
189
- domains: {
190
- domain: string;
191
- handler_path: string;
192
- }[];
193
193
  };
194
194
  }, yup$1.AnyObject, {
195
195
  id: undefined;
@@ -224,7 +224,7 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
224
224
  onboarding_state: {
225
225
  selected_config_choice: "create-new" | "link-existing";
226
226
  selected_apps: string[];
227
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
227
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
228
228
  selected_email_theme_id: string | null;
229
229
  selected_payments_country: "US" | "OTHER";
230
230
  } | null | undefined;
@@ -235,8 +235,12 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
235
235
  facebook_config_id?: string | undefined;
236
236
  microsoft_tenant_id?: string | undefined;
237
237
  apple_bundle_ids?: string[] | undefined;
238
- type: "shared" | "standard";
239
238
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
239
+ type: "shared" | "standard";
240
+ }[] | undefined;
241
+ domains?: {
242
+ domain: string;
243
+ handler_path: string;
240
244
  }[] | undefined;
241
245
  allow_localhost?: boolean | undefined;
242
246
  sign_up_enabled?: boolean | undefined;
@@ -247,10 +251,6 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
247
251
  client_user_deletion_enabled?: boolean | undefined;
248
252
  allow_user_api_keys?: boolean | undefined;
249
253
  allow_team_api_keys?: boolean | undefined;
250
- domains?: {
251
- domain: string;
252
- handler_path: string;
253
- }[] | undefined;
254
254
  email_config?: {
255
255
  password?: string | undefined;
256
256
  host?: string | undefined;
@@ -304,7 +304,7 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
304
304
  onboarding_state: {
305
305
  selected_config_choice: "create-new" | "link-existing";
306
306
  selected_apps: string[];
307
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
307
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
308
308
  selected_email_theme_id: string | null;
309
309
  selected_payments_country: "US" | "OTHER";
310
310
  } | null | undefined;
@@ -315,8 +315,12 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
315
315
  facebook_config_id?: string | undefined;
316
316
  microsoft_tenant_id?: string | undefined;
317
317
  apple_bundle_ids?: string[] | undefined;
318
- type: "shared" | "standard";
319
318
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
319
+ type: "shared" | "standard";
320
+ }[] | undefined;
321
+ domains?: {
322
+ domain: string;
323
+ handler_path: string;
320
324
  }[] | undefined;
321
325
  allow_localhost?: boolean | undefined;
322
326
  sign_up_enabled?: boolean | undefined;
@@ -327,10 +331,6 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
327
331
  client_user_deletion_enabled?: boolean | undefined;
328
332
  allow_user_api_keys?: boolean | undefined;
329
333
  allow_team_api_keys?: boolean | undefined;
330
- domains?: {
331
- domain: string;
332
- handler_path: string;
333
- }[] | undefined;
334
334
  email_config?: {
335
335
  password?: string | undefined;
336
336
  host?: string | undefined;
@@ -390,6 +390,10 @@ declare const clientProjectsCrud: CrudSchemaFromOptions<{
390
390
  message: string;
391
391
  }[];
392
392
  config: {
393
+ domains: {
394
+ domain: string;
395
+ handler_path: string;
396
+ }[];
393
397
  allow_localhost: boolean;
394
398
  sign_up_enabled: boolean;
395
399
  credential_enabled: boolean;
@@ -402,10 +406,6 @@ declare const clientProjectsCrud: CrudSchemaFromOptions<{
402
406
  enabled_oauth_providers: {
403
407
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
404
408
  }[];
405
- domains: {
406
- domain: string;
407
- handler_path: string;
408
- }[];
409
409
  };
410
410
  }, yup$1.AnyObject, {
411
411
  id: undefined;
@@ -454,7 +454,7 @@ declare const projectsCrud: CrudSchemaFromOptions<{
454
454
  onboarding_state: {
455
455
  selected_config_choice: "create-new" | "link-existing";
456
456
  selected_apps: string[];
457
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
457
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
458
458
  selected_email_theme_id: string | null;
459
459
  selected_payments_country: "US" | "OTHER";
460
460
  } | null | undefined;
@@ -471,10 +471,14 @@ declare const projectsCrud: CrudSchemaFromOptions<{
471
471
  facebook_config_id?: string | undefined;
472
472
  microsoft_tenant_id?: string | undefined;
473
473
  apple_bundle_ids?: string[] | undefined;
474
- type: "shared" | "standard";
475
474
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
475
+ type: "shared" | "standard";
476
476
  provider_config_id: string;
477
477
  }[];
478
+ domains: {
479
+ domain: string;
480
+ handler_path: string;
481
+ }[];
478
482
  allow_localhost: boolean;
479
483
  sign_up_enabled: boolean;
480
484
  credential_enabled: boolean;
@@ -487,10 +491,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
487
491
  enabled_oauth_providers: {
488
492
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
489
493
  }[];
490
- domains: {
491
- domain: string;
492
- handler_path: string;
493
- }[];
494
494
  email_config: {
495
495
  password?: string | undefined;
496
496
  host?: string | undefined;
@@ -579,7 +579,7 @@ declare const projectsCrud: CrudSchemaFromOptions<{
579
579
  onboarding_state: {
580
580
  selected_config_choice: "create-new" | "link-existing";
581
581
  selected_apps: string[];
582
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
582
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
583
583
  selected_email_theme_id: string | null;
584
584
  selected_payments_country: "US" | "OTHER";
585
585
  } | null | undefined;
@@ -590,8 +590,12 @@ declare const projectsCrud: CrudSchemaFromOptions<{
590
590
  facebook_config_id?: string | undefined;
591
591
  microsoft_tenant_id?: string | undefined;
592
592
  apple_bundle_ids?: string[] | undefined;
593
- type: "shared" | "standard";
594
593
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
594
+ type: "shared" | "standard";
595
+ }[] | undefined;
596
+ domains?: {
597
+ domain: string;
598
+ handler_path: string;
595
599
  }[] | undefined;
596
600
  allow_localhost?: boolean | undefined;
597
601
  sign_up_enabled?: boolean | undefined;
@@ -602,10 +606,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
602
606
  client_user_deletion_enabled?: boolean | undefined;
603
607
  allow_user_api_keys?: boolean | undefined;
604
608
  allow_team_api_keys?: boolean | undefined;
605
- domains?: {
606
- domain: string;
607
- handler_path: string;
608
- }[] | undefined;
609
609
  email_config?: {
610
610
  password?: string | undefined;
611
611
  host?: string | undefined;
@@ -687,7 +687,7 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
687
687
  onboarding_state: {
688
688
  selected_config_choice: "create-new" | "link-existing";
689
689
  selected_apps: string[];
690
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
690
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
691
691
  selected_email_theme_id: string | null;
692
692
  selected_payments_country: "US" | "OTHER";
693
693
  } | null | undefined;
@@ -704,10 +704,14 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
704
704
  facebook_config_id?: string | undefined;
705
705
  microsoft_tenant_id?: string | undefined;
706
706
  apple_bundle_ids?: string[] | undefined;
707
- type: "shared" | "standard";
708
707
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
708
+ type: "shared" | "standard";
709
709
  provider_config_id: string;
710
710
  }[];
711
+ domains: {
712
+ domain: string;
713
+ handler_path: string;
714
+ }[];
711
715
  allow_localhost: boolean;
712
716
  sign_up_enabled: boolean;
713
717
  credential_enabled: boolean;
@@ -720,10 +724,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
720
724
  enabled_oauth_providers: {
721
725
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
722
726
  }[];
723
- domains: {
724
- domain: string;
725
- handler_path: string;
726
- }[];
727
727
  email_config: {
728
728
  password?: string | undefined;
729
729
  host?: string | undefined;
@@ -812,7 +812,7 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
812
812
  onboarding_state: {
813
813
  selected_config_choice: "create-new" | "link-existing";
814
814
  selected_apps: string[];
815
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
815
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
816
816
  selected_email_theme_id: string | null;
817
817
  selected_payments_country: "US" | "OTHER";
818
818
  } | null | undefined;
@@ -823,8 +823,12 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
823
823
  facebook_config_id?: string | undefined;
824
824
  microsoft_tenant_id?: string | undefined;
825
825
  apple_bundle_ids?: string[] | undefined;
826
- type: "shared" | "standard";
827
826
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
827
+ type: "shared" | "standard";
828
+ }[] | undefined;
829
+ domains?: {
830
+ domain: string;
831
+ handler_path: string;
828
832
  }[] | undefined;
829
833
  allow_localhost?: boolean | undefined;
830
834
  sign_up_enabled?: boolean | undefined;
@@ -835,10 +839,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
835
839
  client_user_deletion_enabled?: boolean | undefined;
836
840
  allow_user_api_keys?: boolean | undefined;
837
841
  allow_team_api_keys?: boolean | undefined;
838
- domains?: {
839
- domain: string;
840
- handler_path: string;
841
- }[] | undefined;
842
842
  email_config?: {
843
843
  password?: string | undefined;
844
844
  host?: string | 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;
23
24
  restricted_reason: {
24
25
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
25
26
  } | null;
26
27
  primary_email: string | null;
27
- selected_team_id: string | null;
28
- is_anonymous: boolean;
29
- is_restricted: boolean;
30
- requires_totp_mfa: boolean;
31
28
  display_name: string | null;
32
29
  client_metadata: {} | null;
33
30
  client_read_only_metadata: {} | null;
34
31
  server_metadata: {} | null;
35
- id: string;
32
+ selected_team_id: string | null;
33
+ is_anonymous: boolean;
34
+ is_restricted: boolean;
35
+ requires_totp_mfa: boolean;
36
+ country_code: string | null;
37
+ profile_image_url: string | null;
38
+ signed_up_at_millis: number;
39
+ last_active_at_millis: number;
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;
47
+ display_name: string;
46
48
  created_at_millis: number;
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;
146
147
  restricted_reason: {
147
148
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
148
149
  } | null;
149
150
  primary_email: string | null;
150
- selected_team_id: string | null;
151
- is_anonymous: boolean;
152
- is_restricted: boolean;
153
- requires_totp_mfa: boolean;
154
151
  display_name: string | null;
155
152
  client_metadata: {} | null;
156
153
  client_read_only_metadata: {} | null;
157
154
  server_metadata: {} | null;
158
- id: string;
155
+ selected_team_id: string | null;
156
+ is_anonymous: boolean;
157
+ is_restricted: boolean;
158
+ requires_totp_mfa: boolean;
159
+ country_code: string | null;
160
+ profile_image_url: string | null;
161
+ signed_up_at_millis: number;
162
+ last_active_at_millis: number;
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;
170
+ display_name: string;
169
171
  created_at_millis: number;
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;
@@ -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" | 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" | DayInterval | undefined;
146
+ quantity?: number | undefined;
147
147
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
148
148
  }>;
149
149
  };
@@ -80,10 +80,10 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
80
80
  client_metadata?: {} | null | undefined;
81
81
  client_read_only_metadata?: {} | null | undefined;
82
82
  server_metadata?: {} | null | undefined;
83
- display_name: string;
84
83
  id: string;
85
- profile_image_url: string | null;
84
+ display_name: string;
86
85
  created_at_millis: number;
86
+ profile_image_url: string | null;
87
87
  } | null;
88
88
  selected_team_id: string | null;
89
89
  profile_image_url: string | null;
@@ -163,33 +163,33 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
163
163
  }, "">;
164
164
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
165
165
  primary_email: string | null | undefined;
166
- is_anonymous: boolean | undefined;
167
166
  display_name: string | null | undefined;
168
167
  client_metadata: {} | null | undefined;
169
168
  client_read_only_metadata: {} | null | undefined;
170
169
  server_metadata: {} | null | undefined;
170
+ is_anonymous: boolean | undefined;
171
+ password: string | null | undefined;
172
+ country_code: string | null | undefined;
173
+ profile_image_url: string | null | undefined;
171
174
  primary_email_verified: boolean | undefined;
172
175
  primary_email_auth_enabled: boolean | undefined;
173
- profile_image_url: string | null | undefined;
174
176
  otp_auth_enabled: boolean | undefined;
175
177
  passkey_auth_enabled: boolean | undefined;
176
178
  restricted_by_admin: boolean | undefined;
177
179
  restricted_by_admin_reason: string | null | undefined;
178
180
  restricted_by_admin_private_details: string | null | undefined;
179
- country_code: string | null | undefined;
180
181
  risk_scores: {
181
182
  sign_up: {
182
183
  bot: number;
183
184
  free_trial_abuse: number;
184
185
  };
185
186
  } | undefined;
186
- password: string | null | undefined;
187
187
  password_hash: string | undefined;
188
188
  totp_secret_base64: string | null | undefined;
189
189
  } & {
190
190
  oauth_providers: {
191
- email: string | null;
192
191
  id: string;
192
+ email: string | null;
193
193
  account_id: string;
194
194
  }[] | undefined;
195
195
  is_anonymous: boolean | undefined;
@@ -233,10 +233,10 @@ declare const usersCrud: CrudSchemaFromOptions<{
233
233
  client_metadata?: {} | null | undefined;
234
234
  client_read_only_metadata?: {} | null | undefined;
235
235
  server_metadata?: {} | null | undefined;
236
- display_name: string;
237
236
  id: string;
238
- profile_image_url: string | null;
237
+ display_name: string;
239
238
  created_at_millis: number;
239
+ profile_image_url: string | null;
240
240
  } | null;
241
241
  selected_team_id: string | null;
242
242
  profile_image_url: string | null;
@@ -369,33 +369,33 @@ declare const usersCrud: CrudSchemaFromOptions<{
369
369
  }, "">;
370
370
  serverCreateSchema: yup$1.ObjectSchema<{
371
371
  primary_email: string | null | undefined;
372
- is_anonymous: boolean | undefined;
373
372
  display_name: string | null | undefined;
374
373
  client_metadata: {} | null | undefined;
375
374
  client_read_only_metadata: {} | null | undefined;
376
375
  server_metadata: {} | null | undefined;
376
+ is_anonymous: boolean | undefined;
377
+ password: string | null | undefined;
378
+ country_code: string | null | undefined;
379
+ profile_image_url: string | null | undefined;
377
380
  primary_email_verified: boolean | undefined;
378
381
  primary_email_auth_enabled: boolean | undefined;
379
- profile_image_url: string | null | undefined;
380
382
  otp_auth_enabled: boolean | undefined;
381
383
  passkey_auth_enabled: boolean | undefined;
382
384
  restricted_by_admin: boolean | undefined;
383
385
  restricted_by_admin_reason: string | null | undefined;
384
386
  restricted_by_admin_private_details: string | null | undefined;
385
- country_code: string | null | undefined;
386
387
  risk_scores: {
387
388
  sign_up: {
388
389
  bot: number;
389
390
  free_trial_abuse: number;
390
391
  };
391
392
  } | undefined;
392
- password: string | null | undefined;
393
393
  password_hash: string | undefined;
394
394
  totp_secret_base64: string | null | undefined;
395
395
  } & {
396
396
  oauth_providers: {
397
- email: string | null;
398
397
  id: string;
398
+ email: string | null;
399
399
  account_id: string;
400
400
  }[] | undefined;
401
401
  is_anonymous: boolean | undefined;
@@ -467,10 +467,10 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
467
467
  client_metadata?: {} | null | undefined;
468
468
  client_read_only_metadata?: {} | null | undefined;
469
469
  server_metadata?: {} | null | undefined;
470
- display_name: string;
471
470
  id: string;
472
- profile_image_url: string | null;
471
+ display_name: string;
473
472
  created_at_millis: number;
473
+ profile_image_url: string | null;
474
474
  } | null;
475
475
  selected_team_id: string | null;
476
476
  profile_image_url: string | null;
@@ -558,10 +558,10 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
558
558
  client_metadata?: {} | null | undefined;
559
559
  client_read_only_metadata?: {} | null | undefined;
560
560
  server_metadata?: {} | null | undefined;
561
- display_name: string;
562
561
  id: string;
563
- profile_image_url: string | null;
562
+ display_name: string;
564
563
  created_at_millis: number;
564
+ profile_image_url: string | null;
565
565
  } | null;
566
566
  selected_team_id: string | null;
567
567
  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;