@mittwald/api-client 0.0.0-development-3fcfbd1-20250806 → 0.0.0-development-de4a387-20250822

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.
@@ -80,6 +80,8 @@ const buildContractApi = (baseClient) => ({
80
80
  getDetailOfContractByDomain: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByDomain, baseClient.contract.getDetailOfContractByDomain).getApiResource,
81
81
  /** Return the Contract for the given LeadFyndrProfile. */
82
82
  getDetailOfContractByLeadFyndr: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByLeadFyndr, baseClient.contract.getDetailOfContractByLeadFyndr).getApiResource,
83
+ /** Return the Contract for the given Mail Address. */
84
+ getDetailOfContractByMailAddress: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByMailAddress, baseClient.contract.getDetailOfContractByMailAddress).getApiResource,
83
85
  /** Return the Contract for the given Project. */
84
86
  getDetailOfContractByProject: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByProject, baseClient.contract.getDetailOfContractByProject).getApiResource,
85
87
  /** Return the Contract for the given Server. */
@@ -88,8 +88,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
88
88
  deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
89
89
  /** Change the description of a ProjectBackup. */
90
90
  updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
91
- /** Restore a ProjectBackup's path. */
92
- requestProjectBackupRestorePath: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestorePath),
93
91
  };
94
92
  /** The container API allows you to manage your stacks, containers, volumes and registries. */
95
93
  container = {
@@ -160,6 +158,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
160
158
  getDetailOfContractByDomain: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByDomain),
161
159
  /** Return the Contract for the given LeadFyndrProfile. */
162
160
  getDetailOfContractByLeadFyndr: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByLeadFyndr),
161
+ /** Return the Contract for the given Mail Address. */
162
+ getDetailOfContractByMailAddress: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByMailAddress),
163
163
  /** Return the Contract for the given Project. */
164
164
  getDetailOfContractByProject: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByProject),
165
165
  /** Return the Contract for the given Server. */
@@ -418,6 +418,12 @@ export const contractGetDetailOfContractByLeadFyndr = {
418
418
  method: "GET",
419
419
  operationId: "contract-get-detail-of-contract-by-lead-fyndr",
420
420
  };
421
+ /** Return the Contract for the given Mail Address. */
422
+ export const contractGetDetailOfContractByMailAddress = {
423
+ path: "/v2/mail-addresses/{mailAddressId}/contract",
424
+ method: "GET",
425
+ operationId: "contract-get-detail-of-contract-by-mail-address",
426
+ };
421
427
  /** Return the Contract for the given Project. */
422
428
  export const contractGetDetailOfContractByProject = {
423
429
  path: "/v2/projects/{projectId}/contract",
@@ -2518,9 +2524,3 @@ export const verificationVerifyCompany = {
2518
2524
  method: "POST",
2519
2525
  operationId: "verification-verify-company",
2520
2526
  };
2521
- /** Restore a ProjectBackup's path. */
2522
- export const backupRequestProjectBackupRestorePath = {
2523
- path: "/v2/project-backups/{projectBackupId}/restore-path",
2524
- method: "POST",
2525
- operationId: "backup-request-project-backup-restore-path",
2526
- };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.195.0';
1
+ export const MittwaldAPIClientVersion = '4.205.0';
@@ -30,17 +30,17 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
30
30
  disabled: boolean;
31
31
  id: string;
32
32
  installationPath: string;
33
- linkedDatabases?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[] | undefined;
33
+ linkedDatabases: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
34
34
  lockedBy?: {
35
35
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
36
36
  } | undefined;
37
- projectId?: string | undefined;
37
+ projectId: string;
38
38
  screenshotId?: string | undefined;
39
39
  screenshotRef?: string | undefined;
40
40
  shortId: string;
41
- systemSoftware?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[] | undefined;
42
- updatePolicy?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy | undefined;
43
- userInputs?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[] | undefined;
41
+ systemSoftware: import("./types.js").MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[];
42
+ updatePolicy: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy;
43
+ userInputs: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
44
44
  }>;
45
45
  /** Get an AppVersion. */
46
46
  getAppversion: (conf: {
@@ -52,6 +52,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
52
52
  } | undefined;
53
53
  }) => import("@mittwald/react-use-promise").AsyncResource<{
54
54
  appId: string;
55
+ backendPathTemplate?: string | undefined;
55
56
  breakingNote?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppBreakingNote | undefined;
56
57
  databases?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppDatabaseDependency[] | undefined;
57
58
  docRoot: string;
@@ -340,7 +341,6 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
340
341
  parentId?: string | undefined;
341
342
  projectId: string;
342
343
  requestedAt: string;
343
- restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathResponse | undefined;
344
344
  status: string;
345
345
  }>;
346
346
  };
@@ -593,6 +593,21 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
593
593
  customerId: string;
594
594
  termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
595
595
  }>;
