@exclusive-website/types 2.5.6 → 2.5.8
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 +4 -0
- package/dist/filterEnums.js +6 -1
- package/dist/types.d.ts +15 -4
- package/package.json +1 -1
- package/src/filterEnums.ts +5 -0
- package/src/types.ts +16 -3
package/dist/filterEnums.d.ts
CHANGED
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) {
|
|
@@ -303,3 +303,8 @@ var TransactionStatus;
|
|
|
303
303
|
TransactionStatus["CANCELLED"] = "CANCELLED";
|
|
304
304
|
TransactionStatus["NONE"] = "NONE";
|
|
305
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,25 @@ 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
|
+
historyTransactions: HistoryTransactionReadDto[];
|
|
285
|
+
}
|
|
286
|
+
export interface ActiveTransactionReadDto {
|
|
287
|
+
status: TransactionStatus;
|
|
288
|
+
applied: ApplyStatus;
|
|
289
|
+
totalAmount: number;
|
|
290
|
+
currency: Currency;
|
|
291
|
+
createdAt: Date;
|
|
292
|
+
items: TransactionReadItemDto[];
|
|
284
293
|
}
|
|
285
|
-
export interface
|
|
294
|
+
export interface HistoryTransactionReadDto {
|
|
286
295
|
status: TransactionStatus;
|
|
296
|
+
applied: ApplyStatus;
|
|
287
297
|
totalAmount: number;
|
|
288
298
|
currency: Currency;
|
|
289
299
|
createdAt: Date;
|
|
300
|
+
paidAt: Date;
|
|
290
301
|
items: TransactionReadItemDto[];
|
|
291
302
|
}
|
|
292
303
|
export interface TransactionSummaryReadDto {
|
package/package.json
CHANGED
package/src/filterEnums.ts
CHANGED
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,27 @@ 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
|
+
historyTransactions: HistoryTransactionReadDto[];
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export interface ActiveTransactionReadDto {
|
|
343
|
+
status: TransactionStatus;
|
|
344
|
+
applied: ApplyStatus;
|
|
345
|
+
totalAmount: number;
|
|
346
|
+
currency: Currency
|
|
347
|
+
createdAt: Date;
|
|
348
|
+
items: TransactionReadItemDto[]
|
|
338
349
|
}
|
|
339
350
|
|
|
340
|
-
export interface
|
|
351
|
+
export interface HistoryTransactionReadDto {
|
|
341
352
|
status: TransactionStatus;
|
|
353
|
+
applied: ApplyStatus;
|
|
342
354
|
totalAmount: number;
|
|
343
355
|
currency: Currency
|
|
344
356
|
createdAt: Date;
|
|
357
|
+
paidAt: Date;
|
|
345
358
|
items: TransactionReadItemDto[]
|
|
346
359
|
}
|
|
347
360
|
|