@mittwald/api-client 4.315.0 → 4.316.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.
- package/dist/esm/generated/v2/client-react.js +9 -9
- package/dist/esm/generated/v2/client.js +11 -11
- package/dist/esm/generated/v2/descriptors.js +24 -24
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +35 -35
- package/dist/types/generated/v2/client.d.ts +377 -377
- package/dist/types/generated/v2/descriptors.d.ts +8 -8
- package/dist/types/generated/v2/types.d.ts +1035 -1035
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -25801,6 +25801,306 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
25801
25801
|
[x: string]: unknown;
|
|
25802
25802
|
}, 429, "application/json">>>;
|
|
25803
25803
|
};
|
|
25804
|
+
/** The license API allows you to manage your paid licenses. */
|
|
25805
|
+
readonly license: {
|
|
25806
|
+
/** Get a license. */
|
|
25807
|
+
getLicense: (request: {
|
|
25808
|
+
licenseId: string;
|
|
25809
|
+
headers?: {
|
|
25810
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
25811
|
+
"x-access-token"?: string | undefined;
|
|
25812
|
+
} | undefined;
|
|
25813
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
25814
|
+
headers?: Partial<{
|
|
25815
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
25816
|
+
}>;
|
|
25817
|
+
} & {
|
|
25818
|
+
pathParameters: {
|
|
25819
|
+
licenseId: string;
|
|
25820
|
+
};
|
|
25821
|
+
} & {
|
|
25822
|
+
headers: {
|
|
25823
|
+
"x-access-token"?: string | undefined;
|
|
25824
|
+
} & Partial<{
|
|
25825
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
25826
|
+
}>;
|
|
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<{
|
|
25843
|
+
[x: string]: unknown;
|
|
25844
|
+
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
25845
|
+
headers?: Partial<{
|
|
25846
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
25847
|
+
}>;
|
|
25848
|
+
} & {
|
|
25849
|
+
pathParameters: {
|
|
25850
|
+
licenseId: string;
|
|
25851
|
+
};
|
|
25852
|
+
} & {
|
|
25853
|
+
headers: {
|
|
25854
|
+
"x-access-token"?: string | undefined;
|
|
25855
|
+
} & Partial<{
|
|
25856
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
25857
|
+
}>;
|
|
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<{
|
|
25874
|
+
[x: string]: unknown;
|
|
25875
|
+
}, 500, "application/json">>>;
|
|
25876
|
+
/** List Licenses belonging to a Project. */
|
|
25877
|
+
listLicensesForProject: (request: {
|
|
25878
|
+
projectId: string;
|
|
25879
|
+
headers?: {
|
|
25880
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
25881
|
+
"x-access-token"?: string | undefined;
|
|
25882
|
+
} | 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
|
+
}, 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
|
+
}>;
|
|
25893
|
+
} & {
|
|
25894
|
+
pathParameters: {
|
|
25895
|
+
projectId: string;
|
|
25896
|
+
};
|
|
25897
|
+
} & {
|
|
25898
|
+
queryParameters: {
|
|
25899
|
+
limit?: number | undefined;
|
|
25900
|
+
skip?: number | undefined;
|
|
25901
|
+
page?: number | undefined;
|
|
25902
|
+
} & Partial<{
|
|
25903
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
25904
|
+
}>;
|
|
25905
|
+
} & {
|
|
25906
|
+
headers: {
|
|
25907
|
+
"x-access-token"?: string | undefined;
|
|
25908
|
+
} & Partial<{
|
|
25909
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
25910
|
+
}>;
|
|
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<{
|
|
25918
|
+
[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
|
+
}>;
|
|
25923
|
+
} & {
|
|
25924
|
+
pathParameters: {
|
|
25925
|
+
projectId: string;
|
|
25926
|
+
};
|
|
25927
|
+
} & {
|
|
25928
|
+
queryParameters: {
|
|
25929
|
+
limit?: number | undefined;
|
|
25930
|
+
skip?: number | undefined;
|
|
25931
|
+
page?: number | undefined;
|
|
25932
|
+
} & Partial<{
|
|
25933
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
25934
|
+
}>;
|
|
25935
|
+
} & {
|
|
25936
|
+
headers: {
|
|
25937
|
+
"x-access-token"?: string | undefined;
|
|
25938
|
+
} & Partial<{
|
|
25939
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
25940
|
+
}>;
|
|
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<{
|
|
25948
|
+
[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;
|
|
25953
|
+
data?: {
|
|
25954
|
+
externalKey?: string | undefined;
|
|
25955
|
+
} | undefined;
|
|
25956
|
+
headers?: {
|
|
25957
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
25958
|
+
"x-access-token"?: string | undefined;
|
|
25959
|
+
} | undefined;
|
|
25960
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
25961
|
+
data: {
|
|
25962
|
+
externalKey?: string | undefined;
|
|
25963
|
+
};
|
|
25964
|
+
} & {
|
|
25965
|
+
pathParameters: {
|
|
25966
|
+
licenseId: string;
|
|
25967
|
+
};
|
|
25968
|
+
} & {
|
|
25969
|
+
headers?: Partial<{
|
|
25970
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
25971
|
+
}>;
|
|
25972
|
+
} & {
|
|
25973
|
+
headers: {
|
|
25974
|
+
"x-access-token"?: string | undefined;
|
|
25975
|
+
} & Partial<{
|
|
25976
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
25977
|
+
}>;
|
|
25978
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
25979
|
+
keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
|
|
25980
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
25981
|
+
[x: string]: unknown;
|
|
25982
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
25983
|
+
[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<{
|
|
25993
|
+
data: {
|
|
25994
|
+
externalKey?: string | undefined;
|
|
25995
|
+
};
|
|
25996
|
+
} & {
|
|
25997
|
+
pathParameters: {
|
|
25998
|
+
licenseId: string;
|
|
25999
|
+
};
|
|
26000
|
+
} & {
|
|
26001
|
+
headers?: Partial<{
|
|
26002
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
26003
|
+
}>;
|
|
26004
|
+
} & {
|
|
26005
|
+
headers: {
|
|
26006
|
+
"x-access-token"?: string | undefined;
|
|
26007
|
+
} & Partial<{
|
|
26008
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
26009
|
+
}>;
|
|
26010
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
26011
|
+
keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
|
|
26012
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26013
|
+
[x: string]: unknown;
|
|
26014
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
26015
|
+
[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: {
|
|
26027
|
+
data: {
|
|
26028
|
+
key: string;
|
|
26029
|
+
kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
|
|
26030
|
+
};
|
|
26031
|
+
projectId: string;
|
|
26032
|
+
headers?: {
|
|
26033
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
26034
|
+
"x-access-token"?: string | undefined;
|
|
26035
|
+
} | undefined;
|
|
26036
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
26037
|
+
data: {
|
|
26038
|
+
key: string;
|
|
26039
|
+
kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
|
|
26040
|
+
};
|
|
26041
|
+
} & {
|
|
26042
|
+
pathParameters: {
|
|
26043
|
+
projectId: string;
|
|
26044
|
+
};
|
|
26045
|
+
} & {
|
|
26046
|
+
headers?: Partial<{
|
|
26047
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
26048
|
+
}>;
|
|
26049
|
+
} & {
|
|
26050
|
+
headers: {
|
|
26051
|
+
"x-access-token"?: string | undefined;
|
|
26052
|
+
} & Partial<{
|
|
26053
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
26054
|
+
}>;
|
|
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
|
+
};
|
|
25804
26104
|
/** API endpoints that are not related to any specific API domain */
|
|
25805
26105
|
readonly misc: {
|
|
25806
26106
|
/** List valid time zones. */
|
|
@@ -29424,204 +29724,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
29424
29724
|
publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
|
|
29425
29725
|
updatedAt?: string | undefined;
|
|
29426
29726
|
userName: string;
|
|
29427
|
-
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29428
|
-
[x: string]: unknown;
|
|
29429
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29430
|
-
[x: string]: unknown;
|
|
29431
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29432
|
-
[x: string]: unknown;
|
|
29433
|
-
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29434
|
-
data: {
|
|
29435
|
-
authentication: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserAuthentication;
|
|
29436
|
-
description: string;
|
|
29437
|
-
expiresAt?: string | undefined;
|
|
29438
|
-
};
|
|
29439
|
-
} & {
|
|
29440
|
-
pathParameters: {
|
|
29441
|
-
projectId: string;
|
|
29442
|
-
};
|
|
29443
|
-
} & {
|
|
29444
|
-
headers?: Partial<{
|
|
29445
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29446
|
-
}>;
|
|
29447
|
-
} & {
|
|
29448
|
-
headers: {
|
|
29449
|
-
"x-access-token"?: string | undefined;
|
|
29450
|
-
} & Partial<{
|
|
29451
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29452
|
-
}>;
|
|
29453
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
29454
|
-
active?: boolean | undefined;
|
|
29455
|
-
authUpdatedAt: string;
|
|
29456
|
-
createdAt: string;
|
|
29457
|
-
description: string;
|
|
29458
|
-
expiresAt?: string | undefined;
|
|
29459
|
-
hasPassword: boolean;
|
|
29460
|
-
id: string;
|
|
29461
|
-
projectId: string;
|
|
29462
|
-
publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
|
|
29463
|
-
updatedAt?: string | undefined;
|
|
29464
|
-
userName: string;
|
|
29465
|
-
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29466
|
-
[x: string]: unknown;
|
|
29467
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29468
|
-
[x: string]: unknown;
|
|
29469
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29470
|
-
[x: string]: unknown;
|
|
29471
|
-
}, 429, "application/json">>>;
|
|
29472
|
-
/** Get an SSHUser. */
|
|
29473
|
-
sshUserGetSshUser: (request: {
|
|
29474
|
-
sshUserId: string;
|
|
29475
|
-
headers?: {
|
|
29476
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
29477
|
-
"x-access-token"?: string | undefined;
|
|
29478
|
-
} | undefined;
|
|
29479
|
-
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29480
|
-
headers?: Partial<{
|
|
29481
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29482
|
-
}>;
|
|
29483
|
-
} & {
|
|
29484
|
-
pathParameters: {
|
|
29485
|
-
sshUserId: string;
|
|
29486
|
-
};
|
|
29487
|
-
} & {
|
|
29488
|
-
headers: {
|
|
29489
|
-
"x-access-token"?: string | undefined;
|
|
29490
|
-
} & Partial<{
|
|
29491
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29492
|
-
}>;
|
|
29493
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
29494
|
-
active?: boolean | undefined;
|
|
29495
|
-
authUpdatedAt: string;
|
|
29496
|
-
createdAt: string;
|
|
29497
|
-
description: string;
|
|
29498
|
-
expiresAt?: string | undefined;
|
|
29499
|
-
hasPassword: boolean;
|
|
29500
|
-
id: string;
|
|
29501
|
-
projectId: string;
|
|
29502
|
-
publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
|
|
29503
|
-
updatedAt?: string | undefined;
|
|
29504
|
-
userName: string;
|
|
29505
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29506
|
-
[x: string]: unknown;
|
|
29507
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29508
|
-
[x: string]: unknown;
|
|
29509
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29510
|
-
[x: string]: unknown;
|
|
29511
|
-
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29512
|
-
headers?: Partial<{
|
|
29513
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29514
|
-
}>;
|
|
29515
|
-
} & {
|
|
29516
|
-
pathParameters: {
|
|
29517
|
-
sshUserId: string;
|
|
29518
|
-
};
|
|
29519
|
-
} & {
|
|
29520
|
-
headers: {
|
|
29521
|
-
"x-access-token"?: string | undefined;
|
|
29522
|
-
} & Partial<{
|
|
29523
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29524
|
-
}>;
|
|
29525
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
29526
|
-
active?: boolean | undefined;
|
|
29527
|
-
authUpdatedAt: string;
|
|
29528
|
-
createdAt: string;
|
|
29529
|
-
description: string;
|
|
29530
|
-
expiresAt?: string | undefined;
|
|
29531
|
-
hasPassword: boolean;
|
|
29532
|
-
id: string;
|
|
29533
|
-
projectId: string;
|
|
29534
|
-
publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
|
|
29535
|
-
updatedAt?: string | undefined;
|
|
29536
|
-
userName: string;
|
|
29537
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29538
|
-
[x: string]: unknown;
|
|
29539
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29540
|
-
[x: string]: unknown;
|
|
29541
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29542
|
-
[x: string]: unknown;
|
|
29543
|
-
}, 429, "application/json">>>;
|
|
29544
|
-
/** Delete an SSHUser. */
|
|
29545
|
-
sshUserDeleteSshUser: (request: {
|
|
29546
|
-
sshUserId: string;
|
|
29547
|
-
headers?: {
|
|
29548
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
29549
|
-
"x-access-token"?: string | undefined;
|
|
29550
|
-
} | undefined;
|
|
29551
|
-
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29552
|
-
headers?: Partial<{
|
|
29553
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29554
|
-
}>;
|
|
29555
|
-
} & {
|
|
29556
|
-
pathParameters: {
|
|
29557
|
-
sshUserId: string;
|
|
29558
|
-
};
|
|
29559
|
-
} & {
|
|
29560
|
-
headers: {
|
|
29561
|
-
"x-access-token"?: string | undefined;
|
|
29562
|
-
} & Partial<{
|
|
29563
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29564
|
-
}>;
|
|
29565
|
-
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
29566
|
-
[x: string]: unknown;
|
|
29567
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29568
|
-
[x: string]: unknown;
|
|
29569
|
-
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29570
|
-
headers?: Partial<{
|
|
29571
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29572
|
-
}>;
|
|
29573
|
-
} & {
|
|
29574
|
-
pathParameters: {
|
|
29575
|
-
sshUserId: string;
|
|
29576
|
-
};
|
|
29577
|
-
} & {
|
|
29578
|
-
headers: {
|
|
29579
|
-
"x-access-token"?: string | undefined;
|
|
29580
|
-
} & Partial<{
|
|
29581
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29582
|
-
}>;
|
|
29583
|
-
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
29584
|
-
[x: string]: unknown;
|
|
29585
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29586
|
-
[x: string]: unknown;
|
|
29587
|
-
}, 429, "application/json">>>;
|
|
29588
|
-
/** Update an SSHUser. */
|
|
29589
|
-
sshUserUpdateSshUser: (request: {
|
|
29590
|
-
sshUserId: string;
|
|
29591
|
-
data?: {
|
|
29592
|
-
active?: boolean | undefined;
|
|
29593
|
-
description?: string | undefined;
|
|
29594
|
-
expiresAt?: string | undefined;
|
|
29595
|
-
password?: string | undefined;
|
|
29596
|
-
publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
|
|
29597
|
-
} | undefined;
|
|
29598
|
-
headers?: {
|
|
29599
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
29600
|
-
"x-access-token"?: string | undefined;
|
|
29601
|
-
} | undefined;
|
|
29602
|
-
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29603
|
-
data: {
|
|
29604
|
-
active?: boolean | undefined;
|
|
29605
|
-
description?: string | undefined;
|
|
29606
|
-
expiresAt?: string | undefined;
|
|
29607
|
-
password?: string | undefined;
|
|
29608
|
-
publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
|
|
29609
|
-
};
|
|
29610
|
-
} & {
|
|
29611
|
-
pathParameters: {
|
|
29612
|
-
sshUserId: string;
|
|
29613
|
-
};
|
|
29614
|
-
} & {
|
|
29615
|
-
headers?: Partial<{
|
|
29616
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29617
|
-
}>;
|
|
29618
|
-
} & {
|
|
29619
|
-
headers: {
|
|
29620
|
-
"x-access-token"?: string | undefined;
|
|
29621
|
-
} & Partial<{
|
|
29622
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29623
|
-
}>;
|
|
29624
|
-
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
29727
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29625
29728
|
[x: string]: unknown;
|
|
29626
29729
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29627
29730
|
[x: string]: unknown;
|
|
@@ -29629,15 +29732,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
29629
29732
|
[x: string]: unknown;
|
|
29630
29733
|
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29631
29734
|
data: {
|
|
29632
|
-
|
|
29633
|
-
description
|
|
29735
|
+
authentication: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserAuthentication;
|
|
29736
|
+
description: string;
|
|
29634
29737
|
expiresAt?: string | undefined;
|
|
29635
|
-
password?: string | undefined;
|
|
29636
|
-
publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
|
|
29637
29738
|
};
|
|
29638
29739
|
} & {
|
|
29639
29740
|
pathParameters: {
|
|
29640
|
-
|
|
29741
|
+
projectId: string;
|
|
29641
29742
|
};
|
|
29642
29743
|
} & {
|
|
29643
29744
|
headers?: Partial<{
|
|
@@ -29649,19 +29750,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
29649
29750
|
} & Partial<{
|
|
29650
29751
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29651
29752
|
}>;
|
|
29652
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
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<{
|
|
29653
29766
|
[x: string]: unknown;
|
|
29654
29767
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29655
29768
|
[x: string]: unknown;
|
|
29656
29769
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29657
29770
|
[x: string]: unknown;
|
|
29658
29771
|
}, 429, "application/json">>>;
|
|
29659
|
-
|
|
29660
|
-
|
|
29661
|
-
|
|
29662
|
-
/** Get a license. */
|
|
29663
|
-
getLicense: (request: {
|
|
29664
|
-
licenseId: string;
|
|
29772
|
+
/** Get an SSHUser. */
|
|
29773
|
+
sshUserGetSshUser: (request: {
|
|
29774
|
+
sshUserId: string;
|
|
29665
29775
|
headers?: {
|
|
29666
29776
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
29667
29777
|
"x-access-token"?: string | undefined;
|
|
@@ -29672,7 +29782,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
29672
29782
|
}>;
|
|
29673
29783
|
} & {
|
|
29674
29784
|
pathParameters: {
|
|
29675
|
-
|
|
29785
|
+
sshUserId: string;
|
|
29676
29786
|
};
|
|
29677
29787
|
} & {
|
|
29678
29788
|
headers: {
|
|
@@ -29681,29 +29791,30 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
29681
29791
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29682
29792
|
}>;
|
|
29683
29793
|
}, import("@mittwald/api-client-commons").Response<{
|
|
29794
|
+
active?: boolean | undefined;
|
|
29795
|
+
authUpdatedAt: string;
|
|
29796
|
+
createdAt: string;
|
|
29684
29797
|
description: string;
|
|
29685
|
-
|
|
29798
|
+
expiresAt?: string | undefined;
|
|
29799
|
+
hasPassword: boolean;
|
|
29686
29800
|
id: string;
|
|
29687
|
-
|
|
29688
|
-
|
|
29689
|
-
|
|
29690
|
-
|
|
29691
|
-
volume?: number | undefined;
|
|
29801
|
+
projectId: string;
|
|
29802
|
+
publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
|
|
29803
|
+
updatedAt?: string | undefined;
|
|
29804
|
+
userName: string;
|
|
29692
29805
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29693
29806
|
[x: string]: unknown;
|
|
29694
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29695
|
-
[x: string]: unknown;
|
|
29696
29807
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29697
29808
|
[x: string]: unknown;
|
|
29698
|
-
},
|
|
29809
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29699
29810
|
[x: string]: unknown;
|
|
29700
|
-
},
|
|
29811
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29701
29812
|
headers?: Partial<{
|
|
29702
29813
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29703
29814
|
}>;
|
|
29704
29815
|
} & {
|
|
29705
29816
|
pathParameters: {
|
|
29706
|
-
|
|
29817
|
+
sshUserId: string;
|
|
29707
29818
|
};
|
|
29708
29819
|
} & {
|
|
29709
29820
|
headers: {
|
|
@@ -29712,191 +29823,93 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
29712
29823
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29713
29824
|
}>;
|
|
29714
29825
|
}, import("@mittwald/api-client-commons").Response<{
|
|
29826
|
+
active?: boolean | undefined;
|
|
29827
|
+
authUpdatedAt: string;
|
|
29828
|
+
createdAt: string;
|
|
29715
29829
|
description: string;
|
|
29716
|
-
|
|
29830
|
+
expiresAt?: string | undefined;
|
|
29831
|
+
hasPassword: boolean;
|
|
29717
29832
|
id: string;
|
|
29718
|
-
|
|
29719
|
-
|
|
29720
|
-
|
|
29721
|
-
|
|
29722
|
-
volume?: number | undefined;
|
|
29833
|
+
projectId: string;
|
|
29834
|
+
publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
|
|
29835
|
+
updatedAt?: string | undefined;
|
|
29836
|
+
userName: string;
|
|
29723
29837
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29724
29838
|
[x: string]: unknown;
|
|
29725
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29726
|
-
[x: string]: unknown;
|
|
29727
29839
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29728
29840
|
[x: string]: unknown;
|
|
29729
|
-
},
|
|
29841
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29730
29842
|
[x: string]: unknown;
|
|
29731
|
-
},
|
|
29732
|
-
/**
|
|
29733
|
-
|
|
29734
|
-
|
|
29843
|
+
}, 429, "application/json">>>;
|
|
29844
|
+
/** Delete an SSHUser. */
|
|
29845
|
+
sshUserDeleteSshUser: (request: {
|
|
29846
|
+
sshUserId: string;
|
|
29735
29847
|
headers?: {
|
|
29736
29848
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
29737
29849
|
"x-access-token"?: string | undefined;
|
|
29738
29850
|
} | undefined;
|
|
29739
|
-
queryParameters?: {
|
|
29740
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
29741
|
-
limit?: number | undefined;
|
|
29742
|
-
skip?: number | undefined;
|
|
29743
|
-
page?: number | undefined;
|
|
29744
|
-
} | undefined;
|
|
29745
29851
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29746
29852
|
headers?: Partial<{
|
|
29747
29853
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29748
29854
|
}>;
|
|
29749
29855
|
} & {
|
|
29750
29856
|
pathParameters: {
|
|
29751
|
-
|
|
29857
|
+
sshUserId: string;
|
|
29752
29858
|
};
|
|
29753
|
-
} & {
|
|
29754
|
-
queryParameters: {
|
|
29755
|
-
limit?: number | undefined;
|
|
29756
|
-
skip?: number | undefined;
|
|
29757
|
-
page?: number | undefined;
|
|
29758
|
-
} & Partial<{
|
|
29759
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29760
|
-
}>;
|
|
29761
29859
|
} & {
|
|
29762
29860
|
headers: {
|
|
29763
29861
|
"x-access-token"?: string | undefined;
|
|
29764
29862
|
} & Partial<{
|
|
29765
29863
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29766
29864
|
}>;
|
|
29767
|
-
}, import("@mittwald/api-client-commons").Response<
|
|
29768
|
-
[x: string]: unknown;
|
|
29769
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29865
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
29770
29866
|
[x: string]: unknown;
|
|
29771
29867
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29772
29868
|
[x: string]: unknown;
|
|
29773
|
-
}, 429, "application/json"
|
|
29774
|
-
[x: string]: unknown;
|
|
29775
|
-
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29869
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29776
29870
|
headers?: Partial<{
|
|
29777
29871
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29778
29872
|
}>;
|
|
29779
29873
|
} & {
|
|
29780
29874
|
pathParameters: {
|
|
29781
|
-
|
|
29875
|
+
sshUserId: string;
|
|
29782
29876
|
};
|
|
29783
|
-
} & {
|
|
29784
|
-
queryParameters: {
|
|
29785
|
-
limit?: number | undefined;
|
|
29786
|
-
skip?: number | undefined;
|
|
29787
|
-
page?: number | undefined;
|
|
29788
|
-
} & Partial<{
|
|
29789
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29790
|
-
}>;
|
|
29791
29877
|
} & {
|
|
29792
29878
|
headers: {
|
|
29793
29879
|
"x-access-token"?: string | undefined;
|
|
29794
29880
|
} & Partial<{
|
|
29795
29881
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29796
29882
|
}>;
|
|
29797
|
-
}, import("@mittwald/api-client-commons").Response<
|
|
29798
|
-
[x: string]: unknown;
|
|
29799
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29883
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
29800
29884
|
[x: string]: unknown;
|
|
29801
29885
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29802
29886
|
[x: string]: unknown;
|
|
29803
|
-
}, 429, "application/json"
|
|
29804
|
-
|
|
29805
|
-
|
|
29806
|
-
|
|
29807
|
-
rotateLicenseKey: (request: {
|
|
29808
|
-
licenseId: string;
|
|
29887
|
+
}, 429, "application/json">>>;
|
|
29888
|
+
/** Update an SSHUser. */
|
|
29889
|
+
sshUserUpdateSshUser: (request: {
|
|
29890
|
+
sshUserId: string;
|
|
29809
29891
|
data?: {
|
|
29810
|
-
|
|
29811
|
-
|
|
29812
|
-
|
|
29813
|
-
|
|
29814
|
-
"
|
|
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;
|
|
29815
29897
|
} | undefined;
|
|
29816
|
-
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29817
|
-
data: {
|
|
29818
|
-
externalKey?: string | undefined;
|
|
29819
|
-
};
|
|
29820
|
-
} & {
|
|
29821
|
-
pathParameters: {
|
|
29822
|
-
licenseId: string;
|
|
29823
|
-
};
|
|
29824
|
-
} & {
|
|
29825
|
-
headers?: Partial<{
|
|
29826
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29827
|
-
}>;
|
|
29828
|
-
} & {
|
|
29829
|
-
headers: {
|
|
29830
|
-
"x-access-token"?: string | undefined;
|
|
29831
|
-
} & Partial<{
|
|
29832
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29833
|
-
}>;
|
|
29834
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
29835
|
-
keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
|
|
29836
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29837
|
-
[x: string]: unknown;
|
|
29838
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29839
|
-
[x: string]: unknown;
|
|
29840
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29841
|
-
[x: string]: unknown;
|
|
29842
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29843
|
-
[x: string]: unknown;
|
|
29844
|
-
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29845
|
-
[x: string]: unknown;
|
|
29846
|
-
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29847
|
-
[x: string]: unknown;
|
|
29848
|
-
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29849
|
-
data: {
|
|
29850
|
-
externalKey?: string | undefined;
|
|
29851
|
-
};
|
|
29852
|
-
} & {
|
|
29853
|
-
pathParameters: {
|
|
29854
|
-
licenseId: string;
|
|
29855
|
-
};
|
|
29856
|
-
} & {
|
|
29857
|
-
headers?: Partial<{
|
|
29858
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29859
|
-
}>;
|
|
29860
|
-
} & {
|
|
29861
|
-
headers: {
|
|
29862
|
-
"x-access-token"?: string | undefined;
|
|
29863
|
-
} & Partial<{
|
|
29864
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29865
|
-
}>;
|
|
29866
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
29867
|
-
keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
|
|
29868
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29869
|
-
[x: string]: unknown;
|
|
29870
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29871
|
-
[x: string]: unknown;
|
|
29872
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29873
|
-
[x: string]: unknown;
|
|
29874
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29875
|
-
[x: string]: unknown;
|
|
29876
|
-
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29877
|
-
[x: string]: unknown;
|
|
29878
|
-
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29879
|
-
[x: string]: unknown;
|
|
29880
|
-
}, 500, "application/json">>>;
|
|
29881
|
-
/** Validate a License's key for a project. */
|
|
29882
|
-
validateLicenseKeyForProject: (request: {
|
|
29883
|
-
data: {
|
|
29884
|
-
key: string;
|
|
29885
|
-
kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
|
|
29886
|
-
};
|
|
29887
|
-
projectId: string;
|
|
29888
29898
|
headers?: {
|
|
29889
29899
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
29890
29900
|
"x-access-token"?: string | undefined;
|
|
29891
29901
|
} | undefined;
|
|
29892
29902
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29893
29903
|
data: {
|
|
29894
|
-
|
|
29895
|
-
|
|
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;
|
|
29896
29909
|
};
|
|
29897
29910
|
} & {
|
|
29898
29911
|
pathParameters: {
|
|
29899
|
-
|
|
29912
|
+
sshUserId: string;
|
|
29900
29913
|
};
|
|
29901
29914
|
} & {
|
|
29902
29915
|
headers?: Partial<{
|
|
@@ -29908,28 +29921,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
29908
29921
|
} & Partial<{
|
|
29909
29922
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29910
29923
|
}>;
|
|
29911
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
29912
|
-
valid: boolean;
|
|
29913
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29924
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
29914
29925
|
[x: string]: unknown;
|
|
29915
29926
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29916
29927
|
[x: string]: unknown;
|
|
29917
29928
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29918
29929
|
[x: string]: unknown;
|
|
29919
|
-
},
|
|
29920
|
-
[x: string]: unknown;
|
|
29921
|
-
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29922
|
-
[x: string]: unknown;
|
|
29923
|
-
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29924
|
-
[x: string]: unknown;
|
|
29925
|
-
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29930
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
29926
29931
|
data: {
|
|
29927
|
-
|
|
29928
|
-
|
|
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;
|
|
29929
29937
|
};
|
|
29930
29938
|
} & {
|
|
29931
29939
|
pathParameters: {
|
|
29932
|
-
|
|
29940
|
+
sshUserId: string;
|
|
29933
29941
|
};
|
|
29934
29942
|
} & {
|
|
29935
29943
|
headers?: Partial<{
|
|
@@ -29941,21 +29949,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
29941
29949
|
} & Partial<{
|
|
29942
29950
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
29943
29951
|
}>;
|
|
29944
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
29945
|
-
valid: boolean;
|
|
29946
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29952
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
29947
29953
|
[x: string]: unknown;
|
|
29948
29954
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29949
29955
|
[x: string]: unknown;
|
|
29950
29956
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29951
29957
|
[x: string]: unknown;
|
|
29952
|
-
},
|
|
29953
|
-
[x: string]: unknown;
|
|
29954
|
-
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29955
|
-
[x: string]: unknown;
|
|
29956
|
-
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
29957
|
-
[x: string]: unknown;
|
|
29958
|
-
}, 500, "application/json">>>;
|
|
29958
|
+
}, 429, "application/json">>>;
|
|
29959
29959
|
};
|
|
29960
29960
|
}
|
|
29961
29961
|
export default MittwaldAPIV2Client;
|