@mittwald/api-client 3.0.16 → 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.
@@ -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;
@@ -235,10 +235,10 @@ const buildProjectApi = (baseClient) => ({
235
235
  getProjectInvite: new react_1.ApiCallAsyncResourceFactory(descriptors.projectGetProjectInvite, baseClient.project.getProjectInvite).getApiResource,
236
236
  /** Get a ProjectMembership */
237
237
  getProjectMembership: new react_1.ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
238
- /** Get a ProjectInvite by token. */
239
- getProjectTokenInvite: new react_1.ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
240
238
  /** Get a Project. */
241
239
  getProject: new react_1.ApiCallAsyncResourceFactory(descriptors.projectGetProject, baseClient.project.getProject).getApiResource,
240
+ /** Get a ProjectInvite by token. */
241
+ getProjectTokenInvite: new react_1.ApiCallAsyncResourceFactory(descriptors.projectGetProjectTokenInvite, baseClient.project.getProjectTokenInvite).getApiResource,
242
242
  /** Get the executing user's membership in a Project. */
243
243
  getSelfMembershipForProject: new react_1.ApiCallAsyncResourceFactory(descriptors.projectGetSelfMembershipForProject, baseClient.project.getSelfMembershipForProject).getApiResource,
244
244
  /** Get a Server. */
@@ -7158,6 +7158,51 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7158
7158
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7159
7159
  }>;
7160
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">>>;
7161
7206
  /** Delete a Project. */
7162
7207
  deleteProject: (request: {
7163
7208
  projectId: string;
@@ -7272,51 +7317,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7272
7317
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7273
7318
  [x: string]: unknown;
7274
7319
  }, 404, "application/json">>>;
7275
- /** Get a Project. */
7276
- getProject: (request: {
7277
- id: string;
7278
- headers?: {
7279
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7280
- "x-access-token"?: string | undefined;
7281
- } | undefined;
7282
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7283
- headers?: Partial<{
7284
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7285
- }> | undefined;
7286
- } & {
7287
- pathParameters: {
7288
- id: string;
7289
- };
7290
- } & {
7291
- headers: {
7292
- "x-access-token"?: string | undefined;
7293
- } & Partial<{
7294
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7295
- }>;
7296
- }, import("@mittwald/api-client-commons").Response<{
7297
- clusterDomain?: string | undefined;
7298
- clusterID?: string | undefined;
7299
- createdAt: string;
7300
- customerId: string;
7301
- description: string;
7302
- directories: {
7303
- [k: string]: string;
7304
- };
7305
- disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
7306
- enabled: boolean;
7307
- id: string;
7308
- imageRefId?: string | undefined;
7309
- isReady: boolean;
7310
- projectHostingId?: string | undefined;
7311
- readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
7312
- serverId?: string | undefined;
7313
- serverShortId?: string | undefined;
7314
- shortId: string;
7315
- spec?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
7316
- statisticsBaseDomain?: string | undefined;
7317
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7318
- [x: string]: unknown;
7319
- }, 403, "application/json">>>;
7320
7320
  /** Get the executing user's membership in a Project. */
7321
7321
  getSelfMembershipForProject: (request: {
7322
7322
  projectId: string;
@@ -7673,7 +7673,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7673
7673
  data: {
7674
7674
  description: string;
7675
7675
  };
7676
- id: string;
7676
+ projectId: string;
7677
7677
  headers?: {
7678
7678
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7679
7679
  "x-access-token"?: string | undefined;
@@ -7684,7 +7684,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7684
7684
  };
7685
7685
  } & {
7686
7686
  pathParameters: {
7687
- id: string;
7687
+ projectId: string;
7688
7688
  };
7689
7689
  } & {
7690
7690
  headers?: Partial<{
@@ -496,6 +496,8 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
496
496
  deleteProjectMembership: this.requestFunctionFactory(descriptors.projectDeleteProjectMembership),
497
497
  /** Update a ProjectMembership. */
498
498
  updateProjectMembership: this.requestFunctionFactory(descriptors.projectUpdateProjectMembership),
499
+ /** Get a Project. */
500
+ getProject: this.requestFunctionFactory(descriptors.projectGetProject),
499
501
  /** Delete a Project. */
500
502
  deleteProject: this.requestFunctionFactory(descriptors.projectDeleteProject),
501
503
  /** Request a Server avatar upload. */
@@ -504,8 +506,6 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
504
506
  deleteServerAvatar: this.requestFunctionFactory(descriptors.projectDeleteServerAvatar),
505
507
  /** Get a ProjectInvite by token. */
506
508
  getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
507
- /** Get a Project. */
508
- getProject: this.requestFunctionFactory(descriptors.projectGetProject),
509
509
  /** Get the executing user's membership in a Project. */
510
510
  getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
511
511
  /** Get a Server. */
@@ -435,6 +435,8 @@ export declare const projectGetProjectMembership: OpenAPIOperation<RequestType<S
435
435
  export declare const projectDeleteProjectMembership: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
436
436
  /** Update a ProjectMembership. */
437
437
  export declare const projectUpdateProjectMembership: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
438
+ /** Get a Project. */
439
+ export declare const projectGetProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
438
440
  /** Delete a Project. */
439
441
  export declare const projectDeleteProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
440
442
  /** Request a Server avatar upload. */
@@ -453,8 +455,6 @@ export declare const projectFileSystemGetJwt: OpenAPIOperation<RequestType<Simpl
453
455
  export declare const projectFileSystemListFiles: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
454
456
  /** Get a ProjectInvite by token. */
455
457
  export declare const projectGetProjectTokenInvite: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectTokenInvite.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectTokenInvite.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectTokenInvite.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectTokenInvite.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectTokenInvite.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectTokenInvite.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
456
- /** Get a Project. */
457
- export declare const projectGetProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
458
458
  /** Get the executing user's membership in a Project. */
459
459
  export declare const projectGetSelfMembershipForProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMembershipsSelf.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMembershipsSelf.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMembershipsSelf.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMembershipsSelf.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMembershipsSelf.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMembershipsSelf.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
460
460
  /** Get a Server. */
@@ -476,7 +476,7 @@ export declare const projectListServers: OpenAPIOperation<RequestType<Simplify<n
476
476
  /** Resend the mail for a ProjectInvite. */
477
477
  export declare const projectResendProjectInviteMail: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
478
478
  /** Update a Project's description. */
479
- export declare const projectUpdateProjectDescription: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
479
+ export declare const projectUpdateProjectDescription: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
480
480
  /** Update a Servers's description. */
481
481
  export declare const projectUpdateServerDescription: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
482
482
  /** Relocate an external Project to mittwald. */
@@ -4,7 +4,7 @@ exports.conversationListConversations = exports.contractListContracts = exports.
4
4
  exports.databaseCreateMysqlDatabase = exports.databaseListMysqlDatabases = exports.customerResendCustomerInviteMail = exports.customerRemoveAvatar = exports.customerRequestAvatarUpload = exports.customerListMembershipsForCustomer = exports.customerListInvitesForCustomer = exports.customerListCustomerMemberships = exports.customerListCustomerInvites = exports.customerLeaveCustomer = exports.customerIsCustomerLegallyCompetent = exports.customerGetCustomerTokenInvite = exports.customerDeleteCustomer = exports.customerUpdateCustomer = exports.customerGetCustomer = exports.customerUpdateCustomerMembership = exports.customerDeleteCustomerMembership = exports.customerGetCustomerMembership = exports.customerDeleteCustomerInvite = exports.customerGetCustomerInvite = exports.customerDeleteCategory = exports.customerUpdateCategory = exports.customerGetCustomerCategory = exports.customerDeclineCustomerInvite = exports.customerCreateCustomer = exports.customerListCustomers = exports.customerCreateCustomerInvite = exports.customerCreateCategory = exports.customerListOfCustomerCategories = exports.customerAcceptCustomerInvite = exports.cronjobUpdateCronjobAppId = exports.cronjobGetExecution = exports.cronjobUpdateCronjob = exports.cronjobDeleteCronjob = exports.cronjobGetCronjob = exports.cronjobCreateExecution = exports.cronjobListExecutions = exports.cronjobCreateCronjob = exports.cronjobListCronjobs = exports.cronjobAbortExecution = exports.conversationUpdateMessage = exports.conversationSetConversationStatus = exports.conversationRequestFileUpload = exports.conversationListCategories = exports.conversationUpdateConversation = exports.conversationGetConversation = exports.conversationGetCategory = exports.conversationCreateMessage = exports.conversationListMessagesByConversation = exports.conversationCreateConversation = void 0;
5
5
  exports.domainListDomainOwnerships = exports.domainGetSupportedTlds = exports.domainVerifyDomainOwnership = exports.domainGetSpecificDomainOwnership = exports.domainGetScreenshotForDomain = exports.domainGetHandleFields = exports.domainDeleteDomain = exports.domainGetDomain = exports.domainDeclareProcessChangeHandles = exports.domainDeclareProcessChangeAuthcode = exports.domainDeclareNameservers = exports.domainCreateAuthcode2ForDomain = exports.domainCreateAuthcodeForDomain = exports.domainCheckDomainAvailability = exports.domainChangeProjectOfDomain = exports.domainChangeOwnercOfDomain = exports.domainAbortDeclareProcess = exports.dnsZonesForProject = exports.dnsZoneGetSpecific = exports.dnsSubZoneCreate = exports.dnsRecordTxtSet = exports.dnsRecordSrvSet = exports.dnsRecordMxSetManaged = exports.dnsRecordMxSetCustom = exports.dnsRecordCnameSet = exports.dnsRecordAsetManagedByIngress = exports.dnsRecordAsetCustom = exports.newsletterSubscribeUser = exports.databaseUpdateRedisDatabaseDescription = exports.databaseUpdateRedisDatabaseConfiguration = exports.databaseUpdateMysqlUserPassword = exports.databaseUpdateMysqlDatabaseDescription = exports.databaseUpdateMysqlDatabaseDefaultCharset = exports.databaseListRedisVersions = exports.databaseListMysqlVersions = exports.databaseListMysqlCharsets = exports.databaseGetMysqlUserPhpMyAdminUrl = exports.databaseEnableMysqlUser = exports.databaseDisableMysqlUser = exports.databaseDeleteRedisDatabase = exports.databaseGetRedisDatabase = exports.databaseDeleteMysqlUser = exports.databaseUpdateMysqlUser = exports.databaseGetMysqlUser = exports.databaseDeleteMysqlDatabase = exports.databaseGetMysqlDatabase = exports.databaseCreateRedisDatabase = exports.databaseListRedisDatabases = exports.databaseCreateMysqlUser = exports.databaseListMysqlUsers = void 0;
6
6
  exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.newsletterUnsubscribeUser = exports.newsletterGetInfo = exports.mailProjectsettingUpdateWhitelist = exports.mailProjectsettingUpdateBlacklist = exports.mailProjectsettingGetSpecific = exports.mailMailaddressUpdateSpamprotection = exports.mailMailaddressUpdateQuota = exports.mailMailaddressUpdatePassword = exports.mailMailaddressUpdateForwardaddresses = exports.mailMailaddressUpdateCatchall = exports.mailMailaddressUpdateAutoresponder = exports.mailMailaddressUpdateAddress = exports.mailMailaddressDelete = exports.mailMailaddressGetSpecific = exports.mailMailaddressCreate = exports.mailMailaddressList = exports.mailDeliveryboxUpdatePassword = exports.mailDeliveryboxUpdateDescription = exports.mailDeliveryboxDelete = exports.mailDeliveryboxGetSpecific = exports.mailDeliveryboxCreate = exports.mailDeliveryboxList = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressTls = exports.ingressRequestAcmeCertificateIssuance = exports.ingressPaths = exports.ingressListForProject = exports.ingressListAccessible = exports.ingressDelete = exports.ingressGetSpecific = exports.ingressCreate = exports.fileGetFile = exports.fileGetFileTypeRules = exports.fileGetFileTokenRules = exports.fileGetFileMeta = exports.fileCreateFile = exports.domainResendDomainEmail = exports.domainListDomains = void 0;
7
- exports.sshUserDeleteSshUser = exports.sshUserGetSshUser = exports.sshUserCreateSshUser = exports.sshUserListSshUsers = exports.sftpUserUpdateSftpUser = exports.sftpUserDeleteSftpUser = exports.sftpUserGetSftpUser = exports.sftpUserCreateSftpUser = exports.sftpUserListSftpUsers = exports.servicetokenAuthenticateService = exports.relocationCreateLegacyTariffChange = exports.redirectusCreateRelocation = exports.projectUpdateServerDescription = exports.projectUpdateProjectDescription = exports.projectResendProjectInviteMail = exports.projectListServers = exports.projectListProjects = exports.projectListProjectMemberships = exports.projectListProjectInvites = exports.projectListMembershipsForProject = exports.projectListInvitesForProject = exports.projectLeaveProject = exports.projectGetServer = exports.projectGetSelfMembershipForProject = exports.projectGetProject = exports.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar = exports.projectRequestProjectAvatarUpload = exports.projectDeclineProjectInvite = exports.projectCreateProject = exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.pageinsightsListPerformanceDataForProject = exports.pageinsightsGetPerformanceData = exports.orderPreviewTariffChange = exports.orderPreviewOrder = void 0;
7
+ exports.sshUserDeleteSshUser = exports.sshUserGetSshUser = exports.sshUserCreateSshUser = exports.sshUserListSshUsers = exports.sftpUserUpdateSftpUser = exports.sftpUserDeleteSftpUser = exports.sftpUserGetSftpUser = exports.sftpUserCreateSftpUser = exports.sftpUserListSftpUsers = exports.servicetokenAuthenticateService = exports.relocationCreateLegacyTariffChange = exports.redirectusCreateRelocation = exports.projectUpdateServerDescription = exports.projectUpdateProjectDescription = exports.projectResendProjectInviteMail = exports.projectListServers = exports.projectListProjects = exports.projectListProjectMemberships = exports.projectListProjectInvites = exports.projectListMembershipsForProject = exports.projectListInvitesForProject = exports.projectLeaveProject = exports.projectGetServer = exports.projectGetSelfMembershipForProject = exports.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectGetProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar = exports.projectRequestProjectAvatarUpload = exports.projectDeclineProjectInvite = exports.projectCreateProject = exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.pageinsightsListPerformanceDataForProject = exports.pageinsightsGetPerformanceData = exports.orderPreviewTariffChange = exports.orderPreviewOrder = void 0;
8
8
  exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = exports.userDeleteSshKey = exports.userEditSshKey = exports.userGetSshKey = exports.userDeleteApiToken = exports.userEditApiToken = exports.userGetApiToken = exports.userCreateSshKey = exports.userListSshKeys = exports.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = exports.userGetMfaStatus = exports.userCheckToken = exports.userChangePassword = exports.userChangeEmail = exports.userGetOwnEmail = exports.userAuthenticate = exports.userAuthenticateMfa = exports.userRemovePhoneNumber = exports.userAddPhoneNumber = exports.sshUserUpdateSshUser = void 0;
9
9
  /** execute a runtime concerning action on a specific `AppInstallation` */
10
10
  exports.appExecuteAction = {
@@ -1302,6 +1302,12 @@ exports.projectUpdateProjectMembership = {
1302
1302
  method: "PATCH",
1303
1303
  operationId: "project-update-project-membership",
1304
1304
  };
1305
+ /** Get a Project. */
1306
+ exports.projectGetProject = {
1307
+ path: "/v2/projects/{projectId}",
1308
+ method: "GET",
1309
+ operationId: "project-get-project",
1310
+ };
1305
1311
  /** Delete a Project. */
1306
1312
  exports.projectDeleteProject = {
1307
1313
  path: "/v2/projects/{projectId}",
@@ -1356,12 +1362,6 @@ exports.projectGetProjectTokenInvite = {
1356
1362
  method: "GET",
1357
1363
  operationId: "project-get-project-token-invite",
1358
1364
  };
1359
- /** Get a Project. */
1360
- exports.projectGetProject = {
1361
- path: "/v2/projects/{id}",
1362
- method: "GET",
1363
- operationId: "project-get-project",
1364
- };
1365
1365
  /** Get the executing user's membership in a Project. */
1366
1366
  exports.projectGetSelfMembershipForProject = {
1367
1367
  path: "/v2/projects/{projectId}/memberships/self",
@@ -1424,7 +1424,7 @@ exports.projectResendProjectInviteMail = {
1424
1424
  };
1425
1425
  /** Update a Project's description. */
1426
1426
  exports.projectUpdateProjectDescription = {
1427
- path: "/v2/projects/{id}/description",
1427
+ path: "/v2/projects/{projectId}/description",
1428
1428
  method: "PATCH",
1429
1429
  operationId: "project-update-project-description",
1430
1430
  };
@@ -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";
@@ -11420,6 +11396,36 @@ export declare module MittwaldAPIV2 {
11420
11396
  }
11421
11397
  }
11422
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
+ }
11423
11429
  namespace Delete {
11424
11430
  namespace Parameters {
11425
11431
  type Path = {
@@ -11826,38 +11832,6 @@ export declare module MittwaldAPIV2 {
11826
11832
  }
11827
11833
  }
11828
11834
  }
11829
- namespace V2ProjectsId {
11830
- namespace Get {
11831
- namespace Parameters {
11832
- type Path = {
11833
- id: string;
11834
- };
11835
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11836
- type Query = {};
11837
- }
11838
- namespace Responses {
11839
- namespace $200 {
11840
- namespace Content {
11841
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectProject;
11842
- }
11843
- }
11844
- namespace $403 {
11845
- namespace Content {
11846
- interface ApplicationJson {
11847
- [k: string]: unknown;
11848
- }
11849
- }
11850
- }
11851
- namespace Default {
11852
- namespace Content {
11853
- interface ApplicationJson {
11854
- [k: string]: unknown;
11855
- }
11856
- }
11857
- }
11858
- }
11859
- }
11860
- }
11861
11835
  namespace V2ProjectsProjectIdMembershipsSelf {
11862
11836
  namespace Get {
11863
11837
  namespace Parameters {
@@ -12222,11 +12196,11 @@ export declare module MittwaldAPIV2 {
12222
12196
  }
12223
12197
  }
12224
12198
  }
12225
- namespace V2ProjectsIdDescription {
12199
+ namespace V2ProjectsProjectIdDescription {
12226
12200
  namespace Patch {
12227
12201
  namespace Parameters {
12228
12202
  type Path = {
12229
- id: string;
12203
+ projectId: string;
12230
12204
  };
12231
12205
  interface RequestBody {
12232
12206
  description: string;
@@ -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;
@@ -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. */
@@ -7158,6 +7158,51 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7158
7158
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7159
7159
  }>;
7160
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">>>;
7161
7206
  /** Delete a Project. */
7162
7207
  deleteProject: (request: {
7163
7208
  projectId: string;
@@ -7272,51 +7317,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7272
7317
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7273
7318
  [x: string]: unknown;
7274
7319
  }, 404, "application/json">>>;
7275
- /** Get a Project. */
7276
- getProject: (request: {
7277
- id: string;
7278
- headers?: {
7279
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7280
- "x-access-token"?: string | undefined;
7281
- } | undefined;
7282
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7283
- headers?: Partial<{
7284
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7285
- }> | undefined;
7286
- } & {
7287
- pathParameters: {
7288
- id: string;
7289
- };
7290
- } & {
7291
- headers: {
7292
- "x-access-token"?: string | undefined;
7293
- } & Partial<{
7294
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7295
- }>;
7296
- }, import("@mittwald/api-client-commons").Response<{
7297
- clusterDomain?: string | undefined;
7298
- clusterID?: string | undefined;
7299
- createdAt: string;
7300
- customerId: string;
7301
- description: string;
7302
- directories: {
7303
- [k: string]: string;
7304
- };
7305
- disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
7306
- enabled: boolean;
7307
- id: string;
7308
- imageRefId?: string | undefined;
7309
- isReady: boolean;
7310
- projectHostingId?: string | undefined;
7311
- readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
7312
- serverId?: string | undefined;
7313
- serverShortId?: string | undefined;
7314
- shortId: string;
7315
- spec?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
7316
- statisticsBaseDomain?: string | undefined;
7317
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7318
- [x: string]: unknown;
7319
- }, 403, "application/json">>>;
7320
7320
  /** Get the executing user's membership in a Project. */
7321
7321
  getSelfMembershipForProject: (request: {
7322
7322
  projectId: string;
@@ -7673,7 +7673,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7673
7673
  data: {
7674
7674
  description: string;
7675
7675
  };
7676
- id: string;
7676
+ projectId: string;
7677
7677
  headers?: {
7678
7678
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7679
7679
  "x-access-token"?: string | undefined;
@@ -7684,7 +7684,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7684
7684
  };
7685
7685
  } & {
7686
7686
  pathParameters: {
7687
- id: string;
7687
+ projectId: string;
7688
7688
  };
7689
7689
  } & {
7690
7690
  headers?: Partial<{
@@ -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. */
@@ -435,6 +435,8 @@ export declare const projectGetProjectMembership: OpenAPIOperation<RequestType<S
435
435
  export declare const projectDeleteProjectMembership: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
436
436
  /** Update a ProjectMembership. */
437
437
  export declare const projectUpdateProjectMembership: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Patch.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectMembershipsMembershipId.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
438
+ /** Get a Project. */
439
+ export declare const projectGetProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
438
440
  /** Delete a Project. */
439
441
  export declare const projectDeleteProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
440
442
  /** Request a Server avatar upload. */
@@ -453,8 +455,6 @@ export declare const projectFileSystemGetJwt: OpenAPIOperation<RequestType<Simpl
453
455
  export declare const projectFileSystemListFiles: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdFilesystemFiles.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
454
456
  /** Get a ProjectInvite by token. */
455
457
  export declare const projectGetProjectTokenInvite: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectTokenInvite.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectTokenInvite.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectTokenInvite.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectTokenInvite.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectTokenInvite.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectTokenInvite.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
456
- /** Get a Project. */
457
- export declare const projectGetProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
458
458
  /** Get the executing user's membership in a Project. */
459
459
  export declare const projectGetSelfMembershipForProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMembershipsSelf.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMembershipsSelf.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMembershipsSelf.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMembershipsSelf.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMembershipsSelf.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMembershipsSelf.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
460
460
  /** Get a Server. */
@@ -476,7 +476,7 @@ export declare const projectListServers: OpenAPIOperation<RequestType<Simplify<n
476
476
  /** Resend the mail for a ProjectInvite. */
477
477
  export declare const projectResendProjectInviteMail: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
478
478
  /** Update a Project's description. */
479
- export declare const projectUpdateProjectDescription: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsIdDescription.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
479
+ export declare const projectUpdateProjectDescription: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDescription.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
480
480
  /** Update a Servers's description. */
481
481
  export declare const projectUpdateServerDescription: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServersServerIdDescription.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
482
482
  /** Relocate an external Project to mittwald. */
@@ -1294,6 +1294,12 @@ export const projectUpdateProjectMembership = {
1294
1294
  method: "PATCH",
1295
1295
  operationId: "project-update-project-membership",
1296
1296
  };
1297
+ /** Get a Project. */
1298
+ export const projectGetProject = {
1299
+ path: "/v2/projects/{projectId}",
1300
+ method: "GET",
1301
+ operationId: "project-get-project",
1302
+ };
1297
1303
  /** Delete a Project. */
1298
1304
  export const projectDeleteProject = {
1299
1305
  path: "/v2/projects/{projectId}",
@@ -1348,12 +1354,6 @@ export const projectGetProjectTokenInvite = {
1348
1354
  method: "GET",
1349
1355
  operationId: "project-get-project-token-invite",
1350
1356
  };
1351
- /** Get a Project. */
1352
- export const projectGetProject = {
1353
- path: "/v2/projects/{id}",
1354
- method: "GET",
1355
- operationId: "project-get-project",
1356
- };
1357
1357
  /** Get the executing user's membership in a Project. */
1358
1358
  export const projectGetSelfMembershipForProject = {
1359
1359
  path: "/v2/projects/{projectId}/memberships/self",
@@ -1416,7 +1416,7 @@ export const projectResendProjectInviteMail = {
1416
1416
  };
1417
1417
  /** Update a Project's description. */
1418
1418
  export const projectUpdateProjectDescription = {
1419
- path: "/v2/projects/{id}/description",
1419
+ path: "/v2/projects/{projectId}/description",
1420
1420
  method: "PATCH",
1421
1421
  operationId: "project-update-project-description",
1422
1422
  };
@@ -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";
@@ -11420,6 +11396,36 @@ export declare module MittwaldAPIV2 {
11420
11396
  }
11421
11397
  }
11422
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
+ }
11423
11429
  namespace Delete {
11424
11430
  namespace Parameters {
11425
11431
  type Path = {
@@ -11826,38 +11832,6 @@ export declare module MittwaldAPIV2 {
11826
11832
  }
11827
11833
  }
11828
11834
  }
11829
- namespace V2ProjectsId {
11830
- namespace Get {
11831
- namespace Parameters {
11832
- type Path = {
11833
- id: string;
11834
- };
11835
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11836
- type Query = {};
11837
- }
11838
- namespace Responses {
11839
- namespace $200 {
11840
- namespace Content {
11841
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectProject;
11842
- }
11843
- }
11844
- namespace $403 {
11845
- namespace Content {
11846
- interface ApplicationJson {
11847
- [k: string]: unknown;
11848
- }
11849
- }
11850
- }
11851
- namespace Default {
11852
- namespace Content {
11853
- interface ApplicationJson {
11854
- [k: string]: unknown;
11855
- }
11856
- }
11857
- }
11858
- }
11859
- }
11860
- }
11861
11835
  namespace V2ProjectsProjectIdMembershipsSelf {
11862
11836
  namespace Get {
11863
11837
  namespace Parameters {
@@ -12222,11 +12196,11 @@ export declare module MittwaldAPIV2 {
12222
12196
  }
12223
12197
  }
12224
12198
  }
12225
- namespace V2ProjectsIdDescription {
12199
+ namespace V2ProjectsProjectIdDescription {
12226
12200
  namespace Patch {
12227
12201
  namespace Parameters {
12228
12202
  type Path = {
12229
- id: string;
12203
+ projectId: string;
12230
12204
  };
12231
12205
  interface RequestBody {
12232
12206
  description: string;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.0.16';
1
+ export declare const MittwaldAPIClientVersion = '3.0.17';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.0.16';
1
+ export const MittwaldAPIClientVersion = '3.0.17';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.0.16",
3
+ "version": "3.0.17",
4
4
  "description": "Auto-generated client for the mittwald API",
5
5
  "license": "MIT",
6
6
  "repository": "github:mittwald/api-client-js",