UNPKG

@itentialopensource/adapter-salesforce_tooling

Version:

This adapter integrates with system described as: Salesforce Tooling.

1,137 lines (1,136 loc) 2.24 MB
{ "openapi": "3.1.0", "info": { "title": "", "version": "1.0.0" }, "paths": { "/changeOwnPassword": { "post": { "tags": [ "UserInfo" ], "operationId": "postChangeOwnPassword", "description": "The parameters and request body are for method: postChangeOwnPassword. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "changeOwnPasswordResponse": { "type": "object", "properties": { "result": { "type": "object" } } } } }, "example": { "changeOwnPasswordResponse": { "result": {} } } } } } }, "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/describeSoqlListViews": { "post": { "tags": [ "UserInfo" ], "operationId": "postDescribeSoqlListViews", "description": "The parameters and request body are for method: postDescribeSoqlListViews. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "describeSoqlListViewsResponse": { "type": "object", "properties": { "result": { "type": "object", "properties": { "describeSoqlListViews": { "type": "array", "items": { "type": "object", "properties": { "columns": { "type": "array", "items": { "type": "object", "properties": { "ascendingLabel": { "type": "string" }, "descendingLabel": { "type": "string" }, "fieldNameOrPath": { "type": "string" }, "hidden": { "type": "boolean" }, "label": { "type": "string" }, "searchable": { "type": "boolean" }, "selectListItem": { "type": "string" }, "sortDirection": { "type": "string" }, "sortIndex": { "type": "number" }, "sortable": { "type": "boolean" }, "type": { "type": "string" } } } }, "id": { "type": "string" }, "orderBy": { "type": "array", "items": { "type": "object", "properties": { "fieldNameOrPath": { "type": "string" }, "nullsPosition": { "type": "string" }, "sortDirection": { "type": "string" } } } }, "query": { "type": "string" }, "relatedEntityId": { "type": "string" }, "scope": { "type": "string" }, "scopeEntityId": { "type": "string" }, "sobjectType": { "type": "string" }, "whereCondition": { "type": "object" } } } } } } } } } }, "example": { "describeSoqlListViewsResponse": { "result": { "describeSoqlListViews": [ { "columns": [ { "ascendingLabel": "string", "descendingLabel": "string", "fieldNameOrPath": "string", "hidden": true, "label": "string", "searchable": false, "selectListItem": "string", "sortDirection": "descending", "sortIndex": 5, "sortable": false, "type": "string" }, { "ascendingLabel": "string", "descendingLabel": "string", "fieldNameOrPath": "string", "hidden": false, "label": "string", "searchable": true, "selectListItem": "string", "sortDirection": "descending", "sortIndex": 8, "sortable": true, "type": "string" } ], "id": "string", "orderBy": [ { "fieldNameOrPath": "string", "nullsPosition": "last", "sortDirection": "ascending" }, { "fieldNameOrPath": "string", "nullsPosition": "first", "sortDirection": "ascending" }, { "fieldNameOrPath": "string", "nullsPosition": "last", "sortDirection": "descending" }, { "fieldNameOrPath": "string", "nullsPosition": "first", "sortDirection": "ascending" }, { "fieldNameOrPath": "string", "nullsPosition": "last", "sortDirection": "ascending" }, { "fieldNameOrPath": "string", "nullsPosition": "last", "sortDirection": "ascending" }, { "fieldNameOrPath": "string", "nullsPosition": "last", "sortDirection": "ascending" }, { "fieldNameOrPath": "string", "nullsPosition": "first", "sortDirection": "ascending" }, { "fieldNameOrPath": "string", "nullsPosition": "first", "sortDirection": "descending" }, { "fieldNameOrPath": "string", "nullsPosition": "last", "sortDirection": "descending" } ], "query": "string", "relatedEntityId": "string", "scope": "string", "scopeEntityId": "string", "sobjectType": "string", "whereCondition": {} }, { "columns": [ { "ascendingLabel": "string", "descendingLabel": "string", "fieldNameOrPath": "string", "hidden": false, "label": "string", "searchable": true, "selectListItem": "string", "sortDirection": "descending", "sortIndex": 7, "sortable": false, "type": "string" }, { "ascendingLabel": "string", "descendingLabel": "string", "fieldNameOrPath": "string", "hidden": true, "label": "string", "searchable": true, "selectListItem": "string", "sortDirection": "descending", "sortIndex": 2, "sortable": true, "type": "string" }, { "ascendingLabel": "string", "descendingLabel": "string", "fieldNameOrPath": "string", "hidden": true, "label": "string", "searchable": true, "selectListItem": "string", "sortDirection": "descending", "sortIndex": 5, "sortable": true, "type": "string" }, { "ascendingLabel": "string", "descendingLabel": "string", "fieldNameOrPath": "string", "hidden": false, "label": "string", "searchable": true, "selectListItem": "string", "sortDirection": "descending", "sortIndex": 7, "sortable": false, "type": "string" }, { "ascendingLabel": "string", "descendingLabel": "string", "fieldNameOrPath": "string", "hidden": true, "label": "string", "searchable": false, "selectListItem": "string", "sortDirection": "descending", "sortIndex": 2, "sortable": true, "type": "string" }, { "ascendingLabel": "string", "descendingLabel": "string", "fieldNameOrPath": "string", "hidden": false, "label": "string", "searchable": false, "selectListItem": "string", "sortDirection": "descending", "sortIndex": 1, "sortable": true, "type": "string" }, { "ascendingLabel": "string", "descendingLabel": "string", "fieldNameOrPath": "string", "hidden": false, "label": "string", "searchable": false, "selectListItem": "string", "sortDirection": "ascending", "sortIndex": 4, "sortable": false, "type": "string" }, { "ascendingLabel": "string", "descendingLabel": "string", "fieldNameOrPath": "string", "hidden": false, "label": "string", "searchable": true, "selectListItem": "string", "sortDirection": "ascending", "sortIndex": 4, "sortable": false, "type": "string" }, { "ascendingLabel": "string", "descendingLabel": "string", "fieldNameOrPath": "string", "hidden": false, "label": "string", "searchable": true, "selectListItem": "string", "sortDirection": "ascending", "sortIndex": 8, "sortable": true, "type": "string" } ], "id": "string", "orderBy": [ { "fieldNameOrPath": "string", "nullsPosition": "last", "sortDirection": "descending" }, { "fieldNameOrPath": "string", "nullsPosition": "last", "sortDirection": "ascending" }, { "fieldNameOrPath": "string", "nullsPosition": "last", "sortDirection": "ascending" } ], "query": "string", "relatedEntityId": "string", "scope": "string", "scopeEntityId": "string", "sobjectType": "string", "whereCondition": {} }, { "columns": [ { "ascendingLabel": "string", "descendingLabel": "string", "fieldNameOrPath": "string", "hidden": true, "label": "string", "searchable": false, "selectListItem": "string", "sortDirection": "descending", "sortIndex": 2, "sortable": false, "type": "string" }, { "ascendingLabel": "string", "descendingLabel": "string", "fieldNameOrPath": "string", "hidden": true, "label": "string", "searchable": false, "selectListItem": "string", "sortDirection": "ascending", "sortIndex": 7, "sortable": false, "type": "string" } ], "id": "string", "orderBy": [ { "fieldNameOrPath": "string", "nullsPosition": "first", "sortDirection": "descending" }, { "fieldNameOrPath": "string", "nullsPosition": "last", "sortDirection": "ascending" }, { "fieldNameOrPath": "string", "nullsPosition": "last", "sortDirection": "ascending" }, { "fieldNameOrPath": "string", "nullsPosition": "first", "sortDirection": "ascending" }, { "fieldNameOrPath": "string", "nullsPosition": "last", "sortDirection": "descending" }, { "fieldNameOrPath": "string", "nullsPosition": "first", "sortDirection": "ascending" } ], "query": "string", "relatedEntityId": "string", "scope": "string", "scopeEntityId": "string", "sobjectType": "string", "whereCondition": {} } ] } } } } } } }, "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/getUserInfo": { "post": { "tags": [ "UserInfo" ], "operationId": "postGetUserInfo", "description": "The parameters and request body are for method: postGetUserInfo. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "getUserInfoResponse": { "type": "object", "properties": { "result": { "type": "object", "properties": { "accessibilityMode": { "type": "boolean" }, "chatterExternal": { "type": "boolean" }, "currencySymbol": { "type": "string" }, "orgAttachmentFileSizeLimit": { "type": "number" }, "orgDefaultCurrencyIsoCode": { "type": "string" }, "orgDefaultCurrencyLocale": { "type": "string" }, "orgDisallowHtmlAttachments": { "type": "boolean" }, "orgHasPersonAccounts": { "type": "boolean" }, "organizationId": { "type": "string" }, "organizationMultiCurrency": { "type": "boolean" }, "organizationName": { "type": "string" }, "profileId": { "type": "string" }, "roleId": { "type": "string" }, "sessionSecondsValid": { "type": "number" }, "userDefaultCurrencyIsoCode": { "type": "string" }, "userEmail": { "type": "string" }, "userFullName": { "type": "string" }, "userId": { "type": "string" }, "userLanguage": { "type": "string" }, "userLocale": { "type": "string" }, "userName": { "type": "string" }, "userTimeZone": { "type": "string" }, "userType": { "type": "string" }, "userUiSkin": { "type": "string" } } } } } } }, "example": { "getUserInfoResponse": { "result": { "accessibilityMode": true, "chatterExternal": false, "currencySymbol": "string", "orgAttachmentFileSizeLimit": 4, "orgDefaultCurrencyIsoCode": "string", "orgDefaultCurrencyLocale": "string", "orgDisallowHtmlAttachments": false, "orgHasPersonAccounts": true, "organizationId": "string", "organizationMultiCurrency": true, "organizationName": "string", "profileId": "string", "roleId": "string", "sessionSecondsValid": 1, "userDefaultCurrencyIsoCode": "string", "userEmail": "string", "userFullName": "string", "userId": "string", "userLanguage": "string", "userLocale": "string", "userName": "string", "userTimeZone": "string", "userType": "string", "userUiSkin": "string" } } } } } } }, "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/setPassword": { "post": { "tags": [ "UserInfo" ], "operationId": "postSetPassword", "description": "The parameters and request body are for method: postSetPassword. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "setPasswordResponse": { "type": "object", "properties": { "result": { "type": "object" } } } } }, "example": { "setPasswordResponse": { "result": {} } } } } } }, "requestBody": { "description": "indeterminate body object", "content": { "application/json": { "schema": { "type": "object" } } } } } }, "/create": { "post": { "tags": [ "SObject" ], "operationId": "postCreate", "description": "The parameters and request body are for method: postCreate. Same endpoint also used in methods:", "responses": { "200": { "description": "Successful operation", "content": { "application/json": { "schema": { "type": "object", "properties": { "createResponse": { "type": "object", "properties": { "result": { "type": "array", "items": { "type": "object", "properties": { "errors": { "type": "array", "items": { "type": "object", "properties": { "extendedErrorDetails": { "type": "array", "items": { "type": "object", "properties": { "extendedErrorCode": { "type": "string" } } } }, "fields": { "type": "array", "items": { "type": "string" } }, "message": { "type": "string" }, "statusCode": { "type": "string" } } } }, "id": { "type": "string" }, "infos": { "type": "array", "items": { "type": "object", "properties": { "extendedDetails": { "type": "array", "items": { "type": "object", "properties": { "extendedErrorCode": { "type": "string" } } } }, "message": { "type": "string" }, "statusCode": { "type": "string" } } } }, "success": { "type": "boolean" }, "warnings": { "type": "array", "items": { "type": "object", "properties": { "extendedDetails": { "type": "array", "items": { "type": "object", "properties": { "extendedErrorCode": { "type": "string" } } } }, "message": { "type": "string" }, "statusCode": { "type": "string" } } } } } } } } } } }, "example": { "createResponse": { "result": [ { "errors": [ { "extendedErrorDetails": [ { "extendedErrorCode": "INPUTPARAM_MISMATCHED_OBJECTTYPE" }, { "extendedErrorCode": "RECOMMENDATION_STRATEGY_EXCEPTION" }, { "extendedErrorCode": "FLOW_SOBJECT_VARIABLE_NOT_PERSISTED" }, { "extendedErrorCode": "RECORDFILTER_MISSING_DATATYPE" }, { "extendedErrorCode": "SCREENFIELD_EXTENSION_REQUIRED_INPUT_MISSING" }, { "extendedErrorCode": "LOOP_COLLECTION_NOT_FOUND" }, { "extendedErrorCode": "CONDITION_LOGIC_EXCEEDS_LIMIT" }, { "extendedErrorCode": "FLEXIPAGE_TEMPLATE_INVALID_SWITCH" }, { "extendedErrorCode": "WAITEVENT_RELATIVEALARM_INVALID_DATETIME_FIELD" }, { "extendedErrorCode": "FIELD_VALUE_REQUIRES_PERM" } ], "fields": [ "string", "string", "string", "string", "string", "string", "string", "string", "string", "string" ], "message": "string", "statusCode": "CUSTOM_ENTITY_OR_FIELD_LIMIT" }, { "extendedErrorDetails": [ { "extendedErrorCode": "ACTIONCALL_NOT_FOUND_WITH_NAME_AND_TYPE" }, { "extendedErrorCode": "PROCESSTYPE_SCREEN_FIELDTYPE_NOT_SUPPORTED" }, { "extendedErrorCode": "WAITEVENT_MISSING_CONNECTOR" }, { "extendedErrorCode": "WAITEVENT_DEFAULT_CONNECTOR_MISSING_LABEL" } ], "fields": [ "string", "string", "string" ], "message": "string", "statusCode": "REQUIRE_CONNECTED_APP_SESSION_SCS" } ], "id": "string", "infos": [ { "extendedDetails": [ { "extendedErrorCode": "SCREENFIELD_EXTENSION_NAME_MISSING" }, { "extendedErrorCode": "VARIABLE_SCALE_NULL" }, { "extendedErrorCode": "SCREEN_PAUSEDTEXT_NOT_SHOWN_WHEN_ALLOWPAUSE_IS_FALSE" } ], "message": "string", "statusCode": "SELF_REFERENCE_FROM_FLOW" }, { "extendedDetails": [ { "extendedErrorCode": "CHOICELOOKUP_DATATYPE_INCOMPATIBLE_WITH_CHOICEFIELD" }, { "extendedErrorCode": "SORT_LIMIT_INVALID" }, { "extendedErrorCode": "EXTERNAL_OBJECT_FIELDS_NOT_SUPPORTED" }, { "extendedErrorCode": "CONSTANT_INCLUDES_REFERENCES" }, { "extendedErrorCode": "SUBFLOW_INPUT_MULTIPLE_ASSIGNMENTS_TO_ONE_VARIABLE" }, { "extendedErrorCode": "SCREENFIELD_TYPE_NOT_SUPPORTED" } ], "message": "string", "statusCode": "INVALID_ASSIGNMENT_RULE" }, { "extendedDetails": [ { "extendedErrorCode": "SETTING_FIELD_MAKES_OTHER_FIELD_REQUIRED" }, { "extendedErrorCode": "CHOICE_USED_MULTIPLE_TIMES_IN_SAME_FIELD" }, { "extendedErrorCode": "SCREENRULE_ATTRIBUTE_NOT_SUPPORTED_FOR_SCREENFIELD" }, { "extendedErrorCode": "ASSIGNMENTITEM_LEFT_DATATYPE_INVALID_FOR_OPERATOR" }, { "extendedErrorCode": "SUBFLOW_INPUT_ELEMENT_INCOMPATIBLE_DATATYPES" }, { "extendedErrorCode": "OBJECT_CANNOT_BE_UPDATED" }, { "extendedErrorCode": "ACTIONCALL_NOT_FOUND_WITH_NAME_AND_TYPE" }, { "extendedErrorCode": "RECORDFILTER_INVALID_DATATYPE" }, { "extendedErrorCode": "LOOP_ASSIGNNEXTVALUETO_MISMATCHED_DATATYPE" }, { "extendedErrorCode": "ASSIGNMENTITEM_FIELD_INVALID_DATATYPE_WITH_ELEMENT" } ], "message": "string", "statusCode": "CUSTOM_INDEX_EXISTS" }, { "extendedDetails": [ { "extendedErrorCode": "SYSTEM_MODE_NOT_ALLOWED" }, { "extendedErrorCode": "VARIABLE_SCALE_NULL" }, { "extendedErrorCode": "CONNECTOR_MISSING_TARGET" }, { "extendedErrorCode": "ASSIGNMENTITEM_FIELD_INVALID_DATATYPE" }, { "extendedErrorCode": "PROCESSTYPE_COMPONENTTYPE_NOT_SUPPORTED" }, { "extendedErrorCode": "INCONSISTENT_DYNAMIC_TYPE_MAPPING" }, { "extendedErrorCode": "SURVEY_MULTIPLE_SCREENS_CANNOT_CONNECT_TO_SAME_DECISION" } ], "message": "string", "statusCode": "ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE" } ], "success": true, "warnings": [ { "extendedDetails": [ { "extendedErrorCode": "WORKFLOW_OBJECTTYPE_NOT_SUPPORTED" }, { "extendedErrorCode": "SUBFLOW_MISSING_NAME" }, { "extendedErrorCode": "ELEMENT_CONNECTS_TO_SELF" }, { "extendedErrorCode": "CONSTANT_INCLUDES_REFERENCES" }, { "extendedErrorCode": "SCREENFIELD_OUTPUTS_NOT_SUPPORTED" }, { "extendedErrorCode": "RECORDFILTER_GEOLOCATION_FIELDS_NOT_SUPPORTED" }, { "extendedErrorCode": "WAITEVENT_RELATIVEALARM_INVALID_DATETIME_FIELD" }, { "extendedErrorCode": "ELEMENT_MORE_THAN_ONE_FIELD" } ], "message": "string", "statusCode": "INVALID_REFRESH_TOKEN" }, { "extendedDetails": [ { "extendedErrorCode": "SOBJECT_ELEMENT_INCOMPATIBLE_DATATYPE" }, { "extendedErrorCode": "SUBFLOW_INPUT_MISMATCHED_COLLECTIONTYPES" }, { "extendedErrorCode": "WAITEVENT_MISSING_CONNECTOR" }, { "extendedErrorCode": "FLOW_STAGE_ORDER_OUT_OF_RANGE" }, { "extendedErrorCode": "SUBFLOW_OUTPUT_MISSING_NAME" }, { "extendedErrorCode": "SCREENFIELD_USERINPUT_NOT_SUPPORTED_FOR_CHOICETYPE" }, { "extendedErrorCode": "TYPE_MAPPING_DUPLICATED" }, { "extendedErrorCode": "AUTOLAUNCHED_CHOICE_NOT_SUPPORTED" }, { "extendedErrorCode": "WAITEVENT_REQUIRED_INPUT_MISSING" } ], "message": "string", "statusCode": "OPTED_OUT_OF_MASS_MAIL" }, { "extendedDetails": [ { "extendedErrorCode": "ASSIGNMENTITEM_INVALID_ASSIGNTOREFERENCE" }, { "extendedErrorCode": "SCREENFIELD_OUTPUTS_NOT_SUPPORTED" }, { "extendedErrorCode": "FLEXIPAGE_COMPONENT_CUSTOM_VALIDATION_EXCEPTION" }, { "extendedErrorCode": "ASSIGNMENTITEM_ELEMENT_MISSING_DATATYPE" }, { "extendedErrorCode": "PROCESSTYPE_ELEMENT_NOT_SUPPORTED" }, { "extendedErrorCode": "AUTOLAUNCHED_WAIT_NOT_SUPPORTED" }, { "extendedErrorCode": "SCREEN_MISSING_LABEL" }, { "extendedErrorCode": "ELEMENT_NAME_INVALID" }, { "extendedErrorCode": "DYNAMIC_TYPE_MAPPING_MISSING" } ], "message": "string", "statusCode": "CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED" }, { "extendedDetails": [ { "extendedErrorCode": "FLEXIPAGE_COMPONENT_RULE_VALIDATION_EXCEPTION" }, { "extendedErrorCode": "SUBFLOW_INPUT_VARIABLE_NOT_FOUND_IN_REFERENCEDFLOW" }, { "extendedErrorCode": "WAITEVENT_RELATIVEALARM_INVALID_OFFSETUNIT" }, { "extendedErrorCode": "ACTIONCALL_NOT_SUPPORTED_FOR_PROCESSTYPE" }, { "extendedErrorCode": "EX_AUTOLAUNCHED_SUBFLOW_INCOMPATIBLE_FLOWTYPE" }, { "extendedErrorCode": "CHOICE_USED_MULTIPLE_TIMES_IN_SAME_FIELD" }, { "extendedErrorCode": "SORT_ENCRYPTED_FIELDS_NOT_SUPPORTED" } ], "message": "string", "statusCode": "SALESFORCE_INBOX_TRANSPORT_CONNECTION_ERROR" }, { "extendedDetails": [ { "extendedErrorCode": "SCREEN_MISSING_FOOTER_AND_LIGHTNING_COMPONENT" }, { "extendedErrorCode": "SCREENRULE_ACTION_INVALID_VALUE" }, { "extendedErrorCode": "SUBFLOW_INPUT_ELEMENT_INCOMPATIBLE_DATATYPES" }, { "extendedErrorCode": "SCREENFIELD_EXTENSION_OUTPUT_ATTRIBUTE_INVALID" }, { "extendedErrorCode": "CUSTOMEVENT_PROCESSMETADATAVALUES_MISSING_NAME" }, { "extendedErrorCode": "UNEXPECTED_ERROR" }, { "extendedErrorCode": "APEXCALLOUT_INPUT_DUPLICATE" }, { "extendedErrorCode": "RECOMMENDATION_STRATEGY_EXCEPTION" }, {