@mittwald/api-client 4.474.0 → 4.476.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -742,6 +742,12 @@ export const contributorGetLoginLink = {
742
742
  method: "GET",
743
743
  operationId: "contributor-get-login-link",
744
744
  };
745
+ /** Get a specific OAuth2 client. */
746
+ export const contributorGetOauthClient = {
747
+ path: "/v3-next/oauth2/clients/{oauthClientId}",
748
+ method: "GET",
749
+ operationId: "contributor-get-oauth-client",
750
+ };
745
751
  /** List ContractPartners of the contributor. */
746
752
  export const contributorListContractPartnersOfContributor = {
747
753
  path: "/v3-next/contributors/{contributorId}/contract-partners",
@@ -1282,6 +1288,30 @@ export const userUpdateAccount = {
1282
1288
  method: "PUT",
1283
1289
  operationId: "user-update-account",
1284
1290
  };
1291
+ /** List DNS zone-file import jobs belonging to a Project. */
1292
+ export const dnsListDnsZoneFileImports = {
1293
+ path: "/v3-next/projects/{projectId}/dns-zone-imports",
1294
+ method: "GET",
1295
+ operationId: "dns-list-dns-zone-file-imports",
1296
+ };
1297
+ /** Import a DNS zone file into a Project, or preview it with dry-run. */
1298
+ export const dnsCreateDnsZoneFileImport = {
1299
+ path: "/v3-next/projects/{projectId}/dns-zone-imports",
1300
+ method: "POST",
1301
+ operationId: "dns-create-dns-zone-file-import",
1302
+ };
1303
+ /** List DNSZones belonging to a Project. */
1304
+ export const dnsListDnsZones = {
1305
+ path: "/v3-next/projects/{projectId}/dns-zones",
1306
+ method: "GET",
1307
+ operationId: "dns-list-dns-zones",
1308
+ };
1309
+ /** Create a DNSZone for a verified Ingress in a Project. */
1310
+ export const dnsCreateProjectDnsZone = {
1311
+ path: "/v3-next/projects/{projectId}/dns-zones",
1312
+ method: "POST",
1313
+ operationId: "dns-create-project-dns-zone",
1314
+ };
1285
1315
  /** Get a DNSZone. */
1286
1316
  export const dnsGetDnsZone = {
1287
1317
  path: "/v3-next/dns-zones/{dnsZoneId}",
@@ -1294,24 +1324,18 @@ export const dnsDeleteDnsZone = {
1294
1324
  method: "DELETE",
1295
1325
  operationId: "dns-delete-dns-zone",
1296
1326
  };
1327
+ /** Get the status of a DNS zone-file import job. */
1328
+ export const dnsGetDnsZoneFileImport = {
1329
+ path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
1330
+ method: "GET",
1331
+ operationId: "dns-get-dns-zone-file-import",
1332
+ };
1297
1333
  /** Get a zone file for a DNSZone. */
1298
1334
  export const dnsGetZoneFile = {
1299
1335
  path: "/v3-next/dns-zones/{dnsZoneId}/zone-file",
1300
1336
  method: "GET",
1301
1337
  operationId: "dns-get-zone-file",
1302
1338
  };
1303
- /** List DNSZones belonging to a Project. */
1304
- export const dnsListDnsZones = {
1305
- path: "/v3-next/projects/{projectId}/dns-zones",
1306
- method: "GET",
1307
- operationId: "dns-list-dns-zones",
1308
- };
1309
- /** Create a DNSZone for a verified Ingress in a Project. */
1310
- export const dnsCreateProjectDnsZone = {
1311
- path: "/v3-next/projects/{projectId}/dns-zones",
1312
- method: "POST",
1313
- operationId: "dns-create-project-dns-zone",
1314
- };
1315
1339
  /** Set a record set on a DNSZone to managed. */
1316
1340
  export const dnsSetRecordSetManaged = {
1317
1341
  path: "/v3-next/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
@@ -2524,30 +2548,6 @@ export const sslListCertificates = {
2524
2548
  method: "GET",
2525
2549
  operationId: "ssl-list-certificates",
2526
2550
  };
2527
- /** Get storage space Statistics belonging to a Project. */
2528
- export const storagespaceGetProjectStatistics = {
2529
- path: "/v3-next/projects/{projectId}/storage-space-statistics",
2530
- method: "GET",
2531
- operationId: "storagespace-get-project-statistics",
2532
- };
2533
- /** Update a Project's storage space statistics. */
2534
- export const storagespaceUpdateProjectStatistics = {
2535
- path: "/v3-next/projects/{projectId}/storage-space-statistics",
2536
- method: "PATCH",
2537
- operationId: "storagespace-update-project-statistics",
2538
- };
2539
- /** Get storage space Statistics belonging to a Server. */
2540
- export const storagespaceGetServerStatistics = {
2541
- path: "/v3-next/servers/{serverId}/storage-space-statistics",
2542
- method: "GET",
2543
- operationId: "storagespace-get-server-statistics",
2544
- };
2545
- /** Update a Server's storage space statistics. */
2546
- export const storagespaceUpdateServerStatistics = {
2547
- path: "/v3-next/servers/{serverId}/storage-space-statistics",
2548
- method: "PATCH",
2549
- operationId: "storagespace-update-server-statistics",
2550
- };
2551
2551
  /** Add phone number and start verification process. */
2552
2552
  export const userAddPhoneNumber = {
2553
2553
  path: "/v3-next/users/{userId}/phone",
@@ -2848,6 +2848,12 @@ export const userResendVerificationEmail = {
2848
2848
  method: "POST",
2849
2849
  operationId: "user-resend-verification-email",
2850
2850
  };
2851
+ /** Check if a password is leaked. */
2852
+ export const userSearchedLeakedPasswordsByRange = {
2853
+ path: "/v3-next/leaked-passwords/{passwordHashPrefix}",
2854
+ method: "GET",
2855
+ operationId: "user-searched-leaked-passwords-by-range",
2856
+ };
2851
2857
  /** Submit your spotlight usage. */
2852
2858
  export const userSpotlightFeedback = {
2853
2859
  path: "/v3-next/users/self/spotlights/{spotlightId}/feedback",
@@ -2896,33 +2902,27 @@ export const verificationVerifyCompany = {
2896
2902
  method: "POST",
2897
2903
  operationId: "verification-verify-company",
2898
2904
  };
2899
- /** Get a specific OAuth2 client. */
2900
- export const contributorGetOauthClient = {
2901
- path: "/v3-next/oauth2/clients/{oauthClientId}",
2905
+ /** Get storage space Statistics belonging to a Server. */
2906
+ export const storagespaceGetServerStatistics = {
2907
+ path: "/v3-next/servers/{serverId}/storage-space-statistics",
2902
2908
  method: "GET",
2903
- operationId: "contributor-get-oauth-client",
2909
+ operationId: "storagespace-get-server-statistics",
2904
2910
  };
2905
- /** Check if a password is leaked. */
2906
- export const userSearchedLeakedPasswordsByRange = {
2907
- path: "/v3-next/leaked-passwords/{passwordHashPrefix}",
2908
- method: "GET",
2909
- operationId: "user-searched-leaked-passwords-by-range",
2911
+ /** Update a Server's storage space statistics. */
2912
+ export const storagespaceUpdateServerStatistics = {
2913
+ path: "/v3-next/servers/{serverId}/storage-space-statistics",
2914
+ method: "PATCH",
2915
+ operationId: "storagespace-update-server-statistics",
2910
2916
  };
2911
- /** List DNS zone-file import jobs belonging to a Project. */
2912
- export const dnsListDnsZoneFileImports = {
2913
- path: "/v3-next/projects/{projectId}/dns-zone-imports",
2917
+ /** Get storage space Statistics belonging to a Project. */
2918
+ export const storagespaceGetProjectStatistics = {
2919
+ path: "/v3-next/projects/{projectId}/storage-space-statistics",
2914
2920
  method: "GET",
2915
- operationId: "dns-list-dns-zone-file-imports",
2916
- };
2917
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
2918
- export const dnsCreateDnsZoneFileImport = {
2919
- path: "/v3-next/projects/{projectId}/dns-zone-imports",
2920
- method: "POST",
2921
- operationId: "dns-create-dns-zone-file-import",
2921
+ operationId: "storagespace-get-project-statistics",
2922
2922
  };
2923
- /** Get the status of a DNS zone-file import job. */
2924
- export const dnsGetDnsZoneFileImport = {
2925
- path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
2926
- method: "GET",
2927
- operationId: "dns-get-dns-zone-file-import",
2923
+ /** Update a Project's storage space statistics. */
2924
+ export const storagespaceUpdateProjectStatistics = {
2925
+ path: "/v3-next/projects/{projectId}/storage-space-statistics",
2926
+ method: "PATCH",
2927
+ operationId: "storagespace-update-project-statistics",
2928
2928
  };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.473.0';
1
+ export const MittwaldAPIClientVersion = '4.475.0';
@@ -246,6 +246,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
246
246
  } | undefined;
247
247
  }) => import("@mittwald/react-use-promise").AsyncResource<{
248
248
  actionCapabilities?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppActionCapabilities | undefined;
249
+ description?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppTranslatedString | undefined;
249
250
  id: string;
250
251
  name: string;
251
252
  tags: string[];
@@ -1398,6 +1399,22 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1398
1399
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1399
1400
  url?: string | undefined;
1400
1401
  }>;
1402
+ /** Get a specific OAuth2 client. */
1403
+ contributorGetOauthClient: (conf: {
1404
+ oauthClientId: string;
1405
+ headers?: {
1406
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
1407
+ "x-access-token"?: string | undefined;
1408
+ } | undefined;
1409
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1410
+ allowedGrantTypes?: string[] | undefined;
1411
+ allowedRedirectUris?: string[] | undefined;
1412
+ allowedScopes?: string[] | undefined;
1413
+ description?: string | undefined;
1414
+ humanReadableName: string;
1415
+ id: string;
1416
+ type?: "public" | "confidential" | undefined;
1417
+ }>;
1401
1418
  /** List ContractPartners of the contributor. */
1402
1419
  contributorListContractPartnersOfContributor: (conf: {
1403
1420
  contributorId: string;
@@ -1829,22 +1846,6 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1829
1846
  last4: string;
1830
1847
  } | undefined;
1831
1848
  }>;
1832
- /** Get a specific OAuth2 client. */
1833
- contributorGetOauthClient: (conf: {
1834
- oauthClientId: string;
1835
- headers?: {
1836
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
1837
- "x-access-token"?: string | undefined;
1838
- } | undefined;
1839
- }) => import("@mittwald/react-use-promise").AsyncResource<{
1840
- allowedGrantTypes?: string[] | undefined;
1841
- allowedRedirectUris?: string[] | undefined;
1842
- allowedScopes?: string[] | undefined;
1843
- description?: string | undefined;
1844
- humanReadableName: string;
1845
- id: string;
1846
- type?: "public" | "confidential" | undefined;
1847
- }>;
1848
1849
  };
1849
1850
  declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
1850
1851
  /** Get all conversation the authenticated user has created or has access to. */
@@ -2402,6 +2403,30 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2402
2403
  page?: number | undefined;
2403
2404
  } | undefined;
2404
2405
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
2406
+ /** List DNS zone-file import jobs belonging to a Project. */
2407
+ dnsListDnsZoneFileImports: (conf: {
2408
+ projectId: string;
2409
+ headers?: {
2410
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2411
+ "x-access-token"?: string | undefined;
2412
+ } | undefined;
2413
+ queryParameters?: {
2414
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2415
+ limit?: number | undefined;
2416
+ skip?: number | undefined;
2417
+ page?: number | undefined;
2418
+ sort?: "createdAt" | undefined;
2419
+ order?: "asc" | "desc" | undefined;
2420
+ } | undefined;
2421
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[]>;
2422
+ /** List DNSZones belonging to a Project. */
2423
+ dnsListDnsZones: (conf: {
2424
+ projectId: string;
2425
+ headers?: {
2426
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2427
+ "x-access-token"?: string | undefined;
2428
+ } | undefined;
2429
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
2405
2430
  /** Get a DNSZone. */
2406
2431
  dnsGetDnsZone: (conf: {
2407
2432
  dnsZoneId: string;
@@ -2421,22 +2446,32 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2421
2446
  txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
2422
2447
  };
2423
2448
  }>;
2424
- /** Get a zone file for a DNSZone. */
2425
- dnsGetZoneFile: (conf: {
2426
- dnsZoneId: string;
2449
+ /** Get the status of a DNS zone-file import job. */
2450
+ dnsGetDnsZoneFileImport: (conf: {
2451
+ zoneFileImportId: string;
2427
2452
  headers?: {
2428
2453
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2429
2454
  "x-access-token"?: string | undefined;
2430
2455
  } | undefined;
2431
- }) => import("@mittwald/react-use-promise").AsyncResource<string>;
2432
- /** List DNSZones belonging to a Project. */
2433
- dnsListDnsZones: (conf: {
2456
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2457
+ createdAt: string;
2458
+ id: string;
2459
+ importedZones: string[];
2434
2460
  projectId: string;
2461
+ skippedZones: {
2462
+ name: string;
2463
+ reason: string;
2464
+ }[];
2465
+ status: "running" | "succeeded" | "completedWithErrors";
2466
+ }>;
2467
+ /** Get a zone file for a DNSZone. */
2468
+ dnsGetZoneFile: (conf: {
2469
+ dnsZoneId: string;
2435
2470
  headers?: {
2436
2471
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2437
2472
  "x-access-token"?: string | undefined;
2438
2473
  } | undefined;
2439
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
2474
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
2440
2475
  /** Get a Domain. */
2441
2476
  getDomain: (conf: {
2442
2477
  domainId: string;
@@ -2652,40 +2687,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2652
2687
  ingressId?: string | undefined;
2653
2688
  } | undefined;
2654
2689
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[]>;
2655
- /** List DNS zone-file import jobs belonging to a Project. */
2656
- dnsListDnsZoneFileImports: (conf: {
2657
- projectId: string;
2658
- headers?: {
2659
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2660
- "x-access-token"?: string | undefined;
2661
- } | undefined;
2662
- queryParameters?: {
2663
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2664
- limit?: number | undefined;
2665
- skip?: number | undefined;
2666
- page?: number | undefined;
2667
- sort?: "createdAt" | undefined;
2668
- order?: "asc" | "desc" | undefined;
2669
- } | undefined;
2670
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[]>;
2671
- /** Get the status of a DNS zone-file import job. */
2672
- dnsGetDnsZoneFileImport: (conf: {
2673
- zoneFileImportId: string;
2674
- headers?: {
2675
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2676
- "x-access-token"?: string | undefined;
2677
- } | undefined;
2678
- }) => import("@mittwald/react-use-promise").AsyncResource<{
2679
- createdAt: string;
2680
- id: string;
2681
- importedZones: string[];
2682
- projectId: string;
2683
- skippedZones: {
2684
- name: string;
2685
- reason: string;
2686
- }[];
2687
- status: "running" | "succeeded" | "completedWithErrors";
2688
- }>;
2689
2690
  };
2690
2691
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
2691
2692
  /** Get a File's meta. */
@@ -3539,6 +3540,13 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
3539
3540
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3540
3541
  } | undefined;
3541
3542
  }) => import("@mittwald/react-use-promise").AsyncResource<never>;
3543
+ /** Check if a password is leaked. */
3544
+ searchedLeakedPasswordsByRange: (conf: {
3545
+ passwordHashPrefix: string;
3546
+ headers?: {
3547
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3548
+ } | undefined;
3549
+ }) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
3542
3550
  /** Request a support code. */
3543
3551
  supportCodeRequest: (conf?: {
3544
3552
  headers?: {
@@ -3553,13 +3561,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
3553
3561
  expiresAt: string;
3554
3562
  supportCode: string;
3555
3563
  }>;
3556
- /** Check if a password is leaked. */
3557
- searchedLeakedPasswordsByRange: (conf: {
3558
- passwordHashPrefix: string;
3559
- headers?: {
3560
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3561
- } | undefined;
3562
- }) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
3563
3564
  };
3564
3565
  declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3565
3566
  /** List Invites belonging to a Project. */
@@ -3843,9 +3844,9 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3843
3844
  order?: "asc" | "desc" | undefined;
3844
3845
  } | undefined;
3845
3846
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServer[]>;
3846
- /** Get storage space Statistics belonging to a Project. */
3847
- storagespaceGetProjectStatistics: (conf: {
3848
- projectId: string;
3847
+ /** Get storage space Statistics belonging to a Server. */
3848
+ storagespaceGetServerStatistics: (conf: {
3849
+ serverId: string;
3849
3850
  headers?: {
3850
3851
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3851
3852
  "x-access-token"?: string | undefined;
@@ -3860,9 +3861,9 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3860
3861
  notificationThresholdInBytes?: number | undefined;
3861
3862
  statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
3862
3863
  }>;
3863
- /** Get storage space Statistics belonging to a Server. */
3864
- storagespaceGetServerStatistics: (conf: {
3865
- serverId: string;
3864
+ /** Get storage space Statistics belonging to a Project. */
3865
+ storagespaceGetProjectStatistics: (conf: {
3866
+ projectId: string;
3866
3867
  headers?: {
3867
3868
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3868
3869
  "x-access-token"?: string | undefined;