@mittwald/api-client 3.1.56 → 3.1.58

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.
@@ -1,8 +1,5 @@
1
- import * as _mittwald_react_use_promise from '@mittwald/react-use-promise';
2
- import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.c359884d.mjs';
3
- import '@mittwald/api-client-commons';
4
- import 'axios';
5
-
1
+ import MittwaldAPIV2Client from "./client.js";
2
+ export * from "@mittwald/react-use-promise";
6
3
  declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
7
4
  /** Get an 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
- }) => _mittwald_react_use_promise.AsyncResource<{
15
- actionCapabilities?: MittwaldAPIV2.Components.Schemas.AppActionCapabilities | undefined;
11
+ }) => import("@mittwald/react-use-promise").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
- }) => _mittwald_react_use_promise.AsyncResource<{
24
+ }) => import("@mittwald/react-use-promise").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 an 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
- }) => _mittwald_react_use_promise.AsyncResource<{
54
- breakingNote?: MittwaldAPIV2.Components.Schemas.AppBreakingNote | undefined;
55
- databases?: MittwaldAPIV2.Components.Schemas.AppDatabaseDependency[] | undefined;
50
+ }) => import("@mittwald/react-use-promise").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 installed `SystemSoftware' for a specific `AppInstallation`. */
67
64
  getInstalledSystemsoftwareForAppinstallation: (conf: {
@@ -74,20 +71,21 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
74
71
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
75
72
  tagFilter?: string | undefined;
76
73
  } | undefined;
77
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.AppSystemSoftware[]>;
74
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftware[]>;
78
75
  /** Get the missing requirements of an appInstallation for a specific target AppVersion. */
79
76
  getMissingDependenciesForAppinstallation: (conf: {
80
77
  queryParameters: {
81
78
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
79
+ targetAppVersionID: string;
82
80
  };
83
81
  appInstallationId: string;
84
82
  headers?: {
85
83
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
86
84
  "x-access-token"?: string | undefined;
87
85
  } | undefined;
88
- }) => _mittwald_react_use_promise.AsyncResource<{
89
- missingSystemSoftwareDependencies?: MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[] | undefined;
90
- missingUserInputs?: MittwaldAPIV2.Components.Schemas.AppUserInput[] | undefined;
86
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
87
+ missingSystemSoftwareDependencies?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[] | undefined;
88
+ missingUserInputs?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppUserInput[] | undefined;
91
89
  }>;
92
90
  /** Get a SystemSoftware. */
93
91
  getSystemsoftware: (conf: {
@@ -96,7 +94,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
96
94
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
97
95
  "x-access-token"?: string | undefined;
98
96
  } | undefined;
99
- }) => _mittwald_react_use_promise.AsyncResource<{
97
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
100
98
  id: string;
101
99
  meta?: {
102
100
  [k: string]: string;
@@ -112,13 +110,13 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
112
110
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
113
111
  "x-access-token"?: string | undefined;
114
112
  } | undefined;
115
- }) => _mittwald_react_use_promise.AsyncResource<{
113
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
116
114
  externalVersion: string;
117
115
  id: string;
118
116
  internalVersion: string;
119
117
  recommended?: boolean | undefined;
120
- systemSoftwareDependencies?: MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[] | undefined;
121
- userInputs?: MittwaldAPIV2.Components.Schemas.AppUserInput[] | undefined;
118
+ systemSoftwareDependencies?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftwareDependency[] | undefined;
119
+ userInputs?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppUserInput[] | undefined;
122
120
  }>;
123
121
  /** List AppInstallations belonging to a Project. */
124
122
  listAppinstallations: (conf: {
@@ -133,7 +131,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
133
131
  page?: number | undefined;
134
132
  skip?: number | undefined;
135
133
  } | undefined;
136
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.AppAppInstallation[]>;
134
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallation[]>;
137
135
  /** List Apps. */
138
136
  listApps: (conf?: {
139
137
  headers?: {
@@ -146,7 +144,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
146
144
  page?: number | undefined;
147
145
  skip?: number | undefined;
148
146
  } | undefined;
149
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.AppApp[]>;
147
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppApp[]>;
150
148
  /** List AppVersions belonging to an App. */
151
149
  listAppversions: (conf: {
152
150
  appId: string;
@@ -158,7 +156,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
158
156
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
159
157
  recommended?: boolean | undefined;
160
158
  } | undefined;
161
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.AppAppVersion[]>;
159
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppVersion[]>;
162
160
  /** List SystemSoftwares. */
163
161
  listSystemsoftwares: (conf?: {
164
162
  headers?: {
@@ -171,7 +169,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
171
169
  page?: number | undefined;
172
170
  skip?: number | undefined;
173
171
  } | undefined;
174
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.AppSystemSoftware[]>;
172
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftware[]>;
175
173
  /** List SystemSoftwareVersions belonging to a SystemSoftware. */
176
174
  listSystemsoftwareversions: (conf: {
177
175
  systemSoftwareId: string;
@@ -184,7 +182,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
184
182
  versionRange?: string | undefined;
185
183
  recommended?: boolean | undefined;
186
184
  } | undefined;
187
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.AppSystemSoftwareVersion[]>;
185
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftwareVersion[]>;
188
186
  /** List update candidates belonging to an AppVersion. */
189
187
  listUpdateCandidatesForAppversion: (conf: {
190
188
  appId: string;
@@ -193,14 +191,14 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
193
191
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
194
192
  "x-access-token"?: string | undefined;
195
193
  } | undefined;
196
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.AppAppVersion[]>;
194
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppVersion[]>;
197
195
  /** Get runtime status belonging to an AppInstallation. */
198
196
  retrieveStatus: (conf: {
199
197
  appInstallationId: string;
200
198
  headers?: {
201
199
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
202
200
  } | undefined;
203
- }) => _mittwald_react_use_promise.AsyncResource<{
201
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
204
202
  lastExitCode?: number | undefined;
205
203
  logFileLocation: string;
206
204
  state: "running" | "stopped" | "exited";
@@ -218,10 +216,10 @@ declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
218
216
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
219
217
  customerId?: string | undefined;
220
218
  } | undefined;
221
- }) => _mittwald_react_use_promise.AsyncResource<{
222
- addons?: MittwaldAPIV2.Components.Schemas.ArticleArticleAddons[] | undefined;
219
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
220
+ addons?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleArticleAddons[] | undefined;
223
221
  articleId: string;
224
- attributes?: MittwaldAPIV2.Components.Schemas.ArticleArticleAttributes[] | undefined;
222
+ attributes?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleArticleAttributes[] | undefined;
225
223
  balanceAddonKey?: string | undefined;
226
224
  contractDurationInMonth: number;
227
225
  description: string;
@@ -233,13 +231,13 @@ declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
233
231
  memory: string;
234
232
  name: string;
235
233
  } | undefined;
236
- modifierArticles?: MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
234
+ modifierArticles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
237
235
  name: string;
238
236
  orderable: "full" | "forbidden" | "internal" | "beta_testing" | "deprecated";
239
- possibleArticleChanges?: MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
237
+ possibleArticleChanges?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
240
238
  price?: number | undefined;
241
- tags?: MittwaldAPIV2.Components.Schemas.ArticleArticleTag[] | undefined;
242
- template: MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
239
+ tags?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleArticleTag[] | undefined;
240
+ template: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleArticleTemplate;
243
241
  }>;
244
242
  /** List Articles. */
245
243
  listArticles: (conf?: {
@@ -258,7 +256,7 @@ declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
258
256
  orderable?: ("full" | "forbidden" | "internal" | "beta_testing" | "deprecated")[] | undefined;
259
257
  name?: string | undefined;
260
258
  } | undefined;
261
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.ArticleReadableArticle[]>;
259
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableArticle[]>;
262
260
  };
263
261
  declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
264
262
  /** List BackupSchedules belonging to a Project. */
@@ -268,7 +266,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
268
266
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
269
267
  "x-access-token"?: string | undefined;
270
268
  } | undefined;
271
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.BackupProjectBackupSchedule[]>;
269
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupSchedule[]>;
272
270
  /** List Backups belonging to a Project. */
273
271
  listProjectBackups: (conf: {
274
272
  projectId: string;
@@ -276,7 +274,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
276
274
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
277
275
  "x-access-token"?: string | undefined;
278
276
  } | undefined;
279
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.BackupProjectBackup[]>;
277
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackup[]>;
280
278
  /** Get a ProjectBackupSchedule. */
281
279
  getProjectBackupSchedule: (conf: {
282
280
  projectBackupScheduleId: string;
@@ -284,7 +282,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
284
282
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
285
283
  "x-access-token"?: string | undefined;
286
284
  } | undefined;
287
- }) => _mittwald_react_use_promise.AsyncResource<{
285
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
288
286
  createdAt?: string | undefined;
289
287
  description?: string | undefined;
290
288
  id: string;
@@ -301,12 +299,12 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
301
299
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
302
300
  "x-access-token"?: string | undefined;
303
301
  } | undefined;
304
- }) => _mittwald_react_use_promise.AsyncResource<{
302
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
305
303
  createdAt?: string | undefined;
306
304
  deletable: boolean;
307
305
  description?: string | undefined;
308
306
  expiresAt?: string | undefined;
309
- export?: MittwaldAPIV2.Components.Schemas.BackupProjectBackupExport | undefined;
307
+ export?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupExport | undefined;
310
308
  id: string;
311
309
  parentId?: string | undefined;
312
310
  projectId: string;
@@ -321,10 +319,10 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
321
319
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
322
320
  "x-access-token"?: string | undefined;
323
321
  } | undefined;
324
- }) => _mittwald_react_use_promise.AsyncResource<{
322
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
325
323
  activationDate?: string | undefined;
326
- aggregateReference?: MittwaldAPIV2.Components.Schemas.ContractAggregateReference | undefined;
327
- articles: MittwaldAPIV2.Components.Schemas.ContractArticle[];
324
+ aggregateReference?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractAggregateReference | undefined;
325
+ articles: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractArticle[];
328
326
  contractPeriod: number;
329
327
  description: string;
330
328
  freeTrialDays?: number | undefined;
@@ -341,9 +339,9 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
341
339
  orderDate: string;
342
340
  orderId?: string | undefined;
343
341
  replacedByItem?: string | undefined;
344
- tariffChange?: MittwaldAPIV2.Components.Schemas.ContractTariffChange | undefined;
345
- termination?: MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
346
- totalPrice: MittwaldAPIV2.Components.Schemas.ContractPrice;
342
+ tariffChange?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTariffChange | undefined;
343
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
344
+ totalPrice: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractPrice;
347
345
  }>;
348
346
  /** Return the Contract for the given Domain. */
349
347
  getDetailOfContractByDomain: (conf: {
@@ -352,13 +350,13 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
352
350
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
353
351
  "x-access-token"?: string | undefined;
354
352
  } | undefined;
355
- }) => _mittwald_react_use_promise.AsyncResource<{
356
- additionalItems?: MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
357
- baseItem: MittwaldAPIV2.Components.Schemas.ContractContractItem;
353
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
354
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
355
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
358
356
  contractId: string;
359
357
  contractNumber: string;
360
358
  customerId: string;
361
- termination?: MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
359
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
362
360
  }>;
363
361
  /** Return the Contract for the given Project. */
364
362
  getDetailOfContractByProject: (conf: {
@@ -367,13 +365,13 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
367
365
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
368
366
  "x-access-token"?: string | undefined;
369
367
  } | undefined;
370
- }) => _mittwald_react_use_promise.AsyncResource<{
371
- additionalItems?: MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
372
- baseItem: MittwaldAPIV2.Components.Schemas.ContractContractItem;
368
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
369
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
370
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
373
371
  contractId: string;
374
372
  contractNumber: string;
375
373
  customerId: string;
376
- termination?: MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
374
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
377
375
  }>;
378
376
  /** Return the Contract for the given Server. */
379
377
  getDetailOfContractByServer: (conf: {
@@ -382,13 +380,13 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
382
380
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
383
381
  "x-access-token"?: string | undefined;
384
382
  } | undefined;
385
- }) => _mittwald_react_use_promise.AsyncResource<{
386
- additionalItems?: MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
387
- baseItem: MittwaldAPIV2.Components.Schemas.ContractContractItem;
383
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
384
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
385
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
388
386
  contractId: string;
389
387
  contractNumber: string;
390
388
  customerId: string;
391
- termination?: MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
389
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
392
390
  }>;
393
391
  /** Get the ContractItem with the given ID. */
394
392
  getDetailOfContractItem: (conf: {
@@ -398,10 +396,10 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
398
396
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
399
397
  "x-access-token"?: string | undefined;
400
398
  } | undefined;
401
- }) => _mittwald_react_use_promise.AsyncResource<{
399
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
402
400
  activationDate?: string | undefined;
403
- aggregateReference?: MittwaldAPIV2.Components.Schemas.ContractAggregateReference | undefined;
404
- articles: MittwaldAPIV2.Components.Schemas.ContractArticle[];
401
+ aggregateReference?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractAggregateReference | undefined;
402
+ articles: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractArticle[];
405
403
  contractPeriod: number;
406
404
  description: string;
407
405
  freeTrialDays?: number | undefined;
@@ -418,9 +416,9 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
418
416
  orderDate: string;
419
417
  orderId?: string | undefined;
420
418
  replacedByItem?: string | undefined;
421
- tariffChange?: MittwaldAPIV2.Components.Schemas.ContractTariffChange | undefined;
422
- termination?: MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
423
- totalPrice: MittwaldAPIV2.Components.Schemas.ContractPrice;
419
+ tariffChange?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTariffChange | undefined;
420
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
421
+ totalPrice: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractPrice;
424
422
  }>;
425
423
  /** Returns the Contract with the given ID. */
426
424
  getDetailOfContract: (conf: {
@@ -429,13 +427,13 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
429
427
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
430
428
  "x-access-token"?: string | undefined;
431
429
  } | undefined;
432
- }) => _mittwald_react_use_promise.AsyncResource<{
433
- additionalItems?: MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
434
- baseItem: MittwaldAPIV2.Components.Schemas.ContractContractItem;
430
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
431
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
432
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
435
433
  contractId: string;
436
434
  contractNumber: string;
437
435
  customerId: string;
438
- termination?: MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
436
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
439
437
  }>;
440
438
  /** Return the next TerminationDate for the ContractItem with the given ID. */
441
439
  getNextTerminationDateForItem: (conf: {
@@ -445,7 +443,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
445
443
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
446
444
  "x-access-token"?: string | undefined;
447
445
  } | undefined;
448
- }) => _mittwald_react_use_promise.AsyncResource<{
446
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
449
447
  contractItemId: string;
450
448
  nextTerminationDate: string;
451
449
  }>;
@@ -462,7 +460,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
462
460
  skip?: number | undefined;
463
461
  page?: number | undefined;
464
462
  } | undefined;
465
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.ContractContract[]>;
463
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContract[]>;
466
464
  /** Get details of an Invoice. */
467
465
  invoiceDetail: (conf: {
468
466
  invoiceId: string;
@@ -470,9 +468,9 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
470
468
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
471
469
  "x-access-token"?: string | undefined;
472
470
  } | undefined;
473
- }) => _mittwald_react_use_promise.AsyncResource<{
471
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
474
472
  amountPaid: number;
475
- cancellation?: MittwaldAPIV2.Components.Schemas.InvoiceCancellation | undefined;
473
+ cancellation?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceCancellation | undefined;
476
474
  cancellationOf?: string | undefined;
477
475
  currency: string;
478
476
  customerId: string;
@@ -480,14 +478,14 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
480
478
  groups: {
481
479
  contractId?: string | undefined;
482
480
  description?: string | undefined;
483
- items: MittwaldAPIV2.Components.Schemas.InvoiceInvoiceItem[];
481
+ items: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceInvoiceItem[];
484
482
  }[];
485
483
  id: string;
486
484
  invoiceNumber: string;
487
485
  invoiceType: "REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION";
488
- paymentSettings?: MittwaldAPIV2.Components.Schemas.InvoicePaymentSettings | undefined;
486
+ paymentSettings?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoicePaymentSettings | undefined;
489
487
  pdfId: string;
490
- recipient: MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
488
+ recipient: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient;
491
489
  status: "NEW" | "CONFIRMED" | "DENIED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID";
492
490
  totalGross: number;
493
491
  totalNet: number;
@@ -500,16 +498,16 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
500
498
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
501
499
  "x-access-token"?: string | undefined;
502
500
  } | undefined;
503
- }) => _mittwald_react_use_promise.AsyncResource<{
501
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
504
502
  additionalEmailRecipients?: string[] | undefined;
505
503
  id: string;
506
504
  invoicePeriod?: number | undefined;
507
- lastBankingInformation?: MittwaldAPIV2.Components.Schemas.InvoiceBankingInformation | undefined;
508
- paymentSettings?: MittwaldAPIV2.Components.Schemas.InvoicePaymentSettings | undefined;
505
+ lastBankingInformation?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceBankingInformation | undefined;
506
+ paymentSettings?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoicePaymentSettings | undefined;
509
507
  printedInvoices?: boolean | undefined;
510
- recipient?: MittwaldAPIV2.Components.Schemas.InvoiceRecipient | undefined;
508
+ recipient?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient | undefined;
511
509
  recipientSameAsOwner?: boolean | undefined;
512
- status?: MittwaldAPIV2.Components.Schemas.InvoiceInvoiceSettingsStatus[] | undefined;
510
+ status?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceInvoiceSettingsStatus[] | undefined;
513
511
  targetDay?: number | undefined;
514
512
  }>;
515
513
  /** Request an Access Token for the Invoice file. */
@@ -520,7 +518,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
520
518
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
521
519
  "x-access-token"?: string | undefined;
522
520
  } | undefined;
523
- }) => _mittwald_react_use_promise.AsyncResource<{
521
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
524
522
  accessToken: string;
525
523
  expiresAt: string;
526
524
  }>;
@@ -538,7 +536,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
538
536
  skip?: number | undefined;
539
537
  page?: number | undefined;
540
538
  } | undefined;
541
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.InvoiceInvoice[]>;
539
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceInvoice[]>;
542
540
  /** Get Order for Customer. */
543
541
  orderGetOrder: (conf: {
544
542
  orderId: string;
@@ -546,19 +544,19 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
546
544
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
547
545
  "x-access-token"?: string | undefined;
548
546
  } | undefined;
549
- }) => _mittwald_react_use_promise.AsyncResource<{
547
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
550
548
  contractChangeContractId?: string | undefined;
551
549
  customerId: string;
552
550
  dueDate?: string | undefined;
553
551
  invoicingPeriod: number;
554
- items: MittwaldAPIV2.Components.Schemas.OrderOrderItem[];
552
+ items: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderItem[];
555
553
  orderDate: string;
556
554
  orderId: string;
557
555
  orderNumber: string;
558
- profile?: MittwaldAPIV2.Components.Schemas.OrderProfile | undefined;
559
- status: MittwaldAPIV2.Components.Schemas.OrderOrderStatus;
560
- summary: MittwaldAPIV2.Components.Schemas.OrderOrderSummary;
561
- type: MittwaldAPIV2.Components.Schemas.OrderOrderType;
556
+ profile?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderProfile | undefined;
557
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus;
558
+ summary: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderSummary;
559
+ type: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderType;
562
560
  }>;
563
561
  /** Get list of Orders of a Customer. */
564
562
  orderListCustomerOrders: (conf: {
@@ -572,11 +570,11 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
572
570
  limit?: number | undefined;
573
571
  skip?: number | undefined;
574
572
  page?: number | undefined;
575
- includesStatus?: MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
576
- excludesStatus?: MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
573
+ includesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
574
+ excludesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
577
575
  templateNames?: string[] | undefined;
578
576
  } | undefined;
579
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
577
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
580
578
  /** Get list of Orders of a Project. */
581
579
  orderListProjectOrders: (conf: {
582
580
  projectId: string;
@@ -589,11 +587,11 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
589
587
  limit?: number | undefined;
590
588
  skip?: number | undefined;
591
589
  page?: number | undefined;
592
- includesStatus?: MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
593
- excludesStatus?: MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
590
+ includesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
591
+ excludesStatus?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderOrderStatus[] | undefined;
594
592
  templateNames?: string[] | undefined;
595
593
  } | undefined;
596
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
594
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
597
595
  };
598
596
  declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
599
597
  /** Get all conversation the authenticated user has created or has access to. */
@@ -601,24 +599,24 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
601
599
  headers?: {
602
600
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
603
601
  } | undefined;
604
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.ConversationConversation[]>;
602
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationConversation[]>;
605
603
  /** Get all message of the conversation. */
606
604
  listMessagesByConversation: (conf: {
607
605
  conversationId: string;
608
606
  headers?: {
609
607
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
610
608
  } | undefined;
611
- }) => _mittwald_react_use_promise.AsyncResource<(MittwaldAPIV2.Components.Schemas.ConversationMessage | MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[]>;
609
+ }) => import("@mittwald/react-use-promise").AsyncResource<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationMessage | import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatusUpdate)[]>;
612
610
  /** Get a specific conversation category. */
613
611
  getCategory: (conf: {
614
612
  categoryId: string;
615
613
  headers?: {
616
614
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
617
615
  } | undefined;
618
- }) => _mittwald_react_use_promise.AsyncResource<{
616
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
619
617
  categoryId: string;
620
618
  name: string;
621
- referenceType: MittwaldAPIV2.Components.Schemas.ConversationCategoryReferenceType;
619
+ referenceType: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategoryReferenceType;
622
620
  }>;
623
621
  /** Get members of a support conversation. */
624
622
  getConversationMembers: (conf: {
@@ -626,7 +624,7 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
626
624
  headers?: {
627
625
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
628
626
  } | undefined;
629
- }) => _mittwald_react_use_promise.AsyncResource<(MittwaldAPIV2.Components.Schemas.ConversationUser & {
627
+ }) => import("@mittwald/react-use-promise").AsyncResource<(import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser & {
630
628
  active: boolean;
631
629
  })[]>;
632
630
  /** Get a support conversation. */
@@ -635,17 +633,17 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
635
633
  headers?: {
636
634
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
637
635
  } | undefined;
638
- }) => _mittwald_react_use_promise.AsyncResource<{
639
- category?: MittwaldAPIV2.Components.Schemas.ConversationCategory | undefined;
636
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
637
+ category?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategory | undefined;
640
638
  conversationId: string;
641
639
  createdAt: string;
642
- createdBy?: MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
640
+ createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
643
641
  lastMessageAt?: string | undefined;
644
- lastMessageBy?: MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
645
- mainUser: MittwaldAPIV2.Components.Schemas.ConversationUser;
646
- relatedTo?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
647
- relations?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[] | undefined;
648
- sharedWith?: MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
642
+ lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
643
+ mainUser: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
644
+ relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
645
+ relations?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[] | undefined;
646
+ sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
649
647
  shortId: string;
650
648
  status: "open" | "answered" | "closed";
651
649
  title: string;
@@ -658,7 +656,7 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
658
656
  headers?: {
659
657
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
660
658
  } | undefined;
661
- }) => _mittwald_react_use_promise.AsyncResource<{
659
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
662
660
  accessToken: string;
663
661
  expiresAt: string;
664
662
  }>;
@@ -667,7 +665,7 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
667
665
  headers?: {
668
666
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
669
667
  } | undefined;
670
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.ConversationCategory[]>;
668
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategory[]>;
671
669
  };
672
670
  declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
673
671
  /** List Cronjobs belonging to a Project. */
@@ -683,7 +681,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
683
681
  skip?: number | undefined;
684
682
  page?: number | undefined;
685
683
  } | undefined;
686
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.CronjobCronjob[]>;
684
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjob[]>;
687
685
  /** List CronjobExecutions belonging to a Cronjob. */
688
686
  listExecutions: (conf: {
689
687
  cronjobId: string;
@@ -700,7 +698,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
700
698
  until?: string | undefined;
701
699
  status?: string | undefined;
702
700
  } | undefined;
703
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.CronjobCronjobExecution[]>;
701
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobExecution[]>;
704
702
  /** Get a Cronjob. */
705
703
  getCronjob: (conf: {
706
704
  cronjobId: string;
@@ -708,16 +706,16 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
708
706
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
709
707
  "x-access-token"?: string | undefined;
710
708
  } | undefined;
711
- }) => _mittwald_react_use_promise.AsyncResource<{
709
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
712
710
  active: boolean;
713
711
  appId: string;
714
712
  createdAt: string;
715
713
  description: string;
716
- destination: MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand | MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl;
714
+ destination: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobCommand | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobUrl;
717
715
  email?: string | undefined;
718
716
  id: string;
719
717
  interval: string;
720
- latestExecution?: MittwaldAPIV2.Components.Schemas.CronjobCronjobExecution | undefined;
718
+ latestExecution?: import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobCronjobExecution | undefined;
721
719
  nextExecutionTime?: string | undefined;
722
720
  projectId?: string | undefined;
723
721
  shortId: string;
@@ -732,7 +730,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
732
730
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
733
731
  "x-access-token"?: string | undefined;
734
732
  } | undefined;
735
- }) => _mittwald_react_use_promise.AsyncResource<{
733
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
736
734
  abortedBy?: {
737
735
  id?: string | undefined;
738
736
  } | undefined;
@@ -757,8 +755,8 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
757
755
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
758
756
  "x-access-token"?: string | undefined;
759
757
  } | undefined;
760
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
761
- categories?: MittwaldAPIV2.Components.Schemas.CustomerCategory[] | undefined;
758
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
759
+ categories?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCategory[] | undefined;
762
760
  }>;
763
761
  /** Get all customer profiles the authenticated user has access to. */
764
762
  listCustomers: (conf?: {
@@ -773,7 +771,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
773
771
  skip?: number | undefined;
774
772
  page?: number | undefined;
775
773
  } | undefined;
776
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.CustomerCustomer[]>;
774
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomer[]>;
777
775
  /** Get a customer category. */
778
776
  getCustomerCategory: (conf: {
779
777
  categoryId: string;
@@ -781,7 +779,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
781
779
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
782
780
  "x-access-token"?: string | undefined;
783
781
  } | undefined;
784
- }) => _mittwald_react_use_promise.AsyncResource<{
782
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
785
783
  id: string;
786
784
  isPublic: boolean;
787
785
  name: string;
@@ -795,16 +793,16 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
795
793
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
796
794
  "x-access-token"?: string | undefined;
797
795
  } | undefined;
798
- }) => _mittwald_react_use_promise.AsyncResource<{
796
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
799
797
  avatarRefId?: string | undefined;
800
798
  customerId: string;
801
799
  customerName: string;
802
800
  id: string;
803
- information: MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
801
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
804
802
  mailAddress: string;
805
803
  membershipExpiresAt?: string | undefined;
806
804
  message?: string | undefined;
807
- role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
805
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
808
806
  }>;
809
807
  /** Get a CustomerMembership. */
810
808
  getCustomerMembership: (conf: {
@@ -813,7 +811,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
813
811
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
814
812
  "x-access-token"?: string | undefined;
815
813
  } | undefined;
816
- }) => _mittwald_react_use_promise.AsyncResource<{
814
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
817
815
  customerId: string;
818
816
  email: string;
819
817
  expiresAt?: string | undefined;
@@ -821,7 +819,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
821
819
  inviteId?: string | undefined;
822
820
  memberSince?: string | undefined;
823
821
  mfa: boolean;
824
- role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
822
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
825
823
  userId: string;
826
824
  }>;
827
825
  /** Get a customer profile. */
@@ -831,7 +829,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
831
829
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
832
830
  "x-access-token"?: string | undefined;
833
831
  } | undefined;
834
- }) => _mittwald_react_use_promise.AsyncResource<{
832
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
835
833
  activeSuspension?: {
836
834
  createdAt: string;
837
835
  } | undefined;
@@ -840,12 +838,12 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
840
838
  creationDate: string;
841
839
  customerId: string;
842
840
  customerNumber: string;
843
- executingUserRoles?: MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
841
+ executingUserRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
844
842
  isBanned?: boolean | undefined;
845
843
  isInDefaultOfPayment?: boolean | undefined;
846
844
  memberCount: number;
847
845
  name: string;
848
- owner?: MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
846
+ owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
849
847
  projectCount: number;
850
848
  vatId?: string | undefined;
851
849
  vatIdValidationState?: "unspecified" | "valid" | "invalid" | "pending" | undefined;
@@ -854,18 +852,19 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
854
852
  getCustomerTokenInvite: (conf: {
855
853
  headers: {
856
854
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
855
+ token: string;
857
856
  "x-access-token"?: string | undefined;
858
857
  };
859
- }) => _mittwald_react_use_promise.AsyncResource<{
858
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
860
859
  avatarRefId?: string | undefined;
861
860
  customerId: string;
862
861
  customerName: string;
863
862
  id: string;
864
- information: MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
863
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
865
864
  mailAddress: string;
866
865
  membershipExpiresAt?: string | undefined;
867
866
  message?: string | undefined;
868
- role: MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
867
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles;
869
868
  }>;
870
869
  /** Check if the customer profile has a valid contract partner configured. */
871
870
  isCustomerLegallyCompetent: (conf: {
@@ -874,7 +873,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
874
873
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
875
874
  "x-access-token"?: string | undefined;
876
875
  } | undefined;
877
- }) => _mittwald_react_use_promise.AsyncResource<{
876
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
878
877
  isLegallyCompetent?: boolean | undefined;
879
878
  }>;
880
879
  /** List CustomerInvites belonging to the executing user. */
@@ -888,7 +887,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
888
887
  limit?: number | undefined;
889
888
  skip?: number | undefined;
890
889
  } | undefined;
891
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
890
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
892
891
  /** List CustomerMemberships belonging to the executing user. */
893
892
  listCustomerMemberships: (conf?: {
894
893
  headers?: {
@@ -900,7 +899,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
900
899
  limit?: number | undefined;
901
900
  skip?: number | undefined;
902
901
  } | undefined;
903
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
902
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
904
903
  /** List Invites belonging to a Customer. */
905
904
  listInvitesForCustomer: (conf: {
906
905
  customerId: string;
@@ -913,7 +912,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
913
912
  limit?: number | undefined;
914
913
  skip?: number | undefined;
915
914
  } | undefined;
916
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
915
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
917
916
  /** List Memberships belonging to a Customer. */
918
917
  listMembershipsForCustomer: (conf: {
919
918
  customerId: string;
@@ -926,7 +925,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
926
925
  limit?: number | undefined;
927
926
  skip?: number | undefined;
928
927
  } | undefined;
929
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
928
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
930
929
  };
931
930
  declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
932
931
  /** List MySQLDatabases belonging to a Project. */
@@ -936,7 +935,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
936
935
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
937
936
  "x-access-token"?: string | undefined;
938
937
  } | undefined;
939
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DatabaseMySqlDatabase[]>;
938
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseMySqlDatabase[]>;
940
939
  /** List MySQLUsers belonging to a Database. */
941
940
  listMysqlUsers: (conf: {
942
941
  mysqlDatabaseId: string;
@@ -944,7 +943,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
944
943
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
945
944
  "x-access-token"?: string | undefined;
946
945
  } | undefined;
947
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DatabaseMySqlUser[]>;
946
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseMySqlUser[]>;
948
947
  /** List RedisDatabases belonging to a Project. */
949
948
  listRedisDatabases: (conf: {
950
949
  projectId: string;
@@ -952,7 +951,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
952
951
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
953
952
  "x-access-token"?: string | undefined;
954
953
  } | undefined;
955
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabase[]>;
954
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabase[]>;
956
955
  /** Get a MySQLDatabase. */
957
956
  getMysqlDatabase: (conf: {
958
957
  mysqlDatabaseId: string;
@@ -960,8 +959,8 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
960
959
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
961
960
  "x-access-token"?: string | undefined;
962
961
  } | undefined;
963
- }) => _mittwald_react_use_promise.AsyncResource<{
964
- characterSettings: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
962
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
963
+ characterSettings: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
965
964
  createdAt: string;
966
965
  description: string;
967
966
  finalizers?: string[] | undefined;
@@ -981,7 +980,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
981
980
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
982
981
  "x-access-token"?: string | undefined;
983
982
  } | undefined;
984
- }) => _mittwald_react_use_promise.AsyncResource<{
983
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
985
984
  accessIpMask?: string | undefined;
986
985
  accessLevel: "full" | "readonly";
987
986
  createdAt: string;
@@ -1002,8 +1001,8 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
1002
1001
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1003
1002
  "x-access-token"?: string | undefined;
1004
1003
  } | undefined;
1005
- }) => _mittwald_react_use_promise.AsyncResource<{
1006
- configuration?: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration | undefined;
1004
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1005
+ configuration?: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration | undefined;
1007
1006
  createdAt: string;
1008
1007
  description: string;
1009
1008
  finalizers?: string[] | undefined;
@@ -1022,7 +1021,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
1022
1021
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1023
1022
  "x-access-token"?: string | undefined;
1024
1023
  } | undefined;
1025
- }) => _mittwald_react_use_promise.AsyncResource<{
1024
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1026
1025
  url: string;
1027
1026
  }>;
1028
1027
  /** List available MySQL character sets and collations, optionally filtered by a MySQLVersion. */
@@ -1035,7 +1034,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
1035
1034
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1036
1035
  version?: string | undefined;
1037
1036
  } | undefined;
1038
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DatabaseMySqlCharacterSettings[]>;
1037
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseMySqlCharacterSettings[]>;
1039
1038
  /** List MySQLVersions. */
1040
1039
  listMysqlVersions: (conf?: {
1041
1040
  headers?: {
@@ -1046,7 +1045,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
1046
1045
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1047
1046
  projectId?: string | undefined;
1048
1047
  } | undefined;
1049
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DatabaseMySqlVersion[]>;
1048
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseMySqlVersion[]>;
1050
1049
  /** List RedisVersions. */
1051
1050
  listRedisVersions: (conf?: {
1052
1051
  headers?: {
@@ -1057,7 +1056,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
1057
1056
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1058
1057
  projectId?: string | undefined;
1059
1058
  } | undefined;
1060
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DatabaseRedisVersion[]>;
1059
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseRedisVersion[]>;
1061
1060
  };
1062
1061
  declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1063
1062
  /** Get a DNSZone. */
@@ -1067,15 +1066,15 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1067
1066
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1068
1067
  "x-access-token"?: string | undefined;
1069
1068
  } | undefined;
1070
- }) => _mittwald_react_use_promise.AsyncResource<{
1069
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1071
1070
  domain: string;
1072
1071
  id: string;
1073
1072
  recordSet: {
1074
- cname: MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
1075
- combinedARecords: MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
1076
- mx: MittwaldAPIV2.Components.Schemas.DnsRecordMX;
1077
- srv: MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
1078
- txt: MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
1073
+ cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
1074
+ combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
1075
+ mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
1076
+ srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
1077
+ txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
1079
1078
  };
1080
1079
  }>;
1081
1080
  /** List DNSZones belonging to a Project. */
@@ -1085,7 +1084,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1085
1084
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1086
1085
  "x-access-token"?: string | undefined;
1087
1086
  } | undefined;
1088
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DnsZone[]>;
1087
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
1089
1088
  /** List Domains */
1090
1089
  listDomains: (conf?: {
1091
1090
  headers?: {
@@ -1099,7 +1098,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1099
1098
  limit?: number | undefined;
1100
1099
  domainSearchName?: string | undefined;
1101
1100
  } | undefined;
1102
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
1101
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
1103
1102
  /** Get a Domain. */
1104
1103
  getDomain: (conf: {
1105
1104
  domainId: string;
@@ -1107,20 +1106,20 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1107
1106
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1108
1107
  "x-access-token"?: string | undefined;
1109
1108
  } | undefined;
1110
- }) => _mittwald_react_use_promise.AsyncResource<{
1111
- authCode?: MittwaldAPIV2.Components.Schemas.DomainAuthCode | undefined;
1112
- authCode2?: MittwaldAPIV2.Components.Schemas.DomainAuthCode2 | undefined;
1109
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1110
+ authCode?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode | undefined;
1111
+ authCode2?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode2 | undefined;
1113
1112
  connected: boolean;
1114
1113
  deleted: boolean;
1115
1114
  domain: string;
1116
1115
  domainId: string;
1117
1116
  handles: {
1118
- adminC?: MittwaldAPIV2.Components.Schemas.DomainHandleReadable | undefined;
1119
- ownerC: MittwaldAPIV2.Components.Schemas.DomainHandleReadable;
1117
+ adminC?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleReadable | undefined;
1118
+ ownerC: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleReadable;
1120
1119
  };
1121
1120
  hasAuthCode: boolean;
1122
1121
  nameservers: [string, string, ...string[]];
1123
- processes?: MittwaldAPIV2.Components.Schemas.DomainProcess[] | undefined;
1122
+ processes?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainProcess[] | undefined;
1124
1123
  projectId: string;
1125
1124
  transferInAuthCode?: string | undefined;
1126
1125
  usesDefaultNameserver: boolean;
@@ -1136,7 +1135,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1136
1135
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1137
1136
  "x-access-token"?: string | undefined;
1138
1137
  } | undefined;
1139
- }) => _mittwald_react_use_promise.AsyncResource<{
1138
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1140
1139
  reference?: string | undefined;
1141
1140
  }>;
1142
1141
  /** List the contact schemas for a TLD. */
@@ -1145,7 +1144,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1145
1144
  headers?: {
1146
1145
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1147
1146
  } | undefined;
1148
- }) => _mittwald_react_use_promise.AsyncResource<{
1147
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1149
1148
  jsonSchemaAdminC?: {} | undefined;
1150
1149
  jsonSchemaOwnerC: {};
1151
1150
  }>;
@@ -1154,7 +1153,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1154
1153
  headers?: {
1155
1154
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1156
1155
  } | undefined;
1157
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
1156
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
1158
1157
  /** List Ingresses. */
1159
1158
  ingressListIngresses: (conf?: {
1160
1159
  headers?: {
@@ -1165,7 +1164,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1165
1164
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1166
1165
  projectId?: string | undefined;
1167
1166
  } | undefined;
1168
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.IngressIngress[]>;
1167
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.IngressIngress[]>;
1169
1168
  /** Get an Ingress. */
1170
1169
  ingressGetIngress: (conf: {
1171
1170
  ingressId: string;
@@ -1173,7 +1172,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1173
1172
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1174
1173
  "x-access-token"?: string | undefined;
1175
1174
  } | undefined;
1176
- }) => _mittwald_react_use_promise.AsyncResource<{
1175
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1177
1176
  dnsValidationErrors: ("ERROR_UNSPECIFIED" | "ERROR_QUAD_A" | "ERROR_NO_A_RECORD" | "ERROR_ACME_CERTIFICATE_REQUEST_DEADLINE_EXCEEDED")[];
1178
1177
  hostname: string;
1179
1178
  id: string;
@@ -1183,10 +1182,10 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1183
1182
  isDefault: boolean;
1184
1183
  isDomain?: boolean | undefined;
1185
1184
  isEnabled: boolean;
1186
- ownership: MittwaldAPIV2.Components.Schemas.IngressOwnership;
1187
- paths: MittwaldAPIV2.Components.Schemas.IngressPath[];
1185
+ ownership: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressOwnership;
1186
+ paths: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressPath[];
1188
1187
  projectId: string;
1189
- tls: MittwaldAPIV2.Components.Schemas.IngressTlsAcme | MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
1188
+ tls: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsAcme | import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
1190
1189
  }>;
1191
1190
  };
1192
1191
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
@@ -1196,7 +1195,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1196
1195
  headers?: {
1197
1196
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1198
1197
  } | undefined;
1199
- }) => _mittwald_react_use_promise.AsyncResource<{
1198
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1200
1199
  friendlyURL: string;
1201
1200
  id: string;
1202
1201
  mimeType: string;
@@ -1210,8 +1209,8 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1210
1209
  headers?: {
1211
1210
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1212
1211
  } | undefined;
1213
- }) => _mittwald_react_use_promise.AsyncResource<{
1214
- fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
1212
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1213
+ fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
1215
1214
  maxSizeInKB: number;
1216
1215
  mimeTypes: string[];
1217
1216
  properties?: {
@@ -1233,8 +1232,8 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1233
1232
  headers?: {
1234
1233
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1235
1234
  } | undefined;
1236
- }) => _mittwald_react_use_promise.AsyncResource<{
1237
- fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
1235
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1236
+ fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
1238
1237
  maxSizeInKB: number;
1239
1238
  mimeTypes: string[];
1240
1239
  properties?: {
@@ -1260,7 +1259,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1260
1259
  Token?: string | undefined;
1261
1260
  } | undefined;
1262
1261
  fileName?: string | undefined;
1263
- }) => _mittwald_react_use_promise.AsyncResource<string>;
1262
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
1264
1263
  };
1265
1264
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1266
1265
  /** List DeliveryBoxes belonging to a Project. */
