@bigfootai/bigfoot-types 2.7.4 → 2.7.6
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/model.js +2 -3
- package/model.ts +16 -7
- package/package.json +1 -1
package/model.js
CHANGED
|
@@ -232,12 +232,11 @@ var ResponseStatus;
|
|
|
232
232
|
ResponseStatus["Accepted"] = "accepted";
|
|
233
233
|
})(ResponseStatus || (exports.ResponseStatus = ResponseStatus = {}));
|
|
234
234
|
class Event extends BusinessObject {
|
|
235
|
-
constructor(provider, uri, externalId, externalResponse, calendarId, status,
|
|
235
|
+
constructor(provider, uri, externalId, externalResponse, calendarId, status, dateStart, organizedBy) {
|
|
236
236
|
super(provider, uri, externalId, BusinessObjectType.Event, externalResponse);
|
|
237
237
|
this.calendarId = calendarId;
|
|
238
238
|
this.status = status;
|
|
239
|
-
this.
|
|
240
|
-
this.startDate = startDate;
|
|
239
|
+
this.dateStart = dateStart;
|
|
241
240
|
this.organizedBy = organizedBy;
|
|
242
241
|
}
|
|
243
242
|
}
|
package/model.ts
CHANGED
|
@@ -549,15 +549,26 @@ export interface Attachment {
|
|
|
549
549
|
title?: string | null;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
|
+
export interface CalendarFilter {
|
|
553
|
+
dateStart?: number;
|
|
554
|
+
dateEnd?: number;
|
|
555
|
+
limit: number;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export interface CalendarRequest {
|
|
559
|
+
filter: CalendarFilter;
|
|
560
|
+
credential: Credential;
|
|
561
|
+
}
|
|
562
|
+
|
|
552
563
|
export class Event extends BusinessObject {
|
|
553
564
|
calendarId: string;
|
|
554
565
|
status: EventStatus;
|
|
555
|
-
|
|
566
|
+
dateStart: number;
|
|
556
567
|
organizedBy: PersonReference;
|
|
557
568
|
location?: string | null;
|
|
558
|
-
|
|
569
|
+
dateStartOriginal?: number | null;
|
|
559
570
|
recurrence?: RecurrenceRFC[] | null;
|
|
560
|
-
|
|
571
|
+
dateEnd?: number | null;
|
|
561
572
|
subject?: string | null;
|
|
562
573
|
description?: string | null;
|
|
563
574
|
attendees?: PersonAcceptance[] | null;
|
|
@@ -571,8 +582,7 @@ export class Event extends BusinessObject {
|
|
|
571
582
|
externalResponse: any,
|
|
572
583
|
calendarId: string,
|
|
573
584
|
status: EventStatus,
|
|
574
|
-
|
|
575
|
-
startDate: number,
|
|
585
|
+
dateStart: number,
|
|
576
586
|
organizedBy: PersonReference
|
|
577
587
|
) {
|
|
578
588
|
super(
|
|
@@ -585,8 +595,7 @@ export class Event extends BusinessObject {
|
|
|
585
595
|
|
|
586
596
|
this.calendarId = calendarId;
|
|
587
597
|
this.status = status;
|
|
588
|
-
this.
|
|
589
|
-
this.startDate = startDate;
|
|
598
|
+
this.dateStart = dateStart;
|
|
590
599
|
this.organizedBy = organizedBy;
|
|
591
600
|
}
|
|
592
601
|
}
|