Skip to content

Commit 1267dd1

Browse files
feat: update generated client
1 parent 0636c8c commit 1267dd1

5 files changed

Lines changed: 462 additions & 461 deletions

File tree

packages/mittwald/spec/openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

packages/mittwald/src/generated/v2/client-react.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -680,11 +680,21 @@ const buildDomainApi = (baseClient: MittwaldAPIV2Client) => ({
680680
descriptors.domainGetDomain,
681681
baseClient.domain.getDomain,
682682
).getApiResource,
683+
/** Get a Contact-Verification. */
684+
getContactVerification: new ApiCallAsyncResourceFactory(
685+
descriptors.domainGetContactVerification,
686+
baseClient.domain.getContactVerification,
687+
).getApiResource,
683688
/** Get the latest screenshot's FileReference belonging to a Domain. */
684689
getLatestScreenshot: new ApiCallAsyncResourceFactory(
685690
descriptors.domainGetLatestScreenshot,
686691
baseClient.domain.getLatestScreenshot,
687692
).getApiResource,
693+
/** List Contact-Verifications belonging to the executing user. */
694+
listContactVerifications: new ApiCallAsyncResourceFactory(
695+
descriptors.domainListContactVerifications,
696+
baseClient.domain.listContactVerifications,
697+
).getApiResource,
688698
/** List the contact schemas for a TLD. */
689699
listTldContactSchemas: new ApiCallAsyncResourceFactory(
690700
descriptors.domainListTldContactSchemas,
@@ -730,16 +740,6 @@ const buildDomainApi = (baseClient: MittwaldAPIV2Client) => ({
730740
descriptors.sslListCertificates,
731741
baseClient.domain.sslListCertificates,
732742
).getApiResource,
733-
/** Get a Contact-Verification. */
734-
getContactVerification: new ApiCallAsyncResourceFactory(
735-
descriptors.domainGetContactVerification,
736-
baseClient.domain.getContactVerification,
737-
).getApiResource,
738-
/** List Contact-Verifications belonging to the executing user. */
739-
listContactVerifications: new ApiCallAsyncResourceFactory(
740-
descriptors.domainListContactVerifications,
741-
baseClient.domain.listContactVerifications,
742-
).getApiResource,
743743
});
744744

745745
const buildFileApi = (baseClient: MittwaldAPIV2Client) => ({
@@ -949,6 +949,11 @@ const buildUserApi = (baseClient: MittwaldAPIV2Client) => ({
949949
descriptors.userGetSshKey,
950950
baseClient.user.getSshKey,
951951
).getApiResource,
952+
/** Check status of the current session. */
953+
getCurrentSessionStatus: new ApiCallAsyncResourceFactory(
954+
descriptors.userGetCurrentSessionStatus,
955+
baseClient.user.getCurrentSessionStatus,
956+
).getApiResource,
952957
/** The timestamp of your latest password change. */
953958
getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(
954959
descriptors.userGetPasswordUpdatedAt,
@@ -994,11 +999,6 @@ const buildUserApi = (baseClient: MittwaldAPIV2Client) => ({
994999
descriptors.userSupportCodeRequest,
9951000
baseClient.user.supportCodeRequest,
9961001
).getApiResource,
997-
/** Check status of the current session. */
998-
getCurrentSessionStatus: new ApiCallAsyncResourceFactory(
999-
descriptors.userGetCurrentSessionStatus,
1000-
baseClient.user.getCurrentSessionStatus,
1001-
).getApiResource,
10021002
});
10031003

10041004
const buildProjectApi = (baseClient: MittwaldAPIV2Client) => ({

packages/mittwald/src/generated/v2/client.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,16 +1058,28 @@ export class MittwaldAPIV2Client extends ApiClientBase {
10581058
getDomain: this.requestFunctionFactory(descriptors.domainGetDomain),
10591059
/** Delete a Domain. */
10601060
deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
1061+
/** Get a Contact-Verification. */
1062+
getContactVerification: this.requestFunctionFactory(
1063+
descriptors.domainGetContactVerification,
1064+
),
10611065
/** Get the latest screenshot's FileReference belonging to a Domain. */
10621066
getLatestScreenshot: this.requestFunctionFactory(
10631067
descriptors.domainGetLatestScreenshot,
10641068
),
1069+
/** List Contact-Verifications belonging to the executing user. */
1070+
listContactVerifications: this.requestFunctionFactory(
1071+
descriptors.domainListContactVerifications,
1072+
),
10651073
/** List the contact schemas for a TLD. */
10661074
listTldContactSchemas: this.requestFunctionFactory(
10671075
descriptors.domainListTldContactSchemas,
10681076
),
10691077
/** List TLDs. */
10701078
listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
1079+
/** Resends a Contact-Verification email. */
1080+
resendContactVerificationEmail: this.requestFunctionFactory(
1081+
descriptors.domainResendContactVerificationEmail,
1082+
),
10711083
/** Resend a Domain email. */
10721084
resendDomainEmail: this.requestFunctionFactory(
10731085
descriptors.domainResendDomainEmail,
@@ -1150,18 +1162,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
11501162
sslListCertificates: this.requestFunctionFactory(
11511163
descriptors.sslListCertificates,
11521164
),
1153-
/** Get a Contact-Verification. */
1154-
getContactVerification: this.requestFunctionFactory(
1155-
descriptors.domainGetContactVerification,
1156-
),
1157-
/** List Contact-Verifications belonging to the executing user. */
1158-
listContactVerifications: this.requestFunctionFactory(
1159-
descriptors.domainListContactVerifications,
1160-
),
1161-
/** Resends a Contact-Verification email. */
1162-
resendContactVerificationEmail: this.requestFunctionFactory(
1163-
descriptors.domainResendContactVerificationEmail,
1164-
),
11651165
};
11661166

11671167
/** The mail API allows you to manage your mail accounts. */
@@ -1356,6 +1356,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
13561356
deleteSshKey: this.requestFunctionFactory(descriptors.userDeleteSshKey),
13571357
/** Delete your account and all your personal data. */
13581358
deleteUser: this.requestFunctionFactory(descriptors.userDeleteUser),
1359+
/** Check status of the current session. */
1360+
getCurrentSessionStatus: this.requestFunctionFactory(
1361+
descriptors.userGetCurrentSessionStatus,
1362+
),
13591363
/** The timestamp of your latest password change. */
13601364
getPasswordUpdatedAt: this.requestFunctionFactory(
13611365
descriptors.userGetPasswordUpdatedAt,
@@ -1436,10 +1440,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
14361440
verifyRegistration: this.requestFunctionFactory(
14371441
descriptors.userVerifyRegistration,
14381442
),
1439-
/** Check status of the current session. */
1440-
getCurrentSessionStatus: this.requestFunctionFactory(
1441-
descriptors.userGetCurrentSessionStatus,
1442-
),
14431443
};
14441444

14451445
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */

0 commit comments

Comments
 (0)