Kaynağa Gözat

同步前端代码

夜鹰 4 ay önce
ebeveyn
işleme
8e172b6993
49 değiştirilmiş dosya ile 2616 ekleme ve 126 silme
  1. 3 2
      Web/src/api-plugins/dingTalk/api.ts
  2. 345 79
      Web/src/api-plugins/dingTalk/apis/ding-talk-api.ts
  3. 2 1
      Web/src/api-plugins/dingTalk/base.ts
  4. 10 1
      Web/src/api-plugins/dingTalk/configuration.ts
  5. 2 1
      Web/src/api-plugins/dingTalk/index.ts
  6. 69 0
      Web/src/api-plugins/dingTalk/models/admin-netresult-ding-talk-base-response-get-ding-talk-current-employees-list-output.ts
  7. 69 0
      Web/src/api-plugins/dingTalk/models/admin-netresult-ding-talk-base-response-list-ding-talk-emp-roster-field-vo.ts
  8. 69 0
      Web/src/api-plugins/dingTalk/models/admin-netresult-ding-talk-create-and-deliver-output.ts
  9. 69 0
      Web/src/api-plugins/dingTalk/models/admin-netresult-ding-talk-get-process-instances-output.ts
  10. 69 0
      Web/src/api-plugins/dingTalk/models/admin-netresult-ding-talk-send-interactive-cards-output.ts
  11. 69 0
      Web/src/api-plugins/dingTalk/models/admin-netresult-ding-talk-workflow-process-instances-output.ts
  12. 69 0
      Web/src/api-plugins/dingTalk/models/admin-netresult-get-ding-talk-token-output.ts
  13. 38 0
      Web/src/api-plugins/dingTalk/models/approver.ts
  14. 61 0
      Web/src/api-plugins/dingTalk/models/ding-talk-base-response-get-ding-talk-current-employees-list-output.ts
  15. 63 0
      Web/src/api-plugins/dingTalk/models/ding-talk-base-response-list-ding-talk-emp-roster-field-vo.ts
  16. 6 10
      Web/src/api-plugins/dingTalk/models/ding-talk-card-data.ts
  17. 6 2
      Web/src/api-plugins/dingTalk/models/ding-talk-card-param-map.ts
  18. 2 1
      Web/src/api-plugins/dingTalk/models/ding-talk-conversation-type-enum.ts
  19. 167 0
      Web/src/api-plugins/dingTalk/models/ding-talk-create-and-deliver-input.ts
  20. 55 0
      Web/src/api-plugins/dingTalk/models/ding-talk-create-and-deliver-output.ts
  21. 30 0
      Web/src/api-plugins/dingTalk/models/ding-talk-create-and-deliver-result.ts
  22. 53 0
      Web/src/api-plugins/dingTalk/models/ding-talk-emp-field-data-vo.ts
  23. 47 0
      Web/src/api-plugins/dingTalk/models/ding-talk-emp-roster-field-vo.ts
  24. 46 0
      Web/src/api-plugins/dingTalk/models/ding-talk-field-value-vo.ts
  25. 35 0
      Web/src/api-plugins/dingTalk/models/ding-talk-get-process-instances-output.ts
  26. 110 0
      Web/src/api-plugins/dingTalk/models/ding-talk-open-deliver-model.ts
  27. 18 4
      Web/src/api-plugins/dingTalk/models/ding-talk-send-interactive-cards-input.ts
  28. 7 3
      Web/src/api-plugins/dingTalk/models/ding-talk-send-interactive-cards-output.ts
  29. 6 2
      Web/src/api-plugins/dingTalk/models/ding-talk-send-interactive-cards-result.ts
  30. 105 0
      Web/src/api-plugins/dingTalk/models/ding-talk-workflow-process-instances-input.ts
  31. 50 0
      Web/src/api-plugins/dingTalk/models/ding-talk-workflow-process-instances-output.ts
  32. 45 0
      Web/src/api-plugins/dingTalk/models/dynamic-data-source-config.ts
  33. 58 0
      Web/src/api-plugins/dingTalk/models/form-component-value.ts
  34. 46 0
      Web/src/api-plugins/dingTalk/models/get-ding-talk-current-employees-list-input.ts
  35. 38 0
      Web/src/api-plugins/dingTalk/models/get-ding-talk-current-employees-list-output.ts
  36. 46 0
      Web/src/api-plugins/dingTalk/models/get-ding-talk-current-employees-roster-list-input.ts
  37. 54 0
      Web/src/api-plugins/dingTalk/models/get-ding-talk-token-output.ts
  38. 36 11
      Web/src/api-plugins/dingTalk/models/index.ts
  39. 38 0
      Web/src/api-plugins/dingTalk/models/notification.ts
  40. 31 0
      Web/src/api-plugins/dingTalk/models/open-dynamic-data-config.ts
  41. 76 0
      Web/src/api-plugins/dingTalk/models/open-space-model.ts
  42. 58 0
      Web/src/api-plugins/dingTalk/models/operation-record.ts
  43. 29 0
      Web/src/api-plugins/dingTalk/models/private-data.ts
  44. 46 0
      Web/src/api-plugins/dingTalk/models/pull-config.ts
  45. 105 0
      Web/src/api-plugins/dingTalk/models/result-data.ts
  46. 46 0
      Web/src/api-plugins/dingTalk/models/search-support.ts
  47. 38 0
      Web/src/api-plugins/dingTalk/models/target-select-actioner.ts
  48. 70 0
      Web/src/api-plugins/dingTalk/models/task-item.ts
  49. 6 9
      Web/src/utils/toolsValidate.ts

+ 3 - 2
Web/src/api-plugins/dingTalk/api.ts

@@ -1,7 +1,7 @@
 /* tslint:disable */
 /* eslint-disable */
 /**
- * DingTalk
+ * 钉钉开放平台
  * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
  *
  * OpenAPI spec version: 1.0.0
@@ -10,5 +10,6 @@
  * NOTE: This class is auto generated by the swagger code generator program.
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
- */export * from './apis/ding-talk-api';
+ */
+export * from './apis/ding-talk-api';
 

+ 345 - 79
Web/src/api-plugins/dingTalk/apis/ding-talk-api.ts

@@ -1,7 +1,7 @@
 /* tslint:disable */
 /* eslint-disable */
 /**
- * DingTalk
+ * 钉钉开放平台
  * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
  *
  * OpenAPI spec version: 1.0.0
@@ -11,49 +11,103 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
+
 import globalAxios, { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
 import { Configuration } from '../configuration';
 // Some imports not used depending on template conditions
 // @ts-ignore
 import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
-import { AdminResultDingTalkSendInteractiveCardsOutput } from '../models';
-import { AdminResultEmployeeQueryOnJobResponse } from '../models';
-import { AdminResultGetAccessTokenResponse } from '../models';
-import { AdminResultRosterListsQueryResponse } from '../models';
+import { AdminNETResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput } from '../models';
+import { AdminNETResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo } from '../models';
+import { AdminNETResultDingTalkCreateAndDeliverOutput } from '../models';
+import { AdminNETResultDingTalkGetProcessInstancesOutput } from '../models';
+import { AdminNETResultDingTalkSendInteractiveCardsOutput } from '../models';
+import { AdminNETResultDingTalkWorkflowProcessInstancesOutput } from '../models';
+import { AdminNETResultGetDingTalkTokenOutput } from '../models';
+import { DingTalkCreateAndDeliverInput } from '../models';
 import { DingTalkSendInteractiveCardsInput } from '../models';
+import { DingTalkWorkflowProcessInstancesInput } from '../models';
+import { GetDingTalkCurrentEmployeesListInput } from '../models';
+import { GetDingTalkCurrentEmployeesRosterListInput } from '../models';
 /**
  * DingTalkApi - axios parameter creator
  * @export
  */
 export const DingTalkApiAxiosParamCreator = function (configuration?: Configuration) {
     return {
+        /**
+         * 
+         * @summary 创建并投放钉钉消息卡片 🔖
+         * @param {string} token 
+         * @param {DingTalkCreateAndDeliverInput} [body] 
+         * @param {*} [options] Override http request option.
+         * @throws {RequiredError}
+         */
+        apiDingTalkDingTalkCreateAndDeliverTokenPost: async (token: string, body?: DingTalkCreateAndDeliverInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+            // verify required parameter 'token' is not null or undefined
+            if (token === null || token === undefined) {
+                throw new RequiredError('token','Required parameter token was null or undefined when calling apiDingTalkDingTalkCreateAndDeliverTokenPost.');
+            }
+            const localVarPath = `/api/dingTalk/dingTalkCreateAndDeliver/{token}`
+                .replace(`{${"token"}}`, encodeURIComponent(String(token)));
+            // use dummy base URL string because the URL constructor only accepts absolute URLs.
+            const localVarUrlObj = new URL(localVarPath, 'https://example.com');
+            let baseOptions;
+            if (configuration) {
+                baseOptions = configuration.baseOptions;
+            }
+            const localVarRequestOptions :AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options};
+            const localVarHeaderParameter = {} as any;
+            const localVarQueryParameter = {} as any;
+
+            // authentication Bearer required
+            // http bearer authentication required
+            if (configuration && configuration.accessToken) {
+                const accessToken = typeof configuration.accessToken === 'function'
+                    ? await configuration.accessToken()
+                    : await configuration.accessToken;
+                localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
+            }
+
+            localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
+
+            const query = new URLSearchParams(localVarUrlObj.search);
+            for (const key in localVarQueryParameter) {
+                query.set(key, localVarQueryParameter[key]);
+            }
+            for (const key in options.params) {
+                query.set(key, options.params[key]);
+            }
+            localVarUrlObj.search = (new URLSearchParams(query)).toString();
+            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+            const needsSerialization = (typeof body !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
+            localVarRequestOptions.data =  needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || "");
+
+            return {
+                url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
+                options: localVarRequestOptions,
+            };
+        },
         /**
          * 
          * @summary 获取在职员工列表 🔖
+         * @param {GetDingTalkCurrentEmployeesListInput} body 
          * @param {string} accessToken 
-         * @param {number} size 
-         * @param {number} offset 
-         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost: async (accessToken: string, size: number, offset: number, body?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+        apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost: async (body: GetDingTalkCurrentEmployeesListInput, accessToken: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+            // verify required parameter 'body' is not null or undefined
+            if (body === null || body === undefined) {
+                throw new RequiredError('body','Required parameter body was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost.');
+            }
             // verify required parameter 'accessToken' is not null or undefined
             if (accessToken === null || accessToken === undefined) {
-                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost.');
-            }
-            // verify required parameter 'size' is not null or undefined
-            if (size === null || size === undefined) {
-                throw new RequiredError('size','Required parameter size was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost.');
+                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost.');
             }
-            // verify required parameter 'offset' is not null or undefined
-            if (offset === null || offset === undefined) {
-                throw new RequiredError('offset','Required parameter offset was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost.');
-            }
-            const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesList/{accessToken}/{size}/{offset}`
-                .replace(`{${"accessToken"}}`, encodeURIComponent(String(accessToken)))
-                .replace(`{${"size"}}`, encodeURIComponent(String(size)))
-                .replace(`{${"offset"}}`, encodeURIComponent(String(offset)));
+            const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesList/{access_token}`
+                .replace(`{${"access_token"}}`, encodeURIComponent(String(accessToken)));
             // use dummy base URL string because the URL constructor only accepts absolute URLs.
             const localVarUrlObj = new URL(localVarPath, 'https://example.com');
             let baseOptions;
@@ -96,24 +150,22 @@ export const DingTalkApiAxiosParamCreator = function (configuration?: Configurat
         /**
          * 
          * @summary 获取员工花名册字段信息 🔖
+         * @param {GetDingTalkCurrentEmployeesRosterListInput} body 
          * @param {string} accessToken 
-         * @param {number} appAgentId 
-         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost: async (accessToken: string, appAgentId: number, body?: Array<string>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+        apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost: async (body: GetDingTalkCurrentEmployeesRosterListInput, accessToken: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+            // verify required parameter 'body' is not null or undefined
+            if (body === null || body === undefined) {
+                throw new RequiredError('body','Required parameter body was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost.');
+            }
             // verify required parameter 'accessToken' is not null or undefined
             if (accessToken === null || accessToken === undefined) {
-                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost.');
-            }
-            // verify required parameter 'appAgentId' is not null or undefined
-            if (appAgentId === null || appAgentId === undefined) {
-                throw new RequiredError('appAgentId','Required parameter appAgentId was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost.');
+                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost.');
             }
-            const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesRosterList/{accessToken}/{appAgentId}`
-                .replace(`{${"accessToken"}}`, encodeURIComponent(String(accessToken)))
-                .replace(`{${"appAgentId"}}`, encodeURIComponent(String(appAgentId)));
+            const localVarPath = `/api/dingTalk/dingTalkCurrentEmployeesRosterList/{access_token}`
+                .replace(`{${"access_token"}}`, encodeURIComponent(String(accessToken)));
             // use dummy base URL string because the URL constructor only accepts absolute URLs.
             const localVarUrlObj = new URL(localVarPath, 'https://example.com');
             let baseOptions;
@@ -156,18 +208,18 @@ export const DingTalkApiAxiosParamCreator = function (configuration?: Configurat
         /**
          * 
          * @summary 发送钉钉互动卡片 🔖
-         * @param {string} accessToken 
+         * @param {string} token 
          * @param {DingTalkSendInteractiveCardsInput} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost: async (accessToken: string, body?: DingTalkSendInteractiveCardsInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
-            // verify required parameter 'accessToken' is not null or undefined
-            if (accessToken === null || accessToken === undefined) {
-                throw new RequiredError('accessToken','Required parameter accessToken was null or undefined when calling apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost.');
+        apiDingTalkDingTalkSendInteractiveCardsTokenPost: async (token: string, body?: DingTalkSendInteractiveCardsInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+            // verify required parameter 'token' is not null or undefined
+            if (token === null || token === undefined) {
+                throw new RequiredError('token','Required parameter token was null or undefined when calling apiDingTalkDingTalkSendInteractiveCardsTokenPost.');
             }
-            const localVarPath = `/api/dingTalk/dingTalkSendInteractiveCards/{accessToken}`
-                .replace(`{${"accessToken"}}`, encodeURIComponent(String(accessToken)));
+            const localVarPath = `/api/dingTalk/dingTalkSendInteractiveCards/{token}`
+                .replace(`{${"token"}}`, encodeURIComponent(String(token)));
             // use dummy base URL string because the URL constructor only accepts absolute URLs.
             const localVarUrlObj = new URL(localVarPath, 'https://example.com');
             let baseOptions;
@@ -245,6 +297,115 @@ export const DingTalkApiAxiosParamCreator = function (configuration?: Configurat
             let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
             localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
 
+            return {
+                url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
+                options: localVarRequestOptions,
+            };
+        },
+        /**
+         * 
+         * @summary 查询审批实例
+         * @param {string} token 
+         * @param {string} input 
+         * @param {*} [options] Override http request option.
+         * @throws {RequiredError}
+         */
+        apiDingTalkDingTalkWorkflowProcessInstancesTokenInputPost: async (token: string, input: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+            // verify required parameter 'token' is not null or undefined
+            if (token === null || token === undefined) {
+                throw new RequiredError('token','Required parameter token was null or undefined when calling apiDingTalkDingTalkWorkflowProcessInstancesTokenInputPost.');
+            }
+            // verify required parameter 'input' is not null or undefined
+            if (input === null || input === undefined) {
+                throw new RequiredError('input','Required parameter input was null or undefined when calling apiDingTalkDingTalkWorkflowProcessInstancesTokenInputPost.');
+            }
+            const localVarPath = `/api/dingTalk/dingTalkWorkflowProcessInstances/{token}/{input}`
+                .replace(`{${"token"}}`, encodeURIComponent(String(token)))
+                .replace(`{${"input"}}`, encodeURIComponent(String(input)));
+            // use dummy base URL string because the URL constructor only accepts absolute URLs.
+            const localVarUrlObj = new URL(localVarPath, 'https://example.com');
+            let baseOptions;
+            if (configuration) {
+                baseOptions = configuration.baseOptions;
+            }
+            const localVarRequestOptions :AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options};
+            const localVarHeaderParameter = {} as any;
+            const localVarQueryParameter = {} as any;
+
+            // authentication Bearer required
+            // http bearer authentication required
+            if (configuration && configuration.accessToken) {
+                const accessToken = typeof configuration.accessToken === 'function'
+                    ? await configuration.accessToken()
+                    : await configuration.accessToken;
+                localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
+            }
+
+            const query = new URLSearchParams(localVarUrlObj.search);
+            for (const key in localVarQueryParameter) {
+                query.set(key, localVarQueryParameter[key]);
+            }
+            for (const key in options.params) {
+                query.set(key, options.params[key]);
+            }
+            localVarUrlObj.search = (new URLSearchParams(query)).toString();
+            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+            return {
+                url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
+                options: localVarRequestOptions,
+            };
+        },
+        /**
+         * 
+         * @summary 用于发起OA审批实例
+         * @param {string} token 
+         * @param {DingTalkWorkflowProcessInstancesInput} [body] 
+         * @param {*} [options] Override http request option.
+         * @throws {RequiredError}
+         */
+        apiDingTalkDingTalkWorkflowProcessInstancesTokenPost: async (token: string, body?: DingTalkWorkflowProcessInstancesInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
+            // verify required parameter 'token' is not null or undefined
+            if (token === null || token === undefined) {
+                throw new RequiredError('token','Required parameter token was null or undefined when calling apiDingTalkDingTalkWorkflowProcessInstancesTokenPost.');
+            }
+            const localVarPath = `/api/dingTalk/dingTalkWorkflowProcessInstances/{token}`
+                .replace(`{${"token"}}`, encodeURIComponent(String(token)));
+            // use dummy base URL string because the URL constructor only accepts absolute URLs.
+            const localVarUrlObj = new URL(localVarPath, 'https://example.com');
+            let baseOptions;
+            if (configuration) {
+                baseOptions = configuration.baseOptions;
+            }
+            const localVarRequestOptions :AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options};
+            const localVarHeaderParameter = {} as any;
+            const localVarQueryParameter = {} as any;
+
+            // authentication Bearer required
+            // http bearer authentication required
+            if (configuration && configuration.accessToken) {
+                const accessToken = typeof configuration.accessToken === 'function'
+                    ? await configuration.accessToken()
+                    : await configuration.accessToken;
+                localVarHeaderParameter["Authorization"] = "Bearer " + accessToken;
+            }
+
+            localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
+
+            const query = new URLSearchParams(localVarUrlObj.search);
+            for (const key in localVarQueryParameter) {
+                query.set(key, localVarQueryParameter[key]);
+            }
+            for (const key in options.params) {
+                query.set(key, options.params[key]);
+            }
+            localVarUrlObj.search = (new URLSearchParams(query)).toString();
+            let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+            localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+            const needsSerialization = (typeof body !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
+            localVarRequestOptions.data =  needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || "");
+
             return {
                 url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
                 options: localVarRequestOptions,
@@ -259,18 +420,31 @@ export const DingTalkApiAxiosParamCreator = function (configuration?: Configurat
  */
 export const DingTalkApiFp = function(configuration?: Configuration) {
     return {
+        /**
+         * 
+         * @summary 创建并投放钉钉消息卡片 🔖
+         * @param {string} token 
+         * @param {DingTalkCreateAndDeliverInput} [body] 
+         * @param {*} [options] Override http request option.
+         * @throws {RequiredError}
+         */
+        async apiDingTalkDingTalkCreateAndDeliverTokenPost(token: string, body?: DingTalkCreateAndDeliverInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultDingTalkCreateAndDeliverOutput>>> {
+            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkCreateAndDeliverTokenPost(token, body, options);
+            return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
+                const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
+                return axios.request(axiosRequestArgs);
+            };
+        },
         /**
          * 
          * @summary 获取在职员工列表 🔖
+         * @param {GetDingTalkCurrentEmployeesListInput} body 
          * @param {string} accessToken 
-         * @param {number} size 
-         * @param {number} offset 
-         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken: string, size: number, offset: number, body?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultEmployeeQueryOnJobResponse>>> {
-            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken, size, offset, body, options);
+        async apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body: GetDingTalkCurrentEmployeesListInput, accessToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput>>> {
+            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body, accessToken, options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
                 return axios.request(axiosRequestArgs);
@@ -279,14 +453,13 @@ export const DingTalkApiFp = function(configuration?: Configuration) {
         /**
          * 
          * @summary 获取员工花名册字段信息 🔖
+         * @param {GetDingTalkCurrentEmployeesRosterListInput} body 
          * @param {string} accessToken 
-         * @param {number} appAgentId 
-         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken: string, appAgentId: number, body?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultRosterListsQueryResponse>>> {
-            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken, appAgentId, body, options);
+        async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body: GetDingTalkCurrentEmployeesRosterListInput, accessToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo>>> {
+            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body, accessToken, options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
                 return axios.request(axiosRequestArgs);
@@ -295,13 +468,13 @@ export const DingTalkApiFp = function(configuration?: Configuration) {
         /**
          * 
          * @summary 发送钉钉互动卡片 🔖
-         * @param {string} accessToken 
+         * @param {string} token 
          * @param {DingTalkSendInteractiveCardsInput} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>>> {
-            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken, body, options);
+        async apiDingTalkDingTalkSendInteractiveCardsTokenPost(token: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultDingTalkSendInteractiveCardsOutput>>> {
+            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkSendInteractiveCardsTokenPost(token, body, options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
                 return axios.request(axiosRequestArgs);
@@ -313,13 +486,43 @@ export const DingTalkApiFp = function(configuration?: Configuration) {
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultGetAccessTokenResponse>>> {
+        async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultGetDingTalkTokenOutput>>> {
             const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkTokenGet(options);
             return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
                 const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
                 return axios.request(axiosRequestArgs);
             };
         },
+        /**
+         * 
+         * @summary 查询审批实例
+         * @param {string} token 
+         * @param {string} input 
+         * @param {*} [options] Override http request option.
+         * @throws {RequiredError}
+         */
+        async apiDingTalkDingTalkWorkflowProcessInstancesTokenInputPost(token: string, input: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultDingTalkGetProcessInstancesOutput>>> {
+            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkWorkflowProcessInstancesTokenInputPost(token, input, options);
+            return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
+                const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
+                return axios.request(axiosRequestArgs);
+            };
+        },
+        /**
+         * 
+         * @summary 用于发起OA审批实例
+         * @param {string} token 
+         * @param {DingTalkWorkflowProcessInstancesInput} [body] 
+         * @param {*} [options] Override http request option.
+         * @throws {RequiredError}
+         */
+        async apiDingTalkDingTalkWorkflowProcessInstancesTokenPost(token: string, body?: DingTalkWorkflowProcessInstancesInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminNETResultDingTalkWorkflowProcessInstancesOutput>>> {
+            const localVarAxiosArgs = await DingTalkApiAxiosParamCreator(configuration).apiDingTalkDingTalkWorkflowProcessInstancesTokenPost(token, body, options);
+            return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
+                const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
+                return axios.request(axiosRequestArgs);
+            };
+        },
     }
 };
 
@@ -329,41 +532,49 @@ export const DingTalkApiFp = function(configuration?: Configuration) {
  */
 export const DingTalkApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
     return {
+        /**
+         * 
+         * @summary 创建并投放钉钉消息卡片 🔖
+         * @param {string} token 
+         * @param {DingTalkCreateAndDeliverInput} [body] 
+         * @param {*} [options] Override http request option.
+         * @throws {RequiredError}
+         */
+        async apiDingTalkDingTalkCreateAndDeliverTokenPost(token: string, body?: DingTalkCreateAndDeliverInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultDingTalkCreateAndDeliverOutput>> {
+            return DingTalkApiFp(configuration).apiDingTalkDingTalkCreateAndDeliverTokenPost(token, body, options).then((request) => request(axios, basePath));
+        },
         /**
          * 
          * @summary 获取在职员工列表 🔖
+         * @param {GetDingTalkCurrentEmployeesListInput} body 
          * @param {string} accessToken 
-         * @param {number} size 
-         * @param {number} offset 
-         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken: string, size: number, offset: number, body?: Array<string>, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultEmployeeQueryOnJobResponse>> {
-            return DingTalkApiFp(configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken, size, offset, body, options).then((request) => request(axios, basePath));
+        async apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body: GetDingTalkCurrentEmployeesListInput, accessToken: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput>> {
+            return DingTalkApiFp(configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body, accessToken, options).then((request) => request(axios, basePath));
         },
         /**
          * 
          * @summary 获取员工花名册字段信息 🔖
+         * @param {GetDingTalkCurrentEmployeesRosterListInput} body 
          * @param {string} accessToken 
-         * @param {number} appAgentId 
-         * @param {Array<string>} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken: string, appAgentId: number, body?: Array<string>, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultRosterListsQueryResponse>> {
-            return DingTalkApiFp(configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken, appAgentId, body, options).then((request) => request(axios, basePath));
+        async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body: GetDingTalkCurrentEmployeesRosterListInput, accessToken: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo>> {
+            return DingTalkApiFp(configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body, accessToken, options).then((request) => request(axios, basePath));
         },
         /**
          * 
          * @summary 发送钉钉互动卡片 🔖
-         * @param {string} accessToken 
+         * @param {string} token 
          * @param {DingTalkSendInteractiveCardsInput} [body] 
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>> {
-            return DingTalkApiFp(configuration).apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken, body, options).then((request) => request(axios, basePath));
+        async apiDingTalkDingTalkSendInteractiveCardsTokenPost(token: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultDingTalkSendInteractiveCardsOutput>> {
+            return DingTalkApiFp(configuration).apiDingTalkDingTalkSendInteractiveCardsTokenPost(token, body, options).then((request) => request(axios, basePath));
         },
         /**
          * 
@@ -371,9 +582,31 @@ export const DingTalkApiFactory = function (configuration?: Configuration, baseP
          * @param {*} [options] Override http request option.
          * @throws {RequiredError}
          */
-        async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultGetAccessTokenResponse>> {
+        async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultGetDingTalkTokenOutput>> {
             return DingTalkApiFp(configuration).apiDingTalkDingTalkTokenGet(options).then((request) => request(axios, basePath));
         },
+        /**
+         * 
+         * @summary 查询审批实例
+         * @param {string} token 
+         * @param {string} input 
+         * @param {*} [options] Override http request option.
+         * @throws {RequiredError}
+         */
+        async apiDingTalkDingTalkWorkflowProcessInstancesTokenInputPost(token: string, input: string, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultDingTalkGetProcessInstancesOutput>> {
+            return DingTalkApiFp(configuration).apiDingTalkDingTalkWorkflowProcessInstancesTokenInputPost(token, input, options).then((request) => request(axios, basePath));
+        },
+        /**
+         * 
+         * @summary 用于发起OA审批实例
+         * @param {string} token 
+         * @param {DingTalkWorkflowProcessInstancesInput} [body] 
+         * @param {*} [options] Override http request option.
+         * @throws {RequiredError}
+         */
+        async apiDingTalkDingTalkWorkflowProcessInstancesTokenPost(token: string, body?: DingTalkWorkflowProcessInstancesInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminNETResultDingTalkWorkflowProcessInstancesOutput>> {
+            return DingTalkApiFp(configuration).apiDingTalkDingTalkWorkflowProcessInstancesTokenPost(token, body, options).then((request) => request(axios, basePath));
+        },
     };
 };
 
@@ -384,44 +617,53 @@ export const DingTalkApiFactory = function (configuration?: Configuration, baseP
  * @extends {BaseAPI}
  */
 export class DingTalkApi extends BaseAPI {
+    /**
+     * 
+     * @summary 创建并投放钉钉消息卡片 🔖
+     * @param {string} token 
+     * @param {DingTalkCreateAndDeliverInput} [body] 
+     * @param {*} [options] Override http request option.
+     * @throws {RequiredError}
+     * @memberof DingTalkApi
+     */
+    public async apiDingTalkDingTalkCreateAndDeliverTokenPost(token: string, body?: DingTalkCreateAndDeliverInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultDingTalkCreateAndDeliverOutput>> {
+        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkCreateAndDeliverTokenPost(token, body, options).then((request) => request(this.axios, this.basePath));
+    }
     /**
      * 
      * @summary 获取在职员工列表 🔖
+     * @param {GetDingTalkCurrentEmployeesListInput} body 
      * @param {string} accessToken 
-     * @param {number} size 
-     * @param {number} offset 
-     * @param {Array<string>} [body] 
      * @param {*} [options] Override http request option.
      * @throws {RequiredError}
      * @memberof DingTalkApi
      */
-    public async apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken: string, size: number, offset: number, body?: Array<string>, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultEmployeeQueryOnJobResponse>> {
-        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenSizeOffsetPost(accessToken, size, offset, body, options).then((request) => request(this.axios, this.basePath));
+    public async apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body: GetDingTalkCurrentEmployeesListInput, accessToken: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput>> {
+        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkCurrentEmployeesListAccessTokenPost(body, accessToken, options).then((request) => request(this.axios, this.basePath));
     }
     /**
      * 
      * @summary 获取员工花名册字段信息 🔖
+     * @param {GetDingTalkCurrentEmployeesRosterListInput} body 
      * @param {string} accessToken 
-     * @param {number} appAgentId 
-     * @param {Array<string>} [body] 
      * @param {*} [options] Override http request option.
      * @throws {RequiredError}
      * @memberof DingTalkApi
      */
-    public async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken: string, appAgentId: number, body?: Array<string>, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultRosterListsQueryResponse>> {
-        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenAppAgentIdPost(accessToken, appAgentId, body, options).then((request) => request(this.axios, this.basePath));
+    public async apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body: GetDingTalkCurrentEmployeesRosterListInput, accessToken: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo>> {
+        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkCurrentEmployeesRosterListAccessTokenPost(body, accessToken, options).then((request) => request(this.axios, this.basePath));
     }
     /**
      * 
      * @summary 发送钉钉互动卡片 🔖
-     * @param {string} accessToken 
+     * @param {string} token 
      * @param {DingTalkSendInteractiveCardsInput} [body] 
      * @param {*} [options] Override http request option.
      * @throws {RequiredError}
      * @memberof DingTalkApi
      */
-    public async apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultDingTalkSendInteractiveCardsOutput>> {
-        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkSendInteractiveCardsAccessTokenPost(accessToken, body, options).then((request) => request(this.axios, this.basePath));
+    public async apiDingTalkDingTalkSendInteractiveCardsTokenPost(token: string, body?: DingTalkSendInteractiveCardsInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultDingTalkSendInteractiveCardsOutput>> {
+        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkSendInteractiveCardsTokenPost(token, body, options).then((request) => request(this.axios, this.basePath));
     }
     /**
      * 
@@ -430,7 +672,31 @@ export class DingTalkApi extends BaseAPI {
      * @throws {RequiredError}
      * @memberof DingTalkApi
      */
-    public async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultGetAccessTokenResponse>> {
+    public async apiDingTalkDingTalkTokenGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultGetDingTalkTokenOutput>> {
         return DingTalkApiFp(this.configuration).apiDingTalkDingTalkTokenGet(options).then((request) => request(this.axios, this.basePath));
     }
+    /**
+     * 
+     * @summary 查询审批实例
+     * @param {string} token 
+     * @param {string} input 
+     * @param {*} [options] Override http request option.
+     * @throws {RequiredError}
+     * @memberof DingTalkApi
+     */
+    public async apiDingTalkDingTalkWorkflowProcessInstancesTokenInputPost(token: string, input: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultDingTalkGetProcessInstancesOutput>> {
+        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkWorkflowProcessInstancesTokenInputPost(token, input, options).then((request) => request(this.axios, this.basePath));
+    }
+    /**
+     * 
+     * @summary 用于发起OA审批实例
+     * @param {string} token 
+     * @param {DingTalkWorkflowProcessInstancesInput} [body] 
+     * @param {*} [options] Override http request option.
+     * @throws {RequiredError}
+     * @memberof DingTalkApi
+     */
+    public async apiDingTalkDingTalkWorkflowProcessInstancesTokenPost(token: string, body?: DingTalkWorkflowProcessInstancesInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminNETResultDingTalkWorkflowProcessInstancesOutput>> {
+        return DingTalkApiFp(this.configuration).apiDingTalkDingTalkWorkflowProcessInstancesTokenPost(token, body, options).then((request) => request(this.axios, this.basePath));
+    }
 }

+ 2 - 1
Web/src/api-plugins/dingTalk/base.ts

@@ -1,7 +1,7 @@
 /* tslint:disable */
 /* eslint-disable */
 /**
- * DingTalk
+ * 钉钉开放平台
  * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
  *
  * OpenAPI spec version: 1.0.0
@@ -11,6 +11,7 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
+
 import { Configuration } from "./configuration";
 // Some imports not used depending on template conditions
 // @ts-ignore

+ 10 - 1
Web/src/api-plugins/dingTalk/configuration.ts

@@ -1,7 +1,7 @@
 /* tslint:disable */
 /* eslint-disable */
 /**
- * DingTalk
+ * 钉钉开放平台
  * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
  *
  * OpenAPI spec version: 1.0.0
@@ -11,6 +11,7 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
+
 export interface ConfigurationParameters {
     apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
     username?: string;
@@ -21,12 +22,15 @@ export interface ConfigurationParameters {
 }
 
 export class Configuration {
+
     /**
      * parameter for apiKey security
+     *
      * @param name security name
      * @memberof Configuration
      */
     apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
+
     /**
      * parameter for basic security
      *
@@ -34,6 +38,7 @@ export class Configuration {
      * @memberof Configuration
      */
     username?: string;
+
     /**
      * parameter for basic security
      *
@@ -41,13 +46,16 @@ export class Configuration {
      * @memberof Configuration
      */
     password?: string;
+
     /**
      * parameter for oauth2 security
+     *
      * @param name security name
      * @param scopes oauth2 scope
      * @memberof Configuration
      */
     accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
+
     /**
      * override base path
      *
@@ -55,6 +63,7 @@ export class Configuration {
      * @memberof Configuration
      */
     basePath?: string;
+
     /**
      * base options for axios calls
      *

+ 2 - 1
Web/src/api-plugins/dingTalk/index.ts

@@ -1,7 +1,7 @@
 /* tslint:disable */
 /* eslint-disable */
 /**
- * DingTalk
+ * 钉钉开放平台
  * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
  *
  * OpenAPI spec version: 1.0.0
@@ -11,6 +11,7 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
+
 export * from "./api";
 export * from "./configuration";
 export * from "./models";

+ 69 - 0
Web/src/api-plugins/dingTalk/models/admin-netresult-ding-talk-base-response-get-ding-talk-current-employees-list-output.ts

@@ -0,0 +1,69 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput } from './ding-talk-base-response-get-ding-talk-current-employees-list-output';
+ /**
+ * 全局返回结果
+ *
+ * @export
+ * @interface AdminNETResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
+ */
+export interface AdminNETResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput {
+
+    /**
+     * 状态码
+     *
+     * @type {number}
+     * @memberof AdminNETResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
+     */
+    code?: number;
+
+    /**
+     * 类型success、warning、error
+     *
+     * @type {string}
+     * @memberof AdminNETResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
+     */
+    type?: string | null;
+
+    /**
+     * 错误信息
+     *
+     * @type {string}
+     * @memberof AdminNETResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
+     */
+    message?: string | null;
+
+    /**
+     * @type {DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput}
+     * @memberof AdminNETResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
+     */
+    result?: DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput;
+
+    /**
+     * 附加数据
+     *
+     * @type {any}
+     * @memberof AdminNETResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
+     */
+    extras?: any | null;
+
+    /**
+     * 时间
+     *
+     * @type {Date}
+     * @memberof AdminNETResultDingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
+     */
+    time?: Date;
+}

+ 69 - 0
Web/src/api-plugins/dingTalk/models/admin-netresult-ding-talk-base-response-list-ding-talk-emp-roster-field-vo.ts

@@ -0,0 +1,69 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { DingTalkBaseResponseListDingTalkEmpRosterFieldVo } from './ding-talk-base-response-list-ding-talk-emp-roster-field-vo';
+ /**
+ * 全局返回结果
+ *
+ * @export
+ * @interface AdminNETResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+ */
+export interface AdminNETResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo {
+
+    /**
+     * 状态码
+     *
+     * @type {number}
+     * @memberof AdminNETResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     */
+    code?: number;
+
+    /**
+     * 类型success、warning、error
+     *
+     * @type {string}
+     * @memberof AdminNETResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     */
+    type?: string | null;
+
+    /**
+     * 错误信息
+     *
+     * @type {string}
+     * @memberof AdminNETResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     */
+    message?: string | null;
+
+    /**
+     * @type {DingTalkBaseResponseListDingTalkEmpRosterFieldVo}
+     * @memberof AdminNETResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     */
+    result?: DingTalkBaseResponseListDingTalkEmpRosterFieldVo;
+
+    /**
+     * 附加数据
+     *
+     * @type {any}
+     * @memberof AdminNETResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     */
+    extras?: any | null;
+
+    /**
+     * 时间
+     *
+     * @type {Date}
+     * @memberof AdminNETResultDingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     */
+    time?: Date;
+}

+ 69 - 0
Web/src/api-plugins/dingTalk/models/admin-netresult-ding-talk-create-and-deliver-output.ts

@@ -0,0 +1,69 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { DingTalkCreateAndDeliverOutput } from './ding-talk-create-and-deliver-output';
+ /**
+ * 全局返回结果
+ *
+ * @export
+ * @interface AdminNETResultDingTalkCreateAndDeliverOutput
+ */
+export interface AdminNETResultDingTalkCreateAndDeliverOutput {
+
+    /**
+     * 状态码
+     *
+     * @type {number}
+     * @memberof AdminNETResultDingTalkCreateAndDeliverOutput
+     */
+    code?: number;
+
+    /**
+     * 类型success、warning、error
+     *
+     * @type {string}
+     * @memberof AdminNETResultDingTalkCreateAndDeliverOutput
+     */
+    type?: string | null;
+
+    /**
+     * 错误信息
+     *
+     * @type {string}
+     * @memberof AdminNETResultDingTalkCreateAndDeliverOutput
+     */
+    message?: string | null;
+
+    /**
+     * @type {DingTalkCreateAndDeliverOutput}
+     * @memberof AdminNETResultDingTalkCreateAndDeliverOutput
+     */
+    result?: DingTalkCreateAndDeliverOutput;
+
+    /**
+     * 附加数据
+     *
+     * @type {any}
+     * @memberof AdminNETResultDingTalkCreateAndDeliverOutput
+     */
+    extras?: any | null;
+
+    /**
+     * 时间
+     *
+     * @type {Date}
+     * @memberof AdminNETResultDingTalkCreateAndDeliverOutput
+     */
+    time?: Date;
+}

+ 69 - 0
Web/src/api-plugins/dingTalk/models/admin-netresult-ding-talk-get-process-instances-output.ts

@@ -0,0 +1,69 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { DingTalkGetProcessInstancesOutput } from './ding-talk-get-process-instances-output';
+ /**
+ * 全局返回结果
+ *
+ * @export
+ * @interface AdminNETResultDingTalkGetProcessInstancesOutput
+ */
+export interface AdminNETResultDingTalkGetProcessInstancesOutput {
+
+    /**
+     * 状态码
+     *
+     * @type {number}
+     * @memberof AdminNETResultDingTalkGetProcessInstancesOutput
+     */
+    code?: number;
+
+    /**
+     * 类型success、warning、error
+     *
+     * @type {string}
+     * @memberof AdminNETResultDingTalkGetProcessInstancesOutput
+     */
+    type?: string | null;
+
+    /**
+     * 错误信息
+     *
+     * @type {string}
+     * @memberof AdminNETResultDingTalkGetProcessInstancesOutput
+     */
+    message?: string | null;
+
+    /**
+     * @type {DingTalkGetProcessInstancesOutput}
+     * @memberof AdminNETResultDingTalkGetProcessInstancesOutput
+     */
+    result?: DingTalkGetProcessInstancesOutput;
+
+    /**
+     * 附加数据
+     *
+     * @type {any}
+     * @memberof AdminNETResultDingTalkGetProcessInstancesOutput
+     */
+    extras?: any | null;
+
+    /**
+     * 时间
+     *
+     * @type {Date}
+     * @memberof AdminNETResultDingTalkGetProcessInstancesOutput
+     */
+    time?: Date;
+}

+ 69 - 0
Web/src/api-plugins/dingTalk/models/admin-netresult-ding-talk-send-interactive-cards-output.ts

@@ -0,0 +1,69 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { DingTalkSendInteractiveCardsOutput } from './ding-talk-send-interactive-cards-output';
+ /**
+ * 全局返回结果
+ *
+ * @export
+ * @interface AdminNETResultDingTalkSendInteractiveCardsOutput
+ */
+export interface AdminNETResultDingTalkSendInteractiveCardsOutput {
+
+    /**
+     * 状态码
+     *
+     * @type {number}
+     * @memberof AdminNETResultDingTalkSendInteractiveCardsOutput
+     */
+    code?: number;
+
+    /**
+     * 类型success、warning、error
+     *
+     * @type {string}
+     * @memberof AdminNETResultDingTalkSendInteractiveCardsOutput
+     */
+    type?: string | null;
+
+    /**
+     * 错误信息
+     *
+     * @type {string}
+     * @memberof AdminNETResultDingTalkSendInteractiveCardsOutput
+     */
+    message?: string | null;
+
+    /**
+     * @type {DingTalkSendInteractiveCardsOutput}
+     * @memberof AdminNETResultDingTalkSendInteractiveCardsOutput
+     */
+    result?: DingTalkSendInteractiveCardsOutput;
+
+    /**
+     * 附加数据
+     *
+     * @type {any}
+     * @memberof AdminNETResultDingTalkSendInteractiveCardsOutput
+     */
+    extras?: any | null;
+
+    /**
+     * 时间
+     *
+     * @type {Date}
+     * @memberof AdminNETResultDingTalkSendInteractiveCardsOutput
+     */
+    time?: Date;
+}

+ 69 - 0
Web/src/api-plugins/dingTalk/models/admin-netresult-ding-talk-workflow-process-instances-output.ts

@@ -0,0 +1,69 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { DingTalkWorkflowProcessInstancesOutput } from './ding-talk-workflow-process-instances-output';
+ /**
+ * 全局返回结果
+ *
+ * @export
+ * @interface AdminNETResultDingTalkWorkflowProcessInstancesOutput
+ */
+export interface AdminNETResultDingTalkWorkflowProcessInstancesOutput {
+
+    /**
+     * 状态码
+     *
+     * @type {number}
+     * @memberof AdminNETResultDingTalkWorkflowProcessInstancesOutput
+     */
+    code?: number;
+
+    /**
+     * 类型success、warning、error
+     *
+     * @type {string}
+     * @memberof AdminNETResultDingTalkWorkflowProcessInstancesOutput
+     */
+    type?: string | null;
+
+    /**
+     * 错误信息
+     *
+     * @type {string}
+     * @memberof AdminNETResultDingTalkWorkflowProcessInstancesOutput
+     */
+    message?: string | null;
+
+    /**
+     * @type {DingTalkWorkflowProcessInstancesOutput}
+     * @memberof AdminNETResultDingTalkWorkflowProcessInstancesOutput
+     */
+    result?: DingTalkWorkflowProcessInstancesOutput;
+
+    /**
+     * 附加数据
+     *
+     * @type {any}
+     * @memberof AdminNETResultDingTalkWorkflowProcessInstancesOutput
+     */
+    extras?: any | null;
+
+    /**
+     * 时间
+     *
+     * @type {Date}
+     * @memberof AdminNETResultDingTalkWorkflowProcessInstancesOutput
+     */
+    time?: Date;
+}

+ 69 - 0
Web/src/api-plugins/dingTalk/models/admin-netresult-get-ding-talk-token-output.ts

@@ -0,0 +1,69 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { GetDingTalkTokenOutput } from './get-ding-talk-token-output';
+ /**
+ * 全局返回结果
+ *
+ * @export
+ * @interface AdminNETResultGetDingTalkTokenOutput
+ */
+export interface AdminNETResultGetDingTalkTokenOutput {
+
+    /**
+     * 状态码
+     *
+     * @type {number}
+     * @memberof AdminNETResultGetDingTalkTokenOutput
+     */
+    code?: number;
+
+    /**
+     * 类型success、warning、error
+     *
+     * @type {string}
+     * @memberof AdminNETResultGetDingTalkTokenOutput
+     */
+    type?: string | null;
+
+    /**
+     * 错误信息
+     *
+     * @type {string}
+     * @memberof AdminNETResultGetDingTalkTokenOutput
+     */
+    message?: string | null;
+
+    /**
+     * @type {GetDingTalkTokenOutput}
+     * @memberof AdminNETResultGetDingTalkTokenOutput
+     */
+    result?: GetDingTalkTokenOutput;
+
+    /**
+     * 附加数据
+     *
+     * @type {any}
+     * @memberof AdminNETResultGetDingTalkTokenOutput
+     */
+    extras?: any | null;
+
+    /**
+     * 时间
+     *
+     * @type {Date}
+     * @memberof AdminNETResultGetDingTalkTokenOutput
+     */
+    time?: Date;
+}

+ 38 - 0
Web/src/api-plugins/dingTalk/models/approver.ts

@@ -0,0 +1,38 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 审批人信息
+ *
+ * @export
+ * @interface Approver
+ */
+export interface Approver {
+
+    /**
+     * 节点类型:AGREE(同意),REFUSE(拒绝)等
+     *
+     * @type {string}
+     * @memberof Approver
+     */
+    actionType?: string | null;
+
+    /**
+     * 该节点的审批人用户ID列表
+     *
+     * @type {Array<string>}
+     * @memberof Approver
+     */
+    userIds?: Array<string> | null;
+}

+ 61 - 0
Web/src/api-plugins/dingTalk/models/ding-talk-base-response-get-ding-talk-current-employees-list-output.ts

@@ -0,0 +1,61 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { GetDingTalkCurrentEmployeesListOutput } from './get-ding-talk-current-employees-list-output';
+ /**
+ * 钉钉基础响应结果
+ *
+ * @export
+ * @interface DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
+ */
+export interface DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput {
+
+    /**
+     * @type {GetDingTalkCurrentEmployeesListOutput}
+     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
+     */
+    result?: GetDingTalkCurrentEmployeesListOutput;
+
+    /**
+     * 返回码
+     *
+     * @type {number}
+     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
+     */
+    errCode?: number;
+
+    /**
+     * 返回码描述。
+     *
+     * @type {string}
+     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
+     */
+    errMsg?: string | null;
+
+    /**
+     * 是否调用成功
+     *
+     * @type {boolean}
+     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
+     */
+    success?: boolean;
+
+    /**
+     * 请求Id
+     *
+     * @type {string}
+     * @memberof DingTalkBaseResponseGetDingTalkCurrentEmployeesListOutput
+     */
+    requestId?: string | null;
+}

+ 63 - 0
Web/src/api-plugins/dingTalk/models/ding-talk-base-response-list-ding-talk-emp-roster-field-vo.ts

@@ -0,0 +1,63 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { DingTalkEmpRosterFieldVo } from './ding-talk-emp-roster-field-vo';
+ /**
+ * 钉钉基础响应结果
+ *
+ * @export
+ * @interface DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+ */
+export interface DingTalkBaseResponseListDingTalkEmpRosterFieldVo {
+
+    /**
+     * 返回结果
+     *
+     * @type {Array<DingTalkEmpRosterFieldVo>}
+     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     */
+    result?: Array<DingTalkEmpRosterFieldVo> | null;
+
+    /**
+     * 返回码
+     *
+     * @type {number}
+     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     */
+    errCode?: number;
+
+    /**
+     * 返回码描述。
+     *
+     * @type {string}
+     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     */
+    errMsg?: string | null;
+
+    /**
+     * 是否调用成功
+     *
+     * @type {boolean}
+     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     */
+    success?: boolean;
+
+    /**
+     * 请求Id
+     *
+     * @type {string}
+     * @memberof DingTalkBaseResponseListDingTalkEmpRosterFieldVo
+     */
+    requestId?: string | null;
+}

+ 6 - 10
Web/src/api-plugins/dingTalk/models/ding-talk-card-data.ts

@@ -1,7 +1,7 @@
 /* tslint:disable */
 /* eslint-disable */
 /**
- * DingTalk
+ * 钉钉开放平台
  * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
  *
  * OpenAPI spec version: 1.0.0
@@ -11,23 +11,19 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
+
 import { DingTalkCardParamMap } from './ding-talk-card-param-map';
-/**
- * 卡片公有数据
+ /**
+ * 
+ *
  * @export
  * @interface DingTalkCardData
  */
 export interface DingTalkCardData {
+
     /**
-     * 
      * @type {DingTalkCardParamMap}
      * @memberof DingTalkCardData
      */
     cardParamMap?: DingTalkCardParamMap;
-    /**
-     * 卡片模板内容替换参数,多媒体类型。
-     * @type {string}
-     * @memberof DingTalkCardData
-     */
-    cardMediaIdParamMap?: string | null;
 }

+ 6 - 2
Web/src/api-plugins/dingTalk/models/ding-talk-card-param-map.ts

@@ -1,7 +1,7 @@
 /* tslint:disable */
 /* eslint-disable */
 /**
- * DingTalk
+ * 钉钉开放平台
  * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
  *
  * OpenAPI spec version: 1.0.0
@@ -11,14 +11,18 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
-/**
+
+ /**
  * 卡片模板内容替换参数
+ *
  * @export
  * @interface DingTalkCardParamMap
  */
 export interface DingTalkCardParamMap {
+
     /**
      * 片模板内容替换参数
+     *
      * @type {string}
      * @memberof DingTalkCardParamMap
      */

+ 2 - 1
Web/src/api-plugins/dingTalk/models/ding-talk-conversation-type-enum.ts

@@ -1,7 +1,7 @@
 /* tslint:disable */
 /* eslint-disable */
 /**
- * DingTalk
+ * 钉钉开放平台
  * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
  *
  * OpenAPI spec version: 1.0.0
@@ -11,6 +11,7 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
+
 /**
  * 钉钉发送的会话类型枚举<br />&nbsp;单聊 SingleChat = 0<br />&nbsp;群聊 GroupChat = 1<br />
  * @export

+ 167 - 0
Web/src/api-plugins/dingTalk/models/ding-talk-create-and-deliver-input.ts

@@ -0,0 +1,167 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { DingTalkCardData } from './ding-talk-card-data';
+import { DingTalkOpenDeliverModel } from './ding-talk-open-deliver-model';
+import { OpenDynamicDataConfig } from './open-dynamic-data-config';
+import { OpenSpaceModel } from './open-space-model';
+import { PrivateData } from './private-data';
+ /**
+ * 
+ *
+ * @export
+ * @interface DingTalkCreateAndDeliverInput
+ */
+export interface DingTalkCreateAndDeliverInput {
+
+    /**
+     * 卡片创建者的userId
+     *
+     * @type {string}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    userId?: string | null;
+
+    /**
+     * 卡片内容模板ID
+     *
+     * @type {string}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    cardTemplateId: string;
+
+    /**
+     * 外部卡片实例Id
+     *
+     * @type {string}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    outTrackId: string;
+
+    /**
+     * 卡片回调的类型:STREAM:stream模式 HTTP:http模式
+     *
+     * @type {string}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    callbackType?: string | null;
+
+    /**
+     * 卡片回调HTTP模式时的路由 Key,用于查询注册的 callbackUrl。
+     *
+     * @type {string}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    callbackRouteKey?: string | null;
+
+    /**
+     * @type {DingTalkCardData}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    cardData: DingTalkCardData;
+
+    /**
+     * @type {PrivateData}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    crivateData?: PrivateData;
+
+    /**
+     * @type {OpenDynamicDataConfig}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    openDynamicDataConfig?: OpenDynamicDataConfig;
+
+    /**
+     * @type {OpenSpaceModel}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    imSingleOpenSpaceModel?: OpenSpaceModel;
+
+    /**
+     * @type {OpenSpaceModel}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    imGroupOpenSpaceModel?: OpenSpaceModel;
+
+    /**
+     * @type {OpenSpaceModel}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    imRobotOpenSpaceModel?: OpenSpaceModel;
+
+    /**
+     * @type {OpenSpaceModel}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    coFeedOpenSpaceModel?: OpenSpaceModel;
+
+    /**
+     * @type {OpenSpaceModel}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    topOpenSpaceModel?: OpenSpaceModel;
+
+    /**
+     * 表示场域及其场域id
+     *
+     * @type {string}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    openSpaceId: string;
+
+    /**
+     * @type {DingTalkOpenDeliverModel}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    imSingleOpenDeliverModel?: DingTalkOpenDeliverModel;
+
+    /**
+     * @type {DingTalkOpenDeliverModel}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    imGroupOpenDeliverModel?: DingTalkOpenDeliverModel;
+
+    /**
+     * @type {DingTalkOpenDeliverModel}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    imRobotOpenDeliverModel?: DingTalkOpenDeliverModel;
+
+    /**
+     * @type {DingTalkOpenDeliverModel}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    topOpenDeliverModel?: DingTalkOpenDeliverModel;
+
+    /**
+     * @type {DingTalkOpenDeliverModel}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    coFeedOpenDeliverModel?: DingTalkOpenDeliverModel;
+
+    /**
+     * @type {DingTalkOpenDeliverModel}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    docOpenDeliverModel?: DingTalkOpenDeliverModel;
+
+    /**
+     * 用户userId类型:1(默认):userId模式 2:unionId模式
+     *
+     * @type {number}
+     * @memberof DingTalkCreateAndDeliverInput
+     */
+    userIdType?: number;
+}

+ 55 - 0
Web/src/api-plugins/dingTalk/models/ding-talk-create-and-deliver-output.ts

@@ -0,0 +1,55 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { DingTalkCreateAndDeliverResult } from './ding-talk-create-and-deliver-result';
+ /**
+ * 
+ *
+ * @export
+ * @interface DingTalkCreateAndDeliverOutput
+ */
+export interface DingTalkCreateAndDeliverOutput {
+
+    /**
+     * 返回结果
+     *
+     * @type {boolean}
+     * @memberof DingTalkCreateAndDeliverOutput
+     */
+    success?: boolean;
+
+    /**
+     * @type {DingTalkCreateAndDeliverResult}
+     * @memberof DingTalkCreateAndDeliverOutput
+     */
+    result?: DingTalkCreateAndDeliverResult;
+
+    /**
+     * @type {string}
+     * @memberof DingTalkCreateAndDeliverOutput
+     */
+    code?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof DingTalkCreateAndDeliverOutput
+     */
+    requestid?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof DingTalkCreateAndDeliverOutput
+     */
+    message?: string | null;
+}

+ 30 - 0
Web/src/api-plugins/dingTalk/models/ding-talk-create-and-deliver-result.ts

@@ -0,0 +1,30 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 
+ *
+ * @export
+ * @interface DingTalkCreateAndDeliverResult
+ */
+export interface DingTalkCreateAndDeliverResult {
+
+    /**
+     * 用于业务方后续查看已读列表的查询key
+     *
+     * @type {string}
+     * @memberof DingTalkCreateAndDeliverResult
+     */
+    processQueryKey?: string | null;
+}

+ 53 - 0
Web/src/api-plugins/dingTalk/models/ding-talk-emp-field-data-vo.ts

@@ -0,0 +1,53 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { DingTalkFieldValueVo } from './ding-talk-field-value-vo';
+ /**
+ * 
+ *
+ * @export
+ * @interface DingTalkEmpFieldDataVo
+ */
+export interface DingTalkEmpFieldDataVo {
+
+    /**
+     * 字段名称
+     *
+     * @type {string}
+     * @memberof DingTalkEmpFieldDataVo
+     */
+    fieldName?: string | null;
+
+    /**
+     * 字段标识
+     *
+     * @type {string}
+     * @memberof DingTalkEmpFieldDataVo
+     */
+    fieldCode?: string | null;
+
+    /**
+     * 分组标识
+     *
+     * @type {string}
+     * @memberof DingTalkEmpFieldDataVo
+     */
+    groupId?: string | null;
+
+    /**
+     * @type {Array<DingTalkFieldValueVo>}
+     * @memberof DingTalkEmpFieldDataVo
+     */
+    fieldValueList?: Array<DingTalkFieldValueVo> | null;
+}

+ 47 - 0
Web/src/api-plugins/dingTalk/models/ding-talk-emp-roster-field-vo.ts

@@ -0,0 +1,47 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { DingTalkEmpFieldDataVo } from './ding-talk-emp-field-data-vo';
+ /**
+ * 
+ *
+ * @export
+ * @interface DingTalkEmpRosterFieldVo
+ */
+export interface DingTalkEmpRosterFieldVo {
+
+    /**
+     * 企业的corpid
+     *
+     * @type {string}
+     * @memberof DingTalkEmpRosterFieldVo
+     */
+    corpId?: string | null;
+
+    /**
+     * 返回的字段信息列表
+     *
+     * @type {Array<DingTalkEmpFieldDataVo>}
+     * @memberof DingTalkEmpRosterFieldVo
+     */
+    fieldDataList?: Array<DingTalkEmpFieldDataVo> | null;
+
+    /**
+     * 员工的userid
+     *
+     * @type {string}
+     * @memberof DingTalkEmpRosterFieldVo
+     */
+    userid?: string | null;
+}

+ 46 - 0
Web/src/api-plugins/dingTalk/models/ding-talk-field-value-vo.ts

@@ -0,0 +1,46 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 
+ *
+ * @export
+ * @interface DingTalkFieldValueVo
+ */
+export interface DingTalkFieldValueVo {
+
+    /**
+     * 第几条的明细标识,下标从0开始
+     *
+     * @type {number}
+     * @memberof DingTalkFieldValueVo
+     */
+    itemIndex?: number;
+
+    /**
+     * 字段展示值,选项类型字段对应选项的value
+     *
+     * @type {string}
+     * @memberof DingTalkFieldValueVo
+     */
+    label?: string | null;
+
+    /**
+     * 字段取值,选项类型字段对应选项的key
+     *
+     * @type {string}
+     * @memberof DingTalkFieldValueVo
+     */
+    value?: string | null;
+}

+ 35 - 0
Web/src/api-plugins/dingTalk/models/ding-talk-get-process-instances-output.ts

@@ -0,0 +1,35 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { ResultData } from './result-data';
+ /**
+ * 
+ *
+ * @export
+ * @interface DingTalkGetProcessInstancesOutput
+ */
+export interface DingTalkGetProcessInstancesOutput {
+
+    /**
+     * @type {ResultData}
+     * @memberof DingTalkGetProcessInstancesOutput
+     */
+    result?: ResultData;
+
+    /**
+     * @type {boolean}
+     * @memberof DingTalkGetProcessInstancesOutput
+     */
+    success?: boolean;
+}

+ 110 - 0
Web/src/api-plugins/dingTalk/models/ding-talk-open-deliver-model.ts

@@ -0,0 +1,110 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 
+ *
+ * @export
+ * @interface DingTalkOpenDeliverModel
+ */
+export interface DingTalkOpenDeliverModel {
+
+    /**
+     * 用于发送卡片的机器人编码。
+     *
+     * @type {string}
+     * @memberof DingTalkOpenDeliverModel
+     */
+    robotCode?: string | null;
+
+    /**
+     * 消息@人。格式:{\"key\":\"value\"}。key:用户的userId value:用户名
+     *
+     * @type {{ [key: string]: string; }}
+     * @memberof DingTalkOpenDeliverModel
+     */
+    atUserIds?: { [key: string]: string; } | null;
+
+    /**
+     * 指定接收人的userId。
+     *
+     * @type {Array<string>}
+     * @memberof DingTalkOpenDeliverModel
+     */
+    recipients?: Array<string> | null;
+
+    /**
+     * 扩展字段,示例如下:{\"key\":\"value\"}
+     *
+     * @type {{ [key: string]: string; }}
+     * @memberof DingTalkOpenDeliverModel
+     */
+    extension?: { [key: string]: string; } | null;
+
+    /**
+     * IM机器人单聊若未设置其他投放属性,需设置spaeType为IM_ROBOT。
+     *
+     * @type {string}
+     * @memberof DingTalkOpenDeliverModel
+     */
+    spaceType?: string | null;
+
+    /**
+     * 过期时间戳。若使用topOpenDeliverModel对象,则该字段必填。
+     *
+     * @type {number}
+     * @memberof DingTalkOpenDeliverModel
+     */
+    expiredTimeMillis?: number;
+
+    /**
+     * 可以查看该吊顶卡片的userId。
+     *
+     * @type {Array<string>}
+     * @memberof DingTalkOpenDeliverModel
+     */
+    userIds?: Array<string> | null;
+
+    /**
+     * 可以查看该吊顶卡片的设备:android|ios|win|mac。
+     *
+     * @type {Array<string>}
+     * @memberof DingTalkOpenDeliverModel
+     */
+    platforms?: Array<string> | null;
+
+    /**
+     * 业务标识。
+     *
+     * @type {string}
+     * @memberof DingTalkOpenDeliverModel
+     */
+    bizTag?: string | null;
+
+    /**
+     * 协作场域下的排序时间。
+     *
+     * @type {number}
+     * @memberof DingTalkOpenDeliverModel
+     */
+    gmtTimeLine?: number;
+
+    /**
+     * 员工userId信息
+     *
+     * @type {string}
+     * @memberof DingTalkOpenDeliverModel
+     */
+    userId?: string | null;
+}

+ 18 - 4
Web/src/api-plugins/dingTalk/models/ding-talk-send-interactive-cards-input.ts

@@ -1,7 +1,7 @@
 /* tslint:disable */
 /* eslint-disable */
 /**
- * DingTalk
+ * 钉钉开放平台
  * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
  *
  * OpenAPI spec version: 1.0.0
@@ -11,58 +11,72 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
+
 import { DingTalkCardData } from './ding-talk-card-data';
 import { DingTalkConversationTypeEnum } from './ding-talk-conversation-type-enum';
-/**
+ /**
  * 
+ *
  * @export
  * @interface DingTalkSendInteractiveCardsInput
  */
 export interface DingTalkSendInteractiveCardsInput {
+
     /**
      * 互动卡片的消息模板Id
+     *
      * @type {string}
      * @memberof DingTalkSendInteractiveCardsInput
      */
     cardTemplateId: string;
+
     /**
      * 群Id
+     *
      * @type {string}
      * @memberof DingTalkSendInteractiveCardsInput
      */
     openConversationId?: string | null;
+
     /**
      * 接收人userId列表
+     *
      * @type {Array<string>}
      * @memberof DingTalkSendInteractiveCardsInput
      */
     receiverUserIdList: Array<string>;
+
     /**
      * 唯一标示卡片的外部编码
+     *
      * @type {string}
      * @memberof DingTalkSendInteractiveCardsInput
      */
     outTrackId: string;
+
     /**
      * 机器人的编码
+     *
      * @type {string}
      * @memberof DingTalkSendInteractiveCardsInput
      */
     robotCode?: string | null;
+
     /**
-     * 
      * @type {DingTalkConversationTypeEnum}
      * @memberof DingTalkSendInteractiveCardsInput
      */
     conversationType: DingTalkConversationTypeEnum;
+
     /**
      * 卡片回调时的路由Key,用于查询注册的callbackUrl
+     *
      * @type {string}
      * @memberof DingTalkSendInteractiveCardsInput
      */
     callbackRouteKey?: string | null;
+
     /**
-     * 
      * @type {DingTalkCardData}
      * @memberof DingTalkSendInteractiveCardsInput
      */

+ 7 - 3
Web/src/api-plugins/dingTalk/models/ding-talk-send-interactive-cards-output.ts

@@ -1,7 +1,7 @@
 /* tslint:disable */
 /* eslint-disable */
 /**
- * DingTalk
+ * 钉钉开放平台
  * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
  *
  * OpenAPI spec version: 1.0.0
@@ -11,21 +11,25 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
+
 import { DingTalkSendInteractiveCardsResult } from './ding-talk-send-interactive-cards-result';
-/**
+ /**
  * 发送钉钉互动卡片返回
+ *
  * @export
  * @interface DingTalkSendInteractiveCardsOutput
  */
 export interface DingTalkSendInteractiveCardsOutput {
+
     /**
      * 返回结果
+     *
      * @type {boolean}
      * @memberof DingTalkSendInteractiveCardsOutput
      */
     success?: boolean;
+
     /**
-     * 
      * @type {DingTalkSendInteractiveCardsResult}
      * @memberof DingTalkSendInteractiveCardsOutput
      */

+ 6 - 2
Web/src/api-plugins/dingTalk/models/ding-talk-send-interactive-cards-result.ts

@@ -1,7 +1,7 @@
 /* tslint:disable */
 /* eslint-disable */
 /**
- * DingTalk
+ * 钉钉开放平台
  * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
  *
  * OpenAPI spec version: 1.0.0
@@ -11,14 +11,18 @@
  * https://github.com/swagger-api/swagger-codegen.git
  * Do not edit the class manually.
  */
-/**
+
+ /**
  * 
+ *
  * @export
  * @interface DingTalkSendInteractiveCardsResult
  */
 export interface DingTalkSendInteractiveCardsResult {
+
     /**
      * 用于业务方后续查看已读列表的查询key
+     *
      * @type {string}
      * @memberof DingTalkSendInteractiveCardsResult
      */

+ 105 - 0
Web/src/api-plugins/dingTalk/models/ding-talk-workflow-process-instances-input.ts

@@ -0,0 +1,105 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { Approver } from './approver';
+import { FormComponentValue } from './form-component-value';
+import { TargetSelectActioner } from './target-select-actioner';
+ /**
+ * 
+ *
+ * @export
+ * @interface DingTalkWorkflowProcessInstancesInput
+ */
+export interface DingTalkWorkflowProcessInstancesInput {
+
+    /**
+     * 发起人用户ID
+     *
+     * @type {string}
+     * @memberof DingTalkWorkflowProcessInstancesInput
+     */
+    originatorUserId?: string | null;
+
+    /**
+     * 审批模板的流程编码
+     *
+     * @type {string}
+     * @memberof DingTalkWorkflowProcessInstancesInput
+     */
+    processCode?: string | null;
+
+    /**
+     * 部门ID
+     *
+     * @type {number}
+     * @memberof DingTalkWorkflowProcessInstancesInput
+     */
+    deptId?: number;
+
+    /**
+     * 微应用AgentId
+     *
+     * @type {number}
+     * @memberof DingTalkWorkflowProcessInstancesInput
+     */
+    microappAgentId?: number;
+
+    /**
+     * 审批人列表(支持多节点)
+     *
+     * @type {Array<Approver>}
+     * @memberof DingTalkWorkflowProcessInstancesInput
+     */
+    approvers?: Array<Approver> | null;
+
+    /**
+     * 抄送人列表
+     *
+     * @type {Array<string>}
+     * @memberof DingTalkWorkflowProcessInstancesInput
+     */
+    ccList?: Array<string> | null;
+
+    /**
+     * 抄送位置:START(开始),MIDDLE(中间),END(结束)
+     *
+     * @type {string}
+     * @memberof DingTalkWorkflowProcessInstancesInput
+     */
+    ccPosition?: string | null;
+
+    /**
+     * 目标动态选择办理人(用于会签或或签等场景)
+     *
+     * @type {Array<TargetSelectActioner>}
+     * @memberof DingTalkWorkflowProcessInstancesInput
+     */
+    targetSelectActioners?: Array<TargetSelectActioner> | null;
+
+    /**
+     * 表单组件值列表
+     *
+     * @type {Array<FormComponentValue>}
+     * @memberof DingTalkWorkflowProcessInstancesInput
+     */
+    formComponentValues?: Array<FormComponentValue> | null;
+
+    /**
+     * 请求ID,用于幂等控制
+     *
+     * @type {string}
+     * @memberof DingTalkWorkflowProcessInstancesInput
+     */
+    requestId?: string | null;
+}

+ 50 - 0
Web/src/api-plugins/dingTalk/models/ding-talk-workflow-process-instances-output.ts

@@ -0,0 +1,50 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 
+ *
+ * @export
+ * @interface DingTalkWorkflowProcessInstancesOutput
+ */
+export interface DingTalkWorkflowProcessInstancesOutput {
+
+    /**
+     * 请求Id
+     *
+     * @type {string}
+     * @memberof DingTalkWorkflowProcessInstancesOutput
+     */
+    requestId?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof DingTalkWorkflowProcessInstancesOutput
+     */
+    code?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof DingTalkWorkflowProcessInstancesOutput
+     */
+    message?: string | null;
+
+    /**
+     * 是否还有更多数据
+     *
+     * @type {string}
+     * @memberof DingTalkWorkflowProcessInstancesOutput
+     */
+    instanceId?: string | null;
+}

+ 45 - 0
Web/src/api-plugins/dingTalk/models/dynamic-data-source-config.ts

@@ -0,0 +1,45 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { PullConfig } from './pull-config';
+ /**
+ * 
+ *
+ * @export
+ * @interface DynamicDataSourceConfig
+ */
+export interface DynamicDataSourceConfig {
+
+    /**
+     * 数据源的唯一 ID, 调用方指定。
+     *
+     * @type {string}
+     * @memberof DynamicDataSourceConfig
+     */
+    dynamicDataSourceId?: string | null;
+
+    /**
+     * 回调数据源时回传的固定参数。 示例
+     *
+     * @type {{ [key: string]: string; }}
+     * @memberof DynamicDataSourceConfig
+     */
+    constParams?: { [key: string]: string; } | null;
+
+    /**
+     * @type {PullConfig}
+     * @memberof DynamicDataSourceConfig
+     */
+    pullConfig?: PullConfig;
+}

+ 58 - 0
Web/src/api-plugins/dingTalk/models/form-component-value.ts

@@ -0,0 +1,58 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 表单组件值
+ *
+ * @export
+ * @interface FormComponentValue
+ */
+export interface FormComponentValue {
+
+    /**
+     * @type {string}
+     * @memberof FormComponentValue
+     */
+    componentType?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof FormComponentValue
+     */
+    name?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof FormComponentValue
+     */
+    bizAlias?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof FormComponentValue
+     */
+    id?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof FormComponentValue
+     */
+    value?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof FormComponentValue
+     */
+    extValue?: string | null;
+}

+ 46 - 0
Web/src/api-plugins/dingTalk/models/get-ding-talk-current-employees-list-input.ts

@@ -0,0 +1,46 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 获取在职员工列表参数
+ *
+ * @export
+ * @interface GetDingTalkCurrentEmployeesListInput
+ */
+export interface GetDingTalkCurrentEmployeesListInput {
+
+    /**
+     * 在职员工状态筛选,可以查询多个状态。不同状态之间使用英文逗号分隔。2:试用期、3:正式、5:待离职、-1:无状态
+     *
+     * @type {string}
+     * @memberof GetDingTalkCurrentEmployeesListInput
+     */
+    statusList?: string | null;
+
+    /**
+     * 分页游标,从0开始。根据返回结果里的next_cursor是否为空来判断是否还有下一页,且再次调用时offset设置成next_cursor的值。
+     *
+     * @type {number}
+     * @memberof GetDingTalkCurrentEmployeesListInput
+     */
+    offset?: number;
+
+    /**
+     * 分页大小,最大50。
+     *
+     * @type {number}
+     * @memberof GetDingTalkCurrentEmployeesListInput
+     */
+    size?: number;
+}

+ 38 - 0
Web/src/api-plugins/dingTalk/models/get-ding-talk-current-employees-list-output.ts

@@ -0,0 +1,38 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 
+ *
+ * @export
+ * @interface GetDingTalkCurrentEmployeesListOutput
+ */
+export interface GetDingTalkCurrentEmployeesListOutput {
+
+    /**
+     * 查询到的员工userId列表
+     *
+     * @type {Array<string>}
+     * @memberof GetDingTalkCurrentEmployeesListOutput
+     */
+    dataList?: Array<string> | null;
+
+    /**
+     * 下一次分页调用的offset值,当返回结果里没有next_cursor时,表示分页结束。
+     *
+     * @type {number}
+     * @memberof GetDingTalkCurrentEmployeesListOutput
+     */
+    nextCursor?: number | null;
+}

+ 46 - 0
Web/src/api-plugins/dingTalk/models/get-ding-talk-current-employees-roster-list-input.ts

@@ -0,0 +1,46 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 
+ *
+ * @export
+ * @interface GetDingTalkCurrentEmployeesRosterListInput
+ */
+export interface GetDingTalkCurrentEmployeesRosterListInput {
+
+    /**
+     * 员工的userId列表,多个userid之间使用逗号分隔,一次最多支持传100个值。
+     *
+     * @type {string}
+     * @memberof GetDingTalkCurrentEmployeesRosterListInput
+     */
+    useridList?: string | null;
+
+    /**
+     * 需要获取的花名册字段field_code值列表,多个字段之间使用逗号分隔,一次最多支持传100个值。
+     *
+     * @type {string}
+     * @memberof GetDingTalkCurrentEmployeesRosterListInput
+     */
+    fieldFilterList?: string | null;
+
+    /**
+     * 应用的AgentId
+     *
+     * @type {string}
+     * @memberof GetDingTalkCurrentEmployeesRosterListInput
+     */
+    agentid?: string | null;
+}

+ 54 - 0
Web/src/api-plugins/dingTalk/models/get-ding-talk-token-output.ts

@@ -0,0 +1,54 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 
+ *
+ * @export
+ * @interface GetDingTalkTokenOutput
+ */
+export interface GetDingTalkTokenOutput {
+
+    /**
+     * 生成的access_token
+     *
+     * @type {string}
+     * @memberof GetDingTalkTokenOutput
+     */
+    accessToken?: string | null;
+
+    /**
+     * access_token的过期时间,单位秒
+     *
+     * @type {number}
+     * @memberof GetDingTalkTokenOutput
+     */
+    expiresIn?: number;
+
+    /**
+     * 返回码描述
+     *
+     * @type {string}
+     * @memberof GetDingTalkTokenOutput
+     */
+    errMsg?: string | null;
+
+    /**
+     * 返回码
+     *
+     * @type {number}
+     * @memberof GetDingTalkTokenOutput
+     */
+    errCode?: number;
+}

+ 36 - 11
Web/src/api-plugins/dingTalk/models/index.ts

@@ -1,17 +1,42 @@
-export * from './admin-result-ding-talk-send-interactive-cards-output';
-export * from './admin-result-employee-query-on-job-response';
-export * from './admin-result-get-access-token-response';
-export * from './admin-result-roster-lists-query-response';
+export * from './admin-netresult-ding-talk-base-response-get-ding-talk-current-employees-list-output';
+export * from './admin-netresult-ding-talk-base-response-list-ding-talk-emp-roster-field-vo';
+export * from './admin-netresult-ding-talk-create-and-deliver-output';
+export * from './admin-netresult-ding-talk-get-process-instances-output';
+export * from './admin-netresult-ding-talk-send-interactive-cards-output';
+export * from './admin-netresult-ding-talk-workflow-process-instances-output';
+export * from './admin-netresult-get-ding-talk-token-output';
+export * from './approver';
+export * from './ding-talk-base-response-get-ding-talk-current-employees-list-output';
+export * from './ding-talk-base-response-list-ding-talk-emp-roster-field-vo';
 export * from './ding-talk-card-data';
 export * from './ding-talk-card-param-map';
 export * from './ding-talk-conversation-type-enum';
+export * from './ding-talk-create-and-deliver-input';
+export * from './ding-talk-create-and-deliver-output';
+export * from './ding-talk-create-and-deliver-result';
+export * from './ding-talk-emp-field-data-vo';
+export * from './ding-talk-emp-roster-field-vo';
+export * from './ding-talk-field-value-vo';
+export * from './ding-talk-get-process-instances-output';
+export * from './ding-talk-open-deliver-model';
 export * from './ding-talk-send-interactive-cards-input';
 export * from './ding-talk-send-interactive-cards-output';
 export * from './ding-talk-send-interactive-cards-result';
-export * from './employee-query-on-job-response';
-export * from './employee-query-on-job-response-result-domain';
-export * from './field-data-domain';
-export * from './field-value-domain';
-export * from './get-access-token-response';
-export * from './result-domain';
-export * from './roster-lists-query-response';
+export * from './ding-talk-workflow-process-instances-input';
+export * from './ding-talk-workflow-process-instances-output';
+export * from './dynamic-data-source-config';
+export * from './form-component-value';
+export * from './get-ding-talk-current-employees-list-input';
+export * from './get-ding-talk-current-employees-list-output';
+export * from './get-ding-talk-current-employees-roster-list-input';
+export * from './get-ding-talk-token-output';
+export * from './notification';
+export * from './open-dynamic-data-config';
+export * from './open-space-model';
+export * from './operation-record';
+export * from './private-data';
+export * from './pull-config';
+export * from './result-data';
+export * from './search-support';
+export * from './target-select-actioner';
+export * from './task-item';

+ 38 - 0
Web/src/api-plugins/dingTalk/models/notification.ts

@@ -0,0 +1,38 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 
+ *
+ * @export
+ * @interface Notification
+ */
+export interface Notification {
+
+    /**
+     * 供消息展示与搜索的字段。
+     *
+     * @type {string}
+     * @memberof Notification
+     */
+    alertContent?: string | null;
+
+    /**
+     * 是否关闭推送通知:true:关闭 false:不关闭
+     *
+     * @type {boolean}
+     * @memberof Notification
+     */
+    notificationOff?: boolean;
+}

+ 31 - 0
Web/src/api-plugins/dingTalk/models/open-dynamic-data-config.ts

@@ -0,0 +1,31 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { DynamicDataSourceConfig } from './dynamic-data-source-config';
+ /**
+ * 
+ *
+ * @export
+ * @interface OpenDynamicDataConfig
+ */
+export interface OpenDynamicDataConfig {
+
+    /**
+     * 动态数据源配置列表。
+     *
+     * @type {Array<DynamicDataSourceConfig>}
+     * @memberof OpenDynamicDataConfig
+     */
+    dynamicDataSourceConfigs?: Array<DynamicDataSourceConfig> | null;
+}

+ 76 - 0
Web/src/api-plugins/dingTalk/models/open-space-model.ts

@@ -0,0 +1,76 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { Notification } from './notification';
+import { SearchSupport } from './search-support';
+ /**
+ * 
+ *
+ * @export
+ * @interface OpenSpaceModel
+ */
+export interface OpenSpaceModel {
+
+    /**
+     * 吊顶场域属性,通过增加spaeType使卡片支持吊顶场域。
+     *
+     * @type {string}
+     * @memberof OpenSpaceModel
+     */
+    spaceType?: string | null;
+
+    /**
+     * 卡片标题。
+     *
+     * @type {string}
+     * @memberof OpenSpaceModel
+     */
+    title?: string | null;
+
+    /**
+     * 酷应用编码。
+     *
+     * @type {string}
+     * @memberof OpenSpaceModel
+     */
+    coolAppCode?: string | null;
+
+    /**
+     * 是否支持转发, 默认false。
+     *
+     * @type {boolean}
+     * @memberof OpenSpaceModel
+     */
+    supportForward?: boolean | null;
+
+    /**
+     * 支持国际化的LastMessage。
+     *
+     * @type {{ [key: string]: string; }}
+     * @memberof OpenSpaceModel
+     */
+    lastMessageI18n?: { [key: string]: string; } | null;
+
+    /**
+     * @type {SearchSupport}
+     * @memberof OpenSpaceModel
+     */
+    searchSupport?: SearchSupport;
+
+    /**
+     * @type {Notification}
+     * @memberof OpenSpaceModel
+     */
+    notification?: Notification;
+}

+ 58 - 0
Web/src/api-plugins/dingTalk/models/operation-record.ts

@@ -0,0 +1,58 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 
+ *
+ * @export
+ * @interface OperationRecord
+ */
+export interface OperationRecord {
+
+    /**
+     * @type {Date}
+     * @memberof OperationRecord
+     */
+    date?: Date | null;
+
+    /**
+     * @type {string}
+     * @memberof OperationRecord
+     */
+    result?: string | null;
+
+    /**
+     * @type {Array<any>}
+     * @memberof OperationRecord
+     */
+    images?: Array<any> | null;
+
+    /**
+     * @type {string}
+     * @memberof OperationRecord
+     */
+    showName?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof OperationRecord
+     */
+    type?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof OperationRecord
+     */
+    userId?: string | null;
+}

+ 29 - 0
Web/src/api-plugins/dingTalk/models/private-data.ts

@@ -0,0 +1,29 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { DingTalkCardParamMap } from './ding-talk-card-param-map';
+ /**
+ * 
+ *
+ * @export
+ * @interface PrivateData
+ */
+export interface PrivateData {
+
+    /**
+     * @type {{ [key: string]: DingTalkCardParamMap; }}
+     * @memberof PrivateData
+     */
+    key?: { [key: string]: DingTalkCardParamMap; } | null;
+}

+ 46 - 0
Web/src/api-plugins/dingTalk/models/pull-config.ts

@@ -0,0 +1,46 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 
+ *
+ * @export
+ * @interface PullConfig
+ */
+export interface PullConfig {
+
+    /**
+     * 拉取策略,可选值:NONE:不拉取,无动态数据  INTERVAL:间隔拉取ONCE:只拉取一次
+     *
+     * @type {string}
+     * @memberof PullConfig
+     */
+    pullStrategy?: string | null;
+
+    /**
+     * 拉取的间隔时间。
+     *
+     * @type {number}
+     * @memberof PullConfig
+     */
+    interval?: number;
+
+    /**
+     * 拉取的间隔时间的单位, 可选值:SECONDS:秒 MINUTES:分钟 HOURS:小时 DAYS:天
+     *
+     * @type {string}
+     * @memberof PullConfig
+     */
+    timeUnit?: string | null;
+}

+ 105 - 0
Web/src/api-plugins/dingTalk/models/result-data.ts

@@ -0,0 +1,105 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+import { FormComponentValue } from './form-component-value';
+import { OperationRecord } from './operation-record';
+import { TaskItem } from './task-item';
+ /**
+ * 
+ *
+ * @export
+ * @interface ResultData
+ */
+export interface ResultData {
+
+    /**
+     * @type {Array<string>}
+     * @memberof ResultData
+     */
+    attachedProcessInstanceIds?: Array<string> | null;
+
+    /**
+     * @type {string}
+     * @memberof ResultData
+     */
+    businessId?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof ResultData
+     */
+    title?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof ResultData
+     */
+    originatorDeptId?: string | null;
+
+    /**
+     * @type {Array<OperationRecord>}
+     * @memberof ResultData
+     */
+    operationRecords?: Array<OperationRecord> | null;
+
+    /**
+     * @type {Array<FormComponentValue>}
+     * @memberof ResultData
+     */
+    formComponentValues?: Array<FormComponentValue> | null;
+
+    /**
+     * 审批结果 agree:同意 refuse:拒绝
+     *
+     * @type {string}
+     * @memberof ResultData
+     */
+    result?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof ResultData
+     */
+    bizAction?: string | null;
+
+    /**
+     * @type {Date}
+     * @memberof ResultData
+     */
+    createTime?: Date | null;
+
+    /**
+     * @type {string}
+     * @memberof ResultData
+     */
+    originatorUserId?: string | null;
+
+    /**
+     * @type {Array<TaskItem>}
+     * @memberof ResultData
+     */
+    tasks?: Array<TaskItem> | null;
+
+    /**
+     * @type {string}
+     * @memberof ResultData
+     */
+    originatorDeptName?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof ResultData
+     */
+    status?: string | null;
+}

+ 46 - 0
Web/src/api-plugins/dingTalk/models/search-support.ts

@@ -0,0 +1,46 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 
+ *
+ * @export
+ * @interface SearchSupport
+ */
+export interface SearchSupport {
+
+    /**
+     * 类型的icon,供搜索展示使用。
+     *
+     * @type {string}
+     * @memberof SearchSupport
+     */
+    searchIcon?: string | null;
+
+    /**
+     * 卡片类型名。
+     *
+     * @type {string}
+     * @memberof SearchSupport
+     */
+    searchTypeName?: string | null;
+
+    /**
+     * 供消息展示与搜索的字段。
+     *
+     * @type {string}
+     * @memberof SearchSupport
+     */
+    searchDesc?: string | null;
+}

+ 38 - 0
Web/src/api-plugins/dingTalk/models/target-select-actioner.ts

@@ -0,0 +1,38 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 动态选择办理人
+ *
+ * @export
+ * @interface TargetSelectActioner
+ */
+export interface TargetSelectActioner {
+
+    /**
+     * 办理人Key,对应表单中的人员选择控件的key
+     *
+     * @type {string}
+     * @memberof TargetSelectActioner
+     */
+    actionerKey?: string | null;
+
+    /**
+     * 该控件选中的用户ID列表
+     *
+     * @type {Array<string>}
+     * @memberof TargetSelectActioner
+     */
+    actionerUserIds?: Array<string> | null;
+}

+ 70 - 0
Web/src/api-plugins/dingTalk/models/task-item.ts

@@ -0,0 +1,70 @@
+/* tslint:disable */
+/* eslint-disable */
+/**
+ * 钉钉开放平台
+ * 集成钉钉开放平台<br/><u><b><font color='FF0000'> 👮不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!</font></b></u>
+ *
+ * OpenAPI spec version: 1.0.0
+ * 
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+ /**
+ * 
+ *
+ * @export
+ * @interface TaskItem
+ */
+export interface TaskItem {
+
+    /**
+     * @type {string}
+     * @memberof TaskItem
+     */
+    result?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof TaskItem
+     */
+    activityId?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof TaskItem
+     */
+    pcUrl?: string | null;
+
+    /**
+     * @type {Date}
+     * @memberof TaskItem
+     */
+    createTime?: Date | null;
+
+    /**
+     * @type {string}
+     * @memberof TaskItem
+     */
+    mobileUrl?: string | null;
+
+    /**
+     * @type {string}
+     * @memberof TaskItem
+     */
+    userId?: string | null;
+
+    /**
+     * @type {number}
+     * @memberof TaskItem
+     */
+    taskId?: number;
+
+    /**
+     * @type {string}
+     * @memberof TaskItem
+     */
+    status?: string | null;
+}

+ 6 - 9
Web/src/utils/toolsValidate.ts

@@ -329,15 +329,11 @@ export function verifyPostalCode(val: string) {
  * @returns 返回 true: url 正确
  */
 export function verifyUrl(val: string) {
-	// false: url不正确
-	if (
-		!/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(
-			val
-		)
-	)
-		return false;
-	// true: url正确
-	else return true;
+	if (typeof val !== 'string' || !val.trim()) return false;
+	// 严格URL正则表达式,允许私有IP地址
+	const strictUrlRegex =
+		/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4])))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i;
+	return strictUrlRegex.test(val);
 }
 
 /**
@@ -361,6 +357,7 @@ export function verifyCarNum(val: string) {
  * 解析身份证
  */
 export function judgementIdCard(idCard: string) {
+	if (!idCard?.trim()) return null;
 	let entity = {} as any;
 	let currentDate = new Date();
 	let yearNow = currentDate.getFullYear();