@mittwald/api-client 3.1.58 → 4.2.1-alpha.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/LICENSE +21 -0
- package/dist/esm/version.js +1 -0
- package/dist/types/version.d.ts +1 -0
- package/package.json +21 -61
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -1
- package/dist/{generated → esm/generated}/v2/client-react.js +0 -0
- package/dist/{generated → esm/generated}/v2/client.js +2 -2
- package/dist/{generated → esm/generated}/v2/descriptors.js +6 -6
- package/dist/{generated → esm/generated}/v2/types.js +0 -0
- package/dist/{index.js → esm/index.js} +0 -0
- package/dist/{react.js → esm/react.js} +0 -0
- package/dist/{v2 → esm/v2}/default.js +0 -0
- package/dist/{v2 → esm/v2}/react.js +0 -0
- package/dist/{generated → types/generated}/v2/client-react.d.ts +0 -0
- package/dist/{generated → types/generated}/v2/client.d.ts +29 -29
- package/dist/{generated → types/generated}/v2/descriptors.d.ts +2 -2
- package/dist/{generated → types/generated}/v2/types.d.ts +46 -46
- /package/dist/{index.d.ts → types/index.d.ts} +0 -0
- /package/dist/{react.d.ts → types/react.d.ts} +0 -0
- /package/dist/{v2 → types/v2}/default.d.ts +0 -0
- /package/dist/{v2 → types/v2}/react.d.ts +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Mittwald CM Service GmbH & Co. KG and contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const MittwaldAPIClientVersion = '3.1.57';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '3.1.57';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.2.1-alpha.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",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"exports": {
|
|
21
21
|
".": {
|
|
22
|
-
"types": "./dist/index.d.ts",
|
|
23
|
-
"
|
|
22
|
+
"types": "./dist/types/index.d.ts",
|
|
23
|
+
"import": "./dist/esm/index.js"
|
|
24
24
|
},
|
|
25
25
|
"./react": {
|
|
26
|
-
"types": "./dist/react.d.ts",
|
|
27
|
-
"
|
|
26
|
+
"types": "./dist/types/react.d.ts",
|
|
27
|
+
"import": "./dist/esm/react.js"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
@@ -32,24 +32,25 @@
|
|
|
32
32
|
],
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "run build:clean && run tsc",
|
|
35
|
-
"build:clean": "rimraf dist",
|
|
36
|
-
"build-
|
|
37
|
-
"format": "prettier --write '**/*.{ts,tsx,yaml,yml,json,md,mdx,js}'",
|
|
38
|
-
"generate:client": "
|
|
39
|
-
"generate:client-dev": "
|
|
40
|
-
"lint": "eslint .",
|
|
41
|
-
"spec:refresh": "concurrently yarn:spec:refresh:v2 yarn:spec:refresh-dev:v2",
|
|
35
|
+
"build:clean": "run rimraf dist",
|
|
36
|
+
"build:write-version-file": "run tsx dev/writeVersion.ts",
|
|
37
|
+
"format": "run prettier --write '**/*.{ts,tsx,yaml,yml,json,md,mdx,js}'",
|
|
38
|
+
"generate:client": "run acg generate --name MittwaldAPIV2 spec/openapi.json src/generated/v2 --optionalHeader x-access-token",
|
|
39
|
+
"generate:client-dev": "run acg generate --name MittwaldAPIV2 spec/openapi-dev.json src/generated/v2 --optionalHeader x-access-token",
|
|
40
|
+
"lint": "run eslint .",
|
|
41
|
+
"spec:refresh": "run concurrently yarn:spec:refresh:v2 yarn:spec:refresh-dev:v2",
|
|
42
42
|
"spec:refresh:v2": "curl --silent https://api.mittwald.de/openapi | spec/transform-openapi.sh > spec/openapi.json",
|
|
43
43
|
"spec:refresh-dev:v2": "curl --silent https://api-public.dev.mittwald.systems/openapi | spec/transform-openapi.sh > spec/openapi-dev.json"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@mittwald/api-client-commons": "^4.2.0",
|
|
46
|
+
"@mittwald/api-client-commons": "^4.2.1-alpha.0",
|
|
47
47
|
"browser-or-node": "^3.0.0-pre.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@mittwald/api-code-generator": "1.0.0",
|
|
50
|
+
"@mittwald/api-code-generator": "^1.0.0",
|
|
51
51
|
"@mittwald/react-use-promise": "^2.3.12",
|
|
52
|
-
"@types/
|
|
52
|
+
"@types/node": "^20.11.20",
|
|
53
|
+
"@types/react": "^18.2.58",
|
|
53
54
|
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
|
54
55
|
"@typescript-eslint/parser": "^7.0.2",
|
|
55
56
|
"concurrently": "^8.2.2",
|
|
@@ -63,59 +64,18 @@
|
|
|
63
64
|
"prettier-plugin-pkgsort": "^0.2.1",
|
|
64
65
|
"prettier-plugin-sort-json": "^3.1.0",
|
|
65
66
|
"react": "^18.2.0",
|
|
67
|
+
"read-pkg": "^9.0.1",
|
|
66
68
|
"rimraf": "^5.0.5",
|
|
69
|
+
"tsx": "^4.7.1",
|
|
67
70
|
"typescript": "5.3.3"
|
|
68
71
|
},
|
|
69
72
|
"peerDependencies": {
|
|
70
|
-
"@mittwald/react-use-promise": "^
|
|
73
|
+
"@mittwald/react-use-promise": "^2.3.12"
|
|
71
74
|
},
|
|
72
75
|
"peerDependenciesMeta": {
|
|
73
76
|
"@mittwald/react-use-promise": {
|
|
74
77
|
"optional": true
|
|
75
78
|
}
|
|
76
79
|
},
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
"build": {
|
|
80
|
-
"cache": true,
|
|
81
|
-
"dependsOn": [
|
|
82
|
-
"^build",
|
|
83
|
-
"generate:client"
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
"build-dev": {
|
|
87
|
-
"cache": true,
|
|
88
|
-
"dependsOn": [
|
|
89
|
-
"^build",
|
|
90
|
-
"generate:client-dev"
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
"generate:client": {
|
|
94
|
-
"cache": true,
|
|
95
|
-
"dependsOn": [
|
|
96
|
-
"^build"
|
|
97
|
-
],
|
|
98
|
-
"inputs": [
|
|
99
|
-
"default",
|
|
100
|
-
"^default",
|
|
101
|
-
"{projectRoot}/spec/*"
|
|
102
|
-
],
|
|
103
|
-
"outputs": [
|
|
104
|
-
"{projectRoot}/src/generated/**/*"
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
|
-
"generate:client-dev": {
|
|
108
|
-
"cache": true,
|
|
109
|
-
"dependsOn": [
|
|
110
|
-
"^build"
|
|
111
|
-
],
|
|
112
|
-
"inputs": [
|
|
113
|
-
"{projectRoot}/spec/*"
|
|
114
|
-
],
|
|
115
|
-
"outputs": [
|
|
116
|
-
"{projectRoot}/src/generated/**/*"
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
80
|
+
"gitHead": "6af0f63d14186cf75a69b2a87227b1cfc1f84379"
|
|
81
|
+
}
|
package/dist/version.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '3.1.58';
|
package/dist/version.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '3.1.58';
|
|
File without changes
|
|
@@ -337,6 +337,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
337
337
|
checkDomainRegistrability: this.requestFunctionFactory(descriptors.domainCheckDomainRegistrability),
|
|
338
338
|
/** List Domains */
|
|
339
339
|
listDomains: this.requestFunctionFactory(descriptors.domainListDomains),
|
|
340
|
+
/** Check if a Domain is available to transfer. */
|
|
341
|
+
checkDomainTransferability: this.requestFunctionFactory(descriptors.domainCheckDomainTransferability),
|
|
340
342
|
/** Create an auth code for a Domains transfer-out process. */
|
|
341
343
|
createDomainAuthCode: this.requestFunctionFactory(descriptors.domainCreateDomainAuthCode),
|
|
342
344
|
/** Update the nameservers of a Domain. */
|
|
@@ -375,8 +377,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
375
377
|
ingressRequestIngressAcmeCertificateIssuance: this.requestFunctionFactory(descriptors.ingressRequestIngressAcmeCertificateIssuance),
|
|
376
378
|
/** Update the tls settings of an Ingress. */
|
|
377
379
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
378
|
-
/** Check if a Domain is available to transfer. */
|
|
379
|
-
checkDomainTransferability: this.requestFunctionFactory(descriptors.domainCheckDomainTransferability),
|
|
380
380
|
};
|
|
381
381
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
382
382
|
file = {
|
|
@@ -802,6 +802,12 @@ export const domainListDomains = {
|
|
|
802
802
|
method: "GET",
|
|
803
803
|
operationId: "domain-list-domains",
|
|
804
804
|
};
|
|
805
|
+
/** Check if a Domain is available to transfer. */
|
|
806
|
+
export const domainCheckDomainTransferability = {
|
|
807
|
+
path: "/v2/domain-transferable",
|
|
808
|
+
method: "POST",
|
|
809
|
+
operationId: "domain-check-domain-transferability",
|
|
810
|
+
};
|
|
805
811
|
/** Create an auth code for a Domains transfer-out process. */
|
|
806
812
|
export const domainCreateDomainAuthCode = {
|
|
807
813
|
path: "/v2/domains/{domainId}/actions/auth-code",
|
|
@@ -1798,9 +1804,3 @@ export const userVerifyRegistration = {
|
|
|
1798
1804
|
method: "POST",
|
|
1799
1805
|
operationId: "user-verify-registration",
|
|
1800
1806
|
};
|
|
1801
|
-
/** Check if a Domain is available to transfer. */
|
|
1802
|
-
export const domainCheckDomainTransferability = {
|
|
1803
|
-
path: "/v2/domain-transferable",
|
|
1804
|
-
method: "POST",
|
|
1805
|
-
operationId: "domain-check-domain-transferability",
|
|
1806
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -5298,6 +5298,35 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5298
5298
|
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5299
5299
|
[x: string]: unknown;
|
|
5300
5300
|
}, 400, "application/json">>>;
|
|
5301
|
+
/** Check if a Domain is available to transfer. */
|
|
5302
|
+
checkDomainTransferability: (request: {
|
|
5303
|
+
data: {
|
|
5304
|
+
authCode: string;
|
|
5305
|
+
domain: string;
|
|
5306
|
+
};
|
|
5307
|
+
headers?: {
|
|
5308
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5309
|
+
} | undefined;
|
|
5310
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5311
|
+
data: {
|
|
5312
|
+
authCode: string;
|
|
5313
|
+
domain: string;
|
|
5314
|
+
};
|
|
5315
|
+
} & {
|
|
5316
|
+
headers?: Partial<{
|
|
5317
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5318
|
+
}> | undefined;
|
|
5319
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5320
|
+
reasons: {
|
|
5321
|
+
domainAgeTooSmall: boolean;
|
|
5322
|
+
domainDoesNotExist: boolean;
|
|
5323
|
+
transferLock: boolean;
|
|
5324
|
+
wrongAuthCode: boolean;
|
|
5325
|
+
};
|
|
5326
|
+
transferable: boolean;
|
|
5327
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5328
|
+
[x: string]: unknown;
|
|
5329
|
+
}, 400, "application/json">>>;
|
|
5301
5330
|
/** Create an auth code for a Domains transfer-out process. */
|
|
5302
5331
|
createDomainAuthCode: (request: {
|
|
5303
5332
|
domainId: string;
|
|
@@ -5882,35 +5911,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5882
5911
|
}, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5883
5912
|
[x: string]: unknown;
|
|
5884
5913
|
}, 404, "application/json">>>;
|
|
5885
|
-
/** Check if a Domain is available to transfer. */
|
|
5886
|
-
checkDomainTransferability: (request: {
|
|
5887
|
-
data: {
|
|
5888
|
-
authCode: string;
|
|
5889
|
-
domain: string;
|
|
5890
|
-
};
|
|
5891
|
-
headers?: {
|
|
5892
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5893
|
-
} | undefined;
|
|
5894
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5895
|
-
data: {
|
|
5896
|
-
authCode: string;
|
|
5897
|
-
domain: string;
|
|
5898
|
-
};
|
|
5899
|
-
} & {
|
|
5900
|
-
headers?: Partial<{
|
|
5901
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5902
|
-
}> | undefined;
|
|
5903
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
5904
|
-
reasons: {
|
|
5905
|
-
domainAgeTooSmall: boolean;
|
|
5906
|
-
domainDoesNotExist: boolean;
|
|
5907
|
-
transferLock: boolean;
|
|
5908
|
-
wrongAuthCode: boolean;
|
|
5909
|
-
};
|
|
5910
|
-
transferable: boolean;
|
|
5911
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5912
|
-
[x: string]: unknown;
|
|
5913
|
-
}, 400, "application/json">>>;
|
|
5914
5914
|
};
|
|
5915
5915
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
5916
5916
|
readonly file: {
|
|
@@ -271,6 +271,8 @@ export declare const domainAbortDomainDeclaration: OpenAPIOperation<RequestType<
|
|
|
271
271
|
export declare const domainCheckDomainRegistrability: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
272
272
|
/** List Domains */
|
|
273
273
|
export declare const domainListDomains: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
274
|
+
/** Check if a Domain is available to transfer. */
|
|
275
|
+
export declare const domainCheckDomainTransferability: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
274
276
|
/** Create an auth code for a Domains transfer-out process. */
|
|
275
277
|
export declare const domainCreateDomainAuthCode: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
276
278
|
/** Update the nameservers of a Domain. */
|
|
@@ -603,5 +605,3 @@ export declare const userVerifyEmail: OpenAPIOperation<RequestType<Simplify<Mitt
|
|
|
603
605
|
export declare const userVerifyPhoneNumber: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
604
606
|
/** Verify your registration. */
|
|
605
607
|
export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
606
|
-
/** Check if a Domain is available to transfer. */
|
|
607
|
-
export declare const domainCheckDomainTransferability: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainTransferable.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -538,6 +538,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
538
538
|
type RequestData = InferredRequestData<typeof descriptors.domainListDomains>;
|
|
539
539
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainListDomains, TStatus>;
|
|
540
540
|
}
|
|
541
|
+
namespace DomainCheckDomainTransferability {
|
|
542
|
+
type RequestData = InferredRequestData<typeof descriptors.domainCheckDomainTransferability>;
|
|
543
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainCheckDomainTransferability, TStatus>;
|
|
544
|
+
}
|
|
541
545
|
namespace DomainCreateDomainAuthCode {
|
|
542
546
|
type RequestData = InferredRequestData<typeof descriptors.domainCreateDomainAuthCode>;
|
|
543
547
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainCreateDomainAuthCode, TStatus>;
|
|
@@ -1202,10 +1206,6 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1202
1206
|
type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
|
|
1203
1207
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
|
|
1204
1208
|
}
|
|
1205
|
-
namespace DomainCheckDomainTransferability {
|
|
1206
|
-
type RequestData = InferredRequestData<typeof descriptors.domainCheckDomainTransferability>;
|
|
1207
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainCheckDomainTransferability, TStatus>;
|
|
1208
|
-
}
|
|
1209
1209
|
}
|
|
1210
1210
|
namespace Components {
|
|
1211
1211
|
namespace Schemas {
|
|
@@ -8466,6 +8466,48 @@ export declare namespace MittwaldAPIV2 {
|
|
|
8466
8466
|
}
|
|
8467
8467
|
}
|
|
8468
8468
|
}
|
|
8469
|
+
namespace V2DomainTransferable {
|
|
8470
|
+
namespace Post {
|
|
8471
|
+
namespace Parameters {
|
|
8472
|
+
type Path = {};
|
|
8473
|
+
interface RequestBody {
|
|
8474
|
+
authCode: string;
|
|
8475
|
+
domain: string;
|
|
8476
|
+
}
|
|
8477
|
+
type Header = {};
|
|
8478
|
+
type Query = {};
|
|
8479
|
+
}
|
|
8480
|
+
namespace Responses {
|
|
8481
|
+
namespace $200 {
|
|
8482
|
+
namespace Content {
|
|
8483
|
+
interface ApplicationJson {
|
|
8484
|
+
reasons: {
|
|
8485
|
+
domainAgeTooSmall: boolean;
|
|
8486
|
+
domainDoesNotExist: boolean;
|
|
8487
|
+
transferLock: boolean;
|
|
8488
|
+
wrongAuthCode: boolean;
|
|
8489
|
+
};
|
|
8490
|
+
transferable: boolean;
|
|
8491
|
+
}
|
|
8492
|
+
}
|
|
8493
|
+
}
|
|
8494
|
+
namespace $400 {
|
|
8495
|
+
namespace Content {
|
|
8496
|
+
interface ApplicationJson {
|
|
8497
|
+
[k: string]: unknown;
|
|
8498
|
+
}
|
|
8499
|
+
}
|
|
8500
|
+
}
|
|
8501
|
+
namespace Default {
|
|
8502
|
+
namespace Content {
|
|
8503
|
+
interface ApplicationJson {
|
|
8504
|
+
[k: string]: unknown;
|
|
8505
|
+
}
|
|
8506
|
+
}
|
|
8507
|
+
}
|
|
8508
|
+
}
|
|
8509
|
+
}
|
|
8510
|
+
}
|
|
8469
8511
|
namespace V2DomainsDomainIdActionsCreateAuthcode { }
|
|
8470
8512
|
namespace V2DomainsDomainIdActionsAuthCode {
|
|
8471
8513
|
namespace Post {
|
|
@@ -15409,47 +15451,5 @@ export declare namespace MittwaldAPIV2 {
|
|
|
15409
15451
|
}
|
|
15410
15452
|
}
|
|
15411
15453
|
}
|
|
15412
|
-
namespace V2DomainTransferable {
|
|
15413
|
-
namespace Post {
|
|
15414
|
-
namespace Parameters {
|
|
15415
|
-
type Path = {};
|
|
15416
|
-
interface RequestBody {
|
|
15417
|
-
authCode: string;
|
|
15418
|
-
domain: string;
|
|
15419
|
-
}
|
|
15420
|
-
type Header = {};
|
|
15421
|
-
type Query = {};
|
|
15422
|
-
}
|
|
15423
|
-
namespace Responses {
|
|
15424
|
-
namespace $200 {
|
|
15425
|
-
namespace Content {
|
|
15426
|
-
interface ApplicationJson {
|
|
15427
|
-
reasons: {
|
|
15428
|
-
domainAgeTooSmall: boolean;
|
|
15429
|
-
domainDoesNotExist: boolean;
|
|
15430
|
-
transferLock: boolean;
|
|
15431
|
-
wrongAuthCode: boolean;
|
|
15432
|
-
};
|
|
15433
|
-
transferable: boolean;
|
|
15434
|
-
}
|
|
15435
|
-
}
|
|
15436
|
-
}
|
|
15437
|
-
namespace $400 {
|
|
15438
|
-
namespace Content {
|
|
15439
|
-
interface ApplicationJson {
|
|
15440
|
-
[k: string]: unknown;
|
|
15441
|
-
}
|
|
15442
|
-
}
|
|
15443
|
-
}
|
|
15444
|
-
namespace Default {
|
|
15445
|
-
namespace Content {
|
|
15446
|
-
interface ApplicationJson {
|
|
15447
|
-
[k: string]: unknown;
|
|
15448
|
-
}
|
|
15449
|
-
}
|
|
15450
|
-
}
|
|
15451
|
-
}
|
|
15452
|
-
}
|
|
15453
|
-
}
|
|
15454
15454
|
}
|
|
15455
15455
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|