@artsy/cohesion 4.173.0 → 4.175.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.175.0 (Wed Apr 24 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - [AS-4497] Add flow to tapped buy now [#493](https://github.com/artsy/cohesion/pull/493) ([@daytavares](https://github.com/daytavares))
6
+
7
+ #### Authors: 1
8
+
9
+ - Dayane Tavares ([@daytavares](https://github.com/daytavares))
10
+
11
+ ---
12
+
13
+ # v4.174.0 (Wed Apr 24 2024)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - Fix artwork view event [#492](https://github.com/artsy/cohesion/pull/492) ([@daytavares](https://github.com/daytavares))
18
+
19
+ #### Authors: 1
20
+
21
+ - Dayane Tavares ([@daytavares](https://github.com/daytavares))
22
+
23
+ ---
24
+
1
25
  # v4.173.0 (Mon Apr 22 2024)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -2032,7 +2032,7 @@ export interface ClickedOnLearnMore {
2032
2032
  * context_owner_type: "notifications",
2033
2033
  * owner_id: "770fa47d-8cc8-4267-93e7-2808544d2a98"
2034
2034
  * artwork_id: "6617b3410c1cd2000c6e11c7"
2035
- * notication_type: "offers" | "all" | "alerts" | "follows"
2035
+ * notification_type: "offers" | "all" | "alerts" | "follows"
2036
2036
  * }
2037
2037
  * ```
2038
2038
  */
@@ -2041,5 +2041,5 @@ export interface ClickedViewWork {
2041
2041
  context_owner_type: string;
2042
2042
  owner_id: string;
2043
2043
  artwork_id: string;
2044
- notication_type: string;
2044
+ notification_type: string;
2045
2045
  }
@@ -722,7 +722,7 @@ export interface TappedBid {
722
722
  context_owner_slug: string;
723
723
  }
724
724
  /**
725
- * A user taps "Buy Now" on an artwork page (BNMO)
725
+ * A user taps "Purchase" on an artwork page (BNMO)
726
726
  *
727
727
  * This schema describes events sent to Segment from [[tappedBuyNow]]
728
728
  *
@@ -733,7 +733,8 @@ export interface TappedBid {
733
733
  * context_owner_type: "Artwork",
734
734
  * context_owner_slug: "radna-segal-pearl",
735
735
  * context_owner_id: "6164889300d643000db86504",
736
- * impulse_conversation_id: "198"
736
+ * impulse_conversation_id: "198",
737
+ * flow: "Buy now" | "Partner offer"
737
738
  * }
738
739
  * ```
739
740
  */
@@ -743,6 +744,7 @@ export interface TappedBuyNow {
743
744
  context_owner_id: string;
744
745
  context_owner_slug: string;
745
746
  impulse_conversation_id?: string;
747
+ flow: string;
746
748
  }
747
749
  /**
748
750
  * A user taps on 'Contact Gallery' on an artwork page
@@ -1006,11 +1008,11 @@ export interface TappedNewsSection {
1006
1008
  * ```
1007
1009
  * {
1008
1010
  * action: "tappedViewWork",
1009
- * context_module : "Notifications"
1010
- * context_screen_owner_type: "notifications",
1011
+ * context_module : "Notification"
1012
+ * context_screen_owner_type: "notification",
1011
1013
  * context_screen_owner_id: ""770fa47d-8cc8-4267-93e7-2808544d2a98"",
1012
1014
  * artwork_id: "6617b3410c1cd2000c6e11c7"
1013
- * notication_type: "offers" | "all" | "alerts" | "follows"
1015
+ * notification_type: "offers" | "all" | "alerts" | "follows"
1014
1016
  * }
1015
1017
  * ```
1016
1018
  */
@@ -1020,5 +1022,5 @@ export interface TappedViewWork {
1020
1022
  context_screen_owner_type: ScreenOwnerType;
1021
1023
  context_screen_owner_id: string;
1022
1024
  artwork_id: string;
1023
- notication_type: string;
1025
+ notification_type: string;
1024
1026
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.173.0",
3
+ "version": "4.175.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {