@bondsports/types 2.4.47 → 2.4.48-a-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/address/types/address.interfaces.d.ts +9 -7
- package/dist/types/customers/dto/customer.dto.d.ts +1 -1
- package/dist/types/customers/types/interfaces.d.ts +1 -1
- package/dist/types/dto/configuration.dto.d.ts +2 -1
- package/dist/types/dto/configuration.dto.js +1 -0
- package/dist/types/dto/configuration.dto.js.map +1 -1
- package/dist/types/dto/index.d.ts +0 -1
- package/dist/types/dto/index.js +0 -1
- package/dist/types/dto/index.js.map +1 -1
- package/dist/types/employees/dto/employee.dto.d.ts +8 -0
- package/dist/types/employees/dto/employee.dto.js.map +1 -1
- package/dist/types/employees/entities/EmployeeFacilityAccess.d.ts +9 -0
- package/dist/types/employees/entities/EmployeeFacilityAccess.js +8 -0
- package/dist/types/employees/entities/EmployeeFacilityAccess.js.map +1 -0
- package/dist/types/employees/entities/index.d.ts +1 -0
- package/dist/types/employees/entities/index.js +18 -0
- package/dist/types/employees/entities/index.js.map +1 -0
- package/dist/types/employees/index.d.ts +1 -0
- package/dist/types/employees/index.js +1 -0
- package/dist/types/employees/index.js.map +1 -1
- package/dist/types/employees/types/consts/index.js +1 -0
- package/dist/types/employees/types/consts/index.js.map +1 -1
- package/dist/types/employees/types/index.d.ts +1 -0
- package/dist/types/employees/types/index.js +1 -0
- package/dist/types/employees/types/index.js.map +1 -1
- package/dist/types/employees/types/interfaces/employee-facility-access.interfaces.d.ts +14 -0
- package/dist/types/employees/types/interfaces/employee-facility-access.interfaces.js +3 -0
- package/dist/types/employees/types/interfaces/employee-facility-access.interfaces.js.map +1 -0
- package/dist/types/employees/types/interfaces/index.d.ts +1 -0
- package/dist/types/employees/types/interfaces/index.js +18 -0
- package/dist/types/employees/types/interfaces/index.js.map +1 -0
- package/dist/types/employees/types/interfaces.d.ts +2 -0
- package/dist/types/entity/LeagueSeason.d.ts +1 -1
- package/dist/types/entity/LeagueSeason.js.map +1 -1
- package/dist/types/entity/Station.d.ts +1 -1
- package/dist/types/entity/index.d.ts +0 -3
- package/dist/types/entity/index.js +0 -3
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/{dto → facilities/dto}/facilities.dto.d.ts +3 -5
- package/dist/types/{dto → facilities/dto}/facilities.dto.js +2 -2
- package/dist/types/facilities/dto/facilities.dto.js.map +1 -0
- package/dist/types/facilities/dto/index.d.ts +1 -0
- package/dist/types/facilities/dto/index.js +18 -0
- package/dist/types/facilities/dto/index.js.map +1 -0
- package/dist/types/{entity → facilities/entities}/Facility.d.ts +7 -7
- package/dist/types/{entity → facilities/entities}/Facility.js +1 -1
- package/dist/types/facilities/entities/Facility.js.map +1 -0
- package/dist/types/{entity → facilities/entities}/FacilityToResource.d.ts +2 -2
- package/dist/types/{entity → facilities/entities}/FacilityToResource.js +1 -1
- package/dist/types/facilities/entities/FacilityToResource.js.map +1 -0
- package/dist/types/{entity → facilities/entities}/OpeningTime.d.ts +1 -1
- package/dist/types/{entity → facilities/entities}/OpeningTime.js +1 -1
- package/dist/types/facilities/entities/OpeningTime.js.map +1 -0
- package/dist/types/facilities/entities/index.d.ts +3 -0
- package/dist/types/facilities/entities/index.js +20 -0
- package/dist/types/facilities/entities/index.js.map +1 -0
- package/dist/types/facilities/index.d.ts +2 -0
- package/dist/types/facilities/index.js +2 -0
- package/dist/types/facilities/index.js.map +1 -1
- package/dist/types/facilities/types/facilities.types.d.ts +5 -9
- package/dist/types/folders/dto/folder-restrictions.dto.d.ts +1 -1
- package/dist/types/folders/entities/folder.entity.d.ts +1 -1
- package/dist/types/folders/types/folder-restrictions.consts.js.map +1 -1
- package/dist/types/folders/types/index.d.ts +4 -4
- package/dist/types/folders/types/interfaces/folder-restrictions.interfaces.d.ts +12 -12
- package/dist/types/league-standings/entities/stage.entity.js.map +1 -1
- package/dist/types/online-booking/types/classes/portals.classes.d.ts +1 -1
- package/dist/types/online-booking/types/dto/portals.dto.d.ts +1 -1
- package/dist/types/online-booking/types/dto/portals.dto.js.map +1 -1
- package/dist/types/organization/entities/OrganizationUsers.d.ts +3 -0
- package/dist/types/organization/entities/OrganizationUsers.js.map +1 -1
- package/dist/types/organization/interfaces/organizationUser.d.ts +2 -1
- package/dist/types/payment/dto/payment.dto.d.ts +6 -0
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/payment/entities/Payment.d.ts +6 -0
- package/dist/types/payment/entities/Payment.js.map +1 -1
- package/dist/types/payment/types/consts/payment.consts.js +1 -0
- package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
- package/dist/types/payment/types/enums/payment.enums.d.ts +2 -0
- package/dist/types/payment/types/enums/payment.enums.js +2 -0
- package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +5 -0
- package/dist/types/product-pricing/dto/product.dto.d.ts +1 -1
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/entities/product-to-facility.entity.d.ts +1 -1
- package/dist/types/product-pricing/entities/product.entity.d.ts +1 -1
- package/dist/types/product-pricing/entities/product.entity.js.map +1 -1
- package/dist/types/programs/dto/program.dto.d.ts +1 -1
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs/dto/session-public.dto.d.ts +1 -1
- package/dist/types/programs/dto/session-public.dto.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-session.dto.d.ts +1 -1
- package/dist/types/programs-seasons/dto/program-session.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
- package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +7 -0
- package/dist/types/reservations/dto/reservation.dto.d.ts +1 -1
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +1 -1
- package/dist/types/reservations/types/classes/reservation.classes.d.ts +1 -1
- package/dist/types/reservations/types/classes/slot.classes.d.ts +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +1 -1
- package/dist/types/resources/dto/resource.dto.js +1 -1
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/dto/space.dto.d.ts +1 -1
- package/dist/types/resources/dto/space.dto.js.map +1 -1
- package/dist/types/resources/entities/Resource.d.ts +1 -1
- package/dist/types/resources/entities/Resource.js.map +1 -1
- package/dist/types/roles/dto/role.dto.d.ts +1 -1
- package/dist/types/roles/dto/role.dto.js +1 -1
- package/dist/types/roles/dto/role.dto.js.map +1 -1
- package/dist/types/roles/dto/user-role.dto.d.ts +1 -1
- package/dist/types/roles/dto/user-role.dto.js +1 -1
- package/dist/types/roles/dto/user-role.dto.js.map +1 -1
- package/dist/types/services/enums.service.d.ts +4 -2
- package/dist/types/services/enums.service.js +2 -0
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/tip-configurations/dto/tip-configuration.dto.d.ts +1 -1
- package/dist/types/tip-configurations/dto/tip-configuration.dto.js.map +1 -1
- package/dist/types/tip-configurations/entities/TipConfiguration.d.ts +1 -1
- package/dist/types/tip-configurations/entities/TipConfiguration.js.map +1 -1
- package/dist/types/user/dto/update-user-profile.dto.d.ts +1 -1
- package/dist/types/user/dto/userPass.dto.d.ts +1 -1
- package/dist/types/user/dto/userPass.dto.js.map +1 -1
- package/dist/types/user/types/user.interfaces.d.ts +3 -2
- package/dist/types/user-identification/entities/UserIdentifier.d.ts +1 -1
- package/dist/types/webhooks/types/webhooks.enums.d.ts +4 -1
- package/dist/types/webhooks/types/webhooks.enums.js +3 -0
- package/dist/types/webhooks/types/webhooks.enums.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/dto/facilities.dto.js.map +0 -1
- package/dist/types/entity/Facility.js.map +0 -1
- package/dist/types/entity/FacilityToResource.js.map +0 -1
- package/dist/types/entity/OpeningTime.js.map +0 -1
|
@@ -1,13 +1,15 @@
|
|
|
1
|
+
import type { Address } from '../entities/Address';
|
|
1
2
|
export type GeoJsonObject = {
|
|
2
3
|
type: string;
|
|
3
4
|
coordinates: number[];
|
|
4
5
|
};
|
|
5
|
-
export interface
|
|
6
|
-
|
|
7
|
-
state?: string;
|
|
8
|
-
street?: string;
|
|
9
|
-
zip?: string;
|
|
6
|
+
export interface IAddressIdUpdateFields {
|
|
7
|
+
addressId?: number | null;
|
|
10
8
|
}
|
|
11
|
-
export interface
|
|
12
|
-
|
|
9
|
+
export interface IUserAddressIdUpdateFields extends IAddressIdUpdateFields {
|
|
10
|
+
currentAddressId?: number | null;
|
|
11
|
+
}
|
|
12
|
+
/** Fragment for merging address FK and relation onto a `Customer` row (e.g. `Customer.create`). */
|
|
13
|
+
export interface ICustomerAddressRowFields extends IAddressIdUpdateFields {
|
|
14
|
+
address?: Address;
|
|
13
15
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare enum EConfigurationKeys {
|
|
2
|
-
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure"
|
|
2
|
+
MAX_ALLOWED_PM_FAILURE = "max_allowed_pm_failure",
|
|
3
|
+
CUSTOMER_SUCCESS_EMAIL = "customer_success_email"
|
|
3
4
|
}
|
|
4
5
|
export declare enum EFailedPaymentReasons {
|
|
5
6
|
CARD_BLOCKED = "card_blocked_by_bond",
|
|
@@ -4,6 +4,7 @@ exports.EFailedPaymentReasons = exports.EConfigurationKeys = void 0;
|
|
|
4
4
|
var EConfigurationKeys;
|
|
5
5
|
(function (EConfigurationKeys) {
|
|
6
6
|
EConfigurationKeys["MAX_ALLOWED_PM_FAILURE"] = "max_allowed_pm_failure";
|
|
7
|
+
EConfigurationKeys["CUSTOMER_SUCCESS_EMAIL"] = "customer_success_email";
|
|
7
8
|
})(EConfigurationKeys = exports.EConfigurationKeys || (exports.EConfigurationKeys = {}));
|
|
8
9
|
var EFailedPaymentReasons;
|
|
9
10
|
(function (EFailedPaymentReasons) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.dto.js","sourceRoot":"","sources":["../../../src/types/dto/configuration.dto.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"configuration.dto.js","sourceRoot":"","sources":["../../../src/types/dto/configuration.dto.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,uEAAiD,CAAA;IACjD,uEAAiD,CAAA;AAClD,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,qBAaX;AAbD,WAAY,qBAAqB;IAChC,8DAAqC,CAAA;IACrC,4CAAmB,CAAA;IACnB,4DAAmC,CAAA;IACnC,kEAAyC,CAAA;IACzC,gDAAuB,CAAA;IACvB,oDAA2B,CAAA;IAC3B,sDAA6B,CAAA;IAC7B,wDAA+B,CAAA;IAC/B,8DAAqC,CAAA;IACrC,8DAAqC,CAAA;IACrC,0EAAiD,CAAA;IACjD,4DAAmC,CAAA;AACpC,CAAC,EAbW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAahC"}
|
|
@@ -7,7 +7,6 @@ export * from './configuration.dto';
|
|
|
7
7
|
export * from './customer.dto';
|
|
8
8
|
export * from './dto.consts';
|
|
9
9
|
export * from './events.dto';
|
|
10
|
-
export * from './facilities.dto';
|
|
11
10
|
export * from './general.dto';
|
|
12
11
|
export * from './groupsDivisions.dto';
|
|
13
12
|
export * from './package.dto';
|
package/dist/types/dto/index.js
CHANGED
|
@@ -23,7 +23,6 @@ __exportStar(require("./configuration.dto"), exports);
|
|
|
23
23
|
__exportStar(require("./customer.dto"), exports);
|
|
24
24
|
__exportStar(require("./dto.consts"), exports);
|
|
25
25
|
__exportStar(require("./events.dto"), exports);
|
|
26
|
-
__exportStar(require("./facilities.dto"), exports);
|
|
27
26
|
__exportStar(require("./general.dto"), exports);
|
|
28
27
|
__exportStar(require("./groupsDivisions.dto"), exports);
|
|
29
28
|
__exportStar(require("./package.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,+CAA6B;AAC7B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,oDAAkC;AAClC,0DAAwC;AACxC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iDAA+B;AAC/B,+CAA6B;AAC7B,+CAA6B;AAC7B,gDAA8B;AAC9B,wDAAsC;AACtC,gDAA8B;AAC9B,iDAA+B;AAC/B,yDAAuC;AACvC,qDAAmC;AACnC,+CAA6B;AAC7B,iDAA+B;AAC/B,8CAA4B;AAC5B,gDAA8B;AAC9B,+CAA6B;AAC7B,0DAAwC"}
|
|
@@ -28,6 +28,8 @@ export declare class EmployeeDto {
|
|
|
28
28
|
customerId?: number;
|
|
29
29
|
address?: Address;
|
|
30
30
|
deletedAt?: Date;
|
|
31
|
+
facilityIds?: number[];
|
|
32
|
+
defaultFacilityId?: number | null;
|
|
31
33
|
}
|
|
32
34
|
export declare class EmployeeWithRoles extends EmployeeDto {
|
|
33
35
|
roles?: SimpleRoleDto[];
|
|
@@ -40,6 +42,8 @@ export declare class BuildEmployee {
|
|
|
40
42
|
customerId: number;
|
|
41
43
|
organizationUser: OrganizationUsers;
|
|
42
44
|
roles: RoleDto[];
|
|
45
|
+
facilityIds?: number[];
|
|
46
|
+
defaultFacilityId?: number | null;
|
|
43
47
|
}
|
|
44
48
|
export declare class CreateEmployeeDto {
|
|
45
49
|
firstName: string;
|
|
@@ -65,6 +69,8 @@ export declare class CreateEmployeeDto {
|
|
|
65
69
|
status?: EmployeeStatus;
|
|
66
70
|
employmentStartDate?: Date;
|
|
67
71
|
employmentEndDate?: Date;
|
|
72
|
+
facilityIds?: number[];
|
|
73
|
+
defaultFacilityId?: number | null;
|
|
68
74
|
}
|
|
69
75
|
export declare class CreateEmployeeOptions {
|
|
70
76
|
saveCustomer?: boolean;
|
|
@@ -86,6 +92,8 @@ export declare class UpdateEmployeeDto {
|
|
|
86
92
|
rolesIdsToAdd?: number[];
|
|
87
93
|
rolesIdsToRemove?: number[];
|
|
88
94
|
employeeStatus?: EmployeeStatus;
|
|
95
|
+
facilityIds?: number[];
|
|
96
|
+
defaultFacilityId?: number | null;
|
|
89
97
|
}
|
|
90
98
|
export declare class GetEmployeesByFilterOptions extends PaginationQuery {
|
|
91
99
|
statuses?: EmployeeStatus[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AAQxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;
|
|
1
|
+
{"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AAQxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CAsCvB;AAtCD,kCAsCC;AAED,MAAa,iBAAkB,SAAQ,WAAW;CAEjD;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAEzD;AAFD,kDAEC;AAED,MAAa,aAAa;CAYzB;AAZD,sCAYC;AAED,MAAa,iBAAiB;CAkD7B;AAlDD,8CAkDC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,iBAAiB;CA8B7B;AA9BD,8CA8BC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;IAAhE;;QASC,iBAAY,GAAa,IAAI,CAAC;IAS/B,CAAC;CAAA;AAlBD,kEAkBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CustomerMerge } from '../../customers-merge/entities/CustomerMerge';
|
|
2
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
3
|
+
export declare class EmployeeFacilityAccess extends OrganizationConnectionBaseEntity {
|
|
4
|
+
userId: number;
|
|
5
|
+
facilityId: number;
|
|
6
|
+
mergeId?: number;
|
|
7
|
+
merge?: CustomerMerge;
|
|
8
|
+
deletedAt?: Date;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmployeeFacilityAccess = void 0;
|
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
5
|
+
class EmployeeFacilityAccess extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
|
+
}
|
|
7
|
+
exports.EmployeeFacilityAccess = EmployeeFacilityAccess;
|
|
8
|
+
//# sourceMappingURL=EmployeeFacilityAccess.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmployeeFacilityAccess.js","sourceRoot":"","sources":["../../../../src/types/employees/entities/EmployeeFacilityAccess.ts"],"names":[],"mappings":";;;AAGA,oGAAiG;AAEjG,MAAa,sBAAuB,SAAQ,mEAAgC;CAU3E;AAVD,wDAUC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EmployeeFacilityAccess';
|
|
@@ -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("./EmployeeFacilityAccess"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
|
|
@@ -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/employees/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/employees/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/employees/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,oCAA0C;AAE7B,QAAA,+BAA+B,GAA0B;IACrE,YAAY,EAAE,IAAI;IAClB,wBAAwB,EAAE,KAAK;IAC/B,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,IAAI;CACpB,CAAC;AAEW,QAAA,wBAAwB,GAAmC;IACvE,CAAC,sBAAc,CAAC,MAAM,CAAC,EAAE,CAAC;IAC1B,CAAC,sBAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC5B,CAAC,sBAAc,CAAC,OAAO,CAAC,EAAE,CAAC;CAC3B,CAAC;AAEW,QAAA,+BAA+B,GAAG;IAC9C,aAAa;IACb,gBAAgB;IAChB,qBAAqB;IACrB,mBAAmB;CACnB,CAAC;AACF,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/employees/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,oCAA0C;AAE7B,QAAA,+BAA+B,GAA0B;IACrE,YAAY,EAAE,IAAI;IAClB,wBAAwB,EAAE,KAAK;IAC/B,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,IAAI;CACpB,CAAC;AAEW,QAAA,wBAAwB,GAAmC;IACvE,CAAC,sBAAc,CAAC,MAAM,CAAC,EAAE,CAAC;IAC1B,CAAC,sBAAc,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC5B,CAAC,sBAAc,CAAC,OAAO,CAAC,EAAE,CAAC;CAC3B,CAAC;AAEW,QAAA,+BAA+B,GAAG;IAC9C,aAAa;IACb,gBAAgB;IAChB,qBAAqB;IACrB,mBAAmB;IACnB,mBAAmB;CACnB,CAAC;AACF,0CAAwB"}
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./consts"), exports);
|
|
18
18
|
__exportStar(require("./enums"), exports);
|
|
19
19
|
__exportStar(require("./interfaces"), exports);
|
|
20
|
+
__exportStar(require("./interfaces"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/employees/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,+CAA6B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface IEmployeeFacilities {
|
|
2
|
+
organizationId: number;
|
|
3
|
+
userId: number;
|
|
4
|
+
facilityIds: number[];
|
|
5
|
+
}
|
|
6
|
+
export interface IEmployeeFacilityAccessState {
|
|
7
|
+
defaultFacilityId: number | null;
|
|
8
|
+
facilityIds: number[];
|
|
9
|
+
}
|
|
10
|
+
export interface IFindFacilityAccessFilter {
|
|
11
|
+
organizationId: number;
|
|
12
|
+
facilityIds?: number[];
|
|
13
|
+
userIds?: number[];
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"employee-facility-access.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/employees/types/interfaces/employee-facility-access.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './employee-facility-access.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("./employee-facility-access.interfaces"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/employees/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wEAAsD"}
|
|
@@ -4,10 +4,12 @@ import { CustomerTypeEnum, GenderEnum, ResourceNameTypeEnum } from '../../servic
|
|
|
4
4
|
import { IUpdateUser } from '../../user/types/user.interfaces';
|
|
5
5
|
import { EmployeeStatus } from './enums';
|
|
6
6
|
export interface IUpdateEmployeeProfile extends IUpdateUser {
|
|
7
|
+
defaultFacilityId?: number | null;
|
|
7
8
|
referenceId?: string;
|
|
8
9
|
employeeStatus?: EmployeeStatus;
|
|
9
10
|
employmentEndDate?: Date;
|
|
10
11
|
employmentStartDate?: Date;
|
|
12
|
+
facilityIds?: number[];
|
|
11
13
|
rolesIdsToAdd?: number[];
|
|
12
14
|
rolesIdsToRemove?: number[];
|
|
13
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { League } from '../entity/League';
|
|
2
|
+
import { Facility } from '../facilities/entities/Facility';
|
|
2
3
|
import { SeasonScheduleStatusEnum } from '../services/enums.service';
|
|
3
4
|
import { BondBaseEntity } from './BondBaseEntity';
|
|
4
|
-
import { Facility } from './Facility';
|
|
5
5
|
import { PurchasedResource } from './PurchasedResources';
|
|
6
6
|
import { SeasonAttendee } from './SeasonAttendees';
|
|
7
7
|
export declare class LeagueSeason extends BondBaseEntity {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LeagueSeason.js","sourceRoot":"","sources":["../../../src/types/entity/LeagueSeason.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"LeagueSeason.js","sourceRoot":"","sources":["../../../src/types/entity/LeagueSeason.ts"],"names":[],"mappings":";;;AAMA,qDAAkD;AAKlD,MAAa,YAAa,SAAQ,+BAAc;CA8E/C;AA9ED,oCA8EC;AAED,MAAa,qBAAqB;IAAlC;QACC,WAAM,GAAa,KAAK,CAAC;QACzB,eAAU,GAAa,KAAK,CAAC;IAC9B,CAAC;CAAA;AAHD,sDAGC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Facility } from '../facilities/entities/Facility';
|
|
1
2
|
import { ProductCategory } from '../product-pricing/entities/product-category.entity';
|
|
2
3
|
import { StationToProductCategory } from '../product-pricing/entities/station-to-product-category.entity';
|
|
3
4
|
import { Shift } from '../shifts/entities/shift.entity';
|
|
4
|
-
import { Facility } from './Facility';
|
|
5
5
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
6
6
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
7
7
|
name: string;
|
|
@@ -18,8 +18,6 @@ export * from './EntitlementTerms';
|
|
|
18
18
|
export * from './EventAttendees';
|
|
19
19
|
export * from './EventHistory';
|
|
20
20
|
export * from './Events';
|
|
21
|
-
export * from './Facility';
|
|
22
|
-
export * from './FacilityToResource';
|
|
23
21
|
export * from './FamilyAccount';
|
|
24
22
|
export * from './Group';
|
|
25
23
|
export * from './GroupItemsPricing';
|
|
@@ -35,7 +33,6 @@ export * from './LineItemHistory';
|
|
|
35
33
|
export * from './LineItems';
|
|
36
34
|
export * from './LinkedAccounts';
|
|
37
35
|
export * from './NotificationSubscriptions';
|
|
38
|
-
export * from './OpeningTime';
|
|
39
36
|
export * from './OrganizationConnectionBaseEntity';
|
|
40
37
|
export * from './PackageV1';
|
|
41
38
|
export * from './PasswordReset';
|
|
@@ -34,8 +34,6 @@ __exportStar(require("./EntitlementTerms"), exports);
|
|
|
34
34
|
__exportStar(require("./EventAttendees"), exports);
|
|
35
35
|
__exportStar(require("./EventHistory"), exports);
|
|
36
36
|
__exportStar(require("./Events"), exports);
|
|
37
|
-
__exportStar(require("./Facility"), exports);
|
|
38
|
-
__exportStar(require("./FacilityToResource"), exports);
|
|
39
37
|
__exportStar(require("./FamilyAccount"), exports);
|
|
40
38
|
__exportStar(require("./Group"), exports);
|
|
41
39
|
__exportStar(require("./GroupItemsPricing"), exports);
|
|
@@ -51,7 +49,6 @@ __exportStar(require("./LineItemHistory"), exports);
|
|
|
51
49
|
__exportStar(require("./LineItems"), exports);
|
|
52
50
|
__exportStar(require("./LinkedAccounts"), exports);
|
|
53
51
|
__exportStar(require("./NotificationSubscriptions"), exports);
|
|
54
|
-
__exportStar(require("./OpeningTime"), exports);
|
|
55
52
|
__exportStar(require("./OrganizationConnectionBaseEntity"), exports);
|
|
56
53
|
__exportStar(require("./PackageV1"), exports);
|
|
57
54
|
__exportStar(require("./PasswordReset"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/entity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,uDAAqC;AACrC,8CAA4B;AAC5B,kDAAgC;AAChC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,8DAA4C;AAC5C,kDAAgC;AAChC,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/entity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,uDAAqC;AACrC,8CAA4B;AAC5B,kDAAgC;AAChC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,8DAA4C;AAC5C,kDAAgC;AAChC,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,kDAAgC;AAChC,0CAAwB;AACxB,sDAAoC;AACpC,sDAAoC;AACpC,4CAA0B;AAC1B,mDAAiC;AACjC,iDAA+B;AAC/B,gDAA8B;AAC9B,qDAAmC;AACnC,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,8CAA4B;AAC5B,mDAAiC;AACjC,8DAA4C;AAC5C,qEAAmD;AACnD,8CAA4B;AAC5B,kDAAgC;AAChC,mDAAiC;AACjC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iEAA+C;AAC/C,kDAAgC;AAChC,uDAAqC;AACrC,2DAAyC;AACzC,kDAAgC;AAChC,2CAAyB;AACzB,oDAAkC;AAClC,oDAAkC;AAClC,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,yCAAuB;AACvB,+CAA6B;AAC7B,+CAA6B;AAC7B,qDAAmC;AACnC,uDAAqC;AACrC,wDAAsC;AACtC,iDAA+B;AAC/B,kDAAgC;AAChC,6CAA2B;AAC3B,wDAAsC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AddressDto } from '
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { AddressDto } from '../../address/dto/address.dto';
|
|
2
|
+
import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
|
3
|
+
import { OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
4
4
|
export declare class OptionalFacilityIdDto extends OptionalOrganizationIdDto {
|
|
5
5
|
facilityId?: number;
|
|
6
6
|
}
|
|
@@ -16,7 +16,6 @@ export declare class CreateFacilityDto {
|
|
|
16
16
|
longDescription?: string;
|
|
17
17
|
info?: string;
|
|
18
18
|
address: AddressDto;
|
|
19
|
-
timezone: string;
|
|
20
19
|
amenities: number[];
|
|
21
20
|
openingTimes: OpeningTimeDto[];
|
|
22
21
|
resourcesIds?: number[];
|
|
@@ -50,7 +49,6 @@ export declare class UpdateFacilityDetailsDto {
|
|
|
50
49
|
longDescription?: string;
|
|
51
50
|
info?: string;
|
|
52
51
|
address?: AddressDto;
|
|
53
|
-
timezone?: string;
|
|
54
52
|
}
|
|
55
53
|
export declare class UpdateFacilityOpeningTimesDto {
|
|
56
54
|
openingTimes: OpeningTimeDto[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SimpleFacilityDto = exports.BasicFacilityDto = exports.FindFacilitiesOptionsDto = exports.UpdateFacilityAmenitiesDto = exports.UpdateFacilitySportsDto = exports.UpdateFacilityOpeningTimesDto = exports.UpdateFacilityDetailsDto = exports.FacilityDto = exports.CreateFacilityDto = exports.OpeningTimeDto = exports.OptionalFacilityIdDto = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
5
|
+
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
6
6
|
class OptionalFacilityIdDto extends organization_dto_1.OptionalOrganizationIdDto {
|
|
7
7
|
}
|
|
8
8
|
exports.OptionalFacilityIdDto = OptionalFacilityIdDto;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../../src/types/facilities/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsE;AACtE,8EAAoF;AAEpF,MAAa,qBAAsB,SAAQ,4CAAyB;CAEnE;AAFD,sDAEC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC;AAED,MAAa,iBAAiB;CAkB7B;AAlBD,8CAkBC;AAED,MAAa,WAAW;CA0CvB;AA1CD,kCA0CC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAE5D;AAFD,4DAEC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAEjD;AAFD,4CAEC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAElD;AAFD,8CAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './facilities.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("./facilities.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/facilities/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Address } from '
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { Address } from '../../address/entities/Address';
|
|
2
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
3
|
+
import { Media } from '../../media/entities/Media';
|
|
4
|
+
import { Product } from '../../product-pricing/entities/product.entity';
|
|
5
|
+
import { ProgramSeason } from '../../programs-seasons/entities/ProgramSeason';
|
|
6
|
+
import { Resource } from '../../resources/entities/Resource';
|
|
7
|
+
import { TipConfiguration } from '../../tip-configurations/entities/TipConfiguration';
|
|
7
8
|
import { OpeningTime } from './OpeningTime';
|
|
8
|
-
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
9
9
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
10
10
|
name: string;
|
|
11
11
|
description?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Facility = void 0;
|
|
4
|
-
const OrganizationConnectionBaseEntity_1 = require("
|
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
5
5
|
class Facility extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
6
|
}
|
|
7
7
|
exports.Facility = Facility;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Facility.js","sourceRoot":"","sources":["../../../../src/types/facilities/entities/Facility.ts"],"names":[],"mappings":";;;AAcA,oGAAiG;AASjG,MAAa,QAAS,SAAQ,mEAAgC;CAyD7D;AAzDD,4BAyDC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
2
|
+
import { Resource } from '../../resources/entities/Resource';
|
|
3
3
|
import { Facility } from './Facility';
|
|
4
4
|
export declare class FacilityToResource extends BondBaseEntity {
|
|
5
5
|
facilityId: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FacilityToResource = void 0;
|
|
4
|
-
const BondBaseEntity_1 = require("
|
|
4
|
+
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
|
5
5
|
class FacilityToResource extends BondBaseEntity_1.BondBaseEntity {
|
|
6
6
|
}
|
|
7
7
|
exports.FacilityToResource = FacilityToResource;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FacilityToResource.js","sourceRoot":"","sources":["../../../../src/types/facilities/entities/FacilityToResource.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAK7D,MAAa,kBAAmB,SAAQ,+BAAc;CAQrD;AARD,gDAQC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
1
2
|
import { Facility } from './Facility';
|
|
2
|
-
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
3
3
|
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
4
4
|
dayOfWeek: number;
|
|
5
5
|
open: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.OpeningTime = void 0;
|
|
4
|
-
const OrganizationConnectionBaseEntity_1 = require("
|
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
5
5
|
class OpeningTime extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
6
|
}
|
|
7
7
|
exports.OpeningTime = OpeningTime;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OpeningTime.js","sourceRoot":"","sources":["../../../../src/types/facilities/entities/OpeningTime.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAIjG,MAAa,WAAY,SAAQ,mEAAgC;CAgBhE;AAhBD,kCAgBC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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("./Facility"), exports);
|
|
18
|
+
__exportStar(require("./FacilityToResource"), exports);
|
|
19
|
+
__exportStar(require("./OpeningTime"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/facilities/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,uDAAqC;AACrC,gDAA8B"}
|
|
@@ -14,5 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dto"), exports);
|
|
18
|
+
__exportStar(require("./entities"), exports);
|
|
17
19
|
__exportStar(require("./types"), exports);
|
|
18
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/facilities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/facilities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface IUpdateFacilityDetails {
|
|
1
|
+
import { UpdateFacilityDetailsDto } from '../dto/facilities.dto';
|
|
2
|
+
export interface IUpdateFacilityDetails extends UpdateFacilityDetailsDto {
|
|
3
3
|
stripeConfigurationId?: string | null;
|
|
4
4
|
tipConfigId?: number | null;
|
|
5
|
-
address?: IAddressMandatoryFields;
|
|
6
|
-
description?: string;
|
|
7
|
-
info?: string;
|
|
8
|
-
longDescription?: string;
|
|
9
|
-
name?: string;
|
|
10
|
-
timezone?: string;
|
|
11
5
|
}
|
|
12
6
|
export interface IFacilityNameAndCoordinates {
|
|
13
7
|
coordinates: number[];
|
|
14
8
|
facilityName: string;
|
|
15
9
|
}
|
|
16
10
|
export type FacilityRelation = 'address' | 'mainMedia' | 'openingTimes' | 'spaces' | 'resources' | 'programSeasons' | 'tipConfiguration' | 'products';
|
|
17
|
-
export interface
|
|
11
|
+
export interface IFindFacilitiesOptions {
|
|
12
|
+
organizationId?: number;
|
|
18
13
|
facilityIds?: number[];
|
|
19
14
|
hasLocation?: boolean;
|
|
20
15
|
hasStripeConfig?: boolean;
|
|
21
16
|
isTipConfigured?: boolean;
|
|
17
|
+
nameSearch?: string;
|
|
22
18
|
relations?: FacilityRelation[];
|
|
23
19
|
}
|