@artsy/cohesion 4.73.0 → 4.75.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,32 @@
1
+ # v4.75.0 (Thu Nov 17 2022)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat (CX-3066): Update My Collection insights tracking events [#365](https://github.com/artsy/cohesion/pull/365) ([@MrSltun](https://github.com/MrSltun))
6
+
7
+ #### Authors: 1
8
+
9
+ - Sultan Al-Maari ([@MrSltun](https://github.com/MrSltun))
10
+
11
+ ---
12
+
13
+ # v4.74.0 (Thu Nov 17 2022)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat(CX-3055):tracking hf my c onboarding part2 [#363](https://github.com/artsy/cohesion/pull/363) ([@dariakoko](https://github.com/dariakoko))
18
+
19
+ #### 🏠 Internal
20
+
21
+ - chore(deps): update dep typescript from 4.8.4 to v4.9.3 [#364](https://github.com/artsy/cohesion/pull/364) ([@renovate[bot]](https://github.com/renovate[bot]))
22
+
23
+ #### Authors: 2
24
+
25
+ - [@renovate[bot]](https://github.com/renovate[bot])
26
+ - Daria Kozlova ([@dariakoko](https://github.com/dariakoko))
27
+
28
+ ---
29
+
1
30
  # v4.73.0 (Sat Nov 12 2022)
2
31
 
3
32
  #### 🚀 Enhancement
@@ -1,5 +1,5 @@
1
1
  import { ClickedArtistGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedCollectionGroup, ClickedFairGroup, ContextModule, EntityModuleType, OwnerType, PageOwnerType } from "../../Schema";
2
- export declare type ClickedEntityDestinationType = OwnerType.artist | OwnerType.artwork | OwnerType.collection | OwnerType.fair | OwnerType.sale | OwnerType.auctions | OwnerType.gene | OwnerType.worksForYou;
2
+ export type ClickedEntityDestinationType = OwnerType.artist | OwnerType.artwork | OwnerType.collection | OwnerType.fair | OwnerType.sale | OwnerType.auctions | OwnerType.gene | OwnerType.worksForYou;
3
3
  export interface ClickedEntityGroupArgs {
4
4
  contextModule: ContextModule;
5
5
  contextPageOwnerType: PageOwnerType;
@@ -1,5 +1,5 @@
1
1
  import { ContextModule, EntityModuleHeight, EntityModuleType, OwnerType, ScreenOwnerType, TappedArticleGroup, TappedArtistGroup, TappedArtworkGroup, TappedAuctionGroup, TappedCollectionGroup, TappedExploreGroup, TappedFairGroup } from "../../Schema";
2
- export declare type TappedEntityDestinationType = OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artwork | OwnerType.collection | OwnerType.explore | OwnerType.fair | OwnerType.sale | OwnerType.auctions | OwnerType.savesAndFollows | OwnerType.gene | OwnerType.worksForYou;
2
+ export type TappedEntityDestinationType = OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artwork | OwnerType.collection | OwnerType.explore | OwnerType.fair | OwnerType.sale | OwnerType.auctions | OwnerType.savesAndFollows | OwnerType.gene | OwnerType.worksForYou;
3
3
  export interface TappedEntityGroupArgs {
4
4
  contextModule: ContextModule;
5
5
  contextScreenOwnerType: ScreenOwnerType;
@@ -31,7 +31,7 @@ interface Uncategorized {
31
31
  nonInteraction: number;
32
32
  action_type: ActionType | string;
33
33
  }
34
- export declare type Trackables = AuthenticationInteraction | ContextModule | ContextPage | Flow | Interaction | Label | Success | Failure | Type | Uncategorized | AuctionInfo | Event;
34
+ export type Trackables = AuthenticationInteraction | ContextModule | ContextPage | Flow | Interaction | Label | Success | Failure | Type | Uncategorized | AuctionInfo | Event;
35
35
  /**
36
36
  * A sentinel type used to signal that anything goes in order to be able to
37
37
  * support old Force schema.
@@ -43,4 +43,4 @@ export declare type Trackables = AuthenticationInteraction | ContextModule | Con
43
43
  *
44
44
  * @track({ … } as Schema.Old)
45
45
  */
46
- export declare type Old = any;
46
+ export type Old = any;
@@ -147,11 +147,11 @@ export declare enum AuthModalType {
147
147
  /**
148
148
  * The type of action that opened the authentication modal
149
149
  */
150
- export declare type AuthTrigger = "click" | "timed";
150
+ export type AuthTrigger = "click" | "timed";
151
151
  /**
152
152
  * the service the user used to authenticate
153
153
  */
154
- export declare type AuthService = "apple" | "email" | "facebook" | "google";
154
+ export type AuthService = "apple" | "email" | "facebook" | "google";
155
155
  /**
156
156
  * A user provides us with important data during the onboarding flow
157
157
  *
@@ -180,6 +180,25 @@ export interface ClickedArtworkGroup extends ClickedEntityGroup {
180
180
  export interface ClickedAuctionGroup extends ClickedEntityGroup {
181
181
  action: ActionType.clickedAuctionGroup;
182
182
  }
183
+ /**
184
+ * A user clicks a result of auctions on web
185
+ *
186
+ * This schema describes events sent to Segment from [[clickedEntityGroup]]
187
+ *
188
+ * @example
189
+ * ```
190
+ * {
191
+ * action: "clickedAuctionResultItem",
192
+ * context_module: "auctionResult",
193
+ * context_page_owner_type: "artistAuctionResults",
194
+ * expanded: true
195
+ * }
196
+ * ```
197
+ */
198
+ export interface ClickedAuctionResultItem extends ClickedEntityGroup {
199
+ action: ActionType.clickedAuctionResultItem;
200
+ expended: boolean;
201
+ }
183
202
  /**
184
203
  * A user clicks a grouping of collections on web
185
204
  *
@@ -386,7 +405,7 @@ export interface ClickedShowGroup extends ClickedEntityGroup {
386
405
  * Shared interface for clicked group actions on web
387
406
  */
388
407
  export interface ClickedEntityGroup {
389
- action: ActionType.clickedArticleGroup | ActionType.clickedArtistGroup | ActionType.clickedArtistSeriesGroup | ActionType.clickedArtworkGroup | ActionType.clickedAuctionGroup | ActionType.clickedCollectionGroup | ActionType.clickedFairGroup | ActionType.clickedGalleryGroup | ActionType.clickedMainArtworkGrid | ActionType.clickedShowGroup;
408
+ action: ActionType.clickedArticleGroup | ActionType.clickedArtistGroup | ActionType.clickedArtistSeriesGroup | ActionType.clickedArtworkGroup | ActionType.clickedAuctionGroup | ActionType.clickedAuctionResultItem | ActionType.clickedCollectionGroup | ActionType.clickedFairGroup | ActionType.clickedGalleryGroup | ActionType.clickedMainArtworkGrid | ActionType.clickedShowGroup;
390
409
  context_module: ContextModule;
391
410
  context_page_owner_type: PageOwnerType;
392
411
  context_page_owner_id?: string;
@@ -49,3 +49,43 @@ export interface MyCollectionOnboardingCompleted {
49
49
  destination_screen_owner_type: OwnerType.myCollectionOnboarding;
50
50
  user_id: string;
51
51
  }
52
+ /**
53
+ * A user taps "Go to My Collection" on the flow's third screen.
54
+ *
55
+ * This schema describes events sent to Segment from [[visitMyCollection]]
56
+ *
57
+ * @example
58
+ * ```
59
+ * {
60
+ * action: "visitMyCollection",
61
+ * context_screen_owner_type: "myCollectionOnboarding"
62
+ * context_module: "myCollectionOnboarding",
63
+ * }
64
+ * ```
65
+ */
66
+ export interface VisitMyCollection {
67
+ action: ActionType.visitMyCollection;
68
+ context_screen_owner_type: OwnerType.myCollectionOnboarding;
69
+ context_module: ContextModule.myCollectionOnboarding;
70
+ }
71
+ /**
72
+ * A user goes to the next onboarding screen.
73
+ *
74
+ * This schema describes events sent to Segment from [[visitMyCollectionOnboardingSlide]]
75
+ *
76
+ * @example
77
+ * ```
78
+ * {
79
+ * action: "visitMyCollectionOnboardingSlide",
80
+ * context_screen_owner_type: "myCollectionOnboarding"
81
+ * context_module: "myCollectionOnboarding",
82
+ * index: 1
83
+ * }
84
+ * ```
85
+ */
86
+ export interface VisitMyCollectionOnboardingSlide {
87
+ action: ActionType.visitMyCollectionOnboardingSlide;
88
+ context_screen_owner_type: OwnerType.myCollectionOnboarding;
89
+ context_module: ContextModule.myCollectionOnboarding;
90
+ index: number;
91
+ }
@@ -35,7 +35,7 @@ export interface SentArtworkInquiry {
35
35
  /**
36
36
  * The type of product associated with an inquiry request
37
37
  */
38
- export declare type InquiryProduct = {
38
+ export type InquiryProduct = {
39
39
  price: string;
40
40
  product_id: string;
41
41
  quantity: 1;
@@ -1,13 +1,13 @@
1
1
  import { ContextModule } from "../Values/ContextModule";
2
2
  import { OwnerType } from "../Values/OwnerType";
3
3
  import { ActionType } from ".";
4
- export declare type Platform = "web" | "mobile";
4
+ export type Platform = "web" | "mobile";
5
5
  /**
6
6
  * Schema describing 'Add Collected Artwork' events
7
7
  * @packageDocumentation
8
8
  */
9
9
  /**
10
- * A user taps "add artwork" to add an artwork to My Collection.
10
+ * A user taps or clicks "add artwork" to add an artwork to My Collection.
11
11
  *
12
12
  * This schema describes events sent to Segment from [[addCollectedArtwork]]
13
13
  *
@@ -23,8 +23,8 @@ export declare type Platform = "web" | "mobile";
23
23
  */
24
24
  export interface AddCollectedArtwork {
25
25
  action: ActionType.addCollectedArtwork;
26
- context_module: ContextModule.myCollectionHome;
27
- context_owner_type: OwnerType.myCollection;
26
+ context_module: ContextModule.myCollectionHome | ContextModule.myCollectionOnboarding;
27
+ context_owner_type: OwnerType.myCollection | OwnerType.myCollectionOnboarding | OwnerType.myCollectionInsights;
28
28
  platform: Platform;
29
29
  }
30
30
  /**
@@ -5,8 +5,8 @@ import { ActionType } from ".";
5
5
  * Schemas describing save and follow events for all systems
6
6
  * @packageDocumentation
7
7
  */
8
- export declare type FollowableEntity = OwnerType.artist | OwnerType.fair | OwnerType.gene | OwnerType.partner;
9
- export declare type FollowEvents = FollowedArtist | UnfollowedArtist | FollowedFair | UnfollowedFair | FollowedGene | UnfollowedGene | FollowedPartner | UnfollowedPartner;
8
+ export type FollowableEntity = OwnerType.artist | OwnerType.fair | OwnerType.gene | OwnerType.partner;
9
+ export type FollowEvents = FollowedArtist | UnfollowedArtist | FollowedFair | UnfollowedFair | FollowedGene | UnfollowedGene | FollowedPartner | UnfollowedPartner;
10
10
  export interface FollowedEntity {
11
11
  context_module: AuthContextModule;
12
12
  context_owner_id?: string;
@@ -240,7 +240,7 @@ export interface TappedEntityGroup {
240
240
  module_height?: EntityModuleHeight;
241
241
  type: EntityModuleType;
242
242
  }
243
- export declare type EntityModuleHeight = "single" | "double";
243
+ export type EntityModuleHeight = "single" | "double";
244
244
  /**
245
245
  * A user taps a Consign button in iOS
246
246
  *
@@ -2,12 +2,12 @@ import { ClickedActivityPanelNotificationItem, ClickedActivityPanelTab, ClickedN
2
2
  import { AddToCalendar } from "./AddToCalendar";
3
3
  import { AuctionPageView, BidPageView, ClickedActiveBid, ClickedRegisterToBid, ConfirmBid, ConfirmRegistrationPageview, EnterLiveAuction, MaxBidSelected, RegistrationPageView, RegistrationSubmitted } from "./Auction";
4
4
  import { AuthImpression, CompletedOnboarding, CreatedAccount, OnboardingUserInputData, ResetYourPassword, StartedOnboarding, SuccessfullyLoggedIn } from "./Authentication";
5
- 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
+ import { CheckedAccountBalance, ClickedAddNewShippingAddress, ClickedAddWorksToFair, ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedAuctionResultItem, 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";
6
6
  import { ArtworkDetailsCompleted, ConsignmentSubmitted, ContactInformationCompleted, SubmitAnotherArtwork, UploadPhotosCompleted, ViewArtworkMyCollection } from "./Consignments";
7
7
  import { FocusedOnConversationMessageInput, SentConversationMessage, TappedInboxConversation, TappedMakeOffer, TappedViewOffer } from "./Conversations";
8
8
  import { ExperimentViewed } from "./ExperimentViewed";
9
9
  import { AuctionResultsFilterParamsChanged, CommercialFilterParamsChanged, PriceDatabaseFilterParamsChanged } from "./FilterAndSort";
10
- import { MyCollectionOnboardingCompleted, TappedExploreMyCollection } from "./HomeFeedMyCollectionOnboarding";
10
+ import { MyCollectionOnboardingCompleted, TappedExploreMyCollection, VisitMyCollection, VisitMyCollectionOnboardingSlide } from "./HomeFeedMyCollectionOnboarding";
11
11
  import { Impression } from "./Impression";
12
12
  import { AddCollectedArtwork, DeleteCollectedArtwork, EditCollectedArtwork, SaveCollectedArtwork, SentRequestPriceEstimate, TappedCollectedArtwork, TappedCollectedArtworkImages, TappedRequestPriceEstimate } from "./MyCollection";
13
13
  import { TappedMyCollectionInsightsMedianAuctionPriceChartCareerHighlight, TappedMyCollectionInsightsMedianAuctionPriceChartCategory, TappedMyCollectionInsightsMedianAuctionPriceChartTimeframe, TappedMyCollectionInsightsMedianAuctionRailItem } from "./MyCollectionInsights";
@@ -27,7 +27,7 @@ import { ViewedVideo } from "./Video";
27
27
  *
28
28
  * Each event describes one ActionType
29
29
  */
30
- export declare type Event = AddToCalendar | AddCollectedArtwork | ArtworkDetailsCompleted | AuctionPageView | AuctionResultsFilterParamsChanged | AuthImpression | BidPageView | CreatedAccount | ClickedActiveBid | ClickedActivityPanelNotificationItem | ClickedActivityPanelTab | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedCreateAlert | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedNotificationsBell | 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 | ContactInformationCompleted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | EnterLiveAuction | ExperimentViewed | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | Impression | MaxBidSelected | MyCollectionOnboardingCompleted | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | RegistrationPageView | RegistrationSubmitted | ResetYourPassword | SaleScreenLoadComplete | SaveCollectedArtwork | 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 | TappedExploreMyCollection | TappedFairCard | TappedFairGroup | TappedInboxConversation | TappedInfoBubble | TappedLink | TappedNavigationTab | TappedMainArtworkGrid | TappedMakeOffer | TappedMyCollectionInsightsMedianAuctionRailItem | TappedMyCollectionInsightsMedianAuctionPriceChartCareerHighlight | TappedMyCollectionInsightsMedianAuctionPriceChartCategory | TappedMyCollectionInsightsMedianAuctionPriceChartTimeframe | TappedPartnerCard | TappedPickImageFromLibrary | TappedPromoSpace | TappedRequestPriceEstimate | TappedReverseImageSearch | TappedSell | TappedSellArtwork | TappedShowMore | TappedLearnMore | TappedSkip | TappedTabBar | TappedToggleCameraFlash | TappedVerifyIdentity | TappedViewingRoomCard | TappedViewingRoomGroup | TappedViewOffer | TimeOnPage | ToggledAccordion | ToggledNotification | ToggledSavedSearch | UploadPhotosCompleted | ViewArtworkMyCollection | ViewedVideo;
30
+ export type Event = AddToCalendar | AddCollectedArtwork | ArtworkDetailsCompleted | AuctionPageView | AuctionResultsFilterParamsChanged | AuthImpression | BidPageView | CreatedAccount | ClickedActiveBid | ClickedActivityPanelNotificationItem | ClickedActivityPanelTab | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedAuctionResultItem | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedCreateAlert | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedNotificationsBell | 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 | ContactInformationCompleted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | EnterLiveAuction | ExperimentViewed | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | Impression | MaxBidSelected | MyCollectionOnboardingCompleted | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | RegistrationPageView | RegistrationSubmitted | ResetYourPassword | SaleScreenLoadComplete | SaveCollectedArtwork | 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 | TappedExploreMyCollection | TappedFairCard | TappedFairGroup | TappedInboxConversation | TappedInfoBubble | TappedLink | TappedNavigationTab | TappedMainArtworkGrid | TappedMakeOffer | TappedMyCollectionInsightsMedianAuctionRailItem | TappedMyCollectionInsightsMedianAuctionPriceChartCareerHighlight | TappedMyCollectionInsightsMedianAuctionPriceChartCategory | TappedMyCollectionInsightsMedianAuctionPriceChartTimeframe | TappedPartnerCard | TappedPickImageFromLibrary | TappedPromoSpace | TappedRequestPriceEstimate | TappedReverseImageSearch | TappedSell | TappedSellArtwork | TappedShowMore | TappedLearnMore | TappedSkip | TappedTabBar | TappedToggleCameraFlash | TappedVerifyIdentity | TappedViewingRoomCard | TappedViewingRoomGroup | TappedViewOffer | TimeOnPage | ToggledAccordion | ToggledNotification | ToggledSavedSearch | UploadPhotosCompleted | ViewArtworkMyCollection | ViewedVideo | VisitMyCollection | VisitMyCollectionOnboardingSlide;
31
31
  /**
32
32
  * The top-level actions an Event describes.
33
33
  *
@@ -114,6 +114,10 @@ export declare enum ActionType {
114
114
  * Corresponds to {@link ClickedAuctionGroup}
115
115
  */
116
116
  clickedAuctionGroup = "clickedAuctionGroup",
117
+ /**
118
+ * * Corresponds to {@link ClickedAuctionResultItem}
119
+ */
120
+ clickedAuctionResultItem = "clickedAuctionResultItem",
117
121
  /**
118
122
  * Corresponds to {@link ClickedBuyerProtection}
119
123
  */
@@ -713,5 +717,13 @@ export declare enum ActionType {
713
717
  /**
714
718
  * Corresponds to {@link ViewedVideo}
715
719
  */
716
- viewedVideo = "viewedVideo"
720
+ viewedVideo = "viewedVideo",
721
+ /**
722
+ * Corresponds to {@link visitMyCollection}
723
+ */
724
+ visitMyCollection = "visitMyCollection",
725
+ /**
726
+ * Corresponds to {@link VisitMyCollectionOnboardingSlide}
727
+ */
728
+ visitMyCollectionOnboardingSlide = "visitMyCollectionOnboardingSlide"
717
729
  }
@@ -40,6 +40,7 @@ exports.ActionType = ActionType;
40
40
  ActionType["clickedArtistSeriesGroup"] = "clickedArtistSeriesGroup";
41
41
  ActionType["clickedArtworkGroup"] = "clickedArtworkGroup";
42
42
  ActionType["clickedAuctionGroup"] = "clickedAuctionGroup";
43
+ ActionType["clickedAuctionResultItem"] = "clickedAuctionResultItem";
43
44
  ActionType["clickedBuyerProtection"] = "clickedBuyerProtection";
44
45
  ActionType["clickedChangePage"] = "clickedChangePage";
45
46
  ActionType["clickedChangePaymentMethod"] = "clickedChangePaymentMethod";
@@ -190,4 +191,6 @@ exports.ActionType = ActionType;
190
191
  ActionType["uploadPhotosCompleted"] = "uploadPhotosCompleted";
191
192
  ActionType["viewArtworkMyCollection"] = "viewArtworkMyCollection";
192
193
  ActionType["viewedVideo"] = "viewedVideo";
194
+ ActionType["visitMyCollection"] = "visitMyCollection";
195
+ ActionType["visitMyCollectionOnboardingSlide"] = "visitMyCollectionOnboardingSlide";
193
196
  })(ActionType || (exports.ActionType = ActionType = {}));
@@ -101,6 +101,7 @@ export declare enum ContextModule {
101
101
  myCollectionArtworkAbout = "myCollectionArtworkAbout",
102
102
  myCollectionComparableWorks = "myCollectionComparableWorks",
103
103
  myCollectionHome = "myCollectionHome",
104
+ myCollectionInsights = "myCollectionInsights",
104
105
  myCollectionInsightsMedianAuctionRail = "myCollectionInsightsMedianAuctionRail",
105
106
  myCollectionInsightsMedianAuctionPriceChart = "myCollectionInsightsMedianAuctionPriceChart",
106
107
  myCollectionMarketSignals = "myCollectionMarketSignals",
@@ -178,4 +179,4 @@ export declare enum ContextModule {
178
179
  /**
179
180
  * Limited ContextModules available for web authentication events
180
181
  */
181
- 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;
182
+ export 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;
@@ -115,6 +115,7 @@ exports.ContextModule = ContextModule;
115
115
  ContextModule["myCollectionArtworkAbout"] = "myCollectionArtworkAbout";
116
116
  ContextModule["myCollectionComparableWorks"] = "myCollectionComparableWorks";
117
117
  ContextModule["myCollectionHome"] = "myCollectionHome";
118
+ ContextModule["myCollectionInsights"] = "myCollectionInsights";
118
119
  ContextModule["myCollectionInsightsMedianAuctionRail"] = "myCollectionInsightsMedianAuctionRail";
119
120
  ContextModule["myCollectionInsightsMedianAuctionPriceChart"] = "myCollectionInsightsMedianAuctionPriceChart";
120
121
  ContextModule["myCollectionMarketSignals"] = "myCollectionMarketSignals";
@@ -4,4 +4,4 @@
4
4
  * A type of object that the action is triggered on
5
5
  * @packageDocumentation
6
6
  */
7
- export declare type EntityModuleType = "thumbnail" | "header" | "stub" | "viewAll";
7
+ export type EntityModuleType = "thumbnail" | "header" | "stub" | "viewAll";
@@ -34,4 +34,4 @@ export declare enum Intent {
34
34
  *
35
35
  * An action taken that prompted the user to view an authentication form
36
36
  */
37
- export declare type AuthIntent = Intent.bid | Intent.buyNow | Intent.consign | Intent.createAlert | Intent.followArtist | Intent.followGene | Intent.followPartner | Intent.forgot | Intent.inquire | Intent.login | Intent.seeEstimateAuctionRecords | Intent.seePriceAuctionRecords | Intent.seeRealizedPriceAuctionRecords | Intent.makeOffer | Intent.registerToBid | Intent.requestConditionReport | Intent.saveArtwork | Intent.signup | Intent.viewAuctionResults | Intent.viewArtist | Intent.viewEditorial | Intent.viewFair | Intent.viewViewingRoom;
37
+ export type AuthIntent = Intent.bid | Intent.buyNow | Intent.consign | Intent.createAlert | Intent.followArtist | Intent.followGene | Intent.followPartner | Intent.forgot | Intent.inquire | Intent.login | Intent.seeEstimateAuctionRecords | Intent.seePriceAuctionRecords | Intent.seeRealizedPriceAuctionRecords | Intent.makeOffer | Intent.registerToBid | Intent.requestConditionReport | Intent.saveArtwork | Intent.signup | Intent.viewAuctionResults | Intent.viewArtist | Intent.viewEditorial | Intent.viewFair | Intent.viewViewingRoom;
@@ -84,8 +84,8 @@ export declare enum OwnerType {
84
84
  /**
85
85
  * Owner types available in iOS/Android
86
86
  */
87
- 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.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | 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;
87
+ export 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.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | 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;
88
88
  /**
89
89
  * Owner types available in web/mobile web
90
90
  */
91
- export declare type PageOwnerType = OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artists | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctions | OwnerType.collect | OwnerType.collection | OwnerType.collections | OwnerType.consign | OwnerType.fair | OwnerType.fairs | OwnerType.galleries | OwnerType.gene | OwnerType.home | OwnerType.onboarding | OwnerType.ordersAccept | OwnerType.ordersCounter | OwnerType.ordersNewPayment | OwnerType.ordersOffer | OwnerType.ordersPayment | OwnerType.ordersRespond | OwnerType.ordersReview | OwnerType.ordersShipping | OwnerType.ordersSubmitted | OwnerType.partner | OwnerType.partnerShowsArtworks | OwnerType.priceDatabase | OwnerType.profile | OwnerType.sale | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.search | OwnerType.show | OwnerType.shows | OwnerType.tag | OwnerType.user | OwnerType.viewingRoom | OwnerType.viewingRooms | OwnerType.worksForYou;
91
+ export type PageOwnerType = OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artists | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctions | OwnerType.collect | OwnerType.collection | OwnerType.collections | OwnerType.consign | OwnerType.fair | OwnerType.fairs | OwnerType.galleries | OwnerType.gene | OwnerType.home | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.onboarding | OwnerType.ordersAccept | OwnerType.ordersCounter | OwnerType.ordersNewPayment | OwnerType.ordersOffer | OwnerType.ordersPayment | OwnerType.ordersRespond | OwnerType.ordersReview | OwnerType.ordersShipping | OwnerType.ordersSubmitted | OwnerType.partner | OwnerType.partnerShowsArtworks | OwnerType.priceDatabase | OwnerType.profile | OwnerType.sale | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.search | OwnerType.show | OwnerType.shows | OwnerType.tag | OwnerType.user | OwnerType.viewingRoom | OwnerType.viewingRooms | OwnerType.worksForYou;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
6
- export declare type Tab =
6
+ export type Tab =
7
7
  /**
8
8
  * not currently in use:
9
9
  *| "cityGuide"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.73.0",
3
+ "version": "4.75.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.8.4"
50
+ "typescript": "4.9.3"
51
51
  },
52
52
  "dependencies": {
53
53
  "core-js": "3"