mcdev
Version:
Accenture Salesforce Marketing Cloud DevTools
117 lines (116 loc) • 3.31 kB
JavaScript
export default {
bodyIteratorField: 'definitions',
dependencies: ['mobileCode', 'mobileKeyword'],
dependencyGraph: {
mobileKeyword: ['subscriptions.r__mobileKeyword_key'],
mobileCode: ['subscriptions.r__mobileCode_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,
type: 'transactionalSMS',
typeDescription: 'Lets you send immediate SMS messages via API events',
typeRetrieveByDefault: true,
typeCdpByDefault: true,
typeName: 'Transactional SMS',
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,
},
'content.message': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'subscriptions.shortCode': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'subscriptions.countryCode': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'subscriptions.autoAddSubscriber': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'subscriptions.updateSubscriber': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'subscriptions.keyword': {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
'subscriptions.r__mobileKeyword_key': {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: true,
},
},
};