@bondsports/types 2.4.71 → 2.4.73

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 (217) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/cart/dto/cart-item.dto.d.ts +2 -0
  3. package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
  4. package/dist/types/cart/entities/cart-item.entity.d.ts +3 -0
  5. package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
  6. package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +1 -0
  7. package/dist/types/checkout-questionnaires/types/checkout-questionnaires.types.d.ts +1 -1
  8. package/dist/types/customers/dto/customer.dto.js.map +1 -1
  9. package/dist/types/dto/application.dto.js.map +1 -1
  10. package/dist/types/dto/events.dto.d.ts +1 -0
  11. package/dist/types/dto/events.dto.js.map +1 -1
  12. package/dist/types/dto/general.dto.d.ts +1 -0
  13. package/dist/types/dto/general.dto.js.map +1 -1
  14. package/dist/types/dto/package.dto.d.ts +1 -0
  15. package/dist/types/dto/package.dto.js.map +1 -1
  16. package/dist/types/employees/dto/employee.dto.d.ts +4 -16
  17. package/dist/types/employees/dto/employee.dto.js +1 -10
  18. package/dist/types/employees/dto/employee.dto.js.map +1 -1
  19. package/dist/types/employees/entities/EmployeeFacilityAccess.d.ts +2 -0
  20. package/dist/types/employees/entities/EmployeeFacilityAccess.js.map +1 -1
  21. package/dist/types/entity/LineItems.d.ts +3 -0
  22. package/dist/types/entity/LineItems.js.map +1 -1
  23. package/dist/types/entity/index.d.ts +0 -1
  24. package/dist/types/entity/index.js +0 -1
  25. package/dist/types/entity/index.js.map +1 -1
  26. package/dist/types/facilities/dto/facilities.dto.d.ts +22 -0
  27. package/dist/types/facilities/dto/facilities.dto.js.map +1 -1
  28. package/dist/types/facilities/entities/Facility.d.ts +2 -0
  29. package/dist/types/facilities/entities/Facility.js.map +1 -1
  30. package/dist/types/facilities/types/consts/facility.consts.d.ts +5 -0
  31. package/dist/types/facilities/types/consts/facility.consts.js +11 -0
  32. package/dist/types/facilities/types/consts/facility.consts.js.map +1 -0
  33. package/dist/types/facilities/types/consts/index.d.ts +1 -0
  34. package/dist/types/facilities/types/consts/index.js +18 -0
  35. package/dist/types/facilities/types/consts/index.js.map +1 -0
  36. package/dist/types/facilities/types/enums/facilities.enums.d.ts +4 -0
  37. package/dist/types/facilities/types/enums/facilities.enums.js +9 -0
  38. package/dist/types/facilities/types/enums/facilities.enums.js.map +1 -0
  39. package/dist/types/facilities/types/enums/index.d.ts +1 -0
  40. package/dist/types/facilities/types/enums/index.js +18 -0
  41. package/dist/types/facilities/types/enums/index.js.map +1 -0
  42. package/dist/types/facilities/types/facilities.types.d.ts +1 -21
  43. package/dist/types/facilities/types/facilities.types.js +0 -3
  44. package/dist/types/facilities/types/facilities.types.js.map +1 -1
  45. package/dist/types/facilities/types/index.d.ts +3 -0
  46. package/dist/types/facilities/types/index.js +3 -0
  47. package/dist/types/facilities/types/index.js.map +1 -1
  48. package/dist/types/facilities/types/interfaces/facilities.interfaces.d.ts +30 -0
  49. package/dist/types/facilities/types/interfaces/facilities.interfaces.js +3 -0
  50. package/dist/types/facilities/types/interfaces/facilities.interfaces.js.map +1 -0
  51. package/dist/types/facilities/types/interfaces/index.d.ts +1 -0
  52. package/dist/types/facilities/types/interfaces/index.js +18 -0
  53. package/dist/types/facilities/types/interfaces/index.js.map +1 -0
  54. package/dist/types/folders/types/interfaces/folder-restrictions.interfaces.d.ts +1 -1
  55. package/dist/types/invoice/dto/lineItem.dto.d.ts +1 -0
  56. package/dist/types/invoice/dto/lineItem.dto.js.map +1 -1
  57. package/dist/types/membership/dto/eligible-members.dto.d.ts +33 -0
  58. package/dist/types/membership/dto/eligible-members.dto.js +19 -0
  59. package/dist/types/membership/dto/eligible-members.dto.js.map +1 -0
  60. package/dist/types/membership/dto/index.d.ts +1 -0
  61. package/dist/types/membership/dto/index.js +1 -0
  62. package/dist/types/membership/dto/index.js.map +1 -1
  63. package/dist/types/membership/types/membership.interfaces.d.ts +36 -1
  64. package/dist/types/membership/types/membership.member.classes.d.ts +0 -2
  65. package/dist/types/membership/types/membership.member.classes.js.map +1 -1
  66. package/dist/types/membership/types/membership.member.consts.d.ts +8 -0
  67. package/dist/types/membership/types/membership.member.consts.js +15 -1
  68. package/dist/types/membership/types/membership.member.consts.js.map +1 -1
  69. package/dist/types/membership/types/membership.members.interfaces.d.ts +1 -1
  70. package/dist/types/notifications/dto/index.d.ts +1 -0
  71. package/dist/types/notifications/dto/index.js +1 -0
  72. package/dist/types/notifications/dto/index.js.map +1 -1
  73. package/dist/types/notifications/dto/notification-subscriptions.dto.d.ts +34 -0
  74. package/dist/types/notifications/dto/notification-subscriptions.dto.js +24 -0
  75. package/dist/types/notifications/dto/notification-subscriptions.dto.js.map +1 -0
  76. package/dist/types/notifications/dto/notification.create.dto.d.ts +5 -0
  77. package/dist/types/notifications/dto/notification.create.dto.js +6 -2
  78. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  79. package/dist/types/notifications/entities/index.d.ts +2 -0
  80. package/dist/types/notifications/entities/index.js +19 -0
  81. package/dist/types/notifications/entities/index.js.map +1 -0
  82. package/dist/types/notifications/entities/notification-subscription-to-facility.entity.d.ts +10 -0
  83. package/dist/types/notifications/entities/notification-subscription-to-facility.entity.js +8 -0
  84. package/dist/types/notifications/entities/notification-subscription-to-facility.entity.js.map +1 -0
  85. package/dist/types/notifications/entities/notification-subscription.entity.d.ts +12 -0
  86. package/dist/types/{entity/NotificationSubscriptions.js → notifications/entities/notification-subscription.entity.js} +2 -2
  87. package/dist/types/notifications/entities/notification-subscription.entity.js.map +1 -0
  88. package/dist/types/notifications/index.d.ts +1 -0
  89. package/dist/types/notifications/index.js +1 -0
  90. package/dist/types/notifications/index.js.map +1 -1
  91. package/dist/types/notifications/types/consts/notification.consts.d.ts +1 -0
  92. package/dist/types/notifications/types/consts/notification.consts.js +2 -1
  93. package/dist/types/notifications/types/consts/notification.consts.js.map +1 -1
  94. package/dist/types/notifications/types/enums/notification.enums.d.ts +5 -0
  95. package/dist/types/notifications/types/enums/notification.enums.js +7 -1
  96. package/dist/types/notifications/types/enums/notification.enums.js.map +1 -1
  97. package/dist/types/notifications/types/interfaces/index.d.ts +1 -0
  98. package/dist/types/notifications/types/interfaces/index.js +1 -0
  99. package/dist/types/notifications/types/interfaces/index.js.map +1 -1
  100. package/dist/types/notifications/types/interfaces/notification-subscriptions.interfaces.d.ts +30 -0
  101. package/dist/types/notifications/types/interfaces/notification-subscriptions.interfaces.js +3 -0
  102. package/dist/types/notifications/types/interfaces/notification-subscriptions.interfaces.js.map +1 -0
  103. package/dist/types/notifications/types/interfaces/notification.interfaces.d.ts +9 -2
  104. package/dist/types/online-booking/types/interfaces/schedule.interfaces.d.ts +7 -0
  105. package/dist/types/organization/entities/OrganizationUsers.d.ts +2 -0
  106. package/dist/types/organization/entities/OrganizationUsers.js.map +1 -1
  107. package/dist/types/payment/dto/discount.dto.d.ts +4 -4
  108. package/dist/types/payment/dto/discount.dto.js +1 -1
  109. package/dist/types/payment/dto/discount.dto.js.map +1 -1
  110. package/dist/types/product-pricing/dto/product-categories.dto.d.ts +2 -0
  111. package/dist/types/product-pricing/dto/product-categories.dto.js.map +1 -1
  112. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +2 -0
  113. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  114. package/dist/types/product-pricing/dto/product.dto.d.ts +3 -4
  115. package/dist/types/product-pricing/dto/product.dto.js +1 -4
  116. package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
  117. package/dist/types/product-pricing/dto/public-product.dto.d.ts +4 -0
  118. package/dist/types/product-pricing/dto/public-product.dto.js +4 -1
  119. package/dist/types/product-pricing/dto/public-product.dto.js.map +1 -1
  120. package/dist/types/product-pricing/dto/punch-pass-product.dto.d.ts +1 -0
  121. package/dist/types/product-pricing/dto/punch-pass-product.dto.js.map +1 -1
  122. package/dist/types/product-pricing/entities/product-category.entity.d.ts +1 -1
  123. package/dist/types/product-pricing/entities/station-to-product-category.entity.d.ts +1 -1
  124. package/dist/types/product-pricing/types/consts/product-category.consts.d.ts +5 -0
  125. package/dist/types/product-pricing/types/consts/product-category.consts.js +2 -0
  126. package/dist/types/product-pricing/types/consts/product-category.consts.js.map +1 -1
  127. package/dist/types/product-pricing/types/interfaces/index.d.ts +1 -0
  128. package/dist/types/product-pricing/types/interfaces/index.js +1 -0
  129. package/dist/types/product-pricing/types/interfaces/index.js.map +1 -1
  130. package/dist/types/product-pricing/types/interfaces/product-creation.interfaces.d.ts +8 -0
  131. package/dist/types/product-pricing/types/interfaces/product-creation.interfaces.js +3 -0
  132. package/dist/types/product-pricing/types/interfaces/product-creation.interfaces.js.map +1 -0
  133. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +5 -0
  134. package/dist/types/programs/dto/index.d.ts +1 -0
  135. package/dist/types/programs/dto/index.js +1 -0
  136. package/dist/types/programs/dto/index.js.map +1 -1
  137. package/dist/types/programs/dto/program-backoffice.dto.d.ts +10 -0
  138. package/dist/types/programs/dto/program-backoffice.dto.js +11 -0
  139. package/dist/types/programs/dto/program-backoffice.dto.js.map +1 -0
  140. package/dist/types/programs/dto/program-public.dto.d.ts +3 -1
  141. package/dist/types/programs/dto/program-public.dto.js.map +1 -1
  142. package/dist/types/programs/dto/program.dto.d.ts +3 -0
  143. package/dist/types/programs/dto/program.dto.js.map +1 -1
  144. package/dist/types/programs/entities/Program.d.ts +4 -1
  145. package/dist/types/programs/entities/Program.js.map +1 -1
  146. package/dist/types/programs/types/consts/program.consts.d.ts +3 -1
  147. package/dist/types/programs/types/consts/program.consts.js +7 -1
  148. package/dist/types/programs/types/consts/program.consts.js.map +1 -1
  149. package/dist/types/programs/types/enums/program.enums.d.ts +9 -0
  150. package/dist/types/programs/types/enums/program.enums.js +11 -1
  151. package/dist/types/programs/types/enums/program.enums.js.map +1 -1
  152. package/dist/types/programs/types/interfaces/program.interfaces.d.ts +8 -0
  153. package/dist/types/programs-seasons/dto/program-session.dto.d.ts +1 -0
  154. package/dist/types/programs-seasons/dto/program-session.dto.js.map +1 -1
  155. package/dist/types/programs-seasons/types/interfaces/program-seasons-notifications.interface.d.ts +0 -2
  156. package/dist/types/punch-pass/types/interfaces.d.ts +0 -2
  157. package/dist/types/reservations/dto/reservation.dto.d.ts +1 -4
  158. package/dist/types/reservations/dto/reservation.dto.js +2 -5
  159. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  160. package/dist/types/reservations/dto/slot.dto.d.ts +1 -0
  161. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  162. package/dist/types/reservations/types/classes/slot.classes.d.ts +1 -0
  163. package/dist/types/reservations/types/classes/slot.classes.js.map +1 -1
  164. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +3 -1
  165. package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
  166. package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +1 -0
  167. package/dist/types/reservations/types/reservation.types.d.ts +2 -0
  168. package/dist/types/resources/dto/instructor.dto.d.ts +1 -0
  169. package/dist/types/resources/dto/instructor.dto.js.map +1 -1
  170. package/dist/types/resources/dto/resource.dto.d.ts +1 -0
  171. package/dist/types/resources/dto/resource.dto.js.map +1 -1
  172. package/dist/types/resources/dto/space.dto.d.ts +1 -1
  173. package/dist/types/resources/dto/space.dto.js.map +1 -1
  174. package/dist/types/resources/entities/Resource.d.ts +1 -0
  175. package/dist/types/resources/entities/Resource.js.map +1 -1
  176. package/dist/types/resources/entities/Space.d.ts +1 -1
  177. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +1 -0
  178. package/dist/types/services/enums.service.d.ts +3 -1
  179. package/dist/types/services/enums.service.js +2 -0
  180. package/dist/types/services/enums.service.js.map +1 -1
  181. package/dist/types/services/interfaces.service.d.ts +2 -0
  182. package/dist/types/shifts/dto/find-shifts-filters.dto.d.ts +3 -3
  183. package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
  184. package/dist/types/tip-configurations/dto/tip-configuration.dto.d.ts +1 -0
  185. package/dist/types/tip-configurations/dto/tip-configuration.dto.js.map +1 -1
  186. package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.d.ts +1 -0
  187. package/dist/types/user/dto/user.dto.d.ts +1 -0
  188. package/dist/types/user/dto/user.dto.js.map +1 -1
  189. package/dist/types/user/types/user.interfaces.d.ts +9 -0
  190. package/dist/types/user-identification/dto/index.d.ts +1 -0
  191. package/dist/types/user-identification/dto/index.js +1 -0
  192. package/dist/types/user-identification/dto/index.js.map +1 -1
  193. package/dist/types/user-identification/dto/user-identifier-public.dto.d.ts +16 -0
  194. package/dist/types/user-identification/dto/user-identifier-public.dto.js +11 -0
  195. package/dist/types/user-identification/dto/user-identifier-public.dto.js.map +1 -0
  196. package/dist/types/user-identification/dto/user-identifier.dto.d.ts +1 -1
  197. package/dist/types/user-identification/types/consts/index.d.ts +2 -0
  198. package/dist/types/user-identification/types/consts/index.js +19 -0
  199. package/dist/types/user-identification/types/consts/index.js.map +1 -0
  200. package/dist/types/user-identification/types/consts/public-user-identification.consts.d.ts +6 -0
  201. package/dist/types/user-identification/types/consts/public-user-identification.consts.js +20 -0
  202. package/dist/types/user-identification/types/consts/public-user-identification.consts.js.map +1 -0
  203. package/dist/types/user-identification/types/consts/user-identification.consts.d.ts +2 -0
  204. package/dist/types/user-identification/types/consts/user-identification.consts.js +12 -0
  205. package/dist/types/user-identification/types/consts/user-identification.consts.js.map +1 -0
  206. package/dist/types/user-identification/types/enums/user-identifier.types.d.ts +15 -0
  207. package/dist/types/user-identification/types/enums/user-identifier.types.js +19 -1
  208. package/dist/types/user-identification/types/enums/user-identifier.types.js.map +1 -1
  209. package/dist/types/user-identification/types/index.d.ts +2 -0
  210. package/dist/types/user-identification/types/index.js +2 -0
  211. package/dist/types/user-identification/types/index.js.map +1 -1
  212. package/dist/types/user-identification/types/interfaces.d.ts +19 -0
  213. package/dist/types/user-identification/types/interfaces.js +3 -0
  214. package/dist/types/user-identification/types/interfaces.js.map +1 -0
  215. package/package.json +1 -1
  216. package/dist/types/entity/NotificationSubscriptions.d.ts +0 -8
  217. package/dist/types/entity/NotificationSubscriptions.js.map +0 -1
@@ -0,0 +1,6 @@
1
+ import { UserIdentifierType, UserIdentifierTypeNameEnum } from '../enums/user-identifier.types';
2
+ export declare const QR_CODE_ERRORS: {
3
+ FAILED_TO_CREATE_IDENTIFIER: string;
4
+ };
5
+ export declare const getIdentifierTypeName: (id: UserIdentifierType) => UserIdentifierTypeNameEnum;
6
+ export declare const getIdentifierTypeId: (name: UserIdentifierTypeNameEnum) => UserIdentifierType | UserIdentifierTypeNameEnum;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getIdentifierTypeId = exports.getIdentifierTypeName = exports.QR_CODE_ERRORS = void 0;
4
+ const user_identifier_types_1 = require("../enums/user-identifier.types");
5
+ exports.QR_CODE_ERRORS = {
6
+ FAILED_TO_CREATE_IDENTIFIER: 'QR_CODE.FAILED_TO_CREATE_IDENTIFIER',
7
+ };
8
+ const IDENTIFIER_TYPE_NAME_MAPPER = {
9
+ [user_identifier_types_1.UserIdentifierType.STANDARD]: user_identifier_types_1.UserIdentifierTypeNameEnum.STANDARD,
10
+ [user_identifier_types_1.UserIdentifierType.GLOBAL_DIGITAL]: user_identifier_types_1.UserIdentifierTypeNameEnum.GLOBAL,
11
+ };
12
+ const IDENTIFIER_TYPE_ID_MAPPER = {
13
+ [user_identifier_types_1.UserIdentifierTypeNameEnum.STANDARD]: user_identifier_types_1.UserIdentifierType.STANDARD,
14
+ [user_identifier_types_1.UserIdentifierTypeNameEnum.GLOBAL]: user_identifier_types_1.UserIdentifierType.GLOBAL_DIGITAL,
15
+ };
16
+ const getIdentifierTypeName = (id) => IDENTIFIER_TYPE_NAME_MAPPER[id];
17
+ exports.getIdentifierTypeName = getIdentifierTypeName;
18
+ const getIdentifierTypeId = (name) => (name ? (IDENTIFIER_TYPE_ID_MAPPER[name] ?? name) : undefined);
19
+ exports.getIdentifierTypeId = getIdentifierTypeId;
20
+ //# sourceMappingURL=public-user-identification.consts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public-user-identification.consts.js","sourceRoot":"","sources":["../../../../../src/types/user-identification/types/consts/public-user-identification.consts.ts"],"names":[],"mappings":";;;AAAA,0EAAgG;AAEnF,QAAA,cAAc,GAAG;IAC7B,2BAA2B,EAAE,qCAAqC;CAClE,CAAC;AAEF,MAAM,2BAA2B,GAA2D;IAC3F,CAAC,0CAAkB,CAAC,QAAQ,CAAC,EAAE,kDAA0B,CAAC,QAAQ;IAClE,CAAC,0CAAkB,CAAC,cAAc,CAAC,EAAE,kDAA0B,CAAC,MAAM;CACtE,CAAC;AAEF,MAAM,yBAAyB,GAA2D;IACzF,CAAC,kDAA0B,CAAC,QAAQ,CAAC,EAAE,0CAAkB,CAAC,QAAQ;IAClE,CAAC,kDAA0B,CAAC,MAAM,CAAC,EAAE,0CAAkB,CAAC,cAAc;CACtE,CAAC;AAEK,MAAM,qBAAqB,GAAG,CAAC,EAAsB,EAA8B,EAAE,CAC3F,2BAA2B,CAAC,EAAE,CAAC,CAAC;AADpB,QAAA,qBAAqB,yBACD;AAE1B,MAAM,mBAAmB,GAAG,CAClC,IAAgC,EACkB,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,yBAAyB,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;AAFxG,QAAA,mBAAmB,uBAEqF"}
@@ -0,0 +1,2 @@
1
+ import { OrderByUserIdentifierEnum } from '../enums/user-identifier.types';
2
+ export declare const ORDER_BY_USER_IDENTIFIER_MAP: Record<OrderByUserIdentifierEnum, string>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ORDER_BY_USER_IDENTIFIER_MAP = void 0;
4
+ const user_identifier_types_1 = require("../enums/user-identifier.types");
5
+ exports.ORDER_BY_USER_IDENTIFIER_MAP = {
6
+ [user_identifier_types_1.OrderByUserIdentifierEnum.USER_ID]: 'ui.userId',
7
+ [user_identifier_types_1.OrderByUserIdentifierEnum.ORGANIZATION_ID]: 'ui.organizationId',
8
+ [user_identifier_types_1.OrderByUserIdentifierEnum.FACILITY_ID]: 'ui.facilityId',
9
+ [user_identifier_types_1.OrderByUserIdentifierEnum.IDENTIFIER_TYPE]: 'ui.identifierType',
10
+ [user_identifier_types_1.OrderByUserIdentifierEnum.CREATED_AT]: 'ui."createdAt"',
11
+ };
12
+ //# sourceMappingURL=user-identification.consts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-identification.consts.js","sourceRoot":"","sources":["../../../../../src/types/user-identification/types/consts/user-identification.consts.ts"],"names":[],"mappings":";;;AAAA,0EAA2E;AAE9D,QAAA,4BAA4B,GAA8C;IACtF,CAAC,iDAAyB,CAAC,OAAO,CAAC,EAAE,WAAW;IAChD,CAAC,iDAAyB,CAAC,eAAe,CAAC,EAAE,mBAAmB;IAChE,CAAC,iDAAyB,CAAC,WAAW,CAAC,EAAE,eAAe;IACxD,CAAC,iDAAyB,CAAC,eAAe,CAAC,EAAE,mBAAmB;IAChE,CAAC,iDAAyB,CAAC,UAAU,CAAC,EAAE,gBAAgB;CACxD,CAAC"}
@@ -2,3 +2,18 @@ export declare enum UserIdentifierType {
2
2
  STANDARD = 0,
3
3
  GLOBAL_DIGITAL = 1
4
4
  }
