Skip to content

Commit

Permalink
#711: remove not supported create method
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Jul 12, 2023
1 parent 2c1881f commit aa09038
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 81 deletions.
72 changes: 0 additions & 72 deletions docs/dist/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ Source and target business units are also compared before the deployment to appl
<dt><a href="#AttributeGroup">AttributeGroup</a> ⇐ <code><a href="#MetadataType">MetadataType</a></code></dt>
<dd><p>AttributeGroup MetadataType</p>
</dd>
<dt><a href="#AttributeRelationship">AttributeRelationship</a> ⇐ <code><a href="#MetadataType">MetadataType</a></code></dt>
<dd><p>AttributeRelationship MetadataType</p>
</dd>
<dt><a href="#AttributeSet">AttributeSet</a> ⇐ <code><a href="#MetadataType">MetadataType</a></code></dt>
<dd><p>AttributeSet MetadataType</p>
</dd>
Expand Down Expand Up @@ -1222,7 +1219,6 @@ AttributeGroup MetadataType
* [AttributeGroup](#AttributeGroup)[<code>MetadataType</code>](#MetadataType)
* [.retrieve(retrieveDir, [_], [__], [key])](#AttributeGroup.retrieve) ⇒ <code>Promise.&lt;TYPE.MetadataTypeMapObj&gt;</code>
* [.retrieveForCache()](#AttributeGroup.retrieveForCache) ⇒ <code>Promise.&lt;TYPE.MetadataTypeMapObj&gt;</code>
* [.create(metadata)](#AttributeGroup.create) ⇒ <code>Promise</code>
* [.postRetrieveTasks(metadata)](#AttributeGroup.postRetrieveTasks) ⇒ <code>TYPE.MetadataTypeItem</code>
* [.preDeployTasks(metadata)](#AttributeGroup.preDeployTasks) ⇒ <code>TYPE.MetadataTypeItem</code>

Expand All @@ -1248,18 +1244,6 @@ Retrieves Metadata of schema attribute groups for caching.

**Kind**: static method of [<code>AttributeGroup</code>](#AttributeGroup)
**Returns**: <code>Promise.&lt;TYPE.MetadataTypeMapObj&gt;</code> - Promise of metadata
<a name="AttributeGroup.create"></a>

### AttributeGroup.create(metadata) ⇒ <code>Promise</code>
Creates a single item

**Kind**: static method of [<code>AttributeGroup</code>](#AttributeGroup)
**Returns**: <code>Promise</code> - Promise

| Param | Type | Description |
| --- | --- | --- |
| metadata | <code>TYPE.MetadataTypeItem</code> | a single item |

<a name="AttributeGroup.postRetrieveTasks"></a>

### AttributeGroup.postRetrieveTasks(metadata) ⇒ <code>TYPE.MetadataTypeItem</code>
Expand All @@ -1284,62 +1268,6 @@ prepares for deployment
| --- | --- | --- |
| metadata | <code>TYPE.MetadataTypeItem</code> | a single item |

<a name="AttributeRelationship"></a>

## AttributeRelationship ⇐ [<code>MetadataType</code>](#MetadataType)
AttributeRelationship MetadataType

**Kind**: global class
**Extends**: [<code>MetadataType</code>](#MetadataType)

* [AttributeRelationship](#AttributeRelationship)[<code>MetadataType</code>](#MetadataType)
* [.retrieve(retrieveDir, [_], [__], [relationshipID], attributeSetId)](#AttributeRelationship.retrieve) ⇒ <code>Promise.&lt;TYPE.MetadataTypeMapObj&gt;</code>
* [.retrieveForCache(_, __, attributeSetId, relationshipID)](#AttributeRelationship.retrieveForCache) ⇒ <code>Promise.&lt;TYPE.MetadataTypeMapObj&gt;</code>
* [.postRetrieveTasks(metadata)](#AttributeRelationship.postRetrieveTasks) ⇒ <code>TYPE.MetadataTypeItem</code>

<a name="AttributeRelationship.retrieve"></a>

### AttributeRelationship.retrieve(retrieveDir, [_], [__], [relationshipID], attributeSetId) ⇒ <code>Promise.&lt;TYPE.MetadataTypeMapObj&gt;</code>
Retrieves Metadata of schema attribute groups.

**Kind**: static method of [<code>AttributeRelationship</code>](#AttributeRelationship)
**Returns**: <code>Promise.&lt;TYPE.MetadataTypeMapObj&gt;</code> - Promise of metadata

| Param | Type | Description |
| --- | --- | --- |
| retrieveDir | <code>string</code> | Directory where retrieved metadata directory will be saved |
| [_] | <code>void</code> | unused parameter |
| [__] | <code>void</code> | unused parameter |
| [relationshipID] | <code>string</code> | customer key of single item to retrieve |
| attributeSetId | <code>string</code> | CUSTOM: Id of the attribute set for which these relationships are defined |

<a name="AttributeRelationship.retrieveForCache"></a>

### AttributeRelationship.retrieveForCache(_, __, attributeSetId, relationshipID) ⇒ <code>Promise.&lt;TYPE.MetadataTypeMapObj&gt;</code>
Retrieves Metadata of schema attribute groups for caching.

**Kind**: static method of [<code>AttributeRelationship</code>](#AttributeRelationship)
**Returns**: <code>Promise.&lt;TYPE.MetadataTypeMapObj&gt;</code> - Promise of metadata

| Param | Type | Description |
| --- | --- | --- |
| _ | <code>void</code> | unused parameter |
| __ | <code>void</code> | unused parameter |
| attributeSetId | <code>string</code> | CUSTOM: Id of the attribute set for which these relationships are defined |
| relationshipID | <code>string</code> | CUSTOM: customer key of single item to retrieve |

<a name="AttributeRelationship.postRetrieveTasks"></a>

### AttributeRelationship.postRetrieveTasks(metadata) ⇒ <code>TYPE.MetadataTypeItem</code>
manages post retrieve steps

**Kind**: static method of [<code>AttributeRelationship</code>](#AttributeRelationship)
**Returns**: <code>TYPE.MetadataTypeItem</code> - metadata

| Param | Type | Description |
| --- | --- | --- |
| metadata | <code>TYPE.MetadataTypeItem</code> | a single metadata |

<a name="AttributeSet"></a>

## AttributeSet ⇐ [<code>MetadataType</code>](#MetadataType)
Expand Down
9 changes: 0 additions & 9 deletions lib/metadataTypes/AttributeGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa09038

Please sign in to comment.