@mittwald/api-client 4.474.0 → 4.475.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.
@@ -1398,6 +1398,22 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV3NextClient) => {
1398
1398
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1399
1399
  url?: string | undefined;
1400
1400
  }>;
1401
+ /** Get a specific OAuth2 client. */
1402
+ contributorGetOauthClient: (conf: {
1403
+ oauthClientId: string;
1404
+ headers?: {
1405
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
1406
+ "x-access-token"?: string | undefined;
1407
+ } | undefined;
1408
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1409
+ allowedGrantTypes?: string[] | undefined;
1410
+ allowedRedirectUris?: string[] | undefined;
1411
+ allowedScopes?: string[] | undefined;
1412
+ description?: string | undefined;
1413
+ humanReadableName: string;
1414
+ id: string;
1415
+ type?: "public" | "confidential" | undefined;
1416
+ }>;
1401
1417
  /** List ContractPartners of the contributor. */
1402
1418
  contributorListContractPartnersOfContributor: (conf: {
1403
1419
  contributorId: string;
@@ -1829,22 +1845,6 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV3NextClient) => {
1829
1845
  last4: string;
1830
1846
  } | undefined;
1831
1847
  }>;
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
1848
  };
1849
1849
  declare const buildConversationApi: (baseClient: MittwaldAPIV3NextClient) => {
1850
1850
  /** Get all conversation the authenticated user has created or has access to. */
@@ -2402,6 +2402,30 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2402
2402
  page?: number | undefined;
2403
2403
  } | undefined;
2404
2404
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainDomain[]>;
2405
+ /** List DNS zone-file import jobs belonging to a Project. */
2406
+ dnsListDnsZoneFileImports: (conf: {
2407
+ projectId: string;
2408
+ headers?: {
2409
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2410
+ "x-access-token"?: string | undefined;
2411
+ } | undefined;
2412
+ queryParameters?: {
2413
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2414
+ limit?: number | undefined;
2415
+ skip?: number | undefined;
2416
+ page?: number | undefined;
2417
+ sort?: "createdAt" | undefined;
2418
+ order?: "asc" | "desc" | undefined;
2419
+ } | undefined;
2420
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZoneFileImport[]>;
2421
+ /** List DNSZones belonging to a Project. */
2422
+ dnsListDnsZones: (conf: {
2423
+ projectId: string;
2424
+ headers?: {
2425
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2426
+ "x-access-token"?: string | undefined;
2427
+ } | undefined;
2428
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[]>;
2405
2429
  /** Get a DNSZone. */
2406
2430
  dnsGetDnsZone: (conf: {
2407
2431
  dnsZoneId: string;
@@ -2421,22 +2445,32 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2421
2445
  txt: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsRecordTXT;
2422
2446
  };
2423
2447
  }>;
2424
- /** Get a zone file for a DNSZone. */
2425
- dnsGetZoneFile: (conf: {
2426
- dnsZoneId: string;
2448
+ /** Get the status of a DNS zone-file import job. */
2449
+ dnsGetDnsZoneFileImport: (conf: {
2450
+ zoneFileImportId: string;
2427
2451
  headers?: {
2428
2452
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2429
2453
  "x-access-token"?: string | undefined;
2430
2454
  } | undefined;
2431
- }) => import("@mittwald/react-use-promise").AsyncResource<string>;
2432
- /** List DNSZones belonging to a Project. */
2433
- dnsListDnsZones: (conf: {
2455
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2456
+ createdAt: string;
2457
+ id: string;
2458
+ importedZones: string[];
2434
2459
  projectId: string;
2460
+ skippedZones: {
2461
+ name: string;
2462
+ reason: string;
2463
+ }[];
2464
+ status: "running" | "succeeded" | "completedWithErrors";
2465
+ }>;
2466
+ /** Get a zone file for a DNSZone. */
2467
+ dnsGetZoneFile: (conf: {
2468
+ dnsZoneId: string;
2435
2469
  headers?: {
2436
2470
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
2437
2471
  "x-access-token"?: string | undefined;
2438
2472
  } | undefined;
2439
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[]>;
2473
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
2440
2474
  /** Get a Domain. */
2441
2475
  getDomain: (conf: {
2442
2476
  domainId: string;
@@ -2652,40 +2686,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2652
2686
  ingressId?: string | undefined;
2653
2687
  } | undefined;
2654
2688
  } | 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
2689
  };
2690
2690
  declare const buildFileApi: (baseClient: MittwaldAPIV3NextClient) => {
2691
2691
  /** Get a File's meta. */
@@ -3539,6 +3539,13 @@ declare const buildUserApi: (baseClient: MittwaldAPIV3NextClient) => {
3539
3539
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3540
3540
  } | undefined;
3541
3541
  }) => import("@mittwald/react-use-promise").AsyncResource<never>;
3542
+ /** Check if a password is leaked. */
3543
+ searchedLeakedPasswordsByRange: (conf: {
3544
+ passwordHashPrefix: string;
3545
+ headers?: {
3546
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3547
+ } | undefined;
3548
+ }) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
3542
3549
  /** Request a support code. */
3543
3550
  supportCodeRequest: (conf?: {
3544
3551
  headers?: {
@@ -3553,13 +3560,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV3NextClient) => {
3553
3560
  expiresAt: string;
3554
3561
  supportCode: string;
3555
3562
  }>;
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
3563
  };
3564
3564
  declare const buildProjectApi: (baseClient: MittwaldAPIV3NextClient) => {
3565
3565
  /** List Invites belonging to a Project. */