@epilot/app-client 0.0.18 → 0.0.19
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-runtime.json +13 -0
- package/dist/openapi.d.ts +46 -0
- package/dist/openapi.json +57 -0
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={187:function(e,r,t){var p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var
|
|
1
|
+
(()=>{"use strict";var e={187:function(e,r,t){var p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var a=p(t(466));r.default=a.default},466:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"servers":[{"url":"https://app.sls.epilot.io"}],"paths":{"/v1/app-configurations":{"get":{"operationId":"listAppConfigurations","parameters":[{"name":"page","in":"query"},{"name":"pageSize","in":"query"}],"responses":{}},"post":{"operationId":"createAppConfiguration","requestBody":{"$ref":"#/components/requestBodies/CreateConfigRequest"},"responses":{}}},"/v1/app-configurations/{appId}":{"parameters":[{"name":"appId","in":"path","required":true,"description":"ID of the app configuration"}],"get":{"operationId":"getAppConfiguration","parameters":[{"name":"version","in":"query"}],"responses":{}},"patch":{"operationId":"patchConfigurationMetadata","requestBody":{"$ref":"#/components/requestBodies/PatchConfigMetadataRequest"},"responses":{}},"put":{"operationId":"updateAppConfigurationMetadata","requestBody":{"$ref":"#/components/requestBodies/UpdateConfigMetadataRequest"},"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/CreateLogoRequest"},"responses":{}},"delete":{"operationId":"deleteLogo","responses":{}}},"/v1/app-configurations/{appId}/versions":{"get":{"operationId":"listAppVersions","parameters":[{"name":"appId","in":"path","required":true},{"name":"page","in":"query"},{"name":"pageSize","in":"query"}],"responses":{}}},"/v1/app-configurations/{appId}/versions/{version}":{"get":{"operationId":"getAppConfigurationVersion","parameters":[{"name":"appId","in":"path","required":true},{"name":"version","in":"path","required":true}],"responses":{}},"delete":{"operationId":"deleteAppVersion","parameters":[{"name":"appId","in":"path","required":true},{"name":"version","in":"path","required":true}],"responses":{}},"put":{"operationId":"updateAppVersion","parameters":[{"name":"appId","in":"path","required":true},{"name":"version","in":"path","required":true}],"requestBody":{"$ref":"#/components/requestBodies/UpdateVersionRequest"},"responses":{}}},"/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}":{"post":{"operationId":"cloneAppVersion","parameters":[{"name":"appId","in":"path","required":true},{"name":"sourceVersion","in":"path","required":true},{"name":"targetVersion","in":"path","required":true}],"responses":{}}},"/v1/app":{"get":{"operationId":"listInstalledApps","parameters":[{"name":"componentType","in":"query"},{"name":"enabled","in":"query"},{"name":"page","in":"query"},{"name":"pageSize","in":"query"}],"responses":{}}},"/v1/app/{appId}":{"get":{"operationId":"getInstalledApp","parameters":[{"name":"appId","in":"path","required":true}],"responses":{}},"put":{"operationId":"installApp","parameters":[{"name":"appId","in":"path","required":true}],"requestBody":{"$ref":"#/components/requestBodies/InstallAppRequest"},"responses":{}},"delete":{"operationId":"uninstallApp","parameters":[{"name":"appId","in":"path","required":true}],"responses":{}}},"/v1/app/{appId}/promote-to/{version}":{"post":{"operationId":"promoteAppVersion","parameters":[{"name":"appId","in":"path","required":true},{"name":"version","in":"path","required":true}],"responses":{}}}},"components":{"requestBodies":{"CreateLogoRequest":{"required":true,"content":{"application/json":{}}},"PatchConfigMetadataRequest":{"required":true,"content":{"application/json":{}}},"UpdateConfigMetadataRequest":{"required":true,"content":{"application/json":{}}},"UpdateVersionRequest":{"required":true,"content":{"application/json":{}}},"CreateConfigRequest":{"required":true,"content":{"application/json":{}}},"InstallAppRequest":{"content":{"application/json":{}}}}}}')}},r={},t=function t(p){var a=r[p];if(void 0!==a)return a.exports;var n=r[p]={exports:{}};return e[p].call(n.exports,n,n.exports,t),n.exports}(187),p=exports;for(var a in t)p[a]=t[a];t.__esModule&&Object.defineProperty(p,"__esModule",{value:!0})})();
|
|
@@ -52,6 +52,13 @@
|
|
|
52
52
|
],
|
|
53
53
|
"responses": {}
|
|
54
54
|
},
|
|
55
|
+
"patch": {
|
|
56
|
+
"operationId": "patchConfigurationMetadata",
|
|
57
|
+
"requestBody": {
|
|
58
|
+
"$ref": "#/components/requestBodies/PatchConfigMetadataRequest"
|
|
59
|
+
},
|
|
60
|
+
"responses": {}
|
|
61
|
+
},
|
|
55
62
|
"put": {
|
|
56
63
|
"operationId": "updateAppConfigurationMetadata",
|
|
57
64
|
"requestBody": {
|
|
@@ -267,6 +274,12 @@
|
|
|
267
274
|
"application/json": {}
|
|
268
275
|
}
|
|
269
276
|
},
|
|
277
|
+
"PatchConfigMetadataRequest": {
|
|
278
|
+
"required": true,
|
|
279
|
+
"content": {
|
|
280
|
+
"application/json": {}
|
|
281
|
+
}
|
|
282
|
+
},
|
|
270
283
|
"UpdateConfigMetadataRequest": {
|
|
271
284
|
"required": true,
|
|
272
285
|
"content": {
|
package/dist/openapi.d.ts
CHANGED
|
@@ -39,6 +39,23 @@ declare namespace Components {
|
|
|
39
39
|
*/
|
|
40
40
|
option_values?: Schemas.OptionsRef[];
|
|
41
41
|
}
|
|
42
|
+
export interface PatchConfigMetadataRequest {
|
|
43
|
+
name?: Schemas.TranslatedString;
|
|
44
|
+
description?: Schemas.TranslatedString;
|
|
45
|
+
category?: string;
|
|
46
|
+
documentation_url?: string;
|
|
47
|
+
homepage_url?: string;
|
|
48
|
+
notifications?: Schemas.NotificationConfig;
|
|
49
|
+
pricing?: Schemas.Pricing;
|
|
50
|
+
/**
|
|
51
|
+
* S3 key of the logo file
|
|
52
|
+
*/
|
|
53
|
+
logo_url_key?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Email address for support requests
|
|
56
|
+
*/
|
|
57
|
+
support_email?: string;
|
|
58
|
+
}
|
|
42
59
|
export interface UpdateConfigMetadataRequest {
|
|
43
60
|
name: Schemas.TranslatedString;
|
|
44
61
|
description: Schemas.TranslatedString;
|
|
@@ -849,6 +866,15 @@ declare namespace Paths {
|
|
|
849
866
|
}
|
|
850
867
|
}
|
|
851
868
|
}
|
|
869
|
+
namespace PatchConfigurationMetadata {
|
|
870
|
+
export type RequestBody = Components.RequestBodies.PatchConfigMetadataRequest;
|
|
871
|
+
namespace Responses {
|
|
872
|
+
export interface $204 {
|
|
873
|
+
}
|
|
874
|
+
export interface $404 {
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
}
|
|
852
878
|
namespace PromoteAppVersion {
|
|
853
879
|
namespace Parameters {
|
|
854
880
|
export type AppId = string;
|
|
@@ -967,6 +993,16 @@ export interface OperationMethods {
|
|
|
967
993
|
data?: Paths.UpdateAppConfigurationMetadata.RequestBody,
|
|
968
994
|
config?: AxiosRequestConfig
|
|
969
995
|
): OperationResponse<Paths.UpdateAppConfigurationMetadata.Responses.$204>
|
|
996
|
+
/**
|
|
997
|
+
* patchConfigurationMetadata - patchConfigurationMetadata
|
|
998
|
+
*
|
|
999
|
+
* Patch non-versioned configuration metadata of a given app configuration.
|
|
1000
|
+
*/
|
|
1001
|
+
'patchConfigurationMetadata'(
|
|
1002
|
+
parameters?: Parameters<Paths.V1AppConfigurations$AppId.PathParameters> | null,
|
|
1003
|
+
data?: Paths.PatchConfigurationMetadata.RequestBody,
|
|
1004
|
+
config?: AxiosRequestConfig
|
|
1005
|
+
): OperationResponse<Paths.PatchConfigurationMetadata.Responses.$204>
|
|
970
1006
|
/**
|
|
971
1007
|
* createLogoUploadUrl - createLogoUploadUrl
|
|
972
1008
|
*
|
|
@@ -1123,6 +1159,16 @@ export interface PathsDictionary {
|
|
|
1123
1159
|
data?: any,
|
|
1124
1160
|
config?: AxiosRequestConfig
|
|
1125
1161
|
): OperationResponse<Paths.GetAppConfiguration.Responses.$200>
|
|
1162
|
+
/**
|
|
1163
|
+
* patchConfigurationMetadata - patchConfigurationMetadata
|
|
1164
|
+
*
|
|
1165
|
+
* Patch non-versioned configuration metadata of a given app configuration.
|
|
1166
|
+
*/
|
|
1167
|
+
'patch'(
|
|
1168
|
+
parameters?: Parameters<Paths.V1AppConfigurations$AppId.PathParameters> | null,
|
|
1169
|
+
data?: Paths.PatchConfigurationMetadata.RequestBody,
|
|
1170
|
+
config?: AxiosRequestConfig
|
|
1171
|
+
): OperationResponse<Paths.PatchConfigurationMetadata.Responses.$204>
|
|
1126
1172
|
/**
|
|
1127
1173
|
* updateAppConfigurationMetadata - updateAppConfigurationMetadata
|
|
1128
1174
|
*
|
package/dist/openapi.json
CHANGED
|
@@ -153,6 +153,22 @@
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
},
|
|
156
|
+
"patch": {
|
|
157
|
+
"summary": "patchConfigurationMetadata",
|
|
158
|
+
"description": "Patch non-versioned configuration metadata of a given app configuration.",
|
|
159
|
+
"operationId": "patchConfigurationMetadata",
|
|
160
|
+
"requestBody": {
|
|
161
|
+
"$ref": "#/components/requestBodies/PatchConfigMetadataRequest"
|
|
162
|
+
},
|
|
163
|
+
"responses": {
|
|
164
|
+
"204": {
|
|
165
|
+
"description": "Configuration patched successfully"
|
|
166
|
+
},
|
|
167
|
+
"404": {
|
|
168
|
+
"description": "App configuration not found"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
156
172
|
"put": {
|
|
157
173
|
"summary": "updateAppConfigurationMetadata",
|
|
158
174
|
"description": "Update non-versioned configuration metadata of a given app configuration.",
|
|
@@ -731,6 +747,47 @@
|
|
|
731
747
|
}
|
|
732
748
|
}
|
|
733
749
|
},
|
|
750
|
+
"PatchConfigMetadataRequest": {
|
|
751
|
+
"required": true,
|
|
752
|
+
"content": {
|
|
753
|
+
"application/json": {
|
|
754
|
+
"schema": {
|
|
755
|
+
"type": "object",
|
|
756
|
+
"properties": {
|
|
757
|
+
"name": {
|
|
758
|
+
"$ref": "#/components/schemas/TranslatedString"
|
|
759
|
+
},
|
|
760
|
+
"description": {
|
|
761
|
+
"$ref": "#/components/schemas/TranslatedString"
|
|
762
|
+
},
|
|
763
|
+
"category": {
|
|
764
|
+
"type": "string"
|
|
765
|
+
},
|
|
766
|
+
"documentation_url": {
|
|
767
|
+
"type": "string"
|
|
768
|
+
},
|
|
769
|
+
"homepage_url": {
|
|
770
|
+
"type": "string"
|
|
771
|
+
},
|
|
772
|
+
"notifications": {
|
|
773
|
+
"$ref": "#/components/schemas/NotificationConfig"
|
|
774
|
+
},
|
|
775
|
+
"pricing": {
|
|
776
|
+
"$ref": "#/components/schemas/Pricing"
|
|
777
|
+
},
|
|
778
|
+
"logo_url_key": {
|
|
779
|
+
"type": "string",
|
|
780
|
+
"description": "S3 key of the logo file"
|
|
781
|
+
},
|
|
782
|
+
"support_email": {
|
|
783
|
+
"type": "string",
|
|
784
|
+
"description": "Email address for support requests"
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
},
|
|
734
791
|
"UpdateConfigMetadataRequest": {
|
|
735
792
|
"required": true,
|
|
736
793
|
"content": {
|