@bondsports/types 2.4.90-a-1 → 2.4.90-squad-b

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 (108) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/customers/types/consts/customers.consts.d.ts +1 -2
  3. package/dist/types/customers/types/consts/customers.consts.js +2 -3
  4. package/dist/types/customers/types/consts/customers.consts.js.map +1 -1
  5. package/dist/types/customers/types/interfaces.d.ts +0 -1
  6. package/dist/types/dto/events.dto.d.ts +1 -0
  7. package/dist/types/dto/events.dto.js.map +1 -1
  8. package/dist/types/entity/Events.d.ts +2 -0
  9. package/dist/types/entity/Events.js.map +1 -1
  10. package/dist/types/folders/dto/folder.dto.d.ts +12 -4
  11. package/dist/types/folders/dto/folder.dto.js +12 -1
  12. package/dist/types/folders/dto/folder.dto.js.map +1 -1
  13. package/dist/types/folders/entities/folder-content.entity.d.ts +2 -1
  14. package/dist/types/folders/entities/folder-content.entity.js +1 -0
  15. package/dist/types/folders/entities/folder-content.entity.js.map +1 -1
  16. package/dist/types/folders/types/folders.enums.d.ts +3 -0
  17. package/dist/types/folders/types/folders.enums.js +5 -1
  18. package/dist/types/folders/types/folders.enums.js.map +1 -1
  19. package/dist/types/folders/types/interfaces/folder-content.interfaces.d.ts +2 -0
  20. package/dist/types/gl-codes/dto/gl-code.dto.d.ts +4 -10
  21. package/dist/types/gl-codes/dto/gl-code.dto.js +5 -6
  22. package/dist/types/gl-codes/dto/gl-code.dto.js.map +1 -1
  23. package/dist/types/gl-codes/entities/gl-code.d.ts +0 -2
  24. package/dist/types/gl-codes/entities/gl-code.js.map +1 -1
  25. package/dist/types/gl-codes/entities/index.d.ts +0 -1
  26. package/dist/types/gl-codes/entities/index.js +0 -1
  27. package/dist/types/gl-codes/entities/index.js.map +1 -1
  28. package/dist/types/gl-codes/types/enums/gl-code.enum.d.ts +1 -2
  29. package/dist/types/gl-codes/types/enums/gl-code.enum.js +0 -1
  30. package/dist/types/gl-codes/types/enums/gl-code.enum.js.map +1 -1
  31. package/dist/types/gl-codes/types/interfaces/gl-code.interfaces.d.ts +0 -6
  32. package/dist/types/index.d.ts +1 -0
  33. package/dist/types/index.js +1 -0
  34. package/dist/types/index.js.map +1 -1
  35. package/dist/types/league-standings/entities/index.d.ts +2 -0
  36. package/dist/types/league-standings/entities/index.js +2 -0
  37. package/dist/types/league-standings/entities/index.js.map +1 -1
  38. package/dist/types/league-standings/entities/team-identity.entity.d.ts +25 -0
  39. package/dist/types/league-standings/entities/team-identity.entity.js +20 -0
  40. package/dist/types/league-standings/entities/team-identity.entity.js.map +1 -0
  41. package/dist/types/media/dto/media.dto.d.ts +5 -3
  42. package/dist/types/media/dto/media.dto.js +5 -2
  43. package/dist/types/media/dto/media.dto.js.map +1 -1
  44. package/dist/types/membership/consts/index.d.ts +2 -0
  45. package/dist/types/membership/consts/index.js +19 -0
  46. package/dist/types/membership/consts/index.js.map +1 -0
  47. package/dist/types/membership/consts/membership.pause.consts.d.ts +2 -0
  48. package/dist/types/membership/consts/membership.pause.consts.js +6 -0
  49. package/dist/types/membership/consts/membership.pause.consts.js.map +1 -0
  50. package/dist/types/membership/consts/public-membership.consts.d.ts +9 -0
  51. package/dist/types/membership/consts/public-membership.consts.js +27 -0
  52. package/dist/types/membership/consts/public-membership.consts.js.map +1 -0
  53. package/dist/types/membership/dto/membership.dto.d.ts +3 -0
  54. package/dist/types/membership/dto/membership.dto.js.map +1 -1
  55. package/dist/types/membership/dto/public-membership.dto.d.ts +53 -2
  56. package/dist/types/membership/dto/public-membership.dto.js +27 -1
  57. package/dist/types/membership/dto/public-membership.dto.js.map +1 -1
  58. package/dist/types/membership/entities/membership.entity.d.ts +1 -0
  59. package/dist/types/membership/entities/membership.entity.js.map +1 -1
  60. package/dist/types/membership/index.d.ts +1 -0
  61. package/dist/types/membership/index.js +1 -0
  62. package/dist/types/membership/index.js.map +1 -1
  63. package/dist/types/membership/types/index.d.ts +1 -0
  64. package/dist/types/membership/types/index.js +1 -0
  65. package/dist/types/membership/types/index.js.map +1 -1
  66. package/dist/types/membership/types/public-membership.enums.d.ts +21 -0
  67. package/dist/types/membership/types/public-membership.enums.js +29 -0
  68. package/dist/types/membership/types/public-membership.enums.js.map +1 -0
  69. package/dist/types/product-pricing/dto/public-product.dto.d.ts +9 -2
  70. package/dist/types/product-pricing/dto/public-product.dto.js +10 -2
  71. package/dist/types/product-pricing/dto/public-product.dto.js.map +1 -1
  72. package/dist/types/product-pricing/types/consts/product-category.consts.d.ts +39 -39
  73. package/dist/types/product-pricing/types/consts/product-pricing.consts.d.ts +2 -0
  74. package/dist/types/product-pricing/types/consts/product-pricing.consts.js +8 -1
  75. package/dist/types/product-pricing/types/consts/product-pricing.consts.js.map +1 -1
  76. package/dist/types/product-pricing/types/interfaces/product-creation.interfaces.d.ts +0 -6
  77. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +1 -0
  78. package/dist/types/repositories/index.d.ts +1 -0
  79. package/dist/types/repositories/index.js +18 -0
  80. package/dist/types/repositories/index.js.map +1 -0
  81. package/dist/types/repositories/team-identity/index.d.ts +1 -0
  82. package/dist/types/repositories/team-identity/index.js +18 -0
  83. package/dist/types/repositories/team-identity/index.js.map +1 -0
  84. package/dist/types/repositories/team-identity/team-identity.types.d.ts +33 -0
  85. package/dist/types/repositories/team-identity/team-identity.types.js +3 -0
  86. package/dist/types/repositories/team-identity/team-identity.types.js.map +1 -0
  87. package/dist/types/resources/consts/index.d.ts +1 -0
  88. package/dist/types/resources/consts/index.js +18 -0
  89. package/dist/types/resources/consts/index.js.map +1 -0
  90. package/dist/types/resources/consts/resource.consts.d.ts +3 -0
  91. package/dist/types/resources/consts/resource.consts.js +11 -0
  92. package/dist/types/resources/consts/resource.consts.js.map +1 -0
  93. package/dist/types/resources/index.d.ts +1 -0
  94. package/dist/types/resources/index.js +1 -0
  95. package/dist/types/resources/index.js.map +1 -1
  96. package/dist/types/services/enums.service.d.ts +1 -0
  97. package/dist/types/services/enums.service.js +7 -2
  98. package/dist/types/services/enums.service.js.map +1 -1
  99. package/dist/types/standings-integration/dto/index.d.ts +2 -0
  100. package/dist/types/standings-integration/dto/index.js +2 -0
  101. package/dist/types/standings-integration/dto/index.js.map +1 -1
  102. package/dist/types/standings-integration/dto/my-team.dto.d.ts +53 -0
  103. package/dist/types/standings-integration/dto/my-team.dto.js +62 -0
  104. package/dist/types/standings-integration/dto/my-team.dto.js.map +1 -0
  105. package/package.json +1 -1
  106. package/dist/types/gl-codes/entities/gl-code-to-facility.entity.d.ts +0 -10
  107. package/dist/types/gl-codes/entities/gl-code-to-facility.entity.js +0 -8
  108. package/dist/types/gl-codes/entities/gl-code-to-facility.entity.js.map +0 -1
@@ -2,6 +2,5 @@ import { CreateCustomerOptions } from '../interfaces';
2
2
  export declare const LIMIT_CUSTOMERS_FETCH_AMOUNT = 1000;
3
3
  export declare const DEFAULT_CREATE_CUSTOMER_OPTIONS: CreateCustomerOptions;
4
4
  export declare const RELATIONS_FOR_ORGANIZATION_USER: string[];
5
- export declare const CUSTOMER_ENTITY_UPDATE_FIELDS: ("addressId" | "email" | "phoneNumber" | "firstName" | "lastName")[];
6
- export declare const CUSTOMER_ORG_SCOPED_UPDATE_FIELDS: "colorCodeId"[];
5
+ export declare const CUSTOMER_ENTITY_UPDATE_FIELDS: string[];
7
6
  export declare const CUSTOMER_SEARCH_FIELDS: string[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CUSTOMER_SEARCH_FIELDS = exports.CUSTOMER_ORG_SCOPED_UPDATE_FIELDS = exports.CUSTOMER_ENTITY_UPDATE_FIELDS = exports.RELATIONS_FOR_ORGANIZATION_USER = exports.DEFAULT_CREATE_CUSTOMER_OPTIONS = exports.LIMIT_CUSTOMERS_FETCH_AMOUNT = void 0;
3
+ exports.CUSTOMER_SEARCH_FIELDS = exports.CUSTOMER_ENTITY_UPDATE_FIELDS = exports.RELATIONS_FOR_ORGANIZATION_USER = exports.DEFAULT_CREATE_CUSTOMER_OPTIONS = exports.LIMIT_CUSTOMERS_FETCH_AMOUNT = void 0;
4
4
  exports.LIMIT_CUSTOMERS_FETCH_AMOUNT = 1000;
5
5
  exports.DEFAULT_CREATE_CUSTOMER_OPTIONS = {
6
6
  saveCustomer: true,
@@ -8,16 +8,15 @@ exports.DEFAULT_CREATE_CUSTOMER_OPTIONS = {
8
8
  allowExistingCustomer: false,
9
9
  requireNewUser: false,
10
10
  skipCreateCognitoUser: false,
11
- skipUserProfileSync: false,
12
11
  };
13
12
  exports.RELATIONS_FOR_ORGANIZATION_USER = ['user', 'user.organizationUsers'];
14
13
  exports.CUSTOMER_ENTITY_UPDATE_FIELDS = [
15
14
  'addressId',
15
+ 'colorCodeId',
16
16
  'email',
17
17
  'firstName',
18
18
  'lastName',
19
19
  'phoneNumber',
20
20
  ];
21
- exports.CUSTOMER_ORG_SCOPED_UPDATE_FIELDS = ['colorCodeId'];
22
21
  exports.CUSTOMER_SEARCH_FIELDS = ['firstName', 'lastName', 'name', 'email'];
23
22
  //# sourceMappingURL=customers.consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customers.consts.js","sourceRoot":"","sources":["../../../../../src/types/customers/types/consts/customers.consts.ts"],"names":[],"mappings":";;;AAGa,QAAA,4BAA4B,GAAG,IAAI,CAAC;AAEpC,QAAA,+BAA+B,GAA0B;IACrE,YAAY,EAAE,IAAI;IAClB,wBAAwB,EAAE,IAAI;IAC9B,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,KAAK;IACrB,qBAAqB,EAAE,KAAK;IAC5B,mBAAmB,EAAE,KAAK;CAC1B,CAAC;AAEW,QAAA,+BAA+B,GAAG,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;AAErE,QAAA,6BAA6B,GAAG;IAC5C,WAAW;IACX,OAAO;IACP,WAAW;IACX,UAAU;IACV,aAAa;CACgB,CAAC;AAElB,QAAA,iCAAiC,GAAG,CAAC,aAAa,CAA8B,CAAC;AAEjF,QAAA,sBAAsB,GAAG,CAAC,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"customers.consts.js","sourceRoot":"","sources":["../../../../../src/types/customers/types/consts/customers.consts.ts"],"names":[],"mappings":";;;AAEa,QAAA,4BAA4B,GAAG,IAAI,CAAC;AAEpC,QAAA,+BAA+B,GAA0B;IACrE,YAAY,EAAE,IAAI;IAClB,wBAAwB,EAAE,IAAI;IAC9B,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,KAAK;IACrB,qBAAqB,EAAE,KAAK;CAC5B,CAAC;AAEW,QAAA,+BAA+B,GAAG,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;AAErE,QAAA,6BAA6B,GAAG;IAC5C,WAAW;IACX,aAAa;IACb,OAAO;IACP,WAAW;IACX,UAAU;IACV,aAAa;CACb,CAAC;AAEW,QAAA,sBAAsB,GAAG,CAAC,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC"}
@@ -35,7 +35,6 @@ export interface CreateCustomerOptions {
35
35
  saveCustomer?: boolean;
36
36
  sendCustomerNotification?: boolean;
37
37
  skipCreateCognitoUser?: boolean;
38
- skipUserProfileSync?: boolean;
39
38
  }
40
39
  export interface CustomerFamilyMember {
41
40
  id: number;
@@ -208,6 +208,7 @@ export declare class EventWithAttendanceDto extends SimpleEventDto {
208
208
  parentSession: ParentSessionDto;
209
209
  attendance: AttendanceDto[];
210
210
  participantTeamName?: string;
211
+ addOns?: AttendeeOfEventAddOnDto[];
211
212
  }
212
213
  export declare class GetUsersEventsQueryDto extends PaginationQuery {
213
214
  startDateBefore?: string;
@@ -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;AAqBD,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
+ {"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;AAqBD,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;CAQzD;AARD,wDAQC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
@@ -1,6 +1,7 @@
1
1
  import { Attendance } from '../attendance/entities/Attendance';
2
2
  import { Folder } from '../folders/entities/folder.entity';
3
3
  import { ProgramSeason } from '../programs-seasons/entities/ProgramSeason';
4
+ import { AttendeeOfEventAddOn } from '../programs-seasons/types/classes/attendee.classes';
4
5
  import { Program } from '../programs/entities/Program';
5
6
  import { IUserCount } from '../purchase/types/interfaces/purchase.interfaces';
6
7
  import { Slot } from '../reservations/entities/slot.entity';
@@ -82,6 +83,7 @@ export declare class Event extends OrganizationConnectionBaseEntity {
82
83
  registrationWindowStatus: RegistrationWindowStatusEnum;
83
84
  resources?: Resource[];
84
85
  participantTeamName?: string;
86
+ addOns?: AttendeeOfEventAddOn[];
85
87
  participantsNumber?: number;
86
88
  maxParticipants?: number;
87
89
  isWaitlistEnabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Events.js","sourceRoot":"","sources":["../../../src/types/entity/Events.ts"],"names":[],"mappings":";;;AAoBA,yFAAsF;AAItF,MAAa,KAAM,SAAQ,mEAAgC;CAgJ1D;AAhJD,sBAgJC"}
1
+ {"version":3,"file":"Events.js","sourceRoot":"","sources":["../../../src/types/entity/Events.ts"],"names":[],"mappings":";;;AAqBA,yFAAsF;AAItF,MAAa,KAAM,SAAQ,mEAAgC;CAkJ1D;AAlJD,sBAkJC"}
@@ -1,11 +1,11 @@
1
1
  import { PaginationQuery } from '../../dto/general.dto';
2
- import { MediaDto } from '../../media/dto/media.dto';
2
+ import { CreateMediaDto } from '../../media/dto/media.dto';
3
3
  import { BaseNotificationDto } from '../../notifications/dto/backoffice.notify.dto';
4
4
  import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
5
5
  import { CurrencyEnum, OrderByEnum } from '../../services/enums.service';
6
6
  import { ContentType } from '../entities/folder-content.entity';
7
7
  import { IGroupResponse } from '../types';
8
- import { FolderSortColumnEnum, MetaTypeEnum, ReferableTypeEnum, RegistrationAccessEnum } from '../types/folders.enums';
8
+ import { FolderHierarchySortColumnEnum, FolderSortColumnEnum, MetaTypeEnum, ReferableTypeEnum, RegistrationAccessEnum } from '../types/folders.enums';
9
9
  import { FolderRestrictionsDto, FolderRestrictionsStatusResultDto } from './folder-restrictions.dto';
10
10
  export declare class FolderByIdDto {
11
11
  folderId: number;
@@ -37,7 +37,7 @@ export declare class CreateFolderDto {
37
37
  facilityId?: number;
38
38
  referableType?: ReferableTypeEnum;
39
39
  referableId?: number;
40
- mainMedia?: MediaDto;
40
+ mainMedia?: CreateMediaDto;
41
41
  registrationAccess?: RegistrationAccessEnum;
42
42
  metaType?: MetaTypeEnum;
43
43
  restrictions?: FolderRestrictionsDto;
@@ -47,7 +47,7 @@ export declare class UpdateFolderDto {
47
47
  category?: string;
48
48
  organizationId?: number;
49
49
  mainMediaId?: number;
50
- mainMedia?: MediaDto;
50
+ mainMedia?: CreateMediaDto;
51
51
  registrationAccess?: RegistrationAccessEnum;
52
52
  newParentFolderId?: number;
53
53
  metaType?: MetaTypeEnum;
@@ -115,6 +115,14 @@ export declare class GetFolderHierarchyDto {
115
115
  excludeIds?: number[];
116
116
  metaTypes?: MetaTypeEnum[];
117
117
  }
118
+ /**
119
+ * Query DTO for GET /folders/hierarchy.
120
+ * Extends shared hierarchy filters with optional sibling sort by name.
121
+ */
122
+ export declare class GetFolderHierarchyQueryDto extends GetFolderHierarchyDto {
123
+ sortColumn?: FolderHierarchySortColumnEnum;
124
+ sortOrder?: OrderByEnum;
125
+ }
118
126
  export declare class FolderAsGroupResponseDto implements IGroupResponse {
119
127
  id: number;
120
128
  waiversCount: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotifyFolderContentsUsersDto = exports.NotifyFoldersUsersDto = exports.GetFoldersDto = exports.FolderHierarchyResponseDto = exports.FolderAsGroupResponseDto = exports.GetFolderHierarchyDto = exports.GetFolderByIdOptionsDto = exports.MoveFolderContentDto = exports.FolderInviteShowDto = exports.FolderInviteUuidDto = exports.FolderContentsMoveDto = exports.GetFolderContentsDto = exports.FolderContentShowDto = exports.FolderContentByIdDto = exports.AddContentDto = exports.FindOrCreateFolderDto = exports.CloneFolderDto = exports.DeleteFolderDto = exports.UpdateFolderDto = exports.CreateFolderDto = exports.FolderShowDto = exports.FolderByIdDto = void 0;
3
+ exports.NotifyFolderContentsUsersDto = exports.NotifyFoldersUsersDto = exports.GetFoldersDto = exports.FolderHierarchyResponseDto = exports.FolderAsGroupResponseDto = exports.GetFolderHierarchyQueryDto = exports.GetFolderHierarchyDto = exports.GetFolderByIdOptionsDto = exports.MoveFolderContentDto = exports.FolderInviteShowDto = exports.FolderInviteUuidDto = exports.FolderContentsMoveDto = exports.GetFolderContentsDto = exports.FolderContentShowDto = exports.FolderContentByIdDto = exports.AddContentDto = exports.FindOrCreateFolderDto = exports.CloneFolderDto = exports.DeleteFolderDto = exports.UpdateFolderDto = exports.CreateFolderDto = exports.FolderShowDto = exports.FolderByIdDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  const backoffice_notify_dto_1 = require("../../notifications/dto/backoffice.notify.dto");
6
6
  const enums_service_1 = require("../../services/enums.service");
@@ -62,6 +62,17 @@ exports.GetFolderByIdOptionsDto = GetFolderByIdOptionsDto;
62
62
  class GetFolderHierarchyDto {
63
63
  }
64
64
  exports.GetFolderHierarchyDto = GetFolderHierarchyDto;
65
+ /**
66
+ * Query DTO for GET /folders/hierarchy.
67
+ * Extends shared hierarchy filters with optional sibling sort by name.
68
+ */
69
+ class GetFolderHierarchyQueryDto extends GetFolderHierarchyDto {
70
+ constructor() {
71
+ super(...arguments);
72
+ this.sortOrder = enums_service_1.OrderByEnum.ASC;
73
+ }
74
+ }
75
+ exports.GetFolderHierarchyQueryDto = GetFolderHierarchyQueryDto;
65
76
  class FolderAsGroupResponseDto {
66
77
  }
67
78
  exports.FolderAsGroupResponseDto = FolderAsGroupResponseDto;
@@ -1 +1 @@
1
- {"version":3,"file":"folder.dto.js","sourceRoot":"","sources":["../../../../src/types/folders/dto/folder.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AAExD,yFAAoF;AAEpF,gEAAyE;AAKzE,0DAAuH;AAOvH,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,aAAa;CAmCzB;AAnCD,sCAmCC;AAED,MAAa,eAAe;CAsB3B;AAtBD,0CAsBC;AAED,MAAa,eAAe;CAkB3B;AAlBD,0CAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED;;;;;GAKG;AACH,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,aAAa;CAIzB;AAJD,sCAIC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,oBAAoB;CAOhC;AAPD,oDAOC;AAED,MAAa,oBAAqB,SAAQ,6BAAe;CAIxD;AAJD,oDAIC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,mBAAmB;CAW/B;AAXD,kDAWC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,wBAAwB;CAwCpC;AAxCD,4DAwCC;AAED,MAAa,0BAA0B;CAyDtC;AAzDD,gEAyDC;AAED;;;;;;;;;GASG;AACH,MAAa,aAAc,SAAQ,qBAAqB;IAAxD;;QACC,eAAU,GAA0B,oCAAoB,CAAC,IAAI,CAAC;QAE9D,cAAS,GAAiB,2BAAW,CAAC,GAAG,CAAC;IAC3C,CAAC;CAAA;AAJD,sCAIC;AAED;;;GAGG;AACH,MAAa,qBAAsB,SAAQ,2CAAmB;CAE7D;AAFD,sDAEC;AAED;;;;GAIG;AACH,MAAa,4BAA6B,SAAQ,2CAAmB;CAEpE;AAFD,oEAEC"}
1
+ {"version":3,"file":"folder.dto.js","sourceRoot":"","sources":["../../../../src/types/folders/dto/folder.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AAExD,yFAAoF;AAEpF,gEAAyE;AAKzE,0DAMgC;AAOhC,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,aAAa;CAmCzB;AAnCD,sCAmCC;AAED,MAAa,eAAe;CAsB3B;AAtBD,0CAsBC;AAED,MAAa,eAAe;CAkB3B;AAlBD,0CAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED;;;;;GAKG;AACH,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,aAAa;CAIzB;AAJD,sCAIC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,oBAAoB;CAOhC;AAPD,oDAOC;AAED,MAAa,oBAAqB,SAAQ,6BAAe;CAIxD;AAJD,oDAIC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,mBAAmB;CAW/B;AAXD,kDAWC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED;;;GAGG;AACH,MAAa,0BAA2B,SAAQ,qBAAqB;IAArE;;QAGC,cAAS,GAAiB,2BAAW,CAAC,GAAG,CAAC;IAC3C,CAAC;CAAA;AAJD,gEAIC;AAED,MAAa,wBAAwB;CAwCpC;AAxCD,4DAwCC;AAED,MAAa,0BAA0B;CAyDtC;AAzDD,gEAyDC;AAED;;;;;;;;;GASG;AACH,MAAa,aAAc,SAAQ,qBAAqB;IAAxD;;QACC,eAAU,GAA0B,oCAAoB,CAAC,IAAI,CAAC;QAE9D,cAAS,GAAiB,2BAAW,CAAC,GAAG,CAAC;IAC3C,CAAC;CAAA;AAJD,sCAIC;AAED;;;GAGG;AACH,MAAa,qBAAsB,SAAQ,2CAAmB;CAE7D;AAFD,sDAEC;AAED;;;;GAIG;AACH,MAAa,4BAA6B,SAAQ,2CAAmB;CAEpE;AAFD,oEAEC"}
@@ -8,7 +8,8 @@ export declare enum ContentType {
8
8
  EVENT = 40,
9
9
  PROGRAM_SEASON = 50,
10
10
  PROGRAM_SEGMENT = 60,
11
- LEAGUE_SCHEDULE_DATA = 70
11
+ LEAGUE_SCHEDULE_DATA = 70,
12
+ TEAM_IDENTITY = 80
12
13
  }
13
14
  export declare class FolderContent extends BondBaseEntity {
14
15
  contentType: ContentType;
@@ -11,6 +11,7 @@ var ContentType;
11
11
  ContentType[ContentType["PROGRAM_SEASON"] = 50] = "PROGRAM_SEASON";
12
12
  ContentType[ContentType["PROGRAM_SEGMENT"] = 60] = "PROGRAM_SEGMENT";
13
13
  ContentType[ContentType["LEAGUE_SCHEDULE_DATA"] = 70] = "LEAGUE_SCHEDULE_DATA";
14
+ ContentType[ContentType["TEAM_IDENTITY"] = 80] = "TEAM_IDENTITY";
14
15
  })(ContentType = exports.ContentType || (exports.ContentType = {}));
15
16
  class FolderContent extends BondBaseEntity_1.BondBaseEntity {
16
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"folder-content.entity.js","sourceRoot":"","sources":["../../../../src/types/folders/entities/folder-content.entity.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAI7D,IAAY,WAQX;AARD,WAAY,WAAW;IACtB,kDAAW,CAAA;IACX,8CAAS,CAAA;IACT,0EAAuB,CAAA;IACvB,gDAAU,CAAA;IACV,kEAAmB,CAAA;IACnB,oEAAoB,CAAA;IACpB,8EAAyB,CAAA;AAC1B,CAAC,EARW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAQtB;AAED,MAAa,aAAc,SAAQ,+BAAc;CAgBhD;AAhBD,sCAgBC"}
1
+ {"version":3,"file":"folder-content.entity.js","sourceRoot":"","sources":["../../../../src/types/folders/entities/folder-content.entity.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAI7D,IAAY,WASX;AATD,WAAY,WAAW;IACtB,kDAAW,CAAA;IACX,8CAAS,CAAA;IACT,0EAAuB,CAAA;IACvB,gDAAU,CAAA;IACV,kEAAmB,CAAA;IACnB,oEAAoB,CAAA;IACpB,8EAAyB,CAAA;IACzB,gEAAkB,CAAA;AACnB,CAAC,EATW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAStB;AAED,MAAa,aAAc,SAAQ,+BAAc;CAgBhD;AAhBD,sCAgBC"}
@@ -9,6 +9,9 @@ export declare enum FolderSortColumnEnum {
9
9
  NAME = "name",
10
10
  CATEGORY = "category"
11
11
  }
12
+ export declare enum FolderHierarchySortColumnEnum {
13
+ NAME = "name"
14
+ }
12
15
  export declare enum ReferableTypeEnum {
13
16
  PROGRAM_SEASON = 10
14
17
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FolderRestrictionActionEnum = exports.RegistrationAccessEnum = exports.MetaTypeEnum = exports.ReferableTypeEnum = exports.FolderSortColumnEnum = exports.GroupsSortByFieldsEnum = void 0;
3
+ exports.FolderRestrictionActionEnum = exports.RegistrationAccessEnum = exports.MetaTypeEnum = exports.ReferableTypeEnum = exports.FolderHierarchySortColumnEnum = exports.FolderSortColumnEnum = exports.GroupsSortByFieldsEnum = void 0;
4
4
  var GroupsSortByFieldsEnum;
5
5
  (function (GroupsSortByFieldsEnum) {
6
6
  GroupsSortByFieldsEnum["NAME"] = "name";
@@ -14,6 +14,10 @@ var FolderSortColumnEnum;
14
14
  FolderSortColumnEnum["NAME"] = "name";
15
15
  FolderSortColumnEnum["CATEGORY"] = "category";
16
16
  })(FolderSortColumnEnum = exports.FolderSortColumnEnum || (exports.FolderSortColumnEnum = {}));
17
+ var FolderHierarchySortColumnEnum;
18
+ (function (FolderHierarchySortColumnEnum) {
19
+ FolderHierarchySortColumnEnum["NAME"] = "name";
20
+ })(FolderHierarchySortColumnEnum = exports.FolderHierarchySortColumnEnum || (exports.FolderHierarchySortColumnEnum = {}));
17
21
  var ReferableTypeEnum;
18
22
  (function (ReferableTypeEnum) {
19
23
  ReferableTypeEnum[ReferableTypeEnum["PROGRAM_SEASON"] = 10] = "PROGRAM_SEASON";
@@ -1 +1 @@
1
- {"version":3,"file":"folders.enums.js","sourceRoot":"","sources":["../../../../src/types/folders/types/folders.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAMX;AAND,WAAY,sBAAsB;IACjC,uCAAa,CAAA;IACb,oDAA0B,CAAA;IAC1B,wDAA8B,CAAA;IAC9B,wDAA8B,CAAA;IAC9B,oDAA0B,CAAA;AAC3B,CAAC,EANW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAMjC;AAED,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC/B,qCAAa,CAAA;IACb,6CAAqB,CAAA;AACtB,CAAC,EAHW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAG/B;AAED,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IAC5B,8EAAmB,CAAA;AACpB,CAAC,EAFW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAE5B;AAED,wDAAwD;AACxD,mHAAmH;AACnH,4CAA4C;AAC5C,IAAY,YAMX;AAND,WAAY,YAAY;IACvB,6DAAe,CAAA;IAEf,+EAA+E;IAC/E,iDAAS,CAAA;IACT,+CAAQ,CAAA;AACT,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IACjC,mEAAQ,CAAA;IACR,2FAAoB,CAAA;AACrB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACtC,oDAAqB,CAAA;IACrB,oEAAqC,CAAA;AACtC,CAAC,EAHW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAGtC"}
1
+ {"version":3,"file":"folders.enums.js","sourceRoot":"","sources":["../../../../src/types/folders/types/folders.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAMX;AAND,WAAY,sBAAsB;IACjC,uCAAa,CAAA;IACb,oDAA0B,CAAA;IAC1B,wDAA8B,CAAA;IAC9B,wDAA8B,CAAA;IAC9B,oDAA0B,CAAA;AAC3B,CAAC,EANW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAMjC;AAED,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC/B,qCAAa,CAAA;IACb,6CAAqB,CAAA;AACtB,CAAC,EAHW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAG/B;AAED,IAAY,6BAEX;AAFD,WAAY,6BAA6B;IACxC,8CAAa,CAAA;AACd,CAAC,EAFW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAExC;AAED,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IAC5B,8EAAmB,CAAA;AACpB,CAAC,EAFW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAE5B;AAED,wDAAwD;AACxD,mHAAmH;AACnH,4CAA4C;AAC5C,IAAY,YAMX;AAND,WAAY,YAAY;IACvB,6DAAe,CAAA;IAEf,+EAA+E;IAC/E,iDAAS,CAAA;IACT,+CAAQ,CAAA;AACT,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB;AAED,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IACjC,mEAAQ,CAAA;IACR,2FAAoB,CAAA;AACrB,CAAC,EAHW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAGjC;AAED,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACtC,oDAAqB,CAAA;IACrB,oEAAqC,CAAA;AACtC,CAAC,EAHW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAGtC"}
@@ -10,6 +10,7 @@ export interface IFolderContentsByFolderQueryParams {
10
10
  contentTypes?: ContentType[];
11
11
  excludedContentIds?: number[];
12
12
  excludedFolderContentIds?: number[];
13
+ teamRoles?: string[];
13
14
  }
14
15
  /**
15
16
  * Parameters for building folder contents by IDs query
@@ -28,6 +29,7 @@ export interface IGetFolderContentsParams {
28
29
  contentTypes?: ContentType[];
29
30
  excludedContentIds?: number[];
30
31
  excludedFolderContentIds?: number[];
32
+ teamRoles?: string[];
31
33
  folderIds: number[];
32
34
  }
33
35
  /**
@@ -14,7 +14,6 @@ export declare class CreateGlCodeDto {
14
14
  resourceType?: GlResourceTypeEnum;
15
15
  productType?: ProductTypesEnum;
16
16
  glTypeId: number;
17
- facilitiesIds?: number[];
18
17
  }
19
18
  export declare class GlCodeDto extends OrganizationBaseEntityDto {
20
19
  code: string;
@@ -24,8 +23,6 @@ export declare class GlCodeDto extends OrganizationBaseEntityDto {
24
23
  productType?: ProductTypesEnum;
25
24
  updatedAt?: Date;
26
25
  assignedResources?: number;
27
- facilityIds?: number[];
28
- isAllFacilities?: boolean;
29
26
  glType: GlTypeDto;
30
27
  }
31
28
  export declare class AccountingCodeDto extends IdDto {
@@ -35,10 +32,7 @@ export declare class AccountingCodeDto extends IdDto {
35
32
  resourceType?: GlResourceTypeEnum;
36
33
  productType?: ProductTypesEnum;
37
34
  }
38
- export declare class ExpandGlCodeDto {
39
- expand?: GlCodeExpandEnum[];
40
- }
41
- export declare class FindGlCodesFiltersDto extends ExpandGlCodeDto {
35
+ export declare class FindGlCodesFiltersDto {
42
36
  label?: string;
43
37
  includeInactive?: boolean;
44
38
  codes?: string[];
@@ -55,11 +49,13 @@ export declare class GetGlCodesFiltersDto extends PaginationQuery implements IGl
55
49
  resourceTypes?: GlResourceTypeEnum[];
56
50
  productTypes?: ProductTypesEnum[];
57
51
  glTypeIds?: number[];
58
- facilitiesIds?: number[];
59
52
  orderBy?: GlCodeOrderByEnum;
60
53
  order?: OrderByEnum;
61
54
  expand?: GlCodeExpandEnum[];
62
55
  }
56
+ export declare class ExpandGlCodeDto {
57
+ expand?: GlCodeExpandEnum[];
58
+ }
63
59
  export declare class UpdateGlCodeDto {
64
60
  id: number;
65
61
  code?: string;
@@ -68,7 +64,6 @@ export declare class UpdateGlCodeDto {
68
64
  resourceType?: GlResourceTypeEnum;
69
65
  productType?: ProductTypesEnum;
70
66
  glTypeId?: number;
71
- facilitiesIds?: number[];
72
67
  }
73
68
  export declare class MassActionUpdateGlCodeDto {
74
69
  label?: string;
@@ -89,5 +84,4 @@ export declare class MassActionGlCodesQueryDto extends MassActionFilterDto imple
89
84
  resourceTypes?: GlResourceTypeEnum[];
90
85
  productTypes?: ProductTypesEnum[];
91
86
  glTypeIds?: number[];
92
- facilitiesIds?: number[];
93
87
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MassActionGlCodesQueryDto = exports.CreateGlCodesDto = exports.UpdateGlCodesDto = exports.MassActionUpdateGlCodeDto = exports.UpdateGlCodeDto = exports.GetGlCodesFiltersDto = exports.FindGlCodesFiltersDto = exports.ExpandGlCodeDto = exports.AccountingCodeDto = exports.GlCodeDto = exports.CreateGlCodeDto = exports.ByGlCodeDto = void 0;
3
+ exports.MassActionGlCodesQueryDto = exports.CreateGlCodesDto = exports.UpdateGlCodesDto = exports.MassActionUpdateGlCodeDto = exports.UpdateGlCodeDto = exports.ExpandGlCodeDto = exports.GetGlCodesFiltersDto = exports.FindGlCodesFiltersDto = exports.AccountingCodeDto = exports.GlCodeDto = exports.CreateGlCodeDto = exports.ByGlCodeDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  const organization_dto_1 = require("../../organization/dto/organization.dto");
6
6
  class ByGlCodeDto extends organization_dto_1.ByOrganizationIdDto {
@@ -15,12 +15,8 @@ exports.GlCodeDto = GlCodeDto;
15
15
  class AccountingCodeDto extends general_dto_1.IdDto {
16
16
  }
17
17
  exports.AccountingCodeDto = AccountingCodeDto;
18
- class ExpandGlCodeDto {
19
- }
20
- exports.ExpandGlCodeDto = ExpandGlCodeDto;
21
- class FindGlCodesFiltersDto extends ExpandGlCodeDto {
18
+ class FindGlCodesFiltersDto {
22
19
  constructor() {
23
- super(...arguments);
24
20
  this.isResourceTypeNullable = true;
25
21
  }
26
22
  }
@@ -28,6 +24,9 @@ exports.FindGlCodesFiltersDto = FindGlCodesFiltersDto;
28
24
  class GetGlCodesFiltersDto extends general_dto_1.PaginationQuery {
29
25
  }
30
26
  exports.GetGlCodesFiltersDto = GetGlCodesFiltersDto;
27
+ class ExpandGlCodeDto {
28
+ }
29
+ exports.ExpandGlCodeDto = ExpandGlCodeDto;
31
30
  class UpdateGlCodeDto {
32
31
  }
33
32
  exports.UpdateGlCodeDto = UpdateGlCodeDto;
@@ -1 +1 @@
1
- {"version":3,"file":"gl-code.dto.js","sourceRoot":"","sources":["../../../../src/types/gl-codes/dto/gl-code.dto.ts"],"names":[],"mappings":";;;AACA,uDAAoF;AACpF,8EAAyG;AAOzG,MAAa,WAAY,SAAQ,sCAAmB;CAEnD;AAFD,kCAEC;AAED,MAAa,eAAe;CAc3B;AAdD,0CAcC;AAED,MAAa,SAAU,SAAQ,4CAAyB;CAoBvD;AApBD,8BAoBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAU3C;AAVD,8CAUC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,qBAAsB,SAAQ,eAAe;IAA1D;;QAaC,2BAAsB,GAAa,IAAI,CAAC;IAGzC,CAAC;CAAA;AAhBD,sDAgBC;AAED,MAAa,oBAAqB,SAAQ,6BAAe;CAoBxD;AApBD,oDAoBC;AAED,MAAa,eAAe;CAgB3B;AAhBD,0CAgBC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,yBAA0B,SAAQ,iCAAmB;CAYjE;AAZD,8DAYC"}
1
+ {"version":3,"file":"gl-code.dto.js","sourceRoot":"","sources":["../../../../src/types/gl-codes/dto/gl-code.dto.ts"],"names":[],"mappings":";;;AACA,uDAAoF;AACpF,8EAAyG;AAOzG,MAAa,WAAY,SAAQ,sCAAmB;CAEnD;AAFD,kCAEC;AAED,MAAa,eAAe;CAY3B;AAZD,0CAYC;AAED,MAAa,SAAU,SAAQ,4CAAyB;CAgBvD;AAhBD,8BAgBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAU3C;AAVD,8CAUC;AAED,MAAa,qBAAqB;IAAlC;QAaC,2BAAsB,GAAa,IAAI,CAAC;IAGzC,CAAC;CAAA;AAhBD,sDAgBC;AAED,MAAa,oBAAqB,SAAQ,6BAAe;CAkBxD;AAlBD,oDAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,eAAe;CAc3B;AAdD,0CAcC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,yBAA0B,SAAQ,iCAAmB;CAUjE;AAVD,8DAUC"}
@@ -1,7 +1,6 @@
1
1
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
2
2
  import { ActivityEnum, ProductTypesEnum } from '../../services/enums.service';
3
3
  import { GlResourceTypeEnum } from '../types/enums/gl-code.enum';
4
- import { GlCodeToFacility } from './gl-code-to-facility.entity';
5
4
  import { GlType } from './gl-type';
6
5
  export declare class GlCode extends OrganizationConnectionBaseEntity {
7
6
  code: string;
@@ -12,6 +11,5 @@ export declare class GlCode extends OrganizationConnectionBaseEntity {
12
11
  deletedAt?: Date;
13
12
  glTypeId: number;
14
13
  glType: GlType;
15
- glCodeToFacilities: GlCodeToFacility[];
16
14
  assignedResources?: number;
17
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"gl-code.js","sourceRoot":"","sources":["../../../../src/types/gl-codes/entities/gl-code.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAOjG,MAAa,MAAO,SAAQ,mEAAgC;CAoB3D;AApBD,wBAoBC"}
1
+ {"version":3,"file":"gl-code.js","sourceRoot":"","sources":["../../../../src/types/gl-codes/entities/gl-code.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAMjG,MAAa,MAAO,SAAQ,mEAAgC;CAkB3D;AAlBD,wBAkBC"}
@@ -1,4 +1,3 @@
1
- export * from './gl-code-to-facility.entity';
2
1
  export * from './gl-code';
3
2
  export * from './gl-type';
4
3
  export * from './resource-to-gl';
@@ -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("./gl-code-to-facility.entity"), exports);
18
17
  __exportStar(require("./gl-code"), exports);
19
18
  __exportStar(require("./gl-type"), exports);
20
19
  __exportStar(require("./resource-to-gl"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/gl-codes/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,4CAA0B;AAC1B,4CAA0B;AAC1B,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/gl-codes/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,4CAA0B;AAC1B,mDAAiC"}
@@ -23,6 +23,5 @@ export declare enum GlCodeOrderByEnum {
23
23
  UPDATED_AT = "updatedAt"
24
24
  }
25
25
  export declare enum GlCodeExpandEnum {
26
- ASSIGNED_RESOURCES = "assignedResources",
27
- FACILITIES = "facilities"
26
+ ASSIGNED_RESOURCES = "assignedResources"
28
27
  }
@@ -30,6 +30,5 @@ var GlCodeOrderByEnum;
30
30
  var GlCodeExpandEnum;
31
31
  (function (GlCodeExpandEnum) {
32
32
  GlCodeExpandEnum["ASSIGNED_RESOURCES"] = "assignedResources";
33
- GlCodeExpandEnum["FACILITIES"] = "facilities";
34
33
  })(GlCodeExpandEnum = exports.GlCodeExpandEnum || (exports.GlCodeExpandEnum = {}));
35
34
  //# sourceMappingURL=gl-code.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gl-code.enum.js","sourceRoot":"","sources":["../../../../../src/types/gl-codes/types/enums/gl-code.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAgBX;AAhBD,WAAY,kBAAkB;IAC7B,qCAAe,CAAA;IACf,uCAAiB,CAAA;IACjB,+CAAyB,CAAA;IACzB,yCAAmB,CAAA;IACnB,uDAAiC,CAAA;IACjC,yCAAmB,CAAA;IACnB,iCAAW,CAAA;IACX,2CAAqB,CAAA;IACrB,2CAAqB,CAAA;IACrB,mDAA6B,CAAA;IAC7B,iCAAW,CAAA;IACX,yCAAmB,CAAA;IACnB,qCAAe,CAAA;IACf,2CAAqB,CAAA;IACrB,uDAAiC,CAAA;AAClC,CAAC,EAhBW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAgB7B;AAED,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC5B,oCAAe,CAAA;IACf,kCAAa,CAAA;IACb,sCAAiB,CAAA;IACjB,kCAAa,CAAA;IACb,6CAAwB,CAAA;AACzB,CAAC,EANW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAM5B;AAED,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC3B,4DAAwC,CAAA;IACxC,6CAAyB,CAAA;AAC1B,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B"}
1
+ {"version":3,"file":"gl-code.enum.js","sourceRoot":"","sources":["../../../../../src/types/gl-codes/types/enums/gl-code.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAgBX;AAhBD,WAAY,kBAAkB;IAC7B,qCAAe,CAAA;IACf,uCAAiB,CAAA;IACjB,+CAAyB,CAAA;IACzB,yCAAmB,CAAA;IACnB,uDAAiC,CAAA;IACjC,yCAAmB,CAAA;IACnB,iCAAW,CAAA;IACX,2CAAqB,CAAA;IACrB,2CAAqB,CAAA;IACrB,mDAA6B,CAAA;IAC7B,iCAAW,CAAA;IACX,yCAAmB,CAAA;IACnB,qCAAe,CAAA;IACf,2CAAqB,CAAA;IACrB,uDAAiC,CAAA;AAClC,CAAC,EAhBW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAgB7B;AAED,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC5B,oCAAe,CAAA;IACf,kCAAa,CAAA;IACb,sCAAiB,CAAA;IACjB,kCAAa,CAAA;IACb,6CAAwB,CAAA;AACzB,CAAC,EANW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAM5B;AAED,IAAY,gBAEX;AAFD,WAAY,gBAAgB;IAC3B,4DAAwC,CAAA;AACzC,CAAC,EAFW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAE3B"}
@@ -1,17 +1,12 @@
1
1
  import { ActivityEnum, OrderByEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
2
2
  import { IPagination } from '../../../util/models/interfaces/general.interfaces';
3
3
  import { CreateResourceToGlDto } from '../../dto/resource-to-gl.dto';
4
- import { GlCodeToFacility } from '../../entities/gl-code-to-facility.entity';
5
4
  import { ResourceToGL } from '../../entities/resource-to-gl';
6
5
  import { GlCodeExpandEnum, GlCodeOrderByEnum, GlResourceTypeEnum } from '../enums/gl-code.enum';
7
6
  export interface filterExistingGlsResult {
8
7
  deleteResourceToGlsIds: number[];
9
8
  newResourceToGls: CreateResourceToGlDto[];
10
9
  }
11
- export interface IGlCodeFacilityConnectionsDiff {
12
- connectionIdsToRemove: number[];
13
- connectionsToAdd: GlCodeToFacility[];
14
- }
15
10
  export interface IResourcesGLsResult {
16
11
  organizationId: number;
17
12
  resourceId: number;
@@ -20,7 +15,6 @@ export interface IResourcesGLsResult {
20
15
  }
21
16
  export interface IGlCodesFilters extends IPagination {
22
17
  expand?: GlCodeExpandEnum[];
23
- facilitiesIds?: number[];
24
18
  glTypeIds?: number[];
25
19
  labels?: string[];
26
20
  order?: OrderByEnum;
@@ -48,6 +48,7 @@ export * from './punch-pass';
48
48
  export * from './purchase';
49
49
  export * from './questionnaires';
50
50
  export * from './react';
51
+ export * from './repositories';
51
52
  export * from './reservations';
52
53
  export * from './resource-settings';
53
54
  export * from './resources';
@@ -64,6 +64,7 @@ __exportStar(require("./punch-pass"), exports);
64
64
  __exportStar(require("./purchase"), exports);
65
65
  __exportStar(require("./questionnaires"), exports);
66
66
  __exportStar(require("./react"), exports);
67
+ __exportStar(require("./repositories"), exports);
67
68
  __exportStar(require("./reservations"), exports);
68
69
  __exportStar(require("./resource-settings"), exports);
69
70
  __exportStar(require("./resources"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,4DAA0C;AAC1C,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,uDAAqC;AACrC,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,0CAAwB;AACxB,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,6CAA2B;AAC3B,0CAAwB;AACxB,0CAAwB;AACxB,8CAA4B;AAC5B,6CAA2B;AAC3B,uDAAqC;AACrC,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,4DAA0C;AAC1C,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,sDAAoC;AACpC,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,uDAAqC;AACrC,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,0CAAwB;AACxB,iDAA+B;AAC/B,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,6CAA2B;AAC3B,0CAAwB;AACxB,0CAAwB;AACxB,8CAA4B;AAC5B,6CAA2B;AAC3B,uDAAqC;AACrC,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
@@ -8,6 +8,7 @@ export * from './standings-ruleset.entity';
8
8
  export * from './standings.entity';
9
9
  export * from './game.entity';
10
10
  export * from './competition-public-settings.entity';
11
+ export * from './team-identity.entity';
11
12
  export * from './competition-public-settings.entity';
12
13
  export * from './competition.entity';
13
14
  export * from './division.entity';
@@ -18,4 +19,5 @@ export * from './stage-division.entity';
18
19
  export * from './stage.entity';
19
20
  export * from './standings-ruleset.entity';
20
21
  export * from './standings.entity';
22
+ export * from './team-identity.entity';
21
23
  export * from './team.entity';
@@ -24,6 +24,7 @@ __exportStar(require("./standings-ruleset.entity"), exports);
24
24
  __exportStar(require("./standings.entity"), exports);
25
25
  __exportStar(require("./game.entity"), exports);
26
26
  __exportStar(require("./competition-public-settings.entity"), exports);
27
+ __exportStar(require("./team-identity.entity"), exports);
27
28
  __exportStar(require("./competition-public-settings.entity"), exports);
28
29
  __exportStar(require("./competition.entity"), exports);
29
30
  __exportStar(require("./division.entity"), exports);
@@ -34,5 +35,6 @@ __exportStar(require("./stage-division.entity"), exports);
34
35
  __exportStar(require("./stage.entity"), exports);
35
36
  __exportStar(require("./standings-ruleset.entity"), exports);
36
37
  __exportStar(require("./standings.entity"), exports);
38
+ __exportStar(require("./team-identity.entity"), exports);
37
39
  __exportStar(require("./team.entity"), exports);
38
40
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/league-standings/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AAErC,oDAAkC;AAElC,gDAA8B;AAE9B,iDAA+B;AAE/B,0DAAwC;AAExC,+DAA6C;AAE7C,6DAA2C;AAE3C,qDAAmC;AAEnC,gDAA8B;AAE9B,uEAAqD;AACrD,uEAAqD;AACrD,uDAAqC;AACrC,oDAAkC;AAClC,gDAA8B;AAC9B,0CAAwB;AACxB,+DAA6C;AAC7C,0DAAwC;AACxC,iDAA+B;AAC/B,6DAA2C;AAC3C,qDAAmC;AACnC,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/league-standings/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AAErC,oDAAkC;AAElC,gDAA8B;AAE9B,iDAA+B;AAE/B,0DAAwC;AAExC,+DAA6C;AAE7C,6DAA2C;AAE3C,qDAAmC;AAEnC,gDAA8B;AAE9B,uEAAqD;AAErD,yDAAuC;AACvC,uEAAqD;AACrD,uDAAqC;AACrC,oDAAkC;AAClC,gDAA8B;AAC9B,0CAAwB;AACxB,+DAA6C;AAC7C,0DAAwC;AACxC,iDAA+B;AAC/B,6DAA2C;AAC3C,qDAAmC;AACnC,yDAAuC;AACvC,gDAA8B"}
@@ -0,0 +1,25 @@
1
+ import { SportsEnum } from '../../activities/types/activities.enums';
2
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
3
+ import { Media } from '../../media/entities/Media';
4
+ import { Organization } from '../../organization/entities/Organization';
5
+ /**
6
+ * A `TeamIdentity` is a cross-season identifier for a real-world team.
7
+ *
8
+ * Each row represents the durable identity of one team across every season
9
+ * it has registered for. Per-season team folders point at a `TeamIdentity`
10
+ * via a `FolderContent` row of type `TEAM_IDENTITY`.
11
+ *
12
+ * Replaces the legacy `CLONED_FROM_FOLDER` linked-list pattern, which made
13
+ * "what teams has this user led across seasons?" queries expensive and
14
+ * brittle. A first-class identity row gives us indexed joins and a single
15
+ * place to hang team-level metadata (name, sport, logo).
16
+ */
17
+ export declare class TeamIdentity extends BondBaseEntity {
18
+ organizationId: number;
19
+ organization?: Organization;
20
+ name: string;
21
+ sport: SportsEnum;
22
+ logoMediaId?: number | null;
23
+ logoMedia?: Media;
24
+ deletedAt?: Date;
25
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TeamIdentity = void 0;
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ /**
6
+ * A `TeamIdentity` is a cross-season identifier for a real-world team.
7
+ *
8
+ * Each row represents the durable identity of one team across every season
9
+ * it has registered for. Per-season team folders point at a `TeamIdentity`
10
+ * via a `FolderContent` row of type `TEAM_IDENTITY`.
11
+ *
12
+ * Replaces the legacy `CLONED_FROM_FOLDER` linked-list pattern, which made
13
+ * "what teams has this user led across seasons?" queries expensive and
14
+ * brittle. A first-class identity row gives us indexed joins and a single
15
+ * place to hang team-level metadata (name, sport, logo).
16
+ */
17
+ class TeamIdentity extends BondBaseEntity_1.BondBaseEntity {
18
+ }
19
+ exports.TeamIdentity = TeamIdentity;
20
+ //# sourceMappingURL=team-identity.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"team-identity.entity.js","sourceRoot":"","sources":["../../../../src/types/league-standings/entities/team-identity.entity.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAI7D;;;;;;;;;;;GAWG;AACH,MAAa,YAAa,SAAQ,+BAAc;CAc/C;AAdD,oCAcC"}
@@ -1,14 +1,16 @@
1
1
  import { MediaTypesEnum } from '../types/media.enums';
2
- export declare class MediaDto {
3
- id: number;
2
+ export declare class CreateMediaDto {
4
3
  url: string;
5
4
  mediaType: MediaTypesEnum;
6
5
  fileType?: string;
7
6
  name?: string;
8
7
  title?: string;
9
8
  mediaKey?: string;
10
- description?: string;
11
9
  provider?: string;
10
+ }
11
+ export declare class MediaDto extends CreateMediaDto {
12
+ id: number;
13
+ description?: string;
12
14
  isDefault?: boolean;
13
15
  creatorId?: number;
14
16
  creatorType?: string;
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MediaDto = void 0;
4
- class MediaDto {
3
+ exports.MediaDto = exports.CreateMediaDto = void 0;
4
+ class CreateMediaDto {
5
+ }
6
+ exports.CreateMediaDto = CreateMediaDto;
7
+ class MediaDto extends CreateMediaDto {
5
8
  }
6
9
  exports.MediaDto = MediaDto;
7
10
  //# sourceMappingURL=media.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"media.dto.js","sourceRoot":"","sources":["../../../../src/types/media/dto/media.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,QAAQ;CA8BpB;AA9BD,4BA8BC"}
1
+ {"version":3,"file":"media.dto.js","sourceRoot":"","sources":["../../../../src/types/media/dto/media.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,cAAc;CAc1B;AAdD,wCAcC;AAED,MAAa,QAAS,SAAQ,cAAc;CAgB3C;AAhBD,4BAgBC"}
@@ -0,0 +1,2 @@
1
+ export * from './membership.pause.consts';
2
+ export * from './public-membership.consts';