@bondsports/types 2.2.284 → 2.2.285
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/dto/application.dto.d.ts +8 -0
- package/dist/types/dto/application.dto.js +4 -1
- package/dist/types/dto/application.dto.js.map +1 -1
- package/dist/types/dto/package.dto.d.ts +56 -2
- package/dist/types/dto/package.dto.js +7 -1
- package/dist/types/dto/package.dto.js.map +1 -1
- package/dist/types/entity/Events.js.map +1 -1
- package/dist/types/folders/dto/folder.dto.d.ts +58 -0
- package/dist/types/folders/dto/folder.dto.js +34 -0
- package/dist/types/folders/dto/folder.dto.js.map +1 -0
- package/dist/types/folders/dto/index.d.ts +1 -0
- package/dist/types/folders/dto/index.js +18 -0
- package/dist/types/folders/dto/index.js.map +1 -0
- package/dist/types/folders/entities/folder-content.entity.d.ts +12 -0
- package/dist/types/folders/entities/folder-content.entity.js +14 -0
- package/dist/types/folders/entities/folder-content.entity.js.map +1 -0
- package/dist/types/folders/entities/folder-invite.entity.d.ts +8 -0
- package/dist/types/folders/entities/folder-invite.entity.js +8 -0
- package/dist/types/folders/entities/folder-invite.entity.js.map +1 -0
- package/dist/types/folders/entities/folder.entity.d.ts +21 -0
- package/dist/types/folders/entities/folder.entity.js +12 -0
- package/dist/types/folders/entities/folder.entity.js.map +1 -0
- package/dist/types/folders/entities/index.d.ts +3 -0
- package/dist/types/folders/entities/index.js +20 -0
- package/dist/types/folders/entities/index.js.map +1 -0
- package/dist/types/folders/index.d.ts +2 -0
- package/dist/types/folders/index.js +19 -0
- package/dist/types/folders/index.js.map +1 -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/pricing/dto/pricing.dto.d.ts +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +2 -2
- package/dist/types/product-pricing/dto/product.dto.d.ts +3 -52
- package/dist/types/product-pricing/dto/product.dto.js +1 -7
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +9 -0
- package/dist/types/programs-seasons/dto/index.d.ts +1 -0
- package/dist/types/programs-seasons/dto/index.js +1 -0
- package/dist/types/programs-seasons/dto/index.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-season-participant.dto.d.ts +8 -0
- package/dist/types/programs-seasons/dto/program-season-participant.dto.js +7 -0
- package/dist/types/programs-seasons/dto/program-season-participant.dto.js.map +1 -0
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +45 -18
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +20 -8
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +3 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +8 -0
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +11 -1
- package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -1
- package/dist/types/programs-seasons/types/interfaces/program-season.interfaces.d.ts +18 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +5 -0
- package/dist/types/services/enums.service.d.ts +4 -0
- package/dist/types/services/enums.service.js +6 -1
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +6 -0
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +22 -0
- package/dist/types/session-participants/dto/get.session.participant.dto.js +18 -0
- package/dist/types/session-participants/dto/get.session.participant.dto.js.map +1 -0
- package/dist/types/session-participants/dto/index.d.ts +2 -0
- package/dist/types/session-participants/dto/index.js +19 -0
- package/dist/types/session-participants/dto/index.js.map +1 -0
- package/dist/types/session-participants/dto/session.participant.dto.d.ts +45 -0
- package/dist/types/session-participants/dto/session.participant.dto.js +10 -0
- package/dist/types/session-participants/dto/session.participant.dto.js.map +1 -0
- package/dist/types/session-participants/index.d.ts +2 -0
- package/dist/types/session-participants/index.js +19 -0
- package/dist/types/session-participants/index.js.map +1 -0
- package/dist/types/session-participants/types/consts.d.ts +3 -0
- package/dist/types/session-participants/types/consts.js +7 -0
- package/dist/types/session-participants/types/consts.js.map +1 -0
- package/dist/types/session-participants/types/enums.d.ts +17 -0
- package/dist/types/session-participants/types/enums.js +24 -0
- package/dist/types/session-participants/types/enums.js.map +1 -0
- package/dist/types/session-participants/types/index.d.ts +3 -0
- package/dist/types/session-participants/types/index.js +20 -0
- package/dist/types/session-participants/types/index.js.map +1 -0
- package/dist/types/session-participants/types/interfaces.d.ts +46 -0
- package/dist/types/session-participants/types/interfaces.js +3 -0
- package/dist/types/session-participants/types/interfaces.js.map +1 -0
- package/package.json +1 -1
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SessionParticipantsSearchFieldEnum = exports.SessionParticipantsPaymentStatusEnum = exports.SessionParticipantsSortByEnum = void 0;
|
4
|
+
var SessionParticipantsSortByEnum;
|
5
|
+
(function (SessionParticipantsSortByEnum) {
|
6
|
+
SessionParticipantsSortByEnum["NAME"] = "name";
|
7
|
+
SessionParticipantsSortByEnum["AGE"] = "age";
|
8
|
+
SessionParticipantsSortByEnum["GENDER"] = "gender";
|
9
|
+
SessionParticipantsSortByEnum["REGISTRATION_DATE"] = "registrationDate";
|
10
|
+
SessionParticipantsSortByEnum["WAIVER_SIGNED_DATE"] = "waiverSignedDate";
|
11
|
+
SessionParticipantsSortByEnum["WAIVER_SIGNED"] = "waiverSigned";
|
12
|
+
})(SessionParticipantsSortByEnum = exports.SessionParticipantsSortByEnum || (exports.SessionParticipantsSortByEnum = {}));
|
13
|
+
var SessionParticipantsPaymentStatusEnum;
|
14
|
+
(function (SessionParticipantsPaymentStatusEnum) {
|
15
|
+
SessionParticipantsPaymentStatusEnum["PAID"] = "paid";
|
16
|
+
SessionParticipantsPaymentStatusEnum["UNPAID"] = "unpaid";
|
17
|
+
SessionParticipantsPaymentStatusEnum["PARTIALLY_PAID"] = "partially_paid";
|
18
|
+
})(SessionParticipantsPaymentStatusEnum = exports.SessionParticipantsPaymentStatusEnum || (exports.SessionParticipantsPaymentStatusEnum = {}));
|
19
|
+
var SessionParticipantsSearchFieldEnum;
|
20
|
+
(function (SessionParticipantsSearchFieldEnum) {
|
21
|
+
SessionParticipantsSearchFieldEnum["NAME_OR_EMAIL"] = "nameOrEmail";
|
22
|
+
SessionParticipantsSearchFieldEnum["PRODUCT_NAME"] = "productName";
|
23
|
+
})(SessionParticipantsSearchFieldEnum = exports.SessionParticipantsSearchFieldEnum || (exports.SessionParticipantsSearchFieldEnum = {}));
|
24
|
+
//# sourceMappingURL=enums.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,6BAOX;AAPD,WAAY,6BAA6B;IACxC,8CAAa,CAAA;IACb,4CAAW,CAAA;IACX,kDAAiB,CAAA;IACjB,uEAAsC,CAAA;IACtC,wEAAuC,CAAA;IACvC,+DAA8B,CAAA;AAC/B,CAAC,EAPW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAOxC;AAED,IAAY,oCAIX;AAJD,WAAY,oCAAoC;IAC/C,qDAAa,CAAA;IACb,yDAAiB,CAAA;IACjB,yEAAiC,CAAA;AAClC,CAAC,EAJW,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QAI/C;AAED,IAAY,kCAGX;AAHD,WAAY,kCAAkC;IAC7C,mEAA6B,CAAA;IAC7B,kEAA4B,CAAA;AAC7B,CAAC,EAHW,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAG7C"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./consts"), exports);
|
18
|
+
__exportStar(require("./enums"), exports);
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
20
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
2
|
+
import { ProductsUsers } from '../../entity/ProductsUsers';
|
3
|
+
import { CurrencyEnum, GenderEnum } from '../../services/enums.service';
|
4
|
+
import { SessionParticipantsPaymentStatusEnum } from './enums';
|
5
|
+
export interface ISessionParticipant {
|
6
|
+
sessionId: number;
|
7
|
+
folderName?: string;
|
8
|
+
name?: string;
|
9
|
+
userId: number;
|
10
|
+
age?: number;
|
11
|
+
gender: GenderEnum;
|
12
|
+
customerId: number;
|
13
|
+
email: string;
|
14
|
+
fullPrice?: number;
|
15
|
+
punchCard?: boolean;
|
16
|
+
currentPaidAmount?: number;
|
17
|
+
paymentStatus?: SessionParticipantsPaymentStatusEnum;
|
18
|
+
waiverSigned?: boolean;
|
19
|
+
registrationDate?: string;
|
20
|
+
pictureUrl: string;
|
21
|
+
productId?: number;
|
22
|
+
currentPaidCurrencies?: CurrencyEnum[];
|
23
|
+
productNames?: string[];
|
24
|
+
}
|
25
|
+
export interface IRawSessionParticipant {
|
26
|
+
sessionId: number;
|
27
|
+
folderName?: string;
|
28
|
+
name: string;
|
29
|
+
userId: number;
|
30
|
+
gender: GenderEnum;
|
31
|
+
profilePictureId?: number;
|
32
|
+
customerId: number;
|
33
|
+
customerEmail: string;
|
34
|
+
fullPrice?: number;
|
35
|
+
punchCard?: boolean;
|
36
|
+
currentPaidAmount?: number;
|
37
|
+
paymentStatuses?: PaymentStatusEnum[];
|
38
|
+
waiverSignedDate?: string;
|
39
|
+
registrationDate?: string;
|
40
|
+
productId?: number;
|
41
|
+
currentPaidCurrencies?: CurrencyEnum[];
|
42
|
+
productNames?: string[];
|
43
|
+
}
|
44
|
+
export interface ICreateSessionParticipant {
|
45
|
+
productUser?: ProductsUsers;
|
46
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/interfaces.ts"],"names":[],"mappings":""}
|