@mittwald/api-client 4.316.0 → 4.317.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.
@@ -21999,6 +21999,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
21999
21999
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
22000
22000
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
22001
22001
  expires: string;
22002
+ refreshToken: string;
22002
22003
  token: string;
22003
22004
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
22004
22005
  [x: string]: unknown;
@@ -22026,6 +22027,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
22026
22027
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
22027
22028
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
22028
22029
  expires: string;
22030
+ refreshToken: string;
22029
22031
  token: string;
22030
22032
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
22031
22033
  [x: string]: unknown;
@@ -25801,105 +25803,59 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25801
25803
  [x: string]: unknown;
25802
25804
  }, 429, "application/json">>>;
25803
25805
  };
25804
- /** The license API allows you to manage your paid licenses. */
25805
- readonly license: {
25806
- /** Get a license. */
25807
- getLicense: (request: {
25808
- licenseId: string;
25806
+ /** API endpoints that are not related to any specific API domain */
25807
+ readonly misc: {
25808
+ /** List valid time zones. */
25809
+ ellaneousListTimeZones: (request?: {
25809
25810
  headers?: {
25810
25811
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
25811
25812
  "x-access-token"?: string | undefined;
25812
25813
  } | undefined;
25813
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25814
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25814
25815
  headers?: Partial<{
25815
25816
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25816
25817
  }>;
25817
- } & {
25818
- pathParameters: {
25819
- licenseId: string;
25820
- };
25821
25818
  } & {
25822
25819
  headers: {
25823
25820
  "x-access-token"?: string | undefined;
25824
25821
  } & Partial<{
25825
25822
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25826
25823
  }>;
25827
- }, import("@mittwald/api-client-commons").Response<{
25828
- description: string;
25829
- expiryDate?: string | undefined;
25830
- id: string;
25831
- keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
25832
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
25833
- meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
25834
- reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
25835
- volume?: number | undefined;
25836
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25837
- [x: string]: unknown;
25838
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25839
- [x: string]: unknown;
25840
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
25841
- [x: string]: unknown;
25842
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25824
+ }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25843
25825
  [x: string]: unknown;
25844
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25826
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25845
25827
  headers?: Partial<{
25846
25828
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25847
25829
  }>;
25848
- } & {
25849
- pathParameters: {
25850
- licenseId: string;
25851
- };
25852
25830
  } & {
25853
25831
  headers: {
25854
25832
  "x-access-token"?: string | undefined;
25855
25833
  } & Partial<{
25856
25834
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25857
25835
  }>;
25858
- }, import("@mittwald/api-client-commons").Response<{
25859
- description: string;
25860
- expiryDate?: string | undefined;
25861
- id: string;
25862
- keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
25863
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
25864
- meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
25865
- reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
25866
- volume?: number | undefined;
25867
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25868
- [x: string]: unknown;
25869
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25870
- [x: string]: unknown;
25871
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
25872
- [x: string]: unknown;
25873
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25836
+ }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25874
25837
  [x: string]: unknown;
25875
- }, 500, "application/json">>>;
25876
- /** List Licenses belonging to a Project. */
25877
- listLicensesForProject: (request: {
25878
- projectId: string;
25838
+ }, 429, "application/json">>>;
25839
+ /** Obtain a service token. */
25840
+ servicetokenAuthenticateService: (request: {
25841
+ data: {
25842
+ secretAccessKey: string;
25843
+ };
25844
+ accessKeyId: string;
25879
25845
  headers?: {
25880
25846
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
25881
25847
  "x-access-token"?: string | undefined;
25882
25848
  } | undefined;
25883
- queryParameters?: {
25884
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
25885
- limit?: number | undefined;
25886
- skip?: number | undefined;
25887
- page?: number | undefined;
25888
- } | undefined;
25889
25849
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25890
- headers?: Partial<{
25891
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25892
- }>;
25850
+ data: {
25851
+ secretAccessKey: string;
25852
+ };
25893
25853
  } & {
25894
25854
  pathParameters: {
25895
- projectId: string;
25855
+ accessKeyId: string;
25896
25856
  };
25897
25857
  } & {
25898
- queryParameters: {
25899
- limit?: number | undefined;
25900
- skip?: number | undefined;
25901
- page?: number | undefined;
25902
- } & Partial<{
25858
+ headers?: Partial<{
25903
25859
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25904
25860
  }>;
25905
25861
  } & {
@@ -25908,28 +25864,29 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25908
25864
  } & Partial<{
25909
25865
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25910
25866
  }>;
25911
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25912
- [x: string]: unknown;
25913
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25914
- [x: string]: unknown;
25915
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
25916
- [x: string]: unknown;
25917
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25867
+ }, import("@mittwald/api-client-commons").Response<{
25868
+ accessToken: {
25869
+ id: string;
25870
+ jwtClaims: {
25871
+ exp: string;
25872
+ iat: string;
25873
+ iss: string;
25874
+ sub: string;
25875
+ };
25876
+ publicToken: string;
25877
+ };
25878
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25918
25879
  [x: string]: unknown;
25919
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25920
- headers?: Partial<{
25921
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25922
- }>;
25880
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25881
+ data: {
25882
+ secretAccessKey: string;
25883
+ };
25923
25884
  } & {
25924
25885
  pathParameters: {
25925
- projectId: string;
25886
+ accessKeyId: string;
25926
25887
  };
25927
25888
  } & {
25928
- queryParameters: {
25929
- limit?: number | undefined;
25930
- skip?: number | undefined;
25931
- page?: number | undefined;
25932
- } & Partial<{
25889
+ headers?: Partial<{
25933
25890
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25934
25891
  }>;
25935
25892
  } & {
@@ -25938,109 +25895,115 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25938
25895
  } & Partial<{
25939
25896
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25940
25897
  }>;
25941
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25942
- [x: string]: unknown;
25943
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25944
- [x: string]: unknown;
25945
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
25946
- [x: string]: unknown;
25947
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25898
+ }, import("@mittwald/api-client-commons").Response<{
25899
+ accessToken: {
25900
+ id: string;
25901
+ jwtClaims: {
25902
+ exp: string;
25903
+ iat: string;
25904
+ iss: string;
25905
+ sub: string;
25906
+ };
25907
+ publicToken: string;
25908
+ };
25909
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25948
25910
  [x: string]: unknown;
25949
- }, 500, "application/json">>>;
25950
- /** rotate a License's key, i.e. revoke the old and generate a new one. */
25951
- rotateLicenseKey: (request: {
25952
- licenseId: string;
25911
+ }, 429, "application/json">>>;
25912
+ /** Check if an email is from mittwald. */
25913
+ verificationDetectPhishingEmail: (request?: {
25953
25914
  data?: {
25954
- externalKey?: string | undefined;
25915
+ [x: string]: unknown;
25955
25916
  } | undefined;
25956
25917
  headers?: {
25957
25918
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
25958
- "x-access-token"?: string | undefined;
25959
25919
  } | undefined;
25960
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25920
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25961
25921
  data: {
25962
- externalKey?: string | undefined;
25963
- };
25964
- } & {
25965
- pathParameters: {
25966
- licenseId: string;
25922
+ [x: string]: unknown;
25967
25923
  };
25968
25924
  } & {
25969
25925
  headers?: Partial<{
25970
25926
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25971
25927
  }>;
25928
+ }, import("@mittwald/api-client-commons").Response<{
25929
+ result: import("./types.js").MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
25930
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25931
+ [x: string]: unknown;
25932
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25933
+ [x: string]: unknown;
25934
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25935
+ data: {
25936
+ [x: string]: unknown;
25937
+ };
25972
25938
  } & {
25973
- headers: {
25974
- "x-access-token"?: string | undefined;
25975
- } & Partial<{
25939
+ headers?: Partial<{
25976
25940
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25977
25941
  }>;
25978
25942
  }, import("@mittwald/api-client-commons").Response<{
25979
- keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
25943
+ result: import("./types.js").MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
25980
25944
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25981
25945
  [x: string]: unknown;
25982
25946
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25983
25947
  [x: string]: unknown;
25984
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
25985
- [x: string]: unknown;
25986
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
25987
- [x: string]: unknown;
25988
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
25989
- [x: string]: unknown;
25990
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25991
- [x: string]: unknown;
25992
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25948
+ }, 429, "application/json">>>;
25949
+ /** Check if an address exists. */
25950
+ verificationVerifyAddress: (request: {
25993
25951
  data: {
25994
- externalKey?: string | undefined;
25952
+ city: string;
25953
+ country: string;
25954
+ street: string;
25955
+ zip: string;
25995
25956
  };
25996
- } & {
25997
- pathParameters: {
25998
- licenseId: string;
25957
+ headers?: {
25958
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
25959
+ } | undefined;
25960
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25961
+ data: {
25962
+ city: string;
25963
+ country: string;
25964
+ street: string;
25965
+ zip: string;
25999
25966
  };
26000
25967
  } & {
26001
25968
  headers?: Partial<{
26002
25969
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26003
25970
  }>;
25971
+ }, import("@mittwald/api-client-commons").Response<{
25972
+ exists: boolean;
25973
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25974
+ [x: string]: unknown;
25975
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25976
+ [x: string]: unknown;
25977
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25978
+ data: {
25979
+ city: string;
25980
+ country: string;
25981
+ street: string;
25982
+ zip: string;
25983
+ };
26004
25984
  } & {
26005
- headers: {
26006
- "x-access-token"?: string | undefined;
26007
- } & Partial<{
25985
+ headers?: Partial<{
26008
25986
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26009
25987
  }>;
26010
25988
  }, import("@mittwald/api-client-commons").Response<{
26011
- keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
25989
+ exists: boolean;
26012
25990
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26013
25991
  [x: string]: unknown;
26014
25992
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26015
25993
  [x: string]: unknown;
26016
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26017
- [x: string]: unknown;
26018
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26019
- [x: string]: unknown;
26020
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
26021
- [x: string]: unknown;
26022
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26023
- [x: string]: unknown;
26024
- }, 500, "application/json">>>;
26025
- /** Validate a License's key for a project. */
26026
- validateLicenseKeyForProject: (request: {
25994
+ }, 429, "application/json">>>;
25995
+ /** Check if a company exists. */
25996
+ verificationVerifyCompany: (request: {
26027
25997
  data: {
26028
- key: string;
26029
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
25998
+ name: string;
26030
25999
  };
26031
- projectId: string;
26032
26000
  headers?: {
26033
26001
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26034
26002
  "x-access-token"?: string | undefined;
26035
26003
  } | undefined;
26036
26004
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26037
26005
  data: {
26038
- key: string;
26039
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
26040
- };
26041
- } & {
26042
- pathParameters: {
26043
- projectId: string;
26006
+ name: string;
26044
26007
  };
26045
26008
  } & {
26046
26009
  headers?: Partial<{
@@ -26052,269 +26015,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26052
26015
  } & Partial<{
26053
26016
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26054
26017
  }>;
26055
- }, import("@mittwald/api-client-commons").Response<{
26056
- valid: boolean;
26057
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26058
- [x: string]: unknown;
26059
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26060
- [x: string]: unknown;
26061
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26062
- [x: string]: unknown;
26063
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26064
- [x: string]: unknown;
26065
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
26066
- [x: string]: unknown;
26067
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26068
- [x: string]: unknown;
26069
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26070
- data: {
26071
- key: string;
26072
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
26073
- };
26074
- } & {
26075
- pathParameters: {
26076
- projectId: string;
26077
- };
26078
- } & {
26079
- headers?: Partial<{
26080
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26081
- }>;
26082
- } & {
26083
- headers: {
26084
- "x-access-token"?: string | undefined;
26085
- } & Partial<{
26086
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26087
- }>;
26088
- }, import("@mittwald/api-client-commons").Response<{
26089
- valid: boolean;
26090
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26091
- [x: string]: unknown;
26092
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26093
- [x: string]: unknown;
26094
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26095
- [x: string]: unknown;
26096
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26097
- [x: string]: unknown;
26098
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
26099
- [x: string]: unknown;
26100
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26101
- [x: string]: unknown;
26102
- }, 500, "application/json">>>;
26103
- };
26104
- /** API endpoints that are not related to any specific API domain */
26105
- readonly misc: {
26106
- /** List valid time zones. */
26107
- ellaneousListTimeZones: (request?: {
26108
- headers?: {
26109
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26110
- "x-access-token"?: string | undefined;
26111
- } | undefined;
26112
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26113
- headers?: Partial<{
26114
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26115
- }>;
26116
- } & {
26117
- headers: {
26118
- "x-access-token"?: string | undefined;
26119
- } & Partial<{
26120
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26121
- }>;
26122
- }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26123
- [x: string]: unknown;
26124
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26125
- headers?: Partial<{
26126
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26127
- }>;
26128
- } & {
26129
- headers: {
26130
- "x-access-token"?: string | undefined;
26131
- } & Partial<{
26132
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26133
- }>;
26134
- }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26135
- [x: string]: unknown;
26136
- }, 429, "application/json">>>;
26137
- /** Obtain a service token. */
26138
- servicetokenAuthenticateService: (request: {
26139
- data: {
26140
- secretAccessKey: string;
26141
- };
26142
- accessKeyId: string;
26143
- headers?: {
26144
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26145
- "x-access-token"?: string | undefined;
26146
- } | undefined;
26147
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26148
- data: {
26149
- secretAccessKey: string;
26150
- };
26151
- } & {
26152
- pathParameters: {
26153
- accessKeyId: string;
26154
- };
26155
- } & {
26156
- headers?: Partial<{
26157
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26158
- }>;
26159
- } & {
26160
- headers: {
26161
- "x-access-token"?: string | undefined;
26162
- } & Partial<{
26163
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26164
- }>;
26165
- }, import("@mittwald/api-client-commons").Response<{
26166
- accessToken: {
26167
- id: string;
26168
- jwtClaims: {
26169
- exp: string;
26170
- iat: string;
26171
- iss: string;
26172
- sub: string;
26173
- };
26174
- publicToken: string;
26175
- };
26176
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26177
- [x: string]: unknown;
26178
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26179
- data: {
26180
- secretAccessKey: string;
26181
- };
26182
- } & {
26183
- pathParameters: {
26184
- accessKeyId: string;
26185
- };
26186
- } & {
26187
- headers?: Partial<{
26188
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26189
- }>;
26190
- } & {
26191
- headers: {
26192
- "x-access-token"?: string | undefined;
26193
- } & Partial<{
26194
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26195
- }>;
26196
- }, import("@mittwald/api-client-commons").Response<{
26197
- accessToken: {
26198
- id: string;
26199
- jwtClaims: {
26200
- exp: string;
26201
- iat: string;
26202
- iss: string;
26203
- sub: string;
26204
- };
26205
- publicToken: string;
26206
- };
26207
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26208
- [x: string]: unknown;
26209
- }, 429, "application/json">>>;
26210
- /** Check if an email is from mittwald. */
26211
- verificationDetectPhishingEmail: (request?: {
26212
- data?: {
26213
- [x: string]: unknown;
26214
- } | undefined;
26215
- headers?: {
26216
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26217
- } | undefined;
26218
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26219
- data: {
26220
- [x: string]: unknown;
26221
- };
26222
- } & {
26223
- headers?: Partial<{
26224
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26225
- }>;
26226
- }, import("@mittwald/api-client-commons").Response<{
26227
- result: import("./types.js").MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
26228
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26229
- [x: string]: unknown;
26230
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26231
- [x: string]: unknown;
26232
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26233
- data: {
26234
- [x: string]: unknown;
26235
- };
26236
- } & {
26237
- headers?: Partial<{
26238
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26239
- }>;
26240
- }, import("@mittwald/api-client-commons").Response<{
26241
- result: import("./types.js").MittwaldAPIV2.Components.Schemas.VerificationEmailOrigin;
26242
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26243
- [x: string]: unknown;
26244
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26245
- [x: string]: unknown;
26246
- }, 429, "application/json">>>;
26247
- /** Check if an address exists. */
26248
- verificationVerifyAddress: (request: {
26249
- data: {
26250
- city: string;
26251
- country: string;
26252
- street: string;
26253
- zip: string;
26254
- };
26255
- headers?: {
26256
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26257
- } | undefined;
26258
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26259
- data: {
26260
- city: string;
26261
- country: string;
26262
- street: string;
26263
- zip: string;
26264
- };
26265
- } & {
26266
- headers?: Partial<{
26267
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26268
- }>;
26269
- }, import("@mittwald/api-client-commons").Response<{
26270
- exists: boolean;
26271
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26272
- [x: string]: unknown;
26273
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26274
- [x: string]: unknown;
26275
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26276
- data: {
26277
- city: string;
26278
- country: string;
26279
- street: string;
26280
- zip: string;
26281
- };
26282
- } & {
26283
- headers?: Partial<{
26284
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26285
- }>;
26286
- }, import("@mittwald/api-client-commons").Response<{
26287
- exists: boolean;
26288
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26289
- [x: string]: unknown;
26290
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26291
- [x: string]: unknown;
26292
- }, 429, "application/json">>>;
26293
- /** Check if a company exists. */
26294
- verificationVerifyCompany: (request: {
26295
- data: {
26296
- name: string;
26297
- };
26298
- headers?: {
26299
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26300
- "x-access-token"?: string | undefined;
26301
- } | undefined;
26302
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26303
- data: {
26304
- name: string;
26305
- };
26306
- } & {
26307
- headers?: Partial<{
26308
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26309
- }>;
26310
- } & {
26311
- headers: {
26312
- "x-access-token"?: string | undefined;
26313
- } & Partial<{
26314
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26315
- }>;
26316
- }, import("@mittwald/api-client-commons").Response<{}, 412, "empty"> | import("@mittwald/api-client-commons").Response<{
26317
- exists: boolean;
26018
+ }, import("@mittwald/api-client-commons").Response<{}, 412, "empty"> | import("@mittwald/api-client-commons").Response<{
26019
+ exists: boolean;
26318
26020
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26319
26021
  [x: string]: unknown;
26320
26022
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -29732,13 +29434,212 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29732
29434
  [x: string]: unknown;
29733
29435
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29734
29436
  data: {
29735
- authentication: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserAuthentication;
29736
- description: string;
29437
+ authentication: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserAuthentication;
29438
+ description: string;
29439
+ expiresAt?: string | undefined;
29440
+ };
29441
+ } & {
29442
+ pathParameters: {
29443
+ projectId: string;
29444
+ };
29445
+ } & {
29446
+ headers?: Partial<{
29447
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29448
+ }>;
29449
+ } & {
29450
+ headers: {
29451
+ "x-access-token"?: string | undefined;
29452
+ } & Partial<{
29453
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29454
+ }>;
29455
+ }, import("@mittwald/api-client-commons").Response<{
29456
+ active?: boolean | undefined;
29457
+ authUpdatedAt: string;
29458
+ createdAt: string;
29459
+ description: string;
29460
+ expiresAt?: string | undefined;
29461
+ hasPassword: boolean;
29462
+ id: string;
29463
+ projectId: string;
29464
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29465
+ updatedAt?: string | undefined;
29466
+ userName: string;
29467
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
29468
+ [x: string]: unknown;
29469
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29470
+ [x: string]: unknown;
29471
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29472
+ [x: string]: unknown;
29473
+ }, 429, "application/json">>>;
29474
+ /** Get an SSHUser. */
29475
+ sshUserGetSshUser: (request: {
29476
+ sshUserId: string;
29477
+ headers?: {
29478
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29479
+ "x-access-token"?: string | undefined;
29480
+ } | undefined;
29481
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29482
+ headers?: Partial<{
29483
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29484
+ }>;
29485
+ } & {
29486
+ pathParameters: {
29487
+ sshUserId: string;
29488
+ };
29489
+ } & {
29490
+ headers: {
29491
+ "x-access-token"?: string | undefined;
29492
+ } & Partial<{
29493
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29494
+ }>;
29495
+ }, import("@mittwald/api-client-commons").Response<{
29496
+ active?: boolean | undefined;
29497
+ authUpdatedAt: string;
29498
+ createdAt: string;
29499
+ description: string;
29500
+ expiresAt?: string | undefined;
29501
+ hasPassword: boolean;
29502
+ id: string;
29503
+ projectId: string;
29504
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29505
+ updatedAt?: string | undefined;
29506
+ userName: string;
29507
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29508
+ [x: string]: unknown;
29509
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29510
+ [x: string]: unknown;
29511
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29512
+ [x: string]: unknown;
29513
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29514
+ headers?: Partial<{
29515
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29516
+ }>;
29517
+ } & {
29518
+ pathParameters: {
29519
+ sshUserId: string;
29520
+ };
29521
+ } & {
29522
+ headers: {
29523
+ "x-access-token"?: string | undefined;
29524
+ } & Partial<{
29525
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29526
+ }>;
29527
+ }, import("@mittwald/api-client-commons").Response<{
29528
+ active?: boolean | undefined;
29529
+ authUpdatedAt: string;
29530
+ createdAt: string;
29531
+ description: string;
29532
+ expiresAt?: string | undefined;
29533
+ hasPassword: boolean;
29534
+ id: string;
29535
+ projectId: string;
29536
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29537
+ updatedAt?: string | undefined;
29538
+ userName: string;
29539
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29540
+ [x: string]: unknown;
29541
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29542
+ [x: string]: unknown;
29543
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29544
+ [x: string]: unknown;
29545
+ }, 429, "application/json">>>;
29546
+ /** Delete an SSHUser. */
29547
+ sshUserDeleteSshUser: (request: {
29548
+ sshUserId: string;
29549
+ headers?: {
29550
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29551
+ "x-access-token"?: string | undefined;
29552
+ } | undefined;
29553
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29554
+ headers?: Partial<{
29555
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29556
+ }>;
29557
+ } & {
29558
+ pathParameters: {
29559
+ sshUserId: string;
29560
+ };
29561
+ } & {
29562
+ headers: {
29563
+ "x-access-token"?: string | undefined;
29564
+ } & Partial<{
29565
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29566
+ }>;
29567
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29568
+ [x: string]: unknown;
29569
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29570
+ [x: string]: unknown;
29571
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29572
+ headers?: Partial<{
29573
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29574
+ }>;
29575
+ } & {
29576
+ pathParameters: {
29577
+ sshUserId: string;
29578
+ };
29579
+ } & {
29580
+ headers: {
29581
+ "x-access-token"?: string | undefined;
29582
+ } & Partial<{
29583
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29584
+ }>;
29585
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29586
+ [x: string]: unknown;
29587
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29588
+ [x: string]: unknown;
29589
+ }, 429, "application/json">>>;
29590
+ /** Update an SSHUser. */
29591
+ sshUserUpdateSshUser: (request: {
29592
+ sshUserId: string;
29593
+ data?: {
29594
+ active?: boolean | undefined;
29595
+ description?: string | undefined;
29596
+ expiresAt?: string | undefined;
29597
+ password?: string | undefined;
29598
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29599
+ } | undefined;
29600
+ headers?: {
29601
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29602
+ "x-access-token"?: string | undefined;
29603
+ } | undefined;
29604
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29605
+ data: {
29606
+ active?: boolean | undefined;
29607
+ description?: string | undefined;
29608
+ expiresAt?: string | undefined;
29609
+ password?: string | undefined;
29610
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29611
+ };
29612
+ } & {
29613
+ pathParameters: {
29614
+ sshUserId: string;
29615
+ };
29616
+ } & {
29617
+ headers?: Partial<{
29618
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29619
+ }>;
29620
+ } & {
29621
+ headers: {
29622
+ "x-access-token"?: string | undefined;
29623
+ } & Partial<{
29624
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29625
+ }>;
29626
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29627
+ [x: string]: unknown;
29628
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29629
+ [x: string]: unknown;
29630
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29631
+ [x: string]: unknown;
29632
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29633
+ data: {
29634
+ active?: boolean | undefined;
29635
+ description?: string | undefined;
29737
29636
  expiresAt?: string | undefined;
29637
+ password?: string | undefined;
29638
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29738
29639
  };
29739
29640
  } & {
29740
29641
  pathParameters: {
29741
- projectId: string;
29642
+ sshUserId: string;
29742
29643
  };
29743
29644
  } & {
29744
29645
  headers?: Partial<{
@@ -29750,28 +29651,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29750
29651
  } & Partial<{
29751
29652
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29752
29653
  }>;
29753
- }, import("@mittwald/api-client-commons").Response<{
29754
- active?: boolean | undefined;
29755
- authUpdatedAt: string;
29756
- createdAt: string;
29757
- description: string;
29758
- expiresAt?: string | undefined;
29759
- hasPassword: boolean;
29760
- id: string;
29761
- projectId: string;
29762
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29763
- updatedAt?: string | undefined;
29764
- userName: string;
29765
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
29654
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29766
29655
  [x: string]: unknown;
29767
29656
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29768
29657
  [x: string]: unknown;
29769
29658
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29770
29659
  [x: string]: unknown;
29771
29660
  }, 429, "application/json">>>;
29772
- /** Get an SSHUser. */
29773
- sshUserGetSshUser: (request: {
29774
- sshUserId: string;
29661
+ };
29662
+ /** The license API allows you to manage your paid licenses. */
29663
+ readonly license: {
29664
+ /** Get a license. */
29665
+ getLicense: (request: {
29666
+ licenseId: string;
29775
29667
  headers?: {
29776
29668
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29777
29669
  "x-access-token"?: string | undefined;
@@ -29782,7 +29674,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29782
29674
  }>;
29783
29675
  } & {
29784
29676
  pathParameters: {
29785
- sshUserId: string;
29677
+ licenseId: string;
29786
29678
  };
29787
29679
  } & {
29788
29680
  headers: {
@@ -29791,30 +29683,29 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29791
29683
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29792
29684
  }>;
29793
29685
  }, import("@mittwald/api-client-commons").Response<{
29794
- active?: boolean | undefined;
29795
- authUpdatedAt: string;
29796
- createdAt: string;
29797
29686
  description: string;
29798
- expiresAt?: string | undefined;
29799
- hasPassword: boolean;
29687
+ expiryDate?: string | undefined;
29800
29688
  id: string;
29801
- projectId: string;
29802
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29803
- updatedAt?: string | undefined;
29804
- userName: string;
29689
+ keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
29690
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
29691
+ meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
29692
+ reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
29693
+ volume?: number | undefined;
29805
29694
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29806
29695
  [x: string]: unknown;
29696
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29697
+ [x: string]: unknown;
29807
29698
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29808
29699
  [x: string]: unknown;
29809
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29700
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29810
29701
  [x: string]: unknown;
29811
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29702
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29812
29703
  headers?: Partial<{
29813
29704
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29814
29705
  }>;
29815
29706
  } & {
29816
29707
  pathParameters: {
29817
- sshUserId: string;
29708
+ licenseId: string;
29818
29709
  };
29819
29710
  } & {
29820
29711
  headers: {
@@ -29823,77 +29714,102 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29823
29714
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29824
29715
  }>;
29825
29716
  }, import("@mittwald/api-client-commons").Response<{
29826
- active?: boolean | undefined;
29827
- authUpdatedAt: string;
29828
- createdAt: string;
29829
29717
  description: string;
29830
- expiresAt?: string | undefined;
29831
- hasPassword: boolean;
29718
+ expiryDate?: string | undefined;
29832
29719
  id: string;
29833
- projectId: string;
29834
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29835
- updatedAt?: string | undefined;
29836
- userName: string;
29720
+ keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
29721
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
29722
+ meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
29723
+ reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
29724
+ volume?: number | undefined;
29837
29725
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29838
29726
  [x: string]: unknown;
29727
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29728
+ [x: string]: unknown;
29839
29729
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29840
29730
  [x: string]: unknown;
29841
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29731
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29842
29732
  [x: string]: unknown;
29843
- }, 429, "application/json">>>;
29844
- /** Delete an SSHUser. */
29845
- sshUserDeleteSshUser: (request: {
29846
- sshUserId: string;
29733
+ }, 500, "application/json">>>;
29734
+ /** List Licenses belonging to a Project. */
29735
+ listLicensesForProject: (request: {
29736
+ projectId: string;
29847
29737
  headers?: {
29848
29738
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29849
29739
  "x-access-token"?: string | undefined;
29850
29740
  } | undefined;
29741
+ queryParameters?: {
29742
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29743
+ limit?: number | undefined;
29744
+ skip?: number | undefined;
29745
+ page?: number | undefined;
29746
+ } | undefined;
29851
29747
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29852
29748
  headers?: Partial<{
29853
29749
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29854
29750
  }>;
29855
29751
  } & {
29856
29752
  pathParameters: {
29857
- sshUserId: string;
29753
+ projectId: string;
29858
29754
  };
29755
+ } & {
29756
+ queryParameters: {
29757
+ limit?: number | undefined;
29758
+ skip?: number | undefined;
29759
+ page?: number | undefined;
29760
+ } & Partial<{
29761
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29762
+ }>;
29859
29763
  } & {
29860
29764
  headers: {
29861
29765
  "x-access-token"?: string | undefined;
29862
29766
  } & Partial<{
29863
29767
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29864
29768
  }>;
29865
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29769
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29770
+ [x: string]: unknown;
29771
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29866
29772
  [x: string]: unknown;
29867
29773
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29868
29774
  [x: string]: unknown;
29869
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29775
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29776
+ [x: string]: unknown;
29777
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29870
29778
  headers?: Partial<{
29871
29779
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29872
29780
  }>;
29873
29781
  } & {
29874
29782
  pathParameters: {
29875
- sshUserId: string;
29783
+ projectId: string;
29876
29784
  };
29785
+ } & {
29786
+ queryParameters: {
29787
+ limit?: number | undefined;
29788
+ skip?: number | undefined;
29789
+ page?: number | undefined;
29790
+ } & Partial<{
29791
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29792
+ }>;
29877
29793
  } & {
29878
29794
  headers: {
29879
29795
  "x-access-token"?: string | undefined;
29880
29796
  } & Partial<{
29881
29797
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29882
29798
  }>;
29883
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29799
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29800
+ [x: string]: unknown;
29801
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29884
29802
  [x: string]: unknown;
29885
29803
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29886
29804
  [x: string]: unknown;
29887
- }, 429, "application/json">>>;
29888
- /** Update an SSHUser. */
29889
- sshUserUpdateSshUser: (request: {
29890
- sshUserId: string;
29805
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29806
+ [x: string]: unknown;
29807
+ }, 500, "application/json">>>;
29808
+ /** rotate a License's key, i.e. revoke the old and generate a new one. */
29809
+ rotateLicenseKey: (request: {
29810
+ licenseId: string;
29891
29811
  data?: {
29892
- active?: boolean | undefined;
29893
- description?: string | undefined;
29894
- expiresAt?: string | undefined;
29895
- password?: string | undefined;
29896
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29812
+ externalKey?: string | undefined;
29897
29813
  } | undefined;
29898
29814
  headers?: {
29899
29815
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -29901,15 +29817,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29901
29817
  } | undefined;
29902
29818
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29903
29819
  data: {
29904
- active?: boolean | undefined;
29905
- description?: string | undefined;
29906
- expiresAt?: string | undefined;
29907
- password?: string | undefined;
29908
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29820
+ externalKey?: string | undefined;
29909
29821
  };
29910
29822
  } & {
29911
29823
  pathParameters: {
29912
- sshUserId: string;
29824
+ licenseId: string;
29913
29825
  };
29914
29826
  } & {
29915
29827
  headers?: Partial<{
@@ -29921,23 +29833,27 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29921
29833
  } & Partial<{
29922
29834
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29923
29835
  }>;
29924
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29836
+ }, import("@mittwald/api-client-commons").Response<{
29837
+ keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
29838
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29925
29839
  [x: string]: unknown;
29926
29840
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29927
29841
  [x: string]: unknown;
29928
29842
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29929
29843
  [x: string]: unknown;
29930
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29844
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29845
+ [x: string]: unknown;
29846
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
29847
+ [x: string]: unknown;
29848
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29849
+ [x: string]: unknown;
29850
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29931
29851
  data: {
29932
- active?: boolean | undefined;
29933
- description?: string | undefined;
29934
- expiresAt?: string | undefined;
29935
- password?: string | undefined;
29936
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29852
+ externalKey?: string | undefined;
29937
29853
  };
29938
29854
  } & {
29939
29855
  pathParameters: {
29940
- sshUserId: string;
29856
+ licenseId: string;
29941
29857
  };
29942
29858
  } & {
29943
29859
  headers?: Partial<{
@@ -29949,13 +29865,99 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29949
29865
  } & Partial<{
29950
29866
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29951
29867
  }>;
29952
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29868
+ }, import("@mittwald/api-client-commons").Response<{
29869
+ keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
29870
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29953
29871
  [x: string]: unknown;
29954
29872
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29955
29873
  [x: string]: unknown;
29956
29874
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29957
29875
  [x: string]: unknown;
29958
- }, 429, "application/json">>>;
29876
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29877
+ [x: string]: unknown;
29878
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
29879
+ [x: string]: unknown;
29880
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29881
+ [x: string]: unknown;
29882
+ }, 500, "application/json">>>;
29883
+ /** Validate a License's key for a project. */
29884
+ validateLicenseKeyForProject: (request: {
29885
+ data: {
29886
+ key: string;
29887
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
29888
+ };
29889
+ projectId: string;
29890
+ headers?: {
29891
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29892
+ "x-access-token"?: string | undefined;
29893
+ } | undefined;
29894
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29895
+ data: {
29896
+ key: string;
29897
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
29898
+ };
29899
+ } & {
29900
+ pathParameters: {
29901
+ projectId: string;
29902
+ };
29903
+ } & {
29904
+ headers?: Partial<{
29905
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29906
+ }>;
29907
+ } & {
29908
+ headers: {
29909
+ "x-access-token"?: string | undefined;
29910
+ } & Partial<{
29911
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29912
+ }>;
29913
+ }, import("@mittwald/api-client-commons").Response<{
29914
+ valid: boolean;
29915
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29916
+ [x: string]: unknown;
29917
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29918
+ [x: string]: unknown;
29919
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29920
+ [x: string]: unknown;
29921
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29922
+ [x: string]: unknown;
29923
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
29924
+ [x: string]: unknown;
29925
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29926
+ [x: string]: unknown;
29927
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29928
+ data: {
29929
+ key: string;
29930
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
29931
+ };
29932
+ } & {
29933
+ pathParameters: {
29934
+ projectId: string;
29935
+ };
29936
+ } & {
29937
+ headers?: Partial<{
29938
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29939
+ }>;
29940
+ } & {
29941
+ headers: {
29942
+ "x-access-token"?: string | undefined;
29943
+ } & Partial<{
29944
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29945
+ }>;
29946
+ }, import("@mittwald/api-client-commons").Response<{
29947
+ valid: boolean;
29948
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29949
+ [x: string]: unknown;
29950
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29951
+ [x: string]: unknown;
29952
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29953
+ [x: string]: unknown;
29954
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29955
+ [x: string]: unknown;
29956
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
29957
+ [x: string]: unknown;
29958
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29959
+ [x: string]: unknown;
29960
+ }, 500, "application/json">>>;
29959
29961
  };
29960
29962
  }
29961
29963
  export default MittwaldAPIV2Client;