shcp-api-lib 1.0.0 → 1.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/dist/index.d.ts CHANGED
@@ -5254,6 +5254,11 @@ declare class CommonDictApi {
5254
5254
  static getSelectAll(): Promise<CommonRes<DictBiz[]>>;
5255
5255
  }
5256
5256
 
5257
+ declare class FileApi {
5258
+ static uploadFileQiniu(file: FileObject | FileObject[]): Promise<UploadResponse | UploadResponse[]>;
5259
+ private static upload_file;
5260
+ }
5261
+
5257
5262
  declare class CommonRightApi {
5258
5263
  static getRightList(data: RightRequest): Promise<CommonRes<RightDTO[]>>;
5259
5264
  static flowPage(data: ServiceFlowQuery): Promise<CommonRes<PagedList<ServiceFlowDTO>>>;
@@ -5656,5 +5661,5 @@ declare class UserGroupApi {
5656
5661
  static delete(data: UserGroupDeleteRequest): any;
5657
5662
  }
5658
5663
 
5659
- export { AggregateType, AppCategory, AppCategoryOptions, AppClientApi, AppClientPageConfigApi, AppClientSettingApi, AppPlatformType, CommonDictApi, CommonRightApi, ConsumerApi, ConsumerBindApi, ConsumerDeviceApi, ConsumerDeviceStatus, ConsumerDeviceStatusOptions, ConsumerFavoriteApi, ConsumerMarkType, ConsumerMarkTypeOptions, ConsumerRightStatus, ConsumerRightStatusOptions, DeliveryMethod, DeliveryMethodOptions, DeviceApi, DeviceStatus, DeviceStatusOptions, DeviceType, DeviceTypeOptions, DeviceUserApi, DiseaseCareServiceFlowStatusOptions, ErrCode, FileType, FileTypeOptions, Gender, GenderOptions, GroupJoinType, GroupJoinTypeOptions, HealthCommonApi, HealthMetricApi, HealthProfileApi, HealthRecordType, HealthRecordTypeOptions, HealthSelfAssessApi, HealthServiceType, HealthServiceTypeOptions, HealthStudyPlanExecMethodOptions, HealthStudyServiceFlowStatusOptions, HealthToolApi, HelpCenterApi, HuaWeiWatchMetricCategory, ImUserApi, InterviewServiceTaskStatusOptions, KMForm, KmArticleApi, KmFormApi, KmFormRuleRelationApi, LoginApi, MarketingApi, MarketingTaskLogStatus, MarketingTaskLogStatusOptions, MarketingTaskStatus, MarketingTaskStatusOptions, MemberListType, MemberListTypeMap, MessageActionLabel, MessageActionLabelOptions, MessageActionStatus, MessageBizCategory, MessageBizCategoryOptions, MessageChannelType, MessageChannelTypeOptions, MessageRecordApi, MessageStatus, MessageStyle, MessageStyleOptions, MetricExceptionLevel, MetricExceptionLevelOptions, MetricExceptionStatus, MetricExceptionStatusOptions, MetricValueType, MetricValueTypeOptions, MineApi, PlanExecMethod, PlanExecMethodOptions, PlanExecType, PlanExecTypeOptions, Resource, RightQrcodeApi, RightServiceConfigApi, RightType, ServiceFlowRequests, ServiceFlowStatus, ServiceTaskCategory, ServiceTaskRequests, ServiceTaskStatus, ServiceTaskStatusOptions, ShcpUserType, ShcpUserTypeOptions, Status, StudyType, SystemRightApi, UserGroupApi, VisitType, VisitTypeOptions, checkResponse, commonProccessResponse, crudConsumerApi, crudConsumerGroupApi, crudDiseaseCareAbnormalTaskApi, crudDiseaseCareAssessTaskApi, crudDiseaseCareConsumerApi, crudDiseaseCareFollowupTaskApi, crudDiseaseCareInterviewTaskApi, crudDiseaseCareReferralApi, crudHealthStudyAbnormalTaskApi, crudHealthStudyAssessTaskApi, crudHealthStudyConsumerApi, crudHealthStudyFollowupTaskApi, crudHealthStudyInterviewTaskApi, crudHealthStudyReferralApi, diseaseExceptionOpApi, diseaseOpApi, formatMetricData, getPlanExecLabel, healthStudyExceptionOpApi, healthStudyOpApi };
5664
+ export { AggregateType, AppCategory, AppCategoryOptions, AppClientApi, AppClientPageConfigApi, AppClientSettingApi, AppPlatformType, CommonDictApi, CommonRightApi, ConsumerApi, ConsumerBindApi, ConsumerDeviceApi, ConsumerDeviceStatus, ConsumerDeviceStatusOptions, ConsumerFavoriteApi, ConsumerMarkType, ConsumerMarkTypeOptions, ConsumerRightStatus, ConsumerRightStatusOptions, DeliveryMethod, DeliveryMethodOptions, DeviceApi, DeviceStatus, DeviceStatusOptions, DeviceType, DeviceTypeOptions, DeviceUserApi, DiseaseCareServiceFlowStatusOptions, ErrCode, FileApi, FileType, FileTypeOptions, Gender, GenderOptions, GroupJoinType, GroupJoinTypeOptions, HealthCommonApi, HealthMetricApi, HealthProfileApi, HealthRecordType, HealthRecordTypeOptions, HealthSelfAssessApi, HealthServiceType, HealthServiceTypeOptions, HealthStudyPlanExecMethodOptions, HealthStudyServiceFlowStatusOptions, HealthToolApi, HelpCenterApi, HuaWeiWatchMetricCategory, ImUserApi, InterviewServiceTaskStatusOptions, KMForm, KmArticleApi, KmFormApi, KmFormRuleRelationApi, LoginApi, MarketingApi, MarketingTaskLogStatus, MarketingTaskLogStatusOptions, MarketingTaskStatus, MarketingTaskStatusOptions, MemberListType, MemberListTypeMap, MessageActionLabel, MessageActionLabelOptions, MessageActionStatus, MessageBizCategory, MessageBizCategoryOptions, MessageChannelType, MessageChannelTypeOptions, MessageRecordApi, MessageStatus, MessageStyle, MessageStyleOptions, MetricExceptionLevel, MetricExceptionLevelOptions, MetricExceptionStatus, MetricExceptionStatusOptions, MetricValueType, MetricValueTypeOptions, MineApi, PlanExecMethod, PlanExecMethodOptions, PlanExecType, PlanExecTypeOptions, Resource, RightQrcodeApi, RightServiceConfigApi, RightType, ServiceFlowRequests, ServiceFlowStatus, ServiceTaskCategory, ServiceTaskRequests, ServiceTaskStatus, ServiceTaskStatusOptions, ShcpUserType, ShcpUserTypeOptions, Status, StudyType, SystemRightApi, UserGroupApi, VisitType, VisitTypeOptions, checkResponse, commonProccessResponse, crudConsumerApi, crudConsumerGroupApi, crudDiseaseCareAbnormalTaskApi, crudDiseaseCareAssessTaskApi, crudDiseaseCareConsumerApi, crudDiseaseCareFollowupTaskApi, crudDiseaseCareInterviewTaskApi, crudDiseaseCareReferralApi, crudHealthStudyAbnormalTaskApi, crudHealthStudyAssessTaskApi, crudHealthStudyConsumerApi, crudHealthStudyFollowupTaskApi, crudHealthStudyInterviewTaskApi, crudHealthStudyReferralApi, diseaseExceptionOpApi, diseaseOpApi, formatMetricData, getPlanExecLabel, healthStudyExceptionOpApi, healthStudyOpApi };
5660
5665
  export type { AdviceConfigDTO, Aggregation, AppClientCopyRequest, AppClientCopyResponse, AppClientDTO, AppClientLoginRequest, AppClientPageConfigCopyUpdateRequest, AppClientPageConfigDTO, AppClientPageConfigQuery, AppClientQuery, AppClientSettingDTO, AppClientSettingQuery, ArticleCategory, ArticleCategoryDTO, ArticleCategoryTreeRequest, ArticleDTO, ArticleItem, ArticleQuery, ArticleTagDTO, ArticleTagQuery, AssessConfigDTO, AssessTaskDTO, AssessmentConfig, AssessmentResultDTO, AssessmentTaskDTO, BaseProfileTaskDTO, BindUserRequest, BloodOxygenExceptionInfo, BloodOxygenLevelRange, BloodOxygenMetricInfo, BloodPressureExceptionInfo, BloodPressureLevelRange, BloodPressureMetricInfo, CAppCardDTO, CareConfig, CommonRes, ComponentConfig, ComponentInfo, ComponentItem, ConsumerBindActiveRequest, ConsumerBindCreateRequest, ConsumerBindDTO, ConsumerBindDeleteRequest, ConsumerBindQuery, ConsumerBindSendSmsCodeRequest, ConsumerBindUpdateRequest, ConsumerContact, ConsumerCreateRequest, ConsumerDTO, ConsumerDetail, ConsumerDeviceCreateRequest, ConsumerDeviceDTO, ConsumerDeviceQuery, ConsumerDeviceUpdateRequest, ConsumerFavoriteCreateRequest, ConsumerFavoriteDTO, ConsumerFavoriteDeleteRequest, ConsumerFavoriteQuery, ConsumerGroupDTO, ConsumerGroupDeleteRequest, ConsumerGroupMemberCreateRequest, ConsumerGroupMemberDTO, ConsumerGroupMemberQuery, ConsumerGroupMemberUpdateRequest, ConsumerGroupQuery, ConsumerGroupUpdateRequest, ConsumerLabel, ConsumerMark, ConsumerQuery, ConsumerRightCreateRequest, ConsumerRightDTO, ConsumerRightDeleteRequest, ConsumerRightDoctorDTO, ConsumerRightDoctorQuery, ConsumerRightQuery, ConsumerUpdateRequest, CreateRequest, Detail, DeviceCopyRequest, DeviceCopyResponse, DeviceCreateRequest, DeviceDTO, DeviceDeleteRequest, DeviceQuery, DeviceUpdateRequest, DeviceUserCreateRequest, DeviceUserDTO, DeviceUserInfo, DeviceUserLoginRequest, DeviceUserQuery, DeviceUserUpdateRequest, DiaryTaskDTO, DiaryTaskFetch, DiaryTaskSubmit, DictBiz, DictBizVO, DiseaseCareConfigDTO, DiseaseCareFlowExtension, EducationConfigDTO, ExecTimeConfig, FastAgent, FileObject, FollowUpConfigDTO, FollowUpPlan, FollowUpPoint, FollowUpTaskDTO, FormRuleRelationDTO, FormRuleRelationQuery, Group, GroupingConfig, GroupingConfigDTO, GuideArticle, HealthCareOpApi, HealthConsultConfigDTO, HealthMetric, HealthMetricDTO, HealthMetricLogDTO, HealthMetricQuery, HealthMetricTrendDTO, HealthMetricTrendQuery, HealthProfileConfigDTO, HealthRecord, HealthSelfAssessmentConfigDTO, HealthStudyConfigDTO, HealthStudyFlowExtension, HealthToolConfigDTO, HealthToolTaskDTO, HealthToolTaskFetch, HealthToolTaskStart, HealthToolTaskStartDTO, HeartRateExceptionInfo, HeartRateLevelRange, HeartRateMetricInfo, HuaWeiWatch, HuaWeiWatchConfig, HuaWeiWatchMetric, IMUserDTO, IMUserQuery, IMUserRequest, Log, MarketingContentCreateRequest, MarketingContentDTO, MarketingContentUpdateRequest, MarketingCreateRequest, MarketingDTO, MarketingDeleteRequest, MarketingQuery, MarketingTaskDTO, MarketingTaskLogCreateRequest, MarketingTaskLogDTO, MarketingTaskLogQuery, MarketingTaskQuery, MarketingUpdateRequest, MessageRecordDTO, MessageRecordQuery, MessageRecordUpdateRequest, MessageTemplateDTO, MessageTemplateQuery, Metric, MetricExceptionDTO, MetricExceptionInfo, MetricExceptionQuery, MetricExceptionUpdateRequests, MetricExceptionUserCountDTO, MetricExceptionUserDTO, MetricMonitorConfigDTO, MetricMonitorPlan, MetricRecordInfo, MetricTrendInfo, NewsArticleTag, Operator, PageRequest, PagedList, PotentialCustomerCreateRequest, PotentialCustomerDTO, QueryTreeRequest, ReportTaskDTO, ReportTaskFetch, ReportTaskSubmit, ReturnVisitConfigDTO, RightCopyRequest, RightCopyResponse, RightDTO, RightQrCodeCreateRequest, RightQrCodeDTO, RightQrCodeRequest, RightQrCodeUpdateRequest, RightQuery, RightRequest, RightServiceConfigCopyUpdateRequest, RightServiceConfigDTO, RightServiceConfigQuery, SaleDTO, ServiceFlowConfigDTO, ServiceFlowConfigQuery, ServiceFlowDTO, ServiceFlowQuery, ServiceFlowStatisticsDTO, ServiceFlowStatisticsQuery, ServiceStartDTO, ServiceStartRequest, ServiceTaskDTO, ServiceTaskDeleteRequest, ServiceTaskQuery, ServiceTaskRightQuery, ServiceTaskStatisticsDTO, ServiceTaskStatisticsQuery, ServiceTaskUserCountDTO, ServiceTaskUserDTO, SmsDTO, StepsMetricInfo, TabOption, TaskDTO, Tenant, TenantUserDetail, TrendMetric, TrendMetricTag, UnbindUserRequest, UploadResponse, UserDTO, UserGroupDeleteRequest, UserGroupInfo, UserGroupMemberRequest, UserGroupUpdateRequest, UserInfo, WrapperMessageRecordDTO, marketingSendContentRequest, uplooadReportQuery };
package/dist/index.esm.js CHANGED
@@ -1025,6 +1025,183 @@ class CommonDictApi {
1025
1025
  }
1026
1026
  }
1027
1027
 
1028
+ // 七牛云区域上传URL映射常量
1029
+ const QINIU_UPLOAD_URLS = {
1030
+ ECN: 'https://up.qiniup.com',
1031
+ NCN: 'https://up-z1.qiniup.com',
1032
+ SCN: 'https://up-z2.qiniup.com',
1033
+ NA: 'https://up-na0.qiniup.com',
1034
+ ASG: 'https://up-as0.qiniup.com',
1035
+ };
1036
+ // 根据区域代码获取上传URL
1037
+ function getUploadURL(code) {
1038
+ return (code && QINIU_UPLOAD_URLS[code]) || null;
1039
+ }
1040
+ // 七牛云上传 API 类
1041
+ class _QiniuUploaderApi {
1042
+ constructor() {
1043
+ // 请参考demo的index.js中的initQiniu()方法,若在使用处对options进行了赋值,则此处config不需要赋默认值。init(options) 即updateConfigWithOptions(options),会对config进行赋值
1044
+ this.config = {
1045
+ // bucket 所在区域。ECN, SCN, NCN, NA, ASG,分别对应七牛云的:华东,华南,华北,北美,新加坡 5 个区域
1046
+ qiniuRegion: '',
1047
+ // 七牛云bucket 外链前缀,外链在下载资源时用到
1048
+ qiniuBucketURLPrefix: '',
1049
+ // 获取uptoken方法三选一即可,执行优先级为:uptoken > uptokenURL > uptokenFunc。三选一,剩下两个置空。推荐使用uptokenURL,详情请见 README.md
1050
+ // 由其他程序生成七牛云uptoken,然后直接写入uptoken
1051
+ qiniuUploadToken: '',
1052
+ // 从指定 url 通过 HTTP GET 获取 uptoken,返回的格式必须是 json 且包含 uptoken 字段,例如: {"uptoken": "0MLvWPnyy..."}
1053
+ qiniuUploadTokenURL: '',
1054
+ // qiniuShouldUseQiniuFileName 如果是 true,则文件的 key 由 qiniu 服务器分配(全局去重)。如果是 false,则文件的 key 使用微信自动生成的 filename。出于初代sdk用户升级后兼容问题的考虑,默认是 false。
1055
+ // 微信自动生成的 filename较长,导致fileURL较长。推荐使用{qiniuShouldUseQiniuFileName: true} + "通过fileURL下载文件时,自定义下载名" 的组合方式。
1056
+ // 自定义上传key 需要两个条件:1. 此处 shouldUseQiniuFileName 值为false。 2. 通过修改qiniuUploader.upload方法传入的options参数,可以进行自定义key。(请不要直接在sdk中修改options参数,修改方法请见demo的index.js)
1057
+ // 通过fileURL下载文件时,自定义下载名,请参考:七牛云"对象存储 > 产品手册 > 下载资源 > 下载设置 > 自定义资源下载名"(https://developer.qiniu.com/kodo/manual/1659/download-setting)。本sdk在README.md的"常见问题"板块中,有"通过fileURL下载文件时,自定义下载名"使用样例。
1058
+ qiniuShouldUseQiniuFileName: false,
1059
+ shouldUseQiniuFileName: false,
1060
+ fileType: '',
1061
+ };
1062
+ }
1063
+ // init(options) 将七牛云相关配置初始化进本sdk
1064
+ // 在整个程序生命周期中,只需要 init(options); 一次即可
1065
+ // 如果需要变更七牛云配置,再次调用 init(options); 即可
1066
+ init(options) {
1067
+ this.updateConfigWithOptions(options);
1068
+ }
1069
+ // 正式上传的前置方法,做预处理,应用七牛云配置
1070
+ async upload(filePath, suffix) {
1071
+ if (filePath == null) {
1072
+ throw new Error('qiniu uploader need filePath to upload');
1073
+ }
1074
+ const res = await this.getQiniuPolicy({
1075
+ tenantId: '000000',
1076
+ fileNames: (filePath.split('/').pop() || '') + '.' + suffix,
1077
+ });
1078
+ const result = res.data;
1079
+ if (result) {
1080
+ this.updateConfigWithOptions(result);
1081
+ // 自定义上传key(即自定义上传文件名)。通过修改qiniuUploader.upload方法传入的options参数,可以进行自定义文件名称。如果options非空,则使用options中的key作为fileName
1082
+ if (result.key) {
1083
+ filePath = result.key;
1084
+ }
1085
+ }
1086
+ if (this.config.qiniuUploadToken) {
1087
+ return await this.doUpload(filePath);
1088
+ }
1089
+ else if (this.config.qiniuUploadTokenURL) {
1090
+ const token = await this.getQiniuToken();
1091
+ if (token) {
1092
+ return await this.doUpload(filePath);
1093
+ }
1094
+ }
1095
+ throw new Error('qiniu uploader need one of [uptoken, uptokenURL]');
1096
+ }
1097
+ // 更新七牛云配置
1098
+ updateConfigWithOptions(options) {
1099
+ if (options.region) {
1100
+ this.config.qiniuRegion = options.region;
1101
+ }
1102
+ else {
1103
+ console.error('qiniu uploader need your bucket region');
1104
+ }
1105
+ if (options.uptoken) {
1106
+ this.config.qiniuUploadToken = options.uptoken;
1107
+ }
1108
+ else if (options.uptokenURL) {
1109
+ this.config.qiniuUploadTokenURL = options.uptokenURL;
1110
+ }
1111
+ if (options.domain) {
1112
+ this.config.qiniuBucketURLPrefix = options.domain;
1113
+ }
1114
+ if (options.shouldUseQiniuFileName !== undefined) {
1115
+ this.config.qiniuShouldUseQiniuFileName = options.shouldUseQiniuFileName;
1116
+ }
1117
+ if (options.fileType) {
1118
+ this.config.fileType = options.fileType;
1119
+ }
1120
+ if (options.uploadFile) {
1121
+ this.config.uploadFile = options.uploadFile;
1122
+ }
1123
+ }
1124
+ // 正式上传
1125
+ async doUpload(filePath) {
1126
+ if (this.config.qiniuUploadToken == null || this.config.qiniuUploadToken.length === 0) {
1127
+ throw new Error('qiniu UploadToken is null, please check the init config or networking');
1128
+ }
1129
+ const url = getUploadURL(this.config.qiniuRegion);
1130
+ if (!url) {
1131
+ throw new Error('Invalid qiniu region code');
1132
+ }
1133
+ const fileName = filePath.split('//')[1];
1134
+ const formData = {
1135
+ token: this.config.qiniuUploadToken,
1136
+ };
1137
+ // qiniuShouldUseQiniuFileName 如果是 true,则文件的 key 由 qiniu 服务器分配(全局去重)。如果是 false,则文件的 key 使用微信自动生成的 filename。出于初代sdk用户升级后兼容问题的考虑,默认是 false。
1138
+ if (!this.config.qiniuShouldUseQiniuFileName) {
1139
+ formData.key = fileName;
1140
+ }
1141
+ const config = this.config;
1142
+ const res = await this.config.uploadFile?.({
1143
+ url,
1144
+ filePath,
1145
+ name: 'file',
1146
+ formData,
1147
+ });
1148
+ const dataString = res.data;
1149
+ // // this if case is a compatibility with wechat server returned a charcode, but was fixed
1150
+ // if(res.data.hasOwnProperty('type') && res.data.type === 'Buffer'){
1151
+ // dataString = String.fromCharCode.apply(null, res.data.data)
1152
+ // }
1153
+ const dataObject = JSON.parse(dataString);
1154
+ // 拼接fileURL
1155
+ const fileURL = config.qiniuBucketURLPrefix + '/' + dataObject.key;
1156
+ const result = {
1157
+ ...dataObject,
1158
+ name: filePath,
1159
+ fileURL,
1160
+ // imageURL字段和fileURL字段重复,但本sdk不做删除,因为在最初版本使用的是imageURL。直接删除可能导致原有用户升级至新版sdk后出现异常。
1161
+ imageURL: fileURL,
1162
+ fileType: config.fileType,
1163
+ };
1164
+ return result;
1165
+ }
1166
+ // 获取七牛云uptoken, url为后端服务器获取七牛云uptoken接口
1167
+ async getQiniuToken() {
1168
+ const res = await ShcpApiSdk.request({
1169
+ url: this.config.qiniuUploadTokenURL,
1170
+ method: 'GET',
1171
+ });
1172
+ const data = res.data;
1173
+ const token = data.uptoken;
1174
+ if (token && token.length > 0) {
1175
+ this.config.qiniuUploadToken = token;
1176
+ }
1177
+ return token || '';
1178
+ }
1179
+ async getQiniuPolicy(data) {
1180
+ return ShcpApiSdk.request({
1181
+ url: `/api/blade-resource/oss/endpoint/uptoken?tenantId=${data.tenantId}&fileNames=${data.fileNames}`,
1182
+ method: 'POST',
1183
+ });
1184
+ }
1185
+ }
1186
+ const QiniuUploaderApi = new _QiniuUploaderApi();
1187
+
1188
+ class FileApi {
1189
+ static async uploadFileQiniu(file) {
1190
+ if (Array.isArray(file)) {
1191
+ return await Promise.all(file.map(async (item) => await FileApi.upload_file(item)));
1192
+ }
1193
+ else {
1194
+ return await FileApi.upload_file(file);
1195
+ }
1196
+ }
1197
+ static async upload_file(file) {
1198
+ console.log(" upload_file file=", file);
1199
+ file.url.split("/");
1200
+ const suffix = (file.name || file.path || file.cloudPath).split(".")[1];
1201
+ return await QiniuUploaderApi.upload(file.url, suffix);
1202
+ }
1203
+ }
1204
+
1028
1205
  class CommonRightApi {
1029
1206
  // 获取权益列表
1030
1207
  // URL: /api/shcp-healthcare/${ShcpApiSdk.getApiSuffix()}/right/list
@@ -2950,5 +3127,5 @@ class UserGroupApi {
2950
3127
  }
2951
3128
  }
