@agentapps/app.factorial 0.0.0-stage → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/agentapp.json +57 -0
- package/dist/app.js +23516 -0
- package/package.json +28 -4
package/README.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Factorial
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Factorial HR — manage employees, time off, attendance, payroll, documents, contracts and teams via Factorial API with OAuth2
|
|
4
|
+
|
|
5
|
+
An [Agent App](https://agentapps.tech). Install it with the Agent Apps CLI:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @agentapps/cli
|
|
9
|
+
agentapps install app.factorial factorial
|
|
10
|
+
agentapps factorial tools
|
|
11
|
+
```
|
package/agentapp.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://agentapps.dev/schemas/app-manifest.json",
|
|
3
|
+
"id": "app.factorial",
|
|
4
|
+
"version": "2.0.1",
|
|
5
|
+
"name": "Factorial",
|
|
6
|
+
"description": "Factorial HR — manage employees, time off, attendance, payroll, documents, contracts and teams via Factorial API with OAuth2",
|
|
7
|
+
"tagline": "Manage employees, time off, attendance, and payroll in Factorial HR",
|
|
8
|
+
"author": { "name": "Pablo López Torres", "email": "pablolopeztorres@gmail.com" },
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"logo": "assets/logo.svg",
|
|
11
|
+
"logoMono": "assets/logo-mono.svg",
|
|
12
|
+
"terms": "https://agentapps.tech/terms",
|
|
13
|
+
"category": "productivity",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"factorial",
|
|
16
|
+
"hr",
|
|
17
|
+
"employees",
|
|
18
|
+
"payroll",
|
|
19
|
+
"time-off",
|
|
20
|
+
"attendance",
|
|
21
|
+
"contracts",
|
|
22
|
+
"documents"
|
|
23
|
+
],
|
|
24
|
+
|
|
25
|
+
"entrypoint": {
|
|
26
|
+
"type": "module",
|
|
27
|
+
"path": "src/app.ts",
|
|
28
|
+
"export": "factory"
|
|
29
|
+
},
|
|
30
|
+
|
|
31
|
+
"runtime": {
|
|
32
|
+
"transport": "stdio",
|
|
33
|
+
"command": "tsx",
|
|
34
|
+
"args": ["src/app.ts"]
|
|
35
|
+
},
|
|
36
|
+
|
|
37
|
+
"capabilities": { "tools": true, "health": true },
|
|
38
|
+
|
|
39
|
+
"auth": {
|
|
40
|
+
"type": "oauth2",
|
|
41
|
+
"provider": "factorial",
|
|
42
|
+
"authorizeUrl": "https://api.factorialhr.com/oauth/authorize",
|
|
43
|
+
"tokenUrl": "https://api.factorialhr.com/oauth/token",
|
|
44
|
+
"scopes": [
|
|
45
|
+
"employees",
|
|
46
|
+
"time_off",
|
|
47
|
+
"time_tracking",
|
|
48
|
+
"documents",
|
|
49
|
+
"contracts",
|
|
50
|
+
"company_locations",
|
|
51
|
+
"company_legal_entities"
|
|
52
|
+
],
|
|
53
|
+
"pkce": false,
|
|
54
|
+
"systemSecrets": ["CLIENT_ID", "CLIENT_SECRET"],
|
|
55
|
+
"installationSecrets": ["ACCESS_TOKEN", "REFRESH_TOKEN", "TOKEN_TYPE", "USER_ID", "USER_EMAIL"]
|
|
56
|
+
}
|
|
57
|
+
}
|