@mittwald/api-client 0.0.0-development-06379c6-20260917 → 0.0.0-development-33eafdf-20260921
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.
- package/dist/esm/generated/v2/client-react.js +2 -0
- package/dist/esm/generated/v2/client.js +2 -0
- package/dist/esm/generated/v2/descriptors.js +6 -0
- package/dist/esm/generated/v3-next/client-react.js +8 -6
- package/dist/esm/generated/v3-next/client.js +12 -10
- package/dist/esm/generated/v3-next/descriptors.js +34 -28
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +16 -0
- package/dist/types/generated/v2/client.d.ts +75 -0
- package/dist/types/generated/v2/descriptors.d.ts +2 -0
- package/dist/types/generated/v2/types.d.ts +101 -2
- package/dist/types/generated/v3-next/client-react.d.ts +61 -45
- package/dist/types/generated/v3-next/client.d.ts +408 -333
- package/dist/types/generated/v3-next/descriptors.d.ts +12 -10
- package/dist/types/generated/v3-next/types.d.ts +691 -592
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1829,6 +1829,22 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
1829
1829
|
last4: string;
|
|
1830
1830
|
} | undefined;
|
|
1831
1831
|
}>;
|
|
1832
|
+
/** Get a specific OAuth2 client. */
|
|
1833
|
+
contributorGetOauthClient: (conf: {
|
|
1834
|
+
oauthClientId: string;
|
|
1835
|
+
headers?: {
|
|
1836
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | 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
|
+
}>;
|
|
1832
1848
|
};
|
|
1833
1849
|
declare const buildConversationApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
1834
1850
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -2388,6 +2404,30 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
2388
2404
|
page?: number | undefined;
|
|
2389
2405
|
} | undefined;
|
|
2390
2406
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainNextDomainListItem[]>;
|
|
2407
|
+
/** List DNS zone-file import jobs belonging to a Project. */
|
|
2408
|
+
dnsListDnsZoneFileImports: (conf: {
|
|
2409
|
+
projectId: string;
|
|
2410
|
+
headers?: {
|
|
2411
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2412
|
+
"x-access-token"?: string | undefined;
|
|
2413
|
+
} | undefined;
|
|
2414
|
+
queryParameters?: {
|
|
2415
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2416
|
+
limit?: number | undefined;
|
|
2417
|
+
skip?: number | undefined;
|
|
2418
|
+
page?: number | undefined;
|
|
2419
|
+
sort?: "createdAt" | undefined;
|
|
2420
|
+
order?: "asc" | "desc" | undefined;
|
|
2421
|
+
} | undefined;
|
|
2422
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZoneFileImport[]>;
|
|
2423
|
+
/** List DNSZones belonging to a Project. */
|
|
2424
|
+
dnsListDnsZones: (conf: {
|
|
2425
|
+
projectId: string;
|
|
2426
|
+
headers?: {
|
|
2427
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2428
|
+
"x-access-token"?: string | undefined;
|
|
2429
|
+
} | undefined;
|
|
2430
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[]>;
|
|
2391
2431
|
/** Get a DNSZone. */
|
|
2392
2432
|
dnsGetDnsZone: (conf: {
|
|
2393
2433
|
dnsZoneId: string;
|
|
@@ -2407,22 +2447,36 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
2407
2447
|
txt: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsRecordTXT;
|
|
2408
2448
|
};
|
|
2409
2449
|
}>;
|
|
2410
|
-
/** Get a zone
|
|
2411
|
-
|
|
2412
|
-
|
|
2450
|
+
/** Get the status of a DNS zone-file import job. */
|
|
2451
|
+
dnsGetDnsZoneFileImport: (conf: {
|
|
2452
|
+
zoneFileImportId: string;
|
|
2413
2453
|
headers?: {
|
|
2414
2454
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2415
2455
|
"x-access-token"?: string | undefined;
|
|
2416
2456
|
} | undefined;
|
|
2417
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2418
|
-
|
|
2419
|
-
|
|
2457
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2458
|
+
createdAt: string;
|
|
2459
|
+
failedZones: {
|
|
2460
|
+
error: string;
|
|
2461
|
+
name: string;
|
|
2462
|
+
}[];
|
|
2463
|
+
id: string;
|
|
2464
|
+
importedZones: string[];
|
|
2420
2465
|
projectId: string;
|
|
2466
|
+
skippedZones: {
|
|
2467
|
+
name: string;
|
|
2468
|
+
reason: string;
|
|
2469
|
+
}[];
|
|
2470
|
+
status: "running" | "succeeded" | "failed" | "completedWithErrors";
|
|
2471
|
+
}>;
|
|
2472
|
+
/** Get a zone file for a DNSZone. */
|
|
2473
|
+
dnsGetZoneFile: (conf: {
|
|
2474
|
+
dnsZoneId: string;
|
|
2421
2475
|
headers?: {
|
|
2422
2476
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2423
2477
|
"x-access-token"?: string | undefined;
|
|
2424
2478
|
} | undefined;
|
|
2425
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2479
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
2426
2480
|
/** Get a domain. */
|
|
2427
2481
|
serviceNextGetDomain: (conf: {
|
|
2428
2482
|
domainId: string;
|
|
@@ -2642,44 +2696,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
2642
2696
|
ingressId?: string | undefined;
|
|
2643
2697
|
} | undefined;
|
|
2644
2698
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSslCertificate[]>;
|
|
2645
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
2646
|
-
dnsListDnsZoneFileImports: (conf: {
|
|
2647
|
-
projectId: string;
|
|
2648
|
-
headers?: {
|
|
2649
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2650
|
-
"x-access-token"?: string | undefined;
|
|
2651
|
-
} | undefined;
|
|
2652
|
-
queryParameters?: {
|
|
2653
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2654
|
-
limit?: number | undefined;
|
|
2655
|
-
skip?: number | undefined;
|
|
2656
|
-
page?: number | undefined;
|
|
2657
|
-
sort?: "createdAt" | undefined;
|
|
2658
|
-
order?: "asc" | "desc" | undefined;
|
|
2659
|
-
} | undefined;
|
|
2660
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZoneFileImport[]>;
|
|
2661
|
-
/** Get the status of a DNS zone-file import job. */
|
|
2662
|
-
dnsGetDnsZoneFileImport: (conf: {
|
|
2663
|
-
zoneFileImportId: string;
|
|
2664
|
-
headers?: {
|
|
2665
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2666
|
-
"x-access-token"?: string | undefined;
|
|
2667
|
-
} | undefined;
|
|
2668
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2669
|
-
createdAt: string;
|
|
2670
|
-
failedZones: {
|
|
2671
|
-
error: string;
|
|
2672
|
-
name: string;
|
|
2673
|
-
}[];
|
|
2674
|
-
id: string;
|
|
2675
|
-
importedZones: string[];
|
|
2676
|
-
projectId: string;
|
|
2677
|
-
skippedZones: {
|
|
2678
|
-
name: string;
|
|
2679
|
-
reason: string;
|
|
2680
|
-
}[];
|
|
2681
|
-
status: "running" | "succeeded" | "failed" | "completedWithErrors";
|
|
2682
|
-
}>;
|
|
2683
2699
|
};
|
|
2684
2700
|
declare const buildFileApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
2685
2701
|
/** Get a File's meta. */
|