@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?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.DayInterval | undefined;
26
26
  free_trial?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.DayInterval | undefined;
61
61
  free_trial?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.DayInterval | undefined;
124
124
  free_trial?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.DayInterval | undefined;
153
153
  free_trial?: ______utils_dates0.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,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;qBAMnC,kBAAA,CAAA,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,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;;;;qBAMnC,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
@@ -79,12 +79,12 @@ 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
83
  type: "user";
83
84
  id: string;
85
+ description: string;
84
86
  created_at_millis: number;
85
87
  expires_at_millis: number | undefined;
86
- user_id: string;
87
- description: string;
88
88
  manually_revoked_at_millis: number | undefined;
89
89
  is_public: boolean;
90
90
  } & {
@@ -178,11 +178,11 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
178
178
  team_id: undefined;
179
179
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
180
180
  type: "team";
181
+ team_id: string;
181
182
  id: string;
183
+ description: string;
182
184
  created_at_millis: number;
183
185
  expires_at_millis: number | undefined;
184
- team_id: string;
185
- description: string;
186
186
  manually_revoked_at_millis: number | undefined;
187
187
  is_public: boolean;
188
188
  } & {
@@ -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" | "passkey" | "credential" | "magicLink")[];
55
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
56
56
  selected_email_theme_id: string | null;
57
57
  selected_payments_country: "US" | "OTHER";
58
58
  } | null | undefined;
@@ -63,10 +63,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
63
63
  message: string;
64
64
  }[];
65
65
  config: {
66
- domains: {
67
- domain: string;
68
- handler_path: string;
69
- }[];
70
66
  oauth_providers: {
71
67
  client_id?: string | undefined;
72
68
  client_secret?: string | undefined;
@@ -77,6 +73,10 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
77
73
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
78
74
  provider_config_id: string;
79
75
  }[];
76
+ domains: {
77
+ domain: string;
78
+ handler_path: string;
79
+ }[];
80
80
  allow_localhost: boolean;
81
81
  sign_up_enabled: boolean;
82
82
  credential_enabled: boolean;
@@ -225,15 +225,11 @@ 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" | "passkey" | "credential" | "magicLink")[];
228
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
229
229
  selected_email_theme_id: string | null;
230
230
  selected_payments_country: "US" | "OTHER";
231
231
  } | null | undefined;
232
232
  config: {
233
- domains?: {
234
- domain: string;
235
- handler_path: string;
236
- }[] | undefined;
237
233
  oauth_providers?: {
238
234
  client_id?: string | undefined;
239
235
  client_secret?: string | undefined;
@@ -243,6 +239,10 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
243
239
  type: "shared" | "standard";
244
240
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
245
241
  }[] | undefined;
242
+ domains?: {
243
+ domain: string;
244
+ handler_path: string;
245
+ }[] | undefined;
246
246
  allow_localhost?: boolean | undefined;
247
247
  sign_up_enabled?: boolean | undefined;
248
248
  credential_enabled?: boolean | undefined;
@@ -305,15 +305,11 @@ 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" | "passkey" | "credential" | "magicLink")[];
308
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
309
309
  selected_email_theme_id: string | null;
310
310
  selected_payments_country: "US" | "OTHER";
311
311
  } | null | undefined;
312
312
  config: {
313
- domains?: {
314
- domain: string;
315
- handler_path: string;
316
- }[] | undefined;
317
313
  oauth_providers?: {
318
314
  client_id?: string | undefined;
319
315
  client_secret?: string | undefined;
@@ -323,6 +319,10 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
323
319
  type: "shared" | "standard";
324
320
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
325
321
  }[] | undefined;
322
+ domains?: {
323
+ domain: string;
324
+ handler_path: string;
325
+ }[] | undefined;
326
326
  allow_localhost?: boolean | undefined;
327
327
  sign_up_enabled?: boolean | undefined;
328
328
  credential_enabled?: boolean | 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" | "passkey" | "credential" | "magicLink")[];
458
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
459
459
  selected_email_theme_id: string | null;
460
460
  selected_payments_country: "US" | "OTHER";
461
461
  } | null | undefined;
@@ -466,10 +466,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
466
466
  message: string;
467
467
  }[];
468
468
  config: {
469
- domains: {
470
- domain: string;
471
- handler_path: string;
472
- }[];
473
469
  oauth_providers: {
474
470
  client_id?: string | undefined;
475
471
  client_secret?: string | undefined;
@@ -480,6 +476,10 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
480
476
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
481
477
  provider_config_id: string;
482
478
  }[];
479
+ domains: {
480
+ domain: string;
481
+ handler_path: string;
482
+ }[];
483
483
  allow_localhost: boolean;
484
484
  sign_up_enabled: boolean;
485
485
  credential_enabled: boolean;
@@ -580,15 +580,11 @@ 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" | "passkey" | "credential" | "magicLink")[];
583
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
584
584
  selected_email_theme_id: string | null;
585
585
  selected_payments_country: "US" | "OTHER";
586
586
  } | null | undefined;
587
587
  config: {
588
- domains?: {
589
- domain: string;
590
- handler_path: string;
591
- }[] | undefined;
592
588
  oauth_providers?: {
593
589
  client_id?: string | undefined;
594
590
  client_secret?: string | undefined;
@@ -598,6 +594,10 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
598
594
  type: "shared" | "standard";
599
595
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
600
596
  }[] | undefined;
597
+ domains?: {
598
+ domain: string;
599
+ handler_path: string;
600
+ }[] | undefined;
601
601
  allow_localhost?: boolean | undefined;
602
602
  sign_up_enabled?: boolean | undefined;
603
603
  credential_enabled?: boolean | 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" | "passkey" | "credential" | "magicLink")[];
691
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
692
692
  selected_email_theme_id: string | null;
693
693
  selected_payments_country: "US" | "OTHER";
694
694
  } | null | undefined;
@@ -699,10 +699,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
699
699
  message: string;
700
700
  }[];
701
701
  config: {
702
- domains: {
703
- domain: string;
704
- handler_path: string;
705
- }[];
706
702
  oauth_providers: {
707
703
  client_id?: string | undefined;
708
704
  client_secret?: string | undefined;
@@ -713,6 +709,10 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
713
709
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
714
710
  provider_config_id: string;
715
711
  }[];
712
+ domains: {
713
+ domain: string;
714
+ handler_path: string;
715
+ }[];
716
716
  allow_localhost: boolean;
717
717
  sign_up_enabled: boolean;
718
718
  credential_enabled: boolean;
@@ -813,15 +813,11 @@ 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" | "passkey" | "credential" | "magicLink")[];
816
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
817
817
  selected_email_theme_id: string | null;
818
818
  selected_payments_country: "US" | "OTHER";
819
819
  } | null | undefined;
