@jsdev_ninja/core 0.14.9 → 0.15.0

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.
@@ -839,6 +839,7 @@ export declare const OrderSchema: z.ZodObject<{
839
839
  lastActivityDate: z.ZodNumber;
840
840
  paymentType: z.ZodOptional<z.ZodEnum<["external", "j5", "none"]>>;
841
841
  organizationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
842
+ organizationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
842
843
  }, "strip", z.ZodTypeAny, {
843
844
  type: "Profile";
844
845
  id: string;
@@ -864,6 +865,7 @@ export declare const OrderSchema: z.ZodObject<{
864
865
  } | undefined;
865
866
  paymentType?: "none" | "external" | "j5" | undefined;
866
867
  organizationId?: string | null | undefined;
868
+ organizationIds?: string[] | undefined;
867
869
  }, {
868
870
  type: "Profile";
869
871
  id: string;
@@ -889,6 +891,7 @@ export declare const OrderSchema: z.ZodObject<{
889
891
  } | undefined;
890
892
  paymentType?: "none" | "external" | "j5" | undefined;
891
893
  organizationId?: string | null | undefined;
894
+ organizationIds?: string[] | undefined;
892
895
  }>>;
893
896
  address: z.ZodOptional<z.ZodObject<{
894
897
  country: z.ZodOptional<z.ZodString>;
@@ -1504,6 +1507,7 @@ export declare const OrderSchema: z.ZodObject<{
1504
1507
  } | undefined;
1505
1508
  paymentType?: "none" | "external" | "j5" | undefined;
1506
1509
  organizationId?: string | null | undefined;
1510
+ organizationIds?: string[] | undefined;
1507
1511
  } | undefined;
1508
1512
  emailOnInvoice?: string | undefined;
1509
1513
  phoneNumberOnInvoice?: string | undefined;
@@ -1776,6 +1780,7 @@ export declare const OrderSchema: z.ZodObject<{
1776
1780
  } | undefined;
1777
1781
  paymentType?: "none" | "external" | "j5" | undefined;
1778
1782
  organizationId?: string | null | undefined;
1783
+ organizationIds?: string[] | undefined;
1779
1784
  } | undefined;
1780
1785
  emailOnInvoice?: string | undefined;
1781
1786
  phoneNumberO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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDtB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -39,7 +39,10 @@ export declare const ProfileSchema: z.ZodObject<{
39
39
  createdDate: z.ZodNumber;
40
40
  lastActivityDate: z.ZodNumber;
41
41
  paymentType: z.ZodOptional<z.ZodEnum<["external", "j5", "none"]>>;
42
+ /** @deprecated Use organizationIds instead */
42
43
  organizationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
+ /** Array of organization IDs this user belongs to */
45
+ organizationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43
46
  }, "strip", z.ZodTypeAny, {
44
47
  type: "Profile";
45
48
  id: string;
@@ -65,6 +68,7 @@ export declare const ProfileSchema: z.ZodObject<{
65
68
  } | undefined;
66
69
  paymentType?: "none" | "external" | "j5" | undefined;
67
70
  organizationId?: string | null | undefined;
71
+ organizationIds?: string[] | undefined;
68
72
  }, {
69
73
  type: "Profile";
70
74
  id: string;
@@ -90,6 +94,7 @@ export declare const ProfileSchema: z.ZodObject<{
90
94
  } | undefined;
91
95
  paymentType?: "none" | "external" | "j5" | undefined;
92
96
  organizationId?: string | null | undefined;
97
+ organizationIds?: string[] | undefined;
93
98
  }>;
94
99
  export type TProfile = z.infer<typeof ProfileSchema>;
95
100
  //# sourceMappingURL=Profile.d.ts.map
@@ -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;AAKxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBxB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../lib/entities/Profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiBzB,8CAA8C;;IAE9C,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpD,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -19,5 +19,8 @@ export const ProfileSchema = z.object({
19
19
  createdDate: z.number(),
20
20
  lastActivityDate: z.number(), //todo
21
21
  paymentType: PaymentTypeSchema.optional(),
22
+ /** @deprecated Use organizationIds instead */
22
23
  organizationId: z.string().optional().nullable(),
24
+ /** Array of organization IDs this user belongs to */
25
+ organizationIds: z.array(z.string()).optional(),
23
26
  });