@hexclave/shared 1.0.16 → 1.0.18

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 (40) hide show
  1. package/dist/ai/unified-prompts/reminders.js +1 -1
  2. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  3. package/dist/config/schema.d.ts +84 -84
  4. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  5. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  6. package/dist/esm/config/schema.d.ts +84 -84
  7. package/dist/esm/interface/admin-metrics.d.ts +18 -18
  8. package/dist/esm/interface/conversations.d.ts +14 -14
  9. package/dist/esm/interface/crud/current-user.d.ts +12 -12
  10. package/dist/esm/interface/crud/email-outbox.d.ts +280 -280
  11. package/dist/esm/interface/crud/products.d.ts +13 -13
  12. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  13. package/dist/esm/interface/crud/project-api-keys.d.ts +6 -6
  14. package/dist/esm/interface/crud/projects.d.ts +36 -36
  15. package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
  16. package/dist/esm/interface/crud/transactions.d.ts +13 -13
  17. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  18. package/dist/esm/interface/crud/users.d.ts +14 -14
  19. package/dist/esm/interface/webhooks.d.ts +2 -2
  20. package/dist/esm/known-errors.d.ts +5 -5
  21. package/dist/esm/schema-fields.d.ts +5 -5
  22. package/dist/esm/sessions.d.ts +7 -7
  23. package/dist/interface/admin-metrics.d.ts +18 -18
  24. package/dist/interface/conversations.d.ts +14 -14
  25. package/dist/interface/crud/current-user.d.ts +12 -12
  26. package/dist/interface/crud/email-outbox.d.ts +280 -280
  27. package/dist/interface/crud/products.d.ts +13 -13
  28. package/dist/interface/crud/products.d.ts.map +1 -1
  29. package/dist/interface/crud/project-api-keys.d.ts +6 -6
  30. package/dist/interface/crud/projects.d.ts +36 -36
  31. package/dist/interface/crud/team-member-profiles.d.ts +24 -24
  32. package/dist/interface/crud/transactions.d.ts +13 -13
  33. package/dist/interface/crud/transactions.d.ts.map +1 -1
  34. package/dist/interface/crud/users.d.ts +14 -14
  35. package/dist/interface/webhooks.d.ts +2 -2
  36. package/dist/known-errors.d.ts +5 -5
  37. package/dist/schema-fields.d.ts +5 -5
  38. package/dist/sessions.d.ts +7 -7
  39. package/package.json +1 -1
  40. package/src/ai/unified-prompts/reminders.ts +1 -1
@@ -6,13 +6,12 @@ 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
- customer_type: "user" | "team" | "custom";
14
+ customer_type: "team" | "user" | "custom";
16
15
  stackable: boolean;
17
16
  prices: Record<string, {
18
17
  USD?: string | undefined;
@@ -25,6 +24,7 @@ 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
29
  quantity?: number | undefined;
30
30
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -41,13 +41,12 @@ 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
- customer_type: "user" | "team" | "custom";
49
+ customer_type: "team" | "user" | "custom";
51
50
  stackable: boolean;
52
51
  prices: Record<string, {
53
52
  USD?: string | undefined;
@@ -60,6 +59,7 @@ 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
64
  quantity?: number | undefined;
65
65
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -104,13 +104,12 @@ 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
- customer_type: "user" | "team" | "custom";
112
+ customer_type: "team" | "user" | "custom";
114
113
  stackable: boolean;
115
114
  prices: Record<string, {
116
115
  USD?: string | undefined;
@@ -123,6 +122,7 @@ 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
127
  quantity?: number | undefined;
128
128
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -130,16 +130,15 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
130
130
  }>;
131
131
  };
132
132
  }[] | undefined;
133
- id: string | null;
134
133
  quantity: number;
134
+ id: string | null;
135
135
  product: {
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;
139
- free_trial?: ______utils_dates0.DayInterval | undefined;
140
- display_name: string;
141
140
  server_only: boolean;
142
- customer_type: "user" | "team" | "custom";
141
+ customer_type: "team" | "user" | "custom";
143
142
  stackable: boolean;
144
143
  prices: Record<string, {
145
144
  USD?: string | undefined;
@@ -152,6 +151,7 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
152
151
  interval?: ______utils_dates0.DayInterval | undefined;
153
152
  free_trial?: ______utils_dates0.DayInterval | undefined;
154
153
  }>;
154
+ display_name: string;
155
155
  included_items: Record<string, {
156
156
  quantity?: number | undefined;
157
157
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -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,12 +79,12 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
79
79
  is_public: undefined;
80
80
  user_id: undefined;
81
81
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
82
+ user_id: string;
82
83
  type: "user";
83
84
  id: string;
84
- created_at_millis: number;
85
- expires_at_millis: number | undefined;
86
- user_id: string;
87
85
  description: string;
86
+ expires_at_millis: number | undefined;
87
+ created_at_millis: number;
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
- id: string;
182
- created_at_millis: number;
183
- expires_at_millis: number | undefined;
184
181
  team_id: string;
182
+ id: string;
185
183
  description: string;
184
+ expires_at_millis: number | undefined;
185
+ created_at_millis: number;
186
186
  manually_revoked_at_millis: number | undefined;
187
187
  is_public: boolean;
188
188
  } & {
@@ -67,6 +67,10 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
67
67
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
68
68
  provider_config_id: string;
69
69
  }[];
70
+ domains: {
71
+ domain: string;
72
+ handler_path: string;
73
+ }[];
70
74
  allow_localhost: boolean;
71
75
  sign_up_enabled: boolean;
72
76
  credential_enabled: boolean;
@@ -79,10 +83,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
79
83
  enabled_oauth_providers: {
80
84
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
81
85
  }[];
82
- domains: {
83
- domain: string;
84
- handler_path: string;
85
- }[];
86
86
  email_config: {
87
87
  password?: string | undefined;
88
88
  host?: string | undefined;
@@ -159,6 +159,10 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
159
159
  id: string;
160
160
  display_name: string;
161
161
  config: {
162
+ domains: {
163
+ domain: string;
164
+ handler_path: string;
165
+ }[];
162
166
  allow_localhost: boolean;
163
167
  sign_up_enabled: boolean;
164
168
  credential_enabled: boolean;
@@ -171,10 +175,6 @@ declare const projectsCrudClientReadSchema: yup$1.ObjectSchema<{
171
175
  enabled_oauth_providers: {
172
176
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
173
177
  }[];
174
- domains: {
175
- domain: string;
176
- handler_path: string;
177
- }[];
178
178
  };
179
179
  }, yup$1.AnyObject, {
180
180
  id: undefined;
@@ -219,6 +219,10 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
219
219
  type: "shared" | "standard";
220
220
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
221
221
  }[] | undefined;
222
+ domains?: {
223
+ domain: string;
224
+ handler_path: string;
225
+ }[] | undefined;
222
226
  allow_localhost?: boolean | undefined;
223
227
  sign_up_enabled?: boolean | undefined;
224
228
  credential_enabled?: boolean | undefined;
@@ -228,10 +232,6 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
228
232
  client_user_deletion_enabled?: boolean | undefined;
229
233
  allow_user_api_keys?: boolean | undefined;
230
234
  allow_team_api_keys?: boolean | undefined;
231
- domains?: {
232
- domain: string;
233
- handler_path: string;
234
- }[] | undefined;
235
235
  email_config?: {
236
236
  password?: string | undefined;
237
237
  host?: string | undefined;
@@ -299,6 +299,10 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
299
299
  type: "shared" | "standard";
300
300
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
301
301
  }[] | undefined;
302
+ domains?: {
303
+ domain: string;
304
+ handler_path: string;
305
+ }[] | undefined;
302
306
  allow_localhost?: boolean | undefined;
303
307
  sign_up_enabled?: boolean | undefined;
304
308
  credential_enabled?: boolean | undefined;
@@ -308,10 +312,6 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
308
312
  client_user_deletion_enabled?: boolean | undefined;
309
313
  allow_user_api_keys?: boolean | undefined;
310
314
  allow_team_api_keys?: boolean | undefined;
311
- domains?: {
312
- domain: string;
313
- handler_path: string;
314
- }[] | undefined;
315
315
  email_config?: {
316
316
  password?: string | undefined;
317
317
  host?: string | undefined;
@@ -365,6 +365,10 @@ declare const clientProjectsCrud: ______crud0.CrudSchemaFromOptions<{
365
365
  id: string;
366
366
  display_name: string;
367
367
  config: {
368
+ domains: {
369
+ domain: string;
370
+ handler_path: string;
371
+ }[];
368
372
  allow_localhost: boolean;
369
373
  sign_up_enabled: boolean;
370
374
  credential_enabled: boolean;
@@ -377,10 +381,6 @@ declare const clientProjectsCrud: ______crud0.CrudSchemaFromOptions<{
377
381
  enabled_oauth_providers: {
378
382
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
379
383
  }[];
380
- domains: {
381
- domain: string;
382
- handler_path: string;
383
- }[];
384
384
  };
385
385
  }, yup$1.AnyObject, {
386
386
  id: undefined;
@@ -440,6 +440,10 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
440
440
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
441
441
  provider_config_id: string;
442
442
  }[];
443
+ domains: {
444
+ domain: string;
445
+ handler_path: string;
446
+ }[];
443
447
  allow_localhost: boolean;
444
448
  sign_up_enabled: boolean;
445
449
  credential_enabled: boolean;
@@ -452,10 +456,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
452
456
  enabled_oauth_providers: {
453
457
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
454
458
  }[];
455
- domains: {
456
- domain: string;
457
- handler_path: string;
458
- }[];
459
459
  email_config: {
460
460
  password?: string | undefined;
461
461
  host?: string | undefined;
@@ -554,6 +554,10 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
554
554
  type: "shared" | "standard";
555
555
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
556
556
  }[] | undefined;
557
+ domains?: {
558
+ domain: string;
559
+ handler_path: string;
560
+ }[] | undefined;
557
561
  allow_localhost?: boolean | undefined;
558
562
  sign_up_enabled?: boolean | undefined;
559
563
  credential_enabled?: boolean | undefined;
@@ -563,10 +567,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
563
567
  client_user_deletion_enabled?: boolean | undefined;
564
568
  allow_user_api_keys?: boolean | undefined;
565
569
  allow_team_api_keys?: boolean | undefined;
566
- domains?: {
567
- domain: string;
568
- handler_path: string;
569
- }[] | undefined;
570
570
  email_config?: {
571
571
  password?: string | undefined;
572
572
  host?: string | undefined;
@@ -663,6 +663,10 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
663
663
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
664
664
  provider_config_id: string;
665
665
  }[];
666
+ domains: {
667
+ domain: string;
668
+ handler_path: string;
669
+ }[];
666
670
  allow_localhost: boolean;
667
671
  sign_up_enabled: boolean;
668
672
  credential_enabled: boolean;
@@ -675,10 +679,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
675
679
  enabled_oauth_providers: {
676
680
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
677
681
  }[];
678
- domains: {
679
- domain: string;
680
- handler_path: string;
681
- }[];
682
682
  email_config: {
683
683
  password?: string | undefined;
684
684
  host?: string | undefined;
@@ -777,6 +777,10 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
777
777
  type: "shared" | "standard";
778
778
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
779
779
  }[] | undefined;
780
+ domains?: {
781
+ domain: string;
782
+ handler_path: string;
783
+ }[] | undefined;
780
784
  allow_localhost?: boolean | undefined;
781
785
  sign_up_enabled?: boolean | undefined;
782
786
  credential_enabled?: boolean | undefined;
@@ -786,10 +790,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
786
790
  client_user_deletion_enabled?: boolean | undefined;
787
791
  allow_user_api_keys?: boolean | undefined;
788
792
  allow_team_api_keys?: boolean | undefined;
789
- domains?: {
790
- domain: string;
791
- handler_path: string;
792
- }[] | undefined;
793
793
  email_config?: {
794
794
  password?: string | undefined;
795
795
  host?: string | undefined;
@@ -21,23 +21,20 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
21
21
  profile_image_url: string | null;
22
22
  } & {
23
23
  user: {
24
- id: string;
25
- country_code: string | null;
26
- display_name: string | null;
27
- primary_email: string | null;
28
- profile_image_url: string | null;
29
- signed_up_at_millis: number;
30
- last_active_at_millis: number;
31
- selected_team_id: string | null;
32
- is_anonymous: boolean;
33
- is_restricted: boolean;
34
24
  restricted_reason: {
35
25
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
36
26
  } | null;
37
- requires_totp_mfa: boolean;
27
+ primary_email: string | null;
28
+ id: string;
29
+ display_name: string | null;
38
30
  client_metadata: {} | null;
39
31
  client_read_only_metadata: {} | null;
40
32
  server_metadata: {} | null;
33
+ selected_team_id: string | null;
34
+ is_anonymous: boolean;
35
+ is_restricted: boolean;
36
+ requires_totp_mfa: boolean;
37
+ profile_image_url: string | null;
41
38
  primary_email_verified: boolean;
42
39
  primary_email_auth_enabled: boolean;
43
40
  selected_team: {
@@ -45,16 +42,19 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
45
42
  client_read_only_metadata?: {} | null | undefined;
46
43
  server_metadata?: {} | null | undefined;
47
44
  id: string;
48
- created_at_millis: number;
49
45
  display_name: string;
50
46
  profile_image_url: string | null;
47
+ created_at_millis: number;
51
48
  } | null;
49
+ signed_up_at_millis: number;
52
50
  has_password: boolean;
53
51
  otp_auth_enabled: boolean;
54
52
  passkey_auth_enabled: boolean;
53
+ last_active_at_millis: number;
55
54
  restricted_by_admin: boolean;
56
55
  restricted_by_admin_reason: string | null;
57
56
  restricted_by_admin_private_details: string | null;
57
+ country_code: string | null;
58
58
  risk_scores: {
59
59
  sign_up: {
60
60
  bot: number;
@@ -144,23 +144,20 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
144
144
  profile_image_url: string | null;
145
145
  } & {
146
146
  user: {
147
- id: string;
148
- country_code: string | null;
149
- display_name: string | null;
150
- primary_email: string | null;
151
- profile_image_url: string | null;
152
- signed_up_at_millis: number;
153
- last_active_at_millis: number;
154
- selected_team_id: string | null;
155
- is_anonymous: boolean;
156
- is_restricted: boolean;
157
147
  restricted_reason: {
158
148
  type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
159
149
  } | null;
160
- requires_totp_mfa: boolean;
150
+ primary_email: string | null;
151
+ id: string;
152
+ display_name: string | null;
161
153
  client_metadata: {} | null;
162
154
  client_read_only_metadata: {} | null;
163
155
  server_metadata: {} | null;
156
+ selected_team_id: string | null;
157
+ is_anonymous: boolean;
158
+ is_restricted: boolean;
159
+ requires_totp_mfa: boolean;
160
+ profile_image_url: string | null;
164
161
  primary_email_verified: boolean;
165
162
  primary_email_auth_enabled: boolean;
166
163
  selected_team: {
@@ -168,16 +165,19 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
168
165
  client_read_only_metadata?: {} | null | undefined;
169
166
  server_metadata?: {} | null | undefined;
170
167
  id: string;
171
- created_at_millis: number;
172
168
  display_name: string;
173
169
  profile_image_url: string | null;
170
+ created_at_millis: number;
174
171
  } | null;
172
+ signed_up_at_millis: number;
175
173
  has_password: boolean;
176
174
  otp_auth_enabled: boolean;
177
175
  passkey_auth_enabled: boolean;
176
+ last_active_at_millis: number;
178
177
  restricted_by_admin: boolean;
179
178
  restricted_by_admin_reason: string | null;
180
179
  restricted_by_admin_private_details: string | null;
180
+ country_code: string | null;
181
181
  risk_scores: {
182
182
  sign_up: {
183
183
  bot: number;
@@ -6,7 +6,7 @@ import * as ______utils_dates0 from "../../utils/dates";
6
6
  declare const transactionEntrySchema: yup$1.MixedSchema<{
7
7
  type: "money_transfer";
8
8
  customer_id: string;
9
- customer_type: "user" | "team" | "custom";
9
+ customer_type: "team" | "user" | "custom";
10
10
  charged_amount: {
11
11
  USD?: string | undefined;
12
12
  EUR?: string | undefined;
@@ -26,7 +26,7 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
26
26
  item_id: string;
27
27
  customer_id: string;
28
28
  quantity: number;
29
- customer_type: "user" | "team" | "custom";
29
+ customer_type: "team" | "user" | "custom";
30
30
  adjusted_transaction_id: string | null;
31
31
  adjusted_entry_index: number | null;
32
32
  } | {
@@ -36,15 +36,14 @@ declare const transactionEntrySchema: yup$1.MixedSchema<{
36
36
  customer_id: string;
37
37
  product_id: string | null;
38
38
  quantity: number;
39
- customer_type: "user" | "team" | "custom";
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
- customer_type: "user" | "team" | "custom";
46
+ customer_type: "team" | "user" | "custom";
48
47
  stackable: boolean;
49
48
  prices: Record<string, {
50
49
  USD?: string | undefined;
@@ -57,6 +56,7 @@ 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
61
  quantity?: number | undefined;
62
62
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -85,12 +85,12 @@ declare const transactionSchema: yup$1.ObjectSchema<{
85
85
  created_at_millis: number;
86
86
  effective_at_millis: number;
87
87
  type: "purchase" | "subscription-cancellation" | "subscription-renewal" | "manual-item-quantity-change" | "refund" | "chargeback" | "product-change" | null;
88
- customer_type: "user" | "team" | "custom";
88
+ customer_type: "team" | "user" | "custom";
89
89
  customer_id: string;
90
90
  entries: ({
91
91
  type: "money_transfer";
92
92
  customer_id: string;
93
- customer_type: "user" | "team" | "custom";
93
+ customer_type: "team" | "user" | "custom";
94
94
  charged_amount: {
95
95
  USD?: string | undefined;
96
96
  EUR?: string | undefined;
@@ -110,7 +110,7 @@ declare const transactionSchema: yup$1.ObjectSchema<{
110
110
  item_id: string;
111
111
  customer_id: string;
112
112
  quantity: number;
113
- customer_type: "user" | "team" | "custom";
113
+ customer_type: "team" | "user" | "custom";
114
114
  adjusted_transaction_id: string | null;
115
115
  adjusted_entry_index: number | null;
116
116
  } | {
@@ -120,15 +120,14 @@ declare const transactionSchema: yup$1.ObjectSchema<{
120
120
  customer_id: string;
121
121
  product_id: string | null;
122
122
  quantity: number;
123
- customer_type: "user" | "team" | "custom";
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
- customer_type: "user" | "team" | "custom";
130
+ customer_type: "team" | "user" | "custom";
132
131
  stackable: boolean;
133
132
  prices: Record<string, {
134
133
  USD?: string | undefined;
@@ -141,6 +140,7 @@ 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
145
  quantity?: number | undefined;
146
146
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
@@ -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"}
@@ -82,9 +82,9 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
82
82
  client_read_only_metadata?: {} | null | undefined;
83
83
  server_metadata?: {} | null | undefined;
84
84
  id: string;
85
- created_at_millis: number;
86
85
  display_name: string;
87
86
  profile_image_url: string | null;
87
+ created_at_millis: number;
88
88
  } | null;
89
89
  selected_team_id: string | null;
90
90
  profile_image_url: string | null;
@@ -163,14 +163,14 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
163
163
  requires_totp_mfa: undefined;
164
164
  }, "">;
165
165
  declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
166
- country_code: string | null | undefined;
167
- display_name: string | null | undefined;
168
166
  primary_email: string | null | undefined;
169
- profile_image_url: string | null | undefined;
170
- is_anonymous: boolean | undefined;
167
+ password: string | null | undefined;
168
+ display_name: string | null | undefined;
171
169
  client_metadata: {} | null | undefined;
172
170
  client_read_only_metadata: {} | null | undefined;
173
171
  server_metadata: {} | null | undefined;
172
+ is_anonymous: boolean | 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;
@@ -178,13 +178,13 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
178
178
  restricted_by_admin: boolean | undefined;
179
179
  restricted_by_admin_reason: string | null | undefined;
180
180
  restricted_by_admin_private_details: string | null | undefined;
181
+ country_code: string | null | undefined;
181
182
  risk_scores: {
182
183
  sign_up: {
183
184
  bot: number;
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
  } & {
@@ -235,9 +235,9 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
235
235
  client_read_only_metadata?: {} | null | undefined;
236
236
  server_metadata?: {} | null | undefined;
237
237
  id: string;
238
- created_at_millis: number;
239
238
  display_name: string;
240
239
  profile_image_url: string | null;
240
+ created_at_millis: number;
241
241
  } | null;
242
242
  selected_team_id: string | null;
243
243
  profile_image_url: string | null;
@@ -369,14 +369,14 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
369
369
  };
370
370
  }, "">;
371
371
  serverCreateSchema: yup$1.ObjectSchema<{
372
- country_code: string | null | undefined;
373
- display_name: string | null | undefined;
374
372
  primary_email: string | null | undefined;
375
- profile_image_url: string | null | undefined;
376
- is_anonymous: boolean | undefined;
373
+ password: string | null | undefined;
374
+ display_name: string | null | undefined;
377
375
  client_metadata: {} | null | undefined;
378
376
  client_read_only_metadata: {} | null | undefined;
379
377
  server_metadata: {} | null | undefined;
378
+ is_anonymous: boolean | 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;
@@ -384,13 +384,13 @@ declare const usersCrud: ______crud0.CrudSchemaFromOptions<{
384
384
  restricted_by_admin: boolean | undefined;
385
385
  restricted_by_admin_reason: string | null | undefined;
386
386
  restricted_by_admin_private_details: string | null | undefined;
387
+ country_code: string | null | undefined;
387
388
  risk_scores: {
388
389
  sign_up: {
389
390
  bot: number;
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
  } & {
@@ -469,9 +469,9 @@ declare const userCreatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
469
469
  client_read_only_metadata?: {} | null | undefined;
470
470
  server_metadata?: {} | null | undefined;
471
471
  id: string;
472
- created_at_millis: number;
473
472
  display_name: string;
474
473
  profile_image_url: string | null;
474
+ created_at_millis: number;
475
475
  } | null;
476
476
  selected_team_id: string | null;
477
477
  profile_image_url: string | null;
@@ -560,9 +560,9 @@ declare const userUpdatedWebhookEvent: WebhookEvent<yup$1.ObjectSchema<{
560
560
  client_read_only_metadata?: {} | null | undefined;
561
561
  server_metadata?: {} | null | undefined;
562
562
  id: string;
563
- created_at_millis: number;
564
563
  display_name: string;
565
564
  profile_image_url: string | null;
565
+ created_at_millis: number;
566
566
  } | null;
567
567
  selected_team_id: string | null;
568
568
  profile_image_url: string | null;
@@ -21,9 +21,9 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
21
21
  client_read_only_metadata?: {} | null | undefined;
22
22
  server_metadata?: {} | null | undefined;
23
23
  id: string;
24
- created_at_millis: number;
25
24
  display_name: string;
26
25
  profile_image_url: string | null;
26
+ created_at_millis: number;
27
27
  } | null;
28
28
  selected_team_id: string | null;
29
29
  profile_image_url: string | null;
@@ -111,9 +111,9 @@ declare const webhookEvents: readonly [WebhookEvent<yup$1.ObjectSchema<{
111
111
  client_read_only_metadata?: {} | null | undefined;
112
112
  server_metadata?: {} | null | undefined;
113
113
  id: string;
114
- created_at_millis: number;
115
114
  display_name: string;
116
115
  profile_image_url: string | null;
116
+ created_at_millis: number;
117
117
  } | null;
118
118
  selected_team_id: string | null;
119
119
  profile_image_url: string | null;