@hexclave/shared 1.0.18 → 1.0.19

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 (63) hide show
  1. package/dist/ai/unified-prompts/reminders.js +10 -7
  2. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  3. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -1
  4. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  5. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +238 -10
  6. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  7. package/dist/ai/unified-prompts/skill-site-prompt.js +1 -1
  8. package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  9. package/dist/apps/apps-config.d.ts +7 -3
  10. package/dist/apps/apps-config.d.ts.map +1 -1
  11. package/dist/apps/apps-config.js +12 -4
  12. package/dist/apps/apps-config.js.map +1 -1
  13. package/dist/config/schema.d.ts +217 -217
  14. package/dist/esm/ai/unified-prompts/reminders.js +10 -7
  15. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  16. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts +2 -1
  17. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  18. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +238 -11
  19. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  20. package/dist/esm/ai/unified-prompts/skill-site-prompt.js +1 -1
  21. package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
  22. package/dist/esm/apps/apps-config.d.ts +7 -3
  23. package/dist/esm/apps/apps-config.d.ts.map +1 -1
  24. package/dist/esm/apps/apps-config.js +12 -5
  25. package/dist/esm/apps/apps-config.js.map +1 -1
  26. package/dist/esm/config/schema.d.ts +217 -217
  27. package/dist/esm/interface/admin-metrics.d.ts +15 -15
  28. package/dist/esm/interface/conversations.d.ts +12 -12
  29. package/dist/esm/interface/crud/current-user.d.ts +10 -10
  30. package/dist/esm/interface/crud/email-outbox.d.ts +146 -146
  31. package/dist/esm/interface/crud/products.d.ts +16 -16
  32. package/dist/esm/interface/crud/products.d.ts.map +1 -1
  33. package/dist/esm/interface/crud/project-api-keys.d.ts +6 -6
  34. package/dist/esm/interface/crud/projects.d.ts +35 -35
  35. package/dist/esm/interface/crud/team-member-profiles.d.ts +20 -20
  36. package/dist/esm/interface/crud/transactions.d.ts +21 -21
  37. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  38. package/dist/esm/interface/crud/users.d.ts +16 -16
  39. package/dist/esm/interface/webhooks.d.ts +4 -4
  40. package/dist/esm/known-errors.d.ts +5 -5
  41. package/dist/esm/schema-fields.d.ts +5 -5
  42. package/dist/esm/sessions.d.ts +7 -7
  43. package/dist/interface/admin-metrics.d.ts +15 -15
  44. package/dist/interface/conversations.d.ts +12 -12
  45. package/dist/interface/crud/current-user.d.ts +10 -10
  46. package/dist/interface/crud/email-outbox.d.ts +146 -146
  47. package/dist/interface/crud/products.d.ts +16 -16
  48. package/dist/interface/crud/products.d.ts.map +1 -1
  49. package/dist/interface/crud/project-api-keys.d.ts +6 -6
  50. package/dist/interface/crud/projects.d.ts +35 -35
  51. package/dist/interface/crud/team-member-profiles.d.ts +20 -20
  52. package/dist/interface/crud/transactions.d.ts +21 -21
  53. package/dist/interface/crud/transactions.d.ts.map +1 -1
  54. package/dist/interface/crud/users.d.ts +16 -16
  55. package/dist/interface/webhooks.d.ts +4 -4
  56. package/dist/known-errors.d.ts +5 -5
  57. package/dist/schema-fields.d.ts +5 -5
  58. package/dist/sessions.d.ts +7 -7
  59. package/package.json +1 -1
  60. package/src/ai/unified-prompts/reminders.ts +10 -7
  61. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +244 -10
  62. package/src/ai/unified-prompts/skill-site-prompt.ts +1 -1
  63. package/src/apps/apps-config.ts +13 -2
@@ -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?: ______utils_dates0.DayInterval | undefined;
26
24
  }>;
27
25
  display_name: string;
26
+ customer_type: "user" | "team" | "custom";
27
+ server_only: boolean;
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
  };
