@microtronics/studio-cli 0.9.0 → 0.10.0

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.
@@ -3,6 +3,118 @@ import { Range as Range_2 } from 'yaml';
3
3
  import { SemVer } from 'semver';
4
4
  import { URI } from 'vscode-uri';
5
5
 
6
+ export declare namespace APM {
7
+ export enum TagPhase {
8
+ release = "release",
9
+ stage = "stage",
10
+ passive = "passive",
11
+ withdrawn = "withdrawn"
12
+ }
13
+ /**
14
+ * The APM parts that are predefined
15
+ */
16
+ export enum Part {
17
+ dde = "dde",
18
+ dlo = "dlo",
19
+ pov = "pov",
20
+ blo = "blo"
21
+ }
22
+ export interface TagHeader extends ApplicationTagInformation {
23
+ author: string;
24
+ version: string;
25
+ blo_level?: Manifest.BloAccessLevel;
26
+ required_be?: string;
27
+ required_hwfw?: string;
28
+ required_productcode?: string;
29
+ }
30
+ export interface DevTagHeader {
31
+ name: string;
32
+ abstract: string;
33
+ author: string;
34
+ pip_id: string;
35
+ pov_location: Manifest.PovLocation;
36
+ pov_details_lowlevel: boolean;
37
+ blo_level: Manifest.BloAccessLevel;
38
+ blo_autostart: boolean;
39
+ /**
40
+ * ONE specific
41
+ * the version 0 for ONE
42
+ */
43
+ version?: number;
44
+ /**
45
+ * ONE specific
46
+ * owner_id is the organizationID
47
+ */
48
+ owner_id?: string;
49
+ required_be?: string;
50
+ required_hwfw?: string;
51
+ required_productcode?: string;
52
+ }
53
+ /**
54
+ * Create new release tag
55
+ * @param cwd
56
+ * @param fs
57
+ * @param phase
58
+ */
59
+ export function createTag(cwd: URI, fs: LocalFS, phase: TagPhase): Promise<FormData>;
60
+ /**
61
+ * Create new dev tag.
62
+ * @param cwd
63
+ * @param fs
64
+ */
65
+ export function createDevTag(cwd: URI, fs: LocalFS): Promise<FormData>;
66
+ /**
67
+ * create FormData object that can be pushed to the store
68
+ * @private
69
+ * @param cwd
70
+ * @param fs
71
+ * @param manifest
72
+ * @param tagHeader
73
+ */
74
+ export function createBuffer(cwd: URI, fs: LocalFS, manifest: Manifest.Manifest, tagHeader: TagHeader | DevTagHeader): Promise<FormData>;
75
+ export type ApplicationAccessInformation = Registry.ApplicationDetailInformation & {
76
+ id: string;
77
+ };
78
+ /**
79
+ * Validate if the current user has access to the apm
80
+ */
81
+ export function validateAccess(cwd: URI, fs: LocalFS, token: Registry.AuthToken, preventCreation: boolean, env: Globals.ENV): Promise<ApplicationAccessInformation | null>;
82
+ /**
83
+ *
84
+ * @param cwd
85
+ * @param fs
86
+ * @param token
87
+ * @param manifest
88
+ * @param env
89
+ */
90
+ export function registerNew(cwd: URI, fs: LocalFS, token: Registry.AuthToken, manifest: Manifest.Manifest, env: Globals.ENV): Promise<string>;
91
+ /**
92
+ * Update the APM profile
93
+ * - allowedBackends, description and name will be upated
94
+ * @param cwd
95
+ * @param fs
96
+ * @param token
97
+ * @param env
98
+ */
99
+ export function updateProfile(cwd: URI, fs: LocalFS, token: Registry.AuthToken, env: Globals.ENV): Promise<void>;
100
+ /**
101
+ * Publish a new version to the store
102
+ * @param cwd
103
+ * @param fs
104
+ * @param token
105
+ * @param apmTag
106
+ * @param env
107
+ */
108
+ export function publishTag(cwd: URI, fs: LocalFS, token: Registry.AuthToken, apmTag: FormData, env: Globals.ENV): Promise<{
109
+ tag_stamp: string;
110
+ version: number | string;
111
+ phase: string;
112
+ phase_stamp: string;
113
+ }>;
114
+ }
115
+
116
+ declare type ApplicationTagInformation = components['schemas']['ApplicationTagInformation'];
117
+
6
118
  declare interface components {
7
119
  schemas: {
8
120
  /** @default 25 */
@@ -114,7 +226,7 @@ declare interface components {
114
226
  phase: components["schemas"]["ReleasePhases"];
115
227
  /** @enum {string} */
116
228
  pov_location: "$embedded" | "$pure";
117
- version: number;
229
+ version: string | number;
118
230
  };
119
231
  ApplicationVersionUpdate: {
120
232
  phase: components["schemas"]["ReleasePhases"];
@@ -209,8 +321,9 @@ declare interface components {
209
321
  LibraryFileName: "library.tar.gz" | "README.md" | "CHANGELOG.md" | "studio.json";
210
322
  /** @description Unique library id for this publisher */
211
323
  ApplicationId: string;
212
- /** @description version of the application. */
213
- ApplicationVersion: number;
324
+ /** @description version of the application. Either integer or for new applications semver */
325
+ ApplicationVersion: string | number;
326
+ ApplicationVersionInSemver: boolean;
214
327
  /** @description version of the library. Formatted as semantic version */
215
328
  ApplicationFileName: "release-notes.md";
216
329
  /** @description User Id */
@@ -1396,6 +1509,14 @@ export declare namespace DefaultFiles {
1396
1509
  mainDFILES: string;
1397
1510
  };
1398
1511
  };
1512
+ /**
1513
+ * Changelog.md
1514
+ */
1515
+ const readme: (name: string) => string;
1516
+ /**
1517
+ * Changelog.md
1518
+ */
1519
+ const changelog = "# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).";
1399
1520
  }
1400
1521
 
1401
1522
  export declare namespace Dependencies {
@@ -1700,6 +1821,14 @@ declare enum FileType {
1700
1821
  }
1701
1822
 
1702
1823
  export declare namespace Globals {
1824
+ /**
1825
+ * Supported ENV for the studio environment
1826
+ */
1827
+ export enum ENV {
1828
+ lucky = "lucky",
1829
+ winny = "winny",
1830
+ production = "production"
1831
+ }
1703
1832
  export interface Defines {
1704
1833
  [key: string]: string;
1705
1834
  }
@@ -1754,6 +1883,22 @@ export declare namespace Helper {
1754
1883
  export function convertBlobToString(blob: Uint8Array | any): string;
1755
1884
  export function normalizeLF(stringToNormalize?: string): string;
1756
1885
  export function convertBlobToStringArray(blob: Uint8Array | any): string[];
1886
+ /**
1887
+ * Check if the given value is numeric
1888
+ * @param v
1889
+ */
1890
+ const isNumeric: (v: any) => boolean;
1891
+ /**
1892
+ * Convert an uint8Array to a base64 string
1893
+ * @param bytes
1894
+ */
1895
+ export function bufferToBase64(bytes: Uint8Array): string;
1896
+ /**
1897
+ * Parse and resolve any {index} or {index+X} within the given value
1898
+ * @param valueToPatch
1899
+ * @param arrayIndex
1900
+ */
1901
+ export function patchValueWithArrayInfo(valueToPatch: any, arrayIndex: number): any;
1757
1902
  }
1758
1903
 
1759
1904
  declare interface LocalFS {
@@ -1830,7 +1975,7 @@ export declare namespace Manifest {
1830
1975
  pov?: {
1831
1976
  details?: ApmPartScripts;
1832
1977
  };
1833
- blo?: ApmPartScripts;
1978
+ blo?: BloSettings;
1834
1979
  }
1835
1980
  export interface Dependencies {
1836
1981
  [key: string]: string;
@@ -1839,6 +1984,17 @@ export declare namespace Manifest {
1839
1984
  buildCommand: string;
1840
1985
  workingPath: string;
1841
1986
  }
1987
+ export enum BloAccessLevel {
1988
+ restricted = "restricted",
1989
+ global = "global"
1990
+ }
1991
+ export interface BloSettings extends ApmPartScripts {
1992
+ accessLevel?: BloAccessLevel;
1993
+ }
1994
+ export enum PovLocation {
1995
+ embedded = "$embedded",
1996
+ pure = "$pure"
1997
+ }
1842
1998
  /**
1843
1999
  * Read the studio.json manifest and parse it
1844
2000
  * @param cwd
@@ -1856,9 +2012,2108 @@ export declare namespace Manifest {
1856
2012
  * Check if the current project is a library project
1857
2013
  */
1858
2014
  export function isLibraryProject(manifest: Manifest.Manifest): boolean;
2015
+ /**
2016
+ * Validates if the properties within
2017
+ * @param cwd
2018
+ * @param fs
2019
+ * @param manifest
2020
+ */
2021
+ export function validateManifest(cwd: URI, fs: LocalFS, manifest?: Manifest.Manifest): Promise<void>;
2022
+ export function validateLibraryName(libraryName: string): false | "Library name can only contain 'a' through 'z', '0' through '9', '_' and '-'. The Library name must start with an alphabetic or numeric character." | "The library name is beyond permissible length of 20 characters.";
2023
+ export function validateProjectName(name: string, isLibrary?: boolean): Promise<false | "Library name can only contain 'a' through 'z', '0' through '9', '_' and '-'. The Library name must start with an alphabetic or numeric character." | "The library name is beyond permissible length of 20 characters." | "Project name can only contain 'A' through 'Z', 'a' through 'z', '0' through '9', ' ', '_' and '-'. The Project name must start with an alphabetic or numeric character." | "The project name is beyond permissible length of 40 characters.">;
2024
+ export function validateDescription(description: string): Promise<false | "The description must have at least 5 characters.">;
2025
+ export function validatePublisherId(publisher: string): Promise<false | "No publisher set yet" | "Publisher can only contain 'A' through 'Z', 'a' through 'z', '0' through '9' and '-'. The Publisher start with an alphabetic or numeric character.">;
2026
+ export function validatePublisherOnline(token: Registry.AuthToken, publisher: string): Promise<string | false>;
2027
+ export function validateRegistryAllowedBackends(allowedBackends: undefined | null | string | string[]): Promise<string | false>;
2028
+ }
2029
+
2030
+ export declare namespace Package {
2031
+ /**
2032
+ * Build the whole project or only a specific part
2033
+ * @param cwd
2034
+ * @param fs
2035
+ * @param apmPart - choose a specific part that should be build
2036
+ */
2037
+ export function buildAll(cwd: URI, fs: LocalFS, apmPart?: APM.Part): Promise<void>;
2038
+ /**
2039
+ *
2040
+ * @param cwd
2041
+ * @param fs
2042
+ * @param token
2043
+ * @param releasePhase
2044
+ * @param env
2045
+ */
2046
+ export function releaseAPM(cwd: URI, fs: LocalFS, token: Registry.AuthToken, releasePhase: APM.TagPhase, env?: Globals.ENV): Promise<void>;
2047
+ /**
2048
+ * Read the projects README.md file
2049
+ * validates if the file content is the initial content
2050
+ * @param cwd
2051
+ * @param fs
2052
+ * @param projectName
2053
+ */
2054
+ export function getReadmeFile(cwd: URI, fs: LocalFS, projectName: string): Promise<Uint8Array>;
2055
+ /**
2056
+ * Read the projects CHANGELOG.md file
2057
+ * validates if the file content is the initial content
2058
+ * @param cwd
2059
+ * @param fs
2060
+ */
2061
+ export function getChangelogFile(cwd: URI, fs: LocalFS): Promise<Uint8Array>;
2062
+ }
2063
+
2064
+ /**
2065
+ * This file was auto-generated by openapi-typescript.
2066
+ * Do not make direct changes to the file.
2067
+ */
2068
+ declare interface paths {
2069
+ "/libraries": {
2070
+ parameters: {
2071
+ query?: never;
2072
+ header?: never;
2073
+ path?: never;
2074
+ cookie?: never;
2075
+ };
2076
+ /** Get a list of all accessible libraries */
2077
+ get: {
2078
+ parameters: {
2079
+ query?: {
2080
+ /** @description Limit the amount of entities that will be returned in the data array */
2081
+ limit?: components["parameters"]["PaginationLimit"];
2082
+ /** @description Set the offset to skip the given amount of entities in the database */
2083
+ offset?: components["parameters"]["PaginationOffset"];
2084
+ /** @description Id of the publisher */
2085
+ publisherId?: components["parameters"]["PublisherIdQuery"];
2086
+ };
2087
+ header?: never;
2088
+ path?: never;
2089
+ cookie?: never;
2090
+ };
2091
+ requestBody?: never;
2092
+ responses: {
2093
+ /** @description Successful operation */
2094
+ 200: {
2095
+ headers: {
2096
+ [name: string]: unknown;
2097
+ };
2098
+ content: {
2099
+ "application/json": {
2100
+ meta?: components["schemas"]["ResultMeta"];
2101
+ data?: [
2102
+ components["schemas"]["LibraryListInformation"]
2103
+ ];
2104
+ };
2105
+ };
2106
+ };
2107
+ /** @description bad request */
2108
+ 400: {
2109
+ headers: {
2110
+ [name: string]: unknown;
2111
+ };
2112
+ content: {
2113
+ "application/json": components["schemas"]["ErrorResponse"];
2114
+ };
2115
+ };
2116
+ /** @description unprocessable entity */
2117
+ 422: {
2118
+ headers: {
2119
+ [name: string]: unknown;
2120
+ };
2121
+ content: {
2122
+ "application/json": components["schemas"]["ErrorResponse"];
2123
+ };
2124
+ };
2125
+ /** @description internal Server Error */
2126
+ 500: {
2127
+ headers: {
2128
+ [name: string]: unknown;
2129
+ };
2130
+ content: {
2131
+ "application/json": components["schemas"]["ErrorResponse"];
2132
+ };
2133
+ };
2134
+ };
2135
+ };
2136
+ put?: never;
2137
+ post?: never;
2138
+ delete?: never;
2139
+ options?: never;
2140
+ head?: never;
2141
+ patch?: never;
2142
+ trace?: never;
2143
+ };
2144
+ "/applications": {
2145
+ parameters: {
2146
+ query?: never;
2147
+ header?: never;
2148
+ path?: never;
2149
+ cookie?: never;
2150
+ };
2151
+ /** Get a list of all accessible applications */
2152
+ get: {
2153
+ parameters: {
2154
+ query?: {
2155
+ /** @description Limit the amount of entities that will be returned in the data array */
2156
+ limit?: components["parameters"]["PaginationLimit"];
2157
+ /** @description Set the offset to skip the given amount of entities in the database */
2158
+ offset?: components["parameters"]["PaginationOffset"];
2159
+ /** @description Id of the publisher */
2160
+ publisherId?: components["parameters"]["PublisherIdQuery"];
2161
+ };
2162
+ header?: never;
2163
+ path?: never;
2164
+ cookie?: never;
2165
+ };
2166
+ requestBody?: never;
2167
+ responses: {
2168
+ /** @description Successful operation */
2169
+ 200: {
2170
+ headers: {
2171
+ [name: string]: unknown;
2172
+ };
2173
+ content: {
2174
+ "application/json": {
2175
+ meta?: components["schemas"]["ResultMeta"];
2176
+ data?: [
2177
+ components["schemas"]["ApplicationListInformation"]
2178
+ ];
2179
+ };
2180
+ };
2181
+ };
2182
+ /** @description bad request */
2183
+ 400: {
2184
+ headers: {
2185
+ [name: string]: unknown;
2186
+ };
2187
+ content: {
2188
+ "application/json": components["schemas"]["ErrorResponse"];
2189
+ };
2190
+ };
2191
+ /** @description unprocessable entity */
2192
+ 422: {
2193
+ headers: {
2194
+ [name: string]: unknown;
2195
+ };
2196
+ content: {
2197
+ "application/json": components["schemas"]["ErrorResponse"];
2198
+ };
2199
+ };
2200
+ /** @description internal Server Error */
2201
+ 500: {
2202
+ headers: {
2203
+ [name: string]: unknown;
2204
+ };
2205
+ content: {
2206
+ "application/json": components["schemas"]["ErrorResponse"];
2207
+ };
2208
+ };
2209
+ };
2210
+ };
2211
+ put?: never;
2212
+ post?: never;
2213
+ delete?: never;
2214
+ options?: never;
2215
+ head?: never;
2216
+ patch?: never;
2217
+ trace?: never;
2218
+ };
2219
+ "/publisher": {
2220
+ parameters: {
2221
+ query?: never;
2222
+ header?: never;
2223
+ path?: never;
2224
+ cookie?: never;
2225
+ };
2226
+ /** Get a list of all publishers. Security is optional. */
2227
+ get: {
2228
+ parameters: {
2229
+ query?: {
2230
+ /** @description Limit the amount of entities that will be returned in the data array */
2231
+ limit?: components["parameters"]["PaginationLimit"];
2232
+ /** @description Set the offset to skip the given amount of entities in the database */
2233
+ offset?: components["parameters"]["PaginationOffset"];
2234
+ /** @description Get all publishers that have the given id as member. Authentication required for this call! */
2235
+ memberId?: string;
2236
+ };
2237
+ header?: never;
2238
+ path?: never;
2239
+ cookie?: never;
2240
+ };
2241
+ requestBody?: never;
2242
+ responses: {
2243
+ /** @description Successful operation */
2244
+ 200: {
2245
+ headers: {
2246
+ [name: string]: unknown;
2247
+ };
2248
+ content: {
2249
+ "application/json": {
2250
+ meta?: components["schemas"]["ResultMeta"];
2251
+ data?: [
2252
+ components["schemas"]["Publisher"]
2253
+ ];
2254
+ };
2255
+ };
2256
+ };
2257
+ /** @description bad request */
2258
+ 400: {
2259
+ headers: {
2260
+ [name: string]: unknown;
2261
+ };
2262
+ content: {
2263
+ "application/json": components["schemas"]["ErrorResponse"];
2264
+ };
2265
+ };
2266
+ /** @description unauthorized */
2267
+ 401: {
2268
+ headers: {
2269
+ [name: string]: unknown;
2270
+ };
2271
+ content: {
2272
+ "application/json": components["schemas"]["ErrorResponse"];
2273
+ };
2274
+ };
2275
+ /** @description unprocessable entity */
2276
+ 422: {
2277
+ headers: {
2278
+ [name: string]: unknown;
2279
+ };
2280
+ content: {
2281
+ "application/json": components["schemas"]["ErrorResponse"];
2282
+ };
2283
+ };
2284
+ /** @description internal Server Error */
2285
+ 500: {
2286
+ headers: {
2287
+ [name: string]: unknown;
2288
+ };
2289
+ content: {
2290
+ "application/json": components["schemas"]["ErrorResponse"];
2291
+ };
2292
+ };
2293
+ };
2294
+ };
2295
+ put?: never;
2296
+ /** Add a new publisher */
2297
+ post: {
2298
+ parameters: {
2299
+ query?: never;
2300
+ header?: never;
2301
+ path?: never;
2302
+ cookie?: never;
2303
+ };
2304
+ requestBody?: {
2305
+ content: {
2306
+ "application/json": components["schemas"]["NewPublisher"];
2307
+ };
2308
+ };
2309
+ responses: {
2310
+ /** @description successful operation */
2311
+ 201: {
2312
+ headers: {
2313
+ [name: string]: unknown;
2314
+ };
2315
+ content: {
2316
+ "application/json": {
2317
+ /** @description The id of the newly created publisher */
2318
+ id?: string;
2319
+ };
2320
+ };
2321
+ };
2322
+ /** @description bad request */
2323
+ 400: {
2324
+ headers: {
2325
+ [name: string]: unknown;
2326
+ };
2327
+ content: {
2328
+ "application/json": components["schemas"]["ErrorResponse"];
2329
+ };
2330
+ };
2331
+ /** @description unprocessable entity */
2332
+ 422: {
2333
+ headers: {
2334
+ [name: string]: unknown;
2335
+ };
2336
+ content: {
2337
+ "application/json": components["schemas"]["ErrorResponse"];
2338
+ };
2339
+ };
2340
+ /** @description internal Server Error */
2341
+ 500: {
2342
+ headers: {
2343
+ [name: string]: unknown;
2344
+ };
2345
+ content: {
2346
+ "application/json": components["schemas"]["ErrorResponse"];
2347
+ };
2348
+ };
2349
+ };
2350
+ };
2351
+ delete?: never;
2352
+ options?: never;
2353
+ head?: never;
2354
+ patch?: never;
2355
+ trace?: never;
2356
+ };
2357
+ "/publisher/{publisherId}": {
2358
+ parameters: {
2359
+ query?: never;
2360
+ header?: never;
2361
+ path?: never;
2362
+ cookie?: never;
2363
+ };
2364
+ /** Get the profile of the given publisherId. */
2365
+ get: {
2366
+ parameters: {
2367
+ query?: never;
2368
+ header?: never;
2369
+ path: {
2370
+ /** @description Id of the publisher */
2371
+ publisherId: components["parameters"]["PublisherId"];
2372
+ };
2373
+ cookie?: never;
2374
+ };
2375
+ requestBody?: never;
2376
+ responses: {
2377
+ /** @description successful operation */
2378
+ 200: {
2379
+ headers: {
2380
+ [name: string]: unknown;
2381
+ };
2382
+ content: {
2383
+ "application/json": components["schemas"]["Publisher"];
2384
+ };
2385
+ };
2386
+ /** @description bad request */
2387
+ 400: {
2388
+ headers: {
2389
+ [name: string]: unknown;
2390
+ };
2391
+ content: {
2392
+ "application/json": components["schemas"]["ErrorResponse"];
2393
+ };
2394
+ };
2395
+ /** @description not found */
2396
+ 404: {
2397
+ headers: {
2398
+ [name: string]: unknown;
2399
+ };
2400
+ content: {
2401
+ "application/json": components["schemas"]["ErrorResponse"];
2402
+ };
2403
+ };
2404
+ /** @description unprocessable entity */
2405
+ 422: {
2406
+ headers: {
2407
+ [name: string]: unknown;
2408
+ };
2409
+ content: {
2410
+ "application/json": components["schemas"]["ErrorResponse"];
2411
+ };
2412
+ };
2413
+ /** @description internal Server Error */
2414
+ 500: {
2415
+ headers: {
2416
+ [name: string]: unknown;
2417
+ };
2418
+ content: {
2419
+ "application/json": components["schemas"]["ErrorResponse"];
2420
+ };
2421
+ };
2422
+ };
2423
+ };
2424
+ put?: never;
2425
+ post?: never;
2426
+ delete?: never;
2427
+ options?: never;
2428
+ head?: never;
2429
+ patch?: never;
2430
+ trace?: never;
2431
+ };
2432
+ "/publisher/{publisherId}/libraries/{libraryId}": {
2433
+ parameters: {
2434
+ query?: never;
2435
+ header?: never;
2436
+ path?: never;
2437
+ cookie?: never;
2438
+ };
2439
+ /** Get the profile of the given library. Security is optional. */
2440
+ get: {
2441
+ parameters: {
2442
+ query?: never;
2443
+ header?: never;
2444
+ path: {
2445
+ /** @description Id of the publisher */
2446
+ publisherId: components["parameters"]["PublisherId"];
2447
+ /** @description Unique library id for this publisher */
2448
+ libraryId: components["parameters"]["LibraryId"];
2449
+ };
2450
+ cookie?: never;
2451
+ };
2452
+ requestBody?: never;
2453
+ responses: {
2454
+ /** @description successful operation */
2455
+ 200: {
2456
+ headers: {
2457
+ [name: string]: unknown;
2458
+ };
2459
+ content: {
2460
+ "application/json": components["schemas"]["LibraryDetailInformation"];
2461
+ };
2462
+ };
2463
+ /** @description bad request */
2464
+ 400: {
2465
+ headers: {
2466
+ [name: string]: unknown;
2467
+ };
2468
+ content: {
2469
+ "application/json": components["schemas"]["ErrorResponse"];
2470
+ };
2471
+ };
2472
+ /** @description not found */
2473
+ 404: {
2474
+ headers: {
2475
+ [name: string]: unknown;
2476
+ };
2477
+ content: {
2478
+ "application/json": components["schemas"]["ErrorResponse"];
2479
+ };
2480
+ };
2481
+ /** @description unprocessable entity */
2482
+ 422: {
2483
+ headers: {
2484
+ [name: string]: unknown;
2485
+ };
2486
+ content: {
2487
+ "application/json": components["schemas"]["ErrorResponse"];
2488
+ };
2489
+ };
2490
+ /** @description internal Server Error */
2491
+ 500: {
2492
+ headers: {
2493
+ [name: string]: unknown;
2494
+ };
2495
+ content: {
2496
+ "application/json": components["schemas"]["ErrorResponse"];
2497
+ };
2498
+ };
2499
+ };
2500
+ };
2501
+ put?: never;
2502
+ post?: never;
2503
+ /** Remove the given library from the registry. Publisher owner privileges needed! */
2504
+ delete: {
2505
+ parameters: {
2506
+ query?: never;
2507
+ header?: never;
2508
+ path: {
2509
+ /** @description Id of the publisher */
2510
+ publisherId: components["parameters"]["PublisherId"];
2511
+ /** @description Unique library id for this publisher */
2512
+ libraryId: components["parameters"]["LibraryId"];
2513
+ };
2514
+ cookie?: never;
2515
+ };
2516
+ requestBody?: never;
2517
+ responses: {
2518
+ /** @description successful operation */
2519
+ 204: {
2520
+ headers: {
2521
+ [name: string]: unknown;
2522
+ };
2523
+ content?: never;
2524
+ };
2525
+ /** @description bad request */
2526
+ 400: {
2527
+ headers: {
2528
+ [name: string]: unknown;
2529
+ };
2530
+ content: {
2531
+ "application/json": components["schemas"]["ErrorResponse"];
2532
+ };
2533
+ };
2534
+ /** @description not found */
2535
+ 404: {
2536
+ headers: {
2537
+ [name: string]: unknown;
2538
+ };
2539
+ content: {
2540
+ "application/json": components["schemas"]["ErrorResponse"];
2541
+ };
2542
+ };
2543
+ /** @description unprocessable entity */
2544
+ 422: {
2545
+ headers: {
2546
+ [name: string]: unknown;
2547
+ };
2548
+ content: {
2549
+ "application/json": components["schemas"]["ErrorResponse"];
2550
+ };
2551
+ };
2552
+ /** @description internal Server Error */
2553
+ 500: {
2554
+ headers: {
2555
+ [name: string]: unknown;
2556
+ };
2557
+ content: {
2558
+ "application/json": components["schemas"]["ErrorResponse"];
2559
+ };
2560
+ };
2561
+ };
2562
+ };
2563
+ options?: never;
2564
+ head?: never;
2565
+ patch?: never;
2566
+ trace?: never;
2567
+ };
2568
+ "/publisher/{publisherId}/applications/{applicationId}": {
2569
+ parameters: {
2570
+ query?: never;
2571
+ header?: never;
2572
+ path?: never;
2573
+ cookie?: never;
2574
+ };
2575
+ /** Get the profile of the given application. */
2576
+ get: {
2577
+ parameters: {
2578
+ query?: never;
2579
+ header?: {
2580
+ "X-Semver"?: components["parameters"]["ApplicationVersionInSemver"];
2581
+ };
2582
+ path: {
2583
+ /** @description Id of the publisher */
2584
+ publisherId: components["parameters"]["PublisherId"];
2585
+ /** @description Unique library id for this publisher */
2586
+ applicationId: components["parameters"]["ApplicationId"];
2587
+ };
2588
+ cookie?: never;
2589
+ };
2590
+ requestBody?: never;
2591
+ responses: {
2592
+ /** @description successful operation */
2593
+ 200: {
2594
+ headers: {
2595
+ [name: string]: unknown;
2596
+ };
2597
+ content: {
2598
+ "application/json": components["schemas"]["ApplicationDetailInformation"];
2599
+ };
2600
+ };
2601
+ /** @description bad request */
2602
+ 400: {
2603
+ headers: {
2604
+ [name: string]: unknown;
2605
+ };
2606
+ content: {
2607
+ "application/json": components["schemas"]["ErrorResponse"];
2608
+ };
2609
+ };
2610
+ /** @description not found */
2611
+ 404: {
2612
+ headers: {
2613
+ [name: string]: unknown;
2614
+ };
2615
+ content: {
2616
+ "application/json": components["schemas"]["ErrorResponse"];
2617
+ };
2618
+ };
2619
+ /** @description unprocessable entity */
2620
+ 422: {
2621
+ headers: {
2622
+ [name: string]: unknown;
2623
+ };
2624
+ content: {
2625
+ "application/json": components["schemas"]["ErrorResponse"];
2626
+ };
2627
+ };
2628
+ /** @description internal Server Error */
2629
+ 500: {
2630
+ headers: {
2631
+ [name: string]: unknown;
2632
+ };
2633
+ content: {
2634
+ "application/json": components["schemas"]["ErrorResponse"];
2635
+ };
2636
+ };
2637
+ };
2638
+ };
2639
+ put?: never;
2640
+ post?: never;
2641
+ delete?: never;
2642
+ options?: never;
2643
+ head?: never;
2644
+ patch?: never;
2645
+ trace?: never;
2646
+ };
2647
+ "/packages/{publisherId}/libraries/{libraryId}/versions/{libraryVersion}": {
2648
+ parameters: {
2649
+ query?: never;
2650
+ header?: never;
2651
+ path?: never;
2652
+ cookie?: never;
2653
+ };
2654
+ get?: never;
2655
+ put?: never;
2656
+ /** Add a new library version to the registry */
2657
+ post: {
2658
+ parameters: {
2659
+ query?: never;
2660
+ header?: never;
2661
+ path: {
2662
+ /** @description Id of the publisher */
2663
+ publisherId: components["parameters"]["PublisherId"];
2664
+ /** @description Unique library id for this publisher */
2665
+ libraryId: components["parameters"]["LibraryId"];
2666
+ /** @description version of the library. Formatted as semantic version */
2667
+ libraryVersion: components["parameters"]["LibraryVersion"];
2668
+ };
2669
+ cookie?: never;
2670
+ };
2671
+ requestBody?: {
2672
+ content: {
2673
+ "multipart/form-data": {
2674
+ /**
2675
+ * Format: binary
2676
+ * @description The studio.json file of the library
2677
+ */
2678
+ "studio.json"?: string;
2679
+ /**
2680
+ * Format: binary
2681
+ * @description The library packed and compressed as tar.gz
2682
+ */
2683
+ "library.tar.gz"?: string;
2684
+ /**
2685
+ * Format: binary
2686
+ * @description An optional README file that describes your library in detail
2687
+ */
2688
+ "README.md"?: string;
2689
+ /**
2690
+ * Format: binary
2691
+ * @description An optional Chan
2692
+ */
2693
+ "CHANGELOG.md"?: string;
2694
+ };
2695
+ };
2696
+ };
2697
+ responses: {
2698
+ /** @description successful operation */
2699
+ 204: {
2700
+ headers: {
2701
+ [name: string]: unknown;
2702
+ };
2703
+ content?: never;
2704
+ };
2705
+ /** @description bad request */
2706
+ 400: {
2707
+ headers: {
2708
+ [name: string]: unknown;
2709
+ };
2710
+ content: {
2711
+ "application/json": components["schemas"]["ErrorResponse"];
2712
+ };
2713
+ };
2714
+ /** @description forbidden */
2715
+ 403: {
2716
+ headers: {
2717
+ [name: string]: unknown;
2718
+ };
2719
+ content: {
2720
+ "application/json": components["schemas"]["ErrorResponse"];
2721
+ };
2722
+ };
2723
+ /** @description not found */
2724
+ 404: {
2725
+ headers: {
2726
+ [name: string]: unknown;
2727
+ };
2728
+ content: {
2729
+ "application/json": components["schemas"]["ErrorResponse"];
2730
+ };
2731
+ };
2732
+ /** @description conflict */
2733
+ 409: {
2734
+ headers: {
2735
+ [name: string]: unknown;
2736
+ };
2737
+ content: {
2738
+ "application/json": components["schemas"]["ErrorResponse"];
2739
+ };
2740
+ };
2741
+ /** @description unprocessable entity */
2742
+ 422: {
2743
+ headers: {
2744
+ [name: string]: unknown;
2745
+ };
2746
+ content: {
2747
+ "application/json": components["schemas"]["ErrorResponse"];
2748
+ };
2749
+ };
2750
+ /** @description internal Server Error */
2751
+ 500: {
2752
+ headers: {
2753
+ [name: string]: unknown;
2754
+ };
2755
+ content: {
2756
+ "application/json": components["schemas"]["ErrorResponse"];
2757
+ };
2758
+ };
2759
+ };
2760
+ };
2761
+ delete?: never;
2762
+ options?: never;
2763
+ head?: never;
2764
+ patch?: never;
2765
+ trace?: never;
2766
+ };
2767
+ "/packages/{publisherId}/libraries/{libraryId}/versions/{libraryVersion}/files/{fileName}": {
2768
+ parameters: {
2769
+ query?: never;
2770
+ header?: never;
2771
+ path?: never;
2772
+ cookie?: never;
2773
+ };
2774
+ /** Download a specific file of a library. Security is optional. */
2775
+ get: {
2776
+ parameters: {
2777
+ query?: never;
2778
+ header?: never;
2779
+ path: {
2780
+ /** @description Id of the publisher */
2781
+ publisherId: components["parameters"]["PublisherId"];
2782
+ /** @description Unique library id for this publisher */
2783
+ libraryId: components["parameters"]["LibraryId"];
2784
+ /** @description version of the library. Formatted as semantic version */
2785
+ libraryVersion: components["parameters"]["LibraryVersion"];
2786
+ /** @description Filename that can be fetched */
2787
+ libraryFileName: components["parameters"]["LibraryFileName"];
2788
+ };
2789
+ cookie?: never;
2790
+ };
2791
+ requestBody?: never;
2792
+ responses: {
2793
+ /** @description successful operation */
2794
+ 200: {
2795
+ headers: {
2796
+ [name: string]: unknown;
2797
+ };
2798
+ content: {
2799
+ "application/gzip": string;
2800
+ "text/markdown": string;
2801
+ };
2802
+ };
2803
+ /** @description bad request */
2804
+ 400: {
2805
+ headers: {
2806
+ [name: string]: unknown;
2807
+ };
2808
+ content: {
2809
+ "application/json": components["schemas"]["ErrorResponse"];
2810
+ };
2811
+ };
2812
+ /** @description not found */
2813
+ 404: {
2814
+ headers: {
2815
+ [name: string]: unknown;
2816
+ };
2817
+ content: {
2818
+ "application/json": components["schemas"]["ErrorResponse"];
2819
+ };
2820
+ };
2821
+ /** @description unprocessable entity */
2822
+ 422: {
2823
+ headers: {
2824
+ [name: string]: unknown;
2825
+ };
2826
+ content: {
2827
+ "application/json": components["schemas"]["ErrorResponse"];
2828
+ };
2829
+ };
2830
+ /** @description internal Server Error */
2831
+ 500: {
2832
+ headers: {
2833
+ [name: string]: unknown;
2834
+ };
2835
+ content: {
2836
+ "application/json": components["schemas"]["ErrorResponse"];
2837
+ };
2838
+ };
2839
+ };
2840
+ };
2841
+ put?: never;
2842
+ post?: never;
2843
+ delete?: never;
2844
+ options?: never;
2845
+ head?: never;
2846
+ patch?: never;
2847
+ trace?: never;
2848
+ };
2849
+ "/packages/{publisherId}/applications": {
2850
+ parameters: {
2851
+ query?: never;
2852
+ header?: never;
2853
+ path?: never;
2854
+ cookie?: never;
2855
+ };
2856
+ get?: never;
2857
+ put?: never;
2858
+ /** Add a new application to the registry */
2859
+ post: {
2860
+ parameters: {
2861
+ query?: never;
2862
+ header?: never;
2863
+ path: {
2864
+ /** @description Id of the publisher */
2865
+ publisherId: components["parameters"]["PublisherId"];
2866
+ };
2867
+ cookie?: never;
2868
+ };
2869
+ requestBody?: {
2870
+ content: {
2871
+ "application/json": components["schemas"]["NewApplication"];
2872
+ };
2873
+ };
2874
+ responses: {
2875
+ /** @description successful operation */
2876
+ 201: {
2877
+ headers: {
2878
+ [name: string]: unknown;
2879
+ };
2880
+ content: {
2881
+ "application/json": {
2882
+ /** @description The newly generated application id */
2883
+ id?: string;
2884
+ };
2885
+ };
2886
+ };
2887
+ /** @description bad request */
2888
+ 400: {
2889
+ headers: {
2890
+ [name: string]: unknown;
2891
+ };
2892
+ content: {
2893
+ "application/json": components["schemas"]["ErrorResponse"];
2894
+ };
2895
+ };
2896
+ /** @description forbidden */
2897
+ 403: {
2898
+ headers: {
2899
+ [name: string]: unknown;
2900
+ };
2901
+ content: {
2902
+ "application/json": components["schemas"]["ErrorResponse"];
2903
+ };
2904
+ };
2905
+ /** @description not found */
2906
+ 404: {
2907
+ headers: {
2908
+ [name: string]: unknown;
2909
+ };
2910
+ content: {
2911
+ "application/json": components["schemas"]["ErrorResponse"];
2912
+ };
2913
+ };
2914
+ /** @description conflict */
2915
+ 409: {
2916
+ headers: {
2917
+ [name: string]: unknown;
2918
+ };
2919
+ content: {
2920
+ "application/json": components["schemas"]["ErrorResponse"];
2921
+ };
2922
+ };
2923
+ /** @description unprocessable entity */
2924
+ 422: {
2925
+ headers: {
2926
+ [name: string]: unknown;
2927
+ };
2928
+ content: {
2929
+ "application/json": components["schemas"]["ErrorResponse"];
2930
+ };
2931
+ };
2932
+ /** @description internal Server Error */
2933
+ 500: {
2934
+ headers: {
2935
+ [name: string]: unknown;
2936
+ };
2937
+ content: {
2938
+ "application/json": components["schemas"]["ErrorResponse"];
2939
+ };
2940
+ };
2941
+ };
2942
+ };
2943
+ delete?: never;
2944
+ options?: never;
2945
+ head?: never;
2946
+ patch?: never;
2947
+ trace?: never;
2948
+ };
2949
+ "/packages/{publisherId}/applications/{applicationId}": {
2950
+ parameters: {
2951
+ query?: never;
2952
+ header?: never;
2953
+ path?: never;
2954
+ cookie?: never;
2955
+ };
2956
+ get?: never;
2957
+ /** Update the profile of an existing application */
2958
+ put: {
2959
+ parameters: {
2960
+ query?: never;
2961
+ header?: never;
2962
+ path: {
2963
+ /** @description Id of the publisher */
2964
+ publisherId: components["parameters"]["PublisherId"];
2965
+ /** @description Unique library id for this publisher */
2966
+ applicationId: components["parameters"]["ApplicationId"];
2967
+ };
2968
+ cookie?: never;
2969
+ };
2970
+ requestBody?: {
2971
+ content: {
2972
+ "application/json": components["schemas"]["NewApplication"];
2973
+ };
2974
+ };
2975
+ responses: {
2976
+ /** @description successful operation */
2977
+ 204: {
2978
+ headers: {
2979
+ [name: string]: unknown;
2980
+ };
2981
+ content?: never;
2982
+ };
2983
+ /** @description bad request */
2984
+ 400: {
2985
+ headers: {
2986
+ [name: string]: unknown;
2987
+ };
2988
+ content: {
2989
+ "application/json": components["schemas"]["ErrorResponse"];
2990
+ };
2991
+ };
2992
+ /** @description forbidden */
2993
+ 403: {
2994
+ headers: {
2995
+ [name: string]: unknown;
2996
+ };
2997
+ content: {
2998
+ "application/json": components["schemas"]["ErrorResponse"];
2999
+ };
3000
+ };
3001
+ /** @description not found */
3002
+ 404: {
3003
+ headers: {
3004
+ [name: string]: unknown;
3005
+ };
3006
+ content: {
3007
+ "application/json": components["schemas"]["ErrorResponse"];
3008
+ };
3009
+ };
3010
+ /** @description conflict */
3011
+ 409: {
3012
+ headers: {
3013
+ [name: string]: unknown;
3014
+ };
3015
+ content: {
3016
+ "application/json": components["schemas"]["ErrorResponse"];
3017
+ };
3018
+ };
3019
+ /** @description unprocessable entity */
3020
+ 422: {
3021
+ headers: {
3022
+ [name: string]: unknown;
3023
+ };
3024
+ content: {
3025
+ "application/json": components["schemas"]["ErrorResponse"];
3026
+ };
3027
+ };
3028
+ /** @description internal Server Error */
3029
+ 500: {
3030
+ headers: {
3031
+ [name: string]: unknown;
3032
+ };
3033
+ content: {
3034
+ "application/json": components["schemas"]["ErrorResponse"];
3035
+ };
3036
+ };
3037
+ };
3038
+ };
3039
+ post?: never;
3040
+ delete?: never;
3041
+ options?: never;
3042
+ head?: never;
3043
+ patch?: never;
3044
+ trace?: never;
3045
+ };
3046
+ "/packages/{publisherId}/applications/{applicationId}/versions/{applicationVersion}": {
3047
+ parameters: {
3048
+ query?: never;
3049
+ header?: never;
3050
+ path?: never;
3051
+ cookie?: never;
3052
+ };
3053
+ get?: never;
3054
+ /** Update the release phase of an existing version */
3055
+ put: {
3056
+ parameters: {
3057
+ query?: never;
3058
+ header?: {
3059
+ "X-Semver"?: components["parameters"]["ApplicationVersionInSemver"];
3060
+ };
3061
+ path: {
3062
+ /** @description Id of the publisher */
3063
+ publisherId: components["parameters"]["PublisherId"];
3064
+ /** @description Unique library id for this publisher */
3065
+ applicationId: components["parameters"]["ApplicationId"];
3066
+ /** @description version of the application. Either integer or for new applications semver */
3067
+ applicationVersion: components["parameters"]["ApplicationVersion"];
3068
+ };
3069
+ cookie?: never;
3070
+ };
3071
+ requestBody?: {
3072
+ content: {
3073
+ "application/json": components["schemas"]["ApplicationVersionUpdate"];
3074
+ };
3075
+ };
3076
+ responses: {
3077
+ /** @description successful operation */
3078
+ 204: {
3079
+ headers: {
3080
+ [name: string]: unknown;
3081
+ };
3082
+ content?: never;
3083
+ };
3084
+ /** @description bad request */
3085
+ 400: {
3086
+ headers: {
3087
+ [name: string]: unknown;
3088
+ };
3089
+ content: {
3090
+ "application/json": components["schemas"]["ErrorResponse"];
3091
+ };
3092
+ };
3093
+ /** @description forbidden */
3094
+ 403: {
3095
+ headers: {
3096
+ [name: string]: unknown;
3097
+ };
3098
+ content: {
3099
+ "application/json": components["schemas"]["ErrorResponse"];
3100
+ };
3101
+ };
3102
+ /** @description not found */
3103
+ 404: {
3104
+ headers: {
3105
+ [name: string]: unknown;
3106
+ };
3107
+ content: {
3108
+ "application/json": components["schemas"]["ErrorResponse"];
3109
+ };
3110
+ };
3111
+ /** @description conflict */
3112
+ 409: {
3113
+ headers: {
3114
+ [name: string]: unknown;
3115
+ };
3116
+ content: {
3117
+ "application/json": components["schemas"]["ErrorResponse"];
3118
+ };
3119
+ };
3120
+ /** @description unprocessable entity */
3121
+ 422: {
3122
+ headers: {
3123
+ [name: string]: unknown;
3124
+ };
3125
+ content: {
3126
+ "application/json": components["schemas"]["ErrorResponse"];
3127
+ };
3128
+ };
3129
+ /** @description internal Server Error */
3130
+ 500: {
3131
+ headers: {
3132
+ [name: string]: unknown;
3133
+ };
3134
+ content: {
3135
+ "application/json": components["schemas"]["ErrorResponse"];
3136
+ };
3137
+ };
3138
+ };
3139
+ };
3140
+ /** Add a new application version to the registry */
3141
+ post: {
3142
+ parameters: {
3143
+ query?: never;
3144
+ header?: {
3145
+ "X-Semver"?: components["parameters"]["ApplicationVersionInSemver"];
3146
+ };
3147
+ path: {
3148
+ /** @description Id of the publisher */
3149
+ publisherId: components["parameters"]["PublisherId"];
3150
+ /** @description Unique library id for this publisher */
3151
+ applicationId: components["parameters"]["ApplicationId"];
3152
+ /** @description version of the application. Either integer or for new applications semver */
3153
+ applicationVersion: components["parameters"]["ApplicationVersion"];
3154
+ };
3155
+ cookie?: never;
3156
+ };
3157
+ requestBody?: {
3158
+ content: {
3159
+ "multipart/form-data": {
3160
+ tag: components["schemas"]["ApplicationTagInformation"];
3161
+ /**
3162
+ * Format: binary
3163
+ * @description The xml representation of the DDE
3164
+ */
3165
+ "bin/dde/xml": string;
3166
+ /**
3167
+ * Format: binary
3168
+ * @description The compiled dlo binary
3169
+ */
3170
+ "bin/dlo/amx": string;
3171
+ };
3172
+ };
3173
+ };
3174
+ responses: {
3175
+ /** @description successful operation */
3176
+ 201: {
3177
+ headers: {
3178
+ [name: string]: unknown;
3179
+ };
3180
+ content: {
3181
+ "application/json": {
3182
+ /** Format: date-time */
3183
+ tag_stamp: string;
3184
+ version: number | string;
3185
+ phase: string;
3186
+ /** Format: date-time */
3187
+ phase_stamp: string;
3188
+ };
3189
+ };
3190
+ };
3191
+ /** @description bad request */
3192
+ 400: {
3193
+ headers: {
3194
+ [name: string]: unknown;
3195
+ };
3196
+ content: {
3197
+ "application/json": components["schemas"]["ErrorResponse"];
3198
+ };
3199
+ };
3200
+ /** @description forbidden */
3201
+ 403: {
3202
+ headers: {
3203
+ [name: string]: unknown;
3204
+ };
3205
+ content: {
3206
+ "application/json": components["schemas"]["ErrorResponse"];
3207
+ };
3208
+ };
3209
+ /** @description not found */
3210
+ 404: {
3211
+ headers: {
3212
+ [name: string]: unknown;
3213
+ };
3214
+ content: {
3215
+ "application/json": components["schemas"]["ErrorResponse"];
3216
+ };
3217
+ };
3218
+ /** @description conflict */
3219
+ 409: {
3220
+ headers: {
3221
+ [name: string]: unknown;
3222
+ };
3223
+ content: {
3224
+ "application/json": {
3225
+ /** @description Information about what went/is wrong */
3226
+ err: string;
3227
+ };
3228
+ };
3229
+ };
3230
+ /** @description unprocessable entity */
3231
+ 422: {
3232
+ headers: {
3233
+ [name: string]: unknown;
3234
+ };
3235
+ content: {
3236
+ "application/json": components["schemas"]["ErrorResponse"];
3237
+ };
3238
+ };
3239
+ /** @description internal Server Error */
3240
+ 500: {
3241
+ headers: {
3242
+ [name: string]: unknown;
3243
+ };
3244
+ content: {
3245
+ "application/json": components["schemas"]["ErrorResponse"];
3246
+ };
3247
+ };
3248
+ };
3249
+ };
3250
+ delete?: never;
3251
+ options?: never;
3252
+ head?: never;
3253
+ patch?: never;
3254
+ trace?: never;
3255
+ };
3256
+ "/packages/{publisherId}/applications/{applicationId}/versions/{applicationVersion}/files/{fileName}": {
3257
+ parameters: {
3258
+ query?: never;
3259
+ header?: never;
3260
+ path?: never;
3261
+ cookie?: never;
3262
+ };
3263
+ /** Download a specific file of the application tag. */
3264
+ get: {
3265
+ parameters: {
3266
+ query?: never;
3267
+ header?: {
3268
+ "X-Semver"?: components["parameters"]["ApplicationVersionInSemver"];
3269
+ };
3270
+ path: {
3271
+ /** @description Id of the publisher */
3272
+ publisherId: components["parameters"]["PublisherId"];
3273
+ /** @description Unique library id for this publisher */
3274
+ applicationId: components["parameters"]["ApplicationId"];
3275
+ /** @description version of the application. Either integer or for new applications semver */
3276
+ applicationVersion: components["parameters"]["ApplicationVersion"];
3277
+ /** @description version of the library. Formatted as semantic version */
3278
+ applicationFileName: components["parameters"]["ApplicationFileName"];
3279
+ };
3280
+ cookie?: never;
3281
+ };
3282
+ requestBody?: never;
3283
+ responses: {
3284
+ /** @description successful operation */
3285
+ 200: {
3286
+ headers: {
3287
+ [name: string]: unknown;
3288
+ };
3289
+ content: {
3290
+ "application/gzip": string;
3291
+ "text/markdown": string;
3292
+ };
3293
+ };
3294
+ /** @description bad request */
3295
+ 400: {
3296
+ headers: {
3297
+ [name: string]: unknown;
3298
+ };
3299
+ content: {
3300
+ "application/json": components["schemas"]["ErrorResponse"];
3301
+ };
3302
+ };
3303
+ /** @description not found */
3304
+ 404: {
3305
+ headers: {
3306
+ [name: string]: unknown;
3307
+ };
3308
+ content: {
3309
+ "application/json": components["schemas"]["ErrorResponse"];
3310
+ };
3311
+ };
3312
+ /** @description unprocessable entity */
3313
+ 422: {
3314
+ headers: {
3315
+ [name: string]: unknown;
3316
+ };
3317
+ content: {
3318
+ "application/json": components["schemas"]["ErrorResponse"];
3319
+ };
3320
+ };
3321
+ /** @description internal Server Error */
3322
+ 500: {
3323
+ headers: {
3324
+ [name: string]: unknown;
3325
+ };
3326
+ content: {
3327
+ "application/json": components["schemas"]["ErrorResponse"];
3328
+ };
3329
+ };
3330
+ };
3331
+ };
3332
+ put?: never;
3333
+ /** Upload a specific file for the application tag. */
3334
+ post: {
3335
+ parameters: {
3336
+ query?: never;
3337
+ header?: {
3338
+ "X-Semver"?: components["parameters"]["ApplicationVersionInSemver"];
3339
+ };
3340
+ path: {
3341
+ /** @description Id of the publisher */
3342
+ publisherId: components["parameters"]["PublisherId"];
3343
+ /** @description Unique library id for this publisher */
3344
+ applicationId: components["parameters"]["ApplicationId"];
3345
+ /** @description version of the application. Either integer or for new applications semver */
3346
+ applicationVersion: components["parameters"]["ApplicationVersion"];
3347
+ /** @description version of the library. Formatted as semantic version */
3348
+ applicationFileName: components["parameters"]["ApplicationFileName"];
3349
+ };
3350
+ cookie?: never;
3351
+ };
3352
+ requestBody?: {
3353
+ content: {
3354
+ "application/octet-stream": string;
3355
+ };
3356
+ };
3357
+ responses: {
3358
+ /** @description successful operation */
3359
+ 204: {
3360
+ headers: {
3361
+ [name: string]: unknown;
3362
+ };
3363
+ content?: never;
3364
+ };
3365
+ /** @description bad request */
3366
+ 400: {
3367
+ headers: {
3368
+ [name: string]: unknown;
3369
+ };
3370
+ content: {
3371
+ "application/json": components["schemas"]["ErrorResponse"];
3372
+ };
3373
+ };
3374
+ /** @description not found */
3375
+ 404: {
3376
+ headers: {
3377
+ [name: string]: unknown;
3378
+ };
3379
+ content: {
3380
+ "application/json": components["schemas"]["ErrorResponse"];
3381
+ };
3382
+ };
3383
+ /** @description unprocessable entity */
3384
+ 422: {
3385
+ headers: {
3386
+ [name: string]: unknown;
3387
+ };
3388
+ content: {
3389
+ "application/json": components["schemas"]["ErrorResponse"];
3390
+ };
3391
+ };
3392
+ /** @description internal Server Error */
3393
+ 500: {
3394
+ headers: {
3395
+ [name: string]: unknown;
3396
+ };
3397
+ content: {
3398
+ "application/json": components["schemas"]["ErrorResponse"];
3399
+ };
3400
+ };
3401
+ };
3402
+ };
3403
+ delete?: never;
3404
+ options?: never;
3405
+ head?: never;
3406
+ patch?: never;
3407
+ trace?: never;
3408
+ };
3409
+ "/publisher/{publisherId}/members": {
3410
+ parameters: {
3411
+ query?: never;
3412
+ header?: never;
3413
+ path?: never;
3414
+ cookie?: never;
3415
+ };
3416
+ /** Get the member list of the given publisher */
3417
+ get: {
3418
+ parameters: {
3419
+ query?: never;
3420
+ header?: never;
3421
+ path: {
3422
+ /** @description Id of the publisher */
3423
+ publisherId: components["parameters"]["PublisherId"];
3424
+ };
3425
+ cookie?: never;
3426
+ };
3427
+ requestBody?: never;
3428
+ responses: {
3429
+ /** @description successful operation */
3430
+ 200: {
3431
+ headers: {
3432
+ [name: string]: unknown;
3433
+ };
3434
+ content: {
3435
+ "application/json": components["schemas"]["PublisherMemberListInformation"];
3436
+ };
3437
+ };
3438
+ /** @description bad request */
3439
+ 400: {
3440
+ headers: {
3441
+ [name: string]: unknown;
3442
+ };
3443
+ content: {
3444
+ "application/json": components["schemas"]["ErrorResponse"];
3445
+ };
3446
+ };
3447
+ /** @description not found */
3448
+ 404: {
3449
+ headers: {
3450
+ [name: string]: unknown;
3451
+ };
3452
+ content: {
3453
+ "application/json": components["schemas"]["ErrorResponse"];
3454
+ };
3455
+ };
3456
+ /** @description unprocessable entity */
3457
+ 422: {
3458
+ headers: {
3459
+ [name: string]: unknown;
3460
+ };
3461
+ content: {
3462
+ "application/json": components["schemas"]["ErrorResponse"];
3463
+ };
3464
+ };
3465
+ /** @description internal Server Error */
3466
+ 500: {
3467
+ headers: {
3468
+ [name: string]: unknown;
3469
+ };
3470
+ content: {
3471
+ "application/json": components["schemas"]["ErrorResponse"];
3472
+ };
3473
+ };
3474
+ };
3475
+ };
3476
+ put?: never;
3477
+ /** Add a member to the given publisher */
3478
+ post: {
3479
+ parameters: {
3480
+ query?: never;
3481
+ header?: never;
3482
+ path: {
3483
+ /** @description Id of the publisher */
3484
+ publisherId: components["parameters"]["PublisherId"];
3485
+ };
3486
+ cookie?: never;
3487
+ };
3488
+ requestBody?: {
3489
+ content: {
3490
+ "application/json": components["schemas"]["NewPublisherMember"];
3491
+ };
3492
+ };
3493
+ responses: {
3494
+ /** @description successful operation */
3495
+ 204: {
3496
+ headers: {
3497
+ [name: string]: unknown;
3498
+ };
3499
+ content?: never;
3500
+ };
3501
+ /** @description bad request */
3502
+ 400: {
3503
+ headers: {
3504
+ [name: string]: unknown;
3505
+ };
3506
+ content: {
3507
+ "application/json": components["schemas"]["ErrorResponse"];
3508
+ };
3509
+ };
3510
+ /** @description forbidden */
3511
+ 403: {
3512
+ headers: {
3513
+ [name: string]: unknown;
3514
+ };
3515
+ content: {
3516
+ "application/json": components["schemas"]["ErrorResponse"];
3517
+ };
3518
+ };
3519
+ /** @description bad request */
3520
+ 404: {
3521
+ headers: {
3522
+ [name: string]: unknown;
3523
+ };
3524
+ content: {
3525
+ "application/json": components["schemas"]["ErrorResponse"];
3526
+ };
3527
+ };
3528
+ /** @description Given member is already a member */
3529
+ 409: {
3530
+ headers: {
3531
+ [name: string]: unknown;
3532
+ };
3533
+ content: {
3534
+ "application/json": components["schemas"]["ErrorResponse"];
3535
+ };
3536
+ };
3537
+ /** @description unprocessable entity */
3538
+ 422: {
3539
+ headers: {
3540
+ [name: string]: unknown;
3541
+ };
3542
+ content: {
3543
+ "application/json": components["schemas"]["ErrorResponse"];
3544
+ };
3545
+ };
3546
+ /** @description internal Server Error */
3547
+ 500: {
3548
+ headers: {
3549
+ [name: string]: unknown;
3550
+ };
3551
+ content: {
3552
+ "application/json": components["schemas"]["ErrorResponse"];
3553
+ };
3554
+ };
3555
+ };
3556
+ };
3557
+ delete?: never;
3558
+ options?: never;
3559
+ head?: never;
3560
+ patch?: never;
3561
+ trace?: never;
3562
+ };
3563
+ "/publisher/{publisherId}/members/{memberId}": {
3564
+ parameters: {
3565
+ query?: never;
3566
+ header?: never;
3567
+ path?: never;
3568
+ cookie?: never;
3569
+ };
3570
+ get?: never;
3571
+ /** Change the role of the given member from the publishers member list */
3572
+ put: {
3573
+ parameters: {
3574
+ query?: never;
3575
+ header?: never;
3576
+ path: {
3577
+ /** @description Id of the publisher */
3578
+ publisherId: components["parameters"]["PublisherId"];
3579
+ /** @description User Id */
3580
+ memberId: components["parameters"]["MemberId"];
3581
+ };
3582
+ cookie?: never;
3583
+ };
3584
+ requestBody?: {
3585
+ content: {
3586
+ "application/json": components["schemas"]["ChangePublisherRole"];
3587
+ };
3588
+ };
3589
+ responses: {
3590
+ /** @description successful operation */
3591
+ 204: {
3592
+ headers: {
3593
+ [name: string]: unknown;
3594
+ };
3595
+ content?: never;
3596
+ };
3597
+ /** @description bad request */
3598
+ 400: {
3599
+ headers: {
3600
+ [name: string]: unknown;
3601
+ };
3602
+ content: {
3603
+ "application/json": components["schemas"]["ErrorResponse"];
3604
+ };
3605
+ };
3606
+ /** @description forbidden */
3607
+ 403: {
3608
+ headers: {
3609
+ [name: string]: unknown;
3610
+ };
3611
+ content: {
3612
+ "application/json": components["schemas"]["ErrorResponse"];
3613
+ };
3614
+ };
3615
+ /** @description not found */
3616
+ 404: {
3617
+ headers: {
3618
+ [name: string]: unknown;
3619
+ };
3620
+ content: {
3621
+ "application/json": components["schemas"]["ErrorResponse"];
3622
+ };
3623
+ };
3624
+ /** @description unprocessable entity */
3625
+ 422: {
3626
+ headers: {
3627
+ [name: string]: unknown;
3628
+ };
3629
+ content: {
3630
+ "application/json": components["schemas"]["ErrorResponse"];
3631
+ };
3632
+ };
3633
+ /** @description internal Server Error */
3634
+ 500: {
3635
+ headers: {
3636
+ [name: string]: unknown;
3637
+ };
3638
+ content: {
3639
+ "application/json": components["schemas"]["ErrorResponse"];
3640
+ };
3641
+ };
3642
+ };
3643
+ };
3644
+ post?: never;
3645
+ /** Remove the given member from the publishers member list */
3646
+ delete: {
3647
+ parameters: {
3648
+ query?: never;
3649
+ header?: never;
3650
+ path: {
3651
+ /** @description Id of the publisher */
3652
+ publisherId: components["parameters"]["PublisherId"];
3653
+ /** @description User Id */
3654
+ memberId: components["parameters"]["MemberId"];
3655
+ };
3656
+ cookie?: never;
3657
+ };
3658
+ requestBody?: never;
3659
+ responses: {
3660
+ /** @description successful operation */
3661
+ 204: {
3662
+ headers: {
3663
+ [name: string]: unknown;
3664
+ };
3665
+ content?: never;
3666
+ };
3667
+ /** @description bad request */
3668
+ 400: {
3669
+ headers: {
3670
+ [name: string]: unknown;
3671
+ };
3672
+ content: {
3673
+ "application/json": components["schemas"]["ErrorResponse"];
3674
+ };
3675
+ };
3676
+ /** @description forbidden */
3677
+ 403: {
3678
+ headers: {
3679
+ [name: string]: unknown;
3680
+ };
3681
+ content: {
3682
+ "application/json": components["schemas"]["ErrorResponse"];
3683
+ };
3684
+ };
3685
+ /** @description not found */
3686
+ 404: {
3687
+ headers: {
3688
+ [name: string]: unknown;
3689
+ };
3690
+ content: {
3691
+ "application/json": components["schemas"]["ErrorResponse"];
3692
+ };
3693
+ };
3694
+ /** @description unprocessable entity */
3695
+ 422: {
3696
+ headers: {
3697
+ [name: string]: unknown;
3698
+ };
3699
+ content: {
3700
+ "application/json": components["schemas"]["ErrorResponse"];
3701
+ };
3702
+ };
3703
+ /** @description internal Server Error */
3704
+ 500: {
3705
+ headers: {
3706
+ [name: string]: unknown;
3707
+ };
3708
+ content: {
3709
+ "application/json": components["schemas"]["ErrorResponse"];
3710
+ };
3711
+ };
3712
+ };
3713
+ };
3714
+ options?: never;
3715
+ head?: never;
3716
+ patch?: never;
3717
+ trace?: never;
3718
+ };
3719
+ "/cloudstudio/publisher/{publisherId}/assign-application": {
3720
+ parameters: {
3721
+ query?: never;
3722
+ header?: never;
3723
+ path?: never;
3724
+ cookie?: never;
3725
+ };
3726
+ get?: never;
3727
+ put?: never;
3728
+ /** Transfer Store ownership to the given publisher */
3729
+ post: {
3730
+ parameters: {
3731
+ query?: never;
3732
+ header?: never;
3733
+ path: {
3734
+ /** @description Id of the publisher */
3735
+ publisherId: components["parameters"]["PublisherId"];
3736
+ };
3737
+ cookie?: never;
3738
+ };
3739
+ requestBody?: {
3740
+ content: {
3741
+ "application/json": components["schemas"]["CloudStudioApplicationAssign"];
3742
+ };
3743
+ };
3744
+ responses: {
3745
+ /** @description successful operation */
3746
+ 204: {
3747
+ headers: {
3748
+ [name: string]: unknown;
3749
+ };
3750
+ content?: never;
3751
+ };
3752
+ /** @description bad request */
3753
+ 400: {
3754
+ headers: {
3755
+ [name: string]: unknown;
3756
+ };
3757
+ content: {
3758
+ "application/json": components["schemas"]["ErrorResponse"];
3759
+ };
3760
+ };
3761
+ /** @description forbidden */
3762
+ 403: {
3763
+ headers: {
3764
+ [name: string]: unknown;
3765
+ };
3766
+ content: {
3767
+ "application/json": components["schemas"]["ErrorResponse"];
3768
+ };
3769
+ };
3770
+ /** @description bad request */
3771
+ 404: {
3772
+ headers: {
3773
+ [name: string]: unknown;
3774
+ };
3775
+ content: {
3776
+ "application/json": components["schemas"]["ErrorResponse"];
3777
+ };
3778
+ };
3779
+ /** @description Given member is already a member */
3780
+ 409: {
3781
+ headers: {
3782
+ [name: string]: unknown;
3783
+ };
3784
+ content: {
3785
+ "application/json": components["schemas"]["ErrorResponse"];
3786
+ };
3787
+ };
3788
+ /** @description unprocessable entity */
3789
+ 422: {
3790
+ headers: {
3791
+ [name: string]: unknown;
3792
+ };
3793
+ content: {
3794
+ "application/json": components["schemas"]["ErrorResponse"];
3795
+ };
3796
+ };
3797
+ /** @description internal Server Error */
3798
+ 500: {
3799
+ headers: {
3800
+ [name: string]: unknown;
3801
+ };
3802
+ content: {
3803
+ "application/json": components["schemas"]["ErrorResponse"];
3804
+ };
3805
+ };
3806
+ };
3807
+ };
3808
+ delete?: never;
3809
+ options?: never;
3810
+ head?: never;
3811
+ patch?: never;
3812
+ trace?: never;
3813
+ };
3814
+ "/cloudstudio/applications/{applicationId}": {
3815
+ parameters: {
3816
+ query?: never;
3817
+ header?: never;
3818
+ path?: never;
3819
+ cookie?: never;
3820
+ };
3821
+ /** Validate if the given applicationId is already assigned to a publisher */
3822
+ get: {
3823
+ parameters: {
3824
+ query?: never;
3825
+ header?: never;
3826
+ path: {
3827
+ /** @description Unique library id for this publisher */
3828
+ applicationId: components["parameters"]["ApplicationId"];
3829
+ };
3830
+ cookie?: never;
3831
+ };
3832
+ requestBody?: never;
3833
+ responses: {
3834
+ /** @description Successful operation */
3835
+ 200: {
3836
+ headers: {
3837
+ [name: string]: unknown;
3838
+ };
3839
+ content: {
3840
+ "application/json": components["schemas"]["Publisher"];
3841
+ };
3842
+ };
3843
+ /** @description bad request */
3844
+ 400: {
3845
+ headers: {
3846
+ [name: string]: unknown;
3847
+ };
3848
+ content: {
3849
+ "application/json": components["schemas"]["ErrorResponse"];
3850
+ };
3851
+ };
3852
+ /** @description forbidden */
3853
+ 403: {
3854
+ headers: {
3855
+ [name: string]: unknown;
3856
+ };
3857
+ content: {
3858
+ "application/json": components["schemas"]["ErrorResponse"];
3859
+ };
3860
+ };
3861
+ /** @description not found */
3862
+ 404: {
3863
+ headers: {
3864
+ [name: string]: unknown;
3865
+ };
3866
+ content: {
3867
+ "application/json": components["schemas"]["ErrorResponse"];
3868
+ };
3869
+ };
3870
+ /** @description unprocessable entity */
3871
+ 422: {
3872
+ headers: {
3873
+ [name: string]: unknown;
3874
+ };
3875
+ content: {
3876
+ "application/json": components["schemas"]["ErrorResponse"];
3877
+ };
3878
+ };
3879
+ /** @description internal Server Error */
3880
+ 500: {
3881
+ headers: {
3882
+ [name: string]: unknown;
3883
+ };
3884
+ content: {
3885
+ "application/json": components["schemas"]["ErrorResponse"];
3886
+ };
3887
+ };
3888
+ };
3889
+ };
3890
+ put?: never;
3891
+ post?: never;
3892
+ delete?: never;
3893
+ options?: never;
3894
+ head?: never;
3895
+ patch?: never;
3896
+ trace?: never;
3897
+ };
3898
+ "/users/{userId}/manage/api-tokens": {
3899
+ parameters: {
3900
+ query?: never;
3901
+ header?: never;
3902
+ path?: never;
3903
+ cookie?: never;
3904
+ };
3905
+ /** Get the api tokens of the given user */
3906
+ get: {
3907
+ parameters: {
3908
+ query?: never;
3909
+ header?: never;
3910
+ path: {
3911
+ /** @description User Id */
3912
+ userId: components["parameters"]["UserId"];
3913
+ };
3914
+ cookie?: never;
3915
+ };
3916
+ requestBody?: never;
3917
+ responses: {
3918
+ /** @description Successful operation */
3919
+ 200: {
3920
+ headers: {
3921
+ [name: string]: unknown;
3922
+ };
3923
+ content: {
3924
+ "application/json": [
3925
+ components["schemas"]["ApiToken"]
3926
+ ];
3927
+ };
3928
+ };
3929
+ /** @description bad request */
3930
+ 400: {
3931
+ headers: {
3932
+ [name: string]: unknown;
3933
+ };
3934
+ content: {
3935
+ "application/json": components["schemas"]["ErrorResponse"];
3936
+ };
3937
+ };
3938
+ /** @description forbidden */
3939
+ 403: {
3940
+ headers: {
3941
+ [name: string]: unknown;
3942
+ };
3943
+ content: {
3944
+ "application/json": components["schemas"]["ErrorResponse"];
3945
+ };
3946
+ };
3947
+ /** @description unprocessable entity */
3948
+ 422: {
3949
+ headers: {
3950
+ [name: string]: unknown;
3951
+ };
3952
+ content: {
3953
+ "application/json": components["schemas"]["ErrorResponse"];
3954
+ };
3955
+ };
3956
+ /** @description internal Server Error */
3957
+ 500: {
3958
+ headers: {
3959
+ [name: string]: unknown;
3960
+ };
3961
+ content: {
3962
+ "application/json": components["schemas"]["ErrorResponse"];
3963
+ };
3964
+ };
3965
+ };
3966
+ };
3967
+ put?: never;
3968
+ /** Create a new api token for the given userid */
3969
+ post: {
3970
+ parameters: {
3971
+ query?: never;
3972
+ header?: never;
3973
+ path: {
3974
+ /** @description User Id */
3975
+ userId: components["parameters"]["UserId"];
3976
+ };
3977
+ cookie?: never;
3978
+ };
3979
+ requestBody?: {
3980
+ content: {
3981
+ "application/json": components["schemas"]["NewApiToken"];
3982
+ };
3983
+ };
3984
+ responses: {
3985
+ /** @description Successful operation */
3986
+ 201: {
3987
+ headers: {
3988
+ [name: string]: unknown;
3989
+ };
3990
+ content: {
3991
+ "application/json": components["schemas"]["ApiTokenCreated"];
3992
+ };
3993
+ };
3994
+ /** @description bad request */
3995
+ 400: {
3996
+ headers: {
3997
+ [name: string]: unknown;
3998
+ };
3999
+ content: {
4000
+ "application/json": components["schemas"]["ErrorResponse"];
4001
+ };
4002
+ };
4003
+ /** @description forbidden */
4004
+ 403: {
4005
+ headers: {
4006
+ [name: string]: unknown;
4007
+ };
4008
+ content: {
4009
+ "application/json": components["schemas"]["ErrorResponse"];
4010
+ };
4011
+ };
4012
+ /** @description unprocessable entity */
4013
+ 422: {
4014
+ headers: {
4015
+ [name: string]: unknown;
4016
+ };
4017
+ content: {
4018
+ "application/json": components["schemas"]["ErrorResponse"];
4019
+ };
4020
+ };
4021
+ /** @description internal Server Error */
4022
+ 500: {
4023
+ headers: {
4024
+ [name: string]: unknown;
4025
+ };
4026
+ content: {
4027
+ "application/json": components["schemas"]["ErrorResponse"];
4028
+ };
4029
+ };
4030
+ };
4031
+ };
4032
+ delete?: never;
4033
+ options?: never;
4034
+ head?: never;
4035
+ patch?: never;
4036
+ trace?: never;
4037
+ };
4038
+ "/users/{userId}/manage/api-tokens/{tokenId}": {
4039
+ parameters: {
4040
+ query?: never;
4041
+ header?: never;
4042
+ path?: never;
4043
+ cookie?: never;
4044
+ };
4045
+ get?: never;
4046
+ put?: never;
4047
+ post?: never;
4048
+ /** Remove the given api token */
4049
+ delete: {
4050
+ parameters: {
4051
+ query?: never;
4052
+ header?: never;
4053
+ path: {
4054
+ /** @description User Id */
4055
+ userId: components["parameters"]["UserId"];
4056
+ /** @description Id of theapi token */
4057
+ tokenId: components["parameters"]["TokenId"];
4058
+ };
4059
+ cookie?: never;
4060
+ };
4061
+ requestBody?: never;
4062
+ responses: {
4063
+ /** @description successful operation */
4064
+ 204: {
4065
+ headers: {
4066
+ [name: string]: unknown;
4067
+ };
4068
+ content?: never;
4069
+ };
4070
+ /** @description bad request */
4071
+ 400: {
4072
+ headers: {
4073
+ [name: string]: unknown;
4074
+ };
4075
+ content: {
4076
+ "application/json": components["schemas"]["ErrorResponse"];
4077
+ };
4078
+ };
4079
+ /** @description not found */
4080
+ 404: {
4081
+ headers: {
4082
+ [name: string]: unknown;
4083
+ };
4084
+ content: {
4085
+ "application/json": components["schemas"]["ErrorResponse"];
4086
+ };
4087
+ };
4088
+ /** @description unprocessable entity */
4089
+ 422: {
4090
+ headers: {
4091
+ [name: string]: unknown;
4092
+ };
4093
+ content: {
4094
+ "application/json": components["schemas"]["ErrorResponse"];
4095
+ };
4096
+ };
4097
+ /** @description internal Server Error */
4098
+ 500: {
4099
+ headers: {
4100
+ [name: string]: unknown;
4101
+ };
4102
+ content: {
4103
+ "application/json": components["schemas"]["ErrorResponse"];
4104
+ };
4105
+ };
4106
+ };
4107
+ };
4108
+ options?: never;
4109
+ head?: never;
4110
+ patch?: never;
4111
+ trace?: never;
4112
+ };
1859
4113
  }
1860
4114
 
1861
4115
  export declare namespace Registry {
4116
+ export type AuthToken = string | null;
1862
4117
  /**
1863
4118
  * Get the actual api url based on the STUDIO_ENV
1864
4119
  */
@@ -1873,8 +4128,17 @@ export declare namespace Registry {
1873
4128
  * @param publisherId
1874
4129
  * @param libraryId
1875
4130
  */
1876
- export function getLibraryProfile(token: string | null, publisherId: string, libraryId: string): Promise<LibraryProfile>;
1877
- export function fetchLibraryContent(token: string | null, contentURL: string, json?: boolean): Promise<any>;
4131
+ export function getLibraryProfile(token: AuthToken, publisherId: string, libraryId: string): Promise<LibraryProfile>;
4132
+ export function fetchLibraryContent(token: AuthToken, contentURL: string, json?: boolean): Promise<any>;
4133
+ export type Publisher = components['schemas']['Publisher'];
4134
+ export function getPublisher(token: AuthToken, publisherId: string): Promise<Publisher | null>;
4135
+ export type ApiNewApplication = components['schemas']['NewApplication'];
4136
+ export function createNewApplication(token: AuthToken, publisherId: string, newApplication: ApiNewApplication, env?: Globals.ENV): Promise<string | null | undefined>;
4137
+ export type ApplicationDetailInformation = components['schemas']['ApplicationDetailInformation'];
4138
+ export function getExistingApplication(token: AuthToken, publisherId: string, applicationId: string, env?: Globals.ENV): Promise<ApplicationDetailInformation>;
4139
+ export function updateExistingApplication(token: AuthToken, publisherId: string, applicationId: string, updatedApplication: ApiNewApplication, env?: Globals.ENV): Promise<null | undefined>;
4140
+ export type CreatedTagInfo = paths['/packages/{publisherId}/applications/{applicationId}/versions/{applicationVersion}']['post']['responses']['201']['content']['application/json'];
4141
+ export function publishApplicationVersion(token: AuthToken, publisherId: string, applicationId: string, version: string, apmTagBuffer: FormData, env?: Globals.ENV): Promise<CreatedTagInfo>;
1878
4142
  }
1879
4143
 
1880
4144
  declare function uriToMemFsPath(path: URI): string;