@integry/sdk 4.4.33 → 4.4.35

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.
@@ -13,8 +13,8 @@
13
13
  // "url": "file:////Users/yasir/Downloads/Flows%20-%20Integry%20SDK%20sample-23.html",
14
14
  // "url": "file:////Users/yasir/Downloads/Flows%20-%20Integry%20SDK%20sample%20(33).html",
15
15
  // "url": "file:////Users/yasir/Downloads/Integry SDK sample code (17).html",
16
- "url": "file:////Users/yasir/Downloads/Flows - Integry SDK sample (41).html",
17
- // "url": "file:////Users/yasir/Downloads/Node-webhook-object-not-used-as-source.html",
16
+ // "url": "file:////Users/yasir/Downloads/Flows - Integry SDK sample (41).html",
17
+ "url": "file:////Users/yasir/Downloads/Integry SDK sample code (21).html",
18
18
  "webRoot": "${workspaceFolder}/src"
19
19
  }
20
20
  ]
@@ -215,6 +215,7 @@ type Authorization = {
215
215
  disable_link?: string;
216
216
  integration_count?: number;
217
217
  user_identity: string;
218
+ access_token?: string;
218
219
  };
219
220
  type TemplateType = Template;
220
221
  type FlowCardProps = {
@@ -426,6 +427,8 @@ interface TemplateField {
426
427
  is_multiselect?: boolean;
427
428
  template_fields?: any[];
428
429
  ui_field?: UiField;
430
+ is_button_enabled?: boolean;
431
+ on_button_click_script?: string;
429
432
  }
430
433
  interface TemplateStep {
431
434
  id: number;
@@ -587,6 +590,7 @@ declare class IntegryJS {
587
590
  eventEmitter: EventEmitter<IntegrySDKEvents>;
588
591
  static html: (strings: TemplateStringsArray, ...values: any[]) => import("preact").VNode<{}>;
589
592
  static RenderModes: typeof RenderModes;
593
+ static TemplateFormRenderModes: typeof TemplateFormRenderModes;
590
594
  static Layouts: typeof Layouts;
591
595
  static ViewStyles: typeof ViewStyles;
592
596
  static MarketplaceRenderModes: typeof MarketplaceRenderModes;
@@ -700,6 +704,7 @@ declare class IntegryJS {
700
704
  * Destroy SDK instance and cleanup store
701
705
  */
702
706
  destroy: () => void;
707
+ static setFieldValue: (fieldId: string, value: string) => void;
703
708
  private getMethod;
704
709
  private getBaseAPIUrl;
705
710
  private getHeaders;