diff --git a/data/schema.graphql b/data/schema.graphql index 7d82659ca0b..d6dda99fbd4 100644 --- a/data/schema.graphql +++ b/data/schema.graphql @@ -671,7 +671,7 @@ enum AnalyticsGroupedStatsObjectTypeEnum { # A grouped stat item: country or device etc. union AnalyticsGroupedStatsUnion = - | AnalyticsVisitorsByCountry + AnalyticsVisitorsByCountry | AnalyticsVisitorsByDevice | AnalyticsVisitorsByLandingPage | AnalyticsVisitorsByReferral @@ -1111,7 +1111,7 @@ enum AnalyticsRankedStatsObjectTypeEnum { # An artwork, artist, show, or viewing room union AnalyticsRankedStatsUnion = - | AnalyticsArtist + AnalyticsArtist | AnalyticsArtwork | AnalyticsShow | AnalyticsViewingRoom @@ -1376,7 +1376,7 @@ type ArticleSectionImageCollection { } union ArticleSectionImageCollectionFigure = - | ArticleImageSection + ArticleImageSection | ArticleUnpublishedArtwork | Artwork @@ -1434,7 +1434,7 @@ enum ArticleSectionVideoLayout { } union ArticleSections = - | ArticleSectionCallout + ArticleSectionCallout | ArticleSectionEmbed | ArticleSectionImageCollection | ArticleSectionImageSet @@ -2947,7 +2947,7 @@ type ArtworkMutationFailure { } union ArtworkMutationType = - | ArtworkMutationDeleteSuccess + ArtworkMutationDeleteSuccess | ArtworkMutationFailure union ArtworkOrEditionSetType = Artwork | EditionSet @@ -3126,7 +3126,7 @@ type ArtworksCollectionsBatchUpdatePayload { } union ArtworksCollectionsBatchUpdateResponseOrError = - | ArtworksCollectionsBatchUpdateFailure + ArtworksCollectionsBatchUpdateFailure | ArtworksCollectionsBatchUpdateSuccess type ArtworksCollectionsBatchUpdateSuccess { @@ -3835,7 +3835,7 @@ type BankAccountMutationSuccess { } union BankAccountMutationType = - | BankAccountMutationFailure + BankAccountMutationFailure | BankAccountMutationSuccess enum BankAccountTypes { @@ -4002,7 +4002,7 @@ type BulkUpdatePartnerArtworksMutationSuccess { } union BulkUpdatePartnerArtworksMutationType = - | BulkUpdatePartnerArtworksMutationFailure + BulkUpdatePartnerArtworksMutationFailure | BulkUpdatePartnerArtworksMutationSuccess type BulkUpdatePartnerArtworksResponse { @@ -4489,7 +4489,7 @@ type CollectorSignals { # Represents either an action or a potential failure union CommerceActionOrFailureUnion = - | CommerceOrderRequiresAction + CommerceOrderRequiresAction | CommerceOrderWithMutationFailure # Autogenerated input type of AddInitialOfferToOrder @@ -5674,7 +5674,7 @@ type CommerceOptInReportMutationPayload { } union CommerceOptInReportMutationType = - | CommerceOptInReportFailure + CommerceOptInReportFailure | CommerceOptInReportSuccess type CommerceOptInReportResponse { @@ -5972,7 +5972,7 @@ type CommerceOrderEdge { # Represents either a state change or new offer union CommerceOrderEventUnion = - | CommerceOfferSubmittedEvent + CommerceOfferSubmittedEvent | CommerceOrderStateChangedEvent enum CommerceOrderFulfillmentTypeEnum { @@ -5996,7 +5996,7 @@ enum CommerceOrderModeEnum { # Represents either a resolved Order or a potential failure union CommerceOrderOrFailureUnion = - | CommerceOrderRequiresAction + CommerceOrderRequiresAction | CommerceOrderWithMutationFailure | CommerceOrderWithMutationSuccess @@ -6145,7 +6145,7 @@ type CommercePickup { # Represents either a shipping information or pickup union CommerceRequestedFulfillmentUnion = - | CommercePickup + CommercePickup | CommerceShip | CommerceShipArta @@ -7947,7 +7947,7 @@ type CreateAccountRequestMutationSuccess { } union CreateAccountRequestMutationType = - | CreateAccountRequestMutationFailure + CreateAccountRequestMutationFailure | CreateAccountRequestMutationSuccess type CreateAlertFailure { @@ -8068,7 +8068,7 @@ type CreateCareerHighlightSuccess { } union CreateCareerHighlightSuccessResponseOrError = - | CreateCareerHighlightFailure + CreateCareerHighlightFailure | CreateCareerHighlightSuccess type CreateCollectionFailure { @@ -8076,7 +8076,7 @@ type CreateCollectionFailure { } union CreateCollectionResponseOrError = - | CreateCollectionFailure + CreateCollectionFailure | CreateCollectionSuccess type CreateCollectionSuccess { @@ -8099,7 +8099,7 @@ type CreateConsignmentInquiryMutationPayload { } union CreateConsignmentInquiryMutationType = - | ConsignmentInquiryMutationFailure + ConsignmentInquiryMutationFailure | ConsignmentInquiryMutationSuccess input CreateDiscoveryArtworkReferenceMutationInput { @@ -8122,7 +8122,7 @@ type CreateDiscoveryArtworkReferenceMutationPayload { } union CreateDiscoveryArtworkReferenceResponseOrError = - | DiscoveryArtworkReferenceMutationFailure + DiscoveryArtworkReferenceMutationFailure | DiscoveryArtworkReferenceMutationSuccess input CreateDiscoveryUserMutationInput { @@ -8140,7 +8140,7 @@ type CreateDiscoveryUserMutationPayload { } union CreateDiscoveryUserResponseOrError = - | DiscoveryUserMutationFailure + DiscoveryUserMutationFailure | DiscoveryUserMutationSuccess type CreateFeatureFailure { @@ -8188,7 +8188,7 @@ type CreateFeaturedLinkMutationPayload { } union CreateFeaturedLinkResponseOrError = - | CreateFeaturedLinkFailure + CreateFeaturedLinkFailure | CreateFeaturedLinkSuccess type CreateFeaturedLinkSuccess { @@ -8262,7 +8262,7 @@ type CreateIdentityVerificationOverrideMutationPayload { } union CreateIdentityVerificationOverrideResponseOrError = - | IdentityVerificationOverrideMutationFailure + IdentityVerificationOverrideMutationFailure | IdentityVerificationOverrideMutationSuccess # Autogenerated input type of CreateImage @@ -8303,7 +8303,7 @@ type CreateInvoicePaymentPayload { } union CreateInvoicePaymentResponseOrError = - | CreateInvoicePaymentFailure + CreateInvoicePaymentFailure | CreateInvoicePaymentSuccess type CreateInvoicePaymentSuccess { @@ -8424,7 +8424,7 @@ type CreateSaleAgreementMutationPayload { } union CreateSaleAgreementResponseOrError = - | CreateSaleAgreementFailure + CreateSaleAgreementFailure | CreateSaleAgreementSuccess type CreateSaleAgreementSuccess { @@ -8593,7 +8593,7 @@ type CreateUserSaleProfileMutationPayload { } union CreateUserSaleProfileResponseOrError = - | CreateUserSaleProfileFailure + CreateUserSaleProfileFailure | CreateUserSaleProfileSuccess type CreateUserSaleProfileSuccess { @@ -8618,7 +8618,7 @@ type CreateVerifiedRepresentativePayload { } union CreateVerifiedRepresentativeResponseOrError = - | CreateVerifiedRepresentativeFailure + CreateVerifiedRepresentativeFailure | CreateVerifiedRepresentativeSuccess type CreateVerifiedRepresentativeSuccess { @@ -8751,7 +8751,7 @@ type CreditCardMutationSuccess { } union CreditCardMutationType = - | CreditCardMutationFailure + CreditCardMutationFailure | CreditCardMutationSuccess type CreditCardPayload { @@ -8911,7 +8911,7 @@ type DeleteCareerHighlightSuccess { } union DeleteCareerHighlightSuccessOrErrorType = - | DeleteCareerHighlightFailure + DeleteCareerHighlightFailure | DeleteCareerHighlightSuccess type DeleteCollectionFailure { @@ -8919,7 +8919,7 @@ type DeleteCollectionFailure { } union DeleteCollectionResponseOrError = - | DeleteCollectionFailure + DeleteCollectionFailure | DeleteCollectionSuccess type DeleteCollectionSuccess { @@ -8945,7 +8945,7 @@ type DeleteConversationMutationPayload { } union DeleteConversationResponseOrError = - | DeleteConversationFailure + DeleteConversationFailure | DeleteConversationSuccess type DeleteConversationSuccess { @@ -8986,7 +8986,7 @@ type DeleteDiscoveryUserMutationSuccess { } union DeleteDiscoveryUserResponseOrError = - | DeleteDiscoveryUserMutationFailure + DeleteDiscoveryUserMutationFailure | DeleteDiscoveryUserMutationSuccess type DeleteFeatureFailure { @@ -9024,7 +9024,7 @@ type DeleteFeaturedLinkMutationPayload { } union DeleteFeaturedLinkResponseOrError = - | DeleteFeaturedLinkFailure + DeleteFeaturedLinkFailure | DeleteFeaturedLinkSuccess type DeleteFeaturedLinkSuccess { @@ -9163,7 +9163,7 @@ type DeleteVerifiedRepresentativeMutationPayload { } union DeleteVerifiedRepresentativeResponseOrError = - | DeleteVerifiedRepresentativeFailure + DeleteVerifiedRepresentativeFailure | DeleteVerifiedRepresentativeSuccess type DeleteVerifiedRepresentativeSuccess { @@ -11025,7 +11025,7 @@ type HomePageArtworkModule implements Node { } union HomePageArtworkModuleContext = - | Fair + Fair | FollowArtists | Gene | HomePageFollowedArtistArtworkModule @@ -11717,7 +11717,7 @@ type IdentityVerificationEmailMutationSuccessType { } union IdentityVerificationEmailMutationType = - | IdentityVerificationEmailMutationFailureType + IdentityVerificationEmailMutationFailureType | IdentityVerificationEmailMutationSuccessType type IdentityVerificationOverride { @@ -12369,7 +12369,7 @@ type MarkAllNotificationsAsReadPayload { } union MarkAllNotificationsAsReadResponseOrError = - | MarkAllNotificationsAsReadFailure + MarkAllNotificationsAsReadFailure | MarkAllNotificationsAsReadSuccess type MarkAllNotificationsAsReadSuccess { @@ -12392,7 +12392,7 @@ type MarkNotificationAsReadPayload { } union MarkNotificationAsReadResponseOrError = - | MarkNotificationAsReadFailure + MarkNotificationAsReadFailure | MarkNotificationAsReadSuccess type MarkNotificationAsReadSuccess { @@ -12417,7 +12417,7 @@ type MarkNotificationsAsSeenPayload { } union MarkNotificationsAsSeenResponseOrError = - | MarkNotificationsAsSeenFailure + MarkNotificationsAsSeenFailure | MarkNotificationsAsSeenSuccess type MarkNotificationsAsSeenSuccess { @@ -12667,7 +12667,7 @@ enum MarketingCollectionsSorts { } union Match = - | Article + Article | Artist | Artwork | Fair @@ -14302,7 +14302,7 @@ type MyCollectionArtworkMutationSuccess { } union MyCollectionArtworkMutationType = - | MyCollectionArtworkMutationDeleteSuccess + MyCollectionArtworkMutationDeleteSuccess | MyCollectionArtworkMutationFailure | MyCollectionArtworkMutationSuccess @@ -14612,7 +14612,7 @@ type NotificationEdge { } union NotificationItem = - | AlertNotificationItem + AlertNotificationItem | ArticleFeaturedArtistNotificationItem | ArtworkPublishedNotificationItem | CollectorProfileUpdatePromptNotificationItem @@ -14736,7 +14736,7 @@ type OrderedSetEdge { } union OrderedSetItem = - | Artist + Artist | Artwork | FeaturedLink | Gene @@ -16864,10 +16864,10 @@ type Query { # (Only for when useOpenSearch is true) These fields are used to calculate the More Like This query mltFields: [String] = ["material", "categories", "tags", "medium"] offset: Int - sort: DiscoverArtworksSort - # (Only for when useOpenSearch is true) Use the More Like This query with the kNN query - useMltQuery: Boolean = false + # (Only for when useOpenSearch is true) Weights for the OpenSearch query + osWeights: [Float] = [0.6, 0.4] + sort: DiscoverArtworksSort useOpenSearch: Boolean = false userId: String ): ArtworkConnection @@ -17841,7 +17841,7 @@ input RequestPriceEstimateInput { } union RequestPriceEstimateMutationType = - | RequestPriceEstimatedMutationFailure + RequestPriceEstimatedMutationFailure | RequestPriceEstimatedMutationSuccess type RequestPriceEstimatePayload { @@ -18696,7 +18696,7 @@ type SendConfirmationEmailMutationSuccess { } union SendConfirmationEmailMutationType = - | SendConfirmationEmailMutationFailure + SendConfirmationEmailMutationFailure | SendConfirmationEmailMutationSuccess input SendConversationMessageMutationInput { @@ -18765,7 +18765,7 @@ type SendFeedbackMutationSuccess { } union SendFeedbackMutationType = - | SendFeedbackMutationFailure + SendFeedbackMutationFailure | SendFeedbackMutationSuccess input SendIdentityVerificationEmailMutationInput { @@ -19220,7 +19220,7 @@ type StartIdentityVerificationFailure { } union StartIdentityVerificationResponseOrError = - | StartIdentityVerificationFailure + StartIdentityVerificationFailure | StartIdentityVerificationSuccess type StartIdentityVerificationSuccess { @@ -19564,7 +19564,7 @@ type TransferMyCollectionSuccess { # A transfer My Collection success or errors object union TransferMyCollectionSuccessOrErrorsUnion = - | Errors + Errors | TransferMyCollectionSuccess type TrendingArtists { @@ -19593,7 +19593,7 @@ type TriggerCampaignMutationSuccess { } union TriggerCampaignMutationSuccessOrError = - | TriggerCampaignMutationFailure + TriggerCampaignMutationFailure | TriggerCampaignMutationSuccess type TriggerCampaignPayload { @@ -19720,7 +19720,7 @@ type UpdateCMSLastAccessTimestampMutationPayload { } union UpdateCMSLastAccessTimestampResponseOrError = - | UpdateCMSLastAccessTimestampFailure + UpdateCMSLastAccessTimestampFailure | UpdateCMSLastAccessTimestampSuccess type UpdateCMSLastAccessTimestampSuccess { @@ -19750,7 +19750,7 @@ type UpdateCareerHighlightSuccess { } union UpdateCareerHighlightsSuccessResponseOrError = - | UpdateCareerHighlightFailure + UpdateCareerHighlightFailure | UpdateCareerHighlightSuccess type UpdateCollectionFailure { @@ -19758,7 +19758,7 @@ type UpdateCollectionFailure { } union UpdateCollectionResponseOrError = - | UpdateCollectionFailure + UpdateCollectionFailure | UpdateCollectionSuccess type UpdateCollectionSuccess { @@ -19841,7 +19841,7 @@ type UpdateCollectorProfileWithIDPayload { } union UpdateCollectorProfileWithIDResponseOrError = - | UpdateCollectorProfileWithIDFailure + UpdateCollectorProfileWithIDFailure | UpdateCollectorProfileWithIDSuccess type UpdateCollectorProfileWithIDSuccess { @@ -19928,7 +19928,7 @@ type UpdateFeaturedLinkMutationPayload { } union UpdateFeaturedLinkResponseOrError = - | UpdateFeaturedLinkFailure + UpdateFeaturedLinkFailure | UpdateFeaturedLinkSuccess type UpdateFeaturedLinkSuccess { @@ -19971,7 +19971,7 @@ type UpdateMeCollectionsFailure { } union UpdateMeCollectionsResponseOrError = - | UpdateMeCollectionsFailure + UpdateMeCollectionsFailure | UpdateMeCollectionsSuccess type UpdateMeCollectionsSuccess { @@ -20128,7 +20128,7 @@ input UpdateMyProfileInput { } union UpdateMyProfileMutation = - | UpdateMyProfileMutationFailure + UpdateMyProfileMutationFailure | UpdateMyProfileMutationSuccess type UpdateMyProfileMutationFailure { @@ -20177,7 +20177,7 @@ type UpdateOrderedSetMutationPayload { } union UpdateOrderedSetResponseOrError = - | UpdateOrderedSetFailure + UpdateOrderedSetFailure | UpdateOrderedSetSuccess type UpdateOrderedSetSuccess { @@ -20235,7 +20235,7 @@ type UpdatePartnerShowMutationPayload { } union UpdatePartnerShowResponseOrError = - | UpdatePartnerShowFailure + UpdatePartnerShowFailure | UpdatePartnerShowSuccess type UpdatePartnerShowSuccess { @@ -20265,7 +20265,7 @@ type UpdateSaleAgreementMutationPayload { } union UpdateSaleAgreementResponseOrError = - | UpdateSaleAgreementFailure + UpdateSaleAgreementFailure | UpdateSaleAgreementSuccess type UpdateSaleAgreementSuccess { @@ -20394,7 +20394,7 @@ type UpdateUserInterestMutationPayload { union UpdateUserInterestOrError = UpdateUserInterestsFailure | UserInterest union UpdateUserInterestResponseOrError = - | UpdateUserInterestFailure + UpdateUserInterestFailure | UpdateUserInterestSuccess type UpdateUserInterestSuccess { @@ -20849,7 +20849,7 @@ type UserIconDeleteSuccessType { } union UserIconDeletionMutationType = - | UserIconDeleteFailureType + UserIconDeleteFailureType | UserIconDeleteSuccessType # A connection to a list of items. @@ -21518,10 +21518,10 @@ type Viewer { # (Only for when useOpenSearch is true) These fields are used to calculate the More Like This query mltFields: [String] = ["material", "categories", "tags", "medium"] offset: Int - sort: DiscoverArtworksSort - # (Only for when useOpenSearch is true) Use the More Like This query with the kNN query - useMltQuery: Boolean = false + # (Only for when useOpenSearch is true) Weights for the OpenSearch query + osWeights: [Float] = [0.6, 0.4] + sort: DiscoverArtworksSort useOpenSearch: Boolean = false userId: String ): ArtworkConnection @@ -22428,7 +22428,7 @@ type addOrderedSetItemMutationPayload { } union addOrderedSetItemResponseOrError = - | addOrderedSetItemFailure + addOrderedSetItemFailure | addOrderedSetItemSuccess type addOrderedSetItemSuccess { @@ -22512,7 +22512,7 @@ type createHeroUnitFailure { } union createHeroUnitResponseOrError = - | createHeroUnitFailure + createHeroUnitFailure | createHeroUnitSuccess type createHeroUnitSuccess { @@ -22524,7 +22524,7 @@ type createOrderedSetFailure { } union createOrderedSetResponseOrError = - | createOrderedSetFailure + createOrderedSetFailure | createOrderedSetSuccess type createOrderedSetSuccess { @@ -22550,7 +22550,7 @@ type createPartnerOfferMutationPayload { } union createPartnerOfferResponseOrError = - | createPartnerOfferFailure + createPartnerOfferFailure | createPartnerOfferSuccess type createPartnerOfferSuccess { @@ -22575,7 +22575,7 @@ type createUserAdminNoteMutationPayload { } union createUserAdminNoteResponseOrError = - | createUserAdminNoteFailure + createUserAdminNoteFailure | createUserAdminNoteSuccess type createUserAdminNoteSuccess { @@ -22587,7 +22587,7 @@ type createUserInterestForUserFailure { } union createUserInterestForUserResponseOrError = - | createUserInterestForUserFailure + createUserInterestForUserFailure | createUserInterestForUserSuccess type createUserInterestForUserSuccess { @@ -22634,7 +22634,7 @@ type deleteHeroUnitMutationPayload { } union deleteHeroUnitResponseOrError = - | deleteHeroUnitFailure + deleteHeroUnitFailure | deleteHeroUnitSuccess type deleteHeroUnitSuccess { @@ -22663,7 +22663,7 @@ type deleteOrderedSetItemMutationPayload { } union deleteOrderedSetItemResponseOrError = - | deleteOrderedSetItemFailure + deleteOrderedSetItemFailure | deleteOrderedSetItemSuccess type deleteOrderedSetItemSuccess { @@ -22684,7 +22684,7 @@ type deleteOrderedSetMutationPayload { } union deleteOrderedSetResponseOrError = - | deleteOrderedSetFailure + deleteOrderedSetFailure | deleteOrderedSetSuccess type deleteOrderedSetSuccess { @@ -22708,7 +22708,7 @@ type deleteUserAdminNoteMutationPayload { } union deleteUserAdminNoteResponseOrError = - | deleteUserAdminNoteFailure + deleteUserAdminNoteFailure | deleteUserAdminNoteSuccess type deleteUserAdminNoteSuccess { @@ -22720,7 +22720,7 @@ type deleteUserInterestForUserFailure { } union deleteUserInterestForUserResponseOrError = - | deleteUserInterestForUserFailure + deleteUserInterestForUserFailure | deleteUserInterestForUserSuccess type deleteUserInterestForUserSuccess { @@ -22746,7 +22746,7 @@ type deleteUserRoleMutationPayload { } union deleteUserRoleResponseOrError = - | deleteUserRoleFailure + deleteUserRoleFailure | deleteUserRoleSuccess type deleteUserRoleSuccess { @@ -22842,7 +22842,7 @@ type updateCollectionPayload { } union updateCollectorProfileResponseOrError = - | UpdateCollectorProfileFailure + UpdateCollectorProfileFailure | UpdateCollectorProfileSuccess type updateHeroUnitFailure { @@ -22850,7 +22850,7 @@ type updateHeroUnitFailure { } union updateHeroUnitResponseOrError = - | updateHeroUnitFailure + updateHeroUnitFailure | updateHeroUnitSuccess type updateHeroUnitSuccess {