actions:
- name: authenticateDiscordGuild
  definition:
    kind: synchronous
    handler: '{{ACTION_BASE_ENDPOINT}}/guild/discord/auth'
    forward_client_headers: true
  permissions:
  - role: player
  - role: public
- name: createQuest
  definition:
    kind: synchronous
    handler: '{{ACTION_BASE_ENDPOINT}}/quests/createQuest'
    forward_client_headers: true
  permissions:
  - role: player
- name: createQuestCompletion
  definition:
    kind: synchronous
    handler: '{{ACTION_BASE_ENDPOINT}}/quests/createCompletion'
    forward_client_headers: true
  permissions:
  - role: player
- name: saveGuildInformation
  definition:
    kind: synchronous
    handler: '{{ACTION_BASE_ENDPOINT}}/guild/save'
    forward_client_headers: true
  permissions:
  - role: player
- name: updateExpiredIDXProfiles
  definition:
    kind: synchronous
    handler: '{{ACTION_BASE_ENDPOINT}}/idxCache/checkExpired'
- name: updateIDXProfile
  definition:
    kind: synchronous
    handler: '{{ACTION_BASE_ENDPOINT}}/idxCache/updateSingle'
    forward_client_headers: true
  permissions:
  - role: player
- name: updateQuestCompletion
  definition:
    kind: synchronous
    handler: '{{ACTION_BASE_ENDPOINT}}/quests/updateCompletion'
    forward_client_headers: true
  permissions:
  - role: player
custom_types:
  enums:
  - name: QuestRepetition_ActionEnum
    values:
    - description: null
      is_deprecated: null
      value: UNIQUE
    - description: null
      is_deprecated: null
      value: PERSONAL
    - description: null
      is_deprecated: null
      value: RECURRING
  - name: QuestCompletionStatus_ActionEnum
    values:
    - description: null
      is_deprecated: null
      value: ACCEPTED
    - description: null
      is_deprecated: null
      value: REJECTED
  - name: GuildType_ActionEnum
    values:
    - description: null
      is_deprecated: null
      value: PROJECT
    - description: null
      is_deprecated: null
      value: SERVICE
    - description: null
      is_deprecated: null
      value: RESEARCH
    - description: null
      is_deprecated: null
      value: SOCIAL
    - description: null
      is_deprecated: null
      value: FUNDING
  input_objects:
  - name: CreateQuestInput
  - name: CreateQuestCompletionInput
  - name: UpdateQuestCompletionInput
  - name: GuildInfo
  objects:
  - name: UpdateBoxProfileResponse
  - name: CreateQuestOutput
    relationships:
    - remote_table:
        schema: public
        name: quest
      name: quest
      type: object
      field_mapping:
        quest_id: id
  - name: CreateQuestCompletionOutput
    relationships:
    - remote_table:
        schema: public
        name: quest_completion
      name: quest_completion
      type: object
      field_mapping:
        quest_completion_id: id
  - name: UpdateQuestCompletionOutput
    relationships:
    - remote_table:
        schema: public
        name: quest_completion
      name: quest_completion
      type: object
      field_mapping:
        quest_completion_id: id
  - name: DiscordGuildAuthResponse
  - name: CacheProcessOutput
  - name: UpdateIDXProfileResponse
  - name: ExpiredPlayerProfiles
  - name: SaveGuildResponse
  scalars: []
