@mittwald/api-client 3.1.8 → 3.1.10

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.
@@ -1,6 +1,6 @@
1
1
  /** Execute a runtime concerning action on a specific `AppInstallation`. */
2
2
  export const appExecuteAction = {
3
- path: "/v2/appinstallations/{appInstallationId}/actions/{action}",
3
+ path: "/v2/app-installations/{appInstallationId}/actions/{action}",
4
4
  method: "POST",
5
5
  operationId: "app-execute-action",
6
6
  };
@@ -12,19 +12,19 @@ export const appGetApp = {
12
12
  };
13
13
  /** Get a specific `AppInstallation`. */
14
14
  export const appGetAppinstallation = {
15
- path: "/v2/appinstallations/{appInstallationId}",
15
+ path: "/v2/app-installations/{appInstallationId}",
16
16
  method: "GET",
17
17
  operationId: "app-get-appinstallation",
18
18
  };
19
19
  /** Start uninstallation process for a specific `AppInstallation`. */
20
20
  export const appUninstallAppinstallation = {
21
- path: "/v2/appinstallations/{appInstallationId}",
21
+ path: "/v2/app-installations/{appInstallationId}",
22
22
  method: "DELETE",
23
23
  operationId: "app-uninstall-appinstallation",
24
24
  };
25
25
  /** Patch desired properties of a specific `AppInstallation`. */
26
26
  export const appPatchAppinstallation = {
27
- path: "/v2/appinstallations/{appInstallationId}",
27
+ path: "/v2/app-installations/{appInstallationId}",
28
28
  method: "PATCH",
29
29
  operationId: "app-patch-appinstallation",
30
30
  };
@@ -36,37 +36,37 @@ export const appGetAppversion = {
36
36
  };
37
37
  /** Get the missing requirements of an appInstallation for a specific target AppVersion. */
38
38
  export const appGetMissingDependenciesForAppinstallation = {
39
- path: "/v2/appinstallations/{appInstallationId}/missing-dependencies",
39
+ path: "/v2/app-installations/{appInstallationId}/missing-dependencies",
40
40
  method: "GET",
41
41
  operationId: "app-get-missing-dependencies-for-appinstallation",
42
42
  };
43
43
  /** Get a specific `SystemSoftware`. */
44
44
  export const appGetSystemsoftware = {
45
- path: "/v2/systemsoftwares/{systemSoftwareId}",
45
+ path: "/v2/system-softwares/{systemSoftwareId}",
46
46
  method: "GET",
47
47
  operationId: "app-get-systemsoftware",
48
48
  };
49
49
  /** Get a specific `SystemSoftwareVersion`. */
50
50
  export const appGetSystemsoftwareversion = {
51
- path: "/v2/systemsoftware/{systemSoftwareId}/versions/{systemSoftwareVersionId}",
51
+ path: "/v2/system-software/{systemSoftwareId}/versions/{systemSoftwareVersionId}",
52
52
  method: "GET",
53
53
  operationId: "app-get-systemsoftwareversion",
54
54
  };
55
55
  /** Create linkage between an `AppInstallation` and a MySql-`Database`. */
56
56
  export const appLinkDatabase = {
57
- path: "/v2/appinstallations/{appInstallationId}/databases",
58
- method: "PUT",
57
+ path: "/v2/app-installations/{appInstallationId}/database",
58
+ method: "PATCH",
59
59
  operationId: "app-link-database",
60
60
  };
61
61
  /** Get all `AppInstallations` inside a specific `Project`. */
62
62
  export const appListAppinstallations = {
63
- path: "/v2/projects/{projectId}/appinstallations",
63
+ path: "/v2/projects/{projectId}/app-installations",
64
64
  method: "GET",
65
65
  operationId: "app-list-appinstallations",
66
66
  };
67
67
  /** Request a new `AppInstallation`. */
