Skip to content
Merged
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
40 changes: 40 additions & 0 deletions integrations/adp/.nango/nango.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[
{
"providerConfigKey": "adp",
"actions": [],
"syncs": [
{
"type": "sync",
"description": "Fetches a list of current employees from ADP and maps them to the standard HRIS model",
"auto_start": true,
"endpoints": [
{
"method": "GET",
"path": "/employees/unified",
"group": "Unified HRIS API"
}
],
"input": "SyncMetadata_adp_unifiedemployees",
"name": "unified-employees",
"output": [
"StandardEmployee"
],
"runs": "every hour",
"scopes": [],
"sync_type": "full",
"track_deletes": false,
"usedModels": [
"StandardEmployee",
"SyncMetadata_adp_unifiedemployees"
],
"version": "0.0.1",
"webhookSubscriptions": []
}
],
"onEventScripts": {
"post-connection-creation": [],
"pre-connection-deletion": [],
"validate-connection": []
}
}
]
259 changes: 259 additions & 0 deletions integrations/adp/.nango/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,259 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$comment": "This file was generated by Nango (v0.69.20)",
"definitions": {
"StandardEmployee": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"email": {
"type": "string"
},
"displayName": {
"type": "string"
},
"employeeNumber": {
"type": "string"
},
"title": {
"type": "string"
},
"department": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
},
"employmentType": {
"type": "string",
"enum": [
"FULL_TIME",
"PART_TIME",
"CONTRACTOR",
"INTERN",
"TEMPORARY",
"OTHER"
]
},
"employmentStatus": {
"type": "string",
"enum": [
"ACTIVE",
"TERMINATED",
"ON_LEAVE",
"SUSPENDED",
"PENDING"
]
},
"startDate": {
"type": "string"
},
"terminationDate": {
"type": "string"
},
"manager": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"email": {
"type": "string"
}
},
"additionalProperties": false
},
"workLocation": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"OFFICE",
"REMOTE",
"HYBRID"
]
},
"primaryAddress": {
"type": "object",
"properties": {
"street": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"WORK",
"HOME"
]
}
},
"required": [
"type"
],
"additionalProperties": false
}
},
"required": [
"name",
"type"
],
"additionalProperties": false
},
"addresses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"street": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"WORK",
"HOME"
]
}
},
"required": [
"type"
],
"additionalProperties": false
}
},
"phones": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"WORK",
"HOME",
"MOBILE"
]
},
"number": {
"type": "string"
}
},
"required": [
"type",
"number"
],
"additionalProperties": false
}
},
"emails": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"WORK",
"PERSONAL"
]
},
"address": {
"type": "string"
}
},
"required": [
"type",
"address"
],
"additionalProperties": false
}
},
"providerSpecific": {
"type": "object",
"additionalProperties": false
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
},
"required": [
"id",
"firstName",
"lastName",
"email",
"displayName",
"department",
"employmentType",
"employmentStatus",
"startDate",
"workLocation",
"addresses",
"phones",
"emails",
"providerSpecific",
"createdAt",
"updatedAt"
],
"additionalProperties": false
},
"SyncMetadata_adp_unifiedemployees": {
"type": "object",
"additionalProperties": false
}
}
}
43 changes: 43 additions & 0 deletions integrations/adp/.nango/schema.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
export interface SyncMetadata_adp_unifiedemployees {
};

export interface StandardEmployee {
id: string;
firstName: string;
lastName: string;
email: string;
displayName: string;
employeeNumber?: string | undefined;
title?: string | undefined;
department: { id: string;
name: string;};
employmentType: 'FULL_TIME' | 'PART_TIME' | 'CONTRACTOR' | 'INTERN' | 'TEMPORARY' | 'OTHER';
employmentStatus: 'ACTIVE' | 'TERMINATED' | 'ON_LEAVE' | 'SUSPENDED' | 'PENDING';
startDate: string;
terminationDate?: string | undefined;
manager?: { id?: string | undefined;
firstName?: string | undefined;
lastName?: string | undefined;
email?: string | undefined;};
workLocation: { name: string;
type: 'OFFICE' | 'REMOTE' | 'HYBRID';
primaryAddress?: { street?: string | undefined;
city?: string | undefined;
state?: string | undefined;
country?: string | undefined;
postalCode?: string | undefined;
type: 'WORK' | 'HOME';};};
addresses: ({ street?: string | undefined;
city?: string | undefined;
state?: string | undefined;
country?: string | undefined;
postalCode?: string | undefined;
type: 'WORK' | 'HOME';})[];
phones: ({ type: 'WORK' | 'HOME' | 'MOBILE';
number: string;})[];
emails: ({ type: 'WORK' | 'PERSONAL';
address: string;})[];
providerSpecific: {};
createdAt: string;
updatedAt: string;
};
40 changes: 40 additions & 0 deletions integrations/namely-pat/.nango/nango.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[
{
"providerConfigKey": "namely-pat",
"actions": [],
"syncs": [
{
"type": "sync",
"description": "Fetches a list of current employees from Namely and maps them to the standard HRIS model",
"auto_start": true,
"endpoints": [
{
"method": "GET",
"path": "/employees/unified",
"group": "Unified HRIS API"
}
],
"input": "SyncMetadata_namely_pat_unifiedemployees",
"name": "unified-employees",
"output": [
"StandardEmployee"
],
"runs": "every 1h",
"scopes": [],
"sync_type": "incremental",
"track_deletes": false,
"usedModels": [
"StandardEmployee",
"SyncMetadata_namely_pat_unifiedemployees"
],
"version": "0.0.1",
"webhookSubscriptions": []
}
],
"onEventScripts": {
"post-connection-creation": [],
"pre-connection-deletion": [],
"validate-connection": []
}
}
]
Loading
Loading