@integry/sdk 4.7.57 → 4.7.59

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.
@@ -754,6 +754,30 @@ declare class IntegryJS {
754
754
  containerId: string;
755
755
  multipurposeFieldProps: MultipurposeFieldType;
756
756
  }) => void;
757
+ /**
758
+ * Render any supported form fields
759
+ *
760
+ * Example of a field object:
761
+ * {
762
+ * meta: {
763
+ * title: 'Email',
764
+ * description_for_users: 'User email',
765
+ * is_required: true,
766
+ * machine_name: 'email',
767
+ * ui: { placeholder: 'Enter email', ui_field: { type: 'TEXTFIELD' } }
768
+ * },
769
+ * type: 'string'
770
+ * }
771
+ */
772
+ renderFormField: (containerId: string, fields: any[], options?: {
773
+ values?: Record<string, any> | undefined;
774
+ onChange?: ((id: string, val: any) => void) | undefined;
775
+ variables?: any;
776
+ tagsTree?: any;
777
+ connectedAccountId?: string | undefined;
778
+ isReadOnly?: boolean | undefined;
779
+ hideMappingMenu?: boolean | undefined;
780
+ }) => void;
757
781
  renderFunctionField: (containerId: string, functionFieldProps: FunctionFieldType) => void;
758
782
  renderAppAuthorizations: (options?: RenderAppAuthrozationsOptions) => Promise<void>;
759
783
  renderFlowStep: (options?: RenderFlowStepOptions) => void;