@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.
@@ -253,6 +253,16 @@ type ShowFunctionOptions = {
253
253
  version?: string | null;
254
254
  allow_workspace_connected_accounts?: boolean;
255
255
  };
256
+ type RenderAppAuthrozationsOptions = {
257
+ containerId: string;
258
+ appName: string;
259
+ selectedAuthId?: number | null;
260
+ onAuthSelected?: (authId: number | null) => void;
261
+ loginUrl?: string;
262
+ onAuthCreated?: (auth: Authorization) => void;
263
+ onAuthDeleted?: (authId: number) => void;
264
+ isReadOnly?: boolean;
265
+ };
256
266
  type TemplateType = Template;
257
267
  type FlowCardProps = {
258
268
  id: number | string;
@@ -677,7 +687,7 @@ declare class IntegryJS {
677
687
  showFunctionUI: (functionName: string, functionArguments?: {
678
688
  [key: string]: any;
679
689
  }, connectedAccountId?: string | undefined) => Promise<Record<any, any>>;
680
- showFunction: (functionName: string, options?: ShowFunctionOptions) => Promise<Record<any, any>>;
690
+ showFunction: (functionName: string, options?: ShowFunctionOptions, renderMode?: RenderModes, containerId?: string | undefined) => Promise<Record<any, any>>;
681
691
  invokeFunction: (functionName: string, params: {
682
692
  [key: string]: any;
683
693
  }, connectedAccountId: string) => Promise<Record<any, any>>;
@@ -735,6 +745,7 @@ declare class IntegryJS {
735
745
  multipurposeFieldProps: MultipurposeFieldType;
736
746
  }) => void;
737
747
  renderFunctionField: (containerId: string, functionFieldProps: FunctionFieldType) => void;
748
+ renderAppAuthorizations: (options?: RenderAppAuthrozationsOptions) => Promise<void>;
738
749
  renderFlowStep: (options?: RenderFlowStepOptions) => void;
739
750
  renderMappingMenu: (options?: RenderMappingMenuOptions) => void;
740
751
  verifyAuthConfig: () => Promise<{