@bondsports/types 2.4.69-a-8 → 2.4.69-a-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.
- package/README.md +71 -71
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/cart/dto/cart-item.dto.d.ts +2 -0
- package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
- package/dist/types/cart/entities/cart-item.entity.d.ts +3 -0
- package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +1 -0
- package/dist/types/employees/types/interfaces/employee-facility-access.interfaces.d.ts +0 -4
- package/dist/types/entity/LineItems.d.ts +3 -0
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/invoice/dto/lineItem.dto.d.ts +1 -0
- package/dist/types/invoice/dto/lineItem.dto.js.map +1 -1
- package/dist/types/notifications/dto/notification-subscriptions.dto.d.ts +2 -0
- package/dist/types/notifications/dto/notification-subscriptions.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +1 -0
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/types/classes/slot.classes.d.ts +1 -0
- package/dist/types/reservations/types/classes/slot.classes.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +2 -0
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +1 -0
- package/package.json +1 -1
|
@@ -47,6 +47,7 @@ export declare class SimpleCartItemDto extends OrganizationBaseEntityDto {
|
|
|
47
47
|
export declare class CartItemDto extends SimpleCartItemDto {
|
|
48
48
|
cartId: number;
|
|
49
49
|
userId?: number;
|
|
50
|
+
facilityId?: number;
|
|
50
51
|
customer?: SimpleCustomerDto;
|
|
51
52
|
user?: SimpleUserDto;
|
|
52
53
|
productId: number;
|
|
@@ -79,6 +80,7 @@ export declare class UpdateCartItemDto extends BaseCartItemDto {
|
|
|
79
80
|
export declare class AddCartItemDto extends BaseCartItemDto {
|
|
80
81
|
productId: number;
|
|
81
82
|
unitPrice?: number;
|
|
83
|
+
facilityId?: number;
|
|
82
84
|
parentResourceType?: ResourceNameTypeEnum;
|
|
83
85
|
parentResourceId?: string;
|
|
84
86
|
children?: AddCartItemDto[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;AAEA,8EAAoF;AAWpF,MAAa,UAAW,SAAQ,4CAAyB;CAYxD;AAZD,gCAYC;AAED,MAAa,eAAgB,SAAQ,4CAAyB;CAsB7D;AAtBD,0CAsBC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAkB,SAAQ,4CAAyB;CAI/D;AAJD,8CAIC;AAED,MAAa,WAAY,SAAQ,iBAAiB;
|
|
1
|
+
{"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;AAEA,8EAAoF;AAWpF,MAAa,UAAW,SAAQ,4CAAyB;CAYxD;AAZD,gCAYC;AAED,MAAa,eAAgB,SAAQ,4CAAyB;CAsB7D;AAtBD,0CAsBC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAkB,SAAQ,4CAAyB;CAI/D;AAJD,8CAIC;AAED,MAAa,WAAY,SAAQ,iBAAiB;CA8CjD;AA9CD,kCA8CC;AAED,MAAa,eAAe;CAO3B;AAPD,0CAOC;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAGrD;AAHD,8CAGC;AAED,MAAa,cAAe,SAAQ,eAAe;CAYlD;AAZD,wCAYC"}
|
|
@@ -5,6 +5,7 @@ import { Customer } from '../../entity/Customer';
|
|
|
5
5
|
import { EntitlementGroup } from '../../entity/EntitlementGroup';
|
|
6
6
|
import { LineItems } from '../../entity/LineItems';
|
|
7
7
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
8
|
+
import { Facility } from '../../facilities/entities/Facility';
|
|
8
9
|
import { Reason } from '../../organization/entities/Reason';
|
|
9
10
|
import { Discount } from '../../payment/entities/Discount';
|
|
10
11
|
import { DiscountOnEnum } from '../../payment/types/enums/discount.enums';
|
|
@@ -23,6 +24,8 @@ export declare class CartItem extends OrganizationConnectionBaseEntity {
|
|
|
23
24
|
cartId: number;
|
|
24
25
|
cart: Cart;
|
|
25
26
|
userId: number;
|
|
27
|
+
facilityId?: number;
|
|
28
|
+
facility?: Facility;
|
|
26
29
|
customer?: Customer;
|
|
27
30
|
user: User;
|
|
28
31
|
productId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-item.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart-item.entity.ts"],"names":[],"mappings":";;;AAQA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"cart-item.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart-item.entity.ts"],"names":[],"mappings":";;;AAQA,oGAAiG;AAiBjG,MAAa,QAAS,SAAQ,mEAAgC;CAqH7D;AArHD,4BAqHC"}
|
|
@@ -14,10 +14,6 @@ export interface IEmployeeFacilities {
|
|
|
14
14
|
accessibleFacilities: Facility[];
|
|
15
15
|
facilityIds: number[];
|
|
16
16
|
}
|
|
17
|
-
export interface IEmployeeFacilitiesSummary {
|
|
18
|
-
facilities: Facility[];
|
|
19
|
-
facilityIds: number[];
|
|
20
|
-
}
|
|
21
17
|
export interface IFindFacilityAccessFilter {
|
|
22
18
|
organizationId: number;
|
|
23
19
|
facilityIds?: number[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ItemPriceMetadata } from '../cart/types/classes/cart.classes';
|
|
2
2
|
import { CustomerMerge } from '../customers-merge/entities/CustomerMerge';
|
|
3
|
+
import { Facility } from '../facilities/entities/Facility';
|
|
3
4
|
import { Reason } from '../organization/entities/Reason';
|
|
4
5
|
import { ItemDiscountDto, SimpleDiscountDto } from '../payment/dto/discount.dto';
|
|
5
6
|
import { Discount } from '../payment/entities/Discount';
|
|
@@ -21,6 +22,8 @@ export declare class LineItems extends OrganizationConnectionBaseEntity {
|
|
|
21
22
|
invoiceId: number;
|
|
22
23
|
invoice: Invoice;
|
|
23
24
|
userId: number;
|
|
25
|
+
facilityId?: number;
|
|
26
|
+
facility?: Facility;
|
|
24
27
|
user: User;
|
|
25
28
|
productId: number;
|
|
26
29
|
product: Product;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineItems.js","sourceRoot":"","sources":["../../../src/types/entity/LineItems.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"LineItems.js","sourceRoot":"","sources":["../../../src/types/entity/LineItems.ts"],"names":[],"mappings":";;;AA8BA,yFAAsF;AAItF,MAAa,SAAU,SAAQ,mEAAgC;CAiL9D;AAjLD,8BAiLC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lineItem.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/lineItem.dto.ts"],"names":[],"mappings":";;;AAMA,MAAa,WAAW;
|
|
1
|
+
{"version":3,"file":"lineItem.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/lineItem.dto.ts"],"names":[],"mappings":";;;AAMA,MAAa,WAAW;CAuDvB;AAvDD,kCAuDC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IdDto, PaginatedSearchDto } from '../../dto/general.dto';
|
|
2
|
+
import { SimpleFacilityDto } from '../../facilities/dto/facilities.dto';
|
|
2
3
|
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
|
3
4
|
import { NotificationTypeEnum } from '../../services/enums.service';
|
|
4
5
|
import { SimpleUserDto } from '../../user/dto/user.dto';
|
|
@@ -10,6 +11,7 @@ export declare class NotificationSubscriptionDto extends OrganizationBaseEntityD
|
|
|
10
11
|
email?: string;
|
|
11
12
|
notificationType: NotificationTypeEnum;
|
|
12
13
|
facilityIds: number[];
|
|
14
|
+
facilities?: SimpleFacilityDto[];
|
|
13
15
|
}
|
|
14
16
|
export declare class AddNotificationSubscriptionDto {
|
|
15
17
|
userId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification-subscriptions.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification-subscriptions.dto.ts"],"names":[],"mappings":";;;AACA,uDAAkE;
|
|
1
|
+
{"version":3,"file":"notification-subscriptions.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification-subscriptions.dto.ts"],"names":[],"mappings":";;;AACA,uDAAkE;AAGlE,8EAAoF;AAOpF,MAAa,2BAA4B,SAAQ,4CAAyB;CAYzE;AAZD,kEAYC;AAED,MAAa,8BAA8B;CAM1C;AAND,wEAMC;AAED,MAAa,iCAAkC,SAAQ,mBAAK;CAE3D;AAFD,8EAEC;AAED,MAAa,+BAA+B;CAE3C;AAFD,0EAEC;AAED,MAAa,kCAAkC;CAE9C;AAFD,gFAEC;AAED,MAAa,oCACZ,SAAQ,gCAAkB;CAQ1B;AATD,oFASC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAOA,8EAAoF;AAQpF,wEAU0C;AAa1C,MAAa,sBAAsB;CAclC;AAdD,wDAcC;AAED,MAAa,4BAA4B;CAYxC;AAZD,oEAYC;AAED,MAAa,iBAAiB;CAgC7B;AAhCD,8CAgCC;AAED,MAAa,WAAY,SAAQ,iBAAiB;CAgCjD;AAhCD,kCAgCC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAwCvC;AAxCD,0BAwCC;AAED,MAAa,UAAW,SAAQ,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E7B,qCAAiB,CAAC,MAAM,EAExB,qCAAiB,CAAC,QAAQ,EAE1B,qCAAiB,CAAC,QAAQ,EAE1B,qCAAiB,CAAC,MAAM,EAExB,qCAAiB,CAAC,eAAe,EAEjC,qCAAiB,CAAC,cAAc,EAEhC,qCAAiB,CAAC,WAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slot.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/slot.classes.ts"],"names":[],"mappings":";;;AAuBA,MAAa,SAAS;
|
|
1
|
+
{"version":3,"file":"slot.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/slot.classes.ts"],"names":[],"mappings":";;;AAuBA,MAAa,SAAS;CAgHrB;AAhHD,8BAgHC;AAED,0CAA0C;AAC1C,MAAa,aAAc,SAAQ,SAAS;CAAG;AAA/C,sCAA+C"}
|
|
@@ -6,6 +6,7 @@ import { AnswerTemplateDataDto, QuestionAnswersDto } from '../../../dto/applicat
|
|
|
6
6
|
import { PaginationQuery, SelectOptionsDto } from '../../../dto/general.dto';
|
|
7
7
|
import { Customer } from '../../../entity/Customer';
|
|
8
8
|
import { Invoice } from '../../../entity/Invoice';
|
|
9
|
+
import { LineItems } from '../../../entity/LineItems';
|
|
9
10
|
import { LineItemDto } from '../../../invoice/dto/lineItem.dto';
|
|
10
11
|
import { FuturePaymentStatusEnum, PaymentMethodTypeEnum, PaymentStatusEnum } from '../../../payment/types/enums/payment.enums';
|
|
11
12
|
import { RefundResult } from '../../../payment/types/interfaces/refund.interfaces';
|
|
@@ -354,6 +355,7 @@ export interface IDuplicateDraftReservation extends IGetDraftReservationOptions,
|
|
|
354
355
|
combineSlots?: boolean;
|
|
355
356
|
excludeIds?: number[];
|
|
356
357
|
isEdit?: boolean;
|
|
358
|
+
lineItems?: LineItems[];
|
|
357
359
|
reservationAddonsIds?: number[];
|
|
358
360
|
slotsFilter?: SlotsFilterDto;
|
|
359
361
|
slotsIds?: number[];
|
|
@@ -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":";;;AAsCA,kEASoC;AA2DpC,MAAa,SAAS;CAGrB;AAHD,8BAGC"}
|