@mittwald/api-client 4.325.0 → 4.327.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,306 +25935,6 @@ 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
- };
26238
25938
  /** API endpoints that are not related to any specific API domain */
26239
25939
  readonly misc: {
26240
25940
  /** List valid time zones. */
@@ -29866,13 +29566,212 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29866
29566
  [x: string]: unknown;
29867
29567
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29868
29568
  data: {
29869
- authentication: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserAuthentication;
29870
- description: string;
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<{
29759
+ [x: string]: unknown;
29760
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29761
+ [x: string]: unknown;
29762
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29763
+ [x: string]: unknown;
29764
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29765
+ data: {
29766
+ active?: boolean | undefined;
29767
+ description?: string | undefined;
29871
29768
  expiresAt?: string | undefined;
29769
+ password?: string | undefined;
29770
+ publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29872
29771
  };
29873
29772
  } & {
29874
29773
  pathParameters: {
29875
- projectId: string;
29774
+ sshUserId: string;
29876
29775
  };
29877
29776
  } & {
29878
29777
  headers?: Partial<{
@@ -29884,28 +29783,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29884
29783
  } & Partial<{
29885
29784
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29886
29785
  }>;
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<{
29786
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
29900
29787
  [x: string]: unknown;
29901
29788
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29902
29789
  [x: string]: unknown;
29903
29790
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29904
29791
  [x: string]: unknown;
29905
29792
  }, 429, "application/json">>>;
29906
- /** Get an SSHUser. */
29907
- sshUserGetSshUser: (request: {
29908
- sshUserId: string;
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;
29909
29799
  headers?: {
29910
29800
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29911
29801
  "x-access-token"?: string | undefined;
@@ -29916,7 +29806,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29916
29806
  }>;
29917
29807
  } & {
29918
29808
  pathParameters: {
29919
- sshUserId: string;
29809
+ licenseId: string;
29920
29810
  };
29921
29811
  } & {
29922
29812
  headers: {
@@ -29925,30 +29815,29 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29925
29815
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29926
29816
  }>;
29927
29817
  }, import("@mittwald/api-client-commons").Response<{
29928
- active?: boolean | undefined;
29929
- authUpdatedAt: string;
29930
- createdAt: string;
29931
29818
  description: string;
29932
- expiresAt?: string | undefined;
29933
- hasPassword: boolean;
29819
+ expiryDate?: string | undefined;
29934
29820
  id: string;
29935
- projectId: string;
29936
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29937
- updatedAt?: string | undefined;
29938
- userName: 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;
29939
29826
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29940
29827
  [x: string]: unknown;
29828
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29829
+ [x: string]: unknown;
29941
29830
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29942
29831
  [x: string]: unknown;
29943
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29832
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29944
29833
  [x: string]: unknown;
29945
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29834
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29946
29835
  headers?: Partial<{
29947
29836
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29948
29837
  }>;
29949
29838
  } & {
29950
29839
  pathParameters: {
29951
- sshUserId: string;
29840
+ licenseId: string;
29952
29841
  };
29953
29842
  } & {
29954
29843
  headers: {
@@ -29957,77 +29846,102 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29957
29846
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29958
29847
  }>;
29959
29848
  }, import("@mittwald/api-client-commons").Response<{
29960
- active?: boolean | undefined;
29961
- authUpdatedAt: string;
29962
- createdAt: string;
29963
29849
  description: string;
29964
- expiresAt?: string | undefined;
29965
- hasPassword: boolean;
29850
+ expiryDate?: string | undefined;
29966
29851
  id: string;
29967
- projectId: string;
29968
- publicKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserPublicKey[] | undefined;
29969
- updatedAt?: string | undefined;
29970
- userName: 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;
29971
29857
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29972
29858
  [x: string]: unknown;
29859
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29860
+ [x: string]: unknown;
29973
29861
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29974
29862
  [x: string]: unknown;
29975
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29863
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29976
29864
  [x: string]: unknown;
29977
- }, 429, "application/json">>>;
29978
- /** Delete an SSHUser. */
29979
- sshUserDeleteSshUser: (request: {
29980
- sshUserId: string;
29865
+ }, 500, "application/json">>>;
29866
+ /** List Licenses belonging to a Project. */
29867
+ listLicensesForProject: (request: {
29868
+ projectId: string;
29981
29869
  headers?: {
29982
29870
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29983
29871
  "x-access-token"?: string | undefined;
29984
29872
  } | 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;
29985
29879
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29986
29880
  headers?: Partial<{
29987
29881
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29988
29882
  }>;
29989
29883
  } & {
29990
29884
  pathParameters: {
29991
- sshUserId: string;
29885
+ projectId: string;
29992
29886
  };
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
+ }>;
29993
29895
  } & {
29994
29896
  headers: {
29995
29897
  "x-access-token"?: string | undefined;
29996
29898
  } & Partial<{
29997
29899
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29998
29900
  }>;
29999
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
30000
29904
  [x: string]: unknown;
30001
29905
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
30002
29906
  [x: string]: unknown;
30003
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
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<{
30004
29910
  headers?: Partial<{
30005
29911
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
30006
29912
  }>;
30007
29913
  } & {
30008
29914
  pathParameters: {
30009
- sshUserId: string;
29915
+ projectId: string;
30010
29916
  };
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
+ }>;
30011
29925
  } & {
30012
29926
  headers: {
30013
29927
  "x-access-token"?: string | undefined;
30014
29928
  } & Partial<{
30015
29929
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
30016
29930
  }>;
30017
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
30018
29934
  [x: string]: unknown;
30019
29935
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
30020
29936
  [x: string]: unknown;
30021
- }, 429, "application/json">>>;
30022
- /** Update an SSHUser. */
30023
- sshUserUpdateSshUser: (request: {
30024
- sshUserId: string;
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;
30025
29943
  data?: {
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;
29944
+ externalKey?: string | undefined;
30031
29945
  } | undefined;
30032
29946
  headers?: {
30033
29947
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -30035,15 +29949,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
30035
29949
  } | undefined;
30036
29950
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
30037
29951
  data: {
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;
29952
+ externalKey?: string | undefined;
30043
29953
  };
30044
29954
  } & {
30045
29955
  pathParameters: {
30046
- sshUserId: string;
29956
+ licenseId: string;
30047
29957
  };
30048
29958
  } & {
30049
29959
  headers?: Partial<{
@@ -30055,23 +29965,27 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
30055
29965
  } & Partial<{
30056
29966
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
30057
29967
  }>;
30058
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
30059
29971
  [x: string]: unknown;
30060
29972
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
30061
29973
  [x: string]: unknown;
30062
29974
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
30063
29975
  [x: string]: unknown;
30064
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
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<{
30065
29983
  data: {
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;
29984
+ externalKey?: string | undefined;
30071
29985
  };
30072
29986
  } & {
30073
29987
  pathParameters: {
30074
- sshUserId: string;
29988
+ licenseId: string;
30075
29989
  };
30076
29990
  } & {
30077
29991
  headers?: Partial<{
@@ -30083,13 +29997,99 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
30083
29997
  } & Partial<{
30084
29998
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
30085
29999
  }>;
30086
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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<{
30087
30003
  [x: string]: unknown;
30088
30004
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
30089
30005
  [x: string]: unknown;
30090
30006
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
30091
30007
  [x: string]: unknown;
30092
- }, 429, "application/json">>>;
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
+ headers?: {
30023
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
30024
+ "x-access-token"?: string | undefined;
30025
+ } | undefined;
30026
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
30027
+ data: {
30028
+ key: string;
30029
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
30030
+ };
30031
+ } & {
30032
+ pathParameters: {
30033
+ projectId: string;
30034
+ };
30035
+ } & {
30036
+ headers?: Partial<{
30037
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
30038
+ }>;
30039
+ } & {
30040
+ headers: {
30041
+ "x-access-token"?: string | undefined;
30042
+ } & Partial<{
30043
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
30044
+ }>;
30045
+ }, import("@mittwald/api-client-commons").Response<{
30046
+ valid: boolean;
30047
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
30048
+ [x: string]: unknown;
30049
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
30050
+ [x: string]: unknown;
30051
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
30052
+ [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<{
30060
+ data: {
30061
+ key: string;
30062
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
30063
+ };
30064
+ } & {
30065
+ pathParameters: {
30066
+ projectId: string;
30067
+ };
30068
+ } & {
30069
+ headers?: Partial<{
30070
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
30071
+ }>;
30072
+ } & {
30073
+ headers: {
30074
+ "x-access-token"?: string | undefined;
30075
+ } & Partial<{
30076
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
30077
+ }>;
30078
+ }, import("@mittwald/api-client-commons").Response<{
30079
+ valid: boolean;
30080
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
30081
+ [x: string]: unknown;
30082
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
30083
+ [x: string]: unknown;
30084
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
30085
+ [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">>>;
30093
30093
  };
30094
30094
  }
30095
30095
  export default MittwaldAPIV2Client;