@artsy/cohesion 4.276.0 → 4.278.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,27 @@
1
+ # v4.278.0 (Mon Jun 30 2025)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - fix: add destination type to TappedBuyerProtection [#611](https://github.com/artsy/cohesion/pull/611) ([@MrSltun](https://github.com/MrSltun))
6
+
7
+ #### Authors: 1
8
+
9
+ - Sultan Al-Maari ([@MrSltun](https://github.com/MrSltun))
10
+
11
+ ---
12
+
13
+ # v4.277.0 (Fri Jun 20 2025)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat(batch-import): Add new edit event [#610](https://github.com/artsy/cohesion/pull/610) ([@damassi](https://github.com/damassi))
18
+
19
+ #### Authors: 1
20
+
21
+ - Christopher Pappas ([@damassi](https://github.com/damassi))
22
+
23
+ ---
24
+
1
25
  # v4.276.0 (Thu Jun 19 2025)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -172,4 +172,25 @@ export interface CmsBatchImportClickExit {
172
172
  context_page_owner_id: string;
173
173
  label: "click exit";
174
174
  }
175
- export type CmsBatchImportFlow = CmsBatchImportFlowClickImport | CmsBatchImportFlowClickAddCSV | CmsBatchImportFlowClickDownloadTemplate | CmsBatchImportFlowShownMissingInformation | CmsBatchImportFlowArtistNeedsMatching | CmsBatchImportClickExit;
175
+ /**
176
+ * Triggered when a partner edits a field in the batch import flow.
177
+ *
178
+ * @example
179
+ * ```
180
+ * {
181
+ * action: "editedBatchImportField",
182
+ * context_module: "batchImportFlow",
183
+ * context_page_owner_type: "batchImport",
184
+ * context_page_owner_id: "67b646ecbe87376bfeb3f962",
185
+ * is_error: true
186
+ * }
187
+ * ```
188
+ */
189
+ export interface CmsBatchImportEditedBatchImportField {
190
+ action: CmsActionType.editedBatchImportField;
191
+ context_module: CmsContextModule.batchImportFlow;
192
+ context_page_owner_type: CmsOwnerType.batchImport;
193
+ context_page_owner_id: string;
194
+ is_error: boolean;
195
+ }
196
+ export type CmsBatchImportFlow = CmsBatchImportFlowClickImport | CmsBatchImportFlowClickAddCSV | CmsBatchImportFlowClickDownloadTemplate | CmsBatchImportFlowShownMissingInformation | CmsBatchImportFlowArtistNeedsMatching | CmsBatchImportClickExit | CmsBatchImportEditedBatchImportField;
@@ -40,6 +40,10 @@ export declare enum CmsActionType {
40
40
  * Corresponds to {@link CmsBatchImportFlow}
41
41
  */
42
42
  csvImportError = "csvImportError",
43
+ /**
44
+ * Corresponds to {@link CmsBatchImportFlow}
45
+ */
46
+ editedBatchImportField = "editedBatchImportField",
43
47
  /**
44
48
  * Corresponds to {@link SettingsFlow}
45
49
  */
@@ -26,6 +26,7 @@ exports.CmsActionType = CmsActionType;
26
26
  CmsActionType["clickedOnDuplicateArtwork"] = "clickedonduplicateartwork";
27
27
  CmsActionType["createdArtwork"] = "created artwork";
28
28
  CmsActionType["csvImportError"] = "csvImportError";
29
+ CmsActionType["editedBatchImportField"] = "editedBatchImportField";
29
30
  CmsActionType["editedLocation"] = "editedLocation";
30
31
  CmsActionType["processingStarted"] = "processingStarted";
31
32
  CmsActionType["processingCompleted"] = "processingCompleted";
@@ -1411,6 +1411,6 @@ export interface TappedBuyerProtection {
1411
1411
  context_module: ContextModule;
1412
1412
  context_screen_owner_type: ScreenOwnerType;
1413
1413
  context_screen_owner_id: string;
1414
- destination_screen_owner_id: string;
1414
+ destination_screen_owner_type: ScreenOwnerType;
1415
1415
  destination_screen_owner_slug: string;
1416
1416
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.276.0",
3
+ "version": "4.278.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {