@bondsports/types 2.2.178 → 2.2.180
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +1 -2
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +8 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/package.json +1 -1
@@ -21,7 +21,7 @@ import { IBaseReservation, IDraftReservation, IExtendDraftSlotsOptions, IGetDraf
|
|
21
21
|
import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
|
22
22
|
import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
|
23
23
|
import { SeriesDto } from './series.dto';
|
24
|
-
import {
|
24
|
+
import { SlotDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
|
25
25
|
export declare class ProductPricesDto implements IProductPrice {
|
26
26
|
productId: number;
|
27
27
|
product?: Product;
|
@@ -334,7 +334,6 @@ export declare class CreateReservationAddonsDto {
|
|
334
334
|
}
|
335
335
|
export declare class ProblematicProductDto {
|
336
336
|
product: SimpleProductDto;
|
337
|
-
slots: DraftSlotDto[];
|
338
337
|
isAddon?: boolean;
|
339
338
|
level?: ProductPackageLevelEnum;
|
340
339
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAIA,uDAAwD;AACxD,+DAAsG;AAEtG,8EAA8E;AAK9E,kEAAwF;AA2CxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAM,kBAAkB;CA8BvB;AAED,MAAa,oBAAqB,SAAQ,kBAAkB;CAM3D;AAND,oDAMC;AAED,MAAa,cAAe,SAAQ,oBAAoB;CASvD;AATD,wCASC;AAED,MAAM,0B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;AAND,wDAMC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,sBAAuB,SAAQ,0BAA0B;CAErE;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,qBAAqB;
|
1
|
+
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAIA,uDAAwD;AACxD,+DAAsG;AAEtG,8EAA8E;AAK9E,kEAAwF;AA2CxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAM,kBAAkB;CA8BvB;AAED,MAAa,oBAAqB,SAAQ,kBAAkB;CAM3D;AAND,oDAMC;AAED,MAAa,cAAe,SAAQ,oBAAoB;CASvD;AATD,wCASC;AAED,MAAM,0BAA0B;CAM/B;AAED,MAAa,uBAAwB,SAAQ,0BAA0B;CAEtE;AAFD,0DAEC;AAED,MAAa,iBAAkB,SAAQ,uBAAuB;CAE7D;AAFD,8CAEC;AAED,MAAa,yBAA0B,SAAQ,kBAAkB;CAEhE;AAFD,8DAEC;AAED,MAAa,yBAA0B,SAAQ,yBAAyB;CAIvE;AAJD,8DAIC;AAED,MAAa,mBAAoB,SAAQ,yBAAyB;CAkBjE;AAlBD,kDAkBC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,kBAAmB,SAAQ,yBAAyB;CAIhE;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAcxC;AAdD,oEAcC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAM,cAAc;CAQnB;AAED,MAAa,yBAA0B,SAAQ,cAAc;CAE5D;AAFD,8DAEC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAIvD;AAJD,oDAIC;AAED,MA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uB;CAMtE;AAND,gEAMC;AAED,MAAa,WAAY,SAAQ,8BAAgB;CAEhD;AAFD,kCAEC;AAED,MAAa,cAAe,SAAQ,8BAAgB;CAEnD;AAFD,wCAEC;AAED,MAAa,kCACZ,SAAQ,6BAAe;CAuBvB;AAxBD,gFAwBC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAE/D;AAFD,0DAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,yBAAyB;CAYrC;AAZD,8DAYC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAIrE;AAJD,8EAIC;AAED,MAAa,6BAA6B;CAkBzC;AAlBD,sEAkBC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,WAAY,SAAQ,oBAAoB;CAEpD;AAFD,kCAEC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,sBAAuB,SAAQ,0BAA0B;CAErE;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { Cart } from '../../../cart/entities/cart.entity';
|
1
2
|
import { ICreateCartOptions, IUpdateCartPrices } from '../../../cart/types/interfaces/cart.interfaces';
|
2
3
|
import { PaginationQuery } from '../../../dto/general.dto';
|
3
4
|
import { Customer } from '../../../entity/Customer';
|
@@ -9,7 +10,7 @@ import { PaymentStatusEnum } from '../../../payment/types/enums/payment.enums';
|
|
9
10
|
import { RefundResult } from '../../../payment/types/interfaces/refund.interfaces';
|
10
11
|
import { Product } from '../../../product-pricing/entities/Product';
|
11
12
|
import { Answer } from '../../../questionnaires/entities/Answer';
|
12
|
-
import { AddonParentTypeEnum, FinancialStepEnum, PlatformsEnum, ResourceNameTypeEnum, SportsEnum } from '../../../services/enums.service';
|
13
|
+
import { AddonParentTypeEnum, FinancialStepEnum, InvoiceStatusEnum, PlatformsEnum, ResourceNameTypeEnum, SportsEnum } from '../../../services/enums.service';
|
13
14
|
import { IPaymentMethodToFundLeft } from '../../../services/interfaces.service';
|
14
15
|
import { IPagination } from '../../../util/models/interfaces/general.interfaces';
|
15
16
|
import { AddonDto } from '../../dto/addon.dto';
|
@@ -384,4 +385,10 @@ export interface IDraftReservation extends IBaseReservation {
|
|
384
385
|
endDate?: string;
|
385
386
|
endTime?: string;
|
386
387
|
}
|
388
|
+
export interface IInvoiceDraftReservationOptions {
|
389
|
+
shiftId?: number;
|
390
|
+
draftStatus?: InvoiceStatusEnum;
|
391
|
+
existingCart?: Cart;
|
392
|
+
cartId?: number;
|
393
|
+
}
|
387
394
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/reservation.interfaces.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"reservation.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/reservation.interfaces.ts"],"names":[],"mappings":";;;AAkGA,MAAa,SAAS;CAGrB;AAHD,8BAGC"}
|