@artsy/cohesion 4.59.0 → 4.62.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,44 @@
1
+ # v4.62.0 (Thu Sep 08 2022)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat(FX-4209): add events for reverse image search [#348](https://github.com/artsy/cohesion/pull/348) ([@dimatretyak](https://github.com/dimatretyak))
6
+
7
+ #### 🏠 Internal
8
+
9
+ - 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]))
10
+
11
+ #### Authors: 2
12
+
13
+ - [@renovate[bot]](https://github.com/renovate[bot])
14
+ - Dima Tretyak (Dzmitry Tratsiak) ([@dimatretyak](https://github.com/dimatretyak))
15
+
16
+ ---
17
+
18
+ # v4.61.0 (Tue Aug 09 2022)
19
+
20
+ #### 🚀 Enhancement
21
+
22
+ - feat(onboarding): add context module for onboarding follows and saves [#346](https://github.com/artsy/cohesion/pull/346) ([@TMcMeans](https://github.com/TMcMeans))
23
+
24
+ #### Authors: 1
25
+
26
+ - TanjieM ([@TMcMeans](https://github.com/TMcMeans))
27
+
28
+ ---
29
+
30
+ # v4.60.0 (Tue Aug 09 2022)
31
+
32
+ #### 🚀 Enhancement
33
+
34
+ - [AS-3324] Adding event for balance account check [#345](https://github.com/artsy/cohesion/pull/345) ([@daytavares](https://github.com/daytavares))
35
+
36
+ #### Authors: 1
37
+
38
+ - Dayane Tavares ([@daytavares](https://github.com/daytavares))
39
+
40
+ ---
41
+
1
42
  # v4.59.0 (Thu Jul 28 2022)
2
43
 
3
44
  #### 🚀 Enhancement
@@ -781,6 +781,39 @@ export interface ClickedPaymentDetails {
781
781
  order_id: string;
782
782
  subject: string;
783
783
  }
784
+ /**
785
+ * After choosing Bank Transfer, when user clicks on save & continue
786
+ * on the payment page, the balance account is checked
787
+ *
788
+ * This schema describes events sent
789
+ * to Segment from [[clickedBalanceAccountCheck]]
790
+ *
791
+ * @example
792
+ * ```
793
+ * {
794
+ * action: "checkedAccountBalance",
795
+ * flow: "Make Offer",
796
+ * context_page_owner_type: "orders-payment",
797
+ * order_id: "407dd09f-4afd-4aad-a6cc-1d6704dc2b11"
798
+ * amount: 2000,
799
+ * currency: "USD"
800
+ * payment_method: "bank transfer"
801
+ * subject: "balance account check"
802
+ * outcome: "sucess"
803
+ * }
804
+ * ```
805
+ */
806
+ export interface CheckedAccountBalance {
807
+ action: ActionType.checkedAccountBalance;
808
+ flow: string;
809
+ context_page_owner_type: string;
810
+ order_id: string;
811
+ amount: number;
812
+ currency: string;
813
+ payment_method: string;
814
+ subject: string;
815
+ outcome: string;
816
+ }
784
817
  /**
785
818
  * User selects existing shipping address when entering the orders
786
819
  * checkout flow.
@@ -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,7 +1,7 @@
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, 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";
@@ -9,6 +9,7 @@ import { AuctionResultsFilterParamsChanged, CommercialFilterParamsChanged, Price
9
9
  import { Impression } from "./Impression";
10
10
  import { AddCollectedArtwork, DeleteCollectedArtwork, EditCollectedArtwork, SentRequestPriceEstimate, TappedCollectedArtwork, TappedCollectedArtworkImages, TappedRequestPriceEstimate } from "./MyCollection";
11
11
  import { PromptForReview } from "./PromptForReview";
12
+ import { SearchedReverseImageWithNoResults, SearchedReverseImageWithResults, SelectedArtworkFromReverseImageSearch, TappedPickImageFromLibrary, TappedReverseImageSearch, TappedToggleCameraFlash } from "./ReverseImageSearch";
12
13
  import { DeletedSavedSearch, EditedSavedSearch } from "./SavedSearch";
13
14
  import { FollowEvents } from "./SavesAndFollows";
14
15
  import { ConsignmentArtistFailed, FocusedOnPriceDatabaseSearchInput, FocusedOnSearchInput, SearchedPriceDatabase, SearchedWithNoResults, SelectedItemFromPriceDatabaseSearch, SelectedItemFromSearch } from "./Search";
@@ -22,7 +23,7 @@ import { ToggledAccordion } from "./UserExperienceInteractions";
22
23
  *
23
24
  * Each event describes one ActionType
24
25
  */
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 | 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;
26
+ 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 | TappedPartnerCard | TappedPickImageFromLibrary | TappedPromoSpace | TappedRequestPriceEstimate | TappedReverseImageSearch | TappedSell | TappedSellArtwork | TappedShowMore | TappedLearnMore | TappedSkip | TappedTabBar | TappedToggleCameraFlash | TappedVerifyIdentity | TappedViewingRoomCard | TappedViewingRoomGroup | TappedViewOffer | TimeOnPage | ToggledAccordion | ToggledNotification | ToggledSavedSearch | UploadPhotosCompleted | ViewArtworkMyCollection;
26
27
  /**
27
28
  * The top-level actions an Event describes.
28
29
  *
@@ -217,6 +218,10 @@ export declare enum ActionType {
217
218
  /**
218
219
  * Corresponds to {@link ClickedPaymentDetails}
219
220
  */
221
+ checkedAccountBalance = "checkedAccountBalance",
222
+ /**
223
+ * Corresponds to {@link CheckedAccountBalance}
224
+ */
220
225
  clickedPromoSpace = "clickedPromoSpace",
221
226
  /**
222
227
  * Corresponds to {@link ClickedRegisterToBid}
@@ -390,10 +395,22 @@ export declare enum ActionType {
390
395
  * Corresponds to {@link SearchedPriceDatabase}
391
396
  */
392
397
  searchedPriceDatabase = "searchedPriceDatabase",
398
+ /**
399
+ * Corresponds to {@link SearchedReverseImageWithNoResults}
400
+ */
401
+ searchedReverseImageWithNoResults = "searchedReverseImageWithNoResults",
402
+ /**
403
+ * Corresponds to {@link SearchedReverseImageWithResults}
404
+ */
405
+ searchedReverseImageWithResults = "searchedReverseImageWithResults",
393
406
  /**
394
407
  * Corresponds to {@link SearchedWithNoResults}
395
408
  */
396
409
  searchedWithNoResults = "searchedWithNoResults",
410
+ /**
411
+ * Corresponds to {@link SelectedArtworkFromReverseImageSearch}
412
+ */
413
+ selectedArtworkFromReverseImageSearch = "selectedArtworkFromReverseImageSearch",
397
414
  /**
398
415
  * Corresponds to {@link SelectedItemFromSearch}
399
416
  */
@@ -538,6 +555,10 @@ export declare enum ActionType {
538
555
  * Corresponds to {@link TappedPartnerCard}
539
556
  */
540
557
  tappedPartnerCard = "tappedPartnerCard",
558
+ /**
559
+ * Corresponds to {@link TappedPickImageFromLibrary}
560
+ */
561
+ tappedPickImageFromLibrary = "tappedPickImageFromLibrary",
541
562
  /**
542
563
  * Corresponds to {@link TappedPromoSpace}
543
564
  */
@@ -550,6 +571,10 @@ export declare enum ActionType {
550
571
  * Corresponds to {@link TappedRequestPriceEstimate}
551
572
  */
552
573
  tappedRequestPriceEstimate = "tappedRequestPriceEstimate",
574
+ /**
575
+ * Corresponds to {@link TappedReverseImageSearch}
576
+ */
577
+ tappedReverseImageSearch = "tappedReverseImageSearch",
553
578
  /**
554
579
  * Corresponds to {@link TappedSell}
555
580
  */
@@ -574,6 +599,10 @@ export declare enum ActionType {
574
599
  * Corresponds to {@link TappedTabBar}
575
600
  */
576
601
  tappedTabBar = "tappedTabBar",
602
+ /**
603
+ * Corresponds to {@link TappedToggleCameraFlash}
604
+ */
605
+ tappedToggleCameraFlash = "tappedToggleCameraFlash",
577
606
  /**
578
607
  * Corresponds to {@link TappedVerifyIdentity}
579
608
  */
@@ -66,6 +66,7 @@ exports.ActionType = ActionType;
66
66
  ActionType["clickedPlayVideo"] = "clickedPlayVideo";
67
67
  ActionType["clickedPaymentMethod"] = "clickedPaymentMethod";
68
68
  ActionType["clickedPaymentDetails"] = "clickedPaymentDetails";
69
+ ActionType["checkedAccountBalance"] = "checkedAccountBalance";
69
70
  ActionType["clickedPromoSpace"] = "clickedPromoSpace";
70
71
  ActionType["clickedRegisterToBid"] = "clickedRegisterToBid";
71
72
  ActionType["clickedSelectShippingOption"] = "clickedSelectShippingOption";
@@ -110,7 +111,10 @@ exports.ActionType = ActionType;
110
111
  ActionType["saleScreenLoadComplete"] = "saleScreenLoadComplete";
111
112
  ActionType["screen"] = "screen";
112
113
  ActionType["searchedPriceDatabase"] = "searchedPriceDatabase";
114
+ ActionType["searchedReverseImageWithNoResults"] = "searchedReverseImageWithNoResults";
115
+ ActionType["searchedReverseImageWithResults"] = "searchedReverseImageWithResults";
113
116
  ActionType["searchedWithNoResults"] = "searchedWithNoResults";
117
+ ActionType["selectedArtworkFromReverseImageSearch"] = "selectedArtworkFromReverseImageSearch";
114
118
  ActionType["selectedItemFromSearch"] = "selectedItemFromSearch";
115
119
  ActionType["selectedItemFromPriceDatabaseSearch"] = "selectedItemFromPriceDatabaseSearch";
116
120
  ActionType["sentArtworkInquiry"] = "sentArtworkInquiry";
@@ -147,15 +151,18 @@ exports.ActionType = ActionType;
147
151
  ActionType["tappedMakeOffer"] = "tappedMakeOffer";
148
152
  ActionType["tappedNavigationTab"] = "tappedNavigationTab";
149
153
  ActionType["tappedPartnerCard"] = "tappedPartnerCard";
154
+ ActionType["tappedPickImageFromLibrary"] = "tappedPickImageFromLibrary";
150
155
  ActionType["tappedPromoSpace"] = "tappedPromoSpace";
151
156
  ActionType["tappedRegisterToBid"] = "tappedRegisterToBid";
152
157
  ActionType["tappedRequestPriceEstimate"] = "tappedRequestPriceEstimate";
158
+ ActionType["tappedReverseImageSearch"] = "tappedReverseImageSearch";
153
159
  ActionType["tappedSell"] = "tappedSell";
154
160
  ActionType["tappedSellArtwork"] = "tappedSellArtwork";
155
161
  ActionType["tappedShowMore"] = "tappedShowMore";
156
162
  ActionType["tappedLearnMore"] = "tappedLearnMore";
157
163
  ActionType["tappedSkip"] = "tappedSkip";
158
164
  ActionType["tappedTabBar"] = "tappedTabBar";
165
+ ActionType["tappedToggleCameraFlash"] = "tappedToggleCameraFlash";
159
166
  ActionType["tappedVerifyIdentity"] = "tappedVerifyIdentity";
160
167
  ActionType["tappedViewingRoomCard"] = "tappedViewingRoomCard";
161
168
  ActionType["tappedViewingRoomGroup"] = "tappedViewingRoomGroup";
@@ -107,6 +107,7 @@ export declare enum ContextModule {
107
107
  onboardingActivity = "onboardingActivity",
108
108
  onboardingCollectorLevel = "onboardingCollectorLevel",
109
109
  onboardingInterests = "onboardingInterests",
110
+ onboardingFlow = "onboardingFlow",
110
111
  ordersAccept = "ordersAccept",
111
112
  ordersCounter = "ordersCounter",
112
113
  ordersNewPayment = "ordersNewPayment",
@@ -173,4 +174,4 @@ export declare enum ContextModule {
173
174
  /**
174
175
  * Limited ContextModules available for web authentication events
175
176
  */
176
- export declare type AuthContextModule = ContextModule.aboutTheWork | ContextModule.artistHeader | ContextModule.artistRecentlySold | ContextModule.artistSeriesRail | ContextModule.artistSeriesTab | ContextModule.artistsTab | ContextModule.artistsToFollowRail | ContextModule.artworkGrid | ContextModule.artworkImage | ContextModule.artworkSidebar | ContextModule.artworksTab | ContextModule.associatedViewingRoom | ContextModule.auctionHome | ContextModule.auctionLots | ContextModule.auctionRail | ContextModule.auctionResult | ContextModule.auctionResults | ContextModule.auctionResultComparableWorks | ContextModule.auctionSidebar | ContextModule.auctionsInfo | ContextModule.auctionTab | ContextModule.bannerPopUp | ContextModule.boothsTab | ContextModule.browseFair | ContextModule.categoryRail | ContextModule.collectionDescription | ContextModule.consignSubmissionFlow | ContextModule.currentShowsRail | ContextModule.fairInfo | ContextModule.fairOrganizerHeader | ContextModule.fairRail | ContextModule.fairsHeader | ContextModule.fairTab | ContextModule.featuredArtists | ContextModule.featuredArtistsRail | ContextModule.featuredGalleriesRail | ContextModule.footer | ContextModule.galleryTab | ContextModule.geneHeader | ContextModule.header | ContextModule.inquiry | ContextModule.intextTooltip | ContextModule.liveAuctionRoom | ContextModule.liveAuctionsRail | ContextModule.mainCarousel | ContextModule.minimalCTABanner | ContextModule.myCollectionAddArtworkAddArtist | ContextModule.onboardingActivity | ContextModule.onboardingCollectorLevel | ContextModule.onboardingInterests | ContextModule.otherWorksByArtistRail | ContextModule.otherWorksFromPartnerRail | ContextModule.otherWorksFromShowRail | ContextModule.otherWorksInAuctionRail | ContextModule.partnerHeader | ContextModule.pastFairs | ContextModule.popularArtistsRail | ContextModule.popUpModal | ContextModule.presentingFair | ContextModule.presentingPartner | ContextModule.priceEstimate | ContextModule.recentlyViewedRail | ContextModule.recommendedArtistsRail | ContextModule.relatedArtistsRail | ContextModule.relatedWorksRail | ContextModule.saveWorksCTA | ContextModule.showHeader | ContextModule.showInfo | ContextModule.showTab | ContextModule.standoutLots | ContextModule.tagHeader | ContextModule.topWorksRail | ContextModule.topTab | ContextModule.trendingArtistsRail | ContextModule.trendingLots | ContextModule.viewingRoom | ContextModule.worksByArtistsYouFollowRail | ContextModule.worksByPopularArtistsRail | ContextModule.worksForSaleRail;
177
+ export declare type AuthContextModule = ContextModule.aboutTheWork | ContextModule.artistHeader | ContextModule.artistRecentlySold | ContextModule.artistSeriesRail | ContextModule.artistSeriesTab | ContextModule.artistsTab | ContextModule.artistsToFollowRail | ContextModule.artworkGrid | ContextModule.artworkImage | ContextModule.artworkSidebar | ContextModule.artworksTab | ContextModule.associatedViewingRoom | ContextModule.auctionHome | ContextModule.auctionLots | ContextModule.auctionRail | ContextModule.auctionResult | ContextModule.auctionResults | ContextModule.auctionResultComparableWorks | ContextModule.auctionSidebar | ContextModule.auctionsInfo | ContextModule.auctionTab | ContextModule.bannerPopUp | ContextModule.boothsTab | ContextModule.browseFair | ContextModule.categoryRail | ContextModule.collectionDescription | ContextModule.consignSubmissionFlow | ContextModule.currentShowsRail | ContextModule.fairInfo | ContextModule.fairOrganizerHeader | ContextModule.fairRail | ContextModule.fairsHeader | ContextModule.fairTab | ContextModule.featuredArtists | ContextModule.featuredArtistsRail | ContextModule.featuredGalleriesRail | ContextModule.footer | ContextModule.galleryTab | ContextModule.geneHeader | ContextModule.header | ContextModule.inquiry | ContextModule.intextTooltip | ContextModule.liveAuctionRoom | ContextModule.liveAuctionsRail | ContextModule.mainCarousel | ContextModule.minimalCTABanner | ContextModule.myCollectionAddArtworkAddArtist | ContextModule.onboardingActivity | ContextModule.onboardingCollectorLevel | ContextModule.onboardingInterests | ContextModule.onboardingFlow | ContextModule.otherWorksByArtistRail | ContextModule.otherWorksFromPartnerRail | ContextModule.otherWorksFromShowRail | ContextModule.otherWorksInAuctionRail | ContextModule.partnerHeader | ContextModule.pastFairs | ContextModule.popularArtistsRail | ContextModule.popUpModal | ContextModule.presentingFair | ContextModule.presentingPartner | ContextModule.priceEstimate | ContextModule.recentlyViewedRail | ContextModule.recommendedArtistsRail | ContextModule.relatedArtistsRail | ContextModule.relatedWorksRail | ContextModule.saveWorksCTA | ContextModule.showHeader | ContextModule.showInfo | ContextModule.showTab | ContextModule.standoutLots | ContextModule.tagHeader | ContextModule.topWorksRail | ContextModule.topTab | ContextModule.trendingArtistsRail | ContextModule.trendingLots | ContextModule.viewingRoom | ContextModule.worksByArtistsYouFollowRail | ContextModule.worksByPopularArtistsRail | ContextModule.worksForSaleRail;
@@ -121,6 +121,7 @@ exports.ContextModule = ContextModule;
121
121
  ContextModule["onboardingActivity"] = "onboardingActivity";
122
122
  ContextModule["onboardingCollectorLevel"] = "onboardingCollectorLevel";
123
123
  ContextModule["onboardingInterests"] = "onboardingInterests";
124
+ ContextModule["onboardingFlow"] = "onboardingFlow";
124
125
  ContextModule["ordersAccept"] = "ordersAccept";
125
126
  ContextModule["ordersCounter"] = "ordersCounter";
126
127
  ContextModule["ordersNewPayment"] = "ordersNewPayment";
@@ -60,6 +60,7 @@ export declare enum OwnerType {
60
60
  partnerShowsArtworks = "partnerShowsArtworks",
61
61
  priceDatabase = "priceDatabase",
62
62
  profile = "profile",
63
+ reverseImageSearch = "reverseImageSearch",
63
64
  sale = "sale",
64
65
  saleInformation = "saleInformation",
65
66
  savedSearch = "savedSearch",
@@ -81,7 +82,7 @@ export declare enum OwnerType {
81
82
  /**
82
83
  * Owner types available in iOS/Android
83
84
  */
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;
85
+ 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
86
  /**
86
87
  * Owner types available in web/mobile web
87
88
  */
@@ -78,6 +78,7 @@ exports.OwnerType = OwnerType;
78
78
  OwnerType["partnerShowsArtworks"] = "partnerShowsArtworks";
79
79
  OwnerType["priceDatabase"] = "priceDatabase";
80
80
  OwnerType["profile"] = "profile";
81
+ OwnerType["reverseImageSearch"] = "reverseImageSearch";
81
82
  OwnerType["sale"] = "sale";
82
83
  OwnerType["saleInformation"] = "saleInformation";
83
84
  OwnerType["savedSearch"] = "savedSearch";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.59.0",
3
+ "version": "4.62.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.2"
51
51
  },
52
52
  "dependencies": {
53
53
  "core-js": "3"