@floristcloud/api-lib 1.2.34 → 1.2.35

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.
@@ -7,5 +7,5 @@ const order_status_enum_1 = require("../../../enum/order-status.enum");
7
7
  // Empty string means "unmap this status"; the server normalizes empties away
8
8
  // and validates remaining values against the live MS state list.
9
9
  exports.MoyskladOrderStateMappingSchema = zod_1.z
10
- .record(zod_1.z.nativeEnum(order_status_enum_1.OrderStatusEnum), zod_1.z.string())
10
+ .partialRecord(zod_1.z.nativeEnum(order_status_enum_1.OrderStatusEnum), zod_1.z.string())
11
11
  .nullable();
@@ -4,4 +4,5 @@ exports.ConsignmentImportNameConventionEnum = void 0;
4
4
  var ConsignmentImportNameConventionEnum;
5
5
  (function (ConsignmentImportNameConventionEnum) {
6
6
  ConsignmentImportNameConventionEnum["INVOICE_V1"] = "INVOICE_V1";
7
+ ConsignmentImportNameConventionEnum["INVOICE_V2"] = "INVOICE_V2";
7
8
  })(ConsignmentImportNameConventionEnum || (exports.ConsignmentImportNameConventionEnum = ConsignmentImportNameConventionEnum = {}));
@@ -7,5 +7,5 @@ export type MoyskladOrderStateMapping = Partial<Record<OrderStatusEnum, string>>
7
7
  // Empty string means "unmap this status"; the server normalizes empties away
8
8
  // and validates remaining values against the live MS state list.
9
9
  export const MoyskladOrderStateMappingSchema = z
10
- .record(z.nativeEnum(OrderStatusEnum), z.string())
10
+ .partialRecord(z.nativeEnum(OrderStatusEnum), z.string())
11
11
  .nullable() as z.ZodType<MoyskladOrderStateMapping | null>;
@@ -1,3 +1,4 @@
1
1
  export enum ConsignmentImportNameConventionEnum {
2
2
  INVOICE_V1 = 'INVOICE_V1',
3
+ INVOICE_V2 = 'INVOICE_V2',
3
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floristcloud/api-lib",
3
- "version": "1.2.34",
3
+ "version": "1.2.35",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {