@sp-api-sdk/solicitations-api-v1 1.9.3 → 1.9.6
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/src/api-model/api/solicitations-api.js +2 -2
- package/dist/es/src/api-model/api/solicitations-api.js +2 -2
- package/dist/types/src/api-model/api/solicitations-api.d.ts +10 -10
- package/dist/types/src/api-model/base.d.ts +2 -2
- package/dist/types/src/api-model/common.d.ts +7 -7
- package/dist/types/src/api-model/models/create-product-review-and-seller-feedback-solicitation-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-schema-response-links.d.ts +1 -1
- package/dist/types/src/api-model/models/get-schema-response.d.ts +3 -3
- package/dist/types/src/api-model/models/get-solicitation-action-response-embedded.d.ts +1 -1
- package/dist/types/src/api-model/models/get-solicitation-action-response-links.d.ts +2 -2
- package/dist/types/src/api-model/models/get-solicitation-action-response.d.ts +4 -4
- package/dist/types/src/api-model/models/get-solicitation-actions-for-order-response-embedded.d.ts +1 -1
- package/dist/types/src/api-model/models/get-solicitation-actions-for-order-response-links.d.ts +2 -2
- package/dist/types/src/api-model/models/get-solicitation-actions-for-order-response.d.ts +3 -3
- package/dist/types/src/api-model/models/link-object.d.ts +2 -2
- package/dist/types/src/api-model/models/model-error.d.ts +3 -3
- package/dist/types/src/api-model/models/solicitations-action.d.ts +1 -1
- package/package.json +4 -4
|
@@ -53,7 +53,7 @@ const SolicitationsApiAxiosParamCreator = function (configuration) {
|
|
|
53
53
|
if (marketplaceIds) {
|
|
54
54
|
localVarQueryParameter['marketplaceIds'] = marketplaceIds.join(base_1.COLLECTION_FORMATS.csv);
|
|
55
55
|
}
|
|
56
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
56
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
57
57
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58
58
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
59
59
|
return {
|
|
@@ -87,7 +87,7 @@ const SolicitationsApiAxiosParamCreator = function (configuration) {
|
|
|
87
87
|
if (marketplaceIds) {
|
|
88
88
|
localVarQueryParameter['marketplaceIds'] = marketplaceIds.join(base_1.COLLECTION_FORMATS.csv);
|
|
89
89
|
}
|
|
90
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
90
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
91
91
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
92
92
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
93
93
|
return {
|
|
@@ -49,7 +49,7 @@ export const SolicitationsApiAxiosParamCreator = function (configuration) {
|
|
|
49
49
|
if (marketplaceIds) {
|
|
50
50
|
localVarQueryParameter['marketplaceIds'] = marketplaceIds.join(COLLECTION_FORMATS.csv);
|
|
51
51
|
}
|
|
52
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
52
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53
53
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54
54
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
55
55
|
return {
|
|
@@ -83,7 +83,7 @@ export const SolicitationsApiAxiosParamCreator = function (configuration) {
|
|
|
83
83
|
if (marketplaceIds) {
|
|
84
84
|
localVarQueryParameter['marketplaceIds'] = marketplaceIds.join(COLLECTION_FORMATS.csv);
|
|
85
85
|
}
|
|
86
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
86
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
87
87
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
88
88
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
89
89
|
return {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateProductReviewAndSellerFeedbackSolicitationResponse } from '../models';
|
|
@@ -18,7 +18,7 @@ import { GetSolicitationActionsForOrderResponse } from '../models';
|
|
|
18
18
|
* SolicitationsApi - axios parameter creator
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
|
-
export declare const SolicitationsApiAxiosParamCreator: (configuration?: Configuration
|
|
21
|
+
export declare const SolicitationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
23
|
* Sends a solicitation to a buyer asking for seller feedback and a product review for the specified order. Send only one productReviewAndSellerFeedback or free form proactive message per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
24
24
|
* @param {string} amazonOrderId An Amazon order identifier. This specifies the order for which a solicitation is sent.
|
|
@@ -26,7 +26,7 @@ export declare const SolicitationsApiAxiosParamCreator: (configuration?: Configu
|
|
|
26
26
|
* @param {*} [options] Override http request option.
|
|
27
27
|
* @throws {RequiredError}
|
|
28
28
|
*/
|
|
29
|
-
createProductReviewAndSellerFeedbackSolicitation: (amazonOrderId: string, marketplaceIds: Array<string>, options?:
|
|
29
|
+
createProductReviewAndSellerFeedbackSolicitation: (amazonOrderId: string, marketplaceIds: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
30
|
/**
|
|
31
31
|
* 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.
|
|
32
32
|
* @param {string} amazonOrderId An Amazon order identifier. This specifies the order for which you want a list of available solicitation types.
|
|
@@ -34,13 +34,13 @@ export declare const SolicitationsApiAxiosParamCreator: (configuration?: Configu
|
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
37
|
-
getSolicitationActionsForOrder: (amazonOrderId: string, marketplaceIds: Array<string>, options?:
|
|
37
|
+
getSolicitationActionsForOrder: (amazonOrderId: string, marketplaceIds: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* SolicitationsApi - functional programming interface
|
|
41
41
|
* @export
|
|
42
42
|
*/
|
|
43
|
-
export declare const SolicitationsApiFp: (configuration?: Configuration
|
|
43
|
+
export declare const SolicitationsApiFp: (configuration?: Configuration) => {
|
|
44
44
|
/**
|
|
45
45
|
* Sends a solicitation to a buyer asking for seller feedback and a product review for the specified order. Send only one productReviewAndSellerFeedback or free form proactive message per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
46
46
|
* @param {string} amazonOrderId An Amazon order identifier. This specifies the order for which a solicitation is sent.
|
|
@@ -48,7 +48,7 @@ export declare const SolicitationsApiFp: (configuration?: Configuration | undefi
|
|
|
48
48
|
* @param {*} [options] Override http request option.
|
|
49
49
|
* @throws {RequiredError}
|
|
50
50
|
*/
|
|
51
|
-
createProductReviewAndSellerFeedbackSolicitation(amazonOrderId: string, marketplaceIds: Array<string>, options?:
|
|
51
|
+
createProductReviewAndSellerFeedbackSolicitation(amazonOrderId: string, marketplaceIds: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateProductReviewAndSellerFeedbackSolicitationResponse>>;
|
|
52
52
|
/**
|
|
53
53
|
* 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.
|
|
54
54
|
* @param {string} amazonOrderId An Amazon order identifier. This specifies the order for which you want a list of available solicitation types.
|
|
@@ -56,13 +56,13 @@ export declare const SolicitationsApiFp: (configuration?: Configuration | undefi
|
|
|
56
56
|
* @param {*} [options] Override http request option.
|
|
57
57
|
* @throws {RequiredError}
|
|
58
58
|
*/
|
|
59
|
-
getSolicitationActionsForOrder(amazonOrderId: string, marketplaceIds: Array<string>, options?:
|
|
59
|
+
getSolicitationActionsForOrder(amazonOrderId: string, marketplaceIds: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSolicitationActionsForOrderResponse>>;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* SolicitationsApi - factory interface
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const SolicitationsApiFactory: (configuration?: Configuration
|
|
65
|
+
export declare const SolicitationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
66
66
|
/**
|
|
67
67
|
* Sends a solicitation to a buyer asking for seller feedback and a product review for the specified order. Send only one productReviewAndSellerFeedback or free form proactive message per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 5 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
68
68
|
* @param {string} amazonOrderId An Amazon order identifier. This specifies the order for which a solicitation is sent.
|
|
@@ -132,7 +132,7 @@ export declare class SolicitationsApi extends BaseAPI {
|
|
|
132
132
|
* @throws {RequiredError}
|
|
133
133
|
* @memberof SolicitationsApi
|
|
134
134
|
*/
|
|
135
|
-
createProductReviewAndSellerFeedbackSolicitation(requestParameters: SolicitationsApiCreateProductReviewAndSellerFeedbackSolicitationRequest, options?:
|
|
135
|
+
createProductReviewAndSellerFeedbackSolicitation(requestParameters: SolicitationsApiCreateProductReviewAndSellerFeedbackSolicitationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductReviewAndSellerFeedbackSolicitationResponse, any>>;
|
|
136
136
|
/**
|
|
137
137
|
* 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.
|
|
138
138
|
* @param {SolicitationsApiGetSolicitationActionsForOrderRequest} requestParameters Request parameters.
|
|
@@ -140,5 +140,5 @@ export declare class SolicitationsApi extends BaseAPI {
|
|
|
140
140
|
* @throws {RequiredError}
|
|
141
141
|
* @memberof SolicitationsApi
|
|
142
142
|
*/
|
|
143
|
-
getSolicitationActionsForOrder(requestParameters: SolicitationsApiGetSolicitationActionsForOrderRequest, options?:
|
|
143
|
+
getSolicitationActionsForOrder(requestParameters: SolicitationsApiGetSolicitationActionsForOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSolicitationActionsForOrderResponse, any>>;
|
|
144
144
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { Configuration } from "./configuration";
|
|
13
|
-
import { AxiosInstance } from 'axios';
|
|
13
|
+
import { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
|
|
|
29
29
|
*/
|
|
30
30
|
export interface RequestArgs {
|
|
31
31
|
url: string;
|
|
32
|
-
options:
|
|
32
|
+
options: AxiosRequestConfig;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Configuration } from "./configuration";
|
|
13
13
|
import { RequestArgs } from "./base";
|
|
14
|
-
import { AxiosInstance } from 'axios';
|
|
14
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -27,22 +27,22 @@ export declare const assertParamExists: (functionName: string, paramName: string
|
|
|
27
27
|
*
|
|
28
28
|
* @export
|
|
29
29
|
*/
|
|
30
|
-
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration
|
|
30
|
+
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @export
|
|
34
34
|
*/
|
|
35
|
-
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration
|
|
35
|
+
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @export
|
|
39
39
|
*/
|
|
40
|
-
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration
|
|
40
|
+
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @export
|
|
44
44
|
*/
|
|
45
|
-
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration
|
|
45
|
+
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @export
|
|
@@ -52,7 +52,7 @@ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
|
52
52
|
*
|
|
53
53
|
* @export
|
|
54
54
|
*/
|
|
55
|
-
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration
|
|
55
|
+
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @export
|
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -21,13 +21,13 @@ export interface GetSchemaResponse {
|
|
|
21
21
|
* @type {GetSchemaResponseLinks}
|
|
22
22
|
* @memberof GetSchemaResponse
|
|
23
23
|
*/
|
|
24
|
-
_links?: GetSchemaResponseLinks;
|
|
24
|
+
'_links'?: GetSchemaResponseLinks;
|
|
25
25
|
/**
|
|
26
26
|
* 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>.
|
|
27
27
|
* @type {{ [key: string]: object; }}
|
|
28
28
|
* @memberof GetSchemaResponse
|
|
29
29
|
*/
|
|
30
|
-
payload?: {
|
|
30
|
+
'payload'?: {
|
|
31
31
|
[key: string]: object;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
@@ -35,5 +35,5 @@ export interface GetSchemaResponse {
|
|
|
35
35
|
* @type {Array<Error>}
|
|
36
36
|
* @memberof GetSchemaResponse
|
|
37
37
|
*/
|
|
38
|
-
errors?: Array<Error>;
|
|
38
|
+
'errors'?: Array<Error>;
|
|
39
39
|
}
|
|
@@ -21,11 +21,11 @@ export interface GetSolicitationActionResponseLinks {
|
|
|
21
21
|
* @type {LinkObject}
|
|
22
22
|
* @memberof GetSolicitationActionResponseLinks
|
|
23
23
|
*/
|
|
24
|
-
self: LinkObject;
|
|
24
|
+
'self': LinkObject;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {LinkObject}
|
|
28
28
|
* @memberof GetSolicitationActionResponseLinks
|
|
29
29
|
*/
|
|
30
|
-
schema: LinkObject;
|
|
30
|
+
'schema': LinkObject;
|
|
31
31
|
}
|
|
@@ -23,23 +23,23 @@ export interface GetSolicitationActionResponse {
|
|
|
23
23
|
* @type {GetSolicitationActionResponseLinks}
|
|
24
24
|
* @memberof GetSolicitationActionResponse
|
|
25
25
|
*/
|
|
26
|
-
_links?: GetSolicitationActionResponseLinks;
|
|
26
|
+
'_links'?: GetSolicitationActionResponseLinks;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {GetSolicitationActionResponseEmbedded}
|
|
30
30
|
* @memberof GetSolicitationActionResponse
|
|
31
31
|
*/
|
|
32
|
-
_embedded?: GetSolicitationActionResponseEmbedded;
|
|
32
|
+
'_embedded'?: GetSolicitationActionResponseEmbedded;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
* @type {SolicitationsAction}
|
|
36
36
|
* @memberof GetSolicitationActionResponse
|
|
37
37
|
*/
|
|
38
|
-
payload?: SolicitationsAction;
|
|
38
|
+
'payload'?: SolicitationsAction;
|
|
39
39
|
/**
|
|
40
40
|
* A list of error responses returned when a request is unsuccessful.
|
|
41
41
|
* @type {Array<Error>}
|
|
42
42
|
* @memberof GetSolicitationActionResponse
|
|
43
43
|
*/
|
|
44
|
-
errors?: Array<Error>;
|
|
44
|
+
'errors'?: Array<Error>;
|
|
45
45
|
}
|
package/dist/types/src/api-model/models/get-solicitation-actions-for-order-response-embedded.d.ts
CHANGED
|
@@ -21,5 +21,5 @@ export interface GetSolicitationActionsForOrderResponseEmbedded {
|
|
|
21
21
|
* @type {Array<GetSolicitationActionResponse>}
|
|
22
22
|
* @memberof GetSolicitationActionsForOrderResponseEmbedded
|
|
23
23
|
*/
|
|
24
|
-
actions: Array<GetSolicitationActionResponse>;
|
|
24
|
+
'actions': Array<GetSolicitationActionResponse>;
|
|
25
25
|
}
|
package/dist/types/src/api-model/models/get-solicitation-actions-for-order-response-links.d.ts
CHANGED
|
@@ -21,11 +21,11 @@ export interface GetSolicitationActionsForOrderResponseLinks {
|
|
|
21
21
|
* @type {LinkObject}
|
|
22
22
|
* @memberof GetSolicitationActionsForOrderResponseLinks
|
|
23
23
|
*/
|
|
24
|
-
self: LinkObject;
|
|
24
|
+
'self': LinkObject;
|
|
25
25
|
/**
|
|
26
26
|
* Eligible actions for the specified amazonOrderId.
|
|
27
27
|
* @type {Array<LinkObject>}
|
|
28
28
|
* @memberof GetSolicitationActionsForOrderResponseLinks
|
|
29
29
|
*/
|
|
30
|
-
actions: Array<LinkObject>;
|
|
30
|
+
'actions': Array<LinkObject>;
|
|
31
31
|
}
|
|
@@ -22,17 +22,17 @@ export interface GetSolicitationActionsForOrderResponse {
|
|
|
22
22
|
* @type {GetSolicitationActionsForOrderResponseLinks}
|
|
23
23
|
* @memberof GetSolicitationActionsForOrderResponse
|
|
24
24
|
*/
|
|
25
|
-
_links?: GetSolicitationActionsForOrderResponseLinks;
|
|
25
|
+
'_links'?: GetSolicitationActionsForOrderResponseLinks;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {GetSolicitationActionsForOrderResponseEmbedded}
|
|
29
29
|
* @memberof GetSolicitationActionsForOrderResponse
|
|
30
30
|
*/
|
|
31
|
-
_embedded?: GetSolicitationActionsForOrderResponseEmbedded;
|
|
31
|
+
'_embedded'?: GetSolicitationActionsForOrderResponseEmbedded;
|
|
32
32
|
/**
|
|
33
33
|
* A list of error responses returned when a request is unsuccessful.
|
|
34
34
|
* @type {Array<Error>}
|
|
35
35
|
* @memberof GetSolicitationActionsForOrderResponse
|
|
36
36
|
*/
|
|
37
|
-
errors?: Array<Error>;
|
|
37
|
+
'errors'?: Array<Error>;
|
|
38
38
|
}
|
|
@@ -20,11 +20,11 @@ export interface LinkObject {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof LinkObject
|
|
22
22
|
*/
|
|
23
|
-
href: string;
|
|
23
|
+
'href': string;
|
|
24
24
|
/**
|
|
25
25
|
* An identifier for this object.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof LinkObject
|
|
28
28
|
*/
|
|
29
|
-
name?: string;
|
|
29
|
+
'name'?: string;
|
|
30
30
|
}
|
|
@@ -20,17 +20,17 @@ export interface ModelError {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ModelError
|
|
22
22
|
*/
|
|
23
|
-
code: string;
|
|
23
|
+
'code': string;
|
|
24
24
|
/**
|
|
25
25
|
* A message that describes the error condition in a human-readable form.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ModelError
|
|
28
28
|
*/
|
|
29
|
-
message: string;
|
|
29
|
+
'message': string;
|
|
30
30
|
/**
|
|
31
31
|
* Additional details that can help the caller understand or fix the issue.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ModelError
|
|
34
34
|
*/
|
|
35
|
-
details?: string;
|
|
35
|
+
'details'?: string;
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/solicitations-api-v1",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"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.",
|
|
5
|
-
"version": "1.9.
|
|
5
|
+
"version": "1.9.6",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"test": "jest"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@sp-api-sdk/auth": "^1.9.
|
|
31
|
-
"@sp-api-sdk/common": "^1.9.
|
|
30
|
+
"@sp-api-sdk/auth": "^1.9.18",
|
|
31
|
+
"@sp-api-sdk/common": "^1.9.4",
|
|
32
32
|
"axios": "^0.27.2"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"sp sdk",
|
|
51
51
|
"solicitations api"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "18efdada205f63f94bd5c11e163e758adbb93257"
|
|
54
54
|
}
|