@openmeter/sdk 1.0.0-beta.201 → 1.0.0-beta.203

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.
@@ -119,12 +119,12 @@ export interface paths {
119
119
  * @description Get a customer override by customer id.
120
120
  */
121
121
  get: operations['getBillingProfileCustomerOverride'];
122
- put?: never;
123
122
  /**
124
123
  * Create a new or update a customer override
125
124
  * @description Create a new or update an existing customer override.
126
125
  */
127
- post: operations['upsertBillingProfileCustomerOverride'];
126
+ put: operations['upsertBillingProfileCustomerOverride'];
127
+ post?: never;
128
128
  /**
129
129
  * Delete a customer override
130
130
  * @description Delete a customer override by customer id.
@@ -527,6 +527,26 @@ export interface paths {
527
527
  patch?: never;
528
528
  trace?: never;
529
529
  };
530
+ '/api/v1/customers/{customerId}/subscriptions': {
531
+ parameters: {
532
+ query?: never;
533
+ header?: never;
534
+ path?: never;
535
+ cookie?: never;
536
+ };
537
+ /**
538
+ * List customer subscriptions
539
+ * @description Lists all subscriptions for a customer.
540
+ */
541
+ get: operations['listCustomerSubscriptions'];
542
+ put?: never;
543
+ post?: never;
544
+ delete?: never;
545
+ options?: never;
546
+ head?: never;
547
+ patch?: never;
548
+ trace?: never;
549
+ };
530
550
  '/api/v1/customers/{id}': {
531
551
  parameters: {
532
552
  query?: never;
@@ -1646,6 +1666,7 @@ export interface paths {
1646
1666
  /**
1647
1667
  * Cancel subscription
1648
1668
  * @description Cancels the subscription.
1669
+ * Will result in a scheduling conflict if there are other subscriptions scheduled to start after the cancellation time.
1649
1670
  */
1650
1671
  post: operations['cancelSubscription'];
1651
1672
  delete?: never;
@@ -1697,6 +1718,27 @@ export interface paths {
1697
1718
  patch?: never;
1698
1719
  trace?: never;
1699
1720
  };
1721
+ '/api/v1/subscriptions/{subscriptionId}/restore': {
1722
+ parameters: {
1723
+ query?: never;
1724
+ header?: never;
1725
+ path?: never;
1726
+ cookie?: never;
1727
+ };
1728
+ get?: never;
1729
+ put?: never;
1730
+ /**
1731
+ * Restore subscription
1732
+ * @description Restores a canceled subscription.
1733
+ * Any subscription scheduled to start later will be deleted and this subscription will be continued indefinitely.
1734
+ */
1735
+ post: operations['restoreSubscription'];
1736
+ delete?: never;
1737
+ options?: never;
1738
+ head?: never;
1739
+ patch?: never;
1740
+ trace?: never;
1741
+ };
1700
1742
  '/api/v1/subscriptions/{subscriptionId}/unschedule-cancelation': {
1701
1743
  parameters: {
1702
1744
  query?: never;
@@ -1852,6 +1894,21 @@ export interface components {
1852
1894
  */
1853
1895
  readonly balanceAtStart: number;
1854
1896
  };
1897
+ /** @description Customer specific merged profile.
1898
+ *
1899
+ * This profile is calculated from the customer override and the billing profile it references or the default.
1900
+ *
1901
+ * Thus this does not have any kind of resource fields, only the calculated values. */
1902
+ BillingCustomerProfile: {
1903
+ /** @description The name and contact information for the supplier this billing profile represents */
1904
+ readonly supplier: components['schemas']['BillingParty'];
1905
+ /** @description The billing workflow settings for this profile */
1906
+ readonly workflow: components['schemas']['BillingWorkflow'];
1907
+ /** @description The applications used by this billing profile.
1908
+ *
1909
+ * Expand settings govern if this includes the whole app object or just the ID references. */
1910
+ readonly apps: components['schemas']['BillingProfileAppsOrReference'];
1911
+ };
1855
1912
  /** @description InvoiceLineCharge represents an amount added to the line, and will be applied before taxes. */
1856
1913
  BillingLineCharge: {
1857
1914
  /**
@@ -2027,7 +2084,7 @@ export interface components {
2027
2084
  /** @description The apps used by this billing profile. */
2028
2085
  apps: components['schemas']['BillingProfileAppsCreate'];
2029
2086
  };
2030
- /** @description Customer specific workflow overrides. */
2087
+ /** @description Customer override values. */
2031
2088
  BillingProfileCustomerOverride: {
2032
2089
  /**
2033
2090
  * Creation Time
@@ -2043,42 +2100,60 @@ export interface components {
2043
2100
  * @example 2024-01-01T01:01:01.001Z
2044
2101
  */
2045
2102
  readonly updatedAt: Date;
2046
- /**
2047
- * Deletion Time
2048
- * Format: date-time
2049
- * @description Timestamp of when the resource was permanently deleted.
2050
- * @example 2024-01-01T01:01:01.001Z
2051
- */
2052
- readonly deletedAt?: Date;
2053
- /** @description The details of the overrides active for this specific customer. */
2054
- workflow?: components['schemas']['BillingProfileCustomerWorkflowOverride'];
2055
2103
  /**
2056
2104
  * @description The billing profile this override is associated with.
2057
2105
  *
2058
- * If not provided, the default billing profile is chosen if available.
2106
+ * If empty the default profile is looked up dynamically.
2107
+ * @example 01G65Z755AFWAKHE12NY0CQ9FH
2108
+ */
2109
+ billingProfileId?: string;
2110
+ /**
2111
+ * @description The customer id this override is associated with.
2059
2112
  * @example 01G65Z755AFWAKHE12NY0CQ9FH
2060
2113
  */
2061
- billingProfile?: string;
2114
+ customerId: string;
2062
2115
  };
2063
2116
  /** @description Payload for creating a new or updating an existing customer override. */
2064
2117
  BillingProfileCustomerOverrideCreate: {
2065
- /** @description The details of the overrides active for this specific customer. */
2066
- workflow?: components['schemas']['BillingProfileCustomerWorkflowOverrideCreate'];
2067
2118
  /**
2068
2119
  * @description The billing profile this override is associated with.
2069
2120
  *
2070
2121
  * If not provided, the default billing profile is chosen if available.
2071
2122
  * @example 01G65Z755AFWAKHE12NY0CQ9FH
2072
2123
  */
2073
- billingProfile?: string;
2124
+ billingProfileId?: string;
2074
2125
  };
2126
+ /**
2127
+ * @description CustomerOverrideExpand specifies the parts of the profile to expand.
2128
+ * @enum {string}
2129
+ */
2130
+ BillingProfileCustomerOverrideExpand: 'apps' | 'customer';
2075
2131
  /**
2076
2132
  * @description Order by options for customers.
2077
2133
  * @enum {string}
2078
2134
  */
2079
- BillingProfileCustomerOverrideOrderBy: 'id';
2135
+ BillingProfileCustomerOverrideOrderBy: 'customerId' | 'customerName' | 'customerKey' | 'customerPrimaryEmail' | 'customerCreatedAt';
2136
+ /** @description Customer specific workflow overrides. */
2137
+ BillingProfileCustomerOverrideWithDetails: {
2138
+ /** @description The customer override values.
2139
+ *
2140
+ * If empty the merged values are calculated based on the default profile. */
2141
+ customerOverride?: components['schemas']['BillingProfileCustomerOverride'];
2142
+ /**
2143
+ * @description The billing profile the customerProfile is associated with at the time of query.
2144
+ *
2145
+ * customerOverride contains the explicit mapping set in the customer override object. If that is
2146
+ * empty, then the baseBillingProfileId is the default profile.
2147
+ * @example 01G65Z755AFWAKHE12NY0CQ9FH
2148
+ */
2149
+ baseBillingProfileId: string;
2150
+ /** @description Merged billing profile with the customer specific overrides. */
2151
+ customerProfile?: components['schemas']['BillingCustomerProfile'];
2152
+ /** @description The customer this override belongs to. */
2153
+ customer?: components['schemas']['Customer'];
2154
+ };
2080
2155
  /** @description Paginated response */
2081
- BillingProfileCustomerOverridePaginatedResponse: {
2156
+ BillingProfileCustomerOverrideWithDetailsPaginatedResponse: {
2082
2157
  /**
2083
2158
  * @description The items in the current page.
2084
2159
  * @example 500
@@ -2095,37 +2170,13 @@ export interface components {
2095
2170
  */
2096
2171
  pageSize: number;
2097
2172
  /** @description The items in the current page. */
2098
- items: components['schemas']['BillingProfileCustomerOverride'][];
2099
- };
2100
- /** @description Customer specific workflow overrides. */
2101
- BillingProfileCustomerWorkflowOverride: {
2102
- /** @description The collection settings for this workflow */
2103
- collection?: components['schemas']['BillingWorkflowCollectionSettings'];
2104
- /** @description The invoicing settings for this workflow */
2105
- invoicing?: components['schemas']['BillingWorkflowInvoicingSettings'];
2106
- /** @description The payment settings for this workflow */
2107
- payment?: components['schemas']['BillingWorkflowPaymentSettings'];
2108
- /** @description The tax app used for this workflow */
2109
- readonly taxApp: components['schemas']['App'];
2110
- /** @description The invoicing app used for this workflow */
2111
- readonly invoicingApp: components['schemas']['App'];
2112
- /** @description The payment app used for this workflow */
2113
- readonly paymentApp: components['schemas']['App'];
2114
- };
2115
- /** @description Resource create operation model. */
2116
- BillingProfileCustomerWorkflowOverrideCreate: {
2117
- /** @description The collection settings for this workflow */
2118
- collection?: components['schemas']['BillingWorkflowCollectionSettings'];
2119
- /** @description The invoicing settings for this workflow */
2120
- invoicing?: components['schemas']['BillingWorkflowInvoicingSettings'];
2121
- /** @description The payment settings for this workflow */
2122
- payment?: components['schemas']['BillingWorkflowPaymentSettings'];
2173
+ items: components['schemas']['BillingProfileCustomerOverrideWithDetails'][];
2123
2174
  };
2124
2175
  /**
2125
2176
  * @description BillingProfileExpand details what profile fields to expand
2126
2177
  * @enum {string}
2127
2178
  */
2128
- BillingProfileExpand: 'apps' | '*';
2179
+ BillingProfileExpand: 'apps';
2129
2180
  /**
2130
2181
  * @description BillingProfileOrderBy specifies the ordering options for profiles
2131
2182
  * @enum {string}
@@ -2277,15 +2328,19 @@ export interface components {
2277
2328
  };
2278
2329
  /** @description Stripe CheckoutSession.custom_text */
2279
2330
  CheckoutSessionCustomTextAfterSubmitParams: {
2331
+ /** @description Custom text that should be displayed after the payment confirmation button. */
2280
2332
  afterSubmit?: {
2281
2333
  message?: string;
2282
2334
  };
2335
+ /** @description Custom text that should be displayed alongside shipping address collection. */
2283
2336
  shippingAddress?: {
2284
2337
  message?: string;
2285
2338
  };
2339
+ /** @description Custom text that should be displayed alongside the payment confirmation button. */
2286
2340
  submit?: {
2287
2341
  message?: string;
2288
2342
  };
2343
+ /** @description Custom text that should be displayed in place of the default terms of service agreement text. */
2289
2344
  termsOfServiceAcceptance?: {
2290
2345
  message?: string;
2291
2346
  };
@@ -2463,6 +2518,8 @@ export interface components {
2463
2518
  metadata?: {
2464
2519
  [key: string]: string;
2465
2520
  };
2521
+ /** @description The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method’s app or site.
2522
+ * This parameter is required if ui_mode is embedded and redirect-based payment methods are enabled on the session. */
2466
2523
  returnURL?: string;
2467
2524
  /** @description The URL to which Stripe should send customers when payment or setup is complete.
2468
2525
  * This parameter is not allowed if ui_mode is embedded.
@@ -2493,6 +2550,34 @@ export interface components {
2493
2550
  sessionId: string;
2494
2551
  /** @description The checkout session setup intent ID. */
2495
2552
  setupIntentId: string;
2553
+ /** @description The client secret of the checkout session.
2554
+ * This can be used to initialize Stripe.js for your client-side implementation. */
2555
+ clientSecret?: string;
2556
+ /** @description A unique string to reference the Checkout Session.
2557
+ * This can be a customer ID, a cart ID, or similar, and can be used to reconcile the session with your internal systems. */
2558
+ clientReferenceId?: string;
2559
+ /** @description Customer's email address provided to Stripe. */
2560
+ customerEmail?: string;
2561
+ /** @description Three-letter ISO currency code, in lowercase. */
2562
+ currency?: components['schemas']['CurrencyCode'];
2563
+ /**
2564
+ * Format: date-time
2565
+ * @description Timestamp at which the checkout session was created.
2566
+ * @example 2023-01-01T01:01:01.001Z
2567
+ */
2568
+ createdAt: Date;
2569
+ /**
2570
+ * Format: date-time
2571
+ * @description Timestamp at which the checkout session will expire.
2572
+ * @example 2023-01-01T01:01:01.001Z
2573
+ */
2574
+ expiresAt?: Date;
2575
+ /** @description Set of key-value pairs attached to the checkout session. */
2576
+ metadata?: {
2577
+ [key: string]: string;
2578
+ };
2579
+ /** @description The status of the checkout session. */
2580
+ status?: string;
2496
2581
  /** @description URL to show the checkout session. */
2497
2582
  url?: string;
2498
2583
  /** @description Mode
@@ -2877,7 +2962,7 @@ export interface components {
2877
2962
  * Percentage
2878
2963
  * @description The percentage of the discount.
2879
2964
  */
2880
- percentage: number;
2965
+ percentage: components['schemas']['Percentage'];
2881
2966
  /**
2882
2967
  * Discounted RateCards
2883
2968
  * @description The rate cards that the discount applies to.
@@ -4157,7 +4242,7 @@ export interface components {
4157
4242
  * @description InvoiceExpand specifies the parts of the invoice to expand in the list output.
4158
4243
  * @enum {string}
4159
4244
  */
4160
- InvoiceExpand: '*' | 'lines' | 'preceding' | 'workflow.apps';
4245
+ InvoiceExpand: 'lines' | 'preceding' | 'workflow.apps';
4161
4246
  /**
4162
4247
  * @description InvoiceFlatFeeCategory determines if the flat fee is a regular fee due to use due to a
4163
4248
  * commitment.
@@ -5927,8 +6012,14 @@ export interface components {
5927
6012
  };
5928
6013
  /** @description PaymentTerms defines the terms for payment. */
5929
6014
  PaymentTerms: components['schemas']['PaymentTermInstant'] | components['schemas']['PaymentTermDueDate'];
5930
- /** @description Numeric representation of a percentage */
5931
- Percentage: string;
6015
+ /**
6016
+ * Format: double
6017
+ * @description Numeric representation of a percentage
6018
+ *
6019
+ * 50% is represented as 50
6020
+ * @example 50
6021
+ */
6022
+ Percentage: number;
5932
6023
  /** @description A period with a start and end time. */
5933
6024
  Period: {
5934
6025
  /**
@@ -7217,13 +7308,9 @@ export interface components {
7217
7308
  * Price
7218
7309
  * @description The price of the rate card.
7219
7310
  * When null, the feature or service is free.
7220
- * @example {
7221
- * "type": "flat",
7222
- * "amount": "100",
7223
- * "paymentTerm": "in_arrears"
7224
- * }
7311
+ * @example {}
7225
7312
  */
7226
- price: (components['schemas']['FlatPriceWithPaymentTerm'] | null) | (components['schemas']['UnitPriceWithCommitments'] | null) | (components['schemas']['TieredPriceWithCommitments'] | null);
7313
+ price: components['schemas']['SubscriptionItemPrice'] | null;
7227
7314
  /** @description Describes what access is gained via the SubscriptionItem */
7228
7315
  included?: components['schemas']['SubscriptionItemIncluded'];
7229
7316
  /**
@@ -7240,6 +7327,28 @@ export interface components {
7240
7327
  /** @description The entitlement of the Subscription Item. */
7241
7328
  entitlement?: components['schemas']['Entitlement'];
7242
7329
  };
7330
+ /** @description The price of the Subscription Item. */
7331
+ SubscriptionItemPrice: components['schemas']['FlatPriceWithPaymentTerm'] | components['schemas']['UnitPriceWithCommitments'] | components['schemas']['TieredPriceWithCommitments'];
7332
+ /** @description Paginated response */
7333
+ SubscriptionPaginatedResponse: {
7334
+ /**
7335
+ * @description The items in the current page.
7336
+ * @example 500
7337
+ */
7338
+ totalCount: number;
7339
+ /**
7340
+ * @description The items in the current page.
7341
+ * @example 1
7342
+ */
7343
+ page: number;
7344
+ /**
7345
+ * @description The items in the current page.
7346
+ * @example 100
7347
+ */
7348
+ pageSize: number;
7349
+ /** @description The items in the current page. */
7350
+ items: components['schemas']['Subscription'][];
7351
+ };
7243
7352
  /** @description Subscription phase create input. */
7244
7353
  SubscriptionPhaseCreate: {
7245
7354
  /**
@@ -7348,7 +7457,7 @@ export interface components {
7348
7457
  * @description Subscription status.
7349
7458
  * @enum {string}
7350
7459
  */
7351
- SubscriptionStatus: 'active' | 'inactive' | 'canceled';
7460
+ SubscriptionStatus: 'active' | 'inactive' | 'canceled' | 'scheduled';
7352
7461
  /** @description Subscription edit timing defined when the changes should take effect.
7353
7462
  * If the provided configuration is not supported by the subscription, an error will be returned. */
7354
7463
  SubscriptionTiming: components['schemas']['SubscriptionTimingEnum'] | Date;
@@ -7654,6 +7763,24 @@ export interface components {
7654
7763
  'BillingProfileCustomerOverrideOrderByOrdering.order': components['schemas']['SortOrder'];
7655
7764
  /** @description The order by field. */
7656
7765
  'BillingProfileCustomerOverrideOrderByOrdering.orderBy': components['schemas']['BillingProfileCustomerOverrideOrderBy'];
7766
+ /** @description Filter by billing profile. */
7767
+ 'BillingProfileListCustomerOverridesParams.billingProfile': string[];
7768
+ /** @description Filter by customer id. */
7769
+ 'BillingProfileListCustomerOverridesParams.customerId': string[];
7770
+ /** @description Filter by customer key */
7771
+ 'BillingProfileListCustomerOverridesParams.customerKey': string;
7772
+ /** @description Filter by customer name. */
7773
+ 'BillingProfileListCustomerOverridesParams.customerName': string;
7774
+ /** @description Filter by customer primary email */
7775
+ 'BillingProfileListCustomerOverridesParams.customerPrimaryEmail': string;
7776
+ /** @description Expand the response with additional details. */
7777
+ 'BillingProfileListCustomerOverridesParams.expand': components['schemas']['BillingProfileCustomerOverrideExpand'][];
7778
+ /** @description Include customers without customer overrides.
7779
+ *
7780
+ * If set to false only the customers specifically associated with a billing profile will be returned.
7781
+ *
7782
+ * If set to true, in case of the default billing profile, all customers will be returned. */
7783
+ 'BillingProfileListCustomerOverridesParams.includeAllCustomers': boolean;
7657
7784
  /** @description The order direction. */
7658
7785
  'BillingProfileOrderByOrdering.order': components['schemas']['SortOrder'];
7659
7786
  /** @description The order by field. */
@@ -7812,6 +7939,7 @@ export type AppStatus = components['schemas']['AppStatus'];
7812
7939
  export type AppType = components['schemas']['AppType'];
7813
7940
  export type BadRequestProblemResponse = components['schemas']['BadRequestProblemResponse'];
7814
7941
  export type BalanceHistoryWindow = components['schemas']['BalanceHistoryWindow'];
7942
+ export type BillingCustomerProfile = components['schemas']['BillingCustomerProfile'];
7815
7943
  export type BillingLineCharge = components['schemas']['BillingLineCharge'];
7816
7944
  export type BillingParty = components['schemas']['BillingParty'];
7817
7945
  export type BillingPartyReplaceUpdate = components['schemas']['BillingPartyReplaceUpdate'];
@@ -7824,10 +7952,10 @@ export type BillingProfileAppsOrReference = components['schemas']['BillingProfil
7824
7952
  export type BillingProfileCreate = components['schemas']['BillingProfileCreate'];
7825
7953
  export type BillingProfileCustomerOverride = components['schemas']['BillingProfileCustomerOverride'];
7826
7954
  export type BillingProfileCustomerOverrideCreate = components['schemas']['BillingProfileCustomerOverrideCreate'];
7955
+ export type BillingProfileCustomerOverrideExpand = components['schemas']['BillingProfileCustomerOverrideExpand'];
7827
7956
  export type BillingProfileCustomerOverrideOrderBy = components['schemas']['BillingProfileCustomerOverrideOrderBy'];
7828
- export type BillingProfileCustomerOverridePaginatedResponse = components['schemas']['BillingProfileCustomerOverridePaginatedResponse'];
7829
- export type BillingProfileCustomerWorkflowOverride = components['schemas']['BillingProfileCustomerWorkflowOverride'];
7830
- export type BillingProfileCustomerWorkflowOverrideCreate = components['schemas']['BillingProfileCustomerWorkflowOverrideCreate'];
7957
+ export type BillingProfileCustomerOverrideWithDetails = components['schemas']['BillingProfileCustomerOverrideWithDetails'];
7958
+ export type BillingProfileCustomerOverrideWithDetailsPaginatedResponse = components['schemas']['BillingProfileCustomerOverrideWithDetailsPaginatedResponse'];
7831
7959
  export type BillingProfileExpand = components['schemas']['BillingProfileExpand'];
7832
7960
  export type BillingProfileOrderBy = components['schemas']['BillingProfileOrderBy'];
7833
7961
  export type BillingProfilePaginatedResponse = components['schemas']['BillingProfilePaginatedResponse'];
@@ -8068,6 +8196,8 @@ export type SubscriptionEditOperation = components['schemas']['SubscriptionEditO
8068
8196
  export type SubscriptionExpanded = components['schemas']['SubscriptionExpanded'];
8069
8197
  export type SubscriptionItem = components['schemas']['SubscriptionItem'];
8070
8198
  export type SubscriptionItemIncluded = components['schemas']['SubscriptionItemIncluded'];
8199
+ export type SubscriptionItemPrice = components['schemas']['SubscriptionItemPrice'];
8200
+ export type SubscriptionPaginatedResponse = components['schemas']['SubscriptionPaginatedResponse'];
8071
8201
  export type SubscriptionPhaseCreate = components['schemas']['SubscriptionPhaseCreate'];
8072
8202
  export type SubscriptionPhaseExpanded = components['schemas']['SubscriptionPhaseExpanded'];
8073
8203
  export type SubscriptionStatus = components['schemas']['SubscriptionStatus'];
@@ -8097,6 +8227,13 @@ export type WindowSize = components['schemas']['WindowSize'];
8097
8227
  export type WindowedBalanceHistory = components['schemas']['WindowedBalanceHistory'];
8098
8228
  export type ParameterBillingProfileCustomerOverrideOrderByOrderingOrder = components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.order'];
8099
8229
  export type ParameterBillingProfileCustomerOverrideOrderByOrderingOrderBy = components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.orderBy'];
8230
+ export type ParameterBillingProfileListCustomerOverridesParamsBillingProfile = components['parameters']['BillingProfileListCustomerOverridesParams.billingProfile'];
8231
+ export type ParameterBillingProfileListCustomerOverridesParamsCustomerId = components['parameters']['BillingProfileListCustomerOverridesParams.customerId'];
8232
+ export type ParameterBillingProfileListCustomerOverridesParamsCustomerKey = components['parameters']['BillingProfileListCustomerOverridesParams.customerKey'];
8233
+ export type ParameterBillingProfileListCustomerOverridesParamsCustomerName = components['parameters']['BillingProfileListCustomerOverridesParams.customerName'];
8234
+ export type ParameterBillingProfileListCustomerOverridesParamsCustomerPrimaryEmail = components['parameters']['BillingProfileListCustomerOverridesParams.customerPrimaryEmail'];
8235
+ export type ParameterBillingProfileListCustomerOverridesParamsExpand = components['parameters']['BillingProfileListCustomerOverridesParams.expand'];
8236
+ export type ParameterBillingProfileListCustomerOverridesParamsIncludeAllCustomers = components['parameters']['BillingProfileListCustomerOverridesParams.includeAllCustomers'];
8100
8237
  export type ParameterBillingProfileOrderByOrderingOrder = components['parameters']['BillingProfileOrderByOrdering.order'];
8101
8238
  export type ParameterBillingProfileOrderByOrderingOrderBy = components['parameters']['BillingProfileOrderByOrdering.orderBy'];
8102
8239
  export type ParameterCustomerOrderByOrderingOrder = components['parameters']['CustomerOrderByOrdering.order'];
@@ -8204,6 +8341,15 @@ export interface operations {
8204
8341
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
8205
8342
  };
8206
8343
  };
8344
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
8345
+ 412: {
8346
+ headers: {
8347
+ [name: string]: unknown;
8348
+ };
8349
+ content: {
8350
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
8351
+ };
8352
+ };
8207
8353
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
8208
8354
  500: {
8209
8355
  headers: {
@@ -8289,6 +8435,15 @@ export interface operations {
8289
8435
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
8290
8436
  };
8291
8437
  };
8438
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
8439
+ 412: {
8440
+ headers: {
8441
+ [name: string]: unknown;
8442
+ };
8443
+ content: {
8444
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
8445
+ };
8446
+ };
8292
8447
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
8293
8448
  500: {
8294
8449
  headers: {
@@ -8378,6 +8533,15 @@ export interface operations {
8378
8533
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
8379
8534
  };
8380
8535
  };
8536
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
8537
+ 412: {
8538
+ headers: {
8539
+ [name: string]: unknown;
8540
+ };
8541
+ content: {
8542
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
8543
+ };
8544
+ };
8381
8545
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
8382
8546
  500: {
8383
8547
  headers: {
@@ -8461,6 +8625,15 @@ export interface operations {
8461
8625
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
8462
8626
  };
8463
8627
  };
8628
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
8629
+ 412: {
8630
+ headers: {
8631
+ [name: string]: unknown;
8632
+ };
8633
+ content: {
8634
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
8635
+ };
8636
+ };
8464
8637
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
8465
8638
  500: {
8466
8639
  headers: {
@@ -8539,6 +8712,15 @@ export interface operations {
8539
8712
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
8540
8713
  };
8541
8714
  };
8715
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
8716
+ 412: {
8717
+ headers: {
8718
+ [name: string]: unknown;
8719
+ };
8720
+ content: {
8721
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
8722
+ };
8723
+ };
8542
8724
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
8543
8725
  500: {
8544
8726
  headers: {
@@ -8628,6 +8810,15 @@ export interface operations {
8628
8810
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
8629
8811
  };
8630
8812
  };
8813
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
8814
+ 412: {
8815
+ headers: {
8816
+ [name: string]: unknown;
8817
+ };
8818
+ content: {
8819
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
8820
+ };
8821
+ };
8631
8822
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
8632
8823
  500: {
8633
8824
  headers: {
@@ -8660,7 +8851,28 @@ export interface operations {
8660
8851
  listBillingProfileCustomerOverrides: {
8661
8852
  parameters: {
8662
8853
  query?: {
8663
- billingProfile?: string[];
8854
+ /** @description Filter by billing profile. */
8855
+ billingProfile?: components['parameters']['BillingProfileListCustomerOverridesParams.billingProfile'];
8856
+ /** @description Include customers without customer overrides.
8857
+ *
8858
+ * If set to false only the customers specifically associated with a billing profile will be returned.
8859
+ *
8860
+ * If set to true, in case of the default billing profile, all customers will be returned. */
8861
+ includeAllCustomers?: components['parameters']['BillingProfileListCustomerOverridesParams.includeAllCustomers'];
8862
+ /** @description Filter by customer id. */
8863
+ customerId?: components['parameters']['BillingProfileListCustomerOverridesParams.customerId'];
8864
+ /** @description Filter by customer name. */
8865
+ customerName?: components['parameters']['BillingProfileListCustomerOverridesParams.customerName'];
8866
+ /** @description Filter by customer key */
8867
+ customerKey?: components['parameters']['BillingProfileListCustomerOverridesParams.customerKey'];
8868
+ /** @description Filter by customer primary email */
8869
+ customerPrimaryEmail?: components['parameters']['BillingProfileListCustomerOverridesParams.customerPrimaryEmail'];
8870
+ /** @description Expand the response with additional details. */
8871
+ expand?: components['parameters']['BillingProfileListCustomerOverridesParams.expand'];
8872
+ /** @description The order direction. */
8873
+ order?: components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.order'];
8874
+ /** @description The order by field. */
8875
+ orderBy?: components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.orderBy'];
8664
8876
  /** @description Start date-time in RFC 3339 format.
8665
8877
  *
8666
8878
  * Inclusive. */
@@ -8669,18 +8881,6 @@ export interface operations {
8669
8881
  *
8670
8882
  * Default is 100. */
8671
8883
  pageSize?: components['parameters']['Pagination.pageSize'];
8672
- /** @description Number of items to skip.
8673
- *
8674
- * Default is 0. */
8675
- offset?: components['parameters']['LimitOffset.offset'];
8676
- /** @description Number of items to return.
8677
- *
8678
- * Default is 100. */
8679
- limit?: components['parameters']['LimitOffset.limit'];
8680
- /** @description The order direction. */
8681
- order?: components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.order'];
8682
- /** @description The order by field. */
8683
- orderBy?: components['parameters']['BillingProfileCustomerOverrideOrderByOrdering.orderBy'];
8684
8884
  };
8685
8885
  header?: never;
8686
8886
  path?: never;
@@ -8694,7 +8894,7 @@ export interface operations {
8694
8894
  [name: string]: unknown;
8695
8895
  };
8696
8896
  content: {
8697
- 'application/json': components['schemas']['BillingProfileCustomerOverridePaginatedResponse'];
8897
+ 'application/json': components['schemas']['BillingProfileCustomerOverrideWithDetailsPaginatedResponse'];
8698
8898
  };
8699
8899
  };
8700
8900
  /** @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). */
@@ -8724,6 +8924,15 @@ export interface operations {
8724
8924
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
8725
8925
  };
8726
8926
  };
8927
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
8928
+ 412: {
8929
+ headers: {
8930
+ [name: string]: unknown;
8931
+ };
8932
+ content: {
8933
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
8934
+ };
8935
+ };
8727
8936
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
8728
8937
  500: {
8729
8938
  headers: {
@@ -8755,7 +8964,9 @@ export interface operations {
8755
8964
  };
8756
8965
  getBillingProfileCustomerOverride: {
8757
8966
  parameters: {
8758
- query?: never;
8967
+ query?: {
8968
+ expand?: components['schemas']['BillingProfileCustomerOverrideExpand'][];
8969
+ };
8759
8970
  header?: never;
8760
8971
  path: {
8761
8972
  customerId: string;
@@ -8770,7 +8981,7 @@ export interface operations {
8770
8981
  [name: string]: unknown;
8771
8982
  };
8772
8983
  content: {
8773
- 'application/json': components['schemas']['BillingProfileCustomerOverride'];
8984
+ 'application/json': components['schemas']['BillingProfileCustomerOverrideWithDetails'];
8774
8985
  };
8775
8986
  };
8776
8987
  /** @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). */
@@ -8809,6 +9020,15 @@ export interface operations {
8809
9020
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
8810
9021
  };
8811
9022
  };
9023
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
9024
+ 412: {
9025
+ headers: {
9026
+ [name: string]: unknown;
9027
+ };
9028
+ content: {
9029
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
9030
+ };
9031
+ };
8812
9032
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
8813
9033
  500: {
8814
9034
  headers: {
@@ -8859,16 +9079,7 @@ export interface operations {
8859
9079
  [name: string]: unknown;
8860
9080
  };
8861
9081
  content: {
8862
- 'application/json': components['schemas']['BillingProfileCustomerOverride'] | components['schemas']['BillingProfileCustomerOverride'];
8863
- };
8864
- };
8865
- /** @description The request has succeeded and a new resource has been created as a result. */
8866
- 201: {
8867
- headers: {
8868
- [name: string]: unknown;
8869
- };
8870
- content: {
8871
- 'application/json': components['schemas']['BillingProfileCustomerOverride'];
9082
+ 'application/json': components['schemas']['BillingProfileCustomerOverrideWithDetails'];
8872
9083
  };
8873
9084
  };
8874
9085
  /** @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). */
@@ -8907,6 +9118,15 @@ export interface operations {
8907
9118
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
8908
9119
  };
8909
9120
  };
9121
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
9122
+ 412: {
9123
+ headers: {
9124
+ [name: string]: unknown;
9125
+ };
9126
+ content: {
9127
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
9128
+ };
9129
+ };
8910
9130
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
8911
9131
  500: {
8912
9132
  headers: {
@@ -8990,6 +9210,15 @@ export interface operations {
8990
9210
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
8991
9211
  };
8992
9212
  };
9213
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
9214
+ 412: {
9215
+ headers: {
9216
+ [name: string]: unknown;
9217
+ };
9218
+ content: {
9219
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
9220
+ };
9221
+ };
8993
9222
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
8994
9223
  500: {
8995
9224
  headers: {
@@ -9070,6 +9299,15 @@ export interface operations {
9070
9299
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
9071
9300
  };
9072
9301
  };
9302
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
9303
+ 412: {
9304
+ headers: {
9305
+ [name: string]: unknown;
9306
+ };
9307
+ content: {
9308
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
9309
+ };
9310
+ };
9073
9311
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
9074
9312
  500: {
9075
9313
  headers: {
@@ -9124,14 +9362,6 @@ export interface operations {
9124
9362
  *
9125
9363
  * Default is 100. */
9126
9364
  pageSize?: components['parameters']['Pagination.pageSize'];
9127
- /** @description Number of items to skip.
9128
- *
9129
- * Default is 0. */
9130
- offset?: components['parameters']['LimitOffset.offset'];
9131
- /** @description Number of items to return.
9132
- *
9133
- * Default is 100. */
9134
- limit?: components['parameters']['LimitOffset.limit'];
9135
9365
  /** @description The order direction. */
9136
9366
  order?: components['parameters']['InvoiceOrderByOrdering.order'];
9137
9367
  /** @description The order by field. */
@@ -9179,6 +9409,15 @@ export interface operations {
9179
9409
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
9180
9410
  };
9181
9411
  };
9412
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
9413
+ 412: {
9414
+ headers: {
9415
+ [name: string]: unknown;
9416
+ };
9417
+ content: {
9418
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
9419
+ };
9420
+ };
9182
9421
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
9183
9422
  500: {
9184
9423
  headers: {
@@ -9257,6 +9496,15 @@ export interface operations {
9257
9496
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
9258
9497
  };
9259
9498
  };
9499
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
9500
+ 412: {
9501
+ headers: {
9502
+ [name: string]: unknown;
9503
+ };
9504
+ content: {
9505
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
9506
+ };
9507
+ };
9260
9508
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
9261
9509
  500: {
9262
9510
  headers: {
@@ -9335,6 +9583,15 @@ export interface operations {
9335
9583
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
9336
9584
  };
9337
9585
  };
9586
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
9587
+ 412: {
9588
+ headers: {
9589
+ [name: string]: unknown;
9590
+ };
9591
+ content: {
9592
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
9593
+ };
9594
+ };
9338
9595
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
9339
9596
  500: {
9340
9597
  headers: {
@@ -9423,6 +9680,15 @@ export interface operations {
9423
9680
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
9424
9681
  };
9425
9682
  };
9683
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
9684
+ 412: {
9685
+ headers: {
9686
+ [name: string]: unknown;
9687
+ };
9688
+ content: {
9689
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
9690
+ };
9691
+ };
9426
9692
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
9427
9693
  500: {
9428
9694
  headers: {
@@ -9512,7 +9778,16 @@ export interface operations {
9512
9778
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
9513
9779
  };
9514
9780
  };
9515
- /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
9781
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
9782
+ 412: {
9783
+ headers: {
9784
+ [name: string]: unknown;
9785
+ };
9786
+ content: {
9787
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
9788
+ };
9789
+ };
9790
+ /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
9516
9791
  500: {
9517
9792
  headers: {
9518
9793
  [name: string]: unknown;
@@ -9595,6 +9870,15 @@ export interface operations {
9595
9870
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
9596
9871
  };
9597
9872
  };
9873
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
9874
+ 412: {
9875
+ headers: {
9876
+ [name: string]: unknown;
9877
+ };
9878
+ content: {
9879
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
9880
+ };
9881
+ };
9598
9882
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
9599
9883
  500: {
9600
9884
  headers: {
@@ -9680,6 +9964,15 @@ export interface operations {
9680
9964
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
9681
9965
  };
9682
9966
  };
9967
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
9968
+ 412: {
9969
+ headers: {
9970
+ [name: string]: unknown;
9971
+ };
9972
+ content: {
9973
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
9974
+ };
9975
+ };
9683
9976
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
9684
9977
  500: {
9685
9978
  headers: {
@@ -9765,6 +10058,15 @@ export interface operations {
9765
10058
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
9766
10059
  };
9767
10060
  };
10061
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
10062
+ 412: {
10063
+ headers: {
10064
+ [name: string]: unknown;
10065
+ };
10066
+ content: {
10067
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
10068
+ };
10069
+ };
9768
10070
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
9769
10071
  500: {
9770
10072
  headers: {
@@ -9850,6 +10152,15 @@ export interface operations {
9850
10152
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
9851
10153
  };
9852
10154
  };
10155
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
10156
+ 412: {
10157
+ headers: {
10158
+ [name: string]: unknown;
10159
+ };
10160
+ content: {
10161
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
10162
+ };
10163
+ };
9853
10164
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
9854
10165
  500: {
9855
10166
  headers: {
@@ -9935,6 +10246,15 @@ export interface operations {
9935
10246
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
9936
10247
  };
9937
10248
  };
10249
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
10250
+ 412: {
10251
+ headers: {
10252
+ [name: string]: unknown;
10253
+ };
10254
+ content: {
10255
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
10256
+ };
10257
+ };
9938
10258
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
9939
10259
  500: {
9940
10260
  headers: {
@@ -10024,6 +10344,15 @@ export interface operations {
10024
10344
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
10025
10345
  };
10026
10346
  };
10347
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
10348
+ 412: {
10349
+ headers: {
10350
+ [name: string]: unknown;
10351
+ };
10352
+ content: {
10353
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
10354
+ };
10355
+ };
10027
10356
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
10028
10357
  500: {
10029
10358
  headers: {
@@ -10066,14 +10395,6 @@ export interface operations {
10066
10395
  *
10067
10396
  * Default is 100. */
10068
10397
  pageSize?: components['parameters']['Pagination.pageSize'];
10069
- /** @description Number of items to skip.
10070
- *
10071
- * Default is 0. */
10072
- offset?: components['parameters']['LimitOffset.offset'];
10073
- /** @description Number of items to return.
10074
- *
10075
- * Default is 100. */
10076
- limit?: components['parameters']['LimitOffset.limit'];
10077
10398
  /** @description The order direction. */
10078
10399
  order?: components['parameters']['BillingProfileOrderByOrdering.order'];
10079
10400
  /** @description The order by field. */
@@ -10121,6 +10442,15 @@ export interface operations {
10121
10442
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
10122
10443
  };
10123
10444
  };
10445
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
10446
+ 412: {
10447
+ headers: {
10448
+ [name: string]: unknown;
10449
+ };
10450
+ content: {
10451
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
10452
+ };
10453
+ };
10124
10454
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
10125
10455
  500: {
10126
10456
  headers: {
@@ -10199,6 +10529,15 @@ export interface operations {
10199
10529
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
10200
10530
  };
10201
10531
  };
10532
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
10533
+ 412: {
10534
+ headers: {
10535
+ [name: string]: unknown;
10536
+ };
10537
+ content: {
10538
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
10539
+ };
10540
+ };
10202
10541
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
10203
10542
  500: {
10204
10543
  headers: {
@@ -10286,6 +10625,15 @@ export interface operations {
10286
10625
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
10287
10626
  };
10288
10627
  };
10628
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
10629
+ 412: {
10630
+ headers: {
10631
+ [name: string]: unknown;
10632
+ };
10633
+ content: {
10634
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
10635
+ };
10636
+ };
10289
10637
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
10290
10638
  500: {
10291
10639
  headers: {
@@ -10375,6 +10723,15 @@ export interface operations {
10375
10723
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
10376
10724
  };
10377
10725
  };
10726
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
10727
+ 412: {
10728
+ headers: {
10729
+ [name: string]: unknown;
10730
+ };
10731
+ content: {
10732
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
10733
+ };
10734
+ };
10378
10735
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
10379
10736
  500: {
10380
10737
  headers: {
@@ -10458,6 +10815,15 @@ export interface operations {
10458
10815
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
10459
10816
  };
10460
10817
  };
10818
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
10819
+ 412: {
10820
+ headers: {
10821
+ [name: string]: unknown;
10822
+ };
10823
+ content: {
10824
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
10825
+ };
10826
+ };
10461
10827
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
10462
10828
  500: {
10463
10829
  headers: {
@@ -10557,6 +10923,15 @@ export interface operations {
10557
10923
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
10558
10924
  };
10559
10925
  };
10926
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
10927
+ 412: {
10928
+ headers: {
10929
+ [name: string]: unknown;
10930
+ };
10931
+ content: {
10932
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
10933
+ };
10934
+ };
10560
10935
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
10561
10936
  500: {
10562
10937
  headers: {
@@ -10635,6 +11010,15 @@ export interface operations {
10635
11010
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
10636
11011
  };
10637
11012
  };
11013
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
11014
+ 412: {
11015
+ headers: {
11016
+ [name: string]: unknown;
11017
+ };
11018
+ content: {
11019
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
11020
+ };
11021
+ };
10638
11022
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
10639
11023
  500: {
10640
11024
  headers: {
@@ -10727,6 +11111,15 @@ export interface operations {
10727
11111
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
10728
11112
  };
10729
11113
  };
11114
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
11115
+ 412: {
11116
+ headers: {
11117
+ [name: string]: unknown;
11118
+ };
11119
+ content: {
11120
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
11121
+ };
11122
+ };
10730
11123
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
10731
11124
  500: {
10732
11125
  headers: {
@@ -10816,6 +11209,15 @@ export interface operations {
10816
11209
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
10817
11210
  };
10818
11211
  };
11212
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
11213
+ 412: {
11214
+ headers: {
11215
+ [name: string]: unknown;
11216
+ };
11217
+ content: {
11218
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
11219
+ };
11220
+ };
10819
11221
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
10820
11222
  500: {
10821
11223
  headers: {
@@ -10900,6 +11302,15 @@ export interface operations {
10900
11302
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
10901
11303
  };
10902
11304
  };
11305
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
11306
+ 412: {
11307
+ headers: {
11308
+ [name: string]: unknown;
11309
+ };
11310
+ content: {
11311
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
11312
+ };
11313
+ };
10903
11314
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
10904
11315
  500: {
10905
11316
  headers: {
@@ -10988,6 +11399,114 @@ export interface operations {
10988
11399
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
10989
11400
  };
10990
11401
  };
11402
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
11403
+ 412: {
11404
+ headers: {
11405
+ [name: string]: unknown;
11406
+ };
11407
+ content: {
11408
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
11409
+ };
11410
+ };
11411
+ /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
11412
+ 500: {
11413
+ headers: {
11414
+ [name: string]: unknown;
11415
+ };
11416
+ content: {
11417
+ 'application/problem+json': components['schemas']['InternalServerErrorProblemResponse'];
11418
+ };
11419
+ };
11420
+ /** @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. */
11421
+ 503: {
11422
+ headers: {
11423
+ [name: string]: unknown;
11424
+ };
11425
+ content: {
11426
+ 'application/problem+json': components['schemas']['ServiceUnavailableProblemResponse'];
11427
+ };
11428
+ };
11429
+ /** @description An unexpected error response. */
11430
+ default: {
11431
+ headers: {
11432
+ [name: string]: unknown;
11433
+ };
11434
+ content: {
11435
+ 'application/problem+json': components['schemas']['UnexpectedProblemResponse'];
11436
+ };
11437
+ };
11438
+ };
11439
+ };
11440
+ listCustomerSubscriptions: {
11441
+ parameters: {
11442
+ query?: {
11443
+ /** @description The page number. */
11444
+ page?: components['parameters']['PaginatedQuery.page'];
11445
+ /** @description The number of items in the page. */
11446
+ pageSize?: components['parameters']['PaginatedQuery.pageSize'];
11447
+ };
11448
+ header?: never;
11449
+ path: {
11450
+ customerId: string;
11451
+ };
11452
+ cookie?: never;
11453
+ };
11454
+ requestBody?: never;
11455
+ responses: {
11456
+ /** @description The request has succeeded. */
11457
+ 200: {
11458
+ headers: {
11459
+ [name: string]: unknown;
11460
+ };
11461
+ content: {
11462
+ 'application/json': components['schemas']['SubscriptionPaginatedResponse'];
11463
+ };
11464
+ };
11465
+ /** @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). */
11466
+ 400: {
11467
+ headers: {
11468
+ [name: string]: unknown;
11469
+ };
11470
+ content: {
11471
+ 'application/problem+json': components['schemas']['BadRequestProblemResponse'];
11472
+ };
11473
+ };
11474
+ /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
11475
+ 401: {
11476
+ headers: {
11477
+ [name: string]: unknown;
11478
+ };
11479
+ content: {
11480
+ 'application/problem+json': components['schemas']['UnauthorizedProblemResponse'];
11481
+ };
11482
+ };
11483
+ /** @description The server understood the request but refuses to authorize it. */
11484
+ 403: {
11485
+ headers: {
11486
+ [name: string]: unknown;
11487
+ };
11488
+ content: {
11489
+ 'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
11490
+ };
11491
+ };
11492
+ /** @description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. */
11493
+ 404: {
11494
+ headers: {
11495
+ [name: string]: unknown;
11496
+ };
11497
+ content: {
11498
+ 'application/problem+json': components['schemas']['NotFoundProblemResponse'];
11499
+ };
11500
+ };
11501
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
11502
+ 412: {
11503
+ headers: {
11504
+ [name: string]: unknown;
11505
+ };
11506
+ content: {
11507
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
11508
+ };
11509
+ };
10991
11510
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
10992
11511
  500: {
10993
11512
  headers: {
@@ -11073,6 +11592,15 @@ export interface operations {
11073
11592
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
11074
11593
  };
11075
11594
  };
11595
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
11596
+ 412: {
11597
+ headers: {
11598
+ [name: string]: unknown;
11599
+ };
11600
+ content: {
11601
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
11602
+ };
11603
+ };
11076
11604
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
11077
11605
  500: {
11078
11606
  headers: {
@@ -11162,6 +11690,15 @@ export interface operations {
11162
11690
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
11163
11691
  };
11164
11692
  };
11693
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
11694
+ 412: {
11695
+ headers: {
11696
+ [name: string]: unknown;
11697
+ };
11698
+ content: {
11699
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
11700
+ };
11701
+ };
11165
11702
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
11166
11703
  500: {
11167
11704
  headers: {
@@ -11245,6 +11782,15 @@ export interface operations {
11245
11782
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
11246
11783
  };
11247
11784
  };
11785
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
11786
+ 412: {
11787
+ headers: {
11788
+ [name: string]: unknown;
11789
+ };
11790
+ content: {
11791
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
11792
+ };
11793
+ };
11248
11794
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
11249
11795
  500: {
11250
11796
  headers: {
@@ -11319,6 +11865,15 @@ export interface operations {
11319
11865
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
11320
11866
  };
11321
11867
  };
11868
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
11869
+ 412: {
11870
+ headers: {
11871
+ [name: string]: unknown;
11872
+ };
11873
+ content: {
11874
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
11875
+ };
11876
+ };
11322
11877
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
11323
11878
  500: {
11324
11879
  headers: {
@@ -11428,6 +11983,15 @@ export interface operations {
11428
11983
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
11429
11984
  };
11430
11985
  };
11986
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
11987
+ 412: {
11988
+ headers: {
11989
+ [name: string]: unknown;
11990
+ };
11991
+ content: {
11992
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
11993
+ };
11994
+ };
11431
11995
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
11432
11996
  500: {
11433
11997
  headers: {
@@ -11513,6 +12077,15 @@ export interface operations {
11513
12077
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
11514
12078
  };
11515
12079
  };
12080
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
12081
+ 412: {
12082
+ headers: {
12083
+ [name: string]: unknown;
12084
+ };
12085
+ content: {
12086
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
12087
+ };
12088
+ };
11516
12089
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
11517
12090
  500: {
11518
12091
  headers: {
@@ -11617,6 +12190,15 @@ export interface operations {
11617
12190
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
11618
12191
  };
11619
12192
  };
12193
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
12194
+ 412: {
12195
+ headers: {
12196
+ [name: string]: unknown;
12197
+ };
12198
+ content: {
12199
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
12200
+ };
12201
+ };
11620
12202
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
11621
12203
  500: {
11622
12204
  headers: {
@@ -11695,6 +12277,15 @@ export interface operations {
11695
12277
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
11696
12278
  };
11697
12279
  };
12280
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
12281
+ 412: {
12282
+ headers: {
12283
+ [name: string]: unknown;
12284
+ };
12285
+ content: {
12286
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
12287
+ };
12288
+ };
11698
12289
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
11699
12290
  500: {
11700
12291
  headers: {
@@ -11794,6 +12385,15 @@ export interface operations {
11794
12385
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
11795
12386
  };
11796
12387
  };
12388
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
12389
+ 412: {
12390
+ headers: {
12391
+ [name: string]: unknown;
12392
+ };
12393
+ content: {
12394
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
12395
+ };
12396
+ };
11797
12397
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
11798
12398
  500: {
11799
12399
  headers: {
@@ -11872,6 +12472,15 @@ export interface operations {
11872
12472
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
11873
12473
  };
11874
12474
  };
12475
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
12476
+ 412: {
12477
+ headers: {
12478
+ [name: string]: unknown;
12479
+ };
12480
+ content: {
12481
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
12482
+ };
12483
+ };
11875
12484
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
11876
12485
  500: {
11877
12486
  headers: {
@@ -11957,6 +12566,15 @@ export interface operations {
11957
12566
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
11958
12567
  };
11959
12568
  };
12569
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
12570
+ 412: {
12571
+ headers: {
12572
+ [name: string]: unknown;
12573
+ };
12574
+ content: {
12575
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
12576
+ };
12577
+ };
11960
12578
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
11961
12579
  500: {
11962
12580
  headers: {
@@ -12040,6 +12658,15 @@ export interface operations {
12040
12658
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
12041
12659
  };
12042
12660
  };
12661
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
12662
+ 412: {
12663
+ headers: {
12664
+ [name: string]: unknown;
12665
+ };
12666
+ content: {
12667
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
12668
+ };
12669
+ };
12043
12670
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
12044
12671
  500: {
12045
12672
  headers: {
@@ -12145,6 +12772,15 @@ export interface operations {
12145
12772
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
12146
12773
  };
12147
12774
  };
12775
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
12776
+ 412: {
12777
+ headers: {
12778
+ [name: string]: unknown;
12779
+ };
12780
+ content: {
12781
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
12782
+ };
12783
+ };
12148
12784
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
12149
12785
  500: {
12150
12786
  headers: {
@@ -12237,6 +12873,15 @@ export interface operations {
12237
12873
  'application/problem+json': components['schemas']['ConflictProblemResponse'];
12238
12874
  };
12239
12875
  };
12876
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
12877
+ 412: {
12878
+ headers: {
12879
+ [name: string]: unknown;
12880
+ };
12881
+ content: {
12882
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
12883
+ };
12884
+ };
12240
12885
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
12241
12886
  500: {
12242
12887
  headers: {
@@ -12311,6 +12956,15 @@ export interface operations {
12311
12956
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
12312
12957
  };
12313
12958
  };
12959
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
12960
+ 412: {
12961
+ headers: {
12962
+ [name: string]: unknown;
12963
+ };
12964
+ content: {
12965
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
12966
+ };
12967
+ };
12314
12968
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
12315
12969
  500: {
12316
12970
  headers: {
@@ -12396,6 +13050,15 @@ export interface operations {
12396
13050
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
12397
13051
  };
12398
13052
  };
13053
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
13054
+ 412: {
13055
+ headers: {
13056
+ [name: string]: unknown;
13057
+ };
13058
+ content: {
13059
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
13060
+ };
13061
+ };
12399
13062
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
12400
13063
  500: {
12401
13064
  headers: {
@@ -12475,6 +13138,15 @@ export interface operations {
12475
13138
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
12476
13139
  };
12477
13140
  };
13141
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
13142
+ 412: {
13143
+ headers: {
13144
+ [name: string]: unknown;
13145
+ };
13146
+ content: {
13147
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
13148
+ };
13149
+ };
12478
13150
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
12479
13151
  500: {
12480
13152
  headers: {
@@ -12551,6 +13223,15 @@ export interface operations {
12551
13223
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
12552
13224
  };
12553
13225
  };
13226
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
13227
+ 412: {
13228
+ headers: {
13229
+ [name: string]: unknown;
13230
+ };
13231
+ content: {
13232
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
13233
+ };
13234
+ };
12554
13235
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
12555
13236
  500: {
12556
13237
  headers: {
@@ -12640,6 +13321,15 @@ export interface operations {
12640
13321
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
12641
13322
  };
12642
13323
  };
13324
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
13325
+ 412: {
13326
+ headers: {
13327
+ [name: string]: unknown;
13328
+ };
13329
+ content: {
13330
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
13331
+ };
13332
+ };
12643
13333
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
12644
13334
  500: {
12645
13335
  headers: {
@@ -12716,6 +13406,15 @@ export interface operations {
12716
13406
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
12717
13407
  };
12718
13408
  };
13409
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
13410
+ 412: {
13411
+ headers: {
13412
+ [name: string]: unknown;
13413
+ };
13414
+ content: {
13415
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
13416
+ };
13417
+ };
12719
13418
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
12720
13419
  500: {
12721
13420
  headers: {
@@ -12811,6 +13510,15 @@ export interface operations {
12811
13510
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
12812
13511
  };
12813
13512
  };
13513
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
13514
+ 412: {
13515
+ headers: {
13516
+ [name: string]: unknown;
13517
+ };
13518
+ content: {
13519
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
13520
+ };
13521
+ };
12814
13522
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
12815
13523
  500: {
12816
13524
  headers: {
@@ -12885,6 +13593,15 @@ export interface operations {
12885
13593
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
12886
13594
  };
12887
13595
  };
13596
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
13597
+ 412: {
13598
+ headers: {
13599
+ [name: string]: unknown;
13600
+ };
13601
+ content: {
13602
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
13603
+ };
13604
+ };
12888
13605
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
12889
13606
  500: {
12890
13607
  headers: {
@@ -12963,6 +13680,15 @@ export interface operations {
12963
13680
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
12964
13681
  };
12965
13682
  };
13683
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
13684
+ 412: {
13685
+ headers: {
13686
+ [name: string]: unknown;
13687
+ };
13688
+ content: {
13689
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
13690
+ };
13691
+ };
12966
13692
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
12967
13693
  500: {
12968
13694
  headers: {
@@ -13048,6 +13774,15 @@ export interface operations {
13048
13774
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
13049
13775
  };
13050
13776
  };
13777
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
13778
+ 412: {
13779
+ headers: {
13780
+ [name: string]: unknown;
13781
+ };
13782
+ content: {
13783
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
13784
+ };
13785
+ };
13051
13786
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
13052
13787
  500: {
13053
13788
  headers: {
@@ -13128,6 +13863,15 @@ export interface operations {
13128
13863
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
13129
13864
  };
13130
13865
  };
13866
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
13867
+ 412: {
13868
+ headers: {
13869
+ [name: string]: unknown;
13870
+ };
13871
+ content: {
13872
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
13873
+ };
13874
+ };
13131
13875
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
13132
13876
  500: {
13133
13877
  headers: {
@@ -13202,6 +13946,15 @@ export interface operations {
13202
13946
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
13203
13947
  };
13204
13948
  };
13949
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
13950
+ 412: {
13951
+ headers: {
13952
+ [name: string]: unknown;
13953
+ };
13954
+ content: {
13955
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
13956
+ };
13957
+ };
13205
13958
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
13206
13959
  500: {
13207
13960
  headers: {
@@ -13312,6 +14065,15 @@ export interface operations {
13312
14065
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
13313
14066
  };
13314
14067
  };
14068
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
14069
+ 412: {
14070
+ headers: {
14071
+ [name: string]: unknown;
14072
+ };
14073
+ content: {
14074
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
14075
+ };
14076
+ };
13315
14077
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
13316
14078
  500: {
13317
14079
  headers: {
@@ -13388,6 +14150,15 @@ export interface operations {
13388
14150
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
13389
14151
  };
13390
14152
  };
14153
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
14154
+ 412: {
14155
+ headers: {
14156
+ [name: string]: unknown;
14157
+ };
14158
+ content: {
14159
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
14160
+ };
14161
+ };
13391
14162
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
13392
14163
  500: {
13393
14164
  headers: {
@@ -13483,6 +14254,15 @@ export interface operations {
13483
14254
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
13484
14255
  };
13485
14256
  };
14257
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
14258
+ 412: {
14259
+ headers: {
14260
+ [name: string]: unknown;
14261
+ };
14262
+ content: {
14263
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
14264
+ };
14265
+ };
13486
14266
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
13487
14267
  500: {
13488
14268
  headers: {
@@ -13561,6 +14341,15 @@ export interface operations {
13561
14341
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
13562
14342
  };
13563
14343
  };
14344
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
14345
+ 412: {
14346
+ headers: {
14347
+ [name: string]: unknown;
14348
+ };
14349
+ content: {
14350
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
14351
+ };
14352
+ };
13564
14353
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
13565
14354
  500: {
13566
14355
  headers: {
@@ -13646,6 +14435,15 @@ export interface operations {
13646
14435
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
13647
14436
  };
13648
14437
  };
14438
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
14439
+ 412: {
14440
+ headers: {
14441
+ [name: string]: unknown;
14442
+ };
14443
+ content: {
14444
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
14445
+ };
14446
+ };
13649
14447
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
13650
14448
  500: {
13651
14449
  headers: {
@@ -13735,6 +14533,15 @@ export interface operations {
13735
14533
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
13736
14534
  };
13737
14535
  };
14536
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
14537
+ 412: {
14538
+ headers: {
14539
+ [name: string]: unknown;
14540
+ };
14541
+ content: {
14542
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
14543
+ };
14544
+ };
13738
14545
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
13739
14546
  500: {
13740
14547
  headers: {
@@ -13818,6 +14625,15 @@ export interface operations {
13818
14625
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
13819
14626
  };
13820
14627
  };
14628
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
14629
+ 412: {
14630
+ headers: {
14631
+ [name: string]: unknown;
14632
+ };
14633
+ content: {
14634
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
14635
+ };
14636
+ };
13821
14637
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
13822
14638
  500: {
13823
14639
  headers: {
@@ -13927,6 +14743,15 @@ export interface operations {
13927
14743
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
13928
14744
  };
13929
14745
  };
14746
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
14747
+ 412: {
14748
+ headers: {
14749
+ [name: string]: unknown;
14750
+ };
14751
+ content: {
14752
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
14753
+ };
14754
+ };
13930
14755
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
13931
14756
  500: {
13932
14757
  headers: {
@@ -14012,6 +14837,15 @@ export interface operations {
14012
14837
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
14013
14838
  };
14014
14839
  };
14840
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
14841
+ 412: {
14842
+ headers: {
14843
+ [name: string]: unknown;
14844
+ };
14845
+ content: {
14846
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
14847
+ };
14848
+ };
14015
14849
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
14016
14850
  500: {
14017
14851
  headers: {
@@ -14115,6 +14949,15 @@ export interface operations {
14115
14949
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
14116
14950
  };
14117
14951
  };
14952
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
14953
+ 412: {
14954
+ headers: {
14955
+ [name: string]: unknown;
14956
+ };
14957
+ content: {
14958
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
14959
+ };
14960
+ };
14118
14961
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
14119
14962
  500: {
14120
14963
  headers: {
@@ -14193,6 +15036,15 @@ export interface operations {
14193
15036
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
14194
15037
  };
14195
15038
  };
15039
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
15040
+ 412: {
15041
+ headers: {
15042
+ [name: string]: unknown;
15043
+ };
15044
+ content: {
15045
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
15046
+ };
15047
+ };
14196
15048
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
14197
15049
  500: {
14198
15050
  headers: {
@@ -14278,6 +15130,15 @@ export interface operations {
14278
15130
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
14279
15131
  };
14280
15132
  };
15133
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
15134
+ 412: {
15135
+ headers: {
15136
+ [name: string]: unknown;
15137
+ };
15138
+ content: {
15139
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
15140
+ };
15141
+ };
14281
15142
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
14282
15143
  500: {
14283
15144
  headers: {
@@ -14367,6 +15228,15 @@ export interface operations {
14367
15228
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
14368
15229
  };
14369
15230
  };
15231
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
15232
+ 412: {
15233
+ headers: {
15234
+ [name: string]: unknown;
15235
+ };
15236
+ content: {
15237
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
15238
+ };
15239
+ };
14370
15240
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
14371
15241
  500: {
14372
15242
  headers: {
@@ -14450,6 +15320,15 @@ export interface operations {
14450
15320
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
14451
15321
  };
14452
15322
  };
15323
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
15324
+ 412: {
15325
+ headers: {
15326
+ [name: string]: unknown;
15327
+ };
15328
+ content: {
15329
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
15330
+ };
15331
+ };
14453
15332
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
14454
15333
  500: {
14455
15334
  headers: {
@@ -14535,6 +15414,15 @@ export interface operations {
14535
15414
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
14536
15415
  };
14537
15416
  };
15417
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
15418
+ 412: {
15419
+ headers: {
15420
+ [name: string]: unknown;
15421
+ };
15422
+ content: {
15423
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
15424
+ };
15425
+ };
14538
15426
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
14539
15427
  500: {
14540
15428
  headers: {
@@ -14611,6 +15499,15 @@ export interface operations {
14611
15499
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
14612
15500
  };
14613
15501
  };
15502
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
15503
+ 412: {
15504
+ headers: {
15505
+ [name: string]: unknown;
15506
+ };
15507
+ content: {
15508
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
15509
+ };
15510
+ };
14614
15511
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
14615
15512
  500: {
14616
15513
  headers: {
@@ -14655,6 +15552,13 @@ export interface operations {
14655
15552
  keyVersion?: {
14656
15553
  [key: string]: number[];
14657
15554
  };
15555
+ /** @description Only return plans with the given status.
15556
+ *
15557
+ * Usage:
15558
+ * - `?status=active`: return only the currently active plan
15559
+ * - `?status=draft`: return only the draft plan
15560
+ * - `?status=archived`: return only the archived plans */
15561
+ status?: components['schemas']['PlanStatus'][];
14658
15562
  /** @description Filter by plan.currency attribute */
14659
15563
  currency?: components['schemas']['CurrencyCode'][];
14660
15564
  /** @description Start date-time in RFC 3339 format.
@@ -14712,6 +15616,15 @@ export interface operations {
14712
15616
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
14713
15617
  };
14714
15618
  };
15619
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
15620
+ 412: {
15621
+ headers: {
15622
+ [name: string]: unknown;
15623
+ };
15624
+ content: {
15625
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
15626
+ };
15627
+ };
14715
15628
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
14716
15629
  500: {
14717
15630
  headers: {
@@ -14790,6 +15703,15 @@ export interface operations {
14790
15703
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
14791
15704
  };
14792
15705
  };
15706
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
15707
+ 412: {
15708
+ headers: {
15709
+ [name: string]: unknown;
15710
+ };
15711
+ content: {
15712
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
15713
+ };
15714
+ };
14793
15715
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
14794
15716
  500: {
14795
15717
  headers: {
@@ -14875,6 +15797,15 @@ export interface operations {
14875
15797
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
14876
15798
  };
14877
15799
  };
15800
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
15801
+ 412: {
15802
+ headers: {
15803
+ [name: string]: unknown;
15804
+ };
15805
+ content: {
15806
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
15807
+ };
15808
+ };
14878
15809
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
14879
15810
  500: {
14880
15811
  headers: {
@@ -14965,6 +15896,15 @@ export interface operations {
14965
15896
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
14966
15897
  };
14967
15898
  };
15899
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
15900
+ 412: {
15901
+ headers: {
15902
+ [name: string]: unknown;
15903
+ };
15904
+ content: {
15905
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
15906
+ };
15907
+ };
14968
15908
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
14969
15909
  500: {
14970
15910
  headers: {
@@ -15054,6 +15994,15 @@ export interface operations {
15054
15994
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
15055
15995
  };
15056
15996
  };
15997
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
15998
+ 412: {
15999
+ headers: {
16000
+ [name: string]: unknown;
16001
+ };
16002
+ content: {
16003
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
16004
+ };
16005
+ };
15057
16006
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
15058
16007
  500: {
15059
16008
  headers: {
@@ -15137,6 +16086,15 @@ export interface operations {
15137
16086
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
15138
16087
  };
15139
16088
  };
16089
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
16090
+ 412: {
16091
+ headers: {
16092
+ [name: string]: unknown;
16093
+ };
16094
+ content: {
16095
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
16096
+ };
16097
+ };
15140
16098
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
15141
16099
  500: {
15142
16100
  headers: {
@@ -15213,13 +16171,22 @@ export interface operations {
15213
16171
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
15214
16172
  };
15215
16173
  };
15216
- /** @description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. */
15217
- 404: {
16174
+ /** @description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. */
16175
+ 404: {
16176
+ headers: {
16177
+ [name: string]: unknown;
16178
+ };
16179
+ content: {
16180
+ 'application/problem+json': components['schemas']['NotFoundProblemResponse'];
16181
+ };
16182
+ };
16183
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
16184
+ 412: {
15218
16185
  headers: {
15219
16186
  [name: string]: unknown;
15220
16187
  };
15221
16188
  content: {
15222
- 'application/problem+json': components['schemas']['NotFoundProblemResponse'];
16189
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
15223
16190
  };
15224
16191
  };
15225
16192
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
@@ -15307,6 +16274,15 @@ export interface operations {
15307
16274
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
15308
16275
  };
15309
16276
  };
16277
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
16278
+ 412: {
16279
+ headers: {
16280
+ [name: string]: unknown;
16281
+ };
16282
+ content: {
16283
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
16284
+ };
16285
+ };
15310
16286
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
15311
16287
  500: {
15312
16288
  headers: {
@@ -15415,6 +16391,15 @@ export interface operations {
15415
16391
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
15416
16392
  };
15417
16393
  };
16394
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
16395
+ 412: {
16396
+ headers: {
16397
+ [name: string]: unknown;
16398
+ };
16399
+ content: {
16400
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
16401
+ };
16402
+ };
15418
16403
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
15419
16404
  500: {
15420
16405
  headers: {
@@ -15491,6 +16476,15 @@ export interface operations {
15491
16476
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
15492
16477
  };
15493
16478
  };
16479
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
16480
+ 412: {
16481
+ headers: {
16482
+ [name: string]: unknown;
16483
+ };
16484
+ content: {
16485
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
16486
+ };
16487
+ };
15494
16488
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
15495
16489
  500: {
15496
16490
  headers: {
@@ -15569,6 +16563,15 @@ export interface operations {
15569
16563
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
15570
16564
  };
15571
16565
  };
16566
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
16567
+ 412: {
16568
+ headers: {
16569
+ [name: string]: unknown;
16570
+ };
16571
+ content: {
16572
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
16573
+ };
16574
+ };
15572
16575
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
15573
16576
  500: {
15574
16577
  headers: {
@@ -15650,6 +16653,15 @@ export interface operations {
15650
16653
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
15651
16654
  };
15652
16655
  };
16656
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
16657
+ 412: {
16658
+ headers: {
16659
+ [name: string]: unknown;
16660
+ };
16661
+ content: {
16662
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
16663
+ };
16664
+ };
15653
16665
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
15654
16666
  500: {
15655
16667
  headers: {
@@ -15737,6 +16749,15 @@ export interface operations {
15737
16749
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
15738
16750
  };
15739
16751
  };
16752
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
16753
+ 412: {
16754
+ headers: {
16755
+ [name: string]: unknown;
16756
+ };
16757
+ content: {
16758
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
16759
+ };
16760
+ };
15740
16761
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
15741
16762
  500: {
15742
16763
  headers: {
@@ -15811,6 +16832,15 @@ export interface operations {
15811
16832
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
15812
16833
  };
15813
16834
  };
16835
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
16836
+ 412: {
16837
+ headers: {
16838
+ [name: string]: unknown;
16839
+ };
16840
+ content: {
16841
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
16842
+ };
16843
+ };
15814
16844
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
15815
16845
  500: {
15816
16846
  headers: {
@@ -15889,6 +16919,15 @@ export interface operations {
15889
16919
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
15890
16920
  };
15891
16921
  };
16922
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
16923
+ 412: {
16924
+ headers: {
16925
+ [name: string]: unknown;
16926
+ };
16927
+ content: {
16928
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
16929
+ };
16930
+ };
15892
16931
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
15893
16932
  500: {
15894
16933
  headers: {
@@ -15974,6 +17013,15 @@ export interface operations {
15974
17013
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
15975
17014
  };
15976
17015
  };
17016
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
17017
+ 412: {
17018
+ headers: {
17019
+ [name: string]: unknown;
17020
+ };
17021
+ content: {
17022
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
17023
+ };
17024
+ };
15977
17025
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
15978
17026
  500: {
15979
17027
  headers: {
@@ -16048,6 +17096,15 @@ export interface operations {
16048
17096
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
16049
17097
  };
16050
17098
  };
17099
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
17100
+ 412: {
17101
+ headers: {
17102
+ [name: string]: unknown;
17103
+ };
17104
+ content: {
17105
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
17106
+ };
17107
+ };
16051
17108
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
16052
17109
  500: {
16053
17110
  headers: {
@@ -16126,6 +17183,15 @@ export interface operations {
16126
17183
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
16127
17184
  };
16128
17185
  };
17186
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
17187
+ 412: {
17188
+ headers: {
17189
+ [name: string]: unknown;
17190
+ };
17191
+ content: {
17192
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
17193
+ };
17194
+ };
16129
17195
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
16130
17196
  500: {
16131
17197
  headers: {
@@ -16215,6 +17281,15 @@ export interface operations {
16215
17281
  'application/problem+json': components['schemas']['ConflictProblemResponse'];
16216
17282
  };
16217
17283
  };
17284
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
17285
+ 412: {
17286
+ headers: {
17287
+ [name: string]: unknown;
17288
+ };
17289
+ content: {
17290
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
17291
+ };
17292
+ };
16218
17293
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
16219
17294
  500: {
16220
17295
  headers: {
@@ -16295,6 +17370,15 @@ export interface operations {
16295
17370
  'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
16296
17371
  };
16297
17372
  };
17373
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
17374
+ 412: {
17375
+ headers: {
17376
+ [name: string]: unknown;
17377
+ };
17378
+ content: {
17379
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
17380
+ };
17381
+ };
16298
17382
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
16299
17383
  500: {
16300
17384
  headers: {
@@ -16385,6 +17469,15 @@ export interface operations {
16385
17469
  'application/problem+json': components['schemas']['ConflictProblemResponse'];
16386
17470
  };
16387
17471
  };
17472
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
17473
+ 412: {
17474
+ headers: {
17475
+ [name: string]: unknown;
17476
+ };
17477
+ content: {
17478
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
17479
+ };
17480
+ };
16388
17481
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
16389
17482
  500: {
16390
17483
  headers: {
@@ -16484,6 +17577,15 @@ export interface operations {
16484
17577
  'application/problem+json': components['schemas']['ConflictProblemResponse'];
16485
17578
  };
16486
17579
  };
17580
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
17581
+ 412: {
17582
+ headers: {
17583
+ [name: string]: unknown;
17584
+ };
17585
+ content: {
17586
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
17587
+ };
17588
+ };
16487
17589
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
16488
17590
  500: {
16489
17591
  headers: {
@@ -16572,6 +17674,15 @@ export interface operations {
16572
17674
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
16573
17675
  };
16574
17676
  };
17677
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
17678
+ 412: {
17679
+ headers: {
17680
+ [name: string]: unknown;
17681
+ };
17682
+ content: {
17683
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
17684
+ };
17685
+ };
16575
17686
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
16576
17687
  500: {
16577
17688
  headers: {
@@ -16658,6 +17769,15 @@ export interface operations {
16658
17769
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
16659
17770
  };
16660
17771
  };
17772
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
17773
+ 412: {
17774
+ headers: {
17775
+ [name: string]: unknown;
17776
+ };
17777
+ content: {
17778
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
17779
+ };
17780
+ };
16661
17781
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
16662
17782
  500: {
16663
17783
  headers: {
@@ -16742,6 +17862,15 @@ export interface operations {
16742
17862
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
16743
17863
  };
16744
17864
  };
17865
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
17866
+ 412: {
17867
+ headers: {
17868
+ [name: string]: unknown;
17869
+ };
17870
+ content: {
17871
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
17872
+ };
17873
+ };
16745
17874
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
16746
17875
  500: {
16747
17876
  headers: {
@@ -16838,6 +17967,15 @@ export interface operations {
16838
17967
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
16839
17968
  };
16840
17969
  };
17970
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
17971
+ 412: {
17972
+ headers: {
17973
+ [name: string]: unknown;
17974
+ };
17975
+ content: {
17976
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
17977
+ };
17978
+ };
16841
17979
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
16842
17980
  500: {
16843
17981
  headers: {
@@ -16926,6 +18064,15 @@ export interface operations {
16926
18064
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
16927
18065
  };
16928
18066
  };
18067
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18068
+ 412: {
18069
+ headers: {
18070
+ [name: string]: unknown;
18071
+ };
18072
+ content: {
18073
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18074
+ };
18075
+ };
16929
18076
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
16930
18077
  500: {
16931
18078
  headers: {
@@ -17013,6 +18160,15 @@ export interface operations {
17013
18160
  'application/problem+json': components['schemas']['ConflictProblemResponse'];
17014
18161
  };
17015
18162
  };
18163
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18164
+ 412: {
18165
+ headers: {
18166
+ [name: string]: unknown;
18167
+ };
18168
+ content: {
18169
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18170
+ };
18171
+ };
17016
18172
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
17017
18173
  500: {
17018
18174
  headers: {
@@ -17101,6 +18257,15 @@ export interface operations {
17101
18257
  'application/problem+json': components['schemas']['NotFoundProblemResponse'];
17102
18258
  };
17103
18259
  };
18260
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18261
+ 412: {
18262
+ headers: {
18263
+ [name: string]: unknown;
18264
+ };
18265
+ content: {
18266
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18267
+ };
18268
+ };
17104
18269
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
17105
18270
  500: {
17106
18271
  headers: {
@@ -17199,6 +18364,15 @@ export interface operations {
17199
18364
  'application/problem+json': components['schemas']['ConflictProblemResponse'];
17200
18365
  };
17201
18366
  };
18367
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18368
+ 412: {
18369
+ headers: {
18370
+ [name: string]: unknown;
18371
+ };
18372
+ content: {
18373
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18374
+ };
18375
+ };
17202
18376
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
17203
18377
  500: {
17204
18378
  headers: {
@@ -17300,6 +18474,15 @@ export interface operations {
17300
18474
  'application/problem+json': components['schemas']['ConflictProblemResponse'];
17301
18475
  };
17302
18476
  };
18477
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18478
+ 412: {
18479
+ headers: {
18480
+ [name: string]: unknown;
18481
+ };
18482
+ content: {
18483
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18484
+ };
18485
+ };
17303
18486
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
17304
18487
  500: {
17305
18488
  headers: {
@@ -17398,6 +18581,15 @@ export interface operations {
17398
18581
  'application/problem+json': components['schemas']['ConflictProblemResponse'];
17399
18582
  };
17400
18583
  };
18584
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18585
+ 412: {
18586
+ headers: {
18587
+ [name: string]: unknown;
18588
+ };
18589
+ content: {
18590
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18591
+ };
18592
+ };
17401
18593
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
17402
18594
  500: {
17403
18595
  headers: {
@@ -17498,6 +18690,109 @@ export interface operations {
17498
18690
  'application/problem+json': components['schemas']['ConflictProblemResponse'];
17499
18691
  };
17500
18692
  };
18693
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18694
+ 412: {
18695
+ headers: {
18696
+ [name: string]: unknown;
18697
+ };
18698
+ content: {
18699
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18700
+ };
18701
+ };
18702
+ /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
18703
+ 500: {
18704
+ headers: {
18705
+ [name: string]: unknown;
18706
+ };
18707
+ content: {
18708
+ 'application/problem+json': components['schemas']['InternalServerErrorProblemResponse'];
18709
+ };
18710
+ };
18711
+ /** @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. */
18712
+ 503: {
18713
+ headers: {
18714
+ [name: string]: unknown;
18715
+ };
18716
+ content: {
18717
+ 'application/problem+json': components['schemas']['ServiceUnavailableProblemResponse'];
18718
+ };
18719
+ };
18720
+ /** @description An unexpected error response. */
18721
+ default: {
18722
+ headers: {
18723
+ [name: string]: unknown;
18724
+ };
18725
+ content: {
18726
+ 'application/problem+json': components['schemas']['UnexpectedProblemResponse'];
18727
+ };
18728
+ };
18729
+ };
18730
+ };
18731
+ restoreSubscription: {
18732
+ parameters: {
18733
+ query?: never;
18734
+ header?: never;
18735
+ path: {
18736
+ subscriptionId: string;
18737
+ };
18738
+ cookie?: never;
18739
+ };
18740
+ requestBody?: never;
18741
+ responses: {
18742
+ /** @description The request has succeeded. */
18743
+ 200: {
18744
+ headers: {
18745
+ [name: string]: unknown;
18746
+ };
18747
+ content: {
18748
+ 'application/json': components['schemas']['Subscription'];
18749
+ };
18750
+ };
18751
+ /** @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). */
18752
+ 400: {
18753
+ headers: {
18754
+ [name: string]: unknown;
18755
+ };
18756
+ content: {
18757
+ 'application/problem+json': components['schemas']['BadRequestProblemResponse'];
18758
+ };
18759
+ };
18760
+ /** @description The request has not been applied because it lacks valid authentication credentials for the target resource. */
18761
+ 401: {
18762
+ headers: {
18763
+ [name: string]: unknown;
18764
+ };
18765
+ content: {
18766
+ 'application/problem+json': components['schemas']['UnauthorizedProblemResponse'];
18767
+ };
18768
+ };
18769
+ /** @description The server understood the request but refuses to authorize it. */
18770
+ 403: {
18771
+ headers: {
18772
+ [name: string]: unknown;
18773
+ };
18774
+ content: {
18775
+ 'application/problem+json': components['schemas']['ForbiddenProblemResponse'];
18776
+ };
18777
+ };
18778
+ /** @description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. */
18779
+ 404: {
18780
+ headers: {
18781
+ [name: string]: unknown;
18782
+ };
18783
+ content: {
18784
+ 'application/problem+json': components['schemas']['NotFoundProblemResponse'];
18785
+ };
18786
+ };
18787
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18788
+ 412: {
18789
+ headers: {
18790
+ [name: string]: unknown;
18791
+ };
18792
+ content: {
18793
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18794
+ };
18795
+ };
17501
18796
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
17502
18797
  500: {
17503
18798
  headers: {
@@ -17592,6 +18887,15 @@ export interface operations {
17592
18887
  'application/problem+json': components['schemas']['ConflictProblemResponse'];
17593
18888
  };
17594
18889
  };
18890
+ /** @description One or more conditions given in the request header fields evaluated to false when tested on the server. */
18891
+ 412: {
18892
+ headers: {
18893
+ [name: string]: unknown;
18894
+ };
18895
+ content: {
18896
+ 'application/problem+json': components['schemas']['PreconditionFailedProblemResponse'];
18897
+ };
18898
+ };
17595
18899
  /** @description The server encountered an unexpected condition that prevented it from fulfilling the request. */
17596
18900
  500: {
17597
18901
  headers: {