@bondsports/types 2.4.61-a-1 → 2.4.61-a-2
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/invoice/types/consts/invoice.consts.d.ts +2 -0
- package/dist/types/invoice/types/consts/invoice.consts.js +7 -1
- package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
- package/dist/types/leagues-scheduler/types/interfaces.d.ts +11 -11
- package/dist/types/leagues-scheduler/types/interfaces.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +8 -2
- package/dist/types/reservations/dto/reservation.dto.js +8 -2
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +1 -1
- package/dist/types/reservations/types/reservation.types.d.ts +5 -1
- package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +12 -0
- package/dist/types/session-participants/dto/get.session.participant.dto.js +13 -1
- package/dist/types/session-participants/dto/get.session.participant.dto.js.map +1 -1
- package/dist/types/session-participants/dto/session.participant.dto.d.ts +25 -0
- package/dist/types/session-participants/dto/session.participant.dto.js +7 -1
- package/dist/types/session-participants/dto/session.participant.dto.js.map +1 -1
- package/dist/types/session-participants/types/classes.d.ts +23 -1
- package/dist/types/session-participants/types/classes.js +4 -1
- package/dist/types/session-participants/types/classes.js.map +1 -1
- package/dist/types/session-participants/types/interfaces.d.ts +23 -0
- package/dist/types/templates/types/event-roster.types.d.ts +13 -13
- package/package.json +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { InvoiceDiscountOnEnum } from '../../../payment/types/enums/discount.enums';
|
|
2
|
+
import { PaymentStatusEnum } from '../../../payment/types/enums/payment.enums';
|
|
2
3
|
export declare const discountOnMapper: {
|
|
3
4
|
[key: string]: InvoiceDiscountOnEnum;
|
|
4
5
|
};
|
|
6
|
+
export declare const ORGANIZATION_INVOICE_SETTLED_PAYMENT_STATUSES: PaymentStatusEnum[];
|
|
5
7
|
type HasIdOrUnique = {
|
|
6
8
|
id?: number | string;
|
|
7
9
|
unique?: string;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getUniqueKey = exports.discountOnMapper = void 0;
|
|
3
|
+
exports.getUniqueKey = exports.ORGANIZATION_INVOICE_SETTLED_PAYMENT_STATUSES = exports.discountOnMapper = void 0;
|
|
4
4
|
const discount_enums_1 = require("../../../payment/types/enums/discount.enums");
|
|
5
|
+
const payment_enums_1 = require("../../../payment/types/enums/payment.enums");
|
|
5
6
|
exports.discountOnMapper = {
|
|
6
7
|
[discount_enums_1.DiscountOnEnum.ITEM]: discount_enums_1.InvoiceDiscountOnEnum.LINE_ITEM,
|
|
7
8
|
[discount_enums_1.DiscountOnEnum.ALL]: discount_enums_1.InvoiceDiscountOnEnum.INVOICE,
|
|
8
9
|
};
|
|
10
|
+
exports.ORGANIZATION_INVOICE_SETTLED_PAYMENT_STATUSES = [
|
|
11
|
+
payment_enums_1.PaymentStatusEnum.FULLY_PAID,
|
|
12
|
+
payment_enums_1.PaymentStatusEnum.VOID,
|
|
13
|
+
payment_enums_1.PaymentStatusEnum.REFUNDED,
|
|
14
|
+
];
|
|
9
15
|
/**
|
|
10
16
|
* Generates a unique key for a given cart item.
|
|
11
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.consts.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/consts/invoice.consts.ts"],"names":[],"mappings":";;;AAAA,gFAAoG;
|
|
1
|
+
{"version":3,"file":"invoice.consts.js","sourceRoot":"","sources":["../../../../../src/types/invoice/types/consts/invoice.consts.ts"],"names":[],"mappings":";;;AAAA,gFAAoG;AACpG,8EAA+E;AAElE,QAAA,gBAAgB,GAA6C;IACzE,CAAC,+BAAc,CAAC,IAAI,CAAC,EAAE,sCAAqB,CAAC,SAAS;IACtD,CAAC,+BAAc,CAAC,GAAG,CAAC,EAAE,sCAAqB,CAAC,OAAO;CACnD,CAAC;AAEW,QAAA,6CAA6C,GAAwB;IACjF,iCAAiB,CAAC,UAAU;IAC5B,iCAAiB,CAAC,IAAI;IACtB,iCAAiB,CAAC,QAAQ;CAC1B,CAAC;AAOF;;GAEG;AACI,MAAM,YAAY,GAAsC,CAAC,MAAqB,EAAU,EAAE;IAChG,OAAO,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,MAAM,CAAC,MAAM,CAAC;AAC/C,CAAC,CAAC;AAFW,QAAA,YAAY,gBAEvB"}
|
|
@@ -35,7 +35,6 @@ export interface IScheduleConfig {
|
|
|
35
35
|
blackoutDates?: string[];
|
|
36
36
|
breakBetweenGames?: number;
|
|
37
37
|
byeWeekPolicy: ByeWeekPolicyEnum;
|
|
38
|
-
respectDivisionBoundaries?: boolean;
|
|
39
38
|
gameDuration: number;
|
|
40
39
|
gamesPerTeam?: number;
|
|
41
40
|
gamesPerWeek: number;
|
|
@@ -47,6 +46,7 @@ export interface IScheduleConfig {
|
|
|
47
46
|
preferredTimes?: string[];
|
|
48
47
|
resourceIds?: number[];
|
|
49
48
|
resourcePriorities?: Record<number, number>;
|
|
49
|
+
respectDivisionBoundaries?: boolean;
|
|
50
50
|
rounds?: number;
|
|
51
51
|
seasonEndDate?: string;
|
|
52
52
|
seasonStartDate: string;
|
|
@@ -99,23 +99,23 @@ export interface IConflictingResource {
|
|
|
99
99
|
name: string;
|
|
100
100
|
}
|
|
101
101
|
export interface IScheduleConflict {
|
|
102
|
+
/** Division this conflict pertains to (for division-level warnings). */
|
|
103
|
+
divisionId?: number;
|
|
102
104
|
gameId: string;
|
|
103
105
|
conflictingEvent?: IConflictingEvent;
|
|
104
|
-
endTime?: string;
|
|
105
|
-
resource?: IConflictingResource;
|
|
106
|
-
severity: ValidationSeverityEnum;
|
|
107
|
-
startDate?: string;
|
|
108
|
-
startTime?: string;
|
|
109
|
-
type: ScheduleConflictTypeEnum;
|
|
110
106
|
/**
|
|
111
107
|
* Human-readable description used by the FE when type-specific fields
|
|
112
108
|
* (resource, event, date) don't apply — e.g. division-level warnings.
|
|
113
109
|
*/
|
|
114
110
|
description?: string;
|
|
115
|
-
/** Division this conflict pertains to (for division-level warnings). */
|
|
116
|
-
divisionId?: number;
|
|
117
111
|
/** Display name of the division for FE rendering. */
|
|
118
112
|
divisionName?: string;
|
|
113
|
+
endTime?: string;
|
|
114
|
+
resource?: IConflictingResource;
|
|
115
|
+
severity: ValidationSeverityEnum;
|
|
116
|
+
startDate?: string;
|
|
117
|
+
startTime?: string;
|
|
118
|
+
type: ScheduleConflictTypeEnum;
|
|
119
119
|
}
|
|
120
120
|
export interface IGenerateScheduleOptions {
|
|
121
121
|
isGenerateOptimized?: boolean;
|
|
@@ -284,15 +284,15 @@ export interface ICreateEventsParams {
|
|
|
284
284
|
export interface IScheduleTeam {
|
|
285
285
|
id: number;
|
|
286
286
|
divisionId?: number;
|
|
287
|
-
divisionName?: string;
|
|
288
287
|
ancestors?: number[];
|
|
288
|
+
divisionName?: string;
|
|
289
289
|
name: string;
|
|
290
290
|
}
|
|
291
291
|
export interface ITeamDivisionIndex {
|
|
292
|
+
divisionNameMap: Map<number, string>;
|
|
292
293
|
teamDivisionMap: Map<number, number>;
|
|
293
294
|
teamNameMap: Map<number, string>;
|
|
294
295
|
teamsByDivision: Map<number, IScheduleTeam[]>;
|
|
295
|
-
divisionNameMap: Map<number, string>;
|
|
296
296
|
}
|
|
297
297
|
export interface ITeamPairing {
|
|
298
298
|
awayTeam: IScheduleTeam;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/interfaces.ts"],"names":[],"mappings":";;;AAIA,mCAUiB;AAGhB,mGAZA,0BAAkB,OAYA;AAClB,kGAZA,yBAAiB,OAYA;AACjB,yGAZA,gCAAwB,OAYA;AACxB,uGAZA,8BAAsB,OAYA;AACtB,6FAZA,oBAAY,OAYA;AACZ,iGAZA,wBAAgB,OAYA;AAChB,wGAZA,+BAAuB,OAYA;AACvB,+GAZA,sCAA8B,OAYA;AAC9B,yGAZA,gCAAwB,OAYA;
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/interfaces.ts"],"names":[],"mappings":";;;AAIA,mCAUiB;AAGhB,mGAZA,0BAAkB,OAYA;AAClB,kGAZA,yBAAiB,OAYA;AACjB,yGAZA,gCAAwB,OAYA;AACxB,uGAZA,8BAAsB,OAYA;AACtB,6FAZA,oBAAY,OAYA;AACZ,iGAZA,wBAAgB,OAYA;AAChB,wGAZA,+BAAuB,OAYA;AACvB,+GAZA,sCAA8B,OAYA;AAC9B,yGAZA,gCAAwB,OAYA;AAkWzB,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IACnC,iEAAqC,CAAA;IACrC,uEAA2C,CAAA;AAC5C,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC"}
|
|
@@ -36,8 +36,8 @@ export interface ILineItem {
|
|
|
36
36
|
organizationId: number;
|
|
37
37
|
entitlementGroupId?: number;
|
|
38
38
|
invoiceId?: number;
|
|
39
|
-
parentLineItemId?: number;
|
|
40
39
|
parentGroupId?: string;
|
|
40
|
+
parentLineItemId?: number;
|
|
41
41
|
productId: number;
|
|
42
42
|
userId?: number;
|
|
43
43
|
currency: CurrencyEnum;
|
|
@@ -3,7 +3,7 @@ import { SportsEnum } from '../../activities/types/activities.enums';
|
|
|
3
3
|
import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
|
|
4
4
|
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
|
5
5
|
import { CustomerDto } from '../../dto/customer.dto';
|
|
6
|
-
import { PaginationQuery, PaginationSearchQuery, SimpleResourceDto } from '../../dto/general.dto';
|
|
6
|
+
import { PaginationMetaDto, PaginationQuery, PaginationResultDto, PaginationSearchQuery, SimpleResourceDto } from '../../dto/general.dto';
|
|
7
7
|
import { Invoice } from '../../entity/Invoice';
|
|
8
8
|
import { FacilityDto } from '../../facilities/dto/facilities.dto';
|
|
9
9
|
import { InvoiceCartDto, SimpleInvoiceDto, UpdateInvoiceDto } from '../../invoice/dto/invoice.dto';
|
|
@@ -27,7 +27,7 @@ import { IBaseReservation, IBaseReservationItemLineItem, IDraftReservation, IDup
|
|
|
27
27
|
import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
|
|
28
28
|
import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
|
|
29
29
|
import { SeriesDto } from './series.dto';
|
|
30
|
-
import { DraftSlotsDto, SlotDto, TimeSlotConflictsDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
|
|
30
|
+
import { DraftSlotsDto, SlotDto, SlotRowDto, TimeSlotConflictsDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
|
|
31
31
|
export declare class ProductPricesDto implements IProductPrice {
|
|
32
32
|
productId: number;
|
|
33
33
|
product?: Product;
|
|
@@ -172,6 +172,12 @@ export declare class FindSlotsQueryParamsDto extends PaginationSearchQuery<SlotO
|
|
|
172
172
|
notes?: SlotNotesFilterEnum[];
|
|
173
173
|
orderBy?: SlotOrderBy;
|
|
174
174
|
}
|
|
175
|
+
export declare class SlotsPaginationMetaDto extends PaginationMetaDto {
|
|
176
|
+
actionableTotalItems: number;
|
|
177
|
+
}
|
|
178
|
+
export declare class SlotsPaginationResultDto extends PaginationResultDto<SlotRowDto> {
|
|
179
|
+
meta: SlotsPaginationMetaDto;
|
|
180
|
+
}
|
|
175
181
|
export declare class CategoryPricesDto {
|
|
176
182
|
slot: number;
|
|
177
183
|
addon: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.EditReservationItemsResultDto = exports.EditSlotsRefundMetadataDto = exports.EditSlotsFinancialDetailsDto = exports.EditItemsRefundMetadataDto = exports.ReservationItemLineDto = exports.DuplicateReservationItemsDto = exports.DuplicateReservationDto = exports.PaginatedSlotsSharedDto = exports.ProblematicProductDto = exports.CreateReservationAddonsDto = exports.ReservationAddonsDto = exports.SegmentsAddonsGroupDto = exports.UpdateDraftSlotsDto = exports.GenerateReservationDto = void 0;
|
|
3
|
+
exports.GetDraftSlotsOptions = exports.GetDraftReservationOptionsDto = exports.GetDraftReservationAddonsQueryDto = exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = exports.ByRentalProductId = exports.ByDraftReservationIdDto = exports.GetDraftReservationSlotsFiltersDto = exports.AddSegmentsDto = exports.InvoiceReservationItemsDto = exports.ChargeReservationResultDto = exports.UpdateCustomerSlotsColorsDto = exports.UpdateReservationSlotsColorsDto = exports.ReservationNotifyDto = exports.RemoveSlotsFinancialDataDto = exports.EditReservationDetailsDto = exports.EditItemsRefundMetaDto = exports.FindBySlotDto = exports.UpdateReservationStatusDto = exports.FindBySlotIdsDto = exports.DuplicateSlotDto = exports.GetFilterOptionsDto = exports.FindByReservationDto = exports.getSlotFQueryParamsDto = exports.IncludeConflictsOptionsDto = exports.FindSlotsByFacilityIdFiltersDto = exports.FindReservationsByUserIdFiltersDto = exports.ReservationTableOptionsDto = exports.FindReservationsByOrganizationIdFiltersDto = exports.BookingDto = exports.BookingData = exports.UpdateReservationPriceDto = exports.CategoryPricesDto = exports.SlotsPaginationResultDto = exports.SlotsPaginationMetaDto = exports.FindSlotsQueryParamsDto = exports.SlotsFilterDto = exports.GetReservationAddonsOptionsQueryDto = exports.SingleReservationIncludesDto = exports.CreateReservationCartDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.SegmentsAddonsDto = exports.CreateSegmentsAddonsDto = exports.BaseReservationItemLineItemDataDto = exports.ReservationDto = exports.DuplicatedDetailsDto = exports.SimpleReservationDto = exports.ProductPricesDto = void 0;
|
|
4
|
+
exports.EditReservationItemsResultDto = exports.EditSlotsRefundMetadataDto = exports.EditSlotsFinancialDetailsDto = exports.EditItemsRefundMetadataDto = exports.ReservationItemLineDto = exports.DuplicateReservationItemsDto = exports.DuplicateReservationDto = exports.PaginatedSlotsSharedDto = exports.ProblematicProductDto = exports.CreateReservationAddonsDto = exports.ReservationAddonsDto = exports.SegmentsAddonsGroupDto = exports.UpdateDraftSlotsDto = exports.GenerateReservationDto = exports.ByDraftSlotIdDto = exports.DraftIdsDto = void 0;
|
|
5
5
|
const general_dto_1 = require("../../dto/general.dto");
|
|
6
6
|
const invoice_dto_1 = require("../../invoice/dto/invoice.dto");
|
|
7
7
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
@@ -60,6 +60,12 @@ exports.SlotsFilterDto = SlotsFilterDto;
|
|
|
60
60
|
class FindSlotsQueryParamsDto extends general_dto_1.PaginationSearchQuery {
|
|
61
61
|
}
|
|
62
62
|
exports.FindSlotsQueryParamsDto = FindSlotsQueryParamsDto;
|
|
63
|
+
class SlotsPaginationMetaDto extends general_dto_1.PaginationMetaDto {
|
|
64
|
+
}
|
|
65
|
+
exports.SlotsPaginationMetaDto = SlotsPaginationMetaDto;
|
|
66
|
+
class SlotsPaginationResultDto extends general_dto_1.PaginationResultDto {
|
|
67
|
+
}
|
|
68
|
+
exports.SlotsPaginationResultDto = SlotsPaginationResultDto;
|
|
63
69
|
class CategoryPricesDto {
|
|
64
70
|
}
|
|
65
71
|
exports.CategoryPricesDto = CategoryPricesDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAOA,
|
|
1
|
+
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],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BC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAE/D;AAFD,0DAEC;AAED,MAAa,iBAAkB,SAAQ,sCAAmB;CAEzD;AAFD,8CAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,yBAAyB;CAYrC;AAZD,8DAYC;AAED,MAAa,iCACZ,SAAQ,mCAAqB;CAM7B;AAPD,8EAOC;AAED,MAAa,6BAA6B;CAoBzC;AApBD,sEAoBC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,WAAY,SAAQ,oBAAoB;CAEpD;AAFD,kCAEC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,sBAAuB,SAAQ,0BAA0B;CAErE;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,4BAA6B,SAAQ,uBAAuB;CAYxE;AAZD,oEAYC;AAED,MAAa,sBAAsB;CAkBlC;AAlBD,wDAkBC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,MAAa,4BAA4B;CAkBxC;AAlBD,oEAkBC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC"}
|
|
@@ -279,8 +279,8 @@ export interface ICartReservationOptions extends ICreateCartOptions {
|
|
|
279
279
|
includeResources?: boolean;
|
|
280
280
|
platform?: PlatformsEnum;
|
|
281
281
|
reservation?: DraftReservation;
|
|
282
|
-
targetGlobalPrice?: number;
|
|
283
282
|
skipUpdatePrices?: boolean;
|
|
283
|
+
targetGlobalPrice?: number;
|
|
284
284
|
updatePrices?: IUpdateCartPrices;
|
|
285
285
|
}
|
|
286
286
|
export interface IProductItems {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { PaginationResultDto } from "../../dto/general.dto";
|
|
1
2
|
import { AddonDto } from '../dto/addon.dto';
|
|
2
|
-
import { ReservationDto } from '../dto/reservation.dto';
|
|
3
|
+
import { ReservationDto, SlotsPaginationMetaDto } from '../dto/reservation.dto';
|
|
3
4
|
import { SegmentDto } from '../dto/segment.dto';
|
|
4
5
|
import { SeriesDto } from '../dto/series.dto';
|
|
5
6
|
import { SlotDto } from '../dto/slot.dto';
|
|
@@ -22,3 +23,6 @@ export type IDraftEntitySplitAmount = {
|
|
|
22
23
|
amount: number;
|
|
23
24
|
id: string;
|
|
24
25
|
};
|
|
26
|
+
export type TReservationSlotsPaginationResult = PaginationResultDto<Slot> & {
|
|
27
|
+
meta: SlotsPaginationMetaDto;
|
|
28
|
+
};
|
|
@@ -37,6 +37,18 @@ export declare class GetGroupsOptionsDto extends PaginatedSearchDto {
|
|
|
37
37
|
export declare class ByFolderIdsDto extends GetGroupsOptionsDto {
|
|
38
38
|
folderIds: number[];
|
|
39
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Options for the session-groups endpoints. Adds an optional `folderIds` filter
|
|
42
|
+
* so callers can restrict the returned groups to a specific set of folder IDs
|
|
43
|
+
* (e.g. to surface an invited team that would otherwise be paginated out).
|
|
44
|
+
*
|
|
45
|
+
* Defined as a separate class — not a property on `GetGroupsOptionsDto` —
|
|
46
|
+
* because `class-validator` merges decorator metadata down the prototype
|
|
47
|
+
* weaken `ByFolderIdsDto.folderIds` (which must remain required).
|
|
48
|
+
*/
|
|
49
|
+
export declare class GetSessionGroupsOptionsDto extends GetGroupsOptionsDto {
|
|
50
|
+
folderIds?: number[];
|
|
51
|
+
}
|
|
40
52
|
export declare class UsersIdsQueryDto {
|
|
41
53
|
userIds: number[];
|
|
42
54
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UsersIdsQueryDto = exports.ByFolderIdsDto = exports.GetGroupsOptionsDto = exports.BySessionIdAndUserIdDto = exports.BySessionIdDto = exports.FindSessionParticipantsOptionsDto = exports.SessionParticipantsOptionsDto = void 0;
|
|
3
|
+
exports.UsersIdsQueryDto = exports.GetSessionGroupsOptionsDto = exports.ByFolderIdsDto = exports.GetGroupsOptionsDto = exports.BySessionIdAndUserIdDto = exports.BySessionIdDto = exports.FindSessionParticipantsOptionsDto = exports.SessionParticipantsOptionsDto = 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
|
class SessionParticipantsOptionsDto {
|
|
@@ -21,6 +21,18 @@ exports.GetGroupsOptionsDto = GetGroupsOptionsDto;
|
|
|
21
21
|
class ByFolderIdsDto extends GetGroupsOptionsDto {
|
|
22
22
|
}
|
|
23
23
|
exports.ByFolderIdsDto = ByFolderIdsDto;
|
|
24
|
+
/**
|
|
25
|
+
* Options for the session-groups endpoints. Adds an optional `folderIds` filter
|
|
26
|
+
* so callers can restrict the returned groups to a specific set of folder IDs
|
|
27
|
+
* (e.g. to surface an invited team that would otherwise be paginated out).
|
|
28
|
+
*
|
|
29
|
+
* Defined as a separate class — not a property on `GetGroupsOptionsDto` —
|
|
30
|
+
* because `class-validator` merges decorator metadata down the prototype
|
|
31
|
+
* weaken `ByFolderIdsDto.folderIds` (which must remain required).
|
|
32
|
+
*/
|
|
33
|
+
class GetSessionGroupsOptionsDto extends GetGroupsOptionsDto {
|
|
34
|
+
}
|
|
35
|
+
exports.GetSessionGroupsOptionsDto = GetSessionGroupsOptionsDto;
|
|
24
36
|
class UsersIdsQueryDto {
|
|
25
37
|
}
|
|
26
38
|
exports.UsersIdsQueryDto = UsersIdsQueryDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.session.participant.dto.js","sourceRoot":"","sources":["../../../../src/types/session-participants/dto/get.session.participant.dto.ts"],"names":[],"mappings":";;;AACA,uDAAyG;AAEzG,8EAA8E;AAW9E,MAAa,6BAA6B;CAkBzC;AAlBD,sEAkBC;AAED,MAAa,iCAAkC,SAAQ,6BAA6B;CAOnF;AAPD,8EAOC;AAED,MAAa,cAAe,SAAQ,sCAAmB;CAEtD;AAFD,wCAEC;AAED,MAAa,uBAAwB,SAAQ,cAAc;CAE1D;AAFD,0DAEC;AAED,MAAa,mBAAoB,SAAQ,gCAAkB;CAY1D;AAZD,kDAYC;AAED,MAAa,cAAe,SAAQ,mBAAmB;CAEtD;AAFD,wCAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC"}
|
|
1
|
+
{"version":3,"file":"get.session.participant.dto.js","sourceRoot":"","sources":["../../../../src/types/session-participants/dto/get.session.participant.dto.ts"],"names":[],"mappings":";;;AACA,uDAAyG;AAEzG,8EAA8E;AAW9E,MAAa,6BAA6B;CAkBzC;AAlBD,sEAkBC;AAED,MAAa,iCAAkC,SAAQ,6BAA6B;CAOnF;AAPD,8EAOC;AAED,MAAa,cAAe,SAAQ,sCAAmB;CAEtD;AAFD,wCAEC;AAED,MAAa,uBAAwB,SAAQ,cAAc;CAE1D;AAFD,0DAEC;AAED,MAAa,mBAAoB,SAAQ,gCAAkB;CAY1D;AAZD,kDAYC;AAED,MAAa,cAAe,SAAQ,mBAAmB;CAEtD;AAFD,wCAEC;AAED;;;;;;;;GAQG;AACH,MAAa,0BAA2B,SAAQ,mBAAmB;CAElE;AAFD,gEAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC"}
|
|
@@ -27,3 +27,28 @@ export declare class SessionParticipantDto implements ISessionParticipant {
|
|
|
27
27
|
waiverSigned: boolean;
|
|
28
28
|
sessionId: number;
|
|
29
29
|
}
|
|
30
|
+
export declare class GroupParticipantDto {
|
|
31
|
+
folderContentId: number;
|
|
32
|
+
userId: number;
|
|
33
|
+
customerId: number;
|
|
34
|
+
firstName: string;
|
|
35
|
+
lastName: string;
|
|
36
|
+
email: string;
|
|
37
|
+
birthDate?: string;
|
|
38
|
+
gender?: GenderEnum;
|
|
39
|
+
paymentStatus: PaymentStatusEnum;
|
|
40
|
+
currentPaidAmount: number;
|
|
41
|
+
currentPaidCurrencies: CurrencyEnum[];
|
|
42
|
+
fullPrice: number;
|
|
43
|
+
waiverSigned: boolean;
|
|
44
|
+
registrationDate: string;
|
|
45
|
+
productNames: string[];
|
|
46
|
+
pictureUrl: string;
|
|
47
|
+
folderContentMetadata?: Record<string, unknown>;
|
|
48
|
+
}
|
|
49
|
+
export declare class GroupParticipantsDto {
|
|
50
|
+
groupId: number;
|
|
51
|
+
groupName: string;
|
|
52
|
+
groupMetaType?: MetaTypeEnum;
|
|
53
|
+
participants: GroupParticipantDto[];
|
|
54
|
+
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SessionParticipantDto = void 0;
|
|
3
|
+
exports.GroupParticipantsDto = exports.GroupParticipantDto = exports.SessionParticipantDto = void 0;
|
|
4
4
|
class SessionParticipantDto {
|
|
5
5
|
}
|
|
6
6
|
exports.SessionParticipantDto = SessionParticipantDto;
|
|
7
|
+
class GroupParticipantDto {
|
|
8
|
+
}
|
|
9
|
+
exports.GroupParticipantDto = GroupParticipantDto;
|
|
10
|
+
class GroupParticipantsDto {
|
|
11
|
+
}
|
|
12
|
+
exports.GroupParticipantsDto = GroupParticipantsDto;
|
|
7
13
|
//# sourceMappingURL=session.participant.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.participant.dto.js","sourceRoot":"","sources":["../../../../src/types/session-participants/dto/session.participant.dto.ts"],"names":[],"mappings":";;;AAMA,MAAa,qBAAqB;CA8CjC;AA9CD,sDA8CC"}
|
|
1
|
+
{"version":3,"file":"session.participant.dto.js","sourceRoot":"","sources":["../../../../src/types/session-participants/dto/session.participant.dto.ts"],"names":[],"mappings":";;;AAMA,MAAa,qBAAqB;CA8CjC;AA9CD,sDA8CC;AAED,MAAa,mBAAmB;CAkC/B;AAlCD,kDAkCC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC"}
|
|
@@ -2,7 +2,7 @@ import { FolderContent } from '../../folders/entities/folder-content.entity';
|
|
|
2
2
|
import { MetaTypeEnum } from '../../folders/types/folders.enums';
|
|
3
3
|
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
|
4
4
|
import { CurrencyEnum, GenderEnum } from '../../services/enums.service';
|
|
5
|
-
import { IRawSessionParticipant } from './interfaces';
|
|
5
|
+
import { IRawGroupParticipant, IRawSessionParticipant } from './interfaces';
|
|
6
6
|
export declare class RawSessionParticipant extends FolderContent implements IRawSessionParticipant {
|
|
7
7
|
id: number;
|
|
8
8
|
firstName?: string;
|
|
@@ -30,3 +30,25 @@ export declare class RawSessionParticipant extends FolderContent implements IRaw
|
|
|
30
30
|
lineItemIds?: number[];
|
|
31
31
|
paymentStatuses?: PaymentStatusEnum[];
|
|
32
32
|
}
|
|
33
|
+
export declare class RawGroupParticipant extends FolderContent implements IRawGroupParticipant {
|
|
34
|
+
folderContentId: number;
|
|
35
|
+
groupId: number;
|
|
36
|
+
groupName: string;
|
|
37
|
+
groupMetaType?: MetaTypeEnum;
|
|
38
|
+
folderContentMetadata?: Record<string, unknown>;
|
|
39
|
+
userId: number;
|
|
40
|
+
customerId: number;
|
|
41
|
+
email: string;
|
|
42
|
+
firstName: string;
|
|
43
|
+
lastName: string;
|
|
44
|
+
gender?: GenderEnum;
|
|
45
|
+
birthDate?: string;
|
|
46
|
+
currentPaidAmount?: number;
|
|
47
|
+
currentPaidCurrencies?: CurrencyEnum[];
|
|
48
|
+
fullPrice?: number;
|
|
49
|
+
lineItemIds?: number[];
|
|
50
|
+
pictureUrl?: string;
|
|
51
|
+
productNames?: string[];
|
|
52
|
+
registrationDate?: string;
|
|
53
|
+
waiverSignedDate?: string;
|
|
54
|
+
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RawSessionParticipant = void 0;
|
|
3
|
+
exports.RawGroupParticipant = exports.RawSessionParticipant = void 0;
|
|
4
4
|
const folder_content_entity_1 = require("../../folders/entities/folder-content.entity");
|
|
5
5
|
class RawSessionParticipant extends folder_content_entity_1.FolderContent {
|
|
6
6
|
}
|
|
7
7
|
exports.RawSessionParticipant = RawSessionParticipant;
|
|
8
|
+
class RawGroupParticipant extends folder_content_entity_1.FolderContent {
|
|
9
|
+
}
|
|
10
|
+
exports.RawGroupParticipant = RawGroupParticipant;
|
|
8
11
|
//# sourceMappingURL=classes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classes.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/classes.ts"],"names":[],"mappings":";;;AAEA,wFAA6E;AAO7E,MAAa,qBAAsB,SAAQ,qCAAa;CAkDvD;AAlDD,sDAkDC"}
|
|
1
|
+
{"version":3,"file":"classes.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/classes.ts"],"names":[],"mappings":";;;AAEA,wFAA6E;AAO7E,MAAa,qBAAsB,SAAQ,qCAAa;CAkDvD;AAlDD,sDAkDC;AAED,MAAa,mBAAoB,SAAQ,qCAAa;CAwCrD;AAxCD,kDAwCC"}
|
|
@@ -35,6 +35,7 @@ export interface ISessionParticipant {
|
|
|
35
35
|
waiverSigned?: boolean;
|
|
36
36
|
}
|
|
37
37
|
export interface IGroupFilters {
|
|
38
|
+
folderIds?: number[];
|
|
38
39
|
groupCategories?: string[];
|
|
39
40
|
includeAdditionalGroupFields?: boolean;
|
|
40
41
|
includeSubFolders?: boolean;
|
|
@@ -67,6 +68,28 @@ export interface IRawSessionParticipant {
|
|
|
67
68
|
registrationDate?: string;
|
|
68
69
|
waiverSignedDate?: string;
|
|
69
70
|
}
|
|
71
|
+
export interface IRawGroupParticipant {
|
|
72
|
+
customerId: number;
|
|
73
|
+
folderContentId: number;
|
|
74
|
+
groupId: number;
|
|
75
|
+
userId: number;
|
|
76
|
+
birthDate?: string;
|
|
77
|
+
currentPaidAmount?: number;
|
|
78
|
+
currentPaidCurrencies?: CurrencyEnum[];
|
|
79
|
+
email: string;
|
|
80
|
+
firstName: string;
|
|
81
|
+
folderContentMetadata?: Record<string, unknown>;
|
|
82
|
+
fullPrice?: number;
|
|
83
|
+
gender?: GenderEnum;
|
|
84
|
+
groupMetaType?: MetaTypeEnum;
|
|
85
|
+
groupName: string;
|
|
86
|
+
lastName: string;
|
|
87
|
+
lineItemIds?: number[];
|
|
88
|
+
pictureUrl?: string;
|
|
89
|
+
productNames?: string[];
|
|
90
|
+
registrationDate?: string;
|
|
91
|
+
waiverSignedDate?: string;
|
|
92
|
+
}
|
|
70
93
|
export interface ICreateSessionParticipant {
|
|
71
94
|
productUser?: ProductsUsers;
|
|
72
95
|
}
|
|
@@ -6,35 +6,35 @@ export interface IEventRosterRawAddon {
|
|
|
6
6
|
}
|
|
7
7
|
export interface IEventRosterAttendee {
|
|
8
8
|
userId: number;
|
|
9
|
-
|
|
10
|
-
lastName: string | null;
|
|
9
|
+
addOns: IEventRosterRawAddon[];
|
|
11
10
|
birthDate: string | null;
|
|
12
|
-
signedWaiver: string | null;
|
|
13
11
|
entryStatus: EntryStatusEnum | null;
|
|
12
|
+
firstName: string | null;
|
|
13
|
+
lastName: string | null;
|
|
14
|
+
leftPasses: number | null;
|
|
14
15
|
paymentStatus: PaymentStatusEnum | null;
|
|
15
|
-
|
|
16
|
+
signedWaiver: string | null;
|
|
16
17
|
teamName: string | null;
|
|
17
|
-
leftPasses: number | null;
|
|
18
18
|
totalPasses: number | null;
|
|
19
19
|
}
|
|
20
20
|
export interface IEventRosterOrganization {
|
|
21
21
|
name: string;
|
|
22
22
|
}
|
|
23
23
|
export interface IEventRosterEventInfo {
|
|
24
|
-
title: string;
|
|
25
|
-
startDate: Date | string;
|
|
26
24
|
endDate: Date | string;
|
|
27
|
-
startTime: string;
|
|
28
25
|
endTime: string;
|
|
29
26
|
resourceNames: string[];
|
|
27
|
+
startDate: Date | string;
|
|
28
|
+
startTime: string;
|
|
29
|
+
title: string;
|
|
30
30
|
}
|
|
31
31
|
export interface IEventRosterTemplateData {
|
|
32
|
-
organization: IEventRosterOrganization;
|
|
33
|
-
event: IEventRosterEventInfo;
|
|
34
32
|
attendees: IEventRosterAttendee[];
|
|
35
|
-
|
|
36
|
-
showTeamColumn: boolean;
|
|
37
|
-
showPassesLeftColumn: boolean;
|
|
33
|
+
event: IEventRosterEventInfo;
|
|
38
34
|
generatedAt: string;
|
|
39
35
|
generatedAtTimezone: string | null;
|
|
36
|
+
organization: IEventRosterOrganization;
|
|
37
|
+
showPassesLeftColumn: boolean;
|
|
38
|
+
showTeamColumn: boolean;
|
|
39
|
+
totalAttendees: number;
|
|
40
40
|
}
|