@exclusive-website/types 2.4.7 → 2.4.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.
@@ -238,7 +238,11 @@ export declare enum PricingCategory {
238
238
  }
239
239
  export declare enum StateOfListing {
240
240
  PUBLISHED = "PUBLISHED",
241
- UNPUBLISHED = "UNPUBLISHED"
241
+ UNPUBLISHED = "UNPUBLISHED",
242
+ ON_VERIFY = "ON_VERIFY",
243
+ ON_CHANGE = "ON_CHANGE",
244
+ APPROVED = "APPROVED",
245
+ DISCARDED = "DISCARDED"
242
246
  }
243
247
  export declare enum ApprovedState {
244
248
  ON_VERIFY = "ON_VERIFY",
@@ -284,6 +284,10 @@ var StateOfListing;
284
284
  (function (StateOfListing) {
285
285
  StateOfListing["PUBLISHED"] = "PUBLISHED";
286
286
  StateOfListing["UNPUBLISHED"] = "UNPUBLISHED";
287
+ StateOfListing["ON_VERIFY"] = "ON_VERIFY";
288
+ StateOfListing["ON_CHANGE"] = "ON_CHANGE";
289
+ StateOfListing["APPROVED"] = "APPROVED";
290
+ StateOfListing["DISCARDED"] = "DISCARDED";
287
291
  })(StateOfListing = exports.StateOfListing || (exports.StateOfListing = {}));
288
292
  var ApprovedState;
289
293
  (function (ApprovedState) {
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 { 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;
@@ -210,7 +210,7 @@ export interface PriceReadDto {
210
210
  export interface ListingAdminFilterQueryReadDto {
211
211
  query: ListingQueryReadDto;
212
212
  stateOfListing: StateOfListing;
213
- approvedState: ApprovedState;
213
+ approvedState: StateOfListing;
214
214
  transactionState: TransactionStatus;
215
215
  }
216
216
  export interface ModelAdminListReadDto {
@@ -225,7 +225,7 @@ export interface ModelAdminShortReadDto {
225
225
  nickname: string;
226
226
  location: LocationDto;
227
227
  featuredImage: MediaDto;
228
- approvedState: ApprovedState;
228
+ approvedState: StateOfListing;
229
229
  transactionStatus: TransactionStatus;
230
230
  }
231
231
  export interface ModelAdminDetailReadDto {
@@ -263,7 +263,7 @@ export interface ModelAdminDetailReadDto {
263
263
  contactMethods: ContactMethod[];
264
264
  schedule: DaySchedule[];
265
265
  created: Date;
266
- approvedState: ApprovedState;
266
+ approvedState: StateOfListing;
267
267
  paymentState: TransactionStatus;
268
268
  transactions: TransactionReadDto[];
269
269
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.4.7",
3
+ "version": "2.4.8",
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",
@@ -288,6 +288,10 @@ export enum PricingCategory {
288
288
  export enum StateOfListing {
289
289
  PUBLISHED = "PUBLISHED",
290
290
  UNPUBLISHED = "UNPUBLISHED",
291
+ ON_VERIFY = "ON_VERIFY",
292
+ ON_CHANGE = "ON_CHANGE",
293
+ APPROVED = "APPROVED",
294
+ DISCARDED = "DISCARDED",
291
295
  }
292
296
 
293
297
  export enum ApprovedState {
package/src/types.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import {
2
- ApprovedState,
3
2
  Availability,
4
3
  ContactMethod,
5
4
  Currency,
@@ -260,7 +259,7 @@ export interface PriceReadDto {
260
259
  export interface ListingAdminFilterQueryReadDto {
261
260
  query: ListingQueryReadDto;
262
261
  stateOfListing: StateOfListing;
263
- approvedState: ApprovedState;
262
+ approvedState: StateOfListing;
264
263
  transactionState: TransactionStatus;
265
264
  }
266
265
 
@@ -277,7 +276,7 @@ export interface ModelAdminShortReadDto {
277
276
  nickname: string;
278
277
  location: LocationDto;
279
278
  featuredImage: MediaDto;
280
- approvedState: ApprovedState;
279
+ approvedState: StateOfListing;
281
280
  transactionStatus: TransactionStatus;
282
281
  }
283
282
 
@@ -316,7 +315,7 @@ export interface ModelAdminDetailReadDto {
316
315
  contactMethods: ContactMethod[];
317
316
  schedule: DaySchedule[];
318
317
  created: Date;
319
- approvedState: ApprovedState;
318
+ approvedState: StateOfListing;
320
319
  paymentState: TransactionStatus;
321
320
  transactions: TransactionReadDto[];
322
321
  }