@mittwald/api-client 4.124.0 → 4.126.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 +2 -0
- package/dist/esm/generated/v2/client.js +6 -0
- package/dist/esm/generated/v2/descriptors.js +18 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +13 -0
- package/dist/types/generated/v2/client.d.ts +155 -0
- package/dist/types/generated/v2/descriptors.d.ts +7 -1
- package/dist/types/generated/v2/types.d.ts +192 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -136,6 +136,8 @@ const buildCustomerApi = (baseClient) => ({
|
|
|
136
136
|
listCustomerMemberships: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerMemberships, baseClient.customer.listCustomerMemberships).getApiResource,
|
|
137
137
|
/** List Memberships belonging to a Customer. */
|
|
138
138
|
listMembershipsForCustomer: new ApiCallAsyncResourceFactory(descriptors.customerListMembershipsForCustomer, baseClient.customer.listMembershipsForCustomer).getApiResource,
|
|
139
|
+
/** Gets the status of a agency verification request.. */
|
|
140
|
+
getOpenAgencyVerification: new ApiCallAsyncResourceFactory(descriptors.customerGetOpenAgencyVerification, baseClient.customer.getOpenAgencyVerification).getApiResource,
|
|
139
141
|
});
|
|
140
142
|
const buildDatabaseApi = (baseClient) => ({
|
|
141
143
|
/** List MySQLDatabases belonging to a Project. */
|
|
@@ -315,6 +315,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
315
315
|
removeAvatar: this.requestFunctionFactory(descriptors.customerRemoveAvatar),
|
|
316
316
|
/** Resend the mail for a CustomerInvite. */
|
|
317
317
|
resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
|
|
318
|
+
/** Gets the status of a agency verification request.. */
|
|
319
|
+
getOpenAgencyVerification: this.requestFunctionFactory(descriptors.customerGetOpenAgencyVerification),
|
|
320
|
+
/** Creates a new agency verification request. Only one active verification can be active at the same time. */
|
|
321
|
+
createAgencyVerification: this.requestFunctionFactory(descriptors.customerCreateAgencyVerification),
|
|
322
|
+
/** Abort an open agency verification process */
|
|
323
|
+
abortAgencyVerification: this.requestFunctionFactory(descriptors.customerAbortAgencyVerification),
|
|
318
324
|
};
|
|
319
325
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
320
326
|
database = {
|
|
@@ -2092,3 +2092,21 @@ export const verificationVerifyCompany = {
|
|
|
2092
2092
|
method: "POST",
|
|
2093
2093
|
operationId: "verification-verify-company",
|
|
2094
2094
|
};
|
|
2095
|
+
/** Gets the status of a agency verification request.. */
|
|
2096
|
+
export const customerGetOpenAgencyVerification = {
|
|
2097
|
+
path: "/v2/customers/{customerId}/agency-verification",
|
|
2098
|
+
method: "GET",
|
|
2099
|
+
operationId: "customer-get-open-agency-verification",
|
|
2100
|
+
};
|
|
2101
|
+
/** Creates a new agency verification request. Only one active verification can be active at the same time. */
|
|
2102
|
+
export const customerCreateAgencyVerification = {
|
|
2103
|
+
path: "/v2/customers/{customerId}/agency-verification",
|
|
2104
|
+
method: "POST",
|
|
2105
|
+
operationId: "customer-create-agency-verification",
|
|
2106
|
+
};
|
|
2107
|
+
/** Abort an open agency verification process */
|
|
2108
|
+
export const customerAbortAgencyVerification = {
|
|
2109
|
+
path: "/v2/customers/{customerId}/agency-verification",
|
|
2110
|
+
method: "DELETE",
|
|
2111
|
+
operationId: "customer-abort-agency-verification",
|
|
2112
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.125.0';
|
|
@@ -1006,6 +1006,19 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1006
1006
|
skip?: number | undefined;
|
|
1007
1007
|
} | undefined;
|
|
1008
1008
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
|
|
1009
|
+
/** Gets the status of a agency verification request.. */
|
|
1010
|
+
getOpenAgencyVerification: (conf: {
|
|
1011
|
+
customerId: string;
|
|
1012
|
+
headers?: {
|
|
1013
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1014
|
+
} | undefined;
|
|
1015
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1016
|
+
customerId: string;
|
|
1017
|
+
domain: string;
|
|
1018
|
+
email: string;
|
|
1019
|
+
requestedOn: string;
|
|
1020
|
+
verificationId: string;
|
|
1021
|
+
}>;
|
|
1009
1022
|
};
|
|
1010
1023
|
declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1011
1024
|
/** List MySQLDatabases belonging to a Project. */
|
|
@@ -9421,6 +9421,157 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
9421
9421
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9422
9422
|
[x: string]: unknown;
|
|
9423
9423
|
}, 429, "application/json">>>;
|
|
9424
|
+
/** Gets the status of a agency verification request.. */
|
|
9425
|
+
getOpenAgencyVerification: (request: {
|
|
9426
|
+
customerId: string;
|
|
9427
|
+
headers?: {
|
|
9428
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
9429
|
+
} | undefined;
|
|
9430
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9431
|
+
headers?: Partial<{
|
|
9432
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9433
|
+
}>;
|
|
9434
|
+
} & {
|
|
9435
|
+
pathParameters: {
|
|
9436
|
+
customerId: string;
|
|
9437
|
+
};
|
|
9438
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
9439
|
+
customerId: string;
|
|
9440
|
+
domain: string;
|
|
9441
|
+
email: string;
|
|
9442
|
+
requestedOn: string;
|
|
9443
|
+
verificationId: string;
|
|
9444
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9445
|
+
[x: string]: unknown;
|
|
9446
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9447
|
+
[x: string]: unknown;
|
|
9448
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9449
|
+
[x: string]: unknown;
|
|
9450
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9451
|
+
[x: string]: unknown;
|
|
9452
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9453
|
+
headers?: Partial<{
|
|
9454
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9455
|
+
}>;
|
|
9456
|
+
} & {
|
|
9457
|
+
pathParameters: {
|
|
9458
|
+
customerId: string;
|
|
9459
|
+
};
|
|
9460
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
9461
|
+
customerId: string;
|
|
9462
|
+
domain: string;
|
|
9463
|
+
email: string;
|
|
9464
|
+
requestedOn: string;
|
|
9465
|
+
verificationId: string;
|
|
9466
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9467
|
+
[x: string]: unknown;
|
|
9468
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9469
|
+
[x: string]: unknown;
|
|
9470
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9471
|
+
[x: string]: unknown;
|
|
9472
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9473
|
+
[x: string]: unknown;
|
|
9474
|
+
}, 429, "application/json">>>;
|
|
9475
|
+
/** Creates a new agency verification request. Only one active verification can be active at the same time. */
|
|
9476
|
+
createAgencyVerification: (request: {
|
|
9477
|
+
customerId: string;
|
|
9478
|
+
data?: {
|
|
9479
|
+
domain?: string | undefined;
|
|
9480
|
+
email?: string | undefined;
|
|
9481
|
+
} | undefined;
|
|
9482
|
+
headers?: {
|
|
9483
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
9484
|
+
} | undefined;
|
|
9485
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9486
|
+
data: {
|
|
9487
|
+
domain?: string | undefined;
|
|
9488
|
+
email?: string | undefined;
|
|
9489
|
+
};
|
|
9490
|
+
} & {
|
|
9491
|
+
pathParameters: {
|
|
9492
|
+
customerId: string;
|
|
9493
|
+
};
|
|
9494
|
+
} & {
|
|
9495
|
+
headers?: Partial<{
|
|
9496
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9497
|
+
}>;
|
|
9498
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
9499
|
+
verificationId: string;
|
|
9500
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9501
|
+
[x: string]: unknown;
|
|
9502
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9503
|
+
[x: string]: unknown;
|
|
9504
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9505
|
+
[x: string]: unknown;
|
|
9506
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9507
|
+
[x: string]: unknown;
|
|
9508
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9509
|
+
data: {
|
|
9510
|
+
domain?: string | undefined;
|
|
9511
|
+
email?: string | undefined;
|
|
9512
|
+
};
|
|
9513
|
+
} & {
|
|
9514
|
+
pathParameters: {
|
|
9515
|
+
customerId: string;
|
|
9516
|
+
};
|
|
9517
|
+
} & {
|
|
9518
|
+
headers?: Partial<{
|
|
9519
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9520
|
+
}>;
|
|
9521
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
9522
|
+
verificationId: string;
|
|
9523
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9524
|
+
[x: string]: unknown;
|
|
9525
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9526
|
+
[x: string]: unknown;
|
|
9527
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9528
|
+
[x: string]: unknown;
|
|
9529
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9530
|
+
[x: string]: unknown;
|
|
9531
|
+
}, 429, "application/json">>>;
|
|
9532
|
+
/** Abort an open agency verification process */
|
|
9533
|
+
abortAgencyVerification: (request: {
|
|
9534
|
+
customerId: string;
|
|
9535
|
+
headers?: {
|
|
9536
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
9537
|
+
} | undefined;
|
|
9538
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9539
|
+
headers?: Partial<{
|
|
9540
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9541
|
+
}>;
|
|
9542
|
+
} & {
|
|
9543
|
+
pathParameters: {
|
|
9544
|
+
customerId: string;
|
|
9545
|
+
};
|
|
9546
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
9547
|
+
verificationId?: string | undefined;
|
|
9548
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9549
|
+
[x: string]: unknown;
|
|
9550
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9551
|
+
[x: string]: unknown;
|
|
9552
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9553
|
+
[x: string]: unknown;
|
|
9554
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9555
|
+
[x: string]: unknown;
|
|
9556
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
9557
|
+
headers?: Partial<{
|
|
9558
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
9559
|
+
}>;
|
|
9560
|
+
} & {
|
|
9561
|
+
pathParameters: {
|
|
9562
|
+
customerId: string;
|
|
9563
|
+
};
|
|
9564
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
9565
|
+
verificationId?: string | undefined;
|
|
9566
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9567
|
+
[x: string]: unknown;
|
|
9568
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9569
|
+
[x: string]: unknown;
|
|
9570
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9571
|
+
[x: string]: unknown;
|
|
9572
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
9573
|
+
[x: string]: unknown;
|
|
9574
|
+
}, 429, "application/json">>>;
|
|
9424
9575
|
};
|
|
9425
9576
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
9426
9577
|
readonly database: {
|
|
@@ -12764,6 +12915,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
12764
12915
|
[x: string]: unknown;
|
|
12765
12916
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
12766
12917
|
[x: string]: unknown;
|
|
12918
|
+
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
12919
|
+
[x: string]: unknown;
|
|
12767
12920
|
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
12768
12921
|
headers?: Partial<{
|
|
12769
12922
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
@@ -12784,6 +12937,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
12784
12937
|
[x: string]: unknown;
|
|
12785
12938
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
12786
12939
|
[x: string]: unknown;
|
|
12940
|
+
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
12941
|
+
[x: string]: unknown;
|
|
12787
12942
|
}, 429, "application/json">>>;
|
|
12788
12943
|
/** Check the replacement of a Certificate. */
|
|
12789
12944
|
sslCheckReplaceCertificate: (request: {
|
|
@@ -400,7 +400,7 @@ export declare const ingressIngressVerifyOwnership: OpenAPIOperation<RequestType
|
|
|
400
400
|
/** List Ingresses compatible with a certificate. */
|
|
401
401
|
export declare const ingressListIngressesCompatibleWithCertificate: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsListIngressesCompatibleWithCertificate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsListIngressesCompatibleWithCertificate.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsListIngressesCompatibleWithCertificate.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsListIngressesCompatibleWithCertificate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsListIngressesCompatibleWithCertificate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsListIngressesCompatibleWithCertificate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsListIngressesCompatibleWithCertificate.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsListIngressesCompatibleWithCertificate.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsListIngressesCompatibleWithCertificate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
402
402
|
/** Request the ACME certificate issuance of an Ingress. */
|
|
403
|
-
export declare const ingressRequestIngressAcmeCertificateIssuance: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
403
|
+
export declare const ingressRequestIngressAcmeCertificateIssuance: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2IngressesIngressIdActionsRequestAcmeCertificateIssuance.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
404
404
|
/** Get details of an Invoice. */
|
|
405
405
|
export declare const invoiceDetail: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2InvoicesInvoiceId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2InvoicesInvoiceId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2InvoicesInvoiceId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2InvoicesInvoiceId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2InvoicesInvoiceId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2InvoicesInvoiceId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2InvoicesInvoiceId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2InvoicesInvoiceId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
406
406
|
/** Get InvoiceSettings of a Customer. */
|
|
@@ -701,3 +701,9 @@ export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simpli
|
|
|
701
701
|
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.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
702
702
|
/** Check if a company exists. */
|
|
703
703
|
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.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
704
|
+
/** Gets the status of a agency verification request.. */
|
|
705
|
+
export declare const customerGetOpenAgencyVerification: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
706
|
+
/** Creates a new agency verification request. Only one active verification can be active at the same time. */
|
|
707
|
+
export declare const customerCreateAgencyVerification: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
708
|
+
/** Abort an open agency verification process */
|
|
709
|
+
export declare const customerAbortAgencyVerification: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Delete.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Delete.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAgencyVerification.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -1398,6 +1398,18 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1398
1398
|
type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
|
|
1399
1399
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
|
|
1400
1400
|
}
|
|
1401
|
+
namespace CustomerGetOpenAgencyVerification {
|
|
1402
|
+
type RequestData = InferredRequestData<typeof descriptors.customerGetOpenAgencyVerification>;
|
|
1403
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerGetOpenAgencyVerification, TStatus>;
|
|
1404
|
+
}
|
|
1405
|
+
namespace CustomerCreateAgencyVerification {
|
|
1406
|
+
type RequestData = InferredRequestData<typeof descriptors.customerCreateAgencyVerification>;
|
|
1407
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerCreateAgencyVerification, TStatus>;
|
|
1408
|
+
}
|
|
1409
|
+
namespace CustomerAbortAgencyVerification {
|
|
1410
|
+
type RequestData = InferredRequestData<typeof descriptors.customerAbortAgencyVerification>;
|
|
1411
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.customerAbortAgencyVerification, TStatus>;
|
|
1412
|
+
}
|
|
1401
1413
|
}
|
|
1402
1414
|
namespace Components {
|
|
1403
1415
|
namespace Schemas {
|
|
@@ -4217,6 +4229,13 @@ export declare namespace MittwaldAPIV2 {
|
|
|
4217
4229
|
name: string;
|
|
4218
4230
|
value: string;
|
|
4219
4231
|
}
|
|
4232
|
+
interface AgencyprofileVerificationRequest {
|
|
4233
|
+
customerId: string;
|
|
4234
|
+
domain: string;
|
|
4235
|
+
email: string;
|
|
4236
|
+
requestedOn: string;
|
|
4237
|
+
verificationId: string;
|
|
4238
|
+
}
|
|
4220
4239
|
interface CommonsAddress {
|
|
4221
4240
|
street: string;
|
|
4222
4241
|
houseNumber: string;
|
|
@@ -14029,6 +14048,13 @@ export declare namespace MittwaldAPIV2 {
|
|
|
14029
14048
|
}
|
|
14030
14049
|
}
|
|
14031
14050
|
}
|
|
14051
|
+
namespace $412 {
|
|
14052
|
+
namespace Content {
|
|
14053
|
+
interface ApplicationJson {
|
|
14054
|
+
[k: string]: unknown;
|
|
14055
|
+
}
|
|
14056
|
+
}
|
|
14057
|
+
}
|
|
14032
14058
|
namespace $429 {
|
|
14033
14059
|
namespace Content {
|
|
14034
14060
|
interface ApplicationJson {
|
|
@@ -21380,5 +21406,171 @@ export declare namespace MittwaldAPIV2 {
|
|
|
21380
21406
|
}
|
|
21381
21407
|
}
|
|
21382
21408
|
}
|
|
21409
|
+
namespace V2CustomersCustomerIdAgencyVerification {
|
|
21410
|
+
namespace Get {
|
|
21411
|
+
namespace Parameters {
|
|
21412
|
+
type Path = {
|
|
21413
|
+
customerId: string;
|
|
21414
|
+
};
|
|
21415
|
+
type Header = {};
|
|
21416
|
+
type Query = {};
|
|
21417
|
+
}
|
|
21418
|
+
namespace Responses {
|
|
21419
|
+
namespace $200 {
|
|
21420
|
+
namespace Content {
|
|
21421
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.AgencyprofileVerificationRequest;
|
|
21422
|
+
}
|
|
21423
|
+
}
|
|
21424
|
+
namespace $400 {
|
|
21425
|
+
namespace Content {
|
|
21426
|
+
interface ApplicationJson {
|
|
21427
|
+
[k: string]: unknown;
|
|
21428
|
+
}
|
|
21429
|
+
}
|
|
21430
|
+
}
|
|
21431
|
+
namespace $403 {
|
|
21432
|
+
namespace Content {
|
|
21433
|
+
interface ApplicationJson {
|
|
21434
|
+
[k: string]: unknown;
|
|
21435
|
+
}
|
|
21436
|
+
}
|
|
21437
|
+
}
|
|
21438
|
+
namespace $404 {
|
|
21439
|
+
namespace Content {
|
|
21440
|
+
interface ApplicationJson {
|
|
21441
|
+
[k: string]: unknown;
|
|
21442
|
+
}
|
|
21443
|
+
}
|
|
21444
|
+
}
|
|
21445
|
+
namespace $429 {
|
|
21446
|
+
namespace Content {
|
|
21447
|
+
interface ApplicationJson {
|
|
21448
|
+
[k: string]: unknown;
|
|
21449
|
+
}
|
|
21450
|
+
}
|
|
21451
|
+
}
|
|
21452
|
+
namespace Default {
|
|
21453
|
+
namespace Content {
|
|
21454
|
+
interface ApplicationJson {
|
|
21455
|
+
[k: string]: unknown;
|
|
21456
|
+
}
|
|
21457
|
+
}
|
|
21458
|
+
}
|
|
21459
|
+
}
|
|
21460
|
+
}
|
|
21461
|
+
namespace Post {
|
|
21462
|
+
namespace Parameters {
|
|
21463
|
+
type Path = {
|
|
21464
|
+
customerId: string;
|
|
21465
|
+
};
|
|
21466
|
+
interface RequestBody {
|
|
21467
|
+
domain?: string;
|
|
21468
|
+
email?: string;
|
|
21469
|
+
}
|
|
21470
|
+
type Header = {};
|
|
21471
|
+
type Query = {};
|
|
21472
|
+
}
|
|
21473
|
+
namespace Responses {
|
|
21474
|
+
namespace $201 {
|
|
21475
|
+
namespace Content {
|
|
21476
|
+
interface ApplicationJson {
|
|
21477
|
+
verificationId: string;
|
|
21478
|
+
}
|
|
21479
|
+
}
|
|
21480
|
+
}
|
|
21481
|
+
namespace $400 {
|
|
21482
|
+
namespace Content {
|
|
21483
|
+
interface ApplicationJson {
|
|
21484
|
+
[k: string]: unknown;
|
|
21485
|
+
}
|
|
21486
|
+
}
|
|
21487
|
+
}
|
|
21488
|
+
namespace $403 {
|
|
21489
|
+
namespace Content {
|
|
21490
|
+
interface ApplicationJson {
|
|
21491
|
+
[k: string]: unknown;
|
|
21492
|
+
}
|
|
21493
|
+
}
|
|
21494
|
+
}
|
|
21495
|
+
namespace $404 {
|
|
21496
|
+
namespace Content {
|
|
21497
|
+
interface ApplicationJson {
|
|
21498
|
+
[k: string]: unknown;
|
|
21499
|
+
}
|
|
21500
|
+
}
|
|
21501
|
+
}
|
|
21502
|
+
namespace $429 {
|
|
21503
|
+
namespace Content {
|
|
21504
|
+
interface ApplicationJson {
|
|
21505
|
+
[k: string]: unknown;
|
|
21506
|
+
}
|
|
21507
|
+
}
|
|
21508
|
+
}
|
|
21509
|
+
namespace Default {
|
|
21510
|
+
namespace Content {
|
|
21511
|
+
interface ApplicationJson {
|
|
21512
|
+
[k: string]: unknown;
|
|
21513
|
+
}
|
|
21514
|
+
}
|
|
21515
|
+
}
|
|
21516
|
+
}
|
|
21517
|
+
}
|
|
21518
|
+
namespace Delete {
|
|
21519
|
+
namespace Parameters {
|
|
21520
|
+
type Path = {
|
|
21521
|
+
customerId: string;
|
|
21522
|
+
};
|
|
21523
|
+
type Header = {};
|
|
21524
|
+
type Query = {};
|
|
21525
|
+
}
|
|
21526
|
+
namespace Responses {
|
|
21527
|
+
namespace $200 {
|
|
21528
|
+
namespace Content {
|
|
21529
|
+
interface ApplicationJson {
|
|
21530
|
+
/**
|
|
21531
|
+
* The ID of the verification
|
|
21532
|
+
*/
|
|
21533
|
+
verificationId?: string;
|
|
21534
|
+
}
|
|
21535
|
+
}
|
|
21536
|
+
}
|
|
21537
|
+
namespace $400 {
|
|
21538
|
+
namespace Content {
|
|
21539
|
+
interface ApplicationJson {
|
|
21540
|
+
[k: string]: unknown;
|
|
21541
|
+
}
|
|
21542
|
+
}
|
|
21543
|
+
}
|
|
21544
|
+
namespace $403 {
|
|
21545
|
+
namespace Content {
|
|
21546
|
+
interface ApplicationJson {
|
|
21547
|
+
[k: string]: unknown;
|
|
21548
|
+
}
|
|
21549
|
+
}
|
|
21550
|
+
}
|
|
21551
|
+
namespace $404 {
|
|
21552
|
+
namespace Content {
|
|
21553
|
+
interface ApplicationJson {
|
|
21554
|
+
[k: string]: unknown;
|
|
21555
|
+
}
|
|
21556
|
+
}
|
|
21557
|
+
}
|
|
21558
|
+
namespace $429 {
|
|
21559
|
+
namespace Content {
|
|
21560
|
+
interface ApplicationJson {
|
|
21561
|
+
[k: string]: unknown;
|
|
21562
|
+
}
|
|
21563
|
+
}
|
|
21564
|
+
}
|
|
21565
|
+
namespace Default {
|
|
21566
|
+
namespace Content {
|
|
21567
|
+
interface ApplicationJson {
|
|
21568
|
+
[k: string]: unknown;
|
|
21569
|
+
}
|
|
21570
|
+
}
|
|
21571
|
+
}
|
|
21572
|
+
}
|
|
21573
|
+
}
|
|
21574
|
+
}
|
|
21383
21575
|
}
|
|
21384
21576
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.125.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.126.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",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "1ac4d7458b6cf731b6adba92242c36615d2061d7"
|
|
84
84
|
}
|