mcdev
Version:
Accenture Salesforce Marketing Cloud DevTools
182 lines (181 loc) • 5.22 kB
JavaScript
export default {
bodyIteratorField: 'definitions',
dependencies: ['asset-message', 'dataExtension', 'list', 'journey', 'sendClassification'],
dependencyGraph: {
// classic email cannot be deployed anymore
asset: ['r__asset_key'],
dataExtension: ['subscriptions.r__dataExtension_key'],
list: ['subscriptions.r__list_PathName'],
journey: ['r__journey_key'],
sendClassification: ['r__sendClassification_key'],
},
hasExtended: false,
idField: 'definitionId',
keyIsFixed: true, // sending definitionKey in update call not allowed by API
keyField: 'definitionKey',
nameField: 'name',
createdDateField: 'createdDate',
createdNameField: null,
lastmodDateField: 'modifiedDate',
lastmodNameField: null,
restPagination: true,
restPageSize: 100,
maxKeyLength: 36, // confirmed max length
type: 'transactionalEmail',
typeDescription: 'Lets you send immediate Email messages via API events',
typeRetrieveByDefault: true,
typeCdpByDefault: false,
typeName: 'Transactional Email',
fields: {
name: {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
definitionKey: {
isCreateable: true,
isUpdateable: false,
retrieving: true,
template: true,
},
description: {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
requestId: {
isCreateable: false,
isUpdateable: false,
retrieving: false,
template: false,
},
definitionId: {
isCreateable: false,
isUpdateable: false,
retrieving: false,
template: false,
},
status: {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
createdDate: {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: false,
},
modifiedDate: {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: false,
},
classification: {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'content.customerKey': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'subscriptions.dataExtension': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'subscriptions.r__dataExtension_key': {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: true,
},
'subscriptions.list': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'subscriptions.r__list_PathName': {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: true,
},
'subscriptions.autoAddSubscriber': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'subscriptions.updateSubscriber': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'options.trackLinks': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'options.cc': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'options.bcc': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'options.createJourney': {
isCreateable: true,
isUpdateable: false,
retrieving: false,
template: false,
},
journey: {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: true,
},
'journey.interactionKey': {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: true,
},
r__asset_key: {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: true,
},
r__journey_key: {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: true,
},
r__sendClassification_key: {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: true,
},
},
};