@integry/sdk 3.9.1 → 3.10.0-beta.0

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.
@@ -114,6 +114,10 @@ type IntegrySDKEvents = {
114
114
  "did-click-close-button": EventCallback<"did-click-close-button">;
115
115
  "did-app-load": EventCallback<"did-app-load">;
116
116
  };
117
+ declare enum ViewStyles {
118
+ COMPACT = "COMPACT",
119
+ COMFORTABLE = "COMFORTABLE"
120
+ }
117
121
  declare enum TemplateFormRenderModes {
118
122
  MODAL = "MODAL",
119
123
  INLINE = "INLINE",
@@ -318,7 +322,12 @@ interface TemplateField {
318
322
  app_user: number;
319
323
  id: number;
320
324
  value: string | number;
321
- is_changed: boolean;
325
+ is_changed:
326
+ /**
327
+ * Render the template form we ship
328
+ * @param data
329
+ */
330
+ boolean;
322
331
  changed_dynamic_fields: string;
323
332
  }[];
324
333
  added_in_mapping?: boolean;
@@ -364,6 +373,7 @@ interface InitConfig {
364
373
  skipAccountConnectionOnLoad?: boolean;
365
374
  deploymentIdFromConfig?: number;
366
375
  testMultipurpose?: boolean;
376
+ viewStyle?: string;
367
377
  }
368
378
  interface MarketplaceConfig {
369
379
  containerId: string;
@@ -442,6 +452,7 @@ declare class IntegryJS {
442
452
  eventEmitter: EventEmitter<IntegrySDKEvents>;
443
453
  static html: (strings: TemplateStringsArray, ...values: any[]) => import("preact").VNode<{}>;
444
454
  static RenderModes: typeof TemplateFormRenderModes;
455
+ static ViewStyles: typeof ViewStyles;
445
456
  static MarketplaceRenderModes: typeof MarketplaceRenderModes;
446
457
  static Helpers: {
447
458
  getAuthHash: (key: string, message: string) => Promise<string>;