@bondsports/types 2.5.7 → 2.5.8-squad-b-1
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/attendance/dto/index.d.ts +1 -0
- package/dist/types/attendance/dto/index.js +1 -0
- package/dist/types/attendance/dto/index.js.map +1 -1
- package/dist/types/attendance/dto/organization-attendance.dto.d.ts +23 -0
- package/dist/types/attendance/dto/organization-attendance.dto.js +18 -0
- package/dist/types/attendance/dto/organization-attendance.dto.js.map +1 -0
- package/dist/types/attendance/types/attendance.enums.d.ts +8 -0
- package/dist/types/attendance/types/attendance.enums.js +10 -1
- package/dist/types/attendance/types/attendance.enums.js.map +1 -1
- package/dist/types/attendance/types/index.d.ts +1 -0
- package/dist/types/attendance/types/index.js +1 -0
- package/dist/types/attendance/types/index.js.map +1 -1
- package/dist/types/attendance/types/interfaces/attendance.interfaces.d.ts +63 -0
- package/dist/types/attendance/types/interfaces/attendance.interfaces.js +3 -0
- package/dist/types/attendance/types/interfaces/attendance.interfaces.js.map +1 -0
- package/dist/types/attendance/types/interfaces/index.d.ts +1 -0
- package/dist/types/attendance/types/interfaces/index.js +18 -0
- package/dist/types/attendance/types/interfaces/index.js.map +1 -0
- package/dist/types/cart/dto/cart-item-public.dto.d.ts +27 -1
- package/dist/types/cart/dto/cart-item-public.dto.js +26 -1
- package/dist/types/cart/dto/cart-item-public.dto.js.map +1 -1
- package/dist/types/cart/dto/cart-item.dto.d.ts +18 -4
- package/dist/types/cart/dto/cart-item.dto.js +17 -2
- package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
- package/dist/types/cart/dto/cart-public.dto.d.ts +15 -1
- package/dist/types/cart/dto/cart-public.dto.js +15 -1
- package/dist/types/cart/dto/cart-public.dto.js.map +1 -1
- package/dist/types/cart/dto/cart.dto.d.ts +4 -0
- package/dist/types/cart/dto/cart.dto.js +4 -0
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/cart/types/consts/cart-public-api-examples.consts.d.ts +101 -0
- package/dist/types/cart/types/consts/cart-public-api-examples.consts.js +137 -0
- package/dist/types/cart/types/consts/cart-public-api-examples.consts.js.map +1 -0
- package/dist/types/cart/types/consts/cart-request-limits.consts.d.ts +6 -0
- package/dist/types/cart/types/consts/cart-request-limits.consts.js +10 -0
- package/dist/types/cart/types/consts/cart-request-limits.consts.js.map +1 -0
- package/dist/types/cart/types/consts/cart.consts.d.ts +1 -0
- package/dist/types/cart/types/consts/cart.consts.js +1 -0
- package/dist/types/cart/types/consts/cart.consts.js.map +1 -1
- package/dist/types/cart/types/consts/index.d.ts +2 -0
- package/dist/types/cart/types/consts/index.js +2 -0
- package/dist/types/cart/types/consts/index.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +2 -2
- package/dist/types/customers/dto/customer-response.dto.d.ts +1 -0
- package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
- package/dist/types/customers/dto/full-customer.dto.d.ts +1 -0
- package/dist/types/customers/dto/full-customer.dto.js.map +1 -1
- package/dist/types/customers/types/interfaces.d.ts +6 -1
- package/dist/types/customers-merge/dto/customers-merge.dto.d.ts +2 -1
- package/dist/types/customers-merge/dto/customers-merge.dto.js.map +1 -1
- package/dist/types/customers-merge/types/index.d.ts +1 -0
- package/dist/types/customers-merge/types/index.js +1 -0
- package/dist/types/customers-merge/types/index.js.map +1 -1
- package/dist/types/customers-merge/types/interfaces.d.ts +4 -3
- package/dist/types/customers-merge/types/merge-error-params.d.ts +42 -0
- package/dist/types/customers-merge/types/merge-error-params.js +3 -0
- package/dist/types/customers-merge/types/merge-error-params.js.map +1 -0
- package/dist/types/dto/application.dto.d.ts +1 -0
- package/dist/types/dto/application.dto.js.map +1 -1
- package/dist/types/dto/customer.dto.d.ts +3 -1
- package/dist/types/dto/customer.dto.js.map +1 -1
- package/dist/types/dto/product-user.d.ts +7 -0
- package/dist/types/dto/product-user.js +5 -1
- package/dist/types/dto/product-user.js.map +1 -1
- package/dist/types/entity/Customer.d.ts +3 -0
- package/dist/types/entity/Customer.js.map +1 -1
- package/dist/types/entity/LineItems.d.ts +4 -12
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/filters/types/consts.d.ts +12 -0
- package/dist/types/filters/types/consts.js +15 -1
- package/dist/types/filters/types/consts.js.map +1 -1
- package/dist/types/filters/types/enums/filter.enums.d.ts +2 -1
- package/dist/types/filters/types/enums/filter.enums.js +1 -0
- package/dist/types/filters/types/enums/filter.enums.js.map +1 -1
- package/dist/types/filters/types/interfaces/filters.interfaces.d.ts +18 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.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/invoice-cart.dto.d.ts +18 -0
- package/dist/types/invoice/dto/invoice-cart.dto.js +16 -0
- package/dist/types/invoice/dto/invoice-cart.dto.js.map +1 -0
- package/dist/types/invoice/dto/invoice.dto.d.ts +59 -32
- package/dist/types/invoice/dto/invoice.dto.js +13 -16
- package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
- package/dist/types/invoice/dto/lineItem.dto.d.ts +71 -1
- package/dist/types/invoice/dto/lineItem.dto.js +9 -2
- package/dist/types/invoice/dto/lineItem.dto.js.map +1 -1
- package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +3 -16
- package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
- package/dist/types/league-standings/dto/game.dto.d.ts +2 -2
- package/dist/types/league-standings/interfaces/competition-team.interface.d.ts +10 -0
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
- package/dist/types/payment/dto/discount.dto.d.ts +2 -0
- package/dist/types/payment/dto/discount.dto.js.map +1 -1
- package/dist/types/payment/dto/payment.dto.d.ts +2 -2
- package/dist/types/payment/types/consts/payment.consts.d.ts +0 -2
- package/dist/types/payment/types/consts/payment.consts.js +1 -5
- package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
- package/dist/types/payment/types/enums/payment.enums.d.ts +1 -1
- package/dist/types/payment/types/enums/payment.enums.js +1 -1
- package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
- package/dist/types/payment/types/interfaces/refund.interfaces.d.ts +2 -1
- package/dist/types/payment/types/interfaces/refund.interfaces.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-resource.interfaces.d.ts +1 -3
- package/dist/types/product-pricing/types/interfaces/validate-resources.interfaces.d.ts +2 -1
- package/dist/types/product-pricing/types/interfaces/validate-resources.interfaces.js.map +1 -1
- package/dist/types/program-portals/index.d.ts +1 -0
- package/dist/types/program-portals/index.js +18 -0
- package/dist/types/program-portals/index.js.map +1 -0
- package/dist/types/program-portals/types/classes/index.d.ts +2 -0
- package/dist/types/program-portals/types/classes/index.js +19 -0
- package/dist/types/program-portals/types/classes/index.js.map +1 -0
- package/dist/types/program-portals/types/classes/program-portal-options.class.d.ts +24 -0
- package/dist/types/program-portals/types/classes/program-portal-options.class.js +13 -0
- package/dist/types/program-portals/types/classes/program-portal-options.class.js.map +1 -0
- package/dist/types/program-portals/types/classes/program-portal.class.d.ts +14 -0
- package/dist/types/program-portals/types/classes/program-portal.class.js +8 -0
- package/dist/types/program-portals/types/classes/program-portal.class.js.map +1 -0
- package/dist/types/program-portals/types/consts/index.d.ts +1 -0
- package/dist/types/program-portals/types/consts/index.js +18 -0
- package/dist/types/program-portals/types/consts/index.js.map +1 -0
- package/dist/types/program-portals/types/consts/program-portals.consts.d.ts +14 -0
- package/dist/types/program-portals/types/consts/program-portals.consts.js +31 -0
- package/dist/types/program-portals/types/consts/program-portals.consts.js.map +1 -0
- package/dist/types/program-portals/types/dto/index.d.ts +1 -0
- package/dist/types/program-portals/types/dto/index.js +18 -0
- package/dist/types/program-portals/types/dto/index.js.map +1 -0
- package/dist/types/program-portals/types/dto/program-portals.dto.d.ts +91 -0
- package/dist/types/program-portals/types/dto/program-portals.dto.js +53 -0
- package/dist/types/program-portals/types/dto/program-portals.dto.js.map +1 -0
- package/dist/types/program-portals/types/enums/index.d.ts +1 -0
- package/dist/types/program-portals/types/enums/index.js +18 -0
- package/dist/types/program-portals/types/enums/index.js.map +1 -0
- package/dist/types/program-portals/types/enums/program-portals.enums.d.ts +20 -0
- package/dist/types/program-portals/types/enums/program-portals.enums.js +28 -0
- package/dist/types/program-portals/types/enums/program-portals.enums.js.map +1 -0
- package/dist/types/program-portals/types/index.d.ts +5 -0
- package/dist/types/program-portals/types/index.js +22 -0
- package/dist/types/program-portals/types/index.js.map +1 -0
- package/dist/types/program-portals/types/interfaces/index.d.ts +1 -0
- package/dist/types/program-portals/types/interfaces/index.js +18 -0
- package/dist/types/program-portals/types/interfaces/index.js.map +1 -0
- package/dist/types/program-portals/types/interfaces/program-portals.interfaces.d.ts +22 -0
- package/dist/types/program-portals/types/interfaces/program-portals.interfaces.js +3 -0
- package/dist/types/program-portals/types/interfaces/program-portals.interfaces.js.map +1 -0
- package/dist/types/programs/dto/segment-public.dto.d.ts +3 -0
- package/dist/types/programs/dto/segment-public.dto.js.map +1 -1
- package/dist/types/programs/types/interfaces/program.interfaces.d.ts +1 -0
- package/dist/types/programs-seasons/dto/program-session.dto.d.ts +5 -0
- package/dist/types/programs-seasons/dto/program-session.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +3 -0
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/dist/types/purchase/dto/purchase.dto.d.ts +11 -10
- package/dist/types/purchase/dto/purchase.dto.js +11 -11
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +7 -0
- package/dist/types/questionnaires/types/questions.enum.d.ts +2 -1
- package/dist/types/questionnaires/types/questions.enum.js +1 -0
- package/dist/types/questionnaires/types/questions.enum.js.map +1 -1
- package/dist/types/react/WaiverTemplate/waiver.types.d.ts +83 -14
- package/dist/types/reservations/dto/reservation.dto.d.ts +2 -1
- package/dist/types/reservations/dto/reservation.dto.js +3 -3
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +7 -3
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/dist/types/segment-tags/entities/index.d.ts +1 -0
- package/dist/types/segment-tags/entities/index.js +18 -0
- package/dist/types/segment-tags/entities/index.js.map +1 -0
- package/dist/types/segment-tags/entities/segment-tag.entity.d.ts +5 -0
- package/dist/types/segment-tags/entities/segment-tag.entity.js +8 -0
- package/dist/types/segment-tags/entities/segment-tag.entity.js.map +1 -0
- package/dist/types/segment-tags/index.d.ts +2 -0
- package/dist/types/segment-tags/index.js +19 -0
- package/dist/types/segment-tags/index.js.map +1 -0
- package/dist/types/segment-tags/types/dto/index.d.ts +1 -0
- package/dist/types/segment-tags/types/dto/index.js +18 -0
- package/dist/types/segment-tags/types/dto/index.js.map +1 -0
- package/dist/types/segment-tags/types/dto/segment-tags.dto.d.ts +22 -0
- package/dist/types/segment-tags/types/dto/segment-tags.dto.js +21 -0
- package/dist/types/segment-tags/types/dto/segment-tags.dto.js.map +1 -0
- package/dist/types/segment-tags/types/enums/index.d.ts +1 -0
- package/dist/types/segment-tags/types/enums/index.js +18 -0
- package/dist/types/segment-tags/types/enums/index.js.map +1 -0
- package/dist/types/segment-tags/types/enums/segment-tag.enum.d.ts +4 -0
- package/dist/types/segment-tags/types/enums/segment-tag.enum.js +9 -0
- package/dist/types/segment-tags/types/enums/segment-tag.enum.js.map +1 -0
- package/dist/types/segment-tags/types/index.d.ts +3 -0
- package/dist/types/segment-tags/types/index.js +20 -0
- package/dist/types/segment-tags/types/index.js.map +1 -0
- package/dist/types/segment-tags/types/interfaces/index.d.ts +1 -0
- package/dist/types/segment-tags/types/interfaces/index.js +18 -0
- package/dist/types/segment-tags/types/interfaces/index.js.map +1 -0
- package/dist/types/segment-tags/types/interfaces/segment-tag.interfaces.d.ts +7 -0
- package/dist/types/segment-tags/types/interfaces/segment-tag.interfaces.js +3 -0
- package/dist/types/segment-tags/types/interfaces/segment-tag.interfaces.js.map +1 -0
- package/dist/types/services/enums.service.d.ts +2 -3
- package/dist/types/services/enums.service.js +7 -4
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/standings-integration/dto/game-score.dto.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,21 @@
|
|
|
1
|
+
import { PublishingStatusEnum } from '../../../programs/types/enums/program.enums';
|
|
1
2
|
import { Filter } from '../../entities/Filter';
|
|
3
|
+
import { FilterTypeEnum } from '../enums/filter.enums';
|
|
4
|
+
/**
|
|
5
|
+
* Parameters for loading filters by ID, type, and optional organization.
|
|
6
|
+
*/
|
|
7
|
+
export interface IGetFiltersByIdsParams {
|
|
8
|
+
organizationId?: number;
|
|
9
|
+
filterIds: number[];
|
|
10
|
+
type: FilterTypeEnum;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Parameters for confirming generic organization-filters HTTP writes are calendar-only.
|
|
14
|
+
*/
|
|
15
|
+
export interface IAssertGenericHttpWritesParams {
|
|
16
|
+
organizationId: number;
|
|
17
|
+
filterIds: number[];
|
|
18
|
+
}
|
|
2
19
|
export interface IGetFilterOptions {
|
|
3
20
|
organizationId?: number;
|
|
4
21
|
facilityId?: number;
|
|
@@ -7,6 +24,7 @@ export interface IGetFilterOptions {
|
|
|
7
24
|
}
|
|
8
25
|
export interface IGetPaginatedFiltersOptions extends IGetFilterOptions {
|
|
9
26
|
search?: string;
|
|
27
|
+
statuses?: PublishingStatusEnum[];
|
|
10
28
|
}
|
|
11
29
|
export interface IGetFavoriteFilters {
|
|
12
30
|
default?: Filter;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export * from './payment';
|
|
|
43
43
|
export * from './payout-accounts';
|
|
44
44
|
export * from './pricing';
|
|
45
45
|
export * from './product-pricing';
|
|
46
|
+
export * from './program-portals';
|
|
46
47
|
export * from './programs';
|
|
47
48
|
export * from './programs-seasons';
|
|
48
49
|
export * from './public-api';
|
|
@@ -55,6 +56,7 @@ export * from './reservations';
|
|
|
55
56
|
export * from './resource-settings';
|
|
56
57
|
export * from './resources';
|
|
57
58
|
export * from './roles';
|
|
59
|
+
export * from './segment-tags';
|
|
58
60
|
export * from './services';
|
|
59
61
|
export * from './session-participants';
|
|
60
62
|
export * from './shifts';
|
package/dist/types/index.js
CHANGED
|
@@ -59,6 +59,7 @@ __exportStar(require("./payment"), exports);
|
|
|
59
59
|
__exportStar(require("./payout-accounts"), exports);
|
|
60
60
|
__exportStar(require("./pricing"), exports);
|
|
61
61
|
__exportStar(require("./product-pricing"), exports);
|
|
62
|
+
__exportStar(require("./program-portals"), exports);
|
|
62
63
|
__exportStar(require("./programs"), exports);
|
|
63
64
|
__exportStar(require("./programs-seasons"), exports);
|
|
64
65
|
__exportStar(require("./public-api"), exports);
|
|
@@ -71,6 +72,7 @@ __exportStar(require("./reservations"), exports);
|
|
|
71
72
|
__exportStar(require("./resource-settings"), exports);
|
|
72
73
|
__exportStar(require("./resources"), exports);
|
|
73
74
|
__exportStar(require("./roles"), exports);
|
|
75
|
+
__exportStar(require("./segment-tags"), exports);
|
|
74
76
|
__exportStar(require("./services"), exports);
|
|
75
77
|
__exportStar(require("./session-participants"), exports);
|
|
76
78
|
__exportStar(require("./shifts"), exports);
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,4DAA0C;AAC1C,sDAAoC;AACpC,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CA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oC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,uDAAqC;AACrC,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,oDAAkC;AAClC,4CAA0B;AAC1B,oDAAkC;AAClC,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,0CAAwB;AACxB,iDAA+B;AAC/B,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,iDAA+B;AAC/B,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,6CAA2B;AAC3B,0CAAwB;AACxB,0CAAwB;AACxB,8CAA4B;AAC5B,6CAA2B;AAC3B,uDAAqC;AACrC,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./invoice-cart.dto"), exports);
|
|
17
18
|
__exportStar(require("./invoice-history.dto"), exports);
|
|
18
19
|
__exportStar(require("./invoice.dto"), exports);
|
|
19
20
|
__exportStar(require("./lineItem.dto"), exports);
|
|
@@ -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,6DAA2C;AAC3C,sDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,6DAA2C;AAC3C,sDAAoC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PlatformsEnum } from '../../services/enums.service';
|
|
2
|
+
import type { IInvoiceCart } from '../types/interfaces/invoice.interfaces';
|
|
3
|
+
export declare class BaseInvoiceDto {
|
|
4
|
+
platform: PlatformsEnum;
|
|
5
|
+
shiftId?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare class UpdateInvoiceOptionsDto {
|
|
8
|
+
basicInfoData?: BaseInvoiceDto;
|
|
9
|
+
addToInvoiceId?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
12
|
+
isInvoiced: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare class InvoiceCartDto implements IInvoiceCart {
|
|
15
|
+
existingInvoiceId?: number;
|
|
16
|
+
existingInvoiceToken?: string;
|
|
17
|
+
shiftId?: number;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvoiceCartDto = exports.UpdateInvoiceDto = exports.UpdateInvoiceOptionsDto = exports.BaseInvoiceDto = void 0;
|
|
4
|
+
class BaseInvoiceDto {
|
|
5
|
+
}
|
|
6
|
+
exports.BaseInvoiceDto = BaseInvoiceDto;
|
|
7
|
+
class UpdateInvoiceOptionsDto {
|
|
8
|
+
}
|
|
9
|
+
exports.UpdateInvoiceOptionsDto = UpdateInvoiceOptionsDto;
|
|
10
|
+
class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
11
|
+
}
|
|
12
|
+
exports.UpdateInvoiceDto = UpdateInvoiceDto;
|
|
13
|
+
class InvoiceCartDto {
|
|
14
|
+
}
|
|
15
|
+
exports.InvoiceCartDto = InvoiceCartDto;
|
|
16
|
+
//# sourceMappingURL=invoice-cart.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invoice-cart.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/invoice-cart.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC"}
|
|
@@ -1,37 +1,18 @@
|
|
|
1
|
+
import { ObfuscatedCustomerDto, SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
|
2
|
+
import { IdDto } from '../../dto/general.dto';
|
|
3
|
+
import { InvoiceNote } from '../../entity/InvoiceNote';
|
|
4
|
+
import { InvoiceToPayment } from '../../entity/InvoiceToPayment';
|
|
5
|
+
import { PaymentFeeDto } from '../../fee/dto/payment-fee.dto';
|
|
1
6
|
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
|
2
|
-
import {
|
|
7
|
+
import { ItemDiscountDto } from '../../payment/dto/discount.dto';
|
|
8
|
+
import { DueDateTypeEnum, FuturePaymentStatusEnum, PaymentMethodTypeEnum, PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
|
9
|
+
import { Reservation } from '../../reservations/entities/reservation.entity';
|
|
10
|
+
import { Slot } from '../../reservations/entities/slot.entity';
|
|
3
11
|
import { CurrencyEnum, InvoiceStatusEnum, PlatformsEnum } from '../../services/enums.service';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
organizationId: number;
|
|
9
|
-
price: number;
|
|
10
|
-
totalTax?: number;
|
|
11
|
-
totalWithoutTax?: number;
|
|
12
|
-
status?: InvoiceStatusEnum;
|
|
13
|
-
lineItems: LineItemDto[];
|
|
14
|
-
paymentStatus?: PaymentStatusEnum;
|
|
15
|
-
currency: CurrencyEnum;
|
|
16
|
-
creatingUserId?: number;
|
|
17
|
-
platform?: PlatformsEnum;
|
|
18
|
-
}
|
|
19
|
-
export declare class BaseInvoiceDto {
|
|
20
|
-
platform: PlatformsEnum;
|
|
21
|
-
shiftId?: number;
|
|
22
|
-
}
|
|
23
|
-
export declare class UpdateInvoiceOptionsDto {
|
|
24
|
-
basicInfoData?: BaseInvoiceDto;
|
|
25
|
-
addToInvoiceId?: number;
|
|
26
|
-
}
|
|
27
|
-
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
28
|
-
isInvoiced: boolean;
|
|
29
|
-
}
|
|
30
|
-
export declare class InvoiceCartDto implements IInvoiceCart {
|
|
31
|
-
existingInvoiceId?: number;
|
|
32
|
-
existingInvoiceToken?: string;
|
|
33
|
-
shiftId?: number;
|
|
34
|
-
}
|
|
12
|
+
import { SimpleUserDto } from '../../user/dto/user.dto';
|
|
13
|
+
import type { IInvoiceUpdate } from '../types/interfaces/invoice.interfaces';
|
|
14
|
+
import { LineItemDto, TaxItemDto } from './lineItem.dto';
|
|
15
|
+
export { BaseInvoiceDto, InvoiceCartDto, UpdateInvoiceDto, UpdateInvoiceOptionsDto } from './invoice-cart.dto';
|
|
35
16
|
export declare class SimpleInvoiceDto extends OrganizationBaseEntityDto {
|
|
36
17
|
invoiceId: string;
|
|
37
18
|
price: number;
|
|
@@ -57,6 +38,52 @@ export declare class SimpleInvoiceSlotDto {
|
|
|
57
38
|
id: number;
|
|
58
39
|
isScheduled: boolean;
|
|
59
40
|
}
|
|
41
|
+
export declare class InvoicePaymentDto extends IdDto {
|
|
42
|
+
createdAt: Date;
|
|
43
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
44
|
+
paymentStatus: PaymentStatusEnum;
|
|
45
|
+
status?: FuturePaymentStatusEnum;
|
|
46
|
+
price: number;
|
|
47
|
+
priceWithoutFee?: number;
|
|
48
|
+
totalFeesAmount?: number;
|
|
49
|
+
tipAmount?: number;
|
|
50
|
+
ccLast4?: string;
|
|
51
|
+
ccBrand?: string;
|
|
52
|
+
payingUserId?: number;
|
|
53
|
+
payingUser?: SimpleUserDto;
|
|
54
|
+
paymentFees?: PaymentFeeDto[];
|
|
55
|
+
stripePaymentMethodId?: string;
|
|
56
|
+
disputeStatus?: string;
|
|
57
|
+
disputeReason?: string;
|
|
58
|
+
disputeCreatedAt?: Date;
|
|
59
|
+
disputeUpdatedAt?: Date;
|
|
60
|
+
disputeAmount?: number;
|
|
61
|
+
}
|
|
62
|
+
export declare class InvoiceDto extends SimpleInvoiceDto {
|
|
63
|
+
createdAt?: Date;
|
|
64
|
+
updatedAt?: Date;
|
|
65
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
66
|
+
parentId?: number;
|
|
67
|
+
creatingUserId?: number;
|
|
68
|
+
sentForClientDate?: Date;
|
|
69
|
+
isRefunded?: boolean;
|
|
70
|
+
isVoided?: boolean;
|
|
71
|
+
totalTipsAmount?: number;
|
|
72
|
+
totalDue: number;
|
|
73
|
+
taxes: TaxItemDto[];
|
|
74
|
+
lineItems: LineItemDto[];
|
|
75
|
+
payments: InvoicePaymentDto[];
|
|
76
|
+
customer?: SimpleCustomerDto;
|
|
77
|
+
obfuscatedCustomer?: ObfuscatedCustomerDto;
|
|
78
|
+
invoiceNotes?: InvoiceNote[];
|
|
79
|
+
slots?: Slot[];
|
|
80
|
+
reservations?: Reservation[];
|
|
81
|
+
paymentsFees?: PaymentFeeDto[];
|
|
82
|
+
tippableAmount?: number;
|
|
83
|
+
facilityIds?: number[];
|
|
84
|
+
invoiceToPayments?: InvoiceToPayment[];
|
|
85
|
+
discounts?: ItemDiscountDto[];
|
|
86
|
+
}
|
|
60
87
|
/**
|
|
61
88
|
* DTO for updating invoices from client-side requests.
|
|
62
89
|
* This DTO defines the specific fields that are safe to update from client applications.
|
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateInvoiceFromClientDto = exports.
|
|
3
|
+
exports.UpdateInvoiceFromClientDto = exports.InvoiceDto = exports.InvoicePaymentDto = exports.SimpleInvoiceSlotDto = exports.SimpleInvoiceDto = exports.UpdateInvoiceOptionsDto = exports.UpdateInvoiceDto = exports.InvoiceCartDto = exports.BaseInvoiceDto = void 0;
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
4
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
exports.
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
exports.BaseInvoiceDto = BaseInvoiceDto;
|
|
11
|
-
class UpdateInvoiceOptionsDto {
|
|
12
|
-
}
|
|
13
|
-
exports.UpdateInvoiceOptionsDto = UpdateInvoiceOptionsDto;
|
|
14
|
-
class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
15
|
-
}
|
|
16
|
-
exports.UpdateInvoiceDto = UpdateInvoiceDto;
|
|
17
|
-
class InvoiceCartDto {
|
|
18
|
-
}
|
|
19
|
-
exports.InvoiceCartDto = InvoiceCartDto;
|
|
6
|
+
var invoice_cart_dto_1 = require("./invoice-cart.dto");
|
|
7
|
+
Object.defineProperty(exports, "BaseInvoiceDto", { enumerable: true, get: function () { return invoice_cart_dto_1.BaseInvoiceDto; } });
|
|
8
|
+
Object.defineProperty(exports, "InvoiceCartDto", { enumerable: true, get: function () { return invoice_cart_dto_1.InvoiceCartDto; } });
|
|
9
|
+
Object.defineProperty(exports, "UpdateInvoiceDto", { enumerable: true, get: function () { return invoice_cart_dto_1.UpdateInvoiceDto; } });
|
|
10
|
+
Object.defineProperty(exports, "UpdateInvoiceOptionsDto", { enumerable: true, get: function () { return invoice_cart_dto_1.UpdateInvoiceOptionsDto; } });
|
|
20
11
|
class SimpleInvoiceDto extends organization_dto_1.OrganizationBaseEntityDto {
|
|
21
12
|
}
|
|
22
13
|
exports.SimpleInvoiceDto = SimpleInvoiceDto;
|
|
23
14
|
class SimpleInvoiceSlotDto {
|
|
24
15
|
}
|
|
25
16
|
exports.SimpleInvoiceSlotDto = SimpleInvoiceSlotDto;
|
|
17
|
+
class InvoicePaymentDto extends general_dto_1.IdDto {
|
|
18
|
+
}
|
|
19
|
+
exports.InvoicePaymentDto = InvoicePaymentDto;
|
|
20
|
+
class InvoiceDto extends SimpleInvoiceDto {
|
|
21
|
+
}
|
|
22
|
+
exports.InvoiceDto = InvoiceDto;
|
|
26
23
|
/**
|
|
27
24
|
* DTO for updating invoices from client-side requests.
|
|
28
25
|
* This DTO defines the specific fields that are safe to update from client applications.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/invoice.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"invoice.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/invoice.dto.ts"],"names":[],"mappings":";;;AAEA,uDAA8C;AAI9C,8EAAoF;AAgBpF,uDAA+G;AAAtG,kHAAA,cAAc,OAAA;AAAE,kHAAA,cAAc,OAAA;AAAE,oHAAA,gBAAgB,OAAA;AAAE,2HAAA,uBAAuB,OAAA;AAElF,MAAa,gBAAiB,SAAQ,4CAAyB;CAsC9D;AAtCD,4CAsCC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAsC3C;AAtCD,8CAsCC;AAED,MAAa,UAAW,SAAQ,gBAAgB;CA8C/C;AA9CD,gCA8CC;AAED;;;;GAIG;AACH,MAAa,0BAA0B;CAEtC;AAFD,gEAEC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { IdDto } from '../../dto/general.dto';
|
|
2
|
+
import { SimpleProductUserDto } from '../../dto/product-user';
|
|
3
|
+
import { ItemDiscountDto } from '../../payment/dto/discount.dto';
|
|
1
4
|
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
|
5
|
+
import { ProductDto } from '../../product-pricing/dto/product.dto';
|
|
2
6
|
import { Product } from '../../product-pricing/entities/product.entity';
|
|
3
7
|
import { PurchasedResourceDto } from '../../reservations/dto/purcased-resource.dto';
|
|
4
8
|
import { CurrencyEnum, LineItemsStatusEnum, ProductTypesEnum } from '../../services/enums.service';
|
|
5
|
-
export declare class
|
|
9
|
+
export declare class CartLineItemDto {
|
|
6
10
|
id?: number;
|
|
7
11
|
invoiceId?: number;
|
|
8
12
|
type: LineItemsStatusEnum;
|
|
@@ -31,3 +35,69 @@ export declare class LineItemDto {
|
|
|
31
35
|
unique?: string;
|
|
32
36
|
totalPrice?: number;
|
|
33
37
|
}
|
|
38
|
+
export declare class TaxItemDto {
|
|
39
|
+
taxId?: number;
|
|
40
|
+
name?: string;
|
|
41
|
+
rate: number;
|
|
42
|
+
isInclusive: boolean;
|
|
43
|
+
amount: number;
|
|
44
|
+
paidAmount?: number;
|
|
45
|
+
productId?: number;
|
|
46
|
+
}
|
|
47
|
+
export declare class LineItemDto extends IdDto {
|
|
48
|
+
name: string;
|
|
49
|
+
productId: number;
|
|
50
|
+
productType: ProductTypesEnum;
|
|
51
|
+
paymentStatus: PaymentStatusEnum;
|
|
52
|
+
ordinal?: number;
|
|
53
|
+
parentOrdinal?: number;
|
|
54
|
+
parentLineItemId?: number;
|
|
55
|
+
groupId?: string;
|
|
56
|
+
parentGroupId?: string;
|
|
57
|
+
isVoided?: boolean;
|
|
58
|
+
isRefunded?: boolean;
|
|
59
|
+
quantity: number;
|
|
60
|
+
fullQuantityWithVoid: number;
|
|
61
|
+
totalUnitPrice: number;
|
|
62
|
+
unitTax?: number;
|
|
63
|
+
fullPrice: number;
|
|
64
|
+
fullPriceWithVoid: number;
|
|
65
|
+
fullPriceWithTax: number;
|
|
66
|
+
fullPriceWithVoidAndTax: number;
|
|
67
|
+
taxLineItemTotal: number;
|
|
68
|
+
taxLineItemTotalWithVoid: number;
|
|
69
|
+
totalPaid?: number;
|
|
70
|
+
totalQuantity?: number;
|
|
71
|
+
discountAmount?: number;
|
|
72
|
+
paidAmount?: number;
|
|
73
|
+
userId?: number;
|
|
74
|
+
customerFirstName?: string;
|
|
75
|
+
customerLastName?: string;
|
|
76
|
+
product?: ProductDto;
|
|
77
|
+
productUser?: SimpleProductUserDto;
|
|
78
|
+
purchasedResources?: PurchasedResourceDto[];
|
|
79
|
+
taxItems: TaxItemDto[];
|
|
80
|
+
discounts: ItemDiscountDto[];
|
|
81
|
+
price?: number;
|
|
82
|
+
unitPrice?: number;
|
|
83
|
+
totalPrice?: number;
|
|
84
|
+
totalPriceWithoutTax?: number;
|
|
85
|
+
isProductAdjustable?: boolean;
|
|
86
|
+
entitlementGroupId?: number;
|
|
87
|
+
facilityId?: number;
|
|
88
|
+
organizationId?: number;
|
|
89
|
+
productUserId?: number;
|
|
90
|
+
taxPrecent?: number;
|
|
91
|
+
isTaxInclusive?: boolean;
|
|
92
|
+
displayQuantity?: number;
|
|
93
|
+
displayFullQuantityWithVoid?: number;
|
|
94
|
+
displayTotalQuantity?: number;
|
|
95
|
+
displayUnitPrice?: number;
|
|
96
|
+
displayUnitTax?: number;
|
|
97
|
+
displayFullPrice?: number;
|
|
98
|
+
displayFullPriceWithTax?: number;
|
|
99
|
+
displayFullPriceWithVoid?: number;
|
|
100
|
+
displayFullPriceWithVoidAndTax?: number;
|
|
101
|
+
displayTotalPaid?: number;
|
|
102
|
+
displayTotalPriceWithTax?: number;
|
|
103
|
+
}
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LineItemDto = void 0;
|
|
4
|
-
|
|
3
|
+
exports.LineItemDto = exports.TaxItemDto = exports.CartLineItemDto = void 0;
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
5
|
+
class CartLineItemDto {
|
|
6
|
+
}
|
|
7
|
+
exports.CartLineItemDto = CartLineItemDto;
|
|
8
|
+
class TaxItemDto {
|
|
9
|
+
}
|
|
10
|
+
exports.TaxItemDto = TaxItemDto;
|
|
11
|
+
class LineItemDto extends general_dto_1.IdDto {
|
|
5
12
|
}
|
|
6
13
|
exports.LineItemDto = LineItemDto;
|
|
7
14
|
//# sourceMappingURL=lineItem.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lineItem.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/lineItem.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"lineItem.dto.js","sourceRoot":"","sources":["../../../../src/types/invoice/dto/lineItem.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8C;AAS9C,MAAa,eAAe;CAuD3B;AAvDD,0CAuDC;AAED,MAAa,UAAU;CActB;AAdD,gCAcC;AAED,MAAa,WAAY,SAAQ,mBAAK;CA8GrC;AA9GD,kCA8GC"}
|
|
@@ -8,8 +8,6 @@ import { PurchaseProductDto } from '../../../purchase/dto/purchase.dto';
|
|
|
8
8
|
import { ProductPricesDto } from '../../../reservations/dto/reservation.dto';
|
|
9
9
|
import { IOverrideProductsPricing } from '../../../reservations/types/interfaces/reservation.interfaces';
|
|
10
10
|
import { CustomerTypeEnum, InvoiceStatusEnum } from '../../../services/enums.service';
|
|
11
|
-
import { InvoiceDto } from '../../dto/invoice.dto';
|
|
12
|
-
import { LineItemDto } from '../../dto/lineItem.dto';
|
|
13
11
|
import { GetOrganizationInvoicesQueryDto } from '../../dto/organization-invoice.dto';
|
|
14
12
|
export type TOrganizationInvoiceCustomerType = CustomerTypeEnum.USER | CustomerTypeEnum.FAMILY;
|
|
15
13
|
/** Cartless organization id and optional payout snapshot for `createNewInvoice`. */
|
|
@@ -23,8 +21,9 @@ export interface IOrganizationInvoiceCustomerFilter {
|
|
|
23
21
|
entityIds: number[];
|
|
24
22
|
}
|
|
25
23
|
/**
|
|
26
|
-
*
|
|
27
|
-
* customerFilter is set only
|
|
24
|
+
* Organization invoice list filters.
|
|
25
|
+
* customerFilter is set only by the customer billing path after customers are resolved;
|
|
26
|
+
* unexposed key like this one is dropped during transformation and can never arrive from the client.
|
|
28
27
|
*/
|
|
29
28
|
export interface IOrganizationInvoiceFilters extends GetOrganizationInvoicesQueryDto {
|
|
30
29
|
customerFilter?: IOrganizationInvoiceCustomerFilter;
|
|
@@ -59,22 +58,10 @@ export interface IInvoiceCartOptions extends IValidateCartOptions {
|
|
|
59
58
|
purchasedProductMap?: Map<PurchaseProductDto, LineItems>;
|
|
60
59
|
resourceKey?: string;
|
|
61
60
|
}
|
|
62
|
-
export interface IGeneratedLineItems {
|
|
63
|
-
childItemToParent: Map<LineItemDto, LineItemDto>;
|
|
64
|
-
lineItems: LineItemDto[];
|
|
65
|
-
}
|
|
66
61
|
export interface IOverridePricingResult {
|
|
67
62
|
overrideProductsPricing: OverrideProductsPricingDto;
|
|
68
63
|
totalPrice?: number;
|
|
69
64
|
}
|
|
70
|
-
export interface IOverrideLineItemPrice {
|
|
71
|
-
invoice: InvoiceDto;
|
|
72
|
-
isLastLineItem?: boolean;
|
|
73
|
-
lineItem: LineItemDto;
|
|
74
|
-
overrideProductsPricing: OverrideProductsPricingDto;
|
|
75
|
-
priceLeft?: number;
|
|
76
|
-
ratio: number;
|
|
77
|
-
}
|
|
78
65
|
export declare class OverrideProductsPricingDto implements IOverrideProductsPricing {
|
|
79
66
|
[productInfo: string]: ProductPricesDto;
|
|
80
67
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/interfaces/invoice.interfaces.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"invoice.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/interfaces/invoice.interfaces.ts"],"names":[],"mappings":";;;AAgFA,MAAa,0BAA0B;CAEtC;AAFD,gEAEC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { GameStatusEnum } from '../types';
|
|
2
2
|
import { StageByIdDto } from './standings-ruleset.dto';
|
|
3
3
|
export declare class CreateGameDto {
|
|
4
|
-
homeTeamId
|
|
5
|
-
awayTeamId
|
|
4
|
+
homeTeamId?: number;
|
|
5
|
+
awayTeamId?: number;
|
|
6
6
|
eventId?: number;
|
|
7
7
|
homeScore?: number;
|
|
8
8
|
awayScore?: number;
|
|
@@ -8,3 +8,13 @@ export interface IAddTeamByFolderIdsResult {
|
|
|
8
8
|
division: CompetitionDivision;
|
|
9
9
|
team: CompetitionTeam;
|
|
10
10
|
}
|
|
11
|
+
export interface IEnsureCompetitionTeamsForEventParams {
|
|
12
|
+
competitionId: number;
|
|
13
|
+
eventId: number;
|
|
14
|
+
organizationId: number;
|
|
15
|
+
programSeasonId: number;
|
|
16
|
+
}
|
|
17
|
+
export interface IEventCompetitionTeamIds {
|
|
18
|
+
awayTeamId: number;
|
|
19
|
+
homeTeamId: number;
|
|
20
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.create.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.create.dto.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,qEAQuC;AAEvC,8EAAoF;AAGpF,0EAA0E;AAE1E;;;GAGG;AACU,QAAA,sBAAsB,GAAG,CAAC,CAAC,CAAC;AAEzC;;;GAGG;AACH,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,SAAU,SAAQ,4CAAyB;CAavD;AAbD,8BAaC;AAED,MAAa,aAAa;
|
|
1
|
+
{"version":3,"file":"notification.create.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.create.dto.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,qEAQuC;AAEvC,8EAAoF;AAGpF,0EAA0E;AAE1E;;;GAGG;AACU,QAAA,sBAAsB,GAAG,CAAC,CAAC,CAAC;AAEzC;;;GAGG;AACH,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,SAAU,SAAQ,4CAAyB;CAavD;AAbD,8BAaC;AAED,MAAa,aAAa;CAoBzB;AApBD,sCAoBC;AAED,MAAa,UAAU;CAWtB;AAXD,gCAWC;AAED,MAAa,qBAAqB;IAAlC;QAGC,mBAAc,GAAgC,8CAA0B,CAAC,OAAO,CAAC;QAgBjF;WACG;QAEH;;;;WAIG;IACJ,CAAC;CAAA;AA3BD,sDA2BC"}
|
|
@@ -130,6 +130,8 @@ export declare class ItemDiscountDto extends OrganizationBaseEntityDto {
|
|
|
130
130
|
discountAmount: number;
|
|
131
131
|
price: number;
|
|
132
132
|
unitPrice: number;
|
|
133
|
+
subTotal?: number;
|
|
134
|
+
paymentId?: number;
|
|
133
135
|
}
|
|
134
136
|
export declare class EntitlementDiscountGroupDto extends IdAndNameDto {
|
|
135
137
|
status: ActivityEnum;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discount.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/discount.dto.ts"],"names":[],"mappings":";;;AACA,uDAA6E;AAG7E,8EAAoF;AACpF,4EAA4E;AAC5E,gEAMsC;AACtC,kEAAwF;AAcxF,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AATC,gCAAgB,CAAC,KAAK,EAEtB,gCAAgB,CAAC,MAAM,EAEvB,gCAAgB,CAAC,IAAI,EAErB,gCAAgB,CAAC,SA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a,6BAA6B;CAIzC;AAJD,sEAIC;AAHC,kCAAkB,CAAC,KAAK,EAExB,kCAAkB,CAAC,OAAO;AAG5B,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAM,iBAAiB;CAoBtB;AAED,MAAa,WAAY,SAAQ,iBAAiB;CAYjD;AAZD,kCAYC;AAED,MAAa,iBAAkB,SAAQ,4CAAyB;CAQ/D;AARD,8CAQC;AAED,MAAa,eAAgB,SAAQ,6BAAe;CAMnD;AAND,0CAMC;AAED,MAAa,iBAAkB,SAAQ,iBAAiB;CAMvD;AAND,8CAMC;AAED,MAAa,iBAAiB;CAwB7B;AAxBD,8CAwBC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,cAAc;CAU1B;AAVD,wCAUC;AAED,MAAa,eAAe;CAQ3B;AARD,0CAQC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,eAAgB,SAAQ,4CAAyB;CAgC7D;AAhCD,0CAgCC;AAED,MAAa,2BAA4B,SAAQ,0BAAY;CAI5D;AAJD,kEAIC;AAED,MAAa,sBAAuB,SAAQ,mBAAK;CAYhD;AAZD,wDAYC;AAED,MAAa,4BAA6B,SAAQ,iBAAiB;IAAnE;;QAKC,oBAAoB;QACpB,SAAI,GAAqB,iCAAgB,CAAC,iBAAiB,CAAC;IAC7D,CAAC;CAAA;AAPD,oEAOC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CustomerDto } from '../../dto/customer.dto';
|
|
2
2
|
import { IdDto, PaginationQuery } from '../../dto/general.dto';
|
|
3
3
|
import { BasePaymentMethodFieldsDto, SaveCardTerminalInputDto } from '../../dto/userPaymentMethod.dto';
|
|
4
|
-
import { Invoice } from '../../entity/Invoice';
|
|
5
4
|
import { InvoiceToPayment } from '../../entity/InvoiceToPayment';
|
|
6
5
|
import { LineItemHistory } from '../../entity/LineItemHistory';
|
|
7
6
|
import { LineItems } from '../../entity/LineItems';
|
|
8
7
|
import { PaymentFeeDto } from '../../fee/dto/payment-fee.dto';
|
|
9
8
|
import { PaymentFee } from '../../fee/entities/PaymentFee';
|
|
9
|
+
import { InvoiceDto } from '../../invoice/dto/invoice.dto';
|
|
10
10
|
import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
11
11
|
import { Reason } from '../../organization/entities/Reason';
|
|
12
12
|
import { PurchaseProductDto } from '../../purchase/dto/purchase.dto';
|
|
@@ -180,7 +180,7 @@ export declare class PaymentDto extends BasePaymentMethodFieldsDto {
|
|
|
180
180
|
installmentId?: number;
|
|
181
181
|
discount?: Discount;
|
|
182
182
|
paymentFees: PaymentFee[] | PaymentFeeDto[];
|
|
183
|
-
invoices:
|
|
183
|
+
invoices: InvoiceDto[];
|
|
184
184
|
installments?: FutureInstallment[];
|
|
185
185
|
totalFeesAmount?: number;
|
|
186
186
|
tipAmount?: number;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { LineItems } from '../../../entity/LineItems';
|
|
2
1
|
import { PurchasedResource } from '../../../entity/PurchasedResources';
|
|
3
2
|
import { PurchasedResourceTypeEnum } from '../../../services/enums.service';
|
|
4
3
|
import { ItemDiscountDto } from '../../dto/discount.dto';
|
|
@@ -9,7 +8,6 @@ export declare const REVERTED_STATUSES: PaymentStatusEnum[];
|
|
|
9
8
|
export declare const installmentStatusDict: {
|
|
10
9
|
[key: string]: number;
|
|
11
10
|
};
|
|
12
|
-
export declare const uniqueTaxTemplate: (lineItem: LineItems) => string;
|
|
13
11
|
export declare const UNIQUE_SPLIT_CHAR = "&";
|
|
14
12
|
export declare const uniqueDiscountTemplate: (discountItem: ItemDiscountDto) => string;
|
|
15
13
|
export declare const orderByResourceTemplate: (resource: PurchasedResource, type: PurchasedResourceTypeEnum) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LANDING_URL_CONFIG = exports.BACKOFFICE_URL_CONFIG = exports.OVERLAPPING_STATUSES = exports.isRevertedStatus = exports.orderByResourceTemplate = exports.uniqueDiscountTemplate = exports.UNIQUE_SPLIT_CHAR = exports.
|
|
3
|
+
exports.LANDING_URL_CONFIG = exports.BACKOFFICE_URL_CONFIG = exports.OVERLAPPING_STATUSES = exports.isRevertedStatus = exports.orderByResourceTemplate = exports.uniqueDiscountTemplate = exports.UNIQUE_SPLIT_CHAR = exports.installmentStatusDict = exports.REVERTED_STATUSES = exports.SUPPORTED_NONACTION_PAYMENT_METHODS = exports.MIN_ACH_PAYMENT_AMOUNT = void 0;
|
|
4
4
|
const payment_enums_1 = require("../enums/payment.enums");
|
|
5
5
|
exports.MIN_ACH_PAYMENT_AMOUNT = 0.5;
|
|
6
6
|
exports.SUPPORTED_NONACTION_PAYMENT_METHODS = [
|
|
@@ -25,10 +25,6 @@ exports.installmentStatusDict = {
|
|
|
25
25
|
null: 5,
|
|
26
26
|
default: 6,
|
|
27
27
|
};
|
|
28
|
-
const uniqueTaxTemplate = (lineItem) => {
|
|
29
|
-
return `${lineItem.taxPrecent}_${lineItem.isTaxInclusive}`;
|
|
30
|
-
};
|
|
31
|
-
exports.uniqueTaxTemplate = uniqueTaxTemplate;
|
|
32
28
|
exports.UNIQUE_SPLIT_CHAR = '&';
|
|
33
29
|
const uniqueDiscountTemplate = (discountItem) => {
|
|
34
30
|
const discountPercentage = `${discountItem.discountPercentage ?? ''}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.consts.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/payment.consts.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"payment.consts.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/payment.consts.ts"],"names":[],"mappings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,CAAC,GAAG,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;AACtG,CAAC,CAAC;AAFW,QAAA,uBAAuB,2BAElC;AAEK,MAAM,gBAAgB,GAAG,CAAC,aAAgC,EAAW,EAAE;IAC7E,OAAO,yBAAiB,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AAClD,CAAC,CAAC;AAFW,QAAA,gBAAgB,oBAE3B;AAEF;;;GAGG;AACU,QAAA,oBAAoB,GAAuD;IACvF,CAAC,uCAAuB,CAAC,OAAO,CAAC,EAAE,iCAAiB,CAAC,OAAO;IAC5D,CAAC,uCAAuB,CAAC,iBAAiB,CAAC,EAAE,iCAAiB,CAAC,iBAAiB;IAChF,CAAC,uCAAuB,CAAC,MAAM,CAAC,EAAE,iCAAiB,CAAC,OAAO;IAC3D,CAAC,uCAAuB,CAAC,SAAS,CAAC,EAAE,iCAAiB,CAAC,UAAU;IACjE,CAAC,uCAAuB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;IAC9D,CAAC,uCAAuB,CAAC,UAAU,CAAC,EAAE,iCAAiB,CAAC,UAAU;IAClE,CAAC,uCAAuB,CAAC,MAAM,CAAC,EAAE,iCAAiB,CAAC,QAAQ;IAC5D,CAAC,uCAAuB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;IAC9D,CAAC,uCAAuB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;CAC9D,CAAC;AAEW,QAAA,qBAAqB,GAAG,gBAAgB,CAAC;AAEzC,QAAA,kBAAkB,GAAG,aAAa,CAAC"}
|
|
@@ -96,7 +96,7 @@ export declare const failedInstallmentStatuses: FuturePaymentStatusEnum[];
|
|
|
96
96
|
export declare const unpaidInstallmentStatuses: FuturePaymentStatusEnum[];
|
|
97
97
|
export declare enum FlattenViaPropEnum {
|
|
98
98
|
CHILDREN = "children",
|
|
99
|
-
|
|
99
|
+
TAX_ITEMS = "taxLineItems"
|
|
100
100
|
}
|
|
101
101
|
export declare enum PaymentBrandEnum {
|
|
102
102
|
VISA = "visa",
|
|
@@ -122,7 +122,7 @@ exports.unpaidInstallmentStatuses = [
|
|
|
122
122
|
var FlattenViaPropEnum;
|
|
123
123
|
(function (FlattenViaPropEnum) {
|
|
124
124
|
FlattenViaPropEnum["CHILDREN"] = "children";
|
|
125
|
-
FlattenViaPropEnum["
|
|
125
|
+
FlattenViaPropEnum["TAX_ITEMS"] = "taxLineItems";
|
|
126
126
|
})(FlattenViaPropEnum = exports.FlattenViaPropEnum || (exports.FlattenViaPropEnum = {}));
|
|
127
127
|
var PaymentBrandEnum;
|
|
128
128
|
(function (PaymentBrandEnum) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAaX;AAbD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,0CAAqB,CAAA;IACrB,8CAAyB,CAAA;IACzB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,CAAC,EAbW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAa5B;AAED,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAC9B,uDAAgC,CAAA;IAChC,wCAAiB,CAAA;IACjB,gCAAS,CAAA;IACT,+CAAwB,CAAA;IACxB,+CAAwB,CAAA;IACxB,sCAAe,CAAA;IACf,2CAAoB,CAAA;AACrB,CAAC,EARW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAQ9B;AAED,IAAY,cAKX;AALD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,2CAAyB,CAAA;I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jB,kDAAuB,CAAA;IACvB,4CAAiB,CAAA;IACjB,gDAAqB,CAAA;IACrB,oDAAyB,CAAA;IACzB,gDAAqB,CAAA;IACrB,8CAAmB,CAAA;IACnB,kEAAuC,CAAA;IACvC,gDAAqB,CAAA;AACtB,CAAC,EAVW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAUlC;AAEY,QAAA,wCAAwC,GAAG;IACvD,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,OAAO;IAC/B,uBAAuB,CAAC,SAAS;CACjC,CAAC;AAEW,QAAA,6BAA6B,GAAG;IAC5C,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,iBAAiB;IACzC,uBAAuB,CAAC,QAAQ;CAChC,CAAC;AAEF;;;;GAIG;AACU,QAAA,yBAAyB,GAAG,CAAC,uBAAuB,CAAC,MAAM,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;AAErH;;GAEG;AACH;;;GAGG;AACU,QAAA,yBAAyB,GAAG;IACxC,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,iBAAiB;IACzC,uBAAuB,CAAC,QAAQ;CAChC,CAAC;AAEF,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,2CAAqB,CAAA;IACrB,
|
|
1
|
+
{"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAaX;AAbD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,0CAAqB,CAAA;IACrB,8CAAyB,CAAA;IACzB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,CAAC,EAbW,iBAAiB,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kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,iCAAa,CAAA;IACb,6CAAyB,CAAA;IACzB,uCAAmB,CAAA;AACpB,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IAC1B,gDAA6B,CAAA;IAC7B,oCAAiB,CAAA;AAClB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;AACpB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IACjC,yCAAe,CAAA;IACf,+CAAqB,CAAA;IACrB,yCAAe,CAAA;AAChB,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Invoice } from '../../../entity/Invoice';
|
|
2
|
+
import { InvoiceDto } from '../../../invoice/dto/invoice.dto';
|
|
2
3
|
import { PaymentMethodDto, RefundAmountDto } from '../../dto/refund.dto';
|
|
3
4
|
import { RefundBuilderErrorCodesEnum, RefundItemTypeEnum, RefundTypeEnum } from '../enums/refund.enums';
|
|
4
5
|
import { PaymentsResults } from './payment.interfaces';
|
|
@@ -26,7 +27,7 @@ export declare class RefundResult extends PaymentsResults {
|
|
|
26
27
|
failedLineItems: RefundAmountDto[];
|
|
27
28
|
successfulFees: RefundAmountDto[];
|
|
28
29
|
failedFees: RefundAmountDto[];
|
|
29
|
-
invoice?: Invoice;
|
|
30
|
+
invoice?: Invoice | InvoiceDto;
|
|
30
31
|
}
|
|
31
32
|
export declare class RefundsResult extends PaymentsResults {
|
|
32
33
|
successfulLineItems: Map<number, RefundAmountDto>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refund.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/refund.interfaces.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"refund.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/refund.interfaces.ts"],"names":[],"mappings":";;;AAMA,6DAAuD;AAqBvD,MAAa,YAAa,SAAQ,oCAAe;CAUhD;AAVD,oCAUC;AAED,MAAa,aAAc,SAAQ,oCAAe;CAMjD;AAND,sCAMC"}
|