@mittwald/api-client 4.93.0 → 4.94.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.
@@ -164,12 +164,12 @@ const buildDomainApi = (baseClient) => ({
164
164
  dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
165
165
  /** List DNSZones belonging to a Project. */
166
166
  dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
167
- /** List Domains */
168
- listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
169
167
  /** Get a Domain. */
170
168
  getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
171
169
  /** Get the latest screenshot's FileReference belonging to a Domain. */
172
170
  getLatestScreenshot: new ApiCallAsyncResourceFactory(descriptors.domainGetLatestScreenshot, baseClient.domain.getLatestScreenshot).getApiResource,
171
+ /** List Domains */
172
+ listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
173
173
  /** List the contact schemas for a TLD. */
174
174
  listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
175
175
  /** List TLDs. */
@@ -281,8 +281,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
281
281
  getCustomerTokenInvite: this.requestFunctionFactory(descriptors.customerGetCustomerTokenInvite),
282
282
  /** Check if the customer profile has a valid contract partner configured. */
283
283
  isCustomerLegallyCompetent: this.requestFunctionFactory(descriptors.customerIsCustomerLegallyCompetent),
284
- /** Leave a Customer. */
285
- leaveCustomer: this.requestFunctionFactory(descriptors.customerLeaveCustomer),
286
284
  /** List CustomerInvites belonging to the executing user. */
287
285
  listCustomerInvites: this.requestFunctionFactory(descriptors.customerListCustomerInvites),
288
286
  /** List CustomerMemberships belonging to the executing user. */
@@ -382,20 +380,18 @@ export class MittwaldAPIV2Client extends ApiClientBase {
382
380
  abortDomainDeclaration: this.requestFunctionFactory(descriptors.domainAbortDomainDeclaration),
383
381
  /** Check if a Domain is available to register. */
384
382
  checkDomainRegistrability: this.requestFunctionFactory(descriptors.domainCheckDomainRegistrability),
385
- /** List Domains */
386
- listDomains: this.requestFunctionFactory(descriptors.domainListDomains),
387
383
  /** Check if a Domain is available to transfer. */
388
384
  checkDomainTransferability: this.requestFunctionFactory(descriptors.domainCheckDomainTransferability),
389
385
  /** Create an auth code for a Domains transfer-out process. */
390
386
  createDomainAuthCode: this.requestFunctionFactory(descriptors.domainCreateDomainAuthCode),
391
- /** Update the nameservers of a Domain. */
392
- updateDomainNameservers: this.requestFunctionFactory(descriptors.domainUpdateDomainNameservers),
393
387
  /** Get a Domain. */
394
388
  getDomain: this.requestFunctionFactory(descriptors.domainGetDomain),
395
389
  /** Delete a Domain. */
396
390
  deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
397
391
  /** Get the latest screenshot's FileReference belonging to a Domain. */
398
392
  getLatestScreenshot: this.requestFunctionFactory(descriptors.domainGetLatestScreenshot),
393
+ /** List Domains */
394
+ listDomains: this.requestFunctionFactory(descriptors.domainListDomains),
399
395
  /** List the contact schemas for a TLD. */
400
396
  listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
401
397
  /** List TLDs. */
@@ -408,6 +404,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
408
404
  updateDomainAuthCode: this.requestFunctionFactory(descriptors.domainUpdateDomainAuthCode),
409
405
  /** Update a contact of a Domain. */
410
406
  updateDomainContact: this.requestFunctionFactory(descriptors.domainUpdateDomainContact),
407
+ /** Update the nameservers of a Domain. */
408
+ updateDomainNameservers: this.requestFunctionFactory(descriptors.domainUpdateDomainNameservers),
411
409
  /** Update a Domain's project id. */
412
410
  updateDomainProjectId: this.requestFunctionFactory(descriptors.domainUpdateDomainProjectId),
413
411
  /** List Ingresses. */
@@ -667,8 +665,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
667
665
  getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
668
666
  /** Get a Server. */
669
667
  getServer: this.requestFunctionFactory(descriptors.projectGetServer),
670
- /** Leave a Project. */
671
- leaveProject: this.requestFunctionFactory(descriptors.projectLeaveProject),
672
668
  /** List Memberships belonging to a Project. */
673
669
  listMembershipsForProject: this.requestFunctionFactory(descriptors.projectListMembershipsForProject),
674
670
  /** List ProjectInvites belonging to the executing user. */
@@ -574,12 +574,6 @@ export const customerIsCustomerLegallyCompetent = {
574
574
  method: "GET",
575
575
  operationId: "customer-is-customer-legally-competent",
576
576
  };
577
- /** Leave a Customer. */
578
- export const customerLeaveCustomer = {
579
- path: "/v2/customers/{customerId}/actions/leave",
580
- method: "POST",
581
- operationId: "customer-leave-customer",
582
- };
583
577
  /** List CustomerInvites belonging to the executing user. */
584
578
  export const customerListCustomerInvites = {
585
579
  path: "/v2/customer-invites",
@@ -814,12 +808,6 @@ export const domainCheckDomainRegistrability = {
814
808
  method: "POST",
815
809
  operationId: "domain-check-domain-registrability",
816
810
  };
817
- /** List Domains */
818
- export const domainListDomains = {
819
- path: "/v2/domains",
820
- method: "GET",
821
- operationId: "domain-list-domains",
822
- };
823
811
  /** Check if a Domain is available to transfer. */
824
812
  export const domainCheckDomainTransferability = {
825
813
  path: "/v2/domain-transferable",
@@ -832,12 +820,6 @@ export const domainCreateDomainAuthCode = {
832
820
  method: "POST",
833
821
  operationId: "domain-create-domain-auth-code",
834
822
  };
835
- /** Update the nameservers of a Domain. */
836
- export const domainUpdateDomainNameservers = {
837
- path: "/v2/domains/{domainId}/nameservers",
838
- method: "PATCH",
839
- operationId: "domain-update-domain-nameservers",
840
- };
841
823
  /** Get a Domain. */
842
824
  export const domainGetDomain = {
843
825
  path: "/v2/domains/{domainId}",
@@ -856,6 +838,12 @@ export const domainGetLatestScreenshot = {
856
838
  method: "GET",
857
839
  operationId: "domain-get-latest-screenshot",
858
840
  };
841
+ /** List Domains */
842
+ export const domainListDomains = {
843
+ path: "/v2/domains",
844
+ method: "GET",
845
+ operationId: "domain-list-domains",
846
+ };
859
847
  /** List the contact schemas for a TLD. */
860
848
  export const domainListTldContactSchemas = {
861
849
  path: "/v2/domain-tlds/{tld}/contact-schemas",
@@ -892,6 +880,12 @@ export const domainUpdateDomainContact = {
892
880
  method: "PATCH",
893
881
  operationId: "domain-update-domain-contact",
894
882
  };
883
+ /** Update the nameservers of a Domain. */
884
+ export const domainUpdateDomainNameservers = {
885
+ path: "/v2/domains/{domainId}/nameservers",
886
+ method: "PATCH",
887
+ operationId: "domain-update-domain-nameservers",
888
+ };
895
889
  /** Update a Domain's project id. */
896
890
  export const domainUpdateDomainProjectId = {
897
891
  path: "/v2/domains/{domainId}/project-id",
@@ -1498,12 +1492,6 @@ export const projectGetServer = {
1498
1492
  method: "GET",
1499
1493
  operationId: "project-get-server",
1500
1494
  };
1501
- /** Leave a Project. */
1502
- export const projectLeaveProject = {
1503
- path: "/v2/projects/{projectId}/leave",
1504
- method: "POST",
1505
- operationId: "project-leave-project",
1506
- };
1507
1495
  /** List Memberships belonging to a Project. */
1508
1496
  export const projectListMembershipsForProject = {
1509
1497
  path: "/v2/projects/{projectId}/memberships",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.92.0';
1
+ export const MittwaldAPIClientVersion = '4.93.1';
@@ -24,6 +24,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
24
24
  }) => import("@mittwald/react-use-promise").AsyncResource<{
25
25
  appId: string;
26
26
  appVersion: import("./types.js").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
27
+ createdAt: string;
27
28
  customDocumentRoot?: string | undefined;
28
29
  description: string;
29
30
  disabled: boolean;
@@ -1030,6 +1031,7 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
1030
1031
  id: string;
1031
1032
  isReady: boolean;
1032
1033
  isShared: boolean;
1034
+ mainUser?: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseMySqlUser | undefined;
1033
1035
  name: string;
1034
1036
  projectId: string;
1035
1037
  status: import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseDatabaseStatus;
@@ -1156,21 +1158,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1156
1158
  "x-access-token"?: string | undefined;
1157
1159
  } | undefined;
1158
1160
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
1159
- /** List Domains */
1160
- listDomains: (conf?: {
1161
- headers?: {
1162
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1163
- "x-access-token"?: string | undefined;
1164
- } | undefined;
1165
- queryParameters?: {
1166
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1167
- projectId?: string | undefined;
1168
- page?: number | undefined;
1169
- limit?: number | undefined;
1170
- domainSearchName?: string | undefined;
1171
- contactHash?: string | undefined;
1172
- } | undefined;
1173
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
1174
1161
  /** Get a Domain. */
1175
1162
  getDomain: (conf: {
1176
1163
  domainId: string;
@@ -1210,6 +1197,21 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1210
1197
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1211
1198
  reference?: string | undefined;
1212
1199
  }>;
1200
+ /** List Domains */
1201
+ listDomains: (conf?: {
1202
+ headers?: {
1203
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1204
+ "x-access-token"?: string | undefined;
1205
+ } | undefined;
1206
+ queryParameters?: {
1207
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1208
+ projectId?: string | undefined;
1209
+ page?: number | undefined;
1210
+ limit?: number | undefined;
1211
+ domainSearchName?: string | undefined;
1212
+ contactHash?: string | undefined;
1213
+ } | undefined;
1214
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
1213
1215
  /** List the contact schemas for a TLD. */
1214
1216
  listTldContactSchemas: (conf: {
1215
1217
  tld: string;
@@ -1456,9 +1458,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1456
1458
  blocked: boolean;
1457
1459
  context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
1458
1460
  contributorId: string;
1459
- deprecation?: {
1460
- deprecatedAt: string;
1461
- } | undefined;
1461
+ deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
1462
1462
  description: string;
1463
1463
  detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
1464
1464
  disabled: boolean;