@bondsports/types 2.2.222 → 2.2.224
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/entity/Customer.d.ts +0 -2
- package/dist/types/entity/Customer.js.map +1 -1
- package/dist/types/organization/entities/OrganizationUsers.d.ts +0 -2
- package/dist/types/organization/entities/OrganizationUsers.js.map +1 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +2 -0
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +4 -3
- package/package.json +1 -1
@@ -11,7 +11,6 @@ import { EmergencyContact } from './EmergencyContact';
|
|
11
11
|
import { Media } from '../media/entities/Media';
|
12
12
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
13
13
|
import { ProductsReservedForCustomers } from './ProductsReservedForCustomers';
|
14
|
-
import { OrganizationUsers } from '../organization/entities/OrganizationUsers';
|
15
14
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
16
15
|
name?: string;
|
17
16
|
isAnonymous?: boolean;
|
@@ -48,6 +47,5 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
48
47
|
mainMedia: Media;
|
49
48
|
reservations?: Reservation[];
|
50
49
|
user: User;
|
51
|
-
organizationUser: OrganizationUsers;
|
52
50
|
organizationName?: string;
|
53
51
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/types/entity/Customer.ts"],"names":[],"mappings":";;;AAYA,yFAAsF;
|
1
|
+
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/types/entity/Customer.ts"],"names":[],"mappings":";;;AAYA,yFAAsF;AAGtF,MAAa,QAAS,SAAQ,mEAAgC;CA4E7D;AA5ED,4BA4EC"}
|
@@ -1,13 +1,11 @@
|
|
1
1
|
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
2
2
|
import { EmployeeStatus } from '../../employees/types/enums';
|
3
3
|
import { User } from '../../user/entities/User';
|
4
|
-
import { Customer } from '../../entity/Customer';
|
5
4
|
export declare class OrganizationUsers extends BondBaseEntity {
|
6
5
|
organisationId: number | null;
|
7
6
|
userId: number | null;
|
8
7
|
user: User;
|
9
8
|
status?: EmployeeStatus;
|
10
|
-
customer: Customer;
|
11
9
|
referenceId?: string;
|
12
10
|
employmentStartDate?: Date;
|
13
11
|
employmentEndDate?: Date;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"OrganizationUsers.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/OrganizationUsers.ts"],"names":[],"mappings":";;;AACA,gEAA6D;
|
1
|
+
{"version":3,"file":"OrganizationUsers.js","sourceRoot":"","sources":["../../../../src/types/organization/entities/OrganizationUsers.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAI7D,MAAa,iBAAkB,SAAQ,+BAAc;CAiBpD;AAjBD,8CAiBC"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
|
1
2
|
import { UserAnswersDto } from '../../dto/application.dto';
|
2
3
|
import { Customer } from '../../entity/Customer';
|
3
4
|
import { Invoice } from '../../entity/Invoice';
|
@@ -133,4 +134,5 @@ export declare class PurchaseCartDto extends InvoiceCartDto implements IPurchase
|
|
133
134
|
parentPurchasedId?: number;
|
134
135
|
parentPurchasedType?: ResourceNameTypeEnum;
|
135
136
|
addToReservationId?: number;
|
137
|
+
updatePrices?: UpdateCartPricesDto;
|
136
138
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAKA,+DAA+D;AAC/D,8EAA8E;AAa9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAgB/B;AAhBD,kDAgBC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,4BAAc;CAgBlD;AAhBD,0CAgBC"}
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import { IValidateCartOptions } from '../../../cart/types/interfaces/cart.interfaces';
|
1
|
+
import { IUpdateCartPrices, IValidateCartOptions } from '../../../cart/types/interfaces/cart.interfaces';
|
2
2
|
import { Customer } from '../../../entity/Customer';
|
3
3
|
import { Invoice } from '../../../entity/Invoice';
|
4
4
|
import { IInvoiceCart } from '../../../invoice/types/interfaces/invoice.interfaces';
|
5
|
+
import { Organization } from '../../../organization/entities/Organization';
|
5
6
|
import { ScheduledPaymentDto } from '../../../payment/dto/payment-plan.dto';
|
6
7
|
import { Payment } from '../../../payment/entities/Payment';
|
7
8
|
import { FuturePaymentStatusEnum, PaymentMethodTypeEnum } from '../../../payment/types/enums/payment.enums';
|
@@ -9,9 +10,8 @@ import { ISaveInvoicePayment } from '../../../payment/types/interfaces/payment.i
|
|
9
10
|
import { Product } from '../../../product-pricing/entities/Product';
|
10
11
|
import { ResourceDto } from '../../../resources/dto/resource.dto';
|
11
12
|
import { CurrencyEnum, LineItemsStatusEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
|
12
|
-
import { PurchasePaymentDto } from '../../dto/purchase.dto';
|
13
13
|
import { User } from '../../../user/entities/User';
|
14
|
-
import {
|
14
|
+
import { PurchasePaymentDto } from '../../dto/purchase.dto';
|
15
15
|
export type UserCount = {
|
16
16
|
male: number;
|
17
17
|
female: number;
|
@@ -71,4 +71,5 @@ export interface IPurchaseCart extends IInvoiceCart {
|
|
71
71
|
purchasingUserId?: number;
|
72
72
|
parentPurchasedId?: number;
|
73
73
|
parentPurchasedType?: ResourceNameTypeEnum;
|
74
|
+
updatePrices?: IUpdateCartPrices;
|
74
75
|
}
|