@bondsports/types 2.4.69-a-4 → 2.4.69-a-6

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.
Files changed (104) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/checkout-questionnaires/types/checkout-questionnaires.types.d.ts +1 -1
  3. package/dist/types/customers/dto/customer.dto.js.map +1 -1
  4. package/dist/types/dto/application.dto.js.map +1 -1
  5. package/dist/types/dto/events.dto.d.ts +1 -0
  6. package/dist/types/dto/events.dto.js.map +1 -1
  7. package/dist/types/dto/station.dto.d.ts +4 -0
  8. package/dist/types/dto/station.dto.js +4 -1
  9. package/dist/types/dto/station.dto.js.map +1 -1
  10. package/dist/types/employees/dto/employee.dto.d.ts +4 -16
  11. package/dist/types/employees/dto/employee.dto.js +1 -10
  12. package/dist/types/employees/dto/employee.dto.js.map +1 -1
  13. package/dist/types/employees/types/interfaces/employee-facility-access.interfaces.d.ts +4 -0
  14. package/dist/types/entity/index.d.ts +0 -3
  15. package/dist/types/entity/index.js +0 -3
  16. package/dist/types/entity/index.js.map +1 -1
  17. package/dist/types/folders/types/folder-restrictions.consts.d.ts +19 -0
  18. package/dist/types/folders/types/folder-restrictions.consts.js +20 -1
  19. package/dist/types/folders/types/folder-restrictions.consts.js.map +1 -1
  20. package/dist/types/folders/types/interfaces/folder-restrictions.interfaces.d.ts +1 -0
  21. package/dist/types/index.d.ts +1 -0
  22. package/dist/types/index.js +1 -0
  23. package/dist/types/index.js.map +1 -1
  24. package/dist/types/leagues-scheduler/types/interfaces.d.ts +5 -0
  25. package/dist/types/leagues-scheduler/types/interfaces.js.map +1 -1
  26. package/dist/types/membership/dto/eligible-members.dto.d.ts +2 -8
  27. package/dist/types/membership/dto/eligible-members.dto.js +1 -4
  28. package/dist/types/membership/dto/eligible-members.dto.js.map +1 -1
  29. package/dist/types/membership/types/membership.interfaces.d.ts +4 -9
  30. package/dist/types/notifications/dto/index.d.ts +1 -0
  31. package/dist/types/notifications/dto/index.js +1 -0
  32. package/dist/types/notifications/dto/index.js.map +1 -1
  33. package/dist/types/notifications/dto/notification-subscriptions.dto.d.ts +28 -0
  34. package/dist/types/notifications/dto/notification-subscriptions.dto.js +24 -0
  35. package/dist/types/notifications/dto/notification-subscriptions.dto.js.map +1 -0
  36. package/dist/types/notifications/dto/notification.create.dto.d.ts +5 -0
  37. package/dist/types/notifications/dto/notification.create.dto.js +6 -2
  38. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  39. package/dist/types/notifications/entities/index.d.ts +2 -0
  40. package/dist/types/notifications/entities/index.js +19 -0
  41. package/dist/types/notifications/entities/index.js.map +1 -0
  42. package/dist/types/notifications/entities/notification-subscription-to-facility.entity.d.ts +10 -0
  43. package/dist/types/notifications/entities/notification-subscription-to-facility.entity.js +8 -0
  44. package/dist/types/notifications/entities/notification-subscription-to-facility.entity.js.map +1 -0
  45. package/dist/types/notifications/entities/notification-subscription.entity.d.ts +12 -0
  46. package/dist/types/{entity/NotificationSubscriptions.js → notifications/entities/notification-subscription.entity.js} +2 -2
  47. package/dist/types/notifications/entities/notification-subscription.entity.js.map +1 -0
  48. package/dist/types/notifications/index.d.ts +1 -0
  49. package/dist/types/notifications/index.js +1 -0
  50. package/dist/types/notifications/index.js.map +1 -1
  51. package/dist/types/notifications/types/consts/notification.consts.d.ts +1 -0
  52. package/dist/types/notifications/types/consts/notification.consts.js +2 -1
  53. package/dist/types/notifications/types/consts/notification.consts.js.map +1 -1
  54. package/dist/types/notifications/types/enums/notification.enums.d.ts +5 -0
  55. package/dist/types/notifications/types/enums/notification.enums.js +7 -1
  56. package/dist/types/notifications/types/enums/notification.enums.js.map +1 -1
  57. package/dist/types/notifications/types/interfaces/index.d.ts +1 -0
  58. package/dist/types/notifications/types/interfaces/index.js +1 -0
  59. package/dist/types/notifications/types/interfaces/index.js.map +1 -1
  60. package/dist/types/notifications/types/interfaces/notification-subscriptions.interfaces.d.ts +28 -0
  61. package/dist/types/notifications/types/interfaces/notification-subscriptions.interfaces.js +3 -0
  62. package/dist/types/notifications/types/interfaces/notification-subscriptions.interfaces.js.map +1 -0
  63. package/dist/types/product-pricing/entities/product-category.entity.d.ts +1 -1
  64. package/dist/types/product-pricing/entities/station-to-product-category.entity.d.ts +1 -1
  65. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +1 -1
  66. package/dist/types/resources/dto/space.dto.d.ts +1 -1
  67. package/dist/types/resources/dto/space.dto.js.map +1 -1
  68. package/dist/types/resources/entities/Space.d.ts +1 -1
  69. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +1 -1
  70. package/dist/types/services/interfaces.service.d.ts +2 -0
  71. package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
  72. package/dist/types/stations/dto/index.d.ts +1 -0
  73. package/dist/types/stations/dto/index.js +18 -0
  74. package/dist/types/stations/dto/index.js.map +1 -0
  75. package/dist/types/stations/dto/stations.dto.d.ts +7 -0
  76. package/dist/types/stations/dto/stations.dto.js +11 -0
  77. package/dist/types/stations/dto/stations.dto.js.map +1 -0
  78. package/dist/types/stations/entities/index.d.ts +1 -0
  79. package/dist/types/stations/entities/index.js +18 -0
  80. package/dist/types/stations/entities/index.js.map +1 -0
  81. package/dist/types/stations/entities/station.entity.d.ts +17 -0
  82. package/dist/types/{entity/Station.js → stations/entities/station.entity.js} +2 -2
  83. package/dist/types/stations/entities/station.entity.js.map +1 -0
  84. package/dist/types/stations/index.d.ts +3 -0
  85. package/dist/types/stations/index.js +20 -0
  86. package/dist/types/stations/index.js.map +1 -0
  87. package/dist/types/stations/types/index.d.ts +1 -0
  88. package/dist/types/stations/types/index.js +18 -0
  89. package/dist/types/stations/types/index.js.map +1 -0
  90. package/dist/types/stations/types/interfaces/index.d.ts +1 -0
  91. package/dist/types/stations/types/interfaces/index.js +18 -0
  92. package/dist/types/stations/types/interfaces/index.js.map +1 -0
  93. package/dist/types/stations/types/interfaces/stations.interfaces.d.ts +3 -0
  94. package/dist/types/stations/types/interfaces/stations.interfaces.js +3 -0
  95. package/dist/types/stations/types/interfaces/stations.interfaces.js.map +1 -0
  96. package/dist/types/user/types/user.interfaces.d.ts +2 -2
  97. package/package.json +1 -1
  98. package/dist/types/entity/NotificationSubscriptions.d.ts +0 -8
  99. package/dist/types/entity/NotificationSubscriptions.js.map +0 -1
  100. package/dist/types/entity/School.d.ts +0 -9
  101. package/dist/types/entity/School.js +0 -8
  102. package/dist/types/entity/School.js.map +0 -1
  103. package/dist/types/entity/Station.d.ts +0 -17
  104. package/dist/types/entity/Station.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-subscription.entity.js","sourceRoot":"","sources":["../../../../src/types/notifications/entities/notification-subscription.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,yBAA0B,SAAQ,mEAAgC;CAY9E;AAZD,8DAYC"}