820
820
  config: {
821
- domains?: {
822
- domain: string;
823
- handler_path: string;
824
- }[] | undefined;
825
821
  oauth_providers?: {
826
822
  client_id?: string | undefined;
827
823
  client_secret?: string | undefined;
@@ -831,6 +827,10 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
831
827
  type: "shared" | "standard";
832
828
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
833
829
  }[] | undefined;
830
+ domains?: {
831
+ domain: string;
832
+ handler_path: string;
833
+ }[] | undefined;
834
834
  allow_localhost?: boolean | undefined;
835
835
  sign_up_enabled?: boolean | undefined;
836
836
  credential_enabled?: boolean | undefined;
@@ -21,40 +21,39 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
21
21
  profile_image_url: string | null;
22
22
  } & {
23
23
  user: {
24
- id: string;
25
- country_code: string | null;
26
- display_name: string | null;
27
- primary_email: string | null;
28
- profile_image_url: string | null;
29
- signed_up_at_millis: number;
30
- last_active_at_millis: number;
31
24
  restricted_reason: {
32
25
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
33
26
  } | null;
27
+ primary_email: string | null;
34
28
  client_metadata: {} | null;
35
29
  client_read_only_metadata: {} | null;
36
30
  server_metadata: {} | null;
37
- selected_team_id: string | null;
38
- is_anonymous: boolean;
39
- is_restricted: boolean;
40
- requires_totp_mfa: boolean;
31
+ id: string;
41
32
  primary_email_verified: boolean;
42
33
  primary_email_auth_enabled: boolean;
34
+ display_name: string | null;
35
+ profile_image_url: string | null;
43
36
  selected_team: {
44
37
  client_metadata?: {} | null | undefined;
45
38
  client_read_only_metadata?: {} | null | undefined;
46
39
  server_metadata?: {} | null | undefined;
47
40
  id: string;
48
- created_at_millis: number;
49
41
  display_name: string;
50
42
  profile_image_url: string | null;
43
+ created_at_millis: number;
51
44
  } | null;
45
+ selected_team_id: string | null;
46
+ signed_up_at_millis: number;
52
47
  has_password: boolean;
53
48
  otp_auth_enabled: boolean;
54
49
  passkey_auth_enabled: boolean;
50
+ last_active_at_millis: number;
51
+ is_anonymous: boolean;
52
+ is_restricted: boolean;
55
53
  restricted_by_admin: boolean;
56
54
  restricted_by_admin_reason: string | null;
57
55
  restricted_by_admin_private_details: string | null;
56
+ country_code: string | null;
58
57
  risk_scores: {
59
58
  sign_up: {
60
59
  bot: number;
@@ -67,6 +66,7 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
67
66
  account_id: string;
68
67
  }[];
69
68
  auth_with_email: boolean;
69
+ requires_totp_mfa: boolean;
70
70
  };
71
71
  }, yup$1.AnyObject, {
72
72
  team_id: undefined;
@@ -144,40 +144,39 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
144
144
  profile_image_url: string | null;
145
145
  } & {
146
146
  user: {
147
- id: string;
148
- country_code: string | null;
149
- display_name: string | null;
150
- primary_email: string | null;
151
- profile_image_url: string | null;
152
- signed_up_at_millis: number;
153
- last_active_at_millis: number;
154
147
  restricted_reason: {
155
148
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
156
149
  } | null;
150
+ primary_email: string | null;
157
151
  client_metadata: {} | null;
158
152
  client_read_only_metadata: {} | null;
159
153
  server_metadata: {} | null;
160
- selected_team_id: string | null;
161
- is_anonymous: boolean;
162
- is_restricted: boolean;
163
- requires_totp_mfa: boolean;
154
+ id: string;
164
155
  primary_email_verified: boolean;
165
156
  primary_email_auth_enabled: boolean;
157
+ display_name: string | null;
158
+ profile_image_url: string | null;
166
159
  selected_team: {
167
160
  client_metadata?: {} | null | undefined;
168
161
  client_read_only_metadata?: {} | null | undefined;
169
162
  server_metadata?: {} | null | undefined;
170
163
  id: string;
171
- created_at_millis: number;
172
164
  display_name: string;
173
165
  profile_image_url: string | null;
166
+ created_at_millis: number;
174
167
  } | null;
168
+ selected_team_id: string | null;
169
+ signed_up_at_millis: number;
175
170
  has_password: boolean;
176
171
  otp_auth_enabled: boolean;
177
172
  passkey_auth_enabled: boolean;
173
+ last_active_at_millis: number;
174
+ is_anonymous: boolean;
175
+ is_restricted: boolean;
178
176
  restricted_by_admin: boolean;
179
177
  restricted_by_admin_reason: string | null;
180
178
  restricted_by_admin_private_details: string | null;
179
+ country_code: string | null;
181
180
  risk_scores: {
182
181
  sign_up: {
183
182
  bot: number;
@@ -190,6 +189,7 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
190
189
  account_id: string;
191
190
  }[];
192
191
  auth_with_email: boolean;
192
+ requires_totp_mfa: boolean;
193
193
  };
194
194
  }, yup$1.AnyObject, {
195
195
  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?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.DayInterval | undefined;
58
58
  free_trial?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.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?: ______utils_dates0.DayInterval | undefined;
142
142
  free_trial?: ______utils_dates0.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,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,kBAAA,CAAA,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,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
@@ -82,9 +82,9 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
82
82
  client_read_only_metadata?: {} | null | undefined;
83
83
  server_metadata?: {} | null | undefined;
84
84
  id: string;
85
- created_at_millis: number;
86
85
  display_name: string;
87
86
  profile_image_url: string | null;
87
+ created_at_millis: number;
88
88
  } | null;
89
89
  selected_team_id: string | null;
90
90
  profile_image_url: string | null;
@@ -163,34 +163,34 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
163
163
  requires_totp_mfa: undefined;
164
164
  }, "">;
165
165
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
166
- country_code: string | null | undefined;
167
- display_name: string | null | undefined;
168
166
  primary_email: string | null | undefined;
169
- profile_image_url: string | null | undefined;
170
167
  client_metadata: {} | null | undefined;
171
168
  client_read_only_metadata: {} | null | undefined;
172
169
  server_metadata: {} | null | undefined;
173
- is_anonymous: boolean | undefined;
174
- password: string | null | undefined;
175
170
  primary_email_verified: boolean | undefined;
176
171
  primary_email_auth_enabled: boolean | undefined;
172
+ display_name: string | null | undefined;
173
+ profile_image_url: string | null | undefined;
177
174
  otp_auth_enabled: boolean | undefined;
178
175
  passkey_auth_enabled: boolean | undefined;
176
+ is_anonymous: boolean | undefined;
179
177
  restricted_by_admin: boolean | undefined;
180
178
  restricted_by_admin_reason: string | null | undefined;
181
179
  restricted_by_admin_private_details: string | null | undefined;
180
+ country_code: string | null | undefined;
182
181
  risk_scores: {
183
182
  sign_up: {
184
183
  bot: number;
185
184
  free_trial_abuse: number;
186
185
  };
187
186
  } | 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
- id: string;
193
192
  email: string | null;
193
+ id: string;
194
194
  account_id: string;
195
195
  }[] | undefined;
196
196
  is_anonymous: boolean | undefined;
@@ -235,9 +235,9 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
235
235
  client_read_only_metadata?: {} | null | undefined;
236
236
  server_metadata?: {} | null | undefined;
237
237
  id: string;
238
- created_at_millis: number;
239
238
  display_name: string;
240
239
  profile_image_url: string | null;
240
+ created_at_millis: number;
241
241
  } | null;
242
242
  selected_team_id: string | null;
243
243
  profile_image_url: string | null;
@@ -369,34 +369,34 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
369
369
  };
370
370
  }, "">;
371
371
  serverCreateSchema: yup$1.ObjectSchema<{
372
- country_code: string | null | undefined;
373
- display_name: string | null | undefined;
374
372
  primary_email: string | null | undefined;
375
- profile_image_url: string | null | undefined;
376
373
  client_metadata: {} | null | undefined;
377
374
  client_read_only_metadata: {} | null | undefined;
378
375
  server_metadata: {} | null | undefined;
379
- is_anonymous: boolean | undefined;
380
- password: string | null | undefined;
381
376
  primary_email_verified: boolean | undefined;
382
377
  primary_email_auth_enabled: boolean | undefined;
378
+ display_name: string | null | undefined;
379
+ profile_image_url: string | null | undefined;
383
380
  otp_auth_enabled: boolean | undefined;
384
381
  passkey_auth_enabled: boolean | undefined;
382
+ is_anonymous: boolean | undefined;
385
383
  restricted_by_admin: boolean | undefined;
386
384
  restricted_by_admin_reason: string | null | undefined;
387
385
  restricted_by_admin_private_details: string | null | undefined;
386
+ country_code: string | null | undefined;
388
387
  risk_scores: {
389
388
  sign_up: {
390
389
  bot: number;
391
390
  free_trial_abuse: number;
392
391
  };
393
392
  } | 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
- id: string;
399
398
  email: string | null;
399
+ id: string;
400
400
  account_id: string;
401
401
  }[] | undefined;
402
402
  is_anonymous: boolean | undefined;
@@ -469,9 +469,9 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
469
469
  client_read_only_metadata?: {} | null | undefined;
470
470
  server_metadata?: {} | null | undefined;
471
471
  id: string;
472
- created_at_millis: number;
473
472
  display_name: string;
474
473
  profile_image_url: string | null;
474
+ created_at_millis: number;
475
475
  } | null;
476
476
  selected_team_id: string | null;
477
477
  profile_image_url: string | null;
@@ -560,9 +560,9 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
560
560
  client_read_only_metadata?: {} | null | undefined;
561
561
  server_metadata?: {} | null | undefined;
562
562
  id: string;
563
- created_at_millis: number;
564
563
  display_name: string;
565
564
  profile_image_url: string | null;
565
+ created_at_millis: number;
566
566
  } | null;
567
567
  selected_team_id: string | null;
568
568
  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;