@floristcloud/api-lib 1.0.77 → 1.0.79

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.
@@ -8,6 +8,7 @@ const GroupCreateOrdersFromPreOrdersRequestSchema = zod_1.z.object({
8
8
  consignmentUUIDs: zod_1.z.uuid().array(),
9
9
  matchingConfig: schemas_1.MatchingConfigSchema.optional().nullable(),
10
10
  isProportionalAllocation: zod_1.z.coerce.boolean().optional(),
11
+ orderProductTag: zod_1.z.string().nullable().optional(),
11
12
  });
12
13
  const GroupCreateOrdersFromPreOrdersResponseSchema = zod_1.z.object({
13
14
  message: zod_1.z.string().optional(),
@@ -29,6 +29,7 @@ __exportStar(require("./match-images-for-products.command"), exports);
29
29
  __exportStar(require("./webshop/get-client-product-list-filters-values.query"), exports);
30
30
  __exportStar(require("./webshop/get-product-list-for-client.query"), exports);
31
31
  __exportStar(require("./webshop/get-product-for-client.query"), exports);
32
+ __exportStar(require("./webshop/get-product-delivery-dates.query"), exports);
32
33
  // multiplicity options
33
34
  __exportStar(require("./multiplicity-option/get-product-multiplicity-options.query"), exports);
34
35
  __exportStar(require("./multiplicity-option/get-product-multiplicity-option-titles.query"), exports);
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetProductDeliveryDatesContractQuery = void 0;
4
+ const zod_1 = require("zod");
5
+ const GetProductDeliveryDatesRequestSchema = zod_1.z.object({});
6
+ const GetProductDeliveryDatesResponseSchema = zod_1.z.object({
7
+ message: zod_1.z.string().optional(),
8
+ data: zod_1.z.object({
9
+ deliveryDates: zod_1.z.array(zod_1.z.coerce.date()),
10
+ }),
11
+ });
12
+ var GetProductDeliveryDatesContractQuery;
13
+ (function (GetProductDeliveryDatesContractQuery) {
14
+ GetProductDeliveryDatesContractQuery.RequestSchema = GetProductDeliveryDatesRequestSchema;
15
+ GetProductDeliveryDatesContractQuery.ResponseSchema = GetProductDeliveryDatesResponseSchema;
16
+ })(GetProductDeliveryDatesContractQuery || (exports.GetProductDeliveryDatesContractQuery = GetProductDeliveryDatesContractQuery = {}));
@@ -6,6 +6,7 @@ const GroupCreateOrdersFromPreOrdersRequestSchema = z.object({
6
6
  consignmentUUIDs: z.uuid().array(),
7
7
  matchingConfig: MatchingConfigSchema.optional().nullable(),
8
8
  isProportionalAllocation: z.coerce.boolean().optional(),
9
+ orderProductTag: z.string().nullable().optional(),
9
10
  });
10
11
 
11
12
  const GroupCreateOrdersFromPreOrdersResponseSchema = z.object({
@@ -13,6 +13,7 @@ export * from './match-images-for-products.command';
13
13
  export * from './webshop/get-client-product-list-filters-values.query';
14
14
  export * from './webshop/get-product-list-for-client.query';
15
15
  export * from './webshop/get-product-for-client.query';
16
+ export * from './webshop/get-product-delivery-dates.query';
16
17
  // multiplicity options
17
18
  export * from './multiplicity-option/get-product-multiplicity-options.query';
18
19
  export * from './multiplicity-option/get-product-multiplicity-option-titles.query';
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+
3
+ const GetProductDeliveryDatesRequestSchema = z.object({});
4
+
5
+ const GetProductDeliveryDatesResponseSchema = z.object({
6
+ message: z.string().optional(),
7
+ data: z.object({
8
+ deliveryDates: z.array(z.coerce.date()),
9
+ }),
10
+ });
11
+
12
+ export namespace GetProductDeliveryDatesContractQuery {
13
+ export const RequestSchema = GetProductDeliveryDatesRequestSchema;
14
+ export type Request = z.infer<typeof RequestSchema>;
15
+
16
+ export const ResponseSchema = GetProductDeliveryDatesResponseSchema;
17
+ export type Response = z.infer<typeof ResponseSchema>;
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floristcloud/api-lib",
3
- "version": "1.0.77",
3
+ "version": "1.0.79",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {