- name: cancel_appointments_by_subscription_cancellation
  webhook: '{{ACTIONS_HANDLER_URL}}/bookings/cancelBySubscriptionCancellation'
  schedule: 0 3 * * *
  include_in_metadata: true
  payload: {}
  retry_conf:
    num_retries: 3
    timeout_seconds: 60
    tolerance_seconds: 21600
    retry_interval_seconds: 600
  headers:
    - name: Authorization
      value_from_env: ACTIONS_HANDLER_ACCESS_TOKEN
- name: cancel_appointments_pending_nutri_arrive
  webhook: '{{ACTIONS_HANDLER_URL}}/bookings/cancelWithNoNutriArrived'
  schedule: '*/5 * * * *'
  include_in_metadata: true
  payload: {}
  retry_conf:
    num_retries: 3
    timeout_seconds: 60
    tolerance_seconds: 21600
    retry_interval_seconds: 10
  headers:
    - name: Authorization
      value_from_env: ACTIONS_HANDLER_ACCESS_TOKEN
- name: finish_rankings
  webhook: '{{ACTIONS_HANDLER_URL}}/ranking/competition/cron/finish'
  schedule: 15 1 * * *
  include_in_metadata: true
  payload: {}
  retry_conf:
    num_retries: 3
    timeout_seconds: 60
    tolerance_seconds: 21600
    retry_interval_seconds: 10
  headers:
    - name: Authorization
      value_from_env: ACTIONS_HANDLER_ACCESS_TOKEN
- name: generate_omie_contracts
  webhook: '{{ACTIONS_HANDLER_URL}}/contract/check_activated_subscriptions'
  schedule: 0 3 * * *
  include_in_metadata: true
  payload: {}
  retry_conf:
    num_retries: 3
    timeout_seconds: 60
    tolerance_seconds: 21600
    retry_interval_seconds: 600
  headers:
    - name: Authorization
      value_from_env: ACTIONS_HANDLER_ACCESS_TOKEN
- name: notify_appointments_that_starts_at
  webhook: '{{ACTIONS_HANDLER_URL}}/notification/booking/start'
  schedule: '*/5 * * * *'
  include_in_metadata: true
  payload: {}
  retry_conf:
    num_retries: 3
    timeout_seconds: 60
    tolerance_seconds: 21600
    retry_interval_seconds: 10
  headers:
    - name: Authorization
      value_from_env: ACTIONS_HANDLER_ACCESS_TOKEN
- name: notify_incoming_appointments_in_chat
  webhook: '{{ACTIONS_HANDLER_URL}}/notifications/notify_incoming_appointments_in_chat'
  schedule: '*/5 * * * *'
  include_in_metadata: true
  payload: {}
  retry_conf:
    num_retries: 3
    timeout_seconds: 60
    tolerance_seconds: 21600
    retry_interval_seconds: 10
  headers:
    - name: Authorization
      value_from_env: ACTIONS_HANDLER_ACCESS_TOKEN
- name: notify_patients_to_book_appointment_return
  webhook: '{{ACTIONS_HANDLER_URL}}/notification/booking/return'
  schedule: 0 19 * * *
  include_in_metadata: true
  payload: {}
  retry_conf:
    num_retries: 3
    timeout_seconds: 60
    tolerance_seconds: 21600
    retry_interval_seconds: 10
  headers:
    - name: Authorization
      value_from_env: ACTIONS_HANDLER_ACCESS_TOKEN
- name: process_sms_delivery_reports
  webhook: '{{ACTIONS_HANDLER_URL}}/notification/reports/process'
  schedule: '*/30 * * * *'
  include_in_metadata: true
  payload: {}
  retry_conf:
    num_retries: 3
    timeout_seconds: 900
    tolerance_seconds: 21600
    retry_interval_seconds: 120
  headers:
    - name: Authorization
      value_from_env: ACTIONS_HANDLER_ACCESS_TOKEN
- name: renews_teleconsultation_credits
  webhook: '{{ACTIONS_HANDLER_URL}}/teleconsultation-credits/renew'
  schedule: 0 1 * * *
  include_in_metadata: true
  payload: {}
  retry_conf:
    num_retries: 3
    timeout_seconds: 300
    tolerance_seconds: 21600
    retry_interval_seconds: 60
  headers:
    - name: Authorization
      value_from_env: ACTIONS_HANDLER_ACCESS_TOKEN
- name: smartfit_concilliation
  webhook: '{{ACTIONS_HANDLER_URL}}/concilliation/run'
  schedule: 0 9 * * *
  include_in_metadata: true
  payload: {}
  retry_conf:
    num_retries: 3
    timeout_seconds: 900
    tolerance_seconds: 21600
    retry_interval_seconds: 3600
  headers:
    - name: Authorization
      value_from_env: ACTIONS_HANDLER_ACCESS_TOKEN
- name: synchronize_videolibrary
  webhook: '{{ACTIONS_HANDLER_URL}}/video-library/sync'
  schedule: 0 1 * * *
  include_in_metadata: true
  payload: {}
  retry_conf:
    num_retries: 3
    timeout_seconds: 30
    tolerance_seconds: 21600
    retry_interval_seconds: 216000
  headers:
    - name: Authorization
      value_from_env: ACTIONS_HANDLER_ACCESS_TOKEN