@@ -1270,7 +1269,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1270
1269
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1271
1270
  "x-access-token"?: string | undefined;
1272
1271
  } | undefined;
1273
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MailDeliverybox[]>;
1272
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[]>;
1274
1273
  /** List MailAddresses belonging to a Project. */
1275
1274
  listMailAddresses: (conf: {
1276
1275
  projectId: string;
@@ -1278,7 +1277,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1278
1277
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1279
1278
  "x-access-token"?: string | undefined;
1280
1279
  } | undefined;
1281
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
1280
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
1282
1281
  /** Get a DeliveryBox. */
1283
1282
  getDeliveryBox: (conf: {
1284
1283
  deliveryBoxId: string;
@@ -1286,7 +1285,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1286
1285
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1287
1286
  "x-access-token"?: string | undefined;
1288
1287
  } | undefined;
1289
- }) => _mittwald_react_use_promise.AsyncResource<{
1288
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1290
1289
  authenticationEnabled: boolean;
1291
1290
  description: string;
1292
1291
  id: string;
@@ -1303,7 +1302,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1303
1302
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1304
1303
  "x-access-token"?: string | undefined;
1305
1304
  } | undefined;
1306
- }) => _mittwald_react_use_promise.AsyncResource<{
1305
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1307
1306
  address: string;
1308
1307
  autoResponder: {
1309
1308
  active: boolean;
@@ -1344,7 +1343,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1344
1343
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1345
1344
  "x-access-token"?: string | undefined;
1346
1345
  } | undefined;
1347
- }) => _mittwald_react_use_promise.AsyncResource<{
1346
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1348
1347
  blacklist: string[];
1349
1348
  projectId: string;
1350
1349
  whitelist: string[];
@@ -1357,7 +1356,7 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
1357
1356
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1358
1357
  "x-access-token"?: string | undefined;
1359
1358
  } | undefined;
1360
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
1359
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
1361
1360
  active: boolean;
1362
1361
  email: string;
1363
1362
  registered: boolean;
@@ -1368,7 +1367,7 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
1368
1367
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1369
1368
  "x-access-token"?: string | undefined;
1370
1369
  } | undefined;
1371
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
1370
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
1372
1371
  error: number;
1373
1372
  info: number;
1374
1373
  success: number;
@@ -1385,20 +1384,22 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
1385
1384
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1386
1385
  status?: "unread" | "read" | undefined;
1387
1386
  } | undefined;
1388
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MessagingNotification[]>;
1387
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[]>;
1389
1388
  };
1390
1389
  declare const buildPageInsightsApi: (baseClient: MittwaldAPIV2Client) => {
1391
1390
  /** Get detailed performance data for a given domain and path. */
1392
1391
  pageinsightsGetPerformanceData: (conf: {
1393
1392
  queryParameters: {
1394
1393
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1394
+ domain: string;
1395
+ path: string;
1395
1396
  date?: string | undefined;
1396
1397
  };
1397
1398
  headers?: {
1398
1399
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1399
1400
  "x-access-token"?: string | undefined;
1400
1401
  } | undefined;
1401
- }) => _mittwald_react_use_promise.AsyncResource<{
1402
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1402
1403
  createdAt?: string | undefined;
1403
1404
  domain: string;
1404
1405
  metrics?: {
@@ -1423,10 +1424,10 @@ declare const buildPageInsightsApi: (baseClient: MittwaldAPIV2Client) => {
1423
1424
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1424
1425
  "x-access-token"?: string | undefined;
1425
1426
  } | undefined;
1426
- }) => _mittwald_react_use_promise.AsyncResource<{
1427
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1427
1428
  executedAt: string;
1428
1429
  id: string;
1429
- result: MittwaldAPIV2.Components.Schemas.StraceData | MittwaldAPIV2.Components.Schemas.StraceError;
1430
+ result: import("./types.js").MittwaldAPIV2.Components.Schemas.StraceData | import("./types.js").MittwaldAPIV2.Components.Schemas.StraceError;
1430
1431
  }>;
1431
1432
  /** List websites (specified as domain and path) from a project where performance data is available. */
1432
1433
  pageinsightsListPerformanceDataForProject: (conf: {
@@ -1439,7 +1440,7 @@ declare const buildPageInsightsApi: (baseClient: MittwaldAPIV2Client) => {
1439
1440
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1440
1441
  domain?: string | undefined;
1441
1442
  } | undefined;
1442
- }) => _mittwald_react_use_promise.AsyncResource<{
1443
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1443
1444
  domain: string;
1444
1445
  paths: {
1445
1446
  createdAt: string;
@@ -1456,14 +1457,14 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1456
1457
  headers?: {
1457
1458
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1458
1459
  } | undefined;
1459
- }) => _mittwald_react_use_promise.AsyncResource<string>;
1460
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
1460
1461
  /** Get your verified Email-Address. */
1461
1462
  getOwnEmail: (conf?: {
1462
1463
  headers?: {
1463
1464
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1464
1465
  "x-access-token"?: string | undefined;
1465
1466
  } | undefined;
1466
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
1467
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
1467
1468
  email: string;
1468
1469
  }>;
1469
1470
  /** Get your current multi factor auth status. */
@@ -1472,7 +1473,7 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1472
1473
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1473
1474
  "x-access-token"?: string | undefined;
1474
1475
  } | undefined;
1475
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
1476
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
1476
1477
  confirmed: boolean;
1477
1478
  initialized: boolean;
1478
1479
  }>;
@@ -1482,15 +1483,15 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1482
1483
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1483
1484
  "x-access-token"?: string | undefined;
1484
1485
  } | undefined;
1485
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.SignupApiToken[]>;
1486
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SignupApiToken[]>;
1486
1487
  /** Get your stored ssh-keys. */
1487
1488
  listSshKeys: (conf?: {
1488
1489
  headers?: {
1489
1490
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1490
1491
  "x-access-token"?: string | undefined;
1491
1492
  } | undefined;
1492
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
1493
- sshKeys?: MittwaldAPIV2.Components.Schemas.SignupSshKey[] | undefined;
1493
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
1494
+ sshKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey[] | undefined;
1494
1495
  }>;
1495
1496
  /** Get a specific ApiToken. */
1496
1497
  getApiToken: (conf: {
@@ -1499,7 +1500,7 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1499
1500
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1500
1501
  "x-access-token"?: string | undefined;
1501
1502
  } | undefined;
1502
- }) => _mittwald_react_use_promise.AsyncResource<{
1503
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1503
1504
  apiTokenId: string;
1504
1505
  createdAt: string;
1505
1506
  description: string;
@@ -1513,8 +1514,8 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1513
1514
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1514
1515
  "x-access-token"?: string | undefined;
1515
1516
  } | undefined;
1516
- }) => _mittwald_react_use_promise.AsyncResource<{
1517
- sshKey: MittwaldAPIV2.Components.Schemas.SignupSshKey;
1517
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1518
+ sshKey: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey;
1518
1519
  }>;
1519
1520
  /** Get your account information. */
1520
1521
  getOwnAccount: (conf?: {
@@ -1522,14 +1523,14 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1522
1523
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1523
1524
  "x-access-token"?: string | undefined;
1524
1525
  } | undefined;
1525
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
1526
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
1526
1527
  email?: string | undefined;
1527
1528
  mfaDetails?: {
1528
1529
  mfaConfirmed?: boolean | undefined;
1529
1530
  mfaInitialized?: boolean | undefined;
1530
1531
  } | undefined;
1531
1532
  passwordUpdatedAt?: string | undefined;
1532
- person?: MittwaldAPIV2.Components.Schemas.CommonsPerson | undefined;
1533
+ person?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson | undefined;
1533
1534
  userId?: string | undefined;
1534
1535
  }>;
1535
1536
  /** The timestamp of your latest password change. */
@@ -1538,7 +1539,7 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1538
1539
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1539
1540
  "x-access-token"?: string | undefined;
1540
1541
  } | undefined;
1541
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
1542
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
1542
1543
  passwordUpdatedAt: string;
1543
1544
  }>;
1544
1545
  /** Get personalized settings. */
@@ -1548,7 +1549,7 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1548
1549
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1549
1550
  "x-access-token"?: string | undefined;
1550
1551
  } | undefined;
1551
- }) => _mittwald_react_use_promise.AsyncResource<{
1552
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1552
1553
  settingsString?: string | undefined;
1553
1554
  }>;
