diff --git a/certified-connectors/Assently E-Sign/apiDefinition.swagger.json b/certified-connectors/Assently E-Sign/apiDefinition.swagger.json index 0f36081b37..6b8753538e 100644 --- a/certified-connectors/Assently E-Sign/apiDefinition.swagger.json +++ b/certified-connectors/Assently E-Sign/apiDefinition.swagger.json @@ -3,7 +3,7 @@ "info": { "title": "Assently E-Sign", "description": "Assently E-Sign is a premium SaaS for e-signatures and smart contracts allowing full digitalization for your document workflows.", - "version": "0.5", + "version": "0.6", "x-ms-api-annotation": { "status": "Preview" }, diff --git a/certified-connectors/Assently E-Sign/apiProperties.json b/certified-connectors/Assently E-Sign/apiProperties.json index bf7592b11d..e66700fdf0 100644 --- a/certified-connectors/Assently E-Sign/apiProperties.json +++ b/certified-connectors/Assently E-Sign/apiProperties.json @@ -1,35 +1,84 @@ { "properties": { - "connectionParameters": { - "apiUrl": { - "type": "string", - "uiDefinition": { - "constraints": { - "required": "true", - "tabIndex": 2, - "allowedValues": [ - { "text": "Assently", "value": "https://app.assently.com"}, - { "text": "Assently Test", "value": "https://test.assently.com" } - ] - }, - "description": "Specifies the API Server URL that this connection will be used with.", - "displayName": "Account hosted on", - "tooltip": "Specifies the API Server URL that this connection will be used with." - } + "connectionParameterSets":{ + "uiDefinition": { + "displayName": "Basic or manual setup", + "description": "" }, - "api_key": { - "type": "securestring", - "uiDefinition": { - "displayName": "Personal Access Token", - "description": "The Personal Access Token of the user, available under user profile", - "tooltip": "Provide your Personal Access Token", - "constraints": { - "tabIndex": 3, - "clearText": false, - "required": "true" + "values": [ + { + "name": "Basic", + "uiDefinition": { + "displayName": "Basic setup", + "description": "Pre set servers" + }, + "parameters": { + "apiUrl": { + "type": "string", + "uiDefinition": { + "constraints": { + "required": "true", + "tabIndex": 1, + "allowedValues": [ + { "text": "Assently", "value": "https://app.assently.com"}, + { "text": "Assently Test", "value": "https://test.assently.com" } + ] + }, + "description": "Specifies the API Server URL that this connection will be used with.", + "displayName": "Account hosted on", + "tooltip": "Specifies the API Server URL that this connection will be used with." + } + }, + "api_key": { + "type": "securestring", + "uiDefinition": { + "displayName": "Personal Access Token", + "description": "The Personal Access Token of the user, available under user profile", + "tooltip": "Provide your Personal Access Token", + "constraints": { + "tabIndex": 2, + "clearText": false, + "required": "true" + } + } + } + } + }, + { + "name": "Advanced", + "uiDefinition": { + "displayName": "Manual setup", + "description": "Enter server URL manually." + }, + "parameters": { + "apiUrl": { + "type": "string", + "uiDefinition": { + "constraints": { + "required": "true", + "tabIndex": 1 + }, + "description": "Specifies the API Server URL that this connection will be used with.", + "displayName": "Account hosted on", + "tooltip": "Specifies the API Server URL that this connection will be used with." + } + }, + "api_key": { + "type": "securestring", + "uiDefinition": { + "displayName": "Personal Access Token", + "description": "The Personal Access Token of the user, available under user profile", + "tooltip": "Provide your Personal Access Token", + "constraints": { + "tabIndex": 2, + "clearText": false, + "required": "true" + } + } + } } } - } + ] }, "iconBrandColor": "#7eac00", "capabilities": [],