From 55239f015e55afa0c7f4af4d085d4d052c093936 Mon Sep 17 00:00:00 2001 From: Hazem Adel <74595174+hazemadelkhalel@users.noreply.github.com> Date: Wed, 14 Aug 2024 19:22:35 +0300 Subject: [PATCH] fix: update openapi.json --- docs/openapi.json | 4822 +++++++++------------------------------------ 1 file changed, 886 insertions(+), 3936 deletions(-) diff --git a/docs/openapi.json b/docs/openapi.json index 9efef73c9c..fcb0fd15ae 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -31,6 +31,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -42,9 +45,7 @@ }, "action": { "type": "string", - "enum": [ - "flow.created" - ] + "enum": ["flow.created"] }, "data": { "type": "object", @@ -62,11 +63,7 @@ "type": "string" } }, - "required": [ - "id", - "created", - "updated" - ] + "required": ["id", "created", "updated"] }, "project": { "type": "object", @@ -75,24 +72,13 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] } }, - "required": [ - "flow" - ] + "required": ["flow"] } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, "flow.deleted": { "type": "object", @@ -112,6 +98,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -123,9 +112,7 @@ }, "action": { "type": "string", - "enum": [ - "flow.deleted" - ] + "enum": ["flow.deleted"] }, "data": { "type": "object", @@ -143,11 +130,7 @@ "type": "string" } }, - "required": [ - "id", - "created", - "updated" - ] + "required": ["id", "created", "updated"] }, "flowVersion": { "type": "object", @@ -155,25 +138,25 @@ "id": { "type": "string" }, - "created": { + "displayName": { "type": "string" }, - "updated": { + "flowId": { "type": "string" }, - "flowId": { + "created": { "type": "string" }, - "displayName": { + "updated": { "type": "string" } }, "required": [ "id", - "created", - "updated", + "displayName", "flowId", - "displayName" + "created", + "updated" ] }, "project": { @@ -183,27 +166,15 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] } }, - "required": [ - "flow", - "flowVersion" - ] + "required": ["flow", "flowVersion"] } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, - "flow.updated": { + "connection.upserted": { "type": "object", "properties": { "id": { @@ -221,6 +192,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -231,1752 +205,70 @@ "type": "string" }, "action": { - "type": "string", - "enum": [ - "flow.updated" + "anyOf": [ + { + "type": "string", + "enum": ["connection.deleted"] + }, + { + "type": "string", + "enum": ["connection.upserted"] + } ] }, "data": { "type": "object", "properties": { - "flowVersion": { + "connection": { + "description": "App connection is a connection to an external app.", "type": "object", "properties": { - "id": { - "type": "string" - }, - "created": { - "type": "string" - }, - "updated": { + "name": { "type": "string" }, - "flowId": { + "pieceName": { "type": "string" }, - "displayName": { - "type": "string" - } - }, - "required": [ - "id", - "created", - "updated", - "flowId", - "displayName" - ] - }, - "request": { - "anyOf": [ - { - "title": "Move Action", - "type": "object", - "properties": { - "type": { + "status": { + "anyOf": [ + { "type": "string", - "enum": [ - "MOVE_ACTION" - ] + "enum": ["ACTIVE"] }, - "request": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "newParentStep": { - "type": "string" - }, - "stepLocationRelativeToNewParent": { - "anyOf": [ - { - "type": "string", - "enum": [ - "INSIDE_TRUE_BRANCH" - ] - }, - { - "type": "string", - "enum": [ - "INSIDE_FALSE_BRANCH" - ] - }, - { - "type": "string", - "enum": [ - "AFTER" - ] - }, - { - "type": "string", - "enum": [ - "INSIDE_LOOP" - ] - } - ] - } - }, - "required": [ - "name", - "newParentStep" - ] + { + "type": "string", + "enum": ["ERROR"] } - }, - "required": [ - "type", - "request" ] }, - { - "title": "Change Status", - "type": "object", - "properties": { - "type": { + "type": { + "anyOf": [ + { "type": "string", - "enum": [ - "CHANGE_STATUS" - ] + "enum": ["OAUTH2"] }, - "request": { - "type": "object", - "properties": { - "status": { - "anyOf": [ - { - "type": "string", - "enum": [ - "ENABLED" - ] - }, - { - "type": "string", - "enum": [ - "DISABLED" - ] - } - ] - } - }, - "required": [ - "status" - ] - } - }, - "required": [ - "type", - "request" - ] - }, - { - "title": "Lock and Publish", - "type": "object", - "properties": { - "type": { + { "type": "string", - "enum": [ - "LOCK_AND_PUBLISH" - ] + "enum": ["PLATFORM_OAUTH2"] }, - "request": { - "type": "object", - "properties": {} - } - }, - "required": [ - "type", - "request" - ] - }, - { - "title": "Copy as Draft", - "type": "object", - "properties": { - "type": { + { "type": "string", - "enum": [ - "USE_AS_DRAFT" - ] + "enum": ["CLOUD_OAUTH2"] }, - "request": { - "type": "object", - "properties": { - "versionId": { - "type": "string" - } - }, - "required": [ - "versionId" - ] - } - }, - "required": [ - "type", - "request" - ] - }, - { - "title": "Lock Flow", - "type": "object", - "properties": { - "type": { + { "type": "string", - "enum": [ - "LOCK_FLOW" - ] + "enum": ["SECRET_TEXT"] }, - "request": { - "type": "object", - "properties": {} + { + "type": "string", + "enum": ["BASIC_AUTH"] + }, + { + "type": "string", + "enum": ["CUSTOM_AUTH"] } - }, - "required": [ - "type", - "request" ] }, - { - "title": "Import Flow", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "IMPORT_FLOW" - ] - }, - "request": { - "type": "object", - "properties": { - "displayName": { - "type": "string" - }, - "trigger": { - "anyOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "valid": { - "type": "boolean" - }, - "displayName": { - "type": "string" - }, - "nextAction": {}, - "type": { - "type": "string", - "enum": [ - "PIECE_TRIGGER" - ] - }, - "settings": { - "type": "object", - "properties": { - "pieceName": { - "type": "string" - }, - "pieceVersion": { - "type": "string", - "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$" - }, - "pieceType": { - "anyOf": [ - { - "type": "string", - "enum": [ - "CUSTOM" - ] - }, - { - "type": "string", - "enum": [ - "OFFICIAL" - ] - } - ] - }, - "packageType": { - "anyOf": [ - { - "type": "string", - "enum": [ - "ARCHIVE" - ] - }, - { - "type": "string", - "enum": [ - "REGISTRY" - ] - } - ] - }, - "triggerName": { - "type": "string" - }, - "input": { - "type": "object", - "additionalProperties": {} - }, - "inputUiInfo": { - "additionalProperties": true, - "type": "object", - "properties": { - "currentSelectedData": {}, - "customizedInputs": { - "type": "object", - "additionalProperties": {} - }, - "lastTestDate": { - "type": "string" - } - } - } - }, - "required": [ - "pieceName", - "pieceVersion", - "pieceType", - "packageType", - "triggerName", - "input", - "inputUiInfo" - ] - } - }, - "required": [ - "name", - "valid", - "displayName", - "type", - "settings" - ] - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "valid": { - "type": "boolean" - }, - "displayName": { - "type": "string" - }, - "nextAction": {}, - "type": { - "type": "string", - "enum": [ - "EMPTY" - ] - }, - "settings": {} - }, - "required": [ - "name", - "valid", - "displayName", - "type", - "settings" - ] - } - ] - } - }, - "required": [ - "displayName", - "trigger" - ] - } - }, - "required": [ - "type", - "request" - ] - }, - { - "title": "Change Name", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "CHANGE_NAME" - ] - }, - "request": { - "type": "object", - "properties": { - "displayName": { - "type": "string" - } - }, - "required": [ - "displayName" - ] - } - }, - "required": [ - "type", - "request" - ] - }, - { - "title": "Delete Action", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "DELETE_ACTION" - ] - }, - "request": { - "type": "object", - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ] - } - }, - "required": [ - "type", - "request" - ] - }, - { - "title": "Update Action", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "UPDATE_ACTION" - ] - }, - "request": { - "anyOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "valid": { - "type": "boolean" - }, - "displayName": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "CODE" - ] - }, - "settings": { - "type": "object", - "properties": { - "sourceCode": { - "type": "object", - "properties": { - "packageJson": { - "type": "string" - }, - "code": { - "type": "string" - } - }, - "required": [ - "packageJson", - "code" - ] - }, - "input": { - "type": "object", - "additionalProperties": {} - }, - "inputUiInfo": { - "additionalProperties": true, - "type": "object", - "properties": { - "currentSelectedData": {}, - "customizedInputs": { - "type": "object", - "additionalProperties": {} - }, - "lastTestDate": { - "type": "string" - } - } - }, - "errorHandlingOptions": { - "type": "object", - "properties": { - "continueOnFailure": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "retryOnFailure": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - } - } - } - }, - "required": [ - "sourceCode", - "input" - ] - } - }, - "required": [ - "name", - "valid", - "displayName", - "type", - "settings" - ] - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "valid": { - "type": "boolean" - }, - "displayName": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "LOOP_ON_ITEMS" - ] - }, - "settings": { - "type": "object", - "properties": { - "items": { - "type": "string" - }, - "inputUiInfo": { - "additionalProperties": true, - "type": "object", - "properties": { - "currentSelectedData": {}, - "customizedInputs": { - "type": "object", - "additionalProperties": {} - }, - "lastTestDate": { - "type": "string" - } - } - } - }, - "required": [ - "items", - "inputUiInfo" - ] - } - }, - "required": [ - "name", - "valid", - "displayName", - "type", - "settings" - ] - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "valid": { - "type": "boolean" - }, - "displayName": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "PIECE" - ] - }, - "settings": { - "type": "object", - "properties": { - "packageType": { - "anyOf": [ - { - "type": "string", - "enum": [ - "ARCHIVE" - ] - }, - { - "type": "string", - "enum": [ - "REGISTRY" - ] - } - ] - }, - "pieceType": { - "anyOf": [ - { - "type": "string", - "enum": [ - "CUSTOM" - ] - }, - { - "type": "string", - "enum": [ - "OFFICIAL" - ] - } - ] - }, - "pieceName": { - "type": "string" - }, - "pieceVersion": { - "type": "string", - "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$" - }, - "actionName": { - "type": "string" - }, - "input": { - "type": "object", - "additionalProperties": {} - }, - "inputUiInfo": { - "additionalProperties": true, - "type": "object", - "properties": { - "currentSelectedData": {}, - "customizedInputs": { - "type": "object", - "additionalProperties": {} - }, - "lastTestDate": { - "type": "string" - } - } - }, - "errorHandlingOptions": { - "type": "object", - "properties": { - "continueOnFailure": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "retryOnFailure": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - } - } - } - }, - "required": [ - "packageType", - "pieceType", - "pieceName", - "pieceVersion", - "input", - "inputUiInfo" - ] - } - }, - "required": [ - "name", - "valid", - "displayName", - "type", - "settings" - ] - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "valid": { - "type": "boolean" - }, - "displayName": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "BRANCH" - ] - }, - "settings": { - "type": "object", - "properties": { - "conditions": { - "type": "array", - "items": { - "type": "array", - "items": { - "anyOf": [ - { - "type": "object", - "properties": { - "firstValue": { - "type": "string" - }, - "secondValue": { - "type": "string" - }, - "caseSensitive": { - "type": "boolean" - }, - "operator": { - "anyOf": [ - { - "type": "string", - "enum": [ - "TEXT_CONTAINS" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_DOES_NOT_CONTAIN" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_EXACTLY_MATCHES" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_DOES_NOT_EXACTLY_MATCH" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_START_WITH" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_DOES_NOT_START_WITH" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_ENDS_WITH" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_DOES_NOT_END_WITH" - ] - } - ] - } - }, - "required": [ - "firstValue", - "secondValue" - ] - }, - { - "type": "object", - "properties": { - "firstValue": { - "type": "string" - }, - "secondValue": { - "type": "string" - }, - "operator": { - "anyOf": [ - { - "type": "string", - "enum": [ - "NUMBER_IS_GREATER_THAN" - ] - }, - { - "type": "string", - "enum": [ - "NUMBER_IS_LESS_THAN" - ] - }, - { - "type": "string", - "enum": [ - "NUMBER_IS_EQUAL_TO" - ] - } - ] - } - }, - "required": [ - "firstValue", - "secondValue" - ] - }, - { - "type": "object", - "properties": { - "firstValue": { - "type": "string" - }, - "operator": { - "anyOf": [ - { - "type": "string", - "enum": [ - "EXISTS" - ] - }, - { - "type": "string", - "enum": [ - "DOES_NOT_EXIST" - ] - }, - { - "type": "string", - "enum": [ - "BOOLEAN_IS_TRUE" - ] - }, - { - "type": "string", - "enum": [ - "BOOLEAN_IS_FALSE" - ] - } - ] - } - }, - "required": [ - "firstValue" - ] - } - ] - } - } - }, - "inputUiInfo": { - "additionalProperties": true, - "type": "object", - "properties": { - "currentSelectedData": {}, - "customizedInputs": { - "type": "object", - "additionalProperties": {} - }, - "lastTestDate": { - "type": "string" - } - } - } - }, - "required": [ - "conditions", - "inputUiInfo" - ] - } - }, - "required": [ - "name", - "valid", - "displayName", - "type", - "settings" - ] - } - ] - } - }, - "required": [ - "type", - "request" - ] - }, - { - "title": "Add Action", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "ADD_ACTION" - ] - }, - "request": { - "type": "object", - "properties": { - "parentStep": { - "type": "string" - }, - "stepLocationRelativeToParent": { - "anyOf": [ - { - "type": "string", - "enum": [ - "INSIDE_TRUE_BRANCH" - ] - }, - { - "type": "string", - "enum": [ - "INSIDE_FALSE_BRANCH" - ] - }, - { - "type": "string", - "enum": [ - "AFTER" - ] - }, - { - "type": "string", - "enum": [ - "INSIDE_LOOP" - ] - } - ] - }, - "action": { - "anyOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "valid": { - "type": "boolean" - }, - "displayName": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "CODE" - ] - }, - "settings": { - "type": "object", - "properties": { - "sourceCode": { - "type": "object", - "properties": { - "packageJson": { - "type": "string" - }, - "code": { - "type": "string" - } - }, - "required": [ - "packageJson", - "code" - ] - }, - "input": { - "type": "object", - "additionalProperties": {} - }, - "inputUiInfo": { - "additionalProperties": true, - "type": "object", - "properties": { - "currentSelectedData": {}, - "customizedInputs": { - "type": "object", - "additionalProperties": {} - }, - "lastTestDate": { - "type": "string" - } - } - }, - "errorHandlingOptions": { - "type": "object", - "properties": { - "continueOnFailure": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "retryOnFailure": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - } - } - } - }, - "required": [ - "sourceCode", - "input" - ] - } - }, - "required": [ - "name", - "valid", - "displayName", - "type", - "settings" - ] - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "valid": { - "type": "boolean" - }, - "displayName": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "LOOP_ON_ITEMS" - ] - }, - "settings": { - "type": "object", - "properties": { - "items": { - "type": "string" - }, - "inputUiInfo": { - "additionalProperties": true, - "type": "object", - "properties": { - "currentSelectedData": {}, - "customizedInputs": { - "type": "object", - "additionalProperties": {} - }, - "lastTestDate": { - "type": "string" - } - } - } - }, - "required": [ - "items", - "inputUiInfo" - ] - } - }, - "required": [ - "name", - "valid", - "displayName", - "type", - "settings" - ] - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "valid": { - "type": "boolean" - }, - "displayName": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "PIECE" - ] - }, - "settings": { - "type": "object", - "properties": { - "packageType": { - "anyOf": [ - { - "type": "string", - "enum": [ - "ARCHIVE" - ] - }, - { - "type": "string", - "enum": [ - "REGISTRY" - ] - } - ] - }, - "pieceType": { - "anyOf": [ - { - "type": "string", - "enum": [ - "CUSTOM" - ] - }, - { - "type": "string", - "enum": [ - "OFFICIAL" - ] - } - ] - }, - "pieceName": { - "type": "string" - }, - "pieceVersion": { - "type": "string", - "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$" - }, - "actionName": { - "type": "string" - }, - "input": { - "type": "object", - "additionalProperties": {} - }, - "inputUiInfo": { - "additionalProperties": true, - "type": "object", - "properties": { - "currentSelectedData": {}, - "customizedInputs": { - "type": "object", - "additionalProperties": {} - }, - "lastTestDate": { - "type": "string" - } - } - }, - "errorHandlingOptions": { - "type": "object", - "properties": { - "continueOnFailure": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - }, - "retryOnFailure": { - "type": "object", - "properties": { - "value": { - "type": "boolean" - } - }, - "required": [ - "value" - ] - } - } - } - }, - "required": [ - "packageType", - "pieceType", - "pieceName", - "pieceVersion", - "input", - "inputUiInfo" - ] - } - }, - "required": [ - "name", - "valid", - "displayName", - "type", - "settings" - ] - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "valid": { - "type": "boolean" - }, - "displayName": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "BRANCH" - ] - }, - "settings": { - "type": "object", - "properties": { - "conditions": { - "type": "array", - "items": { - "type": "array", - "items": { - "anyOf": [ - { - "type": "object", - "properties": { - "firstValue": { - "type": "string" - }, - "secondValue": { - "type": "string" - }, - "caseSensitive": { - "type": "boolean" - }, - "operator": { - "anyOf": [ - { - "type": "string", - "enum": [ - "TEXT_CONTAINS" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_DOES_NOT_CONTAIN" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_EXACTLY_MATCHES" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_DOES_NOT_EXACTLY_MATCH" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_START_WITH" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_DOES_NOT_START_WITH" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_ENDS_WITH" - ] - }, - { - "type": "string", - "enum": [ - "TEXT_DOES_NOT_END_WITH" - ] - } - ] - } - }, - "required": [ - "firstValue", - "secondValue" - ] - }, - { - "type": "object", - "properties": { - "firstValue": { - "type": "string" - }, - "secondValue": { - "type": "string" - }, - "operator": { - "anyOf": [ - { - "type": "string", - "enum": [ - "NUMBER_IS_GREATER_THAN" - ] - }, - { - "type": "string", - "enum": [ - "NUMBER_IS_LESS_THAN" - ] - }, - { - "type": "string", - "enum": [ - "NUMBER_IS_EQUAL_TO" - ] - } - ] - } - }, - "required": [ - "firstValue", - "secondValue" - ] - }, - { - "type": "object", - "properties": { - "firstValue": { - "type": "string" - }, - "operator": { - "anyOf": [ - { - "type": "string", - "enum": [ - "EXISTS" - ] - }, - { - "type": "string", - "enum": [ - "DOES_NOT_EXIST" - ] - }, - { - "type": "string", - "enum": [ - "BOOLEAN_IS_TRUE" - ] - }, - { - "type": "string", - "enum": [ - "BOOLEAN_IS_FALSE" - ] - } - ] - } - }, - "required": [ - "firstValue" - ] - } - ] - } - } - }, - "inputUiInfo": { - "additionalProperties": true, - "type": "object", - "properties": { - "currentSelectedData": {}, - "customizedInputs": { - "type": "object", - "additionalProperties": {} - }, - "lastTestDate": { - "type": "string" - } - } - } - }, - "required": [ - "conditions", - "inputUiInfo" - ] - } - }, - "required": [ - "name", - "valid", - "displayName", - "type", - "settings" - ] - } - ] - } - }, - "required": [ - "parentStep", - "action" - ] - } - }, - "required": [ - "type", - "request" - ] - }, - { - "title": "Update Trigger", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "UPDATE_TRIGGER" - ] - }, - "request": { - "anyOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "valid": { - "type": "boolean" - }, - "displayName": { - "type": "string" - }, - "nextAction": {}, - "type": { - "type": "string", - "enum": [ - "EMPTY" - ] - }, - "settings": {} - }, - "required": [ - "name", - "valid", - "displayName", - "type", - "settings" - ] - }, - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "valid": { - "type": "boolean" - }, - "displayName": { - "type": "string" - }, - "nextAction": {}, - "type": { - "type": "string", - "enum": [ - "PIECE_TRIGGER" - ] - }, - "settings": { - "type": "object", - "properties": { - "pieceName": { - "type": "string" - }, - "pieceVersion": { - "type": "string", - "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$" - }, - "pieceType": { - "anyOf": [ - { - "type": "string", - "enum": [ - "CUSTOM" - ] - }, - { - "type": "string", - "enum": [ - "OFFICIAL" - ] - } - ] - }, - "packageType": { - "anyOf": [ - { - "type": "string", - "enum": [ - "ARCHIVE" - ] - }, - { - "type": "string", - "enum": [ - "REGISTRY" - ] - } - ] - }, - "triggerName": { - "type": "string" - }, - "input": { - "type": "object", - "additionalProperties": {} - }, - "inputUiInfo": { - "additionalProperties": true, - "type": "object", - "properties": { - "currentSelectedData": {}, - "customizedInputs": { - "type": "object", - "additionalProperties": {} - }, - "lastTestDate": { - "type": "string" - } - } - } - }, - "required": [ - "pieceName", - "pieceVersion", - "pieceType", - "packageType", - "triggerName", - "input", - "inputUiInfo" - ] - } - }, - "required": [ - "name", - "valid", - "displayName", - "type", - "settings" - ] - } - ] - } - }, - "required": [ - "type", - "request" - ] - }, - { - "title": "Change Folder", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "CHANGE_FOLDER" - ] - }, - "request": { - "type": "object", - "properties": { - "folderId": { - "type": "string", - "nullable": true - } - } - } - }, - "required": [ - "type", - "request" - ] - }, - { - "title": "Duplicate Action", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "DUPLICATE_ACTION" - ] - }, - "request": { - "type": "object", - "properties": { - "stepName": { - "type": "string" - } - }, - "required": [ - "stepName" - ] - } - }, - "required": [ - "type", - "request" - ] - } - ] - }, - "project": { - "type": "object", - "properties": { - "displayName": { - "type": "string" - } - }, - "required": [ - "displayName" - ] - } - }, - "required": [ - "flowVersion", - "request" - ] - } - }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] - }, - "connection.upserted": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "created": { - "type": "string" - }, - "updated": { - "type": "string" - }, - "platformId": { - "type": "string" - }, - "projectId": { - "type": "string" - }, - "userId": { - "type": "string" - }, - "userEmail": { - "type": "string" - }, - "ip": { - "type": "string" - }, - "action": { - "anyOf": [ - { - "type": "string", - "enum": [ - "connection.deleted" - ] - }, - { - "type": "string", - "enum": [ - "connection.upserted" - ] - } - ] - }, - "data": { - "type": "object", - "properties": { - "connection": { - "description": "App connection is a connection to an external app.", - "type": "object", - "properties": { "id": { "type": "string" }, @@ -1985,78 +277,16 @@ }, "updated": { "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "anyOf": [ - { - "type": "string", - "enum": [ - "OAUTH2" - ] - }, - { - "type": "string", - "enum": [ - "PLATFORM_OAUTH2" - ] - }, - { - "type": "string", - "enum": [ - "CLOUD_OAUTH2" - ] - }, - { - "type": "string", - "enum": [ - "SECRET_TEXT" - ] - }, - { - "type": "string", - "enum": [ - "BASIC_AUTH" - ] - }, - { - "type": "string", - "enum": [ - "CUSTOM_AUTH" - ] - } - ] - }, - "pieceName": { - "type": "string" - }, - "status": { - "anyOf": [ - { - "type": "string", - "enum": [ - "ACTIVE" - ] - }, - { - "type": "string", - "enum": [ - "ERROR" - ] - } - ] } }, "required": [ - "id", - "created", - "updated", "name", - "type", "pieceName", - "status" + "status", + "type", + "id", + "created", + "updated" ] }, "project": { @@ -2066,24 +296,13 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] } }, - "required": [ - "connection" - ] + "required": ["connection"] } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, "connection.deleted": { "type": "object", @@ -2103,6 +322,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -2116,15 +338,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "connection.deleted" - ] + "enum": ["connection.deleted"] }, { "type": "string", - "enum": [ - "connection.upserted" - ] + "enum": ["connection.upserted"] } ] }, @@ -2135,86 +353,70 @@ "description": "App connection is a connection to an external app.", "type": "object", "properties": { - "id": { - "type": "string" - }, - "created": { + "name": { "type": "string" }, - "updated": { + "pieceName": { "type": "string" }, - "name": { - "type": "string" + "status": { + "anyOf": [ + { + "type": "string", + "enum": ["ACTIVE"] + }, + { + "type": "string", + "enum": ["ERROR"] + } + ] }, "type": { "anyOf": [ { "type": "string", - "enum": [ - "OAUTH2" - ] + "enum": ["OAUTH2"] }, { "type": "string", - "enum": [ - "PLATFORM_OAUTH2" - ] + "enum": ["PLATFORM_OAUTH2"] }, { "type": "string", - "enum": [ - "CLOUD_OAUTH2" - ] + "enum": ["CLOUD_OAUTH2"] }, { "type": "string", - "enum": [ - "SECRET_TEXT" - ] + "enum": ["SECRET_TEXT"] }, { "type": "string", - "enum": [ - "BASIC_AUTH" - ] + "enum": ["BASIC_AUTH"] }, { "type": "string", - "enum": [ - "CUSTOM_AUTH" - ] + "enum": ["CUSTOM_AUTH"] } ] }, - "pieceName": { + "id": { "type": "string" }, - "status": { - "anyOf": [ - { - "type": "string", - "enum": [ - "ACTIVE" - ] - }, - { - "type": "string", - "enum": [ - "ERROR" - ] - } - ] + "created": { + "type": "string" + }, + "updated": { + "type": "string" } }, "required": [ - "id", - "created", - "updated", "name", - "type", "pieceName", - "status" + "status", + "type", + "id", + "created", + "updated" ] }, "project": { @@ -2224,24 +426,13 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] } }, - "required": [ - "connection" - ] + "required": ["connection"] } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, "folder.created": { "type": "object", @@ -2261,6 +452,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -2274,21 +468,15 @@ "anyOf": [ { "type": "string", - "enum": [ - "folder.updated" - ] + "enum": ["folder.updated"] }, { "type": "string", - "enum": [ - "folder.created" - ] + "enum": ["folder.created"] }, { "type": "string", - "enum": [ - "folder.deleted" - ] + "enum": ["folder.deleted"] } ] }, @@ -2301,22 +489,17 @@ "id": { "type": "string" }, - "created": { + "displayName": { "type": "string" }, - "updated": { + "created": { "type": "string" }, - "displayName": { + "updated": { "type": "string" } }, - "required": [ - "id", - "created", - "updated", - "displayName" - ] + "required": ["id", "displayName", "created", "updated"] }, "project": { "type": "object", @@ -2325,24 +508,13 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] } }, - "required": [ - "folder" - ] + "required": ["folder"] } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, "folder.updated": { "type": "object", @@ -2362,6 +534,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -2375,21 +550,15 @@ "anyOf": [ { "type": "string", - "enum": [ - "folder.updated" - ] + "enum": ["folder.updated"] }, { "type": "string", - "enum": [ - "folder.created" - ] + "enum": ["folder.created"] }, { "type": "string", - "enum": [ - "folder.deleted" - ] + "enum": ["folder.deleted"] } ] }, @@ -2402,22 +571,17 @@ "id": { "type": "string" }, - "created": { + "displayName": { "type": "string" }, - "updated": { + "created": { "type": "string" }, - "displayName": { + "updated": { "type": "string" } }, - "required": [ - "id", - "created", - "updated", - "displayName" - ] + "required": ["id", "displayName", "created", "updated"] }, "project": { "type": "object", @@ -2426,24 +590,13 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] } }, - "required": [ - "folder" - ] + "required": ["folder"] } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, "folder.deleted": { "type": "object", @@ -2463,6 +616,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -2476,21 +632,15 @@ "anyOf": [ { "type": "string", - "enum": [ - "folder.updated" - ] + "enum": ["folder.updated"] }, { "type": "string", - "enum": [ - "folder.created" - ] + "enum": ["folder.created"] }, { "type": "string", - "enum": [ - "folder.deleted" - ] + "enum": ["folder.deleted"] } ] }, @@ -2503,22 +653,17 @@ "id": { "type": "string" }, - "created": { + "displayName": { "type": "string" }, - "updated": { + "created": { "type": "string" }, - "displayName": { + "updated": { "type": "string" } }, - "required": [ - "id", - "created", - "updated", - "displayName" - ] + "required": ["id", "displayName", "created", "updated"] }, "project": { "type": "object", @@ -2527,24 +672,13 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] } }, - "required": [ - "folder" - ] + "required": ["folder"] } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, "flow.run.started": { "type": "object", @@ -2564,6 +698,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -2577,15 +714,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "flow.run.started" - ] + "enum": ["flow.run.started"] }, { "type": "string", - "enum": [ - "flow.run.finished" - ] + "enum": ["flow.run.finished"] } ] }, @@ -2598,6 +731,27 @@ "id": { "type": "string" }, + "startTime": { + "type": "string" + }, + "finishTime": { + "type": "string" + }, + "duration": { + "type": "number" + }, + "environment": { + "anyOf": [ + { + "type": "string", + "enum": ["PRODUCTION"] + }, + { + "type": "string", + "enum": ["TESTING"] + } + ] + }, "flowId": { "type": "string" }, @@ -2611,89 +765,47 @@ "anyOf": [ { "type": "string", - "enum": [ - "FAILED" - ] - }, - { - "type": "string", - "enum": [ - "QUOTA_EXCEEDED" - ] + "enum": ["FAILED"] }, { "type": "string", - "enum": [ - "INTERNAL_ERROR" - ] + "enum": ["QUOTA_EXCEEDED"] }, { "type": "string", - "enum": [ - "PAUSED" - ] + "enum": ["INTERNAL_ERROR"] }, { "type": "string", - "enum": [ - "RUNNING" - ] + "enum": ["PAUSED"] }, { "type": "string", - "enum": [ - "STOPPED" - ] + "enum": ["RUNNING"] }, { "type": "string", - "enum": [ - "SUCCEEDED" - ] + "enum": ["STOPPED"] }, { "type": "string", - "enum": [ - "TIMEOUT" - ] - } - ] - }, - "duration": { - "type": "number" - }, - "startTime": { - "type": "string" - }, - "finishTime": { - "type": "string" - }, - "environment": { - "anyOf": [ - { - "type": "string", - "enum": [ - "PRODUCTION" - ] + "enum": ["SUCCEEDED"] }, { "type": "string", - "enum": [ - "TESTING" - ] + "enum": ["TIMEOUT"] } ] } }, "required": [ "id", + "startTime", + "environment", "flowId", "flowVersionId", "flowDisplayName", - "status", - "startTime", - "finishTime", - "environment" + "status" ] }, "project": { @@ -2703,24 +815,13 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] } }, - "required": [ - "flowRun" - ] + "required": ["flowRun"] } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, "flow.run.finished": { "type": "object", @@ -2740,6 +841,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -2753,15 +857,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "flow.run.started" - ] + "enum": ["flow.run.started"] }, { "type": "string", - "enum": [ - "flow.run.finished" - ] + "enum": ["flow.run.finished"] } ] }, @@ -2774,102 +874,81 @@ "id": { "type": "string" }, - "flowId": { + "startTime": { "type": "string" }, - "flowVersionId": { + "finishTime": { "type": "string" }, - "flowDisplayName": { - "type": "string" + "duration": { + "type": "number" }, - "status": { + "environment": { "anyOf": [ { "type": "string", - "enum": [ - "FAILED" - ] + "enum": ["PRODUCTION"] }, { "type": "string", - "enum": [ - "QUOTA_EXCEEDED" - ] - }, + "enum": ["TESTING"] + } + ] + }, + "flowId": { + "type": "string" + }, + "flowVersionId": { + "type": "string" + }, + "flowDisplayName": { + "type": "string" + }, + "status": { + "anyOf": [ { "type": "string", - "enum": [ - "INTERNAL_ERROR" - ] + "enum": ["FAILED"] }, { "type": "string", - "enum": [ - "PAUSED" - ] + "enum": ["QUOTA_EXCEEDED"] }, { "type": "string", - "enum": [ - "RUNNING" - ] + "enum": ["INTERNAL_ERROR"] }, { "type": "string", - "enum": [ - "STOPPED" - ] + "enum": ["PAUSED"] }, { "type": "string", - "enum": [ - "SUCCEEDED" - ] + "enum": ["RUNNING"] }, { "type": "string", - "enum": [ - "TIMEOUT" - ] - } - ] - }, - "duration": { - "type": "number" - }, - "startTime": { - "type": "string" - }, - "finishTime": { - "type": "string" - }, - "environment": { - "anyOf": [ + "enum": ["STOPPED"] + }, { "type": "string", - "enum": [ - "PRODUCTION" - ] + "enum": ["SUCCEEDED"] }, { "type": "string", - "enum": [ - "TESTING" - ] + "enum": ["TIMEOUT"] } ] } }, "required": [ "id", + "startTime", + "environment", "flowId", "flowVersionId", "flowDisplayName", - "status", - "startTime", - "finishTime", - "environment" + "status" ] }, "project": { @@ -2879,24 +958,13 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] } }, - "required": [ - "flowRun" - ] + "required": ["flowRun"] } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, "user.signed.up": { "type": "object", @@ -2916,6 +984,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -2927,9 +998,7 @@ }, "action": { "type": "string", - "enum": [ - "user.signed.up" - ] + "enum": ["user.signed.up"] }, "data": { "type": "object", @@ -2938,31 +1007,25 @@ "anyOf": [ { "type": "string", - "enum": [ - "credentials" - ] + "enum": ["credentials"] }, { "type": "string", - "enum": [ - "sso" - ] + "enum": ["sso"] }, { "type": "string", - "enum": [ - "managed" - ] + "enum": ["managed"] } ] }, "user": { "type": "object", "properties": { - "id": { + "email": { "type": "string" }, - "email": { + "id": { "type": "string" }, "firstName": { @@ -2972,27 +1035,13 @@ "type": "string" } }, - "required": [ - "id", - "email", - "firstName", - "lastName" - ] + "required": ["email", "id", "firstName", "lastName"] } }, - "required": [ - "source" - ] + "required": ["source"] } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, "user.signed.in": { "type": "object", @@ -3012,6 +1061,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -3025,21 +1077,15 @@ "anyOf": [ { "type": "string", - "enum": [ - "user.signed.in" - ] + "enum": ["user.signed.in"] }, { "type": "string", - "enum": [ - "user.password.reset" - ] + "enum": ["user.password.reset"] }, { "type": "string", - "enum": [ - "user.email.verified" - ] + "enum": ["user.email.verified"] } ] }, @@ -3049,10 +1095,10 @@ "user": { "type": "object", "properties": { - "id": { + "email": { "type": "string" }, - "email": { + "id": { "type": "string" }, "firstName": { @@ -3062,24 +1108,12 @@ "type": "string" } }, - "required": [ - "id", - "email", - "firstName", - "lastName" - ] + "required": ["email", "id", "firstName", "lastName"] } } } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, "user.password.reset": { "type": "object", @@ -3099,6 +1133,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -3112,21 +1149,15 @@ "anyOf": [ { "type": "string", - "enum": [ - "user.signed.in" - ] + "enum": ["user.signed.in"] }, { "type": "string", - "enum": [ - "user.password.reset" - ] + "enum": ["user.password.reset"] }, { "type": "string", - "enum": [ - "user.email.verified" - ] + "enum": ["user.email.verified"] } ] }, @@ -3136,10 +1167,10 @@ "user": { "type": "object", "properties": { - "id": { + "email": { "type": "string" }, - "email": { + "id": { "type": "string" }, "firstName": { @@ -3149,24 +1180,12 @@ "type": "string" } }, - "required": [ - "id", - "email", - "firstName", - "lastName" - ] + "required": ["email", "id", "firstName", "lastName"] } } } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, "user.email.verified": { "type": "object", @@ -3186,6 +1205,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -3199,21 +1221,15 @@ "anyOf": [ { "type": "string", - "enum": [ - "user.signed.in" - ] + "enum": ["user.signed.in"] }, { "type": "string", - "enum": [ - "user.password.reset" - ] + "enum": ["user.password.reset"] }, { "type": "string", - "enum": [ - "user.email.verified" - ] + "enum": ["user.email.verified"] } ] }, @@ -3223,10 +1239,10 @@ "user": { "type": "object", "properties": { - "id": { + "email": { "type": "string" }, - "email": { + "id": { "type": "string" }, "firstName": { @@ -3236,24 +1252,12 @@ "type": "string" } }, - "required": [ - "id", - "email", - "firstName", - "lastName" - ] + "required": ["email", "id", "firstName", "lastName"] } } } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, "signing.key.created": { "type": "object", @@ -3273,6 +1277,9 @@ "projectId": { "type": "string" }, + "projectDisplayName": { + "type": "string" + }, "userId": { "type": "string" }, @@ -3284,9 +1291,7 @@ }, "action": { "type": "string", - "enum": [ - "signing.key.created" - ] + "enum": ["signing.key.created"] }, "data": { "type": "object", @@ -3307,27 +1312,13 @@ "type": "string" } }, - "required": [ - "id", - "created", - "updated", - "displayName" - ] + "required": ["id", "created", "updated", "displayName"] } }, - "required": [ - "signingKey" - ] + "required": ["signingKey"] } }, - "required": [ - "id", - "created", - "updated", - "platformId", - "action", - "data" - ] + "required": ["id", "created", "updated", "platformId", "action", "data"] }, "user-invitation": { "type": "object", @@ -3348,15 +1339,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "PENDING" - ] + "enum": ["PENDING"] }, { "type": "string", - "enum": [ - "ACCEPTED" - ] + "enum": ["ACCEPTED"] } ] }, @@ -3364,15 +1351,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "PLATFORM" - ] + "enum": ["PLATFORM"] }, { "type": "string", - "enum": [ - "PROJECT" - ] + "enum": ["PROJECT"] } ] }, @@ -3383,48 +1366,39 @@ "anyOf": [ { "type": "string", - "enum": [ - "ADMIN" - ] + "enum": ["ADMIN"] }, { "type": "string", - "enum": [ - "MEMBER" - ] + "enum": ["MEMBER"] } - ] + ], + "nullable": true }, "projectId": { - "type": "string" + "type": "string", + "nullable": true }, "projectRole": { "anyOf": [ { "type": "string", - "enum": [ - "ADMIN" - ] + "enum": ["ADMIN"] }, { "type": "string", - "enum": [ - "EDITOR" - ] + "enum": ["EDITOR"] }, { "type": "string", - "enum": [ - "OPERATOR" - ] + "enum": ["OPERATOR"] }, { "type": "string", - "enum": [ - "VIEWER" - ] + "enum": ["VIEWER"] } - ] + ], + "nullable": true } }, "required": [ @@ -3465,27 +1439,19 @@ "anyOf": [ { "type": "string", - "enum": [ - "ADMIN" - ] + "enum": ["ADMIN"] }, { "type": "string", - "enum": [ - "EDITOR" - ] + "enum": ["EDITOR"] }, { "type": "string", - "enum": [ - "OPERATOR" - ] + "enum": ["OPERATOR"] }, { "type": "string", - "enum": [ - "VIEWER" - ] + "enum": ["VIEWER"] } ] } @@ -3522,21 +1488,15 @@ "anyOf": [ { "type": "string", - "enum": [ - "NEVER" - ] + "enum": ["NEVER"] }, { "type": "string", - "enum": [ - "ALWAYS" - ] + "enum": ["ALWAYS"] }, { "type": "string", - "enum": [ - "NEW_ISSUE" - ] + "enum": ["NEW_ISSUE"] } ] }, @@ -3557,10 +1517,7 @@ "type": "number" } }, - "required": [ - "tasks", - "teamMembers" - ] + "required": ["tasks", "teamMembers"] }, "plan": { "type": "object", @@ -3587,15 +1544,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "NONE" - ] + "enum": ["NONE"] }, { "type": "string", - "enum": [ - "ALLOWED" - ] + "enum": ["ALLOWED"] } ] }, @@ -3665,15 +1618,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ENABLED" - ] + "enum": ["ENABLED"] }, { "type": "string", - "enum": [ - "DISABLED" - ] + "enum": ["DISABLED"] } ] }, @@ -3682,22 +1631,19 @@ "properties": { "type": { "type": "string", - "enum": [ - "CRON_EXPRESSION" - ] + "enum": ["CRON_EXPRESSION"] }, "cronExpression": { "type": "string" }, "timezone": { "type": "string" + }, + "failureCount": { + "type": "number" } }, - "required": [ - "type", - "cronExpression", - "timezone" - ], + "required": ["type", "cronExpression", "timezone"], "nullable": true }, "publishedVersionId": { @@ -3705,13 +1651,7 @@ "nullable": true } }, - "required": [ - "id", - "created", - "updated", - "projectId", - "status" - ] + "required": ["id", "created", "updated", "projectId", "status"] }, "flow-run": { "type": "object", @@ -3757,51 +1697,35 @@ "anyOf": [ { "type": "string", - "enum": [ - "FAILED" - ] + "enum": ["FAILED"] }, { "type": "string", - "enum": [ - "QUOTA_EXCEEDED" - ] + "enum": ["QUOTA_EXCEEDED"] }, { "type": "string", - "enum": [ - "INTERNAL_ERROR" - ] + "enum": ["INTERNAL_ERROR"] }, { "type": "string", - "enum": [ - "PAUSED" - ] + "enum": ["PAUSED"] }, { "type": "string", - "enum": [ - "RUNNING" - ] + "enum": ["RUNNING"] }, { "type": "string", - "enum": [ - "STOPPED" - ] + "enum": ["STOPPED"] }, { "type": "string", - "enum": [ - "SUCCEEDED" - ] + "enum": ["SUCCEEDED"] }, { "type": "string", - "enum": [ - "TIMEOUT" - ] + "enum": ["TIMEOUT"] } ] }, @@ -3818,15 +1742,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "PRODUCTION" - ] + "enum": ["PRODUCTION"] }, { "type": "string", - "enum": [ - "TESTING" - ] + "enum": ["TESTING"] } ] }, @@ -3837,9 +1757,7 @@ "properties": { "type": { "type": "string", - "enum": [ - "DELAY" - ] + "enum": ["DELAY"] }, "resumeDateTime": { "type": "string" @@ -3851,38 +1769,27 @@ "anyOf": [ { "type": "string", - "enum": [ - "WEBHOOK_RESPONSE" - ] + "enum": ["WEBHOOK_RESPONSE"] }, { "type": "string", - "enum": [ - "TEST_FLOW" - ] + "enum": ["TEST_FLOW"] }, { "type": "string", - "enum": [ - "NONE" - ] + "enum": ["NONE"] } ] } }, - "required": [ - "type", - "resumeDateTime" - ] + "required": ["type", "resumeDateTime"] }, { "type": "object", "properties": { "type": { "type": "string", - "enum": [ - "WEBHOOK" - ] + "enum": ["WEBHOOK"] }, "requestId": { "type": "string" @@ -3895,30 +1802,20 @@ "anyOf": [ { "type": "string", - "enum": [ - "WEBHOOK_RESPONSE" - ] + "enum": ["WEBHOOK_RESPONSE"] }, { "type": "string", - "enum": [ - "TEST_FLOW" - ] + "enum": ["TEST_FLOW"] }, { "type": "string", - "enum": [ - "NONE" - ] + "enum": ["NONE"] } ] } }, - "required": [ - "type", - "requestId", - "response" - ] + "required": ["type", "requestId", "response"] } ] }, @@ -3937,7 +1834,6 @@ "flowDisplayName", "status", "startTime", - "finishTime", "environment", "steps" ] @@ -3962,39 +1858,27 @@ "anyOf": [ { "type": "string", - "enum": [ - "OAUTH2" - ] + "enum": ["OAUTH2"] }, { "type": "string", - "enum": [ - "PLATFORM_OAUTH2" - ] + "enum": ["PLATFORM_OAUTH2"] }, { "type": "string", - "enum": [ - "CLOUD_OAUTH2" - ] + "enum": ["CLOUD_OAUTH2"] }, { "type": "string", - "enum": [ - "SECRET_TEXT" - ] + "enum": ["SECRET_TEXT"] }, { "type": "string", - "enum": [ - "BASIC_AUTH" - ] + "enum": ["BASIC_AUTH"] }, { "type": "string", - "enum": [ - "CUSTOM_AUTH" - ] + "enum": ["CUSTOM_AUTH"] } ] }, @@ -4009,15 +1893,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ACTIVE" - ] + "enum": ["ACTIVE"] }, { "type": "string", - "enum": [ - "ERROR" - ] + "enum": ["ERROR"] } ] } @@ -4087,9 +1967,7 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] }, "password": { "type": "object", @@ -4101,15 +1979,11 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] }, "type": { "type": "string", - "enum": [ - "BASIC_AUTH" - ] + "enum": ["BASIC_AUTH"] }, "required": { "type": "boolean" @@ -4148,20 +2022,14 @@ }, "type": { "type": "string", - "enum": [ - "SHORT_TEXT" - ] + "enum": ["SHORT_TEXT"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -4174,20 +2042,14 @@ }, "type": { "type": "string", - "enum": [ - "LONG_TEXT" - ] + "enum": ["LONG_TEXT"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -4200,20 +2062,14 @@ }, "type": { "type": "string", - "enum": [ - "NUMBER" - ] + "enum": ["NUMBER"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -4226,20 +2082,14 @@ }, "type": { "type": "string", - "enum": [ - "CHECKBOX" - ] + "enum": ["CHECKBOX"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -4269,22 +2119,15 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", - "enum": [ - "STATIC_DROPDOWN" - ] + "enum": ["STATIC_DROPDOWN"] }, "required": { "type": "boolean" @@ -4303,21 +2146,14 @@ }, "type": { "type": "string", - "enum": [ - "CUSTOM_AUTH" - ] + "enum": ["CUSTOM_AUTH"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "props", - "type", - "required" - ] + "required": ["displayName", "props", "type", "required"] }, { "type": "object", @@ -4343,20 +2179,14 @@ }, "type": { "type": "string", - "enum": [ - "SHORT_TEXT" - ] + "enum": ["SHORT_TEXT"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -4369,20 +2199,14 @@ }, "type": { "type": "string", - "enum": [ - "SECRET_TEXT" - ] + "enum": ["SECRET_TEXT"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -4412,22 +2236,15 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", - "enum": [ - "STATIC_DROPDOWN" - ] + "enum": ["STATIC_DROPDOWN"] }, "required": { "type": "boolean" @@ -4463,15 +2280,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "HEADER" - ] + "enum": ["HEADER"] }, { "type": "string", - "enum": [ - "BODY" - ] + "enum": ["BODY"] } ] }, @@ -4479,15 +2292,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "authorization_code" - ] + "enum": ["authorization_code"] }, { "type": "string", - "enum": [ - "client_credentials" - ] + "enum": ["client_credentials"] } ] }, @@ -4497,9 +2306,7 @@ }, "type": { "type": "string", - "enum": [ - "OAUTH2" - ] + "enum": ["OAUTH2"] }, "required": { "type": "boolean" @@ -4526,20 +2333,14 @@ }, "type": { "type": "string", - "enum": [ - "SECRET_TEXT" - ] + "enum": ["SECRET_TEXT"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] } ] }, @@ -4552,99 +2353,67 @@ "anyOf": [ { "type": "string", - "enum": [ - "ARTIFICIAL_INTELLIGENCE" - ] + "enum": ["ARTIFICIAL_INTELLIGENCE"] }, { "type": "string", - "enum": [ - "COMMUNICATION" - ] + "enum": ["COMMUNICATION"] }, { "type": "string", - "enum": [ - "COMMERCE" - ] + "enum": ["COMMERCE"] }, { "type": "string", - "enum": [ - "CORE" - ] + "enum": ["CORE"] }, { "type": "string", - "enum": [ - "BUSINESS_INTELLIGENCE" - ] + "enum": ["BUSINESS_INTELLIGENCE"] }, { "type": "string", - "enum": [ - "ACCOUNTING" - ] + "enum": ["ACCOUNTING"] }, { "type": "string", - "enum": [ - "PRODUCTIVITY" - ] + "enum": ["PRODUCTIVITY"] }, { "type": "string", - "enum": [ - "CONTENT_AND_FILES" - ] + "enum": ["CONTENT_AND_FILES"] }, { "type": "string", - "enum": [ - "DEVELOPER_TOOLS" - ] + "enum": ["DEVELOPER_TOOLS"] }, { "type": "string", - "enum": [ - "CUSTOMER_SUPPORT" - ] + "enum": ["CUSTOMER_SUPPORT"] }, { "type": "string", - "enum": [ - "FORMS_AND_SURVEYS" - ] + "enum": ["FORMS_AND_SURVEYS"] }, { "type": "string", - "enum": [ - "HUMAN_RESOURCES" - ] + "enum": ["HUMAN_RESOURCES"] }, { "type": "string", - "enum": [ - "PAYMENT_PROCESSING" - ] + "enum": ["PAYMENT_PROCESSING"] }, { "type": "string", - "enum": [ - "MARKETING" - ] + "enum": ["MARKETING"] }, { "type": "string", - "enum": [ - "SALES_AND_CRM" - ] + "enum": ["SALES_AND_CRM"] }, { "type": "string", - "enum": [ - "PREMIUM" - ] + "enum": ["PREMIUM"] } ] } @@ -4686,20 +2455,14 @@ }, "type": { "type": "string", - "enum": [ - "SHORT_TEXT" - ] + "enum": ["SHORT_TEXT"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -4712,20 +2475,14 @@ }, "type": { "type": "string", - "enum": [ - "LONG_TEXT" - ] + "enum": ["LONG_TEXT"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -4738,20 +2495,14 @@ }, "type": { "type": "string", - "enum": [ - "MARKDOWN" - ] + "enum": ["MARKDOWN"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -4764,20 +2515,14 @@ }, "type": { "type": "string", - "enum": [ - "CHECKBOX" - ] + "enum": ["CHECKBOX"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -4807,22 +2552,15 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", - "enum": [ - "STATIC_DROPDOWN" - ] + "enum": ["STATIC_DROPDOWN"] }, "required": { "type": "boolean" @@ -4864,22 +2602,15 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", - "enum": [ - "STATIC_MULTI_SELECT_DROPDOWN" - ] + "enum": ["STATIC_MULTI_SELECT_DROPDOWN"] }, "required": { "type": "boolean" @@ -4904,9 +2635,7 @@ }, "type": { "type": "string", - "enum": [ - "DROPDOWN" - ] + "enum": ["DROPDOWN"] }, "required": { "type": "boolean" @@ -4937,9 +2666,7 @@ }, "type": { "type": "string", - "enum": [ - "MULTI_SELECT_DROPDOWN" - ] + "enum": ["MULTI_SELECT_DROPDOWN"] }, "required": { "type": "boolean" @@ -4976,9 +2703,7 @@ }, "type": { "type": "string", - "enum": [ - "DYNAMIC" - ] + "enum": ["DYNAMIC"] }, "required": { "type": "boolean" @@ -5003,20 +2728,14 @@ }, "type": { "type": "string", - "enum": [ - "NUMBER" - ] + "enum": ["NUMBER"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -5042,9 +2761,7 @@ }, "type": { "type": "string", - "enum": [ - "SHORT_TEXT" - ] + "enum": ["SHORT_TEXT"] }, "required": { "type": "boolean" @@ -5068,9 +2785,7 @@ }, "type": { "type": "string", - "enum": [ - "LONG_TEXT" - ] + "enum": ["LONG_TEXT"] }, "required": { "type": "boolean" @@ -5111,22 +2826,15 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", - "enum": [ - "STATIC_DROPDOWN" - ] + "enum": ["STATIC_DROPDOWN"] }, "required": { "type": "boolean" @@ -5151,9 +2859,7 @@ }, "type": { "type": "string", - "enum": [ - "MULTI_SELECT_DROPDOWN" - ] + "enum": ["MULTI_SELECT_DROPDOWN"] }, "required": { "type": "boolean" @@ -5201,16 +2907,11 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", @@ -5241,9 +2942,7 @@ }, "type": { "type": "string", - "enum": [ - "CHECKBOX" - ] + "enum": ["CHECKBOX"] }, "required": { "type": "boolean" @@ -5267,9 +2966,7 @@ }, "type": { "type": "string", - "enum": [ - "NUMBER" - ] + "enum": ["NUMBER"] }, "required": { "type": "boolean" @@ -5287,20 +2984,14 @@ }, "type": { "type": "string", - "enum": [ - "ARRAY" - ] + "enum": ["ARRAY"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -5313,20 +3004,14 @@ }, "type": { "type": "string", - "enum": [ - "OBJECT" - ] + "enum": ["OBJECT"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -5339,20 +3024,14 @@ }, "type": { "type": "string", - "enum": [ - "JSON" - ] + "enum": ["JSON"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -5365,20 +3044,14 @@ }, "type": { "type": "string", - "enum": [ - "DATE_TIME" - ] + "enum": ["DATE_TIME"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -5391,20 +3064,14 @@ }, "type": { "type": "string", - "enum": [ - "FILE" - ] + "enum": ["FILE"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] } ] }, @@ -5429,9 +3096,7 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] }, "password": { "type": "object", @@ -5443,15 +3108,11 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] }, "type": { "type": "string", - "enum": [ - "BASIC_AUTH" - ] + "enum": ["BASIC_AUTH"] }, "required": { "type": "boolean" @@ -5490,9 +3151,7 @@ }, "type": { "type": "string", - "enum": [ - "SHORT_TEXT" - ] + "enum": ["SHORT_TEXT"] }, "required": { "type": "boolean" @@ -5516,9 +3175,7 @@ }, "type": { "type": "string", - "enum": [ - "LONG_TEXT" - ] + "enum": ["LONG_TEXT"] }, "required": { "type": "boolean" @@ -5542,9 +3199,7 @@ }, "type": { "type": "string", - "enum": [ - "NUMBER" - ] + "enum": ["NUMBER"] }, "required": { "type": "boolean" @@ -5568,9 +3223,7 @@ }, "type": { "type": "string", - "enum": [ - "CHECKBOX" - ] + "enum": ["CHECKBOX"] }, "required": { "type": "boolean" @@ -5611,22 +3264,15 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", - "enum": [ - "STATIC_DROPDOWN" - ] + "enum": ["STATIC_DROPDOWN"] }, "required": { "type": "boolean" @@ -5645,9 +3291,7 @@ }, "type": { "type": "string", - "enum": [ - "CUSTOM_AUTH" - ] + "enum": ["CUSTOM_AUTH"] }, "required": { "type": "boolean" @@ -5685,9 +3329,7 @@ }, "type": { "type": "string", - "enum": [ - "SHORT_TEXT" - ] + "enum": ["SHORT_TEXT"] }, "required": { "type": "boolean" @@ -5711,9 +3353,7 @@ }, "type": { "type": "string", - "enum": [ - "SECRET_TEXT" - ] + "enum": ["SECRET_TEXT"] }, "required": { "type": "boolean" @@ -5754,22 +3394,15 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", - "enum": [ - "STATIC_DROPDOWN" - ] + "enum": ["STATIC_DROPDOWN"] }, "required": { "type": "boolean" @@ -5805,15 +3438,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "HEADER" - ] + "enum": ["HEADER"] }, { "type": "string", - "enum": [ - "BODY" - ] + "enum": ["BODY"] } ] }, @@ -5821,15 +3450,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "authorization_code" - ] + "enum": ["authorization_code"] }, { "type": "string", - "enum": [ - "client_credentials" - ] + "enum": ["client_credentials"] } ] }, @@ -5839,9 +3464,7 @@ }, "type": { "type": "string", - "enum": [ - "OAUTH2" - ] + "enum": ["OAUTH2"] }, "required": { "type": "boolean" @@ -5868,20 +3491,14 @@ }, "type": { "type": "string", - "enum": [ - "SECRET_TEXT" - ] + "enum": ["SECRET_TEXT"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] } ] } @@ -5917,10 +3534,7 @@ } } }, - "required": [ - "retryOnFailure", - "continueOnFailure" - ] + "required": ["retryOnFailure", "continueOnFailure"] } }, "required": [ @@ -5963,20 +3577,14 @@ }, "type": { "type": "string", - "enum": [ - "SHORT_TEXT" - ] + "enum": ["SHORT_TEXT"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -5989,20 +3597,14 @@ }, "type": { "type": "string", - "enum": [ - "LONG_TEXT" - ] + "enum": ["LONG_TEXT"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -6015,20 +3617,14 @@ }, "type": { "type": "string", - "enum": [ - "MARKDOWN" - ] + "enum": ["MARKDOWN"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -6041,20 +3637,14 @@ }, "type": { "type": "string", - "enum": [ - "CHECKBOX" - ] + "enum": ["CHECKBOX"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -6084,22 +3674,15 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", - "enum": [ - "STATIC_DROPDOWN" - ] + "enum": ["STATIC_DROPDOWN"] }, "required": { "type": "boolean" @@ -6141,22 +3724,15 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", - "enum": [ - "STATIC_MULTI_SELECT_DROPDOWN" - ] + "enum": ["STATIC_MULTI_SELECT_DROPDOWN"] }, "required": { "type": "boolean" @@ -6181,9 +3757,7 @@ }, "type": { "type": "string", - "enum": [ - "DROPDOWN" - ] + "enum": ["DROPDOWN"] }, "required": { "type": "boolean" @@ -6214,9 +3788,7 @@ }, "type": { "type": "string", - "enum": [ - "MULTI_SELECT_DROPDOWN" - ] + "enum": ["MULTI_SELECT_DROPDOWN"] }, "required": { "type": "boolean" @@ -6253,9 +3825,7 @@ }, "type": { "type": "string", - "enum": [ - "DYNAMIC" - ] + "enum": ["DYNAMIC"] }, "required": { "type": "boolean" @@ -6280,20 +3850,14 @@ }, "type": { "type": "string", - "enum": [ - "NUMBER" - ] + "enum": ["NUMBER"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -6319,9 +3883,7 @@ }, "type": { "type": "string", - "enum": [ - "SHORT_TEXT" - ] + "enum": ["SHORT_TEXT"] }, "required": { "type": "boolean" @@ -6345,9 +3907,7 @@ }, "type": { "type": "string", - "enum": [ - "LONG_TEXT" - ] + "enum": ["LONG_TEXT"] }, "required": { "type": "boolean" @@ -6388,22 +3948,15 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", - "enum": [ - "STATIC_DROPDOWN" - ] + "enum": ["STATIC_DROPDOWN"] }, "required": { "type": "boolean" @@ -6428,9 +3981,7 @@ }, "type": { "type": "string", - "enum": [ - "MULTI_SELECT_DROPDOWN" - ] + "enum": ["MULTI_SELECT_DROPDOWN"] }, "required": { "type": "boolean" @@ -6478,16 +4029,11 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", @@ -6518,9 +4064,7 @@ }, "type": { "type": "string", - "enum": [ - "CHECKBOX" - ] + "enum": ["CHECKBOX"] }, "required": { "type": "boolean" @@ -6544,9 +4088,7 @@ }, "type": { "type": "string", - "enum": [ - "NUMBER" - ] + "enum": ["NUMBER"] }, "required": { "type": "boolean" @@ -6564,20 +4106,14 @@ }, "type": { "type": "string", - "enum": [ - "ARRAY" - ] + "enum": ["ARRAY"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -6590,20 +4126,14 @@ }, "type": { "type": "string", - "enum": [ - "OBJECT" - ] + "enum": ["OBJECT"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -6616,20 +4146,14 @@ }, "type": { "type": "string", - "enum": [ - "JSON" - ] + "enum": ["JSON"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -6642,20 +4166,14 @@ }, "type": { "type": "string", - "enum": [ - "DATE_TIME" - ] + "enum": ["DATE_TIME"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] }, { "type": "object", @@ -6668,20 +4186,14 @@ }, "type": { "type": "string", - "enum": [ - "FILE" - ] + "enum": ["FILE"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] } ] }, @@ -6706,9 +4218,7 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] }, "password": { "type": "object", @@ -6720,15 +4230,11 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] }, "type": { "type": "string", - "enum": [ - "BASIC_AUTH" - ] + "enum": ["BASIC_AUTH"] }, "required": { "type": "boolean" @@ -6767,9 +4273,7 @@ }, "type": { "type": "string", - "enum": [ - "SHORT_TEXT" - ] + "enum": ["SHORT_TEXT"] }, "required": { "type": "boolean" @@ -6793,9 +4297,7 @@ }, "type": { "type": "string", - "enum": [ - "LONG_TEXT" - ] + "enum": ["LONG_TEXT"] }, "required": { "type": "boolean" @@ -6819,9 +4321,7 @@ }, "type": { "type": "string", - "enum": [ - "NUMBER" - ] + "enum": ["NUMBER"] }, "required": { "type": "boolean" @@ -6845,9 +4345,7 @@ }, "type": { "type": "string", - "enum": [ - "CHECKBOX" - ] + "enum": ["CHECKBOX"] }, "required": { "type": "boolean" @@ -6888,22 +4386,15 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", - "enum": [ - "STATIC_DROPDOWN" - ] + "enum": ["STATIC_DROPDOWN"] }, "required": { "type": "boolean" @@ -6922,9 +4413,7 @@ }, "type": { "type": "string", - "enum": [ - "CUSTOM_AUTH" - ] + "enum": ["CUSTOM_AUTH"] }, "required": { "type": "boolean" @@ -6962,9 +4451,7 @@ }, "type": { "type": "string", - "enum": [ - "SHORT_TEXT" - ] + "enum": ["SHORT_TEXT"] }, "required": { "type": "boolean" @@ -6988,9 +4475,7 @@ }, "type": { "type": "string", - "enum": [ - "SECRET_TEXT" - ] + "enum": ["SECRET_TEXT"] }, "required": { "type": "boolean" @@ -7031,22 +4516,15 @@ }, "value": {} }, - "required": [ - "label", - "value" - ] + "required": ["label", "value"] } } }, - "required": [ - "options" - ] + "required": ["options"] }, "type": { "type": "string", - "enum": [ - "STATIC_DROPDOWN" - ] + "enum": ["STATIC_DROPDOWN"] }, "required": { "type": "boolean" @@ -7082,15 +4560,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "HEADER" - ] + "enum": ["HEADER"] }, { "type": "string", - "enum": [ - "BODY" - ] + "enum": ["BODY"] } ] }, @@ -7098,15 +4572,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "authorization_code" - ] + "enum": ["authorization_code"] }, { "type": "string", - "enum": [ - "client_credentials" - ] + "enum": ["client_credentials"] } ] }, @@ -7116,9 +4586,7 @@ }, "type": { "type": "string", - "enum": [ - "OAUTH2" - ] + "enum": ["OAUTH2"] }, "required": { "type": "boolean" @@ -7145,20 +4613,14 @@ }, "type": { "type": "string", - "enum": [ - "SECRET_TEXT" - ] + "enum": ["SECRET_TEXT"] }, "required": { "type": "boolean" }, "defaultValue": {} }, - "required": [ - "displayName", - "type", - "required" - ] + "required": ["displayName", "type", "required"] } ] } @@ -7191,30 +4653,21 @@ } } }, - "required": [ - "retryOnFailure", - "continueOnFailure" - ] + "required": ["retryOnFailure", "continueOnFailure"] }, "type": { "anyOf": [ { "type": "string", - "enum": [ - "POLLING" - ] + "enum": ["POLLING"] }, { "type": "string", - "enum": [ - "WEBHOOK" - ] + "enum": ["WEBHOOK"] }, { "type": "string", - "enum": [ - "APP_WEBHOOK" - ] + "enum": ["APP_WEBHOOK"] } ] }, @@ -7226,27 +4679,19 @@ "anyOf": [ { "type": "string", - "enum": [ - "NONE" - ] + "enum": ["NONE"] }, { "type": "string", - "enum": [ - "HEADER_PRESENT" - ] + "enum": ["HEADER_PRESENT"] }, { "type": "string", - "enum": [ - "QUERY_PRESENT" - ] + "enum": ["QUERY_PRESENT"] }, { "type": "string", - "enum": [ - "BODY_PARAM_PRESENT" - ] + "enum": ["BODY_PARAM_PRESENT"] } ] }, @@ -7254,9 +4699,7 @@ "type": "string" } }, - "required": [ - "strategy" - ] + "required": ["strategy"] }, "renewConfiguration": { "anyOf": [ @@ -7265,32 +4708,23 @@ "properties": { "strategy": { "type": "string", - "enum": [ - "CRON" - ] + "enum": ["CRON"] }, "cronExpression": { "type": "string" } }, - "required": [ - "strategy", - "cronExpression" - ] + "required": ["strategy", "cronExpression"] }, { "type": "object", "properties": { "strategy": { "type": "string", - "enum": [ - "NONE" - ] + "enum": ["NONE"] } }, - "required": [ - "strategy" - ] + "required": ["strategy"] } ] }, @@ -7298,15 +4732,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "SIMULATION" - ] + "enum": ["SIMULATION"] }, { "type": "string", - "enum": [ - "TEST_FUNCTION" - ] + "enum": ["TEST_FUNCTION"] } ] } @@ -7356,15 +4786,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "PRODUCTION" - ] + "enum": ["PRODUCTION"] }, { "type": "string", - "enum": [ - "DEVELOPMENT" - ] + "enum": ["DEVELOPMENT"] } ] }, @@ -7386,15 +4812,11 @@ "type": "string" } }, - "required": [ - "sourceId" - ] + "required": ["sourceId"] } } }, - "required": [ - "flows" - ] + "required": ["flows"] } }, "required": [ @@ -7413,9 +4835,7 @@ "paths": { "/v1/flows/": { "post": { - "tags": [ - "flows" - ], + "tags": ["flows"], "description": "Create a flow", "requestBody": { "content": { @@ -7433,10 +4853,7 @@ "type": "string" } }, - "required": [ - "displayName", - "projectId" - ] + "required": ["displayName", "projectId"] } } }, @@ -7475,15 +4892,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ENABLED" - ] + "enum": ["ENABLED"] }, { "type": "string", - "enum": [ - "DISABLED" - ] + "enum": ["DISABLED"] } ] }, @@ -7492,22 +4905,19 @@ "properties": { "type": { "type": "string", - "enum": [ - "CRON_EXPRESSION" - ] + "enum": ["CRON_EXPRESSION"] }, "cronExpression": { "type": "string" }, "timezone": { "type": "string" + }, + "failureCount": { + "type": "number" } }, - "required": [ - "type", - "cronExpression", - "timezone" - ], + "required": ["type", "cronExpression", "timezone"], "nullable": true }, "publishedVersionId": { @@ -7549,9 +4959,7 @@ "nextAction": {}, "type": { "type": "string", - "enum": [ - "PIECE_TRIGGER" - ] + "enum": ["PIECE_TRIGGER"] }, "settings": { "type": "object", @@ -7560,22 +4968,18 @@ "type": "string" }, "pieceVersion": { - "type": "string", - "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$" + "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$", + "type": "string" }, "pieceType": { "anyOf": [ { "type": "string", - "enum": [ - "CUSTOM" - ] + "enum": ["CUSTOM"] }, { "type": "string", - "enum": [ - "OFFICIAL" - ] + "enum": ["OFFICIAL"] } ] }, @@ -7583,15 +4987,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ARCHIVE" - ] + "enum": ["ARCHIVE"] }, { "type": "string", - "enum": [ - "REGISTRY" - ] + "enum": ["REGISTRY"] } ] }, @@ -7651,9 +5051,7 @@ "nextAction": {}, "type": { "type": "string", - "enum": [ - "EMPTY" - ] + "enum": ["EMPTY"] }, "settings": {} }, @@ -7678,15 +5076,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "LOCKED" - ] + "enum": ["LOCKED"] }, { "type": "string", - "enum": [ - "DRAFT" - ] + "enum": ["DRAFT"] } ] } @@ -7718,9 +5112,7 @@ } }, "get": { - "tags": [ - "flows" - ], + "tags": ["flows"], "description": "List flows", "parameters": [ { @@ -7749,20 +5141,19 @@ }, { "schema": { - "anyOf": [ - { - "type": "string", - "enum": [ - "ENABLED" - ] - }, - { - "type": "string", - "enum": [ - "DISABLED" - ] - } - ] + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "enum": ["ENABLED"] + }, + { + "type": "string", + "enum": ["DISABLED"] + } + ] + } }, "in": "query", "name": "status", @@ -7775,6 +5166,14 @@ "in": "query", "name": "projectId", "required": true + }, + { + "schema": { + "type": "string" + }, + "in": "query", + "name": "name", + "required": false } ], "security": [ @@ -7815,15 +5214,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ENABLED" - ] + "enum": ["ENABLED"] }, { "type": "string", - "enum": [ - "DISABLED" - ] + "enum": ["DISABLED"] } ] }, @@ -7832,22 +5227,19 @@ "properties": { "type": { "type": "string", - "enum": [ - "CRON_EXPRESSION" - ] + "enum": ["CRON_EXPRESSION"] }, "cronExpression": { "type": "string" }, "timezone": { "type": "string" + }, + "failureCount": { + "type": "number" } }, - "required": [ - "type", - "cronExpression", - "timezone" - ], + "required": ["type", "cronExpression", "timezone"], "nullable": true }, "publishedVersionId": { @@ -7889,9 +5281,7 @@ "nextAction": {}, "type": { "type": "string", - "enum": [ - "PIECE_TRIGGER" - ] + "enum": ["PIECE_TRIGGER"] }, "settings": { "type": "object", @@ -7900,22 +5290,18 @@ "type": "string" }, "pieceVersion": { - "type": "string", - "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$" + "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$", + "type": "string" }, "pieceType": { "anyOf": [ { "type": "string", - "enum": [ - "CUSTOM" - ] + "enum": ["CUSTOM"] }, { "type": "string", - "enum": [ - "OFFICIAL" - ] + "enum": ["OFFICIAL"] } ] }, @@ -7923,15 +5309,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ARCHIVE" - ] + "enum": ["ARCHIVE"] }, { "type": "string", - "enum": [ - "REGISTRY" - ] + "enum": ["REGISTRY"] } ] }, @@ -7991,9 +5373,7 @@ "nextAction": {}, "type": { "type": "string", - "enum": [ - "EMPTY" - ] + "enum": ["EMPTY"] }, "settings": {} }, @@ -8018,15 +5398,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "LOCKED" - ] + "enum": ["LOCKED"] }, { "type": "string", - "enum": [ - "DRAFT" - ] + "enum": ["DRAFT"] } ] } @@ -8064,9 +5440,7 @@ "nullable": true } }, - "required": [ - "data" - ] + "required": ["data"] } } } @@ -8076,9 +5450,7 @@ }, "/v1/flows/{id}": { "post": { - "tags": [ - "flows" - ], + "tags": ["flows"], "description": "Apply an operation to a flow", "requestBody": { "content": { @@ -8091,9 +5463,7 @@ "properties": { "type": { "type": "string", - "enum": [ - "MOVE_ACTION" - ] + "enum": ["MOVE_ACTION"] }, "request": { "type": "object", @@ -8108,41 +5478,27 @@ "anyOf": [ { "type": "string", - "enum": [ - "INSIDE_TRUE_BRANCH" - ] + "enum": ["INSIDE_TRUE_BRANCH"] }, { "type": "string", - "enum": [ - "INSIDE_FALSE_BRANCH" - ] + "enum": ["INSIDE_FALSE_BRANCH"] }, { "type": "string", - "enum": [ - "AFTER" - ] + "enum": ["AFTER"] }, { "type": "string", - "enum": [ - "INSIDE_LOOP" - ] + "enum": ["INSIDE_LOOP"] } ] } }, - "required": [ - "name", - "newParentStep" - ] + "required": ["name", "newParentStep"] } }, - "required": [ - "type", - "request" - ] + "required": ["type", "request"] }, { "title": "Change Status", @@ -8150,9 +5506,7 @@ "properties": { "type": { "type": "string", - "enum": [ - "CHANGE_STATUS" - ] + "enum": ["CHANGE_STATUS"] }, "request": { "type": "object", @@ -8161,28 +5515,19 @@ "anyOf": [ { "type": "string", - "enum": [ - "ENABLED" - ] + "enum": ["ENABLED"] }, { "type": "string", - "enum": [ - "DISABLED" - ] + "enum": ["DISABLED"] } ] } }, - "required": [ - "status" - ] + "required": ["status"] } }, - "required": [ - "type", - "request" - ] + "required": ["type", "request"] }, { "title": "Lock and Publish", @@ -8190,19 +5535,14 @@ "properties": { "type": { "type": "string", - "enum": [ - "LOCK_AND_PUBLISH" - ] + "enum": ["LOCK_AND_PUBLISH"] }, "request": { "type": "object", "properties": {} } }, - "required": [ - "type", - "request" - ] + "required": ["type", "request"] }, { "title": "Copy as Draft", @@ -8210,9 +5550,7 @@ "properties": { "type": { "type": "string", - "enum": [ - "USE_AS_DRAFT" - ] + "enum": ["USE_AS_DRAFT"] }, "request": { "type": "object", @@ -8221,15 +5559,10 @@ "type": "string" } }, - "required": [ - "versionId" - ] + "required": ["versionId"] } }, - "required": [ - "type", - "request" - ] + "required": ["type", "request"] }, { "title": "Lock Flow", @@ -8237,19 +5570,14 @@ "properties": { "type": { "type": "string", - "enum": [ - "LOCK_FLOW" - ] + "enum": ["LOCK_FLOW"] }, "request": { "type": "object", "properties": {} } }, - "required": [ - "type", - "request" - ] + "required": ["type", "request"] }, { "title": "Import Flow", @@ -8257,9 +5585,7 @@ "properties": { "type": { "type": "string", - "enum": [ - "IMPORT_FLOW" - ] + "enum": ["IMPORT_FLOW"] }, "request": { "type": "object", @@ -8284,9 +5610,7 @@ "nextAction": {}, "type": { "type": "string", - "enum": [ - "PIECE_TRIGGER" - ] + "enum": ["PIECE_TRIGGER"] }, "settings": { "type": "object", @@ -8295,22 +5619,18 @@ "type": "string" }, "pieceVersion": { - "type": "string", - "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$" + "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$", + "type": "string" }, "pieceType": { "anyOf": [ { "type": "string", - "enum": [ - "CUSTOM" - ] + "enum": ["CUSTOM"] }, { "type": "string", - "enum": [ - "OFFICIAL" - ] + "enum": ["OFFICIAL"] } ] }, @@ -8318,15 +5638,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ARCHIVE" - ] + "enum": ["ARCHIVE"] }, { "type": "string", - "enum": [ - "REGISTRY" - ] + "enum": ["REGISTRY"] } ] }, @@ -8386,9 +5702,7 @@ "nextAction": {}, "type": { "type": "string", - "enum": [ - "EMPTY" - ] + "enum": ["EMPTY"] }, "settings": {} }, @@ -8403,16 +5717,10 @@ ] } }, - "required": [ - "displayName", - "trigger" - ] + "required": ["displayName", "trigger"] } }, - "required": [ - "type", - "request" - ] + "required": ["type", "request"] }, { "title": "Change Name", @@ -8420,9 +5728,7 @@ "properties": { "type": { "type": "string", - "enum": [ - "CHANGE_NAME" - ] + "enum": ["CHANGE_NAME"] }, "request": { "type": "object", @@ -8431,15 +5737,10 @@ "type": "string" } }, - "required": [ - "displayName" - ] + "required": ["displayName"] } }, - "required": [ - "type", - "request" - ] + "required": ["type", "request"] }, { "title": "Delete Action", @@ -8447,9 +5748,7 @@ "properties": { "type": { "type": "string", - "enum": [ - "DELETE_ACTION" - ] + "enum": ["DELETE_ACTION"] }, "request": { "type": "object", @@ -8458,15 +5757,10 @@ "type": "string" } }, - "required": [ - "name" - ] + "required": ["name"] } }, - "required": [ - "type", - "request" - ] + "required": ["type", "request"] }, { "title": "Update Action", @@ -8474,9 +5768,7 @@ "properties": { "type": { "type": "string", - "enum": [ - "UPDATE_ACTION" - ] + "enum": ["UPDATE_ACTION"] }, "request": { "anyOf": [ @@ -8494,9 +5786,7 @@ }, "type": { "type": "string", - "enum": [ - "CODE" - ] + "enum": ["CODE"] }, "settings": { "type": "object", @@ -8511,10 +5801,7 @@ "type": "string" } }, - "required": [ - "packageJson", - "code" - ] + "required": ["packageJson", "code"] }, "input": { "type": "object", @@ -8544,9 +5831,7 @@ "type": "boolean" } }, - "required": [ - "value" - ] + "required": ["value"] }, "retryOnFailure": { "type": "object", @@ -8555,17 +5840,12 @@ "type": "boolean" } }, - "required": [ - "value" - ] + "required": ["value"] } } } }, - "required": [ - "sourceCode", - "input" - ] + "required": ["sourceCode", "input"] } }, "required": [ @@ -8590,9 +5870,7 @@ }, "type": { "type": "string", - "enum": [ - "LOOP_ON_ITEMS" - ] + "enum": ["LOOP_ON_ITEMS"] }, "settings": { "type": "object", @@ -8615,10 +5893,7 @@ } } }, - "required": [ - "items", - "inputUiInfo" - ] + "required": ["items", "inputUiInfo"] } }, "required": [ @@ -8643,9 +5918,7 @@ }, "type": { "type": "string", - "enum": [ - "PIECE" - ] + "enum": ["PIECE"] }, "settings": { "type": "object", @@ -8654,15 +5927,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ARCHIVE" - ] + "enum": ["ARCHIVE"] }, { "type": "string", - "enum": [ - "REGISTRY" - ] + "enum": ["REGISTRY"] } ] }, @@ -8670,15 +5939,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "CUSTOM" - ] + "enum": ["CUSTOM"] }, { "type": "string", - "enum": [ - "OFFICIAL" - ] + "enum": ["OFFICIAL"] } ] }, @@ -8686,8 +5951,8 @@ "type": "string" }, "pieceVersion": { - "type": "string", - "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$" + "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$", + "type": "string" }, "actionName": { "type": "string" @@ -8720,9 +5985,7 @@ "type": "boolean" } }, - "required": [ - "value" - ] + "required": ["value"] }, "retryOnFailure": { "type": "object", @@ -8731,9 +5994,7 @@ "type": "boolean" } }, - "required": [ - "value" - ] + "required": ["value"] } } } @@ -8770,9 +6031,7 @@ }, "type": { "type": "string", - "enum": [ - "BRANCH" - ] + "enum": ["BRANCH"] }, "settings": { "type": "object", @@ -8799,9 +6058,7 @@ "anyOf": [ { "type": "string", - "enum": [ - "TEXT_CONTAINS" - ] + "enum": ["TEXT_CONTAINS"] }, { "type": "string", @@ -8823,9 +6080,7 @@ }, { "type": "string", - "enum": [ - "TEXT_START_WITH" - ] + "enum": ["TEXT_START_WITH"] }, { "type": "string", @@ -8835,9 +6090,7 @@ }, { "type": "string", - "enum": [ - "TEXT_ENDS_WITH" - ] + "enum": ["TEXT_ENDS_WITH"] }, { "type": "string", @@ -8900,34 +6153,24 @@ "anyOf": [ { "type": "string", - "enum": [ - "EXISTS" - ] + "enum": ["EXISTS"] }, { "type": "string", - "enum": [ - "DOES_NOT_EXIST" - ] + "enum": ["DOES_NOT_EXIST"] }, { "type": "string", - "enum": [ - "BOOLEAN_IS_TRUE" - ] + "enum": ["BOOLEAN_IS_TRUE"] }, { "type": "string", - "enum": [ - "BOOLEAN_IS_FALSE" - ] + "enum": ["BOOLEAN_IS_FALSE"] } ] } }, - "required": [ - "firstValue" - ] + "required": ["firstValue"] } ] } @@ -8948,10 +6191,7 @@ } } }, - "required": [ - "conditions", - "inputUiInfo" - ] + "required": ["conditions", "inputUiInfo"] } }, "required": [ @@ -8965,10 +6205,7 @@ ] } }, - "required": [ - "type", - "request" - ] + "required": ["type", "request"] }, { "title": "Add Action", @@ -8976,9 +6213,7 @@ "properties": { "type": { "type": "string", - "enum": [ - "ADD_ACTION" - ] + "enum": ["ADD_ACTION"] }, "request": { "type": "object", @@ -8990,27 +6225,19 @@ "anyOf": [ { "type": "string", - "enum": [ - "INSIDE_TRUE_BRANCH" - ] + "enum": ["INSIDE_TRUE_BRANCH"] }, { "type": "string", - "enum": [ - "INSIDE_FALSE_BRANCH" - ] + "enum": ["INSIDE_FALSE_BRANCH"] }, { "type": "string", - "enum": [ - "AFTER" - ] + "enum": ["AFTER"] }, { "type": "string", - "enum": [ - "INSIDE_LOOP" - ] + "enum": ["INSIDE_LOOP"] } ] }, @@ -9030,9 +6257,7 @@ }, "type": { "type": "string", - "enum": [ - "CODE" - ] + "enum": ["CODE"] }, "settings": { "type": "object", @@ -9047,10 +6272,7 @@ "type": "string" } }, - "required": [ - "packageJson", - "code" - ] + "required": ["packageJson", "code"] }, "input": { "type": "object", @@ -9080,9 +6302,7 @@ "type": "boolean" } }, - "required": [ - "value" - ] + "required": ["value"] }, "retryOnFailure": { "type": "object", @@ -9091,17 +6311,12 @@ "type": "boolean" } }, - "required": [ - "value" - ] + "required": ["value"] } } } }, - "required": [ - "sourceCode", - "input" - ] + "required": ["sourceCode", "input"] } }, "required": [ @@ -9126,9 +6341,7 @@ }, "type": { "type": "string", - "enum": [ - "LOOP_ON_ITEMS" - ] + "enum": ["LOOP_ON_ITEMS"] }, "settings": { "type": "object", @@ -9150,11 +6363,8 @@ } } } - }, - "required": [ - "items", - "inputUiInfo" - ] + }, + "required": ["items", "inputUiInfo"] } }, "required": [ @@ -9179,9 +6389,7 @@ }, "type": { "type": "string", - "enum": [ - "PIECE" - ] + "enum": ["PIECE"] }, "settings": { "type": "object", @@ -9190,15 +6398,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ARCHIVE" - ] + "enum": ["ARCHIVE"] }, { "type": "string", - "enum": [ - "REGISTRY" - ] + "enum": ["REGISTRY"] } ] }, @@ -9206,15 +6410,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "CUSTOM" - ] + "enum": ["CUSTOM"] }, { "type": "string", - "enum": [ - "OFFICIAL" - ] + "enum": ["OFFICIAL"] } ] }, @@ -9222,8 +6422,8 @@ "type": "string" }, "pieceVersion": { - "type": "string", - "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$" + "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$", + "type": "string" }, "actionName": { "type": "string" @@ -9256,9 +6456,7 @@ "type": "boolean" } }, - "required": [ - "value" - ] + "required": ["value"] }, "retryOnFailure": { "type": "object", @@ -9267,9 +6465,7 @@ "type": "boolean" } }, - "required": [ - "value" - ] + "required": ["value"] } } } @@ -9306,9 +6502,7 @@ }, "type": { "type": "string", - "enum": [ - "BRANCH" - ] + "enum": ["BRANCH"] }, "settings": { "type": "object", @@ -9436,9 +6630,7 @@ "anyOf": [ { "type": "string", - "enum": [ - "EXISTS" - ] + "enum": ["EXISTS"] }, { "type": "string", @@ -9461,9 +6653,7 @@ ] } }, - "required": [ - "firstValue" - ] + "required": ["firstValue"] } ] } @@ -9484,10 +6674,7 @@ } } }, - "required": [ - "conditions", - "inputUiInfo" - ] + "required": ["conditions", "inputUiInfo"] } }, "required": [ @@ -9501,16 +6688,10 @@ ] } }, - "required": [ - "parentStep", - "action" - ] + "required": ["parentStep", "action"] } }, - "required": [ - "type", - "request" - ] + "required": ["type", "request"] }, { "title": "Update Trigger", @@ -9518,9 +6699,7 @@ "properties": { "type": { "type": "string", - "enum": [ - "UPDATE_TRIGGER" - ] + "enum": ["UPDATE_TRIGGER"] }, "request": { "anyOf": [ @@ -9539,9 +6718,7 @@ "nextAction": {}, "type": { "type": "string", - "enum": [ - "EMPTY" - ] + "enum": ["EMPTY"] }, "settings": {} }, @@ -9568,9 +6745,7 @@ "nextAction": {}, "type": { "type": "string", - "enum": [ - "PIECE_TRIGGER" - ] + "enum": ["PIECE_TRIGGER"] }, "settings": { "type": "object", @@ -9579,22 +6754,18 @@ "type": "string" }, "pieceVersion": { - "type": "string", - "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$" + "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$", + "type": "string" }, "pieceType": { "anyOf": [ { "type": "string", - "enum": [ - "CUSTOM" - ] + "enum": ["CUSTOM"] }, { "type": "string", - "enum": [ - "OFFICIAL" - ] + "enum": ["OFFICIAL"] } ] }, @@ -9602,15 +6773,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ARCHIVE" - ] + "enum": ["ARCHIVE"] }, { "type": "string", - "enum": [ - "REGISTRY" - ] + "enum": ["REGISTRY"] } ] }, @@ -9658,10 +6825,7 @@ ] } }, - "required": [ - "type", - "request" - ] + "required": ["type", "request"] }, { "title": "Change Folder", @@ -9669,9 +6833,7 @@ "properties": { "type": { "type": "string", - "enum": [ - "CHANGE_FOLDER" - ] + "enum": ["CHANGE_FOLDER"] }, "request": { "type": "object", @@ -9683,10 +6845,7 @@ } } }, - "required": [ - "type", - "request" - ] + "required": ["type", "request"] }, { "title": "Duplicate Action", @@ -9694,9 +6853,7 @@ "properties": { "type": { "type": "string", - "enum": [ - "DUPLICATE_ACTION" - ] + "enum": ["DUPLICATE_ACTION"] }, "request": { "type": "object", @@ -9705,15 +6862,10 @@ "type": "string" } }, - "required": [ - "stepName" - ] + "required": ["stepName"] } }, - "required": [ - "type", - "request" - ] + "required": ["type", "request"] } ] } @@ -9743,9 +6895,7 @@ } }, "get": { - "tags": [ - "flows" - ], + "tags": ["flows"], "description": "Get a flow by id", "parameters": [ { @@ -9799,15 +6949,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ENABLED" - ] + "enum": ["ENABLED"] }, { "type": "string", - "enum": [ - "DISABLED" - ] + "enum": ["DISABLED"] } ] }, @@ -9816,22 +6962,19 @@ "properties": { "type": { "type": "string", - "enum": [ - "CRON_EXPRESSION" - ] + "enum": ["CRON_EXPRESSION"] }, "cronExpression": { "type": "string" }, "timezone": { "type": "string" + }, + "failureCount": { + "type": "number" } }, - "required": [ - "type", - "cronExpression", - "timezone" - ], + "required": ["type", "cronExpression", "timezone"], "nullable": true }, "publishedVersionId": { @@ -9873,9 +7016,7 @@ "nextAction": {}, "type": { "type": "string", - "enum": [ - "PIECE_TRIGGER" - ] + "enum": ["PIECE_TRIGGER"] }, "settings": { "type": "object", @@ -9884,22 +7025,18 @@ "type": "string" }, "pieceVersion": { - "type": "string", - "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$" + "pattern": "^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$", + "type": "string" }, "pieceType": { "anyOf": [ { "type": "string", - "enum": [ - "CUSTOM" - ] + "enum": ["CUSTOM"] }, { "type": "string", - "enum": [ - "OFFICIAL" - ] + "enum": ["OFFICIAL"] } ] }, @@ -9907,15 +7044,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ARCHIVE" - ] + "enum": ["ARCHIVE"] }, { "type": "string", - "enum": [ - "REGISTRY" - ] + "enum": ["REGISTRY"] } ] }, @@ -9975,9 +7108,7 @@ "nextAction": {}, "type": { "type": "string", - "enum": [ - "EMPTY" - ] + "enum": ["EMPTY"] }, "settings": {} }, @@ -10002,15 +7133,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "LOCKED" - ] + "enum": ["LOCKED"] }, { "type": "string", - "enum": [ - "DRAFT" - ] + "enum": ["DRAFT"] } ] } @@ -10042,9 +7169,7 @@ } }, "delete": { - "tags": [ - "flows" - ], + "tags": ["flows"], "description": "Delete a flow", "parameters": [ { @@ -10064,16 +7189,24 @@ ], "responses": { "204": { - "description": "Default Response" + "description": "Default Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "not": {} + } + } + } + } } } } }, "/v1/flow-runs/": { "get": { - "tags": [ - "flow-runs" - ], + "tags": ["flow-runs"], "description": "List Flow Runs", "parameters": [ { @@ -10103,51 +7236,35 @@ "anyOf": [ { "type": "string", - "enum": [ - "FAILED" - ] + "enum": ["FAILED"] }, { "type": "string", - "enum": [ - "QUOTA_EXCEEDED" - ] + "enum": ["QUOTA_EXCEEDED"] }, { "type": "string", - "enum": [ - "INTERNAL_ERROR" - ] + "enum": ["INTERNAL_ERROR"] }, { "type": "string", - "enum": [ - "PAUSED" - ] + "enum": ["PAUSED"] }, { "type": "string", - "enum": [ - "RUNNING" - ] + "enum": ["RUNNING"] }, { "type": "string", - "enum": [ - "STOPPED" - ] + "enum": ["STOPPED"] }, { "type": "string", - "enum": [ - "SUCCEEDED" - ] + "enum": ["SUCCEEDED"] }, { "type": "string", - "enum": [ - "TIMEOUT" - ] + "enum": ["TIMEOUT"] } ] } @@ -10250,51 +7367,35 @@ "anyOf": [ { "type": "string", - "enum": [ - "FAILED" - ] + "enum": ["FAILED"] }, { "type": "string", - "enum": [ - "QUOTA_EXCEEDED" - ] + "enum": ["QUOTA_EXCEEDED"] }, { "type": "string", - "enum": [ - "INTERNAL_ERROR" - ] + "enum": ["INTERNAL_ERROR"] }, { "type": "string", - "enum": [ - "PAUSED" - ] + "enum": ["PAUSED"] }, { "type": "string", - "enum": [ - "RUNNING" - ] + "enum": ["RUNNING"] }, { "type": "string", - "enum": [ - "STOPPED" - ] + "enum": ["STOPPED"] }, { "type": "string", - "enum": [ - "SUCCEEDED" - ] + "enum": ["SUCCEEDED"] }, { "type": "string", - "enum": [ - "TIMEOUT" - ] + "enum": ["TIMEOUT"] } ] }, @@ -10311,15 +7412,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "PRODUCTION" - ] + "enum": ["PRODUCTION"] }, { "type": "string", - "enum": [ - "TESTING" - ] + "enum": ["TESTING"] } ] } @@ -10334,7 +7431,6 @@ "flowDisplayName", "status", "startTime", - "finishTime", "environment" ] } @@ -10350,9 +7446,7 @@ "nullable": true } }, - "required": [ - "data" - ] + "required": ["data"] } } } @@ -10362,9 +7456,7 @@ }, "/v1/flow-runs/{id}": { "get": { - "tags": [ - "flow-runs" - ], + "tags": ["flow-runs"], "description": "Get Flow Run", "parameters": [ { @@ -10424,51 +7516,35 @@ "anyOf": [ { "type": "string", - "enum": [ - "FAILED" - ] + "enum": ["FAILED"] }, { "type": "string", - "enum": [ - "QUOTA_EXCEEDED" - ] + "enum": ["QUOTA_EXCEEDED"] }, { "type": "string", - "enum": [ - "INTERNAL_ERROR" - ] + "enum": ["INTERNAL_ERROR"] }, { "type": "string", - "enum": [ - "PAUSED" - ] + "enum": ["PAUSED"] }, { "type": "string", - "enum": [ - "RUNNING" - ] + "enum": ["RUNNING"] }, { "type": "string", - "enum": [ - "STOPPED" - ] + "enum": ["STOPPED"] }, { "type": "string", - "enum": [ - "SUCCEEDED" - ] + "enum": ["SUCCEEDED"] }, { "type": "string", - "enum": [ - "TIMEOUT" - ] + "enum": ["TIMEOUT"] } ] }, @@ -10485,15 +7561,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "PRODUCTION" - ] + "enum": ["PRODUCTION"] }, { "type": "string", - "enum": [ - "TESTING" - ] + "enum": ["TESTING"] } ] }, @@ -10512,7 +7584,6 @@ "flowDisplayName", "status", "startTime", - "finishTime", "environment", "steps" ] @@ -10525,9 +7596,7 @@ }, "/v1/app-connections/": { "post": { - "tags": [ - "app-connections" - ], + "tags": ["app-connections"], "description": "Upsert an app connection based on the app name", "requestBody": { "content": { @@ -10550,27 +7619,20 @@ }, "type": { "type": "string", - "enum": [ - "SECRET_TEXT" - ] + "enum": ["SECRET_TEXT"] }, "value": { "type": "object", "properties": { "type": { "type": "string", - "enum": [ - "SECRET_TEXT" - ] + "enum": ["SECRET_TEXT"] }, "secret_text": { "type": "string" } }, - "required": [ - "type", - "secret_text" - ] + "required": ["type", "secret_text"] } }, "required": [ @@ -10597,9 +7659,7 @@ }, "type": { "type": "string", - "enum": [ - "OAUTH2" - ] + "enum": ["OAUTH2"] }, "value": { "type": "object", @@ -10614,15 +7674,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "authorization_code" - ] + "enum": ["authorization_code"] }, { "type": "string", - "enum": [ - "client_credentials" - ] + "enum": ["client_credentials"] } ] }, @@ -10640,15 +7696,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "HEADER" - ] + "enum": ["HEADER"] }, { "type": "string", - "enum": [ - "BODY" - ] + "enum": ["BODY"] } ] }, @@ -10660,9 +7712,7 @@ }, "type": { "type": "string", - "enum": [ - "OAUTH2" - ] + "enum": ["OAUTH2"] } }, "required": [ @@ -10699,9 +7749,7 @@ }, "type": { "type": "string", - "enum": [ - "CLOUD_OAUTH2" - ] + "enum": ["CLOUD_OAUTH2"] }, "value": { "type": "object", @@ -10713,15 +7761,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "HEADER" - ] + "enum": ["HEADER"] }, { "type": "string", - "enum": [ - "BODY" - ] + "enum": ["BODY"] } ] }, @@ -10742,17 +7786,10 @@ }, "type": { "type": "string", - "enum": [ - "CLOUD_OAUTH2" - ] + "enum": ["CLOUD_OAUTH2"] } }, - "required": [ - "client_id", - "code", - "scope", - "type" - ] + "required": ["client_id", "code", "scope", "type"] } }, "required": [ @@ -10779,9 +7816,7 @@ }, "type": { "type": "string", - "enum": [ - "PLATFORM_OAUTH2" - ] + "enum": ["PLATFORM_OAUTH2"] }, "value": { "type": "object", @@ -10793,15 +7828,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "HEADER" - ] + "enum": ["HEADER"] }, { "type": "string", - "enum": [ - "BODY" - ] + "enum": ["BODY"] } ] }, @@ -10822,9 +7853,7 @@ }, "type": { "type": "string", - "enum": [ - "PLATFORM_OAUTH2" - ] + "enum": ["PLATFORM_OAUTH2"] }, "redirect_url": { "type": "string" @@ -10863,9 +7892,7 @@ }, "type": { "type": "string", - "enum": [ - "BASIC_AUTH" - ] + "enum": ["BASIC_AUTH"] }, "value": { "type": "object", @@ -10878,16 +7905,10 @@ }, "type": { "type": "string", - "enum": [ - "BASIC_AUTH" - ] + "enum": ["BASIC_AUTH"] } }, - "required": [ - "username", - "password", - "type" - ] + "required": ["username", "password", "type"] } }, "required": [ @@ -10914,28 +7935,21 @@ }, "type": { "type": "string", - "enum": [ - "CUSTOM_AUTH" - ] + "enum": ["CUSTOM_AUTH"] }, "value": { "type": "object", "properties": { "type": { "type": "string", - "enum": [ - "CUSTOM_AUTH" - ] + "enum": ["CUSTOM_AUTH"] }, "props": { "type": "object", "additionalProperties": {} } }, - "required": [ - "type", - "props" - ] + "required": ["type", "props"] } }, "required": [ @@ -10963,9 +7977,7 @@ } }, "get": { - "tags": [ - "app-connections" - ], + "tags": ["app-connections"], "description": "List app connections", "parameters": [ { @@ -11000,6 +8012,26 @@ "name": "name", "required": false }, + { + "schema": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string", + "enum": ["ACTIVE"] + }, + { + "type": "string", + "enum": ["ERROR"] + } + ] + } + }, + "in": "query", + "name": "status", + "required": false + }, { "schema": { "type": "number" @@ -11044,39 +8076,27 @@ "anyOf": [ { "type": "string", - "enum": [ - "OAUTH2" - ] + "enum": ["OAUTH2"] }, { "type": "string", - "enum": [ - "PLATFORM_OAUTH2" - ] + "enum": ["PLATFORM_OAUTH2"] }, { "type": "string", - "enum": [ - "CLOUD_OAUTH2" - ] + "enum": ["CLOUD_OAUTH2"] }, { "type": "string", - "enum": [ - "SECRET_TEXT" - ] + "enum": ["SECRET_TEXT"] }, { "type": "string", - "enum": [ - "BASIC_AUTH" - ] + "enum": ["BASIC_AUTH"] }, { "type": "string", - "enum": [ - "CUSTOM_AUTH" - ] + "enum": ["CUSTOM_AUTH"] } ] }, @@ -11091,15 +8111,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ACTIVE" - ] + "enum": ["ACTIVE"] }, { "type": "string", - "enum": [ - "ERROR" - ] + "enum": ["ERROR"] } ] } @@ -11127,9 +8143,7 @@ "nullable": true } }, - "required": [ - "data" - ] + "required": ["data"] } } } @@ -11139,9 +8153,7 @@ }, "/v1/app-connections/validate-connection-name": { "post": { - "tags": [ - "app-connections" - ], + "tags": ["app-connections"], "description": "Validate app connection name", "requestBody": { "content": { @@ -11154,9 +8166,7 @@ "type": "string" } }, - "required": [ - "connectionName" - ] + "required": ["connectionName"] } } }, @@ -11184,9 +8194,7 @@ "type": "string" } }, - "required": [ - "isValid" - ] + "required": ["isValid"] } } } @@ -11206,9 +8214,7 @@ "type": "string" } }, - "required": [ - "isValid" - ] + "required": ["isValid"] } } } @@ -11218,9 +8224,7 @@ }, "/v1/app-connections/{id}": { "delete": { - "tags": [ - "app-connections" - ], + "tags": ["app-connections"], "description": "Delete an app connection", "parameters": [ { @@ -11240,16 +8244,24 @@ ], "responses": { "204": { - "description": "Default Response" + "description": "Default Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "not": {} + } + } + } + } } } } }, "/v1/platforms/{id}": { "get": { - "tags": [ - "platforms" - ], + "tags": ["platforms"], "description": "Get a platform by id", "parameters": [ { @@ -11285,9 +8297,7 @@ "type": "string" } }, - "required": [ - "clientId" - ] + "required": ["clientId"] }, "github": { "type": "object", @@ -11296,9 +8306,7 @@ "type": "string" } }, - "required": [ - "clientId" - ] + "required": ["clientId"] }, "saml": { "type": "object", @@ -11348,15 +8356,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ALLOWED" - ] + "enum": ["ALLOWED"] }, { "type": "string", - "enum": [ - "BLOCKED" - ] + "enum": ["BLOCKED"] } ] }, @@ -11487,9 +8491,7 @@ }, "/v1/user-invitations/": { "post": { - "tags": [ - "user-invitations" - ], + "tags": ["user-invitations"], "requestBody": { "content": { "application/json": { @@ -11503,15 +8505,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "PLATFORM" - ] + "enum": ["PLATFORM"] }, { "type": "string", - "enum": [ - "PROJECT" - ] + "enum": ["PROJECT"] } ] }, @@ -11519,15 +8517,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "ADMIN" - ] + "enum": ["ADMIN"] }, { "type": "string", - "enum": [ - "MEMBER" - ] + "enum": ["MEMBER"] } ] }, @@ -11539,35 +8533,24 @@ "anyOf": [ { "type": "string", - "enum": [ - "ADMIN" - ] + "enum": ["ADMIN"] }, { "type": "string", - "enum": [ - "EDITOR" - ] + "enum": ["EDITOR"] }, { "type": "string", - "enum": [ - "OPERATOR" - ] + "enum": ["OPERATOR"] }, { "type": "string", - "enum": [ - "VIEWER" - ] + "enum": ["VIEWER"] } ] } }, - "required": [ - "email", - "type" - ] + "required": ["email", "type"] } } }, @@ -11602,15 +8585,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "PENDING" - ] + "enum": ["PENDING"] }, { "type": "string", - "enum": [ - "ACCEPTED" - ] + "enum": ["ACCEPTED"] } ] }, @@ -11618,15 +8597,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "PLATFORM" - ] + "enum": ["PLATFORM"] }, { "type": "string", - "enum": [ - "PROJECT" - ] + "enum": ["PROJECT"] } ] }, @@ -11637,48 +8612,39 @@ "anyOf": [ { "type": "string", - "enum": [ - "ADMIN" - ] + "enum": ["ADMIN"] }, { "type": "string", - "enum": [ - "MEMBER" - ] + "enum": ["MEMBER"] } - ] + ], + "nullable": true }, "projectId": { - "type": "string" + "type": "string", + "nullable": true }, "projectRole": { "anyOf": [ { "type": "string", - "enum": [ - "ADMIN" - ] + "enum": ["ADMIN"] }, { "type": "string", - "enum": [ - "EDITOR" - ] + "enum": ["EDITOR"] }, { "type": "string", - "enum": [ - "OPERATOR" - ] + "enum": ["OPERATOR"] }, { "type": "string", - "enum": [ - "VIEWER" - ] + "enum": ["VIEWER"] } - ] + ], + "nullable": true }, "link": { "type": "string" @@ -11700,9 +8666,7 @@ } }, "get": { - "tags": [ - "user-invitations" - ], + "tags": ["user-invitations"], "parameters": [ { "schema": { @@ -11725,15 +8689,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "PLATFORM" - ] + "enum": ["PLATFORM"] }, { "type": "string", - "enum": [ - "PROJECT" - ] + "enum": ["PROJECT"] } ] }, @@ -11746,15 +8706,11 @@ "anyOf": [ { "type": "string", - "enum": [ - "PENDING" - ] + "enum": ["PENDING"] }, { "type": "string", - "enum": [ - "ACCEPTED" - ] + "enum": ["ACCEPTED"] } ] }, @@ -11777,9 +8733,7 @@ }, "/v1/user-invitations/{id}": { "delete": { - "tags": [ - "user-invitations" - ], + "tags": ["user-invitations"], "parameters": [ { "schema": { @@ -11797,16 +8751,24 @@ ], "responses": { "204": { - "description": "Default Response" + "description": "Default Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "not": {} + } + } + } + } } } } }, "/v1/projects/{id}": { "post": { - "tags": [ - "projects" - ], + "tags": ["projects"], "requestBody": { "content": { "application/json": { @@ -11817,21 +8779,15 @@ "anyOf": [ { "type": "string", - "enum": [ - "NEVER" - ] + "enum": ["NEVER"] }, { "type": "string", - "enum": [ - "ALWAYS" - ] + "enum": ["ALWAYS"] }, { "type": "string", - "enum": [ - "NEW_ISSUE" - ] + "enum": ["NEW_ISSUE"] } ] }, @@ -11884,21 +8840,15 @@ "anyOf": [ { "type": "string", - "enum": [ - "NEVER" - ] + "enum": ["NEVER"] }, { "type": "string", - "enum": [ - "ALWAYS" - ] + "enum": ["ALWAYS"] }, { "type": "string", - "enum": [ - "NEW_ISSUE" - ] + "enum": ["NEW_ISSUE"] } ] }, @@ -11937,4 +8887,4 @@ "url": "https://www.activepieces.com/docs", "description": "Find more info here" } -} \ No newline at end of file +}