@bizmap/sdk 0.0.111 → 0.0.112

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/main.d.ts CHANGED
@@ -774,9 +774,9 @@ declare const CreateCompanyForm: z.ZodPipe<z.ZodObject<{
774
774
  }, z.core.$strip>>>;
775
775
  email: z.ZodEmail;
776
776
  phoneNumber: z.ZodOptional<z.ZodString>;
777
- domain: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
777
+ _id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
778
778
  alias: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
779
- picture: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
779
+ logo: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
780
780
  }, z.core.$strip>, z.ZodTransform<{
781
781
  industry: "healthcare";
782
782
  address: {
@@ -786,10 +786,10 @@ declare const CreateCompanyForm: z.ZodPipe<z.ZodObject<{
786
786
  city?: string | undefined;
787
787
  };
788
788
  email: string;
789
- domain: string;
789
+ _id: string;
790
790
  phoneNumber?: string | undefined;
791
791
  alias?: string | undefined;
792
- picture?: string | null | undefined;
792
+ logo?: string | null | undefined;
793
793
  }, {
794
794
  industry: "healthcare";
795
795
  address: {
@@ -799,10 +799,10 @@ declare const CreateCompanyForm: z.ZodPipe<z.ZodObject<{
799
799
  city?: string | undefined;
800
800
  };
801
801
  email: string;
802
- domain: string;
802
+ _id: string;
803
803
  phoneNumber?: string | undefined;
804
804
  alias?: string | undefined;
805
- picture?: string | null | undefined;
805
+ logo?: string | null | undefined;
806
806
  }>>;
807
807
  type CreateCompanyForm = z.infer<typeof CreateCompanyForm>;
808
808
 
package/dist/main.js CHANGED
@@ -730,15 +730,15 @@ var CompanyInviteList = z18.record(
730
730
  // src/schemas/company/utils/CreateCompanyForm.ts
731
731
  import * as z19 from "zod";
732
732
  var CreateCompanyForm = z19.object({
733
- domain: CompanyIdentity.shape._id,
733
+ _id: CompanyIdentity.shape._id,
734
734
  alias: CompanyIdentity.shape.alias.optional(),
735
- picture: CompanyIdentity.shape.logo.optional(),
735
+ logo: CompanyIdentity.shape.logo.optional(),
736
736
  ...CompanyIdentity.shape.contact.pick({ email: true, phoneNumber: true }).shape,
737
737
  industry: CompanyIdentity.shape.industry,
738
738
  address: CompanyIdentity.shape.address.nonoptional()
739
739
  }).transform((data) => {
740
740
  if (!("alias" in data)) {
741
- data.alias = normalizeCompanyId(data.domain);
741
+ data.alias = normalizeCompanyId(data._id);
742
742
  }
743
743
  return data;
744
744
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizmap/sdk",
3
- "version": "0.0.111",
3
+ "version": "0.0.112",
4
4
  "main": "./dist/main.js",
5
5
  "types": "./dist/main.d.ts",
6
6
  "type": "module",