@hexclave/shared 1.0.45 → 1.0.47

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 (125) hide show
  1. package/dist/{admin-interface-B-UjGQ0i.d.ts → admin-interface-DH4uLcZ3.d.ts} +11 -11
  2. package/dist/{admin-interface-B-UjGQ0i.d.ts.map → admin-interface-DH4uLcZ3.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-1yiWGq9z.d.ts → admin-metrics-pphx-0AE.d.ts} +11 -11
  4. package/dist/{admin-metrics-1yiWGq9z.d.ts.map → admin-metrics-pphx-0AE.d.ts.map} +1 -1
  5. package/dist/ai/unified-prompts/reminders.js +2 -1
  6. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  7. package/dist/{client-interface-DjVtlQix.d.ts → client-interface-BmHWUJhv.d.ts} +10 -10
  8. package/dist/{client-interface-DjVtlQix.d.ts.map → client-interface-BmHWUJhv.d.ts.map} +1 -1
  9. package/dist/config/schema.d.ts +1 -1
  10. package/dist/config-authoring.d.ts +1 -1
  11. package/dist/{current-user-BCkMYzHx.d.ts → current-user-Dvf8Ttjo.d.ts} +15 -15
  12. package/dist/{current-user-BCkMYzHx.d.ts.map → current-user-Dvf8Ttjo.d.ts.map} +1 -1
  13. package/dist/dates-BRAvSk6L.d.ts +40 -0
  14. package/dist/{dates-B6ne9iOR.d.ts.map → dates-BRAvSk6L.d.ts.map} +1 -1
  15. package/dist/{email-outbox-BRZiK0ZG.d.ts → email-outbox-DoxRUJop.d.ts} +179 -179
  16. package/dist/{email-outbox-BRZiK0ZG.d.ts.map → email-outbox-DoxRUJop.d.ts.map} +1 -1
  17. package/dist/esm/ai/unified-prompts/reminders.js +1 -1
  18. package/dist/esm/config/schema.d.ts +92 -92
  19. package/dist/esm/interface/admin-interface.js +1 -1
  20. package/dist/esm/interface/admin-metrics.d.ts +10 -10
  21. package/dist/esm/interface/client-interface.js +1 -1
  22. package/dist/esm/interface/conversations.d.ts +7 -7
  23. package/dist/esm/interface/crud/current-user.d.ts +14 -14
  24. package/dist/esm/interface/crud/email-outbox.d.ts +178 -178
  25. package/dist/esm/interface/crud/invoices.d.ts +1 -1
  26. package/dist/esm/interface/crud/products.d.ts +21 -21
  27. package/dist/esm/interface/crud/project-api-keys.d.ts +4 -4
  28. package/dist/esm/interface/crud/projects.d.ts +16 -16
  29. package/dist/esm/interface/crud/team-member-profiles.d.ts +22 -22
  30. package/dist/esm/interface/crud/transactions.d.ts +17 -17
  31. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  32. package/dist/esm/interface/crud/users.d.ts +12 -12
  33. package/dist/esm/interface/plan-usage.d.ts +3 -1
  34. package/dist/esm/interface/plan-usage.d.ts.map +1 -1
  35. package/dist/esm/interface/plan-usage.js +1 -0
  36. package/dist/esm/interface/plan-usage.js.map +1 -1
  37. package/dist/esm/interface/server-interface.js +1 -1
  38. package/dist/esm/interface/webhooks.d.ts +2 -2
  39. package/dist/esm/known-errors.d.ts +3 -3
  40. package/dist/esm/schema-fields.d.ts +12 -12
  41. package/dist/esm/schema-fields.d.ts.map +1 -1
  42. package/dist/esm/schema-fields.js +2 -2
  43. package/dist/esm/schema-fields.js.map +1 -1
  44. package/dist/esm/sessions.d.ts +9 -9
  45. package/dist/esm/utils/currencies.d.ts +16 -1
  46. package/dist/esm/utils/currencies.d.ts.map +1 -1
  47. package/dist/esm/utils/currencies.js +24 -1
  48. package/dist/esm/utils/currencies.js.map +1 -1
  49. package/dist/esm/utils/dates.d.ts +18 -1
  50. package/dist/esm/utils/dates.d.ts.map +1 -1
  51. package/dist/esm/utils/dates.js +36 -15
  52. package/dist/esm/utils/dates.js.map +1 -1
  53. package/dist/helpers/password.d.ts +1 -1
  54. package/dist/helpers/production-mode.d.ts +1 -1
  55. package/dist/index.d.ts +4 -4
  56. package/dist/interface/admin-interface.d.ts +2 -2
  57. package/dist/interface/admin-interface.js +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/client-interface.js +1 -1
  61. package/dist/interface/conversations.d.ts +7 -7
  62. package/dist/interface/crud/current-user.d.ts +1 -1
  63. package/dist/interface/crud/email-outbox.d.ts +1 -1
  64. package/dist/interface/crud/invoices.d.ts +1 -1
  65. package/dist/interface/crud/products.d.ts +1 -1
  66. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  67. package/dist/interface/crud/projects.d.ts +1 -1
  68. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  69. package/dist/interface/crud/transactions.d.ts +1 -1
  70. package/dist/interface/crud/users.d.ts +1 -1
  71. package/dist/interface/plan-usage.d.ts +1 -1
  72. package/dist/interface/plan-usage.js +1 -0
  73. package/dist/interface/plan-usage.js.map +1 -1
  74. package/dist/interface/server-interface.d.ts +1 -1
  75. package/dist/interface/server-interface.js +1 -1
  76. package/dist/interface/webhooks.d.ts +1 -1
  77. package/dist/{invoices-BGLLnTlR.d.ts → invoices-U65KzAZX.d.ts} +2 -2
  78. package/dist/{invoices-BGLLnTlR.d.ts.map → invoices-U65KzAZX.d.ts.map} +1 -1
  79. package/dist/{known-errors-g7JC8z58.d.ts → known-errors-Bm4a61wL.d.ts} +4 -4
  80. package/dist/{known-errors-g7JC8z58.d.ts.map → known-errors-Bm4a61wL.d.ts.map} +1 -1
  81. package/dist/known-errors.d.ts +1 -1
  82. package/dist/{plan-usage-BigvGIcT.d.ts → plan-usage-BaDxcLZ1.d.ts} +4 -2
  83. package/dist/plan-usage-BaDxcLZ1.d.ts.map +1 -0
  84. package/dist/{products-D_fcxfR0.d.ts → products-D4o8A2W0.d.ts} +23 -23
  85. package/dist/{products-D_fcxfR0.d.ts.map → products-D4o8A2W0.d.ts.map} +1 -1
  86. package/dist/{project-api-keys-OQqmKtMS.d.ts → project-api-keys--7V5X_UW.d.ts} +5 -5
  87. package/dist/{project-api-keys-OQqmKtMS.d.ts.map → project-api-keys--7V5X_UW.d.ts.map} +1 -1
  88. package/dist/{projects-C42SVFvm.d.ts → projects-dH9I0bcX.d.ts} +17 -17
  89. package/dist/{projects-C42SVFvm.d.ts.map → projects-dH9I0bcX.d.ts.map} +1 -1
  90. package/dist/{schema-Bgy-GC70.d.ts → schema-BSb4tzx3.d.ts} +94 -94
  91. package/dist/{schema-Bgy-GC70.d.ts.map → schema-BSb4tzx3.d.ts.map} +1 -1
  92. package/dist/{schema-fields-BljhsWsa.d.ts → schema-fields-DZtDQEEO.d.ts} +14 -14
  93. package/dist/schema-fields-DZtDQEEO.d.ts.map +1 -0
  94. package/dist/schema-fields.d.ts +1 -1
  95. package/dist/schema-fields.js +2 -2
  96. package/dist/schema-fields.js.map +1 -1
  97. package/dist/{server-interface-C1W1tZ_y.d.ts → server-interface-CxorzgTW.d.ts} +8 -8
  98. package/dist/{server-interface-C1W1tZ_y.d.ts.map → server-interface-CxorzgTW.d.ts.map} +1 -1
  99. package/dist/{sessions-C0nM8bE_.d.ts → sessions-CI-0TBQb.d.ts} +11 -11
  100. package/dist/{sessions-C0nM8bE_.d.ts.map → sessions-CI-0TBQb.d.ts.map} +1 -1
  101. package/dist/sessions.d.ts +1 -1
  102. package/dist/{team-member-profiles-CgYXR-Rx.d.ts → team-member-profiles-uTluO8XI.d.ts} +23 -23
  103. package/dist/{team-member-profiles-CgYXR-Rx.d.ts.map → team-member-profiles-uTluO8XI.d.ts.map} +1 -1
  104. package/dist/{transactions-BomBBiph.d.ts → transactions-CHNUJ42J.d.ts} +19 -19
  105. package/dist/transactions-CHNUJ42J.d.ts.map +1 -0
  106. package/dist/{users-7MKfEyyq.d.ts → users-CmBBuF00.d.ts} +14 -14
  107. package/dist/{users-7MKfEyyq.d.ts.map → users-CmBBuF00.d.ts.map} +1 -1
  108. package/dist/utils/currencies.d.ts +16 -1
  109. package/dist/utils/currencies.d.ts.map +1 -1
  110. package/dist/utils/currencies.js +24 -0
  111. package/dist/utils/currencies.js.map +1 -1
  112. package/dist/utils/dates.d.ts +2 -2
  113. package/dist/utils/dates.js +36 -14
  114. package/dist/utils/dates.js.map +1 -1
  115. package/dist/{webhooks-C5gG85Ce.d.ts → webhooks-ByXrdSOx.d.ts} +3 -3
  116. package/dist/{webhooks-C5gG85Ce.d.ts.map → webhooks-ByXrdSOx.d.ts.map} +1 -1
  117. package/package.json +1 -1
  118. package/src/interface/plan-usage.ts +1 -0
  119. package/src/schema-fields.ts +13 -2
  120. package/src/utils/currencies.tsx +69 -0
  121. package/src/utils/dates.tsx +104 -15
  122. package/dist/dates-B6ne9iOR.d.ts +0 -23
  123. package/dist/plan-usage-BigvGIcT.d.ts.map +0 -1
  124. package/dist/schema-fields-BljhsWsa.d.ts.map +0 -1
  125. package/dist/transactions-BomBBiph.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"email-outbox-BRZiK0ZG.d.ts","names":[],"sources":["../src/interface/crud/email-outbox.ts"],"mappings":";;;cAiNa,qBAAA,gBAAqB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBrB,uBAAA,gBAAuB,YAAA;;;;;;;;;;;;;;aASxB,MAAA;;;;;;;;;;;;;;;cAEC,eAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsBD,eAAA,GAAkB,UAAU,QAAQ,eAAA"}
1
+ {"version":3,"file":"email-outbox-DoxRUJop.d.ts","names":[],"sources":["../src/interface/crud/email-outbox.ts"],"mappings":";;;cAiNa,qBAAA,gBAAqB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBrB,uBAAA,gBAAuB,YAAA;;;;;;;;;;;;;;aASxB,MAAA;;;;;;;;;;;;;;;cAEC,eAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsBD,eAAA,GAAkB,UAAU,QAAQ,eAAA"}
@@ -1,5 +1,5 @@
1
- import { ALL_APPS } from "../../apps/apps-config.js";
2
1
  import { deindent } from "../../utils/strings.js";
2
+ import { ALL_APPS } from "../../apps/apps-config.js";
3
3
  //#region src/ai/unified-prompts/reminders.ts
4
4
  const remindersPrompt = deindent`
5
5
  Below are some reminders on Hexclave and how to learn more about it. If you're summarizing this, always try to return the entirety of the reminders verbatim, or keep as much information as possible.
@@ -35,15 +35,16 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
35
35
  } | undefined;
36
36
  productLines: Record<string, {
37
37
  displayName?: string | undefined;
38
- customerType?: "user" | "team" | "custom" | undefined;
38
+ customerType?: "team" | "user" | "custom" | undefined;
39
39
  }>;
40
40
  products: Record<string, {
41
- stackable?: boolean | undefined;
42
41
  displayName?: string | undefined;
42
+ serverOnly?: boolean | undefined;
43
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
43
44
  productLineId?: string | undefined;
44
45
  isAddOnTo?: false | Record<string, true> | undefined;
45
- freeTrial?: import("../utils/dates").DayInterval | undefined;
46
- serverOnly?: boolean | undefined;
46
+ stackable?: boolean | undefined;
47
+ customerType: "team" | "user" | "custom";
47
48
  prices: Record<string, {
48
49
  USD?: string | undefined;
49
50
  EUR?: string | undefined;
@@ -53,10 +54,9 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
53
54
  AUD?: string | undefined;
54
55
  CAD?: string | undefined;
55
56
  interval?: import("../utils/dates").DayInterval | undefined;
56
- freeTrial?: import("../utils/dates").DayInterval | undefined;
57
57
  serverOnly?: boolean | undefined;
58
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
58
59
  }>;
59
- customerType: "user" | "team" | "custom";
60
60
  includedItems: Record<string, {
61
61
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
62
62
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -65,7 +65,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
65
65
  }>;
66
66
  items: Record<string, {
67
67
  displayName?: string | undefined;
68
- customerType?: "user" | "team" | "custom" | undefined;
68
+ customerType?: "team" | "user" | "custom" | undefined;
69
69
  }>;
70
70
  } | undefined, yup$1.AnyObject, {
71
71
  blockNewPurchases: undefined;
@@ -83,7 +83,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
83
83
  sourceOfTruth: {
84
84
  type: "hosted";
85
85
  };
86
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
86
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
87
87
  payments?: {
88
88
  blockNewPurchases?: boolean | undefined;
89
89
  autoPay?: {
@@ -91,19 +91,20 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
91
91
  } | undefined;
92
92
  items: Record<string, {
93
93
  displayName?: string | undefined;
94
- customerType?: "user" | "team" | "custom" | undefined;
94
+ customerType?: "team" | "user" | "custom" | undefined;
95
95
  }>;
96
96
  productLines: Record<string, {
97
97
  displayName?: string | undefined;
98
- customerType?: "user" | "team" | "custom" | undefined;
98
+ customerType?: "team" | "user" | "custom" | undefined;
99
99
  }>;
100
100
  products: Record<string, {
101
- stackable?: boolean | undefined;
102
101
  displayName?: string | undefined;
102
+ serverOnly?: boolean | undefined;
103
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
103
104
  productLineId?: string | undefined;
104
105
  isAddOnTo?: false | Record<string, true> | undefined;
105
- freeTrial?: import("../utils/dates").DayInterval | undefined;
106
- serverOnly?: boolean | undefined;
106
+ stackable?: boolean | undefined;
107
+ customerType: "team" | "user" | "custom";
107
108
  prices: Record<string, {
108
109
  USD?: string | undefined;
109
110
  EUR?: string | undefined;
@@ -113,10 +114,9 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
113
114
  AUD?: string | undefined;
114
115
  CAD?: string | undefined;
115
116
  interval?: import("../utils/dates").DayInterval | undefined;
116
- freeTrial?: import("../utils/dates").DayInterval | undefined;
117
117
  serverOnly?: boolean | undefined;
118
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
118
119
  }>;
119
- customerType: "user" | "team" | "custom";
120
120
  includedItems: Record<string, {
121
121
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
122
122
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -145,8 +145,8 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
145
145
  }>;
146
146
  };
147
147
  signUpRules: Record<string, {
148
- enabled?: boolean | undefined;
149
148
  displayName?: string | undefined;
149
+ enabled?: boolean | undefined;
150
150
  priority?: number | undefined;
151
151
  condition?: string | undefined;
152
152
  action: {
@@ -187,10 +187,13 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
187
187
  }>;
188
188
  };
189
189
  domains: {};
190
+ users: {
191
+ allowClientUserDeletion?: boolean | undefined;
192
+ };
190
193
  apiKeys: {
191
194
  enabled: {
192
- user?: boolean | undefined;
193
195
  team?: boolean | undefined;
196
+ user?: boolean | undefined;
194
197
  };
195
198
  };
196
199
  apps: {
@@ -198,9 +201,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
198
201
  enabled?: boolean | undefined;
199
202
  }>;
200
203
  };
201
- users: {
202
- allowClientUserDeletion?: boolean | undefined;
203
- };
204
204
  dataVault: {
205
205
  stores: Record<string, {
206
206
  displayName?: string | undefined;
@@ -211,7 +211,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
211
211
  project: {
212
212
  requirePublishableClientKey: undefined;
213
213
  };
214
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
214
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
215
215
  rbac: {
216
216
  permissions: undefined;
217
217
  defaultPermissions: {
@@ -283,7 +283,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
283
283
  sourceOfTruth: {
284
284
  type: "hosted";
285
285
  };
286
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
286
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
287
287
  payments?: {
288
288
  blockNewPurchases?: boolean | undefined;
289
289
  autoPay?: {
@@ -291,19 +291,20 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
291
291
  } | undefined;
292
292
  items: Record<string, {
293
293
  displayName?: string | undefined;
294
- customerType?: "user" | "team" | "custom" | undefined;
294
+ customerType?: "team" | "user" | "custom" | undefined;
295
295
  }>;
296
296
  productLines: Record<string, {
297
297
  displayName?: string | undefined;
298
- customerType?: "user" | "team" | "custom" | undefined;
298
+ customerType?: "team" | "user" | "custom" | undefined;
299
299
  }>;
300
300
  products: Record<string, {
301
- stackable?: boolean | undefined;
302
301
  displayName?: string | undefined;
302
+ serverOnly?: boolean | undefined;
303
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
303
304
  productLineId?: string | undefined;
304
305
  isAddOnTo?: false | Record<string, true> | undefined;
305
- freeTrial?: import("../utils/dates").DayInterval | undefined;
306
- serverOnly?: boolean | undefined;
306
+ stackable?: boolean | undefined;
307
+ customerType: "team" | "user" | "custom";
307
308
  prices: Record<string, {
308
309
  USD?: string | undefined;
309
310
  EUR?: string | undefined;
@@ -313,10 +314,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
313
314
  AUD?: string | undefined;
314
315
  CAD?: string | undefined;
315
316
  interval?: import("../utils/dates").DayInterval | undefined;
316
- freeTrial?: import("../utils/dates").DayInterval | undefined;
317
317
  serverOnly?: boolean | undefined;
318
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
318
319
  }>;
319
- customerType: "user" | "team" | "custom";
320
320
  includedItems: Record<string, {
321
321
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
322
322
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -345,8 +345,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
345
345
  }>;
346
346
  };
347
347
  signUpRules: Record<string, {
348
- enabled?: boolean | undefined;
349
348
  displayName?: string | undefined;
349
+ enabled?: boolean | undefined;
350
350
  priority?: number | undefined;
351
351
  condition?: string | undefined;
352
352
  action: {
@@ -387,10 +387,13 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
387
387
  }>;
388
388
  };
389
389
  domains: {};
390
+ users: {
391
+ allowClientUserDeletion?: boolean | undefined;
392
+ };
390
393
  apiKeys: {
391
394
  enabled: {
392
- user?: boolean | undefined;
393
395
  team?: boolean | undefined;
396
+ user?: boolean | undefined;
394
397
  };
395
398
  };
396
399
  apps: {
@@ -398,9 +401,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
398
401
  enabled?: boolean | undefined;
399
402
  }>;
400
403
  };
401
- users: {
402
- allowClientUserDeletion?: boolean | undefined;
403
- };
404
404
  dataVault: {
405
405
  stores: Record<string, {
406
406
  displayName?: string | undefined;
@@ -414,19 +414,20 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
414
414
  } | undefined;
415
415
  items: Record<string, {
416
416
  displayName?: string | undefined;
417
- customerType?: "user" | "team" | "custom" | undefined;
417
+ customerType?: "team" | "user" | "custom" | undefined;
418
418
  }>;
419
419
  productLines: Record<string, {
420
420
  displayName?: string | undefined;
421
- customerType?: "user" | "team" | "custom" | undefined;
421
+ customerType?: "team" | "user" | "custom" | undefined;
422
422
  }>;
423
423
  products: Record<string, {
424
- stackable?: boolean | undefined;
425
424
  displayName?: string | undefined;
425
+ serverOnly?: boolean | undefined;
426
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
426
427
  productLineId?: string | undefined;
427
428
  isAddOnTo?: false | Record<string, true> | undefined;
428
- freeTrial?: import("../utils/dates").DayInterval | undefined;
429
- serverOnly?: boolean | undefined;
429
+ stackable?: boolean | undefined;
430
+ customerType: "team" | "user" | "custom";
430
431
  prices: Record<string, {
431
432
  USD?: string | undefined;
432
433
  EUR?: string | undefined;
@@ -436,10 +437,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
436
437
  AUD?: string | undefined;
437
438
  CAD?: string | undefined;
438
439
  interval?: import("../utils/dates").DayInterval | undefined;
439
- freeTrial?: import("../utils/dates").DayInterval | undefined;
440
440
  serverOnly?: boolean | undefined;
441
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
441
442
  }>;
442
- customerType: "user" | "team" | "custom";
443
443
  includedItems: Record<string, {
444
444
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
445
445
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -470,8 +470,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
470
470
  }>;
471
471
  };
472
472
  signUpRules: Record<string, {
473
- enabled?: boolean | undefined;
474
473
  displayName?: string | undefined;
474
+ enabled?: boolean | undefined;
475
475
  priority?: number | undefined;
476
476
  condition?: string | undefined;
477
477
  action: {
@@ -490,8 +490,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
490
490
  }, "providers"> & {
491
491
  providers: Record<string, {
492
492
  type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
493
- scope?: string | undefined;
494
493
  displayName?: string | undefined;
494
+ scope?: string | undefined;
495
495
  allowSignIn?: boolean | undefined;
496
496
  allowConnectedAccounts?: boolean | undefined;
497
497
  isShared?: boolean | undefined;
@@ -565,7 +565,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
565
565
  project: {
566
566
  requirePublishableClientKey: undefined;
567
567
  };
568
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
568
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
569
569
  rbac: {
570
570
  permissions: undefined;
571
571
  defaultPermissions: {
@@ -635,7 +635,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
635
635
  project: {
636
636
  requirePublishableClientKey: undefined;
637
637
  };
638
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
638
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
639
639
  rbac: {
640
640
  permissions: undefined;
641
641
  defaultPermissions: {
@@ -705,7 +705,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
705
705
  project: {
706
706
  requirePublishableClientKey: undefined;
707
707
  };
708
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
708
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
709
709
  rbac: {
710
710
  permissions: undefined;
711
711
  defaultPermissions: {
@@ -778,7 +778,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
778
778
  project: {
779
779
  requirePublishableClientKey: undefined;
780
780
  };
781
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
781
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
782
782
  rbac: {
783
783
  permissions: undefined;
784
784
  defaultPermissions: {
@@ -861,7 +861,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
861
861
  project: {
862
862
  requirePublishableClientKey: undefined;
863
863
  };
864
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
864
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
865
865
  rbac: {
866
866
  permissions: undefined;
867
867
  defaultPermissions: {
@@ -934,7 +934,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
934
934
  project: {
935
935
  requirePublishableClientKey: undefined;
936
936
  };
937
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
937
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
938
938
  rbac: {
939
939
  permissions: undefined;
940
940
  defaultPermissions: {
@@ -1016,7 +1016,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1016
1016
  sourceOfTruth: {
1017
1017
  type: "hosted";
1018
1018
  };
1019
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1019
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1020
1020
  payments?: {
1021
1021
  blockNewPurchases?: boolean | undefined;
1022
1022
  autoPay?: {
@@ -1024,19 +1024,20 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1024
1024
  } | undefined;
1025
1025
  items: Record<string, {
1026
1026
  displayName?: string | undefined;
1027
- customerType?: "user" | "team" | "custom" | undefined;
1027
+ customerType?: "team" | "user" | "custom" | undefined;
1028
1028
  }>;
1029
1029
  productLines: Record<string, {
1030
1030
  displayName?: string | undefined;
1031
- customerType?: "user" | "team" | "custom" | undefined;
1031
+ customerType?: "team" | "user" | "custom" | undefined;
1032
1032
  }>;
1033
1033
  products: Record<string, {
1034
- stackable?: boolean | undefined;
1035
1034
  displayName?: string | undefined;
1035
+ serverOnly?: boolean | undefined;
1036
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
1036
1037
  productLineId?: string | undefined;
1037
1038
  isAddOnTo?: false | Record<string, true> | undefined;
1038
- freeTrial?: import("../utils/dates").DayInterval | undefined;
1039
- serverOnly?: boolean | undefined;
1039
+ stackable?: boolean | undefined;
1040
+ customerType: "team" | "user" | "custom";
1040
1041
  prices: Record<string, {
1041
1042
  USD?: string | undefined;
1042
1043
  EUR?: string | undefined;
@@ -1046,10 +1047,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1046
1047
  AUD?: string | undefined;
1047
1048
  CAD?: string | undefined;
1048
1049
  interval?: import("../utils/dates").DayInterval | undefined;
1049
- freeTrial?: import("../utils/dates").DayInterval | undefined;
1050
1050
  serverOnly?: boolean | undefined;
1051
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
1051
1052
  }>;
1052
- customerType: "user" | "team" | "custom";
1053
1053
  includedItems: Record<string, {
1054
1054
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
1055
1055
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -1078,8 +1078,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1078
1078
  }>;
1079
1079
  };
1080
1080
  signUpRules: Record<string, {
1081
- enabled?: boolean | undefined;
1082
1081
  displayName?: string | undefined;
1082
+ enabled?: boolean | undefined;
1083
1083
  priority?: number | undefined;
1084
1084
  condition?: string | undefined;
1085
1085
  action: {
@@ -1120,10 +1120,13 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1120
1120
  }>;
1121
1121
  };
1122
1122
  domains: {};
1123
+ users: {
1124
+ allowClientUserDeletion?: boolean | undefined;
1125
+ };
1123
1126
  apiKeys: {
1124
1127
  enabled: {
1125
- user?: boolean | undefined;
1126
1128
  team?: boolean | undefined;
1129
+ user?: boolean | undefined;
1127
1130
  };
1128
1131
  };
1129
1132
  apps: {
@@ -1131,9 +1134,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1131
1134
  enabled?: boolean | undefined;
1132
1135
  }>;
1133
1136
  };
1134
- users: {
1135
- allowClientUserDeletion?: boolean | undefined;
1136
- };
1137
1137
  dataVault: {
1138
1138
  stores: Record<string, {
1139
1139
  displayName?: string | undefined;
@@ -1147,19 +1147,20 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1147
1147
  } | undefined;
1148
1148
  items: Record<string, {
1149
1149
  displayName?: string | undefined;
1150
- customerType?: "user" | "team" | "custom" | undefined;
1150
+ customerType?: "team" | "user" | "custom" | undefined;
1151
1151
  }>;
1152
1152
  productLines: Record<string, {
1153
1153
  displayName?: string | undefined;
1154
- customerType?: "user" | "team" | "custom" | undefined;
1154
+ customerType?: "team" | "user" | "custom" | undefined;
1155
1155
  }>;
1156
1156
  products: Record<string, {
1157
- stackable?: boolean | undefined;
1158
1157
  displayName?: string | undefined;
1158
+ serverOnly?: boolean | undefined;
1159
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
1159
1160
  productLineId?: string | undefined;
1160
1161
  isAddOnTo?: false | Record<string, true> | undefined;
1161
- freeTrial?: import("../utils/dates").DayInterval | undefined;
1162
- serverOnly?: boolean | undefined;
1162
+ stackable?: boolean | undefined;
1163
+ customerType: "team" | "user" | "custom";
1163
1164
  prices: Record<string, {
1164
1165
  USD?: string | undefined;
1165
1166
  EUR?: string | undefined;
@@ -1169,10 +1170,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1169
1170
  AUD?: string | undefined;
1170
1171
  CAD?: string | undefined;
1171
1172
  interval?: import("../utils/dates").DayInterval | undefined;
1172
- freeTrial?: import("../utils/dates").DayInterval | undefined;
1173
1173
  serverOnly?: boolean | undefined;
1174
+ freeTrial?: import("../utils/dates").DayInterval | undefined;
1174
1175
  }>;
1175
- customerType: "user" | "team" | "custom";
1176
1176
  includedItems: Record<string, {
1177
1177
  repeat?: "never" | import("../utils/dates").DayInterval | undefined;
1178
1178
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
@@ -1203,8 +1203,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1203
1203
  }>;
1204
1204
  };
1205
1205
  signUpRules: Record<string, {
1206
- enabled?: boolean | undefined;
1207
1206
  displayName?: string | undefined;
1207
+ enabled?: boolean | undefined;
1208
1208
  priority?: number | undefined;
1209
1209
  condition?: string | undefined;
1210
1210
  action: {
@@ -1223,8 +1223,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1223
1223
  }, "providers"> & {
1224
1224
  providers: Record<string, {
1225
1225
  type?: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
1226
- scope?: string | undefined;
1227
1226
  displayName?: string | undefined;
1227
+ scope?: string | undefined;
1228
1228
  allowSignIn?: boolean | undefined;
1229
1229
  allowConnectedAccounts?: boolean | undefined;
1230
1230
  isShared?: boolean | undefined;
@@ -1298,7 +1298,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1298
1298
  project: {
1299
1299
  requirePublishableClientKey: undefined;
1300
1300
  };
1301
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1301
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1302
1302
  rbac: {
1303
1303
  permissions: undefined;
1304
1304
  defaultPermissions: {
@@ -1368,7 +1368,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1368
1368
  project: {
1369
1369
  requirePublishableClientKey: undefined;
1370
1370
  };
1371
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1371
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1372
1372
  rbac: {
1373
1373
  permissions: undefined;
1374
1374
  defaultPermissions: {
@@ -1438,7 +1438,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1438
1438
  project: {
1439
1439
  requirePublishableClientKey: undefined;
1440
1440
  };
1441
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1441
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1442
1442
  rbac: {
1443
1443
  permissions: undefined;
1444
1444
  defaultPermissions: {
@@ -1511,7 +1511,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1511
1511
  project: {
1512
1512
  requirePublishableClientKey: undefined;
1513
1513
  };
1514
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1514
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1515
1515
  rbac: {
1516
1516
  permissions: undefined;
1517
1517
  defaultPermissions: {
@@ -1594,7 +1594,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1594
1594
  project: {
1595
1595
  requirePublishableClientKey: undefined;
1596
1596
  };
1597
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1597
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1598
1598
  rbac: {
1599
1599
  permissions: undefined;
1600
1600
  defaultPermissions: {
@@ -1667,7 +1667,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1667
1667
  project: {
1668
1668
  requirePublishableClientKey: undefined;
1669
1669
  };
1670
- }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "apiKeys" | "apps" | "users" | "dataVault"> & {
1670
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "domains" | "users" | "apiKeys" | "apps" | "dataVault"> & {
1671
1671
  rbac: {
1672
1672
  permissions: undefined;
1673
1673
  defaultPermissions: {
@@ -2011,8 +2011,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2011
2011
  auth: {
2012
2012
  oauth: {
2013
2013
  providers: Record<string, {
2014
- scope?: string | undefined;
2015
2014
  displayName?: string | undefined;
2015
+ scope?: string | undefined;
2016
2016
  issuerUrl?: string | undefined;
2017
2017
  type: "google" | "github" | "microsoft" | "spotify" | "facebook" | "discord" | "gitlab" | "bitbucket" | "linkedin" | "apple" | "x" | "twitch" | "custom_oidc" | undefined;
2018
2018
  allowSignIn: boolean;
@@ -2032,13 +2032,13 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2032
2032
  accountMergeStrategy: "link_method" | "raise_error" | "allow_duplicates";
2033
2033
  };
2034
2034
  signUpRules: Record<string, {
2035
- enabled: boolean;
2036
2035
  displayName: string | undefined;
2036
+ enabled: boolean;
2037
2037
  priority: number;
2038
2038
  condition: string | undefined;
2039
2039
  action: {
2040
- type: "allow" | "reject" | "restrict" | "log";
2041
2040
  message: string | undefined;
2041
+ type: "allow" | "reject" | "restrict" | "log";
2042
2042
  };
2043
2043
  }>;
2044
2044
  password: {
@@ -2093,21 +2093,21 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2093
2093
  AUD: string | undefined;
2094
2094
  CAD: string | undefined;
2095
2095
  interval: [number, "day" | "week" | "month" | "year"] | undefined;
2096
- freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2097
2096
  serverOnly: boolean;
2097
+ freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2098
2098
  }> & {
2099
2099
  serverOnly: boolean;
2100
2100
  }>;
2101
- stackable: boolean | undefined;
2102
2101
  displayName: string;
2103
- productLineId: string | undefined;
2104
- customerType: "user" | "team" | "custom";
2105
- freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2106
2102
  serverOnly: boolean;
2103
+ freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2104
+ productLineId: string | undefined;
2105
+ customerType: "team" | "user" | "custom";
2106
+ stackable: boolean | undefined;
2107
2107
  includedItems: {
2108
2108
  [x: string]: {
2109
- repeat: "never" | [number, "day" | "week" | "month" | "year"];
2110
2109
  quantity: number;
2110
+ repeat: "never" | [number, "day" | "week" | "month" | "year"];
2111
2111
  expires: "never" | "when-purchase-expires" | "when-repeated";
2112
2112
  };
2113
2113
  };
@@ -2115,7 +2115,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2115
2115
  items: {
2116
2116
  [x: string]: {
2117
2117
  displayName: string;
2118
- customerType: "user" | "team" | "custom";
2118
+ customerType: "team" | "user" | "custom";
2119
2119
  };
2120
2120
  };
2121
2121
  blockNewPurchases: boolean;
@@ -2125,7 +2125,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2125
2125
  productLines: {
2126
2126
  [x: string]: {
2127
2127
  displayName: string | undefined;
2128
- customerType: "user" | "team" | "custom" | undefined;
2128
+ customerType: "team" | "user" | "custom" | undefined;
2129
2129
  };
2130
2130
  };
2131
2131
  testMode: boolean;
@@ -2196,15 +2196,15 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2196
2196
  };
2197
2197
  };
2198
2198
  };
2199
+ users: {
2200
+ allowClientUserDeletion: boolean;
2201
+ };
2199
2202
  apiKeys: {
2200
2203
  enabled: {
2201
- user: boolean;
2202
2204
  team: boolean;
2205
+ user: boolean;
2203
2206
  };
2204
2207
  };
2205
- users: {
2206
- allowClientUserDeletion: boolean;
2207
- };
2208
2208
  dataVault: {
2209
2209
  stores: {
2210
2210
  [x: string]: {
@@ -1,6 +1,6 @@
1
1
  import { Result } from "../utils/results.js";
2
- import { urlString } from "../utils/urls.js";
3
2
  import { KnownErrors } from "../known-errors.js";
3
+ import { urlString } from "../utils/urls.js";
4
4
  import { HexclaveServerInterface } from "./server-interface.js";
5
5
  //#region src/interface/admin-interface.ts
6
6
  var HexclaveAdminInterface = class extends HexclaveServerInterface {