@mittwald/api-client 3.0.15 → 3.0.17

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.
@@ -866,6 +866,10 @@ export declare module MittwaldAPIV2 {
866
866
  type RequestData = InferredRequestData<typeof descriptors.projectUpdateProjectMembership>;
867
867
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectUpdateProjectMembership, TStatus>;
868
868
  }
869
+ namespace ProjectGetProject {
870
+ type RequestData = InferredRequestData<typeof descriptors.projectGetProject>;
871
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetProject, TStatus>;
872
+ }
869
873
  namespace ProjectDeleteProject {
870
874
  type RequestData = InferredRequestData<typeof descriptors.projectDeleteProject>;
871
875
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectDeleteProject, TStatus>;
@@ -902,10 +906,6 @@ export declare module MittwaldAPIV2 {
902
906
  type RequestData = InferredRequestData<typeof descriptors.projectGetProjectTokenInvite>;
903
907
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetProjectTokenInvite, TStatus>;
904
908
  }
905
- namespace ProjectGetProject {
906
- type RequestData = InferredRequestData<typeof descriptors.projectGetProject>;
907
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetProject, TStatus>;
908
- }
909
909
  namespace ProjectGetSelfMembershipForProject {
910
910
  type RequestData = InferredRequestData<typeof descriptors.projectGetSelfMembershipForProject>;
911
911
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectGetSelfMembershipForProject, TStatus>;
@@ -2749,14 +2749,6 @@ export declare module MittwaldAPIV2 {
2749
2749
  quality: number;
2750
2750
  width: number;
2751
2751
  }
2752
- interface DomainEmptyResponse {
2753
- error_props: {};
2754
- error_reason: string;
2755
- }
2756
- interface DomainError {
2757
- message: string;
2758
- type: string;
2759
- }
2760
2752
  type SshuserEntityTypes = "ssh" | "sftp";
2761
2753
  /**
2762
2754
  * The level of access for an SFTPUser.
@@ -3068,22 +3060,6 @@ export declare module MittwaldAPIV2 {
3068
3060
  interface ApplicationJson {
3069
3061
  }
3070
3062
  }
3071
- namespace DomainDefaultError {
3072
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DomainError;
3073
- }
3074
- namespace DomainGenericResponse {
3075
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DomainEmptyResponse;
3076
- }
3077
- namespace DomainEmptyResponse {
3078
- interface ApplicationJson {
3079
- }
3080
- }
3081
- namespace DomainNotFoundError {
3082
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DomainError;
3083
- }
3084
- namespace DomainValidationError {
3085
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DomainError;
3086
- }
3087
3063
  namespace SignupInternalServerError {
3088
3064
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
3089
3065
  name?: "InternalServerError";
@@ -10576,8 +10552,9 @@ export declare module MittwaldAPIV2 {
10576
10552
  }
10577
10553
  }
10578
10554
  }
10579
- namespace V2NotificationsStatus {
10580
- namespace Put {
10555
+ namespace V2NotificationsStatus { }
10556
+ namespace V2NotificationsActionsReadAll {
10557
+ namespace Post {
10581
10558
  namespace Parameters {
10582
10559
  type Path = {};
10583
10560
  interface RequestBody {
@@ -10610,11 +10587,11 @@ export declare module MittwaldAPIV2 {
10610
10587
  }
10611
10588
  }
10612
10589
  }
10613
- namespace V2NotificationsMessageIdStatus {
10590
+ namespace V2NotificationsNotificationIdStatus {
10614
10591
  namespace Put {
10615
10592
  namespace Parameters {
10616
10593
  type Path = {
10617
- messageId: string;
10594
+ notificationId: string;
10618
10595
  };
10619
10596
  interface RequestBody {
10620
10597
  status: MittwaldAPIV2.Components.Schemas.MessagingNotificationStatus;
@@ -11147,6 +11124,13 @@ export declare module MittwaldAPIV2 {
11147
11124
  }
11148
11125
  }
11149
11126
  }
11127
+ namespace $403 {
11128
+ namespace Content {
11129
+ interface ApplicationJson {
11130
+ [k: string]: unknown;
11131
+ }
11132
+ }
11133
+ }
11150
11134
  namespace $412 {
11151
11135
  namespace Content {
11152
11136
  interface ApplicationJson {
@@ -11217,6 +11201,13 @@ export declare module MittwaldAPIV2 {
11217
11201
  }
11218
11202
  }
11219
11203
  }
11204
+ namespace $403 {
11205
+ namespace Content {
11206
+ interface ApplicationJson {
11207
+ [k: string]: unknown;
11208
+ }
11209
+ }
11210
+ }
11220
11211
  namespace Default {
11221
11212
  namespace Content {
11222
11213
  interface ApplicationJson {
@@ -11247,6 +11238,13 @@ export declare module MittwaldAPIV2 {
11247
11238
  }
11248
11239
  }
11249
11240
  }
11241
+ namespace $403 {
11242
+ namespace Content {
11243
+ interface ApplicationJson {
11244
+ [k: string]: unknown;
11245
+ }
11246
+ }
11247
+ }
11250
11248
  namespace Default {
11251
11249
  namespace Content {
11252
11250
  interface ApplicationJson {
@@ -11398,6 +11396,36 @@ export declare module MittwaldAPIV2 {
11398
11396
  }
11399
11397
  }
11400
11398
  namespace V2ProjectsProjectId {
11399
+ namespace Get {
11400
+ namespace Parameters {
11401
+ type Path = {
11402
+ projectId: string;
11403
+ };
11404
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11405
+ type Query = {};
11406
+ }
11407
+ namespace Responses {
11408
+ namespace $200 {
11409
+ namespace Content {
11410
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectProject;
11411
+ }
11412
+ }
11413
+ namespace $403 {
11414
+ namespace Content {
11415
+ interface ApplicationJson {
11416
+ [k: string]: unknown;
11417
+ }
11418
+ }
11419
+ }
11420
+ namespace Default {
11421
+ namespace Content {
11422
+ interface ApplicationJson {
11423
+ [k: string]: unknown;
11424
+ }
11425
+ }
11426
+ }
11427
+ }
11428
+ }
11401
11429
  namespace Delete {
11402
11430
  namespace Parameters {
11403
11431
  type Path = {
@@ -11425,6 +11453,13 @@ export declare module MittwaldAPIV2 {
11425
11453
  }
11426
11454
  }
11427
11455
  }
11456
+ namespace $403 {
11457
+ namespace Content {
11458
+ interface ApplicationJson {
11459
+ [k: string]: unknown;
11460
+ }
11461
+ }
11462
+ }
11428
11463
  namespace $412 {
11429
11464
  namespace Content {
11430
11465
  interface ApplicationJson {
@@ -11474,6 +11509,13 @@ export declare module MittwaldAPIV2 {
11474
11509
  }
11475
11510
  }
11476
11511
  }
11512
+ namespace $403 {
11513
+ namespace Content {
11514
+ interface ApplicationJson {
11515
+ [k: string]: unknown;
11516
+ }
11517
+ }
11518
+ }
11477
11519
  namespace Default {
11478
11520
  namespace Content {
11479
11521
  interface ApplicationJson {
@@ -11504,6 +11546,13 @@ export declare module MittwaldAPIV2 {
11504
11546
  }
11505
11547
  }
11506
11548
  }
11549
+ namespace $403 {
11550
+ namespace Content {
11551
+ interface ApplicationJson {
11552
+ [k: string]: unknown;
11553
+ }
11554
+ }
11555
+ }
11507
11556
  namespace Default {
11508
11557
  namespace Content {
11509
11558
  interface ApplicationJson {
@@ -11783,38 +11832,6 @@ export declare module MittwaldAPIV2 {
11783
11832
  }
11784
11833
  }
11785
11834
  }
11786
- namespace V2ProjectsId {
11787
- namespace Get {
11788
- namespace Parameters {
11789
- type Path = {
11790
- id: string;
11791
- };
11792
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11793
- type Query = {};
11794
- }
11795
- namespace Responses {
11796
- namespace $200 {
11797
- namespace Content {
11798
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectProject;
11799
- }
11800
- }
11801
- namespace $404 {
11802
- namespace Content {
11803
- interface ApplicationJson {
11804
- [k: string]: unknown;
11805
- }
11806
- }
11807
- }
11808
- namespace Default {
11809
- namespace Content {
11810
- interface ApplicationJson {
11811
- [k: string]: unknown;
11812
- }
11813
- }
11814
- }
11815
- }
11816
- }
11817
- }
11818
11835
  namespace V2ProjectsProjectIdMembershipsSelf {
11819
11836
  namespace Get {
11820
11837
  namespace Parameters {
@@ -11862,6 +11879,13 @@ export declare module MittwaldAPIV2 {
11862
11879
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectServer;
11863
11880
  }
11864
11881
  }
11882
+ namespace $403 {
11883
+ namespace Content {
11884
+ interface ApplicationJson {
11885
+ [k: string]: unknown;
11886
+ }
11887
+ }
11888
+ }
11865
11889
  namespace $404 {
11866
11890
  namespace Content {
11867
11891
  interface ApplicationJson {
@@ -12085,6 +12109,13 @@ export declare module MittwaldAPIV2 {
12085
12109
  }
12086
12110
  }
12087
12111
  }
12112
+ namespace $403 {
12113
+ namespace Content {
12114
+ interface ApplicationJson {
12115
+ [k: string]: unknown;
12116
+ }
12117
+ }
12118
+ }
12088
12119
  namespace Default {
12089
12120
  namespace Content {
12090
12121
  interface ApplicationJson {
@@ -12165,11 +12196,11 @@ export declare module MittwaldAPIV2 {
12165
12196
  }
12166
12197
  }
12167
12198
  }
12168
- namespace V2ProjectsIdDescription {
12199
+ namespace V2ProjectsProjectIdDescription {
12169
12200
  namespace Patch {
12170
12201
  namespace Parameters {
12171
12202
  type Path = {
12172
- id: string;
12203
+ projectId: string;
12173
12204
  };
12174
12205
  interface RequestBody {
12175
12206
  description: string;
@@ -12190,7 +12221,7 @@ export declare module MittwaldAPIV2 {
12190
12221
  }
12191
12222
  }
12192
12223
  }
12193
- namespace $404 {
12224
+ namespace $403 {
12194
12225
  namespace Content {
12195
12226
  interface ApplicationJson {
12196
12227
  [k: string]: unknown;
@@ -12232,6 +12263,20 @@ export declare module MittwaldAPIV2 {
12232
12263
  }
12233
12264
  }
12234
12265
  }
12266
+ namespace $403 {
12267
+ namespace Content {
12268
+ interface ApplicationJson {
12269
+ [k: string]: unknown;
12270
+ }
12271
+ }
12272
+ }
12273
+ namespace Default {
12274
+ namespace Content {
12275
+ interface ApplicationJson {
12276
+ [k: string]: unknown;
12277
+ }
12278
+ }
12279
+ }
12235
12280
  }
12236
12281
  }
12237
12282
  }
@@ -1344,7 +1344,7 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
1344
1344
  total: number;
1345
1345
  warning: number;
1346
1346
  }>;
1347
- /** List all unread notifications */
1347
+ /** List all unread notifications. */
1348
1348
  slistNotifications: (conf?: {
1349
1349
  headers?: {
1350
1350
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -1391,25 +1391,9 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1391
1391
  role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
1392
1392
  userId: string;
1393
1393
  }>;
1394
- /** Get a ProjectInvite by token. */
1395
- getProjectTokenInvite: (conf: {
1396
- headers: {
1397
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1398
- "x-access-token"?: string | undefined;
1399
- };
1400
- }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1401
- id: string;
1402
- information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
1403
- mailAddress: string;
1404
- membershipExpiresAt?: string | undefined;
1405
- message?: string | undefined;
1406
- projectDescription: string;
1407
- projectId: string;
1408
- role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
1409
- }>;
1410
1394
  /** Get a Project. */
1411
1395
  getProject: (conf: {
1412
- id: string;
1396
+ projectId: string;
1413
1397
  headers?: {
1414
1398
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1415
1399
  "x-access-token"?: string | undefined;
@@ -1436,6 +1420,22 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1436
1420
  spec?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
1437
1421
  statisticsBaseDomain?: string | undefined;
1438
1422
  }>;
1423
+ /** Get a ProjectInvite by token. */
1424
+ getProjectTokenInvite: (conf: {
1425
+ headers: {
1426
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1427
+ "x-access-token"?: string | undefined;
1428
+ };
1429
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1430
+ id: string;
1431
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
1432
+ mailAddress: string;
1433
+ membershipExpiresAt?: string | undefined;
1434
+ message?: string | undefined;
1435
+ projectDescription: string;
1436
+ projectId: string;
1437
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
1438
+ }>;
1439
1439
  /** Get the executing user's membership in a Project. */
1440
1440
  getSelfMembershipForProject: (conf: {
1441
1441
  projectId: string;
@@ -198,7 +198,7 @@ const buildNotificationApi = (baseClient) => ({
198
198
  newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
199
199
  /** Get the counts for unread notifications of the user. */
200
200
  scountUnreadNotifications: new ApiCallAsyncResourceFactory(descriptors.notificationsCountUnreadNotifications, baseClient.notification.scountUnreadNotifications).getApiResource,
201
- /** List all unread notifications */
201
+ /** List all unread notifications. */
202
202
  slistNotifications: new ApiCallAsyncResourceFactory(descriptors.notificationsListNotifications, baseClient.notification.slistNotifications).getApiResource,
203
203
  });
204
204
  const buildProjectApi = (baseClient) => ({
@@ -206,10 +206,10 @@ const buildProjectApi = (baseClient) => ({
206
206
  getProjectInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectInvite, baseClient.project.getProjectInvite).getApiResource,
207
207
  /** Get a ProjectMembership */
208
208
  getProjectMembership: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
209
- /** Get a ProjectInvite by token. */
210
- getProjectTokenInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
211
209
  /** Get a Project. */
212
210
  getProject: new ApiCallAsyncResourceFactory(descriptors.projectGetProject, baseClient.project.getProject).getApiResource,
211
+ /** Get a ProjectInvite by token. */
212
+ getProjectTokenInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
213
213
  /** Get the executing user's membership in a Project. */
214
214
  getSelfMembershipForProject: new ApiCallAsyncResourceFactory(descriptors.projectGetSelfMembershipForProject, baseClient.project.getSelfMembershipForProject).getApiResource,
215
215
  /** Get a Server. */
@@ -4730,7 +4730,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
4730
4730
  total: number;
4731
4731
  warning: number;
4732
4732
  }, 200, "application/json">>>;
4733
- /** List all unread notifications */
4733
+ /** List all unread notifications. */
4734
4734
  slistNotifications: (request?: {
4735
4735
  headers?: {
4736
4736
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -4783,7 +4783,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
4783
4783
  data: {
4784
4784
  status: "read";
4785
4785
  };
4786
- messageId: string;
4786
+ notificationId: string;
4787
4787
  headers?: {
4788
4788
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4789
4789
  "x-access-token"?: string | undefined;
@@ -4794,7 +4794,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
4794
4794
  };
4795
4795
  } & {
4796
4796
  pathParameters: {
4797
- messageId: string;
4797
+ notificationId: string;
4798
4798
  };
4799
4799
  } & {
4800
4800
  headers?: Partial<{
@@ -6930,6 +6930,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6930
6930
  [x: string]: unknown;
6931
6931
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6932
6932
  [x: string]: unknown;
6933
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6934
+ [x: string]: unknown;
6933
6935
  }, 412, "application/json">>>;
6934
6936
  /** Decline a ProjectInvite. */
6935
6937
  declineProjectInvite: (request: {
@@ -6986,7 +6988,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6986
6988
  rules: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectAvatarRules;
6987
6989
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6988
6990
  [x: string]: unknown;
6989
- }, 400, "application/json">>>;
6991
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6992
+ [x: string]: unknown;
6993
+ }, 403, "application/json">>>;
6990
6994
  /** Delete a Project's avatar. */
6991
6995
  deleteProjectAvatar: (request: {
6992
6996
  projectId: string;
@@ -7010,7 +7014,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7010
7014
  }>;
7011
7015
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7012
7016
  [x: string]: unknown;
7013
- }, 400, "application/json">>>;
7017
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7018
+ [x: string]: unknown;
7019
+ }, 403, "application/json">>>;
7014
7020
  /** Get a ProjectInvite. */
7015
7021
  getProjectInvite: (request: {
7016
7022
  inviteId: string;
@@ -7152,6 +7158,51 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7152
7158
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7153
7159
  }>;
7154
7160
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty">>>;
7161
+ /** Get a Project. */
7162
+ getProject: (request: {
7163
+ projectId: string;
7164
+ headers?: {
7165
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7166
+ "x-access-token"?: string | undefined;
7167
+ } | undefined;
7168
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7169
+ headers?: Partial<{
7170
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7171
+ }> | undefined;
7172
+ } & {
7173
+ pathParameters: {
7174
+ projectId: string;
7175
+ };
7176
+ } & {
7177
+ headers: {
7178
+ "x-access-token"?: string | undefined;
7179
+ } & Partial<{
7180
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7181
+ }>;
7182
+ }, import("@mittwald/api-client-commons").Response<{
7183
+ clusterDomain?: string | undefined;
7184
+ clusterID?: string | undefined;
7185
+ createdAt: string;
7186
+ customerId: string;
7187
+ description: string;
7188
+ directories: {
7189
+ [k: string]: string;
7190
+ };
7191
+ disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
7192
+ enabled: boolean;
7193
+ id: string;
7194
+ imageRefId?: string | undefined;
7195
+ isReady: boolean;
7196
+ projectHostingId?: string | undefined;
7197
+ readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
7198
+ serverId?: string | undefined;
7199
+ serverShortId?: string | undefined;
7200
+ shortId: string;
7201
+ spec?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
7202
+ statisticsBaseDomain?: string | undefined;
7203
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7204
+ [x: string]: unknown;
7205
+ }, 403, "application/json">>>;
7155
7206
  /** Delete a Project. */
7156
7207
  deleteProject: (request: {
7157
7208
  projectId: string;
@@ -7177,6 +7228,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7177
7228
  [x: string]: unknown;
7178
7229
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7179
7230
  [x: string]: unknown;
7231
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
7232
+ [x: string]: unknown;
7180
7233
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
7181
7234
  [x: string]: unknown;
7182
7235
  }, 500, "application/json">>>;
@@ -7206,7 +7259,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7206
7259
  rules: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectAvatarRules;
7207
7260
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7208
7261
  [x: string]: unknown;
7209
- }, 400, "application/json">>>;
7262
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7263
+ [x: string]: unknown;
7264
+ }, 403, "application/json">>>;
7210
7265
  /** Delete a Server's avatar. */
7211
7266
  deleteServerAvatar: (request: {
7212
7267
  serverId: string;
@@ -7230,7 +7285,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7230
7285
  }>;
7231
7286
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7232
7287
  [x: string]: unknown;
7233
- }, 400, "application/json">>>;
7288
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7289
+ [x: string]: unknown;
7290
+ }, 403, "application/json">>>;
7234
7291
  /** Get a ProjectInvite by token. */
7235
7292
  getProjectTokenInvite: (request: {
7236
7293
  headers: {
@@ -7260,51 +7317,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7260
7317
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7261
7318
  [x: string]: unknown;
7262
7319
  }, 404, "application/json">>>;
7263
- /** Get a Project. */
7264
- getProject: (request: {
7265
- id: string;
7266
- headers?: {
7267
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7268
- "x-access-token"?: string | undefined;
7269
- } | undefined;
7270
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7271
- headers?: Partial<{
7272
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7273
- }> | undefined;
7274
- } & {
7275
- pathParameters: {
7276
- id: string;
7277
- };
7278
- } & {
7279
- headers: {
7280
- "x-access-token"?: string | undefined;
7281
- } & Partial<{
7282
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7283
- }>;
7284
- }, import("@mittwald/api-client-commons").Response<{
7285
- clusterDomain?: string | undefined;
7286
- clusterID?: string | undefined;
7287
- createdAt: string;
7288
- customerId: string;
7289
- description: string;
7290
- directories: {
7291
- [k: string]: string;
7292
- };
7293
- disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
7294
- enabled: boolean;
7295
- id: string;
7296
- imageRefId?: string | undefined;
7297
- isReady: boolean;
7298
- projectHostingId?: string | undefined;
7299
- readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
7300
- serverId?: string | undefined;
7301
- serverShortId?: string | undefined;
7302
- shortId: string;
7303
- spec?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
7304
- statisticsBaseDomain?: string | undefined;
7305
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7306
- [x: string]: unknown;
7307
- }, 404, "application/json">>>;
7308
7320
  /** Get the executing user's membership in a Project. */
7309
7321
  getSelfMembershipForProject: (request: {
7310
7322
  projectId: string;
@@ -7375,6 +7387,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7375
7387
  storage: string;
7376
7388
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7377
7389
  [x: string]: unknown;
7390
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
7391
+ [x: string]: unknown;
7378
7392
  }, 404, "application/json">>>;
7379
7393
  /** Leave a Project. */
7380
7394
  leaveProject: (request: {
@@ -7585,7 +7599,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7585
7599
  shortId: string;
7586
7600
  }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7587
7601
  [x: string]: unknown;
7588
- }, 400, "application/json">>>;
7602
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7603
+ [x: string]: unknown;
7604
+ }, 403, "application/json">>>;
7589
7605
  /** List Servers belonging to the executing user. */
7590
7606
  listServers: (request?: {
7591
7607
  headers?: {
@@ -7657,7 +7673,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7657
7673
  data: {
7658
7674
  description: string;
7659
7675
  };
7660
- id: string;
7676
+ projectId: string;
7661
7677
  headers?: {
7662
7678
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7663
7679
  "x-access-token"?: string | undefined;
@@ -7668,7 +7684,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7668
7684
  };
7669
7685
  } & {
7670
7686
  pathParameters: {
7671
- id: string;
7687
+ projectId: string;
7672
7688
  };
7673
7689
  } & {
7674
7690
  headers?: Partial<{
@@ -7684,7 +7700,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7684
7700
  [x: string]: unknown;
7685
7701
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7686
7702
  [x: string]: unknown;
7687
- }, 404, "application/json">>>;
7703
+ }, 403, "application/json">>>;
7688
7704
  /** Update a Servers's description. */
7689
7705
  updateServerDescription: (request: {
7690
7706
  data: {
@@ -7715,7 +7731,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7715
7731
  }>;
7716
7732
  }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
7717
7733
  [x: string]: unknown;
7718
- }, 400, "application/json">>>;
7734
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7735
+ [x: string]: unknown;
7736
+ }, 403, "application/json">>>;
7719
7737
  };
7720
7738
  /** The filesystem API allows you to directly access the filesystem of your project. */
7721
7739
  readonly projectFileSystem: {
@@ -304,7 +304,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
304
304
  newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
305
305
  /** Get the counts for unread notifications of the user. */
306
306
  scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
307
- /** List all unread notifications */
307
+ /** List all unread notifications. */
308
308
  slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
309
309
  /** Mark all notifications as read. */
310
310
  sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
@@ -468,6 +468,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
468
468
  deleteProjectMembership: this.requestFunctionFactory(descriptors.projectDeleteProjectMembership),
469
469
  /** Update a ProjectMembership. */
470
470
  updateProjectMembership: this.requestFunctionFactory(descriptors.projectUpdateProjectMembership),
471
+ /** Get a Project. */
472
+ getProject: this.requestFunctionFactory(descriptors.projectGetProject),
471
473
  /** Delete a Project. */
472
474
  deleteProject: this.requestFunctionFactory(descriptors.projectDeleteProject),
473
475
  /** Request a Server avatar upload. */
@@ -476,8 +478,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
476
478
  deleteServerAvatar: this.requestFunctionFactory(descriptors.projectDeleteServerAvatar),
477
479
  /** Get a ProjectInvite by token. */
478
480
  getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
479
- /** Get a Project. */
480
- getProject: this.requestFunctionFactory(descriptors.projectGetProject),
481
481
  /** Get the executing user's membership in a Project. */
482
482
  getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
483
483
  /** Get a Server. */