@bondsports/types 2.4.69-a-5 → 2.4.69-a-7
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/checkout-questionnaires/types/checkout-questionnaires.types.d.ts +1 -1
- package/dist/types/customers/dto/customer.dto.js.map +1 -1
- package/dist/types/dto/application.dto.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +1 -1
- package/dist/types/dto/station.dto.d.ts +4 -0
- package/dist/types/dto/station.dto.js +4 -1
- package/dist/types/dto/station.dto.js.map +1 -1
- package/dist/types/employees/dto/employee.dto.d.ts +1 -11
- package/dist/types/employees/dto/employee.dto.js +1 -4
- package/dist/types/employees/dto/employee.dto.js.map +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/folders/types/folder-restrictions.consts.d.ts +19 -0
- package/dist/types/folders/types/folder-restrictions.consts.js +20 -1
- package/dist/types/folders/types/folder-restrictions.consts.js.map +1 -1
- package/dist/types/folders/types/interfaces/folder-restrictions.interfaces.d.ts +1 -0
- 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/leagues-scheduler/types/interfaces.d.ts +5 -0
- package/dist/types/leagues-scheduler/types/interfaces.js.map +1 -1
- package/dist/types/membership/dto/eligible-members.dto.d.ts +2 -8
- package/dist/types/membership/dto/eligible-members.dto.js +1 -4
- package/dist/types/membership/dto/eligible-members.dto.js.map +1 -1
- package/dist/types/membership/types/membership.interfaces.d.ts +4 -9
- package/dist/types/notifications/dto/index.d.ts +1 -0
- package/dist/types/notifications/dto/index.js +1 -0
- package/dist/types/notifications/dto/index.js.map +1 -1
- package/dist/types/notifications/dto/notification-subscriptions.dto.d.ts +28 -0
- package/dist/types/notifications/dto/notification-subscriptions.dto.js +24 -0
- package/dist/types/notifications/dto/notification-subscriptions.dto.js.map +1 -0
- package/dist/types/notifications/dto/notification.create.dto.d.ts +5 -0
- package/dist/types/notifications/dto/notification.create.dto.js +6 -2
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
- package/dist/types/notifications/entities/index.d.ts +2 -0
- package/dist/types/notifications/entities/index.js +19 -0
- package/dist/types/notifications/entities/index.js.map +1 -0
- package/dist/types/notifications/entities/notification-subscription-to-facility.entity.d.ts +10 -0
- package/dist/types/notifications/entities/notification-subscription-to-facility.entity.js +8 -0
- package/dist/types/notifications/entities/notification-subscription-to-facility.entity.js.map +1 -0
- package/dist/types/notifications/entities/notification-subscription.entity.d.ts +12 -0
- package/dist/types/{entity/NotificationSubscriptions.js → notifications/entities/notification-subscription.entity.js} +2 -2
- package/dist/types/notifications/entities/notification-subscription.entity.js.map +1 -0
- package/dist/types/notifications/index.d.ts +1 -0
- package/dist/types/notifications/index.js +1 -0
- package/dist/types/notifications/index.js.map +1 -1
- package/dist/types/notifications/types/consts/notification.consts.d.ts +1 -0
- package/dist/types/notifications/types/consts/notification.consts.js +2 -1
- package/dist/types/notifications/types/consts/notification.consts.js.map +1 -1
- package/dist/types/notifications/types/enums/notification.enums.d.ts +5 -0
- package/dist/types/notifications/types/enums/notification.enums.js +7 -1
- package/dist/types/notifications/types/enums/notification.enums.js.map +1 -1
- package/dist/types/notifications/types/interfaces/index.d.ts +1 -0
- package/dist/types/notifications/types/interfaces/index.js +1 -0
- package/dist/types/notifications/types/interfaces/index.js.map +1 -1
- package/dist/types/notifications/types/interfaces/notification-subscriptions.interfaces.d.ts +28 -0
- package/dist/types/notifications/types/interfaces/notification-subscriptions.interfaces.js +3 -0
- package/dist/types/notifications/types/interfaces/notification-subscriptions.interfaces.js.map +1 -0
- package/dist/types/notifications/types/interfaces/notification.interfaces.d.ts +6 -0
- package/dist/types/product-pricing/dto/product-categories.dto.d.ts +2 -0
- package/dist/types/product-pricing/dto/product-categories.dto.js.map +1 -1
- package/dist/types/product-pricing/entities/product-category.entity.d.ts +1 -1
- package/dist/types/product-pricing/entities/station-to-product-category.entity.d.ts +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +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/Space.d.ts +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +1 -1
- package/dist/types/services/interfaces.service.d.ts +2 -2
- package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
- package/dist/types/stations/dto/index.d.ts +1 -0
- package/dist/types/stations/dto/index.js +18 -0
- package/dist/types/stations/dto/index.js.map +1 -0
- package/dist/types/stations/dto/stations.dto.d.ts +7 -0
- package/dist/types/stations/dto/stations.dto.js +11 -0
- package/dist/types/stations/dto/stations.dto.js.map +1 -0
- package/dist/types/stations/entities/index.d.ts +1 -0
- package/dist/types/stations/entities/index.js +18 -0
- package/dist/types/stations/entities/index.js.map +1 -0
- package/dist/types/stations/entities/station.entity.d.ts +17 -0
- package/dist/types/{entity/Station.js → stations/entities/station.entity.js} +2 -2
- package/dist/types/stations/entities/station.entity.js.map +1 -0
- package/dist/types/stations/index.d.ts +3 -0
- package/dist/types/stations/index.js +20 -0
- package/dist/types/stations/index.js.map +1 -0
- package/dist/types/stations/types/index.d.ts +1 -0
- package/dist/types/stations/types/index.js +18 -0
- package/dist/types/stations/types/index.js.map +1 -0
- package/dist/types/stations/types/interfaces/index.d.ts +1 -0
- package/dist/types/stations/types/interfaces/index.js +18 -0
- package/dist/types/stations/types/interfaces/index.js.map +1 -0
- package/dist/types/stations/types/interfaces/stations.interfaces.d.ts +3 -0
- package/dist/types/stations/types/interfaces/stations.interfaces.js +3 -0
- package/dist/types/stations/types/interfaces/stations.interfaces.js.map +1 -0
- package/dist/types/user/types/user.interfaces.d.ts +2 -2
- package/package.json +1 -1
- package/dist/types/entity/NotificationSubscriptions.d.ts +0 -8
- package/dist/types/entity/NotificationSubscriptions.js.map +0 -1
- package/dist/types/entity/School.d.ts +0 -9
- package/dist/types/entity/School.js +0 -8
- package/dist/types/entity/School.js.map +0 -1
- package/dist/types/entity/Station.d.ts +0 -17
- package/dist/types/entity/Station.js.map +0 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MAX_HTTP_REQUESTS = exports.EMAIL_REGEX = exports.DEFAULT_NOTIFICATION_DELIVERY_CHANNEL = exports.DEFAULT_NOTIFICATION_CLASSIFICATION = void 0;
|
|
3
|
+
exports.MAX_NOTIFICATION_SUBSCRIPTIONS_PER_REQUEST = exports.MAX_HTTP_REQUESTS = exports.EMAIL_REGEX = exports.DEFAULT_NOTIFICATION_DELIVERY_CHANNEL = exports.DEFAULT_NOTIFICATION_CLASSIFICATION = void 0;
|
|
4
4
|
const notifications_sdk_1 = require("@bondsports/notifications-sdk");
|
|
5
5
|
exports.DEFAULT_NOTIFICATION_CLASSIFICATION = notifications_sdk_1.NotificationClassification.TRANSACTIONAL;
|
|
6
6
|
exports.DEFAULT_NOTIFICATION_DELIVERY_CHANNEL = notifications_sdk_1.NotificationDeliveryChannel.EMAIL;
|
|
7
7
|
exports.EMAIL_REGEX = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
|
8
8
|
exports.MAX_HTTP_REQUESTS = 10;
|
|
9
|
+
exports.MAX_NOTIFICATION_SUBSCRIPTIONS_PER_REQUEST = 100;
|
|
9
10
|
//# sourceMappingURL=notification.consts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.consts.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/consts/notification.consts.ts"],"names":[],"mappings":";;;AAAA,qEAAwG;AAE3F,QAAA,mCAAmC,GAAG,8CAA0B,CAAC,aAAa,CAAC;AAE/E,QAAA,qCAAqC,GAAG,+CAA2B,CAAC,KAAK,CAAC;AAE1E,QAAA,WAAW,GAAG,4BAA4B,CAAC;AAE3C,QAAA,iBAAiB,GAAG,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"notification.consts.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/consts/notification.consts.ts"],"names":[],"mappings":";;;AAAA,qEAAwG;AAE3F,QAAA,mCAAmC,GAAG,8CAA0B,CAAC,aAAa,CAAC;AAE/E,QAAA,qCAAqC,GAAG,+CAA2B,CAAC,KAAK,CAAC;AAE1E,QAAA,WAAW,GAAG,4BAA4B,CAAC;AAE3C,QAAA,iBAAiB,GAAG,EAAE,CAAC;AAEvB,QAAA,0CAA0C,GAAG,GAAG,CAAC"}
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
import { NotificationClassification, NotificationDeliveryChannel, SendErrorCode } from '@bondsports/notifications-sdk';
|
|
2
2
|
export { NotificationClassification, NotificationDeliveryChannel, SendErrorCode };
|
|
3
|
+
export declare enum NotificationSubscriptionOrderByEnum {
|
|
4
|
+
NAME = "name",
|
|
5
|
+
EMAIL = "email",
|
|
6
|
+
CREATED_AT = "createdAt"
|
|
7
|
+
}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SendErrorCode = exports.NotificationDeliveryChannel = exports.NotificationClassification = void 0;
|
|
3
|
+
exports.NotificationSubscriptionOrderByEnum = exports.SendErrorCode = exports.NotificationDeliveryChannel = exports.NotificationClassification = void 0;
|
|
4
4
|
const notifications_sdk_1 = require("@bondsports/notifications-sdk");
|
|
5
5
|
Object.defineProperty(exports, "NotificationClassification", { enumerable: true, get: function () { return notifications_sdk_1.NotificationClassification; } });
|
|
6
6
|
Object.defineProperty(exports, "NotificationDeliveryChannel", { enumerable: true, get: function () { return notifications_sdk_1.NotificationDeliveryChannel; } });
|
|
7
7
|
Object.defineProperty(exports, "SendErrorCode", { enumerable: true, get: function () { return notifications_sdk_1.SendErrorCode; } });
|
|
8
|
+
var NotificationSubscriptionOrderByEnum;
|
|
9
|
+
(function (NotificationSubscriptionOrderByEnum) {
|
|
10
|
+
NotificationSubscriptionOrderByEnum["NAME"] = "name";
|
|
11
|
+
NotificationSubscriptionOrderByEnum["EMAIL"] = "email";
|
|
12
|
+
NotificationSubscriptionOrderByEnum["CREATED_AT"] = "createdAt";
|
|
13
|
+
})(NotificationSubscriptionOrderByEnum = exports.NotificationSubscriptionOrderByEnum || (exports.NotificationSubscriptionOrderByEnum = {}));
|
|
8
14
|
//# sourceMappingURL=notification.enums.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.enums.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/enums/notification.enums.ts"],"names":[],"mappings":";;;AAAA,qEAAuH;AAE9G,2GAFA,8CAA0B,OAEA;AAAE,4GAFA,+CAA2B,OAEA;AAAE,8FAFA,iCAAa,OAEA"}
|
|
1
|
+
{"version":3,"file":"notification.enums.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/enums/notification.enums.ts"],"names":[],"mappings":";;;AAAA,qEAAuH;AAE9G,2GAFA,8CAA0B,OAEA;AAAE,4GAFA,+CAA2B,OAEA;AAAE,8FAFA,iCAAa,OAEA;AAE/E,IAAY,mCAIX;AAJD,WAAY,mCAAmC;IAC9C,oDAAa,CAAA;IACb,sDAAe,CAAA;IACf,+DAAwB,CAAA;AACzB,CAAC,EAJW,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAI9C"}
|
|
@@ -14,6 +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("./notification-subscriptions.interfaces"), exports);
|
|
17
18
|
__exportStar(require("./notification.interfaces"), exports);
|
|
18
19
|
__exportStar(require("./resources-notifications.interfaces"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,uEAAqD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0EAAwD;AACxD,4DAA0C;AAC1C,uEAAqD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FindManyOptions } from 'typeorm';
|
|
2
|
+
import { OrderByEnum } from '../../../services/enums.service';
|
|
3
|
+
import { NotificationSubscriptionToFacility } from '../../entities/notification-subscription-to-facility.entity';
|
|
4
|
+
import { NotificationSubscriptions } from '../../entities/notification-subscription.entity';
|
|
5
|
+
import { NotificationSubscriptionOrderByEnum } from '../enums/notification.enums';
|
|
6
|
+
export interface INotificationSubscriptionsQueryOptions {
|
|
7
|
+
order?: OrderByEnum;
|
|
8
|
+
orderBy?: NotificationSubscriptionOrderByEnum;
|
|
9
|
+
search?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface IFacilityScopeValidationItem {
|
|
12
|
+
userId: number;
|
|
13
|
+
facilityIds: number[];
|
|
14
|
+
}
|
|
15
|
+
export interface ISubscriptionMergeTarget {
|
|
16
|
+
links: NotificationSubscriptionToFacility[];
|
|
17
|
+
subscription: NotificationSubscriptions;
|
|
18
|
+
}
|
|
19
|
+
export interface ISubscriptionReassignmentPlan {
|
|
20
|
+
duplicateSubscriptionIds: number[];
|
|
21
|
+
linkIdsToRemove: number[];
|
|
22
|
+
linksToReassign: NotificationSubscriptionToFacility[];
|
|
23
|
+
subscriptionsToReassign: NotificationSubscriptions[];
|
|
24
|
+
}
|
|
25
|
+
export interface IFindSubscriptionsByOrganizationOptions {
|
|
26
|
+
relations?: FindManyOptions<NotificationSubscriptions>['relations'];
|
|
27
|
+
usersIds?: number[];
|
|
28
|
+
}
|
package/dist/types/notifications/types/interfaces/notification-subscriptions.interfaces.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-subscriptions.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/interfaces/notification-subscriptions.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -18,11 +18,17 @@ export interface INotificationSender {
|
|
|
18
18
|
*/
|
|
19
19
|
organizationId?: number;
|
|
20
20
|
/**
|
|
21
|
+
* callers that already know the single sending facility and takes precedence for sender field resolution.
|
|
21
22
|
*/
|
|
22
23
|
facilityId?: number;
|
|
23
24
|
/**
|
|
24
25
|
*/
|
|
25
26
|
userId?: number;
|
|
27
|
+
/**
|
|
28
|
+
* to these facilities, and derives sender identity from them: a single facility uses that facility's sender
|
|
29
|
+
* and interpolation fields, while multiple facilities fall back to the organization's fields.
|
|
30
|
+
*/
|
|
31
|
+
facilitiesIds?: number[];
|
|
26
32
|
/**
|
|
27
33
|
*/
|
|
28
34
|
fromDisplayName?: string;
|
|
@@ -55,6 +55,8 @@ export declare class ByOrganizationAndCategoryIdDto extends ByOrganizationIdDto
|
|
|
55
55
|
}
|
|
56
56
|
export declare class GetStationProductCategoriesDto {
|
|
57
57
|
stationId?: number;
|
|
58
|
+
facilitiesIds?: number[];
|
|
59
|
+
hideEmpty?: boolean;
|
|
58
60
|
productType?: ProductTypesEnum;
|
|
59
61
|
}
|
|
60
62
|
export declare class IncludeProductsCountDto {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-categories.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-categories.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AAExD,8EAAyG;AAMzG,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAYrC;AAdD,4DAcC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAUrC;AAZD,4DAYC;AAED,MAAa,uBAAuC,SAAQ,4CAAyB;CAQpF;AARD,0DAQC;AAED,MAAa,kBAAkE,SAAQ,uBAA0B;CAQhH;AARD,gDAQC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAkB3D;AAlBD,0DAkBC;AAED,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,8BAA8B;
|
|
1
|
+
{"version":3,"file":"product-categories.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-categories.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AAExD,8EAAyG;AAMzG,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAYrC;AAdD,4DAcC;AAED,MAAa,wBAEX,SAAQ,4BAA4B;CAUrC;AAZD,4DAYC;AAED,MAAa,uBAAuC,SAAQ,4CAAyB;CAQpF;AARD,0DAQC;AAED,MAAa,kBAAkE,SAAQ,uBAA0B;CAQhH;AARD,gDAQC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAkB3D;AAlBD,0DAkBC;AAED,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,8BAA8B;CAQ1C;AARD,wEAQC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
2
|
-
import { Station } from '../../entity/Station';
|
|
3
2
|
import { ProductTypesEnum } from '../../services/enums.service';
|
|
3
|
+
import { Station } from '../../stations/entities/station.entity';
|
|
4
4
|
import { Product } from './product.entity';
|
|
5
5
|
import { StationToProductCategory } from './station-to-product-category.entity';
|
|
6
6
|
export declare class ProductCategory extends OrganizationConnectionBaseEntity {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
2
|
-
import { Station } from '../../entity/Station';
|
|
3
2
|
import { ProductTypesEnum } from '../../services/enums.service';
|
|
3
|
+
import { Station } from '../../stations/entities/station.entity';
|
|
4
4
|
import { ProductCategory } from './product-category.entity';
|
|
5
5
|
export declare class StationToProductCategory extends OrganizationConnectionBaseEntity {
|
|
6
6
|
stationId: number;
|
|
@@ -431,8 +431,8 @@ export interface IValidateEditSlotsOptions {
|
|
|
431
431
|
draftReservation?: DraftReservation;
|
|
432
432
|
includeEditInfo?: boolean;
|
|
433
433
|
reservation?: Reservation;
|
|
434
|
-
updatePrices?: IUpdateCartPrices;
|
|
435
434
|
skipSave?: boolean;
|
|
435
|
+
updatePrices?: IUpdateCartPrices;
|
|
436
436
|
}
|
|
437
437
|
export interface IEditItems {
|
|
438
438
|
editLineItems?: TReservationItemLineItem[];
|
|
@@ -3,10 +3,10 @@ import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
|
|
|
3
3
|
import { PaginationQuery } from '../../dto/general.dto';
|
|
4
4
|
import { FacilityDto } from '../../facilities/dto/facilities.dto';
|
|
5
5
|
import { ActivityEnum, OrderByEnum, ResourceAgesEnum, ResourceSubTypeEnum, ResourceTypeEnum, SpacePropertiesEnum, SurfacesEnum } from '../../services/enums.service';
|
|
6
|
+
import { AmenitiesEnum } from '../enums/resource.enums';
|
|
6
7
|
import { OrderByResourceEnum } from '../types/enums/resources.enums';
|
|
7
8
|
import { IGetResourcesOptions } from '../types/interfaces/resource.interfaces';
|
|
8
9
|
import { BaseResourceDto, ResourceDependenciesDto, UpdateResourceDto } from './resource.dto';
|
|
9
|
-
import { AmenitiesEnum } from '../enums/resource.enums';
|
|
10
10
|
export declare class SpaceResourceDto extends BaseResourceDto {
|
|
11
11
|
name: string;
|
|
12
12
|
resourceSubType: ResourceSubTypeEnum;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;
|
|
1
|
+
{"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AAexD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAoBpD;AApBD,4CAoBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CAgC1D;AAhCD,wCAgCC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAgC3D;AAhCD,0DAgCC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
|
2
2
|
import { ResourceSubTypeEnum, SpacePropertiesEnum, SurfacesEnum } from '../../services/enums.service';
|
|
3
|
-
import { Resource } from './Resource';
|
|
4
3
|
import { AmenitiesEnum } from '../enums/resource.enums';
|
|
4
|
+
import { Resource } from './Resource';
|
|
5
5
|
export declare class Space extends BondBaseEntity {
|
|
6
6
|
deletedAt?: Date;
|
|
7
7
|
resourceId: number;
|
|
@@ -29,8 +29,8 @@ export interface IGetResourcesOptions {
|
|
|
29
29
|
}
|
|
30
30
|
export interface IGetResourceByIdsOptions {
|
|
31
31
|
ignoreDeleted?: boolean;
|
|
32
|
-
includeAdditionalData?: boolean;
|
|
33
32
|
includeAccessibleFacilitiesIds?: boolean;
|
|
33
|
+
includeAdditionalData?: boolean;
|
|
34
34
|
includeFacilities?: boolean;
|
|
35
35
|
includeFullResource?: boolean;
|
|
36
36
|
includeProducts?: boolean;
|
|
@@ -183,13 +183,13 @@ export interface ISingleMemberForRenewal {
|
|
|
183
183
|
member_nextPaymentMethodId?: string;
|
|
184
184
|
member_organizationId: number;
|
|
185
185
|
member_userId: number;
|
|
186
|
+
membership_facilityId?: number;
|
|
186
187
|
product_productId: number;
|
|
187
188
|
endDate: Date;
|
|
188
189
|
invoice_paymentType: PaymentMethodTypeEnum;
|
|
189
190
|
member_answerTitleIds?: number[];
|
|
190
191
|
member_id: number;
|
|
191
192
|
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
192
|
-
membership_facilityId?: number;
|
|
193
193
|
membership_name: string;
|
|
194
194
|
product_productPrice: number;
|
|
195
195
|
user_email: string;
|
|
@@ -274,9 +274,9 @@ export interface ISegmentEventCount {
|
|
|
274
274
|
}
|
|
275
275
|
export interface IEventAttendeeNotificationData {
|
|
276
276
|
eventId: number;
|
|
277
|
+
facilityId: number | null;
|
|
277
278
|
userId: number;
|
|
278
279
|
email: string;
|
|
279
|
-
facilityId: number | null;
|
|
280
280
|
firstName: string;
|
|
281
281
|
lastName: string;
|
|
282
282
|
organizationName: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
2
|
-
import { Station } from '../../entity/Station';
|
|
3
2
|
import { PaymentMethodTypeEnum } from '../../payment/types/enums/payment.enums';
|
|
4
3
|
import { ShiftStatusEnum } from '../../services/enums.service';
|
|
4
|
+
import { Station } from '../../stations/entities/station.entity';
|
|
5
5
|
import { User } from '../../user/entities/User';
|
|
6
6
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
7
7
|
stationId: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './stations.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("./stations.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/stations/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetStationsQueryDto = exports.StationIdParamsDto = void 0;
|
|
4
|
+
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
5
|
+
class StationIdParamsDto extends organization_dto_1.ByOrganizationIdDto {
|
|
6
|
+
}
|
|
7
|
+
exports.StationIdParamsDto = StationIdParamsDto;
|
|
8
|
+
class GetStationsQueryDto {
|
|
9
|
+
}
|
|
10
|
+
exports.GetStationsQueryDto = GetStationsQueryDto;
|
|
11
|
+
//# sourceMappingURL=stations.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stations.dto.js","sourceRoot":"","sources":["../../../../src/types/stations/dto/stations.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAE9E,MAAa,kBAAmB,SAAQ,sCAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './station.entity';
|
|
@@ -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("./station.entity"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/stations/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
2
|
+
import { Facility } from '../../facilities/entities/Facility';
|
|
3
|
+
import { ProductCategory } from '../../product-pricing/entities/product-category.entity';
|
|
4
|
+
import { StationToProductCategory } from '../../product-pricing/entities/station-to-product-category.entity';
|
|
5
|
+
import { Shift } from '../../shifts/entities/shift.entity';
|
|
6
|
+
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
7
|
+
name: string;
|
|
8
|
+
facilityId: number;
|
|
9
|
+
facility: Facility;
|
|
10
|
+
processorTerminalId: string | null;
|
|
11
|
+
terminaLabel: string | null;
|
|
12
|
+
processorSerialNumber: string | null;
|
|
13
|
+
currentOpenShift?: Shift;
|
|
14
|
+
stationToProductCategories: StationToProductCategory[];
|
|
15
|
+
productCategories: ProductCategory[];
|
|
16
|
+
shifts?: Shift[];
|
|
17
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Station = void 0;
|
|
4
|
-
const OrganizationConnectionBaseEntity_1 = require("
|
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
|
5
5
|
class Station extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
6
|
}
|
|
7
7
|
exports.Station = Station;
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=station.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"station.entity.js","sourceRoot":"","sources":["../../../../src/types/stations/entities/station.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,OAAQ,SAAQ,mEAAgC;CAoB5D;AApBD,0BAoBC"}
|
|
@@ -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("./dto"), exports);
|
|
18
|
+
__exportStar(require("./entities"), exports);
|
|
19
|
+
__exportStar(require("./types"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/stations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './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("./interfaces"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/stations/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './stations.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("./stations.interfaces"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/stations/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stations.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/stations/types/interfaces/stations.interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -44,10 +44,10 @@ export interface IFieldChangeNotificationParameter {
|
|
|
44
44
|
old_value: string;
|
|
45
45
|
}
|
|
46
46
|
export interface IInstructorUsersResult {
|
|
47
|
-
meta: PaginationMetaDto;
|
|
48
47
|
data: User[];
|
|
49
|
-
instructors: Record<string, Resource[]>;
|
|
50
48
|
facilityIdsByUser: Record<string, number[]>;
|
|
49
|
+
instructors: Record<string, Resource[]>;
|
|
50
|
+
meta: PaginationMetaDto;
|
|
51
51
|
}
|
|
52
52
|
export interface IGetUserInformationOptions {
|
|
53
53
|
expand?: ExpandUserEnum[];
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NotificationTypeEnum } from '../services/enums.service';
|
|
2
|
-
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
3
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
4
|
-
email: string | null;
|
|
5
|
-
notificationType: NotificationTypeEnum | null;
|
|
6
|
-
resourceId: number | null;
|
|
7
|
-
resourceType: string | null;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationSubscriptions.js","sourceRoot":"","sources":["../../../src/types/entity/NotificationSubscriptions.ts"],"names":[],"mappings":";;;AAIA,yFAAsF;AAEtF,MAAa,yBAA0B,SAAQ,mEAAgC;CAQ9E;AARD,8DAQC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.School = void 0;
|
|
4
|
-
const BondBaseEntity_1 = require("./BondBaseEntity");
|
|
5
|
-
class School extends BondBaseEntity_1.BondBaseEntity {
|
|
6
|
-
}
|
|
7
|
-
exports.School = School;
|
|
8
|
-
//# sourceMappingURL=School.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"School.js","sourceRoot":"","sources":["../../../src/types/entity/School.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAElD,MAAa,MAAO,SAAQ,+BAAc;CAYzC;AAZD,wBAYC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Facility } from '../facilities/entities/Facility';
|
|
2
|
-
import { ProductCategory } from '../product-pricing/entities/product-category.entity';
|
|
3
|
-
import { StationToProductCategory } from '../product-pricing/entities/station-to-product-category.entity';
|
|
4
|
-
import { Shift } from '../shifts/entities/shift.entity';
|
|
5
|
-
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
6
|
-
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
7
|
-
name: string;
|
|
8
|
-
facilityId: number;
|
|
9
|
-
facility: Facility;
|
|
10
|
-
processorTerminalId: string | null;
|
|
11
|
-
terminaLabel: string | null;
|
|
12
|
-
processorSerialNumber: string | null;
|
|
13
|
-
currentOpenShift?: Shift;
|
|
14
|
-
stationToProductCategories: StationToProductCategory[];
|
|
15
|
-
productCategories: ProductCategory[];
|
|
16
|
-
shifts?: Shift[];
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Station.js","sourceRoot":"","sources":["../../../src/types/entity/Station.ts"],"names":[],"mappings":";;;AAOA,yFAAsF;AAEtF,MAAa,OAAQ,SAAQ,mEAAgC;CAoB5D;AApBD,0BAoBC"}
|