-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add strict typing * feat: bulk delete records * feat: refactor to use openapi plugin and improve readability * feat: dynamically retrieve category * Update package-lock.json * chore: update comments * feat: camelcase field keys * chore: add comment * chore: update package.json * chore: update deps * chore: update version * Update package-lock.json * chore: update package.json * Create nine-rats-relate.md
- Loading branch information
1 parent
db530df
commit 9535565
Showing
13 changed files
with
614 additions
and
566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@flatfile/plugin-connect-via-merge': minor | ||
--- | ||
|
||
This release provides support for additional Merge.dev integrations. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
export const MERGE_ACCESS_KEY = 'MERGE_ACCESS_KEY' | ||
export const MAX_SYNC_ATTEMPTS = 30 // Thirty cycles is equates to approx. 5 minutes | ||
export const SYNC_RETRY_INTERVAL_MS = 10_000 // 10 seconds | ||
export const CATEGORY_MODELS = { | ||
accounting: { | ||
Account: 'accounts', | ||
Address: 'addresses', | ||
Attachment: 'attachments', | ||
BalanceSheet: 'balanceSheets', | ||
CashFlowStatement: 'cashFlowStatements', | ||
CompanyInfo: 'companyInfo', | ||
CreditNote: 'creditNotes', | ||
Expense: 'expenses', | ||
IncomeStatement: 'incomeStatements', | ||
Invoice: 'invoices', | ||
Item: 'items', | ||
JournalEntry: 'journalEntries', | ||
Payment: 'payments', | ||
PhoneNumber: 'phoneNumbers', | ||
PurchaseOrder: 'purchaseOrders', | ||
TaxRate: 'taxRates', | ||
TrackingCategory: 'trackingCategories', | ||
Transaction: 'transactions', | ||
VendorCredit: 'vendorCredits', | ||
}, | ||
ats: { | ||
Activity: 'activities', | ||
Application: 'applications', | ||
Attachment: 'attachments', | ||
Candidate: 'candidates', | ||
Department: 'departments', | ||
EEOC: 'eeocs', | ||
ScheduledInterview: 'interviews', | ||
JobInterviewStage: 'jobInterviewStages', | ||
Job: 'jobs', | ||
Offer: 'offers', | ||
Office: 'offices', | ||
RejectReason: 'rejectReasons', | ||
Scorecard: 'scorecards', | ||
ScreeningQuestion: 'screeningQuestions', | ||
Tag: 'tags', | ||
RemoteUser: 'users', | ||
}, | ||
crm: { | ||
Account: 'accounts', | ||
Contact: 'contacts', | ||
EngagementType: 'engagementTypes', | ||
Engagement: 'engagements', | ||
Lead: 'leads', | ||
Note: 'notes', | ||
Opportunity: 'opportunities', | ||
Stage: 'stages', | ||
Task: 'tasks', | ||
User: 'users', | ||
}, | ||
filestorage: { | ||
Drive: 'drives', | ||
File: 'files', | ||
Folder: 'folders', | ||
Group: 'groups', | ||
User: 'users', | ||
}, | ||
hris: { | ||
BankInfo: 'bankInfo', | ||
Benefit: 'benefits', | ||
Company: 'companies', | ||
Dependent: 'dependents', | ||
EmployeePayrollRun: 'employeePayrollRuns', | ||
Employee: 'employees', | ||
EmployerBenefit: 'employerBenefits', | ||
Employment: 'employments', | ||
Group: 'groups', | ||
Location: 'locations', | ||
PayGroup: 'payGroups', | ||
PayrollRun: 'payrollRuns', | ||
TimeOff: 'timeOff', | ||
TimeOffBalance: 'timeOffBalances', | ||
}, | ||
mktg: { | ||
Action: 'actions', | ||
Automation: 'automations', | ||
Campaign: 'campaigns', | ||
Contact: 'contacts', | ||
MarketingEmail: 'marketingEmails', | ||
Event: 'events', | ||
List: 'lists', | ||
Message: 'messages', | ||
Template: 'templates', | ||
User: 'users', | ||
}, | ||
ticketing: { | ||
Ticket: 'tickets', | ||
Comment: 'comments', | ||
Attachment: 'attachments', | ||
Collection: 'collections', | ||
Issue: 'issues', | ||
Project: 'projects', | ||
Team: 'teams', | ||
User: 'users', | ||
Tag: 'tags', | ||
}, | ||
} |
Oops, something went wrong.