@epilot/app-client 0.9.3 → 0.9.4
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 +17 -3
- package/dist/openapi.json +45 -6
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -1234,6 +1234,7 @@ declare namespace Components {
|
|
|
1234
1234
|
* Identifier of the hook. Should not change between updates.
|
|
1235
1235
|
*/
|
|
1236
1236
|
id?: string;
|
|
1237
|
+
name?: TranslatedString;
|
|
1237
1238
|
} & (/**
|
|
1238
1239
|
* 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:
|
|
1239
1240
|
* - 200 with contact id if exactly one contact is found
|
|
@@ -1308,6 +1309,7 @@ declare namespace Components {
|
|
|
1308
1309
|
* Identifier of the hook. Should not change between updates.
|
|
1309
1310
|
*/
|
|
1310
1311
|
id?: string;
|
|
1312
|
+
name?: TranslatedString;
|
|
1311
1313
|
}
|
|
1312
1314
|
/**
|
|
1313
1315
|
* 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:
|
|
@@ -1316,6 +1318,10 @@ declare namespace Components {
|
|
|
1316
1318
|
*/
|
|
1317
1319
|
export interface PortalExtensionHookConsumptionDataRetrieval {
|
|
1318
1320
|
type: "consumptionDataRetrieval";
|
|
1321
|
+
/**
|
|
1322
|
+
* Intervals supported by the API. If omitted, it is assumed that all intervals are supported.
|
|
1323
|
+
*/
|
|
1324
|
+
intervals?: ("PT15M" | "PT1H" | "P1D" | "P1M")[];
|
|
1319
1325
|
auth?: PortalExtensionAuthBlock;
|
|
1320
1326
|
call: {
|
|
1321
1327
|
/**
|
|
@@ -1345,7 +1351,7 @@ declare namespace Components {
|
|
|
1345
1351
|
[name: string]: string;
|
|
1346
1352
|
};
|
|
1347
1353
|
};
|
|
1348
|
-
resolved
|
|
1354
|
+
resolved?: {
|
|
1349
1355
|
/**
|
|
1350
1356
|
* Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
|
|
1351
1357
|
*/
|
|
@@ -1408,6 +1414,10 @@ declare namespace Components {
|
|
|
1408
1414
|
*/
|
|
1409
1415
|
export interface PortalExtensionHookCostDataRetrieval {
|
|
1410
1416
|
type: "costDataRetrieval";
|
|
1417
|
+
/**
|
|
1418
|
+
* Intervals supported by the API. If omitted, it is assumed that all intervals are supported.
|
|
1419
|
+
*/
|
|
1420
|
+
intervals?: ("PT15M" | "PT1H" | "P1D" | "P1M")[];
|
|
1411
1421
|
auth?: PortalExtensionAuthBlock;
|
|
1412
1422
|
call: {
|
|
1413
1423
|
/**
|
|
@@ -1477,7 +1487,7 @@ declare namespace Components {
|
|
|
1477
1487
|
/**
|
|
1478
1488
|
* Response to the call
|
|
1479
1489
|
*/
|
|
1480
|
-
resolved
|
|
1490
|
+
resolved?: {
|
|
1481
1491
|
/**
|
|
1482
1492
|
* Indicate whether the meter reading is plausible
|
|
1483
1493
|
* example:
|
|
@@ -1505,6 +1515,10 @@ declare namespace Components {
|
|
|
1505
1515
|
*/
|
|
1506
1516
|
export interface PortalExtensionHookPriceDataRetrieval {
|
|
1507
1517
|
type: "priceDataRetrieval";
|
|
1518
|
+
/**
|
|
1519
|
+
* Intervals supported by the API. If omitted, it is assumed that all intervals are supported.
|
|
1520
|
+
*/
|
|
1521
|
+
intervals?: ("PT15M" | "PT1H" | "P1D" | "P1M")[];
|
|
1508
1522
|
auth?: PortalExtensionAuthBlock;
|
|
1509
1523
|
call: {
|
|
1510
1524
|
/**
|
|
@@ -1534,7 +1548,7 @@ declare namespace Components {
|
|
|
1534
1548
|
[name: string]: string;
|
|
1535
1549
|
};
|
|
1536
1550
|
};
|
|
1537
|
-
resolved
|
|
1551
|
+
resolved?: {
|
|
1538
1552
|
/**
|
|
1539
1553
|
* Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
|
|
1540
1554
|
*/
|
package/dist/openapi.json
CHANGED
|
@@ -2156,6 +2156,9 @@
|
|
|
2156
2156
|
"id": {
|
|
2157
2157
|
"type": "string",
|
|
2158
2158
|
"description": "Identifier of the hook. Should not change between updates."
|
|
2159
|
+
},
|
|
2160
|
+
"name": {
|
|
2161
|
+
"$ref": "#/components/schemas/TranslatedString"
|
|
2159
2162
|
}
|
|
2160
2163
|
}
|
|
2161
2164
|
},
|
|
@@ -2358,8 +2361,7 @@
|
|
|
2358
2361
|
},
|
|
2359
2362
|
"required": [
|
|
2360
2363
|
"type",
|
|
2361
|
-
"call"
|
|
2362
|
-
"resolved"
|
|
2364
|
+
"call"
|
|
2363
2365
|
],
|
|
2364
2366
|
"additionalProperties": false
|
|
2365
2367
|
},
|
|
@@ -2373,6 +2375,19 @@
|
|
|
2373
2375
|
"priceDataRetrieval"
|
|
2374
2376
|
]
|
|
2375
2377
|
},
|
|
2378
|
+
"intervals": {
|
|
2379
|
+
"type": "array",
|
|
2380
|
+
"description": "Intervals supported by the API. If omitted, it is assumed that all intervals are supported.",
|
|
2381
|
+
"items": {
|
|
2382
|
+
"type": "string",
|
|
2383
|
+
"enum": [
|
|
2384
|
+
"PT15M",
|
|
2385
|
+
"PT1H",
|
|
2386
|
+
"P1D",
|
|
2387
|
+
"P1M"
|
|
2388
|
+
]
|
|
2389
|
+
}
|
|
2390
|
+
},
|
|
2376
2391
|
"auth": {
|
|
2377
2392
|
"$ref": "#/components/schemas/PortalExtensionAuthBlock"
|
|
2378
2393
|
},
|
|
@@ -2431,8 +2446,7 @@
|
|
|
2431
2446
|
},
|
|
2432
2447
|
"required": [
|
|
2433
2448
|
"type",
|
|
2434
|
-
"call"
|
|
2435
|
-
"resolved"
|
|
2449
|
+
"call"
|
|
2436
2450
|
],
|
|
2437
2451
|
"additionalProperties": false
|
|
2438
2452
|
},
|
|
@@ -2446,6 +2460,19 @@
|
|
|
2446
2460
|
"consumptionDataRetrieval"
|
|
2447
2461
|
]
|
|
2448
2462
|
},
|
|
2463
|
+
"intervals": {
|
|
2464
|
+
"type": "array",
|
|
2465
|
+
"description": "Intervals supported by the API. If omitted, it is assumed that all intervals are supported.",
|
|
2466
|
+
"items": {
|
|
2467
|
+
"type": "string",
|
|
2468
|
+
"enum": [
|
|
2469
|
+
"PT15M",
|
|
2470
|
+
"PT1H",
|
|
2471
|
+
"P1D",
|
|
2472
|
+
"P1M"
|
|
2473
|
+
]
|
|
2474
|
+
}
|
|
2475
|
+
},
|
|
2449
2476
|
"auth": {
|
|
2450
2477
|
"$ref": "#/components/schemas/PortalExtensionAuthBlock"
|
|
2451
2478
|
},
|
|
@@ -2504,8 +2531,7 @@
|
|
|
2504
2531
|
},
|
|
2505
2532
|
"required": [
|
|
2506
2533
|
"type",
|
|
2507
|
-
"call"
|
|
2508
|
-
"resolved"
|
|
2534
|
+
"call"
|
|
2509
2535
|
],
|
|
2510
2536
|
"additionalProperties": false
|
|
2511
2537
|
},
|
|
@@ -2519,6 +2545,19 @@
|
|
|
2519
2545
|
"costDataRetrieval"
|
|
2520
2546
|
]
|
|
2521
2547
|
},
|
|
2548
|
+
"intervals": {
|
|
2549
|
+
"type": "array",
|
|
2550
|
+
"description": "Intervals supported by the API. If omitted, it is assumed that all intervals are supported.",
|
|
2551
|
+
"items": {
|
|
2552
|
+
"type": "string",
|
|
2553
|
+
"enum": [
|
|
2554
|
+
"PT15M",
|
|
2555
|
+
"PT1H",
|
|
2556
|
+
"P1D",
|
|
2557
|
+
"P1M"
|
|
2558
|
+
]
|
|
2559
|
+
}
|
|
2560
|
+
},
|
|
2522
2561
|
"auth": {
|
|
2523
2562
|
"$ref": "#/components/schemas/PortalExtensionAuthBlock"
|
|
2524
2563
|
},
|