Skip to content

Commit

Permalink
regen with additions for product facets (enhanced search)
Browse files Browse the repository at this point in the history
  • Loading branch information
Crhistian Ramirez committed Sep 5, 2018
1 parent 0e9fa88 commit fbe6138
Show file tree
Hide file tree
Showing 205 changed files with 2,999 additions and 229 deletions.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ of your imagination.
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 1.0
- Package version: 2.0.0
- Package version: 2.0.1
- Build package: io.swagger.codegen.languages.JavascriptClientCodegen

For more information, please visit [https://documentation.ordercloud.io](https://documentation.ordercloud.io/platform-guides/getting-started/introduction-to-ordercloud)
Expand Down Expand Up @@ -299,6 +299,12 @@ Class | Method | HTTP request | Description
*OrderCloud.Products* | [**SaveAssignment**](docs/Products.md#SaveAssignment) | **POST** /products/assignments |
*OrderCloud.Products* | [**SaveSupplier**](docs/Products.md#SaveSupplier) | **PUT** /products/{productID}/suppliers/{supplierID} |
*OrderCloud.Products* | [**SaveVariant**](docs/Products.md#SaveVariant) | **PUT** /products/{productID}/variants/{variantID} |
*OrderCloud.ProductFacets* | [**Create**](docs/ProductFacets.md#Create) | **POST** /productfacets |
*OrderCloud.ProductFacets* | [**Delete**](docs/ProductFacets.md#Delete) | **DELETE** /productfacets/{productFacetID} |
*OrderCloud.ProductFacets* | [**Get**](docs/ProductFacets.md#Get) | **GET** /productfacets/{productFacetID} |
*OrderCloud.ProductFacets* | [**List**](docs/ProductFacets.md#List) | **GET** /productfacets |
*OrderCloud.ProductFacets* | [**Patch**](docs/ProductFacets.md#Patch) | **PATCH** /productfacets/{productFacetID} |
*OrderCloud.ProductFacets* | [**Save**](docs/ProductFacets.md#Save) | **PUT** /productfacets/{productFacetID} |
*OrderCloud.Promotions* | [**Create**](docs/Promotions.md#Create) | **POST** /promotions |
*OrderCloud.Promotions* | [**Delete**](docs/Promotions.md#Delete) | **DELETE** /promotions/{promotionID} |
*OrderCloud.Promotions* | [**DeleteAssignment**](docs/Promotions.md#DeleteAssignment) | **DELETE** /promotions/{promotionID}/assignments |
Expand Down Expand Up @@ -353,6 +359,12 @@ Class | Method | HTTP request | Description
*OrderCloud.Suppliers* | [**List**](docs/Suppliers.md#List) | **GET** /suppliers |
*OrderCloud.Suppliers* | [**Patch**](docs/Suppliers.md#Patch) | **PATCH** /suppliers/{supplierID} |
*OrderCloud.Suppliers* | [**Save**](docs/Suppliers.md#Save) | **PUT** /suppliers/{supplierID} |
*OrderCloud.SupplierAddresses* | [**Create**](docs/SupplierAddresses.md#Create) | **POST** /suppliers/{supplierID}/addresses |
*OrderCloud.SupplierAddresses* | [**Delete**](docs/SupplierAddresses.md#Delete) | **DELETE** /suppliers/{supplierID}/addresses/{addressID} |
*OrderCloud.SupplierAddresses* | [**Get**](docs/SupplierAddresses.md#Get) | **GET** /suppliers/{supplierID}/addresses/{addressID} |
*OrderCloud.SupplierAddresses* | [**List**](docs/SupplierAddresses.md#List) | **GET** /suppliers/{supplierID}/addresses |
*OrderCloud.SupplierAddresses* | [**Patch**](docs/SupplierAddresses.md#Patch) | **PATCH** /suppliers/{supplierID}/addresses/{addressID} |
*OrderCloud.SupplierAddresses* | [**Save**](docs/SupplierAddresses.md#Save) | **PUT** /suppliers/{supplierID}/addresses/{addressID} |
*OrderCloud.SupplierUsers* | [**Create**](docs/SupplierUsers.md#Create) | **POST** /suppliers/{supplierID}/users |
*OrderCloud.SupplierUsers* | [**Delete**](docs/SupplierUsers.md#Delete) | **DELETE** /suppliers/{supplierID}/users/{userID} |
*OrderCloud.SupplierUsers* | [**Get**](docs/SupplierUsers.md#Get) | **GET** /suppliers/{supplierID}/users/{userID} |
Expand Down Expand Up @@ -432,6 +444,8 @@ Class | Method | HTTP request | Description
- [OrderCloud.ListCostCenterAssignment](docs/ListCostCenterAssignment.md)
- [OrderCloud.ListCreditCard](docs/ListCreditCard.md)
- [OrderCloud.ListCreditCardAssignment](docs/ListCreditCardAssignment.md)
- [OrderCloud.ListFacet](docs/ListFacet.md)
- [OrderCloud.ListFacetValue](docs/ListFacetValue.md)
- [OrderCloud.ListImpersonationConfig](docs/ListImpersonationConfig.md)
- [OrderCloud.ListIncrementor](docs/ListIncrementor.md)
- [OrderCloud.ListLineItem](docs/ListLineItem.md)
Expand All @@ -446,6 +460,7 @@ Class | Method | HTTP request | Description
- [OrderCloud.ListProduct](docs/ListProduct.md)
- [OrderCloud.ListProductAssignment](docs/ListProductAssignment.md)
- [OrderCloud.ListProductCatalogAssignment](docs/ListProductCatalogAssignment.md)
- [OrderCloud.ListProductFacet](docs/ListProductFacet.md)
- [OrderCloud.ListPromotion](docs/ListPromotion.md)
- [OrderCloud.ListPromotionAssignment](docs/ListPromotionAssignment.md)
- [OrderCloud.ListSecurityProfile](docs/ListSecurityProfile.md)
Expand All @@ -468,6 +483,7 @@ Class | Method | HTTP request | Description
- [OrderCloud.MessageSender](docs/MessageSender.md)
- [OrderCloud.MessageSenderAssignment](docs/MessageSenderAssignment.md)
- [OrderCloud.Meta](docs/Meta.md)
- [OrderCloud.MetaWithFacets](docs/MetaWithFacets.md)
- [OrderCloud.Order](docs/Order.md)
- [OrderCloud.OrderApproval](docs/OrderApproval.md)
- [OrderCloud.OrderApprovalInfo](docs/OrderApprovalInfo.md)
Expand Down Expand Up @@ -495,6 +511,7 @@ Class | Method | HTTP request | Description
- [OrderCloud.PartialPriceBreak](docs/PartialPriceBreak.md)
- [OrderCloud.PartialPriceSchedule](docs/PartialPriceSchedule.md)
- [OrderCloud.PartialProduct](docs/PartialProduct.md)
- [OrderCloud.PartialProductFacet](docs/PartialProductFacet.md)
- [OrderCloud.PartialPromotion](docs/PartialPromotion.md)
- [OrderCloud.PartialShipment](docs/PartialShipment.md)
- [OrderCloud.PartialSpec](docs/PartialSpec.md)
Expand All @@ -513,6 +530,7 @@ Class | Method | HTTP request | Description
- [OrderCloud.Product](docs/Product.md)
- [OrderCloud.ProductAssignment](docs/ProductAssignment.md)
- [OrderCloud.ProductCatalogAssignment](docs/ProductCatalogAssignment.md)
- [OrderCloud.ProductFacet](docs/ProductFacet.md)
- [OrderCloud.Promotion](docs/Promotion.md)
- [OrderCloud.PromotionAssignment](docs/PromotionAssignment.md)
- [OrderCloud.SecurityProfile](docs/SecurityProfile.md)
Expand Down Expand Up @@ -584,6 +602,8 @@ Class | Method | HTTP request | Description
- PriceScheduleReader:
- ProductAdmin:
- ProductAssignmentAdmin:
- ProductFacetAdmin:
- ProductFacetReader:
- ProductReader:
- PromotionAdmin:
- PromotionReader:
Expand All @@ -593,6 +613,8 @@ Class | Method | HTTP request | Description
- Shopper:
- SpendingAccountAdmin:
- SpendingAccountReader:
- SupplierAddressAdmin:
- SupplierAddressReader:
- SupplierAdmin:
- SupplierReader:
- SupplierUserAdmin:
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ordercloud-javascript-sdk",
"version": "2.0.0",
"version": "2.0.1",
"description": "JavaScript SDK autogenerated from swagger spec using the Swagger-CodeGen project",
"main": "dist/ordercloud-javascript-sdk.js",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion docs/LineItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**xp** | **Object** | | [optional]
**ID** | **String** | | [optional]
**productID** | **String** | | [optional]
**quantity** | **Number** | | [optional]
Expand All @@ -19,6 +20,5 @@ Name | Type | Description | Notes
**shippingAddress** | [**Address**](Address.md) | | [optional]
**shipFromAddress** | [**Address**](Address.md) | | [optional]
**specs** | [**[LineItemSpec]**](LineItemSpec.md) | | [optional]
**xp** | **Object** | | [optional]


2 changes: 1 addition & 1 deletion docs/ListBuyerProduct.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**items** | [**[BuyerProduct]**](BuyerProduct.md) | | [optional]
**meta** | [**Meta**](Meta.md) | | [optional]
**meta** | [**MetaWithFacets**](MetaWithFacets.md) | | [optional]


11 changes: 11 additions & 0 deletions docs/ListFacet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# OrderCloud.ListFacet

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | | [optional]
**xpPath** | **String** | | [optional]
**values** | [**[ListFacetValue]**](ListFacetValue.md) | | [optional]
**xp** | **Object** | | [optional]


9 changes: 9 additions & 0 deletions docs/ListFacetValue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# OrderCloud.ListFacetValue

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | **String** | | [optional]
**count** | **Number** | | [optional]


9 changes: 9 additions & 0 deletions docs/ListProductFacet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# OrderCloud.ListProductFacet

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**items** | [**[ProductFacet]**](ProductFacet.md) | | [optional]
**meta** | [**Meta**](Meta.md) | | [optional]


13 changes: 13 additions & 0 deletions docs/MetaWithFacets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# OrderCloud.MetaWithFacets

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**facets** | [**[ListFacet]**](ListFacet.md) | | [optional]
**page** | **Number** | | [optional]
**pageSize** | **Number** | | [optional]
**totalCount** | **Number** | | [optional]
**totalPages** | **Number** | | [optional]
**itemRange** | **[Number]** | | [optional]


8 changes: 4 additions & 4 deletions docs/Orders.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Method | HTTP request | Description

<a name="AddPromotion"></a>
# **AddPromotion**
> Promotion AddPromotion(direction, orderID, promoCode)
> OrderPromotion AddPromotion(direction, orderID, promoCode)


Expand All @@ -48,7 +48,7 @@ var direction = "direction_example"; // String | Direction of the order, from th

var orderID = "orderID_example"; // String | ID of the order.

var promoCode = "promoCode_example"; // String | Promo code of the promotion.
var promoCode = "promoCode_example"; // String | Promo code of the order promotion.

apiInstance.AddPromotion(direction, orderID, promoCode).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
Expand All @@ -64,11 +64,11 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**direction** | **String**| Direction of the order, from the current user&#39;s perspective. Possible values: incoming, outgoing. |
**orderID** | **String**| ID of the order. |
**promoCode** | **String**| Promo code of the promotion. |
**promoCode** | **String**| Promo code of the order promotion. |

### Return type

[**Promotion**](Promotion.md)
[**OrderPromotion**](OrderPromotion.md)

### Authorization

Expand Down
2 changes: 1 addition & 1 deletion docs/PartialLineItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**xp** | **Object** | | [optional]
**ID** | **String** | | [optional]
**productID** | **String** | | [optional]
**quantity** | **Number** | | [optional]
Expand All @@ -19,6 +20,5 @@ Name | Type | Description | Notes
**shippingAddress** | [**Address**](Address.md) | | [optional]
**shipFromAddress** | [**Address**](Address.md) | | [optional]
**specs** | [**[LineItemSpec]**](LineItemSpec.md) | | [optional]
**xp** | **Object** | | [optional]


13 changes: 13 additions & 0 deletions docs/PartialProductFacet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# OrderCloud.PartialProductFacet

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ID** | **String** | | [optional]
**name** | **String** | | [optional]
**xpPath** | **String** | | [optional]
**listOrder** | **Number** | | [optional]
**minCount** | **Number** | | [optional]
**xp** | **Object** | | [optional]


2 changes: 1 addition & 1 deletion docs/PartialSpec.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ID** | **String** | | [optional]
**optionCount** | **Number** | | [optional]
**ID** | **String** | | [optional]
**listOrder** | **Number** | | [optional]
**name** | **String** | | [optional]
**defaultValue** | **String** | | [optional]
Expand Down
13 changes: 13 additions & 0 deletions docs/ProductFacet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# OrderCloud.ProductFacet

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ID** | **String** | | [optional]
**name** | **String** | | [optional]
**xpPath** | **String** | | [optional]
**listOrder** | **Number** | | [optional]
**minCount** | **Number** | | [optional]
**xp** | **Object** | | [optional]


Loading

0 comments on commit fbe6138

Please sign in to comment.