@bondsports/types 1.0.0 → 1.0.2
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 +17 -17
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/dto/customer.dto.d.ts +5 -1
- package/dist/types/dto/customer.dto.js +4 -1
- package/dist/types/dto/customer.dto.js.map +1 -1
- package/dist/types/dto/index.d.ts +0 -1
- package/dist/types/dto/index.js +0 -1
- package/dist/types/dto/index.js.map +1 -1
- package/dist/types/dto/program-seasons.dto.d.ts +2 -2
- package/dist/types/dto/program-seasons.dto.js +1 -1
- package/dist/types/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/dto/space.dto.d.ts +2 -2
- package/dist/types/dto/user.dto.d.ts +2 -2
- package/dist/types/dto/user.dto.js +4 -4
- package/dist/types/dto/user.dto.js.map +1 -1
- package/dist/types/entity/ColorCode.d.ts +11 -0
- package/dist/types/entity/ColorCode.js +8 -0
- package/dist/types/entity/ColorCode.js.map +1 -0
- package/dist/types/entity/Customer.d.ts +4 -2
- package/dist/types/entity/Customer.js.map +1 -1
- package/dist/types/entity/CustomerCreditTransaction.d.ts +2 -2
- package/dist/types/entity/CustomerCreditTransaction.js.map +1 -1
- package/dist/types/entity/Invoice.d.ts +21 -14
- package/dist/types/entity/Invoice.js.map +1 -1
- package/dist/types/entity/InvoiceToPayment.d.ts +1 -1
- package/dist/types/entity/InvoiceToPayment.js.map +1 -1
- package/dist/types/entity/LineItemHistory.d.ts +1 -1
- package/dist/types/entity/LineItemHistory.js.map +1 -1
- package/dist/types/entity/ProductPaymentPlan.d.ts +1 -1
- package/dist/types/entity/ProductPaymentPlan.js.map +1 -1
- package/dist/types/entity/User.d.ts +8 -8
- package/dist/types/entity/User.js.map +1 -1
- package/dist/types/entity/index.d.ts +1 -5
- package/dist/types/entity/index.js +1 -5
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/fee/dto/fee.dto.d.ts +64 -0
- package/dist/types/fee/dto/fee.dto.js +40 -0
- package/dist/types/fee/dto/fee.dto.js.map +1 -0
- package/dist/types/fee/dto/index.d.ts +2 -0
- package/dist/types/fee/dto/index.js +19 -0
- package/dist/types/fee/dto/index.js.map +1 -0
- package/dist/types/fee/dto/payment-fee.dto.d.ts +17 -0
- package/dist/types/fee/dto/payment-fee.dto.js +7 -0
- package/dist/types/fee/dto/payment-fee.dto.js.map +1 -0
- package/dist/types/fee/entities/Fee.d.ts +18 -0
- package/dist/types/fee/entities/Fee.js +8 -0
- package/dist/types/fee/entities/Fee.js.map +1 -0
- package/dist/types/fee/entities/PaymentFee.d.ts +17 -0
- package/dist/types/fee/entities/PaymentFee.js +8 -0
- package/dist/types/fee/entities/PaymentFee.js.map +1 -0
- package/dist/types/fee/entities/index.d.ts +2 -0
- package/dist/types/fee/entities/index.js +19 -0
- package/dist/types/fee/entities/index.js.map +1 -0
- package/dist/types/fee/index.d.ts +3 -0
- package/dist/types/fee/index.js +20 -0
- package/dist/types/fee/index.js.map +1 -0
- package/dist/types/fee/interfaces/fee.d.ts +21 -0
- package/dist/types/fee/interfaces/fee.js +7 -0
- package/dist/types/fee/interfaces/fee.js.map +1 -0
- package/dist/types/fee/interfaces/index.d.ts +1 -0
- package/dist/types/fee/interfaces/index.js +18 -0
- package/dist/types/fee/interfaces/index.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/organization/dto/index.d.ts +1 -0
- package/dist/types/organization/dto/index.js +1 -0
- package/dist/types/organization/dto/index.js.map +1 -1
- package/dist/types/organization/dto/organization-payment-method.dto.d.ts +23 -0
- package/dist/types/organization/dto/organization-payment-method.dto.js +19 -0
- package/dist/types/organization/dto/organization-payment-method.dto.js.map +1 -0
- package/dist/types/organization/dto/organization.dto.d.ts +5 -1
- package/dist/types/organization/dto/organization.dto.js +6 -3
- package/dist/types/organization/dto/organization.dto.js.map +1 -1
- package/dist/types/organization/entities/Organization.d.ts +37 -31
- package/dist/types/organization/entities/Organization.js.map +1 -1
- package/dist/types/organization/entities/OrganizationPaymentMethod.d.ts +12 -0
- package/dist/types/organization/entities/OrganizationPaymentMethod.js +8 -0
- package/dist/types/organization/entities/OrganizationPaymentMethod.js.map +1 -0
- package/dist/types/organization/entities/index.d.ts +1 -0
- package/dist/types/organization/entities/index.js +1 -0
- package/dist/types/organization/entities/index.js.map +1 -1
- package/dist/types/organization/interfaces/organization.d.ts +2 -0
- package/dist/types/organization/interfaces/organization.js +3 -0
- package/dist/types/organization/interfaces/organization.js.map +1 -1
- package/dist/types/payment/dto/payment.dto.d.ts +23 -9
- package/dist/types/payment/dto/payment.dto.js +19 -6
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/{entity → payment/entities}/Payment.d.ts +13 -9
- package/dist/types/{entity → payment/entities}/Payment.js +1 -1
- package/dist/types/payment/entities/Payment.js.map +1 -0
- package/dist/types/{entity → payment/entities}/PaymentFailConfig.d.ts +1 -1
- package/dist/types/{entity → payment/entities}/PaymentFailConfig.js +1 -1
- package/dist/types/payment/entities/PaymentFailConfig.js.map +1 -0
- package/dist/types/{entity → payment/entities}/PaymentFailures.d.ts +2 -2
- package/dist/types/{entity → payment/entities}/PaymentFailures.js +1 -1
- package/dist/types/payment/entities/PaymentFailures.js.map +1 -0
- package/dist/types/{entity → payment/entities}/PaymentNote.d.ts +2 -2
- package/dist/types/{entity → payment/entities}/PaymentNote.js +1 -1
- package/dist/types/payment/entities/PaymentNote.js.map +1 -0
- package/dist/types/{entity → payment/entities}/PaymentPlanSchedule.d.ts +2 -2
- package/dist/types/{entity → payment/entities}/PaymentPlanSchedule.js +1 -1
- package/dist/types/payment/entities/PaymentPlanSchedule.js.map +1 -0
- package/dist/types/payment/entities/index.d.ts +5 -0
- package/dist/types/payment/entities/index.js +22 -0
- package/dist/types/payment/entities/index.js.map +1 -0
- package/dist/types/payment/index.d.ts +1 -0
- package/dist/types/payment/index.js +1 -0
- package/dist/types/payment/index.js.map +1 -1
- package/dist/types/payment/interfaces/payment.d.ts +25 -4
- package/dist/types/payment/interfaces/payment.js +10 -0
- package/dist/types/payment/interfaces/payment.js.map +1 -1
- package/dist/types/purchase/dto/index.d.ts +1 -0
- package/dist/types/purchase/dto/index.js +18 -0
- package/dist/types/purchase/dto/index.js.map +1 -0
- package/dist/types/{dto → purchase/dto}/purchase.dto.d.ts +12 -16
- package/dist/types/{dto → purchase/dto}/purchase.dto.js +2 -6
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -0
- package/dist/types/purchase/index.d.ts +2 -0
- package/dist/types/purchase/index.js +19 -0
- package/dist/types/purchase/index.js.map +1 -0
- package/dist/types/purchase/interfaces/index.d.ts +1 -0
- package/dist/types/purchase/interfaces/index.js +18 -0
- package/dist/types/purchase/interfaces/index.js.map +1 -0
- package/dist/types/purchase/interfaces/purchase.d.ts +42 -0
- package/dist/types/purchase/interfaces/purchase.js +14 -0
- package/dist/types/purchase/interfaces/purchase.js.map +1 -0
- package/dist/types/reservations/dto/invoice.dto.d.ts +1 -0
- package/dist/types/reservations/dto/invoice.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +14 -2
- package/dist/types/reservations/dto/reservation.dto.js +10 -1
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +5 -0
- package/dist/types/reservations/dto/slot.dto.js +4 -1
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/dto/v1.reservation.dto.d.ts +1 -1
- package/dist/types/reservations/entities/Slots.d.ts +3 -0
- package/dist/types/reservations/entities/Slots.js.map +1 -1
- package/dist/types/reservations/interfaces/reservation.d.ts +1 -1
- package/dist/types/reservations/interfaces/reservation.js.map +1 -1
- package/dist/types/services/enums.service.d.ts +29 -2
- package/dist/types/services/enums.service.js +35 -3
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +11 -9
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/package.json +1 -1
- package/LICENSE.md +0 -0
- package/dist/types/dto/purchase.dto.js.map +0 -1
- package/dist/types/entity/Payment.js.map +0 -1
- package/dist/types/entity/PaymentFailConfig.js.map +0 -1
- package/dist/types/entity/PaymentFailures.js.map +0 -1
- package/dist/types/entity/PaymentNote.js.map +0 -1
- package/dist/types/entity/PaymentPlanSchedule.js.map +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CustomerTypeEnum, GenderEnum, ResourceNameTypeEnum } from '../services/enums.service';
|
|
2
2
|
import { PaginationQuery } from './general.dto';
|
|
3
3
|
import { ByOrganizationIdDto } from '../organization/dto/organization.dto';
|
|
4
|
+
import { Customer } from "../entity/Customer";
|
|
4
5
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
5
6
|
membershipId: number;
|
|
6
7
|
}
|
|
@@ -47,7 +48,7 @@ export declare class AddEditCustomerDto {
|
|
|
47
48
|
entityId?: number;
|
|
48
49
|
entityType?: CustomerTypeEnum;
|
|
49
50
|
email?: string;
|
|
50
|
-
|
|
51
|
+
colorCodeId?: number;
|
|
51
52
|
street?: string;
|
|
52
53
|
city?: string;
|
|
53
54
|
state?: string;
|
|
@@ -62,3 +63,6 @@ export declare class AddEditCustomerDto {
|
|
|
62
63
|
emergencyContactName?: string;
|
|
63
64
|
emergencyContactPhone?: string;
|
|
64
65
|
}
|
|
66
|
+
export declare class CustomerResponseDto {
|
|
67
|
+
data: Customer;
|
|
68
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AddEditCustomerDto = exports.CustomerNoteDto = exports.AddCustomerNotesDto = exports.FindCustomersByOrganizationIdFiltersDto = exports.ByOrganizationIdUserIdDto = exports.ByOrganizationIdCustomerIdDto = exports.ImportRentalsFromCSV = exports.ImportDashCustomerDto = exports.ImportProgramsFileDto = exports.ImportCustomerFromCSV = exports.ImportProductsFromDB = exports.FindByMembershipIdDto = void 0;
|
|
3
|
+
exports.CustomerResponseDto = exports.AddEditCustomerDto = exports.CustomerNoteDto = exports.AddCustomerNotesDto = exports.FindCustomersByOrganizationIdFiltersDto = exports.ByOrganizationIdUserIdDto = exports.ByOrganizationIdCustomerIdDto = exports.ImportRentalsFromCSV = exports.ImportDashCustomerDto = exports.ImportProgramsFileDto = exports.ImportCustomerFromCSV = exports.ImportProductsFromDB = exports.FindByMembershipIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("./general.dto");
|
|
5
5
|
const organization_dto_1 = require("../organization/dto/organization.dto");
|
|
6
6
|
class FindByMembershipIdDto extends organization_dto_1.ByOrganizationIdDto {
|
|
@@ -39,4 +39,7 @@ exports.CustomerNoteDto = CustomerNoteDto;
|
|
|
39
39
|
class AddEditCustomerDto {
|
|
40
40
|
}
|
|
41
41
|
exports.AddEditCustomerDto = AddEditCustomerDto;
|
|
42
|
+
class CustomerResponseDto {
|
|
43
|
+
}
|
|
44
|
+
exports.CustomerResponseDto = CustomerResponseDto;
|
|
42
45
|
//# sourceMappingURL=customer.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../src/types/dto/customer.dto.ts"],"names":[],"mappings":";;;AACA,+CAAgD;AAChD,2EAA2E;
|
|
1
|
+
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../src/types/dto/customer.dto.ts"],"names":[],"mappings":";;;AACA,+CAAgD;AAChD,2EAA2E;AAG3E,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAE/D;AAFD,sDAEC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAI/D;AAJD,sDAIC;AAED,MAAa,oBAAqB,SAAQ,qBAAqB;CAE9D;AAFD,oDAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,yBAA0B,SAAQ,sCAAmB;CAEjE;AAFD,8DAEC;AAED,MAAa,uCAAwC,SAAQ,6BAAe;CAQ3E;AARD,0FAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,kBAAkB;CAsC9B;AAtCD,gDAsCC;AAGD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC"}
|
|
@@ -15,7 +15,6 @@ export * from './productPricing.dto';
|
|
|
15
15
|
export * from './productVariants.dto';
|
|
16
16
|
export * from './program-seasons.dto';
|
|
17
17
|
export * from './program.dto';
|
|
18
|
-
export * from './purchase.dto';
|
|
19
18
|
export * from './registration';
|
|
20
19
|
export * from './rental.dto';
|
|
21
20
|
export * from './resource.dto';
|
package/dist/types/dto/index.js
CHANGED
|
@@ -31,7 +31,6 @@ __exportStar(require("./productPricing.dto"), exports);
|
|
|
31
31
|
__exportStar(require("./productVariants.dto"), exports);
|
|
32
32
|
__exportStar(require("./program-seasons.dto"), exports);
|
|
33
33
|
__exportStar(require("./program.dto"), exports);
|
|
34
|
-
__exportStar(require("./purchase.dto"), exports);
|
|
35
34
|
__exportStar(require("./registration"), exports);
|
|
36
35
|
__exportStar(require("./rental.dto"), exports);
|
|
37
36
|
__exportStar(require("./resource.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,sDAAoC;AACpC,gDAA8B;AAC9B,gDAA8B;AAC9B,wDAAsC;AACtC,mDAAiC;AACjC,gDAA8B;AAC9B,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,sDAAoC;AACpC,gDAA8B;AAC9B,gDAA8B;AAC9B,wDAAsC;AACtC,mDAAiC;AACjC,gDAA8B;AAC9B,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,iDAA+B;AAC/B,8CAA4B;AAC5B,+CAA6B;AAC7B,6CAA2B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OptionalOrganizationIdDto, ByOrganizationIdDto } from '../organization/dto/organization.dto';
|
|
2
2
|
import { MaintenanceDto } from '../reservations/dto/maintenance.dto';
|
|
3
3
|
import { EComparisonFilter, ProgramSeasonTypesEnum, PublishingStatusEnum, ResourceNameTypeEnum } from '../services/enums.service';
|
|
4
4
|
import { GenderEnum, LevelOfPlayEnum, RegistrationConstraintPeriodTypeEnum, SlotTypeEnum, SportsEnum } from './../services/enums.service';
|
|
@@ -19,7 +19,7 @@ export declare class DeleteEventAttendeesDto {
|
|
|
19
19
|
export declare class FindProgramSeasonByIdQueryDto {
|
|
20
20
|
includeResources?: boolean;
|
|
21
21
|
}
|
|
22
|
-
export declare class FindProgramSeasonByIdDto extends
|
|
22
|
+
export declare class FindProgramSeasonByIdDto extends OptionalOrganizationIdDto {
|
|
23
23
|
seasonId: number;
|
|
24
24
|
}
|
|
25
25
|
export declare class SegmentsBySessionQueryDto {
|
|
@@ -18,7 +18,7 @@ exports.DeleteEventAttendeesDto = DeleteEventAttendeesDto;
|
|
|
18
18
|
class FindProgramSeasonByIdQueryDto {
|
|
19
19
|
}
|
|
20
20
|
exports.FindProgramSeasonByIdQueryDto = FindProgramSeasonByIdQueryDto;
|
|
21
|
-
class FindProgramSeasonByIdDto extends organization_dto_1.
|
|
21
|
+
class FindProgramSeasonByIdDto extends organization_dto_1.OptionalOrganizationIdDto {
|
|
22
22
|
}
|
|
23
23
|
exports.FindProgramSeasonByIdDto = FindProgramSeasonByIdDto;
|
|
24
24
|
class SegmentsBySessionQueryDto {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../src/types/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../src/types/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAAA,2EAAsG;AAetG,+CAAgD;AAEhD,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AACD,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AACD,MAAa,uCAAwC,SAAQ,gCAAgC;CAE5F;AAFD,0FAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AACD,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AACD,MAAa,0BAA2B,SAAQ,sCAAmB;CAElE;AAFD,gEAEC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,qBAAsB,SAAQ,wBAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,6BAA8B,SAAQ,6BAAe;CAMjE;AAND,sEAMC;AAED,MAAa,oBAAoB;CAsEhC;AAtED,oDAsEC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAE/D;AAFD,wDAEC;AAED,MAAa,wBAAwB;CAMpC;AAND,4DAMC;AAED,MAAa,kBAAkB;CAK9B;AALD,gDAKC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAE/D;AAFD,wDAEC;AAED,MAAa,4BAA4B;CAGxC;AAHD,oEAGC;AAED,MAAa,eAAe;CAI3B;AAJD,0CAIC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,6BAA6B;CAkDzC;AAlDD,sEAkDC;AAED,MAAa,yBAAyB;CAGrC;AAHD,8DAGC;AAED,MAAa,oBAAoB;CAWhC;AAXD,oDAWC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,+BAA+B;CAO3C;AAPD,0EAOC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,eAAe;CAK3B;AALD,0CAKC;AAED,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,oBAAoB;CAShC;AATD,oDASC;AAED,MAAa,uBAAwB,SAAQ,oBAAoB;CAUhE;AAVD,0DAUC;AAED,MAAa,kBAAkB;CAY9B;AAZD,gDAYC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ResourceAgesEnum, ResourceSubTypeEnum, SpacePropertiesEnum, SurfacesEnum } from './../services/enums.service';
|
|
1
2
|
import { BasicActivityTimesDto } from './activityTimes.dto';
|
|
2
|
-
import { SpacePropertiesEnum, ResourceAgesEnum, SurfacesEnum, ResourceSubTypeEnum } from './../services/enums.service';
|
|
3
3
|
import { PaginationQuery } from './general.dto';
|
|
4
4
|
export declare class SpaceByIdDto {
|
|
5
5
|
spaceId: number;
|
|
@@ -48,7 +48,7 @@ export declare class SaveSpaceDependenciesDto {
|
|
|
48
48
|
parentSpaceId?: number;
|
|
49
49
|
}
|
|
50
50
|
export declare class FacilitySlotsScheduleQueryParams {
|
|
51
|
-
spacesIds?:
|
|
51
|
+
spacesIds?: number[];
|
|
52
52
|
futureHoursLimit?: number;
|
|
53
53
|
}
|
|
54
54
|
export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare class
|
|
1
|
+
export declare class UserIdDto {
|
|
2
2
|
userId: number;
|
|
3
3
|
}
|
|
4
4
|
export declare class FindByFamilyAccountIdDto {
|
|
5
5
|
familyAccountId?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare class FindByUserAndOrganizationDto extends
|
|
7
|
+
export declare class FindByUserAndOrganizationDto extends UserIdDto {
|
|
8
8
|
organizationId: number;
|
|
9
9
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FindByUserAndOrganizationDto = exports.FindByFamilyAccountIdDto = exports.
|
|
4
|
-
class
|
|
3
|
+
exports.FindByUserAndOrganizationDto = exports.FindByFamilyAccountIdDto = exports.UserIdDto = void 0;
|
|
4
|
+
class UserIdDto {
|
|
5
5
|
}
|
|
6
|
-
exports.
|
|
6
|
+
exports.UserIdDto = UserIdDto;
|
|
7
7
|
class FindByFamilyAccountIdDto {
|
|
8
8
|
}
|
|
9
9
|
exports.FindByFamilyAccountIdDto = FindByFamilyAccountIdDto;
|
|
10
|
-
class FindByUserAndOrganizationDto extends
|
|
10
|
+
class FindByUserAndOrganizationDto extends UserIdDto {
|
|
11
11
|
}
|
|
12
12
|
exports.FindByUserAndOrganizationDto = FindByUserAndOrganizationDto;
|
|
13
13
|
//# sourceMappingURL=user.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../src/types/dto/user.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,
|
|
1
|
+
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../src/types/dto/user.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,SAAS;CAErB;AAFD,8BAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,4BAA6B,SAAQ,SAAS;CAE1D;AAFD,oEAEC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BondBaseEntity } from "./BondBaseEntity";
|
|
2
|
+
import { Organization } from "../organization/entities/Organization";
|
|
3
|
+
export declare class ColorCode extends BondBaseEntity {
|
|
4
|
+
organization: Organization;
|
|
5
|
+
organizationId: number;
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
lightValue: string;
|
|
9
|
+
baseValue: string;
|
|
10
|
+
darkValue: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ColorCode = void 0;
|
|
4
|
+
const BondBaseEntity_1 = require("./BondBaseEntity");
|
|
5
|
+
class ColorCode extends BondBaseEntity_1.BondBaseEntity {
|
|
6
|
+
}
|
|
7
|
+
exports.ColorCode = ColorCode;
|
|
8
|
+
//# sourceMappingURL=ColorCode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorCode.js","sourceRoot":"","sources":["../../../src/types/entity/ColorCode.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAIlD,MAAa,SAAU,SAAQ,+BAAc;CAc5C;AAdD,8BAcC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { User } from './User';
|
|
2
|
-
import { CustomerTypeEnum } from '
|
|
2
|
+
import { CustomerTypeEnum } from '../services/enums.service';
|
|
3
3
|
import { ResourceNameTypeEnum } from '../services/enums.service';
|
|
4
4
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
5
5
|
import { EmergencyContact } from './EmergencyContact';
|
|
@@ -9,6 +9,7 @@ import { ProductsReservedForCustomers } from './ProductsReservedForCustomers';
|
|
|
9
9
|
import { Media } from './Media';
|
|
10
10
|
import { Reservation } from '../reservations/entities/Reservations';
|
|
11
11
|
import { MembershipStatus } from '../services/interfaces.service';
|
|
12
|
+
import { ColorCode } from './ColorCode';
|
|
12
13
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
13
14
|
name: string | null;
|
|
14
15
|
entityId: number | null;
|
|
@@ -16,7 +17,8 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
16
17
|
entityType: CustomerTypeEnum | null;
|
|
17
18
|
customerId: string | null;
|
|
18
19
|
email: string | null;
|
|
19
|
-
|
|
20
|
+
colorCodeId: number | null;
|
|
21
|
+
colorCode: ColorCode | null;
|
|
20
22
|
phoneNumber: string | null;
|
|
21
23
|
mainMediaId: number | null;
|
|
22
24
|
creatorId: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/types/entity/Customer.ts"],"names":[],"mappings":";;;AAGA,yFAAsF;
|
|
1
|
+
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/types/entity/Customer.ts"],"names":[],"mappings":";;;AAGA,yFAAsF;AAYtF,MAAa,QAAS,SAAQ,mEAAgC;CA2D7D;AA3DD,4BA2DC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Payment } from '../payment/entities/Payment';
|
|
2
2
|
import { Customer } from './Customer';
|
|
3
|
-
import { Payment } from './Payment';
|
|
4
3
|
import { Invoice } from './Invoice';
|
|
4
|
+
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
5
5
|
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
6
6
|
customerId: number;
|
|
7
7
|
userId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomerCreditTransaction.js","sourceRoot":"","sources":["../../../src/types/entity/CustomerCreditTransaction.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CustomerCreditTransaction.js","sourceRoot":"","sources":["../../../src/types/entity/CustomerCreditTransaction.ts"],"names":[],"mappings":";;;AAKA,yFAAsF;AAEtF,MAAa,yBAA0B,SAAQ,mEAAgC;CAoB9E;AApBD,8DAoBC"}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { PaymentFeeDto } from '../fee/dto/payment-fee.dto';
|
|
2
|
+
import { PaymentFee } from '../fee/entities/PaymentFee';
|
|
3
|
+
import { Slot } from '../reservations/entities/Slots';
|
|
4
|
+
import { CurrencyEnum, InvoiceStatusEnum, PaymentMethodTypeEnum, PaymentStatusEnum, PlatformsEnum } from '../services/enums.service';
|
|
4
5
|
import { BondBaseEntity } from './BondBaseEntity';
|
|
5
|
-
import {
|
|
6
|
+
import { Customer } from './Customer';
|
|
6
7
|
import { InvoiceNote } from './InvoiceNote';
|
|
7
|
-
import {
|
|
8
|
+
import { InvoiceToPayment } from './InvoiceToPayment';
|
|
9
|
+
import { LineItemHistory } from './LineItemHistory';
|
|
10
|
+
import { LineItems } from './LineItems';
|
|
8
11
|
export declare class Invoice extends BondBaseEntity {
|
|
9
|
-
invoiceId
|
|
10
|
-
price: number
|
|
11
|
-
status
|
|
12
|
-
sentForClientDate
|
|
13
|
-
payingUserId?: number
|
|
12
|
+
invoiceId?: string;
|
|
13
|
+
price: number;
|
|
14
|
+
status?: InvoiceStatusEnum;
|
|
15
|
+
sentForClientDate?: Date;
|
|
16
|
+
payingUserId?: number;
|
|
14
17
|
invoiceToPayments: InvoiceToPayment[];
|
|
15
18
|
lineItems: LineItems[];
|
|
16
19
|
lineItemHistory: LineItemHistory[];
|
|
@@ -19,14 +22,18 @@ export declare class Invoice extends BondBaseEntity {
|
|
|
19
22
|
paymentType?: PaymentMethodTypeEnum;
|
|
20
23
|
paidAmount: number;
|
|
21
24
|
currency: CurrencyEnum;
|
|
22
|
-
mainPaymentId
|
|
25
|
+
mainPaymentId?: number;
|
|
23
26
|
isScheduled: boolean;
|
|
24
27
|
isRefunded: boolean;
|
|
25
28
|
isVoided: boolean;
|
|
26
29
|
importedId?: string;
|
|
27
|
-
creatingUserId
|
|
28
|
-
shiftId
|
|
29
|
-
platform
|
|
30
|
+
creatingUserId?: number;
|
|
31
|
+
shiftId?: number;
|
|
32
|
+
platform?: PlatformsEnum;
|
|
30
33
|
invoiceNotes: InvoiceNote[];
|
|
31
34
|
slots: Slot[];
|
|
35
|
+
paymentsFees: PaymentFee[] | PaymentFeeDto[];
|
|
36
|
+
totalFeesAmount?: number;
|
|
37
|
+
customer?: Customer;
|
|
38
|
+
noamId?: string;
|
|
32
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../src/types/entity/Invoice.ts"],"names":[],"mappings":";;;AAWA,qDAAkD;
|
|
1
|
+
{"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../src/types/entity/Invoice.ts"],"names":[],"mappings":";;;AAWA,qDAAkD;AAQlD,MAAa,OAAQ,SAAQ,+BAAc;CA2D1C;AA3DD,0BA2DC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Payment } from '../payment/entities/Payment';
|
|
1
2
|
import { CurrencyEnum } from '../services/enums.service';
|
|
2
3
|
import { BondBaseEntity } from './BondBaseEntity';
|
|
3
|
-
import { Payment } from './Payment';
|
|
4
4
|
import { Invoice } from './Invoice';
|
|
5
5
|
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
6
6
|
invoiceId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvoiceToPayment.js","sourceRoot":"","sources":["../../../src/types/entity/InvoiceToPayment.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"InvoiceToPayment.js","sourceRoot":"","sources":["../../../src/types/entity/InvoiceToPayment.ts"],"names":[],"mappings":";;;AAGA,qDAAkD;AAIlD,MAAa,gBAAiB,SAAQ,+BAAc;CAYnD;AAZD,4CAYC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Payment } from '../payment/entities/Payment';
|
|
1
2
|
import { CurrencyEnum } from './../services/enums.service';
|
|
2
3
|
import { BondBaseEntity } from './BondBaseEntity';
|
|
3
4
|
import { LineItems } from './LineItems';
|
|
4
|
-
import { Payment } from './Payment';
|
|
5
5
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
6
6
|
invoiceId: number;
|
|
7
7
|
paymentId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineItemHistory.js","sourceRoot":"","sources":["../../../src/types/entity/LineItemHistory.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"LineItemHistory.js","sourceRoot":"","sources":["../../../src/types/entity/LineItemHistory.ts"],"names":[],"mappings":";;;AAGA,qDAAkD;AAIlD,MAAa,eAAgB,SAAQ,+BAAc;CAiBlD;AAjBD,0CAiBC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaymentPlanSchedule } from '
|
|
1
|
+
import { PaymentPlanSchedule } from '../payment/entities/PaymentPlanSchedule';
|
|
2
2
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
3
3
|
import { Product } from './Product';
|
|
4
4
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductPaymentPlan.js","sourceRoot":"","sources":["../../../src/types/entity/ProductPaymentPlan.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ProductPaymentPlan.js","sourceRoot":"","sources":["../../../src/types/entity/ProductPaymentPlan.ts"],"names":[],"mappings":";;;AAEA,yFAAsF;AAItF,MAAa,kBAAmB,SAAQ,mEAAgC;CAcvE;AAdD,gDAcC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Media } from './Media';
|
|
3
|
-
import { EventAttendee } from './EventAttendees';
|
|
1
|
+
import { PaymentNote } from '../payment/entities/PaymentNote';
|
|
4
2
|
import { GenderEnum, ResourceNameTypeEnum } from '../services/enums.service';
|
|
3
|
+
import { UserRole } from './../roles/entities/UserRole';
|
|
4
|
+
import { Address } from './Address';
|
|
5
5
|
import { Athlete } from './Athlete';
|
|
6
6
|
import { BondBaseEntity } from './BondBaseEntity';
|
|
7
|
-
import {
|
|
8
|
-
import { SeasonAttendee } from './SeasonAttendees';
|
|
9
|
-
import { LinkedAccounts } from './LinkedAccounts';
|
|
10
|
-
import { Address } from './Address';
|
|
7
|
+
import { EventAttendee } from './EventAttendees';
|
|
11
8
|
import { InvoiceNote } from './InvoiceNote';
|
|
12
|
-
import {
|
|
9
|
+
import { LinkedAccounts } from './LinkedAccounts';
|
|
10
|
+
import { Media } from './Media';
|
|
11
|
+
import { SeasonAttendee } from './SeasonAttendees';
|
|
12
|
+
import { UserInFamilyAccount } from './UserInFamilyAccount';
|
|
13
13
|
export declare class User extends BondBaseEntity {
|
|
14
14
|
firstName: string | null;
|
|
15
15
|
lastName: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../src/types/entity/User.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../src/types/entity/User.ts"],"names":[],"mappings":";;;AAMA,qDAAkD;AAQlD,MAAa,IAAK,SAAQ,+BAAc;CA0EvC;AA1ED,oBA0EC"}
|
|
@@ -9,6 +9,7 @@ export * from './BlockedDate';
|
|
|
9
9
|
export * from './BondBaseEntity';
|
|
10
10
|
export * from './BookedSessions';
|
|
11
11
|
export * from './BookingTypeSetting';
|
|
12
|
+
export * from './ColorCode';
|
|
12
13
|
export * from './Configuration';
|
|
13
14
|
export * from './Connection';
|
|
14
15
|
export * from './CreditNote';
|
|
@@ -46,11 +47,6 @@ export * from './OpeningTime';
|
|
|
46
47
|
export * from './OrganizationConnectionBaseEntity';
|
|
47
48
|
export * from './PackageV1';
|
|
48
49
|
export * from './PasswordReset';
|
|
49
|
-
export * from './Payment';
|
|
50
|
-
export * from './PaymentFailConfig';
|
|
51
|
-
export * from './PaymentFailures';
|
|
52
|
-
export * from './PaymentNote';
|
|
53
|
-
export * from './PaymentPlanSchedule';
|
|
54
50
|
export * from './Payments_Deprecated';
|
|
55
51
|
export * from './Price';
|
|
56
52
|
export * from './Product';
|
|
@@ -25,6 +25,7 @@ __exportStar(require("./BlockedDate"), exports);
|
|
|
25
25
|
__exportStar(require("./BondBaseEntity"), exports);
|
|
26
26
|
__exportStar(require("./BookedSessions"), exports);
|
|
27
27
|
__exportStar(require("./BookingTypeSetting"), exports);
|
|
28
|
+
__exportStar(require("./ColorCode"), exports);
|
|
28
29
|
__exportStar(require("./Configuration"), exports);
|
|
29
30
|
__exportStar(require("./Connection"), exports);
|
|
30
31
|
__exportStar(require("./CreditNote"), exports);
|
|
@@ -62,11 +63,6 @@ __exportStar(require("./OpeningTime"), exports);
|
|
|
62
63
|
__exportStar(require("./OrganizationConnectionBaseEntity"), exports);
|
|
63
64
|
__exportStar(require("./PackageV1"), exports);
|
|
64
65
|
__exportStar(require("./PasswordReset"), exports);
|
|
65
|
-
__exportStar(require("./Payment"), exports);
|
|
66
|
-
__exportStar(require("./PaymentFailConfig"), exports);
|
|
67
|
-
__exportStar(require("./PaymentFailures"), exports);
|
|
68
|
-
__exportStar(require("./PaymentNote"), exports);
|
|
69
|
-
__exportStar(require("./PaymentPlanSchedule"), exports);
|
|
70
66
|
__exportStar(require("./Payments_Deprecated"), exports);
|
|
71
67
|
__exportStar(require("./Price"), exports);
|
|
72
68
|
__exportStar(require("./Product"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/entity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,kDAAgC;AAChC,4CAA0B;AAC1B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC;AAChC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,8DAA4C;AAC5C,kDAAgC;AAChC,6CAA2B;AAC3B,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,2CAAyB;AACzB,6CAA2B;AAC3B,uDAAqC;AACrC,kDAAgC;AAChC,sDAAoC;AACpC,4CAA0B;AAC1B,0CAAwB;AACxB,sDAAoC;AACpC,sDAAoC;AACpC,4CAA0B;AAC1B,iDAA+B;AAC/B,gDAA8B;AAC9B,qDAAmC;AACnC,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,8CAA4B;AAC5B,mDAAiC;AACjC,0CAAwB;AACxB,+CAA6B;AAC7B,qDAAmC;AACnC,8DAA4C;AAC5C,gDAA8B;AAC9B,qEAAmD;AACnD,8CAA4B;AAC5B,kDAAgC;AAChC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/entity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,kDAAgC;AAChC,4CAA0B;AAC1B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,mDAAiC;AACjC,uDAAqC;AACrC,8CAA4B;AAC5B,kDAAgC;AAChC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,8DAA4C;AAC5C,kDAAgC;AAChC,6CAA2B;AAC3B,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,2CAAyB;AACzB,6CAA2B;AAC3B,uDAAqC;AACrC,kDAAgC;AAChC,sDAAoC;AACpC,4CAA0B;AAC1B,0CAAwB;AACxB,sDAAoC;AACpC,sDAAoC;AACpC,4CAA0B;AAC1B,iDAA+B;AAC/B,gDAA8B;AAC9B,qDAAmC;AACnC,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,8CAA4B;AAC5B,mDAAiC;AACjC,0CAAwB;AACxB,+CAA6B;AAC7B,qDAAmC;AACnC,8DAA4C;AAC5C,gDAA8B;AAC9B,qEAAmD;AACnD,8CAA4B;AAC5B,kDAAgC;AAChC,wDAAsC;AACtC,0CAAwB;AACxB,4CAA0B;AAC1B,mDAAiC;AACjC,uDAAqC;AACrC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iEAA+C;AAC/C,kDAAgC;AAChC,4CAA0B;AAC1B,sDAAoC;AACpC,kDAAgC;AAChC,uDAAqC;AACrC,mDAAiC;AACjC,8CAA4B;AAC5B,iDAA+B;AAC/B,2DAAyC;AACzC,iDAA+B;AAC/B,6CAA2B;AAC3B,kDAAgC;AAChC,2CAAyB;AACzB,oDAAkC;AAClC,oDAAkC;AAClC,+CAA6B;AAC7B,+CAA6B;AAC7B,qDAAmC;AACnC,4CAA0B;AAC1B,yDAAuC;AACvC,gDAA8B;AAC9B,yCAAuB;AACvB,+CAA6B;AAC7B,+CAA6B;AAC7B,qDAAmC;AACnC,yCAAuB;AACvB,uDAAqC;AACrC,wDAAsC;AACtC,uDAAqC;AACrC,iDAA+B;AAC/B,kDAAgC;AAChC,6CAA2B;AAC3B,qEAAmD;AACnD,+CAA6B"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Organization } from '../../organization/entities/Organization';
|
|
2
|
+
import { ActivityEnum, PaymentMethodTypeEnum, PlatformsEnum, SubPaymentMethodTypeEnum } from '../../services/enums.service';
|
|
3
|
+
export declare class FindFeesFiltersDto {
|
|
4
|
+
platforms?: PlatformsEnum[];
|
|
5
|
+
paymentMethodTypes?: PaymentMethodTypeEnum[];
|
|
6
|
+
subPaymentMethodTypes?: SubPaymentMethodTypeEnum[];
|
|
7
|
+
includeInactive?: boolean;
|
|
8
|
+
isBondFee?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare class FeeFiltersFieldsDto {
|
|
11
|
+
platform: PlatformsEnum;
|
|
12
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
13
|
+
subPaymentMethodType?: SubPaymentMethodTypeEnum;
|
|
14
|
+
}
|
|
15
|
+
export declare class FindFeeFiltersDto extends FeeFiltersFieldsDto {
|
|
16
|
+
isBondFee?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare class CalculateFeeDto extends FeeFiltersFieldsDto {
|
|
19
|
+
amount: number;
|
|
20
|
+
}
|
|
21
|
+
export declare class CalculateFeesDto extends FeeFiltersFieldsDto {
|
|
22
|
+
amounts: number[];
|
|
23
|
+
}
|
|
24
|
+
export declare class FeesIdsDto {
|
|
25
|
+
feesIds: number[];
|
|
26
|
+
}
|
|
27
|
+
export declare class UpdateFeeDto {
|
|
28
|
+
id: number;
|
|
29
|
+
name?: string;
|
|
30
|
+
status?: ActivityEnum;
|
|
31
|
+
glCode?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare class FeeFieldsDto {
|
|
34
|
+
name: string;
|
|
35
|
+
glCode?: string;
|
|
36
|
+
platform: PlatformsEnum;
|
|
37
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
38
|
+
subPaymentMethodType?: SubPaymentMethodTypeEnum;
|
|
39
|
+
max?: number;
|
|
40
|
+
}
|
|
41
|
+
export declare class CreateFeeDto extends FeeFieldsDto {
|
|
42
|
+
organizationId?: number;
|
|
43
|
+
status?: ActivityEnum;
|
|
44
|
+
isBondFee?: boolean;
|
|
45
|
+
percentageValue?: number;
|
|
46
|
+
fixValue?: number;
|
|
47
|
+
min?: number;
|
|
48
|
+
}
|
|
49
|
+
export declare class FeeDto extends FeeFieldsDto {
|
|
50
|
+
id: number;
|
|
51
|
+
organizationId: number;
|
|
52
|
+
status: ActivityEnum;
|
|
53
|
+
isBondFee: boolean;
|
|
54
|
+
percentageValue: number;
|
|
55
|
+
fixValue: number;
|
|
56
|
+
min: number;
|
|
57
|
+
organization?: Organization;
|
|
58
|
+
}
|
|
59
|
+
export declare class CreateFeesDto {
|
|
60
|
+
fees: CreateFeeDto[];
|
|
61
|
+
}
|
|
62
|
+
export declare class UpdateFeesDto {
|
|
63
|
+
fees: UpdateFeeDto[];
|
|
64
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateFeesDto = exports.CreateFeesDto = exports.FeeDto = exports.CreateFeeDto = exports.FeeFieldsDto = exports.UpdateFeeDto = exports.FeesIdsDto = exports.CalculateFeesDto = exports.CalculateFeeDto = exports.FindFeeFiltersDto = exports.FeeFiltersFieldsDto = exports.FindFeesFiltersDto = void 0;
|
|
4
|
+
class FindFeesFiltersDto {
|
|
5
|
+
}
|
|
6
|
+
exports.FindFeesFiltersDto = FindFeesFiltersDto;
|
|
7
|
+
class FeeFiltersFieldsDto {
|
|
8
|
+
}
|
|
9
|
+
exports.FeeFiltersFieldsDto = FeeFiltersFieldsDto;
|
|
10
|
+
class FindFeeFiltersDto extends FeeFiltersFieldsDto {
|
|
11
|
+
}
|
|
12
|
+
exports.FindFeeFiltersDto = FindFeeFiltersDto;
|
|
13
|
+
class CalculateFeeDto extends FeeFiltersFieldsDto {
|
|
14
|
+
}
|
|
15
|
+
exports.CalculateFeeDto = CalculateFeeDto;
|
|
16
|
+
class CalculateFeesDto extends FeeFiltersFieldsDto {
|
|
17
|
+
}
|
|
18
|
+
exports.CalculateFeesDto = CalculateFeesDto;
|
|
19
|
+
class FeesIdsDto {
|
|
20
|
+
}
|
|
21
|
+
exports.FeesIdsDto = FeesIdsDto;
|
|
22
|
+
class UpdateFeeDto {
|
|
23
|
+
}
|
|
24
|
+
exports.UpdateFeeDto = UpdateFeeDto;
|
|
25
|
+
class FeeFieldsDto {
|
|
26
|
+
}
|
|
27
|
+
exports.FeeFieldsDto = FeeFieldsDto;
|
|
28
|
+
class CreateFeeDto extends FeeFieldsDto {
|
|
29
|
+
}
|
|
30
|
+
exports.CreateFeeDto = CreateFeeDto;
|
|
31
|
+
class FeeDto extends FeeFieldsDto {
|
|
32
|
+
}
|
|
33
|
+
exports.FeeDto = FeeDto;
|
|
34
|
+
class CreateFeesDto {
|
|
35
|
+
}
|
|
36
|
+
exports.CreateFeesDto = CreateFeesDto;
|
|
37
|
+
class UpdateFeesDto {
|
|
38
|
+
}
|
|
39
|
+
exports.UpdateFeesDto = UpdateFeesDto;
|
|
40
|
+
//# sourceMappingURL=fee.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fee.dto.js","sourceRoot":"","sources":["../../../../src/types/fee/dto/fee.dto.ts"],"names":[],"mappings":";;;AAQA,MAAa,kBAAkB;CAU9B;AAVD,gDAUC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAkB,SAAQ,mBAAmB;CAEzD;AAFD,8CAEC;AAED,MAAa,eAAgB,SAAQ,mBAAmB;CAEvD;AAFD,0CAEC;AAED,MAAa,gBAAiB,SAAQ,mBAAmB;CAExD;AAFD,4CAEC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,YAAY;CAYxB;AAZD,oCAYC;AAED,MAAa,YAAa,SAAQ,YAAY;CAY7C;AAZD,oCAYC;AAED,MAAa,MAAO,SAAQ,YAAY;CAgBvC;AAhBD,wBAgBC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./fee.dto"), exports);
|
|
18
|
+
__exportStar(require("./payment-fee.dto"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/fee/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,oDAAkC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Invoice } from '../../entity/Invoice';
|
|
2
|
+
import { Payment } from '../../payment/entities/Payment';
|
|
3
|
+
import { FeeDto } from './fee.dto';
|
|
4
|
+
export declare class PaymentFeeDto {
|
|
5
|
+
id: number;
|
|
6
|
+
organizationId: number;
|
|
7
|
+
feeId: number;
|
|
8
|
+
fee?: FeeDto;
|
|
9
|
+
parentPaymentFeeId?: number;
|
|
10
|
+
parent?: PaymentFeeDto;
|
|
11
|
+
children?: PaymentFeeDto[];
|
|
12
|
+
paymentId: number;
|
|
13
|
+
payment?: Payment;
|
|
14
|
+
invoiceId: number;
|
|
15
|
+
invoice?: Invoice;
|
|
16
|
+
feeAmount: number;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment-fee.dto.js","sourceRoot":"","sources":["../../../../src/types/fee/dto/payment-fee.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,aAAa;CAwBzB;AAxBD,sCAwBC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
2
|
+
import { Organization } from '../../organization/entities/Organization';
|
|
3
|
+
import { ActivityEnum, PaymentMethodTypeEnum, PlatformsEnum, SubPaymentMethodTypeEnum } from '../../services/enums.service';
|
|
4
|
+
export declare class Fee extends OrganizationConnectionBaseEntity {
|
|
5
|
+
deletedAt?: Date;
|
|
6
|
+
name: string;
|
|
7
|
+
glCode?: string;
|
|
8
|
+
status: ActivityEnum;
|
|
9
|
+
platform: PlatformsEnum;
|
|
10
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
11
|
+
subPaymentMethodType?: SubPaymentMethodTypeEnum;
|
|
12
|
+
isBondFee: boolean;
|
|
13
|
+
percentageValue: number;
|
|
14
|
+
fixValue: number;
|
|
15
|
+
min: number;
|
|
16
|
+
max?: number;
|
|
17
|
+
organization: Organization;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Fee = void 0;
|
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
5
|
+
class Fee extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
|
+
}
|
|
7
|
+
exports.Fee = Fee;
|
|
8
|
+
//# sourceMappingURL=Fee.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fee.js","sourceRoot":"","sources":["../../../../src/types/fee/entities/Fee.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AASjG,MAAa,GAAI,SAAQ,mEAAgC;CA0BxD;AA1BD,kBA0BC"}
|