@bondsports/types 2.3.13 → 2.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/cart/dto/cart-item.dto.d.ts +0 -2
  3. package/dist/types/cart/dto/cart-item.dto.js +0 -9
  4. package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
  5. package/dist/types/cart/dto/cart.dto.d.ts +0 -1
  6. package/dist/types/cart/dto/cart.dto.js +0 -5
  7. package/dist/types/cart/dto/cart.dto.js.map +1 -1
  8. package/dist/types/dto/general.dto.d.ts +0 -8
  9. package/dist/types/dto/general.dto.js +1 -11
  10. package/dist/types/dto/general.dto.js.map +1 -1
  11. package/dist/types/filters/dto/filters.dto.d.ts +63 -0
  12. package/dist/types/filters/dto/filters.dto.js +45 -0
  13. package/dist/types/filters/dto/filters.dto.js.map +1 -0
  14. package/dist/types/filters/dto/index.d.ts +1 -0
  15. package/dist/types/{notifications/dto/types → filters/dto}/index.js +1 -1
  16. package/dist/types/filters/dto/index.js.map +1 -0
  17. package/dist/types/filters/entities/Filter.d.ts +14 -0
  18. package/dist/types/filters/entities/Filter.js +8 -0
  19. package/dist/types/filters/entities/Filter.js.map +1 -0
  20. package/dist/types/filters/entities/UserFavoriteFilter.d.ts +13 -0
  21. package/dist/types/filters/entities/UserFavoriteFilter.js +8 -0
  22. package/dist/types/filters/entities/UserFavoriteFilter.js.map +1 -0
  23. package/dist/types/filters/entities/index.d.ts +2 -0
  24. package/dist/types/filters/entities/index.js +19 -0
  25. package/dist/types/filters/entities/index.js.map +1 -0
  26. package/dist/types/filters/index.d.ts +3 -0
  27. package/dist/types/filters/index.js +20 -0
  28. package/dist/types/filters/index.js.map +1 -0
  29. package/dist/types/filters/types/classes/filter.classes.d.ts +8 -0
  30. package/dist/types/filters/types/classes/filter.classes.js +7 -0
  31. package/dist/types/filters/types/classes/filter.classes.js.map +1 -0
  32. package/dist/types/filters/types/classes/index.d.ts +1 -0
  33. package/dist/types/filters/types/classes/index.js +18 -0
  34. package/dist/types/filters/types/classes/index.js.map +1 -0
  35. package/dist/types/filters/types/consts.d.ts +5 -0
  36. package/dist/types/filters/types/consts.js +10 -0
  37. package/dist/types/filters/types/consts.js.map +1 -0
  38. package/dist/types/filters/types/enums/filter.enums.d.ts +8 -0
  39. package/dist/types/filters/types/enums/filter.enums.js +14 -0
  40. package/dist/types/filters/types/enums/filter.enums.js.map +1 -0
  41. package/dist/types/filters/types/enums/index.d.ts +1 -0
  42. package/dist/types/filters/types/enums/index.js +18 -0
  43. package/dist/types/filters/types/enums/index.js.map +1 -0
  44. package/dist/types/filters/types/index.d.ts +4 -0
  45. package/dist/types/filters/types/index.js +21 -0
  46. package/dist/types/filters/types/index.js.map +1 -0
  47. package/dist/types/filters/types/interfaces/filters.interfaces.d.ts +18 -0
  48. package/dist/types/filters/types/interfaces/filters.interfaces.js +3 -0
  49. package/dist/types/filters/types/interfaces/filters.interfaces.js.map +1 -0
  50. package/dist/types/filters/types/interfaces/index.d.ts +1 -0
  51. package/dist/types/filters/types/interfaces/index.js +18 -0
  52. package/dist/types/filters/types/interfaces/index.js.map +1 -0
  53. package/dist/types/folders/dto/folder.dto.d.ts +2 -6
  54. package/dist/types/folders/dto/folder.dto.js +0 -31
  55. package/dist/types/folders/dto/folder.dto.js.map +1 -1
  56. package/dist/types/index.d.ts +1 -0
  57. package/dist/types/index.js +1 -0
  58. package/dist/types/index.js.map +1 -1
  59. package/dist/types/notifications/dto/index.d.ts +0 -1
  60. package/dist/types/notifications/dto/index.js +0 -1
  61. package/dist/types/notifications/dto/index.js.map +1 -1
  62. package/dist/types/notifications/dto/notification.create.dto.d.ts +1 -17
  63. package/dist/types/notifications/dto/notification.create.dto.js +9 -66
  64. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  65. package/dist/types/notifications/dto/notification.response.dto.d.ts +0 -2
  66. package/dist/types/notifications/dto/notification.response.dto.js +1 -8
  67. package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
  68. package/dist/types/notifications/index.d.ts +1 -0
  69. package/dist/types/notifications/index.js +1 -0
  70. package/dist/types/notifications/index.js.map +1 -1
  71. package/dist/types/notifications/types/consts/index.d.ts +1 -0
  72. package/dist/types/notifications/types/consts/index.js +18 -0
  73. package/dist/types/notifications/types/consts/index.js.map +1 -0
  74. package/dist/types/notifications/types/consts/notification.consts.d.ts +4 -0
  75. package/dist/types/notifications/types/consts/notification.consts.js +9 -0
  76. package/dist/types/notifications/types/consts/notification.consts.js.map +1 -0
  77. package/dist/types/notifications/types/enums/index.js.map +1 -0
  78. package/dist/types/notifications/types/enums/notification.enums.js.map +1 -0
  79. package/dist/types/notifications/types/index.d.ts +4 -0
  80. package/dist/types/notifications/types/index.js +21 -0
  81. package/dist/types/notifications/types/index.js.map +1 -0
  82. package/dist/types/notifications/types/interfaces/index.d.ts +1 -0
  83. package/dist/types/notifications/types/interfaces/index.js +18 -0
  84. package/dist/types/notifications/types/interfaces/index.js.map +1 -0
  85. package/dist/types/notifications/types/interfaces/notification.interfaces.d.ts +23 -0
  86. package/dist/types/notifications/types/interfaces/notification.interfaces.js +3 -0
  87. package/dist/types/notifications/types/interfaces/notification.interfaces.js.map +1 -0
  88. package/dist/types/notifications/types/types/index.d.ts +1 -0
  89. package/dist/types/notifications/types/types/index.js +18 -0
  90. package/dist/types/notifications/types/types/index.js.map +1 -0
  91. package/dist/types/notifications/types/types/notification.types.d.ts +2 -0
  92. package/dist/types/notifications/types/types/notification.types.js +3 -0
  93. package/dist/types/notifications/types/types/notification.types.js.map +1 -0
  94. package/dist/types/payment/types/interfaces/stripe.interfaces.d.ts +0 -1
  95. package/dist/types/purchase/types/consts/purchase.consts.d.ts +0 -1
  96. package/dist/types/purchase/types/consts/purchase.consts.js +1 -2
  97. package/dist/types/purchase/types/consts/purchase.consts.js.map +1 -1
  98. package/dist/types/reservations/dto/reservation.dto.d.ts +2 -1
  99. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  100. package/dist/types/resources/dto/resource.dto.d.ts +9 -2
  101. package/dist/types/resources/dto/resource.dto.js +4 -1
  102. package/dist/types/resources/dto/resource.dto.js.map +1 -1
  103. package/dist/types/resources/dto/space.dto.d.ts +3 -0
  104. package/dist/types/resources/dto/space.dto.js.map +1 -1
  105. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +1 -0
  106. package/package.json +1 -1
  107. package/dist/types/notifications/dto/types/enums/index.js.map +0 -1
  108. package/dist/types/notifications/dto/types/enums/notification.enums.js.map +0 -1
  109. package/dist/types/notifications/dto/types/index.d.ts +0 -1
  110. package/dist/types/notifications/dto/types/index.js.map +0 -1
  111. /package/dist/types/notifications/{dto/types → types}/enums/index.d.ts +0 -0
  112. /package/dist/types/notifications/{dto/types → types}/enums/index.js +0 -0
  113. /package/dist/types/notifications/{dto/types → types}/enums/notification.enums.d.ts +0 -0
  114. /package/dist/types/notifications/{dto/types → types}/enums/notification.enums.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AACA,6DAA0E;AAC1E,uDAAsF;AAEtF,8EAA8E;AAqB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAmB,SAAQ,WAAW;CAMlD;AAND,gDAMC;AAED,MAAa,wBAAyB,SAAQ,0BAAY;CAYzD;AAZD,4DAYC;AAED,MAAa,mBAAoB,SAAQ,wBAAwB;CAEhE;AAFD,kDAEC;AAED,MAAa,eAAgB,SAAQ,mBAAK;CAgDzC;AAhDD,0CAgDC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAQtE;AARD,8DAQC;AAED,MAAa,kCAAmC,SAAQ,sCAAmB;CAE1E;AAFD,gFAEC;AAED,MAAa,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EC;AAED,MAAa,iBAAiB;CAwB7B;AAxBD,8CAwBC;AAED,MAAa,8BAA+B,SAAQ,kCAAiB;CAIpE;AAJD,wEAIC;AAED,MAAa,6BAA8B,SAAQ,+BAAiB;CAUnE;AAVD,sEAUC"}
@@ -15,6 +15,7 @@ export declare class SpaceResourceDto extends BaseResourceDto {
15
15
  amenities?: AmenitiesEnum[];
16
16
  facilityId: number;
17
17
  facility?: FacilityDto;
18
+ children?: SpaceResourceDto[];
18
19
  }
19
20
  export declare class SpaceByIdDto {
20
21
  spaceId: number;
@@ -72,6 +73,8 @@ export declare class FindResourcesOptionsDto extends PaginationQuery implements
72
73
  includeFacilities?: boolean;
73
74
  searchByFacility?: boolean;
74
75
  inclusion?: boolean;
76
+ includeRelations?: boolean;
77
+ includeOnlyParents?: boolean;
75
78
  }
76
79
  export declare class UpdateSpaceDto extends UpdateResourceDto {
77
80
  name?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAkBpD;AAlBD,4CAkBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CA0B3D;AA1BD,0DA0BC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
1
+ {"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAoBpD;AApBD,4CAoBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CA8B3D;AA9BD,0DA8BC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
@@ -23,6 +23,7 @@ export interface IGetResourcesOptions {
23
23
  includeFacilities?: boolean;
24
24
  searchByFacility?: boolean;
25
25
  inclusion?: boolean;
26
+ includeOnlyParents?: boolean;
26
27
  }
27
28
  export interface IGetResourceByIdsOptions {
28
29
  order?: OrderByEnum;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.3.13",
3
+ "version": "2.3.14",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/types/notifications/dto/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"notification.enums.js","sourceRoot":"","sources":["../../../../../../src/types/notifications/dto/types/enums/notification.enums.ts"],"names":[],"mappings":";;;AAAA,qEAAuH;AAE9G,2GAFA,8CAA0B,OAEA;AAAE,4GAFA,+CAA2B,OAEA;AAAE,8FAFA,iCAAa,OAEA"}
@@ -1 +0,0 @@
1
- export * from './enums';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/notifications/dto/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}