@artsy/cohesion 4.185.0 → 4.187.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,27 @@
1
+ # v4.187.0 (Fri Jun 07 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat: adds events for conversation history [#505](https://github.com/artsy/cohesion/pull/505) ([@dzucconi](https://github.com/dzucconi))
6
+
7
+ #### Authors: 1
8
+
9
+ - Damon ([@dzucconi](https://github.com/dzucconi))
10
+
11
+ ---
12
+
13
+ # v4.186.0 (Thu Jun 06 2024)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - fix: Rename `artworkForm*` owner types to `submitArtworkStep*` [#504](https://github.com/artsy/cohesion/pull/504) ([@olerichter00](https://github.com/olerichter00))
18
+
19
+ #### Authors: 1
20
+
21
+ - Ole ([@olerichter00](https://github.com/olerichter00))
22
+
23
+ ---
24
+
1
25
  # v4.185.0 (Thu Jun 06 2024)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -2068,3 +2068,19 @@ export interface ClickedViewWork {
2068
2068
  artwork_id: string;
2069
2069
  notification_type: string;
2070
2070
  }
2071
+ export interface ClickedConversationHistoryItem {
2072
+ action: ActionType.clickedConversationHistoryItem;
2073
+ context_page_module: string;
2074
+ context_page_owner_id: string;
2075
+ destination_page_owner_type: PageOwnerType;
2076
+ destination_page_owner_id: string;
2077
+ partner_id: string;
2078
+ inquiry_id: string;
2079
+ }
2080
+ export interface ClickedViewFullConversationHistory {
2081
+ action: ActionType.clickedViewFullConversationHistory;
2082
+ context_page_module: string;
2083
+ context_page_owner_id: string;
2084
+ partner_id: string;
2085
+ inquiry_id: string;
2086
+ }
@@ -428,6 +428,14 @@ export declare enum ActionType {
428
428
  * Corresponds to {@link ClickedGene}
429
429
  */
430
430
  clickedGene = "clickedGene",
431
+ /**
432
+ * Corresponds to {@link ClickedConversationHistoryItem}
433
+ */
434
+ clickedConversationHistoryItem = "clickedConversationHistoryItem",
435
+ /**
436
+ * Corresponds to {@link ClickedViewFullConversationHistory}
437
+ */
438
+ clickedViewFullConversationHistory = "clickedViewFullConversationHistory",
431
439
  /**
432
440
  * Corresponds to {@link ClickedHighlightAchievement}
433
441
  */
@@ -117,6 +117,8 @@ exports.ActionType = ActionType;
117
117
  ActionType["clickedCloseValidationAddressModal"] = "clickedCloseValidationAddressModal";
118
118
  ActionType["clickedVerifiedRepresentative"] = "clickedVerifiedRepresentative";
119
119
  ActionType["clickedGene"] = "clickedGene";
120
+ ActionType["clickedConversationHistoryItem"] = "clickedConversationHistoryItem";
121
+ ActionType["clickedViewFullConversationHistory"] = "clickedViewFullConversationHistory";
120
122
  ActionType["clickedHighlightAchievement"] = "clickedHighlightAchievement";
121
123
  ActionType["commercialFilterParamsChanged"] = "commercialFilterParamsChanged";
122
124
  ActionType["completedOfflineSync"] = "completedOfflineSync";
@@ -19,17 +19,6 @@ export declare enum OwnerType {
19
19
  artists = "artists",
20
20
  artistSeries = "artistSeries",
21
21
  artwork = "artwork",
22
- artworkFormStart = "artworkFormStart",
23
- artworkFormSelectArtist = "artworkFormSelectArtist",
24
- artworkFormAddTitle = "artworkFormAddTitle",
25
- artworkFormAddPhotos = "artworkFormAddPhotos",
26
- artworkFormAddDetails = "artworkFormAddDetails",
27
- artworkFormPurchaseHistory = "artworkFormPurchaseHistory",
28
- artworkFormAddDimensions = "artworkFormAddDimensions",
29
- artworkFormAddPhoneNumber = "artworkFormAddPhoneNumber",
30
- artworkFormCompleteYourSubmission = "artworkFormCompleteYourSubmission",
31
- artworkFormArtistRejected = "artworkFormArtistRejected",
32
- artworkFormSelectArtworkMyCollectionArtwork = "artworkFormSelectArtworkMyCollectionArtwork",
33
22
  artworkPriceFilter = "artworkPriceFilter",
34
23
  artworkRecommendations = "artworkRecommendations",
35
24
  auction = "auction",
@@ -107,6 +96,17 @@ export declare enum OwnerType {
107
96
  show = "show",
108
97
  shows = "shows",
109
98
  similarToRecentlyViewed = "similarToRecentlyViewed",
99
+ submitArtworkStepStart = "submitArtworkStepStart",
100
+ submitArtworkStepSelectArtist = "submitArtworkStepSelectArtist",
101
+ submitArtworkStepAddTitle = "submitArtworkStepAddTitle",
102
+ submitArtworkStepAddPhotos = "submitArtworkStepAddPhotos",
103
+ submitArtworkStepAddDetails = "submitArtworkStepAddDetails",
104
+ submitArtworkStepPurchaseHistory = "submitArtworkStepPurchaseHistory",
105
+ submitArtworkStepAddDimensions = "submitArtworkStepAddDimensions",
106
+ submitArtworkStepAddPhoneNumber = "submitArtworkStepAddPhoneNumber",
107
+ submitArtworkStepCompleteYourSubmission = "submitArtworkStepCompleteYourSubmission",
108
+ submitArtworkStepArtistRejected = "submitArtworkStepArtistRejected",
109
+ submitArtworkStepSelectArtworkMyCollectionArtwork = "submitArtworkStepSelectArtworkMyCollectionArtwork",
110
110
  tag = "tag",
111
111
  upcomingAuctions = "upcomingAuctions",
112
112
  user = "user",
@@ -120,8 +120,8 @@ export declare enum OwnerType {
120
120
  /**
121
121
  * Owner types available in iOS/Android
122
122
  */
123
- export type ScreenOwnerType = OwnerType.album | OwnerType.activities | OwnerType.activity | OwnerType.allArtistSeries | OwnerType.alerts | OwnerType.alertDetails | OwnerType.alertConfirmation | OwnerType.alertFilters | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkFormStart | OwnerType.artworkFormSelectArtist | OwnerType.artworkFormAddTitle | OwnerType.artworkFormAddPhotos | OwnerType.artworkFormAddDetails | OwnerType.artworkFormPurchaseHistory | OwnerType.artworkFormAddDimensions | OwnerType.artworkFormAddPhoneNumber | OwnerType.artworkFormCompleteYourSubmission | OwnerType.artworkFormArtistRejected | OwnerType.artworkFormSelectArtworkMyCollectionArtwork | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentInquiry | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.createAlert | OwnerType.editAlert | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.lotsByArtistsYouFollow | OwnerType.lotsForYou | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | OwnerType.newWorksForYou | OwnerType.newWorksFromGalleriesYouFollow | OwnerType.notification | OwnerType.onboarding | OwnerType.partner | OwnerType.priceDatabase | OwnerType.profile | OwnerType.recentlyViewed | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.settings | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
123
+ export type ScreenOwnerType = OwnerType.album | OwnerType.activities | OwnerType.activity | OwnerType.allArtistSeries | OwnerType.alerts | OwnerType.alertDetails | OwnerType.alertConfirmation | OwnerType.alertFilters | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collection | OwnerType.consign | OwnerType.consignmentFlow | OwnerType.consignmentInquiry | OwnerType.consignmentSubmission | OwnerType.conversation | OwnerType.conversationMakeOfferConfirmArtwork | OwnerType.createAlert | OwnerType.editAlert | OwnerType.editProfile | OwnerType.explore | OwnerType.fair | OwnerType.fairArtworks | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.lotsByArtistsYouFollow | OwnerType.lotsForYou | OwnerType.myCollection | OwnerType.myCollectionAddArtworkArtist | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtwork | OwnerType.myCollectionArtworkAbout | OwnerType.myCollectionArtworkInsights | OwnerType.myCollectionInsights | OwnerType.myCollectionInsightsMedianAuctionPrice | OwnerType.myCollectionOnboarding | OwnerType.newWorksForYou | OwnerType.newWorksFromGalleriesYouFollow | OwnerType.notification | OwnerType.onboarding | OwnerType.partner | OwnerType.priceDatabase | OwnerType.profile | OwnerType.recentlyViewed | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.settings | OwnerType.show | OwnerType.shows | OwnerType.submitArtworkStepStart | OwnerType.submitArtworkStepSelectArtist | OwnerType.submitArtworkStepAddTitle | OwnerType.submitArtworkStepAddPhotos | OwnerType.submitArtworkStepAddDetails | OwnerType.submitArtworkStepPurchaseHistory | OwnerType.submitArtworkStepAddDimensions | OwnerType.submitArtworkStepAddPhoneNumber | OwnerType.submitArtworkStepCompleteYourSubmission | OwnerType.submitArtworkStepArtistRejected | OwnerType.submitArtworkStepSelectArtworkMyCollectionArtwork | OwnerType.similarToRecentlyViewed | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
124
124
  /**
125
125
  * Owner types available in web/mobile web
126
126
  */
127
- export type PageOwnerType = OwnerType.activities | OwnerType.activity | OwnerType.alertConfirmation | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artists | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkFormStart | OwnerType.artworkFormSelectArtist | OwnerType.artworkFormAddTitle | OwnerType.artworkFormAddPhotos | OwnerType.artworkFormAddDetails | OwnerType.artworkFormPurchaseHistory | OwnerType.artworkFormAddDimensions | OwnerType.artworkFormAddPhoneNumber | OwnerType.artworkFormCompleteYourSubmission | OwnerType.artworkFormArtistRejected | OwnerType.artworkFormSelectArtworkMyCollectionArtwork | OwnerType.auctions | OwnerType.collect | OwnerType.collection | OwnerType.collections | OwnerType.consign | OwnerType.demand | OwnerType.editProfile | 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.saves | OwnerType.search | OwnerType.sendOffers | OwnerType.show | OwnerType.shows | OwnerType.tag | OwnerType.user | OwnerType.viewingRoom | OwnerType.viewingRooms | OwnerType.worksForYou | OwnerType.newWorksFromGalleriesYouFollow;
127
+ export type PageOwnerType = OwnerType.activities | OwnerType.activity | OwnerType.alertConfirmation | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistAuctionResults | OwnerType.artists | OwnerType.artistSeries | OwnerType.artwork | OwnerType.auctions | OwnerType.collect | OwnerType.collection | OwnerType.collections | OwnerType.consign | OwnerType.demand | OwnerType.editProfile | 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.saves | OwnerType.search | OwnerType.sendOffers | OwnerType.show | OwnerType.shows | OwnerType.submitArtworkStepStart | OwnerType.submitArtworkStepSelectArtist | OwnerType.submitArtworkStepAddTitle | OwnerType.submitArtworkStepAddPhotos | OwnerType.submitArtworkStepAddDetails | OwnerType.submitArtworkStepPurchaseHistory | OwnerType.submitArtworkStepAddDimensions | OwnerType.submitArtworkStepAddPhoneNumber | OwnerType.submitArtworkStepCompleteYourSubmission | OwnerType.submitArtworkStepArtistRejected | OwnerType.submitArtworkStepSelectArtworkMyCollectionArtwork | OwnerType.tag | OwnerType.user | OwnerType.viewingRoom | OwnerType.viewingRooms | OwnerType.worksForYou | OwnerType.newWorksFromGalleriesYouFollow;
@@ -37,17 +37,6 @@ exports.OwnerType = OwnerType;
37
37
  OwnerType["artists"] = "artists";
38
38
  OwnerType["artistSeries"] = "artistSeries";
39
39
  OwnerType["artwork"] = "artwork";
40
- OwnerType["artworkFormStart"] = "artworkFormStart";
41
- OwnerType["artworkFormSelectArtist"] = "artworkFormSelectArtist";
42
- OwnerType["artworkFormAddTitle"] = "artworkFormAddTitle";
43
- OwnerType["artworkFormAddPhotos"] = "artworkFormAddPhotos";
44
- OwnerType["artworkFormAddDetails"] = "artworkFormAddDetails";
45
- OwnerType["artworkFormPurchaseHistory"] = "artworkFormPurchaseHistory";
46
- OwnerType["artworkFormAddDimensions"] = "artworkFormAddDimensions";
47
- OwnerType["artworkFormAddPhoneNumber"] = "artworkFormAddPhoneNumber";
48
- OwnerType["artworkFormCompleteYourSubmission"] = "artworkFormCompleteYourSubmission";
49
- OwnerType["artworkFormArtistRejected"] = "artworkFormArtistRejected";
50
- OwnerType["artworkFormSelectArtworkMyCollectionArtwork"] = "artworkFormSelectArtworkMyCollectionArtwork";
51
40
  OwnerType["artworkPriceFilter"] = "artworkPriceFilter";
52
41
  OwnerType["artworkRecommendations"] = "artworkRecommendations";
53
42
  OwnerType["auction"] = "auction";
@@ -125,6 +114,17 @@ exports.OwnerType = OwnerType;
125
114
  OwnerType["show"] = "show";
126
115
  OwnerType["shows"] = "shows";
127
116
  OwnerType["similarToRecentlyViewed"] = "similarToRecentlyViewed";
117
+ OwnerType["submitArtworkStepStart"] = "submitArtworkStepStart";
118
+ OwnerType["submitArtworkStepSelectArtist"] = "submitArtworkStepSelectArtist";
119
+ OwnerType["submitArtworkStepAddTitle"] = "submitArtworkStepAddTitle";
120
+ OwnerType["submitArtworkStepAddPhotos"] = "submitArtworkStepAddPhotos";
121
+ OwnerType["submitArtworkStepAddDetails"] = "submitArtworkStepAddDetails";
122
+ OwnerType["submitArtworkStepPurchaseHistory"] = "submitArtworkStepPurchaseHistory";
123
+ OwnerType["submitArtworkStepAddDimensions"] = "submitArtworkStepAddDimensions";
124
+ OwnerType["submitArtworkStepAddPhoneNumber"] = "submitArtworkStepAddPhoneNumber";
125
+ OwnerType["submitArtworkStepCompleteYourSubmission"] = "submitArtworkStepCompleteYourSubmission";
126
+ OwnerType["submitArtworkStepArtistRejected"] = "submitArtworkStepArtistRejected";
127
+ OwnerType["submitArtworkStepSelectArtworkMyCollectionArtwork"] = "submitArtworkStepSelectArtworkMyCollectionArtwork";
128
128
  OwnerType["tag"] = "tag";
129
129
  OwnerType["upcomingAuctions"] = "upcomingAuctions";
130
130
  OwnerType["user"] = "user";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.185.0",
3
+ "version": "4.187.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {