@mittwald/api-client 0.0.0-development-d78fbd1-20260907 → 0.0.0-development-2348cf1-20260908

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.
@@ -50,6 +50,14 @@ export declare namespace MittwaldAPIV2 {
50
50
  type RequestData = InferredRequestData<typeof descriptors.aiHostingGetModels>;
51
51
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingGetModels, TStatus>;
52
52
  }
53
+ namespace AiHostingPlanGetBillingPeriods {
54
+ type RequestData = InferredRequestData<typeof descriptors.aiHostingPlanGetBillingPeriods>;
55
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingPlanGetBillingPeriods, TStatus>;
56
+ }
57
+ namespace AiHostingPlanGetUsageStats {
58
+ type RequestData = InferredRequestData<typeof descriptors.aiHostingPlanGetUsageStats>;
59
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingPlanGetUsageStats, TStatus>;
60
+ }
53
61
  namespace AiHostingProjectGetKeys {
54
62
  type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectGetKeys>;
55
63
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectGetKeys, TStatus>;
@@ -850,21 +858,9 @@ export declare namespace MittwaldAPIV2 {
850
858
  type RequestData = InferredRequestData<typeof descriptors.userUpdateAccount>;
851
859
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userUpdateAccount, TStatus>;
852
860
  }
853
- namespace DnsListDnsZoneFileImports {
854
- type RequestData = InferredRequestData<typeof descriptors.dnsListDnsZoneFileImports>;
855
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsListDnsZoneFileImports, TStatus>;
856
- }
857
- namespace DnsCreateDnsZoneFileImport {
858
- type RequestData = InferredRequestData<typeof descriptors.dnsCreateDnsZoneFileImport>;
859
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsCreateDnsZoneFileImport, TStatus>;
860
- }
861
- namespace DnsListDnsZones {
862
- type RequestData = InferredRequestData<typeof descriptors.dnsListDnsZones>;
863
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsListDnsZones, TStatus>;
864
- }
865
- namespace DnsCreateProjectDnsZone {
866
- type RequestData = InferredRequestData<typeof descriptors.dnsCreateProjectDnsZone>;
867
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsCreateProjectDnsZone, TStatus>;
861
+ namespace DnsCreateDnsZone {
862
+ type RequestData = InferredRequestData<typeof descriptors.dnsCreateDnsZone>;
863
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsCreateDnsZone, TStatus>;
868
864
  }
869
865
  namespace DnsGetDnsZone {
870
866
  type RequestData = InferredRequestData<typeof descriptors.dnsGetDnsZone>;
@@ -874,14 +870,14 @@ export declare namespace MittwaldAPIV2 {
874
870
  type RequestData = InferredRequestData<typeof descriptors.dnsDeleteDnsZone>;
875
871
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsDeleteDnsZone, TStatus>;
876
872
  }
877
- namespace DnsGetDnsZoneFileImport {
878
- type RequestData = InferredRequestData<typeof descriptors.dnsGetDnsZoneFileImport>;
879
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsGetDnsZoneFileImport, TStatus>;
880
- }
881
873
  namespace DnsGetZoneFile {
882
874
  type RequestData = InferredRequestData<typeof descriptors.dnsGetZoneFile>;
883
875
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsGetZoneFile, TStatus>;
884
876
  }
877
+ namespace DnsListDnsZones {
878
+ type RequestData = InferredRequestData<typeof descriptors.dnsListDnsZones>;
879
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsListDnsZones, TStatus>;
880
+ }
885
881
  namespace DnsSetRecordSetManaged {
886
882
  type RequestData = InferredRequestData<typeof descriptors.dnsSetRecordSetManaged>;
887
883
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsSetRecordSetManaged, TStatus>;
@@ -1966,14 +1962,6 @@ export declare namespace MittwaldAPIV2 {
1966
1962
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1967
1963
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1968
1964
  }
1969
- namespace AiHostingPlanGetBillingPeriods {
1970
- type RequestData = InferredRequestData<typeof descriptors.aiHostingPlanGetBillingPeriods>;
1971
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingPlanGetBillingPeriods, TStatus>;
1972
- }
1973
- namespace AiHostingPlanGetUsageStats {
1974
- type RequestData = InferredRequestData<typeof descriptors.aiHostingPlanGetUsageStats>;
1975
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingPlanGetUsageStats, TStatus>;
1976
- }
1977
1965
  }
1978
1966
  namespace Components {
1979
1967
  namespace Schemas {
@@ -2070,6 +2058,30 @@ export declare namespace MittwaldAPIV2 {
2070
2058
  termsOfServiceLink: string;
2071
2059
  tokenFactor: number;
2072
2060
  }
2061
+ interface AihostingPlanBillingPeriods {
2062
+ customerId: string;
2063
+ /**
2064
+ * End of the current period, i.e. when the token counter next resets.
2065
+ */
2066
+ nextTokenReset?: string;
2067
+ /**
2068
+ * Every contract month of the plan from its start up to the current one, anchored on the plan start date rather than the calendar.
2069
+ */
2070
+ periods: {
2071
+ end: string;
2072
+ isCurrent: boolean;
2073
+ /**
2074
+ * True when an upgrade cut this period short: the token counter is reset immediately on an upgrade, so the period ends there instead of on the regular grid. A downgrade does not do this - it takes effect at the next regular boundary.
2075
+ */
2076
+ shortenedByUpgrade: boolean;
2077
+ start: string;
2078
+ /**
2079
+ * The limit that applied during this period, which after a tariff change differs from the plan's current limit.
2080
+ */
2081
+ tokenLimit: number;
2082
+ }[];
2083
+ planId: string;
2084
+ }
2073
2085
  type AihostingPlanOptions = MittwaldAPIV2.Components.Schemas.AihostingCustomerPlan;
2074
2086
  interface AihostingPlanUsageBig {
2075
2087
  available: number;
@@ -2081,6 +2093,45 @@ export declare namespace MittwaldAPIV2 {
2081
2093
  planLimit: number;
2082
2094
  used: number;
2083
2095
  }
2096
+ interface AihostingPlanUsageStats {
2097
+ customerId: string;
2098
+ daily: {
2099
+ byKey: {
2100
+ [k: string]: number;
2101
+ };
2102
+ date: string;
2103
+ totalTokens: number;
2104
+ }[];
2105
+ detailed?: {
2106
+ [k: string]: {
2107
+ byKey?: {
2108
+ [k: string]: {
2109
+ byModel?: {
2110
+ [k: string]: number;
2111
+ };
2112
+ tokens?: number;
2113
+ };
2114
+ };
2115
+ };
2116
+ };
2117
+ /**
2118
+ * Every licence of the plan, most used in the timeframe first. Includes licences deleted inside the timeframe, which still carry usage but are no longer returned by the keys endpoint. Ordered, so callers can key chart colours off the position.
2119
+ */
2120
+ keys: {
2121
+ id: string;
2122
+ name: string;
2123
+ }[];
2124
+ modelShare: {
2125
+ model: string;
2126
+ tokens: number;
2127
+ }[];
2128
+ planId: string;
2129
+ timeframe: {
2130
+ end: string;
2131
+ start: string;
2132
+ };
2133
+ totalTokens: number;
2134
+ }
2084
2135
  interface AihostingProfile {
2085
2136
  planIds: string[];
2086
2137
  }
@@ -3734,7 +3785,7 @@ export declare namespace MittwaldAPIV2 {
3734
3785
  owner?: MittwaldAPIV2.Components.Schemas.CustomerContact;
3735
3786
  projectCount: number;
3736
3787
  vatId?: string;
3737
- vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified";
3788
+ vatIdValidationState?: "valid" | "invalid" | "pending" | "unsupported" | "unspecified";
3738
3789
  }
3739
3790
  interface DatabaseCreateMySqlDatabase {
3740
3791
  characterSettings?: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
@@ -3946,45 +3997,6 @@ export declare namespace MittwaldAPIV2 {
3946
3997
  name: string;
3947
3998
  number: string;
3948
3999
  }
3949
- interface DnsCreateZoneFileImportResponse {
3950
- conflicts: MittwaldAPIV2.Components.Schemas.DnsImportConflict[];
3951
- /**
3952
- * ID of the started import job. Absent on a dry-run (dry-run=true), which creates no job.
3953
- */
3954
- id?: string;
3955
- zones: MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
3956
- }
3957
- interface DnsImportConflict {
3958
- code: "parseError" | "invalidRecord" | "unsupportedRecordType" | "cnameConflict" | "foreignCustomerIngress" | "rootZoneUnavailable";
3959
- message: string;
3960
- /**
3961
- * Offending record/owner name. Empty for a file-level parse error, where sourceLine locates the bad line.
3962
- */
3963
- name?: string;
3964
- /**
3965
- * Only on an invalidRecord conflict: the offending record's rendered value (e.g. "10 ." for an MX).
3966
- */
3967
- record?: string;
3968
- /**
3969
- * Only on an invalidRecord conflict: the offending record's set type.
3970
- */
3971
- recordSetType?: "a" | "mx" | "txt" | "cname" | "srv" | "caa";
3972
- sourceLine?: number;
3973
- }
3974
- interface DnsImportRecord {
3975
- flags?: number;
3976
- port?: number;
3977
- priority?: number;
3978
- tag?: string;
3979
- value: string;
3980
- weight?: number;
3981
- }
3982
- interface DnsImportRecordSet {
3983
- records: MittwaldAPIV2.Components.Schemas.DnsImportRecord[];
3984
- ttlNormalized: boolean;
3985
- ttlSeconds: number;
3986
- type: "a" | "mx" | "txt" | "cname" | "srv" | "caa";
3987
- }
3988
4000
  type DnsRecordCAA = MittwaldAPIV2.Components.Schemas.DnsRecordUnset | MittwaldAPIV2.Components.Schemas.DnsRecordCAAComponent;
3989
4001
  interface DnsRecordCAAComponent {
3990
4002
  /**
@@ -4095,36 +4107,6 @@ export declare namespace MittwaldAPIV2 {
4095
4107
  txt: MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
4096
4108
  };
4097
4109
  }
4098
- interface DnsZoneFileImport {
4099
- /**
4100
- * When the import job was created (publish time of the created event).
4101
- */
4102
- createdAt: string;
4103
- failedZones: {
4104
- error: string;
4105
- name: string;
4106
- }[];
4107
- id: string;
4108
- importedZones: string[];
4109
- projectId: string;
4110
- skippedZones: {
4111
- name: string;
4112
- reason: string;
4113
- }[];
4114
- status: "running" | "succeeded" | "failed" | "completedWithErrors";
4115
- }
4116
- interface DnsZoneImportPreview {
4117
- alreadyExists: boolean;
4118
- /**
4119
- * Fully-qualified name of the target zone. Every distinct owner name becomes its own zone. Only importable zones are listed; a zone named by a conflict is omitted.
4120
- */
4121
- name: string;
4122
- recordSets: MittwaldAPIV2.Components.Schemas.DnsImportRecordSet[];
4123
- /**
4124
- * Project the zone would be created in. Always set, since only importable zones are listed.
4125
- */
4126
- targetProjectId?: string;
4127
- }
4128
4110
  interface DomainAuthCode {
4129
4111
  expires?: string;
4130
4112
  value: string;
@@ -4158,7 +4140,6 @@ export declare namespace MittwaldAPIV2 {
4158
4140
  interface DomainDomain {
4159
4141
  authCode?: MittwaldAPIV2.Components.Schemas.DomainAuthCode;
4160
4142
  authCode2?: MittwaldAPIV2.Components.Schemas.DomainAuthCode2;
4161
- authInfo2CreatedAt?: string;
4162
4143
  connected: boolean;
4163
4144
  contactHash?: string;
4164
4145
  deleted: boolean;
@@ -7455,6 +7436,7 @@ export declare namespace MittwaldAPIV2 {
7455
7436
  subject: string;
7456
7437
  vote: number;
7457
7438
  }
7439
+ type UserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
7458
7440
  interface UserProjectMembership {
7459
7441
  expiresAt?: string;
7460
7442
  id?: string;
@@ -7584,70 +7566,6 @@ export declare namespace MittwaldAPIV2 {
7584
7566
  }
7585
7567
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
7586
7568
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
7587
- type UserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
7588
- interface AihostingPlanBillingPeriods {
7589
- customerId: string;
7590
- /**
7591
- * End of the current period, i.e. when the token counter next resets.
7592
- */
7593
- nextTokenReset?: string;
7594
- /**
7595
- * Every contract month of the plan from its start up to the current one, anchored on the plan start date rather than the calendar.
7596
- */
7597
- periods: {
7598
- end: string;
7599
- isCurrent: boolean;
7600
- /**
7601
- * True when an upgrade cut this period short: the token counter is reset immediately on an upgrade, so the period ends there instead of on the regular grid. A downgrade does not do this - it takes effect at the next regular boundary.
7602
- */
7603
- shortenedByUpgrade: boolean;
7604
- start: string;
7605
- /**
7606
- * The limit that applied during this period, which after a tariff change differs from the plan's current limit.
7607
- */
7608
- tokenLimit: number;
7609
- }[];
7610
- planId: string;
7611
- }
7612
- interface AihostingPlanUsageStats {
7613
- customerId: string;
7614
- daily: {
7615
- byKey: {
7616
- [k: string]: number;
7617
- };
7618
- date: string;
7619
- totalTokens: number;
7620
- }[];
7621
- detailed?: {
7622
- [k: string]: {
7623
- byKey?: {
7624
- [k: string]: {
7625
- byModel?: {
7626
- [k: string]: number;
7627
- };
7628
- tokens?: number;
7629
- };
7630
- };
7631
- };
7632
- };
7633
- /**
7634
- * Every licence of the plan, most used in the timeframe first. Includes licences deleted inside the timeframe, which still carry usage but are no longer returned by the keys endpoint. Ordered, so callers can key chart colours off the position.
7635
- */
7636
- keys: {
7637
- id: string;
7638
- name: string;
7639
- }[];
7640
- modelShare: {
7641
- model: string;
7642
- tokens: number;
7643
- }[];
7644
- planId: string;
7645
- timeframe: {
7646
- end: string;
7647
- start: string;
7648
- };
7649
- totalTokens: number;
7650
- }
7651
7569
  interface CommonsAddress {
7652
7570
  street: string;
7653
7571
  houseNumber: string;
@@ -8524,24 +8442,136 @@ export declare namespace MittwaldAPIV2 {
8524
8442
  }
8525
8443
  }
8526
8444
  }
8527
- namespace V2ProjectsProjectIdAiHostingKeys {
8445
+ namespace V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods {
8528
8446
  namespace Get {
8529
8447
  namespace Parameters {
8530
8448
  type Path = {
8531
- projectId: string;
8449
+ customerId: string;
8450
+ planId: string;
8451
+ };
8452
+ type Header = {};
8453
+ type Query = {};
8454
+ }
8455
+ namespace Responses {
8456
+ namespace $200 {
8457
+ namespace Content {
8458
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingPlanBillingPeriods;
8459
+ }
8460
+ }
8461
+ namespace $400 {
8462
+ namespace Content {
8463
+ interface ApplicationJson {
8464
+ [k: string]: unknown;
8465
+ }
8466
+ }
8467
+ }
8468
+ namespace $403 {
8469
+ namespace Content {
8470
+ interface ApplicationJson {
8471
+ [k: string]: unknown;
8472
+ }
8473
+ }
8474
+ }
8475
+ namespace $404 {
8476
+ namespace Content {
8477
+ interface ApplicationJson {
8478
+ [k: string]: unknown;
8479
+ }
8480
+ }
8481
+ }
8482
+ namespace $429 {
8483
+ namespace Content {
8484
+ interface ApplicationJson {
8485
+ [k: string]: unknown;
8486
+ }
8487
+ }
8488
+ }
8489
+ namespace Default {
8490
+ namespace Content {
8491
+ interface ApplicationJson {
8492
+ [k: string]: unknown;
8493
+ }
8494
+ }
8495
+ }
8496
+ }
8497
+ }
8498
+ }
8499
+ namespace V2CustomersCustomerIdAiHostingsPlanIdUsage {
8500
+ namespace Get {
8501
+ namespace Parameters {
8502
+ type Path = {
8503
+ customerId: string;
8504
+ planId: string;
8532
8505
  };
8533
8506
  type Header = {};
8534
8507
  type Query = {
8535
- planId?: string;
8536
- limit?: number;
8537
- skip?: number;
8538
- page?: number;
8508
+ startDate: string;
8509
+ endDate: string;
8510
+ detailed?: boolean;
8539
8511
  };
8540
8512
  }
8541
8513
  namespace Responses {
8542
8514
  namespace $200 {
8543
8515
  namespace Content {
8544
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey[];
8516
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingPlanUsageStats;
8517
+ }
8518
+ }
8519
+ namespace $400 {
8520
+ namespace Content {
8521
+ interface ApplicationJson {
8522
+ [k: string]: unknown;
8523
+ }
8524
+ }
8525
+ }
8526
+ namespace $403 {
8527
+ namespace Content {
8528
+ interface ApplicationJson {
8529
+ [k: string]: unknown;
8530
+ }
8531
+ }
8532
+ }
8533
+ namespace $404 {
8534
+ namespace Content {
8535
+ interface ApplicationJson {
8536
+ [k: string]: unknown;
8537
+ }
8538
+ }
8539
+ }
8540
+ namespace $429 {
8541
+ namespace Content {
8542
+ interface ApplicationJson {
8543
+ [k: string]: unknown;
8544
+ }
8545
+ }
8546
+ }
8547
+ namespace Default {
8548
+ namespace Content {
8549
+ interface ApplicationJson {
8550
+ [k: string]: unknown;
8551
+ }
8552
+ }
8553
+ }
8554
+ }
8555
+ }
8556
+ }
8557
+ namespace V2ProjectsProjectIdAiHostingKeys {
8558
+ namespace Get {
8559
+ namespace Parameters {
8560
+ type Path = {
8561
+ projectId: string;
8562
+ };
8563
+ type Header = {};
8564
+ type Query = {
8565
+ planId?: string;
8566
+ limit?: number;
8567
+ skip?: number;
8568
+ page?: number;
8569
+ };
8570
+ }
8571
+ namespace Responses {
8572
+ namespace $200 {
8573
+ namespace Content {
8574
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey[];
8545
8575
  }
8546
8576
  }
8547
8577
  namespace $400 {
@@ -19070,159 +19100,13 @@ export declare namespace MittwaldAPIV2 {
19070
19100
  namespace V2SignupSessionsTokenId { }
19071
19101
  namespace V2SignupProfile { }
19072
19102
  namespace V2SignupEmailVerify { }
19073
- namespace V2ProjectsProjectIdDnsZoneImports {
19074
- namespace Get {
19075
- namespace Parameters {
19076
- type Path = {
19077
- projectId: string;
19078
- };
19079
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19080
- type Query = {
19081
- limit?: number;
19082
- skip?: number;
19083
- page?: number;
19084
- sort?: "createdAt";
19085
- order?: "asc" | "desc";
19086
- };
19087
- }
19088
- namespace Responses {
19089
- namespace $200 {
19090
- namespace Content {
19091
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[];
19092
- }
19093
- }
19094
- namespace $400 {
19095
- namespace Content {
19096
- interface ApplicationJson {
19097
- [k: string]: unknown;
19098
- }
19099
- }
19100
- }
19101
- namespace $429 {
19102
- namespace Content {
19103
- interface ApplicationJson {
19104
- [k: string]: unknown;
19105
- }
19106
- }
19107
- }
19108
- namespace Default {
19109
- namespace Content {
19110
- interface ApplicationJson {
19111
- [k: string]: unknown;
19112
- }
19113
- }
19114
- }
19115
- }
19116
- }
19103
+ namespace V2DnsZones {
19117
19104
  namespace Post {
19118
19105
  namespace Parameters {
19119
- type Path = {
19120
- projectId: string;
19121
- };
19122
- interface RequestBody {
19123
- /**
19124
- * Raw RFC-1035 zone file content to import.
19125
- */
19126
- zoneFile: string;
19127
- }
19128
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19129
- type Query = {
19130
- "dry-run"?: boolean;
19131
- };
19132
- }
19133
- namespace Responses {
19134
- namespace $200 {
19135
- namespace Content {
19136
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsCreateZoneFileImportResponse;
19137
- }
19138
- }
19139
- namespace $400 {
19140
- namespace Content {
19141
- interface ApplicationJson {
19142
- [k: string]: unknown;
19143
- }
19144
- }
19145
- }
19146
- namespace $404 {
19147
- namespace Content {
19148
- interface ApplicationJson {
19149
- [k: string]: unknown;
19150
- }
19151
- }
19152
- }
19153
- namespace $412 {
19154
- namespace Content {
19155
- interface ApplicationJson {
19156
- [k: string]: unknown;
19157
- }
19158
- }
19159
- }
19160
- namespace $429 {
19161
- namespace Content {
19162
- interface ApplicationJson {
19163
- [k: string]: unknown;
19164
- }
19165
- }
19166
- }
19167
- namespace Default {
19168
- namespace Content {
19169
- interface ApplicationJson {
19170
- [k: string]: unknown;
19171
- }
19172
- }
19173
- }
19174
- }
19175
- }
19176
- }
19177
- namespace V2DnsZones { }
19178
- namespace V2ProjectsProjectIdDnsZones {
19179
- namespace Get {
19180
- namespace Parameters {
19181
- type Path = {
19182
- projectId: string;
19183
- };
19184
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19185
- type Query = {};
19186
- }
19187
- namespace Responses {
19188
- namespace $200 {
19189
- namespace Content {
19190
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZone[];
19191
- }
19192
- }
19193
- namespace $400 {
19194
- namespace Content {
19195
- interface ApplicationJson {
19196
- [k: string]: unknown;
19197
- }
19198
- }
19199
- }
19200
- namespace $429 {
19201
- namespace Content {
19202
- interface ApplicationJson {
19203
- [k: string]: unknown;
19204
- }
19205
- }
19206
- }
19207
- namespace Default {
19208
- namespace Content {
19209
- interface ApplicationJson {
19210
- [k: string]: unknown;
19211
- }
19212
- }
19213
- }
19214
- }
19215
- }
19216
- namespace Post {
19217
- namespace Parameters {
19218
- type Path = {
19219
- projectId: string;
19220
- };
19106
+ type Path = {};
19221
19107
  interface RequestBody {
19222
- /**
19223
- * Fully-qualified name of the DNSZone to create (e.g. example.com or _autoconfig.example.com). The backend resolves root vs subzone via the public suffix list.
19224
- */
19225
19108
  name: string;
19109
+ parentZoneId: string;
19226
19110
  }
19227
19111
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19228
19112
  type Query = {};
@@ -19242,13 +19126,6 @@ export declare namespace MittwaldAPIV2 {
19242
19126
  }
19243
19127
  }
19244
19128
  }
19245
- namespace $404 {
19246
- namespace Content {
19247
- interface ApplicationJson {
19248
- [k: string]: unknown;
19249
- }
19250
- }
19251
- }
19252
19129
  namespace $409 {
19253
19130
  namespace Content {
19254
19131
  interface ApplicationJson {
@@ -19256,13 +19133,6 @@ export declare namespace MittwaldAPIV2 {
19256
19133
  }
19257
19134
  }
19258
19135
  }
19259
- namespace $412 {
19260
- namespace Content {
19261
- interface ApplicationJson {
19262
- [k: string]: unknown;
19263
- }
19264
- }
19265
- }
19266
19136
  namespace $429 {
19267
19137
  namespace Content {
19268
19138
  interface ApplicationJson {
@@ -19356,11 +19226,11 @@ export declare namespace MittwaldAPIV2 {
19356
19226
  }
19357
19227
  }
19358
19228
  }
19359
- namespace V2DnsZoneImportsZoneFileImportId {
19229
+ namespace V2DnsZonesDnsZoneIdZoneFile {
19360
19230
  namespace Get {
19361
19231
  namespace Parameters {
19362
19232
  type Path = {
19363
- zoneFileImportId: string;
19233
+ dnsZoneId: string;
19364
19234
  };
19365
19235
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19366
19236
  type Query = {};
@@ -19368,7 +19238,7 @@ export declare namespace MittwaldAPIV2 {
19368
19238
  namespace Responses {
19369
19239
  namespace $200 {
19370
19240
  namespace Content {
19371
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZoneFileImport;
19241
+ type TextPlain = string;
19372
19242
  }
19373
19243
  }
19374
19244
  namespace $400 {
@@ -19378,13 +19248,6 @@ export declare namespace MittwaldAPIV2 {
19378
19248
  }
19379
19249
  }
19380
19250
  }
19381
- namespace $404 {
19382
- namespace Content {
19383
- interface ApplicationJson {
19384
- [k: string]: unknown;
19385
- }
19386
- }
19387
- }
19388
19251
  namespace $429 {
19389
19252
  namespace Content {
19390
19253
  interface ApplicationJson {
@@ -19402,11 +19265,11 @@ export declare namespace MittwaldAPIV2 {
19402
19265
  }
19403
19266
  }
19404
19267
  }
19405
- namespace V2DnsZonesDnsZoneIdZoneFile {
19268
+ namespace V2ProjectsProjectIdDnsZones {
19406
19269
  namespace Get {
19407
19270
  namespace Parameters {
19408
19271
  type Path = {
19409
- dnsZoneId: string;
19272
+ projectId: string;
19410
19273
  };
19411
19274
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19412
19275
  type Query = {};
@@ -19414,7 +19277,7 @@ export declare namespace MittwaldAPIV2 {
19414
19277
  namespace Responses {
19415
19278
  namespace $200 {
19416
19279
  namespace Content {
19417
- type TextPlain = string;
19280
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZone[];
19418
19281
  }
19419
19282
  }
19420
19283
  namespace $400 {
@@ -33122,117 +32985,5 @@ export declare namespace MittwaldAPIV2 {
33122
32985
  }
33123
32986
  }
33124
32987
  }
33125
- namespace V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods {
33126
- namespace Get {
33127
- namespace Parameters {
33128
- type Path = {
33129
- customerId: string;
33130
- planId: string;
33131
- };
33132
- type Header = {};
33133
- type Query = {};
33134
- }
33135
- namespace Responses {
33136
- namespace $200 {
33137
- namespace Content {
33138
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingPlanBillingPeriods;
33139
- }
33140
- }
33141
- namespace $400 {
33142
- namespace Content {
33143
- interface ApplicationJson {
33144
- [k: string]: unknown;
33145
- }
33146
- }
33147
- }
33148
- namespace $403 {
33149
- namespace Content {
33150
- interface ApplicationJson {
33151
- [k: string]: unknown;
33152
- }
33153
- }
33154
- }
33155
- namespace $404 {
33156
- namespace Content {
33157
- interface ApplicationJson {
33158
- [k: string]: unknown;
33159
- }
33160
- }
33161
- }
33162
- namespace $429 {
33163
- namespace Content {
33164
- interface ApplicationJson {
33165
- [k: string]: unknown;
33166
- }
33167
- }
33168
- }
33169
- namespace Default {
33170
- namespace Content {
33171
- interface ApplicationJson {
33172
- [k: string]: unknown;
33173
- }
33174
- }
33175
- }
33176
- }
33177
- }
33178
- }
33179
- namespace V2CustomersCustomerIdAiHostingsPlanIdUsage {
33180
- namespace Get {
33181
- namespace Parameters {
33182
- type Path = {
33183
- customerId: string;
33184
- planId: string;
33185
- };
33186
- type Header = {};
33187
- type Query = {
33188
- startDate: string;
33189
- endDate: string;
33190
- detailed?: boolean;
33191
- };
33192
- }
33193
- namespace Responses {
33194
- namespace $200 {
33195
- namespace Content {
33196
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingPlanUsageStats;
33197
- }
33198
- }
33199
- namespace $400 {
33200
- namespace Content {
33201
- interface ApplicationJson {
33202
- [k: string]: unknown;
33203
- }
33204
- }
33205
- }
33206
- namespace $403 {
33207
- namespace Content {
33208
- interface ApplicationJson {
33209
- [k: string]: unknown;
33210
- }
33211
- }
33212
- }
33213
- namespace $404 {
33214
- namespace Content {
33215
- interface ApplicationJson {
33216
- [k: string]: unknown;
33217
- }
33218
- }
33219
- }
33220
- namespace $429 {
33221
- namespace Content {
33222
- interface ApplicationJson {
33223
- [k: string]: unknown;
33224
- }
33225
- }
33226
- }
33227
- namespace Default {
33228
- namespace Content {
33229
- interface ApplicationJson {
33230
- [k: string]: unknown;
33231
- }
33232
- }
33233
- }
33234
- }
33235
- }
33236
- }
33237
32988
  }
33238
32989
  }