@bondsports/types 2.0.80 → 2.0.82
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/communication/types/enums/slack.enums.js.map +1 -1
- package/dist/types/notifications/dto/notification.create.dto.d.ts +4 -2
- package/dist/types/notifications/dto/notification.create.dto.js +13 -1
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +12 -0
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +4 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slack.enums.js","sourceRoot":"","sources":["../../../../../src/types/communication/types/enums/slack.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAcX;AAdD,WAAY,cAAc;
|
|
1
|
+
{"version":3,"file":"slack.enums.js","sourceRoot":"","sources":["../../../../../src/types/communication/types/enums/slack.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAcX;AAdD,WAAY,cAAc;IACzB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,+CAA6B,CAAA;IAC7B,gDAA8B,CAAA;IAC9B,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;IACzB,uCAAqB,CAAA;IACrB,+BAAa,CAAA;IACb,+BAAa,CAAA;IACb,+CAA6B,CAAA;IAC7B,mCAAiB,CAAA;IACjB,mCAAiB,CAAA;IACjB,6CAA2B,CAAA;AAC5B,CAAC,EAdW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAczB"}
|
|
@@ -22,12 +22,14 @@ export declare class RecipientsDto {
|
|
|
22
22
|
to: string[];
|
|
23
23
|
cc?: string[];
|
|
24
24
|
bcc?: string[];
|
|
25
|
-
static to(to
|
|
25
|
+
static to(to?: string): RecipientsDto;
|
|
26
|
+
constructor(to?: string[], cc?: string[], bcc?: string[]);
|
|
26
27
|
}
|
|
27
28
|
export declare class ContentDto {
|
|
28
|
-
bodyText
|
|
29
|
+
bodyText?: string;
|
|
29
30
|
bodyHtml?: string;
|
|
30
31
|
subject?: string;
|
|
32
|
+
constructor(subject?: string, bodyHtml?: string, bodyText?: string);
|
|
31
33
|
}
|
|
32
34
|
export declare class NotificationCreateDto {
|
|
33
35
|
channel: NotificationDeliveryChannel;
|
|
@@ -34,12 +34,24 @@ class RecipientsDto {
|
|
|
34
34
|
// Not part of NotificationsService object definitions.
|
|
35
35
|
static to(to) {
|
|
36
36
|
const r = new RecipientsDto();
|
|
37
|
-
r.to = [to];
|
|
37
|
+
r.to = to ? [to] : [];
|
|
38
38
|
return r;
|
|
39
39
|
}
|
|
40
|
+
constructor(to, cc, bcc) {
|
|
41
|
+
this.to = to || [];
|
|
42
|
+
this.cc = cc;
|
|
43
|
+
this.bcc = bcc;
|
|
44
|
+
}
|
|
40
45
|
}
|
|
41
46
|
exports.RecipientsDto = RecipientsDto;
|
|
42
47
|
class ContentDto {
|
|
48
|
+
// Added for convenience.
|
|
49
|
+
// Not part of NotificationsService object definitions.
|
|
50
|
+
constructor(subject, bodyHtml, bodyText) {
|
|
51
|
+
this.bodyText = bodyText;
|
|
52
|
+
this.bodyHtml = bodyHtml;
|
|
53
|
+
this.subject = subject;
|
|
54
|
+
}
|
|
43
55
|
}
|
|
44
56
|
exports.ContentDto = ContentDto;
|
|
45
57
|
class NotificationCreateDto {
|
|
@@ -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,0EAAgF;AAEhF,0EAA0E;AAE1E,2CAA2C;AAC3C,6CAA6C;AAE7C,MAAa,SAAS;IAYrB,yBAAyB;IACzB,uDAAuD;IACvD,YAAY,MAAc,EAAE,cAAuB,EAAE,UAAmB,EAAE,OAAgB;QACzF,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;IACxB,CAAC;;AAnBF,8BAoBC;AAnBA,0GAA0G;AACnG,yBAAe,GAAG,CAAC,EAAE,CAAC;AAoB9B,MAAa,aAAa;IAUzB,yBAAyB;IACzB,uDAAuD;IACvD,MAAM,CAAC,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"notification.create.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.create.dto.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,0EAAgF;AAEhF,0EAA0E;AAE1E,2CAA2C;AAC3C,6CAA6C;AAE7C,MAAa,SAAS;IAYrB,yBAAyB;IACzB,uDAAuD;IACvD,YAAY,MAAc,EAAE,cAAuB,EAAE,UAAmB,EAAE,OAAgB;QACzF,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;IACxB,CAAC;;AAnBF,8BAoBC;AAnBA,0GAA0G;AACnG,yBAAe,GAAG,CAAC,EAAE,CAAC;AAoB9B,MAAa,aAAa;IAUzB,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;AAvBD,sCAuBC;AAED,MAAa,UAAU;IAOtB,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;AAdD,gCAcC;AAED,MAAa,qBAAqB;IAiBjC,yBAAyB;IACzB,uDAAuD;IACvD,MAAM,CAAC,gBAAgB,CACtB,cAAsB,EACtB,mBAAwB,EACxB,aAAqB,EACrB,qBAA8B,EAC9B,iBAA0B;QAE1B,MAAM,IAAI,GAAG,IAAI,qBAAqB,EAAE,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,gDAA2B,CAAC,KAAK,CAAC;QACjD,IAAI,CAAC,MAAM,GAAG,IAAI,SAAS,CAAC,aAAa,EAAE,qBAAqB,EAAE,iBAAiB,CAAC,CAAC;QACrF,IAAI,CAAC,UAAU,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;QACrD,iGAAiG;QACjG,IAAI,CAAC,eAAe,GAAG;YACtB,wGAAwG;YACxG,mBAAmB,EAAE,mBAAmB;SACxC,CAAC;QACF,OAAO,IAAI,CAAC;IACb,CAAC;CACD;AArCD,sDAqCC"}
|
|
@@ -226,3 +226,15 @@ export declare class EventsAndConflictsDto {
|
|
|
226
226
|
conflicts: TimeSlotConflicts[];
|
|
227
227
|
meta: PaginationMetaDto;
|
|
228
228
|
}
|
|
229
|
+
export declare class NotifyEventAttendeesDto {
|
|
230
|
+
organizationId: number;
|
|
231
|
+
facilityId: number;
|
|
232
|
+
replyTo?: string;
|
|
233
|
+
toEventIds: number[];
|
|
234
|
+
toEmails?: string[];
|
|
235
|
+
ccEmails?: string[];
|
|
236
|
+
bccEmails?: string[];
|
|
237
|
+
subject: string;
|
|
238
|
+
bodyHtml: string;
|
|
239
|
+
enrichWithLogo: boolean;
|
|
240
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EventsAndConflictsDto = exports.UpdateProgramSeasonOptionsDto = exports.UpdateProgramSeasonColorsDto = exports.MoveParticipantDto = exports.RegistrationSettingsDto = exports.RegistrationDatesDto = exports.UpdateSeasonRegistrationDatesDto = exports.MoveAttendeeDto = exports.UpdateSeasonDatesDto = exports.SpaceAllocationsByTimesDto = exports.SingleSpaceAllocationByTimesDto = exports.BulkSpaceResourceAllocationDto = exports.SpaceResourcePairDto = exports.SimpleSessionDto = exports.ShallowUpdateSubSeasonDto = exports.ShallowUpdateProgramSeasonDto = exports.UpdateProgramSeasonStatusDto = exports.UpdateProgramSeasonDto = exports.CreateProgramSeasonDto = exports.SubSeasonBasicInfo = exports.CreateSessionScheduleDto = exports.BaseProgramSeasonDto = exports.ActivityTimesDto = exports.BlockedDatesDto = exports.FindRegisteredUsersOptionsDto = exports.FindRegisteredUserDto = exports.DeleteProductDto = exports.FindSessionEventByIdDto = exports.ByOrganizationIdAndProgramSeasonIdDto = exports.FindSeasonEventsQueryDto = exports.SegmentsBySessionQueryDto = exports.FindProgramSeasonByIdDto = exports.FindProgramSeasonByIdQueryDto = exports.DeleteEventAttendeesDto = exports.BySeasonDto = exports.FindSessionsFiltersDto = void 0;
|
|
3
|
+
exports.NotifyEventAttendeesDto = exports.EventsAndConflictsDto = exports.UpdateProgramSeasonOptionsDto = exports.UpdateProgramSeasonColorsDto = exports.MoveParticipantDto = exports.RegistrationSettingsDto = exports.RegistrationDatesDto = exports.UpdateSeasonRegistrationDatesDto = exports.MoveAttendeeDto = exports.UpdateSeasonDatesDto = exports.SpaceAllocationsByTimesDto = exports.SingleSpaceAllocationByTimesDto = exports.BulkSpaceResourceAllocationDto = exports.SpaceResourcePairDto = exports.SimpleSessionDto = exports.ShallowUpdateSubSeasonDto = exports.ShallowUpdateProgramSeasonDto = exports.UpdateProgramSeasonStatusDto = exports.UpdateProgramSeasonDto = exports.CreateProgramSeasonDto = exports.SubSeasonBasicInfo = exports.CreateSessionScheduleDto = exports.BaseProgramSeasonDto = exports.ActivityTimesDto = exports.BlockedDatesDto = exports.FindRegisteredUsersOptionsDto = exports.FindRegisteredUserDto = exports.DeleteProductDto = exports.FindSessionEventByIdDto = exports.ByOrganizationIdAndProgramSeasonIdDto = exports.FindSeasonEventsQueryDto = exports.SegmentsBySessionQueryDto = exports.FindProgramSeasonByIdDto = exports.FindProgramSeasonByIdQueryDto = exports.DeleteEventAttendeesDto = exports.BySeasonDto = exports.FindSessionsFiltersDto = 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
|
const program_dto_1 = require("../../programs/dto/program.dto");
|
|
@@ -112,4 +112,7 @@ exports.UpdateProgramSeasonOptionsDto = UpdateProgramSeasonOptionsDto;
|
|
|
112
112
|
class EventsAndConflictsDto {
|
|
113
113
|
}
|
|
114
114
|
exports.EventsAndConflictsDto = EventsAndConflictsDto;
|
|
115
|
+
class NotifyEventAttendeesDto {
|
|
116
|
+
}
|
|
117
|
+
exports.NotifyEventAttendeesDto = NotifyEventAttendeesDto;
|
|
115
118
|
//# sourceMappingURL=program-seasons.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAyF;AACzF,8EAAyG;AACzG,gEAAuF;AAkBvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAE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C;AAFD,4EAEC;AAED,MAAa,oBAAoB;CAShC;AATD,oDASC;AAED,MAAa,uBAAwB,SAAQ,oBAAoB;CAUhE;AAVD,0DAUC;AAED,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,6BAA8B,SAAQ,qCAAuB;CAAG;AAA7E,sEAA6E;AAE7E,MAAa,qBAAqB;CAMjC;AAND,sDAMC"}
|
|
1
|
+
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAyF;AACzF,8EAAyG;AACzG,gEAAuF;AAkBvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AACD,MAAa,wBAAyB,SAAQ,6BAAe;CAU5D;AAVD,4DAUC;AAED,MAAa,qCAAsC,SAAQ,sCAAmB;CAE7E;AAFD,sFAEC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,qBAAsB,SAAQ,wBAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,6BAA8B,SAAQ,6BAAe;CAMjE;AAND,sEAMC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,oBAAoB;CA8EhC;AA9ED,oDA8EC;AAED,MAAa,wBAAwB;CAMpC;AAND,4DAMC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;C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