@artsy/cohesion 4.46.0 → 4.48.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.48.0 (Thu Jun 02 2022)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - new types for my collection [#330](https://github.com/artsy/cohesion/pull/330) ([@dariakoko](https://github.com/dariakoko))
6
+
7
+ #### 🏠 Internal
8
+
9
+ - chore(deps): update dep typescript from 4.6.4 to v4.7.2 [#329](https://github.com/artsy/cohesion/pull/329) ([@renovate-bot](https://github.com/renovate-bot))
10
+
11
+ #### Authors: 2
12
+
13
+ - Daria Kozlova ([@dariakoko](https://github.com/dariakoko))
14
+ - WhiteSource Renovate ([@renovate-bot](https://github.com/renovate-bot))
15
+
16
+ ---
17
+
18
+ # v4.47.1 (Tue May 17 2022)
19
+
20
+ #### 🐛 Bug Fix
21
+
22
+ - fix: exposes impression [#328](https://github.com/artsy/cohesion/pull/328) ([@dzucconi](https://github.com/dzucconi))
23
+
24
+ #### Authors: 1
25
+
26
+ - Damon ([@dzucconi](https://github.com/dzucconi))
27
+
28
+ ---
29
+
30
+ # v4.47.0 (Mon May 16 2022)
31
+
32
+ #### 🚀 Enhancement
33
+
34
+ - feat: adds schema for article events [#318](https://github.com/artsy/cohesion/pull/318) ([@dzucconi](https://github.com/dzucconi))
35
+
36
+ #### Authors: 1
37
+
38
+ - Damon ([@dzucconi](https://github.com/dzucconi))
39
+
40
+ ---
41
+
1
42
  # v4.46.0 (Tue May 10 2022)
2
43
 
3
44
  #### 🚀 Enhancement
@@ -1030,3 +1030,115 @@ export interface ClickedCreateAlert {
1030
1030
  context_page_owner_id?: string;
1031
1031
  context_page_owner_slug?: string;
1032
1032
  }
1033
+ /**
1034
+ * A user clicks the external news source of an article
1035
+ *
1036
+ * This schema describes events sent to Segment from [[clickedExternalNewsSource]]
1037
+ *
1038
+ * @example
1039
+ * ```
1040
+ * {
1041
+ * action: "clickedExternalNewsSource",
1042
+ * context_page_owner_type: "article",
1043
+ * context_page_owner_id: "62389c0a0b01c80022eb82a1",
1044
+ * context_page_owner_slug: "artsy-editorial-making-generative-art-changed-understanding",
1045
+ * }
1046
+ * ```
1047
+ */
1048
+ export interface ClickedExternalNewsSource {
1049
+ action: ActionType.clickedExternalNewsSource;
1050
+ context_owner_id: string;
1051
+ context_owner_slug: string;
1052
+ context_owner_type: PageOwnerType;
1053
+ destination_path: string;
1054
+ }
1055
+ /**
1056
+ * A user clicks on the sponsor of an article
1057
+ *
1058
+ * This schema describes events sent to Segment from [[clickedSponsorLink]]
1059
+ *
1060
+ * @example
1061
+ * ```
1062
+ * {
1063
+ * action: "clickedSponsorLink",
1064
+ * context_page_owner_type: "article",
1065
+ * context_page_owner_id: "62389c0a0b01c80022eb82a1",
1066
+ * context_page_owner_slug: "artsy-editorial-making-generative-art-changed-understanding",
1067
+ * destination_path: "https://www.bmw.com/",
1068
+ * }
1069
+ * ```
1070
+ */
1071
+ export interface ClickedSponsorLink {
1072
+ action: ActionType.clickedSponsorLink;
1073
+ context_owner_id: string;
1074
+ context_owner_slug: string;
1075
+ context_owner_type: PageOwnerType;
1076
+ destination_path: string;
1077
+ }
1078
+ /**
1079
+ * A user clicks to share an article
1080
+ *
1081
+ * This schema describes events sent to Segment from [[clickedArticleShare]]
1082
+ *
1083
+ * @example
1084
+ * ```
1085
+ * {
1086
+ * action: "clickedArticleShare",
1087
+ * context_page_owner_type: "article",
1088
+ * context_page_owner_id: "62389c0a0b01c80022eb82a1",
1089
+ * context_page_owner_slug: "artsy-editorial-making-generative-art-changed-understanding",
1090
+ * }
1091
+ * ```
1092
+ */
1093
+ export interface ClickedArticleShare {
1094
+ action: ActionType.clickedArticleShare;
1095
+ context_owner_id: string;
1096
+ context_owner_slug: string;
1097
+ context_owner_type: PageOwnerType;
1098
+ }
1099
+ /**
1100
+ * A user clicks to play a video
1101
+ *
1102
+ * This schema describes events sent to Segment from [[clickedPlayVideo]]
1103
+ *
1104
+ * @example
1105
+ * ```
1106
+ * {
1107
+ * action: "clickedPlayVideo",
1108
+ * context_page_owner_type: "article",
1109
+ * context_page_owner_id: "62389c0a0b01c80022eb82a1",
1110
+ * context_page_owner_slug: "artsy-editorial-making-generative-art-changed-understanding",
1111
+ * }
1112
+ * ```
1113
+ */
1114
+ export interface ClickedPlayVideo {
1115
+ action: ActionType.clickedPlayVideo;
1116
+ context_owner_id: string;
1117
+ context_owner_slug: string;
1118
+ context_owner_type: PageOwnerType;
1119
+ }
1120
+ /**
1121
+ * A user an entity within a tooltip. `type` will be an artist, gene, or partner.
1122
+ *
1123
+ * This schema describes events sent to Segment from [[clickedTooltip]]
1124
+ *
1125
+ * @example
1126
+ * ```
1127
+ * {
1128
+ * action: "clickedTooltip",
1129
+ * context_page_owner_type: "artist",
1130
+ * context_page_owner_id: "4d8b926a4eb68a1b2c0000ae",
1131
+ * context_page_owner_slug: "damien-hirst",
1132
+ * destination_path: "/artist/damien-hirst",
1133
+ * type: "artist",
1134
+ * }
1135
+ * ```
1136
+ */
1137
+ export interface ClickedTooltip {
1138
+ action: ActionType.clickedTooltip;
1139
+ context_owner_id: string;
1140
+ context_owner_slug: string;
1141
+ context_owner_type: PageOwnerType;
1142
+ destination_path: string;
1143
+ type: string;
1144
+ }
@@ -0,0 +1,10 @@
1
+ import { ContextModule } from "../Values/ContextModule";
2
+ import { OwnerType } from "../Values/OwnerType";
3
+ import { ActionType } from ".";
4
+ export interface Impression {
5
+ action: ActionType.impression;
6
+ context_module: ContextModule;
7
+ context_owner_id: string;
8
+ context_owner_slug: string;
9
+ context_owner_type: OwnerType;
10
+ }
@@ -0,0 +1 @@
1
+ "use strict";
@@ -1,11 +1,12 @@
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, CreatedAccount, OnboardingUserInputData, ResetYourPassword, 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, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnSubmitOrder, ClickedPartnerCard, ClickedPaymentMethod, ClickedPaymentDetails, ClickedPromoSpace, ClickedSelectShippingOption, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
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, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnSubmitOrder, ClickedPartnerCard, ClickedPaymentDetails, ClickedPaymentMethod, ClickedPromoSpace, ClickedSelectShippingOption, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
5
5
  import { ArtworkDetailsCompleted, ConsignmentSubmitted, SubmitAnotherArtwork, UploadPhotosCompleted, ViewArtworkMyCollection } from "./Consignments";
6
6
  import { FocusedOnConversationMessageInput, SentConversationMessage, TappedInboxConversation, TappedMakeOffer, TappedViewOffer } from "./Conversations";
7
7
  import { ExperimentViewed } from "./ExperimentViewed";
8
8
  import { AuctionResultsFilterParamsChanged, CommercialFilterParamsChanged, PriceDatabaseFilterParamsChanged } from "./FilterAndSort";
9
+ import { Impression } from "./Impression";
9
10
  import { AddCollectedArtwork, DeleteCollectedArtwork, EditCollectedArtwork, TappedCollectedArtwork, TappedCollectedArtworkImages, TappedRequestPriceEstimate } from "./MyCollection";
10
11
  import { PromptForReview } from "./PromptForReview";
11
12
  import { DeletedSavedSearch, EditedSavedSearch } from "./SavedSearch";
@@ -21,7 +22,7 @@ import { ToggledAccordion } from "./UserExperienceInteractions";
21
22
  *
22
23
  * Each event describes one ActionType
23
24
  */
24
- 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 | ClickedPaymentMethod | ClickedPaymentDetails | ClickedPromoSpace | ClickedRegisterToBid | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | CommercialFilterParamsChanged | ConfirmBid | ConfirmRegistrationPageview | ConsignmentArtistFailed | ConsignmentSubmitted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | EnterLiveAuction | ExperimentViewed | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | MaxBidSelected | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | RegistrationPageView | RegistrationSubmitted | ResetYourPassword | SaleScreenLoadComplete | Screen | SearchedPriceDatabase | SearchedWithNoResults | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SentConversationMessage | Share | 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;
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 | ClickedPaymentMethod | ClickedPaymentDetails | ClickedPromoSpace | ClickedRegisterToBid | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | CommercialFilterParamsChanged | 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 | Share | 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;
25
26
  /**
26
27
  * The top-level actions an Event describes.
27
28
  *
@@ -76,6 +77,10 @@ export declare enum ActionType {
76
77
  * Corresponds to {@link ClickedArticleGroup}
77
78
  */
78
79
  clickedArticleGroup = "clickedArticleGroup",
80
+ /**
81
+ * Corresponds to {@link ClickedArticleShare}
82
+ */
83
+ clickedArticleShare = "clickedArticleShare",
79
84
  /**
80
85
  * Corresponds to {@link ClickedArtistGroup}
81
86
  */
@@ -132,6 +137,10 @@ export declare enum ActionType {
132
137
  * Corresponds to {@link ClickedExpansionToggle}
133
138
  */
134
139
  clickedExpansionToggle = "clickedExpansionToggle",
140
+ /**
141
+ * Corresponds to {@link ClickedExternalNewsSource}
142
+ */
143
+ clickedExternalNewsSource = "clickedExternalNewsSource",
135
144
  /**
136
145
  * Corresponds to {@link ClickedFairCard}
137
146
  */
@@ -189,6 +198,10 @@ export declare enum ActionType {
189
198
  * Corresponds to {@link ClickedPartnerCard}
190
199
  */
191
200
  clickedPartnerCard = "clickedPartnerCard",
201
+ /**
202
+ * Corresponds to {@link ClickedPlayVideo}
203
+ */
204
+ clickedPlayVideo = "clickedPlayVideo",
192
205
  /**
193
206
  * Corresponds to {@link ClickedPromoSpace}
194
207
  */
@@ -221,6 +234,14 @@ export declare enum ActionType {
221
234
  * Corresponds to {@link ClickedShowMore}
222
235
  */
223
236
  clickedShowMore = "clickedShowMore",
237
+ /**
238
+ * Corresponds to {@link ClickedSponsorLink}
239
+ */
240
+ clickedSponsorLink = "clickedSponsorLink",
241
+ /**
242
+ * Corresponds to {@link ClickedTooltip}
243
+ */
244
+ clickedTooltip = "clickedTooltip",
224
245
  /**
225
246
  * Corresponds to {@link ClickedVerifyIdentiity}
226
247
  */
@@ -309,6 +330,10 @@ export declare enum ActionType {
309
330
  * Corresponds to {@link FollowedPartner}
310
331
  */
311
332
  followedPartner = "followedPartner",
333
+ /**
334
+ * Corresponds to {@link Impression}
335
+ */
336
+ impression = "impression",
312
337
  /**
313
338
  * Corresponds to {@link MaxBidSelected}
314
339
  */
@@ -541,6 +566,10 @@ export declare enum ActionType {
541
566
  * Corresponds to {@link TappedViewOffer}
542
567
  */
543
568
  tappedViewOffer = "tappedViewOffer",
569
+ /**
570
+ * Corresponds to {@link TappedUploadAnotherArtwork}
571
+ */
572
+ tappedUploadAnotherArtwork = "tappedUploadAnotherArtwork",
544
573
  /**
545
574
  * Corresponds to {@link TimeOnPage}
546
575
  */
@@ -32,6 +32,7 @@ exports.ActionType = ActionType;
32
32
  ActionType["clickedAddWorksToFair"] = "clickedAddWorksToFair";
33
33
  ActionType["clickedAppDownload"] = "clickedAppDownload";
34
34
  ActionType["clickedArticleGroup"] = "clickedArticleGroup";
35
+ ActionType["clickedArticleShare"] = "clickedArticleShare";
35
36
  ActionType["clickedArtistGroup"] = "clickedArtistGroup";
36
37
  ActionType["clickedArtistSeriesGroup"] = "clickedArtistSeriesGroup";
37
38
  ActionType["clickedArtworkGroup"] = "clickedArtworkGroup";
@@ -46,6 +47,7 @@ exports.ActionType = ActionType;
46
47
  ActionType["clickedDeliveryMethod"] = "clickedDeliveryMethod";
47
48
  ActionType["clickedEditArtwork"] = "clickedEditArtwork";
48
49
  ActionType["clickedExpansionToggle"] = "clickedExpansionToggle";
50
+ ActionType["clickedExternalNewsSource"] = "clickedExternalNewsSource";
49
51
  ActionType["clickedFairCard"] = "clickedFairCard";
50
52
  ActionType["clickedFairGroup"] = "clickedFairGroup";
51
53
  ActionType["clickedGalleryGroup"] = "clickedGalleryGroup";
@@ -60,6 +62,7 @@ exports.ActionType = ActionType;
60
62
  ActionType["clickedOnSubmitOrder"] = "clickedOnSubmitOrder";
61
63
  ActionType["clickedSnooze"] = "clickedSnooze";
62
64
  ActionType["clickedPartnerCard"] = "clickedPartnerCard";
65
+ ActionType["clickedPlayVideo"] = "clickedPlayVideo";
63
66
  ActionType["clickedPaymentMethod"] = "clickedPaymentMethod";
64
67
  ActionType["clickedPaymentDetails"] = "clickedPaymentDetails";
65
68
  ActionType["clickedPromoSpace"] = "clickedPromoSpace";
@@ -68,6 +71,8 @@ exports.ActionType = ActionType;
68
71
  ActionType["clickedShippingAddress"] = "clickedShippingAddress";
69
72
  ActionType["clickedShowGroup"] = "clickedShowGroup";
70
73
  ActionType["clickedShowMore"] = "clickedShowMore";
74
+ ActionType["clickedSponsorLink"] = "clickedSponsorLink";
75
+ ActionType["clickedTooltip"] = "clickedTooltip";
71
76
  ActionType["clickedVerifyIdentity"] = "clickedVerifyIdentity";
72
77
  ActionType["clickedViewingRoomCard"] = "clickedViewingRoomCard";
73
78
  ActionType["commercialFilterParamsChanged"] = "commercialFilterParamsChanged";
@@ -90,6 +95,7 @@ exports.ActionType = ActionType;
90
95
  ActionType["followedFair"] = "followedFair";
91
96
  ActionType["followedGene"] = "followedGene";
92
97
  ActionType["followedPartner"] = "followedPartner";
98
+ ActionType["impression"] = "impression";
93
99
  ActionType["maxBidSelected"] = "maxBidSelected";
94
100
  ActionType["onboardingUserInputData"] = "onboardingUserInputData";
95
101
  ActionType["priceDatabaseFilterParamsChanged"] = "priceDatabaseFilterParamsChanged";
@@ -148,6 +154,7 @@ exports.ActionType = ActionType;
148
154
  ActionType["tappedViewingRoomCard"] = "tappedViewingRoomCard";
149
155
  ActionType["tappedViewingRoomGroup"] = "tappedViewingRoomGroup";
150
156
  ActionType["tappedViewOffer"] = "tappedViewOffer";
157
+ ActionType["tappedUploadAnotherArtwork"] = "tappedUploadAnotherArtwork";
151
158
  ActionType["timeOnPage"] = "timeOnPage";
152
159
  ActionType["toggledAccordion"] = "toggledAccordion";
153
160
  ActionType["toggledNotification"] = "toggledNotification";
@@ -7,6 +7,7 @@
7
7
  export declare enum ContextModule {
8
8
  aboutTheWork = "aboutTheWork",
9
9
  aboutThisAuction = "aboutThisAuction",
10
+ adServer = "adServer",
10
11
  articleArtist = "articleArtist",
11
12
  articleRail = "articleRail",
12
13
  articles = "articles",
@@ -21,6 +21,7 @@ exports.ContextModule = ContextModule;
21
21
  (function (ContextModule) {
22
22
  ContextModule["aboutTheWork"] = "aboutTheWork";
23
23
  ContextModule["aboutThisAuction"] = "aboutThisAuction";
24
+ ContextModule["adServer"] = "adServer";
24
25
  ContextModule["articleArtist"] = "articleArtist";
25
26
  ContextModule["articleRail"] = "articleRail";
26
27
  ContextModule["articles"] = "articles";
@@ -42,6 +42,7 @@ export declare enum OwnerType {
42
42
  myCollection = "myCollection",
43
43
  myCollectionArtwork = "myCollectionArtwork",
44
44
  myCollectionAddArtworkArtist = "myCollectionAddArtworkArtist",
45
+ myCollectionInsights = "myCollectionInsights",
45
46
  newWorksForYou = "newWorksForYou",
46
47
  onboarding = "onboarding",
47
48
  ordersAccept = "orders-accept",
@@ -60,6 +60,7 @@ exports.OwnerType = OwnerType;
60
60
  OwnerType["myCollection"] = "myCollection";
61
61
  OwnerType["myCollectionArtwork"] = "myCollectionArtwork";
62
62
  OwnerType["myCollectionAddArtworkArtist"] = "myCollectionAddArtworkArtist";
63
+ OwnerType["myCollectionInsights"] = "myCollectionInsights";
63
64
  OwnerType["newWorksForYou"] = "newWorksForYou";
64
65
  OwnerType["onboarding"] = "onboarding";
65
66
  OwnerType["ordersAccept"] = "orders-accept";
@@ -4,8 +4,9 @@ export * from "./Events/Authentication";
4
4
  export * from "./Events/Click";
5
5
  export * from "./Events/Conversations";
6
6
  export * from "./Events/ExperimentViewed";
7
- export * from "./Events/Inquiries";
8
7
  export * from "./Events/FilterAndSort";
8
+ export * from "./Events/Impression";
9
+ export * from "./Events/Inquiries";
9
10
  export * from "./Events/MyCollection";
10
11
  export * from "./Events/SavedSearch";
11
12
  export * from "./Events/SavesAndFollows";
@@ -15,9 +16,9 @@ export * from "./Events/System";
15
16
  export * from "./Events/Tap";
16
17
  export * from "./Events/Toggle";
17
18
  export * from "./Values/ContextModule";
19
+ export * from "./Values/CustomService";
18
20
  export * from "./Values/EntityModuleType";
19
21
  export * from "./Values/Intent";
20
22
  export * from "./Values/OwnerType";
21
23
  export * from "./Values/PushNotificationType";
22
- export * from "./Values/CustomService";
23
24
  export * from "./Values/Tab";
@@ -76,26 +76,38 @@ Object.keys(_ExperimentViewed).forEach(function (key) {
76
76
  });
77
77
  });
78
78
 
79
- var _Inquiries = require("./Events/Inquiries");
79
+ var _FilterAndSort = require("./Events/FilterAndSort");
80
80
 
81
- Object.keys(_Inquiries).forEach(function (key) {
81
+ Object.keys(_FilterAndSort).forEach(function (key) {
82
82
  if (key === "default" || key === "__esModule") return;
83
83
  Object.defineProperty(exports, key, {
84
84
  enumerable: true,
85
85
  get: function get() {
86
- return _Inquiries[key];
86
+ return _FilterAndSort[key];
87
87
  }
88
88
  });
89
89
  });
90
90
 
91
- var _FilterAndSort = require("./Events/FilterAndSort");
91
+ var _Impression = require("./Events/Impression");
92
92
 
93
- Object.keys(_FilterAndSort).forEach(function (key) {
93
+ Object.keys(_Impression).forEach(function (key) {
94
94
  if (key === "default" || key === "__esModule") return;
95
95
  Object.defineProperty(exports, key, {
96
96
  enumerable: true,
97
97
  get: function get() {
98
- return _FilterAndSort[key];
98
+ return _Impression[key];
99
+ }
100
+ });
101
+ });
102
+
103
+ var _Inquiries = require("./Events/Inquiries");
104
+
105
+ Object.keys(_Inquiries).forEach(function (key) {
106
+ if (key === "default" || key === "__esModule") return;
107
+ Object.defineProperty(exports, key, {
108
+ enumerable: true,
109
+ get: function get() {
110
+ return _Inquiries[key];
99
111
  }
100
112
  });
101
113
  });
@@ -208,6 +220,18 @@ Object.keys(_ContextModule).forEach(function (key) {
208
220
  });
209
221
  });
210
222
 
223
+ var _CustomService = require("./Values/CustomService");
224
+
225
+ Object.keys(_CustomService).forEach(function (key) {
226
+ if (key === "default" || key === "__esModule") return;
227
+ Object.defineProperty(exports, key, {
228
+ enumerable: true,
229
+ get: function get() {
230
+ return _CustomService[key];
231
+ }
232
+ });
233
+ });
234
+
211
235
  var _EntityModuleType = require("./Values/EntityModuleType");
212
236
 
213
237
  Object.keys(_EntityModuleType).forEach(function (key) {
@@ -256,18 +280,6 @@ Object.keys(_PushNotificationType).forEach(function (key) {
256
280
  });
257
281
  });
258
282
 
259
- var _CustomService = require("./Values/CustomService");
260
-
261
- Object.keys(_CustomService).forEach(function (key) {
262
- if (key === "default" || key === "__esModule") return;
263
- Object.defineProperty(exports, key, {
264
- enumerable: true,
265
- get: function get() {
266
- return _CustomService[key];
267
- }
268
- });
269
- });
270
-
271
283
  var _Tab = require("./Values/Tab");
272
284
 
273
285
  Object.keys(_Tab).forEach(function (key) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.46.0",
3
+ "version": "4.48.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.6.4"
50
+ "typescript": "4.7.2"
51
51
  },
52
52
  "dependencies": {
53
53
  "core-js": "3"