@flexbe/sdk 0.2.38 → 0.2.40

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 (41) hide show
  1. package/dist/browser/client/pages.js +2 -49
  2. package/dist/browser/index.js +0 -2
  3. package/dist/browser/types/index.js +4 -0
  4. package/dist/browser/types/pages.js +14 -0
  5. package/dist/cjs/client/pages.js +2 -43
  6. package/dist/cjs/index.js +0 -2
  7. package/dist/cjs/types/index.js +18 -0
  8. package/dist/cjs/types/pages.js +15 -1
  9. package/dist/esm/client/pages.js +2 -43
  10. package/dist/esm/index.js +0 -2
  11. package/dist/esm/types/index.js +4 -0
  12. package/dist/esm/types/pages.js +14 -0
  13. package/dist/types/client/pages.d.ts +3 -35
  14. package/dist/types/index.d.ts +0 -2
  15. package/dist/types/types/animations.d.ts +61 -0
  16. package/dist/types/types/index.d.ts +4 -0
  17. package/dist/types/types/pages.d.ts +101 -58
  18. package/package.json +2 -2
  19. package/dist/browser/client/auth.js +0 -74
  20. package/dist/cjs/client/auth.js +0 -63
  21. package/dist/client/flexbe-client.d.ts +0 -13
  22. package/dist/client/flexbe-client.js +0 -62
  23. package/dist/esm/client/auth.js +0 -59
  24. package/dist/index.d.ts +0 -2
  25. package/dist/index.js +0 -18
  26. package/dist/src/client/flexbe-client.d.ts +0 -20
  27. package/dist/src/client/flexbe-client.js +0 -86
  28. package/dist/src/client/pages-client.d.ts +0 -14
  29. package/dist/src/client/pages-client.js +0 -23
  30. package/dist/src/index.d.ts +0 -4
  31. package/dist/src/index.js +0 -20
  32. package/dist/src/types/index.d.ts +0 -23
  33. package/dist/src/types/pages.d.ts +0 -41
  34. package/dist/src/types/pages.js +0 -19
  35. package/dist/test/client/flexbe-client.test.js +0 -38
  36. package/dist/test/client/pages-client.test.js +0 -82
  37. package/dist/types/client/auth.d.ts +0 -11
  38. package/dist/types/index.js +0 -2
  39. /package/dist/{test/client/flexbe-client.test.d.ts → browser/types/animations.js} +0 -0
  40. /package/dist/{src/types/index.js → cjs/types/animations.js} +0 -0
  41. /package/dist/{test/client/pages-client.test.d.ts → esm/types/animations.js} +0 -0
@@ -240,6 +240,7 @@ export class Pages {
240
240
  });
241
241
  }
242
242
  /**
243
+ * @deprecated This method is deprecated and will be removed in a future release. Use the new page version API instead.
243
244
  * Get page content
244
245
  * @param pageId - ID of the page to get content for
245
246
  * @returns The page content
@@ -256,6 +257,7 @@ export class Pages {
256
257
  });
257
258
  }
258
259
  /**
260
+ * @deprecated This method is deprecated and will be removed in a future release. Use the new page version API instead.
259
261
  * Update page content
260
262
  * @param pageId - ID of the page to update content for
261
263
  * @param content - The new page content (excluding versionId and versionTime)
@@ -273,39 +275,6 @@ export class Pages {
273
275
  return response.data;
274
276
  });
275
277
  }
276
- /**
277
- * Get list of page history items
278
- * @param pageId - ID of the page to get history for
279
- * @returns List of page history items
280
- * @throws {UnauthorizedException} When the API key is invalid or expired
281
- * @throws {NotFoundException} When the page is not found
282
- * @throws {ForbiddenException} When the page does not belong to the site
283
- * @throws {ServerException} When the server encounters an error
284
- * @throws {TimeoutException} When the request times out
285
- */
286
- getPageHistory(pageId) {
287
- return __awaiter(this, void 0, void 0, function* () {
288
- const response = yield this.api.get(`/sites/${this.siteId}/pages/${pageId}/history`);
289
- return response.data;
290
- });
291
- }
292
- /**
293
- * Get a specific page history item
294
- * @param pageId - ID of the page
295
- * @param versionId - ID of the history item to get
296
- * @returns The requested page history item with data
297
- * @throws {UnauthorizedException} When the API key is invalid or expired
298
- * @throws {NotFoundException} When the page or history item is not found
299
- * @throws {ForbiddenException} When the page does not belong to the site
300
- * @throws {ServerException} When the server encounters an error
301
- * @throws {TimeoutException} When the request times out
302
- */
303
- getPageHistoryItem(pageId, versionId) {
304
- return __awaiter(this, void 0, void 0, function* () {
305
- const response = yield this.api.get(`/sites/${this.siteId}/pages/${pageId}/history/${versionId}`);
306
- return response.data;
307
- });
308
- }
309
278
  /**
310
279
  * Get list of page versions
311
280
  * @param pageId - ID of the page to get versions for
@@ -322,22 +291,6 @@ export class Pages {
322
291
  return response.data;
323
292
  });
324
293
  }
325
- /**
326
- * @deprecated Use getVersions instead, remove it after frontend will be updated
327
- * @param pageId - ID of the page to get versions for
328
- * @returns List of page versions
329
- * @throws {UnauthorizedException} When the API key is invalid or expired
330
- * @throws {NotFoundException} When the page is not found
331
- * @throws {ForbiddenException} When the page does not belong to the site
332
- * @throws {ServerException} When the server encounters an error
333
- * @throws {TimeoutException} When the request times out
334
- */
335
- getPageVersions(pageId) {
336
- return __awaiter(this, void 0, void 0, function* () {
337
- const response = yield this.api.get(`/sites/${this.siteId}/pages/${pageId}/versions`);
338
- return response.data;
339
- });
340
- }
341
294
  /**
342
295
  * Get a specific page version
343
296
  * @param pageId - ID of the page
@@ -1,5 +1,3 @@
1
1
  export * from './client/client';
2
2
  export * from './client/pages';
3
3
  export * from './types';
4
- export * from './types/pages';
5
- export * from './types/stat';
@@ -1,3 +1,7 @@
1
+ export * from './meta';
2
+ export * from './animations';
3
+ export * from './pages';
4
+ export * from './stat';
1
5
  export var FlexbeAuthType;
2
6
  (function (FlexbeAuthType) {
3
7
  FlexbeAuthType["API_KEY"] = "apiKey";
@@ -15,3 +15,17 @@ export var PageStatus;
15
15
  PageStatus["REMOVED"] = "removed";
16
16
  PageStatus["DELETED"] = "deleted";
17
17
  })(PageStatus || (PageStatus = {}));
18
+ export var PageEntityType;
19
+ (function (PageEntityType) {
20
+ PageEntityType["Block"] = "block";
21
+ PageEntityType["Modal"] = "modal";
22
+ PageEntityType["Element"] = "element";
23
+ PageEntityType["Widget"] = "widget";
24
+ PageEntityType["Layout"] = "layout";
25
+ })(PageEntityType || (PageEntityType = {}));
26
+ export var PageEntityHidden;
27
+ (function (PageEntityHidden) {
28
+ PageEntityHidden["All"] = "all";
29
+ PageEntityHidden["Mobile"] = "mobile";
30
+ PageEntityHidden["Desktop"] = "desktop";
31
+ })(PageEntityHidden || (PageEntityHidden = {}));
@@ -215,6 +215,7 @@ class Pages {
215
215
  return response.data;
216
216
  }
217
217
  /**
218
+ * @deprecated This method is deprecated and will be removed in a future release. Use the new page version API instead.
218
219
  * Get page content
219
220
  * @param pageId - ID of the page to get content for
220
221
  * @returns The page content
@@ -229,6 +230,7 @@ class Pages {
229
230
  return response.data;
230
231
  }
231
232
  /**
233
+ * @deprecated This method is deprecated and will be removed in a future release. Use the new page version API instead.
232
234
  * Update page content
233
235
  * @param pageId - ID of the page to update content for
234
236
  * @param content - The new page content (excluding versionId and versionTime)
@@ -244,35 +246,6 @@ class Pages {
244
246
  const response = await this.api.put(`/sites/${this.siteId}/pages/${pageId}/content`, content);
245
247
  return response.data;
246
248
  }
247
- /**
248
- * Get list of page history items
249
- * @param pageId - ID of the page to get history for
250
- * @returns List of page history items
251
- * @throws {UnauthorizedException} When the API key is invalid or expired
252
- * @throws {NotFoundException} When the page is not found
253
- * @throws {ForbiddenException} When the page does not belong to the site
254
- * @throws {ServerException} When the server encounters an error
255
- * @throws {TimeoutException} When the request times out
256
- */
257
- async getPageHistory(pageId) {
258
- const response = await this.api.get(`/sites/${this.siteId}/pages/${pageId}/history`);
259
- return response.data;
260
- }
261
- /**
262
- * Get a specific page history item
263
- * @param pageId - ID of the page
264
- * @param versionId - ID of the history item to get
265
- * @returns The requested page history item with data
266
- * @throws {UnauthorizedException} When the API key is invalid or expired
267
- * @throws {NotFoundException} When the page or history item is not found
268
- * @throws {ForbiddenException} When the page does not belong to the site
269
- * @throws {ServerException} When the server encounters an error
270
- * @throws {TimeoutException} When the request times out
271
- */
272
- async getPageHistoryItem(pageId, versionId) {
273
- const response = await this.api.get(`/sites/${this.siteId}/pages/${pageId}/history/${versionId}`);
274
- return response.data;
275
- }
276
249
  /**
277
250
  * Get list of page versions
278
251
  * @param pageId - ID of the page to get versions for
@@ -287,20 +260,6 @@ class Pages {
287
260
  const response = await this.api.get(`/sites/${this.siteId}/pages/${pageId}/versions`);
288
261
  return response.data;
289
262
  }
290
- /**
291
- * @deprecated Use getVersions instead, remove it after frontend will be updated
292
- * @param pageId - ID of the page to get versions for
293
- * @returns List of page versions
294
- * @throws {UnauthorizedException} When the API key is invalid or expired
295
- * @throws {NotFoundException} When the page is not found
296
- * @throws {ForbiddenException} When the page does not belong to the site
297
- * @throws {ServerException} When the server encounters an error
298
- * @throws {TimeoutException} When the request times out
299
- */
300
- async getPageVersions(pageId) {
301
- const response = await this.api.get(`/sites/${this.siteId}/pages/${pageId}/versions`);
302
- return response.data;
303
- }
304
263
  /**
305
264
  * Get a specific page version
306
265
  * @param pageId - ID of the page
package/dist/cjs/index.js CHANGED
@@ -17,5 +17,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/client"), exports);
18
18
  __exportStar(require("./client/pages"), exports);
19
19
  __exportStar(require("./types"), exports);
20
- __exportStar(require("./types/pages"), exports);
21
- __exportStar(require("./types/stat"), exports);
@@ -1,6 +1,24 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
3
17
  exports.TimeoutException = exports.ServerException = exports.UnauthorizedException = exports.BadRequestException = exports.ForbiddenException = exports.NotFoundException = exports.FlexbeAuthType = void 0;
18
+ __exportStar(require("./meta"), exports);
19
+ __exportStar(require("./animations"), exports);
20
+ __exportStar(require("./pages"), exports);
21
+ __exportStar(require("./stat"), exports);
4
22
  var FlexbeAuthType;
5
23
  (function (FlexbeAuthType) {
6
24
  FlexbeAuthType["API_KEY"] = "apiKey";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PageStatus = exports.PageType = void 0;
3
+ exports.PageEntityHidden = exports.PageEntityType = exports.PageStatus = exports.PageType = void 0;
4
4
  var PageType;
5
5
  (function (PageType) {
6
6
  PageType["PAGE"] = "page";
@@ -18,3 +18,17 @@ var PageStatus;
18
18
  PageStatus["REMOVED"] = "removed";
19
19
  PageStatus["DELETED"] = "deleted";
20
20
  })(PageStatus || (exports.PageStatus = PageStatus = {}));
21
+ var PageEntityType;
22
+ (function (PageEntityType) {
23
+ PageEntityType["Block"] = "block";
24
+ PageEntityType["Modal"] = "modal";
25
+ PageEntityType["Element"] = "element";
26
+ PageEntityType["Widget"] = "widget";
27
+ PageEntityType["Layout"] = "layout";
28
+ })(PageEntityType || (exports.PageEntityType = PageEntityType = {}));
29
+ var PageEntityHidden;
30
+ (function (PageEntityHidden) {
31
+ PageEntityHidden["All"] = "all";
32
+ PageEntityHidden["Mobile"] = "mobile";
33
+ PageEntityHidden["Desktop"] = "desktop";
34
+ })(PageEntityHidden || (exports.PageEntityHidden = PageEntityHidden = {}));
@@ -212,6 +212,7 @@ export class Pages {
212
212
  return response.data;
213
213
  }
214
214
  /**
215
+ * @deprecated This method is deprecated and will be removed in a future release. Use the new page version API instead.
215
216
  * Get page content
216
217
  * @param pageId - ID of the page to get content for
217
218
  * @returns The page content
@@ -226,6 +227,7 @@ export class Pages {
226
227
  return response.data;
227
228
  }
228
229
  /**
230
+ * @deprecated This method is deprecated and will be removed in a future release. Use the new page version API instead.
229
231
  * Update page content
230
232
  * @param pageId - ID of the page to update content for
231
233
  * @param content - The new page content (excluding versionId and versionTime)
@@ -241,35 +243,6 @@ export class Pages {
241
243
  const response = await this.api.put(`/sites/${this.siteId}/pages/${pageId}/content`, content);
242
244
  return response.data;
243
245
  }
244
- /**
245
- * Get list of page history items
246
- * @param pageId - ID of the page to get history for
247
- * @returns List of page history items
248
- * @throws {UnauthorizedException} When the API key is invalid or expired
249
- * @throws {NotFoundException} When the page is not found
250
- * @throws {ForbiddenException} When the page does not belong to the site
251
- * @throws {ServerException} When the server encounters an error
252
- * @throws {TimeoutException} When the request times out
253
- */
254
- async getPageHistory(pageId) {
255
- const response = await this.api.get(`/sites/${this.siteId}/pages/${pageId}/history`);
256
- return response.data;
257
- }
258
- /**
259
- * Get a specific page history item
260
- * @param pageId - ID of the page
261
- * @param versionId - ID of the history item to get
262
- * @returns The requested page history item with data
263
- * @throws {UnauthorizedException} When the API key is invalid or expired
264
- * @throws {NotFoundException} When the page or history item is not found
265
- * @throws {ForbiddenException} When the page does not belong to the site
266
- * @throws {ServerException} When the server encounters an error
267
- * @throws {TimeoutException} When the request times out
268
- */
269
- async getPageHistoryItem(pageId, versionId) {
270
- const response = await this.api.get(`/sites/${this.siteId}/pages/${pageId}/history/${versionId}`);
271
- return response.data;
272
- }
273
246
  /**
274
247
  * Get list of page versions
275
248
  * @param pageId - ID of the page to get versions for
@@ -284,20 +257,6 @@ export class Pages {
284
257
  const response = await this.api.get(`/sites/${this.siteId}/pages/${pageId}/versions`);
285
258
  return response.data;
286
259
  }
287
- /**
288
- * @deprecated Use getVersions instead, remove it after frontend will be updated
289
- * @param pageId - ID of the page to get versions for
290
- * @returns List of page versions
291
- * @throws {UnauthorizedException} When the API key is invalid or expired
292
- * @throws {NotFoundException} When the page is not found
293
- * @throws {ForbiddenException} When the page does not belong to the site
294
- * @throws {ServerException} When the server encounters an error
295
- * @throws {TimeoutException} When the request times out
296
- */
297
- async getPageVersions(pageId) {
298
- const response = await this.api.get(`/sites/${this.siteId}/pages/${pageId}/versions`);
299
- return response.data;
300
- }
301
260
  /**
302
261
  * Get a specific page version
303
262
  * @param pageId - ID of the page
package/dist/esm/index.js CHANGED
@@ -1,5 +1,3 @@
1
1
  export * from './client/client';
2
2
  export * from './client/pages';
3
3
  export * from './types';
4
- export * from './types/pages';
5
- export * from './types/stat';
@@ -1,3 +1,7 @@
1
+ export * from './meta';
2
+ export * from './animations';
3
+ export * from './pages';
4
+ export * from './stat';
1
5
  export var FlexbeAuthType;
2
6
  (function (FlexbeAuthType) {
3
7
  FlexbeAuthType["API_KEY"] = "apiKey";
@@ -15,3 +15,17 @@ export var PageStatus;
15
15
  PageStatus["REMOVED"] = "removed";
16
16
  PageStatus["DELETED"] = "deleted";
17
17
  })(PageStatus || (PageStatus = {}));
18
+ export var PageEntityType;
19
+ (function (PageEntityType) {
20
+ PageEntityType["Block"] = "block";
21
+ PageEntityType["Modal"] = "modal";
22
+ PageEntityType["Element"] = "element";
23
+ PageEntityType["Widget"] = "widget";
24
+ PageEntityType["Layout"] = "layout";
25
+ })(PageEntityType || (PageEntityType = {}));
26
+ export var PageEntityHidden;
27
+ (function (PageEntityHidden) {
28
+ PageEntityHidden["All"] = "all";
29
+ PageEntityHidden["Mobile"] = "mobile";
30
+ PageEntityHidden["Desktop"] = "desktop";
31
+ })(PageEntityHidden || (PageEntityHidden = {}));
@@ -1,5 +1,5 @@
1
1
  import { ApiClient } from './api-client';
2
- import { BulkDeleteResponse, BulkUpdateFolderItem, BulkUpdateFolderResponse, BulkUpdatePageItem, BulkUpdateResponse, CreateFolderParams, CreatePageVersionParams, GetPagesParams, Page, PageContent, PageFolder, PageFolderListResponse, PageHistoryItemData, PageHistoryListResponse, PageListResponse, PageVersionDataResponse, PageVersionListResponse, UpdateFolderParams, UpdatePageContentParams, UpdatePageParams } from '../types/pages';
2
+ import { BulkDeleteResponse, BulkUpdateFolderItem, BulkUpdateFolderResponse, BulkUpdatePageItem, BulkUpdateResponse, CreateFolderParams, CreatePageVersionParams, GetPagesParams, Page, PageContent, PageFolder, PageFolderListResponse, PageListResponse, PageVersionDataResponse, PageVersionListResponse, UpdateFolderParams, UpdatePageContentParams, UpdatePageParams } from '../types/pages';
3
3
  export declare class Pages {
4
4
  private readonly api;
5
5
  private readonly siteId;
@@ -170,6 +170,7 @@ export declare class Pages {
170
170
  */
171
171
  bulkDeletePages(ids: number[]): Promise<BulkDeleteResponse>;
172
172
  /**
173
+ * @deprecated This method is deprecated and will be removed in a future release. Use the new page version API instead.
173
174
  * Get page content
174
175
  * @param pageId - ID of the page to get content for
175
176
  * @returns The page content
@@ -181,6 +182,7 @@ export declare class Pages {
181
182
  */
182
183
  getPageContent(pageId: number): Promise<PageContent>;
183
184
  /**
185
+ * @deprecated This method is deprecated and will be removed in a future release. Use the new page version API instead.
184
186
  * Update page content
185
187
  * @param pageId - ID of the page to update content for
186
188
  * @param content - The new page content (excluding versionId and versionTime)
@@ -193,29 +195,6 @@ export declare class Pages {
193
195
  * @throws {TimeoutException} When the request times out
194
196
  */
195
197
  updatePageContent(pageId: number, content: Partial<UpdatePageContentParams>): Promise<PageContent>;
196
- /**
197
- * Get list of page history items
198
- * @param pageId - ID of the page to get history for
199
- * @returns List of page history items
200
- * @throws {UnauthorizedException} When the API key is invalid or expired
201
- * @throws {NotFoundException} When the page is not found
202
- * @throws {ForbiddenException} When the page does not belong to the site
203
- * @throws {ServerException} When the server encounters an error
204
- * @throws {TimeoutException} When the request times out
205
- */
206
- getPageHistory(pageId: number): Promise<PageHistoryListResponse>;
207
- /**
208
- * Get a specific page history item
209
- * @param pageId - ID of the page
210
- * @param versionId - ID of the history item to get
211
- * @returns The requested page history item with data
212
- * @throws {UnauthorizedException} When the API key is invalid or expired
213
- * @throws {NotFoundException} When the page or history item is not found
214
- * @throws {ForbiddenException} When the page does not belong to the site
215
- * @throws {ServerException} When the server encounters an error
216
- * @throws {TimeoutException} When the request times out
217
- */
218
- getPageHistoryItem(pageId: number, versionId: number): Promise<PageHistoryItemData>;
219
198
  /**
220
199
  * Get list of page versions
221
200
  * @param pageId - ID of the page to get versions for
@@ -227,17 +206,6 @@ export declare class Pages {
227
206
  * @throws {TimeoutException} When the request times out
228
207
  */
229
208
  getVersions(pageId: number): Promise<PageVersionListResponse>;
230
- /**
231
- * @deprecated Use getVersions instead, remove it after frontend will be updated
232
- * @param pageId - ID of the page to get versions for
233
- * @returns List of page versions
234
- * @throws {UnauthorizedException} When the API key is invalid or expired
235
- * @throws {NotFoundException} When the page is not found
236
- * @throws {ForbiddenException} When the page does not belong to the site
237
- * @throws {ServerException} When the server encounters an error
238
- * @throws {TimeoutException} When the request times out
239
- */
240
- getPageVersions(pageId: number): Promise<PageVersionListResponse>;
241
209
  /**
242
210
  * Get a specific page version
243
211
  * @param pageId - ID of the page
@@ -1,5 +1,3 @@
1
1
  export * from './client/client';
2
2
  export * from './client/pages';
3
3
  export * from './types';
4
- export * from './types/pages';
5
- export * from './types/stat';
@@ -0,0 +1,61 @@
1
+ export type PageEntityAnimationAdaptiveMode = 'inherited' | 'redefined' | 'disabled';
2
+ export type PageEntityAnimationRetriggerBehavior = 'reverse' | 'restart' | 'pause' | 'reset' | 'none';
3
+ export type PageEntityAnimationPlayMode = 'normal' | 'bounce';
4
+ export type PageEntityAnimationReverseSeekBehavior = 'seek' | 'stop';
5
+ export type PageEntityAnimationSeekAxis = 'x' | 'y';
6
+ export type PageEntityAnimationTriggerEvent = 'start' | 'complete' | 'loopstart' | 'loopcomplete' | 'pause' | 'unpause';
7
+ export type PageEntityAnimationInteractionType = 'none' | 'screen' | 'scroll' | 'click' | 'hover' | 'hold' | 'trigger' | 'custom';
8
+ export type PageEntityAnimationIntersectionLine = 'top' | 'center' | 'bottom';
9
+ export type PageEntityAnimationIntersectionLineOffsetUnit = 'px' | '%';
10
+ export interface PageEntityAnimationStep {
11
+ id: string;
12
+ name: string;
13
+ distance: number;
14
+ animationParams: {
15
+ clipPath?: string;
16
+ clipPathEnabled?: boolean;
17
+ skewEnabled?: boolean;
18
+ seekEasing?: string;
19
+ opacity?: string | number;
20
+ duration?: number;
21
+ rotate?: number;
22
+ easing?: string;
23
+ translateX?: string;
24
+ translateY?: string;
25
+ scaleX?: number;
26
+ scaleY?: number;
27
+ skewX?: string;
28
+ skewY?: string;
29
+ };
30
+ }
31
+ export interface PageEntityAnimationInteractionSettings {
32
+ intersectionLine?: PageEntityAnimationIntersectionLine;
33
+ intersectionLineOffset?: string;
34
+ retriggerBehavior?: PageEntityAnimationRetriggerBehavior;
35
+ loop?: number;
36
+ playMode?: PageEntityAnimationPlayMode;
37
+ seekMode?: string;
38
+ seekAxis?: PageEntityAnimationSeekAxis;
39
+ seekSmoothing?: number;
40
+ triggerElements?: string[];
41
+ triggerAnimationItem?: string;
42
+ triggerEvent?: PageEntityAnimationTriggerEvent;
43
+ fixed?: boolean;
44
+ }
45
+ export interface PageEntityAnimationDeviceConfig {
46
+ enabled: boolean;
47
+ inherit: boolean | string;
48
+ animationType?: string;
49
+ interactionType?: PageEntityAnimationInteractionType;
50
+ interactionSettings?: PageEntityAnimationInteractionSettings;
51
+ steps: PageEntityAnimationStep[];
52
+ }
53
+ export interface PageEntityAnimationResponsive {
54
+ desktop?: PageEntityAnimationDeviceConfig;
55
+ mobile?: Partial<PageEntityAnimationDeviceConfig>;
56
+ }
57
+ export interface PageEntityAnimation {
58
+ id?: string | number;
59
+ responsive: PageEntityAnimationResponsive;
60
+ [key: string]: any;
61
+ }
@@ -1,3 +1,7 @@
1
+ export * from './meta';
2
+ export * from './animations';
3
+ export * from './pages';
4
+ export * from './stat';
1
5
  export declare enum FlexbeAuthType {
2
6
  API_KEY = "apiKey",
3
7
  BEARER = "bearer"