@bondsports/types 2.2.121 → 2.2.122
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/attendance/dto/attendance.dto.d.ts +4 -0
- package/dist/types/attendance/dto/attendance.dto.js +5 -1
- package/dist/types/attendance/dto/attendance.dto.js.map +1 -1
- package/dist/types/attendance/entities/Attendance.d.ts +4 -0
- package/dist/types/attendance/entities/Attendance.js.map +1 -1
- package/dist/types/attendance/types/attendance.enums.d.ts +2 -1
- package/dist/types/attendance/types/attendance.enums.js +1 -0
- package/dist/types/attendance/types/attendance.enums.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +15 -2
- package/dist/types/dto/events.dto.js +7 -1
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/entity/Events.d.ts +2 -0
- package/dist/types/entity/Events.js.map +1 -1
- package/dist/types/entity/Membership.d.ts +2 -0
- package/dist/types/entity/Membership.js.map +1 -1
- package/package.json +1 -1
@@ -1,6 +1,10 @@
|
|
1
1
|
import { AttendanceEntityTypeEnum, AttendanceSortByEnum } from '../types/attendance.enums';
|
2
2
|
import { PaginationQuery } from '../../dto/general.dto';
|
3
3
|
import { OrderByEnum } from '../../services/enums.service';
|
4
|
+
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
5
|
+
export declare class ByAttendanceAndOrganizationDto extends ByOrganizationIdDto {
|
6
|
+
attendanceId: number;
|
7
|
+
}
|
4
8
|
export declare class AttendanceDto {
|
5
9
|
userId: number;
|
6
10
|
checkinDate: Date;
|
@@ -1,9 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GetUserAttendanceQuery = exports.AttendanceCreateDto = exports.AttendanceDto = void 0;
|
3
|
+
exports.GetUserAttendanceQuery = exports.AttendanceCreateDto = exports.AttendanceDto = exports.ByAttendanceAndOrganizationDto = void 0;
|
4
4
|
const attendance_enums_1 = require("../types/attendance.enums");
|
5
5
|
const general_dto_1 = require("../../dto/general.dto");
|
6
6
|
const enums_service_1 = require("../../services/enums.service");
|
7
|
+
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
8
|
+
class ByAttendanceAndOrganizationDto extends organization_dto_1.ByOrganizationIdDto {
|
9
|
+
}
|
10
|
+
exports.ByAttendanceAndOrganizationDto = ByAttendanceAndOrganizationDto;
|
7
11
|
class AttendanceDto {
|
8
12
|
}
|
9
13
|
exports.AttendanceDto = AttendanceDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"attendance.dto.js","sourceRoot":"","sources":["../../../../src/types/attendance/dto/attendance.dto.ts"],"names":[],"mappings":";;;AAAA,gEAA2F;AAC3F,uDAAwD;AACxD,gEAA2D;
|
1
|
+
{"version":3,"file":"attendance.dto.js","sourceRoot":"","sources":["../../../../src/types/attendance/dto/attendance.dto.ts"],"names":[],"mappings":";;;AAAA,gEAA2F;AAC3F,uDAAwD;AACxD,gEAA2D;AAC3D,8EAA8E;AAE9E,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,aAAa;CAgBzB;AAhBD,sCAgBC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;IAA3D;;QACC,WAAM,GAAyB,uCAAoB,CAAC,YAAY,CAAC;QAEjE,UAAK,GAAgB,2BAAW,CAAC,IAAI,CAAC;IACvC,CAAC;CAAA;AAJD,wDAIC"}
|
@@ -2,12 +2,16 @@ import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
2
2
|
import { User } from '../../user/entities/User';
|
3
3
|
import { AttendanceEntityTypeEnum } from '../types/attendance.enums';
|
4
4
|
import { Organization } from '../../organization/entities/Organization';
|
5
|
+
import { Event } from '../../entity/Events';
|
6
|
+
import { Membership } from '../../entity/Membership';
|
5
7
|
export declare class Attendance extends BondBaseEntity {
|
6
8
|
userId: number;
|
7
9
|
user: User;
|
8
10
|
checkinDate: Date;
|
9
11
|
entityType: AttendanceEntityTypeEnum;
|
10
12
|
entityId: number;
|
13
|
+
event: Event;
|
14
|
+
membership: Membership;
|
11
15
|
organizationId: number;
|
12
16
|
organization: Organization;
|
13
17
|
requestingUserId: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Attendance.js","sourceRoot":"","sources":["../../../../src/types/attendance/entities/Attendance.ts"],"names":[],"mappings":";;;AAAA,gEAA6D;
|
1
|
+
{"version":3,"file":"Attendance.js","sourceRoot":"","sources":["../../../../src/types/attendance/entities/Attendance.ts"],"names":[],"mappings":";;;AAAA,gEAA6D;AAQ7D,MAAa,UAAW,SAAQ,+BAAc;CA0B7C;AA1BD,gCA0BC"}
|
@@ -4,6 +4,7 @@ exports.AttendanceSortByEnum = exports.AttendanceEntityTypeEnum = void 0;
|
|
4
4
|
var AttendanceEntityTypeEnum;
|
5
5
|
(function (AttendanceEntityTypeEnum) {
|
6
6
|
AttendanceEntityTypeEnum[AttendanceEntityTypeEnum["MEMBERSHIP"] = 1] = "MEMBERSHIP";
|
7
|
+
AttendanceEntityTypeEnum[AttendanceEntityTypeEnum["EVENT"] = 2] = "EVENT";
|
7
8
|
})(AttendanceEntityTypeEnum = exports.AttendanceEntityTypeEnum || (exports.AttendanceEntityTypeEnum = {}));
|
8
9
|
var AttendanceSortByEnum;
|
9
10
|
(function (AttendanceSortByEnum) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"attendance.enums.js","sourceRoot":"","sources":["../../../../src/types/attendance/types/attendance.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
1
|
+
{"version":3,"file":"attendance.enums.js","sourceRoot":"","sources":["../../../../src/types/attendance/types/attendance.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IACnC,mFAAc,CAAA;IACd,yEAAS,CAAA;AACV,CAAC,EAHW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAGnC;AAED,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC/B,oDAA4B,CAAA;AAC7B,CAAC,EAFW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAE/B"}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
|
2
2
|
import { MaintenanceDto } from '../reservations/dto/maintenance.dto';
|
3
3
|
import { Slot } from '../reservations/entities/slot.entity';
|
4
|
-
import { EntryStatusEnum, ProgramTypesEnum, RegistrationValidationStatusEnum } from '../services/enums.service';
|
4
|
+
import { EntryStatusEnum, OrderByEnum, ProgramTypesEnum, RegistrationValidationStatusEnum } from '../services/enums.service';
|
5
5
|
import { IBasicSpaceAndSlotCreator } from '../services/interfaces.service';
|
6
6
|
import { SimpleResourceDto } from '../resources/dto/resource.dto';
|
7
|
-
import { IdDto, PaginationRangeQuery } from './general.dto';
|
7
|
+
import { IdDto, PaginationQuery, PaginationRangeQuery } from './general.dto';
|
8
8
|
export declare class FindEventByIdDto {
|
9
9
|
eventId: number;
|
10
10
|
organizationId: number;
|
@@ -133,3 +133,16 @@ export declare class EventInScheduleDto {
|
|
133
133
|
spaces: SpaceDto[];
|
134
134
|
status?: RegistrationValidationStatusEnum;
|
135
135
|
}
|
136
|
+
export declare class EventWithAttendanceDto extends SimpleEventDto {
|
137
|
+
eventAttendees: SimpleAttendeeDto[];
|
138
|
+
}
|
139
|
+
export declare class GetUsersEventsQueryDto extends PaginationQuery {
|
140
|
+
startDateBefore?: string;
|
141
|
+
startDateAfter?: string;
|
142
|
+
endDateBefore?: string;
|
143
|
+
endDateAfter?: string;
|
144
|
+
eventType?: number;
|
145
|
+
includeFamily?: boolean;
|
146
|
+
sortColumn?: string;
|
147
|
+
sortOrder?: OrderByEnum;
|
148
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EventInScheduleDto = exports.SpaceDto = exports.SimpleAttendeeDto = exports.SimpleEventDto = exports.FindEventAttendeeOptionsDto = exports.ProgramSessionLandingPageDto = exports.ProgramLandingPageQueryDto = exports.ProgramLandingPageDto = exports.FacilityEventsScheduleQueryParams = exports.FindByFacilityIdAndOrganizationIdDto = exports.FindByFacilityIdDto = exports.EventsIdsQueryDto = exports.AddEventToSessionDto = exports.UpdateEventDto = exports.FindEventByIdDto = void 0;
|
3
|
+
exports.GetUsersEventsQueryDto = exports.EventWithAttendanceDto = exports.EventInScheduleDto = exports.SpaceDto = exports.SimpleAttendeeDto = exports.SimpleEventDto = exports.FindEventAttendeeOptionsDto = exports.ProgramSessionLandingPageDto = exports.ProgramLandingPageQueryDto = exports.ProgramLandingPageDto = exports.FacilityEventsScheduleQueryParams = exports.FindByFacilityIdAndOrganizationIdDto = exports.FindByFacilityIdDto = exports.EventsIdsQueryDto = exports.AddEventToSessionDto = exports.UpdateEventDto = exports.FindEventByIdDto = void 0;
|
4
4
|
const general_dto_1 = require("./general.dto");
|
5
5
|
class FindEventByIdDto {
|
6
6
|
}
|
@@ -47,4 +47,10 @@ exports.SpaceDto = SpaceDto;
|
|
47
47
|
class EventInScheduleDto {
|
48
48
|
}
|
49
49
|
exports.EventInScheduleDto = EventInScheduleDto;
|
50
|
+
class EventWithAttendanceDto extends SimpleEventDto {
|
51
|
+
}
|
52
|
+
exports.EventWithAttendanceDto = EventWithAttendanceDto;
|
53
|
+
class GetUsersEventsQueryDto extends general_dto_1.PaginationQuery {
|
54
|
+
}
|
55
|
+
exports.GetUsersEventsQueryDto = GetUsersEventsQueryDto;
|
50
56
|
//# sourceMappingURL=events.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAYA,+CAA6E;AAE7E,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CAsB1B;AAtBD,wCAsBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AACD,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAuCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,cAAe,SAAQ,mBAAK;CAgBxC;AAhBD,wCAgBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC;AAED,MAAa,QAAQ;CAIpB;AAJD,4BAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAEzD;AAFD,wDAEC;AACD,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
|
@@ -9,6 +9,7 @@ import { Slot } from '../reservations/entities/slot.entity';
|
|
9
9
|
import { PurchasedResource } from './PurchasedResources';
|
10
10
|
import { Program } from '../programs/entities/Program';
|
11
11
|
import { ColorCode } from './ColorCode';
|
12
|
+
import { Attendance } from '../attendance/entities/Attendance';
|
12
13
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
13
14
|
title: string | null;
|
14
15
|
description: string | null;
|
@@ -48,6 +49,7 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
48
49
|
gender: number | null;
|
49
50
|
questionnaireId: number | null;
|
50
51
|
eventAttendees: EventAttendee[];
|
52
|
+
attendance: Attendance[];
|
51
53
|
deletedAt?: Date;
|
52
54
|
spaces?: IBasicSpaceAndSlotCreator[];
|
53
55
|
startDateString: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Events.js","sourceRoot":"","sources":["../../../src/types/entity/Events.ts"],"names":[],"mappings":";;;AAEA,yFAAsF;
|
1
|
+
{"version":3,"file":"Events.js","sourceRoot":"","sources":["../../../src/types/entity/Events.ts"],"names":[],"mappings":";;;AAEA,yFAAsF;AAYtF,MAAa,KAAM,SAAQ,mEAAgC;CAkH1D;AAlHD,sBAkHC"}
|
@@ -4,6 +4,7 @@ import { IPackageResponse } from './../services/interfaces.service';
|
|
4
4
|
import { MembershipMember } from './MembershipMember';
|
5
5
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
6
6
|
import { PurchasedResource } from './PurchasedResources';
|
7
|
+
import { Attendance } from '../attendance/entities/Attendance';
|
7
8
|
export declare class Membership extends OrganizationConnectionBaseEntity {
|
8
9
|
name: string;
|
9
10
|
description?: string;
|
@@ -33,4 +34,5 @@ export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
33
34
|
members: MembershipMember[];
|
34
35
|
purchasedResources: PurchasedResource[];
|
35
36
|
relatedProductsIds?: number[];
|
37
|
+
attendance: Attendance[];
|
36
38
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Membership.js","sourceRoot":"","sources":["../../../src/types/entity/Membership.ts"],"names":[],"mappings":";;;AAKA,yFAAsF;
|
1
|
+
{"version":3,"file":"Membership.js","sourceRoot":"","sources":["../../../src/types/entity/Membership.ts"],"names":[],"mappings":";;;AAKA,yFAAsF;AAItF,MAAa,UAAW,SAAQ,mEAAgC;IAAhE;;QA8CC,gCAAgC;QAChC,SAAI,GAAG,EAAE,CAAC;IAeX,CAAC;CAAA;AA9DD,gCA8DC"}
|