@epilot/customer-portal-client 0.37.0 → 0.38.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/LICENSE +21 -0
- package/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +24 -0
- package/dist/openapi.d.ts +124 -82
- package/package.json +14 -15
- package/src/openapi-runtime.json +24 -0
- package/src/openapi.d.ts +16729 -0
- package/src/openapi.json +197 -41
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/customer-portal-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.1",
|
|
4
4
|
"description": "API Client for epilot portal API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,18 +18,6 @@
|
|
|
18
18
|
"sdk",
|
|
19
19
|
"customer-portal"
|
|
20
20
|
],
|
|
21
|
-
"scripts": {
|
|
22
|
-
"test": "vitest",
|
|
23
|
-
"typescript": "tsc",
|
|
24
|
-
"bundle-definition": "webpack",
|
|
25
|
-
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/customer-portal.yaml",
|
|
26
|
-
"typegen": "openapi typegen src/openapi.json --client > src/openapi.d.ts",
|
|
27
|
-
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
28
|
-
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
29
|
-
"build:watch": "npm run build && tsc -w",
|
|
30
|
-
"prepublishOnly": "npm run typegen && npm run build",
|
|
31
|
-
"lint": "biome check src"
|
|
32
|
-
},
|
|
33
21
|
"files": [
|
|
34
22
|
"*.js",
|
|
35
23
|
"*.d.ts",
|
|
@@ -61,11 +49,22 @@
|
|
|
61
49
|
"axios": "^1.11.0",
|
|
62
50
|
"copy-webpack-plugin": "^7.0.0",
|
|
63
51
|
"json-loader": "^0.5.7",
|
|
64
|
-
"openapicmd": "^2.
|
|
52
|
+
"openapicmd": "^2.9.2",
|
|
65
53
|
"ts-loader": "^8.0.14",
|
|
66
54
|
"ts-node": "^10.9.1",
|
|
67
55
|
"typescript": "^4.1.3",
|
|
68
56
|
"webpack": "^5.18.0",
|
|
69
57
|
"webpack-cli": "^4.4.0"
|
|
58
|
+
},
|
|
59
|
+
"scripts": {
|
|
60
|
+
"test": "vitest",
|
|
61
|
+
"typescript": "tsc",
|
|
62
|
+
"bundle-definition": "webpack",
|
|
63
|
+
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/customer-portal.yaml",
|
|
64
|
+
"typegen": "openapi typegen src/openapi.json --client > src/openapi.d.ts",
|
|
65
|
+
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
66
|
+
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
67
|
+
"build:watch": "npm run build && tsc -w",
|
|
68
|
+
"lint": "biome check src"
|
|
70
69
|
}
|
|
71
|
-
}
|
|
70
|
+
}
|
package/src/openapi-runtime.json
CHANGED
|
@@ -1829,6 +1829,18 @@
|
|
|
1829
1829
|
"responses": {}
|
|
1830
1830
|
}
|
|
1831
1831
|
},
|
|
1832
|
+
"/v2/portal/metering/readings": {
|
|
1833
|
+
"post": {
|
|
1834
|
+
"operationId": "getMeterReadings",
|
|
1835
|
+
"requestBody": {
|
|
1836
|
+
"required": true,
|
|
1837
|
+
"content": {
|
|
1838
|
+
"application/json": {}
|
|
1839
|
+
}
|
|
1840
|
+
},
|
|
1841
|
+
"responses": {}
|
|
1842
|
+
}
|
|
1843
|
+
},
|
|
1832
1844
|
"/v2/portal/public/sso/login": {
|
|
1833
1845
|
"post": {
|
|
1834
1846
|
"operationId": "ssoLogin",
|
|
@@ -2258,6 +2270,18 @@
|
|
|
2258
2270
|
"responses": {}
|
|
2259
2271
|
}
|
|
2260
2272
|
},
|
|
2273
|
+
"/v3/portal/config/clone": {
|
|
2274
|
+
"post": {
|
|
2275
|
+
"operationId": "clonePortalConfig",
|
|
2276
|
+
"requestBody": {
|
|
2277
|
+
"required": true,
|
|
2278
|
+
"content": {
|
|
2279
|
+
"application/json": {}
|
|
2280
|
+
}
|
|
2281
|
+
},
|
|
2282
|
+
"responses": {}
|
|
2283
|
+
}
|
|
2284
|
+
},
|
|
2261
2285
|
"/v3/portal/partner/invite": {
|
|
2262
2286
|
"post": {
|
|
2263
2287
|
"operationId": "invitePartner",
|