@bondsports/types 2.3.6-c-9 → 2.3.6-c-10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/entity/LineItems.js.map +1 -1
- package/dist/types/filters/dto/filters.dto.d.ts +3 -0
- package/dist/types/filters/dto/filters.dto.js.map +1 -1
- package/dist/types/folders/dto/folder.dto.d.ts +79 -6
- package/dist/types/folders/dto/folder.dto.js +17 -5
- package/dist/types/folders/dto/folder.dto.js.map +1 -1
- package/dist/types/folders/entities/folder.entity.d.ts +5 -0
- package/dist/types/folders/entities/folder.entity.js +12 -1
- package/dist/types/folders/entities/folder.entity.js.map +1 -1
- package/dist/types/folders/index.d.ts +1 -0
- package/dist/types/folders/index.js +1 -0
- package/dist/types/folders/index.js.map +1 -1
- package/dist/types/folders/types/classes.d.ts +26 -0
- package/dist/types/folders/types/classes.js +8 -0
- package/dist/types/folders/types/classes.js.map +1 -0
- package/dist/types/folders/types/consts.d.ts +2 -0
- package/dist/types/folders/types/consts.js +6 -0
- package/dist/types/folders/types/consts.js.map +1 -0
- package/dist/types/folders/types/enums.d.ts +11 -0
- package/dist/types/folders/types/enums.js +17 -0
- package/dist/types/folders/types/enums.js.map +1 -0
- package/dist/types/folders/types/index.d.ts +60 -0
- package/dist/types/folders/types/index.js +21 -0
- package/dist/types/folders/types/index.js.map +1 -0
- package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +9 -0
- package/dist/types/notifications/dto/backoffice.notify.dto.d.ts +2 -0
- package/dist/types/notifications/dto/backoffice.notify.dto.js +2 -2
- package/dist/types/notifications/dto/backoffice.notify.dto.js.map +1 -1
- package/dist/types/notifications/dto/notification.create.dto.d.ts +2 -2
- package/dist/types/notifications/dto/notification.create.dto.js +4 -4
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +3 -0
- package/dist/types/programs-seasons/types/interfaces/program-season.interfaces.d.ts +4 -0
- package/dist/types/resources/dto/resource.dto.d.ts +1 -0
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +14 -5
- package/dist/types/session-participants/dto/get.session.participant.dto.js +6 -3
- package/dist/types/session-participants/dto/get.session.participant.dto.js.map +1 -1
- package/dist/types/session-participants/dto/session.participant.dto.d.ts +6 -25
- package/dist/types/session-participants/dto/session.participant.dto.js +1 -4
- package/dist/types/session-participants/dto/session.participant.dto.js.map +1 -1
- package/dist/types/session-participants/types/classes.d.ts +29 -0
- package/dist/types/session-participants/types/classes.js +8 -0
- package/dist/types/session-participants/types/classes.js.map +1 -0
- package/dist/types/session-participants/types/consts.d.ts +4 -1
- package/dist/types/session-participants/types/consts.js +9 -2
- package/dist/types/session-participants/types/consts.js.map +1 -1
- package/dist/types/session-participants/types/enums.d.ts +4 -7
- package/dist/types/session-participants/types/enums.js +4 -8
- package/dist/types/session-participants/types/enums.js.map +1 -1
- package/dist/types/session-participants/types/index.d.ts +1 -0
- package/dist/types/session-participants/types/index.js +1 -0
- package/dist/types/session-participants/types/index.js.map +1 -1
- package/dist/types/session-participants/types/interfaces.d.ts +22 -8
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LineItems.js","sourceRoot":"","sources":["../../../src/types/entity/LineItems.ts"],"names":[],"mappings":";;;AA2BA,yFAAsF;AAItF,MAAa,SAAU,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"LineItems.js","sourceRoot":"","sources":["../../../src/types/entity/LineItems.ts"],"names":[],"mappings":";;;AA2BA,yFAAsF;AAItF,MAAa,SAAU,SAAQ,mEAAgC;CA4I9D;AA5ID,8BA4IC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"filters.dto.js","sourceRoot":"","sources":["../../../../src/types/filters/dto/filters.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AACxD,8EAA8E;AAE9E,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,aAAc,SAAQ,sCAAmB;CAErD;AAFD,sCAEC;AAED,MAAa,uBAAwB,SAAQ,uBAAuB;CAEnE;AAFD,0DAEC;AAED,MAAa,kBAAmB,SAAQ,uBAAuB;CAE9D;AAFD,gDAEC;AAED,MAAa,4BACZ,SAAQ,6BAAe;CAOvB;AARD,oEAQC;AAED,MAAa,SAAS;
|
1
|
+
{"version":3,"file":"filters.dto.js","sourceRoot":"","sources":["../../../../src/types/filters/dto/filters.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AACxD,8EAA8E;AAE9E,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,aAAc,SAAQ,sCAAmB;CAErD;AAFD,sCAEC;AAED,MAAa,uBAAwB,SAAQ,uBAAuB;CAEnE;AAFD,0DAEC;AAED,MAAa,kBAAmB,SAAQ,uBAAuB;CAE9D;AAFD,gDAEC;AAED,MAAa,4BACZ,SAAQ,6BAAe;CAOvB;AARD,oEAQC;AAED,MAAa,SAAS;CAkBrB;AAlBD,8BAkBC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,eAAe;CAY3B;AAZD,0CAYC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,eAAgB,SAAQ,uBAAuB;CAE3D;AAFD,0CAEC"}
|
@@ -1,7 +1,12 @@
|
|
1
1
|
import { ContentType, FolderContent } from '../entities/folder-content.entity';
|
2
|
-
import { Folder, ReferableType } from '../entities/folder.entity';
|
2
|
+
import { Folder, ReferableType, MetaType } from '../entities/folder.entity';
|
3
3
|
import { FolderInvite } from '../entities/folder-invite.entity';
|
4
4
|
import { PaginationQuery } from '../../dto/general.dto';
|
5
|
+
import { IGroupResponse } from '../types';
|
6
|
+
import { MediaDto } from '../../media/dto/media.dto';
|
7
|
+
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
8
|
+
import { CurrencyEnum, OrderByEnum } from '../../services/enums.service';
|
9
|
+
import { FolderSortColumn } from '../types/enums';
|
5
10
|
export declare class FolderByIdDto {
|
6
11
|
folderId: number;
|
7
12
|
}
|
@@ -9,13 +14,17 @@ export declare class FolderShowDto {
|
|
9
14
|
id: number;
|
10
15
|
name: string;
|
11
16
|
category?: string;
|
17
|
+
metaType?: MetaType;
|
12
18
|
organizationId?: number;
|
13
19
|
facilityId?: number;
|
14
20
|
referableType?: ReferableType;
|
15
21
|
referableId?: number;
|
16
22
|
mainMediaId?: number;
|
23
|
+
mainMediaUrl?: string;
|
17
24
|
createdAt?: Date;
|
18
25
|
updatedAt?: Date;
|
26
|
+
parentId?: number;
|
27
|
+
parentName?: string;
|
19
28
|
constructor(folder?: Folder);
|
20
29
|
}
|
21
30
|
export declare class CreateFolderDto {
|
@@ -26,16 +35,20 @@ export declare class CreateFolderDto {
|
|
26
35
|
facilityId?: number;
|
27
36
|
referableType?: ReferableType;
|
28
37
|
referableId?: number;
|
29
|
-
|
38
|
+
mainMedia?: MediaDto;
|
39
|
+
metaType?: MetaType;
|
30
40
|
}
|
31
41
|
export declare class UpdateFolderDto {
|
32
42
|
name?: string;
|
33
43
|
category?: string;
|
34
44
|
organizationId?: number;
|
35
45
|
mainMediaId?: number;
|
36
|
-
|
37
|
-
export declare class MoveFolderDto {
|
46
|
+
mainMedia?: MediaDto;
|
38
47
|
newParentFolderId?: number;
|
48
|
+
metaType?: MetaType;
|
49
|
+
}
|
50
|
+
export declare class DeleteFolderDto {
|
51
|
+
moveContentsToFolderId?: number;
|
39
52
|
}
|
40
53
|
export declare class AddContentDto {
|
41
54
|
contentType: ContentType;
|
@@ -54,6 +67,11 @@ export declare class GetFolderContentsDto extends PaginationQuery {
|
|
54
67
|
folderIds: number[];
|
55
68
|
contentTypes?: ContentType[];
|
56
69
|
}
|
70
|
+
export declare class FolderContentsMoveDto {
|
71
|
+
folderContentIds?: number[];
|
72
|
+
folderIds?: number[];
|
73
|
+
targetFolderId: number;
|
74
|
+
}
|
57
75
|
export declare class FolderInviteUuidDto {
|
58
76
|
uuid: string;
|
59
77
|
}
|
@@ -68,10 +86,35 @@ export declare class FolderInviteShowDto {
|
|
68
86
|
export declare class MoveFolderContentDto {
|
69
87
|
targetFolderId: number;
|
70
88
|
}
|
89
|
+
export declare class GetFolderByIdOptionsDto {
|
90
|
+
includeParent?: boolean;
|
91
|
+
}
|
71
92
|
export declare class GetFolderHierarchyDto {
|
72
93
|
referableType: ReferableType;
|
73
94
|
referableId: number;
|
74
95
|
depthLimit?: number;
|
96
|
+
excludeIds?: number[];
|
97
|
+
metaTypes?: MetaType[];
|
98
|
+
}
|
99
|
+
export declare class FolderAsGroupResponseDto implements IGroupResponse {
|
100
|
+
id: number;
|
101
|
+
waiversCount: number;
|
102
|
+
currentPaidAmount: number;
|
103
|
+
currentPaidCurrency?: CurrencyEnum;
|
104
|
+
fullPrice: number;
|
105
|
+
paymentStatus?: PaymentStatusEnum;
|
106
|
+
name: string;
|
107
|
+
category?: string;
|
108
|
+
organizationId: number;
|
109
|
+
facilityId: number;
|
110
|
+
referableType?: ReferableType;
|
111
|
+
referableId?: number;
|
112
|
+
mainMediaUrl?: string;
|
113
|
+
parentId: number;
|
114
|
+
parentName: string;
|
115
|
+
contentCount: number;
|
116
|
+
hasContents: boolean;
|
117
|
+
metaType: MetaType;
|
75
118
|
}
|
76
119
|
export declare class FolderHierarchyResponseDto {
|
77
120
|
id: number;
|
@@ -86,7 +129,37 @@ export declare class FolderHierarchyResponseDto {
|
|
86
129
|
mainMediaId?: number;
|
87
130
|
parent_id?: number;
|
88
131
|
depth: number;
|
132
|
+
/**
|
133
|
+
*
|
134
|
+
* Below is a visualization of the path property.
|
135
|
+
*
|
136
|
+
* Folder ID: 100 (Root)
|
137
|
+
* depth: 0
|
138
|
+
* path: [100]
|
139
|
+
*
|
140
|
+
* ├── Folder ID: 200
|
141
|
+
* │ depth: 1
|
142
|
+
* │ path: [100, 200]
|
143
|
+
* │
|
144
|
+
* │ ├── Folder ID: 201
|
145
|
+
* │ │ depth: 2
|
146
|
+
* │ │ path: [100, 200, 201]
|
147
|
+
* │ │
|
148
|
+
* │ └── Folder ID: 202
|
149
|
+
* │ depth: 2
|
150
|
+
* │ path: [100, 200, 202]
|
151
|
+
* │
|
152
|
+
* └── Folder ID: 300
|
153
|
+
* depth: 1
|
154
|
+
* path: [100, 300]
|
155
|
+
*
|
156
|
+
* └── Folder ID: 301
|
157
|
+
* depth: 2
|
158
|
+
* path: [100, 300, 301]
|
159
|
+
*
|
160
|
+
*/
|
89
161
|
path: number[];
|
162
|
+
metaType: MetaType;
|
90
163
|
}
|
91
164
|
/**
|
92
165
|
* DTO to get a flat list of all the folders for a given referer (eg. ProgramSeason).
|
@@ -99,6 +172,6 @@ export declare class FolderHierarchyResponseDto {
|
|
99
172
|
*
|
100
173
|
*/
|
101
174
|
export declare class GetFoldersDto extends GetFolderHierarchyDto {
|
102
|
-
sortColumn?:
|
103
|
-
sortOrder?:
|
175
|
+
sortColumn?: FolderSortColumn;
|
176
|
+
sortOrder?: OrderByEnum;
|
104
177
|
}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GetFoldersDto = exports.FolderHierarchyResponseDto = exports.GetFolderHierarchyDto = exports.MoveFolderContentDto = exports.FolderInviteShowDto = exports.FolderInviteUuidDto = exports.GetFolderContentsDto = exports.FolderContentShowDto = exports.FolderContentByIdDto = exports.AddContentDto = exports.
|
3
|
+
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.DeleteFolderDto = exports.UpdateFolderDto = exports.CreateFolderDto = exports.FolderShowDto = exports.FolderByIdDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
|
+
const enums_service_1 = require("../../services/enums.service");
|
6
|
+
const enums_1 = require("../types/enums");
|
5
7
|
class FolderByIdDto {
|
6
8
|
}
|
7
9
|
exports.FolderByIdDto = FolderByIdDto;
|
@@ -11,6 +13,7 @@ class FolderShowDto {
|
|
11
13
|
this.id = folder.id;
|
12
14
|
this.name = folder.name;
|
13
15
|
this.category = folder.category;
|
16
|
+
this.metaType = folder.metaType;
|
14
17
|
this.organizationId = folder.organizationId;
|
15
18
|
this.facilityId = folder.facilityId;
|
16
19
|
this.referableType = folder.referableType;
|
@@ -28,9 +31,9 @@ exports.CreateFolderDto = CreateFolderDto;
|
|
28
31
|
class UpdateFolderDto {
|
29
32
|
}
|
30
33
|
exports.UpdateFolderDto = UpdateFolderDto;
|
31
|
-
class
|
34
|
+
class DeleteFolderDto {
|
32
35
|
}
|
33
|
-
exports.
|
36
|
+
exports.DeleteFolderDto = DeleteFolderDto;
|
34
37
|
class AddContentDto {
|
35
38
|
}
|
36
39
|
exports.AddContentDto = AddContentDto;
|
@@ -50,6 +53,9 @@ exports.FolderContentShowDto = FolderContentShowDto;
|
|
50
53
|
class GetFolderContentsDto extends general_dto_1.PaginationQuery {
|
51
54
|
}
|
52
55
|
exports.GetFolderContentsDto = GetFolderContentsDto;
|
56
|
+
class FolderContentsMoveDto {
|
57
|
+
}
|
58
|
+
exports.FolderContentsMoveDto = FolderContentsMoveDto;
|
53
59
|
class FolderInviteUuidDto {
|
54
60
|
}
|
55
61
|
exports.FolderInviteUuidDto = FolderInviteUuidDto;
|
@@ -68,9 +74,15 @@ exports.FolderInviteShowDto = FolderInviteShowDto;
|
|
68
74
|
class MoveFolderContentDto {
|
69
75
|
}
|
70
76
|
exports.MoveFolderContentDto = MoveFolderContentDto;
|
77
|
+
class GetFolderByIdOptionsDto {
|
78
|
+
}
|
79
|
+
exports.GetFolderByIdOptionsDto = GetFolderByIdOptionsDto;
|
71
80
|
class GetFolderHierarchyDto {
|
72
81
|
}
|
73
82
|
exports.GetFolderHierarchyDto = GetFolderHierarchyDto;
|
83
|
+
class FolderAsGroupResponseDto {
|
84
|
+
}
|
85
|
+
exports.FolderAsGroupResponseDto = FolderAsGroupResponseDto;
|
74
86
|
class FolderHierarchyResponseDto {
|
75
87
|
}
|
76
88
|
exports.FolderHierarchyResponseDto = FolderHierarchyResponseDto;
|
@@ -87,8 +99,8 @@ exports.FolderHierarchyResponseDto = FolderHierarchyResponseDto;
|
|
87
99
|
class GetFoldersDto extends GetFolderHierarchyDto {
|
88
100
|
constructor() {
|
89
101
|
super(...arguments);
|
90
|
-
this.sortColumn =
|
91
|
-
this.sortOrder =
|
102
|
+
this.sortColumn = enums_1.FolderSortColumn.NAME;
|
103
|
+
this.sortOrder = enums_service_1.OrderByEnum.ASC;
|
92
104
|
}
|
93
105
|
}
|
94
106
|
exports.GetFoldersDto = GetFoldersDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"folder.dto.js","sourceRoot":"","sources":["../../../../src/types/folders/dto/folder.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;
|
1
|
+
{"version":3,"file":"folder.dto.js","sourceRoot":"","sources":["../../../../src/types/folders/dto/folder.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwD;AAIxD,gEAAyE;AACzE,0CAAkD;AAElD,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,aAAa;IA6BzB,YAAY,MAAe;QAC1B,IAAI,MAAM,EAAE;YACX,IAAI,CAAC,EAAE,GAAG,MAAM,CAAC,EAAE,CAAC;YACpB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;YACxB,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;YAChC,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;YAChC,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;YA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AC;YACxC,IAAI,CAAC,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC;SACxC;IACF,CAAC;CACD;AApBD,kDAoBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,wBAAwB;CAoCpC;AApCD,4DAoCC;AAED,MAAa,0BAA0B;CAyDtC;AAzDD,gEAyDC;AAED;;;;;;;;;GASG;AACH,MAAa,aAAc,SAAQ,qBAAqB;IAAxD;;QACC,eAAU,GAAsB,wBAAgB,CAAC,IAAI,CAAC;QAEtD,cAAS,GAAiB,2BAAW,CAAC,GAAG,CAAC;IAC3C,CAAC;CAAA;AAJD,sCAIC"}
|
@@ -7,6 +7,10 @@ import { Media } from '../../media/entities/Media';
|
|
7
7
|
export declare enum ReferableType {
|
8
8
|
PROGRAM_SEASON = 10
|
9
9
|
}
|
10
|
+
export declare enum MetaType {
|
11
|
+
UNSPECIFIED = 0,
|
12
|
+
GROUP = 1
|
13
|
+
}
|
10
14
|
export declare class Folder extends BondBaseEntity {
|
11
15
|
organizationId?: number;
|
12
16
|
organization?: Organization;
|
@@ -16,6 +20,7 @@ export declare class Folder extends BondBaseEntity {
|
|
16
20
|
referableId?: number;
|
17
21
|
name?: string;
|
18
22
|
category?: string;
|
23
|
+
metaType: MetaType;
|
19
24
|
mainMediaId?: number;
|
20
25
|
mainMedia?: Media;
|
21
26
|
contents: FolderContent[];
|
@@ -1,11 +1,22 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Folder = exports.ReferableType = void 0;
|
3
|
+
exports.Folder = exports.MetaType = exports.ReferableType = void 0;
|
4
4
|
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
5
|
+
// TODO: Dan - enum should be in a separate file
|
6
|
+
// TODO: Dan - enum value should be a string for better readability
|
7
|
+
// TODO: Dan - enum should end with "Enum"
|
5
8
|
var ReferableType;
|
6
9
|
(function (ReferableType) {
|
7
10
|
ReferableType[ReferableType["PROGRAM_SEASON"] = 10] = "PROGRAM_SEASON";
|
8
11
|
})(ReferableType = exports.ReferableType || (exports.ReferableType = {}));
|
12
|
+
// The Folder module considers MetaType an opaque value.
|
13
|
+
// It is passed around and enabled in various queries, but otherwise has no affect on the Folder module's behavior.
|
14
|
+
// Consumers may extend this enum as needed.
|
15
|
+
var MetaType;
|
16
|
+
(function (MetaType) {
|
17
|
+
MetaType[MetaType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
18
|
+
MetaType[MetaType["GROUP"] = 1] = "GROUP";
|
19
|
+
})(MetaType = exports.MetaType || (exports.MetaType = {}));
|
9
20
|
class Folder extends BondBaseEntity_1.BondBaseEntity {
|
10
21
|
}
|
11
22
|
exports.Folder = Folder;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"folder.entity.js","sourceRoot":"","sources":["../../../../src/types/folders/entities/folder.entity.ts"],"names":[],"mappings":";;;AAKA,gEAA6D;AAG7D,IAAY,aAEX;AAFD,WAAY,aAAa;IACxB,sEAAmB,CAAA;AACpB,CAAC,EAFW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAExB;AAED,MAAa,MAAO,SAAQ,+BAAc;
|
1
|
+
{"version":3,"file":"folder.entity.js","sourceRoot":"","sources":["../../../../src/types/folders/entities/folder.entity.ts"],"names":[],"mappings":";;;AAKA,gEAA6D;AAG7D,gDAAgD;AAChD,mEAAmE;AACnE,0CAA0C;AAC1C,IAAY,aAEX;AAFD,WAAY,aAAa;IACxB,sEAAmB,CAAA;AACpB,CAAC,EAFW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAExB;AAED,wDAAwD;AACxD,mHAAmH;AACnH,4CAA4C;AAC5C,IAAY,QAGX;AAHD,WAAY,QAAQ;IACnB,qDAAe,CAAA;IACf,yCAAS,CAAA;AACV,CAAC,EAHW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAGnB;AAED,MAAa,MAAO,SAAQ,+BAAc;CA8BzC;AA9BD,wBA8BC"}
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./dto"), exports);
|
18
18
|
__exportStar(require("./entities"), exports);
|
19
|
+
__exportStar(require("./types"), exports);
|
19
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/folders/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/folders/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { ReferableType, Folder } from '../entities/folder.entity';
|
2
|
+
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
3
|
+
import { CurrencyEnum } from '../../services/enums.service';
|
4
|
+
import { MetaType } from '../entities/folder.entity';
|
5
|
+
import { IRawFolderAsGroup } from './index';
|
6
|
+
export declare class RawFolderAsGroup extends Folder implements IRawFolderAsGroup {
|
7
|
+
id: number;
|
8
|
+
name: string;
|
9
|
+
fullPrice: number;
|
10
|
+
currentPaidAmount: number;
|
11
|
+
paymentStatuses?: PaymentStatusEnum[];
|
12
|
+
category?: string;
|
13
|
+
organizationId: number;
|
14
|
+
facilityId: number;
|
15
|
+
referableType?: ReferableType;
|
16
|
+
referableId?: number;
|
17
|
+
mainMediaUrl?: string;
|
18
|
+
parentId: number;
|
19
|
+
parentName: string;
|
20
|
+
waiversCount: number;
|
21
|
+
contentCount: number;
|
22
|
+
hasContents: boolean;
|
23
|
+
currentPaidCurrencies?: CurrencyEnum[];
|
24
|
+
metaType: MetaType;
|
25
|
+
lineItemIds?: number[];
|
26
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.RawFolderAsGroup = void 0;
|
4
|
+
const folder_entity_1 = require("../entities/folder.entity");
|
5
|
+
class RawFolderAsGroup extends folder_entity_1.Folder {
|
6
|
+
}
|
7
|
+
exports.RawFolderAsGroup = RawFolderAsGroup;
|
8
|
+
//# sourceMappingURL=classes.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"classes.js","sourceRoot":"","sources":["../../../../src/types/folders/types/classes.ts"],"names":[],"mappings":";;;AAAA,6DAAkE;AAMlE,MAAa,gBAAiB,SAAQ,sBAAM;CAsC3C;AAtCD,4CAsCC"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DEFAULT_FOLDER_DEPTH_LIMIT = exports.DEFAULT_FOLDER_RELATIONS = void 0;
|
4
|
+
exports.DEFAULT_FOLDER_RELATIONS = ['contents', 'invites', 'mainMedia'];
|
5
|
+
exports.DEFAULT_FOLDER_DEPTH_LIMIT = 10;
|
6
|
+
//# sourceMappingURL=consts.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/types/folders/types/consts.ts"],"names":[],"mappings":";;;AAEa,QAAA,wBAAwB,GAAG,CAAC,UAAU,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;AAChE,QAAA,0BAA0B,GAAG,EAAE,CAAC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare enum GroupsSortByFieldsEnum {
|
2
|
+
NAME = "name",
|
3
|
+
PARENT_NAME = "parentName",
|
4
|
+
CONTENT_COUNT = "contentCount",
|
5
|
+
WAIVERS_COUNT = "waiversCount",
|
6
|
+
PAID_AMOUNT = "paidAmount"
|
7
|
+
}
|
8
|
+
export declare enum FolderSortColumn {
|
9
|
+
NAME = "name",
|
10
|
+
CATEGORY = "category"
|
11
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FolderSortColumn = exports.GroupsSortByFieldsEnum = void 0;
|
4
|
+
var GroupsSortByFieldsEnum;
|
5
|
+
(function (GroupsSortByFieldsEnum) {
|
6
|
+
GroupsSortByFieldsEnum["NAME"] = "name";
|
7
|
+
GroupsSortByFieldsEnum["PARENT_NAME"] = "parentName";
|
8
|
+
GroupsSortByFieldsEnum["CONTENT_COUNT"] = "contentCount";
|
9
|
+
GroupsSortByFieldsEnum["WAIVERS_COUNT"] = "waiversCount";
|
10
|
+
GroupsSortByFieldsEnum["PAID_AMOUNT"] = "paidAmount";
|
11
|
+
})(GroupsSortByFieldsEnum = exports.GroupsSortByFieldsEnum || (exports.GroupsSortByFieldsEnum = {}));
|
12
|
+
var FolderSortColumn;
|
13
|
+
(function (FolderSortColumn) {
|
14
|
+
FolderSortColumn["NAME"] = "name";
|
15
|
+
FolderSortColumn["CATEGORY"] = "category";
|
16
|
+
})(FolderSortColumn = exports.FolderSortColumn || (exports.FolderSortColumn = {}));
|
17
|
+
//# sourceMappingURL=enums.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/folders/types/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,gBAGX;AAHD,WAAY,gBAAgB;IAC3B,iCAAa,CAAA;IACb,yCAAqB,CAAA;AACtB,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B"}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { Folder, MetaType, ReferableType } from '../entities/folder.entity';
|
2
|
+
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
3
|
+
import { CurrencyEnum } from '../../services/enums.service';
|
4
|
+
import { FolderContent } from '../entities/folder-content.entity';
|
5
|
+
export interface IRawFolderAsGroup extends Folder {
|
6
|
+
id: number;
|
7
|
+
name: string;
|
8
|
+
fullPrice: number;
|
9
|
+
currentPaidAmount: number;
|
10
|
+
currentPaidCurrencies?: CurrencyEnum[];
|
11
|
+
paymentStatuses?: PaymentStatusEnum[];
|
12
|
+
category?: string;
|
13
|
+
organizationId: number;
|
14
|
+
facilityId: number;
|
15
|
+
referableType?: ReferableType;
|
16
|
+
referableId?: number;
|
17
|
+
mainMediaUrl?: string;
|
18
|
+
parentId: number;
|
19
|
+
parentName: string;
|
20
|
+
waiversCount: number;
|
21
|
+
contentCount: number;
|
22
|
+
hasContents: boolean;
|
23
|
+
metaType: MetaType;
|
24
|
+
lineItemIds?: number[];
|
25
|
+
}
|
26
|
+
export interface IGroupResponse {
|
27
|
+
id: number;
|
28
|
+
name: string;
|
29
|
+
fullPrice: number;
|
30
|
+
currentPaidAmount: number;
|
31
|
+
currentPaidCurrency?: CurrencyEnum;
|
32
|
+
paymentStatus?: PaymentStatusEnum;
|
33
|
+
category?: string;
|
34
|
+
organizationId: number;
|
35
|
+
facilityId: number;
|
36
|
+
referableType?: ReferableType;
|
37
|
+
referableId?: number;
|
38
|
+
mainMediaUrl?: string;
|
39
|
+
parentId: number;
|
40
|
+
parentName: string;
|
41
|
+
waiversCount: number;
|
42
|
+
contentCount: number;
|
43
|
+
hasContents: boolean;
|
44
|
+
metaType: MetaType;
|
45
|
+
}
|
46
|
+
export interface IContentsAndContentIds {
|
47
|
+
contents: FolderContent[];
|
48
|
+
folderContentIds: number[];
|
49
|
+
}
|
50
|
+
export interface IFolderWithOptionalParent {
|
51
|
+
folder: Folder;
|
52
|
+
parentFolder?: Folder;
|
53
|
+
}
|
54
|
+
export interface IFolderCategory {
|
55
|
+
category_name: string;
|
56
|
+
}
|
57
|
+
export * from './classes';
|
58
|
+
export * from './consts';
|
59
|
+
export * from './enums';
|
60
|
+
export * from './index';
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./classes"), exports);
|
18
|
+
__exportStar(require("./consts"), exports);
|
19
|
+
__exportStar(require("./enums"), exports);
|
20
|
+
__exportStar(require("./index"), exports);
|
21
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/folders/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AA6DA,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB"}
|
@@ -1,7 +1,16 @@
|
|
1
|
+
import { LineItems } from '../../../entity/LineItems';
|
1
2
|
import { PaymentStatusEnum } from '../../../payment/types/enums/payment.enums';
|
2
3
|
import { ProductTypesEnum } from '../../../services/enums.service';
|
3
4
|
export interface ILineItemOptions {
|
4
5
|
productTypes?: ProductTypesEnum[];
|
5
6
|
paymentStatuses?: PaymentStatusEnum[];
|
7
|
+
hideChildrenAddonLineItems?: boolean;
|
6
8
|
displayExpired?: boolean;
|
7
9
|
}
|
10
|
+
export interface ISetParentLineItemsTotalPrices {
|
11
|
+
lineItemsMap: Map<number, LineItems>;
|
12
|
+
parentLineItems?: LineItems[];
|
13
|
+
}
|
14
|
+
export interface ILineItemDescendantIds {
|
15
|
+
descendantIds: number[];
|
16
|
+
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { NotificationClassification } from '@bondsports/notifications-sdk';
|
1
2
|
export declare class BaseNotificationDto {
|
2
3
|
organizationId: number;
|
3
4
|
facilityId: number;
|
@@ -9,4 +10,5 @@ export declare class BaseNotificationDto {
|
|
9
10
|
subject: string;
|
10
11
|
bodyHtml: string;
|
11
12
|
enrichWithLogo: boolean;
|
13
|
+
classification?: NotificationClassification;
|
12
14
|
}
|
@@ -1,4 +1,6 @@
|
|
1
1
|
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BaseNotificationDto = void 0;
|
2
4
|
/*
|
3
5
|
*
|
4
6
|
* Backoffice UI sends notifications requests to apiv2 with DTOs based on BaseNotificationDto.
|
@@ -8,8 +10,6 @@
|
|
8
10
|
* - ProgramsSeasons controller has endpoints to send notifications to attendees using it's own subclass DTOs.
|
9
11
|
* - NotificationBlasts controller has endpoints to send notifications to recipients using segment-building query DTOs that subclass this.
|
10
12
|
*/
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.BaseNotificationDto = void 0;
|
13
13
|
/* Common properties for all Notifications coming from UI */
|
14
14
|
class BaseNotificationDto {
|
15
15
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"backoffice.notify.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/backoffice.notify.dto.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"backoffice.notify.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/backoffice.notify.dto.ts"],"names":[],"mappings":";;;AACA;;;;;;;;GAQG;AAEH,4DAA4D;AAC5D,MAAa,mBAAmB;CA0B/B;AA1BD,kDA0BC"}
|
@@ -44,12 +44,12 @@ export declare class NotificationCreateDto implements INotificationCreateDto {
|
|
44
44
|
/**
|
45
45
|
* Use NotificationCreateDto.emailTemplate(...) instead.
|
46
46
|
*/
|
47
|
-
static sendgridTemplate(toEmailAddress: string, dynamicTemplateData: any, sendingUserId: number, sendingOrganizationId?: number, sendingFacilityId?: number): NotificationCreateDto;
|
47
|
+
static sendgridTemplate(toEmailAddress: string, dynamicTemplateData: any, sendingUserId: number, sendingOrganizationId?: number, sendingFacilityId?: number, fromDisplayName?: string): NotificationCreateDto;
|
48
48
|
/**
|
49
49
|
* Send an email notification using a templateKey and dynamic data.
|
50
50
|
*
|
51
51
|
* (Added for convenience; Not part of NotificationsService object definitions.)
|
52
52
|
*
|
53
53
|
*/
|
54
|
-
static emailTemplate(toEmailAddress: string, templateKey: string, dynamicTemplateData: any, sendingUserId: number, sendingOrganizationId?: number, sendingFacilityId?: number): NotificationCreateDto;
|
54
|
+
static emailTemplate(toEmailAddress: string, templateKey: string, dynamicTemplateData: any, sendingUserId: number, sendingOrganizationId?: number, sendingFacilityId?: number, fromDisplayName?: string): NotificationCreateDto;
|
55
55
|
}
|
@@ -62,11 +62,11 @@ class NotificationCreateDto {
|
|
62
62
|
/**
|
63
63
|
* Use NotificationCreateDto.emailTemplate(...) instead.
|
64
64
|
*/
|
65
|
-
static sendgridTemplate(toEmailAddress, dynamicTemplateData, sendingUserId, sendingOrganizationId, sendingFacilityId) {
|
65
|
+
static sendgridTemplate(toEmailAddress, dynamicTemplateData, sendingUserId, sendingOrganizationId, sendingFacilityId, fromDisplayName) {
|
66
66
|
const note = new NotificationCreateDto();
|
67
67
|
note.channel = notifications_sdk_1.NotificationDeliveryChannel.EMAIL;
|
68
68
|
note.classification = notifications_sdk_1.NotificationClassification.TRANSACTIONAL;
|
69
|
-
note.sender = new SenderDto(sendingUserId, sendingOrganizationId, sendingFacilityId);
|
69
|
+
note.sender = new SenderDto(sendingUserId, sendingOrganizationId, sendingFacilityId, null, fromDisplayName);
|
70
70
|
note.recipients = [RecipientsDto.to(toEmailAddress)];
|
71
71
|
// there is no Content object when using a sendgrid template, it's the template and dynamic data:
|
72
72
|
note.deliveryPayload = {
|
@@ -81,11 +81,11 @@ class NotificationCreateDto {
|
|
81
81
|
* (Added for convenience; Not part of NotificationsService object definitions.)
|
82
82
|
*
|
83
83
|
*/
|
84
|
-
static emailTemplate(toEmailAddress, templateKey, dynamicTemplateData, sendingUserId, sendingOrganizationId, sendingFacilityId) {
|
84
|
+
static emailTemplate(toEmailAddress, templateKey, dynamicTemplateData, sendingUserId, sendingOrganizationId, sendingFacilityId, fromDisplayName) {
|
85
85
|
const note = new NotificationCreateDto();
|
86
86
|
note.channel = notifications_sdk_1.NotificationDeliveryChannel.EMAIL;
|
87
87
|
note.classification = notifications_sdk_1.NotificationClassification.TRANSACTIONAL;
|
88
|
-
note.sender = new SenderDto(sendingUserId, sendingOrganizationId, sendingFacilityId);
|
88
|
+
note.sender = new SenderDto(sendingUserId, sendingOrganizationId, sendingFacilityId, null, fromDisplayName);
|
89
89
|
note.recipients = [RecipientsDto.to(toEmailAddress)];
|
90
90
|
// there is no Content object when using an email template, it's the templateKey and dynamic data to be interpolated:
|
91
91
|
note.deliveryPayload = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"notification.create.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.create.dto.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,qEAOuC;AAEvC,0EAA0E;AAE1E,2CAA2C;AAC3C,6CAA6C;AAE7C,MAAa,SAAS;IAcrB,yBAAyB;IACzB,uDAAuD;IACvD,YACC,MAAc,EACd,cAAuB,EACvB,UAAmB,EACnB,OAAgB,EAChB,eAAwB;QAExB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IACxC,CAAC;;AA5BF,8BA6BC;AA5BA,0GAA0G;AACnG,yBAAe,GAAG,CAAC,EAAE,CAAC;AA6B9B,MAAa,aAAa;IAYzB,yBAAyB;IACzB,uDAAuD;IACvD,MAAM,CAAC,EAAE,CAAC,EAAW;QACpB,MAAM,CAAC,GAAG,IAAI,aAAa,EAAE,CAAC;QAC9B,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACtB,OAAO,CAAC,CAAC;IACV,CAAC;IAED,YAAY,EAAa,EAAE,EAAa,EAAE,GAAc;QACvD,IAAI,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;QACnB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IAChB,CAAC;CACD;AAzBD,sCAyBC;AAED,MAAa,UAAU;IAStB,yBAAyB;IACzB,uDAAuD;IACvD,YAAY,OAAgB,EAAE,QAAiB,EAAE,QAAiB;QACjE,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACxB,CAAC;CACD;AAhBD,gCAgBC;AAED,MAAa,qBAAqB;IAAlC;QAGC,mBAAc,GAAgC,8CAA0B,CAAC,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"notification.create.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.create.dto.ts"],"names":[],"mappings":";AAAA;;;;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rH,IAAI,CAAC,eAAe,GAAG;YACtB,qFAAqF;YACrF,WAAW,EAAE,WAAW;YACxB,mBAAmB,EAAE,mBAAmB,EAAE,2DAA2D;SACrG,CAAC;QACF,OAAO,IAAI,CAAC;IACb,CAAC;CACD;AAvED,sDAuEC"}
|
@@ -64,6 +64,9 @@ export interface IBuildInvoiceTreeOptions {
|
|
64
64
|
childrenAsParents?: boolean;
|
65
65
|
extraRelations?: string[];
|
66
66
|
}
|
67
|
+
export interface ICalculateLineItemsOptions {
|
68
|
+
skipProductValidation?: boolean;
|
69
|
+
}
|
67
70
|
export interface ISplitedLineItems {
|
68
71
|
childLineItems: LineItems[];
|
69
72
|
parentLineItems: LineItems[];
|
@@ -47,6 +47,10 @@ export interface IGetProgramSeasonChildrenFilters<T extends BondBaseEntity> {
|
|
47
47
|
orderBy?: keyof T;
|
48
48
|
order?: OrderByEnum;
|
49
49
|
}
|
50
|
+
export interface IGetGroupOptions {
|
51
|
+
includeGroupFields?: boolean;
|
52
|
+
includeSubFolders?: boolean;
|
53
|
+
}
|
50
54
|
export interface IGetProgramSeasonsChildrenOptions extends IPagination {
|
51
55
|
includeResources?: boolean;
|
52
56
|
}
|