@hexclave/shared 1.0.32 → 1.0.33

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 (38) hide show
  1. package/dist/config/schema.d.ts +89 -89
  2. package/dist/esm/config/schema.d.ts +89 -89
  3. package/dist/esm/helpers/init-prompt.js +1 -1
  4. package/dist/esm/helpers/init-prompt.js.map +1 -1
  5. package/dist/esm/interface/admin-metrics.d.ts +23 -23
  6. package/dist/esm/interface/conversations.d.ts +32 -32
  7. package/dist/esm/interface/crud/current-user.d.ts +14 -14
  8. package/dist/esm/interface/crud/email-outbox.d.ts +206 -206
  9. package/dist/esm/interface/crud/invoices.d.ts +2 -2
  10. package/dist/esm/interface/crud/products.d.ts +9 -9
  11. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  12. package/dist/esm/interface/crud/projects.d.ts +7 -7
  13. package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
  14. package/dist/esm/interface/crud/transactions.d.ts +4 -4
  15. package/dist/esm/interface/crud/users.d.ts +16 -16
  16. package/dist/esm/interface/plan-usage.d.ts +1 -1
  17. package/dist/esm/interface/webhooks.d.ts +2 -2
  18. package/dist/esm/schema-fields.d.ts +11 -11
  19. package/dist/esm/sessions.d.ts +8 -8
  20. package/dist/helpers/init-prompt.js +1 -1
  21. package/dist/helpers/init-prompt.js.map +1 -1
  22. package/dist/interface/admin-metrics.d.ts +23 -23
  23. package/dist/interface/conversations.d.ts +32 -32
  24. package/dist/interface/crud/current-user.d.ts +14 -14
  25. package/dist/interface/crud/email-outbox.d.ts +206 -206
  26. package/dist/interface/crud/invoices.d.ts +2 -2
  27. package/dist/interface/crud/products.d.ts +9 -9
  28. package/dist/interface/crud/project-api-keys.d.ts +4 -4
  29. package/dist/interface/crud/projects.d.ts +7 -7
  30. package/dist/interface/crud/team-member-profiles.d.ts +24 -24
  31. package/dist/interface/crud/transactions.d.ts +4 -4
  32. package/dist/interface/crud/users.d.ts +16 -16
  33. package/dist/interface/plan-usage.d.ts +1 -1
  34. package/dist/interface/webhooks.d.ts +2 -2
  35. package/dist/schema-fields.d.ts +11 -11
  36. package/dist/sessions.d.ts +8 -8
  37. package/package.json +1 -1
  38. 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: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
6
+ status: "draft" | "open" | "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: "open" | "draft" | "paid" | "uncollectible" | "void" | null;
18
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
19
19
  created_at_millis: number;
20
20
  amount_total: number;
21
21
  hosted_invoice_url: string | null;
@@ -10,10 +10,12 @@ 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;
13
14
  server_only: boolean;
14
15
  customer_type: "team" | "user" | "custom";
15
16
  stackable: boolean;
16
17
  prices: Record<string, {
18
+ interval?: ______utils_dates0.DayInterval | undefined;
17
19
  USD?: string | undefined;
18
20
  EUR?: string | undefined;
19
21
  GBP?: string | undefined;
@@ -21,10 +23,8 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
21
23
  INR?: string | undefined;
22
24
  AUD?: string | undefined;
23
25
  CAD?: string | undefined;
24
- interval?: ______utils_dates0.DayInterval | undefined;
25
26
  free_trial?: ______utils_dates0.DayInterval | undefined;
26
27
  }>;
27
- display_name: string;
28
28
  included_items: Record<string, {
29
29
  quantity?: number | undefined;
30
30
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -45,10 +45,12 @@ 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;
48
49
  server_only: boolean;
49
50
  customer_type: "team" | "user" | "custom";
50
51
  stackable: boolean;
51
52
  prices: Record<string, {
53
+ interval?: ______utils_dates0.DayInterval | undefined;
52
54
  USD?: string | undefined;
53
55
  EUR?: string | undefined;
54
56
  GBP?: string | undefined;
@@ -56,10 +58,8 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
56
58
  INR?: string | undefined;
57
59
  AUD?: string | undefined;
58
60
  CAD?: string | undefined;
59
- interval?: ______utils_dates0.DayInterval | undefined;
60
61
  free_trial?: ______utils_dates0.DayInterval | undefined;
61
62
  }>;
62
- display_name: string;
63
63
  included_items: Record<string, {
64
64
  quantity?: number | undefined;
65
65
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -108,10 +108,12 @@ 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;
111
112
  server_only: boolean;
112
113
  customer_type: "team" | "user" | "custom";
113
114
  stackable: boolean;
114
115
  prices: Record<string, {
116
+ interval?: ______utils_dates0.DayInterval | undefined;
115
117
  USD?: string | undefined;
116
118
  EUR?: string | undefined;
117
119
  GBP?: string | undefined;
@@ -119,10 +121,8 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
119
121
  INR?: string | undefined;
120
122
  AUD?: string | undefined;
121
123
  CAD?: string | undefined;
122
- interval?: ______utils_dates0.DayInterval | undefined;
123
124
  free_trial?: ______utils_dates0.DayInterval | undefined;
124
125
  }>;
125
- display_name: string;
126
126
  included_items: Record<string, {
127
127
  quantity?: number | undefined;
128
128
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -130,16 +130,19 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
130
130
  }>;
131
131
  };
132
132
  }[] | undefined;
133
+ id: string | null;
133
134
  quantity: number;
134
135
  product: {
135
136
  free_trial?: ______utils_dates0.DayInterval | undefined;
136
137
  client_metadata?: {} | null | undefined;
137
138
  client_read_only_metadata?: {} | null | undefined;
138
139
  server_metadata?: {} | null | undefined;
140
+ display_name: string;
139
141
  server_only: boolean;
140
142
  customer_type: "team" | "user" | "custom";
141
143
  stackable: boolean;
142
144
  prices: Record<string, {
145
+ interval?: ______utils_dates0.DayInterval | undefined;
143
146
  USD?: string | undefined;
144
147
  EUR?: string | undefined;
145
148
  GBP?: string | undefined;
@@ -147,17 +150,14 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
147
150
  INR?: string | undefined;
148
151
  AUD?: string | undefined;
149
152
  CAD?: string | undefined;
150
- interval?: ______utils_dates0.DayInterval | undefined;
151
153
  free_trial?: ______utils_dates0.DayInterval | undefined;
152
154
  }>;
153
- display_name: string;
154
155
  included_items: Record<string, {
155
156
  quantity?: number | undefined;
156
157
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
157
158
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
158
159
  }>;
159
160
  };
160
- id: string | null;
161
161
  }[];
162
162
  is_paginated: boolean;
163
163
  pagination: {
@@ -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;
83
82
  type: "user";
84
- description: string;
85
83
  id: string;
86
84
  created_at_millis: number;
87
85
  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;
183
181
  id: string;
184
182
  created_at_millis: number;
185
183
  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;
@@ -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: ("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;
@@ -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: ("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;
@@ -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;
@@ -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: ("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;
@@ -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;
@@ -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: ("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;
@@ -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;
24
34
  restricted_reason: {
25
35
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
26
36
  } | null;
27
- primary_email: string | null;
28
- display_name: string | null;
37
+ requires_totp_mfa: boolean;
29
38
  client_metadata: {} | null;
30
39
  client_read_only_metadata: {} | null;
31
40
  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;
48
47
  id: string;
49
48
  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;
147
157
  restricted_reason: {
148
158
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
149
159
  } | null;
150
- primary_email: string | null;
151
- display_name: string | null;
160
+ requires_totp_mfa: boolean;
152
161
  client_metadata: {} | null;
153
162
  client_read_only_metadata: {} | null;
154
163
  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;
171
170
  id: string;
172
171
  created_at_millis: number;
172
+ display_name: string;
173
173
  profile_image_url: string | null;
174
174
  } | null;
175
175
  has_password: boolean;
@@ -42,10 +42,12 @@ 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;
45
46
  server_only: boolean;
46
47
  customer_type: "team" | "user" | "custom";
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;
@@ -126,10 +126,12 @@ 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;
129
130
  server_only: boolean;
130
131
  customer_type: "team" | "user" | "custom";
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;
@@ -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;
85
84
  id: string;
86
85
  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
- primary_email: string | null | undefined;
166
+ country_code: string | null | undefined;
167
167
  display_name: string | null | undefined;
168
+ primary_email: string | null | undefined;
169
+ profile_image_url: string | null | undefined;
170
+ is_anonymous: boolean | undefined;
171
+ password: string | null | undefined;
168
172
  client_metadata: {} | null | undefined;
169
173
  client_read_only_metadata: {} | null | undefined;
170
174
  server_metadata: {} | null | undefined;
171
- is_anonymous: boolean | undefined;
172
- password: string | null | undefined;
173
- country_code: string | null | undefined;
174
- profile_image_url: 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
- email: string | null;
193
192
  id: string;
193
+ email: string | null;
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;
238
237
  id: string;
239
238
  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
- primary_email: string | null | undefined;
372
+ country_code: string | null | undefined;
373
373
  display_name: string | null | undefined;
374
+ primary_email: string | null | undefined;
375
+ profile_image_url: string | null | undefined;
376
+ is_anonymous: boolean | undefined;
377
+ password: string | null | undefined;
374
378
  client_metadata: {} | null | undefined;
375
379
  client_read_only_metadata: {} | null | undefined;
376
380
  server_metadata: {} | null | undefined;
377
- is_anonymous: boolean | undefined;
378
- password: string | null | undefined;
379
- country_code: string | null | undefined;
380
- profile_image_url: 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
- email: string | null;
399
398
  id: string;
399
+ email: string | null;
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;
472
471
  id: string;
473
472
  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;
563
562
  id: string;
564
563
  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;
@@ -30,9 +30,9 @@ declare const planUsageResponseSchema: yup$1.ObjectSchema<{
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";
34
33
  display_name: string;
35
34
  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;
24
23
  id: string;
25
24
  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;
114
113
  id: string;
115
114
  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,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, {
@@ -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;
473
474
  owner: string;
474
475
  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
- 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;
12
+ name: string | null;
19
13
  sub: string;
20
14
  iat: number;
21
15
  iss: string;
22
16
  aud: string;
17
+ project_id: string;
18
+ branch_id: string;
19
+ refresh_token_id: string;
23
20
  role: "authenticated";
24
- name: string | null;
21
+ email: string | null;
25
22
  email_verified: boolean;
26
23
  selected_team_id: string | null;
27
24
  signed_up_at: number;
28
25
  is_anonymous: boolean;
29
26
  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;
@@ -25,7 +25,7 @@ HEXCLAVE SETUP INSTRUCTIONS
25
25
 
26
26
  These instructions describe how to set up Hexclave.
27
27
  ${web ? `
28
- First of all, if you have access to a terminal, it is better to use \`npx @hexclave/cli init\`.
28
+ First 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.
29
29
  ` : ""}
30
30
 
31
31
  ${getCliProjectSetupContext(configPath)}
@@ -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, if you have access to a terminal, it is better to use \\`npx @hexclave/cli init\\`.\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 \\`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"}