@integry/sdk 3.6.7 → 3.6.9-beta.1

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.
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.6.7] - 2023-09-11
9
+
10
+ ### Changed
11
+
12
+ - Changes Button label to "Setup" for "Save and Execute Later" ON-Demand Flow.
13
+
8
14
  ## [3.6.3] - 2023-09-08
9
15
 
10
16
  ### Fixed
@@ -130,6 +130,7 @@ type Authorization = {
130
130
  integration_count?: number;
131
131
  user_identity: string;
132
132
  };
133
+ type TemplateType = Template;
133
134
  type FlowCardProps = {
134
135
  id: number | string;
135
136
  imgUrl: string;
@@ -149,6 +150,7 @@ type FlowCardProps = {
149
150
  newName: string;
150
151
  }) => void;
151
152
  dFlag?: string;
153
+ templateObj?: TemplateType | any;
152
154
  };
153
155
  interface NestedObject {
154
156
  [key: string]: string | number | NestedObject;
@@ -197,6 +199,26 @@ interface ConfigWithObject extends SDKConfig {
197
199
  interface ConfigWithUrlParams extends SDKConfig {
198
200
  useUrlParams?: boolean;
199
201
  }
202
+ interface Template {
203
+ id: number;
204
+ name: string;
205
+ description: string;
206
+ can_add_integration: boolean;
207
+ integration_count: number;
208
+ app: {
209
+ icon_url: string;
210
+ category: string[];
211
+ tags: string;
212
+ };
213
+ branding_app: {
214
+ id: string;
215
+ name: string;
216
+ icon_url: string;
217
+ category: string[];
218
+ tags: string;
219
+ };
220
+ is_manual?: boolean;
221
+ }
200
222
  type App = {
201
223
  id: number;
202
224
  name: string;
@@ -445,6 +467,12 @@ declare class IntegryJS {
445
467
  appId?: number | undefined;
446
468
  authTypeId?: number | undefined;
447
469
  } | undefined) => void;
470
+ removeAuthorization(data: {
471
+ authorizationId: number;
472
+ }): Promise<{
473
+ data: string | null;
474
+ status: number;
475
+ } | null>;
448
476
  /**
449
477
  * Render the template form we ship
450
478
  * @param params