@bondsports/types 2.0.52 → 2.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/payment/dto/payment.dto.d.ts +2 -1
- package/dist/types/payment/dto/payment.dto.js +3 -3
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/payment/entities/Payment.js.map +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +10 -0
- package/dist/types/payment/types/interfaces/payment.interfaces.js.map +1 -1
- package/dist/types/user/dto/user.dto.d.ts +3 -0
- package/dist/types/user/dto/user.dto.js +4 -1
- package/dist/types/user/dto/user.dto.js.map +1 -1
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ export declare class ByPaymentDto extends ByOrganizationIdDto {
|
|
|
23
23
|
export declare class GetPaymentByUserDto extends ByPaymentDto {
|
|
24
24
|
userId: number;
|
|
25
25
|
}
|
|
26
|
-
export declare class
|
|
26
|
+
export declare class GetPaymentByCustomerDeprecatedDto extends ByPaymentDto {
|
|
27
27
|
customerId: number;
|
|
28
28
|
}
|
|
29
29
|
export declare class InvoiceIdDto {
|
|
@@ -45,6 +45,7 @@ export declare class GetInvoicesQueryDto {
|
|
|
45
45
|
export declare class GetPaymentsQueryDto {
|
|
46
46
|
extended?: boolean;
|
|
47
47
|
onlyPublicNotes?: boolean;
|
|
48
|
+
includeInvoice?: boolean;
|
|
48
49
|
}
|
|
49
50
|
export declare class PaymentViaInvoiceHashDto {
|
|
50
51
|
customerId: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PaymentDto = exports.GetPaymentMethodsDto = exports.SendPaymentRequestDto = exports.RevertMetaDto = exports.RemoveResourceDto = exports.NotePrivacyDto = exports.UpdateNoteContentDto = exports.CreateNoteDto = exports.AddToInvoiceDto = exports.SendReceiptDataDto = exports.PaymentDataDto = exports.PaymentIntentDto = exports.StationsDto = exports.FindPayments = exports.ByPaymentFilter = exports.PaymentViaInvoiceHashDto = exports.GetPaymentsQueryDto = exports.GetInvoicesQueryDto = exports.InvoiceIdAndUserIdDto = exports.ByInvoiceAndCustomerDto = exports.ByInvoiceDto = exports.InvoiceIdDto = exports.
|
|
3
|
+
exports.PaymentDto = exports.GetPaymentMethodsDto = exports.SendPaymentRequestDto = exports.RevertMetaDto = exports.RemoveResourceDto = exports.NotePrivacyDto = exports.UpdateNoteContentDto = exports.CreateNoteDto = exports.AddToInvoiceDto = exports.SendReceiptDataDto = exports.PaymentDataDto = exports.PaymentIntentDto = exports.StationsDto = exports.FindPayments = exports.ByPaymentFilter = exports.PaymentViaInvoiceHashDto = exports.GetPaymentsQueryDto = exports.GetInvoicesQueryDto = exports.InvoiceIdAndUserIdDto = exports.ByInvoiceAndCustomerDto = exports.ByInvoiceDto = exports.InvoiceIdDto = exports.GetPaymentByCustomerDeprecatedDto = exports.GetPaymentByUserDto = exports.ByPaymentDto = exports.GetPaymentDto = exports.ByPaymentAndCustomerDto = exports.PaymentIdDto = exports.CustomerIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
6
6
|
const Payment_1 = require("../entities/Payment");
|
|
@@ -22,9 +22,9 @@ exports.ByPaymentDto = ByPaymentDto;
|
|
|
22
22
|
class GetPaymentByUserDto extends ByPaymentDto {
|
|
23
23
|
}
|
|
24
24
|
exports.GetPaymentByUserDto = GetPaymentByUserDto;
|
|
25
|
-
class
|
|
25
|
+
class GetPaymentByCustomerDeprecatedDto extends ByPaymentDto {
|
|
26
26
|
}
|
|
27
|
-
exports.
|
|
27
|
+
exports.GetPaymentByCustomerDeprecatedDto = GetPaymentByCustomerDeprecatedDto;
|
|
28
28
|
class InvoiceIdDto {
|
|
29
29
|
}
|
|
30
30
|
exports.InvoiceIdDto = InvoiceIdDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AAExD,8EAA8E;AAG9E,iDAA8C;AAS9C,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAE9C;AAFD,sCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,
|
|
1
|
+
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AAExD,8EAA8E;AAG9E,iDAA8C;AAS9C,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAE9C;AAFD,sCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,iCAAkC,SAAQ,YAAY;CAElE;AAFD,8EAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,qBAAsB,SAAQ,YAAY;CAEtD;AAFD,sDAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,eAAgB,SAAQ,6BAAe;CAQnD;AARD,0CAQC;AAED,MAAa,YAAa,SAAQ,eAAe;CAQhD;AARD,oCAQC;AAED,qEAAqE;AACrE,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,gBAAgB;CAkB5B;AAlBD,4CAkBC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,eAAgB,SAAQ,YAAY;CAMhD;AAND,0CAMC;AAED,MAAa,aAAa;CAIzB;AAJD,sCAIC;AAED,MAAa,oBAAqB,SAAQ,aAAa;CAEtD;AAFD,oDAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,qBAAsB,SAAQ,YAAY;CAMtD;AAND,sDAMC;AAED,MAAa,oBAAoB;CAMhC;AAND,oDAMC;AAED,2CAA2C;AAC3C,MAAa,UAAW,SAAQ,iBAAO;CAEtC;AAFD,gCAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;AAiBjG,MAAa,OAAQ,SAAQ,mEAAgC;CA2E5D;AA3ED,0BA2EC"}
|
|
@@ -6,6 +6,7 @@ import { PurchasePaymentDto } from '../../../purchase/dto/purchase.dto';
|
|
|
6
6
|
import { PlatformsEnum } from '../../../services/enums.service';
|
|
7
7
|
import { CreateNoteDto } from '../../dto/payment.dto';
|
|
8
8
|
import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../enums/payment.enums';
|
|
9
|
+
import { LineItemHistory } from '../../../entity/LineItemHistory';
|
|
9
10
|
export declare class PaymentResult {
|
|
10
11
|
paymentMethodId: string;
|
|
11
12
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
@@ -48,6 +49,7 @@ export interface GetExtendedInvoice {
|
|
|
48
49
|
extended?: boolean;
|
|
49
50
|
onlyPublicNotes?: boolean;
|
|
50
51
|
includeCustomer?: boolean;
|
|
52
|
+
lineItemsHistory?: LineItemHistory[];
|
|
51
53
|
}
|
|
52
54
|
export interface PaymentLineItemAmount {
|
|
53
55
|
lineItemId: number;
|
|
@@ -84,4 +86,12 @@ export interface IGetPayment {
|
|
|
84
86
|
organizationId?: number;
|
|
85
87
|
extended?: boolean;
|
|
86
88
|
onlyPublicNotes?: boolean;
|
|
89
|
+
includeInvoice?: boolean;
|
|
90
|
+
}
|
|
91
|
+
export interface IHandleGetPayment {
|
|
92
|
+
organizationId: number;
|
|
93
|
+
paymentId: number;
|
|
94
|
+
extended?: boolean;
|
|
95
|
+
onlyPublicNotes?: boolean;
|
|
96
|
+
includeInvoice?: boolean;
|
|
87
97
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/payment.interfaces.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"payment.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/payment.interfaces.ts"],"names":[],"mappings":";;;AAUA,MAAa,aAAa;CAczB;AAdD,sCAcC;AAED,MAAa,eAAe;CAI3B;AAJD,0CAIC;AAgBD,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
|
|
@@ -11,6 +11,9 @@ export declare class UserIdDto {
|
|
|
11
11
|
export declare class FindByFamilyAccountIdDto {
|
|
12
12
|
familyAccountId?: number;
|
|
13
13
|
}
|
|
14
|
+
export declare class FindUserRegistrationsDto extends FindByFamilyAccountIdDto {
|
|
15
|
+
extended?: boolean;
|
|
16
|
+
}
|
|
14
17
|
export declare class ByOrganizationAndUserDto extends UserIdDto {
|
|
15
18
|
organizationId: number;
|
|
16
19
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UsersPassesResultDto = exports.UserPassDto = exports.SimpleUserDto = exports.ByOrganizationAndUserDto = exports.FindByFamilyAccountIdDto = exports.UserIdDto = void 0;
|
|
3
|
+
exports.UsersPassesResultDto = exports.UserPassDto = exports.SimpleUserDto = exports.ByOrganizationAndUserDto = exports.FindUserRegistrationsDto = exports.FindByFamilyAccountIdDto = exports.UserIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
class UserIdDto {
|
|
6
6
|
}
|
|
@@ -8,6 +8,9 @@ exports.UserIdDto = UserIdDto;
|
|
|
8
8
|
class FindByFamilyAccountIdDto {
|
|
9
9
|
}
|
|
10
10
|
exports.FindByFamilyAccountIdDto = FindByFamilyAccountIdDto;
|
|
11
|
+
class FindUserRegistrationsDto extends FindByFamilyAccountIdDto {
|
|
12
|
+
}
|
|
13
|
+
exports.FindUserRegistrationsDto = FindUserRegistrationsDto;
|
|
11
14
|
class ByOrganizationAndUserDto extends UserIdDto {
|
|
12
15
|
}
|
|
13
16
|
exports.ByOrganizationAndUserDto = ByOrganizationAndUserDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAmE;AAMnE,MAAa,SAAS;CAErB;AAFD,8BAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,SAAS;CAEtD;AAFD,4DAEC;AAED,MAAa,aAAc,SAAQ,mBAAK;CAIvC;AAJD,sCAIC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,oBAAqB,SAAQ,iCAAmB;CAE5D;AAFD,oDAEC"}
|
|
1
|
+
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAmE;AAMnE,MAAa,SAAS;CAErB;AAFD,8BAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,wBAAwB;CAErE;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,SAAS;CAEtD;AAFD,4DAEC;AAED,MAAa,aAAc,SAAQ,mBAAK;CAIvC;AAJD,sCAIC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,oBAAqB,SAAQ,iCAAmB;CAE5D;AAFD,oDAEC"}
|