@openmeter/sdk 1.0.0-beta-479f756fdc43 → 1.0.0-beta-da70866a8ddb

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.
@@ -3181,12 +3181,23 @@ export interface components {
3181
3181
  *
3182
3182
  * Defaults to subscription, which means that we are to create a new invoice every time the
3183
3183
  * a subscription period starts (for in advance items) or ends (for in arrears items). */
3184
- BillingWorkflowCollectionAlignment: components['schemas']['BillingWorkflowCollectionAlignmentSubscription'];
3184
+ BillingWorkflowCollectionAlignment: components['schemas']['BillingWorkflowCollectionAlignmentSubscription'] | components['schemas']['BillingWorkflowCollectionAlignmentAnchored'];
3185
+ /** @description BillingWorkflowCollectionAlignmentAnchored specifies the alignment for collecting the pending line items
3186
+ * into an invoice. */
3187
+ BillingWorkflowCollectionAlignmentAnchored: {
3188
+ /**
3189
+ * @description The type of alignment. (enum property replaced by openapi-typescript)
3190
+ * @enum {string}
3191
+ */
3192
+ type: 'anchored';
3193
+ /** @description The recurring period for the alignment. */
3194
+ recurringPeriod: components['schemas']['RecurringPeriodV2'];
3195
+ };
3185
3196
  /** @description BillingWorkflowCollectionAlignmentSubscription specifies the alignment for collecting the pending line items
3186
3197
  * into an invoice. */
3187
3198
  BillingWorkflowCollectionAlignmentSubscription: {
3188
3199
  /**
3189
- * @description The type of alignment.
3200
+ * @description The type of alignment. (enum property replaced by openapi-typescript)
3190
3201
  * @enum {string}
3191
3202
  */
3192
3203
  type: 'subscription';
@@ -5551,6 +5562,26 @@ export interface components {
5551
5562
  */
5552
5563
  readonly config?: string;
5553
5564
  };
5565
+ /** @description Generic ErrorExtension as part of HTTPProblem.Extensions.[StatusCode] */
5566
+ ErrorExtension: {
5567
+ /**
5568
+ * @description The path to the field.
5569
+ * @example addons/pro/ratecards/token/featureKey
5570
+ */
5571
+ readonly field: string;
5572
+ /**
5573
+ * @description The machine readable description of the error.
5574
+ * @example invalid_feature_key
5575
+ */
5576
+ readonly code: string;
5577
+ /**
5578
+ * @description The human readable description of the error.
5579
+ * @example not found feature by key
5580
+ */
5581
+ readonly message: string;
5582
+ } & {
5583
+ [key: string]: unknown;
5584
+ };
5554
5585
  /**
5555
5586
  * @description CloudEvents Specification JSON Schema
5556
5587
  *
@@ -9460,6 +9491,7 @@ export interface components {
9460
9491
  /** @description The price of the usage based rate card. */
9461
9492
  RateCardUsageBasedPrice: components['schemas']['FlatPriceWithPaymentTerm'] | components['schemas']['UnitPriceWithCommitments'] | components['schemas']['TieredPriceWithCommitments'] | components['schemas']['DynamicPriceWithCommitments'] | components['schemas']['PackagePriceWithCommitments'];
9462
9493
  /**
9494
+ * @deprecated
9463
9495
  * @description Recurring period with an interval and an anchor.
9464
9496
  * @example {
9465
9497
  * "interval": "DAY",
@@ -9473,11 +9505,6 @@ export interface components {
9473
9505
  * @description The unit of time for the interval. Heuristically maps ISO duraitons to enum values or returns the ISO duration.
9474
9506
  */
9475
9507
  interval: components['schemas']['RecurringPeriodInterval'];
9476
- /**
9477
- * Format: duration
9478
- * @description The unit of time for the interval in ISO8601 format.
9479
- */
9480
- intervalISO: string;
9481
9508
  /**
9482
9509
  * Anchor time
9483
9510
  * Format: date-time
@@ -9485,6 +9512,11 @@ export interface components {
9485
9512
  * @example 2023-01-01T01:01:01.001Z
9486
9513
  */
9487
9514
  anchor: Date;
9515
+ /**
9516
+ * Format: duration
9517
+ * @description The unit of time for the interval in ISO8601 format.
9518
+ */
9519
+ intervalISO: string;
9488
9520
  };
9489
9521
  /**
9490
9522
  * @description Recurring period with an interval and an anchor.
@@ -9515,6 +9547,21 @@ export interface components {
9515
9547
  * @enum {string}
9516
9548
  */
9517
9549
  RecurringPeriodIntervalEnum: 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
9550
+ /** @description Recurring period with an interval and an anchor. */
9551
+ RecurringPeriodV2: {
9552
+ /**
9553
+ * Interval
9554
+ * @description The unit of time for the interval. Heuristically maps ISO duraitons to enum values or returns the ISO duration.
9555
+ */
9556
+ interval: components['schemas']['RecurringPeriodInterval'];
9557
+ /**
9558
+ * Anchor time
9559
+ * Format: date-time
9560
+ * @description A date-time anchor to base the recurring period on.
9561
+ * @example 2023-01-01T01:01:01.001Z
9562
+ */
9563
+ anchor: Date;
9564
+ };
9518
9565
  /**
9519
9566
  * @description The direction of the phase shift when a phase is removed.
9520
9567
  * @enum {string}
@@ -10414,6 +10461,40 @@ export interface components {
10414
10461
  /** @description The current billing period. Only has value if the subscription is aligned and active. */
10415
10462
  currentAlignedBillingPeriod?: components['schemas']['Period'];
10416
10463
  };
