@mittwald/api-client 0.0.0-development-18fc15b-20260819 → 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.
@@ -78,6 +78,10 @@ export declare namespace MittwaldAPIV2 {
78
78
  type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectGetDetailedModels>;
79
79
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectGetDetailedModels, TStatus>;
80
80
  }
81
+ namespace AiHostingProjectGetPlans {
82
+ type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectGetPlans>;
83
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectGetPlans, TStatus>;
84
+ }
81
85
  namespace AiHostingProjectGetUsage {
82
86
  type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectGetUsage>;
83
87
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectGetUsage, TStatus>;
@@ -1930,10 +1934,6 @@ export declare namespace MittwaldAPIV2 {
1930
1934
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1931
1935
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1932
1936
  }
1933
- namespace AiHostingProjectGetPlans {
1934
- type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectGetPlans>;
1935
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectGetPlans, TStatus>;
1936
- }
1937
1937
  }
1938
1938
  namespace Components {
1939
1939
  namespace Schemas {
@@ -2061,6 +2061,17 @@ export declare namespace MittwaldAPIV2 {
2061
2061
  termsOfServiceLink: string;
2062
2062
  tokenFactor: number;
2063
2063
  }
2064
+ interface AihostingProjectPlans {
2065
+ modelTermsApprovalRequired: boolean;
2066
+ plans: {
2067
+ description?: string;
2068
+ keys: MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
2069
+ modelTermsApprovalRequired: boolean;
2070
+ nextTokenReset?: string;
2071
+ planId: string;
2072
+ projectId: string;
2073
+ }[];
2074
+ }
2064
2075
  /**
2065
2076
  * The number of allowed requests per unit. Limits are shared across all keys within the same project.
2066
2077
  */
@@ -3589,6 +3600,10 @@ export declare namespace MittwaldAPIV2 {
3589
3600
  emailAddress?: string;
3590
3601
  firstName?: string;
3591
3602
  lastName?: string;
3603
+ /**
3604
+ * German electronic invoicing routing ID (XRechnung). Only allowed for public authorities and requires a company.
3605
+ */
3606
+ leitwegId?: string;
3592
3607
  phoneNumbers?: string[];
3593
3608
  salutation: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
3594
3609
  title?: string;
@@ -3839,40 +3854,34 @@ export declare namespace MittwaldAPIV2 {
3839
3854
  number: string;
3840
3855
  }
3841
3856
  interface DnsImportDiagnostic {
3842
- code?: string;
3843
- message?: string;
3857
+ code: string;
3858
+ message: string;
3844
3859
  /**
3845
3860
  * INFO, WARNING or ERROR.
3846
3861
  */
3847
- severity?: string;
3862
+ severity: string;
3848
3863
  sourceLine?: number;
3849
3864
  }
3850
3865
  interface DnsImportRecord {
3851
3866
  flags?: number;
3852
- note?: string;
3853
3867
  port?: number;
3854
3868
  priority?: number;
3855
- sourceLine?: number;
3856
- /**
3857
- * Per-record status: OK, NORMALIZED, UNSUPPORTED or INVALID.
3858
- */
3859
- status?: string;
3860
3869
  tag?: string;
3861
- value?: string;
3870
+ value: string;
3862
3871
  weight?: number;
3863
3872
  }
3864
3873
  interface DnsImportRecordSet {
3865
- records?: MittwaldAPIV2.Components.Schemas.DnsImportRecord[];
3866
- ttlNormalized?: boolean;
3867
- ttlSeconds?: number;
3874
+ records: MittwaldAPIV2.Components.Schemas.DnsImportRecord[];
3875
+ ttlNormalized: boolean;
3876
+ ttlSeconds: number;
3868
3877
  /**
3869
3878
  * Record-set type: A_AAAA, MX, TXT, CNAME, SRV or CAA.
3870
3879
  */
3871
- type?: string;
3880
+ type: string;
3872
3881
  }
3873
3882
  interface DnsPreviewZoneFileImportResponse {
3874
- diagnostics?: MittwaldAPIV2.Components.Schemas.DnsImportDiagnostic[];
3875
- zones?: MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
3883
+ diagnostics: MittwaldAPIV2.Components.Schemas.DnsImportDiagnostic[];
3884
+ zones: MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
3876
3885
  }
3877
3886
  type DnsRecordCAA = MittwaldAPIV2.Components.Schemas.DnsRecordUnset | MittwaldAPIV2.Components.Schemas.DnsRecordCAAComponent;
3878
3887
  interface DnsRecordCAAComponent {
@@ -3985,34 +3994,33 @@ export declare namespace MittwaldAPIV2 {
3985
3994
  };
3986
3995
  }
3987
3996
  interface DnsZoneFileImport {
3988
- failedZones?: {
3989
- error?: string;
3990
- name?: string;
3997
+ failedZones: {
3998
+ error: string;
3999
+ name: string;
3991
4000
  }[];
3992
- id?: string;
3993
- importedZones?: string[];
3994
- projectId?: string;
3995
- skippedZones?: {
3996
- name?: string;
3997
- reason?: string;
4001
+ id: string;
4002
+ importedZones: string[];
4003
+ projectId: string;
4004
+ skippedZones: {
4005
+ name: string;
4006
+ reason: string;
3998
4007
  }[];
3999
4008
  /**
4000
4009
  * RUNNING, SUCCEEDED, FAILED or COMPLETED_WITH_ERRORS.
4001
4010
  */
4002
- status?: string;
4011
+ status: string;
4003
4012
  }
4004
4013
  interface DnsZoneImportPreview {
4005
- alreadyExists?: boolean;
4006
- importable?: boolean;
4007
- isRoot?: boolean;
4014
+ alreadyExists: boolean;
4015
+ importable: boolean;
4016
+ isRoot: boolean;
4008
4017
  /**
4009
4018
  * Fully-qualified name of the target zone. Every distinct owner name becomes its own zone.
4010
4019
  */
4011
- name?: string;
4012
- recordSets?: MittwaldAPIV2.Components.Schemas.DnsImportRecordSet[];
4013
- requiresVerifiedIngress?: boolean;
4014
- verifiedIngressSatisfied?: boolean;
4015
- warnings?: MittwaldAPIV2.Components.Schemas.DnsImportDiagnostic[];
4020
+ name: string;
4021
+ recordSets: MittwaldAPIV2.Components.Schemas.DnsImportRecordSet[];
4022
+ targetProjectId?: string;
4023
+ warnings: MittwaldAPIV2.Components.Schemas.DnsImportDiagnostic[];
4016
4024
  }
4017
4025
  interface DomainAuthCode {
4018
4026
  expires?: string;
@@ -5939,7 +5947,6 @@ export declare namespace MittwaldAPIV2 {
5939
5947
  interface OrderAIHostingOrder {
5940
5948
  customerId: string;
5941
5949
  monthlyTokens: number;
5942
- name?: string;
5943
5950
  requestsPerMinute: number;
5944
5951
  useFreeTrial?: boolean;
5945
5952
  }
@@ -7448,17 +7455,6 @@ export declare namespace MittwaldAPIV2 {
7448
7455
  }
7449
7456
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
7450
7457
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
7451
- interface AihostingProjectPlans {
7452
- modelTermsApprovalRequired: boolean;
7453
- plans: {
7454
- description?: string;
7455
- keys: MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
7456
- modelTermsApprovalRequired: boolean;
7457
- nextTokenReset?: string;
7458
- planId: string;
7459
- projectId: string;
7460
- }[];
7461
- }
7462
7458
  interface CommonsAddress {
7463
7459
  street: string;
7464
7460
  houseNumber: string;
@@ -8752,6 +8748,59 @@ export declare namespace MittwaldAPIV2 {
8752
8748
  }
8753
8749
  }
8754
8750
  }
8751
+ namespace V2ProjectsProjectIdAiHostings {
8752
+ namespace Get {
8753
+ namespace Parameters {
8754
+ type Path = {
8755
+ projectId: string;
8756
+ };
8757
+ type Header = {};
8758
+ type Query = {};
8759
+ }
8760
+ namespace Responses {
8761
+ namespace $200 {
8762
+ namespace Content {
8763
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingProjectPlans;
8764
+ }
8765
+ }
8766
+ namespace $400 {
8767
+ namespace Content {
8768
+ interface ApplicationJson {
8769
+ [k: string]: unknown;
8770
+ }
8771
+ }
8772
+ }
8773
+ namespace $403 {
8774
+ namespace Content {
8775
+ interface ApplicationJson {
8776
+ [k: string]: unknown;
8777
+ }
8778
+ }
8779
+ }
8780
+ namespace $404 {
8781
+ namespace Content {
8782
+ interface ApplicationJson {
8783
+ [k: string]: unknown;
8784
+ }
8785
+ }
8786
+ }
8787
+ namespace $429 {
8788
+ namespace Content {
8789
+ interface ApplicationJson {
8790
+ [k: string]: unknown;
8791
+ }
8792
+ }
8793
+ }
8794
+ namespace Default {
8795
+ namespace Content {
8796
+ interface ApplicationJson {
8797
+ [k: string]: unknown;
8798
+ }
8799
+ }
8800
+ }
8801
+ }
8802
+ }
8803
+ }
8755
8804
  namespace V2ProjectsProjectIdAiHosting {
8756
8805
  namespace Get {
8757
8806
  namespace Parameters {
@@ -15056,6 +15105,7 @@ export declare namespace MittwaldAPIV2 {
15056
15105
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
15057
15106
  type Query = {
15058
15107
  includeServiceCronjobs?: boolean;
15108
+ stackId?: string;
15059
15109
  limit?: number;
15060
15110
  skip?: number;
15061
15111
  page?: number;
@@ -18571,6 +18621,20 @@ export declare namespace MittwaldAPIV2 {
18571
18621
  }
18572
18622
  }
18573
18623
  }
18624
+ namespace $404 {
18625
+ namespace Content {
18626
+ interface ApplicationJson {
18627
+ [k: string]: unknown;
18628
+ }
18629
+ }
18630
+ }
18631
+ namespace $412 {
18632
+ namespace Content {
18633
+ interface ApplicationJson {
18634
+ [k: string]: unknown;
18635
+ }
18636
+ }
18637
+ }
18574
18638
  namespace $429 {
18575
18639
  namespace Content {
18576
18640
  interface ApplicationJson {
@@ -18656,6 +18720,20 @@ export declare namespace MittwaldAPIV2 {
18656
18720
  }
18657
18721
  }
18658
18722
  }
18723
+ namespace $404 {
18724
+ namespace Content {
18725
+ interface ApplicationJson {
18726
+ [k: string]: unknown;
18727
+ }
18728
+ }
18729
+ }
18730
+ namespace $409 {
18731
+ namespace Content {
18732
+ interface ApplicationJson {
18733
+ [k: string]: unknown;
18734
+ }
18735
+ }
18736
+ }
18659
18737
  namespace $412 {
18660
18738
  namespace Content {
18661
18739
  interface ApplicationJson {
@@ -18778,6 +18856,13 @@ export declare namespace MittwaldAPIV2 {
18778
18856
  }
18779
18857
  }
18780
18858
  }
18859
+ namespace $404 {
18860
+ namespace Content {
18861
+ interface ApplicationJson {
18862
+ [k: string]: unknown;
18863
+ }
18864
+ }
18865
+ }
18781
18866
  namespace $429 {
18782
18867
  namespace Content {
18783
18868
  interface ApplicationJson {
@@ -18862,6 +18947,20 @@ export declare namespace MittwaldAPIV2 {
18862
18947
  }
18863
18948
  }
18864
18949
  }
18950
+ namespace $404 {
18951
+ namespace Content {
18952
+ interface ApplicationJson {
18953
+ [k: string]: unknown;
18954
+ }
18955
+ }
18956
+ }
18957
+ namespace $412 {
18958
+ namespace Content {
18959
+ interface ApplicationJson {
18960
+ [k: string]: unknown;
18961
+ }
18962
+ }
18963
+ }
18865
18964
  namespace $429 {
18866
18965
  namespace Content {
18867
18966
  interface ApplicationJson {
@@ -32430,58 +32529,5 @@ export declare namespace MittwaldAPIV2 {
32430
32529
  }
32431
32530
  }
32432
32531
  }
32433
- namespace V2ProjectsProjectIdAiHostings {
32434
- namespace Get {
32435
- namespace Parameters {
32436
- type Path = {
32437
- projectId: string;
32438
- };
32439
- type Header = {};
32440
- type Query = {};
32441
- }
32442
- namespace Responses {
32443
- namespace $200 {
32444
- namespace Content {
32445
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingProjectPlans;
32446
- }
32447
- }
32448
- namespace $400 {
32449
- namespace Content {
32450
- interface ApplicationJson {
32451
- [k: string]: unknown;
32452
- }
32453
- }
32454
- }
32455
- namespace $403 {
32456
- namespace Content {
32457
- interface ApplicationJson {
32458
- [k: string]: unknown;
32459
- }
32460
- }
32461
- }
32462
- namespace $404 {
32463
- namespace Content {
32464
- interface ApplicationJson {
32465
- [k: string]: unknown;
32466
- }
32467
- }
32468
- }
32469
- namespace $429 {
32470
- namespace Content {
32471
- interface ApplicationJson {
32472
- [k: string]: unknown;
32473
- }
32474
- }
32475
- }
32476
- namespace Default {
32477
- namespace Content {
32478
- interface ApplicationJson {
32479
- [k: string]: unknown;
32480
- }
32481
- }
32482
- }
32483
- }
32484
- }
32485
- }
32486
32532
  }
32487
32533
  }
@@ -152,23 +152,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
152
152
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
153
153
  } | undefined;
154
154
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingProjectDetailedModel[]>;
155
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
156
- projectGetUsage: (conf: {
157
- projectId: string;
158
- headers?: {
159
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
160
- } | undefined;
161
- queryParameters?: {
162
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
163
- planId?: string | undefined;
164
- } | undefined;
165
- }) => import("@mittwald/react-use-promise").AsyncResource<{
166
- description?: string | undefined;
167
- keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
168
- modelTermsApprovalRequired: boolean;
169
- nextTokenReset?: string | undefined;
170
- projectId: string;
171
- }>;
172
155
  /** Get all ai hosting plans and usages of a project. */
173
156
  projectGetPlans: (conf: {
174
157
  projectId: string;
@@ -186,6 +169,23 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
186
169
  projectId: string;
187
170
  }[];
188
171
  }>;
172
+ /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
173
+ projectGetUsage: (conf: {
174
+ projectId: string;
175
+ headers?: {
176
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
177
+ } | undefined;
178
+ queryParameters?: {
179
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
180
+ planId?: string | undefined;
181
+ } | undefined;
182
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
183
+ description?: string | undefined;
184
+ keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
185
+ modelTermsApprovalRequired: boolean;
186
+ nextTokenReset?: string | undefined;
187
+ projectId: string;
188
+ }>;
189
189
  };
190
190
  declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
191
191
  /** Get an App. */
@@ -1867,6 +1867,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV3NextClient) => {
1867
1867
  queryParameters?: {
1868
1868
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1869
1869
  includeServiceCronjobs?: boolean | undefined;
1870
+ stackId?: string | undefined;
1870
1871
  limit?: number | undefined;
1871
1872
  skip?: number | undefined;
1872
1873
  page?: number | undefined;
@@ -2342,18 +2343,18 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2342
2343
  "x-access-token"?: string | undefined;
2343
2344
  } | undefined;
2344
2345
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2345
- failedZones?: {
2346
- error?: string;
2347
- name?: string;
2348
- }[] | undefined;
2349
- id?: string | undefined;
2350
- importedZones?: string[] | undefined;
2351
- projectId?: string | undefined;
2352
- skippedZones?: {
2353
- name?: string;
2354
- reason?: string;
2355
- }[] | undefined;
2356
- status?: string | undefined;
2346
+ failedZones: {
2347
+ error: string;
2348
+ name: string;
2349
+ }[];
2350
+ id: string;
2351
+ importedZones: string[];
2352
+ projectId: string;
2353
+ skippedZones: {
2354
+ name: string;
2355
+ reason: string;
2356
+ }[];
2357
+ status: string;
2357
2358
  }>;
2358
2359
  /** Get a zone file for a DNSZone. */
2359
2360
  dnsGetZoneFile: (conf: {