@bondsports/types 1.39.0 → 1.40.0
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/index.d.ts +1 -0
- package/dist/types/dto/index.js +1 -0
- package/dist/types/dto/index.js.map +1 -1
- package/dist/types/dto/product-user.d.ts +11 -0
- package/dist/types/dto/product-user.js +7 -0
- package/dist/types/dto/product-user.js.map +1 -0
- package/dist/types/entity/Invoice.d.ts +4 -2
- package/dist/types/entity/Invoice.js.map +1 -1
- package/dist/types/entity/LineItems.d.ts +3 -5
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/payment/dto/discount.dto.d.ts +21 -2
- package/dist/types/payment/dto/discount.dto.js +8 -1
- package/dist/types/payment/dto/discount.dto.js.map +1 -1
- package/dist/types/payment/dto/payment.dto.d.ts +0 -9
- package/dist/types/payment/dto/payment.dto.js +1 -7
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/payment/entities/Payment.d.ts +2 -0
- package/dist/types/payment/entities/Payment.js.map +1 -1
- package/dist/types/payment/types/consts/payment.consts.d.ts +4 -2
- package/dist/types/payment/types/consts/payment.consts.js +12 -2
- package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
- package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +2 -0
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +6 -3
- package/dist/types/pricing/entities/Price.d.ts +0 -1
- package/dist/types/pricing/entities/Price.js.map +1 -1
- package/dist/types/programs/dto/program.dto.d.ts +30 -2
- package/dist/types/programs/dto/program.dto.js +7 -1
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs/index.d.ts +1 -0
- package/dist/types/programs/index.js +1 -0
- package/dist/types/programs/index.js.map +1 -1
- package/dist/types/programs/types/index.d.ts +1 -0
- package/dist/types/programs/types/index.js +18 -0
- package/dist/types/programs/types/index.js.map +1 -0
- package/dist/types/programs/types/interfaces/index.d.ts +1 -0
- package/dist/types/programs/types/interfaces/index.js +18 -0
- package/dist/types/programs/types/interfaces/index.js.map +1 -0
- package/dist/types/programs/types/interfaces/program.interfaces.d.ts +14 -0
- package/dist/types/programs/types/interfaces/program.interfaces.js +3 -0
- package/dist/types/programs/types/interfaces/program.interfaces.js.map +1 -0
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +14 -5
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +5 -2
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/types/index.d.ts +4 -0
- package/dist/types/programs-seasons/types/index.js.map +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +2 -2
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +0 -2
- package/dist/types/reservations/dto/lineItem.dto.d.ts +0 -1
- package/dist/types/reservations/dto/lineItem.dto.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +2 -2
- package/dist/types/user/dto/user.dto.d.ts +1 -1
- package/dist/types/user-activities/dto/index.d.ts +1 -0
- package/dist/types/user-activities/dto/index.js +18 -0
- package/dist/types/user-activities/dto/index.js.map +1 -0
- package/dist/types/user-activities/dto/user-activities.dto.d.ts +38 -0
- package/dist/types/user-activities/dto/user-activities.dto.js +20 -0
- package/dist/types/user-activities/dto/user-activities.dto.js.map +1 -0
- package/dist/types/user-activities/index.d.ts +1 -0
- package/dist/types/user-activities/index.js +18 -0
- package/dist/types/user-activities/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs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ED,MAAa,+BAA+B;CAO3C;AAPD,0EAOC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,eAAe;CAK3B;AALD,0CAKC;AAED,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,oBAAoB;CAShC;AATD,oDASC;AAED,MAAa,uBAAwB,SAAQ,oBAAoB;CAUhE;AAVD,0DAUC;AAED,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,6BAA8B,SAAQ,qCAAuB;CAAG;AAA7E,sEAA6E;AAE7E,MAAa,qBAAqB;CAMjC;AAND,sDAMC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PlatformsEnum } from '../../services/enums.service';
|
|
2
|
+
import { SeasonAttendee } from '../../entity/SeasonAttendees';
|
|
2
3
|
export interface IGetProgramSeasonsByIdProps {
|
|
3
4
|
seasonsIds: number[];
|
|
4
5
|
fullFetch?: boolean;
|
|
@@ -6,4 +7,7 @@ export interface IGetProgramSeasonsByIdProps {
|
|
|
6
7
|
organizationId?: number;
|
|
7
8
|
platform?: PlatformsEnum;
|
|
8
9
|
}
|
|
10
|
+
export type SeasonAttendeeWithAddons = Partial<SeasonAttendee> & {
|
|
11
|
+
addonProductUserIds?: number[];
|
|
12
|
+
};
|
|
9
13
|
export * from './index';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAYA,0CAAwB"}
|
|
@@ -49,8 +49,8 @@ export declare class GetPassesOptionsDto extends PaginationQuery {
|
|
|
49
49
|
includeFinancialInfo?: boolean;
|
|
50
50
|
}
|
|
51
51
|
export declare class GetPassEventsDto {
|
|
52
|
-
startDate:
|
|
53
|
-
endDate:
|
|
52
|
+
startDate: number;
|
|
53
|
+
endDate: number;
|
|
54
54
|
itemsPerPage: number;
|
|
55
55
|
includeResources?: boolean;
|
|
56
56
|
orderBy?: OrderByEnum;
|
|
@@ -19,10 +19,8 @@ export interface ILineItem {
|
|
|
19
19
|
productType: ProductTypesEnum;
|
|
20
20
|
productId: number;
|
|
21
21
|
userId?: number;
|
|
22
|
-
paymentProcessorId?: string;
|
|
23
22
|
ordinal?: number;
|
|
24
23
|
currency: CurrencyEnum;
|
|
25
|
-
originalPrice?: number;
|
|
26
24
|
price: number;
|
|
27
25
|
productSubType?: ProductSubTypesEnum;
|
|
28
26
|
organizationId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lineItem.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/lineItem.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,WAAW;
|
|
1
|
+
{"version":3,"file":"lineItem.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/lineItem.dto.ts"],"names":[],"mappings":";;;AAKA,MAAa,WAAW;CAiDvB;AAjDD,kCAiDC"}
|
|
@@ -8,7 +8,7 @@ import { PaymentMethodTypeEnum, PaymentStatusEnum } from '../payment/types/enums
|
|
|
8
8
|
import { Price } from '../pricing/entities/Price';
|
|
9
9
|
import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
|
|
10
10
|
import { PurchasePaymentDto } from '../purchase/dto/purchase.dto';
|
|
11
|
-
import {
|
|
11
|
+
import { SimpleUserDto } from '../user/dto/user.dto';
|
|
12
12
|
import { Answer } from './../entity/Answer';
|
|
13
13
|
import { Event } from './../entity/Events';
|
|
14
14
|
import { Product } from './../entity/Product';
|
|
@@ -121,7 +121,7 @@ export interface IPaymentMethodToFundLeft {
|
|
|
121
121
|
fundLeft: number;
|
|
122
122
|
ccLast4?: string;
|
|
123
123
|
ccBrand?: string;
|
|
124
|
-
payingUser?:
|
|
124
|
+
payingUser?: SimpleUserDto;
|
|
125
125
|
}
|
|
126
126
|
export interface IVariantsAndTitle {
|
|
127
127
|
title: VariantTitle;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SimpleEventDto } from '../../dto/events.dto';
|
|
2
2
|
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
|
3
3
|
import { IdDto, PaginationResultDto } from '../../dto/general.dto';
|
|
4
|
+
import { SimpleProductDto } from '../../dto/product.dto';
|
|
4
5
|
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
|
5
6
|
import { SimpleProgramDto } from '../../programs/dto/program.dto';
|
|
6
7
|
import { SimpleResourceDto } from '../../spaces/dto/resource.dto';
|
|
7
|
-
import { SimpleProductDto } from '../../dto/product.dto';
|
|
8
8
|
export declare class UserIdDto {
|
|
9
9
|
userId: number;
|
|
10
10
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './user-activities.dto';
|
|
@@ -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("./user-activities.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user-activities/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ActivityTimesDto } from '../../programs-seasons/dto/program-seasons.dto';
|
|
2
|
+
import { SimpleProductDto } from '../../dto/product.dto';
|
|
3
|
+
import { ByOrganizationIdUserIdDto } from '../../dto/customer.dto';
|
|
4
|
+
import { OrderByEnum } from '../../services/enums.service';
|
|
5
|
+
export declare class GetProgramsEventsQuery {
|
|
6
|
+
itemsPerPage: number;
|
|
7
|
+
startDate: number;
|
|
8
|
+
endDate: number;
|
|
9
|
+
productUserId: number;
|
|
10
|
+
orderBy?: OrderByEnum;
|
|
11
|
+
returnLastDeletedEvent?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare class GetProgramsSegmentsQuery extends GetProgramsEventsQuery {
|
|
14
|
+
}
|
|
15
|
+
export declare class ProgramEventDto {
|
|
16
|
+
id: number;
|
|
17
|
+
name: string;
|
|
18
|
+
deletedAt?: Date;
|
|
19
|
+
registeredOn: Date;
|
|
20
|
+
startDate: Date;
|
|
21
|
+
endDate: Date;
|
|
22
|
+
startTime: string;
|
|
23
|
+
endTime: string;
|
|
24
|
+
addons: SimpleProductDto[];
|
|
25
|
+
}
|
|
26
|
+
export declare class ProgramSegmentDto {
|
|
27
|
+
id: number;
|
|
28
|
+
name: string;
|
|
29
|
+
deletedAt?: Date;
|
|
30
|
+
registeredOn: Date;
|
|
31
|
+
startDate: Date;
|
|
32
|
+
endDate: Date;
|
|
33
|
+
addons: SimpleProductDto[];
|
|
34
|
+
activityTimes: ActivityTimesDto[];
|
|
35
|
+
}
|
|
36
|
+
export declare class ByOrganizationIdUserIdAndProgramIdDto extends ByOrganizationIdUserIdDto {
|
|
37
|
+
programId: number;
|
|
38
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ByOrganizationIdUserIdAndProgramIdDto = exports.ProgramSegmentDto = exports.ProgramEventDto = exports.GetProgramsSegmentsQuery = exports.GetProgramsEventsQuery = void 0;
|
|
4
|
+
const customer_dto_1 = require("../../dto/customer.dto");
|
|
5
|
+
class GetProgramsEventsQuery {
|
|
6
|
+
}
|
|
7
|
+
exports.GetProgramsEventsQuery = GetProgramsEventsQuery;
|
|
8
|
+
class GetProgramsSegmentsQuery extends GetProgramsEventsQuery {
|
|
9
|
+
}
|
|
10
|
+
exports.GetProgramsSegmentsQuery = GetProgramsSegmentsQuery;
|
|
11
|
+
class ProgramEventDto {
|
|
12
|
+
}
|
|
13
|
+
exports.ProgramEventDto = ProgramEventDto;
|
|
14
|
+
class ProgramSegmentDto {
|
|
15
|
+
}
|
|
16
|
+
exports.ProgramSegmentDto = ProgramSegmentDto;
|
|
17
|
+
class ByOrganizationIdUserIdAndProgramIdDto extends customer_dto_1.ByOrganizationIdUserIdDto {
|
|
18
|
+
}
|
|
19
|
+
exports.ByOrganizationIdUserIdAndProgramIdDto = ByOrganizationIdUserIdAndProgramIdDto;
|
|
20
|
+
//# sourceMappingURL=user-activities.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-activities.dto.js","sourceRoot":"","sources":["../../../../src/types/user-activities/dto/user-activities.dto.ts"],"names":[],"mappings":";;;AAEA,yDAAmE;AAGnE,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AAED,MAAa,wBAAyB,SAAQ,sBAAsB;CAAG;AAAvE,4DAAuE;AAEvE,MAAa,eAAe;CAkB3B;AAlBD,0CAkBC;AAED,MAAa,iBAAiB;CAgB7B;AAhBD,8CAgBC;AAED,MAAa,qCAAsC,SAAQ,wCAAyB;CAEnF;AAFD,sFAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dto';
|
|
@@ -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("./dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/user-activities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB"}
|