@exclusive-website/types 2.3.2 → 2.3.4

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/types.d.ts CHANGED
@@ -220,10 +220,10 @@ export interface ModelAdminDetailReadDto {
220
220
  variableSymbol: string;
221
221
  nickname: string;
222
222
  age: number;
223
+ publishActiveUntil: Date;
224
+ topHomeActiveUntil: Date;
225
+ topGlobalActiveUntil: Date;
223
226
  location: LocationDto;
224
- isNew: boolean;
225
- isTopped: boolean;
226
- isAvailable: boolean;
227
227
  featuredImage: MediaDto;
228
228
  photos: MediaDto[];
229
229
  video: MediaDto[];
@@ -262,6 +262,13 @@ export interface TransactionReadDto {
262
262
  paidAt: Date;
263
263
  items: TransactionReadItemDto[];
264
264
  }
265
+ export interface TransactionSummaryReadDto {
266
+ qrCode: MediaDto;
267
+ iban: string;
268
+ totalAmount: number;
269
+ currency: Currency;
270
+ items: TransactionReadItemDto[];
271
+ }
265
272
  export interface TransactionReadItemDto {
266
273
  category: PricingCategory;
267
274
  durationDays: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.3.2",
3
+ "version": "2.3.4",
4
4
  "description": "A collection of shared types (DTOs and DBEs) for the organization",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/types.ts CHANGED
@@ -267,10 +267,10 @@ export interface ModelAdminDetailReadDto {
267
267
  variableSymbol: string;
268
268
  nickname: string;
269
269
  age: number;
270
+ publishActiveUntil: Date;
271
+ topHomeActiveUntil: Date;
272
+ topGlobalActiveUntil: Date;
270
273
  location: LocationDto;
271
- isNew: boolean;
272
- isTopped: boolean;
273
- isAvailable: boolean;
274
274
  featuredImage: MediaDto;
275
275
  photos: MediaDto[];
276
276
  video: MediaDto[];
@@ -311,6 +311,14 @@ export interface TransactionReadDto {
311
311
  items: TransactionReadItemDto[]
312
312
  }
313
313
 
314
+ export interface TransactionSummaryReadDto{
315
+ qrCode: MediaDto;
316
+ iban: string;
317
+ totalAmount: number;
318
+ currency: Currency;
319
+ items: TransactionReadItemDto[];
320
+ }
321
+
314
322
  export interface TransactionReadItemDto {
315
323
  category: PricingCategory
316
324
  durationDays: number;