@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
|
@@ -214,6 +214,8 @@ const buildMarketplaceApi = (baseClient) => ({
|
|
|
214
214
|
extensionListScopes: new ApiCallAsyncResourceFactory(descriptors.extensionListScopes, baseClient.marketplace.extensionListScopes).getApiResource,
|
|
215
215
|
/** Get payment method details */
|
|
216
216
|
customerGetPaymentMethod: new ApiCallAsyncResourceFactory(descriptors.marketplaceCustomerGetPaymentMethod, baseClient.marketplace.customerGetPaymentMethod).getApiResource,
|
|
217
|
+
/** Get a specific OAuth2 client. */
|
|
218
|
+
contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
|
|
217
219
|
});
|
|
218
220
|
const buildConversationApi = (baseClient) => ({
|
|
219
221
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -410,6 +410,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
410
410
|
customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
|
|
411
411
|
/** Get the link to update the marketplace payment method */
|
|
412
412
|
customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
|
|
413
|
+
/** Get a specific OAuth2 client. */
|
|
414
|
+
contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
|
|
413
415
|
};
|
|
414
416
|
/** The conversation API allows you to manage your support conversations. */
|
|
415
417
|
conversation = {
|
|
@@ -2962,3 +2962,9 @@ export const verificationVerifyCompany = {
|
|
|
2962
2962
|
method: "POST",
|
|
2963
2963
|
operationId: "verification-verify-company",
|
|
2964
2964
|
};
|
|
2965
|
+
/** Get a specific OAuth2 client. */
|
|
2966
|
+
export const contributorGetOauthClient = {
|
|
2967
|
+
path: "/v2/oauth2/clients/{oauthClientId}",
|
|
2968
|
+
method: "GET",
|
|
2969
|
+
operationId: "contributor-get-oauth-client",
|
|
2970
|
+
};
|
|
@@ -214,6 +214,8 @@ const buildMarketplaceApi = (baseClient) => ({
|
|
|
214
214
|
extensionListScopes: new ApiCallAsyncResourceFactory(descriptors.extensionListScopes, baseClient.marketplace.extensionListScopes).getApiResource,
|
|
215
215
|
/** Get payment method details */
|
|
216
216
|
customerGetPaymentMethod: new ApiCallAsyncResourceFactory(descriptors.marketplaceCustomerGetPaymentMethod, baseClient.marketplace.customerGetPaymentMethod).getApiResource,
|
|
217
|
+
/** Get a specific OAuth2 client. */
|
|
218
|
+
contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
|
|
217
219
|
});
|
|
218
220
|
const buildConversationApi = (baseClient) => ({
|
|
219
221
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -294,12 +296,16 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
294
296
|
const buildDomainApi = (baseClient) => ({
|
|
295
297
|
/** List domains. */
|
|
296
298
|
serviceNextListDomains: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextListDomains, baseClient.domain.serviceNextListDomains).getApiResource,
|
|
299
|
+
/** List DNS zone-file import jobs belonging to a Project. */
|
|
300
|
+
dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
|
|
301
|
+
/** List DNSZones belonging to a Project. */
|
|
302
|
+
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
297
303
|
/** Get a DNSZone. */
|
|
298
304
|
dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
305
|
+
/** Get the status of a DNS zone-file import job. */
|
|
306
|
+
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
299
307
|
/** Get a zone file for a DNSZone. */
|
|
300
308
|
dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
|
|
301
|
-
/** List DNSZones belonging to a Project. */
|
|
302
|
-
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
303
309
|
/** Get a domain. */
|
|
304
310
|
serviceNextGetDomain: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextGetDomain, baseClient.domain.serviceNextGetDomain).getApiResource,
|
|
305
311
|
/** Get a Contact-Verification. */
|
|
@@ -330,10 +336,6 @@ const buildDomainApi = (baseClient) => ({
|
|
|
330
336
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
331
337
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
332
338
|
sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
|
|
333
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
334
|
-
dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
|
|
335
|
-
/** Get the status of a DNS zone-file import job. */
|
|
336
|
-
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
337
339
|
});
|
|
338
340
|
const buildFileApi = (baseClient) => ({
|
|
339
341
|
/** Get a File's meta. */
|
|
@@ -410,6 +410,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
410
410
|
customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
|
|
411
411
|
/** Get the link to update the marketplace payment method */
|
|
412
412
|
customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
|
|
413
|
+
/** Get a specific OAuth2 client. */
|
|
414
|
+
contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
|
|
413
415
|
};
|
|
414
416
|
/** The conversation API allows you to manage your support conversations. */
|
|
415
417
|
conversation = {
|
|
@@ -575,16 +577,22 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
575
577
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
576
578
|
/** Update the tls settings of an Ingress. */
|
|
577
579
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
580
|
+
/** List DNS zone-file import jobs belonging to a Project. */
|
|
581
|
+
dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
|
|
582
|
+
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
583
|
+
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
584
|
+
/** List DNSZones belonging to a Project. */
|
|
585
|
+
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
586
|
+
/** Create a DNSZone for a domain in a Project. */
|
|
587
|
+
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
578
588
|
/** Get a DNSZone. */
|
|
579
589
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
580
590
|
/** Delete a DNSZone. */
|
|
581
591
|
dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
|
|
592
|
+
/** Get the status of a DNS zone-file import job. */
|
|
593
|
+
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
582
594
|
/** Get a zone file for a DNSZone. */
|
|
583
595
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
584
|
-
/** List DNSZones belonging to a Project. */
|
|
585
|
-
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
586
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
587
|
-
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
588
596
|
/** Set a record set on a DNSZone to managed. */
|
|
589
597
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
590
598
|
/** Update a record set on a DNSZone. */
|
|
@@ -669,12 +677,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
669
677
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
670
678
|
/** Update the certificate of a CertificateRequest. */
|
|
671
679
|
sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
|
|
672
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
673
|
-
dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
|
|
674
|
-
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
675
|
-
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
676
|
-
/** Get the status of a DNS zone-file import job. */
|
|
677
|
-
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
678
680
|
};
|
|
679
681
|
/** The mail API allows you to manage your mail accounts. */
|
|
680
682
|
mail = {
|
|
@@ -1282,6 +1282,30 @@ export const userUpdateAccount = {
|
|
|
1282
1282
|
method: "PUT",
|
|
1283
1283
|
operationId: "user-update-account",
|
|
1284
1284
|
};
|
|
1285
|
+
/** List DNS zone-file import jobs belonging to a Project. */
|
|
1286
|
+
export const dnsListDnsZoneFileImports = {
|
|
1287
|
+
path: "/v3-next/projects/{projectId}/dns-zone-imports",
|
|
1288
|
+
method: "GET",
|
|
1289
|
+
operationId: "dns-list-dns-zone-file-imports",
|
|
1290
|
+
};
|
|
1291
|
+
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
1292
|
+
export const dnsCreateDnsZoneFileImport = {
|
|
1293
|
+
path: "/v3-next/projects/{projectId}/dns-zone-imports",
|
|
1294
|
+
method: "POST",
|
|
1295
|
+
operationId: "dns-create-dns-zone-file-import",
|
|
1296
|
+
};
|
|
1297
|
+
/** List DNSZones belonging to a Project. */
|
|
1298
|
+
export const dnsListDnsZones = {
|
|
1299
|
+
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1300
|
+
method: "GET",
|
|
1301
|
+
operationId: "dns-list-dns-zones",
|
|
1302
|
+
};
|
|
1303
|
+
/** Create a DNSZone for a domain in a Project. */
|
|
1304
|
+
export const dnsCreateProjectDnsZone = {
|
|
1305
|
+
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1306
|
+
method: "POST",
|
|
1307
|
+
operationId: "dns-create-project-dns-zone",
|
|
1308
|
+
};
|
|
1285
1309
|
/** Get a DNSZone. */
|
|
1286
1310
|
export const dnsGetDnsZone = {
|
|
1287
1311
|
path: "/v3-next/dns-zones/{dnsZoneId}",
|
|
@@ -1294,24 +1318,18 @@ export const dnsDeleteDnsZone = {
|
|
|
1294
1318
|
method: "DELETE",
|
|
1295
1319
|
operationId: "dns-delete-dns-zone",
|
|
1296
1320
|
};
|
|
1321
|
+
/** Get the status of a DNS zone-file import job. */
|
|
1322
|
+
export const dnsGetDnsZoneFileImport = {
|
|
1323
|
+
path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
|
|
1324
|
+
method: "GET",
|
|
1325
|
+
operationId: "dns-get-dns-zone-file-import",
|
|
1326
|
+
};
|
|
1297
1327
|
/** Get a zone file for a DNSZone. */
|
|
1298
1328
|
export const dnsGetZoneFile = {
|
|
1299
1329
|
path: "/v3-next/dns-zones/{dnsZoneId}/zone-file",
|
|
1300
1330
|
method: "GET",
|
|
1301
1331
|
operationId: "dns-get-zone-file",
|
|
1302
1332
|
};
|
|
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 domain 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
1333
|
/** Set a record set on a DNSZone to managed. */
|
|
1316
1334
|
export const dnsSetRecordSetManaged = {
|
|
1317
1335
|
path: "/v3-next/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
@@ -2944,21 +2962,9 @@ export const verificationVerifyCompany = {
|
|
|
2944
2962
|
method: "POST",
|
|
2945
2963
|
operationId: "verification-verify-company",
|
|
2946
2964
|
};
|
|
2947
|
-
/**
|
|
2948
|
-
export const
|
|
2949
|
-
path: "/v3-next/
|
|
2950
|
-
method: "GET",
|
|
2951
|
-
operationId: "dns-list-dns-zone-file-imports",
|
|
2952
|
-
};
|
|
2953
|
-
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
2954
|
-
export const dnsCreateDnsZoneFileImport = {
|
|
2955
|
-
path: "/v3-next/projects/{projectId}/dns-zone-imports",
|
|
2956
|
-
method: "POST",
|
|
2957
|
-
operationId: "dns-create-dns-zone-file-import",
|
|
2958
|
-
};
|
|
2959
|
-
/** Get the status of a DNS zone-file import job. */
|
|
2960
|
-
export const dnsGetDnsZoneFileImport = {
|
|
2961
|
-
path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
|
|
2965
|
+
/** Get a specific OAuth2 client. */
|
|
2966
|
+
export const contributorGetOauthClient = {
|
|
2967
|
+
path: "/v3-next/oauth2/clients/{oauthClientId}",
|
|
2962
2968
|
method: "GET",
|
|
2963
|
-
operationId: "
|
|
2969
|
+
operationId: "contributor-get-oauth-client",
|
|
2964
2970
|
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.466.0';
|
|
@@ -1829,6 +1829,22 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
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: MittwaldAPIV2Client) => {
|
|
1834
1850
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -4718,8 +4718,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4718
4718
|
[x: string]: string;
|
|
4719
4719
|
} | undefined;
|
|
4720
4720
|
ports?: string[] | undefined;
|
|
4721
|
+
restart?: string | undefined;
|
|
4721
4722
|
restartPolicy?: string | undefined;
|
|
4722
4723
|
volumes?: string[] | undefined;
|
|
4724
|
+
"x-description"?: string | undefined;
|
|
4723
4725
|
};
|
|
4724
4726
|
} | undefined;
|
|
4725
4727
|
volumes?: {
|
|
@@ -4907,8 +4909,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4907
4909
|
} | undefined;
|
|
4908
4910
|
image?: string | undefined;
|
|
4909
4911
|
ports?: string[] | undefined;
|
|
4912
|
+
restart?: string | undefined;
|
|
4910
4913
|
restartPolicy?: string | undefined;
|
|
4911
4914
|
volumes?: string[] | undefined;
|
|
4915
|
+
"x-description"?: string | undefined;
|
|
4912
4916
|
};
|
|
4913
4917
|
} | undefined;
|
|
4914
4918
|
updateSchedule?: {
|
|
@@ -4920,6 +4924,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4920
4924
|
name?: string | undefined;
|
|
4921
4925
|
};
|
|
4922
4926
|
} | undefined;
|
|
4927
|
+
"x-description"?: string | undefined;
|
|
4928
|
+
"x-update-schedule"?: {
|
|
4929
|
+
cron: string;
|
|
4930
|
+
timezone?: string | undefined;
|
|
4931
|
+
} | undefined;
|
|
4923
4932
|
} | undefined;
|
|
4924
4933
|
headers?: {
|
|
4925
4934
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -4942,6 +4951,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4942
4951
|
volumes?: {
|
|
4943
4952
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeRequest;
|
|
4944
4953
|
} | undefined;
|
|
4954
|
+
"x-description"?: string | undefined;
|
|
4955
|
+
"x-update-schedule"?: {
|
|
4956
|
+
cron: string;
|
|
4957
|
+
timezone?: string;
|
|
4958
|
+
} | undefined;
|
|
4945
4959
|
};
|
|
4946
4960
|
} & {
|
|
4947
4961
|
pathParameters: {
|
|
@@ -4995,6 +5009,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4995
5009
|
volumes?: {
|
|
4996
5010
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeRequest;
|
|
4997
5011
|
} | undefined;
|
|
5012
|
+
"x-description"?: string | undefined;
|
|
5013
|
+
"x-update-schedule"?: {
|
|
5014
|
+
cron: string;
|
|
5015
|
+
timezone?: string;
|
|
5016
|
+
} | undefined;
|
|
4998
5017
|
};
|
|
4999
5018
|
} & {
|
|
5000
5019
|
pathParameters: {
|
|
@@ -13643,6 +13662,62 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
13643
13662
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13644
13663
|
[x: string]: unknown;
|
|
13645
13664
|
}, 429, "application/json">>>;
|
|
13665
|
+
/** Get a specific OAuth2 client. */
|
|
13666
|
+
contributorGetOauthClient: (request: {
|
|
13667
|
+
oauthClientId: string;
|
|
13668
|
+
headers?: {
|
|
13669
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
13670
|
+
"x-access-token"?: string | undefined;
|
|
13671
|
+
} | undefined;
|
|
13672
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
13673
|
+
headers?: Partial<{
|
|
13674
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
13675
|
+
}>;
|
|
13676
|
+
} & {
|
|
13677
|
+
pathParameters: {
|
|
13678
|
+
oauthClientId: string;
|
|
13679
|
+
};
|
|
13680
|
+
} & {
|
|
13681
|
+
headers: {
|
|
13682
|
+
"x-access-token"?: string | undefined;
|
|
13683
|
+
} & Partial<{
|
|
13684
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
13685
|
+
}>;
|
|
13686
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
13687
|
+
allowedGrantTypes?: string[] | undefined;
|
|
13688
|
+
allowedRedirectUris?: string[] | undefined;
|
|
13689
|
+
allowedScopes?: string[] | undefined;
|
|
13690
|
+
description?: string | undefined;
|
|
13691
|
+
humanReadableName: string;
|
|
13692
|
+
id: string;
|
|
13693
|
+
type?: "public" | "confidential" | undefined;
|
|
13694
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13695
|
+
[x: string]: unknown;
|
|
13696
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
13697
|
+
headers?: Partial<{
|
|
13698
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
13699
|
+
}>;
|
|
13700
|
+
} & {
|
|
13701
|
+
pathParameters: {
|
|
13702
|
+
oauthClientId: string;
|
|
13703
|
+
};
|
|
13704
|
+
} & {
|
|
13705
|
+
headers: {
|
|
13706
|
+
"x-access-token"?: string | undefined;
|
|
13707
|
+
} & Partial<{
|
|
13708
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
13709
|
+
}>;
|
|
13710
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
13711
|
+
allowedGrantTypes?: string[] | undefined;
|
|
13712
|
+
allowedRedirectUris?: string[] | undefined;
|
|
13713
|
+
allowedScopes?: string[] | undefined;
|
|
13714
|
+
description?: string | undefined;
|
|
13715
|
+
humanReadableName: string;
|
|
13716
|
+
id: string;
|
|
13717
|
+
type?: "public" | "confidential" | undefined;
|
|
13718
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
13719
|
+
[x: string]: unknown;
|
|
13720
|
+
}, 429, "application/json">>>;
|
|
13646
13721
|
};
|
|
13647
13722
|
/** The conversation API allows you to manage your support conversations. */
|
|
13648
13723
|
readonly conversation: {
|
|
@@ -991,3 +991,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
|
|
|
991
991
|
export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
992
992
|
/** Check if a company exists. */
|
|
993
993
|
export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
994
|
+
/** Get a specific OAuth2 client. */
|
|
995
|
+
export declare const contributorGetOauthClient: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2ClientsOauthClientId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -1978,6 +1978,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1978
1978
|
type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
|
|
1979
1979
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
|
|
1980
1980
|
}
|
|
1981
|
+
namespace ContributorGetOauthClient {
|
|
1982
|
+
type RequestData = InferredRequestData<typeof descriptors.contributorGetOauthClient>;
|
|
1983
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorGetOauthClient, TStatus>;
|
|
1984
|
+
}
|
|
1981
1985
|
}
|
|
1982
1986
|
namespace Components {
|
|
1983
1987
|
namespace Schemas {
|
|
@@ -2867,6 +2871,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2867
2871
|
*/
|
|
2868
2872
|
command?: string[];
|
|
2869
2873
|
deploy?: MittwaldAPIV2.Components.Schemas.ContainerDeploy;
|
|
2874
|
+
/**
|
|
2875
|
+
* @deprecated
|
|
2876
|
+
* Deprecated by 'x-description' (which takes precedence). This field will be removed in a future version.
|
|
2877
|
+
*/
|
|
2870
2878
|
description?: string;
|
|
2871
2879
|
/**
|
|
2872
2880
|
* The container entrypoint (equivalent to the [Docker entrypoint](https://docs.docker.com/reference/dockerfile/#entrypoint)). When omitted, this defaults to the entrypoint defined in the image.
|
|
@@ -2902,12 +2910,25 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2902
2910
|
*
|
|
2903
2911
|
*/
|
|
2904
2912
|
ports?: string[];
|
|
2913
|
+
/**
|
|
2914
|
+
* Restart policy for the container, matching the [Docker Compose `restart` field](https://docs.docker.com/reference/compose-file/services/#restart): `no`, `always`, `on-failure` (optionally `on-failure:<max-retries>`) or `unless-stopped`.
|
|
2915
|
+
*
|
|
2916
|
+
*/
|
|
2917
|
+
restart?: string;
|
|
2918
|
+
/**
|
|
2919
|
+
* @deprecated
|
|
2920
|
+
* Deprecated by 'restart' (which takes precedence). This field will be removed in a future version.
|
|
2921
|
+
*/
|
|
2905
2922
|
restartPolicy?: string;
|
|
2906
2923
|
/**
|
|
2907
2924
|
* Volume mounts for this container. These items always follow the format `<volume>:<mountpoint>`. The `<volume>` may either be a named volume, or a file path in the (always present) project file system (which is shared among containers and managed apps within a project).
|
|
2908
2925
|
*
|
|
2909
2926
|
*/
|
|
2910
2927
|
volumes?: string[];
|
|
2928
|
+
/**
|
|
2929
|
+
* Human-readable description of this container.
|
|
2930
|
+
*/
|
|
2931
|
+
"x-description"?: string;
|
|
2911
2932
|
}
|
|
2912
2933
|
interface ContainerDeploy {
|
|
2913
2934
|
resources?: MittwaldAPIV2.Components.Schemas.ContainerResources;
|
|
@@ -2933,6 +2954,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2933
2954
|
*/
|
|
2934
2955
|
command?: string[];
|
|
2935
2956
|
deploy?: MittwaldAPIV2.Components.Schemas.ContainerDeploy;
|
|
2957
|
+
/**
|
|
2958
|
+
* @deprecated
|
|
2959
|
+
* Deprecated by 'x-description' (which takes precedence). This field will be removed in a future version.
|
|
2960
|
+
*/
|
|
2936
2961
|
description?: string;
|
|
2937
2962
|
/**
|
|
2938
2963
|
* The container entrypoint (equivalent to the [Docker entrypoint](https://docs.docker.com/reference/dockerfile/#entrypoint)). When omitted, this defaults to the entrypoint defined in the image.
|
|
@@ -2968,12 +2993,25 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2968
2993
|
*
|
|
2969
2994
|
*/
|
|
2970
2995
|
ports?: string[];
|
|
2996
|
+
/**
|
|
2997
|
+
* Restart policy for the container, matching the [Docker Compose `restart` field](https://docs.docker.com/reference/compose-file/services/#restart): `no`, `always`, `on-failure` (optionally `on-failure:<max-retries>`) or `unless-stopped`.
|
|
2998
|
+
*
|
|
2999
|
+
*/
|
|
3000
|
+
restart?: string;
|
|
3001
|
+
/**
|
|
3002
|
+
* @deprecated
|
|
3003
|
+
* Deprecated by 'restart' (which takes precedence). This field will be removed in a future version.
|
|
3004
|
+
*/
|
|
2971
3005
|
restartPolicy?: string;
|
|
2972
3006
|
/**
|
|
2973
3007
|
* Volume mounts for this container. These items always follow the format `<volume>:<mountpoint>`. The `<volume>` may either be a named volume, or a file path in the (always present) project file system (which is shared among containers and managed apps within a project).
|
|
2974
3008
|
*
|
|
2975
3009
|
*/
|
|
2976
3010
|
volumes?: string[];
|
|
3011
|
+
/**
|
|
3012
|
+
* Human-readable description of this container.
|
|
3013
|
+
*/
|
|
3014
|
+
"x-description"?: string;
|
|
2977
3015
|
}
|
|
2978
3016
|
interface ContainerResourceSpec {
|
|
2979
3017
|
/**
|
|
@@ -11872,6 +11910,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
11872
11910
|
stackId: string;
|
|
11873
11911
|
};
|
|
11874
11912
|
interface RequestBody {
|
|
11913
|
+
/**
|
|
11914
|
+
* @deprecated
|
|
11915
|
+
* Deprecated by 'x-description' (which takes precedence). This field will be removed in a future version.
|
|
11916
|
+
*/
|
|
11875
11917
|
description?: string;
|
|
11876
11918
|
/**
|
|
11877
11919
|
* A set of containers that should be started in this stack. The key is relevant for
|
|
@@ -11889,8 +11931,9 @@ export declare namespace MittwaldAPIV2 {
|
|
|
11889
11931
|
[k: string]: MittwaldAPIV2.Components.Schemas.ContainerServiceRequest;
|
|
11890
11932
|
};
|
|
11891
11933
|
/**
|
|
11892
|
-
*
|
|
11893
|
-
* schedule
|
|
11934
|
+
* @deprecated
|
|
11935
|
+
* Deprecated by 'x-update-schedule' (which takes precedence). This field will be
|
|
11936
|
+
* removed in a future version.
|
|
11894
11937
|
*
|
|
11895
11938
|
*/
|
|
11896
11939
|
updateSchedule?: {
|
|
@@ -11909,6 +11952,22 @@ export declare namespace MittwaldAPIV2 {
|
|
|
11909
11952
|
volumes?: {
|
|
11910
11953
|
[k: string]: MittwaldAPIV2.Components.Schemas.ContainerVolumeRequest;
|
|
11911
11954
|
};
|
|
11955
|
+
/**
|
|
11956
|
+
* Description of the stack.
|
|
11957
|
+
*/
|
|
11958
|
+
"x-description"?: string;
|
|
11959
|
+
/**
|
|
11960
|
+
* Schedule for automatic image updates of this stack. Set to `null` to remove the
|
|
11961
|
+
* schedule; omit the property to leave it unchanged.
|
|
11962
|
+
*
|
|
11963
|
+
*/
|
|
11964
|
+
"x-update-schedule"?: {
|
|
11965
|
+
cron: string;
|
|
11966
|
+
/**
|
|
11967
|
+
* Valid timezones can be retrieved via GET /v2/time-zones
|
|
11968
|
+
*/
|
|
11969
|
+
timezone?: string;
|
|
11970
|
+
};
|
|
11912
11971
|
}
|
|
11913
11972
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
11914
11973
|
type Query = {
|
|
@@ -33491,5 +33550,45 @@ export declare namespace MittwaldAPIV2 {
|
|
|
33491
33550
|
}
|
|
33492
33551
|
}
|
|
33493
33552
|
}
|
|
33553
|
+
namespace V2Oauth2ClientsOauthClientId {
|
|
33554
|
+
namespace Get {
|
|
33555
|
+
namespace Parameters {
|
|
33556
|
+
type Path = {
|
|
33557
|
+
oauthClientId: string;
|
|
33558
|
+
};
|
|
33559
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
33560
|
+
type Query = {};
|
|
33561
|
+
}
|
|
33562
|
+
namespace Responses {
|
|
33563
|
+
namespace $200 {
|
|
33564
|
+
namespace Content {
|
|
33565
|
+
interface ApplicationJson {
|
|
33566
|
+
allowedGrantTypes?: string[];
|
|
33567
|
+
allowedRedirectUris?: string[];
|
|
33568
|
+
allowedScopes?: string[];
|
|
33569
|
+
description?: string;
|
|
33570
|
+
humanReadableName: string;
|
|
33571
|
+
id: string;
|
|
33572
|
+
type?: "public" | "confidential";
|
|
33573
|
+
}
|
|
33574
|
+
}
|
|
33575
|
+
}
|
|
33576
|
+
namespace $429 {
|
|
33577
|
+
namespace Content {
|
|
33578
|
+
interface ApplicationJson {
|
|
33579
|
+
[k: string]: unknown;
|
|
33580
|
+
}
|
|
33581
|
+
}
|
|
33582
|
+
}
|
|
33583
|
+
namespace Default {
|
|
33584
|
+
namespace Content {
|
|
33585
|
+
interface ApplicationJson {
|
|
33586
|
+
[k: string]: unknown;
|
|
33587
|
+
}
|
|
33588
|
+
}
|
|
33589
|
+
}
|
|
33590
|
+
}
|
|
33591
|
+
}
|
|
33592
|
+
}
|
|
33494
33593
|
}
|
|
33495
33594
|
}
|