@hexclave/shared 1.0.43 → 1.0.45

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 (115) hide show
  1. package/dist/{admin-interface-Bv8rBJo-.d.ts → admin-interface-B-UjGQ0i.d.ts} +11 -13
  2. package/dist/admin-interface-B-UjGQ0i.d.ts.map +1 -0
  3. package/dist/{admin-metrics-DyW8_G82.d.ts → admin-metrics-1yiWGq9z.d.ts} +10 -10
  4. package/dist/{admin-metrics-DyW8_G82.d.ts.map → admin-metrics-1yiWGq9z.d.ts.map} +1 -1
  5. package/dist/ai/unified-prompts/reminders.js +2 -2
  6. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  7. package/dist/{client-interface-CGrvUtX0.d.ts → client-interface-DjVtlQix.d.ts} +10 -10
  8. package/dist/{client-interface-CGrvUtX0.d.ts.map → client-interface-DjVtlQix.d.ts.map} +1 -1
  9. package/dist/config/schema-fuzzer.test.js +0 -4
  10. package/dist/config/schema-fuzzer.test.js.map +1 -1
  11. package/dist/config/schema.d.ts +1 -1
  12. package/dist/config/schema.js +9 -8
  13. package/dist/config/schema.js.map +1 -1
  14. package/dist/config-authoring.d.ts +1 -1
  15. package/dist/{current-user-Dvf8Ttjo.d.ts → current-user-BCkMYzHx.d.ts} +15 -15
  16. package/dist/{current-user-Dvf8Ttjo.d.ts.map → current-user-BCkMYzHx.d.ts.map} +1 -1
  17. package/dist/{email-outbox-BVqBaXpn.d.ts → email-outbox-BRZiK0ZG.d.ts} +199 -199
  18. package/dist/{email-outbox-BVqBaXpn.d.ts.map → email-outbox-BRZiK0ZG.d.ts.map} +1 -1
  19. package/dist/esm/ai/unified-prompts/reminders.js +2 -1
  20. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  21. package/dist/esm/config/schema-fuzzer.test.js +0 -4
  22. package/dist/esm/config/schema-fuzzer.test.js.map +1 -1
  23. package/dist/esm/config/schema.d.ts +135 -174
  24. package/dist/esm/config/schema.d.ts.map +1 -1
  25. package/dist/esm/config/schema.js +9 -8
  26. package/dist/esm/config/schema.js.map +1 -1
  27. package/dist/esm/interface/admin-interface.d.ts +0 -2
  28. package/dist/esm/interface/admin-interface.d.ts.map +1 -1
  29. package/dist/esm/interface/admin-interface.js +0 -12
  30. package/dist/esm/interface/admin-interface.js.map +1 -1
  31. package/dist/esm/interface/admin-metrics.d.ts +9 -9
  32. package/dist/esm/interface/conversations.d.ts +7 -7
  33. package/dist/esm/interface/crud/current-user.d.ts +14 -14
  34. package/dist/esm/interface/crud/email-outbox.d.ts +198 -198
  35. package/dist/esm/interface/crud/invoices.d.ts +1 -1
  36. package/dist/esm/interface/crud/products.d.ts +21 -21
  37. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  38. package/dist/esm/interface/crud/projects.d.ts +23 -23
  39. package/dist/esm/interface/crud/team-member-profiles.d.ts +22 -22
  40. package/dist/esm/interface/crud/transactions.d.ts +17 -17
  41. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  42. package/dist/esm/interface/crud/users.d.ts +12 -12
  43. package/dist/esm/interface/plan-usage.d.ts +2 -2
  44. package/dist/esm/interface/server-interface.d.ts +2 -0
  45. package/dist/esm/interface/server-interface.d.ts.map +1 -1
  46. package/dist/esm/interface/server-interface.js +12 -0
  47. package/dist/esm/interface/server-interface.js.map +1 -1
  48. package/dist/esm/interface/webhooks.d.ts +2 -2
  49. package/dist/esm/known-errors.d.ts +3 -3
  50. package/dist/esm/schema-fields.d.ts +12 -12
  51. package/dist/esm/sessions.d.ts +9 -9
  52. package/dist/helpers/password.d.ts +1 -1
  53. package/dist/helpers/production-mode.d.ts +1 -1
  54. package/dist/index.d.ts +4 -4
  55. package/dist/interface/admin-interface.d.ts +2 -2
  56. package/dist/interface/admin-interface.js +0 -12
  57. package/dist/interface/admin-interface.js.map +1 -1
  58. package/dist/interface/admin-metrics.d.ts +1 -1
  59. package/dist/interface/client-interface.d.ts +1 -1
  60. package/dist/interface/conversations.d.ts +7 -7
  61. package/dist/interface/crud/current-user.d.ts +1 -1
  62. package/dist/interface/crud/email-outbox.d.ts +1 -1
  63. package/dist/interface/crud/invoices.d.ts +1 -1
  64. package/dist/interface/crud/products.d.ts +1 -1
  65. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  66. package/dist/interface/crud/projects.d.ts +1 -1
  67. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  68. package/dist/interface/crud/transactions.d.ts +1 -1
  69. package/dist/interface/crud/users.d.ts +1 -1
  70. package/dist/interface/plan-usage.d.ts +1 -1
  71. package/dist/interface/server-interface.d.ts +1 -1
  72. package/dist/interface/server-interface.js +12 -0
  73. package/dist/interface/server-interface.js.map +1 -1
  74. package/dist/interface/webhooks.d.ts +1 -1
  75. package/dist/{invoices-U65KzAZX.d.ts → invoices-BGLLnTlR.d.ts} +2 -2
  76. package/dist/{invoices-U65KzAZX.d.ts.map → invoices-BGLLnTlR.d.ts.map} +1 -1
  77. package/dist/{known-errors-Bm4a61wL.d.ts → known-errors-g7JC8z58.d.ts} +4 -4
  78. package/dist/{known-errors-Bm4a61wL.d.ts.map → known-errors-g7JC8z58.d.ts.map} +1 -1
  79. package/dist/known-errors.d.ts +1 -1
  80. package/dist/{plan-usage-DfDoj5K4.d.ts → plan-usage-BigvGIcT.d.ts} +3 -3
  81. package/dist/{plan-usage-DfDoj5K4.d.ts.map → plan-usage-BigvGIcT.d.ts.map} +1 -1
  82. package/dist/{products-Bs74ld-v.d.ts → products-D_fcxfR0.d.ts} +22 -22
  83. package/dist/{products-Bs74ld-v.d.ts.map → products-D_fcxfR0.d.ts.map} +1 -1
  84. package/dist/{project-api-keys--7V5X_UW.d.ts → project-api-keys-OQqmKtMS.d.ts} +5 -5
  85. package/dist/{project-api-keys--7V5X_UW.d.ts.map → project-api-keys-OQqmKtMS.d.ts.map} +1 -1
  86. package/dist/{projects-CgFGB3nO.d.ts → projects-C42SVFvm.d.ts} +24 -24
  87. package/dist/{projects-CgFGB3nO.d.ts.map → projects-C42SVFvm.d.ts.map} +1 -1
  88. package/dist/{schema-01nWxmb4.d.ts → schema-Bgy-GC70.d.ts} +136 -175
  89. package/dist/schema-Bgy-GC70.d.ts.map +1 -0
  90. package/dist/{schema-fields-DqGQ4kF7.d.ts → schema-fields-BljhsWsa.d.ts} +13 -13
  91. package/dist/{schema-fields-DqGQ4kF7.d.ts.map → schema-fields-BljhsWsa.d.ts.map} +1 -1
  92. package/dist/schema-fields.d.ts +1 -1
  93. package/dist/{server-interface-BUPG1kor.d.ts → server-interface-C1W1tZ_y.d.ts} +10 -8
  94. package/dist/server-interface-C1W1tZ_y.d.ts.map +1 -0
  95. package/dist/{sessions-d8qtvBUB.d.ts → sessions-C0nM8bE_.d.ts} +11 -11
  96. package/dist/{sessions-d8qtvBUB.d.ts.map → sessions-C0nM8bE_.d.ts.map} +1 -1
  97. package/dist/sessions.d.ts +1 -1
  98. package/dist/{team-member-profiles-uTluO8XI.d.ts → team-member-profiles-CgYXR-Rx.d.ts} +23 -23
  99. package/dist/{team-member-profiles-uTluO8XI.d.ts.map → team-member-profiles-CgYXR-Rx.d.ts.map} +1 -1
  100. package/dist/{transactions-DhnbvGH5.d.ts → transactions-BomBBiph.d.ts} +18 -18
  101. package/dist/transactions-BomBBiph.d.ts.map +1 -0
  102. package/dist/{users-CmBBuF00.d.ts → users-7MKfEyyq.d.ts} +14 -14
  103. package/dist/{users-CmBBuF00.d.ts.map → users-7MKfEyyq.d.ts.map} +1 -1
  104. package/dist/{webhooks-ByXrdSOx.d.ts → webhooks-C5gG85Ce.d.ts} +3 -3
  105. package/dist/{webhooks-ByXrdSOx.d.ts.map → webhooks-C5gG85Ce.d.ts.map} +1 -1
  106. package/package.json +1 -1
  107. package/src/ai/unified-prompts/reminders.ts +1 -0
  108. package/src/config/schema-fuzzer.test.ts +11 -11
  109. package/src/config/schema.ts +35 -14
  110. package/src/interface/admin-interface.ts +0 -20
  111. package/src/interface/server-interface.ts +20 -0
  112. package/dist/admin-interface-Bv8rBJo-.d.ts.map +0 -1
  113. package/dist/schema-01nWxmb4.d.ts.map +0 -1
  114. package/dist/server-interface-BUPG1kor.d.ts.map +0 -1
  115. package/dist/transactions-DhnbvGH5.d.ts.map +0 -1
