openapi: 3.1.0
info:
  title: ows-dmp
  description: Audience Data Management Platform
  version: 1.0.0
servers:
- url: https://qa-ows-dmp.theorchard.io
paths:
  /hello/:
    get:
      tags:
      - Infra
      summary: Hello
      operationId: hello
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HelloResponse'
  /artists:
    get:
      tags:
      - Artists
      summary: Get Artists
      operationId: getArtists
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account vendor id
          title: Vendorid
        description: Account vendor id
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account subaccount id
          title: Subaccountid
        description: Account subaccount id
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Search by partial name match
          title: Search
        description: Search by partial name match
      - name: type
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/ParticipantType'
          - type: 'null'
          description: 'Filter by participant type: ARTIST or CUSTOM_LIST'
          title: Type
        description: 'Filter by participant type: ARTIST or CUSTOM_LIST'
      - name: virtualParticipantIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Filter by specific virtual participant IDs
          title: Virtualparticipantids
        description: Filter by specific virtual participant IDs
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 200
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetArtistsOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/v2:
    get:
      tags:
      - Artists
      summary: Get Artists V2
      operationId: getArtistsV2
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account vendor id
          title: Vendorid
        description: Account vendor id
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account subaccount id
          title: Subaccountid
        description: Account subaccount id
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Search by partial name match
          title: Search
        description: Search by partial name match
      - name: type
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/ParticipantType'
          - type: 'null'
          description: 'Filter by participant type: ARTIST or CUSTOM_LIST'
          title: Type
        description: 'Filter by participant type: ARTIST or CUSTOM_LIST'
      - name: virtualParticipantIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Filter by specific virtual participant IDs
          title: Virtualparticipantids
        description: Filter by specific virtual participant IDs
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 200
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetArtistsV2Output'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/accounts:
    get:
      tags:
      - Artists
      summary: Get Artist Accounts
      operationId: getArtistAccounts
      deprecated: true
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ArtistAccount'
                title: Response Getartistaccounts
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/accounts-with-fandata:
    get:
      tags:
      - Artists
      summary: Get Artist Accounts With Fandata
      operationId: getArtistAccountsWithFanData
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetArtistAccountsWithFanDataOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/accounts/all:
    get:
      tags:
      - Artists
      - internal
      summary: Get Artist Accounts All
      operationId: getArtistAccountsAll
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LabelId'
                title: Response Getartistaccountsall
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/main-rep-accounts:
    get:
      tags:
      - Artists
      summary: Get Artist Main Rep Accounts
      operationId: getArtistMainRepAccounts
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: campaignType
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/CampaignType'
          - type: 'null'
          title: Campaigntype
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LabelId'
                title: Response Getartistmainrepaccounts
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/fans-count:
    get:
      tags:
      - Artists
      summary: Get Artist Fans Count
      operationId: getArtistFansCount
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Countries
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtistFansCountOutput'
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalFanDataListNotAvailableError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/segments:
    get:
      tags:
      - Artists
      summary: Get Artist Fans Count By Segment
      operationId: getArtistFansCountBySegment
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Countries
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ArtistFansSegmentValue'
                title: Response Getartistfanscountbysegment
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalFanDataListNotAvailableError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/timeseries:
    get:
      tags:
      - Artists
      summary: Get Artist Fans Count By Type Timeseries
      operationId: getArtistFansCountByTypeTimeseries
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Countries
      - name: startDate
        in: query
        required: true
        schema:
          type: string
          format: date
          description: Start date
          title: Startdate
        description: Start date
      - name: endDate
        in: query
        required: true
        schema:
          type: string
          format: date
          description: End date
          title: Enddate
        description: End date
      - name: type
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/ArtistFanDataType'
      - name: totalsCountries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Return totals for given countries. In case of missings value
            totalsby country filter or global totals for acquisition by country timeseries.
          title: Totalscountries
        description: Return totals for given countries. In case of missings value
          totalsby country filter or global totals for acquisition by country timeseries.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ArtistFansTimeseries'
                title: Response Getartistfanscountbytypetimeseries
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalFanDataListNotAvailableError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/summary:
    get:
      tags:
      - Artists
      summary: Get Artist Fans Count By Type Summary
      operationId: getArtistFansCountByTypeSummary
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Countries
      - name: startDate
        in: query
        required: true
        schema:
          type: string
          format: date
          description: Start date
          title: Startdate
        description: Start date
      - name: endDate
        in: query
        required: true
        schema:
          type: string
          format: date
          description: End date
          title: Enddate
        description: End date
      - name: type
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/ArtistFanDataType'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ArtistFansSummaryValue'
                title: Response Getartistfanscountbytypesummary
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalFanDataListNotAvailableError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/locations:
    get:
      tags:
      - Artists
      summary: Get Artist Fans Share By Location
      operationId: getArtistFansShareByLocation
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtistFansShareByLocationOutput'
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalFanDataListNotAvailableError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/genders:
    get:
      tags:
      - Artists
      summary: Get Artist Fans Share By Gender
      operationId: getArtistFansShareByGender
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Countries
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtistFansShareByGenderOutput'
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalFanDataListNotAvailableError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/heavy-rotation:
    get:
      tags:
      - Artists
      summary: Get Artist Fans Share By Heavy Rotation
      operationId: getArtistFansShareByHeavyRotation
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Countries
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtistFansShareByHeavyRotationOutput'
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalFanDataListNotAvailableError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/max-spend:
    get:
      tags:
      - Artists
      summary: Get Artist Max Spend
      operationId: getArtistMaxSpend
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetArtistMaxSpendOutput'
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalFanDataListNotAvailableError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/age-ranges:
    get:
      tags:
      - Artists
      summary: Get Artist Fans Share By Age Range
      operationId: getArtistFansShareByAgeRange
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Countries
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtistFansShareByAgeRangeOutput'
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalFanDataListNotAvailableError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/fans-also-listening:
    get:
      tags:
      - Artists
      summary: Get Artist Fans Also Listening
      operationId: getArtistFansAlsoListening
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Countries
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtistFansAlsoListeningOutput'
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalFanDataListNotAvailableError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/segments-activities:
    get:
      tags:
      - Artists
      summary: Get Artist Segment Activity Breakdown
      operationId: GetArtistSegmentActivityBreakdown
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Countries
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ArtistSegmentActivityBreakdownOutput'
                title: Response Getartistsegmentactivitybreakdown
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalFanDataListNotAvailableError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/explain-segments:
    get:
      tags:
      - Artists
      summary: Get Artist Segments Explained
      operationId: getArtistSegmentsExplained
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Countries
      - name: language
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/SegmentExplainedResponseLanguage'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ArtistSegmentExplainedValue'
                title: Response Getartistsegmentsexplained
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalFanDataListNotAvailableError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/participants:
    get:
      tags:
      - Artists
      - internal
      summary: Get Participants
      operationId: getParticipants
      security:
      - JWT authorization: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account vendor id
          title: Vendorid
        description: Account vendor id
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account subaccount id
          title: Subaccountid
        description: Account subaccount id
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Search by partial name match
          title: Search
        description: Search by partial name match
      - name: type
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/ParticipantType'
          - type: 'null'
          description: 'Filter by participant type: ARTIST or CUSTOM_LIST'
          title: Type
        description: 'Filter by participant type: ARTIST or CUSTOM_LIST'
      - name: virtualParticipantIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Filter by specific virtual participant IDs
          title: Virtualparticipantids
        description: Filter by specific virtual participant IDs
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 200
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetParticipantsOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /artists/{globalParticipantId}/summary-by-campaign:
    get:
      tags:
      - Artists
      summary: Get Artist Fans Count By Campaign Summary
      operationId: getArtistFansCountByCampaignSummary
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: globalParticipantId
        in: path
        required: true
        schema:
          type: string
          title: Globalparticipantid
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Countries
      - name: startDate
        in: query
        required: true
        schema:
          type: string
          format: date
          description: Start date
          title: Startdate
        description: Start date
      - name: endDate
        in: query
        required: true
        schema:
          type: string
          format: date
          description: End date
          title: Enddate
        description: End date
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ArtistFansCampaignSummaryValue'
                title: Response Getartistfanscountbycampaignsummary
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalFanDataListNotAvailableError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /audiences:
    get:
      tags:
      - Audiences
      summary: Get Audiences
      operationId: getAudiences
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account vendor id
          title: Vendorid
        description: Account vendor id
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account subaccount id
          title: Subaccountid
        description: Account subaccount id
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: A search term
          title: Search
        description: A search term
      - name: globalParticipantId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Artist id
          title: Globalparticipantid
        description: Artist id
      - name: customListId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Custom list id
          title: Customlistid
        description: Custom list id
      - name: audienceIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Audience ids
          title: Audienceids
        description: Audience ids
      - name: target
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AudienceTarget'
          - type: 'null'
          description: Audience target
          title: Target
        description: Audience target
      - name: includeArchived
        in: query
        required: false
        schema:
          type: boolean
          description: Include archived audiences
          default: false
          title: Includearchived
        description: Include archived audiences
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - enum:
            - name.asc
            - name.desc
            - fanCount.asc
            - fanCount.desc
            - createdAt.asc
            - createdAt.desc
            type: string
          - type: 'null'
          description: Order by field(s)
          title: Orderby
        description: Order by field(s)
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 200
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitOffsetPage_Audience_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Audiences
      summary: Create Audience
      operationId: createAudience
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAudienceInput'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Audience'
        '400':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/InvalidGlobalParticipantIdError'
                - $ref: '#/components/schemas/FanDataListIdIsRequiredError'
                - $ref: '#/components/schemas/AudienceCityFilterError'
                - $ref: '#/components/schemas/ArtistPhoneNumberNotFoundError'
                title: Response 400 Createaudience
          description: Bad Request
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MainRepArtistOnlyAllowedError'
          description: Forbidden
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /audiences/{audienceId}:
    get:
      tags:
      - Audiences
      summary: Get Audience
      operationId: getAudience
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: audienceId
        in: path
        required: true
        schema:
          type: string
          title: Audienceid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Audience'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Audiences
      summary: Update Audience
      operationId: updateAudience
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: audienceId
        in: path
        required: true
        schema:
          type: string
          title: Audienceid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAudienceInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Audience'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceNotFoundError'
          description: Not Found
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MainRepArtistOnlyAllowedError'
          description: Forbidden
        '400':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/AudienceCityFilterError'
                - $ref: '#/components/schemas/ArtistPhoneNumberNotFoundError'
                title: Response 400 Updateaudience
          description: Bad Request
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /audiences/{audienceId}/refresh:
    post:
      tags:
      - Audiences
      summary: Refresh Audience
      operationId: refreshAudience
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: audienceId
        in: path
        required: true
        schema:
          type: string
          title: Audienceid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Audience'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /audiences/{audienceId}/fans/upsert:
    post:
      tags:
      - Audiences
      - internal
      summary: Upsert Audience Fans
      operationId: upsertAudienceFans
      parameters:
      - name: audienceId
        in: path
        required: true
        schema:
          type: string
          title: Audienceid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTargetAudienceOutput'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceNotFoundError'
          description: Not Found
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceTargetNotSupportedError'
          description: Bad Request
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /audiences/{audienceId}/archive:
    post:
      tags:
      - Audiences
      summary: Archive Audience
      operationId: archiveAudience
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: audienceId
        in: path
        required: true
        schema:
          type: string
          title: Audienceid
      responses:
        '204':
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /audiences/{audienceId}/exports:
    post:
      tags:
      - Audiences
      summary: Export Audience
      operationId: exportAudience
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: audienceId
        in: path
        required: true
        schema:
          type: string
          title: Audienceid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExportAudienceInput'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceExport'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /audiences/{audienceId}/exports/{exportId}:
    get:
      tags:
      - Audiences
      summary: Get Audience Export
      operationId: getAudienceExport
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: audienceId
        in: path
        required: true
        schema:
          type: string
          title: Audienceid
      - name: exportId
        in: path
        required: true
        schema:
          type: string
          title: Exportid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceExportOutput'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceExportNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /audiences/{audienceId}/ad-accounts:
    get:
      tags:
      - Audiences
      summary: Get Audience Ad Accounts
      operationId: getAudienceAdAccounts
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: audienceId
        in: path
        required: true
        schema:
          type: string
          title: Audienceid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AudienceAdAccount'
                title: Response Getaudienceadaccounts
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /audience-size:
    post:
      tags:
      - Audiences
      summary: Get Audience Size
      operationId: getAudienceSize
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetAudienceSizeInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceSizeOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/FanDataListIdIsRequiredError'
                - $ref: '#/components/schemas/ArtistPhoneNumberNotFoundError'
                title: Response 400 Getaudiencesize
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MainRepArtistOnlyAllowedError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /audiences-artists:
    get:
      tags:
      - Audiences
      summary: Get Audiences Artists
      description: Get artists list for already created audiences
      operationId: getAudiencesArtists
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ArtistWithId'
                type: array
                title: Response Getaudiencesartists
      deprecated: true
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /audience-exports/{exportId}:
    patch:
      tags:
      - Audiences
      - internal
      summary: Update Audience Export
      operationId: updateAudienceExport
      parameters:
      - name: exportId
        in: path
        required: true
        schema:
          type: string
          title: Exportid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAudienceExportInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceExport'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceExportNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /audience-shares/{shareId}:
    patch:
      tags:
      - Audiences
      - internal
      summary: Update Audience Share
      operationId: updateAudienceShare
      parameters:
      - name: shareId
        in: path
        required: true
        schema:
          type: string
          title: Shareid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAudienceShareInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceShare'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceShareNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /shopify/stores/connection:
    post:
      tags:
      - Shopify
      summary: Connect Shopify Store
      operationId: connectShopifyStore
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShopifyStoreConnectionInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShopifyStoreConnectionCredentials'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /shopify/stores/{storeId}/reconnect:
    post:
      tags:
      - Shopify
      summary: Reconnect Shopify Store
      operationId: reconnectShopifyStore
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: storeId
        in: path
        required: true
        schema:
          type: string
          title: Storeid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReconnectShopifyStoreInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShopifyStoreConnectionCredentials'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /shopify/stores:
    get:
      tags:
      - Shopify
      summary: Get Shopify Stores
      operationId: getShopifyStores
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ShopifyStore'
                type: array
                title: Response Getshopifystores
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /shopify/stores-v2:
    get:
      tags:
      - Shopify
      summary: Get Shopify Stores V2
      operationId: getShopifyStoresV2
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Offset
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - vendorId.asc
              - vendorId.desc
              - vendorId.asc.nullsFirst
              - vendorId.desc.nullsFirst
              - name.asc
              - name.desc
              - shopDomain.asc
              - shopDomain.desc
              - status.asc
              - status.desc
              - collectionsCount.asc
              - collectionsCount.desc
              - productsCount.asc
              - productsCount.desc
              - globalParticipantId.asc.nullsFirst
              - globalParticipantId.desc.nullsFirst
              - artistsCount.asc
              - artistsCount.desc
              - syncedAt.asc
              - syncedAt.desc
              type: string
          - type: 'null'
          title: Orderby
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitOffsetPage_ShopifyStore_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /shopify/stores/refresh:
    put:
      tags:
      - Shopify
      - internal
      summary: Refresh Shopify Store. Internal use only.
      operationId: refreshShopifyStore
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefreshShopifyStoreInput'
        required: true
      responses:
        '204':
          description: Successful Response
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShopifyStoreNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /shopify/stores/{storeId}:
    delete:
      tags:
      - Shopify
      summary: Delete Shopify Store
      operationId: deleteShopifyStore
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: storeId
        in: path
        required: true
        schema:
          type: string
          title: Storeid
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /shopify/stores/{storeId}/collections:
    get:
      tags:
      - Shopify
      summary: Get Shopify Store Collections
      operationId: getShopifyStoreCollections
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: storeId
        in: path
        required: true
        schema:
          type: string
          title: Storeid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShopifyStoreCollectionArtistAssociations'
        '404':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/ShopifyStoreNotFoundError'
                - $ref: '#/components/schemas/ShopifyStoreNotYetProcessed'
                title: Response 404 Getshopifystorecollections
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Shopify
      summary: Update Shopify Store Collections
      operationId: updateShopifyStoreCollections
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: storeId
        in: path
        required: true
        schema:
          type: string
          title: Storeid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShopifyStoreCollectionArtistAssociationsInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShopifyStore'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShopifyStoreNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /shopify/stores/{storeId}/artists:
    get:
      tags:
      - Shopify
      summary: Get Shopify Store Artists
      operationId: getShopifyStoreArtists
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: storeId
        in: path
        required: true
        schema:
          type: string
          title: Storeid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ShopifyStoreArtist'
                title: Response Getshopifystoreartists
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShopifyStoreNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /shopify/max-spend:
    get:
      tags:
      - Shopify
      summary: Get Shopify Max Spend
      operationId: getShopifyMaxSpend
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: true
        schema:
          type: integer
          description: Account vendor id
          title: Vendorid
        description: Account vendor id
      - name: subaccountId
        in: query
        required: true
        schema:
          type: integer
          description: Account subaccount id
          title: Subaccountid
        description: Account subaccount id
      - name: globalParticipantIds
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
          description: Artist ids
          title: Globalparticipantids
        description: Artist ids
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetShopifyMaxSpendOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /shopify/handle-transformation-success:
    post:
      tags:
      - Shopify
      - internal
      summary: Handle Shopify Transformation Success
      operationId: handleShopifyDataTransformationSuccessEvent
      responses:
        '204':
          description: Successful Response
  /shopify/sync-fivetran-tables-state:
    post:
      tags:
      - Shopify
      - internal
      summary: Sync Shopify Fivetran tables state for particular connection or all
        at once. Internal use only.
      operationId: syncShopifyFivetranTablesState
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SyncFivetranTablesStateInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  type: string
                type: array
                title: Response Syncshopifyfivetrantablesstate
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppConnectionNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /shopify/fivetran-connectors:
    get:
      tags:
      - Shopify
      - internal
      summary: Get all Fivetran connectors ids for Shopify connections. Internal use
        only.
      operationId: getShopifyFivetranConnectorsIds
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  type: string
                type: array
                title: Response Getshopifyfivetranconnectorsids
  /meta/user/connection:
    get:
      tags:
      - Meta
      summary: Get Meta User Connection
      operationId: getMetaUserConnection
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaUserConnection'
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
    post:
      tags:
      - Meta
      summary: Connect Meta User
      operationId: connectMetaUser
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectMetaUserInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaUserConnection'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /meta/user/ad-accounts:
    get:
      tags:
      - Meta
      summary: Get User Ad Accounts
      operationId: getMetaUserAdAccounts
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/MetaUserAdAccount'
                type: array
                title: Response Getmetauseradaccounts
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaConnectionNotFoundError'
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
    post:
      tags:
      - Meta
      summary: Assign Labels To User Ad Accounts
      operationId: assignLabelsToMetaUserAdAccounts
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssignLabelsToMetaUserAdAccountsInput'
        required: true
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /meta/user/ad-accounts/{adAccountId}:
    delete:
      tags:
      - Meta
      summary: Delete Meta User Ad Account
      operationId: deleteMetaUserAdAccount
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: adAccountId
        in: path
        required: true
        schema:
          type: string
          title: Adaccountid
      responses:
        '204':
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaAdAccountNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /meta/ad-accounts:
    get:
      tags:
      - Meta
      summary: Get Meta Ad Accounts
      operationId: getMetaAdAccounts
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/MetaAdAccount'
                type: array
                title: Response Getmetaadaccounts
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /meta/ad-accounts-v2:
    get:
      tags:
      - Meta
      summary: Get Meta Ad Accounts V2
      operationId: getMetaAdAccountsV2
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Offset
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - vendorId.asc
              - vendorId.desc
              - vendorId.asc.nullsFirst
              - vendorId.desc.nullsFirst
              - name.asc
              - name.desc
              - businessAccountName.asc
              - businessAccountName.desc
              - campaignsCount.asc
              - campaignsCount.desc
              - userConnectionStatus.asc
              - userConnectionStatus.desc
              - adReportingConnectionStatus.asc
              - adReportingConnectionStatus.desc
              type: string
          - type: 'null'
          description: Order by field(s)
          title: Orderby
        description: Order by field(s)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitOffsetPage_MetaAdAccount_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /meta/ad-accounts/{adAccountId}:
    delete:
      tags:
      - Meta
      summary: Delete Meta Ad Account
      operationId: deleteMetaAdAccount
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: adAccountId
        in: path
        required: true
        schema:
          type: string
          title: Adaccountid
      - name: vendorId
        in: query
        required: true
        schema:
          type: integer
          title: Vendorid
      - name: subaccountId
        in: query
        required: true
        schema:
          type: integer
          title: Subaccountid
      responses:
        '204':
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/MetaAdAccountNotFoundError'
                - $ref: '#/components/schemas/MetaUserAdAccountNotFoundError'
                title: Response 404 Deletemetaadaccount
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /meta/ad-reporting/connection:
    get:
      tags:
      - Meta
      summary: Get Meta Ad Reporting Connection
      operationId: GetMetaAdReportingConnection
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaAdReportingConnection'
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
    post:
      tags:
      - Meta
      summary: Connect Meta Ad Reporting
      operationId: connectMetaAdReporting
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectMetaAdReportingInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingConnectionCredentials'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/MetaAdReportingConnectionConflictError'
                - $ref: '#/components/schemas/MetaAdReportingConnectionSyncingError'
                title: Response 409 Connectmetaadreporting
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /meta/ad-reporting/connection/reconnect:
    post:
      tags:
      - Meta
      summary: Reconnect Meta Ad Reporting
      operationId: reconnectMetaAdReporting
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectMetaAdReportingInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingConnectionCredentials'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /meta/ad-reporting/connection/refresh:
    put:
      tags:
      - Meta
      - internal
      summary: Refresh Meta Ad Reporting connection. Internal use only.
      operationId: refreshMetaAdReportingConnection
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefreshMetaAdReportingConnectionInput'
        required: true
      responses:
        '204':
          description: Successful Response
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaAdReportingConnectionNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /meta/audiences:
    post:
      tags:
      - Meta
      summary: Share Meta Audience
      operationId: shareMetaAudience
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShareMetaAudienceInput'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaAudience'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaAdAccountPermissionsError'
        '451':
          description: Unavailable For Legal Reasons
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaAdAccountTermsOfServiceError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceShareActiveConnectionNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /meta/audiences/{metaAudienceId}/share-status:
    get:
      tags:
      - Meta
      summary: Get Meta Audience Share Status
      operationId: getMetaAudienceShareStatus
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: metaAudienceId
        in: path
        required: true
        schema:
          type: string
          title: Metaaudienceid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaAudienceShareStatus'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaAudienceNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /meta/audience-shares/{shareId}:
    get:
      tags:
      - Meta
      - internal
      summary: Get Meta Audience Share
      operationId: getMetaAudienceShare
      parameters:
      - name: shareId
        in: path
        required: true
        schema:
          type: string
          title: Shareid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetaAudienceShare'
        '404':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/MetaAudienceNotFoundError'
                - $ref: '#/components/schemas/MetaUserConnectionNotFoundError'
                title: Response 404 Getmetaaudienceshare
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /meta/ad-reporting/handle-dbt-sync:
    post:
      tags:
      - Meta
      - internal
      summary: Handle Ad Reporting Dbt Sync
      operationId: handleMetaAdReportingDbtSync
      responses:
        '204':
          description: Successful Response
  /meta/sync-fivetran-tables-state:
    post:
      tags:
      - Meta
      - internal
      summary: Sync Meta Fivetran tables state for particular connection or all at
        once. Internal use only.
      operationId: syncMetaFivetranTablesState
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SyncFivetranTablesStateInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  type: string
                type: array
                title: Response Syncmetafivetrantablesstate
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppConnectionNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /meta/fivetran-connectors:
    get:
      tags:
      - Meta
      - internal
      summary: Get all Fivetran connectors ids for Meta connections. Internal use
        only.
      operationId: getMetaFivetranConnectorsIds
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  type: string
                type: array
                title: Response Getmetafivetranconnectorsids
  /tiktok/user/connection:
    post:
      tags:
      - TikTok
      summary: Connect Tiktok User
      operationId: connectTikTokUser
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectTikTokUserInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokUserConnectionResponse'
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokUserConnectionScopesError'
          description: Internal Server Error
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - TikTok
      summary: Get Tiktok User Connection
      operationId: getTikTokUserConnection
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: userId
        in: query
        required: true
        schema:
          type: string
          description: TikTok user id
          title: Userid
        description: TikTok user id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokUserConnectionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /tiktok/user/ad-accounts:
    get:
      tags:
      - TikTok
      summary: Get User Ad Accounts
      operationId: getTikTokUserAdAccounts
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: userId
        in: query
        required: true
        schema:
          type: string
          description: TikTok user id
          title: Userid
        description: TikTok user id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TikTokUserAdAccount'
                title: Response Gettiktokuseradaccounts
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokConnectionNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - TikTok
      summary: Assign Labels To User Ad Accounts
      operationId: assignLabelsToTikTokUserAdAccounts
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssignLabelsToTikTokUserAdAccountsInput'
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /tiktok/ad-reporting/connection:
    post:
      tags:
      - TikTok
      summary: Connect Tiktok Ad Reporting
      operationId: connectTikTokAdReporting
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectTikTokAdReportingInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingConnectionCredentials'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - TikTok
      summary: Get Tiktok Ad Reporting Connection
      operationId: GetTikTokAdReportingConnection
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: userId
        in: query
        required: true
        schema:
          type: string
          description: TikTok user id
          title: Userid
        description: TikTok user id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokAdReportingConnection'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /tiktok/ad-reporting/connection/refresh:
    put:
      tags:
      - TikTok
      - internal
      summary: Refresh TikTok Ad Reporting connection. Internal use only.
      operationId: refreshTikTokAdReportingConnection
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefreshTikTokAdReportingConnectionInput'
        required: true
      responses:
        '204':
          description: Successful Response
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokAdReportingConnectionNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /tiktok/ad-accounts:
    get:
      tags:
      - TikTok
      summary: Get Tiktok Ad Accounts
      operationId: getTikTokAdAccounts
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/TikTokAdAccount'
                type: array
                title: Response Gettiktokadaccounts
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /tiktok/ad-accounts-v2:
    get:
      tags:
      - TikTok
      summary: Get Tiktok Ad Accounts V2
      operationId: getTikTokAdAccountsV2
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Offset
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - vendorId.asc
              - vendorId.desc
              - vendorId.asc.nullsFirst
              - vendorId.desc.nullsFirst
              - name.asc
              - name.desc
              - businessCenterName.asc
              - businessCenterName.desc
              - campaignsCount.asc
              - campaignsCount.desc
              - userConnectionStatus.asc
              - userConnectionStatus.desc
              - adReportingConnectionStatus.asc
              - adReportingConnectionStatus.desc
              type: string
          - type: 'null'
          title: Orderby
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitOffsetPage_TikTokAdAccount_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /tiktok/ad-accounts/{adAccountId}:
    delete:
      tags:
      - TikTok
      summary: Delete Tiktok Ad Account
      operationId: deleteTikTokAdAccount
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: adAccountId
        in: path
        required: true
        schema:
          type: string
          title: Adaccountid
      - name: vendorId
        in: query
        required: true
        schema:
          type: integer
          title: Vendorid
      - name: subaccountId
        in: query
        required: true
        schema:
          type: integer
          title: Subaccountid
      responses:
        '204':
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/TikTokAdAccountNotFoundError'
                - $ref: '#/components/schemas/TikTokUserAdAccountNotFoundError'
                title: Response 404 Deletetiktokadaccount
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /tiktok/user/ad-accounts/{adAccountId}:
    delete:
      tags:
      - TikTok
      summary: Delete Tiktok User Ad Account
      operationId: deleteTikTokUserAdAccount
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: adAccountId
        in: path
        required: true
        schema:
          type: string
          title: Adaccountid
      responses:
        '204':
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokAdAccountNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /tiktok/ad-reporting/handle-dbt-sync:
    post:
      tags:
      - TikTok
      - internal
      summary: Handle Ad Reporting Dbt Sync
      operationId: handleTikTokAdReportingDbtSync
      responses:
        '204':
          description: Successful Response
  /tiktok/audiences:
    post:
      tags:
      - TikTok
      summary: Share Tiktok Audience
      operationId: shareTikTokAudience
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShareTikTokAudienceInput'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokAudience'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/EmptyAudienceError'
                - $ref: '#/components/schemas/InvalidTikTokAdAccountId'
                - $ref: '#/components/schemas/AudienceTooSmallError'
                title: Response 400 Sharetiktokaudience
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceShareError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceShareActiveConnectionNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /tiktok/audiences/{tiktokAudienceId}/share-status:
    get:
      tags:
      - TikTok
      summary: Get Tiktok Audience Share Status
      operationId: getTikTokAudienceShareStatus
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: tiktokAudienceId
        in: path
        required: true
        schema:
          type: string
          title: Tiktokaudienceid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokAudienceShareStatus'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokAudienceNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /tiktok/audience-shares/{shareId}:
    get:
      tags:
      - TikTok
      - internal
      summary: Get Tiktok Audience Share
      operationId: getTikTokAudienceShare
      parameters:
      - name: shareId
        in: path
        required: true
        schema:
          type: string
          title: Shareid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokAudienceShare'
        '404':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/TikTokAudienceNotFoundError'
                - $ref: '#/components/schemas/TikTokUserConnectionNotFoundError'
                title: Response 404 Gettiktokaudienceshare
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /tiktok/audiences/{audienceId}:
    patch:
      tags:
      - TikTok
      - internal
      summary: Update external_id for TikTokAudience. Internal use only.
      operationId: updateTikTokAudience
      parameters:
      - name: audienceId
        in: path
        required: true
        schema:
          type: string
          title: Audienceid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTikTokAudienceInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokAudience'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokAudienceNotFoundError'
          description: Not Found
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TikTokAudienceUpdateError'
          description: Bad Request
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /tiktok/sync-fivetran-tables-state:
    post:
      tags:
      - TikTok
      - internal
      summary: Sync TikTok Fivetran tables state for particular connection or all
        at once. Internal use only.
      operationId: syncTikTokFivetranTablesState
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SyncFivetranTablesStateInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  type: string
                type: array
                title: Response Synctiktokfivetrantablesstate
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppConnectionNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /tiktok/fivetran-connectors:
    get:
      tags:
      - TikTok
      - internal
      summary: Get all Fivetran connectors ids for TikTok connections. Internal use
        only.
      operationId: getTikTokFivetranConnectorsIds
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  type: string
                type: array
                title: Response Gettiktokfivetranconnectorsids
  /google/user/connection:
    post:
      tags:
      - Google
      summary: Connect Google User
      operationId: connectGoogleUser
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectGoogleUserInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleUserConnection'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Google
      summary: Get Google User Connection
      operationId: getGoogleUserConnection
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: userId
        in: query
        required: true
        schema:
          type: string
          title: Userid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleUserConnection'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google/user/ad-accounts:
    get:
      tags:
      - Google
      summary: Get User Ad Accounts
      operationId: getGoogleUserAdAccounts
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: userId
        in: query
        required: true
        schema:
          type: string
          title: Userid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GoogleUserAdAccount'
                title: Response Getgoogleuseradaccounts
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleUserConnectionNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Google
      summary: Assign Labels To User Ad Accounts
      operationId: assignLabelsToGoogleUserAdAccounts
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssignLabelsToGoogleUserAdAccountsInput'
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google/user/ad-accounts/{adAccountId}:
    delete:
      tags:
      - Google
      summary: Delete Google User Ad Account
      operationId: deleteGoogleUserAdAccount
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: adAccountId
        in: path
        required: true
        schema:
          type: string
          title: Adaccountid
      responses:
        '204':
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleAdAccountNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google/audiences:
    post:
      tags:
      - Google
      summary: Share Google Audience
      operationId: shareGoogleAudience
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShareGoogleAudienceInput'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleAudience'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/EmptyAudienceError'
                - $ref: '#/components/schemas/InvalidGoogleAdAccountId'
                - $ref: '#/components/schemas/AudienceTooSmallError'
                title: Response 400 Sharegoogleaudience
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceShareError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AudienceShareActiveConnectionNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /google/audience-shares/{shareId}:
    get:
      tags:
      - Google
      - internal
      summary: Get Google Audience Share
      operationId: getGoogleAudienceShare
      parameters:
      - name: shareId
        in: path
        required: true
        schema:
          type: string
          title: Shareid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleAudienceShare'
        '404':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/GoogleAudienceNotFoundError'
                - $ref: '#/components/schemas/GoogleUserConnectionNotFoundError'
                title: Response 404 Getgoogleaudienceshare
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google/audiences/{googleAudienceId}/share-status:
    get:
      tags:
      - Google
      summary: Get Google Audience Share Status
      operationId: getGoogleAudienceShareStatus
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: googleAudienceId
        in: path
        required: true
        schema:
          type: string
          title: Googleaudienceid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleAudienceShareStatus'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleAudienceNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google/ad-reporting/connection:
    post:
      tags:
      - Google
      summary: Connect Google Ad Reporting
      operationId: connectGoogleAdReporting
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectGoogleAdReportingInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingConnectionCredentials'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Google
      summary: Get Google Ad Reporting Connection
      operationId: GetGoogleAdReportingConnection
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: userId
        in: query
        required: true
        schema:
          type: string
          title: Userid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleAdReportingConnection'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google/ad-reporting/connection/refresh:
    put:
      tags:
      - Google
      - internal
      summary: Refresh Google Ad Reporting connection. Internal use only.
      operationId: refreshGoogleAdReportingConnection
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefreshGoogleAdReportingConnectionInput'
        required: true
      responses:
        '204':
          description: Successful Response
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleAdReportingConnectionNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google/ad-accounts:
    get:
      tags:
      - Google
      summary: Get Google Ad Accounts
      operationId: getGoogleAdAccounts
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/GoogleAdAccount'
                type: array
                title: Response Getgoogleadaccounts
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /google/ad-accounts-v2:
    get:
      tags:
      - Google
      summary: Get Google Ad Accounts V2
      operationId: getGoogleAdAccountsV2
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Offset
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - vendorId.asc
              - vendorId.desc
              - vendorId.asc.nullsFirst
              - vendorId.desc.nullsFirst
              - name.asc
              - name.desc
              - campaignsCount.asc
              - campaignsCount.desc
              - userConnectionStatus.asc
              - userConnectionStatus.desc
              - adReportingConnectionStatus.asc
              - adReportingConnectionStatus.desc
              type: string
          - type: 'null'
          description: Order by field(s)
          title: Orderby
        description: Order by field(s)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitOffsetPage_GoogleAdAccount_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google/ad-accounts/{adAccountId}:
    delete:
      tags:
      - Google
      summary: Delete Google Ad Account
      operationId: deleteGoogleAdAccount
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: adAccountId
        in: path
        required: true
        schema:
          type: string
          title: Adaccountid
      - name: vendorId
        in: query
        required: true
        schema:
          type: integer
          title: Vendorid
      - name: subaccountId
        in: query
        required: true
        schema:
          type: integer
          title: Subaccountid
      responses:
        '204':
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/GoogleAdAccountNotFoundError'
                - $ref: '#/components/schemas/GoogleUserAdAccountNotFoundError'
                title: Response 404 Deletegoogleadaccount
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google/sync-fivetran-tables-state:
    post:
      tags:
      - Google
      - internal
      summary: Sync Google Fivetran tables state for particular connection or all
        at once. Internal use only.
      operationId: syncGoogleFivetranTablesState
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SyncFivetranTablesStateInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  type: string
                type: array
                title: Response Syncgooglefivetrantablesstate
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppConnectionNotFoundError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /google/ad-reporting/handle-dbt-sync:
    post:
      tags:
      - Google
      - internal
      summary: Handle Ad Reporting Dbt Sync
      operationId: handleGoogleAdReportingDbtSync
      responses:
        '204':
          description: Successful Response
  /google/fivetran-connectors:
    get:
      tags:
      - Google
      - internal
      summary: Get all Fivetran connectors ids for Google connections. Internal use
        only.
      operationId: getGoogleFivetranConnectorsIds
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  type: string
                type: array
                title: Response Getgooglefivetranconnectorsids
  /ad-reporting/campaigns-artists:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Campaigns Artists
      operationId: getAdReportingCampaignsArtists
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ArtistWithId'
                type: array
                title: Response Getadreportingcampaignsartists
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
  /ad-reporting/campaigns-objectives:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Campaigns Objectives
      operationId: getAdReportingCampaignsObjectives
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Report id
          title: Reportid
        description: Report id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AdReportingCampaignObjective'
                title: Response Getadreportingcampaignsobjectives
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/campaigns-names:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Campaigns Names
      operationId: getAdReportingCampaignsNames
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: A search term
          title: Search
        description: A search term
      - name: globalParticipantId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Artist id
          title: Globalparticipantid
        description: Artist id
      - name: platform
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingPlatform'
          - type: 'null'
          description: Platform
          title: Platform
        description: Platform
      - name: objective
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingObjective'
          - type: 'null'
          description: Objective
          title: Objective
        description: Objective
      - name: reportId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Report id
          title: Reportid
        description: Report id
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 500
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitOffsetPage_AdReportingCampaignIdName_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/campaigns:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Campaigns
      operationId: getAdReportingCampaigns
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: A search term
          title: Search
        description: A search term
      - name: globalParticipantId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Artist id
          title: Globalparticipantid
        description: Artist id
      - name: platform
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingPlatform'
          - type: 'null'
          description: Platform
          title: Platform
        description: Platform
      - name: objective
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingObjective'
          - type: 'null'
          description: Objective
          title: Objective
        description: Objective
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Country ISO2 list
          title: Countries
        description: Country ISO2 list
      - name: reportId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: reportId
          title: Reportid
        description: reportId
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - name.asc
              - name.desc
              - platform.asc
              - platform.desc
              - startAt.asc
              - startAt.desc
              - objective.asc
              - objective.desc
              - clicks.asc
              - clicks.desc
              - impressions.asc
              - impressions.desc
              - spendUSD.asc
              - spendUSD.desc
              - reach.asc
              - reach.desc
              - actions.asc
              - actions.desc
              - rate.asc
              - rate.desc
              - frequency.asc
              - frequency.desc
              - costPerActionUSD.asc
              - costPerActionUSD.desc
              type: string
          - type: 'null'
          description: Order by field(s)
          title: Orderby
        description: Order by field(s)
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 5000
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAdReportingCampaignsOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/campaigns/{campaignId}:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Campaign
      operationId: getAdReportingCampaign
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: campaignId
        in: path
        required: true
        schema:
          type: string
          title: Campaignid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingCampaign'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingCampaignNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/campaigns/{campaignId}/assign-artist:
    put:
      tags:
      - Ad Reporting
      summary: Assign Artist To Ad Reporting Campaign
      operationId: assignArtistToAdReportingCampaign
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: campaignId
        in: path
        required: true
        schema:
          type: string
          title: Campaignid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssignArtistToAdReportingCampaignInput'
      responses:
        '204':
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingCampaignNotFoundError'
          description: Not Found
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidGlobalParticipantIdError'
          description: Bad Request
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/campaigns/{campaignId}/assign-artists:
    put:
      tags:
      - Ad Reporting
      summary: Assign Artists To Ad Reporting Campaign
      operationId: assignArtistsToAdReportingCampaign
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: campaignId
        in: path
        required: true
        schema:
          type: string
          title: Campaignid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssignArtistsToAdReportingCampaignInput'
      responses:
        '204':
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingCampaignNotFoundError'
          description: Not Found
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidGlobalParticipantIdError'
          description: Bad Request
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/campaigns/{campaignId}/reports:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Campaign Reports
      operationId: getAdReportingCampaignReports
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: campaignId
        in: path
        required: true
        schema:
          type: string
          title: Campaignid
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: A search term
          title: Search
        description: A search term
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AdReportingCampaignReport'
                title: Response Getadreportingcampaignreports
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingCampaignNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Ad Reporting
      summary: Add Ad Reporting Campaign To Reports
      operationId: addAdReportingCampaignToReports
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: campaignId
        in: path
        required: true
        schema:
          type: string
          title: Campaignid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddAdReportingCampaignToReportsInput'
      responses:
        '204':
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingCampaignNotFoundError'
          description: Not Found
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingInvalidReportIdError'
          description: Bad Request
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/ad-sets-names:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Ad Sets Names
      operationId: getAdReportingAdSetsNames
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: A search term
          title: Search
        description: A search term
      - name: campaignId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Campaign id
          title: Campaignid
        description: Campaign id
      - name: globalParticipantId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Artist id
          title: Globalparticipantid
        description: Artist id
      - name: platform
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingPlatform'
          - type: 'null'
          description: Platform
          title: Platform
        description: Platform
      - name: objective
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingObjective'
          - type: 'null'
          description: Objective
          title: Objective
        description: Objective
      - name: reportId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Report id
          title: Reportid
        description: Report id
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - name.asc
              - name.desc
              - campaignName.asc
              - campaignName.desc
              - platform.asc
              - platform.desc
              - objective.asc
              - objective.desc
              - startAt.asc
              - startAt.desc
              - clicks.asc
              - clicks.desc
              - impressions.asc
              - impressions.desc
              - spendUSD.asc
              - spendUSD.desc
              - reach.asc
              - reach.desc
              - actions.asc
              - actions.desc
              - rate.asc
              - rate.desc
              - frequency.asc
              - frequency.desc
              - costPerActionUSD.asc
              - costPerActionUSD.desc
              type: string
          - type: 'null'
          description: Order by field(s)
          title: Orderby
        description: Order by field(s)
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 500
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitOffsetPage_AdReportingAdSetIdName_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/ad-sets:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Ad Sets
      operationId: getAdReportingAdSets
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: A search term
          title: Search
        description: A search term
      - name: campaignId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Campaign id
          title: Campaignid
        description: Campaign id
      - name: globalParticipantId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Artist id
          title: Globalparticipantid
        description: Artist id
      - name: platform
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingPlatform'
          - type: 'null'
          description: Platform
          title: Platform
        description: Platform
      - name: objective
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingObjective'
          - type: 'null'
          description: Objective
          title: Objective
        description: Objective
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Country ISO2 list
          title: Countries
        description: Country ISO2 list
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - name.asc
              - name.desc
              - campaignName.asc
              - campaignName.desc
              - platform.asc
              - platform.desc
              - objective.asc
              - objective.desc
              - startAt.asc
              - startAt.desc
              - clicks.asc
              - clicks.desc
              - impressions.asc
              - impressions.desc
              - spendUSD.asc
              - spendUSD.desc
              - reach.asc
              - reach.desc
              - actions.asc
              - actions.desc
              - rate.asc
              - rate.desc
              - frequency.asc
              - frequency.desc
              - costPerActionUSD.asc
              - costPerActionUSD.desc
              type: string
          - type: 'null'
          description: Order by field(s)
          title: Orderby
        description: Order by field(s)
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 5000
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAdReportingAdSetsOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/ad-sets/{adSetId}:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Ad Set
      operationId: getAdReportingAdSet
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: adSetId
        in: path
        required: true
        schema:
          type: string
          title: Adsetid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingAdSet'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingAdSetNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/ads:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Ads
      operationId: getAdReportingAds
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: A search term
          title: Search
        description: A search term
      - name: campaignId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Campaign id
          title: Campaignid
        description: Campaign id
      - name: adSetId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Ad set id
          title: Adsetid
        description: Ad set id
      - name: globalParticipantId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Artist id
          title: Globalparticipantid
        description: Artist id
      - name: platform
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingPlatform'
          - type: 'null'
          description: Platform
          title: Platform
        description: Platform
      - name: objective
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingObjective'
          - type: 'null'
          description: Objective
          title: Objective
        description: Objective
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Country ISO2 list
          title: Countries
        description: Country ISO2 list
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - name.asc
              - name.desc
              - campaignName.asc
              - campaignName.desc
              - adSetName.asc
              - adSetName.desc
              - startAt.asc
              - startAt.desc
              - platform.asc
              - platform.desc
              - objective.asc
              - objective.desc
              - clicks.asc
              - clicks.desc
              - impressions.asc
              - impressions.desc
              - spendUSD.asc
              - spendUSD.desc
              - reach.asc
              - reach.desc
              - actions.asc
              - actions.desc
              - rate.asc
              - rate.desc
              - frequency.asc
              - frequency.desc
              - costPerActionUSD.asc
              - costPerActionUSD.desc
              type: string
          - type: 'null'
          description: Order by field(s)
          title: Orderby
        description: Order by field(s)
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 5000
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAdReportingAdsOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/ads/{adId}:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Ad
      operationId: getAdReportingAd
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: adId
        in: path
        required: true
        schema:
          type: string
          title: Adid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingAd'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingAdNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/reports:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Reports
      operationId: getAdReportingReports
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: A search term
          title: Search
        description: A search term
      - name: globalParticipantId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Artist id
          title: Globalparticipantid
        description: Artist id
      - name: platform
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingPlatform'
          - type: 'null'
          description: Platform
          title: Platform
        description: Platform
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - name.asc
              - name.desc
              - impressions.asc
              - impressions.desc
              - views.asc
              - views.desc
              - clicks.asc
              - clicks.desc
              - spendUSD.asc
              - spendUSD.desc
              - createdAt.asc
              - createdAt.desc
              type: string
          - type: 'null'
          description: Order by field(s)
          title: Orderby
        description: Order by field(s)
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 5000
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitOffsetPage_AdReportingReportView_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Ad Reporting
      summary: Create Ad Reporting Report
      operationId: createAdReportingReport
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAdReportingReportInput'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingReport'
        '400':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/AdReportingReportUniqueNameError'
                - $ref: '#/components/schemas/AdReportingInvalidCampaignIdError'
                title: Response 400 Createadreportingreport
          description: Bad Request
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/reports/{reportId}:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Report Overview
      operationId: getAdReportingReportOverview
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: string
          title: Reportid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingReportOverview'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingReportNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Ad Reporting
      summary: Edit Ad Reporting Report
      operationId: editAdReportingReport
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: string
          title: Reportid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EditAdReportingReportInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingReport'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingReportNotFoundError'
          description: Not Found
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingReportUniqueNameError'
          description: Bad Request
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Ad Reporting
      summary: Delete Ad Reporting Report
      operationId: deleteAdReportingReport
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: string
          title: Reportid
      responses:
        '204':
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingReportNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/reports/{reportId}/campaigns:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Report Campaigns
      operationId: getAdReportingReportCampaigns
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: string
          title: Reportid
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: A search term
          title: Search
        description: A search term
      - name: globalParticipantId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Artist id
          title: Globalparticipantid
        description: Artist id
      - name: platform
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingPlatform'
          - type: 'null'
          description: Platform
          title: Platform
        description: Platform
      - name: objective
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingObjective'
          - type: 'null'
          description: Objective
          title: Objective
        description: Objective
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Country ISO2 list
          title: Countries
        description: Country ISO2 list
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - name.asc
              - name.desc
              - platform.asc
              - platform.desc
              - startAt.asc
              - startAt.desc
              - objective.asc
              - objective.desc
              - clicks.asc
              - clicks.desc
              - impressions.asc
              - impressions.desc
              - spendUSD.asc
              - spendUSD.desc
              - reach.asc
              - reach.desc
              - actions.asc
              - actions.desc
              - rate.asc
              - rate.desc
              - frequency.asc
              - frequency.desc
              - costPerActionUSD.asc
              - costPerActionUSD.desc
              type: string
          - type: 'null'
          description: Order by field(s)
          title: Orderby
        description: Order by field(s)
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 5000
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAdReportingCampaignsOutput'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingReportNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Ad Reporting
      summary: Add Ad Reporting Campaigns To A Report
      operationId: addCampaignsToAReport
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: string
          title: Reportid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddAdReportingReportToCampaignsInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddAdReportingReportToCampaignsOutput'
        '404':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/AdReportingReportNotFoundError'
                - $ref: '#/components/schemas/AdReportingCampaignNotFoundError'
                title: Response 404 Addcampaignstoareport
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/reports/{reportId}/campaigns/{campaignId}:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Report Campaign
      operationId: getAdReportingReportCampaign
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: string
          title: Reportid
      - name: campaignId
        in: path
        required: true
        schema:
          type: string
          title: Campaignid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingCampaign'
        '404':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/AdReportingReportNotFoundError'
                - $ref: '#/components/schemas/AdReportingCampaignNotFoundError'
                title: Response 404 Getadreportingreportcampaign
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Ad Reporting
      summary: Remove Ad Reporting Report Campaign
      operationId: removeAdReportingReportCampaign
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: string
          title: Reportid
      - name: campaignId
        in: path
        required: true
        schema:
          type: string
          title: Campaignid
      responses:
        '204':
          description: Successful Response
        '404':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/AdReportingReportNotFoundError'
                - $ref: '#/components/schemas/AdReportingCampaignNotFoundError'
                title: Response 404 Removeadreportingreportcampaign
          description: Not Found
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingReportLastCampaignDeleteError'
          description: Bad Request
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/reports/{reportId}/ad-sets:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Report Ad Sets
      operationId: getAdReportingReportAdSets
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: string
          title: Reportid
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: A search term
          title: Search
        description: A search term
      - name: campaignId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Campaign id
          title: Campaignid
        description: Campaign id
      - name: globalParticipantId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Artist id
          title: Globalparticipantid
        description: Artist id
      - name: platform
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingPlatform'
          - type: 'null'
          description: Platform
          title: Platform
        description: Platform
      - name: objective
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingObjective'
          - type: 'null'
          description: Objective
          title: Objective
        description: Objective
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Country ISO2 list
          title: Countries
        description: Country ISO2 list
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - name.asc
              - name.desc
              - campaignName.asc
              - campaignName.desc
              - platform.asc
              - platform.desc
              - objective.asc
              - objective.desc
              - startAt.asc
              - startAt.desc
              - clicks.asc
              - clicks.desc
              - impressions.asc
              - impressions.desc
              - spendUSD.asc
              - spendUSD.desc
              - reach.asc
              - reach.desc
              - actions.asc
              - actions.desc
              - rate.asc
              - rate.desc
              - frequency.asc
              - frequency.desc
              - costPerActionUSD.asc
              - costPerActionUSD.desc
              type: string
          - type: 'null'
          description: Order by field(s)
          title: Orderby
        description: Order by field(s)
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 5000
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAdReportingAdSetsOutput'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingReportNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/reports/{reportId}/ad-sets/{adSetId}:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Report Ad Set
      operationId: getAdReportingReportAdSet
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: string
          title: Reportid
      - name: adSetId
        in: path
        required: true
        schema:
          type: string
          title: Adsetid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingAdSet'
        '404':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/AdReportingReportNotFoundError'
                - $ref: '#/components/schemas/AdReportingAdSetNotFoundError'
                title: Response 404 Getadreportingreportadset
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/reports/{reportId}/ads:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Report Ads
      operationId: getAdReportingReportAds
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: string
          title: Reportid
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: A search term
          title: Search
        description: A search term
      - name: campaignId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Campaign id
          title: Campaignid
        description: Campaign id
      - name: adSetId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Ad set id
          title: Adsetid
        description: Ad set id
      - name: globalParticipantId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Artist id
          title: Globalparticipantid
        description: Artist id
      - name: platform
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingPlatform'
          - type: 'null'
          description: Platform
          title: Platform
        description: Platform
      - name: objective
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingObjective'
          - type: 'null'
          description: Objective
          title: Objective
        description: Objective
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Country ISO2 list
          title: Countries
        description: Country ISO2 list
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - name.asc
              - name.desc
              - campaignName.asc
              - campaignName.desc
              - adSetName.asc
              - adSetName.desc
              - startAt.asc
              - startAt.desc
              - platform.asc
              - platform.desc
              - objective.asc
              - objective.desc
              - clicks.asc
              - clicks.desc
              - impressions.asc
              - impressions.desc
              - spendUSD.asc
              - spendUSD.desc
              - reach.asc
              - reach.desc
              - actions.asc
              - actions.desc
              - rate.asc
              - rate.desc
              - frequency.asc
              - frequency.desc
              - costPerActionUSD.asc
              - costPerActionUSD.desc
              type: string
          - type: 'null'
          description: Order by field(s)
          title: Orderby
        description: Order by field(s)
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 5000
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAdReportingAdsOutput'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingReportNotFoundError'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/reports/{reportId}/ads/grouped:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Report Ads Grouped
      operationId: getAdReportingReportAdsGrouped
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: string
          title: Reportid
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: A search term
          title: Search
        description: A search term
      - name: campaignId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Campaign id
          title: Campaignid
        description: Campaign id
      - name: adSetId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Ad set id
          title: Adsetid
        description: Ad set id
      - name: globalParticipantId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Artist id
          title: Globalparticipantid
        description: Artist id
      - name: platform
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingPlatform'
          - type: 'null'
          description: Platform
          title: Platform
        description: Platform
      - name: objective
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/AdReportingObjective'
          - type: 'null'
          description: Objective
          title: Objective
        description: Objective
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Country ISO2 list
          title: Countries
        description: Country ISO2 list
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - name.asc
              - name.desc
              - campaignName.asc
              - campaignName.desc
              - adSetName.asc
              - adSetName.desc
              - startAt.asc
              - startAt.desc
              - platform.asc
              - platform.desc
              - objective.asc
              - objective.desc
              - clicks.asc
              - clicks.desc
              - impressions.asc
              - impressions.desc
              - spendUSD.asc
              - spendUSD.desc
              - reach.asc
              - reach.desc
              - actions.asc
              - actions.desc
              - rate.asc
              - rate.desc
              - frequency.asc
              - frequency.desc
              - costPerActionUSD.asc
              - costPerActionUSD.desc
              type: string
          - type: 'null'
          description: Order by field(s)
          title: Orderby
        description: Order by field(s)
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 5000
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetAdReportingAdsGroupedResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/reports/{reportId}/ads/{adId}:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Report Ad
      operationId: getAdReportingReportAd
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: string
          title: Reportid
      - name: adId
        in: path
        required: true
        schema:
          type: string
          title: Adid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdReportingAd'
        '404':
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/AdReportingReportNotFoundError'
                - $ref: '#/components/schemas/AdReportingAdNotFoundError'
                title: Response 404 Getadreportingreportad
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ad-reporting/reports-artists:
    get:
      tags:
      - Ad Reporting
      summary: Get Ad Reporting Reports Artists
      operationId: getAdReportingReportsArtists
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: reportId
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Reportid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ArtistWithId'
                title: Response Getadreportingreportsartists
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /rosters:
    get:
      tags:
      - Rosters
      summary: Get Rosters
      operationId: getRosters
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account vendor id
          title: Vendorid
        description: Account vendor id
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account subaccount id
          title: Subaccountid
        description: Account subaccount id
      - name: countries
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Country ISO2 list
          title: Countries
        description: Country ISO2 list
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Search by partial name match
          title: Search
        description: Search by partial name match
      - name: excludeLocalReps
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Exclude local reps
          title: Excludelocalreps
        description: Exclude local reps
      - name: orderBy
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              enum:
              - name.asc
              - name.desc
              - fansCount.asc
              - fansCount.desc
              - fansCount7DaysChange.asc
              - fansCount7DaysChange.desc
              - fansCount28DaysChange.asc
              - fansCount28DaysChange.desc
              - fansCount6MonthChange.asc
              - fansCount6MonthChange.desc
              - fansCount1YearChange.asc
              - fansCount1YearChange.desc
              - fansCount7DaysPercentChange.asc
              - fansCount7DaysPercentChange.desc
              - fansCount28DaysPercentChange.asc
              - fansCount28DaysPercentChange.desc
              - fansCount6MonthPercentChange.asc
              - fansCount6MonthPercentChange.desc
              - fansCount1YearPercentChange.asc
              - fansCount1YearPercentChange.desc
              - spotifyMonthlyListeners.asc
              - spotifyMonthlyListeners.desc
              - instagramFollowers.asc
              - instagramFollowers.desc
              - tiktokFollowers.asc
              - tiktokFollowers.desc
              - spotifyFollowers.asc
              - spotifyFollowers.desc
              - facebookFollowers.asc
              - facebookFollowers.desc
              - youtubeFollowers.asc
              - youtubeFollowers.desc
              - twitterFollowers.asc
              - twitterFollowers.desc
              - soundcloudFollowers.asc
              - soundcloudFollowers.desc
              - deezerFollowers.asc
              - deezerFollowers.desc
              - engagementBenchmark.asc
              - engagementBenchmark.desc
              - emailConsentFansCount.asc
              - emailConsentFansCount.desc
              - adConsentFansCount.asc
              - adConsentFansCount.desc
              - smsConsentFansCount.asc
              - smsConsentFansCount.desc
              type: string
          - type: 'null'
          description: Order by field(s)
          title: Orderby
        description: Order by field(s)
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 10000
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      - name: offset
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          description: Page offset
          title: Offset
        description: Page offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitOffsetPage_FanDataListDetail_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /rosters/search:
    get:
      tags:
      - Rosters
      summary: Search Rosters
      operationId: searchRosters
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account vendor id
          title: Vendorid
        description: Account vendor id
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account subaccount id
          title: Subaccountid
        description: Account subaccount id
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Search by partial name match
          title: Search
        description: Search by partial name match
      - name: excludeLocalReps
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          description: Exclude local reps
          title: Excludelocalreps
        description: Exclude local reps
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 10000
            minimum: 1
          - type: 'null'
          description: Page size limit
          title: Limit
        description: Page size limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchRostersOutput'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /rosters/custom-lists:
    get:
      tags:
      - Rosters
      summary: Get Custom Lists
      operationId: getCustomLists
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: customListIds
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
          minItems: 1
          title: Customlistids
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FanDataList'
                title: Response Getcustomlists
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /rosters/local-rep-countries:
    get:
      tags:
      - Rosters
      summary: Get Local Rep Countries
      operationId: getLocalRepCountries
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: true
        schema:
          type: integer
          title: Vendorid
      - name: subaccountId
        in: query
        required: true
        schema:
          type: integer
          title: Subaccountid
      - name: globalParticipantIds
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
          title: Globalparticipantids
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
                title: Response Getlocalrepcountries
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /songwhip/presave-pages:
    get:
      tags:
      - Songwhip
      summary: Get Presave Page
      operationId: getPresavePage
      deprecated: true
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account vendor id
          title: Vendorid
        description: Account vendor id
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account subaccount id
          title: Subaccountid
        description: Account subaccount id
      - name: globalParticipantIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Artist ids
          title: Globalparticipantids
        description: Artist ids
      - name: presavePageIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Presave page ids
          title: Presavepageids
        description: Presave page ids
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SongwhipPresavePage'
                title: Response Getpresavepage
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /songwhip/campaigns:
    get:
      tags:
      - Songwhip
      summary: Get Campaigns
      operationId: getCampaigns
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account vendor id
          title: Vendorid
        description: Account vendor id
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account subaccount id
          title: Subaccountid
        description: Account subaccount id
      - name: globalParticipantIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Artist ids
          title: Globalparticipantids
        description: Artist ids
      - name: campaignIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Campaign ids (presave page ids and custom page ids)
          title: Campaignids
        description: Campaign ids (presave page ids and custom page ids)
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 200
            minimum: 1
          - type: 'null'
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SongwhipCampaign'
                title: Response Getcampaigns
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /crm-campaigns:
    get:
      tags:
      - CRM Campaign
      summary: Get Crm Campaigns
      operationId: getCrmCampaigns
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account vendor id
          title: Vendorid
        description: Account vendor id
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account subaccount id
          title: Subaccountid
        description: Account subaccount id
      - name: globalParticipantIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Artist ids
          title: Globalparticipantids
        description: Artist ids
      - name: customListIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Custom list ids
          title: Customlistids
        description: Custom list ids
      - name: campaignIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Campaign ids
          title: Campaignids
        description: Campaign ids
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 200
            minimum: 1
          - type: 'null'
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrmCampaigns'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /crm-sublists:
    get:
      tags:
      - CRM Sublist
      summary: Get Crm Sublists
      operationId: getCrmSublists
      security:
      - JWT authorization: []
      - OrchardIdentityId: []
      parameters:
      - name: vendorId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account vendor id
          title: Vendorid
        description: Account vendor id
      - name: subaccountId
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          description: Account subaccount id
          title: Subaccountid
        description: Account subaccount id
      - name: globalParticipantIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Artist ids
          title: Globalparticipantids
        description: Artist ids
      - name: customListIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Custom list ids
          title: Customlistids
        description: Custom list ids
      - name: sublistIds
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Sublist ids
          title: Sublistids
        description: Sublist ids
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 200
            minimum: 1
          - type: 'null'
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrmSublists'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AcquisitionChannel:
      type: string
      enum:
      - WYNG
      - FILE_UPLOAD_TOOL
      - SMF_UNCATEGORIZED
      - SMF_PLAYLIST_GENERATOR_SPOTIFY_LIBRARY_SCAN
      - SMF_PLAYLIST_GENERATOR_QUIZ
      - SMF_BESPOKE_ACTIVATION
      - SMF_SOCIAL_SIGNUP_FORM_COMBO
      - SMF_NEWSLETTER_SIGNUP
      - SMF_FAN_CARD_ACTIVATION
      - SMF_GENERAL_PRESAVE
      - SMF_GIVEAWAY
      - MAKE_THE_LINK
      - TUNESPEAK
      - SHOPIFY
      - MIGRATION
      - TICKETING
      - FEATURE_FM
      - SPOTIFY_SONY_MUSIC_NOW
      - PREVIOUS_MAILING_LIST
      - SMS_CAMPAIGNS
      - SEATED_LIST
      - BANDSINTOWN_LIST
      - LINKFIRE
      - MAESTRO_LIST
      - WEBSITE
      - PAST_PURCHASERS
      - SQWAD
      - INTERNAL_SONY_LIST_TRANSFER
      - LEVELLR
      - MEDALLION
      - EVENT_SHOP
      - SONGWHIP_PRE_SAVE
      - SONGWHIP_EXCLUSIVE_CONTENT
      - ROSALIA_FILE_UPLOAD_SUBSTACK
      - ROSALIA_LISTENING_PARTY_LUX
      - ROSALIA_LYRIC_PAGE_LUX
      - ROSALIA_NEWSLETTER_2024
      - ROSALIA_NEWSLETTER_2025
      - ROSALIA_PRE_SAVE_LLYLM
      - ROSALIA_PRE_SAVE_LUX
      - ROSALIA_PRE_SAVE_MOTOMAMI
      - ROSALIA_PRE_SAVE_RR
      - ROSALIA_PRE_SAVE_TUYA
      - ROSALIA_NEW_WOMAN_FANCARD
      - ROSALIA_MISC
      - ROSALIA_PRE_SAVE_EL_MAL_QUERER
      - ROSALIA_PAST_TICKET_PURCHASERS_2022
      - ROSALIA_LUX_2026_TOUR_PRE_SALE
      title: AcquisitionChannel
    AdReportingActionType:
      type: string
      enum:
      - EAR
      - PURCHASES
      - CLICKS
      - VIEWS
      - FOLLOWS
      - REACH
      - ORDERS_PLACED
      title: AdReportingActionType
    AdReportingAd:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        campaignId:
          type: string
          title: Campaignid
        campaignName:
          type: string
          title: Campaignname
        adSetId:
          type: string
          title: Adsetid
        adSetName:
          type: string
          title: Adsetname
        accountId:
          type: string
          title: Accountid
        globalParticipantIds:
          items:
            type: string
          type: array
          title: Globalparticipantids
        accounts:
          items:
            $ref: '#/components/schemas/LabelId'
          type: array
          title: Accounts
        platform:
          $ref: '#/components/schemas/AdReportingPlatform'
        objective:
          $ref: '#/components/schemas/AdReportingObjective'
        targetingCountries:
          items:
            type: string
          type: array
          title: Targetingcountries
        reportingUrl:
          type: string
          title: Reportingurl
        effectiveStatus:
          $ref: '#/components/schemas/AdReportingAdEffectiveStatus'
        startAt:
          type: string
          format: date-time
          title: Startat
        endAt:
          type: string
          format: date-time
          title: Endat
        clicks:
          type: integer
          title: Clicks
        impressions:
          type: integer
          title: Impressions
        reach:
          anyOf:
          - type: integer
          - type: 'null'
          title: Reach
        estimatedAdRecallers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Estimatedadrecallers
        viewsP25:
          type: integer
          title: Viewsp25
        views:
          type: integer
          title: Views
        purchases:
          anyOf:
          - type: integer
          - type: 'null'
          title: Purchases
        follows:
          anyOf:
          - type: integer
          - type: 'null'
          title: Follows
        currency:
          type: string
          title: Currency
        spend:
          type: number
          title: Spend
        spendUSD:
          type: number
          title: Spendusd
        likes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Likes
        completePayment:
          anyOf:
          - type: integer
          - type: 'null'
          title: Completepayment
        checkout:
          anyOf:
          - type: integer
          - type: 'null'
          title: Checkout
        actions:
          type: integer
          title: Actions
        actionType:
          $ref: '#/components/schemas/AdReportingActionType'
        rate:
          type: number
          title: Rate
        rateType:
          $ref: '#/components/schemas/AdReportingRateType'
        costPerAction:
          type: number
          title: Costperaction
        costPerActionUSD:
          type: number
          title: Costperactionusd
        frequency:
          anyOf:
          - type: number
          - type: 'null'
          title: Frequency
        creativeUrl:
          anyOf:
          - type: string
          - type: 'null'
          title: Creativeurl
        creativeType:
          anyOf:
          - $ref: '#/components/schemas/AdReportingCreativeType'
          - type: 'null'
        thumbnailUrl:
          anyOf:
          - type: string
          - type: 'null'
          title: Thumbnailurl
        creativeThumbnail:
          anyOf:
          - type: string
          - type: 'null'
          title: Creativethumbnail
        benchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Benchmark
        vsBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Vsbenchmark
        artistBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Artistbenchmark
        vsArtistBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Vsartistbenchmark
        budgetType:
          $ref: '#/components/schemas/AdReportingBudgetType'
        reportId:
          anyOf:
          - type: string
          - type: 'null'
          title: Reportid
        reportName:
          anyOf:
          - type: string
          - type: 'null'
          title: Reportname
      type: object
      required:
      - id
      - name
      - campaignId
      - campaignName
      - adSetId
      - adSetName
      - accountId
      - globalParticipantIds
      - platform
      - objective
      - targetingCountries
      - reportingUrl
      - effectiveStatus
      - startAt
      - endAt
      - clicks
      - impressions
      - reach
      - estimatedAdRecallers
      - viewsP25
      - views
      - purchases
      - follows
      - currency
      - spend
      - spendUSD
      - likes
      - completePayment
      - checkout
      - actions
      - actionType
      - rate
      - rateType
      - costPerAction
      - costPerActionUSD
      - frequency
      - creativeUrl
      - creativeType
      - thumbnailUrl
      - creativeThumbnail
      - benchmark
      - vsBenchmark
      - artistBenchmark
      - vsArtistBenchmark
      - budgetType
      title: AdReportingAd
    AdReportingAdEffectiveStatus:
      type: string
      enum:
      - GOOGLE_ACTIVE
      - GOOGLE_DELETED
      - GOOGLE_PAUSED
      - META_ACTIVE
      - META_ADSET_PAUSED
      - META_ARCHIVED
      - META_CAMPAIGN_PAUSED
      - META_DELETED
      - META_DISAPPROVED
      - META_IN_PROCESS
      - META_PAUSED
      - META_PENDING_BILLING_INFO
      - META_PENDING_REVIEW
      - META_PREAPPROVED
      - META_WITH_ISSUES
      - TIKTOK_ADGROUP_STATUS_FROZEN
      - TIKTOK_ADVERTISER_ACCOUNT_PUNISH
      - TIKTOK_ADVERTISER_CONTRACT_PENDING
      - TIKTOK_AD_STATUS_ADGROUP_ASSET_AUTHORIZATION_LOST
      - TIKTOK_AD_STATUS_ADGROUP_AUDIT_DENY
      - TIKTOK_AD_STATUS_ADGROUP_DELETE
      - TIKTOK_AD_STATUS_ADGROUP_DISABLE
      - TIKTOK_AD_STATUS_ADGROUP_INDUSTRY_QUALIFICATION_DENY
      - TIKTOK_AD_STATUS_ADGROUP_INDUSTRY_QUALIFICATION_EXPIRED
      - TIKTOK_AD_STATUS_ADGROUP_INDUSTRY_QUALIFICATION_MISSING
      - TIKTOK_AD_STATUS_ADGROUP_PARTIAL_AUDIT_NO_DELIVERY
      - TIKTOK_AD_STATUS_ADVERTISER_AUDIT
      - TIKTOK_AD_STATUS_ADVERTISER_AUDIT_DENY
      - TIKTOK_AD_STATUS_AD_PRE_ONLINE
      - TIKTOK_AD_STATUS_AD_QUOTA_LIMIT
      - TIKTOK_AD_STATUS_ANCHOR_UNAVAILABLE
      - TIKTOK_AD_STATUS_ASSET_AUTHORIZATION_LOST
      - TIKTOK_AD_STATUS_AUDIT
      - TIKTOK_AD_STATUS_AUDIT_DENY
      - TIKTOK_AD_STATUS_BALANCE_EXCEED
      - TIKTOK_AD_STATUS_BUDGET_EXCEED
      - TIKTOK_AD_STATUS_CAMPAIGN_DELETE
      - TIKTOK_AD_STATUS_CAMPAIGN_DISABLE
      - TIKTOK_AD_STATUS_CAMPAIGN_EXCEED
      - TIKTOK_AD_STATUS_DELETE
      - TIKTOK_AD_STATUS_DELIVERY_OK
      - TIKTOK_AD_STATUS_DISABLE
      - TIKTOK_AD_STATUS_DONE
      - TIKTOK_AD_STATUS_LIVE_OFFLINE
      - TIKTOK_AD_STATUS_MUSIC_AUTHORIZATION_MISSING
      - TIKTOK_AD_STATUS_NOT_START
      - TIKTOK_AD_STATUS_NO_AUTHORIZATION_OF_SHOWCASE
      - TIKTOK_AD_STATUS_PARTIAL_AUDIT_DELIVERY_OK
      - TIKTOK_AD_STATUS_PARTIAL_AUDIT_NO_DELIVERY
      - TIKTOK_AD_STATUS_PROCESS_AUDIO
      - TIKTOK_AD_STATUS_PRODUCT_UNAVAILABLE
      - TIKTOK_AD_STATUS_PROMOTE_ADGROUP_CLOSED
      - TIKTOK_AD_STATUS_PROMOTE_AD_OFFLINE_AUDIT
      - TIKTOK_AD_STATUS_REAUDIT
      - TIKTOK_AD_STATUS_RF_ADGROUP_CLOSED
      - TIKTOK_AD_STATUS_TRANSCODING_FAIL
      - TIKTOK_AD_STAUS_PIXEL_UNBIND
      - TIKTOK_AD_STATUS_REVIEW_PARTIALLY_APPROVED
      - OTHER
      title: AdReportingAdEffectiveStatus
    AdReportingAdGroup:
      properties:
        name:
          type: string
          title: Name
        campaignId:
          anyOf:
          - type: string
          - type: 'null'
          title: Campaignid
        campaignName:
          anyOf:
          - type: string
          - type: 'null'
          title: Campaignname
        adSetId:
          anyOf:
          - type: string
          - type: 'null'
          title: Adsetid
        adSetName:
          anyOf:
          - type: string
          - type: 'null'
          title: Adsetname
        globalParticipantIds:
          items:
            type: string
          type: array
          title: Globalparticipantids
        accounts:
          items:
            $ref: '#/components/schemas/LabelId'
          type: array
          title: Accounts
        platforms:
          items:
            $ref: '#/components/schemas/AdReportingPlatform'
          type: array
          title: Platforms
        objectives:
          items:
            $ref: '#/components/schemas/AdReportingObjective'
          type: array
          title: Objectives
        targetingCountries:
          items:
            type: string
          type: array
          title: Targetingcountries
        effectiveStatus:
          anyOf:
          - $ref: '#/components/schemas/AdReportingAdEffectiveStatus'
          - type: 'null'
        startAt:
          type: string
          format: date-time
          title: Startat
        endAt:
          type: string
          format: date-time
          title: Endat
        clicks:
          type: integer
          title: Clicks
        impressions:
          type: integer
          title: Impressions
        reach:
          anyOf:
          - type: integer
          - type: 'null'
          title: Reach
        estimatedAdRecallers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Estimatedadrecallers
        viewsP25:
          type: integer
          title: Viewsp25
        views:
          type: integer
          title: Views
        purchases:
          anyOf:
          - type: integer
          - type: 'null'
          title: Purchases
        follows:
          anyOf:
          - type: integer
          - type: 'null'
          title: Follows
        currency:
          anyOf:
          - type: string
          - type: 'null'
          title: Currency
        spend:
          anyOf:
          - type: number
          - type: 'null'
          title: Spend
        spendUSD:
          type: number
          title: Spendusd
        likes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Likes
        completePayment:
          anyOf:
          - type: integer
          - type: 'null'
          title: Completepayment
        checkout:
          anyOf:
          - type: integer
          - type: 'null'
          title: Checkout
        actions:
          anyOf:
          - type: integer
          - type: 'null'
          title: Actions
        actionType:
          anyOf:
          - $ref: '#/components/schemas/AdReportingActionType'
          - type: 'null'
        rate:
          anyOf:
          - type: number
          - type: 'null'
          title: Rate
        costPerAction:
          anyOf:
          - type: number
          - type: 'null'
          title: Costperaction
        costPerActionUSD:
          anyOf:
          - type: number
          - type: 'null'
          title: Costperactionusd
        frequency:
          anyOf:
          - type: number
          - type: 'null'
          title: Frequency
        thumbnailUrl:
          anyOf:
          - type: string
          - type: 'null'
          title: Thumbnailurl
        benchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Benchmark
        vsBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Vsbenchmark
        artistBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Artistbenchmark
        vsArtistBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Vsartistbenchmark
        totalActionsRatio:
          anyOf:
          - type: number
          - type: 'null'
          title: Totalactionsratio
        rateType:
          anyOf:
          - $ref: '#/components/schemas/AdReportingRateType'
          - type: 'null'
        items:
          items:
            $ref: '#/components/schemas/AdReportingAd'
          type: array
          title: Items
      type: object
      required:
      - name
      - campaignId
      - campaignName
      - adSetId
      - adSetName
      - globalParticipantIds
      - platforms
      - objectives
      - targetingCountries
      - effectiveStatus
      - startAt
      - endAt
      - clicks
      - impressions
      - reach
      - estimatedAdRecallers
      - viewsP25
      - views
      - purchases
      - follows
      - currency
      - spend
      - spendUSD
      - likes
      - completePayment
      - checkout
      - actions
      - actionType
      - rate
      - costPerAction
      - costPerActionUSD
      - frequency
      - thumbnailUrl
      - benchmark
      - vsBenchmark
      - artistBenchmark
      - vsArtistBenchmark
      - totalActionsRatio
      - rateType
      - items
      title: AdReportingAdGroup
    AdReportingAdNotFoundError:
      properties:
        code:
          type: string
          const: ad_reporting_ad_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AdReportingAdNotFoundError
    AdReportingAdSet:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        campaignId:
          type: string
          title: Campaignid
        campaignName:
          type: string
          title: Campaignname
        accountId:
          type: string
          title: Accountid
        globalParticipantIds:
          items:
            type: string
          type: array
          title: Globalparticipantids
        accounts:
          items:
            $ref: '#/components/schemas/LabelId'
          type: array
          title: Accounts
        platform:
          $ref: '#/components/schemas/AdReportingPlatform'
        objective:
          $ref: '#/components/schemas/AdReportingObjective'
        targetingCountries:
          items:
            type: string
          type: array
          title: Targetingcountries
        reportingUrl:
          type: string
          title: Reportingurl
        effectiveStatus:
          $ref: '#/components/schemas/AdReportingAdSetEffectiveStatus'
        startAt:
          type: string
          format: date-time
          title: Startat
        endAt:
          type: string
          format: date-time
          title: Endat
        clicks:
          type: integer
          title: Clicks
        impressions:
          type: integer
          title: Impressions
        reach:
          anyOf:
          - type: integer
          - type: 'null'
          title: Reach
        estimatedAdRecallers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Estimatedadrecallers
        viewsP25:
          type: integer
          title: Viewsp25
        views:
          type: integer
          title: Views
        purchases:
          anyOf:
          - type: integer
          - type: 'null'
          title: Purchases
        follows:
          anyOf:
          - type: integer
          - type: 'null'
          title: Follows
        currency:
          type: string
          title: Currency
        spend:
          type: number
          title: Spend
        spendUSD:
          type: number
          title: Spendusd
        likes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Likes
        completePayment:
          anyOf:
          - type: integer
          - type: 'null'
          title: Completepayment
        checkout:
          anyOf:
          - type: integer
          - type: 'null'
          title: Checkout
        actions:
          type: integer
          title: Actions
        actionType:
          $ref: '#/components/schemas/AdReportingActionType'
        rate:
          type: number
          title: Rate
        rateType:
          $ref: '#/components/schemas/AdReportingRateType'
        costPerAction:
          type: number
          title: Costperaction
        costPerActionUSD:
          type: number
          title: Costperactionusd
        frequency:
          anyOf:
          - type: number
          - type: 'null'
          title: Frequency
        benchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Benchmark
        vsBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Vsbenchmark
        artistBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Artistbenchmark
        vsArtistBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Vsartistbenchmark
        budget:
          anyOf:
          - type: number
          - type: 'null'
          title: Budget
        budgetUSD:
          anyOf:
          - type: number
          - type: 'null'
          title: Budgetusd
        budgetType:
          $ref: '#/components/schemas/AdReportingBudgetType'
        reportId:
          anyOf:
          - type: string
          - type: 'null'
          title: Reportid
        reportName:
          anyOf:
          - type: string
          - type: 'null'
          title: Reportname
      type: object
      required:
      - id
      - name
      - campaignId
      - campaignName
      - accountId
      - globalParticipantIds
      - platform
      - objective
      - targetingCountries
      - reportingUrl
      - effectiveStatus
      - startAt
      - endAt
      - clicks
      - impressions
      - reach
      - estimatedAdRecallers
      - viewsP25
      - views
      - purchases
      - follows
      - currency
      - spend
      - spendUSD
      - likes
      - completePayment
      - checkout
      - actions
      - actionType
      - rate
      - rateType
      - costPerAction
      - costPerActionUSD
      - frequency
      - benchmark
      - vsBenchmark
      - artistBenchmark
      - vsArtistBenchmark
      - budget
      - budgetUSD
      - budgetType
      title: AdReportingAdSet
    AdReportingAdSetEffectiveStatus:
      type: string
      enum:
      - GOOGLE_ACTIVE
      - GOOGLE_DELETED
      - GOOGLE_PAUSED
      - META_ACTIVE
      - META_ARCHIVED
      - META_CAMPAIGN_PAUSED
      - META_DELETED
      - META_IN_PROCESS
      - META_PAUSED
      - META_WITH_ISSUES
      - TIKTOK_ADGROUP_STATUS_ADGROUP_PRE_ONLINE
      - TIKTOK_ADGROUP_STATUS_ADGROUP_QUOTA_LIMIT
      - TIKTOK_ADGROUP_STATUS_ADVERTISER_AUDIT
      - TIKTOK_ADGROUP_STATUS_ADVERTISER_AUDIT_DENY
      - TIKTOK_ADGROUP_STATUS_ASSET_AUTHORIZATION_LOST
      - TIKTOK_ADGROUP_STATUS_AUDIT
      - TIKTOK_ADGROUP_STATUS_AUDIT_DENY
      - TIKTOK_ADGROUP_STATUS_BALANCE_EXCEED
      - TIKTOK_ADGROUP_STATUS_BUDGET_EXCEED
      - TIKTOK_ADGROUP_STATUS_CAMPAIGN_DELETE
      - TIKTOK_ADGROUP_STATUS_CAMPAIGN_DISABLE
      - TIKTOK_ADGROUP_STATUS_CAMPAIGN_EXCEED
      - TIKTOK_ADGROUP_STATUS_CREATE
      - TIKTOK_ADGROUP_STATUS_DELETE
      - TIKTOK_ADGROUP_STATUS_DELIVERY_OK
      - TIKTOK_ADGROUP_STATUS_DISABLE
      - TIKTOK_ADGROUP_STATUS_FROZEN
      - TIKTOK_ADGROUP_STATUS_IDENTITY_USED_BY_GMV_MAX_AD
      - TIKTOK_ADGROUP_STATUS_INDUSTRY_QUALIFICATION_DENY
      - TIKTOK_ADGROUP_STATUS_INDUSTRY_QUALIFICATION_EXPIRED
      - TIKTOK_ADGROUP_STATUS_INDUSTRY_QUALIFICATION_MISSING
      - TIKTOK_ADGROUP_STATUS_LIVE_NOT_START
      - TIKTOK_ADGROUP_STATUS_NOT_START
      - TIKTOK_ADGROUP_STATUS_PARTIAL_AUDIT_DELIVERY_OK
      - TIKTOK_ADGROUP_STATUS_PARTIAL_AUDIT_NO_DELIVERY
      - TIKTOK_ADGROUP_STATUS_PIXEL_UNBIND
      - TIKTOK_ADGROUP_STATUS_PROMOTE_AD_NOT_APPROVED
      - TIKTOK_ADGROUP_STATUS_PROMOTE_WITHDRAW_ORDER
      - TIKTOK_ADGROUP_STATUS_REAUDIT
      - TIKTOK_ADGROUP_STATUS_REVIEW_PARTIALLY_APPROVED
      - TIKTOK_ADGROUP_STATUS_RF_ADGROUP_INVALID
      - TIKTOK_ADGROUP_STATUS_RF_AD_AUDIT_DENY
      - TIKTOK_ADGROUP_STATUS_RF_BOOKING
      - TIKTOK_ADGROUP_STATUS_RF_CLOSED_OTHERS
      - TIKTOK_ADGROUP_STATUS_RF_DEDUCTION_FAILED
      - TIKTOK_ADGROUP_STATUS_RF_NO_DELIVERY_CREATIVE
      - TIKTOK_ADGROUP_STATUS_RF_NO_VALID_CREATIVE
      - TIKTOK_ADGROUP_STATUS_RF_SCHEDULE
      - TIKTOK_ADGROUP_STATUS_RF_SHORT_BALANCE
      - TIKTOK_ADGROUP_STATUS_RF_TERMINATE
      - TIKTOK_ADGROUP_STATUS_RF_TIME_DONE
      - TIKTOK_ADGROUP_STATUS_RF_WITHDRAW_ORDER
      - TIKTOK_ADGROUP_STATUS_SEARCH_KEYWORDS_IN_REVIEW
      - TIKTOK_ADGROUP_STATUS_SEARCH_KEYWORDS_NOT_AVAILABLE
      - TIKTOK_ADGROUP_STATUS_SEARCH_KEYWORDS_PARTIAL_APPROVED
      - TIKTOK_ADGROUP_STATUS_SHADOW_ADGROUP_REAUDIT
      - TIKTOK_ADGROUP_STATUS_TIME_DONE
      - TIKTOK_ADGROUP_STATUS_TRANSCODING_FAIL
      - TIKTOK_ADVERTISER_ACCOUNT_INVALID
      - TIKTOK_ADVERTISER_ACCOUNT_PUNISH
      - TIKTOK_ADVERTISER_CONTRACT_PENDING
      - OTHER
      title: AdReportingAdSetEffectiveStatus
    AdReportingAdSetIdName:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
      type: object
      required:
      - id
      - name
      title: AdReportingAdSetIdName
    AdReportingAdSetNotFoundError:
      properties:
        code:
          type: string
          const: ad_reporting_ad_set_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AdReportingAdSetNotFoundError
    AdReportingBudgetType:
      type: string
      enum:
      - DAILY_BUDGET
      - LIFETIME_BUDGET
      - CAMPAIGN_BUDGET
      - AD_SET_BUDGET
      - UNKNOWN
      title: AdReportingBudgetType
    AdReportingCampaign:
      properties:
        id:
          type: string
          title: Id
        externalId:
          type: string
          title: Externalid
        name:
          type: string
          title: Name
        accountId:
          type: string
          title: Accountid
        globalParticipantIds:
          items:
            type: string
          type: array
          title: Globalparticipantids
        accounts:
          items:
            $ref: '#/components/schemas/LabelId'
          type: array
          title: Accounts
        platform:
          $ref: '#/components/schemas/AdReportingPlatform'
        objective:
          $ref: '#/components/schemas/AdReportingObjective'
        targetingCountries:
          items:
            type: string
          type: array
          title: Targetingcountries
        reportingUrl:
          type: string
          title: Reportingurl
        effectiveStatus:
          $ref: '#/components/schemas/AdReportingCampaignEffectiveStatus'
        startAt:
          type: string
          format: date-time
          title: Startat
        endAt:
          type: string
          format: date-time
          title: Endat
        clicks:
          type: integer
          title: Clicks
        impressions:
          type: integer
          title: Impressions
        reach:
          anyOf:
          - type: integer
          - type: 'null'
          title: Reach
        estimatedAdRecallers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Estimatedadrecallers
        viewsP25:
          type: integer
          title: Viewsp25
        views:
          type: integer
          title: Views
        purchases:
          anyOf:
          - type: integer
          - type: 'null'
          title: Purchases
        follows:
          anyOf:
          - type: integer
          - type: 'null'
          title: Follows
        spend:
          type: number
          title: Spend
        currency:
          type: string
          title: Currency
        spendUSD:
          type: number
          title: Spendusd
        likes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Likes
        completePayment:
          anyOf:
          - type: integer
          - type: 'null'
          title: Completepayment
        checkout:
          anyOf:
          - type: integer
          - type: 'null'
          title: Checkout
        actions:
          type: integer
          title: Actions
        actionType:
          $ref: '#/components/schemas/AdReportingActionType'
        rate:
          type: number
          title: Rate
        rateType:
          $ref: '#/components/schemas/AdReportingRateType'
        costPerAction:
          type: number
          title: Costperaction
        costPerActionUSD:
          type: number
          title: Costperactionusd
        frequency:
          anyOf:
          - type: number
          - type: 'null'
          title: Frequency
        benchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Benchmark
        vsBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Vsbenchmark
        artistBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Artistbenchmark
        vsArtistBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Vsartistbenchmark
        budget:
          anyOf:
          - type: number
          - type: 'null'
          title: Budget
        budgetUSD:
          anyOf:
          - type: number
          - type: 'null'
          title: Budgetusd
        budgetType:
          $ref: '#/components/schemas/AdReportingBudgetType'
        isIncludedInReport:
          type: boolean
          title: Isincludedinreport
        reportId:
          anyOf:
          - type: string
          - type: 'null'
          title: Reportid
        reportName:
          anyOf:
          - type: string
          - type: 'null'
          title: Reportname
      type: object
      required:
      - id
      - externalId
      - name
      - accountId
      - globalParticipantIds
      - platform
      - objective
      - targetingCountries
      - reportingUrl
      - effectiveStatus
      - startAt
      - endAt
      - clicks
      - impressions
      - reach
      - estimatedAdRecallers
      - viewsP25
      - views
      - purchases
      - follows
      - spend
      - currency
      - spendUSD
      - likes
      - completePayment
      - checkout
      - actions
      - actionType
      - rate
      - rateType
      - costPerAction
      - costPerActionUSD
      - frequency
      - benchmark
      - vsBenchmark
      - artistBenchmark
      - vsArtistBenchmark
      - budget
      - budgetUSD
      - budgetType
      - isIncludedInReport
      title: AdReportingCampaign
    AdReportingCampaignCountryToplinePerformance:
      properties:
        platform:
          $ref: '#/components/schemas/AdReportingPlatform'
        objective:
          $ref: '#/components/schemas/AdReportingObjective'
        clicks:
          type: integer
          title: Clicks
        impressions:
          type: integer
          title: Impressions
        reach:
          anyOf:
          - type: integer
          - type: 'null'
          title: Reach
        estimatedAdRecallers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Estimatedadrecallers
        viewsP25:
          type: integer
          title: Viewsp25
        views:
          type: integer
          title: Views
        purchases:
          anyOf:
          - type: integer
          - type: 'null'
          title: Purchases
        follows:
          anyOf:
          - type: integer
          - type: 'null'
          title: Follows
        currency:
          anyOf:
          - type: string
          - type: 'null'
          title: Currency
        spend:
          anyOf:
          - type: number
          - type: 'null'
          title: Spend
        spendUSD:
          type: number
          title: Spendusd
        likes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Likes
        completePayment:
          anyOf:
          - type: integer
          - type: 'null'
          title: Completepayment
        checkout:
          anyOf:
          - type: integer
          - type: 'null'
          title: Checkout
        actions:
          type: integer
          title: Actions
        actionType:
          $ref: '#/components/schemas/AdReportingActionType'
        rate:
          type: number
          title: Rate
        rateType:
          $ref: '#/components/schemas/AdReportingRateType'
        benchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Benchmark
        vsBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Vsbenchmark
        artistBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Artistbenchmark
        vsArtistBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Vsartistbenchmark
        costPerAction:
          anyOf:
          - type: number
          - type: 'null'
          title: Costperaction
        costPerActionUSD:
          type: number
          title: Costperactionusd
        frequency:
          anyOf:
          - type: number
          - type: 'null'
          title: Frequency
        countryCode:
          type: string
          title: Countrycode
      type: object
      required:
      - platform
      - objective
      - clicks
      - impressions
      - reach
      - estimatedAdRecallers
      - viewsP25
      - views
      - purchases
      - follows
      - currency
      - spend
      - spendUSD
      - likes
      - completePayment
      - checkout
      - actions
      - actionType
      - rate
      - rateType
      - benchmark
      - vsBenchmark
      - artistBenchmark
      - vsArtistBenchmark
      - costPerAction
      - costPerActionUSD
      - frequency
      - countryCode
      title: AdReportingCampaignCountryToplinePerformance
    AdReportingCampaignEffectiveStatus:
      type: string
      enum:
      - GOOGLE_ACTIVE
      - GOOGLE_DELETED
      - GOOGLE_PAUSED
      - META_ACTIVE
      - META_ARCHIVED
      - META_DELETED
      - META_IN_PROCESS
      - META_PAUSED
      - META_WITH_ISSUES
      - TIKTOK_ADVERTISER_ACCOUNT_PUNISH
      - TIKTOK_ADVERTISER_CONTRACT_PENDING
      - TIKTOK_CAMPAIGN_STATUS_ADVERTISER_AUDIT
      - TIKTOK_CAMPAIGN_STATUS_ADVERTISER_AUDIT_DENY
      - TIKTOK_CAMPAIGN_STATUS_AWAITING_RELEASE
      - TIKTOK_CAMPAIGN_STATUS_BUDGET_EXCEED
      - TIKTOK_CAMPAIGN_STATUS_DELETE
      - TIKTOK_CAMPAIGN_STATUS_DISABLE
      - TIKTOK_CAMPAIGN_STATUS_ENABLE
      - TIKTOK_CAMPAIGN_STATUS_IDENTITY_USED_BY_GMV_MAX_AD
      - OTHER
      title: AdReportingCampaignEffectiveStatus
    AdReportingCampaignIdName:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
      type: object
      required:
      - id
      - name
      title: AdReportingCampaignIdName
    AdReportingCampaignNotFoundError:
      properties:
        code:
          type: string
          const: ad_reporting_campaign_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AdReportingCampaignNotFoundError
    AdReportingCampaignObjective:
      properties:
        platform:
          $ref: '#/components/schemas/AdReportingPlatform'
        objective:
          $ref: '#/components/schemas/AdReportingObjective'
      type: object
      required:
      - platform
      - objective
      title: AdReportingCampaignObjective
    AdReportingCampaignReport:
      properties:
        reportId:
          type: string
          title: Reportid
        reportName:
          type: string
          title: Reportname
        hasCampaignIncluded:
          type: boolean
          title: Hascampaignincluded
      type: object
      required:
      - reportId
      - reportName
      - hasCampaignIncluded
      title: AdReportingCampaignReport
    AdReportingCampaignToplinePerformance:
      properties:
        platform:
          $ref: '#/components/schemas/AdReportingPlatform'
        objective:
          $ref: '#/components/schemas/AdReportingObjective'
        clicks:
          type: integer
          title: Clicks
        impressions:
          type: integer
          title: Impressions
        reach:
          anyOf:
          - type: integer
          - type: 'null'
          title: Reach
        estimatedAdRecallers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Estimatedadrecallers
        viewsP25:
          type: integer
          title: Viewsp25
        views:
          type: integer
          title: Views
        purchases:
          anyOf:
          - type: integer
          - type: 'null'
          title: Purchases
        follows:
          anyOf:
          - type: integer
          - type: 'null'
          title: Follows
        currency:
          anyOf:
          - type: string
          - type: 'null'
          title: Currency
        spend:
          anyOf:
          - type: number
          - type: 'null'
          title: Spend
        spendUSD:
          type: number
          title: Spendusd
        likes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Likes
        completePayment:
          anyOf:
          - type: integer
          - type: 'null'
          title: Completepayment
        checkout:
          anyOf:
          - type: integer
          - type: 'null'
          title: Checkout
        actions:
          type: integer
          title: Actions
        actionType:
          $ref: '#/components/schemas/AdReportingActionType'
        rate:
          type: number
          title: Rate
        rateType:
          $ref: '#/components/schemas/AdReportingRateType'
        benchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Benchmark
        vsBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Vsbenchmark
        artistBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Artistbenchmark
        vsArtistBenchmark:
          anyOf:
          - type: number
          - type: 'null'
          title: Vsartistbenchmark
        costPerAction:
          anyOf:
          - type: number
          - type: 'null'
          title: Costperaction
        costPerActionUSD:
          type: number
          title: Costperactionusd
        frequency:
          anyOf:
          - type: number
          - type: 'null'
          title: Frequency
      type: object
      required:
      - platform
      - objective
      - clicks
      - impressions
      - reach
      - estimatedAdRecallers
      - viewsP25
      - views
      - purchases
      - follows
      - currency
      - spend
      - spendUSD
      - likes
      - completePayment
      - checkout
      - actions
      - actionType
      - rate
      - rateType
      - benchmark
      - vsBenchmark
      - artistBenchmark
      - vsArtistBenchmark
      - costPerAction
      - costPerActionUSD
      - frequency
      title: AdReportingCampaignToplinePerformance
    AdReportingConnectionCredentials:
      properties:
        connectionId:
          type: string
          title: Connectionid
        connectCardUri:
          type: string
          title: Connectcarduri
      type: object
      required:
      - connectionId
      - connectCardUri
      title: AdReportingConnectionCredentials
    AdReportingCreativeType:
      type: string
      enum:
      - IMAGE
      - VIDEO
      - YOUTUBE_VIDEO
      - INSTAGRAM_POST
      - TIKTOK_POST
      - IMAGE_THUMBNAIL
      - LINK
      title: AdReportingCreativeType
    AdReportingInvalidCampaignIdError:
      properties:
        code:
          type: string
          const: ad_reporting_invalid_campaign_id
          title: Code
        message:
          type: string
          title: Message
        campaignId:
          type: string
          title: Campaignid
      type: object
      required:
      - code
      - message
      - campaignId
      title: AdReportingInvalidCampaignIdError
    AdReportingInvalidReportIdError:
      properties:
        code:
          type: string
          const: ad_reporting_invalid_report_id
          title: Code
        message:
          type: string
          title: Message
        reportId:
          type: string
          title: Reportid
      type: object
      required:
      - code
      - message
      - reportId
      title: AdReportingInvalidReportIdError
    AdReportingObjective:
      type: string
      enum:
      - OUTCOME_AWARENESS
      - OUTCOME_SALES
      - OUTCOME_TRAFFIC
      - OUTCOME_ENGAGEMENT
      - OUTCOME_LEADS
      - OUTCOME_APP_PROMOTION
      - APP_PROMOTION
      - WEB_CONVERSIONS
      - PRODUCT_SALES
      - ENGAGEMENT
      - TRAFFIC
      - VIDEO_VIEWS
      - REACH
      - VIDEO
      - SEARCH
      - DISPLAY
      - LEAD_GENERATION
      - DEMAND_GEN
      - TOPVIEW_REACH
      - APP_INSTALLS
      - OTHER
      title: AdReportingObjective
    AdReportingPlatform:
      type: string
      enum:
      - META
      - TIKTOK
      - GOOGLE
      title: AdReportingPlatform
    AdReportingRateType:
      type: string
      enum:
      - VTR
      - CR
      - CTR
      - EARR
      - FR
      - FREQUENCY
      title: AdReportingRateType
    AdReportingReport:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        createdAt:
          type: string
          format: date-time
          title: Createdat
        createdBy:
          type: string
          title: Createdby
        updatedAt:
          type: string
          format: date-time
          title: Updatedat
      type: object
      required:
      - id
      - name
      - createdAt
      - createdBy
      - updatedAt
      title: AdReportingReport
    AdReportingReportLastCampaignDeleteError:
      properties:
        code:
          type: string
          const: ad_reporting_report_last_campaign_delete_error
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AdReportingReportLastCampaignDeleteError
    AdReportingReportNotFoundError:
      properties:
        code:
          type: string
          const: ad_reporting_report_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AdReportingReportNotFoundError
    AdReportingReportOverview:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        campaignsCount:
          type: integer
          title: Campaignscount
        startAt:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Startat
        endAt:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Endat
        impressions:
          type: integer
          title: Impressions
        clicks:
          type: integer
          title: Clicks
        viewsP25:
          type: integer
          title: Viewsp25
        views:
          type: integer
          title: Views
        currency:
          anyOf:
          - type: string
          - type: 'null'
          title: Currency
        spend:
          anyOf:
          - type: number
          - type: 'null'
          title: Spend
        spendUSD:
          type: number
          title: Spendusd
        likes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Likes
        completePayment:
          anyOf:
          - type: integer
          - type: 'null'
          title: Completepayment
        checkout:
          anyOf:
          - type: integer
          - type: 'null'
          title: Checkout
        toplinePerformance:
          items:
            $ref: '#/components/schemas/AdReportingCampaignToplinePerformance'
          type: array
          title: Toplineperformance
        toplineCountryPerformance:
          items:
            $ref: '#/components/schemas/AdReportingCampaignCountryToplinePerformance'
          type: array
          title: Toplinecountryperformance
        createdAt:
          type: string
          format: date-time
          title: Createdat
        createdBy:
          type: string
          title: Createdby
      type: object
      required:
      - id
      - name
      - campaignsCount
      - startAt
      - endAt
      - impressions
      - clicks
      - viewsP25
      - views
      - currency
      - spend
      - spendUSD
      - likes
      - completePayment
      - checkout
      - toplinePerformance
      - toplineCountryPerformance
      - createdAt
      - createdBy
      title: AdReportingReportOverview
    AdReportingReportUniqueNameError:
      properties:
        code:
          type: string
          const: ad_reporting_report_unique_name
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AdReportingReportUniqueNameError
    AdReportingReportView:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        globalParticipantIds:
          items:
            type: string
          type: array
          title: Globalparticipantids
        startAt:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Startat
        endAt:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Endat
        impressions:
          type: integer
          title: Impressions
        clicks:
          type: integer
          title: Clicks
        viewsP25:
          type: integer
          title: Viewsp25
        views:
          type: integer
          title: Views
        spendUSD:
          type: number
          title: Spendusd
        likes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Likes
        completePayment:
          anyOf:
          - type: integer
          - type: 'null'
          title: Completepayment
        checkout:
          anyOf:
          - type: integer
          - type: 'null'
          title: Checkout
        spend:
          type: number
          title: Spend
          description: In USD (deprecated)
        createdAt:
          type: string
          format: date-time
          title: Createdat
        createdBy:
          type: string
          title: Createdby
      type: object
      required:
      - id
      - name
      - globalParticipantIds
      - startAt
      - endAt
      - impressions
      - clicks
      - viewsP25
      - views
      - spendUSD
      - likes
      - completePayment
      - checkout
      - spend
      - createdAt
      - createdBy
      title: AdReportingReportView
    AdReportingSummary:
      properties:
        total:
          type: integer
          title: Total
        clicks:
          type: integer
          title: Clicks
        impressions:
          type: integer
          title: Impressions
        reach:
          anyOf:
          - type: integer
          - type: 'null'
          title: Reach
        estimatedAdRecallers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Estimatedadrecallers
        viewsP25:
          type: integer
          title: Viewsp25
        views:
          type: integer
          title: Views
        purchases:
          type: integer
          title: Purchases
        follows:
          type: integer
          title: Follows
        spend:
          anyOf:
          - type: number
          - type: 'null'
          title: Spend
        spendUSD:
          type: number
          title: Spendusd
        likes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Likes
        completePayment:
          anyOf:
          - type: integer
          - type: 'null'
          title: Completepayment
        checkout:
          anyOf:
          - type: integer
          - type: 'null'
          title: Checkout
        budget:
          anyOf:
          - type: number
          - type: 'null'
          title: Budget
        currency:
          anyOf:
          - type: string
          - type: 'null'
          title: Currency
        budgetUSD:
          anyOf:
          - type: number
          - type: 'null'
          title: Budgetusd
        budgetType:
          anyOf:
          - $ref: '#/components/schemas/AdReportingBudgetType'
          - type: 'null'
        actions:
          anyOf:
          - type: integer
          - type: 'null'
          title: Actions
        rate:
          anyOf:
          - type: number
          - type: 'null'
          title: Rate
        costPerAction:
          anyOf:
          - type: number
          - type: 'null'
          title: Costperaction
        costPerActionUSD:
          anyOf:
          - type: number
          - type: 'null'
          title: Costperactionusd
        frequency:
          anyOf:
          - type: number
          - type: 'null'
          title: Frequency
        actionType:
          anyOf:
          - $ref: '#/components/schemas/AdReportingActionType'
          - type: 'null'
        rateType:
          anyOf:
          - $ref: '#/components/schemas/AdReportingRateType'
          - type: 'null'
      type: object
      required:
      - total
      - clicks
      - impressions
      - reach
      - estimatedAdRecallers
      - viewsP25
      - views
      - purchases
      - follows
      - spend
      - spendUSD
      - likes
      - completePayment
      - checkout
      - budget
      - currency
      - budgetUSD
      - budgetType
      - actions
      - rate
      - costPerAction
      - costPerActionUSD
      - frequency
      - actionType
      - rateType
      title: AdReportingSummary
    AddAdReportingCampaignToReportsInput:
      properties:
        reportIds:
          items:
            type: string
          type: array
          minItems: 1
          uniqueItems: true
          title: Reportids
      type: object
      required:
      - reportIds
      title: AddAdReportingCampaignToReportsInput
    AddAdReportingReportToCampaignsInput:
      properties:
        campaignIds:
          anyOf:
          - items:
              type: string
            type: array
            uniqueItems: true
          - type: 'null'
          title: Campaignids
        search:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
        globalParticipantId:
          anyOf:
          - type: string
          - type: 'null'
          title: Globalparticipantid
        platform:
          anyOf:
          - $ref: '#/components/schemas/AdReportingPlatform'
          - type: 'null'
        objective:
          anyOf:
          - $ref: '#/components/schemas/AdReportingObjective'
          - type: 'null'
        countries:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Countries
      type: object
      title: AddAdReportingReportToCampaignsInput
    AddAdReportingReportToCampaignsOutput:
      properties:
        campaignsAdded:
          type: integer
          title: Campaignsadded
      type: object
      required:
      - campaignsAdded
      title: AddAdReportingReportToCampaignsOutput
    AgeRange:
      type: string
      enum:
      - FROM_13_TO_17
      - FROM_18_TO_22
      - FROM_23_TO_30
      - FROM_31_TO_40
      - FROM_41_TO_51
      - FROM_52_TO_60
      - FROM_61
      title: AgeRange
    AppConnectionNotFoundError:
      properties:
        code:
          type: string
          const: app_connection_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AppConnectionNotFoundError
    AppConnectionStatus:
      type: string
      enum:
      - CONNECTED
      - SYNCING
      - WAITING_FOR_PROCESSING
      - SYNCING_INITIAL
      - ERROR
      - PENDING
      - NOT_CONNECTED
      - DELETED
      title: AppConnectionStatus
    Artist:
      properties:
        globalParticipantId:
          type: string
          title: Globalparticipantid
        name:
          type: string
          title: Name
        labels:
          items:
            $ref: '#/components/schemas/LabelId'
          type: array
          title: Labels
      type: object
      required:
      - globalParticipantId
      - name
      - labels
      title: Artist
    ArtistAccount:
      properties:
        vendorId:
          type: integer
          title: Vendorid
        subaccountId:
          type: integer
          title: Subaccountid
        fansCount:
          type: integer
          title: Fanscount
          default: 0
      type: object
      required:
      - vendorId
      - subaccountId
      title: ArtistAccount
    ArtistFanDataType:
      type: string
      enum:
      - ACQUISITION_CHANNEL
      - HEAVY_ROTATION
      - FAN_SEGMENT
      - ACQUISITION_COUNTRY
      - ACQUISITION_CAMPAIGN
      title: ArtistFanDataType
    ArtistFansAlsoListeningOutput:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ArtistFansShareByArtist'
          type: array
          title: Items
      type: object
      required:
      - items
      title: ArtistFansAlsoListeningOutput
    ArtistFansCampaignSummaryValue:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        url:
          anyOf:
          - type: string
          - type: 'null'
          title: Url
        channel:
          $ref: '#/components/schemas/AcquisitionChannel'
        value:
          type: integer
          title: Value
        change:
          anyOf:
          - type: integer
          - type: 'null'
          title: Change
        createdAt:
          type: string
          format: date
          title: Createdat
      type: object
      required:
      - id
      - name
      - url
      - channel
      - value
      - change
      - createdAt
      title: ArtistFansCampaignSummaryValue
    ArtistFansCountOutput:
      properties:
        fansCount:
          type: integer
          title: Fanscount
        emailConsentFansCount:
          type: integer
          title: Emailconsentfanscount
        adConsentFansCount:
          type: integer
          title: Adconsentfanscount
        smsConsentFansCount:
          type: integer
          title: Smsconsentfanscount
          default: 0
      type: object
      required:
      - fansCount
      - emailConsentFansCount
      - adConsentFansCount
      title: ArtistFansCountOutput
    ArtistFansSegmentValue:
      properties:
        label:
          $ref: '#/components/schemas/FanSegment'
        value:
          type: integer
          title: Value
      type: object
      required:
      - label
      - value
      title: ArtistFansSegmentValue
    ArtistFansShareByAgeRange:
      properties:
        fansShare:
          type: number
          title: Fansshare
        ageRange:
          $ref: '#/components/schemas/AgeRange'
      type: object
      required:
      - fansShare
      - ageRange
      title: ArtistFansShareByAgeRange
    ArtistFansShareByAgeRangeOutput:
      properties:
        availableFansShare:
          type: number
          title: Availablefansshare
        items:
          items:
            $ref: '#/components/schemas/ArtistFansShareByAgeRange'
          type: array
          title: Items
      type: object
      required:
      - availableFansShare
      - items
      title: ArtistFansShareByAgeRangeOutput
    ArtistFansShareByArtist:
      properties:
        fansShare:
          type: number
          title: Fansshare
        globalParticipantId:
          type: string
          title: Globalparticipantid
      type: object
      required:
      - fansShare
      - globalParticipantId
      title: ArtistFansShareByArtist
    ArtistFansShareByCountryCountry:
      properties:
        fansShare:
          type: number
          title: Fansshare
        countryCode:
          type: string
          title: Countrycode
      type: object
      required:
      - fansShare
      - countryCode
      title: ArtistFansShareByCountryCountry
    ArtistFansShareByGender:
      properties:
        fansShare:
          type: number
          title: Fansshare
        gender:
          $ref: '#/components/schemas/Gender'
      type: object
      required:
      - fansShare
      - gender
      title: ArtistFansShareByGender
    ArtistFansShareByGenderOutput:
      properties:
        availableFansShare:
          type: number
          title: Availablefansshare
        items:
          items:
            $ref: '#/components/schemas/ArtistFansShareByGender'
          type: array
          title: Items
      type: object
      required:
      - availableFansShare
      - items
      title: ArtistFansShareByGenderOutput
    ArtistFansShareByHeavyRotation:
      properties:
        fansShare:
          type: number
          title: Fansshare
        heavyRotation:
          $ref: '#/components/schemas/HeavyRotation'
      type: object
      required:
      - fansShare
      - heavyRotation
      title: ArtistFansShareByHeavyRotation
    ArtistFansShareByHeavyRotationOutput:
      properties:
        availableFansShare:
          type: number
          title: Availablefansshare
        items:
          items:
            $ref: '#/components/schemas/ArtistFansShareByHeavyRotation'
          type: array
          title: Items
      type: object
      required:
      - availableFansShare
      - items
      title: ArtistFansShareByHeavyRotationOutput
    ArtistFansShareByLocationOutput:
      properties:
        availableFansShare:
          type: number
          title: Availablefansshare
        items:
          items:
            $ref: '#/components/schemas/ArtistFansShareByCountryCountry'
          type: array
          title: Items
      type: object
      required:
      - availableFansShare
      - items
      title: ArtistFansShareByLocationOutput
    ArtistFansSummaryValue:
      properties:
        id:
          type: string
          title: Id
        value:
          type: integer
          title: Value
        change:
          anyOf:
          - type: integer
          - type: 'null'
          title: Change
      type: object
      required:
      - id
      - value
      - change
      title: ArtistFansSummaryValue
    ArtistFansTimeseries:
      properties:
        id:
          type: string
          title: Id
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        channel:
          anyOf:
          - $ref: '#/components/schemas/AcquisitionChannel'
          - type: 'null'
        items:
          items:
            $ref: '#/components/schemas/ArtistFansTimeseriesValue'
          type: array
          title: Items
      type: object
      required:
      - id
      - items
      title: ArtistFansTimeseries
    ArtistFansTimeseriesValue:
      properties:
        date:
          type: string
          format: date
          title: Date
        value:
          type: integer
          title: Value
      type: object
      required:
      - date
      - value
      title: ArtistFansTimeseriesValue
    ArtistPhoneNumberNotFoundError:
      properties:
        code:
          type: string
          const: artist_phone_number_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: ArtistPhoneNumberNotFoundError
    ArtistSegmentActivityBreakdownOutput:
      properties:
        id:
          $ref: '#/components/schemas/FanSegment'
        count:
          type: integer
          title: Count
        items:
          items:
            $ref: '#/components/schemas/ArtistSegmentActivityByCategory'
          type: array
          title: Items
      type: object
      required:
      - id
      - count
      - items
      title: ArtistSegmentActivityBreakdownOutput
    ArtistSegmentActivityByCategory:
      properties:
        label:
          type: string
          title: Label
        value:
          type: number
          title: Value
      type: object
      required:
      - label
      - value
      title: ArtistSegmentActivityByCategory
    ArtistSegmentExplainedValue:
      properties:
        segment:
          $ref: '#/components/schemas/FanSegment'
        explanation:
          type: string
          title: Explanation
      type: object
      required:
      - segment
      - explanation
      title: ArtistSegmentExplainedValue
    ArtistWithId:
      properties:
        id:
          type: string
          title: Id
      type: object
      required:
      - id
      title: ArtistWithId
    AssignArtistToAdReportingCampaignInput:
      properties:
        globalParticipantId:
          type: string
          title: Globalparticipantid
      type: object
      required:
      - globalParticipantId
      title: AssignArtistToAdReportingCampaignInput
    AssignArtistsToAdReportingCampaignInput:
      properties:
        globalParticipantIds:
          items:
            type: string
          type: array
          minItems: 1
          uniqueItems: true
          title: Globalparticipantids
      type: object
      required:
      - globalParticipantIds
      title: AssignArtistsToAdReportingCampaignInput
    AssignLabelToUserAdAccountItem:
      properties:
        adAccountId:
          type: string
          title: Adaccountid
        vendorId:
          type: integer
          title: Vendorid
        subaccountId:
          type: integer
          title: Subaccountid
      type: object
      required:
      - adAccountId
      - vendorId
      - subaccountId
      title: AssignLabelToUserAdAccountItem
    AssignLabelsToGoogleUserAdAccountsInput:
      items:
        $ref: '#/components/schemas/AssignLabelToUserAdAccountItem'
      type: array
      title: AssignLabelsToGoogleUserAdAccountsInput
    AssignLabelsToMetaUserAdAccountsInput:
      items:
        $ref: '#/components/schemas/AssignLabelToUserAdAccountItem'
      type: array
      title: AssignLabelsToMetaUserAdAccountsInput
    AssignLabelsToTikTokUserAdAccountsInput:
      items:
        $ref: '#/components/schemas/AssignLabelToUserAdAccountItem'
      type: array
      title: AssignLabelsToTikTokUserAdAccountsInput
    Audience:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        vendorId:
          type: integer
          title: Vendorid
        subaccountId:
          type: integer
          title: Subaccountid
        fanDataListIds:
          items:
            $ref: '#/components/schemas/FanDataListId'
          type: array
          title: Fandatalistids
        target:
          $ref: '#/components/schemas/AudienceTarget'
        countries:
          items:
            type: string
          type: array
          title: Countries
        fanSegments:
          items:
            $ref: '#/components/schemas/FanSegment'
          type: array
          title: Fansegments
        filters:
          $ref: '#/components/schemas/AudienceFilters-Output'
        fanCount:
          type: integer
          title: Fancount
        isArchived:
          type: boolean
          title: Isarchived
        createdAt:
          type: string
          format: date-time
          title: Createdat
        createdBy:
          type: string
          title: Createdby
        updatedAt:
          type: string
          format: date-time
          title: Updatedat
        updatedBy:
          type: string
          title: Updatedby
        refreshedAt:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Refreshedat
        refreshedBy:
          anyOf:
          - type: string
          - type: 'null'
          title: Refreshedby
      type: object
      required:
      - id
      - name
      - vendorId
      - subaccountId
      - fanDataListIds
      - target
      - countries
      - fanSegments
      - filters
      - fanCount
      - isArchived
      - createdAt
      - createdBy
      - updatedAt
      - updatedBy
      - refreshedAt
      - refreshedBy
      title: Audience
    AudienceAdAccount:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        platform:
          $ref: '#/components/schemas/AudienceSharePlatform'
        isConnected:
          type: boolean
          title: Isconnected
        isSelfConnected:
          type: boolean
          title: Isselfconnected
        customAudienceTosAccepted:
          type: boolean
          title: Customaudiencetosaccepted
        customAudienceTosUrl:
          anyOf:
          - type: string
          - type: 'null'
          title: Customaudiencetosurl
      type: object
      required:
      - id
      - name
      - platform
      - isConnected
      - isSelfConnected
      - customAudienceTosAccepted
      - customAudienceTosUrl
      title: AudienceAdAccount
    AudienceCityFilterError:
      properties:
        code:
          type: string
          const: audience_city_filter_error
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AudienceCityFilterError
    AudienceExport:
      properties:
        id:
          type: string
          title: Id
        audienceId:
          type: string
          title: Audienceid
        audienceName:
          type: string
          title: Audiencename
        reason:
          $ref: '#/components/schemas/AudienceExportReason'
        justification:
          $ref: '#/components/schemas/AudienceExportJustification'
        reasonNotes:
          anyOf:
          - type: string
          - type: 'null'
          title: Reasonnotes
        status:
          $ref: '#/components/schemas/AudienceExportStatus'
        createdAt:
          type: string
          format: date-time
          title: Createdat
        createdBy:
          type: string
          title: Createdby
        updatedAt:
          type: string
          format: date-time
          title: Updatedat
      type: object
      required:
      - id
      - audienceId
      - audienceName
      - reason
      - justification
      - reasonNotes
      - status
      - createdAt
      - createdBy
      - updatedAt
      title: AudienceExport
    AudienceExportJustification:
      type: string
      enum:
      - RETARGETING
      - CONTEST_WINNER_SELECTION
      - EVENT_RSVP_LIST
      - LABEL_ARTIST_GIFT_TO_FANS
      - PARTNER_COLLABORATION
      - SEND_TO_ARTIST_MANAGEMENT
      - ARTIST_WEBSITE_USE
      - DROPPED_ARTIST
      - OTHER
      title: AudienceExportJustification
    AudienceExportNotFoundError:
      properties:
        code:
          type: string
          const: audience_export_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AudienceExportNotFoundError
    AudienceExportOutput:
      properties:
        export:
          $ref: '#/components/schemas/AudienceExport'
        presignedUrl:
          anyOf:
          - type: string
          - type: 'null'
          title: Presignedurl
      type: object
      required:
      - export
      - presignedUrl
      title: AudienceExportOutput
    AudienceExportReason:
      type: string
      enum:
      - ADS_META
      - ADS_TIKTOK
      - ADS_GOOGLE
      - ADS_SNAPCHAT
      - ADS_SPOTIFY
      - TEXT_COMMUNITY
      - TEXT_LAYOUT
      - TEXT_SUBTEXT
      - EMAIL_SALESFORCE
      title: AudienceExportReason
    AudienceExportStatus:
      type: string
      enum:
      - PENDING
      - PROCESSING
      - FAILED
      - COMPLETED
      - DELETED
      title: AudienceExportStatus
    AudienceFilters-Input:
      properties:
        countries:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Countries
          examples:
          - - GB
        excludeCountries:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Excludecountries
        cities:
          anyOf:
          - items:
              $ref: '#/components/schemas/CityFilter'
            type: array
          - type: 'null'
          title: Cities
        radius:
          anyOf:
          - type: number
          - type: 'null'
          title: Radius
        radiusUnit:
          anyOf:
          - type: string
            enum:
            - MI
            - KM
          - type: 'null'
          title: Radiusunit
        spendMin:
          anyOf:
          - type: number
          - type: 'null'
          title: Spendmin
        spendMax:
          anyOf:
          - type: number
          - type: 'null'
          title: Spendmax
        heavyRotationV2:
          anyOf:
          - $ref: '#/components/schemas/HeavyRotationV2InFilter'
          - type: 'null'
        dsp:
          anyOf:
          - $ref: '#/components/schemas/DigitalServiceProviderInFilter'
          - type: 'null'
        lastEngagement:
          anyOf:
          - $ref: '#/components/schemas/LastEngagementFilter'
          - type: 'null'
        fanSegments:
          anyOf:
          - $ref: '#/components/schemas/FanSegmentInFilter'
          - type: 'null'
        includeSecondaryFans:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Includesecondaryfans
        songwhipPresavePageIds:
          anyOf:
          - $ref: '#/components/schemas/SongwhipPresavePageInFilter'
          - type: 'null'
        songwhipCampaignIds:
          anyOf:
          - $ref: '#/components/schemas/SongwhipCampaignInFilter'
          - type: 'null'
        crmCampaigns:
          anyOf:
          - $ref: '#/components/schemas/CrmCampaignFilter'
          - type: 'null'
        crmSublists:
          anyOf:
          - $ref: '#/components/schemas/CrmSublistFilter'
          - type: 'null'
        emailCampaigns:
          anyOf:
          - $ref: '#/components/schemas/EmailCampaignsFilter'
          - type: 'null'
        genres:
          anyOf:
          - $ref: '#/components/schemas/FanGenreInFilter'
          - type: 'null'
        fanLanguages:
          anyOf:
          - $ref: '#/components/schemas/FanLanguageInFilter'
          - type: 'null'
        birthMonths:
          anyOf:
          - $ref: '#/components/schemas/BirthMonthInFilter'
          - type: 'null'
        regions:
          anyOf:
          - items:
              $ref: '#/components/schemas/RegionFilter'
            type: array
          - type: 'null'
          title: Regions
        excludedFanDataLists:
          anyOf:
          - items:
              $ref: '#/components/schemas/FanDataListId'
            type: array
          - type: 'null'
          title: Excludedfandatalists
      type: object
      title: AudienceFilters
    AudienceFilters-Output:
      properties:
        countries:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Countries
          examples:
          - - GB
        excludeCountries:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Excludecountries
        cities:
          anyOf:
          - items:
              $ref: '#/components/schemas/CityFilter'
            type: array
          - type: 'null'
          title: Cities
        radius:
          anyOf:
          - type: number
          - type: 'null'
          title: Radius
        radiusUnit:
          anyOf:
          - type: string
            enum:
            - MI
            - KM
          - type: 'null'
          title: Radiusunit
        spendMin:
          anyOf:
          - type: number
          - type: 'null'
          title: Spendmin
        spendMax:
          anyOf:
          - type: number
          - type: 'null'
          title: Spendmax
        heavyRotationV2:
          anyOf:
          - $ref: '#/components/schemas/HeavyRotationV2InFilter'
          - type: 'null'
        dsp:
          anyOf:
          - $ref: '#/components/schemas/DigitalServiceProviderInFilter'
          - type: 'null'
        lastEngagement:
          anyOf:
          - $ref: '#/components/schemas/LastEngagementFilter'
          - type: 'null'
        fanSegments:
          anyOf:
          - $ref: '#/components/schemas/FanSegmentInFilter'
          - type: 'null'
        includeSecondaryFans:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Includesecondaryfans
        songwhipPresavePageIds:
          anyOf:
          - $ref: '#/components/schemas/SongwhipPresavePageInFilter'
          - type: 'null'
        songwhipCampaignIds:
          anyOf:
          - $ref: '#/components/schemas/SongwhipCampaignInFilter'
          - type: 'null'
        crmCampaigns:
          anyOf:
          - $ref: '#/components/schemas/CrmCampaignFilter'
          - type: 'null'
        crmSublists:
          anyOf:
          - $ref: '#/components/schemas/CrmSublistFilter'
          - type: 'null'
        emailCampaigns:
          anyOf:
          - $ref: '#/components/schemas/EmailCampaignsFilter'
          - type: 'null'
        genres:
          anyOf:
          - $ref: '#/components/schemas/FanGenreInFilter'
          - type: 'null'
        fanLanguages:
          anyOf:
          - $ref: '#/components/schemas/FanLanguageInFilter'
          - type: 'null'
        birthMonths:
          anyOf:
          - $ref: '#/components/schemas/BirthMonthInFilter'
          - type: 'null'
        regions:
          anyOf:
          - items:
              $ref: '#/components/schemas/RegionFilter'
            type: array
          - type: 'null'
          title: Regions
        excludedFanDataLists:
          anyOf:
          - items:
              $ref: '#/components/schemas/FanDataListId'
            type: array
          - type: 'null'
          title: Excludedfandatalists
      type: object
      title: AudienceFilters
    AudienceNotFoundError:
      properties:
        code:
          type: string
          const: audience_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AudienceNotFoundError
    AudienceShare:
      properties:
        id:
          type: string
          title: Id
        platform:
          $ref: '#/components/schemas/AudienceSharePlatform'
        status:
          $ref: '#/components/schemas/AudienceExportStatus'
        fansCount:
          type: integer
          title: Fanscount
        createdAt:
          type: string
          format: date-time
          title: Createdat
      type: object
      required:
      - id
      - platform
      - status
      - fansCount
      - createdAt
      title: AudienceShare
    AudienceShareActiveConnectionNotFoundError:
      properties:
        code:
          type: string
          const: audience_share_active_connection_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AudienceShareActiveConnectionNotFoundError
    AudienceShareError:
      properties:
        code:
          type: string
          const: audience_share_error
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AudienceShareError
    AudienceShareNotFoundError:
      properties:
        code:
          type: string
          const: audience_share_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AudienceShareNotFoundError
    AudienceSharePlatform:
      type: string
      enum:
      - META
      - TIKTOK
      - GOOGLE
      title: AudienceSharePlatform
    AudienceSizeOutput:
      properties:
        size:
          type: integer
          title: Size
        createdAt:
          type: string
          format: date-time
          title: Createdat
      type: object
      required:
      - size
      - createdAt
      title: AudienceSizeOutput
    AudienceTarget:
      type: string
      enum:
      - ADS
      - TEXT
      - EMAIL
      title: AudienceTarget
    AudienceTargetNotSupportedError:
      properties:
        code:
          type: string
          const: audience_target_not_supported
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AudienceTargetNotSupportedError
    AudienceTooSmallError:
      properties:
        code:
          type: string
          const: audience_too_small
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: AudienceTooSmallError
    BirthMonth:
      type: string
      enum:
      - JAN
      - FEB
      - MAR
      - APR
      - MAY
      - JUN
      - JUL
      - AUG
      - SEP
      - OCT
      - NOV
      - DEC
      title: BirthMonth
    BirthMonthInFilter:
      properties:
        value:
          items:
            $ref: '#/components/schemas/BirthMonth'
          type: array
          title: Value
        operator:
          $ref: '#/components/schemas/Operator'
      type: object
      required:
      - value
      - operator
      title: BirthMonthInFilter
    CampaignType:
      type: string
      enum:
      - TEXT
      - EMAIL
    CityFilter:
      properties:
        placeId:
          type: string
          title: Placeid
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        countryIso2:
          anyOf:
          - type: string
          - type: 'null'
          title: Countryiso2
        cityId:
          anyOf:
          - type: string
          - type: 'null'
          title: Cityid
        postalCode:
          anyOf:
          - type: string
          - type: 'null'
          title: Postalcode
        latitude:
          anyOf:
          - type: number
          - type: 'null'
          title: Latitude
        longitude:
          anyOf:
          - type: number
          - type: 'null'
          title: Longitude
        boundingRadiusInKm:
          anyOf:
          - type: number
          - type: 'null'
          title: Boundingradiusinkm
      type: object
      required:
      - placeId
      title: CityFilter
    ConnectGoogleAdReportingInput:
      properties:
        userId:
          type: string
          title: Userid
        redirectUri:
          type: string
          minLength: 1
          format: uri
          title: Redirecturi
      type: object
      required:
      - userId
      - redirectUri
      title: ConnectGoogleAdReportingInput
    ConnectGoogleUserInput:
      properties:
        authCode:
          type: string
          title: Authcode
        redirectUri:
          type: string
          title: Redirecturi
        codeVerifier:
          type: string
          title: Codeverifier
      type: object
      required:
      - authCode
      - redirectUri
      - codeVerifier
      title: ConnectGoogleUserInput
    ConnectMetaAdReportingInput:
      properties:
        redirectUri:
          type: string
          minLength: 1
          format: uri
          title: Redirecturi
      type: object
      required:
      - redirectUri
      title: ConnectMetaAdReportingInput
    ConnectMetaUserInput:
      properties:
        userId:
          type: string
          title: Userid
        accessToken:
          type: string
          title: Accesstoken
      type: object
      required:
      - userId
      - accessToken
      title: ConnectMetaUserInput
    ConnectTikTokAdReportingInput:
      properties:
        userId:
          type: string
          title: Userid
        redirectUri:
          type: string
          minLength: 1
          format: uri
          title: Redirecturi
      type: object
      required:
      - userId
      - redirectUri
      title: ConnectTikTokAdReportingInput
    ConnectTikTokUserInput:
      properties:
        accessToken:
          type: string
          title: Accesstoken
      type: object
      required:
      - accessToken
      title: ConnectTikTokUserInput
    CreateAdReportingReportInput:
      properties:
        name:
          type: string
          minLength: 1
          title: Name
        campaignIds:
          anyOf:
          - items:
              type: string
            type: array
            uniqueItems: true
          - type: 'null'
          title: Campaignids
        search:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
        globalParticipantId:
          anyOf:
          - type: string
          - type: 'null'
          title: Globalparticipantid
        platform:
          anyOf:
          - $ref: '#/components/schemas/AdReportingPlatform'
          - type: 'null'
        objective:
          anyOf:
          - $ref: '#/components/schemas/AdReportingObjective'
          - type: 'null'
        countries:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Countries
      type: object
      required:
      - name
      title: CreateAdReportingReportInput
    CreateAudienceInput:
      properties:
        name:
          type: string
          minLength: 1
          title: Name
        vendorId:
          type: integer
          title: Vendorid
        subaccountId:
          type: integer
          title: Subaccountid
        fanDataListIds:
          items:
            $ref: '#/components/schemas/FanDataListId'
          type: array
          title: Fandatalistids
          default: []
        target:
          $ref: '#/components/schemas/AudienceTarget'
        filters:
          $ref: '#/components/schemas/AudienceFilters-Input'
      type: object
      required:
      - name
      - vendorId
      - subaccountId
      - target
      - filters
      title: CreateAudienceInput
    CreateTargetAudienceOutput:
      properties:
        fanCount:
          type: integer
          title: Fancount
      type: object
      required:
      - fanCount
      title: CreateTargetAudienceOutput
    CrmCampaign:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        url:
          anyOf:
          - type: string
          - type: 'null'
          title: Url
        acquisitionChannel:
          $ref: '#/components/schemas/AcquisitionChannel'
        fanDataListId:
          $ref: '#/components/schemas/FanDataListId'
        createdAt:
          type: string
          format: date-time
          title: Createdat
      type: object
      required:
      - id
      - name
      - url
      - acquisitionChannel
      - fanDataListId
      - createdAt
      title: CrmCampaign
    CrmCampaignFilter:
      properties:
        value:
          items:
            type: string
          type: array
          title: Value
        operator:
          $ref: '#/components/schemas/Operator'
      type: object
      required:
      - value
      - operator
      title: CrmCampaignFilter
    CrmCampaigns:
      properties:
        items:
          items:
            $ref: '#/components/schemas/CrmCampaign'
          type: array
          title: Items
      type: object
      required:
      - items
      title: CrmCampaigns
    CrmSublist:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        fanDataListId:
          $ref: '#/components/schemas/FanDataListId'
        territoryName:
          anyOf:
          - type: string
          - type: 'null'
          title: Territoryname
        labelName:
          anyOf:
          - type: string
          - type: 'null'
          title: Labelname
      type: object
      required:
      - id
      - name
      - fanDataListId
      title: CrmSublist
    CrmSublistFilter:
      properties:
        value:
          items:
            type: string
          type: array
          title: Value
        operator:
          $ref: '#/components/schemas/Operator'
      type: object
      required:
      - value
      - operator
      title: CrmSublistFilter
    CrmSublists:
      properties:
        items:
          items:
            $ref: '#/components/schemas/CrmSublist'
          type: array
          title: Items
      type: object
      required:
      - items
      title: CrmSublists
    DigitalServiceProvider:
      type: string
      enum:
      - APPLE
      - SPOTIFY
      - DEEZER
      - YOUTUBE
      - AMAZON
      title: DigitalServiceProvider
    DigitalServiceProviderInFilter:
      properties:
        value:
          items:
            $ref: '#/components/schemas/DigitalServiceProvider'
          type: array
          title: Value
        operator:
          $ref: '#/components/schemas/Operator'
      type: object
      required:
      - value
      - operator
      title: DigitalServiceProviderInFilter
    EditAdReportingReportInput:
      properties:
        name:
          type: string
          minLength: 1
          title: Name
      type: object
      required:
      - name
      title: EditAdReportingReportInput
    EmailCampaignAction:
      type: string
      enum:
      - DELIVERED
      - OPENED
      - CLICKED
      title: EmailCampaignAction
    EmailCampaignsFilter:
      properties:
        value:
          items:
            type: string
          type: array
          title: Value
        operator:
          $ref: '#/components/schemas/Operator'
        action:
          $ref: '#/components/schemas/EmailCampaignAction'
      type: object
      required:
      - value
      - operator
      - action
      title: EmailCampaignsFilter
    EmptyAudienceError:
      properties:
        code:
          type: string
          const: empty_audience
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: EmptyAudienceError
    ExportAudienceInput:
      properties:
        reason:
          $ref: '#/components/schemas/AudienceExportReason'
        justification:
          $ref: '#/components/schemas/AudienceExportJustification'
        reasonNotes:
          anyOf:
          - type: string
          - type: 'null'
          title: Reasonnotes
      type: object
      required:
      - reason
      - justification
      title: ExportAudienceInput
    FanDataList:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        isMainRep:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Ismainrep
      type: object
      required:
      - id
      - name
      title: FanDataList
    FanDataListDetail:
      properties:
        name:
          type: string
          title: Name
        vendorId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
        subaccountId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
        fansCount:
          type: integer
          title: Fanscount
        globalParticipantId:
          anyOf:
          - type: string
          - type: 'null'
          title: Globalparticipantid
        customListId:
          anyOf:
          - type: string
          - type: 'null'
          title: Customlistid
        fansCount7DaysChange:
          type: integer
          title: Fanscount7Dayschange
        fansCount28DaysChange:
          type: integer
          title: Fanscount28Dayschange
        fansCount6MonthChange:
          type: integer
          title: Fanscount6Monthchange
        fansCount1YearChange:
          type: integer
          title: Fanscount1Yearchange
        fansCount7DaysPercentChange:
          type: number
          title: Fanscount7Dayspercentchange
        fansCount28DaysPercentChange:
          type: number
          title: Fanscount28Dayspercentchange
        fansCount6MonthPercentChange:
          type: number
          title: Fanscount6Monthpercentchange
        fansCount1YearPercentChange:
          type: number
          title: Fanscount1Yearpercentchange
        fanDataOwner:
          type: boolean
          title: Fandataowner
          default: true
        spotifyMonthlyListeners:
          anyOf:
          - type: integer
          - type: 'null'
          title: Spotifymonthlylisteners
        instagramFollowers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Instagramfollowers
        tiktokFollowers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Tiktokfollowers
        spotifyFollowers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Spotifyfollowers
        facebookFollowers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Facebookfollowers
        youtubeFollowers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Youtubefollowers
        twitterFollowers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Twitterfollowers
        soundcloudFollowers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Soundcloudfollowers
        deezerFollowers:
          anyOf:
          - type: integer
          - type: 'null'
          title: Deezerfollowers
        engagementBenchmark:
          anyOf:
          - type: integer
          - type: 'null'
          title: Engagementbenchmark
        engagementRatio:
          type: number
          title: Engagementratio
        emailConsentFansCount:
          type: integer
          title: Emailconsentfanscount
        adConsentFansCount:
          type: integer
          title: Adconsentfanscount
        smsConsentFansCount:
          type: integer
          title: Smsconsentfanscount
          default: 0
      type: object
      required:
      - name
      - vendorId
      - subaccountId
      - fansCount
      - globalParticipantId
      - customListId
      - fansCount7DaysChange
      - fansCount28DaysChange
      - fansCount6MonthChange
      - fansCount1YearChange
      - fansCount7DaysPercentChange
      - fansCount28DaysPercentChange
      - fansCount6MonthPercentChange
      - fansCount1YearPercentChange
      - spotifyMonthlyListeners
      - instagramFollowers
      - tiktokFollowers
      - spotifyFollowers
      - facebookFollowers
      - youtubeFollowers
      - twitterFollowers
      - soundcloudFollowers
      - deezerFollowers
      - engagementBenchmark
      - engagementRatio
      - emailConsentFansCount
      - adConsentFansCount
      title: FanDataListDetail
    FanDataListId:
      properties:
        id:
          type: string
          title: Id
        type:
          $ref: '#/components/schemas/FanDataListType'
      type: object
      required:
      - id
      - type
      title: FanDataListId
    FanDataListIdIsRequiredError:
      properties:
        code:
          type: string
          const: fandata_list_id_is_required
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: FanDataListIdIsRequiredError
    FanDataListType:
      type: string
      enum:
      - ARTIST
      - CUSTOM_LIST
      title: FanDataListType
    FanGenreInFilter:
      properties:
        value:
          items:
            $ref: '#/components/schemas/Genre'
          type: array
          title: Value
        operator:
          $ref: '#/components/schemas/Operator'
      type: object
      required:
      - value
      - operator
      title: FanGenreInFilter
    FanLanguageInFilter:
      properties:
        value:
          items:
            type: string
          type: array
          title: Value
        operator:
          $ref: '#/components/schemas/Operator'
      type: object
      required:
      - value
      - operator
      title: FanLanguageInFilter
    FanSegment:
      type: string
      enum:
      - SUPER_FANS
      - ENGAGED_FANS
      - CASUAL_FANS
      - FANS_TO_WIN_BACK
      - NEW_FANS
      - SECONDARY_FANS
      - UNSEGMENTED_FANS
      title: FanSegment
    FanSegmentInFilter:
      properties:
        value:
          items:
            $ref: '#/components/schemas/FanSegment'
          type: array
          title: Value
        operator:
          $ref: '#/components/schemas/Operator'
      type: object
      required:
      - value
      - operator
      title: FanSegmentInFilter
    Gender:
      type: string
      enum:
      - MALE
      - FEMALE
      - PREFER_NOT_TO_ANSWER
      - NON_BINARY_OTHER
      title: Gender
    Genre:
      type: string
      enum:
      - ROCK
      - POP
      - COUNTRY
      - METAL
      - JAZZ
      - URBANO
      - BALLAD
      - TROPICAL
      - CLASSICAL
      - BLUES
      - SOUL
      title: Genre
    GetAdReportingAdSetsOutput:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/AdReportingAdSet'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
        summary:
          $ref: '#/components/schemas/AdReportingSummary'
      type: object
      required:
      - total
      - items
      - limit
      - offset
      - summary
      title: GetAdReportingAdSetsOutput
    GetAdReportingAdsGroupedResponse:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/AdReportingAdGroup'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
        summary:
          $ref: '#/components/schemas/AdReportingSummary'
      type: object
      required:
      - total
      - items
      - limit
      - offset
      - summary
      title: GetAdReportingAdsGroupedResponse
    GetAdReportingAdsOutput:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/AdReportingAd'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
        summary:
          $ref: '#/components/schemas/AdReportingSummary'
      type: object
      required:
      - total
      - items
      - limit
      - offset
      - summary
      title: GetAdReportingAdsOutput
    GetAdReportingCampaignsOutput:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/AdReportingCampaign'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
        summary:
          $ref: '#/components/schemas/AdReportingSummary'
      type: object
      required:
      - total
      - items
      - limit
      - offset
      - summary
      title: GetAdReportingCampaignsOutput
    GetArtistAccountsWithFanDataOutput:
      properties:
        hasFanData:
          type: boolean
          title: Hasfandata
        hasGlobalFanDataList:
          type: boolean
          title: Hasglobalfandatalist
        accounts:
          items:
            $ref: '#/components/schemas/LabelId'
          type: array
          title: Accounts
      type: object
      required:
      - hasFanData
      - hasGlobalFanDataList
      - accounts
      title: GetArtistAccountsWithFanDataOutput
    GetArtistMaxSpendOutput:
      properties:
        maxSpend:
          type: number
          title: Maxspend
      type: object
      required:
      - maxSpend
      title: GetArtistMaxSpendOutput
    GetArtistsOutput:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/Artist'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
      - total
      - items
      - limit
      - offset
      title: GetArtistsOutput
    GetArtistsV2Output:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/Participant'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
      - total
      - items
      - limit
      - offset
      title: GetArtistsV2Output
    GetAudienceSizeInput:
      properties:
        vendorId:
          type: integer
          title: Vendorid
        target:
          $ref: '#/components/schemas/AudienceTarget'
        subaccountId:
          type: integer
          title: Subaccountid
        fanDataListIds:
          items:
            $ref: '#/components/schemas/FanDataListId'
          type: array
          title: Fandatalistids
          default: []
        filters:
          $ref: '#/components/schemas/AudienceFilters-Input'
      type: object
      required:
      - vendorId
      - target
      - subaccountId
      - filters
      title: GetAudienceSizeInput
    GetParticipantsOutput:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/Participant'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
      - total
      - items
      - limit
      - offset
      title: GetParticipantsOutput
    GetShopifyMaxSpendOutput:
      properties:
        maxSpend:
          type: number
          title: Maxspend
      type: object
      required:
      - maxSpend
      title: GetShopifyMaxSpendOutput
    GlobalFanDataListNotAvailableError:
      properties:
        code:
          type: string
          const: global_fan_data_list_not_available
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: GlobalFanDataListNotAvailableError
    GoogleAdAccount:
      properties:
        id:
          type: string
          title: Id
        userAdAccountId:
          anyOf:
          - type: string
          - type: 'null'
          title: Useradaccountid
        userId:
          anyOf:
          - type: string
          - type: 'null'
          title: Userid
          description: Google user id
        externalId:
          type: string
          title: Externalid
        name:
          type: string
          title: Name
        vendorId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
        subaccountId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
        isSelfConnected:
          type: boolean
          title: Isselfconnected
        userConnectionStatus:
          $ref: '#/components/schemas/MetaUserConnectionStatus'
        userSelfConnected:
          type: boolean
          title: Userselfconnected
        adReportingConnectionStatus:
          $ref: '#/components/schemas/AppConnectionStatus'
        adReportingSelfConnected:
          type: boolean
          title: Adreportingselfconnected
        sharingUserId:
          anyOf:
          - type: string
          - type: 'null'
          title: Sharinguserid
          description: Google user id for sharing connection
        reportingUserId:
          anyOf:
          - type: string
          - type: 'null'
          title: Reportinguserid
          description: Google user id for reporting connection
        campaignsCount:
          type: integer
          title: Campaignscount
      type: object
      required:
      - id
      - userAdAccountId
      - userId
      - externalId
      - name
      - vendorId
      - subaccountId
      - isSelfConnected
      - userConnectionStatus
      - userSelfConnected
      - adReportingConnectionStatus
      - adReportingSelfConnected
      - sharingUserId
      - reportingUserId
      - campaignsCount
      title: GoogleAdAccount
    GoogleAdAccountNotFoundError:
      properties:
        code:
          type: string
          const: google_ad_account_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: GoogleAdAccountNotFoundError
    GoogleAdReportingConnection:
      properties:
        status:
          $ref: '#/components/schemas/AppConnectionStatus'
        adAccountsCount:
          type: integer
          title: Adaccountscount
      type: object
      required:
      - status
      - adAccountsCount
      title: GoogleAdReportingConnection
    GoogleAdReportingConnectionNotFoundError:
      properties:
        code:
          type: string
          const: google_ad_reporting_connection_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: GoogleAdReportingConnectionNotFoundError
    GoogleAudience:
      properties:
        id:
          type: string
          title: Id
        externalId:
          type: string
          title: Externalid
        name:
          type: string
          title: Name
        fansCount:
          type: integer
          title: Fanscount
        createdAt:
          type: string
          format: date-time
          title: Createdat
      type: object
      required:
      - id
      - externalId
      - name
      - fansCount
      - createdAt
      title: GoogleAudience
    GoogleAudienceNotFoundError:
      properties:
        code:
          type: string
          const: google_audience_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: GoogleAudienceNotFoundError
    GoogleAudienceShare:
      properties:
        audienceId:
          type: string
          title: Audienceid
        audienceExternalId:
          type: string
          title: Audienceexternalid
        userListResource:
          type: string
          title: Userlistresource
        audienceName:
          type: string
          title: Audiencename
        fansCount:
          type: integer
          title: Fanscount
        adAccountExternalId:
          type: string
          title: Adaccountexternalid
        parentAdAccountExternalId:
          anyOf:
          - type: string
          - type: 'null'
          title: Parentadaccountexternalid
        userAccessToken:
          type: string
          title: Useraccesstoken
      type: object
      required:
      - audienceId
      - audienceExternalId
      - userListResource
      - audienceName
      - fansCount
      - adAccountExternalId
      - parentAdAccountExternalId
      - userAccessToken
      title: GoogleAudienceShare
    GoogleAudienceShareStatus:
      properties:
        audienceId:
          type: string
          title: Audienceid
        audienceName:
          type: string
          title: Audiencename
        adAccountName:
          type: string
          title: Adaccountname
        status:
          $ref: '#/components/schemas/AudienceExportStatus'
        fansCount:
          type: integer
          title: Fanscount
        processedFans:
          type: integer
          title: Processedfans
        progress:
          type: number
          title: Progress
        secondsRemaining:
          anyOf:
          - type: integer
          - type: 'null'
          title: Secondsremaining
        url:
          type: string
          title: Url
      type: object
      required:
      - audienceId
      - audienceName
      - adAccountName
      - status
      - fansCount
      - processedFans
      - progress
      - secondsRemaining
      - url
      title: GoogleAudienceShareStatus
    GoogleUser:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        grantedScopes:
          items:
            type: string
          type: array
          title: Grantedscopes
      type: object
      required:
      - id
      - name
      - grantedScopes
      title: GoogleUser
    GoogleUserAdAccount:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        vendorId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
        subaccountId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      type: object
      required:
      - id
      - name
      - vendorId
      - subaccountId
      title: GoogleUserAdAccount
    GoogleUserAdAccountNotFoundError:
      properties:
        code:
          type: string
          const: google_user_ad_account_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: GoogleUserAdAccountNotFoundError
    GoogleUserConnection:
      properties:
        user:
          anyOf:
          - $ref: '#/components/schemas/GoogleUser'
          - type: 'null'
        status:
          $ref: '#/components/schemas/GoogleUserConnectionStatus'
        requiredScopes:
          items:
            type: string
          type: array
          title: Requiredscopes
        adAccounts:
          items:
            $ref: '#/components/schemas/GoogleUserConnectionAdAccount'
          type: array
          title: Adaccounts
        adAccountsCount:
          type: integer
          title: Adaccountscount
      type: object
      required:
      - user
      - status
      - requiredScopes
      - adAccounts
      - adAccountsCount
      title: GoogleUserConnection
    GoogleUserConnectionAdAccount:
      properties:
        id:
          type: string
          title: Id
        externalId:
          type: string
          title: Externalid
        name:
          type: string
          title: Name
      type: object
      required:
      - id
      - externalId
      - name
      title: GoogleUserConnectionAdAccount
    GoogleUserConnectionNotFoundError:
      properties:
        code:
          type: string
          const: google_user_connection_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: GoogleUserConnectionNotFoundError
    GoogleUserConnectionStatus:
      type: string
      enum:
      - CONNECTED
      - SCOPES_MISSING
      - INVALID
      - NOT_CONNECTED
      title: GoogleUserConnectionStatus
    HTTPValidationError:
      title: HTTPValidationError
      type: object
      properties:
        message:
          title: Message
          type: string
        code:
          title: Error code
          type: string
        fieldErrors:
          title: Field errors
          type: object
          additionalProperties:
            $ref: '#/components/schemas/FieldError'
      required:
      - message
      - code
      - fields
      example:
        message: Invalid input
        code: invalid_input
        fieldErrors:
          name:
            message: Cannot be blank
            code: missing
          email:
            message: Not valid email
            code: invalid_email
    HeavyRotation:
      type: string
      enum:
      - IN
      - NOT_IN
      - UNKNOWN
      title: HeavyRotation
    HeavyRotationFilter:
      type: string
      enum:
      - IN
      - NOT_IN
      title: HeavyRotationFilter
    HeavyRotationV2InFilter:
      properties:
        value:
          items:
            $ref: '#/components/schemas/HeavyRotationFilter'
          type: array
          title: Value
        operator:
          $ref: '#/components/schemas/Operator'
      type: object
      required:
      - value
      - operator
      title: HeavyRotationV2InFilter
    HelloResponse:
      properties:
        status:
          type: string
          title: Status
          default: ok
      type: object
      title: HelloResponse
    InvalidGlobalParticipantIdError:
      properties:
        code:
          type: string
          const: invalid_global_participant_id
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: InvalidGlobalParticipantIdError
    InvalidGoogleAdAccountId:
      properties:
        code:
          type: string
          const: invalid_google_ad_account_id
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: InvalidGoogleAdAccountId
    InvalidTikTokAdAccountId:
      properties:
        code:
          type: string
          const: invalid_tiktok_ad_account_id
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: InvalidTikTokAdAccountId
    LabelId:
      properties:
        vendorId:
          type: integer
          title: Vendorid
        subaccountId:
          type: integer
          title: Subaccountid
      type: object
      required:
      - vendorId
      - subaccountId
      title: LabelId
    LastEngagement:
      type: string
      enum:
      - PAST_WEEK
      - PAST_2_WEEKS
      - PAST_28_DAYS
      - PAST_6_MONTHS
      - PAST_YEAR
      title: LastEngagement
    LastEngagementFilter:
      properties:
        value:
          $ref: '#/components/schemas/LastEngagement'
        operator:
          $ref: '#/components/schemas/Operator'
      type: object
      required:
      - value
      - operator
      title: LastEngagementFilter
    LimitOffsetPage_AdReportingAdSetIdName_:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/AdReportingAdSetIdName'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
      - total
      - items
      - limit
      - offset
      title: LimitOffsetPage[AdReportingAdSetIdName]
    LimitOffsetPage_AdReportingCampaignIdName_:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/AdReportingCampaignIdName'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
      - total
      - items
      - limit
      - offset
      title: LimitOffsetPage[AdReportingCampaignIdName]
    LimitOffsetPage_AdReportingReportView_:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/AdReportingReportView'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
      - total
      - items
      - limit
      - offset
      title: LimitOffsetPage[AdReportingReportView]
    LimitOffsetPage_Audience_:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/Audience'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
      - total
      - items
      - limit
      - offset
      title: LimitOffsetPage[Audience]
    LimitOffsetPage_FanDataListDetail_:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/FanDataListDetail'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
      - total
      - items
      - limit
      - offset
      title: LimitOffsetPage[FanDataListDetail]
    LimitOffsetPage_GoogleAdAccount_:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/GoogleAdAccount'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
      - total
      - items
      - limit
      - offset
      title: LimitOffsetPage[GoogleAdAccount]
    LimitOffsetPage_MetaAdAccount_:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/MetaAdAccount'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
      - total
      - items
      - limit
      - offset
      title: LimitOffsetPage[MetaAdAccount]
    LimitOffsetPage_ShopifyStore_:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/ShopifyStore'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
      - total
      - items
      - limit
      - offset
      title: LimitOffsetPage[ShopifyStore]
    LimitOffsetPage_TikTokAdAccount_:
      properties:
        total:
          type: integer
          title: Total
        items:
          items:
            $ref: '#/components/schemas/TikTokAdAccount'
          type: array
          title: Items
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
      - total
      - items
      - limit
      - offset
      title: LimitOffsetPage[TikTokAdAccount]
    MainRepArtistOnlyAllowedError:
      properties:
        code:
          type: string
          const: main_rep_artist_only_allowed
          title: Code
        message:
          type: string
          title: Message
        globalParticipantId:
          type: string
          title: Globalparticipantid
      type: object
      required:
      - code
      - message
      - globalParticipantId
      title: MainRepArtistOnlyAllowedError
    MetaAdAccount:
      properties:
        id:
          type: string
          title: Id
        userAdAccountId:
          anyOf:
          - type: string
          - type: 'null'
          title: Useradaccountid
        externalId:
          type: string
          title: Externalid
        name:
          type: string
          title: Name
        businessAccountName:
          anyOf:
          - type: string
          - type: 'null'
          title: Businessaccountname
        businessAccountPicture:
          anyOf:
          - type: string
          - type: 'null'
          title: Businessaccountpicture
        vendorId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
        subaccountId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
        isSelfConnected:
          type: boolean
          title: Isselfconnected
        userConnectionStatus:
          $ref: '#/components/schemas/MetaUserConnectionStatus'
        userSelfConnected:
          type: boolean
          title: Userselfconnected
        adReportingConnectionStatus:
          $ref: '#/components/schemas/AppConnectionStatus'
        adReportingSelfConnected:
          type: boolean
          title: Adreportingselfconnected
        campaignsCount:
          type: integer
          title: Campaignscount
      type: object
      required:
      - id
      - userAdAccountId
      - externalId
      - name
      - businessAccountName
      - businessAccountPicture
      - vendorId
      - subaccountId
      - isSelfConnected
      - userConnectionStatus
      - userSelfConnected
      - adReportingConnectionStatus
      - adReportingSelfConnected
      - campaignsCount
      title: MetaAdAccount
    MetaAdAccountNotFoundError:
      properties:
        code:
          type: string
          const: meta_ad_account_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: MetaAdAccountNotFoundError
    MetaAdAccountPermissionsError:
      properties:
        code:
          type: string
          const: meta_ad_account_permissions_error
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: MetaAdAccountPermissionsError
    MetaAdAccountTermsOfServiceError:
      properties:
        code:
          type: string
          const: meta_ad_account_terms_of_service_error
          title: Code
        message:
          type: string
          title: Message
        acceptTermsUrl:
          type: string
          title: Accepttermsurl
      type: object
      required:
      - code
      - message
      - acceptTermsUrl
      title: MetaAdAccountTermsOfServiceError
    MetaAdReportingConnection:
      properties:
        status:
          $ref: '#/components/schemas/AppConnectionStatus'
        adAccountsCount:
          type: integer
          title: Adaccountscount
      type: object
      required:
      - status
      - adAccountsCount
      title: MetaAdReportingConnection
    MetaAdReportingConnectionConflictError:
      properties:
        code:
          type: string
          const: meta_ad_reporting_connection_conflict
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: MetaAdReportingConnectionConflictError
    MetaAdReportingConnectionNotFoundError:
      properties:
        code:
          type: string
          const: meta_ad_reporting_connection_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: MetaAdReportingConnectionNotFoundError
    MetaAdReportingConnectionSyncingError:
      properties:
        code:
          type: string
          const: meta_ad_reporting_connection_syncing
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: MetaAdReportingConnectionSyncingError
    MetaAudience:
      properties:
        id:
          type: string
          title: Id
        externalId:
          type: string
          title: Externalid
        name:
          type: string
          title: Name
        fansCount:
          type: integer
          title: Fanscount
        createdAt:
          type: string
          format: date-time
          title: Createdat
      type: object
      required:
      - id
      - externalId
      - name
      - fansCount
      - createdAt
      title: MetaAudience
    MetaAudienceNotFoundError:
      properties:
        code:
          type: string
          const: meta_audience_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: MetaAudienceNotFoundError
    MetaAudienceShare:
      properties:
        audienceId:
          type: string
          title: Audienceid
        audienceExternalId:
          type: string
          title: Audienceexternalid
        audienceName:
          type: string
          title: Audiencename
        fansCount:
          type: integer
          title: Fanscount
        adAccountExternalId:
          type: string
          title: Adaccountexternalid
        userAccessToken:
          type: string
          title: Useraccesstoken
      type: object
      required:
      - audienceId
      - audienceExternalId
      - audienceName
      - fansCount
      - adAccountExternalId
      - userAccessToken
      title: MetaAudienceShare
    MetaAudienceShareStatus:
      properties:
        audienceId:
          type: string
          title: Audienceid
        audienceName:
          type: string
          title: Audiencename
        adAccountName:
          type: string
          title: Adaccountname
        status:
          $ref: '#/components/schemas/AudienceExportStatus'
        fansCount:
          type: integer
          title: Fanscount
        processedFans:
          type: integer
          title: Processedfans
        progress:
          type: number
          title: Progress
        secondsRemaining:
          anyOf:
          - type: integer
          - type: 'null'
          title: Secondsremaining
        url:
          type: string
          title: Url
      type: object
      required:
      - audienceId
      - audienceName
      - adAccountName
      - status
      - fansCount
      - processedFans
      - progress
      - secondsRemaining
      - url
      title: MetaAudienceShareStatus
    MetaConnectionNotFoundError:
      properties:
        code:
          type: string
          const: meta_connection_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: MetaConnectionNotFoundError
    MetaUser:
      properties:
        name:
          type: string
          title: Name
        picture:
          anyOf:
          - type: string
          - type: 'null'
          title: Picture
        grantedScopes:
          items:
            type: string
          type: array
          title: Grantedscopes
      type: object
      required:
      - name
      - picture
      - grantedScopes
      title: MetaUser
    MetaUserAdAccount:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        businessAccountName:
          anyOf:
          - type: string
          - type: 'null'
          title: Businessaccountname
        businessAccountPicture:
          anyOf:
          - type: string
          - type: 'null'
          title: Businessaccountpicture
        vendorId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
        subaccountId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      type: object
      required:
      - id
      - name
      - businessAccountName
      - businessAccountPicture
      - vendorId
      - subaccountId
      title: MetaUserAdAccount
    MetaUserAdAccountNotFoundError:
      properties:
        code:
          type: string
          const: meta_user_ad_account_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: MetaUserAdAccountNotFoundError
    MetaUserConnection:
      properties:
        user:
          anyOf:
          - $ref: '#/components/schemas/MetaUser'
          - type: 'null'
        status:
          $ref: '#/components/schemas/MetaUserConnectionStatus'
        requiredScopes:
          items:
            type: string
          type: array
          title: Requiredscopes
        adAccounts:
          items:
            $ref: '#/components/schemas/MetaUserConnectionAdAccount'
          type: array
          title: Adaccounts
        adAccountsCount:
          type: integer
          title: Adaccountscount
      type: object
      required:
      - user
      - status
      - requiredScopes
      - adAccounts
      - adAccountsCount
      title: MetaUserConnection
    MetaUserConnectionAdAccount:
      properties:
        id:
          type: string
          title: Id
        externalId:
          type: string
          title: Externalid
        name:
          type: string
          title: Name
        businessAccountName:
          anyOf:
          - type: string
          - type: 'null'
          title: Businessaccountname
        businessAccountPicture:
          anyOf:
          - type: string
          - type: 'null'
          title: Businessaccountpicture
        customAudienceTosAccepted:
          type: boolean
          title: Customaudiencetosaccepted
        customAudienceTosUrl:
          type: string
          minLength: 1
          format: uri
          title: Customaudiencetosurl
      type: object
      required:
      - id
      - externalId
      - name
      - businessAccountName
      - businessAccountPicture
      - customAudienceTosAccepted
      - customAudienceTosUrl
      title: MetaUserConnectionAdAccount
    MetaUserConnectionNotFoundError:
      properties:
        code:
          type: string
          const: meta_user_connection_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: MetaUserConnectionNotFoundError
    MetaUserConnectionStatus:
      type: string
      enum:
      - CONNECTED
      - SCOPES_MISSING
      - TOS_NOT_ACCEPTED
      - INVALID
      - NOT_CONNECTED
      title: MetaUserConnectionStatus
    Operator:
      type: string
      enum:
      - INCLUDE
      - EXCLUDE
      title: Operator
    Participant:
      properties:
        globalParticipantId:
          anyOf:
          - type: string
          - type: 'null'
          title: Globalparticipantid
        virtualParticipantId:
          anyOf:
          - type: string
          - type: 'null'
          title: Virtualparticipantid
        spotifyId:
          anyOf:
          - type: string
          - type: 'null'
          title: Spotifyid
        name:
          type: string
          title: Name
        labels:
          items:
            $ref: '#/components/schemas/LabelId'
          type: array
          title: Labels
      type: object
      required:
      - name
      - labels
      title: Participant
    ParticipantType:
      type: string
      enum:
      - ARTIST
      - CUSTOM_LIST
      title: ParticipantType
    ReconnectShopifyStoreInput:
      properties:
        redirectUri:
          type: string
          minLength: 1
          format: uri
          title: Redirecturi
      type: object
      required:
      - redirectUri
      title: ReconnectShopifyStoreInput
    RefreshGoogleAdReportingConnectionInput:
      properties:
        fivetranConnectorId:
          type: string
          title: Fivetranconnectorid
      type: object
      required:
      - fivetranConnectorId
      title: RefreshGoogleAdReportingConnectionInput
    RefreshMetaAdReportingConnectionInput:
      properties:
        fivetranConnectorId:
          type: string
          title: Fivetranconnectorid
      type: object
      required:
      - fivetranConnectorId
      title: RefreshMetaAdReportingConnectionInput
    RefreshShopifyStoreInput:
      properties:
        fivetranConnectorId:
          type: string
          title: Fivetranconnectorid
      type: object
      required:
      - fivetranConnectorId
      title: RefreshShopifyStoreInput
    RefreshTikTokAdReportingConnectionInput:
      properties:
        fivetranConnectorId:
          type: string
          title: Fivetranconnectorid
      type: object
      required:
      - fivetranConnectorId
      title: RefreshTikTokAdReportingConnectionInput
    RegionFilter:
      properties:
        placeId:
          type: string
          title: Placeid
        title:
          type: string
          title: Title
        countryCode:
          type: string
          title: Countrycode
        regionCode:
          anyOf:
          - type: string
          - type: 'null'
          title: Regioncode
      type: object
      required:
      - placeId
      - title
      - countryCode
      title: RegionFilter
    SearchRostersOutput:
      properties:
        artists:
          items:
            $ref: '#/components/schemas/FanDataList'
          type: array
          title: Artists
        customLists:
          items:
            $ref: '#/components/schemas/FanDataList'
          type: array
          title: Customlists
      type: object
      required:
      - artists
      - customLists
      title: SearchRostersOutput
    SegmentExplainedResponseLanguage:
      type: string
      enum:
      - en
      title: SegmentExplainedResponseLanguage
    ShareGoogleAudienceInput:
      properties:
        audienceId:
          type: string
          title: Audienceid
        adAccountId:
          type: string
          title: Adaccountid
        justification:
          $ref: '#/components/schemas/AudienceExportJustification'
        reasonNotes:
          anyOf:
          - type: string
          - type: 'null'
          title: Reasonnotes
      type: object
      required:
      - audienceId
      - adAccountId
      - justification
      title: ShareGoogleAudienceInput
    ShareMetaAudienceInput:
      properties:
        audienceId:
          type: string
          title: Audienceid
        adAccountId:
          type: string
          title: Adaccountid
        justification:
          $ref: '#/components/schemas/AudienceExportJustification'
        reasonNotes:
          anyOf:
          - type: string
          - type: 'null'
          title: Reasonnotes
      type: object
      required:
      - audienceId
      - adAccountId
      - justification
      title: ShareMetaAudienceInput
    ShareTikTokAudienceInput:
      properties:
        audienceId:
          type: string
          title: Audienceid
        adAccountId:
          type: string
          title: Adaccountid
        justification:
          $ref: '#/components/schemas/AudienceExportJustification'
        reasonNotes:
          anyOf:
          - type: string
          - type: 'null'
          title: Reasonnotes
      type: object
      required:
      - audienceId
      - adAccountId
      - justification
      title: ShareTikTokAudienceInput
    ShopifyCollection:
      properties:
        id:
          type: integer
          title: Id
        title:
          type: string
          title: Title
        productsCount:
          type: integer
          title: Productscount
        globalParticipantId:
          anyOf:
          - type: string
          - type: 'null'
          title: Globalparticipantid
      type: object
      required:
      - id
      - title
      - productsCount
      - globalParticipantId
      title: ShopifyCollection
    ShopifyCollectionArtistAssociationInput:
      properties:
        collectionId:
          type: integer
          title: Collectionid
        globalParticipantId:
          type: string
          title: Globalparticipantid
      type: object
      required:
      - collectionId
      - globalParticipantId
      title: ShopifyCollectionArtistAssociationInput
    ShopifyStore:
      properties:
        id:
          type: string
          title: Id
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        shopDomain:
          type: string
          title: Shopdomain
        customDomain:
          anyOf:
          - type: string
          - type: 'null'
          title: Customdomain
        status:
          $ref: '#/components/schemas/AppConnectionStatus'
        vendorId:
          type: integer
          title: Vendorid
        subaccountId:
          type: integer
          title: Subaccountid
        globalParticipantId:
          anyOf:
          - type: string
          - type: 'null'
          title: Globalparticipantid
        collectionsCount:
          anyOf:
          - type: integer
          - type: 'null'
          title: Collectionscount
        productsCount:
          anyOf:
          - type: integer
          - type: 'null'
          title: Productscount
        artistsCount:
          anyOf:
          - type: integer
          - type: 'null'
          title: Artistscount
        syncedAt:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Syncedat
      type: object
      required:
      - id
      - name
      - shopDomain
      - customDomain
      - status
      - vendorId
      - subaccountId
      - globalParticipantId
      - collectionsCount
      - productsCount
      - artistsCount
      - syncedAt
      title: ShopifyStore
    ShopifyStoreArtist:
      properties:
        globalParticipantId:
          type: string
          title: Globalparticipantid
        collectionsCount:
          type: integer
          title: Collectionscount
        productsCount:
          type: integer
          title: Productscount
      type: object
      required:
      - globalParticipantId
      - collectionsCount
      - productsCount
      title: ShopifyStoreArtist
    ShopifyStoreCollectionArtistAssociations:
      properties:
        vendorId:
          type: integer
          title: Vendorid
        subaccountId:
          type: integer
          title: Subaccountid
        wholeStoreProductsCount:
          type: integer
          title: Wholestoreproductscount
        shopDomain:
          type: string
          title: Shopdomain
        wholeStoreGlobalParticipantId:
          anyOf:
          - type: string
          - type: 'null'
          title: Wholestoreglobalparticipantid
        collections:
          items:
            $ref: '#/components/schemas/ShopifyCollection'
          type: array
          title: Collections
      type: object
      required:
      - vendorId
      - subaccountId
      - wholeStoreProductsCount
      - shopDomain
      - wholeStoreGlobalParticipantId
      - collections
      title: ShopifyStoreCollectionArtistAssociations
    ShopifyStoreCollectionArtistAssociationsInput:
      properties:
        wholeStoreGlobalParticipantId:
          anyOf:
          - type: string
          - type: 'null'
          title: Wholestoreglobalparticipantid
        collections:
          anyOf:
          - items:
              $ref: '#/components/schemas/ShopifyCollectionArtistAssociationInput'
            type: array
          - type: 'null'
          title: Collections
      type: object
      title: ShopifyStoreCollectionArtistAssociationsInput
    ShopifyStoreConnectionCredentials:
      properties:
        storeId:
          type: string
          title: Storeid
        connectCardUri:
          type: string
          title: Connectcarduri
      type: object
      required:
      - storeId
      - connectCardUri
      title: ShopifyStoreConnectionCredentials
    ShopifyStoreConnectionInput:
      properties:
        vendorId:
          type: integer
          title: Vendorid
        subaccountId:
          type: integer
          title: Subaccountid
        globalParticipantId:
          anyOf:
          - type: string
          - type: 'null'
          title: Globalparticipantid
          description: When provided, it's used as a default artist for all Products
        shopDomain:
          type: string
          title: Shopdomain
        redirectUri:
          type: string
          minLength: 1
          format: uri
          title: Redirecturi
      type: object
      required:
      - vendorId
      - subaccountId
      - shopDomain
      - redirectUri
      title: ShopifyStoreConnectionInput
    ShopifyStoreNotFoundError:
      properties:
        code:
          type: string
          const: shopify_store_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: ShopifyStoreNotFoundError
    ShopifyStoreNotYetProcessed:
      properties:
        code:
          type: string
          const: shopify_store_not_yet_processed
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: ShopifyStoreNotYetProcessed
    SongwhipCampaign:
      properties:
        id:
          type: string
          title: Id
        type:
          $ref: '#/components/schemas/SongwhipCampaignType'
        name:
          type: string
          title: Name
        url:
          type: string
          title: Url
        vendorId:
          type: integer
          title: Vendorid
        subaccountId:
          type: integer
          title: Subaccountid
        globalParticipantId:
          type: string
          title: Globalparticipantid
        createdAt:
          type: string
          format: date-time
          title: Createdat
      type: object
      required:
      - id
      - type
      - name
      - url
      - vendorId
      - subaccountId
      - globalParticipantId
      - createdAt
      title: SongwhipCampaign
    SongwhipCampaignInFilter:
      properties:
        value:
          items:
            type: string
          type: array
          title: Value
        operator:
          $ref: '#/components/schemas/Operator'
      type: object
      required:
      - value
      - operator
      title: SongwhipCampaignInFilter
    SongwhipCampaignType:
      type: string
      enum:
      - SONGWHIP_PRESAVE
      - SONGWHIP_EXCLUSIVE_CONTENT
      title: SongwhipCampaignType
    SongwhipPresavePage:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        url:
          type: string
          title: Url
        vendorId:
          type: integer
          title: Vendorid
        subaccountId:
          type: integer
          title: Subaccountid
        globalParticipantId:
          type: string
          title: Globalparticipantid
        createdAt:
          type: string
          format: date-time
          title: Createdat
      type: object
      required:
      - id
      - name
      - url
      - vendorId
      - subaccountId
      - globalParticipantId
      - createdAt
      title: SongwhipPresavePage
    SongwhipPresavePageInFilter:
      properties:
        value:
          items:
            type: string
          type: array
          title: Value
        operator:
          $ref: '#/components/schemas/Operator'
      type: object
      required:
      - value
      - operator
      title: SongwhipPresavePageInFilter
    SyncFivetranTablesStateInput:
      properties:
        fivetranConnectorId:
          anyOf:
          - type: string
          - type: 'null'
          title: Fivetranconnectorid
      type: object
      required:
      - fivetranConnectorId
      title: SyncFivetranTablesStateInput
    TikTokAdAccount:
      properties:
        id:
          type: string
          title: Id
        userAdAccountId:
          anyOf:
          - type: string
          - type: 'null'
          title: Useradaccountid
        userId:
          anyOf:
          - type: string
          - type: 'null'
          title: Userid
          description: TikTok user id
        externalId:
          type: string
          title: Externalid
        name:
          type: string
          title: Name
        businessCenterName:
          anyOf:
          - type: string
          - type: 'null'
          title: Businesscentername
        vendorId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
        subaccountId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
        isSelfConnected:
          type: boolean
          title: Isselfconnected
        userConnectionStatus:
          $ref: '#/components/schemas/TikTokUserConnectionStatus'
        userSelfConnected:
          type: boolean
          title: Userselfconnected
        adReportingConnectionStatus:
          $ref: '#/components/schemas/AppConnectionStatus'
        sharingUserId:
          anyOf:
          - type: string
          - type: 'null'
          title: Sharinguserid
          description: TikTok user id for sharing connection
        reportingUserId:
          anyOf:
          - type: string
          - type: 'null'
          title: Reportinguserid
          description: TikTok user id for reporting connection
        adReportingSelfConnected:
          type: boolean
          title: Adreportingselfconnected
        campaignsCount:
          type: integer
          title: Campaignscount
      type: object
      required:
      - id
      - userAdAccountId
      - userId
      - externalId
      - name
      - businessCenterName
      - vendorId
      - subaccountId
      - isSelfConnected
      - userConnectionStatus
      - userSelfConnected
      - adReportingConnectionStatus
      - sharingUserId
      - reportingUserId
      - adReportingSelfConnected
      - campaignsCount
      title: TikTokAdAccount
    TikTokAdAccountNotFoundError:
      properties:
        code:
          type: string
          const: tiktok_ad_account_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: TikTokAdAccountNotFoundError
    TikTokAdReportingConnection:
      properties:
        status:
          $ref: '#/components/schemas/AppConnectionStatus'
        adAccountsCount:
          type: integer
          title: Adaccountscount
      type: object
      required:
      - status
      - adAccountsCount
      title: TikTokAdReportingConnection
    TikTokAdReportingConnectionNotFoundError:
      properties:
        code:
          type: string
          const: tiktok_ad_reporting_connection_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: TikTokAdReportingConnectionNotFoundError
    TikTokAudience:
      properties:
        id:
          type: string
          title: Id
        externalId:
          anyOf:
          - type: string
          - type: 'null'
          title: Externalid
        name:
          type: string
          title: Name
        fansCount:
          type: integer
          title: Fanscount
        createdAt:
          type: string
          format: date-time
          title: Createdat
      type: object
      required:
      - id
      - externalId
      - name
      - fansCount
      - createdAt
      title: TikTokAudience
    TikTokAudienceNotFoundError:
      properties:
        code:
          type: string
          const: tiktok_audience_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: TikTokAudienceNotFoundError
    TikTokAudienceShare:
      properties:
        audienceId:
          type: string
          title: Audienceid
        audienceExternalId:
          anyOf:
          - type: string
          - type: 'null'
          title: Audienceexternalid
        audienceName:
          type: string
          title: Audiencename
        fansCount:
          type: integer
          title: Fanscount
        adAccountExternalId:
          type: string
          title: Adaccountexternalid
        userAccessToken:
          type: string
          title: Useraccesstoken
      type: object
      required:
      - audienceId
      - audienceExternalId
      - audienceName
      - fansCount
      - adAccountExternalId
      - userAccessToken
      title: TikTokAudienceShare
    TikTokAudienceShareStatus:
      properties:
        audienceId:
          type: string
          title: Audienceid
        audienceName:
          type: string
          title: Audiencename
        adAccountName:
          type: string
          title: Adaccountname
        status:
          $ref: '#/components/schemas/AudienceExportStatus'
        fansCount:
          type: integer
          title: Fanscount
        processedFans:
          type: integer
          title: Processedfans
        progress:
          type: number
          title: Progress
        secondsRemaining:
          anyOf:
          - type: integer
          - type: 'null'
          title: Secondsremaining
        url:
          type: string
          title: Url
      type: object
      required:
      - audienceId
      - audienceName
      - adAccountName
      - status
      - fansCount
      - processedFans
      - progress
      - secondsRemaining
      - url
      title: TikTokAudienceShareStatus
    TikTokAudienceUpdateError:
      properties:
        code:
          type: string
          const: tiktok_audience_update_error
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: TikTokAudienceUpdateError
    TikTokConnectionNotFoundError:
      properties:
        code:
          type: string
          const: tiktok_connection_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: TikTokConnectionNotFoundError
    TikTokUserAdAccount:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        businessCenterName:
          anyOf:
          - type: string
          - type: 'null'
          title: Businesscentername
        vendorId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vendorid
        subaccountId:
          anyOf:
          - type: integer
          - type: 'null'
          title: Subaccountid
      type: object
      required:
      - id
      - name
      - businessCenterName
      - vendorId
      - subaccountId
      title: TikTokUserAdAccount
    TikTokUserAdAccountNotFoundError:
      properties:
        code:
          type: string
          const: tiktok_user_ad_account_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: TikTokUserAdAccountNotFoundError
    TikTokUserConnectionAdAccount:
      properties:
        id:
          type: string
          title: Id
        externalId:
          type: string
          title: Externalid
        name:
          type: string
          title: Name
        businessCenterName:
          anyOf:
          - type: string
          - type: 'null'
          title: Businesscentername
      type: object
      required:
      - id
      - externalId
      - name
      - businessCenterName
      title: TikTokUserConnectionAdAccount
    TikTokUserConnectionNotFoundError:
      properties:
        code:
          type: string
          const: tiktok_user_connection_not_found
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: TikTokUserConnectionNotFoundError
    TikTokUserConnectionResponse:
      properties:
        userId:
          anyOf:
          - type: string
          - type: 'null'
          title: Userid
        userName:
          anyOf:
          - type: string
          - type: 'null'
          title: Username
        status:
          $ref: '#/components/schemas/TikTokUserConnectionStatus'
        adAccounts:
          items:
            $ref: '#/components/schemas/TikTokUserConnectionAdAccount'
          type: array
          title: Adaccounts
        adAccountsCount:
          type: integer
          title: Adaccountscount
      type: object
      required:
      - userId
      - userName
      - status
      - adAccounts
      - adAccountsCount
      title: TikTokUserConnectionResponse
    TikTokUserConnectionScopesError:
      properties:
        code:
          type: string
          const: tiktok_scopes_error
          title: Code
        message:
          type: string
          title: Message
      type: object
      required:
      - code
      - message
      title: TikTokUserConnectionScopesError
    TikTokUserConnectionStatus:
      type: string
      enum:
      - CONNECTED
      - SCOPES_MISSING
      - INVALID
      - NOT_CONNECTED
      title: TikTokUserConnectionStatus
    UpdateAudienceExportInput:
      properties:
        status:
          $ref: '#/components/schemas/AudienceExportStatus'
        zipKey:
          anyOf:
          - type: string
          - type: 'null'
          title: Zipkey
      type: object
      required:
      - status
      title: UpdateAudienceExportInput
    UpdateAudienceInput:
      properties:
        name:
          type: string
          minLength: 1
          title: Name
        target:
          $ref: '#/components/schemas/AudienceTarget'
        filters:
          $ref: '#/components/schemas/AudienceFilters-Input'
      type: object
      required:
      - name
      - target
      - filters
      title: UpdateAudienceInput
    UpdateAudienceShareInput:
      properties:
        status:
          $ref: '#/components/schemas/AudienceExportStatus'
        processedFans:
          anyOf:
          - type: integer
          - type: 'null'
          title: Processedfans
      type: object
      required:
      - status
      title: UpdateAudienceShareInput
    UpdateTikTokAudienceInput:
      properties:
        externalId:
          type: string
          title: Externalid
      type: object
      required:
      - externalId
      title: UpdateTikTokAudienceInput
    FieldError:
      title: FieldError
      type: object
      properties:
        message:
          title: Message
          type: string
        code:
          title: Error code
          type: string
      required:
      - message
      - code
  securitySchemes:
    JWT authorization:
      type: http
      scheme: bearer
    OrchardIdentityId:
      type: apiKey
      in: header
      name: Orchard-Identity-Id
