@xoxno/types 1.0.63 → 1.0.64
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.
|
@@ -77,8 +77,6 @@ class CollectionProfileDoc {
|
|
|
77
77
|
this.collectionSize = 0;
|
|
78
78
|
this.holdersCount = 0;
|
|
79
79
|
this.followCount = 0;
|
|
80
|
-
this.id = '';
|
|
81
|
-
this._ts = 0;
|
|
82
80
|
Object.assign(this, props);
|
|
83
81
|
this.collection = this.collection.replace('::', '-');
|
|
84
82
|
this.id = `${this.collection}-${this.dataType}`;
|
|
@@ -318,6 +316,7 @@ __decorate([
|
|
|
318
316
|
(0, swagger_1.ApiProperty)({
|
|
319
317
|
description: 'Unique identifier for the document',
|
|
320
318
|
example: 'COLLECTION-123456-CollectionProfile',
|
|
319
|
+
required: false,
|
|
321
320
|
}),
|
|
322
321
|
__metadata("design:type", String)
|
|
323
322
|
], CollectionProfileDoc.prototype, "id", void 0);
|
|
@@ -325,6 +324,7 @@ __decorate([
|
|
|
325
324
|
(0, swagger_1.ApiProperty)({
|
|
326
325
|
description: 'Timestamp of the document',
|
|
327
326
|
example: 1640995200,
|
|
327
|
+
required: false,
|
|
328
328
|
}),
|
|
329
329
|
__metadata("design:type", Number)
|
|
330
330
|
], CollectionProfileDoc.prototype, "_ts", void 0);
|
|
@@ -104,7 +104,7 @@ class UserNotificationPreferences {
|
|
|
104
104
|
this.offersAccepted = false;
|
|
105
105
|
this.offersRejected = false;
|
|
106
106
|
this.deposits = false;
|
|
107
|
-
this.eventUpdates =
|
|
107
|
+
this.eventUpdates = false;
|
|
108
108
|
this.eventReminders = true;
|
|
109
109
|
this.eventCheckIn = true;
|
|
110
110
|
this.eventMarketing = false;
|
|
@@ -113,44 +113,66 @@ class UserNotificationPreferences {
|
|
|
113
113
|
}
|
|
114
114
|
exports.UserNotificationPreferences = UserNotificationPreferences;
|
|
115
115
|
__decorate([
|
|
116
|
-
(0, swagger_1.ApiProperty)({ description: 'Sales notifications' }),
|
|
116
|
+
(0, swagger_1.ApiProperty)({ description: 'Sales notifications', required: false }),
|
|
117
117
|
__metadata("design:type", Object)
|
|
118
118
|
], UserNotificationPreferences.prototype, "sales", void 0);
|
|
119
119
|
__decorate([
|
|
120
|
-
(0, swagger_1.ApiProperty)({ description: 'Bids notifications' }),
|
|
120
|
+
(0, swagger_1.ApiProperty)({ description: 'Bids notifications', required: false }),
|
|
121
121
|
__metadata("design:type", Object)
|
|
122
122
|
], UserNotificationPreferences.prototype, "bids", void 0);
|
|
123
123
|
__decorate([
|
|
124
|
-
(0, swagger_1.ApiProperty)({
|
|
124
|
+
(0, swagger_1.ApiProperty)({
|
|
125
|
+
description: 'Offers received notifications',
|
|
126
|
+
required: false,
|
|
127
|
+
}),
|
|
125
128
|
__metadata("design:type", Object)
|
|
126
129
|
], UserNotificationPreferences.prototype, "offersReceived", void 0);
|
|
127
130
|
__decorate([
|
|
128
|
-
(0, swagger_1.ApiProperty)({
|
|
131
|
+
(0, swagger_1.ApiProperty)({
|
|
132
|
+
description: 'Offers accepted notifications',
|
|
133
|
+
required: false,
|
|
134
|
+
}),
|
|
129
135
|
__metadata("design:type", Object)
|
|
130
136
|
], UserNotificationPreferences.prototype, "offersAccepted", void 0);
|
|
131
137
|
__decorate([
|
|
132
|
-
(0, swagger_1.ApiProperty)({
|
|
138
|
+
(0, swagger_1.ApiProperty)({
|
|
139
|
+
description: 'Offers rejected notifications',
|
|
140
|
+
required: false,
|
|
141
|
+
}),
|
|
133
142
|
__metadata("design:type", Object)
|
|
134
143
|
], UserNotificationPreferences.prototype, "offersRejected", void 0);
|
|
135
144
|
__decorate([
|
|
136
|
-
(0, swagger_1.ApiProperty)({
|
|
145
|
+
(0, swagger_1.ApiProperty)({
|
|
146
|
+
description: 'Deposits notifications',
|
|
147
|
+
required: false,
|
|
148
|
+
}),
|
|
137
149
|
__metadata("design:type", Object)
|
|
138
150
|
], UserNotificationPreferences.prototype, "deposits", void 0);
|
|
139
151
|
__decorate([
|
|
140
|
-
(0, swagger_1.ApiProperty)({
|
|
152
|
+
(0, swagger_1.ApiProperty)({
|
|
153
|
+
description: 'Event updates from organizers',
|
|
154
|
+
required: false,
|
|
155
|
+
}),
|
|
141
156
|
__metadata("design:type", Object)
|
|
142
157
|
], UserNotificationPreferences.prototype, "eventUpdates", void 0);
|
|
143
158
|
__decorate([
|
|
144
|
-
(0, swagger_1.ApiProperty)({
|
|
159
|
+
(0, swagger_1.ApiProperty)({
|
|
160
|
+
description: 'Event reminders before start time',
|
|
161
|
+
required: false,
|
|
162
|
+
}),
|
|
145
163
|
__metadata("design:type", Object)
|
|
146
164
|
], UserNotificationPreferences.prototype, "eventReminders", void 0);
|
|
147
165
|
__decorate([
|
|
148
|
-
(0, swagger_1.ApiProperty)({
|
|
166
|
+
(0, swagger_1.ApiProperty)({
|
|
167
|
+
description: 'Event check-in notifications',
|
|
168
|
+
required: false,
|
|
169
|
+
}),
|
|
149
170
|
__metadata("design:type", Object)
|
|
150
171
|
], UserNotificationPreferences.prototype, "eventCheckIn", void 0);
|
|
151
172
|
__decorate([
|
|
152
173
|
(0, swagger_1.ApiProperty)({
|
|
153
174
|
description: 'Marketing notifications from past event creators',
|
|
175
|
+
required: false,
|
|
154
176
|
}),
|
|
155
177
|
__metadata("design:type", Object)
|
|
156
178
|
], UserNotificationPreferences.prototype, "eventMarketing", void 0);
|