@bondsports/types 1.19.83 → 1.19.85
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/discount.dto.d.ts +2 -1
- package/dist/types/payment/dto/discount.dto.js.map +1 -1
- package/dist/types/payment/dto/void.dto.d.ts +2 -2
- package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +2 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +2 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.js.map +1 -1
- package/dist/types/payment/types/interfaces/void.interfaces.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { PaginationQuery } from '../../dto/general.dto';
|
|
|
2
2
|
import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
|
|
3
3
|
import { ActivityEnum, GenderEnum, PlatformsEnum } from '../../services/enums.service';
|
|
4
4
|
import { DiscountTypeEnum } from '../types/enums/discount.enums';
|
|
5
|
+
import { CreateNoteDto } from './payment.dto';
|
|
5
6
|
declare class DiscountFieldsDto {
|
|
6
7
|
name: string;
|
|
7
8
|
type: DiscountTypeEnum;
|
|
@@ -70,7 +71,7 @@ export declare class SetDiscountDto {
|
|
|
70
71
|
export declare class SetDiscountsDto {
|
|
71
72
|
discounts: SetDiscountDto[];
|
|
72
73
|
reasonId: number;
|
|
73
|
-
|
|
74
|
+
notes?: CreateNoteDto[];
|
|
74
75
|
shiftId?: number;
|
|
75
76
|
}
|
|
76
77
|
export declare class RemoveDiscountDto {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discount.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/discount.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;
|
|
1
|
+
{"version":3,"file":"discount.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/discount.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AAMxD,MAAM,iBAAiB;CA8BtB;AAED,MAAa,WAAY,SAAQ,iBAAiB;CAYjD;AAZD,kCAYC;AAED,MAAa,eAAgB,SAAQ,6BAAe;CAMnD;AAND,0CAMC;AAED,MAAa,iBAAkB,SAAQ,iBAAiB;CAUvD;AAVD,8CAUC;AAED,MAAa,iBAAiB;CA4B7B;AA5BD,8CA4BC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,cAAc;CAQ1B;AARD,wCAQC;AAED,MAAa,eAAe;CAQ3B;AARD,0CAQC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RevertMetaDto } from './payment.dto';
|
|
1
|
+
import { CreateNoteDto, RevertMetaDto } from './payment.dto';
|
|
2
2
|
export declare class VoidLineItemDto {
|
|
3
3
|
id: number;
|
|
4
4
|
quantity?: number;
|
|
@@ -8,6 +8,6 @@ export declare class VoidDto {
|
|
|
8
8
|
lineItems: VoidLineItemDto[];
|
|
9
9
|
shiftId?: number;
|
|
10
10
|
reasonId?: number;
|
|
11
|
-
|
|
11
|
+
notes?: CreateNoteDto[];
|
|
12
12
|
meta?: RevertMetaDto;
|
|
13
13
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Invoice } from '../../../entity/Invoice';
|
|
2
2
|
import { LineItems } from '../../../entity/LineItems';
|
|
3
|
+
import { CreateNoteDto } from '../../dto/payment.dto';
|
|
3
4
|
export interface ISetDiscountsValidationsResult {
|
|
4
5
|
invoice: Invoice;
|
|
5
6
|
parentLineItems: LineItems[];
|
|
@@ -18,6 +19,6 @@ export interface ISetDiscount {
|
|
|
18
19
|
export interface ISetDiscounts {
|
|
19
20
|
discounts: ISetDiscount[];
|
|
20
21
|
reasonId: number;
|
|
21
|
-
|
|
22
|
+
notes?: CreateNoteDto[];
|
|
22
23
|
shiftId?: number;
|
|
23
24
|
}
|
|
@@ -4,6 +4,7 @@ import { LineItems } from '../../../entity/LineItems';
|
|
|
4
4
|
import { FeeDto } from '../../../fee/dto/fee.dto';
|
|
5
5
|
import { PurchasePaymentDto } from '../../../purchase/dto/purchase.dto';
|
|
6
6
|
import { PlatformsEnum } from '../../../services/enums.service';
|
|
7
|
+
import { CreateNoteDto } from '../../dto/payment.dto';
|
|
7
8
|
import { PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../enums/payment.enums';
|
|
8
9
|
export declare class PaymentResult {
|
|
9
10
|
paymentMethodId: string;
|
|
@@ -72,6 +73,6 @@ export interface SaveInvoicePayment {
|
|
|
72
73
|
shiftId?: number;
|
|
73
74
|
installmentId?: number;
|
|
74
75
|
reasonId?: number;
|
|
75
|
-
|
|
76
|
+
notes?: CreateNoteDto[];
|
|
76
77
|
discountId?: number;
|
|
77
78
|
}
|
|
@@ -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":";;;AASA,MAAa,aAAa;CAczB;AAdD,sCAcC;AAED,MAAa,eAAe;CAI3B;AAJD,0CAIC;AAgBD,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LineItems } from '../../../entity/LineItems';
|
|
2
2
|
import { TRevertedResources } from '../../../reservations/interfaces/reservation';
|
|
3
3
|
import { ResourceNameTypeEnum } from '../../../services/enums.service';
|
|
4
|
-
import { RevertMetaDto } from '../../dto/payment.dto';
|
|
4
|
+
import { CreateNoteDto, RevertMetaDto } from '../../dto/payment.dto';
|
|
5
5
|
import { DiscountOnEnum } from '../enums/discount.enums';
|
|
6
6
|
import { VoidTypeEnum } from '../enums/void.enums';
|
|
7
7
|
export interface IVoidValidationsResult {
|
|
@@ -21,7 +21,7 @@ export interface IVoid {
|
|
|
21
21
|
type?: VoidTypeEnum;
|
|
22
22
|
shiftId?: number;
|
|
23
23
|
reasonId?: number;
|
|
24
|
-
|
|
24
|
+
notes?: CreateNoteDto[];
|
|
25
25
|
meta?: RevertMetaDto;
|
|
26
26
|
discountId?: number;
|
|
27
27
|
discountOn?: DiscountOnEnum;
|