@bondsports/types 2.4.55 → 2.4.56
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/entity/Invoice.d.ts +1 -0
- package/dist/types/entity/Invoice.js.map +1 -1
- package/dist/types/invoice/dto/index.d.ts +1 -0
- package/dist/types/invoice/dto/index.js +1 -0
- package/dist/types/invoice/dto/index.js.map +1 -1
- package/dist/types/invoice/dto/organization-invoice.dto.d.ts +66 -0
- package/dist/types/invoice/dto/organization-invoice.dto.js +42 -0
- package/dist/types/invoice/dto/organization-invoice.dto.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../src/types/entity/Invoice.ts"],"names":[],"mappings":";;;AAqBA,qDAAkD;AAOlD,MAAa,OAAQ,SAAQ,+BAAc;
|
|
1
|
+
{"version":3,"file":"Invoice.js","sourceRoot":"","sources":["../../../src/types/entity/Invoice.ts"],"names":[],"mappings":";;;AAqBA,qDAAkD;AAOlD,MAAa,OAAQ,SAAQ,+BAAc;CA6G1C;AA7GD,0BA6GC"}
|
|
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./invoice-history.dto"), exports);
|
|
18
18
|
__exportStar(require("./invoice.dto"), exports);
|
|
19
19
|
__exportStar(require("./lineItem.dto"), exports);
|
|
20
|
+
__exportStar(require("./organization-invoice.dto"), exports);
|
|
20
21
|
__exportStar(require("./share-invoice.dto"), exports);
|
|
21
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,sDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,6DAA2C;AAC3C,sDAAoC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { PaginationSearchQuery } from '../../dto/general.dto';
|
|
2
|
+
import { DueDateTypeEnum, PaymentMethodTypeEnum, PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
|
3
|
+
import { PlatformsEnum } from '../../services/enums.service';
|
|
4
|
+
export declare enum OrganizationInvoicePaymentStatusInputEnum {
|
|
5
|
+
NOT_PAID = "not_paid",
|
|
6
|
+
PARTIAL_PAYMENT = "partial",
|
|
7
|
+
FULLY_PAID = "paid",
|
|
8
|
+
REFUNDED = "refunded",
|
|
9
|
+
DISPUTED = "disputed",
|
|
10
|
+
CHARGEBACK = "chargeback",
|
|
11
|
+
VOID = "void",
|
|
12
|
+
DISCOUNT = "discount",
|
|
13
|
+
REVERT_DISCOUNT = "revert_discount",
|
|
14
|
+
REVERT = "revert",
|
|
15
|
+
PENDING = "pending",
|
|
16
|
+
RETRY_IN_PROGRESS = "retry_in_progress",
|
|
17
|
+
SCHEDULED = "scheduled"
|
|
18
|
+
}
|
|
19
|
+
export declare const ORGANIZATION_INVOICE_SCHEDULED_PAYMENT_STATUS = OrganizationInvoicePaymentStatusInputEnum.SCHEDULED;
|
|
20
|
+
export declare enum OrganizationInvoicesOrderByEnum {
|
|
21
|
+
INVOICE_ID = "invoiceId",
|
|
22
|
+
PAYING_USER_NAME = "payingUserName",
|
|
23
|
+
PAYING_USER_ID = "payingUserId",
|
|
24
|
+
CREATED_AT = "createdAt",
|
|
25
|
+
DUE_DATE = "dueDate",
|
|
26
|
+
TOTAL_AMOUNT = "totalAmount",
|
|
27
|
+
PAID_AMOUNT = "paidAmount",
|
|
28
|
+
BALANCE_DUE = "balanceDue",
|
|
29
|
+
PAYMENT_STATUS = "paymentStatus",
|
|
30
|
+
AGING = "aging",
|
|
31
|
+
PLATFORM = "platform"
|
|
32
|
+
}
|
|
33
|
+
export declare class GetOrganizationInvoicesQueryDto extends PaginationSearchQuery<OrganizationInvoicesOrderByEnum> {
|
|
34
|
+
paymentStatuses?: OrganizationInvoicePaymentStatusInputEnum[];
|
|
35
|
+
paymentTypes?: PaymentMethodTypeEnum[];
|
|
36
|
+
isScheduled?: boolean;
|
|
37
|
+
isAnonymousPayingUser?: boolean;
|
|
38
|
+
hasDueDate?: boolean;
|
|
39
|
+
isOverdue?: boolean;
|
|
40
|
+
platforms?: PlatformsEnum[];
|
|
41
|
+
createdAtFrom?: Date;
|
|
42
|
+
createdAtTo?: Date;
|
|
43
|
+
dueDateFrom?: Date;
|
|
44
|
+
dueDateTo?: Date;
|
|
45
|
+
orderBy?: OrganizationInvoicesOrderByEnum;
|
|
46
|
+
}
|
|
47
|
+
export declare class OrganizationInvoiceDto {
|
|
48
|
+
invoiceId: number;
|
|
49
|
+
payingUserName?: string;
|
|
50
|
+
payingUserId: number;
|
|
51
|
+
payingUserEmail?: string;
|
|
52
|
+
createdAt: Date;
|
|
53
|
+
dueDate?: Date;
|
|
54
|
+
dueDateType?: DueDateTypeEnum;
|
|
55
|
+
totalAmount: number;
|
|
56
|
+
paidAmount: number;
|
|
57
|
+
paymentStatus: PaymentStatusEnum;
|
|
58
|
+
isScheduled: boolean;
|
|
59
|
+
isOverdue: boolean;
|
|
60
|
+
isPublic: boolean;
|
|
61
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
62
|
+
paymentTypes?: PaymentMethodTypeEnum[];
|
|
63
|
+
platform?: PlatformsEnum;
|
|
64
|
+
creatingUserName?: string;
|
|
65
|
+
creatingUserEmail?: string;
|
|
66
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrganizationInvoiceDto = exports.GetOrganizationInvoicesQueryDto = exports.OrganizationInvoicesOrderByEnum = exports.ORGANIZATION_INVOICE_SCHEDULED_PAYMENT_STATUS = exports.OrganizationInvoicePaymentStatusInputEnum = void 0;
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
5
|
+
var OrganizationInvoicePaymentStatusInputEnum;
|
|
6
|
+
(function (OrganizationInvoicePaymentStatusInputEnum) {
|
|
7
|
+
OrganizationInvoicePaymentStatusInputEnum["NOT_PAID"] = "not_paid";
|
|
8
|
+
OrganizationInvoicePaymentStatusInputEnum["PARTIAL_PAYMENT"] = "partial";
|
|
9
|
+
OrganizationInvoicePaymentStatusInputEnum["FULLY_PAID"] = "paid";
|
|
10
|
+
OrganizationInvoicePaymentStatusInputEnum["REFUNDED"] = "refunded";
|
|
11
|
+
OrganizationInvoicePaymentStatusInputEnum["DISPUTED"] = "disputed";
|
|
12
|
+
OrganizationInvoicePaymentStatusInputEnum["CHARGEBACK"] = "chargeback";
|
|
13
|
+
OrganizationInvoicePaymentStatusInputEnum["VOID"] = "void";
|
|
14
|
+
OrganizationInvoicePaymentStatusInputEnum["DISCOUNT"] = "discount";
|
|
15
|
+
OrganizationInvoicePaymentStatusInputEnum["REVERT_DISCOUNT"] = "revert_discount";
|
|
16
|
+
OrganizationInvoicePaymentStatusInputEnum["REVERT"] = "revert";
|
|
17
|
+
OrganizationInvoicePaymentStatusInputEnum["PENDING"] = "pending";
|
|
18
|
+
OrganizationInvoicePaymentStatusInputEnum["RETRY_IN_PROGRESS"] = "retry_in_progress";
|
|
19
|
+
OrganizationInvoicePaymentStatusInputEnum["SCHEDULED"] = "scheduled";
|
|
20
|
+
})(OrganizationInvoicePaymentStatusInputEnum = exports.OrganizationInvoicePaymentStatusInputEnum || (exports.OrganizationInvoicePaymentStatusInputEnum = {}));
|
|
21
|
+
exports.ORGANIZATION_INVOICE_SCHEDULED_PAYMENT_STATUS = OrganizationInvoicePaymentStatusInputEnum.SCHEDULED;
|
|
22
|
+
var OrganizationInvoicesOrderByEnum;
|
|
23
|
+
(function (OrganizationInvoicesOrderByEnum) {
|
|
24
|
+
OrganizationInvoicesOrderByEnum["INVOICE_ID"] = "invoiceId";
|
|
25
|
+
OrganizationInvoicesOrderByEnum["PAYING_USER_NAME"] = "payingUserName";
|
|
26
|
+
OrganizationInvoicesOrderByEnum["PAYING_USER_ID"] = "payingUserId";
|
|
27
|
+
OrganizationInvoicesOrderByEnum["CREATED_AT"] = "createdAt";
|
|
28
|
+
OrganizationInvoicesOrderByEnum["DUE_DATE"] = "dueDate";
|
|
29
|
+
OrganizationInvoicesOrderByEnum["TOTAL_AMOUNT"] = "totalAmount";
|
|
30
|
+
OrganizationInvoicesOrderByEnum["PAID_AMOUNT"] = "paidAmount";
|
|
31
|
+
OrganizationInvoicesOrderByEnum["BALANCE_DUE"] = "balanceDue";
|
|
32
|
+
OrganizationInvoicesOrderByEnum["PAYMENT_STATUS"] = "paymentStatus";
|
|
33
|
+
OrganizationInvoicesOrderByEnum["AGING"] = "aging";
|
|
34
|
+
OrganizationInvoicesOrderByEnum["PLATFORM"] = "platform";
|
|
35
|
+
})(OrganizationInvoicesOrderByEnum = exports.OrganizationInvoicesOrderByEnum || (exports.OrganizationInvoicesOrderByEnum = {}));
|
|
36
|
+
class GetOrganizationInvoicesQueryDto extends general_dto_1.PaginationSearchQuery {
|
|
37
|
+
}
|
|
38
|
+
exports.GetOrganizationInvoicesQueryDto = GetOrganizationInvoicesQueryDto;
|
|
39
|
+
class OrganizationInvoiceDto {
|
|
40
|
+
}
|
|
41
|
+
exports.OrganizationInvoiceDto = OrganizationInvoiceDto;
|
|
42
|
+
//# sourceMappingURL=organization-invoice.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization-invoice.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/organization-invoice.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8D;AAI9D,IAAY,yCAcX;AAdD,WAAY,yCAAyC;IACpD,kEAAqB,CAAA;IACrB,wEAA2B,CAAA;IAC3B,gEAAmB,CAAA;IACnB,kEAAqB,CAAA;IACrB,kEAAqB,CAAA;IACrB,sEAAyB,CAAA;IACzB,0DAAa,CAAA;IACb,kEAAqB,CAAA;IACrB,gFAAmC,CAAA;IACnC,8DAAiB,CAAA;IACjB,gEAAmB,CAAA;IACnB,oFAAuC,CAAA;IACvC,oEAAuB,CAAA;AACxB,CAAC,EAdW,yCAAyC,GAAzC,iDAAyC,KAAzC,iDAAyC,QAcpD;AAEY,QAAA,6CAA6C,GAAG,yCAAyC,CAAC,SAAS,CAAC;AAEjH,IAAY,+BAYX;AAZD,WAAY,+BAA+B;IAC1C,2DAAwB,CAAA;IACxB,sEAAmC,CAAA;IACnC,kEAA+B,CAAA;IAC/B,2DAAwB,CAAA;IACxB,uDAAoB,CAAA;IACpB,+DAA4B,CAAA;IAC5B,6DAA0B,CAAA;IAC1B,6DAA0B,CAAA;IAC1B,mEAAgC,CAAA;IAChC,kDAAe,CAAA;IACf,wDAAqB,CAAA;AACtB,CAAC,EAZW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAY1C;AAED,MAAa,+BAAgC,SAAQ,mCAAsD;CAwB1G;AAxBD,0EAwBC;AAED,MAAa,sBAAsB;CAoClC;AApCD,wDAoCC"}
|