1554
1555
  /** Get poll settings for the specified user. */
@@ -1557,7 +1558,7 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1557
1558
  headers?: {
1558
1559
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1559
1560
  } | undefined;
1560
- }) => _mittwald_react_use_promise.AsyncResource<{
1561
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1561
1562
  completedAt?: string | undefined;
1562
1563
  dontShowUntil?: string | undefined;
1563
1564
  ignoredAt?: string | undefined;
@@ -1572,11 +1573,11 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1572
1573
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1573
1574
  "x-access-token"?: string | undefined;
1574
1575
  } | undefined;
1575
- }) => _mittwald_react_use_promise.AsyncResource<{
1576
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1576
1577
  created: string;
1577
- device: MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
1578
+ device: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupDeviceInfo;
1578
1579
  lastAccess?: string | undefined;
1579
- location?: MittwaldAPIV2.Components.Schemas.SignupLocation | undefined;
1580
+ location?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupLocation | undefined;
1580
1581
  tokenId: string;
1581
1582
  }>;
1582
1583
  /** Get profile information for a user. */
@@ -1586,13 +1587,13 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1586
1587
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1587
1588
  "x-access-token"?: string | undefined;
1588
1589
  } | undefined;
1589
- }) => _mittwald_react_use_promise.AsyncResource<{
1590
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1590
1591
  avatarRef?: string | undefined;
1591
1592
  email?: string | undefined;
1592
1593
  employeeInformation?: {
1593
1594
  department: string;
1594
1595
  } | undefined;
1595
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
1596
+ person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
1596
1597
  phoneNumber?: string | undefined;
1597
1598
  registeredAt?: string | undefined;
1598
1599
  userId: string;
@@ -1608,18 +1609,20 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1608
1609
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1609
1610
  subject?: string | undefined;
1610
1611
  } | undefined;
1611
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.UserUserFeedback[]>;
1612
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.UserUserFeedback[]>;
1612
1613
  /** List all sessions. */
1613
1614
  listSessions: (conf?: {
1614
1615
  headers?: {
1615
1616
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1616
1617
  "x-access-token"?: string | undefined;
1617
1618
  } | undefined;
1618
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.SignupUserSession[]>;
1619
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SignupUserSession[]>;
1619
1620
  /** Obtain authorization from the resource owner. */
1620
1621
  oauthGetAuthorization: (conf: {
1621
1622
  queryParameters: {
1622
1623
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1624
+ response_type: "code";
1625
+ client_id: string;
1623
1626
  grant_consent?: boolean | undefined;
1624
1627
  grant_type?: "authorization_code" | undefined;
1625
1628
  redirect_uri?: string | undefined;
@@ -1631,7 +1634,7 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1631
1634
  headers?: {
1632
1635
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1633
1636
  } | undefined;
1634
- }) => _mittwald_react_use_promise.AsyncResource<never>;
1637
+ }) => import("@mittwald/react-use-promise").AsyncResource<never>;
1635
1638
  /** Request a support code. */
1636
1639
  supportCodeRequest: (conf?: {
1637
1640
  headers?: {
@@ -1642,7 +1645,7 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1642
1645
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1643
1646
  forceRecreate?: boolean | undefined;
1644
1647
  } | undefined;
1645
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
1648
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
1646
1649
  expiresAt: string;
1647
1650
  supportCode: string;
1648
1651
  }>;
@@ -1660,7 +1663,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1660
1663
  limit?: number | undefined;
1661
1664
  skip?: number | undefined;
1662
1665
  } | undefined;
1663
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
1666
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
1664
1667
  /** Get a ProjectInvite. */
1665
1668
  getProjectInvite: (conf: {
1666
1669
  projectInviteId: string;
@@ -1668,15 +1671,15 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1668
1671
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1669
1672
  "x-access-token"?: string | undefined;
1670
1673
  } | undefined;
1671
- }) => _mittwald_react_use_promise.AsyncResource<{
1674
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1672
1675
  id: string;
1673
- information: MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
1676
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
1674
1677
  mailAddress: string;
1675
1678
  membershipExpiresAt?: string | undefined;
1676
1679
  message?: string | undefined;
1677
1680
  projectDescription: string;
1678
1681
  projectId: string;
1679
- role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
1682
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
1680
1683
  }>;
1681
1684
  /** Get a ProjectMembership */
1682
1685
  getProjectMembership: (conf: {
@@ -1685,7 +1688,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1685
1688
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1686
1689
  "x-access-token"?: string | undefined;
1687
1690
  } | undefined;
1688
- }) => _mittwald_react_use_promise.AsyncResource<{
1691
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1689
1692
  email: string;
1690
1693
  expiresAt?: string | undefined;
1691
1694
  id: string;
@@ -1694,7 +1697,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1694
1697
  memberSince?: string | undefined;
1695
1698
  mfa: boolean;
1696
1699
  projectId: string;
1697
- role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
1700
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
1698
1701
  userId: string;
1699
1702
  }>;
1700
1703
  /** Get a Project. */
@@ -1704,7 +1707,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1704
1707
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1705
1708
  "x-access-token"?: string | undefined;
1706
1709
  } | undefined;
1707
- }) => _mittwald_react_use_promise.AsyncResource<{
1710
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1708
1711
  clusterDomain?: string | undefined;
1709
1712
  clusterID?: string | undefined;
1710
1713
  createdAt: string;
@@ -1713,37 +1716,38 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1713
1716
  directories: {
1714
1717
  [k: string]: string;
1715
1718
  };
1716
- disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
1719
+ disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
1717
1720
  disabledAt?: string | undefined;
1718
1721
  enabled: boolean;
1719
1722
  id: string;
1720
1723
  imageRefId?: string | undefined;
1721
1724
  isReady: boolean;
1722
1725
  projectHostingId?: string | undefined;
1723
- readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
1726
+ readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
1724
1727
  serverId?: string | undefined;
1725
1728
  serverShortId?: string | undefined;
1726
1729
  shortId: string;
1727
- spec?: MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
1730
+ spec?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
1728
1731
  statisticsBaseDomain?: string | undefined;
1729
- status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
1732
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
1730
1733
  statusSetAt: string;
1731
1734
  }>;
1732
1735
  /** Get a ProjectInvite by token. */
1733
1736
  getProjectTokenInvite: (conf: {
1734
1737
  headers: {
1735
1738
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1739
+ token: string;
1736
1740
  "x-access-token"?: string | undefined;
1737
1741
  };
1738
- }) => _mittwald_react_use_promise.AsyncResource<{
1742
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1739
1743
  id: string;
1740
- information: MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
1744
+ information: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipInviteInformation;
1741
1745
  mailAddress: string;
1742
1746
  membershipExpiresAt?: string | undefined;
1743
1747
  message?: string | undefined;
1744
1748
  projectDescription: string;
1745
1749
  projectId: string;
1746
- role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
1750
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
1747
1751
  }>;
1748
1752
  /** Get the executing user's membership in a Project. */
1749
1753
  getSelfMembershipForProject: (conf: {
@@ -1752,7 +1756,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1752
1756
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1753
1757
  "x-access-token"?: string | undefined;
1754
1758
  } | undefined;
1755
- }) => _mittwald_react_use_promise.AsyncResource<{
1759
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1756
1760
  email: string;
1757
1761
  expiresAt?: string | undefined;
1758
1762
  id: string;
@@ -1761,7 +1765,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1761
1765
  memberSince?: string | undefined;
1762
1766
  mfa: boolean;
1763
1767
  projectId: string;
1764
- role: MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
1768
+ role: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles;
1765
1769
  userId: string;
1766
1770
  }>;
1767
1771
  /** Get a Server. */
@@ -1771,7 +1775,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1771
1775
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1772
1776
  "x-access-token"?: string | undefined;
1773
1777
  } | undefined;
1774
- }) => _mittwald_react_use_promise.AsyncResource<{
1778
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1775
1779
  clusterName: string;
1776
1780
  createdAt: string;
1777
1781
  customerId: string;
@@ -1780,11 +1784,11 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1780
1784
  id: string;
1781
1785
  imageRefId?: string | undefined;
1782
1786
  isReady: boolean;
1783
- machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
1784
- readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedServerReadinessStatus;
1787
+ machineType: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectMachineType;
1788
+ readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedServerReadinessStatus;
1785
1789
  shortId: string;
1786
1790
  statisticsBaseDomain?: string | undefined;
1787
- status: MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
1791
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
1788
1792
  storage: string;
1789
1793
  }>;
