@mittwald/api-client 4.405.0 → 4.406.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3790 @@
1
+ import MittwaldAPIV3NextClient from "./client.js";
2
+ export * from "@mittwald/react-use-promise";
3
+ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
4
+ /** Get a list of already created keys. */
5
+ customerGetKeys: (conf: {
6
+ customerId: string;
7
+ headers?: {
8
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9
+ } | undefined;
10
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingKey[]>;
11
+ /** Get a key of a customer. */
12
+ customerGetKey: (conf: {
13
+ customerId: string;
14
+ keyId: string;
15
+ headers?: {
16
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
17
+ } | undefined;
18
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
19
+ containerMeta?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingContainerMeta | undefined;
20
+ customerId?: string | undefined;
21
+ isBlocked: boolean;
22
+ key: string;
23
+ keyId: string;
24
+ models: string[];
25
+ name: string;
26
+ projectId?: string | undefined;
27
+ rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
28
+ tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
29
+ }>;
30
+ /** Get a list of currently active models. */
31
+ customerGetDetailedModels: (conf: {
32
+ customerId: string;
33
+ headers?: {
34
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
35
+ } | undefined;
36
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingCustomerDetailedModel[]>;
37
+ /** Get ai hosting plan and usages of a customer. */
38
+ customerGetUsage: (conf: {
39
+ customerId: string;
40
+ headers?: {
41
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
42
+ } | undefined;
43
+ queryParameters?: {
44
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
45
+ topUsageCount?: number | undefined;
46
+ } | undefined;
47
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
48
+ customerId: string;
49
+ deletedAt?: string | undefined;
50
+ keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
51
+ modelTermsApprovalRequired: boolean;
52
+ nextTokenReset: string;
53
+ rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
54
+ tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
55
+ topUsages?: {
56
+ keyId?: string;
57
+ name: string;
58
+ projectId?: string;
59
+ tokenUsed: number;
60
+ }[] | undefined;
61
+ }>;
62
+ /** Get a list of currently active models. */
63
+ getModels: (conf?: {
64
+ headers?: {
65
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
66
+ } | undefined;
67
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingModel[]>;
68
+ /** Get a list of keys of a project. */
69
+ projectGetKeys: (conf: {
70
+ projectId: string;
71
+ headers?: {
72
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
73
+ } | undefined;
74
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingKey[]>;
75
+ /** Get a key of a project. */
76
+ projectGetKey: (conf: {
77
+ projectId: string;
78
+ keyId: string;
79
+ headers?: {
80
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
81
+ } | undefined;
82
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
83
+ containerMeta?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingContainerMeta | undefined;
84
+ customerId?: string | undefined;
85
+ isBlocked: boolean;
86
+ key: string;
87
+ keyId: string;
88
+ models: string[];
89
+ name: string;
90
+ projectId?: string | undefined;
91
+ rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
92
+ tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
93
+ }>;
94
+ /** Get a list of currently active models. */
95
+ projectGetDetailedModels: (conf: {
96
+ projectId: string;
97
+ headers?: {
98
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
99
+ } | undefined;
100
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingProjectDetailedModel[]>;
101
+ /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
102
+ projectGetUsage: (conf: {
103
+ projectId: string;
104
+ headers?: {
105
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
106
+ } | undefined;
107
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
108
+ keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
109
+ modelTermsApprovalRequired: boolean;
110
+ nextTokenReset?: string | undefined;
111
+ projectId: string;
112
+ }>;
113
+ };
114
+ declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
115
+ /** Get an App. */
116
+ getApp: (conf: {
117
+ appId: string;
118
+ headers?: {
119
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
120
+ "x-access-token"?: string | undefined;
121
+ } | undefined;
122
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
123
+ actionCapabilities?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppActionCapabilities | undefined;
124
+ id: string;
125
+ name: string;
126
+ tags: string[];
127
+ }>;
128
+ /** Get an AppInstallation. */
129
+ getAppinstallation: (conf: {
130
+ appInstallationId: string;
131
+ headers?: {
132
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
133
+ "x-access-token"?: string | undefined;
134
+ } | undefined;
135
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
136
+ appExternalVersion: string;
137
+ appId: string;
138
+ appName: string;
139
+ appVersion: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppVersionStatus;
140
+ createdAt: string;
141
+ customDocumentRoot?: string | undefined;
142
+ deletionRequested?: boolean | undefined;
143
+ description: string;
144
+ disabled: boolean;
145
+ hostname?: string | undefined;
146
+ id: string;
147
+ installationPath: string;
148
+ lastError?: string | undefined;
149
+ linkedDatabases: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppLinkedDatabase[];
150
+ lockedBy?: {
151
+ [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppLockPurpose;
152
+ } | undefined;
153
+ phase: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppPhase;
154
+ ports?: {
155
+ name?: string;
156
+ port?: number;
157
+ }[] | undefined;
158
+ projectDescription: string;
159
+ projectId: string;
160
+ screenshotId?: string | undefined;
161
+ screenshotRef?: string | undefined;
162
+ shortId: string;
163
+ systemSoftware: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppInstalledSystemSoftware[];
164
+ updateAvailable: boolean;
165
+ updatePolicy: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppAppUpdatePolicy;
166
+ userInputs: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppSavedUserInput[];
167
+ }>;
168
+ /** Get an AppVersion. */
169
+ getAppversion: (conf: {
170
+ appId: string;
171
+ appVersionId: string;
172
+ headers?: {
173
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
174
+ "x-access-token"?: string | undefined;
175
+ } | undefined;
176
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
177
+ appId: string;
178
+ backendPathTemplate?: string | undefined;
179
+ breakingNote?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppBreakingNote | undefined;
180
+ databases?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppDatabaseDependency[] | undefined;
181
+ defaultCronjobs?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppDefaultCronjob[] | undefined;
182
+ docRoot: string;
183
+ docRootUserEditable: boolean;
184
+ externalVersion: string;
185
+ id: string;
186
+ internalVersion: string;
187
+ recommended?: boolean | undefined;
188
+ requestHandler?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppRequestHandlerRequirement | undefined;
189
+ systemSoftwareDependencies?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppSystemSoftwareDependency[] | undefined;
190
+ userInputs?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppUserInput[] | undefined;
191
+ }>;
192
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
193
+ getInstalledSystemsoftwareForAppinstallation: (conf: {
194
+ appInstallationId: string;
195
+ headers?: {
196
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
197
+ "x-access-token"?: string | undefined;
198
+ } | undefined;
199
+ queryParameters?: {
200
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
201
+ tagFilter?: string | undefined;
202
+ } | undefined;
203
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppSystemSoftware[]>;
204
+ /** Get the missing requirements of an appInstallation for a specific target AppVersion. */
205
+ getMissingDependenciesForAppinstallation: (conf: {
206
+ queryParameters: {
207
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
208
+ targetAppVersionID: string;
209
+ };
210
+ appInstallationId: string;
211
+ headers?: {
212
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
213
+ "x-access-token"?: string | undefined;
214
+ } | undefined;
215
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
216
+ missingSystemSoftwareDependencies?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppSystemSoftwareDependency[] | undefined;
217
+ missingUserInputs?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppUserInput[] | undefined;
218
+ }>;
219
+ /** Get a SystemSoftware. */
220
+ getSystemsoftware: (conf: {
221
+ systemSoftwareId: string;
222
+ headers?: {
223
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
224
+ "x-access-token"?: string | undefined;
225
+ } | undefined;
226
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
227
+ id: string;
228
+ meta?: {
229
+ [k: string]: string;
230
+ } | undefined;
231
+ name: string;
232
+ tags: string[];
233
+ }>;
234
+ /** Get a SystemSoftwareVersion. */
235
+ getSystemsoftwareversion: (conf: {
236
+ systemSoftwareId: string;
237
+ systemSoftwareVersionId: string;
238
+ headers?: {
239
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
240
+ "x-access-token"?: string | undefined;
241
+ } | undefined;
242
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
243
+ expiryDate?: string | undefined;
244
+ externalVersion: string;
245
+ fee?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldFeeFeeStrategy | undefined;
246
+ id: string;
247
+ internalVersion: string;
248
+ recommended?: boolean | undefined;
249
+ systemSoftwareDependencies?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppSystemSoftwareDependency[] | undefined;
250
+ userInputs?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppUserInput[] | undefined;
251
+ }>;
252
+ /** List AppInstallations that a user has access to. */
253
+ listAppinstallationsForUser: (conf?: {
254
+ headers?: {
255
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
256
+ "x-access-token"?: string | undefined;
257
+ } | undefined;
258
+ queryParameters?: {
259
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
260
+ appIds?: string[] | undefined;
261
+ searchTerm?: string | undefined;
262
+ sortOrder?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppAppInstallationSortOrder | undefined;
263
+ limit?: number | undefined;
264
+ skip?: number | undefined;
265
+ page?: number | undefined;
266
+ } | undefined;
267
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppAppInstallation[]>;
268
+ /** List AppInstallations belonging to a Project. */
269
+ listAppinstallations: (conf: {
270
+ projectId: string;
271
+ headers?: {
272
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
273
+ "x-access-token"?: string | undefined;
274
+ } | undefined;
275
+ queryParameters?: {
276
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
277
+ appIds?: string[] | undefined;
278
+ searchTerm?: string | undefined;
279
+ sortOrder?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppAppInstallationSortOrder | undefined;
280
+ limit?: number | undefined;
281
+ skip?: number | undefined;
282
+ page?: number | undefined;
283
+ } | undefined;
284
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppAppInstallation[]>;
285
+ /** List Apps. */
286
+ listApps: (conf?: {
287
+ headers?: {
288
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
289
+ } | undefined;
290
+ queryParameters?: {
291
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
292
+ limit?: number | undefined;
293
+ skip?: number | undefined;
294
+ page?: number | undefined;
295
+ } | undefined;
296
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppApp[]>;
297
+ /** List AppVersions belonging to an App. */
298
+ listAppversions: (conf: {
299
+ appId: string;
300
+ headers?: {
301
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
302
+ "x-access-token"?: string | undefined;
303
+ } | undefined;
304
+ queryParameters?: {
305
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
306
+ versionRange?: string | undefined;
307
+ recommended?: boolean | undefined;
308
+ } | undefined;
309
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppAppVersion[]>;
310
+ /** List SystemSoftwares. */
311
+ listSystemsoftwares: (conf?: {
312
+ headers?: {
313
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
314
+ "x-access-token"?: string | undefined;
315
+ } | undefined;
316
+ queryParameters?: {
317
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
318
+ limit?: number | undefined;
319
+ skip?: number | undefined;
320
+ page?: number | undefined;
321
+ } | undefined;
322
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppSystemSoftware[]>;
323
+ /** List SystemSoftwareVersions belonging to a SystemSoftware. */
324
+ listSystemsoftwareversions: (conf: {
325
+ systemSoftwareId: string;
326
+ headers?: {
327
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
328
+ "x-access-token"?: string | undefined;
329
+ } | undefined;
330
+ queryParameters?: {
331
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
332
+ versionRange?: string | undefined;
333
+ recommended?: boolean | undefined;
334
+ } | undefined;
335
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppSystemSoftwareVersion[]>;
336
+ /** List update candidates belonging to an AppVersion. */
337
+ listUpdateCandidatesForAppversion: (conf: {
338
+ appId: string;
339
+ baseAppVersionId: string;
340
+ headers?: {
341
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
342
+ "x-access-token"?: string | undefined;
343
+ } | undefined;
344
+ queryParameters?: {
345
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
346
+ onlyRecommended?: boolean | undefined;
347
+ } | undefined;
348
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppAppVersion[]>;
349
+ /** Get runtime status belonging to an AppInstallation. */
350
+ retrieveStatus: (conf: {
351
+ appInstallationId: string;
352
+ headers?: {
353
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
354
+ } | undefined;
355
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
356
+ lastExitCode?: number | undefined;
357
+ logFileLocation: string;
358
+ state: "running" | "stopped" | "exited";
359
+ uptimeSeconds?: number | undefined;
360
+ }>;
361
+ };
362
+ declare const buildArticleApi: (baseClient: MittwaldAPIV3NextClient) => {
363
+ /** Get an Article. */
364
+ getArticle: (conf: {
365
+ articleId: string;
366
+ headers?: {
367
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
368
+ } | undefined;
369
+ queryParameters?: {
370
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
371
+ customerId?: string | undefined;
372
+ } | undefined;
373
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
374
+ addons?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldArticleArticleAddons[] | undefined;
375
+ articleId: string;
376
+ attributes?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldArticleArticleAttributes[] | undefined;
377
+ balanceAddonKey?: string | undefined;
378
+ contractDurationInMonth: number;
379
+ description?: string | undefined;
380
+ forcedInvoicingPeriodInMonth?: number | undefined;
381
+ hasIndependentContractPeriod?: boolean | undefined;
382
+ hideOnInvoice?: boolean | undefined;
383
+ machineType?: {
384
+ cpu: string;
385
+ memory: string;
386
+ name: string;
387
+ } | undefined;
388
+ modifierArticles?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldArticleReadableModifierArticleOptions[] | undefined;
389
+ name: string;
390
+ orderable: "full" | "forbidden" | "internal" | "beta_testing" | "deprecated";
391
+ possibleArticleChanges?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldArticleReadableChangeArticleOptions[] | undefined;
392
+ price?: number | undefined;
393
+ tags?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldArticleArticleTag[] | undefined;
394
+ template: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldArticleArticleTemplate;
395
+ }>;
396
+ /** List Articles. */
397
+ listArticles: (conf?: {
398
+ headers?: {
399
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
400
+ } | undefined;
401
+ queryParameters?: {
402
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
403
+ customerId?: string | undefined;
404
+ tags?: string[] | undefined;
405
+ templateNames?: string[] | undefined;
406
+ articleIds?: string[] | undefined;
407
+ orderable?: ("forbidden" | "internal" | "beta_testing" | "full" | "deprecated")[] | undefined;
408
+ name?: string | undefined;
409
+ limit?: number | undefined;
410
+ skip?: number | undefined;
411
+ page?: number | undefined;
412
+ } | undefined;
413
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldArticleReadableArticle[]>;
414
+ };
415
+ declare const buildBackupApi: (baseClient: MittwaldAPIV3NextClient) => {
416
+ /** List BackupSchedules belonging to a Project. */
417
+ listProjectBackupSchedules: (conf: {
418
+ projectId: string;
419
+ headers?: {
420
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
421
+ "x-access-token"?: string | undefined;
422
+ } | undefined;
423
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupSchedule[]>;
424
+ /** List Backups belonging to a Project. */
425
+ listProjectBackups: (conf: {
426
+ projectId: string;
427
+ headers?: {
428
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
429
+ "x-access-token"?: string | undefined;
430
+ } | undefined;
431
+ queryParameters?: {
432
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
433
+ searchTerm?: string | undefined;
434
+ withExportsOnly?: boolean | undefined;
435
+ sortOrder?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupBackupSortOrder | undefined;
436
+ runningRestoresOnly?: boolean | undefined;
437
+ runningBackupsOnly?: boolean | undefined;
438
+ limit?: number | undefined;
439
+ skip?: number | undefined;
440
+ page?: number | undefined;
441
+ } | undefined;
442
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackup[]>;
443
+ /** Get a ProjectBackupSchedule. */
444
+ getProjectBackupSchedule: (conf: {
445
+ projectBackupScheduleId: string;
446
+ headers?: {
447
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
448
+ "x-access-token"?: string | undefined;
449
+ } | undefined;
450
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
451
+ createdAt?: string | undefined;
452
+ description?: string | undefined;
453
+ id: string;
454
+ isSystemBackup: boolean;
455
+ projectId: string;
456
+ schedule: string;
457
+ ttl?: string | undefined;
458
+ updatedAt?: string | undefined;
459
+ }>;
460
+ /** Get a ProjectBackup. */
461
+ getProjectBackup: (conf: {
462
+ projectBackupId: string;
463
+ headers?: {
464
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
465
+ "x-access-token"?: string | undefined;
466
+ } | undefined;
467
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
468
+ createdAt?: string | undefined;
469
+ deletable: boolean;
470
+ description?: string | undefined;
471
+ expiresAt?: string | undefined;
472
+ export?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupExport | undefined;
473
+ id: string;
474
+ parentId?: string | undefined;
475
+ projectId: string;
476
+ requestedAt: string;
477
+ restore?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestore | undefined;
478
+ restorePath?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupRestorePathDeprecated | undefined;
479
+ status: string;
480
+ }>;
481
+ /** List database dump's for a ProjectBackup. */
482
+ getProjectBackupDatabaseDumps: (conf: {
483
+ projectBackupId: string;
484
+ headers?: {
485
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
486
+ "x-access-token"?: string | undefined;
487
+ } | undefined;
488
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
489
+ databases: string[];
490
+ }>;
491
+ /** List paths for a ProjectBackup. */
492
+ getProjectBackupDirectories: (conf: {
493
+ projectBackupId: string;
494
+ headers?: {
495
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
496
+ "x-access-token"?: string | undefined;
497
+ } | undefined;
498
+ queryParameters?: {
499
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
500
+ directory?: string | undefined;
501
+ } | undefined;
502
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
503
+ absolutePath: string;
504
+ isDirectory?: boolean | undefined;
505
+ isExecutable?: boolean | undefined;
506
+ isFile?: boolean | undefined;
507
+ isSymlink?: boolean | undefined;
508
+ items?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldBackupProjectBackupPath[] | undefined;
509
+ name: string;
510
+ size: number;
511
+ target?: string | undefined;
512
+ }>;
513
+ };
514
+ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
515
+ /** Call pull-image webhook */
516
+ callPullImageWebhookForService: (conf: {
517
+ queryParameters: {
518
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
519
+ token: string;
520
+ };
521
+ stackId: string;
522
+ headers?: {
523
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
524
+ } | undefined;
525
+ }) => import("@mittwald/react-use-promise").AsyncResource<never>;
526
+ /** List Registries belonging to a Project. */
527
+ listRegistries: (conf: {
528
+ projectId: string;
529
+ headers?: {
530
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
531
+ "x-access-token"?: string | undefined;
532
+ } | undefined;
533
+ queryParameters?: {
534
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
535
+ hasCredentials?: boolean | undefined;
536
+ limit?: number | undefined;
537
+ skip?: number | undefined;
538
+ page?: number | undefined;
539
+ } | undefined;
540
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerRegistry[]>;
541
+ /** List Stacks belonging to a Project. */
542
+ listStacks: (conf: {
543
+ projectId: string;
544
+ headers?: {
545
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
546
+ "x-access-token"?: string | undefined;
547
+ } | undefined;
548
+ queryParameters?: {
549
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
550
+ limit?: number | undefined;
551
+ skip?: number | undefined;
552
+ page?: number | undefined;
553
+ } | undefined;
554
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerStackResponse[]>;
555
+ /** Get a Stack. */
556
+ getStack: (conf: {
557
+ stackId: string;
558
+ headers?: {
559
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
560
+ "x-access-token"?: string | undefined;
561
+ } | undefined;
562
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
563
+ description: string;
564
+ disabled: boolean;
565
+ id: string;
566
+ prefix: string;
567
+ projectId: string;
568
+ services?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceResponse[] | undefined;
569
+ templateId?: string | undefined;
570
+ updateSchedule?: {
571
+ cron: string;
572
+ timezone?: string;
573
+ } | null | undefined;
574
+ volumes?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeResponse[] | undefined;
575
+ }>;
576
+ /** Get a Registry. */
577
+ getRegistry: (conf: {
578
+ registryId: string;
579
+ headers?: {
580
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
581
+ "x-access-token"?: string | undefined;
582
+ } | undefined;
583
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
584
+ credentials?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerRegistryCredentials | undefined;
585
+ description: string;
586
+ id: string;
587
+ projectId: string;
588
+ uri: string;
589
+ }>;
590
+ /** Get a Volume belonging to a Stack. */
591
+ getVolume: (conf: {
592
+ stackId: string;
593
+ volumeId: string;
594
+ headers?: {
595
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
596
+ "x-access-token"?: string | undefined;
597
+ } | undefined;
598
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
599
+ id: string;
600
+ linkedServices?: string[] | undefined;
601
+ name: string;
602
+ orphaned: boolean;
603
+ stackId: string;
604
+ storageUsageInBytes: number;
605
+ storageUsageInBytesSetAt: string;
606
+ }>;
607
+ /** Get a ContainerImageConfig. */
608
+ getContainerImageConfig: (conf: {
609
+ queryParameters: {
610
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
611
+ imageReference: string;
612
+ useCredentialsForProjectId?: string | undefined;
613
+ useCredentialsForRegistryId?: string | undefined;
614
+ generateAiData?: boolean | undefined;
615
+ };
616
+ headers?: {
617
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
618
+ "x-access-token"?: string | undefined;
619
+ } | undefined;
620
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
621
+ command?: string[] | undefined;
622
+ digest: string;
623
+ entrypoint?: string[] | undefined;
624
+ env?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerContainerImageConfigEnv[] | undefined;
625
+ exposedPorts?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerContainerImageConfigExposedPort[] | undefined;
626
+ hasAiGeneratedData: boolean;
627
+ isAiAvailable: boolean;
628
+ isUserRoot: boolean;
629
+ overwritingUser?: number | undefined;
630
+ user: string;
631
+ userId: number;
632
+ volumes?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerContainerImageConfigVolume[] | undefined;
633
+ }>;
634
+ /** Get logs belonging to a Service. */
635
+ getServiceLogs: (conf: {
636
+ stackId: string;
637
+ serviceId: string;
638
+ headers?: {
639
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
640
+ "x-access-token"?: string | undefined;
641
+ } | undefined;
642
+ queryParameters?: {
643
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
644
+ tail?: number | undefined;
645
+ } | undefined;
646
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
647
+ /** Get a Service belonging to a Stack. */
648
+ getService: (conf: {
649
+ stackId: string;
650
+ serviceId: string;
651
+ headers?: {
652
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
653
+ "x-access-token"?: string | undefined;
654
+ } | undefined;
655
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
656
+ deploy?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerDeploy | undefined;
657
+ deployedState: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceState;
658
+ description: string;
659
+ id: string;
660
+ message?: string | undefined;
661
+ pendingState: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceState;
662
+ projectId: string;
663
+ requiresRecreate: boolean;
664
+ restartPolicy?: "no" | "always" | "on-failure" | "unless-stopped" | undefined;
665
+ serviceName: string;
666
+ shortId: string;
667
+ stackId: string;
668
+ status: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceStatus;
669
+ statusSetAt: string;
670
+ }>;
671
+ /** Get a Container Template icon. */
672
+ getTemplateIcon: (conf: {
673
+ templateId: string;
674
+ headers?: {
675
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
676
+ } | undefined;
677
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
678
+ /** Get a Container Template by ID. */
679
+ getTemplate: (conf: {
680
+ templateId: string;
681
+ headers?: {
682
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
683
+ } | undefined;
684
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
685
+ categories: string[];
686
+ description: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
687
+ developer: string;
688
+ domains?: {
689
+ port: string;
690
+ purpose?: string;
691
+ service: string;
692
+ userInput: string;
693
+ }[] | undefined;
694
+ help?: {
695
+ alerts?: {
696
+ content: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
697
+ heading: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
698
+ link?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
699
+ linkText?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
700
+ status: string;
701
+ }[];
702
+ technicalDetails?: {
703
+ key: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
704
+ value: string;
705
+ }[];
706
+ } | undefined;
707
+ iconUrl: string;
708
+ id: string;
709
+ license?: {
710
+ link?: string;
711
+ name: string;
712
+ } | undefined;
713
+ manifestVersion: string;
714
+ name: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
715
+ repository?: string | undefined;
716
+ supportLink?: string | undefined;
717
+ tagline: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
718
+ userInputs?: {
719
+ dataSource?: string;
720
+ defaultValue?: string;
721
+ label?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplateTranslatedString;
722
+ name: string;
723
+ required: boolean;
724
+ validationSchema?: string;
725
+ }[] | undefined;
726
+ version: string;
727
+ website?: string | undefined;
728
+ }>;
729
+ /** List Stacks belonging to the executing user. */
730
+ listSelfStacks: (conf?: {
731
+ headers?: {
732
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
733
+ "x-access-token"?: string | undefined;
734
+ } | undefined;
735
+ queryParameters?: {
736
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
737
+ searchTerm?: string | undefined;
738
+ limit?: number | undefined;
739
+ skip?: number | undefined;
740
+ page?: number | undefined;
741
+ } | undefined;
742
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerStackResponse[]>;
743
+ /** List Services belonging to a Project. */
744
+ listServices: (conf: {
745
+ projectId: string;
746
+ headers?: {
747
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
748
+ "x-access-token"?: string | undefined;
749
+ } | undefined;
750
+ queryParameters?: {
751
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
752
+ stackId?: string | undefined;
753
+ status?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceStatus | undefined;
754
+ requiresRecreate?: boolean | undefined;
755
+ searchTerm?: string | undefined;
756
+ sortOrder?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceSortOrder | undefined;
757
+ limit?: number | undefined;
758
+ skip?: number | undefined;
759
+ page?: number | undefined;
760
+ } | undefined;
761
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceResponse[]>;
762
+ /** List Volumes belonging to a Stack. */
763
+ listStackVolumes: (conf: {
764
+ stackId: string;
765
+ headers?: {
766
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
767
+ "x-access-token"?: string | undefined;
768
+ } | undefined;
769
+ queryParameters?: {
770
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
771
+ searchTerm?: string | undefined;
772
+ sortOrder?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeSortOrder | undefined;
773
+ limit?: number | undefined;
774
+ skip?: number | undefined;
775
+ page?: number | undefined;
776
+ } | undefined;
777
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeResponse[]>;
778
+ /** List Container Templates. */
779
+ listTemplates: (conf?: {
780
+ headers?: {
781
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
782
+ } | undefined;
783
+ queryParameters?: {
784
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
785
+ category?: string | undefined;
786
+ searchTerm?: string | undefined;
787
+ type?: "component" | "standalone" | undefined;
788
+ limit?: number | undefined;
789
+ skip?: number | undefined;
790
+ page?: number | undefined;
791
+ } | undefined;
792
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerTemplate[]>;
793
+ /** List Volumes belonging to a Project. */
794
+ listVolumes: (conf: {
795
+ projectId: string;
796
+ headers?: {
797
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
798
+ "x-access-token"?: string | undefined;
799
+ } | undefined;
800
+ queryParameters?: {
801
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
802
+ stackId?: string | undefined;
803
+ searchTerm?: string | undefined;
804
+ sortOrder?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeSortOrder | undefined;
805
+ limit?: number | undefined;
806
+ skip?: number | undefined;
807
+ page?: number | undefined;
808
+ } | undefined;
809
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeResponse[]>;
810
+ };
811
+ declare const buildContractApi: (baseClient: MittwaldAPIV3NextClient) => {
812
+ /** Return the BaseItem of the Contract with the given ID. */
813
+ getBaseItemOfContract: (conf: {
814
+ contractId: string;
815
+ headers?: {
816
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
817
+ "x-access-token"?: string | undefined;
818
+ } | undefined;
819
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
820
+ activationDate?: string | undefined;
821
+ aggregateReference?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractAggregateReference | undefined;
822
+ articles: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractArticle[];
823
+ contractPeriod: number;
824
+ description: string;
825
+ freeTrialDays?: number | undefined;
826
+ groupByProjectId?: string | undefined;
827
+ invoiceStop?: string | undefined;
828
+ invoicingPeriod?: number | undefined;
829
+ isActivated: boolean;
830
+ isBaseItem: boolean;
831
+ isInFreeTrial?: boolean | undefined;
832
+ isInclusive?: boolean | undefined;
833
+ itemId: string;
834
+ nextPossibleDowngradeDate?: string | undefined;
835
+ nextPossibleTerminationDate?: string | undefined;
836
+ nextPossibleUpgradeDate?: string | undefined;
837
+ orderDate?: string | undefined;
838
+ orderId?: string | undefined;
839
+ replacedByItem?: string | undefined;
840
+ tariffChange?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractTariffChange | undefined;
841
+ termination?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractTermination | undefined;
842
+ totalPrice: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractPrice;
843
+ }>;
844
+ /** Return the AI Hosting Contract for the given Customer. */
845
+ getDetailOfContractByAiHosting: (conf: {
846
+ customerId: string;
847
+ headers?: {
848
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
849
+ "x-access-token"?: string | undefined;
850
+ } | undefined;
851
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
852
+ additionalItems?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem[] | undefined;
853
+ baseItem: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem;
854
+ contractId: string;
855
+ contractNumber: string;
856
+ customerId: string;
857
+ termination?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractTermination | undefined;
858
+ }>;
859
+ /** Return the Contract for the given Certificate. */
860
+ getDetailOfContractByCertificate: (conf: {
861
+ certificateId: string;
862
+ headers?: {
863
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
864
+ "x-access-token"?: string | undefined;
865
+ } | undefined;
866
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
867
+ additionalItems?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem[] | undefined;
868
+ baseItem: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem;
869
+ contractId: string;
870
+ contractNumber: string;
871
+ customerId: string;
872
+ termination?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractTermination | undefined;
873
+ }>;
874
+ /** Return the Contract for the given Domain. */
875
+ getDetailOfContractByDomain: (conf: {
876
+ domainId: string;
877
+ headers?: {
878
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
879
+ "x-access-token"?: string | undefined;
880
+ } | undefined;
881
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
882
+ additionalItems?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem[] | undefined;
883
+ baseItem: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem;
884
+ contractId: string;
885
+ contractNumber: string;
886
+ customerId: string;
887
+ termination?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractTermination | undefined;
888
+ }>;
889
+ /** Return the Contract for the given LeadFyndrProfile. */
890
+ getDetailOfContractByLeadFyndr: (conf: {
891
+ customerId: string;
892
+ headers?: {
893
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
894
+ "x-access-token"?: string | undefined;
895
+ } | undefined;
896
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
897
+ additionalItems?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem[] | undefined;
898
+ baseItem: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem;
899
+ contractId: string;
900
+ contractNumber: string;
901
+ customerId: string;
902
+ termination?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractTermination | undefined;
903
+ }>;
904
+ /** Return the Contract for the given License. */
905
+ getDetailOfContractByLicense: (conf: {
906
+ licenseId: string;
907
+ headers?: {
908
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
909
+ "x-access-token"?: string | undefined;
910
+ } | undefined;
911
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
912
+ additionalItems?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem[] | undefined;
913
+ baseItem: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem;
914
+ contractId: string;
915
+ contractNumber: string;
916
+ customerId: string;
917
+ termination?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractTermination | undefined;
918
+ }>;
919
+ /** Return the Contract for the given Mail Address. */
920
+ getDetailOfContractByMailAddress: (conf: {
921
+ mailAddressId: string;
922
+ headers?: {
923
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
924
+ "x-access-token"?: string | undefined;
925
+ } | undefined;
926
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
927
+ additionalItems?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem[] | undefined;
928
+ baseItem: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem;
929
+ contractId: string;
930
+ contractNumber: string;
931
+ customerId: string;
932
+ termination?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractTermination | undefined;
933
+ }>;
934
+ /** Return the Contract for the given Project. */
935
+ getDetailOfContractByProject: (conf: {
936
+ projectId: string;
937
+ headers?: {
938
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
939
+ "x-access-token"?: string | undefined;
940
+ } | undefined;
941
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
942
+ additionalItems?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem[] | undefined;
943
+ baseItem: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem;
944
+ contractId: string;
945
+ contractNumber: string;
946
+ customerId: string;
947
+ termination?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractTermination | undefined;
948
+ }>;
949
+ /** Return the Contract for the given Server. */
950
+ getDetailOfContractByServer: (conf: {
951
+ serverId: string;
952
+ headers?: {
953
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
954
+ "x-access-token"?: string | undefined;
955
+ } | undefined;
956
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
957
+ additionalItems?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem[] | undefined;
958
+ baseItem: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem;
959
+ contractId: string;
960
+ contractNumber: string;
961
+ customerId: string;
962
+ termination?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractTermination | undefined;
963
+ }>;
964
+ /** Get the ContractItem with the given ID. */
965
+ getDetailOfContractItem: (conf: {
966
+ contractId: string;
967
+ contractItemId: string;
968
+ headers?: {
969
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
970
+ "x-access-token"?: string | undefined;
971
+ } | undefined;
972
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
973
+ activationDate?: string | undefined;
974
+ aggregateReference?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractAggregateReference | undefined;
975
+ articles: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractArticle[];
976
+ contractPeriod: number;
977
+ description: string;
978
+ freeTrialDays?: number | undefined;
979
+ groupByProjectId?: string | undefined;
980
+ invoiceStop?: string | undefined;
981
+ invoicingPeriod?: number | undefined;
982
+ isActivated: boolean;
983
+ isBaseItem: boolean;
984
+ isInFreeTrial?: boolean | undefined;
985
+ isInclusive?: boolean | undefined;
986
+ itemId: string;
987
+ nextPossibleDowngradeDate?: string | undefined;
988
+ nextPossibleTerminationDate?: string | undefined;
989
+ nextPossibleUpgradeDate?: string | undefined;
990
+ orderDate?: string | undefined;
991
+ orderId?: string | undefined;
992
+ replacedByItem?: string | undefined;
993
+ tariffChange?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractTariffChange | undefined;
994
+ termination?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractTermination | undefined;
995
+ totalPrice: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractPrice;
996
+ }>;
997
+ /** Returns the Contract with the given ID. */
998
+ getDetailOfContract: (conf: {
999
+ contractId: string;
1000
+ headers?: {
1001
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1002
+ "x-access-token"?: string | undefined;
1003
+ } | undefined;
1004
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1005
+ additionalItems?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem[] | undefined;
1006
+ baseItem: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContractItem;
1007
+ contractId: string;
1008
+ contractNumber: string;
1009
+ customerId: string;
1010
+ termination?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractTermination | undefined;
1011
+ }>;
1012
+ /** Return a list of Contracts for the given Customer. */
1013
+ listContracts: (conf: {
1014
+ customerId: string;
1015
+ headers?: {
1016
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1017
+ "x-access-token"?: string | undefined;
1018
+ } | undefined;
1019
+ queryParameters?: {
1020
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1021
+ limit?: number | undefined;
1022
+ skip?: number | undefined;
1023
+ page?: number | undefined;
1024
+ } | undefined;
1025
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContract[]>;
1026
+ /** Get details of an Invoice. */
1027
+ invoiceDetail: (conf: {
1028
+ invoiceId: string;
1029
+ headers?: {
1030
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1031
+ "x-access-token"?: string | undefined;
1032
+ } | undefined;
1033
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1034
+ amountPaid: number;
1035
+ cancellation?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldInvoiceCancellation | undefined;
1036
+ cancellationOf?: string | undefined;
1037
+ currency: string;
1038
+ customerId: string;
1039
+ date: string;
1040
+ groups: {
1041
+ contractId?: string;
1042
+ description?: string;
1043
+ items: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldInvoiceInvoiceItem[];
1044
+ }[];
1045
+ id: string;
1046
+ invoiceNumber: string;
1047
+ invoiceType: "REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION";
1048
+ paymentSettings?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldInvoicePaymentSettings | undefined;
1049
+ pdfId: string;
1050
+ recipient: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldInvoiceRecipient;
1051
+ reissuedBy?: string | undefined;
1052
+ status: "NEW" | "CONFIRMED" | "DENIED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID";
1053
+ totalGross: number;
1054
+ totalNet: number;
1055
+ vatId?: string | undefined;
1056
+ }>;
1057
+ /** Get InvoiceSettings of a Customer. */
1058
+ invoiceGetDetailOfInvoiceSettings: (conf: {
1059
+ customerId: string;
1060
+ headers?: {
1061
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1062
+ "x-access-token"?: string | undefined;
1063
+ } | undefined;
1064
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1065
+ additionalEmailRecipients?: string[] | undefined;
1066
+ debitPaymentStopUntil?: string | undefined;
1067
+ id: string;
1068
+ invoicePeriod?: number | undefined;
1069
+ lastBankingInformation?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldInvoiceBankingInformation | undefined;
1070
+ paymentSettings?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldInvoicePaymentSettings | undefined;
1071
+ printedInvoices?: boolean | undefined;
1072
+ recipient?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldInvoiceRecipient | undefined;
1073
+ recipientSameAsOwner?: boolean | undefined;
1074
+ status?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldInvoiceInvoiceSettingsStatus[] | undefined;
1075
+ targetDay?: number | undefined;
1076
+ }>;
1077
+ /** Request an Access Token for the Invoice file. */
1078
+ invoiceGetFileAccessToken: (conf: {
1079
+ customerId: string;
1080
+ invoiceId: string;
1081
+ headers?: {
1082
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1083
+ "x-access-token"?: string | undefined;
1084
+ } | undefined;
1085
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1086
+ accessToken: string;
1087
+ expiresAt: string;
1088
+ }>;
1089
+ /** List Invoices of a Customer. */
1090
+ invoiceListCustomerInvoices: (conf: {
1091
+ customerId: string;
1092
+ headers?: {
1093
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1094
+ "x-access-token"?: string | undefined;
1095
+ } | undefined;
1096
+ queryParameters?: {
1097
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1098
+ invoiceTypes?: ("REGULAR" | "REISSUE" | "CORRECTION" | "CANCELLATION")[] | undefined;
1099
+ status?: ("CONFIRMED" | "PAID" | "PARTIALLY_PAID" | "OVERPAID")[] | undefined;
1100
+ search?: string | undefined;
1101
+ limit?: number | undefined;
1102
+ skip?: number | undefined;
1103
+ page?: number | undefined;
1104
+ sort?: "invoiceNumber"[] | undefined;
1105
+ order?: ("asc" | "desc")[] | undefined;
1106
+ } | undefined;
1107
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldInvoiceInvoice[]>;
1108
+ /** Get list of Orders. */
1109
+ orderListOrders: (conf?: {
1110
+ headers?: {
1111
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1112
+ "x-access-token"?: string | undefined;
1113
+ } | undefined;
1114
+ queryParameters?: {
1115
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1116
+ includesStatus?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderOrderStatus[] | undefined;
1117
+ excludesStatus?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderOrderStatus[] | undefined;
1118
+ templateNames?: string[] | undefined;
1119
+ types?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderOrderType[] | undefined;
1120
+ limit?: number | undefined;
1121
+ skip?: number | undefined;
1122
+ page?: number | undefined;
1123
+ } | undefined;
1124
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderCustomerOrder[]>;
1125
+ /** Get Order for Customer. */
1126
+ orderGetOrder: (conf: {
1127
+ orderId: string;
1128
+ headers?: {
1129
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1130
+ "x-access-token"?: string | undefined;
1131
+ } | undefined;
1132
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1133
+ contractChangeContractId?: string | undefined;
1134
+ customerId: string;
1135
+ dueDate?: string | undefined;
1136
+ invoicingPeriod: number;
1137
+ items: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderOrderItem[];
1138
+ orderDate?: string | undefined;
1139
+ orderId: string;
1140
+ orderNumber: string;
1141
+ profile?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderProfile | undefined;
1142
+ status: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderOrderStatus;
1143
+ summary: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderOrderSummary;
1144
+ type: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderOrderType;
1145
+ }>;
1146
+ /** Get list of Orders of a Customer. */
1147
+ orderListCustomerOrders: (conf: {
1148
+ customerId: string;
1149
+ headers?: {
1150
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1151
+ "x-access-token"?: string | undefined;
1152
+ } | undefined;
1153
+ queryParameters?: {
1154
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1155
+ limit?: number | undefined;
1156
+ skip?: number | undefined;
1157
+ page?: number | undefined;
1158
+ includesStatus?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderOrderStatus[] | undefined;
1159
+ excludesStatus?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderOrderStatus[] | undefined;
1160
+ templateNames?: string[] | undefined;
1161
+ } | undefined;
1162
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderCustomerOrder[]>;
1163
+ /** Get list of Orders of a Project. */
1164
+ orderListProjectOrders: (conf: {
1165
+ projectId: string;
1166
+ headers?: {
1167
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1168
+ "x-access-token"?: string | undefined;
1169
+ } | undefined;
1170
+ queryParameters?: {
1171
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1172
+ limit?: number | undefined;
1173
+ skip?: number | undefined;
1174
+ page?: number | undefined;
1175
+ includesStatus?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderOrderStatus[] | undefined;
1176
+ excludesStatus?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderOrderStatus[] | undefined;
1177
+ templateNames?: string[] | undefined;
1178
+ } | undefined;
1179
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldOrderCustomerOrder[]>;
1180
+ };
1181
+ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV3NextClient) => {
1182
+ /** Get a Contributor. */
1183
+ extensionGetContributor: (conf: {
1184
+ contributorId: string;
1185
+ headers?: {
1186
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1187
+ } | undefined;
1188
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV3Next.Paths.V3NextContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>>;
1189
+ /** Get Contributor Billing Information. */
1190
+ contributorGetBillingInformation: (conf: {
1191
+ contributorId: string;
1192
+ headers?: {
1193
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1194
+ "x-access-token"?: string | undefined;
1195
+ } | undefined;
1196
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1197
+ contributorId?: string | undefined;
1198
+ invoiceFooter?: string | undefined;
1199
+ onboardingStatus?: "NOT_STARTED" | "STARTED" | "SUCCESSFUL" | undefined;
1200
+ stripeAccountId?: string | undefined;
1201
+ }>;
1202
+ /** Get the Stripe Billing Portal Link for a Customer */
1203
+ contributorGetCustomerBillingPortalLink: (conf: {
1204
+ customerId: string;
1205
+ headers?: {
1206
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1207
+ "x-access-token"?: string | undefined;
1208
+ } | undefined;
1209
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1210
+ url?: string | undefined;
1211
+ }>;
1212
+ /** Get the Stripe Dashboard Link for a Contributor. */
1213
+ contributorGetLoginLink: (conf: {
1214
+ contributorId: string;
1215
+ headers?: {
1216
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1217
+ "x-access-token"?: string | undefined;
1218
+ } | undefined;
1219
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1220
+ url?: string | undefined;
1221
+ }>;
1222
+ /** List ContractPartners of the contributor. */
1223
+ contributorListContractPartnersOfContributor: (conf: {
1224
+ contributorId: string;
1225
+ headers?: {
1226
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1227
+ "x-access-token"?: string | undefined;
1228
+ } | undefined;
1229
+ queryParameters?: {
1230
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1231
+ extensionId?: string | undefined;
1232
+ extensionInstanceId?: string | undefined;
1233
+ } | undefined;
1234
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceContractPartner[]>;
1235
+ /** List incoming Invoices of a Contributor. */
1236
+ contributorListIncomingInvoices: (conf: {
1237
+ contributorId: string;
1238
+ headers?: {
1239
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1240
+ "x-access-token"?: string | undefined;
1241
+ } | undefined;
1242
+ queryParameters?: {
1243
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1244
+ search?: string | undefined;
1245
+ limit?: number | undefined;
1246
+ skip?: number | undefined;
1247
+ page?: number | undefined;
1248
+ sort?: "invoiceNumber"[] | undefined;
1249
+ order?: ("asc" | "desc")[] | undefined;
1250
+ } | undefined;
1251
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1252
+ currency: string;
1253
+ customerId: string;
1254
+ customerName: string;
1255
+ customerNumber: string;
1256
+ date: string;
1257
+ id: string;
1258
+ invoiceNumber: string;
1259
+ invoiceType?: "REGULAR" | "CORRECTION" | "REISSUE" | "CANCELLATION";
1260
+ pdfId: string;
1261
+ recipient: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldInvoiceRecipient;
1262
+ totalGross: number;
1263
+ totalNet: number;
1264
+ }[]>;
1265
+ /** List all invoices on behalf of a contributor. */
1266
+ contributorListOnbehalfInvoices: (conf: {
1267
+ contributorId: string;
1268
+ headers?: {
1269
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1270
+ "x-access-token"?: string | undefined;
1271
+ } | undefined;
1272
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1273
+ invoiceDate: string;
1274
+ invoiceId: string;
1275
+ invoiceNumber: string;
1276
+ invoiceType: "INVOICE" | "CREDIT_NOTE";
1277
+ pdfLink: string;
1278
+ totalGross: number;
1279
+ totalNet: number;
1280
+ webLink?: string;
1281
+ }[]>;
1282
+ /** Request an Access Token for the Incoming Invoice file. */
1283
+ contributorReceiptGetFileAccessToken: (conf: {
1284
+ contributorId: string;
1285
+ contributorReceiptId: string;
1286
+ headers?: {
1287
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1288
+ "x-access-token"?: string | undefined;
1289
+ } | undefined;
1290
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1291
+ accessToken: string;
1292
+ expiresAt: string;
1293
+ }>;
1294
+ /** Check if an Extension is unchargable for this specific context or if it must be charged. */
1295
+ extensionCheckExtensionIsChargable: (conf: {
1296
+ extensionId: string;
1297
+ contextId: string;
1298
+ headers?: {
1299
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1300
+ } | undefined;
1301
+ queryParameters?: {
1302
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1303
+ variantKey?: string | undefined;
1304
+ } | undefined;
1305
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1306
+ chargeability: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionInstanceChargeability;
1307
+ }>;
1308
+ /** List ExtensionInstances. */
1309
+ extensionListExtensionInstances: (conf?: {
1310
+ headers?: {
1311
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1312
+ "x-access-token"?: string | undefined;
1313
+ } | undefined;
1314
+ queryParameters?: {
1315
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1316
+ context?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceContext | undefined;
1317
+ contextId?: string | undefined;
1318
+ extensionId?: string | undefined;
1319
+ searchTerm?: string | undefined;
1320
+ anchor?: string | undefined;
1321
+ limit?: number | undefined;
1322
+ skip?: number | undefined;
1323
+ page?: number | undefined;
1324
+ sort?: ("createdAt" | "extensionId" | "extensionName")[] | undefined;
1325
+ order?: ("asc" | "desc")[] | undefined;
1326
+ } | undefined;
1327
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionInstance[]>;
1328
+ /** Get an ExtensionInstance. */
1329
+ extensionGetExtensionInstance: (conf: {
1330
+ extensionInstanceId: string;
1331
+ headers?: {
1332
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1333
+ "x-access-token"?: string | undefined;
1334
+ } | undefined;
1335
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1336
+ aggregateReference: {
1337
+ aggregate: string;
1338
+ domain: string;
1339
+ id: string;
1340
+ };
1341
+ chargeability: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionInstanceChargeability;
1342
+ consentedScopes: string[];
1343
+ contributorId: string;
1344
+ contributorName: string;
1345
+ createdAt?: string | undefined;
1346
+ disabled: boolean;
1347
+ extensionDeletionDeadline?: string | undefined;
1348
+ extensionId: string;
1349
+ extensionName: string;
1350
+ extensionSubTitle?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceSubTitle | undefined;
1351
+ frontendFragments?: {
1352
+ [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceFrontendFragment;
1353
+ } | undefined;
1354
+ id: string;
1355
+ nextScheduledWebhookExecution?: string | undefined;
1356
+ pendingInstallation: boolean;
1357
+ pendingRemoval: boolean;
1358
+ variantKey?: string | undefined;
1359
+ webhookExecutionHalted: boolean;
1360
+ }>;
1361
+ /** Get Extension of own contributor. */
1362
+ extensionGetOwnExtension: (conf: {
1363
+ contributorId: string;
1364
+ extensionId: string;
1365
+ headers?: {
1366
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1367
+ "x-access-token"?: string | undefined;
1368
+ } | undefined;
1369
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1370
+ assets: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionAsset[];
1371
+ backendComponents?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceBackendComponents | undefined;
1372
+ blocked?: boolean | undefined;
1373
+ context?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceContext | undefined;
1374
+ contributorId: string;
1375
+ deletionDeadline?: string | undefined;
1376
+ deprecation?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionDeprecation | undefined;
1377
+ description?: string | undefined;
1378
+ detailedDescriptions?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceDetailedDescriptions | undefined;
1379
+ disabled?: boolean | undefined;
1380
+ externalFrontends?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExternalComponent[] | undefined;
1381
+ frontendComponents?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExternalComponent[] | undefined;
1382
+ frontendFragments?: {
1383
+ [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceFrontendFragment;
1384
+ } | undefined;
1385
+ functional: boolean;
1386
+ id: string;
1387
+ isDeletionScheduled?: boolean | undefined;
1388
+ logoRefId?: string | undefined;
1389
+ name: string;
1390
+ pricing?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceMonthlyPricePlanStrategy | undefined;
1391
+ pricingDetails?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplacePricePlanDetails | undefined;
1392
+ published: boolean;
1393
+ requestedChanges?: {
1394
+ context?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceContext;
1395
+ scopes?: string[];
1396
+ webhookUrls?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceWebhookUrls | {};
1397
+ } | undefined;
1398
+ scopes?: string[] | undefined;
1399
+ secrets: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionSecret[];
1400
+ state?: "enabled" | "blocked" | "disabled" | undefined;
1401
+ statistics: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionStatistics;
1402
+ subTitle?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceSubTitle | undefined;
1403
+ support?: (import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceSupportMeta & {
1404
+ inherited: boolean;
1405
+ }) | undefined;
1406
+ tags?: string[] | undefined;
1407
+ verificationRequested: boolean;
1408
+ verified: boolean;
1409
+ webhookUrls?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceWebhookUrls | undefined;
1410
+ }>;
1411
+ /** Get all open extension orders for given customer */
1412
+ extensionGetCustomerExtensionInstanceOrders: (conf: {
1413
+ customerId: string;
1414
+ headers?: {
1415
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1416
+ "x-access-token"?: string | undefined;
1417
+ } | undefined;
1418
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1419
+ context?: "project" | "customer";
1420
+ extensionId?: string;
1421
+ referencedId?: string;
1422
+ }[]>;
1423
+ /** Get the Contract Strategy of an Extension Instance */
1424
+ extensionGetExtensionInstanceContract: (conf: {
1425
+ extensionInstanceId: string;
1426
+ headers?: {
1427
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1428
+ "x-access-token"?: string | undefined;
1429
+ } | undefined;
1430
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1431
+ contractPeriodEndDate?: string | undefined;
1432
+ currentPrice?: number | undefined;
1433
+ interactionDeadline?: string | undefined;
1434
+ interactionRequired: boolean;
1435
+ pendingVariantChange?: {
1436
+ effectiveDate: string;
1437
+ targetVariantKey: string;
1438
+ } | undefined;
1439
+ status: "notStarted" | "pending" | "active" | "terminationPending";
1440
+ terminationTargetDate?: string | undefined;
1441
+ variantDescription?: string | undefined;
1442
+ variantKey?: string | undefined;
1443
+ variantName?: string | undefined;
1444
+ }>;
1445
+ /** Get the ExtensionInstance of a specific customer and extension, if existing. */
1446
+ extensionGetExtensionInstanceForCustomer: (conf: {
1447
+ customerId: string;
1448
+ extensionId: string;
1449
+ headers?: {
1450
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1451
+ "x-access-token"?: string | undefined;
1452
+ } | undefined;
1453
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1454
+ aggregateReference: {
1455
+ aggregate: string;
1456
+ domain: string;
1457
+ id: string;
1458
+ };
1459
+ chargeability: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionInstanceChargeability;
1460
+ consentedScopes: string[];
1461
+ contributorId: string;
1462
+ contributorName: string;
1463
+ createdAt?: string | undefined;
1464
+ disabled: boolean;
1465
+ extensionDeletionDeadline?: string | undefined;
1466
+ extensionId: string;
1467
+ extensionName: string;
1468
+ extensionSubTitle?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceSubTitle | undefined;
1469
+ frontendFragments?: {
1470
+ [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceFrontendFragment;
1471
+ } | undefined;
1472
+ id: string;
1473
+ nextScheduledWebhookExecution?: string | undefined;
1474
+ pendingInstallation: boolean;
1475
+ pendingRemoval: boolean;
1476
+ variantKey?: string | undefined;
1477
+ webhookExecutionHalted: boolean;
1478
+ }>;
1479
+ /** Get the ExtensionInstance of a specific project and extension, if existing. */
1480
+ extensionGetExtensionInstanceForProject: (conf: {
1481
+ projectId: string;
1482
+ extensionId: string;
1483
+ headers?: {
1484
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1485
+ "x-access-token"?: string | undefined;
1486
+ } | undefined;
1487
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1488
+ aggregateReference: {
1489
+ aggregate: string;
1490
+ domain: string;
1491
+ id: string;
1492
+ };
1493
+ chargeability: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionInstanceChargeability;
1494
+ consentedScopes: string[];
1495
+ contributorId: string;
1496
+ contributorName: string;
1497
+ createdAt?: string | undefined;
1498
+ disabled: boolean;
1499
+ extensionDeletionDeadline?: string | undefined;
1500
+ extensionId: string;
1501
+ extensionName: string;
1502
+ extensionSubTitle?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceSubTitle | undefined;
1503
+ frontendFragments?: {
1504
+ [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceFrontendFragment;
1505
+ } | undefined;
1506
+ id: string;
1507
+ nextScheduledWebhookExecution?: string | undefined;
1508
+ pendingInstallation: boolean;
1509
+ pendingRemoval: boolean;
1510
+ variantKey?: string | undefined;
1511
+ webhookExecutionHalted: boolean;
1512
+ }>;
1513
+ /** Get an Extension. */
1514
+ extensionGetExtension: (conf: {
1515
+ extensionId: string;
1516
+ headers?: {
1517
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1518
+ } | undefined;
1519
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV3Next.Paths.V3NextExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>>;
1520
+ /** Get all open extension orders for given project */
1521
+ extensionGetProjectExtensionInstanceOrders: (conf: {
1522
+ projectId: string;
1523
+ headers?: {
1524
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1525
+ "x-access-token"?: string | undefined;
1526
+ } | undefined;
1527
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1528
+ context?: "project" | "customer";
1529
+ extensionId?: string;
1530
+ referencedId?: string;
1531
+ }[]>;
1532
+ /** Get the public key to verify the webhook signature. */
1533
+ extensionGetPublicKey: (conf: {
1534
+ serial: string;
1535
+ headers?: {
1536
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1537
+ } | undefined;
1538
+ queryParameters?: {
1539
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1540
+ purpose?: "webhook" | "session_token" | undefined;
1541
+ format?: "raw" | "spki" | undefined;
1542
+ } | undefined;
1543
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1544
+ algorithm: string;
1545
+ key: string;
1546
+ serial: string;
1547
+ }>;
1548
+ /** List all Webhook Executions. */
1549
+ extensionListAllExtensionInstanceWebhookExecutions: (conf: {
1550
+ contributorId: string;
1551
+ headers?: {
1552
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1553
+ "x-access-token"?: string | undefined;
1554
+ } | undefined;
1555
+ queryParameters?: {
1556
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1557
+ extensionId?: string | undefined;
1558
+ extensionInstanceId?: string | undefined;
1559
+ state?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionInstanceWebhookExecutionState[] | undefined;
1560
+ limit?: number | undefined;
1561
+ skip?: number | undefined;
1562
+ page?: number | undefined;
1563
+ sort?: ("attempts" | "nextScheduledExecution")[] | undefined;
1564
+ order?: ("asc" | "desc")[] | undefined;
1565
+ } | undefined;
1566
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtensionInstanceWebhookExecution[]>;
1567
+ /** List Contributors. */
1568
+ extensionListContributors: (conf?: {
1569
+ headers?: {
1570
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1571
+ } | undefined;
1572
+ queryParameters?: {
1573
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1574
+ limit?: number | undefined;
1575
+ skip?: number | undefined;
1576
+ page?: number | undefined;
1577
+ sort?: "name" | undefined;
1578
+ order?: "asc" | "desc" | undefined;
1579
+ } | undefined;
1580
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceContributor[]>;
1581
+ /** List Extensions. */
1582
+ extensionListExtensions: (conf?: {
1583
+ headers?: {
1584
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1585
+ } | undefined;
1586
+ queryParameters?: {
1587
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1588
+ context?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceContext | undefined;
1589
+ searchTerm?: string | undefined;
1590
+ includeDeprecated?: boolean | undefined;
1591
+ includeFree?: boolean | undefined;
1592
+ includeChargeable?: boolean | undefined;
1593
+ limit?: number | undefined;
1594
+ skip?: number | undefined;
1595
+ page?: number | undefined;
1596
+ sort?: "name" | "pricing.priceInCents" | undefined;
1597
+ order?: "asc" | "desc" | undefined;
1598
+ } | undefined;
1599
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceExtension[]>;
1600
+ /** List Extensions of own contributor. */
1601
+ extensionListOwnExtensions: (conf: {
1602
+ contributorId: string;
1603
+ headers?: {
1604
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1605
+ "x-access-token"?: string | undefined;
1606
+ } | undefined;
1607
+ queryParameters?: {
1608
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1609
+ limit?: number | undefined;
1610
+ skip?: number | undefined;
1611
+ page?: number | undefined;
1612
+ } | undefined;
1613
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMarketplaceOwnExtension[]>;
1614
+ /** List Scopes. */
1615
+ extensionListScopes: (conf?: {
1616
+ headers?: {
1617
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1618
+ } | undefined;
1619
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
1620
+ name: string;
1621
+ }[]>;
1622
+ /** Get payment method details */
1623
+ customerGetPaymentMethod: (conf: {
1624
+ customerId: string;
1625
+ headers?: {
1626
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1627
+ "x-access-token"?: string | undefined;
1628
+ } | undefined;
1629
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1630
+ cardDetails?: {
1631
+ brand: string;
1632
+ last4: string;
1633
+ } | undefined;
1634
+ }>;
1635
+ };
1636
+ declare const buildConversationApi: (baseClient: MittwaldAPIV3NextClient) => {
1637
+ /** Get all conversation the authenticated user has created or has access to. */
1638
+ listConversations: (conf?: {
1639
+ headers?: {
1640
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1641
+ } | undefined;
1642
+ queryParameters?: {
1643
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1644
+ fullTextSearch?: string | undefined;
1645
+ status?: ("open" | "closed")[] | undefined;
1646
+ limit?: number | undefined;
1647
+ skip?: number | undefined;
1648
+ page?: number | undefined;
1649
+ sort?: ("createdAt" | "lastMessage.createdAt" | "title" | "shortId" | "conversationId")[] | undefined;
1650
+ order?: ("asc" | "desc")[] | undefined;
1651
+ } | undefined;
1652
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationConversation[]>;
1653
+ /** Get all message of the conversation. */
1654
+ listMessagesByConversation: (conf: {
1655
+ conversationId: string;
1656
+ headers?: {
1657
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1658
+ } | undefined;
1659
+ }) => import("@mittwald/react-use-promise").AsyncResource<(import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationMessage | import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationStatusUpdate | import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationServiceRequest)[]>;
1660
+ /** Get a specific conversation category. */
1661
+ getCategory: (conf: {
1662
+ categoryId: string;
1663
+ headers?: {
1664
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1665
+ } | undefined;
1666
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1667
+ categoryId: string;
1668
+ name: string;
1669
+ referenceType: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationCategoryReferenceType;
1670
+ }>;
1671
+ /** Get members of a support conversation. */
1672
+ getConversationMembers: (conf: {
1673
+ conversationId: string;
1674
+ headers?: {
1675
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1676
+ } | undefined;
1677
+ }) => import("@mittwald/react-use-promise").AsyncResource<(import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationUser & {
1678
+ active: boolean;
1679
+ })[]>;
1680
+ /** Get preferences for customer conversations. */
1681
+ getConversationPreferencesOfCustomer: (conf: {
1682
+ customerId: string;
1683
+ headers?: {
1684
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1685
+ } | undefined;
1686
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1687
+ customerId: string;
1688
+ preferredUsers: {
1689
+ categoryUserPairs?: {
1690
+ [k: string]: string;
1691
+ };
1692
+ fallback?: string;
1693
+ };
1694
+ }>;
1695
+ /** Get a support conversation. */
1696
+ getConversation: (conf: {
1697
+ conversationId: string;
1698
+ headers?: {
1699
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1700
+ } | undefined;
1701
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1702
+ category?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationCategory | undefined;
1703
+ conversationId: string;
1704
+ createdAt: string;
1705
+ lastMessageAt?: string | undefined;
1706
+ mainUser: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationUser;
1707
+ notificationRoles?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationNotificationRole[] | undefined;
1708
+ relatedTo?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationRelatedAggregateReference | undefined;
1709
+ relations?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationAggregateReference[] | undefined;
1710
+ sharedWith?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationShareableAggregateReference | undefined;
1711
+ shortId: string;
1712
+ status: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationStatus;
1713
+ title: string;
1714
+ visibility: "shared" | "private";
1715
+ createdBy?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationUser | undefined;
1716
+ lastMessage?: {
1717
+ createdAt: string;
1718
+ createdBy?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationUser;
1719
+ } | undefined;
1720
+ lastMessageBy?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationUser | undefined;
1721
+ }>;
1722
+ /** Request an access token for the File belonging to the Conversation. */
1723
+ getFileAccessToken: (conf: {
1724
+ conversationId: string;
1725
+ fileId: string;
1726
+ headers?: {
1727
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1728
+ } | undefined;
1729
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1730
+ accessToken: string;
1731
+ expiresAt: string;
1732
+ }>;
1733
+ /** Get all conversation categories. */
1734
+ listCategories: (conf?: {
1735
+ headers?: {
1736
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1737
+ } | undefined;
1738
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldConversationCategory[]>;
1739
+ };
1740
+ declare const buildCronjobApi: (baseClient: MittwaldAPIV3NextClient) => {
1741
+ /** List Cronjobs belonging to a Project. */
1742
+ listCronjobs: (conf: {
1743
+ projectId: string;
1744
+ headers?: {
1745
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1746
+ "x-access-token"?: string | undefined;
1747
+ } | undefined;
1748
+ queryParameters?: {
1749
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1750
+ includeServiceCronjobs?: boolean | undefined;
1751
+ limit?: number | undefined;
1752
+ skip?: number | undefined;
1753
+ page?: number | undefined;
1754
+ } | undefined;
1755
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCronjobCronjob[]>;
1756
+ /** List CronjobExecutions belonging to a Cronjob. */
1757
+ listExecutions: (conf: {
1758
+ cronjobId: string;
1759
+ headers?: {
1760
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1761
+ "x-access-token"?: string | undefined;
1762
+ } | undefined;
1763
+ queryParameters?: {
1764
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1765
+ limit?: number | undefined;
1766
+ skip?: number | undefined;
1767
+ page?: number | undefined;
1768
+ since?: string | undefined;
1769
+ until?: string | undefined;
1770
+ status?: string | undefined;
1771
+ triggeredByUser?: boolean | undefined;
1772
+ sortOrder?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCronjobCronjobExecutionSortOrder | undefined;
1773
+ } | undefined;
1774
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCronjobCronjobExecution[]>;
1775
+ /** Get a Cronjob. */
1776
+ getCronjob: (conf: {
1777
+ cronjobId: string;
1778
+ headers?: {
1779
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1780
+ "x-access-token"?: string | undefined;
1781
+ } | undefined;
1782
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1783
+ active: boolean;
1784
+ appId: string;
1785
+ appInstallationId?: string | undefined;
1786
+ concurrencyPolicy?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCronjobConcurrencyPolicy | undefined;
1787
+ createdAt: string;
1788
+ description: string;
1789
+ destination?: (import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCronjobCronjobUrl | import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCronjobCronjobCommand) | undefined;
1790
+ email?: string | undefined;
1791
+ failedExecutionAlertThreshold: number;
1792
+ id: string;
1793
+ interval: string;
1794
+ latestExecution?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCronjobCronjobExecution | undefined;
1795
+ nextExecutionTime?: string | undefined;
1796
+ projectId?: string | undefined;
1797
+ shortId: string;
1798
+ target?: (import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCronjobAppInstallationTarget | import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCronjobServiceTargetResponse) | undefined;
1799
+ timeZone?: string | undefined;
1800
+ timeout: number;
1801
+ updatedAt: string;
1802
+ }>;
1803
+ /** Get a CronjobExecution analysis for failed executions. */
1804
+ getExecutionAnalysis: (conf: {
1805
+ executionId: string;
1806
+ cronjobId: string;
1807
+ headers?: {
1808
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1809
+ "Accept-Language"?: "de" | "en" | undefined;
1810
+ "x-access-token"?: string | undefined;
1811
+ } | undefined;
1812
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1813
+ message: string;
1814
+ }>;
1815
+ /** Get a CronjobExecution. */
1816
+ getExecution: (conf: {
1817
+ executionId: string;
1818
+ cronjobId: string;
1819
+ headers?: {
1820
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1821
+ "x-access-token"?: string | undefined;
1822
+ } | undefined;
1823
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1824
+ abortedBy?: {
1825
+ id?: string;
1826
+ } | undefined;
1827
+ cronjobId: string;
1828
+ durationInMilliseconds?: number | undefined;
1829
+ end?: string | undefined;
1830
+ executionEnd?: string | undefined;
1831
+ executionStart?: string | undefined;
1832
+ exitCode?: number | undefined;
1833
+ id: string;
1834
+ logPath?: string | undefined;
1835
+ start?: string | undefined;
1836
+ status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut";
1837
+ successful: boolean;
1838
+ triggeredBy?: {
1839
+ id?: string;
1840
+ } | undefined;
1841
+ }>;
1842
+ };
1843
+ declare const buildCustomerApi: (baseClient: MittwaldAPIV3NextClient) => {
1844
+ /** List Invites belonging to a Customer. */
1845
+ listInvitesForCustomer: (conf: {
1846
+ customerId: string;
1847
+ headers?: {
1848
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1849
+ "x-access-token"?: string | undefined;
1850
+ } | undefined;
1851
+ queryParameters?: {
1852
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1853
+ limit?: number | undefined;
1854
+ skip?: number | undefined;
1855
+ searchTerm?: string | undefined;
1856
+ } | undefined;
1857
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipCustomerInvite[]>;
1858
+ /** Get all customer profiles the authenticated user has access to. */
1859
+ listCustomers: (conf?: {
1860
+ headers?: {
1861
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1862
+ "x-access-token"?: string | undefined;
1863
+ } | undefined;
1864
+ queryParameters?: {
1865
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1866
+ role?: string | undefined;
1867
+ search?: string | undefined;
1868
+ limit?: number | undefined;
1869
+ skip?: number | undefined;
1870
+ page?: number | undefined;
1871
+ } | undefined;
1872
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerCustomer[]>;
1873
+ /** Gets the Wallet of the Customer. */
1874
+ getWallet: (conf: {
1875
+ customerId: string;
1876
+ headers?: {
1877
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1878
+ "x-access-token"?: string | undefined;
1879
+ } | undefined;
1880
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1881
+ customerId: string;
1882
+ points: number;
1883
+ recommendationCode?: string | undefined;
1884
+ walletId: string;
1885
+ }>;
1886
+ /** Get a CustomerInvite. */
1887
+ getCustomerInvite: (conf: {
1888
+ customerInviteId: string;
1889
+ headers?: {
1890
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1891
+ "x-access-token"?: string | undefined;
1892
+ } | undefined;
1893
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1894
+ avatarRefId?: string | undefined;
1895
+ customerId: string;
1896
+ customerName: string;
1897
+ id: string;
1898
+ information: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipInviteInformation;
1899
+ mailAddress: string;
1900
+ membershipExpiresAt?: string | undefined;
1901
+ message?: string | undefined;
1902
+ role: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipCustomerRoles;
1903
+ }>;
1904
+ /** Get a CustomerMembership. */
1905
+ getCustomerMembership: (conf: {
1906
+ customerMembershipId: string;
1907
+ headers?: {
1908
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1909
+ "x-access-token"?: string | undefined;
1910
+ } | undefined;
1911
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1912
+ avatarRef?: string | undefined;
1913
+ customerId: string;
1914
+ email: string;
1915
+ expiresAt?: string | undefined;
1916
+ firstName: string;
1917
+ id: string;
1918
+ inviteId?: string | undefined;
1919
+ lastName: string;
1920
+ memberSince?: string | undefined;
1921
+ mfa: boolean;
1922
+ role: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipCustomerRoles;
1923
+ userId: string;
1924
+ }>;
1925
+ /** Get a customer profile. */
1926
+ getCustomer: (conf: {
1927
+ customerId: string;
1928
+ headers?: {
1929
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1930
+ "x-access-token"?: string | undefined;
1931
+ } | undefined;
1932
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1933
+ activeSuspension?: {
1934
+ createdAt: string;
1935
+ } | undefined;
1936
+ avatarRefId?: string | undefined;
1937
+ categoryId?: string | undefined;
1938
+ creationDate: string;
1939
+ customerId: string;
1940
+ customerNumber: string;
1941
+ deletionProhibitedBy?: ("hasOpenInvoices" | "hasActiveContracts" | "hasActiveExtensionSubscriptions" | "isActiveContributor")[] | undefined;
1942
+ executingUserRoles?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerRole[] | undefined;
1943
+ flags?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerCustomerFlag[] | undefined;
1944
+ isAllowedToPlaceOrders?: boolean | undefined;
1945
+ isBanned?: boolean | undefined;
1946
+ isInDefaultOfPayment?: boolean | undefined;
1947
+ isMailAddressInvalid?: boolean | undefined;
1948
+ levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
1949
+ memberCount: number;
1950
+ name: string;
1951
+ owner?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerContact | undefined;
1952
+ projectCount: number;
1953
+ vatId?: string | undefined;
1954
+ vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
1955
+ }>;
1956
+ /** Get a CustomerInvite by token. */
1957
+ getCustomerTokenInvite: (conf: {
1958
+ headers: {
1959
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1960
+ token: string;
1961
+ "x-access-token"?: string | undefined;
1962
+ };
1963
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1964
+ avatarRefId?: string | undefined;
1965
+ customerId: string;
1966
+ customerName: string;
1967
+ id: string;
1968
+ information: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipInviteInformation;
1969
+ mailAddress: string;
1970
+ membershipExpiresAt?: string | undefined;
1971
+ message?: string | undefined;
1972
+ role: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipCustomerRoles;
1973
+ }>;
1974
+ /** Check if the customer profile has a valid contract partner configured. */
1975
+ isCustomerLegallyCompetent: (conf: {
1976
+ customerId: string;
1977
+ headers?: {
1978
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1979
+ "x-access-token"?: string | undefined;
1980
+ } | undefined;
1981
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1982
+ isLegallyCompetent?: boolean | undefined;
1983
+ }>;
1984
+ /** List CustomerInvites belonging to the executing user. */
1985
+ listCustomerInvites: (conf?: {
1986
+ headers?: {
1987
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1988
+ "x-access-token"?: string | undefined;
1989
+ } | undefined;
1990
+ queryParameters?: {
1991
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1992
+ limit?: number | undefined;
1993
+ skip?: number | undefined;
1994
+ page?: number | undefined;
1995
+ } | undefined;
1996
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipCustomerInvite[]>;
1997
+ /** List CustomerMemberships belonging to the executing user. */
1998
+ listCustomerMemberships: (conf?: {
1999
+ headers?: {
2000
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2001
+ "x-access-token"?: string | undefined;
2002
+ } | undefined;
2003
+ queryParameters?: {
2004
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2005
+ limit?: number | undefined;
2006
+ skip?: number | undefined;
2007
+ page?: number | undefined;
2008
+ hasExpiry?: boolean | undefined;
2009
+ role?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipCustomerRoles | undefined;
2010
+ } | undefined;
2011
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipCustomerMembership[]>;
2012
+ /** List Memberships belonging to a Customer. */
2013
+ listMembershipsForCustomer: (conf: {
2014
+ customerId: string;
2015
+ headers?: {
2016
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2017
+ "x-access-token"?: string | undefined;
2018
+ } | undefined;
2019
+ queryParameters?: {
2020
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2021
+ limit?: number | undefined;
2022
+ skip?: number | undefined;
2023
+ hasExpiry?: boolean | undefined;
2024
+ role?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipCustomerRoles | undefined;
2025
+ searchTerm?: string | undefined;
2026
+ } | undefined;
2027
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipCustomerMembership[]>;
2028
+ };
2029
+ declare const buildDatabaseApi: (baseClient: MittwaldAPIV3NextClient) => {
2030
+ /** List MySQLDatabases belonging to a Project. */
2031
+ listMysqlDatabases: (conf: {
2032
+ projectId: string;
2033
+ headers?: {
2034
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2035
+ "x-access-token"?: string | undefined;
2036
+ } | undefined;
2037
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDatabaseMySqlDatabase[]>;
2038
+ /** List MySQLUsers belonging to a Database. */
2039
+ listMysqlUsers: (conf: {
2040
+ mysqlDatabaseId: string;
2041
+ headers?: {
2042
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2043
+ "x-access-token"?: string | undefined;
2044
+ } | undefined;
2045
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDatabaseMySqlUser[]>;
2046
+ /** List RedisDatabases belonging to a Project. */
2047
+ listRedisDatabases: (conf: {
2048
+ projectId: string;
2049
+ headers?: {
2050
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2051
+ "x-access-token"?: string | undefined;
2052
+ } | undefined;
2053
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDatabaseRedisDatabase[]>;
2054
+ /** Get a MySQLDatabase. */
2055
+ getMysqlDatabase: (conf: {
2056
+ mysqlDatabaseId: string;
2057
+ headers?: {
2058
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2059
+ "x-access-token"?: string | undefined;
2060
+ } | undefined;
2061
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2062
+ characterSettings: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDatabaseCharacterSettings;
2063
+ createdAt: string;
2064
+ description: string;
2065
+ externalHostname: string;
2066
+ finalizers?: string[] | undefined;
2067
+ hostname: string;
2068
+ id: string;
2069
+ isReady: boolean;
2070
+ isShared: boolean;
2071
+ mainUser?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDatabaseMySqlUser | undefined;
2072
+ name: string;
2073
+ projectId: string;
2074
+ status: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDatabaseDatabaseStatus;
2075
+ statusSetAt: string;
2076
+ storageUsageInBytes: number;
2077
+ storageUsageInBytesSetAt: string;
2078
+ updatedAt: string;
2079
+ version: string;
2080
+ }>;
2081
+ /** Get a MySQLUser. */
2082
+ getMysqlUser: (conf: {
2083
+ mysqlUserId: string;
2084
+ headers?: {
2085
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2086
+ "x-access-token"?: string | undefined;
2087
+ } | undefined;
2088
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2089
+ accessIpMask?: string | undefined;
2090
+ accessLevel: "full" | "readonly";
2091
+ createdAt: string;
2092
+ databaseId: string;
2093
+ description?: string | undefined;
2094
+ disabled: boolean;
2095
+ externalAccess: boolean;
2096
+ id: string;
2097
+ mainUser: boolean;
2098
+ name: string;
2099
+ passwordUpdatedAt: string;
2100
+ status: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDatabaseDatabaseUserStatus;
2101
+ statusSetAt: string;
2102
+ updatedAt: string;
2103
+ }>;
2104
+ /** Get a RedisDatabase. */
2105
+ getRedisDatabase: (conf: {
2106
+ redisDatabaseId: string;
2107
+ headers?: {
2108
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2109
+ "x-access-token"?: string | undefined;
2110
+ } | undefined;
2111
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2112
+ configuration?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDatabaseRedisDatabaseConfiguration | undefined;
2113
+ createdAt: string;
2114
+ description: string;
2115
+ finalizers?: string[] | undefined;
2116
+ hostname: string;
2117
+ id: string;
2118
+ name: string;
2119
+ port: number;
2120
+ projectId: string;
2121
+ status: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDatabaseDatabaseStatus;
2122
+ statusSetAt: string;
2123
+ storageUsageInBytes: number;
2124
+ storageUsageInBytesSetAt: string;
2125
+ updatedAt: string;
2126
+ version: string;
2127
+ }>;
2128
+ /** Get a MySQLUser's PhpMyAdmin-URL. */
2129
+ getMysqlUserPhpMyAdminUrl: (conf: {
2130
+ mysqlUserId: string;
2131
+ headers?: {
2132
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2133
+ "x-access-token"?: string | undefined;
2134
+ } | undefined;
2135
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2136
+ url: string;
2137
+ }>;
2138
+ /** List available MySQL character sets and collations, optionally filtered by a MySQLVersion. */
2139
+ listMysqlCharsets: (conf?: {
2140
+ headers?: {
2141
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2142
+ } | undefined;
2143
+ queryParameters?: {
2144
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2145
+ version?: string | undefined;
2146
+ } | undefined;
2147
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDatabaseMySqlCharacterSettings[]>;
2148
+ /** List MySQLVersions. */
2149
+ listMysqlVersions: (conf?: {
2150
+ headers?: {
2151
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2152
+ "x-access-token"?: string | undefined;
2153
+ } | undefined;
2154
+ queryParameters?: {
2155
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2156
+ projectId?: string | undefined;
2157
+ } | undefined;
2158
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDatabaseMySqlVersion[]>;
2159
+ /** List RedisVersions. */
2160
+ listRedisVersions: (conf?: {
2161
+ headers?: {
2162
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2163
+ "x-access-token"?: string | undefined;
2164
+ } | undefined;
2165
+ queryParameters?: {
2166
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2167
+ projectId?: string | undefined;
2168
+ } | undefined;
2169
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDatabaseRedisVersion[]>;
2170
+ };
2171
+ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2172
+ /** List Domains */
2173
+ listDomains: (conf?: {
2174
+ headers?: {
2175
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2176
+ "x-access-token"?: string | undefined;
2177
+ } | undefined;
2178
+ queryParameters?: {
2179
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2180
+ projectId?: string | undefined;
2181
+ domainSearchName?: string | undefined;
2182
+ contactHash?: string | undefined;
2183
+ limit?: number | undefined;
2184
+ skip?: number | undefined;
2185
+ page?: number | undefined;
2186
+ } | undefined;
2187
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainDomain[]>;
2188
+ /** Get a DNSZone. */
2189
+ dnsGetDnsZone: (conf: {
2190
+ dnsZoneId: string;
2191
+ headers?: {
2192
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2193
+ "x-access-token"?: string | undefined;
2194
+ } | undefined;
2195
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2196
+ domain: string;
2197
+ id: string;
2198
+ recordSet: {
2199
+ caa: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsRecordCAA;
2200
+ cname: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsRecordCNAME;
2201
+ combinedARecords: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsRecordCombinedA;
2202
+ mx: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsRecordMX;
2203
+ srv: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsRecordSRV;
2204
+ txt: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsRecordTXT;
2205
+ };
2206
+ }>;
2207
+ /** Get a zone file for a DNSZone. */
2208
+ dnsGetZoneFile: (conf: {
2209
+ dnsZoneId: string;
2210
+ headers?: {
2211
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2212
+ "x-access-token"?: string | undefined;
2213
+ } | undefined;
2214
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
2215
+ /** List DNSZones belonging to a Project. */
2216
+ dnsListDnsZones: (conf: {
2217
+ projectId: string;
2218
+ headers?: {
2219
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2220
+ "x-access-token"?: string | undefined;
2221
+ } | undefined;
2222
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[]>;
2223
+ /** Get a Domain. */
2224
+ getDomain: (conf: {
2225
+ domainId: string;
2226
+ headers?: {
2227
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2228
+ "x-access-token"?: string | undefined;
2229
+ } | undefined;
2230
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2231
+ authCode?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainAuthCode | undefined;
2232
+ authCode2?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainAuthCode2 | undefined;
2233
+ connected: boolean;
2234
+ contactHash?: string | undefined;
2235
+ deleted: boolean;
2236
+ domain: string;
2237
+ domainId: string;
2238
+ handles: {
2239
+ adminC?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainHandleReadable;
2240
+ ownerC: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainHandleReadable;
2241
+ };
2242
+ nameservers: string[];
2243
+ processes?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainProcess[] | undefined;
2244
+ projectId: string;
2245
+ scheduledDeletionDate?: string | undefined;
2246
+ transferInAuthCode?: string | undefined;
2247
+ usesDefaultNameserver: boolean;
2248
+ }>;
2249
+ /** Get a Contact-Verification. */
2250
+ getContactVerification: (conf: {
2251
+ contactVerificationId: string;
2252
+ headers?: {
2253
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2254
+ "x-access-token"?: string | undefined;
2255
+ } | undefined;
2256
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2257
+ id: string;
2258
+ status: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainContactVerificationStatus;
2259
+ typeData: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainContactVerificationAddressData | import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainContactVerificationEmailData | import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainContactVerificationNameData;
2260
+ }>;
2261
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
2262
+ getLatestScreenshot: (conf: {
2263
+ queryParameters: {
2264
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2265
+ domainName: string;
2266
+ };
2267
+ headers?: {
2268
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2269
+ "x-access-token"?: string | undefined;
2270
+ } | undefined;
2271
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2272
+ reference?: string | undefined;
2273
+ }>;
2274
+ /** List Contact-Verifications belonging to the executing user. */
2275
+ listContactVerifications: (conf?: {
2276
+ headers?: {
2277
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2278
+ "x-access-token"?: string | undefined;
2279
+ } | undefined;
2280
+ queryParameters?: {
2281
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2282
+ value?: string | undefined;
2283
+ type?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainContactVerificationType | undefined;
2284
+ } | undefined;
2285
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainContactVerification[]>;
2286
+ /** List the contact schemas for a TLD. */
2287
+ listTldContactSchemas: (conf: {
2288
+ tld: string;
2289
+ headers?: {
2290
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2291
+ } | undefined;
2292
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2293
+ jsonSchemaAdminC?: {} | undefined;
2294
+ jsonSchemaOwnerC: {};
2295
+ }>;
2296
+ /** List TLDs. */
2297
+ listTlds: (conf?: {
2298
+ headers?: {
2299
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2300
+ } | undefined;
2301
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainTopLevel[]>;
2302
+ /** List Domain-Migrations belonging to a Project. */
2303
+ migrationListMigrationsByProjectId: (conf: {
2304
+ projectId: string;
2305
+ headers?: {
2306
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2307
+ "x-access-token"?: string | undefined;
2308
+ } | undefined;
2309
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainmigrationMigration[]>;
2310
+ /** Suggest a list of domains based on a prompt using AI. */
2311
+ suggest: (conf: {
2312
+ queryParameters: {
2313
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2314
+ prompt: string;
2315
+ domainCount?: number | undefined;
2316
+ tlds?: string[] | undefined;
2317
+ };
2318
+ headers?: {
2319
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2320
+ } | undefined;
2321
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2322
+ domains: string[];
2323
+ }>;
2324
+ /** List Ingresses. */
2325
+ ingressListIngresses: (conf?: {
2326
+ headers?: {
2327
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2328
+ "x-access-token"?: string | undefined;
2329
+ } | undefined;
2330
+ queryParameters?: {
2331
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2332
+ projectId?: string | undefined;
2333
+ certificateId?: string | undefined;
2334
+ hostnameSubstring?: string | undefined;
2335
+ appInstallationId?: string | undefined;
2336
+ containerId?: string | undefined;
2337
+ limit?: number | undefined;
2338
+ skip?: number | undefined;
2339
+ page?: number | undefined;
2340
+ } | undefined;
2341
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldIngressIngress[]>;
2342
+ /** Get an Ingress. */
2343
+ ingressGetIngress: (conf: {
2344
+ ingressId: string;
2345
+ headers?: {
2346
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2347
+ "x-access-token"?: string | undefined;
2348
+ } | undefined;
2349
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2350
+ dnsValidationErrors: ("ERROR_UNSPECIFIED" | "ERROR_QUAD_A" | "ERROR_NO_A_RECORD" | "ERROR_ACME_CERTIFICATE_REQUEST_DEADLINE_EXCEEDED")[];
2351
+ hostname: string;
2352
+ id: string;
2353
+ ips: {
2354
+ v4: string[];
2355
+ v6: string[];
2356
+ };
2357
+ isDefault: boolean;
2358
+ isDomain?: boolean | undefined;
2359
+ isEnabled: boolean;
2360
+ ownership: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldIngressOwnership;
2361
+ paths: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldIngressPath[];
2362
+ projectId: string;
2363
+ tls: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldIngressTlsAcme | import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldIngressTlsCertificate;
2364
+ }>;
2365
+ /** List CertificateRequests belonging to a Project or an Ingress. */
2366
+ sslListCertificateRequests: (conf?: {
2367
+ headers?: {
2368
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2369
+ "x-access-token"?: string | undefined;
2370
+ } | undefined;
2371
+ queryParameters?: {
2372
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2373
+ projectId?: string | undefined;
2374
+ ingressId?: string | undefined;
2375
+ } | undefined;
2376
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSslCertificateRequest[]>;
2377
+ /** Get a CertificateRequest. */
2378
+ sslGetCertificateRequest: (conf: {
2379
+ certificateRequestId: string;
2380
+ headers?: {
2381
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2382
+ "x-access-token"?: string | undefined;
2383
+ } | undefined;
2384
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2385
+ certificateData: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSslCertificateData;
2386
+ certificateType: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSslCertificateType;
2387
+ commonName?: string | undefined;
2388
+ contact?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSslContact | undefined;
2389
+ createdAt: string;
2390
+ dnsNames?: string[] | undefined;
2391
+ id: string;
2392
+ isCompleted: boolean;
2393
+ issuer?: string | undefined;
2394
+ projectId: string;
2395
+ validFrom?: string | undefined;
2396
+ validTo?: string | undefined;
2397
+ }>;
2398
+ /** Get a Certificate. */
2399
+ sslGetCertificate: (conf: {
2400
+ certificateId: string;
2401
+ headers?: {
2402
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2403
+ "x-access-token"?: string | undefined;
2404
+ } | undefined;
2405
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2406
+ caBundle?: string | undefined;
2407
+ certificate?: string | undefined;
2408
+ certificateOrderId?: string | undefined;
2409
+ certificateRequestId: string;
2410
+ certificateType: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSslCertificateType;
2411
+ commonName?: string | undefined;
2412
+ contact?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSslContact | undefined;
2413
+ dnsCertSpec?: {
2414
+ cnameTarget?: string;
2415
+ status?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSslDNSCertStatus;
2416
+ } | undefined;
2417
+ dnsNames?: string[] | undefined;
2418
+ id: string;
2419
+ isExpired?: boolean | undefined;
2420
+ issuer?: string | undefined;
2421
+ lastExpirationThresholdHit?: number | undefined;
2422
+ projectId: string;
2423
+ validFrom?: string | undefined;
2424
+ validTo?: string | undefined;
2425
+ }>;
2426
+ /** List Certificates belonging to a Project or an Ingress. */
2427
+ sslListCertificates: (conf?: {
2428
+ headers?: {
2429
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2430
+ "x-access-token"?: string | undefined;
2431
+ } | undefined;
2432
+ queryParameters?: {
2433
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2434
+ projectId?: string | undefined;
2435
+ ingressId?: string | undefined;
2436
+ } | undefined;
2437
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSslCertificate[]>;
2438
+ };
2439
+ declare const buildFileApi: (baseClient: MittwaldAPIV3NextClient) => {
2440
+ /** Get a File's meta. */
2441
+ getFileMeta: (conf: {
2442
+ fileId: string;
2443
+ headers?: {
2444
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2445
+ Token?: string | undefined;
2446
+ } | undefined;
2447
+ queryParameters?: {
2448
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2449
+ token?: string | undefined;
2450
+ } | undefined;
2451
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2452
+ friendlyURL: string;
2453
+ friendlyUrl: string;
2454
+ id: string;
2455
+ mimeType: string;
2456
+ name: string;
2457
+ sizeInBytes: number;
2458
+ type: string;
2459
+ }>;
2460
+ /** Get a FileUploadToken's rules. */
2461
+ getFileUploadTokenRules: (conf: {
2462
+ fileUploadToken: string;
2463
+ headers?: {
2464
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2465
+ } | undefined;
2466
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2467
+ extensions: string[];
2468
+ fileTypes: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldFileFileType[];
2469
+ maxNameLength: number;
2470
+ maxSizeInBytes: number;
2471
+ maxSizeInKB: number;
2472
+ maxSizeInKb: number;
2473
+ mimeTypes: string[];
2474
+ properties?: {
2475
+ imageDimensions?: {
2476
+ max?: {
2477
+ height?: number;
2478
+ width?: number;
2479
+ };
2480
+ min?: {
2481
+ height?: number;
2482
+ width?: number;
2483
+ };
2484
+ };
2485
+ } | undefined;
2486
+ }>;
2487
+ /** Get a FileUploadType's rules. */
2488
+ getFileUploadTypeRules: (conf: {
2489
+ fileUploadType: "avatar" | "extensionAssetImage" | "extensionAssetVideo" | "anchorIcon" | "conversation";
2490
+ headers?: {
2491
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2492
+ } | undefined;
2493
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2494
+ extensions: string[];
2495
+ fileTypes: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldFileFileType[];
2496
+ maxNameLength: number;
2497
+ maxSizeInBytes: number;
2498
+ maxSizeInKB: number;
2499
+ maxSizeInKb: number;
2500
+ mimeTypes: string[];
2501
+ properties?: {
2502
+ imageDimensions?: {
2503
+ max?: {
2504
+ height?: number;
2505
+ width?: number;
2506
+ };
2507
+ min?: {
2508
+ height?: number;
2509
+ width?: number;
2510
+ };
2511
+ };
2512
+ } | undefined;
2513
+ }>;
2514
+ /** Get a File. */
2515
+ getFile: (conf: {
2516
+ fileId: string;
2517
+ headers?: {
2518
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2519
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
2520
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
2521
+ Token?: string | undefined;
2522
+ } | undefined;
2523
+ queryParameters?: {
2524
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2525
+ accept?: "application/octet-stream" | "text/plain;base64" | undefined;
2526
+ "content-disposition"?: "inline" | "attachment" | undefined;
2527
+ token?: string | undefined;
2528
+ } | undefined;
2529
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
2530
+ /** Get a File with user-friendly url. */
2531
+ getFileWithName: (conf: {
2532
+ fileId: string;
2533
+ fileName: string;
2534
+ headers?: {
2535
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2536
+ Accept?: "application/octet-stream" | "text/plain;base64" | undefined;
2537
+ "Content-Disposition"?: "inline" | "attachment" | undefined;
2538
+ Token?: string | undefined;
2539
+ } | undefined;
2540
+ queryParameters?: {
2541
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2542
+ accept?: "application/octet-stream" | "text/plain;base64" | undefined;
2543
+ "content-disposition"?: "inline" | "attachment" | undefined;
2544
+ token?: string | undefined;
2545
+ } | undefined;
2546
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
2547
+ };
2548
+ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV3NextClient) => {
2549
+ /** Get your LeadFyndr request. */
2550
+ leadfyndrGetLeadFyndrProfileRequest: (conf: {
2551
+ customerId: string;
2552
+ headers?: {
2553
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2554
+ } | undefined;
2555
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2556
+ createdOn: string;
2557
+ customerId: string;
2558
+ domain: string;
2559
+ profileId: string;
2560
+ requestedBy: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrUser;
2561
+ resultOn?: string | undefined;
2562
+ status: "AUTOTEST_INIT" | "MANUAL_VERIFICATION" | "REJECTED" | "APPROVED";
2563
+ }>;
2564
+ /** Get cities in DACH. */
2565
+ leadfyndrGetCities: (conf: {
2566
+ queryParameters: {
2567
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2568
+ input: string;
2569
+ };
2570
+ headers?: {
2571
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2572
+ } | undefined;
2573
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrCity[]>;
2574
+ /** Get lead tariff options. How many leads did you unlock this month? */
2575
+ leadfyndrGetLeadFyndrProfileTariffOptions: (conf: {
2576
+ customerId: string;
2577
+ headers?: {
2578
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2579
+ } | undefined;
2580
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2581
+ nextUnlockRenewalDate?: string | undefined;
2582
+ reservation: {
2583
+ available: number;
2584
+ tariffLimit: number;
2585
+ used: number;
2586
+ };
2587
+ unlocked: {
2588
+ available: number;
2589
+ tariffLimit: number;
2590
+ used: number;
2591
+ };
2592
+ }>;
2593
+ /** Get your LeadFyndr profile. */
2594
+ leadfyndrGetLeadFyndrProfile: (conf: {
2595
+ customerId: string;
2596
+ headers?: {
2597
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2598
+ } | undefined;
2599
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2600
+ approvedOn: string;
2601
+ customerId: string;
2602
+ disabledOn?: string | undefined;
2603
+ domain: string;
2604
+ tariff: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrTariffOptions;
2605
+ }>;
2606
+ /** Get a simple lead. Use the unlocked route for more detail leads. */
2607
+ leadfyndrGetLead: (conf: {
2608
+ leadId: string;
2609
+ customerId: string;
2610
+ headers?: {
2611
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2612
+ } | undefined;
2613
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2614
+ businessFields: string[];
2615
+ company: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrBasicCompany;
2616
+ description: string;
2617
+ hoster: {
2618
+ server: string[];
2619
+ };
2620
+ languages: string[];
2621
+ leadId: string;
2622
+ mainTechnology?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrTechnology | undefined;
2623
+ metrics: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrBasicMetrics;
2624
+ potential: number;
2625
+ scannedAt?: string | undefined;
2626
+ screenshot: string;
2627
+ technologies: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrTechnology[];
2628
+ }>;
2629
+ /** Get unlocked leads export history for the given customerId. */
2630
+ leadfyndrGetLeadsExportHistory: (conf: {
2631
+ customerId: string;
2632
+ headers?: {
2633
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2634
+ } | undefined;
2635
+ queryParameters?: {
2636
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2637
+ limit?: number | undefined;
2638
+ skip?: number | undefined;
2639
+ page?: number | undefined;
2640
+ sort?: "exportedAt" | undefined;
2641
+ order?: "asc" | "desc" | undefined;
2642
+ } | undefined;
2643
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrLeadsExport[]>;
2644
+ /** Get a detail of a unlocked lead. Organisation can unlock leads. */
2645
+ leadfyndrGetUnlockedLead: (conf: {
2646
+ leadId: string;
2647
+ customerId: string;
2648
+ headers?: {
2649
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2650
+ } | undefined;
2651
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2652
+ actualUrl: string;
2653
+ businessFields: string[];
2654
+ company: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrDetailCompany;
2655
+ contact: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrContact;
2656
+ description: string;
2657
+ domain: string;
2658
+ hoster: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrHoster;
2659
+ languages: string[];
2660
+ leadId: string;
2661
+ mainTechnology?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrTechnology | undefined;
2662
+ metrics: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrDetailMetrics;
2663
+ potential: number;
2664
+ reservationAllowed?: boolean | undefined;
2665
+ reservedAt?: string | undefined;
2666
+ scannedAt?: string | undefined;
2667
+ screenshot: string;
2668
+ socialMedia: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrSocialMedia[];
2669
+ technologies: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrTechnology[];
2670
+ unlockedAt: string;
2671
+ }>;
2672
+ /** Get all leads. Use the unlocked routes for more lead details. */
2673
+ leadfyndrListLeads: (conf: {
2674
+ customerId: string;
2675
+ headers?: {
2676
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2677
+ } | undefined;
2678
+ queryParameters?: {
2679
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2680
+ potentialRangeMin?: number | undefined;
2681
+ potentialRangeMax?: number | undefined;
2682
+ employeeCountMin?: number | undefined;
2683
+ employeeCountMax?: number | undefined;
2684
+ salesVolumeMin?: number | undefined;
2685
+ salesVolumeMax?: number | undefined;
2686
+ technologies?: (string | "none")[] | undefined;
2687
+ businessFields?: string[] | undefined;
2688
+ locationCity?: string | undefined;
2689
+ locationPostCode?: string | undefined;
2690
+ locationRadiusInKm?: number | undefined;
2691
+ "basic:timeToFirstByteMs:min"?: number | undefined;
2692
+ "basic:timeToFirstByteMs:max"?: number | undefined;
2693
+ "basic:desktop:performance:min"?: number | undefined;
2694
+ "basic:desktop:performance:max"?: number | undefined;
2695
+ "basic:mobile:performance:min"?: number | undefined;
2696
+ "basic:mobile:performance:max"?: number | undefined;
2697
+ limit?: number | undefined;
2698
+ skip?: number | undefined;
2699
+ page?: number | undefined;
2700
+ sort?: "potential" | "relevance" | undefined;
2701
+ order?: "asc" | "desc" | undefined;
2702
+ } | undefined;
2703
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2704
+ leads: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrLead[];
2705
+ limit: number;
2706
+ skip: number;
2707
+ totalCount: number;
2708
+ }>;
2709
+ /** Get all unlocked leads. Organisation can unlock leads. */
2710
+ leadfyndrListUnlockedLeads: (conf: {
2711
+ customerId: string;
2712
+ headers?: {
2713
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2714
+ } | undefined;
2715
+ queryParameters?: {
2716
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2717
+ potentialRangeMin?: number | undefined;
2718
+ potentialRangeMax?: number | undefined;
2719
+ employeeCountMin?: number | undefined;
2720
+ employeeCountMax?: number | undefined;
2721
+ salesVolumeMin?: number | undefined;
2722
+ salesVolumeMax?: number | undefined;
2723
+ technologies?: (string | "none")[] | undefined;
2724
+ businessFields?: string[] | undefined;
2725
+ locationCity?: string | undefined;
2726
+ locationPostCode?: string | undefined;
2727
+ locationRadiusInKm?: number | undefined;
2728
+ "basic:timeToFirstByteMs:min"?: number | undefined;
2729
+ "basic:timeToFirstByteMs:max"?: number | undefined;
2730
+ "basic:desktop:performance:min"?: number | undefined;
2731
+ "basic:desktop:performance:max"?: number | undefined;
2732
+ "basic:mobile:performance:min"?: number | undefined;
2733
+ "basic:mobile:performance:max"?: number | undefined;
2734
+ reserved?: boolean | undefined;
2735
+ limit?: number | undefined;
2736
+ skip?: number | undefined;
2737
+ page?: number | undefined;
2738
+ sort?: "potential" | "relevance" | "company" | undefined;
2739
+ order?: "asc" | "desc" | undefined;
2740
+ } | undefined;
2741
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2742
+ leads: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLeadfyndrUnlockedLead[];
2743
+ limit: number;
2744
+ skip: number;
2745
+ totalCount: number;
2746
+ }>;
2747
+ };
2748
+ declare const buildLicenseApi: (baseClient: MittwaldAPIV3NextClient) => {
2749
+ /** Get a license. */
2750
+ getLicense: (conf: {
2751
+ licenseId: string;
2752
+ headers?: {
2753
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2754
+ "x-access-token"?: string | undefined;
2755
+ } | undefined;
2756
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2757
+ description: string;
2758
+ expiryDate?: string | undefined;
2759
+ id: string;
2760
+ keyReference?: (import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLicenseKey | import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLicenseExternalKey) | undefined;
2761
+ kind: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLicenseKind;
2762
+ meta: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLicenseMeta;
2763
+ reference: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLicenseReference;
2764
+ volume?: number | undefined;
2765
+ }>;
2766
+ /** List Licenses belonging to a Project. */
2767
+ listLicensesForProject: (conf: {
2768
+ projectId: string;
2769
+ headers?: {
2770
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2771
+ "x-access-token"?: string | undefined;
2772
+ } | undefined;
2773
+ queryParameters?: {
2774
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2775
+ limit?: number | undefined;
2776
+ skip?: number | undefined;
2777
+ page?: number | undefined;
2778
+ } | undefined;
2779
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldLicenseLicense[]>;
2780
+ };
2781
+ declare const buildMailApi: (baseClient: MittwaldAPIV3NextClient) => {
2782
+ /** List DeliveryBoxes belonging to a Project. */
2783
+ listDeliveryBoxes: (conf: {
2784
+ projectId: string;
2785
+ headers?: {
2786
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2787
+ "x-access-token"?: string | undefined;
2788
+ } | undefined;
2789
+ queryParameters?: {
2790
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2791
+ search?: string | undefined;
2792
+ limit?: number | undefined;
2793
+ skip?: number | undefined;
2794
+ page?: number | undefined;
2795
+ } | undefined;
2796
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMailDeliverybox[]>;
2797
+ /** List MailAddresses belonging to a Project. */
2798
+ listMailAddresses: (conf: {
2799
+ projectId: string;
2800
+ headers?: {
2801
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2802
+ "x-access-token"?: string | undefined;
2803
+ } | undefined;
2804
+ queryParameters?: {
2805
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2806
+ search?: string | undefined;
2807
+ forwardAddress?: boolean | undefined;
2808
+ catchAll?: boolean | undefined;
2809
+ autoResponder?: boolean | undefined;
2810
+ mailArchive?: boolean | undefined;
2811
+ limit?: number | undefined;
2812
+ skip?: number | undefined;
2813
+ page?: number | undefined;
2814
+ sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
2815
+ order?: ("asc" | "desc")[] | undefined;
2816
+ } | undefined;
2817
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMailMailAddress[]>;
2818
+ /** Get a DeliveryBox. */
2819
+ getDeliveryBox: (conf: {
2820
+ deliveryBoxId: string;
2821
+ headers?: {
2822
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2823
+ "x-access-token"?: string | undefined;
2824
+ } | undefined;
2825
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2826
+ authenticationEnabled: boolean;
2827
+ description: string;
2828
+ id: string;
2829
+ name: string;
2830
+ passwordUpdatedAt: string;
2831
+ projectId: string;
2832
+ sendingEnabled: boolean;
2833
+ updatedAt: string;
2834
+ }>;
2835
+ /** Get a MailAddress. */
2836
+ getMailAddress: (conf: {
2837
+ mailAddressId: string;
2838
+ headers?: {
2839
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2840
+ "x-access-token"?: string | undefined;
2841
+ } | undefined;
2842
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2843
+ address: string;
2844
+ archive: {
2845
+ active: boolean;
2846
+ quota: number;
2847
+ usedBytes: number;
2848
+ };
2849
+ autoResponder: {
2850
+ active: boolean;
2851
+ expiresAt?: string;
2852
+ message?: string;
2853
+ startsAt?: string;
2854
+ };
2855
+ forwardAddresses: string[];
2856
+ id: string;
2857
+ isArchived: boolean;
2858
+ isBackupInProgress: boolean;
2859
+ isCatchAll: boolean;
2860
+ mailbox?: {
2861
+ name: string;
2862
+ passwordUpdatedAt: string;
2863
+ sendingEnabled: boolean;
2864
+ spamProtection: {
2865
+ active: boolean;
2866
+ autoDeleteSpam: boolean;
2867
+ folder: "spam" | "inbox";
2868
+ relocationMinSpamScore: number;
2869
+ };
2870
+ storageInBytes: {
2871
+ current: {
2872
+ updatedAt: string;
2873
+ value: number;
2874
+ };
2875
+ limit: number;
2876
+ };
2877
+ } | undefined;
2878
+ projectId: string;
2879
+ receivingDisabled: boolean;
2880
+ updatedAt: string;
2881
+ }>;
2882
+ /** List backups belonging to a MailAddress. */
2883
+ listBackupsForMailAddress: (conf: {
2884
+ mailAddressId: string;
2885
+ headers?: {
2886
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2887
+ "x-access-token"?: string | undefined;
2888
+ } | undefined;
2889
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMailMailAddressBackup[]>;
2890
+ /** List MailAddresses. */
2891
+ listMailAddressesForUser: (conf?: {
2892
+ headers?: {
2893
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2894
+ "x-access-token"?: string | undefined;
2895
+ } | undefined;
2896
+ queryParameters?: {
2897
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2898
+ projectId?: string | undefined;
2899
+ search?: string | undefined;
2900
+ forwardAddress?: boolean | undefined;
2901
+ catchAll?: boolean | undefined;
2902
+ autoResponder?: boolean | undefined;
2903
+ mailArchive?: boolean | undefined;
2904
+ limit?: number | undefined;
2905
+ skip?: number | undefined;
2906
+ page?: number | undefined;
2907
+ sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[] | undefined;
2908
+ order?: ("asc" | "desc")[] | undefined;
2909
+ } | undefined;
2910
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMailMailAddress[]>;
2911
+ /** List mail settings of a Project. */
2912
+ listProjectMailSettings: (conf: {
2913
+ projectId: string;
2914
+ headers?: {
2915
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2916
+ "x-access-token"?: string | undefined;
2917
+ } | undefined;
2918
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2919
+ blacklist: string[];
2920
+ projectId: string;
2921
+ whitelist: string[];
2922
+ }>;
2923
+ };
2924
+ declare const buildMiscApi: (baseClient: MittwaldAPIV3NextClient) => {
2925
+ /** List valid time zones. */
2926
+ ellaneousListTimeZones: (conf?: {
2927
+ headers?: {
2928
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2929
+ "x-access-token"?: string | undefined;
2930
+ } | undefined;
2931
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
2932
+ };
2933
+ declare const buildNotificationApi: (baseClient: MittwaldAPIV3NextClient) => {
2934
+ /** Getting the subscription status of the subscription. */
2935
+ newsletterGetInfo: (conf?: {
2936
+ headers?: {
2937
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2938
+ "x-access-token"?: string | undefined;
2939
+ } | undefined;
2940
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
2941
+ active: boolean;
2942
+ email: string;
2943
+ registered: boolean;
2944
+ }>;
2945
+ /** Get the counts for unread notifications of the user. */
2946
+ scountUnreadNotifications: (conf?: {
2947
+ headers?: {
2948
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2949
+ "x-access-token"?: string | undefined;
2950
+ } | undefined;
2951
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
2952
+ error: number;
2953
+ info: number;
2954
+ success: number;
2955
+ total: number;
2956
+ warning: number;
2957
+ }>;
2958
+ /** List all unread notifications. */
2959
+ slistNotifications: (conf?: {
2960
+ headers?: {
2961
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2962
+ "x-access-token"?: string | undefined;
2963
+ } | undefined;
2964
+ queryParameters?: {
2965
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2966
+ status?: "unread" | "read" | undefined;
2967
+ severity?: ("success" | "info" | "warning" | "error")[] | undefined;
2968
+ type?: string[] | undefined;
2969
+ "type-not"?: string[] | undefined;
2970
+ limit?: number | undefined;
2971
+ skip?: number | undefined;
2972
+ page?: number | undefined;
2973
+ } | undefined;
2974
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMessagingNotification[]>;
2975
+ };
2976
+ declare const buildPageInsightsApi: (baseClient: MittwaldAPIV3NextClient) => {
2977
+ /** Get detailed performance data for a given domain and path. */
2978
+ pageinsightsGetPerformanceData: (conf: {
2979
+ queryParameters: {
2980
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2981
+ domain: string;
2982
+ path: string;
2983
+ date?: string | undefined;
2984
+ };
2985
+ headers?: {
2986
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2987
+ "x-access-token"?: string | undefined;
2988
+ } | undefined;
2989
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2990
+ createdAt?: string | undefined;
2991
+ domain: string;
2992
+ metrics?: {
2993
+ createdAt: string;
2994
+ name: string;
2995
+ score?: number;
2996
+ value: number;
2997
+ }[] | undefined;
2998
+ moreDataAvailable?: string[] | undefined;
2999
+ path: string;
3000
+ performanceScore: number;
3001
+ screenshot?: {
3002
+ createdAt: string;
3003
+ fileRef: string;
3004
+ } | undefined;
3005
+ }>;
3006
+ /** Get all data for a given strace. */
3007
+ pageinsightsGetStraceData: (conf: {
3008
+ straceId: string;
3009
+ projectId: string;
3010
+ headers?: {
3011
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3012
+ "x-access-token"?: string | undefined;
3013
+ } | undefined;
3014
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3015
+ executedAt: string;
3016
+ id: string;
3017
+ result: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStraceError | import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStraceData;
3018
+ }>;
3019
+ /** List websites (specified as domain and path) from a project where performance data is available. */
3020
+ pageinsightsListPerformanceDataForProject: (conf: {
3021
+ projectId: string;
3022
+ headers?: {
3023
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3024
+ "x-access-token"?: string | undefined;
3025
+ } | undefined;
3026
+ queryParameters?: {
3027
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3028
+ domain?: string | undefined;
3029
+ } | undefined;
3030
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3031
+ domain: string;
3032
+ paths: {
3033
+ createdAt: string;
3034
+ path: string;
3035
+ performanceScore: number;
3036
+ screenshotFileRef?: string;
3037
+ }[];
3038
+ }[]>;
3039
+ };
3040
+ declare const buildUserApi: (baseClient: MittwaldAPIV3NextClient) => {
3041
+ /** Get a PasswordPolicy. */
3042
+ passwordValidationGetPasswordPolicy: (conf: {
3043
+ passwordPolicy: string;
3044
+ headers?: {
3045
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3046
+ } | undefined;
3047
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
3048
+ /** Get your verified Email-Address. */
3049
+ getOwnEmail: (conf?: {
3050
+ headers?: {
3051
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3052
+ "x-access-token"?: string | undefined;
3053
+ } | undefined;
3054
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
3055
+ email: string;
3056
+ }>;
3057
+ /** Get your current multi factor auth status. */
3058
+ getMfaStatus: (conf?: {
3059
+ headers?: {
3060
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3061
+ "x-access-token"?: string | undefined;
3062
+ } | undefined;
3063
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
3064
+ confirmed: boolean;
3065
+ initialized: boolean;
3066
+ }>;
3067
+ /** List all of your ApiTokens. */
3068
+ listApiTokens: (conf?: {
3069
+ headers?: {
3070
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3071
+ "x-access-token"?: string | undefined;
3072
+ } | undefined;
3073
+ queryParameters?: {
3074
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3075
+ limit?: number | undefined;
3076
+ skip?: number | undefined;
3077
+ page?: number | undefined;
3078
+ } | undefined;
3079
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupApiToken[]>;
3080
+ /** Get your stored ssh-keys. */
3081
+ listSshKeys: (conf?: {
3082
+ headers?: {
3083
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3084
+ "x-access-token"?: string | undefined;
3085
+ } | undefined;
3086
+ queryParameters?: {
3087
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3088
+ limit?: number | undefined;
3089
+ skip?: number | undefined;
3090
+ page?: number | undefined;
3091
+ } | undefined;
3092
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
3093
+ sshKeys?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupSshKey[] | undefined;
3094
+ }>;
3095
+ /** Get a specific ApiToken. */
3096
+ getApiToken: (conf: {
3097
+ apiTokenId: string;
3098
+ headers?: {
3099
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3100
+ "x-access-token"?: string | undefined;
3101
+ } | undefined;
3102
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3103
+ apiTokenId: string;
3104
+ createdAt: string;
3105
+ description: string;
3106
+ expiresAt?: string | undefined;
3107
+ roles: ("api_read" | "api_write")[];
3108
+ }>;
3109
+ /** Get a specific stored ssh-key. */
3110
+ getSshKey: (conf: {
3111
+ sshKeyId: string;
3112
+ headers?: {
3113
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3114
+ "x-access-token"?: string | undefined;
3115
+ } | undefined;
3116
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3117
+ sshKey: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupSshKey;
3118
+ }>;
3119
+ /** Check status of the current session. */
3120
+ getCurrentSessionStatus: (conf?: {
3121
+ headers?: {
3122
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3123
+ "x-access-token"?: string | undefined;
3124
+ } | undefined;
3125
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
3126
+ isEmployee: boolean;
3127
+ isImpersonated: boolean;
3128
+ tokenId: string;
3129
+ userId: string;
3130
+ }>;
3131
+ /** The timestamp of your latest password change. */
3132
+ getPasswordUpdatedAt: (conf?: {
3133
+ headers?: {
3134
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3135
+ "x-access-token"?: string | undefined;
3136
+ } | undefined;
3137
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
3138
+ passwordUpdatedAt: string;
3139
+ }>;
3140
+ /** Get personalized settings. */
3141
+ getPersonalizedSettings: (conf: {
3142
+ userId: string;
3143
+ headers?: {
3144
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3145
+ "x-access-token"?: string | undefined;
3146
+ } | undefined;
3147
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3148
+ settingsString?: string | undefined;
3149
+ }>;
3150
+ /** Get poll settings for the specified user. */
3151
+ getPollStatus: (conf: {
3152
+ userId: string;
3153
+ headers?: {
3154
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3155
+ } | undefined;
3156
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3157
+ completedAt?: string | undefined;
3158
+ dontShowUntil?: string | undefined;
3159
+ ignoredAt?: string | undefined;
3160
+ shouldShow: boolean;
3161
+ status: "completed" | "muted" | "ignored" | "new";
3162
+ userId: string;
3163
+ }>;
3164
+ /** Get a specific session. */
3165
+ getSession: (conf: {
3166
+ tokenId: string;
3167
+ headers?: {
3168
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3169
+ "x-access-token"?: string | undefined;
3170
+ } | undefined;
3171
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3172
+ created: string;
3173
+ device: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupDeviceInfo;
3174
+ lastAccess?: string | undefined;
3175
+ location?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupLocation | undefined;
3176
+ tokenId: string;
3177
+ }>;
3178
+ /** Get profile information for a user. */
3179
+ getUser: (conf: {
3180
+ userId: string;
3181
+ headers?: {
3182
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3183
+ "x-access-token"?: string | undefined;
3184
+ } | undefined;
3185
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3186
+ avatarRef?: string | undefined;
3187
+ customerMemberships?: {
3188
+ [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserCustomerMembership;
3189
+ } | undefined;
3190
+ email?: string | undefined;
3191
+ employeeInformation?: {
3192
+ department: string;
3193
+ } | undefined;
3194
+ isEmployee?: boolean | undefined;
3195
+ mfa?: {
3196
+ active: boolean;
3197
+ setup: boolean;
3198
+ } | undefined;
3199
+ passwordUpdatedAt?: string | undefined;
3200
+ person: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsPerson;
3201
+ phoneNumber?: string | undefined;
3202
+ projectMemberships?: {
3203
+ [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserProjectMembership;
3204
+ } | undefined;
3205
+ registeredAt?: string | undefined;
3206
+ userId: string;
3207
+ }>;
3208
+ /** Submitted feedback of the given user. */
3209
+ listFeedback: (conf: {
3210
+ userId: string;
3211
+ headers?: {
3212
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3213
+ "x-access-token"?: string | undefined;
3214
+ } | undefined;
3215
+ queryParameters?: {
3216
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3217
+ subject?: string | undefined;
3218
+ } | undefined;
3219
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedback[]>;
3220
+ /** List all sessions. */
3221
+ listSessions: (conf?: {
3222
+ headers?: {
3223
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3224
+ "x-access-token"?: string | undefined;
3225
+ } | undefined;
3226
+ queryParameters?: {
3227
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3228
+ limit?: number | undefined;
3229
+ skip?: number | undefined;
3230
+ page?: number | undefined;
3231
+ } | undefined;
3232
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupUserSession[]>;
3233
+ /** Obtain authorization from the resource owner. */
3234
+ oauthGetAuthorization: (conf: {
3235
+ queryParameters: {
3236
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3237
+ response_type: "code";
3238
+ client_id: string;
3239
+ grant_consent?: boolean | undefined;
3240
+ grant_type?: "authorization_code" | undefined;
3241
+ redirect_uri?: string | undefined;
3242
+ scope?: string | undefined;
3243
+ state?: string | undefined;
3244
+ code_challenge?: string | undefined;
3245
+ code_challenge_method?: "S256" | undefined;
3246
+ };
3247
+ headers?: {
3248
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3249
+ } | undefined;
3250
+ }) => import("@mittwald/react-use-promise").AsyncResource<never>;
3251
+ /** Request a support code. */
3252
+ supportCodeRequest: (conf?: {
3253
+ headers?: {
3254
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3255
+ "x-access-token"?: string | undefined;
3256
+ } | undefined;
3257
+ queryParameters?: {
3258
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3259
+ forceRecreate?: boolean | undefined;
3260
+ } | undefined;
3261
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
3262
+ expiresAt: string;
3263
+ supportCode: string;
3264
+ }>;
3265
+ };
3266
+ declare const buildProjectApi: (baseClient: MittwaldAPIV3NextClient) => {
3267
+ /** List Invites belonging to a Project. */
3268
+ listInvitesForProject: (conf: {
3269
+ projectId: string;
3270
+ headers?: {
3271
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3272
+ "x-access-token"?: string | undefined;
3273
+ } | undefined;
3274
+ queryParameters?: {
3275
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3276
+ limit?: number | undefined;
3277
+ skip?: number | undefined;
3278
+ searchTerm?: string | undefined;
3279
+ } | undefined;
3280
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipProjectInvite[]>;
3281
+ /** Get a ProjectInvite. */
3282
+ getProjectInvite: (conf: {
3283
+ projectInviteId: string;
3284
+ headers?: {
3285
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3286
+ "x-access-token"?: string | undefined;
3287
+ } | undefined;
3288
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3289
+ avatarRefId?: string | undefined;
3290
+ id: string;
3291
+ information: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipInviteInformation;
3292
+ mailAddress: string;
3293
+ membershipExpiresAt?: string | undefined;
3294
+ message?: string | undefined;
3295
+ projectDescription: string;
3296
+ projectId: string;
3297
+ role: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipProjectRoles;
3298
+ }>;
3299
+ /** Get a ProjectMembership */
3300
+ getProjectMembership: (conf: {
3301
+ projectMembershipId: string;
3302
+ headers?: {
3303
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3304
+ "x-access-token"?: string | undefined;
3305
+ } | undefined;
3306
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3307
+ avatarRef?: string | undefined;
3308
+ email: string;
3309
+ expiresAt?: string | undefined;
3310
+ firstName: string;
3311
+ id: string;
3312
+ inherited: boolean;
3313
+ inviteId?: string | undefined;
3314
+ lastName: string;
3315
+ memberSince?: string | undefined;
3316
+ mfa: boolean;
3317
+ projectId: string;
3318
+ role: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipProjectRoles;
3319
+ userId: string;
3320
+ }>;
3321
+ /** Get a Project. */
3322
+ getProject: (conf: {
3323
+ projectId: string;
3324
+ headers?: {
3325
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3326
+ "x-access-token"?: string | undefined;
3327
+ } | undefined;
3328
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3329
+ backupStorageUsageInBytes: number;
3330
+ backupStorageUsageInBytesSetAt: string;
3331
+ clusterDomain?: string | undefined;
3332
+ clusterID?: string | undefined;
3333
+ clusterId?: string | undefined;
3334
+ createdAt: string;
3335
+ customerId: string;
3336
+ deletionRequested?: boolean | undefined;
3337
+ description: string;
3338
+ directories: {
3339
+ [k: string]: string;
3340
+ };
3341
+ disableReason?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectDisableReason | undefined;
3342
+ disabledAt?: string | undefined;
3343
+ enabled: boolean;
3344
+ features?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectProjectFeature[] | undefined;
3345
+ id: string;
3346
+ imageRefId?: string | undefined;
3347
+ isReady: boolean;
3348
+ projectHostingId?: string | undefined;
3349
+ readiness: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectDeprecatedProjectReadinessStatus;
3350
+ serverGroupId: string;
3351
+ serverId?: string | undefined;
3352
+ serverShortId?: string | undefined;
3353
+ shortId: string;
3354
+ spec?: (import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectVisitorSpec | import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectHardwareSpec) | undefined;
3355
+ statisticsBaseDomain?: string | undefined;
3356
+ status: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectProjectStatus;
3357
+ statusSetAt: string;
3358
+ supportedFeatures: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectProjectFeature[];
3359
+ webStorageUsageInBytes: number;
3360
+ webStorageUsageInBytesSetAt: string;
3361
+ }>;
3362
+ /** Get a ProjectInvite by token. */
3363
+ getProjectTokenInvite: (conf: {
3364
+ headers: {
3365
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3366
+ token: string;
3367
+ "x-access-token"?: string | undefined;
3368
+ };
3369
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3370
+ avatarRefId?: string | undefined;
3371
+ id: string;
3372
+ information: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipInviteInformation;
3373
+ mailAddress: string;
3374
+ membershipExpiresAt?: string | undefined;
3375
+ message?: string | undefined;
3376
+ projectDescription: string;
3377
+ projectId: string;
3378
+ role: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipProjectRoles;
3379
+ }>;
3380
+ /** Get the executing user's membership in a Project. */
3381
+ getSelfMembershipForProject: (conf: {
3382
+ projectId: string;
3383
+ headers?: {
3384
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3385
+ "x-access-token"?: string | undefined;
3386
+ } | undefined;
3387
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3388
+ avatarRef?: string | undefined;
3389
+ email: string;
3390
+ expiresAt?: string | undefined;
3391
+ firstName: string;
3392
+ id: string;
3393
+ inherited: boolean;
3394
+ inviteId?: string | undefined;
3395
+ lastName: string;
3396
+ memberSince?: string | undefined;
3397
+ mfa: boolean;
3398
+ projectId: string;
3399
+ role: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipProjectRoles;
3400
+ userId: string;
3401
+ }>;
3402
+ /** Get a Server. */
3403
+ getServer: (conf: {
3404
+ serverId: string;
3405
+ headers?: {
3406
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3407
+ "x-access-token"?: string | undefined;
3408
+ } | undefined;
3409
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3410
+ clusterName: string;
3411
+ createdAt: string;
3412
+ customerId: string;
3413
+ description: string;
3414
+ disabledReason?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectServerDisableReason | undefined;
3415
+ groupId: string;
3416
+ id: string;
3417
+ imageRefId?: string | undefined;
3418
+ isReady: boolean;
3419
+ machineType: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectMachineType;
3420
+ readiness: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectDeprecatedServerReadinessStatus;
3421
+ shortId: string;
3422
+ statisticsBaseDomain?: string | undefined;
3423
+ status: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectServerStatus;
3424
+ storage: string;
3425
+ }>;
3426
+ /** List Projects belonging to a Customer. */
3427
+ listCustomerProjects: (conf: {
3428
+ customerId: string;
3429
+ headers?: {
3430
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3431
+ "x-access-token"?: string | undefined;
3432
+ } | undefined;
3433
+ queryParameters?: {
3434
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3435
+ searchTerm?: string | undefined;
3436
+ limit?: number | undefined;
3437
+ skip?: number | undefined;
3438
+ page?: number | undefined;
3439
+ sort?: "createdAt" | "description" | undefined;
3440
+ order?: "asc" | "desc" | undefined;
3441
+ } | undefined;
3442
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectProjectListItem[]>;
3443
+ /** List Memberships belonging to a Project. */
3444
+ listMembershipsForProject: (conf: {
3445
+ projectId: string;
3446
+ headers?: {
3447
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3448
+ "x-access-token"?: string | undefined;
3449
+ } | undefined;
3450
+ queryParameters?: {
3451
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3452
+ limit?: number | undefined;
3453
+ skip?: number | undefined;
3454
+ hasExpiry?: boolean | undefined;
3455
+ isInherited?: boolean | undefined;
3456
+ role?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipProjectRoles | undefined;
3457
+ hasMfa?: boolean | undefined;
3458
+ searchTerm?: string | undefined;
3459
+ } | undefined;
3460
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipProjectMembership[]>;
3461
+ /** Get the activities of a project. */
3462
+ listProjectActivities: (conf: {
3463
+ projectId: string;
3464
+ headers?: {
3465
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3466
+ } | undefined;
3467
+ queryParameters?: {
3468
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3469
+ aggregateName?: string | undefined;
3470
+ aggregateDomain?: string | undefined;
3471
+ aggregateId?: string | undefined;
3472
+ startTime?: string | undefined;
3473
+ endTime?: string | undefined;
3474
+ fulltextSearch?: string | undefined;
3475
+ limit?: number | undefined;
3476
+ skip?: number | undefined;
3477
+ page?: number | undefined;
3478
+ sort?: "dateTime" | undefined;
3479
+ order?: "asc" | "desc" | undefined;
3480
+ } | undefined;
3481
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldActivitylogLogEntry[]>;
3482
+ /** List ProjectInvites belonging to the executing user. */
3483
+ listProjectInvites: (conf?: {
3484
+ headers?: {
3485
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3486
+ "x-access-token"?: string | undefined;
3487
+ } | undefined;
3488
+ queryParameters?: {
3489
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3490
+ limit?: number | undefined;
3491
+ skip?: number | undefined;
3492
+ page?: number | undefined;
3493
+ } | undefined;
3494
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipProjectInvite[]>;
3495
+ /** List ProjectMemberships belonging to the executing user. */
3496
+ listProjectMemberships: (conf?: {
3497
+ headers?: {
3498
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3499
+ "x-access-token"?: string | undefined;
3500
+ } | undefined;
3501
+ queryParameters?: {
3502
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3503
+ limit?: number | undefined;
3504
+ skip?: number | undefined;
3505
+ page?: number | undefined;
3506
+ hasExpiry?: boolean | undefined;
3507
+ isInherited?: boolean | undefined;
3508
+ role?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipProjectRoles | undefined;
3509
+ } | undefined;
3510
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldMembershipProjectMembership[]>;
3511
+ /** List Projects belonging to the executing user. */
3512
+ listProjects: (conf?: {
3513
+ headers?: {
3514
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3515
+ "x-access-token"?: string | undefined;
3516
+ } | undefined;
3517
+ queryParameters?: {
3518
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3519
+ customerId?: string | undefined;
3520
+ serverId?: string | undefined;
3521
+ searchTerm?: string | undefined;
3522
+ limit?: number | undefined;
3523
+ skip?: number | undefined;
3524
+ page?: number | undefined;
3525
+ sort?: "createdAt" | "description" | undefined;
3526
+ order?: "asc" | "desc" | undefined;
3527
+ } | undefined;
3528
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectProjectListItem[]>;
3529
+ /** List Servers belonging to the executing user. */
3530
+ listServers: (conf?: {
3531
+ headers?: {
3532
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3533
+ "x-access-token"?: string | undefined;
3534
+ } | undefined;
3535
+ queryParameters?: {
3536
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3537
+ customerId?: string | undefined;
3538
+ searchTerm?: string | undefined;
3539
+ limit?: number | undefined;
3540
+ skip?: number | undefined;
3541
+ page?: number | undefined;
3542
+ sort?: "createdAt" | "description" | undefined;
3543
+ order?: "asc" | "desc" | undefined;
3544
+ } | undefined;
3545
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectServer[]>;
3546
+ /** Get storage space Statistics belonging to a Project. */
3547
+ storagespaceGetProjectStatistics: (conf: {
3548
+ projectId: string;
3549
+ headers?: {
3550
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3551
+ "x-access-token"?: string | undefined;
3552
+ } | undefined;
3553
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3554
+ childStatistics?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStoragespaceStatistics[] | undefined;
3555
+ description?: string | undefined;
3556
+ id: string;
3557
+ kind: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStoragespaceStatisticsKind;
3558
+ meta: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStoragespaceStatisticsMeta;
3559
+ name: string;
3560
+ notificationThresholdInBytes?: number | undefined;
3561
+ statisticCategories?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStoragespaceStatisticsCategory[] | undefined;
3562
+ }>;
3563
+ /** Get storage space Statistics belonging to a Server. */
3564
+ storagespaceGetServerStatistics: (conf: {
3565
+ serverId: string;
3566
+ headers?: {
3567
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3568
+ "x-access-token"?: string | undefined;
3569
+ } | undefined;
3570
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3571
+ childStatistics?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStoragespaceStatistics[] | undefined;
3572
+ description?: string | undefined;
3573
+ id: string;
3574
+ kind: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStoragespaceStatisticsKind;
3575
+ meta: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStoragespaceStatisticsMeta;
3576
+ name: string;
3577
+ notificationThresholdInBytes?: number | undefined;
3578
+ statisticCategories?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStoragespaceStatisticsCategory[] | undefined;
3579
+ }>;
3580
+ };
3581
+ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV3NextClient) => {
3582
+ /** List directories belonging to a Project. */
3583
+ getDirectories: (conf: {
3584
+ projectId: string;
3585
+ headers?: {
3586
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3587
+ "x-access-token"?: string | undefined;
3588
+ } | undefined;
3589
+ queryParameters?: {
3590
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3591
+ directory?: string | undefined;
3592
+ name?: string | undefined;
3593
+ max_depth?: number | undefined;
3594
+ type?: string[] | undefined;
3595
+ executable?: boolean | undefined;
3596
+ hidden?: boolean | undefined;
3597
+ } | undefined;
3598
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3599
+ absolutePath: string;
3600
+ isDirectory?: boolean | undefined;
3601
+ isExecutable?: boolean | undefined;
3602
+ isFile?: boolean | undefined;
3603
+ isSymlink?: boolean | undefined;
3604
+ items?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectFilesystemDirectoryListing[] | undefined;
3605
+ name: string;
3606
+ size: number;
3607
+ target?: string | undefined;
3608
+ }>;
3609
+ /** Get a Project directory filesystem usage. */
3610
+ getDiskUsage: (conf: {
3611
+ projectId: string;
3612
+ headers?: {
3613
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3614
+ "x-access-token"?: string | undefined;
3615
+ } | undefined;
3616
+ queryParameters?: {
3617
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3618
+ directory?: string | undefined;
3619
+ } | undefined;
3620
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3621
+ path?: string | undefined;
3622
+ totalBytes?: number | undefined;
3623
+ usedBytes?: number | undefined;
3624
+ }>;
3625
+ /** Get a Project file's content. */
3626
+ getFileContent: (conf: {
3627
+ projectId: string;
3628
+ headers?: {
3629
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3630
+ "x-access-token"?: string | undefined;
3631
+ } | undefined;
3632
+ queryParameters?: {
3633
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3634
+ file?: string | undefined;
3635
+ inline?: boolean | undefined;
3636
+ } | undefined;
3637
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
3638
+ /** Get a Project's file/filesystem authorization token. */
3639
+ getJwt: (conf: {
3640
+ projectId: string;
3641
+ headers?: {
3642
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3643
+ "x-access-token"?: string | undefined;
3644
+ } | undefined;
3645
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3646
+ jwt: string;
3647
+ }>;
3648
+ /** Get a Project file's information. */
3649
+ listFiles: (conf: {
3650
+ projectId: string;
3651
+ headers?: {
3652
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3653
+ "x-access-token"?: string | undefined;
3654
+ } | undefined;
3655
+ queryParameters?: {
3656
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3657
+ file?: string | undefined;
3658
+ } | undefined;
3659
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3660
+ absolutePath: string;
3661
+ isDirectory?: boolean | undefined;
3662
+ isExecutable?: boolean | undefined;
3663
+ isFile?: boolean | undefined;
3664
+ isSymlink?: boolean | undefined;
3665
+ items?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectFilesystemDirectoryListing[] | undefined;
3666
+ name: string;
3667
+ size: number;
3668
+ target?: string | undefined;
3669
+ }>;
3670
+ };
3671
+ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV3NextClient) => {
3672
+ /** Get all SFTPUsers for a Project. */
3673
+ sftpUserListSftpUsers: (conf: {
3674
+ projectId: string;
3675
+ headers?: {
3676
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3677
+ "x-access-token"?: string | undefined;
3678
+ } | undefined;
3679
+ queryParameters?: {
3680
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3681
+ limit?: number | undefined;
3682
+ skip?: number | undefined;
3683
+ } | undefined;
3684
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSshuserSftpUser[]>;
3685
+ /** Get an SFTPUser. */
3686
+ sftpUserGetSftpUser: (conf: {
3687
+ sftpUserId: string;
3688
+ headers?: {
3689
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3690
+ "x-access-token"?: string | undefined;
3691
+ } | undefined;
3692
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3693
+ accessLevel: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSshuserAccessLevel;
3694
+ active?: boolean | undefined;
3695
+ authUpdatedAt: string;
3696
+ createdAt: string;
3697
+ description: string;
3698
+ directories?: string[] | undefined;
3699
+ expiresAt?: string | undefined;
3700
+ hasPassword: boolean;
3701
+ id: string;
3702
+ projectId: string;
3703
+ publicKeys?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSshuserPublicKey[] | undefined;
3704
+ updatedAt?: string | undefined;
3705
+ userName: string;
3706
+ }>;
3707
+ /** Get all SSHUsers for a Project. */
3708
+ sshUserListSshUsers: (conf: {
3709
+ projectId: string;
3710
+ headers?: {
3711
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3712
+ "x-access-token"?: string | undefined;
3713
+ } | undefined;
3714
+ queryParameters?: {
3715
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3716
+ limit?: number | undefined;
3717
+ skip?: number | undefined;
3718
+ } | undefined;
3719
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSshuserSshUser[]>;
3720
+ /** Get an SSHUser. */
3721
+ sshUserGetSshUser: (conf: {
3722
+ sshUserId: string;
3723
+ headers?: {
3724
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3725
+ "x-access-token"?: string | undefined;
3726
+ } | undefined;
3727
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3728
+ active?: boolean | undefined;
3729
+ authUpdatedAt: string;
3730
+ createdAt: string;
3731
+ description: string;
3732
+ expiresAt?: string | undefined;
3733
+ hasPassword: boolean;
3734
+ id: string;
3735
+ projectId: string;
3736
+ publicKeys?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSshuserPublicKey[] | undefined;
3737
+ updatedAt?: string | undefined;
3738
+ userName: string;
3739
+ }>;
3740
+ };
3741
+ export declare class MittwaldAPIV3NextClientReact {
3742
+ /** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
3743
+ readonly aiHosting: ReturnType<typeof buildAiHostingApi>;
3744
+ /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
3745
+ readonly app: ReturnType<typeof buildAppApi>;
3746
+ /** The article API allows you to read article information. */
3747
+ readonly article: ReturnType<typeof buildArticleApi>;
3748
+ /** The backup API allows you to manage your project backups. */
3749
+ readonly backup: ReturnType<typeof buildBackupApi>;
3750
+ /** The container API allows you to manage your stacks, containers, volumes and registries. */
3751
+ readonly container: ReturnType<typeof buildContainerApi>;
3752
+ /** The contract API allows you to manage your contracts and orders */
3753
+ readonly contract: ReturnType<typeof buildContractApi>;
3754
+ /** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
3755
+ readonly marketplace: ReturnType<typeof buildMarketplaceApi>;
3756
+ /** The conversation API allows you to manage your support conversations. */
3757
+ readonly conversation: ReturnType<typeof buildConversationApi>;
3758
+ /** The cronjob API allows you to manage cronjobs within a project. */
3759
+ readonly cronjob: ReturnType<typeof buildCronjobApi>;
3760
+ /** The customer API allows you to manage your own organizations and users. */
3761
+ readonly customer: ReturnType<typeof buildCustomerApi>;
3762
+ /** The database API allows you to manage your databases, like MySQL and Redis databases. */
3763
+ readonly database: ReturnType<typeof buildDatabaseApi>;
3764
+ /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
3765
+ readonly domain: ReturnType<typeof buildDomainApi>;
3766
+ /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
3767
+ readonly file: ReturnType<typeof buildFileApi>;
3768
+ /** The lead fyndr api allow you to manage you leads and your fyndr profile. */
3769
+ readonly leadFyndr: ReturnType<typeof buildLeadFyndrApi>;
3770
+ /** The license API allows you to manage your paid licenses. */
3771
+ readonly license: ReturnType<typeof buildLicenseApi>;
3772
+ /** The mail API allows you to manage your mail accounts. */
3773
+ readonly mail: ReturnType<typeof buildMailApi>;
3774
+ /** API endpoints that are not related to any specific API domain */
3775
+ readonly misc: ReturnType<typeof buildMiscApi>;
3776
+ /** The notification API allows you to manage your notifications. */
3777
+ readonly notification: ReturnType<typeof buildNotificationApi>;
3778
+ /** The page insights API allows you to get page insights information. */
3779
+ readonly pageInsights: ReturnType<typeof buildPageInsightsApi>;
3780
+ /** The user API allows you to manage your own user and access information of other users that might be visible to you. */
3781
+ readonly user: ReturnType<typeof buildUserApi>;
3782
+ /** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
3783
+ readonly project: ReturnType<typeof buildProjectApi>;
3784
+ /** The filesystem API allows you to directly access the filesystem of your project. */
3785
+ readonly projectFileSystem: ReturnType<typeof buildProjectFileSystemApi>;
3786
+ /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
3787
+ readonly sshsftpUser: ReturnType<typeof buildSshsftpUserApi>;
3788
+ private constructor();
3789
+ static fromBaseClient(baseClient: MittwaldAPIV3NextClient): MittwaldAPIV3NextClientReact;
3790
+ }