@collctiv/l2s-models 1.0.121 → 1.0.123
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.
|
@@ -31,6 +31,7 @@ export declare class PotCreatedEvent implements IEvent {
|
|
|
31
31
|
name: string;
|
|
32
32
|
feature_image: string;
|
|
33
33
|
category: PotCategory;
|
|
34
|
+
payment_url: string;
|
|
34
35
|
constructor(args?: Partial<PotCreatedEvent>);
|
|
35
36
|
}
|
|
36
37
|
export declare class KycApprovedEvent implements IEvent {
|
|
@@ -57,6 +58,7 @@ export declare class PaymentReceivedEvent implements IEvent {
|
|
|
57
58
|
pot_name: string;
|
|
58
59
|
pot_feature_image: string;
|
|
59
60
|
pot_category: PotCategory;
|
|
61
|
+
pot_owner_full_name: string;
|
|
60
62
|
constructor(args?: Partial<PaymentReceivedEvent>);
|
|
61
63
|
}
|
|
62
64
|
export declare class OrderPlacedEvent implements IEvent {
|
|
@@ -69,6 +71,8 @@ export declare class OrderPlacedEvent implements IEvent {
|
|
|
69
71
|
shipping_type: string;
|
|
70
72
|
shipping_email: string;
|
|
71
73
|
shipping_name: string;
|
|
74
|
+
pot_name: string;
|
|
75
|
+
pot_image: string;
|
|
72
76
|
counts: Record<OrderItemType, number>;
|
|
73
77
|
items: OrderPlacedEventItem[];
|
|
74
78
|
constructor(args?: Partial<OrderPlacedEvent>);
|
|
@@ -92,6 +96,8 @@ export declare class OrderDeliveredEvent implements IEvent {
|
|
|
92
96
|
shipping_type: string;
|
|
93
97
|
shipping_email: string;
|
|
94
98
|
shipping_name: string;
|
|
99
|
+
sender_first_name: string;
|
|
100
|
+
sender_last_name: string;
|
|
95
101
|
counts: Record<OrderItemType, number>;
|
|
96
102
|
delivery: OrderDeliveredEventDelivery[];
|
|
97
103
|
constructor(args?: Partial<OrderDeliveredEvent>);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../events/notifications.ts"],"names":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AAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;CAC5B,CAAA"}
|
|
@@ -91,6 +91,7 @@ let PotCreatedEvent = class PotCreatedEvent {
|
|
|
91
91
|
name;
|
|
92
92
|
feature_image;
|
|
93
93
|
category;
|
|
94
|
+
payment_url;
|
|
94
95
|
constructor(args = {}) {
|
|
95
96
|
Object.assign(this, args);
|
|
96
97
|
}
|
|
@@ -138,6 +139,7 @@ let PaymentReceivedEvent = class PaymentReceivedEvent {
|
|
|
138
139
|
pot_name;
|
|
139
140
|
pot_feature_image;
|
|
140
141
|
pot_category;
|
|
142
|
+
pot_owner_full_name;
|
|
141
143
|
constructor(args = {}) {
|
|
142
144
|
Object.assign(this, args);
|
|
143
145
|
}
|
|
@@ -157,6 +159,8 @@ let OrderPlacedEvent = class OrderPlacedEvent {
|
|
|
157
159
|
shipping_type;
|
|
158
160
|
shipping_email;
|
|
159
161
|
shipping_name;
|
|
162
|
+
pot_name;
|
|
163
|
+
pot_image;
|
|
160
164
|
counts;
|
|
161
165
|
items = [];
|
|
162
166
|
constructor(args = {}) {
|
|
@@ -178,6 +182,8 @@ let OrderDeliveredEvent = class OrderDeliveredEvent {
|
|
|
178
182
|
shipping_type;
|
|
179
183
|
shipping_email;
|
|
180
184
|
shipping_name;
|
|
185
|
+
sender_first_name;
|
|
186
|
+
sender_last_name;
|
|
181
187
|
counts;
|
|
182
188
|
delivery = [];
|
|
183
189
|
constructor(args = {}) {
|
package/package.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
2
|
+
"name": "@collctiv/l2s-models",
|
|
3
|
+
"version": "1.0.123",
|
|
4
|
+
"description": "L2S models, interfaces, types and enums",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"test": "jest \"tests/.*\\.test\\.ts\"",
|
|
12
|
+
"build": "tsc"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/Collctiv/l2s-models.git"
|
|
17
|
+
},
|
|
18
|
+
"author": "",
|
|
19
|
+
"license": "ISC",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/Collctiv/l2s-models/issues"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/Collctiv/l2s-models#readme",
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"date-fns": "^4.4.0",
|
|
26
|
+
"reflect-metadata": "^0.2.2"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@types/node": "^25.6.0",
|
|
30
|
+
"ts-node": "^10.9.2",
|
|
31
|
+
"typescript": "^6.0.3"
|
|
32
|
+
}
|
|
33
|
+
}
|