@@ -1,2 +1,3 @@
1
1
  export * from './dto';
2
+ export * from './entities';
2
3
  export * from './types';
@@ -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/notifications/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/notifications/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
@@ -2,3 +2,4 @@ export declare const DEFAULT_NOTIFICATION_CLASSIFICATION: "TRANSACTIONAL";
2
2
  export declare const DEFAULT_NOTIFICATION_DELIVERY_CHANNEL: "EMAIL";
3
3
  export declare const EMAIL_REGEX: RegExp;
4
4
  export declare const MAX_HTTP_REQUESTS = 10;
5
+ export declare const MAX_NOTIFICATION_SUBSCRIPTIONS_PER_REQUEST = 100;
@@ -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"}
@@ -1,2 +1,3 @@
1
+ export * from './notification-subscriptions.interfaces';
1
2
  export * from './notification.interfaces';
2
3
  export * from './resources-notifications.interfaces';
@@ -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
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=notification-subscriptions.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-subscriptions.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/interfaces/notification-subscriptions.interfaces.ts"],"names":[],"mappings":""}
@@ -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;AAcxD,iDAA6F;AAG7F,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
+ {"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,6 +183,7 @@ 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;
@@ -273,6 +274,7 @@ export interface ISegmentEventCount {
273
274
  }
274
275
  export interface IEventAttendeeNotificationData {
275
276
  eventId: number;
277
+ facilityId: number | null;
276
278
  userId: number;
277
279
  email: string;
278
280
  firstName: 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,7 @@
1
+ import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
2
+ export declare class StationIdParamsDto extends ByOrganizationIdDto {
3
+ stationId: number;
4
+ }
5
+ export declare class GetStationsQueryDto {
6
+ facilityId?: number;
7
+ }
@@ -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("./OrganizationConnectionBaseEntity");
4
+ const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
5
5
  class Station extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
6
6
  }
7
7
  exports.Station = Station;
8
- //# sourceMappingURL=Station.js.map
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,3 @@
1
+ export * from './dto';
2
+ export * from './entities';
3
+ export * from './types';
@@ -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,3 @@
1
+ export interface ITerminalTokenResponse {
2
+ terminalToken: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=stations.interfaces.js.map
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.4.69-a-4",
3
+ "version": "2.4.69-a-6",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -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,9 +0,0 @@
1
- import { BondBaseEntity } from './BondBaseEntity';
2
- export declare class School extends BondBaseEntity {
3
- name: string | null;
4
- alias: string[] | null;
5
- addressId: number | null;
6
- website: string | null;
7
- phone: string | null;
8
- dataId: number | null;
9
- }
@@ -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"}