@hexclave/shared 1.0.33 → 1.0.35

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 (43) hide show
  1. package/dist/ai/unified-prompts/reminders.js +2 -2
  2. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  3. package/dist/config/schema.d.ts +95 -95
  4. package/dist/esm/ai/unified-prompts/reminders.js +2 -2
  5. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  6. package/dist/esm/config/schema.d.ts +95 -95
  7. package/dist/esm/helpers/init-prompt.js +1 -1
  8. package/dist/esm/helpers/init-prompt.js.map +1 -1
  9. package/dist/esm/interface/admin-metrics.d.ts +22 -22
  10. package/dist/esm/interface/conversations.d.ts +19 -19
  11. package/dist/esm/interface/crud/current-user.d.ts +14 -14
  12. package/dist/esm/interface/crud/email-outbox.d.ts +202 -202
  13. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  14. package/dist/esm/interface/crud/products.d.ts +9 -9
  15. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  16. package/dist/esm/interface/crud/projects.d.ts +7 -7
  17. package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
  18. package/dist/esm/interface/crud/transactions.d.ts +4 -4
  19. package/dist/esm/interface/crud/users.d.ts +16 -16
  20. package/dist/esm/interface/plan-usage.d.ts +2 -2
  21. package/dist/esm/interface/webhooks.d.ts +2 -2
  22. package/dist/esm/schema-fields.d.ts +11 -11
  23. package/dist/esm/sessions.d.ts +8 -8
  24. package/dist/helpers/init-prompt.js +1 -1
  25. package/dist/helpers/init-prompt.js.map +1 -1
  26. package/dist/interface/admin-metrics.d.ts +22 -22
  27. package/dist/interface/conversations.d.ts +19 -19
  28. package/dist/interface/crud/current-user.d.ts +14 -14
  29. package/dist/interface/crud/email-outbox.d.ts +202 -202
  30. package/dist/interface/crud/invoices.d.ts +2 -2
  31. package/dist/interface/crud/products.d.ts +9 -9
  32. package/dist/interface/crud/project-api-keys.d.ts +4 -4
  33. package/dist/interface/crud/projects.d.ts +7 -7
  34. package/dist/interface/crud/team-member-profiles.d.ts +24 -24
  35. package/dist/interface/crud/transactions.d.ts +4 -4
  36. package/dist/interface/crud/users.d.ts +16 -16
  37. package/dist/interface/plan-usage.d.ts +2 -2
  38. package/dist/interface/webhooks.d.ts +2 -2
  39. package/dist/schema-fields.d.ts +11 -11
  40. package/dist/sessions.d.ts +8 -8
  41. package/package.json +1 -1
  42. package/src/ai/unified-prompts/reminders.ts +1 -1
  43. package/src/helpers/init-prompt.ts +1 -1
@@ -3,7 +3,7 @@ import * as yup$1 from "yup";
3
3
  //#region src/interface/crud/invoices.d.ts
4
4
  declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
5
5
  created_at_millis: number;
6
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
6
+ status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
7
7
  amount_total: number;
8
8
  hosted_invoice_url: string | null;
9
9
  }, yup$1.AnyObject, {
@@ -15,7 +15,7 @@ declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
15
15
  type CustomerInvoiceRead = yup$1.InferType<typeof customerInvoiceReadSchema>;
16
16
  declare const customerInvoicesListResponseSchema: yup$1.ObjectSchema<{
17
17
  items: {
18
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
18
+ status: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
19
19
  created_at_millis: number;
20
20
  amount_total: number;
21
21
  hosted_invoice_url: string | null;
@@ -10,12 +10,10 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
10
10
  client_metadata?: {} | null | undefined;
11
11
  client_read_only_metadata?: {} | null | undefined;
12
12
  server_metadata?: {} | null | undefined;
13
- display_name: string;
14
13
  server_only: boolean;
15
14
  customer_type: "team" | "user" | "custom";
16
15
  stackable: boolean;
17
16
  prices: Record<string, {
18
- interval?: ______utils_dates0.DayInterval | undefined;
19
17
  USD?: string | undefined;
20
18
  EUR?: string | undefined;
21
19
  GBP?: string | undefined;
@@ -23,8 +21,10 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
23
21
  INR?: string | undefined;
24
22
  AUD?: string | undefined;
25
23
  CAD?: string | undefined;
24
+ interval?: ______utils_dates0.DayInterval | undefined;
26
25
  free_trial?: ______utils_dates0.DayInterval | undefined;
27
26
  }>;
27
+ display_name: string;
28
28
  included_items: Record<string, {
29
29
  quantity?: number | undefined;
30
30
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -45,12 +45,10 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
45
45
  client_metadata?: {} | null | undefined;
46
46
  client_read_only_metadata?: {} | null | undefined;
47
47
  server_metadata?: {} | null | undefined;
48
- display_name: string;
49
48
  server_only: boolean;
50
49
  customer_type: "team" | "user" | "custom";
51
50
  stackable: boolean;
52
51
  prices: Record<string, {
53
- interval?: ______utils_dates0.DayInterval | undefined;
54
52
  USD?: string | undefined;
55
53
  EUR?: string | undefined;
56
54
  GBP?: string | undefined;
@@ -58,8 +56,10 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
58
56
  INR?: string | undefined;
59
57
  AUD?: string | undefined;
60
58
  CAD?: string | undefined;
59
+ interval?: ______utils_dates0.DayInterval | undefined;
61
60
  free_trial?: ______utils_dates0.DayInterval | undefined;
62
61
  }>;
62
+ display_name: string;
63
63
  included_items: Record<string, {
64
64
  quantity?: number | undefined;
65
65
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -108,12 +108,10 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
108
108
  client_metadata?: {} | null | undefined;
109
109
  client_read_only_metadata?: {} | null | undefined;
110
110
  server_metadata?: {} | null | undefined;
111
- display_name: string;
112
111
  server_only: boolean;
113
112
  customer_type: "team" | "user" | "custom";
114
113
  stackable: boolean;
115
114
  prices: Record<string, {
116
- interval?: ______utils_dates0.DayInterval | undefined;
117
115
  USD?: string | undefined;
118
116
  EUR?: string | undefined;
119
117
  GBP?: string | undefined;
@@ -121,8 +119,10 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
121
119
  INR?: string | undefined;
122
120
  AUD?: string | undefined;
123
121
  CAD?: string | undefined;
122
+ interval?: ______utils_dates0.DayInterval | undefined;
124
123
  free_trial?: ______utils_dates0.DayInterval | undefined;
125
124
  }>;
125
+ display_name: string;
126
126
  included_items: Record<string, {
127
127
  quantity?: number | undefined;
128
128
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -130,19 +130,16 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
130
130
  }>;
131
131
  };
132
132
  }[] | undefined;
133
- id: string | null;
134
133
  quantity: number;
135
134
  product: {
136
135
  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;
141
139
  server_only: boolean;
142
140
  customer_type: "team" | "user" | "custom";
143
141
  stackable: boolean;
144
142
  prices: Record<string, {
145
- interval?: ______utils_dates0.DayInterval | undefined;
146
143
  USD?: string | undefined;
147
144
  EUR?: string | undefined;
148
145
  GBP?: string | undefined;
@@ -150,14 +147,17 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
150
147
  INR?: string | undefined;
151
148
  AUD?: string | undefined;
152
149
  CAD?: string | undefined;
150
+ interval?: ______utils_dates0.DayInterval | undefined;
153
151
  free_trial?: ______utils_dates0.DayInterval | undefined;
154
152
  }>;
153
+ display_name: string;
155
154
  included_items: Record<string, {
156
155
  quantity?: number | undefined;
157
156
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
158
157
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
159
158
  }>;
160
159
  };
160
+ id: string | null;
161
161
  }[];
162
162
  is_paginated: boolean;
163
163
  pagination: {
@@ -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";
84
+ description: string;
83
85
  id: 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;
182
+ description: string;
181
183
  id: 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: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
55
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
56
56
  selected_email_theme_id: string | null;
57
57
  selected_payments_country: "US" | "OTHER";
58
58
  } | null | undefined;
@@ -225,7 +225,7 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
225
225
  onboarding_state: {
226
226
  selected_config_choice: "create-new" | "link-existing";
227
227
  selected_apps: string[];
228
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
228
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
229
229
  selected_email_theme_id: string | null;
230
230
  selected_payments_country: "US" | "OTHER";
231
231
  } | null | undefined;
@@ -305,7 +305,7 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
305
305
  onboarding_state: {
306
306
  selected_config_choice: "create-new" | "link-existing";
307
307
  selected_apps: string[];
308
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
308
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
309
309
  selected_email_theme_id: string | null;
310
310
  selected_payments_country: "US" | "OTHER";
311
311
  } | null | undefined;
@@ -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: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
458
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
459
459
  selected_email_theme_id: string | null;
460
460
  selected_payments_country: "US" | "OTHER";
461
461
  } | null | undefined;
@@ -580,7 +580,7 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
580
580
  onboarding_state: {
581
581
  selected_config_choice: "create-new" | "link-existing";
582
582
  selected_apps: string[];
583
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
583
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
584
584
  selected_email_theme_id: string | null;
585
585
  selected_payments_country: "US" | "OTHER";
586
586
  } | null | undefined;
@@ -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: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
691
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
692
692
  selected_email_theme_id: string | null;
693
693
  selected_payments_country: "US" | "OTHER";
694
694
  } | null | undefined;
@@ -813,7 +813,7 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
813
813
  onboarding_state: {
814
814
  selected_config_choice: "create-new" | "link-existing";
815
815
  selected_apps: string[];
816
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
816
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
817
817
  selected_email_theme_id: string | null;
818
818
  selected_payments_country: "US" | "OTHER";
819
819
  } | null | undefined;
@@ -21,32 +21,32 @@ 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
- selected_team_id: string | null;
32
- is_anonymous: boolean;
33
- is_restricted: boolean;
34
24
  restricted_reason: {
35
25
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
36
26
  } | null;
37
- requires_totp_mfa: boolean;
27
+ primary_email: string | null;
28
+ display_name: string | null;
38
29
  client_metadata: {} | null;
39
30
  client_read_only_metadata: {} | null;
40
31
  server_metadata: {} | null;
32
+ 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
41
  primary_email_verified: boolean;
42
42
  primary_email_auth_enabled: boolean;
43
43
  selected_team: {
44
44
  client_metadata?: {} | null | undefined;
45
45
  client_read_only_metadata?: {} | null | undefined;
46
46
  server_metadata?: {} | null | undefined;
47
+ display_name: string;
47
48
  id: string;
48
49
  created_at_millis: number;
49
- display_name: string;
50
50
  profile_image_url: string | null;
51
51
  } | null;
52
52
  has_password: boolean;
@@ -144,32 +144,32 @@ 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
- selected_team_id: string | null;
155
- is_anonymous: boolean;
156
- is_restricted: boolean;
157
147
  restricted_reason: {
158
148
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
159
149
  } | null;
160
- requires_totp_mfa: boolean;
150
+ primary_email: string | null;
151
+ display_name: string | null;
161
152
  client_metadata: {} | null;
162
153
  client_read_only_metadata: {} | null;
163
154
  server_metadata: {} | null;
155
+ 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
164
  primary_email_verified: boolean;
165
165
  primary_email_auth_enabled: boolean;
166
166
  selected_team: {
167
167
  client_metadata?: {} | null | undefined;
168
168
  client_read_only_metadata?: {} | null | undefined;
169
169
  server_metadata?: {} | null | undefined;
170
+ display_name: string;
170
171
  id: string;
171
172
  created_at_millis: number;
172
- display_name: string;
173
173
  profile_image_url: string | null;
174
174
  } | null;
175
175
  has_password: boolean;
@@ -42,12 +42,10 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
42
42
  client_metadata?: {} | null | undefined;
43
43
  client_read_only_metadata?: {} | null | undefined;
44
44
  server_metadata?: {} | null | undefined;
45
- display_name: string;
46
45
  server_only: boolean;
47
46
  customer_type: "team" | "user" | "custom";
48
47
  stackable: boolean;
49
48
  prices: Record<string, {
50
- interval?: ______utils_dates0.DayInterval | undefined;
51
49
  USD?: string | undefined;
52
50
  EUR?: string | undefined;
53
51
  GBP?: string | undefined;
@@ -55,8 +53,10 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
55
53
  INR?: string | undefined;
56
54
  AUD?: string | undefined;
57
55
  CAD?: string | undefined;
56
+ interval?: ______utils_dates0.DayInterval | undefined;
58
57
  free_trial?: ______utils_dates0.DayInterval | undefined;
59
58
  }>;
59
+ display_name: string;
60
60
  included_items: Record<string, {
61
61
  quantity?: number | undefined;
62
62
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -126,12 +126,10 @@ declare const transactionSchema: yup$1.ObjectSchema<{
126
126
  client_metadata?: {} | null | undefined;
127
127
  client_read_only_metadata?: {} | null | undefined;
128
128
  server_metadata?: {} | null | undefined;
129
- display_name: string;
130
129
  server_only: boolean;
131
130
  customer_type: "team" | "user" | "custom";
132
131
  stackable: boolean;
133
132
  prices: Record<string, {
134
- interval?: ______utils_dates0.DayInterval | undefined;
135
133
  USD?: string | undefined;
136
134
  EUR?: string | undefined;
137
135
  GBP?: string | undefined;
@@ -139,8 +137,10 @@ declare const transactionSchema: yup$1.ObjectSchema<{
139
137
  INR?: string | undefined;
140
138
  AUD?: string | undefined;
141
139
  CAD?: string | undefined;
140
+ interval?: ______utils_dates0.DayInterval | undefined;
142
141
  free_trial?: ______utils_dates0.DayInterval | undefined;
143
142
  }>;
143
+ display_name: string;
144
144
  included_items: Record<string, {
145
145
  quantity?: number | undefined;
146
146
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -81,9 +81,9 @@ 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;
84
85
  id: string;
85
86
  created_at_millis: number;
86
- display_name: string;
87
87
  profile_image_url: string | null;
88
88
  } | null;
89
89
  selected_team_id: string | null;
@@ -163,15 +163,15 @@ 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
- is_anonymous: boolean | undefined;
171
- password: string | null | undefined;
167
+ display_name: string | null | undefined;
172
168
  client_metadata: {} | null | undefined;
173
169
  client_read_only_metadata: {} | null | undefined;
174
170
  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
175
  primary_email_verified: boolean | undefined;
176
176
  primary_email_auth_enabled: boolean | undefined;
177
177
  otp_auth_enabled: boolean | undefined;
@@ -189,8 +189,8 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
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;
@@ -234,9 +234,9 @@ 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;
237
238
  id: string;
238
239
  created_at_millis: number;
239
- display_name: string;
240
240
  profile_image_url: string | null;
241
241
  } | null;
242
242
  selected_team_id: string | null;
@@ -369,15 +369,15 @@ 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
- is_anonymous: boolean | undefined;
377
- password: string | null | undefined;
373
+ display_name: string | null | undefined;
378
374
  client_metadata: {} | null | undefined;
379
375
  client_read_only_metadata: {} | null | undefined;
380
376
  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
381
  primary_email_verified: boolean | undefined;
382
382
  primary_email_auth_enabled: boolean | undefined;
383
383
  otp_auth_enabled: boolean | undefined;
@@ -395,8 +395,8 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
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;
@@ -468,9 +468,9 @@ 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;
471
472
  id: string;
472
473
  created_at_millis: number;
473
- display_name: string;
474
474
  profile_image_url: string | null;
475
475
  } | null;
476
476
  selected_team_id: string | null;
@@ -559,9 +559,9 @@ 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;
562
563
  id: string;
563
564
  created_at_millis: number;
564
- display_name: string;
565
565
  profile_image_url: string | null;
566
566
  } | null;
567
567
  selected_team_id: 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: "team" | "free" | "growth";
27
+ plan_id: "free" | "team" | "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;
@@ -20,9 +20,9 @@ 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;
23
24
  id: string;
24
25
  created_at_millis: number;
25
- display_name: string;
26
26
  profile_image_url: string | null;
27
27
  } | null;
28
28
  selected_team_id: string | null;
@@ -110,9 +110,9 @@ 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;
113
114
  id: string;
114
115
  created_at_millis: number;
115
- display_name: string;
116
116
  profile_image_url: string | null;
117
117
  } | null;
118
118
  selected_team_id: string | null;
@@ -203,9 +203,6 @@ 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;
209
206
  USD?: string | undefined;
210
207
  EUR?: string | undefined;
211
208
  GBP?: string | undefined;
@@ -213,6 +210,9 @@ declare const pricesSchema: yup$1.MixedSchema<Record<string, {
213
210
  INR?: string | undefined;
214
211
  AUD?: string | undefined;
215
212
  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,9 +223,6 @@ 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;
229
226
  USD?: string | undefined;
230
227
  EUR?: string | undefined;
231
228
  GBP?: string | undefined;
@@ -233,6 +230,9 @@ declare const productSchema: yup$1.ObjectSchema<{
233
230
  INR?: string | undefined;
234
231
  AUD?: string | undefined;
235
232
  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,9 +262,6 @@ 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;
268
265
  USD?: string | undefined;
269
266
  EUR?: string | undefined;
270
267
  GBP?: string | undefined;
@@ -272,6 +269,9 @@ declare const productSchemaWithMetadata: yup$1.ObjectSchema<{
272
269
  INR?: string | undefined;
273
270
  AUD?: string | undefined;
274
271
  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,7 +303,6 @@ declare const inlineProductSchema: yup$1.ObjectSchema<{
303
303
  server_only: boolean;
304
304
  stackable: boolean;
305
305
  prices: Record<string, {
306
- interval?: DayInterval | undefined;
307
306
  USD?: string | undefined;
308
307
  EUR?: string | undefined;
309
308
  GBP?: string | undefined;
@@ -311,6 +310,7 @@ declare const inlineProductSchema: yup$1.ObjectSchema<{
311
310
  INR?: string | undefined;
312
311
  AUD?: string | undefined;
313
312
  CAD?: string | undefined;
313
+ interval?: DayInterval | undefined;
314
314
  free_trial?: DayInterval | undefined;
315
315
  }>;
316
316
  included_items: Record<string, {
@@ -470,9 +470,9 @@ declare function yupDefinedAndNonEmptyWhen<S extends yup$1.StringSchema>(schema:
470
470
  declare const branchConfigSourceSchema: yup$1.MixedSchema<{
471
471
  workflow_path?: string | undefined;
472
472
  type: "pushed-from-github";
473
- branch: string;
474
473
  owner: string;
475
474
  repo: string;
475
+ branch: string;
476
476
  commit_hash: string;
477
477
  config_file_path: string;
478
478
  } | {
@@ -9,24 +9,24 @@ declare class AccessToken {
9
9
  private constructor();
10
10
  get payload(): {
11
11
  exp?: number | undefined;
12
- name: string | null;
12
+ project_id: string;
13
+ refresh_token_id: string;
14
+ email: string | null;
15
+ restricted_reason: {
16
+ type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
17
+ } | null;
18
+ branch_id: string;
13
19
  sub: string;
14
20
  iat: number;
15
21
  iss: string;
16
22
  aud: string;
17
- project_id: string;
18
- branch_id: string;
19
- refresh_token_id: string;
20
23
  role: "authenticated";
21
- email: string | null;
24
+ name: string | null;
22
25
  email_verified: boolean;
23
26
  selected_team_id: string | null;
24
27
  signed_up_at: number;
25
28
  is_anonymous: boolean;
26
29
  is_restricted: boolean;
27
- restricted_reason: {
28
- type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
29
- } | null;
30
30
  requires_totp_mfa: boolean;
31
31
  };
32
32
  get expiresAt(): Date;
@@ -11,7 +11,7 @@ The Hexclave CLI already created or linked this project to a local Hexclave deve
11
11
  ${configPath}
12
12
  \`\`\`
13
13
 
14
- Do not create or link another Hexclave project. When the SDK setup instructions mention creating \`stack.config.ts\` or wrapping the dev script with \`stack dev --config-file\`, use the config file path above.
14
+ Do not create or link another Hexclave project. When the SDK setup instructions mention creating \`hexclave.config.ts\` or wrapping the dev script with \`hexclave dev --config-file\`, use the config file path above.
15
15
  `;
16
16
  return `
17
17
  The Hexclave CLI already created or linked this project to a hosted Hexclave cloud project and wrote or printed the Hexclave environment variables.
@@ -1 +1 @@
1
- {"version":3,"file":"init-prompt.js","names":["aiSetupPrompt"],"sources":["../../src/helpers/init-prompt.ts"],"sourcesContent":["import { aiSetupPrompt } from \"../ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt\";\n\nfunction getCliProjectSetupContext(configPath?: string): string {\n if (configPath != null) {\n return `\nThe Hexclave CLI already created or linked this project to a local Hexclave development environment config file:\n\n\\`\\`\\`text\n${configPath}\n\\`\\`\\`\n\nDo not create or link another Hexclave project. When the SDK setup instructions mention creating \\`stack.config.ts\\` or wrapping the dev script with \\`stack dev --config-file\\`, use the config file path above.\n`;\n }\n\n return `\nThe Hexclave CLI already created or linked this project to a hosted Hexclave cloud project and wrote or printed the Hexclave environment variables.\n\nDo not create or link another Hexclave project. Use the existing environment variables in this workspace. If the variables were printed instead of written because the user declined to append them to an env file, tell the user exactly which variables still need to be added.\n`;\n}\n\nexport const createInitPrompt = (web: boolean, configPath?: string) => `=============================\nHEXCLAVE SETUP INSTRUCTIONS\n=============================\n\nThese instructions describe how to set up Hexclave.\n${web ? `\nFirst of all, use the full setup prompt below as the source of truth. Do not run the Hexclave CLI initializer unless the user explicitly asks for the CLI workflow.\n` : \"\"}\n\n${getCliProjectSetupContext(configPath)}\n\nUse the full setup guide below as the source of truth, with one important CLI-specific adjustment: the \"Setting up the project\" step is already complete. Use that section only to understand how the existing config/env files should connect to the SDK wiring; do not ask the user for project IDs or keys that the CLI already generated or linked.\n\nApply only the sections relevant to this project. For example, do not add Convex, Supabase, or command-line-app authentication unless the existing project already uses that surface or the user explicitly asked for it.\n\n${aiSetupPrompt}\n`;\n"],"mappings":";;;;;AAEA,SAAS,0BAA0B,YAA6B;AAC9D,KAAI,cAAc,KAChB,QAAO;;;;EAIT,WAAW;;;;;AAOX,QAAO;;;;;;AAOT,MAAa,oBAAoB,KAAc,eAAwB;;;;;EAKrE,MAAM;;IAEJ,GAAG;;EAEL,0BAA0B,WAAW,CAAC;;;;;;EAMtCA,+EAAc"}
1
+ {"version":3,"file":"init-prompt.js","names":["aiSetupPrompt"],"sources":["../../src/helpers/init-prompt.ts"],"sourcesContent":["import { aiSetupPrompt } from \"../ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt\";\n\nfunction getCliProjectSetupContext(configPath?: string): string {\n if (configPath != null) {\n return `\nThe Hexclave CLI already created or linked this project to a local Hexclave development environment config file:\n\n\\`\\`\\`text\n${configPath}\n\\`\\`\\`\n\nDo not create or link another Hexclave project. When the SDK setup instructions mention creating \\`hexclave.config.ts\\` or wrapping the dev script with \\`hexclave dev --config-file\\`, use the config file path above.\n`;\n }\n\n return `\nThe Hexclave CLI already created or linked this project to a hosted Hexclave cloud project and wrote or printed the Hexclave environment variables.\n\nDo not create or link another Hexclave project. Use the existing environment variables in this workspace. If the variables were printed instead of written because the user declined to append them to an env file, tell the user exactly which variables still need to be added.\n`;\n}\n\nexport const createInitPrompt = (web: boolean, configPath?: string) => `=============================\nHEXCLAVE SETUP INSTRUCTIONS\n=============================\n\nThese instructions describe how to set up Hexclave.\n${web ? `\nFirst of all, use the full setup prompt below as the source of truth. Do not run the Hexclave CLI initializer unless the user explicitly asks for the CLI workflow.\n` : \"\"}\n\n${getCliProjectSetupContext(configPath)}\n\nUse the full setup guide below as the source of truth, with one important CLI-specific adjustment: the \"Setting up the project\" step is already complete. Use that section only to understand how the existing config/env files should connect to the SDK wiring; do not ask the user for project IDs or keys that the CLI already generated or linked.\n\nApply only the sections relevant to this project. For example, do not add Convex, Supabase, or command-line-app authentication unless the existing project already uses that surface or the user explicitly asked for it.\n\n${aiSetupPrompt}\n`;\n"],"mappings":";;;;;AAEA,SAAS,0BAA0B,YAA6B;AAC9D,KAAI,cAAc,KAChB,QAAO;;;;EAIT,WAAW;;;;;AAOX,QAAO;;;;;;AAOT,MAAa,oBAAoB,KAAc,eAAwB;;;;;EAKrE,MAAM;;IAEJ,GAAG;;EAEL,0BAA0B,WAAW,CAAC;;;;;;EAMtCA,+EAAc"}