@mittwald/api-client 0.0.0-development-d78fbd1-20260907 → 0.0.0-development-a0108d5-20260909

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,33 @@ 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
+ /**
2106
+ * 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.
2107
+ */
2108
+ keys: {
2109
+ id: string;
2110
+ name: string;
2111
+ }[];
2112
+ modelShare: {
2113
+ model: string;
2114
+ tokens: number;
2115
+ }[];
2116
+ planId: string;
2117
+ timeframe: {
2118
+ end: string;
2119
+ start: string;
2120
+ };
2121
+ totalTokens: number;
2122
+ }
2084
2123
  interface AihostingProfile {
2085
2124
  planIds: string[];
2086
2125
  }
@@ -3734,7 +3773,7 @@ export declare namespace MittwaldAPIV2 {
3734
3773
  owner?: MittwaldAPIV2.Components.Schemas.CustomerContact;
3735
3774
  projectCount: number;
3736
3775
  vatId?: string;
3737
- vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified";
3776
+ vatIdValidationState?: "valid" | "invalid" | "pending" | "unsupported" | "unspecified";
3738
3777
  }
3739
3778
  interface DatabaseCreateMySqlDatabase {
3740
3779
  characterSettings?: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
@@ -3751,7 +3790,7 @@ export declare namespace MittwaldAPIV2 {
3751
3790
  }
3752
3791
  interface DatabaseCreateMySqlUser {
3753
3792
  /**
3754
- * An IP range (in CIDR notation) for which access should be allowed.
3793
+ * An IP range (in CIDR notation) for which access should be allowed. This field currently has no effect.
3755
3794
  */
3756
3795
  accessIpMask?: string;
3757
3796
  /**
@@ -3772,6 +3811,9 @@ export declare namespace MittwaldAPIV2 {
3772
3811
  password: string;
3773
3812
  }
3774
3813
  interface DatabaseCreateMySqlUserWithDatabase {
3814
+ /**
3815
+ * This field currently has no effect.
3816
+ */
3775
3817
  accessIpMask?: string;
3776
3818
  /**
3777
3819
  * The access level that this MySQLUser should have for the database. The `full` access level grants the user read/write privileges on the database.
@@ -3856,7 +3898,7 @@ export declare namespace MittwaldAPIV2 {
3856
3898
  }
3857
3899
  interface DatabaseMySqlUser {
3858
3900
  /**
3859
- * An IP range (in CIDR notation) for which access should be allowed.
3901
+ * An IP range (in CIDR notation) for which access should be allowed. This field currently has no effect.
3860
3902
  */
3861
3903
  accessIpMask?: string;
3862
3904
  /**
@@ -3946,45 +3988,6 @@ export declare namespace MittwaldAPIV2 {
3946
3988
  name: string;
3947
3989
  number: string;
3948
3990
  }
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
3991
  type DnsRecordCAA = MittwaldAPIV2.Components.Schemas.DnsRecordUnset | MittwaldAPIV2.Components.Schemas.DnsRecordCAAComponent;
3989
3992
  interface DnsRecordCAAComponent {
3990
3993
  /**
@@ -4095,36 +4098,6 @@ export declare namespace MittwaldAPIV2 {
4095
4098
  txt: MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
4096
4099
  };
4097
4100
  }
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
4101
  interface DomainAuthCode {
4129
4102
  expires?: string;
4130
4103
  value: string;
@@ -4158,7 +4131,6 @@ export declare namespace MittwaldAPIV2 {
4158
4131
  interface DomainDomain {
4159
4132
  authCode?: MittwaldAPIV2.Components.Schemas.DomainAuthCode;
4160
4133
  authCode2?: MittwaldAPIV2.Components.Schemas.DomainAuthCode2;
4161
- authInfo2CreatedAt?: string;
4162
4134
  connected: boolean;
4163
4135
  contactHash?: string;
4164
4136
  deleted: boolean;
@@ -7455,6 +7427,7 @@ export declare namespace MittwaldAPIV2 {
7455
7427
  subject: string;
7456
7428
  vote: number;
7457
7429
  }
7430
+ type UserUserFeedbackSpotlightDecision = "keep" | "kill" | "ignore";
7458
7431
  interface UserProjectMembership {
7459
7432
  expiresAt?: string;
7460
7433
  id?: string;
@@ -7584,70 +7557,6 @@ export declare namespace MittwaldAPIV2 {
7584
7557
  }
7585
7558
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
7586
7559
  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
7560
  interface CommonsAddress {
7652
7561
  street: string;
7653
7562
  houseNumber: string;
@@ -8524,80 +8433,20 @@ export declare namespace MittwaldAPIV2 {
8524
8433
  }
8525
8434
  }
8526
8435
  }
8527
- namespace V2ProjectsProjectIdAiHostingKeys {
8436
+ namespace V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods {
8528
8437
  namespace Get {
8529
8438
  namespace Parameters {
8530
8439
  type Path = {
8531
- projectId: string;
8532
- };
8533
- type Header = {};
8534
- type Query = {
8535
- planId?: string;
8536
- limit?: number;
8537
- skip?: number;
8538
- page?: number;
8539
- };
8540
- }
8541
- namespace Responses {
8542
- namespace $200 {
8543
- namespace Content {
8544
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey[];
8545
- }
8546
- }
8547
- namespace $400 {
8548
- namespace Content {
8549
- interface ApplicationJson {
8550
- [k: string]: unknown;
8551
- }
8552
- }
8553
- }
8554
- namespace $403 {
8555
- namespace Content {
8556
- interface ApplicationJson {
8557
- [k: string]: unknown;
8558
- }
8559
- }
8560
- }
8561
- namespace $404 {
8562
- namespace Content {
8563
- interface ApplicationJson {
8564
- [k: string]: unknown;
8565
- }
8566
- }
8567
- }
8568
- namespace $429 {
8569
- namespace Content {
8570
- interface ApplicationJson {
8571
- [k: string]: unknown;
8572
- }
8573
- }
8574
- }
8575
- namespace Default {
8576
- namespace Content {
8577
- interface ApplicationJson {
8578
- [k: string]: unknown;
8579
- }
8580
- }
8581
- }
8582
- }
8583
- }
8584
- namespace Post {
8585
- namespace Parameters {
8586
- type Path = {
8587
- projectId: string;
8588
- };
8589
- interface RequestBody {
8590
- createWebuiContainer?: boolean;
8591
- name: string;
8440
+ customerId: string;
8592
8441
  planId: string;
8593
- }
8442
+ };
8594
8443
  type Header = {};
8595
8444
  type Query = {};
8596
8445
  }
8597
8446
  namespace Responses {
8598
- namespace $201 {
8447
+ namespace $200 {
8599
8448
  namespace Content {
8600
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
8449
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingPlanBillingPeriods;
8601
8450
  }
8602
8451
  }
8603
8452
  namespace $400 {
@@ -8621,20 +8470,192 @@ export declare namespace MittwaldAPIV2 {
8621
8470
  }
8622
8471
  }
8623
8472
  }
8624
- namespace $409 {
8625
- namespace Content {
8626
- interface ApplicationJson {
8627
- [k: string]: unknown;
8628
- }
8629
- }
8630
- }
8631
- namespace $412 {
8632
- namespace Content {
8633
- interface ApplicationJson {
8634
- [k: string]: unknown;
8635
- }
8636
- }
8637
- }
8473
+ namespace $429 {
8474
+ namespace Content {
8475
+ interface ApplicationJson {
8476
+ [k: string]: unknown;
8477
+ }
8478
+ }
8479
+ }
8480
+ namespace Default {
8481
+ namespace Content {
8482
+ interface ApplicationJson {
8483
+ [k: string]: unknown;
8484
+ }
8485
+ }
8486
+ }
8487
+ }
8488
+ }
8489
+ }
8490
+ namespace V2CustomersCustomerIdAiHostingsPlanIdUsage {
8491
+ namespace Get {
8492
+ namespace Parameters {
8493
+ type Path = {
8494
+ customerId: string;
8495
+ planId: string;
8496
+ };
8497
+ type Header = {};
8498
+ type Query = {
8499
+ startDate: string;
8500
+ endDate: string;
8501
+ keyId?: string;
8502
+ };
8503
+ }
8504
+ namespace Responses {
8505
+ namespace $200 {
8506
+ namespace Content {
8507
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingPlanUsageStats;
8508
+ }
8509
+ }
8510
+ namespace $400 {
8511
+ namespace Content {
8512
+ interface ApplicationJson {
8513
+ [k: string]: unknown;
8514
+ }
8515
+ }
8516
+ }
8517
+ namespace $403 {
8518
+ namespace Content {
8519
+ interface ApplicationJson {
8520
+ [k: string]: unknown;
8521
+ }
8522
+ }
8523
+ }
8524
+ namespace $404 {
8525
+ namespace Content {
8526
+ interface ApplicationJson {
8527
+ [k: string]: unknown;
8528
+ }
8529
+ }
8530
+ }
8531
+ namespace $429 {
8532
+ namespace Content {
8533
+ interface ApplicationJson {
8534
+ [k: string]: unknown;
8535
+ }
8536
+ }
8537
+ }
8538
+ namespace Default {
8539
+ namespace Content {
8540
+ interface ApplicationJson {
8541
+ [k: string]: unknown;
8542
+ }
8543
+ }
8544
+ }
8545
+ }
8546
+ }
8547
+ }
8548
+ namespace V2ProjectsProjectIdAiHostingKeys {
8549
+ namespace Get {
8550
+ namespace Parameters {
8551
+ type Path = {
8552
+ projectId: string;
8553
+ };
8554
+ type Header = {};
8555
+ type Query = {
8556
+ planId?: string;
8557
+ limit?: number;
8558
+ skip?: number;
8559
+ page?: number;
8560
+ };
8561
+ }
8562
+ namespace Responses {
8563
+ namespace $200 {
8564
+ namespace Content {
8565
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey[];
8566
+ }
8567
+ }
8568
+ namespace $400 {
8569
+ namespace Content {
8570
+ interface ApplicationJson {
8571
+ [k: string]: unknown;
8572
+ }
8573
+ }
8574
+ }
8575
+ namespace $403 {
8576
+ namespace Content {
8577
+ interface ApplicationJson {
8578
+ [k: string]: unknown;
8579
+ }
8580
+ }
8581
+ }
8582
+ namespace $404 {
8583
+ namespace Content {
8584
+ interface ApplicationJson {
8585
+ [k: string]: unknown;
8586
+ }
8587
+ }
8588
+ }
8589
+ namespace $429 {
8590
+ namespace Content {
8591
+ interface ApplicationJson {
8592
+ [k: string]: unknown;
8593
+ }
8594
+ }
8595
+ }
8596
+ namespace Default {
8597
+ namespace Content {
8598
+ interface ApplicationJson {
8599
+ [k: string]: unknown;
8600
+ }
8601
+ }
8602
+ }
8603
+ }
8604
+ }
8605
+ namespace Post {
8606
+ namespace Parameters {
8607
+ type Path = {
8608
+ projectId: string;
8609
+ };
8610
+ interface RequestBody {
8611
+ createWebuiContainer?: boolean;
8612
+ name: string;
8613
+ planId: string;
8614
+ }
8615
+ type Header = {};
8616
+ type Query = {};
8617
+ }
8618
+ namespace Responses {
8619
+ namespace $201 {
8620
+ namespace Content {
8621
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
8622
+ }
8623
+ }
8624
+ namespace $400 {
8625
+ namespace Content {
8626
+ interface ApplicationJson {
8627
+ [k: string]: unknown;
8628
+ }
8629
+ }
8630
+ }
8631
+ namespace $403 {
8632
+ namespace Content {
8633
+ interface ApplicationJson {
8634
+ [k: string]: unknown;
8635
+ }
8636
+ }
8637
+ }
8638
+ namespace $404 {
8639
+ namespace Content {
8640
+ interface ApplicationJson {
8641
+ [k: string]: unknown;
8642
+ }
8643
+ }
8644
+ }
8645
+ namespace $409 {
8646
+ namespace Content {
8647
+ interface ApplicationJson {
8648
+ [k: string]: unknown;
8649
+ }
8650
+ }
8651
+ }
8652
+ namespace $412 {
8653
+ namespace Content {
8654
+ interface ApplicationJson {
8655
+ [k: string]: unknown;
8656
+ }
8657
+ }
8658
+ }
8638
8659
  namespace $429 {
8639
8660
  namespace Content {
8640
8661
  interface ApplicationJson {
@@ -17795,6 +17816,9 @@ export declare namespace MittwaldAPIV2 {
17795
17816
  mysqlUserId: string;
17796
17817
  };
17797
17818
  interface RequestBody {
17819
+ /**
17820
+ * This field currently has no effect.
17821
+ */
17798
17822
  accessIpMask?: string;
17799
17823
  accessLevel?: "full" | "readonly";
17800
17824
  description?: string;
@@ -19070,159 +19094,13 @@ export declare namespace MittwaldAPIV2 {
19070
19094
  namespace V2SignupSessionsTokenId { }
19071
19095
  namespace V2SignupProfile { }
19072
19096
  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
- }
19097
+ namespace V2DnsZones {
19117
19098
  namespace Post {
19118
19099
  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
- };
19100
+ type Path = {};
19221
19101
  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
19102
  name: string;
19103
+ parentZoneId: string;
19226
19104
  }
19227
19105
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19228
19106
  type Query = {};
@@ -19242,13 +19120,6 @@ export declare namespace MittwaldAPIV2 {
19242
19120
  }
19243
19121
  }
19244
19122
  }
19245
- namespace $404 {
19246
- namespace Content {
19247
- interface ApplicationJson {
19248
- [k: string]: unknown;
19249
- }
19250
- }
19251
- }
19252
19123
  namespace $409 {
19253
19124
  namespace Content {
19254
19125
  interface ApplicationJson {
@@ -19256,13 +19127,6 @@ export declare namespace MittwaldAPIV2 {
19256
19127
  }
19257
19128
  }
19258
19129
  }
19259
- namespace $412 {
19260
- namespace Content {
19261
- interface ApplicationJson {
19262
- [k: string]: unknown;
19263
- }
19264
- }
19265
- }
19266
19130
  namespace $429 {
19267
19131
  namespace Content {
19268
19132
  interface ApplicationJson {
@@ -19356,11 +19220,11 @@ export declare namespace MittwaldAPIV2 {
19356
19220
  }
19357
19221
  }
19358
19222
  }
19359
- namespace V2DnsZoneImportsZoneFileImportId {
19223
+ namespace V2DnsZonesDnsZoneIdZoneFile {
19360
19224
  namespace Get {
19361
19225
  namespace Parameters {
19362
19226
  type Path = {
19363
- zoneFileImportId: string;
19227
+ dnsZoneId: string;
19364
19228
  };
19365
19229
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19366
19230
  type Query = {};
@@ -19368,7 +19232,7 @@ export declare namespace MittwaldAPIV2 {
19368
19232
  namespace Responses {
19369
19233
  namespace $200 {
19370
19234
  namespace Content {
19371
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZoneFileImport;
19235
+ type TextPlain = string;
19372
19236
  }
19373
19237
  }
19374
19238
  namespace $400 {
@@ -19378,13 +19242,6 @@ export declare namespace MittwaldAPIV2 {
19378
19242
  }
19379
19243
  }
19380
19244
  }
19381
- namespace $404 {
19382
- namespace Content {
19383
- interface ApplicationJson {
19384
- [k: string]: unknown;
19385
- }
19386
- }
19387
- }
19388
19245
  namespace $429 {
19389
19246
  namespace Content {
19390
19247
  interface ApplicationJson {
@@ -19402,11 +19259,11 @@ export declare namespace MittwaldAPIV2 {
19402
19259
  }
19403
19260
  }
19404
19261
  }
19405
- namespace V2DnsZonesDnsZoneIdZoneFile {
19262
+ namespace V2ProjectsProjectIdDnsZones {
19406
19263
  namespace Get {
19407
19264
  namespace Parameters {
19408
19265
  type Path = {
19409
- dnsZoneId: string;
19266
+ projectId: string;
19410
19267
  };
19411
19268
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19412
19269
  type Query = {};
@@ -19414,7 +19271,7 @@ export declare namespace MittwaldAPIV2 {
19414
19271
  namespace Responses {
19415
19272
  namespace $200 {
19416
19273
  namespace Content {
19417
- type TextPlain = string;
19274
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZone[];
19418
19275
  }
19419
19276
  }
19420
19277
  namespace $400 {
@@ -33122,117 +32979,5 @@ export declare namespace MittwaldAPIV2 {
33122
32979
  }
33123
32980
  }
33124
32981
  }
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
32982
  }
33238
32983
  }