596
+ /** Return the Contract for the given Mail Address. */
597
+ getDetailOfContractByMailAddress: (conf: {
598
+ mailAddressId: string;
599
+ headers?: {
600
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
601
+ "x-access-token"?: string | undefined;
602
+ } | undefined;
603
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
604
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
605
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
606
+ contractId: string;
607
+ contractNumber: string;
608
+ customerId: string;
609
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
610
+ }>;
596
611
  /** Return the Contract for the given Project. */
597
612
  getDetailOfContractByProject: (conf: {
598
613
  projectId: string;
@@ -947,7 +962,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
947
962
  limit?: number | undefined;
948
963
  skip?: number | undefined;
949
964
  page?: number | undefined;
950
- sort?: ("createdAt" | "exensionId")[] | undefined;
965
+ sort?: ("createdAt" | "extensionId" | "extensionName")[] | undefined;
951
966
  order?: ("asc" | "desc")[] | undefined;
952
967
  } | undefined;
953
968
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance[]>;
@@ -1004,7 +1019,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1004
1019
  id: string;
1005
1020
  logoRefId?: string | undefined;
1006
1021
  name: string;
1007
- pricing?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | undefined;
1022
+ pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
1008
1023
  published: boolean;
1009
1024
  requestedChanges?: {
1010
1025
  context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
@@ -1016,7 +1031,9 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1016
1031
  state?: "enabled" | "blocked" | "disabled" | undefined;
1017
1032
  statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
1018
1033
  subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
1019
- support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
1034
+ support?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
1035
+ inherited: boolean;
1036
+ }) | undefined;
1020
1037
  tags?: string[] | undefined;
1021
1038
  verificationRequested: boolean;
1022
1039
  verified: boolean;
@@ -1047,6 +1064,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1047
1064
  "x-access-token"?: string | undefined;
1048
1065
  } | undefined;
1049
1066
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1067
+ currentPrice?: number | undefined;
1050
1068
  interactionDeadline?: string | undefined;
1051
1069
  interactionRequired: boolean;
1052
1070
  status: "notStarted" | "pending" | "active" | "terminationPending";
@@ -1164,6 +1182,8 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1164
1182
  limit?: number | undefined;
1165
1183
  skip?: number | undefined;
1166
1184
  page?: number | undefined;
1185
+ sort?: "name" | undefined;
1186
+ order?: "asc" | "desc" | undefined;
1167
1187
  } | undefined;
1168
1188
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[]>;
1169
1189
  /** List Extensions of own contributor. */
@@ -1976,7 +1996,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1976
1996
  }>;
1977
1997
  /** Get a FileUploadType's rules. */
1978
1998
  getFileUploadTypeRules: (conf: {
1979
- fileUploadType: "avatar" | "extensionAssetImage" | "extensionAssetVideo" | "conversation";
1999
+ fileUploadType: "avatar" | "extensionAssetImage" | "extensionAssetVideo" | "anchorIcon" | "conversation";
1980
2000
  headers?: {
1981
2001
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1982
2002
  } | undefined;
@@ -2282,6 +2302,11 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2282
2302
  } | undefined;
2283
2303
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2284
2304
  address: string;
2305
+ archive: {
2306
+ active: boolean;
2307
+ quota: number;
2308
+ usedBytes: number;
2309
+ };
2285
2310
  autoResponder: {
2286
2311
  active: boolean;
2287
2312
  expiresAt?: string;
@@ -2791,6 +2816,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2791
2816
  statisticsBaseDomain?: string | undefined;
2792
2817
  status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
2793
2818
  statusSetAt: string;
2819
+ supportedFeatures: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
2794
2820
  webStorageUsageInBytes: number;
2795
2821
  webStorageUsageInBytesSetAt: string;
2796
2822
  }>;
@@ -2802,6 +2828,11 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2802
2828
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2803
2829
  } | undefined;
2804
2830
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2831
+ blocked?: {
2832
+ executingUserId?: string;
2833
+ reason: string;
2834
+ timestamp: string;
2835
+ } | undefined;
2805
2836
  containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
2806
2837
  customerId?: string | undefined;
2807
2838
  licenceId: string;
@@ -2932,6 +2963,8 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2932
2963
  limit?: number | undefined;
2933
2964
  skip?: number | undefined;
2934
2965
  page?: number | undefined;
2966
+ sort?: "createdAt" | "description" | undefined;
2967
+ order?: "asc" | "desc" | undefined;
2935
2968
  } | undefined;
2936
2969
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
2937
2970
  backupStorageUsageInBytes: number;
@@ -2955,6 +2988,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2955
2988
  shortId: string;
2956
2989
  status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
2957
2990
  statusSetAt: string;
2991
+ supportedFeatures: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
2958
2992
  webStorageUsageInBytes: number;
2959
2993
  webStorageUsageInBytesSetAt: string;
2960
2994
  }[]>;
@@ -2967,10 +3001,12 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2967
3001
  queryParameters?: {
2968
3002
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2969
3003
  customerId?: string | undefined;
3004
+ searchTerm?: string | undefined;
2970
3005
  limit?: number | undefined;
2971
- page?: number | undefined;
2972
3006
  skip?: number | undefined;
2973
- searchTerm?: string | undefined;
3007
+ page?: number | undefined;
3008
+ sort?: "createdAt" | "description" | undefined;
3009
+ order?: "asc" | "desc" | undefined;
2974
3010
  } | undefined;
2975
3011
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServer[]>;
2976
3012
  /** Get storage space Statistics belonging to a Project. */
@@ -3064,7 +3100,7 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
3064
3100
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3065
3101
  "x-access-token"?: string | undefined;
3066
3102
  } | undefined;
3067
- }) => import("@mittwald/react-use-promise").AsyncResource<string>;
3103
+ }) => import("@mittwald/react-use-promise").AsyncResource<{}>;
3068
3104
  /** Get a Project's file/filesystem authorization token. */
3069
3105
  getJwt: (conf: {
3070
3106
  projectId: string;