@artsy/cohesion 4.61.0 → 4.63.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,49 @@
1
+ # v4.63.0 (Fri Sep 09 2022)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat(CX-2918): Add MyCollectionInsigts Median Auction Price tracking [#351](https://github.com/artsy/cohesion/pull/351) ([@lordkiz](https://github.com/lordkiz))
6
+
7
+ #### 🏠 Internal
8
+
9
+ - chore(deps): update dep typescript from 4.8.2 to v4.8.3 [#350](https://github.com/artsy/cohesion/pull/350) ([@renovate[bot]](https://github.com/renovate[bot]))
10
+
11
+ #### Authors: 2
12
+
13
+ - [@renovate[bot]](https://github.com/renovate[bot])
14
+ - Kizito Egeonu ([@lordkiz](https://github.com/lordkiz))
15
+
16
+ ---
17
+
18
+ # v4.62.1 (Thu Sep 08 2022)
19
+
20
+ #### 🐛 Bug Fix
21
+
22
+ - chore(FX-4209): reexport reverse image search events [#349](https://github.com/artsy/cohesion/pull/349) ([@dimatretyak](https://github.com/dimatretyak))
23
+
24
+ #### Authors: 1
25
+
26
+ - Dima Tretyak (Dzmitry Tratsiak) ([@dimatretyak](https://github.com/dimatretyak))
27
+
28
+ ---
29
+
30
+ # v4.62.0 (Thu Sep 08 2022)
31
+
32
+ #### 🚀 Enhancement
33
+
34
+ - feat(FX-4209): add events for reverse image search [#348](https://github.com/artsy/cohesion/pull/348) ([@dimatretyak](https://github.com/dimatretyak))
35
+
36
+ #### 🏠 Internal
37
+
38
+ - chore(deps): update dep typescript from 4.7.4 to v4.8.2 [#347](https://github.com/artsy/cohesion/pull/347) ([@renovate[bot]](https://github.com/renovate[bot]))
39
+
40
+ #### Authors: 2
41
+
42
+ - [@renovate[bot]](https://github.com/renovate[bot])
43
+ - Dima Tretyak (Dzmitry Tratsiak) ([@dimatretyak](https://github.com/dimatretyak))
44
+
45
+ ---
46
+
1
47
  # v4.61.0 (Tue Aug 09 2022)
2
48
 
3
49
  #### 🚀 Enhancement
@@ -0,0 +1,94 @@
1
+ import { ContextModule } from "../Values/ContextModule";
2
+ import { OwnerType } from "../Values/OwnerType";
3
+ import { ActionType } from ".";
4
+ /**
5
+ * Schema describing 'MyCollectionInsightsRails' events
6
+ * @packageDocumentation
7
+ */
8
+ /**
9
+ * A user taps on the MyCollectionInsightsMedianAuctionRailItem
10
+ *
11
+ * This schema describes events sent to Segment from [[tappedMyCollectionInsightsMedianAuctionRailItem]]
12
+ *
13
+ * @example
14
+ * ```
15
+ * {
16
+ * action: "tappedMyCollectionInsightsMedianAuctionRailItem",
17
+ * context_module: "myCollectionInsightsMedianAuctionRail",
18
+ * context_screen: "myCollectionInsights",
19
+ * context_screen_owner_type: "myCollectionInsights",
20
+ * artist_id: "373828273738281827",
21
+ * category: "Painting"
22
+ * }
23
+ * ```
24
+ */
25
+ export interface TappedMyCollectionInsightsMedianAuctionRailItem {
26
+ action: ActionType.tappedMyCollectionInsightsMedianAuctionRailItem;
27
+ context_module: ContextModule.myCollectionInsightsMedianAuctionRail;
28
+ context_screen: OwnerType.myCollectionInsights;
29
+ context_screen_owner_type: OwnerType.myCollectionInsights;
30
+ artist_id: string;
31
+ category: string;
32
+ }
33
+ /**
34
+ * Schema describing 'MyCollectionInsightsMedianAuctionPriceChart' events
35
+ * @packageDocumentation
36
+ */
37
+ /**
38
+ * A user taps on the MedianAuctionPriceChartCategory
39
+ *
40
+ * This schema describes events sent to Segment from [[tappedMyCollectionInsightsMedianAuctionPriceChartCategory]]
41
+ *
42
+ * @example
43
+ * ```
44
+ * {
45
+ * action: "tappedMyCollectionInsightsMedianAuctionPriceChartCategory",
46
+ * context_module: "myCollectionInsightsMedianAuctionPriceChart",
47
+ * context_screen: "myCollectionInsightsMedianAuctionPrice",
48
+ * context_screen_owner_type: "myCollectionInsightsMedianAuctionPrice",
49
+ * context_screen_owner_id: "5fad78273c8451000d0c53b9",
50
+ * context_screen_owner_slug: "andy-warhol",
51
+ * artist_id: "5fad78273c8451000d0c53b9",
52
+ * selected_category: "Painting"
53
+ * }
54
+ * ```
55
+ */
56
+ export interface TappedMyCollectionInsightsMedianAuctionPriceChartCategory {
57
+ action: ActionType.tappedMyCollectionInsightsMedianAuctionPriceChartCategory;
58
+ context_module: ContextModule.myCollectionInsightsMedianAuctionPriceChart;
59
+ context_screen: OwnerType.myCollectionInsightsMedianAuctionPrice;
60
+ context_screen_owner_type: OwnerType.myCollectionInsightsMedianAuctionPrice;
61
+ context_screen_owner_id?: string;
62
+ context_screen_owner_slug?: string;
63
+ artist_id: string;
64
+ selected_category: string;
65
+ }
66
+ /**
67
+ * A user taps on the MedianAuctionPriceChartTimeframe
68
+ *
69
+ * This schema describes events sent to Segment from [[tappedMyCollectionInsightsMedianAuctionPriceChartTimeframe]]
70
+ *
71
+ * @example
72
+ * ```
73
+ * {
74
+ * action: "tappedMyCollectionInsightsMedianAuctionPriceChartTimeframe",
75
+ * context_module: "myCollectionInsightsMedianAuctionPriceChart",
76
+ * context_screen: "myCollectionInsightsMedianAuctionPrice",
77
+ * context_screen_owner_type: "myCollectionInsightsMedianAuctionPrice",
78
+ * context_screen_owner_id: "5fad78273c8451000d0c53b9",
79
+ * context_screen_owner_slug: "andy-warhol",
80
+ * artist_id: "5fad78273c8451000d0c53b9",
81
+ * selected_timeframe: "3 yrs"
82
+ * }
83
+ * ```
84
+ */
85
+ export interface TappedMyCollectionInsightsMedianAuctionPriceChartTimeframe {
86
+ action: ActionType.tappedMyCollectionInsightsMedianAuctionPriceChartTimeframe;
87
+ context_module: ContextModule.myCollectionInsightsMedianAuctionPriceChart;
88
+ context_screen: OwnerType.myCollectionInsightsMedianAuctionPrice;
89
+ context_screen_owner_type: OwnerType.myCollectionInsightsMedianAuctionPrice;
90
+ context_screen_owner_id?: string;
91
+ context_screen_owner_slug?: string;
92
+ artist_id: string;
93
+ selected_timeframe: string;
94
+ }
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,158 @@
1
+ import { ScreenOwnerType } from "../Values/OwnerType";
2
+ import { ActionType } from ".";
3
+ /**
4
+ * Schema describing 'Reverse Image Search' events
5
+ * @packageDocumentation
6
+ */
7
+ /**
8
+ * A user taps the reverse image search button on a fair or show screen
9
+ *
10
+ * This schema describes events sent to Segment from [[tappedReverseImageSearch]]
11
+ *
12
+ * @example
13
+ * ```
14
+ * {
15
+ * action: "tappedReverseImageSearch",
16
+ * context_screen_owner_type: "reverseImageSearch",
17
+ * owner_type: "fair",
18
+ * owner_id: "6303add6f2f46c000d17c449",
19
+ * owner_slug: "spring-slash-break-art-show-2022"
20
+ * }
21
+ * ```
22
+ */
23
+ export interface TappedReverseImageSearch {
24
+ action: ActionType.tappedReverseImageSearch;
25
+ context_screen_owner_type: ScreenOwnerType;
26
+ owner_type: ScreenOwnerType;
27
+ owner_id: string;
28
+ owner_slug: string;
29
+ }
30
+ /**
31
+ * A user taps the flash button on the reverse image search camera screen
32
+ *
33
+ * This schema describes events sent to Segment from [[tappedToggleCameraFlash]]
34
+ *
35
+ * @example
36
+ * ```
37
+ * {
38
+ * action: "tappedToggleCameraFlash",
39
+ * context_screen_owner_type: "reverseImageSearch"
40
+ * owner_type: "fair",
41
+ * owner_id: "6303add6f2f46c000d17c449",
42
+ * owner_slug: "spring-slash-break-art-show-2022",
43
+ * }
44
+ * ```
45
+ */
46
+ export interface TappedToggleCameraFlash {
47
+ action: ActionType.tappedToggleCameraFlash;
48
+ context_screen_owner_type: ScreenOwnerType;
49
+ owner_type: ScreenOwnerType;
50
+ owner_id: string;
51
+ owner_slug: string;
52
+ }
53
+ /**
54
+ * A user taps the library button on the reverse image search camera screen
55
+ *
56
+ * This schema describes events sent to Segment from [[tappedPickImageFromLibrary]]
57
+ *
58
+ * @example
59
+ * ```
60
+ * {
61
+ * action: "tappedPickImageFromLibrary",
62
+ * context_screen_owner_type: "reverseImageSearch"
63
+ * owner_type: "fair",
64
+ * owner_id: "6303add6f2f46c000d17c449",
65
+ * owner_slug: "spring-slash-break-art-show-2022",
66
+ * }
67
+ * ```
68
+ */
69
+ export interface TappedPickImageFromLibrary {
70
+ action: ActionType.tappedPickImageFromLibrary;
71
+ context_screen_owner_type: ScreenOwnerType;
72
+ owner_type: ScreenOwnerType;
73
+ owner_id: string;
74
+ owner_slug: string;
75
+ }
76
+ /**
77
+ * A user searches with a reverse image query with results
78
+ *
79
+ * This schema describes events sent to Segment from [[searchedReverseImageWithResults]]
80
+ *
81
+ * @example
82
+ * ```
83
+ * {
84
+ * action: "searchedReverseImageWithResults",
85
+ * context_screen_owner_type: "reverseImageSearch",
86
+ * owner_type: "fair",
87
+ * owner_id: "6303add6f2f46c000d17c449",
88
+ * owner_slug: "spring-slash-break-art-show-2022",
89
+ * total_matches_count: 3
90
+ * artwork_ids: "5f7190cc9e4a6f000d02085c,60b755f8052e35000f05820d,611ab14f3bb0e9000fc1a057"
91
+ * }
92
+ * ```
93
+ */
94
+ export interface SearchedReverseImageWithResults {
95
+ action: ActionType.searchedReverseImageWithResults;
96
+ context_screen_owner_type?: ScreenOwnerType;
97
+ owner_type: ScreenOwnerType;
98
+ owner_id: string;
99
+ owner_slug: string;
100
+ total_matches_count: number;
101
+ artwork_ids: string;
102
+ }
103
+ /**
104
+ * A user searches with a reverse image query with no results
105
+ *
106
+ * This schema describes events sent to Segment from [[searchedReverseImageWithNoResults]]
107
+ *
108
+ * @example
109
+ * ```
110
+ * {
111
+ * action: "searchedReverseImageWithNoResults",
112
+ * context_screen_owner_type: "reverseImageSearch",
113
+ * owner_type: "fair",
114
+ * owner_id: "6303add6f2f46c000d17c449",
115
+ * owner_slug: "spring-slash-break-art-show-2022"
116
+ * }
117
+ * ```
118
+ */
119
+ export interface SearchedReverseImageWithNoResults {
120
+ action: ActionType.searchedReverseImageWithNoResults;
121
+ context_screen_owner_type: ScreenOwnerType;
122
+ owner_type: ScreenOwnerType;
123
+ owner_id: string;
124
+ owner_slug: string;
125
+ }
126
+ /**
127
+ * A user selects an artwork from reverse image search results
128
+ *
129
+ * This schema describes events sent to Segment from [[selectedArtworkFromReverseImageSearch]]
130
+ *
131
+ * @example
132
+ * ```
133
+ * {
134
+ * action: "selectedArtworkFromReverseImageSearch",
135
+ * context_screen_owner_type: "reverseImageSearch",
136
+ * destination_owner_type: "artwork",
137
+ * destination_owner_id: "5f7190cc9e4a6f000d02085c",
138
+ * destination_owner_slug: "kaarina-kaikkonen-i-no-longer-hear-you-singing",
139
+ * owner_type: "fair",
140
+ * owner_id: "6303add6f2f46c000d17c449",
141
+ * owner_slug: "spring-slash-break-art-show-2022"
142
+ * total_matches_count: 3,
143
+ * position: 1
144
+ * }
145
+ * ```
146
+ */
147
+ export interface SelectedArtworkFromReverseImageSearch {
148
+ action: ActionType.selectedArtworkFromReverseImageSearch;
149
+ context_screen_owner_type: ScreenOwnerType;
150
+ destination_owner_type: ScreenOwnerType;
151
+ destination_owner_id?: string;
152
+ destination_owner_slug: string;
153
+ owner_type: ScreenOwnerType;
154
+ owner_id: string;
155
+ owner_slug: string;
156
+ total_matches_count: number;
157
+ position: number;
158
+ }
@@ -0,0 +1 @@
1
+ "use strict";
@@ -1,14 +1,16 @@
1
1
  import { AddToCalendar } from "./AddToCalendar";
2
2
  import { AuctionPageView, BidPageView, ClickedActiveBid, ClickedRegisterToBid, ConfirmBid, ConfirmRegistrationPageview, EnterLiveAuction, MaxBidSelected, RegistrationPageView, RegistrationSubmitted } from "./Auction";
3
3
  import { AuthImpression, CompletedOnboarding, CreatedAccount, OnboardingUserInputData, ResetYourPassword, StartedOnboarding, SuccessfullyLoggedIn } from "./Authentication";
4
- import { ClickedAddNewShippingAddress, ClickedAddWorksToFair, ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedBuyerProtection, ClickedChangePage, ClickedChangePaymentMethod, ClickedChangeShippingAddress, ClickedChangeShippingMethod, ClickedCollectionGroup, ClickedCreateAlert, ClickedDeliveryMethod, ClickedEditArtwork, ClickedExpansionToggle, ClickedFairCard, ClickedFairGroup, ClickedGalleryGroup, ClickedLoadMore, ClickedMainArtworkGrid, ClickedNavigationTab, ClickedOfferActions, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnSubmitOrder, ClickedOrderPage, ClickedPartnerCard, ClickedPartnerLink, ClickedPaymentDetails, ClickedPaymentMethod, CheckedAccountBalance, ClickedPromoSpace, ClickedSelectShippingOption, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
4
+ import { CheckedAccountBalance, ClickedAddNewShippingAddress, ClickedAddWorksToFair, ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedBuyerProtection, ClickedChangePage, ClickedChangePaymentMethod, ClickedChangeShippingAddress, ClickedChangeShippingMethod, ClickedCollectionGroup, ClickedCreateAlert, ClickedDeliveryMethod, ClickedEditArtwork, ClickedExpansionToggle, ClickedFairCard, ClickedFairGroup, ClickedGalleryGroup, ClickedLoadMore, ClickedMainArtworkGrid, ClickedNavigationTab, ClickedOfferActions, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnSubmitOrder, ClickedOrderPage, ClickedPartnerCard, ClickedPartnerLink, ClickedPaymentDetails, ClickedPaymentMethod, ClickedPromoSpace, ClickedSelectShippingOption, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
5
5
  import { ArtworkDetailsCompleted, ConsignmentSubmitted, SubmitAnotherArtwork, UploadPhotosCompleted, ViewArtworkMyCollection } from "./Consignments";
6
6
  import { FocusedOnConversationMessageInput, SentConversationMessage, TappedInboxConversation, TappedMakeOffer, TappedViewOffer } from "./Conversations";
7
7
  import { ExperimentViewed } from "./ExperimentViewed";
8
8
  import { AuctionResultsFilterParamsChanged, CommercialFilterParamsChanged, PriceDatabaseFilterParamsChanged } from "./FilterAndSort";
9
9
  import { Impression } from "./Impression";
10
10
  import { AddCollectedArtwork, DeleteCollectedArtwork, EditCollectedArtwork, SentRequestPriceEstimate, TappedCollectedArtwork, TappedCollectedArtworkImages, TappedRequestPriceEstimate } from "./MyCollection";
11
+ import { TappedMyCollectionInsightsMedianAuctionRailItem, TappedMyCollectionInsightsMedianAuctionPriceChartCategory, TappedMyCollectionInsightsMedianAuctionPriceChartTimeframe } from "./MyCollectionInsights";
11
12
  import { PromptForReview } from "./PromptForReview";
13
+ import { SearchedReverseImageWithNoResults, SearchedReverseImageWithResults, SelectedArtworkFromReverseImageSearch, TappedPickImageFromLibrary, TappedReverseImageSearch, TappedToggleCameraFlash } from "./ReverseImageSearch";
12
14
  import { DeletedSavedSearch, EditedSavedSearch } from "./SavedSearch";
13
15
  import { FollowEvents } from "./SavesAndFollows";
14
16
  import { ConsignmentArtistFailed, FocusedOnPriceDatabaseSearchInput, FocusedOnSearchInput, SearchedPriceDatabase, SearchedWithNoResults, SelectedItemFromPriceDatabaseSearch, SelectedItemFromSearch } from "./Search";
@@ -22,7 +24,7 @@ import { ToggledAccordion } from "./UserExperienceInteractions";
22
24
  *
23
25
  * Each event describes one ActionType
24
26
  */
25
- export declare type Event = AddToCalendar | AddCollectedArtwork | ArtworkDetailsCompleted | AuctionPageView | AuctionResultsFilterParamsChanged | AuthImpression | BidPageView | CreatedAccount | ClickedActiveBid | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedCreateAlert | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedOfferOption | ClickedOnArtworkShippingWeight | ClickedOnArtworkShippingUnitsDropdown | ClickedOnFramedMeasurements | ClickedOnFramedMeasurementsDropdown | ClickedOnSubmitOrder | ClickedSnooze | ClickedPartnerCard | ClickedPartnerLink | ClickedPaymentMethod | ClickedPaymentDetails | CheckedAccountBalance | ClickedPromoSpace | ClickedRegisterToBid | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | ClickedOfferActions | ClickedOrderPage | CommercialFilterParamsChanged | CompletedOnboarding | ConfirmBid | ConfirmRegistrationPageview | ConsignmentArtistFailed | ConsignmentSubmitted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | EnterLiveAuction | ExperimentViewed | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | Impression | MaxBidSelected | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | RegistrationPageView | RegistrationSubmitted | ResetYourPassword | SaleScreenLoadComplete | Screen | SearchedPriceDatabase | SearchedWithNoResults | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SentConversationMessage | SentRequestPriceEstimate | Share | StartedOnboarding | SubmitAnotherArtwork | SuccessfullyLoggedIn | TappedArticleGroup | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedAuctionResultGroup | TappedBid | TappedBuyNow | TappedCollectedArtwork | TappedCollectedArtworkImages | TappedCollectionGroup | TappedConsign | TappedContactGallery | TappedCreateAlert | TappedExploreGroup | TappedFairCard | TappedFairGroup | TappedInboxConversation | TappedInfoBubble | TappedLink | TappedNavigationTab | TappedMainArtworkGrid | TappedMakeOffer | TappedPartnerCard | TappedPromoSpace | TappedRequestPriceEstimate | TappedSell | TappedSellArtwork | TappedShowMore | TappedLearnMore | TappedSkip | TappedTabBar | TappedVerifyIdentity | TappedViewingRoomCard | TappedViewingRoomGroup | TappedViewOffer | TimeOnPage | ToggledAccordion | ToggledNotification | ToggledSavedSearch | UploadPhotosCompleted | ViewArtworkMyCollection;
27
+ export declare type Event = AddToCalendar | AddCollectedArtwork | ArtworkDetailsCompleted | AuctionPageView | AuctionResultsFilterParamsChanged | AuthImpression | BidPageView | CreatedAccount | ClickedActiveBid | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedCreateAlert | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedOfferOption | ClickedOnArtworkShippingWeight | ClickedOnArtworkShippingUnitsDropdown | ClickedOnFramedMeasurements | ClickedOnFramedMeasurementsDropdown | ClickedOnSubmitOrder | ClickedSnooze | ClickedPartnerCard | ClickedPartnerLink | ClickedPaymentMethod | ClickedPaymentDetails | CheckedAccountBalance | ClickedPromoSpace | ClickedRegisterToBid | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | ClickedOfferActions | ClickedOrderPage | CommercialFilterParamsChanged | CompletedOnboarding | ConfirmBid | ConfirmRegistrationPageview | ConsignmentArtistFailed | ConsignmentSubmitted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | EnterLiveAuction | ExperimentViewed | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | Impression | MaxBidSelected | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | RegistrationPageView | RegistrationSubmitted | ResetYourPassword | SaleScreenLoadComplete | Screen | SearchedPriceDatabase | SearchedReverseImageWithNoResults | SearchedReverseImageWithResults | SearchedWithNoResults | SelectedArtworkFromReverseImageSearch | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SentConversationMessage | SentRequestPriceEstimate | Share | StartedOnboarding | SubmitAnotherArtwork | SuccessfullyLoggedIn | TappedArticleGroup | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedAuctionResultGroup | TappedBid | TappedBuyNow | TappedCollectedArtwork | TappedCollectedArtworkImages | TappedCollectionGroup | TappedConsign | TappedContactGallery | TappedCreateAlert | TappedExploreGroup | TappedFairCard | TappedFairGroup | TappedInboxConversation | TappedInfoBubble | TappedLink | TappedNavigationTab | TappedMainArtworkGrid | TappedMakeOffer | TappedMyCollectionInsightsMedianAuctionRailItem | TappedMyCollectionInsightsMedianAuctionPriceChartCategory | TappedMyCollectionInsightsMedianAuctionPriceChartTimeframe | TappedPartnerCard | TappedPickImageFromLibrary | TappedPromoSpace | TappedRequestPriceEstimate | TappedReverseImageSearch | TappedSell | TappedSellArtwork | TappedShowMore | TappedLearnMore | TappedSkip | TappedTabBar | TappedToggleCameraFlash | TappedVerifyIdentity | TappedViewingRoomCard | TappedViewingRoomGroup | TappedViewOffer | TimeOnPage | ToggledAccordion | ToggledNotification | ToggledSavedSearch | UploadPhotosCompleted | ViewArtworkMyCollection;
26
28
  /**
27
29
  * The top-level actions an Event describes.
28
30
  *
@@ -394,10 +396,22 @@ export declare enum ActionType {
394
396
  * Corresponds to {@link SearchedPriceDatabase}
395
397
  */
396
398
  searchedPriceDatabase = "searchedPriceDatabase",
399
+ /**
400
+ * Corresponds to {@link SearchedReverseImageWithNoResults}
401
+ */
402
+ searchedReverseImageWithNoResults = "searchedReverseImageWithNoResults",
403
+ /**
404
+ * Corresponds to {@link SearchedReverseImageWithResults}
405
+ */
406
+ searchedReverseImageWithResults = "searchedReverseImageWithResults",
397
407
  /**
398
408
  * Corresponds to {@link SearchedWithNoResults}
399
409
  */
400
410
  searchedWithNoResults = "searchedWithNoResults",
411
+ /**
412
+ * Corresponds to {@link SelectedArtworkFromReverseImageSearch}
413
+ */
414
+ selectedArtworkFromReverseImageSearch = "selectedArtworkFromReverseImageSearch",
401
415
  /**
402
416
  * Corresponds to {@link SelectedItemFromSearch}
403
417
  */
@@ -534,6 +548,18 @@ export declare enum ActionType {
534
548
  * Corresponds to {@link TappedMakeOffer}
535
549
  */
536
550
  tappedMakeOffer = "tappedMakeOffer",
551
+ /**
552
+ * Corresponds to {@link TappedMyCollectionInsightsMedianAuctionRailItem}
553
+ */
554
+ tappedMyCollectionInsightsMedianAuctionRailItem = "tappedMyCollectionInsightsMedianAuctionRailItem",
555
+ /**
556
+ * Corresponds to {@link TappedMyCollectionInsightsMedianAuctionPriceChartCategory}
557
+ */
558
+ tappedMyCollectionInsightsMedianAuctionPriceChartCategory = "TappedMyCollectionInsightsMedianAuctionPriceChartCategory",
559
+ /**
560
+ * Corresponds to {@link TappedMyCollectionInsightsMedianAuctionPriceChartTimeframe}
561
+ */
562
+ tappedMyCollectionInsightsMedianAuctionPriceChartTimeframe = "tappedMyCollectionInsightsMedianAuctionPriceChartTimeframe",
537
563
  /**
538
564
  * Corresponds to {@link TappedNavigationTab}
539
565
  */
@@ -542,6 +568,10 @@ export declare enum ActionType {
542
568
  * Corresponds to {@link TappedPartnerCard}
543
569
  */
544
570
  tappedPartnerCard = "tappedPartnerCard",
571
+ /**
572
+ * Corresponds to {@link TappedPickImageFromLibrary}
573
+ */
574
+ tappedPickImageFromLibrary = "tappedPickImageFromLibrary",
545
575
  /**
546
576
  * Corresponds to {@link TappedPromoSpace}
547
577
  */
@@ -554,6 +584,10 @@ export declare enum ActionType {
554
584
  * Corresponds to {@link TappedRequestPriceEstimate}
555
585
  */
556
586
  tappedRequestPriceEstimate = "tappedRequestPriceEstimate",
587
+ /**
588
+ * Corresponds to {@link TappedReverseImageSearch}
589
+ */
590
+ tappedReverseImageSearch = "tappedReverseImageSearch",
557
591
  /**
558
592
  * Corresponds to {@link TappedSell}
559
593
  */
@@ -578,6 +612,10 @@ export declare enum ActionType {
578
612
  * Corresponds to {@link TappedTabBar}
579
613
  */
580
614
  tappedTabBar = "tappedTabBar",
615
+ /**
616
+ * Corresponds to {@link TappedToggleCameraFlash}
617
+ */
618
+ tappedToggleCameraFlash = "tappedToggleCameraFlash",
581
619
  /**
582
620
  * Corresponds to {@link TappedVerifyIdentity}
583
621
  */
@@ -111,7 +111,10 @@ exports.ActionType = ActionType;
111
111
  ActionType["saleScreenLoadComplete"] = "saleScreenLoadComplete";
112
112
  ActionType["screen"] = "screen";
113
113
  ActionType["searchedPriceDatabase"] = "searchedPriceDatabase";
114
+ ActionType["searchedReverseImageWithNoResults"] = "searchedReverseImageWithNoResults";
115
+ ActionType["searchedReverseImageWithResults"] = "searchedReverseImageWithResults";
114
116
  ActionType["searchedWithNoResults"] = "searchedWithNoResults";
117
+ ActionType["selectedArtworkFromReverseImageSearch"] = "selectedArtworkFromReverseImageSearch";
115
118
  ActionType["selectedItemFromSearch"] = "selectedItemFromSearch";
116
119
  ActionType["selectedItemFromPriceDatabaseSearch"] = "selectedItemFromPriceDatabaseSearch";
117
120
  ActionType["sentArtworkInquiry"] = "sentArtworkInquiry";
@@ -146,17 +149,23 @@ exports.ActionType = ActionType;
146
149
  ActionType["tappedLink"] = "tappedLink";
147
150
  ActionType["tappedMainArtworkGrid"] = "tappedMainArtworkGrid";
148
151
  ActionType["tappedMakeOffer"] = "tappedMakeOffer";
152
+ ActionType["tappedMyCollectionInsightsMedianAuctionRailItem"] = "tappedMyCollectionInsightsMedianAuctionRailItem";
153
+ ActionType["tappedMyCollectionInsightsMedianAuctionPriceChartCategory"] = "TappedMyCollectionInsightsMedianAuctionPriceChartCategory";
154
+ ActionType["tappedMyCollectionInsightsMedianAuctionPriceChartTimeframe"] = "tappedMyCollectionInsightsMedianAuctionPriceChartTimeframe";
149
155
  ActionType["tappedNavigationTab"] = "tappedNavigationTab";
150
156
  ActionType["tappedPartnerCard"] = "tappedPartnerCard";
157
+ ActionType["tappedPickImageFromLibrary"] = "tappedPickImageFromLibrary";
151
158
  ActionType["tappedPromoSpace"] = "tappedPromoSpace";
152
159
  ActionType["tappedRegisterToBid"] = "tappedRegisterToBid";
153
160
  ActionType["tappedRequestPriceEstimate"] = "tappedRequestPriceEstimate";
161
+ ActionType["tappedReverseImageSearch"] = "tappedReverseImageSearch";
154
162
  ActionType["tappedSell"] = "tappedSell";
155
163
  ActionType["tappedSellArtwork"] = "tappedSellArtwork";
156
164
  ActionType["tappedShowMore"] = "tappedShowMore";
157
165
  ActionType["tappedLearnMore"] = "tappedLearnMore";
158
166
  ActionType["tappedSkip"] = "tappedSkip";
159
167
  ActionType["tappedTabBar"] = "tappedTabBar";
168
+ ActionType["tappedToggleCameraFlash"] = "tappedToggleCameraFlash";
160
169
  ActionType["tappedVerifyIdentity"] = "tappedVerifyIdentity";
161
170
  ActionType["tappedViewingRoomCard"] = "tappedViewingRoomCard";
162
171
  ActionType["tappedViewingRoomGroup"] = "tappedViewingRoomGroup";
@@ -100,6 +100,8 @@ export declare enum ContextModule {
100
100
  myCollectionArtworkAbout = "myCollectionArtworkAbout",
101
101
  myCollectionComparableWorks = "myCollectionComparableWorks",
102
102
  myCollectionHome = "myCollectionHome",
103
+ myCollectionInsightsMedianAuctionRail = "myCollectionInsightsMedianAuctionRail",
104
+ myCollectionInsightsMedianAuctionPriceChart = "myCollectionInsightsMedianAuctionPriceChart",
103
105
  myCollectionMarketSignals = "myCollectionMarketSignals",
104
106
  newWorksByArtistsYouFollowRail = "newWorksByArtistsYouFollowRail",
105
107
  newWorksForYouRail = "newWorksForYouRail",
@@ -114,6 +114,8 @@ exports.ContextModule = ContextModule;
114
114
  ContextModule["myCollectionArtworkAbout"] = "myCollectionArtworkAbout";
115
115
  ContextModule["myCollectionComparableWorks"] = "myCollectionComparableWorks";
116
116
  ContextModule["myCollectionHome"] = "myCollectionHome";
117
+ ContextModule["myCollectionInsightsMedianAuctionRail"] = "myCollectionInsightsMedianAuctionRail";
118
+ ContextModule["myCollectionInsightsMedianAuctionPriceChart"] = "myCollectionInsightsMedianAuctionPriceChart";
117
119
  ContextModule["myCollectionMarketSignals"] = "myCollectionMarketSignals";
118
120
  ContextModule["newWorksByArtistsYouFollowRail"] = "newWorksByArtistsYouFollowRail";
119
121
  ContextModule["newWorksForYouRail"] = "newWorksForYouRail";
@@ -45,6 +45,7 @@ export declare enum OwnerType {
45
45
  myCollectionArtworkAbout = "MyCollectionArtworkAbout",
46
46
  myCollectionArtworkInsights = "MyCollectionArtworkInsights",
47
47
  myCollectionInsights = "myCollectionInsights",
48
+ myCollectionInsightsMedianAuctionPrice = "myCollectionInsightsMedianAuctionPrice",
48
49
  newWorksForYou = "newWorksForYou",
49
50
  onboarding = "onboarding",
50
51
  ordersAccept = "orders-accept",
@@ -60,6 +61,7 @@ export declare enum OwnerType {
60
61
  partnerShowsArtworks = "partnerShowsArtworks",
61
62
  priceDatabase = "priceDatabase",
62
63
  profile = "profile",
64
+ reverseImageSearch = "reverseImageSearch",
63
65
  sale = "sale",
64
66
  saleInformation = "saleInformation",
65
67
  savedSearch = "savedSearch",
@@ -81,7 +83,7 @@ export declare enum OwnerType {
81
83
  /**
82
84
  * Owner types available in iOS/Android
83
85
  */
84
- export declare type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.newWorksForYou | OwnerType.onboarding | OwnerType.partner | OwnerType.profile | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.tag | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
86
+ export declare type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.newWorksForYou | OwnerType.onboarding | OwnerType.partner | OwnerType.profile | OwnerType.sale | OwnerType.reverseImageSearch | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.tag | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
85
87
  /**
86
88
  * Owner types available in web/mobile web
87
89
  */
@@ -63,6 +63,7 @@ exports.OwnerType = OwnerType;
63
63
  OwnerType["myCollectionArtworkAbout"] = "MyCollectionArtworkAbout";
64
64
  OwnerType["myCollectionArtworkInsights"] = "MyCollectionArtworkInsights";
65
65
  OwnerType["myCollectionInsights"] = "myCollectionInsights";
66
+ OwnerType["myCollectionInsightsMedianAuctionPrice"] = "myCollectionInsightsMedianAuctionPrice";
66
67
  OwnerType["newWorksForYou"] = "newWorksForYou";
67
68
  OwnerType["onboarding"] = "onboarding";
68
69
  OwnerType["ordersAccept"] = "orders-accept";
@@ -78,6 +79,7 @@ exports.OwnerType = OwnerType;
78
79
  OwnerType["partnerShowsArtworks"] = "partnerShowsArtworks";
79
80
  OwnerType["priceDatabase"] = "priceDatabase";
80
81
  OwnerType["profile"] = "profile";
82
+ OwnerType["reverseImageSearch"] = "reverseImageSearch";
81
83
  OwnerType["sale"] = "sale";
82
84
  OwnerType["saleInformation"] = "saleInformation";
83
85
  OwnerType["savedSearch"] = "savedSearch";
@@ -8,6 +8,8 @@ export * from "./Events/FilterAndSort";
8
8
  export * from "./Events/Impression";
9
9
  export * from "./Events/Inquiries";
10
10
  export * from "./Events/MyCollection";
11
+ export * from "./Events/MyCollectionInsights";
12
+ export * from "./Events/ReverseImageSearch";
11
13
  export * from "./Events/SavedSearch";
12
14
  export * from "./Events/SavesAndFollows";
13
15
  export * from "./Events/Search";
@@ -124,6 +124,30 @@ Object.keys(_MyCollection).forEach(function (key) {
124
124
  });
125
125
  });
126
126
 
127
+ var _MyCollectionInsights = require("./Events/MyCollectionInsights");
128
+
129
+ Object.keys(_MyCollectionInsights).forEach(function (key) {
130
+ if (key === "default" || key === "__esModule") return;
131
+ Object.defineProperty(exports, key, {
132
+ enumerable: true,
133
+ get: function get() {
134
+ return _MyCollectionInsights[key];
135
+ }
136
+ });
137
+ });
138
+
139
+ var _ReverseImageSearch = require("./Events/ReverseImageSearch");
140
+
141
+ Object.keys(_ReverseImageSearch).forEach(function (key) {
142
+ if (key === "default" || key === "__esModule") return;
143
+ Object.defineProperty(exports, key, {
144
+ enumerable: true,
145
+ get: function get() {
146
+ return _ReverseImageSearch[key];
147
+ }
148
+ });
149
+ });
150
+
127
151
  var _SavedSearch = require("./Events/SavedSearch");
128
152
 
129
153
  Object.keys(_SavedSearch).forEach(function (key) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.61.0",
3
+ "version": "4.63.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {
@@ -47,7 +47,7 @@
47
47
  "lint-staged": "10.1.7",
48
48
  "prettier": "2.0.5",
49
49
  "typedoc": "0.17.7",
50
- "typescript": "4.7.4"
50
+ "typescript": "4.8.3"
51
51
  },
52
52
  "dependencies": {
53
53
  "core-js": "3"