@scopieflows/app-assembled 0.1.1 → 0.1.4
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/package.json +6 -21
- package/src/index.d.ts +2 -1
- package/src/index.d.ts.map +1 -0
- package/src/index.js +2 -2
- package/src/index.js.map +1 -1
- package/src/lib/actions/add-shift.d.ts +8 -7
- package/src/lib/actions/add-shift.d.ts.map +1 -0
- package/src/lib/actions/add-shift.js +2 -2
- package/src/lib/actions/add-shift.js.map +1 -1
- package/src/lib/actions/custom-api-call.d.ts +12 -11
- package/src/lib/actions/custom-api-call.d.ts.map +1 -0
- package/src/lib/actions/custom-api-call.js +1 -1
- package/src/lib/actions/custom-api-call.js.map +1 -1
- package/src/lib/actions/custom-graphql.d.ts +4 -3
- package/src/lib/actions/custom-graphql.d.ts.map +1 -0
- package/src/lib/actions/custom-graphql.js +1 -1
- package/src/lib/actions/custom-graphql.js.map +1 -1
- package/src/lib/actions/delete-OOO.d.ts +3 -2
- package/src/lib/actions/delete-OOO.d.ts.map +1 -0
- package/src/lib/actions/delete-OOO.js +2 -2
- package/src/lib/actions/delete-OOO.js.map +1 -1
- package/src/lib/actions/get-user-schedule.d.ts +5 -4
- package/src/lib/actions/get-user-schedule.d.ts.map +1 -0
- package/src/lib/actions/get-user-schedule.js +2 -2
- package/src/lib/actions/get-user-schedule.js.map +1 -1
- package/src/lib/actions/ooo.d.ts +9 -8
- package/src/lib/actions/ooo.d.ts.map +1 -0
- package/src/lib/actions/ooo.js +2 -2
- package/src/lib/actions/ooo.js.map +1 -1
- package/src/lib/actions/update-OOO.d.ts +9 -8
- package/src/lib/actions/update-OOO.d.ts.map +1 -0
- package/src/lib/actions/update-OOO.js +2 -2
- package/src/lib/actions/update-OOO.js.map +1 -1
- package/src/lib/common/auth.d.ts +2 -1
- package/src/lib/common/auth.d.ts.map +1 -0
- package/src/lib/common/auth.js +1 -1
- package/src/lib/common/auth.js.map +1 -1
- package/src/lib/common/index.d.ts +3 -2
- package/src/lib/common/index.d.ts.map +1 -0
- package/src/lib/common/index.js +1 -1
- package/src/lib/common/index.js.map +1 -1
- package/src/lib/triggers/OOO-status-changed.d.ts +3 -2
- package/src/lib/triggers/OOO-status-changed.d.ts.map +1 -0
- package/src/lib/triggers/OOO-status-changed.js +2 -2
- package/src/lib/triggers/OOO-status-changed.js.map +1 -1
- package/src/lib/triggers/new-OOO-request.d.ts +3 -2
- package/src/lib/triggers/new-OOO-request.d.ts.map +1 -0
- package/src/lib/triggers/new-OOO-request.js +2 -2
- package/src/lib/triggers/new-OOO-request.js.map +1 -1
- package/src/lib/triggers/schedule-updated.d.ts +3 -2
- package/src/lib/triggers/schedule-updated.d.ts.map +1 -0
- package/src/lib/triggers/schedule-updated.js +2 -2
- package/src/lib/triggers/schedule-updated.js.map +1 -1
- package/README.md +0 -7
- package/src/i18n/de.json +0 -82
- package/src/i18n/es.json +0 -82
- package/src/i18n/fr.json +0 -82
- package/src/i18n/ja.json +0 -82
- package/src/i18n/nl.json +0 -82
- package/src/i18n/pt.json +0 -82
- package/src/i18n/translation.json +0 -82
- package/src/i18n/zh.json +0 -82
- package/test-endpoints.md +0 -35
package/src/i18n/zh.json
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Workforce management platform for scheduling and forecasting": "Workforce management platform for scheduling and forecasting",
|
|
3
|
-
"You can obtain API key by navigating to [Settings->API](https://app.assembledhq.com/settings/api) page.": "You can obtain API key by navigating to [Settings->API](https://app.assembledhq.com/settings/api) page.",
|
|
4
|
-
"Custom API Call": "自定义 API 呼叫",
|
|
5
|
-
"Custom GraphQL": "Custom GraphQL",
|
|
6
|
-
"Create OOO Request": "Create OOO Request",
|
|
7
|
-
"Add Shift on Assembled": "Add Shift on Assembled",
|
|
8
|
-
"Update OOO Request": "Update OOO Request",
|
|
9
|
-
"Delete OOO Request": "Delete OOO Request",
|
|
10
|
-
"Make custom API calls to Assembled endpoints": "Make custom API calls to Assembled endpoints",
|
|
11
|
-
"Perform a custom GraphQL query": "Perform a custom GraphQL query",
|
|
12
|
-
"Create an Out of Office request in Assembled.": "Create an Out of Office request in Assembled.",
|
|
13
|
-
"Add a new shift to a user's schedule in Assembled": "Add a new shift to a user's schedule in Assembled",
|
|
14
|
-
"Updates an existing OOO request.": "Updates an existing OOO request.",
|
|
15
|
-
"Cancel/delete a OOO request.": "Cancel/delete a OOO request.",
|
|
16
|
-
"Method": "方法",
|
|
17
|
-
"Headers": "信头",
|
|
18
|
-
"Query Parameters": "查询参数",
|
|
19
|
-
"Body Type": "Body Type",
|
|
20
|
-
"Body": "正文内容",
|
|
21
|
-
"Response is Binary ?": "Response is Binary ?",
|
|
22
|
-
"No Error on Failure": "失败时没有错误",
|
|
23
|
-
"Timeout (in seconds)": "超时(秒)",
|
|
24
|
-
"Follow redirects": "Follow redirects",
|
|
25
|
-
"Query": "Query",
|
|
26
|
-
"Parameters": "Parameters",
|
|
27
|
-
"Mock Mode": "Mock Mode",
|
|
28
|
-
"User ID": "User ID",
|
|
29
|
-
"Start Date": "Start Date",
|
|
30
|
-
"End Date": "End Date",
|
|
31
|
-
"Activity Type ID": "Activity Type ID",
|
|
32
|
-
"All Day Event": "All Day Event",
|
|
33
|
-
"Reason": "Reason",
|
|
34
|
-
"Agent ID": "Agent ID",
|
|
35
|
-
"Start Time": "开始时间",
|
|
36
|
-
"End Time": "End Time",
|
|
37
|
-
"Shift Type": "Shift Type",
|
|
38
|
-
"Notes": "Notes",
|
|
39
|
-
"OOO ID": "OOO ID",
|
|
40
|
-
"Status": "状态",
|
|
41
|
-
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
|
|
42
|
-
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
|
|
43
|
-
"Use mock data for testing": "Use mock data for testing",
|
|
44
|
-
"ID of the user requesting time off": "ID of the user requesting time off",
|
|
45
|
-
"Start date of the OOO period": "Start date of the OOO period",
|
|
46
|
-
"End date of the OOO period": "End date of the OOO period",
|
|
47
|
-
"UUID of the activity type for time off (can be retrieved from activity types endpoints)": "UUID of the activity type for time off (can be retrieved from activity types endpoints)",
|
|
48
|
-
"Whether this is an all-day OOO event": "Whether this is an all-day OOO event",
|
|
49
|
-
"Reason for the OOO request": "Reason for the OOO request",
|
|
50
|
-
"Agent ID of the person to assign the shift to (use the agent_id field from /people endpoint, not the person id)": "Agent ID of the person to assign the shift to (use the agent_id field from /people endpoint, not the person id)",
|
|
51
|
-
"Start time of the shift": "Start time of the shift",
|
|
52
|
-
"End time of the shift": "End time of the shift",
|
|
53
|
-
"Type of shift": "Type of shift",
|
|
54
|
-
"UUID of the activity type for this shift (get from /activity_types endpoint)": "UUID of the activity type for this shift (get from /activity_types endpoint)",
|
|
55
|
-
"Additional notes for the shift": "Additional notes for the shift",
|
|
56
|
-
"ID of the user for the time off request (required for creating new request)": "ID of the user for the time off request (required for creating new request)",
|
|
57
|
-
"UUID of the activity type for time off (required for creating new request)": "UUID of the activity type for time off (required for creating new request)",
|
|
58
|
-
"GET": "获取",
|
|
59
|
-
"POST": "帖子",
|
|
60
|
-
"PATCH": "PATCH",
|
|
61
|
-
"PUT": "弹出",
|
|
62
|
-
"DELETE": "删除",
|
|
63
|
-
"HEAD": "黑色",
|
|
64
|
-
"None": "无",
|
|
65
|
-
"JSON": "JSON",
|
|
66
|
-
"Form Data": "表单数据",
|
|
67
|
-
"Raw": "原始文件",
|
|
68
|
-
"Regular": "Regular",
|
|
69
|
-
"Overtime": "Overtime",
|
|
70
|
-
"On-call": "On-call",
|
|
71
|
-
"Training": "Training",
|
|
72
|
-
"Pending": "待處理",
|
|
73
|
-
"Approved": "Approved",
|
|
74
|
-
"Rejected": "Rejected",
|
|
75
|
-
"Cancelled": "Cancelled",
|
|
76
|
-
"New OOO Request": "New OOO Request",
|
|
77
|
-
"OOO Status Changed": "OOO Status Changed",
|
|
78
|
-
"Schedule Updated": "Schedule Updated",
|
|
79
|
-
"Triggers when a new OOO request is created.": "Triggers when a new OOO request is created.",
|
|
80
|
-
"Triggers on approval/rejection of OOO.": "Triggers on approval/rejection of OOO.",
|
|
81
|
-
"Triggers when user schedule is modified.": "Triggers when user schedule is modified."
|
|
82
|
-
}
|
package/test-endpoints.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Assembled API Test Endpoints
|
|
2
|
-
|
|
3
|
-
## GET Requests (no body needed)
|
|
4
|
-
- `/users` - List all users
|
|
5
|
-
- `/teams` - List teams
|
|
6
|
-
- `/queues` - List queues
|
|
7
|
-
- `/time-off-requests` - List time off requests
|
|
8
|
-
- `/users/{user_id}` - Get specific user
|
|
9
|
-
- `/users/{user_id}/schedule` - Get user's schedule
|
|
10
|
-
|
|
11
|
-
## POST Requests (need body)
|
|
12
|
-
- `/time-off-requests` - Create time off request
|
|
13
|
-
```json
|
|
14
|
-
{
|
|
15
|
-
"user_id": "user123",
|
|
16
|
-
"start_date": "2024-01-15",
|
|
17
|
-
"end_date": "2024-01-16",
|
|
18
|
-
"reason": "Vacation"
|
|
19
|
-
}
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
- `/users/{user_id}/shifts` - Add shift
|
|
23
|
-
```json
|
|
24
|
-
{
|
|
25
|
-
"start_time": "2024-01-15T09:00:00Z",
|
|
26
|
-
"end_time": "2024-01-15T17:00:00Z",
|
|
27
|
-
"shift_type": "regular"
|
|
28
|
-
}
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## Testing Steps
|
|
32
|
-
1. Start with simple GET requests to `/users` or `/teams`
|
|
33
|
-
2. Use your Assembled API key in the auth field
|
|
34
|
-
3. Check the response to verify connectivity
|
|
35
|
-
4. Try POST requests with sample data
|