@bondsports/types 2.1.43 → 2.1.45

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"}
@@ -4,3 +4,4 @@ export * from './membership.dto';
4
4
  export * from './product.dto';
5
5
  export * from './punch-pass.dto';
6
6
  export * from './reservation.dto';
7
+ export * from './user-payment-method.dto';
@@ -20,4 +20,5 @@ __exportStar(require("./membership.dto"), exports);
20
20
  __exportStar(require("./product.dto"), exports);
21
21
  __exportStar(require("./punch-pass.dto"), exports);
22
22
  __exportStar(require("./reservation.dto"), exports);
23
+ __exportStar(require("./user-payment-method.dto"), exports);
23
24
  //# 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,iDAA+B;AAC/B,mDAAiC;AACjC,gDAA8B;AAC9B,mDAAiC;AACjC,oDAAkC;AAClC,4DAA0C"}
@@ -25,8 +25,9 @@ export declare class ImportMembershipMembersDto extends AddImportedCustomerDto {
25
25
  startDate: string;
26
26
  parentId?: number;
27
27
  importedMembershipId?: string;
28
- paymentMethodId?: string;
29
- paymentMethodType?: PaymentMethodTypeEnum;
28
+ nextPaymentMethodId?: number;
29
+ nextVendorPaymentMethodId?: string;
30
+ nextVendorPaymentMethodType?: PaymentMethodTypeEnum;
30
31
  invoiceDue?: number;
31
32
  birthDate: string;
32
33
  firstName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/membership.dto.ts"],"names":[],"mappings":";;;AAAA,6DAA+D;AAE/D,iDAAwD;AAExD,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,mCAAmC;CAI/C;AAJD,kFAIC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,mBAAoB,SAAQ,oCAAmB;CAE3D;AAFD,kDAEC;AAED,MAAa,0BAA2B,SAAQ,qCAAsB;CA0BrE;AA1BD,gEA0BC"}
1
+ {"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../../src/types/import/dto/membership.dto.ts"],"names":[],"mappings":";;;AAAA,6DAA+D;AAE/D,iDAAwD;AAExD,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,mCAAmC;CAI/C;AAJD,kFAIC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,mBAAoB,SAAQ,oCAAmB;CAE3D;AAFD,kDAEC;AAED,MAAa,0BAA2B,SAAQ,qCAAsB;CA4BrE;AA5BD,gEA4BC"}
@@ -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,15 @@ 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
+ deletedAt?: Date;
28
+ }
@@ -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;CAoBhC;AApBD,oDAoBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.43",
3
+ "version": "2.1.45",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {