Skip to content

Commit

Permalink
Support Summer '22 (v55)
Browse files Browse the repository at this point in the history
Fixes #84
  • Loading branch information
Alan Morey committed Aug 31, 2022
1 parent 2edeeeb commit 354c276
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ant-includes/default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sf.maxPoll = 200
sf.batchSize = 20

# The version of the antlib jar in lib
sf.antlib.version = 54.0
sf.antlib.version = 55.0

# Use 'https://login.salesforce.com' for production or developer edition
# Use 'https://test.salesforce.com for sandbox.
Expand Down
79 changes: 70 additions & 9 deletions force-meta-backup.groovy
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env groovy
@Grab(group='com.force.api', module='force-partner-api', version='54.0.0')
@Grab(group='com.force.api', module='force-metadata-api', version='54.0.0')
@Grab(group='com.force.api', module='force-partner-api', version='55.2.0')
@Grab(group='com.force.api', module='force-metadata-api', version='55.2.0')

import com.sforce.soap.metadata.FileProperties
import com.sforce.soap.metadata.ListMetadataQuery
Expand Down Expand Up @@ -323,8 +323,6 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
static final BUILD_XML = 'bulk-retrievable-target.xml'

static TYPES = [
'AIApplication',
'AIApplicationConfig',
'AccountRelationshipShareRule',
'ActionLinkGroupTemplate',
'ActionPlanTemplate',
Expand All @@ -333,6 +331,8 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'ActvPfrmDataConnectorS3',
'ActvPlatformAdncIdentifier',
'ActvPlatformFieldValue',
'AIApplication',
'AIApplicationConfig',
'AnalyticSnapshot',
'AnimationRule',
'ApexEmailNotifications',
Expand All @@ -356,6 +356,7 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'CallCenter',
'CallCoachingMediaProvider',
'CampaignInfluenceModel',
'CanvasMetadata',
'CaseSubjectParticle',
'Certificate',
'ChannelLayout',
Expand All @@ -373,12 +374,14 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'CustomApplicationComponent',
'CustomFeedFilter',
'CustomHelpMenuSection',
'CustomIndex',
'CustomLabels',
'CustomMetadata',
'CustomNotificationType',
'CustomPageWebLink',
'CustomSite',
'DataCategoryGroup',
'DataConnectorIngestApi',
'DataPackageKitDefinition',
'DataPackageKitObject',
'DataSource',
Expand All @@ -387,23 +390,25 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'DataSourceObject',
'DataSrcDataModelFieldMap',
'DataStreamDefinition',
'DataStreamTemplate',
'DecisionTable',
'DecisionTableDatasetLink',
'DelegateGroup',
'DuplicateRule',
'ESignatureConfig',
'ESignatureEnvelopConfig',
'EclairGeoData',
'EmailServicesFunction',
'EmbeddedServiceBranding',
'EmbeddedServiceConfig',
'EmbeddedServiceFieldService',
'EmbeddedServiceFlowConfig',
'EmbeddedServiceMenuSettings',
'EmbeddedServiceLiveAgent',
'EmbeddedServiceMenuSettings',
'EntitlementProcess',
'EntitlementTemplate',
'EntityImplements',
'EscalationRules',
'ESignatureConfig',
'ESignatureEnvelopConfig',
'EventDelivery',
'EventSubscription',
'ExperienceBundle',
Expand All @@ -419,6 +424,9 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'FlowOrchestratedStage',
'FlowStageStep',
'FlowStageStepAssignee',
'FlowTest',
'ForecastingFilter',
'ForecastingFilterCondition',
'ForecastingSourceDefinition',
'ForecastingType',
'ForecastingTypeSource',
Expand All @@ -443,14 +451,16 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'LiveChatDeployment',
'LiveChatSensitiveDataRule',
'ManagedContentType',
'ManagedContentTypeBundle',
'ManagedTopics',
'MatchingRule',
'MatchingRules',
'MilestoneType',
'MktCalcInsightObjectDef',
'MktDataTranObject ',
'MLDataDefinition',
'MlDomain',
'MLPredictionDefinition',
'MLRecommendationDefinition',
'MobileApplicationDetail',
'ModerationRule',
'MutingPermissionSet',
Expand Down Expand Up @@ -496,6 +506,7 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'RoleOrTerritory',
'SalesWorkQueueSettings',
'SamlSsoConfig',
'SchedulingObjective',
'SchedulingRule',
'Scontrol',
'ServiceAISetupDefinition',
Expand All @@ -507,7 +518,10 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'SharingSet',
'SiteDotCom',
'Skill',
'SlackApp',
'StandardValueSetTranslation',
'StaticResource',
'StreamingAppDataConnector',
'SvcCatalogCategory',
'SvcCatalogFulfillmentFlow',
'SvcCatalogItemDef',
Expand All @@ -522,6 +536,7 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'TransactionSecurityPolicy',
'Translations',
'UserCriteria',
'UserProfileSearchScope',
'UserProvisioningConfig',
'WaveApplication',
'WaveDashboard',
Expand Down Expand Up @@ -771,36 +786,68 @@ class MiscMetadataManifestBuilder extends ManifestBuilder {
'AccountOwnership',
'AccountRating',
'AccountType',
'AssetActionCategory',
'AssetRelationshipType',
'AssetStatus',
'AssociatedLocationType',
'CampaignMemberStatus',
'CampaignStatus',
'CampaignType',
'CardType',
'CareItemStatus',
'CaseContactRole',
'CaseOrigin',
'CasePriority',
'CaseReason',
'CaseStatus',
'CaseType',
'ChangeRequestRelatedItemImpactLevel',
'ChangeRequestBusinessReason',
'ChangeRequestCategory',
'ChangeRequestImpact',
'ChangeRequestPriority',
'ChangeRequestRiskLevel',
'ChangeRequestStatus',
'ContactPointAddressType',
'ContactPointUsageType',
'ContactRequestReason',
'ContactRequestStatus',
'ContactRole',
'ContractContactRole',
'ContractStatus',
'ConsequenceOfFailure',
'DigitalAssetStatus',
'EntitlementType',
'EventSubject',
'EventType',
'FinanceEventAction',
'FinanceEventType',
'FiscalYearPeriodName',
'FiscalYearPeriodPrefix',
'FiscalYearQuarterName',
'FiscalYearQuarterPrefix',
'ForecastingItemCategory',
'FulfillmentStatus',
'FulfillmentType',
'IdeaCategory',
'IdeaMultiCategory',
'IdeaStatus',
'IdeaThemeStatus',
'IncidentCategory',
'IncidentImpact',
'IncidentPriority',
'IncidentRelatedItemImpactLevel',
'IncidentRelatedItemImpactType',
'IncidentReportedMethod',
'IncidentStatus',
'IncidentSubCategory',
'IncidentType',
'IncidentUrgency',
'Industry',
'LeadSource',
'LeadStatus',
'LocationType',
'MilitaryService',
'OpportunityCompetitor',
'OpportunityStage',
'OpportunityType',
Expand All @@ -810,6 +857,14 @@ class MiscMetadataManifestBuilder extends ManifestBuilder {
'OrderSummaryStatus',
'OrderType',
'PartnerRole',
'ProblemCategory',
'ProblemImpact',
'ProblemPriority',
'ProblemRelatedItemImpactLevel',
'ProblemRelatedItemImpactType',
'ProblemStatus',
'ProblemSubCategory',
'ProblemUrgency',
'ProcessExceptionCategory',
'ProcessExceptionPriority',
'ProcessExceptionSeverity',
Expand All @@ -830,20 +885,26 @@ class MiscMetadataManifestBuilder extends ManifestBuilder {
'RoleInTerritory2',
'SalesTeamRole',
'Salutation',
'ServTerrMemRoleType',
'ScorecardMetricCategory',
'ServiceAppointmentStatus',
'ServiceContractApprovalStatus',
'ServTerrMemRoleType',
'ShiftStatus',
'SocialPostClassification',
'SocialPostEngagementLevel',
'SocialPostReviewedStatus',
'SolutionStatus',
'StatusReason',
'TaskPriority',
'TaskStatus',
'TaskSubject',
'TaskType',
'UnitOfMeasure',
'WorkOrderLineItemPriority',
'WorkOrderLineItemStatus',
'WorkOrderPriority',
'WorkOrderStatus',
'WorkStepStatus',
'WorkTypeDefApptType',
'WorkTypeGroupAddInfo',
]
Expand Down
Binary file not shown.

0 comments on commit 354c276

Please sign in to comment.