@integry/sdk 4.7.46 → 4.7.48

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.
@@ -254,6 +254,16 @@ type ShowFunctionOptions = {
254
254
  version?: string | null;
255
255
  allow_workspace_connected_accounts?: boolean;
256
256
  };
257
+ type RenderAppAuthrozationsOptions = {
258
+ containerId: string;
259
+ appName: string;
260
+ selectedAuthId?: number | null;
261
+ onAuthSelected?: (authId: number | null) => void;
262
+ loginUrl?: string;
263
+ onAuthCreated?: (auth: Authorization) => void;
264
+ onAuthDeleted?: (authId: number) => void;
265
+ isReadOnly?: boolean;
266
+ };
257
267
  type TemplateType = Template;
258
268
  type FlowCardProps = {
259
269
  id: number | string;
@@ -687,7 +697,7 @@ declare class IntegryJS {
687
697
  showFunctionUI: (functionName: string, functionArguments?: {
688
698
  [key: string]: any;
689
699
  }, connectedAccountId?: string | undefined) => Promise<Record<any, any>>;
690
- showFunction: (functionName: string, options?: ShowFunctionOptions) => Promise<Record<any, any>>;
700
+ showFunction: (functionName: string, options?: ShowFunctionOptions, renderMode?: RenderModes, containerId?: string | undefined) => Promise<Record<any, any>>;
691
701
  invokeFunction: (functionName: string, params: {
692
702
  [key: string]: any;
693
703
  }, connectedAccountId: string) => Promise<Record<any, any>>;
@@ -744,6 +754,7 @@ declare class IntegryJS {
744
754
  multipurposeFieldProps: MultipurposeFieldType;
745
755
  }) => void;
746
756
  renderFunctionField: (containerId: string, functionFieldProps: FunctionFieldType) => void;
757
+ renderAppAuthorizations: (options?: RenderAppAuthrozationsOptions) => Promise<void>;
747
758
  renderFlowStep: (options?: RenderFlowStepOptions) => void;
748
759
  renderMappingMenu: (options?: RenderMappingMenuOptions) => void;
749
760
  verifyAuthConfig: () => Promise<{