@mittwald/api-client 0.0.0-development-ea5290f-20260831 → 0.0.0-development-bf8b0ba-20260902

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.
@@ -46,10 +46,6 @@ export declare namespace MittwaldAPIV2 {
46
46
  type RequestData = InferredRequestData<typeof descriptors.aiHostingCustomerUpdatePlan>;
47
47
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingCustomerUpdatePlan, TStatus>;
48
48
  }
49
- namespace AiHostingCustomerGetUsage {
50
- type RequestData = InferredRequestData<typeof descriptors.aiHostingCustomerGetUsage>;
51
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingCustomerGetUsage, TStatus>;
52
- }
53
49
  namespace AiHostingGetModels {
54
50
  type RequestData = InferredRequestData<typeof descriptors.aiHostingGetModels>;
55
51
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingGetModels, TStatus>;
@@ -82,10 +78,6 @@ export declare namespace MittwaldAPIV2 {
82
78
  type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectGetPlans>;
83
79
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectGetPlans, TStatus>;
84
80
  }
85
- namespace AiHostingProjectGetUsage {
86
- type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectGetUsage>;
87
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectGetUsage, TStatus>;
88
- }
89
81
  namespace AiHostingProjectLinkContainer {
90
82
  type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectLinkContainer>;
91
83
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectLinkContainer, TStatus>;
@@ -1950,6 +1942,10 @@ export declare namespace MittwaldAPIV2 {
1950
1942
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1951
1943
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1952
1944
  }
1945
+ namespace AiHostingProjectGetPlan {
1946
+ type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectGetPlan>;
1947
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectGetPlan, TStatus>;
1948
+ }
1953
1949
  }
1954
1950
  namespace Components {
1955
1951
  namespace Schemas {
@@ -1992,7 +1988,7 @@ export declare namespace MittwaldAPIV2 {
1992
1988
  keys: MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
1993
1989
  modelTermsApprovalRequired: boolean;
1994
1990
  nextTokenReset: string;
1995
- planId?: string;
1991
+ planId: string;
1996
1992
  rateLimit: MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
1997
1993
  tokens: MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
1998
1994
  topUsages?: {
@@ -4042,9 +4038,9 @@ export declare namespace MittwaldAPIV2 {
4042
4038
  }
4043
4039
  interface DnsZoneFileImport {
4044
4040
  /**
4045
- * When the import job was created. Absent on jobs created before this field existed.
4041
+ * When the import job was created (publish time of the created event).
4046
4042
  */
4047
- createdAt?: string;
4043
+ createdAt: string;
4048
4044
  failedZones: {
4049
4045
  error: string;
4050
4046
  name: string;
@@ -4197,7 +4193,7 @@ export declare namespace MittwaldAPIV2 {
4197
4193
  * * `registrarNotSupported`: COAB names a registrar we do not support for migration.
4198
4194
  * * `notOrderable`: the order service rejected the domain for a reason other than an unsupported TLD or a still-reserved domain.
4199
4195
  * * `insufficientState`: the COAB data is incomplete (e.g. missing registrar, price or owner) or the domain is still reserved at the registry.
4200
- * * `contractDateOutOfRange`: the COAB contract's next-period date is in the past or more than two years in the future.
4196
+ * * `contractDateOutOfRange`: the COAB contract's next-period date is more than two years in the future (implausible data). A next-period date in the past is *not* rejected - the domain stays migratable and its order is billed from now.
4201
4197
  * * `invalidDomainName`: the COAB domain name does not match the `idn-naked-domain` format we accept.
4202
4198
  * * `ownerContactInvalid`: the domain's owner contact data (Inhaberdaten) failed validation at the registry/domain-service (invalid characters, or a TLD-specific contact-schema rule such as no consecutive whitespaces), so the migration is rejected. `ownerContactIssues` on the domain carries the affected field(s)/rule(s).
4203
4199
  */
@@ -8345,61 +8341,7 @@ export declare namespace MittwaldAPIV2 {
8345
8341
  }
8346
8342
  }
8347
8343
  }
8348
- namespace V2CustomersCustomerIdAiHosting {
8349
- namespace Get {
8350
- namespace Parameters {
8351
- type Path = {
8352
- customerId: string;
8353
- };
8354
- type Header = {};
8355
- type Query = {
8356
- topUsageCount?: number;
8357
- };
8358
- }
8359
- namespace Responses {
8360
- namespace $200 {
8361
- namespace Content {
8362
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingCustomerPlan;
8363
- }
8364
- }
8365
- namespace $400 {
8366
- namespace Content {
8367
- interface ApplicationJson {
8368
- [k: string]: unknown;
8369
- }
8370
- }
8371
- }
8372
- namespace $403 {
8373
- namespace Content {
8374
- interface ApplicationJson {
8375
- [k: string]: unknown;
8376
- }
8377
- }
8378
- }
8379
- namespace $404 {
8380
- namespace Content {
8381
- interface ApplicationJson {
8382
- [k: string]: unknown;
8383
- }
8384
- }
8385
- }
8386
- namespace $429 {
8387
- namespace Content {
8388
- interface ApplicationJson {
8389
- [k: string]: unknown;
8390
- }
8391
- }
8392
- }
8393
- namespace Default {
8394
- namespace Content {
8395
- interface ApplicationJson {
8396
- [k: string]: unknown;
8397
- }
8398
- }
8399
- }
8400
- }
8401
- }
8402
- }
8344
+ namespace V2CustomersCustomerIdAiHosting { }
8403
8345
  namespace V2AiHostingModels {
8404
8346
  namespace Get {
8405
8347
  namespace Parameters {
@@ -8872,67 +8814,7 @@ export declare namespace MittwaldAPIV2 {
8872
8814
  }
8873
8815
  }
8874
8816
  }
8875
- namespace V2ProjectsProjectIdAiHosting {
8876
- namespace Get {
8877
- namespace Parameters {
8878
- type Path = {
8879
- projectId: string;
8880
- };
8881
- type Header = {};
8882
- type Query = {
8883
- planId?: string;
8884
- };
8885
- }
8886
- namespace Responses {
8887
- namespace $200 {
8888
- namespace Content {
8889
- interface ApplicationJson {
8890
- description?: string;
8891
- keys: MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
8892
- modelTermsApprovalRequired: boolean;
8893
- nextTokenReset?: string;
8894
- projectId: string;
8895
- }
8896
- }
8897
- }
8898
- namespace $400 {
8899
- namespace Content {
8900
- interface ApplicationJson {
8901
- [k: string]: unknown;
8902
- }
8903
- }
8904
- }
8905
- namespace $403 {
8906
- namespace Content {
8907
- interface ApplicationJson {
8908
- [k: string]: unknown;
8909
- }
8910
- }
8911
- }
8912
- namespace $404 {
8913
- namespace Content {
8914
- interface ApplicationJson {
8915
- [k: string]: unknown;
8916
- }
8917
- }
8918
- }
8919
- namespace $429 {
8920
- namespace Content {
8921
- interface ApplicationJson {
8922
- [k: string]: unknown;
8923
- }
8924
- }
8925
- }
8926
- namespace Default {
8927
- namespace Content {
8928
- interface ApplicationJson {
8929
- [k: string]: unknown;
8930
- }
8931
- }
8932
- }
8933
- }
8934
- }
8935
- }
8817
+ namespace V2ProjectsProjectIdAiHosting { }
8936
8818
  namespace V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer {
8937
8819
  namespace Post {
8938
8820
  namespace Parameters {
@@ -9012,7 +8894,7 @@ export declare namespace MittwaldAPIV2 {
9012
8894
  type Query = {};
9013
8895
  }
9014
8896
  namespace Responses {
9015
- namespace $200 {
8897
+ namespace $204 {
9016
8898
  namespace Content {
9017
8899
  type Empty = unknown;
9018
8900
  }
@@ -9753,7 +9635,7 @@ export declare namespace MittwaldAPIV2 {
9753
9635
  type Query = {};
9754
9636
  }
9755
9637
  namespace Responses {
9756
- namespace $200 {
9638
+ namespace $204 {
9757
9639
  namespace Content {
9758
9640
  type Empty = unknown;
9759
9641
  }
@@ -11903,7 +11785,10 @@ export declare namespace MittwaldAPIV2 {
11903
11785
  stackId: string;
11904
11786
  serviceId: string;
11905
11787
  };
11906
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11788
+ type Header = {
11789
+ Range?: string;
11790
+ "If-Range"?: string;
11791
+ } & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11907
11792
  type Query = {
11908
11793
  tail?: number;
11909
11794
  };
@@ -11914,6 +11799,11 @@ export declare namespace MittwaldAPIV2 {
11914
11799
  type TextPlain = string;
11915
11800
  }
11916
11801
  }
11802
+ namespace $206 {
11803
+ namespace Content {
11804
+ type TextPlain = string;
11805
+ }
11806
+ }
11917
11807
  namespace $403 {
11918
11808
  namespace Content {
11919
11809
  interface ApplicationJson {
@@ -16837,9 +16727,10 @@ export declare namespace MittwaldAPIV2 {
16837
16727
  }
16838
16728
  }
16839
16729
  }
16840
- namespace $500 {
16730
+ namespace Default {
16841
16731
  namespace Content {
16842
16732
  interface ApplicationJson {
16733
+ [k: string]: unknown;
16843
16734
  }
16844
16735
  }
16845
16736
  }
@@ -28179,7 +28070,10 @@ export declare namespace MittwaldAPIV2 {
28179
28070
  type Path = {
28180
28071
  projectId: string;
28181
28072
  };
28182
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
28073
+ type Header = {
28074
+ Range?: string;
28075
+ "If-Range"?: string;
28076
+ } & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
28183
28077
  type Query = {
28184
28078
  file?: string;
28185
28079
  inline?: boolean;
@@ -28191,6 +28085,11 @@ export declare namespace MittwaldAPIV2 {
28191
28085
  type ApplicationOctetStream = string;
28192
28086
  }
28193
28087
  }
28088
+ namespace $206 {
28089
+ namespace Content {
28090
+ type ApplicationOctetStream = string;
28091
+ }
28092
+ }
28194
28093
  namespace $403 {
28195
28094
  namespace Content {
28196
28095
  interface ApplicationJson {
@@ -32782,5 +32681,59 @@ export declare namespace MittwaldAPIV2 {
32782
32681
  }
32783
32682
  }
32784
32683
  }
32684
+ namespace V2ProjectsProjectIdAiHostingsPlanId {
32685
+ namespace Get {
32686
+ namespace Parameters {
32687
+ type Path = {
32688
+ projectId: string;
32689
+ planId: string;
32690
+ };
32691
+ type Header = {};
32692
+ type Query = {};
32693
+ }
32694
+ namespace Responses {
32695
+ namespace $200 {
32696
+ namespace Content {
32697
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingProjectPlan;
32698
+ }
32699
+ }
32700
+ namespace $400 {
32701
+ namespace Content {
32702
+ interface ApplicationJson {
32703
+ [k: string]: unknown;
32704
+ }
32705
+ }
32706
+ }
32707
+ namespace $403 {
32708
+ namespace Content {
32709
+ interface ApplicationJson {
32710
+ [k: string]: unknown;
32711
+ }
32712
+ }
32713
+ }
32714
+ namespace $404 {
32715
+ namespace Content {
32716
+ interface ApplicationJson {
32717
+ [k: string]: unknown;
32718
+ }
32719
+ }
32720
+ }
32721
+ namespace $429 {
32722
+ namespace Content {
32723
+ interface ApplicationJson {
32724
+ [k: string]: unknown;
32725
+ }
32726
+ }
32727
+ }
32728
+ namespace Default {
32729
+ namespace Content {
32730
+ interface ApplicationJson {
32731
+ [k: string]: unknown;
32732
+ }
32733
+ }
32734
+ }
32735
+ }
32736
+ }
32737
+ }
32785
32738
  }
32786
32739
  }
@@ -72,34 +72,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
72
72
  keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
73
73
  modelTermsApprovalRequired: boolean;
74
74
  nextTokenReset: string;
75
- planId?: string | undefined;
76
- rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
77
- tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
78
- topUsages?: {
79
- keyId?: string;
80
- name: string;
81
- projectId?: string;
82
- tokenUsed: number;
83
- }[] | undefined;
84
- }>;
85
- /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
86
- customerGetUsage: (conf: {
87
- customerId: string;
88
- headers?: {
89
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
90
- } | undefined;
91
- queryParameters?: {
92
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
93
- topUsageCount?: number | undefined;
94
- } | undefined;
95
- }) => import("@mittwald/react-use-promise").AsyncResource<{
96
- customerId: string;
97
- deletedAt?: string | undefined;
98
- description: string;
99
- keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
100
- modelTermsApprovalRequired: boolean;
101
- nextTokenReset: string;
102
- planId?: string | undefined;
75
+ planId: string;
103
76
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
104
77
  tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
105
78
  topUsages?: {
@@ -164,21 +137,19 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
164
137
  modelTermsApprovalRequired: boolean;
165
138
  plans: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingProjectPlan[];
166
139
  }>;
167
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
168
- projectGetUsage: (conf: {
140
+ /** Get ai hosting plan and usages of a project by planId. */
141
+ projectGetPlan: (conf: {
169
142
  projectId: string;
143
+ planId: string;
170
144
  headers?: {
171
145
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
172
146
  } | undefined;
173
- queryParameters?: {
174
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
175
- planId?: string | undefined;
176
- } | undefined;
177
147
  }) => import("@mittwald/react-use-promise").AsyncResource<{
178
148
  description?: string | undefined;
179
149
  keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
180
150
  modelTermsApprovalRequired: boolean;
181
151
  nextTokenReset?: string | undefined;
152
+ planId: string;
182
153
  projectId: string;
183
154
  }>;
184
155
  };
@@ -712,6 +683,8 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
712
683
  serviceId: string;
713
684
  headers?: {
714
685
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
686
+ Range?: string | undefined;
687
+ "If-Range"?: string | undefined;
715
688
  "x-access-token"?: string | undefined;
716
689
  } | undefined;
717
690
  queryParameters?: {
@@ -2362,7 +2335,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2362
2335
  "x-access-token"?: string | undefined;
2363
2336
  } | undefined;
2364
2337
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2365
- createdAt?: string | undefined;
2338
+ createdAt: string;
2366
2339
  failedZones: {
2367
2340
  error: string;
2368
2341
  name: string;
@@ -3854,6 +3827,8 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV3NextClient) =
3854
3827
  projectId: string;
3855
3828
  headers?: {
3856
3829
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3830
+ Range?: string | undefined;
3831
+ "If-Range"?: string | undefined;
3857
3832
  "x-access-token"?: string | undefined;
3858
3833
  } | undefined;
3859
3834
  queryParameters?: {