@fire-spark/types 0.3.3 → 0.3.5

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 (2) hide show
  1. package/dist/index.d.ts +9 -6
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -865,7 +865,7 @@ type OrderFulfillment = {
865
865
  } | {
866
866
  interpretation?: "both" | "client" | "server" | undefined;
867
867
  primitive: "custom";
868
- type: "Brand" | "Brands" | "Channel" | "Channels" | "Fulfillment" | "Fulfillments" | "Payment" | "Payments" | "Store" | "Stores";
868
+ type: "Brand" | "Brands" | "Channel" | "Channels" | "Fulfillment" | "Fulfillments" | "Payment" | "Store" | "Stores";
869
869
  operator: "is" | "is all of" | "is any of" | "is none of" | "is not";
870
870
  value: string;
871
871
  label_ids?: string[] | undefined;
@@ -1014,7 +1014,7 @@ type MerchantPayment = {
1014
1014
  } | {
1015
1015
  interpretation?: "both" | "client" | "server" | undefined;
1016
1016
  primitive: "custom";
1017
- type: "Brand" | "Brands" | "Channel" | "Channels" | "Fulfillment" | "Fulfillments" | "Payment" | "Payments" | "Store" | "Stores";
1017
+ type: "Brand" | "Brands" | "Channel" | "Channels" | "Fulfillment" | "Fulfillments" | "Payment" | "Store" | "Stores";
1018
1018
  operator: "is" | "is all of" | "is any of" | "is none of" | "is not";
1019
1019
  value: string;
1020
1020
  label_ids?: string[] | undefined;
@@ -3712,7 +3712,7 @@ type Condition = {
3712
3712
  } | {
3713
3713
  interpretation?: "both" | "client" | "server" | undefined;
3714
3714
  primitive: "custom";
3715
- type: "Brand" | "Brands" | "Channel" | "Channels" | "Fulfillment" | "Fulfillments" | "Payment" | "Payments" | "Store" | "Stores";
3715
+ type: "Brand" | "Brands" | "Channel" | "Channels" | "Fulfillment" | "Fulfillments" | "Payment" | "Store" | "Stores";
3716
3716
  operator: "is" | "is all of" | "is any of" | "is none of" | "is not";
3717
3717
  value: string;
3718
3718
  label_ids?: string[] | undefined;
@@ -3808,7 +3808,7 @@ type AndConditions = ({
3808
3808
  } | {
3809
3809
  interpretation?: "both" | "client" | "server" | undefined;
3810
3810
  primitive: "custom";
3811
- type: "Brand" | "Brands" | "Channel" | "Channels" | "Fulfillment" | "Fulfillments" | "Payment" | "Payments" | "Store" | "Stores";
3811
+ type: "Brand" | "Brands" | "Channel" | "Channels" | "Fulfillment" | "Fulfillments" | "Payment" | "Store" | "Stores";
3812
3812
  operator: "is" | "is all of" | "is any of" | "is none of" | "is not";
3813
3813
  value: string;
3814
3814
  label_ids?: string[] | undefined;
@@ -3904,7 +3904,7 @@ type OrConditions = ({
3904
3904
  } | {
3905
3905
  interpretation?: "both" | "client" | "server" | undefined;
3906
3906
  primitive: "custom";
3907
- type: "Brand" | "Brands" | "Channel" | "Channels" | "Fulfillment" | "Fulfillments" | "Payment" | "Payments" | "Store" | "Stores";
3907
+ type: "Brand" | "Brands" | "Channel" | "Channels" | "Fulfillment" | "Fulfillments" | "Payment" | "Store" | "Stores";
3908
3908
  operator: "is" | "is all of" | "is any of" | "is none of" | "is not";
3909
3909
  value: string;
3910
3910
  label_ids?: string[] | undefined;
@@ -3951,13 +3951,16 @@ interface RulesEngineParams {
3951
3951
  is_anonymous?: boolean;
3952
3952
  };
3953
3953
  payment?: {
3954
+ /** Single-tender facts; `ids` / `collect_ats` / `methods` win. */
3954
3955
  id?: string;
3955
- /** Single-tender facts; `collect_ats` / `methods` win when present. */
3956
3956
  collect_at?: string;
3957
3957
  method?: string;
3958
3958
  status?: string;
3959
+ /** Configured payment of every live tender, `REDEMPTION` included. */
3960
+ ids?: string[];
3959
3961
  /** Every live real tender (positive operators = some, negative = none). */
3960
3962
  collect_ats?: string[];
3963
+ /** Method of every live tender, `REDEMPTION` included. */
3961
3964
  methods?: string[];
3962
3965
  /** 2+ live real tenders (REDEMPTION excluded). */
3963
3966
  is_mixed?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fire-spark/types",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "Fire Spark public TypeScript types",
5
5
  "type": "module",
6
6
  "sideEffects": false,