@artsy/cohesion 4.325.0 → 4.326.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v4.326.0 (Mon Nov 24 2025)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat: Tracking needs for Shipping Presets project [#661](https://github.com/artsy/cohesion/pull/661) ([@jpotts244](https://github.com/jpotts244))
6
+
7
+ #### Authors: 1
8
+
9
+ - Jacqueline Potts ([@jpotts244](https://github.com/jpotts244))
10
+
11
+ ---
12
+
1
13
  # v4.325.0 (Mon Nov 24 2025)
2
14
 
3
15
  #### 🚀 Enhancement
@@ -16,7 +16,7 @@ import { CmsActionType } from ".";
16
16
  * artwork_ids: ["artwork1", "artwork2", "artwork3"]
17
17
  * }
18
18
  */
19
- export type CmsBulkEditClickLabel = "add to show" | "bulk edit" | "cancel" | "change availability" | "confirm edit" | "failed updates page edit" | "publish" | "publish learn more" | "resolve all conflicts" | "shortlist" | "unpublish";
19
+ export type CmsBulkEditClickLabel = "add to show" | "bulk edit" | "cancel" | "change availability" | "confirm edit" | "failed updates page edit" | "publish" | "publish learn more" | "resolve all conflicts" | "shipping preset" | "shortlist" | "unpublish";
20
20
  export interface CmsBulkEditClickedEvent {
21
21
  action: "click";
22
22
  context_module: CmsContextModule.bulkEditFlow;
@@ -100,7 +100,7 @@ export interface CmsBulkEditProcessingStarted {
100
100
  /**
101
101
  * Bulk Edit flow processing completed
102
102
  *
103
- * Example:
103
+ * Example (single field):
104
104
  * {
105
105
  * action: "processingCompleted",
106
106
  * context_module: "Artworks - bulk edit",
@@ -108,13 +108,26 @@ export interface CmsBulkEditProcessingStarted {
108
108
  * value: "on hold", // e.g. "on hold", "available", "not for sale"
109
109
  * artwork_ids: ["artwork1", "artwork2"]
110
110
  * }
111
+ *
112
+ * Example (multiple fields):
113
+ * {
114
+ * action: "processingCompleted",
115
+ * context_module: "Artworks - bulk edit",
116
+ * labels: ["change domesticShipping", "change internationalShipping", "change collectorPickup"],
117
+ * values: ["2000", "3000", "1000"],
118
+ * artwork_ids: ["artwork1", "artwork2"],
119
+ * shipping_preset_id: "preset123"
120
+ * }
111
121
  */
112
122
  export interface CmsBulkEditProcessingCompleted {
113
123
  action: CmsActionType.processingCompleted;
114
124
  context_module: CmsContextModule.bulkEditFlow;
115
- label: string;
116
- value: string;
125
+ label?: string;
126
+ value?: string;
127
+ labels?: string[];
128
+ values?: string[];
117
129
  artwork_ids: string[];
130
+ shipping_preset_id?: string;
118
131
  }
119
132
  /**
120
133
  * Bulk edit failed
@@ -1550,6 +1550,7 @@ export interface ClickedPublish {
1550
1550
  context_module: ContextModule;
1551
1551
  artwork_id: string;
1552
1552
  label: string;
1553
+ shipping_preset_id?: string;
1553
1554
  }
1554
1555
  /**
1555
1556
  * A partner clicks the save button on the artwork form page in CMS.
@@ -1571,6 +1572,7 @@ export interface ClickedSave {
1571
1572
  context_module: ContextModule;
1572
1573
  artwork_id: string;
1573
1574
  label: string;
1575
+ shipping_preset_id?: string;
1574
1576
  }
1575
1577
  /**
1576
1578
  * A Partner selects a filter on the conversations page in CMS.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.325.0",
3
+ "version": "4.326.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {