arcade-mcp/toolkits/salesforce/arcade_salesforce/constants.py
Renato Byrro e1c293ee4f
Salesforce toolkit (#360)
Co-authored-by: Eric Gustin <34000337+EricGustin@users.noreply.github.com>
2025-04-18 14:28:27 -03:00

33 lines
684 B
Python

import os
SALESFORCE_API_VERSION = "v63.0"
DEFAULT_MAX_CONCURRENT_REQUESTS = 3
try:
MAX_CONCURRENT_REQUESTS = int(
os.getenv("ARCADE_SALESFORCE_MAX_CONCURRENT_REQUESTS", DEFAULT_MAX_CONCURRENT_REQUESTS)
)
except ValueError:
MAX_CONCURRENT_REQUESTS = DEFAULT_MAX_CONCURRENT_REQUESTS
ASSOCIATION_REFERENCE_FIELDS = [
"AccountId",
"OwnerId",
"AssociatedToWhom",
"ContactId",
]
GLOBALLY_IGNORED_FIELDS = [
"attributes",
"CleanStatus",
"CreatedById",
"CreatedDate",
"IsDeleted",
"LastModifiedById",
"LastModifiedDate",
"LastReferencedDate",
"LastViewedDate",
"PhotoUrl",
"SystemModstamp",
"WhatId",
]