@mittwald/api-client 4.385.0 → 4.386.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.
@@ -446,6 +446,8 @@ const buildProjectApi = (baseClient) => ({
446
446
  storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
447
447
  /** Get storage space Statistics belonging to a Server. */
448
448
  storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
449
+ /** Get the activities of a project. */
450
+ listProjectActivities: new ApiCallAsyncResourceFactory(descriptors.projectListProjectActivities, baseClient.project.listProjectActivities).getApiResource,
449
451
  });
450
452
  const buildProjectFileSystemApi = (baseClient) => ({
451
453
  /** List directories belonging to a Project. */
@@ -962,6 +962,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
962
962
  storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
963
963
  /** Update a Server's storage space notification threshold. */
964
964
  storagespaceReplaceServerNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceServerNotificationThreshold),
965
+ /** Get the activities of a project. */
966
+ listProjectActivities: this.requestFunctionFactory(descriptors.projectListProjectActivities),
965
967
  };
966
968
  /** The filesystem API allows you to directly access the filesystem of your project. */
967
969
  projectFileSystem = {
@@ -2788,3 +2788,9 @@ export const verificationVerifyCompany = {
2788
2788
  method: "POST",
2789
2789
  operationId: "verification-verify-company",
2790
2790
  };
2791
+ /** Get the activities of a project. */
2792
+ export const projectListProjectActivities = {
2793
+ path: "/v2/projects/{projectId}/activities",
2794
+ method: "GET",
2795
+ operationId: "project-list-project-activities",
2796
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.384.0';
1
+ export const MittwaldAPIClientVersion = '4.385.0';
@@ -3481,6 +3481,27 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3481
3481
  notificationThresholdInBytes?: number | undefined;
3482
3482
  statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
3483
3483
  }>;
3484
+ /** Get the activities of a project. */
3485
+ listProjectActivities: (conf: {
3486
+ projectId: string;
3487
+ headers?: {
3488
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3489
+ } | undefined;
3490
+ queryParameters?: {
3491
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3492
+ aggregateName?: string | undefined;
3493
+ aggregateDomain?: string | undefined;
3494
+ aggregateId?: string | undefined;
3495
+ startTime?: string | undefined;
3496
+ endTime?: string | undefined;
3497
+ fulltextSearch?: string | undefined;
3498
+ limit?: number | undefined;
3499
+ skip?: number | undefined;
3500
+ page?: number | undefined;
3501
+ sort?: "dateTime" | undefined;
3502
+ order?: "asc" | "desc" | undefined;
3503
+ } | undefined;
3504
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[]>;
3484
3505
  };
3485
3506
  declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
3486
3507
  /** List directories belonging to a Project. */
@@ -29399,6 +29399,91 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29399
29399
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29400
29400
  [x: string]: unknown;
29401
29401
  }, 500, "application/json">>>;
29402
+ /** Get the activities of a project. */
29403
+ listProjectActivities: (request: {
29404
+ projectId: string;
29405
+ headers?: {
29406
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29407
+ } | undefined;
29408
+ queryParameters?: {
29409
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29410
+ aggregateName?: string | undefined;
29411
+ aggregateDomain?: string | undefined;
29412
+ aggregateId?: string | undefined;
29413
+ startTime?: string | undefined;
29414
+ endTime?: string | undefined;
29415
+ fulltextSearch?: string | undefined;
29416
+ limit?: number | undefined;
29417
+ skip?: number | undefined;
29418
+ page?: number | undefined;
29419
+ sort?: "dateTime" | undefined;
29420
+ order?: "asc" | "desc" | undefined;
29421
+ } | undefined;
29422
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29423
+ headers?: Partial<{
29424
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29425
+ }>;
29426
+ } & {
29427
+ pathParameters: {
29428
+ projectId: string;
29429
+ };
29430
+ } & {
29431
+ queryParameters: {
29432
+ aggregateName?: string | undefined;
29433
+ aggregateDomain?: string | undefined;
29434
+ aggregateId?: string | undefined;
29435
+ startTime?: string | undefined;
29436
+ endTime?: string | undefined;
29437
+ fulltextSearch?: string | undefined;
29438
+ limit?: number | undefined;
29439
+ skip?: number | undefined;
29440
+ page?: number | undefined;
29441
+ sort?: "dateTime" | undefined;
29442
+ order?: "asc" | "desc" | undefined;
29443
+ } & Partial<{
29444
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29445
+ }>;
29446
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29447
+ [x: string]: unknown;
29448
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29449
+ [x: string]: unknown;
29450
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29451
+ [x: string]: unknown;
29452
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29453
+ [x: string]: unknown;
29454
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29455
+ headers?: Partial<{
29456
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29457
+ }>;
29458
+ } & {
29459
+ pathParameters: {
29460
+ projectId: string;
29461
+ };
29462
+ } & {
29463
+ queryParameters: {
29464
+ aggregateName?: string | undefined;
29465
+ aggregateDomain?: string | undefined;
29466
+ aggregateId?: string | undefined;
29467
+ startTime?: string | undefined;
29468
+ endTime?: string | undefined;
29469
+ fulltextSearch?: string | undefined;
29470
+ limit?: number | undefined;
29471
+ skip?: number | undefined;
29472
+ page?: number | undefined;
29473
+ sort?: "dateTime" | undefined;
29474
+ order?: "asc" | "desc" | undefined;
29475
+ } & Partial<{
29476
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29477
+ }>;
29478
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29479
+ [x: string]: unknown;
29480
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29481
+ [x: string]: unknown;
29482
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29483
+ [x: string]: unknown;
29484
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29485
+ [x: string]: unknown;
29486
+ }, 429, "application/json">>>;
29402
29487
  };
29403
29488
  /** The filesystem API allows you to directly access the filesystem of your project. */
29404
29489
  readonly projectFileSystem: {
@@ -933,3 +933,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
933
933
  export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
934
934
  /** Check if a company exists. */
935
935
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
936
+ /** Get the activities of a project. */
937
+ export declare const projectListProjectActivities: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActivities.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActivities.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActivities.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActivities.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActivities.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActivities.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActivities.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActivities.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActivities.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1862,6 +1862,10 @@ export declare namespace MittwaldAPIV2 {
1862
1862
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1863
1863
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1864
1864
  }
1865
+ namespace ProjectListProjectActivities {
1866
+ type RequestData = InferredRequestData<typeof descriptors.projectListProjectActivities>;
1867
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.projectListProjectActivities, TStatus>;
1868
+ }
1865
1869
  }
1866
1870
  namespace Components {
1867
1871
  namespace Schemas {
@@ -6388,32 +6392,32 @@ export declare namespace MittwaldAPIV2 {
6388
6392
  domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6389
6393
  };
6390
6394
  }
6391
- interface ActivitylogDnsARecordSet {
6395
+ interface ActivitylogDnsTxtRecordSet {
6392
6396
  changes: {
6393
6397
  after?: {
6394
- aRecords: string[];
6395
- aaaaRecords: string[];
6398
+ txt: string[];
6396
6399
  };
6397
6400
  before?: {
6398
- aRecords: string[];
6399
- aaaaRecords: string[];
6401
+ txt: string[];
6400
6402
  };
6401
6403
  };
6402
- name: "dns.a-record-set";
6404
+ name: "dns.txt-record-set";
6403
6405
  parameters: {
6404
6406
  domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6405
6407
  };
6406
6408
  }
6407
- interface ActivitylogDnsTxtRecordSet {
6409
+ interface ActivitylogDnsARecordSet {
6408
6410
  changes: {
6409
6411
  after?: {
6410
- txt: string[];
6412
+ aRecords: string[];
6413
+ aaaaRecords: string[];
6411
6414
  };
6412
6415
  before?: {
6413
- txt: string[];
6416
+ aRecords: string[];
6417
+ aaaaRecords: string[];
6414
6418
  };
6415
6419
  };
6416
- name: "dns.txt-record-set";
6420
+ name: "dns.a-record-set";
6417
6421
  parameters: {
6418
6422
  domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6419
6423
  };
@@ -6491,18 +6495,19 @@ export declare namespace MittwaldAPIV2 {
6491
6495
  name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6492
6496
  };
6493
6497
  }
6494
- interface ActivitylogDnsCnameRecordSet {
6498
+ interface ActivitylogDatabaseVersionSet {
6495
6499
  changes: {
6496
6500
  after?: {
6497
- cname: string;
6501
+ version: string;
6498
6502
  };
6499
6503
  before?: {
6500
- cname: string;
6504
+ version: string;
6501
6505
  };
6502
6506
  };
6503
- name: "dns.cname-record-set";
6507
+ name: "database.mysql-version-set" | "database.redis-version-set";
6504
6508
  parameters: {
6505
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6509
+ name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6510
+ version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6506
6511
  };
6507
6512
  }
6508
6513
  interface ActivitylogDatabaseCreated {
@@ -6524,19 +6529,18 @@ export declare namespace MittwaldAPIV2 {
6524
6529
  version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6525
6530
  };
6526
6531
  }
6527
- interface ActivitylogDatabaseVersionSet {
6532
+ interface ActivitylogDnsCnameRecordSet {
6528
6533
  changes: {
6529
6534
  after?: {
6530
- version: string;
6535
+ cname: string;
6531
6536
  };
6532
6537
  before?: {
6533
- version: string;
6538
+ cname: string;
6534
6539
  };
6535
6540
  };
6536
- name: "database.mysql-version-set" | "database.redis-version-set";
6541
+ name: "dns.cname-record-set";
6537
6542
  parameters: {
6538
- name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6539
- version: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6543
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6540
6544
  };
6541
6545
  }
6542
6546
  interface ActivitylogDatabaseMysqlUserDeleted {
@@ -6547,6 +6551,20 @@ export declare namespace MittwaldAPIV2 {
6547
6551
  name: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6548
6552
  };
6549
6553
  }
6554
+ interface ActivitylogDnsZoneCreated {
6555
+ changes: {
6556
+ after?: {
6557
+ domain: string;
6558
+ };
6559
+ before?: {
6560
+ domain: string | null;
6561
+ };
6562
+ };
6563
+ name: "dns.zone-created";
6564
+ parameters: {
6565
+ domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6566
+ };
6567
+ }
6550
6568
  interface ActivitylogDatabaseMysqlUserCreated {
6551
6569
  changes: {
6552
6570
  after?: {
@@ -6582,20 +6600,6 @@ export declare namespace MittwaldAPIV2 {
6582
6600
  domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6583
6601
  };
6584
6602
  }
6585
- interface ActivitylogDnsZoneCreated {
6586
- changes: {
6587
- after?: {
6588
- domain: string;
6589
- };
6590
- before?: {
6591
- domain: string | null;
6592
- };
6593
- };
6594
- name: "dns.zone-created";
6595
- parameters: {
6596
- domain: MittwaldAPIV2.Components.Schemas.ActivitylogParameterProperty;
6597
- };
6598
- }
6599
6603
  interface CommonsAddress {
6600
6604
  street: string;
6601
6605
  houseNumber: string;
@@ -30701,5 +30705,70 @@ export declare namespace MittwaldAPIV2 {
30701
30705
  }
30702
30706
  }
30703
30707
  }
30708
+ namespace V2ProjectsProjectIdActivities {
30709
+ namespace Get {
30710
+ namespace Parameters {
30711
+ type Path = {
30712
+ projectId: string;
30713
+ };
30714
+ type Header = {};
30715
+ type Query = {
30716
+ aggregateName?: string;
30717
+ aggregateDomain?: string;
30718
+ aggregateId?: string;
30719
+ startTime?: string;
30720
+ endTime?: string;
30721
+ fulltextSearch?: string;
30722
+ limit?: number;
30723
+ skip?: number;
30724
+ page?: number;
30725
+ sort?: "dateTime";
30726
+ order?: "asc" | "desc";
30727
+ };
30728
+ }
30729
+ namespace Responses {
30730
+ namespace $200 {
30731
+ namespace Content {
30732
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[];
30733
+ }
30734
+ }
30735
+ namespace $400 {
30736
+ namespace Content {
30737
+ interface ApplicationJson {
30738
+ [k: string]: unknown;
30739
+ }
30740
+ }
30741
+ }
30742
+ namespace $403 {
30743
+ namespace Content {
30744
+ interface ApplicationJson {
30745
+ [k: string]: unknown;
30746
+ }
30747
+ }
30748
+ }
30749
+ namespace $404 {
30750
+ namespace Content {
30751
+ interface ApplicationJson {
30752
+ [k: string]: unknown;
30753
+ }
30754
+ }
30755
+ }
30756
+ namespace $429 {
30757
+ namespace Content {
30758
+ interface ApplicationJson {
30759
+ [k: string]: unknown;
30760
+ }
30761
+ }
30762
+ }
30763
+ namespace Default {
30764
+ namespace Content {
30765
+ interface ApplicationJson {
30766
+ [k: string]: unknown;
30767
+ }
30768
+ }
30769
+ }
30770
+ }
30771
+ }
30772
+ }
30704
30773
  }
30705
30774
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.384.0';
1
+ export declare const MittwaldAPIClientVersion = '4.385.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.385.0",
3
+ "version": "4.386.0",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^4.385.0",
49
+ "@mittwald/api-client-commons": "^4.386.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.385.0",
53
+ "@mittwald/api-code-generator": "^4.386.0",
54
54
  "@mittwald/react-use-promise": "^2.6.2",
55
55
  "@types/node": "^22.18.11",
56
56
  "@types/react": "^18.3.26",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "1802e5eb9a15e6177dcd3c90969c102574e7cc8d"
83
+ "gitHead": "6b8cfefd8f401066c050ad601aca8fd6f99514ca"
84
84
  }