@epilot/app-client 0.0.10 → 0.0.12
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 +143 -1
- package/dist/openapi.d.ts +552 -36
- package/dist/openapi.json +561 -82
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -10,18 +10,17 @@ import type {
|
|
|
10
10
|
|
|
11
11
|
declare namespace Components {
|
|
12
12
|
namespace RequestBodies {
|
|
13
|
+
export interface CreateAppRequest {
|
|
14
|
+
name: Schemas.TranslatedString;
|
|
15
|
+
description: Schemas.TranslatedString;
|
|
16
|
+
category?: string;
|
|
17
|
+
}
|
|
13
18
|
export interface InstallAppRequest {
|
|
14
19
|
/**
|
|
15
20
|
* Configuration values for the app components
|
|
16
21
|
*/
|
|
17
22
|
option_values?: Schemas.OptionsRef[];
|
|
18
23
|
}
|
|
19
|
-
export interface PublishAppRequest {
|
|
20
|
-
s3_reference: Schemas.S3Reference;
|
|
21
|
-
metadata?: {
|
|
22
|
-
access_level?: "public" | "private";
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
24
|
}
|
|
26
25
|
namespace Schemas {
|
|
27
26
|
/**
|
|
@@ -30,6 +29,19 @@ declare namespace Components {
|
|
|
30
29
|
export interface App {
|
|
31
30
|
app_id?: string;
|
|
32
31
|
name?: TranslatedString;
|
|
32
|
+
author?: Author;
|
|
33
|
+
/**
|
|
34
|
+
* List of available versions of the app
|
|
35
|
+
*/
|
|
36
|
+
versions?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* Latest version of the app
|
|
39
|
+
*/
|
|
40
|
+
latest_version?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Category of the app.
|
|
43
|
+
*/
|
|
44
|
+
category?: string;
|
|
33
45
|
/**
|
|
34
46
|
* URL of the app icon.
|
|
35
47
|
*/
|
|
@@ -38,42 +50,65 @@ declare namespace Components {
|
|
|
38
50
|
* URL of the app documentation.
|
|
39
51
|
*/
|
|
40
52
|
documentation_url?: string;
|
|
53
|
+
/**
|
|
54
|
+
* URL of the app homepage.
|
|
55
|
+
*/
|
|
56
|
+
homepage_url?: string;
|
|
41
57
|
description?: TranslatedString;
|
|
42
58
|
notifications?: NotificationConfig;
|
|
43
|
-
|
|
59
|
+
/**
|
|
60
|
+
* Organization ID of the app owner, required for private apps or sandbox accounts
|
|
61
|
+
*/
|
|
62
|
+
owner_org_id?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Flag to indicate if the app is built by epilot.
|
|
65
|
+
*/
|
|
66
|
+
internal?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Timestamp of app creation
|
|
69
|
+
*/
|
|
44
70
|
created_at?: string;
|
|
45
71
|
/**
|
|
46
|
-
*
|
|
72
|
+
* User ID of the user who created the app
|
|
47
73
|
*/
|
|
48
|
-
|
|
74
|
+
created_by?: string;
|
|
75
|
+
components?: BaseComponent[];
|
|
49
76
|
/**
|
|
50
|
-
*
|
|
77
|
+
* Flag to indicate if the app is public.
|
|
78
|
+
*/
|
|
79
|
+
public?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Flag to indicate if the app is pending for verification
|
|
82
|
+
*/
|
|
83
|
+
pending?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Version of the app that is installed
|
|
51
86
|
*/
|
|
52
|
-
updated_by?: string;
|
|
53
87
|
version?: string;
|
|
54
|
-
author?: Author;
|
|
55
|
-
status?: "published" | "pending";
|
|
56
|
-
components?: BaseComponent[];
|
|
57
88
|
/**
|
|
58
|
-
*
|
|
89
|
+
* Timestamp of the last version update
|
|
59
90
|
*/
|
|
60
|
-
|
|
91
|
+
versioned_at?: string;
|
|
61
92
|
/**
|
|
62
|
-
*
|
|
93
|
+
* User ID of the user who last updated the app
|
|
63
94
|
*/
|
|
64
|
-
|
|
95
|
+
versioned_by?: string;
|
|
65
96
|
/**
|
|
66
|
-
*
|
|
97
|
+
* Flag to indicate if the app is in beta.
|
|
67
98
|
*/
|
|
68
|
-
|
|
99
|
+
is_beta?: boolean;
|
|
69
100
|
/**
|
|
70
|
-
*
|
|
101
|
+
* Timestamp of the last update
|
|
71
102
|
*/
|
|
72
|
-
|
|
103
|
+
updated_at?: string;
|
|
104
|
+
/**
|
|
105
|
+
* User ID of the user who last updated the app
|
|
106
|
+
*/
|
|
107
|
+
updated_by?: string;
|
|
73
108
|
/**
|
|
74
109
|
* Unique identifier for the organization the app is installed in
|
|
75
110
|
*/
|
|
76
|
-
|
|
111
|
+
org_id?: string;
|
|
77
112
|
/**
|
|
78
113
|
* Timestamp of app creation
|
|
79
114
|
*/
|
|
@@ -90,6 +125,10 @@ declare namespace Components {
|
|
|
90
125
|
* Configuration values for the app components options
|
|
91
126
|
*/
|
|
92
127
|
option_values?: OptionsRef[];
|
|
128
|
+
/**
|
|
129
|
+
* Version of the app that is installed
|
|
130
|
+
*/
|
|
131
|
+
installed_version?: string;
|
|
93
132
|
}
|
|
94
133
|
/**
|
|
95
134
|
* Configuration of the published app
|
|
@@ -97,6 +136,19 @@ declare namespace Components {
|
|
|
97
136
|
export interface AppConfiguration {
|
|
98
137
|
app_id?: string;
|
|
99
138
|
name?: TranslatedString;
|
|
139
|
+
author?: Author;
|
|
140
|
+
/**
|
|
141
|
+
* List of available versions of the app
|
|
142
|
+
*/
|
|
143
|
+
versions?: string[];
|
|
144
|
+
/**
|
|
145
|
+
* Latest version of the app
|
|
146
|
+
*/
|
|
147
|
+
latest_version?: string;
|
|
148
|
+
/**
|
|
149
|
+
* Category of the app.
|
|
150
|
+
*/
|
|
151
|
+
category?: string;
|
|
100
152
|
/**
|
|
101
153
|
* URL of the app icon.
|
|
102
154
|
*/
|
|
@@ -106,33 +158,140 @@ declare namespace Components {
|
|
|
106
158
|
*/
|
|
107
159
|
documentation_url?: string;
|
|
108
160
|
/**
|
|
109
|
-
*
|
|
161
|
+
* URL of the app homepage.
|
|
110
162
|
*/
|
|
163
|
+
homepage_url?: string;
|
|
111
164
|
description?: TranslatedString;
|
|
165
|
+
notifications?: NotificationConfig;
|
|
112
166
|
/**
|
|
113
|
-
*
|
|
167
|
+
* Organization ID of the app owner, required for private apps or sandbox accounts
|
|
168
|
+
*/
|
|
169
|
+
owner_org_id?: string;
|
|
170
|
+
/**
|
|
171
|
+
* Flag to indicate if the app is built by epilot.
|
|
172
|
+
*/
|
|
173
|
+
internal?: boolean;
|
|
174
|
+
/**
|
|
175
|
+
* Timestamp of app creation
|
|
114
176
|
*/
|
|
115
|
-
notifications?: NotificationConfig;
|
|
116
|
-
created_by?: string;
|
|
117
177
|
created_at?: string;
|
|
178
|
+
/**
|
|
179
|
+
* User ID of the user who created the app
|
|
180
|
+
*/
|
|
181
|
+
created_by?: string;
|
|
182
|
+
components?: BaseComponent[];
|
|
183
|
+
/**
|
|
184
|
+
* Flag to indicate if the app is public.
|
|
185
|
+
*/
|
|
186
|
+
public?: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* Flag to indicate if the app is pending for verification
|
|
189
|
+
*/
|
|
190
|
+
pending?: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Version of the app that is installed
|
|
193
|
+
*/
|
|
194
|
+
version?: string;
|
|
195
|
+
/**
|
|
196
|
+
* Timestamp of the last version update
|
|
197
|
+
*/
|
|
198
|
+
versioned_at?: string;
|
|
199
|
+
/**
|
|
200
|
+
* User ID of the user who last updated the app
|
|
201
|
+
*/
|
|
202
|
+
versioned_by?: string;
|
|
203
|
+
/**
|
|
204
|
+
* Flag to indicate if the app is in beta.
|
|
205
|
+
*/
|
|
206
|
+
is_beta?: boolean;
|
|
118
207
|
updated_at?: string;
|
|
119
208
|
updated_by?: string;
|
|
120
|
-
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Basic metadata about your app configuration which does not get versioned
|
|
212
|
+
*/
|
|
213
|
+
export interface AppMetadata {
|
|
214
|
+
app_id?: string;
|
|
215
|
+
name?: TranslatedString;
|
|
121
216
|
author?: Author;
|
|
122
|
-
|
|
123
|
-
|
|
217
|
+
/**
|
|
218
|
+
* List of available versions of the app
|
|
219
|
+
*/
|
|
220
|
+
versions?: string[];
|
|
221
|
+
/**
|
|
222
|
+
* Latest version of the app
|
|
223
|
+
*/
|
|
224
|
+
latest_version?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Category of the app.
|
|
227
|
+
*/
|
|
228
|
+
category?: string;
|
|
229
|
+
/**
|
|
230
|
+
* URL of the app icon.
|
|
231
|
+
*/
|
|
232
|
+
icon_url?: string;
|
|
233
|
+
/**
|
|
234
|
+
* URL of the app documentation.
|
|
235
|
+
*/
|
|
236
|
+
documentation_url?: string;
|
|
237
|
+
/**
|
|
238
|
+
* URL of the app homepage.
|
|
239
|
+
*/
|
|
240
|
+
homepage_url?: string;
|
|
241
|
+
/**
|
|
242
|
+
* Markdown description of the app.
|
|
243
|
+
*/
|
|
244
|
+
description?: TranslatedString;
|
|
245
|
+
/**
|
|
246
|
+
* Configuration for developer notifications
|
|
247
|
+
*/
|
|
248
|
+
notifications?: NotificationConfig;
|
|
249
|
+
/**
|
|
250
|
+
* Organization ID of the app owner, required for private apps or sandbox accounts
|
|
251
|
+
*/
|
|
252
|
+
owner_org_id?: string;
|
|
124
253
|
/**
|
|
125
254
|
* Flag to indicate if the app is built by epilot.
|
|
126
255
|
*/
|
|
127
256
|
internal?: boolean;
|
|
128
257
|
/**
|
|
129
|
-
*
|
|
258
|
+
* Timestamp of app creation
|
|
130
259
|
*/
|
|
131
|
-
|
|
260
|
+
created_at?: string;
|
|
261
|
+
/**
|
|
262
|
+
* User ID of the user who created the app
|
|
263
|
+
*/
|
|
264
|
+
created_by?: string;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Configuration data about your app which is versionable
|
|
268
|
+
*/
|
|
269
|
+
export interface AppVersioned {
|
|
270
|
+
components?: BaseComponent[];
|
|
271
|
+
/**
|
|
272
|
+
* Flag to indicate if the app is public.
|
|
273
|
+
*/
|
|
274
|
+
public?: boolean;
|
|
275
|
+
/**
|
|
276
|
+
* Flag to indicate if the app is pending for verification
|
|
277
|
+
*/
|
|
278
|
+
pending?: boolean;
|
|
279
|
+
/**
|
|
280
|
+
* Version of the app that is installed
|
|
281
|
+
*/
|
|
282
|
+
version?: string;
|
|
283
|
+
/**
|
|
284
|
+
* Timestamp of the last version update
|
|
285
|
+
*/
|
|
286
|
+
versioned_at?: string;
|
|
287
|
+
/**
|
|
288
|
+
* User ID of the user who last updated the app
|
|
289
|
+
*/
|
|
290
|
+
versioned_by?: string;
|
|
132
291
|
/**
|
|
133
|
-
*
|
|
292
|
+
* Flag to indicate if the app is in beta.
|
|
134
293
|
*/
|
|
135
|
-
|
|
294
|
+
is_beta?: boolean;
|
|
136
295
|
}
|
|
137
296
|
export interface Author {
|
|
138
297
|
/**
|
|
@@ -418,6 +577,81 @@ declare namespace Components {
|
|
|
418
577
|
}
|
|
419
578
|
}
|
|
420
579
|
declare namespace Paths {
|
|
580
|
+
namespace CloneAppVersion {
|
|
581
|
+
namespace Parameters {
|
|
582
|
+
export type AppId = string;
|
|
583
|
+
export type SourceVersion = string;
|
|
584
|
+
export type TargetVersion = string;
|
|
585
|
+
}
|
|
586
|
+
export interface PathParameters {
|
|
587
|
+
appId: Parameters.AppId;
|
|
588
|
+
sourceVersion: Parameters.SourceVersion;
|
|
589
|
+
targetVersion: Parameters.TargetVersion;
|
|
590
|
+
}
|
|
591
|
+
namespace Responses {
|
|
592
|
+
export interface $201 {
|
|
593
|
+
app_id?: string;
|
|
594
|
+
version?: string;
|
|
595
|
+
status?: "pending" | "published";
|
|
596
|
+
}
|
|
597
|
+
export interface $400 {
|
|
598
|
+
}
|
|
599
|
+
export interface $404 {
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
namespace CreateAppConfiguration {
|
|
604
|
+
export type RequestBody = Components.RequestBodies.CreateAppRequest;
|
|
605
|
+
namespace Responses {
|
|
606
|
+
export interface $202 {
|
|
607
|
+
app_id: string;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
namespace CreateLogoUploadUrl {
|
|
612
|
+
namespace Responses {
|
|
613
|
+
export interface $200 {
|
|
614
|
+
/**
|
|
615
|
+
* Presigned S3 URL for uploading the logo
|
|
616
|
+
*/
|
|
617
|
+
upload_url: string;
|
|
618
|
+
/**
|
|
619
|
+
* Timestamp when the upload URL expires
|
|
620
|
+
*/
|
|
621
|
+
expires_at?: string; // date-time
|
|
622
|
+
}
|
|
623
|
+
export interface $404 {
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
namespace DeleteAppVersion {
|
|
628
|
+
namespace Parameters {
|
|
629
|
+
export type AppId = string;
|
|
630
|
+
export type Version = string;
|
|
631
|
+
}
|
|
632
|
+
export interface PathParameters {
|
|
633
|
+
appId: Parameters.AppId;
|
|
634
|
+
version: Parameters.Version;
|
|
635
|
+
}
|
|
636
|
+
namespace Responses {
|
|
637
|
+
export interface $204 {
|
|
638
|
+
}
|
|
639
|
+
export interface $400 {
|
|
640
|
+
}
|
|
641
|
+
export interface $404 {
|
|
642
|
+
}
|
|
643
|
+
export interface $409 {
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
namespace DeleteLogo {
|
|
648
|
+
namespace Responses {
|
|
649
|
+
export interface $204 {
|
|
650
|
+
}
|
|
651
|
+
export interface $404 {
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
}
|
|
421
655
|
namespace GetAppConfiguration {
|
|
422
656
|
namespace Responses {
|
|
423
657
|
export type $200 = /* Configuration of the published app */ Components.Schemas.AppConfiguration;
|
|
@@ -425,6 +659,21 @@ declare namespace Paths {
|
|
|
425
659
|
}
|
|
426
660
|
}
|
|
427
661
|
}
|
|
662
|
+
namespace GetAppConfigurationVersion {
|
|
663
|
+
namespace Parameters {
|
|
664
|
+
export type AppId = string;
|
|
665
|
+
export type Version = string;
|
|
666
|
+
}
|
|
667
|
+
export interface PathParameters {
|
|
668
|
+
appId: Parameters.AppId;
|
|
669
|
+
version: Parameters.Version;
|
|
670
|
+
}
|
|
671
|
+
namespace Responses {
|
|
672
|
+
export type $200 = /* Configuration of the published app */ Components.Schemas.AppConfiguration;
|
|
673
|
+
export interface $404 {
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
}
|
|
428
677
|
namespace GetInstalledApp {
|
|
429
678
|
namespace Parameters {
|
|
430
679
|
export type AppId = string;
|
|
@@ -453,6 +702,50 @@ declare namespace Paths {
|
|
|
453
702
|
}
|
|
454
703
|
}
|
|
455
704
|
}
|
|
705
|
+
namespace ListAppConfigurations {
|
|
706
|
+
namespace Parameters {
|
|
707
|
+
export type Page = number;
|
|
708
|
+
export type PageSize = number;
|
|
709
|
+
}
|
|
710
|
+
export interface QueryParameters {
|
|
711
|
+
page?: Parameters.Page;
|
|
712
|
+
pageSize?: Parameters.PageSize;
|
|
713
|
+
}
|
|
714
|
+
namespace Responses {
|
|
715
|
+
export interface $200 {
|
|
716
|
+
configurations?: /* Basic metadata about your app configuration which does not get versioned */ Components.Schemas.AppMetadata[];
|
|
717
|
+
pagination?: {
|
|
718
|
+
total?: number;
|
|
719
|
+
page?: number;
|
|
720
|
+
pageSize?: number;
|
|
721
|
+
};
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
namespace ListAppVersions {
|
|
726
|
+
namespace Parameters {
|
|
727
|
+
export type AppId = string;
|
|
728
|
+
export type Page = number;
|
|
729
|
+
export type PageSize = number;
|
|
730
|
+
}
|
|
731
|
+
export interface PathParameters {
|
|
732
|
+
appId: Parameters.AppId;
|
|
733
|
+
}
|
|
734
|
+
export interface QueryParameters {
|
|
735
|
+
page?: Parameters.Page;
|
|
736
|
+
pageSize?: Parameters.PageSize;
|
|
737
|
+
}
|
|
738
|
+
namespace Responses {
|
|
739
|
+
export interface $200 {
|
|
740
|
+
versions?: string[];
|
|
741
|
+
pagination?: {
|
|
742
|
+
total?: number;
|
|
743
|
+
page?: number;
|
|
744
|
+
pageSize?: number;
|
|
745
|
+
};
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
}
|
|
456
749
|
namespace ListInstalledApps {
|
|
457
750
|
namespace Parameters {
|
|
458
751
|
export type ComponentType = /* Type of app component */ Components.Schemas.ComponentType;
|
|
@@ -477,6 +770,23 @@ declare namespace Paths {
|
|
|
477
770
|
}
|
|
478
771
|
}
|
|
479
772
|
}
|
|
773
|
+
namespace PromoteAppVersion {
|
|
774
|
+
namespace Parameters {
|
|
775
|
+
export type AppId = string;
|
|
776
|
+
export type Version = string;
|
|
777
|
+
}
|
|
778
|
+
export interface PathParameters {
|
|
779
|
+
appId: Parameters.AppId;
|
|
780
|
+
version: Parameters.Version;
|
|
781
|
+
}
|
|
782
|
+
namespace Responses {
|
|
783
|
+
export type $200 = /* Information about the installed app */ Components.Schemas.App;
|
|
784
|
+
export interface $400 {
|
|
785
|
+
}
|
|
786
|
+
export interface $404 {
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
}
|
|
480
790
|
namespace UninstallApp {
|
|
481
791
|
namespace Parameters {
|
|
482
792
|
export type AppId = string;
|
|
@@ -492,6 +802,18 @@ declare namespace Paths {
|
|
|
492
802
|
}
|
|
493
803
|
}
|
|
494
804
|
namespace V1AppConfigurations$AppId {
|
|
805
|
+
namespace Parameters {
|
|
806
|
+
export type AppId = string;
|
|
807
|
+
export type Version = string;
|
|
808
|
+
}
|
|
809
|
+
export interface PathParameters {
|
|
810
|
+
appId: Parameters.AppId;
|
|
811
|
+
}
|
|
812
|
+
export interface QueryParameters {
|
|
813
|
+
version?: Parameters.Version;
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
namespace V1AppConfigurations$AppIdLogo {
|
|
495
817
|
namespace Parameters {
|
|
496
818
|
export type AppId = string;
|
|
497
819
|
}
|
|
@@ -502,16 +824,96 @@ declare namespace Paths {
|
|
|
502
824
|
}
|
|
503
825
|
|
|
504
826
|
export interface OperationMethods {
|
|
827
|
+
/**
|
|
828
|
+
* listAppConfigurations - listAppConfigurations
|
|
829
|
+
*
|
|
830
|
+
* List all app configuration metadata owned by an organization. To get full app configuration details, use the /v1/app-configurations/{appId} endpoint.
|
|
831
|
+
*/
|
|
832
|
+
'listAppConfigurations'(
|
|
833
|
+
parameters?: Parameters<Paths.ListAppConfigurations.QueryParameters> | null,
|
|
834
|
+
data?: any,
|
|
835
|
+
config?: AxiosRequestConfig
|
|
836
|
+
): OperationResponse<Paths.ListAppConfigurations.Responses.$200>
|
|
837
|
+
/**
|
|
838
|
+
* createAppConfiguration - createAppConfiguration
|
|
839
|
+
*
|
|
840
|
+
* Create a new private app configuration. To make it public a verification process needs to be triggered
|
|
841
|
+
*/
|
|
842
|
+
'createAppConfiguration'(
|
|
843
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
844
|
+
data?: Paths.CreateAppConfiguration.RequestBody,
|
|
845
|
+
config?: AxiosRequestConfig
|
|
846
|
+
): OperationResponse<Paths.CreateAppConfiguration.Responses.$202>
|
|
505
847
|
/**
|
|
506
848
|
* getAppConfiguration - getAppConfiguration
|
|
507
849
|
*
|
|
508
850
|
* Retrieve a specific app configuration
|
|
509
851
|
*/
|
|
510
852
|
'getAppConfiguration'(
|
|
511
|
-
parameters?: Parameters<Paths.V1AppConfigurations$AppId.PathParameters> | null,
|
|
853
|
+
parameters?: Parameters<Paths.V1AppConfigurations$AppId.QueryParameters & Paths.V1AppConfigurations$AppId.PathParameters> | null,
|
|
512
854
|
data?: any,
|
|
513
855
|
config?: AxiosRequestConfig
|
|
514
856
|
): OperationResponse<Paths.GetAppConfiguration.Responses.$200>
|
|
857
|
+
/**
|
|
858
|
+
* createLogoUploadUrl - createLogoUploadUrl
|
|
859
|
+
*
|
|
860
|
+
* Generate a presigned URL for uploading app logo to /<app-id>/logo.png path
|
|
861
|
+
*/
|
|
862
|
+
'createLogoUploadUrl'(
|
|
863
|
+
parameters?: Parameters<Paths.V1AppConfigurations$AppIdLogo.PathParameters> | null,
|
|
864
|
+
data?: any,
|
|
865
|
+
config?: AxiosRequestConfig
|
|
866
|
+
): OperationResponse<Paths.CreateLogoUploadUrl.Responses.$200>
|
|
867
|
+
/**
|
|
868
|
+
* deleteLogo - deleteLogo
|
|
869
|
+
*
|
|
870
|
+
* Delete the app logo from /<app-id>/logo.png path
|
|
871
|
+
*/
|
|
872
|
+
'deleteLogo'(
|
|
873
|
+
parameters?: Parameters<Paths.V1AppConfigurations$AppIdLogo.PathParameters> | null,
|
|
874
|
+
data?: any,
|
|
875
|
+
config?: AxiosRequestConfig
|
|
876
|
+
): OperationResponse<Paths.DeleteLogo.Responses.$204>
|
|
877
|
+
/**
|
|
878
|
+
* listAppVersions - listAppVersions
|
|
879
|
+
*
|
|
880
|
+
* Retrieve a list of versions for an app configuration
|
|
881
|
+
*/
|
|
882
|
+
'listAppVersions'(
|
|
883
|
+
parameters?: Parameters<Paths.ListAppVersions.QueryParameters & Paths.ListAppVersions.PathParameters> | null,
|
|
884
|
+
data?: any,
|
|
885
|
+
config?: AxiosRequestConfig
|
|
886
|
+
): OperationResponse<Paths.ListAppVersions.Responses.$200>
|
|
887
|
+
/**
|
|
888
|
+
* getAppConfigurationVersion - getAppConfigurationVersion
|
|
889
|
+
*
|
|
890
|
+
* Retrieve a specific version of an app configuration
|
|
891
|
+
*/
|
|
892
|
+
'getAppConfigurationVersion'(
|
|
893
|
+
parameters?: Parameters<Paths.GetAppConfigurationVersion.PathParameters> | null,
|
|
894
|
+
data?: any,
|
|
895
|
+
config?: AxiosRequestConfig
|
|
896
|
+
): OperationResponse<Paths.GetAppConfigurationVersion.Responses.$200>
|
|
897
|
+
/**
|
|
898
|
+
* deleteAppVersion - deleteAppVersion
|
|
899
|
+
*
|
|
900
|
+
* Delete a specific version of an app configuration
|
|
901
|
+
*/
|
|
902
|
+
'deleteAppVersion'(
|
|
903
|
+
parameters?: Parameters<Paths.DeleteAppVersion.PathParameters> | null,
|
|
904
|
+
data?: any,
|
|
905
|
+
config?: AxiosRequestConfig
|
|
906
|
+
): OperationResponse<Paths.DeleteAppVersion.Responses.$204>
|
|
907
|
+
/**
|
|
908
|
+
* cloneAppVersion - cloneAppVersion
|
|
909
|
+
*
|
|
910
|
+
* Clone an existing app version to create a new version
|
|
911
|
+
*/
|
|
912
|
+
'cloneAppVersion'(
|
|
913
|
+
parameters?: Parameters<Paths.CloneAppVersion.PathParameters> | null,
|
|
914
|
+
data?: any,
|
|
915
|
+
config?: AxiosRequestConfig
|
|
916
|
+
): OperationResponse<Paths.CloneAppVersion.Responses.$201>
|
|
515
917
|
/**
|
|
516
918
|
* listInstalledApps - listInstalledApps
|
|
517
919
|
*
|
|
@@ -552,9 +954,41 @@ export interface OperationMethods {
|
|
|
552
954
|
data?: any,
|
|
553
955
|
config?: AxiosRequestConfig
|
|
554
956
|
): OperationResponse<Paths.UninstallApp.Responses.$204>
|
|
957
|
+
/**
|
|
958
|
+
* promoteAppVersion - promoteAppVersion
|
|
959
|
+
*
|
|
960
|
+
* Update an installed app to a new version
|
|
961
|
+
*/
|
|
962
|
+
'promoteAppVersion'(
|
|
963
|
+
parameters?: Parameters<Paths.PromoteAppVersion.PathParameters> | null,
|
|
964
|
+
data?: any,
|
|
965
|
+
config?: AxiosRequestConfig
|
|
966
|
+
): OperationResponse<Paths.PromoteAppVersion.Responses.$200>
|
|
555
967
|
}
|
|
556
968
|
|
|
557
969
|
export interface PathsDictionary {
|
|
970
|
+
['/v1/app-configurations']: {
|
|
971
|
+
/**
|
|
972
|
+
* listAppConfigurations - listAppConfigurations
|
|
973
|
+
*
|
|
974
|
+
* List all app configuration metadata owned by an organization. To get full app configuration details, use the /v1/app-configurations/{appId} endpoint.
|
|
975
|
+
*/
|
|
976
|
+
'get'(
|
|
977
|
+
parameters?: Parameters<Paths.ListAppConfigurations.QueryParameters> | null,
|
|
978
|
+
data?: any,
|
|
979
|
+
config?: AxiosRequestConfig
|
|
980
|
+
): OperationResponse<Paths.ListAppConfigurations.Responses.$200>
|
|
981
|
+
/**
|
|
982
|
+
* createAppConfiguration - createAppConfiguration
|
|
983
|
+
*
|
|
984
|
+
* Create a new private app configuration. To make it public a verification process needs to be triggered
|
|
985
|
+
*/
|
|
986
|
+
'post'(
|
|
987
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
988
|
+
data?: Paths.CreateAppConfiguration.RequestBody,
|
|
989
|
+
config?: AxiosRequestConfig
|
|
990
|
+
): OperationResponse<Paths.CreateAppConfiguration.Responses.$202>
|
|
991
|
+
}
|
|
558
992
|
['/v1/app-configurations/{appId}']: {
|
|
559
993
|
/**
|
|
560
994
|
* getAppConfiguration - getAppConfiguration
|
|
@@ -562,11 +996,79 @@ export interface PathsDictionary {
|
|
|
562
996
|
* Retrieve a specific app configuration
|
|
563
997
|
*/
|
|
564
998
|
'get'(
|
|
565
|
-
parameters?: Parameters<Paths.V1AppConfigurations$AppId.PathParameters> | null,
|
|
999
|
+
parameters?: Parameters<Paths.V1AppConfigurations$AppId.QueryParameters & Paths.V1AppConfigurations$AppId.PathParameters> | null,
|
|
566
1000
|
data?: any,
|
|
567
1001
|
config?: AxiosRequestConfig
|
|
568
1002
|
): OperationResponse<Paths.GetAppConfiguration.Responses.$200>
|
|
569
1003
|
}
|
|
1004
|
+
['/v1/app-configurations/{appId}/logo']: {
|
|
1005
|
+
/**
|
|
1006
|
+
* createLogoUploadUrl - createLogoUploadUrl
|
|
1007
|
+
*
|
|
1008
|
+
* Generate a presigned URL for uploading app logo to /<app-id>/logo.png path
|
|
1009
|
+
*/
|
|
1010
|
+
'post'(
|
|
1011
|
+
parameters?: Parameters<Paths.V1AppConfigurations$AppIdLogo.PathParameters> | null,
|
|
1012
|
+
data?: any,
|
|
1013
|
+
config?: AxiosRequestConfig
|
|
1014
|
+
): OperationResponse<Paths.CreateLogoUploadUrl.Responses.$200>
|
|
1015
|
+
/**
|
|
1016
|
+
* deleteLogo - deleteLogo
|
|
1017
|
+
*
|
|
1018
|
+
* Delete the app logo from /<app-id>/logo.png path
|
|
1019
|
+
*/
|
|
1020
|
+
'delete'(
|
|
1021
|
+
parameters?: Parameters<Paths.V1AppConfigurations$AppIdLogo.PathParameters> | null,
|
|
1022
|
+
data?: any,
|
|
1023
|
+
config?: AxiosRequestConfig
|
|
1024
|
+
): OperationResponse<Paths.DeleteLogo.Responses.$204>
|
|
1025
|
+
}
|
|
1026
|
+
['/v1/app-configurations/{appId}/versions']: {
|
|
1027
|
+
/**
|
|
1028
|
+
* listAppVersions - listAppVersions
|
|
1029
|
+
*
|
|
1030
|
+
* Retrieve a list of versions for an app configuration
|
|
1031
|
+
*/
|
|
1032
|
+
'get'(
|
|
1033
|
+
parameters?: Parameters<Paths.ListAppVersions.QueryParameters & Paths.ListAppVersions.PathParameters> | null,
|
|
1034
|
+
data?: any,
|
|
1035
|
+
config?: AxiosRequestConfig
|
|
1036
|
+
): OperationResponse<Paths.ListAppVersions.Responses.$200>
|
|
1037
|
+
}
|
|
1038
|
+
['/v1/app-configurations/{appId}/versions/{version}']: {
|
|
1039
|
+
/**
|
|
1040
|
+
* getAppConfigurationVersion - getAppConfigurationVersion
|
|
1041
|
+
*
|
|
1042
|
+
* Retrieve a specific version of an app configuration
|
|
1043
|
+
*/
|
|
1044
|
+
'get'(
|
|
1045
|
+
parameters?: Parameters<Paths.GetAppConfigurationVersion.PathParameters> | null,
|
|
1046
|
+
data?: any,
|
|
1047
|
+
config?: AxiosRequestConfig
|
|
1048
|
+
): OperationResponse<Paths.GetAppConfigurationVersion.Responses.$200>
|
|
1049
|
+
/**
|
|
1050
|
+
* deleteAppVersion - deleteAppVersion
|
|
1051
|
+
*
|
|
1052
|
+
* Delete a specific version of an app configuration
|
|
1053
|
+
*/
|
|
1054
|
+
'delete'(
|
|
1055
|
+
parameters?: Parameters<Paths.DeleteAppVersion.PathParameters> | null,
|
|
1056
|
+
data?: any,
|
|
1057
|
+
config?: AxiosRequestConfig
|
|
1058
|
+
): OperationResponse<Paths.DeleteAppVersion.Responses.$204>
|
|
1059
|
+
}
|
|
1060
|
+
['/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}']: {
|
|
1061
|
+
/**
|
|
1062
|
+
* cloneAppVersion - cloneAppVersion
|
|
1063
|
+
*
|
|
1064
|
+
* Clone an existing app version to create a new version
|
|
1065
|
+
*/
|
|
1066
|
+
'post'(
|
|
1067
|
+
parameters?: Parameters<Paths.CloneAppVersion.PathParameters> | null,
|
|
1068
|
+
data?: any,
|
|
1069
|
+
config?: AxiosRequestConfig
|
|
1070
|
+
): OperationResponse<Paths.CloneAppVersion.Responses.$201>
|
|
1071
|
+
}
|
|
570
1072
|
['/v1/app']: {
|
|
571
1073
|
/**
|
|
572
1074
|
* listInstalledApps - listInstalledApps
|
|
@@ -611,12 +1113,26 @@ export interface PathsDictionary {
|
|
|
611
1113
|
config?: AxiosRequestConfig
|
|
612
1114
|
): OperationResponse<Paths.UninstallApp.Responses.$204>
|
|
613
1115
|
}
|
|
1116
|
+
['/v1/app/{appId}/promote-to/{version}']: {
|
|
1117
|
+
/**
|
|
1118
|
+
* promoteAppVersion - promoteAppVersion
|
|
1119
|
+
*
|
|
1120
|
+
* Update an installed app to a new version
|
|
1121
|
+
*/
|
|
1122
|
+
'post'(
|
|
1123
|
+
parameters?: Parameters<Paths.PromoteAppVersion.PathParameters> | null,
|
|
1124
|
+
data?: any,
|
|
1125
|
+
config?: AxiosRequestConfig
|
|
1126
|
+
): OperationResponse<Paths.PromoteAppVersion.Responses.$200>
|
|
1127
|
+
}
|
|
614
1128
|
}
|
|
615
1129
|
|
|
616
1130
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
617
1131
|
|
|
618
1132
|
export type App = Components.Schemas.App;
|
|
619
1133
|
export type AppConfiguration = Components.Schemas.AppConfiguration;
|
|
1134
|
+
export type AppMetadata = Components.Schemas.AppMetadata;
|
|
1135
|
+
export type AppVersioned = Components.Schemas.AppVersioned;
|
|
620
1136
|
export type Author = Components.Schemas.Author;
|
|
621
1137
|
export type BaseComponent = Components.Schemas.BaseComponent;
|
|
622
1138
|
export type BaseComponentCommon = Components.Schemas.BaseComponentCommon;
|