2952
3129
 
2953
- export { AggregateType, AppCategory, AppCategoryOptions, AppClientApi, AppClientPageConfigApi, AppClientSettingApi, AppPlatformType, CommonDictApi, CommonRightApi, ConsumerApi, ConsumerBindApi, ConsumerDeviceApi, ConsumerDeviceStatus, ConsumerDeviceStatusOptions, ConsumerFavoriteApi, ConsumerMarkType, ConsumerMarkTypeOptions, ConsumerRightStatus, ConsumerRightStatusOptions, DeliveryMethod, DeliveryMethodOptions, DeviceApi, DeviceStatus, DeviceStatusOptions, DeviceType, DeviceTypeOptions, DeviceUserApi, DiseaseCareServiceFlowStatusOptions, ErrCode, FileType, FileTypeOptions, Gender, GenderOptions, GroupJoinType, GroupJoinTypeOptions, HealthCommonApi, HealthMetricApi, HealthProfileApi, HealthRecordType, HealthRecordTypeOptions, HealthSelfAssessApi, HealthServiceType, HealthServiceTypeOptions, HealthStudyPlanExecMethodOptions, HealthStudyServiceFlowStatusOptions, HealthToolApi, HelpCenterApi, HuaWeiWatchMetricCategory, ImUserApi, InterviewServiceTaskStatusOptions, KmArticleApi, KmFormApi, KmFormRuleRelationApi, LoginApi, MarketingApi, MarketingTaskLogStatus, MarketingTaskLogStatusOptions, MarketingTaskStatus, MarketingTaskStatusOptions, MemberListType, MemberListTypeMap, MessageActionLabel, MessageActionLabelOptions, MessageActionStatus, MessageBizCategory, MessageBizCategoryOptions, MessageChannelType, MessageChannelTypeOptions, MessageRecordApi, MessageStatus, MessageStyle, MessageStyleOptions, MetricExceptionLevel, MetricExceptionLevelOptions, MetricExceptionStatus, MetricExceptionStatusOptions, MetricValueType, MetricValueTypeOptions, MineApi, PlanExecMethod, PlanExecMethodOptions, PlanExecType, PlanExecTypeOptions, Resource, RightQrcodeApi, RightServiceConfigApi, RightType, ServiceFlowStatus, ServiceTaskCategory, ServiceTaskStatus, ServiceTaskStatusOptions, ShcpUserType, ShcpUserTypeOptions, Status, StudyType, SystemRightApi, UserGroupApi, VisitType, VisitTypeOptions, checkResponse, commonProccessResponse, crudConsumerApi, crudConsumerGroupApi, crudDiseaseCareAbnormalTaskApi, crudDiseaseCareAssessTaskApi, crudDiseaseCareConsumerApi, crudDiseaseCareFollowupTaskApi, crudDiseaseCareInterviewTaskApi, crudDiseaseCareReferralApi, crudHealthStudyAbnormalTaskApi, crudHealthStudyAssessTaskApi, crudHealthStudyConsumerApi, crudHealthStudyFollowupTaskApi, crudHealthStudyInterviewTaskApi, crudHealthStudyReferralApi, diseaseExceptionOpApi, diseaseOpApi, formatMetricData, getPlanExecLabel, healthStudyExceptionOpApi, healthStudyOpApi };
3130
+ export { AggregateType, AppCategory, AppCategoryOptions, AppClientApi, AppClientPageConfigApi, AppClientSettingApi, AppPlatformType, CommonDictApi, CommonRightApi, ConsumerApi, ConsumerBindApi, ConsumerDeviceApi, ConsumerDeviceStatus, ConsumerDeviceStatusOptions, ConsumerFavoriteApi, ConsumerMarkType, ConsumerMarkTypeOptions, ConsumerRightStatus, ConsumerRightStatusOptions, DeliveryMethod, DeliveryMethodOptions, DeviceApi, DeviceStatus, DeviceStatusOptions, DeviceType, DeviceTypeOptions, DeviceUserApi, DiseaseCareServiceFlowStatusOptions, ErrCode, FileApi, FileType, FileTypeOptions, Gender, GenderOptions, GroupJoinType, GroupJoinTypeOptions, HealthCommonApi, HealthMetricApi, HealthProfileApi, HealthRecordType, HealthRecordTypeOptions, HealthSelfAssessApi, HealthServiceType, HealthServiceTypeOptions, HealthStudyPlanExecMethodOptions, HealthStudyServiceFlowStatusOptions, HealthToolApi, HelpCenterApi, HuaWeiWatchMetricCategory, ImUserApi, InterviewServiceTaskStatusOptions, KmArticleApi, KmFormApi, KmFormRuleRelationApi, LoginApi, MarketingApi, MarketingTaskLogStatus, MarketingTaskLogStatusOptions, MarketingTaskStatus, MarketingTaskStatusOptions, MemberListType, MemberListTypeMap, MessageActionLabel, MessageActionLabelOptions, MessageActionStatus, MessageBizCategory, MessageBizCategoryOptions, MessageChannelType, MessageChannelTypeOptions, MessageRecordApi, MessageStatus, MessageStyle, MessageStyleOptions, MetricExceptionLevel, MetricExceptionLevelOptions, MetricExceptionStatus, MetricExceptionStatusOptions, MetricValueType, MetricValueTypeOptions, MineApi, PlanExecMethod, PlanExecMethodOptions, PlanExecType, PlanExecTypeOptions, Resource, RightQrcodeApi, RightServiceConfigApi, RightType, ServiceFlowStatus, ServiceTaskCategory, ServiceTaskStatus, ServiceTaskStatusOptions, ShcpUserType, ShcpUserTypeOptions, Status, StudyType, SystemRightApi, UserGroupApi, VisitType, VisitTypeOptions, checkResponse, commonProccessResponse, crudConsumerApi, crudConsumerGroupApi, crudDiseaseCareAbnormalTaskApi, crudDiseaseCareAssessTaskApi, crudDiseaseCareConsumerApi, crudDiseaseCareFollowupTaskApi, crudDiseaseCareInterviewTaskApi, crudDiseaseCareReferralApi, crudHealthStudyAbnormalTaskApi, crudHealthStudyAssessTaskApi, crudHealthStudyConsumerApi, crudHealthStudyFollowupTaskApi, crudHealthStudyInterviewTaskApi, crudHealthStudyReferralApi, diseaseExceptionOpApi, diseaseOpApi, formatMetricData, getPlanExecLabel, healthStudyExceptionOpApi, healthStudyOpApi };
2954
3131
  //# sourceMappingURL=index.esm.js.map