68
68
  export const appRequestAppinstallation = {
69
- path: "/v2/projects/{projectId}/appinstallations",
69
+ path: "/v2/projects/{projectId}/app-installations",
70
70
  method: "POST",
71
71
  operationId: "app-request-appinstallation",
72
72
  };
@@ -84,13 +84,13 @@ export const appListAppversions = {
84
84
  };
85
85
  /** Get all available `SystemSoftware`. */
86
86
  export const appListSystemsoftwares = {
87
- path: "/v2/systemsoftwares",
87
+ path: "/v2/system-softwares",
88
88
  method: "GET",
89
89
  operationId: "app-list-systemsoftwares",
90
90
  };
91
91
  /** Get all available `SystemSoftwareVersions` of a specific `SystemSoftware`. */
92
92
  export const appListSystemsoftwareversions = {
93
- path: "/v2/systemsoftware/{systemSoftwareId}/versions",
93
+ path: "/v2/system-software/{systemSoftwareId}/versions",
94
94
  method: "GET",
95
95
  operationId: "app-list-systemsoftwareversions",
96
96
  };
@@ -102,25 +102,25 @@ export const appListUpdateCandidatesForAppversion = {
102
102
  };
103
103
  /** Request a copy of an `AppInstallation`. */
104
104
  export const appRequestAppinstallationCopy = {
105
- path: "/v2/appinstallations/{id}/actions/copy",
105
+ path: "/v2/app-installations/{id}/actions/copy",
106
106
  method: "POST",
107
107
  operationId: "app-request-appinstallation-copy",
108
108
  };
109
109
  /** Get runtime status of a specific `AppInstallation`. */
110
110
  export const appRetrieveStatus = {
111
- path: "/v2/appinstallations/{appInstallationId}/status",
111
+ path: "/v2/app-installations/{appInstallationId}/status",
112
112
  method: "GET",
113
113
  operationId: "app-retrieve-status",
114
114
  };
115
115
  /** Create linkage between an `AppInstallation` and `DatabaseUsers`. */
116
116
  export const appSetDatabaseUsers = {
117
- path: "/v2/appinstallations/{appInstallationId}/databases/{databaseId}",
117
+ path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}",
118
118
  method: "PUT",
119
119
  operationId: "app-set-database-users",
120
120
  };
121
121
  /** Remove linkage between an `AppInstallation` and a `Database`. */
122
122
  export const appUnlinkDatabase = {
123
- path: "/v2/appinstallations/{appInstallationId}/databases/{databaseId}",
123
+ path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}",
124
124
  method: "DELETE",
125
125
  operationId: "app-unlink-database",
126
126
  };
@@ -820,12 +820,6 @@ export const domainGetDomainOwnership = {
820
820
  method: "GET",
821
821
  operationId: "domain-get-domain-ownership",
822
822
  };
823
- /** Get File Service Reference for a Screenshot of a domain. */
824
- export const domainGetScreenshotForDomain = {
825
- path: "/v2/domains/{domainId}/screenshots/newest",
826
- method: "GET",
827
- operationId: "domain-get-screenshot-for-domain",
828
- };
829
823
  /** List the DomainOwnerships of a project. */
