feature/IO-3060-Realtime-Notifications- Checkpoint
This commit is contained in:
@@ -683,6 +683,31 @@
|
||||
- exported:
|
||||
_eq: false
|
||||
event_triggers:
|
||||
- name: notifications_bills
|
||||
definition:
|
||||
enable_manual: false
|
||||
insert:
|
||||
columns: '*'
|
||||
retry_conf:
|
||||
interval_sec: 10
|
||||
num_retries: 0
|
||||
timeout_sec: 60
|
||||
webhook_from_env: HASURA_API_URL
|
||||
headers:
|
||||
- name: event-secret
|
||||
value_from_env: EVENT_SECRET
|
||||
request_transform:
|
||||
body:
|
||||
action: transform
|
||||
template: |-
|
||||
{
|
||||
"success": true
|
||||
}
|
||||
method: POST
|
||||
query_params: {}
|
||||
template_engine: Kriti
|
||||
url: '{{$base_url}}/job/events/handleBillsChange'
|
||||
version: 2
|
||||
- name: os_bills
|
||||
definition:
|
||||
delete:
|
||||
@@ -2813,7 +2838,7 @@
|
||||
object_relationships:
|
||||
- name: job
|
||||
using:
|
||||
foreign_key_constraint_on: job_id
|
||||
foreign_key_constraint_on: jobid
|
||||
- name: user
|
||||
using:
|
||||
foreign_key_constraint_on: user_email
|
||||
@@ -2832,7 +2857,7 @@
|
||||
- user_email
|
||||
- created_at
|
||||
- id
|
||||
- job_id
|
||||
- jobid
|
||||
comment: ""
|
||||
select_permissions:
|
||||
- role: user
|
||||
@@ -2841,7 +2866,7 @@
|
||||
- user_email
|
||||
- created_at
|
||||
- id
|
||||
- job_id
|
||||
- jobid
|
||||
filter:
|
||||
user:
|
||||
_and:
|
||||
@@ -2858,7 +2883,7 @@
|
||||
- user_email
|
||||
- created_at
|
||||
- id
|
||||
- job_id
|
||||
- jobid
|
||||
filter:
|
||||
user:
|
||||
_and:
|
||||
@@ -4402,6 +4427,58 @@
|
||||
template_engine: Kriti
|
||||
url: '{{$base_url}}/record-handler/arms'
|
||||
version: 2
|
||||
- name: notifications_jobs
|
||||
definition:
|
||||
enable_manual: false
|
||||
insert:
|
||||
columns: '*'
|
||||
update:
|
||||
columns:
|
||||
- queued_for_parts
|
||||
- employee_prep
|
||||
- clm_total
|
||||
- towin
|
||||
- employee_body
|
||||
- converted
|
||||
- scheduled_in
|
||||
- scheduled_completion
|
||||
- scheduled_delivery
|
||||
- actual_delivery
|
||||
- actual_completion
|
||||
- alt_transport
|
||||
- date_exported
|
||||
- status
|
||||
- employee_csr
|
||||
- actual_in
|
||||
- deliverchecklist
|
||||
- comment
|
||||
- job_totals
|
||||
- employee_refinish
|
||||
- inproduction
|
||||
- production_vars
|
||||
- intakechecklist
|
||||
- cieca_ttl
|
||||
- date_invoiced
|
||||
retry_conf:
|
||||
interval_sec: 10
|
||||
num_retries: 0
|
||||
timeout_sec: 60
|
||||
webhook_from_env: HASURA_API_URL
|
||||
headers:
|
||||
- name: event-secret
|
||||
value_from_env: EVENT_SECRET
|
||||
request_transform:
|
||||
body:
|
||||
action: transform
|
||||
template: |-
|
||||
{
|
||||
"success": true
|
||||
}
|
||||
method: POST
|
||||
query_params: {}
|
||||
template_engine: Kriti
|
||||
url: '{{$base_url}}/job/events/handleJobsChange'
|
||||
version: 2
|
||||
- name: os_jobs
|
||||
definition:
|
||||
delete:
|
||||
@@ -4751,46 +4828,21 @@
|
||||
object_relationships:
|
||||
- name: association
|
||||
using:
|
||||
foreign_key_constraint_on: association_id
|
||||
foreign_key_constraint_on: associationid
|
||||
- name: job
|
||||
using:
|
||||
foreign_key_constraint_on: job_id
|
||||
insert_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
check:
|
||||
association:
|
||||
_and:
|
||||
- active:
|
||||
_eq: true
|
||||
- user:
|
||||
authid:
|
||||
_eq: X-Hasura-User-Id
|
||||
columns:
|
||||
- association_id
|
||||
- created_at
|
||||
- fcm_data
|
||||
- fcm_message
|
||||
- fcm_title
|
||||
- id
|
||||
- job_id
|
||||
- meta
|
||||
- read
|
||||
- ui_translation_meta
|
||||
- ui_translation_string
|
||||
- updated_at
|
||||
comment: ""
|
||||
foreign_key_constraint_on: jobid
|
||||
select_permissions:
|
||||
- role: user
|
||||
permission:
|
||||
columns:
|
||||
- association_id
|
||||
- associationid
|
||||
- created_at
|
||||
- fcm_data
|
||||
- fcm_message
|
||||
- fcm_title
|
||||
- id
|
||||
- job_id
|
||||
- jobid
|
||||
- meta
|
||||
- read
|
||||
- ui_translation_meta
|
||||
@@ -4809,18 +4861,8 @@
|
||||
- role: user
|
||||
permission:
|
||||
columns:
|
||||
- association_id
|
||||
- created_at
|
||||
- fcm_data
|
||||
- fcm_message
|
||||
- fcm_title
|
||||
- id
|
||||
- job_id
|
||||
- meta
|
||||
- read
|
||||
- ui_translation_meta
|
||||
- ui_translation_string
|
||||
- updated_at
|
||||
filter:
|
||||
association:
|
||||
_and:
|
||||
@@ -5071,6 +5113,32 @@
|
||||
- active:
|
||||
_eq: true
|
||||
check: null
|
||||
event_triggers:
|
||||
- name: notifications_parts_dispatch
|
||||
definition:
|
||||
enable_manual: false
|
||||
insert:
|
||||
columns: '*'
|
||||
retry_conf:
|
||||
interval_sec: 10
|
||||
num_retries: 0
|
||||
timeout_sec: 60
|
||||
webhook_from_env: HASURA_API_URL
|
||||
headers:
|
||||
- name: event-secret
|
||||
value_from_env: EVENT_SECRET
|
||||
request_transform:
|
||||
body:
|
||||
action: transform
|
||||
template: |-
|
||||
{
|
||||
"success": true
|
||||
}
|
||||
method: POST
|
||||
query_params: {}
|
||||
template_engine: Kriti
|
||||
url: '{{$base_url}}/job/events/handlePartsDispatchChange'
|
||||
version: 2
|
||||
- table:
|
||||
name: parts_dispatch_lines
|
||||
schema: public
|
||||
@@ -6049,6 +6117,8 @@
|
||||
update:
|
||||
columns:
|
||||
- assigned_to
|
||||
- completed
|
||||
- description
|
||||
retry_conf:
|
||||
interval_sec: 10
|
||||
num_retries: 3
|
||||
@@ -6203,8 +6273,6 @@
|
||||
enable_manual: false
|
||||
insert:
|
||||
columns: '*'
|
||||
update:
|
||||
columns: '*'
|
||||
retry_conf:
|
||||
interval_sec: 10
|
||||
num_retries: 0
|
||||
@@ -6214,10 +6282,16 @@
|
||||
- name: event-secret
|
||||
value_from_env: EVENT_SECRET
|
||||
request_transform:
|
||||
body:
|
||||
action: transform
|
||||
template: |-
|
||||
{
|
||||
"success": true
|
||||
}
|
||||
method: POST
|
||||
query_params: {}
|
||||
template_engine: Kriti
|
||||
url: '{{$base_url}}/events/handleTimeTicketsChange'
|
||||
url: '{{$base_url}}/job/events/handleTimeTicketsChange'
|
||||
version: 2
|
||||
- table:
|
||||
name: transitions
|
||||
|
||||
Reference in New Issue
Block a user