@exclusive-website/types 2.5.5 → 2.5.7
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/filterEnums.d.ts +7 -2
- package/dist/filterEnums.js +8 -2
- package/dist/types.d.ts +14 -4
- package/package.json +1 -1
- package/src/filterEnums.ts +7 -1
- package/src/types.ts +15 -3
package/dist/filterEnums.d.ts
CHANGED
|
@@ -252,6 +252,11 @@ export declare enum ApprovedState {
|
|
|
252
252
|
}
|
|
253
253
|
export declare enum TransactionStatus {
|
|
254
254
|
PAID = "PAID",
|
|
255
|
-
|
|
256
|
-
CANCELLED = "CANCELLED"
|
|
255
|
+
UNPAID = "UNPAID",
|
|
256
|
+
CANCELLED = "CANCELLED",
|
|
257
|
+
NONE = "NONE"
|
|
258
|
+
}
|
|
259
|
+
export declare enum ApplyStatus {
|
|
260
|
+
APPLIED = "APPLIED",
|
|
261
|
+
UNAPPLIED = "UNAPPLIED"
|
|
257
262
|
}
|
package/dist/filterEnums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransactionStatus = exports.ApprovedState = exports.StateOfListing = exports.PricingCategory = exports.Currency = exports.Availability = exports.HairLength = exports.HairColor = exports.ShaveStatus = exports.OtherPractise = exports.Practise = exports.UserRole = exports.ServicesFor = exports.ContactMethod = exports.NationalityOption = exports.BreastSize = exports.AvailabilityStatus = exports.AgeRange = exports.Language = exports.DayOfWeek = exports.City = exports.Region = exports.Country = exports.ServiceType = exports.ExperienceLevel = exports.SexualOrientation = exports.DayStatus = void 0;
|
|
3
|
+
exports.ApplyStatus = exports.TransactionStatus = exports.ApprovedState = exports.StateOfListing = exports.PricingCategory = exports.Currency = exports.Availability = exports.HairLength = exports.HairColor = exports.ShaveStatus = exports.OtherPractise = exports.Practise = exports.UserRole = exports.ServicesFor = exports.ContactMethod = exports.NationalityOption = exports.BreastSize = exports.AvailabilityStatus = exports.AgeRange = exports.Language = exports.DayOfWeek = exports.City = exports.Region = exports.Country = exports.ServiceType = exports.ExperienceLevel = exports.SexualOrientation = exports.DayStatus = void 0;
|
|
4
4
|
// DAY STATUS
|
|
5
5
|
var DayStatus;
|
|
6
6
|
(function (DayStatus) {
|
|
@@ -299,6 +299,12 @@ var ApprovedState;
|
|
|
299
299
|
var TransactionStatus;
|
|
300
300
|
(function (TransactionStatus) {
|
|
301
301
|
TransactionStatus["PAID"] = "PAID";
|
|
302
|
-
TransactionStatus["
|
|
302
|
+
TransactionStatus["UNPAID"] = "UNPAID";
|
|
303
303
|
TransactionStatus["CANCELLED"] = "CANCELLED";
|
|
304
|
+
TransactionStatus["NONE"] = "NONE";
|
|
304
305
|
})(TransactionStatus = exports.TransactionStatus || (exports.TransactionStatus = {}));
|
|
306
|
+
var ApplyStatus;
|
|
307
|
+
(function (ApplyStatus) {
|
|
308
|
+
ApplyStatus["APPLIED"] = "APPLIED";
|
|
309
|
+
ApplyStatus["UNAPPLIED"] = "UNAPPLIED";
|
|
310
|
+
})(ApplyStatus = exports.ApplyStatus || (exports.ApplyStatus = {}));
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Availability, ContactMethod, Currency, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, Practise, PricingCategory, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, StateOfListing, TransactionStatus, UserRole } from "./filterEnums";
|
|
1
|
+
import { ApplyStatus, Availability, ContactMethod, Currency, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, Practise, PricingCategory, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, StateOfListing, TransactionStatus, UserRole } from "./filterEnums";
|
|
2
2
|
export interface ModelWriteDto {
|
|
3
3
|
nickname: string;
|
|
4
4
|
phoneNumber: string;
|
|
@@ -279,14 +279,24 @@ export interface ModelAdminDetailReadDto {
|
|
|
279
279
|
schedule: DaySchedule[];
|
|
280
280
|
created: Date;
|
|
281
281
|
approvedState: StateOfListing;
|
|
282
|
-
|
|
283
|
-
activeTransaction:
|
|
282
|
+
transactionStatus: TransactionStatus;
|
|
283
|
+
activeTransaction: ActiveTransactionReadDto;
|
|
284
|
+
}
|
|
285
|
+
export interface ActiveTransactionReadDto {
|
|
286
|
+
status: TransactionStatus;
|
|
287
|
+
applied: ApplyStatus;
|
|
288
|
+
totalAmount: number;
|
|
289
|
+
currency: Currency;
|
|
290
|
+
createdAt: Date;
|
|
291
|
+
items: TransactionReadItemDto[];
|
|
284
292
|
}
|
|
285
|
-
export interface
|
|
293
|
+
export interface HistoryTransactionReadDto {
|
|
286
294
|
status: TransactionStatus;
|
|
295
|
+
applied: ApplyStatus;
|
|
287
296
|
totalAmount: number;
|
|
288
297
|
currency: Currency;
|
|
289
298
|
createdAt: Date;
|
|
299
|
+
paidAt: Date;
|
|
290
300
|
items: TransactionReadItemDto[];
|
|
291
301
|
}
|
|
292
302
|
export interface TransactionSummaryReadDto {
|
package/package.json
CHANGED
package/src/filterEnums.ts
CHANGED
|
@@ -303,6 +303,12 @@ export enum ApprovedState {
|
|
|
303
303
|
|
|
304
304
|
export enum TransactionStatus {
|
|
305
305
|
PAID = "PAID",
|
|
306
|
-
|
|
306
|
+
UNPAID = "UNPAID",
|
|
307
307
|
CANCELLED = "CANCELLED",
|
|
308
|
+
NONE = "NONE",
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export enum ApplyStatus {
|
|
312
|
+
APPLIED = "APPLIED",
|
|
313
|
+
UNAPPLIED = "UNAPPLIED",
|
|
308
314
|
}
|
package/src/types.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ApplyStatus,
|
|
2
3
|
Availability,
|
|
3
4
|
ContactMethod,
|
|
4
5
|
Currency,
|
|
@@ -333,15 +334,26 @@ export interface ModelAdminDetailReadDto {
|
|
|
333
334
|
schedule: DaySchedule[];
|
|
334
335
|
created: Date;
|
|
335
336
|
approvedState: StateOfListing;
|
|
336
|
-
|
|
337
|
-
activeTransaction:
|
|
337
|
+
transactionStatus: TransactionStatus;
|
|
338
|
+
activeTransaction: ActiveTransactionReadDto;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export interface ActiveTransactionReadDto {
|
|
342
|
+
status: TransactionStatus;
|
|
343
|
+
applied: ApplyStatus;
|
|
344
|
+
totalAmount: number;
|
|
345
|
+
currency: Currency
|
|
346
|
+
createdAt: Date;
|
|
347
|
+
items: TransactionReadItemDto[]
|
|
338
348
|
}
|
|
339
349
|
|
|
340
|
-
export interface
|
|
350
|
+
export interface HistoryTransactionReadDto {
|
|
341
351
|
status: TransactionStatus;
|
|
352
|
+
applied: ApplyStatus;
|
|
342
353
|
totalAmount: number;
|
|
343
354
|
currency: Currency
|
|
344
355
|
createdAt: Date;
|
|
356
|
+
paidAt: Date;
|
|
345
357
|
items: TransactionReadItemDto[]
|
|
346
358
|
}
|
|
347
359
|
|