mcdev
Version:
Accenture Salesforce Marketing Cloud DevTools
139 lines (138 loc) • 3.72 kB
JavaScript
export default {
bodyIteratorField: 'items',
dependencies: ['folder-queryactivity', 'dataExtension'],
dependencyGraph: {
dataExtension: ['r__dataExtension_key'],
},
folderType: 'queryactivity',
filter: {
description: ['Query created by Query Studio'],
},
hasExtended: false,
idField: 'queryDefinitionId',
keyIsFixed: false,
keyField: 'key',
nameField: 'name',
folderIdField: 'categoryId',
createdDateField: 'createdDate',
createdNameField: null,
lastmodDateField: 'modifiedDate',
lastmodNameField: null,
restPagination: true,
targetUpdateTypeMapping: {
Append: 2,
Overwrite: 0,
Update: 1,
},
maxKeyLength: 36, // confirmed max length
type: 'query',
typeDescription: 'Select & transform data using SQL.',
typeRetrieveByDefault: true,
typeCdpByDefault: true,
typeName: 'Automation: SQL Query Activity',
fields: {
categoryId: {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
createdDate: {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: false,
},
description: {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
isFrozen: {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: false,
},
key: {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
modifiedDate: {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: false,
},
name: {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
queryDefinitionId: {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: false,
},
queryText: {
isCreateable: true,
isUpdateable: true,
retrieving: false,
template: false,
},
targetDescription: {
isCreateable: true,
isUpdateable: true,
retrieving: false,
template: false,
},
targetId: {
isCreateable: true,
isUpdateable: true,
retrieving: false,
template: false,
},
targetKey: {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
targetName: {
isCreateable: false,
isUpdateable: false,
retrieving: false,
template: false,
},
targetUpdateTypeId: {
isCreateable: true,
isUpdateable: true,
retrieving: false,
template: false,
},
targetUpdateTypeName: {
isCreateable: true,
isUpdateable: true,
retrieving: true,
template: true,
},
validatedQueryText: {
isCreateable: false,
isUpdateable: false,
retrieving: false,
template: false,
},
r__dataExtension_key: {
isCreateable: false,
isUpdateable: false,
retrieving: true,
template: true,
},
r__folder_Path: { skipValidation: true },
},
};