@meerkapp/wms-contracts 0.2.0-beta.8 → 0.2.0-beta.9

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.cjs CHANGED
@@ -170,6 +170,7 @@ __export(index_exports, {
170
170
  CountryWhereInputObjectZodSchema: () => CountryWhereInputObjectZodSchema,
171
171
  CountryWhereUniqueInputObjectSchema: () => CountryWhereUniqueInputObjectSchema,
172
172
  CountryWhereUniqueInputObjectZodSchema: () => CountryWhereUniqueInputObjectZodSchema,
173
+ CreateEmployeeSchema: () => CreateEmployeeSchema,
173
174
  CreateLocalitySchema: () => CreateLocalitySchema,
174
175
  CreateOrganizationSchema: () => CreateOrganizationSchema,
175
176
  CreateRoleSchema: () => CreateRoleSchema,
@@ -11971,6 +11972,14 @@ var EmployeeSchema = EmployeeModelSchema.omit({ password: true, warehouse: true,
11971
11972
  })
11972
11973
  )
11973
11974
  });
11975
+ var CreateEmployeeSchema = import_zod7.z.object({
11976
+ email: import_zod7.z.string().email(),
11977
+ password: import_zod7.z.string().min(8),
11978
+ firstName: import_zod7.z.string().min(1),
11979
+ lastName: import_zod7.z.string().min(1),
11980
+ warehouseId: import_zod7.z.number().int().optional(),
11981
+ roleIds: import_zod7.z.array(import_zod7.z.number().int()).optional()
11982
+ });
11974
11983
  var UpdateEmployeeSchema = import_zod7.z.object({
11975
11984
  firstName: import_zod7.z.string().optional(),
11976
11985
  lastName: import_zod7.z.string().optional(),
@@ -12150,6 +12159,7 @@ var UpdateRoleSchema = import_zod8.z.object({
12150
12159
  CountryWhereInputObjectZodSchema,
12151
12160
  CountryWhereUniqueInputObjectSchema,
12152
12161
  CountryWhereUniqueInputObjectZodSchema,
12162
+ CreateEmployeeSchema,
12153
12163
  CreateLocalitySchema,
12154
12164
  CreateOrganizationSchema,
12155
12165
  CreateRoleSchema,