openxiangda 1.0.124 → 1.0.125

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.
@@ -3047,6 +3047,24 @@ var createPageSdk = (context) => {
3047
3047
  method: "post"
3048
3048
  })
3049
3049
  };
3050
+ const workCenter = {
3051
+ listItems: (params) => request({
3052
+ path: "/work-center/items",
3053
+ method: "get",
3054
+ query: {
3055
+ ...params,
3056
+ appType: resolveAppType(context, params.appType)
3057
+ }
3058
+ }),
3059
+ getStats: (params = {}) => request({
3060
+ path: "/work-center/stats",
3061
+ method: "get",
3062
+ query: {
3063
+ ...params,
3064
+ appType: resolveAppType(context, params.appType)
3065
+ }
3066
+ })
3067
+ };
3050
3068
  const sdk = {
3051
3069
  context,
3052
3070
  request,
@@ -3064,6 +3082,7 @@ var createPageSdk = (context) => {
3064
3082
  permission,
3065
3083
  process: process2,
3066
3084
  notification,
3085
+ workCenter,
3067
3086
  dataView,
3068
3087
  function: appFunction,
3069
3088
  dataSource: {