@or-sdk/library-types-v1 7.0.0 → 7.0.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.
@@ -182,11 +182,18 @@ export declare const GetPackagesQueryFilter: z.ZodObject<{
182
182
  v1: "v1";
183
183
  v2: "v2";
184
184
  }>>;
185
- level: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
186
- USER: "USER";
187
- ACCOUNT: "ACCOUNT";
188
- PDE: "PDE";
189
- }>, "many">>;
185
+ level: z.ZodOptional<z.ZodEffects<z.ZodUnion<[
186
+ z.ZodArray<z.ZodNativeEnum<{
187
+ USER: "USER";
188
+ ACCOUNT: "ACCOUNT";
189
+ PDE: "PDE";
190
+ }>, "many">,
191
+ z.ZodNativeEnum<{
192
+ USER: "USER";
193
+ ACCOUNT: "ACCOUNT";
194
+ PDE: "PDE";
195
+ }>
196
+ ]>, ("USER" | "ACCOUNT" | "PDE")[], "USER" | "ACCOUNT" | "PDE" | ("USER" | "ACCOUNT" | "PDE")[]>>;
190
197
  category: z.ZodOptional<z.ZodEffects<z.ZodUnion<[
191
198
  z.ZodString,
192
199
  z.ZodArray<z.ZodString, "many">
@@ -199,7 +206,7 @@ export declare const GetPackagesQueryFilter: z.ZodObject<{
199
206
  }, {
200
207
  id?: string | undefined;
201
208
  schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1" | "v1" | "v2" | undefined;
202
- level?: ("USER" | "ACCOUNT" | "PDE")[] | undefined;
209
+ level?: "USER" | "ACCOUNT" | "PDE" | ("USER" | "ACCOUNT" | "PDE")[] | undefined;
203
210
  category?: string | string[] | undefined;
204
211
  }>>;
205
212
  }, "strip", z.ZodTypeAny, {
@@ -213,7 +220,7 @@ export declare const GetPackagesQueryFilter: z.ZodObject<{
213
220
  filter?: {
214
221
  id?: string | undefined;
215
222
  schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1" | "v1" | "v2" | undefined;
216
- level?: ("USER" | "ACCOUNT" | "PDE")[] | undefined;
223
+ level?: "USER" | "ACCOUNT" | "PDE" | ("USER" | "ACCOUNT" | "PDE")[] | undefined;
217
224
  category?: string | string[] | undefined;
218
225
  } | undefined;
219
226
  }>;
@@ -230,11 +237,18 @@ export declare const GetPackagesQuery: z.ZodIntersection<z.ZodObject<{
230
237
  v1: "v1";
231
238
  v2: "v2";
232
239
  }>>;
233
- level: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
234
- USER: "USER";
235
- ACCOUNT: "ACCOUNT";
236
- PDE: "PDE";
237
- }>, "many">>;
240
+ level: z.ZodOptional<z.ZodEffects<z.ZodUnion<[
241
+ z.ZodArray<z.ZodNativeEnum<{
242
+ USER: "USER";
243
+ ACCOUNT: "ACCOUNT";
244
+ PDE: "PDE";
245
+ }>, "many">,
246
+ z.ZodNativeEnum<{
247
+ USER: "USER";
248
+ ACCOUNT: "ACCOUNT";
249
+ PDE: "PDE";
250
+ }>
251
+ ]>, ("USER" | "ACCOUNT" | "PDE")[], "USER" | "ACCOUNT" | "PDE" | ("USER" | "ACCOUNT" | "PDE")[]>>;
238
252
  category: z.ZodOptional<z.ZodEffects<z.ZodUnion<[
239
253
  z.ZodString,
240
254
  z.ZodArray<z.ZodString, "many">
@@ -247,7 +261,7 @@ export declare const GetPackagesQuery: z.ZodIntersection<z.ZodObject<{
247
261
  }, {
248
262
  id?: string | undefined;
249
263
  schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1" | "v1" | "v2" | undefined;
250
- level?: ("USER" | "ACCOUNT" | "PDE")[] | undefined;
264
+ level?: "USER" | "ACCOUNT" | "PDE" | ("USER" | "ACCOUNT" | "PDE")[] | undefined;
251
265
  category?: string | string[] | undefined;
252
266
  }>>;
253
267
  }, "strip", z.ZodTypeAny, {
@@ -261,7 +275,7 @@ export declare const GetPackagesQuery: z.ZodIntersection<z.ZodObject<{
261
275
  filter?: {
262
276
  id?: string | undefined;
263
277
  schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1" | "v1" | "v2" | undefined;
264
- level?: ("USER" | "ACCOUNT" | "PDE")[] | undefined;
278
+ level?: "USER" | "ACCOUNT" | "PDE" | ("USER" | "ACCOUNT" | "PDE")[] | undefined;
265
279
  category?: string | string[] | undefined;
266
280
  } | undefined;
267
281
  }>, z.ZodOptional<z.ZodObject<{
@@ -1424,11 +1438,18 @@ export declare const GetPackageByIdQueryUnion: z.ZodIntersection<z.ZodObject<{
1424
1438
  v1: "v1";
1425
1439
  v2: "v2";
1426
1440
  }>>;
1427
- level: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
1428
- USER: "USER";
1429
- ACCOUNT: "ACCOUNT";
1430
- PDE: "PDE";
1431
- }>, "many">>;
1441
+ level: z.ZodOptional<z.ZodEffects<z.ZodUnion<[
1442
+ z.ZodArray<z.ZodNativeEnum<{
1443
+ USER: "USER";
1444
+ ACCOUNT: "ACCOUNT";
1445
+ PDE: "PDE";
1446
+ }>, "many">,
1447
+ z.ZodNativeEnum<{
1448
+ USER: "USER";
1449
+ ACCOUNT: "ACCOUNT";
1450
+ PDE: "PDE";
1451
+ }>
1452
+ ]>, ("USER" | "ACCOUNT" | "PDE")[], "USER" | "ACCOUNT" | "PDE" | ("USER" | "ACCOUNT" | "PDE")[]>>;
1432
1453
  category: z.ZodOptional<z.ZodEffects<z.ZodUnion<[
1433
1454
  z.ZodString,
1434
1455
  z.ZodArray<z.ZodString, "many">
@@ -1441,7 +1462,7 @@ export declare const GetPackageByIdQueryUnion: z.ZodIntersection<z.ZodObject<{
1441
1462
  }, {
1442
1463
  id?: string | undefined;
1443
1464
  schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1" | "v1" | "v2" | undefined;
1444
- level?: ("USER" | "ACCOUNT" | "PDE")[] | undefined;
1465
+ level?: "USER" | "ACCOUNT" | "PDE" | ("USER" | "ACCOUNT" | "PDE")[] | undefined;
1445
1466
  category?: string | string[] | undefined;
1446
1467
  }>>;
1447
1468
  }, "strip", z.ZodTypeAny, {
@@ -1455,7 +1476,7 @@ export declare const GetPackageByIdQueryUnion: z.ZodIntersection<z.ZodObject<{
1455
1476
  filter?: {
1456
1477
  id?: string | undefined;
1457
1478
  schemaType?: "UNKNOWN" | "LEGACY" | "LEGACY_MULTI" | "EXTERNAL" | "VUE2_V1" | "VUE3_V1" | "v1" | "v2" | undefined;
1458
- level?: ("USER" | "ACCOUNT" | "PDE")[] | undefined;
1479
+ level?: "USER" | "ACCOUNT" | "PDE" | ("USER" | "ACCOUNT" | "PDE")[] | undefined;
1459
1480
  category?: string | string[] | undefined;
1460
1481
  } | undefined;
1461
1482
  }>, z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@or-sdk/library-types-v1",
3
- "version": "7.0.0",
3
+ "version": "7.0.2",
4
4
  "description": "Request/response v1 legacy types for the OR SDK",
5
5
  "files": [
6
6
  "./dist/browser",
@@ -35,7 +35,7 @@
35
35
  "zod": "3.22.4"
36
36
  },
37
37
  "devDependencies": {
38
- "@or-sdk/library-prisma": "7.0.0"
38
+ "@or-sdk/library-prisma": "7.0.1"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "pnpm run build:nest && pnpm run build:browser",