@sp-api-sdk/supply-sources-api-2020-07-01 2.0.1 → 2.1.1

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/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # `supply-sources-api-2020-07-01`
2
2
 
3
- Manage configurations and capabilities of seller supply sources.
4
-
5
3
  [![npm version](https://img.shields.io/npm/v/@sp-api-sdk/supply-sources-api-2020-07-01)](https://www.npmjs.com/package/@sp-api-sdk/supply-sources-api-2020-07-01)
6
4
  [![XO code style](https://img.shields.io/badge/code_style-xo-cyan)](https://github.com/xojs/xo)
7
5
 
6
+ Manage configurations and capabilities of seller supply sources.
7
+
8
8
  [<img src="https://files.bizon.solutions/images/logo/bizon-horizontal.png" alt="Bizon" width="250"/>](https://www.bizon.solutions?utm_source=github&utm_medium=readme&utm_campaign=selling-partner-api-sdk)
9
9
 
10
10
  ## Documentation
@@ -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>;
@@ -16,19 +16,19 @@
16
16
  */
17
17
  export interface ModelError {
18
18
  /**
19
- * An error code that identifies the type of error that occured.
19
+ * An error code that identifies the type of error that occurred.
20
20
  * @type {string}
21
21
  * @memberof 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
  */
29
29
  'message': string;
30
30
  /**
31
- * The additional details that can help the caller understand or fix the issue.
31
+ * Additional details that can help the caller understand or fix the issue.
32
32
  * @type {string}
33
33
  * @memberof ModelError
34
34
  */
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/supply-sources-api-2020-07-01",
3
3
  "author": "Bertrand Marron <bertrand@bizon.solutions>",
4
4
  "description": "Manage configurations and capabilities of seller supply sources.",
5
- "version": "2.0.1",
5
+ "version": "2.1.1",
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.12",
22
+ "axios": "^1.8.3"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "supply sources api"
42
42
  ],
43
- "gitHead": "4098c9f3375b3b56212baa3bf21c18dd987baab2"
43
+ "gitHead": "1e03c21270cfd38688ca6928b63d3f3b4a3587b0"
44
44
  }