@epilot/app-client 0.9.4 → 0.9.6
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/openapi.d.ts +32 -4
- package/dist/openapi.json +38 -2
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -1229,11 +1229,15 @@ declare namespace Components {
|
|
|
1229
1229
|
configuration: PortalExtensionConfig;
|
|
1230
1230
|
}
|
|
1231
1231
|
export interface PortalExtensionConfig {
|
|
1232
|
+
/**
|
|
1233
|
+
* Identifier of the extension. Should not change between updates.
|
|
1234
|
+
*/
|
|
1235
|
+
id?: string; // ^[a-zA-Z0-9_-]+$
|
|
1232
1236
|
hooks?: ({
|
|
1233
1237
|
/**
|
|
1234
1238
|
* Identifier of the hook. Should not change between updates.
|
|
1235
1239
|
*/
|
|
1236
|
-
id?: string;
|
|
1240
|
+
id?: string; // ^[a-zA-Z0-9_-]+$
|
|
1237
1241
|
name?: TranslatedString;
|
|
1238
1242
|
} & (/**
|
|
1239
1243
|
* Hook that replaces the built-in registration identifiers check. This hook makes a POST call whenever a user is trying to register to find the corresponding contact. The expected response to the call is:
|
|
@@ -1279,7 +1283,7 @@ declare namespace Components {
|
|
|
1279
1283
|
/**
|
|
1280
1284
|
* Identifier of the link. Should not change between updates.
|
|
1281
1285
|
*/
|
|
1282
|
-
id: string;
|
|
1286
|
+
id: string; // ^[a-zA-Z0-9_-]+$
|
|
1283
1287
|
name: TranslatedString;
|
|
1284
1288
|
description?: TranslatedString;
|
|
1285
1289
|
type: "seamless";
|
|
@@ -1308,7 +1312,7 @@ declare namespace Components {
|
|
|
1308
1312
|
/**
|
|
1309
1313
|
* Identifier of the hook. Should not change between updates.
|
|
1310
1314
|
*/
|
|
1311
|
-
id?: string;
|
|
1315
|
+
id?: string; // ^[a-zA-Z0-9_-]+$
|
|
1312
1316
|
name?: TranslatedString;
|
|
1313
1317
|
}
|
|
1314
1318
|
/**
|
|
@@ -1357,6 +1361,10 @@ declare namespace Components {
|
|
|
1357
1361
|
*/
|
|
1358
1362
|
dataPath?: string;
|
|
1359
1363
|
};
|
|
1364
|
+
/**
|
|
1365
|
+
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1366
|
+
*/
|
|
1367
|
+
use_static_ips?: boolean;
|
|
1360
1368
|
}
|
|
1361
1369
|
/**
|
|
1362
1370
|
* Hook that replaces the built-in contract identification for self-assignment. This hook makes a POST call whenever a user is trying to self-assign a contract to find the corresponding contract(s). The expected response to the call is:
|
|
@@ -1406,6 +1414,10 @@ declare namespace Components {
|
|
|
1406
1414
|
*/
|
|
1407
1415
|
en: string;
|
|
1408
1416
|
};
|
|
1417
|
+
/**
|
|
1418
|
+
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1419
|
+
*/
|
|
1420
|
+
use_static_ips?: boolean;
|
|
1409
1421
|
}
|
|
1410
1422
|
/**
|
|
1411
1423
|
* Hook that will allow using the specified source as data for consumption visualizations. This hook is triggered to fetch the data. Format of the request and response has to follow the following specification: TBD. The expected response to the call is:
|
|
@@ -1453,6 +1465,10 @@ declare namespace Components {
|
|
|
1453
1465
|
*/
|
|
1454
1466
|
dataPath?: string;
|
|
1455
1467
|
};
|
|
1468
|
+
/**
|
|
1469
|
+
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1470
|
+
*/
|
|
1471
|
+
use_static_ips?: boolean;
|
|
1456
1472
|
}
|
|
1457
1473
|
/**
|
|
1458
1474
|
* Hook that checks the plausibility of meter readings before they are saved. This hook makes a POST call whenever a user is trying to save a meter reading. The expected response to the call is:
|
|
@@ -1507,6 +1523,10 @@ declare namespace Components {
|
|
|
1507
1523
|
*/
|
|
1508
1524
|
lower_limit?: string;
|
|
1509
1525
|
};
|
|
1526
|
+
/**
|
|
1527
|
+
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1528
|
+
*/
|
|
1529
|
+
use_static_ips?: boolean;
|
|
1510
1530
|
}
|
|
1511
1531
|
/**
|
|
1512
1532
|
* Hook that will allow using the specified source as data for price visualizations. This hook is triggered to fetch the data. Format of the request and response has to follow the following specification: TBD. The expected response to the call is:
|
|
@@ -1554,6 +1574,10 @@ declare namespace Components {
|
|
|
1554
1574
|
*/
|
|
1555
1575
|
dataPath?: string;
|
|
1556
1576
|
};
|
|
1577
|
+
/**
|
|
1578
|
+
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1579
|
+
*/
|
|
1580
|
+
use_static_ips?: boolean;
|
|
1557
1581
|
}
|
|
1558
1582
|
/**
|
|
1559
1583
|
* Hook that replaces the built-in registration identifiers check. This hook makes a POST call whenever a user is trying to register to find the corresponding contact. The expected response to the call is:
|
|
@@ -1586,12 +1610,16 @@ declare namespace Components {
|
|
|
1586
1610
|
*/
|
|
1587
1611
|
result: string;
|
|
1588
1612
|
};
|
|
1613
|
+
/**
|
|
1614
|
+
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1615
|
+
*/
|
|
1616
|
+
use_static_ips?: boolean;
|
|
1589
1617
|
}
|
|
1590
1618
|
export interface PortalExtensionSeamlessLink {
|
|
1591
1619
|
/**
|
|
1592
1620
|
* Identifier of the link. Should not change between updates.
|
|
1593
1621
|
*/
|
|
1594
|
-
id: string;
|
|
1622
|
+
id: string; // ^[a-zA-Z0-9_-]+$
|
|
1595
1623
|
name: TranslatedString;
|
|
1596
1624
|
description?: TranslatedString;
|
|
1597
1625
|
type: "seamless";
|
package/dist/openapi.json
CHANGED
|
@@ -2105,6 +2105,11 @@
|
|
|
2105
2105
|
"PortalExtensionConfig": {
|
|
2106
2106
|
"type": "object",
|
|
2107
2107
|
"properties": {
|
|
2108
|
+
"id": {
|
|
2109
|
+
"type": "string",
|
|
2110
|
+
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
2111
|
+
"description": "Identifier of the extension. Should not change between updates."
|
|
2112
|
+
},
|
|
2108
2113
|
"hooks": {
|
|
2109
2114
|
"type": "array",
|
|
2110
2115
|
"items": {
|
|
@@ -2155,6 +2160,7 @@
|
|
|
2155
2160
|
"properties": {
|
|
2156
2161
|
"id": {
|
|
2157
2162
|
"type": "string",
|
|
2163
|
+
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
2158
2164
|
"description": "Identifier of the hook. Should not change between updates."
|
|
2159
2165
|
},
|
|
2160
2166
|
"name": {
|
|
@@ -2209,6 +2215,11 @@
|
|
|
2209
2215
|
"result"
|
|
2210
2216
|
],
|
|
2211
2217
|
"additionalProperties": false
|
|
2218
|
+
},
|
|
2219
|
+
"use_static_ips": {
|
|
2220
|
+
"type": "boolean",
|
|
2221
|
+
"description": "If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.",
|
|
2222
|
+
"default": false
|
|
2212
2223
|
}
|
|
2213
2224
|
},
|
|
2214
2225
|
"required": [
|
|
@@ -2256,8 +2267,7 @@
|
|
|
2256
2267
|
},
|
|
2257
2268
|
"required": [
|
|
2258
2269
|
"url",
|
|
2259
|
-
"headers"
|
|
2260
|
-
"result"
|
|
2270
|
+
"headers"
|
|
2261
2271
|
],
|
|
2262
2272
|
"additionalProperties": false
|
|
2263
2273
|
},
|
|
@@ -2283,6 +2293,11 @@
|
|
|
2283
2293
|
"en"
|
|
2284
2294
|
],
|
|
2285
2295
|
"description": "Explanation of the hook."
|
|
2296
|
+
},
|
|
2297
|
+
"use_static_ips": {
|
|
2298
|
+
"type": "boolean",
|
|
2299
|
+
"description": "If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.",
|
|
2300
|
+
"default": false
|
|
2286
2301
|
}
|
|
2287
2302
|
},
|
|
2288
2303
|
"required": [
|
|
@@ -2357,6 +2372,11 @@
|
|
|
2357
2372
|
}
|
|
2358
2373
|
},
|
|
2359
2374
|
"additionalProperties": false
|
|
2375
|
+
},
|
|
2376
|
+
"use_static_ips": {
|
|
2377
|
+
"type": "boolean",
|
|
2378
|
+
"description": "If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.",
|
|
2379
|
+
"default": false
|
|
2360
2380
|
}
|
|
2361
2381
|
},
|
|
2362
2382
|
"required": [
|
|
@@ -2442,6 +2462,11 @@
|
|
|
2442
2462
|
}
|
|
2443
2463
|
},
|
|
2444
2464
|
"additionalProperties": false
|
|
2465
|
+
},
|
|
2466
|
+
"use_static_ips": {
|
|
2467
|
+
"type": "boolean",
|
|
2468
|
+
"description": "If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.",
|
|
2469
|
+
"default": false
|
|
2445
2470
|
}
|
|
2446
2471
|
},
|
|
2447
2472
|
"required": [
|
|
@@ -2527,6 +2552,11 @@
|
|
|
2527
2552
|
}
|
|
2528
2553
|
},
|
|
2529
2554
|
"additionalProperties": false
|
|
2555
|
+
},
|
|
2556
|
+
"use_static_ips": {
|
|
2557
|
+
"type": "boolean",
|
|
2558
|
+
"description": "If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.",
|
|
2559
|
+
"default": false
|
|
2530
2560
|
}
|
|
2531
2561
|
},
|
|
2532
2562
|
"required": [
|
|
@@ -2612,6 +2642,11 @@
|
|
|
2612
2642
|
}
|
|
2613
2643
|
},
|
|
2614
2644
|
"additionalProperties": false
|
|
2645
|
+
},
|
|
2646
|
+
"use_static_ips": {
|
|
2647
|
+
"type": "boolean",
|
|
2648
|
+
"description": "If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.",
|
|
2649
|
+
"default": false
|
|
2615
2650
|
}
|
|
2616
2651
|
},
|
|
2617
2652
|
"required": [
|
|
@@ -2625,6 +2660,7 @@
|
|
|
2625
2660
|
"properties": {
|
|
2626
2661
|
"id": {
|
|
2627
2662
|
"type": "string",
|
|
2663
|
+
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
2628
2664
|
"description": "Identifier of the link. Should not change between updates."
|
|
2629
2665
|
},
|
|
2630
2666
|
"name": {
|