@epilot/app-client 0.10.3 → 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 +7 -7
- package/dist/openapi.json +9 -6
- 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
|
@@ -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
|
}
|
|
@@ -2454,6 +2451,7 @@
|
|
|
2454
2451
|
}
|
|
2455
2452
|
},
|
|
2456
2453
|
"required": [
|
|
2454
|
+
"id",
|
|
2457
2455
|
"type",
|
|
2458
2456
|
"call"
|
|
2459
2457
|
],
|
|
@@ -2563,6 +2561,7 @@
|
|
|
2563
2561
|
}
|
|
2564
2562
|
},
|
|
2565
2563
|
"required": [
|
|
2564
|
+
"id",
|
|
2566
2565
|
"type",
|
|
2567
2566
|
"call"
|
|
2568
2567
|
],
|
|
@@ -2616,8 +2615,7 @@
|
|
|
2616
2615
|
"required": [
|
|
2617
2616
|
"url",
|
|
2618
2617
|
"headers",
|
|
2619
|
-
"body"
|
|
2620
|
-
"result"
|
|
2618
|
+
"body"
|
|
2621
2619
|
],
|
|
2622
2620
|
"additionalProperties": false
|
|
2623
2621
|
},
|
|
@@ -2650,8 +2648,10 @@
|
|
|
2650
2648
|
}
|
|
2651
2649
|
},
|
|
2652
2650
|
"required": [
|
|
2651
|
+
"id",
|
|
2653
2652
|
"type",
|
|
2654
|
-
"call"
|
|
2653
|
+
"call",
|
|
2654
|
+
"resolved"
|
|
2655
2655
|
],
|
|
2656
2656
|
"additionalProperties": false
|
|
2657
2657
|
},
|
|
@@ -2748,6 +2748,7 @@
|
|
|
2748
2748
|
}
|
|
2749
2749
|
},
|
|
2750
2750
|
"required": [
|
|
2751
|
+
"id",
|
|
2751
2752
|
"type",
|
|
2752
2753
|
"call"
|
|
2753
2754
|
],
|
|
@@ -2846,6 +2847,7 @@
|
|
|
2846
2847
|
}
|
|
2847
2848
|
},
|
|
2848
2849
|
"required": [
|
|
2850
|
+
"id",
|
|
2849
2851
|
"type",
|
|
2850
2852
|
"call"
|
|
2851
2853
|
],
|
|
@@ -2944,6 +2946,7 @@
|
|
|
2944
2946
|
}
|
|
2945
2947
|
},
|
|
2946
2948
|
"required": [
|
|
2949
|
+
"id",
|
|
2947
2950
|
"type",
|
|
2948
2951
|
"call"
|
|
2949
2952
|
],
|