Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 27 additions & 8 deletions integrations/.nango/nango.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
{
"type": "action",
"description": "Introspection to retrieve available fields",
"description": "Fetch fields for a specific dataset",
"endpoint": {
"method": "GET",
"path": "/fields"
Expand All @@ -59,13 +59,32 @@
"ActionInput_bamboohr_basic_fetchfields",
"ActionOutput_bamboohr_basic_fetchfields"
],
"version": "2.0.0"
"version": "3.0.0"
},
{
"type": "action",
"description": "Fetch available datasets from BambooHR",
"endpoint": {
"method": "GET",
"path": "/datasets"
},
"input": "ActionInput_bamboohr_basic_fetchdatasets",
"name": "fetch-datasets",
"output": [
"ActionOutput_bamboohr_basic_fetchdatasets"
],
"scopes": [],
"usedModels": [
"ActionInput_bamboohr_basic_fetchdatasets",
"ActionOutput_bamboohr_basic_fetchdatasets"
],
"version": "1.0.0"
}
],
"syncs": [
{
"type": "sync",
"description": "Fetches a list of current employees from bamboohr",
"description": "Fetches a list of current employees from bamboohr using the employee dataset",
"auto_start": true,
"endpoints": [
{
Expand All @@ -87,17 +106,17 @@
"BamboohrEmployee",
"SyncMetadata_bamboohr_basic_employees"
],
"version": "2.0.0",
"version": "3.0.0",
"webhookSubscriptions": []
},
{
"type": "sync",
"description": "Fetches a list of current employees from bamboohr and maps them to the standard HRIS model",
"description": "Fetches a list of current employees from bamboohr and maps them to the standard HRIS model using the employee dataset",
"auto_start": true,
"endpoints": [
{
"method": "GET",
"path": "/employees/unified",
"method": "POST",
"path": "/employees/unified/sync",
"group": "Unified HRIS API"
}
],
Expand All @@ -114,7 +133,7 @@
"StandardEmployee",
"SyncMetadata_bamboohr_basic_unifiedemployees"
],
"version": "1.0.0",
"version": "2.0.0",
"webhookSubscriptions": []
}
],
Expand Down
103 changes: 53 additions & 50 deletions integrations/.nango/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,13 @@
"dateOfBirth": {
"type": "string"
},
"address1": {
"type": "string"
},
"bestEmail": {
"addressLineOne": {
"type": "string"
},
"workEmail": {
"email": {
"type": "string"
},
"jobTitle": {
"jobInformationJobTitle": {
"type": "string"
},
"hireDate": {
Expand All @@ -41,19 +38,19 @@
"supervisorId": {
"type": "string"
},
"supervisor": {
"supervisorName": {
"type": "string"
},
"createdByUserId": {
"type": "string"
},
"department": {
"jobInformationDepartment": {
"type": "string"
},
"division": {
"jobInformationDivision": {
"type": "string"
},
"employmentHistoryStatus": {
"employmentStatus": {
"type": "string"
},
"gender": {
Expand All @@ -65,7 +62,7 @@
"city": {
"type": "string"
},
"location": {
"jobInformationLocation": {
"type": "string"
},
"state": {
Expand All @@ -74,19 +71,13 @@
"maritalStatus": {
"type": "string"
},
"exempt": {
"type": "string"
},
"payRate": {
"type": "string"
},
"payType": {
"payBand": {
"type": "string"
},
"payPer": {
"compensationPayType": {
"type": "string"
},
"ssn": {
"compensationPaySchedule": {
"type": "string"
},
"workPhone": {
Expand All @@ -97,35 +88,7 @@
}
},
"required": [
"id",
"employeeNumber",
"firstName",
"lastName",
"dateOfBirth",
"address1",
"bestEmail",
"workEmail",
"jobTitle",
"hireDate",
"supervisorId",
"supervisor",
"createdByUserId",
"department",
"division",
"employmentHistoryStatus",
"gender",
"country",
"city",
"location",
"state",
"maritalStatus",
"exempt",
"payRate",
"payType",
"payPer",
"ssn",
"workPhone",
"homePhone"
"id"
],
"additionalProperties": false
},
Expand Down Expand Up @@ -607,7 +570,13 @@
"additionalProperties": false
},
"ActionInput_bamboohr_basic_fetchfields": {
"type": "null"
"type": "object",
"properties": {
"datasetName": {
"type": "string"
}
},
"additionalProperties": false
},
"ActionOutput_bamboohr_basic_fetchfields": {
"type": "object",
Expand Down Expand Up @@ -659,6 +628,40 @@
"0"
],
"additionalProperties": false
},
"ActionInput_bamboohr_basic_fetchdatasets": {
"type": "null"
},
"ActionOutput_bamboohr_basic_fetchdatasets": {
"type": "object",
"properties": {
"datasets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"displayName": {
"type": "string"
},
"description": {
"type": "string"
}
},
"required": [
"name",
"displayName"
],
"additionalProperties": false
}
}
},
"required": [
"datasets"
],
"additionalProperties": false
}
},
"$comment": "This file was generated by Nango (v0.66.1)"
Expand Down
65 changes: 36 additions & 29 deletions integrations/.nango/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,31 @@ export interface SyncMetadata_bamboohr_basic_employees {

export interface BamboohrEmployee {
id: string;
employeeNumber: string;
firstName: string;
lastName: string;
dateOfBirth: string;
address1: string;
bestEmail: string;
workEmail: string;
jobTitle: string;
hireDate: string;
supervisorId: string;
supervisor: string;
createdByUserId: string;
department: string;
division: string;
employmentHistoryStatus: string;
gender: string;
country: string;
city: string;
location: string;
state: string;
maritalStatus: string;
exempt: string;
payRate: string;
payType: string;
payPer: string;
ssn: string;
workPhone: string;
homePhone: string;
employeeNumber?: string | undefined;
firstName?: string | undefined;
lastName?: string | undefined;
dateOfBirth?: string | undefined;
addressLineOne?: string | undefined;
email?: string | undefined;
jobInformationJobTitle?: string | undefined;
hireDate?: string | undefined;
supervisorId?: string | undefined;
supervisorName?: string | undefined;
createdByUserId?: string | undefined;
jobInformationDepartment?: string | undefined;
jobInformationDivision?: string | undefined;
employmentStatus?: string | undefined;
gender?: string | undefined;
country?: string | undefined;
city?: string | undefined;
jobInformationLocation?: string | undefined;
state?: string | undefined;
maritalStatus?: string | undefined;
payBand?: string | undefined;
compensationPayType?: string | undefined;
compensationPaySchedule?: string | undefined;
workPhone?: string | undefined;
homePhone?: string | undefined;
};

export interface SyncMetadata_bamboohr_basic_unifiedemployees {
Expand Down Expand Up @@ -154,7 +151,9 @@ export interface ActionOutput_bamboohr_basic_updateemployee {
status: string;
};

export type ActionInput_bamboohr_basic_fetchfields = void
export interface ActionInput_bamboohr_basic_fetchfields {
datasetName?: string | undefined;
};

export interface ActionOutput_bamboohr_basic_fetchfields {
0: { id: string;
Expand All @@ -164,3 +163,11 @@ export interface ActionOutput_bamboohr_basic_fetchfields {
options?: ({ id: number;
name: string;})[] | undefined;};
};

export type ActionInput_bamboohr_basic_fetchdatasets = void

export interface ActionOutput_bamboohr_basic_fetchdatasets {
datasets: ({ name: string;
displayName: string;
description?: string | undefined;})[];
};
Loading
Loading