@epilot/app-client 0.5.1 → 0.5.3

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.
@@ -1 +1 @@
1
- (()=>{"use strict";var e={187: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.0.3","info":{"title":"","version":""},"servers":[{"url":"https://app.sls.epilot.io"}],"paths":{"/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":{}}},"/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}/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":{}}},"/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":{}}}},"components":{"requestBodies":{"CreateLogoPresignedRequest":{"required":true,"content":{"application/json":{}}},"CreateBundlePresignedRequest":{"required":true,"content":{"application/json":{}}},"PatchConfigMetadataRequest":{"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 a=r[n]={exports:{}};return e[n].call(a.exports,a,a.exports,t),a.exports}(187),n=exports;for(var o in t)n[o]=t[o];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
1
+ (()=>{"use strict";var e={187: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/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":{}}},"/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}/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}/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":{}}}},"components":{"requestBodies":{"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 a=r[n]={exports:{}};return e[n].call(a.exports,a,a.exports,t),a.exports}(187),n=exports;for(var o in t)n[o]=t[o];t.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
@@ -1,5 +1,5 @@
1
1
  {
2
- "openapi": "3.0.3",
2
+ "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "",
5
5
  "version": ""
@@ -170,6 +170,25 @@
170
170
  }
171
171
  ],
172
172
  "responses": {}
173
+ },
174
+ "patch": {
175
+ "operationId": "patchVersion",
176
+ "parameters": [
177
+ {
178
+ "name": "appId",
179
+ "in": "path",
180
+ "required": true
181
+ },
182
+ {
183
+ "name": "version",
184
+ "in": "path",
185
+ "required": true
186
+ }
187
+ ],
188
+ "requestBody": {
189
+ "$ref": "#/components/requestBodies/PatchVersionRequest"
190
+ },
191
+ "responses": {}
173
192
  }
174
193
  },
175
194
  "/v1/app-configurations/{appId}/versions/{version}/components": {
@@ -378,6 +397,12 @@
378
397
  "application/json": {}
379
398
  }
380
399
  },
