@epilot/app-client 0.0.17 → 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 +90 -1
- package/dist/openapi.json +151 -4
- 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;
|
|
@@ -46,10 +63,15 @@ declare namespace Components {
|
|
|
46
63
|
documentation_url?: string;
|
|
47
64
|
homepage_url?: string;
|
|
48
65
|
notifications?: Schemas.NotificationConfig;
|
|
66
|
+
pricing?: Schemas.Pricing;
|
|
49
67
|
/**
|
|
50
68
|
* S3 key of the logo file
|
|
51
69
|
*/
|
|
52
70
|
logo_url_key?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Email address for support requests
|
|
73
|
+
*/
|
|
74
|
+
support_email?: string;
|
|
53
75
|
}
|
|
54
76
|
export interface UpdateVersionRequest {
|
|
55
77
|
/**
|
|
@@ -70,6 +92,10 @@ declare namespace Components {
|
|
|
70
92
|
* List of available versions of the app
|
|
71
93
|
*/
|
|
72
94
|
versions?: string[];
|
|
95
|
+
/**
|
|
96
|
+
* Email address for support requests
|
|
97
|
+
*/
|
|
98
|
+
support_email?: string;
|
|
73
99
|
/**
|
|
74
100
|
* Latest version of the app
|
|
75
101
|
*/
|
|
@@ -100,6 +126,7 @@ declare namespace Components {
|
|
|
100
126
|
* Flag to indicate if the app is built by epilot.
|
|
101
127
|
*/
|
|
102
128
|
internal?: boolean;
|
|
129
|
+
pricing?: Pricing;
|
|
103
130
|
/**
|
|
104
131
|
* Timestamp of app creation
|
|
105
132
|
*/
|
|
@@ -177,6 +204,10 @@ declare namespace Components {
|
|
|
177
204
|
* List of available versions of the app
|
|
178
205
|
*/
|
|
179
206
|
versions?: string[];
|
|
207
|
+
/**
|
|
208
|
+
* Email address for support requests
|
|
209
|
+
*/
|
|
210
|
+
support_email?: string;
|
|
180
211
|
/**
|
|
181
212
|
* Latest version of the app
|
|
182
213
|
*/
|
|
@@ -207,6 +238,7 @@ declare namespace Components {
|
|
|
207
238
|
* Flag to indicate if the app is built by epilot.
|
|
208
239
|
*/
|
|
209
240
|
internal?: boolean;
|
|
241
|
+
pricing?: Pricing;
|
|
210
242
|
/**
|
|
211
243
|
* Timestamp of app creation
|
|
212
244
|
*/
|
|
@@ -254,6 +286,10 @@ declare namespace Components {
|
|
|
254
286
|
* List of available versions of the app
|
|
255
287
|
*/
|
|
256
288
|
versions?: string[];
|
|
289
|
+
/**
|
|
290
|
+
* Email address for support requests
|
|
291
|
+
*/
|
|
292
|
+
support_email?: string;
|
|
257
293
|
/**
|
|
258
294
|
* Latest version of the app
|
|
259
295
|
*/
|
|
@@ -290,6 +326,10 @@ declare namespace Components {
|
|
|
290
326
|
* Flag to indicate if the app is built by epilot.
|
|
291
327
|
*/
|
|
292
328
|
internal?: boolean;
|
|
329
|
+
/**
|
|
330
|
+
* Pricing information for the app
|
|
331
|
+
*/
|
|
332
|
+
pricing?: Pricing;
|
|
293
333
|
/**
|
|
294
334
|
* Timestamp of app creation
|
|
295
335
|
*/
|
|
@@ -368,6 +408,10 @@ declare namespace Components {
|
|
|
368
408
|
*/
|
|
369
409
|
options?: /* Options for the component configuration */ Options[];
|
|
370
410
|
}
|
|
411
|
+
/**
|
|
412
|
+
* How often the subscription is billed
|
|
413
|
+
*/
|
|
414
|
+
export type BillingFrequency = "MONTHLY" | "QUARTERLY" | "YEARLY" | "CUSTOM";
|
|
371
415
|
export interface BooleanArg {
|
|
372
416
|
type?: "boolean";
|
|
373
417
|
}
|
|
@@ -433,6 +477,9 @@ declare namespace Components {
|
|
|
433
477
|
}[]
|
|
434
478
|
];
|
|
435
479
|
}
|
|
480
|
+
export interface FreePricing {
|
|
481
|
+
pricing_type: "FREE";
|
|
482
|
+
}
|
|
436
483
|
export interface JourneyBlockComponent {
|
|
437
484
|
component_type: "CUSTOM_JOURNEY_BLOCK";
|
|
438
485
|
configuration: JourneyBlockConfig;
|
|
@@ -478,7 +525,7 @@ declare namespace Components {
|
|
|
478
525
|
* example:
|
|
479
526
|
* developer@example.com
|
|
480
527
|
*/
|
|
481
|
-
email
|
|
528
|
+
email?: string | null;
|
|
482
529
|
/**
|
|
483
530
|
* List of events to subscribe to
|
|
484
531
|
*/
|
|
@@ -574,6 +621,7 @@ declare namespace Components {
|
|
|
574
621
|
};
|
|
575
622
|
}[];
|
|
576
623
|
}
|
|
624
|
+
export type Pricing = FreePricing | SubscriptionPricing | UsageBasedPricing;
|
|
577
625
|
export interface S3Reference {
|
|
578
626
|
/**
|
|
579
627
|
* The name of the S3 bucket where the JSON file for import is stored.
|
|
@@ -588,6 +636,10 @@ declare namespace Components {
|
|
|
588
636
|
*/
|
|
589
637
|
key: string;
|
|
590
638
|
}
|
|
639
|
+
export interface SubscriptionPricing {
|
|
640
|
+
pricing_type: "SUBSCRIPTION";
|
|
641
|
+
billing_frequency: /* How often the subscription is billed */ BillingFrequency;
|
|
642
|
+
}
|
|
591
643
|
export interface TextArg {
|
|
592
644
|
type?: "text";
|
|
593
645
|
}
|
|
@@ -607,6 +659,9 @@ declare namespace Components {
|
|
|
607
659
|
*/
|
|
608
660
|
app_id?: string;
|
|
609
661
|
}
|
|
662
|
+
export interface UsageBasedPricing {
|
|
663
|
+
pricing_type: "USAGE_BASED";
|
|
664
|
+
}
|
|
610
665
|
}
|
|
611
666
|
}
|
|
612
667
|
declare namespace Paths {
|
|
@@ -811,6 +866,15 @@ declare namespace Paths {
|
|
|
811
866
|
}
|
|
812
867
|
}
|
|
813
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
|
+
}
|
|
814
878
|
namespace PromoteAppVersion {
|
|
815
879
|
namespace Parameters {
|
|
816
880
|
export type AppId = string;
|
|
@@ -929,6 +993,16 @@ export interface OperationMethods {
|
|
|
929
993
|
data?: Paths.UpdateAppConfigurationMetadata.RequestBody,
|
|
930
994
|
config?: AxiosRequestConfig
|
|
931
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>
|
|
932
1006
|
/**
|
|
933
1007
|
* createLogoUploadUrl - createLogoUploadUrl
|
|
934
1008
|
*
|
|
@@ -1085,6 +1159,16 @@ export interface PathsDictionary {
|
|
|
1085
1159
|
data?: any,
|
|
1086
1160
|
config?: AxiosRequestConfig
|
|
1087
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>
|
|
1088
1172
|
/**
|
|
1089
1173
|
* updateAppConfigurationMetadata - updateAppConfigurationMetadata
|
|
1090
1174
|
*
|
|
@@ -1241,10 +1325,12 @@ export type AppVersioned = Components.Schemas.AppVersioned;
|
|
|
1241
1325
|
export type Author = Components.Schemas.Author;
|
|
1242
1326
|
export type BaseComponent = Components.Schemas.BaseComponent;
|
|
1243
1327
|
export type BaseComponentCommon = Components.Schemas.BaseComponentCommon;
|
|
1328
|
+
export type BillingFrequency = Components.Schemas.BillingFrequency;
|
|
1244
1329
|
export type BooleanArg = Components.Schemas.BooleanArg;
|
|
1245
1330
|
export type CallerIdentity = Components.Schemas.CallerIdentity;
|
|
1246
1331
|
export type ComponentType = Components.Schemas.ComponentType;
|
|
1247
1332
|
export type EnumArg = Components.Schemas.EnumArg;
|
|
1333
|
+
export type FreePricing = Components.Schemas.FreePricing;
|
|
1248
1334
|
export type JourneyBlockComponent = Components.Schemas.JourneyBlockComponent;
|
|
1249
1335
|
export type JourneyBlockComponentArgs = Components.Schemas.JourneyBlockComponentArgs;
|
|
1250
1336
|
export type JourneyBlockConfig = Components.Schemas.JourneyBlockConfig;
|
|
@@ -1256,7 +1342,10 @@ export type OptionsRef = Components.Schemas.OptionsRef;
|
|
|
1256
1342
|
export type PortalAuth = Components.Schemas.PortalAuth;
|
|
1257
1343
|
export type PortalExtensionComponent = Components.Schemas.PortalExtensionComponent;
|
|
1258
1344
|
export type PortalExtensionConfig = Components.Schemas.PortalExtensionConfig;
|
|
1345
|
+
export type Pricing = Components.Schemas.Pricing;
|
|
1259
1346
|
export type S3Reference = Components.Schemas.S3Reference;
|
|
1347
|
+
export type SubscriptionPricing = Components.Schemas.SubscriptionPricing;
|
|
1260
1348
|
export type TextArg = Components.Schemas.TextArg;
|
|
1261
1349
|
export type TranslatedString = Components.Schemas.TranslatedString;
|
|
1262
1350
|
export type UploadFilePayload = Components.Schemas.UploadFilePayload;
|
|
1351
|
+
export type UsageBasedPricing = Components.Schemas.UsageBasedPricing;
|
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": {
|
|
@@ -760,9 +817,16 @@
|
|
|
760
817
|
"notifications": {
|
|
761
818
|
"$ref": "#/components/schemas/NotificationConfig"
|
|
762
819
|
},
|
|
820
|
+
"pricing": {
|
|
821
|
+
"$ref": "#/components/schemas/Pricing"
|
|
822
|
+
},
|
|
763
823
|
"logo_url_key": {
|
|
764
824
|
"type": "string",
|
|
765
825
|
"description": "S3 key of the logo file"
|
|
826
|
+
},
|
|
827
|
+
"support_email": {
|
|
828
|
+
"type": "string",
|
|
829
|
+
"description": "Email address for support requests"
|
|
766
830
|
}
|
|
767
831
|
}
|
|
768
832
|
}
|
|
@@ -987,13 +1051,10 @@
|
|
|
987
1051
|
},
|
|
988
1052
|
"NotificationConfig": {
|
|
989
1053
|
"type": "object",
|
|
990
|
-
"required": [
|
|
991
|
-
"email"
|
|
992
|
-
],
|
|
993
1054
|
"properties": {
|
|
994
1055
|
"email": {
|
|
995
1056
|
"type": "string",
|
|
996
|
-
"
|
|
1057
|
+
"nullable": true,
|
|
997
1058
|
"description": "Email address to receive notifications",
|
|
998
1059
|
"example": "developer@example.com"
|
|
999
1060
|
},
|
|
@@ -1381,6 +1442,84 @@
|
|
|
1381
1442
|
}
|
|
1382
1443
|
}
|
|
1383
1444
|
},
|
|
1445
|
+
"BillingFrequency": {
|
|
1446
|
+
"type": "string",
|
|
1447
|
+
"enum": [
|
|
1448
|
+
"MONTHLY",
|
|
1449
|
+
"QUARTERLY",
|
|
1450
|
+
"YEARLY",
|
|
1451
|
+
"CUSTOM"
|
|
1452
|
+
],
|
|
1453
|
+
"description": "How often the subscription is billed"
|
|
1454
|
+
},
|
|
1455
|
+
"Pricing": {
|
|
1456
|
+
"type": "object",
|
|
1457
|
+
"discriminator": {
|
|
1458
|
+
"propertyName": "pricing_type",
|
|
1459
|
+
"mapping": {
|
|
1460
|
+
"FREE": "#/components/schemas/FreePricing",
|
|
1461
|
+
"SUBSCRIPTION": "#/components/schemas/SubscriptionPricing",
|
|
1462
|
+
"USAGE_BASED": "#/components/schemas/UsageBasedPricing"
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
"oneOf": [
|
|
1466
|
+
{
|
|
1467
|
+
"$ref": "#/components/schemas/FreePricing"
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"$ref": "#/components/schemas/SubscriptionPricing"
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"$ref": "#/components/schemas/UsageBasedPricing"
|
|
1474
|
+
}
|
|
1475
|
+
]
|
|
1476
|
+
},
|
|
1477
|
+
"FreePricing": {
|
|
1478
|
+
"type": "object",
|
|
1479
|
+
"properties": {
|
|
1480
|
+
"pricing_type": {
|
|
1481
|
+
"type": "string",
|
|
1482
|
+
"enum": [
|
|
1483
|
+
"FREE"
|
|
1484
|
+
]
|
|
1485
|
+
}
|
|
1486
|
+
},
|
|
1487
|
+
"required": [
|
|
1488
|
+
"pricing_type"
|
|
1489
|
+
]
|
|
1490
|
+
},
|
|
1491
|
+
"SubscriptionPricing": {
|
|
1492
|
+
"type": "object",
|
|
1493
|
+
"properties": {
|
|
1494
|
+
"pricing_type": {
|
|
1495
|
+
"type": "string",
|
|
1496
|
+
"enum": [
|
|
1497
|
+
"SUBSCRIPTION"
|
|
1498
|
+
]
|
|
1499
|
+
},
|
|
1500
|
+
"billing_frequency": {
|
|
1501
|
+
"$ref": "#/components/schemas/BillingFrequency"
|
|
1502
|
+
}
|
|
1503
|
+
},
|
|
1504
|
+
"required": [
|
|
1505
|
+
"pricing_type",
|
|
1506
|
+
"billing_frequency"
|
|
1507
|
+
]
|
|
1508
|
+
},
|
|
1509
|
+
"UsageBasedPricing": {
|
|
1510
|
+
"type": "object",
|
|
1511
|
+
"properties": {
|
|
1512
|
+
"pricing_type": {
|
|
1513
|
+
"type": "string",
|
|
1514
|
+
"enum": [
|
|
1515
|
+
"USAGE_BASED"
|
|
1516
|
+
]
|
|
1517
|
+
}
|
|
1518
|
+
},
|
|
1519
|
+
"required": [
|
|
1520
|
+
"pricing_type"
|
|
1521
|
+
]
|
|
1522
|
+
},
|
|
1384
1523
|
"AppMetadata": {
|
|
1385
1524
|
"description": "Basic metadata about your app configuration which does not get versioned",
|
|
1386
1525
|
"type": "object",
|
|
@@ -1407,6 +1546,10 @@
|
|
|
1407
1546
|
"description": "List of available versions of the app",
|
|
1408
1547
|
"readOnly": true
|
|
1409
1548
|
},
|
|
1549
|
+
"support_email": {
|
|
1550
|
+
"type": "string",
|
|
1551
|
+
"description": "Email address for support requests"
|
|
1552
|
+
},
|
|
1410
1553
|
"latest_version": {
|
|
1411
1554
|
"type": "string",
|
|
1412
1555
|
"description": "Latest version of the app",
|
|
@@ -1447,6 +1590,10 @@
|
|
|
1447
1590
|
"description": "Flag to indicate if the app is built by epilot.",
|
|
1448
1591
|
"readOnly": true
|
|
1449
1592
|
},
|
|
1593
|
+
"pricing": {
|
|
1594
|
+
"$ref": "#/components/schemas/Pricing",
|
|
1595
|
+
"description": "Pricing information for the app"
|
|
1596
|
+
},
|
|
1450
1597
|
"created_at": {
|
|
1451
1598
|
"type": "string",
|
|
1452
1599
|
"description": "Timestamp of app creation",
|