@mittwald/api-client 4.324.0 → 4.326.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.
@@ -3245,16 +3245,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3245
3245
  }, 502, "application/json"> | import("@mittwald/api-client-commons").Response<{
3246
3246
  [x: string]: unknown;
3247
3247
  }, 503, "application/json">>>;
3248
- /** Restore a ProjectBackup. */
3249
- requestProjectBackupRestoreV2Experimental: (request: {
3248
+ /** Update a Backup's expiration time. */
3249
+ replaceProjectBackupExpirationTime: (request: {
3250
3250
  projectBackupId: string;
3251
3251
  data?: {
3252
- databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3253
- pathRestore?: {
3254
- sourcePaths: string[];
3255
- clearTargetPath?: boolean | undefined;
3256
- targetRestorePath?: string | undefined;
3257
- } | undefined;
3252
+ expirationTime?: string | undefined;
3258
3253
  } | undefined;
3259
3254
  headers?: {
3260
3255
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -3262,8 +3257,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3262
3257
  } | undefined;
3263
3258
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
3264
3259
  data: {
3265
- databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3266
- pathRestore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest | undefined;
3260
+ expirationTime?: string | undefined;
3267
3261
  };
3268
3262
  } & {
3269
3263
  pathParameters: {
@@ -3289,8 +3283,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3289
3283
  [x: string]: unknown;
3290
3284
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
3291
3285
  data: {
3292
- databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3293
- pathRestore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest | undefined;
3286
+ expirationTime?: string | undefined;
3294
3287
  };
3295
3288
  } & {
3296
3289
  pathParameters: {
@@ -3315,11 +3308,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3315
3308
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
3316
3309
  [x: string]: unknown;
3317
3310
  }, 429, "application/json">>>;
3318
- /** Change the description of a ProjectBackup. */
3319
- updateProjectBackupDescription: (request: {
3311
+ /** Restore a ProjectBackup. */
3312
+ requestProjectBackupRestoreV2Experimental: (request: {
3320
3313
  projectBackupId: string;
3321
3314
  data?: {
3322
- description?: string | undefined;
3315
+ databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3316
+ pathRestore?: {
3317
+ sourcePaths: string[];
3318
+ clearTargetPath?: boolean | undefined;
3319
+ targetRestorePath?: string | undefined;
3320
+ } | undefined;
3323
3321
  } | undefined;
3324
3322
  headers?: {
3325
3323
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -3327,7 +3325,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3327
3325
  } | undefined;
3328
3326
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
3329
3327
  data: {
3330
- description?: string | undefined;
3328
+ databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3329
+ pathRestore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest | undefined;
3331
3330
  };
3332
3331
  } & {
3333
3332
  pathParameters: {
@@ -3353,7 +3352,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3353
3352
  [x: string]: unknown;
3354
3353
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
3355
3354
  data: {
3356
- description?: string | undefined;
3355
+ databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3356
+ pathRestore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest | undefined;
3357
3357
  };
3358
3358
  } & {
3359
3359
  pathParameters: {
@@ -3378,11 +3378,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3378
3378
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
3379
3379
  [x: string]: unknown;
3380
3380
  }, 429, "application/json">>>;
3381
- /** Update a Backup's expiration time. */
3382
- replaceProjectBackupExpirationTime: (request: {
3381
+ /** Change the description of a ProjectBackup. */
3382
+ updateProjectBackupDescription: (request: {
3383
3383
  projectBackupId: string;
3384
3384
  data?: {
3385
- expirationTime?: string | undefined;
3385
+ description?: string | undefined;
3386
3386
  } | undefined;
3387
3387
  headers?: {
3388
3388
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -3390,7 +3390,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3390
3390
  } | undefined;
3391
3391
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
3392
3392
  data: {
3393
- expirationTime?: string | undefined;
3393
+ description?: string | undefined;
3394
3394
  };
3395
3395
  } & {
3396
3396
  pathParameters: {
@@ -3416,7 +3416,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3416
3416
  [x: string]: unknown;
3417
3417
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
3418
3418
  data: {
3419
- expirationTime?: string | undefined;
3419
+ description?: string | undefined;
3420
3420
  };
3421
3421
  } & {
3422
3422
  pathParameters: {
@@ -4565,6 +4565,71 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
4565
4565
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
4566
4566
  [x: string]: unknown;
4567
4567
  }, 500, "application/json">>>;
4568
+ /** List Stacks belonging to the executing user. */
4569
+ listSelfStacks: (request?: {
4570
+ headers?: {
4571
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4572
+ "x-access-token"?: string | undefined;
4573
+ } | undefined;
4574
+ queryParameters?: {
4575
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4576
+ limit?: number | undefined;
4577
+ skip?: number | undefined;
4578
+ page?: number | undefined;
4579
+ } | undefined;
4580
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
4581
+ headers?: Partial<{
4582
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4583
+ }>;
4584
+ } & {
4585
+ queryParameters: {
4586
+ limit?: number | undefined;
4587
+ skip?: number | undefined;
4588
+ page?: number | undefined;
4589
+ } & Partial<{
4590
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4591
+ }>;
4592
+ } & {
4593
+ headers: {
4594
+ "x-access-token"?: string | undefined;
4595
+ } & Partial<{
4596
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4597
+ }>;
4598
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
4599
+ [x: string]: unknown;
4600
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
4601
+ [x: string]: unknown;
4602
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
4603
+ [x: string]: unknown;
4604
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
4605
+ [x: string]: unknown;
4606
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4607
+ headers?: Partial<{
4608
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4609
+ }>;
4610
+ } & {
4611
+ queryParameters: {
4612
+ limit?: number | undefined;
4613
+ skip?: number | undefined;
4614
+ page?: number | undefined;
4615
+ } & Partial<{
4616
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4617
+ }>;
4618
+ } & {
4619
+ headers: {
4620
+ "x-access-token"?: string | undefined;
4621
+ } & Partial<{
4622
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4623
+ }>;
4624
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
4625
+ [x: string]: unknown;
4626
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
4627
+ [x: string]: unknown;
4628
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
4629
+ [x: string]: unknown;
4630
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
4631
+ [x: string]: unknown;
4632
+ }, 500, "application/json">>>;
4568
4633
  /** List Services belonging to a Project. */
4569
4634
  listServices: (request: {
4570
4635
  projectId: string;
@@ -5100,6 +5165,86 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5100
5165
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5101
5166
  [x: string]: unknown;
5102
5167
  }, 500, "application/json">>>;
5168
+ /** Set an update schedule for a Stack. */
5169
+ setStackUpdateSchedule: (request: {
5170
+ stackId: string;
5171
+ data?: {
5172
+ updateSchedule?: {
5173
+ cron: string;
5174
+ timezone?: string | undefined;
5175
+ } | undefined;
5176
+ } | undefined;
5177
+ headers?: {
5178
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5179
+ "x-access-token"?: string | undefined;
5180
+ } | undefined;
5181
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5182
+ data: {
5183
+ updateSchedule?: {
5184
+ cron: string;
5185
+ timezone?: string;
5186
+ } | undefined;
5187
+ };
5188
+ } & {
5189
+ pathParameters: {
5190
+ stackId: string;
5191
+ };
5192
+ } & {
5193
+ headers?: Partial<{
5194
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5195
+ }>;
5196
+ } & {
5197
+ headers: {
5198
+ "x-access-token"?: string | undefined;
5199
+ } & Partial<{
5200
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5201
+ }>;
5202
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5203
+ [x: string]: unknown;
5204
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5205
+ [x: string]: unknown;
5206
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5207
+ [x: string]: unknown;
5208
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5209
+ [x: string]: unknown;
5210
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
5211
+ [x: string]: unknown;
5212
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5213
+ [x: string]: unknown;
5214
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5215
+ data: {
5216
+ updateSchedule?: {
5217
+ cron: string;
5218
+ timezone?: string;
5219
+ } | undefined;
5220
+ };
5221
+ } & {
5222
+ pathParameters: {
5223
+ stackId: string;
5224
+ };
5225
+ } & {
5226
+ headers?: Partial<{
5227
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5228
+ }>;
5229
+ } & {
5230
+ headers: {
5231
+ "x-access-token"?: string | undefined;
5232
+ } & Partial<{
5233
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5234
+ }>;
5235
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5236
+ [x: string]: unknown;
5237
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5238
+ [x: string]: unknown;
5239
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5240
+ [x: string]: unknown;
5241
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5242
+ [x: string]: unknown;
5243
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
5244
+ [x: string]: unknown;
5245
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5246
+ [x: string]: unknown;
5247
+ }, 500, "application/json">>>;
5103
5248
  /** Start a stopped Service. */
5104
5249
  startService: (request: {
5105
5250
  stackId: string;
@@ -5358,14 +5503,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5358
5503
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5359
5504
  [x: string]: unknown;
5360
5505
  }, 500, "application/json">>>;
5361
- /** Set an update schedule for a Stack. */
5362
- setStackUpdateSchedule: (request: {
5363
- stackId: string;
5506
+ };
5507
+ /** The contract API allows you to manage your contracts and orders */
5508
+ readonly contract: {
5509
+ /** Schedule the Termination of a ContractItem. */
5510
+ terminateContractItem: (request: {
5511
+ contractId: string;
5512
+ contractItemId: string;
5364
5513
  data?: {
5365
- updateSchedule?: {
5366
- cron: string;
5367
- timezone?: string | undefined;
5368
- } | undefined;
5514
+ reason?: string | undefined;
5515
+ terminationTargetDate?: string | undefined;
5369
5516
  } | undefined;
5370
5517
  headers?: {
5371
5518
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -5373,14 +5520,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5373
5520
  } | undefined;
5374
5521
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5375
5522
  data: {
5376
- updateSchedule?: {
5377
- cron: string;
5378
- timezone?: string;
5379
- } | undefined;
5523
+ reason?: string | undefined;
5524
+ terminationTargetDate?: string | undefined;
5380
5525
  };
5381
5526
  } & {
5382
5527
  pathParameters: {
5383
- stackId: string;
5528
+ contractId: string;
5529
+ contractItemId: string;
5384
5530
  };
5385
5531
  } & {
5386
5532
  headers?: Partial<{
@@ -5392,28 +5538,27 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5392
5538
  } & Partial<{
5393
5539
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5394
5540
  }>;
5395
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5541
+ }, import("@mittwald/api-client-commons").Response<{
5542
+ contractId?: string | undefined;
5543
+ contractItemId?: string | undefined;
5544
+ explanation?: string | undefined;
5545
+ reason?: string | undefined;
5546
+ terminationTargetDate?: string | undefined;
5547
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
5396
5548
  [x: string]: unknown;
5397
5549
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5398
5550
  [x: string]: unknown;
5399
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5400
- [x: string]: unknown;
5401
5551
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5402
5552
  [x: string]: unknown;
5403
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
5404
- [x: string]: unknown;
5405
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5406
- [x: string]: unknown;
5407
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5553
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5408
5554
  data: {
5409
- updateSchedule?: {
5410
- cron: string;
5411
- timezone?: string;
5412
- } | undefined;
5555
+ reason?: string | undefined;
5556
+ terminationTargetDate?: string | undefined;
5413
5557
  };
5414
5558
  } & {
5415
5559
  pathParameters: {
5416
- stackId: string;
5560
+ contractId: string;
5561
+ contractItemId: string;
5417
5562
  };
5418
5563
  } & {
5419
5564
  headers?: Partial<{
@@ -5425,158 +5570,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5425
5570
  } & Partial<{
5426
5571
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5427
5572
  }>;
5428
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5429
- [x: string]: unknown;
5430
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5431
- [x: string]: unknown;
5432
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5433
- [x: string]: unknown;
5434
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5435
- [x: string]: unknown;
5436
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
5437
- [x: string]: unknown;
5438
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5439
- [x: string]: unknown;
5440
- }, 500, "application/json">>>;
5441
- /** List Stacks belonging to the executing user. */
5442
- listSelfStacks: (request?: {
5443
- headers?: {
5444
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5445
- "x-access-token"?: string | undefined;
5446
- } | undefined;
5447
- queryParameters?: {
5448
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5449
- limit?: number | undefined;
5450
- skip?: number | undefined;
5451
- page?: number | undefined;
5452
- } | undefined;
5453
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5454
- headers?: Partial<{
5455
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5456
- }>;
5457
- } & {
5458
- queryParameters: {
5459
- limit?: number | undefined;
5460
- skip?: number | undefined;
5461
- page?: number | undefined;
5462
- } & Partial<{
5463
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5464
- }>;
5465
- } & {
5466
- headers: {
5467
- "x-access-token"?: string | undefined;
5468
- } & Partial<{
5469
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5470
- }>;
5471
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5472
- [x: string]: unknown;
5473
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5474
- [x: string]: unknown;
5475
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5476
- [x: string]: unknown;
5477
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5478
- [x: string]: unknown;
5479
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5480
- headers?: Partial<{
5481
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5482
- }>;
5483
- } & {
5484
- queryParameters: {
5485
- limit?: number | undefined;
5486
- skip?: number | undefined;
5487
- page?: number | undefined;
5488
- } & Partial<{
5489
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5490
- }>;
5491
- } & {
5492
- headers: {
5493
- "x-access-token"?: string | undefined;
5494
- } & Partial<{
5495
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5496
- }>;
5497
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5498
- [x: string]: unknown;
5499
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5500
- [x: string]: unknown;
5501
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5502
- [x: string]: unknown;
5503
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5504
- [x: string]: unknown;
5505
- }, 500, "application/json">>>;
5506
- };
5507
- /** The contract API allows you to manage your contracts and orders */
5508
- readonly contract: {
5509
- /** Schedule the Termination of a ContractItem. */
5510
- terminateContractItem: (request: {
5511
- contractId: string;
5512
- contractItemId: string;
5513
- data?: {
5514
- reason?: string | undefined;
5515
- terminationTargetDate?: string | undefined;
5516
- } | undefined;
5517
- headers?: {
5518
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5519
- "x-access-token"?: string | undefined;
5520
- } | undefined;
5521
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5522
- data: {
5523
- reason?: string | undefined;
5524
- terminationTargetDate?: string | undefined;
5525
- };
5526
- } & {
5527
- pathParameters: {
5528
- contractId: string;
5529
- contractItemId: string;
5530
- };
5531
- } & {
5532
- headers?: Partial<{
5533
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5534
- }>;
5535
- } & {
5536
- headers: {
5537
- "x-access-token"?: string | undefined;
5538
- } & Partial<{
5539
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5540
- }>;
5541
- }, import("@mittwald/api-client-commons").Response<{
5542
- contractId?: string | undefined;
5543
- contractItemId?: string | undefined;
5544
- explanation?: string | undefined;
5545
- reason?: string | undefined;
5546
- terminationTargetDate?: string | undefined;
5547
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
5548
- [x: string]: unknown;
5549
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5550
- [x: string]: unknown;
5551
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5552
- [x: string]: unknown;
5553
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5554
- data: {
5555
- reason?: string | undefined;
5556
- terminationTargetDate?: string | undefined;
5557
- };
5558
- } & {
5559
- pathParameters: {
5560
- contractId: string;
5561
- contractItemId: string;
5562
- };
5563
- } & {
5564
- headers?: Partial<{
5565
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5566
- }>;
5567
- } & {
5568
- headers: {
5569
- "x-access-token"?: string | undefined;
5570
- } & Partial<{
5571
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5572
- }>;
5573
- }, import("@mittwald/api-client-commons").Response<{
5574
- contractId?: string | undefined;
5575
- contractItemId?: string | undefined;
5576
- explanation?: string | undefined;
5577
- reason?: string | undefined;
5578
- terminationTargetDate?: string | undefined;
5579
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
5573
+ }, import("@mittwald/api-client-commons").Response<{
5574
+ contractId?: string | undefined;
5575
+ contractItemId?: string | undefined;
5576
+ explanation?: string | undefined;
5577
+ reason?: string | undefined;
5578
+ terminationTargetDate?: string | undefined;
5579
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
5580
5580
  [x: string]: unknown;
5581
5581
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5582
5582
  [x: string]: unknown;
@@ -25935,90 +25935,105 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25935
25935
  [x: string]: unknown;
25936
25936
  }, 429, "application/json">>>;
25937
25937
  };
25938
- /** API endpoints that are not related to any specific API domain */
25939
- readonly misc: {
25940
- /** List valid time zones. */
25941
- ellaneousListTimeZones: (request?: {
25938
+ /** The license API allows you to manage your paid licenses. */
25939
+ readonly license: {
25940
+ /** Get a license. */
25941
+ getLicense: (request: {
25942
+ licenseId: string;
25942
25943
  headers?: {
25943
25944
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
25944
25945
  "x-access-token"?: string | undefined;
25945
25946
  } | undefined;
25946
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25947
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25947
25948
  headers?: Partial<{
25948
25949
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25949
25950
  }>;
25951
+ } & {
25952
+ pathParameters: {
25953
+ licenseId: string;
25954
+ };
25950
25955
  } & {
25951
25956
  headers: {
25952
25957
  "x-access-token"?: string | undefined;
25953
25958
  } & Partial<{
25954
25959
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25955
25960
  }>;
25956
- }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
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<{
25957
25971
  [x: string]: unknown;
25958
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
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<{
25959
25979
  headers?: Partial<{
25960
25980
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25961
25981
  }>;
25982
+ } & {
25983
+ pathParameters: {
25984
+ licenseId: string;
25985
+ };
25962
25986
  } & {
25963
25987
  headers: {
25964
25988
  "x-access-token"?: string | undefined;
25965
25989
  } & Partial<{
25966
25990
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25967
25991
  }>;
25968
- }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
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<{
25969
26002
  [x: string]: unknown;
25970
- }, 429, "application/json">>>;
25971
- /** Obtain a service token. */
25972
- servicetokenAuthenticateService: (request: {
25973
- data: {
25974
- secretAccessKey: string;
25975
- };
25976
- accessKeyId: string;
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;
25977
26013
  headers?: {
25978
26014
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
25979
26015
  "x-access-token"?: string | undefined;
25980
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;
25981
26023
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25982
- data: {
25983
- secretAccessKey: string;
25984
- };
25985
- } & {
25986
- pathParameters: {
25987
- accessKeyId: string;
25988
- };
25989
- } & {
25990
26024
  headers?: Partial<{
25991
26025
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25992
26026
  }>;
25993
- } & {
25994
- headers: {
25995
- "x-access-token"?: string | undefined;
25996
- } & Partial<{
25997
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25998
- }>;
25999
- }, import("@mittwald/api-client-commons").Response<{
26000
- accessToken: {
26001
- id: string;
26002
- jwtClaims: {
26003
- exp: string;
26004
- iat: string;
26005
- iss: string;
26006
- sub: string;
26007
- };
26008
- publicToken: string;
26009
- };
26010
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26011
- [x: string]: unknown;
26012
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26013
- data: {
26014
- secretAccessKey: string;
26015
- };
26016
26027
  } & {
26017
26028
  pathParameters: {
26018
- accessKeyId: string;
26029
+ projectId: string;
26019
26030
  };
26020
26031
  } & {
26021
- headers?: Partial<{
26032
+ queryParameters: {
26033
+ limit?: number | undefined;
26034
+ skip?: number | undefined;
26035
+ page?: number | undefined;
26036
+ } & Partial<{
26022
26037
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26023
26038
  }>;
26024
26039
  } & {
@@ -26027,9 +26042,294 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26027
26042
  } & Partial<{
26028
26043
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26029
26044
  }>;
26030
- }, import("@mittwald/api-client-commons").Response<{
26031
- accessToken: {
26032
- id: string;
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
+ /** API endpoints that are not related to any specific API domain */
26239
+ readonly misc: {
26240
+ /** List valid time zones. */
26241
+ ellaneousListTimeZones: (request?: {
26242
+ headers?: {
26243
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26244
+ "x-access-token"?: string | undefined;
26245
+ } | undefined;
26246
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26247
+ headers?: Partial<{
26248
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26249
+ }>;
26250
+ } & {
26251
+ headers: {
26252
+ "x-access-token"?: string | undefined;
26253
+ } & Partial<{
26254
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26255
+ }>;
26256
+ }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26257
+ [x: string]: unknown;
26258
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26259
+ headers?: Partial<{
26260
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26261
+ }>;
26262
+ } & {
26263
+ headers: {
26264
+ "x-access-token"?: string | undefined;
26265
+ } & Partial<{
26266
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26267
+ }>;
26268
+ }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26269
+ [x: string]: unknown;
26270
+ }, 429, "application/json">>>;
26271
+ /** Obtain a service token. */
26272
+ servicetokenAuthenticateService: (request: {
26273
+ data: {
26274
+ secretAccessKey: string;
26275
+ };
26276
+ accessKeyId: string;
26277
+ headers?: {
26278
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26279
+ "x-access-token"?: string | undefined;
26280
+ } | undefined;
26281
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26282
+ data: {
26283
+ secretAccessKey: string;
26284
+ };
26285
+ } & {
26286
+ pathParameters: {
26287
+ accessKeyId: string;
26288
+ };
26289
+ } & {
26290
+ headers?: Partial<{
26291
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26292
+ }>;
26293
+ } & {
26294
+ headers: {
26295
+ "x-access-token"?: string | undefined;
26296
+ } & Partial<{
26297
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26298
+ }>;
26299
+ }, import("@mittwald/api-client-commons").Response<{
26300
+ accessToken: {
26301
+ id: string;
26302
+ jwtClaims: {
26303
+ exp: string;
26304
+ iat: string;
26305
+ iss: string;
26306
+ sub: string;
26307
+ };
26308
+ publicToken: string;
26309
+ };
26310
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26311
+ [x: string]: unknown;
26312
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26313
+ data: {
26314
+ secretAccessKey: string;
26315
+ };
26316
+ } & {
26317
+ pathParameters: {
26318
+ accessKeyId: string;
26319
+ };
26320
+ } & {
26321
+ headers?: Partial<{
26322
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26323
+ }>;
26324
+ } & {
26325
+ headers: {
26326
+ "x-access-token"?: string | undefined;
26327
+ } & Partial<{
26328
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26329
+ }>;
26330
+ }, import("@mittwald/api-client-commons").Response<{
26331
+ accessToken: {
26332
+ id: string;
26033
26333
  jwtClaims: {
26034
26334
  exp: string;
26035
26335
  iat: string;
@@ -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;