@epilot/customer-portal-client 0.33.3 → 0.35.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.
- package/dist/client.d.ts +1 -1
- package/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +29 -0
- package/dist/openapi.d.ts +769 -128
- package/package.json +4 -7
- package/src/openapi-runtime.json +29 -0
- package/src/openapi.json +493 -59
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/customer-portal-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.0",
|
|
4
4
|
"description": "API Client for epilot portal API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
"customer-portal"
|
|
20
20
|
],
|
|
21
21
|
"scripts": {
|
|
22
|
-
"test": "
|
|
22
|
+
"test": "vitest",
|
|
23
23
|
"typescript": "tsc",
|
|
24
24
|
"bundle-definition": "webpack",
|
|
25
25
|
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/customer-portal.yaml",
|
|
26
|
-
"typegen": "openapi typegen src/openapi.json --client
|
|
26
|
+
"typegen": "openapi typegen src/openapi.json --client > src/openapi.d.ts",
|
|
27
27
|
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
28
28
|
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
29
29
|
"build:watch": "npm run build && tsc -w",
|
|
30
30
|
"prepublishOnly": "npm run typegen && npm run build",
|
|
31
|
-
"lint": "
|
|
31
|
+
"lint": "biome check src"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"*.js",
|
|
@@ -58,13 +58,10 @@
|
|
|
58
58
|
"util": "^0.12.3"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@types/jest": "^26.0.20",
|
|
62
61
|
"axios": "^1.11.0",
|
|
63
62
|
"copy-webpack-plugin": "^7.0.0",
|
|
64
|
-
"jest": "^29.6.2",
|
|
65
63
|
"json-loader": "^0.5.7",
|
|
66
64
|
"openapicmd": "^2.7.0",
|
|
67
|
-
"ts-jest": "^29.4.1",
|
|
68
65
|
"ts-loader": "^8.0.14",
|
|
69
66
|
"ts-node": "^10.9.1",
|
|
70
67
|
"typescript": "^4.1.3",
|
package/src/openapi-runtime.json
CHANGED
|
@@ -579,6 +579,7 @@
|
|
|
579
579
|
"/v2/portal/public-widgets": {
|
|
580
580
|
"get": {
|
|
581
581
|
"operationId": "getPublicPortalWidgets",
|
|
582
|
+
"deprecated": true,
|
|
582
583
|
"parameters": [
|
|
583
584
|
{
|
|
584
585
|
"in": "query",
|
|
@@ -597,6 +598,7 @@
|
|
|
597
598
|
"/v2/portal/widgets": {
|
|
598
599
|
"post": {
|
|
599
600
|
"operationId": "upsertPortalWidget",
|
|
601
|
+
"deprecated": true,
|
|
600
602
|
"parameters": [
|
|
601
603
|
{
|
|
602
604
|
"in": "query",
|
|
@@ -614,6 +616,7 @@
|
|
|
614
616
|
},
|
|
615
617
|
"get": {
|
|
616
618
|
"operationId": "getPortalWidgets",
|
|
619
|
+
"deprecated": true,
|
|
617
620
|
"parameters": [
|
|
618
621
|
{
|
|
619
622
|
"in": "query",
|
|
@@ -718,6 +721,7 @@
|
|
|
718
721
|
},
|
|
719
722
|
"patch": {
|
|
720
723
|
"operationId": "updateContact",
|
|
724
|
+
"deprecated": true,
|
|
721
725
|
"requestBody": {
|
|
722
726
|
"content": {
|
|
723
727
|
"application/json": {}
|
|
@@ -972,6 +976,7 @@
|
|
|
972
976
|
"/v2/portal/order": {
|
|
973
977
|
"get": {
|
|
974
978
|
"operationId": "getAllOrders",
|
|
979
|
+
"deprecated": true,
|
|
975
980
|
"parameters": [
|
|
976
981
|
{
|
|
977
982
|
"in": "query",
|
|
@@ -1008,6 +1013,7 @@
|
|
|
1008
1013
|
"/v2/portal/order/{id}": {
|
|
1009
1014
|
"get": {
|
|
1010
1015
|
"operationId": "getOrder",
|
|
1016
|
+
"deprecated": true,
|
|
1011
1017
|
"parameters": [
|
|
1012
1018
|
{
|
|
1013
1019
|
"in": "path",
|
|
@@ -1019,6 +1025,7 @@
|
|
|
1019
1025
|
},
|
|
1020
1026
|
"patch": {
|
|
1021
1027
|
"operationId": "updateOrder",
|
|
1028
|
+
"deprecated": true,
|
|
1022
1029
|
"parameters": [
|
|
1023
1030
|
{
|
|
1024
1031
|
"in": "path",
|
|
@@ -1037,6 +1044,7 @@
|
|
|
1037
1044
|
"/v2/portal/opportunity": {
|
|
1038
1045
|
"get": {
|
|
1039
1046
|
"operationId": "getAllOpportunities",
|
|
1047
|
+
"deprecated": true,
|
|
1040
1048
|
"parameters": [
|
|
1041
1049
|
{
|
|
1042
1050
|
"in": "query",
|
|
@@ -1055,6 +1063,7 @@
|
|
|
1055
1063
|
"/v2/portal/opportunities/searchable-attributes": {
|
|
1056
1064
|
"get": {
|
|
1057
1065
|
"operationId": "getSearchableAttributesForOpportunities",
|
|
1066
|
+
"deprecated": true,
|
|
1058
1067
|
"parameters": [
|
|
1059
1068
|
{
|
|
1060
1069
|
"in": "query",
|
|
@@ -1073,6 +1082,7 @@
|
|
|
1073
1082
|
"/v2/portal/opportunities/search": {
|
|
1074
1083
|
"post": {
|
|
1075
1084
|
"operationId": "getSearchResultsForOpportunities",
|
|
1085
|
+
"deprecated": true,
|
|
1076
1086
|
"parameters": [
|
|
1077
1087
|
{
|
|
1078
1088
|
"in": "query",
|
|
@@ -1097,6 +1107,7 @@
|
|
|
1097
1107
|
"/v2/portal/opportunities/{id}": {
|
|
1098
1108
|
"get": {
|
|
1099
1109
|
"operationId": "getOpportunity",
|
|
1110
|
+
"deprecated": true,
|
|
1100
1111
|
"parameters": [
|
|
1101
1112
|
{
|
|
1102
1113
|
"in": "path",
|
|
@@ -1108,6 +1119,7 @@
|
|
|
1108
1119
|
},
|
|
1109
1120
|
"patch": {
|
|
1110
1121
|
"operationId": "updateOpportunity",
|
|
1122
|
+
"deprecated": true,
|
|
1111
1123
|
"parameters": [
|
|
1112
1124
|
{
|
|
1113
1125
|
"in": "path",
|
|
@@ -1127,6 +1139,7 @@
|
|
|
1127
1139
|
"/v2/portal/request": {
|
|
1128
1140
|
"get": {
|
|
1129
1141
|
"operationId": "getAllRequests",
|
|
1142
|
+
"deprecated": true,
|
|
1130
1143
|
"parameters": [
|
|
1131
1144
|
{
|
|
1132
1145
|
"in": "query",
|
|
@@ -1145,6 +1158,7 @@
|
|
|
1145
1158
|
"/v2/portal/contract": {
|
|
1146
1159
|
"get": {
|
|
1147
1160
|
"operationId": "getAllContracts",
|
|
1161
|
+
"deprecated": true,
|
|
1148
1162
|
"parameters": [
|
|
1149
1163
|
{
|
|
1150
1164
|
"in": "query",
|
|
@@ -1163,6 +1177,7 @@
|
|
|
1163
1177
|
"/v2/portal/contract/{id}": {
|
|
1164
1178
|
"get": {
|
|
1165
1179
|
"operationId": "getContract",
|
|
1180
|
+
"deprecated": true,
|
|
1166
1181
|
"parameters": [
|
|
1167
1182
|
{
|
|
1168
1183
|
"in": "path",
|
|
@@ -1174,6 +1189,7 @@
|
|
|
1174
1189
|
},
|
|
1175
1190
|
"patch": {
|
|
1176
1191
|
"operationId": "updateContract",
|
|
1192
|
+
"deprecated": true,
|
|
1177
1193
|
"parameters": [
|
|
1178
1194
|
{
|
|
1179
1195
|
"in": "path",
|
|
@@ -1381,6 +1397,7 @@
|
|
|
1381
1397
|
"/v2/portal/user/file/{id}": {
|
|
1382
1398
|
"get": {
|
|
1383
1399
|
"operationId": "getFileById",
|
|
1400
|
+
"deprecated": true,
|
|
1384
1401
|
"parameters": [
|
|
1385
1402
|
{
|
|
1386
1403
|
"in": "path",
|
|
@@ -1880,6 +1897,18 @@
|
|
|
1880
1897
|
"responses": {}
|
|
1881
1898
|
}
|
|
1882
1899
|
},
|
|
1900
|
+
"/v2/portal/pages/interpolate": {
|
|
1901
|
+
"post": {
|
|
1902
|
+
"operationId": "interpolatePortalPages",
|
|
1903
|
+
"requestBody": {
|
|
1904
|
+
"required": true,
|
|
1905
|
+
"content": {
|
|
1906
|
+
"application/json": {}
|
|
1907
|
+
}
|
|
1908
|
+
},
|
|
1909
|
+
"responses": {}
|
|
1910
|
+
}
|
|
1911
|
+
},
|
|
1883
1912
|
"/v2/portal/pages/default": {
|
|
1884
1913
|
"get": {
|
|
1885
1914
|
"operationId": "getDefaultPages",
|