web-api: type is_stoppable and date_status_processing_expire on conversations.list agent statuses
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- api
Hướng nghiên cứu
Bắt đầu bằng cách đọc scripts/generate-web-api-types.sh và các phản hồi API đã ghi lại trong slackapi/java-slack-sdk's json-logs/samples/api. Kiểm tra các mẫu conversations.list và users.conversations để tìm trạng thái agent, sau đó lần theo luồng tạo mã để xem AgentStatus được định nghĩa như thế nào. Hoàn tất khi các kiểu phản hồi được tạo có hai trường tùy chọn trong cả hai phản hồi, khớp với ConversationsHistoryResponse.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
In #2899, the AgentStatus type in ConversationsListResponse and UsersConversationsResponse has only agent_bot_user_id and status, while ConversationsHistoryResponse already types it with date_status_processing_expire and is_stoppable too. On conversations.list, agent_statuses was any[] before #2899, so code that reads those two fields from a conversations.list agent session no longer compiles.
Expected
AgentStatus in ConversationsListResponse and UsersConversationsResponse matches ConversationsHistoryResponse, with date_status_processing_expire?: number and is_stoppable?: boolean.
Approach
These types are generated by scripts/generate-web-api-types.sh from the recorded responses in slackapi/java-slack-sdk json-logs/samples/api. Once the recorded conversations.list and users.conversations responses include agent statuses with these fields, the next regeneration picks them up.
Raised in review: https://github.com/slackapi/node-slack-sdk/pull/2899#discussion_r4793467957
- Ngôn ngữ chính
- TypeScript
- Star
- 3.4k
- Fork
- 694
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 75
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của slackapi/node-slack-sdk
-
pkg:web-api
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
slackapi/node-slack-sdk#2895 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pkg:web-api
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
slackapi/node-slack-sdk#2894 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`SlackListsItem FieldMessage.message` type does not match API response shapeCó thể đã có người làm @AjTheSpidey đã nhận 202 ngày trước. Đang mởarea:typescript auto-triage-skip bug pkg:web-api
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
slackapi/node-slack-sdk#2598 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Missing TypeScript response type for files.uploadV2Có thể đã có người làm @Yshuro đã nhận 6 ngày trước. Đang mởarea:typescript auto-triage-skip bug pkg:web-api
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
slackapi/node-slack-sdk#2459 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs/types: document `broadcast_delete` on chat.delete (undo reply_broadcast)Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea:typescript enhancement pkg:web-api semver:patch
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
slackapi/node-slack-sdk#2815 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của slackapi/node-slack-sdk
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Techiebutler/freeframe#687 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement from-app needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
nightly-labs/openbot#23050 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OHDSI/Data2Evidence#3846 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
frontend: EditorDialog: Save & Apply on an empty or comment-only document reports success and applies nothingCó thể đã có người làm @shubhamrai9122-creator đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
kubernetes-sigs/headlamp#9086 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
openai/openai-node#3232 ·
Maintainer thường phản hồi trong vòng 1 ngày