@jsdev_ninja/core 0.14.9 → 0.15.1
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 +1 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.es.js +497 -531
- 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/Budget.d.ts +68 -59
- package/dist/lib/entities/Budget.d.ts.map +1 -1
- package/dist/lib/entities/Budget.js +47 -36
- package/dist/lib/entities/Cart.d.ts +2257 -10
- package/dist/lib/entities/Cart.d.ts.map +1 -1
- package/dist/lib/entities/Cart.js +16 -0
- package/dist/lib/entities/DeliveryNote.d.ts +0 -1
- package/dist/lib/entities/DeliveryNote.d.ts.map +1 -1
- package/dist/lib/entities/Discount/index.d.ts +0 -1
- package/dist/lib/entities/Discount/index.d.ts.map +1 -1
- package/dist/lib/entities/Discount/index.js +0 -1
- package/dist/lib/entities/Invoice.d.ts +0 -2
- package/dist/lib/entities/Invoice.d.ts.map +1 -1
- package/dist/lib/entities/Locale.d.ts +0 -10
- package/dist/lib/entities/Locale.d.ts.map +1 -1
- package/dist/lib/entities/Locale.js +0 -1
- package/dist/lib/entities/Order.d.ts +1143 -2
- package/dist/lib/entities/Order.d.ts.map +1 -1
- package/dist/lib/entities/Order.js +3 -0
- package/dist/lib/entities/Profile.d.ts +5 -0
- package/dist/lib/entities/Profile.d.ts.map +1 -1
- package/dist/lib/entities/Profile.js +3 -0
- package/dist/lib/entities/SupplierInvoice.d.ts +0 -1
- package/dist/lib/entities/SupplierInvoice.d.ts.map +1 -1
- package/dist/lib/entities/index.d.ts +0 -1
- package/dist/lib/entities/index.d.ts.map +1 -1
- package/dist/lib/entities/index.js +0 -1
- package/dist/lib/firebase-api/index.d.ts +15 -0
- package/dist/lib/firebase-api/index.d.ts.map +1 -1
- package/dist/lib/firebase-api/index.js +5 -0
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +58 -58
- package/dist/lib/entities/Chatbot/index.d.ts +0 -96
- package/dist/lib/entities/Chatbot/index.d.ts.map +0 -1
- package/dist/lib/entities/Chatbot/index.js +0 -37
- package/dist/lib/entities/Discount/__tests__/utils.test.d.ts +0 -2
- package/dist/lib/entities/Discount/__tests__/utils.test.d.ts.map +0 -1
- package/dist/lib/entities/Discount/__tests__/utils.test.js +0 -55
- package/dist/lib/entities/Discount/utils.d.ts +0 -29
- package/dist/lib/entities/Discount/utils.d.ts.map +0 -1
- package/dist/lib/entities/Discount/utils.js +0 -39
- package/dist/lib/firebase-api/app.d.ts +0 -2
- package/dist/lib/firebase-api/app.d.ts.map +0 -1
- package/dist/lib/firebase-api/app.js +0 -16
|
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqDtB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
|
@@ -63,4 +63,7 @@ export const OrderSchema = z.object({
|
|
|
63
63
|
invoice: InvoiceSchema.optional(),
|
|
64
64
|
ezInvoice: EzInvoiceSchema.optional(),
|
|
65
65
|
ezDeliveryNote: EzDeliveryNoteSchema.optional(),
|
|
66
|
+
// Audit: who last changed the order + when (epoch millis). Stamped by admin writes.
|
|
67
|
+
updatedBy: z.string().optional(),
|
|
68
|
+
updatedAt: z.number().optional(),
|
|
66
69
|
});
|
|
@@ -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
|
|
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
|
});
|
|
@@ -391,6 +391,5 @@ export declare const NewSupplierInvoiceSchema: z.ZodObject<Omit<{
|
|
|
391
391
|
total?: number | undefined;
|
|
392
392
|
totalBeforeVat?: number | undefined;
|
|
393
393
|
}>;
|
|
394
|
-
export type TNewSupplierInvoice = z.infer<typeof NewSupplierInvoiceSchema>;
|
|
395
394
|
export type TSupplierInvoice = z.infer<typeof SupplierInvoiceSchema>;
|
|
396
395
|
//# sourceMappingURL=SupplierInvoice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupplierInvoice.d.ts","sourceRoot":"","sources":["../../../lib/entities/SupplierInvoice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2ChC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA2C,CAAC;AAEjF,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"SupplierInvoice.d.ts","sourceRoot":"","sources":["../../../lib/entities/SupplierInvoice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2ChC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA2C,CAAC;AAEjF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/entities/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC"}
|
|
@@ -23,6 +23,11 @@ export declare const storeCollections: {
|
|
|
23
23
|
readonly contactSubmissions: "contactSubmissions";
|
|
24
24
|
readonly budgetAccounts: "budgetAccounts";
|
|
25
25
|
readonly budgetTransactions: "budgetTransactions";
|
|
26
|
+
readonly budgetRecords: "budgetRecords";
|
|
27
|
+
readonly organizationBudgets: "organizationBudgets";
|
|
28
|
+
readonly transactions: "transactions";
|
|
29
|
+
readonly paymentLinks: "paymentLinks";
|
|
30
|
+
readonly duplicateChargeAlerts: "duplicateChargeAlerts";
|
|
26
31
|
};
|
|
27
32
|
export declare const FirestoreApi: {
|
|
28
33
|
systemCollections: {
|
|
@@ -50,6 +55,11 @@ export declare const FirestoreApi: {
|
|
|
50
55
|
readonly contactSubmissions: "contactSubmissions";
|
|
51
56
|
readonly budgetAccounts: "budgetAccounts";
|
|
52
57
|
readonly budgetTransactions: "budgetTransactions";
|
|
58
|
+
readonly budgetRecords: "budgetRecords";
|
|
59
|
+
readonly organizationBudgets: "organizationBudgets";
|
|
60
|
+
readonly transactions: "transactions";
|
|
61
|
+
readonly paymentLinks: "paymentLinks";
|
|
62
|
+
readonly duplicateChargeAlerts: "duplicateChargeAlerts";
|
|
53
63
|
};
|
|
54
64
|
getPath: ({ companyId, storeId, collectionName, id, }: {
|
|
55
65
|
companyId: string;
|
|
@@ -95,6 +105,11 @@ export declare const FirebaseAPI: {
|
|
|
95
105
|
readonly contactSubmissions: "contactSubmissions";
|
|
96
106
|
readonly budgetAccounts: "budgetAccounts";
|
|
97
107
|
readonly budgetTransactions: "budgetTransactions";
|
|
108
|
+
readonly budgetRecords: "budgetRecords";
|
|
109
|
+
readonly organizationBudgets: "organizationBudgets";
|
|
110
|
+
readonly transactions: "transactions";
|
|
111
|
+
readonly paymentLinks: "paymentLinks";
|
|
112
|
+
readonly duplicateChargeAlerts: "duplicateChargeAlerts";
|
|
98
113
|
};
|
|
99
114
|
getPath: ({ companyId, storeId, collectionName, id, }: {
|
|
100
115
|
companyId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/firebase-api/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AAEX,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","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AM,OAAO,gBAAgB;;CAQjD,CAAC"}
|
|
@@ -23,6 +23,11 @@ export const storeCollections = {
|
|
|
23
23
|
contactSubmissions: "contactSubmissions",
|
|
24
24
|
budgetAccounts: "budgetAccounts",
|
|
25
25
|
budgetTransactions: "budgetTransactions",
|
|
26
|
+
budgetRecords: "budgetRecords",
|
|
27
|
+
organizationBudgets: "organizationBudgets",
|
|
28
|
+
transactions: "transactions",
|
|
29
|
+
paymentLinks: "paymentLinks",
|
|
30
|
+
duplicateChargeAlerts: "duplicateChargeAlerts",
|
|
26
31
|
};
|
|
27
32
|
export const FirestoreApi = {
|
|
28
33
|
systemCollections,
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from "./entities";
|
|
2
2
|
export * from "./utils";
|
|
3
|
-
export { FirebaseAPI } from "./firebase-api";
|
|
3
|
+
export { FirebaseAPI, storeCollections, systemCollections } from "./firebase-api";
|
|
4
4
|
export * from "./utils/math/math";
|
|
5
5
|
export * from "./utils/storeCalculator/storeCalculator";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAClF,cAAc,mBAAmB,CAAC;AAClC,cAAc,yCAAyC,CAAC"}
|
package/dist/lib/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "./entities";
|
|
2
2
|
export * from "./utils";
|
|
3
|
-
export { FirebaseAPI } from "./firebase-api";
|
|
3
|
+
export { FirebaseAPI, storeCollections, systemCollections } from "./firebase-api";
|
|
4
4
|
export * from "./utils/math/math";
|
|
5
5
|
export * from "./utils/storeCalculator/storeCalculator";
|