@mittwald/api-client 0.0.0-development-6372ff8-20260818 → 0.0.0-development-18fc15b-20260819

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.
@@ -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",
@@ -442,6 +466,12 @@ export const containerGetTemplate = {
442
466
  method: "GET",
443
467
  operationId: "container-get-template",
444
468
  };
469
+ /** List Services the executing user has access to. */
470
+ export const containerListAccessibleServices = {
471
+ path: "/v3-next/services",
472
+ method: "GET",
473
+ operationId: "container-list-accessible-services",
474
+ };
445
475
  /** List Stacks belonging to the executing user. */
446
476
  export const containerListSelfStacks = {
447
477
  path: "/v3-next/stacks",
@@ -1204,6 +1234,24 @@ export const userUpdateAccount = {
1204
1234
  method: "PUT",
1205
1235
  operationId: "user-update-account",
1206
1236
  };
1237
+ /** Start a server-side DNS zone-file import for a Project. */
1238
+ export const dnsCreateDnsZoneFileImport = {
1239
+ path: "/v3-next/projects/{projectId}/dns-zone-imports",
1240
+ method: "POST",
1241
+ operationId: "dns-create-dns-zone-file-import",
1242
+ };
1243
+ /** List DNSZones belonging to a Project. */
1244
+ export const dnsListDnsZones = {
1245
+ path: "/v3-next/projects/{projectId}/dns-zones",
1246
+ method: "GET",
1247
+ operationId: "dns-list-dns-zones",
1248
+ };
1249
+ /** Create a DNSZone for a domain in a Project. */
1250
+ export const dnsCreateProjectDnsZone = {
1251
+ path: "/v3-next/projects/{projectId}/dns-zones",
1252
+ method: "POST",
1253
+ operationId: "dns-create-project-dns-zone",
1254
+ };
1207
1255
  /** Get a DNSZone. */
1208
1256
  export const dnsGetDnsZone = {
1209
1257
  path: "/v3-next/dns-zones/{dnsZoneId}",
@@ -1216,23 +1264,23 @@ export const dnsDeleteDnsZone = {
1216
1264
  method: "DELETE",
1217
1265
  operationId: "dns-delete-dns-zone",
1218
1266
  };
1267
+ /** Get the status of a DNS zone-file import job. */
1268
+ export const dnsGetDnsZoneFileImport = {
1269
+ path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
1270
+ method: "GET",
1271
+ operationId: "dns-get-dns-zone-file-import",
1272
+ };
1219
1273
  /** Get a zone file for a DNSZone. */
1220
1274
  export const dnsGetZoneFile = {
1221
1275
  path: "/v3-next/dns-zones/{dnsZoneId}/zone-file",
1222
1276
  method: "GET",
1223
1277
  operationId: "dns-get-zone-file",
1224
1278
  };
1225
- /** List DNSZones belonging to a Project. */
1226
- export const dnsListDnsZones = {
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",
1279
+ /** Preview a DNS zone-file import for a Project. */
1280
+ export const dnsPreviewProjectDnsZoneFileImport = {
1281
+ path: "/v3-next/projects/{projectId}/dns-zones/import-preview",
1234
1282
  method: "POST",
1235
- operationId: "dns-create-project-dns-zone",
1283
+ operationId: "dns-preview-project-dns-zone-file-import",
1236
1284
  };
1237
1285
  /** Set a record set on a DNSZone to managed. */
1238
1286
  export const dnsSetRecordSetManaged = {
@@ -2842,51 +2890,9 @@ export const verificationVerifyCompany = {
2842
2890
  method: "POST",
2843
2891
  operationId: "verification-verify-company",
2844
2892
  };
2845
- /** List Services the executing user has access to. */
2846
- export const containerListAccessibleServices = {
2847
- path: "/v3-next/services",
2893
+ /** Get all ai hosting plans and usages of a project. */
2894
+ export const aiHostingProjectGetPlans = {
2895
+ path: "/v3-next/projects/{projectId}/ai-hostings",
2848
2896
  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",
2897
+ operationId: "ai-hosting-project-get-plans",
2892
2898
  };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.442.0';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-6372ff8-20260818';
@@ -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;
@@ -127,47 +169,22 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
127
169
  nextTokenReset?: string | undefined;
128
170
  projectId: string;
129
171
  }>;
130
- /** Get ai hosting plan and usages of a customer by planId. */
131
- customerGetPlan: (conf: {
132
- customerId: string;
133
- planId: string;
134
- headers?: {
135
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
136
- } | undefined;
137
- queryParameters?: {
138
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
139
- topUsageCount?: number | undefined;
140
- } | undefined;
141
- }) => import("@mittwald/react-use-promise").AsyncResource<{
142
- customerId: string;
143
- deletedAt?: string | undefined;
144
- description: string;
145
- keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
146
- modelTermsApprovalRequired: boolean;
147
- nextTokenReset: string;
148
- planId?: string | undefined;
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;
172
+ /** Get all ai hosting plans and usages of a project. */
173
+ projectGetPlans: (conf: {
174
+ projectId: string;
161
175
  headers?: {
162
176
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
163
177
  } | undefined;
164
- queryParameters?: {
165
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
166
- topUsageCount?: number | undefined;
167
- } | undefined;
168
178
  }) => import("@mittwald/react-use-promise").AsyncResource<{
169
179
  modelTermsApprovalRequired: boolean;
170
- plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanOptions[];
180
+ plans: {
181
+ description?: string;
182
+ keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
183
+ modelTermsApprovalRequired: boolean;
184
+ nextTokenReset?: string;
185
+ planId: string;
186
+ projectId: string;
187
+ }[];
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. */
@@ -2289,6 +2306,14 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2289
2306
  page?: number | undefined;
2290
2307
  } | undefined;
2291
2308
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
2309
+ /** List DNSZones belonging to a Project. */
2310
+ dnsListDnsZones: (conf: {
2311
+ projectId: string;
2312
+ headers?: {
2313
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2314
+ "x-access-token"?: string | undefined;
2315
+ } | undefined;
2316
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
2292
2317
  /** Get a DNSZone. */
2293
2318
  dnsGetDnsZone: (conf: {
2294
2319
  dnsZoneId: string;
@@ -2308,22 +2333,35 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2308
2333
  txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
2309
2334
  };
2310
2335
  }>;
2311
- /** Get a zone file for a DNSZone. */
2312
- dnsGetZoneFile: (conf: {
2313
- dnsZoneId: string;
2336
+ /** Get the status of a DNS zone-file import job. */
2337
+ dnsGetDnsZoneFileImport: (conf: {
2338
+ zoneFileImportId: string;
2314
2339
  headers?: {
2315
2340
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2316
2341
  "x-access-token"?: string | undefined;
2317
2342
  } | undefined;
2318
- }) => import("@mittwald/react-use-promise").AsyncResource<string>;
2319
- /** List DNSZones belonging to a Project. */
2320
- dnsListDnsZones: (conf: {
2321
- projectId: string;
2343
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2344
+ failedZones?: {
2345
+ error?: string;
2346
+ name?: string;
2347
+ }[] | undefined;
2348
+ id?: string | undefined;
2349
+ importedZones?: string[] | undefined;
2350
+ projectId?: string | undefined;
2351
+ skippedZones?: {
2352
+ name?: string;
2353
+ reason?: string;
2354
+ }[] | undefined;
2355
+ status?: string | undefined;
2356
+ }>;
2357
+ /** Get a zone file for a DNSZone. */
2358
+ dnsGetZoneFile: (conf: {
2359
+ dnsZoneId: string;
2322
2360
  headers?: {
2323
2361
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2324
2362
  "x-access-token"?: string | undefined;
2325
2363
  } | undefined;
2326
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
2364
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
2327
2365
  /** Get a Domain. */
2328
2366
  getDomain: (conf: {
2329
2367
  domainId: string;
@@ -2547,27 +2585,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2547
2585
  ingressId?: string | undefined;
2548
2586
  } | undefined;
2549
2587
  } | 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
2588
  };
2572
2589
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
2573
2590
  /** Get a File's meta. */