@hexclave/shared 1.0.33 → 1.0.34

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.
@@ -35,7 +35,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
35
35
  interval?: ___utils_dates0.DayInterval | undefined;
36
36
  } | undefined;
37
37
  productLines: Record<string, {
38
- customerType?: "team" | "user" | "custom" | undefined;
38
+ customerType?: "user" | "team" | "custom" | undefined;
39
39
  displayName?: string | undefined;
40
40
  }>;
41
41
  products: Record<string, {
@@ -45,7 +45,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
45
45
  freeTrial?: ___utils_dates0.DayInterval | undefined;
46
46
  serverOnly?: boolean | undefined;
47
47
  stackable?: boolean | undefined;
48
- customerType: "team" | "user" | "custom";
48
+ customerType: "user" | "team" | "custom";
49
49
  prices: Record<string, {
50
50
  interval?: ___utils_dates0.DayInterval | undefined;
51
51
  freeTrial?: ___utils_dates0.DayInterval | undefined;
@@ -65,7 +65,7 @@ declare const branchPaymentsSchema: yup$1.ObjectSchema<{
65
65
  }>;
66
66
  }>;
67
67
  items: Record<string, {
68
- customerType?: "team" | "user" | "custom" | undefined;
68
+ customerType?: "user" | "team" | "custom" | undefined;
69
69
  displayName?: string | undefined;
70
70
  }>;
71
71
  } | undefined, yup$1.AnyObject, {
@@ -84,18 +84,18 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
84
84
  sourceOfTruth: {
85
85
  type: "hosted";
86
86
  };
87
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
87
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
88
88
  payments?: {
89
89
  blockNewPurchases?: boolean | undefined;
90
90
  autoPay?: {
91
91
  interval?: ___utils_dates0.DayInterval | undefined;
92
92
  } | undefined;
93
93
  items: Record<string, {
94
- customerType?: "team" | "user" | "custom" | undefined;
94
+ customerType?: "user" | "team" | "custom" | undefined;
95
95
  displayName?: string | undefined;
96
96
  }>;
97
97
  productLines: Record<string, {
98
- customerType?: "team" | "user" | "custom" | undefined;
98
+ customerType?: "user" | "team" | "custom" | undefined;
99
99
  displayName?: string | undefined;
100
100
  }>;
101
101
  products: Record<string, {
@@ -105,7 +105,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
105
105
  freeTrial?: ___utils_dates0.DayInterval | undefined;
106
106
  serverOnly?: boolean | undefined;
107
107
  stackable?: boolean | undefined;
108
- customerType: "team" | "user" | "custom";
108
+ customerType: "user" | "team" | "custom";
109
109
  prices: Record<string, {
110
110
  interval?: ___utils_dates0.DayInterval | undefined;
111
111
  freeTrial?: ___utils_dates0.DayInterval | undefined;
@@ -125,9 +125,6 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
125
125
  }>;
126
126
  }>;
127
127
  } | undefined;
128
- users: {
129
- allowClientUserDeletion?: boolean | undefined;
130
- };
131
128
  auth: {
132
129
  allowSignUp?: boolean | undefined;
133
130
  signUpRulesDefaultAction?: string | undefined;
@@ -169,7 +166,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
169
166
  rbac: {
170
167
  permissions: Record<string, {
171
168
  description?: string | undefined;
172
- scope?: "team" | "project" | undefined;
169
+ scope?: "project" | "team" | undefined;
173
170
  containedPermissionIds?: Record<string, true | undefined> | undefined;
174
171
  } | undefined>;
175
172
  defaultPermissions: {
@@ -192,8 +189,8 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
192
189
  };
193
190
  apiKeys: {
194
191
  enabled: {
195
- team?: boolean | undefined;
196
192
  user?: boolean | undefined;
193
+ team?: boolean | undefined;
197
194
  };
198
195
  };
199
196
  apps: {
@@ -202,6 +199,9 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
202
199
  }>;
203
200
  };
204
201
  domains: {};
202
+ users: {
203
+ allowClientUserDeletion?: boolean | undefined;
204
+ };
205
205
  dbSync: {
206
206
  externalDatabases: Record<string, {
207
207
  connectionString?: string | undefined;
@@ -218,7 +218,7 @@ declare const branchConfigSchema: yup$1.Schema<Omit<Omit<{
218
218
  project: {
219
219
  requirePublishableClientKey: undefined;
220
220
  };
221
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
221
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
222
222
  rbac: {
223
223
  permissions: undefined;
224
224
  defaultPermissions: {
@@ -293,18 +293,18 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
293
293
  sourceOfTruth: {
294
294
  type: "hosted";
295
295
  };
296
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
296
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
297
297
  payments?: {
298
298
  blockNewPurchases?: boolean | undefined;
299
299
  autoPay?: {
300
300
  interval?: ___utils_dates0.DayInterval | undefined;
301
301
  } | undefined;
302
302
  items: Record<string, {
303
- customerType?: "team" | "user" | "custom" | undefined;
303
+ customerType?: "user" | "team" | "custom" | undefined;
304
304
  displayName?: string | undefined;
305
305
  }>;
306
306
  productLines: Record<string, {
307
- customerType?: "team" | "user" | "custom" | undefined;
307
+ customerType?: "user" | "team" | "custom" | undefined;
308
308
  displayName?: string | undefined;
309
309
  }>;
310
310
  products: Record<string, {
@@ -314,7 +314,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
314
314
  freeTrial?: ___utils_dates0.DayInterval | undefined;
315
315
  serverOnly?: boolean | undefined;
316
316
  stackable?: boolean | undefined;
317
- customerType: "team" | "user" | "custom";
317
+ customerType: "user" | "team" | "custom";
318
318
  prices: Record<string, {
319
319
  interval?: ___utils_dates0.DayInterval | undefined;
320
320
  freeTrial?: ___utils_dates0.DayInterval | undefined;
@@ -334,9 +334,6 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
334
334
  }>;
335
335
  }>;
336
336
  } | undefined;
337
- users: {
338
- allowClientUserDeletion?: boolean | undefined;
339
- };
340
337
  auth: {
341
338
  allowSignUp?: boolean | undefined;
342
339
  signUpRulesDefaultAction?: string | undefined;
@@ -378,7 +375,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
378
375
  rbac: {
379
376
  permissions: Record<string, {
380
377
  description?: string | undefined;
381
- scope?: "team" | "project" | undefined;
378
+ scope?: "project" | "team" | undefined;
382
379
  containedPermissionIds?: Record<string, true | undefined> | undefined;
383
380
  } | undefined>;
384
381
  defaultPermissions: {
@@ -401,8 +398,8 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
401
398
  };
402
399
  apiKeys: {
403
400
  enabled: {
404
- team?: boolean | undefined;
405
401
  user?: boolean | undefined;
402
+ team?: boolean | undefined;
406
403
  };
407
404
  };
408
405
  apps: {
@@ -411,6 +408,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
411
408
  }>;
412
409
  };
413
410
  domains: {};
411
+ users: {
412
+ allowClientUserDeletion?: boolean | undefined;
413
+ };
414
414
  dbSync: {
415
415
  externalDatabases: Record<string, {
416
416
  connectionString?: string | undefined;
@@ -429,11 +429,11 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
429
429
  interval?: ___utils_dates0.DayInterval | undefined;
430
430
  } | undefined;
431
431
  items: Record<string, {
432
- customerType?: "team" | "user" | "custom" | undefined;
432
+ customerType?: "user" | "team" | "custom" | undefined;
433
433
  displayName?: string | undefined;
434
434
  }>;
435
435
  productLines: Record<string, {
436
- customerType?: "team" | "user" | "custom" | undefined;
436
+ customerType?: "user" | "team" | "custom" | undefined;
437
437
  displayName?: string | undefined;
438
438
  }>;
439
439
  products: Record<string, {
@@ -443,7 +443,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
443
443
  freeTrial?: ___utils_dates0.DayInterval | undefined;
444
444
  serverOnly?: boolean | undefined;
445
445
  stackable?: boolean | undefined;
446
- customerType: "team" | "user" | "custom";
446
+ customerType: "user" | "team" | "custom";
447
447
  prices: Record<string, {
448
448
  interval?: ___utils_dates0.DayInterval | undefined;
449
449
  freeTrial?: ___utils_dates0.DayInterval | undefined;
@@ -547,9 +547,9 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
547
547
  }>;
548
548
  }, "server"> & {
549
549
  server: {
550
- provider?: "resend" | "smtp" | "managed" | undefined;
551
550
  password?: string | undefined;
552
551
  isShared?: boolean | undefined;
552
+ provider?: "resend" | "smtp" | "managed" | undefined;
553
553
  host?: string | undefined;
554
554
  port?: number | undefined;
555
555
  username?: string | undefined;
@@ -575,7 +575,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
575
575
  project: {
576
576
  requirePublishableClientKey: undefined;
577
577
  };
578
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
578
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
579
579
  rbac: {
580
580
  permissions: undefined;
581
581
  defaultPermissions: {
@@ -648,7 +648,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
648
648
  project: {
649
649
  requirePublishableClientKey: undefined;
650
650
  };
651
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
651
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
652
652
  rbac: {
653
653
  permissions: undefined;
654
654
  defaultPermissions: {
@@ -721,7 +721,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
721
721
  project: {
722
722
  requirePublishableClientKey: undefined;
723
723
  };
724
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
724
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
725
725
  rbac: {
726
726
  permissions: undefined;
727
727
  defaultPermissions: {
@@ -797,7 +797,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
797
797
  project: {
798
798
  requirePublishableClientKey: undefined;
799
799
  };
800
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
800
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
801
801
  rbac: {
802
802
  permissions: undefined;
803
803
  defaultPermissions: {
@@ -883,7 +883,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
883
883
  project: {
884
884
  requirePublishableClientKey: undefined;
885
885
  };
886
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
886
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
887
887
  rbac: {
888
888
  permissions: undefined;
889
889
  defaultPermissions: {
@@ -959,7 +959,7 @@ declare const environmentConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<Omit<{
959
959
  project: {
960
960
  requirePublishableClientKey: undefined;
961
961
  };
962
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
962
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
963
963
  rbac: {
964
964
  permissions: undefined;
965
965
  defaultPermissions: {
@@ -1041,18 +1041,18 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1041
1041
  sourceOfTruth: {
1042
1042
  type: "hosted";
1043
1043
  };
1044
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1044
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1045
1045
  payments?: {
1046
1046
  blockNewPurchases?: boolean | undefined;
1047
1047
  autoPay?: {
1048
1048
  interval?: ___utils_dates0.DayInterval | undefined;
1049
1049
  } | undefined;
1050
1050
  items: Record<string, {
1051
- customerType?: "team" | "user" | "custom" | undefined;
1051
+ customerType?: "user" | "team" | "custom" | undefined;
1052
1052
  displayName?: string | undefined;
1053
1053
  }>;
1054
1054
  productLines: Record<string, {
1055
- customerType?: "team" | "user" | "custom" | undefined;
1055
+ customerType?: "user" | "team" | "custom" | undefined;
1056
1056
  displayName?: string | undefined;
1057
1057
  }>;
1058
1058
  products: Record<string, {
@@ -1062,7 +1062,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1062
1062
  freeTrial?: ___utils_dates0.DayInterval | undefined;
1063
1063
  serverOnly?: boolean | undefined;
1064
1064
  stackable?: boolean | undefined;
1065
- customerType: "team" | "user" | "custom";
1065
+ customerType: "user" | "team" | "custom";
1066
1066
  prices: Record<string, {
1067
1067
  interval?: ___utils_dates0.DayInterval | undefined;
1068
1068
  freeTrial?: ___utils_dates0.DayInterval | undefined;
@@ -1082,9 +1082,6 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1082
1082
  }>;
1083
1083
  }>;
1084
1084
  } | undefined;
1085
- users: {
1086
- allowClientUserDeletion?: boolean | undefined;
1087
- };
1088
1085
  auth: {
1089
1086
  allowSignUp?: boolean | undefined;
1090
1087
  signUpRulesDefaultAction?: string | undefined;
@@ -1126,7 +1123,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1126
1123
  rbac: {
1127
1124
  permissions: Record<string, {
1128
1125
  description?: string | undefined;
1129
- scope?: "team" | "project" | undefined;
1126
+ scope?: "project" | "team" | undefined;
1130
1127
  containedPermissionIds?: Record<string, true | undefined> | undefined;
1131
1128
  } | undefined>;
1132
1129
  defaultPermissions: {
@@ -1149,8 +1146,8 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1149
1146
  };
1150
1147
  apiKeys: {
1151
1148
  enabled: {
1152
- team?: boolean | undefined;
1153
1149
  user?: boolean | undefined;
1150
+ team?: boolean | undefined;
1154
1151
  };
1155
1152
  };
1156
1153
  apps: {
@@ -1159,6 +1156,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1159
1156
  }>;
1160
1157
  };
1161
1158
  domains: {};
1159
+ users: {
1160
+ allowClientUserDeletion?: boolean | undefined;
1161
+ };
1162
1162
  dbSync: {
1163
1163
  externalDatabases: Record<string, {
1164
1164
  connectionString?: string | undefined;
@@ -1177,11 +1177,11 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1177
1177
  interval?: ___utils_dates0.DayInterval | undefined;
1178
1178
  } | undefined;
1179
1179
  items: Record<string, {
1180
- customerType?: "team" | "user" | "custom" | undefined;
1180
+ customerType?: "user" | "team" | "custom" | undefined;
1181
1181
  displayName?: string | undefined;
1182
1182
  }>;
1183
1183
  productLines: Record<string, {
1184
- customerType?: "team" | "user" | "custom" | undefined;
1184
+ customerType?: "user" | "team" | "custom" | undefined;
1185
1185
  displayName?: string | undefined;
1186
1186
  }>;
1187
1187
  products: Record<string, {
@@ -1191,7 +1191,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1191
1191
  freeTrial?: ___utils_dates0.DayInterval | undefined;
1192
1192
  serverOnly?: boolean | undefined;
1193
1193
  stackable?: boolean | undefined;
1194
- customerType: "team" | "user" | "custom";
1194
+ customerType: "user" | "team" | "custom";
1195
1195
  prices: Record<string, {
1196
1196
  interval?: ___utils_dates0.DayInterval | undefined;
1197
1197
  freeTrial?: ___utils_dates0.DayInterval | undefined;
@@ -1295,9 +1295,9 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1295
1295
  }>;
1296
1296
  }, "server"> & {
1297
1297
  server: {
1298
- provider?: "resend" | "smtp" | "managed" | undefined;
1299
1298
  password?: string | undefined;
1300
1299
  isShared?: boolean | undefined;
1300
+ provider?: "resend" | "smtp" | "managed" | undefined;
1301
1301
  host?: string | undefined;
1302
1302
  port?: number | undefined;
1303
1303
  username?: string | undefined;
@@ -1323,7 +1323,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1323
1323
  project: {
1324
1324
  requirePublishableClientKey: undefined;
1325
1325
  };
1326
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1326
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1327
1327
  rbac: {
1328
1328
  permissions: undefined;
1329
1329
  defaultPermissions: {
@@ -1396,7 +1396,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1396
1396
  project: {
1397
1397
  requirePublishableClientKey: undefined;
1398
1398
  };
1399
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1399
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1400
1400
  rbac: {
1401
1401
  permissions: undefined;
1402
1402
  defaultPermissions: {
@@ -1469,7 +1469,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1469
1469
  project: {
1470
1470
  requirePublishableClientKey: undefined;
1471
1471
  };
1472
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1472
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1473
1473
  rbac: {
1474
1474
  permissions: undefined;
1475
1475
  defaultPermissions: {
@@ -1545,7 +1545,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1545
1545
  project: {
1546
1546
  requirePublishableClientKey: undefined;
1547
1547
  };
1548
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1548
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1549
1549
  rbac: {
1550
1550
  permissions: undefined;
1551
1551
  defaultPermissions: {
@@ -1631,7 +1631,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1631
1631
  project: {
1632
1632
  requirePublishableClientKey: undefined;
1633
1633
  };
1634
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1634
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1635
1635
  rbac: {
1636
1636
  permissions: undefined;
1637
1637
  defaultPermissions: {
@@ -1707,7 +1707,7 @@ declare const organizationConfigSchema: yup$1.Schema<Omit<NonNullable<Omit<NonNu
1707
1707
  project: {
1708
1708
  requirePublishableClientKey: undefined;
1709
1709
  };
1710
- }, string>, "users" | "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "dbSync" | "dataVault"> & {
1710
+ }, string>, "auth" | "onboarding" | "teams" | "rbac" | "payments" | "emails" | "apiKeys" | "apps" | "domains" | "users" | "dbSync" | "dataVault"> & {
1711
1711
  rbac: {
1712
1712
  permissions: undefined;
1713
1713
  defaultPermissions: {
@@ -2077,8 +2077,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2077
2077
  priority: number;
2078
2078
  condition: string | undefined;
2079
2079
  action: {
2080
- type: "allow" | "reject" | "restrict" | "log";
2081
2080
  message: string | undefined;
2081
+ type: "allow" | "reject" | "restrict" | "log";
2082
2082
  };
2083
2083
  }>;
2084
2084
  allowSignUp: boolean;
@@ -2109,9 +2109,9 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2109
2109
  };
2110
2110
  };
2111
2111
  server: {
2112
- provider: "resend" | "smtp" | "managed";
2113
2112
  password: string | undefined;
2114
2113
  isShared: boolean;
2114
+ provider: "resend" | "smtp" | "managed";
2115
2115
  host: string | undefined;
2116
2116
  port: number | undefined;
2117
2117
  username: string | undefined;
@@ -2139,15 +2139,15 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2139
2139
  serverOnly: boolean;
2140
2140
  }>;
2141
2141
  productLineId: string | undefined;
2142
- customerType: "team" | "user" | "custom";
2142
+ customerType: "user" | "team" | "custom";
2143
2143
  displayName: string;
2144
2144
  freeTrial: [number, "day" | "week" | "month" | "year"] | undefined;
2145
2145
  serverOnly: boolean;
2146
2146
  stackable: boolean | undefined;
2147
2147
  includedItems: {
2148
2148
  [x: string]: {
2149
- quantity: number;
2150
2149
  repeat: "never" | [number, "day" | "week" | "month" | "year"];
2150
+ quantity: number;
2151
2151
  expires: "never" | "when-purchase-expires" | "when-repeated";
2152
2152
  };
2153
2153
  };
@@ -2155,7 +2155,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2155
2155
  blockNewPurchases: boolean;
2156
2156
  items: {
2157
2157
  [x: string]: {
2158
- customerType: "team" | "user" | "custom";
2158
+ customerType: "user" | "team" | "custom";
2159
2159
  displayName: string;
2160
2160
  };
2161
2161
  };
@@ -2164,7 +2164,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2164
2164
  } | undefined;
2165
2165
  productLines: {
2166
2166
  [x: string]: {
2167
- customerType: "team" | "user" | "custom" | undefined;
2167
+ customerType: "user" | "team" | "custom" | undefined;
2168
2168
  displayName: string | undefined;
2169
2169
  };
2170
2170
  };
@@ -2183,9 +2183,6 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2183
2183
  } & {
2184
2184
  readonly type: "hosted";
2185
2185
  };
2186
- users: {
2187
- allowClientUserDeletion: boolean;
2188
- };
2189
2186
  analytics: {
2190
2187
  queryFolders: {
2191
2188
  [x: string]: {
@@ -2212,7 +2209,7 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2212
2209
  permissions: {
2213
2210
  [x: string]: {
2214
2211
  description: string | undefined;
2215
- scope: "team" | "project" | undefined;
2212
+ scope: "project" | "team" | undefined;
2216
2213
  containedPermissionIds: {
2217
2214
  [x: string]: true | undefined;
2218
2215
  };
@@ -2232,8 +2229,8 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2232
2229
  };
2233
2230
  apiKeys: {
2234
2231
  enabled: {
2235
- team: boolean;
2236
2232
  user: boolean;
2233
+ team: boolean;
2237
2234
  };
2238
2235
  };
2239
2236
  domains: {
@@ -2245,6 +2242,9 @@ declare function sanitizeOrganizationConfig(config: OrganizationRenderedConfigBe
2245
2242
  };
2246
2243
  };
2247
2244
  };
2245
+ users: {
2246
+ allowClientUserDeletion: boolean;
2247
+ };
2248
2248
  dbSync: {
2249
2249
  externalDatabases: {
2250
2250
  [x: string]: {
@@ -292,16 +292,16 @@ declare const MetricsAnalyticsOverviewSchema: yup.ObjectSchema<{
292
292
  activity: number;
293
293
  }[];
294
294
  top_browsers: {
295
- visitors: number;
296
295
  name: string;
296
+ visitors: number;
297
297
  }[];
298
298
  top_operating_systems: {
299
- visitors: number;
300
299
  name: string;
300
+ visitors: number;
301
301
  }[];
302
302
  top_devices: {
303
- visitors: number;
304
303
  name: string;
304
+ visitors: number;
305
305
  }[];
306
306
  conversion_rate: number | undefined;
307
307
  deltas: {} | undefined;
@@ -398,8 +398,8 @@ declare const AnalyticsClickmapResponseBodySchema: yup.ObjectSchema<{
398
398
  sampling: number;
399
399
  routes: {
400
400
  path: string;
401
- clicks: number;
402
401
  users: number;
402
+ clicks: number;
403
403
  replays: number;
404
404
  }[];
405
405
  users: {
@@ -652,16 +652,16 @@ declare const MetricsResponseBodySchema: yup.ObjectSchema<{
652
652
  activity: number;
653
653
  }[];
654
654
  top_browsers: {
655
- visitors: number;
656
655
  name: string;
656
+ visitors: number;
657
657
  }[];
658
658
  top_operating_systems: {
659
- visitors: number;
660
659
  name: string;
660
+ visitors: number;
661
661
  }[];
662
662
  top_devices: {
663
- visitors: number;
664
663
  name: string;
664
+ visitors: number;
665
665
  }[];
666
666
  };
667
667
  }, yup.AnyObject, {