@@ -15,8 +15,8 @@ declare const customerInvoiceReadSchema: yup$1.ObjectSchema<{
15
15
  type CustomerInvoiceRead = yup$1.InferType<typeof customerInvoiceReadSchema>;
16
16
  declare const customerInvoicesListResponseSchema: yup$1.ObjectSchema<{
17
17
  items: {
18
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
19
18
  created_at_millis: number;
19
+ status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
20
20
  amount_total: number;
21
21
  hosted_invoice_url: string | null;
22
22
  }[];
@@ -5,14 +5,16 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
5
5
  id: string | null;
6
6
  quantity: number;
7
7
  product: {
8
- free_trial?: import("../../utils/dates").DayInterval | undefined;
9
8
  client_metadata?: {} | null | undefined;
10
9
  client_read_only_metadata?: {} | null | undefined;
11
10
  server_metadata?: {} | null | undefined;
11
+ free_trial?: import("../../utils/dates").DayInterval | undefined;
12
+ display_name: string;
12
13
  server_only: boolean;
13
- customer_type: "team" | "user" | "custom";
14
+ customer_type: "user" | "team" | "custom";
14
15
  stackable: boolean;
15
16
  prices: Record<string, {
17
+ free_trial?: import("../../utils/dates").DayInterval | undefined;
16
18
  USD?: string | undefined;
17
19
  EUR?: string | undefined;
18
20
  GBP?: string | undefined;
@@ -21,12 +23,10 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
21
23
  AUD?: string | undefined;
22
24
  CAD?: string | undefined;
23
25
  interval?: import("../../utils/dates").DayInterval | undefined;
24
- free_trial?: import("../../utils/dates").DayInterval | undefined;
25
26
  }>;
26
- display_name: string;
27
27
  included_items: Record<string, {
28
- quantity?: number | undefined;
29
28
  repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
29
+ quantity?: number | undefined;
30
30
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
31
31
  }>;
32
32
  };
@@ -40,14 +40,16 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
40
40
  switch_options: {
41
41
  product_id: string;
42
42
  product: {
43
- free_trial?: import("../../utils/dates").DayInterval | undefined;
44
43
  client_metadata?: {} | null | undefined;
45
44
  client_read_only_metadata?: {} | null | undefined;
46
45
  server_metadata?: {} | null | undefined;
46
+ free_trial?: import("../../utils/dates").DayInterval | undefined;
47
+ display_name: string;
47
48
  server_only: boolean;
48
- customer_type: "team" | "user" | "custom";
49
+ customer_type: "user" | "team" | "custom";
49
50
  stackable: boolean;
50
51
  prices: Record<string, {
52
+ free_trial?: import("../../utils/dates").DayInterval | undefined;
51
53
  USD?: string | undefined;
52
54
  EUR?: string | undefined;
53
55
  GBP?: string | undefined;
@@ -56,12 +58,10 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
56
58
  AUD?: string | undefined;
57
59
  CAD?: string | undefined;
58
60
  interval?: import("../../utils/dates").DayInterval | undefined;
59
- free_trial?: import("../../utils/dates").DayInterval | undefined;
60
61
  }>;
61
- display_name: string;
62
62
  included_items: Record<string, {
63
- quantity?: number | undefined;
64
63
  repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
64
+ quantity?: number | undefined;
65
65
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
66
66
  }>;
67
67
  };
@@ -103,14 +103,16 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
103
103
  switch_options?: {
104
104
  product_id: string;
105
105
  product: {
106
- free_trial?: import("../../utils/dates").DayInterval | undefined;
107
106
  client_metadata?: {} | null | undefined;
108
107
  client_read_only_metadata?: {} | null | undefined;
109
108
  server_metadata?: {} | null | undefined;
109
+ free_trial?: import("../../utils/dates").DayInterval | undefined;
110
+ display_name: string;
110
111
  server_only: boolean;
111
- customer_type: "team" | "user" | "custom";
112
+ customer_type: "user" | "team" | "custom";
112
113
  stackable: boolean;
113
114
  prices: Record<string, {
115
+ free_trial?: import("../../utils/dates").DayInterval | undefined;
114
116
  USD?: string | undefined;
115
117
  EUR?: string | undefined;
116
118
  GBP?: string | undefined;
@@ -119,26 +121,27 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
119
121
  AUD?: string | undefined;
120
122
  CAD?: string | undefined;
121
123
  interval?: import("../../utils/dates").DayInterval | undefined;
122
- free_trial?: import("../../utils/dates").DayInterval | undefined;
123
124
  }>;
124
- display_name: string;
125
125
  included_items: Record<string, {
126
- quantity?: number | undefined;
127
126
  repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
127
+ quantity?: number | undefined;
128
128
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
129
129
  }>;
130
130
  };
131
131
  }[] | undefined;
132
+ id: string | null;
132
133
  quantity: number;
133
134
  product: {
134
- free_trial?: import("../../utils/dates").DayInterval | undefined;
135
135
  client_metadata?: {} | null | undefined;
136
136
  client_read_only_metadata?: {} | null | undefined;
137
137
  server_metadata?: {} | null | undefined;
138
+ free_trial?: import("../../utils/dates").DayInterval | undefined;
139
+ display_name: string;
138
140
  server_only: boolean;
139
- customer_type: "team" | "user" | "custom";
141
+ customer_type: "user" | "team" | "custom";
140
142
  stackable: boolean;
141
143
  prices: Record<string, {
144
+ free_trial?: import("../../utils/dates").DayInterval | undefined;
142
145
  USD?: string | undefined;
143
146
  EUR?: string | undefined;
144
147
  GBP?: string | undefined;
@@ -147,16 +150,13 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
147
150
  AUD?: string | undefined;
148
151
  CAD?: string | undefined;
149
152
  interval?: import("../../utils/dates").DayInterval | undefined;
150
- free_trial?: import("../../utils/dates").DayInterval | undefined;
151
153
  }>;
152
- display_name: string;
153
154
  included_items: Record<string, {
154
- quantity?: number | undefined;
155
155
  repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
156
+ quantity?: number | undefined;
156
157
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
157
158
  }>;
158
159
  };
159
- id: string | null;
160
160
  }[];
161
161
  is_paginated: boolean;
162
162
  pagination: {
@@ -78,9 +78,9 @@ declare const userApiKeysCrud: import("../../crud").CrudSchemaFromOptions<{
78
78
  is_public: undefined;
79
79
  user_id: undefined;
80
80
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
81
- user_id: string;
82
- type: "user";
83
81
  description: string;
82
+ type: "user";
83
+ user_id: string;
84
84
  id: string;
85
85
  created_at_millis: number;
86
86
  expires_at_millis: number | undefined;
@@ -176,11 +176,11 @@ declare const teamApiKeysCrud: import("../../crud").CrudSchemaFromOptions<{
176
176
  is_public: undefined;
177
177
  team_id: undefined;
178
178
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
179
- type: "team";
180
- team_id: string;
181
179
  description: string;
180
+ type: "team";
182
181
  id: string;
183
182
  created_at_millis: number;
183
+ team_id: string;
184
184
  expires_at_millis: number | undefined;
185
185
  manually_revoked_at_millis: number | undefined;
186
186
  is_public: boolean;
@@ -2,7 +2,7 @@ import { CrudTypeOf } from "../../crud.js";
2
2
 
3
3
  //#region src/interface/crud/projects.d.ts
4
4
  declare const emailConfigSchema: import("yup").ObjectSchema<{
5
- type: "shared" | "standard";
5
+ type: "standard" | "shared";
6
6
  host: string | undefined;
7
7
  port: number | undefined;
8
8
  username: string | undefined;
@@ -19,7 +19,7 @@ declare const emailConfigSchema: import("yup").ObjectSchema<{
19
19
  sender_email: undefined;
20
20
  }, "">;
21
21
  declare const emailConfigWithoutPasswordSchema: import("yup").ObjectSchema<{
22
- type: "shared" | "standard";
22
+ type: "standard" | "shared";
23
23
  host: string | undefined;
24
24
  port: number | undefined;
25
25
  username: string | undefined;
@@ -50,7 +50,7 @@ declare const projectsCrudAdminReadSchema: import("yup").ObjectSchema<{
50
50
  onboarding_state: {
51
51
  selected_config_choice: "create-new" | "link-existing";
52
52
  selected_apps: string[];
53
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
53
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
54
54
  selected_email_theme_id: string | null;
55
55
  selected_payments_country: "US" | "OTHER";
56
56
  } | null | undefined;
@@ -67,7 +67,7 @@ declare const projectsCrudAdminReadSchema: import("yup").ObjectSchema<{
67
67
  facebook_config_id?: string | undefined;
68
68
  microsoft_tenant_id?: string | undefined;
69
69
  apple_bundle_ids?: string[] | undefined;
70
- type: "shared" | "standard";
70
+ type: "standard" | "shared";
71
71
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
72
72
  provider_config_id: string;
73
73
  }[];
@@ -94,7 +94,7 @@ declare const projectsCrudAdminReadSchema: import("yup").ObjectSchema<{
94
94
  username?: string | undefined;
95
95
  sender_name?: string | undefined;
96
96
  sender_email?: string | undefined;
97
- type: "shared" | "standard";
97
+ type: "standard" | "shared";
98
98
  };
99
99
  email_theme: string;
100
100
  create_team_on_sign_up: boolean;
@@ -223,7 +223,7 @@ declare const projectsCrudAdminUpdateSchema: import("yup").ObjectSchema<{
223
223
  onboarding_state: {
224
224
  selected_config_choice: "create-new" | "link-existing";
225
225
  selected_apps: string[];
226
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
226
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
227
227
  selected_email_theme_id: string | null;
228
228
  selected_payments_country: "US" | "OTHER";
229
229
  } | null | undefined;
@@ -234,7 +234,7 @@ declare const projectsCrudAdminUpdateSchema: import("yup").ObjectSchema<{
234
234
  facebook_config_id?: string | undefined;
235
235
  microsoft_tenant_id?: string | undefined;
236
236
  apple_bundle_ids?: string[] | undefined;
237
- type: "shared" | "standard";
237
+ type: "standard" | "shared";
238
238
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
239
239
  }[] | undefined;
240
240
  allow_localhost?: boolean | undefined;
@@ -257,7 +257,7 @@ declare const projectsCrudAdminUpdateSchema: import("yup").ObjectSchema<{
257
257
  username?: string | undefined;
258
258
  sender_name?: string | undefined;
259
259
  sender_email?: string | undefined;
260
- type: "shared" | "standard";
260
+ type: "standard" | "shared";
261
261
  } | undefined;
262
262
  email_theme?: string | undefined;
263
263
  create_team_on_sign_up?: boolean | undefined;
@@ -303,7 +303,7 @@ declare const projectsCrudAdminCreateSchema: import("yup").ObjectSchema<{
303
303
  onboarding_state: {
304
304
  selected_config_choice: "create-new" | "link-existing";
305
305
  selected_apps: string[];
306
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
306
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
307
307
  selected_email_theme_id: string | null;
308
308
  selected_payments_country: "US" | "OTHER";
309
309
  } | null | undefined;
@@ -314,7 +314,7 @@ declare const projectsCrudAdminCreateSchema: import("yup").ObjectSchema<{
314
314
  facebook_config_id?: string | undefined;
315
315
  microsoft_tenant_id?: string | undefined;
316
316
  apple_bundle_ids?: string[] | undefined;
317
- type: "shared" | "standard";
317
+ type: "standard" | "shared";
318
318
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
319
319
  }[] | undefined;
320
320
  allow_localhost?: boolean | undefined;
@@ -337,7 +337,7 @@ declare const projectsCrudAdminCreateSchema: import("yup").ObjectSchema<{
337
337
  username?: string | undefined;
338
338
  sender_name?: string | undefined;
339
339
  sender_email?: string | undefined;
340
- type: "shared" | "standard";
340
+ type: "standard" | "shared";
341
341
  } | undefined;
342
342
  email_theme?: string | undefined;
343
343
  create_team_on_sign_up?: boolean | undefined;
@@ -453,7 +453,7 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
453
453
  onboarding_state: {
454
454
  selected_config_choice: "create-new" | "link-existing";
455
455
  selected_apps: string[];
456
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
456
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
457
457
  selected_email_theme_id: string | null;
458
458
  selected_payments_country: "US" | "OTHER";
459
459
  } | null | undefined;
@@ -470,7 +470,7 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
470
470
  facebook_config_id?: string | undefined;
471
471
  microsoft_tenant_id?: string | undefined;
472
472
  apple_bundle_ids?: string[] | undefined;
473
- type: "shared" | "standard";
473
+ type: "standard" | "shared";
474
474
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
475
475
  provider_config_id: string;
476
476
  }[];
@@ -497,7 +497,7 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
497
497
  username?: string | undefined;
498
498
  sender_name?: string | undefined;
499
499
  sender_email?: string | undefined;
500
- type: "shared" | "standard";
500
+ type: "standard" | "shared";
501
501
  };
502
502
  email_theme: string;
503
503
  create_team_on_sign_up: boolean;
@@ -578,7 +578,7 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
578
578
  onboarding_state: {
579
579
  selected_config_choice: "create-new" | "link-existing";
580
580
  selected_apps: string[];
581
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
581
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
582
582
  selected_email_theme_id: string | null;
583
583
  selected_payments_country: "US" | "OTHER";
584
584
  } | null | undefined;
@@ -589,7 +589,7 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
589
589
  facebook_config_id?: string | undefined;
590
590
  microsoft_tenant_id?: string | undefined;
591
591
  apple_bundle_ids?: string[] | undefined;
592
- type: "shared" | "standard";
592
+ type: "standard" | "shared";
593
593
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
594
594
  }[] | undefined;
595
595
  allow_localhost?: boolean | undefined;
@@ -612,7 +612,7 @@ declare const projectsCrud: import("../../crud").CrudSchemaFromOptions<{
612
612
  username?: string | undefined;
613
613
  sender_name?: string | undefined;
614
614
  sender_email?: string | undefined;
615
- type: "shared" | "standard";
615
+ type: "standard" | "shared";
616
616
  } | undefined;
617
617
  email_theme?: string | undefined;
618
618
  create_team_on_sign_up?: boolean | undefined;
@@ -686,7 +686,7 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
686
686
  onboarding_state: {
687
687
  selected_config_choice: "create-new" | "link-existing";
688
688
  selected_apps: string[];
689
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
689
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
690
690
  selected_email_theme_id: string | null;
691
691
  selected_payments_country: "US" | "OTHER";
692
692
  } | null | undefined;
@@ -703,7 +703,7 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
703
703
  facebook_config_id?: string | undefined;
704
704
  microsoft_tenant_id?: string | undefined;
705
705
  apple_bundle_ids?: string[] | undefined;
706
- type: "shared" | "standard";
706
+ type: "standard" | "shared";
707
707
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
708
708
  provider_config_id: string;
709
709
  }[];
@@ -730,7 +730,7 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
730
730
  username?: string | undefined;
731
731
  sender_name?: string | undefined;
732
732
  sender_email?: string | undefined;
733
- type: "shared" | "standard";
733
+ type: "standard" | "shared";
734
734
  };
735
735
  email_theme: string;
736
736
  create_team_on_sign_up: boolean;
@@ -811,7 +811,7 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
811
811
  onboarding_state: {
812
812
  selected_config_choice: "create-new" | "link-existing";
813
813
  selected_apps: string[];
814
- selected_sign_in_methods: ("google" | "github" | "microsoft" | "passkey" | "credential" | "magicLink")[];
814
+ selected_sign_in_methods: ("google" | "github" | "microsoft" | "credential" | "magicLink" | "passkey")[];
815
815
  selected_email_theme_id: string | null;
816
816
  selected_payments_country: "US" | "OTHER";
817
817
  } | null | undefined;
@@ -822,7 +822,7 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
822
822
  facebook_config_id?: string | undefined;
823
823
  microsoft_tenant_id?: string | undefined;
824
824
  apple_bundle_ids?: string[] | undefined;
825
- type: "shared" | "standard";
825
+ type: "standard" | "shared";
826
826
  id: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch";
827
827
  }[] | undefined;
828
828
  allow_localhost?: boolean | undefined;
@@ -845,7 +845,7 @@ declare const adminUserProjectsCrud: import("../../crud").CrudSchemaFromOptions<
845
845
  username?: string | undefined;
846
846
  sender_name?: string | undefined;
847
847
  sender_email?: string | undefined;
848
- type: "shared" | "standard";
848
+ type: "standard" | "shared";
849
849
  } | undefined;
850
850
  email_theme?: string | undefined;
851
851
  create_team_on_sign_up?: boolean | undefined;
@@ -19,36 +19,35 @@ declare const teamMemberProfilesCrudServerReadSchema: import("yup").ObjectSchema
19
19
  profile_image_url: string | null;
20
20
  } & {
21
21
  user: {
22
- restricted_reason: {
23
- type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
24
- } | null;
25
- primary_email: string | null;
26
- display_name: string | null;
22
+ id: string;
27
23
  client_metadata: {} | null;
28
24
  client_read_only_metadata: {} | null;
29
25
  server_metadata: {} | null;
30
- id: string;
31
- selected_team_id: string | null;
32
- is_anonymous: boolean;
33
- is_restricted: boolean;
34
- requires_totp_mfa: boolean;
26
+ primary_email: string | null;
35
27
  primary_email_verified: boolean;
36
28
  primary_email_auth_enabled: boolean;
29
+ display_name: string | null;
37
30
  profile_image_url: string | null;
38
31
  selected_team: {
39
32
  client_metadata?: {} | null | undefined;
40
33
  client_read_only_metadata?: {} | null | undefined;
41
34
  server_metadata?: {} | null | undefined;
42
- display_name: string;
43
35
  id: string;
36
+ display_name: string;
44
37
  profile_image_url: string | null;
45
38
  created_at_millis: number;
46
39
  } | null;
40
+ selected_team_id: string | null;
47
41
  signed_up_at_millis: number;
48
42
  has_password: boolean;
49
43
  otp_auth_enabled: boolean;
50
44
  passkey_auth_enabled: boolean;
51
45
  last_active_at_millis: number;
46
+ is_anonymous: boolean;
47
+ is_restricted: boolean;
48
+ restricted_reason: {
49
+ type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
50
+ } | null;
52
51
  restricted_by_admin: boolean;
53
52
  restricted_by_admin_reason: string | null;
54
53
  restricted_by_admin_private_details: string | null;
@@ -65,6 +64,7 @@ declare const teamMemberProfilesCrudServerReadSchema: import("yup").ObjectSchema
65
64
  account_id: string;
66
65
  }[];
67
66
  auth_with_email: boolean;
67
+ requires_totp_mfa: boolean;
68
68
  };
69
69
  }, import("yup").AnyObject, {
70
70
  team_id: undefined;
@@ -142,36 +142,35 @@ declare const teamMemberProfilesCrud: import("../../crud").CrudSchemaFromOptions
142
142
  profile_image_url: string | null;
143
143
  } & {
144
144
  user: {
145
- restricted_reason: {
146
- type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
147
- } | null;
148
- primary_email: string | null;
149
- display_name: string | null;
145
+ id: string;
150
146
  client_metadata: {} | null;
151
147
  client_read_only_metadata: {} | null;
152
148
  server_metadata: {} | null;
153
- id: string;
154
- selected_team_id: string | null;
155
- is_anonymous: boolean;
156
- is_restricted: boolean;
157
- requires_totp_mfa: boolean;
149
+ primary_email: string | null;
158
150
  primary_email_verified: boolean;
159
151
  primary_email_auth_enabled: boolean;
152
+ display_name: string | null;
160
153
  profile_image_url: string | null;
161
154
  selected_team: {
162
155
  client_metadata?: {} | null | undefined;
163
156
  client_read_only_metadata?: {} | null | undefined;
164
157
  server_metadata?: {} | null | undefined;
165
- display_name: string;
166
158
  id: string;
159
+ display_name: string;
167
160
  profile_image_url: string | null;
168
161
  created_at_millis: number;
169
162
  } | null;
163
+ selected_team_id: string | null;
170
164
  signed_up_at_millis: number;
171
165
  has_password: boolean;
172
166
  otp_auth_enabled: boolean;
173
167
  passkey_auth_enabled: boolean;
174
168
  last_active_at_millis: number;
169
+ is_anonymous: boolean;
170
+ is_restricted: boolean;
171
+ restricted_reason: {
172
+ type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
173
+ } | null;
175
174
  restricted_by_admin: boolean;
176
175
  restricted_by_admin_reason: string | null;
177
176
  restricted_by_admin_private_details: string | null;
@@ -188,6 +187,7 @@ declare const teamMemberProfilesCrud: import("../../crud").CrudSchemaFromOptions
188
187
  account_id: string;
189
188
  }[];
190
189
  auth_with_email: boolean;
190
+ requires_totp_mfa: boolean;
191
191
  };
192
192
  }, import("yup").AnyObject, {
193
193
  team_id: undefined;
@@ -4,7 +4,7 @@ import { InferType } from "yup";
4
4
  declare const transactionEntrySchema: import("yup").MixedSchema<{
5
5
  type: "money_transfer";
6
6
  customer_id: string;
7
- customer_type: "team" | "user" | "custom";
7
+ customer_type: "user" | "team" | "custom";
8
8
  charged_amount: {
9
9
  USD?: string | undefined;
10
10
  EUR?: string | undefined;
@@ -24,7 +24,7 @@ declare const transactionEntrySchema: import("yup").MixedSchema<{
24
24
  item_id: string;
25
25
  customer_id: string;
26
26
  quantity: number;
27
- customer_type: "team" | "user" | "custom";
27
+ customer_type: "user" | "team" | "custom";
28
28
  adjusted_transaction_id: string | null;
29
29
  adjusted_entry_index: number | null;
30
30
  } | {
@@ -34,16 +34,18 @@ declare const transactionEntrySchema: import("yup").MixedSchema<{
34
34
  customer_id: string;
35
35
  product_id: string | null;
36
36
  quantity: number;
37
- customer_type: "team" | "user" | "custom";
37
+ customer_type: "user" | "team" | "custom";
38
38
  product: {
39
- free_trial?: import("../../utils/dates").DayInterval | undefined;
40
39
  client_metadata?: {} | null | undefined;
41
40
  client_read_only_metadata?: {} | null | undefined;
42
41
  server_metadata?: {} | null | undefined;
42
+ free_trial?: import("../../utils/dates").DayInterval | undefined;
43
+ display_name: string;
43
44
  server_only: boolean;
44
- customer_type: "team" | "user" | "custom";
45
+ customer_type: "user" | "team" | "custom";
45
46
  stackable: boolean;
46
47
  prices: Record<string, {
48
+ free_trial?: import("../../utils/dates").DayInterval | undefined;
47
49
  USD?: string | undefined;
48
50
  EUR?: string | undefined;
49
51
  GBP?: string | undefined;
@@ -52,12 +54,10 @@ declare const transactionEntrySchema: import("yup").MixedSchema<{
52
54
  AUD?: string | undefined;
53
55
  CAD?: string | undefined;
54
56
  interval?: import("../../utils/dates").DayInterval | undefined;
55
- free_trial?: import("../../utils/dates").DayInterval | undefined;
56
57
  }>;
57
- display_name: string;
58
58
  included_items: Record<string, {
59
- quantity?: number | undefined;
60
59
  repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
60
+ quantity?: number | undefined;
61
61
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
62
62
  }>;
63
63
  };
@@ -83,12 +83,12 @@ declare const transactionSchema: import("yup").ObjectSchema<{
83
83
  created_at_millis: number;
84
84
  effective_at_millis: number;
85
85
  type: "purchase" | "subscription-cancellation" | "subscription-renewal" | "manual-item-quantity-change" | "refund" | "chargeback" | "product-change" | null;
86
- customer_type: "team" | "user" | "custom";
86
+ customer_type: "user" | "team" | "custom";
87
87
  customer_id: string;
88
88
  entries: ({
89
89
  type: "money_transfer";
90
90
  customer_id: string;
91
- customer_type: "team" | "user" | "custom";
91
+ customer_type: "user" | "team" | "custom";
92
92
  charged_amount: {
93
93
  USD?: string | undefined;
94
94
  EUR?: string | undefined;
@@ -108,7 +108,7 @@ declare const transactionSchema: import("yup").ObjectSchema<{
108
108
  item_id: string;
109
109
  customer_id: string;
110
110
  quantity: number;
111
- customer_type: "team" | "user" | "custom";
111
+ customer_type: "user" | "team" | "custom";
112
112
  adjusted_transaction_id: string | null;
113
113
  adjusted_entry_index: number | null;
114
114
  } | {
@@ -118,16 +118,18 @@ declare const transactionSchema: import("yup").ObjectSchema<{
118
118
  customer_id: string;
119
119
  product_id: string | null;
120
120
  quantity: number;
121
- customer_type: "team" | "user" | "custom";
121
+ customer_type: "user" | "team" | "custom";
122
122
  product: {
123
- free_trial?: import("../../utils/dates").DayInterval | undefined;
124
123
  client_metadata?: {} | null | undefined;
125
124
  client_read_only_metadata?: {} | null | undefined;
126
125
  server_metadata?: {} | null | undefined;
126
+ free_trial?: import("../../utils/dates").DayInterval | undefined;
127
+ display_name: string;
127
128
  server_only: boolean;
128
- customer_type: "team" | "user" | "custom";
129
+ customer_type: "user" | "team" | "custom";
129
130
  stackable: boolean;
130
131
  prices: Record<string, {
132
+ free_trial?: import("../../utils/dates").DayInterval | undefined;
131
133
  USD?: string | undefined;
132
134
  EUR?: string | undefined;
133
135
  GBP?: string | undefined;
@@ -136,12 +138,10 @@ declare const transactionSchema: import("yup").ObjectSchema<{
136
138
  AUD?: string | undefined;
137
139
  CAD?: string | undefined;
138
140
  interval?: import("../../utils/dates").DayInterval | undefined;
139
- free_trial?: import("../../utils/dates").DayInterval | undefined;
140
141
  }>;
141
- display_name: string;
142
142
  included_items: Record<string, {
143
- quantity?: number | undefined;
144
143
  repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
144
+ quantity?: number | undefined;
145
145
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
146
146
  }>;
147
147
  };
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../../src/interface/crud/transactions.ts"],"mappings":";;;cAwFa,sBAAA,gBAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAMxB,MAAA;;;;;;;;;;;;oBAAA,MAAA;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAS,QAAQ,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAiB;AAAA,cAE1C,iBAAA,gBAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBlB,MAAA;;;;;;;;;;;;sBAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAS,QAAQ,iBAAA"}
1
+ {"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../../src/interface/crud/transactions.ts"],"mappings":";;;cAwFa,sBAAA,gBAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAMxB,MAAA;;;;;;;;;;;oBAAA,MAAA;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAS,QAAQ,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAiB;AAAA,cAE1C,iBAAA,gBAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBlB,MAAA;;;;;;;;;;;sBAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAS,QAAQ,iBAAA"}