Skip to content

Commit

Permalink
TASK: Updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto Mation committed Jul 2, 2021
1 parent 1e5bfd5 commit edc2d97
Show file tree
Hide file tree
Showing 91 changed files with 422 additions and 446 deletions.
2 changes: 1 addition & 1 deletion lib/commercetools-api-tests/gen.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hash=521347af873c8879ba5c9605af6a28958010c4e3
hash=865999c5abbf6bec6c3de7c517305ed01ffda944
2 changes: 1 addition & 1 deletion lib/commercetools-api/gen.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hash=521347af873c8879ba5c9605af6a28958010c4e3
hash=865999c5abbf6bec6c3de7c517305ed01ffda944
2 changes: 1 addition & 1 deletion lib/commercetools-base/gen.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hash=521347af873c8879ba5c9605af6a28958010c4e3
hash=865999c5abbf6bec6c3de7c517305ed01ffda944
2 changes: 1 addition & 1 deletion lib/commercetools-history-tests/gen.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hash=521347af873c8879ba5c9605af6a28958010c4e3
hash=865999c5abbf6bec6c3de7c517305ed01ffda944
2 changes: 1 addition & 1 deletion lib/commercetools-history/gen.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hash=521347af873c8879ba5c9605af6a28958010c4e3
hash=865999c5abbf6bec6c3de7c517305ed01ffda944
2 changes: 1 addition & 1 deletion lib/commercetools-import-tests/gen.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hash=521347af873c8879ba5c9605af6a28958010c4e3
hash=865999c5abbf6bec6c3de7c517305ed01ffda944
67 changes: 38 additions & 29 deletions lib/commercetools-import/docs/RequestBuilder.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $root = new ImportRequestBuilder();

## `withProjectKeyValue("projectKey")->categories()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->post(null)`

Creates import request for creating new categories or updating existing ones.
Creates a request for creating new Categories or updating existing ones.

### Example
```php
Expand All @@ -25,7 +25,8 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->categories()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->get()`

Retrieves all category import operations of an import sink key.
Retrieves all Category ImportOperations of a given ImportSink key.


### Example
```php
Expand All @@ -41,7 +42,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->categories()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->withIdValue("id")->get()`

Retrieves the import operation with the given id.
Retrieves the ImportOperation of a given ID.


### Example
Expand All @@ -59,7 +60,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->customers()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->post(null)`

Creates import request for creating new customers or updating existing ones.
Creates a request for creating new Customers or updating existing ones.

### Example
```php
Expand All @@ -74,7 +75,8 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->customers()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->get()`

Retrieves all customer import operations of an import sink key.
Retrieves all Customer ImportOperations of a given ImportSink key.


### Example
```php
Expand All @@ -90,7 +92,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->customers()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->withIdValue("id")->get()`

Retrieves the import operation with the given id.
Retrieves the ImportOperation of a given ID.


### Example
Expand Down Expand Up @@ -199,7 +201,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->inventories()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->post(null)`

Creates import request for creating new inventories or updating existing ones.
Creates a request for creating new Inventories or updating existing ones.

### Example
```php
Expand All @@ -214,7 +216,8 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->inventories()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->get()`

Retrieves all inventory import operations of an import sink key.
Retrieves all Inventory ImportOperations of a given ImportSink key.


### Example
```php
Expand All @@ -230,7 +233,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->inventories()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->withIdValue("id")->get()`

Retrieves the import operation with the given id.
Retrieves the ImportOperation of a given ID.


### Example
Expand Down Expand Up @@ -263,7 +266,8 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->orderPatches()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->get()`

Retrieves all order-patches import operations of an import sink key.
Retrieves all OrderPatch ImportOperations of a given ImportSink key.


### Example
```php
Expand All @@ -279,7 +283,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->orderPatches()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->withIdValue("id")->get()`

Retrieves the import operation with the given id.
Retrieves the ImportOperation of a given ID.


### Example
Expand All @@ -297,7 +301,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->orders()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->post(null)`

Creates import request for creating new orders or updating existing ones.
Creates a request for creating new Orders or updating existing ones.

### Example
```php
Expand All @@ -312,7 +316,8 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->orders()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->get()`

Retrieves all order import operations of an import sink key.
Retrieves all Order ImportOperations of a given ImportSink key.


### Example
```php
Expand All @@ -328,7 +333,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->orders()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->withIdValue("id")->get()`

Retrieves the import operation with the given id.
Retrieves the ImportOperation of a given ID.


### Example
Expand All @@ -346,7 +351,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->prices()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->post(null)`

Creates import request for creating new prices or updating existing ones.
Creates a request for creating new Prices or updating existing ones.

### Example
```php
Expand All @@ -361,7 +366,8 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->prices()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->get()`

Retrieves all price import operations of an import sink key.
Retrieves all Price ImportOperations of a given ImportSink key.


### Example
```php
Expand All @@ -377,7 +383,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->prices()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->withIdValue("id")->get()`

Retrieves the import operation with the given id.
Retrieves the ImportOperation of a given ID.


### Example
Expand All @@ -395,7 +401,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->productDrafts()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->post(null)`

Creates import request for creating new product drafts or updating existing ones.
Creates a request for creating new ProductDrafts or updating existing ones.


### Example
Expand All @@ -411,7 +417,8 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->productDrafts()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->get()`

Retrieves all import operations of an import sink key.
Retrieves all ProductDraft ImportOperations of a given ImportSink key.


### Example
```php
Expand All @@ -427,7 +434,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->productDrafts()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->withIdValue("id")->get()`

Retrieves the import operation with the given id.
Retrieves the ImportOperation of a given ID.


### Example
Expand All @@ -445,7 +452,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->productTypes()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->post(null)`

Creates import request for creating new product types or updating existing ones.
Creates a request for creating new ProductTypes or updating existing ones.

### Example
```php
Expand All @@ -460,7 +467,8 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->productTypes()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->get()`

Retrieves all import operations of an import sink key.
Retrieves all ProductType ImportOperations of a given ImportSink key.


### Example
```php
Expand All @@ -476,7 +484,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->productTypes()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->withIdValue("id")->get()`

Retrieves the import operation with the given id.
Retrieves the ImportOperation of a given ID.


### Example
Expand Down Expand Up @@ -525,7 +533,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->productVariantPatches()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->withIdValue("id")->get()`

Retrieves the import operation with the given id.
Retrieves the ImportOperation of a given ID.


### Example
Expand All @@ -543,7 +551,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->productVariants()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->post(null)`

Creates import request for creating new product variants or updating existing ones.
Creates a request for creating new ProductVariants or updating existing ones.

### Example
```php
Expand Down Expand Up @@ -574,7 +582,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->productVariants()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->withIdValue("id")->get()`

Retrieves the import operation with the given id.
Retrieves the ImportOperation of a given ID.


### Example
Expand All @@ -592,7 +600,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->products()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->post(null)`

Creates import request for creating new products or updating existing ones.
Creates a request for creating new Products or updating existing ones.

### Example
```php
Expand All @@ -607,7 +615,8 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->products()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->get()`

Retrieves all product import operations of an import sink key.
Retrieves all Product ImportOperations of a given ImportSink key.


### Example
```php
Expand All @@ -623,7 +632,7 @@ $request = $builder
```
## `withProjectKeyValue("projectKey")->products()->importSinkKeyWithImportSinkKeyValue("importSinkKey")->importOperations()->withIdValue("id")->get()`

Retrieves the import operation with the given id.
Retrieves the ImportOperation of a given ID.


### Example
Expand Down
2 changes: 1 addition & 1 deletion lib/commercetools-import/gen.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hash=521347af873c8879ba5c9605af6a28958010c4e3
hash=865999c5abbf6bec6c3de7c517305ed01ffda944
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ public function getDescription();

/**
* <p>Maps to <code>Category.parent</code>.
* The parent category referenced must already exist
* in the commercetools project, or the import operation
* will have an <code>Unresolved</code> state.</p>
* 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>
*
* @return null|CategoryKeyReference
*/
Expand Down Expand Up @@ -103,7 +102,7 @@ public function getMetaKeywords();
public function getAssets();

/**
* <p>The custom fields for this category.</p>
* <p>The custom fields for this Category.</p>
*
* @return null|Custom
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,8 @@ public function getDescription()

/**
* <p>Maps to <code>Category.parent</code>.
* The parent category referenced must already exist
* in the commercetools project, or the import operation
* will have an <code>Unresolved</code> state.</p>
* 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>
*
* @return null|CategoryKeyReference
*/
Expand Down Expand Up @@ -200,7 +199,7 @@ public function getAssets()
}

/**
* <p>The custom fields for this category.</p>
* <p>The custom fields for this Category.</p>
*
* @return null|Custom
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,8 @@ public function getDescription()

/**
* <p>Maps to <code>Category.parent</code>.
* The parent category referenced must already exist
* in the commercetools project, or the import operation
* will have an <code>Unresolved</code> state.</p>
* 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>
*
* @return null|CategoryKeyReference
*/
Expand Down Expand Up @@ -337,7 +336,7 @@ public function getAssets()
}

/**
* <p>The custom fields for this category.</p>
* <p>The custom fields for this Category.</p>
*
* @return null|Custom
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ interface CustomerAddress extends JsonObject

/**
* <p>User-defined identifier for the address.
* It must follow the pattern [a-zA-Z0-9_-]{2,256}, and unique per customer.</p>
* Must follow the pattern <code>[a-zA-Z0-9_-]{2,256}</code> and must be unique per customer.</p>
*
* @return null|string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ final class CustomerAddressBuilder implements Builder

/**
* <p>User-defined identifier for the address.
* It must follow the pattern [a-zA-Z0-9_-]{2,256}, and unique per customer.</p>
* Must follow the pattern <code>[a-zA-Z0-9_-]{2,256}</code> and must be unique per customer.</p>
*
* @return null|string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public function __construct(

/**
* <p>User-defined identifier for the address.
* It must follow the pattern [a-zA-Z0-9_-]{2,256}, and unique per customer.</p>
* Must follow the pattern <code>[a-zA-Z0-9_-]{2,256}</code> and must be unique per customer.</p>
*
* @return null|string
*/
Expand Down
Loading

0 comments on commit edc2d97

Please sign in to comment.