UNPKG

@sp-api-sdk/fulfillment-inbound-api-v0

Version:

The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon's fulfillment network.

35 lines (34 loc) 2.19 kB
/** * Selling Partner API for Fulfillment Inbound * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network. * * The version of the OpenAPI document: v0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from "./configuration"; import type { RequestArgs } from "./base"; import type { AxiosInstance, AxiosResponse } from 'axios'; export declare const DUMMY_BASE_URL = "https://example.com"; /** * * @throws {RequiredError} */ export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void; export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>; export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void; export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>; export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>; export declare const setSearchParams: (url: URL, ...objects: any[]) => void; /** * JSON serialization helper function which replaces instances of unserializable types with serializable ones. * This function will run for every key-value pair encountered by JSON.stringify while traversing an object. * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required. */ export declare const replaceWithSerializableTypeIfNeeded: (key: any, value: any) => any; export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any; export declare const toPathString: (url: URL) => string; export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;