@epilot/pricing-client 3.33.1 → 3.33.2
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 +1 -1
- package/dist/client.d.ts +0 -0
- package/dist/client.js +0 -0
- package/dist/definition.d.ts +0 -0
- package/dist/definition.js +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/openapi-runtime.json +0 -0
- package/dist/openapi.d.ts +12 -0
- package/dist/openapi.json +9 -0
- package/package.json +3 -3
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
Client library for epilot [Pricing API](https://docs.epilot.io/api/pricing)
|
|
9
9
|
|
|
10
|
-
Uses [`openapi-client-axios`](https://github.com/
|
|
10
|
+
Uses [`openapi-client-axios`](https://github.com/openapistack/openapi-client-axios)
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
package/dist/client.d.ts
CHANGED
|
File without changes
|
package/dist/client.js
CHANGED
|
File without changes
|
package/dist/definition.d.ts
CHANGED
|
File without changes
|
package/dist/definition.js
CHANGED
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/openapi.d.ts
CHANGED
|
@@ -419,6 +419,10 @@ declare namespace Components {
|
|
|
419
419
|
* The id of the price.
|
|
420
420
|
*/
|
|
421
421
|
price_id?: string;
|
|
422
|
+
/**
|
|
423
|
+
* The ids of the coupons applicable to the price item
|
|
424
|
+
*/
|
|
425
|
+
coupon_ids?: string[];
|
|
422
426
|
/**
|
|
423
427
|
* The taxes applied to the price item.
|
|
424
428
|
*/
|
|
@@ -1117,6 +1121,10 @@ declare namespace Components {
|
|
|
1117
1121
|
* The id of the price.
|
|
1118
1122
|
*/
|
|
1119
1123
|
price_id?: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* The ids of the coupons applicable to the price item
|
|
1126
|
+
*/
|
|
1127
|
+
coupon_ids?: string[];
|
|
1120
1128
|
/**
|
|
1121
1129
|
* The taxes applied to the price item.
|
|
1122
1130
|
*/
|
|
@@ -2708,6 +2716,10 @@ declare namespace Components {
|
|
|
2708
2716
|
* The id of the price.
|
|
2709
2717
|
*/
|
|
2710
2718
|
price_id?: string;
|
|
2719
|
+
/**
|
|
2720
|
+
* The ids of the coupons applicable to the price item
|
|
2721
|
+
*/
|
|
2722
|
+
coupon_ids?: string[];
|
|
2711
2723
|
/**
|
|
2712
2724
|
* The taxes applied to the price item.
|
|
2713
2725
|
*/
|
package/dist/openapi.json
CHANGED
|
@@ -3366,6 +3366,15 @@
|
|
|
3366
3366
|
"type": "string",
|
|
3367
3367
|
"description": "The id of the price."
|
|
3368
3368
|
},
|
|
3369
|
+
"coupon_ids": {
|
|
3370
|
+
"type": "array",
|
|
3371
|
+
"description": "The ids of the coupons applicable to the price item",
|
|
3372
|
+
"readOnly": true,
|
|
3373
|
+
"items": {
|
|
3374
|
+
"type": "string",
|
|
3375
|
+
"description": "The id of the coupon"
|
|
3376
|
+
}
|
|
3377
|
+
},
|
|
3369
3378
|
"taxes": {
|
|
3370
3379
|
"type": "array",
|
|
3371
3380
|
"description": "The taxes applied to the price item.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/pricing-client",
|
|
3
|
-
"version": "3.33.
|
|
3
|
+
"version": "3.33.2",
|
|
4
4
|
"description": "Client for epilot Pricing APIs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"openapi:local": "npx openapicmd read --json ../../../pricing-api/lambda/ApiHandlerFunction/openapi.yml > ./src/openapi.json",
|
|
28
28
|
"typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
|
|
29
29
|
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
30
|
-
"build:patch": "sed -i '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
30
|
+
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
31
31
|
"build:watch": "npm run build && tsc -w",
|
|
32
32
|
"prepublishOnly": "npm run typegen && npm run build",
|
|
33
33
|
"lint": "../../node_modules/eslint/bin/eslint.js src"
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"webpack": "^5.18.0",
|
|
72
72
|
"webpack-cli": "^4.4.0"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
75
75
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 epilot GmbH
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|