-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into google-drive-actions-improvements
- Loading branch information
Showing
257 changed files
with
5,130 additions
and
670 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 |
---|---|---|
|
@@ -3,3 +3,12 @@ node_modules | |
package-lock.json | ||
pnpm-lock.yaml | ||
platform/dist | ||
*.md | ||
*.mdx | ||
*.txt | ||
*.yml | ||
*.yaml | ||
*.lock | ||
*.py | ||
*.png | ||
|
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
name: Checkout repo | ||
with: | ||
# See https://github.com/actions/checkout#checkout-v2 | ||
|
@@ -48,8 +48,8 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected].4 | ||
- uses: pnpm/action-setup@v3.0.0 | ||
uses: actions/[email protected].5 | ||
- uses: pnpm/action-setup@v4.0.0 | ||
with: | ||
version: 7.33.6 | ||
- name: Get pnpm store directory | ||
|
@@ -137,8 +137,8 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected].4 | ||
- uses: pnpm/action-setup@v3.0.0 | ||
uses: actions/[email protected].5 | ||
- uses: pnpm/action-setup@v4.0.0 | ||
with: | ||
version: 7.33.6 | ||
- name: Get pnpm store directory | ||
|
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
name: Checkout repo | ||
with: | ||
# See https://github.com/actions/checkout#checkout-v2 | ||
|
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 |
---|---|---|
|
@@ -11,8 +11,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected].4 | ||
- uses: pnpm/action-setup@v3.0.0 | ||
uses: actions/[email protected].5 | ||
- uses: pnpm/action-setup@v4.0.0 | ||
with: | ||
version: 7.33.6 | ||
- name: Get pnpm store directory | ||
|
@@ -117,8 +117,8 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected].4 | ||
- uses: pnpm/action-setup@v3.0.0 | ||
uses: actions/[email protected].5 | ||
- uses: pnpm/action-setup@v4.0.0 | ||
with: | ||
version: 7.33.6 | ||
- name: Get pnpm store directory | ||
|
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 |
---|---|---|
|
@@ -11,8 +11,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected].4 | ||
- uses: pnpm/action-setup@v3.0.0 | ||
uses: actions/[email protected].5 | ||
- uses: pnpm/action-setup@v4.0.0 | ||
with: | ||
version: 7.33.6 | ||
- name: Get pnpm store directory | ||
|
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 |
---|---|---|
|
@@ -20,8 +20,8 @@ jobs: | |
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: pnpm/action-setup@v3.0.0 | ||
- uses: actions/[email protected].5 | ||
- uses: pnpm/action-setup@v4.0.0 | ||
with: | ||
version: 7.33.6 | ||
- name: Get pnpm store directory | ||
|
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected].4 | ||
- uses: actions/[email protected].5 | ||
name: Checkout | ||
- uses: jitterbit/get-changed-files@v1 | ||
id: changed_files | ||
|
@@ -48,12 +48,12 @@ jobs: | |
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].5 | ||
with: | ||
# Full git history is needed to get a proper list of changed files | ||
# within `super-linter` | ||
fetch-depth: 0 | ||
- uses: pnpm/action-setup@v3.0.0 | ||
- uses: pnpm/action-setup@v4.0.0 | ||
with: | ||
version: 7.33.6 | ||
- name: Get pnpm store directory | ||
|
@@ -94,7 +94,7 @@ jobs: | |
with: | ||
format: 'space-delimited' | ||
- name: Lint changed files | ||
run: npx eslint ${{ steps.changed_files_space.outputs.added_modified }} ${{ steps.changed_files_space.outputs.renamed }} | ||
run: npx eslint --quiet ${{ steps.changed_files_space.outputs.added_modified }} ${{ steps.changed_files_space.outputs.renamed }} | ||
- name: Get Changed Files (comma-separated) | ||
id: changed_files | ||
uses: jitterbit/get-changed-files@v1 | ||
|
8 changes: 3 additions & 5 deletions
8
components/hotmart/app/hotmart.app.ts → components/appwrite/appwrite.app.mjs
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 |
---|---|---|
@@ -1,13 +1,11 @@ | ||
import { defineApp } from "@pipedream/types"; | ||
|
||
export default defineApp({ | ||
export default { | ||
type: "app", | ||
app: "hotmart", | ||
app: "appwrite", | ||
propDefinitions: {}, | ||
methods: { | ||
// this.$auth contains connected account data | ||
authKeys() { | ||
console.log(Object.keys(this.$auth)); | ||
}, | ||
}, | ||
}); | ||
}; |
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,15 @@ | ||
{ | ||
"name": "@pipedream/appwrite", | ||
"version": "0.0.1", | ||
"description": "Pipedream Appwrite Components", | ||
"main": "appwrite.app.mjs", | ||
"keywords": [ | ||
"pipedream", | ||
"appwrite" | ||
], | ||
"homepage": "https://pipedream.com/apps/appwrite", | ||
"author": "Pipedream <[email protected]> (https://pipedream.com/)", | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
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,11 @@ | ||
# Overview | ||
|
||
The Bilflo API allows users to automate and integrate staffing and workforce management processes. By connecting Bilflo with Pipedream, users can streamline data flows between Bilflo and other business applications, enabling automated reporting, payroll processing, and seamless data synchronization across platforms. This integration can significantly enhance operational efficiencies, reduce manual data entry, and provide real-time analytics for better decision-making. | ||
|
||
# Example Use Cases | ||
|
||
- **Automated Payroll Processing**: Set up a workflow on Pipedream where hours logged in Bilflo are automatically pushed to a payroll system like ADP or Paychex. When an employee submits their timesheet, the workflow triggers, validates the data, and sends it to the payroll app, ensuring timely and accurate payroll execution. | ||
|
||
- **Real-time Staffing Updates to CRM**: Create a workflow that syncs new employee details or updates from Bilflo to a CRM platform such as Salesforce. Whenever there is a new hire or an update in employee status in Bilflo, the workflow automatically updates the corresponding records in Salesforce, keeping sales and service teams informed about staffing changes. | ||
|
||
- **Automated Compliance Reporting**: Develop a workflow where employee data from Bilflo is used to automatically generate compliance reports. This workflow could connect Bilflo to a document generation tool like Google Docs or an analytics tool like Tableau, compiling necessary compliance information and creating reports at regular intervals or on demand. |
33 changes: 33 additions & 0 deletions
33
components/bilflo/actions/assign-contract-job-to-invoice/assign-contract-job-to-invoice.mjs
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,33 @@ | ||
import bilflo from "../../bilflo.app.mjs"; | ||
|
||
export default { | ||
key: "bilflo-assign-contract-job-to-invoice", | ||
name: "Assign Contract Job to Invoice Group", | ||
description: "Assigns a contract job to a specified invoice group for a client. [See the documentation](https://developer.bilflo.com/documentation#operations-tag-Clients)", | ||
version: "0.0.1", | ||
type: "action", | ||
props: { | ||
bilflo, | ||
jobId: { | ||
type: "integer", | ||
label: "Contract Job Identifier", | ||
description: "The unique identifier for the contract job.", | ||
}, | ||
invoiceGroupId: { | ||
type: "integer", | ||
label: "Invoice Group Identifier", | ||
description: "The unique identifier for the invoice group.", | ||
}, | ||
}, | ||
async run({ $ }) { | ||
const response = await this.bilflo.assignContractJobToInvoiceGroup({ | ||
$, | ||
data: { | ||
jobId: this.jobId, | ||
invoiceGroupId: this.invoiceGroupId, | ||
}, | ||
}); | ||
$.export("$summary", `Successfully assigned contract job ${this.jobId} to invoice group ${this.invoiceGroupId}`); | ||
return response; | ||
}, | ||
}; |
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,27 @@ | ||
import bilflo from "../../bilflo.app.mjs"; | ||
|
||
export default { | ||
key: "bilflo-create-client", | ||
name: "Create Client", | ||
description: "Creates a new client account in Bilflo. [See the documentation](https://developer.bilflo.com/documentation#operations-tag-Clients)", | ||
version: "0.0.1", | ||
type: "action", | ||
props: { | ||
bilflo, | ||
businessName: { | ||
type: "string", | ||
label: "Business Name", | ||
description: "The name of the business for the new client account.", | ||
}, | ||
}, | ||
async run({ $ }) { | ||
const response = await this.bilflo.createClient({ | ||
$, | ||
data: { | ||
businessName: this.businessName, | ||
}, | ||
}); | ||
$.export("$summary", `Successfully created new client account with Id: ${response.data.clientId}`); | ||
return response; | ||
}, | ||
}; |
93 changes: 93 additions & 0 deletions
93
components/bilflo/actions/create-contract-job/create-contract-job.mjs
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,93 @@ | ||
import bilflo from "../../bilflo.app.mjs"; | ||
|
||
export default { | ||
key: "bilflo-create-contract-job", | ||
name: "Create Contract Job", | ||
description: "Creates a new contract job in Bilflo. [See the documentation](https://developer.bilflo.com/documentation)", | ||
version: "0.0.1", | ||
type: "action", | ||
props: { | ||
bilflo, | ||
clientId: { | ||
propDefinition: [ | ||
bilflo, | ||
"clientId", | ||
], | ||
}, | ||
contractorId: { | ||
type: "integer", | ||
label: "Contractor ID", | ||
description: "The unique identifier for the contractor.", | ||
}, | ||
contractorTypeId: { | ||
type: "integer", | ||
label: "Contractor Type ID", | ||
description: "The unique identifier for the contractor type.", | ||
options: [ | ||
{ | ||
label: "W2", | ||
value: 1, | ||
}, | ||
{ | ||
label: "1099", | ||
value: 2, | ||
}, | ||
], | ||
}, | ||
timeCardMethodId: { | ||
type: "integer", | ||
label: "Time Card Method ID", | ||
description: "The unique identifier for the time card method.", | ||
}, | ||
overtimeRuleId: { | ||
type: "integer", | ||
label: "Overtime Rule ID", | ||
description: "The unique identifier for the overtime rule.", | ||
}, | ||
jobTitle: { | ||
type: "string", | ||
label: "Job Title", | ||
description: "The title of the job.", | ||
}, | ||
startDate: { | ||
type: "string", | ||
label: "Start Date", | ||
description: "The start date of the contract job. **Format YYYY-MM-DDTHH:MM:SSZ**", | ||
}, | ||
endDate: { | ||
type: "string", | ||
label: "End Date", | ||
description: "The end date of the contract job. **Format YYYY-MM-DDTHH:MM:SSZ**", | ||
}, | ||
firstWeekEndingDate: { | ||
type: "string", | ||
label: "First Week Ending Date", | ||
description: "The first week ending date of the contract job. **Format YYYY-MM-DDTHH:MM:SSZ**", | ||
}, | ||
burdenTypeId: { | ||
type: "integer", | ||
label: "Burden Type ID", | ||
description: "The unique identifier for the burden type.", | ||
}, | ||
}, | ||
async run({ $ }) { | ||
const response = await this.bilflo.createContractJob({ | ||
$, | ||
data: { | ||
clientId: this.clientId, | ||
contractorId: this.contractorId, | ||
contractorTypeId: this.contractorTypeId, | ||
timeCardMethodId: this.timeCardMethodId, | ||
overtimeRuleId: this.overtimeRuleId, | ||
jobTitle: this.jobTitle, | ||
startDate: this.startDate, | ||
endDate: this.endDate, | ||
firstWeekEndingDate: this.firstWeekEndingDate, | ||
burdenTypeId: this.burdenTypeId, | ||
}, | ||
}); | ||
|
||
$.export("$summary", `Successfully created contract job Id: ${response.data.jobId}`); | ||
return response; | ||
}, | ||
}; |
Oops, something went wrong.