@integry/sdk 4.7.12 → 4.7.13

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integry/sdk",
3
- "version": "4.7.12",
3
+ "version": "4.7.13",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -2136,6 +2136,8 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
2136
2136
  this.props.tagsTree || {},
2137
2137
  )}
2138
2138
  value=${fieldVal}
2139
+ allowWorkspaceConnectedAccounts=${!!this
2140
+ .props.onFieldChangeCallback}
2139
2141
  />
2140
2142
  </div>
2141
2143
  `;
@@ -39,6 +39,7 @@ export type DynamicFieldsProps = {
39
39
  onChangeCallback?: (val: any) => void;
40
40
  dependsOn?: string[];
41
41
  isArray?: boolean;
42
+ allowWorkspaceConnectedAccounts?: boolean;
42
43
  } & StoreType;
43
44
 
44
45
  interface DynamicDataItem {
@@ -70,6 +71,7 @@ const DynamicTypedFields = (props: DynamicFieldsProps) => {
70
71
  onChangeCallback = () => null,
71
72
  dependsOn = [],
72
73
  isArray = false,
74
+ allowWorkspaceConnectedAccounts = false,
73
75
  } = props;
74
76
 
75
77
  const [dynamicItems, setDynamicItems] = useState<DynamicDataItem[]>([]);
@@ -140,6 +142,9 @@ const DynamicTypedFields = (props: DynamicFieldsProps) => {
140
142
  const requestParams: any = {
141
143
  authorization_id: selectedAuthId,
142
144
  connected_account_id: selectedAuthId,
145
+ ...(allowWorkspaceConnectedAccounts && {
146
+ allow_workspace_connected_accounts: true,
147
+ }),
143
148
  };
144
149
  apiHandlerRef
145
150
  .callSourceFlowIntegrationInvocationUrl<