@jsdev_ninja/core 0.11.3 → 0.11.4

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.
@@ -754,6 +754,7 @@ export declare const OrderSchema: z.ZodObject<{
754
754
  storeId: z.ZodString;
755
755
  tenantId: z.ZodString;
756
756
  clientType: z.ZodEnum<["user", "company"]>;
757
+ companyName: z.ZodOptional<z.ZodString>;
757
758
  displayName: z.ZodString;
758
759
  email: z.ZodString;
759
760
  phoneNumber: z.ZodOptional<z.ZodString>;
@@ -799,6 +800,7 @@ export declare const OrderSchema: z.ZodObject<{
799
800
  createdDate: number;
800
801
  lastActivityDate: number;
801
802
  paymentType: "default" | "delayed";
803
+ companyName?: string | undefined;
802
804
  phoneNumber?: string | undefined;
803
805
  address?: {
804
806
  country: string;
@@ -822,6 +824,7 @@ export declare const OrderSchema: z.ZodObject<{
822
824
  createdDate: number;
823
825
  lastActivityDate: number;
824
826
  paymentType: "default" | "delayed";
827
+ companyName?: string | undefined;
825
828
  phoneNumber?: string | undefined;
826
829
  address?: {
827
830
  country: string;
@@ -954,6 +957,7 @@ export declare const OrderSchema: z.ZodObject<{
954
957
  createdDate: number;
955
958
  lastActivityDate: number;
956
959
  paymentType: "default" | "delayed";
960
+ companyName?: string | undefined;
957
961
  phoneNumber?: string | undefined;
958
962
  address?: {
959
963
  country: string;
@@ -1090,6 +1094,7 @@ export declare const OrderSchema: z.ZodObject<{
1090
1094
  createdDate: number;
1091
1095
  lastActivityDate: number;
1092
1096
  paymentType: "default" | "delayed";
1097
+ companyName?: string | undefined;
1093
1098
  phoneNumber?: string | undefined;
1094
1099
  address?: {
1095
1100
  country: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../lib/entities/Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BtB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -8,6 +8,7 @@ export declare const ProfileSchema: z.ZodObject<{
8
8
  storeId: z.ZodString;
9
9
  tenantId: z.ZodString;
10
10
  clientType: z.ZodEnum<["user", "company"]>;
11
+ companyName: z.ZodOptional<z.ZodString>;
11
12
  displayName: z.ZodString;
12
13
  email: z.ZodString;
13
14
  phoneNumber: z.ZodOptional<z.ZodString>;
@@ -53,6 +54,7 @@ export declare const ProfileSchema: z.ZodObject<{
53
54
  createdDate: number;
54
55
  lastActivityDate: number;
55
56
  paymentType: "default" | "delayed";
57
+ companyName?: string | undefined;
56
58
  phoneNumber?: string | undefined;
57
59
  address?: {
58
60
  country: string;
@@ -76,6 +78,7 @@ export declare const ProfileSchema: z.ZodObject<{
76
78
  createdDate: number;
77
79
  lastActivityDate: number;
78
80
  paymentType: "default" | "delayed";
81
+ companyName?: string | undefined;
79
82
  phoneNumber?: string | undefined;
80
83
  address?: {
81
84
  country: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../lib/entities/Profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,wBAAwB,mCAAiC,CAAC;AACvE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE3E,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAexB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAErD,wBAAgB,kBAAkB,IAAI,QAAQ,CAyB7C"}
1
+ {"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../lib/entities/Profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,wBAAwB,mCAAiC,CAAC;AACvE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE3E,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBxB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAErD,wBAAgB,kBAAkB,IAAI,QAAQ,CAyB7C"}
@@ -9,6 +9,7 @@ export const ProfileSchema = z.object({
9
9
  storeId: notEmptyTextSchema,
10
10
  tenantId: notEmptyTextSchema,
11
11
  clientType: z.enum(["user", "company"]),
12
+ companyName: z.string().optional(),
12
13
  displayName: notEmptyTextSchema,
13
14
  email: z.string().email(),
14
15
  phoneNumber: notEmptyTextSchema.optional(),
@@ -12,6 +12,7 @@ export const ProfileSchema = z.object({
12
12
  storeId: notEmptyTextSchema,
13
13
  tenantId: notEmptyTextSchema,
14
14
  clientType: z.enum(["user", "company"]),
15
+ companyName: z.string().optional(),
15
16
  displayName: notEmptyTextSchema,
16
17
  email: z.string().email(),
17
18
  phoneNumber: notEmptyTextSchema.optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsdev_ninja/core",
3
- "version": "0.11.3",
3
+ "version": "0.11.4",
4
4
  "main": "dist/core.cjs.js",
5
5
  "module": "dist/core.es.js",
6
6
  "types": "dist/index.d.ts",