@@ -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?: ______utils_dates0.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?: ______utils_dates0.DayInterval | undefined;
61
58
  }>;
62
59
  display_name: string;
60
+ customer_type: "user" | "team" | "custom";
61
+ server_only: boolean;
63
62
  included_items: Record<string, {
64
- quantity?: number | undefined;
65
63
  repeat?: "never" | ______utils_dates0.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?: ______utils_dates0.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,22 +120,21 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
123
120
  free_trial?: ______utils_dates0.DayInterval | undefined;
124
121
  }>;
125
122
  display_name: string;
123
+ customer_type: "user" | "team" | "custom";
124
+ server_only: boolean;
126
125
  included_items: Record<string, {
127
- quantity?: number | undefined;
128
126
  repeat?: "never" | ______utils_dates0.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
- id: string | null;
135
133
  product: {
136
134
  free_trial?: ______utils_dates0.DayInterval | undefined;
137
135
  client_metadata?: {} | null | undefined;
138
136
  client_read_only_metadata?: {} | null | undefined;
139
137
  server_metadata?: {} | null | undefined;
140
- server_only: boolean;
141
- customer_type: "team" | "user" | "custom";
142
138
  stackable: boolean;
143
139
  prices: Record<string, {
144
140
  USD?: string | undefined;
@@ -152,12 +148,16 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
152
148
  free_trial?: ______utils_dates0.DayInterval | undefined;
153
149
  }>;
154
150
  display_name: string;
151
+ customer_type: "user" | "team" | "custom";
152
+ server_only: boolean;
155
153
  included_items: Record<string, {
156
- quantity?: number | undefined;
157
154
  repeat?: "never" | ______utils_dates0.DayInterval | undefined;
155
+ quantity?: number | undefined;
158
156
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
159
157
  }>;
160
158
  };
159
+ quantity: number;
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,12 +79,12 @@ declare const userApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
79
79
  is_public: undefined;
80
80
  user_id: undefined;
81
81
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
82
- user_id: string;
83
82
  type: "user";
84
- id: string;
85
83
  description: string;
86
- expires_at_millis: number | undefined;
84
+ id: string;
85
+ user_id: string;
87
86
  created_at_millis: number;
87
+ expires_at_millis: number | undefined;
88
88
  manually_revoked_at_millis: number | undefined;
89
89
  is_public: boolean;
90
90
  } & {
@@ -178,11 +178,11 @@ declare const teamApiKeysCrud: ______crud0.CrudSchemaFromOptions<{
178
178
  team_id: undefined;
179
179
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
180
180
  type: "team";
181
- team_id: string;
182
- id: string;
183
181
  description: string;
184
- expires_at_millis: number | undefined;
182
+ id: string;
183
+ team_id: string;
185
184
  created_at_millis: number;
185
+ expires_at_millis: number | undefined;
186
186
  manually_revoked_at_millis: number | undefined;
187
187
  is_public: boolean;
188
188
  } & {
@@ -52,11 +52,15 @@ 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;
59
59
  config: {
60
+ domains: {
61
+ domain: string;
62
+ handler_path: string;
63
+ }[];
60
64
  oauth_providers: {
61
65
  client_id?: string | undefined;
62
66
  client_secret?: string | undefined;
@@ -67,10 +71,6 @@ declare const projectsCrudAdminReadSchema: yup$1.ObjectSchema<{
67
71
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
68
72
  provider_config_id: string;
69
73
  }[];
70
- domains: {
71
- domain: string;
72
- handler_path: string;
73
- }[];
74
74
  allow_localhost: boolean;
75
75
  sign_up_enabled: boolean;
76
76
  credential_enabled: boolean;
@@ -205,11 +205,15 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
205
205
  onboarding_state: {
206
206
  selected_config_choice: "create-new" | "link-existing";
207
207
  selected_apps: string[];
208
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
208
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
209
209
  selected_email_theme_id: string | null;
210
210
  selected_payments_country: "US" | "OTHER";
211
211
  } | null | undefined;
212
212
  config: {
213
+ domains?: {
214
+ domain: string;
215
+ handler_path: string;
216
+ }[] | undefined;
213
217
  oauth_providers?: {
214
218
  client_id?: string | undefined;
215
219
  client_secret?: string | undefined;
@@ -219,10 +223,6 @@ declare const projectsCrudAdminUpdateSchema: yup$1.ObjectSchema<{
219
223
  type: "shared" | "standard";
220
224
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
221
225
  }[] | undefined;
222
- domains?: {
223
- domain: string;
224
- handler_path: string;
225
- }[] | undefined;
226
226
  allow_localhost?: boolean | undefined;
227
227
  sign_up_enabled?: boolean | undefined;
228
228
  credential_enabled?: boolean | undefined;
@@ -285,11 +285,15 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
285
285
  onboarding_state: {
286
286
  selected_config_choice: "create-new" | "link-existing";
287
287
  selected_apps: string[];
288
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
288
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
289
289
  selected_email_theme_id: string | null;
290
290
  selected_payments_country: "US" | "OTHER";
291
291
  } | null | undefined;
292
292
  config: {
293
+ domains?: {
294
+ domain: string;
295
+ handler_path: string;
296
+ }[] | undefined;
293
297
  oauth_providers?: {
294
298
  client_id?: string | undefined;
295
299
  client_secret?: string | undefined;
@@ -299,10 +303,6 @@ declare const projectsCrudAdminCreateSchema: yup$1.ObjectSchema<{
299
303
  type: "shared" | "standard";
300
304
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
301
305
  }[] | undefined;
302
- domains?: {
303
- domain: string;
304
- handler_path: string;
305
- }[] | undefined;
306
306
  allow_localhost?: boolean | undefined;
307
307
  sign_up_enabled?: boolean | undefined;
308
308
  credential_enabled?: boolean | undefined;
@@ -425,11 +425,15 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
425
425
  onboarding_state: {
426
426
  selected_config_choice: "create-new" | "link-existing";
427
427
  selected_apps: string[];
428
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
428
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
429
429
  selected_email_theme_id: string | null;
430
430
  selected_payments_country: "US" | "OTHER";
431
431
  } | null | undefined;
432
432
  config: {
433
+ domains: {
434
+ domain: string;
435
+ handler_path: string;
436
+ }[];
433
437
  oauth_providers: {
434
438
  client_id?: string | undefined;
435
439
  client_secret?: string | undefined;
@@ -440,10 +444,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
440
444
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
441
445
  provider_config_id: string;
442
446
  }[];
443
- domains: {
444
- domain: string;
445
- handler_path: string;
446
- }[];
447
447
  allow_localhost: boolean;
448
448
  sign_up_enabled: boolean;
449
449
  credential_enabled: boolean;
@@ -540,11 +540,15 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
540
540
  onboarding_state: {
541
541
  selected_config_choice: "create-new" | "link-existing";
542
542
  selected_apps: string[];
543
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
543
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
544
544
  selected_email_theme_id: string | null;
545
545
  selected_payments_country: "US" | "OTHER";
546
546
  } | null | undefined;
547
547
  config: {
548
+ domains?: {
549
+ domain: string;
550
+ handler_path: string;
551
+ }[] | undefined;
548
552
  oauth_providers?: {
549
553
  client_id?: string | undefined;
550
554
  client_secret?: string | undefined;
@@ -554,10 +558,6 @@ declare const projectsCrud: ______crud0.CrudSchemaFromOptions<{
554
558
  type: "shared" | "standard";
555
559
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
556
560
  }[] | undefined;
557
- domains?: {
558
- domain: string;
559
- handler_path: string;
560
- }[] | undefined;
561
561
  allow_localhost?: boolean | undefined;
562
562
  sign_up_enabled?: boolean | undefined;
563
563
  credential_enabled?: boolean | undefined;
@@ -648,11 +648,15 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
648
648
  onboarding_state: {
649
649
  selected_config_choice: "create-new" | "link-existing";
650
650
  selected_apps: string[];
651
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
651
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
652
652
  selected_email_theme_id: string | null;
653
653
  selected_payments_country: "US" | "OTHER";
654
654
  } | null | undefined;
655
655
  config: {
656
+ domains: {
657
+ domain: string;
658
+ handler_path: string;
659
+ }[];
656
660
  oauth_providers: {
657
661
  client_id?: string | undefined;
658
662
  client_secret?: string | undefined;
@@ -663,10 +667,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
663
667
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
664
668
  provider_config_id: string;
665
669
  }[];
666
- domains: {
667
- domain: string;
668
- handler_path: string;
669
- }[];
670
670
  allow_localhost: boolean;
671
671
  sign_up_enabled: boolean;
672
672
  credential_enabled: boolean;
@@ -763,11 +763,15 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
763
763
  onboarding_state: {
764
764
  selected_config_choice: "create-new" | "link-existing";
765
765
  selected_apps: string[];
766
- selected_sign_in_methods: ("passkey" | "google" | "github" | "microsoft" | "credential" | "magicLink")[];
766
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
767
767
  selected_email_theme_id: string | null;
768
768
  selected_payments_country: "US" | "OTHER";
769
769
  } | null | undefined;
770
770
  config: {
771
+ domains?: {
772
+ domain: string;
773
+ handler_path: string;
774
+ }[] | undefined;
771
775
  oauth_providers?: {
772
776
  client_id?: string | undefined;
773
777
  client_secret?: string | undefined;
@@ -777,10 +781,6 @@ declare const adminUserProjectsCrud: ______crud0.CrudSchemaFromOptions<{
777
781
  type: "shared" | "standard";
778
782
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
779
783
  }[] | undefined;
780
- domains?: {
781
- domain: string;
782
- handler_path: string;
783
- }[] | undefined;
784
784
  allow_localhost?: boolean | undefined;
785
785
  sign_up_enabled?: boolean | undefined;
786
786
  credential_enabled?: boolean | undefined;
@@ -21,40 +21,40 @@ declare const teamMemberProfilesCrudServerReadSchema: yup$1.ObjectSchema<{
21
21
  profile_image_url: string | null;
22
22
  } & {
23
23
  user: {
24
- restricted_reason: {
25
- type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
26
- } | null;
27
- primary_email: string | null;
28
- id: string;
29
24
  display_name: string | null;
30
25
  client_metadata: {} | null;
31
26
  client_read_only_metadata: {} | null;
32
27
  server_metadata: {} | null;
28
+ id: string;
33
29
  selected_team_id: string | null;
34
30
  is_anonymous: boolean;
35
31
  is_restricted: boolean;
32
+ restricted_reason: {
33
+ type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
34
+ } | null;
36
35
  requires_totp_mfa: boolean;
36
+ primary_email: string | null;
37
+ country_code: string | null;
37
38
  profile_image_url: string | null;
39
+ signed_up_at_millis: number;
40
+ last_active_at_millis: number;
38
41
  primary_email_verified: boolean;
39
42
  primary_email_auth_enabled: boolean;
40
43
  selected_team: {
41
44
  client_metadata?: {} | null | undefined;
42
45
  client_read_only_metadata?: {} | null | undefined;
43
46
  server_metadata?: {} | null | undefined;
44
- id: string;
45
47
  display_name: string;
46
- profile_image_url: string | null;
48
+ id: string;
47
49
  created_at_millis: number;
50
+ profile_image_url: string | null;
48
51
  } | null;
49
- signed_up_at_millis: number;
50
52
  has_password: boolean;
51
53
  otp_auth_enabled: boolean;
52
54
  passkey_auth_enabled: boolean;
53
- last_active_at_millis: number;
54
55
  restricted_by_admin: boolean;
55
56
  restricted_by_admin_reason: string | null;
56
57
  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,40 +144,40 @@ declare const teamMemberProfilesCrud: ______crud0.CrudSchemaFromOptions<{
144
144
  profile_image_url: string | null;
145
145
  } & {
146
146
  user: {
147
- restricted_reason: {
148
- type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
149
- } | null;
150
- primary_email: string | null;
151
- id: string;
152
147
  display_name: string | null;
153
148
  client_metadata: {} | null;
154
149
  client_read_only_metadata: {} | null;
155
150
  server_metadata: {} | null;
151
+ id: string;
156
152
  selected_team_id: string | null;
157
153
  is_anonymous: boolean;
158
154
  is_restricted: boolean;
155
+ restricted_reason: {
156
+ type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
157
+ } | null;
159
158
  requires_totp_mfa: boolean;
159
+ primary_email: string | null;
160
+ country_code: string | null;
160
161
  profile_image_url: string | null;
162
+ signed_up_at_millis: number;
163
+ last_active_at_millis: number;
161
164
  primary_email_verified: boolean;
162
165
  primary_email_auth_enabled: boolean;
163
166
  selected_team: {
164
167
  client_metadata?: {} | null | undefined;
165
168
  client_read_only_metadata?: {} | null | undefined;
166
169
  server_metadata?: {} | null | undefined;
167
- id: string;
168
170
  display_name: string;
169
- profile_image_url: string | null;
171
+ id: string;
170
172
  created_at_millis: number;
173
+ profile_image_url: string | null;
171
174
  } | null;
172
- signed_up_at_millis: number;
173
175
  has_password: boolean;
174
176
  otp_auth_enabled: boolean;
175
177
  passkey_auth_enabled: boolean;
176
- last_active_at_millis: number;
177
178
  restricted_by_admin: boolean;
178
179
  restricted_by_admin_reason: string | null;
179
180
  restricted_by_admin_private_details: string | null;
180
- country_code: string | null;
181
181
  risk_scores: {
182
182
  sign_up: {
183
183
  bot: number;
@@ -5,8 +5,8 @@ import * as ______utils_dates0 from "../../utils/dates";
5
5
  //#region src/interface/crud/transactions.d.ts
6
6
  declare const transactionEntrySchema: yup$1.MixedSchema<{
7
7
  type: "money_transfer";
8
+ customer_type: "user" | "team" | "custom";
8
9
  customer_id: string;
9
- customer_type: "team" | "user" | "custom";
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
+ quantity: number;
27
+ customer_type: "user" | "team" | "custom";
26
28
  item_id: string;
27
29
  customer_id: string;
28
- quantity: number;
29
- customer_type: "team" | "user" | "custom";
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?: ______utils_dates0.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?: ______utils_dates0.DayInterval | undefined;
58
52
  }>;
59
53
  display_name: string;
54
+ customer_type: "user" | "team" | "custom";
55
+ server_only: boolean;
60
56
  included_items: Record<string, {
61
- quantity?: number | undefined;
62
57
  repeat?: "never" | ______utils_dates0.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: "user" | "team" | "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;
@@ -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: "team" | "user" | "custom";
88
+ customer_type: "user" | "team" | "custom";
89
89
  customer_id: string;
90
90
  entries: ({
91
91
  type: "money_transfer";
92
+ customer_type: "user" | "team" | "custom";
92
93
  customer_id: string;
93
- customer_type: "team" | "user" | "custom";
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
+ quantity: number;
111
+ customer_type: "user" | "team" | "custom";
110
112
  item_id: string;
111
113
  customer_id: string;
112
- quantity: number;
113
- customer_type: "team" | "user" | "custom";
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?: ______utils_dates0.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?: ______utils_dates0.DayInterval | undefined;
142
136
  }>;
143
137
  display_name: string;
138
+ customer_type: "user" | "team" | "custom";
139
+ server_only: boolean;
144
140
  included_items: Record<string, {
145
- quantity?: number | undefined;
146
141
  repeat?: "never" | ______utils_dates0.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: "user" | "team" | "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,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"}