mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-04 10:52:13 +02:00
Initial open-source release
This commit is contained in:
commit
1a42152e6f
1199 changed files with 257054 additions and 0 deletions
36
python/klo-sl/sources/b2b_saas/activities.yaml
Normal file
36
python/klo-sl/sources/b2b_saas/activities.yaml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
name: activities
|
||||
table: activities
|
||||
grain:
|
||||
- activity_id
|
||||
columns:
|
||||
- name: activity_id
|
||||
type: number
|
||||
- name: account_id
|
||||
type: number
|
||||
- name: activity_date
|
||||
type: time
|
||||
role: time
|
||||
- name: activity_type
|
||||
type: string
|
||||
- name: channel
|
||||
type: string
|
||||
- name: direction
|
||||
type: string
|
||||
- name: duration_minutes
|
||||
type: number
|
||||
- name: opportunity_id
|
||||
type: number
|
||||
- name: rep_id
|
||||
type: number
|
||||
- name: subject
|
||||
type: string
|
||||
joins:
|
||||
- to: accounts
|
||||
'on': account_id = accounts.account_id
|
||||
relationship: many_to_one
|
||||
- to: opportunities
|
||||
'on': opportunity_id = opportunities.opportunity_id
|
||||
relationship: many_to_one
|
||||
- to: sales_reps
|
||||
'on': rep_id = sales_reps.rep_id
|
||||
relationship: many_to_one
|
||||
Loading…
Add table
Add a link
Reference in a new issue