@jsdev_ninja/core 0.13.32 → 0.13.34
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/core.cjs.js +1 -1
- package/dist/core.cjs.js.map +1 -1
- package/dist/core.es.js +3 -1
- package/dist/core.es.js.map +1 -1
- package/dist/core.umd.js +1 -1
- package/dist/core.umd.js.map +1 -1
- package/dist/lib/entities/Order.d.ts +6 -0
- package/dist/lib/entities/Order.d.ts.map +1 -1
- package/dist/lib/entities/Order.js +2 -0
- package/dist/lib/firebase-api/index.d.ts +3 -3
- package/dist/lib/firebase-api/index.js +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -882,6 +882,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
882
882
|
apartmentNumber?: string | undefined;
|
|
883
883
|
}>>;
|
|
884
884
|
nameOnInvoice: z.ZodOptional<z.ZodString>;
|
|
885
|
+
emailOnInvoice: z.ZodOptional<z.ZodString>;
|
|
886
|
+
phoneNumberOnInvoice: z.ZodOptional<z.ZodString>;
|
|
885
887
|
clientComment: z.ZodOptional<z.ZodString>;
|
|
886
888
|
organizationId: z.ZodOptional<z.ZodString>;
|
|
887
889
|
billingAccount: z.ZodOptional<z.ZodObject<{
|
|
@@ -1465,6 +1467,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1465
1467
|
} | undefined;
|
|
1466
1468
|
organizationId?: string | null | undefined;
|
|
1467
1469
|
} | undefined;
|
|
1470
|
+
emailOnInvoice?: string | undefined;
|
|
1471
|
+
phoneNumberOnInvoice?: string | undefined;
|
|
1468
1472
|
clientComment?: string | undefined;
|
|
1469
1473
|
billingAccount?: {
|
|
1470
1474
|
number: string;
|
|
@@ -1731,6 +1735,8 @@ export declare const OrderSchema: z.ZodObject<{
|
|
|
1731
1735
|
} | undefined;
|
|
1732
1736
|
organizationId?: string | null | undefined;
|
|
1733
1737
|
} | undefined;
|
|
1738
|
+
emailOnInvoice?: string | undefined;
|
|
1739
|
+
phoneNumberOnInvoice?: string | undefined;
|
|
1734
1740
|
clientComment?: string | undefined;
|
|
1735
1741
|
billingAccount?: {
|
|
1736
1742
|
number: 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;AAkBxB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../lib/entities/Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDtB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
|
@@ -54,6 +54,8 @@ export const OrderSchema = z.object({
|
|
|
54
54
|
client: ProfileSchema.optional(),
|
|
55
55
|
address: AddressSchema.optional(),
|
|
56
56
|
nameOnInvoice: z.string().optional(),
|
|
57
|
+
emailOnInvoice: z.string().email().optional(),
|
|
58
|
+
phoneNumberOnInvoice: z.string().optional(),
|
|
57
59
|
clientComment: z.string().optional(),
|
|
58
60
|
organizationId: z.string().optional(),
|
|
59
61
|
billingAccount: BillingAccountSchema.optional(),
|
|
@@ -4,12 +4,12 @@ export declare const systemCollections: {
|
|
|
4
4
|
};
|
|
5
5
|
export declare const storeCollections: {
|
|
6
6
|
readonly products: "products";
|
|
7
|
+
readonly "favorite-products": "favorite-products";
|
|
7
8
|
readonly profiles: "profiles";
|
|
8
9
|
readonly cart: "cart";
|
|
9
10
|
readonly clients: "clients";
|
|
10
11
|
readonly orders: "orders";
|
|
11
12
|
readonly categories: "categories";
|
|
12
|
-
readonly favorites: "favorites";
|
|
13
13
|
readonly payments: "payments";
|
|
14
14
|
readonly settings: "settings";
|
|
15
15
|
readonly discounts: "discounts";
|
|
@@ -23,12 +23,12 @@ export declare const FirestoreApi: {
|
|
|
23
23
|
};
|
|
24
24
|
storeCollections: {
|
|
25
25
|
readonly products: "products";
|
|
26
|
+
readonly "favorite-products": "favorite-products";
|
|
26
27
|
readonly profiles: "profiles";
|
|
27
28
|
readonly cart: "cart";
|
|
28
29
|
readonly clients: "clients";
|
|
29
30
|
readonly orders: "orders";
|
|
30
31
|
readonly categories: "categories";
|
|
31
|
-
readonly favorites: "favorites";
|
|
32
32
|
readonly payments: "payments";
|
|
33
33
|
readonly settings: "settings";
|
|
34
34
|
readonly discounts: "discounts";
|
|
@@ -51,12 +51,12 @@ export declare const FirebaseAPI: {
|
|
|
51
51
|
};
|
|
52
52
|
storeCollections: {
|
|
53
53
|
readonly products: "products";
|
|
54
|
+
readonly "favorite-products": "favorite-products";
|
|
54
55
|
readonly profiles: "profiles";
|
|
55
56
|
readonly cart: "cart";
|
|
56
57
|
readonly clients: "clients";
|
|
57
58
|
readonly orders: "orders";
|
|
58
59
|
readonly categories: "categories";
|
|
59
|
-
readonly favorites: "favorites";
|
|
60
60
|
readonly payments: "payments";
|
|
61
61
|
readonly settings: "settings";
|
|
62
62
|
readonly discounts: "discounts";
|
|
@@ -4,12 +4,12 @@ export const systemCollections = {
|
|
|
4
4
|
};
|
|
5
5
|
export const storeCollections = {
|
|
6
6
|
products: "products",
|
|
7
|
+
"favorite-products": "favorite-products",
|
|
7
8
|
profiles: "profiles",
|
|
8
9
|
cart: "cart",
|
|
9
10
|
clients: "clients",
|
|
10
11
|
orders: "orders",
|
|
11
12
|
categories: "categories",
|
|
12
|
-
favorites: "favorites",
|
|
13
13
|
payments: "payments",
|
|
14
14
|
settings: "settings",
|
|
15
15
|
discounts: "discounts",
|