@integry/sdk 4.6.30 → 4.6.32

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.6.30",
3
+ "version": "4.6.32",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -48,6 +48,8 @@ interface FieldDetails {
48
48
  options?: Option[];
49
49
  data_source?: any; // If needed, define this more specifically
50
50
  endpointURL?: string; // Add endpointURL here
51
+ option_key_path?: string;
52
+ value_key_path?: string;
51
53
  };
52
54
  };
53
55
  };
@@ -413,6 +415,10 @@ const ObjectField = (props: ObjectFieldProps) => {
413
415
  fieldDetails.meta.ui.ui_field?.type || 'DYNAMIC_DROPDOWN',
414
416
  fieldDetails.meta.machine_name,
415
417
  )}
418
+ optionKeyPath=${fieldDetails.meta.ui.ui_field?.value_key_path ||
419
+ ''}
420
+ valueKeyPath=${fieldDetails.meta.ui.ui_field?.option_key_path ||
421
+ ''}
416
422
  />
417
423
  `}
418
424
  ${fieldType === 'STATIC_DROPDOWN' &&
@@ -40,6 +40,7 @@ export type StepsPropsType = {
40
40
  deploymentId?: number | string;
41
41
  isInModal?: boolean;
42
42
  stepContainerStyle?: string;
43
+ flowType?: string;
43
44
  } & StoreType;
44
45
 
45
46
  type Parameter = {
@@ -318,7 +319,7 @@ class Steps extends Component<
318
319
  tempPostSaveData = parsedData;
319
320
  }
320
321
  } else {
321
- tempPostSave = true;
322
+ tempPostSave = this.props?.flowType !== 'ON_DEMAND';
322
323
  tempSendWebhookURLInEvent = true;
323
324
  tempPostSaveData = parsedData;
324
325
  }
@@ -370,6 +370,7 @@ const FlowSetupContainer = (props: FlowSetupContainerProps) => {
370
370
  deploymentId=${deploymentId || props.genericData.deploymentId}
371
371
  isInModal=${isInModal}
372
372
  stepContainerStyle=${stepContainerStyle}
373
+ flowType=${templateData.execution_type}
373
374
  ><//>
374
375
  `}
375
376
  </div>