@bigfootai/bigfoot-types 2.7.8 → 2.7.9
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.ts +23 -5
- package/package.json +1 -1
package/model.ts
CHANGED
|
@@ -180,6 +180,11 @@ export interface ProviderInfo {
|
|
|
180
180
|
application: string;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
+
export interface ProviderRequest {
|
|
184
|
+
providerInfo: ProviderInfo;
|
|
185
|
+
email: string;
|
|
186
|
+
}
|
|
187
|
+
|
|
183
188
|
export interface ProviderResponse {
|
|
184
189
|
connectionId: string;
|
|
185
190
|
providerUrl: string;
|
|
@@ -246,6 +251,24 @@ export class Primitive {
|
|
|
246
251
|
}
|
|
247
252
|
}
|
|
248
253
|
|
|
254
|
+
export class Sync extends Primitive {
|
|
255
|
+
connectionId: string;
|
|
256
|
+
tenantIdCreated: string;
|
|
257
|
+
providerRequest: ProviderRequest;
|
|
258
|
+
|
|
259
|
+
constructor(
|
|
260
|
+
connectionId: string,
|
|
261
|
+
tenantIdCreated: string,
|
|
262
|
+
providerRequest: ProviderRequest
|
|
263
|
+
) {
|
|
264
|
+
super();
|
|
265
|
+
|
|
266
|
+
this.connectionId = connectionId;
|
|
267
|
+
this.tenantIdCreated = tenantIdCreated;
|
|
268
|
+
this.providerRequest = providerRequest;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
249
272
|
export class Provider extends Primitive {
|
|
250
273
|
provider: string;
|
|
251
274
|
name: string;
|
|
@@ -555,11 +578,6 @@ export interface CalendarFilter {
|
|
|
555
578
|
limit: number;
|
|
556
579
|
}
|
|
557
580
|
|
|
558
|
-
export interface CalendarRequest {
|
|
559
|
-
filter: CalendarFilter;
|
|
560
|
-
providerInfo: ProviderInfo;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
581
|
export interface CalendarProviderRequest {
|
|
564
582
|
filter: CalendarFilter;
|
|
565
583
|
credential: Credential;
|