@hexclave/shared 1.0.29 → 1.0.30

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/config/schema.d.ts +65 -65
  2. package/dist/esm/config/schema.d.ts +65 -65
  3. package/dist/esm/interface/admin-metrics.d.ts +8 -8
  4. package/dist/esm/interface/conversations.d.ts +27 -27
  5. package/dist/esm/interface/crud/current-user.d.ts +8 -8
  6. package/dist/esm/interface/crud/email-outbox.d.ts +196 -196
  7. package/dist/esm/interface/crud/products.d.ts +13 -13
  8. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  9. package/dist/esm/interface/crud/project-api-keys.d.ts +5 -5
  10. package/dist/esm/interface/crud/projects.d.ts +35 -35
  11. package/dist/esm/interface/crud/team-member-profiles.d.ts +12 -12
  12. package/dist/esm/interface/crud/transactions.d.ts +6 -6
  13. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  14. package/dist/esm/interface/crud/users.d.ts +10 -10
  15. package/dist/esm/interface/plan-usage.d.ts +2 -2
  16. package/dist/esm/interface/webhooks.d.ts +2 -2
  17. package/dist/esm/schema-fields.d.ts +1 -1
  18. package/dist/esm/sessions.d.ts +7 -7
  19. package/dist/interface/admin-metrics.d.ts +8 -8
  20. package/dist/interface/conversations.d.ts +27 -27
  21. package/dist/interface/crud/current-user.d.ts +8 -8
  22. package/dist/interface/crud/email-outbox.d.ts +196 -196
  23. package/dist/interface/crud/products.d.ts +13 -13
  24. package/dist/interface/crud/products.d.ts.map +1 -1
  25. package/dist/interface/crud/project-api-keys.d.ts +5 -5
  26. package/dist/interface/crud/projects.d.ts +35 -35
  27. package/dist/interface/crud/team-member-profiles.d.ts +12 -12
  28. package/dist/interface/crud/transactions.d.ts +6 -6
  29. package/dist/interface/crud/transactions.d.ts.map +1 -1
  30. package/dist/interface/crud/users.d.ts +10 -10
  31. package/dist/interface/plan-usage.d.ts +2 -2
  32. package/dist/interface/webhooks.d.ts +2 -2
  33. package/dist/schema-fields.d.ts +1 -1
  34. package/dist/sessions.d.ts +7 -7
  35. package/package.json +1 -1
@@ -6,11 +6,10 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
6
6
  id: string | null;
7
7
  quantity: number;
8
8
  product: {
9
+ free_trial?: ______utils_dates0.DayInterval | undefined;
9
10
  client_metadata?: {} | null | undefined;
10
11
  client_read_only_metadata?: {} | null | undefined;
11
12
  server_metadata?: {} | null | undefined;
12
- free_trial?: ______utils_dates0.DayInterval | undefined;
13
- display_name: string;
14
13
  server_only: boolean;
15
14
  customer_type: "team" | "user" | "custom";
16
15
  stackable: boolean;
@@ -25,9 +24,10 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
25
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
- quantity?: number | undefined;
30
29
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
30
+ quantity?: number | undefined;
31
31
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
32
32
  }>;
33
33
  };
@@ -41,11 +41,10 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
41
41
  switch_options: {
42
42
  product_id: string;
43
43
  product: {
44
+ free_trial?: ______utils_dates0.DayInterval | undefined;
44
45
  client_metadata?: {} | null | undefined;
45
46
  client_read_only_metadata?: {} | null | undefined;
46
47
  server_metadata?: {} | null | undefined;
47
- free_trial?: ______utils_dates0.DayInterval | undefined;
48
- display_name: string;
49
48
  server_only: boolean;
50
49
  customer_type: "team" | "user" | "custom";
51
50
  stackable: boolean;
@@ -60,9 +59,10 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
60
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
- quantity?: number | undefined;
65
64
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
65
+ quantity?: number | undefined;
66
66
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
67
67
  }>;
68
68
  };
@@ -104,11 +104,10 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
104
104
  switch_options?: {
105
105
  product_id: string;
106
106
  product: {
107
+ free_trial?: ______utils_dates0.DayInterval | undefined;
107
108
  client_metadata?: {} | null | undefined;
108
109
  client_read_only_metadata?: {} | null | undefined;
109
110
  server_metadata?: {} | null | undefined;
110
- free_trial?: ______utils_dates0.DayInterval | undefined;
111
- display_name: string;
112
111
  server_only: boolean;
113
112
  customer_type: "team" | "user" | "custom";
114
113
  stackable: boolean;
@@ -123,21 +122,20 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
123
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
- quantity?: number | undefined;
128
127
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
128
+ quantity?: number | undefined;
129
129
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
130
130
  }>;
131
131
  };
132
132
  }[] | undefined;
133
133
  quantity: number;
134
- id: string | null;
135
134
  product: {
135
+ free_trial?: ______utils_dates0.DayInterval | undefined;
136
136
  client_metadata?: {} | null | undefined;
137
137
  client_read_only_metadata?: {} | null | undefined;
138
138
  server_metadata?: {} | null | undefined;
139
- free_trial?: ______utils_dates0.DayInterval | undefined;
140
- display_name: string;
141
139
  server_only: boolean;
142
140
  customer_type: "team" | "user" | "custom";
143
141
  stackable: boolean;
@@ -152,12 +150,14 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
152
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
- quantity?: number | undefined;
157
155
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
156
+ quantity?: number | 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: {
@@ -1 +1 @@
1
- {"version":3,"file":"products.d.ts","names":[],"sources":["../../../../src/interface/crud/products.ts"],"mappings":";;;;cAQa,yBAAA,EAAyB,KAAA,CAAA,YAAA;;;;;;;iBAc1B,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;;;;qBAMnC,kBAAA,CAAA,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,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,mBAAA,GAAsB,KAAA,CAAI,SAAA,QAAiB,yBAAA;AAAA,cAE1C,kCAAA,EAAkC,KAAA,CAAA,YAAA;;;;;;;;;;;;qBAMnC,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,4BAAA,GAA+B,KAAA,CAAI,SAAA,QAAiB,kCAAA;AAAA,KAEpD,2BAAA;EACV,aAAA;EACA,WAAA;EACA,MAAA;EACA,KAAA;AAAA"}
@@ -79,13 +79,13 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
79
79
  is_public: undefined;
80
80
  user_id: undefined;
81
81
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
82
- type: "user";
82
+ description: string;
83
83
  user_id: string;
84
+ type: "user";
84
85
  id: string;
85
- description: string;
86
- created_at_millis: number;
87
86
  expires_at_millis: number | undefined;
88
87
  manually_revoked_at_millis: number | undefined;
88
+ created_at_millis: number;
89
89
  is_public: boolean;
90
90
  } & {
91
91
  value: string;
@@ -177,13 +177,13 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
177
177
  is_public: undefined;
178
178
  team_id: undefined;
179
179
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
180
+ description: string;
180
181
  type: "team";
181
182
  team_id: string;
182
183
  id: string;
183
- description: string;
184
- created_at_millis: number;
185
184
  expires_at_millis: number | undefined;
186
185
  manually_revoked_at_millis: number | undefined;
186
+ created_at_millis: number;
187
187
  is_public: boolean;
188
188
  } & {
189
189
  value: string;
@@ -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;
@@ -63,6 +63,10 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
63
63
  message: string;
64
64
  }[];
65
65
  config: {
66
+ domains: {
67
+ domain: string;
68
+ handler_path: string;
69
+ }[];
66
70
  oauth_providers: {
67
71
  client_id?: string | undefined;
68
72
  client_secret?: string | undefined;
@@ -73,10 +77,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
73
77
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
74
78
  provider_config_id: string;
75
79
  }[];
76
- domains: {
77
- domain: string;
78
- handler_path: string;
79
- }[];
80
80
  allow_localhost: boolean;
81
81
  sign_up_enabled: boolean;
82
82
  credential_enabled: boolean;
@@ -225,11 +225,15 @@ 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;
232
232
  config: {
233
+ domains?: {
234
+ domain: string;
235
+ handler_path: string;
236
+ }[] | undefined;
233
237
  oauth_providers?: {
234
238
  client_id?: string | undefined;
235
239
  client_secret?: string | undefined;
@@ -239,10 +243,6 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
239
243
  type: "shared" | "standard";
240
244
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
241
245
  }[] | undefined;
242
- domains?: {
243
- domain: string;
244
- handler_path: string;
245
- }[] | undefined;
246
246
  allow_localhost?: boolean | undefined;
247
247
  sign_up_enabled?: boolean | undefined;
248
248
  credential_enabled?: boolean | undefined;
@@ -305,11 +305,15 @@ 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;
312
312
  config: {
313
+ domains?: {
314
+ domain: string;
315
+ handler_path: string;
316
+ }[] | undefined;
313
317
  oauth_providers?: {
314
318
  client_id?: string | undefined;
315
319
  client_secret?: string | undefined;
@@ -319,10 +323,6 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
319
323
  type: "shared" | "standard";
320
324
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
321
325
  }[] | undefined;
322
- domains?: {
323
- domain: string;
324
- handler_path: string;
325
- }[] | undefined;
326
326
  allow_localhost?: boolean | undefined;
327
327
  sign_up_enabled?: boolean | undefined;
328
328
  credential_enabled?: boolean | undefined;
@@ -455,7 +455,7 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
455
455
  onboarding_state: {
456
456
  selected_config_choice: "create-new" | "link-existing";
457
457
  selected_apps: string[];
458
- selected_sign_in_methods: ("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;
@@ -466,6 +466,10 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
466
466
  message: string;
467
467
  }[];
468
468
  config: {
469
+ domains: {
470
+ domain: string;
471
+ handler_path: string;
472
+ }[];
469
473
  oauth_providers: {
470
474
  client_id?: string | undefined;
471
475
  client_secret?: string | undefined;
@@ -476,10 +480,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
476
480
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
477
481
  provider_config_id: string;
478
482
  }[];
479
- domains: {
480
- domain: string;
481
- handler_path: string;
482
- }[];
483
483
  allow_localhost: boolean;
484
484
  sign_up_enabled: boolean;
485
485
  credential_enabled: boolean;
@@ -580,11 +580,15 @@ 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;
587
587
  config: {
588
+ domains?: {
589
+ domain: string;
590
+ handler_path: string;
591
+ }[] | undefined;
588
592
  oauth_providers?: {
589
593
  client_id?: string | undefined;
590
594
  client_secret?: string | undefined;
@@ -594,10 +598,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
594
598
  type: "shared" | "standard";
595
599
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
596
600
  }[] | undefined;
597
- domains?: {
598
- domain: string;
599
- handler_path: string;
600
- }[] | undefined;
601
601
  allow_localhost?: boolean | undefined;
602
602
  sign_up_enabled?: boolean | undefined;
603
603
  credential_enabled?: boolean | undefined;
@@ -688,7 +688,7 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
688
688
  onboarding_state: {
689
689
  selected_config_choice: "create-new" | "link-existing";
690
690
  selected_apps: string[];
691
- selected_sign_in_methods: ("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;
@@ -699,6 +699,10 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
699
699
  message: string;
700
700
  }[];
701
701
  config: {
702
+ domains: {
703
+ domain: string;
704
+ handler_path: string;
705
+ }[];
702
706
  oauth_providers: {
703
707
  client_id?: string | undefined;
704
708
  client_secret?: string | undefined;
@@ -709,10 +713,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
709
713
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
710
714
  provider_config_id: string;
711
715
  }[];
712
- domains: {
713
- domain: string;
714
- handler_path: string;
715
- }[];
716
716
  allow_localhost: boolean;
717
717
  sign_up_enabled: boolean;
718
718
  credential_enabled: boolean;
@@ -813,11 +813,15 @@ 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;
820
820
  config: {
821
+ domains?: {
822
+ domain: string;
823
+ handler_path: string;
824
+ }[] | undefined;
821
825
  oauth_providers?: {
822
826
  client_id?: string | undefined;
823
827
  client_secret?: string | undefined;
@@ -827,10 +831,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
827
831
  type: "shared" | "standard";
828
832
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
829
833
  }[] | undefined;
830
- domains?: {
831
- domain: string;
832
- handler_path: string;
833
- }[] | undefined;
834
834
  allow_localhost?: boolean | undefined;
835
835
  sign_up_enabled?: boolean | undefined;
836
836
  credential_enabled?: boolean | undefined;
@@ -21,11 +21,15 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
21
21
  profile_image_url: string | null;
22
22
  } & {
23
23
  user: {
24
- display_name: string | null;
25
24
  restricted_reason: {
26
25
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
27
26
  } | null;
28
27
  primary_email: string | null;
28
+ selected_team_id: string | null;
29
+ is_anonymous: boolean;
30
+ is_restricted: boolean;
31
+ requires_totp_mfa: boolean;
32
+ display_name: string | null;
29
33
  client_metadata: {} | null;
30
34
  client_read_only_metadata: {} | null;
31
35
  server_metadata: {} | null;
@@ -39,17 +43,14 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
39
43
  server_metadata?: {} | null | undefined;
40
44
  display_name: string;
41
45
  id: string;
42
- profile_image_url: string | null;
43
46
  created_at_millis: number;
47
+ profile_image_url: string | null;
44
48
  } | null;
45
- selected_team_id: string | null;
46
49
  signed_up_at_millis: number;
47
50
  has_password: boolean;
48
51
  otp_auth_enabled: boolean;
49
52
  passkey_auth_enabled: boolean;
50
53
  last_active_at_millis: number;
51
- is_anonymous: boolean;
52
- is_restricted: boolean;
53
54
  restricted_by_admin: boolean;
54
55
  restricted_by_admin_reason: string | null;
55
56
  restricted_by_admin_private_details: string | null;
@@ -66,7 +67,6 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
66
67
  account_id: string;
67
68
  }[];
68
69
  auth_with_email: boolean;
69
- requires_totp_mfa: boolean;
70
70
  };
71
71
  }, yup$1.AnyObject, {
72
72
  team_id: undefined;
@@ -144,11 +144,15 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
144
144
  profile_image_url: string | null;
145
145
  } & {
146
146
  user: {
147
- display_name: string | null;
148
147
  restricted_reason: {
149
148
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
150
149
  } | null;
151
150
  primary_email: string | null;
151
+ selected_team_id: string | null;
152
+ is_anonymous: boolean;
153
+ is_restricted: boolean;
154
+ requires_totp_mfa: boolean;
155
+ display_name: string | null;
152
156
  client_metadata: {} | null;
153
157
  client_read_only_metadata: {} | null;
154
158
  server_metadata: {} | null;
@@ -162,17 +166,14 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
162
166
  server_metadata?: {} | null | undefined;
163
167
  display_name: string;
164
168
  id: string;
165
- profile_image_url: string | null;
166
169
  created_at_millis: number;
170
+ profile_image_url: string | null;
167
171
  } | null;
168
- selected_team_id: string | null;
169
172
  signed_up_at_millis: number;
170
173
  has_password: boolean;
171
174
  otp_auth_enabled: boolean;
172
175
  passkey_auth_enabled: boolean;
173
176
  last_active_at_millis: number;
174
- is_anonymous: boolean;
175
- is_restricted: boolean;
176
177
  restricted_by_admin: boolean;
177
178
  restricted_by_admin_reason: string | null;
178
179
  restricted_by_admin_private_details: string | null;
@@ -189,7 +190,6 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
189
190
  account_id: string;
190
191
  }[];
191
192
  auth_with_email: boolean;
192
- requires_totp_mfa: boolean;
193
193
  };
194
194
  }, yup$1.AnyObject, {
195
195
  team_id: undefined;
@@ -38,11 +38,10 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
38
38
  quantity: number;
39
39
  customer_type: "team" | "user" | "custom";
40
40
  product: {
41
+ free_trial?: ______utils_dates0.DayInterval | undefined;
41
42
  client_metadata?: {} | null | undefined;
42
43
  client_read_only_metadata?: {} | null | undefined;
43
44
  server_metadata?: {} | null | undefined;
44
- free_trial?: ______utils_dates0.DayInterval | undefined;
45
- display_name: string;
46
45
  server_only: boolean;
47
46
  customer_type: "team" | "user" | "custom";
48
47
  stackable: boolean;
@@ -57,9 +56,10 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
57
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
- quantity?: number | undefined;
62
61
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
62
+ quantity?: number | undefined;
63
63
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
64
64
  }>;
65
65
  };
@@ -122,11 +122,10 @@ declare const transactionSchema: yup$1.ObjectSchema<{
122
122
  quantity: number;
123
123
  customer_type: "team" | "user" | "custom";
124
124
  product: {
125
+ free_trial?: ______utils_dates0.DayInterval | undefined;
125
126
  client_metadata?: {} | null | undefined;
126
127
  client_read_only_metadata?: {} | null | undefined;
127
128
  server_metadata?: {} | null | undefined;
128
- free_trial?: ______utils_dates0.DayInterval | undefined;
129
- display_name: string;
130
129
  server_only: boolean;
131
130
  customer_type: "team" | "user" | "custom";
132
131
  stackable: boolean;
@@ -141,9 +140,10 @@ declare const transactionSchema: yup$1.ObjectSchema<{
141
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
- quantity?: number | undefined;
146
145
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
146
+ quantity?: number | undefined;
147
147
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
148
148
  }>;
149
149
  };
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxB,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
1
+ {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../../src/interface/crud/transactions.ts"],"mappings":";;;;;cAwFa,sBAAA,QAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMxB,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAA,QAAiB,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAA;AAAA,cAEzB,iBAAA,QAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkBlB,kBAAA,CAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAA,QAAiB,iBAAA"}
@@ -83,8 +83,8 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
83
83
  server_metadata?: {} | null | undefined;
84
84
  display_name: string;
85
85
  id: string;
86
- profile_image_url: string | null;
87
86
  created_at_millis: number;
87
+ profile_image_url: string | null;
88
88
  } | null;
89
89
  selected_team_id: string | null;
90
90
  profile_image_url: string | null;
@@ -163,17 +163,18 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
163
163
  requires_totp_mfa: undefined;
164
164
  }, "">;
165
165
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
166
- display_name: string | null | undefined;
167
166
  primary_email: string | null | undefined;
167
+ is_anonymous: boolean | undefined;
168
+ display_name: string | null | undefined;
168
169
  client_metadata: {} | null | undefined;
169
170
  client_read_only_metadata: {} | null | undefined;
170
171
  server_metadata: {} | null | undefined;
172
+ password: string | null | undefined;
171
173
  primary_email_verified: boolean | undefined;
172
174
  primary_email_auth_enabled: boolean | undefined;
173
175
  profile_image_url: string | null | undefined;
174
176
  otp_auth_enabled: boolean | undefined;
175
177
  passkey_auth_enabled: boolean | undefined;
176
- is_anonymous: boolean | undefined;
177
178
  restricted_by_admin: boolean | undefined;
178
179
  restricted_by_admin_reason: string | null | undefined;
179
180
  restricted_by_admin_private_details: string | null | undefined;
@@ -184,7 +185,6 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
184
185
  free_trial_abuse: number;
185
186
  };
186
187
  } | undefined;
187
- password: string | null | undefined;
188
188
  password_hash: string | undefined;
189
189
  totp_secret_base64: string | null | undefined;
190
190
  } & {
@@ -236,8 +236,8 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
236
236
  server_metadata?: {} | null | undefined;
237
237
  display_name: string;
238
238
  id: string;
239
- profile_image_url: string | null;
240
239
  created_at_millis: number;
240
+ profile_image_url: string | null;
241
241
  } | null;
242
242
  selected_team_id: string | null;
243
243
  profile_image_url: string | null;
@@ -369,17 +369,18 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
369
369
  };
370
370
  }, "">;
371
371
  serverCreateSchema: yup$1.ObjectSchema<{
372
- display_name: string | null | undefined;
373
372
  primary_email: string | null | undefined;
373
+ is_anonymous: boolean | undefined;
374
+ display_name: string | null | undefined;
374
375
  client_metadata: {} | null | undefined;
375
376
  client_read_only_metadata: {} | null | undefined;
376
377
  server_metadata: {} | null | undefined;
378
+ password: string | null | undefined;
377
379
  primary_email_verified: boolean | undefined;
378
380
  primary_email_auth_enabled: boolean | undefined;
379
381
  profile_image_url: string | null | undefined;
380
382
  otp_auth_enabled: boolean | undefined;
381
383
  passkey_auth_enabled: boolean | undefined;
382
- is_anonymous: boolean | undefined;
383
384
  restricted_by_admin: boolean | undefined;
384
385
  restricted_by_admin_reason: string | null | undefined;
385
386
  restricted_by_admin_private_details: string | null | undefined;
@@ -390,7 +391,6 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
390
391
  free_trial_abuse: number;
391
392
  };
392
393
  } | undefined;
393
- password: string | null | undefined;
394
394
  password_hash: string | undefined;
395
395
  totp_secret_base64: string | null | undefined;
396
396
  } & {
@@ -470,8 +470,8 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
470
470
  server_metadata?: {} | null | undefined;
471
471
  display_name: string;
472
472
  id: string;
473
- profile_image_url: string | null;
474
473
  created_at_millis: number;
474
+ profile_image_url: string | null;
475
475
  } | null;
476
476
  selected_team_id: string | null;
477
477
  profile_image_url: string | null;
@@ -561,8 +561,8 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
561
561
  server_metadata?: {} | null | undefined;
562
562
  display_name: string;
563
563
  id: string;
564
- profile_image_url: string | null;
565
564
  created_at_millis: number;
565
+ profile_image_url: string | null;
566
566
  } | null;
567
567
  selected_team_id: string | null;
568
568
  profile_image_url: 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: "free" | "team" | "growth";
27
+ plan_id: "team" | "free" | "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
- kind: "current" | "metered" | "capability";
34
33
  item_id: "dashboard_admins" | "auth_users" | "emails_per_month" | "analytics_timeout_seconds" | "analytics_events" | "session_replays" | "onboarding_call";
35
34
  display_name: string;
35
+ kind: "current" | "metered" | "capability";
36
36
  used: number | null;
37
37
  limit: number | null;
38
38
  remaining: number | null;
@@ -22,8 +22,8 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
22
22
  server_metadata?: {} | null | undefined;
23
23
  display_name: string;
24
24
  id: string;
25
- profile_image_url: string | null;
26
25
  created_at_millis: number;
26
+ profile_image_url: string | null;
27
27
  } | null;
28
28
  selected_team_id: string | null;
29
29
  profile_image_url: string | null;
@@ -112,8 +112,8 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
112
112
  server_metadata?: {} | null | undefined;
113
113
  display_name: string;
114
114
  id: string;
115
- profile_image_url: string | null;
116
115
  created_at_millis: number;
116
+ profile_image_url: string | null;
117
117
  } | null;
118
118
  selected_team_id: string | null;
119
119
  profile_image_url: string | null;
@@ -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,6 +9,7 @@ declare class AccessToken {
9
9
  private constructor();
10
10
  get payload(): {
11
11
  exp?: number | undefined;
12
+ sub: string;
12
13
  project_id: string;
13
14
  refresh_token_id: string;
14
15
  email: string | null;
@@ -16,18 +17,17 @@ declare class AccessToken {
16
17
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
17
18
  } | null;
18
19
  branch_id: string;
19
- name: string | null;
20
- sub: string;
21
- selected_team_id: string | null;
22
- is_anonymous: boolean;
23
- is_restricted: boolean;
24
- requires_totp_mfa: boolean;
25
- role: "authenticated";
26
20
  iat: number;
27
21
  iss: string;
28
22
  aud: string;
23
+ role: "authenticated";
24
+ name: string | null;
29
25
  email_verified: boolean;
26
+ selected_team_id: string | null;
30
27
  signed_up_at: number;
28
+ is_anonymous: boolean;
29
+ is_restricted: boolean;
30
+ requires_totp_mfa: boolean;
31
31
  };
32
32
  get expiresAt(): Date;
33
33
  get issuedAt(): Date;