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

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.
@@ -60,6 +60,7 @@ export declare const CreatePackageByVersionBody: z.ZodEffects<z.ZodObject<{
60
60
  PDE: "PDE";
61
61
  }>>>;
62
62
  servingType: z.ZodEffects<z.ZodOptional<z.ZodString>, string, string>;
63
+ data: z.ZodDefault<z.ZodOptional<z.ZodAny>>;
63
64
  }, "strip", z.ZodTypeAny, {
64
65
  fileName?: string;
65
66
  fileNames?: string[];
@@ -84,6 +85,7 @@ export declare const CreatePackageByVersionBody: z.ZodEffects<z.ZodObject<{
84
85
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
85
86
  level?: "USER" | "ACCOUNT" | "PDE";
86
87
  servingType?: string;
88
+ data?: any;
87
89
  }, {
88
90
  fileName?: string;
89
91
  fileNames?: string[];
@@ -108,6 +110,7 @@ export declare const CreatePackageByVersionBody: z.ZodEffects<z.ZodObject<{
108
110
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
109
111
  level?: "USER" | "ACCOUNT" | "PDE";
110
112
  servingType?: string;
113
+ data?: any;
111
114
  }>, {
112
115
  fileName?: string;
113
116
  fileNames?: string[];
@@ -132,6 +135,7 @@ export declare const CreatePackageByVersionBody: z.ZodEffects<z.ZodObject<{
132
135
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
133
136
  level?: "USER" | "ACCOUNT" | "PDE";
134
137
  servingType?: string;
138
+ data?: any;
135
139
  }, {
136
140
  fileName?: string;
137
141
  fileNames?: string[];
@@ -156,6 +160,7 @@ export declare const CreatePackageByVersionBody: z.ZodEffects<z.ZodObject<{
156
160
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
157
161
  level?: "USER" | "ACCOUNT" | "PDE";
158
162
  servingType?: string;
163
+ data?: any;
159
164
  }>;
160
165
  export declare const CreatePackageReleaseBody: z.ZodEffects<z.ZodObject<{
161
166
  status: z.ZodOptional<z.ZodEffects<z.ZodString, any, string>>;
@@ -2,7 +2,10 @@ import { z } from 'zod';
2
2
  export declare enum PackagesOrderByEnum {
3
3
  createdAt = "createdAt",
4
4
  created = "created",
5
- updatedAt = "updatedAt"
5
+ updatedAt = "updatedAt",
6
+ label = "label",
7
+ version = "version",
8
+ versionInt = "versionInt"
6
9
  }
7
10
  export declare const GetPackagesQueryFilter: z.ZodObject<{
8
11
  filter: z.ZodDefault<z.ZodObject<{
@@ -131,7 +134,7 @@ export declare const GetPackagesQuery: z.ZodIntersection<z.ZodObject<{
131
134
  }, any>]>, {
132
135
  from?: number;
133
136
  }, any>;
134
- orderBy: z.ZodEffects<z.ZodDefault<z.ZodNativeEnum<typeof PackagesOrderByEnum>>, PackagesOrderByEnum.createdAt | PackagesOrderByEnum.updatedAt, PackagesOrderByEnum>;
137
+ orderBy: z.ZodEffects<z.ZodDefault<z.ZodNativeEnum<typeof PackagesOrderByEnum>>, PackagesOrderByEnum.createdAt | PackagesOrderByEnum.updatedAt | PackagesOrderByEnum.label | PackagesOrderByEnum.versionInt, PackagesOrderByEnum>;
135
138
  order: z.ZodDefault<z.ZodNativeEnum<{
136
139
  asc: "asc";
137
140
  desc: "desc";
@@ -151,7 +154,7 @@ export declare const GetPackagesQuery: z.ZodIntersection<z.ZodObject<{
151
154
  cursor?: {
152
155
  from?: number;
153
156
  };
154
- orderBy?: PackagesOrderByEnum.createdAt | PackagesOrderByEnum.updatedAt;
157
+ orderBy?: PackagesOrderByEnum.createdAt | PackagesOrderByEnum.updatedAt | PackagesOrderByEnum.label | PackagesOrderByEnum.versionInt;
155
158
  order?: "asc" | "desc";
156
159
  categories?: unknown[];
157
160
  includeDeprecated?: boolean;
@@ -347,6 +347,7 @@ export declare const CreatePackageByVersionUnion: z.ZodIntersection<z.ZodInterse
347
347
  PDE: "PDE";
348
348
  }>>>;
349
349
  servingType: z.ZodEffects<z.ZodOptional<z.ZodString>, string, string>;
350
+ data: z.ZodDefault<z.ZodOptional<z.ZodAny>>;
350
351
  }, "strip", z.ZodTypeAny, {
351
352
  fileName?: string;
352
353
  fileNames?: string[];
@@ -371,6 +372,7 @@ export declare const CreatePackageByVersionUnion: z.ZodIntersection<z.ZodInterse
371
372
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
372
373
  level?: "USER" | "ACCOUNT" | "PDE";
373
374
  servingType?: string;
375
+ data?: any;
374
376
  }, {
375
377
  fileName?: string;
376
378
  fileNames?: string[];
@@ -395,6 +397,7 @@ export declare const CreatePackageByVersionUnion: z.ZodIntersection<z.ZodInterse
395
397
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
396
398
  level?: "USER" | "ACCOUNT" | "PDE";
397
399
  servingType?: string;
400
+ data?: any;
398
401
  }>, {
399
402
  fileName?: string;
400
403
  fileNames?: string[];
@@ -419,6 +422,7 @@ export declare const CreatePackageByVersionUnion: z.ZodIntersection<z.ZodInterse
419
422
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
420
423
  level?: "USER" | "ACCOUNT" | "PDE";
421
424
  servingType?: string;
425
+ data?: any;
422
426
  }, {
423
427
  fileName?: string;
424
428
  fileNames?: string[];
@@ -443,6 +447,7 @@ export declare const CreatePackageByVersionUnion: z.ZodIntersection<z.ZodInterse
443
447
  status?: "TEST_ONLY" | "PENDING" | "EXTRACTING" | "UPLOADED" | "BETA" | "RELEASED" | "ACCOUNT_BETA" | "DEPRECATED";
444
448
  level?: "USER" | "ACCOUNT" | "PDE";
445
449
  servingType?: string;
450
+ data?: any;
446
451
  }>>, z.ZodObject<{
447
452
  statusDetailsReleaseData: z.ZodObject<{
448
453
  status: z.ZodEffects<z.ZodString, any, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@or-sdk/library-types-v1",
3
- "version": "6.0.10",
3
+ "version": "6.0.12",
4
4
  "description": "Request/response v1 legacy types for the OR SDK",
5
5
  "files": [
6
6
  "./dist",
@@ -20,7 +20,7 @@
20
20
  "devDependencies": {
21
21
  "nestjs-zod": "3.0.0",
22
22
  "zod": "3.22.4",
23
- "@or-sdk/library-prisma": "6.0.7"
23
+ "@or-sdk/library-prisma": "6.0.8"
24
24
  },
25
25
  "scripts": {
26
26
  "build:nest": "npx ts-node ./esbuild.nest.ts",