@mittwald/api-client 3.1.15 → 3.1.17

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.
@@ -550,6 +550,10 @@ export declare module MittwaldAPIV2 {
550
550
  type RequestData = InferredRequestData<typeof descriptors.domainGetDomainOwnership>;
551
551
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetDomainOwnership, TStatus>;
552
552
  }
553
+ namespace DomainGetLatestScreenshot {
554
+ type RequestData = InferredRequestData<typeof descriptors.domainGetLatestScreenshot>;
555
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetLatestScreenshot, TStatus>;
556
+ }
553
557
  namespace DomainListDomainOwnerships {
554
558
  type RequestData = InferredRequestData<typeof descriptors.domainListDomainOwnerships>;
555
559
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainListDomainOwnerships, TStatus>;
@@ -642,22 +646,6 @@ export declare module MittwaldAPIV2 {
642
646
  type RequestData = InferredRequestData<typeof descriptors.invoiceListCustomerInvoices>;
643
647
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.invoiceListCustomerInvoices, TStatus>;
644
648
  }
645
- namespace MailListDeliveryBoxes {
646
- type RequestData = InferredRequestData<typeof descriptors.mailListDeliveryBoxes>;
647
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListDeliveryBoxes, TStatus>;
648
- }
649
- namespace MailCreateDeliverybox {
650
- type RequestData = InferredRequestData<typeof descriptors.mailCreateDeliverybox>;
651
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailCreateDeliverybox, TStatus>;
652
- }
653
- namespace MailListMailAddresses {
654
- type RequestData = InferredRequestData<typeof descriptors.mailListMailAddresses>;
655
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListMailAddresses, TStatus>;
656
- }
657
- namespace MailCreateMailAddress {
658
- type RequestData = InferredRequestData<typeof descriptors.mailCreateMailAddress>;
659
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailCreateMailAddress, TStatus>;
660
- }
661
649
  namespace MailGetDeliveryBox {
662
650
  type RequestData = InferredRequestData<typeof descriptors.mailGetDeliveryBox>;
663
651
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailGetDeliveryBox, TStatus>;
@@ -674,6 +662,22 @@ export declare module MittwaldAPIV2 {
674
662
  type RequestData = InferredRequestData<typeof descriptors.mailDeleteMailAddress>;
675
663
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailDeleteMailAddress, TStatus>;
676
664
  }
665
+ namespace MailListDeliveryBoxes {
666
+ type RequestData = InferredRequestData<typeof descriptors.mailListDeliveryBoxes>;
667
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListDeliveryBoxes, TStatus>;
668
+ }
669
+ namespace MailCreateDeliverybox {
670
+ type RequestData = InferredRequestData<typeof descriptors.mailCreateDeliverybox>;
671
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailCreateDeliverybox, TStatus>;
672
+ }
673
+ namespace MailListMailAddresses {
674
+ type RequestData = InferredRequestData<typeof descriptors.mailListMailAddresses>;
675
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListMailAddresses, TStatus>;
676
+ }
677
+ namespace MailCreateMailAddress {
678
+ type RequestData = InferredRequestData<typeof descriptors.mailCreateMailAddress>;
679
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailCreateMailAddress, TStatus>;
680
+ }
677
681
  namespace MailListProjectMailSettings {
678
682
  type RequestData = InferredRequestData<typeof descriptors.mailListProjectMailSettings>;
679
683
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListProjectMailSettings, TStatus>;
@@ -1158,10 +1162,6 @@ export declare module MittwaldAPIV2 {
1158
1162
  type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
1159
1163
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
1160
1164
  }
1161
- namespace DomainGetLatestScreenshot {
1162
- type RequestData = InferredRequestData<typeof descriptors.domainGetLatestScreenshot>;
1163
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetLatestScreenshot, TStatus>;
1164
- }
1165
1165
  namespace FileGetFileUploadTokenRules {
1166
1166
  type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTokenRules>;
1167
1167
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTokenRules, TStatus>;
@@ -2151,6 +2151,7 @@ export declare module MittwaldAPIV2 {
2151
2151
  * Has to be `true`, as ssl cannot be deactivated.
2152
2152
  */
2153
2153
  acme: boolean;
2154
+ requestDeadline?: string;
2154
2155
  }
2155
2156
  interface IngressTlsCertificate {
2156
2157
  certificateId: string;
@@ -7809,6 +7810,7 @@ export declare module MittwaldAPIV2 {
7809
7810
  namespace V2DomainsDomainIdContracts { }
7810
7811
  namespace V2ProjectsProjectIdContracts { }
7811
7812
  namespace V2ServersServerIdContracts { }
7813
+ namespace V2DomainsDomainIdScreenshotsNewest { }
7812
7814
  namespace V2NewsletterSubscriptions {
7813
7815
  namespace Post {
7814
7816
  namespace Parameters {
@@ -8416,6 +8418,44 @@ export declare module MittwaldAPIV2 {
8416
8418
  }
8417
8419
  }
8418
8420
  namespace V2DomainsHandleSchemaDomainName { }
8421
+ namespace V2DomainsDomainIdLatestScreenshot {
8422
+ namespace Get {
8423
+ namespace Parameters {
8424
+ type Path = {
8425
+ domainId: string;
8426
+ };
8427
+ interface RequestBody {
8428
+ domainName: string;
8429
+ path: string;
8430
+ }
8431
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8432
+ type Query = {};
8433
+ }
8434
+ namespace Responses {
8435
+ namespace $200 {
8436
+ namespace Content {
8437
+ interface ApplicationJson {
8438
+ reference?: string;
8439
+ }
8440
+ }
8441
+ }
8442
+ namespace $404 {
8443
+ namespace Content {
8444
+ interface ApplicationJson {
8445
+ [k: string]: unknown;
8446
+ }
8447
+ }
8448
+ }
8449
+ namespace Default {
8450
+ namespace Content {
8451
+ interface ApplicationJson {
8452
+ [k: string]: unknown;
8453
+ }
8454
+ }
8455
+ }
8456
+ }
8457
+ }
8458
+ }
8419
8459
  namespace V2ProjectsProjectIdDomainOwnerships {
8420
8460
  namespace Get {
8421
8461
  namespace Parameters {
@@ -9292,12 +9332,12 @@ export declare module MittwaldAPIV2 {
9292
9332
  }
9293
9333
  }
9294
9334
  }
9295
- namespace V2ProjectsProjectIdDeliveryboxes { }
9296
- namespace V2ProjectsProjectIdDeliveryBoxes {
9335
+ namespace V2DeliveryboxesDeliveryBoxId { }
9336
+ namespace V2DeliveryBoxesDeliveryBoxId {
9297
9337
  namespace Get {
9298
9338
  namespace Parameters {
9299
9339
  type Path = {
9300
- projectId: string;
9340
+ deliveryBoxId: string;
9301
9341
  };
9302
9342
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9303
9343
  type Query = {};
@@ -9305,7 +9345,7 @@ export declare module MittwaldAPIV2 {
9305
9345
  namespace Responses {
9306
9346
  namespace $200 {
9307
9347
  namespace Content {
9308
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailDeliverybox[];
9348
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailDeliverybox;
9309
9349
  }
9310
9350
  }
9311
9351
  namespace $400 {
@@ -9352,24 +9392,18 @@ export declare module MittwaldAPIV2 {
9352
9392
  }
9353
9393
  }
9354
9394
  }
9355
- namespace Post {
9395
+ namespace Delete {
9356
9396
  namespace Parameters {
9357
9397
  type Path = {
9358
- projectId: string;
9398
+ deliveryBoxId: string;
9359
9399
  };
9360
- interface RequestBody {
9361
- description: string;
9362
- password: string;
9363
- }
9364
9400
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9365
9401
  type Query = {};
9366
9402
  }
9367
9403
  namespace Responses {
9368
- namespace $201 {
9404
+ namespace $200 {
9369
9405
  namespace Content {
9370
- interface ApplicationJson {
9371
- id: string;
9372
- }
9406
+ type Empty = unknown;
9373
9407
  }
9374
9408
  }
9375
9409
  namespace $400 {
@@ -9417,12 +9451,12 @@ export declare module MittwaldAPIV2 {
9417
9451
  }
9418
9452
  }
9419
9453
  }
9420
- namespace V2ProjectsProjectIdMailaddresses { }
9421
- namespace V2ProjectsProjectIdMailAddresses {
9454
+ namespace V2MailaddressesMailAddressId { }
9455
+ namespace V2MailAddressesMailAddressId {
9422
9456
  namespace Get {
9423
9457
  namespace Parameters {
9424
9458
  type Path = {
9425
- projectId: string;
9459
+ mailAddressId: string;
9426
9460
  };
9427
9461
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9428
9462
  type Query = {};
@@ -9430,7 +9464,7 @@ export declare module MittwaldAPIV2 {
9430
9464
  namespace Responses {
9431
9465
  namespace $200 {
9432
9466
  namespace Content {
9433
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailMailAddress[];
9467
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailMailAddress;
9434
9468
  }
9435
9469
  }
9436
9470
  namespace $400 {
@@ -9477,21 +9511,18 @@ export declare module MittwaldAPIV2 {
9477
9511
  }
9478
9512
  }
9479
9513
  }
9480
- namespace Post {
9514
+ namespace Delete {
9481
9515
  namespace Parameters {
9482
9516
  type Path = {
9483
- projectId: string;
9517
+ mailAddressId: string;
9484
9518
  };
9485
- type RequestBody = MittwaldAPIV2.Components.Schemas.MailCreateForwardAddress | MittwaldAPIV2.Components.Schemas.MailCreateMailAddress;
9486
9519
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9487
9520
  type Query = {};
9488
9521
  }
9489
9522
  namespace Responses {
9490
- namespace $201 {
9523
+ namespace $200 {
9491
9524
  namespace Content {
9492
- interface ApplicationJson {
9493
- id: string;
9494
- }
9525
+ type Empty = unknown;
9495
9526
  }
9496
9527
  }
9497
9528
  namespace $400 {
@@ -9539,12 +9570,14 @@ export declare module MittwaldAPIV2 {
9539
9570
  }
9540
9571
  }
9541
9572
  }
9542
- namespace V2DeliveryboxesDeliveryBoxId { }
9543
- namespace V2DeliveryBoxesDeliveryBoxId {
9573
+ namespace V2DeliveryboxesIdDescription { }
9574
+ namespace V2DeliveryboxesIdPassword { }
9575
+ namespace V2ProjectsProjectIdDeliveryboxes { }
9576
+ namespace V2ProjectsProjectIdDeliveryBoxes {
9544
9577
  namespace Get {
9545
9578
  namespace Parameters {
9546
9579
  type Path = {
9547
- deliveryBoxId: string;
9580
+ projectId: string;
9548
9581
  };
9549
9582
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9550
9583
  type Query = {};
@@ -9552,7 +9585,7 @@ export declare module MittwaldAPIV2 {
9552
9585
  namespace Responses {
9553
9586
  namespace $200 {
9554
9587
  namespace Content {
9555
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailDeliverybox;
9588
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailDeliverybox[];
9556
9589
  }
9557
9590
  }
9558
9591
  namespace $400 {
@@ -9599,18 +9632,24 @@ export declare module MittwaldAPIV2 {
9599
9632
  }
9600
9633
  }
9601
9634
  }
9602
- namespace Delete {
9635
+ namespace Post {
9603
9636
  namespace Parameters {
9604
9637
  type Path = {
9605
- deliveryBoxId: string;
9638
+ projectId: string;
9606
9639
  };
9640
+ interface RequestBody {
9641
+ description: string;
9642
+ password: string;
9643
+ }
9607
9644
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9608
9645
  type Query = {};
9609
9646
  }
9610
9647
  namespace Responses {
9611
- namespace $200 {
9648
+ namespace $201 {
9612
9649
  namespace Content {
9613
- type Empty = unknown;
9650
+ interface ApplicationJson {
9651
+ id: string;
9652
+ }
9614
9653
  }
9615
9654
  }
9616
9655
  namespace $400 {
@@ -9658,12 +9697,12 @@ export declare module MittwaldAPIV2 {
9658
9697
  }
9659
9698
  }
9660
9699
  }
9661
- namespace V2MailaddressesMailAddressId { }
9662
- namespace V2MailAddressesMailAddressId {
9700
+ namespace V2ProjectsProjectIdMailaddresses { }
9701
+ namespace V2ProjectsProjectIdMailAddresses {
9663
9702
  namespace Get {
9664
9703
  namespace Parameters {
9665
9704
  type Path = {
9666
- mailAddressId: string;
9705
+ projectId: string;
9667
9706
  };
9668
9707
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9669
9708
  type Query = {};
@@ -9671,7 +9710,7 @@ export declare module MittwaldAPIV2 {
9671
9710
  namespace Responses {
9672
9711
  namespace $200 {
9673
9712
  namespace Content {
9674
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailMailAddress;
9713
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailMailAddress[];
9675
9714
  }
9676
9715
  }
9677
9716
  namespace $400 {
@@ -9718,18 +9757,21 @@ export declare module MittwaldAPIV2 {
9718
9757
  }
9719
9758
  }
9720
9759
  }
9721
- namespace Delete {
9760
+ namespace Post {
9722
9761
  namespace Parameters {
9723
9762
  type Path = {
9724
- mailAddressId: string;
9763
+ projectId: string;
9725
9764
  };
9765
+ type RequestBody = MittwaldAPIV2.Components.Schemas.MailCreateForwardAddress | MittwaldAPIV2.Components.Schemas.MailCreateMailAddress;
9726
9766
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9727
9767
  type Query = {};
9728
9768
  }
9729
9769
  namespace Responses {
9730
- namespace $200 {
9770
+ namespace $201 {
9731
9771
  namespace Content {
9732
- type Empty = unknown;
9772
+ interface ApplicationJson {
9773
+ id: string;
9774
+ }
9733
9775
  }
9734
9776
  }
9735
9777
  namespace $400 {
@@ -9777,8 +9819,6 @@ export declare module MittwaldAPIV2 {
9777
9819
  }
9778
9820
  }
9779
9821
  }
9780
- namespace V2DeliveryboxesIdDescription { }
9781
- namespace V2DeliveryboxesIdPassword { }
9782
9822
  namespace V2ProjectsProjectIdMailsettings { }
9783
9823
  namespace V2ProjectsProjectIdMailSettings {
9784
9824
  namespace Get {
@@ -14651,45 +14691,6 @@ export declare module MittwaldAPIV2 {
14651
14691
  }
14652
14692
  }
14653
14693
  }
14654
- namespace V2DomainsDomainIdScreenshotsNewest { }
14655
- namespace V2DomainsDomainIdLatestScreenshot {
14656
- namespace Get {
14657
- namespace Parameters {
14658
- type Path = {
14659
- domainId: string;
14660
- };
14661
- interface RequestBody {
14662
- domainName: string;
14663
- path: string;
14664
- }
14665
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14666
- type Query = {};
14667
- }
14668
- namespace Responses {
14669
- namespace $200 {
14670
- namespace Content {
14671
- interface ApplicationJson {
14672
- reference?: string;
14673
- }
14674
- }
14675
- }
14676
- namespace $404 {
14677
- namespace Content {
14678
- interface ApplicationJson {
14679
- [k: string]: unknown;
14680
- }
14681
- }
14682
- }
14683
- namespace Default {
14684
- namespace Content {
14685
- interface ApplicationJson {
14686
- [k: string]: unknown;
14687
- }
14688
- }
14689
- }
14690
- }
14691
- }
14692
- }
14693
14694
  namespace V2AppinstallationsAppInstallationIdDatabases { }
14694
14695
  namespace V2FileUploadTokensFileUploadTokenRules {
14695
14696
  namespace Get {
@@ -1090,6 +1090,20 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1090
1090
  projectId: string;
1091
1091
  txtRecord: string;
1092
1092
  }>;
1093
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
1094
+ getLatestScreenshot: (conf: {
1095
+ data: {
1096
+ domainName: string;
1097
+ path: string;
1098
+ };
1099
+ domainId: string;
1100
+ headers?: {
1101
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1102
+ "x-access-token"?: string | undefined;
1103
+ } | undefined;
1104
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1105
+ reference?: string | undefined;
1106
+ }>;
1093
1107
  /** List the DomainOwnerships of a project. */
1094
1108
  listDomainOwnerships: (conf: {
1095
1109
  projectId: string;
@@ -1159,20 +1173,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1159
1173
  projectId: string;
1160
1174
  tls: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsAcme | import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
1161
1175
  }>;
1162
- /** Get the latest screenshot's FileReference belonging to a Domain. */
1163
- getLatestScreenshot: (conf: {
1164
- data: {
1165
- domainName: string;
1166
- path: string;
1167
- };
1168
- domainId: string;
1169
- headers?: {
1170
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1171
- "x-access-token"?: string | undefined;
1172
- } | undefined;
1173
- }) => import("@mittwald/react-use-promise/types").AsyncResource<{
1174
- reference?: string | undefined;
1175
- }>;
1176
1176
  };
1177
1177
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1178
1178
  /** Get a File's meta. */
@@ -1244,22 +1244,6 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1244
1244
  }>;
1245
1245
  };
1246
1246
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1247
- /** List DeliveryBoxes belonging to a Project. */
1248
- listDeliveryBoxes: (conf: {
1249
- projectId: string;
1250
- headers?: {
1251
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1252
- "x-access-token"?: string | undefined;
1253
- } | undefined;
1254
- }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[]>;
1255
- /** List MailAddresses belonging to a Project. */
1256
- listMailAddresses: (conf: {
1257
- projectId: string;
1258
- headers?: {
1259
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1260
- "x-access-token"?: string | undefined;
1261
- } | undefined;
1262
- }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
1263
1247
  /** Get a DeliveryBox. */
1264
1248
  getDeliveryBox: (conf: {
1265
1249
  deliveryBoxId: string;
@@ -1317,6 +1301,22 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1317
1301
  receivingDisabled: boolean;
1318
1302
  updatedAt: string;
1319
1303
  }>;
1304
+ /** List DeliveryBoxes belonging to a Project. */
1305
+ listDeliveryBoxes: (conf: {
1306
+ projectId: string;
1307
+ headers?: {
1308
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1309
+ "x-access-token"?: string | undefined;
1310
+ } | undefined;
1311
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[]>;
1312
+ /** List MailAddresses belonging to a Project. */
1313
+ listMailAddresses: (conf: {
1314
+ projectId: string;
1315
+ headers?: {
1316
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1317
+ "x-access-token"?: string | undefined;
1318
+ } | undefined;
1319
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
1320
1320
  /** List mail settings of a Project. */
1321
1321
  listProjectMailSettings: (conf: {
1322
1322
  projectId: string;
@@ -156,6 +156,8 @@ const buildDomainApi = (baseClient) => ({
156
156
  getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
157
157
  /** Get a DomainOwnership. */
158
158
  getDomainOwnership: new ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
159
+ /** Get the latest screenshot's FileReference belonging to a Domain. */
160
+ getLatestScreenshot: new ApiCallAsyncResourceFactory(descriptors.domainGetLatestScreenshot, baseClient.domain.getLatestScreenshot).getApiResource,
159
161
  /** List the DomainOwnerships of a project. */
160
162
  listDomainOwnerships: new ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
161
163
  /** List Domains belonging to a Project. */
@@ -168,8 +170,6 @@ const buildDomainApi = (baseClient) => ({
168
170
  ingressListIngresses: new ApiCallAsyncResourceFactory(descriptors.ingressListIngresses, baseClient.domain.ingressListIngresses).getApiResource,
169
171
  /** Get an Ingress. */
170
172
  ingressGetIngress: new ApiCallAsyncResourceFactory(descriptors.ingressGetIngress, baseClient.domain.ingressGetIngress).getApiResource,
171
- /** Get the latest screenshot's FileReference belonging to a Domain. */
172
- getLatestScreenshot: new ApiCallAsyncResourceFactory(descriptors.domainGetLatestScreenshot, baseClient.domain.getLatestScreenshot).getApiResource,
173
173
  });
174
174
  const buildFileApi = (baseClient) => ({
175
175
  /** Get a File's meta. */
@@ -182,14 +182,14 @@ const buildFileApi = (baseClient) => ({
182
182
  getFileUploadTypeRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTypeRules, baseClient.file.getFileUploadTypeRules).getApiResource,
183
183
  });
184
184
  const buildMailApi = (baseClient) => ({
185
- /** List DeliveryBoxes belonging to a Project. */
186
- listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
187
- /** List MailAddresses belonging to a Project. */
188
- listMailAddresses: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddresses, baseClient.mail.listMailAddresses).getApiResource,
189
185
  /** Get a DeliveryBox. */
190
186
  getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
191
187
  /** Get a MailAddress. */
192
188
  getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
189
+ /** List DeliveryBoxes belonging to a Project. */
190
+ listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
191
+ /** List MailAddresses belonging to a Project. */
192
+ listMailAddresses: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddresses, baseClient.mail.listMailAddresses).getApiResource,
193
193
  /** List mail settings of a Project. */
194
194
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
195
195
  });