@bondsports/types 2.2.179 → 2.2.180

Sign up to get free protection for your applications and to get access to all the features.
@@ -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":";;;AAgGA,MAAa,SAAS;CAGrB;AAHD,8BAGC"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.179",
3
+ "version": "2.2.180",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {