@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.
@@ -246,6 +246,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
246
246
  } | undefined;
247
247
  }) => import("@mittwald/react-use-promise").AsyncResource<{
248
248
  actionCapabilities?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppActionCapabilities | undefined;
249
+ description?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppTranslatedString | undefined;
249
250
  id: string;
250
251
  name: string;
251
252
  tags: string[];
@@ -1398,6 +1399,22 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV3NextClient) => {
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: MittwaldAPIV3NextClient) => {
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: MittwaldAPIV3NextClient) => {
1850
1851
  /** Get all conversation the authenticated user has created or has access to. */
@@ -2402,6 +2403,30 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2402
2403
  page?: number | undefined;
2403
2404
  } | undefined;
2404
2405
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainDomain[]>;
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZoneFileImport[]>;
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[]>;
2405
2430
  /** Get a DNSZone. */
2406
2431
  dnsGetDnsZone: (conf: {
2407
2432
  dnsZoneId: string;
@@ -2421,22 +2446,32 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2421
2446
  txt: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsRecordTXT;
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[]>;
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: MittwaldAPIV3NextClient) => {
2652
2687
  ingressId?: string | undefined;
2653
2688
  } | undefined;
2654
2689
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSslCertificate[]>;
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZoneFileImport[]>;
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: MittwaldAPIV3NextClient) => {
2691
2692
  /** Get a File's meta. */
@@ -3539,6 +3540,13 @@ declare const buildUserApi: (baseClient: MittwaldAPIV3NextClient) => {
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: MittwaldAPIV3NextClient) => {
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: MittwaldAPIV3NextClient) => {
3565
3566
  /** List Invites belonging to a Project. */
@@ -3843,9 +3844,9 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV3NextClient) => {
3843
3844
  order?: "asc" | "desc" | undefined;
3844
3845
  } | undefined;
3845
3846
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldProjectServer[]>;
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: MittwaldAPIV3NextClient) => {
3860
3861
  notificationThresholdInBytes?: number | undefined;
3861
3862
  statisticCategories?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldStoragespaceStatisticsCategory[] | 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;