@sp-api-sdk/fulfillment-outbound-api-2020-07-01 2.8.6 → 3.0.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
@@ -2,8 +2,10 @@
2
2
 
3
3
  The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orders.
4
4
 
5
- [![npm version](https://badgen.net/npm/v/@sp-api-sdk/fulfillment-outbound-api-2020-07-01)](https://www.npmjs.com/package/@sp-api-sdk/fulfillment-outbound-api-2020-07-01)
6
- [![XO code style](https://badgen.net/badge/code%20style/XO/cyan)](https://github.com/xojs/xo)
5
+ [![npm version](https://img.shields.io/npm/v/@sp-api-sdk/fulfillment-outbound-api-2020-07-01)](https://www.npmjs.com/package/@sp-api-sdk/fulfillment-outbound-api-2020-07-01)
6
+ [![XO code style](https://img.shields.io/badge/code_style-xo-cyan)](https://github.com/xojs/xo)
7
+
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)
7
9
 
8
10
  ## Documentation
9
11
 
@@ -78,7 +78,13 @@ class Configuration {
78
78
  this.accessToken = param.accessToken;
79
79
  this.basePath = param.basePath;
80
80
  this.serverIndex = param.serverIndex;
81
- this.baseOptions = param.baseOptions;
81
+ this.baseOptions = {
82
+ headers: {
83
+ ...param.baseOptions?.headers,
84
+ 'User-Agent': "OpenAPI-Generator/typescript-axios"
85
+ },
86
+ ...param.baseOptions
87
+ };
82
88
  this.formDataCtor = param.formDataCtor;
83
89
  }
84
90
  /**
@@ -20,37 +20,37 @@ exports.EventCode = void 0;
20
20
  * @enum {string}
21
21
  */
22
22
  exports.EventCode = {
23
- _101: 'EVENT_101',
24
- _102: 'EVENT_102',
25
- _201: 'EVENT_201',
26
- _202: 'EVENT_202',
27
- _203: 'EVENT_203',
28
- _204: 'EVENT_204',
29
- _205: 'EVENT_205',
30
- _206: 'EVENT_206',
31
- _301: 'EVENT_301',
32
- _302: 'EVENT_302',
33
- _304: 'EVENT_304',
34
- _306: 'EVENT_306',
35
- _307: 'EVENT_307',
36
- _308: 'EVENT_308',
37
- _309: 'EVENT_309',
38
- _401: 'EVENT_401',
39
- _402: 'EVENT_402',
40
- _403: 'EVENT_403',
41
- _404: 'EVENT_404',
42
- _405: 'EVENT_405',
43
- _406: 'EVENT_406',
44
- _407: 'EVENT_407',
45
- _408: 'EVENT_408',
46
- _409: 'EVENT_409',
47
- _411: 'EVENT_411',
48
- _412: 'EVENT_412',
49
- _413: 'EVENT_413',
50
- _414: 'EVENT_414',
51
- _415: 'EVENT_415',
52
- _416: 'EVENT_416',
53
- _417: 'EVENT_417',
54
- _418: 'EVENT_418',
55
- _419: 'EVENT_419'
23
+ Event101: 'EVENT_101',
24
+ Event102: 'EVENT_102',
25
+ Event201: 'EVENT_201',
26
+ Event202: 'EVENT_202',
27
+ Event203: 'EVENT_203',
28
+ Event204: 'EVENT_204',
29
+ Event205: 'EVENT_205',
30
+ Event206: 'EVENT_206',
31
+ Event301: 'EVENT_301',
32
+ Event302: 'EVENT_302',
33
+ Event304: 'EVENT_304',
34
+ Event306: 'EVENT_306',
35
+ Event307: 'EVENT_307',
36
+ Event308: 'EVENT_308',
37
+ Event309: 'EVENT_309',
38
+ Event401: 'EVENT_401',
39
+ Event402: 'EVENT_402',
40
+ Event403: 'EVENT_403',
41
+ Event404: 'EVENT_404',
42
+ Event405: 'EVENT_405',
43
+ Event406: 'EVENT_406',
44
+ Event407: 'EVENT_407',
45
+ Event408: 'EVENT_408',
46
+ Event409: 'EVENT_409',
47
+ Event411: 'EVENT_411',
48
+ Event412: 'EVENT_412',
49
+ Event413: 'EVENT_413',
50
+ Event414: 'EVENT_414',
51
+ Event415: 'EVENT_415',
52
+ Event416: 'EVENT_416',
53
+ Event417: 'EVENT_417',
54
+ Event418: 'EVENT_418',
55
+ Event419: 'EVENT_419'
56
56
  };
@@ -75,7 +75,13 @@ export class Configuration {
75
75
  this.accessToken = param.accessToken;
76
76
  this.basePath = param.basePath;
77
77
  this.serverIndex = param.serverIndex;
78
- this.baseOptions = param.baseOptions;
78
+ this.baseOptions = {
79
+ headers: {
80
+ ...param.baseOptions?.headers,
81
+ 'User-Agent': "OpenAPI-Generator/typescript-axios"
82
+ },
83
+ ...param.baseOptions
84
+ };
79
85
  this.formDataCtor = param.formDataCtor;
80
86
  }
81
87
  /**
@@ -17,37 +17,37 @@
17
17
  * @enum {string}
18
18
  */
19
19
  export const EventCode = {
20
- _101: 'EVENT_101',
21
- _102: 'EVENT_102',
22
- _201: 'EVENT_201',
23
- _202: 'EVENT_202',
24
- _203: 'EVENT_203',
25
- _204: 'EVENT_204',
26
- _205: 'EVENT_205',
27
- _206: 'EVENT_206',
28
- _301: 'EVENT_301',
29
- _302: 'EVENT_302',
30
- _304: 'EVENT_304',
31
- _306: 'EVENT_306',
32
- _307: 'EVENT_307',
33
- _308: 'EVENT_308',
34
- _309: 'EVENT_309',
35
- _401: 'EVENT_401',
36
- _402: 'EVENT_402',
37
- _403: 'EVENT_403',
38
- _404: 'EVENT_404',
39
- _405: 'EVENT_405',
40
- _406: 'EVENT_406',
41
- _407: 'EVENT_407',
42
- _408: 'EVENT_408',
43
- _409: 'EVENT_409',
44
- _411: 'EVENT_411',
45
- _412: 'EVENT_412',
46
- _413: 'EVENT_413',
47
- _414: 'EVENT_414',
48
- _415: 'EVENT_415',
49
- _416: 'EVENT_416',
50
- _417: 'EVENT_417',
51
- _418: 'EVENT_418',
52
- _419: 'EVENT_419'
20
+ Event101: 'EVENT_101',
21
+ Event102: 'EVENT_102',
22
+ Event201: 'EVENT_201',
23
+ Event202: 'EVENT_202',
24
+ Event203: 'EVENT_203',
25
+ Event204: 'EVENT_204',
26
+ Event205: 'EVENT_205',
27
+ Event206: 'EVENT_206',
28
+ Event301: 'EVENT_301',
29
+ Event302: 'EVENT_302',
30
+ Event304: 'EVENT_304',
31
+ Event306: 'EVENT_306',
32
+ Event307: 'EVENT_307',
33
+ Event308: 'EVENT_308',
34
+ Event309: 'EVENT_309',
35
+ Event401: 'EVENT_401',
36
+ Event402: 'EVENT_402',
37
+ Event403: 'EVENT_403',
38
+ Event404: 'EVENT_404',
39
+ Event405: 'EVENT_405',
40
+ Event406: 'EVENT_406',
41
+ Event407: 'EVENT_407',
42
+ Event408: 'EVENT_408',
43
+ Event409: 'EVENT_409',
44
+ Event411: 'EVENT_411',
45
+ Event412: 'EVENT_412',
46
+ Event413: 'EVENT_413',
47
+ Event414: 'EVENT_414',
48
+ Event415: 'EVENT_415',
49
+ Event416: 'EVENT_416',
50
+ Event417: 'EVENT_417',
51
+ Event418: 'EVENT_418',
52
+ Event419: 'EVENT_419'
53
53
  };
@@ -15,38 +15,38 @@
15
15
  * @enum {string}
16
16
  */
17
17
  export declare const EventCode: {
18
- readonly _101: "EVENT_101";
19
- readonly _102: "EVENT_102";
20
- readonly _201: "EVENT_201";
21
- readonly _202: "EVENT_202";
22
- readonly _203: "EVENT_203";
23
- readonly _204: "EVENT_204";
24
- readonly _205: "EVENT_205";
25
- readonly _206: "EVENT_206";
26
- readonly _301: "EVENT_301";
27
- readonly _302: "EVENT_302";
28
- readonly _304: "EVENT_304";
29
- readonly _306: "EVENT_306";
30
- readonly _307: "EVENT_307";
31
- readonly _308: "EVENT_308";
32
- readonly _309: "EVENT_309";
33
- readonly _401: "EVENT_401";
34
- readonly _402: "EVENT_402";
35
- readonly _403: "EVENT_403";
36
- readonly _404: "EVENT_404";
37
- readonly _405: "EVENT_405";
38
- readonly _406: "EVENT_406";
39
- readonly _407: "EVENT_407";
40
- readonly _408: "EVENT_408";
41
- readonly _409: "EVENT_409";
42
- readonly _411: "EVENT_411";
43
- readonly _412: "EVENT_412";
44
- readonly _413: "EVENT_413";
45
- readonly _414: "EVENT_414";
46
- readonly _415: "EVENT_415";
47
- readonly _416: "EVENT_416";
48
- readonly _417: "EVENT_417";
49
- readonly _418: "EVENT_418";
50
- readonly _419: "EVENT_419";
18
+ readonly Event101: "EVENT_101";
19
+ readonly Event102: "EVENT_102";
20
+ readonly Event201: "EVENT_201";
21
+ readonly Event202: "EVENT_202";
22
+ readonly Event203: "EVENT_203";
23
+ readonly Event204: "EVENT_204";
24
+ readonly Event205: "EVENT_205";
25
+ readonly Event206: "EVENT_206";
26
+ readonly Event301: "EVENT_301";
27
+ readonly Event302: "EVENT_302";
28
+ readonly Event304: "EVENT_304";
29
+ readonly Event306: "EVENT_306";
30
+ readonly Event307: "EVENT_307";
31
+ readonly Event308: "EVENT_308";
32
+ readonly Event309: "EVENT_309";
33
+ readonly Event401: "EVENT_401";
34
+ readonly Event402: "EVENT_402";
35
+ readonly Event403: "EVENT_403";
36
+ readonly Event404: "EVENT_404";
37
+ readonly Event405: "EVENT_405";
38
+ readonly Event406: "EVENT_406";
39
+ readonly Event407: "EVENT_407";
40
+ readonly Event408: "EVENT_408";
41
+ readonly Event409: "EVENT_409";
42
+ readonly Event411: "EVENT_411";
43
+ readonly Event412: "EVENT_412";
44
+ readonly Event413: "EVENT_413";
45
+ readonly Event414: "EVENT_414";
46
+ readonly Event415: "EVENT_415";
47
+ readonly Event416: "EVENT_416";
48
+ readonly Event417: "EVENT_417";
49
+ readonly Event418: "EVENT_418";
50
+ readonly Event419: "EVENT_419";
51
51
  };
52
52
  export type EventCode = typeof EventCode[keyof typeof EventCode];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/fulfillment-outbound-api-2020-07-01",
3
3
  "author": "Bertrand Marron <bertrand@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orders.",
5
- "version": "2.8.6",
5
+ "version": "3.0.1",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.1.8",
21
+ "@sp-api-sdk/common": "2.1.10",
22
22
  "axios": "^1.7.9"
23
23
  },
24
24
  "repository": {
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "fulfillment outbound api"
42
42
  ],
43
- "gitHead": "d8ee43e876007f59ecc6c67831cf797343d6d6e3"
43
+ "gitHead": "4098c9f3375b3b56212baa3bf21c18dd987baab2"
44
44
  }