@mittwald/api-client 3.0.23 → 3.0.25

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.
@@ -306,6 +306,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
306
306
  articles: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractArticle[];
307
307
  contractPeriod: number;
308
308
  description: string;
309
+ freeTrialDays: number;
309
310
  groupByProjectId?: string | undefined;
310
311
  invoicingPeriod: number;
311
312
  isActivated: boolean;
@@ -391,6 +392,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
391
392
  articles: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractArticle[];
392
393
  contractPeriod: number;
393
394
  description: string;
395
+ freeTrialDays: number;
394
396
  groupByProjectId?: string | undefined;
395
397
  invoicingPeriod: number;
396
398
  isActivated: boolean;
@@ -1013,32 +1015,6 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
1013
1015
  } | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseRedisVersion[]>;
1014
1016
  };
1015
1017
  declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1016
- /** gets a specific zone */
1017
- dnsZoneGetSpecific: (conf: {
1018
- zoneId: string;
1019
- headers?: {
1020
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1021
- "x-access-token"?: string | undefined;
1022
- } | undefined;
1023
- }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1024
- domain: string;
1025
- id: string;
1026
- recordSet: {
1027
- cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
1028
- combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
1029
- mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
1030
- srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
1031
- txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
1032
- };
1033
- }>;
1034
- /** gets all dns zones by project id */
1035
- dnsZonesForProject: (conf: {
1036
- projectId: string;
1037
- headers?: {
1038
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1039
- "x-access-token"?: string | undefined;
1040
- } | undefined;
1041
- }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
1042
1018
  /** Get a Domain. */
1043
1019
  getDomain: (conf: {
1044
1020
  domainId: string;
@@ -1078,7 +1054,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1078
1054
  }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1079
1055
  references?: string[] | undefined;
1080
1056
  }>;
1081
- /** List all domain ownerships of a project. */
1057
+ /** List the DomainOwnerships of a project. */
1082
1058
  listDomainOwnerships: (conf: {
1083
1059
  projectId: string;
1084
1060
  headers?: {
@@ -1100,8 +1076,8 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1100
1076
  domainSearchName?: string | undefined;
1101
1077
  } | undefined;
1102
1078
  }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
1103
- /** Get a domain ownership. */
1104
- getSpecificDomainOwnership: (conf: {
1079
+ /** Get a DomainOwnership. */
1080
+ getDomainOwnership: (conf: {
1105
1081
  domainOwnershipId: string;
1106
1082
  headers?: {
1107
1083
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -1148,9 +1124,15 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1148
1124
  "x-access-token"?: string | undefined;
1149
1125
  } | undefined;
1150
1126
  }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.IngressIngress[]>;
1151
- /** Get a HandleSchema. */
1152
- getHandleFields: (conf: {
1153
- domainName: string;
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;
1154
1136
  headers?: {
1155
1137
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1156
1138
  } | undefined;
@@ -1158,12 +1140,32 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1158
1140
  jsonSchemaAdminC?: {} | undefined;
1159
1141
  jsonSchemaOwnerC: {};
1160
1142
  }>;
1161
- /** List all supported top level domains. */
1162
- getSupportedTlds: (conf?: {
1143
+ /** Get a DNSZone. */
1144
+ dnsGetDnsZone: (conf: {
1145
+ dnsZoneId: string;
1163
1146
  headers?: {
1164
1147
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1148
+ "x-access-token"?: string | undefined;
1165
1149
  } | undefined;
1166
- } | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
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[]>;
1167
1169
  };
1168
1170
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1169
1171
  /** Get a File's meta. */
@@ -175,30 +175,30 @@ const buildDatabaseApi = (baseClient) => ({
175
175
  listRedisVersions: new react_1.ApiCallAsyncResourceFactory(descriptors.databaseListRedisVersions, baseClient.database.listRedisVersions).getApiResource,
176
176
  });
177
177
  const buildDomainApi = (baseClient) => ({
178
- /** gets a specific zone */
179
- dnsZoneGetSpecific: new react_1.ApiCallAsyncResourceFactory(descriptors.dnsZoneGetSpecific, baseClient.domain.dnsZoneGetSpecific).getApiResource,
180
- /** gets all dns zones by project id */
181
- dnsZonesForProject: new react_1.ApiCallAsyncResourceFactory(descriptors.dnsZonesForProject, baseClient.domain.dnsZonesForProject).getApiResource,
182
178
  /** Get a Domain. */
183
179
  getDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
184
180
  /** Get File Service Reference for a Screenshot of a domain. */
185
181
  getScreenshotForDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetScreenshotForDomain, baseClient.domain.getScreenshotForDomain).getApiResource,
186
- /** List all domain ownerships of a project. */
182
+ /** List the DomainOwnerships of a project. */
187
183
  listDomainOwnerships: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
188
184
  /** List Domains belonging to a Project. */
189
185
  listDomains: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
190
- /** Get a domain ownership. */
191
- getSpecificDomainOwnership: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetSpecificDomainOwnership, baseClient.domain.getSpecificDomainOwnership).getApiResource,
186
+ /** Get a DomainOwnership. */
187
+ getDomainOwnership: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
192
188
  /** Get an Ingress. */
193
189
  ingressGetSpecific: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressGetSpecific, baseClient.domain.ingressGetSpecific).getApiResource,
194
190
  /** List Ingresses the user has access to. */
195
191
  ingressListAccessible: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressListAccessible, baseClient.domain.ingressListAccessible).getApiResource,
196
192
  /** List Ingresses belonging to a project. */
197
193
  ingressListForProject: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressListForProject, baseClient.domain.ingressListForProject).getApiResource,
198
- /** Get a HandleSchema. */
199
- getHandleFields: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetHandleFields, baseClient.domain.getHandleFields).getApiResource,
200
- /** List all supported top level domains. */
201
- getSupportedTlds: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetSupportedTlds, baseClient.domain.getSupportedTlds).getApiResource,
194
+ /** List TLDs. */
195
+ listTlds: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
196
+ /** List the contact schemas for a TLD. */
197
+ listTldContactSchemas: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
198
+ /** Get a DNSZone. */
199
+ dnsGetDnsZone: new react_1.ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
200
+ /** List DNSZones belonging to a Project. */
201
+ dnsListDnsZones: new react_1.ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
202
202
  });
203
203
  const buildFileApi = (baseClient) => ({
204
204
  /** Get a File's meta. */