10464
+ /** @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). Variants with ErrorExtensions specific to subscriptions. */
10465
+ SubscriptionBadRequestErrorResponse: {
10466
+ /**
10467
+ * Format: uri
10468
+ * @description Type contains a URI that identifies the problem type.
10469
+ * @default about:blank
10470
+ * @example about:blank
10471
+ */
10472
+ type: string;
10473
+ /**
10474
+ * @description A a short, human-readable summary of the problem type.
10475
+ * @example Bad Request
10476
+ */
10477
+ title: string;
10478
+ /**
10479
+ * Format: int16
10480
+ * @description The HTTP status code generated by the origin server for this occurrence of the problem.
10481
+ * @example 400
10482
+ */
10483
+ status?: number;
10484
+ /**
10485
+ * @description A human-readable explanation specific to this occurrence of the problem.
10486
+ * @example The request body must be a JSON object.
10487
+ */
10488
+ detail: string;
10489
+ /**
10490
+ * Format: uri
10491
+ * @description A URI reference that identifies the specific occurrence of the problem.
10492
+ * @example urn:request:local/JMOlctsKV8-000001
10493
+ */
10494
+ instance: string;
10495
+ /** @description Additional properties specific to the problem type may be present. */
10496
+ extensions?: components['schemas']['SubscriptionErrorExtensions'];
10497
+ };
10417
10498
  /** @description Change a subscription. */
10418
10499
  SubscriptionChange: components['schemas']['PlanSubscriptionChange'] | components['schemas']['CustomSubscriptionChange'];
10419
10500
  /** @description Response body for subscription change. */
@@ -10429,6 +10510,41 @@ export interface components {
10429
10510
  */
10430
10511
  next: components['schemas']['SubscriptionExpanded'];
10431
10512
  };
10513
+ /** @description The request could not be completed due to a conflict with the current state of the target resource.
10514
+ * Variants with ErrorExtensions specific to subscriptions. */
10515
+ SubscriptionConflictErrorResponse: {
10516
+ /**
10517
+ * Format: uri
10518
+ * @description Type contains a URI that identifies the problem type.
10519
+ * @default about:blank
10520
+ * @example about:blank
10521
+ */
10522
+ type: string;
10523
+ /**
10524
+ * @description A a short, human-readable summary of the problem type.
10525
+ * @example Bad Request
10526
+ */
10527
+ title: string;
10528
+ /**
10529
+ * Format: int16
10530
+ * @description The HTTP status code generated by the origin server for this occurrence of the problem.
10531
+ * @example 400
10532
+ */
10533
+ status?: number;
10534
+ /**
10535
+ * @description A human-readable explanation specific to this occurrence of the problem.
10536
+ * @example The request body must be a JSON object.
10537
+ */
10538
+ detail: string;
10539
+ /**
10540
+ * Format: uri
10541
+ * @description A URI reference that identifies the specific occurrence of the problem.
10542
+ * @example urn:request:local/JMOlctsKV8-000001
10543
+ */
10544
+ instance: string;
10545
+ /** @description Additional properties specific to the problem type may be present. */
10546
+ extensions?: components['schemas']['SubscriptionErrorExtensions'];
10547
+ };
10432
10548
  /** @description Create a subscription. */
