@bondsports/types 2.3.27 → 2.3.28
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/README.md +71 -71
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/activities/index.d.ts +1 -0
- package/dist/types/activities/index.js +1 -0
- package/dist/types/activities/index.js.map +1 -1
- package/dist/types/activities/types/activities.consts.d.ts +3 -0
- package/dist/types/activities/types/activities.consts.js +11 -0
- package/dist/types/activities/types/activities.consts.js.map +1 -0
- package/dist/types/activities/types/activities.enums.d.ts +124 -0
- package/dist/types/activities/types/activities.enums.js +130 -0
- package/dist/types/activities/types/activities.enums.js.map +1 -0
- package/dist/types/activities/types/index.d.ts +2 -0
- package/dist/types/activities/types/index.js +19 -0
- package/dist/types/activities/types/index.js.map +1 -0
- package/dist/types/cart/types/consts/cart.consts.js +2 -3
- package/dist/types/cart/types/consts/cart.consts.js.map +1 -1
- package/dist/types/dto/facilities.dto.d.ts +5 -2
- package/dist/types/dto/facilities.dto.js +5 -2
- package/dist/types/dto/facilities.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +1 -0
- package/dist/types/dto/general.dto.js +2 -1
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/groupsDivisions.dto.d.ts +2 -1
- package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
- package/dist/types/dto/membership.dto.d.ts +7 -6
- package/dist/types/dto/membership.dto.js +1 -1
- package/dist/types/dto/membership.dto.js.map +1 -1
- package/dist/types/entity/Customer.d.ts +1 -0
- package/dist/types/entity/Group.d.ts +2 -1
- package/dist/types/entity/Group.js.map +1 -1
- package/dist/types/entity/Membership.d.ts +3 -2
- package/dist/types/entity/Membership.js.map +1 -1
- package/dist/types/filters/types/classes/filter.classes.d.ts +2 -1
- package/dist/types/filters/types/classes/filter.classes.js.map +1 -1
- package/dist/types/import/dto/punch-pass.dto.d.ts +1 -1
- package/dist/types/import/dto/punch-pass.dto.js +4 -3
- package/dist/types/import/dto/punch-pass.dto.js.map +1 -1
- package/dist/types/invoice/types/consts/invoice.consts.js +1 -2
- package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
- package/dist/types/media/dto/index.d.ts +1 -0
- package/dist/types/media/dto/index.js +1 -0
- package/dist/types/media/dto/index.js.map +1 -1
- package/dist/types/media/dto/media-public.dto.d.ts +8 -0
- package/dist/types/media/dto/media-public.dto.js +7 -0
- package/dist/types/media/dto/media-public.dto.js.map +1 -0
- package/dist/types/membership/types/membership.interfaces.d.ts +2 -1
- package/dist/types/online-rentals/types/online-rentals.dto.d.ts +1 -1
- package/dist/types/online-rentals/types/online-rentals.dto.js.map +1 -1
- package/dist/types/payment/types/consts/payment.consts.js +3 -5
- package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
- package/dist/types/product-pricing/dto/index.d.ts +1 -0
- package/dist/types/product-pricing/dto/index.js +1 -0
- package/dist/types/product-pricing/dto/index.js.map +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +2 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +2 -0
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/punch-pass-product.dto.d.ts +15 -0
- package/dist/types/product-pricing/dto/punch-pass-product.dto.js +10 -0
- package/dist/types/product-pricing/dto/punch-pass-product.dto.js.map +1 -0
- package/dist/types/product-pricing/dto/rental-product.dto.d.ts +2 -1
- package/dist/types/product-pricing/dto/rental-product.dto.js.map +1 -1
- package/dist/types/product-pricing/entities/Product.d.ts +2 -0
- package/dist/types/product-pricing/entities/Product.js.map +1 -1
- package/dist/types/product-pricing/types/enums/product.enums.d.ts +5 -0
- package/dist/types/product-pricing/types/enums/product.enums.js +7 -1
- package/dist/types/product-pricing/types/enums/product.enums.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/index.d.ts +1 -1
- package/dist/types/product-pricing/types/interfaces/index.js +1 -1
- package/dist/types/product-pricing/types/interfaces/index.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +4 -2
- package/dist/types/product-pricing/types/interfaces/product-resource.interfaces.d.ts +2 -2
- package/dist/types/product-pricing/types/interfaces/{valdiate-resources.interface.d.ts → validate-resources.interfaces.d.ts} +8 -3
- package/dist/types/product-pricing/types/interfaces/{valdiate-resources.interface.js → validate-resources.interfaces.js} +1 -1
- package/dist/types/product-pricing/types/interfaces/validate-resources.interfaces.js.map +1 -0
- package/dist/types/programs/dto/index.d.ts +2 -0
- package/dist/types/programs/dto/index.js +2 -0
- package/dist/types/programs/dto/index.js.map +1 -1
- package/dist/types/programs/dto/program-public.dto.d.ts +32 -0
- package/dist/types/programs/dto/program-public.dto.js +12 -0
- package/dist/types/programs/dto/program-public.dto.js.map +1 -0
- package/dist/types/programs/dto/program.dto.d.ts +6 -4
- package/dist/types/programs/dto/program.dto.js +1 -1
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs/dto/session-public.dto.d.ts +48 -0
- package/dist/types/programs/dto/session-public.dto.js +15 -0
- package/dist/types/programs/dto/session-public.dto.js.map +1 -0
- package/dist/types/programs/entities/Program.d.ts +8 -3
- package/dist/types/programs/entities/Program.js.map +1 -1
- package/dist/types/programs/types/consts/program.consts.d.ts +8 -1
- package/dist/types/programs/types/consts/program.consts.js +36 -8
- package/dist/types/programs/types/consts/program.consts.js.map +1 -1
- package/dist/types/programs/types/enums/index.d.ts +1 -0
- package/dist/types/programs/types/enums/index.js +18 -0
- package/dist/types/programs/types/enums/index.js.map +1 -0
- package/dist/types/programs/types/enums/program.enums.d.ts +16 -0
- package/dist/types/programs/types/enums/program.enums.js +22 -0
- package/dist/types/programs/types/enums/program.enums.js.map +1 -0
- package/dist/types/programs/types/index.d.ts +1 -0
- package/dist/types/programs/types/index.js +1 -0
- package/dist/types/programs/types/index.js.map +1 -1
- package/dist/types/programs/types/interfaces/program.interfaces.d.ts +17 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +8 -6
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +7 -2
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/dist/types/programs-seasons/types/consts/index.d.ts +1 -0
- package/dist/types/programs-seasons/types/consts/index.js +18 -0
- package/dist/types/programs-seasons/types/consts/index.js.map +1 -0
- package/dist/types/programs-seasons/types/consts/program-season.consts.d.ts +1 -0
- package/dist/types/programs-seasons/types/consts/program-season.consts.js +5 -0
- package/dist/types/programs-seasons/types/consts/program-season.consts.js.map +1 -0
- package/dist/types/programs-seasons/types/index.d.ts +1 -0
- package/dist/types/programs-seasons/types/index.js +1 -0
- package/dist/types/programs-seasons/types/index.js.map +1 -1
- package/dist/types/punch-pass/dto/index.d.ts +1 -0
- package/dist/types/punch-pass/dto/index.js +1 -0
- package/dist/types/punch-pass/dto/index.js.map +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +13 -66
- package/dist/types/punch-pass/dto/punch-pass.dto.deprecated.d.ts +71 -0
- package/dist/types/punch-pass/dto/punch-pass.dto.deprecated.js +29 -0
- package/dist/types/punch-pass/dto/punch-pass.dto.deprecated.js.map +1 -0
- package/dist/types/punch-pass/dto/punch-pass.dto.js +7 -23
- package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
- package/dist/types/punch-pass/entities/index.d.ts +7 -0
- package/dist/types/punch-pass/entities/index.js +28 -0
- package/dist/types/punch-pass/entities/index.js.map +1 -0
- package/dist/types/punch-pass/entities/punch-pass.entity.d.ts +17 -0
- package/dist/types/punch-pass/entities/punch-pass.entity.js +8 -0
- package/dist/types/punch-pass/entities/punch-pass.entity.js.map +1 -0
- package/dist/types/punch-pass/entities/user-punch-pass.entity.d.ts +25 -0
- package/dist/types/punch-pass/entities/user-punch-pass.entity.js +8 -0
- package/dist/types/punch-pass/entities/user-punch-pass.entity.js.map +1 -0
- package/dist/types/punch-pass/entities/user-redemption.entity.d.ts +14 -0
- package/dist/types/punch-pass/entities/user-redemption.entity.js +8 -0
- package/dist/types/punch-pass/entities/user-redemption.entity.js.map +1 -0
- package/dist/types/punch-pass/index.d.ts +1 -0
- package/dist/types/punch-pass/index.js +1 -0
- package/dist/types/punch-pass/index.js.map +1 -1
- package/dist/types/punch-pass/types/enums.d.ts +4 -0
- package/dist/types/punch-pass/types/enums.js +6 -1
- package/dist/types/punch-pass/types/enums.js.map +1 -1
- package/dist/types/purchase/types/cron/index.d.ts +6 -0
- package/dist/types/purchase/types/cron/index.js +25 -0
- package/dist/types/purchase/types/cron/index.js.map +1 -0
- package/dist/types/purchase/types/cron/names.enum.d.ts +6 -0
- package/dist/types/purchase/types/cron/names.enum.js +10 -0
- package/dist/types/purchase/types/cron/names.enum.js.map +1 -0
- package/dist/types/purchase/types/cron/strings.d.ts +6 -0
- package/dist/types/purchase/types/cron/strings.js +23 -0
- package/dist/types/purchase/types/cron/strings.js.map +1 -0
- package/dist/types/purchase/types/index.d.ts +1 -0
- package/dist/types/purchase/types/index.js +1 -0
- package/dist/types/purchase/types/index.js.map +1 -1
- package/dist/types/reservations/dto/calendar-slot.dto.d.ts +2 -1
- package/dist/types/reservations/dto/calendar-slot.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +4 -3
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/segment.dto.d.ts +1 -1
- package/dist/types/reservations/dto/segment.dto.js +2 -2
- package/dist/types/reservations/dto/segment.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +3 -2
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/dto/v1.reservation.dto.d.ts +1 -1
- package/dist/types/reservations/entities/reservation.entity.d.ts +3 -2
- package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
- package/dist/types/reservations/types/classes/reservation.classes.d.ts +2 -1
- package/dist/types/reservations/types/classes/reservation.classes.js.map +1 -1
- package/dist/types/reservations/types/classes/segment.classes.d.ts +3 -3
- package/dist/types/reservations/types/classes/slot.classes.d.ts +2 -1
- package/dist/types/reservations/types/classes/slot.classes.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +3 -2
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +1 -1
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +2 -1
- package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
- package/dist/types/resource-settings/types/resource-settings.interfaces.d.ts +4 -1
- package/dist/types/resources/dto/instructor.dto.d.ts +3 -2
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +2 -1
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/dto/space.dto.d.ts +2 -1
- package/dist/types/resources/dto/space.dto.js.map +1 -1
- package/dist/types/resources/entities/Resource.d.ts +2 -1
- package/dist/types/resources/entities/Resource.js.map +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +2 -1
- package/dist/types/services/enums.service.d.ts +6 -71
- package/dist/types/services/enums.service.js +9 -75
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +2 -1
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/package.json +54 -54
- package/dist/types/product-pricing/types/interfaces/valdiate-resources.interface.js.map +0 -1
@@ -0,0 +1,28 @@
|
|
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
|
+
exports.UserRedemption = exports.UserPunchPass = exports.PunchPass = void 0;
|
18
|
+
var punch_pass_entity_1 = require("./punch-pass.entity");
|
19
|
+
Object.defineProperty(exports, "PunchPass", { enumerable: true, get: function () { return punch_pass_entity_1.PunchPass; } });
|
20
|
+
var user_punch_pass_entity_1 = require("./user-punch-pass.entity");
|
21
|
+
Object.defineProperty(exports, "UserPunchPass", { enumerable: true, get: function () { return user_punch_pass_entity_1.UserPunchPass; } });
|
22
|
+
var user_redemption_entity_1 = require("./user-redemption.entity");
|
23
|
+
Object.defineProperty(exports, "UserRedemption", { enumerable: true, get: function () { return user_redemption_entity_1.UserRedemption; } });
|
24
|
+
__exportStar(require("./index"), exports);
|
25
|
+
__exportStar(require("./punch-pass.entity"), exports);
|
26
|
+
__exportStar(require("./user-punch-pass.entity"), exports);
|
27
|
+
__exportStar(require("./user-redemption.entity"), exports);
|
28
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAAgD;AAAvC,8GAAA,SAAS,OAAA;AAClB,mEAAyD;AAAhD,uHAAA,aAAa,OAAA;AACtB,mEAA0D;AAAjD,wHAAA,cAAc,OAAA;AACvB,0CAAwB;AACxB,sDAAoC;AACpC,2DAAyC;AACzC,2DAAyC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
2
|
+
import { TimeUnit } from '@bondsports/date-time';
|
3
|
+
import { Product } from '../../product-pricing/entities/Product';
|
4
|
+
import { PunchPassTypeEnum } from '../types/enums';
|
5
|
+
export declare class PunchPass extends OrganizationConnectionBaseEntity {
|
6
|
+
type: PunchPassTypeEnum;
|
7
|
+
productId: number;
|
8
|
+
durationQuantity?: number;
|
9
|
+
durationWindow?: number;
|
10
|
+
durationWindowUnit?: TimeUnit;
|
11
|
+
durationWindowStart?: TimeUnit;
|
12
|
+
rollover?: boolean;
|
13
|
+
expirationWindow?: number;
|
14
|
+
expirationWindowUnit?: TimeUnit;
|
15
|
+
deletedAt?: Date;
|
16
|
+
product?: Product;
|
17
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PunchPass = void 0;
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
5
|
+
class PunchPass extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
6
|
+
}
|
7
|
+
exports.PunchPass = PunchPass;
|
8
|
+
//# sourceMappingURL=punch-pass.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"punch-pass.entity.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/entities/punch-pass.entity.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAKjG,MAAa,SAAU,SAAQ,mEAAgC;CAsB9D;AAtBD,8BAsBC"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
2
|
+
import { ProductsUsers } from '../../entity/ProductsUsers';
|
3
|
+
import { LineItems } from '../../entity/LineItems';
|
4
|
+
import { PunchPass } from './punch-pass.entity';
|
5
|
+
import { User } from '../../user/entities/User';
|
6
|
+
import { Product } from '../../product-pricing/entities/Product';
|
7
|
+
import { UserRedemption } from './user-redemption.entity';
|
8
|
+
export declare class UserPunchPass extends OrganizationConnectionBaseEntity {
|
9
|
+
punchPassId: number;
|
10
|
+
productUserId: number;
|
11
|
+
userId: number;
|
12
|
+
lineItemId: number;
|
13
|
+
startDate?: Date;
|
14
|
+
endDate?: Date;
|
15
|
+
isCancelled?: boolean;
|
16
|
+
productId: number;
|
17
|
+
creatorId?: number;
|
18
|
+
deletedAt?: Date;
|
19
|
+
punchPass?: PunchPass;
|
20
|
+
product?: Product;
|
21
|
+
productUser?: ProductsUsers;
|
22
|
+
lineItem?: LineItems;
|
23
|
+
user?: User;
|
24
|
+
redemptions?: UserRedemption[];
|
25
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UserPunchPass = void 0;
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
5
|
+
class UserPunchPass extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
6
|
+
}
|
7
|
+
exports.UserPunchPass = UserPunchPass;
|
8
|
+
//# sourceMappingURL=user-punch-pass.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user-punch-pass.entity.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/entities/user-punch-pass.entity.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAQjG,MAAa,aAAc,SAAQ,mEAAgC;CAgClE;AAhCD,sCAgCC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
2
|
+
import { UserPunchPass } from './user-punch-pass.entity';
|
3
|
+
import { Event } from '../../entity/Events';
|
4
|
+
export declare class UserRedemption extends BondBaseEntity {
|
5
|
+
punchPassId: number;
|
6
|
+
userId: number;
|
7
|
+
eventId: number;
|
8
|
+
userPunchPassId: number;
|
9
|
+
quantity: number;
|
10
|
+
redeemedAt: Date;
|
11
|
+
deletedAt?: Date;
|
12
|
+
userPunchPass?: UserPunchPass;
|
13
|
+
event?: Event;
|
14
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UserRedemption = void 0;
|
4
|
+
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
5
|
+
class UserRedemption extends BondBaseEntity_1.BondBaseEntity {
|
6
|
+
}
|
7
|
+
exports.UserRedemption = UserRedemption;
|
8
|
+
//# sourceMappingURL=user-redemption.entity.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user-redemption.entity.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/entities/user-redemption.entity.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAI7D,MAAa,cAAe,SAAQ,+BAAc;CAkBjD;AAlBD,wCAkBC"}
|
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./dto"), exports);
|
18
|
+
__exportStar(require("./entities"), exports);
|
18
19
|
__exportStar(require("./types"), exports);
|
19
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/punch-pass/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/punch-pass/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PunchPassFilterByEnum = exports.PunchPassOrderByEnum = exports.PunchPassSearchByEnum = void 0;
|
3
|
+
exports.PunchPassTypeEnum = exports.PunchPassFilterByEnum = exports.PunchPassOrderByEnum = exports.PunchPassSearchByEnum = void 0;
|
4
4
|
// TODO: Add the options when searching functionality is added
|
5
5
|
var PunchPassSearchByEnum;
|
6
6
|
(function (PunchPassSearchByEnum) {
|
@@ -16,4 +16,9 @@ var PunchPassFilterByEnum;
|
|
16
16
|
(function (PunchPassFilterByEnum) {
|
17
17
|
PunchPassFilterByEnum["DATE_RANGE"] = "date_range";
|
18
18
|
})(PunchPassFilterByEnum = exports.PunchPassFilterByEnum || (exports.PunchPassFilterByEnum = {}));
|
19
|
+
var PunchPassTypeEnum;
|
20
|
+
(function (PunchPassTypeEnum) {
|
21
|
+
PunchPassTypeEnum["FIXED"] = "fixed";
|
22
|
+
PunchPassTypeEnum["SUBSCRIPTION"] = "subscription";
|
23
|
+
})(PunchPassTypeEnum = exports.PunchPassTypeEnum || (exports.PunchPassTypeEnum = {}));
|
19
24
|
//# sourceMappingURL=enums.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/types/enums.ts"],"names":[],"mappings":";;;AAAA,8DAA8D;AAC9D,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAChC,gDAAuB,CAAA;AACxB,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC;AAED,6DAA6D;AAC7D,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC/B,iDAAyB,CAAA;AAC1B,CAAC,EAFW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAE/B;AAED,8DAA8D;AAC9D,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAChC,kDAAyB,CAAA;AAC1B,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC"}
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/types/enums.ts"],"names":[],"mappings":";;;AAAA,8DAA8D;AAC9D,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAChC,gDAAuB,CAAA;AACxB,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC;AAED,6DAA6D;AAC7D,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC/B,iDAAyB,CAAA;AAC1B,CAAC,EAFW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAE/B;AAED,8DAA8D;AAC9D,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAChC,kDAAyB,CAAA;AAC1B,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC;AAED,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC5B,oCAAe,CAAA;IACf,kDAA6B,CAAA;AAC9B,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B"}
|
@@ -0,0 +1,25 @@
|
|
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
|
+
exports.cronTasks = exports.CronTaskNames = void 0;
|
18
|
+
const names_enum_1 = require("./names.enum");
|
19
|
+
exports.CronTaskNames = names_enum_1.default;
|
20
|
+
const strings_1 = require("./strings");
|
21
|
+
exports.cronTasks = strings_1.default;
|
22
|
+
__exportStar(require("./index"), exports);
|
23
|
+
__exportStar(require("./names.enum"), exports);
|
24
|
+
__exportStar(require("./strings"), exports);
|
25
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/purchase/types/cron/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,6CAAyC;AAGhC,wBAHF,oBAAa,CAGE;AAFtB,uCAAkC;AAEV,oBAFjB,iBAAS,CAEiB;AACjC,0CAAwB;AACxB,+CAA6B;AAC7B,4CAA0B"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var NamesEnum;
|
4
|
+
(function (NamesEnum) {
|
5
|
+
NamesEnum["SCHEDULED_PAYMENTS"] = "scheduledPayments";
|
6
|
+
NamesEnum["PAST_DUE_INSTALLMENTS"] = "pastDueInstallments";
|
7
|
+
NamesEnum["PAST_DUE_INVOICES"] = "pastDueInvoices";
|
8
|
+
})(NamesEnum || (NamesEnum = {}));
|
9
|
+
exports.default = NamesEnum;
|
10
|
+
//# sourceMappingURL=names.enum.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"names.enum.js","sourceRoot":"","sources":["../../../../../src/types/purchase/types/cron/names.enum.ts"],"names":[],"mappings":";;AAAA,IAAK,SAIJ;AAJD,WAAK,SAAS;IACb,qDAAwC,CAAA;IACxC,0DAA6C,CAAA;IAC7C,kDAAqC,CAAA;AACtC,CAAC,EAJI,SAAS,KAAT,SAAS,QAIb;AAED,kBAAe,SAAS,CAAC"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const names_enum_1 = require("./names.enum");
|
4
|
+
const strings = {
|
5
|
+
subjects: {
|
6
|
+
[names_enum_1.default.SCHEDULED_PAYMENTS]: 'Cron Job Scheduled-Payments',
|
7
|
+
[names_enum_1.default.PAST_DUE_INSTALLMENTS]: 'Cron Job Past-Due Installments Summary',
|
8
|
+
[names_enum_1.default.PAST_DUE_INVOICES]: 'Cron Job Past-Due Invoices Summary',
|
9
|
+
cronDefault: 'Cron Job execution results summary',
|
10
|
+
},
|
11
|
+
templates: {
|
12
|
+
[names_enum_1.default.SCHEDULED_PAYMENTS]: (successes, total) => `Scheduled Payments: ${successes} successful charges out of ${total} total installments`,
|
13
|
+
[names_enum_1.default.PAST_DUE_INSTALLMENTS]: (successes, total) => `Past Due Installments: ${successes} successful updates out of ${total} total installments`,
|
14
|
+
[names_enum_1.default.PAST_DUE_INVOICES]: (successes, total) => `Past Due Invoices: ${successes} successful updates out of ${total} total invoices`,
|
15
|
+
cronDefault: () => `Cron Job execution results summary`,
|
16
|
+
},
|
17
|
+
};
|
18
|
+
const cronTasks = {
|
19
|
+
getSubject: (task) => strings.subjects[task] || strings.subjects.cronDefault,
|
20
|
+
getTemplate: (task) => strings.templates[task] || strings.templates.cronDefault,
|
21
|
+
};
|
22
|
+
exports.default = cronTasks;
|
23
|
+
//# sourceMappingURL=strings.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"strings.js","sourceRoot":"","sources":["../../../../../src/types/purchase/types/cron/strings.ts"],"names":[],"mappings":";;AAAA,6CAAyC;AAEzC,MAAM,OAAO,GAAG;IACf,QAAQ,EAAE;QACT,CAAC,oBAAa,CAAC,kBAAkB,CAAC,EAAE,6BAA6B;QACjE,CAAC,oBAAa,CAAC,qBAAqB,CAAC,EAAE,wCAAwC;QAC/E,CAAC,oBAAa,CAAC,iBAAiB,CAAC,EAAE,oCAAoC;QACvE,WAAW,EAAE,oCAAoC;KACjD;IACD,SAAS,EAAE;QACV,CAAC,oBAAa,CAAC,kBAAkB,CAAC,EAAE,CAAC,SAAiB,EAAE,KAAa,EAAE,EAAE,CACxE,uBAAuB,SAAS,8BAA8B,KAAK,qBAAqB;QACzF,CAAC,oBAAa,CAAC,qBAAqB,CAAC,EAAE,CAAC,SAAiB,EAAE,KAAa,EAAE,EAAE,CAC3E,0BAA0B,SAAS,8BAA8B,KAAK,qBAAqB;QAC5F,CAAC,oBAAa,CAAC,iBAAiB,CAAC,EAAE,CAAC,SAAiB,EAAE,KAAa,EAAE,EAAE,CACvE,sBAAsB,SAAS,8BAA8B,KAAK,iBAAiB;QACpF,WAAW,EAAE,GAAG,EAAE,CAAC,oCAAoC;KACvD;CACD,CAAC;AAEF,MAAM,SAAS,GAAG;IACjB,UAAU,EAAE,CAAC,IAAmB,EAAE,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC3F,WAAW,EAAE,CAAC,IAAmB,EAAE,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,SAAS,CAAC,WAAW;CAC9F,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
@@ -15,5 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./consts"), exports);
|
18
|
+
__exportStar(require("./cron"), exports);
|
18
19
|
__exportStar(require("./interfaces"), exports);
|
19
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/purchase/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,+CAA6B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/purchase/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,yCAAuB;AACvB,+CAA6B"}
|
@@ -1,6 +1,7 @@
|
|
1
|
+
import { SportsEnum } from '../../activities/types/activities.enums';
|
1
2
|
import { SimpleResourceDto } from '../../dto/general.dto';
|
2
3
|
import { Event } from '../../entity/Events';
|
3
|
-
import { ResourceSubTypeEnum, ResourceTypeEnum
|
4
|
+
import { ResourceSubTypeEnum, ResourceTypeEnum } from '../../services/enums.service';
|
4
5
|
import { Reservation } from '../entities/reservation.entity';
|
5
6
|
import { Series } from '../entities/series.entity';
|
6
7
|
import { MaintenanceTimingEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"calendar-slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/calendar-slot.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"calendar-slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/calendar-slot.dto.ts"],"names":[],"mappings":";;;AAcA,MAAa,eAAe;CAkD3B;AAlDD,0CAkDC;AAED,MAAa,0BAA2B,SAAQ,eAAe;CAE9D;AAFD,gEAEC;AAED,MAAa,yBAAyB;CAgBrC;AAhBD,8DAgBC"}
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import { BondDayOfWeekEnum } from '@bondsports/date-time';
|
2
|
+
import { SportsEnum } from '../../activities/types/activities.enums';
|
2
3
|
import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
|
3
4
|
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
5
|
+
import { CustomerDto } from '../../dto/customer.dto';
|
4
6
|
import { FacilityDto } from '../../dto/facilities.dto';
|
5
7
|
import { PaginationQuery, PaginationSearchQuery, SimpleResourceDto } from '../../dto/general.dto';
|
6
8
|
import { Invoice } from '../../entity/Invoice';
|
@@ -16,16 +18,15 @@ import { Product } from '../../product-pricing/entities/Product';
|
|
16
18
|
import { PurchasePaymentDto, PurchaseResultDto } from '../../purchase/dto/purchase.dto';
|
17
19
|
import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
|
18
20
|
import { SpaceResourceDto } from '../../resources/dto/space.dto';
|
19
|
-
import { AddonParentTypeEnum, FinancialStepEnum, NotifyMethodEnum, OrderByEnum, PlatformsEnum, ProductPackageLevelEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceSubTypeEnum, ResourceTypeEnum,
|
21
|
+
import { AddonParentTypeEnum, FinancialStepEnum, NotifyMethodEnum, OrderByEnum, PlatformsEnum, ProductPackageLevelEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceSubTypeEnum, ResourceTypeEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
|
20
22
|
import { Reservation } from '../entities/reservation.entity';
|
21
23
|
import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotFilterOptions, SlotNotesFilterEnum, SlotOrderBy, SlotTypeEnum, SortByReservationEnum } from '../types/enums/reservation.enums';
|
22
24
|
import { ISegmentsAddons } from '../types/interfaces/addon.interfaces';
|
23
25
|
import { IBaseReservation, IBaseReservationItemLineItem, IDraftReservation, IDuplicateDetails, IDuplicateReservationItems, IEditFinancialDetails, IEditItemsRefundMetadata, IExtendDraftSlotsOptions, IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, IProductPrice, IRemoveSlotsFinancialData, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
|
24
26
|
import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
|
25
27
|
import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
|
26
|
-
import { DraftSlotsDto, SlotDto, TimeSlotConflictsDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
|
27
28
|
import { SeriesDto } from './series.dto';
|
28
|
-
import {
|
29
|
+
import { DraftSlotsDto, SlotDto, TimeSlotConflictsDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
|
29
30
|
export declare class ProductPricesDto implements IProductPrice {
|
30
31
|
productId: number;
|
31
32
|
product?: Product;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;
|
1
|
+
{"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAOA,uDAAkG;AAElG,+DAAmG;AAEnG,8EAA8E;AAO9E,kEAAwF;AAqDxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAC3B,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAM,kBAAkB;CAgCvB;AAED,MAAa,oBAAqB,SAAQ,kBAAkB;CAM3D;AAND,oDAMC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,cAAe,SAAQ,oBAAoB;CAyBvD;AAzBD,wCAyBC;AAED,MAAa,kCAAkC;CAc9C;AAdD,gFAcC;AAED,MAAM,oBAAqB,SAAQ,kCAAkC;CAEpE;AAED,MAAM,0BAA0B;CAM/B;AAED,MAAa,uBAAwB,SAAQ,0BAA0B;CAEtE;AAFD,0DAEC;AAED,MAAa,iBAAkB,SAAQ,uBAAuB;CAE7D;AAFD,8CAEC;AAED,MAAa,yBAA0B,SAAQ,kBAAkB;CAEhE;AAFD,8DAEC;AAED,MAAa,yBAA0B,SAAQ,yBAAyB;CAIvE;AAJD,8DAIC;AAED,MAAa,mBAAoB,SAAQ,yBAAyB;CAsBjE;AAtBD,kDAsBC;AAED,MAAa,wBAAwB;CAQpC;AARD,4DAQC;AAED,MAAa,4BAA4B;CAcxC;AAdD,oEAcC;AAED,MAAa,cAAc;CAsB1B;AAtBD,wCAsBC;AAED,MAAa,uBAAwB,SAAQ,mC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ums';
|
2
2
|
import { PrivacySettingsEnum } from '../types/enums/reservation.enums';
|
3
3
|
import { IBaseDraftSegment, IBaseSegment, ICreateDraftSegment, IDraftSegment } from '../types/interfaces/segment.interfaces';
|
4
4
|
import { CreateDraftSeriesDto, DraftSeriesDto, SeriesDto } from './series.dto';
|
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.DraftSegmentDto = exports.CreateDraftSegmentDto = exports.SegmentDto = void 0;
|
4
|
-
const
|
4
|
+
const activities_enums_1 = require("../../activities/types/activities.enums");
|
5
5
|
class BaseSegmentDto {
|
6
6
|
constructor() {
|
7
|
-
this.sportId =
|
7
|
+
this.sportId = activities_enums_1.SportsEnum.OTHER;
|
8
8
|
}
|
9
9
|
}
|
10
10
|
class SegmentDto extends BaseSegmentDto {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"segment.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/segment.dto.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"segment.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/segment.dto.ts"],"names":[],"mappings":";;;AAAA,8EAAqE;AAWrE,MAAM,cAAc;IAApB;QAWC,YAAO,GAAgB,6BAAU,CAAC,KAAK,CAAC;IASzC,CAAC;CAAA;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;AAED,MAAM,mBAAoB,SAAQ,cAAc;CAU/C;AAED,MAAa,qBAAsB,SAAQ,mBAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,eAAgB,SAAQ,mBAAmB;CAIvD;AAJD,0CAIC"}
|
@@ -1,5 +1,7 @@
|
|
1
|
+
import { SportsEnum } from '../../activities/types/activities.enums';
|
1
2
|
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
2
3
|
import { FacilityDto } from '../../dto/facilities.dto';
|
4
|
+
import { SelectOptionsDto, SimpleResourceDto } from '../../dto/general.dto';
|
3
5
|
import { SimpleProductUserDto } from '../../dto/product-user';
|
4
6
|
import { SimpleInvoiceDto, SimpleInvoiceSlotDto } from '../../invoice/dto/invoice.dto';
|
5
7
|
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
@@ -7,14 +9,13 @@ import { ProductDto } from '../../product-pricing/dto/product.dto';
|
|
7
9
|
import { Product } from '../../product-pricing/entities/Product';
|
8
10
|
import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
|
9
11
|
import { SpaceResourceDto } from '../../resources/dto/space.dto';
|
10
|
-
import { ResourceNameTypeEnum
|
12
|
+
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
11
13
|
import { Slot } from '../entities/slot.entity';
|
12
14
|
import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotFilterOptions, SlotTypeEnum } from '../types/enums/reservation.enums';
|
13
15
|
import { IOverridePriceMeta } from '../types/interfaces/reservation.interfaces';
|
14
16
|
import { IBaseSlot, IDraftSlot, ISlotProductMetadata, ISlotProductPricesMetadata, ITimeSlot } from '../types/interfaces/slot.interfaces';
|
15
17
|
import { AddonDto, CreateDraftAddonDto, DraftAddonDto, SimpleAddonDto } from './addon.dto';
|
16
18
|
import { MaintenanceDto } from './maintenance.dto';
|
17
|
-
import { SelectOptionsDto, SimpleResourceDto } from '../../dto/general.dto';
|
18
19
|
export declare class SlotProductMetadataDto implements ISlotProductMetadata {
|
19
20
|
productId: number;
|
20
21
|
price: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAMA,8EAAoF;AAQpF,wEAU0C;AAY1C,M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enums';
|
1
2
|
import { QuestionAnswersDto } from '../../dto/application.dto';
|
2
3
|
import { PurchasePaymentDto } from '../../purchase/dto/purchase.dto';
|
3
|
-
import { SportsEnum } from '../../services/enums.service';
|
4
4
|
export declare class BookedSessionDto {
|
5
5
|
startDate: string;
|
6
6
|
endDate: string;
|
@@ -1,12 +1,13 @@
|
|
1
|
+
import { SportsEnum } from '../../activities/types/activities.enums';
|
1
2
|
import { Customer } from '../../entity/Customer';
|
2
3
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
3
|
-
import {
|
4
|
+
import { Resource } from '../../resources/entities/Resource';
|
5
|
+
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
4
6
|
import { OverrideProductsPricing } from '../types/classes/reservation.classes';
|
5
7
|
import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum } from '../types/enums/reservation.enums';
|
6
8
|
import { Addon } from './addon.entity';
|
7
9
|
import { Segment } from './segment.entity';
|
8
10
|
import { Slot } from './slot.entity';
|
9
|
-
import { Resource } from '../../resources/entities/Resource';
|
10
11
|
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
11
12
|
deletedAt?: Date;
|
12
13
|
name?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/reservation.entity.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"reservation.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/reservation.entity.ts"],"names":[],"mappings":";;;AAGA,oGAAiG;AAgBjG,MAAa,WAAY,SAAQ,mEAAgC;CAqEhE;AArED,kCAqEC"}
|
@@ -1,9 +1,10 @@
|
|
1
|
+
import { SportsEnum } from '../../../activities/types/activities.enums';
|
1
2
|
import { Cart } from '../../../cart/entities/cart.entity';
|
2
3
|
import { Customer } from '../../../entity/Customer';
|
3
4
|
import { Facility } from '../../../entity/Facility';
|
4
5
|
import { Product } from '../../../product-pricing/entities/Product';
|
5
6
|
import { Resource } from '../../../resources/entities/Resource';
|
6
|
-
import { ResourceNameTypeEnum
|
7
|
+
import { ResourceNameTypeEnum } from '../../../services/enums.service';
|
7
8
|
import { Reservation } from '../../entities/reservation.entity';
|
8
9
|
import { PrivacySettingsEnum, ReservationMigrationStatusEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum } from '../enums/reservation.enums';
|
9
10
|
import { IDraftReservation, IDuplicateDetails, IOverrideProductsPricing, IProductPrice } from '../interfaces/reservation.interfaces';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/reservation.classes.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"reservation.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/reservation.classes.ts"],"names":[],"mappings":";;;AAyBA,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,gBAAgB;CAkF5B;AAlFD,4CAkFC"}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { SportsEnum } from '../../../
|
1
|
+
import { SportsEnum } from '../../../activities/types/activities.enums';
|
2
|
+
import { Product } from '../../../product-pricing/entities/Product';
|
2
3
|
import { PrivacySettingsEnum } from '../enums/reservation.enums';
|
4
|
+
import { ISegmentsAddons } from '../interfaces/addon.interfaces';
|
3
5
|
import { IDraftSegment } from '../interfaces/segment.interfaces';
|
4
6
|
import { DraftSeries } from './series.classes';
|
5
|
-
import { ISegmentsAddons } from '../interfaces/addon.interfaces';
|
6
|
-
import { Product } from '../../../product-pricing/entities/Product';
|
7
7
|
export declare class DraftSegment implements IDraftSegment {
|
8
8
|
id: string;
|
9
9
|
reservationId: string;
|
@@ -1,8 +1,9 @@
|
|
1
|
+
import { SportsEnum } from '../../../activities/types/activities.enums';
|
1
2
|
import { Customer } from '../../../entity/Customer';
|
2
3
|
import { Facility } from '../../../entity/Facility';
|
3
4
|
import { Product } from '../../../product-pricing/entities/Product';
|
4
5
|
import { Resource } from '../../../resources/entities/Resource';
|
5
|
-
import { ResourceNameTypeEnum
|
6
|
+
import { ResourceNameTypeEnum } from '../../../services/enums.service';
|
6
7
|
import { Slot } from '../../entities/slot.entity';
|
7
8
|
import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../enums/reservation.enums';
|
8
9
|
import { IDraftSlot } from '../interfaces/slot.interfaces';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"slot.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/slot.classes.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"slot.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/slot.classes.ts"],"names":[],"mappings":";;;AAqBA,MAAa,SAAS;CA8GrB;AA9GD,8BA8GC;AAED,0CAA0C;AAC1C,MAAa,aAAc,SAAQ,SAAS;CAAG;AAA/C,sCAA+C"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { SportsEnum } from '../../../activities/types/activities.enums';
|
1
2
|
import { CartItem } from '../../../cart/entities/cart-item.entity';
|
2
3
|
import { Cart } from '../../../cart/entities/cart.entity';
|
3
4
|
import { ICreateCartOptions, IUpdateCartPrices } from '../../../cart/types/interfaces/cart.interfaces';
|
@@ -10,7 +11,7 @@ import { PaymentStatusEnum } from '../../../payment/types/enums/payment.enums';
|
|
10
11
|
import { RefundResult } from '../../../payment/types/interfaces/refund.interfaces';
|
11
12
|
import { Product } from '../../../product-pricing/entities/Product';
|
12
13
|
import { Answer } from '../../../questionnaires/entities/Answer';
|
13
|
-
import { AddonParentTypeEnum, FinancialStepEnum, InvoiceStatusEnum, OrderByEnum, PlatformsEnum, ResourceNameTypeEnum
|
14
|
+
import { AddonParentTypeEnum, FinancialStepEnum, InvoiceStatusEnum, OrderByEnum, PlatformsEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
|
14
15
|
import { IPaymentMethodToFundLeft } from '../../../services/interfaces.service';
|
15
16
|
import { IPagination } from '../../../util/models/interfaces/general.interfaces';
|
16
17
|
import { AddonDto } from '../../dto/addon.dto';
|
@@ -28,7 +29,7 @@ import { DraftReservation } from '../classes/reservation.classes';
|
|
28
29
|
import { DraftSegment } from '../classes/segment.classes';
|
29
30
|
import { DraftSeries } from '../classes/series.classes';
|
30
31
|
import { DraftSlot } from '../classes/slot.classes';
|
31
|
-
import {
|
32
|
+
import { PrivacySettingsEnum, ReservationMigrationStatusEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotFilterOptions, SlotTypeEnum, SortByReservationEnum } from '../enums/reservation.enums';
|
32
33
|
import { IDraftAddon, ISegmentsAddons } from './addon.interfaces';
|
33
34
|
import { IDraftSegment } from './segment.interfaces';
|
34
35
|
import { ITimeSlot } from './slot.interfaces';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reservation.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/reservation.interfaces.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"reservation.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/reservation.interfaces.ts"],"names":[],"mappings":";;;AAsCA,kEASoC;AAsDpC,MAAa,SAAS;CAGrB;AAHD,8BAGC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SportsEnum } from '../../../
|
1
|
+
import { SportsEnum } from '../../../activities/types/activities.enums';
|
2
2
|
import { PrivacySettingsEnum } from '../enums/reservation.enums';
|
3
3
|
import { ICreateDraftSeries, IDraftSeries } from './series.interfaces';
|
4
4
|
export interface IBaseSegment {
|
@@ -1,6 +1,7 @@
|
|
1
|
+
import { SportsEnum } from '../../../activities/types/activities.enums';
|
1
2
|
import { ActivityTimes } from '../../../entity/ActivityTimes';
|
2
3
|
import { Product } from '../../../product-pricing/entities/Product';
|
3
|
-
import { ResourceNameTypeEnum
|
4
|
+
import { ResourceNameTypeEnum } from '../../../services/enums.service';
|
4
5
|
import { MaintenanceDto } from '../../dto/maintenance.dto';
|
5
6
|
import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../enums/reservation.enums';
|
6
7
|
import { IDraftAddon } from './addon.interfaces';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"slot.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/slot.interfaces.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"slot.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/slot.interfaces.ts"],"names":[],"mappings":";;;AA6HA,MAAa,SAAS;CA+BrB;AA/BD,8BA+BC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
2
1
|
import { FindOperator } from 'typeorm';
|
2
|
+
import { ResourceNameTypeEnum } from '../../services/enums.service';
|
3
3
|
export interface IResourceSettingsQuery {
|
4
4
|
organizationId: number;
|
5
5
|
entityType: string;
|
@@ -14,3 +14,6 @@ export interface IUpdateResourceSettings {
|
|
14
14
|
id: number;
|
15
15
|
organizationId: number;
|
16
16
|
}
|
17
|
+
export interface ISettings {
|
18
|
+
[key: string]: unknown;
|
19
|
+
}
|
@@ -1,7 +1,8 @@
|
|
1
|
+
import { SportsEnum } from '../../activities/types/activities.enums';
|
2
|
+
import { AddressDto } from '../../address/dto/address.dto';
|
1
3
|
import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
|
2
|
-
import { ActivityEnum, ProgramTypesEnum, ResourceAgesEnum
|
4
|
+
import { ActivityEnum, ProgramTypesEnum, ResourceAgesEnum } from '../../services/enums.service';
|
3
5
|
import { BaseResourceDto, ResourceDependenciesDto, UpdateResourceDto } from './resource.dto';
|
4
|
-
import { AddressDto } from '../../address/dto/address.dto';
|
5
6
|
export declare class InstructorResourceDto extends BaseResourceDto {
|
6
7
|
userId: number;
|
7
8
|
employeeId?: number;
|