@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?: 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?: DayInterval | undefined;
25
26
  free_trial?: DayInterval | undefined;
26
27
  }>;
27
- display_name: string;
28
28
  included_items: Record<string, {
29
29
  quantity?: number | undefined;
30
30
  repeat?: "never" | 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?: 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?: DayInterval | undefined;
60
61
  free_trial?: DayInterval | undefined;
61
62
  }>;
62
- display_name: string;
63
63
  included_items: Record<string, {
64
64
  quantity?: number | undefined;
65
65
  repeat?: "never" | 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?: 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?: DayInterval | undefined;
123
124
  free_trial?: DayInterval | undefined;
124
125
  }>;
125
- display_name: string;
126
126
  included_items: Record<string, {
127
127
  quantity?: number | undefined;
128
128
  repeat?: "never" | 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?: 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?: 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?: DayInterval | undefined;
151
153
  free_trial?: DayInterval | undefined;
152
154
  }>;
153
- display_name: string;
154
155
  included_items: Record<string, {
155
156
  quantity?: number | undefined;
156
157
  repeat?: "never" | 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: {
@@ -78,12 +78,12 @@ declare const userApiKeysCrud: CrudSchemaFromOptions<{
78
78
  is_public: undefined;
79
79
  user_id: undefined;
80
80
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
81
- user_id: string;
82
81
  type: "user";
83
- description: string;
84
82
  id: string;
85
83
  created_at_millis: number;
86
84
  expires_at_millis: number | undefined;
85
+ user_id: string;
86
+ description: string;
87
87
  manually_revoked_at_millis: number | undefined;
88
88
  is_public: boolean;
89
89
  } & {
@@ -177,11 +177,11 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
177
177
  team_id: undefined;
178
178
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
179
179
  type: "team";
180
- team_id: string;
181
- description: string;
182
180
  id: string;
183
181
  created_at_millis: number;
184
182
  expires_at_millis: number | undefined;
183
+ team_id: string;
184
+ description: string;
185
185
  manually_revoked_at_millis: number | undefined;
186
186
  is_public: boolean;
187
187
  } & {
@@ -51,7 +51,7 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
51
51
  onboarding_state: {
52
52
  selected_config_choice: "create-new" | "link-existing";
53
53
  selected_apps: string[];
54
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
54
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
55
55
  selected_email_theme_id: string | null;
56
56
  selected_payments_country: "US" | "OTHER";
57
57
  } | null | undefined;
@@ -224,7 +224,7 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
224
224
  onboarding_state: {
225
225
  selected_config_choice: "create-new" | "link-existing";
226
226
  selected_apps: string[];
227
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
227
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
228
228
  selected_email_theme_id: string | null;
229
229
  selected_payments_country: "US" | "OTHER";
230
230
  } | null | undefined;
@@ -304,7 +304,7 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
304
304
  onboarding_state: {
305
305
  selected_config_choice: "create-new" | "link-existing";
306
306
  selected_apps: string[];
307
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
307
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
308
308
  selected_email_theme_id: string | null;
309
309
  selected_payments_country: "US" | "OTHER";
310
310
  } | null | undefined;
@@ -454,7 +454,7 @@ declare const projectsCrud: CrudSchemaFromOptions<{
454
454
  onboarding_state: {
455
455
  selected_config_choice: "create-new" | "link-existing";
456
456
  selected_apps: string[];
457
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
457
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
458
458
  selected_email_theme_id: string | null;
459
459
  selected_payments_country: "US" | "OTHER";
460
460
  } | null | undefined;
@@ -579,7 +579,7 @@ declare const projectsCrud: CrudSchemaFromOptions<{
579
579
  onboarding_state: {
580
580
  selected_config_choice: "create-new" | "link-existing";
581
581
  selected_apps: string[];
582
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
582
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
583
583
  selected_email_theme_id: string | null;
584
584
  selected_payments_country: "US" | "OTHER";
585
585
  } | null | undefined;
@@ -687,7 +687,7 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
687
687
  onboarding_state: {
688
688
  selected_config_choice: "create-new" | "link-existing";
689
689
  selected_apps: string[];
690
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
690
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
691
691
  selected_email_theme_id: string | null;
692
692
  selected_payments_country: "US" | "OTHER";
693
693
  } | null | undefined;
@@ -812,7 +812,7 @@ declare const adminUserProjectsCrud: CrudSchemaFromOptions<{
812
812
  onboarding_state: {
813
813
  selected_config_choice: "create-new" | "link-existing";
814
814
  selected_apps: string[];
815
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
815
+ selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
816
816
  selected_email_theme_id: string | null;
817
817
  selected_payments_country: "US" | "OTHER";
818
818
  } | null | undefined;
@@ -20,32 +20,32 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
20
20
  profile_image_url: string | null;
21
21
  } & {
22
22
  user: {
23
+ id: string;
24
+ country_code: string | null;
25
+ display_name: string | null;
26
+ primary_email: string | null;
27
+ profile_image_url: string | null;
28
+ signed_up_at_millis: number;
29
+ last_active_at_millis: number;
30
+ selected_team_id: string | null;
31
+ is_anonymous: boolean;
32
+ is_restricted: boolean;
23
33
  restricted_reason: {
24
34
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
25
35
  } | null;
26
- primary_email: string | null;
27
- display_name: string | null;
36
+ requires_totp_mfa: boolean;
28
37
  client_metadata: {} | null;
29
38
  client_read_only_metadata: {} | null;
30
39
  server_metadata: {} | null;
31
- id: string;
32
- selected_team_id: string | null;
33
- is_anonymous: boolean;
34
- is_restricted: boolean;
35
- requires_totp_mfa: boolean;
36
- country_code: string | null;
37
- profile_image_url: string | null;
38
- signed_up_at_millis: number;
39
- last_active_at_millis: number;
40
40
  primary_email_verified: boolean;
41
41
  primary_email_auth_enabled: boolean;
42
42
  selected_team: {
43
43
  client_metadata?: {} | null | undefined;
44
44
  client_read_only_metadata?: {} | null | undefined;
45
45
  server_metadata?: {} | null | undefined;
46
- display_name: string;
47
46
  id: string;
48
47
  created_at_millis: number;
48
+ display_name: string;
49
49
  profile_image_url: string | null;
50
50
  } | null;
51
51
  has_password: boolean;
@@ -143,32 +143,32 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
143
143
  profile_image_url: string | null;
144
144
  } & {
145
145
  user: {
146
+ id: string;
147
+ country_code: string | null;
148
+ display_name: string | null;
149
+ primary_email: string | null;
150
+ profile_image_url: string | null;
151
+ signed_up_at_millis: number;
152
+ last_active_at_millis: number;
153
+ selected_team_id: string | null;
154
+ is_anonymous: boolean;
155
+ is_restricted: boolean;
146
156
  restricted_reason: {
147
157
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
148
158
  } | null;
149
- primary_email: string | null;
150
- display_name: string | null;
159
+ requires_totp_mfa: boolean;
151
160
  client_metadata: {} | null;
152
161
  client_read_only_metadata: {} | null;
153
162
  server_metadata: {} | null;
154
- id: string;
155
- selected_team_id: string | null;
156
- is_anonymous: boolean;
157
- is_restricted: boolean;
158
- requires_totp_mfa: boolean;
159
- country_code: string | null;
160
- profile_image_url: string | null;
161
- signed_up_at_millis: number;
162
- last_active_at_millis: number;
163
163
  primary_email_verified: boolean;
164
164
  primary_email_auth_enabled: boolean;
165
165
  selected_team: {
166
166
  client_metadata?: {} | null | undefined;
167
167
  client_read_only_metadata?: {} | null | undefined;
168
168
  server_metadata?: {} | null | undefined;
169
- display_name: string;
170
169
  id: string;
171
170
  created_at_millis: number;
171
+ display_name: string;
172
172
  profile_image_url: string | null;
173
173
  } | null;
174
174
  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?: 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?: DayInterval | undefined;
57
58
  free_trial?: DayInterval | undefined;
58
59
  }>;
59
- display_name: string;
60
60
  included_items: Record<string, {
61
61
  quantity?: number | undefined;
62
62
  repeat?: "never" | 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?: 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?: DayInterval | undefined;
141
142
  free_trial?: DayInterval | undefined;
142
143
  }>;
143
- display_name: string;
144
144
  included_items: Record<string, {
145
145
  quantity?: number | undefined;
146
146
  repeat?: "never" | DayInterval | undefined;
@@ -80,9 +80,9 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
80
80
  client_metadata?: {} | null | undefined;
81
81
  client_read_only_metadata?: {} | null | undefined;
82
82
  server_metadata?: {} | null | undefined;
83
- display_name: string;
84
83
  id: string;
85
84
  created_at_millis: number;
85
+ display_name: string;
86
86
  profile_image_url: string | null;
87
87
  } | null;
88
88
  selected_team_id: string | null;
@@ -162,15 +162,15 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
162
162
  requires_totp_mfa: undefined;
163
163
  }, "">;
164
164
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
165
- primary_email: string | null | undefined;
165
+ country_code: string | null | undefined;
166
166
  display_name: string | null | undefined;
167
+ primary_email: string | null | undefined;
168
+ profile_image_url: string | null | undefined;
169
+ is_anonymous: boolean | undefined;
170
+ password: string | null | undefined;
167
171
  client_metadata: {} | null | undefined;
168
172
  client_read_only_metadata: {} | null | undefined;
169
173
  server_metadata: {} | null | undefined;
170
- is_anonymous: boolean | undefined;
171
- password: string | null | undefined;
172
- country_code: string | null | undefined;
173
- profile_image_url: string | null | undefined;
174
174
  primary_email_verified: boolean | undefined;
175
175
  primary_email_auth_enabled: boolean | undefined;
176
176
  otp_auth_enabled: boolean | undefined;
@@ -188,8 +188,8 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
188
188
  totp_secret_base64: string | null | undefined;
189
189
  } & {
190
190
  oauth_providers: {
191
- email: string | null;
192
191
  id: string;
192
+ email: string | null;
193
193
  account_id: string;
194
194
  }[] | undefined;
195
195
  is_anonymous: boolean | undefined;
@@ -233,9 +233,9 @@ declare const usersCrud: CrudSchemaFromOptions<{
233
233
  client_metadata?: {} | null | undefined;
234
234
  client_read_only_metadata?: {} | null | undefined;
235
235
  server_metadata?: {} | null | undefined;
236
- display_name: string;
237
236
  id: string;
238
237
  created_at_millis: number;
238
+ display_name: string;
239
239
  profile_image_url: string | null;
240
240
  } | null;
241
241
  selected_team_id: string | null;
@@ -368,15 +368,15 @@ declare const usersCrud: CrudSchemaFromOptions<{
368
368
  };
369
369
  }, "">;
370
370
  serverCreateSchema: yup$1.ObjectSchema<{
371
- primary_email: string | null | undefined;
371
+ country_code: string | null | undefined;
372
372
  display_name: string | null | undefined;
373
+ primary_email: string | null | undefined;
374
+ profile_image_url: string | null | undefined;
375
+ is_anonymous: boolean | undefined;
376
+ password: string | null | undefined;
373
377
  client_metadata: {} | null | undefined;
374
378
  client_read_only_metadata: {} | null | undefined;
375
379
  server_metadata: {} | null | undefined;
376
- is_anonymous: boolean | undefined;
377
- password: string | null | undefined;
378
- country_code: string | null | undefined;
379
- profile_image_url: string | null | undefined;
380
380
  primary_email_verified: boolean | undefined;
381
381
  primary_email_auth_enabled: boolean | undefined;
382
382
  otp_auth_enabled: boolean | undefined;
@@ -394,8 +394,8 @@ declare const usersCrud: CrudSchemaFromOptions<{
394
394
  totp_secret_base64: string | null | undefined;
395
395
  } & {
396
396
  oauth_providers: {
397
- email: string | null;
398
397
  id: string;
398
+ email: string | null;
399
399
  account_id: string;
400
400
  }[] | undefined;
401
401
  is_anonymous: boolean | undefined;
@@ -467,9 +467,9 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
467
467
  client_metadata?: {} | null | undefined;
468
468
  client_read_only_metadata?: {} | null | undefined;
469
469
  server_metadata?: {} | null | undefined;
470
- display_name: string;
471
470
  id: string;
472
471
  created_at_millis: number;
472
+ display_name: string;
473
473
  profile_image_url: string | null;
474
474
  } | null;
475
475
  selected_team_id: string | null;
@@ -558,9 +558,9 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
558
558
  client_metadata?: {} | null | undefined;
559
559
  client_read_only_metadata?: {} | null | undefined;
560
560
  server_metadata?: {} | null | undefined;
561
- display_name: string;
562
561
  id: string;
563
562
  created_at_millis: number;
563
+ display_name: string;
564
564
  profile_image_url: string | null;
565
565
  } | null;
566
566
  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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexclave/shared",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "repository": "https://github.com/hexclave/hexclave",
5
5
  "files": [
6
6
  "README.md",
@@ -26,7 +26,7 @@ HEXCLAVE SETUP INSTRUCTIONS
26
26
 
27
27
  These instructions describe how to set up Hexclave.
28
28
  ${web ? `
29
- First of all, if you have access to a terminal, it is better to use \`npx @hexclave/cli init\`.
29
+ 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.
30
30
  ` : ""}
31
31
 
32
32
  ${getCliProjectSetupContext(configPath)}