@exclusive-website/types 2.3.8 → 2.3.9

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,6 +242,12 @@ 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
+ }
245
251
  export declare enum ApprovedState {
246
252
  ON_VERIFY = "ON_VERIFY",
247
253
  ON_CHANGE = "ON_CHANGE",
@@ -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.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;
4
4
  // DAY STATUS
5
5
  var DayStatus;
6
6
  (function (DayStatus) {
@@ -287,6 +287,13 @@ 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 = {}));
290
297
  var ApprovedState;
291
298
  (function (ApprovedState) {
292
299
  ApprovedState["ON_VERIFY"] = "ON_VERIFY";
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ApprovedState, Availability, ContactMethod, Currency, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, 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, PendingState, Practise, PricingCategory, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, StateOfListing, TransactionStatus, UserRole } from "./filterEnums";
2
2
  export interface ModelWriteDto {
3
3
  nickname: string;
4
4
  phoneNumber: string;
@@ -202,7 +202,11 @@ export interface PriceReadDto {
202
202
  }
203
203
  export interface ListingAdminFilterQueryReadDto {
204
204
  query: ListingQueryReadDto;
205
+ stateOfListing: StateOfListingDto;
206
+ }
207
+ export interface StateOfListingDto {
205
208
  state: StateOfListing;
209
+ pendingState: PendingState;
206
210
  }
207
211
  export interface ModelAdminListReadDto {
208
212
  models: ModelAdminShortReadDto[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.3.8",
3
+ "version": "2.3.9",
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,6 +292,13 @@ 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
+
295
302
  export enum ApprovedState {
296
303
  ON_VERIFY = "ON_VERIFY",
297
304
  ON_CHANGE = "ON_CHANGE",
package/src/types.ts CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  HairLength,
10
10
  Language,
11
11
  NationalityOption,
12
- OtherPractise,
12
+ OtherPractise, PendingState,
13
13
  Practise, PricingCategory,
14
14
  ServicesFor,
15
15
  ServiceType,
@@ -246,7 +246,12 @@ export interface PriceReadDto {
246
246
 
247
247
  export interface ListingAdminFilterQueryReadDto {
248
248
  query: ListingQueryReadDto;
249
+ stateOfListing: StateOfListingDto;
250
+ }
251
+
252
+ export interface StateOfListingDto {
249
253
  state: StateOfListing;
254
+ pendingState: PendingState;
250
255
  }
251
256
 
252
257
  export interface ModelAdminListReadDto {