@bondsports/types 2.2.1 → 2.2.3
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/invoice/types/consts/invoice.interfaces.d.ts +2 -1
- package/dist/types/payment/dto/connected-resources.js.map +1 -1
- 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/types/enums/connected-resources.enums.d.ts +2 -1
- package/dist/types/payment/types/enums/connected-resources.enums.js +1 -0
- package/dist/types/payment/types/enums/connected-resources.enums.js.map +1 -1
- package/package.json +1 -1
@@ -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?:
|
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;
|
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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-method.dto.ts"],"names":[],"mappings":";;;AAIA,sDAAoD;
|
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"}
|
@@ -5,5 +5,6 @@ var ResourceSortByEnum;
|
|
5
5
|
(function (ResourceSortByEnum) {
|
6
6
|
ResourceSortByEnum["NAME"] = "name";
|
7
7
|
ResourceSortByEnum["RESOURCE_TYPE"] = "resourceType";
|
8
|
+
ResourceSortByEnum["INVOICE_ID"] = "invoiceId";
|
8
9
|
})(ResourceSortByEnum = exports.ResourceSortByEnum || (exports.ResourceSortByEnum = {}));
|
9
10
|
//# sourceMappingURL=connected-resources.enums.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"connected-resources.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/connected-resources.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
1
|
+
{"version":3,"file":"connected-resources.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/connected-resources.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC7B,mCAAa,CAAA;IACb,oDAA8B,CAAA;IAC9B,8CAAwB,CAAA;AACzB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
|