@or-sdk/library-types-v1 6.0.12 → 6.0.14

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/esm/index.js CHANGED
@@ -745,7 +745,7 @@ var require_index_browser = __commonJS({
745
745
  function Ee(e, n) {
746
746
  var i, r, t, s, o, u, l, f = 0, c = 0, a = 0, h = e.constructor, g = h.rounding, v = h.precision;
747
747
  if (!e.d || !e.d[0] || e.e > 17)
748
- return new h(e.d ? e.d[0] ? e.s < 0 ? 0 : 1 / 0 : 1 : e.s ? e.s < 0 ? 0 : e : 0 / 0);
748
+ return new h(e.d ? e.d[0] ? e.s < 0 ? 0 : 1 / 0 : 1 : e.s ? e.s < 0 ? 0 : e : NaN);
749
749
  for (n == null ? (w = false, l = v) : l = n, u = new h(0.03125); e.e > -2; )
750
750
  e = e.times(u), a += 5;
751
751
  for (r = Math.log(M(2, a)) / Math.LN10 * 2 + 5 | 0, l += r, i = s = o = new h(1), h.precision = l; ; ) {
@@ -1157,81 +1157,81 @@ var require_index_browser2 = __commonJS({
1157
1157
  exports.Prisma = Prisma2;
1158
1158
  exports.$Enums = {};
1159
1159
  Prisma2.prismaVersion = {
1160
- client: "5.4.2",
1161
- engine: "ac9d7041ed77bcc8a8dbd2ab6616b39013829574"
1160
+ client: "5.10.1",
1161
+ engine: "5a9203d0590c951969e85a7d07215503f4672eb9"
1162
1162
  };
1163
1163
  Prisma2.PrismaClientKnownRequestError = () => {
1164
1164
  throw new Error(
1165
1165
  `PrismaClientKnownRequestError is unable to be run ${runtimeDescription}.
1166
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`
1166
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`
1167
1167
  );
1168
1168
  };
1169
1169
  Prisma2.PrismaClientUnknownRequestError = () => {
1170
1170
  throw new Error(
1171
1171
  `PrismaClientUnknownRequestError is unable to be run ${runtimeDescription}.
1172
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`
1172
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`
1173
1173
  );
1174
1174
  };
1175
1175
  Prisma2.PrismaClientRustPanicError = () => {
1176
1176
  throw new Error(
1177
1177
  `PrismaClientRustPanicError is unable to be run ${runtimeDescription}.
1178
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`
1178
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`
1179
1179
  );
1180
1180
  };
1181
1181
  Prisma2.PrismaClientInitializationError = () => {
1182
1182
  throw new Error(
1183
1183
  `PrismaClientInitializationError is unable to be run ${runtimeDescription}.
1184
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`
1184
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`
1185
1185
  );
1186
1186
  };
1187
1187
  Prisma2.PrismaClientValidationError = () => {
1188
1188
  throw new Error(
1189
1189
  `PrismaClientValidationError is unable to be run ${runtimeDescription}.
1190
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`
1190
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`
1191
1191
  );
1192
1192
  };
1193
1193
  Prisma2.NotFoundError = () => {
1194
1194
  throw new Error(
1195
1195
  `NotFoundError is unable to be run ${runtimeDescription}.
1196
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`
1196
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`
1197
1197
  );
1198
1198
  };
1199
1199
  Prisma2.Decimal = Decimal2;
1200
1200
  Prisma2.sql = () => {
1201
1201
  throw new Error(
1202
1202
  `sqltag is unable to be run ${runtimeDescription}.
1203
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`
1203
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`
1204
1204
  );
1205
1205
  };
1206
1206
  Prisma2.empty = () => {
1207
1207
  throw new Error(
1208
1208
  `empty is unable to be run ${runtimeDescription}.
1209
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`
1209
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`
1210
1210
  );
1211
1211
  };
1212
1212
  Prisma2.join = () => {
1213
1213
  throw new Error(
1214
1214
  `join is unable to be run ${runtimeDescription}.
1215
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`
1215
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`
1216
1216
  );
1217
1217
  };
1218
1218
  Prisma2.raw = () => {
1219
1219
  throw new Error(
1220
1220
  `raw is unable to be run ${runtimeDescription}.
1221
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`
1221
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`
1222
1222
  );
1223
1223
  };
1224
1224
  Prisma2.validator = Public2.validator;
1225
1225
  Prisma2.getExtensionContext = () => {
1226
1226
  throw new Error(
1227
1227
  `Extensions.getExtensionContext is unable to be run ${runtimeDescription}.
1228
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`
1228
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`
1229
1229
  );
1230
1230
  };
1231
1231
  Prisma2.defineExtension = () => {
1232
1232
  throw new Error(
1233
1233
  `Extensions.defineExtension is unable to be run ${runtimeDescription}.
1234
- In case this error is unexpected for you, please report it in https://github.com/prisma/prisma/issues`
1234
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`
1235
1235
  );
1236
1236
  };
1237
1237
  Prisma2.DbNull = objectEnumValues2.instances.DbNull;
@@ -1256,6 +1256,10 @@ In case this error is unexpected for you, please report it in https://github.com
1256
1256
  error: "error",
1257
1257
  pid: "pid"
1258
1258
  };
1259
+ exports.Prisma.RelationLoadStrategy = {
1260
+ query: "query",
1261
+ join: "join"
1262
+ };
1259
1263
  exports.Prisma.CreatedByScalarFieldEnum = {
1260
1264
  id: "id",
1261
1265
  accountId: "accountId",
@@ -1306,7 +1310,8 @@ In case this error is unexpected for you, please report it in https://github.com
1306
1310
  servingType: "servingType",
1307
1311
  label: "label",
1308
1312
  description: "description",
1309
- sourceRevisionId: "sourceRevisionId"
1313
+ sourceRevisionId: "sourceRevisionId",
1314
+ fts: "fts"
1310
1315
  };
1311
1316
  exports.Prisma.PackageReleaseDataScalarFieldEnum = {
1312
1317
  revisionId: "revisionId",
@@ -1428,7 +1433,8 @@ In case this error is unexpected for you, please report it in https://github.com
1428
1433
  servingType: "servingType",
1429
1434
  label: "label",
1430
1435
  description: "description",
1431
- sourceRevisionId: "sourceRevisionId"
1436
+ sourceRevisionId: "sourceRevisionId",
1437
+ fts: "fts"
1432
1438
  };
1433
1439
  exports.Prisma.PackageReleaseDataOrderByRelevanceFieldEnum = {
1434
1440
  revisionId: "revisionId"
@@ -1473,23 +1479,26 @@ In case this error is unexpected for you, please report it in https://github.com
1473
1479
  FAILURE: "FAILURE"
1474
1480
  };
1475
1481
  exports.PackageTypeEnum = exports.$Enums.PackageTypeEnum = {
1476
- TEST_ONLY: "TEST_ONLY",
1477
- UNKNOWN: "UNKNOWN",
1478
- STEP: "STEP",
1479
- STEP_INPUT: "STEP_INPUT",
1480
- STEP_TEMPLATE: "STEP_TEMPLATE",
1481
- FLOW_TEMPLATE: "FLOW_TEMPLATE",
1482
1482
  BOT_TEMPLATE: "BOT_TEMPLATE",
1483
- TICKET_INPUT: "TICKET_INPUT",
1484
- CONTENT_INPUT: "CONTENT_INPUT",
1485
1483
  CONTENT: "CONTENT",
1484
+ CONTENT_INPUT: "CONTENT_INPUT",
1485
+ FLOW_TEMPLATE: "FLOW_TEMPLATE",
1486
1486
  NPM_UNPACKED: "NPM_UNPACKED",
1487
+ RWC_INPUT: "RWC_INPUT",
1487
1488
  S3_BUCKET: "S3_BUCKET",
1488
- RWC_INPUT: "RWC_INPUT"
1489
+ STEP: "STEP",
1490
+ STEP_INPUT: "STEP_INPUT",
1491
+ STEP_TEMPLATE: "STEP_TEMPLATE",
1492
+ TEST_ONLY: "TEST_ONLY",
1493
+ TICKET_INPUT: "TICKET_INPUT",
1494
+ UNKNOWN: "UNKNOWN"
1489
1495
  };
1490
1496
  exports.PackageSchemaTypeEnum = exports.$Enums.PackageSchemaTypeEnum = {
1491
1497
  LEGACY: "LEGACY",
1498
+ LEGACY_MULTI: "LEGACY_MULTI",
1492
1499
  EXTERNAL: "EXTERNAL",
1500
+ VUE2_V1: "VUE2_V1",
1501
+ VUE3_V1: "VUE3_V1",
1493
1502
  UNKNOWN: "UNKNOWN"
1494
1503
  };
1495
1504
  exports.PackageStatusDetailsStatusEnum = exports.$Enums.PackageStatusDetailsStatusEnum = {
@@ -1532,7 +1541,7 @@ In case this error is unexpected for you, please report it in https://github.com
1532
1541
  "workerd": "Cloudflare Workers",
1533
1542
  "deno": "Deno and Deno Deploy",
1534
1543
  "netlify": "Netlify Edge Functions",
1535
- "edge-light": "Vercel Edge Functions"
1544
+ "edge-light": "Vercel Edge Functions or Edge Middleware"
1536
1545
  }[runtime];
1537
1546
  let message = "PrismaClient is unable to run in ";
1538
1547
  if (edgeRuntimeName !== void 0) {
@@ -1541,7 +1550,7 @@ In case this error is unexpected for you, please report it in https://github.com
1541
1550
  message += "this browser environment, or has been bundled for the browser (running in `" + runtime + "`).";
1542
1551
  }
1543
1552
  message += `
1544
- If this is unexpected, please open an issue: https://github.com/prisma/prisma/issues`;
1553
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`;
1545
1554
  throw new Error(message);
1546
1555
  }
1547
1556
  });
@@ -5812,24 +5821,27 @@ var require_enums = __commonJS({
5812
5821
  })(MigrationStatus || (exports.MigrationStatus = MigrationStatus = {}));
5813
5822
  var PackageTypeEnum8;
5814
5823
  (function(PackageTypeEnum9) {
5815
- PackageTypeEnum9["TEST_ONLY"] = "TEST_ONLY";
5816
- PackageTypeEnum9["UNKNOWN"] = "UNKNOWN";
5817
- PackageTypeEnum9["STEP"] = "STEP";
5818
- PackageTypeEnum9["STEP_INPUT"] = "STEP_INPUT";
5819
- PackageTypeEnum9["STEP_TEMPLATE"] = "STEP_TEMPLATE";
5820
- PackageTypeEnum9["FLOW_TEMPLATE"] = "FLOW_TEMPLATE";
5821
5824
  PackageTypeEnum9["BOT_TEMPLATE"] = "BOT_TEMPLATE";
5822
- PackageTypeEnum9["TICKET_INPUT"] = "TICKET_INPUT";
5823
- PackageTypeEnum9["CONTENT_INPUT"] = "CONTENT_INPUT";
5824
5825
  PackageTypeEnum9["CONTENT"] = "CONTENT";
5826
+ PackageTypeEnum9["CONTENT_INPUT"] = "CONTENT_INPUT";
5827
+ PackageTypeEnum9["FLOW_TEMPLATE"] = "FLOW_TEMPLATE";
5825
5828
  PackageTypeEnum9["NPM_UNPACKED"] = "NPM_UNPACKED";
5826
- PackageTypeEnum9["S3_BUCKET"] = "S3_BUCKET";
5827
5829
  PackageTypeEnum9["RWC_INPUT"] = "RWC_INPUT";
5830
+ PackageTypeEnum9["S3_BUCKET"] = "S3_BUCKET";
5831
+ PackageTypeEnum9["STEP"] = "STEP";
5832
+ PackageTypeEnum9["STEP_INPUT"] = "STEP_INPUT";
5833
+ PackageTypeEnum9["STEP_TEMPLATE"] = "STEP_TEMPLATE";
5834
+ PackageTypeEnum9["TEST_ONLY"] = "TEST_ONLY";
5835
+ PackageTypeEnum9["TICKET_INPUT"] = "TICKET_INPUT";
5836
+ PackageTypeEnum9["UNKNOWN"] = "UNKNOWN";
5828
5837
  })(PackageTypeEnum8 || (exports.PackageTypeEnum = PackageTypeEnum8 = {}));
5829
5838
  var PackageSchemaTypeEnum6;
5830
5839
  (function(PackageSchemaTypeEnum7) {
5831
5840
  PackageSchemaTypeEnum7["LEGACY"] = "LEGACY";
5841
+ PackageSchemaTypeEnum7["LEGACY_MULTI"] = "LEGACY_MULTI";
5832
5842
  PackageSchemaTypeEnum7["EXTERNAL"] = "EXTERNAL";
5843
+ PackageSchemaTypeEnum7["VUE2_V1"] = "VUE2_V1";
5844
+ PackageSchemaTypeEnum7["VUE3_V1"] = "VUE3_V1";
5833
5845
  PackageSchemaTypeEnum7["UNKNOWN"] = "UNKNOWN";
5834
5846
  })(PackageSchemaTypeEnum6 || (exports.PackageSchemaTypeEnum = PackageSchemaTypeEnum6 = {}));
5835
5847
  var PackageStatusDetailsStatusEnum5;
@@ -6391,7 +6403,8 @@ var require_packagerelease = __commonJS({
6391
6403
  servingType: z2.string().nullish(),
6392
6404
  label: z2.string(),
6393
6405
  description: z2.string().nullish(),
6394
- sourceRevisionId: z2.string().nullish()
6406
+ sourceRevisionId: z2.string().nullish(),
6407
+ fts: z2.string().nullish()
6395
6408
  });
6396
6409
  var PackageReleaseDto = (
6397
6410
  /** @class */
@@ -11147,8 +11160,8 @@ var CreatePackageByVersionBody = z.object({
11147
11160
  revisionId: z.string().optional(),
11148
11161
  status: z.nativeEnum(import_library_prisma5.PackageStatusDetailsStatusEnum).default(import_library_prisma5.PackageStatusDetailsStatusEnum.BETA).optional(),
11149
11162
  level: z.nativeEnum(import_library_prisma5.PackageStatusDetailsLevelEnum).default(import_library_prisma5.PackageStatusDetailsLevelEnum.ACCOUNT).optional(),
11150
- servingType: z.string().optional().transform((s) => s?.toUpperCase?.()),
11151
- data: z.any().optional().default({})
11163
+ data: z.any().optional().default({}),
11164
+ schemaType: z.nativeEnum(import_library_prisma5.PackageSchemaTypeEnum).optional()
11152
11165
  }).transform((body) => {
11153
11166
  body.label = body.label || body.name;
11154
11167
  return body;
@@ -11307,8 +11320,7 @@ var GetPackageResponse = z.object({
11307
11320
  name: z.string(),
11308
11321
  description: z.string().nullable().optional(),
11309
11322
  categories: z.array(z.string()).optional(),
11310
- statusDetails: PackageStatusDetails,
11311
- servingType: z.string().optional()
11323
+ statusDetails: PackageStatusDetails
11312
11324
  });
11313
11325
  var GetPackageByIdIncludes = z.object({
11314
11326
  releaseNotes: z.object({ markdown: z.string().nullable().optional() }).optional().optional(),
@@ -11332,7 +11344,6 @@ var GetPackageByIdResponse = z.intersection(
11332
11344
  version: z.string(),
11333
11345
  baseUrl: z.string(),
11334
11346
  statusDetails: PackageStatusDetails.optional(),
11335
- servingType: z.string().optional(),
11336
11347
  createdAt: z.date().or(z.string()).optional(),
11337
11348
  revisionId: z.string().optional(),
11338
11349
  name: z.string().optional(),
@@ -11352,7 +11363,6 @@ var GetPackageByIdLatestResponse = z.intersection(
11352
11363
  version: z.string(),
11353
11364
  name: z.string().trim().optional(),
11354
11365
  baseUrl: z.string(),
11355
- servingType: z.string().optional(),
11356
11366
  releases: PackageReleases
11357
11367
  }),
11358
11368
  GetPackageByIdIncludes
@@ -11393,6 +11403,10 @@ var GetPackageSystemStatusResponse = z.object({
11393
11403
  type: z.nativeEnum(import_library_prisma7.PackageTypeEnum),
11394
11404
  version: z.string()
11395
11405
  });
11406
+ var CreatePackageFromJsonResponse = z.object({
11407
+ success: z.boolean(),
11408
+ debug: z.any().optional()
11409
+ });
11396
11410
 
11397
11411
  // src/Sources/param.ts
11398
11412
  var import_library_prisma8 = __toESM(require_dist());
@@ -11574,18 +11588,13 @@ var ForkSourceBranchResponse = z.object({
11574
11588
 
11575
11589
  // src/Sync/response.ts
11576
11590
  var import_library_prisma9 = __toESM(require_dist());
11577
- var SyncLegacyResponse = z.object({
11591
+ var SyncResponse = z.object({
11578
11592
  id: z.string(),
11579
11593
  version: z.string(),
11580
- created: z.boolean()
11581
- });
11582
- var PutLegacyVersionResponse = z.object({
11583
- id: z.string(),
11584
- version: z.string(),
11585
- revisionId: z.string(),
11586
11594
  type: z.nativeEnum(import_library_prisma9.PackageTypeEnum),
11587
- fileName: z.string().nullable().optional(),
11588
- key: z.string().nullable().optional()
11595
+ created: z.boolean(),
11596
+ key: z.string().optional(),
11597
+ debug: z.any()
11589
11598
  });
11590
11599
 
11591
11600
  // src/UploadUrl.ts
@@ -11619,6 +11628,7 @@ export {
11619
11628
  CreatePackageByVersionResponse,
11620
11629
  CreatePackageByVersionUnion,
11621
11630
  CreatePackageFromJsonBody,
11631
+ CreatePackageFromJsonResponse,
11622
11632
  CreatePackageFromJsonUnion,
11623
11633
  CreatePackageReleaseBody,
11624
11634
  CreateReleaseParams,
@@ -11655,14 +11665,13 @@ export {
11655
11665
  export_PackageTypeEnum as PackageTypeEnum,
11656
11666
  PackagesOrderByEnum,
11657
11667
  PutLegacyPackageBody,
11658
- PutLegacyVersionResponse,
11659
11668
  SetPublishedBody,
11660
11669
  SourceDataBody,
11661
11670
  SourceMetaLabelBody,
11662
11671
  SourceMetaMocksBody,
11663
11672
  SourcesParamUniversal,
11664
11673
  StatusDetailsReleaseParam,
11665
- SyncLegacyResponse,
11674
+ SyncResponse,
11666
11675
  UpdateCategoryBody,
11667
11676
  UpdateMetaBranchBodyLegacy,
11668
11677
  UploadUrlSchema,