@mittwald/api-client 4.362.0 → 4.364.1
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 -0
- package/dist/esm/generated/v2/client.js +8 -2
- package/dist/esm/generated/v2/descriptors.js +22 -4
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +35 -0
- package/dist/types/generated/v2/client.d.ts +204 -20
- package/dist/types/generated/v2/descriptors.d.ts +10 -4
- package/dist/types/generated/v2/types.d.ts +201 -13
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -300,6 +300,10 @@ const buildDomainApi = (baseClient) => ({
|
|
|
300
300
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
301
301
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
302
302
|
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,
|
|
303
307
|
});
|
|
304
308
|
const buildFileApi = (baseClient) => ({
|
|
305
309
|
/** Get a File's meta. */
|
|
@@ -408,6 +412,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
408
412
|
oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
|
|
409
413
|
/** Request a support code. */
|
|
410
414
|
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,
|
|
411
417
|
});
|
|
412
418
|
const buildProjectApi = (baseClient) => ({
|
|
413
419
|
/** List Invites belonging to a Project. */
|
|
@@ -627,6 +627,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
627
627
|
sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
|
|
628
628
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
629
629
|
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),
|
|
630
636
|
};
|
|
631
637
|
/** The mail API allows you to manage your mail accounts. */
|
|
632
638
|
mail = {
|
|
@@ -802,8 +808,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
802
808
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
803
809
|
/** Verify your registration. */
|
|
804
810
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
805
|
-
/** Check
|
|
806
|
-
|
|
811
|
+
/** Check status of the current session. */
|
|
812
|
+
getCurrentSessionStatus: this.requestFunctionFactory(descriptors.userGetCurrentSessionStatus),
|
|
807
813
|
};
|
|
808
814
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
809
815
|
file = {
|
|
@@ -2740,9 +2740,27 @@ export const verificationVerifyCompany = {
|
|
|
2740
2740
|
method: "POST",
|
|
2741
2741
|
operationId: "verification-verify-company",
|
|
2742
2742
|
};
|
|
2743
|
-
/** Check
|
|
2744
|
-
export const
|
|
2745
|
-
path: "/v2/users/self/
|
|
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",
|
|
2746
2764
|
method: "POST",
|
|
2747
|
-
operationId: "
|
|
2765
|
+
operationId: "domain-resend-contact-verification-email",
|
|
2748
2766
|
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.364.0';
|
|
@@ -2294,6 +2294,30 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2294
2294
|
ingressId?: string | undefined;
|
|
2295
2295
|
} | undefined;
|
|
2296
2296
|
} | 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[]>;
|
|
2297
2321
|
};
|
|
2298
2322
|
declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2299
2323
|
/** Get a File's meta. */
|
|
@@ -3109,6 +3133,17 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3109
3133
|
expiresAt: string;
|
|
3110
3134
|
supportCode: string;
|
|
3111
3135
|
}>;
|
|
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
|
+
}>;
|
|
3112
3147
|
};
|
|
3113
3148
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3114
3149
|
/** List Invites belonging to a Project. */
|
|
@@ -19671,6 +19671,164 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
19671
19671
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19672
19672
|
[x: string]: unknown;
|
|
19673
19673
|
}, 429, "application/json">>>;
|
|
19674
|
+
/** Get a Contact-Verification. */
|
|
19675
|
+
getContactVerification: (request: {
|
|
19676
|
+
contactVerificationId: string;
|
|
19677
|
+
headers?: {
|
|
19678
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
19679
|
+
"x-access-token"?: string | undefined;
|
|
19680
|
+
} | undefined;
|
|
19681
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
19682
|
+
headers?: Partial<{
|
|
19683
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19684
|
+
}>;
|
|
19685
|
+
} & {
|
|
19686
|
+
pathParameters: {
|
|
19687
|
+
contactVerificationId: string;
|
|
19688
|
+
};
|
|
19689
|
+
} & {
|
|
19690
|
+
headers: {
|
|
19691
|
+
"x-access-token"?: string | undefined;
|
|
19692
|
+
} & Partial<{
|
|
19693
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19694
|
+
}>;
|
|
19695
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
19696
|
+
id: string;
|
|
19697
|
+
status: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationStatus;
|
|
19698
|
+
typeData: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationAddressData | import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationEmailData | import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationNameData;
|
|
19699
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19700
|
+
[x: string]: unknown;
|
|
19701
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19702
|
+
[x: string]: unknown;
|
|
19703
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19704
|
+
[x: string]: unknown;
|
|
19705
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
19706
|
+
headers?: Partial<{
|
|
19707
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19708
|
+
}>;
|
|
19709
|
+
} & {
|
|
19710
|
+
pathParameters: {
|
|
19711
|
+
contactVerificationId: string;
|
|
19712
|
+
};
|
|
19713
|
+
} & {
|
|
19714
|
+
headers: {
|
|
19715
|
+
"x-access-token"?: string | undefined;
|
|
19716
|
+
} & Partial<{
|
|
19717
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19718
|
+
}>;
|
|
19719
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
19720
|
+
id: string;
|
|
19721
|
+
status: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationStatus;
|
|
19722
|
+
typeData: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationAddressData | import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationEmailData | import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationNameData;
|
|
19723
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19724
|
+
[x: string]: unknown;
|
|
19725
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19726
|
+
[x: string]: unknown;
|
|
19727
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19728
|
+
[x: string]: unknown;
|
|
19729
|
+
}, 429, "application/json">>>;
|
|
19730
|
+
/** List Contact-Verifications belonging to the executing user. */
|
|
19731
|
+
listContactVerifications: (request?: {
|
|
19732
|
+
headers?: {
|
|
19733
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
19734
|
+
"x-access-token"?: string | undefined;
|
|
19735
|
+
} | undefined;
|
|
19736
|
+
queryParameters?: {
|
|
19737
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
19738
|
+
value?: string | undefined;
|
|
19739
|
+
type?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationType | undefined;
|
|
19740
|
+
} | undefined;
|
|
19741
|
+
} | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
19742
|
+
headers?: Partial<{
|
|
19743
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19744
|
+
}>;
|
|
19745
|
+
} & {
|
|
19746
|
+
queryParameters: {
|
|
19747
|
+
value?: string | undefined;
|
|
19748
|
+
type?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationType | undefined;
|
|
19749
|
+
} & Partial<{
|
|
19750
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19751
|
+
}>;
|
|
19752
|
+
} & {
|
|
19753
|
+
headers: {
|
|
19754
|
+
"x-access-token"?: string | undefined;
|
|
19755
|
+
} & Partial<{
|
|
19756
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19757
|
+
}>;
|
|
19758
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerification[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19759
|
+
[x: string]: unknown;
|
|
19760
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19761
|
+
[x: string]: unknown;
|
|
19762
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
19763
|
+
headers?: Partial<{
|
|
19764
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19765
|
+
}>;
|
|
19766
|
+
} & {
|
|
19767
|
+
queryParameters: {
|
|
19768
|
+
value?: string | undefined;
|
|
19769
|
+
type?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationType | undefined;
|
|
19770
|
+
} & Partial<{
|
|
19771
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19772
|
+
}>;
|
|
19773
|
+
} & {
|
|
19774
|
+
headers: {
|
|
19775
|
+
"x-access-token"?: string | undefined;
|
|
19776
|
+
} & Partial<{
|
|
19777
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19778
|
+
}>;
|
|
19779
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerification[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19780
|
+
[x: string]: unknown;
|
|
19781
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19782
|
+
[x: string]: unknown;
|
|
19783
|
+
}, 429, "application/json">>>;
|
|
19784
|
+
/** Resends a Contact-Verification email. */
|
|
19785
|
+
resendContactVerificationEmail: (request: {
|
|
19786
|
+
contactVerificationId: string;
|
|
19787
|
+
headers?: {
|
|
19788
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
19789
|
+
"x-access-token"?: string | undefined;
|
|
19790
|
+
} | undefined;
|
|
19791
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
19792
|
+
headers?: Partial<{
|
|
19793
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19794
|
+
}>;
|
|
19795
|
+
} & {
|
|
19796
|
+
pathParameters: {
|
|
19797
|
+
contactVerificationId: string;
|
|
19798
|
+
};
|
|
19799
|
+
} & {
|
|
19800
|
+
headers: {
|
|
19801
|
+
"x-access-token"?: string | undefined;
|
|
19802
|
+
} & Partial<{
|
|
19803
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19804
|
+
}>;
|
|
19805
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
19806
|
+
[x: string]: unknown;
|
|
19807
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19808
|
+
[x: string]: unknown;
|
|
19809
|
+
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19810
|
+
[x: string]: unknown;
|
|
19811
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
19812
|
+
headers?: Partial<{
|
|
19813
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19814
|
+
}>;
|
|
19815
|
+
} & {
|
|
19816
|
+
pathParameters: {
|
|
19817
|
+
contactVerificationId: string;
|
|
19818
|
+
};
|
|
19819
|
+
} & {
|
|
19820
|
+
headers: {
|
|
19821
|
+
"x-access-token"?: string | undefined;
|
|
19822
|
+
} & Partial<{
|
|
19823
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
19824
|
+
}>;
|
|
19825
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
19826
|
+
[x: string]: unknown;
|
|
19827
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19828
|
+
[x: string]: unknown;
|
|
19829
|
+
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
19830
|
+
[x: string]: unknown;
|
|
19831
|
+
}, 429, "application/json">>>;
|
|
19674
19832
|
};
|
|
19675
19833
|
/** The mail API allows you to manage your mail accounts. */
|
|
19676
19834
|
readonly mail: {
|
|
@@ -22049,6 +22207,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
22049
22207
|
headers?: {
|
|
22050
22208
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
22051
22209
|
} | undefined;
|
|
22210
|
+
queryParameters?: {
|
|
22211
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
22212
|
+
cookieOnly?: boolean | undefined;
|
|
22213
|
+
} | undefined;
|
|
22052
22214
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
22053
22215
|
data: {
|
|
22054
22216
|
email: string;
|
|
@@ -22059,7 +22221,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
22059
22221
|
headers?: Partial<{
|
|
22060
22222
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
22061
22223
|
}>;
|
|
22062
|
-
}
|
|
22224
|
+
} & {
|
|
22225
|
+
queryParameters: {
|
|
22226
|
+
cookieOnly?: boolean | undefined;
|
|
22227
|
+
} & Partial<{
|
|
22228
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
22229
|
+
}>;
|
|
22230
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
22063
22231
|
type: "ValidationError";
|
|
22064
22232
|
message?: string | undefined;
|
|
22065
22233
|
validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
|
|
@@ -22083,7 +22251,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
22083
22251
|
headers?: Partial<{
|
|
22084
22252
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
22085
22253
|
}>;
|
|
22086
|
-
}
|
|
22254
|
+
} & {
|
|
22255
|
+
queryParameters: {
|
|
22256
|
+
cookieOnly?: boolean | undefined;
|
|
22257
|
+
} & Partial<{
|
|
22258
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
22259
|
+
}>;
|
|
22260
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
22087
22261
|
type: "ValidationError";
|
|
22088
22262
|
message?: string | undefined;
|
|
22089
22263
|
validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
|
|
@@ -22107,6 +22281,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
22107
22281
|
headers?: {
|
|
22108
22282
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
22109
22283
|
} | undefined;
|
|
22284
|
+
queryParameters?: {
|
|
22285
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
22286
|
+
cookieOnly?: boolean | undefined;
|
|
22287
|
+
} | undefined;
|
|
22110
22288
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
22111
22289
|
data: {
|
|
22112
22290
|
email: string;
|
|
@@ -22116,17 +22294,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
22116
22294
|
headers?: Partial<{
|
|
22117
22295
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
22118
22296
|
}>;
|
|
22119
|
-
}
|
|
22297
|
+
} & {
|
|
22298
|
+
queryParameters: {
|
|
22299
|
+
cookieOnly?: boolean | undefined;
|
|
22300
|
+
} & Partial<{
|
|
22301
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
22302
|
+
}>;
|
|
22303
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
22120
22304
|
expires: string;
|
|
22121
22305
|
refreshToken: string;
|
|
22122
22306
|
token: string;
|
|
22123
22307
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
22124
22308
|
name?: "SecondFactorRequired" | undefined;
|
|
22125
|
-
}, 202, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
22126
|
-
type: "ValidationError";
|
|
22127
|
-
message?: string | undefined;
|
|
22128
|
-
validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
|
|
22129
|
-
}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
22309
|
+
}, 202, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
22130
22310
|
[x: string]: unknown;
|
|
22131
22311
|
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
22132
22312
|
data: {
|
|
@@ -22137,17 +22317,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
22137
22317
|
headers?: Partial<{
|
|
22138
22318
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
22139
22319
|
}>;
|
|
22140
|
-
}
|
|
22320
|
+
} & {
|
|
22321
|
+
queryParameters: {
|
|
22322
|
+
cookieOnly?: boolean | undefined;
|
|
22323
|
+
} & Partial<{
|
|
22324
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
22325
|
+
}>;
|
|
22326
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
22141
22327
|
expires: string;
|
|
22142
22328
|
refreshToken: string;
|
|
22143
22329
|
token: string;
|
|
22144
22330
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
22145
22331
|
name?: "SecondFactorRequired" | undefined;
|
|
22146
|
-
}, 202, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
22147
|
-
type: "ValidationError";
|
|
22148
|
-
message?: string | undefined;
|
|
22149
|
-
validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
|
|
22150
|
-
}, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
22332
|
+
}, 202, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
22151
22333
|
[x: string]: unknown;
|
|
22152
22334
|
}, 429, "application/json">>>;
|
|
22153
22335
|
/** Authenticate an user with an access token retrieval key. */
|
|
@@ -24607,8 +24789,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
24607
24789
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
24608
24790
|
[x: string]: unknown;
|
|
24609
24791
|
}, 429, "application/json">>>;
|
|
24610
|
-
/** Check
|
|
24611
|
-
|
|
24792
|
+
/** Check status of the current session. */
|
|
24793
|
+
getCurrentSessionStatus: (request?: {
|
|
24612
24794
|
headers?: {
|
|
24613
24795
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
24614
24796
|
"x-access-token"?: string | undefined;
|
|
@@ -24624,8 +24806,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
24624
24806
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
24625
24807
|
}>;
|
|
24626
24808
|
}, import("@mittwald/api-client-commons").Response<{
|
|
24627
|
-
|
|
24628
|
-
|
|
24809
|
+
isEmployee: boolean;
|
|
24810
|
+
isImpersonated: boolean;
|
|
24811
|
+
userId: string;
|
|
24629
24812
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
24630
24813
|
[x: string]: unknown;
|
|
24631
24814
|
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
@@ -24639,8 +24822,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
24639
24822
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
24640
24823
|
}>;
|
|
24641
24824
|
}, import("@mittwald/api-client-commons").Response<{
|
|
24642
|
-
|
|
24643
|
-
|
|
24825
|
+
isEmployee: boolean;
|
|
24826
|
+
isImpersonated: boolean;
|
|
24827
|
+
userId: string;
|
|
24644
24828
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
24645
24829
|
[x: string]: unknown;
|
|
24646
24830
|
}, 429, "application/json">>>;
|
|
@@ -814,9 +814,9 @@ export declare const userAddPhoneNumber: OpenAPIOperation<RequestType<Simplify<M
|
|
|
814
814
|
/** Remove phone number. */
|
|
815
815
|
export declare const userRemovePhoneNumber: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
816
816
|
/** Validate your second factor. */
|
|
817
|
-
export declare const userAuthenticateMfa: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$408.Content.ApplicationJson>, 408, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
817
|
+
export declare const userAuthenticateMfa: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$408.Content.ApplicationJson>, 408, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
818
818
|
/** Authenticate yourself to get an access token. */
|
|
819
|
-
export declare const userAuthenticate: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$202.Content.ApplicationJson>, 202, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
819
|
+
export declare const userAuthenticate: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$202.Content.ApplicationJson>, 202, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
820
820
|
/** Authenticate an user with an access token retrieval key. */
|
|
821
821
|
export declare const userAuthenticateWithAccessTokenRetrievalKey: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
822
822
|
/** Get your verified Email-Address. */
|
|
@@ -917,5 +917,11 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
|
|
|
917
917
|
export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
918
918
|
/** Check if a company exists. */
|
|
919
919
|
export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
920
|
-
/** Check
|
|
921
|
-
export declare const
|
|
920
|
+
/** Check status of the current session. */
|
|
921
|
+
export declare const userGetCurrentSessionStatus: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsCurrentStatus.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsCurrentStatus.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsCurrentStatus.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsCurrentStatus.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsCurrentStatus.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsCurrentStatus.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
922
|
+
/** Get a Contact-Verification. */
|
|
923
|
+
export declare const domainGetContactVerification: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
924
|
+
/** List Contact-Verifications belonging to the executing user. */
|
|
925
|
+
export declare const domainListContactVerifications: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContactVerifications.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContactVerifications.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContactVerifications.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerifications.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerifications.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerifications.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerifications.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
926
|
+
/** Resends a Contact-Verification email. */
|
|
927
|
+
export declare const domainResendContactVerificationEmail: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationIdActionsResendContactVerificationEmail.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationIdActionsResendContactVerificationEmail.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationIdActionsResendContactVerificationEmail.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationIdActionsResendContactVerificationEmail.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationIdActionsResendContactVerificationEmail.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationIdActionsResendContactVerificationEmail.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationIdActionsResendContactVerificationEmail.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContactVerificationsContactVerificationIdActionsResendContactVerificationEmail.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -1830,9 +1830,21 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1830
1830
|
type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
|
|
1831
1831
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
|
|
1832
1832
|
}
|
|
1833
|
-
namespace
|
|
1834
|
-
type RequestData = InferredRequestData<typeof descriptors.
|
|
1835
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.
|
|
1833
|
+
namespace UserGetCurrentSessionStatus {
|
|
1834
|
+
type RequestData = InferredRequestData<typeof descriptors.userGetCurrentSessionStatus>;
|
|
1835
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userGetCurrentSessionStatus, TStatus>;
|
|
1836
|
+
}
|
|
1837
|
+
namespace DomainGetContactVerification {
|
|
1838
|
+
type RequestData = InferredRequestData<typeof descriptors.domainGetContactVerification>;
|
|
1839
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetContactVerification, TStatus>;
|
|
1840
|
+
}
|
|
1841
|
+
namespace DomainListContactVerifications {
|
|
1842
|
+
type RequestData = InferredRequestData<typeof descriptors.domainListContactVerifications>;
|
|
1843
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainListContactVerifications, TStatus>;
|
|
1844
|
+
}
|
|
1845
|
+
namespace DomainResendContactVerificationEmail {
|
|
1846
|
+
type RequestData = InferredRequestData<typeof descriptors.domainResendContactVerificationEmail>;
|
|
1847
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainResendContactVerificationEmail, TStatus>;
|
|
1836
1848
|
}
|
|
1837
1849
|
}
|
|
1838
1850
|
namespace Components {
|
|
@@ -1935,6 +1947,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1935
1947
|
planLimit: number;
|
|
1936
1948
|
used: number;
|
|
1937
1949
|
}
|
|
1950
|
+
type AppAppInstallationSortOrder = "newestFirst" | "oldestFirst" | "sortByPhpVersionAsc" | "sortByPhpVersionDesc";
|
|
1938
1951
|
/**
|
|
1939
1952
|
* An Action is a string that describes a runtime concerning action which can be executed on an AppInstallation or an App can be capable of.
|
|
1940
1953
|
*/
|
|
@@ -6156,7 +6169,27 @@ export declare namespace MittwaldAPIV2 {
|
|
|
6156
6169
|
}
|
|
6157
6170
|
type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
|
|
6158
6171
|
type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
|
|
6159
|
-
|
|
6172
|
+
interface DomainContactVerification {
|
|
6173
|
+
id: string;
|
|
6174
|
+
status: MittwaldAPIV2.Components.Schemas.DomainContactVerificationStatus;
|
|
6175
|
+
typeData: MittwaldAPIV2.Components.Schemas.DomainContactVerificationAddressData | MittwaldAPIV2.Components.Schemas.DomainContactVerificationEmailData | MittwaldAPIV2.Components.Schemas.DomainContactVerificationNameData;
|
|
6176
|
+
}
|
|
6177
|
+
interface DomainContactVerificationAddressData {
|
|
6178
|
+
type: "address";
|
|
6179
|
+
value: string;
|
|
6180
|
+
}
|
|
6181
|
+
interface DomainContactVerificationEmailData {
|
|
6182
|
+
emailVerificationDeadline?: string;
|
|
6183
|
+
lastEmailSentDate?: string;
|
|
6184
|
+
type: "email";
|
|
6185
|
+
value: string;
|
|
6186
|
+
}
|
|
6187
|
+
interface DomainContactVerificationNameData {
|
|
6188
|
+
type: "name";
|
|
6189
|
+
value: string;
|
|
6190
|
+
}
|
|
6191
|
+
type DomainContactVerificationStatus = "created" | "pending" | "completed" | "failed";
|
|
6192
|
+
type DomainContactVerificationType = "name" | "address" | "email";
|
|
6160
6193
|
interface CommonsAddress {
|
|
6161
6194
|
street: string;
|
|
6162
6195
|
houseNumber: string;
|
|
@@ -27459,7 +27492,9 @@ export declare namespace MittwaldAPIV2 {
|
|
|
27459
27492
|
password: string;
|
|
27460
27493
|
}
|
|
27461
27494
|
type Header = {};
|
|
27462
|
-
type Query = {
|
|
27495
|
+
type Query = {
|
|
27496
|
+
cookieOnly?: boolean;
|
|
27497
|
+
};
|
|
27463
27498
|
}
|
|
27464
27499
|
namespace Responses {
|
|
27465
27500
|
namespace $200 {
|
|
@@ -27480,6 +27515,11 @@ export declare namespace MittwaldAPIV2 {
|
|
|
27480
27515
|
}
|
|
27481
27516
|
}
|
|
27482
27517
|
}
|
|
27518
|
+
namespace $204 {
|
|
27519
|
+
namespace Content {
|
|
27520
|
+
type Empty = unknown;
|
|
27521
|
+
}
|
|
27522
|
+
}
|
|
27483
27523
|
namespace $400 {
|
|
27484
27524
|
namespace Content {
|
|
27485
27525
|
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
|
|
@@ -27525,7 +27565,9 @@ export declare namespace MittwaldAPIV2 {
|
|
|
27525
27565
|
password: string;
|
|
27526
27566
|
}
|
|
27527
27567
|
type Header = {};
|
|
27528
|
-
type Query = {
|
|
27568
|
+
type Query = {
|
|
27569
|
+
cookieOnly?: boolean;
|
|
27570
|
+
};
|
|
27529
27571
|
}
|
|
27530
27572
|
namespace Responses {
|
|
27531
27573
|
namespace $200 {
|
|
@@ -27553,6 +27595,11 @@ export declare namespace MittwaldAPIV2 {
|
|
|
27553
27595
|
}
|
|
27554
27596
|
}
|
|
27555
27597
|
}
|
|
27598
|
+
namespace $204 {
|
|
27599
|
+
namespace Content {
|
|
27600
|
+
type Empty = unknown;
|
|
27601
|
+
}
|
|
27602
|
+
}
|
|
27556
27603
|
namespace $400 {
|
|
27557
27604
|
namespace Content {
|
|
27558
27605
|
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
@@ -27560,7 +27607,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
27560
27607
|
}
|
|
27561
27608
|
namespace $401 {
|
|
27562
27609
|
namespace Content {
|
|
27563
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
|
|
27610
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
|
|
27564
27611
|
}
|
|
27565
27612
|
}
|
|
27566
27613
|
namespace $429 {
|
|
@@ -29853,22 +29900,163 @@ export declare namespace MittwaldAPIV2 {
|
|
|
29853
29900
|
}
|
|
29854
29901
|
}
|
|
29855
29902
|
}
|
|
29856
|
-
namespace
|
|
29857
|
-
|
|
29858
|
-
namespace Post {
|
|
29903
|
+
namespace V2UsersSelfSessionsCurrentStatus {
|
|
29904
|
+
namespace Get {
|
|
29859
29905
|
namespace Parameters {
|
|
29860
29906
|
type Path = {};
|
|
29861
|
-
|
|
29907
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
29908
|
+
type Query = {};
|
|
29909
|
+
}
|
|
29910
|
+
namespace Responses {
|
|
29911
|
+
namespace $200 {
|
|
29912
|
+
namespace Content {
|
|
29913
|
+
interface ApplicationJson {
|
|
29914
|
+
/**
|
|
29915
|
+
* Whether the executing user is an employee.
|
|
29916
|
+
*/
|
|
29917
|
+
isEmployee: boolean;
|
|
29918
|
+
/**
|
|
29919
|
+
* Whether the current session is an impersonation.
|
|
29920
|
+
*/
|
|
29921
|
+
isImpersonated: boolean;
|
|
29922
|
+
/**
|
|
29923
|
+
* ID of the executing user.
|
|
29924
|
+
*/
|
|
29925
|
+
userId: string;
|
|
29926
|
+
}
|
|
29927
|
+
}
|
|
29928
|
+
}
|
|
29929
|
+
namespace $429 {
|
|
29930
|
+
namespace Content {
|
|
29931
|
+
interface ApplicationJson {
|
|
29932
|
+
[k: string]: unknown;
|
|
29933
|
+
}
|
|
29934
|
+
}
|
|
29935
|
+
}
|
|
29936
|
+
namespace Default {
|
|
29937
|
+
namespace Content {
|
|
29938
|
+
interface ApplicationJson {
|
|
29939
|
+
[k: string]: unknown;
|
|
29940
|
+
}
|
|
29941
|
+
}
|
|
29862
29942
|
}
|
|
29943
|
+
}
|
|
29944
|
+
}
|
|
29945
|
+
}
|
|
29946
|
+
namespace V2SignupTokenCheck { }
|
|
29947
|
+
namespace V2UsersSelfCredentialsToken { }
|
|
29948
|
+
namespace V2ContactVerificationsContactVerificationId {
|
|
29949
|
+
namespace Get {
|
|
29950
|
+
namespace Parameters {
|
|
29951
|
+
type Path = {
|
|
29952
|
+
contactVerificationId: string;
|
|
29953
|
+
};
|
|
29863
29954
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
29864
29955
|
type Query = {};
|
|
29865
29956
|
}
|
|
29866
29957
|
namespace Responses {
|
|
29867
29958
|
namespace $200 {
|
|
29959
|
+
namespace Content {
|
|
29960
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.DomainContactVerification;
|
|
29961
|
+
}
|
|
29962
|
+
}
|
|
29963
|
+
namespace $400 {
|
|
29868
29964
|
namespace Content {
|
|
29869
29965
|
interface ApplicationJson {
|
|
29870
|
-
|
|
29871
|
-
|
|
29966
|
+
[k: string]: unknown;
|
|
29967
|
+
}
|
|
29968
|
+
}
|
|
29969
|
+
}
|
|
29970
|
+
namespace $404 {
|
|
29971
|
+
namespace Content {
|
|
29972
|
+
interface ApplicationJson {
|
|
29973
|
+
[k: string]: unknown;
|
|
29974
|
+
}
|
|
29975
|
+
}
|
|
29976
|
+
}
|
|
29977
|
+
namespace $429 {
|
|
29978
|
+
namespace Content {
|
|
29979
|
+
interface ApplicationJson {
|
|
29980
|
+
[k: string]: unknown;
|
|
29981
|
+
}
|
|
29982
|
+
}
|
|
29983
|
+
}
|
|
29984
|
+
namespace Default {
|
|
29985
|
+
namespace Content {
|
|
29986
|
+
interface ApplicationJson {
|
|
29987
|
+
[k: string]: unknown;
|
|
29988
|
+
}
|
|
29989
|
+
}
|
|
29990
|
+
}
|
|
29991
|
+
}
|
|
29992
|
+
}
|
|
29993
|
+
}
|
|
29994
|
+
namespace V2ContactVerifications {
|
|
29995
|
+
namespace Get {
|
|
29996
|
+
namespace Parameters {
|
|
29997
|
+
type Path = {};
|
|
29998
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
29999
|
+
type Query = {
|
|
30000
|
+
value?: string;
|
|
30001
|
+
type?: MittwaldAPIV2.Components.Schemas.DomainContactVerificationType;
|
|
30002
|
+
};
|
|
30003
|
+
}
|
|
30004
|
+
namespace Responses {
|
|
30005
|
+
namespace $200 {
|
|
30006
|
+
namespace Content {
|
|
30007
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.DomainContactVerification[];
|
|
30008
|
+
}
|
|
30009
|
+
}
|
|
30010
|
+
namespace $400 {
|
|
30011
|
+
namespace Content {
|
|
30012
|
+
interface ApplicationJson {
|
|
30013
|
+
[k: string]: unknown;
|
|
30014
|
+
}
|
|
30015
|
+
}
|
|
30016
|
+
}
|
|
30017
|
+
namespace $429 {
|
|
30018
|
+
namespace Content {
|
|
30019
|
+
interface ApplicationJson {
|
|
30020
|
+
[k: string]: unknown;
|
|
30021
|
+
}
|
|
30022
|
+
}
|
|
30023
|
+
}
|
|
30024
|
+
namespace Default {
|
|
30025
|
+
namespace Content {
|
|
30026
|
+
interface ApplicationJson {
|
|
30027
|
+
[k: string]: unknown;
|
|
30028
|
+
}
|
|
30029
|
+
}
|
|
30030
|
+
}
|
|
30031
|
+
}
|
|
30032
|
+
}
|
|
30033
|
+
}
|
|
30034
|
+
namespace V2ContactVerificationsContactVerificationIdActionsResendContactVerificationEmail {
|
|
30035
|
+
namespace Post {
|
|
30036
|
+
namespace Parameters {
|
|
30037
|
+
type Path = {
|
|
30038
|
+
contactVerificationId: string;
|
|
30039
|
+
};
|
|
30040
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
30041
|
+
type Query = {};
|
|
30042
|
+
}
|
|
30043
|
+
namespace Responses {
|
|
30044
|
+
namespace $204 {
|
|
30045
|
+
namespace Content {
|
|
30046
|
+
type Empty = unknown;
|
|
30047
|
+
}
|
|
30048
|
+
}
|
|
30049
|
+
namespace $400 {
|
|
30050
|
+
namespace Content {
|
|
30051
|
+
interface ApplicationJson {
|
|
30052
|
+
[k: string]: unknown;
|
|
30053
|
+
}
|
|
30054
|
+
}
|
|
30055
|
+
}
|
|
30056
|
+
namespace $412 {
|
|
30057
|
+
namespace Content {
|
|
30058
|
+
interface ApplicationJson {
|
|
30059
|
+
[k: string]: unknown;
|
|
29872
30060
|
}
|
|
29873
30061
|
}
|
|
29874
30062
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.364.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.364.1",
|
|
4
4
|
"author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Auto-generated client for the mittwald API",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"test:compile": "run tsc --noEmit"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@mittwald/api-client-commons": "^4.
|
|
49
|
+
"@mittwald/api-client-commons": "^4.364.1",
|
|
50
50
|
"browser-or-node": "^3.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@mittwald/api-code-generator": "^4.
|
|
53
|
+
"@mittwald/api-code-generator": "^4.364.1",
|
|
54
54
|
"@mittwald/react-use-promise": "^2.6.2",
|
|
55
55
|
"@types/node": "^22.18.11",
|
|
56
56
|
"@types/react": "^18.3.26",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "6cee8843d1b1226c17fba906c199252756cf8be4"
|
|
84
84
|
}
|