@bigfootai/bigfoot-types 2.7.5 → 2.7.7
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 +21 -5
- 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,31 @@ 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
|
+
providerInfo: ProviderInfo;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export interface CalendarProviderRequest {
|
|
564
|
+
filter: CalendarFilter;
|
|
565
|
+
credential: Credential;
|
|
566
|
+
}
|
|
567
|
+
|
|
552
568
|
export class Event extends BusinessObject {
|
|
553
569
|
calendarId: string;
|
|
554
570
|
status: EventStatus;
|
|
555
|
-
|
|
571
|
+
dateStart: number;
|
|
556
572
|
organizedBy: PersonReference;
|
|
557
573
|
location?: string | null;
|
|
558
|
-
|
|
574
|
+
dateStartOriginal?: number | null;
|
|
559
575
|
recurrence?: RecurrenceRFC[] | null;
|
|
560
|
-
|
|
576
|
+
dateEnd?: number | null;
|
|
561
577
|
subject?: string | null;
|
|
562
578
|
description?: string | null;
|
|
563
579
|
attendees?: PersonAcceptance[] | null;
|
|
@@ -571,7 +587,7 @@ export class Event extends BusinessObject {
|
|
|
571
587
|
externalResponse: any,
|
|
572
588
|
calendarId: string,
|
|
573
589
|
status: EventStatus,
|
|
574
|
-
|
|
590
|
+
dateStart: number,
|
|
575
591
|
organizedBy: PersonReference
|
|
576
592
|
) {
|
|
577
593
|
super(
|
|
@@ -584,7 +600,7 @@ export class Event extends BusinessObject {
|
|
|
584
600
|
|
|
585
601
|
this.calendarId = calendarId;
|
|
586
602
|
this.status = status;
|
|
587
|
-
this.
|
|
603
|
+
this.dateStart = dateStart;
|
|
588
604
|
this.organizedBy = organizedBy;
|
|
589
605
|
}
|
|
590
606
|
}
|