@spiffcommerce/core 0.10.219 → 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
@@ -784,6 +784,10 @@ interface Product {
784
784
  * See attachCustomerDetails on the WorkflowExperience for how to supply us with the details you collect.
785
785
  */
786
786
  promptForCustomerDetails?: boolean;
787
+ /**
788
+ * Configuration for bulk creations
789
+ */
790
+ bulkConfiguration?: BulkConfiguration;
787
791
  }
788
792
  interface ColorOption {
789
793
  id?: string;
@@ -857,6 +861,20 @@ export enum ProductCameraRig {
857
861
  Orbit = 0,
858
862
  Pan = 1
859
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
+ }
860
878
  interface StorageService {
861
879
  /**
862
880
  * Get a value.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "0.10.219",
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",