@artsy/cohesion 4.161.0 → 4.162.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 +12 -0
- package/dist/Schema/Events/index.d.ts +1 -26
- package/dist/Schema/Events/index.js +0 -6
- package/dist/Schema/Values/OwnerType.d.ts +1 -2
- package/dist/Schema/Values/OwnerType.js +0 -1
- package/dist/Schema/index.d.ts +0 -1
- package/dist/Schema/index.js +0 -12
- package/package.json +1 -1
- package/dist/Schema/Events/ReverseImageSearch.d.ts +0 -158
- package/dist/Schema/Events/ReverseImageSearch.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v4.162.0 (Thu Jan 04 2024)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- chore(ONYX-535): Clean up analytic events related to TinEye (reverse image) search [#478](https://github.com/artsy/cohesion/pull/478) ([@dariakoko](https://github.com/dariakoko))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Daria Kozlova ([@dariakoko](https://github.com/dariakoko))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.161.0 (Thu Dec 21 2023)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -18,7 +18,6 @@ import { ErrorMessageViewed, ItemViewed, RailViewed, TooltipViewed, ValidationAd
|
|
|
18
18
|
import { AddCollectedArtwork, DeleteCollectedArtwork, EditCollectedArtwork, SaveCollectedArtwork, SentRequestPriceEstimate, TappedCollectedArtwork, TappedCollectedArtworkImages, TappedRequestPriceEstimate } from "./MyCollection";
|
|
19
19
|
import { TappedMyCollectionInsightsMedianAuctionPriceChartCareerHighlight, TappedMyCollectionInsightsMedianAuctionPriceChartCategory, TappedMyCollectionInsightsMedianAuctionPriceChartTimeframe, TappedMyCollectionInsightsMedianAuctionRailItem } from "./MyCollectionInsights";
|
|
20
20
|
import { PromptForReview } from "./PromptForReview";
|
|
21
|
-
import { SearchedReverseImageWithNoResults, SearchedReverseImageWithResults, SelectedArtworkFromReverseImageSearch, TappedPickImageFromLibrary, TappedReverseImageSearch, TappedToggleCameraFlash } from "./ReverseImageSearch";
|
|
22
21
|
import { DeletedSavedSearch, EditedAlert, EditedSavedSearch } from "./SavedSearch";
|
|
23
22
|
import { FollowEvents } from "./SavesAndFollows";
|
|
24
23
|
import { AddressAutoCompletionResult, ConsignmentArtistFailed, EditedAutocompletedAddress, FocusedOnPriceDatabaseSearchInput, FocusedOnSearchInput, SearchedPriceDatabase, SearchedWithNoResults, SearchedWithResults, SelectedItemFromAddressAutoCompletion, SelectedItemFromPriceDatabaseSearch, SelectedItemFromSearch, SelectedSearchSuggestionQuickNavigationItem } from "./Search";
|
|
@@ -34,7 +33,7 @@ import { ViewedVideo } from "./Video";
|
|
|
34
33
|
*
|
|
35
34
|
* Each event describes one ActionType
|
|
36
35
|
*/
|
|
37
|
-
export type Event = AddedArtworkToArtworkList | AddedToAlbum | AddToCalendar | AddCollectedArtwork | AddressAutoCompletionResult | ArtworkDetailsCompleted | AuctionPageView | AuctionResultsFilterParamsChanged | AuthImpression | BidPageView | CreatedAccount | CreatedArtworkList | ClickedActiveBid | ClickedActivityPanelNotificationItem | ClickedActivityPanelTab | ClickedAddFilters | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAlertsFilters | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedAuctionResultItem | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedCreateAlert | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpandFilterPanel | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedNavBar | ClickedNotificationsBell | ClickedOfferOption | ClickedOnArtworkShippingWeight | ClickedOnArtworkShippingUnitsDropdown | ClickedOnBuyNowCheckbox | ClickedOnFramedMeasurements | ClickedOnFramedMeasurementsDropdown | ClickedOnMakeOfferCheckbox | ClickedOnDuplicateArtwork | ClickedOnPriceDisplayDropdown | ClickedPublish | ClickedOnSubmitOrder | ClickedSnooze | ClickedUploadArtwork | ClickedPartnerCard | ClickedPartnerLink | ClickedPaymentMethod | ClickedPaymentDetails | CheckedAccountBalance | ClickedPromoSpace | ClickedRegisterToBid | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | ClickedOfferActions | ClickedOrderPage | ClickedOrderSummary | ClickedDismissInquiry | ClickedMarkSpam | ClickedMarkSold | ClickedConversationsFilter | ClickedValidationAddressOptions | ClickedCloseValidationAddressModal | CommercialFilterParamsChanged | CompletedOfflineSync | CompletedOnboarding | ConfirmBid | ConfirmRegistrationPageview | ConsignmentArtistFailed | ConsignmentSubmitted | ContactInformationCompleted | CreatedAlbum | DeleteCollectedArtwork | EditedAlert | DeletedArtworkList | DeletedSavedSearch | EditCollectedArtwork | EditedArtworkList | EditedAutocompletedAddress | EditedSavedSearch | EditedUserProfile | EnterLiveAuction | ErrorMessageViewed | ExperimentViewed | ItemViewed | UploadSizeLimitExceeded | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | Impression | MaxBidSelected | MyCollectionOnboardingCompleted | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | RailViewed | ValidationAddressViewed | RegistrationPageView | RegistrationSubmitted | ResetYourPassword | SaleScreenLoadComplete | SaveCollectedArtwork | SavedCookieConsentPreferences | Screen | SearchedPriceDatabase |
|
|
36
|
+
export type Event = AddedArtworkToArtworkList | AddedToAlbum | AddToCalendar | AddCollectedArtwork | AddressAutoCompletionResult | ArtworkDetailsCompleted | AuctionPageView | AuctionResultsFilterParamsChanged | AuthImpression | BidPageView | CreatedAccount | CreatedArtworkList | ClickedActiveBid | ClickedActivityPanelNotificationItem | ClickedActivityPanelTab | ClickedAddFilters | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAlertsFilters | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedAuctionResultItem | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedCreateAlert | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpandFilterPanel | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedNavBar | ClickedNotificationsBell | ClickedOfferOption | ClickedOnArtworkShippingWeight | ClickedOnArtworkShippingUnitsDropdown | ClickedOnBuyNowCheckbox | ClickedOnFramedMeasurements | ClickedOnFramedMeasurementsDropdown | ClickedOnMakeOfferCheckbox | ClickedOnDuplicateArtwork | ClickedOnPriceDisplayDropdown | ClickedPublish | ClickedOnSubmitOrder | ClickedSnooze | ClickedUploadArtwork | ClickedPartnerCard | ClickedPartnerLink | ClickedPaymentMethod | ClickedPaymentDetails | CheckedAccountBalance | ClickedPromoSpace | ClickedRegisterToBid | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | ClickedOfferActions | ClickedOrderPage | ClickedOrderSummary | ClickedDismissInquiry | ClickedMarkSpam | ClickedMarkSold | ClickedConversationsFilter | ClickedValidationAddressOptions | ClickedCloseValidationAddressModal | CommercialFilterParamsChanged | CompletedOfflineSync | CompletedOnboarding | ConfirmBid | ConfirmRegistrationPageview | ConsignmentArtistFailed | ConsignmentSubmitted | ContactInformationCompleted | CreatedAlbum | DeleteCollectedArtwork | EditedAlert | DeletedArtworkList | DeletedSavedSearch | EditCollectedArtwork | EditedArtworkList | EditedAutocompletedAddress | EditedSavedSearch | EditedUserProfile | EnterLiveAuction | ErrorMessageViewed | ExperimentViewed | ItemViewed | UploadSizeLimitExceeded | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | Impression | MaxBidSelected | MyCollectionOnboardingCompleted | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | RailViewed | ValidationAddressViewed | RegistrationPageView | RegistrationSubmitted | ResetYourPassword | SaleScreenLoadComplete | SaveCollectedArtwork | SavedCookieConsentPreferences | Screen | SearchedPriceDatabase | SearchedWithNoResults | SearchedWithResults | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SelectedItemFromAddressAutoCompletion | SelectedRecentPriceRange | SelectedSearchSuggestionQuickNavigationItem | SentContent | SentConsignmentInquiry | SentConversationMessage | SentRequestPriceEstimate | Share | StartedOnboarding | SubmitAnotherArtwork | SuccessfullyLoggedIn | TappedActivityGroup | TappedArticleGroup | TappedArticleShare | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedAuctionResultGroup | TappedBid | TappedBrowseSimilarArtworks | TappedBuyNow | TappedCollectedArtwork | TappedCollectedArtworkImages | TappedCollectionGroup | TappedConsign | TappedContactGallery | TappedConsignmentInquiry | TappedCreateAlert | TappedExploreGroup | TappedExploreMyCollection | TappedFairCard | TappedFairGroup | TappedInboxConversation | TappedInfoBubble | TappedLink | TappedNavigationTab | TappedMainArtworkGrid | TappedMakeOffer | TappedMyCollectionInsightsMedianAuctionRailItem | TappedMyCollectionInsightsMedianAuctionPriceChartCareerHighlight | TappedMyCollectionInsightsMedianAuctionPriceChartCategory | TappedMyCollectionInsightsMedianAuctionPriceChartTimeframe | TappedPartnerCard | TappedProductCapabilitiesGroup | TappedPromoSpace | TappedRequestPriceEstimate | TappedSell | TappedSellArtwork | TappedShowMore | TappedLearnMore | TappedSkip | TappedTabBar | TappedVerifyIdentity | TappedViewingRoomCard | TappedViewingRoomGroup | TappedViewOffer | TimeOnPage | ToggledAccordion | ToggledNotification | ToggledPresentationModeSetting | ToggledSavedSearch | TooltipViewed | UploadPhotosCompleted | ViewArtworkMyCollection | ViewedArtworkList | ViewedVideo | VisitMyCollection | VisitMyCollectionOnboardingSlide;
|
|
38
37
|
/**
|
|
39
38
|
* The top-level actions an Event describes.
|
|
40
39
|
*
|
|
@@ -601,14 +600,6 @@ export declare enum ActionType {
|
|
|
601
600
|
* Corresponds to {@link SearchedPriceDatabase}
|
|
602
601
|
*/
|
|
603
602
|
searchedPriceDatabase = "searchedPriceDatabase",
|
|
604
|
-
/**
|
|
605
|
-
* Corresponds to {@link SearchedReverseImageWithNoResults}
|
|
606
|
-
*/
|
|
607
|
-
searchedReverseImageWithNoResults = "searchedReverseImageWithNoResults",
|
|
608
|
-
/**
|
|
609
|
-
* Corresponds to {@link SearchedReverseImageWithResults}
|
|
610
|
-
*/
|
|
611
|
-
searchedReverseImageWithResults = "searchedReverseImageWithResults",
|
|
612
603
|
/**
|
|
613
604
|
* Corresponds to {@link SearchedWithNoResults}
|
|
614
605
|
*/
|
|
@@ -625,10 +616,6 @@ export declare enum ActionType {
|
|
|
625
616
|
* Corresponds to {@link selectArtworkFromGrid}
|
|
626
617
|
*/
|
|
627
618
|
selectArtworkFromGrid = "selectArtworkFromGrid",
|
|
628
|
-
/**
|
|
629
|
-
* Corresponds to {@link SelectedArtworkFromReverseImageSearch}
|
|
630
|
-
*/
|
|
631
|
-
selectedArtworkFromReverseImageSearch = "selectedArtworkFromReverseImageSearch",
|
|
632
619
|
/**
|
|
633
620
|
* Corresponds to {@link SelectedItemFromPriceDatabaseSearch}
|
|
634
621
|
*/
|
|
@@ -829,10 +816,6 @@ export declare enum ActionType {
|
|
|
829
816
|
* Corresponds to {@link TappedPartnerCard}
|
|
830
817
|
*/
|
|
831
818
|
tappedPartnerCard = "tappedPartnerCard",
|
|
832
|
-
/**
|
|
833
|
-
* Corresponds to {@link TappedPickImageFromLibrary}
|
|
834
|
-
*/
|
|
835
|
-
tappedPickImageFromLibrary = "tappedPickImageFromLibrary",
|
|
836
819
|
/**
|
|
837
820
|
* Corresponds to {@link TappedProductCapabilitiesGroup}
|
|
838
821
|
*/
|
|
@@ -849,10 +832,6 @@ export declare enum ActionType {
|
|
|
849
832
|
* Corresponds to {@link TappedRequestPriceEstimate}
|
|
850
833
|
*/
|
|
851
834
|
tappedRequestPriceEstimate = "tappedRequestPriceEstimate",
|
|
852
|
-
/**
|
|
853
|
-
* Corresponds to {@link TappedReverseImageSearch}
|
|
854
|
-
*/
|
|
855
|
-
tappedReverseImageSearch = "tappedReverseImageSearch",
|
|
856
835
|
/**
|
|
857
836
|
* Corresponds to {@link TappedSell}
|
|
858
837
|
*/
|
|
@@ -877,10 +856,6 @@ export declare enum ActionType {
|
|
|
877
856
|
* Corresponds to {@link TappedTabBar}
|
|
878
857
|
*/
|
|
879
858
|
tappedTabBar = "tappedTabBar",
|
|
880
|
-
/**
|
|
881
|
-
* Corresponds to {@link TappedToggleCameraFlash}
|
|
882
|
-
*/
|
|
883
|
-
tappedToggleCameraFlash = "tappedToggleCameraFlash",
|
|
884
859
|
/**
|
|
885
860
|
* Corresponds to {@link TappedUploadAnotherArtwork}
|
|
886
861
|
*/
|
|
@@ -160,13 +160,10 @@ exports.ActionType = ActionType;
|
|
|
160
160
|
ActionType["selectedSearchSuggestionQuickNavigationItem"] = "selectedSearchSuggestionQuickNavigationItem";
|
|
161
161
|
ActionType["sentContent"] = "sentContent";
|
|
162
162
|
ActionType["searchedPriceDatabase"] = "searchedPriceDatabase";
|
|
163
|
-
ActionType["searchedReverseImageWithNoResults"] = "searchedReverseImageWithNoResults";
|
|
164
|
-
ActionType["searchedReverseImageWithResults"] = "searchedReverseImageWithResults";
|
|
165
163
|
ActionType["searchedWithNoResults"] = "searchedWithNoResults";
|
|
166
164
|
ActionType["searchedWithResults"] = "searchedWithResults";
|
|
167
165
|
ActionType["selectArtistFromSearch"] = "selectArtistFromSearch";
|
|
168
166
|
ActionType["selectArtworkFromGrid"] = "selectArtworkFromGrid";
|
|
169
|
-
ActionType["selectedArtworkFromReverseImageSearch"] = "selectedArtworkFromReverseImageSearch";
|
|
170
167
|
ActionType["clickedConversationsFilter"] = "clickedConversationsFilter";
|
|
171
168
|
ActionType["selectedItemFromPriceDatabaseSearch"] = "selectedItemFromPriceDatabaseSearch";
|
|
172
169
|
ActionType["selectedItemFromSearch"] = "selectedItemFromSearch";
|
|
@@ -217,19 +214,16 @@ exports.ActionType = ActionType;
|
|
|
217
214
|
ActionType["tappedMyCollectionInsightsMedianAuctionRailItem"] = "tappedMyCollectionInsightsMedianAuctionRailItem";
|
|
218
215
|
ActionType["tappedNavigationTab"] = "tappedNavigationTab";
|
|
219
216
|
ActionType["tappedPartnerCard"] = "tappedPartnerCard";
|
|
220
|
-
ActionType["tappedPickImageFromLibrary"] = "tappedPickImageFromLibrary";
|
|
221
217
|
ActionType["tappedProductCapabilitiesGroup"] = "tappedProductCapabilitiesGroup";
|
|
222
218
|
ActionType["tappedPromoSpace"] = "tappedPromoSpace";
|
|
223
219
|
ActionType["tappedRegisterToBid"] = "tappedRegisterToBid";
|
|
224
220
|
ActionType["tappedRequestPriceEstimate"] = "tappedRequestPriceEstimate";
|
|
225
|
-
ActionType["tappedReverseImageSearch"] = "tappedReverseImageSearch";
|
|
226
221
|
ActionType["tappedSell"] = "tappedSell";
|
|
227
222
|
ActionType["tappedSellArtwork"] = "tappedSellArtwork";
|
|
228
223
|
ActionType["tappedShowGroup"] = "tappedShowGroup";
|
|
229
224
|
ActionType["tappedShowMore"] = "tappedShowMore";
|
|
230
225
|
ActionType["tappedSkip"] = "tappedSkip";
|
|
231
226
|
ActionType["tappedTabBar"] = "tappedTabBar";
|
|
232
|
-
ActionType["tappedToggleCameraFlash"] = "tappedToggleCameraFlash";
|
|
233
227
|
ActionType["tappedUploadAnotherArtwork"] = "tappedUploadAnotherArtwork";
|
|
234
228
|
ActionType["tappedVerifyIdentity"] = "tappedVerifyIdentity";
|
|
235
229
|
ActionType["tappedViewingRoomCard"] = "tappedViewingRoomCard";
|
|
@@ -79,7 +79,6 @@ export declare enum OwnerType {
|
|
|
79
79
|
priceDatabase = "priceDatabase",
|
|
80
80
|
profile = "profile",
|
|
81
81
|
recentlyViewed = "recentlyViewed",
|
|
82
|
-
reverseImageSearch = "reverseImageSearch",
|
|
83
82
|
sale = "sale",
|
|
84
83
|
saleInformation = "saleInformation",
|
|
85
84
|
savedSearch = "savedSearch",
|
|
@@ -104,7 +103,7 @@ export declare enum OwnerType {
|
|
|
104
103
|
/**
|
|
105
104
|
* Owner types available in iOS/Android
|
|
106
105
|
*/
|
|
107
|
-
export type ScreenOwnerType = OwnerType.activities | OwnerType.allArtistSeries | OwnerType.alerts | OwnerType.alertDetails | OwnerType.alertConfirmation | OwnerType.alertFilters | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentInquiry | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.createAlert | OwnerType.editAlert | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.lotsByArtistsYouFollow | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | OwnerType.newWorksForYou | OwnerType.newWorksFromGalleriesYouFollow | OwnerType.onboarding | OwnerType.partner | OwnerType.priceDatabase | OwnerType.profile | OwnerType.recentlyViewed | OwnerType.
|
|
106
|
+
export type ScreenOwnerType = OwnerType.activities | OwnerType.allArtistSeries | OwnerType.alerts | OwnerType.alertDetails | OwnerType.alertConfirmation | OwnerType.alertFilters | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentInquiry | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.createAlert | OwnerType.editAlert | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.lotsByArtistsYouFollow | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | OwnerType.newWorksForYou | OwnerType.newWorksFromGalleriesYouFollow | OwnerType.onboarding | OwnerType.partner | OwnerType.priceDatabase | OwnerType.profile | OwnerType.recentlyViewed | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
|
|
108
107
|
/**
|
|
109
108
|
* Owner types available in web/mobile web
|
|
110
109
|
*/
|
|
@@ -97,7 +97,6 @@ exports.OwnerType = OwnerType;
|
|
|
97
97
|
OwnerType["priceDatabase"] = "priceDatabase";
|
|
98
98
|
OwnerType["profile"] = "profile";
|
|
99
99
|
OwnerType["recentlyViewed"] = "recentlyViewed";
|
|
100
|
-
OwnerType["reverseImageSearch"] = "reverseImageSearch";
|
|
101
100
|
OwnerType["sale"] = "sale";
|
|
102
101
|
OwnerType["saleInformation"] = "saleInformation";
|
|
103
102
|
OwnerType["savedSearch"] = "savedSearch";
|
package/dist/Schema/index.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ export * from "./Events/ImpressionTracking";
|
|
|
14
14
|
export * from "./Events/Inquiries";
|
|
15
15
|
export * from "./Events/MyCollection";
|
|
16
16
|
export * from "./Events/MyCollectionInsights";
|
|
17
|
-
export * from "./Events/ReverseImageSearch";
|
|
18
17
|
export * from "./Events/SavedSearch";
|
|
19
18
|
export * from "./Events/SavesAndFollows";
|
|
20
19
|
export * from "./Events/Search";
|
package/dist/Schema/index.js
CHANGED
|
@@ -196,18 +196,6 @@ Object.keys(_MyCollectionInsights).forEach(function (key) {
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
|
|
199
|
-
var _ReverseImageSearch = require("./Events/ReverseImageSearch");
|
|
200
|
-
|
|
201
|
-
Object.keys(_ReverseImageSearch).forEach(function (key) {
|
|
202
|
-
if (key === "default" || key === "__esModule") return;
|
|
203
|
-
Object.defineProperty(exports, key, {
|
|
204
|
-
enumerable: true,
|
|
205
|
-
get: function get() {
|
|
206
|
-
return _ReverseImageSearch[key];
|
|
207
|
-
}
|
|
208
|
-
});
|
|
209
|
-
});
|
|
210
|
-
|
|
211
199
|
var _SavedSearch = require("./Events/SavedSearch");
|
|
212
200
|
|
|
213
201
|
Object.keys(_SavedSearch).forEach(function (key) {
|
package/package.json
CHANGED
|
@@ -1,158 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|