@artsy/cohesion 4.72.0 → 4.74.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.74.0 (Thu Nov 17 2022)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat(CX-3055):tracking hf my c onboarding part2 [#363](https://github.com/artsy/cohesion/pull/363) ([@dariakoko](https://github.com/dariakoko))
6
+
7
+ #### 🏠 Internal
8
+
9
+ - 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]))
10
+
11
+ #### Authors: 2
12
+
13
+ - [@renovate[bot]](https://github.com/renovate[bot])
14
+ - Daria Kozlova ([@dariakoko](https://github.com/dariakoko))
15
+
16
+ ---
17
+
18
+ # v4.73.0 (Sat Nov 12 2022)
19
+
20
+ #### 🚀 Enhancement
21
+
22
+ - feat(CX-3055): Add tappedExploreMyCollection and myCollectionOnboardingCompleted actions (hf my collection onboarding) [#362](https://github.com/artsy/cohesion/pull/362) ([@dariakoko](https://github.com/dariakoko))
23
+
24
+ #### Authors: 1
25
+
26
+ - Daria Kozlova ([@dariakoko](https://github.com/dariakoko))
27
+
28
+ ---
29
+
1
30
  # v4.72.0 (Thu Nov 10 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
  *
@@ -0,0 +1,91 @@
1
+ import { ContextModule } from "../Values/ContextModule";
2
+ import { OwnerType } from "../Values/OwnerType";
3
+ import { ActionType } from ".";
4
+ /**
5
+ * A user taps "Explore My Collection" (onboarding flow) on the "Do more on Artsy".
6
+ *
7
+ * This schema describes events sent to Segment from [[tappedExploreMyCollection]]
8
+ *
9
+ * @example
10
+ * ```
11
+ * {
12
+ * action: "tappedExploreMyCollection",
13
+ * context_screen: "home",
14
+ * context_screen_owner_type: "home"
15
+ * context_module: "doMoreOnArtsy",
16
+ * destination_screen_owner_type: "myCollectionOnboarding",
17
+ * }
18
+ * ```
19
+ */
20
+ export interface TappedExploreMyCollection {
21
+ action: ActionType.tappedExploreMyCollection;
22
+ context_screen: OwnerType.home;
23
+ context_screen_owner_type: OwnerType.home;
24
+ context_module: ContextModule.doMoreOnArtsy;
25
+ destination_screen_owner_type: OwnerType.myCollectionOnboarding;
26
+ }
27
+ /**
28
+ * A user completed onboarding (=reached the last screen).
29
+ *
30
+ * This schema describes events sent to Segment from [[myCollectionOnboardingCompleted]]
31
+ *
32
+ * @example
33
+ * ```
34
+ * {
35
+ * action: "myCollectionOnboardingCompleted",
36
+ * context_owner_type: "myCollectionOnboarding"
37
+ * context_screen_owner_type: "myCollectionOnboarding"
38
+ * context_module: "myCollectionOnboarding",
39
+ * destination_screen_owner_type: "myCollectionOnboarding",
40
+ * user_id: "5bd8b675776bd6002c86526c"
41
+ * }
42
+ * ```
43
+ */
44
+ export interface MyCollectionOnboardingCompleted {
45
+ action: ActionType.myCollectionOnboardingCompleted;
46
+ context_owner_type: OwnerType.myCollectionOnboarding;
47
+ context_screen_owner_type: OwnerType.myCollectionOnboarding;
48
+ context_module: ContextModule.myCollectionOnboarding;
49
+ destination_screen_owner_type: OwnerType.myCollectionOnboarding;
50
+ user_id: string;
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
+ }
@@ -0,0 +1 @@
1
+ "use strict";
@@ -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,7 +1,7 @@
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
@@ -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;
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
  *
@@ -7,6 +7,7 @@ import { ArtworkDetailsCompleted, ConsignmentSubmitted, ContactInformationComple
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, VisitMyCollection, VisitMyCollectionOnboardingSlide } from "./HomeFeedMyCollectionOnboarding";
10
11
  import { Impression } from "./Impression";
11
12
  import { AddCollectedArtwork, DeleteCollectedArtwork, EditCollectedArtwork, SaveCollectedArtwork, SentRequestPriceEstimate, TappedCollectedArtwork, TappedCollectedArtworkImages, TappedRequestPriceEstimate } from "./MyCollection";
12
13
  import { TappedMyCollectionInsightsMedianAuctionPriceChartCareerHighlight, TappedMyCollectionInsightsMedianAuctionPriceChartCategory, TappedMyCollectionInsightsMedianAuctionPriceChartTimeframe, TappedMyCollectionInsightsMedianAuctionRailItem } from "./MyCollectionInsights";
@@ -26,7 +27,7 @@ import { ViewedVideo } from "./Video";
26
27
  *
27
28
  * Each event describes one ActionType
28
29
  */
29
- 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 | 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 | 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 | 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;
30
31
  /**
31
32
  * The top-level actions an Event describes.
32
33
  *
@@ -381,6 +382,10 @@ export declare enum ActionType {
381
382
  * Corresponds to {@link MaxBidSelected}
382
383
  */
383
384
  maxBidSelected = "maxBidSelected",
385
+ /**
386
+ * Corresponds to {@link MyCollectionOnboardingCompleted}
387
+ */
388
+ myCollectionOnboardingCompleted = "myCollectionOnboardingCompleted",
384
389
  /**
385
390
  * Corresponds to {@link OnboardingUserInputData}
386
391
  */
@@ -533,6 +538,10 @@ export declare enum ActionType {
533
538
  * Corresponds to {@link TappedExploreGroup}
534
539
  */
535
540
  tappedExploreGroup = "tappedExploreGroup",
541
+ /**
542
+ * Corresponds to {@link TappedExploreMyCollection}
543
+ */
544
+ tappedExploreMyCollection = "tappedExploreMyCollection",
536
545
  /**
537
546
  * Corresponds to {@link TappedFairCard}
538
547
  */
@@ -704,5 +713,13 @@ export declare enum ActionType {
704
713
  /**
705
714
  * Corresponds to {@link ViewedVideo}
706
715
  */
707
- viewedVideo = "viewedVideo"
716
+ viewedVideo = "viewedVideo",
717
+ /**
718
+ * Corresponds to {@link visitMyCollection}
719
+ */
720
+ visitMyCollection = "visitMyCollection",
721
+ /**
722
+ * Corresponds to {@link VisitMyCollectionOnboardingSlide}
723
+ */
724
+ visitMyCollectionOnboardingSlide = "visitMyCollectionOnboardingSlide"
708
725
  }
@@ -107,6 +107,7 @@ exports.ActionType = ActionType;
107
107
  ActionType["followedPartner"] = "followedPartner";
108
108
  ActionType["impression"] = "impression";
109
109
  ActionType["maxBidSelected"] = "maxBidSelected";
110
+ ActionType["myCollectionOnboardingCompleted"] = "myCollectionOnboardingCompleted";
110
111
  ActionType["onboardingUserInputData"] = "onboardingUserInputData";
111
112
  ActionType["priceDatabaseFilterParamsChanged"] = "priceDatabaseFilterParamsChanged";
112
113
  ActionType["promptForReview"] = "promptForReview";
@@ -145,6 +146,7 @@ exports.ActionType = ActionType;
145
146
  ActionType["tappedContactGallery"] = "tappedContactGallery";
146
147
  ActionType["tappedCreateAlert"] = "tappedCreateAlert";
147
148
  ActionType["tappedExploreGroup"] = "tappedExploreGroup";
149
+ ActionType["tappedExploreMyCollection"] = "tappedExploreMyCollection";
148
150
  ActionType["tappedFairCard"] = "tappedFairCard";
149
151
  ActionType["tappedFairGroup"] = "tappedFairGroup";
150
152
  ActionType["tappedInboxConversation"] = "tappedInboxConversation";
@@ -188,4 +190,6 @@ exports.ActionType = ActionType;
188
190
  ActionType["uploadPhotosCompleted"] = "uploadPhotosCompleted";
189
191
  ActionType["viewArtworkMyCollection"] = "viewArtworkMyCollection";
190
192
  ActionType["viewedVideo"] = "viewedVideo";
193
+ ActionType["visitMyCollection"] = "visitMyCollection";
194
+ ActionType["visitMyCollectionOnboardingSlide"] = "visitMyCollectionOnboardingSlide";
191
195
  })(ActionType || (exports.ActionType = ActionType = {}));
@@ -56,6 +56,7 @@ export declare enum ContextModule {
56
56
  curatedHighlightsRail = "curatedHighlightsRail",
57
57
  currentAuctions = "currentAuctions",
58
58
  currentShowsRail = "currentShowsRail",
59
+ doMoreOnArtsy = "doMoreOnArtsy",
59
60
  exhibitorsTab = "exhibitorsTab",
60
61
  fairCard = "fairCard",
61
62
  fairHome = "fairHome",
@@ -103,6 +104,7 @@ export declare enum ContextModule {
103
104
  myCollectionInsightsMedianAuctionRail = "myCollectionInsightsMedianAuctionRail",
104
105
  myCollectionInsightsMedianAuctionPriceChart = "myCollectionInsightsMedianAuctionPriceChart",
105
106
  myCollectionMarketSignals = "myCollectionMarketSignals",
107
+ myCollectionOnboarding = "myCollectionOnboarding",
106
108
  newWorksByArtistsYouFollowRail = "newWorksByArtistsYouFollowRail",
107
109
  newWorksForYouRail = "newWorksForYouRail",
108
110
  newWorksByGalleriesYouFollowRail = "newWorksByGalleriesYouFollowRail",
@@ -176,4 +178,4 @@ export declare enum ContextModule {
176
178
  /**
177
179
  * Limited ContextModules available for web authentication events
178
180
  */
179
- 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;
181
+ 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;
@@ -70,6 +70,7 @@ exports.ContextModule = ContextModule;
70
70
  ContextModule["curatedHighlightsRail"] = "curatedHighlightsRail";
71
71
  ContextModule["currentAuctions"] = "currentAuctions";
72
72
  ContextModule["currentShowsRail"] = "currentShowsRail";
73
+ ContextModule["doMoreOnArtsy"] = "doMoreOnArtsy";
73
74
  ContextModule["exhibitorsTab"] = "exhibitorsTab";
74
75
  ContextModule["fairCard"] = "fairCard";
75
76
  ContextModule["fairHome"] = "fairHome";
@@ -117,6 +118,7 @@ exports.ContextModule = ContextModule;
117
118
  ContextModule["myCollectionInsightsMedianAuctionRail"] = "myCollectionInsightsMedianAuctionRail";
118
119
  ContextModule["myCollectionInsightsMedianAuctionPriceChart"] = "myCollectionInsightsMedianAuctionPriceChart";
119
120
  ContextModule["myCollectionMarketSignals"] = "myCollectionMarketSignals";
121
+ ContextModule["myCollectionOnboarding"] = "myCollectionOnboarding";
120
122
  ContextModule["newWorksByArtistsYouFollowRail"] = "newWorksByArtistsYouFollowRail";
121
123
  ContextModule["newWorksForYouRail"] = "newWorksForYouRail";
122
124
  ContextModule["newWorksByGalleriesYouFollowRail"] = "newWorksByGalleriesYouFollowRail";
@@ -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;
@@ -46,6 +46,7 @@ export declare enum OwnerType {
46
46
  myCollectionArtworkInsights = "MyCollectionArtworkInsights",
47
47
  myCollectionInsights = "myCollectionInsights",
48
48
  myCollectionInsightsMedianAuctionPrice = "myCollectionInsightsMedianAuctionPrice",
49
+ myCollectionOnboarding = "myCollectionOnboarding",
49
50
  newWorksForYou = "newWorksForYou",
50
51
  onboarding = "onboarding",
51
52
  ordersAccept = "orders-accept",
@@ -83,8 +84,8 @@ export declare enum OwnerType {
83
84
  /**
84
85
  * Owner types available in iOS/Android
85
86
  */
86
- export declare type ScreenOwnerType = OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.myCollectionInsightsMedianAuctionPrice | 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;
87
88
  /**
88
89
  * Owner types available in web/mobile web
89
90
  */
90
- 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.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;
@@ -64,6 +64,7 @@ exports.OwnerType = OwnerType;
64
64
  OwnerType["myCollectionArtworkInsights"] = "MyCollectionArtworkInsights";
65
65
  OwnerType["myCollectionInsights"] = "myCollectionInsights";
66
66
  OwnerType["myCollectionInsightsMedianAuctionPrice"] = "myCollectionInsightsMedianAuctionPrice";
67
+ OwnerType["myCollectionOnboarding"] = "myCollectionOnboarding";
67
68
  OwnerType["newWorksForYou"] = "newWorksForYou";
68
69
  OwnerType["onboarding"] = "onboarding";
69
70
  OwnerType["ordersAccept"] = "orders-accept";
@@ -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.72.0",
3
+ "version": "4.74.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"