// This is an automatically generated code sample. 
// To make this code sample work in your Oracle Cloud tenancy, 
// please replace the values for any parameters whose current values do not fit
// your use case (such as resource IDs, strings containing ‘EXAMPLE’ or ‘unique_id’, and 
// boolean, number, and enum parameters with values not fitting your use case).

import * as dataintegration from "oci-dataintegration";
import common = require("oci-common");

// Create a default authentication provider that uses the DEFAULT
// profile in the configuration file.
// Refer to <see href="https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File>the public documentation</see> on how to prepare a configuration file.

const provider: common.ConfigFileAuthenticationDetailsProvider = new common.ConfigFileAuthenticationDetailsProvider();

(async () => {
    try {
     // Create a service client
     const client = new dataintegration.DataIntegrationClient({ authenticationDetailsProvider: provider });

     // Create a request and dependent object(s).
	const  createTaskDetails = {
		modelType: "DATA_LOADER_TASK",		dataFlow: {
			key: "EXAMPLE-key-Value",
			modelType: "EXAMPLE-modelType-Value",
			modelVersion: "EXAMPLE-modelVersion-Value",
			parentRef: {
				parent: "EXAMPLE-parent-Value",
				rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

				}
,
			name: "EXAMPLE-name-Value",
			identifier: "EXAMPLE-identifier-Value",
			objectVersion: 562,
			nodes: [{
					key: "EXAMPLE-key-Value",
					modelType: "EXAMPLE-modelType-Value",
					modelVersion: "EXAMPLE-modelVersion-Value",
					parentRef: {
						parent: "EXAMPLE-parent-Value",
						rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

						}
,
					name: "EXAMPLE-name-Value",
					description: "EXAMPLE-description-Value",
					inputLinks: [{
							modelType: "INPUT_LINK",							fromLink: "EXAMPLE-fromLink-Value",
							fieldMap: {
								modelType: "DIRECT_FIELD_MAP",								key: "EXAMPLE-key-Value",
								modelVersion: "EXAMPLE-modelVersion-Value",
								parentRef: {
									parent: "EXAMPLE-parent-Value",
									rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

									}
,
								configValues: {
									configParamValues: {
										EXAMPLE_KEY_wQrcY :{
											stringValue: "EXAMPLE-stringValue-Value",
											intValue: 113,
											objectValue: "EXAMPLE-objectValue-Value",
											refValue: "EXAMPLE-refValue-Value",
											parameterValue: "EXAMPLE-parameterValue-Value",
											rootObjectValue: "EXAMPLE-rootObjectValue-Value",

											}

										},
									parentRef: {
										parent: "EXAMPLE-parent-Value",
										rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

										}
,

									}
,
								sourceTypedObject: "EXAMPLE-sourceTypedObject-Value",
								targetTypedObject: "EXAMPLE-targetTypedObject-Value",
								sourceScopeReference: {
									referenceObject: "EXAMPLE-referenceObject-Value",
									referenceType: dataintegration.models.ScopeReference.ReferenceType.OciFunctionOutputShape,
									refObjectName: "EXAMPLE-refObjectName-Value",

									}
,
								targetScopeReference: {
									referenceObject: "EXAMPLE-referenceObject-Value",
									referenceType: dataintegration.models.ScopeReference.ReferenceType.OciFunctionOutputShape,
									refObjectName: "EXAMPLE-refObjectName-Value",

									}
,
								objectStatus: 485,
								description: "EXAMPLE-description-Value"

								}
,
							key: "EXAMPLE-key-Value",
							modelVersion: "EXAMPLE-modelVersion-Value",
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,
							objectStatus: 384,
							description: "EXAMPLE-description-Value",
							port: "EXAMPLE-port-Value"

							}
							],
					outputLinks: [{
							modelType: "OUTPUT_LINK",							toLinks: ["EXAMPLE--Value"									],
							key: "EXAMPLE-key-Value",
							modelVersion: "EXAMPLE-modelVersion-Value",
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,
							objectStatus: 441,
							description: "EXAMPLE-description-Value",
							port: "EXAMPLE-port-Value"

							}
							],
					operator: {
						modelType: "PIVOT_OPERATOR",						groupByColumns: {
							modelType: "DYNAMIC_PROXY_FIELD",							type: {
								modelType: "MAP_TYPE",								keyElementType: "EXAMPLE-keyElementType-Value",
								valueElementType: "EXAMPLE-valueElementType-Value",
								containsNull: false,
								key: "EXAMPLE-key-Value",
								modelVersion: "EXAMPLE-modelVersion-Value",
								parentRef: {
									parent: "EXAMPLE-parent-Value",
									rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

									}
,
								name: "EXAMPLE-name-Value",
								objectStatus: 865,
								description: "EXAMPLE-description-Value"

								}
,
							labels: ["EXAMPLE--Value"									],
							key: "EXAMPLE-key-Value",
							modelVersion: "EXAMPLE-modelVersion-Value",
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,
							configValues: {
								configParamValues: {
									EXAMPLE_KEY_6f31N :{
										stringValue: "EXAMPLE-stringValue-Value",
										intValue: 233,
										objectValue: "EXAMPLE-objectValue-Value",
										refValue: "EXAMPLE-refValue-Value",
										parameterValue: "EXAMPLE-parameterValue-Value",
										rootObjectValue: "EXAMPLE-rootObjectValue-Value",

										}

									},
								parentRef: {
									parent: "EXAMPLE-parent-Value",
									rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

									}
,

								}
,
							objectStatus: 721,
							name: "EXAMPLE-name-Value",
							description: "EXAMPLE-description-Value"

							}
,
						materializedGroupByColumns: {
							modelType: "MATERIALIZED_DYNAMIC_FIELD",							scope: "EXAMPLE-scope-Value",
							type: {
								modelType: "MATERIALIZED_COMPOSITE_TYPE",								elements: ["EXAMPLE--Value"										],
								pathNames: ["EXAMPLE--Value"										],
								configDefinition: {
									key: "EXAMPLE-key-Value",
									modelType: "EXAMPLE-modelType-Value",
									modelVersion: "EXAMPLE-modelVersion-Value",
									parentRef: {
										parent: "EXAMPLE-parent-Value",
										rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

										}
,
									name: "EXAMPLE-name-Value",
									isContained: false,
									objectStatus: 796,
									configParameterDefinitions: {
										EXAMPLE_KEY_p2LIR :{
											parameterType: {
												modelType: "COMPOSITE_TYPE",												elements: [{
														modelType: "PIVOT_FIELD",														expr: {
															key: "EXAMPLE-key-Value",
															modelType: "EXAMPLE-modelType-Value",
															modelVersion: "EXAMPLE-modelVersion-Value",
															parentRef: {
																parent: "EXAMPLE-parent-Value",
																rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

																}
,
															exprString: "EXAMPLE-exprString-Value",
															configValues: {
																configParamValues: {
																	EXAMPLE_KEY_icC4D :{
																		stringValue: "EXAMPLE-stringValue-Value",
																		intValue: 924,
																		objectValue: "EXAMPLE-objectValue-Value",
																		refValue: "EXAMPLE-refValue-Value",
																		parameterValue: "EXAMPLE-parameterValue-Value",
																		rootObjectValue: "EXAMPLE-rootObjectValue-Value",

																		}

																	},
																parentRef: {
																	parent: "EXAMPLE-parent-Value",
																	rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

																	}
,

																}
,
															objectStatus: 205,

															}
,
														useType: {
															modelType: "CONFIGURED_TYPE",															wrappedType: "EXAMPLE-wrappedType-Value",
															configValues: {
																configParamValues: {
																	EXAMPLE_KEY_ggSpX :{
																		stringValue: "EXAMPLE-stringValue-Value",
																		intValue: 476,
																		objectValue: "EXAMPLE-objectValue-Value",
																		refValue: "EXAMPLE-refValue-Value",
																		parameterValue: "EXAMPLE-parameterValue-Value",
																		rootObjectValue: "EXAMPLE-rootObjectValue-Value",

																		}

																	},
																parentRef: {
																	parent: "EXAMPLE-parent-Value",
																	rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

																	}
,

																}
,
															key: "EXAMPLE-key-Value",
															modelVersion: "EXAMPLE-modelVersion-Value",
															parentRef: {
																parent: "EXAMPLE-parent-Value",
																rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

																}
,
															name: "EXAMPLE-name-Value",
															objectStatus: 944,
															description: "EXAMPLE-description-Value"

															}
,
														columnNamePattern: "EXAMPLE-columnNamePattern-Value",
														key: "EXAMPLE-key-Value",
														modelVersion: "EXAMPLE-modelVersion-Value",
														parentRef: {
															parent: "EXAMPLE-parent-Value",
															rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

															}
,
														configValues: {
															configParamValues: {
																EXAMPLE_KEY_OKDNl :{
																	stringValue: "EXAMPLE-stringValue-Value",
																	intValue: 812,
																	objectValue: "EXAMPLE-objectValue-Value",
																	refValue: "EXAMPLE-refValue-Value",
																	parameterValue: "EXAMPLE-parameterValue-Value",
																	rootObjectValue: "EXAMPLE-rootObjectValue-Value",

																	}

																},
															parentRef: {
																parent: "EXAMPLE-parent-Value",
																rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

																}
,

															}
,
														objectStatus: 490,
														name: "EXAMPLE-name-Value",
														description: "EXAMPLE-description-Value"

														}
														],
												key: "EXAMPLE-key-Value",
												modelVersion: "EXAMPLE-modelVersion-Value",
												parentRef: {
													parent: "EXAMPLE-parent-Value",
													rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

													}
,
												name: "EXAMPLE-name-Value",
												objectStatus: 428,
												description: "EXAMPLE-description-Value"

												}
,
											parameterName: "EXAMPLE-parameterName-Value",
											description: "EXAMPLE-description-Value",
											defaultValue: "EXAMPLE-defaultValue-Value",
											classFieldName: "EXAMPLE-classFieldName-Value",
											isStatic: false,
											isClassFieldValue: false,

											}

										},

									}
,
								key: "EXAMPLE-key-Value",
								modelVersion: "EXAMPLE-modelVersion-Value",
								parentRef: {
									parent: "EXAMPLE-parent-Value",
									rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

									}
,
								name: "EXAMPLE-name-Value",
								objectStatus: 399,
								description: "EXAMPLE-description-Value"

								}
,
							key: "EXAMPLE-key-Value",
							modelVersion: "EXAMPLE-modelVersion-Value",
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,
							configValues: {
								configParamValues: {
									EXAMPLE_KEY_cgla3 :{
										stringValue: "EXAMPLE-stringValue-Value",
										intValue: 456,
										objectValue: "EXAMPLE-objectValue-Value",
										refValue: "EXAMPLE-refValue-Value",
										parameterValue: "EXAMPLE-parameterValue-Value",
										rootObjectValue: "EXAMPLE-rootObjectValue-Value",

										}

									},
								parentRef: {
									parent: "EXAMPLE-parent-Value",
									rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

									}
,

								}
,
							objectStatus: 368,
							name: "EXAMPLE-name-Value",
							description: "EXAMPLE-description-Value"

							}
,
						pivotKeys: {
							pivotAxis: ["N"									],
							pivotKeyValueMap: {
								EXAMPLE_KEY_d453k :["EXAMPLE_VALUE_0J5Qr2ZVnIu9yxynEbrI"										]
								},
							key: "EXAMPLE-key-Value",
							modelType: "EXAMPLE-modelType-Value",
							modelVersion: "EXAMPLE-modelVersion-Value",
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,
							objectStatus: 633,

							}
,
						key: "EXAMPLE-key-Value",
						modelVersion: "EXAMPLE-modelVersion-Value",
						parentRef: {
							parent: "EXAMPLE-parent-Value",
							rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

							}
,
						name: "EXAMPLE-name-Value",
						description: "EXAMPLE-description-Value",
						objectVersion: 406,
						inputPorts: [{
								modelType: "INPUT_PORT",								portType: dataintegration.models.InputPort.PortType.Data,
								fields: [{
										modelType: "SHAPE_FIELD",										type: "EXAMPLE-type-Value",
										labels: ["EXAMPLE--Value"												],
										nativeShapeField: {
											name: "EXAMPLE-name-Value",
											modelType: "EXAMPLE-modelType-Value",
											type: "EXAMPLE-type-Value",
											configValues: {
												configParamValues: {
													EXAMPLE_KEY_gZAg0 :{
														stringValue: "EXAMPLE-stringValue-Value",
														intValue: 75,
														objectValue: "EXAMPLE-objectValue-Value",
														refValue: "EXAMPLE-refValue-Value",
														parameterValue: "EXAMPLE-parameterValue-Value",
														rootObjectValue: "EXAMPLE-rootObjectValue-Value",

														}

													},
												parentRef: {
													parent: "EXAMPLE-parent-Value",
													rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

													}
,

												}
,
											position: 712,
											defaultValueString: "EXAMPLE-defaultValueString-Value",
											isMandatory: false,

											}
,
										key: "EXAMPLE-key-Value",
										modelVersion: "EXAMPLE-modelVersion-Value",
										parentRef: {
											parent: "EXAMPLE-parent-Value",
											rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

											}
,
										configValues: {
											configParamValues: {
												EXAMPLE_KEY_ZLJ7Q :{
													stringValue: "EXAMPLE-stringValue-Value",
													intValue: 948,
													objectValue: "EXAMPLE-objectValue-Value",
													refValue: "EXAMPLE-refValue-Value",
													parameterValue: "EXAMPLE-parameterValue-Value",
													rootObjectValue: "EXAMPLE-rootObjectValue-Value",

													}

												},
											parentRef: {
												parent: "EXAMPLE-parent-Value",
												rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

												}
,

											}
,
										objectStatus: 710,
										name: "EXAMPLE-name-Value",
										description: "EXAMPLE-description-Value"

										}
										],
								key: "EXAMPLE-key-Value",
								modelVersion: "EXAMPLE-modelVersion-Value",
								parentRef: {
									parent: "EXAMPLE-parent-Value",
									rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

									}
,
								configValues: {
									configParamValues: {
										EXAMPLE_KEY_y63fx :{
											stringValue: "EXAMPLE-stringValue-Value",
											intValue: 347,
											objectValue: "EXAMPLE-objectValue-Value",
											refValue: "EXAMPLE-refValue-Value",
											parameterValue: "EXAMPLE-parameterValue-Value",
											rootObjectValue: "EXAMPLE-rootObjectValue-Value",

											}

										},
									parentRef: {
										parent: "EXAMPLE-parent-Value",
										rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

										}
,

									}
,
								objectStatus: 424,
								name: "EXAMPLE-name-Value",
								description: "EXAMPLE-description-Value"

								}
								],
						outputPorts: [{
								modelType: "INPUT_PROXY_FIELD",								scope: "EXAMPLE-scope-Value",
								type: {
									modelType: "ARRAY_TYPE",									elementType: "EXAMPLE-elementType-Value",
									key: "EXAMPLE-key-Value",
									modelVersion: "EXAMPLE-modelVersion-Value",
									parentRef: {
										parent: "EXAMPLE-parent-Value",
										rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

										}
,
									name: "EXAMPLE-name-Value",
									objectStatus: 937,
									description: "EXAMPLE-description-Value"

									}
,
								labels: ["EXAMPLE--Value"										],
								key: "EXAMPLE-key-Value",
								modelVersion: "EXAMPLE-modelVersion-Value",
								parentRef: {
									parent: "EXAMPLE-parent-Value",
									rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

									}
,
								configValues: {
									configParamValues: {
										EXAMPLE_KEY_Xy1NI :{
											stringValue: "EXAMPLE-stringValue-Value",
											intValue: 980,
											objectValue: "EXAMPLE-objectValue-Value",
											refValue: "EXAMPLE-refValue-Value",
											parameterValue: "EXAMPLE-parameterValue-Value",
											rootObjectValue: "EXAMPLE-rootObjectValue-Value",

											}

										},
									parentRef: {
										parent: "EXAMPLE-parent-Value",
										rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

										}
,

									}
,
								objectStatus: 298,
								name: "EXAMPLE-name-Value",
								description: "EXAMPLE-description-Value"

								}
								],
						objectStatus: 221,
						identifier: "EXAMPLE-identifier-Value",
						parameters: [{
								modelType: "PARAMETER",								type: "EXAMPLE-type-Value",
								defaultValue: "EXAMPLE-defaultValue-Value",
								rootObjectDefaultValue: "EXAMPLE-rootObjectDefaultValue-Value",
								isInput: false,
								isOutput: false,
								outputAggregationType: dataintegration.models.Parameter.OutputAggregationType.Max,
								typeName: "EXAMPLE-typeName-Value",
								usedFor: "EXAMPLE-usedFor-Value",
								key: "EXAMPLE-key-Value",
								modelVersion: "EXAMPLE-modelVersion-Value",
								parentRef: {
									parent: "EXAMPLE-parent-Value",
									rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

									}
,
								configValues: {
									configParamValues: {
										EXAMPLE_KEY_eaJsO :{
											stringValue: "EXAMPLE-stringValue-Value",
											intValue: 467,
											objectValue: "EXAMPLE-objectValue-Value",
											refValue: "EXAMPLE-refValue-Value",
											parameterValue: "EXAMPLE-parameterValue-Value",
											rootObjectValue: "EXAMPLE-rootObjectValue-Value",

											}

										},
									parentRef: {
										parent: "EXAMPLE-parent-Value",
										rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

										}
,

									}
,
								objectStatus: 842,
								name: "EXAMPLE-name-Value",
								description: "EXAMPLE-description-Value"

								}
								],
						opConfigValues: {
							configParamValues: {
								EXAMPLE_KEY_lCXLu :{
									stringValue: "EXAMPLE-stringValue-Value",
									intValue: 791,
									objectValue: "EXAMPLE-objectValue-Value",
									refValue: "EXAMPLE-refValue-Value",
									parameterValue: "EXAMPLE-parameterValue-Value",
									rootObjectValue: "EXAMPLE-rootObjectValue-Value",

									}

								},
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,

							}


						}
,
					uiProperties: {
						coordinateX: 8043.583,
						coordinateY: 8865.218,

						}
,
					objectStatus: 483,

					}
					],
			parameters: [{
					modelType: "PARAMETER",					type: "EXAMPLE-type-Value",
					defaultValue: "EXAMPLE-defaultValue-Value",
					rootObjectDefaultValue: "EXAMPLE-rootObjectDefaultValue-Value",
					isInput: true,
					isOutput: true,
					outputAggregationType: dataintegration.models.Parameter.OutputAggregationType.Min,
					typeName: "EXAMPLE-typeName-Value",
					usedFor: "EXAMPLE-usedFor-Value",
					key: "EXAMPLE-key-Value",
					modelVersion: "EXAMPLE-modelVersion-Value",
					parentRef: {
						parent: "EXAMPLE-parent-Value",
						rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

						}
,
					configValues: {
						configParamValues: {
							EXAMPLE_KEY_Tg636 :{
								stringValue: "EXAMPLE-stringValue-Value",
								intValue: 238,
								objectValue: "EXAMPLE-objectValue-Value",
								refValue: "EXAMPLE-refValue-Value",
								parameterValue: "EXAMPLE-parameterValue-Value",
								rootObjectValue: "EXAMPLE-rootObjectValue-Value",

								}

							},
						parentRef: {
							parent: "EXAMPLE-parent-Value",
							rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

							}
,

						}
,
					objectStatus: 712,
					name: "EXAMPLE-name-Value",
					description: "EXAMPLE-description-Value"

					}
					],
			description: "EXAMPLE-description-Value",
			flowConfigValues: {
				configParamValues: {
					EXAMPLE_KEY_Q1qE5 :{
						stringValue: "EXAMPLE-stringValue-Value",
						intValue: 208,
						objectValue: "EXAMPLE-objectValue-Value",
						refValue: "EXAMPLE-refValue-Value",
						parameterValue: "EXAMPLE-parameterValue-Value",
						rootObjectValue: "EXAMPLE-rootObjectValue-Value",

						}

					},
				parentRef: {
					parent: "EXAMPLE-parent-Value",
					rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

					}
,

				}
,
			objectStatus: 187,
			metadata: {
				createdBy: "EXAMPLE-createdBy-Value",
				createdByName: "EXAMPLE-createdByName-Value",
				updatedBy: "EXAMPLE-updatedBy-Value",
				updatedByName: "EXAMPLE-updatedByName-Value",
				timeCreated: new Date("Thu Jun 12 02:04:46 UTC 2014"),
				timeUpdated: new Date("Fri Apr 23 10:25:41 UTC 2049"),
				aggregatorKey: "EXAMPLE-aggregatorKey-Value",
				aggregator: {
					type: "EXAMPLE-type-Value",
					key: "EXAMPLE-key-Value",
					name: "EXAMPLE-name-Value",
					identifier: "EXAMPLE-identifier-Value",
					description: "EXAMPLE-description-Value",

					}
,
				identifierPath: "EXAMPLE-identifierPath-Value",
				infoFields: {
					EXAMPLE_KEY_WiUr9 :"EXAMPLE_VALUE_eTgTOo6hBIOi4TnDR0UZ"
					},
				registryVersion: 635,
				labels: ["EXAMPLE--Value"						],
				isFavorite: false,
				countStatistics: {
					objectTypeCountList: [{
							objectType: dataintegration.models.CountStatisticSummary.ObjectType.Folder,
							objectCount: 837,

							}
							],

					}
,

				}
,
			keyMap: {
				EXAMPLE_KEY_ZGzDM :"EXAMPLE_VALUE_C9ju8zspyK6ZNIyENriB"
				},
			typedObjectMap: {
				EXAMPLE_KEY_JUiBu :{
					typedObject: {
						modelType: "OUTPUT_FIELD",						type: {
							modelType: "COMPOSITE_TYPE",							configDefinition: {
								key: "EXAMPLE-key-Value",
								modelType: "EXAMPLE-modelType-Value",
								modelVersion: "EXAMPLE-modelVersion-Value",
								parentRef: {
									parent: "EXAMPLE-parent-Value",
									rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

									}
,
								name: "EXAMPLE-name-Value",
								isContained: false,
								objectStatus: 683,
								configParameterDefinitions: {
									EXAMPLE_KEY_vzIRI :{
										parameterName: "EXAMPLE-parameterName-Value",
										description: "EXAMPLE-description-Value",
										defaultValue: "EXAMPLE-defaultValue-Value",
										classFieldName: "EXAMPLE-classFieldName-Value",
										isStatic: false,
										isClassFieldValue: true,

										}

									},

								}
,
							key: "EXAMPLE-key-Value",
							modelVersion: "EXAMPLE-modelVersion-Value",
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,
							name: "EXAMPLE-name-Value",
							objectStatus: 48,
							description: "EXAMPLE-description-Value"

							}
,
						labels: ["EXAMPLE--Value"								],
						key: "EXAMPLE-key-Value",
						modelVersion: "EXAMPLE-modelVersion-Value",
						parentRef: {
							parent: "EXAMPLE-parent-Value",
							rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

							}
,
						configValues: {
							configParamValues: {
								EXAMPLE_KEY_wNIBd :{
									stringValue: "EXAMPLE-stringValue-Value",
									intValue: 157,
									objectValue: "EXAMPLE-objectValue-Value",
									refValue: "EXAMPLE-refValue-Value",
									parameterValue: "EXAMPLE-parameterValue-Value",
									rootObjectValue: "EXAMPLE-rootObjectValue-Value",

									}

								},
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,

							}
,
						objectStatus: 335,
						name: "EXAMPLE-name-Value",
						description: "EXAMPLE-description-Value"

						}
,

					}

				},
			targetFieldMapSummary: {
				EXAMPLE_KEY_VkEJK :{
					fieldMap: {
						modelType: "RULE_BASED_ENTITY_MAP",						key: "EXAMPLE-key-Value",
						modelVersion: "EXAMPLE-modelVersion-Value",
						parentRef: {
							parent: "EXAMPLE-parent-Value",
							rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

							}
,
						configValues: {
							configParamValues: {
								EXAMPLE_KEY_1U1U7 :{
									stringValue: "EXAMPLE-stringValue-Value",
									intValue: 499,
									objectValue: "EXAMPLE-objectValue-Value",
									refValue: "EXAMPLE-refValue-Value",
									parameterValue: "EXAMPLE-parameterValue-Value",
									rootObjectValue: "EXAMPLE-rootObjectValue-Value",

									}

								},
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,

							}
,
						mapType: dataintegration.models.RuleBasedEntityMap.MapType.Mapbyname,
						fromPattern: "EXAMPLE-fromPattern-Value",
						toPattern: "EXAMPLE-toPattern-Value",
						isJavaRegexSyntax: false,
						objectStatus: 370,
						description: "EXAMPLE-description-Value"

						}
,

					}

				},

			}
,
		conditionalCompositeFieldMap: {
			modelType: "CONDITIONAL_COMPOSITE_FIELD_MAP",			fieldMapScope: [{
					modelType: "NAME_PATTERN_RULE",					isSkipRemainingRulesOnMatch: true,
					scope: "EXAMPLE-scope-Value",
					isCascade: true,
					matchingStrategy: dataintegration.models.NamePatternRule.MatchingStrategy.TagsOnly,
					isCaseSensitive: false,
					ruleType: dataintegration.models.NamePatternRule.RuleType.Exclude,
					pattern: "EXAMPLE-pattern-Value",
					key: "EXAMPLE-key-Value",
					modelVersion: "EXAMPLE-modelVersion-Value",
					parentRef: {
						parent: "EXAMPLE-parent-Value",
						rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

						}
,
					isJavaRegexSyntax: true,
					configValues: {
						configParamValues: {
							EXAMPLE_KEY_62OoK :{
								stringValue: "EXAMPLE-stringValue-Value",
								intValue: 283,
								objectValue: "EXAMPLE-objectValue-Value",
								refValue: "EXAMPLE-refValue-Value",
								parameterValue: "EXAMPLE-parameterValue-Value",
								rootObjectValue: "EXAMPLE-rootObjectValue-Value",

								}

							},
						parentRef: {
							parent: "EXAMPLE-parent-Value",
							rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

							}
,

						}
,
					objectStatus: 581,
					description: "EXAMPLE-description-Value"

					}
					],
			key: "EXAMPLE-key-Value",
			modelVersion: "EXAMPLE-modelVersion-Value",
			parentRef: {
				parent: "EXAMPLE-parent-Value",
				rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

				}
,
			configValues: {
				configParamValues: {
					EXAMPLE_KEY_W3zaZ :{
						stringValue: "EXAMPLE-stringValue-Value",
						intValue: 440,
						objectValue: "EXAMPLE-objectValue-Value",
						refValue: "EXAMPLE-refValue-Value",
						parameterValue: "EXAMPLE-parameterValue-Value",
						rootObjectValue: "EXAMPLE-rootObjectValue-Value",

						}

					},
				parentRef: {
					parent: "EXAMPLE-parent-Value",
					rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

					}
,

				}
,
			objectStatus: 200,
			fieldMaps: [{
					modelType: "NAMED_ENTITY_MAP",					key: "EXAMPLE-key-Value",
					modelVersion: "EXAMPLE-modelVersion-Value",
					parentRef: {
						parent: "EXAMPLE-parent-Value",
						rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

						}
,
					configValues: {
						configParamValues: {
							EXAMPLE_KEY_G7C2g :{
								stringValue: "EXAMPLE-stringValue-Value",
								intValue: 396,
								objectValue: "EXAMPLE-objectValue-Value",
								refValue: "EXAMPLE-refValue-Value",
								parameterValue: "EXAMPLE-parameterValue-Value",
								rootObjectValue: "EXAMPLE-rootObjectValue-Value",

								}

							},
						parentRef: {
							parent: "EXAMPLE-parent-Value",
							rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

							}
,

						}
,
					sourceEntity: "EXAMPLE-sourceEntity-Value",
					targetEntity: "EXAMPLE-targetEntity-Value",
					objectStatus: 698,
					description: "EXAMPLE-description-Value"

					}
					],
			description: "EXAMPLE-description-Value"

			}
,
		isSingleLoad: true,
		parallelLoadLimit: 993,
		key: "EXAMPLE-key-Value",
		modelVersion: "EXAMPLE-modelVersion-Value",
		parentRef: {
			parent: "EXAMPLE-parent-Value",
			rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

			}
,
		name: "EXAMPLE-name-Value",
		description: "EXAMPLE-description-Value",
		objectStatus: 298,
		identifier: "EXAMPLE-identifier-Value",
		inputPorts: [{
				modelType: "INPUT_PORT",				portType: dataintegration.models.InputPort.PortType.Model,
				fields: [{
						modelType: "DYNAMIC_PROXY_FIELD",						type: {
							modelType: "JAVA_TYPE",							javaTypeName: "EXAMPLE-javaTypeName-Value",
							configDefinition: {
								key: "EXAMPLE-key-Value",
								modelType: "EXAMPLE-modelType-Value",
								modelVersion: "EXAMPLE-modelVersion-Value",
								parentRef: {
									parent: "EXAMPLE-parent-Value",
									rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

									}
,
								name: "EXAMPLE-name-Value",
								isContained: false,
								objectStatus: 660,
								configParameterDefinitions: {
									EXAMPLE_KEY_ShihX :{
										parameterName: "EXAMPLE-parameterName-Value",
										description: "EXAMPLE-description-Value",
										defaultValue: "EXAMPLE-defaultValue-Value",
										classFieldName: "EXAMPLE-classFieldName-Value",
										isStatic: true,
										isClassFieldValue: true,

										}

									},

								}
,
							key: "EXAMPLE-key-Value",
							modelVersion: "EXAMPLE-modelVersion-Value",
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,
							name: "EXAMPLE-name-Value",
							objectStatus: 956,
							description: "EXAMPLE-description-Value"

							}
,
						labels: ["EXAMPLE--Value"								],
						key: "EXAMPLE-key-Value",
						modelVersion: "EXAMPLE-modelVersion-Value",
						parentRef: {
							parent: "EXAMPLE-parent-Value",
							rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

							}
,
						configValues: {
							configParamValues: {
								EXAMPLE_KEY_tXxej :{
									stringValue: "EXAMPLE-stringValue-Value",
									intValue: 355,
									objectValue: "EXAMPLE-objectValue-Value",
									refValue: "EXAMPLE-refValue-Value",
									parameterValue: "EXAMPLE-parameterValue-Value",
									rootObjectValue: "EXAMPLE-rootObjectValue-Value",

									}

								},
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,

							}
,
						objectStatus: 167,
						name: "EXAMPLE-name-Value",
						description: "EXAMPLE-description-Value"

						}
						],
				key: "EXAMPLE-key-Value",
				modelVersion: "EXAMPLE-modelVersion-Value",
				parentRef: {
					parent: "EXAMPLE-parent-Value",
					rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

					}
,
				configValues: {
					configParamValues: {
						EXAMPLE_KEY_N01Pl :{
							stringValue: "EXAMPLE-stringValue-Value",
							intValue: 937,
							objectValue: "EXAMPLE-objectValue-Value",
							refValue: "EXAMPLE-refValue-Value",
							parameterValue: "EXAMPLE-parameterValue-Value",
							rootObjectValue: "EXAMPLE-rootObjectValue-Value",

							}

						},
					parentRef: {
						parent: "EXAMPLE-parent-Value",
						rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

						}
,

					}
,
				objectStatus: 771,
				name: "EXAMPLE-name-Value",
				description: "EXAMPLE-description-Value"

				}
				],
		outputPorts: [{
				modelType: "OUTPUT_PORT",				portType: dataintegration.models.OutputPort.PortType.Model,
				fields: [{
						modelType: "DYNAMIC_PROXY_FIELD",						type: {
							modelType: "MATERIALIZED_COMPOSITE_TYPE",							elements: ["EXAMPLE--Value"									],
							pathNames: ["EXAMPLE--Value"									],
							configDefinition: {
								key: "EXAMPLE-key-Value",
								modelType: "EXAMPLE-modelType-Value",
								modelVersion: "EXAMPLE-modelVersion-Value",
								parentRef: {
									parent: "EXAMPLE-parent-Value",
									rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

									}
,
								name: "EXAMPLE-name-Value",
								isContained: true,
								objectStatus: 357,
								configParameterDefinitions: {
									EXAMPLE_KEY_AvliP :{
										parameterName: "EXAMPLE-parameterName-Value",
										description: "EXAMPLE-description-Value",
										defaultValue: "EXAMPLE-defaultValue-Value",
										classFieldName: "EXAMPLE-classFieldName-Value",
										isStatic: false,
										isClassFieldValue: true,

										}

									},

								}
,
							key: "EXAMPLE-key-Value",
							modelVersion: "EXAMPLE-modelVersion-Value",
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,
							name: "EXAMPLE-name-Value",
							objectStatus: 616,
							description: "EXAMPLE-description-Value"

							}
,
						labels: ["EXAMPLE--Value"								],
						key: "EXAMPLE-key-Value",
						modelVersion: "EXAMPLE-modelVersion-Value",
						parentRef: {
							parent: "EXAMPLE-parent-Value",
							rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

							}
,
						configValues: {
							configParamValues: {
								EXAMPLE_KEY_bqvjh :{
									stringValue: "EXAMPLE-stringValue-Value",
									intValue: 726,
									objectValue: "EXAMPLE-objectValue-Value",
									refValue: "EXAMPLE-refValue-Value",
									parameterValue: "EXAMPLE-parameterValue-Value",
									rootObjectValue: "EXAMPLE-rootObjectValue-Value",

									}

								},
							parentRef: {
								parent: "EXAMPLE-parent-Value",
								rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

								}
,

							}
,
						objectStatus: 801,
						name: "EXAMPLE-name-Value",
						description: "EXAMPLE-description-Value"

						}
						],
				key: "EXAMPLE-key-Value",
				modelVersion: "EXAMPLE-modelVersion-Value",
				parentRef: {
					parent: "EXAMPLE-parent-Value",
					rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

					}
,
				configValues: {
					configParamValues: {
						EXAMPLE_KEY_WD0UG :{
							stringValue: "EXAMPLE-stringValue-Value",
							intValue: 782,
							objectValue: "EXAMPLE-objectValue-Value",
							refValue: "EXAMPLE-refValue-Value",
							parameterValue: "EXAMPLE-parameterValue-Value",
							rootObjectValue: "EXAMPLE-rootObjectValue-Value",

							}

						},
					parentRef: {
						parent: "EXAMPLE-parent-Value",
						rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

						}
,

					}
,
				objectStatus: 398,
				name: "EXAMPLE-name-Value",
				description: "EXAMPLE-description-Value"

				}
				],
		parameters: [{
				modelType: "PARAMETER",				type: "EXAMPLE-type-Value",
				defaultValue: "EXAMPLE-defaultValue-Value",
				rootObjectDefaultValue: "EXAMPLE-rootObjectDefaultValue-Value",
				isInput: true,
				isOutput: true,
				outputAggregationType: dataintegration.models.Parameter.OutputAggregationType.Max,
				typeName: "EXAMPLE-typeName-Value",
				usedFor: "EXAMPLE-usedFor-Value",
				key: "EXAMPLE-key-Value",
				modelVersion: "EXAMPLE-modelVersion-Value",
				parentRef: {
					parent: "EXAMPLE-parent-Value",
					rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

					}
,
				configValues: {
					configParamValues: {
						EXAMPLE_KEY_D9l3F :{
							stringValue: "EXAMPLE-stringValue-Value",
							intValue: 780,
							objectValue: "EXAMPLE-objectValue-Value",
							refValue: "EXAMPLE-refValue-Value",
							parameterValue: "EXAMPLE-parameterValue-Value",
							rootObjectValue: "EXAMPLE-rootObjectValue-Value",

							}

						},
					parentRef: {
						parent: "EXAMPLE-parent-Value",
						rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

						}
,

					}
,
				objectStatus: 323,
				name: "EXAMPLE-name-Value",
				description: "EXAMPLE-description-Value"

				}
				],
		opConfigValues: {
			configParamValues: {
				EXAMPLE_KEY_XuEQt :{
					stringValue: "EXAMPLE-stringValue-Value",
					intValue: 992,
					objectValue: "EXAMPLE-objectValue-Value",
					refValue: "EXAMPLE-refValue-Value",
					parameterValue: "EXAMPLE-parameterValue-Value",
					rootObjectValue: "EXAMPLE-rootObjectValue-Value",

					}

				},
			parentRef: {
				parent: "EXAMPLE-parent-Value",
				rootDocId: "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value",

				}
,

			}
,
		configProviderDelegate: {
			bindings: {
				EXAMPLE_KEY_5njZd :{
					simpleValue: "EXAMPLE-simpleValue-Value",
					rootObjectValue: "EXAMPLE-rootObjectValue-Value",

					}

				},

			}
,
		isConcurrentAllowed: false,
		registryMetadata: {
			aggregatorKey: "EXAMPLE-aggregatorKey-Value",
			labels: ["EXAMPLE--Value"					],
			registryVersion: 68,
			key: "EXAMPLE-key-Value",
			isFavorite: true,

			}


		}

	const createTaskRequest: dataintegration.requests.CreateTaskRequest = { 
	workspaceId: "ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
	createTaskDetails: createTaskDetails,
	opcRetryToken: "EXAMPLE-opcRetryToken-Value",
	opcRequestId: "VJ5GDSWO7NLOIMDA9U3U<unique_ID>",

		}; 


     // Send request to the Client.
     const createTaskResponse = await client.createTask(createTaskRequest);
     }
     catch (error) {
         console.log("createTask Failed with error  " + error);
     }
})();