Skip to content

Commit 51a9b0f

Browse files
author
Connor OBrien
committed
Updates to staging version 47
1 parent 6b1a8ea commit 51a9b0f

201 files changed

Lines changed: 1643 additions & 2486 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: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
55
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
66

77
- API version: 1.0
8-
- Package version: 1.0.46
8+
- Package version: 1.0.47
99
- Build package: io.swagger.codegen.languages.JavascriptClientCodegen
1010
For more information, please visit [http://ordercloud.io](http://ordercloud.io)
1111

@@ -184,23 +184,25 @@ Class | Method | HTTP request | Description
184184
*OrderCloud.Me* | [**DeleteCreditCard**](docs/Me.md#DeleteCreditCard) | **DELETE** /me/creditcards/{creditcardID} |
185185
*OrderCloud.Me* | [**Get**](docs/Me.md#Get) | **GET** /me |
186186
*OrderCloud.Me* | [**GetAddress**](docs/Me.md#GetAddress) | **GET** /me/addresses/{addressID} |
187+
*OrderCloud.Me* | [**GetCatalog**](docs/Me.md#GetCatalog) | **GET** /me/catalogs/{catalogID} |
187188
*OrderCloud.Me* | [**GetCreditCard**](docs/Me.md#GetCreditCard) | **GET** /me/creditcards/{creditcardID} |
188-
*OrderCloud.Me* | [**GetProduct**](docs/Me.md#GetProduct) | **GET** /me/catalogs/{catalogID}/products/{productID} |
189+
*OrderCloud.Me* | [**GetProduct**](docs/Me.md#GetProduct) | **GET** /me/products/{productID} |
189190
*OrderCloud.Me* | [**GetPromotion**](docs/Me.md#GetPromotion) | **GET** /me/promotions/{promotionID} |
190191
*OrderCloud.Me* | [**GetShipment**](docs/Me.md#GetShipment) | **GET** /me/shipments/{shipmentID} |
191-
*OrderCloud.Me* | [**GetSpec**](docs/Me.md#GetSpec) | **GET** /me/catalogs/{catalogID}/products/{productID}/specs/{specID} |
192+
*OrderCloud.Me* | [**GetSpec**](docs/Me.md#GetSpec) | **GET** /me/products/{productID}/specs/{specID} |
192193
*OrderCloud.Me* | [**GetSpendingAccount**](docs/Me.md#GetSpendingAccount) | **GET** /me/spendingaccounts/{spendingAccountID} |
193194
*OrderCloud.Me* | [**ListAddresses**](docs/Me.md#ListAddresses) | **GET** /me/addresses |
194195
*OrderCloud.Me* | [**ListApprovableOrders**](docs/Me.md#ListApprovableOrders) | **GET** /me/orders/approvable |
196+
*OrderCloud.Me* | [**ListCatalogs**](docs/Me.md#ListCatalogs) | **GET** /me/catalogs |
195197
*OrderCloud.Me* | [**ListCategories**](docs/Me.md#ListCategories) | **GET** /me/categories |
196198
*OrderCloud.Me* | [**ListCostCenters**](docs/Me.md#ListCostCenters) | **GET** /me/costcenters |
197199
*OrderCloud.Me* | [**ListCreditCards**](docs/Me.md#ListCreditCards) | **GET** /me/creditcards |
198200
*OrderCloud.Me* | [**ListOrders**](docs/Me.md#ListOrders) | **GET** /me/orders |
199201
*OrderCloud.Me* | [**ListProducts**](docs/Me.md#ListProducts) | **GET** /me/products |
200202
*OrderCloud.Me* | [**ListPromotions**](docs/Me.md#ListPromotions) | **GET** /me/promotions |
201-
*OrderCloud.Me* | [**ListShipmentItems**](docs/Me.md#ListShipmentItems) | **GET** /me/shipments/{shipmentID}/shipmentitems |
203+
*OrderCloud.Me* | [**ListShipmentItems**](docs/Me.md#ListShipmentItems) | **GET** /me/shipments/{shipmentID}/items |
202204
*OrderCloud.Me* | [**ListShipments**](docs/Me.md#ListShipments) | **GET** /me/shipments |
203-
*OrderCloud.Me* | [**ListSpecs**](docs/Me.md#ListSpecs) | **GET** /me/catalogs/{catalogID}/products/{productID}/specs |
205+
*OrderCloud.Me* | [**ListSpecs**](docs/Me.md#ListSpecs) | **GET** /me/products/{productID}/specs |
204206
*OrderCloud.Me* | [**ListSpendingAccounts**](docs/Me.md#ListSpendingAccounts) | **GET** /me/spendingAccounts |
205207
*OrderCloud.Me* | [**ListUserGroups**](docs/Me.md#ListUserGroups) | **GET** /me/usergroups |
206208
*OrderCloud.Me* | [**Patch**](docs/Me.md#Patch) | **PATCH** /me |
@@ -344,7 +346,6 @@ Class | Method | HTTP request | Description
344346
- [OrderCloud.AccessToken](docs/AccessToken.md)
345347
- [OrderCloud.Address](docs/Address.md)
346348
- [OrderCloud.AddressAssignment](docs/AddressAssignment.md)
347-
- [OrderCloud.AdminCompany](docs/AdminCompany.md)
348349
- [OrderCloud.ApprovalRule](docs/ApprovalRule.md)
349350
- [OrderCloud.BaseSpec](docs/BaseSpec.md)
350351
- [OrderCloud.Buyer](docs/Buyer.md)
@@ -362,7 +363,6 @@ Class | Method | HTTP request | Description
362363
- [OrderCloud.CostCenterAssignment](docs/CostCenterAssignment.md)
363364
- [OrderCloud.CreditCard](docs/CreditCard.md)
364365
- [OrderCloud.CreditCardAssignment](docs/CreditCardAssignment.md)
365-
- [OrderCloud.DevTokenRequest](docs/DevTokenRequest.md)
366366
- [OrderCloud.ImpersonateTokenRequest](docs/ImpersonateTokenRequest.md)
367367
- [OrderCloud.ImpersonationConfig](docs/ImpersonationConfig.md)
368368
- [OrderCloud.Inventory](docs/Inventory.md)
@@ -371,8 +371,8 @@ Class | Method | HTTP request | Description
371371
- [OrderCloud.LineItemSpec](docs/LineItemSpec.md)
372372
- [OrderCloud.ListAddress](docs/ListAddress.md)
373373
- [OrderCloud.ListAddressAssignment](docs/ListAddressAssignment.md)
374-
- [OrderCloud.ListAdminCompany](docs/ListAdminCompany.md)
375374
- [OrderCloud.ListApprovalRule](docs/ListApprovalRule.md)
375+
- [OrderCloud.ListArgs](docs/ListArgs.md)
376376
- [OrderCloud.ListBuyer](docs/ListBuyer.md)
377377
- [OrderCloud.ListBuyerAddress](docs/ListBuyerAddress.md)
378378
- [OrderCloud.ListBuyerCreditCard](docs/ListBuyerCreditCard.md)
@@ -391,6 +391,7 @@ Class | Method | HTTP request | Description
391391
- [OrderCloud.ListImpersonationConfig](docs/ListImpersonationConfig.md)
392392
- [OrderCloud.ListLineItem](docs/ListLineItem.md)
393393
- [OrderCloud.ListMessageCCListenerAssignment](docs/ListMessageCCListenerAssignment.md)
394+
- [OrderCloud.ListMessageConfig](docs/ListMessageConfig.md)
394395
- [OrderCloud.ListMessageSender](docs/ListMessageSender.md)
395396
- [OrderCloud.ListMessageSenderAssignment](docs/ListMessageSenderAssignment.md)
396397
- [OrderCloud.ListOrder](docs/ListOrder.md)
@@ -417,7 +418,6 @@ Class | Method | HTTP request | Description
417418
- [OrderCloud.ListUserGroup](docs/ListUserGroup.md)
418419
- [OrderCloud.ListUserGroupAssignment](docs/ListUserGroupAssignment.md)
419420
- [OrderCloud.ListVariant](docs/ListVariant.md)
420-
- [OrderCloud.ListXpIndex](docs/ListXpIndex.md)
421421
- [OrderCloud.MessageCCListenerAssignment](docs/MessageCCListenerAssignment.md)
422422
- [OrderCloud.MessageSender](docs/MessageSender.md)
423423
- [OrderCloud.MessageSenderAssignment](docs/MessageSenderAssignment.md)
@@ -430,7 +430,6 @@ Class | Method | HTTP request | Description
430430
- [OrderCloud.PasswordResetRequest](docs/PasswordResetRequest.md)
431431
- [OrderCloud.Payment](docs/Payment.md)
432432
- [OrderCloud.PaymentTransaction](docs/PaymentTransaction.md)
433-
- [OrderCloud.PingResponse](docs/PingResponse.md)
434433
- [OrderCloud.PriceBreak](docs/PriceBreak.md)
435434
- [OrderCloud.PriceSchedule](docs/PriceSchedule.md)
436435
- [OrderCloud.Product](docs/Product.md)
@@ -448,14 +447,12 @@ Class | Method | HTTP request | Description
448447
- [OrderCloud.SpecProductAssignment](docs/SpecProductAssignment.md)
449448
- [OrderCloud.SpendingAccount](docs/SpendingAccount.md)
450449
- [OrderCloud.SpendingAccountAssignment](docs/SpendingAccountAssignment.md)
451-
- [OrderCloud.StripeCreditCard](docs/StripeCreditCard.md)
452450
- [OrderCloud.Supplier](docs/Supplier.md)
453451
- [OrderCloud.TokenPasswordReset](docs/TokenPasswordReset.md)
454452
- [OrderCloud.User](docs/User.md)
455453
- [OrderCloud.UserGroup](docs/UserGroup.md)
456454
- [OrderCloud.UserGroupAssignment](docs/UserGroupAssignment.md)
457455
- [OrderCloud.Variant](docs/Variant.md)
458-
- [OrderCloud.XpIndex](docs/XpIndex.md)
459456

460457

461458
## Documentation for Authorization
@@ -469,6 +466,8 @@ Class | Method | HTTP request | Description
469466
- **Scopes**:
470467
- AddressAdmin:
471468
- AddressReader:
469+
- AdminAddressAdmin:
470+
- AdminAddressReader:
472471
- AdminUserAdmin:
473472
- AdminUserGroupAdmin:
474473
- AdminUserGroupReader:

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": "1.0.46",
3+
"version": "1.0.47",
44
"description": "JavaScript SDK autogenerated from swagger spec using the Swagger-CodeGen project",
55
"main": "dist/ordercloud-javascript-sdk.js",
66
"authors": [

docs/Addresses.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,12 @@ var apiInstance = new OrderCloud.Addresses();
237237
var buyerID = "buyerID_example"; // String | ID of the buyer.
238238

239239
var opts = {
240-
'search': "search_example", // String | Word or phrase to search for.
241-
'searchOn': "searchOn_example", // String | Comma-delimited list of fields to search on.
242-
'sortBy': "sortBy_example", // String | Comma-delimited list of fields to sort by.
243-
'page': 56, // Number | Page of results to return. Default: 1
244-
'pageSize': 56, // Number | Number of results to return per page. Default: 20, max: 100.
245-
'filters': {key: "filters_example"} // {String: String} | Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
240+
'search': "search_example", // String | Search of the address.
241+
'searchOn': ["searchOn_example"], // [String] | Search on of the address.
242+
'sortBy': ["sortBy_example"], // [String] | Sort by of the address.
243+
'page': 56, // Number | Page of the address.
244+
'pageSize': 56, // Number | Page size of the address.
245+
'filters': {key: "filters_example"} // {String: String} | Filters of the address.
246246
};
247247
apiInstance.List(buyerID, opts).then(function(data) {
248248
console.log('API called successfully. Returned data: ' + data);
@@ -257,12 +257,12 @@ apiInstance.List(buyerID, opts).then(function(data) {
257257
Name | Type | Description | Notes
258258
------------- | ------------- | ------------- | -------------
259259
**buyerID** | **String**| ID of the buyer. |
260-
**search** | **String**| Word or phrase to search for. | [optional]
261-
**searchOn** | **String**| Comma-delimited list of fields to search on. | [optional]
262-
**sortBy** | **String**| Comma-delimited list of fields to sort by. | [optional]
263-
**page** | **Number**| Page of results to return. Default: 1 | [optional]
264-
**pageSize** | **Number**| Number of results to return per page. Default: 20, max: 100. | [optional]
265-
**filters** | [**{String: String}**](String.md)| Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???' | [optional]
260+
**search** | **String**| Search of the address. | [optional]
261+
**searchOn** | [**[String]**](String.md)| Search on of the address. | [optional]
262+
**sortBy** | [**[String]**](String.md)| Sort by of the address. | [optional]
263+
**page** | **Number**| Page of the address. | [optional]
264+
**pageSize** | **Number**| Page size of the address. | [optional]
265+
**filters** | [**{String: String}**](String.md)| Filters of the address. | [optional]
266266

267267
### Return type
268268

@@ -303,8 +303,8 @@ var opts = {
303303
'level': "level_example", // String | Level of the address.
304304
'isShipping': true, // Boolean | Is shipping of the address.
305305
'isBilling': true, // Boolean | Is billing of the address.
306-
'page': 56, // Number | Page of results to return. Default: 1
307-
'pageSize': 56 // Number | Number of results to return per page. Default: 20, max: 100.
306+
'page': 56, // Number | Page of the address.
307+
'pageSize': 56 // Number | Page size of the address.
308308
};
309309
apiInstance.ListAssignments(buyerID, opts).then(function(data) {
310310
console.log('API called successfully. Returned data: ' + data);
@@ -325,8 +325,8 @@ Name | Type | Description | Notes
325325
**level** | **String**| Level of the address. | [optional]
326326
**isShipping** | **Boolean**| Is shipping of the address. | [optional]
327327
**isBilling** | **Boolean**| Is billing of the address. | [optional]
328-
**page** | **Number**| Page of results to return. Default: 1 | [optional]
329-
**pageSize** | **Number**| Number of results to return per page. Default: 20, max: 100. | [optional]
328+
**page** | **Number**| Page of the address. | [optional]
329+
**pageSize** | **Number**| Page size of the address. | [optional]
330330

331331
### Return type
332332

docs/AdminAddresses.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,12 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
168168
var apiInstance = new OrderCloud.AdminAddresses();
169169

170170
var opts = {
171-
'search': "search_example", // String | Word or phrase to search for.
172-
'searchOn': "searchOn_example", // String | Comma-delimited list of fields to search on.
173-
'sortBy': "sortBy_example", // String | Comma-delimited list of fields to sort by.
174-
'page': 56, // Number | Page of results to return. Default: 1
175-
'pageSize': 56, // Number | Number of results to return per page. Default: 20, max: 100.
176-
'filters': {key: "filters_example"} // {String: String} | Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
171+
'search': "search_example", // String | Search of the admin address.
172+
'searchOn': ["searchOn_example"], // [String] | Search on of the admin address.
173+
'sortBy': ["sortBy_example"], // [String] | Sort by of the admin address.
174+
'page': 56, // Number | Page of the admin address.
175+
'pageSize': 56, // Number | Page size of the admin address.
176+
'filters': {key: "filters_example"} // {String: String} | Filters of the admin address.
177177
};
178178
apiInstance.List(opts).then(function(data) {
179179
console.log('API called successfully. Returned data: ' + data);
@@ -187,12 +187,12 @@ apiInstance.List(opts).then(function(data) {
187187

188188
Name | Type | Description | Notes
189189
------------- | ------------- | ------------- | -------------
190-
**search** | **String**| Word or phrase to search for. | [optional]
191-
**searchOn** | **String**| Comma-delimited list of fields to search on. | [optional]
192-
**sortBy** | **String**| Comma-delimited list of fields to sort by. | [optional]
193-
**page** | **Number**| Page of results to return. Default: 1 | [optional]
194-
**pageSize** | **Number**| Number of results to return per page. Default: 20, max: 100. | [optional]
195-
**filters** | [**{String: String}**](String.md)| Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???' | [optional]
190+
**search** | **String**| Search of the admin address. | [optional]
191+
**searchOn** | [**[String]**](String.md)| Search on of the admin address. | [optional]
192+
**sortBy** | [**[String]**](String.md)| Sort by of the admin address. | [optional]
193+
**page** | **Number**| Page of the admin address. | [optional]
194+
**pageSize** | **Number**| Page size of the admin address. | [optional]
195+
**filters** | [**{String: String}**](String.md)| Filters of the admin address. | [optional]
196196

197197
### Return type
198198

docs/AdminCompany.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/AdminUserGroups.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,12 @@ oauth2.accessToken = 'YOUR ACCESS TOKEN';
220220
var apiInstance = new OrderCloud.AdminUserGroups();
221221

222222
var opts = {
223-
'search': "search_example", // String | Word or phrase to search for.
224-
'searchOn': "searchOn_example", // String | Comma-delimited list of fields to search on.
225-
'sortBy': "sortBy_example", // String | Comma-delimited list of fields to sort by.
226-
'page': 56, // Number | Page of results to return. Default: 1
227-
'pageSize': 56, // Number | Number of results to return per page. Default: 20, max: 100.
228-
'filters': {key: "filters_example"} // {String: String} | Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???'
223+
'search': "search_example", // String | Search of the admin user group.
224+
'searchOn': ["searchOn_example"], // [String] | Search on of the admin user group.
225+
'sortBy': ["sortBy_example"], // [String] | Sort by of the admin user group.
226+
'page': 56, // Number | Page of the admin user group.
227+
'pageSize': 56, // Number | Page size of the admin user group.
228+
'filters': {key: "filters_example"} // {String: String} | Filters of the admin user group.
229229
};
230230
apiInstance.List(opts).then(function(data) {
231231
console.log('API called successfully. Returned data: ' + data);
@@ -239,12 +239,12 @@ apiInstance.List(opts).then(function(data) {
239239

240240
Name | Type | Description | Notes
241241
------------- | ------------- | ------------- | -------------
242-
**search** | **String**| Word or phrase to search for. | [optional]
243-
**searchOn** | **String**| Comma-delimited list of fields to search on. | [optional]
244-
**sortBy** | **String**| Comma-delimited list of fields to sort by. | [optional]
245-
**page** | **Number**| Page of results to return. Default: 1 | [optional]
246-
**pageSize** | **Number**| Number of results to return per page. Default: 20, max: 100. | [optional]
247-
**filters** | [**{String: String}**](String.md)| Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or 'xp.???' | [optional]
242+
**search** | **String**| Search of the admin user group. | [optional]
243+
**searchOn** | [**[String]**](String.md)| Search on of the admin user group. | [optional]
244+
**sortBy** | [**[String]**](String.md)| Sort by of the admin user group. | [optional]
245+
**page** | **Number**| Page of the admin user group. | [optional]
246+
**pageSize** | **Number**| Page size of the admin user group. | [optional]
247+
**filters** | [**{String: String}**](String.md)| Filters of the admin user group. | [optional]
248248

249249
### Return type
250250

@@ -279,8 +279,8 @@ var apiInstance = new OrderCloud.AdminUserGroups();
279279
var opts = {
280280
'userGroupID': "userGroupID_example", // String | ID of the user group.
281281
'userID': "userID_example", // String | ID of the user.
282-
'page': 56, // Number | Page of results to return. Default: 1
283-
'pageSize': 56 // Number | Number of results to return per page. Default: 20, max: 100.
282+
'page': 56, // Number | Page of the admin user group.
283+
'pageSize': 56 // Number | Page size of the admin user group.
284284
};
285285
apiInstance.ListUserAssignments(opts).then(function(data) {
286286
console.log('API called successfully. Returned data: ' + data);
@@ -296,8 +296,8 @@ Name | Type | Description | Notes
296296
------------- | ------------- | ------------- | -------------
297297
**userGroupID** | **String**| ID of the user group. | [optional]
298298
**userID** | **String**| ID of the user. | [optional]
299-
**page** | **Number**| Page of results to return. Default: 1 | [optional]
300-
**pageSize** | **Number**| Number of results to return per page. Default: 20, max: 100. | [optional]
299+
**page** | **Number**| Page of the admin user group. | [optional]
300+
**pageSize** | **Number**| Page size of the admin user group. | [optional]
301301

302302
### Return type
303303

0 commit comments

Comments
 (0)