overwrite: true
generates:
  src/generated/index.ts:
    schema: 'src/schema/[^_]*.graphql'
    plugins:
      - add:
          content: "/* eslint-disable max-len */\n/* eslint-disable @typescript-eslint/no-explicit-any */"
      - typescript
      - typescript-resolvers
    config:
      avoidOptionals:
        defaultValue: true
        field: true
        inputValue: false
        object: false
        resolvers: true
      contextType: ../types#ServiceContext
      strictScalars: true
      useIndexSignature: true
      showUnusedMappers: true
      enumsAsConst: true
      makeResolverTypeCallable: true
      onlyResolveTypeForInterfaces: true
      enumValues:
        StreamsGrowthPeriodEnum: ../connectors/ows-analytics/types#StreamsGrowthPeriodEnum
        PlaylistType: ../resolvers/enums#PlaylistType
        PlaylistDimension: ../resolvers/enums#PlaylistDimension
        PlaylistStreamsOrderBy: ../resolvers/enums#PlaylistStreamsOrderBy
        Distributor: ../resolvers/enums#Distributor
        DeltaGrowthPeriod: ../resolvers/enums#DeltaGrowthPeriod
        ProductSummaryType: ../resolvers/enums#ProductSummaryType
        ProductTimeseriesType: ../resolvers/enums#ProductTimeseriesType
        UpperProfitCenter: ../resolvers/enums#UpperProfitCenter
        DatePeriod: ../resolvers/enums#DatePeriod
        SocialPlatform: ../resolvers/enums#SocialPlatform
        ChartSoundRecordingsItemsFilter: ../resolvers/enums#ChartSoundRecordingsItemsFilter
        ViewsType: ../resolvers/enums#ViewsType
        AccountVideoViewsQueryType: ../resolvers/enums#AccountVideoViewsQueryType
        OwnerCategory: ../resolvers/enums#OwnerCategory
        TiktokAnalyticsTimeseriesType: ../resolvers/enums#TiktokAnalyticsTimeseriesType
      mappers:
        AccountSummary: ../resolvers/types/AccountSummaryKey#AccountSummaryKey
        AccountSummaryArtistItem: ../resolvers/types/AccountSummaryArtistItemKey#AccountSummaryArtistItemKey
        AccountSummaryItem: ../resolvers/types/AccountSummaryItemKey#AccountSummaryItemKey
        AccountSummaryGenericItem: ../resolvers/types/AccountSummaryGenericItemKey#AccountSummaryGenericItemKey
        AccountSummaryProductItem: ../resolvers/types/AccountSummaryProductItemKey#AccountSummaryProductItemKey
        AccountSummaryProjectItem: ../resolvers/types/AccountSummaryProjectItemKey#AccountSummaryProjectItemKey
        AccountSummarySubaccountItem: ../resolvers/types/AccountSummarySubaccountItemKey#AccountSummarySubaccountItemKey
        AccountSummaryTrackItem: ../resolvers/types/AccountSummaryTrackItemKey#AccountSummaryTrackItemKey
        AccountTopContent: ../resolvers/types/AccountTopContentKey#AccountTopContentKey
        AccountVideoViewsByArtistSummaryItem: ../resolvers/types/AccountVideoViewsByArtistSummaryItemKey#AccountVideoViewsByArtistSummaryItemKey
        AccountVideoViewsByArtistTimeseriesItem: ../resolvers/types/AccountVideoViewsByArtistTimeseriesItemKey#AccountVideoViewsByArtistTimeseriesItemKey
        AccountVideoViewsByCountrySummaryItem: ../resolvers/types/AccountVideoViewsByCountrySummaryItemKey#AccountVideoViewsByCountrySummaryItemKey
        AccountVideoViewsByCountryTimeseriesItem: ../resolvers/types/AccountVideoViewsByCountryTimeseriesItemKey#AccountVideoViewsByCountryTimeseriesItemKey
        AccountVideoViewsBySubaccountSummaryItem: ../resolvers/types/AccountVideoViewsBySubaccountSummaryItemKey#AccountVideoViewsBySubaccountSummaryItemKey
        AccountVideoViewsBySubaccountTimeseriesItem: ../resolvers/types/AccountVideoViewsBySubaccountTimeseriesItemKey#AccountVideoViewsBySubaccountTimeseriesItemKey
        AccountVideoViewsByTrackSummaryItem: ../resolvers/types/AccountVideoViewsByTrackSummaryItemKey#AccountVideoViewsByTrackSummaryItemKey
        AccountVideoViewsByTrackFamilySummaryItem: ../resolvers/types/AccountVideoViewsByTrackFamilySummaryItemKey#AccountVideoViewsByTrackFamilySummaryItemKey
        AccountVideoViewsByTrackTimeseriesItem: ../resolvers/types/AccountVideoViewsByTrackTimeseriesItemKey#AccountVideoViewsByTrackTimeseriesItemKey
        AccountVideoViewsByTrackFamilyTimeseriesItem: ../resolvers/types/AccountVideoViewsByTrackFamilyTimeseriesItemKey#AccountVideoViewsByTrackFamilyTimeseriesItemKey
        AccountVideoViewsByVideoSummaryItem: ../resolvers/types/AccountVideoViewsByVideoSummaryItemKey#AccountVideoViewsByVideoSummaryItemKey
        AccountVideoViewsByVideoTimeseriesItem: ../resolvers/types/AccountVideoViewsByVideoTimeseriesItemKey#AccountVideoViewsByVideoTimeseriesItemKey
        AccountVideoViewsOthersSummaryItem: ../resolvers/types/AccountVideoViewsOthersSummaryItemKey#AccountVideoViewsOthersSummaryItemKey
        AccountVideoViewsOthersTimeseriesItem: ../resolvers/types/AccountVideoViewsOthersTimeseriesItemKey#AccountVideoViewsOthersTimeseriesItemKey
        AccountVideoViewsUnknownSummaryItem: ../resolvers/types/AccountVideoViewsUnknownSummaryItemKey#AccountVideoViewsUnknownSummaryItemKey
        AccountVideoViewsUnknownTimeseriesItem: ../resolvers/types/AccountVideoViewsUnknownTimeseriesItemKey#AccountVideoViewsUnknownTimeseriesItemKey
        AccountVideoViewsSummary: ../resolvers/types/AccountVideoViewsSummaryKey#AccountVideoViewsSummaryKey
        AccountVideoViewsSummaryItem: ../resolvers/types/AccountVideoViewsSummaryItemKey#AccountVideoViewsSummaryItemKey
        AccountVideoViewsTimeseries: ../resolvers/types/AccountVideoViewsTimeseriesKey#AccountVideoViewsTimeseriesKey
        AccountVideoViewsTimeseriesItem: ../resolvers/types/AccountVideoViewsTimeseriesItemKey#AccountVideoViewsTimeseriesItemKey
        AccountVideoViewsTotalSummaryItem: ../resolvers/types/AccountVideoViewsTotalSummaryItemKey#AccountVideoViewsTotalSummaryItemKey
        AccountVideoViewsTotalTimeseriesItem: ../resolvers/types/AccountVideoViewsTotalTimeseriesItemKey#AccountVideoViewsTotalTimeseriesItemKey
        AggregatedStreamsByDimension: ../resolvers/types/AggregatedStreamsByDimensionKey#AggregatedStreamsByDimensionKey
        ChartV2: ../resolvers/types/ChartV2Key#ChartV2Key
        ChartV2Date: ../resolvers/types/ChartV2DateKey#ChartV2DateKey
        ChartV2DatePlacementResult: ../resolvers/types/ChartV2DatePlacementResultKey#ChartV2DatePlacementResultKey
        ChartV2Group: ../resolvers/types/ChartV2GroupKey#ChartV2GroupKey
        ChartRankingV3: ../resolvers/types/ChartRankingV3Key#ChartRankingV3Key
        ChartV3DatePlacementResult: ../resolvers/types/ChartV3DatePlacementResultKey#ChartV3DatePlacementResultKey
        Label: ../resolvers/types/LabelKey#LabelKey
        Vendor: ../resolvers/types/VendorKey#VendorKey
        Subaccount: ../resolvers/types/SubaccountKey#SubaccountKey
        GlobalSoundRecording: ../resolvers/types/GlobalSoundRecordingKey#GlobalSoundRecordingKey
        GlobalSoundRecordingAnalytics: ../resolvers/types/GlobalSoundRecordingAnalyticsKey#GlobalSoundRecordingAnalyticsKey
        Store: ../resolvers/types/StoreKey#StoreKey
        StreamsAggregate: ../resolvers/types/StreamsAggregateKey#StreamsAggregateKey
        StreamsAndGrowthAggregate: ../resolvers/types/StreamsAndGrowthAggregateKey#StreamsAndGrowthAggregateKey
        StreamsAndGrowthAggregateById: ../resolvers/types/StreamsAndGrowthAggregateByIdKey#StreamsAndGrowthAggregateByIdKey
        StreamsTimeseriesById: ../resolvers/types/StreamsTimeseriesByIdKey#StreamsTimeseriesByIdKey
        StreamsTimeseriesItem: ../resolvers/types/StreamsTimeseriesItemKey#StreamsTimeseriesItemKey
        Playlist: ../resolvers/types/PlaylistKey#PlaylistKey
        PlaylistAnalytics: ../resolvers/types/PlaylistAnalyticsKey#PlaylistAnalyticsKey
        PlaylistStreamsByDimension: ../resolvers/types/PlaylistAnalyticsStreamsByDimensionKey#PlaylistAnalyticsStreamsByDimensionKey
        PlaylistPlacement: ../resolvers/types/PlaylistPlacementKey#PlaylistPlacementKey
        PlaylistDemographics: ../resolvers/types/PlaylistDemographicsKey#PlaylistDemographicsKey
        TopPlaylistsPlacements: ../resolvers/types/TopPlaylistsPlacementsKey#TopPlaylistsPlacementsKey
        PublicSoundRecording: ../resolvers/types/PublicSoundRecordingKey#PublicSoundRecordingKey
        PublicProduct: ../resolvers/types/PublicProductKey#PublicProductKey
        GlobalParticipant: ../resolvers/types/GlobalParticipantKey#GlobalParticipantKey
        GlobalParticipantAnalytics: ../resolvers/types/GlobalParticipantAnalyticsKey#GlobalParticipantAnalyticsKey
        GlobalParticipantDemographics: ../resolvers/types/GlobalParticipantDemographicsKey#GlobalParticipantDemographicsKey
        GlobalParticipantAggregatedRankingsV2: ../resolvers/types/GlobalParticipantAggregatedRankingsV2Key#GlobalParticipantAggregatedRankingsV2Key
        GlobalParticipantAggregatedRankingsFacetsV2: ../resolvers/types/GlobalParticipantAggregatedRankingsFacetsV2Key#GlobalParticipantAggregatedRankingsFacetsV2Key
        GlobalParticipantChartHighlightsV2: ../resolvers/types/GlobalParticipantChartHighlightsV2Key#GlobalParticipantChartHighlightsV2Key
        GlobalParticipantAggregatedSummary: ../resolvers/types/GlobalParticipantAggregatedSummaryKey#GlobalParticipantAggregatedSummaryKey
        GlobalParticipantStreamsAggregate: ../resolvers/types/GlobalParticipantStreamsAggregateKey#GlobalParticipantStreamsAggregateKey
        GlobalParticipantStreamsAggregateById: ../resolvers/types/GlobalParticipantStreamsAggregateByIdKey#GlobalParticipantStreamsAggregateByIdKey
        ChartFacetsV2: ../resolvers/types/ChartFacetsV2Key#ChartFacetsV2Key
        ChartAggregatedRankingV2: ../resolvers/types/ChartAggregatedRankingV2Key#ChartAggregatedRankingV2Key
        ChartRankingV2: ../resolvers/types/ChartRankingV2Key#ChartRankingV2Key
        CountryFacetsV2: ../resolvers/types/CountryFacetsV2Key#CountryFacetsV2Key
        CurrentFacetsV2: ../resolvers/types/CurrentFacetsV2Key#CurrentFacetsV2Key
        SongFacetsV2: ../resolvers/types/SongFacetsV2Key#SongFacetsV2Key
        GlobalSoundRecordingFamily: ../resolvers/types/GlobalSoundRecordingFamilyKey#GlobalSoundRecordingFamilyKey
        GlobalSoundRecordingFamilyAnalytics: ../resolvers/types/GlobalSoundRecordingFamilyKey#GlobalSoundRecordingFamilyKey
        AggregatedStreams: ../resolvers/types/AggregatedStreamsKey#AggregatedStreamsKey
        AggregatedSummary: ../resolvers/types/AggregatedSummaryKey#AggregatedSummaryKey
        Product: ../resolvers/types/ProductKey#ProductKey
        ProductSummary: ../resolvers/types/ProductSummaryKey#ProductSummaryKey
        ProductSummaryItem: ../resolvers/types/ProductSummaryItemKey#ProductSummaryItemKey
        ProductSummaryGenericItem: ../resolvers/types/ProductSummaryGenericItemKey#ProductSummaryGenericItemKey
        ProductSummaryTrackItem: ../resolvers/types/ProductSummaryTrackItemKey#ProductSummaryTrackItemKey
        ProductTimeseries: ../resolvers/types/ProductTimeseriesKey#ProductTimeseriesKey
        ProductTimeseriesItem: ../resolvers/types/ProductTimeseriesItemKey#ProductTimeseriesItemKey
        StreamsGrowthPeriod: ../resolvers/types/StreamsGrowthPeriodKey#StreamsGrowthPeriodKey
        PublicParticipant: ../resolvers/types/PublicParticipantKey#PublicParticipantKey
        PublicSocialAccountV2: ../resolvers/types/PublicSocialAccountV2Key#PublicSocialAccountV2Key
        PublicSocialAccount: ../resolvers/types/PublicSocialAccountKey#PublicSocialAccountKey
        SocialAccountStatV2: ../resolvers/types/SocialAccountStatV2Key#SocialAccountStatV2Key
        SocialAccountV2Followers: ../resolvers/types/SocialAccountV2FollowersKey#SocialAccountV2FollowersKey
        DeltaFollowersValue: ../resolvers/types/DeltaFollowersValueKey#DeltaFollowersValueKey
        DeltaStreamsGrowth: ../resolvers/types/DeltaStreamsGrowthKey#DeltaStreamsGrowthKey
        Video: ../resolvers/types/VideoKey#VideoKey
        TiktokAnalytics: ../resolvers/types/TiktokAnalyticsKey#TiktokAnalyticsKey
        ProductFamily: ../resolvers/types/ProductFamilyKey#ProductFamilyKey
        NewMusicFridayDate: ../resolvers/types/NewMusicFridayDateKey#NewMusicFridayDateKey
        NewMusicFridayDateEntriesResult: ../resolvers/types/NewMusicFridayDateEntriesResultKey#NewMusicFridayDateEntriesResultKey
        NewMusicFridayDateEntry: ../resolvers/types/NewMusicFridayDateEntryKey#NewMusicFridayDateEntryKey
        NewMusicFridayDateGlobalSoundRecording: ../resolvers/types/NewMusicFridayDateGlobalSoundRecordingKey#NewMusicFridayDateGlobalSoundRecordingKey
        NewMusicFridayDateGlobalSoundRecordingResult: ../resolvers/types/NewMusicFridayDateGlobalSoundRecordingResultKey#NewMusicFridayDateGlobalSoundRecordingResultKey
        NewMusicFridayDateMarket: ../resolvers/types/NewMusicFridayDateMarketKey#NewMusicFridayDateMarketKey
        NewMusicFridayPlacement: ../resolvers/types/NewMusicFridayPlacementKey#NewMusicFridayPlacementKey
        PhysicalReportingTopOpenOrder: ../resolvers/types/PhysicalReportingTopOpenOrderKey#PhysicalReportingTopOpenOrderKey
        PhysicalReportingTopYesterdayShipment: ../resolvers/types/PhysicalReportingTopYesterdayShipmentKey#PhysicalReportingTopYesterdayShipmentKey
        PhysicalReportingTopMtdShipment: ../resolvers/types/PhysicalReportingTopMtdShipmentKey#PhysicalReportingTopMtdShipmentKey
        PhysicalReportingLabelSubaccountSummary: ../resolvers/types/PhysicalReportingLabelSubaccountSummaryKey#PhysicalReportingLabelSubaccountSummaryKey
        PhysicalReportingLabelSubaccountDetail: ../resolvers/types/PhysicalReportingLabelSubaccountDetailKey#PhysicalReportingLabelSubaccountDetailKey
        PhysicalReportingProductOverview: ../resolvers/types/PhysicalReportingProductOverviewKey#PhysicalReportingProductOverviewKey
        PhysicalReportingProductInformation: ../resolvers/types/PhysicalReportingProductInformationKey#PhysicalReportingProductInformationKey
        PhysicalReportingProductSalesRowGroup: ../resolvers/types/PhysicalReportingProductSalesRowGroupKey#PhysicalReportingProductSalesRowGroupKey
        PhysicalReportingProductSalesRow: ../resolvers/types/PhysicalReportingProductSalesRowKey#PhysicalReportingProductSalesRowKey
        PhysicalReportingProductInventoryRow: ../resolvers/types/PhysicalReportingProductInventoryRowKey#PhysicalReportingProductInventoryRowKey
      scalars:
        Date: string
        DateTime: string
        Long: number
        URL: URL
        TadasMarket: string
  tests/integration/definitions/index.ts:
    schema: 'src/schema/**/*.graphql'
    documents: 'tests/integration/queries/*.graphql'
    config:
      namingConvention: 'change-case-all#pascalCase'
      omitOperationSuffix: false
    plugins:
      - typescript
      - typescript-operations
      - add:
          content: |
            /* eslint-disable */
            // @generated
            // This file was automatically generated and should not be edited
