@or-sdk/library-types-v2 6.0.14 → 6.0.16

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @or-sdk/library-types
2
2
 
3
+ ## 6.0.16
4
+
5
+ ### Patch Changes
6
+
7
+ - fbd98e96: v2 packages allow query by categrory id
8
+
9
+ ## 6.0.15
10
+
11
+ ### Patch Changes
12
+
13
+ - e7df9533: add category id for v2 response
14
+
3
15
  ## 6.0.14
4
16
 
5
17
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -11218,7 +11218,8 @@ var AddPackageResponse = z.object({
11218
11218
  });
11219
11219
  var GetPackagesListResponse = ListView.extend({
11220
11220
  categories: import_library_prisma4.prismaZodGenerated._CategoryModel.pick({
11221
- name: true
11221
+ name: true,
11222
+ id: true
11222
11223
  }).merge(
11223
11224
  z.object({
11224
11225
  total: z.number()
@@ -11286,6 +11287,9 @@ var GetPackagesParamsFilter = z.object({
11286
11287
  categories: z.object({
11287
11288
  name: InAndNotInFunc({
11288
11289
  type: z.string().trim().toLowerCase()
11290
+ }),
11291
+ id: InAndNotInFunc({
11292
+ type: z.string().trim().toLowerCase()
11289
11293
  })
11290
11294
  }).optional(),
11291
11295
  id: InAndNotInFunc({