@mittwald/api-client 4.61.1 → 4.65.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.
@@ -52,6 +52,8 @@ const buildBackupApi = (baseClient) => ({
52
52
  const buildContractApi = (baseClient) => ({
53
53
  /** Return the BaseItem of the Contract with the given ID. */
54
54
  getBaseItemOfContract: new ApiCallAsyncResourceFactory(descriptors.contractGetBaseItemOfContract, baseClient.contract.getBaseItemOfContract).getApiResource,
55
+ /** Return the Contract for the given Certificate. */
56
+ getDetailOfContractByCertificate: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByCertificate, baseClient.contract.getDetailOfContractByCertificate).getApiResource,
55
57
  /** Return the Contract for the given Domain. */
56
58
  getDetailOfContractByDomain: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByDomain, baseClient.contract.getDetailOfContractByDomain).getApiResource,
57
59
  /** Return the Contract for the given Project. */
@@ -114,6 +116,8 @@ const buildCronjobApi = (baseClient) => ({
114
116
  const buildCustomerApi = (baseClient) => ({
115
117
  /** Get all customer profiles the authenticated user has access to. */
116
118
  listCustomers: new ApiCallAsyncResourceFactory(descriptors.customerListCustomers, baseClient.customer.listCustomers).getApiResource,
119
+ /** Gets the Wallet of the Customer. */
120
+ getWallet: new ApiCallAsyncResourceFactory(descriptors.customerGetWallet, baseClient.customer.getWallet).getApiResource,
117
121
  /** Get a CustomerInvite. */
118
122
  getCustomerInvite: new ApiCallAsyncResourceFactory(descriptors.customerGetCustomerInvite, baseClient.customer.getCustomerInvite).getApiResource,
119
123
  /** Get a CustomerMembership. */
@@ -176,6 +180,14 @@ const buildDomainApi = (baseClient) => ({
176
180
  ingressListIngresses: new ApiCallAsyncResourceFactory(descriptors.ingressListIngresses, baseClient.domain.ingressListIngresses).getApiResource,
177
181
  /** Get an Ingress. */
178
182
  ingressGetIngress: new ApiCallAsyncResourceFactory(descriptors.ingressGetIngress, baseClient.domain.ingressGetIngress).getApiResource,
183
+ /** List CertificateRequests belonging to a Project or an Ingress. */
184
+ sslListCertificateRequests: new ApiCallAsyncResourceFactory(descriptors.sslListCertificateRequests, baseClient.domain.sslListCertificateRequests).getApiResource,
185
+ /** Get a CertificateRequest. */
186
+ sslGetCertificateRequest: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificateRequest, baseClient.domain.sslGetCertificateRequest).getApiResource,
187
+ /** Get a Certificate. */
188
+ sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
189
+ /** List Certificates belonging to a Project or an Ingress. */
190
+ sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
179
191
  });
180
192
  const buildMarketplaceApi = (baseClient) => ({
181
193
  /** List ExtensionInstances. */
@@ -202,7 +214,7 @@ const buildFileApi = (baseClient) => ({
202
214
  getFileUploadTypeRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTypeRules, baseClient.file.getFileUploadTypeRules).getApiResource,
203
215
  /** Get a File. */
204
216
  getFile: new ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
205
- /** Get a File. */
217
+ /** Get a File with user-friendly url. */
206
218
  getFileWithName: new ApiCallAsyncResourceFactory(descriptors.fileGetFileWithName, baseClient.file.getFileWithName).getApiResource,
207
219
  });
208
220
  const buildMailApi = (baseClient) => ({
@@ -103,6 +103,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
103
103
  cancelContractTermination: this.requestFunctionFactory(descriptors.contractCancelContractTermination),
104
104
  /** Return the BaseItem of the Contract with the given ID. */
105
105
  getBaseItemOfContract: this.requestFunctionFactory(descriptors.contractGetBaseItemOfContract),
106
+ /** Return the Contract for the given Certificate. */
107
+ getDetailOfContractByCertificate: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByCertificate),
106
108
  /** Return the Contract for the given Domain. */
107
109
  getDetailOfContractByDomain: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByDomain),
108
110
  /** Return the Contract for the given Project. */
@@ -243,6 +245,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
243
245
  listCustomers: this.requestFunctionFactory(descriptors.customerListCustomers),
244
246
  /** Create a new customer profile. */
245
247
  createCustomer: this.requestFunctionFactory(descriptors.customerCreateCustomer),
248
+ /** Lets us know your idea for our recommendation programm. */
249
+ createRecommendationSuggestion: this.requestFunctionFactory(descriptors.customerCreateRecommendationSuggestion),
250
+ /** Gets the Wallet of the Customer. */
251
+ getWallet: this.requestFunctionFactory(descriptors.customerGetWallet),
252
+ /** Create the Wallet for the Customer. */
253
+ createWallet: this.requestFunctionFactory(descriptors.customerCreateWallet),
246
254
  /** Decline a CustomerInvite. */
247
255
  declineCustomerInvite: this.requestFunctionFactory(descriptors.customerDeclineCustomerInvite),
248
256
  /** Get a CustomerInvite. */
@@ -406,12 +414,32 @@ export class MittwaldAPIV2Client extends ApiClientBase {
406
414
  ingressDeleteIngress: this.requestFunctionFactory(descriptors.ingressDeleteIngress),
407
415
  /** Verifiy the ownership of an Ingress. */
408
416
  ingressIngressVerifyOwnership: this.requestFunctionFactory(descriptors.ingressIngressVerifyOwnership),
417
+ /** List Ingresses compatible with a certificate. */
418
+ ingressListIngressesCompatibleWithCertificate: this.requestFunctionFactory(descriptors.ingressListIngressesCompatibleWithCertificate),
409
419
  /** Update the paths of an Ingress. */
410
420
  ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
411
421
  /** Request the ACME certificate issuance of an Ingress. */
412
422
  ingressRequestIngressAcmeCertificateIssuance: this.requestFunctionFactory(descriptors.ingressRequestIngressAcmeCertificateIssuance),
413
423
  /** Update the tls settings of an Ingress. */
414
424
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
425
+ /** Check the replacement of a Certificate. */
426
+ sslCheckReplaceCertificate: this.requestFunctionFactory(descriptors.sslCheckReplaceCertificate),
427
+ /** List CertificateRequests belonging to a Project or an Ingress. */
428
+ sslListCertificateRequests: this.requestFunctionFactory(descriptors.sslListCertificateRequests),
429
+ /** Create a CertificateRequest. */
430
+ sslCreateCertificateRequest: this.requestFunctionFactory(descriptors.sslCreateCertificateRequest),
431
+ /** Delete a CertificateRequest. */
432
+ sslDeleteCertificateRequest: this.requestFunctionFactory(descriptors.sslDeleteCertificateRequest),
433
+ /** Delete a Certificate. */
434
+ sslDeleteCertificate: this.requestFunctionFactory(descriptors.sslDeleteCertificate),
435
+ /** Get a CertificateRequest. */
436
+ sslGetCertificateRequest: this.requestFunctionFactory(descriptors.sslGetCertificateRequest),
437
+ /** Get a Certificate. */
438
+ sslGetCertificate: this.requestFunctionFactory(descriptors.sslGetCertificate),
439
+ /** Update a Certificate. */
440
+ sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
441
+ /** List Certificates belonging to a Project or an Ingress. */
442
+ sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
415
443
  };
416
444
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
417
445
  file = {
@@ -425,7 +453,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
425
453
  getFileUploadTypeRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTypeRules),
426
454
  /** Get a File. */
427
455
  getFile: this.requestFunctionFactory(descriptors.fileGetFile),
428
- /** Get a File. */
456
+ /** Get a File with user-friendly url. */
429
457
  getFileWithName: this.requestFunctionFactory(descriptors.fileGetFileWithName),
430
458
  };
431
459
  /** The mail API allows you to manage your mail accounts. */
@@ -672,6 +700,11 @@ export class MittwaldAPIV2Client extends ApiClientBase {
672
700
  /** Relocate an external Project to mittwald. */
673
701
  createRelocation: this.requestFunctionFactory(descriptors.relocationCreateRelocation),
674
702
  };
703
+ /** API endpoints that are not related to any specific API domain */
704
+ misc = {
705
+ /** Obtain a service token. */
706
+ servicetokenAuthenticateService: this.requestFunctionFactory(descriptors.servicetokenAuthenticateService),
707
+ };
675
708
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
676
709
  sshsftpUser = {
677
710
  /** Get all SFTPUsers for a Project. */
@@ -262,6 +262,12 @@ export const contractGetBaseItemOfContract = {
262
262
  method: "GET",
263
263
  operationId: "contract-get-base-item-of-contract",
264
264
  };
265
+ /** Return the Contract for the given Certificate. */
266
+ export const contractGetDetailOfContractByCertificate = {
267
+ path: "/v2/certificates/{certificateId}/contract",
268
+ method: "GET",
269
+ operationId: "contract-get-detail-of-contract-by-certificate",
270
+ };
265
271
  /** Return the Contract for the given Domain. */
266
272
  export const contractGetDetailOfContractByDomain = {
267
273
  path: "/v2/domains/{domainId}/contract",
@@ -478,6 +484,24 @@ export const customerCreateCustomer = {
478
484
  method: "POST",
479
485
  operationId: "customer-create-customer",
480
486
  };
487
+ /** Lets us know your idea for our recommendation programm. */
488
+ export const customerCreateRecommendationSuggestion = {
489
+ path: "/v2/customers/{customerId}/recommendation-suggestions",
490
+ method: "POST",
491
+ operationId: "customer-create-recommendation-suggestion",
492
+ };
493
+ /** Gets the Wallet of the Customer. */
494
+ export const customerGetWallet = {
495
+ path: "/v2/customers/{customerId}/wallet",
496
+ method: "GET",
497
+ operationId: "customer-get-wallet",
498
+ };
499
+ /** Create the Wallet for the Customer. */
500
+ export const customerCreateWallet = {
501
+ path: "/v2/customers/{customerId}/wallet",
502
+ method: "POST",
503
+ operationId: "customer-create-wallet",
504
+ };
481
505
  /** Decline a CustomerInvite. */
482
506
  export const customerDeclineCustomerInvite = {
483
507
  path: "/v2/customer-invites/{customerInviteId}/actions/decline",
@@ -994,7 +1018,7 @@ export const fileGetFile = {
994
1018
  method: "GET",
995
1019
  operationId: "file-get-file",
996
1020
  };
997
- /** Get a File. */
1021
+ /** Get a File with user-friendly url. */
998
1022
  export const fileGetFileWithName = {
999
1023
  path: "/v2/files/{fileId}/{fileName}",
1000
1024
  method: "GET",
@@ -1030,6 +1054,12 @@ export const ingressIngressVerifyOwnership = {
1030
1054
  method: "POST",
1031
1055
  operationId: "ingress-ingress-verify-ownership",
1032
1056
  };
1057
+ /** List Ingresses compatible with a certificate. */
1058
+ export const ingressListIngressesCompatibleWithCertificate = {
1059
+ path: "/v2/actions/list-ingresses-compatible-with-certificate",
1060
+ method: "POST",
1061
+ operationId: "ingress-list-ingresses-compatible-with-certificate",
1062
+ };
1033
1063
  /** Update the paths of an Ingress. */
1034
1064
  export const ingressUpdateIngressPaths = {
1035
1065
  path: "/v2/ingresses/{ingressId}/paths",
@@ -1582,6 +1612,60 @@ export const sshUserUpdateSshUser = {
1582
1612
  method: "PATCH",
1583
1613
  operationId: "ssh-user-update-ssh-user",
1584
1614
  };
1615
+ /** Check the replacement of a Certificate. */
1616
+ export const sslCheckReplaceCertificate = {
1617
+ path: "/v2/certificates/{certificateId}/actions/check-replace-certificate",
1618
+ method: "POST",
1619
+ operationId: "ssl-check-replace-certificate",
1620
+ };
1621
+ /** List CertificateRequests belonging to a Project or an Ingress. */
1622
+ export const sslListCertificateRequests = {
1623
+ path: "/v2/certificate-requests",
1624
+ method: "GET",
1625
+ operationId: "ssl-list-certificate-requests",
1626
+ };
1627
+ /** Create a CertificateRequest. */
1628
+ export const sslCreateCertificateRequest = {
1629
+ path: "/v2/certificate-requests",
1630
+ method: "POST",
1631
+ operationId: "ssl-create-certificate-request",
1632
+ };
1633
+ /** Delete a CertificateRequest. */
1634
+ export const sslDeleteCertificateRequest = {
1635
+ path: "/v2/certificate-request/{certificateRequestId}",
1636
+ method: "DELETE",
1637
+ operationId: "ssl-delete-certificate-request",
1638
+ };
1639
+ /** Delete a Certificate. */
1640
+ export const sslDeleteCertificate = {
1641
+ path: "/v2/certificate/{certificateId}",
1642
+ method: "DELETE",
1643
+ operationId: "ssl-delete-certificate",
1644
+ };
1645
+ /** Get a CertificateRequest. */
1646
+ export const sslGetCertificateRequest = {
1647
+ path: "/v2/certificate-requests/{certificateRequestId}",
1648
+ method: "GET",
1649
+ operationId: "ssl-get-certificate-request",
1650
+ };
1651
+ /** Get a Certificate. */
1652
+ export const sslGetCertificate = {
1653
+ path: "/v2/certificates/{certificateId}",
1654
+ method: "GET",
1655
+ operationId: "ssl-get-certificate",
1656
+ };
1657
+ /** Update a Certificate. */
1658
+ export const sslReplaceCertificate = {
1659
+ path: "/v2/certificates/{certificateId}",
1660
+ method: "PUT",
1661
+ operationId: "ssl-replace-certificate",
1662
+ };
1663
+ /** List Certificates belonging to a Project or an Ingress. */
1664
+ export const sslListCertificates = {
1665
+ path: "/v2/certificates",
1666
+ method: "GET",
1667
+ operationId: "ssl-list-certificates",
1668
+ };
1585
1669
  /** Add phone number and start verification process. */
1586
1670
  export const userAddPhoneNumber = {
1587
1671
  path: "/v2/users/{userId}/phone",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.60.0';
1
+ export const MittwaldAPIClientVersion = '4.64.2';
@@ -130,8 +130,8 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
130
130
  queryParameters?: {
131
131
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
132
132
  limit?: number | undefined;
133
- page?: number | undefined;
134
133
  skip?: number | undefined;
134
+ page?: number | undefined;
135
135
  } | undefined;
136
136
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallation[]>;
137
137
  /** List AppInstallations belonging to a Project. */
@@ -144,8 +144,8 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
144
144
  queryParameters?: {
145
145
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
146
146
  limit?: number | undefined;
147
- page?: number | undefined;
148
147
  skip?: number | undefined;
148
+ page?: number | undefined;
149
149
  } | undefined;
150
150
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallation[]>;
151
151
  /** List Apps. */
@@ -157,8 +157,8 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
157
157
  queryParameters?: {
158
158
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
159
159
  limit?: number | undefined;
160
- page?: number | undefined;
161
160
  skip?: number | undefined;
161
+ page?: number | undefined;
162
162
  } | undefined;
163
163
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppApp[]>;
164
164
  /** List AppVersions belonging to an App. */
@@ -182,8 +182,8 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
182
182
  queryParameters?: {
183
183
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
184
184
  limit?: number | undefined;
185
- page?: number | undefined;
186
185
  skip?: number | undefined;
186
+ page?: number | undefined;
187
187
  } | undefined;
188
188
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppSystemSoftware[]>;
189
189
  /** List SystemSoftwareVersions belonging to a SystemSoftware. */
@@ -263,14 +263,14 @@ declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
263
263
  queryParameters?: {
264
264
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
265
265
  customerId?: string | undefined;
266
- limit?: number | undefined;
267
- skip?: number | undefined;
268
- page?: number | undefined;
269
266
  tags?: string[] | undefined;
270
267
  templateNames?: string[] | undefined;
271
268
  articleIds?: string[] | undefined;
272
269
  orderable?: ("forbidden" | "internal" | "beta_testing" | "full" | "deprecated")[] | undefined;
273
270
  name?: string | undefined;
271
+ limit?: number | undefined;
272
+ skip?: number | undefined;
273
+ page?: number | undefined;
274
274
  } | undefined;
275
275
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableArticle[]>;
276
276
  };
@@ -360,6 +360,21 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
360
360
  termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
361
361
  totalPrice: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractPrice;
362
362
  }>;
363
+ /** Return the Contract for the given Certificate. */
364
+ getDetailOfContractByCertificate: (conf: {
365
+ certificateId: string;
366
+ headers?: {
367
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
368
+ "x-access-token"?: string | undefined;
369
+ } | undefined;
370
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
371
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
372
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
373
+ contractId: string;
374
+ contractNumber: string;
375
+ customerId: string;
376
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
377
+ }>;
363
378
  /** Return the Contract for the given Domain. */
364
379
  getDetailOfContractByDomain: (conf: {
365
380
  domainId: string;
@@ -818,6 +833,19 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
818
833
  page?: number | undefined;
819
834
  } | undefined;
820
835
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomer[]>;
836
+ /** Gets the Wallet of the Customer. */
837
+ getWallet: (conf: {
838
+ customerId: string;
839
+ headers?: {
840
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
841
+ "x-access-token"?: string | undefined;
842
+ } | undefined;
843
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
844
+ customerId: string;
845
+ points: number;
846
+ recommendationCode?: string | undefined;
847
+ walletId: string;
848
+ }>;
821
849
  /** Get a CustomerInvite. */
822
850
  getCustomerInvite: (conf: {
823
851
  customerInviteId: string;
@@ -1137,6 +1165,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1137
1165
  page?: number | undefined;
1138
1166
  limit?: number | undefined;
1139
1167
  domainSearchName?: string | undefined;
1168
+ contactHash?: string | undefined;
1140
1169
  } | undefined;
1141
1170
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
1142
1171
  /** Get a Domain. */
@@ -1150,6 +1179,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1150
1179
  authCode?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode | undefined;
1151
1180
  authCode2?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode2 | undefined;
1152
1181
  connected: boolean;
1182
+ contactHash?: string | undefined;
1153
1183
  deleted: boolean;
1154
1184
  domain: string;
1155
1185
  domainId: string;
@@ -1217,6 +1247,10 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1217
1247
  queryParameters?: {
1218
1248
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1219
1249
  projectId?: string | undefined;
1250
+ certificateId?: string | undefined;
1251
+ limit?: number | undefined;
1252
+ skip?: number | undefined;
1253
+ page?: number | undefined;
1220
1254
  } | undefined;
1221
1255
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.IngressIngress[]>;
1222
1256
  /** Get an Ingress. */
@@ -1241,6 +1275,75 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1241
1275
  projectId: string;
1242
1276
  tls: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsAcme | import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
1243
1277
  }>;
1278
+ /** List CertificateRequests belonging to a Project or an Ingress. */
1279
+ sslListCertificateRequests: (conf?: {
1280
+ headers?: {
1281
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1282
+ "x-access-token"?: string | undefined;
1283
+ } | undefined;
1284
+ queryParameters?: {
1285
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1286
+ projectId?: string | undefined;
1287
+ ingressId?: string | undefined;
1288
+ } | undefined;
1289
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateRequest[]>;
1290
+ /** Get a CertificateRequest. */
1291
+ sslGetCertificateRequest: (conf: {
1292
+ certificateRequestId: string;
1293
+ headers?: {
1294
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1295
+ "x-access-token"?: string | undefined;
1296
+ } | undefined;
1297
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1298
+ certificateData: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateData;
1299
+ certificateType: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateType;
1300
+ commonName?: string | undefined;
1301
+ contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
1302
+ createdAt: string;
1303
+ dnsNames?: string[] | undefined;
1304
+ id: string;
1305
+ isCompleted: boolean;
1306
+ issuer?: string | undefined;
1307
+ projectId: string;
1308
+ validFrom?: string | undefined;
1309
+ validTo?: string | undefined;
1310
+ }>;
1311
+ /** Get a Certificate. */
1312
+ sslGetCertificate: (conf: {
1313
+ certificateId: string;
1314
+ headers?: {
1315
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1316
+ "x-access-token"?: string | undefined;
1317
+ } | undefined;
1318
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1319
+ caBundle?: string | undefined;
1320
+ certificate: string;
1321
+ certificateOrderId?: string | undefined;
1322
+ certificateRequestId: string;
1323
+ certificateType: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateType;
1324
+ commonName?: string | undefined;
1325
+ contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
1326
+ dnsNames?: string[] | undefined;
1327
+ id: string;
1328
+ isExpired: boolean;
1329
+ issuer?: string | undefined;
1330
+ lastExpirationThresholdHit: number;
1331
+ projectId: string;
1332
+ validFrom: string;
1333
+ validTo: string;
1334
+ }>;
1335
+ /** List Certificates belonging to a Project or an Ingress. */
1336
+ sslListCertificates: (conf?: {
1337
+ headers?: {
1338
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1339
+ "x-access-token"?: string | undefined;
1340
+ } | undefined;
1341
+ queryParameters?: {
1342
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1343
+ projectId?: string | undefined;
1344
+ ingressId?: string | undefined;
1345
+ } | undefined;
1346
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[]>;
1244
1347
  };
1245
1348
  declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1246
1349
  /** List ExtensionInstances. */
@@ -1276,13 +1379,14 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1276
1379
  disabled: boolean;
1277
1380
  extensionId: string;
1278
1381
  id: string;
1382
+ pendingInstallation: boolean;
1383
+ pendingRemoval: boolean;
1279
1384
  }>;
1280
1385
  /** Get a Contributor. */
1281
1386
  extensionGetContributor: (conf: {
1282
1387
  contributorId: string;
1283
1388
  headers?: {
1284
1389
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1285
- "x-access-token"?: string | undefined;
1286
1390
  } | undefined;
1287
1391
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1288
1392
  customerId: string;
@@ -1299,12 +1403,14 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1299
1403
  extensionId: string;
1300
1404
  headers?: {
1301
1405
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1302
- "x-access-token"?: string | undefined;
1303
1406
  } | undefined;
1304
1407
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1305
1408
  blocked: boolean;
1306
1409
  context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
1307
1410
  contributorId: string;
1411
+ deprecation?: {
1412
+ deprecatedAt: string;
1413
+ } | undefined;
1308
1414
  description: string;
1309
1415
  detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
1310
1416
  disabled: boolean;
@@ -1324,7 +1430,6 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1324
1430
  serial: string;
1325
1431
  headers?: {
1326
1432
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1327
- "x-access-token"?: string | undefined;
1328
1433
  } | undefined;
1329
1434
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1330
1435
  algorithm: string;
@@ -1335,7 +1440,6 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1335
1440
  extensionListContributors: (conf?: {
1336
1441
  headers?: {
1337
1442
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1338
- "x-access-token"?: string | undefined;
1339
1443
  } | undefined;
1340
1444
  queryParameters?: {
1341
1445
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -1348,7 +1452,6 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1348
1452
  extensionListExtensions: (conf?: {
1349
1453
  headers?: {
1350
1454
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1351
- "x-access-token"?: string | undefined;
1352
1455
  } | undefined;
1353
1456
  queryParameters?: {
1354
1457
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -1365,9 +1468,15 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1365
1468
  fileId: string;
1366
1469
  headers?: {
1367
1470
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1471
+ Token?: string | undefined;
1472
+ } | undefined;
1473
+ queryParameters?: {
1474
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1475
+ token?: string | undefined;
1368
1476
  } | undefined;
1369
1477
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1370
1478
  friendlyURL: string;
1479
+ friendlyUrl: string;
1371
1480
  id: string;
1372
1481
  mimeType: string;
1373
1482
  name: string;
@@ -1385,6 +1494,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1385
1494
  fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
1386
1495
  maxSizeInBytes: number;
1387
1496
  maxSizeInKB: number;
1497
+ maxSizeInKb: number;
1388
1498
  mimeTypes: string[];
1389
1499
  properties?: {
1390
1500
  imageDimensions?: {
@@ -1410,6 +1520,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1410
1520
  fileTypes: import("./types.js").MittwaldAPIV2.Components.Schemas.FileFileType[];
1411
1521
  maxSizeInBytes: number;
1412
1522
  maxSizeInKB: number;
1523
+ maxSizeInKb: number;
1413
1524
  mimeTypes: string[];
1414
1525
  properties?: {
1415
1526
  imageDimensions?: {
@@ -1433,8 +1544,12 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1433
1544
  "Content-Disposition"?: ("inline" | "attachment") | undefined;
1434
1545
  Token?: string | undefined;
1435
1546
  } | undefined;
1547
+ queryParameters?: {
1548
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1549
+ token?: string | undefined;
1550
+ } | undefined;
1436
1551
  }) => import("@mittwald/react-use-promise").AsyncResource<string>;
1437
- /** Get a File. */
1552
+ /** Get a File with user-friendly url. */
1438
1553
  getFileWithName: (conf: {
1439
1554
  fileId: string;
1440
1555
  fileName: string;
@@ -1444,6 +1559,10 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1444
1559
  "Content-Disposition"?: ("inline" | "attachment") | undefined;
1445
1560
  Token?: string | undefined;
1446
1561
  } | undefined;
1562
+ queryParameters?: {
1563
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1564
+ token?: string | undefined;
1565
+ } | undefined;
1447
1566
  }) => import("@mittwald/react-use-promise").AsyncResource<string>;
1448
1567
  };
1449
1568
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
@@ -1454,6 +1573,13 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1454
1573
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1455
1574
  "x-access-token"?: string | undefined;
1456
1575
  } | undefined;
1576
+ queryParameters?: {
1577
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1578
+ search?: string | undefined;
1579
+ limit?: number | undefined;
1580
+ skip?: number | undefined;
1581
+ page?: number | undefined;
1582
+ } | undefined;
1457
1583
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[]>;
1458
1584
  /** List MailAddresses belonging to a Project. */
1459
1585
  listMailAddresses: (conf: {
@@ -1462,6 +1588,13 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1462
1588
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1463
1589
  "x-access-token"?: string | undefined;
1464
1590
  } | undefined;
1591
+ queryParameters?: {
1592
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1593
+ search?: string | undefined;
1594
+ limit?: number | undefined;
1595
+ skip?: number | undefined;
1596
+ page?: number | undefined;
1597
+ } | undefined;
1465
1598
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
1466
1599
  /** Get a DeliveryBox. */
1467
1600
  getDeliveryBox: (conf: {
@@ -1777,10 +1910,14 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1777
1910
  } | undefined;
1778
1911
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1779
1912
  avatarRef?: string | undefined;
1913
+ customerMemberships?: {
1914
+ [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.UserCustomerMembership;
1915
+ } | undefined;
1780
1916
  email?: string | undefined;
1781
1917
  employeeInformation?: {
1782
1918
  department: string;
1783
1919
  } | undefined;
1920
+ isEmployee?: boolean | undefined;
1784
1921
  mfa?: {
1785
1922
  active: boolean;
1786
1923
  setup: boolean;
@@ -1788,6 +1925,9 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1788
1925
  passwordUpdatedAt?: string | undefined;
1789
1926
  person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
1790
1927
  phoneNumber?: string | undefined;
1928
+ projectMemberships?: {
1929
+ [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.UserProjectMembership;
1930
+ } | undefined;
1791
1931
  registeredAt?: string | undefined;
1792
1932
  userId: string;
1793
1933
  }>;