@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.
@@ -17,6 +17,7 @@ export declare class FutureInstallmentDto extends OrganizationBaseEntityDto {
17
17
  feeAmount?: number;
18
18
  totalPrice?: number;
19
19
  originalPlannedDate?: Date;
20
+ importedId?: string;
20
21
  ccLast4?: string;
21
22
  ccBrand?: string;
22
23
  errorMessage?: string;
@@ -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;CA0ClE;AA1CD,oDA0CC"}
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"}
@@ -1,4 +1,5 @@
1
1
  export * from './customer.dto';
2
+ export * from './installment.dto';
2
3
  export * from './invoices.dto';
3
4
  export * from './membership.dto';
4
5
  export * from './product.dto';
@@ -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"}
@@ -24,5 +24,6 @@ export declare class UserPaymentMethodDto {
24
24
  paymentMethodId: string;
25
25
  ccLast4?: string;
26
26
  ccBrand?: string;
27
+ importedId?: string;
27
28
  deletedAt?: Date;
28
29
  }
@@ -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;CAoBhC;AApBD,oDAoBC"}
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;CAI/D;AAJD,0DAIC;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"}
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;CA4CtE;AA5CD,8CA4CC"}
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
- phoneNumber?: string;
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;CAsDjC;AAtDD,sDAsDC;AAED,MAAa,mBAAoB,SAAQ,sCAAuB;CA4B/D;AA5BD,kDA4BC"}
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"}
@@ -5,7 +5,5 @@ export declare class Instructor extends BondBaseEntity {
5
5
  deletedAt?: Date;
6
6
  resourceId: number;
7
7
  programTypes?: ProgramTypesEnum[];
8
- email?: string;
9
- phoneNumber?: string;
10
8
  resource: Resource;
11
9
  }
@@ -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;CAY7C;AAZD,gCAYC"}
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;AASjG,MAAa,QAAS,SAAQ,mEAAgC;CAmE7D;AAnED,4BAmEC"}
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;AAa7D,MAAa,IAAK,SAAQ,+BAAc;CA8EvC;AA9ED,oBA8EC;AAED,MAAa,mBAAoB,SAAQ,IAAI;CAI5C;AAJD,kDAIC"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.45",
3
+ "version": "2.1.47",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {