@integry/sdk 3.9.1-beta.0 → 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",
@@ -315,15 +319,15 @@ interface TemplateField {
315
319
  regex_msg: string | null;
316
320
  is_visible: boolean;
317
321
  app_user_data?: {
318
- app_user:
322
+ app_user: number;
323
+ id: number;
324
+ value: string | number;
325
+ is_changed:
319
326
  /**
320
327
  * Render the template form we ship
321
328
  * @param data
322
329
  */
323
- number;
324
- id: number;
325
- value: string | number;
326
- is_changed: boolean;
330
+ boolean;
327
331
  changed_dynamic_fields: string;
328
332
  }[];
329
333
  added_in_mapping?: boolean;
@@ -369,6 +373,7 @@ interface InitConfig {
369
373
  skipAccountConnectionOnLoad?: boolean;
370
374
  deploymentIdFromConfig?: number;
371
375
  testMultipurpose?: boolean;
376
+ viewStyle?: string;
372
377
  }
373
378
  interface MarketplaceConfig {
374
379
  containerId: string;
@@ -447,6 +452,7 @@ declare class IntegryJS {
447
452
  eventEmitter: EventEmitter<IntegrySDKEvents>;
448
453
  static html: (strings: TemplateStringsArray, ...values: any[]) => import("preact").VNode<{}>;
449
454
  static RenderModes: typeof TemplateFormRenderModes;
455
+ static ViewStyles: typeof ViewStyles;
450
456
  static MarketplaceRenderModes: typeof MarketplaceRenderModes;
451
457
  static Helpers: {
452
458
  getAuthHash: (key: string, message: string) => Promise<string>;