@mittwald/api-client 4.396.0 → 4.398.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/generated/v2/client-react.js +6 -4
- package/dist/esm/generated/v2/client.js +6 -4
- package/dist/esm/generated/v2/descriptors.js +18 -12
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +47 -38
- package/dist/types/generated/v2/client.d.ts +211 -164
- package/dist/types/generated/v2/descriptors.d.ts +6 -4
- package/dist/types/generated/v2/types.d.ts +1152 -1079
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -296,6 +296,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
296
296
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
297
297
|
/** List TLDs. */
|
|
298
298
|
listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
299
|
+
/** List Domain-Migrations belonging to a Project. */
|
|
300
|
+
migrationListMigrationsByProjectId: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByProjectId, baseClient.domain.migrationListMigrationsByProjectId).getApiResource,
|
|
299
301
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
300
302
|
suggest: new ApiCallAsyncResourceFactory(descriptors.domainSuggest, baseClient.domain.suggest).getApiResource,
|
|
301
303
|
/** List Ingresses. */
|
|
@@ -436,8 +438,12 @@ const buildProjectApi = (baseClient) => ({
|
|
|
436
438
|
getSelfMembershipForProject: new ApiCallAsyncResourceFactory(descriptors.projectGetSelfMembershipForProject, baseClient.project.getSelfMembershipForProject).getApiResource,
|
|
437
439
|
/** Get a Server. */
|
|
438
440
|
getServer: new ApiCallAsyncResourceFactory(descriptors.projectGetServer, baseClient.project.getServer).getApiResource,
|
|
441
|
+
/** List Projects belonging to a Customer. */
|
|
442
|
+
listCustomerProjects: new ApiCallAsyncResourceFactory(descriptors.projectListCustomerProjects, baseClient.project.listCustomerProjects).getApiResource,
|
|
439
443
|
/** List Memberships belonging to a Project. */
|
|
440
444
|
listMembershipsForProject: new ApiCallAsyncResourceFactory(descriptors.projectListMembershipsForProject, baseClient.project.listMembershipsForProject).getApiResource,
|
|
445
|
+
/** Get the activities of a project. */
|
|
446
|
+
listProjectActivities: new ApiCallAsyncResourceFactory(descriptors.projectListProjectActivities, baseClient.project.listProjectActivities).getApiResource,
|
|
441
447
|
/** List ProjectInvites belonging to the executing user. */
|
|
442
448
|
listProjectInvites: new ApiCallAsyncResourceFactory(descriptors.projectListProjectInvites, baseClient.project.listProjectInvites).getApiResource,
|
|
443
449
|
/** List ProjectMemberships belonging to the executing user. */
|
|
@@ -450,10 +456,6 @@ const buildProjectApi = (baseClient) => ({
|
|
|
450
456
|
storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
|
|
451
457
|
/** Get storage space Statistics belonging to a Server. */
|
|
452
458
|
storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
|
|
453
|
-
/** Get the activities of a project. */
|
|
454
|
-
listProjectActivities: new ApiCallAsyncResourceFactory(descriptors.projectListProjectActivities, baseClient.project.listProjectActivities).getApiResource,
|
|
455
|
-
/** List Projects belonging to a Customer. */
|
|
456
|
-
listCustomerProjects: new ApiCallAsyncResourceFactory(descriptors.projectListCustomerProjects, baseClient.project.listCustomerProjects).getApiResource,
|
|
457
459
|
});
|
|
458
460
|
const buildProjectFileSystemApi = (baseClient) => ({
|
|
459
461
|
/** List directories belonging to a Project. */
|
|
@@ -605,6 +605,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
605
605
|
listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
|
|
606
606
|
/** List TLDs. */
|
|
607
607
|
listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
|
|
608
|
+
/** List Domain-Migrations belonging to a Project. */
|
|
609
|
+
migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
|
|
608
610
|
/** Resends a Contact-Verification email. */
|
|
609
611
|
resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
|
|
610
612
|
/** Resend a Domain email. */
|
|
@@ -946,8 +948,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
946
948
|
getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
|
|
947
949
|
/** Get a Server. */
|
|
948
950
|
getServer: this.requestFunctionFactory(descriptors.projectGetServer),
|
|
951
|
+
/** List Projects belonging to a Customer. */
|
|
952
|
+
listCustomerProjects: this.requestFunctionFactory(descriptors.projectListCustomerProjects),
|
|
949
953
|
/** List Memberships belonging to a Project. */
|
|
950
954
|
listMembershipsForProject: this.requestFunctionFactory(descriptors.projectListMembershipsForProject),
|
|
955
|
+
/** Get the activities of a project. */
|
|
956
|
+
listProjectActivities: this.requestFunctionFactory(descriptors.projectListProjectActivities),
|
|
951
957
|
/** List ProjectInvites belonging to the executing user. */
|
|
952
958
|
listProjectInvites: this.requestFunctionFactory(descriptors.projectListProjectInvites),
|
|
953
959
|
/** List ProjectMemberships belonging to the executing user. */
|
|
@@ -970,10 +976,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
970
976
|
storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
|
|
971
977
|
/** Update a Server's storage space notification threshold. */
|
|
972
978
|
storagespaceReplaceServerNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceServerNotificationThreshold),
|
|
973
|
-
/** Get the activities of a project. */
|
|
974
|
-
listProjectActivities: this.requestFunctionFactory(descriptors.projectListProjectActivities),
|
|
975
|
-
/** List Projects belonging to a Customer. */
|
|
976
|
-
listCustomerProjects: this.requestFunctionFactory(descriptors.projectListCustomerProjects),
|
|
977
979
|
};
|
|
978
980
|
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
979
981
|
projectFileSystem = {
|
|
@@ -1378,6 +1378,12 @@ export const domainListTlds = {
|
|
|
1378
1378
|
method: "GET",
|
|
1379
1379
|
operationId: "domain-list-tlds",
|
|
1380
1380
|
};
|
|
1381
|
+
/** List Domain-Migrations belonging to a Project. */
|
|
1382
|
+
export const domainMigrationListMigrationsByProjectId = {
|
|
1383
|
+
path: "/v2/projects/{projectId}/domain-migrations",
|
|
1384
|
+
method: "GET",
|
|
1385
|
+
operationId: "domain-migration-list-migrations-by-project-id",
|
|
1386
|
+
};
|
|
1381
1387
|
/** Resends a Contact-Verification email. */
|
|
1382
1388
|
export const domainResendContactVerificationEmail = {
|
|
1383
1389
|
path: "/v2/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
|
|
@@ -2284,12 +2290,24 @@ export const projectGetServer = {
|
|
|
2284
2290
|
method: "GET",
|
|
2285
2291
|
operationId: "project-get-server",
|
|
2286
2292
|
};
|
|
2293
|
+
/** List Projects belonging to a Customer. */
|
|
2294
|
+
export const projectListCustomerProjects = {
|
|
2295
|
+
path: "/v2/customers/{customerId}/projects",
|
|
2296
|
+
method: "GET",
|
|
2297
|
+
operationId: "project-list-customer-projects",
|
|
2298
|
+
};
|
|
2287
2299
|
/** List Memberships belonging to a Project. */
|
|
2288
2300
|
export const projectListMembershipsForProject = {
|
|
2289
2301
|
path: "/v2/projects/{projectId}/memberships",
|
|
2290
2302
|
method: "GET",
|
|
2291
2303
|
operationId: "project-list-memberships-for-project",
|
|
2292
2304
|
};
|
|
2305
|
+
/** Get the activities of a project. */
|
|
2306
|
+
export const projectListProjectActivities = {
|
|
2307
|
+
path: "/v2/projects/{projectId}/activities",
|
|
2308
|
+
method: "GET",
|
|
2309
|
+
operationId: "project-list-project-activities",
|
|
2310
|
+
};
|
|
2293
2311
|
/** List ProjectInvites belonging to the executing user. */
|
|
2294
2312
|
export const projectListProjectInvites = {
|
|
2295
2313
|
path: "/v2/project-invites",
|
|
@@ -2812,15 +2830,3 @@ export const verificationVerifyCompany = {
|
|
|
2812
2830
|
method: "POST",
|
|
2813
2831
|
operationId: "verification-verify-company",
|
|
2814
2832
|
};
|
|
2815
|
-
/** Get the activities of a project. */
|
|
2816
|
-
export const projectListProjectActivities = {
|
|
2817
|
-
path: "/v2/projects/{projectId}/activities",
|
|
2818
|
-
method: "GET",
|
|
2819
|
-
operationId: "project-list-project-activities",
|
|
2820
|
-
};
|
|
2821
|
-
/** List Projects belonging to a Customer. */
|
|
2822
|
-
export const projectListCustomerProjects = {
|
|
2823
|
-
path: "/v2/customers/{customerId}/projects",
|
|
2824
|
-
method: "GET",
|
|
2825
|
-
operationId: "project-list-customer-projects",
|
|
2826
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.397.0';
|
|
@@ -1535,6 +1535,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1535
1535
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1536
1536
|
extensionId?: string | undefined;
|
|
1537
1537
|
extensionInstanceId?: string | undefined;
|
|
1538
|
+
state?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceWebhookExecutionState[] | undefined;
|
|
1538
1539
|
limit?: number | undefined;
|
|
1539
1540
|
skip?: number | undefined;
|
|
1540
1541
|
page?: number | undefined;
|
|
@@ -2277,6 +2278,14 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2277
2278
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2278
2279
|
} | undefined;
|
|
2279
2280
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
|
|
2281
|
+
/** List Domain-Migrations belonging to a Project. */
|
|
2282
|
+
migrationListMigrationsByProjectId: (conf: {
|
|
2283
|
+
projectId: string;
|
|
2284
|
+
headers?: {
|
|
2285
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2286
|
+
"x-access-token"?: string | undefined;
|
|
2287
|
+
} | undefined;
|
|
2288
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainmigrationMigration[]>;
|
|
2280
2289
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
2281
2290
|
suggest: (conf: {
|
|
2282
2291
|
queryParameters: {
|
|
@@ -3392,6 +3401,23 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3392
3401
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
|
|
3393
3402
|
storage: string;
|
|
3394
3403
|
}>;
|
|
3404
|
+
/** List Projects belonging to a Customer. */
|
|
3405
|
+
listCustomerProjects: (conf: {
|
|
3406
|
+
customerId: string;
|
|
3407
|
+
headers?: {
|
|
3408
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3409
|
+
"x-access-token"?: string | undefined;
|
|
3410
|
+
} | undefined;
|
|
3411
|
+
queryParameters?: {
|
|
3412
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3413
|
+
searchTerm?: string | undefined;
|
|
3414
|
+
limit?: number | undefined;
|
|
3415
|
+
skip?: number | undefined;
|
|
3416
|
+
page?: number | undefined;
|
|
3417
|
+
sort?: "createdAt" | "description" | undefined;
|
|
3418
|
+
order?: "asc" | "desc" | undefined;
|
|
3419
|
+
} | undefined;
|
|
3420
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[]>;
|
|
3395
3421
|
/** List Memberships belonging to a Project. */
|
|
3396
3422
|
listMembershipsForProject: (conf: {
|
|
3397
3423
|
projectId: string;
|
|
@@ -3410,6 +3436,27 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3410
3436
|
searchTerm?: string | undefined;
|
|
3411
3437
|
} | undefined;
|
|
3412
3438
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
|
|
3439
|
+
/** Get the activities of a project. */
|
|
3440
|
+
listProjectActivities: (conf: {
|
|
3441
|
+
projectId: string;
|
|
3442
|
+
headers?: {
|
|
3443
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3444
|
+
} | undefined;
|
|
3445
|
+
queryParameters?: {
|
|
3446
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3447
|
+
aggregateName?: string | undefined;
|
|
3448
|
+
aggregateDomain?: string | undefined;
|
|
3449
|
+
aggregateId?: string | undefined;
|
|
3450
|
+
startTime?: string | undefined;
|
|
3451
|
+
endTime?: string | undefined;
|
|
3452
|
+
fulltextSearch?: string | undefined;
|
|
3453
|
+
limit?: number | undefined;
|
|
3454
|
+
skip?: number | undefined;
|
|
3455
|
+
page?: number | undefined;
|
|
3456
|
+
sort?: "dateTime" | undefined;
|
|
3457
|
+
order?: "asc" | "desc" | undefined;
|
|
3458
|
+
} | undefined;
|
|
3459
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[]>;
|
|
3413
3460
|
/** List ProjectInvites belonging to the executing user. */
|
|
3414
3461
|
listProjectInvites: (conf?: {
|
|
3415
3462
|
headers?: {
|
|
@@ -3508,44 +3555,6 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3508
3555
|
notificationThresholdInBytes?: number | undefined;
|
|
3509
3556
|
statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
|
|
3510
3557
|
}>;
|
|
3511
|
-
/** Get the activities of a project. */
|
|
3512
|
-
listProjectActivities: (conf: {
|
|
3513
|
-
projectId: string;
|
|
3514
|
-
headers?: {
|
|
3515
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3516
|
-
} | undefined;
|
|
3517
|
-
queryParameters?: {
|
|
3518
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3519
|
-
aggregateName?: string | undefined;
|
|
3520
|
-
aggregateDomain?: string | undefined;
|
|
3521
|
-
aggregateId?: string | undefined;
|
|
3522
|
-
startTime?: string | undefined;
|
|
3523
|
-
endTime?: string | undefined;
|
|
3524
|
-
fulltextSearch?: string | undefined;
|
|
3525
|
-
limit?: number | undefined;
|
|
3526
|
-
skip?: number | undefined;
|
|
3527
|
-
page?: number | undefined;
|
|
3528
|
-
sort?: "dateTime" | undefined;
|
|
3529
|
-
order?: "asc" | "desc" | undefined;
|
|
3530
|
-
} | undefined;
|
|
3531
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[]>;
|
|
3532
|
-
/** List Projects belonging to a Customer. */
|
|
3533
|
-
listCustomerProjects: (conf: {
|
|
3534
|
-
customerId: string;
|
|
3535
|
-
headers?: {
|
|
3536
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3537
|
-
"x-access-token"?: string | undefined;
|
|
3538
|
-
} | undefined;
|
|
3539
|
-
queryParameters?: {
|
|
3540
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3541
|
-
searchTerm?: string | undefined;
|
|
3542
|
-
limit?: number | undefined;
|
|
3543
|
-
skip?: number | undefined;
|
|
3544
|
-
page?: number | undefined;
|
|
3545
|
-
sort?: "createdAt" | "description" | undefined;
|
|
3546
|
-
order?: "asc" | "desc" | undefined;
|
|
3547
|
-
} | undefined;
|
|
3548
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[]>;
|
|
3549
3558
|
};
|
|
3550
3559
|
declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3551
3560
|
/** List directories belonging to a Project. */
|