@artsy/cohesion 4.186.0 → 4.188.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.188.0 (Thu Jun 13 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat: adds whats new context module [#506](https://github.com/artsy/cohesion/pull/506) ([@dzucconi](https://github.com/dzucconi))
6
+
7
+ #### Authors: 1
8
+
9
+ - Damon ([@dzucconi](https://github.com/dzucconi))
10
+
11
+ ---
12
+
13
+ # v4.187.0 (Fri Jun 07 2024)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat: adds events for conversation history [#505](https://github.com/artsy/cohesion/pull/505) ([@dzucconi](https://github.com/dzucconi))
18
+
19
+ #### Authors: 1
20
+
21
+ - Damon ([@dzucconi](https://github.com/dzucconi))
22
+
23
+ ---
24
+
1
25
  # v4.186.0 (Thu Jun 06 2024)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -281,6 +281,7 @@ export declare enum ContextModule {
281
281
  HeaderActivityDropdown = "HeaderActivityDropdown",
282
282
  HeaderArtworksDropdown = "HeaderArtworksDropdown",
283
283
  HeaderArtistsDropdown = "HeaderArtistsDropdown",
284
+ HeaderWhatsNewDropdown = "HeaderWhatsNewDropdown",
284
285
  /**
285
286
  * Artist page
286
287
  */
@@ -213,6 +213,7 @@ exports.ContextModule = ContextModule;
213
213
  ContextModule["HeaderActivityDropdown"] = "HeaderActivityDropdown";
214
214
  ContextModule["HeaderArtworksDropdown"] = "HeaderArtworksDropdown";
215
215
  ContextModule["HeaderArtistsDropdown"] = "HeaderArtistsDropdown";
216
+ ContextModule["HeaderWhatsNewDropdown"] = "HeaderWhatsNewDropdown";
216
217
  ContextModule["ArtistConsignment"] = "ArtistConsignment";
217
218
  ContextModule["ArtistPage"] = "Artist page";
218
219
  ContextModule["AboutTheWork"] = "About the work";
@@ -2068,3 +2068,19 @@ export interface ClickedViewWork {
2068
2068
  artwork_id: string;
2069
2069
  notification_type: string;
2070
2070
  }
2071
+ export interface ClickedConversationHistoryItem {
2072
+ action: ActionType.clickedConversationHistoryItem;
2073
+ context_page_module: string;
2074
+ context_page_owner_id: string;
2075
+ destination_page_owner_type: PageOwnerType;
2076
+ destination_page_owner_id: string;
2077
+ partner_id: string;
2078
+ inquiry_id: string;
2079
+ }
2080
+ export interface ClickedViewFullConversationHistory {
2081
+ action: ActionType.clickedViewFullConversationHistory;
2082
+ context_page_module: string;
2083
+ context_page_owner_id: string;
2084
+ partner_id: string;
2085
+ inquiry_id: string;
2086
+ }
@@ -428,6 +428,14 @@ export declare enum ActionType {
428
428
  * Corresponds to {@link ClickedGene}
429
429
  */
430
430
  clickedGene = "clickedGene",
431
+ /**
432
+ * Corresponds to {@link ClickedConversationHistoryItem}
433
+ */
434
+ clickedConversationHistoryItem = "clickedConversationHistoryItem",
435
+ /**
436
+ * Corresponds to {@link ClickedViewFullConversationHistory}
437
+ */
438
+ clickedViewFullConversationHistory = "clickedViewFullConversationHistory",
431
439
  /**
432
440
  * Corresponds to {@link ClickedHighlightAchievement}
433
441
  */
@@ -117,6 +117,8 @@ exports.ActionType = ActionType;
117
117
  ActionType["clickedCloseValidationAddressModal"] = "clickedCloseValidationAddressModal";
118
118
  ActionType["clickedVerifiedRepresentative"] = "clickedVerifiedRepresentative";
119
119
  ActionType["clickedGene"] = "clickedGene";
120
+ ActionType["clickedConversationHistoryItem"] = "clickedConversationHistoryItem";
121
+ ActionType["clickedViewFullConversationHistory"] = "clickedViewFullConversationHistory";
120
122
  ActionType["clickedHighlightAchievement"] = "clickedHighlightAchievement";
121
123
  ActionType["commercialFilterParamsChanged"] = "commercialFilterParamsChanged";
122
124
  ActionType["completedOfflineSync"] = "completedOfflineSync";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.186.0",
3
+ "version": "4.188.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {