@mittwald/api-client 4.469.0 → 4.471.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 -2
- package/dist/esm/generated/v2/client.js +4 -2
- package/dist/esm/generated/v2/descriptors.js +12 -6
- package/dist/esm/generated/v3-next/client-react.js +2 -0
- package/dist/esm/generated/v3-next/client.js +2 -0
- package/dist/esm/generated/v3-next/descriptors.js +6 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +23 -16
- package/dist/types/generated/v2/client.d.ts +90 -56
- package/dist/types/generated/v2/descriptors.d.ts +4 -2
- package/dist/types/generated/v2/types.d.ts +95 -44
- package/dist/types/generated/v3-next/client-react.d.ts +7 -0
- package/dist/types/generated/v3-next/client.d.ts +34 -0
- package/dist/types/generated/v3-next/descriptors.d.ts +2 -0
- package/dist/types/generated/v3-next/types.d.ts +51 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -172,8 +172,6 @@ const buildMarketplaceApi = (baseClient) => ({
|
|
|
172
172
|
contributorGetCustomerBillingPortalLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetCustomerBillingPortalLink, baseClient.marketplace.contributorGetCustomerBillingPortalLink).getApiResource,
|
|
173
173
|
/** Get the Stripe Dashboard Link for a Contributor. */
|
|
174
174
|
contributorGetLoginLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetLoginLink, baseClient.marketplace.contributorGetLoginLink).getApiResource,
|
|
175
|
-
/** Get a specific OAuth2 client. */
|
|
176
|
-
contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
|
|
177
175
|
/** List ContractPartners of the contributor. */
|
|
178
176
|
contributorListContractPartnersOfContributor: new ApiCallAsyncResourceFactory(descriptors.contributorListContractPartnersOfContributor, baseClient.marketplace.contributorListContractPartnersOfContributor).getApiResource,
|
|
179
177
|
/** List incoming Invoices of a Contributor. */
|
|
@@ -216,6 +214,8 @@ const buildMarketplaceApi = (baseClient) => ({
|
|
|
216
214
|
extensionListScopes: new ApiCallAsyncResourceFactory(descriptors.extensionListScopes, baseClient.marketplace.extensionListScopes).getApiResource,
|
|
217
215
|
/** Get payment method details */
|
|
218
216
|
customerGetPaymentMethod: new ApiCallAsyncResourceFactory(descriptors.marketplaceCustomerGetPaymentMethod, baseClient.marketplace.customerGetPaymentMethod).getApiResource,
|
|
217
|
+
/** Get a specific OAuth2 client. */
|
|
218
|
+
contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
|
|
219
219
|
});
|
|
220
220
|
const buildConversationApi = (baseClient) => ({
|
|
221
221
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -446,6 +446,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
446
446
|
oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
|
|
447
447
|
/** Request a support code. */
|
|
448
448
|
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
449
|
+
/** Check if a password is leaked. */
|
|
450
|
+
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
449
451
|
});
|
|
450
452
|
const buildProjectApi = (baseClient) => ({
|
|
451
453
|
/** List Invites belonging to a Project. */
|
|
@@ -298,8 +298,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
298
298
|
contributorGetCustomerBillingPortalLink: this.requestFunctionFactory(descriptors.contributorGetCustomerBillingPortalLink),
|
|
299
299
|
/** Get the Stripe Dashboard Link for a Contributor. */
|
|
300
300
|
contributorGetLoginLink: this.requestFunctionFactory(descriptors.contributorGetLoginLink),
|
|
301
|
-
/** Get a specific OAuth2 client. */
|
|
302
|
-
contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
|
|
303
301
|
/** List ContractPartners of the contributor. */
|
|
304
302
|
contributorListContractPartnersOfContributor: this.requestFunctionFactory(descriptors.contributorListContractPartnersOfContributor),
|
|
305
303
|
/** List incoming Invoices of a Contributor. */
|
|
@@ -412,6 +410,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
412
410
|
customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
|
|
413
411
|
/** Get the link to update the marketplace payment method */
|
|
414
412
|
customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
|
|
413
|
+
/** Get a specific OAuth2 client. */
|
|
414
|
+
contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
|
|
415
415
|
};
|
|
416
416
|
/** The conversation API allows you to manage your support conversations. */
|
|
417
417
|
conversation = {
|
|
@@ -852,6 +852,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
852
852
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
853
853
|
/** Verify your registration. */
|
|
854
854
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
855
|
+
/** Check if a password is leaked. */
|
|
856
|
+
searchedLeakedPasswordsByRange: this.requestFunctionFactory(descriptors.userSearchedLeakedPasswordsByRange),
|
|
855
857
|
};
|
|
856
858
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
857
859
|
file = {
|
|
@@ -742,12 +742,6 @@ export const contributorGetLoginLink = {
|
|
|
742
742
|
method: "GET",
|
|
743
743
|
operationId: "contributor-get-login-link",
|
|
744
744
|
};
|
|
745
|
-
/** Get a specific OAuth2 client. */
|
|
746
|
-
export const contributorGetOauthClient = {
|
|
747
|
-
path: "/v2/oauth2/clients/{oauthClientId}",
|
|
748
|
-
method: "GET",
|
|
749
|
-
operationId: "contributor-get-oauth-client",
|
|
750
|
-
};
|
|
751
745
|
/** List ContractPartners of the contributor. */
|
|
752
746
|
export const contributorListContractPartnersOfContributor = {
|
|
753
747
|
path: "/v2/contributors/{contributorId}/contract-partners",
|
|
@@ -2902,3 +2896,15 @@ export const verificationVerifyCompany = {
|
|
|
2902
2896
|
method: "POST",
|
|
2903
2897
|
operationId: "verification-verify-company",
|
|
2904
2898
|
};
|
|
2899
|
+
/** Get a specific OAuth2 client. */
|
|
2900
|
+
export const contributorGetOauthClient = {
|
|
2901
|
+
path: "/v2/oauth2/clients/{oauthClientId}",
|
|
2902
|
+
method: "GET",
|
|
2903
|
+
operationId: "contributor-get-oauth-client",
|
|
2904
|
+
};
|
|
2905
|
+
/** Check if a password is leaked. */
|
|
2906
|
+
export const userSearchedLeakedPasswordsByRange = {
|
|
2907
|
+
path: "/v2/leaked-passwords/{passwordHashPrefix}",
|
|
2908
|
+
method: "GET",
|
|
2909
|
+
operationId: "user-searched-leaked-passwords-by-range",
|
|
2910
|
+
};
|
|
@@ -446,6 +446,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
446
446
|
oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
|
|
447
447
|
/** Request a support code. */
|
|
448
448
|
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
449
|
+
/** Check if a password is leaked. */
|
|
450
|
+
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
449
451
|
});
|
|
450
452
|
const buildProjectApi = (baseClient) => ({
|
|
451
453
|
/** List Invites belonging to a Project. */
|
|
@@ -852,6 +852,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
852
852
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
853
853
|
/** Verify your registration. */
|
|
854
854
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
855
|
+
/** Check if a password is leaked. */
|
|
856
|
+
searchedLeakedPasswordsByRange: this.requestFunctionFactory(descriptors.userSearchedLeakedPasswordsByRange),
|
|
855
857
|
};
|
|
856
858
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
857
859
|
file = {
|
|
@@ -2902,3 +2902,9 @@ export const contributorGetOauthClient = {
|
|
|
2902
2902
|
method: "GET",
|
|
2903
2903
|
operationId: "contributor-get-oauth-client",
|
|
2904
2904
|
};
|
|
2905
|
+
/** Check if a password is leaked. */
|
|
2906
|
+
export const userSearchedLeakedPasswordsByRange = {
|
|
2907
|
+
path: "/v3-next/leaked-passwords/{passwordHashPrefix}",
|
|
2908
|
+
method: "GET",
|
|
2909
|
+
operationId: "user-searched-leaked-passwords-by-range",
|
|
2910
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.470.0';
|
|
@@ -1398,22 +1398,6 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1398
1398
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1399
1399
|
url?: string | undefined;
|
|
1400
1400
|
}>;
|
|
1401
|
-
/** Get a specific OAuth2 client. */
|
|
1402
|
-
contributorGetOauthClient: (conf: {
|
|
1403
|
-
oauthClientId: string;
|
|
1404
|
-
headers?: {
|
|
1405
|
-
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
1406
|
-
"x-access-token"?: string | undefined;
|
|
1407
|
-
} | undefined;
|
|
1408
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1409
|
-
allowedGrantTypes?: string[] | undefined;
|
|
1410
|
-
allowedRedirectUris?: string[] | undefined;
|
|
1411
|
-
allowedScopes?: string[] | undefined;
|
|
1412
|
-
description?: string | undefined;
|
|
1413
|
-
humanReadableName: string;
|
|
1414
|
-
id: string;
|
|
1415
|
-
type?: "public" | "confidential" | undefined;
|
|
1416
|
-
}>;
|
|
1417
1401
|
/** List ContractPartners of the contributor. */
|
|
1418
1402
|
contributorListContractPartnersOfContributor: (conf: {
|
|
1419
1403
|
contributorId: string;
|
|
@@ -1845,6 +1829,22 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1845
1829
|
last4: string;
|
|
1846
1830
|
} | undefined;
|
|
1847
1831
|
}>;
|
|
1832
|
+
/** Get a specific OAuth2 client. */
|
|
1833
|
+
contributorGetOauthClient: (conf: {
|
|
1834
|
+
oauthClientId: string;
|
|
1835
|
+
headers?: {
|
|
1836
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
1837
|
+
"x-access-token"?: string | undefined;
|
|
1838
|
+
} | undefined;
|
|
1839
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1840
|
+
allowedGrantTypes?: string[] | undefined;
|
|
1841
|
+
allowedRedirectUris?: string[] | undefined;
|
|
1842
|
+
allowedScopes?: string[] | undefined;
|
|
1843
|
+
description?: string | undefined;
|
|
1844
|
+
humanReadableName: string;
|
|
1845
|
+
id: string;
|
|
1846
|
+
type?: "public" | "confidential" | undefined;
|
|
1847
|
+
}>;
|
|
1848
1848
|
};
|
|
1849
1849
|
declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1850
1850
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -3519,6 +3519,13 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3519
3519
|
expiresAt: string;
|
|
3520
3520
|
supportCode: string;
|
|
3521
3521
|
}>;
|
|
3522
|
+
/** Check if a password is leaked. */
|
|
3523
|
+
searchedLeakedPasswordsByRange: (conf: {
|
|
3524
|
+
passwordHashPrefix: string;
|
|
3525
|
+
headers?: {
|
|
3526
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
3527
|
+
} | undefined;
|
|
3528
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
|
|
3522
3529
|
};
|
|
3523
3530
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3524
3531
|
/** List Invites belonging to a Project. */
|
|
@@ -9665,62 +9665,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9665
9665
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9666
9666
|
[x: string]: unknown;
|
|
9667
9667
|
}, 429, "application/json">>>;
|
|
9668
|
-
/** Get a specific OAuth2 client. */
|
|
9669
|
-
contributorGetOauthClient: (request: {
|
|
9670
|
-
oauthClientId: string;
|
|
9671
|
-
headers?: {
|
|
9672
|
-
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
9673
|
-
"x-access-token"?: string | undefined;
|
|
9674
|
-
} | undefined;
|
|
9675
|
-
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9676
|
-
headers?: Partial<{
|
|
9677
|
-
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
9678
|
-
}>;
|
|
9679
|
-
} & {
|
|
9680
|
-
pathParameters: {
|
|
9681
|
-
oauthClientId: string;
|
|
9682
|
-
};
|
|
9683
|
-
} & {
|
|
9684
|
-
headers: {
|
|
9685
|
-
"x-access-token"?: string | undefined;
|
|
9686
|
-
} & Partial<{
|
|
9687
|
-
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
9688
|
-
}>;
|
|
9689
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
9690
|
-
allowedGrantTypes?: string[] | undefined;
|
|
9691
|
-
allowedRedirectUris?: string[] | undefined;
|
|
9692
|
-
allowedScopes?: string[] | undefined;
|
|
9693
|
-
description?: string | undefined;
|
|
9694
|
-
humanReadableName: string;
|
|
9695
|
-
id: string;
|
|
9696
|
-
type?: "public" | "confidential" | undefined;
|
|
9697
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9698
|
-
[x: string]: unknown;
|
|
9699
|
-
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9700
|
-
headers?: Partial<{
|
|
9701
|
-
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
9702
|
-
}>;
|
|
9703
|
-
} & {
|
|
9704
|
-
pathParameters: {
|
|
9705
|
-
oauthClientId: string;
|
|
9706
|
-
};
|
|
9707
|
-
} & {
|
|
9708
|
-
headers: {
|
|
9709
|
-
"x-access-token"?: string | undefined;
|
|
9710
|
-
} & Partial<{
|
|
9711
|
-
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
9712
|
-
}>;
|
|
9713
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
9714
|
-
allowedGrantTypes?: string[] | undefined;
|
|
9715
|
-
allowedRedirectUris?: string[] | undefined;
|
|
9716
|
-
allowedScopes?: string[] | undefined;
|
|
9717
|
-
description?: string | undefined;
|
|
9718
|
-
humanReadableName: string;
|
|
9719
|
-
id: string;
|
|
9720
|
-
type?: "public" | "confidential" | undefined;
|
|
9721
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9722
|
-
[x: string]: unknown;
|
|
9723
|
-
}, 429, "application/json">>>;
|
|
9724
9668
|
/** List ContractPartners of the contributor. */
|
|
9725
9669
|
contributorListContractPartnersOfContributor: (request: {
|
|
9726
9670
|
contributorId: string;
|
|
@@ -13715,6 +13659,62 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
13715
13659
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13716
13660
|
[x: string]: unknown;
|
|
13717
13661
|
}, 429, "application/json">>>;
|
|
13662
|
+
/** Get a specific OAuth2 client. */
|
|
13663
|
+
contributorGetOauthClient: (request: {
|
|
13664
|
+
oauthClientId: string;
|
|
13665
|
+
headers?: {
|
|
13666
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
13667
|
+
"x-access-token"?: string | undefined;
|
|
13668
|
+
} | undefined;
|
|
13669
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
13670
|
+
headers?: Partial<{
|
|
13671
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
13672
|
+
}>;
|
|
13673
|
+
} & {
|
|
13674
|
+
pathParameters: {
|
|
13675
|
+
oauthClientId: string;
|
|
13676
|
+
};
|
|
13677
|
+
} & {
|
|
13678
|
+
headers: {
|
|
13679
|
+
"x-access-token"?: string | undefined;
|
|
13680
|
+
} & Partial<{
|
|
13681
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
13682
|
+
}>;
|
|
13683
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
13684
|
+
allowedGrantTypes?: string[] | undefined;
|
|
13685
|
+
allowedRedirectUris?: string[] | undefined;
|
|
13686
|
+
allowedScopes?: string[] | undefined;
|
|
13687
|
+
description?: string | undefined;
|
|
13688
|
+
humanReadableName: string;
|
|
13689
|
+
id: string;
|
|
13690
|
+
type?: "public" | "confidential" | undefined;
|
|
13691
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13692
|
+
[x: string]: unknown;
|
|
13693
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
13694
|
+
headers?: Partial<{
|
|
13695
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
13696
|
+
}>;
|
|
13697
|
+
} & {
|
|
13698
|
+
pathParameters: {
|
|
13699
|
+
oauthClientId: string;
|
|
13700
|
+
};
|
|
13701
|
+
} & {
|
|
13702
|
+
headers: {
|
|
13703
|
+
"x-access-token"?: string | undefined;
|
|
13704
|
+
} & Partial<{
|
|
13705
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
13706
|
+
}>;
|
|
13707
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
13708
|
+
allowedGrantTypes?: string[] | undefined;
|
|
13709
|
+
allowedRedirectUris?: string[] | undefined;
|
|
13710
|
+
allowedScopes?: string[] | undefined;
|
|
13711
|
+
description?: string | undefined;
|
|
13712
|
+
humanReadableName: string;
|
|
13713
|
+
id: string;
|
|
13714
|
+
type?: "public" | "confidential" | undefined;
|
|
13715
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13716
|
+
[x: string]: unknown;
|
|
13717
|
+
}, 429, "application/json">>>;
|
|
13718
13718
|
};
|
|
13719
13719
|
/** The conversation API allows you to manage your support conversations. */
|
|
13720
13720
|
readonly conversation: {
|
|
@@ -19258,6 +19258,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
19258
19258
|
data: {
|
|
19259
19259
|
domain: string;
|
|
19260
19260
|
authCode?: string | undefined;
|
|
19261
|
+
projectId?: string | undefined;
|
|
19261
19262
|
};
|
|
19262
19263
|
headers?: {
|
|
19263
19264
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
@@ -19266,6 +19267,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
19266
19267
|
data: {
|
|
19267
19268
|
authCode?: string | undefined;
|
|
19268
19269
|
domain: string;
|
|
19270
|
+
projectId?: string | undefined;
|
|
19269
19271
|
};
|
|
19270
19272
|
} & {
|
|
19271
19273
|
headers?: Partial<{
|
|
@@ -19283,6 +19285,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
19283
19285
|
data: {
|
|
19284
19286
|
authCode?: string | undefined;
|
|
19285
19287
|
domain: string;
|
|
19288
|
+
projectId?: string | undefined;
|
|
19286
19289
|
};
|
|
19287
19290
|
} & {
|
|
19288
19291
|
headers?: Partial<{
|
|
@@ -26511,6 +26514,37 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
26511
26514
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26512
26515
|
[x: string]: unknown;
|
|
26513
26516
|
}, 429, "application/json">>>;
|
|
26517
|
+
/** Check if a password is leaked. */
|
|
26518
|
+
searchedLeakedPasswordsByRange: (request: {
|
|
26519
|
+
passwordHashPrefix: string;
|
|
26520
|
+
headers?: {
|
|
26521
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
26522
|
+
} | undefined;
|
|
26523
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
26524
|
+
headers?: Partial<{
|
|
26525
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
26526
|
+
}>;
|
|
26527
|
+
} & {
|
|
26528
|
+
pathParameters: {
|
|
26529
|
+
passwordHashPrefix: string;
|
|
26530
|
+
};
|
|
26531
|
+
}, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26532
|
+
[x: string]: unknown;
|
|
26533
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26534
|
+
[x: string]: unknown;
|
|
26535
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
26536
|
+
headers?: Partial<{
|
|
26537
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
26538
|
+
}>;
|
|
26539
|
+
} & {
|
|
26540
|
+
pathParameters: {
|
|
26541
|
+
passwordHashPrefix: string;
|
|
26542
|
+
};
|
|
26543
|
+
}, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26544
|
+
[x: string]: unknown;
|
|
26545
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26546
|
+
[x: string]: unknown;
|
|
26547
|
+
}, 429, "application/json">>>;
|
|
26514
26548
|
};
|
|
26515
26549
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
26516
26550
|
readonly file: {
|
|
@@ -251,8 +251,6 @@ export declare const contributorUpdateBillingInformation: OpenAPIOperation<Reque
|
|
|
251
251
|
export declare const contributorGetCustomerBillingPortalLink: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdBillingPortal.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
252
252
|
/** Get the Stripe Dashboard Link for a Contributor. */
|
|
253
253
|
export declare const contributorGetLoginLink: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdDashboard.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
254
|
-
/** Get a specific OAuth2 client. */
|
|
255
|
-
export declare const contributorGetOauthClient: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
256
254
|
/** List ContractPartners of the contributor. */
|
|
257
255
|
export declare const contributorListContractPartnersOfContributor: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdContractPartners.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
258
256
|
/** List incoming Invoices of a Contributor. */
|
|
@@ -971,3 +969,7 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
|
|
|
971
969
|
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">>;
|
|
972
970
|
/** Check if a company exists. */
|
|
973
971
|
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">>;
|
|
972
|
+
/** Get a specific OAuth2 client. */
|
|
973
|
+
export declare const contributorGetOauthClient: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
974
|
+
/** Check if a password is leaked. */
|
|
975
|
+
export declare const userSearchedLeakedPasswordsByRange: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2LeakedPasswordsPasswordHashPrefix.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2LeakedPasswordsPasswordHashPrefix.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2LeakedPasswordsPasswordHashPrefix.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2LeakedPasswordsPasswordHashPrefix.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LeakedPasswordsPasswordHashPrefix.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LeakedPasswordsPasswordHashPrefix.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LeakedPasswordsPasswordHashPrefix.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -498,10 +498,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
498
498
|
type RequestData = InferredRequestData<typeof descriptors.contributorGetLoginLink>;
|
|
499
499
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorGetLoginLink, TStatus>;
|
|
500
500
|
}
|
|
501
|
-
namespace ContributorGetOauthClient {
|
|
502
|
-
type RequestData = InferredRequestData<typeof descriptors.contributorGetOauthClient>;
|
|
503
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorGetOauthClient, TStatus>;
|
|
504
|
-
}
|
|
505
501
|
namespace ContributorListContractPartnersOfContributor {
|
|
506
502
|
type RequestData = InferredRequestData<typeof descriptors.contributorListContractPartnersOfContributor>;
|
|
507
503
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorListContractPartnersOfContributor, TStatus>;
|
|
@@ -1938,6 +1934,14 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1938
1934
|
type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
|
|
1939
1935
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
|
|
1940
1936
|
}
|
|
1937
|
+
namespace ContributorGetOauthClient {
|
|
1938
|
+
type RequestData = InferredRequestData<typeof descriptors.contributorGetOauthClient>;
|
|
1939
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorGetOauthClient, TStatus>;
|
|
1940
|
+
}
|
|
1941
|
+
namespace UserSearchedLeakedPasswordsByRange {
|
|
1942
|
+
type RequestData = InferredRequestData<typeof descriptors.userSearchedLeakedPasswordsByRange>;
|
|
1943
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userSearchedLeakedPasswordsByRange, TStatus>;
|
|
1944
|
+
}
|
|
1941
1945
|
}
|
|
1942
1946
|
namespace Components {
|
|
1943
1947
|
namespace Schemas {
|
|
@@ -7526,6 +7530,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
7526
7530
|
reasons: {
|
|
7527
7531
|
domainAgeTooSmall: boolean;
|
|
7528
7532
|
domainDoesNotExist: boolean;
|
|
7533
|
+
/**
|
|
7534
|
+
* An enabled ingress for this domain already exists in a project other than the given projectId. Delete that ingress or transfer the domain into that project.
|
|
7535
|
+
*/
|
|
7536
|
+
enabledIngressInOtherProject: boolean;
|
|
7529
7537
|
inRedemptionPeriod: boolean;
|
|
7530
7538
|
transferLock: boolean;
|
|
7531
7539
|
wrongAuthCode: boolean;
|
|
@@ -14353,46 +14361,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
14353
14361
|
}
|
|
14354
14362
|
}
|
|
14355
14363
|
}
|
|
14356
|
-
namespace V2Oauth2ClientsOauthClientId {
|
|
14357
|
-
namespace Get {
|
|
14358
|
-
namespace Parameters {
|
|
14359
|
-
type Path = {
|
|
14360
|
-
oauthClientId: string;
|
|
14361
|
-
};
|
|
14362
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
14363
|
-
type Query = {};
|
|
14364
|
-
}
|
|
14365
|
-
namespace Responses {
|
|
14366
|
-
namespace $200 {
|
|
14367
|
-
namespace Content {
|
|
14368
|
-
interface ApplicationJson {
|
|
14369
|
-
allowedGrantTypes?: string[];
|
|
14370
|
-
allowedRedirectUris?: string[];
|
|
14371
|
-
allowedScopes?: string[];
|
|
14372
|
-
description?: string;
|
|
14373
|
-
humanReadableName: string;
|
|
14374
|
-
id: string;
|
|
14375
|
-
type?: "public" | "confidential";
|
|
14376
|
-
}
|
|
14377
|
-
}
|
|
14378
|
-
}
|
|
14379
|
-
namespace $429 {
|
|
14380
|
-
namespace Content {
|
|
14381
|
-
interface ApplicationJson {
|
|
14382
|
-
[k: string]: unknown;
|
|
14383
|
-
}
|
|
14384
|
-
}
|
|
14385
|
-
}
|
|
14386
|
-
namespace Default {
|
|
14387
|
-
namespace Content {
|
|
14388
|
-
interface ApplicationJson {
|
|
14389
|
-
[k: string]: unknown;
|
|
14390
|
-
}
|
|
14391
|
-
}
|
|
14392
|
-
}
|
|
14393
|
-
}
|
|
14394
|
-
}
|
|
14395
|
-
}
|
|
14396
14364
|
namespace V2ContributorsContributorIdContractPartners {
|
|
14397
14365
|
namespace Get {
|
|
14398
14366
|
namespace Parameters {
|
|
@@ -19532,6 +19500,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
19532
19500
|
interface RequestBody {
|
|
19533
19501
|
authCode?: string;
|
|
19534
19502
|
domain: string;
|
|
19503
|
+
/**
|
|
19504
|
+
* Target project of the transfer. If given, the domain is reported as not transferable (reason enabledIngressInOtherProject) when an enabled ingress for it already exists in another project.
|
|
19505
|
+
*/
|
|
19506
|
+
projectId?: string;
|
|
19535
19507
|
}
|
|
19536
19508
|
type Header = {};
|
|
19537
19509
|
type Query = {};
|
|
@@ -32644,5 +32616,84 @@ export declare namespace MittwaldAPIV2 {
|
|
|
32644
32616
|
}
|
|
32645
32617
|
}
|
|
32646
32618
|
}
|
|
32619
|
+
namespace V2Oauth2ClientsOauthClientId {
|
|
32620
|
+
namespace Get {
|
|
32621
|
+
namespace Parameters {
|
|
32622
|
+
type Path = {
|
|
32623
|
+
oauthClientId: string;
|
|
32624
|
+
};
|
|
32625
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
32626
|
+
type Query = {};
|
|
32627
|
+
}
|
|
32628
|
+
namespace Responses {
|
|
32629
|
+
namespace $200 {
|
|
32630
|
+
namespace Content {
|
|
32631
|
+
interface ApplicationJson {
|
|
32632
|
+
allowedGrantTypes?: string[];
|
|
32633
|
+
allowedRedirectUris?: string[];
|
|
32634
|
+
allowedScopes?: string[];
|
|
32635
|
+
description?: string;
|
|
32636
|
+
humanReadableName: string;
|
|
32637
|
+
id: string;
|
|
32638
|
+
type?: "public" | "confidential";
|
|
32639
|
+
}
|
|
32640
|
+
}
|
|
32641
|
+
}
|
|
32642
|
+
namespace $429 {
|
|
32643
|
+
namespace Content {
|
|
32644
|
+
interface ApplicationJson {
|
|
32645
|
+
[k: string]: unknown;
|
|
32646
|
+
}
|
|
32647
|
+
}
|
|
32648
|
+
}
|
|
32649
|
+
namespace Default {
|
|
32650
|
+
namespace Content {
|
|
32651
|
+
interface ApplicationJson {
|
|
32652
|
+
[k: string]: unknown;
|
|
32653
|
+
}
|
|
32654
|
+
}
|
|
32655
|
+
}
|
|
32656
|
+
}
|
|
32657
|
+
}
|
|
32658
|
+
}
|
|
32659
|
+
namespace V2LeakedPasswordsPasswordHashPrefix {
|
|
32660
|
+
namespace Get {
|
|
32661
|
+
namespace Parameters {
|
|
32662
|
+
type Path = {
|
|
32663
|
+
passwordHashPrefix: string;
|
|
32664
|
+
};
|
|
32665
|
+
type Header = {};
|
|
32666
|
+
type Query = {};
|
|
32667
|
+
}
|
|
32668
|
+
namespace Responses {
|
|
32669
|
+
namespace $200 {
|
|
32670
|
+
namespace Content {
|
|
32671
|
+
type ApplicationJson = string[];
|
|
32672
|
+
}
|
|
32673
|
+
}
|
|
32674
|
+
namespace $400 {
|
|
32675
|
+
namespace Content {
|
|
32676
|
+
interface ApplicationJson {
|
|
32677
|
+
[k: string]: unknown;
|
|
32678
|
+
}
|
|
32679
|
+
}
|
|
32680
|
+
}
|
|
32681
|
+
namespace $429 {
|
|
32682
|
+
namespace Content {
|
|
32683
|
+
interface ApplicationJson {
|
|
32684
|
+
[k: string]: unknown;
|
|
32685
|
+
}
|
|
32686
|
+
}
|
|
32687
|
+
}
|
|
32688
|
+
namespace Default {
|
|
32689
|
+
namespace Content {
|
|
32690
|
+
interface ApplicationJson {
|
|
32691
|
+
[k: string]: unknown;
|
|
32692
|
+
}
|
|
32693
|
+
}
|
|
32694
|
+
}
|
|
32695
|
+
}
|
|
32696
|
+
}
|
|
32697
|
+
}
|
|
32647
32698
|
}
|
|
32648
32699
|
}
|
|
@@ -3519,6 +3519,13 @@ declare const buildUserApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
3519
3519
|
expiresAt: string;
|
|
3520
3520
|
supportCode: string;
|
|
3521
3521
|
}>;
|
|
3522
|
+
/** Check if a password is leaked. */
|
|
3523
|
+
searchedLeakedPasswordsByRange: (conf: {
|
|
3524
|
+
passwordHashPrefix: string;
|
|
3525
|
+
headers?: {
|
|
3526
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
3527
|
+
} | undefined;
|
|
3528
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
|
|
3522
3529
|
};
|
|
3523
3530
|
declare const buildProjectApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
3524
3531
|
/** List Invites belonging to a Project. */
|
|
@@ -19258,6 +19258,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
19258
19258
|
data: {
|
|
19259
19259
|
domain: string;
|
|
19260
19260
|
authCode?: string | undefined;
|
|
19261
|
+
projectId?: string | undefined;
|
|
19261
19262
|
};
|
|
19262
19263
|
headers?: {
|
|
19263
19264
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
@@ -19266,6 +19267,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
19266
19267
|
data: {
|
|
19267
19268
|
authCode?: string | undefined;
|
|
19268
19269
|
domain: string;
|
|
19270
|
+
projectId?: string | undefined;
|
|
19269
19271
|
};
|
|
19270
19272
|
} & {
|
|
19271
19273
|
headers?: Partial<{
|
|
@@ -19283,6 +19285,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
19283
19285
|
data: {
|
|
19284
19286
|
authCode?: string | undefined;
|
|
19285
19287
|
domain: string;
|
|
19288
|
+
projectId?: string | undefined;
|
|
19286
19289
|
};
|
|
19287
19290
|
} & {
|
|
19288
19291
|
headers?: Partial<{
|
|
@@ -26511,6 +26514,37 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
26511
26514
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26512
26515
|
[x: string]: unknown;
|
|
26513
26516
|
}, 429, "application/json">>>;
|
|
26517
|
+
/** Check if a password is leaked. */
|
|
26518
|
+
searchedLeakedPasswordsByRange: (request: {
|
|
26519
|
+
passwordHashPrefix: string;
|
|
26520
|
+
headers?: {
|
|
26521
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
26522
|
+
} | undefined;
|
|
26523
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
26524
|
+
headers?: Partial<{
|
|
26525
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
26526
|
+
}>;
|
|
26527
|
+
} & {
|
|
26528
|
+
pathParameters: {
|
|
26529
|
+
passwordHashPrefix: string;
|
|
26530
|
+
};
|
|
26531
|
+
}, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26532
|
+
[x: string]: unknown;
|
|
26533
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26534
|
+
[x: string]: unknown;
|
|
26535
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
26536
|
+
headers?: Partial<{
|
|
26537
|
+
[TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
|
|
26538
|
+
}>;
|
|
26539
|
+
} & {
|
|
26540
|
+
pathParameters: {
|
|
26541
|
+
passwordHashPrefix: string;
|
|
26542
|
+
};
|
|
26543
|
+
}, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26544
|
+
[x: string]: unknown;
|
|
26545
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26546
|
+
[x: string]: unknown;
|
|
26547
|
+
}, 429, "application/json">>>;
|
|
26514
26548
|
};
|
|
26515
26549
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
26516
26550
|
readonly file: {
|
|
@@ -971,3 +971,5 @@ export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Sim
|
|
|
971
971
|
export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
972
972
|
/** Get a specific OAuth2 client. */
|
|
973
973
|
export declare const contributorGetOauthClient: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2ClientsOauthClientId.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2ClientsOauthClientId.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2ClientsOauthClientId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2ClientsOauthClientId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2ClientsOauthClientId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextOauth2ClientsOauthClientId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
974
|
+
/** Check if a password is leaked. */
|
|
975
|
+
export declare const userSearchedLeakedPasswordsByRange: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextLeakedPasswordsPasswordHashPrefix.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextLeakedPasswordsPasswordHashPrefix.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextLeakedPasswordsPasswordHashPrefix.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextLeakedPasswordsPasswordHashPrefix.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextLeakedPasswordsPasswordHashPrefix.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextLeakedPasswordsPasswordHashPrefix.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextLeakedPasswordsPasswordHashPrefix.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -1938,6 +1938,10 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
1938
1938
|
type RequestData = InferredRequestData<typeof descriptors.contributorGetOauthClient>;
|
|
1939
1939
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorGetOauthClient, TStatus>;
|
|
1940
1940
|
}
|
|
1941
|
+
namespace UserSearchedLeakedPasswordsByRange {
|
|
1942
|
+
type RequestData = InferredRequestData<typeof descriptors.userSearchedLeakedPasswordsByRange>;
|
|
1943
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userSearchedLeakedPasswordsByRange, TStatus>;
|
|
1944
|
+
}
|
|
1941
1945
|
}
|
|
1942
1946
|
namespace Components {
|
|
1943
1947
|
namespace Schemas {
|
|
@@ -7530,6 +7534,10 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
7530
7534
|
reasons: {
|
|
7531
7535
|
domainAgeTooSmall: boolean;
|
|
7532
7536
|
domainDoesNotExist: boolean;
|
|
7537
|
+
/**
|
|
7538
|
+
* An enabled ingress for this domain already exists in a project other than the given projectId. Delete that ingress or transfer the domain into that project.
|
|
7539
|
+
*/
|
|
7540
|
+
enabledIngressInOtherProject: boolean;
|
|
7533
7541
|
inRedemptionPeriod: boolean;
|
|
7534
7542
|
transferLock: boolean;
|
|
7535
7543
|
wrongAuthCode: boolean;
|
|
@@ -19469,6 +19477,10 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
19469
19477
|
interface RequestBody {
|
|
19470
19478
|
authCode?: string;
|
|
19471
19479
|
domain: string;
|
|
19480
|
+
/**
|
|
19481
|
+
* Target project of the transfer. If given, the domain is reported as not transferable (reason enabledIngressInOtherProject) when an enabled ingress for it already exists in another project.
|
|
19482
|
+
*/
|
|
19483
|
+
projectId?: string;
|
|
19472
19484
|
}
|
|
19473
19485
|
type Header = {};
|
|
19474
19486
|
type Query = {};
|
|
@@ -32568,5 +32580,44 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
32568
32580
|
}
|
|
32569
32581
|
}
|
|
32570
32582
|
}
|
|
32583
|
+
namespace V3NextLeakedPasswordsPasswordHashPrefix {
|
|
32584
|
+
namespace Get {
|
|
32585
|
+
namespace Parameters {
|
|
32586
|
+
type Path = {
|
|
32587
|
+
passwordHashPrefix: string;
|
|
32588
|
+
};
|
|
32589
|
+
type Header = {};
|
|
32590
|
+
type Query = {};
|
|
32591
|
+
}
|
|
32592
|
+
namespace Responses {
|
|
32593
|
+
namespace $200 {
|
|
32594
|
+
namespace Content {
|
|
32595
|
+
type ApplicationJson = string[];
|
|
32596
|
+
}
|
|
32597
|
+
}
|
|
32598
|
+
namespace $400 {
|
|
32599
|
+
namespace Content {
|
|
32600
|
+
interface ApplicationJson {
|
|
32601
|
+
[k: string]: unknown;
|
|
32602
|
+
}
|
|
32603
|
+
}
|
|
32604
|
+
}
|
|
32605
|
+
namespace $429 {
|
|
32606
|
+
namespace Content {
|
|
32607
|
+
interface ApplicationJson {
|
|
32608
|
+
[k: string]: unknown;
|
|
32609
|
+
}
|
|
32610
|
+
}
|
|
32611
|
+
}
|
|
32612
|
+
namespace Default {
|
|
32613
|
+
namespace Content {
|
|
32614
|
+
interface ApplicationJson {
|
|
32615
|
+
[k: string]: unknown;
|
|
32616
|
+
}
|
|
32617
|
+
}
|
|
32618
|
+
}
|
|
32619
|
+
}
|
|
32620
|
+
}
|
|
32621
|
+
}
|
|
32571
32622
|
}
|
|
32572
32623
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.470.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.471.0",
|
|
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",
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"test:compile": "run tsc --noEmit"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@mittwald/api-client-commons": "^4.
|
|
75
|
+
"@mittwald/api-client-commons": "^4.471.0",
|
|
76
76
|
"browser-or-node": "^3.0.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@mittwald/api-code-generator": "^4.
|
|
79
|
+
"@mittwald/api-code-generator": "^4.471.0",
|
|
80
80
|
"@mittwald/react-use-promise": "^4.2.3",
|
|
81
81
|
"@types/node": "^22.18.11",
|
|
82
82
|
"@types/react": "^18.3.26",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"optional": true
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "57cb60954cc13c741690146291cda1c6fefbc194"
|
|
110
110
|
}
|