@mittwald/api-client 4.474.0 → 4.475.0

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.
@@ -498,6 +498,10 @@ export declare namespace MittwaldAPIV2 {
498
498
  type RequestData = InferredRequestData<typeof descriptors.contributorGetLoginLink>;
499
499
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorGetLoginLink, TStatus>;
500
500
  }
501
+ namespace ContributorGetOauthClient {
502
+ type RequestData = InferredRequestData<typeof descriptors.contributorGetOauthClient>;
503
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorGetOauthClient, TStatus>;
504
+ }
501
505
  namespace ContributorListContractPartnersOfContributor {
502
506
  type RequestData = InferredRequestData<typeof descriptors.contributorListContractPartnersOfContributor>;
503
507
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorListContractPartnersOfContributor, TStatus>;
@@ -858,6 +862,22 @@ export declare namespace MittwaldAPIV2 {
858
862
  type RequestData = InferredRequestData<typeof descriptors.userUpdateAccount>;
859
863
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userUpdateAccount, TStatus>;
860
864
  }
865
+ namespace DnsListDnsZoneFileImports {
866
+ type RequestData = InferredRequestData<typeof descriptors.dnsListDnsZoneFileImports>;
867
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsListDnsZoneFileImports, TStatus>;
868
+ }
869
+ namespace DnsCreateDnsZoneFileImport {
870
+ type RequestData = InferredRequestData<typeof descriptors.dnsCreateDnsZoneFileImport>;
871
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsCreateDnsZoneFileImport, TStatus>;
872
+ }
873
+ namespace DnsListDnsZones {
874
+ type RequestData = InferredRequestData<typeof descriptors.dnsListDnsZones>;
875
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsListDnsZones, TStatus>;
876
+ }
877
+ namespace DnsCreateProjectDnsZone {
878
+ type RequestData = InferredRequestData<typeof descriptors.dnsCreateProjectDnsZone>;
879
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsCreateProjectDnsZone, TStatus>;
880
+ }
861
881
  namespace DnsGetDnsZone {
862
882
  type RequestData = InferredRequestData<typeof descriptors.dnsGetDnsZone>;
863
883
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsGetDnsZone, TStatus>;
@@ -866,18 +886,14 @@ export declare namespace MittwaldAPIV2 {
866
886
  type RequestData = InferredRequestData<typeof descriptors.dnsDeleteDnsZone>;
867
887
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsDeleteDnsZone, TStatus>;
868
888
  }
889
+ namespace DnsGetDnsZoneFileImport {
890
+ type RequestData = InferredRequestData<typeof descriptors.dnsGetDnsZoneFileImport>;
891
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsGetDnsZoneFileImport, TStatus>;
892
+ }
869
893
  namespace DnsGetZoneFile {
870
894
  type RequestData = InferredRequestData<typeof descriptors.dnsGetZoneFile>;
871
895
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsGetZoneFile, TStatus>;
872
896
  }
873
- namespace DnsListDnsZones {
874
- type RequestData = InferredRequestData<typeof descriptors.dnsListDnsZones>;
875
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsListDnsZones, TStatus>;
876
- }
877
- namespace DnsCreateProjectDnsZone {
878
- type RequestData = InferredRequestData<typeof descriptors.dnsCreateProjectDnsZone>;
879
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsCreateProjectDnsZone, TStatus>;
880
- }
881
897
  namespace DnsSetRecordSetManaged {
882
898
  type RequestData = InferredRequestData<typeof descriptors.dnsSetRecordSetManaged>;
883
899
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsSetRecordSetManaged, TStatus>;
@@ -1902,6 +1918,10 @@ export declare namespace MittwaldAPIV2 {
1902
1918
  type RequestData = InferredRequestData<typeof descriptors.userResendVerificationEmail>;
1903
1919
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userResendVerificationEmail, TStatus>;
1904
1920
  }
1921
+ namespace UserSearchedLeakedPasswordsByRange {
1922
+ type RequestData = InferredRequestData<typeof descriptors.userSearchedLeakedPasswordsByRange>;
1923
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userSearchedLeakedPasswordsByRange, TStatus>;
1924
+ }
1905
1925
  namespace UserSpotlightFeedback {
1906
1926
  type RequestData = InferredRequestData<typeof descriptors.userSpotlightFeedback>;
1907
1927
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userSpotlightFeedback, TStatus>;
@@ -1934,26 +1954,6 @@ export declare namespace MittwaldAPIV2 {
1934
1954
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1935
1955
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1936
1956
  }
1937
- namespace ContributorGetOauthClient {
1938
- type RequestData = InferredRequestData<typeof descriptors.contributorGetOauthClient>;
1939
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorGetOauthClient, TStatus>;
1940
- }
1941
- namespace UserSearchedLeakedPasswordsByRange {
1942
- type RequestData = InferredRequestData<typeof descriptors.userSearchedLeakedPasswordsByRange>;
1943
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userSearchedLeakedPasswordsByRange, TStatus>;
1944
- }
1945
- namespace DnsListDnsZoneFileImports {
1946
- type RequestData = InferredRequestData<typeof descriptors.dnsListDnsZoneFileImports>;
1947
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsListDnsZoneFileImports, TStatus>;
1948
- }
1949
- namespace DnsCreateDnsZoneFileImport {
1950
- type RequestData = InferredRequestData<typeof descriptors.dnsCreateDnsZoneFileImport>;
1951
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsCreateDnsZoneFileImport, TStatus>;
1952
- }
1953
- namespace DnsGetDnsZoneFileImport {
1954
- type RequestData = InferredRequestData<typeof descriptors.dnsGetDnsZoneFileImport>;
1955
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.dnsGetDnsZoneFileImport, TStatus>;
1956
- }
1957
1957
  }
1958
1958
  namespace Components {
1959
1959
  namespace Schemas {
@@ -4014,6 +4014,90 @@ export declare namespace MittwaldAPIV2 {
4014
4014
  name: string;
4015
4015
  number: string;
4016
4016
  }
4017
+ interface DnsCreateZoneFileImportResponse {
4018
+ /**
4019
+ * Everything that will not be imported (invalid records, unsupported record types, CNAME conflicts, placement problems, parse errors). Empty on a real import, since any conflict rejects the whole import with 412 (all-or-nothing).
4020
+ */
4021
+ conflicts: MittwaldAPIV2.Components.Schemas.DnsImportConflict[];
4022
+ /**
4023
+ * ID of the started import job. Absent on a dry-run (dryRun=true), which creates no job.
4024
+ */
4025
+ id?: string;
4026
+ /**
4027
+ * The importable target zones (one per distinct owner name), each with the record sets that would be set. On a dry-run this is the preview; on a real import it is the plan that was applied.
4028
+ */
4029
+ zones: MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
4030
+ }
4031
+ interface DnsImportConflict {
4032
+ /**
4033
+ * Machine-readable conflict kind: parseError (a zone-file line could not be parsed), invalidRecord (a record failed the same schema validation the write commands apply), invalidZoneName (the owner name is not a valid zone name, e.g. a wildcard *.example.com), unsupportedRecordType (an RR type dns-service does not import), cnameConflict (a CNAME shares a name with other record types), foreignCustomerIngress (the zone's enabled ingress belongs to another organization), rootZoneUnavailable (a subzone whose root zone is neither importable nor already existing).
4034
+ */
4035
+ code: "parseError" | "invalidRecord" | "invalidZoneName" | "unsupportedRecordType" | "cnameConflict" | "foreignCustomerIngress" | "rootZoneUnavailable";
4036
+ /**
4037
+ * Human-readable explanation of the conflict, suitable for surfacing to the user.
4038
+ */
4039
+ message: string;
4040
+ /**
4041
+ * Offending record/owner name. Empty for a file-level parse error, where sourceLine locates the bad line.
4042
+ */
4043
+ name?: string;
4044
+ /**
4045
+ * Only on an invalidRecord conflict: the offending record's rendered value (e.g. "10 ." for an MX).
4046
+ */
4047
+ record?: string;
4048
+ /**
4049
+ * Only on an invalidRecord conflict: the offending record's set type.
4050
+ */
4051
+ recordSetType?: "a" | "mx" | "txt" | "cname" | "srv" | "caa";
4052
+ /**
4053
+ * 1-based line number in the uploaded zone file, set for a file-level parse error (code parseError); 0 otherwise.
4054
+ */
4055
+ sourceLine?: number;
4056
+ }
4057
+ interface DnsImportRecord {
4058
+ /**
4059
+ * CAA flags. Only set for CAA records.
4060
+ */
4061
+ flags?: number;
4062
+ /**
4063
+ * SRV port. Only set for SRV records.
4064
+ */
4065
+ port?: number;
4066
+ /**
4067
+ * MX preference / SRV priority. Only set for MX and SRV records.
4068
+ */
4069
+ priority?: number;
4070
+ /**
4071
+ * CAA tag (e.g. issue, issuewild, iodef). Only set for CAA records.
4072
+ */
4073
+ tag?: string;
4074
+ /**
4075
+ * The record's value: an IP address for A/AAAA, the target FQDN for MX/CNAME/SRV, the text for TXT, the value for CAA.
4076
+ */
4077
+ value: string;
4078
+ /**
4079
+ * SRV weight. Only set for SRV records.
4080
+ */
4081
+ weight?: number;
4082
+ }
4083
+ interface DnsImportRecordSet {
4084
+ /**
4085
+ * The individual records in the set.
4086
+ */
4087
+ records: MittwaldAPIV2.Components.Schemas.DnsImportRecord[];
4088
+ /**
4089
+ * True when the source TTLs had to be normalized to ttlSeconds — because they diverged within the set or fell below the 60s minimum. Informational; the import still uses ttlSeconds.
4090
+ */
4091
+ ttlNormalized: boolean;
4092
+ /**
4093
+ * TTL applied to the whole set, in seconds. Collapsed to a single value across the set: the minimum of the source TTLs, floored to the 60s minimum.
4094
+ */
4095
+ ttlSeconds: number;
4096
+ /**
4097
+ * Record-set type.
4098
+ */
4099
+ type: "a" | "mx" | "txt" | "cname" | "srv" | "caa";
4100
+ }
4017
4101
  type DnsRecordCAA = MittwaldAPIV2.Components.Schemas.DnsRecordUnset | MittwaldAPIV2.Components.Schemas.DnsRecordCAAComponent;
4018
4102
  interface DnsRecordCAAComponent {
4019
4103
  /**
@@ -4124,6 +4208,38 @@ export declare namespace MittwaldAPIV2 {
4124
4208
  txt: MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
4125
4209
  };
4126
4210
  }
4211
+ interface DnsZoneFileImport {
4212
+ /**
4213
+ * When the import job was created (publish time of the created event).
4214
+ */
4215
+ createdAt: string;
4216
+ id: string;
4217
+ importedZones: string[];
4218
+ projectId: string;
4219
+ skippedZones: {
4220
+ name: string;
4221
+ reason: string;
4222
+ }[];
4223
+ status: "running" | "succeeded" | "completedWithErrors";
4224
+ }
4225
+ interface DnsZoneImportPreview {
4226
+ /**
4227
+ * Whether a zone with this name already exists. On import its record sets are overwritten rather than the import failing.
4228
+ */
4229
+ alreadyExists: boolean;
4230
+ /**
4231
+ * 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.
4232
+ */
4233
+ name: string;
4234
+ /**
4235
+ * The record sets that would be set on the zone — one per record type present for this owner name.
4236
+ */
4237
+ recordSets: MittwaldAPIV2.Components.Schemas.DnsImportRecordSet[];
4238
+ /**
4239
+ * Project the zone would be created in. Always set, since only importable zones are listed.
4240
+ */
4241
+ targetProjectId: string;
4242
+ }
4127
4243
  interface DomainAuthCode {
4128
4244
  expires?: string;
4129
4245
  value: string;
@@ -7371,203 +7487,87 @@ export declare namespace MittwaldAPIV2 {
7371
7487
  }
7372
7488
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
7373
7489
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
7374
- interface DnsCreateZoneFileImportResponse {
7490
+ interface CommonsAddress {
7491
+ street: string;
7492
+ houseNumber: string;
7493
+ city: string;
7494
+ zip: string;
7375
7495
  /**
7376
- * Everything that will not be imported (invalid records, unsupported record types, CNAME conflicts, placement problems, parse errors). Empty on a real import, since any conflict rejects the whole import with 412 (all-or-nothing).
7496
+ * ISO 3166-1 alpha-2 country code
7377
7497
  */
7378
- conflicts: MittwaldAPIV2.Components.Schemas.DnsImportConflict[];
7498
+ countryCode: string;
7499
+ addressPrefix?: string;
7500
+ }
7501
+ interface CommonsContact {
7502
+ firstName?: string;
7503
+ lastName?: string;
7504
+ title?: string;
7505
+ salutation: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
7506
+ company?: string;
7507
+ address: MittwaldAPIV2.Components.Schemas.CommonsAddress;
7508
+ emailAddress?: string;
7509
+ phoneNumbers?: string[];
7510
+ useFormalTerm?: boolean;
7511
+ }
7512
+ interface CommonsError {
7513
+ message: string;
7514
+ type: string;
7515
+ }
7516
+ /**
7517
+ * The users personal information, e.g. first name.
7518
+ */
7519
+ interface CommonsPerson {
7379
7520
  /**
7380
- * ID of the started import job. Absent on a dry-run (dryRun=true), which creates no job.
7521
+ * The users first name
7381
7522
  */
7382
- id?: string;
7523
+ firstName: string;
7383
7524
  /**
7384
- * The importable target zones (one per distinct owner name), each with the record sets that would be set. On a dry-run this is the preview; on a real import it is the plan that was applied.
7525
+ * The users last name
7385
7526
  */
7386
- zones: MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
7527
+ lastName: string;
7528
+ title?: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
7387
7529
  }
7388
- interface DnsZoneImportPreview {
7530
+ type CommonsSalutation = "mr" | "ms" | "other";
7531
+ interface CommonsValidationErrorSchema {
7389
7532
  /**
7390
- * Whether a zone with this name already exists. On import its record sets are overwritten rather than the import failing.
7533
+ * The standard error message
7391
7534
  */
7392
- alreadyExists: boolean;
7535
+ message: string;
7393
7536
  /**
7394
- * 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.
7537
+ * The path to the part of the data that was validated. JavaScript property access notation (e.g., ".prop[1].subProp") is used.
7538
+ *
7395
7539
  */
7396
- name: string;
7540
+ path: string;
7397
7541
  /**
7398
- * The record sets that would be set on the zone — one per record type present for this owner name.
7542
+ * ajv validation error type (e.g. "format", "required", "type") or own validation error types
7399
7543
  */
7400
- recordSets: MittwaldAPIV2.Components.Schemas.DnsImportRecordSet[];
7544
+ type: string;
7401
7545
  /**
7402
- * Project the zone would be created in. Always set, since only importable zones are listed.
7546
+ * The object with the additional information about the error that can be used to create custom error messages. Keys depend on the
7547
+ * type that failed validation (e.g. "missingProperty" for type "required")
7548
+ *
7403
7549
  */
7404
- targetProjectId: string;
7550
+ context?: {
7551
+ [k: string]: string;
7552
+ };
7405
7553
  }
7406
- interface DnsImportRecordSet {
7554
+ interface CommonsValidationErrors {
7555
+ type: "ValidationError";
7556
+ message?: string;
7557
+ validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7558
+ }
7559
+ }
7560
+ namespace RequestSchemas {
7561
+ /**
7562
+ * PricePlan with Variants.
7563
+ */
7564
+ interface ExtensionPricePlan {
7407
7565
  /**
7408
- * The individual records in the set.
7566
+ * Indicates whether downgrading between variants is allowed.
7409
7567
  */
7410
- records: MittwaldAPIV2.Components.Schemas.DnsImportRecord[];
7568
+ isDowngradeAllowed?: boolean;
7411
7569
  /**
7412
- * True when the source TTLs had to be normalized to ttlSeconds — because they diverged within the set or fell below the 60s minimum. Informational; the import still uses ttlSeconds.
7413
- */
7414
- ttlNormalized: boolean;
7415
- /**
7416
- * TTL applied to the whole set, in seconds. Collapsed to a single value across the set: the minimum of the source TTLs, floored to the 60s minimum.
7417
- */
7418
- ttlSeconds: number;
7419
- /**
7420
- * Record-set type.
7421
- */
7422
- type: "a" | "mx" | "txt" | "cname" | "srv" | "caa";
7423
- }
7424
- interface DnsImportRecord {
7425
- /**
7426
- * CAA flags. Only set for CAA records.
7427
- */
7428
- flags?: number;
7429
- /**
7430
- * SRV port. Only set for SRV records.
7431
- */
7432
- port?: number;
7433
- /**
7434
- * MX preference / SRV priority. Only set for MX and SRV records.
7435
- */
7436
- priority?: number;
7437
- /**
7438
- * CAA tag (e.g. issue, issuewild, iodef). Only set for CAA records.
7439
- */
7440
- tag?: string;
7441
- /**
7442
- * The record's value: an IP address for A/AAAA, the target FQDN for MX/CNAME/SRV, the text for TXT, the value for CAA.
7443
- */
7444
- value: string;
7445
- /**
7446
- * SRV weight. Only set for SRV records.
7447
- */
7448
- weight?: number;
7449
- }
7450
- interface DnsImportConflict {
7451
- /**
7452
- * Machine-readable conflict kind: parseError (a zone-file line could not be parsed), invalidRecord (a record failed the same schema validation the write commands apply), invalidZoneName (the owner name is not a valid zone name, e.g. a wildcard *.example.com), unsupportedRecordType (an RR type dns-service does not import), cnameConflict (a CNAME shares a name with other record types), foreignCustomerIngress (the zone's enabled ingress belongs to another organization), rootZoneUnavailable (a subzone whose root zone is neither importable nor already existing).
7453
- */
7454
- code: "parseError" | "invalidRecord" | "invalidZoneName" | "unsupportedRecordType" | "cnameConflict" | "foreignCustomerIngress" | "rootZoneUnavailable";
7455
- /**
7456
- * Human-readable explanation of the conflict, suitable for surfacing to the user.
7457
- */
7458
- message: string;
7459
- /**
7460
- * Offending record/owner name. Empty for a file-level parse error, where sourceLine locates the bad line.
7461
- */
7462
- name?: string;
7463
- /**
7464
- * Only on an invalidRecord conflict: the offending record's rendered value (e.g. "10 ." for an MX).
7465
- */
7466
- record?: string;
7467
- /**
7468
- * Only on an invalidRecord conflict: the offending record's set type.
7469
- */
7470
- recordSetType?: "a" | "mx" | "txt" | "cname" | "srv" | "caa";
7471
- /**
7472
- * 1-based line number in the uploaded zone file, set for a file-level parse error (code parseError); 0 otherwise.
7473
- */
7474
- sourceLine?: number;
7475
- }
7476
- interface DnsZoneFileImport {
7477
- /**
7478
- * When the import job was created (publish time of the created event).
7479
- */
7480
- createdAt: string;
7481
- id: string;
7482
- importedZones: string[];
7483
- projectId: string;
7484
- skippedZones: {
7485
- name: string;
7486
- reason: string;
7487
- }[];
7488
- status: "running" | "succeeded" | "completedWithErrors";
7489
- }
7490
- interface CommonsAddress {
7491
- street: string;
7492
- houseNumber: string;
7493
- city: string;
7494
- zip: string;
7495
- /**
7496
- * ISO 3166-1 alpha-2 country code
7497
- */
7498
- countryCode: string;
7499
- addressPrefix?: string;
7500
- }
7501
- interface CommonsContact {
7502
- firstName?: string;
7503
- lastName?: string;
7504
- title?: string;
7505
- salutation: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
7506
- company?: string;
7507
- address: MittwaldAPIV2.Components.Schemas.CommonsAddress;
7508
- emailAddress?: string;
7509
- phoneNumbers?: string[];
7510
- useFormalTerm?: boolean;
7511
- }
7512
- interface CommonsError {
7513
- message: string;
7514
- type: string;
7515
- }
7516
- /**
7517
- * The users personal information, e.g. first name.
7518
- */
7519
- interface CommonsPerson {
7520
- /**
7521
- * The users first name
7522
- */
7523
- firstName: string;
7524
- /**
7525
- * The users last name
7526
- */
7527
- lastName: string;
7528
- title?: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
7529
- }
7530
- type CommonsSalutation = "mr" | "ms" | "other";
7531
- interface CommonsValidationErrorSchema {
7532
- /**
7533
- * The standard error message
7534
- */
7535
- message: string;
7536
- /**
7537
- * The path to the part of the data that was validated. JavaScript property access notation (e.g., ".prop[1].subProp") is used.
7538
- *
7539
- */
7540
- path: string;
7541
- /**
7542
- * ajv validation error type (e.g. "format", "required", "type") or own validation error types
7543
- */
7544
- type: string;
7545
- /**
7546
- * The object with the additional information about the error that can be used to create custom error messages. Keys depend on the
7547
- * type that failed validation (e.g. "missingProperty" for type "required")
7548
- *
7549
- */
7550
- context?: {
7551
- [k: string]: string;
7552
- };
7553
- }
7554
- interface CommonsValidationErrors {
7555
- type: "ValidationError";
7556
- message?: string;
7557
- validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7558
- }
7559
- }
7560
- namespace RequestSchemas {
7561
- /**
7562
- * PricePlan with Variants.
7563
- */
7564
- interface ExtensionPricePlan {
7565
- /**
7566
- * Indicates whether downgrading between variants is allowed.
7567
- */
7568
- isDowngradeAllowed?: boolean;
7569
- /**
7570
- * Indicates whether upgrading between variants is allowed.
7570
+ * Indicates whether upgrading between variants is allowed.
7571
7571
  */
7572
7572
  isUpgradeAllowed?: boolean;
7573
7573
  variants: MittwaldAPIV2.Components.RequestSchemas.ExtensionVariant[];
@@ -14489,6 +14489,46 @@ export declare namespace MittwaldAPIV2 {
14489
14489
  }
14490
14490
  }
14491
14491
  }
14492
+ namespace V2Oauth2ClientsOauthClientId {
14493
+ namespace Get {
14494
+ namespace Parameters {
14495
+ type Path = {
14496
+ oauthClientId: string;
14497
+ };
14498
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14499
+ type Query = {};
14500
+ }
14501
+ namespace Responses {
14502
+ namespace $200 {
14503
+ namespace Content {
14504
+ interface ApplicationJson {
14505
+ allowedGrantTypes?: string[];
14506
+ allowedRedirectUris?: string[];
14507
+ allowedScopes?: string[];
14508
+ description?: string;
14509
+ humanReadableName: string;
14510
+ id: string;
14511
+ type?: "public" | "confidential";
14512
+ }
14513
+ }
14514
+ }
14515
+ namespace $429 {
14516
+ namespace Content {
14517
+ interface ApplicationJson {
14518
+ [k: string]: unknown;
14519
+ }
14520
+ }
14521
+ }
14522
+ namespace Default {
14523
+ namespace Content {
14524
+ interface ApplicationJson {
14525
+ [k: string]: unknown;
14526
+ }
14527
+ }
14528
+ }
14529
+ }
14530
+ }
14531
+ }
14492
14532
  namespace V2ContributorsContributorIdContractPartners {
14493
14533
  namespace Get {
14494
14534
  namespace Parameters {
@@ -19142,22 +19182,25 @@ export declare namespace MittwaldAPIV2 {
19142
19182
  namespace V2SignupSessions { }
19143
19183
  namespace V2SignupSessionsTokenId { }
19144
19184
  namespace V2SignupEmailVerify { }
19145
- namespace V2DnsZones { }
19146
- namespace V2DnsZones { }
19147
- namespace V2DnsZonesDnsZoneId { }
19148
- namespace V2DnsZonesDnsZoneId {
19185
+ namespace V2ProjectsProjectIdDnsZoneImports {
19149
19186
  namespace Get {
19150
19187
  namespace Parameters {
19151
19188
  type Path = {
19152
- dnsZoneId: string;
19189
+ projectId: string;
19153
19190
  };
19154
19191
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19155
- type Query = {};
19192
+ type Query = {
19193
+ limit?: number;
19194
+ skip?: number;
19195
+ page?: number;
19196
+ sort?: "createdAt";
19197
+ order?: "asc" | "desc";
19198
+ };
19156
19199
  }
19157
19200
  namespace Responses {
19158
19201
  namespace $200 {
19159
19202
  namespace Content {
19160
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZone;
19203
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[];
19161
19204
  }
19162
19205
  }
19163
19206
  namespace $400 {
@@ -19183,18 +19226,26 @@ export declare namespace MittwaldAPIV2 {
19183
19226
  }
19184
19227
  }
19185
19228
  }
19186
- namespace Delete {
19229
+ namespace Post {
19187
19230
  namespace Parameters {
19188
19231
  type Path = {
19189
- dnsZoneId: string;
19232
+ projectId: string;
19190
19233
  };
19234
+ interface RequestBody {
19235
+ /**
19236
+ * Raw RFC-1035 zone file content to import.
19237
+ */
19238
+ zoneFile: string;
19239
+ }
19191
19240
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19192
- type Query = {};
19241
+ type Query = {
19242
+ dryRun?: boolean;
19243
+ };
19193
19244
  }
19194
19245
  namespace Responses {
19195
- namespace $204 {
19246
+ namespace $200 {
19196
19247
  namespace Content {
19197
- type Empty = unknown;
19248
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsCreateZoneFileImportResponse;
19198
19249
  }
19199
19250
  }
19200
19251
  namespace $400 {
@@ -19204,6 +19255,20 @@ export declare namespace MittwaldAPIV2 {
19204
19255
  }
19205
19256
  }
19206
19257
  }
19258
+ namespace $404 {
19259
+ namespace Content {
19260
+ interface ApplicationJson {
19261
+ [k: string]: unknown;
19262
+ }
19263
+ }
19264
+ }
19265
+ namespace $412 {
19266
+ namespace Content {
19267
+ interface ApplicationJson {
19268
+ [k: string]: unknown;
19269
+ }
19270
+ }
19271
+ }
19207
19272
  namespace $429 {
19208
19273
  namespace Content {
19209
19274
  interface ApplicationJson {
@@ -19221,11 +19286,13 @@ export declare namespace MittwaldAPIV2 {
19221
19286
  }
19222
19287
  }
19223
19288
  }
19224
- namespace V2DnsZonesDnsZoneIdZoneFile {
19289
+ namespace V2DnsZones { }
19290
+ namespace V2DnsZones { }
19291
+ namespace V2ProjectsProjectIdDnsZones {
19225
19292
  namespace Get {
19226
19293
  namespace Parameters {
19227
19294
  type Path = {
19228
- dnsZoneId: string;
19295
+ projectId: string;
19229
19296
  };
19230
19297
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19231
19298
  type Query = {};
@@ -19233,7 +19300,7 @@ export declare namespace MittwaldAPIV2 {
19233
19300
  namespace Responses {
19234
19301
  namespace $200 {
19235
19302
  namespace Content {
19236
- type TextPlain = string;
19303
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZone[];
19237
19304
  }
19238
19305
  }
19239
19306
  namespace $400 {
@@ -19259,21 +19326,26 @@ export declare namespace MittwaldAPIV2 {
19259
19326
  }
19260
19327
  }
19261
19328
  }
19262
- }
19263
- namespace V2ProjectsProjectIdDnsZones { }
19264
- namespace V2ProjectsProjectIdDnsZones {
19265
- namespace Get {
19329
+ namespace Post {
19266
19330
  namespace Parameters {
19267
19331
  type Path = {
19268
19332
  projectId: string;
19269
19333
  };
19334
+ interface RequestBody {
19335
+ /**
19336
+ * 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.
19337
+ */
19338
+ name: string;
19339
+ }
19270
19340
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19271
19341
  type Query = {};
19272
19342
  }
19273
19343
  namespace Responses {
19274
- namespace $200 {
19344
+ namespace $201 {
19275
19345
  namespace Content {
19276
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZone[];
19346
+ interface ApplicationJson {
19347
+ id: string;
19348
+ }
19277
19349
  }
19278
19350
  }
19279
19351
  namespace $400 {
@@ -19283,6 +19355,27 @@ export declare namespace MittwaldAPIV2 {
19283
19355
  }
19284
19356
  }
19285
19357
  }
19358
+ namespace $404 {
19359
+ namespace Content {
19360
+ interface ApplicationJson {
19361
+ [k: string]: unknown;
19362
+ }
19363
+ }
19364
+ }
19365
+ namespace $409 {
19366
+ namespace Content {
19367
+ interface ApplicationJson {
19368
+ [k: string]: unknown;
19369
+ }
19370
+ }
19371
+ }
19372
+ namespace $412 {
19373
+ namespace Content {
19374
+ interface ApplicationJson {
19375
+ [k: string]: unknown;
19376
+ }
19377
+ }
19378
+ }
19286
19379
  namespace $429 {
19287
19380
  namespace Content {
19288
19381
  interface ApplicationJson {
@@ -19299,28 +19392,99 @@ export declare namespace MittwaldAPIV2 {
19299
19392
  }
19300
19393
  }
19301
19394
  }
19302
- namespace Post {
19395
+ }
19396
+ namespace V2DnsZonesDnsZoneId { }
19397
+ namespace V2DnsZonesDnsZoneId {
19398
+ namespace Get {
19303
19399
  namespace Parameters {
19304
19400
  type Path = {
19305
- projectId: string;
19401
+ dnsZoneId: string;
19306
19402
  };
19307
- interface RequestBody {
19308
- /**
19309
- * 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.
19310
- */
19311
- name: string;
19403
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19404
+ type Query = {};
19405
+ }
19406
+ namespace Responses {
19407
+ namespace $200 {
19408
+ namespace Content {
19409
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZone;
19410
+ }
19411
+ }
19412
+ namespace $400 {
19413
+ namespace Content {
19414
+ interface ApplicationJson {
19415
+ [k: string]: unknown;
19416
+ }
19417
+ }
19312
19418
  }
19419
+ namespace $429 {
19420
+ namespace Content {
19421
+ interface ApplicationJson {
19422
+ [k: string]: unknown;
19423
+ }
19424
+ }
19425
+ }
19426
+ namespace Default {
19427
+ namespace Content {
19428
+ interface ApplicationJson {
19429
+ [k: string]: unknown;
19430
+ }
19431
+ }
19432
+ }
19433
+ }
19434
+ }
19435
+ namespace Delete {
19436
+ namespace Parameters {
19437
+ type Path = {
19438
+ dnsZoneId: string;
19439
+ };
19313
19440
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19314
19441
  type Query = {};
19315
19442
  }
19316
19443
  namespace Responses {
19317
- namespace $201 {
19444
+ namespace $204 {
19445
+ namespace Content {
19446
+ type Empty = unknown;
19447
+ }
19448
+ }
19449
+ namespace $400 {
19318
19450
  namespace Content {
19319
19451
  interface ApplicationJson {
19320
- id: string;
19452
+ [k: string]: unknown;
19453
+ }
19454
+ }
19455
+ }
19456
+ namespace $429 {
19457
+ namespace Content {
19458
+ interface ApplicationJson {
19459
+ [k: string]: unknown;
19460
+ }
19461
+ }
19462
+ }
19463
+ namespace Default {
19464
+ namespace Content {
19465
+ interface ApplicationJson {
19466
+ [k: string]: unknown;
19321
19467
  }
19322
19468
  }
19323
19469
  }
19470
+ }
19471
+ }
19472
+ }
19473
+ namespace V2DnsZoneImportsZoneFileImportId {
19474
+ namespace Get {
19475
+ namespace Parameters {
19476
+ type Path = {
19477
+ zoneFileImportId: string;
19478
+ };
19479
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19480
+ type Query = {};
19481
+ }
19482
+ namespace Responses {
19483
+ namespace $200 {
19484
+ namespace Content {
19485
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZoneFileImport;
19486
+ }
19487
+ }
19324
19488
  namespace $400 {
19325
19489
  namespace Content {
19326
19490
  interface ApplicationJson {
@@ -19335,14 +19499,39 @@ export declare namespace MittwaldAPIV2 {
19335
19499
  }
19336
19500
  }
19337
19501
  }
19338
- namespace $409 {
19502
+ namespace $429 {
19339
19503
  namespace Content {
19340
19504
  interface ApplicationJson {
19341
19505
  [k: string]: unknown;
19342
19506
  }
19343
19507
  }
19344
19508
  }
19345
- namespace $412 {
19509
+ namespace Default {
19510
+ namespace Content {
19511
+ interface ApplicationJson {
19512
+ [k: string]: unknown;
19513
+ }
19514
+ }
19515
+ }
19516
+ }
19517
+ }
19518
+ }
19519
+ namespace V2DnsZonesDnsZoneIdZoneFile {
19520
+ namespace Get {
19521
+ namespace Parameters {
19522
+ type Path = {
19523
+ dnsZoneId: string;
19524
+ };
19525
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
19526
+ type Query = {};
19527
+ }
19528
+ namespace Responses {
19529
+ namespace $200 {
19530
+ namespace Content {
19531
+ type TextPlain = string;
19532
+ }
19533
+ }
19534
+ namespace $400 {
19346
19535
  namespace Content {
19347
19536
  interface ApplicationJson {
19348
19537
  [k: string]: unknown;
@@ -19366,6 +19555,7 @@ export declare namespace MittwaldAPIV2 {
19366
19555
  }
19367
19556
  }
19368
19557
  }
19558
+ namespace V2ProjectsProjectIdDnsZones { }
19369
19559
  namespace V2DnsZonesDnsZoneIdRecordSetsRecordSetActionsSetManaged {
19370
19560
  namespace Post {
19371
19561
  namespace Parameters {
@@ -32382,6 +32572,45 @@ export declare namespace MittwaldAPIV2 {
32382
32572
  }
32383
32573
  }
32384
32574
  namespace V2SignupMfaResetRecoverycodes { }
32575
+ namespace V2LeakedPasswordsPasswordHashPrefix {
32576
+ namespace Get {
32577
+ namespace Parameters {
32578
+ type Path = {
32579
+ passwordHashPrefix: string;
32580
+ };
32581
+ type Header = {};
32582
+ type Query = {};
32583
+ }
32584
+ namespace Responses {
32585
+ namespace $200 {
32586
+ namespace Content {
32587
+ type ApplicationJson = string[];
32588
+ }
32589
+ }
32590
+ namespace $400 {
32591
+ namespace Content {
32592
+ interface ApplicationJson {
32593
+ [k: string]: unknown;
32594
+ }
32595
+ }
32596
+ }
32597
+ namespace $429 {
32598
+ namespace Content {
32599
+ interface ApplicationJson {
32600
+ [k: string]: unknown;
32601
+ }
32602
+ }
32603
+ }
32604
+ namespace Default {
32605
+ namespace Content {
32606
+ interface ApplicationJson {
32607
+ [k: string]: unknown;
32608
+ }
32609
+ }
32610
+ }
32611
+ }
32612
+ }
32613
+ }
32385
32614
  namespace V2UsersSelfSpotlightsSpotlightIdFeedback {
32386
32615
  namespace Post {
32387
32616
  namespace Parameters {
@@ -32761,234 +32990,5 @@ export declare namespace MittwaldAPIV2 {
32761
32990
  }
32762
32991
  }
32763
32992
  }
32764
- namespace V2Oauth2ClientsOauthClientId {
32765
- namespace Get {
32766
- namespace Parameters {
32767
- type Path = {
32768
- oauthClientId: string;
32769
- };
32770
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
32771
- type Query = {};
32772
- }
32773
- namespace Responses {
32774
- namespace $200 {
32775
- namespace Content {
32776
- interface ApplicationJson {
32777
- allowedGrantTypes?: string[];
32778
- allowedRedirectUris?: string[];
32779
- allowedScopes?: string[];
32780
- description?: string;
32781
- humanReadableName: string;
32782
- id: string;
32783
- type?: "public" | "confidential";
32784
- }
32785
- }
32786
- }
32787
- namespace $429 {
32788
- namespace Content {
32789
- interface ApplicationJson {
32790
- [k: string]: unknown;
32791
- }
32792
- }
32793
- }
32794
- namespace Default {
32795
- namespace Content {
32796
- interface ApplicationJson {
32797
- [k: string]: unknown;
32798
- }
32799
- }
32800
- }
32801
- }
32802
- }
32803
- }
32804
- namespace V2LeakedPasswordsPasswordHashPrefix {
32805
- namespace Get {
32806
- namespace Parameters {
32807
- type Path = {
32808
- passwordHashPrefix: string;
32809
- };
32810
- type Header = {};
32811
- type Query = {};
32812
- }
32813
- namespace Responses {
32814
- namespace $200 {
32815
- namespace Content {
32816
- type ApplicationJson = string[];
32817
- }
32818
- }
32819
- namespace $400 {
32820
- namespace Content {
32821
- interface ApplicationJson {
32822
- [k: string]: unknown;
32823
- }
32824
- }
32825
- }
32826
- namespace $429 {
32827
- namespace Content {
32828
- interface ApplicationJson {
32829
- [k: string]: unknown;
32830
- }
32831
- }
32832
- }
32833
- namespace Default {
32834
- namespace Content {
32835
- interface ApplicationJson {
32836
- [k: string]: unknown;
32837
- }
32838
- }
32839
- }
32840
- }
32841
- }
32842
- }
32843
- namespace V2ProjectsProjectIdDnsZoneImports {
32844
- namespace Get {
32845
- namespace Parameters {
32846
- type Path = {
32847
- projectId: string;
32848
- };
32849
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
32850
- type Query = {
32851
- limit?: number;
32852
- skip?: number;
32853
- page?: number;
32854
- sort?: "createdAt";
32855
- order?: "asc" | "desc";
32856
- };
32857
- }
32858
- namespace Responses {
32859
- namespace $200 {
32860
- namespace Content {
32861
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[];
32862
- }
32863
- }
32864
- namespace $400 {
32865
- namespace Content {
32866
- interface ApplicationJson {
32867
- [k: string]: unknown;
32868
- }
32869
- }
32870
- }
32871
- namespace $429 {
32872
- namespace Content {
32873
- interface ApplicationJson {
32874
- [k: string]: unknown;
32875
- }
32876
- }
32877
- }
32878
- namespace Default {
32879
- namespace Content {
32880
- interface ApplicationJson {
32881
- [k: string]: unknown;
32882
- }
32883
- }
32884
- }
32885
- }
32886
- }
32887
- namespace Post {
32888
- namespace Parameters {
32889
- type Path = {
32890
- projectId: string;
32891
- };
32892
- interface RequestBody {
32893
- /**
32894
- * Raw RFC-1035 zone file content to import.
32895
- */
32896
- zoneFile: string;
32897
- }
32898
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
32899
- type Query = {
32900
- dryRun?: boolean;
32901
- };
32902
- }
32903
- namespace Responses {
32904
- namespace $200 {
32905
- namespace Content {
32906
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsCreateZoneFileImportResponse;
32907
- }
32908
- }
32909
- namespace $400 {
32910
- namespace Content {
32911
- interface ApplicationJson {
32912
- [k: string]: unknown;
32913
- }
32914
- }
32915
- }
32916
- namespace $404 {
32917
- namespace Content {
32918
- interface ApplicationJson {
32919
- [k: string]: unknown;
32920
- }
32921
- }
32922
- }
32923
- namespace $412 {
32924
- namespace Content {
32925
- interface ApplicationJson {
32926
- [k: string]: unknown;
32927
- }
32928
- }
32929
- }
32930
- namespace $429 {
32931
- namespace Content {
32932
- interface ApplicationJson {
32933
- [k: string]: unknown;
32934
- }
32935
- }
32936
- }
32937
- namespace Default {
32938
- namespace Content {
32939
- interface ApplicationJson {
32940
- [k: string]: unknown;
32941
- }
32942
- }
32943
- }
32944
- }
32945
- }
32946
- }
32947
- namespace V2DnsZoneImportsZoneFileImportId {
32948
- namespace Get {
32949
- namespace Parameters {
32950
- type Path = {
32951
- zoneFileImportId: string;
32952
- };
32953
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
32954
- type Query = {};
32955
- }
32956
- namespace Responses {
32957
- namespace $200 {
32958
- namespace Content {
32959
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.DnsZoneFileImport;
32960
- }
32961
- }
32962
- namespace $400 {
32963
- namespace Content {
32964
- interface ApplicationJson {
32965
- [k: string]: unknown;
32966
- }
32967
- }
32968
- }
32969
- namespace $404 {
32970
- namespace Content {
32971
- interface ApplicationJson {
32972
- [k: string]: unknown;
32973
- }
32974
- }
32975
- }
32976
- namespace $429 {
32977
- namespace Content {
32978
- interface ApplicationJson {
32979
- [k: string]: unknown;
32980
- }
32981
- }
32982
- }
32983
- namespace Default {
32984
- namespace Content {
32985
- interface ApplicationJson {
32986
- [k: string]: unknown;
32987
- }
32988
- }
32989
- }
32990
- }
32991
- }
32992
- }
32993
32993
  }
32994
32994
  }