@mittwald/api-client 4.298.0 → 4.300.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.
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.297.0';
1
+ export const MittwaldAPIClientVersion = '4.299.0';
@@ -126,6 +126,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
126
126
  disabled: boolean;
127
127
  id: string;
128
128
  installationPath: string;
129
+ lastError?: string | undefined;
129
130
  linkedDatabases: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
130
131
  lockedBy?: {
131
132
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
@@ -932,6 +932,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
932
932
  disabled: boolean;
933
933
  id: string;
934
934
  installationPath: string;
935
+ lastError?: string | undefined;
935
936
  linkedDatabases: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
936
937
  lockedBy?: {
937
938
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
@@ -972,6 +973,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
972
973
  disabled: boolean;
973
974
  id: string;
974
975
  installationPath: string;
976
+ lastError?: string | undefined;
975
977
  linkedDatabases: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
976
978
  lockedBy?: {
977
979
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
@@ -25769,7 +25771,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25769
25771
  exists: boolean;
25770
25772
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25771
25773
  [x: string]: unknown;
25772
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25774
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25775
+ [x: string]: unknown;
25776
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25773
25777
  data: {
25774
25778
  city: string;
25775
25779
  country: string;
@@ -25784,7 +25788,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25784
25788
  exists: boolean;
25785
25789
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25786
25790
  [x: string]: unknown;
25787
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty">>>;
25791
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25792
+ [x: string]: unknown;
25793
+ }, 429, "application/json">>>;
25788
25794
  /** Check if a company exists. */
25789
25795
  verificationVerifyCompany: (request: {
25790
25796
  data: {
@@ -25808,7 +25814,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25808
25814
  } & Partial<{
25809
25815
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25810
25816
  }>;
25811
- }, import("@mittwald/api-client-commons").Response<{}, 412, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{
25817
+ }, import("@mittwald/api-client-commons").Response<{}, 412, "empty"> | import("@mittwald/api-client-commons").Response<{
25812
25818
  exists: boolean;
25813
25819
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25814
25820
  [x: string]: unknown;
@@ -25826,7 +25832,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25826
25832
  } & Partial<{
25827
25833
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25828
25834
  }>;
25829
- }, import("@mittwald/api-client-commons").Response<{}, 412, "empty"> | import("@mittwald/api-client-commons").Response<{}, 500, "empty"> | import("@mittwald/api-client-commons").Response<{
25835
+ }, import("@mittwald/api-client-commons").Response<{}, 412, "empty"> | import("@mittwald/api-client-commons").Response<{
25830
25836
  exists: boolean;
25831
25837
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25832
25838
  [x: string]: unknown;
@@ -898,6 +898,6 @@ export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simpli
898
898
  /** Check if an email is from mittwald. */
899
899
  export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
900
900
  /** Check if an address exists. */
901
- 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.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
901
+ 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.$400.Content.ApplicationJson>, 400, "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">>;
902
902
  /** Check if a company exists. */
903
- 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.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
903
+ 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">>;
@@ -1941,6 +1941,10 @@ export declare namespace MittwaldAPIV2 {
1941
1941
  disabled: boolean;
1942
1942
  id: string;
1943
1943
  installationPath: string;
1944
+ /**
1945
+ * The last error that occurred during an update. Resets on success.
1946
+ */
1947
+ lastError?: string;
1944
1948
  linkedDatabases: MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
1945
1949
  lockedBy?: {
1946
1950
  [k: string]: MittwaldAPIV2.Components.Schemas.AppLockPurpose;
@@ -5847,19 +5851,6 @@ export declare namespace MittwaldAPIV2 {
5847
5851
  name?: "NoAccessTokenProvided";
5848
5852
  };
5849
5853
  }
5850
- namespace SignupRemovingLastOwnerNotAllowedError {
5851
- interface ApplicationJson {
5852
- /**
5853
- * A json object, given further information about the error
5854
- */
5855
- info?: {};
5856
- /**
5857
- * more information about the error
5858
- */
5859
- message: string;
5860
- name: "RemovingLastOwnerNotAllowedError";
5861
- }
5862
- }
5863
5854
  namespace SignupSecondFactorRequiredError {
5864
5855
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
5865
5856
  name: "SecondFactorRequired";
@@ -28759,16 +28750,18 @@ export declare namespace MittwaldAPIV2 {
28759
28750
  }
28760
28751
  }
28761
28752
  }
28762
- namespace $429 {
28753
+ namespace $400 {
28763
28754
  namespace Content {
28764
28755
  interface ApplicationJson {
28765
28756
  [k: string]: unknown;
28766
28757
  }
28767
28758
  }
28768
28759
  }
28769
- namespace $500 {
28760
+ namespace $429 {
28770
28761
  namespace Content {
28771
- type Empty = unknown;
28762
+ interface ApplicationJson {
28763
+ [k: string]: unknown;
28764
+ }
28772
28765
  }
28773
28766
  }
28774
28767
  namespace Default {
@@ -28811,11 +28804,6 @@ export declare namespace MittwaldAPIV2 {
28811
28804
  }
28812
28805
  }
28813
28806
  }
28814
- namespace $500 {
28815
- namespace Content {
28816
- type Empty = unknown;
28817
- }
28818
- }
28819
28807
  namespace Default {
28820
28808
  namespace Content {
28821
28809
  interface ApplicationJson {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.297.0';
1
+ export declare const MittwaldAPIClientVersion = '4.299.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.298.0",
3
+ "version": "4.300.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.298.0",
49
+ "@mittwald/api-client-commons": "^4.300.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.298.0",
53
+ "@mittwald/api-code-generator": "^4.300.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": "d45aab2bb46d4b01a24b4c17462b2abb98169498"
83
+ "gitHead": "92babd88c48ecb75b0e5bbf9ccf0d0395f42ad15"
84
84
  }