@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. */
@@ -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
- /** gets a specific zone */
150
- dnsZoneGetSpecific: new ApiCallAsyncResourceFactory(descriptors.dnsZoneGetSpecific, baseClient.domain.dnsZoneGetSpecific).getApiResource,
151
- /** gets all dns zones by project id */
152
- dnsZonesForProject: new ApiCallAsyncResourceFactory(descriptors.dnsZonesForProject, baseClient.domain.dnsZonesForProject).getApiResource,
153
149
  /** Get a Domain. */
154
150
  getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
155
151
  /** Get File Service Reference for a Screenshot of a domain. */
156
152
  getScreenshotForDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetScreenshotForDomain, baseClient.domain.getScreenshotForDomain).getApiResource,
157
- /** List all domain ownerships of a project. */
153
+ /** List the DomainOwnerships of a project. */
158
154
  listDomainOwnerships: new ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
159
155
  /** List Domains belonging to a Project. */
160
156
  listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
161
- /** Get a domain ownership. */
162
- getSpecificDomainOwnership: new ApiCallAsyncResourceFactory(descriptors.domainGetSpecificDomainOwnership, baseClient.domain.getSpecificDomainOwnership).getApiResource,
157
+ /** Get a DomainOwnership. */
158
+ getDomainOwnership: new ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
163
159
  /** Get an Ingress. */
164
160
  ingressGetSpecific: new ApiCallAsyncResourceFactory(descriptors.ingressGetSpecific, baseClient.domain.ingressGetSpecific).getApiResource,
165
161
  /** List Ingresses the user has access to. */
166
162
  ingressListAccessible: new ApiCallAsyncResourceFactory(descriptors.ingressListAccessible, baseClient.domain.ingressListAccessible).getApiResource,
167
163
  /** List Ingresses belonging to a project. */
168
164
  ingressListForProject: new ApiCallAsyncResourceFactory(descriptors.ingressListForProject, baseClient.domain.ingressListForProject).getApiResource,
169
- /** Get a HandleSchema. */
170
- getHandleFields: new ApiCallAsyncResourceFactory(descriptors.domainGetHandleFields, baseClient.domain.getHandleFields).getApiResource,
171
- /** List all supported top level domains. */
172
- getSupportedTlds: new ApiCallAsyncResourceFactory(descriptors.domainGetSupportedTlds, baseClient.domain.getSupportedTlds).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. */