@mittwald/api-client 0.0.0-development-6372ff8-20260818 → 0.0.0-development-852f7c4-20260820
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 +12 -10
- package/dist/esm/generated/v2/client.js +22 -20
- package/dist/esm/generated/v2/descriptors.js +64 -58
- package/dist/esm/generated/v3-next/client-react.js +12 -10
- package/dist/esm/generated/v3-next/client.js +22 -20
- package/dist/esm/generated/v3-next/descriptors.js +64 -58
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +103 -85
- package/dist/types/generated/v2/client.d.ts +658 -567
- package/dist/types/generated/v2/descriptors.d.ts +22 -20
- package/dist/types/generated/v2/types.d.ts +783 -674
- package/dist/types/generated/v3-next/client-react.d.ts +103 -85
- package/dist/types/generated/v3-next/client.d.ts +657 -566
- package/dist/types/generated/v3-next/descriptors.d.ts +22 -20
- package/dist/types/generated/v3-next/types.d.ts +783 -674
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -16,6 +16,12 @@ export const aiHostingCustomerCreateKey = {
|
|
|
16
16
|
method: "POST",
|
|
17
17
|
operationId: "ai-hosting-customer-create-key",
|
|
18
18
|
};
|
|
19
|
+
/** Creates an AI hosting profile and accepts the current model terms. */
|
|
20
|
+
export const aiHostingCustomerDeclareProfile = {
|
|
21
|
+
path: "/v3-next/customers/{customerId}/ai-hostings/profile",
|
|
22
|
+
method: "POST",
|
|
23
|
+
operationId: "ai-hosting-customer-declare-profile",
|
|
24
|
+
};
|
|
19
25
|
/** Get a key of a customer. */
|
|
20
26
|
export const aiHostingCustomerGetKey = {
|
|
21
27
|
path: "/v3-next/customers/{customerId}/ai-hosting-keys/{keyId}",
|
|
@@ -40,6 +46,24 @@ export const aiHostingCustomerGetDetailedModels = {
|
|
|
40
46
|
method: "GET",
|
|
41
47
|
operationId: "ai-hosting-customer-get-detailed-models",
|
|
42
48
|
};
|
|
49
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
50
|
+
export const aiHostingCustomerGetPlan = {
|
|
51
|
+
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
|
|
52
|
+
method: "GET",
|
|
53
|
+
operationId: "ai-hosting-customer-get-plan",
|
|
54
|
+
};
|
|
55
|
+
/** Renames an AI hosting plan. */
|
|
56
|
+
export const aiHostingCustomerUpdatePlan = {
|
|
57
|
+
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
|
|
58
|
+
method: "PUT",
|
|
59
|
+
operationId: "ai-hosting-customer-update-plan",
|
|
60
|
+
};
|
|
61
|
+
/** Get all ai hosting plans of a customer. */
|
|
62
|
+
export const aiHostingCustomerGetPlans = {
|
|
63
|
+
path: "/v3-next/customers/{customerId}/ai-hostings",
|
|
64
|
+
method: "GET",
|
|
65
|
+
operationId: "ai-hosting-customer-get-plans",
|
|
66
|
+
};
|
|
43
67
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
44
68
|
export const aiHostingCustomerGetUsage = {
|
|
45
69
|
path: "/v3-next/customers/{customerId}/ai-hosting",
|
|
@@ -88,6 +112,12 @@ export const aiHostingProjectGetDetailedModels = {
|
|
|
88
112
|
method: "GET",
|
|
89
113
|
operationId: "ai-hosting-project-get-detailed-models",
|
|
90
114
|
};
|
|
115
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
116
|
+
export const aiHostingProjectGetPlans = {
|
|
117
|
+
path: "/v3-next/projects/{projectId}/ai-hostings",
|
|
118
|
+
method: "GET",
|
|
119
|
+
operationId: "ai-hosting-project-get-plans",
|
|
120
|
+
};
|
|
91
121
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
92
122
|
export const aiHostingProjectGetUsage = {
|
|
93
123
|
path: "/v3-next/projects/{projectId}/ai-hosting",
|
|
@@ -442,6 +472,12 @@ export const containerGetTemplate = {
|
|
|
442
472
|
method: "GET",
|
|
443
473
|
operationId: "container-get-template",
|
|
444
474
|
};
|
|
475
|
+
/** List Services the executing user has access to. */
|
|
476
|
+
export const containerListAccessibleServices = {
|
|
477
|
+
path: "/v3-next/services",
|
|
478
|
+
method: "GET",
|
|
479
|
+
operationId: "container-list-accessible-services",
|
|
480
|
+
};
|
|
445
481
|
/** List Stacks belonging to the executing user. */
|
|
446
482
|
export const containerListSelfStacks = {
|
|
447
483
|
path: "/v3-next/stacks",
|
|
@@ -1204,6 +1240,24 @@ export const userUpdateAccount = {
|
|
|
1204
1240
|
method: "PUT",
|
|
1205
1241
|
operationId: "user-update-account",
|
|
1206
1242
|
};
|
|
1243
|
+
/** Start a server-side DNS zone-file import for a Project. */
|
|
1244
|
+
export const dnsCreateDnsZoneFileImport = {
|
|
1245
|
+
path: "/v3-next/projects/{projectId}/dns-zone-imports",
|
|
1246
|
+
method: "POST",
|
|
1247
|
+
operationId: "dns-create-dns-zone-file-import",
|
|
1248
|
+
};
|
|
1249
|
+
/** List DNSZones belonging to a Project. */
|
|
1250
|
+
export const dnsListDnsZones = {
|
|
1251
|
+
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1252
|
+
method: "GET",
|
|
1253
|
+
operationId: "dns-list-dns-zones",
|
|
1254
|
+
};
|
|
1255
|
+
/** Create a DNSZone for a domain in a Project. */
|
|
1256
|
+
export const dnsCreateProjectDnsZone = {
|
|
1257
|
+
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1258
|
+
method: "POST",
|
|
1259
|
+
operationId: "dns-create-project-dns-zone",
|
|
1260
|
+
};
|
|
1207
1261
|
/** Get a DNSZone. */
|
|
1208
1262
|
export const dnsGetDnsZone = {
|
|
1209
1263
|
path: "/v3-next/dns-zones/{dnsZoneId}",
|
|
@@ -1216,23 +1270,23 @@ export const dnsDeleteDnsZone = {
|
|
|
1216
1270
|
method: "DELETE",
|
|
1217
1271
|
operationId: "dns-delete-dns-zone",
|
|
1218
1272
|
};
|
|
1273
|
+
/** Get the status of a DNS zone-file import job. */
|
|
1274
|
+
export const dnsGetDnsZoneFileImport = {
|
|
1275
|
+
path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
|
|
1276
|
+
method: "GET",
|
|
1277
|
+
operationId: "dns-get-dns-zone-file-import",
|
|
1278
|
+
};
|
|
1219
1279
|
/** Get a zone file for a DNSZone. */
|
|
1220
1280
|
export const dnsGetZoneFile = {
|
|
1221
1281
|
path: "/v3-next/dns-zones/{dnsZoneId}/zone-file",
|
|
1222
1282
|
method: "GET",
|
|
1223
1283
|
operationId: "dns-get-zone-file",
|
|
1224
1284
|
};
|
|
1225
|
-
/**
|
|
1226
|
-
export const
|
|
1227
|
-
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1228
|
-
method: "GET",
|
|
1229
|
-
operationId: "dns-list-dns-zones",
|
|
1230
|
-
};
|
|
1231
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
1232
|
-
export const dnsCreateProjectDnsZone = {
|
|
1233
|
-
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1285
|
+
/** Preview a DNS zone-file import for a Project. */
|
|
1286
|
+
export const dnsPreviewProjectDnsZoneFileImport = {
|
|
1287
|
+
path: "/v3-next/projects/{projectId}/dns-zones/import-preview",
|
|
1234
1288
|
method: "POST",
|
|
1235
|
-
operationId: "dns-
|
|
1289
|
+
operationId: "dns-preview-project-dns-zone-file-import",
|
|
1236
1290
|
};
|
|
1237
1291
|
/** Set a record set on a DNSZone to managed. */
|
|
1238
1292
|
export const dnsSetRecordSetManaged = {
|
|
@@ -2842,51 +2896,3 @@ export const verificationVerifyCompany = {
|
|
|
2842
2896
|
method: "POST",
|
|
2843
2897
|
operationId: "verification-verify-company",
|
|
2844
2898
|
};
|
|
2845
|
-
/** List Services the executing user has access to. */
|
|
2846
|
-
export const containerListAccessibleServices = {
|
|
2847
|
-
path: "/v3-next/services",
|
|
2848
|
-
method: "GET",
|
|
2849
|
-
operationId: "container-list-accessible-services",
|
|
2850
|
-
};
|
|
2851
|
-
/** Get ai hosting plan and usages of a customer by planId. */
|
|
2852
|
-
export const aiHostingCustomerGetPlan = {
|
|
2853
|
-
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
|
|
2854
|
-
method: "GET",
|
|
2855
|
-
operationId: "ai-hosting-customer-get-plan",
|
|
2856
|
-
};
|
|
2857
|
-
/** Renames an AI hosting plan. */
|
|
2858
|
-
export const aiHostingCustomerUpdatePlan = {
|
|
2859
|
-
path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
|
|
2860
|
-
method: "PUT",
|
|
2861
|
-
operationId: "ai-hosting-customer-update-plan",
|
|
2862
|
-
};
|
|
2863
|
-
/** Get all ai hosting plans of a customer. */
|
|
2864
|
-
export const aiHostingCustomerGetPlans = {
|
|
2865
|
-
path: "/v3-next/customers/{customerId}/ai-hostings",
|
|
2866
|
-
method: "GET",
|
|
2867
|
-
operationId: "ai-hosting-customer-get-plans",
|
|
2868
|
-
};
|
|
2869
|
-
/** Creates an AI hosting profile and accepts the current model terms. */
|
|
2870
|
-
export const aiHostingCustomerDeclareProfile = {
|
|
2871
|
-
path: "/v3-next/customers/{customerId}/ai-hostings/profile",
|
|
2872
|
-
method: "POST",
|
|
2873
|
-
operationId: "ai-hosting-customer-declare-profile",
|
|
2874
|
-
};
|
|
2875
|
-
/** Get the status of a DNS zone-file import job. */
|
|
2876
|
-
export const dnsGetDnsZoneFileImport = {
|
|
2877
|
-
path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
|
|
2878
|
-
method: "GET",
|
|
2879
|
-
operationId: "dns-get-dns-zone-file-import",
|
|
2880
|
-
};
|
|
2881
|
-
/** Start a server-side DNS zone-file import for a Project. */
|
|
2882
|
-
export const dnsCreateDnsZoneFileImport = {
|
|
2883
|
-
path: "/v3-next/projects/{projectId}/dns-zone-imports",
|
|
2884
|
-
method: "POST",
|
|
2885
|
-
operationId: "dns-create-dns-zone-file-import",
|
|
2886
|
-
};
|
|
2887
|
-
/** Preview a DNS zone-file import for a Project. */
|
|
2888
|
-
export const dnsPreviewProjectDnsZoneFileImport = {
|
|
2889
|
-
path: "/v3-next/projects/{projectId}/dns-zones/import-preview",
|
|
2890
|
-
method: "POST",
|
|
2891
|
-
operationId: "dns-preview-project-dns-zone-file-import",
|
|
2892
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.444.0';
|
|
@@ -39,6 +39,48 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
39
39
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
40
40
|
} | undefined;
|
|
41
41
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[]>;
|
|
42
|
+
/** Get ai hosting plan and usages of a customer by planId. */
|
|
43
|
+
customerGetPlan: (conf: {
|
|
44
|
+
customerId: string;
|
|
45
|
+
planId: string;
|
|
46
|
+
headers?: {
|
|
47
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
queryParameters?: {
|
|
50
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
51
|
+
topUsageCount?: number | undefined;
|
|
52
|
+
} | undefined;
|
|
53
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
54
|
+
customerId: string;
|
|
55
|
+
deletedAt?: string | undefined;
|
|
56
|
+
description: string;
|
|
57
|
+
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
58
|
+
modelTermsApprovalRequired: boolean;
|
|
59
|
+
nextTokenReset: string;
|
|
60
|
+
planId?: string | undefined;
|
|
61
|
+
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
62
|
+
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
63
|
+
topUsages?: {
|
|
64
|
+
keyId?: string;
|
|
65
|
+
name: string;
|
|
66
|
+
projectId?: string;
|
|
67
|
+
tokenUsed: number;
|
|
68
|
+
}[] | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
/** Get all ai hosting plans of a customer. */
|
|
71
|
+
customerGetPlans: (conf: {
|
|
72
|
+
customerId: string;
|
|
73
|
+
headers?: {
|
|
74
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
75
|
+
} | undefined;
|
|
76
|
+
queryParameters?: {
|
|
77
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
78
|
+
topUsageCount?: number | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
81
|
+
modelTermsApprovalRequired: boolean;
|
|
82
|
+
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanOptions[];
|
|
83
|
+
}>;
|
|
42
84
|
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
43
85
|
customerGetUsage: (conf: {
|
|
44
86
|
customerId: string;
|
|
@@ -110,64 +152,39 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
110
152
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
111
153
|
} | undefined;
|
|
112
154
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[]>;
|
|
113
|
-
/** Get ai hosting
|
|
114
|
-
|
|
155
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
156
|
+
projectGetPlans: (conf: {
|
|
115
157
|
projectId: string;
|
|
116
158
|
headers?: {
|
|
117
159
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
118
160
|
} | undefined;
|
|
119
|
-
queryParameters?: {
|
|
120
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
121
|
-
planId?: string | undefined;
|
|
122
|
-
} | undefined;
|
|
123
161
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
124
|
-
description?: string | undefined;
|
|
125
|
-
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
126
162
|
modelTermsApprovalRequired: boolean;
|
|
127
|
-
|
|
128
|
-
|
|
163
|
+
plans: {
|
|
164
|
+
description?: string;
|
|
165
|
+
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
166
|
+
modelTermsApprovalRequired: boolean;
|
|
167
|
+
nextTokenReset?: string;
|
|
168
|
+
planId: string;
|
|
169
|
+
projectId: string;
|
|
170
|
+
}[];
|
|
129
171
|
}>;
|
|
130
|
-
/** Get ai hosting plan and usages of a customer
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
planId: string;
|
|
172
|
+
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
173
|
+
projectGetUsage: (conf: {
|
|
174
|
+
projectId: string;
|
|
134
175
|
headers?: {
|
|
135
176
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
136
177
|
} | undefined;
|
|
137
178
|
queryParameters?: {
|
|
138
179
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
139
|
-
|
|
180
|
+
planId?: string | undefined;
|
|
140
181
|
} | undefined;
|
|
141
182
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
142
|
-
|
|
143
|
-
deletedAt?: string | undefined;
|
|
144
|
-
description: string;
|
|
183
|
+
description?: string | undefined;
|
|
145
184
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
146
185
|
modelTermsApprovalRequired: boolean;
|
|
147
|
-
nextTokenReset
|
|
148
|
-
|
|
149
|
-
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
150
|
-
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
151
|
-
topUsages?: {
|
|
152
|
-
keyId?: string;
|
|
153
|
-
name: string;
|
|
154
|
-
projectId?: string;
|
|
155
|
-
tokenUsed: number;
|
|
156
|
-
}[] | undefined;
|
|
157
|
-
}>;
|
|
158
|
-
/** Get all ai hosting plans of a customer. */
|
|
159
|
-
customerGetPlans: (conf: {
|
|
160
|
-
customerId: string;
|
|
161
|
-
headers?: {
|
|
162
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
163
|
-
} | undefined;
|
|
164
|
-
queryParameters?: {
|
|
165
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
166
|
-
topUsageCount?: number | undefined;
|
|
167
|
-
} | undefined;
|
|
168
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
169
|
-
modelTermsApprovalRequired: boolean;
|
|
170
|
-
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanOptions[];
|
|
186
|
+
nextTokenReset?: string | undefined;
|
|
187
|
+
projectId: string;
|
|
171
188
|
}>;
|
|
172
189
|
};
|
|
173
190
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
@@ -800,6 +817,21 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
800
817
|
version: string;
|
|
801
818
|
website?: string | undefined;
|
|
802
819
|
}>;
|
|
820
|
+
/** List Services the executing user has access to. */
|
|
821
|
+
listAccessibleServices: (conf?: {
|
|
822
|
+
headers?: {
|
|
823
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
824
|
+
"x-access-token"?: string | undefined;
|
|
825
|
+
} | undefined;
|
|
826
|
+
queryParameters?: {
|
|
827
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
828
|
+
searchTerm?: string | undefined;
|
|
829
|
+
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
|
|
830
|
+
limit?: number | undefined;
|
|
831
|
+
skip?: number | undefined;
|
|
832
|
+
page?: number | undefined;
|
|
833
|
+
} | undefined;
|
|
834
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[]>;
|
|
803
835
|
/** List Stacks belonging to the executing user. */
|
|
804
836
|
listSelfStacks: (conf?: {
|
|
805
837
|
headers?: {
|
|
@@ -882,21 +914,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
882
914
|
page?: number | undefined;
|
|
883
915
|
} | undefined;
|
|
884
916
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
885
|
-
/** List Services the executing user has access to. */
|
|
886
|
-
listAccessibleServices: (conf?: {
|
|
887
|
-
headers?: {
|
|
888
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
889
|
-
"x-access-token"?: string | undefined;
|
|
890
|
-
} | undefined;
|
|
891
|
-
queryParameters?: {
|
|
892
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
893
|
-
searchTerm?: string | undefined;
|
|
894
|
-
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
|
|
895
|
-
limit?: number | undefined;
|
|
896
|
-
skip?: number | undefined;
|
|
897
|
-
page?: number | undefined;
|
|
898
|
-
} | undefined;
|
|
899
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[]>;
|
|
900
917
|
};
|
|
901
918
|
declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
902
919
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -1850,6 +1867,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1850
1867
|
queryParameters?: {
|
|
1851
1868
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1852
1869
|
includeServiceCronjobs?: boolean | undefined;
|
|
1870
|
+
stackId?: string | undefined;
|
|
1853
1871
|
limit?: number | undefined;
|
|
1854
1872
|
skip?: number | undefined;
|
|
1855
1873
|
page?: number | undefined;
|
|
@@ -2289,6 +2307,14 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2289
2307
|
page?: number | undefined;
|
|
2290
2308
|
} | undefined;
|
|
2291
2309
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
|
|
2310
|
+
/** List DNSZones belonging to a Project. */
|
|
2311
|
+
dnsListDnsZones: (conf: {
|
|
2312
|
+
projectId: string;
|
|
2313
|
+
headers?: {
|
|
2314
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2315
|
+
"x-access-token"?: string | undefined;
|
|
2316
|
+
} | undefined;
|
|
2317
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
|
|
2292
2318
|
/** Get a DNSZone. */
|
|
2293
2319
|
dnsGetDnsZone: (conf: {
|
|
2294
2320
|
dnsZoneId: string;
|
|
@@ -2308,22 +2334,35 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2308
2334
|
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
2309
2335
|
};
|
|
2310
2336
|
}>;
|
|
2311
|
-
/** Get a zone
|
|
2312
|
-
|
|
2313
|
-
|
|
2337
|
+
/** Get the status of a DNS zone-file import job. */
|
|
2338
|
+
dnsGetDnsZoneFileImport: (conf: {
|
|
2339
|
+
zoneFileImportId: string;
|
|
2314
2340
|
headers?: {
|
|
2315
2341
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2316
2342
|
"x-access-token"?: string | undefined;
|
|
2317
2343
|
} | undefined;
|
|
2318
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2319
|
-
|
|
2320
|
-
|
|
2344
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2345
|
+
failedZones: {
|
|
2346
|
+
error: string;
|
|
2347
|
+
name: string;
|
|
2348
|
+
}[];
|
|
2349
|
+
id: string;
|
|
2350
|
+
importedZones: string[];
|
|
2321
2351
|
projectId: string;
|
|
2352
|
+
skippedZones: {
|
|
2353
|
+
name: string;
|
|
2354
|
+
reason: string;
|
|
2355
|
+
}[];
|
|
2356
|
+
status: string;
|
|
2357
|
+
}>;
|
|
2358
|
+
/** Get a zone file for a DNSZone. */
|
|
2359
|
+
dnsGetZoneFile: (conf: {
|
|
2360
|
+
dnsZoneId: string;
|
|
2322
2361
|
headers?: {
|
|
2323
2362
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2324
2363
|
"x-access-token"?: string | undefined;
|
|
2325
2364
|
} | undefined;
|
|
2326
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<
|
|
2365
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
2327
2366
|
/** Get a Domain. */
|
|
2328
2367
|
getDomain: (conf: {
|
|
2329
2368
|
domainId: string;
|
|
@@ -2547,27 +2586,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2547
2586
|
ingressId?: string | undefined;
|
|
2548
2587
|
} | undefined;
|
|
2549
2588
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[]>;
|
|
2550
|
-
/** Get the status of a DNS zone-file import job. */
|
|
2551
|
-
dnsGetDnsZoneFileImport: (conf: {
|
|
2552
|
-
zoneFileImportId: string;
|
|
2553
|
-
headers?: {
|
|
2554
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2555
|
-
"x-access-token"?: string | undefined;
|
|
2556
|
-
} | undefined;
|
|
2557
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2558
|
-
failedZones?: {
|
|
2559
|
-
error?: string;
|
|
2560
|
-
name?: string;
|
|
2561
|
-
}[] | undefined;
|
|
2562
|
-
id?: string | undefined;
|
|
2563
|
-
importedZones?: string[] | undefined;
|
|
2564
|
-
projectId?: string | undefined;
|
|
2565
|
-
skippedZones?: {
|
|
2566
|
-
name?: string;
|
|
2567
|
-
reason?: string;
|
|
2568
|
-
}[] | undefined;
|
|
2569
|
-
status?: string | undefined;
|
|
2570
|
-
}>;
|
|
2571
2589
|
};
|
|
2572
2590
|
declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2573
2591
|
/** Get a File's meta. */
|