@openmeter/sdk 1.0.0-beta-c1e8d239b496 → 1.0.0-beta-4e69a68d929f

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.
@@ -1374,6 +1374,60 @@ export interface paths {
1374
1374
  patch?: never;
1375
1375
  trace?: never;
1376
1376
  };
1377
+ '/api/v1/plans/{planId}/addons': {
1378
+ parameters: {
1379
+ query?: never;
1380
+ header?: never;
1381
+ path?: never;
1382
+ cookie?: never;
1383
+ };
1384
+ /**
1385
+ * List all available add-ons for plan
1386
+ * @description List all available add-ons for plan.
1387
+ */
1388
+ get: operations['listPlanAddons'];
1389
+ put?: never;
1390
+ /**
1391
+ * Create new add-on assignment for plan
1392
+ * @description Create new add-on assignment for plan.
1393
+ */
1394
+ post: operations['createPlanAddon'];
1395
+ delete?: never;
1396
+ options?: never;
1397
+ head?: never;
1398
+ patch?: never;
1399
+ trace?: never;
1400
+ };
1401
+ '/api/v1/plans/{planId}/addons/{planAddonId}': {
1402
+ parameters: {
1403
+ query?: never;
1404
+ header?: never;
1405
+ path?: never;
1406
+ cookie?: never;
1407
+ };
1408
+ /**
1409
+ * Get add-on assignment for plan
1410
+ * @description Get add-on assignment for plan by id.
1411
+ */
1412
+ get: operations['getPlanAddon'];
1413
+ /**
1414
+ * Update add-on assignment for plan
1415
+ * @description Update add-on assignment for plan.
1416
+ */
1417
+ put: operations['updatePlanAddon'];
1418
+ post?: never;
1419
+ /**
1420
+ * Delete add-on assignment for plan
1421
+ * @description Delete add-on assignment for plan.
1422
+ *
1423
+ * Once a plan is deleted it cannot be undeleted.
1424
+ */
1425
+ delete: operations['deletePlanAddon'];
1426
+ options?: never;
1427
+ head?: never;
1428
+ patch?: never;
1429
+ trace?: never;
1430
+ };
1377
1431
  '/api/v1/plans/{planId}/archive': {
1378
1432
  parameters: {
1379
1433
  query?: never;
@@ -7002,6 +7056,153 @@ export interface components {
7002
7056
  */
7003
7057
  phases: components['schemas']['PlanPhase'][];
7004
7058
  };
7059
+ /** @description The AddonAssignment describes the association between a plan and add-on. */
7060
+ PlanAddon: {
7061
+ /**
7062
+ * Creation Time
7063
+ * Format: date-time
7064
+ * @description Timestamp of when the resource was created.
7065
+ * @example 2024-01-01T01:01:01.001Z
7066
+ */
7067
+ readonly createdAt: Date;
7068
+ /**
7069
+ * Last Update Time
7070
+ * Format: date-time
7071
+ * @description Timestamp of when the resource was last updated.
7072
+ * @example 2024-01-01T01:01:01.001Z
7073
+ */
7074
+ readonly updatedAt: Date;
7075
+ /**
7076
+ * Deletion Time
7077
+ * Format: date-time
7078
+ * @description Timestamp of when the resource was permanently deleted.
7079
+ * @example 2024-01-01T01:01:01.001Z
7080
+ */
7081
+ readonly deletedAt?: Date;
7082
+ /**
7083
+ * Addon
7084
+ * @description Partially populated add-on properties.
7085
+ */
7086
+ addon: {
7087
+ /**
7088
+ * ID
7089
+ * @description The ID of the add-on.
7090
+ * @example 01G65Z755AFWAKHE12NY0CQ9FH
7091
+ */
7092
+ id: string;
7093
+ /**
7094
+ * Key
7095
+ * @description A semi-unique identifier for the resource.
7096
+ */
7097
+ readonly key: string;
7098
+ /**
7099
+ * Version
7100
+ * @description The version of the Add-on which templates this instance.
7101
+ * @default 1
7102
+ */
7103
+ readonly version: number;
7104
+ /**
7105
+ * InstanceType
7106
+ * @description The instance type of the add-on.
7107
+ */
7108
+ readonly instanceType: components['schemas']['AddonInstanceType'];
7109
+ };
7110
+ /**
7111
+ * The plan phase from the add-on becomes purchasable
7112
+ * @description The key of the plan phase from the add-on becomes available for purchase.
7113
+ */
7114
+ fromPlanPhase: string;
7115
+ /**
7116
+ * Max quantity of the add-on
7117
+ * @description The maximum number of times the add-on can be purchased for the plan.
7118
+ * It is not applicable for add-ons with single instance type.
7119
+ */
7120
+ maxQuantity?: number;
7121
+ };
7122
+ /** @description Resource create operation model. */
7123
+ PlanAddonCreate: {
7124
+ /**
7125
+ * Addon
7126
+ * @description Partially populated add-on properties.
7127
+ */
7128
+ addon: {
7129
+ /**
7130
+ * ID
7131
+ * @description The ID of the add-on.
7132
+ * @example 01G65Z755AFWAKHE12NY0CQ9FH
7133
+ */
7134
+ id: string;
7135
+ /**
7136
+ * Key
7137
+ * @description A semi-unique identifier for the resource.
7138
+ */
7139
+ readonly key: string;
7140
+ /**
7141
+ * Version
7142
+ * @description The version of the Add-on which templates this instance.
7143
+ * @default 1
7144
+ */
7145
+ readonly version: number;
7146
+ /**
7147
+ * InstanceType
7148
+ * @description The instance type of the add-on.
7149
+ */
7150
+ readonly instanceType: components['schemas']['AddonInstanceType'];
7151
+ };
7152
+ /**
7153
+ * The plan phase from the add-on becomes purchasable
7154
+ * @description The key of the plan phase from the add-on becomes available for purchase.
7155
+ */
7156
+ fromPlanPhase: string;
7157
+ /**
7158
+ * Max quantity of the add-on
7159
+ * @description The maximum number of times the add-on can be purchased for the plan.
7160
+ * It is not applicable for add-ons with single instance type.
7161
+ */
7162
+ maxQuantity?: number;
7163
+ };
7164
+ /** @description Resource update operation model. */
7165
+ PlanAddonReplaceUpdate: {
7166
+ /**
7167
+ * Addon
7168
+ * @description Partially populated add-on properties.
7169
+ */
7170
+ addon: {
7171
+ /**
7172
+ * ID
7173
+ * @description The ID of the add-on.
7174
+ * @example 01G65Z755AFWAKHE12NY0CQ9FH
7175
+ */
7176
+ id: string;
7177
+ /**
7178
+ * Key
7179
+ * @description A semi-unique identifier for the resource.
7180
+ */
7181
+ readonly key: string;
7182
+ /**
7183
+ * Version
7184
+ * @description The version of the Add-on which templates this instance.
7185
+ * @default 1
7186
+ */
7187
+ readonly version: number;
7188
+ /**
7189
+ * InstanceType
7190
+ * @description The instance type of the add-on.
7191
+ */
7192
+ readonly instanceType: components['schemas']['AddonInstanceType'];
7193
+ };
7194
+ /**
7195
+ * The plan phase from the add-on becomes purchasable
7196
+ * @description The key of the plan phase from the add-on becomes available for purchase.
7197
+ */
7198
+ fromPlanPhase: string;
7199
+ /**
7200
+ * Max quantity of the add-on
7201
+ * @description The maximum number of times the add-on can be purchased for the plan.
7202
+ * It is not applicable for add-ons with single instance type.
7203
+ */
7204
+ maxQuantity?: number;
7205
+ };
7005
7206
  /** @description Resource create operation model. */
7006
7207
  PlanCreate: {
7007
7208
  /**
@@ -9363,6 +9564,9 @@ export type PaymentTerms = components['schemas']['PaymentTerms'];
9363
9564
  export type Percentage = components['schemas']['Percentage'];
9364
9565
  export type Period = components['schemas']['Period'];
9365
9566
  export type Plan = components['schemas']['Plan'];
9567
+ export type PlanAddon = components['schemas']['PlanAddon'];
9568
+ export type PlanAddonCreate = components['schemas']['PlanAddonCreate'];
9569
+ export type PlanAddonReplaceUpdate = components['schemas']['PlanAddonReplaceUpdate'];
9366
9570
  export type PlanCreate = components['schemas']['PlanCreate'];
9367
9571
  export type PlanOrderBy = components['schemas']['PlanOrderBy'];
9368
9572
  export type PlanPaginatedResponse = components['schemas']['PlanPaginatedResponse'];
@@ -18176,6 +18380,494 @@ export interface operations {
18176
18380
  };
18177
18381
  };
18178
18382
  };
18383
+ listPlanAddons: {
18384
+ parameters: {
18385
+ query?: never;
18386
+ header?: never;
18387
+ path: {
18388
+ planId: string;
18389
+ };
18390
+ cookie?: never;
18391
+ };
18392
+ requestBody?: never;
18393
+ responses: {
18394
+ /** @description The request has succeeded. */
18395
+ 200: {
18396
+ headers: {
18397
+ [name: string]: unknown;
18398
+ };
18399
+ content: {
18400
+ 'application/json': components['schemas']['PlanAddon'][];
18401
+ };
18402
+ };
18403
+ /** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
18404
+ 400: {
18405
+ headers: {
18406
+ [name: string]: unknown;
18407
+ };
18408
+ content: {
18409
+ 'application/problem+json': components['schemas']['BadRequestProblemResponse'];
18410
+ };
18411
+ };
18412
+ /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
18413
+ 401: {
18414
+ headers: {
18415
+ [name: string]: unknown;
18416
+ };
18417
+ content: {
18418
+ 'application/problem+json': components['schemas']['UnauthorizedProblemResponse'];
18419
+ };
18420
+ };
18421
+ /** @description The server understood the request but refuses to authorize it. */
18422
+ 403: {
18423
+ headers: {
18424
+ [name: string]: unknown;
18425
+ };
18426
+ content: {
18427
+ 'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
18428
+ };
18429
+ };
18430
+ /** @description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. */
18431
+ 404: {
18432
+ headers: {
18433
+ [name: string]: unknown;
18434
+ };
18435
+ content: {
18436
+ 'application/problem+json': components['schemas']['NotFoundProblemResponse'];
18437
+ };
18438
+ };
18439
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18440
+ 412: {
18441
+ headers: {
18442
+ [name: string]: unknown;
18443
+ };
18444
+ content: {
18445
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18446
+ };
18447
+ };
18448
+ /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
18449
+ 500: {
18450
+ headers: {
18451
+ [name: string]: unknown;
18452
+ };
18453
+ content: {
18454
+ 'application/problem+json': components['schemas']['InternalServerErrorProblemResponse'];
18455
+ };
18456
+ };
18457
+ /** @description The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay. */
18458
+ 503: {
18459
+ headers: {
18460
+ [name: string]: unknown;
18461
+ };
18462
+ content: {
18463
+ 'application/problem+json': components['schemas']['ServiceUnavailableProblemResponse'];
18464
+ };
18465
+ };
18466
+ /** @description An unexpected error response. */
18467
+ default: {
18468
+ headers: {
18469
+ [name: string]: unknown;
18470
+ };
18471
+ content: {
18472
+ 'application/problem+json': components['schemas']['UnexpectedProblemResponse'];
18473
+ };
18474
+ };
18475
+ };
18476
+ };
18477
+ createPlanAddon: {
18478
+ parameters: {
18479
+ query?: never;
18480
+ header?: never;
18481
+ path: {
18482
+ planId: string;
18483
+ };
18484
+ cookie?: never;
18485
+ };
18486
+ requestBody: {
18487
+ content: {
18488
+ 'application/json': components['schemas']['PlanAddonCreate'];
18489
+ };
18490
+ };
18491
+ responses: {
18492
+ /** @description The request has succeeded and a new resource has been created as a result. */
18493
+ 201: {
18494
+ headers: {
18495
+ [name: string]: unknown;
18496
+ };
18497
+ content: {
18498
+ 'application/json': components['schemas']['PlanAddon'];
18499
+ };
18500
+ };
18501
+ /** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
18502
+ 400: {
18503
+ headers: {
18504
+ [name: string]: unknown;
18505
+ };
18506
+ content: {
18507
+ 'application/problem+json': components['schemas']['BadRequestProblemResponse'];
18508
+ };
18509
+ };
18510
+ /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
18511
+ 401: {
18512
+ headers: {
18513
+ [name: string]: unknown;
18514
+ };
18515
+ content: {
18516
+ 'application/problem+json': components['schemas']['UnauthorizedProblemResponse'];
18517
+ };
18518
+ };
18519
+ /** @description The server understood the request but refuses to authorize it. */
18520
+ 403: {
18521
+ headers: {
18522
+ [name: string]: unknown;
18523
+ };
18524
+ content: {
18525
+ 'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
18526
+ };
18527
+ };
18528
+ /** @description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. */
18529
+ 404: {
18530
+ headers: {
18531
+ [name: string]: unknown;
18532
+ };
18533
+ content: {
18534
+ 'application/problem+json': components['schemas']['NotFoundProblemResponse'];
18535
+ };
18536
+ };
18537
+ /** @description The request could not be completed due to a conflict with the current state of the target resource. */
18538
+ 409: {
18539
+ headers: {
18540
+ [name: string]: unknown;
18541
+ };
18542
+ content: {
18543
+ 'application/problem+json': components['schemas']['ConflictProblemResponse'];
18544
+ };
18545
+ };
18546
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18547
+ 412: {
18548
+ headers: {
18549
+ [name: string]: unknown;
18550
+ };
18551
+ content: {
18552
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18553
+ };
18554
+ };
18555
+ /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
18556
+ 500: {
18557
+ headers: {
18558
+ [name: string]: unknown;
18559
+ };
18560
+ content: {
18561
+ 'application/problem+json': components['schemas']['InternalServerErrorProblemResponse'];
18562
+ };
18563
+ };
18564
+ /** @description The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay. */
18565
+ 503: {
18566
+ headers: {
18567
+ [name: string]: unknown;
18568
+ };
18569
+ content: {
18570
+ 'application/problem+json': components['schemas']['ServiceUnavailableProblemResponse'];
18571
+ };
18572
+ };
18573
+ /** @description An unexpected error response. */
18574
+ default: {
18575
+ headers: {
18576
+ [name: string]: unknown;
18577
+ };
18578
+ content: {
18579
+ 'application/problem+json': components['schemas']['UnexpectedProblemResponse'];
18580
+ };
18581
+ };
18582
+ };
18583
+ };
18584
+ getPlanAddon: {
18585
+ parameters: {
18586
+ query?: never;
18587
+ header?: never;
18588
+ path: {
18589
+ planId: string;
18590
+ planAddonId: string;
18591
+ };
18592
+ cookie?: never;
18593
+ };
18594
+ requestBody?: never;
18595
+ responses: {
18596
+ /** @description The request has succeeded. */
18597
+ 200: {
18598
+ headers: {
18599
+ [name: string]: unknown;
18600
+ };
18601
+ content: {
18602
+ 'application/json': components['schemas']['PlanAddon'];
18603
+ };
18604
+ };
18605
+ /** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
18606
+ 400: {
18607
+ headers: {
18608
+ [name: string]: unknown;
18609
+ };
18610
+ content: {
18611
+ 'application/problem+json': components['schemas']['BadRequestProblemResponse'];
18612
+ };
18613
+ };
18614
+ /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
18615
+ 401: {
18616
+ headers: {
18617
+ [name: string]: unknown;
18618
+ };
18619
+ content: {
18620
+ 'application/problem+json': components['schemas']['UnauthorizedProblemResponse'];
18621
+ };
18622
+ };
18623
+ /** @description The server understood the request but refuses to authorize it. */
18624
+ 403: {
18625
+ headers: {
18626
+ [name: string]: unknown;
18627
+ };
18628
+ content: {
18629
+ 'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
18630
+ };
18631
+ };
18632
+ /** @description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. */
18633
+ 404: {
18634
+ headers: {
18635
+ [name: string]: unknown;
18636
+ };
18637
+ content: {
18638
+ 'application/problem+json': components['schemas']['NotFoundProblemResponse'];
18639
+ };
18640
+ };
18641
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18642
+ 412: {
18643
+ headers: {
18644
+ [name: string]: unknown;
18645
+ };
18646
+ content: {
18647
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18648
+ };
18649
+ };
18650
+ /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
18651
+ 500: {
18652
+ headers: {
18653
+ [name: string]: unknown;
18654
+ };
18655
+ content: {
18656
+ 'application/problem+json': components['schemas']['InternalServerErrorProblemResponse'];
18657
+ };
18658
+ };
18659
+ /** @description The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay. */
18660
+ 503: {
18661
+ headers: {
18662
+ [name: string]: unknown;
18663
+ };
18664
+ content: {
18665
+ 'application/problem+json': components['schemas']['ServiceUnavailableProblemResponse'];
18666
+ };
18667
+ };
18668
+ /** @description An unexpected error response. */
18669
+ default: {
18670
+ headers: {
18671
+ [name: string]: unknown;
18672
+ };
18673
+ content: {
18674
+ 'application/problem+json': components['schemas']['UnexpectedProblemResponse'];
18675
+ };
18676
+ };
18677
+ };
18678
+ };
18679
+ updatePlanAddon: {
18680
+ parameters: {
18681
+ query?: never;
18682
+ header?: never;
18683
+ path: {
18684
+ planId: string;
18685
+ planAddonId: string;
18686
+ };
18687
+ cookie?: never;
18688
+ };
18689
+ requestBody: {
18690
+ content: {
18691
+ 'application/json': components['schemas']['PlanAddonReplaceUpdate'];
18692
+ };
18693
+ };
18694
+ responses: {
18695
+ /** @description The request has succeeded. */
18696
+ 200: {
18697
+ headers: {
18698
+ [name: string]: unknown;
18699
+ };
18700
+ content: {
18701
+ 'application/json': components['schemas']['PlanAddon'];
18702
+ };
18703
+ };
18704
+ /** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
18705
+ 400: {
18706
+ headers: {
18707
+ [name: string]: unknown;
18708
+ };
18709
+ content: {
18710
+ 'application/problem+json': components['schemas']['BadRequestProblemResponse'];
18711
+ };
18712
+ };
18713
+ /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
18714
+ 401: {
18715
+ headers: {
18716
+ [name: string]: unknown;
18717
+ };
18718
+ content: {
18719
+ 'application/problem+json': components['schemas']['UnauthorizedProblemResponse'];
18720
+ };
18721
+ };
18722
+ /** @description The server understood the request but refuses to authorize it. */
18723
+ 403: {
18724
+ headers: {
18725
+ [name: string]: unknown;
18726
+ };
18727
+ content: {
18728
+ 'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
18729
+ };
18730
+ };
18731
+ /** @description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. */
18732
+ 404: {
18733
+ headers: {
18734
+ [name: string]: unknown;
18735
+ };
18736
+ content: {
18737
+ 'application/problem+json': components['schemas']['NotFoundProblemResponse'];
18738
+ };
18739
+ };
18740
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18741
+ 412: {
18742
+ headers: {
18743
+ [name: string]: unknown;
18744
+ };
18745
+ content: {
18746
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18747
+ };
18748
+ };
18749
+ /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
18750
+ 500: {
18751
+ headers: {
18752
+ [name: string]: unknown;
18753
+ };
18754
+ content: {
18755
+ 'application/problem+json': components['schemas']['InternalServerErrorProblemResponse'];
18756
+ };
18757
+ };
18758
+ /** @description The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay. */
18759
+ 503: {
18760
+ headers: {
18761
+ [name: string]: unknown;
18762
+ };
18763
+ content: {
18764
+ 'application/problem+json': components['schemas']['ServiceUnavailableProblemResponse'];
18765
+ };
18766
+ };
18767
+ /** @description An unexpected error response. */
18768
+ default: {
18769
+ headers: {
18770
+ [name: string]: unknown;
18771
+ };
18772
+ content: {
18773
+ 'application/problem+json': components['schemas']['UnexpectedProblemResponse'];
18774
+ };
18775
+ };
18776
+ };
18777
+ };
18778
+ deletePlanAddon: {
18779
+ parameters: {
18780
+ query?: never;
18781
+ header?: never;
18782
+ path: {
18783
+ planId: string;
18784
+ planAddonId: string;
18785
+ };
18786
+ cookie?: never;
18787
+ };
18788
+ requestBody?: never;
18789
+ responses: {
18790
+ /** @description There is no content to send for this request, but the headers may be useful. */
18791
+ 204: {
18792
+ headers: {
18793
+ [name: string]: unknown;
18794
+ };
18795
+ content?: never;
18796
+ };
18797
+ /** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
18798
+ 400: {
18799
+ headers: {
18800
+ [name: string]: unknown;
18801
+ };
18802
+ content: {
18803
+ 'application/problem+json': components['schemas']['BadRequestProblemResponse'];
18804
+ };
18805
+ };
18806
+ /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
18807
+ 401: {
18808
+ headers: {
18809
+ [name: string]: unknown;
18810
+ };
18811
+ content: {
18812
+ 'application/problem+json': components['schemas']['UnauthorizedProblemResponse'];
18813
+ };
18814
+ };
18815
+ /** @description The server understood the request but refuses to authorize it. */
18816
+ 403: {
18817
+ headers: {
18818
+ [name: string]: unknown;
18819
+ };
18820
+ content: {
18821
+ 'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
18822
+ };
18823
+ };
18824
+ /** @description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. */
18825
+ 404: {
18826
+ headers: {
18827
+ [name: string]: unknown;
18828
+ };
18829
+ content: {
18830
+ 'application/problem+json': components['schemas']['NotFoundProblemResponse'];
18831
+ };
18832
+ };
18833
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18834
+ 412: {
18835
+ headers: {
18836
+ [name: string]: unknown;
18837
+ };
18838
+ content: {
18839
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18840
+ };
18841
+ };
18842
+ /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
18843
+ 500: {
18844
+ headers: {
18845
+ [name: string]: unknown;
18846
+ };
18847
+ content: {
18848
+ 'application/problem+json': components['schemas']['InternalServerErrorProblemResponse'];
18849
+ };
18850
+ };
18851
+ /** @description The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay. */
18852
+ 503: {
18853
+ headers: {
18854
+ [name: string]: unknown;
18855
+ };
18856
+ content: {
18857
+ 'application/problem+json': components['schemas']['ServiceUnavailableProblemResponse'];
18858
+ };
18859
+ };
18860
+ /** @description An unexpected error response. */
18861
+ default: {
18862
+ headers: {
18863
+ [name: string]: unknown;
18864
+ };
18865
+ content: {
18866
+ 'application/problem+json': components['schemas']['UnexpectedProblemResponse'];
18867
+ };
18868
+ };
18869
+ };
18870
+ };
18179
18871
  archivePlan: {
18180
18872
  parameters: {
18181
18873
  query?: never;