@artsy/cohesion 4.275.0 → 4.277.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.277.0 (Fri Jun 20 2025)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - feat(batch-import): Add new edit event [#610](https://github.com/artsy/cohesion/pull/610) ([@damassi](https://github.com/damassi))
6
+
7
+ #### Authors: 1
8
+
9
+ - Christopher Pappas ([@damassi](https://github.com/damassi))
10
+
11
+ ---
12
+
13
+ # v4.276.0 (Thu Jun 19 2025)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat(DIA-1363): add marketingCollection to ScreenOwnerType [#609](https://github.com/artsy/cohesion/pull/609) ([@iskounen](https://github.com/iskounen))
18
+
19
+ #### Authors: 1
20
+
21
+ - Adam Iskounen ([@iskounen](https://github.com/iskounen))
22
+
23
+ ---
24
+
1
25
  # v4.275.0 (Thu Jun 19 2025)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -172,4 +172,25 @@ export interface CmsBatchImportClickExit {
172
172
  context_page_owner_id: string;
173
173
  label: "click exit";
174
174
  }
175
- export type CmsBatchImportFlow = CmsBatchImportFlowClickImport | CmsBatchImportFlowClickAddCSV | CmsBatchImportFlowClickDownloadTemplate | CmsBatchImportFlowShownMissingInformation | CmsBatchImportFlowArtistNeedsMatching | CmsBatchImportClickExit;
175
+ /**
176
+ * Triggered when a partner edits a field in the batch import flow.
177
+ *
178
+ * @example
179
+ * ```
180
+ * {
181
+ * action: "editedBatchImportField",
182
+ * context_module: "batchImportFlow",
183
+ * context_page_owner_type: "batchImport",
184
+ * context_page_owner_id: "67b646ecbe87376bfeb3f962",
185
+ * is_error: true
186
+ * }
187
+ * ```
188
+ */
189
+ export interface CmsBatchImportEditedBatchImportField {
190
+ action: CmsActionType.editedBatchImportField;
191
+ context_module: CmsContextModule.batchImportFlow;
192
+ context_page_owner_type: CmsOwnerType.batchImport;
193
+ context_page_owner_id: string;
194
+ is_error: boolean;
195
+ }
196
+ export type CmsBatchImportFlow = CmsBatchImportFlowClickImport | CmsBatchImportFlowClickAddCSV | CmsBatchImportFlowClickDownloadTemplate | CmsBatchImportFlowShownMissingInformation | CmsBatchImportFlowArtistNeedsMatching | CmsBatchImportClickExit | CmsBatchImportEditedBatchImportField;
@@ -40,6 +40,10 @@ export declare enum CmsActionType {
40
40
  * Corresponds to {@link CmsBatchImportFlow}
41
41
  */
42
42
  csvImportError = "csvImportError",
43
+ /**
44
+ * Corresponds to {@link CmsBatchImportFlow}
45
+ */
46
+ editedBatchImportField = "editedBatchImportField",
43
47
  /**
44
48
  * Corresponds to {@link SettingsFlow}
45
49
  */
@@ -26,6 +26,7 @@ exports.CmsActionType = CmsActionType;
26
26
  CmsActionType["clickedOnDuplicateArtwork"] = "clickedonduplicateartwork";
27
27
  CmsActionType["createdArtwork"] = "created artwork";
28
28
  CmsActionType["csvImportError"] = "csvImportError";
29
+ CmsActionType["editedBatchImportField"] = "editedBatchImportField";
29
30
  CmsActionType["editedLocation"] = "editedLocation";
30
31
  CmsActionType["processingStarted"] = "processingStarted";
31
32
  CmsActionType["processingCompleted"] = "processingCompleted";
@@ -92,6 +92,7 @@ export declare enum OwnerType {
92
92
  lotsByArtistsYouFollow = "lotsByArtistsYouFollow",
93
93
  lotsForYou = "lotsForYou",
94
94
  marketNews = "marketNews",
95
+ marketingCollection = "marketingCollection",
95
96
  myCollection = "myCollection",
96
97
  myCollectionAddArtworkArtist = "myCollectionAddArtworkArtist",
97
98
  myCollectionArtwork = "myCollectionArtwork",
@@ -168,7 +169,7 @@ export declare enum OwnerType {
168
169
  /**
169
170
  * Owner types available in iOS/Android
170
171
  */
171
- export type ScreenOwnerType = OwnerType.about | OwnerType.account | OwnerType.accountDarkMode | OwnerType.accountDeleteMyAccount | OwnerType.accountEmail | OwnerType.accountLoginAndSecurity | OwnerType.accountNotifications | OwnerType.accountOrders | OwnerType.accountPassword | OwnerType.accountPayment | OwnerType.accountAddPayment | OwnerType.accountPersonalDataRequest | OwnerType.accountPhoneNumber | OwnerType.accountPreferences | OwnerType.accountPriceRange | OwnerType.accountPrivacy | OwnerType.accountSettings | OwnerType.accountTermsAndConditions | OwnerType.activities | OwnerType.activity | OwnerType.album | OwnerType.alertConfirmation | OwnerType.alertDetails | OwnerType.alertFilters | OwnerType.alerts | OwnerType.alert | OwnerType.alertsInfoModal | OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistArticles | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkList | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.category | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collect | OwnerType.collection | OwnerType.collectionsCategory | OwnerType.confirmYourBid | 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.favorites | OwnerType.favoritesAlerts | OwnerType.favoritesFollows | OwnerType.favoritesSaves | OwnerType.featuredFairs | OwnerType.follows | OwnerType.gallery | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.infiniteDiscoveryArtwork | OwnerType.infiniteDiscoveryOnboarding | OwnerType.lotsByArtistsYouFollow | OwnerType.lotsForYou | OwnerType.marketNews | 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.ordersDetail | OwnerType.partner | OwnerType.priceDatabase | OwnerType.profile | OwnerType.quickLinks | OwnerType.recentlyViewed | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.savedSearchArtworkMatches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.savesInfoModal | OwnerType.search | OwnerType.sell | OwnerType.settings | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.submitArtworkStepAddDetails | OwnerType.submitArtworkStepAddDimensions | OwnerType.submitArtworkStepAddPhoneNumber | OwnerType.submitArtworkStepAddPhotos | OwnerType.submitArtworkStepAddtionalDocuments | OwnerType.submitArtworkStepAddTitle | OwnerType.submitArtworkStepArtistRejected | OwnerType.submitArtworkStepCompleteYourSubmission | OwnerType.submitArtworkStepCompleteYourSubmissionPostApproval | OwnerType.submitArtworkStepCondition | OwnerType.submitArtworkStepFrameInformation | OwnerType.submitArtworkStepPurchaseHistory | OwnerType.submitArtworkStepSelectArtist | OwnerType.submitArtworkStepSelectArtworkMyCollectionArtwork | OwnerType.submitArtworkStepShippingLocation | OwnerType.submitArtworkStepStart | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou | OwnerType.yourMaxBid;
172
+ export type ScreenOwnerType = OwnerType.about | OwnerType.account | OwnerType.accountDarkMode | OwnerType.accountDeleteMyAccount | OwnerType.accountEmail | OwnerType.accountLoginAndSecurity | OwnerType.accountNotifications | OwnerType.accountOrders | OwnerType.accountPassword | OwnerType.accountPayment | OwnerType.accountAddPayment | OwnerType.accountPersonalDataRequest | OwnerType.accountPhoneNumber | OwnerType.accountPreferences | OwnerType.accountPriceRange | OwnerType.accountPrivacy | OwnerType.accountSettings | OwnerType.accountTermsAndConditions | OwnerType.activities | OwnerType.activity | OwnerType.album | OwnerType.alertConfirmation | OwnerType.alertDetails | OwnerType.alertFilters | OwnerType.alerts | OwnerType.alert | OwnerType.alertsInfoModal | OwnerType.allArtistSeries | OwnerType.article | OwnerType.articles | OwnerType.artist | OwnerType.artistArticles | OwnerType.artistAuctionResults | OwnerType.artistSeries | OwnerType.artwork | OwnerType.artworkList | OwnerType.artworkPriceFilter | OwnerType.artworkRecommendations | OwnerType.auctionResult | OwnerType.auctionResultsForArtistsYouFollow | OwnerType.auctions | OwnerType.category | OwnerType.cityGuideGuide | OwnerType.cityGuideMap | OwnerType.cityPicker | OwnerType.collect | OwnerType.collection | OwnerType.collectionsCategory | OwnerType.confirmYourBid | 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.favorites | OwnerType.favoritesAlerts | OwnerType.favoritesFollows | OwnerType.favoritesSaves | OwnerType.featuredFairs | OwnerType.follows | OwnerType.gallery | OwnerType.galleriesForYou | OwnerType.gene | OwnerType.home | OwnerType.inbox | OwnerType.inboxBids | OwnerType.inboxConversation | OwnerType.inboxInquiries | OwnerType.infiniteDiscoveryArtwork | OwnerType.infiniteDiscoveryOnboarding | OwnerType.lotsByArtistsYouFollow | OwnerType.lotsForYou | OwnerType.marketNews | OwnerType.marketingCollection | 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.ordersDetail | OwnerType.partner | OwnerType.priceDatabase | OwnerType.profile | OwnerType.quickLinks | OwnerType.recentlyViewed | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.savedSearchArtworkMatches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.savesInfoModal | OwnerType.search | OwnerType.sell | OwnerType.settings | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.submitArtworkStepAddDetails | OwnerType.submitArtworkStepAddDimensions | OwnerType.submitArtworkStepAddPhoneNumber | OwnerType.submitArtworkStepAddPhotos | OwnerType.submitArtworkStepAddtionalDocuments | OwnerType.submitArtworkStepAddTitle | OwnerType.submitArtworkStepArtistRejected | OwnerType.submitArtworkStepCompleteYourSubmission | OwnerType.submitArtworkStepCompleteYourSubmissionPostApproval | OwnerType.submitArtworkStepCondition | OwnerType.submitArtworkStepFrameInformation | OwnerType.submitArtworkStepPurchaseHistory | OwnerType.submitArtworkStepSelectArtist | OwnerType.submitArtworkStepSelectArtworkMyCollectionArtwork | OwnerType.submitArtworkStepShippingLocation | OwnerType.submitArtworkStepStart | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou | OwnerType.yourMaxBid;
172
173
  /**
173
174
  * Owner types available in web/mobile web
174
175
  */
@@ -110,6 +110,7 @@ exports.OwnerType = OwnerType;
110
110
  OwnerType["lotsByArtistsYouFollow"] = "lotsByArtistsYouFollow";
111
111
  OwnerType["lotsForYou"] = "lotsForYou";
112
112
  OwnerType["marketNews"] = "marketNews";
113
+ OwnerType["marketingCollection"] = "marketingCollection";
113
114
  OwnerType["myCollection"] = "myCollection";
114
115
  OwnerType["myCollectionAddArtworkArtist"] = "myCollectionAddArtworkArtist";
115
116
  OwnerType["myCollectionArtwork"] = "myCollectionArtwork";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.275.0",
3
+ "version": "4.277.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {