@hexclave/shared 1.0.35 → 1.0.36

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 (35) hide show
  1. package/dist/ai/unified-prompts/reminders.js +1 -1
  2. package/dist/config/schema.d.ts +8 -8
  3. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  4. package/dist/esm/config/schema.d.ts +8 -8
  5. package/dist/esm/interface/admin-metrics.d.ts +11 -11
  6. package/dist/esm/interface/conversations.d.ts +31 -31
  7. package/dist/esm/interface/crud/current-user.d.ts +5 -5
  8. package/dist/esm/interface/crud/email-outbox.d.ts +202 -202
  9. package/dist/esm/interface/crud/products.d.ts +15 -15
  10. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  11. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  12. package/dist/esm/interface/crud/team-member-profiles.d.ts +8 -8
  13. package/dist/esm/interface/crud/transactions.d.ts +20 -20
  14. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  15. package/dist/esm/interface/crud/users.d.ts +6 -6
  16. package/dist/esm/interface/plan-usage.d.ts +1 -1
  17. package/dist/esm/known-errors.d.ts +1 -1
  18. package/dist/esm/schema-fields.d.ts +1 -1
  19. package/dist/esm/sessions.d.ts +7 -7
  20. package/dist/interface/admin-metrics.d.ts +11 -11
  21. package/dist/interface/conversations.d.ts +31 -31
  22. package/dist/interface/crud/current-user.d.ts +5 -5
  23. package/dist/interface/crud/email-outbox.d.ts +202 -202
  24. package/dist/interface/crud/products.d.ts +15 -15
  25. package/dist/interface/crud/products.d.ts.map +1 -1
  26. package/dist/interface/crud/project-api-keys.d.ts +2 -2
  27. package/dist/interface/crud/team-member-profiles.d.ts +8 -8
  28. package/dist/interface/crud/transactions.d.ts +20 -20
  29. package/dist/interface/crud/transactions.d.ts.map +1 -1
  30. package/dist/interface/crud/users.d.ts +6 -6
  31. package/dist/interface/plan-usage.d.ts +1 -1
  32. package/dist/known-errors.d.ts +1 -1
  33. package/dist/schema-fields.d.ts +1 -1
  34. package/dist/sessions.d.ts +7 -7
  35. package/package.json +1 -1
@@ -10,8 +10,6 @@ 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
- server_only: boolean;
14
- customer_type: "team" | "user" | "custom";
15
13
  stackable: boolean;
16
14
  prices: Record<string, {
17
15
  USD?: string | undefined;
@@ -25,9 +23,11 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
25
23
  free_trial?: DayInterval | undefined;
26
24
  }>;
27
25
  display_name: string;
26
+ customer_type: "team" | "user" | "custom";
27
+ server_only: boolean;
28
28
  included_items: Record<string, {
29
- quantity?: number | undefined;
30
29
  repeat?: "never" | DayInterval | undefined;
30
+ quantity?: number | undefined;
31
31
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
32
32
  }>;
33
33
  };
@@ -39,14 +39,11 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
39
39
  is_cancelable: boolean;
40
40
  } | null | undefined;
41
41
  switch_options: {
42
- product_id: string;
43
42
  product: {
44
43
  free_trial?: DayInterval | undefined;
45
44
  client_metadata?: {} | null | undefined;
46
45
  client_read_only_metadata?: {} | null | undefined;
47
46
  server_metadata?: {} | null | undefined;
48
- server_only: boolean;
49
- customer_type: "team" | "user" | "custom";
50
47
  stackable: boolean;
51
48
  prices: Record<string, {
52
49
  USD?: string | undefined;
@@ -60,12 +57,15 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
60
57
  free_trial?: DayInterval | undefined;
61
58
  }>;
62
59
  display_name: string;
60
+ customer_type: "team" | "user" | "custom";
61
+ server_only: boolean;
63
62
  included_items: Record<string, {
64
- quantity?: number | undefined;
65
63
  repeat?: "never" | DayInterval | undefined;
64
+ quantity?: number | undefined;
66
65
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
67
66
  }>;
68
67
  };
68
+ product_id: string;
69
69
  }[] | undefined;
70
70
  }, yup$1.AnyObject, {
71
71
  id: undefined;
@@ -102,14 +102,11 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
102
102
  is_cancelable: boolean;
103
103
  } | null | undefined;
104
104
  switch_options?: {
105
- product_id: string;
106
105
  product: {
107
106
  free_trial?: DayInterval | undefined;
108
107
  client_metadata?: {} | null | undefined;
109
108
  client_read_only_metadata?: {} | null | undefined;
110
109
  server_metadata?: {} | null | undefined;
111
- server_only: boolean;
112
- customer_type: "team" | "user" | "custom";
113
110
  stackable: boolean;
114
111
  prices: Record<string, {
115
112
  USD?: string | undefined;
@@ -123,21 +120,21 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
123
120
  free_trial?: DayInterval | undefined;
124
121
  }>;
125
122
  display_name: string;
123
+ customer_type: "team" | "user" | "custom";
124
+ server_only: boolean;
126
125
  included_items: Record<string, {
127
- quantity?: number | undefined;
128
126
  repeat?: "never" | DayInterval | undefined;
127
+ quantity?: number | undefined;
129
128
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
130
129
  }>;
131
130
  };
131
+ product_id: string;
132
132
  }[] | undefined;
133
- quantity: number;
134
133
  product: {
135
134
  free_trial?: DayInterval | undefined;
136
135
  client_metadata?: {} | null | undefined;
137
136
  client_read_only_metadata?: {} | null | undefined;
138
137
  server_metadata?: {} | null | undefined;
139
- server_only: boolean;
140
- customer_type: "team" | "user" | "custom";
141
138
  stackable: boolean;
142
139
  prices: Record<string, {
143
140
  USD?: string | undefined;
@@ -151,12 +148,15 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
151
148
  free_trial?: DayInterval | undefined;
152
149
  }>;
153
150
  display_name: string;
151
+ customer_type: "team" | "user" | "custom";
152
+ server_only: boolean;
154
153
  included_items: Record<string, {
155
- quantity?: number | undefined;
156
154
  repeat?: "never" | DayInterval | undefined;
155
+ quantity?: number | undefined;
157
156
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
158
157
  }>;
159
158
  };
159
+ quantity: number;
160
160
  id: string | null;
161
161
  }[];
162
162
  is_paginated: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"products.d.ts","names":[],"sources":["../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;iBAc1B,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;qBAMnC,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
1
+ {"version":3,"file":"products.d.ts","names":[],"sources":["../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;iBAc1B,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;qBAMnC,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
@@ -78,10 +78,10 @@ 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
82
  description: string;
84
83
  id: string;
84
+ user_id: string;
85
85
  created_at_millis: number;
86
86
  expires_at_millis: number | undefined;
87
87
  manually_revoked_at_millis: number | undefined;
@@ -177,9 +177,9 @@ declare const teamApiKeysCrud: CrudSchemaFromOptions<{
177
177
  team_id: undefined;
178
178
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
179
179
  type: "team";
180
- team_id: string;
181
180
  description: string;
182
181
  id: string;
182
+ team_id: string;
183
183
  created_at_millis: number;
184
184
  expires_at_millis: number | undefined;
185
185
  manually_revoked_at_millis: number | undefined;
@@ -20,10 +20,6 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
20
20
  profile_image_url: string | null;
21
21
  } & {
22
22
  user: {
23
- restricted_reason: {
24
- type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
25
- } | null;
26
- primary_email: string | null;
27
23
  display_name: string | null;
28
24
  client_metadata: {} | null;
29
25
  client_read_only_metadata: {} | null;
@@ -32,7 +28,11 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
32
28
  selected_team_id: string | null;
33
29
  is_anonymous: boolean;
34
30
  is_restricted: boolean;
31
+ restricted_reason: {
32
+ type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
33
+ } | null;
35
34
  requires_totp_mfa: boolean;
35
+ primary_email: string | null;
36
36
  country_code: string | null;
37
37
  profile_image_url: string | null;
38
38
  signed_up_at_millis: number;
@@ -143,10 +143,6 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
143
143
  profile_image_url: string | null;
144
144
  } & {
145
145
  user: {
146
- restricted_reason: {
147
- type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
148
- } | null;
149
- primary_email: string | null;
150
146
  display_name: string | null;
151
147
  client_metadata: {} | null;
152
148
  client_read_only_metadata: {} | null;
@@ -155,7 +151,11 @@ declare const teamMemberProfilesCrud: CrudSchemaFromOptions<{
155
151
  selected_team_id: string | null;
156
152
  is_anonymous: boolean;
157
153
  is_restricted: boolean;
154
+ restricted_reason: {
155
+ type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
156
+ } | null;
158
157
  requires_totp_mfa: boolean;
158
+ primary_email: string | null;
159
159
  country_code: string | null;
160
160
  profile_image_url: string | null;
161
161
  signed_up_at_millis: number;
@@ -5,8 +5,8 @@ import { InferType } from "yup";
5
5
  //#region src/interface/crud/transactions.d.ts
6
6
  declare const transactionEntrySchema: yup$1.MixedSchema<{
7
7
  type: "money_transfer";
8
- customer_id: string;
9
8
  customer_type: "team" | "user" | "custom";
9
+ customer_id: string;
10
10
  charged_amount: {
11
11
  USD?: string | undefined;
12
12
  EUR?: string | undefined;
@@ -23,27 +23,21 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
23
23
  adjusted_entry_index: number | null;
24
24
  } | {
25
25
  type: "item_quantity_change";
26
- item_id: string;
27
- customer_id: string;
28
26
  quantity: number;
29
27
  customer_type: "team" | "user" | "custom";
28
+ item_id: string;
29
+ customer_id: string;
30
30
  adjusted_transaction_id: string | null;
31
31
  adjusted_entry_index: number | null;
32
32
  } | {
33
33
  one_time_purchase_id?: string | undefined;
34
34
  subscription_id?: string | undefined;
35
35
  type: "product_grant";
36
- customer_id: string;
37
- product_id: string | null;
38
- quantity: number;
39
- customer_type: "team" | "user" | "custom";
40
36
  product: {
41
37
  free_trial?: DayInterval | undefined;
42
38
  client_metadata?: {} | null | undefined;
43
39
  client_read_only_metadata?: {} | null | undefined;
44
40
  server_metadata?: {} | null | undefined;
45
- server_only: boolean;
46
- customer_type: "team" | "user" | "custom";
47
41
  stackable: boolean;
48
42
  prices: Record<string, {
49
43
  USD?: string | undefined;
@@ -57,12 +51,18 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
57
51
  free_trial?: DayInterval | undefined;
58
52
  }>;
59
53
  display_name: string;
54
+ customer_type: "team" | "user" | "custom";
55
+ server_only: boolean;
60
56
  included_items: Record<string, {
61
- quantity?: number | undefined;
62
57
  repeat?: "never" | DayInterval | undefined;
58
+ quantity?: number | undefined;
63
59
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
64
60
  }>;
65
61
  };
62
+ quantity: number;
63
+ customer_type: "team" | "user" | "custom";
64
+ customer_id: string;
65
+ product_id: string | null;
66
66
  adjusted_transaction_id: string | null;
67
67
  adjusted_entry_index: number | null;
68
68
  price_id: string | null;
@@ -89,8 +89,8 @@ declare const transactionSchema: yup$1.ObjectSchema<{
89
89
  customer_id: string;
90
90
  entries: ({
91
91
  type: "money_transfer";
92
- customer_id: string;
93
92
  customer_type: "team" | "user" | "custom";
93
+ customer_id: string;
94
94
  charged_amount: {
95
95
  USD?: string | undefined;
96
96
  EUR?: string | undefined;
@@ -107,27 +107,21 @@ declare const transactionSchema: yup$1.ObjectSchema<{
107
107
  adjusted_entry_index: number | null;
108
108
  } | {
109
109
  type: "item_quantity_change";
110
- item_id: string;
111
- customer_id: string;
112
110
  quantity: number;
113
111
  customer_type: "team" | "user" | "custom";
112
+ item_id: string;
113
+ customer_id: string;
114
114
  adjusted_transaction_id: string | null;
115
115
  adjusted_entry_index: number | null;
116
116
  } | {
117
117
  one_time_purchase_id?: string | undefined;
118
118
  subscription_id?: string | undefined;
119
119
  type: "product_grant";
120
- customer_id: string;
121
- product_id: string | null;
122
- quantity: number;
123
- customer_type: "team" | "user" | "custom";
124
120
  product: {
125
121
  free_trial?: DayInterval | undefined;
126
122
  client_metadata?: {} | null | undefined;
127
123
  client_read_only_metadata?: {} | null | undefined;
128
124
  server_metadata?: {} | null | undefined;
129
- server_only: boolean;
130
- customer_type: "team" | "user" | "custom";
131
125
  stackable: boolean;
132
126
  prices: Record<string, {
133
127
  USD?: string | undefined;
@@ -141,12 +135,18 @@ declare const transactionSchema: yup$1.ObjectSchema<{
141
135
  free_trial?: DayInterval | undefined;
142
136
  }>;
143
137
  display_name: string;
138
+ customer_type: "team" | "user" | "custom";
139
+ server_only: boolean;
144
140
  included_items: Record<string, {
145
- quantity?: number | undefined;
146
141
  repeat?: "never" | DayInterval | undefined;
142
+ quantity?: number | undefined;
147
143
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
148
144
  }>;
149
145
  };
146
+ quantity: number;
147
+ customer_type: "team" | "user" | "custom";
148
+ customer_id: string;
149
+ product_id: string | null;
150
150
  adjusted_transaction_id: string | null;
151
151
  adjusted_entry_index: number | null;
152
152
  price_id: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
1
+ {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
@@ -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;
166
165
  display_name: string | null | undefined;
167
166
  client_metadata: {} | null | undefined;
168
167
  client_read_only_metadata: {} | null | undefined;
169
168
  server_metadata: {} | null | undefined;
170
169
  is_anonymous: boolean | undefined;
170
+ primary_email: string | null | undefined;
171
+ password: string | null | undefined;
171
172
  country_code: string | null | undefined;
172
173
  profile_image_url: string | null | undefined;
173
- password: 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;
@@ -368,15 +368,15 @@ declare const usersCrud: CrudSchemaFromOptions<{
368
368
  };
369
369
  }, "">;
370
370
  serverCreateSchema: yup$1.ObjectSchema<{
371
- primary_email: string | null | undefined;
372
371
  display_name: string | null | undefined;
373
372
  client_metadata: {} | null | undefined;
374
373
  client_read_only_metadata: {} | null | undefined;
375
374
  server_metadata: {} | null | undefined;
376
375
  is_anonymous: boolean | undefined;
376
+ primary_email: string | null | undefined;
377
+ password: string | null | undefined;
377
378
  country_code: string | null | undefined;
378
379
  profile_image_url: string | null | undefined;
379
- password: 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;
@@ -30,8 +30,8 @@ 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;
34
+ item_id: "dashboard_admins" | "auth_users" | "emails_per_month" | "analytics_timeout_seconds" | "analytics_events" | "session_replays" | "onboarding_call";
35
35
  kind: "current" | "metered" | "capability";
36
36
  used: number | null;
37
37
  limit: number | null;
@@ -518,7 +518,7 @@ declare const KnownErrors: {
518
518
  CustomerDoesNotExist: KnownErrorConstructor<KnownError & KnownErrorBrand<"CUSTOMER_DOES_NOT_EXIST">, [customerId: string]> & {
519
519
  errorCode: "CUSTOMER_DOES_NOT_EXIST";
520
520
  };
521
- ProductDoesNotExist: KnownErrorConstructor<KnownError & KnownErrorBrand<"PRODUCT_DOES_NOT_EXIST">, [productId: string, context: "item_exists" | "server_only" | null]> & {
521
+ ProductDoesNotExist: KnownErrorConstructor<KnownError & KnownErrorBrand<"PRODUCT_DOES_NOT_EXIST">, [productId: string, context: "server_only" | "item_exists" | null]> & {
522
522
  errorCode: "PRODUCT_DOES_NOT_EXIST";
523
523
  };
524
524
  ProductCustomerTypeDoesNotMatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"PRODUCT_CUSTOMER_TYPE_DOES_NOT_MATCH">, [productId: string | undefined, customerId: string, productCustomerType: "team" | "user" | "custom" | undefined, actualCustomerType: "team" | "user" | "custom"]> & {
@@ -314,8 +314,8 @@ declare const inlineProductSchema: yup$1.ObjectSchema<{
314
314
  free_trial?: DayInterval | undefined;
315
315
  }>;
316
316
  included_items: Record<string, {
317
- quantity?: number | undefined;
318
317
  repeat?: "never" | DayInterval | undefined;
318
+ quantity?: number | undefined;
319
319
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
320
320
  }>;
321
321
  client_metadata: {} | null | undefined;
@@ -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;
19
12
  sub: string;
20
13
  iat: number;
21
14
  iss: string;
22
15
  aud: string;
16
+ project_id: string;
17
+ branch_id: string;
18
+ refresh_token_id: string;
23
19
  role: "authenticated";
24
20
  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.35",
3
+ "version": "1.0.36",
4
4
  "repository": "https://github.com/hexclave/hexclave",
5
5
  "files": [
6
6
  "README.md",