10433
10549
  SubscriptionCreate: components['schemas']['PlanSubscriptionCreate'] | components['schemas']['CustomSubscriptionCreate'];
10434
10550
  /** @description Subscription edit input. */
@@ -10441,6 +10557,10 @@ export interface components {
10441
10557
  };
10442
10558
  /** @description The operation to be performed on the subscription. */
10443
10559
  SubscriptionEditOperation: components['schemas']['EditSubscriptionAddItem'] | components['schemas']['EditSubscriptionRemoveItem'] | components['schemas']['EditSubscriptionAddPhase'] | components['schemas']['EditSubscriptionRemovePhase'] | components['schemas']['EditSubscriptionStretchPhase'] | components['schemas']['EditSubscriptionUnscheduleEdit'];
10560
+ /** @description Error extensions for the Subscription Errors. */
10561
+ SubscriptionErrorExtensions: {
10562
+ validationErrors: components['schemas']['ErrorExtension'][];
10563
+ };
10444
10564
  /** @description Expanded subscription */
10445
10565
  SubscriptionExpanded: {
10446
10566
  /**
@@ -10892,6 +11012,21 @@ export interface components {
10892
11012
  * @example urn:request:local/JMOlctsKV8-000001
10893
11013
  */
10894
11014
  instance: string;
11015
+ /**
11016
+ * @description Additional properties specific to the problem type may be present.
11017
+ * @example {
11018
+ * "validationErrors": [
11019
+ * {
11020
+ * "code": "validation_error",
11021
+ * "message": "Validation error"
11022
+ * }
11023
+ * ],
11024
+ * "otherAttribute": "otherValue"
11025
+ * }
11026
+ */
11027
+ extensions?: {
11028
+ [key: string]: unknown;
11029
+ };
10895
11030
  } & {
10896
11031
  [key: string]: unknown;
10897
11032
  };
@@ -10945,42 +11080,6 @@ export interface components {
10945
11080
  /** @description Additional attributes. */
10946
11081
  readonly attributes?: components['schemas']['Annotations'];
10947
11082
  };
10948
- /** @description A BadRequestError with a validationErrors extension. */
10949
- ValidationErrorProblemResponse: {
10950
- /**
10951
- * Format: uri
10952
- * @description Type contains a URI that identifies the problem type.
10953
- * @default about:blank
10954
- * @example about:blank
10955
- */
10956
- type: string;
10957
- /**
10958
- * @description A a short, human-readable summary of the problem type.
10959
- * @example Bad Request
10960
- */
10961
- title: string;
10962
- /**
10963
- * Format: int16
10964
- * @description The HTTP status code generated by the origin server for this occurrence of the problem.
10965
- * @example 400
10966
- */
10967
- status?: number;
10968
- /**
10969
- * @description A human-readable explanation specific to this occurrence of the problem.
10970
- * @example The request body must be a JSON object.
10971
- */
10972
- detail: string;
10973
- /**
10974
- * Format: uri
10975
- * @description A URI reference that identifies the specific occurrence of the problem.
10976
- * @example urn:request:local/JMOlctsKV8-000001
10977
- */
10978
- instance: string;
10979
- /** @description Validation issues. */
10980
- readonly extensions?: {
10981
- validationErrors?: components['schemas']['ValidationError'][];
10982
- };
10983
- };
10984
11083
  /** @description ValidationIssue captures any validation issues related to the invoice.
10985
11084
  *
10986
11085
  * Issues with severity "critical" will prevent the invoice from being issued. */
@@ -11407,6 +11506,7 @@ export type BillingProfileReplaceUpdateWithWorkflow = components['schemas']['Bil
11407
11506
  export type BillingTaxIdentificationCode = components['schemas']['BillingTaxIdentificationCode'];
11408
11507
  export type BillingWorkflow = components['schemas']['BillingWorkflow'];
11409
11508
  export type BillingWorkflowCollectionAlignment = components['schemas']['BillingWorkflowCollectionAlignment'];
11509
+ export type BillingWorkflowCollectionAlignmentAnchored = components['schemas']['BillingWorkflowCollectionAlignmentAnchored'];
11410
11510
  export type BillingWorkflowCollectionAlignmentSubscription = components['schemas']['BillingWorkflowCollectionAlignmentSubscription'];
11411
11511
  export type BillingWorkflowCollectionSettings = components['schemas']['BillingWorkflowCollectionSettings'];
11412
11512
  export type BillingWorkflowCreate = components['schemas']['BillingWorkflowCreate'];
@@ -11503,6 +11603,7 @@ export type EntitlementV2 = components['schemas']['EntitlementV2'];
11503
11603
  export type EntitlementV2CreateInputs = components['schemas']['EntitlementV2CreateInputs'];
11504
11604
  export type EntitlementV2PaginatedResponse = components['schemas']['EntitlementV2PaginatedResponse'];
11505
11605
  export type EntitlementValue = components['schemas']['EntitlementValue'];
11606
+ export type ErrorExtension = components['schemas']['ErrorExtension'];
11506
11607
  export type Event = components['schemas']['Event'];
11507
11608
  export type ExpirationDuration = components['schemas']['ExpirationDuration'];
11508
11609
  export type ExpirationPeriod = components['schemas']['ExpirationPeriod'];
@@ -11674,6 +11775,7 @@ export type RecurringPeriod = components['schemas']['RecurringPeriod'];
11674
11775
  export type RecurringPeriodCreateInput = components['schemas']['RecurringPeriodCreateInput'];
11675
11776
  export type RecurringPeriodInterval = components['schemas']['RecurringPeriodInterval'];
11676
11777
  export type RecurringPeriodIntervalEnum = components['schemas']['RecurringPeriodIntervalEnum'];
11778
+ export type RecurringPeriodV2 = components['schemas']['RecurringPeriodV2'];
11677
11779
  export type RemovePhaseShifting = components['schemas']['RemovePhaseShifting'];
11678
11780
  export type ResetEntitlementUsageInput = components['schemas']['ResetEntitlementUsageInput'];
11679
11781
  export type SandboxApp = components['schemas']['SandboxApp'];
@@ -11701,11 +11803,14 @@ export type SubscriptionAddonRateCard = components['schemas']['SubscriptionAddon
11701
11803
  export type SubscriptionAddonTimelineSegment = components['schemas']['SubscriptionAddonTimelineSegment'];
11702
11804
  export type SubscriptionAddonUpdate = components['schemas']['SubscriptionAddonUpdate'];
11703
11805
  export type SubscriptionAlignment = components['schemas']['SubscriptionAlignment'];
11806
+ export type SubscriptionBadRequestErrorResponse = components['schemas']['SubscriptionBadRequestErrorResponse'];
11704
11807
  export type SubscriptionChange = components['schemas']['SubscriptionChange'];
11705
11808
  export type SubscriptionChangeResponseBody = components['schemas']['SubscriptionChangeResponseBody'];
11809
+ export type SubscriptionConflictErrorResponse = components['schemas']['SubscriptionConflictErrorResponse'];
11706
11810
  export type SubscriptionCreate = components['schemas']['SubscriptionCreate'];
11707
11811
  export type SubscriptionEdit = components['schemas']['SubscriptionEdit'];
11708
11812
  export type SubscriptionEditOperation = components['schemas']['SubscriptionEditOperation'];
11813
+ export type SubscriptionErrorExtensions = components['schemas']['SubscriptionErrorExtensions'];
11709
11814
  export type SubscriptionExpanded = components['schemas']['SubscriptionExpanded'];
11710
11815
  export type SubscriptionItem = components['schemas']['SubscriptionItem'];
11711
11816
  export type SubscriptionItemIncluded = components['schemas']['SubscriptionItemIncluded'];
@@ -11725,7 +11830,6 @@ export type UnexpectedProblemResponse = components['schemas']['UnexpectedProblem
11725
11830
  export type UnitPrice = components['schemas']['UnitPrice'];
11726
11831
  export type UnitPriceWithCommitments = components['schemas']['UnitPriceWithCommitments'];
11727
11832
  export type ValidationError = components['schemas']['ValidationError'];
11728
- export type ValidationErrorProblemResponse = components['schemas']['ValidationErrorProblemResponse'];
11729
11833
  export type ValidationIssue = components['schemas']['ValidationIssue'];
11730
11834
  export type ValidationIssueSeverity = components['schemas']['ValidationIssueSeverity'];
11731
11835
  export type VoidInvoiceActionCreate = components['schemas']['VoidInvoiceActionCreate'];
@@ -23922,13 +24026,13 @@ export interface operations {
23922
24026
  'application/json': components['schemas']['Subscription'];
23923
24027
  };
23924
24028
  };
23925
- /** @description A BadRequestError with a validationErrors extension. */
24029
+ /** @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). Variants with ErrorExtensions specific to subscriptions. */
23926
24030
  400: {
23927
24031
  headers: {
23928
24032
  [name: string]: unknown;
23929
24033
  };
23930
24034
  content: {
23931
- 'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
24035
+ 'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
23932
24036
  };
23933
24037
  };
23934
24038
  /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
@@ -23949,13 +24053,14 @@ export interface operations {
23949
24053
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
23950
24054
  };
23951
24055
  };
23952
- /** @description The request could not be completed due to a conflict with the current state of the target resource. */
24056
+ /** @description The request could not be completed due to a conflict with the current state of the target resource.
24057
+ * Variants with ErrorExtensions specific to subscriptions. */
23953
24058
  409: {
23954
24059
  headers: {
23955
24060
  [name: string]: unknown;
23956
24061
  };
23957
24062
  content: {
23958
- 'application/problem+json': components['schemas']['ConflictProblemResponse'];
24063
+ 'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
23959
24064
  };
23960
24065
  };
23961
24066
  /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
@@ -24111,13 +24216,13 @@ export interface operations {
24111
24216
  };
24112
24217
  content?: never;
24113
24218
  };
24114
- /** @description A BadRequestError with a validationErrors extension. */
24219
+ /** @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). Variants with ErrorExtensions specific to subscriptions. */
24115
24220
  400: {
24116
24221
  headers: {
24117
24222
  [name: string]: unknown;
24118
24223
  };
24119
24224
  content: {
24120
- 'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
24225
+ 'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
24121
24226
  };
24122
24227
  };
24123
24228
  /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
@@ -24147,6 +24252,16 @@ export interface operations {
24147
24252
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
24148
24253
  };
24149
24254
  };
24255
+ /** @description The request could not be completed due to a conflict with the current state of the target resource.
24256
+ * Variants with ErrorExtensions specific to subscriptions. */
24257
+ 409: {
24258
+ headers: {
24259
+ [name: string]: unknown;
24260
+ };
24261
+ content: {
24262
+ 'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
24263
+ };
24264
+ };
24150
24265
  /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
24151
24266
  412: {
24152
24267
  headers: {
@@ -24209,13 +24324,13 @@ export interface operations {
24209
24324
  'application/json': components['schemas']['Subscription'];
24210
24325
  };
24211
24326
  };
24212
- /** @description A BadRequestError with a validationErrors extension. */
24327
+ /** @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). Variants with ErrorExtensions specific to subscriptions. */
24213
24328
  400: {
24214
24329
  headers: {
24215
24330
  [name: string]: unknown;
24216
24331
  };
24217
24332
  content: {
24218
- 'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
24333
+ 'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
24219
24334
  };
24220
24335
  };
24221
24336
  /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
@@ -24245,13 +24360,14 @@ export interface operations {
24245
24360
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
24246
24361
  };
24247
24362
  };
24248
- /** @description The request could not be completed due to a conflict with the current state of the target resource. */
24363
+ /** @description The request could not be completed due to a conflict with the current state of the target resource.
24364
+ * Variants with ErrorExtensions specific to subscriptions. */
24249
24365
  409: {
24250
24366
  headers: {
24251
24367
  [name: string]: unknown;
24252
24368
  };
24253
24369
  content: {
24254
- 'application/problem+json': components['schemas']['ConflictProblemResponse'];
24370
+ 'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
24255
24371
  };
24256
24372
  };
24257
24373
  /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
@@ -24714,13 +24830,13 @@ export interface operations {
24714
24830
  'application/json': components['schemas']['Subscription'];
24715
24831
  };
24716
24832
  };
24717
- /** @description A BadRequestError with a validationErrors extension. */
24833
+ /** @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). Variants with ErrorExtensions specific to subscriptions. */
24718
24834
  400: {
24719
24835
  headers: {
24720
24836
  [name: string]: unknown;
24721
24837
  };
24722
24838
  content: {
24723
- 'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
24839
+ 'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
24724
24840
  };
24725
24841
  };
24726
24842
  /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
@@ -24750,13 +24866,14 @@ export interface operations {
24750
24866
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
24751
24867
  };
24752
24868
  };
24753
- /** @description The request could not be completed due to a conflict with the current state of the target resource. */
24869
+ /** @description The request could not be completed due to a conflict with the current state of the target resource.
24870
+ * Variants with ErrorExtensions specific to subscriptions. */
24754
24871
  409: {
24755
24872
  headers: {
24756
24873
  [name: string]: unknown;
24757
24874
  };
24758
24875
  content: {
24759
- 'application/problem+json': components['schemas']['ConflictProblemResponse'];
24876
+ 'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
24760
24877
  };
24761
24878
  };
