@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.
Files changed (2) hide show
  1. package/model.ts +23 -5
  2. 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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "2.7.8",
4
+ "version": "2.7.9",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",