New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sp-api-sdk/solicitations-api-v1

Package Overview
Dependencies
Maintainers
2
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sp-api-sdk/solicitations-api-v1 - npm Package Compare versions

Comparing version

to
1.9.5

4

dist/cjs/src/api-model/api/solicitations-api.js

@@ -56,3 +56,3 @@ "use strict";

}
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};

@@ -91,3 +91,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };

}
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};

@@ -94,0 +94,0 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };

@@ -52,3 +52,3 @@ /* tslint:disable */

}
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};

@@ -87,3 +87,3 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };

}
setSearchParams(localVarUrlObj, localVarQueryParameter, options.query);
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};

@@ -90,0 +90,0 @@ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };

@@ -12,3 +12,3 @@ /**

*/
import { AxiosPromise, AxiosInstance } from 'axios';
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
import { Configuration } from '../configuration';

@@ -30,3 +30,3 @@ import { RequestArgs, BaseAPI } from '../base';

*/
createProductReviewAndSellerFeedbackSolicitation: (amazonOrderId: string, marketplaceIds: Array<string>, options?: any) => Promise<RequestArgs>;
createProductReviewAndSellerFeedbackSolicitation: (amazonOrderId: string, marketplaceIds: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**

@@ -39,3 +39,3 @@ * Returns a list of solicitation types that are available for an order that you specify. A solicitation type is represented by an actions object, which contains a path and query parameter(s). You can use the path and parameter(s) to call an operation that sends a solicitation. Currently only the productReviewAndSellerFeedbackSolicitation solicitation type is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

*/
getSolicitationActionsForOrder: (amazonOrderId: string, marketplaceIds: Array<string>, options?: any) => Promise<RequestArgs>;
getSolicitationActionsForOrder: (amazonOrderId: string, marketplaceIds: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};

@@ -54,3 +54,3 @@ /**

*/
createProductReviewAndSellerFeedbackSolicitation(amazonOrderId: string, marketplaceIds: Array<string>, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CreateProductReviewAndSellerFeedbackSolicitationResponse>>;
createProductReviewAndSellerFeedbackSolicitation(amazonOrderId: string, marketplaceIds: Array<string>, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CreateProductReviewAndSellerFeedbackSolicitationResponse>>;
/**

@@ -63,3 +63,3 @@ * Returns a list of solicitation types that are available for an order that you specify. A solicitation type is represented by an actions object, which contains a path and query parameter(s). You can use the path and parameter(s) to call an operation that sends a solicitation. Currently only the productReviewAndSellerFeedbackSolicitation solicitation type is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

*/
getSolicitationActionsForOrder(amazonOrderId: string, marketplaceIds: Array<string>, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetSolicitationActionsForOrderResponse>>;
getSolicitationActionsForOrder(amazonOrderId: string, marketplaceIds: Array<string>, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetSolicitationActionsForOrderResponse>>;
};

@@ -140,3 +140,3 @@ /**

*/
createProductReviewAndSellerFeedbackSolicitation(requestParameters: SolicitationsApiCreateProductReviewAndSellerFeedbackSolicitationRequest, options?: any): Promise<import("axios").AxiosResponse<CreateProductReviewAndSellerFeedbackSolicitationResponse, any>>;
createProductReviewAndSellerFeedbackSolicitation(requestParameters: SolicitationsApiCreateProductReviewAndSellerFeedbackSolicitationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductReviewAndSellerFeedbackSolicitationResponse, any>>;
/**

@@ -149,3 +149,3 @@ * Returns a list of solicitation types that are available for an order that you specify. A solicitation type is represented by an actions object, which contains a path and query parameter(s). You can use the path and parameter(s) to call an operation that sends a solicitation. Currently only the productReviewAndSellerFeedbackSolicitation solicitation type is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.

*/
getSolicitationActionsForOrder(requestParameters: SolicitationsApiGetSolicitationActionsForOrderRequest, options?: any): Promise<import("axios").AxiosResponse<GetSolicitationActionsForOrderResponse, any>>;
getSolicitationActionsForOrder(requestParameters: SolicitationsApiGetSolicitationActionsForOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSolicitationActionsForOrderResponse, any>>;
}

@@ -13,3 +13,3 @@ /**

import { Configuration } from "./configuration";
import { AxiosInstance } from 'axios';
import { AxiosInstance, AxiosRequestConfig } from 'axios';
export declare const BASE_PATH: string;

@@ -33,3 +33,3 @@ /**

url: string;
options: any;
options: AxiosRequestConfig;
}

@@ -36,0 +36,0 @@ /**

@@ -14,3 +14,3 @@ /**

import { RequestArgs } from "./base";
import { AxiosInstance } from 'axios';
import { AxiosInstance, AxiosResponse } from 'axios';
/**

@@ -66,2 +66,2 @@ *

*/
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any, any>>;
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;

@@ -23,3 +23,3 @@ /**

*/
errors?: Array<Error>;
'errors'?: Array<Error>;
}

@@ -24,3 +24,3 @@ /**

*/
self: LinkObject;
'self': LinkObject;
}

@@ -24,3 +24,3 @@ /**

*/
_links?: GetSchemaResponseLinks;
'_links'?: GetSchemaResponseLinks;
/**

@@ -31,3 +31,3 @@ * A JSON schema document describing the expected payload of the action. This object can be validated against <a href=http://json-schema.org/draft-04/schema>http://json-schema.org/draft-04/schema</a>.

*/
payload?: {
'payload'?: {
[key: string]: object;

@@ -40,3 +40,3 @@ };

*/
errors?: Array<Error>;
'errors'?: Array<Error>;
}

@@ -24,3 +24,3 @@ /**

*/
schema?: GetSchemaResponse;
'schema'?: GetSchemaResponse;
}

@@ -24,3 +24,3 @@ /**

*/
self: LinkObject;
'self': LinkObject;
/**

@@ -31,3 +31,3 @@ *

*/
schema: LinkObject;
'schema': LinkObject;
}

@@ -26,3 +26,3 @@ /**

*/
_links?: GetSolicitationActionResponseLinks;
'_links'?: GetSolicitationActionResponseLinks;
/**

@@ -33,3 +33,3 @@ *

*/
_embedded?: GetSolicitationActionResponseEmbedded;
'_embedded'?: GetSolicitationActionResponseEmbedded;
/**

@@ -40,3 +40,3 @@ *

*/
payload?: SolicitationsAction;
'payload'?: SolicitationsAction;
/**

@@ -47,3 +47,3 @@ * A list of error responses returned when a request is unsuccessful.

*/
errors?: Array<Error>;
'errors'?: Array<Error>;
}

@@ -24,3 +24,3 @@ /**

*/
actions: Array<GetSolicitationActionResponse>;
'actions': Array<GetSolicitationActionResponse>;
}

@@ -24,3 +24,3 @@ /**

*/
self: LinkObject;
'self': LinkObject;
/**

@@ -31,3 +31,3 @@ * Eligible actions for the specified amazonOrderId.

*/
actions: Array<LinkObject>;
'actions': Array<LinkObject>;
}

@@ -25,3 +25,3 @@ /**

*/
_links?: GetSolicitationActionsForOrderResponseLinks;
'_links'?: GetSolicitationActionsForOrderResponseLinks;
/**

@@ -32,3 +32,3 @@ *

*/
_embedded?: GetSolicitationActionsForOrderResponseEmbedded;
'_embedded'?: GetSolicitationActionsForOrderResponseEmbedded;
/**

@@ -39,3 +39,3 @@ * A list of error responses returned when a request is unsuccessful.

*/
errors?: Array<Error>;
'errors'?: Array<Error>;
}

@@ -23,3 +23,3 @@ /**

*/
href: string;
'href': string;
/**

@@ -30,3 +30,3 @@ * An identifier for this object.

*/
name?: string;
'name'?: string;
}

@@ -23,3 +23,3 @@ /**

*/
code: string;
'code': string;
/**

@@ -30,3 +30,3 @@ * A message that describes the error condition in a human-readable form.

*/
message: string;
'message': string;
/**

@@ -37,3 +37,3 @@ * Additional details that can help the caller understand or fix the issue.

*/
details?: string;
'details'?: string;
}

@@ -23,3 +23,3 @@ /**

*/
name: string;
'name': string;
}

@@ -5,3 +5,3 @@ {

"description": "With the Solicitations API you can build applications that send non-critical solicitations to buyers. You can get a list of solicitation types that are available for an order that you specify, then call an operation that sends a solicitation to the buyer for that order. Buyers cannot respond to solicitations sent by this API, and these solicitations do not appear in the Messaging section of Seller Central or in the recipient's Message Center. The Solicitations API returns responses that are formed according to the JSON Hypertext Application Language (HAL) standard.",
"version": "1.9.4",
"version": "1.9.5",
"main": "dist/cjs/index.js",

@@ -54,3 +54,3 @@ "module": "dist/es/index.js",

],
"gitHead": "a91680c9bce217db7412c5ad7c17aa6e918ada8e"
"gitHead": "d4f265d3c6a4e05e45025a46effa023a56a54e9c"
}