@epilot/pricing-client 3.59.1 → 3.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/openapi.d.ts CHANGED
@@ -1640,8 +1640,9 @@ declare namespace Components {
1640
1640
  *
1641
1641
  * Exact values only; predicates belong to reads. Values are stored canonicalized for their
1642
1642
  * type: a `date` becomes millisecond-precision UTC, a `daterange` an object carrying `from`
1643
- * and `until` where an empty string is an open end, a `location` of format `zipcode` the
1644
- * postal code itself and one of format `zipcode_town` an object carrying both.
1643
+ * and `until` where an empty string is an open end, a `location` of format `postal_code` the
1644
+ * postal code itself and one of format `postal_code_city` an object carrying `postal_code` and
1645
+ * `city`.
1645
1646
  *
1646
1647
  * `default` and names beginning with `_` are reserved; use the request's `default` flag.
1647
1648
  *
@@ -3263,6 +3264,66 @@ declare namespace Components {
3263
3264
  string | {
3264
3265
  [name: string]: any;
3265
3266
  }[];
3267
+ } | {
3268
+ code: "CONDITIONAL_PRICING_NOT_ENABLED";
3269
+ details: {
3270
+ [key: string]: never;
3271
+ };
3272
+ /**
3273
+ * Error message
3274
+ */
3275
+ message: string;
3276
+ /**
3277
+ * The HTTP status code
3278
+ */
3279
+ status?: number;
3280
+ /**
3281
+ * The cause of the error (visible for bad requests - http 400)
3282
+ */
3283
+ cause?: string;
3284
+ /**
3285
+ * What went wrong. The same string as `message`, except on a request-validation
3286
+ * failure, which puts the list of validation errors here instead.
3287
+ *
3288
+ */
3289
+ error?: /**
3290
+ * What went wrong. The same string as `message`, except on a request-validation
3291
+ * failure, which puts the list of validation errors here instead.
3292
+ *
3293
+ */
3294
+ string | {
3295
+ [name: string]: any;
3296
+ }[];
3297
+ } | {
3298
+ code: "CONDITIONAL_PRICING_NOT_READY";
3299
+ details: {
3300
+ [key: string]: never;
3301
+ };
3302
+ /**
3303
+ * Error message
3304
+ */
3305
+ message: string;
3306
+ /**
3307
+ * The HTTP status code
3308
+ */
3309
+ status?: number;
3310
+ /**
3311
+ * The cause of the error (visible for bad requests - http 400)
3312
+ */
3313
+ cause?: string;
3314
+ /**
3315
+ * What went wrong. The same string as `message`, except on a request-validation
3316
+ * failure, which puts the list of validation errors here instead.
3317
+ *
3318
+ */
3319
+ error?: /**
3320
+ * What went wrong. The same string as `message`, except on a request-validation
3321
+ * failure, which puts the list of validation errors here instead.
3322
+ *
3323
+ */
3324
+ string | {
3325
+ [name: string]: any;
3326
+ }[];
3266
3327
  } | {
3267
3328
  /**
3268
3329
  * Error message
@@ -4054,8 +4115,9 @@ declare namespace Components {
4054
4115
  *
4055
4116
  * Exact values only; predicates belong to reads. Values are stored canonicalized for their
4056
4117
  * type: a `date` becomes millisecond-precision UTC, a `daterange` an object carrying `from`
4057
- * and `until` where an empty string is an open end, a `location` of format `zipcode` the
4058
- * postal code itself and one of format `zipcode_town` an object carrying both.
4118
+ * and `until` where an empty string is an open end, a `location` of format `postal_code` the
4119
+ * postal code itself and one of format `postal_code_city` an object carrying `postal_code` and
4120
+ * `city`.
4059
4121
  *
4060
4122
  * `default` and names beginning with `_` are reserved; use the request's `default` flag.
4061
4123
  *
@@ -5708,6 +5770,70 @@ declare namespace Components {
5708
5770
  }[] | string | {
5709
5771
  [name: string]: any;
5710
5772
  }[];
5773
+ } | {
5774
+ code: "CONDITIONAL_PRICING_NOT_ENABLED";
5775
+ details: {
5776
+ [key: string]: never;
5777
+ };
5778
+ /**
5779
+ * Error message
5780
+ */
5781
+ message: string;
5782
+ /**
5783
+ * The HTTP status code
5784
+ */
5785
+ status?: number;
5786
+ /**
5787
+ * The cause of the error (visible for bad requests - http 400)
5788
+ */
5789
+ cause?: string;
5790
+ /**
5791
+ * What went wrong. The same string as `message`, except on a request-validation
5792
+ * failure, which puts the list of validation errors here instead.
5793
+ *
5794
+ */
5795
+ error?: /**
5796
+ * What went wrong. The same string as `message`, except on a request-validation
5797
+ * failure, which puts the list of validation errors here instead.
5798
+ *
5799
+ */
5800
+ string | {
5801
+ [name: string]: any;
5802
+ }[] | string | {
5803
+ [name: string]: any;
5804
+ }[];
5805
+ } | {
5806
+ code: "CONDITIONAL_PRICING_NOT_READY";
5807
+ details: {
5808
+ [key: string]: never;
5809
+ };
5810
+ /**
5811
+ * Error message
5812
+ */
5813
+ message: string;
5814
+ /**
5815
+ * The HTTP status code
5816
+ */
5817
+ status?: number;
5818
+ /**
5819
+ * The cause of the error (visible for bad requests - http 400)
5820
+ */
5821
+ cause?: string;
5822
+ /**
5823
+ * What went wrong. The same string as `message`, except on a request-validation
5824
+ * failure, which puts the list of validation errors here instead.
5825
+ *
5826
+ */
5827
+ error?: /**
5828
+ * What went wrong. The same string as `message`, except on a request-validation
5829
+ * failure, which puts the list of validation errors here instead.
5830
+ *
5831
+ */
5832
+ string | {
5833
+ [name: string]: any;
5834
+ }[] | string | {
5835
+ [name: string]: any;
5836
+ }[];
5711
5837
  } | {
5712
5838
  /**
5713
5839
  * Error message
@@ -9046,7 +9172,7 @@ declare namespace Components {
9046
9172
  /**
9047
9173
  * The value shape of a `location` condition. Absent for every other type.
9048
9174
  */
9049
- format?: "zipcode" | "zipcode_town";
9175
+ format?: "postal_code" | "postal_code_city";
9050
9176
  }
9051
9177
  /**
9052
9178
  * A named bundle of condition definitions, built in for one entity type.
@@ -10689,6 +10815,74 @@ declare namespace Components {
10689
10815
  }[] | string | {
10690
10816
  [name: string]: any;
10691
10817
  }[];
10818
+ } | {
10819
+ code: "CONDITIONAL_PRICING_NOT_ENABLED";
10820
+ details: {
10821
+ [key: string]: never;
10822
+ };
10823
+ /**
10824
+ * Error message
10825
+ */
10826
+ message: string;
10827
+ /**
10828
+ * The HTTP status code
10829
+ */
10830
+ status?: number;
10831
+ /**
10832
+ * The cause of the error (visible for bad requests - http 400)
10833
+ */
10834
+ cause?: string;
10835
+ /**
10836
+ * What went wrong. The same string as `message`, except on a request-validation
10837
+ * failure, which puts the list of validation errors here instead.
10838
+ *
10839
+ */
10840
+ error?: /**
10841
+ * What went wrong. The same string as `message`, except on a request-validation
10842
+ * failure, which puts the list of validation errors here instead.
10843
+ *
10844
+ */
10845
+ string | {
10846
+ [name: string]: any;
10847
+ }[] | string | {
10848
+ [name: string]: any;
10849
+ }[] | string | {
10850
+ [name: string]: any;
10851
+ }[];
10852
+ } | {
10853
+ code: "CONDITIONAL_PRICING_NOT_READY";
10854
+ details: {
10855
+ [key: string]: never;
10856
+ };
10857
+ /**
10858
+ * Error message
10859
+ */
10860
+ message: string;
10861
+ /**
10862
+ * The HTTP status code
10863
+ */
10864
+ status?: number;
10865
+ /**
10866
+ * The cause of the error (visible for bad requests - http 400)
10867
+ */
10868
+ cause?: string;
10869
+ /**
10870
+ * What went wrong. The same string as `message`, except on a request-validation
10871
+ * failure, which puts the list of validation errors here instead.
10872
+ *
10873
+ */
10874
+ error?: /**
10875
+ * What went wrong. The same string as `message`, except on a request-validation
10876
+ * failure, which puts the list of validation errors here instead.
10877
+ *
10878
+ */
10879
+ string | {
10880
+ [name: string]: any;
10881
+ }[] | string | {
10882
+ [name: string]: any;
10883
+ }[] | string | {
10884
+ [name: string]: any;
10885
+ }[];
10692
10886
  } | {
10693
10887
  /**
10694
10888
  * Error message
@@ -10748,9 +10942,20 @@ declare namespace Components {
10748
10942
  * - `IDENTIFIER_INVALID` (400): an id in the request cannot be used as a storage key — empty, carrying an unsupported character, or longer than 128 characters
10749
10943
  * - `VALID_FROM_INVALID` (400): a `valid_from` is not one of the timestamp forms a version timeline can be sorted by
10750
10944
  * - `VALUE_UNSTORABLE` (400): a write carries a value the store cannot hold, such as a non-finite number or one outside the table's numeric range
10945
+ * - `CONDITIONAL_PRICING_NOT_ENABLED` (403): the organization has not opted in to Conditional Pricing
10946
+ * - `CONDITIONAL_PRICING_NOT_READY` (409): the organization opted in minutes ago and a variant cannot be created until its setup finishes
10751
10947
  *
10752
10948
  */
10753
- export type ConditionalPricingErrorCode = "SCHEMA_NOT_FOUND" | "ENTITY_NOT_FOUND" | "ENTITY_TYPE_MISMATCH" | "ENTITY_NOT_CONDITIONAL" | "VARIANT_NOT_FOUND" | "VERSION_NOT_FOUND" | "NO_MATCHES" | "NO_ACTIVE_VERSION" | "AMBIGUOUS_RESOLUTION" | "TUPLE_CONFLICT" | "VERSION_CONFLICT" | "CONDITION_UNDEFINED" | "VARIANT_PIN_UNDECLARED" | "OPERATOR_UNSUPPORTED" | "CONTEXT_FORMAT_INVALID" | "CONDITION_VALUE_INVALID" | "CONDITION_UNCONFIGURED" | "TOO_MANY_MATCHES" | "WRITE_CONFLICT" | "OFFSET_WINDOW_EXCEEDED" | "CURSOR_INVALID" | "VARIANT_LIMIT_REACHED" | "PIN_FORMAT_INVALID" | "VARIANT_UNPINNED" | "LAST_VERSION_UNDELETABLE" | "CONDITION_UNREADABLE" | "SORT_INVALID" | "DEFAULT_MARKER_RESERVED" | "DEFAULT_VARIANT_PINS_CONDITIONS" | "VALID_FROM_IMMUTABLE" | "VARIANT_CONDITIONS_IMMUTABLE" | "IDENTIFIER_INVALID" | "VALID_FROM_INVALID" | "VALUE_UNSTORABLE";
10949
+ export type ConditionalPricingErrorCode = "SCHEMA_NOT_FOUND" | "ENTITY_NOT_FOUND" | "ENTITY_TYPE_MISMATCH" | "ENTITY_NOT_CONDITIONAL" | "VARIANT_NOT_FOUND" | "VERSION_NOT_FOUND" | "NO_MATCHES" | "NO_ACTIVE_VERSION" | "AMBIGUOUS_RESOLUTION" | "TUPLE_CONFLICT" | "VERSION_CONFLICT" | "CONDITION_UNDEFINED" | "VARIANT_PIN_UNDECLARED" | "OPERATOR_UNSUPPORTED" | "CONTEXT_FORMAT_INVALID" | "CONDITION_VALUE_INVALID" | "CONDITION_UNCONFIGURED" | "TOO_MANY_MATCHES" | "WRITE_CONFLICT" | "OFFSET_WINDOW_EXCEEDED" | "CURSOR_INVALID" | "VARIANT_LIMIT_REACHED" | "PIN_FORMAT_INVALID" | "VARIANT_UNPINNED" | "LAST_VERSION_UNDELETABLE" | "CONDITION_UNREADABLE" | "SORT_INVALID" | "DEFAULT_MARKER_RESERVED" | "DEFAULT_VARIANT_PINS_CONDITIONS" | "VALID_FROM_IMMUTABLE" | "VARIANT_CONDITIONS_IMMUTABLE" | "IDENTIFIER_INVALID" | "VALID_FROM_INVALID" | "VALUE_UNSTORABLE" | "CONDITIONAL_PRICING_NOT_ENABLED" | "CONDITIONAL_PRICING_NOT_READY";
10950
+ export interface ConditionalPricingOptIn {
10951
+ /**
10952
+ * - `PROVISIONING`: the organization's search collection is still being set up, and
10953
+ * creating a variant is refused with `CONDITIONAL_PRICING_NOT_READY`.
10954
+ * - `ACTIVE`: setup has finished.
10955
+ *
10956
+ */
10957
+ status: "PROVISIONING" | "ACTIVE";
10958
+ }
10754
10959
  export type ConsumptionTypeGetAg = "household" | "heating_pump" | "night_storage_heating" | "night_storage_heating_common_meter";
10755
10960
  /**
10756
10961
  * The coupon entity
@@ -11101,8 +11306,9 @@ declare namespace Components {
11101
11306
  *
11102
11307
  * Exact values only; predicates belong to reads. Values are stored canonicalized for their
11103
11308
  * type: a `date` becomes millisecond-precision UTC, a `daterange` an object carrying `from`
11104
- * and `until` where an empty string is an open end, a `location` of format `zipcode` the
11105
- * postal code itself and one of format `zipcode_town` an object carrying both.
11309
+ * and `until` where an empty string is an open end, a `location` of format `postal_code` the
11310
+ * postal code itself and one of format `postal_code_city` an object carrying `postal_code` and
11311
+ * `city`.
11106
11312
  *
11107
11313
  * `default` and names beginning with `_` are reserved; use the request's `default` flag.
11108
11314
  *
@@ -13729,8 +13935,9 @@ declare namespace Components {
13729
13935
  *
13730
13936
  * Exact values only; predicates belong to reads. Values are stored canonicalized for their
13731
13937
  * type: a `date` becomes millisecond-precision UTC, a `daterange` an object carrying `from`
13732
- * and `until` where an empty string is an open end, a `location` of format `zipcode` the
13733
- * postal code itself and one of format `zipcode_town` an object carrying both.
13938
+ * and `until` where an empty string is an open end, a `location` of format `postal_code` the
13939
+ * postal code itself and one of format `postal_code_city` an object carrying `postal_code` and
13940
+ * `city`.
13734
13941
  *
13735
13942
  * `default` and names beginning with `_` are reserved; use the request's `default` flag.
13736
13943
  *
@@ -16872,8 +17079,9 @@ declare namespace Components {
16872
17079
  *
16873
17080
  * An `in` list carries at most 50,000 values. A `string` or `select` matches exactly and
16874
17081
  * case-sensitively. A `location` of format
16875
- * `zipcode` is the postal code itself; one of format `zipcode_town` is an object carrying
16876
- * both, whose town is compared case- and whitespace-insensitively.
17082
+ * `postal_code` is the postal code itself; one of format `postal_code_city` is an object carrying
17083
+ * `postal_code` and `city`, named as an entity address names them, whose city is compared
17084
+ * case- and whitespace-insensitively.
16877
17085
  *
16878
17086
  * `default` and names beginning with `_` are reserved and cannot be supplied.
16879
17087
  *
@@ -16972,8 +17180,9 @@ declare namespace Components {
16972
17180
  *
16973
17181
  * An `in` list carries at most 50,000 values. A `string` or `select` matches exactly and
16974
17182
  * case-sensitively. A `location` of format
16975
- * `zipcode` is the postal code itself; one of format `zipcode_town` is an object carrying
16976
- * both, whose town is compared case- and whitespace-insensitively.
17183
+ * `postal_code` is the postal code itself; one of format `postal_code_city` is an object carrying
17184
+ * `postal_code` and `city`, named as an entity address names them, whose city is compared
17185
+ * case- and whitespace-insensitively.
16977
17186
  *
16978
17187
  * `default` and names beginning with `_` are reserved and cannot be supplied.
16979
17188
  *
@@ -18015,6 +18224,16 @@ declare namespace Components {
18015
18224
  InertOverride[]
18016
18225
  ];
18017
18226
  };
18227
+ } | {
18228
+ code: "VARIANT_NOT_INDEXED";
18229
+ message: string;
18230
+ details: {
18231
+ /**
18232
+ * - `INDEX_WRITE_FAILED`: the index write was attempted and did not succeed.
18233
+ *
18234
+ */
18235
+ reason: "INDEX_WRITE_FAILED";
18236
+ };
18018
18237
  };
18019
18238
  /**
18020
18239
  * A version as a write left it, together with anything the write moved.
@@ -18128,7 +18347,16 @@ declare namespace Paths {
18128
18347
  *
18129
18348
  */
18130
18349
  Components.Schemas.ConditionalPricingError;
18131
- export type $403 = Components.Schemas.Error;
18350
+ export type $403 = /**
18351
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18352
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
18353
+ * declares exactly the fields that code sends.
18354
+ *
18355
+ * A request these schemas reject is answered by the request validator with a message and
18356
+ * carries neither `code` nor `details` — the last member of the union.
18357
+ *
18358
+ */
18359
+ Components.Schemas.ConditionalPricingError;
18132
18360
  export type $404 = /**
18133
18361
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18134
18362
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -18220,7 +18448,16 @@ declare namespace Paths {
18220
18448
  *
18221
18449
  */
18222
18450
  Components.Schemas.ConditionalPricingError;
18223
- export type $403 = Components.Schemas.Error;
18451
+ export type $403 = /**
18452
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18453
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
18454
+ * declares exactly the fields that code sends.
18455
+ *
18456
+ * A request these schemas reject is answered by the request validator with a message and
18457
+ * carries neither `code` nor `details` — the last member of the union.
18458
+ *
18459
+ */
18460
+ Components.Schemas.ConditionalPricingError;
18224
18461
  export type $404 = /**
18225
18462
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18226
18463
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -18253,7 +18490,16 @@ declare namespace Paths {
18253
18490
  *
18254
18491
  */
18255
18492
  Components.Schemas.ConditionalPricingError;
18256
- export type $403 = Components.Schemas.Error;
18493
+ export type $403 = /**
18494
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18495
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
18496
+ * declares exactly the fields that code sends.
18497
+ *
18498
+ * A request these schemas reject is answered by the request validator with a message and
18499
+ * carries neither `code` nor `details` — the last member of the union.
18500
+ *
18501
+ */
18502
+ Components.Schemas.ConditionalPricingError;
18257
18503
  export type $404 = /**
18258
18504
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18259
18505
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -18264,6 +18510,16 @@ declare namespace Paths {
18264
18510
  *
18265
18511
  */
18266
18512
  Components.Schemas.ConditionalPricingError;
18513
+ export type $409 = /**
18514
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18515
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
18516
+ * declares exactly the fields that code sends.
18517
+ *
18518
+ * A request these schemas reject is answered by the request validator with a message and
18519
+ * carries neither `code` nor `details` — the last member of the union.
18520
+ *
18521
+ */
18522
+ Components.Schemas.ConditionalPricingError;
18267
18523
  }
18268
18524
  }
18269
18525
  namespace $CalculatePricingDetails {
@@ -18329,7 +18585,16 @@ declare namespace Paths {
18329
18585
  *
18330
18586
  */
18331
18587
  Components.Schemas.ConditionalPricingError;
18332
- export type $403 = Components.Schemas.Error;
18588
+ export type $403 = /**
18589
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18590
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
18591
+ * declares exactly the fields that code sends.
18592
+ *
18593
+ * A request these schemas reject is answered by the request validator with a message and
18594
+ * carries neither `code` nor `details` — the last member of the union.
18595
+ *
18596
+ */
18597
+ Components.Schemas.ConditionalPricingError;
18333
18598
  export type $404 = /**
18334
18599
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18335
18600
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -18375,7 +18640,16 @@ declare namespace Paths {
18375
18640
  *
18376
18641
  */
18377
18642
  Components.Schemas.ConditionalPricingError;
18378
- export type $403 = Components.Schemas.Error;
18643
+ export type $403 = /**
18644
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18645
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
18646
+ * declares exactly the fields that code sends.
18647
+ *
18648
+ * A request these schemas reject is answered by the request validator with a message and
18649
+ * carries neither `code` nor `details` — the last member of the union.
18650
+ *
18651
+ */
18652
+ Components.Schemas.ConditionalPricingError;
18379
18653
  export type $404 = /**
18380
18654
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18381
18655
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -18427,7 +18701,16 @@ declare namespace Paths {
18427
18701
  *
18428
18702
  */
18429
18703
  Components.Schemas.ConditionalPricingError;
18430
- export type $403 = Components.Schemas.Error;
18704
+ export type $403 = /**
18705
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18706
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
18707
+ * declares exactly the fields that code sends.
18708
+ *
18709
+ * A request these schemas reject is answered by the request validator with a message and
18710
+ * carries neither `code` nor `details` — the last member of the union.
18711
+ *
18712
+ */
18713
+ Components.Schemas.ConditionalPricingError;
18431
18714
  export type $404 = /**
18432
18715
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18433
18716
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -18492,7 +18775,16 @@ declare namespace Paths {
18492
18775
  *
18493
18776
  */
18494
18777
  Components.Schemas.ConditionalPricingError;
18495
- export type $403 = Components.Schemas.Error;
18778
+ export type $403 = /**
18779
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18780
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
18781
+ * declares exactly the fields that code sends.
18782
+ *
18783
+ * A request these schemas reject is answered by the request validator with a message and
18784
+ * carries neither `code` nor `details` — the last member of the union.
18785
+ *
18786
+ */
18787
+ Components.Schemas.ConditionalPricingError;
18496
18788
  export type $404 = /**
18497
18789
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18498
18790
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -18525,6 +18817,16 @@ declare namespace Paths {
18525
18817
  namespace Responses {
18526
18818
  export type $200 = Components.Schemas.ConditionSetCatalog;
18527
18819
  export type $400 = Components.Schemas.Error;
18820
+ export type $403 = /**
18821
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18822
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
18823
+ * declares exactly the fields that code sends.
18824
+ *
18825
+ * A request these schemas reject is answered by the request validator with a message and
18826
+ * carries neither `code` nor `details` — the last member of the union.
18827
+ *
18828
+ */
18829
+ Components.Schemas.ConditionalPricingError;
18528
18830
  }
18529
18831
  }
18530
18832
  namespace $GetConditionalVariantTree {
@@ -18554,7 +18856,16 @@ declare namespace Paths {
18554
18856
  *
18555
18857
  */
18556
18858
  Components.Schemas.ConditionalPricingError;
18557
- export type $403 = Components.Schemas.Error;
18859
+ export type $403 = /**
18860
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18861
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
18862
+ * declares exactly the fields that code sends.
18863
+ *
18864
+ * A request these schemas reject is answered by the request validator with a message and
18865
+ * carries neither `code` nor `details` — the last member of the union.
18866
+ *
18867
+ */
18868
+ Components.Schemas.ConditionalPricingError;
18558
18869
  export type $404 = /**
18559
18870
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18560
18871
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -18608,7 +18919,16 @@ declare namespace Paths {
18608
18919
  *
18609
18920
  */
18610
18921
  Components.Schemas.ConditionalPricingError;
18611
- export type $403 = Components.Schemas.Error;
18922
+ export type $403 = /**
18923
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18924
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
18925
+ * declares exactly the fields that code sends.
18926
+ *
18927
+ * A request these schemas reject is answered by the request validator with a message and
18928
+ * carries neither `code` nor `details` — the last member of the union.
18929
+ *
18930
+ */
18931
+ Components.Schemas.ConditionalPricingError;
18612
18932
  export type $404 = /**
18613
18933
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18614
18934
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -18808,7 +19128,16 @@ declare namespace Paths {
18808
19128
  *
18809
19129
  */
18810
19130
  Components.Schemas.ConditionalPricingError;
18811
- export type $403 = Components.Schemas.Error;
19131
+ export type $403 = /**
19132
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
19133
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
19134
+ * declares exactly the fields that code sends.
19135
+ *
19136
+ * A request these schemas reject is answered by the request validator with a message and
19137
+ * carries neither `code` nor `details` — the last member of the union.
19138
+ *
19139
+ */
19140
+ Components.Schemas.ConditionalPricingError;
18812
19141
  export type $404 = /**
18813
19142
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18814
19143
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -18859,7 +19188,16 @@ declare namespace Paths {
18859
19188
  *
18860
19189
  */
18861
19190
  Components.Schemas.ConditionalPricingError;
18862
- export type $403 = Components.Schemas.Error;
19191
+ export type $403 = /**
19192
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
19193
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
19194
+ * declares exactly the fields that code sends.
19195
+ *
19196
+ * A request these schemas reject is answered by the request validator with a message and
19197
+ * carries neither `code` nor `details` — the last member of the union.
19198
+ *
19199
+ */
19200
+ Components.Schemas.ConditionalPricingError;
18863
19201
  export type $404 = /**
18864
19202
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18865
19203
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -18906,7 +19244,16 @@ declare namespace Paths {
18906
19244
  *
18907
19245
  */
18908
19246
  Components.Schemas.ConditionalPricingError;
18909
- export type $403 = Components.Schemas.Error;
19247
+ export type $403 = /**
19248
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
19249
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
19250
+ * declares exactly the fields that code sends.
19251
+ *
19252
+ * A request these schemas reject is answered by the request validator with a message and
19253
+ * carries neither `code` nor `details` — the last member of the union.
19254
+ *
19255
+ */
19256
+ Components.Schemas.ConditionalPricingError;
18910
19257
  export type $404 = /**
18911
19258
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18912
19259
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -18955,7 +19302,16 @@ declare namespace Paths {
18955
19302
  *
18956
19303
  */
18957
19304
  Components.Schemas.ConditionalPricingError;
18958
- export type $403 = Components.Schemas.Error;
19305
+ export type $403 = /**
19306
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
19307
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
19308
+ * declares exactly the fields that code sends.
19309
+ *
19310
+ * A request these schemas reject is answered by the request validator with a message and
19311
+ * carries neither `code` nor `details` — the last member of the union.
19312
+ *
19313
+ */
19314
+ Components.Schemas.ConditionalPricingError;
18959
19315
  export type $404 = /**
18960
19316
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
18961
19317
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -19049,7 +19405,16 @@ declare namespace Paths {
19049
19405
  *
19050
19406
  */
19051
19407
  Components.Schemas.ConditionalPricingError;
19052
- export type $403 = Components.Schemas.Error;
19408
+ export type $403 = /**
19409
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
19410
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
19411
+ * declares exactly the fields that code sends.
19412
+ *
19413
+ * A request these schemas reject is answered by the request validator with a message and
19414
+ * carries neither `code` nor `details` — the last member of the union.
19415
+ *
19416
+ */
19417
+ Components.Schemas.ConditionalPricingError;
19053
19418
  export type $404 = /**
19054
19419
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
19055
19420
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -19098,7 +19463,16 @@ declare namespace Paths {
19098
19463
  *
19099
19464
  */
19100
19465
  Components.Schemas.ConditionalPricingError;
19101
- export type $403 = Components.Schemas.Error;
19466
+ export type $403 = /**
19467
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
19468
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
19469
+ * declares exactly the fields that code sends.
19470
+ *
19471
+ * A request these schemas reject is answered by the request validator with a message and
19472
+ * carries neither `code` nor `details` — the last member of the union.
19473
+ *
19474
+ */
19475
+ Components.Schemas.ConditionalPricingError;
19102
19476
  export type $404 = /**
19103
19477
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
19104
19478
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -19141,6 +19515,16 @@ declare namespace Paths {
19141
19515
  *
19142
19516
  */
19143
19517
  Components.Schemas.ConditionalPricingError;
19518
+ export type $403 = /**
19519
+ * An error from a conditional-pricing operation, carrying a `code` plus the structured data
19520
+ * that code explains. `details` is typed per code: narrow on `code` and the object under it
19521
+ * declares exactly the fields that code sends.
19522
+ *
19523
+ * A request these schemas reject is answered by the request validator with a message and
19524
+ * carries neither `code` nor `details` — the last member of the union.
19525
+ *
19526
+ */
19527
+ Components.Schemas.ConditionalPricingError;
19144
19528
  export type $404 = /**
19145
19529
  * An error from a conditional-pricing operation, carrying a `code` plus the structured data
19146
19530
  * that code explains. `details` is typed per code: narrow on `code` and the object under it
@@ -20730,6 +21114,12 @@ export interface OperationMethods {
20730
21114
  * When no variant matches, the entity's `default` variant is returned, or `results` is empty.
20731
21115
  * `options.hydrate` replaces relation references with the entities they reference.
20732
21116
  *
21117
+ * Selection by `context` may lag a write by moments. For about ten seconds after a variant is
21118
+ * created, a context it matches can still resolve to the entity's `default` variant, or to no
21119
+ * result, rather than to the new variant; a variant just deleted can still be selected for as
21120
+ * long. Selection by `variant_id`, and the versions a resolve composes, are not subject to this
21121
+ * lag.
21122
+ *
20733
21123
  */
20734
21124
  '$resolveConditionalEntity'(
20735
21125
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -21261,6 +21651,12 @@ export interface PathsDictionary {
21261
21651
  * When no variant matches, the entity's `default` variant is returned, or `results` is empty.
21262
21652
  * `options.hydrate` replaces relation references with the entities they reference.
21263
21653
  *
21654
+ * Selection by `context` may lag a write by moments. For about ten seconds after a variant is
21655
+ * created, a context it matches can still resolve to the entity's `default` variant, or to no
21656
+ * result, rather than to the new variant; a variant just deleted can still be selected for as
21657
+ * long. Selection by `variant_id`, and the versions a resolve composes, are not subject to this
21658
+ * lag.
21659
+ *
21264
21660
  */
21265
21661
  'post'(
21266
21662
  parameters?: Parameters<UnknownParamsObject> | null,
@@ -21572,6 +21968,7 @@ export type ConditionType = Components.Schemas.ConditionType;
21572
21968
  export type ConditionalEntitySlug = Components.Schemas.ConditionalEntitySlug;
21573
21969
  export type ConditionalPricingError = Components.Schemas.ConditionalPricingError;
21574
21970
  export type ConditionalPricingErrorCode = Components.Schemas.ConditionalPricingErrorCode;
21971
+ export type ConditionalPricingOptIn = Components.Schemas.ConditionalPricingOptIn;
21575
21972
  export type ConsumptionTypeGetAg = Components.Schemas.ConsumptionTypeGetAg;
21576
21973
  export type Coupon = Components.Schemas.Coupon;
21577
21974
  export type CouponItem = Components.Schemas.CouponItem;