24762
24879
  /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
@@ -24821,13 +24938,13 @@ export interface operations {
24821
24938
  'application/json': components['schemas']['SubscriptionChangeResponseBody'];
24822
24939
  };
24823
24940
  };
24824
- /** @description A BadRequestError with a validationErrors extension. */
24941
+ /** @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). Variants with ErrorExtensions specific to subscriptions. */
24825
24942
  400: {
24826
24943
  headers: {
24827
24944
  [name: string]: unknown;
24828
24945
  };
24829
24946
  content: {
24830
- 'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
24947
+ 'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
24831
24948
  };
24832
24949
  };
24833
24950
  /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
@@ -24857,13 +24974,14 @@ export interface operations {
24857
24974
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
24858
24975
  };
24859
24976
  };
24860
- /** @description The request could not be completed due to a conflict with the current state of the target resource. */
24977
+ /** @description The request could not be completed due to a conflict with the current state of the target resource.
24978
+ * Variants with ErrorExtensions specific to subscriptions. */
24861
24979
  409: {
24862
24980
  headers: {
24863
24981
  [name: string]: unknown;
24864
24982
  };
24865
24983
  content: {
24866
- 'application/problem+json': components['schemas']['ConflictProblemResponse'];
24984
+ 'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
24867
24985
  };
24868
24986
  };
24869
24987
  /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
@@ -24947,13 +25065,13 @@ export interface operations {
24947
25065
  'application/json': components['schemas']['SubscriptionChangeResponseBody'];
24948
25066
  };
24949
25067
  };
24950
- /** @description A BadRequestError with a validationErrors extension. */
25068
+ /** @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). Variants with ErrorExtensions specific to subscriptions. */
24951
25069
  400: {
24952
25070
  headers: {
24953
25071
  [name: string]: unknown;
24954
25072
  };
24955
25073
  content: {
24956
- 'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
25074
+ 'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
24957
25075
  };
24958
25076
  };
24959
25077
  /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
@@ -24983,13 +25101,14 @@ export interface operations {
24983
25101
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
24984
25102
  };
24985
25103
  };
24986
- /** @description The request could not be completed due to a conflict with the current state of the target resource. */
25104
+ /** @description The request could not be completed due to a conflict with the current state of the target resource.
25105
+ * Variants with ErrorExtensions specific to subscriptions. */
24987
25106
  409: {
24988
25107
  headers: {
24989
25108
  [name: string]: unknown;
24990
25109
  };
24991
25110
  content: {
24992
- 'application/problem+json': components['schemas']['ConflictProblemResponse'];
25111
+ 'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
24993
25112
  };
24994
25113
  };
24995
25114
  /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
@@ -25144,13 +25263,13 @@ export interface operations {
25144
25263
  'application/json': components['schemas']['Subscription'];
25145
25264
  };
25146
25265
  };
25147
- /** @description A BadRequestError with a validationErrors extension. */
25266
+ /** @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). Variants with ErrorExtensions specific to subscriptions. */
25148
25267
  400: {
25149
25268
  headers: {
25150
25269
  [name: string]: unknown;
25151
25270
  };
25152
25271
  content: {
25153
- 'application/problem+json': components['schemas']['ValidationErrorProblemResponse'];
25272
+ 'application/problem+json': components['schemas']['SubscriptionBadRequestErrorResponse'];
25154
25273
  };
25155
25274
  };
25156
25275
  /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
@@ -25180,13 +25299,14 @@ export interface operations {
25180
25299
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
25181
25300
  };
25182
25301
  };
25183
- /** @description The request could not be completed due to a conflict with the current state of the target resource. */
25302
+ /** @description The request could not be completed due to a conflict with the current state of the target resource.
25303
+ * Variants with ErrorExtensions specific to subscriptions. */
25184
25304
  409: {
25185
25305
  headers: {
25186
25306
  [name: string]: unknown;
25187
25307
  };
25188
25308
  content: {
25189
- 'application/problem+json': components['schemas']['ConflictProblemResponse'];
25309
+ 'application/problem+json': components['schemas']['SubscriptionConflictErrorResponse'];
25190
25310
  };
25191
25311
  };
25192
25312
  /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */