@spiffcommerce/core 0.10.220 → 0.10.221

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,8 +567,6 @@ export interface DesignCreationMessage {
567
567
  weight?: number;
568
568
  designProductId?: string;
569
569
  designProductVariantId?: string;
570
- externalCartProductId?: string;
571
- externalCartProductVariantId?: string;
572
570
  event: string;
573
571
  exportedData: ExportedData;
574
572
  lineItemImageUrl: string;
@@ -645,25 +643,13 @@ export interface Transaction {
645
643
  * to this transaction, null unless the createDesignProduct flag was set
646
644
  * and the design was finalized using createDesign operation.
647
645
  */
648
- /**@deprecated use externalCartProductVariantId instead of this moving forward */
649
646
  externalDesignProductVariantId?: string;
650
647
  /**
651
648
  * The external product id representing the design product related
652
649
  * to this transaction, null unless the createDesignProduct flag was set
653
650
  * and the design was finalized using createDesign operation.
654
651
  */
655
- /**@deprecated use externalCartProductId instead of this moving forward. */
656
652
  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;
667
653
  priceModifierTotal?: number;
668
654
  /**
669
655
  * The amount of variations associated with this transaction.
@@ -798,6 +784,10 @@ interface Product {
798
784
  * See attachCustomerDetails on the WorkflowExperience for how to supply us with the details you collect.
799
785
  */
800
786
  promptForCustomerDetails?: boolean;
787
+ /**
788
+ * Configuration for bulk creations
789
+ */
790
+ bulkConfiguration?: BulkConfiguration;
801
791
  }
802
792
  interface ColorOption {
803
793
  id?: string;
@@ -871,6 +861,20 @@ export enum ProductCameraRig {
871
861
  Orbit = 0,
872
862
  Pan = 1
873
863
  }
864
+ enum BulkPriceCalculationStrategy {
865
+ PerVariation = 0,
866
+ BaseProduct = 1
867
+ }
868
+ interface BulkConfiguration {
869
+ id: string;
870
+ name?: string;
871
+ sceneTitle: string;
872
+ stepTitle: string;
873
+ helpText?: string;
874
+ supportsGoogleSheet: boolean;
875
+ maxVariations: number;
876
+ pricingStrategy: BulkPriceCalculationStrategy;
877
+ }
874
878
  interface StorageService {
875
879
  /**
876
880
  * Get a value.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "0.10.220",
3
+ "version": "0.10.221",
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",