830
824
  export const domainListDomainOwnerships = {
831
825
  path: "/v2/projects/{projectId}/domain-ownerships",
@@ -1170,13 +1164,13 @@ export const orderPreviewTariffChange = {
1170
1164
  };
1171
1165
  /** Get detailed performance data for a given domain and path. */
1172
1166
  export const pageinsightsGetPerformanceData = {
1173
- path: "/v2/pageinsights",
1167
+ path: "/v2/page-insights",
1174
1168
  method: "GET",
1175
1169
  operationId: "pageinsights-get-performance-data",
1176
1170
  };
1177
1171
  /** List websites (specified as domain and path) from a project where performance data is available. */
1178
1172
  export const pageinsightsListPerformanceDataForProject = {
1179
- path: "/v2/projects/{id}/pageinsights",
1173
+ path: "/v2/projects/{projectId}/page-insights",
1180
1174
  method: "GET",
1181
1175
  operationId: "pageinsights-list-performance-data-for-project",
1182
1176
  };
@@ -1750,3 +1744,9 @@ export const userVerifyRegistration = {
1750
1744
  method: "POST",
1751
1745
  operationId: "user-verify-registration",
1752
1746
  };
1747
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
1748
+ export const domainGetLatestScreenshot = {
1749
+ path: "/v2/domains/{domainId}/latest-screenshot",
1750
+ method: "GET",
1751
+ operationId: "domain-get-latest-screenshot",
1752
+ };
@@ -550,10 +550,6 @@ export declare module MittwaldAPIV2 {
550
550
  type RequestData = InferredRequestData<typeof descriptors.domainGetDomainOwnership>;
551
551
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetDomainOwnership, TStatus>;
552
552
  }
553
- namespace DomainGetScreenshotForDomain {
554
- type RequestData = InferredRequestData<typeof descriptors.domainGetScreenshotForDomain>;
555
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetScreenshotForDomain, TStatus>;
556
- }
557
553
  namespace DomainListDomainOwnerships {
558
554
  type RequestData = InferredRequestData<typeof descriptors.domainListDomainOwnerships>;
559
555
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainListDomainOwnerships, TStatus>;
@@ -1170,6 +1166,10 @@ export declare module MittwaldAPIV2 {
1170
1166
  type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
1171
1167
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
1172
1168
  }
1169
+ namespace DomainGetLatestScreenshot {
1170
+ type RequestData = InferredRequestData<typeof descriptors.domainGetLatestScreenshot>;
1171
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetLatestScreenshot, TStatus>;
1172
+ }
1173
1173
  }
1174
1174
  namespace Components {
1175
1175
  namespace Schemas {
@@ -3079,7 +3079,8 @@ export declare module MittwaldAPIV2 {
3079
3079
  }
3080
3080
  }
3081
3081
  namespace Paths {
3082
- namespace V2AppinstallationsAppInstallationIdActionsAction {
3082
+ namespace V2AppinstallationsAppInstallationIdActionsAction { }
3083
+ namespace V2AppInstallationsAppInstallationIdActionsAction {
3083
3084
  namespace Post {
3084
3085
  namespace Parameters {
3085
3086
  type Path = {
@@ -3146,7 +3147,8 @@ export declare module MittwaldAPIV2 {
3146
3147
  }
3147
3148
  }
3148
3149
  }
3149
- namespace V2AppinstallationsAppInstallationId {
3150
+ namespace V2AppinstallationsAppInstallationId { }
3151
+ namespace V2AppInstallationsAppInstallationId {
3150
3152
  namespace Get {
3151
3153
  namespace Parameters {
3152
3154
  type Path = {
@@ -3284,7 +3286,8 @@ export declare module MittwaldAPIV2 {
3284
3286
  }
3285
3287
  }
3286
3288
  }
3287
- namespace V2AppinstallationsAppInstallationIdMissingDependencies {
3289
+ namespace V2AppinstallationsAppInstallationIdMissingDependencies { }
3290
+ namespace V2AppInstallationsAppInstallationIdMissingDependencies {
3288
3291
  namespace Get {
3289
3292
  namespace Parameters {
3290
3293
  type Path = {
@@ -3321,7 +3324,8 @@ export declare module MittwaldAPIV2 {
3321
3324
  }
3322
3325
  }
3323
3326
  }
3324
- namespace V2SystemsoftwaresSystemSoftwareId {
3327
+ namespace V2SystemsoftwaresSystemSoftwareId { }
3328
+ namespace V2SystemSoftwaresSystemSoftwareId {
3325
3329
  namespace Get {
3326
3330
  namespace Parameters {
3327
3331
  type Path = {
@@ -3353,7 +3357,8 @@ export declare module MittwaldAPIV2 {
3353
3357
  }
3354
3358
  }
3355
3359
  }
3356
- namespace V2SystemsoftwareSystemSoftwareIdVersionsSystemSoftwareVersionId {
3360
+ namespace V2SystemsoftwareSystemSoftwareIdVersionsSystemSoftwareVersionId { }
3361
+ namespace V2SystemSoftwareSystemSoftwareIdVersionsSystemSoftwareVersionId {
3357
3362
  namespace Get {
3358
3363
  namespace Parameters {
3359
3364
  type Path = {
@@ -3386,8 +3391,8 @@ export declare module MittwaldAPIV2 {
3386
3391
  }
3387
3392
  }
3388
3393
  }
3389
- namespace V2AppinstallationsAppInstallationIdDatabases {
3390
- namespace Put {
3394
+ namespace V2AppInstallationsAppInstallationIdDatabase {
3395
+ namespace Patch {
3391
3396
  namespace Parameters {
3392
3397
  type Path = {
3393
3398
  appInstallationId: string;
@@ -3425,7 +3430,8 @@ export declare module MittwaldAPIV2 {
3425
3430
  }
3426
3431
  }
3427
3432
  }
3428
- namespace V2ProjectsProjectIdAppinstallations {
3433
+ namespace V2ProjectsProjectIdAppinstallations { }
3434
+ namespace V2ProjectsProjectIdAppInstallations {
3429
3435
  namespace Get {
3430
3436
  namespace Parameters {
3431
3437
  type Path = {
@@ -3545,7 +3551,8 @@ export declare module MittwaldAPIV2 {
3545
3551
  }
3546
3552
  }
3547
3553
  }
3548
- namespace V2Systemsoftwares {
3554
+ namespace V2Systemsoftwares { }
3555
+ namespace V2SystemSoftwares {
3549
3556
  namespace Get {
3550
3557
  namespace Parameters {
3551
3558
  type Path = {};
@@ -3572,7 +3579,8 @@ export declare module MittwaldAPIV2 {
3572
3579
  }
3573
3580
  }
3574
3581
  }
3575
- namespace V2SystemsoftwareSystemSoftwareIdVersions {
3582
+ namespace V2SystemsoftwareSystemSoftwareIdVersions { }
3583
+ namespace V2SystemSoftwareSystemSoftwareIdVersions {
3576
3584
  namespace Get {
3577
3585
  namespace Parameters {
3578
3586
  type Path = {
@@ -3625,7 +3633,8 @@ export declare module MittwaldAPIV2 {
3625
3633
  }
3626
3634
  }
3627
3635
  }
3628
- namespace V2AppinstallationsIdActionsCopy {
3636
+ namespace V2AppinstallationsIdActionsCopy { }
3637
+ namespace V2AppInstallationsIdActionsCopy {
3629
3638
  namespace Post {
3630
3639
  namespace Parameters {
3631
3640
  type Path = {
@@ -3663,7 +3672,8 @@ export declare module MittwaldAPIV2 {
3663
3672
  }
3664
3673
  }
3665
3674
  }
3666
- namespace V2AppinstallationsAppInstallationIdStatus {
3675
+ namespace V2AppinstallationsAppInstallationIdStatus { }
3676
+ namespace V2AppInstallationsAppInstallationIdStatus {
3667
3677
  namespace Get {
3668
3678
  namespace Parameters {
3669
3679
  type Path = {
@@ -3695,7 +3705,8 @@ export declare module MittwaldAPIV2 {
3695
3705
  }
3696
3706
  }
3697
3707
  }
3698
- namespace V2AppinstallationsAppInstallationIdDatabasesDatabaseId {
3708
+ namespace V2AppinstallationsAppInstallationIdDatabasesDatabaseId { }
3709
+ namespace V2AppInstallationsAppInstallationIdDatabasesDatabaseId {
3699
3710
  namespace Put {
3700
3711
  namespace Parameters {
3701
3712
  type Path = {
@@ -8405,44 +8416,6 @@ export declare module MittwaldAPIV2 {
8405
8416
  }
8406
8417
  }
8407
8418
  namespace V2DomainsHandleSchemaDomainName { }
8408
- namespace V2DomainsDomainIdScreenshotsNewest {
8409
- namespace Get {
8410
- namespace Parameters {
8411
- type Path = {
8412
- domainId: string;
8413
- };
8414
- interface RequestBody {
8415
- domainName: string;
8416
- path: string;
8417
- }
8418
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8419
- type Query = {};
8420
- }
8421
- namespace Responses {
8422
- namespace $200 {
8423
- namespace Content {
8424
- interface ApplicationJson {
8425
- references?: string[];
8426
- }
8427
- }
8428
- }
8429
- namespace $404 {
8430
- namespace Content {
8431
- interface ApplicationJson {
8432
- [k: string]: unknown;
8433
- }
8434
- }
8435
- }
8436
- namespace Default {
8437
- namespace Content {
8438
- interface ApplicationJson {
8439
- [k: string]: unknown;
8440
- }
8441
- }
8442
- }
8443
- }
8444
- }
8445
- }
8446
8419
  namespace V2ProjectsProjectIdDomainOwnerships {
8447
8420
  namespace Get {
8448
8421
  namespace Parameters {
@@ -11010,7 +10983,8 @@ export declare module MittwaldAPIV2 {
11010
10983
  }
11011
10984
  }
11012
10985
  }
11013
- namespace V2Pageinsights {
10986
+ namespace V2Pageinsights { }
10987
+ namespace V2PageInsights {
11014
10988
  namespace Get {
11015
10989
  namespace Parameters {
11016
10990
  type Path = {};
@@ -11067,11 +11041,12 @@ export declare module MittwaldAPIV2 {
11067
11041
  }
11068
11042
  }
11069
11043
  }
11070
- namespace V2ProjectsIdPageinsights {
11044
+ namespace V2ProjectsProjectIdPageinsights { }
11045
+ namespace V2ProjectsProjectIdPageInsights {
11071
11046
  namespace Get {
11072
11047
  namespace Parameters {
11073
11048
  type Path = {
11074
- id: string;
11049
+ projectId: string;
11075
11050
  };
11076
11051
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11077
11052
  type Query = {
@@ -14753,5 +14728,45 @@ export declare module MittwaldAPIV2 {
14753
14728
  }
14754
14729
  }
14755
14730
  }
14731
+ namespace V2DomainsDomainIdScreenshotsNewest { }
14732
+ namespace V2DomainsDomainIdLatestScreenshot {
14733
+ namespace Get {
14734
+ namespace Parameters {
14735
+ type Path = {
14736
+ domainId: string;
14737
+ };
14738
+ interface RequestBody {
14739
+ domainName: string;
14740
+ path: string;
14741
+ }
14742
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14743
+ type Query = {};
14744
+ }
14745
+ namespace Responses {
14746
+ namespace $200 {
14747
+ namespace Content {
14748
+ interface ApplicationJson {
14749
+ reference?: string;
14750
+ }
14751
+ }
14752
+ }
14753
+ namespace $404 {
14754
+ namespace Content {
14755
+ interface ApplicationJson {
14756
+ [k: string]: unknown;
14757
+ }
14758
+ }
14759
+ }
14760
+ namespace Default {
14761
+ namespace Content {
14762
+ interface ApplicationJson {
14763
+ [k: string]: unknown;
14764
+ }
14765
+ }
14766
+ }
14767
+ }
14768
+ }
14769
+ }
14770
+ namespace V2AppinstallationsAppInstallationIdDatabases { }
14756
14771
  }
14757
14772
  }
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.1.8';
1
+ export declare const MittwaldAPIClientVersion = '3.1.10';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.1.8';
1
+ export const MittwaldAPIClientVersion = '3.1.10';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.1.8",
3
+ "version": "3.1.10",
4
4
  "description": "Auto-generated client for the mittwald API",
5
5
  "license": "MIT",
6
6
  "repository": "github:mittwald/api-client-js",