@vulog/aima-booking 1.1.51 → 1.1.53

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.mts CHANGED
@@ -89,6 +89,7 @@ type SpecificBookingRequestFilters = {
89
89
  * default now plus 2 months
90
90
  */
91
91
  endDate?: string;
92
+ includeProducts?: 'true' | 'false';
92
93
  };
93
94
  type BookingRequestFilters = SpecificBookingRequestFilters & {
94
95
  serviceTypes?: ServiceType[];
package/dist/index.d.ts CHANGED
@@ -89,6 +89,7 @@ type SpecificBookingRequestFilters = {
89
89
  * default now plus 2 months
90
90
  */
91
91
  endDate?: string;
92
+ includeProducts?: 'true' | 'false';
92
93
  };
93
94
  type BookingRequestFilters = SpecificBookingRequestFilters & {
94
95
  serviceTypes?: ServiceType[];
package/dist/index.js CHANGED
@@ -64,7 +64,8 @@ var getBookingRequests = async (client, status, options) => {
64
64
  stationId: import_zod.z.string().uuid().optional(),
65
65
  creationDate: import_zod.z.string().date().optional(),
66
66
  startDate: import_zod.z.string().datetime({ offset: false, precision: 0 }).default(startDate),
67
- endDate: import_zod.z.string().datetime({ offset: false, precision: 0 }).default(endDate)
67
+ endDate: import_zod.z.string().datetime({ offset: false, precision: 0 }).default(endDate),
68
+ includeProducts: import_zod.z.enum(["true", "false"]).optional()
68
69
  });
69
70
  const PaginableOptionsSchema = (0, import_aima_core.createPaginableOptionsSchema)(BookingRequestFiltersSchema).default({});
70
71
  const resultOptions = PaginableOptionsSchema.safeParse(options);
package/dist/index.mjs CHANGED
@@ -32,7 +32,8 @@ var getBookingRequests = async (client, status, options) => {
32
32
  stationId: z.string().uuid().optional(),
33
33
  creationDate: z.string().date().optional(),
34
34
  startDate: z.string().datetime({ offset: false, precision: 0 }).default(startDate),
35
- endDate: z.string().datetime({ offset: false, precision: 0 }).default(endDate)
35
+ endDate: z.string().datetime({ offset: false, precision: 0 }).default(endDate),
36
+ includeProducts: z.enum(["true", "false"]).optional()
36
37
  });
37
38
  const PaginableOptionsSchema = createPaginableOptionsSchema(BookingRequestFiltersSchema).default({});
38
39
  const resultOptions = PaginableOptionsSchema.safeParse(options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vulog/aima-booking",
3
- "version": "1.1.51",
3
+ "version": "1.1.53",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -19,8 +19,8 @@
19
19
  "author": "Vulog",
20
20
  "license": "ISC",
21
21
  "dependencies": {
22
- "@vulog/aima-client": "1.1.51",
23
- "@vulog/aima-core": "1.1.51"
22
+ "@vulog/aima-client": "1.1.53",
23
+ "@vulog/aima-core": "1.1.53"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "es-toolkit": "^1.33.0",
@@ -38,6 +38,7 @@ export type SpecificBookingRequestFilters = {
38
38
  * default now plus 2 months
39
39
  */
40
40
  endDate?: string;
41
+ includeProducts?: 'true' | 'false';
41
42
  };
42
43
  export type BookingRequestFilters = SpecificBookingRequestFilters & {
43
44
  serviceTypes?: ServiceType[];
@@ -70,6 +71,7 @@ export const getBookingRequests = async (
70
71
  creationDate: z.string().date().optional(),
71
72
  startDate: z.string().datetime({ offset: false, precision: 0 }).default(startDate),
72
73
  endDate: z.string().datetime({ offset: false, precision: 0 }).default(endDate),
74
+ includeProducts: z.enum(['true', 'false']).optional(),
73
75
  });
74
76
 
75
77
  const PaginableOptionsSchema = createPaginableOptionsSchema(BookingRequestFiltersSchema).default({});