@epilot/app-client 0.10.2 → 0.10.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/definition.js +1 -1
- package/dist/openapi.d.ts +9 -9
- package/dist/openapi.json +11 -10
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
1
|
+
(()=>{"use strict";var e={330:function(e,r,t){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var o=n(t(466));r.default=o.default},466:e=>{e.exports=JSON.parse('{"openapi":"3.1.0","info":{"title":"","version":""},"servers":[{"url":"https://app.sls.epilot.io"}],"paths":{"/v1/public/app/{appId}/components/{componentId}":{"parameters":[{"name":"appId","in":"path","required":true,"description":"ID of the app configuration to install"},{"name":"componentId","in":"path","required":true,"description":"ID of the component to retrieve"}],"get":{"operationId":"getPublicFacingComponent","responses":{}}},"/v1/app-configurations":{"get":{"operationId":"listConfigurations","parameters":[{"name":"page","in":"query"},{"name":"pageSize","in":"query"}],"responses":{}},"post":{"operationId":"createConfiguration","requestBody":{"$ref":"#/components/requestBodies/CreateConfigRequest"},"responses":{}}},"/v1/app-configurations/public/{appId}":{"parameters":[{"name":"appId","in":"path","required":true,"description":"ID of the app configuration to install"}],"get":{"operationId":"getPublicConfiguration","parameters":[{"name":"version","in":"query"}],"responses":{}}},"/v1/app-configurations/{appId}":{"parameters":[{"name":"appId","in":"path","required":true,"description":"ID of the app configuration"}],"get":{"operationId":"getConfiguration","parameters":[{"name":"version","in":"query"}],"responses":{}},"patch":{"operationId":"patchMetadata","requestBody":{"$ref":"#/components/requestBodies/PatchConfigMetadataRequest"},"responses":{}},"delete":{"operationId":"deleteConfiguration","responses":{}}},"/v1/app-configurations/{appId}/events":{"post":{"operationId":"queryEvents","parameters":[{"name":"appId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/app-configurations/{appId}/bundle":{"post":{"operationId":"createBundleUploadUrl","parameters":[{"name":"appId","in":"path","required":true}],"requestBody":{"$ref":"#/components/requestBodies/CreateBundlePresignedRequest"},"responses":{}}},"/v1/app-configurations/{appId}/zip":{"post":{"operationId":"createZipUploadUrl","parameters":[{"name":"appId","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/app-configurations/{appId}/logo":{"parameters":[{"name":"appId","in":"path","required":true,"description":"ID of the app configuration"}],"post":{"operationId":"createLogoUploadUrl","requestBody":{"$ref":"#/components/requestBodies/CreateLogoPresignedRequest"},"responses":{}},"delete":{"operationId":"deleteLogo","responses":{}}},"/v1/app-configurations/{appId}/versions":{"get":{"operationId":"listVersions","parameters":[{"name":"appId","in":"path","required":true},{"name":"page","in":"query"},{"name":"pageSize","in":"query"}],"responses":{}}},"/v1/app-configurations/{appId}/versions/{version}":{"get":{"operationId":"getVersion","parameters":[{"name":"appId","in":"path","required":true},{"name":"version","in":"path","required":true}],"responses":{}},"delete":{"operationId":"deleteVersion","parameters":[{"name":"appId","in":"path","required":true},{"name":"version","in":"path","required":true}],"responses":{}},"patch":{"operationId":"patchVersion","parameters":[{"name":"appId","in":"path","required":true},{"name":"version","in":"path","required":true}],"requestBody":{"$ref":"#/components/requestBodies/PatchVersionRequest"},"responses":{}}},"/v1/app-configurations/{appId}/versions/{version}/review":{"get":{"operationId":"getReview","parameters":[{"name":"appId","in":"path","required":true},{"name":"version","in":"path","required":true}],"responses":{}},"post":{"operationId":"createReview","parameters":[{"name":"appId","in":"path","required":true},{"name":"version","in":"path","required":true}],"requestBody":{"$ref":"#/components/requestBodies/CreateReviewRequest"},"responses":{}}},"/v1/app-configurations/{appId}/versions/{version}/components":{"post":{"operationId":"createComponent","parameters":[{"name":"appId","in":"path","required":true},{"name":"version","in":"path","required":true}],"requestBody":{"$ref":"#/components/requestBodies/UpsertComponentRequest"},"responses":{}}},"/v1/app-configurations/{appId}/versions/{version}/components/{componentId}":{"patch":{"operationId":"patchComponent","parameters":[{"name":"appId","in":"path","required":true},{"name":"version","in":"path","required":true},{"name":"componentId","in":"path","required":true}],"requestBody":{"$ref":"#/components/requestBodies/UpsertComponentRequest"},"responses":{}},"delete":{"operationId":"deleteComponent","parameters":[{"name":"appId","in":"path","required":true},{"name":"version","in":"path","required":true},{"name":"componentId","in":"path","required":true}],"responses":{}}},"/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}":{"post":{"operationId":"cloneVersion","parameters":[{"name":"appId","in":"path","required":true},{"name":"sourceVersion","in":"path","required":true},{"name":"targetVersion","in":"path","required":true}],"responses":{}}},"/v1/app":{"get":{"operationId":"listInstallations","parameters":[{"name":"componentType","in":"query"},{"name":"enabled","in":"query"},{"name":"page","in":"query"},{"name":"pageSize","in":"query"}],"responses":{}}},"/v1/app/{appId}":{"get":{"operationId":"getInstallation","parameters":[{"name":"appId","in":"path","required":true}],"responses":{}},"post":{"operationId":"install","parameters":[{"name":"appId","in":"path","required":true}],"requestBody":{"$ref":"#/components/requestBodies/InstallRequest"},"responses":{}},"patch":{"operationId":"patchInstallation","parameters":[{"name":"appId","in":"path","required":true}],"requestBody":{"$ref":"#/components/requestBodies/InstallRequest"},"responses":{}},"delete":{"operationId":"uninstall","parameters":[{"name":"appId","in":"path","required":true}],"responses":{}}},"/v1/app/{appId}/promote-to/{version}":{"post":{"operationId":"promoteVersion","parameters":[{"name":"appId","in":"path","required":true},{"name":"version","in":"path","required":true}],"responses":{}}},"/v1/app-events":{"post":{"operationId":"ingestEvent","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}}},"components":{"requestBodies":{"CreateReviewRequest":{"required":true,"content":{"application/json":{}}},"CreateLogoPresignedRequest":{"required":true,"content":{"application/json":{}}},"CreateBundlePresignedRequest":{"required":true,"content":{"application/json":{}}},"PatchConfigMetadataRequest":{"required":true,"content":{"application/json":{}}},"PatchVersionRequest":{"required":true,"content":{"application/json":{}}},"UpsertComponentRequest":{"required":true,"content":{"application/json":{}}},"CreateConfigRequest":{"required":true,"content":{"application/json":{}}},"InstallRequest":{"content":{"application/json":{}}}}}}')}},r={},t=function t(n){var o=r[n];if(void 0!==o)return o.exports;var p=r[n]={exports:{}};return e[n].call(p.exports,p,p.exports,t),p.exports}(330),n=exports;for(var o in t)n[o]=t[o];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -1019,7 +1019,7 @@ declare namespace Components {
|
|
|
1019
1019
|
* Identifier of the hook. Should not change between updates.
|
|
1020
1020
|
*/
|
|
1021
1021
|
id: string; // ^[a-zA-Z0-9_-]+$
|
|
1022
|
-
name
|
|
1022
|
+
name?: TranslatedString;
|
|
1023
1023
|
type: "products";
|
|
1024
1024
|
auth?: ExternalProductCatalogAuthBlock;
|
|
1025
1025
|
call: {
|
|
@@ -1060,7 +1060,7 @@ declare namespace Components {
|
|
|
1060
1060
|
* Identifier of the hook. Should not change between updates.
|
|
1061
1061
|
*/
|
|
1062
1062
|
id: string; // ^[a-zA-Z0-9_-]+$
|
|
1063
|
-
name
|
|
1063
|
+
name?: TranslatedString;
|
|
1064
1064
|
type: "products-recommendation";
|
|
1065
1065
|
auth?: ExternalProductCatalogAuthBlock;
|
|
1066
1066
|
call: {
|
|
@@ -1437,7 +1437,7 @@ declare namespace Components {
|
|
|
1437
1437
|
/**
|
|
1438
1438
|
* Identifier of the hook. Should not change between updates.
|
|
1439
1439
|
*/
|
|
1440
|
-
id
|
|
1440
|
+
id: string; // ^[a-zA-Z0-9_-]+$
|
|
1441
1441
|
name?: TranslatedString;
|
|
1442
1442
|
type: "consumptionDataRetrieval";
|
|
1443
1443
|
/**
|
|
@@ -1502,7 +1502,7 @@ declare namespace Components {
|
|
|
1502
1502
|
/**
|
|
1503
1503
|
* Identifier of the hook. Should not change between updates.
|
|
1504
1504
|
*/
|
|
1505
|
-
id
|
|
1505
|
+
id: string; // ^[a-zA-Z0-9_-]+$
|
|
1506
1506
|
name?: TranslatedString;
|
|
1507
1507
|
type: "contractIdentification";
|
|
1508
1508
|
auth?: PortalExtensionAuthBlock;
|
|
@@ -1574,7 +1574,7 @@ declare namespace Components {
|
|
|
1574
1574
|
/**
|
|
1575
1575
|
* Identifier of the hook. Should not change between updates.
|
|
1576
1576
|
*/
|
|
1577
|
-
id
|
|
1577
|
+
id: string; // ^[a-zA-Z0-9_-]+$
|
|
1578
1578
|
name?: TranslatedString;
|
|
1579
1579
|
type: "costDataRetrieval";
|
|
1580
1580
|
/**
|
|
@@ -1634,7 +1634,7 @@ declare namespace Components {
|
|
|
1634
1634
|
/**
|
|
1635
1635
|
* Identifier of the hook. Should not change between updates.
|
|
1636
1636
|
*/
|
|
1637
|
-
id
|
|
1637
|
+
id: string; // ^[a-zA-Z0-9_-]+$
|
|
1638
1638
|
name?: TranslatedString;
|
|
1639
1639
|
type: "meterReadingPlausibilityCheck";
|
|
1640
1640
|
auth?: PortalExtensionAuthBlock;
|
|
@@ -1659,7 +1659,7 @@ declare namespace Components {
|
|
|
1659
1659
|
/**
|
|
1660
1660
|
* Response to the call
|
|
1661
1661
|
*/
|
|
1662
|
-
resolved
|
|
1662
|
+
resolved: {
|
|
1663
1663
|
/**
|
|
1664
1664
|
* Indicate whether the meter reading is plausible
|
|
1665
1665
|
* example:
|
|
@@ -1693,7 +1693,7 @@ declare namespace Components {
|
|
|
1693
1693
|
/**
|
|
1694
1694
|
* Identifier of the hook. Should not change between updates.
|
|
1695
1695
|
*/
|
|
1696
|
-
id
|
|
1696
|
+
id: string; // ^[a-zA-Z0-9_-]+$
|
|
1697
1697
|
name?: TranslatedString;
|
|
1698
1698
|
type: "priceDataRetrieval";
|
|
1699
1699
|
/**
|
|
@@ -1750,7 +1750,7 @@ declare namespace Components {
|
|
|
1750
1750
|
/**
|
|
1751
1751
|
* Identifier of the hook. Should not change between updates.
|
|
1752
1752
|
*/
|
|
1753
|
-
id
|
|
1753
|
+
id: string; // ^[a-zA-Z0-9_-]+$
|
|
1754
1754
|
name?: TranslatedString;
|
|
1755
1755
|
type: "registrationIdentifiersCheck";
|
|
1756
1756
|
auth?: PortalExtensionAuthBlock;
|
package/dist/openapi.json
CHANGED
|
@@ -20,9 +20,6 @@
|
|
|
20
20
|
}
|
|
21
21
|
],
|
|
22
22
|
"servers": [
|
|
23
|
-
{
|
|
24
|
-
"url": "https://app.sls.epilot.io"
|
|
25
|
-
},
|
|
26
23
|
{
|
|
27
24
|
"url": "https://app.sls.epilot.io"
|
|
28
25
|
}
|
|
@@ -2236,8 +2233,7 @@
|
|
|
2236
2233
|
"required": [
|
|
2237
2234
|
"type",
|
|
2238
2235
|
"call",
|
|
2239
|
-
"id"
|
|
2240
|
-
"name"
|
|
2236
|
+
"id"
|
|
2241
2237
|
],
|
|
2242
2238
|
"additionalProperties": false
|
|
2243
2239
|
},
|
|
@@ -2308,8 +2304,7 @@
|
|
|
2308
2304
|
"required": [
|
|
2309
2305
|
"type",
|
|
2310
2306
|
"call",
|
|
2311
|
-
"id"
|
|
2312
|
-
"name"
|
|
2307
|
+
"id"
|
|
2313
2308
|
],
|
|
2314
2309
|
"additionalProperties": false
|
|
2315
2310
|
},
|
|
@@ -2456,6 +2451,7 @@
|
|
|
2456
2451
|
}
|
|
2457
2452
|
},
|
|
2458
2453
|
"required": [
|
|
2454
|
+
"id",
|
|
2459
2455
|
"type",
|
|
2460
2456
|
"call"
|
|
2461
2457
|
],
|
|
@@ -2565,6 +2561,7 @@
|
|
|
2565
2561
|
}
|
|
2566
2562
|
},
|
|
2567
2563
|
"required": [
|
|
2564
|
+
"id",
|
|
2568
2565
|
"type",
|
|
2569
2566
|
"call"
|
|
2570
2567
|
],
|
|
@@ -2618,8 +2615,7 @@
|
|
|
2618
2615
|
"required": [
|
|
2619
2616
|
"url",
|
|
2620
2617
|
"headers",
|
|
2621
|
-
"body"
|
|
2622
|
-
"result"
|
|
2618
|
+
"body"
|
|
2623
2619
|
],
|
|
2624
2620
|
"additionalProperties": false
|
|
2625
2621
|
},
|
|
@@ -2652,8 +2648,10 @@
|
|
|
2652
2648
|
}
|
|
2653
2649
|
},
|
|
2654
2650
|
"required": [
|
|
2651
|
+
"id",
|
|
2655
2652
|
"type",
|
|
2656
|
-
"call"
|
|
2653
|
+
"call",
|
|
2654
|
+
"resolved"
|
|
2657
2655
|
],
|
|
2658
2656
|
"additionalProperties": false
|
|
2659
2657
|
},
|
|
@@ -2750,6 +2748,7 @@
|
|
|
2750
2748
|
}
|
|
2751
2749
|
},
|
|
2752
2750
|
"required": [
|
|
2751
|
+
"id",
|
|
2753
2752
|
"type",
|
|
2754
2753
|
"call"
|
|
2755
2754
|
],
|
|
@@ -2848,6 +2847,7 @@
|
|
|
2848
2847
|
}
|
|
2849
2848
|
},
|
|
2850
2849
|
"required": [
|
|
2850
|
+
"id",
|
|
2851
2851
|
"type",
|
|
2852
2852
|
"call"
|
|
2853
2853
|
],
|
|
@@ -2946,6 +2946,7 @@
|
|
|
2946
2946
|
}
|
|
2947
2947
|
},
|
|
2948
2948
|
"required": [
|
|
2949
|
+
"id",
|
|
2949
2950
|
"type",
|
|
2950
2951
|
"call"
|
|
2951
2952
|
],
|