@bondsports/types 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,8 +2,9 @@ import { Invoice } from '../../../entity/Invoice';
2
2
  import { UserPaymentMethod } from '../../../entity/user-payment-method';
3
3
  export interface InvoiceAndRelatedMethod {
4
4
  invoice: Invoice;
5
- paymentMethod?: Pick<UserPaymentMethod, 'ccBrand' | 'ccLast4' | 'paymentMethodType'>;
5
+ paymentMethod?: DisplayedMethodFields;
6
6
  }
7
+ export type DisplayedMethodFields = Pick<UserPaymentMethod, 'ccBrand' | 'ccLast4' | 'paymentMethodType' | 'paymentMethodId'>;
7
8
  export interface InvoiceAndMethodIds {
8
9
  invoiceId: number;
9
10
  pmId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"connected-resources.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/connected-resources.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AAIxD,MAAM,yBAA0B,SAAQ,6BAAe;CAMtD;AAED,MAAa,wBAAyB,SAAQ,yBAAyB;CAKtE;AALD,4DAKC"}
1
+ {"version":3,"file":"connected-resources.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/connected-resources.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AAIxD,MAAM,yBAA0B,SAAQ,6BAAe;CAMtD;AAED,MAAa,wBAAyB,SAAQ,yBAAyB;CAItE;AAJD,4DAIC"}
@@ -10,6 +10,7 @@ export interface IConnectedResource {
10
10
  name: string;
11
11
  createdAt: Date;
12
12
  paymentMethodType?: PaymentMethodTypeEnum;
13
+ paymentMethodId?: string;
13
14
  ccBrand?: string;
14
15
  ccLast4?: string;
15
16
  invoiceId?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-method.dto.ts"],"names":[],"mappings":";;;AAIA,sDAAoD;AAepD,MAAa,0BAA0B;CAQtC;AARD,gEAQC;AAED,MAAa,oBAAoB;CAgBhC;AAhBD,oDAgBC;AAED,MAAa,uCAAuC;CAUnD;AAVD,0FAUC;AAED,MAAa,oBAAoB;CA0BhC;AA1BD,oDA0BC;AAED,MAAa,uBAAuB;CAQnC;AARD,0DAQC;AAED,MAAa,6BAA8B,SAAQ,oBAAS;CAE3D;AAFD,sEAEC"}
1
+ {"version":3,"file":"payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-method.dto.ts"],"names":[],"mappings":";;;AAIA,sDAAoD;AAgBpD,MAAa,0BAA0B;CAQtC;AARD,gEAQC;AAED,MAAa,oBAAoB;CAgBhC;AAhBD,oDAgBC;AAED,MAAa,uCAAuC;CAUnD;AAVD,0FAUC;AAED,MAAa,oBAAoB;CA0BhC;AA1BD,oDA0BC;AAED,MAAa,uBAAuB;CAQnC;AARD,0DAQC;AAED,MAAa,6BAA8B,SAAQ,oBAAS;CAE3D;AAFD,sEAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {