@sp-api-sdk/solicitations-api-v1 3.0.1 → 3.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.
@@ -79,11 +79,10 @@ class Configuration {
79
79
  this.basePath = param.basePath;
80
80
  this.serverIndex = param.serverIndex;
81
81
  this.baseOptions = {
82
+ ...param.baseOptions,
82
83
  headers: {
83
84
  ...param.baseOptions?.headers,
84
- 'User-Agent': "OpenAPI-Generator/typescript-axios"
85
85
  },
86
- ...param.baseOptions
87
86
  };
88
87
  this.formDataCtor = param.formDataCtor;
89
88
  }
@@ -76,11 +76,10 @@ export class Configuration {
76
76
  this.basePath = param.basePath;
77
77
  this.serverIndex = param.serverIndex;
78
78
  this.baseOptions = {
79
+ ...param.baseOptions,
79
80
  headers: {
80
81
  ...param.baseOptions?.headers,
81
- 'User-Agent': "OpenAPI-Generator/typescript-axios"
82
82
  },
83
- ...param.baseOptions
84
83
  };
85
84
  this.formDataCtor = param.formDataCtor;
86
85
  }
@@ -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) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -22,7 +22,7 @@ export interface ModelError {
22
22
  */
23
23
  'code': string;
24
24
  /**
25
- * A message that describes the error condition in a human-readable form.
25
+ * A message that describes the error condition.
26
26
  * @type {string}
27
27
  * @memberof ModelError
28
28
  */
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/solicitations-api-v1",
3
3
  "author": "Bertrand Marron <bertrand@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 \\<a href=https://tools.ietf.org/html/draft-kelly-json-hal-08>JSON Hypertext Application Language (HAL) standard.",
5
- "version": "3.0.1",
5
+ "version": "3.1.0",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.1.10",
22
- "axios": "^1.7.9"
21
+ "@sp-api-sdk/common": "2.1.11",
22
+ "axios": "^1.8.1"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "solicitations api"
42
42
  ],
43
- "gitHead": "4098c9f3375b3b56212baa3bf21c18dd987baab2"
43
+ "gitHead": "b5799742765e819f70161d2ac1905d8e570de8c0"
44
44
  }