@bondsports/types 2.2.213 → 2.2.215
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.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/cart/entities/cart-item.entity.d.ts +1 -0
- package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +2 -2
- package/dist/types/reservations/dto/slot.dto.d.ts +3 -2
- package/dist/types/reservations/types/classes/product.classes.d.ts +1 -1
- package/dist/types/services/interfaces.service.d.ts +3 -0
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cart-item.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart-item.entity.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAYjG,MAAa,QAAS,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"cart-item.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart-item.entity.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAYjG,MAAa,QAAS,SAAQ,mEAAgC;CAiF7D;AAjFD,4BAiFC"}
|
@@ -23,9 +23,9 @@ export interface IAddCartItems {
|
|
23
23
|
export interface ICartItemPriceMetadata {
|
24
24
|
priceId: number;
|
25
25
|
price: number;
|
26
|
-
quantity
|
26
|
+
quantity?: number;
|
27
27
|
activityTimes?: ActivityTimes[];
|
28
|
-
totalPrice
|
28
|
+
totalPrice?: number;
|
29
29
|
}
|
30
30
|
export interface ICreateCartItem {
|
31
31
|
productId: number;
|
@@ -1,4 +1,6 @@
|
|
1
1
|
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
2
|
+
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
3
|
+
import { ProductDto } from '../../product-pricing/dto/product.dto';
|
2
4
|
import { Product } from '../../product-pricing/entities/Product';
|
3
5
|
import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
|
4
6
|
import { SpaceResourceDto } from '../../resources/dto/space.dto';
|
@@ -9,7 +11,6 @@ import { IOverridePriceMeta } from '../types/interfaces/reservation.interfaces';
|
|
9
11
|
import { IBaseSlot, IDraftSlot, ISlotProductMetadata, ITimeSlot } from '../types/interfaces/slot.interfaces';
|
10
12
|
import { AddonDto, DraftAddonDto } from './addon.dto';
|
11
13
|
import { MaintenanceDto } from './maintenance.dto';
|
12
|
-
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
13
14
|
export declare class SlotProductMetadataDto implements ISlotProductMetadata {
|
14
15
|
productId: number;
|
15
16
|
price: number;
|
@@ -88,7 +89,7 @@ export declare class DraftSlotDto extends BaseDraftSlotDto implements IDraftSlot
|
|
88
89
|
space?: SpaceResourceDto;
|
89
90
|
instructors?: InstructorResourceDto[];
|
90
91
|
participants?: SimpleCustomerDto[];
|
91
|
-
product?:
|
92
|
+
product?: ProductDto;
|
92
93
|
conflictsIds?: number[];
|
93
94
|
facility?: SimpleFacilityDto;
|
94
95
|
}
|
@@ -4,7 +4,7 @@ export declare class SlotProductPricesMetadata implements ISlotProductPricesMeta
|
|
4
4
|
priceId: number;
|
5
5
|
price: number;
|
6
6
|
quantity: number;
|
7
|
-
activityTimes
|
7
|
+
activityTimes?: ActivityTimes[];
|
8
8
|
totalPrice: number;
|
9
9
|
}
|
10
10
|
export declare class SlotProductMetadata implements ISlotProductMetadata {
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { ICartItemPriceMetadata } from '../cart/types/interfaces/cart.interfaces';
|
1
2
|
import { ActivityTimes } from '../entity/ActivityTimes';
|
2
3
|
import { Invoice } from '../entity/Invoice';
|
3
4
|
import { ProductsUsers } from '../entity/ProductsUsers';
|
@@ -107,6 +108,7 @@ export interface IPaginationMeta {
|
|
107
108
|
}
|
108
109
|
export interface IPricesOfProductsResults {
|
109
110
|
productId: number;
|
111
|
+
priceId?: number;
|
110
112
|
userId: number;
|
111
113
|
price: number;
|
112
114
|
unitPrice: number;
|
@@ -118,6 +120,7 @@ export interface IPricesOfProductsResults {
|
|
118
120
|
tax: number;
|
119
121
|
isTaxInclusive: boolean;
|
120
122
|
originalUnitPrice?: number;
|
123
|
+
prices?: ICartItemPriceMetadata[];
|
121
124
|
}
|
122
125
|
export interface IPaymentMethodToFundLeft {
|
123
126
|
paymentType: PaymentMethodTypeEnum;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"interfaces.service.js","sourceRoot":"","sources":["../../../src/types/services/interfaces.service.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"interfaces.service.js","sourceRoot":"","sources":["../../../src/types/services/interfaces.service.ts"],"names":[],"mappings":";;;AAWA,8EAA2E;AAI3E,+CAA2C;AAC3C,mDAgByB;AAuEzB,MAAa,qBAAsB,SAAQ,6BAAa;IAAxD;;QACC,gBAAW,GAAyB,oCAAoB,CAAC,cAAc,CAAC;IAEzE,CAAC;CAAA;AAHD,sDAGC;AAED,MAAa,oBAAqB,SAAQ,cAAK;IAA/C;;QACC,gBAAW,GAAyB,oCAAoB,CAAC,KAAK,CAAC;IAEhE,CAAC;CAAA;AAHD,oDAGC"}
|