@mittwald/api-client 4.324.0 → 4.325.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.
@@ -25935,6 +25935,306 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25935
25935
  [x: string]: unknown;
25936
25936
  }, 429, "application/json">>>;
25937
25937
  };
25938
+ /** The license API allows you to manage your paid licenses. */
25939
+ readonly license: {
25940
+ /** Get a license. */
25941
+ getLicense: (request: {
25942
+ licenseId: string;
25943
+ headers?: {
25944
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
25945
+ "x-access-token"?: string | undefined;
25946
+ } | undefined;
25947
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25948
+ headers?: Partial<{
25949
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25950
+ }>;
25951
+ } & {
25952
+ pathParameters: {
25953
+ licenseId: string;
25954
+ };
25955
+ } & {
25956
+ headers: {
25957
+ "x-access-token"?: string | undefined;
25958
+ } & Partial<{
25959
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25960
+ }>;
25961
+ }, import("@mittwald/api-client-commons").Response<{
25962
+ description: string;
25963
+ expiryDate?: string | undefined;
25964
+ id: string;
25965
+ keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
25966
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
25967
+ meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
25968
+ reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
25969
+ volume?: number | undefined;
25970
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25971
+ [x: string]: unknown;
25972
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25973
+ [x: string]: unknown;
25974
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
25975
+ [x: string]: unknown;
25976
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25977
+ [x: string]: unknown;
25978
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25979
+ headers?: Partial<{
25980
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25981
+ }>;
25982
+ } & {
25983
+ pathParameters: {
25984
+ licenseId: string;
25985
+ };
25986
+ } & {
25987
+ headers: {
25988
+ "x-access-token"?: string | undefined;
25989
+ } & Partial<{
25990
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25991
+ }>;
25992
+ }, import("@mittwald/api-client-commons").Response<{
25993
+ description: string;
25994
+ expiryDate?: string | undefined;
25995
+ id: string;
25996
+ keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
25997
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
25998
+ meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
25999
+ reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
26000
+ volume?: number | undefined;
26001
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26002
+ [x: string]: unknown;
26003
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26004
+ [x: string]: unknown;
26005
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26006
+ [x: string]: unknown;
26007
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26008
+ [x: string]: unknown;
26009
+ }, 500, "application/json">>>;
26010
+ /** List Licenses belonging to a Project. */
26011
+ listLicensesForProject: (request: {
26012
+ projectId: string;
26013
+ headers?: {
26014
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26015
+ "x-access-token"?: string | undefined;
26016
+ } | undefined;
26017
+ queryParameters?: {
26018
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26019
+ limit?: number | undefined;
26020
+ skip?: number | undefined;
26021
+ page?: number | undefined;
26022
+ } | undefined;
26023
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26024
+ headers?: Partial<{
26025
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26026
+ }>;
26027
+ } & {
26028
+ pathParameters: {
26029
+ projectId: string;
26030
+ };
26031
+ } & {
26032
+ queryParameters: {
26033
+ limit?: number | undefined;
26034
+ skip?: number | undefined;
26035
+ page?: number | undefined;
26036
+ } & Partial<{
26037
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26038
+ }>;
26039
+ } & {
26040
+ headers: {
26041
+ "x-access-token"?: string | undefined;
26042
+ } & Partial<{
26043
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26044
+ }>;
26045
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26046
+ [x: string]: unknown;
26047
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26048
+ [x: string]: unknown;
26049
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26050
+ [x: string]: unknown;
26051
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26052
+ [x: string]: unknown;
26053
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26054
+ headers?: Partial<{
26055
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26056
+ }>;
26057
+ } & {
26058
+ pathParameters: {
26059
+ projectId: string;
26060
+ };
26061
+ } & {
26062
+ queryParameters: {
26063
+ limit?: number | undefined;
26064
+ skip?: number | undefined;
26065
+ page?: number | undefined;
26066
+ } & Partial<{
26067
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26068
+ }>;
26069
+ } & {
26070
+ headers: {
26071
+ "x-access-token"?: string | undefined;
26072
+ } & Partial<{
26073
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26074
+ }>;
26075
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26076
+ [x: string]: unknown;
26077
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26078
+ [x: string]: unknown;
26079
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26080
+ [x: string]: unknown;
26081
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26082
+ [x: string]: unknown;
26083
+ }, 500, "application/json">>>;
26084
+ /** rotate a License's key, i.e. revoke the old and generate a new one. */
26085
+ rotateLicenseKey: (request: {
26086
+ licenseId: string;
26087
+ data?: {
26088
+ externalKey?: string | undefined;
26089
+ } | undefined;
26090
+ headers?: {
26091
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26092
+ "x-access-token"?: string | undefined;
26093
+ } | undefined;
26094
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26095
+ data: {
26096
+ externalKey?: string | undefined;
26097
+ };
26098
+ } & {
26099
+ pathParameters: {
26100
+ licenseId: string;
26101
+ };
26102
+ } & {
26103
+ headers?: Partial<{
26104
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26105
+ }>;
26106
+ } & {
26107
+ headers: {
26108
+ "x-access-token"?: string | undefined;
26109
+ } & Partial<{
26110
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26111
+ }>;
26112
+ }, import("@mittwald/api-client-commons").Response<{
26113
+ keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
26114
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26115
+ [x: string]: unknown;
26116
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26117
+ [x: string]: unknown;
26118
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26119
+ [x: string]: unknown;
26120
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26121
+ [x: string]: unknown;
26122
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
26123
+ [x: string]: unknown;
26124
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26125
+ [x: string]: unknown;
26126
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26127
+ data: {
26128
+ externalKey?: string | undefined;
26129
+ };
26130
+ } & {
26131
+ pathParameters: {
26132
+ licenseId: string;
26133
+ };
26134
+ } & {
26135
+ headers?: Partial<{
26136
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26137
+ }>;
26138
+ } & {
26139
+ headers: {
26140
+ "x-access-token"?: string | undefined;
26141
+ } & Partial<{
26142
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26143
+ }>;
26144
+ }, import("@mittwald/api-client-commons").Response<{
26145
+ keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
26146
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26147
+ [x: string]: unknown;
26148
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26149
+ [x: string]: unknown;
26150
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26151
+ [x: string]: unknown;
26152
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26153
+ [x: string]: unknown;
26154
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
26155
+ [x: string]: unknown;
26156
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26157
+ [x: string]: unknown;
26158
+ }, 500, "application/json">>>;
26159
+ /** Validate a License's key for a project. */
26160
+ validateLicenseKeyForProject: (request: {
26161
+ data: {
26162
+ key: string;
26163
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
26164
+ };
26165
+ projectId: string;
26166
+ headers?: {
26167
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26168
+ "x-access-token"?: string | undefined;
26169
+ } | undefined;
26170
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26171
+ data: {
26172
+ key: string;
26173
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
26174
+ };
26175
+ } & {
26176
+ pathParameters: {
26177
+ projectId: string;
26178
+ };
26179
+ } & {
26180
+ headers?: Partial<{
26181
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26182
+ }>;
26183
+ } & {
26184
+ headers: {
26185
+ "x-access-token"?: string | undefined;
26186
+ } & Partial<{
26187
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26188
+ }>;
26189
+ }, import("@mittwald/api-client-commons").Response<{
26190
+ valid: boolean;
26191
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26192
+ [x: string]: unknown;
26193
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26194
+ [x: string]: unknown;
26195
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26196
+ [x: string]: unknown;
26197
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26198
+ [x: string]: unknown;
26199
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
26200
+ [x: string]: unknown;
26201
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26202
+ [x: string]: unknown;
26203
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26204
+ data: {
26205
+ key: string;
26206
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
26207
+ };
26208
+ } & {
26209
+ pathParameters: {
26210
+ projectId: string;
26211
+ };
26212
+ } & {
26213
+ headers?: Partial<{
26214
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26215
+ }>;
26216
+ } & {
26217
+ headers: {
26218
+ "x-access-token"?: string | undefined;
26219
+ } & Partial<{
26220
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26221
+ }>;
26222
+ }, import("@mittwald/api-client-commons").Response<{
26223
+ valid: boolean;
26224
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26225
+ [x: string]: unknown;
26226
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26227
+ [x: string]: unknown;
26228
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26229
+ [x: string]: unknown;
26230
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26231
+ [x: string]: unknown;
26232
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
26233
+ [x: string]: unknown;
26234
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26235
+ [x: string]: unknown;
26236
+ }, 500, "application/json">>>;
26237
+ };
25938
26238
  /** API endpoints that are not related to any specific API domain */
25939
26239
  readonly misc: {
25940
26240
  /** List valid time zones. */
@@ -29558,204 +29858,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29558
29858
  publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29559
29859
  updatedAt?: string | undefined;
29560
29860
  userName: string;
29561
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
29562
- [x: string]: unknown;
29563
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29564
- [x: string]: unknown;
29565
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29566
- [x: string]: unknown;
29567
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29568
- data: {
29569
- authentication: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserAuthentication;
29570
- description: string;
29571
- expiresAt?: string | undefined;
29572
- };
29573
- } & {
29574
- pathParameters: {
29575
- projectId: string;
29576
- };
29577
- } & {
29578
- headers?: Partial<{
29579
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29580
- }>;
29581
- } & {
29582
- headers: {
29583
- "x-access-token"?: string | undefined;
29584
- } & Partial<{
29585
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29586
- }>;
29587
- }, import("@mittwald/api-client-commons").Response<{
29588
- active?: boolean | undefined;
29589
- authUpdatedAt: string;
29590
- createdAt: string;
29591
- description: string;
29592
- expiresAt?: string | undefined;
29593
- hasPassword: boolean;
29594
- id: string;
29595
- projectId: string;
29596
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29597
- updatedAt?: string | undefined;
29598
- userName: string;
29599
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
29600
- [x: string]: unknown;
29601
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29602
- [x: string]: unknown;
29603
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29604
- [x: string]: unknown;
29605
- }, 429, "application/json">>>;
29606
- /** Get an SSHUser. */
29607
- sshUserGetSshUser: (request: {
29608
- sshUserId: string;
29609
- headers?: {
29610
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29611
- "x-access-token"?: string | undefined;
29612
- } | undefined;
29613
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29614
- headers?: Partial<{
29615
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29616
- }>;
29617
- } & {
29618
- pathParameters: {
29619
- sshUserId: string;
29620
- };
29621
- } & {
29622
- headers: {
29623
- "x-access-token"?: string | undefined;
29624
- } & Partial<{
29625
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29626
- }>;
29627
- }, import("@mittwald/api-client-commons").Response<{
29628
- active?: boolean | undefined;
29629
- authUpdatedAt: string;
29630
- createdAt: string;
29631
- description: string;
29632
- expiresAt?: string | undefined;
29633
- hasPassword: boolean;
29634
- id: string;
29635
- projectId: string;
29636
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29637
- updatedAt?: string | undefined;
29638
- userName: string;
29639
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29640
- [x: string]: unknown;
29641
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29642
- [x: string]: unknown;
29643
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29644
- [x: string]: unknown;
29645
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29646
- headers?: Partial<{
29647
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29648
- }>;
29649
- } & {
29650
- pathParameters: {
29651
- sshUserId: string;
29652
- };
29653
- } & {
29654
- headers: {
29655
- "x-access-token"?: string | undefined;
29656
- } & Partial<{
29657
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29658
- }>;
29659
- }, import("@mittwald/api-client-commons").Response<{
29660
- active?: boolean | undefined;
29661
- authUpdatedAt: string;
29662
- createdAt: string;
29663
- description: string;
29664
- expiresAt?: string | undefined;
29665
- hasPassword: boolean;
29666
- id: string;
29667
- projectId: string;
29668
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29669
- updatedAt?: string | undefined;
29670
- userName: string;
29671
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29672
- [x: string]: unknown;
29673
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29674
- [x: string]: unknown;
29675
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29676
- [x: string]: unknown;
29677
- }, 429, "application/json">>>;
29678
- /** Delete an SSHUser. */
29679
- sshUserDeleteSshUser: (request: {
29680
- sshUserId: string;
29681
- headers?: {
29682
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29683
- "x-access-token"?: string | undefined;
29684
- } | undefined;
29685
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29686
- headers?: Partial<{
29687
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29688
- }>;
29689
- } & {
29690
- pathParameters: {
29691
- sshUserId: string;
29692
- };
29693
- } & {
29694
- headers: {
29695
- "x-access-token"?: string | undefined;
29696
- } & Partial<{
29697
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29698
- }>;
29699
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29700
- [x: string]: unknown;
29701
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29702
- [x: string]: unknown;
29703
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29704
- headers?: Partial<{
29705
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29706
- }>;
29707
- } & {
29708
- pathParameters: {
29709
- sshUserId: string;
29710
- };
29711
- } & {
29712
- headers: {
29713
- "x-access-token"?: string | undefined;
29714
- } & Partial<{
29715
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29716
- }>;
29717
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29718
- [x: string]: unknown;
29719
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29720
- [x: string]: unknown;
29721
- }, 429, "application/json">>>;
29722
- /** Update an SSHUser. */
29723
- sshUserUpdateSshUser: (request: {
29724
- sshUserId: string;
29725
- data?: {
29726
- active?: boolean | undefined;
29727
- description?: string | undefined;
29728
- expiresAt?: string | undefined;
29729
- password?: string | undefined;
29730
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29731
- } | undefined;
29732
- headers?: {
29733
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29734
- "x-access-token"?: string | undefined;
29735
- } | undefined;
29736
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29737
- data: {
29738
- active?: boolean | undefined;
29739
- description?: string | undefined;
29740
- expiresAt?: string | undefined;
29741
- password?: string | undefined;
29742
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29743
- };
29744
- } & {
29745
- pathParameters: {
29746
- sshUserId: string;
29747
- };
29748
- } & {
29749
- headers?: Partial<{
29750
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29751
- }>;
29752
- } & {
29753
- headers: {
29754
- "x-access-token"?: string | undefined;
29755
- } & Partial<{
29756
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29757
- }>;
29758
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29861
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
29759
29862
  [x: string]: unknown;
29760
29863
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29761
29864
  [x: string]: unknown;
@@ -29763,15 +29866,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29763
29866
  [x: string]: unknown;
29764
29867
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29765
29868
  data: {
29766
- active?: boolean | undefined;
29767
- description?: string | undefined;
29869
+ authentication: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserAuthentication;
29870
+ description: string;
29768
29871
  expiresAt?: string | undefined;
29769
- password?: string | undefined;
29770
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29771
29872
  };
29772
29873
  } & {
29773
29874
  pathParameters: {
29774
- sshUserId: string;
29875
+ projectId: string;
29775
29876
  };
29776
29877
  } & {
29777
29878
  headers?: Partial<{
@@ -29783,19 +29884,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29783
29884
  } & Partial<{
29784
29885
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29785
29886
  }>;
29786
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29887
+ }, import("@mittwald/api-client-commons").Response<{
29888
+ active?: boolean | undefined;
29889
+ authUpdatedAt: string;
29890
+ createdAt: string;
29891
+ description: string;
29892
+ expiresAt?: string | undefined;
29893
+ hasPassword: boolean;
29894
+ id: string;
29895
+ projectId: string;
29896
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29897
+ updatedAt?: string | undefined;
29898
+ userName: string;
29899
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
29787
29900
  [x: string]: unknown;
29788
29901
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29789
29902
  [x: string]: unknown;
29790
29903
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29791
29904
  [x: string]: unknown;
29792
29905
  }, 429, "application/json">>>;
29793
- };
29794
- /** The license API allows you to manage your paid licenses. */
29795
- readonly license: {
29796
- /** Get a license. */
29797
- getLicense: (request: {
29798
- licenseId: string;
29906
+ /** Get an SSHUser. */
29907
+ sshUserGetSshUser: (request: {
29908
+ sshUserId: string;
29799
29909
  headers?: {
29800
29910
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29801
29911
  "x-access-token"?: string | undefined;
@@ -29806,7 +29916,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29806
29916
  }>;
29807
29917
  } & {
29808
29918
  pathParameters: {
29809
- licenseId: string;
29919
+ sshUserId: string;
29810
29920
  };
29811
29921
  } & {
29812
29922
  headers: {
@@ -29815,29 +29925,30 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29815
29925
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29816
29926
  }>;
29817
29927
  }, import("@mittwald/api-client-commons").Response<{
29928
+ active?: boolean | undefined;
29929
+ authUpdatedAt: string;
29930
+ createdAt: string;
29818
29931
  description: string;
29819
- expiryDate?: string | undefined;
29932
+ expiresAt?: string | undefined;
29933
+ hasPassword: boolean;
29820
29934
  id: string;
29821
- keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
29822
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
29823
- meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
29824
- reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
29825
- volume?: number | undefined;
29935
+ projectId: string;
29936
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29937
+ updatedAt?: string | undefined;
29938
+ userName: string;
29826
29939
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29827
29940
  [x: string]: unknown;
29828
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29829
- [x: string]: unknown;
29830
29941
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29831
29942
  [x: string]: unknown;
29832
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29943
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29833
29944
  [x: string]: unknown;
29834
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29945
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29835
29946
  headers?: Partial<{
29836
29947
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29837
29948
  }>;
29838
29949
  } & {
29839
29950
  pathParameters: {
29840
- licenseId: string;
29951
+ sshUserId: string;
29841
29952
  };
29842
29953
  } & {
29843
29954
  headers: {
@@ -29846,191 +29957,93 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29846
29957
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29847
29958
  }>;
29848
29959
  }, import("@mittwald/api-client-commons").Response<{
29960
+ active?: boolean | undefined;
29961
+ authUpdatedAt: string;
29962
+ createdAt: string;
29849
29963
  description: string;
29850
- expiryDate?: string | undefined;
29964
+ expiresAt?: string | undefined;
29965
+ hasPassword: boolean;
29851
29966
  id: string;
29852
- keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
29853
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
29854
- meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
29855
- reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
29856
- volume?: number | undefined;
29967
+ projectId: string;
29968
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29969
+ updatedAt?: string | undefined;
29970
+ userName: string;
29857
29971
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29858
29972
  [x: string]: unknown;
29859
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29860
- [x: string]: unknown;
29861
29973
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29862
29974
  [x: string]: unknown;
29863
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29975
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29864
29976
  [x: string]: unknown;
29865
- }, 500, "application/json">>>;
29866
- /** List Licenses belonging to a Project. */
29867
- listLicensesForProject: (request: {
29868
- projectId: string;
29977
+ }, 429, "application/json">>>;
29978
+ /** Delete an SSHUser. */
29979
+ sshUserDeleteSshUser: (request: {
29980
+ sshUserId: string;
29869
29981
  headers?: {
29870
29982
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29871
29983
  "x-access-token"?: string | undefined;
29872
29984
  } | undefined;
29873
- queryParameters?: {
29874
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29875
- limit?: number | undefined;
29876
- skip?: number | undefined;
29877
- page?: number | undefined;
29878
- } | undefined;
29879
29985
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29880
29986
  headers?: Partial<{
29881
29987
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29882
29988
  }>;
29883
29989
  } & {
29884
29990
  pathParameters: {
29885
- projectId: string;
29991
+ sshUserId: string;
29886
29992
  };
29887
- } & {
29888
- queryParameters: {
29889
- limit?: number | undefined;
29890
- skip?: number | undefined;
29891
- page?: number | undefined;
29892
- } & Partial<{
29893
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29894
- }>;
29895
29993
  } & {
29896
29994
  headers: {
29897
29995
  "x-access-token"?: string | undefined;
29898
29996
  } & Partial<{
29899
29997
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29900
29998
  }>;
29901
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29902
- [x: string]: unknown;
29903
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29999
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29904
30000
  [x: string]: unknown;
29905
30001
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29906
30002
  [x: string]: unknown;
29907
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29908
- [x: string]: unknown;
29909
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
30003
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29910
30004
  headers?: Partial<{
29911
30005
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29912
30006
  }>;
29913
30007
  } & {
29914
30008
  pathParameters: {
29915
- projectId: string;
30009
+ sshUserId: string;
29916
30010
  };
29917
- } & {
29918
- queryParameters: {
29919
- limit?: number | undefined;
29920
- skip?: number | undefined;
29921
- page?: number | undefined;
29922
- } & Partial<{
29923
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29924
- }>;
29925
30011
  } & {
29926
30012
  headers: {
29927
30013
  "x-access-token"?: string | undefined;
29928
30014
  } & Partial<{
29929
30015
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29930
30016
  }>;
29931
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29932
- [x: string]: unknown;
29933
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
30017
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29934
30018
  [x: string]: unknown;
29935
30019
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29936
30020
  [x: string]: unknown;
29937
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29938
- [x: string]: unknown;
29939
- }, 500, "application/json">>>;
29940
- /** rotate a License's key, i.e. revoke the old and generate a new one. */
29941
- rotateLicenseKey: (request: {
29942
- licenseId: string;
30021
+ }, 429, "application/json">>>;
30022
+ /** Update an SSHUser. */
30023
+ sshUserUpdateSshUser: (request: {
30024
+ sshUserId: string;
29943
30025
  data?: {
29944
- externalKey?: string | undefined;
29945
- } | undefined;
29946
- headers?: {
29947
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29948
- "x-access-token"?: string | undefined;
30026
+ active?: boolean | undefined;
30027
+ description?: string | undefined;
30028
+ expiresAt?: string | undefined;
30029
+ password?: string | undefined;
30030
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29949
30031
  } | undefined;
29950
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29951
- data: {
29952
- externalKey?: string | undefined;
29953
- };
29954
- } & {
29955
- pathParameters: {
29956
- licenseId: string;
29957
- };
29958
- } & {
29959
- headers?: Partial<{
29960
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29961
- }>;
29962
- } & {
29963
- headers: {
29964
- "x-access-token"?: string | undefined;
29965
- } & Partial<{
29966
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29967
- }>;
29968
- }, import("@mittwald/api-client-commons").Response<{
29969
- keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
29970
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29971
- [x: string]: unknown;
29972
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29973
- [x: string]: unknown;
29974
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29975
- [x: string]: unknown;
29976
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29977
- [x: string]: unknown;
29978
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
29979
- [x: string]: unknown;
29980
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29981
- [x: string]: unknown;
29982
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29983
- data: {
29984
- externalKey?: string | undefined;
29985
- };
29986
- } & {
29987
- pathParameters: {
29988
- licenseId: string;
29989
- };
29990
- } & {
29991
- headers?: Partial<{
29992
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29993
- }>;
29994
- } & {
29995
- headers: {
29996
- "x-access-token"?: string | undefined;
29997
- } & Partial<{
29998
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29999
- }>;
30000
- }, import("@mittwald/api-client-commons").Response<{
30001
- keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
30002
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
30003
- [x: string]: unknown;
30004
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
30005
- [x: string]: unknown;
30006
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
30007
- [x: string]: unknown;
30008
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
30009
- [x: string]: unknown;
30010
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
30011
- [x: string]: unknown;
30012
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
30013
- [x: string]: unknown;
30014
- }, 500, "application/json">>>;
30015
- /** Validate a License's key for a project. */
30016
- validateLicenseKeyForProject: (request: {
30017
- data: {
30018
- key: string;
30019
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
30020
- };
30021
- projectId: string;
30022
30032
  headers?: {
30023
30033
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
30024
30034
  "x-access-token"?: string | undefined;
30025
30035
  } | undefined;
30026
30036
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
30027
30037
  data: {
30028
- key: string;
30029
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
30038
+ active?: boolean | undefined;
30039
+ description?: string | undefined;
30040
+ expiresAt?: string | undefined;
30041
+ password?: string | undefined;
30042
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
30030
30043
  };
30031
30044
  } & {
30032
30045
  pathParameters: {
30033
- projectId: string;
30046
+ sshUserId: string;
30034
30047
  };
30035
30048
  } & {
30036
30049
  headers?: Partial<{
@@ -30042,28 +30055,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
30042
30055
  } & Partial<{
30043
30056
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
30044
30057
  }>;
30045
- }, import("@mittwald/api-client-commons").Response<{
30046
- valid: boolean;
30047
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
30058
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
30048
30059
  [x: string]: unknown;
30049
30060
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
30050
30061
  [x: string]: unknown;
30051
30062
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
30052
30063
  [x: string]: unknown;
30053
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
30054
- [x: string]: unknown;
30055
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
30056
- [x: string]: unknown;
30057
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
30058
- [x: string]: unknown;
30059
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
30064
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
30060
30065
  data: {
30061
- key: string;
30062
- kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
30066
+ active?: boolean | undefined;
30067
+ description?: string | undefined;
30068
+ expiresAt?: string | undefined;
30069
+ password?: string | undefined;
30070
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
30063
30071
  };
30064
30072
  } & {
30065
30073
  pathParameters: {
30066
- projectId: string;
30074
+ sshUserId: string;
30067
30075
  };
30068
30076
  } & {
30069
30077
  headers?: Partial<{
@@ -30075,21 +30083,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
30075
30083
  } & Partial<{
30076
30084
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
30077
30085
  }>;
30078
- }, import("@mittwald/api-client-commons").Response<{
30079
- valid: boolean;
30080
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
30086
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
30081
30087
  [x: string]: unknown;
30082
30088
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
30083
30089
  [x: string]: unknown;
30084
30090
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
30085
30091
  [x: string]: unknown;
30086
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
30087
- [x: string]: unknown;
30088
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
30089
- [x: string]: unknown;
30090
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
30091
- [x: string]: unknown;
30092
- }, 500, "application/json">>>;
30092
+ }, 429, "application/json">>>;
30093
30093
  };
30094
30094
  }
30095
30095
  export default MittwaldAPIV2Client;