@bondsports/types 2.5.6 → 2.5.7-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/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/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/entity/Customer.d.ts +3 -0
- package/dist/types/entity/Customer.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/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/membership/entities/membership.entity.d.ts +2 -0
- package/dist/types/membership/entities/membership.entity.js.map +1 -1
- package/dist/types/notifications/dto/notification.create.dto.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-seasons/dto/program-session.dto.d.ts +3 -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 +8 -2
- package/dist/types/purchase/dto/purchase.dto.js +9 -2
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- 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/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 +1 -0
- package/dist/types/services/enums.service.js +7 -2
- 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
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./attendance.dto"), exports);
|
|
18
|
+
__exportStar(require("./organization-attendance.dto"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/attendance/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/attendance/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,gEAA8C"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PaginationSearchQuery } from '../../dto/general.dto';
|
|
2
|
+
import { OrderByEnum } from '../../services/enums.service';
|
|
3
|
+
import { AttendanceEntityTypeEnum, OrganizationAttendanceOrderByEnum } from '../types/attendance.enums';
|
|
4
|
+
export declare class GetOrganizationAttendanceQueryDto extends PaginationSearchQuery<OrganizationAttendanceOrderByEnum> {
|
|
5
|
+
entityTypes?: AttendanceEntityTypeEnum[];
|
|
6
|
+
facilitiesIds?: number[];
|
|
7
|
+
checkinDateFrom?: Date;
|
|
8
|
+
checkinDateTo?: Date;
|
|
9
|
+
orderBy?: OrganizationAttendanceOrderByEnum;
|
|
10
|
+
order?: OrderByEnum;
|
|
11
|
+
}
|
|
12
|
+
export declare class OrganizationAttendanceDto {
|
|
13
|
+
id: number;
|
|
14
|
+
customerId?: number;
|
|
15
|
+
customerName?: string;
|
|
16
|
+
customerEmail?: string;
|
|
17
|
+
checkinDate: Date;
|
|
18
|
+
entityType: AttendanceEntityTypeEnum;
|
|
19
|
+
entityId: number;
|
|
20
|
+
entityName?: string;
|
|
21
|
+
facilityName?: string;
|
|
22
|
+
requestingUserName?: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrganizationAttendanceDto = exports.GetOrganizationAttendanceQueryDto = void 0;
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
5
|
+
const enums_service_1 = require("../../services/enums.service");
|
|
6
|
+
const attendance_enums_1 = require("../types/attendance.enums");
|
|
7
|
+
class GetOrganizationAttendanceQueryDto extends general_dto_1.PaginationSearchQuery {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this.orderBy = attendance_enums_1.OrganizationAttendanceOrderByEnum.CHECKIN_DATE;
|
|
11
|
+
this.order = enums_service_1.OrderByEnum.DESC;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.GetOrganizationAttendanceQueryDto = GetOrganizationAttendanceQueryDto;
|
|
15
|
+
class OrganizationAttendanceDto {
|
|
16
|
+
}
|
|
17
|
+
exports.OrganizationAttendanceDto = OrganizationAttendanceDto;
|
|
18
|
+
//# sourceMappingURL=organization-attendance.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization-attendance.dto.js","sourceRoot":"","sources":["../../../../src/types/attendance/dto/organization-attendance.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8D;AAE9D,gEAA2D;AAC3D,gEAAwG;AAExG,MAAa,iCAAkC,SAAQ,mCAAwD;IAA/G;;QASC,YAAO,GAAuC,oDAAiC,CAAC,YAAY,CAAC;QAE7F,UAAK,GAAiB,2BAAW,CAAC,IAAI,CAAC;IACxC,CAAC;CAAA;AAZD,8EAYC;AAED,MAAa,yBAAyB;CAoBrC;AApBD,8DAoBC"}
|
|
@@ -5,3 +5,11 @@ export declare enum AttendanceEntityTypeEnum {
|
|
|
5
5
|
export declare enum AttendanceSortByEnum {
|
|
6
6
|
CHECKIN_DATE = "checkinDate"
|
|
7
7
|
}
|
|
8
|
+
export declare enum OrganizationAttendanceOrderByEnum {
|
|
9
|
+
CUSTOMER_NAME = "customerName",
|
|
10
|
+
CUSTOMER_EMAIL = "customerEmail",
|
|
11
|
+
CHECKIN_DATE = "checkinDate",
|
|
12
|
+
ENTITY_TYPE = "entityType",
|
|
13
|
+
ENTITY_NAME = "entityName",
|
|
14
|
+
REQUESTING_USER_NAME = "requestingUserName"
|
|
15
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AttendanceSortByEnum = exports.AttendanceEntityTypeEnum = void 0;
|
|
3
|
+
exports.OrganizationAttendanceOrderByEnum = exports.AttendanceSortByEnum = exports.AttendanceEntityTypeEnum = void 0;
|
|
4
4
|
var AttendanceEntityTypeEnum;
|
|
5
5
|
(function (AttendanceEntityTypeEnum) {
|
|
6
6
|
AttendanceEntityTypeEnum[AttendanceEntityTypeEnum["MEMBERSHIP"] = 1] = "MEMBERSHIP";
|
|
@@ -10,4 +10,13 @@ var AttendanceSortByEnum;
|
|
|
10
10
|
(function (AttendanceSortByEnum) {
|
|
11
11
|
AttendanceSortByEnum["CHECKIN_DATE"] = "checkinDate";
|
|
12
12
|
})(AttendanceSortByEnum = exports.AttendanceSortByEnum || (exports.AttendanceSortByEnum = {}));
|
|
13
|
+
var OrganizationAttendanceOrderByEnum;
|
|
14
|
+
(function (OrganizationAttendanceOrderByEnum) {
|
|
15
|
+
OrganizationAttendanceOrderByEnum["CUSTOMER_NAME"] = "customerName";
|
|
16
|
+
OrganizationAttendanceOrderByEnum["CUSTOMER_EMAIL"] = "customerEmail";
|
|
17
|
+
OrganizationAttendanceOrderByEnum["CHECKIN_DATE"] = "checkinDate";
|
|
18
|
+
OrganizationAttendanceOrderByEnum["ENTITY_TYPE"] = "entityType";
|
|
19
|
+
OrganizationAttendanceOrderByEnum["ENTITY_NAME"] = "entityName";
|
|
20
|
+
OrganizationAttendanceOrderByEnum["REQUESTING_USER_NAME"] = "requestingUserName";
|
|
21
|
+
})(OrganizationAttendanceOrderByEnum = exports.OrganizationAttendanceOrderByEnum || (exports.OrganizationAttendanceOrderByEnum = {}));
|
|
13
22
|
//# sourceMappingURL=attendance.enums.js.map
|
|
@@ -1 +1 @@
|
|
|
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
|
+
{"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;AAED,IAAY,iCAOX;AAPD,WAAY,iCAAiC;IAC5C,mEAA8B,CAAA;IAC9B,qEAAgC,CAAA;IAChC,iEAA4B,CAAA;IAC5B,+DAA0B,CAAA;IAC1B,+DAA0B,CAAA;IAC1B,gFAA2C,CAAA;AAC5C,CAAC,EAPW,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QAO5C"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./attendance.enums"), exports);
|
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/attendance/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/attendance/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,+CAA6B"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { EntityManager, SelectQueryBuilder } from 'typeorm';
|
|
2
|
+
import { EventAttendee } from '../../../entity/EventAttendees';
|
|
3
|
+
import { OrderByEnum } from '../../../services/enums.service';
|
|
4
|
+
import { GetOrganizationAttendanceQueryDto } from '../../dto/organization-attendance.dto';
|
|
5
|
+
import { OrganizationAttendanceOrderByEnum } from '../attendance.enums';
|
|
6
|
+
export interface IOrganizationAttendanceFilters extends GetOrganizationAttendanceQueryDto {
|
|
7
|
+
userIds?: number[];
|
|
8
|
+
}
|
|
9
|
+
export interface IOrganizationAttendanceRow {
|
|
10
|
+
id: number | string;
|
|
11
|
+
customerId?: number | string | null;
|
|
12
|
+
customerName?: string | null;
|
|
13
|
+
customerEmail?: string | null;
|
|
14
|
+
checkinDate: Date | string;
|
|
15
|
+
entityType: number | string;
|
|
16
|
+
entityId: number | string;
|
|
17
|
+
entityName?: string | null;
|
|
18
|
+
facilityName?: string | null;
|
|
19
|
+
requestingUserName?: string | null;
|
|
20
|
+
}
|
|
21
|
+
export interface ICreateOrganizationAttendanceQueryParams {
|
|
22
|
+
organizationId: number;
|
|
23
|
+
filters: IOrganizationAttendanceFilters;
|
|
24
|
+
manager: EntityManager;
|
|
25
|
+
}
|
|
26
|
+
export interface IOrganizationAttendanceFilterQuery {
|
|
27
|
+
andWhere: SelectQueryBuilder<IOrganizationAttendanceRow>['andWhere'];
|
|
28
|
+
setParameter: SelectQueryBuilder<IOrganizationAttendanceRow>['setParameter'];
|
|
29
|
+
}
|
|
30
|
+
export interface IApplyOrganizationAttendanceOrderParams {
|
|
31
|
+
order: OrderByEnum;
|
|
32
|
+
orderBy: OrganizationAttendanceOrderByEnum;
|
|
33
|
+
query: SelectQueryBuilder<IOrganizationAttendanceRow>;
|
|
34
|
+
}
|
|
35
|
+
export interface ISelectOrganizationAttendancePageParams {
|
|
36
|
+
organizationId: number;
|
|
37
|
+
filters: IOrganizationAttendanceFilters;
|
|
38
|
+
manager: EntityManager;
|
|
39
|
+
order: OrderByEnum;
|
|
40
|
+
orderBy: OrganizationAttendanceOrderByEnum;
|
|
41
|
+
}
|
|
42
|
+
export interface ISyncAttendanceForBackwardsCompatibilityParams {
|
|
43
|
+
organizationId: number;
|
|
44
|
+
requestingUserId?: number;
|
|
45
|
+
eventAttendee: EventAttendee;
|
|
46
|
+
}
|
|
47
|
+
export interface ISyncAttendancesForBackwardsCompatibilityParams {
|
|
48
|
+
organizationId: number;
|
|
49
|
+
requestingUserId?: number;
|
|
50
|
+
eventAttendees: EventAttendee[];
|
|
51
|
+
}
|
|
52
|
+
export interface IGetOrganizationAttendanceParams {
|
|
53
|
+
organizationId: number;
|
|
54
|
+
requestUserId: number;
|
|
55
|
+
filters: GetOrganizationAttendanceQueryDto;
|
|
56
|
+
userIds?: number[];
|
|
57
|
+
}
|
|
58
|
+
export interface IGetAttendanceForCustomerParams {
|
|
59
|
+
organizationId: number;
|
|
60
|
+
customerId: number;
|
|
61
|
+
requestUserId: number;
|
|
62
|
+
filters: GetOrganizationAttendanceQueryDto;
|
|
63
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attendance.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/attendance/types/interfaces/attendance.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './attendance.interfaces';
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./attendance.interfaces"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/attendance/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|
|
@@ -1,8 +1,34 @@
|
|
|
1
|
+
import { BasePurchaseResourceDto } from '../../purchase/dto/purchase.dto';
|
|
1
2
|
import { TimeSlotDto } from '../../reservations/dto/slot.dto';
|
|
2
|
-
import { CartItemDto } from './cart-item.dto';
|
|
3
|
+
import { BaseAddCartItemDto, BaseCartItemDto, CartItemDto } from './cart-item.dto';
|
|
4
|
+
/**
|
|
5
|
+
* Consumer resource selection. Extends the shared base so public create cannot pin revenue
|
|
6
|
+
* attribution or payout destination through `resources[]` after item-level `facilityId` is rejected.
|
|
7
|
+
*/
|
|
8
|
+
export declare class PublicPurchaseResourceDto extends BasePurchaseResourceDto {
|
|
9
|
+
}
|
|
3
10
|
export declare class PublicCartItemDto extends CartItemDto {
|
|
4
11
|
children?: PublicCartItemDto[];
|
|
5
12
|
slots?: TimeSlotDto[];
|
|
6
13
|
downpayment?: number;
|
|
7
14
|
requiredProductIds?: number[];
|
|
8
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* Consumer-safe add-cart-item request. Extends the shared consumer-safe base so the public surface
|
|
18
|
+
* never exposes backoffice-only `unitPrice` or item-level `facilityId`. Resources use
|
|
19
|
+
* `PublicPurchaseResourceDto` (shared base, no `facilityId`). Participant `userId` is kept
|
|
20
|
+
* (family-member registration) and validated against the cart owner's family server-side. Children
|
|
21
|
+
* recurse into the same public shape so nested add-ons cannot smuggle those fields either.
|
|
22
|
+
*/
|
|
23
|
+
export declare class PublicAddCartItemDto extends BaseAddCartItemDto {
|
|
24
|
+
resources?: PublicPurchaseResourceDto[];
|
|
25
|
+
children?: PublicAddCartItemDto[];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Consumer-safe cart-item update. Same writable fields as backoffice update except resources
|
|
29
|
+
* cannot carry a client-supplied `facilityId`.
|
|
30
|
+
*/
|
|
31
|
+
export declare class PublicUpdateCartItemDto extends BaseCartItemDto {
|
|
32
|
+
id: number;
|
|
33
|
+
resources?: PublicPurchaseResourceDto[];
|
|
34
|
+
}
|
|
@@ -1,8 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PublicCartItemDto = void 0;
|
|
3
|
+
exports.PublicUpdateCartItemDto = exports.PublicAddCartItemDto = exports.PublicCartItemDto = exports.PublicPurchaseResourceDto = void 0;
|
|
4
|
+
const purchase_dto_1 = require("../../purchase/dto/purchase.dto");
|
|
4
5
|
const cart_item_dto_1 = require("./cart-item.dto");
|
|
6
|
+
/**
|
|
7
|
+
* Consumer resource selection. Extends the shared base so public create cannot pin revenue
|
|
8
|
+
* attribution or payout destination through `resources[]` after item-level `facilityId` is rejected.
|
|
9
|
+
*/
|
|
10
|
+
class PublicPurchaseResourceDto extends purchase_dto_1.BasePurchaseResourceDto {
|
|
11
|
+
}
|
|
12
|
+
exports.PublicPurchaseResourceDto = PublicPurchaseResourceDto;
|
|
5
13
|
class PublicCartItemDto extends cart_item_dto_1.CartItemDto {
|
|
6
14
|
}
|
|
7
15
|
exports.PublicCartItemDto = PublicCartItemDto;
|
|
16
|
+
/**
|
|
17
|
+
* Consumer-safe add-cart-item request. Extends the shared consumer-safe base so the public surface
|
|
18
|
+
* never exposes backoffice-only `unitPrice` or item-level `facilityId`. Resources use
|
|
19
|
+
* `PublicPurchaseResourceDto` (shared base, no `facilityId`). Participant `userId` is kept
|
|
20
|
+
* (family-member registration) and validated against the cart owner's family server-side. Children
|
|
21
|
+
* recurse into the same public shape so nested add-ons cannot smuggle those fields either.
|
|
22
|
+
*/
|
|
23
|
+
class PublicAddCartItemDto extends cart_item_dto_1.BaseAddCartItemDto {
|
|
24
|
+
}
|
|
25
|
+
exports.PublicAddCartItemDto = PublicAddCartItemDto;
|
|
26
|
+
/**
|
|
27
|
+
* Consumer-safe cart-item update. Same writable fields as backoffice update except resources
|
|
28
|
+
* cannot carry a client-supplied `facilityId`.
|
|
29
|
+
*/
|
|
30
|
+
class PublicUpdateCartItemDto extends cart_item_dto_1.BaseCartItemDto {
|
|
31
|
+
}
|
|
32
|
+
exports.PublicUpdateCartItemDto = PublicUpdateCartItemDto;
|
|
8
33
|
//# sourceMappingURL=cart-item-public.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-item-public.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item-public.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"cart-item-public.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item-public.dto.ts"],"names":[],"mappings":";;;AACA,kEAA0E;AAQ1E,mDAAmF;AAEnF;;;GAGG;AACH,MAAa,yBAA0B,SAAQ,sCAAuB;CAAG;AAAzE,8DAAyE;AAEzE,MAAa,iBAAkB,SAAQ,2BAAW;CAQjD;AARD,8CAQC;AAED;;;;;;GAMG;AACH,MAAa,oBAAqB,SAAQ,kCAAkB;CAI3D;AAJD,oDAIC;AAED;;;GAGG;AACH,MAAa,uBAAwB,SAAQ,+BAAe;CAI3D;AAJD,0DAIC"}
|
|
@@ -69,20 +69,34 @@ export declare class CartItemDto extends SimpleCartItemDto {
|
|
|
69
69
|
parentResourceId?: string;
|
|
70
70
|
metadata?: CartItemMetadataDto;
|
|
71
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* Fields common to add and update cart-item requests. Participant `userId` lives here because both the
|
|
74
|
+
* public program add and update flows register family members: it is participant data (validated against
|
|
75
|
+
* the cart owner's family by ValidateCartService), never a cart-ownership boundary — ownership is always
|
|
76
|
+
* pinned to the JWT user server-side.
|
|
77
|
+
*/
|
|
72
78
|
export declare class BaseCartItemDto {
|
|
73
79
|
quantity?: number;
|
|
74
|
-
userId?: number;
|
|
75
80
|
resources?: PurchaseResourceDto[];
|
|
81
|
+
userId?: number;
|
|
76
82
|
}
|
|
77
83
|
export declare class UpdateCartItemDto extends BaseCartItemDto {
|
|
78
84
|
id: number;
|
|
79
85
|
}
|
|
80
|
-
|
|
86
|
+
/**
|
|
87
|
+
* Consumer-safe add-cart-item fields shared by the public and backoffice surfaces. Server-authoritative
|
|
88
|
+
* pricing (`unitPrice`) and revenue attribution (`facilityId`) are backoffice-only concerns and live on
|
|
89
|
+
* AddCartItemDto, not here, so they can never be set from the public (consumer) surface which extends
|
|
90
|
+
* this base. Participant `userId` is inherited from BaseCartItemDto and is safe on the public surface.
|
|
91
|
+
*/
|
|
92
|
+
export declare class BaseAddCartItemDto extends BaseCartItemDto {
|
|
81
93
|
productId: number;
|
|
82
|
-
unitPrice?: number;
|
|
83
|
-
facilityId?: number;
|
|
84
94
|
parentResourceType?: ResourceNameTypeEnum;
|
|
85
95
|
parentResourceId?: string;
|
|
96
|
+
}
|
|
97
|
+
export declare class AddCartItemDto extends BaseAddCartItemDto {
|
|
98
|
+
unitPrice?: number;
|
|
99
|
+
facilityId?: number;
|
|
86
100
|
children?: AddCartItemDto[];
|
|
87
101
|
isWaitlist?: boolean;
|
|
88
102
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AddCartItemDto = exports.UpdateCartItemDto = exports.BaseCartItemDto = exports.CartItemDto = exports.SimpleCartItemDto = exports.CartItemMetadataDto = exports.ParentResourceDto = exports.CartDiscountDto = exports.CartTaxDto = void 0;
|
|
3
|
+
exports.AddCartItemDto = exports.BaseAddCartItemDto = exports.UpdateCartItemDto = exports.BaseCartItemDto = exports.CartItemDto = exports.SimpleCartItemDto = exports.CartItemMetadataDto = exports.ParentResourceDto = exports.CartDiscountDto = exports.CartTaxDto = void 0;
|
|
4
4
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
5
5
|
class CartTaxDto extends organization_dto_1.OrganizationBaseEntityDto {
|
|
6
6
|
}
|
|
@@ -20,13 +20,28 @@ exports.SimpleCartItemDto = SimpleCartItemDto;
|
|
|
20
20
|
class CartItemDto extends SimpleCartItemDto {
|
|
21
21
|
}
|
|
22
22
|
exports.CartItemDto = CartItemDto;
|
|
23
|
+
/**
|
|
24
|
+
* Fields common to add and update cart-item requests. Participant `userId` lives here because both the
|
|
25
|
+
* public program add and update flows register family members: it is participant data (validated against
|
|
26
|
+
* the cart owner's family by ValidateCartService), never a cart-ownership boundary — ownership is always
|
|
27
|
+
* pinned to the JWT user server-side.
|
|
28
|
+
*/
|
|
23
29
|
class BaseCartItemDto {
|
|
24
30
|
}
|
|
25
31
|
exports.BaseCartItemDto = BaseCartItemDto;
|
|
26
32
|
class UpdateCartItemDto extends BaseCartItemDto {
|
|
27
33
|
}
|
|
28
34
|
exports.UpdateCartItemDto = UpdateCartItemDto;
|
|
29
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Consumer-safe add-cart-item fields shared by the public and backoffice surfaces. Server-authoritative
|
|
37
|
+
* pricing (`unitPrice`) and revenue attribution (`facilityId`) are backoffice-only concerns and live on
|
|
38
|
+
* AddCartItemDto, not here, so they can never be set from the public (consumer) surface which extends
|
|
39
|
+
* this base. Participant `userId` is inherited from BaseCartItemDto and is safe on the public surface.
|
|
40
|
+
*/
|
|
41
|
+
class BaseAddCartItemDto extends BaseCartItemDto {
|
|
42
|
+
}
|
|
43
|
+
exports.BaseAddCartItemDto = BaseAddCartItemDto;
|
|
44
|
+
class AddCartItemDto extends BaseAddCartItemDto {
|
|
30
45
|
}
|
|
31
46
|
exports.AddCartItemDto = AddCartItemDto;
|
|
32
47
|
//# sourceMappingURL=cart-item.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;AAEA,8EAAoF;
|
|
1
|
+
{"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;AAEA,8EAAoF;AAgBpF,MAAa,UAAW,SAAQ,4CAAyB;CAYxD;AAZD,gCAYC;AAED,MAAa,eAAgB,SAAQ,4CAAyB;CAsB7D;AAtBD,0CAsBC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAkB,SAAQ,4CAAyB;CAI/D;AAJD,8CAIC;AAED,MAAa,WAAY,SAAQ,iBAAiB;CA8CjD;AA9CD,kCA8CC;AAED;;;;;GAKG;AACH,MAAa,eAAe;CAO3B;AAPD,0CAOC;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAGrD;AAHD,8CAGC;AAED;;;;;GAKG;AACH,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAQrD;AARD,wCAQC"}
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
import { CartPurchaseTypeEnum } from '../types/enums/cart.enums';
|
|
2
|
-
import { PublicCartItemDto } from './cart-item-public.dto';
|
|
2
|
+
import { PublicAddCartItemDto, PublicCartItemDto, PublicUpdateCartItemDto } from './cart-item-public.dto';
|
|
3
3
|
import { CartPricesDto, OrganizationCartDto } from './cart.dto';
|
|
4
|
+
export declare class PublicCreateCartDto {
|
|
5
|
+
cartItems: PublicAddCartItemDto[];
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Consumer-safe add-cart-items request. Mirrors the backoffice AddCartItemsDto contract
|
|
9
|
+
* (non-empty, bounded array, total node budget) but nests the consumer-safe PublicAddCartItemDto
|
|
10
|
+
* so the public add-item surface never accepts the backoffice-only fields (`unitPrice`, `facilityId`).
|
|
11
|
+
*/
|
|
12
|
+
export declare class PublicAddCartItemsDto {
|
|
13
|
+
cartItems: PublicAddCartItemDto[];
|
|
14
|
+
}
|
|
15
|
+
export declare class PublicUpdateCartItemsDto {
|
|
16
|
+
cartItems: PublicUpdateCartItemDto[];
|
|
17
|
+
}
|
|
4
18
|
export declare class PublicOrganizationCartDto extends OrganizationCartDto {
|
|
5
19
|
prices: CartPricesDto[];
|
|
6
20
|
purchaseType?: CartPurchaseTypeEnum;
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PublicOrganizationCartDto = void 0;
|
|
3
|
+
exports.PublicOrganizationCartDto = exports.PublicUpdateCartItemsDto = exports.PublicAddCartItemsDto = exports.PublicCreateCartDto = void 0;
|
|
4
4
|
const cart_dto_1 = require("./cart.dto");
|
|
5
|
+
class PublicCreateCartDto {
|
|
6
|
+
}
|
|
7
|
+
exports.PublicCreateCartDto = PublicCreateCartDto;
|
|
8
|
+
/**
|
|
9
|
+
* Consumer-safe add-cart-items request. Mirrors the backoffice AddCartItemsDto contract
|
|
10
|
+
* (non-empty, bounded array, total node budget) but nests the consumer-safe PublicAddCartItemDto
|
|
11
|
+
* so the public add-item surface never accepts the backoffice-only fields (`unitPrice`, `facilityId`).
|
|
12
|
+
*/
|
|
13
|
+
class PublicAddCartItemsDto {
|
|
14
|
+
}
|
|
15
|
+
exports.PublicAddCartItemsDto = PublicAddCartItemsDto;
|
|
16
|
+
class PublicUpdateCartItemsDto {
|
|
17
|
+
}
|
|
18
|
+
exports.PublicUpdateCartItemsDto = PublicUpdateCartItemsDto;
|
|
5
19
|
class PublicOrganizationCartDto extends cart_dto_1.OrganizationCartDto {
|
|
6
20
|
}
|
|
7
21
|
exports.PublicOrganizationCartDto = PublicOrganizationCartDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-public.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-public.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"cart-public.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-public.dto.ts"],"names":[],"mappings":";;;AAKA,yCAAgE;AAEhE,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED;;;;GAIG;AACH,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,yBAA0B,SAAQ,8BAAmB;CAUjE;AAVD,8DAUC"}
|
|
@@ -51,6 +51,10 @@ export declare class CartPricesDto {
|
|
|
51
51
|
}
|
|
52
52
|
export declare class OrganizationCartDto extends CartDto {
|
|
53
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* Backoffice cart update body. Public create does not extend this: currency is pinned from the
|
|
56
|
+
* organization and answers are untrusted on the consumer surface.
|
|
57
|
+
*/
|
|
54
58
|
export declare class UpdateCartDto {
|
|
55
59
|
ownerId?: number | null;
|
|
56
60
|
replaceWithPrimaryUser?: boolean;
|
|
@@ -16,6 +16,10 @@ exports.CartPricesDto = CartPricesDto;
|
|
|
16
16
|
class OrganizationCartDto extends CartDto {
|
|
17
17
|
}
|
|
18
18
|
exports.OrganizationCartDto = OrganizationCartDto;
|
|
19
|
+
/**
|
|
20
|
+
* Backoffice cart update body. Public create does not extend this: currency is pinned from the
|
|
21
|
+
* organization and answers are untrusted on the consumer surface.
|
|
22
|
+
*/
|
|
19
23
|
class UpdateCartDto {
|
|
20
24
|
}
|
|
21
25
|
exports.UpdateCartDto = UpdateCartDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;AAKA,uDAAwD;AACxD,8EAAyG;AAWzG,sDAAkF;
|
|
1
|
+
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;AAKA,uDAAwD;AACxD,8EAAyG;AAWzG,sDAAkF;AAYlF,MAAa,aAAc,SAAQ,4CAAyB;CAQ3D;AARD,sCAQC;AAED,MAAa,OAAQ,SAAQ,aAAa;CAwCzC;AAxCD,0BAwCC;AAED,MAAa,aAAa;CAgBzB;AAhBD,sCAgBC;AAED,MAAa,mBAAoB,SAAQ,OAAO;CAAG;AAAnD,kDAAmD;AAEnD;;;GAGG;AACH,MAAa,aAAa;CASzB;AATD,sCASC;AAED,MAAa,aAAc,SAAQ,aAAa;CAM/C;AAND,sCAMC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,aAAc,SAAQ,mCAAwB;CAE1D;AAFD,sCAEC;AAED,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,yBAA0B,SAAQ,qBAAqB;CAEnE;AAFD,8DAEC;AAED,MAAa,uBAAuB;CAMnC;AAND,0DAMC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAQtD;AARD,gDAQC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,qBAAqB;CAkCjC;AAlCD,sDAkCC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,oBAAoB;CAkBhC;AAlBD,oDAkBC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAAG;AAAnE,wDAAmE;AAEnE,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { ResourceNameTypeEnum } from '../../../services/enums.service';
|
|
2
|
+
export declare const PUBLIC_CREATE_CART_EXAMPLES: {
|
|
3
|
+
cartWithProduct: {
|
|
4
|
+
summary: string;
|
|
5
|
+
value: {
|
|
6
|
+
cartItems: {
|
|
7
|
+
productId: number;
|
|
8
|
+
quantity: number;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
cartWithMembership: {
|
|
13
|
+
summary: string;
|
|
14
|
+
value: {
|
|
15
|
+
cartItems: {
|
|
16
|
+
productId: number;
|
|
17
|
+
quantity: number;
|
|
18
|
+
userId: number;
|
|
19
|
+
resources: {
|
|
20
|
+
id: number;
|
|
21
|
+
type: ResourceNameTypeEnum;
|
|
22
|
+
}[];
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare const PUBLIC_ADD_CART_ITEMS_EXAMPLES: {
|
|
28
|
+
membership: {
|
|
29
|
+
summary: string;
|
|
30
|
+
value: {
|
|
31
|
+
cartItems: {
|
|
32
|
+
productId: number;
|
|
33
|
+
quantity: number;
|
|
34
|
+
userId: number;
|
|
35
|
+
resources: {
|
|
36
|
+
id: number;
|
|
37
|
+
type: ResourceNameTypeEnum;
|
|
38
|
+
}[];
|
|
39
|
+
}[];
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
familyMemberProgramRegistration: {
|
|
43
|
+
summary: string;
|
|
44
|
+
value: {
|
|
45
|
+
cartItems: {
|
|
46
|
+
productId: number;
|
|
47
|
+
quantity: number;
|
|
48
|
+
userId: number;
|
|
49
|
+
resources: {
|
|
50
|
+
id: number;
|
|
51
|
+
type: ResourceNameTypeEnum;
|
|
52
|
+
}[];
|
|
53
|
+
parentResourceType: ResourceNameTypeEnum;
|
|
54
|
+
parentResourceId: string;
|
|
55
|
+
}[];
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
programWithAddOn: {
|
|
59
|
+
summary: string;
|
|
60
|
+
value: {
|
|
61
|
+
cartItems: {
|
|
62
|
+
productId: number;
|
|
63
|
+
quantity: number;
|
|
64
|
+
userId: number;
|
|
65
|
+
resources: {
|
|
66
|
+
id: number;
|
|
67
|
+
type: ResourceNameTypeEnum;
|
|
68
|
+
}[];
|
|
69
|
+
parentResourceType: ResourceNameTypeEnum;
|
|
70
|
+
parentResourceId: string;
|
|
71
|
+
children: {
|
|
72
|
+
productId: number;
|
|
73
|
+
quantity: number;
|
|
74
|
+
userId: number;
|
|
75
|
+
resources: any[];
|
|
76
|
+
}[];
|
|
77
|
+
}[];
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
export declare const PUBLIC_UPDATE_CART_ITEMS_EXAMPLES: {
|
|
82
|
+
updateQuantity: {
|
|
83
|
+
summary: string;
|
|
84
|
+
value: {
|
|
85
|
+
cartItems: {
|
|
86
|
+
id: number;
|
|
87
|
+
quantity: number;
|
|
88
|
+
}[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
updateParticipant: {
|
|
92
|
+
summary: string;
|
|
93
|
+
value: {
|
|
94
|
+
cartItems: {
|
|
95
|
+
id: number;
|
|
96
|
+
quantity: number;
|
|
97
|
+
userId: number;
|
|
98
|
+
}[];
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|