@mittwald/api-client 0.0.0-development-9f66b59-20260619 → 0.0.0-development-559bf74-20260622

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.
@@ -86,8 +86,6 @@ const buildContainerApi = (baseClient) => ({
86
86
  getRegistry: new ApiCallAsyncResourceFactory(descriptors.containerGetRegistry, baseClient.container.getRegistry).getApiResource,
87
87
  /** Get a Volume belonging to a Stack. */
88
88
  getVolume: new ApiCallAsyncResourceFactory(descriptors.containerGetVolume, baseClient.container.getVolume).getApiResource,
89
- /** Get a ContainerImageConfig. */
90
- getContainerImageConfig: new ApiCallAsyncResourceFactory(descriptors.containerGetContainerImageConfig, baseClient.container.getContainerImageConfig).getApiResource,
91
89
  /** Get logs belonging to a Service. */
92
90
  getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
93
91
  /** Get a Service belonging to a Stack. */
@@ -104,6 +102,8 @@ const buildContainerApi = (baseClient) => ({
104
102
  listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
105
103
  /** List Volumes belonging to a Project. */
106
104
  listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
105
+ /** Get a ContainerImageConfig. */
106
+ getContainerImageConfig: new ApiCallAsyncResourceFactory(descriptors.containerGetContainerImageConfig, baseClient.container.getContainerImageConfig).getApiResource,
107
107
  });
108
108
  const buildContractApi = (baseClient) => ({
109
109
  /** Return the BaseItem of the Contract with the given ID. */
@@ -450,8 +450,6 @@ const buildProjectApi = (baseClient) => ({
450
450
  getServer: new ApiCallAsyncResourceFactory(descriptors.projectGetServer, baseClient.project.getServer).getApiResource,
451
451
  /** List Memberships belonging to a Project. */
452
452
  listMembershipsForProject: new ApiCallAsyncResourceFactory(descriptors.projectListMembershipsForProject, baseClient.project.listMembershipsForProject).getApiResource,
453
- /** Get the activities of a project. */
454
- listProjectActivities: new ApiCallAsyncResourceFactory(descriptors.projectListProjectActivities, baseClient.project.listProjectActivities).getApiResource,
455
453
  /** List ProjectInvites belonging to the executing user. */
456
454
  listProjectInvites: new ApiCallAsyncResourceFactory(descriptors.projectListProjectInvites, baseClient.project.listProjectInvites).getApiResource,
457
455
  /** List ProjectMemberships belonging to the executing user. */
@@ -464,6 +462,10 @@ const buildProjectApi = (baseClient) => ({
464
462
  storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
465
463
  /** Get storage space Statistics belonging to a Server. */
466
464
  storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
465
+ /** Get the activities of a project. */
466
+ listProjectActivities: new ApiCallAsyncResourceFactory(descriptors.projectListProjectActivities, baseClient.project.listProjectActivities).getApiResource,
467
+ /** List Projects belonging to a Customer. */
468
+ listCustomerProjects: new ApiCallAsyncResourceFactory(descriptors.projectListCustomerProjects, baseClient.project.listCustomerProjects).getApiResource,
467
469
  });
468
470
  const buildProjectFileSystemApi = (baseClient) => ({
469
471
  /** List directories belonging to a Project. */
@@ -162,8 +162,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
162
162
  getVolume: this.requestFunctionFactory(descriptors.containerGetVolume),
163
163
  /** Delete a Volume belonging to a Stack. */
164
164
  deleteVolume: this.requestFunctionFactory(descriptors.containerDeleteVolume),
165
- /** Get a ContainerImageConfig. */
166
- getContainerImageConfig: this.requestFunctionFactory(descriptors.containerGetContainerImageConfig),
167
165
  /** Get logs belonging to a Service. */
168
166
  getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
169
167
  /** Get a Service belonging to a Stack. */
@@ -196,6 +194,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
196
194
  startService: this.requestFunctionFactory(descriptors.containerStartService),
197
195
  /** Stop a started Service. */
198
196
  stopService: this.requestFunctionFactory(descriptors.containerStopService),
197
+ /** Get a ContainerImageConfig. */
198
+ getContainerImageConfig: this.requestFunctionFactory(descriptors.containerGetContainerImageConfig),
199
199
  };
200
200
  /** The contract API allows you to manage your contracts and orders */
201
201
  contract = {
@@ -974,8 +974,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
974
974
  getServer: this.requestFunctionFactory(descriptors.projectGetServer),
975
975
  /** List Memberships belonging to a Project. */
976
976
  listMembershipsForProject: this.requestFunctionFactory(descriptors.projectListMembershipsForProject),
977
- /** Get the activities of a project. */
978
- listProjectActivities: this.requestFunctionFactory(descriptors.projectListProjectActivities),
979
977
  /** List ProjectInvites belonging to the executing user. */
980
978
  listProjectInvites: this.requestFunctionFactory(descriptors.projectListProjectInvites),
981
979
  /** List ProjectMemberships belonging to the executing user. */
@@ -998,6 +996,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
998
996
  storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
999
997
  /** Update a Server's storage space notification threshold. */
1000
998
  storagespaceReplaceServerNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceServerNotificationThreshold),
999
+ /** Get the activities of a project. */
1000
+ listProjectActivities: this.requestFunctionFactory(descriptors.projectListProjectActivities),
1001
+ /** List Projects belonging to a Customer. */
1002
+ listCustomerProjects: this.requestFunctionFactory(descriptors.projectListCustomerProjects),
1001
1003
  };
1002
1004
  /** The filesystem API allows you to directly access the filesystem of your project. */
1003
1005
  projectFileSystem = {
@@ -430,12 +430,6 @@ export const containerDeleteVolume = {
430
430
  method: "DELETE",
431
431
  operationId: "container-delete-volume",
432
432
  };
433
- /** Get a ContainerImageConfig. */
434
- export const containerGetContainerImageConfig = {
435
- path: "/v2/container-image-config",
436
- method: "GET",
437
- operationId: "container-get-container-image-config",
438
- };
439
433
  /** Get logs belonging to a Service. */
440
434
  export const containerGetServiceLogs = {
441
435
  path: "/v2/stacks/{stackId}/services/{serviceId}/logs",
@@ -2356,12 +2350,6 @@ export const projectListMembershipsForProject = {
2356
2350
  method: "GET",
2357
2351
  operationId: "project-list-memberships-for-project",
2358
2352
  };
2359
- /** Get the activities of a project. */
2360
- export const projectListProjectActivities = {
2361
- path: "/v2/projects/{projectId}/activities",
2362
- method: "GET",
2363
- operationId: "project-list-project-activities",
2364
- };
2365
2353
  /** List ProjectInvites belonging to the executing user. */
2366
2354
  export const projectListProjectInvites = {
2367
2355
  path: "/v2/project-invites",
@@ -2890,9 +2878,27 @@ export const verificationVerifyCompany = {
2890
2878
  method: "POST",
2891
2879
  operationId: "verification-verify-company",
2892
2880
  };
2881
+ /** Get a ContainerImageConfig. */
2882
+ export const containerGetContainerImageConfig = {
2883
+ path: "/v2/container-image-config",
2884
+ method: "GET",
2885
+ operationId: "container-get-container-image-config",
2886
+ };
2893
2887
  /** Request a rate limit change for a MailAddress. */
2894
2888
  export const mailRequestMailAddressRateLimitChange = {
2895
2889
  path: "/v2/mail-addresses/{mailAddressId}/request-rate-limit-change",
2896
2890
  method: "POST",
2897
2891
  operationId: "mail-request-mail-address-rate-limit-change",
2898
2892
  };
2893
+ /** Get the activities of a project. */
2894
+ export const projectListProjectActivities = {
2895
+ path: "/v2/projects/{projectId}/activities",
2896
+ method: "GET",
2897
+ operationId: "project-list-project-activities",
2898
+ };
2899
+ /** List Projects belonging to a Customer. */
2900
+ export const projectListCustomerProjects = {
2901
+ path: "/v2/customers/{customerId}/projects",
2902
+ method: "GET",
2903
+ operationId: "project-list-customer-projects",
2904
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.387.0';
1
+ export const MittwaldAPIClientVersion = '4.389.0';
@@ -604,34 +604,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
604
604
  storageUsageInBytes: number;
605
605
  storageUsageInBytesSetAt: string;
606
606
  }>;
607
- /** Get a ContainerImageConfig. */
608
- getContainerImageConfig: (conf: {
609
- queryParameters: {
610
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
611
- imageReference: string;
612
- useCredentialsForProjectId?: string | undefined;
613
- useCredentialsForRegistryId?: string | undefined;
614
- generateAiData?: boolean | undefined;
615
- };
616
- headers?: {
617
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
618
- "Accept-Language"?: "de" | "en" | undefined;
619
- "x-access-token"?: string | undefined;
620
- } | undefined;
621
- }) => import("@mittwald/react-use-promise").AsyncResource<{
622
- command?: string[] | undefined;
623
- digest: string;
624
- entrypoint?: string[] | undefined;
625
- env?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigEnv[] | undefined;
626
- exposedPorts?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigExposedPort[] | undefined;
627
- hasAiGeneratedData: boolean;
628
- isAiAvailable: boolean;
629
- isUserRoot: boolean;
630
- overwritingUser?: number | undefined;
631
- user: string;
632
- userId: number;
633
- volumes?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigVolume[] | undefined;
634
- }>;
635
607
  /** Get logs belonging to a Service. */
636
608
  getServiceLogs: (conf: {
637
609
  stackId: string;
@@ -787,6 +759,34 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
787
759
  page?: number | undefined;
788
760
  } | undefined;
789
761
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
762
+ /** Get a ContainerImageConfig. */
763
+ getContainerImageConfig: (conf: {
764
+ queryParameters: {
765
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
766
+ imageReference: string;
767
+ useCredentialsForProjectId?: string | undefined;
768
+ useCredentialsForRegistryId?: string | undefined;
769
+ generateAiData?: boolean | undefined;
770
+ };
771
+ headers?: {
772
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
773
+ "Accept-Language"?: "de" | "en" | undefined;
774
+ "x-access-token"?: string | undefined;
775
+ } | undefined;
776
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
777
+ command?: string[] | undefined;
778
+ digest: string;
779
+ entrypoint?: string[] | undefined;
780
+ env?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigEnv[] | undefined;
781
+ exposedPorts?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigExposedPort[] | undefined;
782
+ hasAiGeneratedData: boolean;
783
+ isAiAvailable: boolean;
784
+ isUserRoot: boolean;
785
+ overwritingUser?: number | undefined;
786
+ user: string;
787
+ userId: number;
788
+ volumes?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigVolume[] | undefined;
789
+ }>;
790
790
  };
791
791
  declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
792
792
  /** Return the BaseItem of the Contract with the given ID. */
@@ -2844,6 +2844,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2844
2844
  isBackupInProgress: boolean;
2845
2845
  isCatchAll: boolean;
2846
2846
  mailbox?: {
2847
+ mailsystemSettings: import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailsystemSettings;
2847
2848
  name: string;
2848
2849
  passwordUpdatedAt: string;
2849
2850
  sendingEnabled: boolean;
@@ -3476,27 +3477,6 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3476
3477
  searchTerm?: string | undefined;
3477
3478
  } | undefined;
3478
3479
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
3479
- /** Get the activities of a project. */
3480
- listProjectActivities: (conf: {
3481
- projectId: string;
3482
- headers?: {
3483
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3484
- } | undefined;
3485
- queryParameters?: {
3486
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3487
- aggregateName?: string | undefined;
3488
- aggregateDomain?: string | undefined;
3489
- aggregateId?: string | undefined;
3490
- startTime?: string | undefined;
3491
- endTime?: string | undefined;
3492
- fulltextSearch?: string | undefined;
3493
- limit?: number | undefined;
3494
- skip?: number | undefined;
3495
- page?: number | undefined;
3496
- sort?: "dateTime" | undefined;
3497
- order?: "asc" | "desc" | undefined;
3498
- } | undefined;
3499
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[]>;
3500
3480
  /** List ProjectInvites belonging to the executing user. */
3501
3481
  listProjectInvites: (conf?: {
3502
3482
  headers?: {
@@ -3543,33 +3523,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3543
3523
  sort?: "createdAt" | "description" | undefined;
3544
3524
  order?: "asc" | "desc" | undefined;
3545
3525
  } | undefined;
3546
- } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
3547
- backupStorageUsageInBytes: number;
3548
- backupStorageUsageInBytesSetAt: string;
3549
- createdAt: string;
3550
- customerId: string;
3551
- customerMeta: {
3552
- id: string;
3553
- };
3554
- description: string;
3555
- disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
3556
- disabledAt?: string;
3557
- enabled: boolean;
3558
- features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
3559
- id: string;
3560
- imageRefId?: string;
3561
- isReady: boolean;
3562
- projectHostingId?: string;
3563
- readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
3564
- serverGroupId: string;
3565
- serverId?: string;
3566
- shortId: string;
3567
- status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
3568
- statusSetAt: string;
3569
- supportedFeatures: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
3570
- webStorageUsageInBytes: number;
3571
- webStorageUsageInBytesSetAt: string;
3572
- }[]>;
3526
+ } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[]>;
3573
3527
  /** List Servers belonging to the executing user. */
3574
3528
  listServers: (conf?: {
3575
3529
  headers?: {
@@ -3621,6 +3575,44 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3621
3575
  notificationThresholdInBytes?: number | undefined;
3622
3576
  statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
3623
3577
  }>;
3578
+ /** Get the activities of a project. */
3579
+ listProjectActivities: (conf: {
3580
+ projectId: string;
3581
+ headers?: {
3582
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3583
+ } | undefined;
3584
+ queryParameters?: {
3585
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3586
+ aggregateName?: string | undefined;
3587
+ aggregateDomain?: string | undefined;
3588
+ aggregateId?: string | undefined;
3589
+ startTime?: string | undefined;
3590
+ endTime?: string | undefined;
3591
+ fulltextSearch?: string | undefined;
3592
+ limit?: number | undefined;
3593
+ skip?: number | undefined;
3594
+ page?: number | undefined;
3595
+ sort?: "dateTime" | undefined;
3596
+ order?: "asc" | "desc" | undefined;
3597
+ } | undefined;
3598
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[]>;
3599
+ /** List Projects belonging to a Customer. */
3600
+ listCustomerProjects: (conf: {
3601
+ customerId: string;
3602
+ headers?: {
3603
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3604
+ "x-access-token"?: string | undefined;
3605
+ } | undefined;
3606
+ queryParameters?: {
3607
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3608
+ searchTerm?: string | undefined;
3609
+ limit?: number | undefined;
3610
+ skip?: number | undefined;
3611
+ page?: number | undefined;
3612
+ sort?: "createdAt" | "description" | undefined;
3613
+ order?: "asc" | "desc" | undefined;
3614
+ } | undefined;
3615
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[]>;
3624
3616
  };
3625
3617
  declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
3626
3618
  /** List directories belonging to a Project. */