@bondsports/types 2.1.45 → 2.1.47
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/future-installments/dto/future-installments.dto.d.ts +1 -0
- package/dist/types/future-installments/dto/future-installments.dto.js.map +1 -1
- package/dist/types/import/dto/index.d.ts +1 -0
- package/dist/types/import/dto/index.js +1 -0
- package/dist/types/import/dto/index.js.map +1 -1
- package/dist/types/import/dto/installment.dto.d.ts +17 -0
- package/dist/types/import/dto/installment.dto.js +13 -0
- package/dist/types/import/dto/installment.dto.js.map +1 -0
- package/dist/types/payment/dto/payment-method.dto.d.ts +1 -0
- package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
- package/dist/types/payment/dto/payment-plan.dto.d.ts +1 -0
- package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
- package/dist/types/payment/entities/FutureInstallment.d.ts +1 -0
- package/dist/types/payment/entities/FutureInstallment.js.map +1 -1
- package/dist/types/resources/dto/instructor.dto.d.ts +5 -6
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/entities/Instructor.d.ts +0 -2
- package/dist/types/resources/entities/Instructor.js.map +1 -1
- package/dist/types/resources/entities/Resource.d.ts +2 -0
- package/dist/types/resources/entities/Resource.js.map +1 -1
- package/dist/types/user/entities/User.d.ts +2 -0
- package/dist/types/user/entities/User.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"future-installments.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/future-installments.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAOpF,MAAa,oBAAqB,SAAQ,4CAAyB;
|
1
|
+
{"version":3,"file":"future-installments.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/future-installments.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAOpF,MAAa,oBAAqB,SAAQ,4CAAyB;CA4ClE;AA5CD,oDA4CC"}
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./customer.dto"), exports);
|
18
|
+
__exportStar(require("./installment.dto"), exports);
|
18
19
|
__exportStar(require("./invoices.dto"), exports);
|
19
20
|
__exportStar(require("./membership.dto"), exports);
|
20
21
|
__exportStar(require("./product.dto"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/import/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,iDAA+B;AAC/B,mDAAiC;AACjC,gDAA8B;AAC9B,mDAAiC;AACjC,oDAAkC;AAClC,4DAA0C"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/import/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,oDAAkC;AAClC,iDAA+B;AAC/B,mDAAiC;AACjC,gDAA8B;AAC9B,mDAAiC;AACjC,oDAAkC;AAClC,4DAA0C"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { FutureInstallmentDto } from '../../future-installments/dto/future-installments.dto';
|
2
|
+
export declare class ImportFutureInstallmentValidationDto {
|
3
|
+
problems: any[];
|
4
|
+
}
|
5
|
+
export declare class ImportFutureInstallmentDto {
|
6
|
+
importedCustomerId?: string;
|
7
|
+
userId?: number;
|
8
|
+
invoiceId: number;
|
9
|
+
vendorPaymentMethodId?: string;
|
10
|
+
userPaymentMethodId?: number;
|
11
|
+
price: number;
|
12
|
+
plannedDate: string;
|
13
|
+
}
|
14
|
+
export declare class ImportFutureInstallmentResponseDto {
|
15
|
+
data: FutureInstallmentDto[];
|
16
|
+
problems: any[];
|
17
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ImportFutureInstallmentResponseDto = exports.ImportFutureInstallmentDto = exports.ImportFutureInstallmentValidationDto = void 0;
|
4
|
+
class ImportFutureInstallmentValidationDto {
|
5
|
+
}
|
6
|
+
exports.ImportFutureInstallmentValidationDto = ImportFutureInstallmentValidationDto;
|
7
|
+
class ImportFutureInstallmentDto {
|
8
|
+
}
|
9
|
+
exports.ImportFutureInstallmentDto = ImportFutureInstallmentDto;
|
10
|
+
class ImportFutureInstallmentResponseDto {
|
11
|
+
}
|
12
|
+
exports.ImportFutureInstallmentResponseDto = ImportFutureInstallmentResponseDto;
|
13
|
+
//# sourceMappingURL=installment.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"installment.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/installment.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,oCAAoC;CAEhD;AAFD,oFAEC;AAED,MAAa,0BAA0B;CActC;AAdD,gEAcC;AAED,MAAa,kCAAkC;CAI9C;AAJD,gFAIC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-method.dto.ts"],"names":[],"mappings":";;;AAWA,MAAa,uCAAuC;CAUnD;AAVD,0FAUC;AAED,MAAa,oBAAoB;
|
1
|
+
{"version":3,"file":"payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-method.dto.ts"],"names":[],"mappings":";;;AAWA,MAAa,uCAAuC;CAUnD;AAVD,0FAUC;AAED,MAAa,oBAAoB;CAsBhC;AAtBD,oDAsBC"}
|
@@ -27,6 +27,7 @@ export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
27
27
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdDto {
|
28
28
|
invoiceId: number;
|
29
29
|
userId: number;
|
30
|
+
importedId?: string;
|
30
31
|
}
|
31
32
|
export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto {
|
32
33
|
payments: ScheduledPaymentDto[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAS9E,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AACD,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,kBAAmB,SAAQ,cAAc;CAErD;AAFD,gDAEC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;
|
1
|
+
{"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAS9E,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AACD,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,kBAAmB,SAAQ,cAAc;CAErD;AAFD,gDAEC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAM/D;AAND,0DAMC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,0BAA0B;CAYtC;AAZD,gEAYC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC"}
|
@@ -23,6 +23,7 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
|
|
23
23
|
children?: FutureInstallment[];
|
24
24
|
chargedAt?: Date;
|
25
25
|
originalPlannedDate?: Date;
|
26
|
+
importedId?: string;
|
26
27
|
payments?: Payment[];
|
27
28
|
paymentFailures?: PaymentFailure[];
|
28
29
|
lastPaymentFailure?: PaymentFailure;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FutureInstallment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/FutureInstallment.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,iBAAkB,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"FutureInstallment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/FutureInstallment.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,iBAAkB,SAAQ,mEAAgC;CA8CtE;AA9CD,8CA8CC"}
|
@@ -4,7 +4,7 @@ import { Slot } from '../../reservations/entities/Slots';
|
|
4
4
|
import { Addon } from '../../reservations/entities/Addon';
|
5
5
|
import { PurchasedResourceDto } from '../../reservations/dto/purcased-resource.dto';
|
6
6
|
import { ActivityTimesDto } from '../../programs-seasons/dto/program-seasons.dto';
|
7
|
-
import { FacilityDto } from '../../dto/facilities.dto';
|
7
|
+
import { AddressDto, FacilityDto } from '../../dto/facilities.dto';
|
8
8
|
import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
|
9
9
|
import { ResourceDependenciesDto } from './resource.dto';
|
10
10
|
export declare class InstructorResourceDto {
|
@@ -13,7 +13,6 @@ export declare class InstructorResourceDto {
|
|
13
13
|
createdAt: Date;
|
14
14
|
updatedAt: Date;
|
15
15
|
deletedAt?: Date;
|
16
|
-
name: string;
|
17
16
|
resourceType: ResourceTypeEnum;
|
18
17
|
description?: string;
|
19
18
|
longDescription?: string;
|
@@ -34,10 +33,12 @@ export declare class InstructorResourceDto {
|
|
34
33
|
linkSEO: string;
|
35
34
|
email?: string;
|
36
35
|
phoneNumber?: string;
|
36
|
+
firstName: string;
|
37
|
+
lastName: string;
|
38
|
+
address?: AddressDto;
|
37
39
|
programTypes?: ProgramTypesEnum[];
|
38
40
|
}
|
39
41
|
export declare class CreateInstructorDto extends ResourceDependenciesDto {
|
40
|
-
name: string;
|
41
42
|
description?: string;
|
42
43
|
longDescription?: string;
|
43
44
|
activityTimes: BasicActivityTimesDto[];
|
@@ -48,7 +49,5 @@ export declare class CreateInstructorDto extends ResourceDependenciesDto {
|
|
48
49
|
isAddon?: boolean;
|
49
50
|
userId: number;
|
50
51
|
status?: ActivityEnum;
|
51
|
-
|
52
|
-
email?: string;
|
53
|
-
sports: SportsEnum[];
|
52
|
+
sports?: SportsEnum[];
|
54
53
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAeA,iDAAyD;AAEzD,MAAa,qBAAqB;
|
1
|
+
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAeA,iDAAyD;AAEzD,MAAa,qBAAqB;CA0DjC;AA1DD,sDA0DC;AAED,MAAa,mBAAoB,SAAQ,sCAAuB;CAsB/D;AAtBD,kDAsBC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Instructor.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Instructor.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAE7D,MAAa,UAAW,SAAQ,+BAAc;
|
1
|
+
{"version":3,"file":"Instructor.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Instructor.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAE7D,MAAa,UAAW,SAAQ,+BAAc;CAQ7C;AARD,gCAQC"}
|
@@ -8,6 +8,7 @@ import { Slot } from '../../reservations/entities/Slots';
|
|
8
8
|
import { Addon } from '../../reservations/entities/Addon';
|
9
9
|
import { Instructor } from './Instructor';
|
10
10
|
import { Space } from './Space';
|
11
|
+
import { User } from '../../user/entities/User';
|
11
12
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
12
13
|
name: string;
|
13
14
|
resourceType: ResourceTypeEnum;
|
@@ -39,4 +40,5 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
39
40
|
linkSEO: string;
|
40
41
|
instructor?: Instructor;
|
41
42
|
space?: Space;
|
43
|
+
user: User;
|
42
44
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Resource.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Resource.ts"],"names":[],"mappings":";;;AAuBA,oGAAiG;
|
1
|
+
{"version":3,"file":"Resource.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Resource.ts"],"names":[],"mappings":";;;AAuBA,oGAAiG;AAUjG,MAAa,QAAS,SAAQ,mEAAgC;CAqE7D;AArED,4BAqEC"}
|
@@ -11,6 +11,7 @@ import { PaymentNote } from '../../payment/entities/PaymentNote';
|
|
11
11
|
import { UserRole } from '../../roles/entities/UserRole';
|
12
12
|
import { GenderEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
13
13
|
import { Athlete } from './Athlete';
|
14
|
+
import { Resource } from '../../resources/entities/Resource';
|
14
15
|
export declare class User extends BondBaseEntity {
|
15
16
|
firstName?: string;
|
16
17
|
lastName?: string;
|
@@ -51,6 +52,7 @@ export declare class User extends BondBaseEntity {
|
|
51
52
|
invoiceNotes: InvoiceNote[];
|
52
53
|
paymentNotes: PaymentNote[];
|
53
54
|
customers: Customer[];
|
55
|
+
resources?: Resource[];
|
54
56
|
}
|
55
57
|
export declare class IUserInOrganization extends User {
|
56
58
|
organizationId: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/types/user/entities/User.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/types/user/entities/User.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAc7D,MAAa,IAAK,SAAQ,+BAAc;CAgFvC;AAhFD,oBAgFC;AAED,MAAa,mBAAoB,SAAQ,IAAI;CAI5C;AAJD,kDAIC"}
|