1790
1794
  /** List Memberships belonging to a Project. */
@@ -1799,7 +1803,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1799
1803
  limit?: number | undefined;
1800
1804
  skip?: number | undefined;
1801
1805
  } | undefined;
1802
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
1806
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
1803
1807
  /** List ProjectInvites belonging to the executing user. */
1804
1808
  listProjectInvites: (conf?: {
1805
1809
  headers?: {
@@ -1811,7 +1815,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1811
1815
  limit?: number | undefined;
1812
1816
  skip?: number | undefined;
1813
1817
  } | undefined;
1814
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
1818
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
1815
1819
  /** List ProjectMemberships belonging to the executing user. */
1816
1820
  listProjectMemberships: (conf?: {
1817
1821
  headers?: {
@@ -1823,7 +1827,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1823
1827
  limit?: number | undefined;
1824
1828
  skip?: number | undefined;
1825
1829
  } | undefined;
1826
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
1830
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
1827
1831
  /** List Projects belonging to the executing user. */
1828
1832
  listProjects: (conf?: {
1829
1833
  headers?: {
@@ -1835,24 +1839,24 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1835
1839
  customerId?: string | undefined;
1836
1840
  serverId?: string | undefined;
1837
1841
  } | undefined;
1838
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
1842
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
1839
1843
  createdAt: string;
1840
1844
  customerId: string;
1841
1845
  customerMeta: {
1842
1846
  id: string;
1843
1847
  };
1844
1848
  description: string;
1845
- disableReason?: MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
1849
+ disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason | undefined;
1846
1850
  disabledAt?: string | undefined;
1847
1851
  enabled: boolean;
1848
1852
  id: string;
1849
1853
  imageRefId?: string | undefined;
1850
1854
  isReady: boolean;
1851
1855
  projectHostingId?: string | undefined;
1852
- readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
1856
+ readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
1853
1857
  serverId?: string | undefined;
1854
1858
  shortId: string;
1855
- status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
1859
+ status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
1856
1860
  statusSetAt: string;
1857
1861
  }[]>;
1858
1862
  /** List Servers belonging to the executing user. */
@@ -1868,7 +1872,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1868
1872
  page?: number | undefined;
1869
1873
  skip?: number | undefined;
1870
1874
  } | undefined;
1871
- } | null | undefined) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.ProjectServer[]>;
1875
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServer[]>;
1872
1876
  };
1873
1877
  declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
1874
1878
  /** List directories belonging to a Project. */
@@ -1887,13 +1891,13 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
1887
1891
  executable?: boolean | undefined;
1888
1892
  hidden?: boolean | undefined;
1889
1893
  } | undefined;
1890
- }) => _mittwald_react_use_promise.AsyncResource<{
1894
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1891
1895
  absolutePath: string;
1892
1896
  isDirectory?: boolean | undefined;
1893
1897
  isExecutable?: boolean | undefined;
1894
1898
  isFile?: boolean | undefined;
1895
1899
  isSymlink?: boolean | undefined;
1896
- items?: MittwaldAPIV2.Components.Schemas.ProjectFilesystemDirectoryListing[] | undefined;
1900
+ items?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectFilesystemDirectoryListing[] | undefined;
1897
1901
  name: string;
1898
1902
  size: number;
1899
1903
  target?: string | undefined;
@@ -1909,7 +1913,7 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
1909
1913
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1910
1914
  directory?: string | undefined;
1911
1915
  } | undefined;
1912
- }) => _mittwald_react_use_promise.AsyncResource<{
1916
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1913
1917
  path?: string | undefined;
1914
1918
  totalBytes?: number | undefined;
1915
1919
  usedBytes?: number | undefined;
@@ -1926,7 +1930,7 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
1926
1930
  file?: string | undefined;
1927
1931
  inline?: boolean | undefined;
1928
1932
  } | undefined;
1929
- }) => _mittwald_react_use_promise.AsyncResource<string>;
1933
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
1930
1934
  /** Get a Project's file/filesystem authorization token. */
1931
1935
  getJwt: (conf: {
1932
1936
  projectId: string;
@@ -1934,7 +1938,7 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
1934
1938
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1935
1939
  "x-access-token"?: string | undefined;
1936
1940
  } | undefined;
1937
- }) => _mittwald_react_use_promise.AsyncResource<{
1941
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1938
1942
  jwt: string;
1939
1943
  }>;
1940
1944
  /** Get a Project file's information. */
@@ -1948,13 +1952,13 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
1948
1952
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1949
1953
  file?: string | undefined;
1950
1954
  } | undefined;
1951
- }) => _mittwald_react_use_promise.AsyncResource<{
1955
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1952
1956
  absolutePath: string;
1953
1957
  isDirectory?: boolean | undefined;
1954
1958
  isExecutable?: boolean | undefined;
1955
1959
  isFile?: boolean | undefined;
1956
1960
  isSymlink?: boolean | undefined;
1957
- items?: MittwaldAPIV2.Components.Schemas.ProjectFilesystemDirectoryListing[] | undefined;
1961
+ items?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectFilesystemDirectoryListing[] | undefined;
1958
1962
  name: string;
1959
1963
  size: number;
1960
1964
  target?: string | undefined;
@@ -1973,7 +1977,7 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
1973
1977
  limit?: number | undefined;
1974
1978
  skip?: number | undefined;
1975
1979
  } | undefined;
1976
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.SshuserSftpUser[]>;
1980
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserSftpUser[]>;
1977
1981
  /** Get an SFTPUser. */
1978
1982
  sftpUserGetSftpUser: (conf: {
1979
1983
  sftpUserId: string;
@@ -1981,8 +1985,8 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
1981
1985
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1982
1986
  "x-access-token"?: string | undefined;
1983
1987
  } | undefined;
1984
- }) => _mittwald_react_use_promise.AsyncResource<{
1985
- accessLevel: MittwaldAPIV2.Components.Schemas.SshuserAccessLevel;
1988
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1989
+ accessLevel: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserAccessLevel;
1986
1990
  active?: boolean | undefined;
1987
1991
  authUpdatedAt: string;
1988
1992
  createdAt: string;
@@ -1992,7 +1996,7 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
1992
1996
  hasPassword: boolean;
1993
1997
  id: string;
1994
1998
  projectId: string;
1995
- publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
1999
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
1996
2000
  updatedAt?: string | undefined;
1997
2001
  userName: string;
1998
2002
  }>;
@@ -2008,7 +2012,7 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
2008
2012
  limit?: number | undefined;
2009
2013
  skip?: number | undefined;
2010
2014
  } | undefined;
2011
- }) => _mittwald_react_use_promise.AsyncResource<MittwaldAPIV2.Components.Schemas.SshuserSshUser[]>;
2015
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserSshUser[]>;
2012
2016
  /** Get an SSHUser. */
2013
2017
  sshUserGetSshUser: (conf: {
2014
2018
  sshUserId: string;
@@ -2016,7 +2020,7 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
2016
2020
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2017
2021
  "x-access-token"?: string | undefined;
2018
2022
  } | undefined;
2019
- }) => _mittwald_react_use_promise.AsyncResource<{
2023
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2020
2024
  active?: boolean | undefined;
2021
2025
  authUpdatedAt: string;
2022
2026
  createdAt: string;
@@ -2025,12 +2029,12 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
2025
2029
  hasPassword: boolean;
2026
2030
  id: string;
2027
2031
  projectId: string;
2028
- publicKeys?: MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
2032
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
2029
2033
  updatedAt?: string | undefined;
2030
2034
  userName: string;
2031
2035
  }>;
2032
2036
  };
2033
- declare class MittwaldAPIV2ClientReact {
2037
+ export declare class MittwaldAPIV2ClientReact {
2034
2038
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
2035
2039
  readonly app: ReturnType<typeof buildAppApi>;
2036
2040
  /** The article API allows you to read article information. */
@@ -2068,5 +2072,3 @@ declare class MittwaldAPIV2ClientReact {
2068
2072
  private constructor();
2069
2073
  static fromBaseClient(baseClient: MittwaldAPIV2Client): MittwaldAPIV2ClientReact;
2070
2074
  }
2071
-
2072
- export { MittwaldAPIV2ClientReact };