@llmops/core 0.2.0-beta.1 → 0.2.0-beta.2
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.
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as SCHEMA_METADATA, B as WorkspaceSettings, C as EnvironmentSecretsTable, D as LLMRequestsTable, E as LLMRequest, F as Updateable, G as environmentsSchema, H as configVariantsSchema, I as Variant, J as schemas, K as llmRequestsSchema, L as VariantVersion, M as TableName, N as TargetingRule, O as ProviderConfig, P as TargetingRulesTable, Q as workspaceSettingsSchema, R as VariantVersionsTable, S as EnvironmentSecret, T as Insertable, U as configsSchema, V as WorkspaceSettingsTable, W as environmentSecretsSchema, X as variantVersionsSchema, Y as targetingRulesSchema, Z as variantsSchema, _ as ConfigVariant, a as createDatabaseFromConnection, b as Database, c as MigrationResult, d as runAutoMigrations, f as parsePartialTableData, g as Config, h as validateTableData, i as createDatabase, j as Selectable, k as ProviderConfigsTable, l as getMigrations, m as validatePartialTableData, n as DatabaseOptions, o as detectDatabaseType, p as parseTableData, q as providerConfigsSchema, r as DatabaseType, s as MigrationOptions, t as DatabaseConnection, u as matchType, v as ConfigVariantsTable, w as EnvironmentsTable, x as Environment, y as ConfigsTable, z as VariantsTable } from "./index-
|
|
1
|
+
import { A as SCHEMA_METADATA, B as WorkspaceSettings, C as EnvironmentSecretsTable, D as LLMRequestsTable, E as LLMRequest, F as Updateable, G as environmentsSchema, H as configVariantsSchema, I as Variant, J as schemas, K as llmRequestsSchema, L as VariantVersion, M as TableName, N as TargetingRule, O as ProviderConfig, P as TargetingRulesTable, Q as workspaceSettingsSchema, R as VariantVersionsTable, S as EnvironmentSecret, T as Insertable, U as configsSchema, V as WorkspaceSettingsTable, W as environmentSecretsSchema, X as variantVersionsSchema, Y as targetingRulesSchema, Z as variantsSchema, _ as ConfigVariant, a as createDatabaseFromConnection, b as Database, c as MigrationResult, d as runAutoMigrations, f as parsePartialTableData, g as Config, h as validateTableData, i as createDatabase, j as Selectable, k as ProviderConfigsTable, l as getMigrations, m as validatePartialTableData, n as DatabaseOptions, o as detectDatabaseType, p as parseTableData, q as providerConfigsSchema, r as DatabaseType, s as MigrationOptions, t as DatabaseConnection, u as matchType, v as ConfigVariantsTable, w as EnvironmentsTable, x as Environment, y as ConfigsTable, z as VariantsTable } from "./index-CV79zoS6.cjs";
|
|
2
2
|
import { Kysely } from "kysely";
|
|
3
|
-
import * as
|
|
3
|
+
import * as zod33 from "zod";
|
|
4
4
|
import z$1, { z } from "zod";
|
|
5
5
|
import gateway from "@llmops/gateway";
|
|
6
6
|
import pino from "pino";
|
|
@@ -1116,10 +1116,10 @@ declare const costSummarySchema: z$1.ZodObject<{
|
|
|
1116
1116
|
tags: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodArray<z$1.ZodString>>>;
|
|
1117
1117
|
groupBy: z$1.ZodOptional<z$1.ZodEnum<{
|
|
1118
1118
|
provider: "provider";
|
|
1119
|
-
config: "config";
|
|
1120
1119
|
model: "model";
|
|
1121
1120
|
day: "day";
|
|
1122
1121
|
hour: "hour";
|
|
1122
|
+
config: "config";
|
|
1123
1123
|
}>>;
|
|
1124
1124
|
}, z$1.core.$strip>;
|
|
1125
1125
|
declare const createLLMRequestsDataLayer: (db: Kysely<Database>) => {
|
|
@@ -1134,13 +1134,11 @@ declare const createLLMRequestsDataLayer: (db: Kysely<Database>) => {
|
|
|
1134
1134
|
* Insert a single LLM request log
|
|
1135
1135
|
*/
|
|
1136
1136
|
insertRequest: (request: LLMRequestInsert) => Promise<{
|
|
1137
|
-
|
|
1138
|
-
createdAt: Date;
|
|
1139
|
-
updatedAt: Date;
|
|
1137
|
+
configId: string | null;
|
|
1140
1138
|
variantId: string | null;
|
|
1139
|
+
id: string;
|
|
1141
1140
|
provider: string;
|
|
1142
1141
|
environmentId: string | null;
|
|
1143
|
-
configId: string | null;
|
|
1144
1142
|
requestId: string;
|
|
1145
1143
|
model: string;
|
|
1146
1144
|
promptTokens: number;
|
|
@@ -1156,6 +1154,8 @@ declare const createLLMRequestsDataLayer: (db: Kysely<Database>) => {
|
|
|
1156
1154
|
isStreaming: boolean;
|
|
1157
1155
|
userId: string | null;
|
|
1158
1156
|
tags: Record<string, string>;
|
|
1157
|
+
createdAt: Date;
|
|
1158
|
+
updatedAt: Date;
|
|
1159
1159
|
} | undefined>;
|
|
1160
1160
|
/**
|
|
1161
1161
|
* List LLM requests with filtering and pagination
|
|
@@ -1163,13 +1163,11 @@ declare const createLLMRequestsDataLayer: (db: Kysely<Database>) => {
|
|
|
1163
1163
|
*/
|
|
1164
1164
|
listRequests: (params?: z$1.infer<typeof listRequestsSchema>) => Promise<{
|
|
1165
1165
|
data: {
|
|
1166
|
-
|
|
1167
|
-
createdAt: Date;
|
|
1168
|
-
updatedAt: Date;
|
|
1166
|
+
configId: string | null;
|
|
1169
1167
|
variantId: string | null;
|
|
1168
|
+
id: string;
|
|
1170
1169
|
provider: string;
|
|
1171
1170
|
environmentId: string | null;
|
|
1172
|
-
configId: string | null;
|
|
1173
1171
|
requestId: string;
|
|
1174
1172
|
model: string;
|
|
1175
1173
|
promptTokens: number;
|
|
@@ -1185,6 +1183,8 @@ declare const createLLMRequestsDataLayer: (db: Kysely<Database>) => {
|
|
|
1185
1183
|
isStreaming: boolean;
|
|
1186
1184
|
userId: string | null;
|
|
1187
1185
|
tags: Record<string, string>;
|
|
1186
|
+
createdAt: Date;
|
|
1187
|
+
updatedAt: Date;
|
|
1188
1188
|
}[];
|
|
1189
1189
|
total: number;
|
|
1190
1190
|
limit: number;
|
|
@@ -1194,13 +1194,11 @@ declare const createLLMRequestsDataLayer: (db: Kysely<Database>) => {
|
|
|
1194
1194
|
* Get a single request by requestId
|
|
1195
1195
|
*/
|
|
1196
1196
|
getRequestByRequestId: (requestId: string) => Promise<{
|
|
1197
|
-
|
|
1198
|
-
createdAt: Date;
|
|
1199
|
-
updatedAt: Date;
|
|
1197
|
+
configId: string | null;
|
|
1200
1198
|
variantId: string | null;
|
|
1199
|
+
id: string;
|
|
1201
1200
|
provider: string;
|
|
1202
1201
|
environmentId: string | null;
|
|
1203
|
-
configId: string | null;
|
|
1204
1202
|
requestId: string;
|
|
1205
1203
|
model: string;
|
|
1206
1204
|
promptTokens: number;
|
|
@@ -1216,6 +1214,8 @@ declare const createLLMRequestsDataLayer: (db: Kysely<Database>) => {
|
|
|
1216
1214
|
isStreaming: boolean;
|
|
1217
1215
|
userId: string | null;
|
|
1218
1216
|
tags: Record<string, string>;
|
|
1217
|
+
createdAt: Date;
|
|
1218
|
+
updatedAt: Date;
|
|
1219
1219
|
} | undefined>;
|
|
1220
1220
|
/**
|
|
1221
1221
|
* Get total cost for a date range with optional filters
|
|
@@ -1321,10 +1321,10 @@ declare const createWorkspaceSettingsDataLayer: (db: Kysely<Database>) => {
|
|
|
1321
1321
|
getWorkspaceSettings: () => Promise<{
|
|
1322
1322
|
name: string | null;
|
|
1323
1323
|
id: string;
|
|
1324
|
-
createdAt: Date;
|
|
1325
|
-
updatedAt: Date;
|
|
1326
1324
|
setupComplete: boolean;
|
|
1327
1325
|
superAdminId: string | null;
|
|
1326
|
+
createdAt: Date;
|
|
1327
|
+
updatedAt: Date;
|
|
1328
1328
|
} | undefined>;
|
|
1329
1329
|
/**
|
|
1330
1330
|
* Update workspace settings
|
|
@@ -1332,10 +1332,10 @@ declare const createWorkspaceSettingsDataLayer: (db: Kysely<Database>) => {
|
|
|
1332
1332
|
updateWorkspaceSettings: (params: z$1.infer<typeof updateWorkspaceSettings>) => Promise<{
|
|
1333
1333
|
name: string | null;
|
|
1334
1334
|
id: string;
|
|
1335
|
-
createdAt: Date;
|
|
1336
|
-
updatedAt: Date;
|
|
1337
1335
|
setupComplete: boolean;
|
|
1338
1336
|
superAdminId: string | null;
|
|
1337
|
+
createdAt: Date;
|
|
1338
|
+
updatedAt: Date;
|
|
1339
1339
|
} | undefined>;
|
|
1340
1340
|
/**
|
|
1341
1341
|
* Get the super admin user ID
|
|
@@ -1355,10 +1355,10 @@ declare const createWorkspaceSettingsDataLayer: (db: Kysely<Database>) => {
|
|
|
1355
1355
|
markSetupComplete: () => Promise<{
|
|
1356
1356
|
name: string | null;
|
|
1357
1357
|
id: string;
|
|
1358
|
-
createdAt: Date;
|
|
1359
|
-
updatedAt: Date;
|
|
1360
1358
|
setupComplete: boolean;
|
|
1361
1359
|
superAdminId: string | null;
|
|
1360
|
+
createdAt: Date;
|
|
1361
|
+
updatedAt: Date;
|
|
1362
1362
|
} | undefined>;
|
|
1363
1363
|
};
|
|
1364
1364
|
//#endregion
|
|
@@ -1389,51 +1389,51 @@ declare const listProviderConfigs: z$1.ZodObject<{
|
|
|
1389
1389
|
declare const createProviderConfigsDataLayer: (db: Kysely<Database>) => {
|
|
1390
1390
|
createProviderConfig: (params: z$1.infer<typeof createProviderConfig>) => Promise<{
|
|
1391
1391
|
id: string;
|
|
1392
|
+
config: Record<string, unknown>;
|
|
1393
|
+
providerId: string;
|
|
1394
|
+
enabled: boolean;
|
|
1392
1395
|
createdAt: Date;
|
|
1393
1396
|
updatedAt: Date;
|
|
1394
|
-
enabled: boolean;
|
|
1395
|
-
providerId: string;
|
|
1396
|
-
config: Record<string, unknown>;
|
|
1397
1397
|
} | undefined>;
|
|
1398
1398
|
updateProviderConfig: (params: z$1.infer<typeof updateProviderConfig>) => Promise<{
|
|
1399
1399
|
id: string;
|
|
1400
|
+
config: Record<string, unknown>;
|
|
1401
|
+
providerId: string;
|
|
1402
|
+
enabled: boolean;
|
|
1400
1403
|
createdAt: Date;
|
|
1401
1404
|
updatedAt: Date;
|
|
1402
|
-
enabled: boolean;
|
|
1403
|
-
providerId: string;
|
|
1404
|
-
config: Record<string, unknown>;
|
|
1405
1405
|
} | undefined>;
|
|
1406
1406
|
getProviderConfigById: (params: z$1.infer<typeof getProviderConfigById>) => Promise<{
|
|
1407
1407
|
id: string;
|
|
1408
|
+
config: Record<string, unknown>;
|
|
1409
|
+
providerId: string;
|
|
1410
|
+
enabled: boolean;
|
|
1408
1411
|
createdAt: Date;
|
|
1409
1412
|
updatedAt: Date;
|
|
1410
|
-
enabled: boolean;
|
|
1411
|
-
providerId: string;
|
|
1412
|
-
config: Record<string, unknown>;
|
|
1413
1413
|
} | undefined>;
|
|
1414
1414
|
getProviderConfigByProviderId: (params: z$1.infer<typeof getProviderConfigByProviderId>) => Promise<{
|
|
1415
1415
|
id: string;
|
|
1416
|
+
config: Record<string, unknown>;
|
|
1417
|
+
providerId: string;
|
|
1418
|
+
enabled: boolean;
|
|
1416
1419
|
createdAt: Date;
|
|
1417
1420
|
updatedAt: Date;
|
|
1418
|
-
enabled: boolean;
|
|
1419
|
-
providerId: string;
|
|
1420
|
-
config: Record<string, unknown>;
|
|
1421
1421
|
} | undefined>;
|
|
1422
1422
|
deleteProviderConfig: (params: z$1.infer<typeof deleteProviderConfig>) => Promise<{
|
|
1423
1423
|
id: string;
|
|
1424
|
+
config: Record<string, unknown>;
|
|
1425
|
+
providerId: string;
|
|
1426
|
+
enabled: boolean;
|
|
1424
1427
|
createdAt: Date;
|
|
1425
1428
|
updatedAt: Date;
|
|
1426
|
-
enabled: boolean;
|
|
1427
|
-
providerId: string;
|
|
1428
|
-
config: Record<string, unknown>;
|
|
1429
1429
|
} | undefined>;
|
|
1430
1430
|
listProviderConfigs: (params?: z$1.infer<typeof listProviderConfigs>) => Promise<{
|
|
1431
1431
|
id: string;
|
|
1432
|
+
config: Record<string, unknown>;
|
|
1433
|
+
providerId: string;
|
|
1434
|
+
enabled: boolean;
|
|
1432
1435
|
createdAt: Date;
|
|
1433
1436
|
updatedAt: Date;
|
|
1434
|
-
enabled: boolean;
|
|
1435
|
-
providerId: string;
|
|
1436
|
-
config: Record<string, unknown>;
|
|
1437
1437
|
}[]>;
|
|
1438
1438
|
countProviderConfigs: () => Promise<number>;
|
|
1439
1439
|
/**
|
|
@@ -1442,11 +1442,11 @@ declare const createProviderConfigsDataLayer: (db: Kysely<Database>) => {
|
|
|
1442
1442
|
*/
|
|
1443
1443
|
upsertProviderConfig: (params: z$1.infer<typeof createProviderConfig>) => Promise<{
|
|
1444
1444
|
id: string;
|
|
1445
|
+
config: Record<string, unknown>;
|
|
1446
|
+
providerId: string;
|
|
1447
|
+
enabled: boolean;
|
|
1445
1448
|
createdAt: Date;
|
|
1446
1449
|
updatedAt: Date;
|
|
1447
|
-
enabled: boolean;
|
|
1448
|
-
providerId: string;
|
|
1449
|
-
config: Record<string, unknown>;
|
|
1450
1450
|
} | undefined>;
|
|
1451
1451
|
};
|
|
1452
1452
|
//#endregion
|
|
@@ -1455,22 +1455,22 @@ declare const createDataLayer: (db: Kysely<Database>) => Promise<{
|
|
|
1455
1455
|
getWorkspaceSettings: () => Promise<{
|
|
1456
1456
|
name: string | null;
|
|
1457
1457
|
id: string;
|
|
1458
|
-
createdAt: Date;
|
|
1459
|
-
updatedAt: Date;
|
|
1460
1458
|
setupComplete: boolean;
|
|
1461
1459
|
superAdminId: string | null;
|
|
1460
|
+
createdAt: Date;
|
|
1461
|
+
updatedAt: Date;
|
|
1462
1462
|
} | undefined>;
|
|
1463
|
-
updateWorkspaceSettings: (params:
|
|
1464
|
-
name:
|
|
1465
|
-
setupComplete:
|
|
1466
|
-
superAdminId:
|
|
1463
|
+
updateWorkspaceSettings: (params: zod33.infer<zod33.ZodObject<{
|
|
1464
|
+
name: zod33.ZodOptional<zod33.ZodNullable<zod33.ZodString>>;
|
|
1465
|
+
setupComplete: zod33.ZodOptional<zod33.ZodBoolean>;
|
|
1466
|
+
superAdminId: zod33.ZodOptional<zod33.ZodNullable<zod33.ZodString>>;
|
|
1467
1467
|
}, better_auth0.$strip>>) => Promise<{
|
|
1468
1468
|
name: string | null;
|
|
1469
1469
|
id: string;
|
|
1470
|
-
createdAt: Date;
|
|
1471
|
-
updatedAt: Date;
|
|
1472
1470
|
setupComplete: boolean;
|
|
1473
1471
|
superAdminId: string | null;
|
|
1472
|
+
createdAt: Date;
|
|
1473
|
+
updatedAt: Date;
|
|
1474
1474
|
} | undefined>;
|
|
1475
1475
|
getSuperAdminId: () => Promise<string | null>;
|
|
1476
1476
|
setSuperAdminId: (userId: string) => Promise<boolean>;
|
|
@@ -1478,508 +1478,506 @@ declare const createDataLayer: (db: Kysely<Database>) => Promise<{
|
|
|
1478
1478
|
markSetupComplete: () => Promise<{
|
|
1479
1479
|
name: string | null;
|
|
1480
1480
|
id: string;
|
|
1481
|
-
createdAt: Date;
|
|
1482
|
-
updatedAt: Date;
|
|
1483
1481
|
setupComplete: boolean;
|
|
1484
1482
|
superAdminId: string | null;
|
|
1483
|
+
createdAt: Date;
|
|
1484
|
+
updatedAt: Date;
|
|
1485
1485
|
} | undefined>;
|
|
1486
|
-
createVariantVersion: (params:
|
|
1487
|
-
variantId:
|
|
1488
|
-
provider:
|
|
1489
|
-
modelName:
|
|
1490
|
-
jsonData:
|
|
1486
|
+
createVariantVersion: (params: zod33.infer<zod33.ZodObject<{
|
|
1487
|
+
variantId: zod33.ZodString;
|
|
1488
|
+
provider: zod33.ZodString;
|
|
1489
|
+
modelName: zod33.ZodString;
|
|
1490
|
+
jsonData: zod33.ZodDefault<zod33.ZodOptional<zod33.ZodRecord<zod33.ZodString, zod33.ZodUnknown>>>;
|
|
1491
1491
|
}, better_auth0.$strip>>) => Promise<{
|
|
1492
1492
|
version: number;
|
|
1493
|
-
id: string;
|
|
1494
|
-
createdAt: Date;
|
|
1495
|
-
updatedAt: Date;
|
|
1496
1493
|
variantId: string;
|
|
1494
|
+
id: string;
|
|
1497
1495
|
provider: string;
|
|
1498
1496
|
modelName: string;
|
|
1499
1497
|
jsonData: Record<string, unknown>;
|
|
1498
|
+
createdAt: Date;
|
|
1499
|
+
updatedAt: Date;
|
|
1500
1500
|
} | undefined>;
|
|
1501
|
-
getVariantVersionById: (params:
|
|
1502
|
-
id:
|
|
1501
|
+
getVariantVersionById: (params: zod33.infer<zod33.ZodObject<{
|
|
1502
|
+
id: zod33.ZodString;
|
|
1503
1503
|
}, better_auth0.$strip>>) => Promise<{
|
|
1504
1504
|
version: number;
|
|
1505
|
-
id: string;
|
|
1506
|
-
createdAt: Date;
|
|
1507
|
-
updatedAt: Date;
|
|
1508
1505
|
variantId: string;
|
|
1506
|
+
id: string;
|
|
1509
1507
|
provider: string;
|
|
1510
1508
|
modelName: string;
|
|
1511
1509
|
jsonData: Record<string, unknown>;
|
|
1510
|
+
createdAt: Date;
|
|
1511
|
+
updatedAt: Date;
|
|
1512
1512
|
} | undefined>;
|
|
1513
|
-
getVariantVersionsByVariantId: (params:
|
|
1514
|
-
variantId:
|
|
1515
|
-
limit:
|
|
1516
|
-
offset:
|
|
1513
|
+
getVariantVersionsByVariantId: (params: zod33.infer<zod33.ZodObject<{
|
|
1514
|
+
variantId: zod33.ZodString;
|
|
1515
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1516
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1517
1517
|
}, better_auth0.$strip>>) => Promise<{
|
|
1518
1518
|
version: number;
|
|
1519
|
-
id: string;
|
|
1520
|
-
createdAt: Date;
|
|
1521
|
-
updatedAt: Date;
|
|
1522
1519
|
variantId: string;
|
|
1520
|
+
id: string;
|
|
1523
1521
|
provider: string;
|
|
1524
1522
|
modelName: string;
|
|
1525
1523
|
jsonData: Record<string, unknown>;
|
|
1524
|
+
createdAt: Date;
|
|
1525
|
+
updatedAt: Date;
|
|
1526
1526
|
}[]>;
|
|
1527
|
-
getLatestVariantVersion: (params:
|
|
1528
|
-
variantId:
|
|
1527
|
+
getLatestVariantVersion: (params: zod33.infer<zod33.ZodObject<{
|
|
1528
|
+
variantId: zod33.ZodString;
|
|
1529
1529
|
}, better_auth0.$strip>>) => Promise<{
|
|
1530
1530
|
version: number;
|
|
1531
|
-
id: string;
|
|
1532
|
-
createdAt: Date;
|
|
1533
|
-
updatedAt: Date;
|
|
1534
1531
|
variantId: string;
|
|
1532
|
+
id: string;
|
|
1535
1533
|
provider: string;
|
|
1536
1534
|
modelName: string;
|
|
1537
1535
|
jsonData: Record<string, unknown>;
|
|
1536
|
+
createdAt: Date;
|
|
1537
|
+
updatedAt: Date;
|
|
1538
1538
|
} | undefined>;
|
|
1539
|
-
getVariantVersionByNumber: (params:
|
|
1540
|
-
variantId:
|
|
1541
|
-
version:
|
|
1539
|
+
getVariantVersionByNumber: (params: zod33.infer<zod33.ZodObject<{
|
|
1540
|
+
variantId: zod33.ZodString;
|
|
1541
|
+
version: zod33.ZodNumber;
|
|
1542
1542
|
}, better_auth0.$strip>>) => Promise<{
|
|
1543
1543
|
version: number;
|
|
1544
|
-
id: string;
|
|
1545
|
-
createdAt: Date;
|
|
1546
|
-
updatedAt: Date;
|
|
1547
1544
|
variantId: string;
|
|
1545
|
+
id: string;
|
|
1548
1546
|
provider: string;
|
|
1549
1547
|
modelName: string;
|
|
1550
1548
|
jsonData: Record<string, unknown>;
|
|
1549
|
+
createdAt: Date;
|
|
1550
|
+
updatedAt: Date;
|
|
1551
1551
|
} | undefined>;
|
|
1552
|
-
deleteVariantVersion: (params:
|
|
1553
|
-
id:
|
|
1552
|
+
deleteVariantVersion: (params: zod33.infer<zod33.ZodObject<{
|
|
1553
|
+
id: zod33.ZodString;
|
|
1554
1554
|
}, better_auth0.$strip>>) => Promise<{
|
|
1555
1555
|
version: number;
|
|
1556
|
-
id: string;
|
|
1557
|
-
createdAt: Date;
|
|
1558
|
-
updatedAt: Date;
|
|
1559
1556
|
variantId: string;
|
|
1557
|
+
id: string;
|
|
1560
1558
|
provider: string;
|
|
1561
1559
|
modelName: string;
|
|
1562
1560
|
jsonData: Record<string, unknown>;
|
|
1561
|
+
createdAt: Date;
|
|
1562
|
+
updatedAt: Date;
|
|
1563
1563
|
} | undefined>;
|
|
1564
|
-
deleteVariantVersionsByVariantId: (params:
|
|
1565
|
-
variantId:
|
|
1564
|
+
deleteVariantVersionsByVariantId: (params: zod33.infer<zod33.ZodObject<{
|
|
1565
|
+
variantId: zod33.ZodString;
|
|
1566
1566
|
}, better_auth0.$strip>>) => Promise<{
|
|
1567
1567
|
version: number;
|
|
1568
|
-
id: string;
|
|
1569
|
-
createdAt: Date;
|
|
1570
|
-
updatedAt: Date;
|
|
1571
1568
|
variantId: string;
|
|
1569
|
+
id: string;
|
|
1572
1570
|
provider: string;
|
|
1573
1571
|
modelName: string;
|
|
1574
1572
|
jsonData: Record<string, unknown>;
|
|
1573
|
+
createdAt: Date;
|
|
1574
|
+
updatedAt: Date;
|
|
1575
1575
|
}[]>;
|
|
1576
|
-
getVariantVersionWithVariant: (params:
|
|
1577
|
-
id:
|
|
1576
|
+
getVariantVersionWithVariant: (params: zod33.infer<zod33.ZodObject<{
|
|
1577
|
+
id: zod33.ZodString;
|
|
1578
1578
|
}, better_auth0.$strip>>) => Promise<{
|
|
1579
1579
|
version: number;
|
|
1580
|
-
id: string;
|
|
1581
|
-
createdAt: Date;
|
|
1582
|
-
updatedAt: Date;
|
|
1583
1580
|
variantId: string;
|
|
1581
|
+
id: string;
|
|
1584
1582
|
provider: string;
|
|
1585
1583
|
modelName: string;
|
|
1586
1584
|
jsonData: Record<string, unknown>;
|
|
1585
|
+
createdAt: Date;
|
|
1586
|
+
updatedAt: Date;
|
|
1587
1587
|
variantName: string;
|
|
1588
1588
|
} | undefined>;
|
|
1589
|
-
getVariantVersionsWithVariantByVariantId: (params:
|
|
1590
|
-
variantId:
|
|
1591
|
-
limit:
|
|
1592
|
-
offset:
|
|
1589
|
+
getVariantVersionsWithVariantByVariantId: (params: zod33.infer<zod33.ZodObject<{
|
|
1590
|
+
variantId: zod33.ZodString;
|
|
1591
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1592
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1593
1593
|
}, better_auth0.$strip>>) => Promise<{
|
|
1594
1594
|
version: number;
|
|
1595
|
-
id: string;
|
|
1596
|
-
createdAt: Date;
|
|
1597
|
-
updatedAt: Date;
|
|
1598
1595
|
variantId: string;
|
|
1596
|
+
id: string;
|
|
1599
1597
|
provider: string;
|
|
1600
1598
|
modelName: string;
|
|
1601
1599
|
jsonData: Record<string, unknown>;
|
|
1600
|
+
createdAt: Date;
|
|
1601
|
+
updatedAt: Date;
|
|
1602
1602
|
variantName: string;
|
|
1603
1603
|
}[]>;
|
|
1604
|
-
createVariant: (params:
|
|
1605
|
-
name:
|
|
1604
|
+
createVariant: (params: zod33.infer<zod33.ZodObject<{
|
|
1605
|
+
name: zod33.ZodString;
|
|
1606
1606
|
}, better_auth0.$strip>>) => Promise<{
|
|
1607
1607
|
name: string;
|
|
1608
1608
|
id: string;
|
|
1609
1609
|
createdAt: Date;
|
|
1610
1610
|
updatedAt: Date;
|
|
1611
1611
|
} | undefined>;
|
|
1612
|
-
updateVariant: (params:
|
|
1613
|
-
variantId:
|
|
1614
|
-
name:
|
|
1612
|
+
updateVariant: (params: zod33.infer<zod33.ZodObject<{
|
|
1613
|
+
variantId: zod33.ZodString;
|
|
1614
|
+
name: zod33.ZodOptional<zod33.ZodString>;
|
|
1615
1615
|
}, better_auth0.$strip>>) => Promise<{
|
|
1616
1616
|
name: string;
|
|
1617
1617
|
id: string;
|
|
1618
1618
|
createdAt: Date;
|
|
1619
1619
|
updatedAt: Date;
|
|
1620
1620
|
} | undefined>;
|
|
1621
|
-
getVariantById: (params:
|
|
1622
|
-
variantId:
|
|
1621
|
+
getVariantById: (params: zod33.infer<zod33.ZodObject<{
|
|
1622
|
+
variantId: zod33.ZodString;
|
|
1623
1623
|
}, better_auth0.$strip>>) => Promise<{
|
|
1624
1624
|
name: string;
|
|
1625
1625
|
id: string;
|
|
1626
1626
|
createdAt: Date;
|
|
1627
1627
|
updatedAt: Date;
|
|
1628
1628
|
} | undefined>;
|
|
1629
|
-
getVariantWithLatestVersion: (params:
|
|
1630
|
-
variantId:
|
|
1629
|
+
getVariantWithLatestVersion: (params: zod33.infer<zod33.ZodObject<{
|
|
1630
|
+
variantId: zod33.ZodString;
|
|
1631
1631
|
}, better_auth0.$strip>>) => Promise<{
|
|
1632
1632
|
latestVersion: {
|
|
1633
1633
|
version: number;
|
|
1634
|
-
id: string;
|
|
1635
|
-
createdAt: Date;
|
|
1636
|
-
updatedAt: Date;
|
|
1637
1634
|
variantId: string;
|
|
1635
|
+
id: string;
|
|
1638
1636
|
provider: string;
|
|
1639
1637
|
modelName: string;
|
|
1640
1638
|
jsonData: Record<string, unknown>;
|
|
1639
|
+
createdAt: Date;
|
|
1640
|
+
updatedAt: Date;
|
|
1641
1641
|
} | null;
|
|
1642
1642
|
name: string;
|
|
1643
1643
|
id: string;
|
|
1644
1644
|
createdAt: Date;
|
|
1645
1645
|
updatedAt: Date;
|
|
1646
1646
|
} | undefined>;
|
|
1647
|
-
deleteVariant: (params:
|
|
1648
|
-
variantId:
|
|
1647
|
+
deleteVariant: (params: zod33.infer<zod33.ZodObject<{
|
|
1648
|
+
variantId: zod33.ZodString;
|
|
1649
1649
|
}, better_auth0.$strip>>) => Promise<{
|
|
1650
1650
|
name: string;
|
|
1651
1651
|
id: string;
|
|
1652
1652
|
createdAt: Date;
|
|
1653
1653
|
updatedAt: Date;
|
|
1654
1654
|
} | undefined>;
|
|
1655
|
-
listVariants: (params?:
|
|
1656
|
-
limit:
|
|
1657
|
-
offset:
|
|
1655
|
+
listVariants: (params?: zod33.infer<zod33.ZodObject<{
|
|
1656
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1657
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1658
1658
|
}, better_auth0.$strip>>) => Promise<{
|
|
1659
1659
|
name: string;
|
|
1660
1660
|
id: string;
|
|
1661
1661
|
createdAt: Date;
|
|
1662
1662
|
updatedAt: Date;
|
|
1663
1663
|
}[]>;
|
|
1664
|
-
listVariantsWithLatestVersion: (params?:
|
|
1665
|
-
limit:
|
|
1666
|
-
offset:
|
|
1664
|
+
listVariantsWithLatestVersion: (params?: zod33.infer<zod33.ZodObject<{
|
|
1665
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1666
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1667
1667
|
}, better_auth0.$strip>>) => Promise<{
|
|
1668
1668
|
latestVersion: {
|
|
1669
1669
|
version: number;
|
|
1670
|
-
id: string;
|
|
1671
|
-
createdAt: Date;
|
|
1672
|
-
updatedAt: Date;
|
|
1673
1670
|
variantId: string;
|
|
1671
|
+
id: string;
|
|
1674
1672
|
provider: string;
|
|
1675
1673
|
modelName: string;
|
|
1676
1674
|
jsonData: Record<string, unknown>;
|
|
1675
|
+
createdAt: Date;
|
|
1676
|
+
updatedAt: Date;
|
|
1677
1677
|
} | null;
|
|
1678
1678
|
name: string;
|
|
1679
1679
|
id: string;
|
|
1680
1680
|
createdAt: Date;
|
|
1681
1681
|
updatedAt: Date;
|
|
1682
1682
|
}[]>;
|
|
1683
|
-
createTargetingRule: (params:
|
|
1684
|
-
environmentId:
|
|
1685
|
-
configId:
|
|
1686
|
-
configVariantId:
|
|
1687
|
-
variantVersionId:
|
|
1688
|
-
weight:
|
|
1689
|
-
priority:
|
|
1690
|
-
enabled:
|
|
1691
|
-
conditions:
|
|
1683
|
+
createTargetingRule: (params: zod33.infer<zod33.ZodObject<{
|
|
1684
|
+
environmentId: zod33.ZodString;
|
|
1685
|
+
configId: zod33.ZodString;
|
|
1686
|
+
configVariantId: zod33.ZodString;
|
|
1687
|
+
variantVersionId: zod33.ZodOptional<zod33.ZodNullable<zod33.ZodString>>;
|
|
1688
|
+
weight: zod33.ZodDefault<zod33.ZodOptional<zod33.ZodNumber>>;
|
|
1689
|
+
priority: zod33.ZodDefault<zod33.ZodOptional<zod33.ZodNumber>>;
|
|
1690
|
+
enabled: zod33.ZodDefault<zod33.ZodOptional<zod33.ZodBoolean>>;
|
|
1691
|
+
conditions: zod33.ZodOptional<zod33.ZodNullable<zod33.ZodRecord<zod33.ZodString, zod33.ZodUnknown>>>;
|
|
1692
1692
|
}, better_auth0.$strip>>) => Promise<{
|
|
1693
|
+
configId: string;
|
|
1693
1694
|
id: string;
|
|
1694
|
-
createdAt: Date;
|
|
1695
|
-
updatedAt: Date;
|
|
1696
1695
|
environmentId: string;
|
|
1697
|
-
|
|
1696
|
+
enabled: boolean;
|
|
1698
1697
|
configVariantId: string;
|
|
1699
1698
|
variantVersionId: string | null;
|
|
1700
1699
|
weight: number;
|
|
1701
1700
|
priority: number;
|
|
1702
|
-
enabled: boolean;
|
|
1703
1701
|
conditions: Record<string, unknown>;
|
|
1702
|
+
createdAt: Date;
|
|
1703
|
+
updatedAt: Date;
|
|
1704
1704
|
} | undefined>;
|
|
1705
|
-
updateTargetingRule: (params:
|
|
1706
|
-
id:
|
|
1707
|
-
variantVersionId:
|
|
1708
|
-
weight:
|
|
1709
|
-
priority:
|
|
1710
|
-
enabled:
|
|
1711
|
-
conditions:
|
|
1705
|
+
updateTargetingRule: (params: zod33.infer<zod33.ZodObject<{
|
|
1706
|
+
id: zod33.ZodString;
|
|
1707
|
+
variantVersionId: zod33.ZodOptional<zod33.ZodNullable<zod33.ZodString>>;
|
|
1708
|
+
weight: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1709
|
+
priority: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1710
|
+
enabled: zod33.ZodOptional<zod33.ZodBoolean>;
|
|
1711
|
+
conditions: zod33.ZodOptional<zod33.ZodNullable<zod33.ZodRecord<zod33.ZodString, zod33.ZodUnknown>>>;
|
|
1712
1712
|
}, better_auth0.$strip>>) => Promise<{
|
|
1713
|
+
configId: string;
|
|
1713
1714
|
id: string;
|
|
1714
|
-
createdAt: Date;
|
|
1715
|
-
updatedAt: Date;
|
|
1716
1715
|
environmentId: string;
|
|
1717
|
-
|
|
1716
|
+
enabled: boolean;
|
|
1718
1717
|
configVariantId: string;
|
|
1719
1718
|
variantVersionId: string | null;
|
|
1720
1719
|
weight: number;
|
|
1721
1720
|
priority: number;
|
|
1722
|
-
enabled: boolean;
|
|
1723
1721
|
conditions: Record<string, unknown>;
|
|
1722
|
+
createdAt: Date;
|
|
1723
|
+
updatedAt: Date;
|
|
1724
1724
|
} | undefined>;
|
|
1725
|
-
getTargetingRuleById: (params:
|
|
1726
|
-
id:
|
|
1725
|
+
getTargetingRuleById: (params: zod33.infer<zod33.ZodObject<{
|
|
1726
|
+
id: zod33.ZodString;
|
|
1727
1727
|
}, better_auth0.$strip>>) => Promise<{
|
|
1728
|
+
configId: string;
|
|
1728
1729
|
id: string;
|
|
1729
|
-
createdAt: Date;
|
|
1730
|
-
updatedAt: Date;
|
|
1731
1730
|
environmentId: string;
|
|
1732
|
-
|
|
1731
|
+
enabled: boolean;
|
|
1733
1732
|
configVariantId: string;
|
|
1734
1733
|
variantVersionId: string | null;
|
|
1735
1734
|
weight: number;
|
|
1736
1735
|
priority: number;
|
|
1737
|
-
enabled: boolean;
|
|
1738
1736
|
conditions: Record<string, unknown>;
|
|
1737
|
+
createdAt: Date;
|
|
1738
|
+
updatedAt: Date;
|
|
1739
1739
|
} | undefined>;
|
|
1740
|
-
getTargetingRulesByConfigId: (params:
|
|
1741
|
-
configId:
|
|
1742
|
-
limit:
|
|
1743
|
-
offset:
|
|
1740
|
+
getTargetingRulesByConfigId: (params: zod33.infer<zod33.ZodObject<{
|
|
1741
|
+
configId: zod33.ZodString;
|
|
1742
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1743
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1744
1744
|
}, better_auth0.$strip>>) => Promise<{
|
|
1745
|
+
configId: string;
|
|
1745
1746
|
id: string;
|
|
1746
|
-
createdAt: Date;
|
|
1747
|
-
updatedAt: Date;
|
|
1748
1747
|
environmentId: string;
|
|
1749
|
-
|
|
1748
|
+
enabled: boolean;
|
|
1750
1749
|
configVariantId: string;
|
|
1751
1750
|
variantVersionId: string | null;
|
|
1752
1751
|
weight: number;
|
|
1753
1752
|
priority: number;
|
|
1754
|
-
enabled: boolean;
|
|
1755
1753
|
conditions: Record<string, unknown>;
|
|
1754
|
+
createdAt: Date;
|
|
1755
|
+
updatedAt: Date;
|
|
1756
1756
|
}[]>;
|
|
1757
|
-
getTargetingRulesByEnvironmentId: (params:
|
|
1758
|
-
environmentId:
|
|
1759
|
-
limit:
|
|
1760
|
-
offset:
|
|
1757
|
+
getTargetingRulesByEnvironmentId: (params: zod33.infer<zod33.ZodObject<{
|
|
1758
|
+
environmentId: zod33.ZodString;
|
|
1759
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1760
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1761
1761
|
}, better_auth0.$strip>>) => Promise<{
|
|
1762
|
+
configId: string;
|
|
1762
1763
|
id: string;
|
|
1763
|
-
createdAt: Date;
|
|
1764
|
-
updatedAt: Date;
|
|
1765
1764
|
environmentId: string;
|
|
1766
|
-
|
|
1765
|
+
enabled: boolean;
|
|
1767
1766
|
configVariantId: string;
|
|
1768
1767
|
variantVersionId: string | null;
|
|
1769
1768
|
weight: number;
|
|
1770
1769
|
priority: number;
|
|
1771
|
-
enabled: boolean;
|
|
1772
1770
|
conditions: Record<string, unknown>;
|
|
1771
|
+
createdAt: Date;
|
|
1772
|
+
updatedAt: Date;
|
|
1773
1773
|
}[]>;
|
|
1774
|
-
getTargetingRulesByConfigAndEnvironment: (params:
|
|
1775
|
-
configId:
|
|
1776
|
-
environmentId:
|
|
1774
|
+
getTargetingRulesByConfigAndEnvironment: (params: zod33.infer<zod33.ZodObject<{
|
|
1775
|
+
configId: zod33.ZodString;
|
|
1776
|
+
environmentId: zod33.ZodString;
|
|
1777
1777
|
}, better_auth0.$strip>>) => Promise<{
|
|
1778
|
+
configId: string;
|
|
1778
1779
|
id: string;
|
|
1779
|
-
createdAt: Date;
|
|
1780
|
-
updatedAt: Date;
|
|
1781
1780
|
environmentId: string;
|
|
1782
|
-
|
|
1781
|
+
enabled: boolean;
|
|
1783
1782
|
configVariantId: string;
|
|
1784
1783
|
variantVersionId: string | null;
|
|
1785
1784
|
weight: number;
|
|
1786
1785
|
priority: number;
|
|
1787
|
-
enabled: boolean;
|
|
1788
1786
|
conditions: Record<string, unknown>;
|
|
1787
|
+
createdAt: Date;
|
|
1788
|
+
updatedAt: Date;
|
|
1789
1789
|
}[]>;
|
|
1790
|
-
deleteTargetingRule: (params:
|
|
1791
|
-
id:
|
|
1790
|
+
deleteTargetingRule: (params: zod33.infer<zod33.ZodObject<{
|
|
1791
|
+
id: zod33.ZodString;
|
|
1792
1792
|
}, better_auth0.$strip>>) => Promise<{
|
|
1793
|
+
configId: string;
|
|
1793
1794
|
id: string;
|
|
1794
|
-
createdAt: Date;
|
|
1795
|
-
updatedAt: Date;
|
|
1796
1795
|
environmentId: string;
|
|
1797
|
-
|
|
1796
|
+
enabled: boolean;
|
|
1798
1797
|
configVariantId: string;
|
|
1799
1798
|
variantVersionId: string | null;
|
|
1800
1799
|
weight: number;
|
|
1801
1800
|
priority: number;
|
|
1802
|
-
enabled: boolean;
|
|
1803
1801
|
conditions: Record<string, unknown>;
|
|
1802
|
+
createdAt: Date;
|
|
1803
|
+
updatedAt: Date;
|
|
1804
1804
|
} | undefined>;
|
|
1805
|
-
deleteTargetingRulesByConfigId: (params:
|
|
1806
|
-
configId:
|
|
1805
|
+
deleteTargetingRulesByConfigId: (params: zod33.infer<zod33.ZodObject<{
|
|
1806
|
+
configId: zod33.ZodString;
|
|
1807
1807
|
}, better_auth0.$strip>>) => Promise<{
|
|
1808
|
+
configId: string;
|
|
1808
1809
|
id: string;
|
|
1809
|
-
createdAt: Date;
|
|
1810
|
-
updatedAt: Date;
|
|
1811
1810
|
environmentId: string;
|
|
1812
|
-
|
|
1811
|
+
enabled: boolean;
|
|
1813
1812
|
configVariantId: string;
|
|
1814
1813
|
variantVersionId: string | null;
|
|
1815
1814
|
weight: number;
|
|
1816
1815
|
priority: number;
|
|
1817
|
-
enabled: boolean;
|
|
1818
1816
|
conditions: Record<string, unknown>;
|
|
1817
|
+
createdAt: Date;
|
|
1818
|
+
updatedAt: Date;
|
|
1819
1819
|
}[]>;
|
|
1820
|
-
deleteTargetingRulesByEnvironmentId: (params:
|
|
1821
|
-
environmentId:
|
|
1820
|
+
deleteTargetingRulesByEnvironmentId: (params: zod33.infer<zod33.ZodObject<{
|
|
1821
|
+
environmentId: zod33.ZodString;
|
|
1822
1822
|
}, better_auth0.$strip>>) => Promise<{
|
|
1823
|
+
configId: string;
|
|
1823
1824
|
id: string;
|
|
1824
|
-
createdAt: Date;
|
|
1825
|
-
updatedAt: Date;
|
|
1826
1825
|
environmentId: string;
|
|
1827
|
-
|
|
1826
|
+
enabled: boolean;
|
|
1828
1827
|
configVariantId: string;
|
|
1829
1828
|
variantVersionId: string | null;
|
|
1830
1829
|
weight: number;
|
|
1831
1830
|
priority: number;
|
|
1832
|
-
enabled: boolean;
|
|
1833
1831
|
conditions: Record<string, unknown>;
|
|
1832
|
+
createdAt: Date;
|
|
1833
|
+
updatedAt: Date;
|
|
1834
1834
|
}[]>;
|
|
1835
|
-
listTargetingRules: (params?:
|
|
1836
|
-
limit:
|
|
1837
|
-
offset:
|
|
1835
|
+
listTargetingRules: (params?: zod33.infer<zod33.ZodObject<{
|
|
1836
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1837
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1838
1838
|
}, better_auth0.$strip>>) => Promise<{
|
|
1839
|
+
configId: string;
|
|
1839
1840
|
id: string;
|
|
1840
|
-
createdAt: Date;
|
|
1841
|
-
updatedAt: Date;
|
|
1842
1841
|
environmentId: string;
|
|
1843
|
-
|
|
1842
|
+
enabled: boolean;
|
|
1844
1843
|
configVariantId: string;
|
|
1845
1844
|
variantVersionId: string | null;
|
|
1846
1845
|
weight: number;
|
|
1847
1846
|
priority: number;
|
|
1848
|
-
enabled: boolean;
|
|
1849
1847
|
conditions: Record<string, unknown>;
|
|
1848
|
+
createdAt: Date;
|
|
1849
|
+
updatedAt: Date;
|
|
1850
1850
|
}[]>;
|
|
1851
|
-
getTargetingRulesWithDetailsByConfigId: (params:
|
|
1852
|
-
configId:
|
|
1853
|
-
limit:
|
|
1854
|
-
offset:
|
|
1851
|
+
getTargetingRulesWithDetailsByConfigId: (params: zod33.infer<zod33.ZodObject<{
|
|
1852
|
+
configId: zod33.ZodString;
|
|
1853
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1854
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1855
1855
|
}, better_auth0.$strip>>) => Promise<{
|
|
1856
1856
|
variantProvider: string | null;
|
|
1857
1857
|
variantModelName: string | null;
|
|
1858
1858
|
pinnedVersion: number | null | undefined;
|
|
1859
1859
|
latestVersion: number | null | undefined;
|
|
1860
1860
|
variantName: string | null;
|
|
1861
|
+
configId: string;
|
|
1861
1862
|
id: string;
|
|
1862
|
-
createdAt: Date;
|
|
1863
|
-
updatedAt: Date;
|
|
1864
1863
|
environmentId: string;
|
|
1865
|
-
|
|
1864
|
+
enabled: boolean;
|
|
1866
1865
|
configVariantId: string;
|
|
1867
1866
|
variantVersionId: string | null;
|
|
1868
1867
|
weight: number;
|
|
1869
1868
|
priority: number;
|
|
1870
|
-
enabled: boolean;
|
|
1871
1869
|
conditions: Record<string, unknown>;
|
|
1870
|
+
createdAt: Date;
|
|
1871
|
+
updatedAt: Date;
|
|
1872
1872
|
variantId: string | null;
|
|
1873
1873
|
environmentName: string | null;
|
|
1874
1874
|
environmentSlug: string | null;
|
|
1875
1875
|
}[]>;
|
|
1876
|
-
setTargetingForEnvironment: (params:
|
|
1877
|
-
environmentId:
|
|
1878
|
-
configId:
|
|
1879
|
-
configVariantId:
|
|
1880
|
-
variantVersionId:
|
|
1876
|
+
setTargetingForEnvironment: (params: zod33.infer<zod33.ZodObject<{
|
|
1877
|
+
environmentId: zod33.ZodString;
|
|
1878
|
+
configId: zod33.ZodString;
|
|
1879
|
+
configVariantId: zod33.ZodString;
|
|
1880
|
+
variantVersionId: zod33.ZodOptional<zod33.ZodNullable<zod33.ZodString>>;
|
|
1881
1881
|
}, better_auth0.$strip>>) => Promise<{
|
|
1882
|
+
configId: string;
|
|
1882
1883
|
id: string;
|
|
1883
|
-
createdAt: Date;
|
|
1884
|
-
updatedAt: Date;
|
|
1885
1884
|
environmentId: string;
|
|
1886
|
-
|
|
1885
|
+
enabled: boolean;
|
|
1887
1886
|
configVariantId: string;
|
|
1888
1887
|
variantVersionId: string | null;
|
|
1889
1888
|
weight: number;
|
|
1890
1889
|
priority: number;
|
|
1891
|
-
enabled: boolean;
|
|
1892
1890
|
conditions: Record<string, unknown>;
|
|
1891
|
+
createdAt: Date;
|
|
1892
|
+
updatedAt: Date;
|
|
1893
1893
|
} | undefined>;
|
|
1894
|
-
createProviderConfig: (params:
|
|
1895
|
-
providerId:
|
|
1896
|
-
config:
|
|
1897
|
-
enabled:
|
|
1894
|
+
createProviderConfig: (params: zod33.infer<zod33.ZodObject<{
|
|
1895
|
+
providerId: zod33.ZodString;
|
|
1896
|
+
config: zod33.ZodRecord<zod33.ZodString, zod33.ZodUnknown>;
|
|
1897
|
+
enabled: zod33.ZodDefault<zod33.ZodOptional<zod33.ZodBoolean>>;
|
|
1898
1898
|
}, better_auth0.$strip>>) => Promise<{
|
|
1899
1899
|
id: string;
|
|
1900
|
+
config: Record<string, unknown>;
|
|
1901
|
+
providerId: string;
|
|
1902
|
+
enabled: boolean;
|
|
1900
1903
|
createdAt: Date;
|
|
1901
1904
|
updatedAt: Date;
|
|
1902
|
-
enabled: boolean;
|
|
1903
|
-
providerId: string;
|
|
1904
|
-
config: Record<string, unknown>;
|
|
1905
1905
|
} | undefined>;
|
|
1906
|
-
updateProviderConfig: (params:
|
|
1907
|
-
id:
|
|
1908
|
-
config:
|
|
1909
|
-
enabled:
|
|
1906
|
+
updateProviderConfig: (params: zod33.infer<zod33.ZodObject<{
|
|
1907
|
+
id: zod33.ZodUUID;
|
|
1908
|
+
config: zod33.ZodOptional<zod33.ZodRecord<zod33.ZodString, zod33.ZodUnknown>>;
|
|
1909
|
+
enabled: zod33.ZodOptional<zod33.ZodBoolean>;
|
|
1910
1910
|
}, better_auth0.$strip>>) => Promise<{
|
|
1911
1911
|
id: string;
|
|
1912
|
+
config: Record<string, unknown>;
|
|
1913
|
+
providerId: string;
|
|
1914
|
+
enabled: boolean;
|
|
1912
1915
|
createdAt: Date;
|
|
1913
1916
|
updatedAt: Date;
|
|
1914
|
-
enabled: boolean;
|
|
1915
|
-
providerId: string;
|
|
1916
|
-
config: Record<string, unknown>;
|
|
1917
1917
|
} | undefined>;
|
|
1918
|
-
getProviderConfigById: (params:
|
|
1919
|
-
id:
|
|
1918
|
+
getProviderConfigById: (params: zod33.infer<zod33.ZodObject<{
|
|
1919
|
+
id: zod33.ZodUUID;
|
|
1920
1920
|
}, better_auth0.$strip>>) => Promise<{
|
|
1921
1921
|
id: string;
|
|
1922
|
+
config: Record<string, unknown>;
|
|
1923
|
+
providerId: string;
|
|
1924
|
+
enabled: boolean;
|
|
1922
1925
|
createdAt: Date;
|
|
1923
1926
|
updatedAt: Date;
|
|
1924
|
-
enabled: boolean;
|
|
1925
|
-
providerId: string;
|
|
1926
|
-
config: Record<string, unknown>;
|
|
1927
1927
|
} | undefined>;
|
|
1928
|
-
getProviderConfigByProviderId: (params:
|
|
1929
|
-
providerId:
|
|
1928
|
+
getProviderConfigByProviderId: (params: zod33.infer<zod33.ZodObject<{
|
|
1929
|
+
providerId: zod33.ZodString;
|
|
1930
1930
|
}, better_auth0.$strip>>) => Promise<{
|
|
1931
1931
|
id: string;
|
|
1932
|
+
config: Record<string, unknown>;
|
|
1933
|
+
providerId: string;
|
|
1934
|
+
enabled: boolean;
|
|
1932
1935
|
createdAt: Date;
|
|
1933
1936
|
updatedAt: Date;
|
|
1934
|
-
enabled: boolean;
|
|
1935
|
-
providerId: string;
|
|
1936
|
-
config: Record<string, unknown>;
|
|
1937
1937
|
} | undefined>;
|
|
1938
|
-
deleteProviderConfig: (params:
|
|
1939
|
-
id:
|
|
1938
|
+
deleteProviderConfig: (params: zod33.infer<zod33.ZodObject<{
|
|
1939
|
+
id: zod33.ZodUUID;
|
|
1940
1940
|
}, better_auth0.$strip>>) => Promise<{
|
|
1941
1941
|
id: string;
|
|
1942
|
+
config: Record<string, unknown>;
|
|
1943
|
+
providerId: string;
|
|
1944
|
+
enabled: boolean;
|
|
1942
1945
|
createdAt: Date;
|
|
1943
1946
|
updatedAt: Date;
|
|
1944
|
-
enabled: boolean;
|
|
1945
|
-
providerId: string;
|
|
1946
|
-
config: Record<string, unknown>;
|
|
1947
1947
|
} | undefined>;
|
|
1948
|
-
listProviderConfigs: (params?:
|
|
1949
|
-
limit:
|
|
1950
|
-
offset:
|
|
1948
|
+
listProviderConfigs: (params?: zod33.infer<zod33.ZodObject<{
|
|
1949
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1950
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
1951
1951
|
}, better_auth0.$strip>>) => Promise<{
|
|
1952
1952
|
id: string;
|
|
1953
|
+
config: Record<string, unknown>;
|
|
1954
|
+
providerId: string;
|
|
1955
|
+
enabled: boolean;
|
|
1953
1956
|
createdAt: Date;
|
|
1954
1957
|
updatedAt: Date;
|
|
1955
|
-
enabled: boolean;
|
|
1956
|
-
providerId: string;
|
|
1957
|
-
config: Record<string, unknown>;
|
|
1958
1958
|
}[]>;
|
|
1959
1959
|
countProviderConfigs: () => Promise<number>;
|
|
1960
|
-
upsertProviderConfig: (params:
|
|
1961
|
-
providerId:
|
|
1962
|
-
config:
|
|
1963
|
-
enabled:
|
|
1960
|
+
upsertProviderConfig: (params: zod33.infer<zod33.ZodObject<{
|
|
1961
|
+
providerId: zod33.ZodString;
|
|
1962
|
+
config: zod33.ZodRecord<zod33.ZodString, zod33.ZodUnknown>;
|
|
1963
|
+
enabled: zod33.ZodDefault<zod33.ZodOptional<zod33.ZodBoolean>>;
|
|
1964
1964
|
}, better_auth0.$strip>>) => Promise<{
|
|
1965
1965
|
id: string;
|
|
1966
|
+
config: Record<string, unknown>;
|
|
1967
|
+
providerId: string;
|
|
1968
|
+
enabled: boolean;
|
|
1966
1969
|
createdAt: Date;
|
|
1967
1970
|
updatedAt: Date;
|
|
1968
|
-
enabled: boolean;
|
|
1969
|
-
providerId: string;
|
|
1970
|
-
config: Record<string, unknown>;
|
|
1971
1971
|
} | undefined>;
|
|
1972
1972
|
batchInsertRequests: (requests: LLMRequestInsert[]) => Promise<{
|
|
1973
1973
|
count: number;
|
|
1974
1974
|
}>;
|
|
1975
1975
|
insertRequest: (request: LLMRequestInsert) => Promise<{
|
|
1976
|
-
|
|
1977
|
-
createdAt: Date;
|
|
1978
|
-
updatedAt: Date;
|
|
1976
|
+
configId: string | null;
|
|
1979
1977
|
variantId: string | null;
|
|
1978
|
+
id: string;
|
|
1980
1979
|
provider: string;
|
|
1981
1980
|
environmentId: string | null;
|
|
1982
|
-
configId: string | null;
|
|
1983
1981
|
requestId: string;
|
|
1984
1982
|
model: string;
|
|
1985
1983
|
promptTokens: number;
|
|
@@ -1995,27 +1993,27 @@ declare const createDataLayer: (db: Kysely<Database>) => Promise<{
|
|
|
1995
1993
|
isStreaming: boolean;
|
|
1996
1994
|
userId: string | null;
|
|
1997
1995
|
tags: Record<string, string>;
|
|
1996
|
+
createdAt: Date;
|
|
1997
|
+
updatedAt: Date;
|
|
1998
1998
|
} | undefined>;
|
|
1999
|
-
listRequests: (params?:
|
|
2000
|
-
limit:
|
|
2001
|
-
offset:
|
|
2002
|
-
configId:
|
|
2003
|
-
variantId:
|
|
2004
|
-
environmentId:
|
|
2005
|
-
provider:
|
|
2006
|
-
model:
|
|
2007
|
-
startDate:
|
|
2008
|
-
endDate:
|
|
2009
|
-
tags:
|
|
1999
|
+
listRequests: (params?: zod33.infer<zod33.ZodObject<{
|
|
2000
|
+
limit: zod33.ZodDefault<zod33.ZodNumber>;
|
|
2001
|
+
offset: zod33.ZodDefault<zod33.ZodNumber>;
|
|
2002
|
+
configId: zod33.ZodOptional<zod33.ZodString>;
|
|
2003
|
+
variantId: zod33.ZodOptional<zod33.ZodString>;
|
|
2004
|
+
environmentId: zod33.ZodOptional<zod33.ZodString>;
|
|
2005
|
+
provider: zod33.ZodOptional<zod33.ZodString>;
|
|
2006
|
+
model: zod33.ZodOptional<zod33.ZodString>;
|
|
2007
|
+
startDate: zod33.ZodOptional<zod33.ZodDate>;
|
|
2008
|
+
endDate: zod33.ZodOptional<zod33.ZodDate>;
|
|
2009
|
+
tags: zod33.ZodOptional<zod33.ZodRecord<zod33.ZodString, zod33.ZodArray<zod33.ZodString>>>;
|
|
2010
2010
|
}, better_auth0.$strip>>) => Promise<{
|
|
2011
2011
|
data: {
|
|
2012
|
-
|
|
2013
|
-
createdAt: Date;
|
|
2014
|
-
updatedAt: Date;
|
|
2012
|
+
configId: string | null;
|
|
2015
2013
|
variantId: string | null;
|
|
2014
|
+
id: string;
|
|
2016
2015
|
provider: string;
|
|
2017
2016
|
environmentId: string | null;
|
|
2018
|
-
configId: string | null;
|
|
2019
2017
|
requestId: string;
|
|
2020
2018
|
model: string;
|
|
2021
2019
|
promptTokens: number;
|
|
@@ -2031,19 +2029,19 @@ declare const createDataLayer: (db: Kysely<Database>) => Promise<{
|
|
|
2031
2029
|
isStreaming: boolean;
|
|
2032
2030
|
userId: string | null;
|
|
2033
2031
|
tags: Record<string, string>;
|
|
2032
|
+
createdAt: Date;
|
|
2033
|
+
updatedAt: Date;
|
|
2034
2034
|
}[];
|
|
2035
2035
|
total: number;
|
|
2036
2036
|
limit: number;
|
|
2037
2037
|
offset: number;
|
|
2038
2038
|
}>;
|
|
2039
2039
|
getRequestByRequestId: (requestId: string) => Promise<{
|
|
2040
|
-
|
|
2041
|
-
createdAt: Date;
|
|
2042
|
-
updatedAt: Date;
|
|
2040
|
+
configId: string | null;
|
|
2043
2041
|
variantId: string | null;
|
|
2042
|
+
id: string;
|
|
2044
2043
|
provider: string;
|
|
2045
2044
|
environmentId: string | null;
|
|
2046
|
-
configId: string | null;
|
|
2047
2045
|
requestId: string;
|
|
2048
2046
|
model: string;
|
|
2049
2047
|
promptTokens: number;
|
|
@@ -2059,14 +2057,16 @@ declare const createDataLayer: (db: Kysely<Database>) => Promise<{
|
|
|
2059
2057
|
isStreaming: boolean;
|
|
2060
2058
|
userId: string | null;
|
|
2061
2059
|
tags: Record<string, string>;
|
|
2060
|
+
createdAt: Date;
|
|
2061
|
+
updatedAt: Date;
|
|
2062
2062
|
} | undefined>;
|
|
2063
|
-
getTotalCost: (params:
|
|
2064
|
-
startDate:
|
|
2065
|
-
endDate:
|
|
2066
|
-
configId:
|
|
2067
|
-
variantId:
|
|
2068
|
-
environmentId:
|
|
2069
|
-
tags:
|
|
2063
|
+
getTotalCost: (params: zod33.infer<zod33.ZodObject<{
|
|
2064
|
+
startDate: zod33.ZodDate;
|
|
2065
|
+
endDate: zod33.ZodDate;
|
|
2066
|
+
configId: zod33.ZodOptional<zod33.ZodString>;
|
|
2067
|
+
variantId: zod33.ZodOptional<zod33.ZodString>;
|
|
2068
|
+
environmentId: zod33.ZodOptional<zod33.ZodString>;
|
|
2069
|
+
tags: zod33.ZodOptional<zod33.ZodRecord<zod33.ZodString, zod33.ZodArray<zod33.ZodString>>>;
|
|
2070
2070
|
}, better_auth0.$strip>>) => Promise<{
|
|
2071
2071
|
totalCost: number;
|
|
2072
2072
|
totalInputCost: number;
|
|
@@ -2076,13 +2076,13 @@ declare const createDataLayer: (db: Kysely<Database>) => Promise<{
|
|
|
2076
2076
|
totalTokens: number;
|
|
2077
2077
|
requestCount: number;
|
|
2078
2078
|
} | undefined>;
|
|
2079
|
-
getCostByModel: (params:
|
|
2080
|
-
startDate:
|
|
2081
|
-
endDate:
|
|
2082
|
-
configId:
|
|
2083
|
-
variantId:
|
|
2084
|
-
environmentId:
|
|
2085
|
-
tags:
|
|
2079
|
+
getCostByModel: (params: zod33.infer<zod33.ZodObject<{
|
|
2080
|
+
startDate: zod33.ZodDate;
|
|
2081
|
+
endDate: zod33.ZodDate;
|
|
2082
|
+
configId: zod33.ZodOptional<zod33.ZodString>;
|
|
2083
|
+
variantId: zod33.ZodOptional<zod33.ZodString>;
|
|
2084
|
+
environmentId: zod33.ZodOptional<zod33.ZodString>;
|
|
2085
|
+
tags: zod33.ZodOptional<zod33.ZodRecord<zod33.ZodString, zod33.ZodArray<zod33.ZodString>>>;
|
|
2086
2086
|
}, better_auth0.$strip>>) => Promise<{
|
|
2087
2087
|
provider: string;
|
|
2088
2088
|
model: string;
|
|
@@ -2093,13 +2093,13 @@ declare const createDataLayer: (db: Kysely<Database>) => Promise<{
|
|
|
2093
2093
|
requestCount: number;
|
|
2094
2094
|
avgLatencyMs: number;
|
|
2095
2095
|
}[]>;
|
|
2096
|
-
getCostByProvider: (params:
|
|
2097
|
-
startDate:
|
|
2098
|
-
endDate:
|
|
2099
|
-
configId:
|
|
2100
|
-
variantId:
|
|
2101
|
-
environmentId:
|
|
2102
|
-
tags:
|
|
2096
|
+
getCostByProvider: (params: zod33.infer<zod33.ZodObject<{
|
|
2097
|
+
startDate: zod33.ZodDate;
|
|
2098
|
+
endDate: zod33.ZodDate;
|
|
2099
|
+
configId: zod33.ZodOptional<zod33.ZodString>;
|
|
2100
|
+
variantId: zod33.ZodOptional<zod33.ZodString>;
|
|
2101
|
+
environmentId: zod33.ZodOptional<zod33.ZodString>;
|
|
2102
|
+
tags: zod33.ZodOptional<zod33.ZodRecord<zod33.ZodString, zod33.ZodArray<zod33.ZodString>>>;
|
|
2103
2103
|
}, better_auth0.$strip>>) => Promise<{
|
|
2104
2104
|
provider: string;
|
|
2105
2105
|
totalCost: number;
|
|
@@ -2109,13 +2109,13 @@ declare const createDataLayer: (db: Kysely<Database>) => Promise<{
|
|
|
2109
2109
|
requestCount: number;
|
|
2110
2110
|
avgLatencyMs: number;
|
|
2111
2111
|
}[]>;
|
|
2112
|
-
getCostByConfig: (params:
|
|
2113
|
-
startDate:
|
|
2114
|
-
endDate:
|
|
2115
|
-
configId:
|
|
2116
|
-
variantId:
|
|
2117
|
-
environmentId:
|
|
2118
|
-
tags:
|
|
2112
|
+
getCostByConfig: (params: zod33.infer<zod33.ZodObject<{
|
|
2113
|
+
startDate: zod33.ZodDate;
|
|
2114
|
+
endDate: zod33.ZodDate;
|
|
2115
|
+
configId: zod33.ZodOptional<zod33.ZodString>;
|
|
2116
|
+
variantId: zod33.ZodOptional<zod33.ZodString>;
|
|
2117
|
+
environmentId: zod33.ZodOptional<zod33.ZodString>;
|
|
2118
|
+
tags: zod33.ZodOptional<zod33.ZodRecord<zod33.ZodString, zod33.ZodArray<zod33.ZodString>>>;
|
|
2119
2119
|
}, better_auth0.$strip>>) => Promise<{
|
|
2120
2120
|
configId: string | null;
|
|
2121
2121
|
totalCost: number;
|
|
@@ -2126,13 +2126,13 @@ declare const createDataLayer: (db: Kysely<Database>) => Promise<{
|
|
|
2126
2126
|
configName: string | null | undefined;
|
|
2127
2127
|
configSlug: string | null;
|
|
2128
2128
|
}[]>;
|
|
2129
|
-
getDailyCosts: (params:
|
|
2130
|
-
startDate:
|
|
2131
|
-
endDate:
|
|
2132
|
-
configId:
|
|
2133
|
-
variantId:
|
|
2134
|
-
environmentId:
|
|
2135
|
-
tags:
|
|
2129
|
+
getDailyCosts: (params: zod33.infer<zod33.ZodObject<{
|
|
2130
|
+
startDate: zod33.ZodDate;
|
|
2131
|
+
endDate: zod33.ZodDate;
|
|
2132
|
+
configId: zod33.ZodOptional<zod33.ZodString>;
|
|
2133
|
+
variantId: zod33.ZodOptional<zod33.ZodString>;
|
|
2134
|
+
environmentId: zod33.ZodOptional<zod33.ZodString>;
|
|
2135
|
+
tags: zod33.ZodOptional<zod33.ZodRecord<zod33.ZodString, zod33.ZodArray<zod33.ZodString>>>;
|
|
2136
2136
|
}, better_auth0.$strip>>) => Promise<{
|
|
2137
2137
|
totalCost: number;
|
|
2138
2138
|
totalInputCost: number;
|
|
@@ -2141,32 +2141,32 @@ declare const createDataLayer: (db: Kysely<Database>) => Promise<{
|
|
|
2141
2141
|
requestCount: number;
|
|
2142
2142
|
date: string;
|
|
2143
2143
|
}[]>;
|
|
2144
|
-
getCostSummary: (params:
|
|
2145
|
-
startDate:
|
|
2146
|
-
endDate:
|
|
2147
|
-
configId:
|
|
2148
|
-
variantId:
|
|
2149
|
-
environmentId:
|
|
2150
|
-
tags:
|
|
2151
|
-
groupBy:
|
|
2144
|
+
getCostSummary: (params: zod33.infer<zod33.ZodObject<{
|
|
2145
|
+
startDate: zod33.ZodDate;
|
|
2146
|
+
endDate: zod33.ZodDate;
|
|
2147
|
+
configId: zod33.ZodOptional<zod33.ZodString>;
|
|
2148
|
+
variantId: zod33.ZodOptional<zod33.ZodString>;
|
|
2149
|
+
environmentId: zod33.ZodOptional<zod33.ZodString>;
|
|
2150
|
+
tags: zod33.ZodOptional<zod33.ZodRecord<zod33.ZodString, zod33.ZodArray<zod33.ZodString>>>;
|
|
2151
|
+
groupBy: zod33.ZodOptional<zod33.ZodEnum<{
|
|
2152
2152
|
provider: "provider";
|
|
2153
|
-
config: "config";
|
|
2154
2153
|
model: "model";
|
|
2155
2154
|
day: "day";
|
|
2156
2155
|
hour: "hour";
|
|
2156
|
+
config: "config";
|
|
2157
2157
|
}>>;
|
|
2158
2158
|
}, better_auth0.$strip>>) => Promise<{
|
|
2159
2159
|
totalCost: number;
|
|
2160
2160
|
requestCount: number;
|
|
2161
2161
|
groupKey: string;
|
|
2162
2162
|
}[]>;
|
|
2163
|
-
getRequestStats: (params:
|
|
2164
|
-
startDate:
|
|
2165
|
-
endDate:
|
|
2166
|
-
configId:
|
|
2167
|
-
variantId:
|
|
2168
|
-
environmentId:
|
|
2169
|
-
tags:
|
|
2163
|
+
getRequestStats: (params: zod33.infer<zod33.ZodObject<{
|
|
2164
|
+
startDate: zod33.ZodDate;
|
|
2165
|
+
endDate: zod33.ZodDate;
|
|
2166
|
+
configId: zod33.ZodOptional<zod33.ZodString>;
|
|
2167
|
+
variantId: zod33.ZodOptional<zod33.ZodString>;
|
|
2168
|
+
environmentId: zod33.ZodOptional<zod33.ZodString>;
|
|
2169
|
+
tags: zod33.ZodOptional<zod33.ZodRecord<zod33.ZodString, zod33.ZodArray<zod33.ZodString>>>;
|
|
2170
2170
|
}, better_auth0.$strip>>) => Promise<{
|
|
2171
2171
|
avgLatencyMs: number;
|
|
2172
2172
|
totalRequests: number;
|
|
@@ -2180,270 +2180,270 @@ declare const createDataLayer: (db: Kysely<Database>) => Promise<{
|
|
|
2180
2180
|
key: string;
|
|
2181
2181
|
value: string;
|
|
2182
2182
|
}[]>;
|
|
2183
|
-
createEnvironmentSecret: (params:
|
|
2184
|
-
environmentId:
|
|
2185
|
-
keyName:
|
|
2186
|
-
keyValue:
|
|
2183
|
+
createEnvironmentSecret: (params: zod33.infer<zod33.ZodObject<{
|
|
2184
|
+
environmentId: zod33.ZodUUID;
|
|
2185
|
+
keyName: zod33.ZodString;
|
|
2186
|
+
keyValue: zod33.ZodString;
|
|
2187
2187
|
}, better_auth0.$strip>>) => Promise<{
|
|
2188
2188
|
id: string;
|
|
2189
|
-
createdAt: Date;
|
|
2190
|
-
updatedAt: Date;
|
|
2191
2189
|
environmentId: string;
|
|
2192
2190
|
keyName: string;
|
|
2193
2191
|
keyValue: string;
|
|
2192
|
+
createdAt: Date;
|
|
2193
|
+
updatedAt: Date;
|
|
2194
2194
|
} | undefined>;
|
|
2195
|
-
updateEnvironmentSecret: (params:
|
|
2196
|
-
secretId:
|
|
2197
|
-
keyName:
|
|
2198
|
-
keyValue:
|
|
2195
|
+
updateEnvironmentSecret: (params: zod33.infer<zod33.ZodObject<{
|
|
2196
|
+
secretId: zod33.ZodUUID;
|
|
2197
|
+
keyName: zod33.ZodOptional<zod33.ZodString>;
|
|
2198
|
+
keyValue: zod33.ZodOptional<zod33.ZodString>;
|
|
2199
2199
|
}, better_auth0.$strip>>) => Promise<{
|
|
2200
2200
|
id: string;
|
|
2201
|
-
createdAt: Date;
|
|
2202
|
-
updatedAt: Date;
|
|
2203
2201
|
environmentId: string;
|
|
2204
2202
|
keyName: string;
|
|
2205
2203
|
keyValue: string;
|
|
2204
|
+
createdAt: Date;
|
|
2205
|
+
updatedAt: Date;
|
|
2206
2206
|
} | undefined>;
|
|
2207
|
-
getEnvironmentSecretById: (params:
|
|
2208
|
-
secretId:
|
|
2207
|
+
getEnvironmentSecretById: (params: zod33.infer<zod33.ZodObject<{
|
|
2208
|
+
secretId: zod33.ZodUUID;
|
|
2209
2209
|
}, better_auth0.$strip>>) => Promise<{
|
|
2210
2210
|
id: string;
|
|
2211
|
-
createdAt: Date;
|
|
2212
|
-
updatedAt: Date;
|
|
2213
2211
|
environmentId: string;
|
|
2214
2212
|
keyName: string;
|
|
2215
2213
|
keyValue: string;
|
|
2214
|
+
createdAt: Date;
|
|
2215
|
+
updatedAt: Date;
|
|
2216
2216
|
} | undefined>;
|
|
2217
|
-
getSecretsByEnvironmentId: (params:
|
|
2218
|
-
environmentId:
|
|
2217
|
+
getSecretsByEnvironmentId: (params: zod33.infer<zod33.ZodObject<{
|
|
2218
|
+
environmentId: zod33.ZodUUID;
|
|
2219
2219
|
}, better_auth0.$strip>>) => Promise<{
|
|
2220
2220
|
id: string;
|
|
2221
|
-
createdAt: Date;
|
|
2222
|
-
updatedAt: Date;
|
|
2223
2221
|
environmentId: string;
|
|
2224
2222
|
keyName: string;
|
|
2225
2223
|
keyValue: string;
|
|
2224
|
+
createdAt: Date;
|
|
2225
|
+
updatedAt: Date;
|
|
2226
2226
|
}[]>;
|
|
2227
|
-
deleteEnvironmentSecret: (params:
|
|
2228
|
-
secretId:
|
|
2227
|
+
deleteEnvironmentSecret: (params: zod33.infer<zod33.ZodObject<{
|
|
2228
|
+
secretId: zod33.ZodUUID;
|
|
2229
2229
|
}, better_auth0.$strip>>) => Promise<{
|
|
2230
2230
|
id: string;
|
|
2231
|
-
createdAt: Date;
|
|
2232
|
-
updatedAt: Date;
|
|
2233
2231
|
environmentId: string;
|
|
2234
2232
|
keyName: string;
|
|
2235
2233
|
keyValue: string;
|
|
2234
|
+
createdAt: Date;
|
|
2235
|
+
updatedAt: Date;
|
|
2236
2236
|
} | undefined>;
|
|
2237
|
-
deleteSecretsByEnvironmentId: (params:
|
|
2238
|
-
environmentId:
|
|
2237
|
+
deleteSecretsByEnvironmentId: (params: zod33.infer<zod33.ZodObject<{
|
|
2238
|
+
environmentId: zod33.ZodUUID;
|
|
2239
2239
|
}, better_auth0.$strip>>) => Promise<{
|
|
2240
2240
|
id: string;
|
|
2241
|
-
createdAt: Date;
|
|
2242
|
-
updatedAt: Date;
|
|
2243
2241
|
environmentId: string;
|
|
2244
2242
|
keyName: string;
|
|
2245
2243
|
keyValue: string;
|
|
2244
|
+
createdAt: Date;
|
|
2245
|
+
updatedAt: Date;
|
|
2246
2246
|
}[]>;
|
|
2247
|
-
listEnvironmentSecrets: (params?:
|
|
2248
|
-
limit:
|
|
2249
|
-
offset:
|
|
2247
|
+
listEnvironmentSecrets: (params?: zod33.infer<zod33.ZodObject<{
|
|
2248
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2249
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2250
2250
|
}, better_auth0.$strip>>) => Promise<{
|
|
2251
2251
|
id: string;
|
|
2252
|
-
createdAt: Date;
|
|
2253
|
-
updatedAt: Date;
|
|
2254
2252
|
environmentId: string;
|
|
2255
2253
|
keyName: string;
|
|
2256
2254
|
keyValue: string;
|
|
2255
|
+
createdAt: Date;
|
|
2256
|
+
updatedAt: Date;
|
|
2257
2257
|
}[]>;
|
|
2258
2258
|
countEnvironmentSecrets: () => Promise<number>;
|
|
2259
|
-
createNewEnvironment: (params:
|
|
2260
|
-
name:
|
|
2261
|
-
slug:
|
|
2262
|
-
isProd:
|
|
2259
|
+
createNewEnvironment: (params: zod33.infer<zod33.ZodObject<{
|
|
2260
|
+
name: zod33.ZodString;
|
|
2261
|
+
slug: zod33.ZodString;
|
|
2262
|
+
isProd: zod33.ZodDefault<zod33.ZodOptional<zod33.ZodBoolean>>;
|
|
2263
2263
|
}, better_auth0.$strip>>) => Promise<{
|
|
2264
|
-
slug: string;
|
|
2265
2264
|
name: string;
|
|
2266
2265
|
id: string;
|
|
2266
|
+
slug: string;
|
|
2267
|
+
isProd: boolean;
|
|
2267
2268
|
createdAt: Date;
|
|
2268
2269
|
updatedAt: Date;
|
|
2269
|
-
isProd: boolean;
|
|
2270
2270
|
} | undefined>;
|
|
2271
|
-
updateEnvironment: (params:
|
|
2272
|
-
environmentId:
|
|
2273
|
-
name:
|
|
2274
|
-
slug:
|
|
2271
|
+
updateEnvironment: (params: zod33.infer<zod33.ZodObject<{
|
|
2272
|
+
environmentId: zod33.ZodUUID;
|
|
2273
|
+
name: zod33.ZodOptional<zod33.ZodString>;
|
|
2274
|
+
slug: zod33.ZodOptional<zod33.ZodString>;
|
|
2275
2275
|
}, better_auth0.$strip>>) => Promise<{
|
|
2276
|
-
slug: string;
|
|
2277
2276
|
name: string;
|
|
2278
2277
|
id: string;
|
|
2278
|
+
slug: string;
|
|
2279
|
+
isProd: boolean;
|
|
2279
2280
|
createdAt: Date;
|
|
2280
2281
|
updatedAt: Date;
|
|
2281
|
-
isProd: boolean;
|
|
2282
2282
|
} | undefined>;
|
|
2283
|
-
getEnvironmentById: (params:
|
|
2284
|
-
environmentId:
|
|
2283
|
+
getEnvironmentById: (params: zod33.infer<zod33.ZodObject<{
|
|
2284
|
+
environmentId: zod33.ZodUUID;
|
|
2285
2285
|
}, better_auth0.$strip>>) => Promise<{
|
|
2286
|
-
slug: string;
|
|
2287
2286
|
name: string;
|
|
2288
2287
|
id: string;
|
|
2288
|
+
slug: string;
|
|
2289
|
+
isProd: boolean;
|
|
2289
2290
|
createdAt: Date;
|
|
2290
2291
|
updatedAt: Date;
|
|
2291
|
-
isProd: boolean;
|
|
2292
2292
|
} | undefined>;
|
|
2293
|
-
getEnvironmentBySlug: (params:
|
|
2294
|
-
slug:
|
|
2293
|
+
getEnvironmentBySlug: (params: zod33.infer<zod33.ZodObject<{
|
|
2294
|
+
slug: zod33.ZodString;
|
|
2295
2295
|
}, better_auth0.$strip>>) => Promise<{
|
|
2296
|
-
slug: string;
|
|
2297
2296
|
name: string;
|
|
2298
2297
|
id: string;
|
|
2298
|
+
slug: string;
|
|
2299
|
+
isProd: boolean;
|
|
2299
2300
|
createdAt: Date;
|
|
2300
2301
|
updatedAt: Date;
|
|
2301
|
-
isProd: boolean;
|
|
2302
2302
|
} | undefined>;
|
|
2303
|
-
deleteEnvironment: (params:
|
|
2304
|
-
environmentId:
|
|
2303
|
+
deleteEnvironment: (params: zod33.infer<zod33.ZodObject<{
|
|
2304
|
+
environmentId: zod33.ZodUUID;
|
|
2305
2305
|
}, better_auth0.$strip>>) => Promise<{
|
|
2306
|
-
slug: string;
|
|
2307
2306
|
name: string;
|
|
2308
2307
|
id: string;
|
|
2308
|
+
slug: string;
|
|
2309
|
+
isProd: boolean;
|
|
2309
2310
|
createdAt: Date;
|
|
2310
2311
|
updatedAt: Date;
|
|
2311
|
-
isProd: boolean;
|
|
2312
2312
|
} | undefined>;
|
|
2313
|
-
listEnvironments: (params?:
|
|
2314
|
-
limit:
|
|
2315
|
-
offset:
|
|
2313
|
+
listEnvironments: (params?: zod33.infer<zod33.ZodObject<{
|
|
2314
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2315
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2316
2316
|
}, better_auth0.$strip>>) => Promise<{
|
|
2317
|
-
slug: string;
|
|
2318
2317
|
name: string;
|
|
2319
2318
|
id: string;
|
|
2319
|
+
slug: string;
|
|
2320
|
+
isProd: boolean;
|
|
2320
2321
|
createdAt: Date;
|
|
2321
2322
|
updatedAt: Date;
|
|
2322
|
-
isProd: boolean;
|
|
2323
2323
|
}[]>;
|
|
2324
2324
|
countEnvironments: () => Promise<number>;
|
|
2325
|
-
createConfigVariant: (params:
|
|
2326
|
-
configId:
|
|
2327
|
-
variantId:
|
|
2325
|
+
createConfigVariant: (params: zod33.infer<zod33.ZodObject<{
|
|
2326
|
+
configId: zod33.ZodString;
|
|
2327
|
+
variantId: zod33.ZodString;
|
|
2328
2328
|
}, better_auth0.$strip>>) => Promise<{
|
|
2329
|
+
configId: string;
|
|
2330
|
+
variantId: string;
|
|
2329
2331
|
id: string;
|
|
2330
2332
|
createdAt: Date;
|
|
2331
2333
|
updatedAt: Date;
|
|
2332
|
-
variantId: string;
|
|
2333
|
-
configId: string;
|
|
2334
2334
|
} | undefined>;
|
|
2335
|
-
getConfigVariantById: (params:
|
|
2336
|
-
id:
|
|
2335
|
+
getConfigVariantById: (params: zod33.infer<zod33.ZodObject<{
|
|
2336
|
+
id: zod33.ZodString;
|
|
2337
2337
|
}, better_auth0.$strip>>) => Promise<{
|
|
2338
|
+
configId: string;
|
|
2339
|
+
variantId: string;
|
|
2338
2340
|
id: string;
|
|
2339
2341
|
createdAt: Date;
|
|
2340
2342
|
updatedAt: Date;
|
|
2341
|
-
variantId: string;
|
|
2342
|
-
configId: string;
|
|
2343
2343
|
} | undefined>;
|
|
2344
|
-
getConfigVariantsByConfigId: (params:
|
|
2345
|
-
configId:
|
|
2346
|
-
limit:
|
|
2347
|
-
offset:
|
|
2344
|
+
getConfigVariantsByConfigId: (params: zod33.infer<zod33.ZodObject<{
|
|
2345
|
+
configId: zod33.ZodString;
|
|
2346
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2347
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2348
2348
|
}, better_auth0.$strip>>) => Promise<{
|
|
2349
|
+
configId: string;
|
|
2350
|
+
variantId: string;
|
|
2349
2351
|
id: string;
|
|
2350
2352
|
createdAt: Date;
|
|
2351
2353
|
updatedAt: Date;
|
|
2352
|
-
variantId: string;
|
|
2353
|
-
configId: string;
|
|
2354
2354
|
}[]>;
|
|
2355
|
-
getConfigVariantsByVariantId: (params:
|
|
2356
|
-
variantId:
|
|
2357
|
-
limit:
|
|
2358
|
-
offset:
|
|
2355
|
+
getConfigVariantsByVariantId: (params: zod33.infer<zod33.ZodObject<{
|
|
2356
|
+
variantId: zod33.ZodString;
|
|
2357
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2358
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2359
2359
|
}, better_auth0.$strip>>) => Promise<{
|
|
2360
|
+
configId: string;
|
|
2361
|
+
variantId: string;
|
|
2360
2362
|
id: string;
|
|
2361
2363
|
createdAt: Date;
|
|
2362
2364
|
updatedAt: Date;
|
|
2363
|
-
variantId: string;
|
|
2364
|
-
configId: string;
|
|
2365
2365
|
}[]>;
|
|
2366
|
-
deleteConfigVariant: (params:
|
|
2367
|
-
id:
|
|
2366
|
+
deleteConfigVariant: (params: zod33.infer<zod33.ZodObject<{
|
|
2367
|
+
id: zod33.ZodString;
|
|
2368
2368
|
}, better_auth0.$strip>>) => Promise<{
|
|
2369
|
+
configId: string;
|
|
2370
|
+
variantId: string;
|
|
2369
2371
|
id: string;
|
|
2370
2372
|
createdAt: Date;
|
|
2371
2373
|
updatedAt: Date;
|
|
2372
|
-
variantId: string;
|
|
2373
|
-
configId: string;
|
|
2374
2374
|
} | undefined>;
|
|
2375
|
-
deleteConfigVariantByIds: (params:
|
|
2376
|
-
configId:
|
|
2377
|
-
variantId:
|
|
2375
|
+
deleteConfigVariantByIds: (params: zod33.infer<zod33.ZodObject<{
|
|
2376
|
+
configId: zod33.ZodString;
|
|
2377
|
+
variantId: zod33.ZodString;
|
|
2378
2378
|
}, better_auth0.$strip>>) => Promise<{
|
|
2379
|
+
configId: string;
|
|
2380
|
+
variantId: string;
|
|
2379
2381
|
id: string;
|
|
2380
2382
|
createdAt: Date;
|
|
2381
2383
|
updatedAt: Date;
|
|
2382
|
-
variantId: string;
|
|
2383
|
-
configId: string;
|
|
2384
2384
|
} | undefined>;
|
|
2385
|
-
listConfigVariants: (params?:
|
|
2386
|
-
limit:
|
|
2387
|
-
offset:
|
|
2385
|
+
listConfigVariants: (params?: zod33.infer<zod33.ZodObject<{
|
|
2386
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2387
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2388
2388
|
}, better_auth0.$strip>>) => Promise<{
|
|
2389
|
+
configId: string;
|
|
2390
|
+
variantId: string;
|
|
2389
2391
|
id: string;
|
|
2390
2392
|
createdAt: Date;
|
|
2391
2393
|
updatedAt: Date;
|
|
2392
|
-
variantId: string;
|
|
2393
|
-
configId: string;
|
|
2394
2394
|
}[]>;
|
|
2395
|
-
getConfigVariantWithDetails: (params:
|
|
2396
|
-
id:
|
|
2395
|
+
getConfigVariantWithDetails: (params: zod33.infer<zod33.ZodObject<{
|
|
2396
|
+
id: zod33.ZodString;
|
|
2397
2397
|
}, better_auth0.$strip>>) => Promise<{
|
|
2398
2398
|
latestVersion: {
|
|
2399
2399
|
version: number;
|
|
2400
|
-
id: string;
|
|
2401
|
-
createdAt: Date;
|
|
2402
|
-
updatedAt: Date;
|
|
2403
2400
|
variantId: string;
|
|
2401
|
+
id: string;
|
|
2404
2402
|
provider: string;
|
|
2405
2403
|
modelName: string;
|
|
2406
2404
|
jsonData: Record<string, unknown>;
|
|
2405
|
+
createdAt: Date;
|
|
2406
|
+
updatedAt: Date;
|
|
2407
2407
|
} | null;
|
|
2408
2408
|
variantName: string | null;
|
|
2409
2409
|
id: string;
|
|
2410
|
+
configId: string;
|
|
2411
|
+
variantId: string;
|
|
2410
2412
|
createdAt: Date;
|
|
2411
2413
|
updatedAt: Date;
|
|
2412
|
-
variantId: string;
|
|
2413
|
-
configId: string;
|
|
2414
2414
|
configName: string | null | undefined;
|
|
2415
2415
|
} | undefined>;
|
|
2416
|
-
getConfigVariantsWithDetailsByConfigId: (params:
|
|
2417
|
-
configId:
|
|
2418
|
-
limit:
|
|
2419
|
-
offset:
|
|
2416
|
+
getConfigVariantsWithDetailsByConfigId: (params: zod33.infer<zod33.ZodObject<{
|
|
2417
|
+
configId: zod33.ZodString;
|
|
2418
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2419
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2420
2420
|
}, better_auth0.$strip>>) => Promise<{
|
|
2421
2421
|
provider: string | null;
|
|
2422
2422
|
modelName: string | null;
|
|
2423
2423
|
jsonData: Record<string, unknown> | null;
|
|
2424
2424
|
latestVersion: {
|
|
2425
2425
|
version: number;
|
|
2426
|
-
id: string;
|
|
2427
|
-
createdAt: Date;
|
|
2428
|
-
updatedAt: Date;
|
|
2429
2426
|
variantId: string;
|
|
2427
|
+
id: string;
|
|
2430
2428
|
provider: string;
|
|
2431
2429
|
modelName: string;
|
|
2432
2430
|
jsonData: Record<string, unknown>;
|
|
2431
|
+
createdAt: Date;
|
|
2432
|
+
updatedAt: Date;
|
|
2433
2433
|
} | null;
|
|
2434
2434
|
name: string | null;
|
|
2435
2435
|
id: string;
|
|
2436
|
+
configId: string;
|
|
2437
|
+
variantId: string;
|
|
2436
2438
|
createdAt: Date;
|
|
2437
2439
|
updatedAt: Date;
|
|
2438
|
-
variantId: string;
|
|
2439
|
-
configId: string;
|
|
2440
2440
|
}[]>;
|
|
2441
|
-
createVariantAndLinkToConfig: (params:
|
|
2442
|
-
configId:
|
|
2443
|
-
name:
|
|
2444
|
-
provider:
|
|
2445
|
-
modelName:
|
|
2446
|
-
jsonData:
|
|
2441
|
+
createVariantAndLinkToConfig: (params: zod33.infer<zod33.ZodObject<{
|
|
2442
|
+
configId: zod33.ZodString;
|
|
2443
|
+
name: zod33.ZodString;
|
|
2444
|
+
provider: zod33.ZodString;
|
|
2445
|
+
modelName: zod33.ZodString;
|
|
2446
|
+
jsonData: zod33.ZodDefault<zod33.ZodOptional<zod33.ZodRecord<zod33.ZodString, zod33.ZodUnknown>>>;
|
|
2447
2447
|
}, better_auth0.$strip>>) => Promise<{
|
|
2448
2448
|
variant: {
|
|
2449
2449
|
name: string;
|
|
@@ -2453,25 +2453,25 @@ declare const createDataLayer: (db: Kysely<Database>) => Promise<{
|
|
|
2453
2453
|
};
|
|
2454
2454
|
version: {
|
|
2455
2455
|
version: number;
|
|
2456
|
-
id: string;
|
|
2457
|
-
createdAt: Date;
|
|
2458
|
-
updatedAt: Date;
|
|
2459
2456
|
variantId: string;
|
|
2457
|
+
id: string;
|
|
2460
2458
|
provider: string;
|
|
2461
2459
|
modelName: string;
|
|
2462
2460
|
jsonData: Record<string, unknown>;
|
|
2461
|
+
createdAt: Date;
|
|
2462
|
+
updatedAt: Date;
|
|
2463
2463
|
};
|
|
2464
2464
|
configVariant: {
|
|
2465
|
+
configId: string;
|
|
2466
|
+
variantId: string;
|
|
2465
2467
|
id: string;
|
|
2466
2468
|
createdAt: Date;
|
|
2467
2469
|
updatedAt: Date;
|
|
2468
|
-
variantId: string;
|
|
2469
|
-
configId: string;
|
|
2470
2470
|
};
|
|
2471
2471
|
}>;
|
|
2472
|
-
getVariantJsonDataForConfig: (params:
|
|
2473
|
-
configId:
|
|
2474
|
-
envSecret:
|
|
2472
|
+
getVariantJsonDataForConfig: (params: zod33.infer<zod33.ZodObject<{
|
|
2473
|
+
configId: zod33.ZodString;
|
|
2474
|
+
envSecret: zod33.ZodOptional<zod33.ZodString>;
|
|
2475
2475
|
}, better_auth0.$strip>>) => Promise<{
|
|
2476
2476
|
configId: string;
|
|
2477
2477
|
variantId: string;
|
|
@@ -2481,63 +2481,63 @@ declare const createDataLayer: (db: Kysely<Database>) => Promise<{
|
|
|
2481
2481
|
modelName: string;
|
|
2482
2482
|
jsonData: Record<string, unknown>;
|
|
2483
2483
|
}>;
|
|
2484
|
-
createNewConfig: (params:
|
|
2485
|
-
name:
|
|
2484
|
+
createNewConfig: (params: zod33.infer<zod33.ZodObject<{
|
|
2485
|
+
name: zod33.ZodString;
|
|
2486
2486
|
}, better_auth0.$strip>>) => Promise<{
|
|
2487
|
-
slug: string;
|
|
2488
2487
|
name: string | undefined;
|
|
2489
2488
|
id: string;
|
|
2489
|
+
slug: string;
|
|
2490
2490
|
createdAt: Date;
|
|
2491
2491
|
updatedAt: Date;
|
|
2492
2492
|
} | undefined>;
|
|
2493
|
-
updateConfigName: (params:
|
|
2494
|
-
configId:
|
|
2495
|
-
newName:
|
|
2493
|
+
updateConfigName: (params: zod33.infer<zod33.ZodObject<{
|
|
2494
|
+
configId: zod33.ZodUUID;
|
|
2495
|
+
newName: zod33.ZodString;
|
|
2496
2496
|
}, better_auth0.$strip>>) => Promise<{
|
|
2497
|
-
slug: string;
|
|
2498
2497
|
name: string | undefined;
|
|
2499
2498
|
id: string;
|
|
2499
|
+
slug: string;
|
|
2500
2500
|
createdAt: Date;
|
|
2501
2501
|
updatedAt: Date;
|
|
2502
2502
|
} | undefined>;
|
|
2503
|
-
getConfigById: (params:
|
|
2504
|
-
configId:
|
|
2503
|
+
getConfigById: (params: zod33.infer<zod33.ZodObject<{
|
|
2504
|
+
configId: zod33.ZodUUID;
|
|
2505
2505
|
}, better_auth0.$strip>>) => Promise<{
|
|
2506
|
-
slug: string;
|
|
2507
2506
|
name: string | undefined;
|
|
2508
2507
|
id: string;
|
|
2508
|
+
slug: string;
|
|
2509
2509
|
createdAt: Date;
|
|
2510
2510
|
updatedAt: Date;
|
|
2511
2511
|
} | undefined>;
|
|
2512
|
-
deleteConfig: (params:
|
|
2513
|
-
configId:
|
|
2512
|
+
deleteConfig: (params: zod33.infer<zod33.ZodObject<{
|
|
2513
|
+
configId: zod33.ZodUUID;
|
|
2514
2514
|
}, better_auth0.$strip>>) => Promise<{
|
|
2515
|
-
slug: string;
|
|
2516
2515
|
name: string | undefined;
|
|
2517
2516
|
id: string;
|
|
2517
|
+
slug: string;
|
|
2518
2518
|
createdAt: Date;
|
|
2519
2519
|
updatedAt: Date;
|
|
2520
2520
|
} | undefined>;
|
|
2521
|
-
listConfigs: (params?:
|
|
2522
|
-
limit:
|
|
2523
|
-
offset:
|
|
2521
|
+
listConfigs: (params?: zod33.infer<zod33.ZodObject<{
|
|
2522
|
+
limit: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2523
|
+
offset: zod33.ZodOptional<zod33.ZodNumber>;
|
|
2524
2524
|
}, better_auth0.$strip>>) => Promise<{
|
|
2525
|
-
slug: string;
|
|
2526
2525
|
name: string | undefined;
|
|
2527
2526
|
id: string;
|
|
2527
|
+
slug: string;
|
|
2528
2528
|
createdAt: Date;
|
|
2529
2529
|
updatedAt: Date;
|
|
2530
2530
|
}[]>;
|
|
2531
|
-
getConfigWithVariants: (params:
|
|
2532
|
-
configId:
|
|
2531
|
+
getConfigWithVariants: (params: zod33.infer<zod33.ZodObject<{
|
|
2532
|
+
configId: zod33.ZodUUID;
|
|
2533
2533
|
}, better_auth0.$strip>>) => Promise<{
|
|
2534
2534
|
provider: string | null;
|
|
2535
2535
|
modelName: string | null;
|
|
2536
2536
|
jsonData: Record<string, unknown> | null;
|
|
2537
2537
|
variantName: string | null;
|
|
2538
2538
|
id: string;
|
|
2539
|
-
slug: string;
|
|
2540
2539
|
name: string | undefined;
|
|
2540
|
+
slug: string;
|
|
2541
2541
|
createdAt: Date;
|
|
2542
2542
|
updatedAt: Date;
|
|
2543
2543
|
variantId: string | null;
|