@bondsports/types 2.1.44 → 2.1.46

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,4 +14,5 @@ export declare class LinkedAccounts extends BondBaseEntity {
14
14
  updatedAt: Date;
15
15
  user: User;
16
16
  userId: number | null;
17
+ importedId?: string;
17
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LinkedAccounts.js","sourceRoot":"","sources":["../../../src/types/entity/LinkedAccounts.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAElD,MAAa,cAAe,SAAQ,+BAAc;CA0BjD;AA1BD,wCA0BC"}
1
+ {"version":3,"file":"LinkedAccounts.js","sourceRoot":"","sources":["../../../src/types/entity/LinkedAccounts.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAElD,MAAa,cAAe,SAAQ,+BAAc;CA4BjD;AA5BD,wCA4BC"}
@@ -10,5 +10,6 @@ export declare class UserPaymentMethod extends BondBaseEntity {
10
10
  nextAllowedChargeDate?: Date;
11
11
  ccLast4?: string;
12
12
  ccBrand?: string;
13
+ importedId?: string;
13
14
  deletedAt?: Date;
14
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"user-payment-method.js","sourceRoot":"","sources":["../../../src/types/entity/user-payment-method.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAElD,MAAa,iBAAkB,SAAQ,+BAAc;CAoBpD;AApBD,8CAoBC"}
1
+ {"version":3,"file":"user-payment-method.js","sourceRoot":"","sources":["../../../src/types/entity/user-payment-method.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAElD,MAAa,iBAAkB,SAAQ,+BAAc;CAsBpD;AAtBD,8CAsBC"}
@@ -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,6 +1,8 @@
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';
5
6
  export * from './punch-pass.dto';
6
7
  export * from './reservation.dto';
8
+ export * from './user-payment-method.dto';
@@ -15,9 +15,11 @@ 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);
21
22
  __exportStar(require("./punch-pass.dto"), exports);
22
23
  __exportStar(require("./reservation.dto"), exports);
24
+ __exportStar(require("./user-payment-method.dto"), exports);
23
25
  //# sourceMappingURL=index.js.map
@@ -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"}
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"}
@@ -0,0 +1,19 @@
1
+ import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
2
+ import { UserPaymentMethodDto } from '../../payment/dto/payment-method.dto';
3
+ export declare class ImportUserPaymentMethodValidationDto {
4
+ problems: any[];
5
+ }
6
+ export declare class ImportUserPaymentMethodDto {
7
+ importedCustomerId?: string;
8
+ userId?: number;
9
+ vendorAccountId: string;
10
+ vendorPaymentMethodId: string;
11
+ vendorPaymentType: PaymentMethodTypeEnum;
12
+ vendorSubPaymentMethodType?: SubPaymentMethodTypeEnum;
13
+ last4: string;
14
+ brand: string;
15
+ }
16
+ export declare class ImportUserPaymentMethodResponseDto {
17
+ data: UserPaymentMethodDto[];
18
+ problems: any[];
19
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ImportUserPaymentMethodResponseDto = exports.ImportUserPaymentMethodDto = exports.ImportUserPaymentMethodValidationDto = void 0;
4
+ class ImportUserPaymentMethodValidationDto {
5
+ }
6
+ exports.ImportUserPaymentMethodValidationDto = ImportUserPaymentMethodValidationDto;
7
+ class ImportUserPaymentMethodDto {
8
+ }
9
+ exports.ImportUserPaymentMethodDto = ImportUserPaymentMethodDto;
10
+ class ImportUserPaymentMethodResponseDto {
11
+ }
12
+ exports.ImportUserPaymentMethodResponseDto = ImportUserPaymentMethodResponseDto;
13
+ //# sourceMappingURL=user-payment-method.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/user-payment-method.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,oCAAoC;CAEhD;AAFD,oFAEC;AAED,MAAa,0BAA0B;CAgBtC;AAhBD,gEAgBC;AAED,MAAa,kCAAkC;CAI9C;AAJD,gFAIC"}
@@ -1,5 +1,5 @@
1
1
  import { ResourceNameTypeEnum } from '../../services/enums.service';
2
- import { PaymentMethodTypeEnum } from '../types/enums/payment.enums';
2
+ import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../types/enums/payment.enums';
3
3
  export interface IConnectedResource {
4
4
  resourceId: number;
5
5
  resourceType: ResourceNameTypeEnum;
@@ -14,3 +14,16 @@ export declare class UpdateConnectedResourcePaymentMethodDto {
14
14
  paymentMethodId: string;
15
15
  paymentMethodType: PaymentMethodTypeEnum;
16
16
  }
17
+ export declare class UserPaymentMethodDto {
18
+ id: number;
19
+ userId: number;
20
+ failCount: number;
21
+ isDefault?: boolean;
22
+ paymentMethodType: PaymentMethodTypeEnum;
23
+ subPaymentMethodType?: SubPaymentMethodTypeEnum;
24
+ paymentMethodId: string;
25
+ ccLast4?: string;
26
+ ccBrand?: string;
27
+ importedId?: string;
28
+ deletedAt?: Date;
29
+ }
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateConnectedResourcePaymentMethodDto = void 0;
3
+ exports.UserPaymentMethodDto = exports.UpdateConnectedResourcePaymentMethodDto = void 0;
4
4
  class UpdateConnectedResourcePaymentMethodDto {
5
5
  }
6
6
  exports.UpdateConnectedResourcePaymentMethodDto = UpdateConnectedResourcePaymentMethodDto;
7
+ class UserPaymentMethodDto {
8
+ }
9
+ exports.UserPaymentMethodDto = UserPaymentMethodDto;
7
10
  //# sourceMappingURL=payment-method.dto.js.map
@@ -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"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.44",
3
+ "version": "2.1.46",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {