@bondsports/types 2.4.69-a-6 → 2.4.69-squad-c-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -71
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/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 +0 -1
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +0 -1
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/package.dto.d.ts +0 -1
- package/dist/types/dto/package.dto.js.map +1 -1
- package/dist/types/employees/dto/employee.dto.d.ts +16 -4
- package/dist/types/employees/dto/employee.dto.js +10 -1
- package/dist/types/employees/dto/employee.dto.js.map +1 -1
- package/dist/types/employees/entities/EmployeeFacilityAccess.d.ts +0 -2
- package/dist/types/employees/entities/EmployeeFacilityAccess.js.map +1 -1
- package/dist/types/employees/types/interfaces/employee-facility-access.interfaces.d.ts +0 -4
- package/dist/types/entity/NotificationSubscriptions.d.ts +8 -0
- package/dist/types/{notifications/entities/notification-subscription.entity.js → entity/NotificationSubscriptions.js} +2 -2
- package/dist/types/entity/NotificationSubscriptions.js.map +1 -0
- package/dist/types/entity/index.d.ts +1 -0
- package/dist/types/entity/index.js +1 -0
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/facilities/dto/facilities.dto.d.ts +0 -22
- package/dist/types/facilities/dto/facilities.dto.js.map +1 -1
- package/dist/types/facilities/entities/Facility.d.ts +0 -2
- package/dist/types/facilities/entities/Facility.js.map +1 -1
- package/dist/types/facilities/types/facilities.types.d.ts +21 -1
- package/dist/types/facilities/types/facilities.types.js +3 -0
- package/dist/types/facilities/types/facilities.types.js.map +1 -1
- package/dist/types/facilities/types/index.d.ts +0 -3
- package/dist/types/facilities/types/index.js +0 -3
- package/dist/types/facilities/types/index.js.map +1 -1
- package/dist/types/membership/dto/index.d.ts +0 -1
- package/dist/types/membership/dto/index.js +0 -1
- package/dist/types/membership/dto/index.js.map +1 -1
- package/dist/types/membership/types/membership.interfaces.d.ts +1 -35
- package/dist/types/membership/types/membership.member.classes.d.ts +2 -0
- package/dist/types/membership/types/membership.member.classes.js.map +1 -1
- package/dist/types/membership/types/membership.member.consts.d.ts +0 -8
- package/dist/types/membership/types/membership.member.consts.js +1 -15
- package/dist/types/membership/types/membership.member.consts.js.map +1 -1
- package/dist/types/membership/types/membership.members.interfaces.d.ts +1 -1
- package/dist/types/notifications/dto/index.d.ts +0 -1
- package/dist/types/notifications/dto/index.js +0 -1
- package/dist/types/notifications/dto/index.js.map +1 -1
- package/dist/types/notifications/dto/notification.create.dto.d.ts +0 -5
- package/dist/types/notifications/dto/notification.create.dto.js +2 -6
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
- package/dist/types/notifications/index.d.ts +0 -1
- package/dist/types/notifications/index.js +0 -1
- package/dist/types/notifications/index.js.map +1 -1
- package/dist/types/notifications/types/consts/notification.consts.d.ts +0 -1
- package/dist/types/notifications/types/consts/notification.consts.js +1 -2
- package/dist/types/notifications/types/consts/notification.consts.js.map +1 -1
- package/dist/types/notifications/types/enums/notification.enums.d.ts +0 -5
- package/dist/types/notifications/types/enums/notification.enums.js +1 -7
- package/dist/types/notifications/types/enums/notification.enums.js.map +1 -1
- package/dist/types/notifications/types/interfaces/index.d.ts +0 -1
- package/dist/types/notifications/types/interfaces/index.js +0 -1
- package/dist/types/notifications/types/interfaces/index.js.map +1 -1
- package/dist/types/notifications/types/interfaces/notification.interfaces.d.ts +2 -3
- package/dist/types/organization/entities/OrganizationUsers.d.ts +0 -2
- package/dist/types/organization/entities/OrganizationUsers.js.map +1 -1
- package/dist/types/payment/dto/discount.dto.d.ts +4 -4
- package/dist/types/payment/dto/discount.dto.js +1 -1
- package/dist/types/payment/dto/discount.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +0 -2
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +0 -3
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/public-product.dto.d.ts +4 -0
- package/dist/types/product-pricing/dto/public-product.dto.js +4 -1
- package/dist/types/product-pricing/dto/public-product.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/punch-pass-product.dto.d.ts +0 -1
- package/dist/types/product-pricing/dto/punch-pass-product.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/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +0 -5
- package/dist/types/programs/dto/index.d.ts +0 -1
- package/dist/types/programs/dto/index.js +0 -1
- package/dist/types/programs/dto/index.js.map +1 -1
- package/dist/types/programs/dto/program-public.dto.d.ts +1 -3
- package/dist/types/programs/dto/program-public.dto.js.map +1 -1
- package/dist/types/programs/dto/program.dto.d.ts +0 -3
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs/entities/Program.d.ts +1 -4
- package/dist/types/programs/entities/Program.js.map +1 -1
- package/dist/types/programs/types/consts/program.consts.d.ts +1 -3
- package/dist/types/programs/types/consts/program.consts.js +1 -7
- package/dist/types/programs/types/consts/program.consts.js.map +1 -1
- package/dist/types/programs/types/enums/program.enums.d.ts +0 -9
- package/dist/types/programs/types/enums/program.enums.js +1 -11
- package/dist/types/programs/types/enums/program.enums.js.map +1 -1
- package/dist/types/programs/types/interfaces/program.interfaces.d.ts +0 -8
- package/dist/types/programs-seasons/dto/program-session.dto.d.ts +0 -1
- package/dist/types/programs-seasons/dto/program-session.dto.js.map +1 -1
- package/dist/types/programs-seasons/types/interfaces/program-seasons-notifications.interface.d.ts +2 -0
- package/dist/types/punch-pass/types/interfaces.d.ts +2 -0
- package/dist/types/reservations/dto/reservation.dto.d.ts +4 -1
- package/dist/types/reservations/dto/reservation.dto.js +5 -2
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +1 -1
- package/dist/types/reservations/types/reservation.types.d.ts +0 -2
- package/dist/types/resources/dto/instructor.dto.d.ts +0 -1
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +0 -1
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/dto/space.dto.d.ts +1 -1
- package/dist/types/resources/dto/space.dto.js.map +1 -1
- package/dist/types/resources/entities/Resource.d.ts +0 -1
- package/dist/types/resources/entities/Resource.js.map +1 -1
- package/dist/types/resources/entities/Space.d.ts +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +0 -1
- package/dist/types/services/enums.service.d.ts +3 -1
- package/dist/types/services/enums.service.js +2 -0
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +0 -2
- package/dist/types/shifts/dto/find-shifts-filters.dto.d.ts +3 -3
- package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
- package/dist/types/tip-configurations/dto/tip-configuration.dto.d.ts +0 -1
- package/dist/types/tip-configurations/dto/tip-configuration.dto.js.map +1 -1
- package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.d.ts +0 -1
- package/dist/types/user/dto/user.dto.d.ts +0 -1
- package/dist/types/user/dto/user.dto.js.map +1 -1
- package/dist/types/user/types/user.interfaces.d.ts +0 -9
- package/dist/types/user-identification/dto/index.d.ts +1 -0
- package/dist/types/user-identification/dto/index.js +1 -0
- package/dist/types/user-identification/dto/index.js.map +1 -1
- package/dist/types/user-identification/dto/user-identifier-public.dto.d.ts +16 -0
- package/dist/types/user-identification/dto/user-identifier-public.dto.js +11 -0
- package/dist/types/user-identification/dto/user-identifier-public.dto.js.map +1 -0
- package/dist/types/user-identification/dto/user-identifier.dto.d.ts +1 -1
- package/dist/types/user-identification/types/consts/index.d.ts +2 -0
- package/dist/types/{facilities → user-identification}/types/consts/index.js +2 -1
- package/dist/types/user-identification/types/consts/index.js.map +1 -0
- package/dist/types/user-identification/types/consts/public-user-identification.consts.d.ts +6 -0
- package/dist/types/user-identification/types/consts/public-user-identification.consts.js +20 -0
- package/dist/types/user-identification/types/consts/public-user-identification.consts.js.map +1 -0
- package/dist/types/user-identification/types/consts/user-identification.consts.d.ts +2 -0
- package/dist/types/user-identification/types/consts/user-identification.consts.js +12 -0
- package/dist/types/user-identification/types/consts/user-identification.consts.js.map +1 -0
- package/dist/types/user-identification/types/enums/user-identifier.types.d.ts +15 -0
- package/dist/types/user-identification/types/enums/user-identifier.types.js +19 -1
- package/dist/types/user-identification/types/enums/user-identifier.types.js.map +1 -1
- package/dist/types/user-identification/types/index.d.ts +2 -0
- package/dist/types/user-identification/types/index.js +2 -0
- package/dist/types/user-identification/types/index.js.map +1 -1
- package/dist/types/user-identification/types/interfaces.d.ts +19 -0
- package/dist/types/{facilities/types/interfaces/facilities.interfaces.js → user-identification/types/interfaces.js} +1 -1
- package/dist/types/user-identification/types/interfaces.js.map +1 -0
- package/package.json +4 -3
- package/dist/types/facilities/types/consts/facility.consts.d.ts +0 -5
- package/dist/types/facilities/types/consts/facility.consts.js +0 -11
- package/dist/types/facilities/types/consts/facility.consts.js.map +0 -1
- package/dist/types/facilities/types/consts/index.d.ts +0 -1
- package/dist/types/facilities/types/consts/index.js.map +0 -1
- package/dist/types/facilities/types/enums/facilities.enums.d.ts +0 -4
- package/dist/types/facilities/types/enums/facilities.enums.js +0 -9
- package/dist/types/facilities/types/enums/facilities.enums.js.map +0 -1
- package/dist/types/facilities/types/enums/index.d.ts +0 -1
- package/dist/types/facilities/types/enums/index.js +0 -18
- package/dist/types/facilities/types/enums/index.js.map +0 -1
- package/dist/types/facilities/types/interfaces/facilities.interfaces.d.ts +0 -30
- package/dist/types/facilities/types/interfaces/facilities.interfaces.js.map +0 -1
- package/dist/types/facilities/types/interfaces/index.d.ts +0 -1
- package/dist/types/facilities/types/interfaces/index.js +0 -18
- package/dist/types/facilities/types/interfaces/index.js.map +0 -1
- package/dist/types/membership/dto/eligible-members.dto.d.ts +0 -33
- package/dist/types/membership/dto/eligible-members.dto.js +0 -19
- package/dist/types/membership/dto/eligible-members.dto.js.map +0 -1
- package/dist/types/notifications/dto/notification-subscriptions.dto.d.ts +0 -28
- package/dist/types/notifications/dto/notification-subscriptions.dto.js +0 -24
- package/dist/types/notifications/dto/notification-subscriptions.dto.js.map +0 -1
- package/dist/types/notifications/entities/index.d.ts +0 -2
- package/dist/types/notifications/entities/index.js +0 -19
- package/dist/types/notifications/entities/index.js.map +0 -1
- package/dist/types/notifications/entities/notification-subscription-to-facility.entity.d.ts +0 -10
- package/dist/types/notifications/entities/notification-subscription-to-facility.entity.js +0 -8
- package/dist/types/notifications/entities/notification-subscription-to-facility.entity.js.map +0 -1
- package/dist/types/notifications/entities/notification-subscription.entity.d.ts +0 -12
- package/dist/types/notifications/entities/notification-subscription.entity.js.map +0 -1
- package/dist/types/notifications/types/interfaces/notification-subscriptions.interfaces.d.ts +0 -28
- package/dist/types/notifications/types/interfaces/notification-subscriptions.interfaces.js +0 -3
- package/dist/types/notifications/types/interfaces/notification-subscriptions.interfaces.js.map +0 -1
- package/dist/types/programs/dto/program-backoffice.dto.d.ts +0 -10
- package/dist/types/programs/dto/program-backoffice.dto.js +0 -11
- package/dist/types/programs/dto/program-backoffice.dto.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer.dto.ts"],"names":[],"mappings":";;;AAKA,MAAM,eAAe;CAkCpB;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAUrD;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,eAAe;CAEnD;AAFD,0CAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../src/types/dto/application.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../src/types/dto/application.dto.ts"],"names":[],"mappings":";;;AAGA,+CAAsC;AAEtC,MAAa,SAAS;CAYrB;AAZD,8BAYC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAgBrC;AAhBD,8DAgBC;AAGD,MAAM,sBAAsB;CAM3B;AAED,MAAa,qBAAsB,SAAQ,sBAAsB;CAUhE;AAVD,sDAUC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,oBAAqB,SAAQ,mBAAK;CAI9C;AAJD,oDAIC"}
|
|
@@ -134,7 +134,6 @@ export interface IAttendeesOfSessionEventFilters {
|
|
|
134
134
|
teamFolderIds?: number[];
|
|
135
135
|
}
|
|
136
136
|
export interface INotifyEventAttendee extends IEventAttendeeBase {
|
|
137
|
-
facilityId: number | null;
|
|
138
137
|
email: string | null;
|
|
139
138
|
organizationName: string;
|
|
140
139
|
parentSessionName: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAUA,+CAAgG;AAEhG,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CA0B1B;AA1BD,wCA0BC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAqCD,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;
|
|
1
|
+
{"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAUA,+CAAgG;AAEhG,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CA0B1B;AA1BD,wCA0BC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAqCD,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAoBD,MAAa,uBAAuB;CAcnC;AAdD,0DAcC;AAgBD,MAAa,cAAe,SAAQ,mBAAK;CAwBxC;AAxBD,wCAwBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC;AAED,MAAa,QAAQ;CAIpB;AAJD,4BAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAM1C;AAND,4CAMC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAMzD;AAND,wDAMC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAMA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AAErC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AAEpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,cAAc,GAAG,CAAC,CAAC;AAEnB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAE5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAElC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAA5B;QAMC,iBAAY,GAAI,sCAA8B,CAAC;IAChD,CAAC;CAAA;AAPD,0CAOC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAND,oDAMC;AAED,MAAa,iBAAiB;
|
|
1
|
+
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAMA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AAErC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AAEpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,cAAc,GAAG,CAAC,CAAC;AAEnB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAE5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAElC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAA5B;QAMC,iBAAY,GAAI,sCAA8B,CAAC;IAChD,CAAC;CAAA;AAPD,0CAOC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAND,oDAMC;AAED,MAAa,iBAAiB;CAc7B;AAdD,8CAcC;AAED,MAAa,mBAAmB;CAK/B;AALD,kDAKC;AAED,MAAa,wBAA+B,SAAQ,mBAAsB;CAEzE;AAFD,4DAEC;AAED,MAAa,qBAAmC,SAAQ,eAAe;CAMtE;AAND,sDAMC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,YAAa,SAAQ,KAAK;CAEtC;AAFD,oCAEC;AAED,MAAa,oBAAqB,SAAQ,KAAK;CAE9C;AAFD,oDAEC;AAED,MAAa,iBAAkB,SAAQ,YAAY;CAIlD;AAJD,8CAIC;AAED,MAAa,0BAA2B,SAAQ,KAAK;CAUpD;AAVD,gEAUC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,MAAM;CAElB;AAFD,wBAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,eAAe;CAI3B;AAJD,0CAIC;AAED,MAAa,WAAW;CAIvB;AAJD,kCAIC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.dto.js","sourceRoot":"","sources":["../../../src/types/dto/package.dto.ts"],"names":[],"mappings":";;;AAiBA,MAAa,gBAAgB;
|
|
1
|
+
{"version":3,"file":"package.dto.js","sourceRoot":"","sources":["../../../src/types/dto/package.dto.ts"],"names":[],"mappings":";;;AAiBA,MAAa,gBAAgB;CA2F5B;AA3FD,4CA2FC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AAED,MAAa,2BAA2B;CAQvC;AARD,kEAQC;AAED,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,uCAAwC,SAAQ,wBAAwB;CAEpF;AAFD,0FAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { AddressDto } from '../../address/dto/address.dto';
|
|
2
2
|
import { Address } from '../../address/entities/Address';
|
|
3
3
|
import { PaginationQuery } from '../../dto/general.dto';
|
|
4
|
-
import { SimpleFacilityDto } from '../../facilities/dto/facilities.dto';
|
|
5
4
|
import { MediaDto } from '../../media/dto/media.dto';
|
|
6
|
-
import {
|
|
5
|
+
import { OrganizationUsers } from '../../organization/entities/OrganizationUsers';
|
|
6
|
+
import { RoleDto, SimpleRoleDto } from '../../roles/dto/role.dto';
|
|
7
7
|
import { CustomerTypeEnum, GenderEnum, OrderByEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
|
8
|
+
import { User } from '../../user/entities/User';
|
|
8
9
|
import { EmployeeStatus, OrganizationUserOrderBy, UserOrderBy } from '../types/enums';
|
|
9
10
|
export declare class ByEmployeeIdDto {
|
|
10
11
|
employeeId: number;
|
|
@@ -29,8 +30,20 @@ export declare class EmployeeDto {
|
|
|
29
30
|
deletedAt?: Date;
|
|
30
31
|
facilityIds?: number[];
|
|
31
32
|
defaultFacilityId?: number | null;
|
|
33
|
+
}
|
|
34
|
+
export declare class EmployeeWithRoles extends EmployeeDto {
|
|
32
35
|
roles?: SimpleRoleDto[];
|
|
33
|
-
|
|
36
|
+
}
|
|
37
|
+
export declare class EmployeeWithRoleIds extends EmployeeWithRoles {
|
|
38
|
+
rolesIds?: number[];
|
|
39
|
+
}
|
|
40
|
+
export declare class BuildEmployee {
|
|
41
|
+
user: User;
|
|
42
|
+
customerId: number;
|
|
43
|
+
organizationUser: OrganizationUsers;
|
|
44
|
+
roles: RoleDto[];
|
|
45
|
+
facilityIds?: number[];
|
|
46
|
+
defaultFacilityId?: number | null;
|
|
34
47
|
}
|
|
35
48
|
export declare class CreateEmployeeDto {
|
|
36
49
|
firstName: string;
|
|
@@ -87,7 +100,6 @@ export declare class GetEmployeesByFilterOptions extends PaginationQuery {
|
|
|
87
100
|
rolesIds?: number[];
|
|
88
101
|
excludedRolesIds?: number[];
|
|
89
102
|
mustHaveRolesIds?: number[];
|
|
90
|
-
facilitiesIds?: number[];
|
|
91
103
|
includeRoles?: boolean;
|
|
92
104
|
search?: string;
|
|
93
105
|
orderBy?: UserOrderBy | OrganizationUserOrderBy;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetEmployeesByFilterOptions = exports.UpdateEmployeeDto = exports.CreateEmployeeOptions = exports.CreateEmployeeDto = exports.EmployeeDto = exports.ByEmployeeIdDto = void 0;
|
|
3
|
+
exports.GetEmployeesByFilterOptions = exports.UpdateEmployeeDto = exports.CreateEmployeeOptions = exports.CreateEmployeeDto = exports.BuildEmployee = exports.EmployeeWithRoleIds = exports.EmployeeWithRoles = exports.EmployeeDto = exports.ByEmployeeIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
5
|
class ByEmployeeIdDto {
|
|
6
6
|
}
|
|
@@ -8,6 +8,15 @@ exports.ByEmployeeIdDto = ByEmployeeIdDto;
|
|
|
8
8
|
class EmployeeDto {
|
|
9
9
|
}
|
|
10
10
|
exports.EmployeeDto = EmployeeDto;
|
|
11
|
+
class EmployeeWithRoles extends EmployeeDto {
|
|
12
|
+
}
|
|
13
|
+
exports.EmployeeWithRoles = EmployeeWithRoles;
|
|
14
|
+
class EmployeeWithRoleIds extends EmployeeWithRoles {
|
|
15
|
+
}
|
|
16
|
+
exports.EmployeeWithRoleIds = EmployeeWithRoleIds;
|
|
17
|
+
class BuildEmployee {
|
|
18
|
+
}
|
|
19
|
+
exports.BuildEmployee = BuildEmployee;
|
|
11
20
|
class CreateEmployeeDto {
|
|
12
21
|
}
|
|
13
22
|
exports.CreateEmployeeDto = CreateEmployeeDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;
|
|
1
|
+
{"version":3,"file":"employee.dto.js","sourceRoot":"","sources":["../../../../src/types/employees/dto/employee.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AAQxD,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,WAAW;CAsCvB;AAtCD,kCAsCC;AAED,MAAa,iBAAkB,SAAQ,WAAW;CAEjD;AAFD,8CAEC;AAED,MAAa,mBAAoB,SAAQ,iBAAiB;CAEzD;AAFD,kDAEC;AAED,MAAa,aAAa;CAYzB;AAZD,sCAYC;AAED,MAAa,iBAAiB;CAkD7B;AAlDD,8CAkDC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,iBAAiB;CA8B7B;AA9BD,8CA8BC;AAED,MAAa,2BAA4B,SAAQ,6BAAe;IAAhE;;QASC,iBAAY,GAAa,IAAI,CAAC;IAS/B,CAAC;CAAA;AAlBD,kEAkBC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { CustomerMerge } from '../../customers-merge/entities/CustomerMerge';
|
|
2
2
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
|
3
|
-
import { OrganizationUsers } from '../../organization/entities/OrganizationUsers';
|
|
4
3
|
export declare class EmployeeFacilityAccess extends OrganizationConnectionBaseEntity {
|
|
5
4
|
userId: number;
|
|
6
5
|
facilityId: number;
|
|
7
6
|
mergeId?: number;
|
|
8
7
|
merge?: CustomerMerge;
|
|
9
8
|
deletedAt?: Date;
|
|
10
|
-
organizationUser?: OrganizationUsers;
|
|
11
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmployeeFacilityAccess.js","sourceRoot":"","sources":["../../../../src/types/employees/entities/EmployeeFacilityAccess.ts"],"names":[],"mappings":";;;AAGA,oGAAiG;
|
|
1
|
+
{"version":3,"file":"EmployeeFacilityAccess.js","sourceRoot":"","sources":["../../../../src/types/employees/entities/EmployeeFacilityAccess.ts"],"names":[],"mappings":";;;AAGA,oGAAiG;AAEjG,MAAa,sBAAuB,SAAQ,mEAAgC;CAU3E;AAVD,wDAUC"}
|
|
@@ -14,10 +14,6 @@ export interface IEmployeeFacilities {
|
|
|
14
14
|
accessibleFacilities: Facility[];
|
|
15
15
|
facilityIds: number[];
|
|
16
16
|
}
|
|
17
|
-
export interface IEmployeeFacilitiesSummary {
|
|
18
|
-
facilities: Facility[];
|
|
19
|
-
facilityIds: number[];
|
|
20
|
-
}
|
|
21
17
|
export interface IFindFacilityAccessFilter {
|
|
22
18
|
organizationId: number;
|
|
23
19
|
facilityIds?: number[];
|
|
@@ -0,0 +1,8 @@
|
|
|
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,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NotificationSubscriptions = void 0;
|
|
4
|
-
const OrganizationConnectionBaseEntity_1 = require("
|
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("./OrganizationConnectionBaseEntity");
|
|
5
5
|
class NotificationSubscriptions extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
|
6
6
|
}
|
|
7
7
|
exports.NotificationSubscriptions = NotificationSubscriptions;
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=NotificationSubscriptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -32,6 +32,7 @@ export * from './LeagueSeason';
|
|
|
32
32
|
export * from './LineItemHistory';
|
|
33
33
|
export * from './LineItems';
|
|
34
34
|
export * from './LinkedAccounts';
|
|
35
|
+
export * from './NotificationSubscriptions';
|
|
35
36
|
export * from './OrganizationConnectionBaseEntity';
|
|
36
37
|
export * from './PackageV1';
|
|
37
38
|
export * from './PasswordReset';
|
|
@@ -48,6 +48,7 @@ __exportStar(require("./LeagueSeason"), exports);
|
|
|
48
48
|
__exportStar(require("./LineItemHistory"), exports);
|
|
49
49
|
__exportStar(require("./LineItems"), exports);
|
|
50
50
|
__exportStar(require("./LinkedAccounts"), exports);
|
|
51
|
+
__exportStar(require("./NotificationSubscriptions"), exports);
|
|
51
52
|
__exportStar(require("./OrganizationConnectionBaseEntity"), exports);
|
|
52
53
|
__exportStar(require("./PackageV1"), exports);
|
|
53
54
|
__exportStar(require("./PasswordReset"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/entity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,uDAAqC;AACrC,8CAA4B;AAC5B,kDAAgC;AAChC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,8DAA4C;AAC5C,kDAAgC;AAChC,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,kDAAgC;AAChC,0CAAwB;AACxB,sDAAoC;AACpC,sDAAoC;AACpC,4CAA0B;AAC1B,mDAAiC;AACjC,iDAA+B;AAC/B,gDAA8B;AAC9B,qDAAmC;AACnC,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,8CAA4B;AAC5B,mDAAiC;AACjC,qEAAmD;AACnD,8CAA4B;AAC5B,kDAAgC;AAChC,mDAAiC;AACjC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iEAA+C;AAC/C,kDAAgC;AAChC,uDAAqC;AACrC,2DAAyC;AACzC,kDAAgC;AAChC,oDAAkC;AAClC,oDAAkC;AAClC,+CAA6B;AAC7B,+CAA6B;AAC7B,yCAAuB;AACvB,+CAA6B;AAC7B,+CAA6B;AAC7B,qDAAmC;AACnC,uDAAqC;AACrC,wDAAsC;AACtC,iDAA+B;AAC/B,kDAAgC;AAChC,6CAA2B;AAC3B,wDAAsC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/entity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,kDAAgC;AAChC,gDAA8B;AAC9B,mDAAiC;AACjC,uDAAqC;AACrC,8CAA4B;AAC5B,kDAAgC;AAChC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,8DAA4C;AAC5C,kDAAgC;AAChC,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AACnC,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,kDAAgC;AAChC,0CAAwB;AACxB,sDAAoC;AACpC,sDAAoC;AACpC,4CAA0B;AAC1B,mDAAiC;AACjC,iDAA+B;AAC/B,gDAA8B;AAC9B,qDAAmC;AACnC,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,8CAA4B;AAC5B,mDAAiC;AACjC,8DAA4C;AAC5C,qEAAmD;AACnD,8CAA4B;AAC5B,kDAAgC;AAChC,mDAAiC;AACjC,oDAAkC;AAClC,2DAAyC;AACzC,sDAAoC;AACpC,iEAA+C;AAC/C,kDAAgC;AAChC,uDAAqC;AACrC,2DAAyC;AACzC,kDAAgC;AAChC,oDAAkC;AAClC,oDAAkC;AAClC,+CAA6B;AAC7B,+CAA6B;AAC7B,yCAAuB;AACvB,+CAA6B;AAC7B,+CAA6B;AAC7B,qDAAmC;AACnC,uDAAqC;AACrC,wDAAsC;AACtC,iDAA+B;AAC/B,kDAAgC;AAChC,6CAA2B;AAC3B,wDAAsC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { AddressDto } from '../../address/dto/address.dto';
|
|
2
2
|
import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
|
3
|
-
import { SimpleMediaDto } from '../../media/dto/media-public.dto';
|
|
4
3
|
import { OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
5
|
-
import { OrderByEnum } from '../../services/enums.service';
|
|
6
|
-
import { FacilitiesOrderByEnum } from '../types/enums/facilities.enums';
|
|
7
4
|
export declare class OptionalFacilityIdDto extends OptionalOrganizationIdDto {
|
|
8
5
|
facilityId?: number;
|
|
9
6
|
}
|
|
@@ -16,8 +13,6 @@ export declare class CreateFacilityDto {
|
|
|
16
13
|
name: string;
|
|
17
14
|
sports: number[];
|
|
18
15
|
description?: string;
|
|
19
|
-
email?: string | null;
|
|
20
|
-
phone?: string | null;
|
|
21
16
|
longDescription?: string;
|
|
22
17
|
info?: string;
|
|
23
18
|
address: AddressDto;
|
|
@@ -27,14 +22,8 @@ export declare class CreateFacilityDto {
|
|
|
27
22
|
}
|
|
28
23
|
export declare class FacilityDto {
|
|
29
24
|
id: number;
|
|
30
|
-
organizationId: number;
|
|
31
|
-
addressId?: number;
|
|
32
|
-
createdAt: Date;
|
|
33
|
-
updatedAt: Date;
|
|
34
25
|
name: string;
|
|
35
26
|
description?: string;
|
|
36
|
-
email?: string | null;
|
|
37
|
-
phone?: string | null;
|
|
38
27
|
address: AddressDto;
|
|
39
28
|
amenities: number[];
|
|
40
29
|
timezone: string;
|
|
@@ -44,7 +33,6 @@ export declare class FacilityDto {
|
|
|
44
33
|
creatorType: string;
|
|
45
34
|
userCreatorId: number;
|
|
46
35
|
mainMediaId: number;
|
|
47
|
-
mainMedia?: SimpleMediaDto;
|
|
48
36
|
publishedDate?: Date;
|
|
49
37
|
isPublished: boolean;
|
|
50
38
|
sports?: number[];
|
|
@@ -54,15 +42,10 @@ export declare class FacilityDto {
|
|
|
54
42
|
ordinal: number;
|
|
55
43
|
locationId?: string;
|
|
56
44
|
linkSEO: string;
|
|
57
|
-
tipConfigId?: number;
|
|
58
|
-
stripeConfigurationId?: string;
|
|
59
|
-
questionnaireId?: number;
|
|
60
45
|
}
|
|
61
46
|
export declare class UpdateFacilityDetailsDto {
|
|
62
47
|
name?: string;
|
|
63
48
|
description?: string;
|
|
64
|
-
email?: string | null;
|
|
65
|
-
phone?: string | null;
|
|
66
49
|
longDescription?: string;
|
|
67
50
|
info?: string;
|
|
68
51
|
address?: AddressDto;
|
|
@@ -78,10 +61,6 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
78
61
|
}
|
|
79
62
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
80
63
|
nameSearch?: string;
|
|
81
|
-
sports?: number[];
|
|
82
|
-
isPublished?: boolean;
|
|
83
|
-
orderBy?: FacilitiesOrderByEnum;
|
|
84
|
-
order?: OrderByEnum;
|
|
85
64
|
}
|
|
86
65
|
export declare class BasicFacilityDto extends IdAndNameDto {
|
|
87
66
|
timezone?: string;
|
|
@@ -89,5 +68,4 @@ export declare class BasicFacilityDto extends IdAndNameDto {
|
|
|
89
68
|
export declare class SimpleFacilityDto extends IdAndNameDto {
|
|
90
69
|
sports?: number[];
|
|
91
70
|
openingTimes?: OpeningTimeDto[];
|
|
92
|
-
locationId?: string;
|
|
93
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../../src/types/facilities/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsE;
|
|
1
|
+
{"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../../src/types/facilities/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsE;AACtE,8EAAoF;AAEpF,MAAa,qBAAsB,SAAQ,4CAAyB;CAEnE;AAFD,sDAEC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC;AAED,MAAa,iBAAiB;CAkB7B;AAlBD,8CAkBC;AAED,MAAa,WAAW;CA0CvB;AA1CD,kCA0CC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAE5D;AAFD,4DAEC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAEjD;AAFD,4CAEC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAIlD;AAJD,8CAIC"}
|
|
@@ -9,8 +9,6 @@ import { OpeningTime } from './OpeningTime';
|
|
|
9
9
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
10
10
|
name: string;
|
|
11
11
|
description?: string;
|
|
12
|
-
email?: string;
|
|
13
|
-
phone?: string;
|
|
14
12
|
addressId: number;
|
|
15
13
|
address: Address;
|
|
16
14
|
amenities?: number[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Facility.js","sourceRoot":"","sources":["../../../../src/types/facilities/entities/Facility.ts"],"names":[],"mappings":";;;AAcA,oGAAiG;AASjG,MAAa,QAAS,SAAQ,mEAAgC;
|
|
1
|
+
{"version":3,"file":"Facility.js","sourceRoot":"","sources":["../../../../src/types/facilities/entities/Facility.ts"],"names":[],"mappings":";;;AAcA,oGAAiG;AASjG,MAAa,QAAS,SAAQ,mEAAgC;CA2D7D;AA3DD,4BA2DC"}
|
|
@@ -1 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
import { UpdateFacilityDetailsDto } from '../dto/facilities.dto';
|
|
2
|
+
export interface IUpdateFacilityDetails extends UpdateFacilityDetailsDto {
|
|
3
|
+
stripeConfigurationId?: string | null;
|
|
4
|
+
tipConfigId?: number | null;
|
|
5
|
+
}
|
|
6
|
+
export interface IFacilityNameAndCoordinates {
|
|
7
|
+
coordinates: number[];
|
|
8
|
+
facilityName: string;
|
|
9
|
+
}
|
|
10
|
+
export type FacilityRelation = 'address' | 'mainMedia' | 'openingTimes' | 'spaces' | 'resources' | 'programSeasons' | 'tipConfiguration' | 'products';
|
|
11
|
+
export declare const DEFAULT_FACILITY_RELATIONS: FacilityRelation[];
|
|
12
|
+
export interface IFindFacilitiesOptions {
|
|
13
|
+
organizationId?: number;
|
|
14
|
+
facilityIds?: number[];
|
|
15
|
+
hasLocation?: boolean;
|
|
16
|
+
hasStripeConfig?: boolean;
|
|
17
|
+
isTipConfigured?: boolean;
|
|
18
|
+
nameSearch?: string;
|
|
19
|
+
relations?: FacilityRelation[];
|
|
20
|
+
}
|
|
21
|
+
export declare const MAX_FACILITIES_IDS = 100;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MAX_FACILITIES_IDS = exports.DEFAULT_FACILITY_RELATIONS = void 0;
|
|
4
|
+
exports.DEFAULT_FACILITY_RELATIONS = ['address', 'openingTimes', 'mainMedia'];
|
|
5
|
+
exports.MAX_FACILITIES_IDS = 100;
|
|
3
6
|
//# sourceMappingURL=facilities.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"facilities.types.js","sourceRoot":"","sources":["../../../../src/types/facilities/types/facilities.types.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"facilities.types.js","sourceRoot":"","sources":["../../../../src/types/facilities/types/facilities.types.ts"],"names":[],"mappings":";;;AAuBa,QAAA,0BAA0B,GAAuB,CAAC,SAAS,EAAE,cAAc,EAAE,WAAW,CAAC,CAAC;AAY1F,QAAA,kBAAkB,GAAG,GAAG,CAAC"}
|
|
@@ -14,8 +14,5 @@ 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);
|
|
18
|
-
__exportStar(require("./enums"), exports);
|
|
19
17
|
__exportStar(require("./facilities.types"), exports);
|
|
20
|
-
__exportStar(require("./interfaces"), exports);
|
|
21
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/facilities/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/facilities/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
|
@@ -14,7 +14,6 @@ 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("./eligible-members.dto"), exports);
|
|
18
17
|
__exportStar(require("./expended-member.dto"), exports);
|
|
19
18
|
__exportStar(require("./membership-member.dto"), exports);
|
|
20
19
|
__exportStar(require("./membership.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/membership/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/membership/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,0DAAwC;AACxC,mDAAiC;AACjC,iEAA+C;AAC/C,0DAAwC"}
|
|
@@ -4,46 +4,18 @@ import { InvoiceToPayment } from '../../entity/InvoiceToPayment';
|
|
|
4
4
|
import { LineItems } from '../../entity/LineItems';
|
|
5
5
|
import { PaymentMethodTypeEnum, PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
|
6
6
|
import { CancellationStatusEnum, CurrencyEnum, CustomerInMembershipTypeEnum, GenderEnum, MembershipTypeEnum } from '../../services/enums.service';
|
|
7
|
-
import { SimpleUserDto } from '../../user/dto/user.dto';
|
|
8
7
|
import { User } from '../../user/entities/User';
|
|
9
8
|
import { MembershipMemberRenewal } from '../entities/membership-member-renewal.entity';
|
|
10
9
|
import { MembershipMember } from '../entities/membership-member.entity';
|
|
11
10
|
import { Membership } from '../entities/membership.entity';
|
|
12
11
|
export interface IExpandedMembershipMemberData {
|
|
13
12
|
invoice: Partial<Invoice>;
|
|
14
|
-
lineItem: Partial<LineItems
|
|
15
|
-
packageProductId?: number | null;
|
|
16
|
-
packageProductUserId?: number | null;
|
|
17
|
-
};
|
|
13
|
+
lineItem: Partial<LineItems>;
|
|
18
14
|
member: MembershipMember;
|
|
19
15
|
membership: Partial<Membership>;
|
|
20
16
|
payment?: Partial<InvoiceToPayment>;
|
|
21
17
|
user: Partial<User>;
|
|
22
18
|
}
|
|
23
|
-
export interface IEligibleFamilyMember {
|
|
24
|
-
membershipMemberId: number | null;
|
|
25
|
-
ineligibilityReasons: string[];
|
|
26
|
-
isAdmin: boolean;
|
|
27
|
-
isAlreadyMember: boolean;
|
|
28
|
-
isEligible: boolean;
|
|
29
|
-
user: SimpleUserDto;
|
|
30
|
-
}
|
|
31
|
-
export interface IEligibleMembersResponse {
|
|
32
|
-
capacity: {
|
|
33
|
-
currentTotal: number;
|
|
34
|
-
remainingTotal: number;
|
|
35
|
-
isFull: boolean;
|
|
36
|
-
};
|
|
37
|
-
members: IEligibleFamilyMember[];
|
|
38
|
-
membership: {
|
|
39
|
-
id: number;
|
|
40
|
-
name: string;
|
|
41
|
-
gender: GenderEnum;
|
|
42
|
-
minAgeYears: number | null;
|
|
43
|
-
maxAgeYears: number | null;
|
|
44
|
-
maxMembers: number;
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
19
|
export interface IGetPauseOptions {
|
|
48
20
|
activeOnly?: boolean;
|
|
49
21
|
}
|
|
@@ -66,12 +38,6 @@ export interface IExpandedMembershipMemberRawData extends Partial<MembershipMemb
|
|
|
66
38
|
membershipName: string;
|
|
67
39
|
parentPrice?: number;
|
|
68
40
|
}
|
|
69
|
-
export interface IFamilyMembershipMemberProductPrice {
|
|
70
|
-
id: number;
|
|
71
|
-
packageProductUserId: number;
|
|
72
|
-
productId: number;
|
|
73
|
-
price: number;
|
|
74
|
-
}
|
|
75
41
|
export interface IRawMembershipMemberWithMembership {
|
|
76
42
|
member_membershipId: number;
|
|
77
43
|
member_nextPaymentMethodId?: string;
|
|
@@ -3,6 +3,8 @@ export declare class PauseMailRelevantInfo {
|
|
|
3
3
|
members: IMemberMailDetails[];
|
|
4
4
|
organizationId: number;
|
|
5
5
|
membership_name: string;
|
|
6
|
+
facility_name: string;
|
|
7
|
+
facility_id?: number;
|
|
6
8
|
membership_pause_start: string;
|
|
7
9
|
membership_pause_end: string;
|
|
8
10
|
previous_next_billing_date: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"membership.member.classes.js","sourceRoot":"","sources":["../../../../src/types/membership/types/membership.member.classes.ts"],"names":[],"mappings":";;;AAGA,MAAa,qBAAqB;
|
|
1
|
+
{"version":3,"file":"membership.member.classes.js","sourceRoot":"","sources":["../../../../src/types/membership/types/membership.member.classes.ts"],"names":[],"mappings":";;;AAGA,MAAa,qBAAqB;CAsBjC;AAtBD,sDAsBC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { MembershipStatusEnum } from '../../services/enums.service';
|
|
2
1
|
import { IGetPauseOptions } from './membership.interfaces';
|
|
3
2
|
export declare const DEFAULT_MEMBERSHIP_MEMBER_ALIAS = "membershipMember";
|
|
4
3
|
export declare const DEFAULT_GET_PAUSE_OPTIONS: IGetPauseOptions;
|
|
@@ -13,10 +12,3 @@ export declare const MEMBERSHIP_STATUS_PRIORITY: {
|
|
|
13
12
|
pending: number;
|
|
14
13
|
none: number;
|
|
15
14
|
};
|
|
16
|
-
/**
|
|
17
|
-
* Statuses that mean the member currently occupies a slot on a membership
|
|
18
|
-
* (i.e. should be counted toward capacity and flagged as `isAlreadyMember`).
|
|
19
|
-
* Includes scheduled-cancel + paused variants since the term hasn't ended, and
|
|
20
|
-
* PENDING (future startDate) since a not-yet-started member still holds their slot.
|
|
21
|
-
*/
|
|
22
|
-
export declare const CURRENT_MEMBERSHIP_STATUSES: MembershipStatusEnum[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.MEMBERSHIP_STATUS_PRIORITY = exports.DEFAULT_GET_PAUSE_OPTIONS = exports.DEFAULT_MEMBERSHIP_MEMBER_ALIAS = void 0;
|
|
4
4
|
const enums_service_1 = require("../../services/enums.service");
|
|
5
5
|
exports.DEFAULT_MEMBERSHIP_MEMBER_ALIAS = 'membershipMember';
|
|
6
6
|
exports.DEFAULT_GET_PAUSE_OPTIONS = {
|
|
@@ -17,18 +17,4 @@ exports.MEMBERSHIP_STATUS_PRIORITY = {
|
|
|
17
17
|
[enums_service_1.MembershipStatusEnum.PENDING]: 1,
|
|
18
18
|
[enums_service_1.MembershipStatusEnum.NONE]: 1,
|
|
19
19
|
};
|
|
20
|
-
/**
|
|
21
|
-
* Statuses that mean the member currently occupies a slot on a membership
|
|
22
|
-
* (i.e. should be counted toward capacity and flagged as `isAlreadyMember`).
|
|
23
|
-
* Includes scheduled-cancel + paused variants since the term hasn't ended, and
|
|
24
|
-
* PENDING (future startDate) since a not-yet-started member still holds their slot.
|
|
25
|
-
*/
|
|
26
|
-
exports.CURRENT_MEMBERSHIP_STATUSES = [
|
|
27
|
-
enums_service_1.MembershipStatusEnum.ACTIVE,
|
|
28
|
-
enums_service_1.MembershipStatusEnum.ACTIVE_CANCELLED,
|
|
29
|
-
enums_service_1.MembershipStatusEnum.PAUSED,
|
|
30
|
-
enums_service_1.MembershipStatusEnum.PAUSED_CANCELLED,
|
|
31
|
-
enums_service_1.MembershipStatusEnum.PAUSE_PENDING,
|
|
32
|
-
enums_service_1.MembershipStatusEnum.PENDING,
|
|
33
|
-
];
|
|
34
20
|
//# sourceMappingURL=membership.member.consts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"membership.member.consts.js","sourceRoot":"","sources":["../../../../src/types/membership/types/membership.member.consts.ts"],"names":[],"mappings":";;;AAAA,gEAAoE;AAIvD,QAAA,+BAA+B,GAAG,kBAAkB,CAAC;AAErD,QAAA,yBAAyB,GAAqB;IAC1D,UAAU,EAAE,KAAK;CACjB,CAAC;AAEW,QAAA,0BAA0B,GAAG;IACzC,CAAC,oCAAoB,CAAC,MAAM,CAAC,EAAE,CAAC;IAChC,CAAC,oCAAoB,CAAC,gBAAgB,CAAC,EAAE,CAAC;IAC1C,CAAC,oCAAoB,CAAC,MAAM,CAAC,EAAE,CAAC;IAChC,CAAC,oCAAoB,CAAC,gBAAgB,CAAC,EAAE,CAAC;IAC1C,CAAC,oCAAoB,CAAC,aAAa,CAAC,EAAE,CAAC;IACvC,CAAC,oCAAoB,CAAC,SAAS,CAAC,EAAE,CAAC;IACnC,CAAC,oCAAoB,CAAC,OAAO,CAAC,EAAE,CAAC;IACjC,CAAC,oCAAoB,CAAC,OAAO,CAAC,EAAE,CAAC;IACjC,CAAC,oCAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;CAC9B,CAAC
|
|
1
|
+
{"version":3,"file":"membership.member.consts.js","sourceRoot":"","sources":["../../../../src/types/membership/types/membership.member.consts.ts"],"names":[],"mappings":";;;AAAA,gEAAoE;AAIvD,QAAA,+BAA+B,GAAG,kBAAkB,CAAC;AAErD,QAAA,yBAAyB,GAAqB;IAC1D,UAAU,EAAE,KAAK;CACjB,CAAC;AAEW,QAAA,0BAA0B,GAAG;IACzC,CAAC,oCAAoB,CAAC,MAAM,CAAC,EAAE,CAAC;IAChC,CAAC,oCAAoB,CAAC,gBAAgB,CAAC,EAAE,CAAC;IAC1C,CAAC,oCAAoB,CAAC,MAAM,CAAC,EAAE,CAAC;IAChC,CAAC,oCAAoB,CAAC,gBAAgB,CAAC,EAAE,CAAC;IAC1C,CAAC,oCAAoB,CAAC,aAAa,CAAC,EAAE,CAAC;IACvC,CAAC,oCAAoB,CAAC,SAAS,CAAC,EAAE,CAAC;IACnC,CAAC,oCAAoB,CAAC,OAAO,CAAC,EAAE,CAAC;IACjC,CAAC,oCAAoB,CAAC,OAAO,CAAC,EAAE,CAAC;IACjC,CAAC,oCAAoB,CAAC,IAAI,CAAC,EAAE,CAAC;CAC9B,CAAC"}
|
|
@@ -22,8 +22,8 @@ export interface IRegistrationDates {
|
|
|
22
22
|
}
|
|
23
23
|
export interface ISendPauseMail {
|
|
24
24
|
adminId: number;
|
|
25
|
-
facilityId?: number;
|
|
26
25
|
adminTemplateKey: EmailTemplatesEnum.ADMIN_PAUSE_USER | EmailTemplatesEnum.PAUSE_RESUME_ADMIN;
|
|
26
|
+
facilityName?: string;
|
|
27
27
|
initialEmail?: string;
|
|
28
28
|
mailData: PauseMailRelevantInfo;
|
|
29
29
|
organizationName?: string;
|
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./backoffice.notify.dto"), exports);
|
|
18
|
-
__exportStar(require("./notification-subscriptions.dto"), exports);
|
|
19
18
|
__exportStar(require("./notification.blast.query.dto"), exports);
|
|
20
19
|
__exportStar(require("./notification.create.dto"), exports);
|
|
21
20
|
__exportStar(require("./notification.response.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,iEAA+C;AAC/C,4DAA0C;AAC1C,8DAA4C"}
|
|
@@ -11,11 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ContentDto as IContentDto, NotificationClassification, NotificationCreateDto as INotificationCreateDto, NotificationDeliveryChannel, RecipientDto as IRecipientDto, RecipientsDto as IRecipientsDto, SenderDto as ISenderDto } from '@bondsports/notifications-sdk';
|
|
13
13
|
import { OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
14
|
-
/**
|
|
15
|
-
* Placeholder recipient user id used when a notification is sent to a raw email
|
|
16
|
-
* address that is not linked to a known user.
|
|
17
|
-
*/
|
|
18
|
-
export declare const TEMP_RECIPIENT_USER_ID = -5;
|
|
19
14
|
/**
|
|
20
15
|
* Represents a recipient with both email address and optional user ID.
|
|
21
16
|
* This allows tracking notifications by user even when their email changes.
|
|
@@ -11,15 +11,11 @@
|
|
|
11
11
|
* ************************
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.NotificationCreateDto = exports.ContentDto = exports.RecipientsDto = exports.SenderDto = exports.RecipientDto =
|
|
14
|
+
exports.NotificationCreateDto = exports.ContentDto = exports.RecipientsDto = exports.SenderDto = exports.RecipientDto = void 0;
|
|
15
15
|
const notifications_sdk_1 = require("@bondsports/notifications-sdk");
|
|
16
16
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
17
17
|
// This file contains DTOs for sending notifications with the SendService.
|
|
18
|
-
|
|
19
|
-
* Placeholder recipient user id used when a notification is sent to a raw email
|
|
20
|
-
* address that is not linked to a known user.
|
|
21
|
-
*/
|
|
22
|
-
exports.TEMP_RECIPIENT_USER_ID = -5;
|
|
18
|
+
const TEMP_USER_ID = -5;
|
|
23
19
|
/**
|
|
24
20
|
* Represents a recipient with both email address and optional user ID.
|
|
25
21
|
* This allows tracking notifications by user even when their email changes.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.create.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.create.dto.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,qEAQuC;AAEvC,8EAAoF;AAGpF,0EAA0E;
|
|
1
|
+
{"version":3,"file":"notification.create.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.create.dto.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,qEAQuC;AAEvC,8EAAoF;AAGpF,0EAA0E;AAC1E,MAAM,YAAY,GAAG,CAAC,CAAC,CAAC;AAExB;;;GAGG;AACH,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,SAAU,SAAQ,4CAAyB;CAavD;AAbD,8BAaC;AAED,MAAa,aAAa;CAczB;AAdD,sCAcC;AAED,MAAa,UAAU;CAWtB;AAXD,gCAWC;AAED,MAAa,qBAAqB;IAAlC;QAGC,mBAAc,GAAgC,8CAA0B,CAAC,OAAO,CAAC;QAgBjF;WACG;QAEH;;;;WAIG;IACJ,CAAC;CAAA;AA3BD,sDA2BC"}
|
|
@@ -15,6 +15,5 @@ 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);
|
|
19
18
|
__exportStar(require("./types"), exports);
|
|
20
19
|
//# sourceMappingURL=index.js.map
|