@mittwald/api-client 0.0.0-development-8335166-20260625 → 0.0.0-experimental-dev-9ded0ba9-20260706

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