diff --git a/docs/dist/documentation.md b/docs/dist/documentation.md index f3fdcfac8..bb35e5913 100644 --- a/docs/dist/documentation.md +++ b/docs/dist/documentation.md @@ -17,9 +17,6 @@ Source and target business units are also compared before the deployment to appl
AttributeGroupMetadataType

AttributeGroup MetadataType

-
AttributeRelationshipMetadataType
-

AttributeRelationship MetadataType

-
AttributeSetMetadataType

AttributeSet MetadataType

@@ -1222,7 +1219,6 @@ AttributeGroup MetadataType * [AttributeGroup](#AttributeGroup) ⇐ [MetadataType](#MetadataType) * [.retrieve(retrieveDir, [_], [__], [key])](#AttributeGroup.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> * [.retrieveForCache()](#AttributeGroup.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> - * [.create(metadata)](#AttributeGroup.create) ⇒ Promise * [.postRetrieveTasks(metadata)](#AttributeGroup.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem * [.preDeployTasks(metadata)](#AttributeGroup.preDeployTasks) ⇒ TYPE.MetadataTypeItem @@ -1248,18 +1244,6 @@ Retrieves Metadata of schema attribute groups for caching. **Kind**: static method of [AttributeGroup](#AttributeGroup) **Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise of metadata - - -### AttributeGroup.create(metadata) ⇒ Promise -Creates a single item - -**Kind**: static method of [AttributeGroup](#AttributeGroup) -**Returns**: Promise - Promise - -| Param | Type | Description | -| --- | --- | --- | -| metadata | TYPE.MetadataTypeItem | a single item | - ### AttributeGroup.postRetrieveTasks(metadata) ⇒ TYPE.MetadataTypeItem @@ -1284,62 +1268,6 @@ prepares for deployment | --- | --- | --- | | metadata | TYPE.MetadataTypeItem | a single item | - - -## AttributeRelationship ⇐ [MetadataType](#MetadataType) -AttributeRelationship MetadataType - -**Kind**: global class -**Extends**: [MetadataType](#MetadataType) - -* [AttributeRelationship](#AttributeRelationship) ⇐ [MetadataType](#MetadataType) - * [.retrieve(retrieveDir, [_], [__], [relationshipID], attributeSetId)](#AttributeRelationship.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> - * [.retrieveForCache(_, __, attributeSetId, relationshipID)](#AttributeRelationship.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> - * [.postRetrieveTasks(metadata)](#AttributeRelationship.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem - - - -### AttributeRelationship.retrieve(retrieveDir, [_], [__], [relationshipID], attributeSetId) ⇒ Promise.<TYPE.MetadataTypeMapObj> -Retrieves Metadata of schema attribute groups. - -**Kind**: static method of [AttributeRelationship](#AttributeRelationship) -**Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise of metadata - -| Param | Type | Description | -| --- | --- | --- | -| retrieveDir | string | Directory where retrieved metadata directory will be saved | -| [_] | void | unused parameter | -| [__] | void | unused parameter | -| [relationshipID] | string | customer key of single item to retrieve | -| attributeSetId | string | CUSTOM: Id of the attribute set for which these relationships are defined | - - - -### AttributeRelationship.retrieveForCache(_, __, attributeSetId, relationshipID) ⇒ Promise.<TYPE.MetadataTypeMapObj> -Retrieves Metadata of schema attribute groups for caching. - -**Kind**: static method of [AttributeRelationship](#AttributeRelationship) -**Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise of metadata - -| Param | Type | Description | -| --- | --- | --- | -| _ | void | unused parameter | -| __ | void | unused parameter | -| attributeSetId | string | CUSTOM: Id of the attribute set for which these relationships are defined | -| relationshipID | string | CUSTOM: customer key of single item to retrieve | - - - -### AttributeRelationship.postRetrieveTasks(metadata) ⇒ TYPE.MetadataTypeItem -manages post retrieve steps - -**Kind**: static method of [AttributeRelationship](#AttributeRelationship) -**Returns**: TYPE.MetadataTypeItem - metadata - -| Param | Type | Description | -| --- | --- | --- | -| metadata | TYPE.MetadataTypeItem | a single metadata | - ## AttributeSet ⇐ [MetadataType](#MetadataType) diff --git a/lib/metadataTypes/AttributeGroup.js b/lib/metadataTypes/AttributeGroup.js index 97ddd595f..cf4804bcd 100644 --- a/lib/metadataTypes/AttributeGroup.js +++ b/lib/metadataTypes/AttributeGroup.js @@ -36,15 +36,6 @@ class AttributeGroup extends MetadataType { static retrieveForCache() { return super.retrieveREST(null, '/hub/v1/contacts/schema/attributeGroups'); } - /** - * Creates a single item - * - * @param {TYPE.MetadataTypeItem} metadata a single item - * @returns {Promise} Promise - */ - static create(metadata) { - return super.createREST(metadata, '/hub/v1/contacts/schema/attributeGroups'); - } /** * manages post retrieve steps