@mittwald/api-client 3.0.28 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/chunk-LELXC74W.js +1770 -0
  2. package/dist/client-739be67c.d.ts +25271 -0
  3. package/dist/index.cjs +2627 -0
  4. package/dist/{cjs/v2/default.d.ts → index.d.cts} +8 -4
  5. package/dist/{esm/v2/default.d.ts → index.d.ts} +8 -4
  6. package/dist/index.js +1440 -0
  7. package/dist/react.cjs +1360 -0
  8. package/dist/{cjs/generated/v2/client-react.d.ts → react.d.cts} +453 -390
  9. package/dist/{esm/generated/v2/client-react.d.ts → react.d.ts} +453 -390
  10. package/dist/react.js +830 -0
  11. package/dist/version.d.ts +1 -1
  12. package/dist/version.js +1 -1
  13. package/package.json +17 -25
  14. package/dist/cjs/generated/v2/client-react.js +0 -334
  15. package/dist/cjs/generated/v2/client.d.ts +0 -9695
  16. package/dist/cjs/generated/v2/client.js +0 -658
  17. package/dist/cjs/generated/v2/descriptors.d.ts +0 -589
  18. package/dist/cjs/generated/v2/descriptors.js +0 -1760
  19. package/dist/cjs/generated/v2/types.d.ts +0 -14799
  20. package/dist/cjs/generated/v2/types.js +0 -2
  21. package/dist/cjs/index.d.ts +0 -3
  22. package/dist/cjs/index.js +0 -7
  23. package/dist/cjs/react.d.ts +0 -1
  24. package/dist/cjs/react.js +0 -5
  25. package/dist/cjs/v2/default.js +0 -70
  26. package/dist/cjs/v2/react.d.ts +0 -3
  27. package/dist/cjs/v2/react.js +0 -7
  28. package/dist/cjs/version.d.ts +0 -1
  29. package/dist/cjs/version.js +0 -4
  30. package/dist/esm/generated/v2/client-react.js +0 -336
  31. package/dist/esm/generated/v2/client.d.ts +0 -9695
  32. package/dist/esm/generated/v2/client.js +0 -628
  33. package/dist/esm/generated/v2/descriptors.d.ts +0 -589
  34. package/dist/esm/generated/v2/descriptors.js +0 -1752
  35. package/dist/esm/generated/v2/types.d.ts +0 -14799
  36. package/dist/esm/generated/v2/types.js +0 -1
  37. package/dist/esm/index.d.ts +0 -3
  38. package/dist/esm/index.js +0 -2
  39. package/dist/esm/react.d.ts +0 -1
  40. package/dist/esm/react.js +0 -1
  41. package/dist/esm/v2/default.js +0 -53
  42. package/dist/esm/v2/react.d.ts +0 -3
  43. package/dist/esm/v2/react.js +0 -3
  44. package/dist/esm/version.d.ts +0 -1
  45. package/dist/esm/version.js +0 -1
package/dist/react.cjs ADDED
@@ -0,0 +1,1360 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/react.ts
22
+ var react_exports = {};
23
+ __export(react_exports, {
24
+ MittwaldAPIV2ClientReact: () => MittwaldAPIV2ClientReact
25
+ });
26
+ module.exports = __toCommonJS(react_exports);
27
+
28
+ // src/generated/v2/client-react.ts
29
+ var client_react_exports = {};
30
+ __export(client_react_exports, {
31
+ MittwaldAPIV2ClientReact: () => MittwaldAPIV2ClientReact
32
+ });
33
+ var import_react = require("@mittwald/api-client-commons/react");
34
+
35
+ // src/generated/v2/descriptors.ts
36
+ var appGetApp = {
37
+ path: "/v2/apps/{appId}",
38
+ method: "GET",
39
+ operationId: "app-get-app"
40
+ };
41
+ var appGetAppinstallation = {
42
+ path: "/v2/appinstallations/{appInstallationId}",
43
+ method: "GET",
44
+ operationId: "app-get-appinstallation"
45
+ };
46
+ var appGetAppversion = {
47
+ path: "/v2/apps/{appId}/versions/{appVersionId}",
48
+ method: "GET",
49
+ operationId: "app-get-appversion"
50
+ };
51
+ var appGetMissingDependenciesForAppinstallation = {
52
+ path: "/v2/appinstallations/{appInstallationId}/missing-dependencies",
53
+ method: "GET",
54
+ operationId: "app-get-missing-dependencies-for-appinstallation"
55
+ };
56
+ var appGetSystemsoftware = {
57
+ path: "/v2/systemsoftwares/{systemSoftwareId}",
58
+ method: "GET",
59
+ operationId: "app-get-systemsoftware"
60
+ };
61
+ var appGetSystemsoftwareversion = {
62
+ path: "/v2/systemsoftware/{systemSoftwareId}/versions/{systemSoftwareVersionId}",
63
+ method: "GET",
64
+ operationId: "app-get-systemsoftwareversion"
65
+ };
66
+ var appListAppinstallations = {
67
+ path: "/v2/projects/{projectId}/appinstallations",
68
+ method: "GET",
69
+ operationId: "app-list-appinstallations"
70
+ };
71
+ var appListApps = {
72
+ path: "/v2/apps",
73
+ method: "GET",
74
+ operationId: "app-list-apps"
75
+ };
76
+ var appListAppversions = {
77
+ path: "/v2/apps/{appId}/versions",
78
+ method: "GET",
79
+ operationId: "app-list-appversions"
80
+ };
81
+ var appListSystemsoftwares = {
82
+ path: "/v2/systemsoftwares",
83
+ method: "GET",
84
+ operationId: "app-list-systemsoftwares"
85
+ };
86
+ var appListSystemsoftwareversions = {
87
+ path: "/v2/systemsoftware/{systemSoftwareId}/versions",
88
+ method: "GET",
89
+ operationId: "app-list-systemsoftwareversions"
90
+ };
91
+ var appListUpdateCandidatesForAppversion = {
92
+ path: "/v2/apps/{appId}/versions/{baseAppVersionId}/update-candidates",
93
+ method: "GET",
94
+ operationId: "app-list-update-candidates-for-appversion"
95
+ };
96
+ var appRetrieveStatus = {
97
+ path: "/v2/appinstallations/{appInstallationId}/status",
98
+ method: "GET",
99
+ operationId: "app-retrieve-status"
100
+ };
101
+ var articleGetArticle = {
102
+ path: "/v2/articles/{articleId}",
103
+ method: "GET",
104
+ operationId: "article-get-article"
105
+ };
106
+ var articleListArticles = {
107
+ path: "/v2/articles",
108
+ method: "GET",
109
+ operationId: "article-list-articles"
110
+ };
111
+ var backupListProjectBackupSchedules = {
112
+ path: "/v2/projects/{projectId}/backup-schedules",
113
+ method: "GET",
114
+ operationId: "backup-list-project-backup-schedules"
115
+ };
116
+ var backupListProjectBackups = {
117
+ path: "/v2/projects/{projectId}/backups",
118
+ method: "GET",
119
+ operationId: "backup-list-project-backups"
120
+ };
121
+ var backupGetProjectBackupSchedule = {
122
+ path: "/v2/project-backup-schedules/{projectBackupScheduleId}",
123
+ method: "GET",
124
+ operationId: "backup-get-project-backup-schedule"
125
+ };
126
+ var backupGetProjectBackup = {
127
+ path: "/v2/project-backups/{projectBackupId}",
128
+ method: "GET",
129
+ operationId: "backup-get-project-backup"
130
+ };
131
+ var contractGetBaseItemOfContract = {
132
+ path: "/v2/contracts/{contractId}/base-items",
133
+ method: "GET",
134
+ operationId: "contract-get-base-item-of-contract"
135
+ };
136
+ var contractGetDetailOfContractByDomain = {
137
+ path: "/v2/domains/{domainId}/contract",
138
+ method: "GET",
139
+ operationId: "contract-get-detail-of-contract-by-domain"
140
+ };
141
+ var contractGetDetailOfContractByProject = {
142
+ path: "/v2/projects/{projectId}/contract",
143
+ method: "GET",
144
+ operationId: "contract-get-detail-of-contract-by-project"
145
+ };
146
+ var contractGetDetailOfContractByServer = {
147
+ path: "/v2/servers/{serverId}/contract",
148
+ method: "GET",
149
+ operationId: "contract-get-detail-of-contract-by-server"
150
+ };
151
+ var contractGetDetailOfContractItem = {
152
+ path: "/v2/contracts/{contractId}/items/{contractItemId}",
153
+ method: "GET",
154
+ operationId: "contract-get-detail-of-contract-item"
155
+ };
156
+ var contractGetDetailOfContract = {
157
+ path: "/v2/contracts/{contractId}",
158
+ method: "GET",
159
+ operationId: "contract-get-detail-of-contract"
160
+ };
161
+ var contractGetNextTerminationDateForItem = {
162
+ path: "/v2/contracts/{contractId}/items/{contractItemId}/next-termination-dates",
163
+ method: "GET",
164
+ operationId: "contract-get-next-termination-date-for-item"
165
+ };
166
+ var contractListContracts = {
167
+ path: "/v2/customers/{customerId}/contracts",
168
+ method: "GET",
169
+ operationId: "contract-list-contracts"
170
+ };
171
+ var conversationListConversations = {
172
+ path: "/v2/conversations",
173
+ method: "GET",
174
+ operationId: "conversation-list-conversations"
175
+ };
176
+ var conversationListMessagesByConversation = {
177
+ path: "/v2/conversations/{conversationId}/messages",
178
+ method: "GET",
179
+ operationId: "conversation-list-messages-by-conversation"
180
+ };
181
+ var conversationGetCategory = {
182
+ path: "/v2/conversation-categories/{categoryId}",
183
+ method: "GET",
184
+ operationId: "conversation-get-category"
185
+ };
186
+ var conversationGetConversation = {
187
+ path: "/v2/conversations/{conversationId}",
188
+ method: "GET",
189
+ operationId: "conversation-get-conversation"
190
+ };
191
+ var conversationListCategories = {
192
+ path: "/v2/conversation-categories",
193
+ method: "GET",
194
+ operationId: "conversation-list-categories"
195
+ };
196
+ var cronjobListCronjobs = {
197
+ path: "/v2/projects/{projectId}/cronjobs",
198
+ method: "GET",
199
+ operationId: "cronjob-list-cronjobs"
200
+ };
201
+ var cronjobListExecutions = {
202
+ path: "/v2/cronjobs/{cronjobId}/executions",
203
+ method: "GET",
204
+ operationId: "cronjob-list-executions"
205
+ };
206
+ var cronjobGetCronjob = {
207
+ path: "/v2/cronjobs/{cronjobId}",
208
+ method: "GET",
209
+ operationId: "cronjob-get-cronjob"
210
+ };
211
+ var cronjobGetExecution = {
212
+ path: "/v2/cronjobs/{cronjobId}/executions/{executionId}",
213
+ method: "GET",
214
+ operationId: "cronjob-get-execution"
215
+ };
216
+ var customerListOfCustomerCategories = {
217
+ path: "/v2/customer-categories",
218
+ method: "GET",
219
+ operationId: "customer-list-of-customer-categories"
220
+ };
221
+ var customerListCustomers = {
222
+ path: "/v2/customers",
223
+ method: "GET",
224
+ operationId: "customer-list-customers"
225
+ };
226
+ var customerGetCustomerCategory = {
227
+ path: "/v2/customer-categories/{categoryId}",
228
+ method: "GET",
229
+ operationId: "customer-get-customer-category"
230
+ };
231
+ var customerGetCustomerInvite = {
232
+ path: "/v2/customer-invites/{inviteId}",
233
+ method: "GET",
234
+ operationId: "customer-get-customer-invite"
235
+ };
236
+ var customerGetCustomerMembership = {
237
+ path: "/v2/customer-memberships/{membershipId}",
238
+ method: "GET",
239
+ operationId: "customer-get-customer-membership"
240
+ };
241
+ var customerGetCustomer = {
242
+ path: "/v2/customers/{customerId}",
243
+ method: "GET",
244
+ operationId: "customer-get-customer"
245
+ };
246
+ var customerGetCustomerTokenInvite = {
247
+ path: "/v2/customer-token-invite",
248
+ method: "GET",
249
+ operationId: "customer-get-customer-token-invite"
250
+ };
251
+ var customerIsCustomerLegallyCompetent = {
252
+ path: "/v2/customers/{customerId}/legally-competent",
253
+ method: "GET",
254
+ operationId: "customer-is-customer-legally-competent"
255
+ };
256
+ var customerListCustomerInvites = {
257
+ path: "/v2/customer-invites",
258
+ method: "GET",
259
+ operationId: "customer-list-customer-invites"
260
+ };
261
+ var customerListCustomerMemberships = {
262
+ path: "/v2/customer-memberships",
263
+ method: "GET",
264
+ operationId: "customer-list-customer-memberships"
265
+ };
266
+ var customerListInvitesForCustomer = {
267
+ path: "/v2/customers/{customerId}/invites",
268
+ method: "GET",
269
+ operationId: "customer-list-invites-for-customer"
270
+ };
271
+ var customerListMembershipsForCustomer = {
272
+ path: "/v2/customers/{customerId}/memberships",
273
+ method: "GET",
274
+ operationId: "customer-list-memberships-for-customer"
275
+ };
276
+ var databaseListMysqlDatabases = {
277
+ path: "/v2/projects/{projectId}/mysql-databases",
278
+ method: "GET",
279
+ operationId: "database-list-mysql-databases"
280
+ };
281
+ var databaseListMysqlUsers = {
282
+ path: "/v2/mysql-databases/{databaseId}/users",
283
+ method: "GET",
284
+ operationId: "database-list-mysql-users"
285
+ };
286
+ var databaseListRedisDatabases = {
287
+ path: "/v2/projects/{projectId}/redis-databases",
288
+ method: "GET",
289
+ operationId: "database-list-redis-databases"
290
+ };
291
+ var databaseGetMysqlDatabase = {
292
+ path: "/v2/mysql-databases/{mysqlDatabaseId}",
293
+ method: "GET",
294
+ operationId: "database-get-mysql-database"
295
+ };
296
+ var databaseGetMysqlUser = {
297
+ path: "/v2/mysql-users/{mysqlUserId}",
298
+ method: "GET",
299
+ operationId: "database-get-mysql-user"
300
+ };
301
+ var databaseGetRedisDatabase = {
302
+ path: "/v2/redis-databases/{redisDatabaseId}",
303
+ method: "GET",
304
+ operationId: "database-get-redis-database"
305
+ };
306
+ var databaseGetMysqlUserPhpMyAdminUrl = {
307
+ path: "/v2/mysql-users/{mysqlUserId}/php-my-admin-url",
308
+ method: "GET",
309
+ operationId: "database-get-mysql-user-php-my-admin-url"
310
+ };
311
+ var databaseListMysqlCharsets = {
312
+ path: "/v2/mysql-charsets",
313
+ method: "GET",
314
+ operationId: "database-list-mysql-charsets"
315
+ };
316
+ var databaseListMysqlVersions = {
317
+ path: "/v2/mysql-versions",
318
+ method: "GET",
319
+ operationId: "database-list-mysql-versions"
320
+ };
321
+ var databaseListRedisVersions = {
322
+ path: "/v2/redis-versions",
323
+ method: "GET",
324
+ operationId: "database-list-redis-versions"
325
+ };
326
+ var dnsGetDnsZone = {
327
+ path: "/v2/dns-zones/{dnsZoneId}",
328
+ method: "GET",
329
+ operationId: "dns-get-dns-zone"
330
+ };
331
+ var dnsListDnsZones = {
332
+ path: "/v2/projects/{projectId}/dns-zones",
333
+ method: "GET",
334
+ operationId: "dns-list-dns-zones"
335
+ };
336
+ var domainGetDomain = {
337
+ path: "/v2/domains/{domainId}",
338
+ method: "GET",
339
+ operationId: "domain-get-domain"
340
+ };
341
+ var domainGetDomainOwnership = {
342
+ path: "/v2/domain-ownerships/{domainOwnershipId}",
343
+ method: "GET",
344
+ operationId: "domain-get-domain-ownership"
345
+ };
346
+ var domainGetScreenshotForDomain = {
347
+ path: "/v2/domains/{domainId}/screenshots/newest",
348
+ method: "GET",
349
+ operationId: "domain-get-screenshot-for-domain"
350
+ };
351
+ var domainListDomainOwnerships = {
352
+ path: "/v2/projects/{projectId}/domain-ownerships",
353
+ method: "GET",
354
+ operationId: "domain-list-domain-ownerships"
355
+ };
356
+ var domainListDomains = {
357
+ path: "/v2/projects/{projectId}/domains",
358
+ method: "GET",
359
+ operationId: "domain-list-domains"
360
+ };
361
+ var domainListTldContactSchemas = {
362
+ path: "/v2/domain-tlds/{tld}/contact-schemas",
363
+ method: "GET",
364
+ operationId: "domain-list-tld-contact-schemas"
365
+ };
366
+ var domainListTlds = {
367
+ path: "/v2/domain-tlds",
368
+ method: "GET",
369
+ operationId: "domain-list-tlds"
370
+ };
371
+ var fileGetFileMeta = {
372
+ path: "/v2/files/{fileId}/meta",
373
+ method: "GET",
374
+ operationId: "file-get-file-meta"
375
+ };
376
+ var fileGetFileTokenRules = {
377
+ path: "/v2/file-token-rules/{token}",
378
+ method: "GET",
379
+ operationId: "file-get-file-token-rules"
380
+ };
381
+ var fileGetFileTypeRules = {
382
+ path: "/v2/file-type-rules/{name}",
383
+ method: "GET",
384
+ operationId: "file-get-file-type-rules"
385
+ };
386
+ var fileGetFile = {
387
+ path: "/v2/files/{fileId}",
388
+ method: "GET",
389
+ operationId: "file-get-file"
390
+ };
391
+ var ingressGetSpecific = {
392
+ path: "/v2/ingresses/{ingressId}",
393
+ method: "GET",
394
+ operationId: "ingress-get-specific"
395
+ };
396
+ var ingressListAccessible = {
397
+ path: "/v2/ingresses",
398
+ method: "GET",
399
+ operationId: "ingress-list-accessible"
400
+ };
401
+ var ingressListForProject = {
402
+ path: "/v2/projects/{projectId}/ingresses",
403
+ method: "GET",
404
+ operationId: "ingress-list-for-project"
405
+ };
406
+ var invoiceDetailOfInvoice = {
407
+ path: "/v2/customers/{customerId}/invoices/{invoiceId}",
408
+ method: "GET",
409
+ operationId: "invoice-detail-of-invoice"
410
+ };
411
+ var invoiceGetDetailOfInvoiceSettings = {
412
+ path: "/v2/customers/{customerId}/invoice-settings",
413
+ method: "GET",
414
+ operationId: "invoice-get-detail-of-invoice-settings"
415
+ };
416
+ var invoiceListCustomerInvoices = {
417
+ path: "/v2/customers/{customerId}/invoices",
418
+ method: "GET",
419
+ operationId: "invoice-list-customer-invoices"
420
+ };
421
+ var mailListDeliveryBoxes = {
422
+ path: "/v2/projects/{projectId}/delivery-boxes",
423
+ method: "GET",
424
+ operationId: "mail-list-delivery-boxes"
425
+ };
426
+ var mailListMailAddresses = {
427
+ path: "/v2/projects/{projectId}/mail-addresses",
428
+ method: "GET",
429
+ operationId: "mail-list-mail-addresses"
430
+ };
431
+ var mailGetDeliveryBox = {
432
+ path: "/v2/delivery-boxes/{deliveryBoxId}",
433
+ method: "GET",
434
+ operationId: "mail-get-delivery-box"
435
+ };
436
+ var mailGetMailAddress = {
437
+ path: "/v2/mail-addresses/{mailAddressId}",
438
+ method: "GET",
439
+ operationId: "mail-get-mail-address"
440
+ };
441
+ var mailListProjectMailSettings = {
442
+ path: "/v2/projects/{projectId}/mail-settings",
443
+ method: "GET",
444
+ operationId: "mail-list-project-mail-settings"
445
+ };
446
+ var newsletterGetInfo = {
447
+ path: "/v2/newsletter-subscriptions/self",
448
+ method: "GET",
449
+ operationId: "newsletter-get-info"
450
+ };
451
+ var notificationsCountUnreadNotifications = {
452
+ path: "/v2/notifications/unread-counts",
453
+ method: "GET",
454
+ operationId: "notifications-count-unread-notifications"
455
+ };
456
+ var notificationsListNotifications = {
457
+ path: "/v2/notifications",
458
+ method: "GET",
459
+ operationId: "notifications-list-notifications"
460
+ };
461
+ var orderGetOrder = {
462
+ path: "/v2/orders/{orderId}",
463
+ method: "GET",
464
+ operationId: "order-get-order"
465
+ };
466
+ var orderListCustomerOrders = {
467
+ path: "/v2/customers/{customerId}/orders",
468
+ method: "GET",
469
+ operationId: "order-list-customer-orders"
470
+ };
471
+ var orderListProjectOrders = {
472
+ path: "/v2/projects/{projectId}/orders",
473
+ method: "GET",
474
+ operationId: "order-list-project-orders"
475
+ };
476
+ var pageinsightsGetPerformanceData = {
477
+ path: "/v2/pageinsights",
478
+ method: "GET",
479
+ operationId: "pageinsights-get-performance-data"
480
+ };
481
+ var pageinsightsListPerformanceDataForProject = {
482
+ path: "/v2/projects/{id}/pageinsights",
483
+ method: "GET",
484
+ operationId: "pageinsights-list-performance-data-for-project"
485
+ };
486
+ var passwordValidationGetPasswordPolicy = {
487
+ path: "/v2/password/policies/{path}",
488
+ method: "GET",
489
+ operationId: "password-validation-get-password-policy"
490
+ };
491
+ var projectGetProjectInvite = {
492
+ path: "/v2/project-invites/{inviteId}",
493
+ method: "GET",
494
+ operationId: "project-get-project-invite"
495
+ };
496
+ var projectGetProjectMembership = {
497
+ path: "/v2/project-memberships/{membershipId}",
498
+ method: "GET",
499
+ operationId: "project-get-project-membership"
500
+ };
501
+ var projectGetProject = {
502
+ path: "/v2/projects/{projectId}",
503
+ method: "GET",
504
+ operationId: "project-get-project"
505
+ };
506
+ var projectFileSystemGetDirectories = {
507
+ path: "/v2/projects/{projectId}/filesystem/directories",
508
+ method: "GET",
509
+ operationId: "project-file-system-get-directories"
510
+ };
511
+ var projectFileSystemGetDiskUsage = {
512
+ path: "/v2/projects/{projectId}/filesystem/usages/disk",
513
+ method: "GET",
514
+ operationId: "project-file-system-get-disk-usage"
515
+ };
516
+ var projectFileSystemGetFileContent = {
517
+ path: "/v2/projects/{projectId}/filesystem/files/raw",
518
+ method: "GET",
519
+ operationId: "project-file-system-get-file-content"
520
+ };
521
+ var projectFileSystemGetJwt = {
522
+ path: "/v2/projects/{projectId}/jwt",
523
+ method: "GET",
524
+ operationId: "project-file-system-get-jwt"
525
+ };
526
+ var projectFileSystemListFiles = {
527
+ path: "/v2/projects/{projectId}/filesystem/files",
528
+ method: "GET",
529
+ operationId: "project-file-system-list-files"
530
+ };
531
+ var projectGetProjectTokenInvite = {
532
+ path: "/v2/project-token-invite",
533
+ method: "GET",
534
+ operationId: "project-get-project-token-invite"
535
+ };
536
+ var projectGetSelfMembershipForProject = {
537
+ path: "/v2/projects/{projectId}/memberships/self",
538
+ method: "GET",
539
+ operationId: "project-get-self-membership-for-project"
540
+ };
541
+ var projectGetServer = {
542
+ path: "/v2/servers/{serverId}",
543
+ method: "GET",
544
+ operationId: "project-get-server"
545
+ };
546
+ var projectListInvitesForProject = {
547
+ path: "/v2/projects/{projectId}/invites",
548
+ method: "GET",
549
+ operationId: "project-list-invites-for-project"
550
+ };
551
+ var projectListMembershipsForProject = {
552
+ path: "/v2/projects/{projectId}/memberships",
553
+ method: "GET",
554
+ operationId: "project-list-memberships-for-project"
555
+ };
556
+ var projectListProjectInvites = {
557
+ path: "/v2/project-invites",
558
+ method: "GET",
559
+ operationId: "project-list-project-invites"
560
+ };
561
+ var projectListProjectMemberships = {
562
+ path: "/v2/project-memberships",
563
+ method: "GET",
564
+ operationId: "project-list-project-memberships"
565
+ };
566
+ var projectListProjects = {
567
+ path: "/v2/projects",
568
+ method: "GET",
569
+ operationId: "project-list-projects"
570
+ };
571
+ var projectListServers = {
572
+ path: "/v2/servers",
573
+ method: "GET",
574
+ operationId: "project-list-servers"
575
+ };
576
+ var sftpUserListSftpUsers = {
577
+ path: "/v2/projects/{projectId}/sftp-users",
578
+ method: "GET",
579
+ operationId: "sftp-user-list-sftp-users"
580
+ };
581
+ var sftpUserGetSftpUser = {
582
+ path: "/v2/sftp-users/{sftpUserId}",
583
+ method: "GET",
584
+ operationId: "sftp-user-get-sftp-user"
585
+ };
586
+ var sshUserListSshUsers = {
587
+ path: "/v2/projects/{projectId}/ssh-users",
588
+ method: "GET",
589
+ operationId: "ssh-user-list-ssh-users"
590
+ };
591
+ var sshUserGetSshUser = {
592
+ path: "/v2/ssh-users/{sshUserId}",
593
+ method: "GET",
594
+ operationId: "ssh-user-get-ssh-user"
595
+ };
596
+ var userGetOwnEmail = {
597
+ path: "/v2/users/self/credentials/email",
598
+ method: "GET",
599
+ operationId: "user-get-own-email"
600
+ };
601
+ var userGetMfaStatus = {
602
+ path: "/v2/users/self/credentials/mfa",
603
+ method: "GET",
604
+ operationId: "user-get-mfa-status"
605
+ };
606
+ var userListApiTokens = {
607
+ path: "/v2/users/self/api-tokens",
608
+ method: "GET",
609
+ operationId: "user-list-api-tokens"
610
+ };
611
+ var userListSshKeys = {
612
+ path: "/v2/users/self/ssh-keys",
613
+ method: "GET",
614
+ operationId: "user-list-ssh-keys"
615
+ };
616
+ var userGetApiToken = {
617
+ path: "/v2/users/self/api-tokens/{apiTokenId}",
618
+ method: "GET",
619
+ operationId: "user-get-api-token"
620
+ };
621
+ var userGetSshKey = {
622
+ path: "/v2/users/self/ssh-keys/{sshKeyId}",
623
+ method: "GET",
624
+ operationId: "user-get-ssh-key"
625
+ };
626
+ var userGetOwnAccount = {
627
+ path: "/v2/users/self/personal-information",
628
+ method: "GET",
629
+ operationId: "user-get-own-account"
630
+ };
631
+ var userGetPasswordUpdatedAt = {
632
+ path: "/v2/users/self/credentials/password-updated-at",
633
+ method: "GET",
634
+ operationId: "user-get-password-updated-at"
635
+ };
636
+ var userGetPersonalizedSettings = {
637
+ path: "/v2/users/{userId}/settings",
638
+ method: "GET",
639
+ operationId: "user-get-personalized-settings"
640
+ };
641
+ var userGetSession = {
642
+ path: "/v2/users/self/sessions/{tokenId}",
643
+ method: "GET",
644
+ operationId: "user-get-session"
645
+ };
646
+ var userGetUser = {
647
+ path: "/v2/users/{userId}",
648
+ method: "GET",
649
+ operationId: "user-get-user"
650
+ };
651
+ var userListFeedback = {
652
+ path: "/v2/users/{userId}/feedback",
653
+ method: "GET",
654
+ operationId: "user-list-feedback"
655
+ };
656
+ var userListSessions = {
657
+ path: "/v2/users/self/sessions",
658
+ method: "GET",
659
+ operationId: "user-list-sessions"
660
+ };
661
+ var userSupportCodeRequest = {
662
+ path: "/v2/users/self/credentials/support-code",
663
+ method: "GET",
664
+ operationId: "user-support-code-request"
665
+ };
666
+
667
+ // src/generated/v2/client-react.ts
668
+ __reExport(client_react_exports, require("@mittwald/react-use-promise"));
669
+ var buildAppApi = (baseClient) => ({
670
+ /** get a specific `App` */
671
+ getApp: new import_react.ApiCallAsyncResourceFactory(
672
+ appGetApp,
673
+ baseClient.app.getApp
674
+ ).getApiResource,
675
+ /** get a specific `AppInstallation` */
676
+ getAppinstallation: new import_react.ApiCallAsyncResourceFactory(
677
+ appGetAppinstallation,
678
+ baseClient.app.getAppinstallation
679
+ ).getApiResource,
680
+ /** get a specific `AppVersion` */
681
+ getAppversion: new import_react.ApiCallAsyncResourceFactory(
682
+ appGetAppversion,
683
+ baseClient.app.getAppversion
684
+ ).getApiResource,
685
+ /** get the missing requirements of an appInstallation for a specific target AppVersion */
686
+ getMissingDependenciesForAppinstallation: new import_react.ApiCallAsyncResourceFactory(
687
+ appGetMissingDependenciesForAppinstallation,
688
+ baseClient.app.getMissingDependenciesForAppinstallation
689
+ ).getApiResource,
690
+ /** get a specific `SystemSoftware` */
691
+ getSystemsoftware: new import_react.ApiCallAsyncResourceFactory(
692
+ appGetSystemsoftware,
693
+ baseClient.app.getSystemsoftware
694
+ ).getApiResource,
695
+ /** get a specific `SystemSoftwareVersion` */
696
+ getSystemsoftwareversion: new import_react.ApiCallAsyncResourceFactory(
697
+ appGetSystemsoftwareversion,
698
+ baseClient.app.getSystemsoftwareversion
699
+ ).getApiResource,
700
+ /** get all `AppInstallations` inside a specific `Project` */
701
+ listAppinstallations: new import_react.ApiCallAsyncResourceFactory(
702
+ appListAppinstallations,
703
+ baseClient.app.listAppinstallations
704
+ ).getApiResource,
705
+ /** get all available `Apps` */
706
+ listApps: new import_react.ApiCallAsyncResourceFactory(
707
+ appListApps,
708
+ baseClient.app.listApps
709
+ ).getApiResource,
710
+ /** get all `AppVersions` of a specific `App` */
711
+ listAppversions: new import_react.ApiCallAsyncResourceFactory(
712
+ appListAppversions,
713
+ baseClient.app.listAppversions
714
+ ).getApiResource,
715
+ /** get all available `SystemSoftware` */
716
+ listSystemsoftwares: new import_react.ApiCallAsyncResourceFactory(
717
+ appListSystemsoftwares,
718
+ baseClient.app.listSystemsoftwares
719
+ ).getApiResource,
720
+ /** get all available `SystemSoftwareVersions` of a specific `SystemSoftware` */
721
+ listSystemsoftwareversions: new import_react.ApiCallAsyncResourceFactory(
722
+ appListSystemsoftwareversions,
723
+ baseClient.app.listSystemsoftwareversions
724
+ ).getApiResource,
725
+ /** get all update candidates for a specific `AppVersion` */
726
+ listUpdateCandidatesForAppversion: new import_react.ApiCallAsyncResourceFactory(
727
+ appListUpdateCandidatesForAppversion,
728
+ baseClient.app.listUpdateCandidatesForAppversion
729
+ ).getApiResource,
730
+ /** get runtime status of a specific `AppInstallation` */
731
+ retrieveStatus: new import_react.ApiCallAsyncResourceFactory(
732
+ appRetrieveStatus,
733
+ baseClient.app.retrieveStatus
734
+ ).getApiResource
735
+ });
736
+ var buildArticleApi = (baseClient) => ({
737
+ /** Get an Article. */
738
+ getArticle: new import_react.ApiCallAsyncResourceFactory(
739
+ articleGetArticle,
740
+ baseClient.article.getArticle
741
+ ).getApiResource,
742
+ /** List Articles. */
743
+ listArticles: new import_react.ApiCallAsyncResourceFactory(
744
+ articleListArticles,
745
+ baseClient.article.listArticles
746
+ ).getApiResource
747
+ });
748
+ var buildBackupApi = (baseClient) => ({
749
+ /** List BackupSchedules belonging to a Project. */
750
+ listProjectBackupSchedules: new import_react.ApiCallAsyncResourceFactory(
751
+ backupListProjectBackupSchedules,
752
+ baseClient.backup.listProjectBackupSchedules
753
+ ).getApiResource,
754
+ /** List Backups belonging to a Project. */
755
+ listProjectBackups: new import_react.ApiCallAsyncResourceFactory(
756
+ backupListProjectBackups,
757
+ baseClient.backup.listProjectBackups
758
+ ).getApiResource,
759
+ /** Get a ProjectBackupSchedule. */
760
+ getProjectBackupSchedule: new import_react.ApiCallAsyncResourceFactory(
761
+ backupGetProjectBackupSchedule,
762
+ baseClient.backup.getProjectBackupSchedule
763
+ ).getApiResource,
764
+ /** Get a ProjectBackup. */
765
+ getProjectBackup: new import_react.ApiCallAsyncResourceFactory(
766
+ backupGetProjectBackup,
767
+ baseClient.backup.getProjectBackup
768
+ ).getApiResource
769
+ });
770
+ var buildContractApi = (baseClient) => ({
771
+ /** Return the BaseItem of the Contract with the given ID. */
772
+ getBaseItemOfContract: new import_react.ApiCallAsyncResourceFactory(
773
+ contractGetBaseItemOfContract,
774
+ baseClient.contract.getBaseItemOfContract
775
+ ).getApiResource,
776
+ /** Return the Contract for the given Domain. */
777
+ getDetailOfContractByDomain: new import_react.ApiCallAsyncResourceFactory(
778
+ contractGetDetailOfContractByDomain,
779
+ baseClient.contract.getDetailOfContractByDomain
780
+ ).getApiResource,
781
+ /** Return the Contract for the given Project. */
782
+ getDetailOfContractByProject: new import_react.ApiCallAsyncResourceFactory(
783
+ contractGetDetailOfContractByProject,
784
+ baseClient.contract.getDetailOfContractByProject
785
+ ).getApiResource,
786
+ /** Return the Contract for the given Server. */
787
+ getDetailOfContractByServer: new import_react.ApiCallAsyncResourceFactory(
788
+ contractGetDetailOfContractByServer,
789
+ baseClient.contract.getDetailOfContractByServer
790
+ ).getApiResource,
791
+ /** Get the ContractItem with the given ID. */
792
+ getDetailOfContractItem: new import_react.ApiCallAsyncResourceFactory(
793
+ contractGetDetailOfContractItem,
794
+ baseClient.contract.getDetailOfContractItem
795
+ ).getApiResource,
796
+ /** Returns the Contract with the given ID. */
797
+ getDetailOfContract: new import_react.ApiCallAsyncResourceFactory(
798
+ contractGetDetailOfContract,
799
+ baseClient.contract.getDetailOfContract
800
+ ).getApiResource,
801
+ /** Return the next TerminationDate for the ContractItem with the given ID. */
802
+ getNextTerminationDateForItem: new import_react.ApiCallAsyncResourceFactory(
803
+ contractGetNextTerminationDateForItem,
804
+ baseClient.contract.getNextTerminationDateForItem
805
+ ).getApiResource,
806
+ /** Return a list of Contracts for the given Customer. */
807
+ listContracts: new import_react.ApiCallAsyncResourceFactory(
808
+ contractListContracts,
809
+ baseClient.contract.listContracts
810
+ ).getApiResource,
811
+ /** Get details of an Invoice. */
812
+ invoiceDetailOfInvoice: new import_react.ApiCallAsyncResourceFactory(
813
+ invoiceDetailOfInvoice,
814
+ baseClient.contract.invoiceDetailOfInvoice
815
+ ).getApiResource,
816
+ /** Get InvoiceSettings of a Customer. */
817
+ invoiceGetDetailOfInvoiceSettings: new import_react.ApiCallAsyncResourceFactory(
818
+ invoiceGetDetailOfInvoiceSettings,
819
+ baseClient.contract.invoiceGetDetailOfInvoiceSettings
820
+ ).getApiResource,
821
+ /** List Invoices of a Customer. */
822
+ invoiceListCustomerInvoices: new import_react.ApiCallAsyncResourceFactory(
823
+ invoiceListCustomerInvoices,
824
+ baseClient.contract.invoiceListCustomerInvoices
825
+ ).getApiResource,
826
+ /** Get Order for Customer. */
827
+ orderGetOrder: new import_react.ApiCallAsyncResourceFactory(
828
+ orderGetOrder,
829
+ baseClient.contract.orderGetOrder
830
+ ).getApiResource,
831
+ /** Get list of Orders of a Customer. */
832
+ orderListCustomerOrders: new import_react.ApiCallAsyncResourceFactory(
833
+ orderListCustomerOrders,
834
+ baseClient.contract.orderListCustomerOrders
835
+ ).getApiResource,
836
+ /** Get list of Orders of a Project. */
837
+ orderListProjectOrders: new import_react.ApiCallAsyncResourceFactory(
838
+ orderListProjectOrders,
839
+ baseClient.contract.orderListProjectOrders
840
+ ).getApiResource
841
+ });
842
+ var buildConversationApi = (baseClient) => ({
843
+ /** Get all conversation the authenticated user has created or has access to. */
844
+ listConversations: new import_react.ApiCallAsyncResourceFactory(
845
+ conversationListConversations,
846
+ baseClient.conversation.listConversations
847
+ ).getApiResource,
848
+ /** Get all message of the conversation. */
849
+ listMessagesByConversation: new import_react.ApiCallAsyncResourceFactory(
850
+ conversationListMessagesByConversation,
851
+ baseClient.conversation.listMessagesByConversation
852
+ ).getApiResource,
853
+ /** Get a specific conversation category. */
854
+ getCategory: new import_react.ApiCallAsyncResourceFactory(
855
+ conversationGetCategory,
856
+ baseClient.conversation.getCategory
857
+ ).getApiResource,
858
+ /** Get a support conversation. */
859
+ getConversation: new import_react.ApiCallAsyncResourceFactory(
860
+ conversationGetConversation,
861
+ baseClient.conversation.getConversation
862
+ ).getApiResource,
863
+ /** Get all conversation categories. */
864
+ listCategories: new import_react.ApiCallAsyncResourceFactory(
865
+ conversationListCategories,
866
+ baseClient.conversation.listCategories
867
+ ).getApiResource
868
+ });
869
+ var buildCronjobApi = (baseClient) => ({
870
+ /** List Cronjobs belonging to a Project. */
871
+ listCronjobs: new import_react.ApiCallAsyncResourceFactory(
872
+ cronjobListCronjobs,
873
+ baseClient.cronjob.listCronjobs
874
+ ).getApiResource,
875
+ /** List CronjobExecutions belonging to a Cronjob. */
876
+ listExecutions: new import_react.ApiCallAsyncResourceFactory(
877
+ cronjobListExecutions,
878
+ baseClient.cronjob.listExecutions
879
+ ).getApiResource,
880
+ /** Get a Cronjob. */
881
+ getCronjob: new import_react.ApiCallAsyncResourceFactory(
882
+ cronjobGetCronjob,
883
+ baseClient.cronjob.getCronjob
884
+ ).getApiResource,
885
+ /** Get a CronjobExecution. */
886
+ getExecution: new import_react.ApiCallAsyncResourceFactory(
887
+ cronjobGetExecution,
888
+ baseClient.cronjob.getExecution
889
+ ).getApiResource
890
+ });
891
+ var buildCustomerApi = (baseClient) => ({
892
+ /** Get all customer categories. */
893
+ listOfCustomerCategories: new import_react.ApiCallAsyncResourceFactory(
894
+ customerListOfCustomerCategories,
895
+ baseClient.customer.listOfCustomerCategories
896
+ ).getApiResource,
897
+ /** Get all customer profiles the authenticated user has access to. */
898
+ listCustomers: new import_react.ApiCallAsyncResourceFactory(
899
+ customerListCustomers,
900
+ baseClient.customer.listCustomers
901
+ ).getApiResource,
902
+ /** Get a customer category. */
903
+ getCustomerCategory: new import_react.ApiCallAsyncResourceFactory(
904
+ customerGetCustomerCategory,
905
+ baseClient.customer.getCustomerCategory
906
+ ).getApiResource,
907
+ /** Get a CustomerInvite. */
908
+ getCustomerInvite: new import_react.ApiCallAsyncResourceFactory(
909
+ customerGetCustomerInvite,
910
+ baseClient.customer.getCustomerInvite
911
+ ).getApiResource,
912
+ /** Get a CustomerMembership. */
913
+ getCustomerMembership: new import_react.ApiCallAsyncResourceFactory(
914
+ customerGetCustomerMembership,
915
+ baseClient.customer.getCustomerMembership
916
+ ).getApiResource,
917
+ /** Get a customer profile. */
918
+ getCustomer: new import_react.ApiCallAsyncResourceFactory(
919
+ customerGetCustomer,
920
+ baseClient.customer.getCustomer
921
+ ).getApiResource,
922
+ /** Get a CustomerInvite by token. */
923
+ getCustomerTokenInvite: new import_react.ApiCallAsyncResourceFactory(
924
+ customerGetCustomerTokenInvite,
925
+ baseClient.customer.getCustomerTokenInvite
926
+ ).getApiResource,
927
+ /** Check if the customer profile has a valid contract partner configured. */
928
+ isCustomerLegallyCompetent: new import_react.ApiCallAsyncResourceFactory(
929
+ customerIsCustomerLegallyCompetent,
930
+ baseClient.customer.isCustomerLegallyCompetent
931
+ ).getApiResource,
932
+ /** List CustomerInvites belonging to the executing user. */
933
+ listCustomerInvites: new import_react.ApiCallAsyncResourceFactory(
934
+ customerListCustomerInvites,
935
+ baseClient.customer.listCustomerInvites
936
+ ).getApiResource,
937
+ /** List CustomerMemberships belonging to the executing user. */
938
+ listCustomerMemberships: new import_react.ApiCallAsyncResourceFactory(
939
+ customerListCustomerMemberships,
940
+ baseClient.customer.listCustomerMemberships
941
+ ).getApiResource,
942
+ /** List Invites belonging to a Customer. */
943
+ listInvitesForCustomer: new import_react.ApiCallAsyncResourceFactory(
944
+ customerListInvitesForCustomer,
945
+ baseClient.customer.listInvitesForCustomer
946
+ ).getApiResource,
947
+ /** List Memberships belonging to a Customer. */
948
+ listMembershipsForCustomer: new import_react.ApiCallAsyncResourceFactory(
949
+ customerListMembershipsForCustomer,
950
+ baseClient.customer.listMembershipsForCustomer
951
+ ).getApiResource
952
+ });
953
+ var buildDatabaseApi = (baseClient) => ({
954
+ /** List MySQLDatabases belonging to a Project. */
955
+ listMysqlDatabases: new import_react.ApiCallAsyncResourceFactory(
956
+ databaseListMysqlDatabases,
957
+ baseClient.database.listMysqlDatabases
958
+ ).getApiResource,
959
+ /** List MySQLUsers belonging to a Database. */
960
+ listMysqlUsers: new import_react.ApiCallAsyncResourceFactory(
961
+ databaseListMysqlUsers,
962
+ baseClient.database.listMysqlUsers
963
+ ).getApiResource,
964
+ /** List RedisDatabases belonging to a Project. */
965
+ listRedisDatabases: new import_react.ApiCallAsyncResourceFactory(
966
+ databaseListRedisDatabases,
967
+ baseClient.database.listRedisDatabases
968
+ ).getApiResource,
969
+ /** Get a MySQLDatabase. */
970
+ getMysqlDatabase: new import_react.ApiCallAsyncResourceFactory(
971
+ databaseGetMysqlDatabase,
972
+ baseClient.database.getMysqlDatabase
973
+ ).getApiResource,
974
+ /** Get a MySQLUser. */
975
+ getMysqlUser: new import_react.ApiCallAsyncResourceFactory(
976
+ databaseGetMysqlUser,
977
+ baseClient.database.getMysqlUser
978
+ ).getApiResource,
979
+ /** Get a RedisDatabase. */
980
+ getRedisDatabase: new import_react.ApiCallAsyncResourceFactory(
981
+ databaseGetRedisDatabase,
982
+ baseClient.database.getRedisDatabase
983
+ ).getApiResource,
984
+ /** Get a MySQLUser's PhpMyAdmin-URL. */
985
+ getMysqlUserPhpMyAdminUrl: new import_react.ApiCallAsyncResourceFactory(
986
+ databaseGetMysqlUserPhpMyAdminUrl,
987
+ baseClient.database.getMysqlUserPhpMyAdminUrl
988
+ ).getApiResource,
989
+ /** List available MySQL character sets and collations, optionally filtered by a MySQLVersion. */
990
+ listMysqlCharsets: new import_react.ApiCallAsyncResourceFactory(
991
+ databaseListMysqlCharsets,
992
+ baseClient.database.listMysqlCharsets
993
+ ).getApiResource,
994
+ /** List MySQLVersions. */
995
+ listMysqlVersions: new import_react.ApiCallAsyncResourceFactory(
996
+ databaseListMysqlVersions,
997
+ baseClient.database.listMysqlVersions
998
+ ).getApiResource,
999
+ /** List RedisVersions. */
1000
+ listRedisVersions: new import_react.ApiCallAsyncResourceFactory(
1001
+ databaseListRedisVersions,
1002
+ baseClient.database.listRedisVersions
1003
+ ).getApiResource
1004
+ });
1005
+ var buildDomainApi = (baseClient) => ({
1006
+ /** Get a DNSZone. */
1007
+ dnsGetDnsZone: new import_react.ApiCallAsyncResourceFactory(
1008
+ dnsGetDnsZone,
1009
+ baseClient.domain.dnsGetDnsZone
1010
+ ).getApiResource,
1011
+ /** List DNSZones belonging to a Project. */
1012
+ dnsListDnsZones: new import_react.ApiCallAsyncResourceFactory(
1013
+ dnsListDnsZones,
1014
+ baseClient.domain.dnsListDnsZones
1015
+ ).getApiResource,
1016
+ /** Get a Domain. */
1017
+ getDomain: new import_react.ApiCallAsyncResourceFactory(
1018
+ domainGetDomain,
1019
+ baseClient.domain.getDomain
1020
+ ).getApiResource,
1021
+ /** Get a DomainOwnership. */
1022
+ getDomainOwnership: new import_react.ApiCallAsyncResourceFactory(
1023
+ domainGetDomainOwnership,
1024
+ baseClient.domain.getDomainOwnership
1025
+ ).getApiResource,
1026
+ /** Get File Service Reference for a Screenshot of a domain. */
1027
+ getScreenshotForDomain: new import_react.ApiCallAsyncResourceFactory(
1028
+ domainGetScreenshotForDomain,
1029
+ baseClient.domain.getScreenshotForDomain
1030
+ ).getApiResource,
1031
+ /** List the DomainOwnerships of a project. */
1032
+ listDomainOwnerships: new import_react.ApiCallAsyncResourceFactory(
1033
+ domainListDomainOwnerships,
1034
+ baseClient.domain.listDomainOwnerships
1035
+ ).getApiResource,
1036
+ /** List Domains belonging to a Project. */
1037
+ listDomains: new import_react.ApiCallAsyncResourceFactory(
1038
+ domainListDomains,
1039
+ baseClient.domain.listDomains
1040
+ ).getApiResource,
1041
+ /** List the contact schemas for a TLD. */
1042
+ listTldContactSchemas: new import_react.ApiCallAsyncResourceFactory(
1043
+ domainListTldContactSchemas,
1044
+ baseClient.domain.listTldContactSchemas
1045
+ ).getApiResource,
1046
+ /** List TLDs. */
1047
+ listTlds: new import_react.ApiCallAsyncResourceFactory(
1048
+ domainListTlds,
1049
+ baseClient.domain.listTlds
1050
+ ).getApiResource,
1051
+ /** Get an Ingress. */
1052
+ ingressGetSpecific: new import_react.ApiCallAsyncResourceFactory(
1053
+ ingressGetSpecific,
1054
+ baseClient.domain.ingressGetSpecific
1055
+ ).getApiResource,
1056
+ /** List Ingresses the user has access to. */
1057
+ ingressListAccessible: new import_react.ApiCallAsyncResourceFactory(
1058
+ ingressListAccessible,
1059
+ baseClient.domain.ingressListAccessible
1060
+ ).getApiResource,
1061
+ /** List Ingresses belonging to a project. */
1062
+ ingressListForProject: new import_react.ApiCallAsyncResourceFactory(
1063
+ ingressListForProject,
1064
+ baseClient.domain.ingressListForProject
1065
+ ).getApiResource
1066
+ });
1067
+ var buildFileApi = (baseClient) => ({
1068
+ /** Get a File's meta. */
1069
+ getFileMeta: new import_react.ApiCallAsyncResourceFactory(
1070
+ fileGetFileMeta,
1071
+ baseClient.file.getFileMeta
1072
+ ).getApiResource,
1073
+ /** Get a Token's upload rules. */
1074
+ getFileTokenRules: new import_react.ApiCallAsyncResourceFactory(
1075
+ fileGetFileTokenRules,
1076
+ baseClient.file.getFileTokenRules
1077
+ ).getApiResource,
1078
+ /** Get a Type's upload rules. */
1079
+ getFileTypeRules: new import_react.ApiCallAsyncResourceFactory(
1080
+ fileGetFileTypeRules,
1081
+ baseClient.file.getFileTypeRules
1082
+ ).getApiResource,
1083
+ /** Get a File. */
1084
+ getFile: new import_react.ApiCallAsyncResourceFactory(
1085
+ fileGetFile,
1086
+ baseClient.file.getFile
1087
+ ).getApiResource
1088
+ });
1089
+ var buildMailApi = (baseClient) => ({
1090
+ /** List DeliveryBoxes belonging to a Project. */
1091
+ listDeliveryBoxes: new import_react.ApiCallAsyncResourceFactory(
1092
+ mailListDeliveryBoxes,
1093
+ baseClient.mail.listDeliveryBoxes
1094
+ ).getApiResource,
1095
+ /** List MailAddresses belonging to a Project. */
1096
+ listMailAddresses: new import_react.ApiCallAsyncResourceFactory(
1097
+ mailListMailAddresses,
1098
+ baseClient.mail.listMailAddresses
1099
+ ).getApiResource,
1100
+ /** Get a DeliveryBox. */
1101
+ getDeliveryBox: new import_react.ApiCallAsyncResourceFactory(
1102
+ mailGetDeliveryBox,
1103
+ baseClient.mail.getDeliveryBox
1104
+ ).getApiResource,
1105
+ /** Get a MailAddress. */
1106
+ getMailAddress: new import_react.ApiCallAsyncResourceFactory(
1107
+ mailGetMailAddress,
1108
+ baseClient.mail.getMailAddress
1109
+ ).getApiResource,
1110
+ /** List mail settings of a Project. */
1111
+ listProjectMailSettings: new import_react.ApiCallAsyncResourceFactory(
1112
+ mailListProjectMailSettings,
1113
+ baseClient.mail.listProjectMailSettings
1114
+ ).getApiResource
1115
+ });
1116
+ var buildNotificationApi = (baseClient) => ({
1117
+ /** Getting the subscription status of the subscription. */
1118
+ newsletterGetInfo: new import_react.ApiCallAsyncResourceFactory(
1119
+ newsletterGetInfo,
1120
+ baseClient.notification.newsletterGetInfo
1121
+ ).getApiResource,
1122
+ /** Get the counts for unread notifications of the user. */
1123
+ scountUnreadNotifications: new import_react.ApiCallAsyncResourceFactory(
1124
+ notificationsCountUnreadNotifications,
1125
+ baseClient.notification.scountUnreadNotifications
1126
+ ).getApiResource,
1127
+ /** List all unread notifications. */
1128
+ slistNotifications: new import_react.ApiCallAsyncResourceFactory(
1129
+ notificationsListNotifications,
1130
+ baseClient.notification.slistNotifications
1131
+ ).getApiResource
1132
+ });
1133
+ var buildPageInsightsApi = (baseClient) => ({
1134
+ /** Get detailed performance data for a given domain and path. */
1135
+ pageinsightsGetPerformanceData: new import_react.ApiCallAsyncResourceFactory(
1136
+ pageinsightsGetPerformanceData,
1137
+ baseClient.pageInsights.pageinsightsGetPerformanceData
1138
+ ).getApiResource,
1139
+ /** List websites (specified as domain and path) from a project where performance data is available. */
1140
+ pageinsightsListPerformanceDataForProject: new import_react.ApiCallAsyncResourceFactory(
1141
+ pageinsightsListPerformanceDataForProject,
1142
+ baseClient.pageInsights.pageinsightsListPerformanceDataForProject
1143
+ ).getApiResource
1144
+ });
1145
+ var buildUserApi = (baseClient) => ({
1146
+ /** Get a password policy. */
1147
+ passwordValidationGetPasswordPolicy: new import_react.ApiCallAsyncResourceFactory(
1148
+ passwordValidationGetPasswordPolicy,
1149
+ baseClient.user.passwordValidationGetPasswordPolicy
1150
+ ).getApiResource,
1151
+ /** Get your verified Email-Address. */
1152
+ getOwnEmail: new import_react.ApiCallAsyncResourceFactory(
1153
+ userGetOwnEmail,
1154
+ baseClient.user.getOwnEmail
1155
+ ).getApiResource,
1156
+ /** Get your current multi factor auth status. */
1157
+ getMfaStatus: new import_react.ApiCallAsyncResourceFactory(
1158
+ userGetMfaStatus,
1159
+ baseClient.user.getMfaStatus
1160
+ ).getApiResource,
1161
+ /** List all of your ApiTokens. */
1162
+ listApiTokens: new import_react.ApiCallAsyncResourceFactory(
1163
+ userListApiTokens,
1164
+ baseClient.user.listApiTokens
1165
+ ).getApiResource,
1166
+ /** Get your stored ssh-keys. */
1167
+ listSshKeys: new import_react.ApiCallAsyncResourceFactory(
1168
+ userListSshKeys,
1169
+ baseClient.user.listSshKeys
1170
+ ).getApiResource,
1171
+ /** Get a specific ApiToken. */
1172
+ getApiToken: new import_react.ApiCallAsyncResourceFactory(
1173
+ userGetApiToken,
1174
+ baseClient.user.getApiToken
1175
+ ).getApiResource,
1176
+ /** Get a specific stored ssh-key. */
1177
+ getSshKey: new import_react.ApiCallAsyncResourceFactory(
1178
+ userGetSshKey,
1179
+ baseClient.user.getSshKey
1180
+ ).getApiResource,
1181
+ /** Get your account information. */
1182
+ getOwnAccount: new import_react.ApiCallAsyncResourceFactory(
1183
+ userGetOwnAccount,
1184
+ baseClient.user.getOwnAccount
1185
+ ).getApiResource,
1186
+ /** The timestamp of your latest password change. */
1187
+ getPasswordUpdatedAt: new import_react.ApiCallAsyncResourceFactory(
1188
+ userGetPasswordUpdatedAt,
1189
+ baseClient.user.getPasswordUpdatedAt
1190
+ ).getApiResource,
1191
+ /** Get personalized settings. */
1192
+ getPersonalizedSettings: new import_react.ApiCallAsyncResourceFactory(
1193
+ userGetPersonalizedSettings,
1194
+ baseClient.user.getPersonalizedSettings
1195
+ ).getApiResource,
1196
+ /** Get a specific session. */
1197
+ getSession: new import_react.ApiCallAsyncResourceFactory(
1198
+ userGetSession,
1199
+ baseClient.user.getSession
1200
+ ).getApiResource,
1201
+ /** Get profile information for a user. */
1202
+ getUser: new import_react.ApiCallAsyncResourceFactory(
1203
+ userGetUser,
1204
+ baseClient.user.getUser
1205
+ ).getApiResource,
1206
+ /** Submitted feedback of the given user. */
1207
+ listFeedback: new import_react.ApiCallAsyncResourceFactory(
1208
+ userListFeedback,
1209
+ baseClient.user.listFeedback
1210
+ ).getApiResource,
1211
+ /** List all sessions. */
1212
+ listSessions: new import_react.ApiCallAsyncResourceFactory(
1213
+ userListSessions,
1214
+ baseClient.user.listSessions
1215
+ ).getApiResource,
1216
+ /** Request a support code. */
1217
+ supportCodeRequest: new import_react.ApiCallAsyncResourceFactory(
1218
+ userSupportCodeRequest,
1219
+ baseClient.user.supportCodeRequest
1220
+ ).getApiResource
1221
+ });
1222
+ var buildProjectApi = (baseClient) => ({
1223
+ /** Get a ProjectInvite. */
1224
+ getProjectInvite: new import_react.ApiCallAsyncResourceFactory(
1225
+ projectGetProjectInvite,
1226
+ baseClient.project.getProjectInvite
1227
+ ).getApiResource,
1228
+ /** Get a ProjectMembership */
1229
+ getProjectMembership: new import_react.ApiCallAsyncResourceFactory(
1230
+ projectGetProjectMembership,
1231
+ baseClient.project.getProjectMembership
1232
+ ).getApiResource,
1233
+ /** Get a Project. */
1234
+ getProject: new import_react.ApiCallAsyncResourceFactory(
1235
+ projectGetProject,
1236
+ baseClient.project.getProject
1237
+ ).getApiResource,
1238
+ /** Get a ProjectInvite by token. */
1239
+ getProjectTokenInvite: new import_react.ApiCallAsyncResourceFactory(
1240
+ projectGetProjectTokenInvite,
1241
+ baseClient.project.getProjectTokenInvite
1242
+ ).getApiResource,
1243
+ /** Get the executing user's membership in a Project. */
1244
+ getSelfMembershipForProject: new import_react.ApiCallAsyncResourceFactory(
1245
+ projectGetSelfMembershipForProject,
1246
+ baseClient.project.getSelfMembershipForProject
1247
+ ).getApiResource,
1248
+ /** Get a Server. */
1249
+ getServer: new import_react.ApiCallAsyncResourceFactory(
1250
+ projectGetServer,
1251
+ baseClient.project.getServer
1252
+ ).getApiResource,
1253
+ /** List Invites belonging to a Project. */
1254
+ listInvitesForProject: new import_react.ApiCallAsyncResourceFactory(
1255
+ projectListInvitesForProject,
1256
+ baseClient.project.listInvitesForProject
1257
+ ).getApiResource,
1258
+ /** List Memberships belonging to a Project. */
1259
+ listMembershipsForProject: new import_react.ApiCallAsyncResourceFactory(
1260
+ projectListMembershipsForProject,
1261
+ baseClient.project.listMembershipsForProject
1262
+ ).getApiResource,
1263
+ /** List ProjectInvites belonging to the executing user. */
1264
+ listProjectInvites: new import_react.ApiCallAsyncResourceFactory(
1265
+ projectListProjectInvites,
1266
+ baseClient.project.listProjectInvites
1267
+ ).getApiResource,
1268
+ /** List ProjectMemberships belonging to the executing user. */
1269
+ listProjectMemberships: new import_react.ApiCallAsyncResourceFactory(
1270
+ projectListProjectMemberships,
1271
+ baseClient.project.listProjectMemberships
1272
+ ).getApiResource,
1273
+ /** List Projects belonging to the executing user. */
1274
+ listProjects: new import_react.ApiCallAsyncResourceFactory(
1275
+ projectListProjects,
1276
+ baseClient.project.listProjects
1277
+ ).getApiResource,
1278
+ /** List Servers belonging to the executing user. */
1279
+ listServers: new import_react.ApiCallAsyncResourceFactory(
1280
+ projectListServers,
1281
+ baseClient.project.listServers
1282
+ ).getApiResource
1283
+ });
1284
+ var buildProjectFileSystemApi = (baseClient) => ({
1285
+ /** List directories belonging to a Project. */
1286
+ getDirectories: new import_react.ApiCallAsyncResourceFactory(
1287
+ projectFileSystemGetDirectories,
1288
+ baseClient.projectFileSystem.getDirectories
1289
+ ).getApiResource,
1290
+ /** Get a Project directory filesystem usage. */
1291
+ getDiskUsage: new import_react.ApiCallAsyncResourceFactory(
1292
+ projectFileSystemGetDiskUsage,
1293
+ baseClient.projectFileSystem.getDiskUsage
1294
+ ).getApiResource,
1295
+ /** Get a Project file's content. */
1296
+ getFileContent: new import_react.ApiCallAsyncResourceFactory(
1297
+ projectFileSystemGetFileContent,
1298
+ baseClient.projectFileSystem.getFileContent
1299
+ ).getApiResource,
1300
+ /** Get a Project's file/filesystem authorization token. */
1301
+ getJwt: new import_react.ApiCallAsyncResourceFactory(
1302
+ projectFileSystemGetJwt,
1303
+ baseClient.projectFileSystem.getJwt
1304
+ ).getApiResource,
1305
+ /** Get a Project file's information. */
1306
+ listFiles: new import_react.ApiCallAsyncResourceFactory(
1307
+ projectFileSystemListFiles,
1308
+ baseClient.projectFileSystem.listFiles
1309
+ ).getApiResource
1310
+ });
1311
+ var buildSshsftpUserApi = (baseClient) => ({
1312
+ /** Get all SFTPUsers for a Project. */
1313
+ sftpUserListSftpUsers: new import_react.ApiCallAsyncResourceFactory(
1314
+ sftpUserListSftpUsers,
1315
+ baseClient.sshsftpUser.sftpUserListSftpUsers
1316
+ ).getApiResource,
1317
+ /** Get an SFTPUser. */
1318
+ sftpUserGetSftpUser: new import_react.ApiCallAsyncResourceFactory(
1319
+ sftpUserGetSftpUser,
1320
+ baseClient.sshsftpUser.sftpUserGetSftpUser
1321
+ ).getApiResource,
1322
+ /** Get all SSHUsers for a Project. */
1323
+ sshUserListSshUsers: new import_react.ApiCallAsyncResourceFactory(
1324
+ sshUserListSshUsers,
1325
+ baseClient.sshsftpUser.sshUserListSshUsers
1326
+ ).getApiResource,
1327
+ /** Get an SSHUser. */
1328
+ sshUserGetSshUser: new import_react.ApiCallAsyncResourceFactory(
1329
+ sshUserGetSshUser,
1330
+ baseClient.sshsftpUser.sshUserGetSshUser
1331
+ ).getApiResource
1332
+ });
1333
+ var MittwaldAPIV2ClientReact = class _MittwaldAPIV2ClientReact {
1334
+ constructor(baseClient) {
1335
+ this.app = buildAppApi(baseClient);
1336
+ this.article = buildArticleApi(baseClient);
1337
+ this.backup = buildBackupApi(baseClient);
1338
+ this.contract = buildContractApi(baseClient);
1339
+ this.conversation = buildConversationApi(baseClient);
1340
+ this.cronjob = buildCronjobApi(baseClient);
1341
+ this.customer = buildCustomerApi(baseClient);
1342
+ this.database = buildDatabaseApi(baseClient);
1343
+ this.domain = buildDomainApi(baseClient);
1344
+ this.file = buildFileApi(baseClient);
1345
+ this.mail = buildMailApi(baseClient);
1346
+ this.notification = buildNotificationApi(baseClient);
1347
+ this.pageInsights = buildPageInsightsApi(baseClient);
1348
+ this.user = buildUserApi(baseClient);
1349
+ this.project = buildProjectApi(baseClient);
1350
+ this.projectFileSystem = buildProjectFileSystemApi(baseClient);
1351
+ this.sshsftpUser = buildSshsftpUserApi(baseClient);
1352
+ }
1353
+ static fromBaseClient(baseClient) {
1354
+ return new _MittwaldAPIV2ClientReact(baseClient);
1355
+ }
1356
+ };
1357
+ // Annotate the CommonJS export names for ESM import in node:
1358
+ 0 && (module.exports = {
1359
+ MittwaldAPIV2ClientReact
1360
+ });