@epilot/sdk 2.20.65 → 2.20.66

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.
Files changed (129) hide show
  1. package/definitions/pricing.json +90 -56
  2. package/dist/apis/access-token.cjs +6 -6
  3. package/dist/apis/access-token.js +1 -1
  4. package/dist/apis/address-suggestions.cjs +6 -6
  5. package/dist/apis/address-suggestions.js +1 -1
  6. package/dist/apis/address.cjs +6 -6
  7. package/dist/apis/address.js +1 -1
  8. package/dist/apis/ai-agents.cjs +6 -6
  9. package/dist/apis/ai-agents.js +1 -1
  10. package/dist/apis/app.cjs +6 -6
  11. package/dist/apis/app.js +1 -1
  12. package/dist/apis/audit-logs.cjs +6 -6
  13. package/dist/apis/audit-logs.js +1 -1
  14. package/dist/apis/automation.cjs +6 -6
  15. package/dist/apis/automation.js +1 -1
  16. package/dist/apis/billing.cjs +6 -6
  17. package/dist/apis/billing.js +1 -1
  18. package/dist/apis/blueprint-manifest.cjs +6 -6
  19. package/dist/apis/blueprint-manifest.js +1 -1
  20. package/dist/apis/calendar.cjs +6 -6
  21. package/dist/apis/calendar.js +1 -1
  22. package/dist/apis/chat.cjs +6 -6
  23. package/dist/apis/chat.js +1 -1
  24. package/dist/apis/configuration-hub.cjs +6 -6
  25. package/dist/apis/configuration-hub.js +1 -1
  26. package/dist/apis/consent.cjs +6 -6
  27. package/dist/apis/consent.js +1 -1
  28. package/dist/apis/customer-portal.cjs +6 -6
  29. package/dist/apis/customer-portal.js +1 -1
  30. package/dist/apis/dashboard.cjs +6 -6
  31. package/dist/apis/dashboard.js +1 -1
  32. package/dist/apis/data-governance.cjs +6 -6
  33. package/dist/apis/data-governance.js +1 -1
  34. package/dist/apis/deduplication.cjs +6 -6
  35. package/dist/apis/deduplication.js +1 -1
  36. package/dist/apis/design.cjs +6 -6
  37. package/dist/apis/design.js +1 -1
  38. package/dist/apis/document.cjs +6 -6
  39. package/dist/apis/document.js +1 -1
  40. package/dist/apis/email-settings.cjs +6 -6
  41. package/dist/apis/email-settings.js +1 -1
  42. package/dist/apis/email-template.cjs +6 -6
  43. package/dist/apis/email-template.js +1 -1
  44. package/dist/apis/entity-mapping.cjs +6 -6
  45. package/dist/apis/entity-mapping.js +1 -1
  46. package/dist/apis/entity.cjs +6 -6
  47. package/dist/apis/entity.js +1 -1
  48. package/dist/apis/environments.cjs +6 -6
  49. package/dist/apis/environments.js +1 -1
  50. package/dist/apis/event-catalog.cjs +6 -6
  51. package/dist/apis/event-catalog.js +1 -1
  52. package/dist/apis/external-values.cjs +6 -6
  53. package/dist/apis/external-values.js +1 -1
  54. package/dist/apis/file.cjs +6 -6
  55. package/dist/apis/file.js +1 -1
  56. package/dist/apis/iban.cjs +6 -6
  57. package/dist/apis/iban.js +1 -1
  58. package/dist/apis/identity.cjs +6 -6
  59. package/dist/apis/identity.js +1 -1
  60. package/dist/apis/integration-toolkit.cjs +6 -6
  61. package/dist/apis/integration-toolkit.js +1 -1
  62. package/dist/apis/journey.cjs +6 -6
  63. package/dist/apis/journey.js +1 -1
  64. package/dist/apis/kanban.cjs +6 -6
  65. package/dist/apis/kanban.js +1 -1
  66. package/dist/apis/message.cjs +6 -6
  67. package/dist/apis/message.js +1 -1
  68. package/dist/apis/metering.cjs +6 -6
  69. package/dist/apis/metering.js +1 -1
  70. package/dist/apis/notes.cjs +6 -6
  71. package/dist/apis/notes.js +1 -1
  72. package/dist/apis/notification.cjs +6 -6
  73. package/dist/apis/notification.js +1 -1
  74. package/dist/apis/organization.cjs +6 -6
  75. package/dist/apis/organization.js +1 -1
  76. package/dist/apis/partner-directory.cjs +6 -6
  77. package/dist/apis/partner-directory.js +1 -1
  78. package/dist/apis/permissions.cjs +6 -6
  79. package/dist/apis/permissions.js +1 -1
  80. package/dist/apis/phone-integration.cjs +6 -6
  81. package/dist/apis/phone-integration.js +1 -1
  82. package/dist/apis/pricing-tier.cjs +6 -6
  83. package/dist/apis/pricing-tier.js +1 -1
  84. package/dist/apis/pricing.cjs +6 -6
  85. package/dist/apis/pricing.d.cts +2 -2
  86. package/dist/apis/pricing.d.ts +2 -2
  87. package/dist/apis/pricing.js +1 -1
  88. package/dist/apis/purpose.cjs +6 -6
  89. package/dist/apis/purpose.js +1 -1
  90. package/dist/apis/query.cjs +6 -6
  91. package/dist/apis/query.js +1 -1
  92. package/dist/apis/sandbox.cjs +6 -6
  93. package/dist/apis/sandbox.js +1 -1
  94. package/dist/apis/sharing.cjs +6 -6
  95. package/dist/apis/sharing.js +1 -1
  96. package/dist/apis/snapshot.cjs +6 -6
  97. package/dist/apis/snapshot.js +1 -1
  98. package/dist/apis/submission.cjs +6 -6
  99. package/dist/apis/submission.js +1 -1
  100. package/dist/apis/target.cjs +6 -6
  101. package/dist/apis/target.js +1 -1
  102. package/dist/apis/targeting.cjs +6 -6
  103. package/dist/apis/targeting.js +1 -1
  104. package/dist/apis/template-variables.cjs +6 -6
  105. package/dist/apis/template-variables.js +1 -1
  106. package/dist/apis/user.cjs +6 -6
  107. package/dist/apis/user.js +1 -1
  108. package/dist/apis/validation-rules.cjs +6 -6
  109. package/dist/apis/validation-rules.js +1 -1
  110. package/dist/apis/webhooks.cjs +6 -6
  111. package/dist/apis/webhooks.js +1 -1
  112. package/dist/apis/workflow-definition.cjs +6 -6
  113. package/dist/apis/workflow-definition.js +1 -1
  114. package/dist/apis/workflow.cjs +6 -6
  115. package/dist/apis/workflow.js +1 -1
  116. package/dist/{chunk-NRSVV47V.cjs → chunk-3UL4JWCK.cjs} +1 -1
  117. package/dist/{chunk-NZKYUZK2.js → chunk-SGTQJYAX.js} +1 -1
  118. package/dist/index.cjs +8 -8
  119. package/dist/index.d.cts +1 -1
  120. package/dist/index.d.ts +1 -1
  121. package/dist/index.js +1 -1
  122. package/dist/pricing-HPUYS6FZ.cjs +7 -0
  123. package/dist/pricing-V6W36DFA.js +7 -0
  124. package/dist/{pricing.d-DnruxGbn.d.cts → pricing.d-COKyUDXt.d.cts} +170 -48
  125. package/dist/{pricing.d-DnruxGbn.d.ts → pricing.d-COKyUDXt.d.ts} +170 -48
  126. package/docs/pricing.md +77 -13
  127. package/package.json +1 -1
  128. package/dist/pricing-MEDRTGXA.cjs +0 -7
  129. package/dist/pricing-QW23MNY3.js +0 -7
@@ -2157,7 +2157,7 @@ declare namespace Components {
2157
2157
  * Why this item failed, present only with `outcome: error`:
2158
2158
  * `LAST_VERSION_UNDELETABLE`, `VARIANT_UNPINNED`, the codes a condition tuple that cannot
2159
2159
  * be canonicalized raises, `IDENTIFIER_INVALID`, `VALID_FROM_INVALID`, `WRITE_CONFLICT`,
2160
- * and the per-item `ENTITY_NOT_FOUND`, `ENTITY_TYPE_MISMATCH` and
2160
+ * and the per-item `ENTITY_NOT_FOUND`, `ENTITY_TYPE_MISMATCH`, `ENTITY_SOFT_DELETED` and
2161
2161
  * `ENTITY_NOT_CONDITIONAL`. A missing variant or version is `skipped` instead.
2162
2162
  *
2163
2163
  */
@@ -2165,7 +2165,7 @@ declare namespace Components {
2165
2165
  * Why this item failed, present only with `outcome: error`:
2166
2166
  * `LAST_VERSION_UNDELETABLE`, `VARIANT_UNPINNED`, the codes a condition tuple that cannot
2167
2167
  * be canonicalized raises, `IDENTIFIER_INVALID`, `VALID_FROM_INVALID`, `WRITE_CONFLICT`,
2168
- * and the per-item `ENTITY_NOT_FOUND`, `ENTITY_TYPE_MISMATCH` and
2168
+ * and the per-item `ENTITY_NOT_FOUND`, `ENTITY_TYPE_MISMATCH`, `ENTITY_SOFT_DELETED` and
2169
2169
  * `ENTITY_NOT_CONDITIONAL`. A missing variant or version is `skipped` instead.
2170
2170
  *
2171
2171
  */
@@ -2294,6 +2294,47 @@ declare namespace Components {
2294
2294
  string | {
2295
2295
  [name: string]: any;
2296
2296
  }[];
2297
+ } | {
2298
+ code: "ENTITY_SOFT_DELETED";
2299
+ details: {
2300
+ /**
2301
+ * The entity type the request addressed.
2302
+ * example:
2303
+ * price
2304
+ */
2305
+ schema: string;
2306
+ /**
2307
+ * The conditional entity the request addressed.
2308
+ * example:
2309
+ * price-sp26d1yo
2310
+ */
2311
+ entity_id: string;
2312
+ };
2313
+ /**
2314
+ * Error message
2315
+ */
2316
+ message: string;
2317
+ /**
2318
+ * The HTTP status code
2319
+ */
2320
+ status?: number;
2321
+ /**
2322
+ * The cause of the error (visible for bad requests - http 400)
2323
+ */
2324
+ cause?: string;
2325
+ /**
2326
+ * What went wrong. The same string as `message`, except on a request-validation
2327
+ * failure, which puts the list of validation errors here instead.
2328
+ *
2329
+ */
2330
+ error?: /**
2331
+ * What went wrong. The same string as `message`, except on a request-validation
2332
+ * failure, which puts the list of validation errors here instead.
2333
+ *
2334
+ */
2335
+ string | {
2336
+ [name: string]: any;
2337
+ }[];
2297
2338
  } | {
2298
2339
  code: "ENTITY_NOT_CONDITIONAL";
2299
2340
  details: {
@@ -4638,16 +4679,16 @@ declare namespace Components {
4638
4679
  WriteWarning[];
4639
4680
  /**
4640
4681
  * Why this item failed, present only with `outcome: error`: the codes a variant create
4641
- * raises, plus `ENTITY_NOT_FOUND`, `ENTITY_TYPE_MISMATCH` and `ENTITY_NOT_CONDITIONAL`,
4642
- * which are per item because each item names its own entity. Never `TUPLE_CONFLICT` or
4643
- * `VERSION_CONFLICT`.
4682
+ * raises, plus `ENTITY_NOT_FOUND`, `ENTITY_TYPE_MISMATCH`, `ENTITY_SOFT_DELETED` and
4683
+ * `ENTITY_NOT_CONDITIONAL`, which are per item because each item names its own entity.
4684
+ * Never `TUPLE_CONFLICT` or `VERSION_CONFLICT`.
4644
4685
  *
4645
4686
  */
4646
4687
  error?: /**
4647
4688
  * Why this item failed, present only with `outcome: error`: the codes a variant create
4648
- * raises, plus `ENTITY_NOT_FOUND`, `ENTITY_TYPE_MISMATCH` and `ENTITY_NOT_CONDITIONAL`,
4649
- * which are per item because each item names its own entity. Never `TUPLE_CONFLICT` or
4650
- * `VERSION_CONFLICT`.
4689
+ * raises, plus `ENTITY_NOT_FOUND`, `ENTITY_TYPE_MISMATCH`, `ENTITY_SOFT_DELETED` and
4690
+ * `ENTITY_NOT_CONDITIONAL`, which are per item because each item names its own entity.
4691
+ * Never `TUPLE_CONFLICT` or `VERSION_CONFLICT`.
4651
4692
  *
4652
4693
  */
4653
4694
  {
@@ -4781,6 +4822,49 @@ declare namespace Components {
4781
4822
  }[] | string | {
4782
4823
  [name: string]: any;
4783
4824
  }[];
4825
+ } | {
4826
+ code: "ENTITY_SOFT_DELETED";
4827
+ details: {
4828
+ /**
4829
+ * The entity type the request addressed.
4830
+ * example:
4831
+ * price
4832
+ */
4833
+ schema: string;
4834
+ /**
4835
+ * The conditional entity the request addressed.
4836
+ * example:
4837
+ * price-sp26d1yo
4838
+ */
4839
+ entity_id: string;
4840
+ };
4841
+ /**
4842
+ * Error message
4843
+ */
4844
+ message: string;
4845
+ /**
4846
+ * The HTTP status code
4847
+ */
4848
+ status?: number;
4849
+ /**
4850
+ * The cause of the error (visible for bad requests - http 400)
4851
+ */
4852
+ cause?: string;
4853
+ /**
4854
+ * What went wrong. The same string as `message`, except on a request-validation
4855
+ * failure, which puts the list of validation errors here instead.
4856
+ *
4857
+ */
4858
+ error?: /**
4859
+ * What went wrong. The same string as `message`, except on a request-validation
4860
+ * failure, which puts the list of validation errors here instead.
4861
+ *
4862
+ */
4863
+ string | {
4864
+ [name: string]: any;
4865
+ }[] | string | {
4866
+ [name: string]: any;
4867
+ }[];
4784
4868
  } | {
4785
4869
  code: "ENTITY_NOT_CONDITIONAL";
4786
4870
  details: {
@@ -7015,7 +7099,7 @@ declare namespace Components {
7015
7099
  product?: /**
7016
7100
  * The situation to resolve for: a flat map keyed by condition name. A condition left out
7017
7101
  * matches only variants that leave it unpinned; an empty map therefore returns the `default`
7018
- * variant.
7102
+ * variant. A key naming no condition the schema declares is ignored, as if it were left out.
7019
7103
  *
7020
7104
  * Each value is an exact value, typed by its condition, or a single-operator predicate:
7021
7105
  *
@@ -7045,7 +7129,7 @@ declare namespace Components {
7045
7129
  price?: /**
7046
7130
  * The situation to resolve for: a flat map keyed by condition name. A condition left out
7047
7131
  * matches only variants that leave it unpinned; an empty map therefore returns the `default`
7048
- * variant.
7132
+ * variant. A key naming no condition the schema declares is ignored, as if it were left out.
7049
7133
  *
7050
7134
  * Each value is an exact value, typed by its condition, or a single-operator predicate:
7051
7135
  *
@@ -7075,7 +7159,7 @@ declare namespace Components {
7075
7159
  coupon?: /**
7076
7160
  * The situation to resolve for: a flat map keyed by condition name. A condition left out
7077
7161
  * matches only variants that leave it unpinned; an empty map therefore returns the `default`
7078
- * variant.
7162
+ * variant. A key naming no condition the schema declares is ignored, as if it were left out.
7079
7163
  *
7080
7164
  * Each value is an exact value, typed by its condition, or a single-operator predicate:
7081
7165
  *
@@ -8636,13 +8720,15 @@ declare namespace Components {
8636
8720
  Coupon)[];
8637
8721
  }
8638
8722
  /**
8639
- * An entry the v2 catalog could not answer, and why. `details` is typed per `code`: narrow on
8640
- * `code` and the object under it declares exactly the fields that code sends.
8723
+ * An entry the v2 catalog could not answer, or context conditions it ignored, and why. `details`
8724
+ * is typed per `code`: narrow on `code` and the object under it declares exactly the fields that
8725
+ * code sends.
8641
8726
  *
8642
8727
  */
8643
8728
  export type CatalogWarning = /**
8644
- * An entry the v2 catalog could not answer, and why. `details` is typed per `code`: narrow on
8645
- * `code` and the object under it declares exactly the fields that code sends.
8729
+ * An entry the v2 catalog could not answer, or context conditions it ignored, and why. `details`
8730
+ * is typed per `code`: narrow on `code` and the object under it declares exactly the fields that
8731
+ * code sends.
8646
8732
  *
8647
8733
  */
8648
8734
  {
@@ -8667,31 +8753,17 @@ declare namespace Components {
8667
8753
  missing: "product" | "price";
8668
8754
  };
8669
8755
  } | {
8670
- code: "CATALOG_ENTRY_TYPE_MISMATCH";
8756
+ code: "CONTEXT_CONDITIONS_IGNORED";
8671
8757
  message: string;
8672
8758
  details: {
8759
+ entity_type: "product" | "price" | "coupon";
8673
8760
  /**
8674
- * The entry's product id, as sent.
8675
- * example:
8676
- * product-heatpump-2027
8677
- */
8678
- product_id: string;
8679
- /**
8680
- * The entry's price id, as sent. Absent when the entry named none.
8681
- * example:
8682
- * product-tariff-2027
8683
- */
8684
- price_id?: string;
8685
- /**
8686
- * Which of the entry's ids names an entity of another type.
8687
- */
8688
- mismatched: "product" | "price";
8689
- /**
8690
- * The type the entity turned out to be.
8691
8761
  * example:
8692
- * product
8762
+ * [
8763
+ * "customer_segment"
8764
+ * ]
8693
8765
  */
8694
- actual_schema: string;
8766
+ conditions: string[];
8695
8767
  };
8696
8768
  };
8697
8769
  /**
@@ -11500,6 +11572,51 @@ declare namespace Components {
11500
11572
  }[] | string | {
11501
11573
  [name: string]: any;
11502
11574
  }[];
11575
+ } | {
11576
+ code: "ENTITY_SOFT_DELETED";
11577
+ details: {
11578
+ /**
11579
+ * The entity type the request addressed.
11580
+ * example:
11581
+ * price
11582
+ */
11583
+ schema: string;
11584
+ /**
11585
+ * The conditional entity the request addressed.
11586
+ * example:
11587
+ * price-sp26d1yo
11588
+ */
11589
+ entity_id: string;
11590
+ };
11591
+ /**
11592
+ * Error message
11593
+ */
11594
+ message: string;
11595
+ /**
11596
+ * The HTTP status code
11597
+ */
11598
+ status?: number;
11599
+ /**
11600
+ * The cause of the error (visible for bad requests - http 400)
11601
+ */
11602
+ cause?: string;
11603
+ /**
11604
+ * What went wrong. The same string as `message`, except on a request-validation
11605
+ * failure, which puts the list of validation errors here instead.
11606
+ *
11607
+ */
11608
+ error?: /**
11609
+ * What went wrong. The same string as `message`, except on a request-validation
11610
+ * failure, which puts the list of validation errors here instead.
11611
+ *
11612
+ */
11613
+ string | {
11614
+ [name: string]: any;
11615
+ }[] | string | {
11616
+ [name: string]: any;
11617
+ }[] | string | {
11618
+ [name: string]: any;
11619
+ }[];
11503
11620
  } | {
11504
11621
  code: "ENTITY_NOT_CONDITIONAL";
11505
11622
  details: {
@@ -13080,6 +13197,7 @@ declare namespace Components {
13080
13197
  * - `SCHEMA_NOT_FOUND` (404): no conditional entity type by that slug
13081
13198
  * - `ENTITY_NOT_FOUND` (404): the schema holds no entity with that id
13082
13199
  * - `ENTITY_TYPE_MISMATCH` (400): that id belongs to an entity of another type than the slug named
13200
+ * - `ENTITY_SOFT_DELETED` (409): the entity is soft-deleted and can still be restored, which brings its variants back unchanged
13083
13201
  * - `ENTITY_NOT_CONDITIONAL` (409): the entity is of the right type but was not created as a conditional one
13084
13202
  * - `VARIANT_NOT_FOUND` (404): the entity has no such variant
13085
13203
  * - `VERSION_NOT_FOUND` (404): the variant has no version at that `valid_from`
@@ -13088,7 +13206,7 @@ declare namespace Components {
13088
13206
  * - `AMBIGUOUS_RESOLUTION` (409): several variants match the given context while a single result was requested
13089
13207
  * - `TUPLE_CONFLICT` (409): the condition tuple is already claimed by another variant
13090
13208
  * - `VERSION_CONFLICT` (409): a version already exists at the given `valid_from` on that variant
13091
- * - `CONDITION_UNDEFINED` (400): the request names a condition the entity's schema does not define
13209
+ * - `CONDITION_UNDEFINED` (400): a listing filter or a variant's pins name a condition the entity's schema does not define (a resolve context ignores such a name instead)
13092
13210
  * - `VARIANT_PIN_UNDECLARED` (409): a variant a resolve would compose pins a condition the entity's schema no longer declares
13093
13211
  * - `OPERATOR_UNSUPPORTED` (400): the requested predicate, or a sort, is not applicable to the condition's type
13094
13212
  * - `CONTEXT_FORMAT_INVALID` (400): a resolve context or listing filter value is malformed for its condition type
@@ -13116,7 +13234,7 @@ declare namespace Components {
13116
13234
  * - `CONDITIONAL_PRICING_NOT_READY` (409): the organization opted in minutes ago and a variant cannot be created until its setup finishes
13117
13235
  *
13118
13236
  */
13119
- 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" | "OVERRIDE_VALUE_INVALID" | "CONDITIONAL_PRICING_NOT_ENABLED" | "CONDITIONAL_PRICING_NOT_READY";
13237
+ export type ConditionalPricingErrorCode = "SCHEMA_NOT_FOUND" | "ENTITY_NOT_FOUND" | "ENTITY_TYPE_MISMATCH" | "ENTITY_SOFT_DELETED" | "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" | "OVERRIDE_VALUE_INVALID" | "CONDITIONAL_PRICING_NOT_ENABLED" | "CONDITIONAL_PRICING_NOT_READY";
13120
13238
  export interface ConditionalPricingOptIn {
13121
13239
  /**
13122
13240
  * - `PROVISIONING`: the organization's search collection is still being set up, and
@@ -19801,7 +19919,7 @@ declare namespace Components {
19801
19919
  context: /**
19802
19920
  * The situation to resolve for: a flat map keyed by condition name. A condition left out
19803
19921
  * matches only variants that leave it unpinned; an empty map therefore returns the `default`
19804
- * variant.
19922
+ * variant. A key naming no condition the schema declares is ignored, as if it were left out.
19805
19923
  *
19806
19924
  * Each value is an exact value, typed by its condition, or a single-operator predicate:
19807
19925
  *
@@ -20636,13 +20754,15 @@ declare namespace Components {
20636
20754
  */
20637
20755
  CatalogPair[];
20638
20756
  /**
20639
- * The entries that could not be answered because an id found nothing. Always present, and
20640
- * empty in the ordinary case; an entry the catalog answers "not offered" is not in it.
20757
+ * The entries that could not be answered because an id found nothing, and the context
20758
+ * conditions that were ignored. Always present, and empty in the ordinary case; an entry the
20759
+ * catalog answers "not offered" is not in it.
20641
20760
  *
20642
20761
  */
20643
20762
  warnings: /**
20644
- * An entry the v2 catalog could not answer, and why. `details` is typed per `code`: narrow on
20645
- * `code` and the object under it declares exactly the fields that code sends.
20763
+ * An entry the v2 catalog could not answer, or context conditions it ignored, and why. `details`
20764
+ * is typed per `code`: narrow on `code` and the object under it declares exactly the fields that
20765
+ * code sends.
20646
20766
  *
20647
20767
  */
20648
20768
  CatalogWarning[];
@@ -20668,7 +20788,7 @@ declare namespace Components {
20668
20788
  /**
20669
20789
  * The situation to resolve for: a flat map keyed by condition name. A condition left out
20670
20790
  * matches only variants that leave it unpinned; an empty map therefore returns the `default`
20671
- * variant.
20791
+ * variant. A key naming no condition the schema declares is ignored, as if it were left out.
20672
20792
  *
20673
20793
  * Each value is an exact value, typed by its condition, or a single-operator predicate:
20674
20794
  *
@@ -22340,7 +22460,7 @@ declare namespace Paths {
22340
22460
  }
22341
22461
  namespace $CalculatePricingDetails {
22342
22462
  export interface RequestBody {
22343
- line_items?: /* A valid set of product prices, quantities, (discounts) and taxes from a client. */ Components.Schemas.PriceItemsDto;
22463
+ line_items: /* A valid set of product prices, quantities, (discounts) and taxes from a client. */ Components.Schemas.PriceItemsDto;
22344
22464
  redeemed_promos?: Components.Schemas.RedeemedPromo[];
22345
22465
  }
22346
22466
  namespace Responses {
@@ -24809,8 +24929,9 @@ interface OperationMethods {
24809
24929
  * Conditional entities resolve as on `POST /v1/conditional-pricing:resolve`. An organization
24810
24930
  * that has not opted in gets base entities, not an error. A member matching several variants
24811
24931
  * yields one pair per variant, and an entry without `price_id` yields one pair per price of
24812
- * the product. Members that match nothing or are inactive are left out. Ids that find no
24813
- * entity, or an entity of another type than the entry asked for, are reported in `warnings`.
24932
+ * the product. Members that match nothing or are inactive are left out. Ids the catalog does
24933
+ * not find are reported in `warnings`, as are context keys a schema does not declare, which
24934
+ * are ignored.
24814
24935
  *
24815
24936
  */
24816
24937
  '$resolveCatalog'(
@@ -25332,8 +25453,9 @@ interface PathsDictionary {
25332
25453
  * Conditional entities resolve as on `POST /v1/conditional-pricing:resolve`. An organization
25333
25454
  * that has not opted in gets base entities, not an error. A member matching several variants
25334
25455
  * yields one pair per variant, and an entry without `price_id` yields one pair per price of
25335
- * the product. Members that match nothing or are inactive are left out. Ids that find no
25336
- * entity, or an entity of another type than the entry asked for, are reported in `warnings`.
25456
+ * the product. Members that match nothing or are inactive are left out. Ids the catalog does
25457
+ * not find are reported in `warnings`, as are context keys a schema does not declare, which
25458
+ * are ignored.
25337
25459
  *
25338
25460
  */
25339
25461
  'post'(