@bondsports/types 2.1.18 → 2.1.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/attendance/dto/attendance.dto.d.ts +0 -1
  3. package/dist/types/attendance/dto/attendance.dto.js.map +1 -1
  4. package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +1 -1
  5. package/dist/types/dto/events.dto.d.ts +1 -1
  6. package/dist/types/dto/facilities.dto.d.ts +1 -0
  7. package/dist/types/dto/facilities.dto.js.map +1 -1
  8. package/dist/types/dto/general.dto.d.ts +3 -0
  9. package/dist/types/dto/general.dto.js +4 -1
  10. package/dist/types/dto/general.dto.js.map +1 -1
  11. package/dist/types/dto/product-variants.dto.d.ts +4 -2
  12. package/dist/types/dto/product-variants.dto.js.map +1 -1
  13. package/dist/types/dto/stripe.dto.d.ts +0 -4
  14. package/dist/types/dto/stripe.dto.js +1 -4
  15. package/dist/types/dto/stripe.dto.js.map +1 -1
  16. package/dist/types/entity/Facility.d.ts +1 -1
  17. package/dist/types/entity/LineItems.d.ts +1 -0
  18. package/dist/types/entity/LineItems.js.map +1 -1
  19. package/dist/types/entity/PurchasedResources.d.ts +1 -1
  20. package/dist/types/entity/PurchasedResources.js.map +1 -1
  21. package/dist/types/entity/user-payment-method.d.ts +1 -0
  22. package/dist/types/entity/user-payment-method.js.map +1 -1
  23. package/dist/types/future-installments/dto/future-installments.dto.d.ts +1 -0
  24. package/dist/types/future-installments/dto/future-installments.dto.js.map +1 -1
  25. package/dist/types/future-installments/dto/get-future-installment.dto.d.ts +4 -4
  26. package/dist/types/future-installments/dto/get-future-installment.dto.js +2 -2
  27. package/dist/types/future-installments/dto/get-future-installment.dto.js.map +1 -1
  28. package/dist/types/index.d.ts +1 -1
  29. package/dist/types/index.js +1 -1
  30. package/dist/types/index.js.map +1 -1
  31. package/dist/types/media/dto/media.dto.d.ts +11 -0
  32. package/dist/types/media/dto/media.dto.js.map +1 -1
  33. package/dist/types/notifications/types/enums/notification.enums.d.ts +2 -1
  34. package/dist/types/notifications/types/enums/notification.enums.js +1 -0
  35. package/dist/types/notifications/types/enums/notification.enums.js.map +1 -1
  36. package/dist/types/payment/dto/payment-plan.dto.d.ts +2 -1
  37. package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
  38. package/dist/types/payment/dto/payment.dto.d.ts +2 -2
  39. package/dist/types/payment/dto/payment.dto.js.map +1 -1
  40. package/dist/types/payment/entities/FutureInstallment.d.ts +3 -0
  41. package/dist/types/payment/entities/FutureInstallment.js.map +1 -1
  42. package/dist/types/payment/entities/Payment.d.ts +2 -0
  43. package/dist/types/payment/entities/Payment.js.map +1 -1
  44. package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +2 -4
  45. package/dist/types/payment/types/interfaces/index.d.ts +1 -0
  46. package/dist/types/payment/types/interfaces/index.js +1 -0
  47. package/dist/types/payment/types/interfaces/index.js.map +1 -1
  48. package/dist/types/payment/types/interfaces/user-payment-method.interfaces.d.ts +5 -0
  49. package/dist/types/payment/types/interfaces/user-payment-method.interfaces.js +3 -0
  50. package/dist/types/payment/types/interfaces/user-payment-method.interfaces.js.map +1 -0
  51. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +1 -1
  52. package/dist/types/programs/dto/program.dto.d.ts +1 -1
  53. package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +1 -1
  54. package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +1 -1
  55. package/dist/types/purchase/dto/purchase.dto.d.ts +1 -1
  56. package/dist/types/purchase/dto/purchase.dto.js +1 -1
  57. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  58. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +2 -3
  59. package/dist/types/reservations/entities/Addon.d.ts +1 -1
  60. package/dist/types/reservations/entities/Series.d.ts +1 -1
  61. package/dist/types/reservations/entities/Slots.d.ts +1 -1
  62. package/dist/types/{spaces → resources}/dto/index.d.ts +1 -0
  63. package/dist/types/{spaces → resources}/dto/index.js +1 -0
  64. package/dist/types/resources/dto/index.js.map +1 -0
  65. package/dist/types/resources/dto/instructor.dto.d.ts +54 -0
  66. package/dist/types/resources/dto/instructor.dto.js +11 -0
  67. package/dist/types/resources/dto/instructor.dto.js.map +1 -0
  68. package/dist/types/resources/dto/resource.dto.d.ts +85 -0
  69. package/dist/types/resources/dto/resource.dto.js +42 -0
  70. package/dist/types/resources/dto/resource.dto.js.map +1 -0
  71. package/dist/types/{spaces → resources}/dto/space.dto.d.ts +7 -14
  72. package/dist/types/{spaces → resources}/dto/space.dto.js +3 -5
  73. package/dist/types/resources/dto/space.dto.js.map +1 -0
  74. package/dist/types/resources/entities/Instructor.d.ts +11 -0
  75. package/dist/types/resources/entities/Instructor.js +8 -0
  76. package/dist/types/resources/entities/Instructor.js.map +1 -0
  77. package/dist/types/{spaces → resources}/entities/Resource.d.ts +8 -2
  78. package/dist/types/resources/entities/Resource.js.map +1 -0
  79. package/dist/types/resources/entities/Space.d.ts +14 -0
  80. package/dist/types/resources/entities/Space.js +8 -0
  81. package/dist/types/resources/entities/Space.js.map +1 -0
  82. package/dist/types/resources/entities/SpacesDependency.js.map +1 -0
  83. package/dist/types/{spaces → resources}/entities/index.d.ts +2 -0
  84. package/dist/types/{spaces → resources}/entities/index.js +2 -0
  85. package/dist/types/resources/entities/index.js.map +1 -0
  86. package/dist/types/resources/index.js.map +1 -0
  87. package/dist/types/resources/types/enums/index.d.ts +1 -0
  88. package/dist/types/resources/types/enums/index.js +18 -0
  89. package/dist/types/resources/types/enums/index.js.map +1 -0
  90. package/dist/types/resources/types/enums/resources.enums.d.ts +7 -0
  91. package/dist/types/resources/types/enums/resources.enums.js +12 -0
  92. package/dist/types/resources/types/enums/resources.enums.js.map +1 -0
  93. package/dist/types/{spaces → resources}/types/index.d.ts +1 -0
  94. package/dist/types/{spaces → resources}/types/index.js +1 -0
  95. package/dist/types/resources/types/index.js.map +1 -0
  96. package/dist/types/resources/types/interfaces/index.js.map +1 -0
  97. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +18 -0
  98. package/dist/types/resources/types/interfaces/resource.interfaces.js.map +1 -0
  99. package/dist/types/roles/dto/role.dto.d.ts +5 -0
  100. package/dist/types/roles/dto/role.dto.js +4 -1
  101. package/dist/types/roles/dto/role.dto.js.map +1 -1
  102. package/dist/types/roles/entities/Role.d.ts +1 -0
  103. package/dist/types/roles/entities/Role.js.map +1 -1
  104. package/dist/types/roles/index.d.ts +1 -0
  105. package/dist/types/roles/index.js +1 -0
  106. package/dist/types/roles/index.js.map +1 -1
  107. package/dist/types/roles/types/index.d.ts +1 -0
  108. package/dist/types/roles/types/index.js +18 -0
  109. package/dist/types/roles/types/index.js.map +1 -0
  110. package/dist/types/roles/types/role.enums.d.ts +12 -0
  111. package/dist/types/roles/types/role.enums.js +14 -0
  112. package/dist/types/roles/types/role.enums.js.map +1 -0
  113. package/dist/types/services/enums.service.d.ts +4 -2
  114. package/dist/types/services/enums.service.js +2 -0
  115. package/dist/types/services/enums.service.js.map +1 -1
  116. package/dist/types/user/dto/user.dto.d.ts +1 -1
  117. package/package.json +1 -1
  118. package/dist/types/spaces/dto/index.js.map +0 -1
  119. package/dist/types/spaces/dto/resource.dto.d.ts +0 -8
  120. package/dist/types/spaces/dto/resource.dto.js +0 -11
  121. package/dist/types/spaces/dto/resource.dto.js.map +0 -1
  122. package/dist/types/spaces/dto/space.dto.js.map +0 -1
  123. package/dist/types/spaces/entities/Resource.js.map +0 -1
  124. package/dist/types/spaces/entities/SpacesDependency.js.map +0 -1
  125. package/dist/types/spaces/entities/index.js.map +0 -1
  126. package/dist/types/spaces/index.js.map +0 -1
  127. package/dist/types/spaces/types/index.js.map +0 -1
  128. package/dist/types/spaces/types/interfaces/index.js.map +0 -1
  129. package/dist/types/spaces/types/interfaces/resource.interfaces.d.ts +0 -6
  130. package/dist/types/spaces/types/interfaces/resource.interfaces.js.map +0 -1
  131. /package/dist/types/{spaces → resources}/entities/Resource.js +0 -0
  132. /package/dist/types/{spaces → resources}/entities/SpacesDependency.d.ts +0 -0
  133. /package/dist/types/{spaces → resources}/entities/SpacesDependency.js +0 -0
  134. /package/dist/types/{spaces → resources}/index.d.ts +0 -0
  135. /package/dist/types/{spaces → resources}/index.js +0 -0
  136. /package/dist/types/{spaces → resources}/types/interfaces/index.d.ts +0 -0
  137. /package/dist/types/{spaces → resources}/types/interfaces/index.js +0 -0
  138. /package/dist/types/{spaces → resources}/types/interfaces/resource.interfaces.js +0 -0
@@ -14,7 +14,6 @@ export declare class AttendanceDto {
14
14
  export declare class AttendanceCreateDto {
15
15
  entityId: number;
16
16
  entityType: AttendanceEntityTypeEnum;
17
- facilityId?: number;
18
17
  stationId?: number;
19
18
  }
20
19
  export declare class GetUserAttendanceQuery extends PaginationQuery {
@@ -1 +1 @@
1
- {"version":3,"file":"attendance.dto.js","sourceRoot":"","sources":["../../../../src/types/attendance/dto/attendance.dto.ts"],"names":[],"mappings":";;;AAAA,gEAA2F;AAC3F,uDAAwD;AACxD,gEAA2D;AAE3D,MAAa,aAAa;CAgBzB;AAhBD,sCAgBC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;IAA3D;;QACC,WAAM,GAAyB,uCAAoB,CAAC,YAAY,CAAC;QAEjE,UAAK,GAAgB,2BAAW,CAAC,IAAI,CAAC;IACvC,CAAC;CAAA;AAJD,wDAIC"}
1
+ {"version":3,"file":"attendance.dto.js","sourceRoot":"","sources":["../../../../src/types/attendance/dto/attendance.dto.ts"],"names":[],"mappings":";;;AAAA,gEAA2F;AAC3F,uDAAwD;AACxD,gEAA2D;AAE3D,MAAa,aAAa;CAgBzB;AAhBD,sCAgBC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;IAA3D;;QACC,WAAM,GAAyB,uCAAoB,CAAC,YAAY,CAAC;QAEjE,UAAK,GAAgB,2BAAW,CAAC,IAAI,CAAC;IACvC,CAAC;CAAA;AAJD,wDAIC"}
@@ -2,7 +2,7 @@ import { UserAnswersDto } from '../../../dto/application.dto';
2
2
  import { Product } from '../../../product-pricing/entities/Product';
3
3
  import { CurrencyEnum, PlatformsEnum } from '../../../services/enums.service';
4
4
  import { IPricesOfProductsResults } from '../../../services/interfaces.service';
5
- import { ResourceDto } from '../../../spaces/dto/resource.dto';
5
+ import { ResourceDto } from '../../../resources/dto/resource.dto';
6
6
  import { Cart } from '../../entities/cart.entity';
7
7
  export interface ICreateCart {
8
8
  platform: PlatformsEnum;
@@ -3,7 +3,7 @@ import { MaintenanceDto } from '../reservations/dto/maintenance.dto';
3
3
  import { Slot } from '../reservations/entities/Slots';
4
4
  import { EntryStatusEnum, ProgramTypesEnum, RegistrationValidationStatusEnum } from '../services/enums.service';
5
5
  import { IBasicSpaceAndSlotCreator } from '../services/interfaces.service';
6
- import { SimpleResourceDto } from '../spaces/dto/resource.dto';
6
+ import { SimpleResourceDto } from '../resources/dto/resource.dto';
7
7
  import { IdDto, PaginationRangeQuery } from './general.dto';
8
8
  export declare class FindEventByIdDto {
9
9
  eventId: number;
@@ -23,6 +23,7 @@ export declare class CreateFacilityDto {
23
23
  resourcesIds?: number[];
24
24
  }
25
25
  export declare class FacilityDto {
26
+ id: number;
26
27
  name: string;
27
28
  description?: string;
28
29
  address: AddressDto;
@@ -1 +1 @@
1
- {"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../src/types/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAAA,+CAA8D;AAE9D,MAAa,UAAU;CAQtB;AARD,gCAQC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,WAAW;CAwCvB;AAxCD,kCAwCC;AAED,MAAa,wBAAwB;CAYpC;AAZD,4DAYC;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,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD"}
1
+ {"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../src/types/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAAA,+CAA8D;AAE9D,MAAa,UAAU;CAQtB;AARD,gCAQC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,WAAW;CA0CvB;AA1CD,kCA0CC;AAED,MAAa,wBAAwB;CAYpC;AAZD,4DAYC;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,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD"}
@@ -62,3 +62,6 @@ export declare class GenericResponseDto<T = any, E = string> {
62
62
  export declare class CronQueryParamsDto {
63
63
  dontWait: boolean;
64
64
  }
65
+ export declare class IncludeAdditionalDataDto {
66
+ includeAdditionalData?: boolean;
67
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
3
+ exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
4
4
  class FindOneParams {
5
5
  }
6
6
  exports.FindOneParams = FindOneParams;
@@ -65,4 +65,7 @@ exports.GenericResponseDto = GenericResponseDto;
65
65
  class CronQueryParamsDto {
66
66
  }
67
67
  exports.CronQueryParamsDto = CronQueryParamsDto;
68
+ class IncludeAdditionalDataDto {
69
+ }
70
+ exports.IncludeAdditionalDataDto = IncludeAdditionalDataDto;
68
71
  //# sourceMappingURL=general.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAC3B,YAAY,KAA4E;;QAQxF,SAAI,GAAI,oBAAY,CAAC;QAErB,iBAAY,GAAI,sCAA8B,CAAC;QAT9C,IAAI,CAAC,IAAI,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CA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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"}
@@ -8,8 +8,9 @@ export declare class CreateUpdateVariantsDto {
8
8
  variants: VariantDto[];
9
9
  }
10
10
  export declare class VariantTitleDto {
11
- titleName: string;
12
- titleId: number;
11
+ name: string;
12
+ id: number;
13
+ organizationId: number;
13
14
  }
14
15
  export declare class VariantDto {
15
16
  name: string;
@@ -18,6 +19,7 @@ export declare class VariantDto {
18
19
  currency: CurrencyEnum;
19
20
  startDate: Date;
20
21
  endDate: Date;
22
+ variantTitleId: number;
21
23
  }
22
24
  export declare class VariantWithPrice {
23
25
  variantIds: number[];
@@ -1 +1 @@
1
- {"version":3,"file":"product-variants.dto.js","sourceRoot":"","sources":["../../../src/types/dto/product-variants.dto.ts"],"names":[],"mappings":";;;AAAA,2EAA2E;AAK3E,MAAa,uBAAuB;CAKnC;AALD,0DAKC;AAED,MAAa,eAAe;CAI3B;AAJD,0CAIC;AAED,MAAa,UAAU;CAYtB;AAZD,gCAYC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAAG;AAAlE,wDAAkE;AAElE,MAAa,qBAAsB,SAAQ,sCAAmB;CAI7D;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,sCAAmB;CAM7D;AAND,sDAMC"}
1
+ {"version":3,"file":"product-variants.dto.js","sourceRoot":"","sources":["../../../src/types/dto/product-variants.dto.ts"],"names":[],"mappings":";;;AAAA,2EAA2E;AAK3E,MAAa,uBAAuB;CAKnC;AALD,0DAKC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,UAAU;CActB;AAdD,gCAcC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAAG;AAAlE,wDAAkE;AAElE,MAAa,qBAAsB,SAAQ,sCAAmB;CAI7D;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,sCAAmB;CAM7D;AAND,sDAMC"}
@@ -4,7 +4,3 @@ export declare class StripeCustomerIdDto {
4
4
  export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
5
5
  paymentMethodId: string;
6
6
  }
7
- export declare class AddACHTokenToCustomerDto {
8
- publicToken: string;
9
- accountId: string;
10
- }
@@ -1,13 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AddACHTokenToCustomerDto = exports.StripeCustomerPaymentMathodDto = exports.StripeCustomerIdDto = void 0;
3
+ exports.StripeCustomerPaymentMathodDto = exports.StripeCustomerIdDto = void 0;
4
4
  class StripeCustomerIdDto {
5
5
  }
6
6
  exports.StripeCustomerIdDto = StripeCustomerIdDto;
7
7
  class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
8
8
  }
9
9
  exports.StripeCustomerPaymentMathodDto = StripeCustomerPaymentMathodDto;
10
- class AddACHTokenToCustomerDto {
11
- }
12
- exports.AddACHTokenToCustomerDto = AddACHTokenToCustomerDto;
13
10
  //# sourceMappingURL=stripe.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stripe.dto.js","sourceRoot":"","sources":["../../../src/types/dto/stripe.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,8BAA+B,SAAQ,mBAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC"}
1
+ {"version":3,"file":"stripe.dto.js","sourceRoot":"","sources":["../../../src/types/dto/stripe.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,8BAA+B,SAAQ,mBAAmB;CAEtE;AAFD,wEAEC"}
@@ -1,5 +1,5 @@
1
1
  import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
2
- import { Resource } from '../spaces/entities/Resource';
2
+ import { Resource } from '../resources/entities/Resource';
3
3
  import { Address } from './Address';
4
4
  import { Media } from '../media/entities/Media';
5
5
  import { OpeningTime } from './OpeningTime';
@@ -15,6 +15,7 @@ import { ProductsUsers } from './ProductsUsers';
15
15
  import { PurchasedResource } from './PurchasedResources';
16
16
  export declare class LineItems extends OrganizationConnectionBaseEntity {
17
17
  isReverted: boolean;
18
+ deletedAt?: Date;
18
19
  invoiceId: number;
19
20
  invoice: Invoice;
20
21
  userId: number;
@@ -1 +1 @@
1
- {"version":3,"file":"LineItems.js","sourceRoot":"","sources":["../../../src/types/entity/LineItems.ts"],"names":[],"mappings":";;;AAcA,yFAAsF;AAItF,MAAa,SAAU,SAAQ,mEAAgC;CAiI9D;AAjID,8BAiIC"}
1
+ {"version":3,"file":"LineItems.js","sourceRoot":"","sources":["../../../src/types/entity/LineItems.ts"],"names":[],"mappings":";;;AAcA,yFAAsF;AAItF,MAAa,SAAU,SAAQ,mEAAgC;CAmI9D;AAnID,8BAmIC"}
@@ -2,7 +2,7 @@ import { Product } from '../product-pricing/entities/Product';
2
2
  import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
3
3
  import { Program } from '../programs/entities/Program';
4
4
  import { PurchasedResourceStatusEnum, ResourceNameTypeEnum } from '../services/enums.service';
5
- import { Resource } from '../spaces/entities/Resource';
5
+ import { Resource } from '../resources/entities/Resource';
6
6
  import { EventAttendee } from './EventAttendees';
7
7
  import { Event } from './Events';
8
8
  import { LeagueSeason } from './LeagueSeason';
@@ -1 +1 @@
1
- {"version":3,"file":"PurchasedResources.js","sourceRoot":"","sources":["../../../src/types/entity/PurchasedResources.ts"],"names":[],"mappings":";;;AAWA,yFAAsF;AAKtF,MAAa,iBAAkB,SAAQ,mEAAgC;CA2CtE;AA3CD,8CA2CC"}
1
+ {"version":3,"file":"PurchasedResources.js","sourceRoot":"","sources":["../../../src/types/entity/PurchasedResources.ts"],"names":[],"mappings":";;;AAWA,yFAAsF;AAKtF,MAAa,iBAAkB,SAAQ,mEAAgC;CA8CtE;AA9CD,8CA8CC"}
@@ -10,4 +10,5 @@ export declare class UserPaymentMethod extends BondBaseEntity {
10
10
  nextAllowedChargeDate?: Date;
11
11
  ccLast4?: string;
12
12
  ccBrand?: string;
13
+ deletedAt?: Date;
13
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"user-payment-method.js","sourceRoot":"","sources":["../../../src/types/entity/user-payment-method.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAElD,MAAa,iBAAkB,SAAQ,+BAAc;CAkBpD;AAlBD,8CAkBC"}
1
+ {"version":3,"file":"user-payment-method.js","sourceRoot":"","sources":["../../../src/types/entity/user-payment-method.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAElD,MAAa,iBAAkB,SAAQ,+BAAc;CAoBpD;AApBD,8CAoBC"}
@@ -20,5 +20,6 @@ export declare class FutureInstallmentDto extends OrganizationBaseEntityDto {
20
20
  ccBrand?: string;
21
21
  errorMessage?: string;
22
22
  errorReason?: string;
23
+ lastFailedAt?: number;
23
24
  subPaymentMethodType?: SubPaymentMethodTypeEnum;
24
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"future-installments.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/future-installments.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAOpF,MAAa,oBAAqB,SAAQ,4CAAyB;CAsClE;AAtCD,oDAsCC"}
1
+ {"version":3,"file":"future-installments.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/future-installments.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAOpF,MAAa,oBAAqB,SAAQ,4CAAyB;CAwClE;AAxCD,oDAwCC"}
@@ -1,12 +1,12 @@
1
- import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
2
- import { FuturePaymentStatusEnum } from '../../payment/types/enums/payment.enums';
3
1
  import { PaginationQuery } from '../../dto/general.dto';
2
+ import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
3
+ import { FuturePaymentStatusEnum } from '../../payment/types/enums/payment.enums';
4
4
  export declare class GetFutureInstallmentsByOrgInvoiceDto extends ByOrganizationIdDto {
5
5
  invoiceId: number;
6
6
  userId: number;
7
7
  }
8
- export declare class GetInstallmentsByFiltersDto extends ByOrganizationIdDto {
9
- invoiceId: number;
8
+ export declare class GetInstallmentsByFiltersDto extends OptionalOrganizationIdDto {
9
+ invoiceId?: number;
10
10
  userId?: number;
11
11
  includedIds?: number[];
12
12
  excludedIds?: number[];
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetFutureInstallmentsByStatusDto = exports.GetFutureInstallmentsByInvoiceConsumerDto = exports.FindInstallmentsByFiltersDto = exports.GetInstallmentsByFiltersDto = exports.GetFutureInstallmentsByOrgInvoiceDto = void 0;
4
- const organization_dto_1 = require("../../organization/dto/organization.dto");
5
4
  const general_dto_1 = require("../../dto/general.dto");
5
+ const organization_dto_1 = require("../../organization/dto/organization.dto");
6
6
  class GetFutureInstallmentsByOrgInvoiceDto extends organization_dto_1.ByOrganizationIdDto {
7
7
  }
8
8
  exports.GetFutureInstallmentsByOrgInvoiceDto = GetFutureInstallmentsByOrgInvoiceDto;
9
- class GetInstallmentsByFiltersDto extends organization_dto_1.ByOrganizationIdDto {
9
+ class GetInstallmentsByFiltersDto extends organization_dto_1.OptionalOrganizationIdDto {
10
10
  }
11
11
  exports.GetInstallmentsByFiltersDto = GetInstallmentsByFiltersDto;
12
12
  class FindInstallmentsByFiltersDto extends general_dto_1.PaginationQuery {
@@ -1 +1 @@
1
- {"version":3,"file":"get-future-installment.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/get-future-installment.dto.ts"],"names":[],"mappings":";;;AAAA,8EAA8E;AAE9E,uDAAwD;AAExD,MAAa,oCAAqC,SAAQ,sCAAmB;CAI5E;AAJD,oFAIC;AACD,MAAa,2BAA4B,SAAQ,sCAAmB;CAUnE;AAVD,kEAUC;AAED,MAAa,4BAA6B,SAAQ,6BAAe;CAEhE;AAFD,oEAEC;AAED,MAAa,yCAAyC;CAMrD;AAND,8FAMC;AAED,MAAa,gCAAiC,SAAQ,sCAAmB;CAMxE;AAND,4EAMC"}
1
+ {"version":3,"file":"get-future-installment.dto.js","sourceRoot":"","sources":["../../../../src/types/future-installments/dto/get-future-installment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,8EAAyG;AAGzG,MAAa,oCAAqC,SAAQ,sCAAmB;CAI5E;AAJD,oFAIC;AACD,MAAa,2BAA4B,SAAQ,4CAAyB;CAUzE;AAVD,kEAUC;AAED,MAAa,4BAA6B,SAAQ,6BAAe;CAEhE;AAFD,oEAEC;AAED,MAAa,yCAAyC;CAMrD;AAND,8FAMC;AAED,MAAa,gCAAiC,SAAQ,sCAAmB;CAMxE;AAND,4EAMC"}
@@ -32,10 +32,10 @@ export * from './purchase';
32
32
  export * from './questionnaires';
33
33
  export * from './reservations';
34
34
  export * from './resource-settings';
35
+ export * from './resources';
35
36
  export * from './roles';
36
37
  export * from './services';
37
38
  export * from './shifts';
38
- export * from './spaces';
39
39
  export * from './user';
40
40
  export * from './user-activities';
41
41
  export * from './util';
@@ -48,10 +48,10 @@ __exportStar(require("./purchase"), exports);
48
48
  __exportStar(require("./questionnaires"), exports);
49
49
  __exportStar(require("./reservations"), exports);
50
50
  __exportStar(require("./resource-settings"), exports);
51
+ __exportStar(require("./resources"), exports);
51
52
  __exportStar(require("./roles"), exports);
52
53
  __exportStar(require("./services"), exports);
53
54
  __exportStar(require("./shifts"), exports);
54
- __exportStar(require("./spaces"), exports);
55
55
  __exportStar(require("./user"), exports);
56
56
  __exportStar(require("./user-activities"), exports);
57
57
  __exportStar(require("./util"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B"}
@@ -4,4 +4,15 @@ export declare class MediaDto {
4
4
  url: string;
5
5
  mediaType: MediaTypesEnum;
6
6
  fileType?: string;
7
+ name?: string;
8
+ title?: string;
9
+ mediaKey?: string;
10
+ description?: string;
11
+ provider?: string;
12
+ isDefault?: boolean;
13
+ creatorId?: number;
14
+ creatorType?: string;
15
+ userCreatorId?: number;
16
+ ownerId?: number;
17
+ createdBy?: number;
7
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"media.dto.js","sourceRoot":"","sources":["../../../../src/types/media/dto/media.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,QAAQ;CAQpB;AARD,4BAQC"}
1
+ {"version":3,"file":"media.dto.js","sourceRoot":"","sources":["../../../../src/types/media/dto/media.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,QAAQ;CA8BpB;AA9BD,4BA8BC"}
@@ -14,5 +14,6 @@ export declare enum NotificationDeliveryChannel {
14
14
  }
15
15
  export declare enum SendErrorCode {
16
16
  BAD_DELIVERY_CHANNEL = 400,
17
- SENDGRID_ERROR = 401
17
+ SENDGRID_ERROR = 401,
18
+ INTERNAL_ERROR = 500
18
19
  }
@@ -24,5 +24,6 @@ var SendErrorCode;
24
24
  (function (SendErrorCode) {
25
25
  SendErrorCode[SendErrorCode["BAD_DELIVERY_CHANNEL"] = 400] = "BAD_DELIVERY_CHANNEL";
26
26
  SendErrorCode[SendErrorCode["SENDGRID_ERROR"] = 401] = "SENDGRID_ERROR";
27
+ SendErrorCode[SendErrorCode["INTERNAL_ERROR"] = 500] = "INTERNAL_ERROR";
27
28
  })(SendErrorCode = exports.SendErrorCode || (exports.SendErrorCode = {}));
28
29
  //# 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;;;;;;;;;GASG;;;AAEH,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACtC,8CAAe,CAAA;IACf,oEAAoE;IACpE,0CAAW,CAAA;AACZ,CAAC,EAJW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAItC;AAED,wBAAwB;AACxB,gFAAgF;AAChF,+GAA+G;AAC/G,IAAY,aAGX;AAHD,WAAY,aAAa;IACxB,mFAA0B,CAAA;IAC1B,uEAAoB,CAAA;AACrB,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB"}
1
+ {"version":3,"file":"notification.enums.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/enums/notification.enums.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACtC,8CAAe,CAAA;IACf,oEAAoE;IACpE,0CAAW,CAAA;AACZ,CAAC,EAJW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAItC;AAED,wBAAwB;AACxB,gFAAgF;AAChF,+GAA+G;AAC/G,IAAY,aAIX;AAJD,WAAY,aAAa;IACxB,mFAA0B,CAAA;IAC1B,uEAAoB,CAAA;IACpB,uEAAoB,CAAA;AACrB,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB"}
@@ -1,7 +1,7 @@
1
1
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
2
+ import { ProductPaymentPlan } from '../entities/ProductPaymentPlan';
2
3
  import { PaymentPlanRepetitionEnum, PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
3
4
  import { PaymentMethodTypeEnum } from '../types/enums/payment.enums';
4
- import { ProductPaymentPlan } from '../entities/ProductPaymentPlan';
5
5
  export declare class PaymentPlanScheduleDto {
6
6
  date: Date;
7
7
  percent?: number;
@@ -46,6 +46,7 @@ export declare class UpdateScheduledPaymentsDto {
46
46
  installmentIds?: number[];
47
47
  paymentMethodType?: PaymentMethodTypeEnum;
48
48
  payemntMethodId?: string;
49
+ userPaymentMethodId?: number;
49
50
  plannedDate?: Date;
50
51
  }
51
52
  export declare class CachedPaymentPlans {
@@ -1 +1 @@
1
- {"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAS9E,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AACD,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,kBAAmB,SAAQ,cAAc;CAErD;AAFD,gDAEC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAI/D;AAJD,0DAIC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,kBAAkB;CAG9B;AAHD,gDAGC"}
1
+ {"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAS9E,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AACD,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,kBAAmB,SAAQ,cAAc;CAErD;AAFD,gDAEC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAI/D;AAJD,0DAIC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,0BAA0B;CAYtC;AAZD,gEAYC;AAED,MAAa,kBAAkB;CAG9B;AAHD,gDAGC"}
@@ -1,11 +1,11 @@
1
1
  import { PaginationQuery } from '../../dto/general.dto';
2
- import { Customer } from '../../entity/Customer';
3
2
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
4
3
  import { PurchaseProductDto } from '../../purchase/dto/purchase.dto';
5
4
  import { MonthsEnum, OrderByEnum, PaymentSettingStatusEnum, PlatformsEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
6
5
  import { Payment } from '../entities/Payment';
7
6
  import { LinkedAccountStatus } from '../types/enums/linked-account.enums';
8
7
  import { FuturePaymentStatusEnum, PaymentFilterByEnum, PaymentMethodTypeEnum, PaymentStatusEnum, SubPaymentMethodTypeEnum } from '../types/enums/payment.enums';
8
+ import { CustomerDto } from '../../dto/customer.dto';
9
9
  export declare class CustomerIdDto {
10
10
  customerId: number;
11
11
  }
@@ -128,7 +128,7 @@ export declare class GetPaymentMethodsDto {
128
128
  subPaymentMethodTypes?: SubPaymentMethodTypeEnum[];
129
129
  }
130
130
  export declare class PaymentDto extends Payment {
131
- customer?: Customer;
131
+ customer?: CustomerDto;
132
132
  priceWithoutFee?: number;
133
133
  }
134
134
  export declare class PaymentSettingsDto {
@@ -1 +1 @@
1
- {"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AAExD,8EAA8E;AAU9E,iDAA8C;AAU9C,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAE9C;AAFD,sCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,mB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,qBAAsB,SAAQ,YAAY;CAMtD;AAND,sDAMC;AAED,MAAa,oBAAoB;CAMhC;AAND,oDAMC;AAED,2CAA2C;AAC3C,MAAa,UAAW,SAAQ,iBAAO;CAItC;AAJD,gCAIC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,sBAAsB;CAYlC;AAZD,wDAYC"}
@@ -18,6 +18,9 @@ export declare class FutureInstallment extends OrganizationConnectionBaseEntity
18
18
  price: number;
19
19
  status: FuturePaymentStatusEnum;
20
20
  plannedDate: Date;
21
+ parentInstallmentId?: number;
22
+ parent?: FutureInstallment;
23
+ children?: FutureInstallment[];
21
24
  chargedAt?: Date;
22
25
  originalPlannedDate?: Date;
23
26
  payments?: Payment[];
@@ -1 +1 @@
1
- {"version":3,"file":"FutureInstallment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/FutureInstallment.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,iBAAkB,SAAQ,mEAAgC;CAuCtE;AAvCD,8CAuCC"}
1
+ {"version":3,"file":"FutureInstallment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/FutureInstallment.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,iBAAkB,SAAQ,mEAAgC;CA4CtE;AA5CD,8CA4CC"}
@@ -12,6 +12,7 @@ import { FuturePaymentStatusEnum, PaymentMethodTypeEnum, PaymentStatusEnum, SubP
12
12
  import { Discount } from './Discount';
13
13
  import { FutureInstallment } from './FutureInstallment';
14
14
  import { PaymentNote } from './PaymentNote';
15
+ import { UserPaymentMethod } from '../../entity/user-payment-method';
15
16
  export declare class Payment extends OrganizationConnectionBaseEntity {
16
17
  price: number;
17
18
  paymentProcessorId: string;
@@ -23,6 +24,7 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
23
24
  payingUserId?: number;
24
25
  payingUser?: User;
25
26
  paymentMethodId?: number;
27
+ paymentMethod?: UserPaymentMethod;
26
28
  stripePaymentMethodId?: string;
27
29
  paymentType?: PaymentMethodTypeEnum;
28
30
  subPaymentMethodType?: SubPaymentMethodTypeEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;AAgBjG,MAAa,OAAQ,SAAQ,mEAAgC;CA6E5D;AA7ED,0BA6EC"}
1
+ {"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/Payment.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;AAiBjG,MAAa,OAAQ,SAAQ,mEAAgC;CA+E5D;AA/ED,0BA+EC"}
@@ -22,7 +22,7 @@ export interface ISetDiscounts {
22
22
  notes?: CreateNoteDto[];
23
23
  shiftId?: number;
24
24
  isTaxIncluded?: boolean;
25
- allowZeroAmount?: boolean;
25
+ skipValidations?: boolean;
26
26
  }
27
27
  export interface IDiscountRelatedProductIds {
28
28
  included?: number[];
@@ -85,9 +85,7 @@ export interface IDiscountItem {
85
85
  amount: number;
86
86
  percentage?: number;
87
87
  }
88
- export interface IValidateDiscountOptions {
88
+ export interface ISetDiscountOptions {
89
89
  overrideItems?: boolean;
90
- }
91
- export interface ICalculateDiscountOptions {
92
90
  maxAmount?: number;
93
91
  }
@@ -4,4 +4,5 @@ export * from './promo-code.interfaces';
4
4
  export * from './refund.interfaces';
5
5
  export * from './scheduled-payments.interfaces';
6
6
  export * from './stripe.interfaces';
7
+ export * from './user-payment-method.interfaces';
7
8
  export * from './void.interfaces';
@@ -20,5 +20,6 @@ __exportStar(require("./promo-code.interfaces"), exports);
20
20
  __exportStar(require("./refund.interfaces"), exports);
21
21
  __exportStar(require("./scheduled-payments.interfaces"), exports);
22
22
  __exportStar(require("./stripe.interfaces"), exports);
23
+ __exportStar(require("./user-payment-method.interfaces"), exports);
23
24
  __exportStar(require("./void.interfaces"), exports);
24
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,uDAAqC;AACrC,0DAAwC;AACxC,sDAAoC;AACpC,kEAAgD;AAChD,sDAAoC;AACpC,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,uDAAqC;AACrC,0DAAwC;AACxC,sDAAoC;AACpC,kEAAgD;AAChD,sDAAoC;AACpC,mEAAiD;AACjD,oDAAkC"}
@@ -0,0 +1,5 @@
1
+ export interface IFindUserPaymentMethodsOptions {
2
+ withDeleted?: boolean;
3
+ ignoreError?: boolean;
4
+ skipValidations?: boolean;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=user-payment-method.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-payment-method.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/interfaces/user-payment-method.interfaces.ts"],"names":[],"mappings":""}
@@ -2,7 +2,7 @@ import { UserAnswersDto } from '../../dto/application.dto';
2
2
  import { PaginationQuery } from '../../dto/general.dto';
3
3
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
4
4
  import { ProductTypesEnum } from '../../services/enums.service';
5
- import { ResourceDto } from '../../spaces/dto/resource.dto';
5
+ import { ResourceDto } from '../../resources/dto/resource.dto';
6
6
  export declare class FindPriceOfProductDto {
7
7
  id: number;
8
8
  productId: number;
@@ -5,7 +5,7 @@ import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../../organizati
5
5
  import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
6
6
  import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
7
7
  import { GenderEnum, LevelOfPlayEnum, OrderByEnum, PlatformsEnum, ProgramHighlightTypeEnum, ProgramTypesEnum, PublishingStatusEnum, SportsEnum } from '../../services/enums.service';
8
- import { SimpleResourceDto } from '../../spaces/dto/resource.dto';
8
+ import { SimpleResourceDto } from '../../resources/dto/resource.dto';
9
9
  import { SimpleUserDto } from '../../user/dto/user.dto';
10
10
  export declare class FindOrganizationProgramsDto {
11
11
  programType?: ProgramTypesEnum;
@@ -15,7 +15,7 @@ import { Program } from '../../programs/entities/Program';
15
15
  import { ResourceSetting } from '../../resource-settings/entities/resource-setting.entity';
16
16
  import { GenderEnum, LevelOfPlayEnum, ProgramSeasonTypesEnum, PublishingStatusEnum, SportsEnum } from '../../services/enums.service';
17
17
  import { EventAsSeasonSegment, SeasonAsSeasonSegment } from '../../services/interfaces.service';
18
- import { Resource } from '../../spaces/entities/Resource';
18
+ import { Resource } from '../../resources/entities/Resource';
19
19
  export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
20
20
  programId: number;
21
21
  name: string;
@@ -7,7 +7,7 @@ import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
7
7
  import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
8
8
  import { SimpleProgramDto } from '../../programs/dto/program.dto';
9
9
  import { OrderByEnum } from '../../services/enums.service';
10
- import { SimpleResourceDto } from '../../spaces/dto/resource.dto';
10
+ import { SimpleResourceDto } from '../../resources/dto/resource.dto';
11
11
  import { ByOrganizationAndUserDto, SimpleUserDto } from '../../user/dto/user.dto';
12
12
  import { PunchPassFilterByEnum, PunchPassOrderByEnum, PunchPassSearchByEnum } from '../types/enums';
13
13
  export declare class PunchPassFinancialInfoDto {
@@ -7,7 +7,7 @@ import { ScheduledPaymentDto } from '../../payment/dto/payment-plan.dto';
7
7
  import { Payment } from '../../payment/entities/Payment';
8
8
  import { FuturePaymentStatusEnum, PaymentMethodTypeEnum, PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
9
9
  import { PlatformsEnum, ResourceNameTypeEnum } from '../../services/enums.service';
10
- import { ResourceDto } from '../../spaces/dto/resource.dto';
10
+ import { ResourceDto } from '../../resources/dto/resource.dto';
11
11
  export declare class PurchasePaymentDto {
12
12
  type: PaymentMethodTypeEnum;
13
13
  token?: string;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PurchaseCartDto = exports.PurchaseResultDto = exports.ValidateParticipantDto = exports.PartialPaymentAsUserDto = exports.AddItemsDto = exports.RedeemPunchCardRequestDto = exports.PartialPaymentRequestDto = exports.ScheduledPaymentRequestBodyDto = exports.ScheduledPaymentRequestDto = exports.PurchaseProductDto = exports.PurchaseResourceDto = exports.PurchaseRequestDto = exports.ChargeRentalsReuqestDto = exports.PurchasePaymentDto = void 0;
4
4
  const organization_dto_1 = require("../../organization/dto/organization.dto");
5
- const resource_dto_1 = require("../../spaces/dto/resource.dto");
5
+ const resource_dto_1 = require("../../resources/dto/resource.dto");
6
6
  class PurchasePaymentDto {
7
7
  }
8
8
  exports.PurchasePaymentDto = PurchasePaymentDto;
@@ -1 +1 @@
1
- {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,8EAA8E;AAS9E,gEAA4D;AAG5D,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CA8B9B;AA9BD,gDA8BC;AAED,MAAa,mBAAoB,SAAQ,0BAAW;CAInD;AAJD,kDAIC;AAED,MAAa,kBAAkB;CA2B9B;AA3BD,gDA2BC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAe;CAgB3B;AAhBD,0CAgBC"}
1
+ {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,8EAA8E;AAS9E,mEAA+D;AAG/D,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CA8B9B;AA9BD,gDA8BC;AAED,MAAa,mBAAoB,SAAQ,0BAAW;CAInD;AAJD,kDAIC;AAED,MAAa,kBAAkB;CA2B9B;AA3BD,gDA2BC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAe;CAgB3B;AAhBD,0CAgBC"}
@@ -3,11 +3,11 @@ import { Customer } from '../../../entity/Customer';
3
3
  import { Invoice } from '../../../entity/Invoice';
4
4
  import { ScheduledPaymentDto } from '../../../payment/dto/payment-plan.dto';
5
5
  import { Payment } from '../../../payment/entities/Payment';
6
- import { FuturePaymentStatusEnum, PaymentMethodTypeEnum, SubPaymentMethodTypeEnum } from '../../../payment/types/enums/payment.enums';
6
+ import { FuturePaymentStatusEnum, PaymentMethodTypeEnum } from '../../../payment/types/enums/payment.enums';
7
7
  import { ISaveInvoicePayment } from '../../../payment/types/interfaces/payment.interfaces';
8
8
  import { Product } from '../../../product-pricing/entities/Product';
9
9
  import { CurrencyEnum, LineItemsStatusEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
10
- import { ResourceDto } from '../../../spaces/dto/resource.dto';
10
+ import { ResourceDto } from '../../../resources/dto/resource.dto';
11
11
  export type UserCount = {
12
12
  male: number;
13
13
  female: number;
@@ -54,6 +54,5 @@ export interface IPurchaseOptions extends IValidateCartOptions {
54
54
  }
55
55
  export interface IPurchasePayment {
56
56
  type: PaymentMethodTypeEnum;
57
- subType?: SubPaymentMethodTypeEnum;
58
57
  token?: string;
59
58
  }
@@ -3,7 +3,7 @@ import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConne
3
3
  import { ProductsUsers } from '../../entity/ProductsUsers';
4
4
  import { Product } from '../../product-pricing/entities/Product';
5
5
  import { AddonParentTypeEnum, ProductPackageLevelEnum, ReservationPaymentStatusEnum, ReservationStatusEnum } from '../../services/enums.service';
6
- import { Resource } from '../../spaces/entities/Resource';
6
+ import { Resource } from '../../resources/entities/Resource';
7
7
  export declare class Addon extends OrganizationConnectionBaseEntity {
8
8
  deletedAt?: Date;
9
9
  parentId: number;
@@ -1,7 +1,7 @@
1
1
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
2
2
  import { Segment } from './Segments';
3
3
  import { Slot } from './Slots';
4
- import { Resource } from '../../spaces/entities/Resource';
4
+ import { Resource } from '../../resources/entities/Resource';
5
5
  export declare class Series extends OrganizationConnectionBaseEntity {
6
6
  deletedAt?: Date;
7
7
  segmentId: number;