-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbamboo-hr.sgnl.yaml
112 lines (103 loc) · 6.35 KB
/
bamboo-hr.sgnl.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
displayName: "BambooHR"
icon: |
PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTM2LjA2MiA0MS44NEMzNS4zMDk2IDQxLjg0NTEgMzQuNTYzNiA0MS43MDA3IDMzLjg2NzQgNDEuNDE1M0MzMy4xNzExIDQxLjEyOTkgMzIuNTM4NSA0MC43MDkxIDMyLjAwNjEgNDAuMTc3M0MzMS40NzM4IDM5LjY0NTUgMzEuMDUyMyAzOS4wMTMzIDMwLjc2NjIgMzguMzE3NEMzMC40OCAzNy42MjE1IDMwLjMzNDkgMzYuODc1NyAzMC4zMzkyIDM2LjEyMzJDMzAuMzM5MiAzMi44NDcyIDMyLjU1MDggMzAuMTU4IDM2LjExNzIgMzAuMTU4QzM5LjY4MzYgMzAuMTU4IDQxLjc4NiAzMy4wMzggNDEuNzg2IDM2LjA2MkM0MS43ODYgMzkuMzUzNiAzOS41NiA0MS44NCAzNi4wNjIgNDEuODRaTTI2LjkyNCAzM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Ny44MjE2IDM2LjMxMDQgMjcuODIxNlpNNTYgMzJDNTYgNDUuMjU1MiA0NS4yNTUyIDU2IDMyIDU2QzE4Ljc0NDggNTYgOCA0NS4yNTUyIDggMzJDOCAxOC43NDQ4IDE4Ljc0NDggOCAzMiA4QzQ1LjI1NTIgOCA1NiAxOC43NDQ4IDU2IDMyWiIgZmlsbD0iIzczQzQxRCIvPgo8L3N2Zz4=
description: "BambooHR as a System of Record"
address: "api.bamboohr.com/api/gateway.php"
defaultSyncFrequency: HOURLY
defaultSyncMinInterval: 1
defaultApiCallFrequency: SECONDLY
defaultApiCallMinInterval: 1
type: "BambooHR-1.0.0"
# Example Adapter Config:
# {
# "apiVersion": "v1",
# "companyDomain": "sgnl",
# "onlyCurrent": true,
# "attributeMappings": {
# "date": "yyyy-mm-dd",
# "bool": {
# "true": ["True", "yes", "1"],
# "false": ["False", "no", "0"]
# }
# }
# }
# Adapter Config Field Info:
# [Required] apiVersion (String): The version of the BambooHR API to use. Currently, only v1 is supported.
# [Required] companyDomain (String): The subdomain used to access your account
# (If you access BambooHR at https://mycompany.bamboohr.com, then the subdomain is "mycompany")
# [Optional] onlyCurrent: If true, only the current employees will be returned.
# If false, all employees will be returned. This field defaults to false.
# [Optional] attributeMappings (Object): A map of attribute types to potential mappings.
# The BambooHR SoR Response returns all types as string values. By default, we will attempt to convert
# all attributes to the types specified in the catalog. This field allows you to specify additional mappings
# to perform unconventional type conversions.
# [Optional] attributeMappings.date (String): The format of the date string in the BambooHR response.
# The BambooHR Admin Console allows you to configure date formats from four options.
# To find this: Visit the BambooHR Admin Console > Settings > Account > General Settings > Date Input Format (Dropdown)
# If this field is not specified, we default to "yyyy-mm-dd".
# [Optional] attributeMappings.bool (Object): A map of boolean values to their possible string representations.
# The BambooHR bool type has many possible response values including "0/1", "yes/no", "true/false", etc.
# This field allows you to specify the possible values for true and false.
# By default, we will attempt a generic conversion for any attribute that is specified as a bool type in the catalog.
# Golang recognizes these true/false combinations by default:
# "1", "t", "T", "true", "TRUE", "True" are recognized as true.
# "0", "f", "F", "false", "FALSE", "False" are recognized as false.
adapterConfig: ewogICAgImFwaVZlcnNpb24iOiAidjEiLAogICAgImNvbXBhbnlEb21haW4iOiAie3tJbnB1dCBSZXF1aXJlZH19IiwKICAgICJvbmx5Q3VycmVudCI6IGZhbHNlLAogICAgImF0dHJpYnV0ZU1hcHBpbmdzIjogewogICAgICAgICJkYXRlIjogInl5eXktbW0tZGQiLAogICAgICAgICJib29sIjogewogICAgICAgICAgICAidHJ1ZSI6IFsidHJ1ZSJdLAogICAgICAgICAgICAiZmFsc2UiOiBbImZhbHNlIl0KICAgICAgICB9CiAgICB9Cn0=
auth: # https://documentation.bamboohr.com/docs/getting-started#authentication
- basic:
username: "{{Input Required: Secret/API key}}"
password: "xxx" # Random String
entities:
# https://documentation.bamboohr.com/docs/list-of-field-names
# Note: Make sure the externalIDs of the attributes match exactly with the field names in the BambooHR documentation.
# Custom fields are prefixed with 'custom' in the SoR - see customBoolField for an example.
# The endpoint does not return any errors when fields are misspelled, it simply omits the information.
Employee:
displayName: Employee
externalId: Employee
description: Entity representing a BambooHR Employee
pageSize: 100
pagesOrderedById: false
attributes:
- name: id
externalId: id
type: String
indexed: true
uniqueId: true
attributeAlias: employeeId
- name: bestEmail
externalId: bestEmail
type: String
indexed: true
- name: dateOfBirth
externalId: dateOfBirth
type: DateTime
- name: fullName
externalId: fullName1
type: String
- name: isPhotoUploaded
externalId: isPhotoUploaded
type: Bool
- name: checkboxField1
externalId: customcheckboxField1
type: Bool
- name: supervisorEId
externalId: supervisorEId
type: String
indexed: true
attributeAlias: supervisorEId
- name: supervisorEmail
externalId: supervisorEmail
type: String
indexed: true
- name: lastChanged
externalId: lastChanged
type: DateTime
- name: employeeNumber
externalId: employeeNumber
type: Int64
relationships:
Manager:
name: Manager
fromAttribute: employeeId
toAttribute: supervisorEId