Skip to content

Commit

Permalink
Support Spring '22 (v54)
Browse files Browse the repository at this point in the history
Fixes #83
  • Loading branch information
Alan Morey committed Aug 30, 2022
1 parent b755fa1 commit 2edeeeb
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 15 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 = 53.0
sf.antlib.version = 54.0

# Use 'https://login.salesforce.com' for production or developer edition
# Use 'https://test.salesforce.com for sandbox.
Expand Down
58 changes: 44 additions & 14 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='53.0.0')
@Grab(group='com.force.api', module='force-metadata-api', version='53.0.0')
@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')

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

static TYPES = [
'AIApplication',
'AIApplicationConfig',
'AccountRelationshipShareRule',
'ActionLinkGroupTemplate',
'ActionPlanTemplate',
'AIApplication',
'AIApplicationConfig',
'ActivationPlatform',
'ActivationPlatformField',
'ActvPfrmDataConnectorS3',
'ActvPlatformAdncIdentifier',
'ActvPlatformFieldValue',
'AnalyticSnapshot',
'AnimationRule',
'ApexEmailNotifications',
Expand Down Expand Up @@ -362,6 +367,7 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'CommunityThemeDefinition',
'ConnectedApp',
'ContentAsset',
'ContractType',
'CorsWhitelistOrigin',
'CspTrustedSite',
'CustomApplicationComponent',
Expand All @@ -375,18 +381,26 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'DataCategoryGroup',
'DataPackageKitDefinition',
'DataPackageKitObject',
'DataSource',
'DataSourceBundleDefinition',
'DataSourceField',
'DataSourceObject',
'DataSrcDataModelFieldMap',
'DataStreamDefinition',
'DecisionTable',
'DecisionTableDatasetLink',
'DelegateGroup',
'DuplicateRule',
'ESignatureConfig',
'ESignatureEnvelopConfig',
'EclairGeoData',
'EmailServicesFunction',
'EmbeddedServiceBranding',
'EmbeddedServiceConfig',
'EmbeddedServiceFieldService',
'EmbeddedServiceFlowConfig',
'EmbeddedServiceLiveAgent',
'EmbeddedServiceMenuSettings',
'EmbeddedServiceLiveAgent',
'EntitlementProcess',
'EntitlementTemplate',
'EscalationRules',
Expand All @@ -402,6 +416,9 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'Flow',
'FlowCategory',
'FlowDefinition',
'FlowOrchestratedStage',
'FlowStageStep',
'FlowStageStepAssignee',
'ForecastingSourceDefinition',
'ForecastingType',
'ForecastingTypeSource',
Expand Down Expand Up @@ -430,6 +447,7 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'MatchingRule',
'MilestoneType',
'MktCalcInsightObjectDef',
'MktDataTranObject ',
'MLDataDefinition',
'MlDomain',
'MLPredictionDefinition',
Expand Down Expand Up @@ -490,6 +508,9 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'SiteDotCom',
'Skill',
'StaticResource',
'SvcCatalogCategory',
'SvcCatalogFulfillmentFlow',
'SvcCatalogItemDef',
'SynonymDictionary',
'Territory',
'Territory2',
Expand Down Expand Up @@ -750,7 +771,6 @@ class MiscMetadataManifestBuilder extends ManifestBuilder {
'AccountOwnership',
'AccountRating',
'AccountType',
'AppointmentSchedulingPolicy',
'AssetStatus',
'CampaignMemberStatus',
'CampaignStatus',
Expand All @@ -765,44 +785,54 @@ class MiscMetadataManifestBuilder extends ManifestBuilder {
'ContactRole',
'ContractContactRole',
'ContractStatus',
'DataSource',
'DataStreamDefinition',
'EmbeddedServiceFlowConfig',
'EmbeddedServiceMenuSettings',
'EntitlementType',
'EventSubject',
'EventType',
'ExternalDataSource',
'FiscalYearPeriodName',
'FiscalYearPeriodPrefix',
'FiscalYearQuarterName',
'FiscalYearQuarterPrefix',
'FulfillmentStatus',
'FulfillmentType',
'IdeaCategory',
'IdeaMultiCategory',
'IdeaStatus',
'IdeaThemeStatus',
'Industry',
'LeadSource',
'LeadStatus',
'ManagedTopics',
'MktDataTranObject ',
'OpportunityCompetitor',
'OpportunityStage',
'OpportunityType',
'OrderItemSummaryChgRsn',
'OrderStatus',
'OrderSummaryRoutingSchdRsn',
'OrderSummaryStatus',
'OrderType',
'PartnerRole',
'ProcessExceptionCategory',
'ProcessExceptionPriority',
'ProcessExceptionSeverity',
'ProcessExceptionStatus',
'Product2Family',
'QuantityUnitOfMeasure',
'QuestionOrigin',
'QuickTextCategory',
'QuickTextChannel',
'QuoteStatus',
'ResourceAbsenceType',
'ReturnOrderLineItemProcessPlan',
'ReturnOrderLineItemReasonForRejection',
'ReturnOrderLineItemReasonForReturn',
'ReturnOrderLineItemRepaymentMethod',
'ReturnOrderShipmentType',
'ReturnOrderStatus',
'RoleInTerritory2',
'SalesTeamRole',
'Salutation',
'ServTerrMemRoleType',
'ServiceAppointmentStatus',
'ServiceContractApprovalStatus',
'ServTerrMemRoleType',
'SocialPostClassification',
'SocialPostEngagementLevel',
'SocialPostReviewedStatus',
Expand Down
Binary file not shown.

0 comments on commit 2edeeeb

Please sign in to comment.