@artsy/cohesion 4.407.0 → 4.409.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.409.0 (Mon Sep 28 2026)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat: add context module to CmsShowAddShowToInventory [#758](https://github.com/artsy/cohesion/pull/758) ([@chr-tatu](https://github.com/chr-tatu))
6
+
7
+ #### Authors: 1
8
+
9
+ - Christian Tatu ([@chr-tatu](https://github.com/chr-tatu))
10
+
11
+ ---
12
+
13
+ # v4.408.0 (Mon Sep 28 2026)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat: add CmsShowAddShowToInventory event [#757](https://github.com/artsy/cohesion/pull/757) ([@chr-tatu](https://github.com/chr-tatu))
18
+
19
+ #### Authors: 1
20
+
21
+ - Christian Tatu ([@chr-tatu](https://github.com/chr-tatu))
22
+
23
+ ---
24
+
1
25
  # v4.407.0 (Tue Sep 22 2026)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -45,4 +45,29 @@ export interface CmsShowDownloadOriginalShot {
45
45
  show_id: string;
46
46
  user_id: string;
47
47
  }
48
- export type CmsShowFlow = CmsShowAddArtworkToShow | CmsShowDownloadOriginalShot;
48
+ /**
49
+ * Add show to inventory: a partner adds a show or fair booth from the CMS show
50
+ * page to ArtOS inventory as a collection. Sent once the collection has been
51
+ * created successfully, not when the button is clicked.
52
+ *
53
+ * @example
54
+ * ```
55
+ * {
56
+ * action: "click",
57
+ * artwork_count: 12,
58
+ * context_module: CmsContextModule.addShowToInventory,
59
+ * partner_list_id: "partner-list-id",
60
+ * show_id: "show-id",
61
+ * user_id: "user-id",
62
+ * }
63
+ * ```
64
+ */
65
+ export interface CmsShowAddShowToInventory {
66
+ action: "click";
67
+ artwork_count: number;
68
+ context_module: CmsContextModule.addShowToInventory;
69
+ partner_list_id: string;
70
+ show_id: string;
71
+ user_id: string;
72
+ }
73
+ export type CmsShowFlow = CmsShowAddArtworkToShow | CmsShowAddShowToInventory | CmsShowDownloadOriginalShot;
@@ -7,6 +7,7 @@
7
7
  export declare enum CmsContextModule {
8
8
  actionableInsights = "actionableInsights",
9
9
  addArtworkToShow = "Add artwork to show",
10
+ addShowToInventory = "Shows - Add to inventory",
10
11
  artistList = "artistList",
11
12
  artistOverviewSocials = "artistOverviewSocials",
12
13
  artistShow = "artistShow",
@@ -17,6 +17,7 @@ exports.CmsContextModule = CmsContextModule;
17
17
  (function (CmsContextModule) {
18
18
  CmsContextModule["actionableInsights"] = "actionableInsights";
19
19
  CmsContextModule["addArtworkToShow"] = "Add artwork to show";
20
+ CmsContextModule["addShowToInventory"] = "Shows - Add to inventory";
20
21
  CmsContextModule["artistList"] = "artistList";
21
22
  CmsContextModule["artistOverviewSocials"] = "artistOverviewSocials";
22
23
  CmsContextModule["artistShow"] = "artistShow";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.407.0",
3
+ "version": "4.409.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {