@hexclave/shared 1.0.40 → 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 (42) hide show
  1. package/dist/ai/unified-prompts/reminders.js +1 -1
  2. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -0
  4. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  5. package/dist/config/schema.d.ts +200 -200
  6. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  7. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  8. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -0
  9. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  10. package/dist/esm/config/schema.d.ts +200 -200
  11. package/dist/esm/interface/admin-metrics.d.ts +10 -10
  12. package/dist/esm/interface/conversations.d.ts +10 -10
  13. package/dist/esm/interface/crud/current-user.d.ts +11 -11
  14. package/dist/esm/interface/crud/email-outbox.d.ts +20 -20
  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 +2 -2
  18. package/dist/esm/interface/crud/projects.d.ts +35 -35
  19. package/dist/esm/interface/crud/team-member-profiles.d.ts +22 -22
  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 +18 -18
  23. package/dist/esm/interface/webhooks.d.ts +4 -4
  24. package/dist/esm/schema-fields.d.ts +11 -11
  25. package/dist/esm/sessions.d.ts +5 -5
  26. package/dist/interface/admin-metrics.d.ts +10 -10
  27. package/dist/interface/conversations.d.ts +10 -10
  28. package/dist/interface/crud/current-user.d.ts +11 -11
  29. package/dist/interface/crud/email-outbox.d.ts +20 -20
  30. package/dist/interface/crud/products.d.ts +13 -13
  31. package/dist/interface/crud/products.d.ts.map +1 -1
  32. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  33. package/dist/interface/crud/projects.d.ts +35 -35
  34. package/dist/interface/crud/team-member-profiles.d.ts +22 -22
  35. package/dist/interface/crud/transactions.d.ts +6 -6
  36. package/dist/interface/crud/transactions.d.ts.map +1 -1
  37. package/dist/interface/crud/users.d.ts +18 -18
  38. package/dist/interface/webhooks.d.ts +4 -4
  39. package/dist/schema-fields.d.ts +11 -11
  40. package/dist/sessions.d.ts +5 -5
  41. package/package.json +1 -1
  42. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1 -0
@@ -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;
@@ -25,36 +25,35 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
25
25
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
26
26
  } | null;
27
27
  primary_email: string | null;
28
- display_name: string | null;
29
28
  client_metadata: {} | null;
30
29
  client_read_only_metadata: {} | null;
31
30
  server_metadata: {} | null;
32
31
  id: string;
33
- selected_team_id: string | null;
34
- is_anonymous: boolean;
35
- is_restricted: boolean;
36
- requires_totp_mfa: boolean;
37
- country_code: string | null;
38
- profile_image_url: string | null;
39
- signed_up_at_millis: number;
40
- last_active_at_millis: number;
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
- display_name: string;
48
40
  id: string;
49
- created_at_millis: number;
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;
@@ -148,36 +148,35 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
148
148
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
149
149
  } | null;
150
150
  primary_email: string | null;
151
- display_name: string | null;
152
151
  client_metadata: {} | null;
153
152
  client_read_only_metadata: {} | null;
154
153
  server_metadata: {} | null;
155
154
  id: string;
156
- selected_team_id: string | null;
157
- is_anonymous: boolean;
158
- is_restricted: boolean;
159
- requires_totp_mfa: boolean;
160
- country_code: string | null;
161
- profile_image_url: string | null;
162
- signed_up_at_millis: number;
163
- last_active_at_millis: number;
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
- display_name: string;
171
163
  id: string;
172
- created_at_millis: number;
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,14 +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;
44
+ free_trial?: ______utils_dates0.DayInterval | undefined;
45
45
  server_only: boolean;
46
46
  customer_type: "team" | "user" | "custom";
47
+ display_name: string;
47
48
  stackable: boolean;
48
49
  prices: Record<string, {
50
+ interval?: ______utils_dates0.DayInterval | undefined;
49
51
  USD?: string | undefined;
50
52
  EUR?: string | undefined;
51
53
  GBP?: string | undefined;
@@ -53,10 +55,8 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
53
55
  INR?: string | undefined;
54
56
  AUD?: string | undefined;
55
57
  CAD?: string | undefined;
56
- interval?: ______utils_dates0.DayInterval | undefined;
57
58
  free_trial?: ______utils_dates0.DayInterval | undefined;
58
59
  }>;
59
- display_name: string;
60
60
  included_items: Record<string, {
61
61
  quantity?: number | undefined;
62
62
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -122,14 +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;
128
+ free_trial?: ______utils_dates0.DayInterval | undefined;
129
129
  server_only: boolean;
130
130
  customer_type: "team" | "user" | "custom";
131
+ display_name: string;
131
132
  stackable: boolean;
132
133
  prices: Record<string, {
134
+ interval?: ______utils_dates0.DayInterval | undefined;
133
135
  USD?: string | undefined;
134
136
  EUR?: string | undefined;
135
137
  GBP?: string | undefined;
@@ -137,10 +139,8 @@ declare const transactionSchema: yup$1.ObjectSchema<{
137
139
  INR?: string | undefined;
138
140
  AUD?: string | undefined;
139
141
  CAD?: string | undefined;
140
- interval?: ______utils_dates0.DayInterval | undefined;
141
142
  free_trial?: ______utils_dates0.DayInterval | undefined;
142
143
  }>;
143
- display_name: string;
144
144
  included_items: Record<string, {
145
145
  quantity?: number | undefined;
146
146
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -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"}
@@ -81,10 +81,10 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
81
81
  client_metadata?: {} | null | undefined;
82
82
  client_read_only_metadata?: {} | null | undefined;
83
83
  server_metadata?: {} | null | undefined;
84
- display_name: string;
85
84
  id: string;
86
- created_at_millis: number;
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;
@@ -164,27 +164,27 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
164
164
  }, "">;
165
165
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
166
166
  primary_email: string | null | undefined;
167
- 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;
171
- is_anonymous: boolean | undefined;
172
- country_code: string | null | undefined;
173
- profile_image_url: string | null | 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
  } & {
@@ -234,10 +234,10 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
234
234
  client_metadata?: {} | null | undefined;
235
235
  client_read_only_metadata?: {} | null | undefined;
236
236
  server_metadata?: {} | null | undefined;
237
- display_name: string;
238
237
  id: string;
239
- created_at_millis: number;
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;
@@ -370,27 +370,27 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
370
370
  }, "">;
371
371
  serverCreateSchema: yup$1.ObjectSchema<{
372
372
  primary_email: string | null | undefined;
373
- 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;
377
- is_anonymous: boolean | undefined;
378
- country_code: string | null | undefined;
379
- profile_image_url: string | null | 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
  } & {
@@ -468,10 +468,10 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
468
468
  client_metadata?: {} | null | undefined;
469
469
  client_read_only_metadata?: {} | null | undefined;
470
470
  server_metadata?: {} | null | undefined;
471
- display_name: string;
472
471
  id: string;
473
- created_at_millis: number;
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;
@@ -559,10 +559,10 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
559
559
  client_metadata?: {} | null | undefined;
560
560
  client_read_only_metadata?: {} | null | undefined;
561
561
  server_metadata?: {} | null | undefined;
562
- display_name: string;
563
562
  id: string;
564
- created_at_millis: number;
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;
@@ -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
- created_at_millis: number;
24
+ display_name: string;
26
25
  profile_image_url: string | null;
26
+ created_at_millis: number;
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
- created_at_millis: number;
114
+ display_name: string;
116
115
  profile_image_url: string | null;
116
+ created_at_millis: number;
117
117
  } | null;
118
118
  selected_team_id: string | null;
119
119
  profile_image_url: string | null;
@@ -203,6 +203,9 @@ declare const productPriceSchema: yup$1.ObjectSchema<{
203
203
  CAD: undefined;
204
204
  }, "">;
205
205
  declare const pricesSchema: yup$1.MixedSchema<Record<string, {
206
+ interval?: DayInterval | undefined;
207
+ freeTrial?: DayInterval | undefined;
208
+ serverOnly?: boolean | undefined;
206
209
  USD?: string | undefined;
207
210
  EUR?: string | undefined;
208
211
  GBP?: string | undefined;
@@ -210,9 +213,6 @@ declare const pricesSchema: yup$1.MixedSchema<Record<string, {
210
213
  INR?: string | undefined;
211
214
  AUD?: string | undefined;
212
215
  CAD?: string | undefined;
213
- interval?: DayInterval | undefined;
214
- serverOnly?: boolean | undefined;
215
- freeTrial?: DayInterval | undefined;
216
216
  }>, yup$1.AnyObject, undefined, "">;
217
217
  declare const productSchema: yup$1.ObjectSchema<{
218
218
  displayName: string | undefined;
@@ -223,6 +223,9 @@ declare const productSchema: yup$1.ObjectSchema<{
223
223
  serverOnly: boolean | undefined;
224
224
  stackable: boolean | undefined;
225
225
  prices: Record<string, {
226
+ interval?: DayInterval | undefined;
227
+ freeTrial?: DayInterval | undefined;
228
+ serverOnly?: boolean | undefined;
226
229
  USD?: string | undefined;
227
230
  EUR?: string | undefined;
228
231
  GBP?: string | undefined;
@@ -230,9 +233,6 @@ declare const productSchema: yup$1.ObjectSchema<{
230
233
  INR?: string | undefined;
231
234
  AUD?: string | undefined;
232
235
  CAD?: string | undefined;
233
- interval?: DayInterval | undefined;
234
- serverOnly?: boolean | undefined;
235
- freeTrial?: DayInterval | undefined;
236
236
  }>;
237
237
  includedItems: Record<string, {
238
238
  repeat?: "never" | DayInterval | undefined;
@@ -262,6 +262,9 @@ declare const productSchemaWithMetadata: yup$1.ObjectSchema<{
262
262
  serverOnly: boolean | undefined;
263
263
  stackable: boolean | undefined;
264
264
  prices: Record<string, {
265
+ interval?: DayInterval | undefined;
266
+ freeTrial?: DayInterval | undefined;
267
+ serverOnly?: boolean | undefined;
265
268
  USD?: string | undefined;
266
269
  EUR?: string | undefined;
267
270
  GBP?: string | undefined;
@@ -269,9 +272,6 @@ declare const productSchemaWithMetadata: yup$1.ObjectSchema<{
269
272
  INR?: string | undefined;
270
273
  AUD?: string | undefined;
271
274
  CAD?: string | undefined;
272
- interval?: DayInterval | undefined;
273
- serverOnly?: boolean | undefined;
274
- freeTrial?: DayInterval | undefined;
275
275
  }>;
276
276
  includedItems: Record<string, {
277
277
  repeat?: "never" | DayInterval | undefined;
@@ -303,6 +303,7 @@ declare const inlineProductSchema: yup$1.ObjectSchema<{
303
303
  server_only: boolean;
304
304
  stackable: boolean;
305
305
  prices: Record<string, {
306
+ interval?: DayInterval | undefined;
306
307
  USD?: string | undefined;
307
308
  EUR?: string | undefined;
308
309
  GBP?: string | undefined;
@@ -310,7 +311,6 @@ declare const inlineProductSchema: yup$1.ObjectSchema<{
310
311
  INR?: string | undefined;
311
312
  AUD?: string | undefined;
312
313
  CAD?: string | undefined;
313
- interval?: DayInterval | undefined;
314
314
  free_trial?: DayInterval | undefined;
315
315
  }>;
316
316
  included_items: Record<string, {
@@ -473,9 +473,9 @@ declare function yupDefinedAndNonEmptyWhen<S extends yup$1.StringSchema>(schema:
473
473
  declare const branchConfigSourceSchema: yup$1.MixedSchema<{
474
474
  workflow_path?: string | undefined;
475
475
  type: "pushed-from-github";
476
+ branch: string;
476
477
  owner: string;
477
478
  repo: string;
478
- branch: string;
479
479
  commit_hash: string;
480
480
  config_file_path: string;
481
481
  } | {
@@ -16,18 +16,18 @@ declare class AccessToken {
16
16
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
17
17
  } | null;
18
18
  branch_id: string;
19
+ name: string | null;
19
20
  sub: string;
21
+ selected_team_id: string | null;
22
+ is_anonymous: boolean;
23
+ is_restricted: boolean;
24
+ requires_totp_mfa: boolean;
20
25
  iat: number;
21
26
  iss: string;
22
27
  aud: string;
23
28
  role: "authenticated";
24
- name: string | null;
25
29
  email_verified: boolean;
26
- selected_team_id: string | null;
27
30
  signed_up_at: number;
28
- is_anonymous: boolean;
29
- is_restricted: boolean;
30
- requires_totp_mfa: boolean;
31
31
  };
32
32
  get expiresAt(): Date;
33
33
  get issuedAt(): Date;