Bitzsoft.Integrations.TeamWork 1.0.0-alpha.8

This is a prerelease version of Bitzsoft.Integrations.TeamWork.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Bitzsoft.Integrations.TeamWork --version 1.0.0-alpha.8
                    
NuGet\Install-Package Bitzsoft.Integrations.TeamWork -Version 1.0.0-alpha.8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bitzsoft.Integrations.TeamWork" Version="1.0.0-alpha.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitzsoft.Integrations.TeamWork" Version="1.0.0-alpha.8" />
                    
Directory.Packages.props
<PackageReference Include="Bitzsoft.Integrations.TeamWork" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bitzsoft.Integrations.TeamWork --version 1.0.0-alpha.8
                    
#r "nuget: Bitzsoft.Integrations.TeamWork, 1.0.0-alpha.8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bitzsoft.Integrations.TeamWork@1.0.0-alpha.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bitzsoft.Integrations.TeamWork&version=1.0.0-alpha.8&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Bitzsoft.Integrations.TeamWork&version=1.0.0-alpha.8&prerelease
                    
Install as a Cake Tool

Bitzsoft.Integrations.TeamWork

协同办公服务抽象层 — 统一接口定义与基础模型。

功能特性

  • 覆盖钉钉、企业微信、飞书三大新型互联网协同平台与泛微、致远互联、蓝凌三大传统 OA
  • 5 个核心服务接口:组织架构、消息推送、统一待办、审批流、SSO 登录
  • 9 个扩展服务接口:客户联系、日历、文档、工作流、表单、公文、会议、知识管理、企业门户
  • 1 个健康检查接口:统一探活
  • 不可变模型设计,所有属性使用 init 访问器
  • 抽象层零外部依赖

安装

dotnet add package Bitzsoft.Integrations.TeamWork
<PackageReference Include="Bitzsoft.Integrations.TeamWork" Version="*" />

核心接口

通用协同办公能力

接口 说明
ITeamWorkOrgProvider 组织架构(部门、员工增删改查)
ITeamWorkMessageProvider 消息推送(工作通知、卡片消息、撤回)
ITeamWorkTodoProvider 统一待办(创建、状态更新、查询、撤回)
ITeamWorkApprovalProvider 审批流(发起、状态查询、撤回)
ITeamWorkSsoProvider 单点登录(OAuth2 授权码模式)
ITeamWorkHealthProvider 健康检查(连通性探活)

平台扩展能力

调用扩展接口前,通过 is 运算符判断供应商是否实现:

接口 适用平台
ITeamWorkContactProvider 企业微信(客户联系)
ITeamWorkCalendarProvider 飞书(日历)
ITeamWorkDocumentProvider 飞书(文档协作)
ITeamWorkWorkflowProvider 泛微 / 致远 / 蓝凌(OA 工作流)
ITeamWorkFormProvider 泛微 / 致远 / 蓝凌(OA 表单)
ITeamWorkOfficialDocumentProvider 致远互联(公文管理)
ITeamWorkMeetingProvider 致远互联(会议管理)
ITeamWorkKnowledgeProvider 蓝凌(知识管理)
ITeamWorkPortalProvider 蓝凌(企业门户)

扩展接口判断示例

// 仅企业微信实现客户联系能力
if (provider is ITeamWorkContactProvider contactProvider)
{
    var contacts = await contactProvider.GetExternalContactsAsync();
}

核心枚举

类型 说明
TodoStatus 待办任务状态
ApprovalStatus 审批流程状态
MessageDeliveryState 消息投递状态
TeamWorkHealthStatus 健康状态
TeamWorkException 协同办公服务异常

依赖

  • 无外部依赖

相关包

包名 说明
Bitzsoft.Integrations.TeamWork.DingTalk 钉钉实现
Bitzsoft.Integrations.TeamWork.WeCom 企业微信实现
Bitzsoft.Integrations.TeamWork.Feishu 飞书实现
Bitzsoft.Integrations.TeamWork.Weaver 泛微 OA 实现
Bitzsoft.Integrations.TeamWork.Seeyon 致远互联实现
Bitzsoft.Integrations.TeamWork.Landray 蓝凌实现
Bitzsoft.Integrations.TeamWork.All 聚合包
Bitzsoft.Integrations.Compatibility 基础工具库
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net5.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Bitzsoft.Integrations.TeamWork:

Package Downloads
Bitzsoft.Integrations.TeamWork.WeCom

企业微信协同办公服务实现

Bitzsoft.Integrations.TeamWork.DingTalk

钉钉协同办公服务实现

Bitzsoft.Integrations.TeamWork.Feishu

飞书协同办公服务实现

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-alpha.9 64 7/12/2026
1.0.0-alpha.8 318 7/1/2026
1.0.0-alpha.7 90 6/16/2026
1.0.0-alpha.6 76 6/16/2026
1.0.0-alpha.5 80 6/14/2026