@mittwald/api-client 4.503.0 → 4.504.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 +4 -0
- package/dist/esm/generated/v2/client.js +5 -3
- package/dist/esm/generated/v2/descriptors.js +13 -7
- package/dist/esm/generated/v3-next/client-react.js +4 -0
- package/dist/esm/generated/v3-next/client.js +5 -3
- package/dist/esm/generated/v3-next/descriptors.js +13 -7
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +41 -1
- package/dist/types/generated/v2/client.d.ts +219 -51
- package/dist/types/generated/v2/descriptors.d.ts +19 -17
- package/dist/types/generated/v2/types.d.ts +947 -492
- package/dist/types/generated/v3-next/client-react.d.ts +41 -1
- package/dist/types/generated/v3-next/client.d.ts +219 -51
- package/dist/types/generated/v3-next/descriptors.d.ts +19 -17
- package/dist/types/generated/v3-next/types.d.ts +947 -492
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -28,6 +28,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
28
28
|
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
29
29
|
/** Get all ai hosting plans and usages of a project. */
|
|
30
30
|
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
31
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
32
|
+
userGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetKeys, baseClient.aiHosting.userGetKeys).getApiResource,
|
|
33
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
34
|
+
userGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetPlans, baseClient.aiHosting.userGetPlans).getApiResource,
|
|
31
35
|
});
|
|
32
36
|
const buildAppApi = (baseClient) => ({
|
|
33
37
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -56,6 +56,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
56
56
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
57
57
|
/** Rotates a project's key. */
|
|
58
58
|
projectRotateKey: this.requestFunctionFactory(descriptors.aiHostingProjectRotateKey),
|
|
59
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
60
|
+
userGetKeys: this.requestFunctionFactory(descriptors.aiHostingUserGetKeys),
|
|
61
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
62
|
+
userGetPlans: this.requestFunctionFactory(descriptors.aiHostingUserGetPlans),
|
|
59
63
|
};
|
|
60
64
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
61
65
|
app = {
|
|
@@ -629,8 +633,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
629
633
|
listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
|
|
630
634
|
/** List Domain-Migrations belonging to a Project. */
|
|
631
635
|
migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
|
|
632
|
-
/** Resends a Contact-Verification email. */
|
|
633
|
-
resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
|
|
634
636
|
/** Resend a Domain email. */
|
|
635
637
|
resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
|
|
636
638
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
@@ -846,7 +848,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
846
848
|
logout: this.requestFunctionFactory(descriptors.userLogout),
|
|
847
849
|
/** Obtain authorization from the resource owner. */
|
|
848
850
|
oauthGetAuthorization: this.requestFunctionFactory(descriptors.userOauthGetAuthorization),
|
|
849
|
-
/** Retrieve
|
|
851
|
+
/** Retrieve an OAuth access token. */
|
|
850
852
|
oauthRetrieveAccessToken: this.requestFunctionFactory(descriptors.userOauthRetrieveAccessToken),
|
|
851
853
|
/** Register with email and password. */
|
|
852
854
|
register: this.requestFunctionFactory(descriptors.userRegister),
|
|
@@ -148,6 +148,18 @@ export const aiHostingProjectRotateKey = {
|
|
|
148
148
|
method: "POST",
|
|
149
149
|
operationId: "ai-hosting-project-rotate-key",
|
|
150
150
|
};
|
|
151
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
152
|
+
export const aiHostingUserGetKeys = {
|
|
153
|
+
path: "/v2/ai-hosting-keys",
|
|
154
|
+
method: "GET",
|
|
155
|
+
operationId: "ai-hosting-user-get-keys",
|
|
156
|
+
};
|
|
157
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
158
|
+
export const aiHostingUserGetPlans = {
|
|
159
|
+
path: "/v2/ai-hostings",
|
|
160
|
+
method: "GET",
|
|
161
|
+
operationId: "ai-hosting-user-get-plans",
|
|
162
|
+
};
|
|
151
163
|
/** Detach a staging AppInstallation from its source. */
|
|
152
164
|
export const appDetachAppinstallationStaging = {
|
|
153
165
|
path: "/v2/app-installations/{appInstallationId}/actions/detach-staging",
|
|
@@ -1444,12 +1456,6 @@ export const domainMigrationListMigrationsByProjectId = {
|
|
|
1444
1456
|
method: "GET",
|
|
1445
1457
|
operationId: "domain-migration-list-migrations-by-project-id",
|
|
1446
1458
|
};
|
|
1447
|
-
/** Resends a Contact-Verification email. */
|
|
1448
|
-
export const domainResendContactVerificationEmail = {
|
|
1449
|
-
path: "/v2/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
|
|
1450
|
-
method: "POST",
|
|
1451
|
-
operationId: "domain-resend-contact-verification-email",
|
|
1452
|
-
};
|
|
1453
1459
|
/** Resend a Domain email. */
|
|
1454
1460
|
export const domainResendDomainEmail = {
|
|
1455
1461
|
path: "/v2/domains/{domainId}/actions/resend-email",
|
|
@@ -2860,7 +2866,7 @@ export const userOauthGetAuthorization = {
|
|
|
2860
2866
|
method: "GET",
|
|
2861
2867
|
operationId: "user-oauth-get-authorization",
|
|
2862
2868
|
};
|
|
2863
|
-
/** Retrieve
|
|
2869
|
+
/** Retrieve an OAuth access token. */
|
|
2864
2870
|
export const userOauthRetrieveAccessToken = {
|
|
2865
2871
|
path: "/v2/oauth2/token",
|
|
2866
2872
|
method: "POST",
|
|
@@ -28,6 +28,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
28
28
|
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
29
29
|
/** Get all ai hosting plans and usages of a project. */
|
|
30
30
|
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
31
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
32
|
+
userGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetKeys, baseClient.aiHosting.userGetKeys).getApiResource,
|
|
33
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
34
|
+
userGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingUserGetPlans, baseClient.aiHosting.userGetPlans).getApiResource,
|
|
31
35
|
});
|
|
32
36
|
const buildAppApi = (baseClient) => ({
|
|
33
37
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -56,6 +56,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
56
56
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
57
57
|
/** Rotates a project's key. */
|
|
58
58
|
projectRotateKey: this.requestFunctionFactory(descriptors.aiHostingProjectRotateKey),
|
|
59
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
60
|
+
userGetKeys: this.requestFunctionFactory(descriptors.aiHostingUserGetKeys),
|
|
61
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
62
|
+
userGetPlans: this.requestFunctionFactory(descriptors.aiHostingUserGetPlans),
|
|
59
63
|
};
|
|
60
64
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
61
65
|
app = {
|
|
@@ -629,8 +633,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
629
633
|
listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
|
|
630
634
|
/** List Domain-Migrations belonging to a Project. */
|
|
631
635
|
migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
|
|
632
|
-
/** Resends a Contact-Verification email. */
|
|
633
|
-
resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
|
|
634
636
|
/** Resend a Domain email. */
|
|
635
637
|
resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
|
|
636
638
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
@@ -846,7 +848,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
846
848
|
logout: this.requestFunctionFactory(descriptors.userLogout),
|
|
847
849
|
/** Obtain authorization from the resource owner. */
|
|
848
850
|
oauthGetAuthorization: this.requestFunctionFactory(descriptors.userOauthGetAuthorization),
|
|
849
|
-
/** Retrieve
|
|
851
|
+
/** Retrieve an OAuth access token. */
|
|
850
852
|
oauthRetrieveAccessToken: this.requestFunctionFactory(descriptors.userOauthRetrieveAccessToken),
|
|
851
853
|
/** Register with email and password. */
|
|
852
854
|
register: this.requestFunctionFactory(descriptors.userRegister),
|
|
@@ -148,6 +148,18 @@ export const aiHostingProjectRotateKey = {
|
|
|
148
148
|
method: "POST",
|
|
149
149
|
operationId: "ai-hosting-project-rotate-key",
|
|
150
150
|
};
|
|
151
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
152
|
+
export const aiHostingUserGetKeys = {
|
|
153
|
+
path: "/v3-next/ai-hosting-keys",
|
|
154
|
+
method: "GET",
|
|
155
|
+
operationId: "ai-hosting-user-get-keys",
|
|
156
|
+
};
|
|
157
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
158
|
+
export const aiHostingUserGetPlans = {
|
|
159
|
+
path: "/v3-next/ai-hostings",
|
|
160
|
+
method: "GET",
|
|
161
|
+
operationId: "ai-hosting-user-get-plans",
|
|
162
|
+
};
|
|
151
163
|
/** Detach a staging AppInstallation from its source. */
|
|
152
164
|
export const appDetachAppinstallationStaging = {
|
|
153
165
|
path: "/v3-next/app-installations/{appInstallationId}/actions/detach-staging",
|
|
@@ -1444,12 +1456,6 @@ export const domainMigrationListMigrationsByProjectId = {
|
|
|
1444
1456
|
method: "GET",
|
|
1445
1457
|
operationId: "domain-migration-list-migrations-by-project-id",
|
|
1446
1458
|
};
|
|
1447
|
-
/** Resends a Contact-Verification email. */
|
|
1448
|
-
export const domainResendContactVerificationEmail = {
|
|
1449
|
-
path: "/v3-next/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
|
|
1450
|
-
method: "POST",
|
|
1451
|
-
operationId: "domain-resend-contact-verification-email",
|
|
1452
|
-
};
|
|
1453
1459
|
/** Resend a Domain email. */
|
|
1454
1460
|
export const domainResendDomainEmail = {
|
|
1455
1461
|
path: "/v3-next/domains/{domainId}/actions/resend-email",
|
|
@@ -2860,7 +2866,7 @@ export const userOauthGetAuthorization = {
|
|
|
2860
2866
|
method: "GET",
|
|
2861
2867
|
operationId: "user-oauth-get-authorization",
|
|
2862
2868
|
};
|
|
2863
|
-
/** Retrieve
|
|
2869
|
+
/** Retrieve an OAuth access token. */
|
|
2864
2870
|
export const userOauthRetrieveAccessToken = {
|
|
2865
2871
|
path: "/v3-next/oauth2/token",
|
|
2866
2872
|
method: "POST",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.503.0';
|
|
@@ -225,6 +225,38 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
225
225
|
modelTermsApprovalRequired: boolean;
|
|
226
226
|
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
|
|
227
227
|
}>;
|
|
228
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
229
|
+
userGetKeys: (conf?: {
|
|
230
|
+
headers?: {
|
|
231
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
232
|
+
} | undefined;
|
|
233
|
+
queryParameters?: {
|
|
234
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
235
|
+
customerId?: string | undefined;
|
|
236
|
+
projectId?: string | undefined;
|
|
237
|
+
planId?: string | undefined;
|
|
238
|
+
searchTerm?: string | undefined;
|
|
239
|
+
limit?: number | undefined;
|
|
240
|
+
skip?: number | undefined;
|
|
241
|
+
page?: number | undefined;
|
|
242
|
+
} | undefined;
|
|
243
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingUserKey[]>;
|
|
244
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
245
|
+
userGetPlans: (conf?: {
|
|
246
|
+
headers?: {
|
|
247
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
248
|
+
} | undefined;
|
|
249
|
+
queryParameters?: {
|
|
250
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
251
|
+
customerId?: string | undefined;
|
|
252
|
+
projectId?: string | undefined;
|
|
253
|
+
planId?: string | undefined;
|
|
254
|
+
searchTerm?: string | undefined;
|
|
255
|
+
limit?: number | undefined;
|
|
256
|
+
skip?: number | undefined;
|
|
257
|
+
page?: number | undefined;
|
|
258
|
+
} | undefined;
|
|
259
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingUserPlan[]>;
|
|
228
260
|
};
|
|
229
261
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
230
262
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -2505,6 +2537,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2505
2537
|
ownerC: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleReadable;
|
|
2506
2538
|
};
|
|
2507
2539
|
nameservers: string[];
|
|
2540
|
+
ownerVerification?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainOwnerVerification | undefined;
|
|
2508
2541
|
processes?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainProcess[] | undefined;
|
|
2509
2542
|
projectId: string;
|
|
2510
2543
|
scheduledDeletionDate?: string | undefined;
|
|
@@ -2625,6 +2658,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2625
2658
|
ownership: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressOwnership;
|
|
2626
2659
|
paths: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressPath[];
|
|
2627
2660
|
projectId: string;
|
|
2661
|
+
senderLoginProtection?: boolean | undefined;
|
|
2628
2662
|
tls: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsAcme | import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
|
|
2629
2663
|
}>;
|
|
2630
2664
|
/** List CertificateRequests belonging to a Project or an Ingress. */
|
|
@@ -3360,7 +3394,13 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3360
3394
|
headers?: {
|
|
3361
3395
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
3362
3396
|
} | undefined;
|
|
3363
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
3397
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3398
|
+
minComplexity: number;
|
|
3399
|
+
rules: {
|
|
3400
|
+
ruleType: string;
|
|
3401
|
+
[k: string]: unknown;
|
|
3402
|
+
}[];
|
|
3403
|
+
}>;
|
|
3364
3404
|
/** Get your verified Email-Address. */
|
|
3365
3405
|
getOwnEmail: (conf?: {
|
|
3366
3406
|
headers?: {
|