5
+ export declare enum UserIdentifierTypeNameEnum {
6
+ STANDARD = "standard",
7
+ GLOBAL = "global"
8
+ }
9
+ export declare enum IdentifierExpandEnum {
10
+ FACILITY = "facility",
11
+ USER = "user"
12
+ }
13
+ export declare enum OrderByUserIdentifierEnum {
14
+ USER_ID = "userId",
15
+ ORGANIZATION_ID = "organizationId",
16
+ FACILITY_ID = "facilityId",
17
+ IDENTIFIER_TYPE = "identifierType",
18
+ CREATED_AT = "createdAt"
19
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserIdentifierType = void 0;
3
+ exports.OrderByUserIdentifierEnum = exports.IdentifierExpandEnum = exports.UserIdentifierTypeNameEnum = exports.UserIdentifierType = void 0;
4
4
  var UserIdentifierType;
5
5
  (function (UserIdentifierType) {
6
6
  // "Standard" are issued by the organization, typically through a physical cards issued to members, entered into our system by the organization.
@@ -9,4 +9,22 @@ var UserIdentifierType;
9
9
  // They are linked to a User (not a Customer) and may be used by any Organization or Facility where that User is a Customer.
10
10
  UserIdentifierType[UserIdentifierType["GLOBAL_DIGITAL"] = 1] = "GLOBAL_DIGITAL";
11
11
  })(UserIdentifierType = exports.UserIdentifierType || (exports.UserIdentifierType = {}));
12
+ var UserIdentifierTypeNameEnum;
13
+ (function (UserIdentifierTypeNameEnum) {
14
+ UserIdentifierTypeNameEnum["STANDARD"] = "standard";
15
+ UserIdentifierTypeNameEnum["GLOBAL"] = "global";
16
+ })(UserIdentifierTypeNameEnum = exports.UserIdentifierTypeNameEnum || (exports.UserIdentifierTypeNameEnum = {}));
17
+ var IdentifierExpandEnum;
18
+ (function (IdentifierExpandEnum) {
19
+ IdentifierExpandEnum["FACILITY"] = "facility";
20
+ IdentifierExpandEnum["USER"] = "user";
21
+ })(IdentifierExpandEnum = exports.IdentifierExpandEnum || (exports.IdentifierExpandEnum = {}));
22
+ var OrderByUserIdentifierEnum;
23
+ (function (OrderByUserIdentifierEnum) {
24
+ OrderByUserIdentifierEnum["USER_ID"] = "userId";
25
+ OrderByUserIdentifierEnum["ORGANIZATION_ID"] = "organizationId";
26
+ OrderByUserIdentifierEnum["FACILITY_ID"] = "facilityId";
27
+ OrderByUserIdentifierEnum["IDENTIFIER_TYPE"] = "identifierType";
28
+ OrderByUserIdentifierEnum["CREATED_AT"] = "createdAt";
29
+ })(OrderByUserIdentifierEnum = exports.OrderByUserIdentifierEnum || (exports.OrderByUserIdentifierEnum = {}));
12
30
  //# sourceMappingURL=user-identifier.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-identifier.types.js","sourceRoot":"","sources":["../../../../../src/types/user-identification/types/enums/user-identifier.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC7B,gJAAgJ;IAChJ,mEAAY,CAAA;IAEZ,oJAAoJ;IACpJ,4HAA4H;IAC5H,+EAAkB,CAAA;AACnB,CAAC,EAPW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAO7B"}
1
+ {"version":3,"file":"user-identifier.types.js","sourceRoot":"","sources":["../../../../../src/types/user-identification/types/enums/user-identifier.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC7B,gJAAgJ;IAChJ,mEAAY,CAAA;IAEZ,oJAAoJ;IACpJ,4HAA4H;IAC5H,+EAAkB,CAAA;AACnB,CAAC,EAPW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAO7B;AAED,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACrC,mDAAqB,CAAA;IACrB,+CAAiB,CAAA;AAClB,CAAC,EAHW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAGrC;AAED,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC/B,6CAAqB,CAAA;IACrB,qCAAa,CAAA;AACd,CAAC,EAHW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAG/B;AAED,IAAY,yBAMX;AAND,WAAY,yBAAyB;IACpC,+CAAkB,CAAA;IAClB,+DAAkC,CAAA;IAClC,uDAA0B,CAAA;IAC1B,+DAAkC,CAAA;IAClC,qDAAwB,CAAA;AACzB,CAAC,EANW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAMpC"}
@@ -1 +1,3 @@
1
+ export * from './consts';
1
2
  export * from './enums';
3
+ export * from './interfaces';
@@ -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("./consts"), exports);
17
18
  __exportStar(require("./enums"), exports);
19
+ __exportStar(require("./interfaces"), exports);
18
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user-identification/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user-identification/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
@@ -0,0 +1,19 @@
1
+ import { OrderByEnum } from '../../services/enums.service';
2
+ import { IPagination } from '../../util/models/interfaces/general.interfaces';
3
+ import { IdentifierExpandEnum, UserIdentifierType, OrderByUserIdentifierEnum } from './enums/user-identifier.types';
4
+ export interface IGetFamilyIdentifiersQuery extends IPagination {
5
+ organizationId: number;
6
+ facilityId?: number;
7
+ userId: number;
8
+ expand?: IdentifierExpandEnum[];
9
+ identifierType?: UserIdentifierType;
10
+ order?: OrderByEnum;
11
+ orderBy?: OrderByUserIdentifierEnum;
12
+ }
13
+ export interface IGetIdentifiersByUserIdsOptions {
14
+ organizationId?: number;
15
+ facilityId?: number;
16
+ identifierType?: UserIdentifierType;
17
+ relations?: string[];
18
+ validationTime?: Date;
19
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/user-identification/types/interfaces.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.4.71",
3
+ "version": "2.4.73",
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"}