@mittwald/api-client 3.0.25 → 3.0.27

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.
@@ -910,7 +910,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
910
910
  }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabase[]>;
911
911
  /** Get a MySQLDatabase. */
912
912
  getMysqlDatabase: (conf: {
913
- id: string;
913
+ mysqlDatabaseId: string;
914
914
  headers?: {
915
915
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
916
916
  "x-access-token"?: string | undefined;
@@ -931,7 +931,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
931
931
  }>;
932
932
  /** Get a MySQLUser. */
933
933
  getMysqlUser: (conf: {
934
- id: string;
934
+ mysqlUserId: string;
935
935
  headers?: {
936
936
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
937
937
  "x-access-token"?: string | undefined;
@@ -952,7 +952,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
952
952
  }>;
953
953
  /** Get a RedisDatabase. */
954
954
  getRedisDatabase: (conf: {
955
- id: string;
955
+ redisDatabaseId: string;
956
956
  headers?: {
957
957
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
958
958
  "x-access-token"?: string | undefined;
@@ -972,7 +972,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
972
972
  }>;
973
973
  /** Get a MySQLUser's PhpMyAdmin-URL. */
974
974
  getMysqlUserPhpMyAdminUrl: (conf: {
975
- id: string;
975
+ mysqlUserId: string;
976
976
  headers?: {
977
977
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
978
978
  "x-access-token"?: string | undefined;
@@ -1015,6 +1015,32 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
1015
1015
  } | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseRedisVersion[]>;
1016
1016
  };
1017
1017
  declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1018
+ /** Get a DNSZone. */
1019
+ dnsGetDnsZone: (conf: {
1020
+ dnsZoneId: string;
1021
+ headers?: {
1022
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1023
+ "x-access-token"?: string | undefined;
1024
+ } | undefined;
1025
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1026
+ domain: string;
1027
+ id: string;
1028
+ recordSet: {
1029
+ cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
1030
+ combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
1031
+ mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
1032
+ srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
1033
+ txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
1034
+ };
1035
+ }>;
1036
+ /** List DNSZones belonging to a Project. */
1037
+ dnsListDnsZones: (conf: {
1038
+ projectId: string;
1039
+ headers?: {
1040
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1041
+ "x-access-token"?: string | undefined;
1042
+ } | undefined;
1043
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
1018
1044
  /** Get a Domain. */
1019
1045
  getDomain: (conf: {
1020
1046
  domainId: string;
@@ -1040,6 +1066,19 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1040
1066
  transferInAuthCode?: string | undefined;
1041
1067
  usesDefaultNameserver: boolean;
1042
1068
  }>;
1069
+ /** Get a DomainOwnership. */
1070
+ getDomainOwnership: (conf: {
1071
+ domainOwnershipId: string;
1072
+ headers?: {
1073
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1074
+ "x-access-token"?: string | undefined;
1075
+ } | undefined;
1076
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1077
+ domain: string;
1078
+ id: string;
1079
+ projectId: string;
1080
+ txtRecord: string;
1081
+ }>;
1043
1082
  /** Get File Service Reference for a Screenshot of a domain. */
1044
1083
  getScreenshotForDomain: (conf: {
1045
1084
  data: {
@@ -1076,19 +1115,22 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1076
1115
  domainSearchName?: string | undefined;
1077
1116
  } | undefined;
1078
1117
  }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
1079
- /** Get a DomainOwnership. */
1080
- getDomainOwnership: (conf: {
1081
- domainOwnershipId: string;
1118
+ /** List the contact schemas for a TLD. */
1119
+ listTldContactSchemas: (conf: {
1120
+ tld: string;
1082
1121
  headers?: {
1083
1122
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1084
- "x-access-token"?: string | undefined;
1085
1123
  } | undefined;
1086
1124
  }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1087
- domain: string;
1088
- id: string;
1089
- projectId: string;
1090
- txtRecord: string;
1125
+ jsonSchemaAdminC?: {} | undefined;
1126
+ jsonSchemaOwnerC: {};
1091
1127
  }>;
1128
+ /** List TLDs. */
1129
+ listTlds: (conf?: {
1130
+ headers?: {
1131
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1132
+ } | undefined;
1133
+ } | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
1092
1134
  /** Get an Ingress. */
1093
1135
  ingressGetSpecific: (conf: {
1094
1136
  ingressId: string;
@@ -1124,48 +1166,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1124
1166
  "x-access-token"?: string | undefined;
1125
1167
  } | undefined;
1126
1168
  }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.IngressIngress[]>;
1127
- /** List TLDs. */
1128
- listTlds: (conf?: {
1129
- headers?: {
1130
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1131
- } | undefined;
1132
- } | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
1133
- /** List the contact schemas for a TLD. */
1134
- listTldContactSchemas: (conf: {
1135
- tld: string;
1136
- headers?: {
1137
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1138
- } | undefined;
1139
- }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1140
- jsonSchemaAdminC?: {} | undefined;
1141
- jsonSchemaOwnerC: {};
1142
- }>;
1143
- /** Get a DNSZone. */
1144
- dnsGetDnsZone: (conf: {
1145
- dnsZoneId: string;
1146
- headers?: {
1147
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1148
- "x-access-token"?: string | undefined;
1149
- } | undefined;
1150
- }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1151
- domain: string;
1152
- id: string;
1153
- recordSet: {
1154
- cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
1155
- combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
1156
- mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
1157
- srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
1158
- txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
1159
- };
1160
- }>;
1161
- /** List DNSZones belonging to a Project. */
1162
- dnsListDnsZones: (conf: {
1163
- projectId: string;
1164
- headers?: {
1165
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1166
- "x-access-token"?: string | undefined;
1167
- } | undefined;
1168
- }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
1169
1169
  };
1170
1170
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1171
1171
  /** Get a File's meta. */
@@ -146,30 +146,30 @@ const buildDatabaseApi = (baseClient) => ({
146
146
  listRedisVersions: new ApiCallAsyncResourceFactory(descriptors.databaseListRedisVersions, baseClient.database.listRedisVersions).getApiResource,
147
147
  });
148
148
  const buildDomainApi = (baseClient) => ({
149
+ /** Get a DNSZone. */
150
+ dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
151
+ /** List DNSZones belonging to a Project. */
152
+ dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
149
153
  /** Get a Domain. */
150
154
  getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
155
+ /** Get a DomainOwnership. */
156
+ getDomainOwnership: new ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
151
157
  /** Get File Service Reference for a Screenshot of a domain. */
152
158
  getScreenshotForDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetScreenshotForDomain, baseClient.domain.getScreenshotForDomain).getApiResource,
153
159
  /** List the DomainOwnerships of a project. */
154
160
  listDomainOwnerships: new ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
155
161
  /** List Domains belonging to a Project. */
156
162
  listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
157
- /** Get a DomainOwnership. */
158
- getDomainOwnership: new ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
163
+ /** List the contact schemas for a TLD. */
164
+ listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
165
+ /** List TLDs. */
166
+ listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
159
167
  /** Get an Ingress. */
160
168
  ingressGetSpecific: new ApiCallAsyncResourceFactory(descriptors.ingressGetSpecific, baseClient.domain.ingressGetSpecific).getApiResource,
161
169
  /** List Ingresses the user has access to. */
162
170
  ingressListAccessible: new ApiCallAsyncResourceFactory(descriptors.ingressListAccessible, baseClient.domain.ingressListAccessible).getApiResource,
163
171
  /** List Ingresses belonging to a project. */
164
172
  ingressListForProject: new ApiCallAsyncResourceFactory(descriptors.ingressListForProject, baseClient.domain.ingressListForProject).getApiResource,
165
- /** List TLDs. */
166
- listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
167
- /** List the contact schemas for a TLD. */
168
- listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
169
- /** Get a DNSZone. */
170
- dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
171
- /** List DNSZones belonging to a Project. */
172
- dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
173
173
  });
174
174
  const buildFileApi = (baseClient) => ({
175
175
  /** Get a File's meta. */