Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "authRequirements": [
- "client_id",
- "client_secret",
- "tenant_id",
- "scope",
- "grant_type"
- ],
- "authType": "extended_oauth2",
- "className": "connectors.extended_oauth2_auth.custom.EDDSExchangeConnector",
- "connectorCategory": "Cost",
- "connectorInstanceID": "eddsExchange",
- "description": "EDDS Exchange Connector for Invoices and Purchase Orders",
- "fileName": "edds-exchange",
- "icon": "https://stbackendservicedev.blob.core.windows.net/icons/Microsoft Exchange Online.svg",
- "name": "EDDS Exchange Connector",
- "outputFolder": "source-data/edds-uploads/",
- "dummyFileURL": "source-data/edds-uploads/dummy.json",
- "parentConnectorID": "MSFT Extended OAuth2 001",
- "connectorConfigForm": [
- {
- "labelText": "Mailbox Email Address",
- "name": "mailbox_email_address",
- "placeholder": "Enter mailbox email address",
- "required": true,
- "grid": {
- "xs": 12,
- "md": 6,
- "sm": 12
- },
- "type": "text"
- },
- {
- "labelText": "Sender Email Addresses",
- "name": "sender_email_addresses",
- "placeholder": "Enter comma-separated email addresses",
- "required": false,
- "grid": {
- "xs": 12,
- "md": 6,
- "sm": 12
- },
- "type": "text"
- },
- {
- "labelText": "Invoice Keywords",
- "name": "invoice_keywords",
- "placeholder": "Enter comma-separated keywords for invoices",
- "required": false,
- "defaultValue": "Invoice,payment due",
- "grid": {
- "xs": 12,
- "md": 6,
- "sm": 12
- },
- "type": "text"
- },
- {
- "labelText": "Invoice Keyword Locations",
- "name": "invoice_keyword_locations",
- "placeholder": "Select where to look for invoice keywords",
- "required": false,
- "defaultValue": [
- "subject"
- ],
- "grid": {
- "xs": 12,
- "md": 6,
- "sm": 12
- },
- "type": "select",
- "multiple": true,
- "options": [
- {
- "label": "Subject",
- "value": "subject"
- },
- {
- "label": "Body",
- "value": "body"
- }
- ]
- },
- {
- "labelText": "Purchase Order Keywords",
- "name": "po_keywords",
- "placeholder": "Enter comma-separated keywords for purchase orders",
- "required": false,
- "defaultValue": "Purchase Order",
- "grid": {
- "xs": 12,
- "md": 6,
- "sm": 12
- },
- "type": "text"
- },
- {
- "labelText": "Purchase Order Keyword Locations",
- "name": "po_keyword_locations",
- "placeholder": "Select where to look for purchase order keywords",
- "required": false,
- "defaultValue": [
- "subject"
- ],
- "grid": {
- "xs": 12,
- "md": 6,
- "sm": 12
- },
- "type": "select",
- "multiple": true,
- "options": [
- {
- "label": "Subject",
- "value": "subject"
- },
- {
- "label": "Body",
- "value": "body"
- }
- ]
- }
- ],
- "connectorConfigRequirements": [
- "mailbox_email_address",
- "sender_email_addresses",
- "invoice_keywords",
- "invoice_keyword_locations",
- "po_keywords",
- "po_keyword_locations"
- ],
- "inputForm": [
- {
- "labelText": "Tenant ID",
- "name": "tenant_id",
- "placeholder": "Directory (tenant) ID",
- "required": true,
- "grid": {
- "xs": 12,
- "md": 6,
- "sm": 12
- },
- "type": "text"
- },
- {
- "labelText": "Client ID",
- "name": "client_id",
- "placeholder": "Application (client) ID",
- "required": true,
- "grid": {
- "xs": 12,
- "md": 6,
- "sm": 12
- },
- "type": "text"
- },
- {
- "labelText": "Client Secret",
- "name": "client_secret",
- "placeholder": "Client secret (value)",
- "required": true,
- "grid": {
- "xs": 12,
- "md": 6,
- "sm": 12
- },
- "type": "text"
- },
- {
- "defaultValue": "https://graph.microsoft.com/.default",
- "labelText": "Scope",
- "name": "scope",
- "placeholder": "scope for credentials",
- "required": false,
- "grid": {
- "xs": 12,
- "md": 6,
- "sm": 12
- },
- "type": "text"
- },
- {
- "defaultValue": "client_credentials",
- "labelText": "Grant Type",
- "name": "grant_type",
- "placeholder": "Type of grant",
- "required": false,
- "grid": {
- "xs": 12,
- "md": 6,
- "sm": 12
- },
- "type": "text"
- }
- ],
- "providerSetupGuide": "",
- "statusCodeMapping": {
- "400": "The credentials you have entered are incorrect. Please check your tenant_id and client_id, and try again.",
- "401": "The credentials you have entered are incorrect. Please check your client_secret, and try again.",
- "403": "Access to the API endpoint is forbidden (403). Please check your API permissions and credentials.",
- "404": "Not Found - This can happen when requested resource is not found.",
- "429": "Rate limit exceeded (429). Please try again later or adjust the rate of API requests.",
- "500": "Internal Server Error - Client API seems down, please try after sometime."
- },
- "authEndpoint": {
- "tokenURL": "https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/token"
- },
- "apiEndpoints": [
- {
- "apiPath": "/servicePrincipals?$top=50&$filter=servicePrincipalType eq 'Application'",
- "baseURL": "https://graph.microsoft.com/v1.0",
- "method": "GET",
- "responseType": "JSON"
- }
- ],
- "vendor": "",
- "vendorName": "Microsoft",
- "version": "1.0.0",
- "supportedTransformations": [
- "edds_exchange"
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment