@mittwald/api-client 3.0.28 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-LELXC74W.js +1770 -0
- package/dist/client-739be67c.d.ts +25271 -0
- package/dist/index.cjs +2627 -0
- package/dist/{cjs/v2/default.d.ts → index.d.cts} +8 -4
- package/dist/{esm/v2/default.d.ts → index.d.ts} +8 -4
- package/dist/index.js +1440 -0
- package/dist/react.cjs +1360 -0
- package/dist/{cjs/generated/v2/client-react.d.ts → react.d.cts} +453 -390
- package/dist/{esm/generated/v2/client-react.d.ts → react.d.ts} +453 -390
- package/dist/react.js +830 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +17 -25
- package/dist/cjs/generated/v2/client-react.js +0 -334
- package/dist/cjs/generated/v2/client.d.ts +0 -9695
- package/dist/cjs/generated/v2/client.js +0 -658
- package/dist/cjs/generated/v2/descriptors.d.ts +0 -589
- package/dist/cjs/generated/v2/descriptors.js +0 -1760
- package/dist/cjs/generated/v2/types.d.ts +0 -14799
- package/dist/cjs/generated/v2/types.js +0 -2
- package/dist/cjs/index.d.ts +0 -3
- package/dist/cjs/index.js +0 -7
- package/dist/cjs/react.d.ts +0 -1
- package/dist/cjs/react.js +0 -5
- package/dist/cjs/v2/default.js +0 -70
- package/dist/cjs/v2/react.d.ts +0 -3
- package/dist/cjs/v2/react.js +0 -7
- package/dist/cjs/version.d.ts +0 -1
- package/dist/cjs/version.js +0 -4
- package/dist/esm/generated/v2/client-react.js +0 -336
- package/dist/esm/generated/v2/client.d.ts +0 -9695
- package/dist/esm/generated/v2/client.js +0 -628
- package/dist/esm/generated/v2/descriptors.d.ts +0 -589
- package/dist/esm/generated/v2/descriptors.js +0 -1752
- package/dist/esm/generated/v2/types.d.ts +0 -14799
- package/dist/esm/generated/v2/types.js +0 -1
- package/dist/esm/index.d.ts +0 -3
- package/dist/esm/index.js +0 -2
- package/dist/esm/react.d.ts +0 -1
- package/dist/esm/react.js +0 -1
- package/dist/esm/v2/default.js +0 -53
- package/dist/esm/v2/react.d.ts +0 -3
- package/dist/esm/v2/react.js +0 -3
- package/dist/esm/version.d.ts +0 -1
- package/dist/esm/version.js +0 -1
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as _mittwald_react_use_promise from '@mittwald/react-use-promise';
|
|
2
|
+
import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './client-739be67c.js';
|
|
3
|
+
import '@mittwald/api-client-commons';
|
|
4
|
+
import 'axios';
|
|
5
|
+
|
|
3
6
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
4
7
|
/** get a specific `App` */
|
|
5
8
|
getApp: (conf: {
|
|
@@ -8,8 +11,8 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
8
11
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
9
12
|
"x-access-token"?: string | undefined;
|
|
10
13
|
} | undefined;
|
|
11
|
-
}) =>
|
|
12
|
-
actionCapabilities?:
|
|
14
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
15
|
+
actionCapabilities?: MittwaldAPIV2.Components.Schemas.AppActionCapabilities | undefined;
|
|
13
16
|
id: string;
|
|
14
17
|
name: string;
|
|
15
18
|
tags: string[];
|
|
@@ -21,23 +24,23 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
21
24
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
22
25
|
"x-access-token"?: string | undefined;
|
|
23
26
|
} | undefined;
|
|
24
|
-
}) =>
|
|
27
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
25
28
|
appId: string;
|
|
26
|
-
appVersion:
|
|
29
|
+
appVersion: MittwaldAPIV2.Components.Schemas.AppVersionStatus;
|
|
27
30
|
customDocumentRoot?: string | undefined;
|
|
28
31
|
description: string;
|
|
29
32
|
disabled: boolean;
|
|
30
33
|
id: string;
|
|
31
34
|
installationPath: string;
|
|
32
|
-
linkedDatabases?:
|
|
35
|
+
linkedDatabases?: MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[] | undefined;
|
|
33
36
|
processes?: string[] | undefined;
|
|
34
37
|
projectId?: string | undefined;
|
|
35
38
|
screenshotId?: string | undefined;
|
|
36
39
|
screenshotRef?: string | undefined;
|
|
37
40
|
shortId: string;
|
|
38
|
-
systemSoftware?:
|
|
39
|
-
updatePolicy?:
|
|
40
|
-
userInputs?:
|
|
41
|
+
systemSoftware?: MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[] | undefined;
|
|
42
|
+
updatePolicy?: MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy | undefined;
|
|
43
|
+
userInputs?: MittwaldAPIV2.Components.Schemas.AppSavedUserInput[] | undefined;
|
|
41
44
|
}>;
|
|
42
45
|
/** get a specific `AppVersion` */
|
|
43
46
|
getAppversion: (conf: {
|
|
@@ -47,18 +50,18 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
47
50
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
48
51
|
"x-access-token"?: string | undefined;
|
|
49
52
|
} | undefined;
|
|
50
|
-
}) =>
|
|
51
|
-
breakingNote?:
|
|
52
|
-
databases?:
|
|
53
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
54
|
+
breakingNote?: MittwaldAPIV2.Components.Schemas.AppBreakingNote | undefined;
|
|
55
|
+
databases?: MittwaldAPIV2.Components.Schemas.AppDatabaseDependency[] | undefined;
|
|
53
56
|
docRoot: string;
|
|
54
57
|
docRootUserEditable: boolean;
|
|
55
58
|
externalVersion: string;
|
|
56
59
|
id: string;
|
|
57
60
|
internalVersion: string;
|
|
58
61
|
recommended?: boolean | undefined;
|
|
59
|
-
requestHandler?:
|
|
60
|
-
systemSoftwareDependencies?:
|
|
61
|
-
userInputs?:
|
|
62
|
+
requestHandler?: MittwaldAPIV2.Components.Schemas.AppRequestHandlerRequirement | undefined;
|
|
63
|
+
systemSoftwareDependencies?: MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[] | undefined;
|
|
64
|
+
userInputs?: MittwaldAPIV2.Components.Schemas.AppUserInput[] | undefined;
|
|
62
65
|
}>;
|
|
63
66
|
/** get the missing requirements of an appInstallation for a specific target AppVersion */
|
|
64
67
|
getMissingDependenciesForAppinstallation: (conf: {
|
|
@@ -70,9 +73,9 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
70
73
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
71
74
|
"x-access-token"?: string | undefined;
|
|
72
75
|
} | undefined;
|
|
73
|
-
}) =>
|
|
74
|
-
missingSystemSoftwareDependencies?:
|
|
75
|
-
missingUserInputs?:
|
|
76
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
77
|
+
missingSystemSoftwareDependencies?: MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[] | undefined;
|
|
78
|
+
missingUserInputs?: MittwaldAPIV2.Components.Schemas.AppUserInput[] | undefined;
|
|
76
79
|
}>;
|
|
77
80
|
/** get a specific `SystemSoftware` */
|
|
78
81
|
getSystemsoftware: (conf: {
|
|
@@ -81,7 +84,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
81
84
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
82
85
|
"x-access-token"?: string | undefined;
|
|
83
86
|
} | undefined;
|
|
84
|
-
}) =>
|
|
87
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
85
88
|
id: string;
|
|
86
89
|
name: string;
|
|
87
90
|
tags: string[];
|
|
@@ -94,13 +97,13 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
94
97
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
95
98
|
"x-access-token"?: string | undefined;
|
|
96
99
|
} | undefined;
|
|
97
|
-
}) =>
|
|
100
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
98
101
|
externalVersion: string;
|
|
99
102
|
id: string;
|
|
100
103
|
internalVersion: string;
|
|
101
104
|
recommended?: boolean | undefined;
|
|
102
|
-
systemSoftwareDependencies?:
|
|
103
|
-
userInputs?:
|
|
105
|
+
systemSoftwareDependencies?: MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[] | undefined;
|
|
106
|
+
userInputs?: MittwaldAPIV2.Components.Schemas.AppUserInput[] | undefined;
|
|
104
107
|
}>;
|
|
105
108
|
/** get all `AppInstallations` inside a specific `Project` */
|
|
106
109
|
listAppinstallations: (conf: {
|
|
@@ -115,7 +118,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
115
118
|
page?: number | undefined;
|
|
116
119
|
skip?: number | undefined;
|
|
117
120
|
} | undefined;
|
|
118
|
-
}) =>
|
|
121
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.AppAppInstallation[]>;
|
|
119
122
|
/** get all available `Apps` */
|
|
120
123
|
listApps: (conf?: {
|
|
121
124
|
headers?: {
|
|
@@ -128,7 +131,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
128
131
|
page?: number | undefined;
|
|
129
132
|
skip?: number | undefined;
|
|
130
133
|
} | undefined;
|
|
131
|
-
} | null | undefined) =>
|
|
134
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.AppApp[]>;
|
|
132
135
|
/** get all `AppVersions` of a specific `App` */
|
|
133
136
|
listAppversions: (conf: {
|
|
134
137
|
appId: string;
|
|
@@ -136,7 +139,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
136
139
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
137
140
|
"x-access-token"?: string | undefined;
|
|
138
141
|
} | undefined;
|
|
139
|
-
}) =>
|
|
142
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.AppAppVersion[]>;
|
|
140
143
|
/** get all available `SystemSoftware` */
|
|
141
144
|
listSystemsoftwares: (conf?: {
|
|
142
145
|
headers?: {
|
|
@@ -149,7 +152,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
149
152
|
page?: number | undefined;
|
|
150
153
|
skip?: number | undefined;
|
|
151
154
|
} | undefined;
|
|
152
|
-
} | null | undefined) =>
|
|
155
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.AppSystemSoftware[]>;
|
|
153
156
|
/** get all available `SystemSoftwareVersions` of a specific `SystemSoftware` */
|
|
154
157
|
listSystemsoftwareversions: (conf: {
|
|
155
158
|
systemSoftwareId: string;
|
|
@@ -161,7 +164,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
161
164
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
162
165
|
versionRange?: string | undefined;
|
|
163
166
|
} | undefined;
|
|
164
|
-
}) =>
|
|
167
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.AppSystemSoftwareVersion[]>;
|
|
165
168
|
/** get all update candidates for a specific `AppVersion` */
|
|
166
169
|
listUpdateCandidatesForAppversion: (conf: {
|
|
167
170
|
appId: string;
|
|
@@ -170,14 +173,14 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
170
173
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
171
174
|
"x-access-token"?: string | undefined;
|
|
172
175
|
} | undefined;
|
|
173
|
-
}) =>
|
|
176
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.AppAppVersion[]>;
|
|
174
177
|
/** get runtime status of a specific `AppInstallation` */
|
|
175
178
|
retrieveStatus: (conf: {
|
|
176
179
|
appInstallationId: string;
|
|
177
180
|
headers?: {
|
|
178
181
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
179
182
|
} | undefined;
|
|
180
|
-
}) =>
|
|
183
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
181
184
|
lastExitCode?: number | undefined;
|
|
182
185
|
logFileLocation: string;
|
|
183
186
|
state: "running" | "stopped" | "exited";
|
|
@@ -195,11 +198,11 @@ declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
195
198
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
196
199
|
customerId?: string | undefined;
|
|
197
200
|
} | undefined;
|
|
198
|
-
}) =>
|
|
199
|
-
additionalArticles?:
|
|
200
|
-
addons?:
|
|
201
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
202
|
+
additionalArticles?: MittwaldAPIV2.Components.Schemas.ArticleReadableBookableArticleOptions[] | undefined;
|
|
203
|
+
addons?: MittwaldAPIV2.Components.Schemas.ArticleArticleAddons[] | undefined;
|
|
201
204
|
articleId: string;
|
|
202
|
-
attributes?:
|
|
205
|
+
attributes?: MittwaldAPIV2.Components.Schemas.ArticleArticleAttributes[] | undefined;
|
|
203
206
|
balanceAddonKey?: string | undefined;
|
|
204
207
|
contractDurationInMonth: number;
|
|
205
208
|
description: string;
|
|
@@ -211,14 +214,14 @@ declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
211
214
|
memory: string;
|
|
212
215
|
name: string;
|
|
213
216
|
} | undefined;
|
|
214
|
-
modifierArticles?:
|
|
217
|
+
modifierArticles?: MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
215
218
|
name: string;
|
|
216
219
|
orderable: "full" | "forbidden" | "internal" | "beta_testing" | "deprecated";
|
|
217
220
|
picture?: string | undefined;
|
|
218
|
-
possibleArticleChanges?:
|
|
221
|
+
possibleArticleChanges?: MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
|
|
219
222
|
price?: number | undefined;
|
|
220
|
-
tags?:
|
|
221
|
-
template:
|
|
223
|
+
tags?: MittwaldAPIV2.Components.Schemas.ArticleArticleTag[] | undefined;
|
|
224
|
+
template: MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
|
|
222
225
|
}>;
|
|
223
226
|
/** List Articles. */
|
|
224
227
|
listArticles: (conf?: {
|
|
@@ -237,7 +240,7 @@ declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
237
240
|
orderable?: ("full" | "forbidden" | "internal" | "beta_testing" | "deprecated")[] | undefined;
|
|
238
241
|
name?: string | undefined;
|
|
239
242
|
} | undefined;
|
|
240
|
-
} | null | undefined) =>
|
|
243
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.ArticleReadableArticle[]>;
|
|
241
244
|
};
|
|
242
245
|
declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
243
246
|
/** List BackupSchedules belonging to a Project. */
|
|
@@ -247,7 +250,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
247
250
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
248
251
|
"x-access-token"?: string | undefined;
|
|
249
252
|
} | undefined;
|
|
250
|
-
}) =>
|
|
253
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.BackupProjectBackupSchedule[]>;
|
|
251
254
|
/** List Backups belonging to a Project. */
|
|
252
255
|
listProjectBackups: (conf: {
|
|
253
256
|
projectId: string;
|
|
@@ -255,7 +258,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
255
258
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
256
259
|
"x-access-token"?: string | undefined;
|
|
257
260
|
} | undefined;
|
|
258
|
-
}) =>
|
|
261
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.BackupProjectBackup[]>;
|
|
259
262
|
/** Get a ProjectBackupSchedule. */
|
|
260
263
|
getProjectBackupSchedule: (conf: {
|
|
261
264
|
projectBackupScheduleId: string;
|
|
@@ -263,7 +266,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
263
266
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
264
267
|
"x-access-token"?: string | undefined;
|
|
265
268
|
} | undefined;
|
|
266
|
-
}) =>
|
|
269
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
267
270
|
createdAt?: string | undefined;
|
|
268
271
|
description?: string | undefined;
|
|
269
272
|
id: string;
|
|
@@ -280,12 +283,12 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
280
283
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
281
284
|
"x-access-token"?: string | undefined;
|
|
282
285
|
} | undefined;
|
|
283
|
-
}) =>
|
|
286
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
284
287
|
createdAt?: string | undefined;
|
|
285
288
|
deletable: boolean;
|
|
286
289
|
description?: string | undefined;
|
|
287
290
|
expiresAt?: string | undefined;
|
|
288
|
-
export?:
|
|
291
|
+
export?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupExport | undefined;
|
|
289
292
|
id: string;
|
|
290
293
|
parentId?: string | undefined;
|
|
291
294
|
projectId: string;
|
|
@@ -300,10 +303,10 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
300
303
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
301
304
|
"x-access-token"?: string | undefined;
|
|
302
305
|
} | undefined;
|
|
303
|
-
}) =>
|
|
306
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
304
307
|
activationDate?: string | undefined;
|
|
305
|
-
aggregateReference?:
|
|
306
|
-
articles:
|
|
308
|
+
aggregateReference?: MittwaldAPIV2.Components.Schemas.ContractAggregateReference | undefined;
|
|
309
|
+
articles: MittwaldAPIV2.Components.Schemas.ContractArticle[];
|
|
307
310
|
contractPeriod: number;
|
|
308
311
|
description: string;
|
|
309
312
|
freeTrialDays: number;
|
|
@@ -320,9 +323,9 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
320
323
|
orderDate: string;
|
|
321
324
|
orderId?: string | undefined;
|
|
322
325
|
replacedByItem?: string | undefined;
|
|
323
|
-
tariffChange?:
|
|
324
|
-
termination?:
|
|
325
|
-
totalPrice:
|
|
326
|
+
tariffChange?: MittwaldAPIV2.Components.Schemas.ContractTariffChange | undefined;
|
|
327
|
+
termination?: MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
328
|
+
totalPrice: MittwaldAPIV2.Components.Schemas.ContractPrice;
|
|
326
329
|
}>;
|
|
327
330
|
/** Return the Contract for the given Domain. */
|
|
328
331
|
getDetailOfContractByDomain: (conf: {
|
|
@@ -331,16 +334,16 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
331
334
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
332
335
|
"x-access-token"?: string | undefined;
|
|
333
336
|
} | undefined;
|
|
334
|
-
}) =>
|
|
335
|
-
additionalItems?:
|
|
336
|
-
baseItem:
|
|
337
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
338
|
+
additionalItems?: MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
339
|
+
baseItem: MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
337
340
|
contractId: string;
|
|
338
341
|
contractNumber: string;
|
|
339
342
|
customerId: string;
|
|
340
343
|
isInvoicingDeactivated?: boolean | undefined;
|
|
341
344
|
isInvoicingPaused?: boolean | undefined;
|
|
342
|
-
owner:
|
|
343
|
-
termination?:
|
|
345
|
+
owner: MittwaldAPIV2.Components.Schemas.ContractContact;
|
|
346
|
+
termination?: MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
344
347
|
}>;
|
|
345
348
|
/** Return the Contract for the given Project. */
|
|
346
349
|
getDetailOfContractByProject: (conf: {
|
|
@@ -349,16 +352,16 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
349
352
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
350
353
|
"x-access-token"?: string | undefined;
|
|
351
354
|
} | undefined;
|
|
352
|
-
}) =>
|
|
353
|
-
additionalItems?:
|
|
354
|
-
baseItem:
|
|
355
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
356
|
+
additionalItems?: MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
357
|
+
baseItem: MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
355
358
|
contractId: string;
|
|
356
359
|
contractNumber: string;
|
|
357
360
|
customerId: string;
|
|
358
361
|
isInvoicingDeactivated?: boolean | undefined;
|
|
359
362
|
isInvoicingPaused?: boolean | undefined;
|
|
360
|
-
owner:
|
|
361
|
-
termination?:
|
|
363
|
+
owner: MittwaldAPIV2.Components.Schemas.ContractContact;
|
|
364
|
+
termination?: MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
362
365
|
}>;
|
|
363
366
|
/** Return the Contract for the given Server. */
|
|
364
367
|
getDetailOfContractByServer: (conf: {
|
|
@@ -367,16 +370,16 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
367
370
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
368
371
|
"x-access-token"?: string | undefined;
|
|
369
372
|
} | undefined;
|
|
370
|
-
}) =>
|
|
371
|
-
additionalItems?:
|
|
372
|
-
baseItem:
|
|
373
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
374
|
+
additionalItems?: MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
375
|
+
baseItem: MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
373
376
|
contractId: string;
|
|
374
377
|
contractNumber: string;
|
|
375
378
|
customerId: string;
|
|
376
379
|
isInvoicingDeactivated?: boolean | undefined;
|
|
377
380
|
isInvoicingPaused?: boolean | undefined;
|
|
378
|
-
owner:
|
|
379
|
-
termination?:
|
|
381
|
+
owner: MittwaldAPIV2.Components.Schemas.ContractContact;
|
|
382
|
+
termination?: MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
380
383
|
}>;
|
|
381
384
|
/** Get the ContractItem with the given ID. */
|
|
382
385
|
getDetailOfContractItem: (conf: {
|
|
@@ -386,10 +389,10 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
386
389
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
387
390
|
"x-access-token"?: string | undefined;
|
|
388
391
|
} | undefined;
|
|
389
|
-
}) =>
|
|
392
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
390
393
|
activationDate?: string | undefined;
|
|
391
|
-
aggregateReference?:
|
|
392
|
-
articles:
|
|
394
|
+
aggregateReference?: MittwaldAPIV2.Components.Schemas.ContractAggregateReference | undefined;
|
|
395
|
+
articles: MittwaldAPIV2.Components.Schemas.ContractArticle[];
|
|
393
396
|
contractPeriod: number;
|
|
394
397
|
description: string;
|
|
395
398
|
freeTrialDays: number;
|
|
@@ -406,9 +409,9 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
406
409
|
orderDate: string;
|
|
407
410
|
orderId?: string | undefined;
|
|
408
411
|
replacedByItem?: string | undefined;
|
|
409
|
-
tariffChange?:
|
|
410
|
-
termination?:
|
|
411
|
-
totalPrice:
|
|
412
|
+
tariffChange?: MittwaldAPIV2.Components.Schemas.ContractTariffChange | undefined;
|
|
413
|
+
termination?: MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
414
|
+
totalPrice: MittwaldAPIV2.Components.Schemas.ContractPrice;
|
|
412
415
|
}>;
|
|
413
416
|
/** Returns the Contract with the given ID. */
|
|
414
417
|
getDetailOfContract: (conf: {
|
|
@@ -417,16 +420,16 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
417
420
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
418
421
|
"x-access-token"?: string | undefined;
|
|
419
422
|
} | undefined;
|
|
420
|
-
}) =>
|
|
421
|
-
additionalItems?:
|
|
422
|
-
baseItem:
|
|
423
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
424
|
+
additionalItems?: MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
425
|
+
baseItem: MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
423
426
|
contractId: string;
|
|
424
427
|
contractNumber: string;
|
|
425
428
|
customerId: string;
|
|
426
429
|
isInvoicingDeactivated?: boolean | undefined;
|
|
427
430
|
isInvoicingPaused?: boolean | undefined;
|
|
428
|
-
owner:
|
|
429
|
-
termination?:
|
|
431
|
+
owner: MittwaldAPIV2.Components.Schemas.ContractContact;
|
|
432
|
+
termination?: MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
430
433
|
}>;
|
|
431
434
|
/** Return the next TerminationDate for the ContractItem with the given ID. */
|
|
432
435
|
getNextTerminationDateForItem: (conf: {
|
|
@@ -436,7 +439,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
436
439
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
437
440
|
"x-access-token"?: string | undefined;
|
|
438
441
|
} | undefined;
|
|
439
|
-
}) =>
|
|
442
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
440
443
|
contractItemId: string;
|
|
441
444
|
nextTerminationDate: string;
|
|
442
445
|
}>;
|
|
@@ -453,7 +456,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
453
456
|
skip?: number | undefined;
|
|
454
457
|
page?: number | undefined;
|
|
455
458
|
} | undefined;
|
|
456
|
-
}) =>
|
|
459
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.ContractContract[]>;
|
|
457
460
|
/** Get details of an Invoice. */
|
|
458
461
|
invoiceDetailOfInvoice: (conf: {
|
|
459
462
|
customerId: string;
|
|
@@ -462,9 +465,9 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
462
465
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
463
466
|
"x-access-token"?: string | undefined;
|
|
464
467
|
} | undefined;
|
|
465
|
-
}) =>
|
|
468
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
466
469
|
amountPaid: number;
|
|
467
|
-
cancellation?:
|
|
470
|
+
cancellation?: MittwaldAPIV2.Components.Schemas.InvoiceCancellation | undefined;
|
|
468
471
|
cancellationOf?: string | undefined;
|
|
469
472
|
currency: string;
|
|
470
473
|
customerId: string;
|
|
@@ -472,14 +475,14 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
472
475
|
groups: {
|
|
473
476
|
contractId?: string | undefined;
|
|
474
477
|
description: string;
|
|
475
|
-
items:
|
|
478
|
+
items: MittwaldAPIV2.Components.Schemas.InvoiceInvoiceItem[];
|
|
476
479
|
}[];
|
|
477
480
|
id: string;
|
|
478
481
|
invoiceNumber: string;
|
|
479
482
|
invoiceType: "REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION";
|
|
480
|
-
paymentSettings?:
|
|
483
|
+
paymentSettings?: MittwaldAPIV2.Components.Schemas.InvoicePaymentSettings | undefined;
|
|
481
484
|
pdfId: string;
|
|
482
|
-
recipient:
|
|
485
|
+
recipient: MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
|
|
483
486
|
status: "NEW" | "CONFIRMED" | "DENIED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID";
|
|
484
487
|
totalGross: number;
|
|
485
488
|
totalNet: number;
|
|
@@ -492,16 +495,16 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
492
495
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
493
496
|
"x-access-token"?: string | undefined;
|
|
494
497
|
} | undefined;
|
|
495
|
-
}) =>
|
|
498
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
496
499
|
additionalEmailRecipients?: string[] | undefined;
|
|
497
500
|
id: string;
|
|
498
501
|
invoicePeriod?: number | undefined;
|
|
499
|
-
lastBankingInformation?:
|
|
500
|
-
paymentSettings?:
|
|
502
|
+
lastBankingInformation?: MittwaldAPIV2.Components.Schemas.InvoiceBankingInformation | undefined;
|
|
503
|
+
paymentSettings?: MittwaldAPIV2.Components.Schemas.InvoicePaymentSettings | undefined;
|
|
501
504
|
printedInvoices?: boolean | undefined;
|
|
502
|
-
recipient?:
|
|
505
|
+
recipient?: MittwaldAPIV2.Components.Schemas.InvoiceRecipient | undefined;
|
|
503
506
|
recipientSameAsOwner?: boolean | undefined;
|
|
504
|
-
status?:
|
|
507
|
+
status?: MittwaldAPIV2.Components.Schemas.InvoiceInvoiceSettingsStatus[] | undefined;
|
|
505
508
|
targetDay?: number | undefined;
|
|
506
509
|
}>;
|
|
507
510
|
/** List Invoices of a Customer. */
|
|
@@ -518,7 +521,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
518
521
|
skip?: number | undefined;
|
|
519
522
|
page?: number | undefined;
|
|
520
523
|
} | undefined;
|
|
521
|
-
}) =>
|
|
524
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.InvoiceInvoice[]>;
|
|
522
525
|
/** Get Order for Customer. */
|
|
523
526
|
orderGetOrder: (conf: {
|
|
524
527
|
orderId: string;
|
|
@@ -526,19 +529,19 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
526
529
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
527
530
|
"x-access-token"?: string | undefined;
|
|
528
531
|
} | undefined;
|
|
529
|
-
}) =>
|
|
532
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
530
533
|
contractChangeContractId?: string | undefined;
|
|
531
534
|
customerId: string;
|
|
532
535
|
dueDate?: string | undefined;
|
|
533
536
|
invoicingPeriod: number;
|
|
534
|
-
items:
|
|
537
|
+
items: MittwaldAPIV2.Components.Schemas.OrderOrderItem[];
|
|
535
538
|
orderDate: string;
|
|
536
539
|
orderId: string;
|
|
537
540
|
orderNumber: string;
|
|
538
|
-
profile?:
|
|
539
|
-
status:
|
|
540
|
-
summary:
|
|
541
|
-
type:
|
|
541
|
+
profile?: MittwaldAPIV2.Components.Schemas.OrderProfile | undefined;
|
|
542
|
+
status: MittwaldAPIV2.Components.Schemas.OrderOrderStatus;
|
|
543
|
+
summary: MittwaldAPIV2.Components.Schemas.OrderOrderSummary;
|
|
544
|
+
type: MittwaldAPIV2.Components.Schemas.OrderOrderType;
|
|
542
545
|
}>;
|
|
543
546
|
/** Get list of Orders of a Customer. */
|
|
544
547
|
orderListCustomerOrders: (conf: {
|
|
@@ -552,11 +555,11 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
552
555
|
limit?: number | undefined;
|
|
553
556
|
skip?: number | undefined;
|
|
554
557
|
page?: number | undefined;
|
|
555
|
-
includesStatus?:
|
|
556
|
-
excludesStatus?:
|
|
558
|
+
includesStatus?: MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
|
|
559
|
+
excludesStatus?: MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
|
|
557
560
|
templateNames?: string[] | undefined;
|
|
558
561
|
} | undefined;
|
|
559
|
-
}) =>
|
|
562
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
|
|
560
563
|
/** Get list of Orders of a Project. */
|
|
561
564
|
orderListProjectOrders: (conf: {
|
|
562
565
|
projectId: string;
|
|
@@ -569,11 +572,11 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
569
572
|
limit?: number | undefined;
|
|
570
573
|
skip?: number | undefined;
|
|
571
574
|
page?: number | undefined;
|
|
572
|
-
includesStatus?:
|
|
573
|
-
excludesStatus?:
|
|
575
|
+
includesStatus?: MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
|
|
576
|
+
excludesStatus?: MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
|
|
574
577
|
templateNames?: string[] | undefined;
|
|
575
578
|
} | undefined;
|
|
576
|
-
}) =>
|
|
579
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
|
|
577
580
|
};
|
|
578
581
|
declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
579
582
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -581,24 +584,24 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
581
584
|
headers?: {
|
|
582
585
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
583
586
|
} | undefined;
|
|
584
|
-
} | null | undefined) =>
|
|
587
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.ConversationConversation[]>;
|
|
585
588
|
/** Get all message of the conversation. */
|
|
586
589
|
listMessagesByConversation: (conf: {
|
|
587
590
|
conversationId: string;
|
|
588
591
|
headers?: {
|
|
589
592
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
590
593
|
} | undefined;
|
|
591
|
-
}) =>
|
|
594
|
+
}) => _mittwald_react_use_promise.AsyncResource<(MittwaldAPIV2.Components.Schemas.ConversationMessage | MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[]>;
|
|
592
595
|
/** Get a specific conversation category. */
|
|
593
596
|
getCategory: (conf: {
|
|
594
597
|
categoryId: string;
|
|
595
598
|
headers?: {
|
|
596
599
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
597
600
|
} | undefined;
|
|
598
|
-
}) =>
|
|
601
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
599
602
|
categoryId: string;
|
|
600
603
|
name: string;
|
|
601
|
-
referenceType:
|
|
604
|
+
referenceType: MittwaldAPIV2.Components.Schemas.ConversationCategoryReferenceType;
|
|
602
605
|
}>;
|
|
603
606
|
/** Get a support conversation. */
|
|
604
607
|
getConversation: (conf: {
|
|
@@ -606,16 +609,16 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
606
609
|
headers?: {
|
|
607
610
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
608
611
|
} | undefined;
|
|
609
|
-
}) =>
|
|
610
|
-
category?:
|
|
612
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
613
|
+
category?: MittwaldAPIV2.Components.Schemas.ConversationCategory | undefined;
|
|
611
614
|
conversationId: string;
|
|
612
615
|
createdAt: string;
|
|
613
|
-
createdBy?:
|
|
616
|
+
createdBy?: MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
614
617
|
lastMessageAt?: string | undefined;
|
|
615
|
-
lastMessageBy?:
|
|
616
|
-
relatedTo?:
|
|
617
|
-
relations?:
|
|
618
|
-
sharedWith?:
|
|
618
|
+
lastMessageBy?: MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
619
|
+
relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
|
|
620
|
+
relations?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[] | undefined;
|
|
621
|
+
sharedWith?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
|
|
619
622
|
shortId: string;
|
|
620
623
|
status: "open" | "answered" | "closed";
|
|
621
624
|
title: string;
|
|
@@ -625,7 +628,7 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
625
628
|
headers?: {
|
|
626
629
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
627
630
|
} | undefined;
|
|
628
|
-
} | null | undefined) =>
|
|
631
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.ConversationCategory[]>;
|
|
629
632
|
};
|
|
630
633
|
declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
631
634
|
/** List Cronjobs belonging to a Project. */
|
|
@@ -641,7 +644,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
641
644
|
skip?: number | undefined;
|
|
642
645
|
page?: number | undefined;
|
|
643
646
|
} | undefined;
|
|
644
|
-
}) =>
|
|
647
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.CronjobCronjob[]>;
|
|
645
648
|
/** List CronjobExecutions belonging to a Cronjob. */
|
|
646
649
|
listExecutions: (conf: {
|
|
647
650
|
cronjobId: string;
|
|
@@ -658,7 +661,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
658
661
|
until?: string | undefined;
|
|
659
662
|
status?: string | undefined;
|
|
660
663
|
} | undefined;
|
|
661
|
-
}) =>
|
|
664
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.CronjobCronjobExecution[]>;
|
|
662
665
|
/** Get a Cronjob. */
|
|
663
666
|
getCronjob: (conf: {
|
|
664
667
|
cronjobId: string;
|
|
@@ -666,16 +669,16 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
666
669
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
667
670
|
"x-access-token"?: string | undefined;
|
|
668
671
|
} | undefined;
|
|
669
|
-
}) =>
|
|
672
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
670
673
|
active: boolean;
|
|
671
674
|
appId: string;
|
|
672
675
|
createdAt: string;
|
|
673
676
|
description: string;
|
|
674
|
-
destination:
|
|
677
|
+
destination: MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand | MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl;
|
|
675
678
|
email?: string | undefined;
|
|
676
679
|
id: string;
|
|
677
680
|
interval: string;
|
|
678
|
-
latestExecution?:
|
|
681
|
+
latestExecution?: MittwaldAPIV2.Components.Schemas.CronjobCronjobExecution | undefined;
|
|
679
682
|
nextExecutionTime?: string | undefined;
|
|
680
683
|
projectId?: string | undefined;
|
|
681
684
|
shortId: string;
|
|
@@ -689,7 +692,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
689
692
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
690
693
|
"x-access-token"?: string | undefined;
|
|
691
694
|
} | undefined;
|
|
692
|
-
}) =>
|
|
695
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
693
696
|
abortedBy?: {
|
|
694
697
|
id?: string | undefined;
|
|
695
698
|
} | undefined;
|
|
@@ -714,8 +717,8 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
714
717
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
715
718
|
"x-access-token"?: string | undefined;
|
|
716
719
|
} | undefined;
|
|
717
|
-
} | null | undefined) =>
|
|
718
|
-
categories?:
|
|
720
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
721
|
+
categories?: MittwaldAPIV2.Components.Schemas.CustomerCategory[] | undefined;
|
|
719
722
|
}>;
|
|
720
723
|
/** Get all customer profiles the authenticated user has access to. */
|
|
721
724
|
listCustomers: (conf?: {
|
|
@@ -730,7 +733,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
730
733
|
skip?: number | undefined;
|
|
731
734
|
page?: number | undefined;
|
|
732
735
|
} | undefined;
|
|
733
|
-
} | null | undefined) =>
|
|
736
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.CustomerCustomer[]>;
|
|
734
737
|
/** Get a customer category. */
|
|
735
738
|
getCustomerCategory: (conf: {
|
|
736
739
|
categoryId: string;
|
|
@@ -738,7 +741,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
738
741
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
739
742
|
"x-access-token"?: string | undefined;
|
|
740
743
|
} | undefined;
|
|
741
|
-
}) =>
|
|
744
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
742
745
|
id: string;
|
|
743
746
|
isPublic: boolean;
|
|
744
747
|
name: string;
|
|
@@ -752,16 +755,16 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
752
755
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
753
756
|
"x-access-token"?: string | undefined;
|
|
754
757
|
} | undefined;
|
|
755
|
-
}) =>
|
|
758
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
756
759
|
avatarRefId: string;
|
|
757
760
|
customerId: string;
|
|
758
761
|
customerName: string;
|
|
759
762
|
id: string;
|
|
760
|
-
information:
|
|
763
|
+
information: MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
|
|
761
764
|
mailAddress: string;
|
|
762
765
|
membershipExpiresAt?: string | undefined;
|
|
763
766
|
message?: string | undefined;
|
|
764
|
-
role:
|
|
767
|
+
role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
|
|
765
768
|
}>;
|
|
766
769
|
/** Get a CustomerMembership. */
|
|
767
770
|
getCustomerMembership: (conf: {
|
|
@@ -770,13 +773,13 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
770
773
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
771
774
|
"x-access-token"?: string | undefined;
|
|
772
775
|
} | undefined;
|
|
773
|
-
}) =>
|
|
776
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
774
777
|
customerId: string;
|
|
775
778
|
expiresAt?: string | undefined;
|
|
776
779
|
id: string;
|
|
777
780
|
inviteId: string;
|
|
778
781
|
memberSince?: string | undefined;
|
|
779
|
-
role:
|
|
782
|
+
role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
|
|
780
783
|
userId: string;
|
|
781
784
|
}>;
|
|
782
785
|
/** Get a customer profile. */
|
|
@@ -786,7 +789,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
786
789
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
787
790
|
"x-access-token"?: string | undefined;
|
|
788
791
|
} | undefined;
|
|
789
|
-
}) =>
|
|
792
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
790
793
|
activeSuspension?: {
|
|
791
794
|
createdAt: string;
|
|
792
795
|
} | undefined;
|
|
@@ -795,12 +798,12 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
795
798
|
creationDate: string;
|
|
796
799
|
customerId: string;
|
|
797
800
|
customerNumber: string;
|
|
798
|
-
executingUserRoles?:
|
|
801
|
+
executingUserRoles?: MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
|
|
799
802
|
isBanned?: boolean | undefined;
|
|
800
803
|
isInDefaultOfPayment?: boolean | undefined;
|
|
801
804
|
memberCount: number;
|
|
802
805
|
name: string;
|
|
803
|
-
owner?:
|
|
806
|
+
owner?: MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
|
|
804
807
|
projectCount: number;
|
|
805
808
|
vatId?: string | undefined;
|
|
806
809
|
vatIdValidationState?: "unspecified" | "valid" | "invalid" | "pending" | undefined;
|
|
@@ -811,16 +814,16 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
811
814
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
812
815
|
"x-access-token"?: string | undefined;
|
|
813
816
|
};
|
|
814
|
-
}) =>
|
|
817
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
815
818
|
avatarRefId: string;
|
|
816
819
|
customerId: string;
|
|
817
820
|
customerName: string;
|
|
818
821
|
id: string;
|
|
819
|
-
information:
|
|
822
|
+
information: MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
|
|
820
823
|
mailAddress: string;
|
|
821
824
|
membershipExpiresAt?: string | undefined;
|
|
822
825
|
message?: string | undefined;
|
|
823
|
-
role:
|
|
826
|
+
role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
|
|
824
827
|
}>;
|
|
825
828
|
/** Check if the customer profile has a valid contract partner configured. */
|
|
826
829
|
isCustomerLegallyCompetent: (conf: {
|
|
@@ -829,7 +832,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
829
832
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
830
833
|
"x-access-token"?: string | undefined;
|
|
831
834
|
} | undefined;
|
|
832
|
-
}) =>
|
|
835
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
833
836
|
isLegallyCompetent?: boolean | undefined;
|
|
834
837
|
}>;
|
|
835
838
|
/** List CustomerInvites belonging to the executing user. */
|
|
@@ -843,7 +846,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
843
846
|
limit?: number | undefined;
|
|
844
847
|
skip?: number | undefined;
|
|
845
848
|
} | undefined;
|
|
846
|
-
} | null | undefined) =>
|
|
849
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
|
|
847
850
|
/** List CustomerMemberships belonging to the executing user. */
|
|
848
851
|
listCustomerMemberships: (conf?: {
|
|
849
852
|
headers?: {
|
|
@@ -855,7 +858,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
855
858
|
limit?: number | undefined;
|
|
856
859
|
skip?: number | undefined;
|
|
857
860
|
} | undefined;
|
|
858
|
-
} | null | undefined) =>
|
|
861
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
|
|
859
862
|
/** List Invites belonging to a Customer. */
|
|
860
863
|
listInvitesForCustomer: (conf: {
|
|
861
864
|
customerId: string;
|
|
@@ -868,7 +871,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
868
871
|
limit?: number | undefined;
|
|
869
872
|
skip?: number | undefined;
|
|
870
873
|
} | undefined;
|
|
871
|
-
}) =>
|
|
874
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
|
|
872
875
|
/** List Memberships belonging to a Customer. */
|
|
873
876
|
listMembershipsForCustomer: (conf: {
|
|
874
877
|
customerId: string;
|
|
@@ -881,7 +884,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
881
884
|
limit?: number | undefined;
|
|
882
885
|
skip?: number | undefined;
|
|
883
886
|
} | undefined;
|
|
884
|
-
}) =>
|
|
887
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
|
|
885
888
|
};
|
|
886
889
|
declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
887
890
|
/** List MySQLDatabases belonging to a Project. */
|
|
@@ -891,7 +894,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
891
894
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
892
895
|
"x-access-token"?: string | undefined;
|
|
893
896
|
} | undefined;
|
|
894
|
-
}) =>
|
|
897
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DatabaseMySqlDatabase[]>;
|
|
895
898
|
/** List MySQLUsers belonging to a Database. */
|
|
896
899
|
listMysqlUsers: (conf: {
|
|
897
900
|
databaseId: string;
|
|
@@ -899,7 +902,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
899
902
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
900
903
|
"x-access-token"?: string | undefined;
|
|
901
904
|
} | undefined;
|
|
902
|
-
}) =>
|
|
905
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DatabaseMySqlUser[]>;
|
|
903
906
|
/** List RedisDatabases belonging to a Project. */
|
|
904
907
|
listRedisDatabases: (conf: {
|
|
905
908
|
projectId: string;
|
|
@@ -907,7 +910,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
907
910
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
908
911
|
"x-access-token"?: string | undefined;
|
|
909
912
|
} | undefined;
|
|
910
|
-
}) =>
|
|
913
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabase[]>;
|
|
911
914
|
/** Get a MySQLDatabase. */
|
|
912
915
|
getMysqlDatabase: (conf: {
|
|
913
916
|
mysqlDatabaseId: string;
|
|
@@ -915,8 +918,8 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
915
918
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
916
919
|
"x-access-token"?: string | undefined;
|
|
917
920
|
} | undefined;
|
|
918
|
-
}) =>
|
|
919
|
-
characterSettings:
|
|
921
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
922
|
+
characterSettings: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
|
|
920
923
|
createdAt: string;
|
|
921
924
|
description: string;
|
|
922
925
|
finalizers?: string[] | undefined;
|
|
@@ -936,7 +939,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
936
939
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
937
940
|
"x-access-token"?: string | undefined;
|
|
938
941
|
} | undefined;
|
|
939
|
-
}) =>
|
|
942
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
940
943
|
accessIpMask?: string | undefined;
|
|
941
944
|
accessLevel: "full" | "readonly";
|
|
942
945
|
createdAt: string;
|
|
@@ -957,8 +960,8 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
957
960
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
958
961
|
"x-access-token"?: string | undefined;
|
|
959
962
|
} | undefined;
|
|
960
|
-
}) =>
|
|
961
|
-
configuration?:
|
|
963
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
964
|
+
configuration?: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration | undefined;
|
|
962
965
|
createdAt: string;
|
|
963
966
|
description: string;
|
|
964
967
|
finalizers: string[];
|
|
@@ -977,7 +980,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
977
980
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
978
981
|
"x-access-token"?: string | undefined;
|
|
979
982
|
} | undefined;
|
|
980
|
-
}) =>
|
|
983
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
981
984
|
url: string;
|
|
982
985
|
}>;
|
|
983
986
|
/** List available MySQL character sets and collations, optionally filtered by a MySQLVersion. */
|
|
@@ -990,7 +993,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
990
993
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
991
994
|
version?: string | undefined;
|
|
992
995
|
} | undefined;
|
|
993
|
-
} | null | undefined) =>
|
|
996
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DatabaseMySqlCharacterSettings[]>;
|
|
994
997
|
/** List MySQLVersions. */
|
|
995
998
|
listMysqlVersions: (conf?: {
|
|
996
999
|
headers?: {
|
|
@@ -1001,7 +1004,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1001
1004
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1002
1005
|
projectId?: string | undefined;
|
|
1003
1006
|
} | undefined;
|
|
1004
|
-
} | null | undefined) =>
|
|
1007
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DatabaseMySqlVersion[]>;
|
|
1005
1008
|
/** List RedisVersions. */
|
|
1006
1009
|
listRedisVersions: (conf?: {
|
|
1007
1010
|
headers?: {
|
|
@@ -1012,7 +1015,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1012
1015
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1013
1016
|
projectId?: string | undefined;
|
|
1014
1017
|
} | undefined;
|
|
1015
|
-
} | null | undefined) =>
|
|
1018
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DatabaseRedisVersion[]>;
|
|
1016
1019
|
};
|
|
1017
1020
|
declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1018
1021
|
/** Get a DNSZone. */
|
|
@@ -1022,15 +1025,15 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1022
1025
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1023
1026
|
"x-access-token"?: string | undefined;
|
|
1024
1027
|
} | undefined;
|
|
1025
|
-
}) =>
|
|
1028
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1026
1029
|
domain: string;
|
|
1027
1030
|
id: string;
|
|
1028
1031
|
recordSet: {
|
|
1029
|
-
cname:
|
|
1030
|
-
combinedARecords:
|
|
1031
|
-
mx:
|
|
1032
|
-
srv:
|
|
1033
|
-
txt:
|
|
1032
|
+
cname: MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
|
|
1033
|
+
combinedARecords: MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
|
|
1034
|
+
mx: MittwaldAPIV2.Components.Schemas.DnsRecordMX;
|
|
1035
|
+
srv: MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
|
|
1036
|
+
txt: MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
1034
1037
|
};
|
|
1035
1038
|
}>;
|
|
1036
1039
|
/** List DNSZones belonging to a Project. */
|
|
@@ -1040,7 +1043,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1040
1043
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1041
1044
|
"x-access-token"?: string | undefined;
|
|
1042
1045
|
} | undefined;
|
|
1043
|
-
}) =>
|
|
1046
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DnsZone[]>;
|
|
1044
1047
|
/** Get a Domain. */
|
|
1045
1048
|
getDomain: (conf: {
|
|
1046
1049
|
domainId: string;
|
|
@@ -1048,20 +1051,20 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1048
1051
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1049
1052
|
"x-access-token"?: string | undefined;
|
|
1050
1053
|
} | undefined;
|
|
1051
|
-
}) =>
|
|
1052
|
-
authCode?:
|
|
1053
|
-
authCode2?:
|
|
1054
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1055
|
+
authCode?: MittwaldAPIV2.Components.Schemas.DomainAuthCode | undefined;
|
|
1056
|
+
authCode2?: MittwaldAPIV2.Components.Schemas.DomainAuthCode2 | undefined;
|
|
1054
1057
|
connected: boolean;
|
|
1055
1058
|
deleted: boolean;
|
|
1056
1059
|
domain: string;
|
|
1057
1060
|
domainId: string;
|
|
1058
1061
|
handles: {
|
|
1059
|
-
adminC?:
|
|
1060
|
-
ownerC:
|
|
1062
|
+
adminC?: MittwaldAPIV2.Components.Schemas.DomainHandleReadable | undefined;
|
|
1063
|
+
ownerC: MittwaldAPIV2.Components.Schemas.DomainHandleReadable;
|
|
1061
1064
|
};
|
|
1062
1065
|
hasAuthCode: boolean;
|
|
1063
1066
|
nameservers: [string, string, ...string[]];
|
|
1064
|
-
processes?:
|
|
1067
|
+
processes?: MittwaldAPIV2.Components.Schemas.DomainProcess[] | undefined;
|
|
1065
1068
|
projectId: string;
|
|
1066
1069
|
transferInAuthCode?: string | undefined;
|
|
1067
1070
|
usesDefaultNameserver: boolean;
|
|
@@ -1073,7 +1076,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1073
1076
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1074
1077
|
"x-access-token"?: string | undefined;
|
|
1075
1078
|
} | undefined;
|
|
1076
|
-
}) =>
|
|
1079
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1077
1080
|
domain: string;
|
|
1078
1081
|
id: string;
|
|
1079
1082
|
projectId: string;
|
|
@@ -1090,7 +1093,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1090
1093
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1091
1094
|
"x-access-token"?: string | undefined;
|
|
1092
1095
|
} | undefined;
|
|
1093
|
-
}) =>
|
|
1096
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1094
1097
|
references?: string[] | undefined;
|
|
1095
1098
|
}>;
|
|
1096
1099
|
/** List the DomainOwnerships of a project. */
|
|
@@ -1100,7 +1103,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1100
1103
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1101
1104
|
"x-access-token"?: string | undefined;
|
|
1102
1105
|
} | undefined;
|
|
1103
|
-
}) =>
|
|
1106
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DomainDomainOwnership[]>;
|
|
1104
1107
|
/** List Domains belonging to a Project. */
|
|
1105
1108
|
listDomains: (conf: {
|
|
1106
1109
|
projectId: string;
|
|
@@ -1114,14 +1117,14 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1114
1117
|
limit?: number | undefined;
|
|
1115
1118
|
domainSearchName?: string | undefined;
|
|
1116
1119
|
} | undefined;
|
|
1117
|
-
}) =>
|
|
1120
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
|
|
1118
1121
|
/** List the contact schemas for a TLD. */
|
|
1119
1122
|
listTldContactSchemas: (conf: {
|
|
1120
1123
|
tld: string;
|
|
1121
1124
|
headers?: {
|
|
1122
1125
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1123
1126
|
} | undefined;
|
|
1124
|
-
}) =>
|
|
1127
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1125
1128
|
jsonSchemaAdminC?: {} | undefined;
|
|
1126
1129
|
jsonSchemaOwnerC: {};
|
|
1127
1130
|
}>;
|
|
@@ -1130,7 +1133,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1130
1133
|
headers?: {
|
|
1131
1134
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1132
1135
|
} | undefined;
|
|
1133
|
-
} | null | undefined) =>
|
|
1136
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
|
|
1134
1137
|
/** Get an Ingress. */
|
|
1135
1138
|
ingressGetSpecific: (conf: {
|
|
1136
1139
|
ingressId: string;
|
|
@@ -1138,7 +1141,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1138
1141
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1139
1142
|
"x-access-token"?: string | undefined;
|
|
1140
1143
|
} | undefined;
|
|
1141
|
-
}) =>
|
|
1144
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1142
1145
|
dnsValidationErrors: ("ERROR_UNSPECIFIED" | "ERROR_QUAD_A" | "ERROR_NO_A_RECORD" | "ERROR_ACME_CERTIFICATE_REQUEST_DEADLINE_EXCEEDED")[];
|
|
1143
1146
|
hostname: string;
|
|
1144
1147
|
id: string;
|
|
@@ -1147,9 +1150,9 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1147
1150
|
};
|
|
1148
1151
|
isDefault: boolean;
|
|
1149
1152
|
isEnabled: boolean;
|
|
1150
|
-
paths:
|
|
1153
|
+
paths: MittwaldAPIV2.Components.Schemas.IngressPath[];
|
|
1151
1154
|
projectId: string;
|
|
1152
|
-
tls:
|
|
1155
|
+
tls: MittwaldAPIV2.Components.Schemas.IngressTlsAcme | MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
|
|
1153
1156
|
}>;
|
|
1154
1157
|
/** List Ingresses the user has access to. */
|
|
1155
1158
|
ingressListAccessible: (conf?: {
|
|
@@ -1157,7 +1160,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1157
1160
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1158
1161
|
"x-access-token"?: string | undefined;
|
|
1159
1162
|
} | undefined;
|
|
1160
|
-
} | null | undefined) =>
|
|
1163
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.IngressIngress[]>;
|
|
1161
1164
|
/** List Ingresses belonging to a project. */
|
|
1162
1165
|
ingressListForProject: (conf: {
|
|
1163
1166
|
projectId: string;
|
|
@@ -1165,7 +1168,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1165
1168
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1166
1169
|
"x-access-token"?: string | undefined;
|
|
1167
1170
|
} | undefined;
|
|
1168
|
-
}) =>
|
|
1171
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.IngressIngress[]>;
|
|
1169
1172
|
};
|
|
1170
1173
|
declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1171
1174
|
/** Get a File's meta. */
|
|
@@ -1174,7 +1177,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1174
1177
|
headers?: {
|
|
1175
1178
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1176
1179
|
} | undefined;
|
|
1177
|
-
}) =>
|
|
1180
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1178
1181
|
friendlyURL: string;
|
|
1179
1182
|
id: string;
|
|
1180
1183
|
name: string;
|
|
@@ -1187,7 +1190,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1187
1190
|
headers?: {
|
|
1188
1191
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1189
1192
|
} | undefined;
|
|
1190
|
-
}) =>
|
|
1193
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1191
1194
|
maxSizeInKB: number;
|
|
1192
1195
|
mimeTypes: string[];
|
|
1193
1196
|
properties?: {
|
|
@@ -1209,7 +1212,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1209
1212
|
headers?: {
|
|
1210
1213
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1211
1214
|
} | undefined;
|
|
1212
|
-
}) =>
|
|
1215
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1213
1216
|
maxSizeInKB: number;
|
|
1214
1217
|
mimeTypes: string[];
|
|
1215
1218
|
properties?: {
|
|
@@ -1233,7 +1236,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1233
1236
|
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
1234
1237
|
Download?: boolean | undefined;
|
|
1235
1238
|
} | undefined;
|
|
1236
|
-
}) =>
|
|
1239
|
+
}) => _mittwald_react_use_promise.AsyncResource<string>;
|
|
1237
1240
|
};
|
|
1238
1241
|
declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1239
1242
|
/** List DeliveryBoxes belonging to a Project. */
|
|
@@ -1243,7 +1246,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1243
1246
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1244
1247
|
"x-access-token"?: string | undefined;
|
|
1245
1248
|
} | undefined;
|
|
1246
|
-
}) =>
|
|
1249
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MailDeliverybox[]>;
|
|
1247
1250
|
/** List MailAddresses belonging to a Project. */
|
|
1248
1251
|
listMailAddresses: (conf: {
|
|
1249
1252
|
projectId: string;
|
|
@@ -1251,7 +1254,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1251
1254
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1252
1255
|
"x-access-token"?: string | undefined;
|
|
1253
1256
|
} | undefined;
|
|
1254
|
-
}) =>
|
|
1257
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
|
|
1255
1258
|
/** Get a DeliveryBox. */
|
|
1256
1259
|
getDeliveryBox: (conf: {
|
|
1257
1260
|
deliveryBoxId: string;
|
|
@@ -1259,7 +1262,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1259
1262
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1260
1263
|
"x-access-token"?: string | undefined;
|
|
1261
1264
|
} | undefined;
|
|
1262
|
-
}) =>
|
|
1265
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1263
1266
|
authenticationEnabled: boolean;
|
|
1264
1267
|
description: string;
|
|
1265
1268
|
id: string;
|
|
@@ -1276,7 +1279,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1276
1279
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1277
1280
|
"x-access-token"?: string | undefined;
|
|
1278
1281
|
} | undefined;
|
|
1279
|
-
}) =>
|
|
1282
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1280
1283
|
address: string;
|
|
1281
1284
|
autoResponder: {
|
|
1282
1285
|
active: boolean;
|
|
@@ -1316,7 +1319,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1316
1319
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1317
1320
|
"x-access-token"?: string | undefined;
|
|
1318
1321
|
} | undefined;
|
|
1319
|
-
}) =>
|
|
1322
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1320
1323
|
blacklist: string[];
|
|
1321
1324
|
projectId: string;
|
|
1322
1325
|
whitelist: string[];
|
|
@@ -1329,7 +1332,7 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1329
1332
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1330
1333
|
"x-access-token"?: string | undefined;
|
|
1331
1334
|
} | undefined;
|
|
1332
|
-
} | null | undefined) =>
|
|
1335
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1333
1336
|
active: boolean;
|
|
1334
1337
|
email: string;
|
|
1335
1338
|
registered: boolean;
|
|
@@ -1340,7 +1343,7 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1340
1343
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1341
1344
|
"x-access-token"?: string | undefined;
|
|
1342
1345
|
} | undefined;
|
|
1343
|
-
} | null | undefined) =>
|
|
1346
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1344
1347
|
error: number;
|
|
1345
1348
|
info: number;
|
|
1346
1349
|
success: number;
|
|
@@ -1357,7 +1360,224 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1357
1360
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1358
1361
|
status?: "unread" | "read" | undefined;
|
|
1359
1362
|
} | undefined;
|
|
1360
|
-
} | null | undefined) =>
|
|
1363
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MessagingNotification[]>;
|
|
1364
|
+
};
|
|
1365
|
+
declare const buildPageInsightsApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1366
|
+
/** Get detailed performance data for a given domain and path. */
|
|
1367
|
+
pageinsightsGetPerformanceData: (conf: {
|
|
1368
|
+
queryParameters: {
|
|
1369
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1370
|
+
date?: string | undefined;
|
|
1371
|
+
};
|
|
1372
|
+
headers?: {
|
|
1373
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1374
|
+
"x-access-token"?: string | undefined;
|
|
1375
|
+
} | undefined;
|
|
1376
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1377
|
+
createdAt?: string | undefined;
|
|
1378
|
+
domain: string;
|
|
1379
|
+
metrics?: {
|
|
1380
|
+
createdAt: string;
|
|
1381
|
+
name: string;
|
|
1382
|
+
score: number;
|
|
1383
|
+
value: number;
|
|
1384
|
+
}[] | undefined;
|
|
1385
|
+
moreDataAvailable?: string[] | undefined;
|
|
1386
|
+
path: string;
|
|
1387
|
+
performanceScore: number;
|
|
1388
|
+
screenshot?: {
|
|
1389
|
+
createdAt: string;
|
|
1390
|
+
fileRef: string;
|
|
1391
|
+
} | undefined;
|
|
1392
|
+
}>;
|
|
1393
|
+
/** List websites (specified as domain and path) from a project where performance data is available. */
|
|
1394
|
+
pageinsightsListPerformanceDataForProject: (conf: {
|
|
1395
|
+
id: string;
|
|
1396
|
+
headers?: {
|
|
1397
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1398
|
+
"x-access-token"?: string | undefined;
|
|
1399
|
+
} | undefined;
|
|
1400
|
+
queryParameters?: {
|
|
1401
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1402
|
+
domain?: string | undefined;
|
|
1403
|
+
} | undefined;
|
|
1404
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1405
|
+
domain: string;
|
|
1406
|
+
paths: {
|
|
1407
|
+
createdAt: string;
|
|
1408
|
+
path: string;
|
|
1409
|
+
performanceScore: number;
|
|
1410
|
+
screenshotFileRef?: string | undefined;
|
|
1411
|
+
}[];
|
|
1412
|
+
}[]>;
|
|
1413
|
+
};
|
|
1414
|
+
declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1415
|
+
/** Get a password policy. */
|
|
1416
|
+
passwordValidationGetPasswordPolicy: (conf: {
|
|
1417
|
+
path: string;
|
|
1418
|
+
headers?: {
|
|
1419
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1420
|
+
} | undefined;
|
|
1421
|
+
}) => _mittwald_react_use_promise.AsyncResource<string>;
|
|
1422
|
+
/** Get your verified Email-Address. */
|
|
1423
|
+
getOwnEmail: (conf?: {
|
|
1424
|
+
headers?: {
|
|
1425
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1426
|
+
"x-access-token"?: string | undefined;
|
|
1427
|
+
} | undefined;
|
|
1428
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1429
|
+
email: string;
|
|
1430
|
+
}>;
|
|
1431
|
+
/** Get your current multi factor auth status. */
|
|
1432
|
+
getMfaStatus: (conf?: {
|
|
1433
|
+
headers?: {
|
|
1434
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1435
|
+
"x-access-token"?: string | undefined;
|
|
1436
|
+
} | undefined;
|
|
1437
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1438
|
+
confirmed: boolean;
|
|
1439
|
+
initialized: boolean;
|
|
1440
|
+
}>;
|
|
1441
|
+
/** List all of your ApiTokens. */
|
|
1442
|
+
listApiTokens: (conf?: {
|
|
1443
|
+
headers?: {
|
|
1444
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1445
|
+
"x-access-token"?: string | undefined;
|
|
1446
|
+
} | undefined;
|
|
1447
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.SignupApiToken[]>;
|
|
1448
|
+
/** Get your stored ssh-keys. */
|
|
1449
|
+
listSshKeys: (conf?: {
|
|
1450
|
+
headers?: {
|
|
1451
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1452
|
+
"x-access-token"?: string | undefined;
|
|
1453
|
+
} | undefined;
|
|
1454
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1455
|
+
sshKeys?: MittwaldAPIV2.Components.Schemas.SignupSshKey[] | undefined;
|
|
1456
|
+
}>;
|
|
1457
|
+
/** Get a specific ApiToken. */
|
|
1458
|
+
getApiToken: (conf: {
|
|
1459
|
+
apiTokenId: string;
|
|
1460
|
+
headers?: {
|
|
1461
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1462
|
+
"x-access-token"?: string | undefined;
|
|
1463
|
+
} | undefined;
|
|
1464
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1465
|
+
apiTokenId: string;
|
|
1466
|
+
createdAt: string;
|
|
1467
|
+
description: string;
|
|
1468
|
+
expiresAt?: string | undefined;
|
|
1469
|
+
roles: ("api_read" | "api_write")[];
|
|
1470
|
+
}>;
|
|
1471
|
+
/** Get a specific stored ssh-key. */
|
|
1472
|
+
getSshKey: (conf: {
|
|
1473
|
+
sshKeyId: string;
|
|
1474
|
+
headers?: {
|
|
1475
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1476
|
+
"x-access-token"?: string | undefined;
|
|
1477
|
+
} | undefined;
|
|
1478
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1479
|
+
sshKey: MittwaldAPIV2.Components.Schemas.SignupSshKey;
|
|
1480
|
+
}>;
|
|
1481
|
+
/** Get your account information. */
|
|
1482
|
+
getOwnAccount: (conf?: {
|
|
1483
|
+
headers?: {
|
|
1484
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1485
|
+
"x-access-token"?: string | undefined;
|
|
1486
|
+
} | undefined;
|
|
1487
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1488
|
+
email?: string | undefined;
|
|
1489
|
+
mfaDetails?: {
|
|
1490
|
+
mfaConfirmed?: boolean | undefined;
|
|
1491
|
+
mfaInitialized?: boolean | undefined;
|
|
1492
|
+
} | undefined;
|
|
1493
|
+
passwordUpdatedAt?: string | undefined;
|
|
1494
|
+
person?: MittwaldAPIV2.Components.Schemas.CommonsPerson | undefined;
|
|
1495
|
+
userId?: string | undefined;
|
|
1496
|
+
}>;
|
|
1497
|
+
/** The timestamp of your latest password change. */
|
|
1498
|
+
getPasswordUpdatedAt: (conf?: {
|
|
1499
|
+
headers?: {
|
|
1500
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1501
|
+
"x-access-token"?: string | undefined;
|
|
1502
|
+
} | undefined;
|
|
1503
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1504
|
+
passwordUpdatedAt: string;
|
|
1505
|
+
}>;
|
|
1506
|
+
/** Get personalized settings. */
|
|
1507
|
+
getPersonalizedSettings: (conf: {
|
|
1508
|
+
userId: string;
|
|
1509
|
+
headers?: {
|
|
1510
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1511
|
+
"x-access-token"?: string | undefined;
|
|
1512
|
+
} | undefined;
|
|
1513
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1514
|
+
settingsString?: string | undefined;
|
|
1515
|
+
}>;
|
|
1516
|
+
/** Get a specific session. */
|
|
1517
|
+
getSession: (conf: {
|
|
1518
|
+
tokenId: string;
|
|
1519
|
+
headers?: {
|
|
1520
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1521
|
+
"x-access-token"?: string | undefined;
|
|
1522
|
+
} | undefined;
|
|
1523
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1524
|
+
created: string;
|
|
1525
|
+
device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
|
|
1526
|
+
lastAccess?: string | undefined;
|
|
1527
|
+
location?: MittwaldAPIV2.Components.Schemas.SignupLocation | undefined;
|
|
1528
|
+
tokenId: string;
|
|
1529
|
+
}>;
|
|
1530
|
+
/** Get profile information for a user. */
|
|
1531
|
+
getUser: (conf: {
|
|
1532
|
+
userId: string;
|
|
1533
|
+
headers?: {
|
|
1534
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1535
|
+
"x-access-token"?: string | undefined;
|
|
1536
|
+
} | undefined;
|
|
1537
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1538
|
+
avatarRef?: string | undefined;
|
|
1539
|
+
email?: string | undefined;
|
|
1540
|
+
employeeInformation?: {
|
|
1541
|
+
department: string;
|
|
1542
|
+
} | undefined;
|
|
1543
|
+
person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
1544
|
+
phoneNumber?: string | undefined;
|
|
1545
|
+
registeredAt?: string | undefined;
|
|
1546
|
+
userId: string;
|
|
1547
|
+
}>;
|
|
1548
|
+
/** Submitted feedback of the given user. */
|
|
1549
|
+
listFeedback: (conf: {
|
|
1550
|
+
userId: string;
|
|
1551
|
+
headers?: {
|
|
1552
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1553
|
+
"x-access-token"?: string | undefined;
|
|
1554
|
+
} | undefined;
|
|
1555
|
+
queryParameters?: {
|
|
1556
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1557
|
+
subject?: string | undefined;
|
|
1558
|
+
} | undefined;
|
|
1559
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.UserUserFeedback[]>;
|
|
1560
|
+
/** List all sessions. */
|
|
1561
|
+
listSessions: (conf?: {
|
|
1562
|
+
headers?: {
|
|
1563
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1564
|
+
"x-access-token"?: string | undefined;
|
|
1565
|
+
} | undefined;
|
|
1566
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.SignupUserSession[]>;
|
|
1567
|
+
/** Request a support code. */
|
|
1568
|
+
supportCodeRequest: (conf?: {
|
|
1569
|
+
headers?: {
|
|
1570
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1571
|
+
"x-access-token"?: string | undefined;
|
|
1572
|
+
} | undefined;
|
|
1573
|
+
queryParameters?: {
|
|
1574
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1575
|
+
forceRecreate?: boolean | undefined;
|
|
1576
|
+
} | undefined;
|
|
1577
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1578
|
+
expiresAt?: string | undefined;
|
|
1579
|
+
supportCode?: string | undefined;
|
|
1580
|
+
}>;
|
|
1361
1581
|
};
|
|
1362
1582
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1363
1583
|
/** Get a ProjectInvite. */
|
|
@@ -1367,15 +1587,15 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1367
1587
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1368
1588
|
"x-access-token"?: string | undefined;
|
|
1369
1589
|
} | undefined;
|
|
1370
|
-
}) =>
|
|
1590
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1371
1591
|
id: string;
|
|
1372
|
-
information:
|
|
1592
|
+
information: MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
|
|
1373
1593
|
mailAddress: string;
|
|
1374
1594
|
membershipExpiresAt?: string | undefined;
|
|
1375
1595
|
message?: string | undefined;
|
|
1376
1596
|
projectDescription: string;
|
|
1377
1597
|
projectId: string;
|
|
1378
|
-
role:
|
|
1598
|
+
role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
|
|
1379
1599
|
}>;
|
|
1380
1600
|
/** Get a ProjectMembership */
|
|
1381
1601
|
getProjectMembership: (conf: {
|
|
@@ -1384,14 +1604,14 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1384
1604
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1385
1605
|
"x-access-token"?: string | undefined;
|
|
1386
1606
|
} | undefined;
|
|
1387
|
-
}) =>
|
|
1607
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1388
1608
|
expiresAt?: string | undefined;
|
|
1389
1609
|
id: string;
|
|
1390
1610
|
inherited: boolean;
|
|
1391
1611
|
inviteId: string;
|
|
1392
1612
|
memberSince?: string | undefined;
|
|
1393
1613
|
projectId: string;
|
|
1394
|
-
role:
|
|
1614
|
+
role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
|
|
1395
1615
|
userId: string;
|
|
1396
1616
|
}>;
|
|
1397
1617
|
/** Get a Project. */
|
|
@@ -1401,7 +1621,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1401
1621
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1402
1622
|
"x-access-token"?: string | undefined;
|
|
1403
1623
|
} | undefined;
|
|
1404
|
-
}) =>
|
|
1624
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1405
1625
|
clusterDomain?: string | undefined;
|
|
1406
1626
|
clusterID?: string | undefined;
|
|
1407
1627
|
createdAt: string;
|
|
@@ -1410,17 +1630,17 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1410
1630
|
directories: {
|
|
1411
1631
|
[k: string]: string;
|
|
1412
1632
|
};
|
|
1413
|
-
disableReason?:
|
|
1633
|
+
disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
|
|
1414
1634
|
enabled: boolean;
|
|
1415
1635
|
id: string;
|
|
1416
1636
|
imageRefId?: string | undefined;
|
|
1417
1637
|
isReady: boolean;
|
|
1418
1638
|
projectHostingId?: string | undefined;
|
|
1419
|
-
readiness:
|
|
1639
|
+
readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
|
|
1420
1640
|
serverId?: string | undefined;
|
|
1421
1641
|
serverShortId?: string | undefined;
|
|
1422
1642
|
shortId: string;
|
|
1423
|
-
spec?:
|
|
1643
|
+
spec?: MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
|
|
1424
1644
|
statisticsBaseDomain?: string | undefined;
|
|
1425
1645
|
}>;
|
|
1426
1646
|
/** Get a ProjectInvite by token. */
|
|
@@ -1429,15 +1649,15 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1429
1649
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1430
1650
|
"x-access-token"?: string | undefined;
|
|
1431
1651
|
};
|
|
1432
|
-
}) =>
|
|
1652
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1433
1653
|
id: string;
|
|
1434
|
-
information:
|
|
1654
|
+
information: MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
|
|
1435
1655
|
mailAddress: string;
|
|
1436
1656
|
membershipExpiresAt?: string | undefined;
|
|
1437
1657
|
message?: string | undefined;
|
|
1438
1658
|
projectDescription: string;
|
|
1439
1659
|
projectId: string;
|
|
1440
|
-
role:
|
|
1660
|
+
role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
|
|
1441
1661
|
}>;
|
|
1442
1662
|
/** Get the executing user's membership in a Project. */
|
|
1443
1663
|
getSelfMembershipForProject: (conf: {
|
|
@@ -1446,14 +1666,14 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1446
1666
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1447
1667
|
"x-access-token"?: string | undefined;
|
|
1448
1668
|
} | undefined;
|
|
1449
|
-
}) =>
|
|
1669
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1450
1670
|
expiresAt?: string | undefined;
|
|
1451
1671
|
id: string;
|
|
1452
1672
|
inherited: boolean;
|
|
1453
1673
|
inviteId: string;
|
|
1454
1674
|
memberSince?: string | undefined;
|
|
1455
1675
|
projectId: string;
|
|
1456
|
-
role:
|
|
1676
|
+
role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
|
|
1457
1677
|
userId: string;
|
|
1458
1678
|
}>;
|
|
1459
1679
|
/** Get a Server. */
|
|
@@ -1463,7 +1683,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1463
1683
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1464
1684
|
"x-access-token"?: string | undefined;
|
|
1465
1685
|
} | undefined;
|
|
1466
|
-
}) =>
|
|
1686
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1467
1687
|
clusterName: string;
|
|
1468
1688
|
createdAt: string;
|
|
1469
1689
|
customerId: string;
|
|
@@ -1472,8 +1692,8 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1472
1692
|
id: string;
|
|
1473
1693
|
imageRefId?: string | undefined;
|
|
1474
1694
|
isReady: boolean;
|
|
1475
|
-
machineType:
|
|
1476
|
-
readiness:
|
|
1695
|
+
machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
|
|
1696
|
+
readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
|
|
1477
1697
|
shortId: string;
|
|
1478
1698
|
statisticsBaseDomain?: string | undefined;
|
|
1479
1699
|
storage: string;
|
|
@@ -1490,7 +1710,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1490
1710
|
limit?: number | undefined;
|
|
1491
1711
|
skip?: number | undefined;
|
|
1492
1712
|
} | undefined;
|
|
1493
|
-
}) =>
|
|
1713
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
|
|
1494
1714
|
/** List Memberships belonging to a Project. */
|
|
1495
1715
|
listMembershipsForProject: (conf: {
|
|
1496
1716
|
projectId: string;
|
|
@@ -1503,7 +1723,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1503
1723
|
limit?: number | undefined;
|
|
1504
1724
|
skip?: number | undefined;
|
|
1505
1725
|
} | undefined;
|
|
1506
|
-
}) =>
|
|
1726
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
|
|
1507
1727
|
/** List ProjectInvites belonging to the executing user. */
|
|
1508
1728
|
listProjectInvites: (conf?: {
|
|
1509
1729
|
headers?: {
|
|
@@ -1515,7 +1735,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1515
1735
|
limit?: number | undefined;
|
|
1516
1736
|
skip?: number | undefined;
|
|
1517
1737
|
} | undefined;
|
|
1518
|
-
} | null | undefined) =>
|
|
1738
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
|
|
1519
1739
|
/** List ProjectMemberships belonging to the executing user. */
|
|
1520
1740
|
listProjectMemberships: (conf?: {
|
|
1521
1741
|
headers?: {
|
|
@@ -1527,7 +1747,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1527
1747
|
limit?: number | undefined;
|
|
1528
1748
|
skip?: number | undefined;
|
|
1529
1749
|
} | undefined;
|
|
1530
|
-
} | null | undefined) =>
|
|
1750
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
|
|
1531
1751
|
/** List Projects belonging to the executing user. */
|
|
1532
1752
|
listProjects: (conf?: {
|
|
1533
1753
|
headers?: {
|
|
@@ -1539,20 +1759,20 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1539
1759
|
customerId?: string | undefined;
|
|
1540
1760
|
serverId?: string | undefined;
|
|
1541
1761
|
} | undefined;
|
|
1542
|
-
} | null | undefined) =>
|
|
1762
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
|
|
1543
1763
|
createdAt: string;
|
|
1544
1764
|
customerId: string;
|
|
1545
1765
|
customerMeta: {
|
|
1546
1766
|
id: string;
|
|
1547
1767
|
};
|
|
1548
1768
|
description: string;
|
|
1549
|
-
disableReason?:
|
|
1769
|
+
disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
|
|
1550
1770
|
enabled: boolean;
|
|
1551
1771
|
id: string;
|
|
1552
1772
|
imageRefId?: string | undefined;
|
|
1553
1773
|
isReady: boolean;
|
|
1554
1774
|
projectHostingId?: string | undefined;
|
|
1555
|
-
readiness:
|
|
1775
|
+
readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
|
|
1556
1776
|
serverId?: string | undefined;
|
|
1557
1777
|
shortId: string;
|
|
1558
1778
|
}[]>;
|
|
@@ -1569,7 +1789,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1569
1789
|
page?: number | undefined;
|
|
1570
1790
|
skip?: number | undefined;
|
|
1571
1791
|
} | undefined;
|
|
1572
|
-
} | null | undefined) =>
|
|
1792
|
+
} | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.ProjectServer[]>;
|
|
1573
1793
|
};
|
|
1574
1794
|
declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1575
1795
|
/** List directories belonging to a Project. */
|
|
@@ -1588,13 +1808,13 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1588
1808
|
executable?: boolean | undefined;
|
|
1589
1809
|
hidden?: boolean | undefined;
|
|
1590
1810
|
} | undefined;
|
|
1591
|
-
}) =>
|
|
1811
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1592
1812
|
absolutePath: string;
|
|
1593
1813
|
isDirectory?: boolean | undefined;
|
|
1594
1814
|
isExecutable?: boolean | undefined;
|
|
1595
1815
|
isFile?: boolean | undefined;
|
|
1596
1816
|
isSymlink?: boolean | undefined;
|
|
1597
|
-
items?:
|
|
1817
|
+
items?: MittwaldAPIV2.Components.Schemas.ProjectFilesystemDirectoryListing[] | undefined;
|
|
1598
1818
|
name: string;
|
|
1599
1819
|
size: number;
|
|
1600
1820
|
target?: string | undefined;
|
|
@@ -1610,7 +1830,7 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1610
1830
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1611
1831
|
directory?: string | undefined;
|
|
1612
1832
|
} | undefined;
|
|
1613
|
-
}) =>
|
|
1833
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1614
1834
|
path?: string | undefined;
|
|
1615
1835
|
totalBytes?: number | undefined;
|
|
1616
1836
|
usedBytes?: number | undefined;
|
|
@@ -1627,7 +1847,7 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1627
1847
|
file?: string | undefined;
|
|
1628
1848
|
inline?: boolean | undefined;
|
|
1629
1849
|
} | undefined;
|
|
1630
|
-
}) =>
|
|
1850
|
+
}) => _mittwald_react_use_promise.AsyncResource<string>;
|
|
1631
1851
|
/** Get a Project's file/filesystem authorization token. */
|
|
1632
1852
|
getJwt: (conf: {
|
|
1633
1853
|
projectId: string;
|
|
@@ -1635,7 +1855,7 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1635
1855
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1636
1856
|
"x-access-token"?: string | undefined;
|
|
1637
1857
|
} | undefined;
|
|
1638
|
-
}) =>
|
|
1858
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1639
1859
|
jwt: string;
|
|
1640
1860
|
}>;
|
|
1641
1861
|
/** Get a Project file's information. */
|
|
@@ -1649,13 +1869,13 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1649
1869
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1650
1870
|
file?: string | undefined;
|
|
1651
1871
|
} | undefined;
|
|
1652
|
-
}) =>
|
|
1872
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1653
1873
|
absolutePath: string;
|
|
1654
1874
|
isDirectory?: boolean | undefined;
|
|
1655
1875
|
isExecutable?: boolean | undefined;
|
|
1656
1876
|
isFile?: boolean | undefined;
|
|
1657
1877
|
isSymlink?: boolean | undefined;
|
|
1658
|
-
items?:
|
|
1878
|
+
items?: MittwaldAPIV2.Components.Schemas.ProjectFilesystemDirectoryListing[] | undefined;
|
|
1659
1879
|
name: string;
|
|
1660
1880
|
size: number;
|
|
1661
1881
|
target?: string | undefined;
|
|
@@ -1674,7 +1894,7 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1674
1894
|
limit?: number | undefined;
|
|
1675
1895
|
skip?: number | undefined;
|
|
1676
1896
|
} | undefined;
|
|
1677
|
-
}) =>
|
|
1897
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.SshuserSftpUser[]>;
|
|
1678
1898
|
/** Get an SFTPUser. */
|
|
1679
1899
|
sftpUserGetSftpUser: (conf: {
|
|
1680
1900
|
sftpUserId: string;
|
|
@@ -1682,8 +1902,8 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1682
1902
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1683
1903
|
"x-access-token"?: string | undefined;
|
|
1684
1904
|
} | undefined;
|
|
1685
|
-
}) =>
|
|
1686
|
-
accessLevel:
|
|
1905
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1906
|
+
accessLevel: MittwaldAPIV2.Components.Schemas.SshuserAccessLevel;
|
|
1687
1907
|
active?: boolean | undefined;
|
|
1688
1908
|
authUpdatedAt: string;
|
|
1689
1909
|
createdAt: string;
|
|
@@ -1693,7 +1913,7 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1693
1913
|
hasPassword: boolean;
|
|
1694
1914
|
id: string;
|
|
1695
1915
|
projectId: string;
|
|
1696
|
-
publicKeys?:
|
|
1916
|
+
publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
|
|
1697
1917
|
updatedAt?: string | undefined;
|
|
1698
1918
|
userName: string;
|
|
1699
1919
|
}>;
|
|
@@ -1709,7 +1929,7 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1709
1929
|
limit?: number | undefined;
|
|
1710
1930
|
skip?: number | undefined;
|
|
1711
1931
|
} | undefined;
|
|
1712
|
-
}) =>
|
|
1932
|
+
}) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.SshuserSshUser[]>;
|
|
1713
1933
|
/** Get an SSHUser. */
|
|
1714
1934
|
sshUserGetSshUser: (conf: {
|
|
1715
1935
|
sshUserId: string;
|
|
@@ -1717,7 +1937,7 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1717
1937
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1718
1938
|
"x-access-token"?: string | undefined;
|
|
1719
1939
|
} | undefined;
|
|
1720
|
-
}) =>
|
|
1940
|
+
}) => _mittwald_react_use_promise.AsyncResource<{
|
|
1721
1941
|
active?: boolean | undefined;
|
|
1722
1942
|
authUpdatedAt: string;
|
|
1723
1943
|
createdAt: string;
|
|
@@ -1726,173 +1946,12 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1726
1946
|
hasPassword: boolean;
|
|
1727
1947
|
id: string;
|
|
1728
1948
|
projectId: string;
|
|
1729
|
-
publicKeys?:
|
|
1949
|
+
publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
|
|
1730
1950
|
updatedAt?: string | undefined;
|
|
1731
1951
|
userName: string;
|
|
1732
1952
|
}>;
|
|
1733
1953
|
};
|
|
1734
|
-
declare
|
|
1735
|
-
/** Get your verified Email-Address. */
|
|
1736
|
-
getOwnEmail: (conf?: {
|
|
1737
|
-
headers?: {
|
|
1738
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1739
|
-
"x-access-token"?: string | undefined;
|
|
1740
|
-
} | undefined;
|
|
1741
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1742
|
-
email: string;
|
|
1743
|
-
}>;
|
|
1744
|
-
/** Get your current multi factor auth status. */
|
|
1745
|
-
getMfaStatus: (conf?: {
|
|
1746
|
-
headers?: {
|
|
1747
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1748
|
-
"x-access-token"?: string | undefined;
|
|
1749
|
-
} | undefined;
|
|
1750
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1751
|
-
confirmed: boolean;
|
|
1752
|
-
initialized: boolean;
|
|
1753
|
-
}>;
|
|
1754
|
-
/** List all of your ApiTokens. */
|
|
1755
|
-
listApiTokens: (conf?: {
|
|
1756
|
-
headers?: {
|
|
1757
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1758
|
-
"x-access-token"?: string | undefined;
|
|
1759
|
-
} | undefined;
|
|
1760
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SignupApiToken[]>;
|
|
1761
|
-
/** Get your stored ssh-keys. */
|
|
1762
|
-
listSshKeys: (conf?: {
|
|
1763
|
-
headers?: {
|
|
1764
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1765
|
-
"x-access-token"?: string | undefined;
|
|
1766
|
-
} | undefined;
|
|
1767
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1768
|
-
sshKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey[] | undefined;
|
|
1769
|
-
}>;
|
|
1770
|
-
/** Get a specific ApiToken. */
|
|
1771
|
-
getApiToken: (conf: {
|
|
1772
|
-
apiTokenId: string;
|
|
1773
|
-
headers?: {
|
|
1774
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1775
|
-
"x-access-token"?: string | undefined;
|
|
1776
|
-
} | undefined;
|
|
1777
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1778
|
-
apiTokenId: string;
|
|
1779
|
-
createdAt: string;
|
|
1780
|
-
description: string;
|
|
1781
|
-
expiresAt?: string | undefined;
|
|
1782
|
-
roles: ("api_read" | "api_write")[];
|
|
1783
|
-
}>;
|
|
1784
|
-
/** Get a specific stored ssh-key. */
|
|
1785
|
-
getSshKey: (conf: {
|
|
1786
|
-
sshKeyId: string;
|
|
1787
|
-
headers?: {
|
|
1788
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1789
|
-
"x-access-token"?: string | undefined;
|
|
1790
|
-
} | undefined;
|
|
1791
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1792
|
-
sshKey: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey;
|
|
1793
|
-
}>;
|
|
1794
|
-
/** Get your account information. */
|
|
1795
|
-
getOwnAccount: (conf?: {
|
|
1796
|
-
headers?: {
|
|
1797
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1798
|
-
"x-access-token"?: string | undefined;
|
|
1799
|
-
} | undefined;
|
|
1800
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1801
|
-
email?: string | undefined;
|
|
1802
|
-
mfaDetails?: {
|
|
1803
|
-
mfaConfirmed?: boolean | undefined;
|
|
1804
|
-
mfaInitialized?: boolean | undefined;
|
|
1805
|
-
} | undefined;
|
|
1806
|
-
passwordUpdatedAt?: string | undefined;
|
|
1807
|
-
person?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson | undefined;
|
|
1808
|
-
userId?: string | undefined;
|
|
1809
|
-
}>;
|
|
1810
|
-
/** The timestamp of your latest password change. */
|
|
1811
|
-
getPasswordUpdatedAt: (conf?: {
|
|
1812
|
-
headers?: {
|
|
1813
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1814
|
-
"x-access-token"?: string | undefined;
|
|
1815
|
-
} | undefined;
|
|
1816
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1817
|
-
passwordUpdatedAt: string;
|
|
1818
|
-
}>;
|
|
1819
|
-
/** Get personalized settings. */
|
|
1820
|
-
getPersonalizedSettings: (conf: {
|
|
1821
|
-
userId: string;
|
|
1822
|
-
headers?: {
|
|
1823
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1824
|
-
"x-access-token"?: string | undefined;
|
|
1825
|
-
} | undefined;
|
|
1826
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1827
|
-
settingsString?: string | undefined;
|
|
1828
|
-
}>;
|
|
1829
|
-
/** Get a specific session. */
|
|
1830
|
-
getSession: (conf: {
|
|
1831
|
-
tokenId: string;
|
|
1832
|
-
headers?: {
|
|
1833
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1834
|
-
"x-access-token"?: string | undefined;
|
|
1835
|
-
} | undefined;
|
|
1836
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1837
|
-
created: string;
|
|
1838
|
-
device: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
|
|
1839
|
-
lastAccess?: string | undefined;
|
|
1840
|
-
location?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupLocation | undefined;
|
|
1841
|
-
tokenId: string;
|
|
1842
|
-
}>;
|
|
1843
|
-
/** Get profile information for a user. */
|
|
1844
|
-
getUser: (conf: {
|
|
1845
|
-
userId: string;
|
|
1846
|
-
headers?: {
|
|
1847
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1848
|
-
"x-access-token"?: string | undefined;
|
|
1849
|
-
} | undefined;
|
|
1850
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1851
|
-
avatarRef?: string | undefined;
|
|
1852
|
-
email?: string | undefined;
|
|
1853
|
-
employeeInformation?: {
|
|
1854
|
-
department: string;
|
|
1855
|
-
} | undefined;
|
|
1856
|
-
person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
|
|
1857
|
-
phoneNumber?: string | undefined;
|
|
1858
|
-
registeredAt?: string | undefined;
|
|
1859
|
-
userId: string;
|
|
1860
|
-
}>;
|
|
1861
|
-
/** Submitted feedback of the given user. */
|
|
1862
|
-
listFeedback: (conf: {
|
|
1863
|
-
userId: string;
|
|
1864
|
-
headers?: {
|
|
1865
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1866
|
-
"x-access-token"?: string | undefined;
|
|
1867
|
-
} | undefined;
|
|
1868
|
-
queryParameters?: {
|
|
1869
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1870
|
-
subject?: string | undefined;
|
|
1871
|
-
} | undefined;
|
|
1872
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.UserUserFeedback[]>;
|
|
1873
|
-
/** List all sessions. */
|
|
1874
|
-
listSessions: (conf?: {
|
|
1875
|
-
headers?: {
|
|
1876
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1877
|
-
"x-access-token"?: string | undefined;
|
|
1878
|
-
} | undefined;
|
|
1879
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SignupUserSession[]>;
|
|
1880
|
-
/** Request a support code. */
|
|
1881
|
-
supportCodeRequest: (conf?: {
|
|
1882
|
-
headers?: {
|
|
1883
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1884
|
-
"x-access-token"?: string | undefined;
|
|
1885
|
-
} | undefined;
|
|
1886
|
-
queryParameters?: {
|
|
1887
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1888
|
-
forceRecreate?: boolean | undefined;
|
|
1889
|
-
} | undefined;
|
|
1890
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1891
|
-
expiresAt?: string | undefined;
|
|
1892
|
-
supportCode?: string | undefined;
|
|
1893
|
-
}>;
|
|
1894
|
-
};
|
|
1895
|
-
export declare class MittwaldAPIV2ClientReact {
|
|
1954
|
+
declare class MittwaldAPIV2ClientReact {
|
|
1896
1955
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
1897
1956
|
readonly app: ReturnType<typeof buildAppApi>;
|
|
1898
1957
|
/** The article API allows you to read article information. */
|
|
@@ -1917,14 +1976,18 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
1917
1976
|
readonly mail: ReturnType<typeof buildMailApi>;
|
|
1918
1977
|
/** The notification API allows you to manage your notifications. */
|
|
1919
1978
|
readonly notification: ReturnType<typeof buildNotificationApi>;
|
|
1979
|
+
/** The page insights API allows you to get page insights information. */
|
|
1980
|
+
readonly pageInsights: ReturnType<typeof buildPageInsightsApi>;
|
|
1981
|
+
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */
|
|
1982
|
+
readonly user: ReturnType<typeof buildUserApi>;
|
|
1920
1983
|
/** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
|
|
1921
1984
|
readonly project: ReturnType<typeof buildProjectApi>;
|
|
1922
1985
|
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
1923
1986
|
readonly projectFileSystem: ReturnType<typeof buildProjectFileSystemApi>;
|
|
1924
1987
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
1925
1988
|
readonly sshsftpUser: ReturnType<typeof buildSshsftpUserApi>;
|
|
1926
|
-
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */
|
|
1927
|
-
readonly user: ReturnType<typeof buildUserApi>;
|
|
1928
1989
|
private constructor();
|
|
1929
1990
|
static fromBaseClient(baseClient: MittwaldAPIV2Client): MittwaldAPIV2ClientReact;
|
|
1930
1991
|
}
|
|
1992
|
+
|
|
1993
|
+
export { MittwaldAPIV2ClientReact };
|