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