@spiffcommerce/core 0.10.230 → 0.10.232

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
@@ -567,6 +567,8 @@ export interface DesignCreationMessage {
567
567
  weight?: number;
568
568
  designProductId?: string;
569
569
  designProductVariantId?: string;
570
+ externalCartProductId?: string;
571
+ externalCartProductVariantId?: string;
570
572
  event: string;
571
573
  exportedData: ExportedData;
572
574
  lineItemImageUrl: string;
@@ -643,13 +645,25 @@ export interface Transaction {
643
645
  * to this transaction, null unless the createDesignProduct flag was set
644
646
  * and the design was finalized using createDesign operation.
645
647
  */
648
+ /**@deprecated use externalCartProductVariantId instead of this moving forward */
646
649
  externalDesignProductVariantId?: string;
647
650
  /**
648
651
  * The external product id representing the design product related
649
652
  * to this transaction, null unless the createDesignProduct flag was set
650
653
  * and the design was finalized using createDesign operation.
651
654
  */
655
+ /**@deprecated use externalCartProductId instead of this moving forward. */
652
656
  externalDesignProductId?: string;
657
+ /**
658
+ * The external product id representing the product related to the transaction.
659
+ * This value can hold any type of transaction such as design and standard products.
660
+ */
661
+ externalCartProductId?: string;
662
+ /**
663
+ * The external product variant id representing the product related to the transaction.
664
+ * This value can hold any type of transaction such as design and standard products.
665
+ */
666
+ externalCartProductVariantId?: string;
653
667
  priceModifierTotal?: number;
654
668
  /**
655
669
  * The amount of variations associated with this transaction.
@@ -698,15 +712,18 @@ interface ProductWorkflow {
698
712
  imageUrl: string;
699
713
  workflowName: string;
700
714
  }
715
+ interface Partner {
716
+ id?: string;
717
+ name?: string;
718
+ currencyCode?: string;
719
+ customerDetailsPromptMarkdown?: string;
720
+ }
701
721
  interface Product {
702
722
  /**
703
723
  * ID of the partner owner.
704
724
  */
705
725
  partnerId?: string;
706
- partner?: {
707
- currencyCode?: string;
708
- customerDetailsPromptMarkdown?: string;
709
- };
726
+ partner?: Partner;
710
727
  /**
711
728
  * Whether a line item for this product is delivered as soon as the order is received.
712
729
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "0.10.230",
3
+ "version": "0.10.232",
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",