@epilot/app-client 0.0.16 → 0.0.18
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 +9 -0
- package/dist/openapi.d.ts +70 -3
- package/dist/openapi.json +139 -4
- 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"}],"get":{"operationId":"getAppConfiguration","parameters":[{"name":"version","in":"query"}],"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":{}}},"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})})();
|
|
@@ -71,6 +71,9 @@
|
|
|
71
71
|
],
|
|
72
72
|
"post": {
|
|
73
73
|
"operationId": "createLogoUploadUrl",
|
|
74
|
+
"requestBody": {
|
|
75
|
+
"$ref": "#/components/requestBodies/CreateLogoRequest"
|
|
76
|
+
},
|
|
74
77
|
"responses": {}
|
|
75
78
|
},
|
|
76
79
|
"delete": {
|
|
@@ -258,6 +261,12 @@
|
|
|
258
261
|
},
|
|
259
262
|
"components": {
|
|
260
263
|
"requestBodies": {
|
|
264
|
+
"CreateLogoRequest": {
|
|
265
|
+
"required": true,
|
|
266
|
+
"content": {
|
|
267
|
+
"application/json": {}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
261
270
|
"UpdateConfigMetadataRequest": {
|
|
262
271
|
"required": true,
|
|
263
272
|
"content": {
|
package/dist/openapi.d.ts
CHANGED
|
@@ -14,6 +14,24 @@ declare namespace Components {
|
|
|
14
14
|
name: Schemas.TranslatedString;
|
|
15
15
|
description: Schemas.TranslatedString;
|
|
16
16
|
category?: string;
|
|
17
|
+
/**
|
|
18
|
+
* S3 key of the logo file
|
|
19
|
+
*/
|
|
20
|
+
logo_url_key?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface CreateLogoRequest {
|
|
23
|
+
/**
|
|
24
|
+
* Original filename of the logo
|
|
25
|
+
* example:
|
|
26
|
+
* company-logo.png
|
|
27
|
+
*/
|
|
28
|
+
filename: string;
|
|
29
|
+
/**
|
|
30
|
+
* MIME type of the logo file
|
|
31
|
+
* example:
|
|
32
|
+
* image/png
|
|
33
|
+
*/
|
|
34
|
+
mime_type: "image/png" | "image/jpeg" | "image/jpg";
|
|
17
35
|
}
|
|
18
36
|
export interface InstallAppRequest {
|
|
19
37
|
/**
|
|
@@ -28,6 +46,15 @@ declare namespace Components {
|
|
|
28
46
|
documentation_url?: string;
|
|
29
47
|
homepage_url?: string;
|
|
30
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;
|
|
31
58
|
}
|
|
32
59
|
export interface UpdateVersionRequest {
|
|
33
60
|
/**
|
|
@@ -48,6 +75,10 @@ declare namespace Components {
|
|
|
48
75
|
* List of available versions of the app
|
|
49
76
|
*/
|
|
50
77
|
versions?: string[];
|
|
78
|
+
/**
|
|
79
|
+
* Email address for support requests
|
|
80
|
+
*/
|
|
81
|
+
support_email?: string;
|
|
51
82
|
/**
|
|
52
83
|
* Latest version of the app
|
|
53
84
|
*/
|
|
@@ -78,6 +109,7 @@ declare namespace Components {
|
|
|
78
109
|
* Flag to indicate if the app is built by epilot.
|
|
79
110
|
*/
|
|
80
111
|
internal?: boolean;
|
|
112
|
+
pricing?: Pricing;
|
|
81
113
|
/**
|
|
82
114
|
* Timestamp of app creation
|
|
83
115
|
*/
|
|
@@ -155,6 +187,10 @@ declare namespace Components {
|
|
|
155
187
|
* List of available versions of the app
|
|
156
188
|
*/
|
|
157
189
|
versions?: string[];
|
|
190
|
+
/**
|
|
191
|
+
* Email address for support requests
|
|
192
|
+
*/
|
|
193
|
+
support_email?: string;
|
|
158
194
|
/**
|
|
159
195
|
* Latest version of the app
|
|
160
196
|
*/
|
|
@@ -185,6 +221,7 @@ declare namespace Components {
|
|
|
185
221
|
* Flag to indicate if the app is built by epilot.
|
|
186
222
|
*/
|
|
187
223
|
internal?: boolean;
|
|
224
|
+
pricing?: Pricing;
|
|
188
225
|
/**
|
|
189
226
|
* Timestamp of app creation
|
|
190
227
|
*/
|
|
@@ -232,6 +269,10 @@ declare namespace Components {
|
|
|
232
269
|
* List of available versions of the app
|
|
233
270
|
*/
|
|
234
271
|
versions?: string[];
|
|
272
|
+
/**
|
|
273
|
+
* Email address for support requests
|
|
274
|
+
*/
|
|
275
|
+
support_email?: string;
|
|
235
276
|
/**
|
|
236
277
|
* Latest version of the app
|
|
237
278
|
*/
|
|
@@ -268,6 +309,10 @@ declare namespace Components {
|
|
|
268
309
|
* Flag to indicate if the app is built by epilot.
|
|
269
310
|
*/
|
|
270
311
|
internal?: boolean;
|
|
312
|
+
/**
|
|
313
|
+
* Pricing information for the app
|
|
314
|
+
*/
|
|
315
|
+
pricing?: Pricing;
|
|
271
316
|
/**
|
|
272
317
|
* Timestamp of app creation
|
|
273
318
|
*/
|
|
@@ -346,6 +391,10 @@ declare namespace Components {
|
|
|
346
391
|
*/
|
|
347
392
|
options?: /* Options for the component configuration */ Options[];
|
|
348
393
|
}
|
|
394
|
+
/**
|
|
395
|
+
* How often the subscription is billed
|
|
396
|
+
*/
|
|
397
|
+
export type BillingFrequency = "MONTHLY" | "QUARTERLY" | "YEARLY" | "CUSTOM";
|
|
349
398
|
export interface BooleanArg {
|
|
350
399
|
type?: "boolean";
|
|
351
400
|
}
|
|
@@ -411,6 +460,9 @@ declare namespace Components {
|
|
|
411
460
|
}[]
|
|
412
461
|
];
|
|
413
462
|
}
|
|
463
|
+
export interface FreePricing {
|
|
464
|
+
pricing_type: "FREE";
|
|
465
|
+
}
|
|
414
466
|
export interface JourneyBlockComponent {
|
|
415
467
|
component_type: "CUSTOM_JOURNEY_BLOCK";
|
|
416
468
|
configuration: JourneyBlockConfig;
|
|
@@ -456,7 +508,7 @@ declare namespace Components {
|
|
|
456
508
|
* example:
|
|
457
509
|
* developer@example.com
|
|
458
510
|
*/
|
|
459
|
-
email
|
|
511
|
+
email?: string | null;
|
|
460
512
|
/**
|
|
461
513
|
* List of events to subscribe to
|
|
462
514
|
*/
|
|
@@ -552,6 +604,7 @@ declare namespace Components {
|
|
|
552
604
|
};
|
|
553
605
|
}[];
|
|
554
606
|
}
|
|
607
|
+
export type Pricing = FreePricing | SubscriptionPricing | UsageBasedPricing;
|
|
555
608
|
export interface S3Reference {
|
|
556
609
|
/**
|
|
557
610
|
* The name of the S3 bucket where the JSON file for import is stored.
|
|
@@ -566,6 +619,10 @@ declare namespace Components {
|
|
|
566
619
|
*/
|
|
567
620
|
key: string;
|
|
568
621
|
}
|
|
622
|
+
export interface SubscriptionPricing {
|
|
623
|
+
pricing_type: "SUBSCRIPTION";
|
|
624
|
+
billing_frequency: /* How often the subscription is billed */ BillingFrequency;
|
|
625
|
+
}
|
|
569
626
|
export interface TextArg {
|
|
570
627
|
type?: "text";
|
|
571
628
|
}
|
|
@@ -585,6 +642,9 @@ declare namespace Components {
|
|
|
585
642
|
*/
|
|
586
643
|
app_id?: string;
|
|
587
644
|
}
|
|
645
|
+
export interface UsageBasedPricing {
|
|
646
|
+
pricing_type: "USAGE_BASED";
|
|
647
|
+
}
|
|
588
648
|
}
|
|
589
649
|
}
|
|
590
650
|
declare namespace Paths {
|
|
@@ -620,12 +680,14 @@ declare namespace Paths {
|
|
|
620
680
|
}
|
|
621
681
|
}
|
|
622
682
|
namespace CreateLogoUploadUrl {
|
|
683
|
+
export type RequestBody = Components.RequestBodies.CreateLogoRequest;
|
|
623
684
|
namespace Responses {
|
|
624
685
|
export interface $200 {
|
|
625
686
|
/**
|
|
626
687
|
* Presigned S3 URL for uploading the logo
|
|
627
688
|
*/
|
|
628
689
|
upload_url: string;
|
|
690
|
+
s3ref?: Components.Schemas.S3Reference;
|
|
629
691
|
/**
|
|
630
692
|
* Timestamp when the upload URL expires
|
|
631
693
|
*/
|
|
@@ -912,7 +974,7 @@ export interface OperationMethods {
|
|
|
912
974
|
*/
|
|
913
975
|
'createLogoUploadUrl'(
|
|
914
976
|
parameters?: Parameters<Paths.V1AppConfigurations$AppIdLogo.PathParameters> | null,
|
|
915
|
-
data?:
|
|
977
|
+
data?: Paths.CreateLogoUploadUrl.RequestBody,
|
|
916
978
|
config?: AxiosRequestConfig
|
|
917
979
|
): OperationResponse<Paths.CreateLogoUploadUrl.Responses.$200>
|
|
918
980
|
/**
|
|
@@ -1080,7 +1142,7 @@ export interface PathsDictionary {
|
|
|
1080
1142
|
*/
|
|
1081
1143
|
'post'(
|
|
1082
1144
|
parameters?: Parameters<Paths.V1AppConfigurations$AppIdLogo.PathParameters> | null,
|
|
1083
|
-
data?:
|
|
1145
|
+
data?: Paths.CreateLogoUploadUrl.RequestBody,
|
|
1084
1146
|
config?: AxiosRequestConfig
|
|
1085
1147
|
): OperationResponse<Paths.CreateLogoUploadUrl.Responses.$200>
|
|
1086
1148
|
/**
|
|
@@ -1217,10 +1279,12 @@ export type AppVersioned = Components.Schemas.AppVersioned;
|
|
|
1217
1279
|
export type Author = Components.Schemas.Author;
|
|
1218
1280
|
export type BaseComponent = Components.Schemas.BaseComponent;
|
|
1219
1281
|
export type BaseComponentCommon = Components.Schemas.BaseComponentCommon;
|
|
1282
|
+
export type BillingFrequency = Components.Schemas.BillingFrequency;
|
|
1220
1283
|
export type BooleanArg = Components.Schemas.BooleanArg;
|
|
1221
1284
|
export type CallerIdentity = Components.Schemas.CallerIdentity;
|
|
1222
1285
|
export type ComponentType = Components.Schemas.ComponentType;
|
|
1223
1286
|
export type EnumArg = Components.Schemas.EnumArg;
|
|
1287
|
+
export type FreePricing = Components.Schemas.FreePricing;
|
|
1224
1288
|
export type JourneyBlockComponent = Components.Schemas.JourneyBlockComponent;
|
|
1225
1289
|
export type JourneyBlockComponentArgs = Components.Schemas.JourneyBlockComponentArgs;
|
|
1226
1290
|
export type JourneyBlockConfig = Components.Schemas.JourneyBlockConfig;
|
|
@@ -1232,7 +1296,10 @@ export type OptionsRef = Components.Schemas.OptionsRef;
|
|
|
1232
1296
|
export type PortalAuth = Components.Schemas.PortalAuth;
|
|
1233
1297
|
export type PortalExtensionComponent = Components.Schemas.PortalExtensionComponent;
|
|
1234
1298
|
export type PortalExtensionConfig = Components.Schemas.PortalExtensionConfig;
|
|
1299
|
+
export type Pricing = Components.Schemas.Pricing;
|
|
1235
1300
|
export type S3Reference = Components.Schemas.S3Reference;
|
|
1301
|
+
export type SubscriptionPricing = Components.Schemas.SubscriptionPricing;
|
|
1236
1302
|
export type TextArg = Components.Schemas.TextArg;
|
|
1237
1303
|
export type TranslatedString = Components.Schemas.TranslatedString;
|
|
1238
1304
|
export type UploadFilePayload = Components.Schemas.UploadFilePayload;
|
|
1305
|
+
export type UsageBasedPricing = Components.Schemas.UsageBasedPricing;
|
package/dist/openapi.json
CHANGED
|
@@ -186,6 +186,9 @@
|
|
|
186
186
|
"summary": "createLogoUploadUrl",
|
|
187
187
|
"description": "Generate a presigned URL for uploading app logo to /<app-id>/logo.png path",
|
|
188
188
|
"operationId": "createLogoUploadUrl",
|
|
189
|
+
"requestBody": {
|
|
190
|
+
"$ref": "#/components/requestBodies/CreateLogoRequest"
|
|
191
|
+
},
|
|
189
192
|
"responses": {
|
|
190
193
|
"200": {
|
|
191
194
|
"description": "Upload URL generated successfully",
|
|
@@ -201,6 +204,9 @@
|
|
|
201
204
|
"type": "string",
|
|
202
205
|
"description": "Presigned S3 URL for uploading the logo"
|
|
203
206
|
},
|
|
207
|
+
"s3ref": {
|
|
208
|
+
"$ref": "#/components/schemas/S3Reference"
|
|
209
|
+
},
|
|
204
210
|
"expires_at": {
|
|
205
211
|
"type": "string",
|
|
206
212
|
"format": "date-time",
|
|
@@ -694,6 +700,37 @@
|
|
|
694
700
|
},
|
|
695
701
|
"components": {
|
|
696
702
|
"requestBodies": {
|
|
703
|
+
"CreateLogoRequest": {
|
|
704
|
+
"required": true,
|
|
705
|
+
"content": {
|
|
706
|
+
"application/json": {
|
|
707
|
+
"schema": {
|
|
708
|
+
"type": "object",
|
|
709
|
+
"required": [
|
|
710
|
+
"filename",
|
|
711
|
+
"mime_type"
|
|
712
|
+
],
|
|
713
|
+
"properties": {
|
|
714
|
+
"filename": {
|
|
715
|
+
"type": "string",
|
|
716
|
+
"description": "Original filename of the logo",
|
|
717
|
+
"example": "company-logo.png"
|
|
718
|
+
},
|
|
719
|
+
"mime_type": {
|
|
720
|
+
"type": "string",
|
|
721
|
+
"description": "MIME type of the logo file",
|
|
722
|
+
"enum": [
|
|
723
|
+
"image/png",
|
|
724
|
+
"image/jpeg",
|
|
725
|
+
"image/jpg"
|
|
726
|
+
],
|
|
727
|
+
"example": "image/png"
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
},
|
|
697
734
|
"UpdateConfigMetadataRequest": {
|
|
698
735
|
"required": true,
|
|
699
736
|
"content": {
|
|
@@ -722,6 +759,17 @@
|
|
|
722
759
|
},
|
|
723
760
|
"notifications": {
|
|
724
761
|
"$ref": "#/components/schemas/NotificationConfig"
|
|
762
|
+
},
|
|
763
|
+
"pricing": {
|
|
764
|
+
"$ref": "#/components/schemas/Pricing"
|
|
765
|
+
},
|
|
766
|
+
"logo_url_key": {
|
|
767
|
+
"type": "string",
|
|
768
|
+
"description": "S3 key of the logo file"
|
|
769
|
+
},
|
|
770
|
+
"support_email": {
|
|
771
|
+
"type": "string",
|
|
772
|
+
"description": "Email address for support requests"
|
|
725
773
|
}
|
|
726
774
|
}
|
|
727
775
|
}
|
|
@@ -769,6 +817,10 @@
|
|
|
769
817
|
},
|
|
770
818
|
"category": {
|
|
771
819
|
"type": "string"
|
|
820
|
+
},
|
|
821
|
+
"logo_url_key": {
|
|
822
|
+
"type": "string",
|
|
823
|
+
"description": "S3 key of the logo file"
|
|
772
824
|
}
|
|
773
825
|
}
|
|
774
826
|
}
|
|
@@ -942,13 +994,10 @@
|
|
|
942
994
|
},
|
|
943
995
|
"NotificationConfig": {
|
|
944
996
|
"type": "object",
|
|
945
|
-
"required": [
|
|
946
|
-
"email"
|
|
947
|
-
],
|
|
948
997
|
"properties": {
|
|
949
998
|
"email": {
|
|
950
999
|
"type": "string",
|
|
951
|
-
"
|
|
1000
|
+
"nullable": true,
|
|
952
1001
|
"description": "Email address to receive notifications",
|
|
953
1002
|
"example": "developer@example.com"
|
|
954
1003
|
},
|
|
@@ -1336,6 +1385,84 @@
|
|
|
1336
1385
|
}
|
|
1337
1386
|
}
|
|
1338
1387
|
},
|
|
1388
|
+
"BillingFrequency": {
|
|
1389
|
+
"type": "string",
|
|
1390
|
+
"enum": [
|
|
1391
|
+
"MONTHLY",
|
|
1392
|
+
"QUARTERLY",
|
|
1393
|
+
"YEARLY",
|
|
1394
|
+
"CUSTOM"
|
|
1395
|
+
],
|
|
1396
|
+
"description": "How often the subscription is billed"
|
|
1397
|
+
},
|
|
1398
|
+
"Pricing": {
|
|
1399
|
+
"type": "object",
|
|
1400
|
+
"discriminator": {
|
|
1401
|
+
"propertyName": "pricing_type",
|
|
1402
|
+
"mapping": {
|
|
1403
|
+
"FREE": "#/components/schemas/FreePricing",
|
|
1404
|
+
"SUBSCRIPTION": "#/components/schemas/SubscriptionPricing",
|
|
1405
|
+
"USAGE_BASED": "#/components/schemas/UsageBasedPricing"
|
|
1406
|
+
}
|
|
1407
|
+
},
|
|
1408
|
+
"oneOf": [
|
|
1409
|
+
{
|
|
1410
|
+
"$ref": "#/components/schemas/FreePricing"
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"$ref": "#/components/schemas/SubscriptionPricing"
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"$ref": "#/components/schemas/UsageBasedPricing"
|
|
1417
|
+
}
|
|
1418
|
+
]
|
|
1419
|
+
},
|
|
1420
|
+
"FreePricing": {
|
|
1421
|
+
"type": "object",
|
|
1422
|
+
"properties": {
|
|
1423
|
+
"pricing_type": {
|
|
1424
|
+
"type": "string",
|
|
1425
|
+
"enum": [
|
|
1426
|
+
"FREE"
|
|
1427
|
+
]
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
"required": [
|
|
1431
|
+
"pricing_type"
|
|
1432
|
+
]
|
|
1433
|
+
},
|
|
1434
|
+
"SubscriptionPricing": {
|
|
1435
|
+
"type": "object",
|
|
1436
|
+
"properties": {
|
|
1437
|
+
"pricing_type": {
|
|
1438
|
+
"type": "string",
|
|
1439
|
+
"enum": [
|
|
1440
|
+
"SUBSCRIPTION"
|
|
1441
|
+
]
|
|
1442
|
+
},
|
|
1443
|
+
"billing_frequency": {
|
|
1444
|
+
"$ref": "#/components/schemas/BillingFrequency"
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1447
|
+
"required": [
|
|
1448
|
+
"pricing_type",
|
|
1449
|
+
"billing_frequency"
|
|
1450
|
+
]
|
|
1451
|
+
},
|
|
1452
|
+
"UsageBasedPricing": {
|
|
1453
|
+
"type": "object",
|
|
1454
|
+
"properties": {
|
|
1455
|
+
"pricing_type": {
|
|
1456
|
+
"type": "string",
|
|
1457
|
+
"enum": [
|
|
1458
|
+
"USAGE_BASED"
|
|
1459
|
+
]
|
|
1460
|
+
}
|
|
1461
|
+
},
|
|
1462
|
+
"required": [
|
|
1463
|
+
"pricing_type"
|
|
1464
|
+
]
|
|
1465
|
+
},
|
|
1339
1466
|
"AppMetadata": {
|
|
1340
1467
|
"description": "Basic metadata about your app configuration which does not get versioned",
|
|
1341
1468
|
"type": "object",
|
|
@@ -1362,6 +1489,10 @@
|
|
|
1362
1489
|
"description": "List of available versions of the app",
|
|
1363
1490
|
"readOnly": true
|
|
1364
1491
|
},
|
|
1492
|
+
"support_email": {
|
|
1493
|
+
"type": "string",
|
|
1494
|
+
"description": "Email address for support requests"
|
|
1495
|
+
},
|
|
1365
1496
|
"latest_version": {
|
|
1366
1497
|
"type": "string",
|
|
1367
1498
|
"description": "Latest version of the app",
|
|
@@ -1402,6 +1533,10 @@
|
|
|
1402
1533
|
"description": "Flag to indicate if the app is built by epilot.",
|
|
1403
1534
|
"readOnly": true
|
|
1404
1535
|
},
|
|
1536
|
+
"pricing": {
|
|
1537
|
+
"$ref": "#/components/schemas/Pricing",
|
|
1538
|
+
"description": "Pricing information for the app"
|
|
1539
|
+
},
|
|
1405
1540
|
"created_at": {
|
|
1406
1541
|
"type": "string",
|
|
1407
1542
|
"description": "Timestamp of app creation",
|