@spiffcommerce/core 0.10.210 → 0.10.212

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/types.d.ts CHANGED
@@ -665,6 +665,8 @@ export interface DesignCreationMessage {
665
665
  weight?: number;
666
666
  designProductId?: string;
667
667
  designProductVariantId?: string;
668
+ externalCartProductId?: string;
669
+ externalCartProductVariantId?: string;
668
670
  event: string;
669
671
  exportedData: ExportedData;
670
672
  lineItemImageUrl: string;
@@ -741,13 +743,25 @@ export interface Transaction {
741
743
  * to this transaction, null unless the createDesignProduct flag was set
742
744
  * and the design was finalized using createDesign operation.
743
745
  */
746
+ /**@deprecated use externalCartProductVariantId instead of this moving forward */
744
747
  externalDesignProductVariantId?: string;
745
748
  /**
746
749
  * The external product id representing the design product related
747
750
  * to this transaction, null unless the createDesignProduct flag was set
748
751
  * and the design was finalized using createDesign operation.
749
752
  */
753
+ /**@deprecated use externalCartProductId instead of this moving forward. */
750
754
  externalDesignProductId?: string;
755
+ /**
756
+ * The external product id representing the product related to the transaction.
757
+ * This value can hold any type of transaction such as design and standard products.
758
+ */
759
+ externalCartProductId?: string;
760
+ /**
761
+ * The external product variant id representing the product related to the transaction.
762
+ * This value can hold any type of transaction such as design and standard products.
763
+ */
764
+ externalCartProductVariantId?: string;
751
765
  priceModifierTotal?: number;
752
766
  /**
753
767
  * The amount of variations associated with this transaction.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "0.10.210",
3
+ "version": "0.10.212",
4
4
  "description": "Core client API for interacting with the Spiff Commerce backend.",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/main.js",