@hexclave/shared 1.0.39 → 1.0.41

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 (59) hide show
  1. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  2. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -0
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  4. package/dist/config/schema.d.ts +210 -210
  5. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  6. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -0
  7. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  8. package/dist/esm/config/schema.d.ts +210 -210
  9. package/dist/esm/interface/admin-interface.js +1 -1
  10. package/dist/esm/interface/admin-metrics.d.ts +19 -19
  11. package/dist/esm/interface/client-interface.js +1 -1
  12. package/dist/esm/interface/conversations.d.ts +7 -7
  13. package/dist/esm/interface/crud/current-user.d.ts +12 -12
  14. package/dist/esm/interface/crud/email-outbox.d.ts +226 -226
  15. package/dist/esm/interface/crud/products.d.ts +13 -13
  16. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  17. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  18. package/dist/esm/interface/crud/projects.d.ts +35 -35
  19. package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
  20. package/dist/esm/interface/crud/transactions.d.ts +6 -6
  21. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  22. package/dist/esm/interface/crud/users.d.ts +16 -16
  23. package/dist/esm/interface/plan-usage.d.ts +2 -2
  24. package/dist/esm/interface/server-interface.d.ts +1 -0
  25. package/dist/esm/interface/server-interface.d.ts.map +1 -1
  26. package/dist/esm/interface/server-interface.js +2 -1
  27. package/dist/esm/interface/server-interface.js.map +1 -1
  28. package/dist/esm/interface/webhooks.d.ts +2 -2
  29. package/dist/esm/known-errors.d.ts +2 -2
  30. package/dist/esm/schema-fields.d.ts +12 -12
  31. package/dist/esm/sessions.d.ts +5 -5
  32. package/dist/esm/utils/promises.js +1 -1
  33. package/dist/interface/admin-interface.js +1 -1
  34. package/dist/interface/admin-metrics.d.ts +19 -19
  35. package/dist/interface/client-interface.js +1 -1
  36. package/dist/interface/conversations.d.ts +7 -7
  37. package/dist/interface/crud/current-user.d.ts +12 -12
  38. package/dist/interface/crud/email-outbox.d.ts +226 -226
  39. package/dist/interface/crud/products.d.ts +13 -13
  40. package/dist/interface/crud/products.d.ts.map +1 -1
  41. package/dist/interface/crud/project-api-keys.d.ts +4 -4
  42. package/dist/interface/crud/projects.d.ts +35 -35
  43. package/dist/interface/crud/team-member-profiles.d.ts +24 -24
  44. package/dist/interface/crud/transactions.d.ts +6 -6
  45. package/dist/interface/crud/transactions.d.ts.map +1 -1
  46. package/dist/interface/crud/users.d.ts +16 -16
  47. package/dist/interface/plan-usage.d.ts +2 -2
  48. package/dist/interface/server-interface.d.ts +1 -0
  49. package/dist/interface/server-interface.d.ts.map +1 -1
  50. package/dist/interface/server-interface.js +2 -1
  51. package/dist/interface/server-interface.js.map +1 -1
  52. package/dist/interface/webhooks.d.ts +2 -2
  53. package/dist/known-errors.d.ts +2 -2
  54. package/dist/schema-fields.d.ts +12 -12
  55. package/dist/sessions.d.ts +5 -5
  56. package/dist/utils/promises.js +1 -1
  57. package/package.json +1 -1
  58. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1 -0
  59. package/src/interface/server-interface.ts +2 -0
@@ -6,15 +6,16 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
6
6
  id: string | null;
7
7
  quantity: number;
8
8
  product: {
9
- free_trial?: DayInterval | undefined;
10
9
  client_metadata?: {} | null | undefined;
11
10
  client_read_only_metadata?: {} | null | undefined;
12
11
  server_metadata?: {} | null | undefined;
13
- display_name: string;
12
+ free_trial?: DayInterval | undefined;
14
13
  server_only: boolean;
15
14
  customer_type: "team" | "user" | "custom";
15
+ display_name: string;
16
16
  stackable: boolean;
17
17
  prices: Record<string, {
18
+ interval?: DayInterval | undefined;
18
19
  USD?: string | undefined;
19
20
  EUR?: string | undefined;
20
21
  GBP?: string | undefined;
@@ -22,7 +23,6 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
22
23
  INR?: string | undefined;
23
24
  AUD?: string | undefined;
24
25
  CAD?: string | undefined;
25
- interval?: DayInterval | undefined;
26
26
  free_trial?: DayInterval | undefined;
27
27
  }>;
28
28
  included_items: Record<string, {
@@ -41,15 +41,16 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
41
41
  switch_options: {
42
42
  product_id: string;
43
43
  product: {
44
- free_trial?: DayInterval | undefined;
45
44
  client_metadata?: {} | null | undefined;
46
45
  client_read_only_metadata?: {} | null | undefined;
47
46
  server_metadata?: {} | null | undefined;
48
- display_name: string;
47
+ free_trial?: DayInterval | undefined;
49
48
  server_only: boolean;
50
49
  customer_type: "team" | "user" | "custom";
50
+ display_name: string;
51
51
  stackable: boolean;
52
52
  prices: Record<string, {
53
+ interval?: DayInterval | undefined;
53
54
  USD?: string | undefined;
54
55
  EUR?: string | undefined;
55
56
  GBP?: string | undefined;
@@ -57,7 +58,6 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
57
58
  INR?: string | undefined;
58
59
  AUD?: string | undefined;
59
60
  CAD?: string | undefined;
60
- interval?: DayInterval | undefined;
61
61
  free_trial?: DayInterval | undefined;
62
62
  }>;
63
63
  included_items: Record<string, {
@@ -104,15 +104,16 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
104
104
  switch_options?: {
105
105
  product_id: string;
106
106
  product: {
107
- free_trial?: DayInterval | undefined;
108
107
  client_metadata?: {} | null | undefined;
109
108
  client_read_only_metadata?: {} | null | undefined;
110
109
  server_metadata?: {} | null | undefined;
111
- display_name: string;
110
+ free_trial?: DayInterval | undefined;
112
111
  server_only: boolean;
113
112
  customer_type: "team" | "user" | "custom";
113
+ display_name: string;
114
114
  stackable: boolean;
115
115
  prices: Record<string, {
116
+ interval?: DayInterval | undefined;
116
117
  USD?: string | undefined;
117
118
  EUR?: string | undefined;
118
119
  GBP?: string | undefined;
@@ -120,7 +121,6 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
120
121
  INR?: string | undefined;
121
122
  AUD?: string | undefined;
122
123
  CAD?: string | undefined;
123
- interval?: DayInterval | undefined;
124
124
  free_trial?: DayInterval | undefined;
125
125
  }>;
126
126
  included_items: Record<string, {
@@ -130,18 +130,19 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
130
130
  }>;
131
131
  };
132
132
  }[] | undefined;
133
- id: string | null;
134
133
  quantity: number;
134
+ id: string | null;
135
135
  product: {
136
- free_trial?: DayInterval | undefined;
137
136
  client_metadata?: {} | null | undefined;
138
137
  client_read_only_metadata?: {} | null | undefined;
139
138
  server_metadata?: {} | null | undefined;
140
- display_name: string;
139
+ free_trial?: DayInterval | undefined;
141
140
  server_only: boolean;
142
141
  customer_type: "team" | "user" | "custom";
142
+ display_name: string;
143
143
  stackable: boolean;
144
144
  prices: Record<string, {
145
+ interval?: DayInterval | undefined;
145
146
  USD?: string | undefined;
146
147
  EUR?: string | undefined;
147
148
  GBP?: string | undefined;
@@ -149,7 +150,6 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
149
150
  INR?: string | undefined;
150
151
  AUD?: string | undefined;
151
152
  CAD?: string | undefined;
152
- interval?: DayInterval | undefined;
153
153
  free_trial?: DayInterval | undefined;
154
154
  }>;
155
155
  included_items: Record<string, {
@@ -1 +1 @@
1
- {"version":3,"file":"products.d.ts","names":[],"sources":["../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;iBAc1B,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;qBAMnC,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
1
+ {"version":3,"file":"products.d.ts","names":[],"sources":["../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;;;;iBAc1B,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;;;;qBAMnC,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
@@ -78,12 +78,12 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
78
78
  is_public: undefined;
79
79
  user_id: undefined;
80
80
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
81
+ user_id: string;
81
82
  type: "user";
82
83
  id: string;
84
+ description: string;
83
85
  created_at_millis: number;
84
86
  expires_at_millis: number | undefined;
85
- user_id: string;
86
- description: string;
87
87
  manually_revoked_at_millis: number | undefined;
88
88
  is_public: boolean;
89
89
  } & {
@@ -177,11 +177,11 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
177
177
  team_id: undefined;
178
178
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
179
179
  type: "team";
180
+ team_id: string;
180
181
  id: string;
182
+ description: string;
181
183
  created_at_millis: number;
182
184
  expires_at_millis: number | undefined;
183
- team_id: string;
184
- description: string;
185
185
  manually_revoked_at_millis: number | undefined;
186
186
  is_public: boolean;
187
187
  } & {
@@ -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" | "passkey" | "credential" | "magicLink")[];
54
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
55
55
  selected_email_theme_id: string | null;
56
56
  selected_payments_country: "US" | "OTHER";
57
57
  } | null | undefined;
@@ -62,10 +62,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
62
62
  message: string;
63
63
  }[];
64
64
  config: {
65
- domains: {
66
- domain: string;
67
- handler_path: string;
68
- }[];
69
65
  oauth_providers: {
70
66
  client_id?: string | undefined;
71
67
  client_secret?: string | undefined;
@@ -76,6 +72,10 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
76
72
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
77
73
  provider_config_id: string;
78
74
  }[];
75
+ domains: {
76
+ domain: string;
77
+ handler_path: string;
78
+ }[];
79
79
  allow_localhost: boolean;
80
80
  sign_up_enabled: boolean;
81
81
  credential_enabled: boolean;
@@ -224,15 +224,11 @@ 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" | "passkey" | "credential" | "magicLink")[];
227
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
228
228
  selected_email_theme_id: string | null;
229
229
  selected_payments_country: "US" | "OTHER";
230
230
  } | null | undefined;
231
231
  config: {
232
- domains?: {
233
- domain: string;
234
- handler_path: string;
235
- }[] | undefined;
236
232
  oauth_providers?: {
237
233
  client_id?: string | undefined;
238
234
  client_secret?: string | undefined;
@@ -242,6 +238,10 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
242
238
  type: "shared" | "standard";
243
239
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
244
240
  }[] | undefined;
241
+ domains?: {
242
+ domain: string;
243
+ handler_path: string;
244
+ }[] | undefined;
245
245
  allow_localhost?: boolean | undefined;
246
246
  sign_up_enabled?: boolean | undefined;
247
247
  credential_enabled?: boolean | undefined;
@@ -304,15 +304,11 @@ 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" | "passkey" | "credential" | "magicLink")[];
307
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
308
308
  selected_email_theme_id: string | null;
309
309
  selected_payments_country: "US" | "OTHER";
310
310
  } | null | undefined;
311
311
  config: {
312
- domains?: {
313
- domain: string;
314
- handler_path: string;
315
- }[] | undefined;
316
312
  oauth_providers?: {
317
313
  client_id?: string | undefined;
318
314
  client_secret?: string | undefined;
@@ -322,6 +318,10 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
322
318
  type: "shared" | "standard";
323
319
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
324
320
  }[] | undefined;
321
+ domains?: {
322
+ domain: string;
323
+ handler_path: string;
324
+ }[] | undefined;
325
325
  allow_localhost?: boolean | undefined;
326
326
  sign_up_enabled?: boolean | undefined;
327
327
  credential_enabled?: boolean | 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" | "passkey" | "credential" | "magicLink")[];
457
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
458
458
  selected_email_theme_id: string | null;
459
459
  selected_payments_country: "US" | "OTHER";
460
460
  } | null | undefined;
@@ -465,10 +465,6 @@ declare const projectsCrud: CrudSchemaFromOptions<{
465
465
  message: string;
466
466
  }[];
467
467
  config: {
468
- domains: {
469
- domain: string;
470
- handler_path: string;
471
- }[];
472
468
  oauth_providers: {
473
469
  client_id?: string | undefined;
474
470
  client_secret?: string | undefined;
@@ -479,6 +475,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
479
475
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
480
476
  provider_config_id: string;
481
477
  }[];
478
+ domains: {
479
+ domain: string;
480
+ handler_path: string;
481
+ }[];
482
482
  allow_localhost: boolean;
483
483
  sign_up_enabled: boolean;
484
484
  credential_enabled: boolean;
@@ -579,15 +579,11 @@ 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" | "passkey" | "credential" | "magicLink")[];
582
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
583
583
  selected_email_theme_id: string | null;
584
584
  selected_payments_country: "US" | "OTHER";
585
585
  } | null | undefined;
586
586
  config: {
587
- domains?: {
588
- domain: string;
589
- handler_path: string;
590
- }[] | undefined;
591
587
  oauth_providers?: {
592
588
  client_id?: string | undefined;
593
589
  client_secret?: string | undefined;
@@ -597,6 +593,10 @@ declare const projectsCrud: CrudSchemaFromOptions<{
597
593
  type: "shared" | "standard";
598
594
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
599
595
  }[] | undefined;
596
+ domains?: {
597
+ domain: string;
598
+ handler_path: string;
599
+ }[] | undefined;
600
600
  allow_localhost?: boolean | undefined;
601
601
  sign_up_enabled?: boolean | undefined;
602
602
  credential_enabled?: boolean | 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" | "passkey" | "credential" | "magicLink")[];
690
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
691
691
  selected_email_theme_id: string | null;
692
692
  selected_payments_country: "US" | "OTHER";
693
693
  } | null | undefined;
@@ -698,10 +698,6 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
698
698
  message: string;
699
699
  }[];
700
700
  config: {
701
- domains: {
702
- domain: string;
703
- handler_path: string;
704
- }[];
705
701
  oauth_providers: {
706
702
  client_id?: string | undefined;
707
703
  client_secret?: string | undefined;
@@ -712,6 +708,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
712
708
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
713
709
  provider_config_id: string;
714
710
  }[];
711
+ domains: {
712
+ domain: string;
713
+ handler_path: string;
714
+ }[];
715
715
  allow_localhost: boolean;
716
716
  sign_up_enabled: boolean;
717
717
  credential_enabled: boolean;
@@ -812,15 +812,11 @@ 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" | "passkey" | "credential" | "magicLink")[];
815
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
816
816
  selected_email_theme_id: string | null;
817
817
  selected_payments_country: "US" | "OTHER";
818
818
  } | null | undefined;
819
819
  config: {
820
- domains?: {
821
- domain: string;
822
- handler_path: string;
823
- }[] | undefined;
824
820
  oauth_providers?: {
825
821
  client_id?: string | undefined;
826
822
  client_secret?: string | undefined;
@@ -830,6 +826,10 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
830
826
  type: "shared" | "standard";
831
827
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
832
828
  }[] | undefined;
829
+ domains?: {
830
+ domain: string;
831
+ handler_path: string;
832
+ }[] | undefined;
833
833
  allow_localhost?: boolean | undefined;
834
834
  sign_up_enabled?: boolean | undefined;
835
835
  credential_enabled?: boolean | undefined;
@@ -20,40 +20,39 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
20
20
  profile_image_url: string | null;
21
21
  } & {
22
22
  user: {
23
- id: string;
24
- country_code: string | null;
25
- display_name: string | null;
26
- primary_email: string | null;
27
- profile_image_url: string | null;
28
- signed_up_at_millis: number;
29
- last_active_at_millis: number;
30
23
  restricted_reason: {
31
24
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
32
25
  } | null;
26
+ primary_email: string | null;
33
27
  client_metadata: {} | null;
34
28
  client_read_only_metadata: {} | null;
35
29
  server_metadata: {} | null;
36
- selected_team_id: string | null;
37
- is_anonymous: boolean;
38
- is_restricted: boolean;
39
- requires_totp_mfa: boolean;
30
+ id: string;
40
31
  primary_email_verified: boolean;
41
32
  primary_email_auth_enabled: boolean;
33
+ display_name: string | null;
34
+ profile_image_url: string | null;
42
35
  selected_team: {
43
36
  client_metadata?: {} | null | undefined;
44
37
  client_read_only_metadata?: {} | null | undefined;
45
38
  server_metadata?: {} | null | undefined;
46
39
  id: string;
47
- created_at_millis: number;
48
40
  display_name: string;
49
41
  profile_image_url: string | null;
42
+ created_at_millis: number;
50
43
  } | null;
44
+ selected_team_id: string | null;
45
+ signed_up_at_millis: number;
51
46
  has_password: boolean;
52
47
  otp_auth_enabled: boolean;
53
48
  passkey_auth_enabled: boolean;
49
+ last_active_at_millis: number;
50
+ is_anonymous: boolean;
51
+ is_restricted: boolean;
54
52
  restricted_by_admin: boolean;
55
53
  restricted_by_admin_reason: string | null;
56
54
  restricted_by_admin_private_details: string | null;
55
+ country_code: string | null;
57
56
  risk_scores: {
58
57
  sign_up: {
59
58
  bot: number;
@@ -66,6 +65,7 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
66
65
  account_id: string;
67
66
  }[];
68
67
  auth_with_email: boolean;
68
+ requires_totp_mfa: boolean;
69
69
  };
70
70
  }, yup$1.AnyObject, {
71
71
  team_id: undefined;
@@ -143,40 +143,39 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
143
143
  profile_image_url: string | null;
144
144
  } & {
145
145
  user: {
146
- id: string;
147
- country_code: string | null;
148
- display_name: string | null;
149
- primary_email: string | null;
150
- profile_image_url: string | null;
151
- signed_up_at_millis: number;
152
- last_active_at_millis: number;
153
146
  restricted_reason: {
154
147
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
155
148
  } | null;
149
+ primary_email: string | null;
156
150
  client_metadata: {} | null;
157
151
  client_read_only_metadata: {} | null;
158
152
  server_metadata: {} | null;
159
- selected_team_id: string | null;
160
- is_anonymous: boolean;
161
- is_restricted: boolean;
162
- requires_totp_mfa: boolean;
153
+ id: string;
163
154
  primary_email_verified: boolean;
164
155
  primary_email_auth_enabled: boolean;
156
+ display_name: string | null;
157
+ profile_image_url: string | null;
165
158
  selected_team: {
166
159
  client_metadata?: {} | null | undefined;
167
160
  client_read_only_metadata?: {} | null | undefined;
168
161
  server_metadata?: {} | null | undefined;
169
162
  id: string;
170
- created_at_millis: number;
171
163
  display_name: string;
172
164
  profile_image_url: string | null;
165
+ created_at_millis: number;
173
166
  } | null;
167
+ selected_team_id: string | null;
168
+ signed_up_at_millis: number;
174
169
  has_password: boolean;
175
170
  otp_auth_enabled: boolean;
176
171
  passkey_auth_enabled: boolean;
172
+ last_active_at_millis: number;
173
+ is_anonymous: boolean;
174
+ is_restricted: boolean;
177
175
  restricted_by_admin: boolean;
178
176
  restricted_by_admin_reason: string | null;
179
177
  restricted_by_admin_private_details: string | null;
178
+ country_code: string | null;
180
179
  risk_scores: {
181
180
  sign_up: {
182
181
  bot: number;
@@ -189,6 +188,7 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
189
188
  account_id: string;
190
189
  }[];
191
190
  auth_with_email: boolean;
191
+ requires_totp_mfa: boolean;
192
192
  };
193
193
  }, yup$1.AnyObject, {
194
194
  team_id: undefined;
@@ -38,15 +38,16 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
38
38
  quantity: number;
39
39
  customer_type: "team" | "user" | "custom";
40
40
  product: {
41
- free_trial?: DayInterval | undefined;
42
41
  client_metadata?: {} | null | undefined;
43
42
  client_read_only_metadata?: {} | null | undefined;
44
43
  server_metadata?: {} | null | undefined;
45
- display_name: string;
44
+ free_trial?: DayInterval | undefined;
46
45
  server_only: boolean;
47
46
  customer_type: "team" | "user" | "custom";
47
+ display_name: string;
48
48
  stackable: boolean;
49
49
  prices: Record<string, {
50
+ interval?: DayInterval | undefined;
50
51
  USD?: string | undefined;
51
52
  EUR?: string | undefined;
52
53
  GBP?: string | undefined;
@@ -54,7 +55,6 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
54
55
  INR?: string | undefined;
55
56
  AUD?: string | undefined;
56
57
  CAD?: string | undefined;
57
- interval?: DayInterval | undefined;
58
58
  free_trial?: DayInterval | undefined;
59
59
  }>;
60
60
  included_items: Record<string, {
@@ -122,15 +122,16 @@ declare const transactionSchema: yup$1.ObjectSchema<{
122
122
  quantity: number;
123
123
  customer_type: "team" | "user" | "custom";
124
124
  product: {
125
- free_trial?: DayInterval | undefined;
126
125
  client_metadata?: {} | null | undefined;
127
126
  client_read_only_metadata?: {} | null | undefined;
128
127
  server_metadata?: {} | null | undefined;
129
- display_name: string;
128
+ free_trial?: DayInterval | undefined;
130
129
  server_only: boolean;
131
130
  customer_type: "team" | "user" | "custom";
131
+ display_name: string;
132
132
  stackable: boolean;
133
133
  prices: Record<string, {
134
+ interval?: DayInterval | undefined;
134
135
  USD?: string | undefined;
135
136
  EUR?: string | undefined;
136
137
  GBP?: string | undefined;
@@ -138,7 +139,6 @@ declare const transactionSchema: yup$1.ObjectSchema<{
138
139
  INR?: string | undefined;
139
140
  AUD?: string | undefined;
140
141
  CAD?: string | undefined;
141
- interval?: DayInterval | undefined;
142
142
  free_trial?: DayInterval | undefined;
143
143
  }>;
144
144
  included_items: Record<string, {
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
1
+ {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
@@ -81,9 +81,9 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
81
81
  client_read_only_metadata?: {} | null | undefined;
82
82
  server_metadata?: {} | null | undefined;
83
83
  id: string;
84
- created_at_millis: number;
85
84
  display_name: string;
86
85
  profile_image_url: string | null;
86
+ created_at_millis: number;
87
87
  } | null;
88
88
  selected_team_id: string | null;
89
89
  profile_image_url: string | null;
@@ -162,34 +162,34 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
162
162
  requires_totp_mfa: undefined;
163
163
  }, "">;
164
164
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
165
- country_code: string | null | undefined;
166
- display_name: string | null | undefined;
167
165
  primary_email: string | null | undefined;
168
- profile_image_url: string | null | undefined;
169
166
  client_metadata: {} | null | undefined;
170
167
  client_read_only_metadata: {} | null | undefined;
171
168
  server_metadata: {} | null | undefined;
172
- is_anonymous: boolean | undefined;
173
- password: string | null | undefined;
174
169
  primary_email_verified: boolean | undefined;
175
170
  primary_email_auth_enabled: boolean | undefined;
171
+ display_name: string | null | undefined;
172
+ profile_image_url: string | null | undefined;
176
173
  otp_auth_enabled: boolean | undefined;
177
174
  passkey_auth_enabled: boolean | undefined;
175
+ is_anonymous: boolean | undefined;
178
176
  restricted_by_admin: boolean | undefined;
179
177
  restricted_by_admin_reason: string | null | undefined;
180
178
  restricted_by_admin_private_details: string | null | undefined;
179
+ country_code: string | null | undefined;
181
180
  risk_scores: {
182
181
  sign_up: {
183
182
  bot: number;
184
183
  free_trial_abuse: number;
185
184
  };
186
185
  } | 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
- id: string;
192
191
  email: string | null;
192
+ id: string;
193
193
  account_id: string;
194
194
  }[] | undefined;
195
195
  is_anonymous: boolean | undefined;
@@ -234,9 +234,9 @@ declare const usersCrud: CrudSchemaFromOptions<{
234
234
  client_read_only_metadata?: {} | null | undefined;
235
235
  server_metadata?: {} | null | undefined;
236
236
  id: string;
237
- created_at_millis: number;
238
237
  display_name: string;
239
238
  profile_image_url: string | null;
239
+ created_at_millis: number;
240
240
  } | null;
241
241
  selected_team_id: string | null;
242
242
  profile_image_url: string | null;
@@ -368,34 +368,34 @@ declare const usersCrud: CrudSchemaFromOptions<{
368
368
  };
369
369
  }, "">;
370
370
  serverCreateSchema: yup$1.ObjectSchema<{
371
- country_code: string | null | undefined;
372
- display_name: string | null | undefined;
373
371
  primary_email: string | null | undefined;
374
- profile_image_url: string | null | undefined;
375
372
  client_metadata: {} | null | undefined;
376
373
  client_read_only_metadata: {} | null | undefined;
377
374
  server_metadata: {} | null | undefined;
378
- is_anonymous: boolean | undefined;
379
- password: string | null | undefined;
380
375
  primary_email_verified: boolean | undefined;
381
376
  primary_email_auth_enabled: boolean | undefined;
377
+ display_name: string | null | undefined;
378
+ profile_image_url: string | null | undefined;
382
379
  otp_auth_enabled: boolean | undefined;
383
380
  passkey_auth_enabled: boolean | undefined;
381
+ is_anonymous: boolean | undefined;
384
382
  restricted_by_admin: boolean | undefined;
385
383
  restricted_by_admin_reason: string | null | undefined;
386
384
  restricted_by_admin_private_details: string | null | undefined;
385
+ country_code: string | null | undefined;
387
386
  risk_scores: {
388
387
  sign_up: {
389
388
  bot: number;
390
389
  free_trial_abuse: number;
391
390
  };
392
391
  } | 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
- id: string;
398
397
  email: string | null;
398
+ id: string;
399
399
  account_id: string;
400
400
  }[] | undefined;
401
401
  is_anonymous: boolean | undefined;
@@ -468,9 +468,9 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
468
468
  client_read_only_metadata?: {} | null | undefined;
469
469
  server_metadata?: {} | null | undefined;
470
470
  id: string;
471
- created_at_millis: number;
472
471
  display_name: string;
473
472
  profile_image_url: string | null;
473
+ created_at_millis: number;
474
474
  } | null;
475
475
  selected_team_id: string | null;
476
476
  profile_image_url: string | null;
@@ -559,9 +559,9 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
559
559
  client_read_only_metadata?: {} | null | undefined;
560
560
  server_metadata?: {} | null | undefined;
561
561
  id: string;
562
- created_at_millis: number;
563
562
  display_name: string;
564
563
  profile_image_url: string | null;
564
+ created_at_millis: number;
565
565
  } | null;
566
566
  selected_team_id: string | null;
567
567
  profile_image_url: string | null;
@@ -24,15 +24,15 @@ declare const planUsageRowSchema: yup$1.ObjectSchema<{
24
24
  declare const planUsageResponseSchema: yup$1.ObjectSchema<{
25
25
  owner_team_id: string;
26
26
  owner_team_display_name: string;
27
- plan_id: "free" | "team" | "growth";
27
+ plan_id: "team" | "free" | "growth";
28
28
  plan_display_name: string;
29
29
  period_start_millis: number;
30
30
  period_end_millis: number;
31
31
  next_plan_id: "team" | "growth" | null;
32
32
  rows: {
33
+ item_id: "dashboard_admins" | "auth_users" | "emails_per_month" | "analytics_timeout_seconds" | "analytics_events" | "session_replays" | "onboarding_call";
33
34
  display_name: string;
34
35
  kind: "current" | "metered" | "capability";
35
- item_id: "dashboard_admins" | "auth_users" | "emails_per_month" | "analytics_timeout_seconds" | "analytics_events" | "session_replays" | "onboarding_call";
36
36
  used: number | null;
37
37
  limit: number | null;
38
38
  remaining: number | null;
@@ -184,6 +184,7 @@ declare class HexclaveServerInterface extends HexclaveClientInterface {
184
184
  sendEmail(options: {
185
185
  userIds?: string[];
186
186
  allUsers?: true;
187
+ emails?: string[];
187
188
  themeId?: string | null | false;
188
189
  html?: string;
189
190
  subject?: string;