Skip to content

Commit 8c7278d

Browse files
⏩ regen to API v1.0.408
1 parent a31387e commit 8c7278d

3 files changed

Lines changed: 18 additions & 18 deletions

File tree

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { RequestOptions } from '../models/RequestOptions';
55
import http from '../utils/HttpClient';
66
import OrderCloudError from '../utils/OrderCloudError';
77

8-
class InventoryIntegrations {
8+
class Inventory {
99
private impersonating:boolean = false;
1010

1111
/**
@@ -21,7 +21,7 @@ class InventoryIntegrations {
2121

2222
/**
2323
* Retrieve an inventory integration
24-
* Check out the {@link https://ordercloud.io/api-reference/integrations/inventory-integrations/get|api docs} for more info
24+
* Check out the {@link https://ordercloud.io/api-reference/integrations/inventory/get|api docs} for more info
2525
*
2626
* @param requestOptions.accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation).
2727
* @param requestOptions.cancelToken Provide an [axios cancelToken](https://github.com/axios/axios#cancellation) that can be used to cancel the request.
@@ -41,7 +41,7 @@ class InventoryIntegrations {
4141

4242
/**
4343
* Create or update an inventory integration If an object with the same ID already exists, it will be overwritten.
44-
* Check out the {@link https://ordercloud.io/api-reference/integrations/inventory-integrations/save|api docs} for more info
44+
* Check out the {@link https://ordercloud.io/api-reference/integrations/inventory/save|api docs} for more info
4545
*
4646
* @param inventoryIntegration Required fields: DeliveryConfigID
4747
* @param requestOptions.accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation).
@@ -62,7 +62,7 @@ class InventoryIntegrations {
6262

6363
/**
6464
* Delete an inventory integration
65-
* Check out the {@link https://ordercloud.io/api-reference/integrations/inventory-integrations/delete|api docs} for more info
65+
* Check out the {@link https://ordercloud.io/api-reference/integrations/inventory/delete|api docs} for more info
6666
*
6767
* @param requestOptions.accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation).
6868
* @param requestOptions.cancelToken Provide an [axios cancelToken](https://github.com/axios/axios#cancellation) that can be used to cancel the request.
@@ -82,7 +82,7 @@ class InventoryIntegrations {
8282

8383
/**
8484
* Partially update an inventory integration
85-
* Check out the {@link https://ordercloud.io/api-reference/integrations/inventory-integrations/patch|api docs} for more info
85+
* Check out the {@link https://ordercloud.io/api-reference/integrations/inventory/patch|api docs} for more info
8686
*
8787
* @param inventoryIntegration
8888
* @param requestOptions.accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation).
@@ -106,12 +106,12 @@ class InventoryIntegrations {
106106
* enables impersonation by calling the subsequent method with the stored impersonation token
107107
*
108108
* @example
109-
* InventoryIntegrations.As().List() // lists InventoryIntegrations using the impersonated users' token
109+
* Inventory.As().List() // lists Inventory using the impersonated users' token
110110
*/
111111
public As(): this {
112112
this.impersonating = true;
113113
return this;
114114
}
115115
}
116116

117-
export default new InventoryIntegrations();
117+
export default new Inventory();
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { RequestOptions } from '../models/RequestOptions';
55
import http from '../utils/HttpClient';
66
import OrderCloudError from '../utils/OrderCloudError';
77

8-
class PromotionIntegrations {
8+
class Promotion {
99
private impersonating:boolean = false;
1010

1111
/**
@@ -21,7 +21,7 @@ class PromotionIntegrations {
2121

2222
/**
2323
* Retrieve a promotion integration
24-
* Check out the {@link https://ordercloud.io/api-reference/integrations/promotion-integrations/get|api docs} for more info
24+
* Check out the {@link https://ordercloud.io/api-reference/integrations/promotion/get|api docs} for more info
2525
*
2626
* @param requestOptions.accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation).
2727
* @param requestOptions.cancelToken Provide an [axios cancelToken](https://github.com/axios/axios#cancellation) that can be used to cancel the request.
@@ -41,7 +41,7 @@ class PromotionIntegrations {
4141

4242
/**
4343
* Create or update a promotion integration If an object with the same ID already exists, it will be overwritten.
44-
* Check out the {@link https://ordercloud.io/api-reference/integrations/promotion-integrations/save|api docs} for more info
44+
* Check out the {@link https://ordercloud.io/api-reference/integrations/promotion/save|api docs} for more info
4545
*
4646
* @param promotionIntegration Required fields: HashKey
4747
* @param requestOptions.accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation).
@@ -62,7 +62,7 @@ class PromotionIntegrations {
6262

6363
/**
6464
* Delete a promotion integration
65-
* Check out the {@link https://ordercloud.io/api-reference/integrations/promotion-integrations/delete|api docs} for more info
65+
* Check out the {@link https://ordercloud.io/api-reference/integrations/promotion/delete|api docs} for more info
6666
*
6767
* @param requestOptions.accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation).
6868
* @param requestOptions.cancelToken Provide an [axios cancelToken](https://github.com/axios/axios#cancellation) that can be used to cancel the request.
@@ -82,7 +82,7 @@ class PromotionIntegrations {
8282

8383
/**
8484
* Partially update a promotion integration
85-
* Check out the {@link https://ordercloud.io/api-reference/integrations/promotion-integrations/patch|api docs} for more info
85+
* Check out the {@link https://ordercloud.io/api-reference/integrations/promotion/patch|api docs} for more info
8686
*
8787
* @param promotionIntegration
8888
* @param requestOptions.accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation).
@@ -106,12 +106,12 @@ class PromotionIntegrations {
106106
* enables impersonation by calling the subsequent method with the stored impersonation token
107107
*
108108
* @example
109-
* PromotionIntegrations.As().List() // lists PromotionIntegrations using the impersonated users' token
109+
* Promotion.As().List() // lists Promotion using the impersonated users' token
110110
*/
111111
public As(): this {
112112
this.impersonating = true;
113113
return this;
114114
}
115115
}
116116

117-
export default new PromotionIntegrations();
117+
export default new Promotion();

src/api/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ import DeliveryConfigurations from './DeliveryConfigurations';
5050
import EntitySynchronization from './EntitySynchronization';
5151
import ErrorConfigs from './ErrorConfigs';
5252
import IntegrationEvents from './IntegrationEvents';
53-
import InventoryIntegrations from './InventoryIntegrations';
53+
import Inventory from './Inventory';
5454
import MessageSenders from './MessageSenders';
5555
import OrderSynchronization from './OrderSynchronization';
5656
import ProductSynchronization from './ProductSynchronization';
57-
import PromotionIntegrations from './PromotionIntegrations';
57+
import Promotion from './Promotion';
5858
import SubscriptionIntegrations from './SubscriptionIntegrations';
5959
import Auth from './Auth';
6060
import UserInfo from './UserInfo';
@@ -114,11 +114,11 @@ export {
114114
EntitySynchronization,
115115
ErrorConfigs,
116116
IntegrationEvents,
117-
InventoryIntegrations,
117+
Inventory,
118118
MessageSenders,
119119
OrderSynchronization,
120120
ProductSynchronization,
121-
PromotionIntegrations,
121+
Promotion,
122122
SubscriptionIntegrations,
123123
Auth,
124124
UserInfo,

0 commit comments

Comments
 (0)