@artsy/cohesion 4.119.0 → 4.121.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 +34 -0
- package/dist/Schema/Events/ArtworkLists.d.ts +111 -0
- package/dist/Schema/Events/ArtworkLists.js +1 -0
- package/dist/Schema/Events/Click.d.ts +28 -0
- package/dist/Schema/Events/MyCollection.d.ts +2 -0
- package/dist/Schema/Events/index.d.ts +27 -2
- package/dist/Schema/Events/index.js +6 -0
- package/dist/Schema/Values/OwnerType.d.ts +3 -2
- package/dist/Schema/Values/OwnerType.js +1 -0
- package/dist/Schema/index.d.ts +1 -0
- package/dist/Schema/index.js +12 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
# v4.121.0 (Tue Apr 11 2023)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- chore: Add artist ID to SaveCollectedArtwork event [#426](https://github.com/artsy/cohesion/pull/426) ([@olerichter00](https://github.com/olerichter00))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Ole ([@olerichter00](https://github.com/olerichter00))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v4.120.0 (Fri Mar 31 2023)
|
|
14
|
+
|
|
15
|
+
#### 🚀 Enhancement
|
|
16
|
+
|
|
17
|
+
- chore: downgrade typescript [#425](https://github.com/artsy/cohesion/pull/425) ([@dimatretyak](https://github.com/dimatretyak))
|
|
18
|
+
- feat(FX-4684): Event schema for Artwork Lists user interactions [#421](https://github.com/artsy/cohesion/pull/421) ([@dimatretyak](https://github.com/dimatretyak))
|
|
19
|
+
- [AS-3848] Adding new event for mark as sold [#419](https://github.com/artsy/cohesion/pull/419) ([@daytavares](https://github.com/daytavares))
|
|
20
|
+
|
|
21
|
+
#### 🏠 Internal
|
|
22
|
+
|
|
23
|
+
- chore(deps): update dep typescript from 5.0.2 to v5.0.3 [#424](https://github.com/artsy/cohesion/pull/424) ([@renovate[bot]](https://github.com/renovate[bot]))
|
|
24
|
+
- chore(deps): update yarn orb from 6.4.0 to v6.5.0 [#420](https://github.com/artsy/cohesion/pull/420) ([@renovate[bot]](https://github.com/renovate[bot]))
|
|
25
|
+
- chore(deps): update dep typescript from 4.9.5 to v5 [#418](https://github.com/artsy/cohesion/pull/418) ([@renovate[bot]](https://github.com/renovate[bot]))
|
|
26
|
+
|
|
27
|
+
#### Authors: 3
|
|
28
|
+
|
|
29
|
+
- [@renovate[bot]](https://github.com/renovate[bot])
|
|
30
|
+
- Dayane Tavares ([@daytavares](https://github.com/daytavares))
|
|
31
|
+
- Dima Tretyak ([@dimatretyak](https://github.com/dimatretyak))
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
1
35
|
# v4.119.0 (Wed Mar 15 2023)
|
|
2
36
|
|
|
3
37
|
#### 🚀 Enhancement
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { OwnerType } from "../Values/OwnerType";
|
|
2
|
+
import { ActionType } from ".";
|
|
3
|
+
/**
|
|
4
|
+
* Schema describing 'Lists' events
|
|
5
|
+
* @packageDocumentation
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* When a user adds an artwork to an artwork list
|
|
9
|
+
*
|
|
10
|
+
* This schema describes events sent to Segment from [[addedArtworkToArtworkList]]
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```
|
|
14
|
+
* {
|
|
15
|
+
* action: "addedArtworkToArtworkList",
|
|
16
|
+
* context_owner_id: "641b795ae11bda000c80d58d",
|
|
17
|
+
* context_owner_slug: "banksy-gangsta-rat-unsigned-49",
|
|
18
|
+
* context_owner_type: "artwork",
|
|
19
|
+
* artwork_ids: ["641b795ae11bda000c80d58d"]
|
|
20
|
+
* owner_ids: ["770fa47d-8cc8-4267-93e7-2808544d2a98"]
|
|
21
|
+
* }
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export interface AddedArtworkToArtworkList {
|
|
25
|
+
action: ActionType.addedArtworkToArtworkList;
|
|
26
|
+
context_owner_id?: string;
|
|
27
|
+
context_owner_slug?: string;
|
|
28
|
+
context_owner_type: OwnerType;
|
|
29
|
+
artwork_ids: string[];
|
|
30
|
+
owner_ids: string[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* When a user creates an artwork list
|
|
34
|
+
*
|
|
35
|
+
* This schema describes events sent to Segment from [[createdArtworkList]]
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```
|
|
39
|
+
* {
|
|
40
|
+
* action: "createdArtworkList",
|
|
41
|
+
* context_owner_id: "641b795ae11bda000c80d58d",
|
|
42
|
+
* context_owner_slug: "banksy-gangsta-rat-unsigned-49",
|
|
43
|
+
* context_owner_type: "artwork",
|
|
44
|
+
* owner_id: "770fa47d-8cc8-4267-93e7-2808544d2a98"
|
|
45
|
+
* }
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
export interface CreatedArtworkList {
|
|
49
|
+
action: ActionType.createdArtworkList;
|
|
50
|
+
context_owner_id?: string;
|
|
51
|
+
context_owner_slug?: string;
|
|
52
|
+
context_owner_type: OwnerType;
|
|
53
|
+
owner_id: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* When a user edits an artwork list
|
|
57
|
+
*
|
|
58
|
+
* This schema describes events sent to Segment from [[deletedArtworkList]]
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```
|
|
62
|
+
* {
|
|
63
|
+
* action: "deletedArtworkList",
|
|
64
|
+
* context_owner_type: "saves",
|
|
65
|
+
* owner_id: "770fa47d-8cc8-4267-93e7-2808544d2a98"
|
|
66
|
+
* }
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export interface DeletedArtworkList {
|
|
70
|
+
action: ActionType.deletedArtworkList;
|
|
71
|
+
context_owner_type: OwnerType.saves;
|
|
72
|
+
owner_id: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* When a user edits an artwork list
|
|
76
|
+
*
|
|
77
|
+
* This schema describes events sent to Segment from [[editedArtworkList]]
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```
|
|
81
|
+
* {
|
|
82
|
+
* action: "editedArtworkList",
|
|
83
|
+
* context_owner_type: "saves",
|
|
84
|
+
* owner_id: "770fa47d-8cc8-4267-93e7-2808544d2a98"
|
|
85
|
+
* }
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
export interface EditedArtworkList {
|
|
89
|
+
action: ActionType.editedArtworkList;
|
|
90
|
+
context_owner_type: OwnerType.saves;
|
|
91
|
+
owner_id: string;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* When a user clicks to view an artwork list
|
|
95
|
+
*
|
|
96
|
+
* This schema describes events sent to Segment from [[viewedArtworkList]]
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* ```
|
|
100
|
+
* {
|
|
101
|
+
* action: "viewedArtworkList",
|
|
102
|
+
* context_owner_type: "saves",
|
|
103
|
+
* owner_id: "770fa47d-8cc8-4267-93e7-2808544d2a98"
|
|
104
|
+
* }
|
|
105
|
+
* ```
|
|
106
|
+
*/
|
|
107
|
+
export interface ViewedArtworkList {
|
|
108
|
+
action: ActionType.viewedArtworkList;
|
|
109
|
+
context_owner_type: OwnerType.saves;
|
|
110
|
+
owner_id: string;
|
|
111
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1419,6 +1419,34 @@ export interface ClickedMarkSpam {
|
|
|
1419
1419
|
artwork_id: string;
|
|
1420
1420
|
partner_id: string;
|
|
1421
1421
|
}
|
|
1422
|
+
/**
|
|
1423
|
+
* User clicks on "Set this work as sold" on the dismiss inquiry modal on the CMS conversation page
|
|
1424
|
+
* after selecting the option "The work is no longer available"
|
|
1425
|
+
*
|
|
1426
|
+
* This schema describes events sent to Segment from [[clickedMarkSold]]
|
|
1427
|
+
*
|
|
1428
|
+
* @example
|
|
1429
|
+
* ```
|
|
1430
|
+
* {
|
|
1431
|
+
* action: clickedMarkSold
|
|
1432
|
+
* conversation_id: 123456
|
|
1433
|
+
* context_module: "conversations",
|
|
1434
|
+
* context_page_owner_type: "conversation",
|
|
1435
|
+
* context_page_owner_id: "60de173a47476c000fd5c4cc"
|
|
1436
|
+
* artwork_id: "60de173a47476c000fd5c4cc"
|
|
1437
|
+
* partner_id: "35de173a47476c111fd5c4cc"
|
|
1438
|
+
* }
|
|
1439
|
+
* ```
|
|
1440
|
+
*/
|
|
1441
|
+
export interface ClickedMarkSold {
|
|
1442
|
+
action: ActionType.clickedMarkSold;
|
|
1443
|
+
conversation_id: string;
|
|
1444
|
+
context_module: string;
|
|
1445
|
+
context_page_owner_type: PageOwnerType;
|
|
1446
|
+
context_page_owner_id?: string;
|
|
1447
|
+
artwork_id: string;
|
|
1448
|
+
partner_id: string;
|
|
1449
|
+
}
|
|
1422
1450
|
/**
|
|
1423
1451
|
* A Partner clicks on the Buy Now checkbox for selecting selling options in the artwork edit page in the CMS.
|
|
1424
1452
|
*
|
|
@@ -42,6 +42,7 @@ export interface AddCollectedArtwork {
|
|
|
42
42
|
* action: "saveCollectedArtwork",
|
|
43
43
|
* context_module: "myCollectionHome",
|
|
44
44
|
* context_owner_type: "myCollection",
|
|
45
|
+
* artist_id: "andy-warhol",
|
|
45
46
|
* platform: "mobile"
|
|
46
47
|
* }
|
|
47
48
|
* ```
|
|
@@ -50,6 +51,7 @@ export interface SaveCollectedArtwork {
|
|
|
50
51
|
action: ActionType.saveCollectedArtwork;
|
|
51
52
|
context_module: ContextModule.myCollectionHome;
|
|
52
53
|
context_owner_type: OwnerType.myCollection;
|
|
54
|
+
artist_id: string;
|
|
53
55
|
platform: Platform;
|
|
54
56
|
}
|
|
55
57
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ClickedActivityPanelNotificationItem, ClickedActivityPanelTab, ClickedNotificationsBell } from "./ActivityPanel";
|
|
2
2
|
import { AddToCalendar } from "./AddToCalendar";
|
|
3
|
+
import { AddedArtworkToArtworkList, CreatedArtworkList, DeletedArtworkList, EditedArtworkList, ViewedArtworkList } from "./ArtworkLists";
|
|
3
4
|
import { AuctionPageView, BidPageView, ClickedActiveBid, ClickedRegisterToBid, ConfirmBid, ConfirmRegistrationPageview, EnterLiveAuction, MaxBidSelected, RegistrationPageView, RegistrationSubmitted } from "./Auction";
|
|
4
5
|
import { AuthImpression, CompletedOnboarding, CreatedAccount, OnboardingUserInputData, ResetYourPassword, StartedOnboarding, SuccessfullyLoggedIn } from "./Authentication";
|
|
5
|
-
import { CheckedAccountBalance, ClickedAddNewShippingAddress, ClickedAddWorksToFair, ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedAuctionResultItem, ClickedBuyerProtection, ClickedChangePage, ClickedChangePaymentMethod, ClickedChangeShippingAddress, ClickedChangeShippingMethod, ClickedCollectionGroup, ClickedConversationsFilter, ClickedCreateAlert, ClickedDeliveryMethod, ClickedDismissInquiry, ClickedEditArtwork, ClickedExpansionToggle, ClickedFairCard, ClickedFairGroup, ClickedGalleryGroup, ClickedLoadMore, ClickedMainArtworkGrid, ClickedMarkSpam, ClickedNavigationTab, ClickedOfferActions, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnBuyNowCheckbox, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnMakeOfferCheckbox, ClickedOnPriceDisplayDropdown, ClickedOnSubmitOrder, ClickedOrderPage, ClickedOrderSummary, ClickedPartnerCard, ClickedPartnerLink, ClickedPaymentDetails, ClickedPaymentMethod, ClickedPromoSpace, ClickedSelectShippingOption, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
|
|
6
|
+
import { CheckedAccountBalance, ClickedAddNewShippingAddress, ClickedAddWorksToFair, ClickedAppDownload, ClickedArticleGroup, ClickedArtistGroup, ClickedArtistSeriesGroup, ClickedArtworkGroup, ClickedAuctionGroup, ClickedAuctionResultItem, ClickedBuyerProtection, ClickedChangePage, ClickedChangePaymentMethod, ClickedChangeShippingAddress, ClickedChangeShippingMethod, ClickedCollectionGroup, ClickedConversationsFilter, ClickedCreateAlert, ClickedDeliveryMethod, ClickedDismissInquiry, ClickedEditArtwork, ClickedExpansionToggle, ClickedFairCard, ClickedFairGroup, ClickedGalleryGroup, ClickedLoadMore, ClickedMainArtworkGrid, ClickedMarkSold, ClickedMarkSpam, ClickedNavigationTab, ClickedOfferActions, ClickedOfferOption, ClickedOnArtworkShippingUnitsDropdown, ClickedOnArtworkShippingWeight, ClickedOnBuyNowCheckbox, ClickedOnFramedMeasurements, ClickedOnFramedMeasurementsDropdown, ClickedOnMakeOfferCheckbox, ClickedOnPriceDisplayDropdown, ClickedOnSubmitOrder, ClickedOrderPage, ClickedOrderSummary, ClickedPartnerCard, ClickedPartnerLink, ClickedPaymentDetails, ClickedPaymentMethod, ClickedPromoSpace, ClickedSelectShippingOption, ClickedShippingAddress, ClickedShowGroup, ClickedShowMore, ClickedSnooze, ClickedVerifyIdentity, ClickedViewingRoomCard } from "./Click";
|
|
6
7
|
import { EditedUserProfile } from "./CollectorProfile";
|
|
7
8
|
import { ArtworkDetailsCompleted, ConsignmentSubmitted, ContactInformationCompleted, SentConsignmentInquiry, SubmitAnotherArtwork, UploadPhotosCompleted, ViewArtworkMyCollection } from "./Consignments";
|
|
8
9
|
import { FocusedOnConversationMessageInput, SentConversationMessage, TappedInboxConversation, TappedMakeOffer, TappedViewOffer } from "./Conversations";
|
|
@@ -30,13 +31,17 @@ import { ViewedVideo } from "./Video";
|
|
|
30
31
|
*
|
|
31
32
|
* Each event describes one ActionType
|
|
32
33
|
*/
|
|
33
|
-
export type Event = AddToCalendar | AddCollectedArtwork | ArtworkDetailsCompleted | AuctionPageView | AuctionResultsFilterParamsChanged | AuthImpression | BidPageView | CreatedAccount | ClickedActiveBid | ClickedActivityPanelNotificationItem | ClickedActivityPanelTab | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedAuctionResultItem | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedCreateAlert | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedNotificationsBell | ClickedOfferOption | ClickedOnArtworkShippingWeight | ClickedOnArtworkShippingUnitsDropdown | ClickedOnBuyNowCheckbox | ClickedOnFramedMeasurements | ClickedOnFramedMeasurementsDropdown | ClickedOnMakeOfferCheckbox | ClickedOnPriceDisplayDropdown | ClickedOnSubmitOrder | ClickedSnooze | ClickedPartnerCard | ClickedPartnerLink | ClickedPaymentMethod | ClickedPaymentDetails | CheckedAccountBalance | ClickedPromoSpace | ClickedRegisterToBid | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | ClickedOfferActions | ClickedOrderPage | ClickedOrderSummary | ClickedDismissInquiry | ClickedMarkSpam | ClickedConversationsFilter | CommercialFilterParamsChanged | CompletedOnboarding | ConfirmBid | ConfirmRegistrationPageview | ConsignmentArtistFailed | ConsignmentSubmitted | ContactInformationCompleted | DeleteCollectedArtwork | DeletedSavedSearch | EditCollectedArtwork | EditedSavedSearch | EditedUserProfile | EnterLiveAuction | ExperimentViewed | ItemViewed | UploadSizeLimitExceeded | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | Impression | MaxBidSelected | MyCollectionOnboardingCompleted | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | RailViewed | RegistrationPageView | RegistrationSubmitted | ResetYourPassword | SaleScreenLoadComplete | SaveCollectedArtwork | Screen | SearchedPriceDatabase | SearchedReverseImageWithNoResults | SearchedReverseImageWithResults | SearchedWithNoResults | SelectedArtworkFromReverseImageSearch | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SelectedRecentPriceRange | SelectedSearchSuggestionQuickNavigationItem | SentConsignmentInquiry | SentConversationMessage | SentRequestPriceEstimate | Share | StartedOnboarding | SubmitAnotherArtwork | SuccessfullyLoggedIn | TappedArticleGroup | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedAuctionResultGroup | TappedBid | TappedBuyNow | TappedCollectedArtwork | TappedCollectedArtworkImages | TappedCollectionGroup | TappedConsign | TappedContactGallery | TappedConsignmentInquiry | 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 | TooltipViewed | UploadPhotosCompleted | ViewArtworkMyCollection | ViewedVideo | VisitMyCollection | VisitMyCollectionOnboardingSlide;
|
|
34
|
+
export type Event = AddedArtworkToArtworkList | AddToCalendar | AddCollectedArtwork | ArtworkDetailsCompleted | AuctionPageView | AuctionResultsFilterParamsChanged | AuthImpression | BidPageView | CreatedAccount | CreatedArtworkList | ClickedActiveBid | ClickedActivityPanelNotificationItem | ClickedActivityPanelTab | ClickedAddNewShippingAddress | ClickedAddWorksToFair | ClickedAppDownload | ClickedArticleGroup | ClickedArtistGroup | ClickedArtistSeriesGroup | ClickedArtworkGroup | ClickedAuctionGroup | ClickedAuctionResultItem | ClickedBuyerProtection | ClickedChangePage | ClickedChangePaymentMethod | ClickedChangeShippingAddress | ClickedChangeShippingMethod | ClickedCollectionGroup | ClickedCreateAlert | ClickedDeliveryMethod | ClickedEditArtwork | ClickedExpansionToggle | ClickedFairCard | ClickedFairGroup | ClickedGalleryGroup | ClickedLoadMore | ClickedMainArtworkGrid | ClickedNavigationTab | ClickedNotificationsBell | ClickedOfferOption | ClickedOnArtworkShippingWeight | ClickedOnArtworkShippingUnitsDropdown | ClickedOnBuyNowCheckbox | ClickedOnFramedMeasurements | ClickedOnFramedMeasurementsDropdown | ClickedOnMakeOfferCheckbox | ClickedOnPriceDisplayDropdown | ClickedOnSubmitOrder | ClickedSnooze | ClickedPartnerCard | ClickedPartnerLink | ClickedPaymentMethod | ClickedPaymentDetails | CheckedAccountBalance | ClickedPromoSpace | ClickedRegisterToBid | ClickedSelectShippingOption | ClickedShippingAddress | ClickedShowGroup | ClickedShowMore | ClickedVerifyIdentity | ClickedViewingRoomCard | ClickedOfferActions | ClickedOrderPage | ClickedOrderSummary | ClickedDismissInquiry | ClickedMarkSpam | ClickedMarkSold | ClickedConversationsFilter | CommercialFilterParamsChanged | CompletedOnboarding | ConfirmBid | ConfirmRegistrationPageview | ConsignmentArtistFailed | ConsignmentSubmitted | ContactInformationCompleted | DeleteCollectedArtwork | DeletedArtworkList | DeletedSavedSearch | EditCollectedArtwork | EditedArtworkList | EditedSavedSearch | EditedUserProfile | EnterLiveAuction | ExperimentViewed | ItemViewed | UploadSizeLimitExceeded | FocusedOnConversationMessageInput | FocusedOnSearchInput | FocusedOnPriceDatabaseSearchInput | FollowEvents | Impression | MaxBidSelected | MyCollectionOnboardingCompleted | OnboardingUserInputData | PriceDatabaseFilterParamsChanged | PromptForReview | RailViewed | RegistrationPageView | RegistrationSubmitted | ResetYourPassword | SaleScreenLoadComplete | SaveCollectedArtwork | Screen | SearchedPriceDatabase | SearchedReverseImageWithNoResults | SearchedReverseImageWithResults | SearchedWithNoResults | SelectedArtworkFromReverseImageSearch | SelectedItemFromSearch | SelectedItemFromPriceDatabaseSearch | SelectedRecentPriceRange | SelectedSearchSuggestionQuickNavigationItem | SentConsignmentInquiry | SentConversationMessage | SentRequestPriceEstimate | Share | StartedOnboarding | SubmitAnotherArtwork | SuccessfullyLoggedIn | TappedArticleGroup | TappedArtistGroup | TappedArtistSeriesGroup | TappedArtworkGroup | TappedAuctionGroup | TappedAuctionResultGroup | TappedBid | TappedBuyNow | TappedCollectedArtwork | TappedCollectedArtworkImages | TappedCollectionGroup | TappedConsign | TappedContactGallery | TappedConsignmentInquiry | 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 | TooltipViewed | UploadPhotosCompleted | ViewArtworkMyCollection | ViewedArtworkList | ViewedVideo | VisitMyCollection | VisitMyCollectionOnboardingSlide;
|
|
34
35
|
/**
|
|
35
36
|
* The top-level actions an Event describes.
|
|
36
37
|
*
|
|
37
38
|
* Each ActionType corresponds with a table in Redshift.
|
|
38
39
|
*/
|
|
39
40
|
export declare enum ActionType {
|
|
41
|
+
/**
|
|
42
|
+
* Corresponds to {@link AddedArtworkToArtworkList}
|
|
43
|
+
*/
|
|
44
|
+
addedArtworkToArtworkList = "addedArtworkToArtworkList",
|
|
40
45
|
/**
|
|
41
46
|
* Corresponds to {@link AddArtworkDetails}
|
|
42
47
|
*/
|
|
@@ -265,6 +270,10 @@ export declare enum ActionType {
|
|
|
265
270
|
/**
|
|
266
271
|
* Corresponds to {@link ClickedMarkSpam}
|
|
267
272
|
*/
|
|
273
|
+
clickedMarkSold = "clickedMarkSold",
|
|
274
|
+
/**
|
|
275
|
+
* Corresponds to {@link ClickedMarkSold}
|
|
276
|
+
*/
|
|
268
277
|
clickedPartnerCard = "clickedPartnerCard",
|
|
269
278
|
/**
|
|
270
279
|
* Corresponds to {@link ClickedPartnerLink}
|
|
@@ -362,10 +371,18 @@ export declare enum ActionType {
|
|
|
362
371
|
* Corresponds to {@link CreatedAccount}
|
|
363
372
|
*/
|
|
364
373
|
createdAccount = "createdAccount",
|
|
374
|
+
/**
|
|
375
|
+
* Corresponds to {@link CreatedArtworkList}
|
|
376
|
+
*/
|
|
377
|
+
createdArtworkList = "createdArtworkList",
|
|
365
378
|
/**
|
|
366
379
|
* Corresponds to {@link DeleteCollectedArtwork}
|
|
367
380
|
*/
|
|
368
381
|
deleteCollectedArtwork = "deleteCollectedArtwork",
|
|
382
|
+
/**
|
|
383
|
+
* Corresponds to {@link DeletedArtworkList}
|
|
384
|
+
*/
|
|
385
|
+
deletedArtworkList = "deletedArtworkList",
|
|
369
386
|
/**
|
|
370
387
|
* Corresponds to {@link DeletedSavedSearch}
|
|
371
388
|
*/
|
|
@@ -374,6 +391,10 @@ export declare enum ActionType {
|
|
|
374
391
|
* Corresponds to {@link EditCollectedArtwork}
|
|
375
392
|
*/
|
|
376
393
|
editCollectedArtwork = "editCollectedArtwork",
|
|
394
|
+
/**
|
|
395
|
+
* Corresponds to {@link EditedArtworkList}
|
|
396
|
+
*/
|
|
397
|
+
editedArtworkList = "editedArtworkList",
|
|
377
398
|
/**
|
|
378
399
|
* Corresponds to {@link EditedSavedSearch}
|
|
379
400
|
*/
|
|
@@ -798,6 +819,10 @@ export declare enum ActionType {
|
|
|
798
819
|
* Corresponds to {@link ViewArtworkMyCollection}
|
|
799
820
|
*/
|
|
800
821
|
viewArtworkMyCollection = "viewArtworkMyCollection",
|
|
822
|
+
/**
|
|
823
|
+
* Corresponds to {@link ViewedArtworkList}
|
|
824
|
+
*/
|
|
825
|
+
viewedArtworkList = "viewedArtworkList",
|
|
801
826
|
/**
|
|
802
827
|
* Corresponds to {@link ViewedVideo}
|
|
803
828
|
*/
|
|
@@ -20,6 +20,7 @@ var ActionType;
|
|
|
20
20
|
exports.ActionType = ActionType;
|
|
21
21
|
|
|
22
22
|
(function (ActionType) {
|
|
23
|
+
ActionType["addedArtworkToArtworkList"] = "addedArtworkToArtworkList";
|
|
23
24
|
ActionType["addArtworkDetails"] = "addArtworkDetails";
|
|
24
25
|
ActionType["addCollectedArtwork"] = "addCollectedArtwork";
|
|
25
26
|
ActionType["addNewArtistName"] = "addNewArtistName";
|
|
@@ -76,6 +77,7 @@ exports.ActionType = ActionType;
|
|
|
76
77
|
ActionType["clickedOrderSummary"] = "clickedOrderSummary";
|
|
77
78
|
ActionType["clickedDismissInquiry"] = "clickedDismissInquiry";
|
|
78
79
|
ActionType["clickedMarkSpam"] = "clickedMarkSpam";
|
|
80
|
+
ActionType["clickedMarkSold"] = "clickedMarkSold";
|
|
79
81
|
ActionType["clickedPartnerCard"] = "clickedPartnerCard";
|
|
80
82
|
ActionType["clickedPartnerLink"] = "clickedPartnerLink";
|
|
81
83
|
ActionType["clickedPaymentMethod"] = "clickedPaymentMethod";
|
|
@@ -101,9 +103,12 @@ exports.ActionType = ActionType;
|
|
|
101
103
|
ActionType["contactGallery"] = "contactGallery";
|
|
102
104
|
ActionType["contactInformationCompleted"] = "contactInformationCompleted";
|
|
103
105
|
ActionType["createdAccount"] = "createdAccount";
|
|
106
|
+
ActionType["createdArtworkList"] = "createdArtworkList";
|
|
104
107
|
ActionType["deleteCollectedArtwork"] = "deleteCollectedArtwork";
|
|
108
|
+
ActionType["deletedArtworkList"] = "deletedArtworkList";
|
|
105
109
|
ActionType["deletedSavedSearch"] = "deletedSavedSearch";
|
|
106
110
|
ActionType["editCollectedArtwork"] = "editCollectedArtwork";
|
|
111
|
+
ActionType["editedArtworkList"] = "editedArtworkList";
|
|
107
112
|
ActionType["editedSavedSearch"] = "editedSavedSearch";
|
|
108
113
|
ActionType["editedUserProfile"] = "editedUserProfile";
|
|
109
114
|
ActionType["enterLiveAuction"] = "enterLiveAuction";
|
|
@@ -210,6 +215,7 @@ exports.ActionType = ActionType;
|
|
|
210
215
|
ActionType["unfollowedPartner"] = "unfollowedPartner";
|
|
211
216
|
ActionType["uploadPhotosCompleted"] = "uploadPhotosCompleted";
|
|
212
217
|
ActionType["viewArtworkMyCollection"] = "viewArtworkMyCollection";
|
|
218
|
+
ActionType["viewedArtworkList"] = "viewedArtworkList";
|
|
213
219
|
ActionType["viewedVideo"] = "viewedVideo";
|
|
214
220
|
ActionType["visitMyCollection"] = "visitMyCollection";
|
|
215
221
|
ActionType["visitMyCollectionOnboardingSlide"] = "visitMyCollectionOnboardingSlide";
|
|
@@ -74,6 +74,7 @@ export declare enum OwnerType {
|
|
|
74
74
|
saleInformation = "saleInformation",
|
|
75
75
|
savedSearch = "savedSearch",
|
|
76
76
|
savedSearches = "savedSearches",
|
|
77
|
+
saves = "saves",
|
|
77
78
|
savesAndFollows = "savesAndFollows",
|
|
78
79
|
search = "search",
|
|
79
80
|
sell = "sell",
|
|
@@ -93,8 +94,8 @@ export declare enum OwnerType {
|
|
|
93
94
|
/**
|
|
94
95
|
* Owner types available in iOS/Android
|
|
95
96
|
*/
|
|
96
|
-
export type ScreenOwnerType = OwnerType.allArtistSeries | 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.editProfile | 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.newWorksFromGalleriesYouFollow | OwnerType.onboarding | OwnerType.partner | OwnerType.profile | OwnerType.recentlyViewed | OwnerType.reverseImageSearch | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
|
|
97
|
+
export type ScreenOwnerType = OwnerType.allArtistSeries | 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.editProfile | 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.newWorksFromGalleriesYouFollow | OwnerType.onboarding | OwnerType.partner | OwnerType.profile | OwnerType.recentlyViewed | OwnerType.reverseImageSearch | OwnerType.sale | OwnerType.saleInformation | OwnerType.savedSearch | OwnerType.savedSearches | OwnerType.saves | OwnerType.savesAndFollows | OwnerType.search | OwnerType.sell | OwnerType.show | OwnerType.shows | OwnerType.similarToRecentlyViewed | OwnerType.tag | OwnerType.upcomingAuctions | OwnerType.viewingRoom | OwnerType.viewingRoomArtworkPage | OwnerType.viewingRoomArtworks | OwnerType.viewingRoomList | OwnerType.worksForYou;
|
|
97
98
|
/**
|
|
98
99
|
* Owner types available in web/mobile web
|
|
99
100
|
*/
|
|
100
|
-
export type PageOwnerType = 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.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.search | OwnerType.show | OwnerType.shows | OwnerType.tag | OwnerType.user | OwnerType.viewingRoom | OwnerType.viewingRooms | OwnerType.worksForYou;
|
|
101
|
+
export type PageOwnerType = 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.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.show | OwnerType.shows | OwnerType.tag | OwnerType.user | OwnerType.viewingRoom | OwnerType.viewingRooms | OwnerType.worksForYou;
|
|
@@ -92,6 +92,7 @@ exports.OwnerType = OwnerType;
|
|
|
92
92
|
OwnerType["saleInformation"] = "saleInformation";
|
|
93
93
|
OwnerType["savedSearch"] = "savedSearch";
|
|
94
94
|
OwnerType["savedSearches"] = "savedSearches";
|
|
95
|
+
OwnerType["saves"] = "saves";
|
|
95
96
|
OwnerType["savesAndFollows"] = "savesAndFollows";
|
|
96
97
|
OwnerType["search"] = "search";
|
|
97
98
|
OwnerType["sell"] = "sell";
|
package/dist/Schema/index.d.ts
CHANGED
package/dist/Schema/index.js
CHANGED
|
@@ -28,6 +28,18 @@ Object.keys(_AddToCalendar).forEach(function (key) {
|
|
|
28
28
|
});
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
+
var _ArtworkLists = require("./Events/ArtworkLists");
|
|
32
|
+
|
|
33
|
+
Object.keys(_ArtworkLists).forEach(function (key) {
|
|
34
|
+
if (key === "default" || key === "__esModule") return;
|
|
35
|
+
Object.defineProperty(exports, key, {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function get() {
|
|
38
|
+
return _ArtworkLists[key];
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
|
|
31
43
|
var _Authentication = require("./Events/Authentication");
|
|
32
44
|
|
|
33
45
|
Object.keys(_Authentication).forEach(function (key) {
|