Skip to content

Commit

Permalink
Merge pull request #51 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
jenschude authored Sep 2, 2021
2 parents 73122e4 + 5542b5e commit 1d18f52
Show file tree
Hide file tree
Showing 36 changed files with 254 additions and 180 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function getDescription();
/**
* <p>Maps to <code>Category.parent</code>.
* The Reference to the parent <a href="/../api/projects/categories#category">Category</a> with which the Category is associated.
* If referenced Category does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>Unresolved</code> until the necessary Category is created.</p>
* If referenced Category does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary Category is created.</p>
*
* @return null|CategoryKeyReference
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function getDescription()
/**
* <p>Maps to <code>Category.parent</code>.
* The Reference to the parent <a href="/../api/projects/categories#category">Category</a> with which the Category is associated.
* If referenced Category does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>Unresolved</code> until the necessary Category is created.</p>
* If referenced Category does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary Category is created.</p>
*
* @return null|CategoryKeyReference
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public function getDescription()
/**
* <p>Maps to <code>Category.parent</code>.
* The Reference to the parent <a href="/../api/projects/categories#category">Category</a> with which the Category is associated.
* If referenced Category does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>Unresolved</code> until the necessary Category is created.</p>
* If referenced Category does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary Category is created.</p>
*
* @return null|CategoryKeyReference
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function getEmail();
public function getPassword();

/**
* <p>The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>Unresolved</code> until the necessary Stores are created.</p>
* <p>The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary Stores are created.</p>
*
* @return null|StoreKeyReferenceCollection
*/
Expand Down Expand Up @@ -141,7 +141,7 @@ public function getIsEmailVerified();

/**
* <p>The Reference to the <a href="/../api/projects/customerGroups#customergroup">CustomerGroup</a> with which the Customer is associated.
* If referenced CustomerGroup does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>Unresolved</code> until the necessary CustomerGroup is created.</p>
* If referenced CustomerGroup does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary CustomerGroup is created.</p>
*
* @return null|CustomerGroupKeyReference
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public function getPassword()
}

/**
* <p>The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>Unresolved</code> until the necessary Stores are created.</p>
* <p>The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary Stores are created.</p>
*
* @return null|StoreKeyReferenceCollection
*/
Expand Down Expand Up @@ -293,7 +293,7 @@ public function getIsEmailVerified()

/**
* <p>The Reference to the <a href="/../api/projects/customerGroups#customergroup">CustomerGroup</a> with which the Customer is associated.
* If referenced CustomerGroup does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>Unresolved</code> until the necessary CustomerGroup is created.</p>
* If referenced CustomerGroup does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary CustomerGroup is created.</p>
*
* @return null|CustomerGroupKeyReference
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ public function getPassword()
}

/**
* <p>The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>Unresolved</code> until the necessary Stores are created.</p>
* <p>The References to the Stores with which the Customer is associated. If referenced Stores do not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary Stores are created.</p>
*
* @return null|StoreKeyReferenceCollection
*/
Expand Down Expand Up @@ -485,7 +485,7 @@ public function getIsEmailVerified()

/**
* <p>The Reference to the <a href="/../api/projects/customerGroups#customergroup">CustomerGroup</a> with which the Customer is associated.
* If referenced CustomerGroup does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>Unresolved</code> until the necessary CustomerGroup is created.</p>
* If referenced CustomerGroup does not exist, the <code>state</code> of the <a href="/import-operation#importoperation">ImportOperation</a> will be set to <code>unresolved</code> until the necessary CustomerGroup is created.</p>
*
* @return null|CustomerGroupKeyReference
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ interface InvalidStateTransitionError extends ErrorObject
public const FIELD_NEW_STATE = 'newState';

/**
* <p>Represents the status of a resource under an import process. Every resource has the initial state <code>Unresolved</code>.</p>
* <p>Represents the status of a resource under an import process. Every resource has the initial state <code>processing</code>.</p>
*
* @return null|string
*/
public function getCurrentState();

/**
* <p>Represents the status of a resource under an import process. Every resource has the initial state <code>Unresolved</code>.</p>
* <p>Represents the status of a resource under an import process. Every resource has the initial state <code>processing</code>.</p>
*
* @return null|string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function getMessage()
}

/**
* <p>Represents the status of a resource under an import process. Every resource has the initial state <code>Unresolved</code>.</p>
* <p>Represents the status of a resource under an import process. Every resource has the initial state <code>processing</code>.</p>
*
* @return null|string
*/
Expand All @@ -54,7 +54,7 @@ public function getCurrentState()
}

/**
* <p>Represents the status of a resource under an import process. Every resource has the initial state <code>Unresolved</code>.</p>
* <p>Represents the status of a resource under an import process. Every resource has the initial state <code>processing</code>.</p>
*
* @return null|string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function getMessage()
}

/**
* <p>Represents the status of a resource under an import process. Every resource has the initial state <code>Unresolved</code>.</p>
* <p>Represents the status of a resource under an import process. Every resource has the initial state <code>processing</code>.</p>
*
* @return null|string
*/
Expand All @@ -109,7 +109,7 @@ public function getCurrentState()
}

/**
* <p>Represents the status of a resource under an import process. Every resource has the initial state <code>Unresolved</code>.</p>
* <p>Represents the status of a resource under an import process. Every resource has the initial state <code>processing</code>.</p>
*
* @return null|string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function getResourceKey();
public function getId();

/**
* <p>The import status of the resource. Set to <code>Rejected</code> or <code>ValidationFailed</code> if the import of the resource was not successful.</p>
* <p>The import status of the resource. Set to <code>rejected</code> or <code>validationFailed</code> if the import of the resource was not successful.</p>
*
* @return null|string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function getId()
}

/**
* <p>The import status of the resource. Set to <code>Rejected</code> or <code>ValidationFailed</code> if the import of the resource was not successful.</p>
* <p>The import status of the resource. Set to <code>rejected</code> or <code>validationFailed</code> if the import of the resource was not successful.</p>
*
* @return null|string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public function getId()
}

/**
* <p>The import status of the resource. Set to <code>Rejected</code> or <code>ValidationFailed</code> if the import of the resource was not successful.</p>
* <p>The import status of the resource. Set to <code>rejected</code> or <code>validationFailed</code> if the import of the resource was not successful.</p>
*
* @return null|string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,69 +13,82 @@

interface OperationStates extends JsonObject
{
public const FIELD_VALIDATION_FAILED = 'ValidationFailed';
public const FIELD_UNRESOLVED = 'Unresolved';
public const FIELD_WAIT_FOR_MASTER_VARIANT = 'WaitForMasterVariant';
public const FIELD_IMPORTED = 'Imported';
public const FIELD_REJECTED = 'Rejected';
public const FIELD_PROCESSING = 'processing';
public const FIELD_VALIDATION_FAILED = 'validationFailed';
public const FIELD_UNRESOLVED = 'unresolved';
public const FIELD_WAIT_FOR_MASTER_VARIANT = 'waitForMasterVariant';
public const FIELD_IMPORTED = 'imported';
public const FIELD_REJECTED = 'rejected';

/**
* <p>The number of resources in the <code>ValidationFailed</code> state.</p>
* <p>The number of resources in the <code>processing</code> state.</p>
*
* @return null|int
*/
public function getProcessing();

/**
* <p>The number of resources in the <code>validationFailed</code> state.</p>
*
* @return null|int
*/
public function getValidationFailed();

/**
* <p>The number of resources in the <code>Unresolved</code> state.</p>
* <p>The number of resources in the <code>unresolved</code> state.</p>
*
* @return null|int
*/
public function getUnresolved();

/**
* <p>The number of resources in the <code>WaitForMasterVariant</code> state.</p>
* <p>The number of resources in the <code>waitForMasterVariant</code> state.</p>
*
* @return null|int
*/
public function getWaitForMasterVariant();

/**
* <p>The number of resources in the <code>Imported</code> state.</p>
* <p>The number of resources in the <code>imported</code> state.</p>
*
* @return null|int
*/
public function getImported();

/**
* <p>The number of resources in the <code>Rejected</code> state.</p>
* <p>The number of resources in the <code>rejected</code> state.</p>
*
* @return null|int
*/
public function getRejected();

/**
* @param ?int $ValidationFailed
* @param ?int $processing
*/
public function setProcessing(?int $processing): void;

/**
* @param ?int $validationFailed
*/
public function setValidationFailed(?int $ValidationFailed): void;
public function setValidationFailed(?int $validationFailed): void;

/**
* @param ?int $Unresolved
* @param ?int $unresolved
*/
public function setUnresolved(?int $Unresolved): void;
public function setUnresolved(?int $unresolved): void;

/**
* @param ?int $WaitForMasterVariant
* @param ?int $waitForMasterVariant
*/
public function setWaitForMasterVariant(?int $WaitForMasterVariant): void;
public function setWaitForMasterVariant(?int $waitForMasterVariant): void;

/**
* @param ?int $Imported
* @param ?int $imported
*/
public function setImported(?int $Imported): void;
public function setImported(?int $imported): void;

/**
* @param ?int $Rejected
* @param ?int $rejected
*/
public function setRejected(?int $Rejected): void;
public function setRejected(?int $rejected): void;
}
Loading

0 comments on commit 1d18f52

Please sign in to comment.