@integry/sdk 3.9.1-beta.0 → 3.9.2

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",
@@ -278,6 +282,7 @@ interface TemplateField {
278
282
  description: string;
279
283
  summary: string | null;
280
284
  activity_field: {
285
+ is_editable?: boolean;
281
286
  id: number;
282
287
  machine_name: string;
283
288
  type: string;
@@ -315,14 +320,12 @@ interface TemplateField {
315
320
  regex_msg: string | null;
316
321
  is_visible: boolean;
317
322
  app_user_data?: {
318
- app_user:
319
- /**
323
+ app_user: number;
324
+ id: number;
325
+ value: /**
320
326
  * Render the template form we ship
321
327
  * @param data
322
- */
323
- number;
324
- id: number;
325
- value: string | number;
328
+ */ string | number;
326
329
  is_changed: boolean;
327
330
  changed_dynamic_fields: string;
328
331
  }[];
@@ -369,6 +372,7 @@ interface InitConfig {
369
372
  skipAccountConnectionOnLoad?: boolean;
370
373
  deploymentIdFromConfig?: number;
371
374
  testMultipurpose?: boolean;
375
+ viewStyle?: string;
372
376
  }
373
377
  interface MarketplaceConfig {
374
378
  containerId: string;
@@ -447,6 +451,7 @@ declare class IntegryJS {
447
451
  eventEmitter: EventEmitter<IntegrySDKEvents>;
448
452
  static html: (strings: TemplateStringsArray, ...values: any[]) => import("preact").VNode<{}>;
449
453
  static RenderModes: typeof TemplateFormRenderModes;
454
+ static ViewStyles: typeof ViewStyles;
450
455
  static MarketplaceRenderModes: typeof MarketplaceRenderModes;
451
456
  static Helpers: {
452
457
  getAuthHash: (key: string, message: string) => Promise<string>;