@mittwald/api-client 4.326.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.
@@ -3245,11 +3245,16 @@ 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
- /** Update a Backup's expiration time. */
3249
- replaceProjectBackupExpirationTime: (request: {
3248
+ /** Restore a ProjectBackup. */
3249
+ requestProjectBackupRestoreV2Experimental: (request: {
3250
3250
  projectBackupId: string;
3251
3251
  data?: {
3252
- expirationTime?: string | undefined;
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;
3253
3258
  } | undefined;
3254
3259
  headers?: {
3255
3260
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -3257,7 +3262,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3257
3262
  } | undefined;
3258
3263
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
3259
3264
  data: {
3260
- expirationTime?: string | undefined;
3265
+ databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3266
+ pathRestore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest | undefined;
3261
3267
  };
3262
3268
  } & {
3263
3269
  pathParameters: {
@@ -3283,7 +3289,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3283
3289
  [x: string]: unknown;
3284
3290
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
3285
3291
  data: {
3286
- expirationTime?: string | undefined;
3292
+ databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3293
+ pathRestore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest | undefined;
3287
3294
  };
3288
3295
  } & {
3289
3296
  pathParameters: {
@@ -3308,16 +3315,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3308
3315
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
3309
3316
  [x: string]: unknown;
3310
3317
  }, 429, "application/json">>>;
3311
- /** Restore a ProjectBackup. */
3312
- requestProjectBackupRestoreV2Experimental: (request: {
3318
+ /** Change the description of a ProjectBackup. */
3319
+ updateProjectBackupDescription: (request: {
3313
3320
  projectBackupId: string;
3314
3321
  data?: {
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;
3322
+ description?: string | undefined;
3321
3323
  } | undefined;
3322
3324
  headers?: {
3323
3325
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -3325,8 +3327,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3325
3327
  } | undefined;
3326
3328
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
3327
3329
  data: {
3328
- databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3329
- pathRestore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest | undefined;
3330
+ description?: string | undefined;
3330
3331
  };
3331
3332
  } & {
3332
3333
  pathParameters: {
@@ -3352,8 +3353,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
3352
3353
  [x: string]: unknown;
3353
3354
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
3354
3355
  data: {
3355
- databaseRestores?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestoreDatabaseRequest[] | undefined;
3356
- pathRestore?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathRequest | undefined;
3356
+ description?: string | 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
- /** Change the description of a ProjectBackup. */
3382
- updateProjectBackupDescription: (request: {
3381
+ /** Update a Backup's expiration time. */
3382
+ replaceProjectBackupExpirationTime: (request: {
3383
3383
  projectBackupId: string;
3384
3384
  data?: {
3385
- description?: string | undefined;
3385
+ expirationTime?: 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
- description?: string | undefined;
3393
+ expirationTime?: 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
- description?: string | undefined;
3419
+ expirationTime?: string | undefined;
3420
3420
  };
3421
3421
  } & {
3422
3422
  pathParameters: {
@@ -4565,71 +4565,6 @@ 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">>>;
4633
4568
  /** List Services belonging to a Project. */
4634
4569
  listServices: (request: {
4635
4570
  projectId: string;
@@ -5165,86 +5100,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5165
5100
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5166
5101
  [x: string]: unknown;
5167
5102
  }, 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">>>;
5248
5103
  /** Start a stopped Service. */
5249
5104
  startService: (request: {
5250
5105
  stackId: string;
@@ -5503,16 +5358,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5503
5358
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5504
5359
  [x: string]: unknown;
5505
5360
  }, 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;
5361
+ /** Set an update schedule for a Stack. */
5362
+ setStackUpdateSchedule: (request: {
5363
+ stackId: string;
5513
5364
  data?: {
5514
- reason?: string | undefined;
5515
- terminationTargetDate?: string | undefined;
5365
+ updateSchedule?: {
5366
+ cron: string;
5367
+ timezone?: string | undefined;
5368
+ } | undefined;
5516
5369
  } | undefined;
5517
5370
  headers?: {
5518
5371
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -5520,13 +5373,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5520
5373
  } | undefined;
5521
5374
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5522
5375
  data: {
5523
- reason?: string | undefined;
5524
- terminationTargetDate?: string | undefined;
5376
+ updateSchedule?: {
5377
+ cron: string;
5378
+ timezone?: string;
5379
+ } | undefined;
5525
5380
  };
5526
5381
  } & {
5527
5382
  pathParameters: {
5528
- contractId: string;
5529
- contractItemId: string;
5383
+ stackId: string;
5530
5384
  };
5531
5385
  } & {
5532
5386
  headers?: Partial<{
@@ -5538,27 +5392,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5538
5392
  } & Partial<{
5539
5393
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5540
5394
  }>;
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<{
5395
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5548
5396
  [x: string]: unknown;
5549
5397
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5550
5398
  [x: string]: unknown;
5399
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5400
+ [x: string]: unknown;
5551
5401
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5552
5402
  [x: string]: unknown;
5553
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
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<{
5554
5408
  data: {
5555
- reason?: string | undefined;
5556
- terminationTargetDate?: string | undefined;
5409
+ updateSchedule?: {
5410
+ cron: string;
5411
+ timezone?: string;
5412
+ } | undefined;
5557
5413
  };
5558
5414
  } & {
5559
5415
  pathParameters: {
5560
- contractId: string;
5561
- contractItemId: string;
5416
+ stackId: string;
5562
5417
  };
5563
5418
  } & {
5564
5419
  headers?: Partial<{
@@ -5570,25 +5425,170 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5570
5425
  } & Partial<{
5571
5426
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5572
5427
  }>;
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<{
5428
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5580
5429
  [x: string]: unknown;
5581
5430
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5582
5431
  [x: string]: unknown;
5432
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5433
+ [x: string]: unknown;
5583
5434
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5584
5435
  [x: string]: unknown;
5585
- }, 429, "application/json">>>;
5586
- /** Cancel the Termination for the referred ContractItem. */
5587
- cancelContractItemTermination: (request: {
5588
- contractId: string;
5589
- contractItemId: string;
5590
- headers?: {
5591
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
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<{
5580
+ [x: string]: unknown;
5581
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5582
+ [x: string]: unknown;
5583
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5584
+ [x: string]: unknown;
5585
+ }, 429, "application/json">>>;
5586
+ /** Cancel the Termination for the referred ContractItem. */
5587
+ cancelContractItemTermination: (request: {
5588
+ contractId: string;
5589
+ contractItemId: string;
5590
+ headers?: {
5591
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5592
5592
  "x-access-token"?: string | undefined;
5593
5593
  } | undefined;
5594
5594
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -25935,105 +25935,59 @@ 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;
25938
+ /** API endpoints that are not related to any specific API domain */
25939
+ readonly misc: {
25940
+ /** List valid time zones. */
25941
+ ellaneousListTimeZones: (request?: {
25943
25942
  headers?: {
25944
25943
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
25945
25944
  "x-access-token"?: string | undefined;
25946
25945
  } | undefined;
25947
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25946
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25948
25947
  headers?: Partial<{
25949
25948
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25950
25949
  }>;
25951
- } & {
25952
- pathParameters: {
25953
- licenseId: string;
25954
- };
25955
25950
  } & {
25956
25951
  headers: {
25957
25952
  "x-access-token"?: string | undefined;
25958
25953
  } & Partial<{
25959
25954
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25960
25955
  }>;
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<{
25956
+ }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25977
25957
  [x: string]: unknown;
25978
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25958
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25979
25959
  headers?: Partial<{
25980
25960
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25981
25961
  }>;
25982
- } & {
25983
- pathParameters: {
25984
- licenseId: string;
25985
- };
25986
25962
  } & {
25987
25963
  headers: {
25988
25964
  "x-access-token"?: string | undefined;
25989
25965
  } & Partial<{
25990
25966
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
25991
25967
  }>;
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<{
25968
+ }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26008
25969
  [x: string]: unknown;
26009
- }, 500, "application/json">>>;
26010
- /** List Licenses belonging to a Project. */
26011
- listLicensesForProject: (request: {
26012
- projectId: string;
25970
+ }, 429, "application/json">>>;
25971
+ /** Obtain a service token. */
25972
+ servicetokenAuthenticateService: (request: {
25973
+ data: {
25974
+ secretAccessKey: string;
25975
+ };
25976
+ accessKeyId: string;
26013
25977
  headers?: {
26014
25978
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26015
25979
  "x-access-token"?: string | undefined;
26016
25980
  } | 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
25981
  }, 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
- }>;
25982
+ data: {
25983
+ secretAccessKey: string;
25984
+ };
26027
25985
  } & {
26028
25986
  pathParameters: {
26029
- projectId: string;
25987
+ accessKeyId: string;
26030
25988
  };
26031
25989
  } & {
26032
- queryParameters: {
26033
- limit?: number | undefined;
26034
- skip?: number | undefined;
26035
- page?: number | undefined;
26036
- } & Partial<{
25990
+ headers?: Partial<{
26037
25991
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26038
25992
  }>;
26039
25993
  } & {
@@ -26042,272 +25996,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26042
25996
  } & Partial<{
26043
25997
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26044
25998
  }>;
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<{
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<{
26311
26011
  [x: string]: unknown;
26312
26012
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26313
26013
  data: {
@@ -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;