@mittwald/api-client 4.366.0 → 4.368.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 -6
- package/dist/esm/generated/v2/client.js +8 -8
- package/dist/esm/generated/v2/descriptors.js +24 -24
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +35 -35
- package/dist/types/generated/v2/client.d.ts +200 -197
- package/dist/types/generated/v2/descriptors.d.ts +8 -8
- package/dist/types/generated/v2/types.d.ts +215 -214
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -280,8 +280,12 @@ const buildDomainApi = (baseClient) => ({
|
|
|
280
280
|
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
281
281
|
/** Get a Domain. */
|
|
282
282
|
getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
283
|
+
/** Get a Contact-Verification. */
|
|
284
|
+
getContactVerification: new ApiCallAsyncResourceFactory(descriptors.domainGetContactVerification, baseClient.domain.getContactVerification).getApiResource,
|
|
283
285
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
284
286
|
getLatestScreenshot: new ApiCallAsyncResourceFactory(descriptors.domainGetLatestScreenshot, baseClient.domain.getLatestScreenshot).getApiResource,
|
|
287
|
+
/** List Contact-Verifications belonging to the executing user. */
|
|
288
|
+
listContactVerifications: new ApiCallAsyncResourceFactory(descriptors.domainListContactVerifications, baseClient.domain.listContactVerifications).getApiResource,
|
|
285
289
|
/** List the contact schemas for a TLD. */
|
|
286
290
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
287
291
|
/** List TLDs. */
|
|
@@ -300,10 +304,6 @@ const buildDomainApi = (baseClient) => ({
|
|
|
300
304
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
301
305
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
302
306
|
sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
|
|
303
|
-
/** Get a Contact-Verification. */
|
|
304
|
-
getContactVerification: new ApiCallAsyncResourceFactory(descriptors.domainGetContactVerification, baseClient.domain.getContactVerification).getApiResource,
|
|
305
|
-
/** List Contact-Verifications belonging to the executing user. */
|
|
306
|
-
listContactVerifications: new ApiCallAsyncResourceFactory(descriptors.domainListContactVerifications, baseClient.domain.listContactVerifications).getApiResource,
|
|
307
307
|
});
|
|
308
308
|
const buildFileApi = (baseClient) => ({
|
|
309
309
|
/** Get a File's meta. */
|
|
@@ -394,6 +394,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
394
394
|
getApiToken: new ApiCallAsyncResourceFactory(descriptors.userGetApiToken, baseClient.user.getApiToken).getApiResource,
|
|
395
395
|
/** Get a specific stored ssh-key. */
|
|
396
396
|
getSshKey: new ApiCallAsyncResourceFactory(descriptors.userGetSshKey, baseClient.user.getSshKey).getApiResource,
|
|
397
|
+
/** Check status of the current session. */
|
|
398
|
+
getCurrentSessionStatus: new ApiCallAsyncResourceFactory(descriptors.userGetCurrentSessionStatus, baseClient.user.getCurrentSessionStatus).getApiResource,
|
|
397
399
|
/** The timestamp of your latest password change. */
|
|
398
400
|
getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
|
|
399
401
|
/** Get personalized settings. */
|
|
@@ -412,8 +414,6 @@ const buildUserApi = (baseClient) => ({
|
|
|
412
414
|
oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
|
|
413
415
|
/** Request a support code. */
|
|
414
416
|
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
415
|
-
/** Check status of the current session. */
|
|
416
|
-
getCurrentSessionStatus: new ApiCallAsyncResourceFactory(descriptors.userGetCurrentSessionStatus, baseClient.user.getCurrentSessionStatus).getApiResource,
|
|
417
417
|
});
|
|
418
418
|
const buildProjectApi = (baseClient) => ({
|
|
419
419
|
/** List Invites belonging to a Project. */
|
|
@@ -579,12 +579,18 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
579
579
|
getDomain: this.requestFunctionFactory(descriptors.domainGetDomain),
|
|
580
580
|
/** Delete a Domain. */
|
|
581
581
|
deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
|
|
582
|
+
/** Get a Contact-Verification. */
|
|
583
|
+
getContactVerification: this.requestFunctionFactory(descriptors.domainGetContactVerification),
|
|
582
584
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
583
585
|
getLatestScreenshot: this.requestFunctionFactory(descriptors.domainGetLatestScreenshot),
|
|
586
|
+
/** List Contact-Verifications belonging to the executing user. */
|
|
587
|
+
listContactVerifications: this.requestFunctionFactory(descriptors.domainListContactVerifications),
|
|
584
588
|
/** List the contact schemas for a TLD. */
|
|
585
589
|
listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
|
|
586
590
|
/** List TLDs. */
|
|
587
591
|
listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
|
|
592
|
+
/** Resends a Contact-Verification email. */
|
|
593
|
+
resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
|
|
588
594
|
/** Resend a Domain email. */
|
|
589
595
|
resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
|
|
590
596
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
@@ -627,12 +633,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
627
633
|
sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
|
|
628
634
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
629
635
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
630
|
-
/** Get a Contact-Verification. */
|
|
631
|
-
getContactVerification: this.requestFunctionFactory(descriptors.domainGetContactVerification),
|
|
632
|
-
/** List Contact-Verifications belonging to the executing user. */
|
|
633
|
-
listContactVerifications: this.requestFunctionFactory(descriptors.domainListContactVerifications),
|
|
634
|
-
/** Resends a Contact-Verification email. */
|
|
635
|
-
resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
|
|
636
636
|
};
|
|
637
637
|
/** The mail API allows you to manage your mail accounts. */
|
|
638
638
|
mail = {
|
|
@@ -756,6 +756,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
756
756
|
deleteSshKey: this.requestFunctionFactory(descriptors.userDeleteSshKey),
|
|
757
757
|
/** Delete your account and all your personal data. */
|
|
758
758
|
deleteUser: this.requestFunctionFactory(descriptors.userDeleteUser),
|
|
759
|
+
/** Check status of the current session. */
|
|
760
|
+
getCurrentSessionStatus: this.requestFunctionFactory(descriptors.userGetCurrentSessionStatus),
|
|
759
761
|
/** The timestamp of your latest password change. */
|
|
760
762
|
getPasswordUpdatedAt: this.requestFunctionFactory(descriptors.userGetPasswordUpdatedAt),
|
|
761
763
|
/** Get personalized settings. */
|
|
@@ -808,8 +810,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
808
810
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
809
811
|
/** Verify your registration. */
|
|
810
812
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
811
|
-
/** Check status of the current session. */
|
|
812
|
-
getCurrentSessionStatus: this.requestFunctionFactory(descriptors.userGetCurrentSessionStatus),
|
|
813
813
|
};
|
|
814
814
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
815
815
|
file = {
|
|
@@ -1306,12 +1306,24 @@ export const domainDeleteDomain = {
|
|
|
1306
1306
|
method: "DELETE",
|
|
1307
1307
|
operationId: "domain-delete-domain",
|
|
1308
1308
|
};
|
|
1309
|
+
/** Get a Contact-Verification. */
|
|
1310
|
+
export const domainGetContactVerification = {
|
|
1311
|
+
path: "/v2/contact-verifications/{contactVerificationId}",
|
|
1312
|
+
method: "GET",
|
|
1313
|
+
operationId: "domain-get-contact-verification",
|
|
1314
|
+
};
|
|
1309
1315
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
1310
1316
|
export const domainGetLatestScreenshot = {
|
|
1311
1317
|
path: "/v2/domains/latest-screenshot",
|
|
1312
1318
|
method: "GET",
|
|
1313
1319
|
operationId: "domain-get-latest-screenshot",
|
|
1314
1320
|
};
|
|
1321
|
+
/** List Contact-Verifications belonging to the executing user. */
|
|
1322
|
+
export const domainListContactVerifications = {
|
|
1323
|
+
path: "/v2/contact-verifications",
|
|
1324
|
+
method: "GET",
|
|
1325
|
+
operationId: "domain-list-contact-verifications",
|
|
1326
|
+
};
|
|
1315
1327
|
/** List the contact schemas for a TLD. */
|
|
1316
1328
|
export const domainListTldContactSchemas = {
|
|
1317
1329
|
path: "/v2/domain-tlds/{tld}/contact-schemas",
|
|
@@ -1324,6 +1336,12 @@ export const domainListTlds = {
|
|
|
1324
1336
|
method: "GET",
|
|
1325
1337
|
operationId: "domain-list-tlds",
|
|
1326
1338
|
};
|
|
1339
|
+
/** Resends a Contact-Verification email. */
|
|
1340
|
+
export const domainResendContactVerificationEmail = {
|
|
1341
|
+
path: "/v2/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
|
|
1342
|
+
method: "POST",
|
|
1343
|
+
operationId: "domain-resend-contact-verification-email",
|
|
1344
|
+
};
|
|
1327
1345
|
/** Resend a Domain email. */
|
|
1328
1346
|
export const domainResendDomainEmail = {
|
|
1329
1347
|
path: "/v2/domains/{domainId}/actions/resend-email",
|
|
@@ -2566,6 +2584,12 @@ export const userDeleteUser = {
|
|
|
2566
2584
|
method: "DELETE",
|
|
2567
2585
|
operationId: "user-delete-user",
|
|
2568
2586
|
};
|
|
2587
|
+
/** Check status of the current session. */
|
|
2588
|
+
export const userGetCurrentSessionStatus = {
|
|
2589
|
+
path: "/v2/users/self/sessions/current/status",
|
|
2590
|
+
method: "GET",
|
|
2591
|
+
operationId: "user-get-current-session-status",
|
|
2592
|
+
};
|
|
2569
2593
|
/** The timestamp of your latest password change. */
|
|
2570
2594
|
export const userGetPasswordUpdatedAt = {
|
|
2571
2595
|
path: "/v2/users/self/credentials/password-updated-at",
|
|
@@ -2740,27 +2764,3 @@ export const verificationVerifyCompany = {
|
|
|
2740
2764
|
method: "POST",
|
|
2741
2765
|
operationId: "verification-verify-company",
|
|
2742
2766
|
};
|
|
2743
|
-
/** Check status of the current session. */
|
|
2744
|
-
export const userGetCurrentSessionStatus = {
|
|
2745
|
-
path: "/v2/users/self/sessions/current/status",
|
|
2746
|
-
method: "GET",
|
|
2747
|
-
operationId: "user-get-current-session-status",
|
|
2748
|
-
};
|
|
2749
|
-
/** Get a Contact-Verification. */
|
|
2750
|
-
export const domainGetContactVerification = {
|
|
2751
|
-
path: "/v2/contact-verifications/{contactVerificationId}",
|
|
2752
|
-
method: "GET",
|
|
2753
|
-
operationId: "domain-get-contact-verification",
|
|
2754
|
-
};
|
|
2755
|
-
/** List Contact-Verifications belonging to the executing user. */
|
|
2756
|
-
export const domainListContactVerifications = {
|
|
2757
|
-
path: "/v2/contact-verifications",
|
|
2758
|
-
method: "GET",
|
|
2759
|
-
operationId: "domain-list-contact-verifications",
|
|
2760
|
-
};
|
|
2761
|
-
/** Resends a Contact-Verification email. */
|
|
2762
|
-
export const domainResendContactVerificationEmail = {
|
|
2763
|
-
path: "/v2/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
|
|
2764
|
-
method: "POST",
|
|
2765
|
-
operationId: "domain-resend-contact-verification-email",
|
|
2766
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.367.0';
|
|
@@ -2139,6 +2139,18 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2139
2139
|
transferInAuthCode?: string | undefined;
|
|
2140
2140
|
usesDefaultNameserver: boolean;
|
|
2141
2141
|
}>;
|
|
2142
|
+
/** Get a Contact-Verification. */
|
|
2143
|
+
getContactVerification: (conf: {
|
|
2144
|
+
contactVerificationId: string;
|
|
2145
|
+
headers?: {
|
|
2146
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2147
|
+
"x-access-token"?: string | undefined;
|
|
2148
|
+
} | undefined;
|
|
2149
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2150
|
+
id: string;
|
|
2151
|
+
status: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationStatus;
|
|
2152
|
+
typeData: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationAddressData | import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationEmailData | import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationNameData;
|
|
2153
|
+
}>;
|
|
2142
2154
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
2143
2155
|
getLatestScreenshot: (conf: {
|
|
2144
2156
|
queryParameters: {
|
|
@@ -2152,6 +2164,18 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2152
2164
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2153
2165
|
reference?: string | undefined;
|
|
2154
2166
|
}>;
|
|
2167
|
+
/** List Contact-Verifications belonging to the executing user. */
|
|
2168
|
+
listContactVerifications: (conf?: {
|
|
2169
|
+
headers?: {
|
|
2170
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2171
|
+
"x-access-token"?: string | undefined;
|
|
2172
|
+
} | undefined;
|
|
2173
|
+
queryParameters?: {
|
|
2174
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2175
|
+
value?: string | undefined;
|
|
2176
|
+
type?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationType | undefined;
|
|
2177
|
+
} | undefined;
|
|
2178
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerification[]>;
|
|
2155
2179
|
/** List the contact schemas for a TLD. */
|
|
2156
2180
|
listTldContactSchemas: (conf: {
|
|
2157
2181
|
tld: string;
|
|
@@ -2294,30 +2318,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2294
2318
|
ingressId?: string | undefined;
|
|
2295
2319
|
} | undefined;
|
|
2296
2320
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[]>;
|
|
2297
|
-
/** Get a Contact-Verification. */
|
|
2298
|
-
getContactVerification: (conf: {
|
|
2299
|
-
contactVerificationId: string;
|
|
2300
|
-
headers?: {
|
|
2301
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2302
|
-
"x-access-token"?: string | undefined;
|
|
2303
|
-
} | undefined;
|
|
2304
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2305
|
-
id: string;
|
|
2306
|
-
status: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationStatus;
|
|
2307
|
-
typeData: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationAddressData | import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationEmailData | import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationNameData;
|
|
2308
|
-
}>;
|
|
2309
|
-
/** List Contact-Verifications belonging to the executing user. */
|
|
2310
|
-
listContactVerifications: (conf?: {
|
|
2311
|
-
headers?: {
|
|
2312
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2313
|
-
"x-access-token"?: string | undefined;
|
|
2314
|
-
} | undefined;
|
|
2315
|
-
queryParameters?: {
|
|
2316
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2317
|
-
value?: string | undefined;
|
|
2318
|
-
type?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationType | undefined;
|
|
2319
|
-
} | undefined;
|
|
2320
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerification[]>;
|
|
2321
2321
|
};
|
|
2322
2322
|
declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2323
2323
|
/** Get a File's meta. */
|
|
@@ -2999,6 +2999,17 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2999
2999
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3000
3000
|
sshKey: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey;
|
|
3001
3001
|
}>;
|
|
3002
|
+
/** Check status of the current session. */
|
|
3003
|
+
getCurrentSessionStatus: (conf?: {
|
|
3004
|
+
headers?: {
|
|
3005
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3006
|
+
"x-access-token"?: string | undefined;
|
|
3007
|
+
} | undefined;
|
|
3008
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3009
|
+
isEmployee: boolean;
|
|
3010
|
+
isImpersonated: boolean;
|
|
3011
|
+
userId: string;
|
|
3012
|
+
}>;
|
|
3002
3013
|
/** The timestamp of your latest password change. */
|
|
3003
3014
|
getPasswordUpdatedAt: (conf?: {
|
|
3004
3015
|
headers?: {
|
|
@@ -3133,17 +3144,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3133
3144
|
expiresAt: string;
|
|
3134
3145
|
supportCode: string;
|
|
3135
3146
|
}>;
|
|
3136
|
-
/** Check status of the current session. */
|
|
3137
|
-
getCurrentSessionStatus: (conf?: {
|
|
3138
|
-
headers?: {
|
|
3139
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3140
|
-
"x-access-token"?: string | undefined;
|
|
3141
|
-
} | undefined;
|
|
3142
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3143
|
-
isEmployee: boolean;
|
|
3144
|
-
isImpersonated: boolean;
|
|
3145
|
-
userId: string;
|
|
3146
|
-
}>;
|
|
3147
3147
|
};
|
|
3148
3148
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3149
3149
|
/** List Invites belonging to a Project. */
|