@xoxno/types 1.0.72 → 1.0.73
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.
|
@@ -27,6 +27,7 @@ __decorate([
|
|
|
27
27
|
(0, swagger_1.ApiProperty)({
|
|
28
28
|
description: 'Notification preference for sales',
|
|
29
29
|
example: true,
|
|
30
|
+
type: Boolean,
|
|
30
31
|
}),
|
|
31
32
|
(0, class_validator_1.IsBoolean)(),
|
|
32
33
|
__metadata("design:type", Boolean)
|
|
@@ -35,6 +36,7 @@ __decorate([
|
|
|
35
36
|
(0, swagger_1.ApiProperty)({
|
|
36
37
|
description: 'Notification preference for bids',
|
|
37
38
|
example: true,
|
|
39
|
+
type: Boolean,
|
|
38
40
|
}),
|
|
39
41
|
(0, class_validator_1.IsBoolean)(),
|
|
40
42
|
__metadata("design:type", Boolean)
|
|
@@ -43,6 +45,7 @@ __decorate([
|
|
|
43
45
|
(0, swagger_1.ApiProperty)({
|
|
44
46
|
description: 'Notification preference for offers received',
|
|
45
47
|
example: true,
|
|
48
|
+
type: Boolean,
|
|
46
49
|
}),
|
|
47
50
|
(0, class_validator_1.IsBoolean)(),
|
|
48
51
|
__metadata("design:type", Boolean)
|
|
@@ -51,6 +54,7 @@ __decorate([
|
|
|
51
54
|
(0, swagger_1.ApiProperty)({
|
|
52
55
|
description: 'Notification preference for offers accepted',
|
|
53
56
|
example: true,
|
|
57
|
+
type: Boolean,
|
|
54
58
|
}),
|
|
55
59
|
(0, class_validator_1.IsBoolean)(),
|
|
56
60
|
__metadata("design:type", Boolean)
|
|
@@ -59,6 +63,7 @@ __decorate([
|
|
|
59
63
|
(0, swagger_1.ApiProperty)({
|
|
60
64
|
description: 'Notification preference for offers rejected',
|
|
61
65
|
example: true,
|
|
66
|
+
type: Boolean,
|
|
62
67
|
}),
|
|
63
68
|
(0, class_validator_1.IsBoolean)(),
|
|
64
69
|
__metadata("design:type", Boolean)
|
|
@@ -67,6 +72,7 @@ __decorate([
|
|
|
67
72
|
(0, swagger_1.ApiProperty)({
|
|
68
73
|
description: 'Notification preference for deposits',
|
|
69
74
|
example: true,
|
|
75
|
+
type: Boolean,
|
|
70
76
|
}),
|
|
71
77
|
(0, class_validator_1.IsBoolean)(),
|
|
72
78
|
__metadata("design:type", Boolean)
|
|
@@ -113,17 +113,26 @@ class UserNotificationPreferences {
|
|
|
113
113
|
}
|
|
114
114
|
exports.UserNotificationPreferences = UserNotificationPreferences;
|
|
115
115
|
__decorate([
|
|
116
|
-
(0, swagger_1.ApiProperty)({
|
|
116
|
+
(0, swagger_1.ApiProperty)({
|
|
117
|
+
description: 'Sales notifications',
|
|
118
|
+
required: false,
|
|
119
|
+
type: Boolean,
|
|
120
|
+
}),
|
|
117
121
|
__metadata("design:type", Object)
|
|
118
122
|
], UserNotificationPreferences.prototype, "sales", void 0);
|
|
119
123
|
__decorate([
|
|
120
|
-
(0, swagger_1.ApiProperty)({
|
|
124
|
+
(0, swagger_1.ApiProperty)({
|
|
125
|
+
description: 'Bids notifications',
|
|
126
|
+
required: false,
|
|
127
|
+
type: Boolean,
|
|
128
|
+
}),
|
|
121
129
|
__metadata("design:type", Object)
|
|
122
130
|
], UserNotificationPreferences.prototype, "bids", void 0);
|
|
123
131
|
__decorate([
|
|
124
132
|
(0, swagger_1.ApiProperty)({
|
|
125
133
|
description: 'Offers received notifications',
|
|
126
134
|
required: false,
|
|
135
|
+
type: Boolean,
|
|
127
136
|
}),
|
|
128
137
|
__metadata("design:type", Object)
|
|
129
138
|
], UserNotificationPreferences.prototype, "offersReceived", void 0);
|
|
@@ -131,6 +140,7 @@ __decorate([
|
|
|
131
140
|
(0, swagger_1.ApiProperty)({
|
|
132
141
|
description: 'Offers accepted notifications',
|
|
133
142
|
required: false,
|
|
143
|
+
type: Boolean,
|
|
134
144
|
}),
|
|
135
145
|
__metadata("design:type", Object)
|
|
136
146
|
], UserNotificationPreferences.prototype, "offersAccepted", void 0);
|
|
@@ -138,6 +148,7 @@ __decorate([
|
|
|
138
148
|
(0, swagger_1.ApiProperty)({
|
|
139
149
|
description: 'Offers rejected notifications',
|
|
140
150
|
required: false,
|
|
151
|
+
type: Boolean,
|
|
141
152
|
}),
|
|
142
153
|
__metadata("design:type", Object)
|
|
143
154
|
], UserNotificationPreferences.prototype, "offersRejected", void 0);
|
|
@@ -145,6 +156,7 @@ __decorate([
|
|
|
145
156
|
(0, swagger_1.ApiProperty)({
|
|
146
157
|
description: 'Deposits notifications',
|
|
147
158
|
required: false,
|
|
159
|
+
type: Boolean,
|
|
148
160
|
}),
|
|
149
161
|
__metadata("design:type", Object)
|
|
150
162
|
], UserNotificationPreferences.prototype, "deposits", void 0);
|
|
@@ -152,6 +164,7 @@ __decorate([
|
|
|
152
164
|
(0, swagger_1.ApiProperty)({
|
|
153
165
|
description: 'Event updates from organizers',
|
|
154
166
|
required: false,
|
|
167
|
+
type: Boolean,
|
|
155
168
|
}),
|
|
156
169
|
__metadata("design:type", Object)
|
|
157
170
|
], UserNotificationPreferences.prototype, "eventUpdates", void 0);
|
|
@@ -159,6 +172,7 @@ __decorate([
|
|
|
159
172
|
(0, swagger_1.ApiProperty)({
|
|
160
173
|
description: 'Event reminders before start time',
|
|
161
174
|
required: false,
|
|
175
|
+
type: Boolean,
|
|
162
176
|
}),
|
|
163
177
|
__metadata("design:type", Object)
|
|
164
178
|
], UserNotificationPreferences.prototype, "eventReminders", void 0);
|
|
@@ -166,6 +180,7 @@ __decorate([
|
|
|
166
180
|
(0, swagger_1.ApiProperty)({
|
|
167
181
|
description: 'Event check-in notifications',
|
|
168
182
|
required: false,
|
|
183
|
+
type: Boolean,
|
|
169
184
|
}),
|
|
170
185
|
__metadata("design:type", Object)
|
|
171
186
|
], UserNotificationPreferences.prototype, "eventCheckIn", void 0);
|
|
@@ -173,6 +188,7 @@ __decorate([
|
|
|
173
188
|
(0, swagger_1.ApiProperty)({
|
|
174
189
|
description: 'Marketing notifications from past event creators',
|
|
175
190
|
required: false,
|
|
191
|
+
type: Boolean,
|
|
176
192
|
}),
|
|
177
193
|
__metadata("design:type", Object)
|
|
178
194
|
], UserNotificationPreferences.prototype, "eventMarketing", void 0);
|
|
@@ -276,7 +292,10 @@ __decorate([
|
|
|
276
292
|
__metadata("design:type", UserPhoneNotificationSettings)
|
|
277
293
|
], UserSettingsDoc.prototype, "phoneNotifications", void 0);
|
|
278
294
|
__decorate([
|
|
279
|
-
(0, swagger_1.ApiProperty)({
|
|
295
|
+
(0, swagger_1.ApiProperty)({
|
|
296
|
+
description: 'Notification preferences',
|
|
297
|
+
type: UserNotificationPreferences,
|
|
298
|
+
}),
|
|
280
299
|
__metadata("design:type", UserNotificationPreferences)
|
|
281
300
|
], UserSettingsDoc.prototype, "notificationPreferences", void 0);
|
|
282
301
|
__decorate([
|