@mittwald/api-client 1.0.5 → 2.0.1
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-cjs → dist/cjs}/generated/v2/client.d.ts +871 -826
- package/{dist-cjs → dist/cjs}/generated/v2/client.js +4 -0
- package/dist/cjs/generated/v2/descriptors.d.ts +589 -0
- package/{dist-cjs → dist/cjs}/generated/v2/descriptors.js +18 -6
- package/{dist-cjs → dist/cjs}/generated/v2/types.d.ts +65 -0
- package/dist/cjs/index.d.ts +2 -0
- package/dist/cjs/index.js +5 -0
- package/{dist-cjs → dist/cjs}/v2.d.ts +1 -0
- package/dist/{generated → esm/generated}/v2/client.d.ts +871 -826
- package/dist/{generated → esm/generated}/v2/client.js +4 -0
- package/dist/esm/generated/v2/descriptors.d.ts +589 -0
- package/dist/{generated → esm/generated}/v2/descriptors.js +12 -0
- package/dist/{generated → esm/generated}/v2/types.d.ts +65 -0
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +1 -0
- package/dist/{v2.d.ts → esm/v2.d.ts} +1 -0
- package/package.json +17 -7
- package/dist/generated/v2/descriptors.d.ts +0 -585
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist-cjs/generated/v2/descriptors.d.ts +0 -585
- package/dist-cjs/index.d.ts +0 -1
- package/dist-cjs/index.js +0 -2
- /package/{dist-cjs → dist/cjs}/generated/v2/types.js +0 -0
- /package/{dist-cjs → dist/cjs}/v2.js +0 -0
- /package/dist/{generated → esm/generated}/v2/types.js +0 -0
- /package/dist/{v2.js → esm/v2.js} +0 -0
|
@@ -88,6 +88,18 @@ export const appListSystemsoftwareversions = {
|
|
|
88
88
|
method: "GET",
|
|
89
89
|
operationId: "app-list-systemsoftwareversions",
|
|
90
90
|
};
|
|
91
|
+
/** get all update candidates for a specific `AppVersion` */
|
|
92
|
+
export const appListUpdateCandidatesForAppversion = {
|
|
93
|
+
path: "/v2/apps/{appId}/versions/{baseAppVersionId}/update-candidates",
|
|
94
|
+
method: "GET",
|
|
95
|
+
operationId: "app-list-update-candidates-for-appversion",
|
|
96
|
+
};
|
|
97
|
+
/** request a copy of an `AppInstallation` */
|
|
98
|
+
export const appRequestAppinstallationCopy = {
|
|
99
|
+
path: "/v2/appinstallations/{id}/actions/copy",
|
|
100
|
+
method: "POST",
|
|
101
|
+
operationId: "app-request-appinstallation-copy",
|
|
102
|
+
};
|
|
91
103
|
/** get runtime status of a specific `AppInstallation` */
|
|
92
104
|
export const appRetrieveStatus = {
|
|
93
105
|
path: "/v2/appinstallations/{appInstallationId}/status",
|
|
@@ -495,10 +495,12 @@ export declare module MittwaldAPIV2 {
|
|
|
495
495
|
id?: string;
|
|
496
496
|
};
|
|
497
497
|
durationInMilliseconds: number;
|
|
498
|
+
end?: string;
|
|
498
499
|
executionEnd?: string;
|
|
499
500
|
executionStart?: string;
|
|
500
501
|
id: string;
|
|
501
502
|
logPath: string;
|
|
503
|
+
start?: string;
|
|
502
504
|
status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser";
|
|
503
505
|
successful: boolean;
|
|
504
506
|
triggeredBy?: {
|
|
@@ -2316,6 +2318,69 @@ export declare module MittwaldAPIV2 {
|
|
|
2316
2318
|
}
|
|
2317
2319
|
}
|
|
2318
2320
|
}
|
|
2321
|
+
namespace V2AppsAppIdVersionsBaseAppVersionIdUpdateCandidates {
|
|
2322
|
+
namespace Get {
|
|
2323
|
+
namespace Parameters {
|
|
2324
|
+
type Path = {
|
|
2325
|
+
appId: string;
|
|
2326
|
+
baseAppVersionId: string;
|
|
2327
|
+
};
|
|
2328
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
2329
|
+
type Query = {};
|
|
2330
|
+
}
|
|
2331
|
+
namespace Responses {
|
|
2332
|
+
namespace $200 {
|
|
2333
|
+
namespace Content {
|
|
2334
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.AppAppVersion[];
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
namespace Default {
|
|
2338
|
+
namespace Content {
|
|
2339
|
+
interface ApplicationJson {
|
|
2340
|
+
[k: string]: unknown;
|
|
2341
|
+
}
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
}
|
|
2347
|
+
namespace V2AppinstallationsIdActionsCopy {
|
|
2348
|
+
namespace Post {
|
|
2349
|
+
namespace Parameters {
|
|
2350
|
+
type Path = {
|
|
2351
|
+
id: string;
|
|
2352
|
+
};
|
|
2353
|
+
interface RequestBody {
|
|
2354
|
+
description: string;
|
|
2355
|
+
}
|
|
2356
|
+
type Header = {};
|
|
2357
|
+
type Query = {};
|
|
2358
|
+
}
|
|
2359
|
+
namespace Responses {
|
|
2360
|
+
namespace $201 {
|
|
2361
|
+
namespace Content {
|
|
2362
|
+
interface ApplicationJson {
|
|
2363
|
+
id: string;
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2367
|
+
namespace $404 {
|
|
2368
|
+
namespace Content {
|
|
2369
|
+
interface ApplicationJson {
|
|
2370
|
+
[k: string]: unknown;
|
|
2371
|
+
}
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
namespace Default {
|
|
2375
|
+
namespace Content {
|
|
2376
|
+
interface ApplicationJson {
|
|
2377
|
+
[k: string]: unknown;
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
2319
2384
|
namespace V2AppinstallationsAppInstallationIdStatus {
|
|
2320
2385
|
namespace Get {
|
|
2321
2386
|
namespace Parameters {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MittwaldAPIClient as MittwaldAPIV2Client } from "./v2.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Auto-generated client for the mittwald API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "github:mittwald/api-client-js",
|
|
@@ -12,11 +12,20 @@
|
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://github.com/mittwald/api-client-js/issues"
|
|
14
14
|
},
|
|
15
|
+
"main": "dist/cjs/index.js",
|
|
15
16
|
"type": "module",
|
|
16
17
|
"exports": {
|
|
17
|
-
"
|
|
18
|
-
"types":
|
|
19
|
-
|
|
18
|
+
".": {
|
|
19
|
+
"types": {
|
|
20
|
+
"import": "./dist/esm/index.d.ts",
|
|
21
|
+
"require": "./dist/cjs/index.d.ts",
|
|
22
|
+
"default": "./dist/esm/index.d.ts"
|
|
23
|
+
},
|
|
24
|
+
"default": {
|
|
25
|
+
"import": "./dist/esm/index.js",
|
|
26
|
+
"require": "./dist/cjs/index.js",
|
|
27
|
+
"default": "./dist/esm/index.js"
|
|
28
|
+
}
|
|
20
29
|
}
|
|
21
30
|
},
|
|
22
31
|
"scripts": {
|
|
@@ -27,7 +36,7 @@
|
|
|
27
36
|
"post:generate": "yarn run -T compile && yarn run -T compile:cjs"
|
|
28
37
|
},
|
|
29
38
|
"files": [
|
|
30
|
-
"
|
|
39
|
+
"dist/**/*.{js,d.ts}"
|
|
31
40
|
],
|
|
32
41
|
"keywords": [
|
|
33
42
|
"mittwald",
|
|
@@ -37,9 +46,10 @@
|
|
|
37
46
|
"rest"
|
|
38
47
|
],
|
|
39
48
|
"dependencies": {
|
|
40
|
-
"@mittwald/api-client-commons": "^
|
|
49
|
+
"@mittwald/api-client-commons": "^3.0.0"
|
|
41
50
|
},
|
|
42
51
|
"devDependencies": {
|
|
43
52
|
"@mittwald/api-code-generator": "^1.0.0"
|
|
44
|
-
}
|
|
53
|
+
},
|
|
54
|
+
"types": "dist/cjs/index.d.ts"
|
|
45
55
|
}
|