@epilot/app-client 0.0.12 → 0.0.14
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 +40 -2
- package/dist/openapi.d.ts +93 -14
- package/dist/openapi.json +121 -6
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={187:function(e,r,
|
|
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 n=p(t(466));r.default=n.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"},{"name":"version","in":"query","description":"Version of the app configuration to retrieve. Defaults to latest"}],"get":{"operationId":"getAppConfiguration","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","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":{"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 n=r[p];if(void 0!==n)return n.exports;var a=r[p]={exports:{}};return e[p].call(a.exports,a,a.exports,t),a.exports}(187),p=exports;for(var n in t)p[n]=t[n];t.__esModule&&Object.defineProperty(p,"__esModule",{value:!0})})();
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"post": {
|
|
29
29
|
"operationId": "createAppConfiguration",
|
|
30
30
|
"requestBody": {
|
|
31
|
-
"$ref": "#/components/requestBodies/
|
|
31
|
+
"$ref": "#/components/requestBodies/CreateConfigRequest"
|
|
32
32
|
},
|
|
33
33
|
"responses": {}
|
|
34
34
|
}
|
|
@@ -50,6 +50,13 @@
|
|
|
50
50
|
"get": {
|
|
51
51
|
"operationId": "getAppConfiguration",
|
|
52
52
|
"responses": {}
|
|
53
|
+
},
|
|
54
|
+
"put": {
|
|
55
|
+
"operationId": "updateAppConfigurationMetadata",
|
|
56
|
+
"requestBody": {
|
|
57
|
+
"$ref": "#/components/requestBodies/UpdateConfigMetadataRequest"
|
|
58
|
+
},
|
|
59
|
+
"responses": {}
|
|
53
60
|
}
|
|
54
61
|
},
|
|
55
62
|
"/v1/app-configurations/{appId}/logo": {
|
|
@@ -123,6 +130,25 @@
|
|
|
123
130
|
}
|
|
124
131
|
],
|
|
125
132
|
"responses": {}
|
|
133
|
+
},
|
|
134
|
+
"put": {
|
|
135
|
+
"operationId": "updateAppVersion",
|
|
136
|
+
"parameters": [
|
|
137
|
+
{
|
|
138
|
+
"name": "appId",
|
|
139
|
+
"in": "path",
|
|
140
|
+
"required": true
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "version",
|
|
144
|
+
"in": "path",
|
|
145
|
+
"required": true
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"requestBody": {
|
|
149
|
+
"$ref": "#/components/requestBodies/UpdateVersionRequest"
|
|
150
|
+
},
|
|
151
|
+
"responses": {}
|
|
126
152
|
}
|
|
127
153
|
},
|
|
128
154
|
"/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}": {
|
|
@@ -231,7 +257,19 @@
|
|
|
231
257
|
},
|
|
232
258
|
"components": {
|
|
233
259
|
"requestBodies": {
|
|
234
|
-
"
|
|
260
|
+
"UpdateConfigMetadataRequest": {
|
|
261
|
+
"required": true,
|
|
262
|
+
"content": {
|
|
263
|
+
"application/json": {}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"UpdateVersionRequest": {
|
|
267
|
+
"required": true,
|
|
268
|
+
"content": {
|
|
269
|
+
"application/json": {}
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
"CreateConfigRequest": {
|
|
235
273
|
"required": true,
|
|
236
274
|
"content": {
|
|
237
275
|
"application/json": {}
|
package/dist/openapi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import type {
|
|
|
10
10
|
|
|
11
11
|
declare namespace Components {
|
|
12
12
|
namespace RequestBodies {
|
|
13
|
-
export interface
|
|
13
|
+
export interface CreateConfigRequest {
|
|
14
14
|
name: Schemas.TranslatedString;
|
|
15
15
|
description: Schemas.TranslatedString;
|
|
16
16
|
category?: string;
|
|
@@ -21,6 +21,20 @@ declare namespace Components {
|
|
|
21
21
|
*/
|
|
22
22
|
option_values?: Schemas.OptionsRef[];
|
|
23
23
|
}
|
|
24
|
+
export interface UpdateConfigMetadataRequest {
|
|
25
|
+
name: Schemas.TranslatedString;
|
|
26
|
+
description: Schemas.TranslatedString;
|
|
27
|
+
category?: string;
|
|
28
|
+
documentation_url?: string;
|
|
29
|
+
homepage_url?: string;
|
|
30
|
+
notifications?: Schemas.NotificationConfig;
|
|
31
|
+
}
|
|
32
|
+
export interface UpdateVersionRequest {
|
|
33
|
+
/**
|
|
34
|
+
* Updated full list of app components
|
|
35
|
+
*/
|
|
36
|
+
components: Schemas.BaseComponent[];
|
|
37
|
+
}
|
|
24
38
|
}
|
|
25
39
|
namespace Schemas {
|
|
26
40
|
/**
|
|
@@ -28,7 +42,7 @@ declare namespace Components {
|
|
|
28
42
|
*/
|
|
29
43
|
export interface App {
|
|
30
44
|
app_id?: string;
|
|
31
|
-
name
|
|
45
|
+
name: TranslatedString;
|
|
32
46
|
author?: Author;
|
|
33
47
|
/**
|
|
34
48
|
* List of available versions of the app
|
|
@@ -54,7 +68,7 @@ declare namespace Components {
|
|
|
54
68
|
* URL of the app homepage.
|
|
55
69
|
*/
|
|
56
70
|
homepage_url?: string;
|
|
57
|
-
description
|
|
71
|
+
description: TranslatedString;
|
|
58
72
|
notifications?: NotificationConfig;
|
|
59
73
|
/**
|
|
60
74
|
* Organization ID of the app owner, required for private apps or sandbox accounts
|
|
@@ -135,7 +149,7 @@ declare namespace Components {
|
|
|
135
149
|
*/
|
|
136
150
|
export interface AppConfiguration {
|
|
137
151
|
app_id?: string;
|
|
138
|
-
name
|
|
152
|
+
name: TranslatedString;
|
|
139
153
|
author?: Author;
|
|
140
154
|
/**
|
|
141
155
|
* List of available versions of the app
|
|
@@ -161,7 +175,7 @@ declare namespace Components {
|
|
|
161
175
|
* URL of the app homepage.
|
|
162
176
|
*/
|
|
163
177
|
homepage_url?: string;
|
|
164
|
-
description
|
|
178
|
+
description: TranslatedString;
|
|
165
179
|
notifications?: NotificationConfig;
|
|
166
180
|
/**
|
|
167
181
|
* Organization ID of the app owner, required for private apps or sandbox accounts
|
|
@@ -212,7 +226,7 @@ declare namespace Components {
|
|
|
212
226
|
*/
|
|
213
227
|
export interface AppMetadata {
|
|
214
228
|
app_id?: string;
|
|
215
|
-
name
|
|
229
|
+
name: TranslatedString;
|
|
216
230
|
author?: Author;
|
|
217
231
|
/**
|
|
218
232
|
* List of available versions of the app
|
|
@@ -241,7 +255,7 @@ declare namespace Components {
|
|
|
241
255
|
/**
|
|
242
256
|
* Markdown description of the app.
|
|
243
257
|
*/
|
|
244
|
-
description
|
|
258
|
+
description: TranslatedString;
|
|
245
259
|
/**
|
|
246
260
|
* Configuration for developer notifications
|
|
247
261
|
*/
|
|
@@ -446,10 +460,7 @@ declare namespace Components {
|
|
|
446
460
|
/**
|
|
447
461
|
* List of events to subscribe to
|
|
448
462
|
*/
|
|
449
|
-
events
|
|
450
|
-
NotificationEvent,
|
|
451
|
-
...NotificationEvent[]
|
|
452
|
-
];
|
|
463
|
+
events?: NotificationEvent[];
|
|
453
464
|
}
|
|
454
465
|
export type NotificationEvent = "app.installed" | "app.uninstalled";
|
|
455
466
|
export interface Option {
|
|
@@ -562,7 +573,7 @@ declare namespace Components {
|
|
|
562
573
|
/**
|
|
563
574
|
* English translation
|
|
564
575
|
*/
|
|
565
|
-
en?: string;
|
|
576
|
+
en?: string | null;
|
|
566
577
|
/**
|
|
567
578
|
* German translation
|
|
568
579
|
*/
|
|
@@ -601,7 +612,7 @@ declare namespace Paths {
|
|
|
601
612
|
}
|
|
602
613
|
}
|
|
603
614
|
namespace CreateAppConfiguration {
|
|
604
|
-
export type RequestBody = Components.RequestBodies.
|
|
615
|
+
export type RequestBody = Components.RequestBodies.CreateConfigRequest;
|
|
605
616
|
namespace Responses {
|
|
606
617
|
export interface $202 {
|
|
607
618
|
app_id: string;
|
|
@@ -737,7 +748,7 @@ declare namespace Paths {
|
|
|
737
748
|
}
|
|
738
749
|
namespace Responses {
|
|
739
750
|
export interface $200 {
|
|
740
|
-
versions?:
|
|
751
|
+
versions?: /* Configuration data about your app which is versionable */ Components.Schemas.AppVersioned[];
|
|
741
752
|
pagination?: {
|
|
742
753
|
total?: number;
|
|
743
754
|
page?: number;
|
|
@@ -801,6 +812,34 @@ declare namespace Paths {
|
|
|
801
812
|
}
|
|
802
813
|
}
|
|
803
814
|
}
|
|
815
|
+
namespace UpdateAppConfigurationMetadata {
|
|
816
|
+
export type RequestBody = Components.RequestBodies.UpdateConfigMetadataRequest;
|
|
817
|
+
namespace Responses {
|
|
818
|
+
export interface $204 {
|
|
819
|
+
}
|
|
820
|
+
export interface $404 {
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
namespace UpdateAppVersion {
|
|
825
|
+
namespace Parameters {
|
|
826
|
+
export type AppId = string;
|
|
827
|
+
export type Version = string;
|
|
828
|
+
}
|
|
829
|
+
export interface PathParameters {
|
|
830
|
+
appId: Parameters.AppId;
|
|
831
|
+
version: Parameters.Version;
|
|
832
|
+
}
|
|
833
|
+
export type RequestBody = Components.RequestBodies.UpdateVersionRequest;
|
|
834
|
+
namespace Responses {
|
|
835
|
+
export interface $204 {
|
|
836
|
+
}
|
|
837
|
+
export interface $400 {
|
|
838
|
+
}
|
|
839
|
+
export interface $404 {
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
}
|
|
804
843
|
namespace V1AppConfigurations$AppId {
|
|
805
844
|
namespace Parameters {
|
|
806
845
|
export type AppId = string;
|
|
@@ -854,6 +893,16 @@ export interface OperationMethods {
|
|
|
854
893
|
data?: any,
|
|
855
894
|
config?: AxiosRequestConfig
|
|
856
895
|
): OperationResponse<Paths.GetAppConfiguration.Responses.$200>
|
|
896
|
+
/**
|
|
897
|
+
* updateAppConfigurationMetadata - updateAppConfigurationMetadata
|
|
898
|
+
*
|
|
899
|
+
* Update non-versioned configuration metadata of a given app configuration.
|
|
900
|
+
*/
|
|
901
|
+
'updateAppConfigurationMetadata'(
|
|
902
|
+
parameters?: Parameters<Paths.V1AppConfigurations$AppId.QueryParameters & Paths.V1AppConfigurations$AppId.PathParameters> | null,
|
|
903
|
+
data?: Paths.UpdateAppConfigurationMetadata.RequestBody,
|
|
904
|
+
config?: AxiosRequestConfig
|
|
905
|
+
): OperationResponse<Paths.UpdateAppConfigurationMetadata.Responses.$204>
|
|
857
906
|
/**
|
|
858
907
|
* createLogoUploadUrl - createLogoUploadUrl
|
|
859
908
|
*
|
|
@@ -894,6 +943,16 @@ export interface OperationMethods {
|
|
|
894
943
|
data?: any,
|
|
895
944
|
config?: AxiosRequestConfig
|
|
896
945
|
): OperationResponse<Paths.GetAppConfigurationVersion.Responses.$200>
|
|
946
|
+
/**
|
|
947
|
+
* updateAppVersion - updateAppVersion
|
|
948
|
+
*
|
|
949
|
+
* Update configuration data of a given app version
|
|
950
|
+
*/
|
|
951
|
+
'updateAppVersion'(
|
|
952
|
+
parameters?: Parameters<Paths.UpdateAppVersion.PathParameters> | null,
|
|
953
|
+
data?: Paths.UpdateAppVersion.RequestBody,
|
|
954
|
+
config?: AxiosRequestConfig
|
|
955
|
+
): OperationResponse<Paths.UpdateAppVersion.Responses.$204>
|
|
897
956
|
/**
|
|
898
957
|
* deleteAppVersion - deleteAppVersion
|
|
899
958
|
*
|
|
@@ -1000,6 +1059,16 @@ export interface PathsDictionary {
|
|
|
1000
1059
|
data?: any,
|
|
1001
1060
|
config?: AxiosRequestConfig
|
|
1002
1061
|
): OperationResponse<Paths.GetAppConfiguration.Responses.$200>
|
|
1062
|
+
/**
|
|
1063
|
+
* updateAppConfigurationMetadata - updateAppConfigurationMetadata
|
|
1064
|
+
*
|
|
1065
|
+
* Update non-versioned configuration metadata of a given app configuration.
|
|
1066
|
+
*/
|
|
1067
|
+
'put'(
|
|
1068
|
+
parameters?: Parameters<Paths.V1AppConfigurations$AppId.QueryParameters & Paths.V1AppConfigurations$AppId.PathParameters> | null,
|
|
1069
|
+
data?: Paths.UpdateAppConfigurationMetadata.RequestBody,
|
|
1070
|
+
config?: AxiosRequestConfig
|
|
1071
|
+
): OperationResponse<Paths.UpdateAppConfigurationMetadata.Responses.$204>
|
|
1003
1072
|
}
|
|
1004
1073
|
['/v1/app-configurations/{appId}/logo']: {
|
|
1005
1074
|
/**
|
|
@@ -1056,6 +1125,16 @@ export interface PathsDictionary {
|
|
|
1056
1125
|
data?: any,
|
|
1057
1126
|
config?: AxiosRequestConfig
|
|
1058
1127
|
): OperationResponse<Paths.DeleteAppVersion.Responses.$204>
|
|
1128
|
+
/**
|
|
1129
|
+
* updateAppVersion - updateAppVersion
|
|
1130
|
+
*
|
|
1131
|
+
* Update configuration data of a given app version
|
|
1132
|
+
*/
|
|
1133
|
+
'put'(
|
|
1134
|
+
parameters?: Parameters<Paths.UpdateAppVersion.PathParameters> | null,
|
|
1135
|
+
data?: Paths.UpdateAppVersion.RequestBody,
|
|
1136
|
+
config?: AxiosRequestConfig
|
|
1137
|
+
): OperationResponse<Paths.UpdateAppVersion.Responses.$204>
|
|
1059
1138
|
}
|
|
1060
1139
|
['/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}']: {
|
|
1061
1140
|
/**
|
package/dist/openapi.json
CHANGED
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"description": "Create a new private app configuration. To make it public a verification process needs to be triggered",
|
|
88
88
|
"operationId": "createAppConfiguration",
|
|
89
89
|
"requestBody": {
|
|
90
|
-
"$ref": "#/components/requestBodies/
|
|
90
|
+
"$ref": "#/components/requestBodies/CreateConfigRequest"
|
|
91
91
|
},
|
|
92
92
|
"responses": {
|
|
93
93
|
"202": {
|
|
@@ -150,6 +150,22 @@
|
|
|
150
150
|
"description": "App configuration not found"
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
+
},
|
|
154
|
+
"put": {
|
|
155
|
+
"summary": "updateAppConfigurationMetadata",
|
|
156
|
+
"description": "Update non-versioned configuration metadata of a given app configuration.",
|
|
157
|
+
"operationId": "updateAppConfigurationMetadata",
|
|
158
|
+
"requestBody": {
|
|
159
|
+
"$ref": "#/components/requestBodies/UpdateConfigMetadataRequest"
|
|
160
|
+
},
|
|
161
|
+
"responses": {
|
|
162
|
+
"204": {
|
|
163
|
+
"description": "Configuration updated successfully"
|
|
164
|
+
},
|
|
165
|
+
"404": {
|
|
166
|
+
"description": "App configuration not found"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
153
169
|
}
|
|
154
170
|
},
|
|
155
171
|
"/v1/app-configurations/{appId}/logo": {
|
|
@@ -257,7 +273,7 @@
|
|
|
257
273
|
"versions": {
|
|
258
274
|
"type": "array",
|
|
259
275
|
"items": {
|
|
260
|
-
"
|
|
276
|
+
"$ref": "#/components/schemas/AppVersioned"
|
|
261
277
|
}
|
|
262
278
|
},
|
|
263
279
|
"pagination": {
|
|
@@ -361,6 +377,45 @@
|
|
|
361
377
|
"description": "Version is in use by installations"
|
|
362
378
|
}
|
|
363
379
|
}
|
|
380
|
+
},
|
|
381
|
+
"put": {
|
|
382
|
+
"summary": "updateAppVersion",
|
|
383
|
+
"description": "Update configuration data of a given app version",
|
|
384
|
+
"operationId": "updateAppVersion",
|
|
385
|
+
"parameters": [
|
|
386
|
+
{
|
|
387
|
+
"name": "appId",
|
|
388
|
+
"in": "path",
|
|
389
|
+
"required": true,
|
|
390
|
+
"schema": {
|
|
391
|
+
"type": "string"
|
|
392
|
+
},
|
|
393
|
+
"description": "ID of the app configuration"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"name": "version",
|
|
397
|
+
"in": "path",
|
|
398
|
+
"required": true,
|
|
399
|
+
"schema": {
|
|
400
|
+
"type": "string"
|
|
401
|
+
},
|
|
402
|
+
"description": "Version to update"
|
|
403
|
+
}
|
|
404
|
+
],
|
|
405
|
+
"requestBody": {
|
|
406
|
+
"$ref": "#/components/requestBodies/UpdateVersionRequest"
|
|
407
|
+
},
|
|
408
|
+
"responses": {
|
|
409
|
+
"204": {
|
|
410
|
+
"description": "Version updated successfully"
|
|
411
|
+
},
|
|
412
|
+
"400": {
|
|
413
|
+
"description": "Invalid version format"
|
|
414
|
+
},
|
|
415
|
+
"404": {
|
|
416
|
+
"description": "Version not found"
|
|
417
|
+
}
|
|
418
|
+
}
|
|
364
419
|
}
|
|
365
420
|
},
|
|
366
421
|
"/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}": {
|
|
@@ -637,7 +692,63 @@
|
|
|
637
692
|
},
|
|
638
693
|
"components": {
|
|
639
694
|
"requestBodies": {
|
|
640
|
-
"
|
|
695
|
+
"UpdateConfigMetadataRequest": {
|
|
696
|
+
"required": true,
|
|
697
|
+
"content": {
|
|
698
|
+
"application/json": {
|
|
699
|
+
"schema": {
|
|
700
|
+
"type": "object",
|
|
701
|
+
"required": [
|
|
702
|
+
"name",
|
|
703
|
+
"description"
|
|
704
|
+
],
|
|
705
|
+
"properties": {
|
|
706
|
+
"name": {
|
|
707
|
+
"$ref": "#/components/schemas/TranslatedString"
|
|
708
|
+
},
|
|
709
|
+
"description": {
|
|
710
|
+
"$ref": "#/components/schemas/TranslatedString"
|
|
711
|
+
},
|
|
712
|
+
"category": {
|
|
713
|
+
"type": "string"
|
|
714
|
+
},
|
|
715
|
+
"documentation_url": {
|
|
716
|
+
"type": "string"
|
|
717
|
+
},
|
|
718
|
+
"homepage_url": {
|
|
719
|
+
"type": "string"
|
|
720
|
+
},
|
|
721
|
+
"notifications": {
|
|
722
|
+
"$ref": "#/components/schemas/NotificationConfig"
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
"UpdateVersionRequest": {
|
|
730
|
+
"required": true,
|
|
731
|
+
"content": {
|
|
732
|
+
"application/json": {
|
|
733
|
+
"schema": {
|
|
734
|
+
"type": "object",
|
|
735
|
+
"required": [
|
|
736
|
+
"components"
|
|
737
|
+
],
|
|
738
|
+
"properties": {
|
|
739
|
+
"components": {
|
|
740
|
+
"type": "array",
|
|
741
|
+
"items": {
|
|
742
|
+
"$ref": "#/components/schemas/BaseComponent"
|
|
743
|
+
},
|
|
744
|
+
"description": "Updated full list of app components"
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
"CreateConfigRequest": {
|
|
641
752
|
"required": true,
|
|
642
753
|
"content": {
|
|
643
754
|
"application/json": {
|
|
@@ -830,8 +941,7 @@
|
|
|
830
941
|
"NotificationConfig": {
|
|
831
942
|
"type": "object",
|
|
832
943
|
"required": [
|
|
833
|
-
"email"
|
|
834
|
-
"events"
|
|
944
|
+
"email"
|
|
835
945
|
],
|
|
836
946
|
"properties": {
|
|
837
947
|
"email": {
|
|
@@ -846,7 +956,7 @@
|
|
|
846
956
|
"items": {
|
|
847
957
|
"$ref": "#/components/schemas/NotificationEvent"
|
|
848
958
|
},
|
|
849
|
-
"minItems":
|
|
959
|
+
"minItems": 0
|
|
850
960
|
}
|
|
851
961
|
}
|
|
852
962
|
},
|
|
@@ -1227,6 +1337,10 @@
|
|
|
1227
1337
|
"AppMetadata": {
|
|
1228
1338
|
"description": "Basic metadata about your app configuration which does not get versioned",
|
|
1229
1339
|
"type": "object",
|
|
1340
|
+
"required": [
|
|
1341
|
+
"name",
|
|
1342
|
+
"description"
|
|
1343
|
+
],
|
|
1230
1344
|
"properties": {
|
|
1231
1345
|
"app_id": {
|
|
1232
1346
|
"type": "string",
|
|
@@ -1430,6 +1544,7 @@
|
|
|
1430
1544
|
"properties": {
|
|
1431
1545
|
"en": {
|
|
1432
1546
|
"type": "string",
|
|
1547
|
+
"nullable": true,
|
|
1433
1548
|
"description": "English translation"
|
|
1434
1549
|
},
|
|
1435
1550
|
"de": {
|