400
+ "PatchVersionRequest": {
401
+ "required": true,
402
+ "content": {
403
+ "application/json": {}
404
+ }
405
+ },
381
406
  "UpsertComponentRequest": {
382
407
  "required": true,
383
408
  "content": {
package/dist/openapi.d.ts CHANGED
@@ -71,6 +71,13 @@ declare namespace Components {
71
71
  */
72
72
  support_email?: string;
73
73
  }
74
+ export interface PatchVersionRequest {
75
+ /**
76
+ * Name of the role
77
+ */
78
+ role_id?: string | null;
79
+ grants?: /* Required grants for the app in order to call APIs for the installing tenant */ Schemas.Grants;
80
+ }
74
81
  export type UpsertComponentRequest = Schemas.BaseComponent;
75
82
  }
76
83
  namespace Schemas {
@@ -368,6 +375,7 @@ declare namespace Components {
368
375
  * Status of the review process
369
376
  */
370
377
  review_status?: "approved" | "rejected" | "pending";
378
+ role?: Role;
371
379
  version_audit: {
372
380
  /**
373
381
  * Timestamp of the creation
@@ -536,6 +544,7 @@ declare namespace Components {
536
544
  * Status of the review process
537
545
  */
538
546
  review_status?: "approved" | "rejected" | "pending";
547
+ role?: Role;
539
548
  version_audit: {
540
549
  /**
541
550
  * Timestamp of the creation
@@ -654,6 +663,19 @@ declare namespace Components {
654
663
  auth_token_ref?: string;
655
664
  };
656
665
  }
666
+ /**
667
+ * Required grants for the app in order to call APIs for the installing tenant
668
+ */
669
+ export type Grants = {
670
+ /**
671
+ * The action the app can perform
672
+ */
673
+ action: string;
674
+ /**
675
+ * The resource the app can access
676
+ */
677
+ resource?: string;
678
+ }[];
657
679
  /**
658
680
  * Information about the installed app. Has configuration data of the installed version
659
681
  */
@@ -686,6 +708,10 @@ declare namespace Components {
686
708
  * Version of the app that is installed
687
709
  */
688
710
  installed_version: string;
711
+ /**
712
+ * The name of the role the app can use to access APIs
713
+ */
714
+ role?: string;
689
715
  /**
690
716
  * Audit information for the app
691
717
  */
@@ -947,10 +973,22 @@ declare namespace Components {
947
973
  * Version of the app that is installed
948
974
  */
949
975
  version: string;
976
+ role?: Role;
950
977
  /**
951
978
  * Flag to indicate if the app is public.
952
979
  */
953
980
  public?: boolean;
981
+ /**
982
+ * List of available versions of the app
983
+ */
984
+ versions?: /* Configuration data about your app which is versionable */ ConfigurationVersion[];
985
+ }
986
+ export interface Role {
987
+ /**
988
+ * Name of the role
989
+ */
990
+ id?: string;
991
+ grants?: /* Required grants for the app in order to call APIs for the installing tenant */ Grants;
954
992
  }
955
993
  export interface S3Reference {
956
994
  /**
@@ -1263,6 +1301,8 @@ declare namespace Paths {
1263
1301
  pageSize?: number;
1264
1302
  };
1265
1303
  }
1304
+ export interface $400 {
1305
+ }
1266
1306
  }
1267
1307
  }
1268
1308
  namespace PatchComponent {
@@ -1310,6 +1350,25 @@ declare namespace Paths {
1310
1350
  }
1311
1351
  }
1312
1352
  }
1353
+ namespace PatchVersion {
1354
+ namespace Parameters {
1355
+ export type AppId = string;
1356
+ export type Version = string;
1357
+ }
1358
+ export interface PathParameters {
1359
+ appId: Parameters.AppId;
1360
+ version: Parameters.Version;
1361
+ }
1362
+ export type RequestBody = Components.RequestBodies.PatchVersionRequest;
1363
+ namespace Responses {
1364
+ export interface $204 {
1365
+ }
1366
+ export interface $400 {
1367
+ }
1368
+ export interface $404 {
1369
+ }
1370
+ }
1371
+ }
1313
1372
  namespace PromoteVersion {
1314
1373
  namespace Parameters {
1315
1374
  export type AppId = string;
@@ -1468,6 +1527,16 @@ export interface OperationMethods {
1468
1527
  data?: any,
1469
1528
  config?: AxiosRequestConfig
1470
1529
  ): OperationResponse<Paths.GetVersion.Responses.$200>
1530
+ /**
1531
+ * patchVersion - patchVersion
1532
+ *
1533
+ * Patch an existing app version
1534
+ */
1535
+ 'patchVersion'(
1536
+ parameters?: Parameters<Paths.PatchVersion.PathParameters> | null,
1537
+ data?: Paths.PatchVersion.RequestBody,
1538
+ config?: AxiosRequestConfig
1539
+ ): OperationResponse<Paths.PatchVersion.Responses.$204>
1471
1540
  /**
1472
1541
  * deleteVersion - deleteVersion
1473
1542
  *
@@ -1704,6 +1773,16 @@ export interface PathsDictionary {
1704
1773
  data?: any,
1705
1774
  config?: AxiosRequestConfig
1706
1775
  ): OperationResponse<Paths.DeleteVersion.Responses.$204>
1776
+ /**
1777
+ * patchVersion - patchVersion
1778
+ *
1779
+ * Patch an existing app version
1780
+ */
1781
+ 'patch'(
1782
+ parameters?: Parameters<Paths.PatchVersion.PathParameters> | null,
1783
+ data?: Paths.PatchVersion.RequestBody,
1784
+ config?: AxiosRequestConfig
1785
+ ): OperationResponse<Paths.PatchVersion.Responses.$204>
1707
1786
  }
1708
1787
  ['/v1/app-configurations/{appId}/versions/{version}/components']: {
1709
1788
  /**
@@ -1837,6 +1916,7 @@ export type CustomFlowActionComponent = Components.Schemas.CustomFlowActionCompo
1837
1916
  export type CustomFlowConfig = Components.Schemas.CustomFlowConfig;
1838
1917
  export type EnumArg = Components.Schemas.EnumArg;
1839
1918
  export type ExternalIntegrationCustomActionConfig = Components.Schemas.ExternalIntegrationCustomActionConfig;
1919
+ export type Grants = Components.Schemas.Grants;
1840
1920
  export type Installation = Components.Schemas.Installation;
1841
1921
  export type JourneyBlockComponent = Components.Schemas.JourneyBlockComponent;
1842
1922
  export type JourneyBlockComponentArgs = Components.Schemas.JourneyBlockComponentArgs;
@@ -1851,6 +1931,7 @@ export type PortalExtensionComponent = Components.Schemas.PortalExtensionCompone
1851
1931
  export type PortalExtensionConfig = Components.Schemas.PortalExtensionConfig;
1852
1932
  export type Pricing = Components.Schemas.Pricing;
1853
1933
  export type PublicConfiguration = Components.Schemas.PublicConfiguration;
1934
+ export type Role = Components.Schemas.Role;
1854
1935
  export type S3Reference = Components.Schemas.S3Reference;
1855
1936
  export type TextArg = Components.Schemas.TextArg;
1856
1937
  export type TranslatedString = Components.Schemas.TranslatedString;
package/dist/openapi.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "openapi": "3.0.3",
2
+ "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "App API",
5
5
  "description": "API for managing app publishing and installed app.",
@@ -443,6 +443,9 @@
443
443
  }
444
444
  }
445
445
  }
446
+ },
447
+ "400": {
448
+ "description": "Invalid parameter"
446
449
  }
447
450
  }
448
451
  }
@@ -532,6 +535,48 @@
532
535
  "description": "Version is in use by installations"
533
536
  }
534
537
  }
538
+ },
539
+ "patch": {
540
+ "summary": "patchVersion",
541
+ "description": "Patch an existing app version",
542
+ "operationId": "patchVersion",
543
+ "tags": [
544
+ "App Configuration"
545
+ ],
546
+ "parameters": [
547
+ {
548
+ "name": "appId",
549
+ "in": "path",
550
+ "required": true,
551
+ "schema": {
552
+ "type": "string"
553
+ },
554
+ "description": "ID of the app configuration"
555
+ },
556
+ {
557
+ "name": "version",
558
+ "in": "path",
559
+ "required": true,
560
+ "schema": {
561
+ "type": "string"
562
+ },
563
+ "description": "Version to update"
564
+ }
565
+ ],
566
+ "requestBody": {
567
+ "$ref": "#/components/requestBodies/PatchVersionRequest"
568
+ },
569
+ "responses": {
570
+ "204": {
571
+ "description": "Version patched successfully"
572
+ },
573
+ "400": {
574
+ "description": "Invalid version format"
575
+ },
576
+ "404": {
577
+ "description": "Version not found"
578
+ }
579
+ }
535
580
  }
536
581
  },
537
582
  "/v1/app-configurations/{appId}/versions/{version}/components": {
@@ -1090,6 +1135,26 @@
1090
1135
  }
1091
1136
  }
1092
1137
  },
1138
+ "PatchVersionRequest": {
1139
+ "required": true,
1140
+ "content": {
1141
+ "application/json": {
1142
+ "schema": {
1143
+ "type": "object",
1144
+ "properties": {
1145
+ "role_id": {
1146
+ "nullable": true,
1147
+ "type": "string",
1148
+ "description": "Name of the role"
1149
+ },
1150
+ "grants": {
1151
+ "$ref": "#/components/schemas/Grants"
1152
+ }
1153
+ }
1154
+ }
1155
+ }
1156
+ }
1157
+ },
1093
1158
  "UpsertComponentRequest": {
1094
1159
  "required": true,
1095
1160
  "content": {
@@ -1164,6 +1229,18 @@
1164
1229
  }
1165
1230
  },
1166
1231
  "schemas": {
1232
+ "Role": {
1233
+ "type": "object",
1234
+ "properties": {
1235
+ "id": {
1236
+ "type": "string",
1237
+ "description": "Name of the role"
1238
+ },
1239
+ "grants": {
1240
+ "$ref": "#/components/schemas/Grants"
1241
+ }
1242
+ }
1243
+ },
1167
1244
  "Options": {
1168
1245
  "type": "object",
1169
1246
  "description": "Options for the component configuration",
@@ -2062,6 +2139,9 @@
2062
2139
  ],
2063
2140
  "description": "Status of the review process"
2064
2141
  },
2142
+ "role": {
2143
+ "$ref": "#/components/schemas/Role"
2144
+ },
2065
2145
  "version_audit": {
2066
2146
  "readOnly": true,
2067
2147
  "allOf": [
@@ -2087,6 +2167,26 @@
2087
2167
  }
2088
2168
  }
2089
2169
  },
2170
+ "Grants": {
2171
+ "type": "array",
2172
+ "description": "Required grants for the app in order to call APIs for the installing tenant",
2173
+ "items": {
2174
+ "type": "object",
2175
+ "required": [
2176
+ "action"
2177
+ ],
2178
+ "properties": {
2179
+ "action": {
2180
+ "type": "string",
2181
+ "description": "The action the app can perform"
2182
+ },
2183
+ "resource": {
2184
+ "type": "string",
2185
+ "description": "The resource the app can access"
2186
+ }
2187
+ }
2188
+ }
2189
+ },
2090
2190
  "Installation": {
2091
2191
  "description": "Information about the installed app. Has configuration data of the installed version",
2092
2192
  "type": "object",
@@ -2141,6 +2241,10 @@
2141
2241
  "description": "Version of the app that is installed",
2142
2242
  "readOnly": true
2143
2243
  },
2244
+ "role": {
2245
+ "type": "string",
2246
+ "description": "The name of the role the app can use to access APIs"
2247
+ },
2144
2248
  "installation_audit": {
2145
2249
  "readOnly": true,
2146
2250
  "allOf": [
@@ -2237,11 +2341,21 @@
2237
2341
  "description": "Version of the app that is installed",
2238
2342
  "readOnly": true
2239
2343
  },
2344
+ "role": {
2345
+ "$ref": "#/components/schemas/Role"
2346
+ },
2240
2347
  "public": {
2241
2348
  "type": "boolean",
2242
2349
  "default": true,
2243
2350
  "description": "Flag to indicate if the app is public.",
2244
2351
  "readOnly": true
2352
+ },
2353
+ "versions": {
2354
+ "type": "array",
2355
+ "items": {
2356
+ "$ref": "#/components/schemas/ConfigurationVersion"
2357
+ },
2358
+ "description": "List of available versions of the app"
2245
2359
  }
2246
2360
  }
2247
2361
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/app-client",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "JavaScript client library for the epilot App API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",