@sp-api-sdk/orders-api-v0 4.1.2 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-model/api/{orders-v0-api.js → orders-api.js} +114 -114
- package/dist/cjs/api-model/api.js +1 -1
- package/dist/cjs/api-model/models/index.js +0 -1
- package/dist/cjs/client.js +1 -1
- package/dist/es/api-model/api/{orders-v0-api.js → orders-api.js} +109 -109
- package/dist/es/api-model/api.js +1 -1
- package/dist/es/api-model/models/index.js +0 -1
- package/dist/es/client.js +2 -2
- package/dist/types/api-model/api/{orders-v0-api.d.ts → orders-api.d.ts} +177 -177
- package/dist/types/api-model/api.d.ts +1 -1
- package/dist/types/api-model/models/amazon-programs.d.ts +2 -2
- package/dist/types/api-model/models/index.d.ts +0 -1
- package/dist/types/api-model/models/order-item.d.ts +0 -7
- package/dist/types/api-model/models/orders-list.d.ts +1 -1
- package/dist/types/api-model/models/package-detail.d.ts +1 -1
- package/dist/types/client.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cjs/api-model/models/export-info.js +0 -15
- package/dist/es/api-model/models/export-info.js +0 -14
- package/dist/types/api-model/models/export-info.d.ts +0 -31
package/dist/es/api-model/api.js
CHANGED
|
@@ -18,7 +18,6 @@ export * from './delivery-preferences';
|
|
|
18
18
|
export * from './easy-ship-shipment-status';
|
|
19
19
|
export * from './electronic-invoice-status';
|
|
20
20
|
export * from './exception-dates';
|
|
21
|
-
export * from './export-info';
|
|
22
21
|
export * from './fulfillment-instruction';
|
|
23
22
|
export * from './get-order-address-response';
|
|
24
23
|
export * from './get-order-buyer-info-response';
|
package/dist/es/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createAxiosInstance } from '@sp-api-sdk/common';
|
|
2
|
-
import { Configuration,
|
|
2
|
+
import { Configuration, OrdersApi } from './api-model';
|
|
3
3
|
export const clientRateLimits = [
|
|
4
4
|
{
|
|
5
5
|
method: 'get',
|
|
@@ -72,7 +72,7 @@ export const clientRateLimits = [
|
|
|
72
72
|
burst: 10,
|
|
73
73
|
},
|
|
74
74
|
];
|
|
75
|
-
export class OrdersApiClient extends
|
|
75
|
+
export class OrdersApiClient extends OrdersApi {
|
|
76
76
|
constructor(configuration) {
|
|
77
77
|
const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
|
|
78
78
|
super(new Configuration(), endpoint, axios);
|