Skip to content

Commit fbe6138

Browse files
author
Crhistian Ramirez
committed
regen with additions for product facets (enhanced search)
1 parent 0e9fa88 commit fbe6138

205 files changed

Lines changed: 2999 additions & 229 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ of your imagination.
1010
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
1111

1212
- API version: 1.0
13-
- Package version: 2.0.0
13+
- Package version: 2.0.1
1414
- Build package: io.swagger.codegen.languages.JavascriptClientCodegen
1515

1616
For more information, please visit [https://documentation.ordercloud.io](https://documentation.ordercloud.io/platform-guides/getting-started/introduction-to-ordercloud)
@@ -299,6 +299,12 @@ Class | Method | HTTP request | Description
299299
*OrderCloud.Products* | [**SaveAssignment**](docs/Products.md#SaveAssignment) | **POST** /products/assignments |
300300
*OrderCloud.Products* | [**SaveSupplier**](docs/Products.md#SaveSupplier) | **PUT** /products/{productID}/suppliers/{supplierID} |
301301
*OrderCloud.Products* | [**SaveVariant**](docs/Products.md#SaveVariant) | **PUT** /products/{productID}/variants/{variantID} |
302+
*OrderCloud.ProductFacets* | [**Create**](docs/ProductFacets.md#Create) | **POST** /productfacets |
303+
*OrderCloud.ProductFacets* | [**Delete**](docs/ProductFacets.md#Delete) | **DELETE** /productfacets/{productFacetID} |
304+
*OrderCloud.ProductFacets* | [**Get**](docs/ProductFacets.md#Get) | **GET** /productfacets/{productFacetID} |
305+
*OrderCloud.ProductFacets* | [**List**](docs/ProductFacets.md#List) | **GET** /productfacets |
306+
*OrderCloud.ProductFacets* | [**Patch**](docs/ProductFacets.md#Patch) | **PATCH** /productfacets/{productFacetID} |
307+
*OrderCloud.ProductFacets* | [**Save**](docs/ProductFacets.md#Save) | **PUT** /productfacets/{productFacetID} |
302308
*OrderCloud.Promotions* | [**Create**](docs/Promotions.md#Create) | **POST** /promotions |
303309
*OrderCloud.Promotions* | [**Delete**](docs/Promotions.md#Delete) | **DELETE** /promotions/{promotionID} |
304310
*OrderCloud.Promotions* | [**DeleteAssignment**](docs/Promotions.md#DeleteAssignment) | **DELETE** /promotions/{promotionID}/assignments |
@@ -353,6 +359,12 @@ Class | Method | HTTP request | Description
353359
*OrderCloud.Suppliers* | [**List**](docs/Suppliers.md#List) | **GET** /suppliers |
354360
*OrderCloud.Suppliers* | [**Patch**](docs/Suppliers.md#Patch) | **PATCH** /suppliers/{supplierID} |
355361
*OrderCloud.Suppliers* | [**Save**](docs/Suppliers.md#Save) | **PUT** /suppliers/{supplierID} |
362+
*OrderCloud.SupplierAddresses* | [**Create**](docs/SupplierAddresses.md#Create) | **POST** /suppliers/{supplierID}/addresses |
363+
*OrderCloud.SupplierAddresses* | [**Delete**](docs/SupplierAddresses.md#Delete) | **DELETE** /suppliers/{supplierID}/addresses/{addressID} |
364+
*OrderCloud.SupplierAddresses* | [**Get**](docs/SupplierAddresses.md#Get) | **GET** /suppliers/{supplierID}/addresses/{addressID} |
365+
*OrderCloud.SupplierAddresses* | [**List**](docs/SupplierAddresses.md#List) | **GET** /suppliers/{supplierID}/addresses |
366+
*OrderCloud.SupplierAddresses* | [**Patch**](docs/SupplierAddresses.md#Patch) | **PATCH** /suppliers/{supplierID}/addresses/{addressID} |
367+
*OrderCloud.SupplierAddresses* | [**Save**](docs/SupplierAddresses.md#Save) | **PUT** /suppliers/{supplierID}/addresses/{addressID} |
356368
*OrderCloud.SupplierUsers* | [**Create**](docs/SupplierUsers.md#Create) | **POST** /suppliers/{supplierID}/users |
357369
*OrderCloud.SupplierUsers* | [**Delete**](docs/SupplierUsers.md#Delete) | **DELETE** /suppliers/{supplierID}/users/{userID} |
358370
*OrderCloud.SupplierUsers* | [**Get**](docs/SupplierUsers.md#Get) | **GET** /suppliers/{supplierID}/users/{userID} |
@@ -432,6 +444,8 @@ Class | Method | HTTP request | Description
432444
- [OrderCloud.ListCostCenterAssignment](docs/ListCostCenterAssignment.md)
433445
- [OrderCloud.ListCreditCard](docs/ListCreditCard.md)
434446
- [OrderCloud.ListCreditCardAssignment](docs/ListCreditCardAssignment.md)
447+
- [OrderCloud.ListFacet](docs/ListFacet.md)
448+
- [OrderCloud.ListFacetValue](docs/ListFacetValue.md)
435449
- [OrderCloud.ListImpersonationConfig](docs/ListImpersonationConfig.md)
436450
- [OrderCloud.ListIncrementor](docs/ListIncrementor.md)
437451
- [OrderCloud.ListLineItem](docs/ListLineItem.md)
@@ -446,6 +460,7 @@ Class | Method | HTTP request | Description
446460
- [OrderCloud.ListProduct](docs/ListProduct.md)
447461
- [OrderCloud.ListProductAssignment](docs/ListProductAssignment.md)
448462
- [OrderCloud.ListProductCatalogAssignment](docs/ListProductCatalogAssignment.md)
463+
- [OrderCloud.ListProductFacet](docs/ListProductFacet.md)
449464
- [OrderCloud.ListPromotion](docs/ListPromotion.md)
450465
- [OrderCloud.ListPromotionAssignment](docs/ListPromotionAssignment.md)
451466
- [OrderCloud.ListSecurityProfile](docs/ListSecurityProfile.md)
@@ -468,6 +483,7 @@ Class | Method | HTTP request | Description
468483
- [OrderCloud.MessageSender](docs/MessageSender.md)
469484
- [OrderCloud.MessageSenderAssignment](docs/MessageSenderAssignment.md)
470485
- [OrderCloud.Meta](docs/Meta.md)
486+
- [OrderCloud.MetaWithFacets](docs/MetaWithFacets.md)
471487
- [OrderCloud.Order](docs/Order.md)
472488
- [OrderCloud.OrderApproval](docs/OrderApproval.md)
473489
- [OrderCloud.OrderApprovalInfo](docs/OrderApprovalInfo.md)
@@ -495,6 +511,7 @@ Class | Method | HTTP request | Description
495511
- [OrderCloud.PartialPriceBreak](docs/PartialPriceBreak.md)
496512
- [OrderCloud.PartialPriceSchedule](docs/PartialPriceSchedule.md)
497513
- [OrderCloud.PartialProduct](docs/PartialProduct.md)
514+
- [OrderCloud.PartialProductFacet](docs/PartialProductFacet.md)
498515
- [OrderCloud.PartialPromotion](docs/PartialPromotion.md)
499516
- [OrderCloud.PartialShipment](docs/PartialShipment.md)
500517
- [OrderCloud.PartialSpec](docs/PartialSpec.md)
@@ -513,6 +530,7 @@ Class | Method | HTTP request | Description
513530
- [OrderCloud.Product](docs/Product.md)
514531
- [OrderCloud.ProductAssignment](docs/ProductAssignment.md)
515532
- [OrderCloud.ProductCatalogAssignment](docs/ProductCatalogAssignment.md)
533+
- [OrderCloud.ProductFacet](docs/ProductFacet.md)
516534
- [OrderCloud.Promotion](docs/Promotion.md)
517535
- [OrderCloud.PromotionAssignment](docs/PromotionAssignment.md)
518536
- [OrderCloud.SecurityProfile](docs/SecurityProfile.md)
@@ -584,6 +602,8 @@ Class | Method | HTTP request | Description
584602
- PriceScheduleReader:
585603
- ProductAdmin:
586604
- ProductAssignmentAdmin:
605+
- ProductFacetAdmin:
606+
- ProductFacetReader:
587607
- ProductReader:
588608
- PromotionAdmin:
589609
- PromotionReader:
@@ -593,6 +613,8 @@ Class | Method | HTTP request | Description
593613
- Shopper:
594614
- SpendingAccountAdmin:
595615
- SpendingAccountReader:
616+
- SupplierAddressAdmin:
617+
- SupplierAddressReader:
596618
- SupplierAdmin:
597619
- SupplierReader:
598620
- SupplierUserAdmin:

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ordercloud-javascript-sdk",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "JavaScript SDK autogenerated from swagger spec using the Swagger-CodeGen project",
55
"main": "dist/ordercloud-javascript-sdk.js",
66
"authors": [

docs/LineItem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6+
**xp** | **Object** | | [optional]
67
**ID** | **String** | | [optional]
78
**productID** | **String** | | [optional]
89
**quantity** | **Number** | | [optional]
@@ -19,6 +20,5 @@ Name | Type | Description | Notes
1920
**shippingAddress** | [**Address**](Address.md) | | [optional]
2021
**shipFromAddress** | [**Address**](Address.md) | | [optional]
2122
**specs** | [**[LineItemSpec]**](LineItemSpec.md) | | [optional]
22-
**xp** | **Object** | | [optional]
2323

2424

docs/ListBuyerProduct.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**items** | [**[BuyerProduct]**](BuyerProduct.md) | | [optional]
7-
**meta** | [**Meta**](Meta.md) | | [optional]
7+
**meta** | [**MetaWithFacets**](MetaWithFacets.md) | | [optional]
88

99

docs/ListFacet.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# OrderCloud.ListFacet
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**name** | **String** | | [optional]
7+
**xpPath** | **String** | | [optional]
8+
**values** | [**[ListFacetValue]**](ListFacetValue.md) | | [optional]
9+
**xp** | **Object** | | [optional]
10+
11+

docs/ListFacetValue.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# OrderCloud.ListFacetValue
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**value** | **String** | | [optional]
7+
**count** | **Number** | | [optional]
8+
9+

docs/ListProductFacet.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# OrderCloud.ListProductFacet
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**items** | [**[ProductFacet]**](ProductFacet.md) | | [optional]
7+
**meta** | [**Meta**](Meta.md) | | [optional]
8+
9+

docs/MetaWithFacets.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# OrderCloud.MetaWithFacets
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**facets** | [**[ListFacet]**](ListFacet.md) | | [optional]
7+
**page** | **Number** | | [optional]
8+
**pageSize** | **Number** | | [optional]
9+
**totalCount** | **Number** | | [optional]
10+
**totalPages** | **Number** | | [optional]
11+
**itemRange** | **[Number]** | | [optional]
12+
13+

docs/Orders.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Method | HTTP request | Description
2929

3030
<a name="AddPromotion"></a>
3131
# **AddPromotion**
32-
> Promotion AddPromotion(direction, orderID, promoCode)
32+
> OrderPromotion AddPromotion(direction, orderID, promoCode)
3333
3434

3535

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

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

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

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

6969
### Return type
7070

71-
[**Promotion**](Promotion.md)
71+
[**OrderPromotion**](OrderPromotion.md)
7272

7373
### Authorization
7474

docs/PartialLineItem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6+
**xp** | **Object** | | [optional]
67
**ID** | **String** | | [optional]
78
**productID** | **String** | | [optional]
89
**quantity** | **Number** | | [optional]
@@ -19,6 +20,5 @@ Name | Type | Description | Notes
1920
**shippingAddress** | [**Address**](Address.md) | | [optional]
2021
**shipFromAddress** | [**Address**](Address.md) | | [optional]
2122
**specs** | [**[LineItemSpec]**](LineItemSpec.md) | | [optional]
22-
**xp** | **Object** | | [optional]
2323

2424

0 commit comments

Comments
 (0)