@exclusive-website/types 2.3.9 → 2.4.1

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.
@@ -242,12 +242,6 @@ export declare enum StateOfListing {
242
242
  UNPUBLISHED = "UNPUBLISHED",
243
243
  DISCARDED = "DISCARDED"
244
244
  }
245
- export declare enum PendingState {
246
- ON_VERIFY = "ON_VERIFY",
247
- ON_CHANGE = "ON_CHANGE",
248
- PAID = "PAID",
249
- UNPAID = "UNPAID"
250
- }
251
245
  export declare enum ApprovedState {
252
246
  ON_VERIFY = "ON_VERIFY",
253
247
  ON_CHANGE = "ON_CHANGE",
@@ -256,6 +250,6 @@ export declare enum ApprovedState {
256
250
  }
257
251
  export declare enum TransactionStatus {
258
252
  PAID = "PAID",
259
- UNPAID = "UNPAID",
260
- NONE = "NONE"
253
+ PENDING = "PENDING",
254
+ CANCELLED = "CANCELLED"
261
255
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransactionStatus = exports.ApprovedState = exports.PendingState = 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.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) {
@@ -287,13 +287,6 @@ var StateOfListing;
287
287
  StateOfListing["UNPUBLISHED"] = "UNPUBLISHED";
288
288
  StateOfListing["DISCARDED"] = "DISCARDED";
289
289
  })(StateOfListing = exports.StateOfListing || (exports.StateOfListing = {}));
290
- var PendingState;
291
- (function (PendingState) {
292
- PendingState["ON_VERIFY"] = "ON_VERIFY";
293
- PendingState["ON_CHANGE"] = "ON_CHANGE";
294
- PendingState["PAID"] = "PAID";
295
- PendingState["UNPAID"] = "UNPAID";
296
- })(PendingState = exports.PendingState || (exports.PendingState = {}));
297
290
  var ApprovedState;
298
291
  (function (ApprovedState) {
299
292
  ApprovedState["ON_VERIFY"] = "ON_VERIFY";
@@ -304,6 +297,6 @@ var ApprovedState;
304
297
  var TransactionStatus;
305
298
  (function (TransactionStatus) {
306
299
  TransactionStatus["PAID"] = "PAID";
307
- TransactionStatus["UNPAID"] = "UNPAID";
308
- TransactionStatus["NONE"] = "NONE";
300
+ TransactionStatus["PENDING"] = "PENDING";
301
+ TransactionStatus["CANCELLED"] = "CANCELLED";
309
302
  })(TransactionStatus = exports.TransactionStatus || (exports.TransactionStatus = {}));
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ApprovedState, Availability, ContactMethod, Currency, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, PendingState, Practise, PricingCategory, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, StateOfListing, TransactionStatus, UserRole } from "./filterEnums";
1
+ import { ApprovedState, Availability, ContactMethod, Currency, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, Practise, PricingCategory, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, TransactionStatus, UserRole } from "./filterEnums";
2
2
  export interface ModelWriteDto {
3
3
  nickname: string;
4
4
  phoneNumber: string;
@@ -205,8 +205,8 @@ export interface ListingAdminFilterQueryReadDto {
205
205
  stateOfListing: StateOfListingDto;
206
206
  }
207
207
  export interface StateOfListingDto {
208
- state: StateOfListing;
209
- pendingState: PendingState;
208
+ approvedState: ApprovedState;
209
+ transactionState: TransactionStatus;
210
210
  }
211
211
  export interface ModelAdminListReadDto {
212
212
  models: ModelAdminShortReadDto[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.3.9",
3
+ "version": "2.4.1",
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",
@@ -292,13 +292,6 @@ export enum StateOfListing {
292
292
  DISCARDED = "DISCARDED",
293
293
  }
294
294
 
295
- export enum PendingState {
296
- ON_VERIFY = "ON_VERIFY",
297
- ON_CHANGE = "ON_CHANGE",
298
- PAID = "PAID",
299
- UNPAID = "UNPAID",
300
- }
301
-
302
295
  export enum ApprovedState {
303
296
  ON_VERIFY = "ON_VERIFY",
304
297
  ON_CHANGE = "ON_CHANGE",
@@ -308,6 +301,6 @@ export enum ApprovedState {
308
301
 
309
302
  export enum TransactionStatus {
310
303
  PAID = "PAID",
311
- UNPAID = "UNPAID",
312
- NONE = "NONE",
304
+ PENDING = "PENDING",
305
+ CANCELLED = "CANCELLED",
313
306
  }
package/src/types.ts CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  HairLength,
10
10
  Language,
11
11
  NationalityOption,
12
- OtherPractise, PendingState,
12
+ OtherPractise,
13
13
  Practise, PricingCategory,
14
14
  ServicesFor,
15
15
  ServiceType,
@@ -250,8 +250,8 @@ export interface ListingAdminFilterQueryReadDto {
250
250
  }
251
251
 
252
252
  export interface StateOfListingDto {
253
- state: StateOfListing;
254
- pendingState: PendingState;
253
+ approvedState: ApprovedState;
254
+ transactionState: TransactionStatus;
255
255
  }
256
256
 
257
257
  export interface ModelAdminListReadDto {