@sp-api-sdk/vendor-direct-fulfillment-inventory-api-v1 4.0.17 → 5.0.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.
Files changed (59) hide show
  1. package/README.md +4 -4
  2. package/dist/index.cjs +314 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +391 -0
  5. package/dist/index.d.ts +391 -0
  6. package/dist/index.js +272 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +23 -12
  9. package/dist/cjs/api-model/api/vendor-direct-fulfillment-inventory-api.js +0 -122
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/index.js +0 -24
  16. package/dist/cjs/api-model/models/inventory-update.js +0 -15
  17. package/dist/cjs/api-model/models/item-details.js +0 -15
  18. package/dist/cjs/api-model/models/item-quantity.js +0 -15
  19. package/dist/cjs/api-model/models/model-error.js +0 -15
  20. package/dist/cjs/api-model/models/party-identification.js +0 -15
  21. package/dist/cjs/api-model/models/submit-inventory-update-request.js +0 -15
  22. package/dist/cjs/api-model/models/submit-inventory-update-response.js +0 -15
  23. package/dist/cjs/api-model/models/transaction-reference.js +0 -15
  24. package/dist/cjs/client.js +0 -21
  25. package/dist/cjs/index.js +0 -18
  26. package/dist/es/api-model/api/vendor-direct-fulfillment-inventory-api.js +0 -112
  27. package/dist/es/api-model/api.js +0 -14
  28. package/dist/es/api-model/base.js +0 -44
  29. package/dist/es/api-model/common.js +0 -110
  30. package/dist/es/api-model/configuration.js +0 -94
  31. package/dist/es/api-model/index.js +0 -16
  32. package/dist/es/api-model/models/index.js +0 -8
  33. package/dist/es/api-model/models/inventory-update.js +0 -14
  34. package/dist/es/api-model/models/item-details.js +0 -14
  35. package/dist/es/api-model/models/item-quantity.js +0 -14
  36. package/dist/es/api-model/models/model-error.js +0 -14
  37. package/dist/es/api-model/models/party-identification.js +0 -14
  38. package/dist/es/api-model/models/submit-inventory-update-request.js +0 -14
  39. package/dist/es/api-model/models/submit-inventory-update-response.js +0 -14
  40. package/dist/es/api-model/models/transaction-reference.js +0 -14
  41. package/dist/es/client.js +0 -17
  42. package/dist/es/index.js +0 -2
  43. package/dist/types/api-model/api/vendor-direct-fulfillment-inventory-api.d.ts +0 -80
  44. package/dist/types/api-model/api.d.ts +0 -12
  45. package/dist/types/api-model/base.d.ts +0 -42
  46. package/dist/types/api-model/common.d.ts +0 -34
  47. package/dist/types/api-model/configuration.d.ts +0 -98
  48. package/dist/types/api-model/index.d.ts +0 -14
  49. package/dist/types/api-model/models/index.d.ts +0 -8
  50. package/dist/types/api-model/models/inventory-update.d.ts +0 -27
  51. package/dist/types/api-model/models/item-details.d.ts +0 -30
  52. package/dist/types/api-model/models/item-quantity.d.ts +0 -24
  53. package/dist/types/api-model/models/model-error.d.ts +0 -28
  54. package/dist/types/api-model/models/party-identification.d.ts +0 -20
  55. package/dist/types/api-model/models/submit-inventory-update-request.d.ts +0 -18
  56. package/dist/types/api-model/models/submit-inventory-update-response.d.ts +0 -22
  57. package/dist/types/api-model/models/transaction-reference.d.ts +0 -20
  58. package/dist/types/client.d.ts +0 -6
  59. package/dist/types/index.d.ts +0 -3
package/dist/es/client.js DELETED
@@ -1,17 +0,0 @@
1
- import { createAxiosInstance } from '@sp-api-sdk/common';
2
- import { Configuration, VendorDirectFulfillmentInventoryApi } from './api-model';
3
- export const clientRateLimits = [
4
- {
5
- method: 'post',
6
- // eslint-disable-next-line prefer-regex-literals
7
- urlRegex: new RegExp('^/vendor/directFulfillment/inventory/v1/warehouses/[^/]*/items$'),
8
- rate: 10,
9
- burst: 10,
10
- },
11
- ];
12
- export class VendorDirectFulfillmentInventoryApiClient extends VendorDirectFulfillmentInventoryApi {
13
- constructor(configuration) {
14
- const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
15
- super(new Configuration(), endpoint, axios);
16
- }
17
- }
package/dist/es/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './client';
2
- export * from './api-model/api';
@@ -1,80 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from '../configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import globalAxios from 'axios';
15
- import { type RequestArgs, BaseAPI } from '../base';
16
- import type { SubmitInventoryUpdateRequest } from '../models';
17
- import type { SubmitInventoryUpdateResponse } from '../models';
18
- /**
19
- * VendorDirectFulfillmentInventoryApi - axios parameter creator
20
- */
21
- export declare const VendorDirectFulfillmentInventoryApiAxiosParamCreator: (configuration?: Configuration) => {
22
- /**
23
- * Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
24
- * @param {string} warehouseId Identifier for the warehouse for which to update inventory.
25
- * @param {SubmitInventoryUpdateRequest} body The request body containing the inventory update data to submit.
26
- * @param {*} [options] Override http request option.
27
- * @throws {RequiredError}
28
- */
29
- submitInventoryUpdate: (warehouseId: string, body: SubmitInventoryUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
- };
31
- /**
32
- * VendorDirectFulfillmentInventoryApi - functional programming interface
33
- */
34
- export declare const VendorDirectFulfillmentInventoryApiFp: (configuration?: Configuration) => {
35
- /**
36
- * Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
37
- * @param {string} warehouseId Identifier for the warehouse for which to update inventory.
38
- * @param {SubmitInventoryUpdateRequest} body The request body containing the inventory update data to submit.
39
- * @param {*} [options] Override http request option.
40
- * @throws {RequiredError}
41
- */
42
- submitInventoryUpdate(warehouseId: string, body: SubmitInventoryUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitInventoryUpdateResponse>>;
43
- };
44
- /**
45
- * VendorDirectFulfillmentInventoryApi - factory interface
46
- */
47
- export declare const VendorDirectFulfillmentInventoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
48
- /**
49
- * Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
50
- * @param {VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest} requestParameters Request parameters.
51
- * @param {*} [options] Override http request option.
52
- * @throws {RequiredError}
53
- */
54
- submitInventoryUpdate(requestParameters: VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubmitInventoryUpdateResponse>;
55
- };
56
- /**
57
- * Request parameters for submitInventoryUpdate operation in VendorDirectFulfillmentInventoryApi.
58
- */
59
- export interface VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest {
60
- /**
61
- * Identifier for the warehouse for which to update inventory.
62
- */
63
- readonly warehouseId: string;
64
- /**
65
- * The request body containing the inventory update data to submit.
66
- */
67
- readonly body: SubmitInventoryUpdateRequest;
68
- }
69
- /**
70
- * VendorDirectFulfillmentInventoryApi - object-oriented interface
71
- */
72
- export declare class VendorDirectFulfillmentInventoryApi extends BaseAPI {
73
- /**
74
- * Submits inventory updates for the specified warehouse for either a partial or full feed of inventory items. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
75
- * @param {VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest} requestParameters Request parameters.
76
- * @param {*} [options] Override http request option.
77
- * @throws {RequiredError}
78
- */
79
- submitInventoryUpdate(requestParameters: VendorDirectFulfillmentInventoryApiSubmitInventoryUpdateRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SubmitInventoryUpdateResponse, any, {}>>;
80
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export * from './api/vendor-direct-fulfillment-inventory-api';
@@ -1,42 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from './configuration';
13
- import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- export declare const BASE_PATH: string;
15
- export declare const COLLECTION_FORMATS: {
16
- csv: string;
17
- ssv: string;
18
- tsv: string;
19
- pipes: string;
20
- };
21
- export interface RequestArgs {
22
- url: string;
23
- options: RawAxiosRequestConfig;
24
- }
25
- export declare class BaseAPI {
26
- protected basePath: string;
27
- protected axios: AxiosInstance;
28
- protected configuration: Configuration | undefined;
29
- constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
30
- }
31
- export declare class RequiredError extends Error {
32
- field: string;
33
- constructor(field: string, msg?: string);
34
- }
35
- interface ServerMap {
36
- [key: string]: {
37
- url: string;
38
- description: string;
39
- }[];
40
- }
41
- export declare const operationServerMap: ServerMap;
42
- export {};
@@ -1,34 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { Configuration } from "./configuration";
13
- import type { RequestArgs } from "./base";
14
- import type { AxiosInstance, AxiosResponse } from 'axios';
15
- export declare const DUMMY_BASE_URL = "https://example.com";
16
- /**
17
- *
18
- * @throws {RequiredError}
19
- */
20
- export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
21
- export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
22
- export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
23
- export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
24
- export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
25
- export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
26
- /**
27
- * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
28
- * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
29
- * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
30
- */
31
- export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
32
- export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
33
- export declare const toPathString: (url: URL) => string;
34
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -1,98 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- interface AWSv4Configuration {
13
- options?: {
14
- region?: string;
15
- service?: string;
16
- };
17
- credentials?: {
18
- accessKeyId?: string;
19
- secretAccessKey?: string;
20
- sessionToken?: string;
21
- };
22
- }
23
- export interface ConfigurationParameters {
24
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
25
- username?: string;
26
- password?: string;
27
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
28
- awsv4?: AWSv4Configuration;
29
- basePath?: string;
30
- serverIndex?: number;
31
- baseOptions?: any;
32
- formDataCtor?: new () => any;
33
- }
34
- export declare class Configuration {
35
- /**
36
- * parameter for apiKey security
37
- * @param name security name
38
- */
39
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
40
- /**
41
- * parameter for basic security
42
- */
43
- username?: string;
44
- /**
45
- * parameter for basic security
46
- */
47
- password?: string;
48
- /**
49
- * parameter for oauth2 security
50
- * @param name security name
51
- * @param scopes oauth2 scope
52
- */
53
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
54
- /**
55
- * parameter for aws4 signature security
56
- * @param {Object} AWS4Signature - AWS4 Signature security
57
- * @param {string} options.region - aws region
58
- * @param {string} options.service - name of the service.
59
- * @param {string} credentials.accessKeyId - aws access key id
60
- * @param {string} credentials.secretAccessKey - aws access key
61
- * @param {string} credentials.sessionToken - aws session token
62
- * @memberof Configuration
63
- */
64
- awsv4?: AWSv4Configuration;
65
- /**
66
- * override base path
67
- */
68
- basePath?: string;
69
- /**
70
- * override server index
71
- */
72
- serverIndex?: number;
73
- /**
74
- * base options for axios calls
75
- */
76
- baseOptions?: any;
77
- /**
78
- * The FormData constructor that will be used to create multipart form data
79
- * requests. You can inject this here so that execution environments that
80
- * do not support the FormData class can still run the generated client.
81
- *
82
- * @type {new () => FormData}
83
- */
84
- formDataCtor?: new () => any;
85
- constructor(param?: ConfigurationParameters);
86
- /**
87
- * Check if the given MIME is a JSON MIME.
88
- * JSON MIME examples:
89
- * application/json
90
- * application/json; charset=UTF8
91
- * APPLICATION/JSON
92
- * application/vnd.company+json
93
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
94
- * @return True if the given MIME is JSON, false otherwise.
95
- */
96
- isJsonMime(mime: string): boolean;
97
- }
98
- export {};
@@ -1,14 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export * from "./api";
13
- export * from "./configuration";
14
- export * from "./models";
@@ -1,8 +0,0 @@
1
- export * from './inventory-update';
2
- export * from './item-details';
3
- export * from './item-quantity';
4
- export * from './model-error';
5
- export * from './party-identification';
6
- export * from './submit-inventory-update-request';
7
- export * from './submit-inventory-update-response';
8
- export * from './transaction-reference';
@@ -1,27 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ItemDetails } from './item-details';
13
- import type { PartyIdentification } from './party-identification';
14
- /**
15
- * Inventory details required to update some or all items for the requested warehouse.
16
- */
17
- export interface InventoryUpdate {
18
- 'sellingParty': PartyIdentification;
19
- /**
20
- * When true, this request contains a full feed. Otherwise, this request contains a partial feed. When sending a full feed, you must send information about all items in the warehouse. Any items not in the full feed are updated as not available. When sending a partial feed, only include the items that need an update to inventory. The status of other items will remain unchanged.
21
- */
22
- 'isFullUpdate': boolean;
23
- /**
24
- * A list of inventory items with updated details, including quantity available.
25
- */
26
- 'items': Array<ItemDetails>;
27
- }
@@ -1,30 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ItemQuantity } from './item-quantity';
13
- /**
14
- * Updated inventory details for an item.
15
- */
16
- export interface ItemDetails {
17
- /**
18
- * The buyer selected product identification of the item. Either buyerProductIdentifier or vendorProductIdentifier should be submitted.
19
- */
20
- 'buyerProductIdentifier'?: string;
21
- /**
22
- * The vendor selected product identification of the item. Either buyerProductIdentifier or vendorProductIdentifier should be submitted.
23
- */
24
- 'vendorProductIdentifier'?: string;
25
- 'availableQuantity': ItemQuantity;
26
- /**
27
- * When true, the item is permanently unavailable.
28
- */
29
- 'isObsolete'?: boolean;
30
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Details of item quantity.
14
- */
15
- export interface ItemQuantity {
16
- /**
17
- * Quantity of units available for a specific item.
18
- */
19
- 'amount'?: number;
20
- /**
21
- * Unit of measure for the available quantity.
22
- */
23
- 'unitOfMeasure': string;
24
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Error response returned when the request is unsuccessful.
14
- */
15
- export interface ModelError {
16
- /**
17
- * An error code that identifies the type of error that occurred.
18
- */
19
- 'code': string;
20
- /**
21
- * A message that describes the error condition.
22
- */
23
- 'message': string;
24
- /**
25
- * Additional details that can help the caller understand or fix the issue.
26
- */
27
- 'details'?: string;
28
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Name, address and tax details of a party.
14
- */
15
- export interface PartyIdentification {
16
- /**
17
- * Assigned identification for the party.
18
- */
19
- 'partyId': string;
20
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { InventoryUpdate } from './inventory-update';
13
- /**
14
- * The request body for the submitInventoryUpdate operation.
15
- */
16
- export interface SubmitInventoryUpdateRequest {
17
- 'inventory'?: InventoryUpdate;
18
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { TransactionReference } from './transaction-reference';
13
- /**
14
- * The response schema for the submitInventoryUpdate operation.
15
- */
16
- export interface SubmitInventoryUpdateResponse {
17
- 'payload'?: TransactionReference;
18
- /**
19
- * A list of error responses returned when a request is unsuccessful.
20
- */
21
- 'errors'?: Array<Error>;
22
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Selling Partner API for Direct Fulfillment Inventory Updates
3
- * The Selling Partner API for Direct Fulfillment Inventory Updates provides programmatic access to a direct fulfillment vendor\'s inventory updates.
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Response containing the transaction ID.
14
- */
15
- export interface TransactionReference {
16
- /**
17
- * GUID to identify this transaction. This value can be used with the Transaction Status API to return the status of this transaction.
18
- */
19
- 'transactionId'?: string;
20
- }
@@ -1,6 +0,0 @@
1
- import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
2
- import { VendorDirectFulfillmentInventoryApi } from './api-model';
3
- export declare const clientRateLimits: RateLimit[];
4
- export declare class VendorDirectFulfillmentInventoryApiClient extends VendorDirectFulfillmentInventoryApi {
5
- constructor(configuration: ClientConfiguration);
6
- }
@@ -1,3 +0,0 @@
1
- export * from './client';
2
- export * from './api-model/api';
3
- export type * from './api-model/models';