@gizone/rrs-client 4.2.0-alpha.375 → 4.2.0-alpha.377
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +21 -2
- package/api.ts +1 -0
- package/apis/hwork-api.ts +167 -0
- package/apis/message-api.ts +0 -178
- package/apis/notification-api.ts +133 -227
- package/apis/open-api-api.ts +214 -0
- package/apis/setting-api.ts +307 -0
- package/apis/web-hook-api.ts +182 -0
- package/apis/work-order-api.ts +450 -15
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/hwork-api.d.ts +96 -0
- package/dist/apis/hwork-api.js +145 -0
- package/dist/apis/message-api.d.ts +0 -93
- package/dist/apis/message-api.js +0 -139
- package/dist/apis/notification-api.d.ts +90 -135
- package/dist/apis/notification-api.js +99 -174
- package/dist/apis/open-api-api.d.ts +110 -0
- package/dist/apis/open-api-api.js +156 -0
- package/dist/apis/setting-api.d.ts +166 -0
- package/dist/apis/setting-api.js +223 -0
- package/dist/apis/web-hook-api.d.ts +94 -0
- package/dist/apis/web-hook-api.js +140 -0
- package/dist/apis/work-order-api.d.ts +243 -6
- package/dist/apis/work-order-api.js +322 -15
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/hwork-api.d.ts +96 -0
- package/dist/esm/apis/hwork-api.js +138 -0
- package/dist/esm/apis/message-api.d.ts +0 -93
- package/dist/esm/apis/message-api.js +1 -140
- package/dist/esm/apis/notification-api.d.ts +90 -135
- package/dist/esm/apis/notification-api.js +99 -174
- package/dist/esm/apis/open-api-api.d.ts +110 -0
- package/dist/esm/apis/open-api-api.js +156 -0
- package/dist/esm/apis/setting-api.d.ts +166 -0
- package/dist/esm/apis/setting-api.js +223 -0
- package/dist/esm/apis/web-hook-api.d.ts +94 -0
- package/dist/esm/apis/web-hook-api.js +140 -0
- package/dist/esm/apis/work-order-api.d.ts +243 -6
- package/dist/esm/apis/work-order-api.js +322 -15
- package/dist/esm/models/disaster-warning-standard-add-or-update-vo.d.ts +1 -1
- package/dist/esm/models/disaster-warning-standard-entity.d.ts +1 -1
- package/dist/esm/models/exploration-work-order-details-dto.d.ts +123 -0
- package/dist/esm/models/exploration-work-order-info.d.ts +111 -0
- package/dist/esm/models/exploration-work-order-info.js +19 -0
- package/dist/esm/models/exploration-work-order-submit-vo.d.ts +36 -0
- package/dist/esm/models/exploration-work-order-type-enum.d.ts +20 -0
- package/dist/esm/models/exploration-work-order-type-enum.js +21 -0
- package/dist/esm/models/index.d.ts +20 -2
- package/dist/esm/models/index.js +20 -2
- package/dist/esm/models/inspection-standard-add-or-update-vo.d.ts +1 -1
- package/dist/esm/models/inspection-standard-dto.d.ts +1 -1
- package/dist/esm/models/inspection-standard-entity.d.ts +1 -1
- package/dist/esm/models/insurance-notice-vo.d.ts +54 -0
- package/dist/esm/models/insurance-notice-vo.js +14 -0
- package/dist/esm/models/insurance-work-order-issue-vo.d.ts +86 -0
- package/dist/esm/models/insurance-work-order-issue-vo.js +19 -0
- package/dist/esm/models/insurance-work-order-vo.d.ts +37 -0
- package/dist/esm/models/insurance-work-order-vo.js +14 -0
- package/dist/esm/models/json-result-exploration-work-order-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-exploration-work-order-details-dto.js +14 -0
- package/dist/esm/models/json-result-list-work-order-issue-type-settings-entity.d.ts +62 -0
- package/dist/esm/models/json-result-list-work-order-issue-type-settings-entity.js +14 -0
- package/dist/esm/models/json-result-notice-entity.d.ts +62 -0
- package/dist/esm/models/json-result-notice-entity.js +14 -0
- package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +62 -0
- package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.js +14 -0
- package/dist/esm/models/json-result-work-order-issue-type-settings-entity.d.ts +62 -0
- package/dist/esm/models/json-result-work-order-issue-type-settings-entity.js +14 -0
- package/dist/esm/models/login-type-enum.d.ts +2 -0
- package/dist/esm/models/login-type-enum.js +3 -1
- package/dist/esm/models/maintenance-standard-add-or-update-vo.d.ts +1 -1
- package/dist/esm/models/maintenance-standard-dto.d.ts +1 -1
- package/dist/esm/models/maintenance-standard-entity.d.ts +1 -1
- package/dist/esm/models/monitoring-coverage-alert-work-order-details-dto.d.ts +12 -0
- package/dist/esm/models/network-monitor-repair-add-vo.d.ts +6 -0
- package/dist/esm/models/network-monitor-repair-details-dto.d.ts +12 -0
- package/dist/{models/sys-user-msg-notice-add-vo.d.ts → esm/models/notice-add-vo.d.ts} +8 -8
- package/dist/esm/models/notice-add-vo.js +14 -0
- package/dist/esm/models/notice-entity.d.ts +90 -0
- package/dist/esm/models/notice-entity.js +14 -0
- package/dist/esm/models/offline-alert-submit-vo.d.ts +6 -0
- package/dist/esm/models/offline-alert-work-order-details-dto.d.ts +12 -0
- package/dist/esm/models/offline-alert-work-order-vo.d.ts +6 -0
- package/dist/esm/models/open-api-equipment-list-dto.d.ts +110 -0
- package/dist/esm/models/open-api-equipment-list-dto.js +14 -0
- package/dist/esm/models/page-dto-open-api-equipment-list-dto.d.ts +31 -0
- package/dist/esm/models/page-dto-open-api-equipment-list-dto.js +14 -0
- package/dist/esm/models/park-info-dto.d.ts +12 -0
- package/dist/esm/models/period-detail-resp.d.ts +7 -1
- package/dist/esm/models/sys-post.d.ts +6 -0
- package/dist/esm/models/sys-role.d.ts +6 -0
- package/dist/esm/models/sys-user.d.ts +15 -2
- package/dist/esm/models/user-source-enum.d.ts +21 -0
- package/dist/esm/models/user-source-enum.js +22 -0
- package/dist/esm/models/violation-work-order-add-vo.d.ts +6 -0
- package/dist/esm/models/violation-work-order-details-dto.d.ts +12 -0
- package/dist/esm/models/work-order-approval-vo.d.ts +6 -0
- package/dist/esm/models/work-order-detail-dto.d.ts +6 -0
- package/dist/esm/models/work-order-equipment-dto.d.ts +36 -0
- package/dist/esm/models/work-order-equipment-dto.js +14 -0
- package/dist/esm/models/work-order-ext-data.d.ts +7 -0
- package/dist/esm/models/work-order-internal-status-enum.d.ts +2 -0
- package/dist/esm/models/work-order-internal-status-enum.js +3 -1
- package/dist/esm/models/work-order-issue-type-enum.d.ts +2 -1
- package/dist/esm/models/work-order-issue-type-enum.js +3 -2
- package/dist/esm/models/work-order-issue-type-settings-add-or-update-vo.d.ts +44 -0
- package/dist/esm/models/work-order-issue-type-settings-add-or-update-vo.js +14 -0
- package/dist/esm/models/work-order-issue-type-settings-entity.d.ts +68 -0
- package/dist/esm/models/work-order-issue-type-settings-entity.js +14 -0
- package/dist/esm/models/work-order-search-dto.d.ts +13 -1
- package/dist/esm/models/work-order-settings-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-settings-type-enum.js +2 -1
- package/dist/esm/models/work-order-status-enum.d.ts +0 -1
- package/dist/esm/models/work-order-status-enum.js +0 -1
- package/dist/esm/models/work-order-submit-vo.d.ts +7 -0
- package/dist/esm/models/work-order-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-type-enum.js +2 -1
- package/dist/models/disaster-warning-standard-add-or-update-vo.d.ts +1 -1
- package/dist/models/disaster-warning-standard-entity.d.ts +1 -1
- package/dist/models/exploration-work-order-details-dto.d.ts +123 -0
- package/dist/models/exploration-work-order-info.d.ts +111 -0
- package/dist/models/exploration-work-order-info.js +22 -0
- package/dist/models/exploration-work-order-submit-vo.d.ts +36 -0
- package/dist/models/exploration-work-order-type-enum.d.ts +20 -0
- package/dist/models/exploration-work-order-type-enum.js +24 -0
- package/dist/models/index.d.ts +20 -2
- package/dist/models/index.js +20 -2
- package/dist/models/inspection-standard-add-or-update-vo.d.ts +1 -1
- package/dist/models/inspection-standard-dto.d.ts +1 -1
- package/dist/models/inspection-standard-entity.d.ts +1 -1
- package/dist/models/insurance-notice-vo.d.ts +54 -0
- package/dist/models/insurance-notice-vo.js +15 -0
- package/dist/models/insurance-work-order-issue-vo.d.ts +86 -0
- package/dist/models/insurance-work-order-issue-vo.js +22 -0
- package/dist/models/insurance-work-order-vo.d.ts +37 -0
- package/dist/models/insurance-work-order-vo.js +15 -0
- package/dist/models/json-result-exploration-work-order-details-dto.d.ts +62 -0
- package/dist/models/json-result-exploration-work-order-details-dto.js +15 -0
- package/dist/models/json-result-list-work-order-issue-type-settings-entity.d.ts +62 -0
- package/dist/models/json-result-list-work-order-issue-type-settings-entity.js +15 -0
- package/dist/models/json-result-notice-entity.d.ts +62 -0
- package/dist/models/json-result-notice-entity.js +15 -0
- package/dist/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +62 -0
- package/dist/models/json-result-page-dto-open-api-equipment-list-dto.js +15 -0
- package/dist/models/json-result-work-order-issue-type-settings-entity.d.ts +62 -0
- package/dist/models/json-result-work-order-issue-type-settings-entity.js +15 -0
- package/dist/models/login-type-enum.d.ts +2 -0
- package/dist/models/login-type-enum.js +3 -1
- package/dist/models/maintenance-standard-add-or-update-vo.d.ts +1 -1
- package/dist/models/maintenance-standard-dto.d.ts +1 -1
- package/dist/models/maintenance-standard-entity.d.ts +1 -1
- package/dist/models/monitoring-coverage-alert-work-order-details-dto.d.ts +12 -0
- package/dist/models/network-monitor-repair-add-vo.d.ts +6 -0
- package/dist/models/network-monitor-repair-details-dto.d.ts +12 -0
- package/dist/{esm/models/sys-user-msg-notice-add-vo.d.ts → models/notice-add-vo.d.ts} +8 -8
- package/dist/models/notice-add-vo.js +15 -0
- package/dist/models/notice-entity.d.ts +90 -0
- package/dist/models/notice-entity.js +15 -0
- package/dist/models/offline-alert-submit-vo.d.ts +6 -0
- package/dist/models/offline-alert-work-order-details-dto.d.ts +12 -0
- package/dist/models/offline-alert-work-order-vo.d.ts +6 -0
- package/dist/models/open-api-equipment-list-dto.d.ts +110 -0
- package/dist/models/open-api-equipment-list-dto.js +15 -0
- package/dist/models/page-dto-open-api-equipment-list-dto.d.ts +31 -0
- package/dist/models/page-dto-open-api-equipment-list-dto.js +15 -0
- package/dist/models/park-info-dto.d.ts +12 -0
- package/dist/models/period-detail-resp.d.ts +7 -1
- package/dist/models/sys-post.d.ts +6 -0
- package/dist/models/sys-role.d.ts +6 -0
- package/dist/models/sys-user.d.ts +15 -2
- package/dist/models/user-source-enum.d.ts +21 -0
- package/dist/models/user-source-enum.js +25 -0
- package/dist/models/violation-work-order-add-vo.d.ts +6 -0
- package/dist/models/violation-work-order-details-dto.d.ts +12 -0
- package/dist/models/work-order-approval-vo.d.ts +6 -0
- package/dist/models/work-order-detail-dto.d.ts +6 -0
- package/dist/models/work-order-equipment-dto.d.ts +36 -0
- package/dist/models/work-order-equipment-dto.js +15 -0
- package/dist/models/work-order-ext-data.d.ts +7 -0
- package/dist/models/work-order-internal-status-enum.d.ts +2 -0
- package/dist/models/work-order-internal-status-enum.js +3 -1
- package/dist/models/work-order-issue-type-enum.d.ts +2 -1
- package/dist/models/work-order-issue-type-enum.js +3 -2
- package/dist/models/work-order-issue-type-settings-add-or-update-vo.d.ts +44 -0
- package/dist/models/work-order-issue-type-settings-add-or-update-vo.js +15 -0
- package/dist/models/work-order-issue-type-settings-entity.d.ts +68 -0
- package/dist/models/work-order-issue-type-settings-entity.js +15 -0
- package/dist/models/work-order-search-dto.d.ts +13 -1
- package/dist/models/work-order-settings-type-enum.d.ts +1 -0
- package/dist/models/work-order-settings-type-enum.js +2 -1
- package/dist/models/work-order-status-enum.d.ts +0 -1
- package/dist/models/work-order-status-enum.js +0 -1
- package/dist/models/work-order-submit-vo.d.ts +7 -0
- package/dist/models/work-order-type-enum.d.ts +1 -0
- package/dist/models/work-order-type-enum.js +2 -1
- package/models/disaster-warning-standard-add-or-update-vo.ts +1 -1
- package/models/disaster-warning-standard-entity.ts +1 -1
- package/models/exploration-work-order-details-dto.ts +149 -0
- package/models/exploration-work-order-info.ts +124 -0
- package/models/exploration-work-order-submit-vo.ts +42 -0
- package/models/exploration-work-order-type-enum.ts +30 -0
- package/models/index.ts +20 -2
- package/models/inspection-standard-add-or-update-vo.ts +1 -1
- package/models/inspection-standard-dto.ts +1 -1
- package/models/inspection-standard-entity.ts +1 -1
- package/models/insurance-notice-vo.ts +60 -0
- package/models/insurance-work-order-issue-vo.ts +97 -0
- package/models/insurance-work-order-vo.ts +45 -0
- package/models/json-result-exploration-work-order-details-dto.ts +72 -0
- package/models/json-result-list-work-order-issue-type-settings-entity.ts +72 -0
- package/models/json-result-notice-entity.ts +72 -0
- package/models/json-result-page-dto-open-api-equipment-list-dto.ts +72 -0
- package/models/json-result-work-order-issue-type-settings-entity.ts +72 -0
- package/models/login-type-enum.ts +3 -1
- package/models/maintenance-standard-add-or-update-vo.ts +1 -1
- package/models/maintenance-standard-dto.ts +1 -1
- package/models/maintenance-standard-entity.ts +1 -1
- package/models/monitoring-coverage-alert-work-order-details-dto.ts +12 -0
- package/models/network-monitor-repair-add-vo.ts +6 -0
- package/models/network-monitor-repair-details-dto.ts +12 -0
- package/models/{sys-user-msg-notice-add-vo.ts → notice-add-vo.ts} +8 -8
- package/models/notice-entity.ts +96 -0
- package/models/offline-alert-submit-vo.ts +6 -0
- package/models/offline-alert-work-order-details-dto.ts +12 -0
- package/models/offline-alert-work-order-vo.ts +6 -0
- package/models/open-api-equipment-list-dto.ts +122 -0
- package/models/page-dto-open-api-equipment-list-dto.ts +39 -0
- package/models/park-info-dto.ts +12 -0
- package/models/period-detail-resp.ts +7 -1
- package/models/sys-post.ts +6 -0
- package/models/sys-role.ts +6 -0
- package/models/sys-user.ts +19 -2
- package/models/user-source-enum.ts +31 -0
- package/models/violation-work-order-add-vo.ts +6 -0
- package/models/violation-work-order-details-dto.ts +12 -0
- package/models/work-order-approval-vo.ts +6 -0
- package/models/work-order-detail-dto.ts +6 -0
- package/models/work-order-equipment-dto.ts +42 -0
- package/models/work-order-ext-data.ts +9 -0
- package/models/work-order-internal-status-enum.ts +3 -1
- package/models/work-order-issue-type-enum.ts +3 -2
- package/models/work-order-issue-type-settings-add-or-update-vo.ts +56 -0
- package/models/work-order-issue-type-settings-entity.ts +80 -0
- package/models/work-order-search-dto.ts +13 -1
- package/models/work-order-settings-type-enum.ts +2 -1
- package/models/work-order-status-enum.ts +0 -1
- package/models/work-order-submit-vo.ts +9 -0
- package/models/work-order-type-enum.ts +2 -1
- package/package.json +1 -1
- package/dist/esm/models/notice-vo.d.ts +0 -86
- package/dist/models/notice-vo.d.ts +0 -86
- package/models/notice-vo.ts +0 -90
- /package/dist/esm/models/{notice-vo.js → exploration-work-order-details-dto.js} +0 -0
- /package/dist/esm/models/{sys-user-msg-notice-add-vo.js → exploration-work-order-submit-vo.js} +0 -0
- /package/dist/models/{notice-vo.js → exploration-work-order-details-dto.js} +0 -0
- /package/dist/models/{sys-user-msg-notice-add-vo.js → exploration-work-order-submit-vo.js} +0 -0
package/dist/api.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from './apis/device-api';
|
|
|
19
19
|
export * from './apis/disaster-warning-standard-api';
|
|
20
20
|
export * from './apis/equipment-api';
|
|
21
21
|
export * from './apis/excel-language-controller-api';
|
|
22
|
+
export * from './apis/hwork-api';
|
|
22
23
|
export * from './apis/inspection-standard-api';
|
|
23
24
|
export * from './apis/internal-api';
|
|
24
25
|
export * from './apis/jwt-api';
|
package/dist/api.js
CHANGED
|
@@ -37,6 +37,7 @@ __exportStar(require("./apis/device-api"), exports);
|
|
|
37
37
|
__exportStar(require("./apis/disaster-warning-standard-api"), exports);
|
|
38
38
|
__exportStar(require("./apis/equipment-api"), exports);
|
|
39
39
|
__exportStar(require("./apis/excel-language-controller-api"), exports);
|
|
40
|
+
__exportStar(require("./apis/hwork-api"), exports);
|
|
40
41
|
__exportStar(require("./apis/inspection-standard-api"), exports);
|
|
41
42
|
__exportStar(require("./apis/internal-api"), exports);
|
|
42
43
|
__exportStar(require("./apis/jwt-api"), exports);
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { JsonResultSysDept } from '../models';
|
|
16
|
+
import type { LoginTypeEnum } from '../models';
|
|
17
|
+
/**
|
|
18
|
+
* HWorkApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const HWorkApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
25
|
+
* @param {LoginTypeEnum} loginType
|
|
26
|
+
* @param {number} [groupId]
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
initHWorkUser: (loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* HWorkApi - functional programming interface
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export declare const HWorkApiFp: (configuration?: Configuration) => {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
40
|
+
* @param {LoginTypeEnum} loginType
|
|
41
|
+
* @param {number} [groupId]
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
initHWorkUser(loginType: LoginTypeEnum, groupId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSysDept>>;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* HWorkApi - factory interface
|
|
49
|
+
* @export
|
|
50
|
+
*/
|
|
51
|
+
export declare const HWorkApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
55
|
+
* @param {HWorkApiInitHWorkUserRequest} requestParameters Request parameters.
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
initHWorkUser(requestParameters: HWorkApiInitHWorkUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSysDept>;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Request parameters for initHWorkUser operation in HWorkApi.
|
|
63
|
+
* @export
|
|
64
|
+
* @interface HWorkApiInitHWorkUserRequest
|
|
65
|
+
*/
|
|
66
|
+
export interface HWorkApiInitHWorkUserRequest {
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {LoginTypeEnum}
|
|
70
|
+
* @memberof HWorkApiInitHWorkUser
|
|
71
|
+
*/
|
|
72
|
+
readonly loginType: LoginTypeEnum;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof HWorkApiInitHWorkUser
|
|
77
|
+
*/
|
|
78
|
+
readonly groupId?: number;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* HWorkApi - object-oriented interface
|
|
82
|
+
* @export
|
|
83
|
+
* @class HWorkApi
|
|
84
|
+
* @extends {BaseAPI}
|
|
85
|
+
*/
|
|
86
|
+
export declare class HWorkApi extends BaseAPI {
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
90
|
+
* @param {HWorkApiInitHWorkUserRequest} requestParameters Request parameters.
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
* @memberof HWorkApi
|
|
94
|
+
*/
|
|
95
|
+
initHWorkUser(requestParameters: HWorkApiInitHWorkUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultSysDept, any>>;
|
|
96
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OpenAPI definition
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.HWorkApi = exports.HWorkApiFactory = exports.HWorkApiFp = exports.HWorkApiAxiosParamCreator = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("../common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("../base");
|
|
32
|
+
/**
|
|
33
|
+
* HWorkApi - axios parameter creator
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
const HWorkApiAxiosParamCreator = function (configuration) {
|
|
37
|
+
return {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
41
|
+
* @param {LoginTypeEnum} loginType
|
|
42
|
+
* @param {number} [groupId]
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
initHWorkUser: (loginType_1, groupId_1, ...args_1) => __awaiter(this, [loginType_1, groupId_1, ...args_1], void 0, function* (loginType, groupId, options = {}) {
|
|
47
|
+
// verify required parameter 'loginType' is not null or undefined
|
|
48
|
+
(0, common_1.assertParamExists)('initHWorkUser', 'loginType', loginType);
|
|
49
|
+
const localVarPath = `/haier/hwork/initHWorkUser`;
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
52
|
+
let baseOptions;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
}
|
|
56
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
57
|
+
const localVarHeaderParameter = {};
|
|
58
|
+
const localVarQueryParameter = {};
|
|
59
|
+
// authentication tokenScheme required
|
|
60
|
+
// http bearer authentication required
|
|
61
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
62
|
+
if (groupId !== undefined) {
|
|
63
|
+
localVarQueryParameter['groupId'] = groupId;
|
|
64
|
+
}
|
|
65
|
+
if (loginType !== undefined) {
|
|
66
|
+
localVarQueryParameter['loginType'] = loginType;
|
|
67
|
+
}
|
|
68
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
69
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
71
|
+
return {
|
|
72
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
73
|
+
options: localVarRequestOptions,
|
|
74
|
+
};
|
|
75
|
+
}),
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
exports.HWorkApiAxiosParamCreator = HWorkApiAxiosParamCreator;
|
|
79
|
+
/**
|
|
80
|
+
* HWorkApi - functional programming interface
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
const HWorkApiFp = function (configuration) {
|
|
84
|
+
const localVarAxiosParamCreator = (0, exports.HWorkApiAxiosParamCreator)(configuration);
|
|
85
|
+
return {
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
89
|
+
* @param {LoginTypeEnum} loginType
|
|
90
|
+
* @param {number} [groupId]
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
initHWorkUser(loginType, groupId, options) {
|
|
95
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
96
|
+
var _a, _b, _c;
|
|
97
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.initHWorkUser(loginType, groupId, options);
|
|
98
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
99
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['HWorkApi.initHWorkUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
100
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
101
|
+
});
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
exports.HWorkApiFp = HWorkApiFp;
|
|
106
|
+
/**
|
|
107
|
+
* HWorkApi - factory interface
|
|
108
|
+
* @export
|
|
109
|
+
*/
|
|
110
|
+
const HWorkApiFactory = function (configuration, basePath, axios) {
|
|
111
|
+
const localVarFp = (0, exports.HWorkApiFp)(configuration);
|
|
112
|
+
return {
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
116
|
+
* @param {HWorkApiInitHWorkUserRequest} requestParameters Request parameters.
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
initHWorkUser(requestParameters, options) {
|
|
121
|
+
return localVarFp.initHWorkUser(requestParameters.loginType, requestParameters.groupId, options).then((request) => request(axios, basePath));
|
|
122
|
+
},
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
exports.HWorkApiFactory = HWorkApiFactory;
|
|
126
|
+
/**
|
|
127
|
+
* HWorkApi - object-oriented interface
|
|
128
|
+
* @export
|
|
129
|
+
* @class HWorkApi
|
|
130
|
+
* @extends {BaseAPI}
|
|
131
|
+
*/
|
|
132
|
+
class HWorkApi extends base_1.BaseAPI {
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @summary 初始化 HWork 用户并获取确认园区 ID
|
|
136
|
+
* @param {HWorkApiInitHWorkUserRequest} requestParameters Request parameters.
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
* @memberof HWorkApi
|
|
140
|
+
*/
|
|
141
|
+
initHWorkUser(requestParameters, options) {
|
|
142
|
+
return (0, exports.HWorkApiFp)(this.configuration).initHWorkUser(requestParameters.loginType, requestParameters.groupId, options).then((request) => request(this.axios, this.basePath));
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
exports.HWorkApi = HWorkApi;
|
|
@@ -17,7 +17,6 @@ import type { JsonResultPageDtoSysUserMsgDTO } from '../models';
|
|
|
17
17
|
import type { JsonResultSysUserMsgDTO } from '../models';
|
|
18
18
|
import type { JsonResultVoid } from '../models';
|
|
19
19
|
import type { MessagePushLogSearchListBO } from '../models';
|
|
20
|
-
import type { SysUserMsgNoticeAddVO } from '../models';
|
|
21
20
|
import type { SystemUserMsgTypeEnum } from '../models';
|
|
22
21
|
/**
|
|
23
22
|
* MessageApi - axios parameter creator
|
|
@@ -32,14 +31,6 @@ export declare const MessageApiAxiosParamCreator: (configuration?: Configuration
|
|
|
32
31
|
* @throws {RequiredError}
|
|
33
32
|
*/
|
|
34
33
|
export3: (bo: MessagePushLogSearchListBO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @summary 撤回公告
|
|
38
|
-
* @param {number} noticeId
|
|
39
|
-
* @param {*} [options] Override http request option.
|
|
40
|
-
* @throws {RequiredError}
|
|
41
|
-
*/
|
|
42
|
-
noticeRecall: (noticeId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
34
|
/**
|
|
44
35
|
*
|
|
45
36
|
* @summary 查询详情
|
|
@@ -56,14 +47,6 @@ export declare const MessageApiAxiosParamCreator: (configuration?: Configuration
|
|
|
56
47
|
* @throws {RequiredError}
|
|
57
48
|
*/
|
|
58
49
|
selectList1: (bo: MessagePushLogSearchListBO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @summary 添加公告
|
|
62
|
-
* @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
|
|
63
|
-
* @param {*} [options] Override http request option.
|
|
64
|
-
* @throws {RequiredError}
|
|
65
|
-
*/
|
|
66
|
-
systemAddNotice: (sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
50
|
/**
|
|
68
51
|
*
|
|
69
52
|
* @summary 查询用户系统消息列表
|
|
@@ -101,14 +84,6 @@ export declare const MessageApiFp: (configuration?: Configuration) => {
|
|
|
101
84
|
* @throws {RequiredError}
|
|
102
85
|
*/
|
|
103
86
|
export3(bo: MessagePushLogSearchListBO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @summary 撤回公告
|
|
107
|
-
* @param {number} noticeId
|
|
108
|
-
* @param {*} [options] Override http request option.
|
|
109
|
-
* @throws {RequiredError}
|
|
110
|
-
*/
|
|
111
|
-
noticeRecall(noticeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
112
87
|
/**
|
|
113
88
|
*
|
|
114
89
|
* @summary 查询详情
|
|
@@ -125,14 +100,6 @@ export declare const MessageApiFp: (configuration?: Configuration) => {
|
|
|
125
100
|
* @throws {RequiredError}
|
|
126
101
|
*/
|
|
127
102
|
selectList1(bo: MessagePushLogSearchListBO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
128
|
-
/**
|
|
129
|
-
*
|
|
130
|
-
* @summary 添加公告
|
|
131
|
-
* @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
|
|
132
|
-
* @param {*} [options] Override http request option.
|
|
133
|
-
* @throws {RequiredError}
|
|
134
|
-
*/
|
|
135
|
-
systemAddNotice(sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
136
103
|
/**
|
|
137
104
|
*
|
|
138
105
|
* @summary 查询用户系统消息列表
|
|
@@ -170,14 +137,6 @@ export declare const MessageApiFactory: (configuration?: Configuration, basePath
|
|
|
170
137
|
* @throws {RequiredError}
|
|
171
138
|
*/
|
|
172
139
|
export3(requestParameters: MessageApiExport3Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
173
|
-
/**
|
|
174
|
-
*
|
|
175
|
-
* @summary 撤回公告
|
|
176
|
-
* @param {MessageApiNoticeRecallRequest} requestParameters Request parameters.
|
|
177
|
-
* @param {*} [options] Override http request option.
|
|
178
|
-
* @throws {RequiredError}
|
|
179
|
-
*/
|
|
180
|
-
noticeRecall(requestParameters: MessageApiNoticeRecallRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
181
140
|
/**
|
|
182
141
|
*
|
|
183
142
|
* @summary 查询详情
|
|
@@ -194,14 +153,6 @@ export declare const MessageApiFactory: (configuration?: Configuration, basePath
|
|
|
194
153
|
* @throws {RequiredError}
|
|
195
154
|
*/
|
|
196
155
|
selectList1(requestParameters: MessageApiSelectList1Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
197
|
-
/**
|
|
198
|
-
*
|
|
199
|
-
* @summary 添加公告
|
|
200
|
-
* @param {MessageApiSystemAddNoticeRequest} requestParameters Request parameters.
|
|
201
|
-
* @param {*} [options] Override http request option.
|
|
202
|
-
* @throws {RequiredError}
|
|
203
|
-
*/
|
|
204
|
-
systemAddNotice(requestParameters: MessageApiSystemAddNoticeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
205
156
|
/**
|
|
206
157
|
*
|
|
207
158
|
* @summary 查询用户系统消息列表
|
|
@@ -232,19 +183,6 @@ export interface MessageApiExport3Request {
|
|
|
232
183
|
*/
|
|
233
184
|
readonly bo: MessagePushLogSearchListBO;
|
|
234
185
|
}
|
|
235
|
-
/**
|
|
236
|
-
* Request parameters for noticeRecall operation in MessageApi.
|
|
237
|
-
* @export
|
|
238
|
-
* @interface MessageApiNoticeRecallRequest
|
|
239
|
-
*/
|
|
240
|
-
export interface MessageApiNoticeRecallRequest {
|
|
241
|
-
/**
|
|
242
|
-
*
|
|
243
|
-
* @type {number}
|
|
244
|
-
* @memberof MessageApiNoticeRecall
|
|
245
|
-
*/
|
|
246
|
-
readonly noticeId: number;
|
|
247
|
-
}
|
|
248
186
|
/**
|
|
249
187
|
* Request parameters for selectDetails operation in MessageApi.
|
|
250
188
|
* @export
|
|
@@ -271,19 +209,6 @@ export interface MessageApiSelectList1Request {
|
|
|
271
209
|
*/
|
|
272
210
|
readonly bo: MessagePushLogSearchListBO;
|
|
273
211
|
}
|
|
274
|
-
/**
|
|
275
|
-
* Request parameters for systemAddNotice operation in MessageApi.
|
|
276
|
-
* @export
|
|
277
|
-
* @interface MessageApiSystemAddNoticeRequest
|
|
278
|
-
*/
|
|
279
|
-
export interface MessageApiSystemAddNoticeRequest {
|
|
280
|
-
/**
|
|
281
|
-
*
|
|
282
|
-
* @type {SysUserMsgNoticeAddVO}
|
|
283
|
-
* @memberof MessageApiSystemAddNotice
|
|
284
|
-
*/
|
|
285
|
-
readonly sysUserMsgNoticeAddVO: SysUserMsgNoticeAddVO;
|
|
286
|
-
}
|
|
287
212
|
/**
|
|
288
213
|
* Request parameters for systemSelectList operation in MessageApi.
|
|
289
214
|
* @export
|
|
@@ -368,15 +293,6 @@ export declare class MessageApi extends BaseAPI {
|
|
|
368
293
|
* @memberof MessageApi
|
|
369
294
|
*/
|
|
370
295
|
export3(requestParameters: MessageApiExport3Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
371
|
-
/**
|
|
372
|
-
*
|
|
373
|
-
* @summary 撤回公告
|
|
374
|
-
* @param {MessageApiNoticeRecallRequest} requestParameters Request parameters.
|
|
375
|
-
* @param {*} [options] Override http request option.
|
|
376
|
-
* @throws {RequiredError}
|
|
377
|
-
* @memberof MessageApi
|
|
378
|
-
*/
|
|
379
|
-
noticeRecall(requestParameters: MessageApiNoticeRecallRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
380
296
|
/**
|
|
381
297
|
*
|
|
382
298
|
* @summary 查询详情
|
|
@@ -395,15 +311,6 @@ export declare class MessageApi extends BaseAPI {
|
|
|
395
311
|
* @memberof MessageApi
|
|
396
312
|
*/
|
|
397
313
|
selectList1(requestParameters: MessageApiSelectList1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
|
|
398
|
-
/**
|
|
399
|
-
*
|
|
400
|
-
* @summary 添加公告
|
|
401
|
-
* @param {MessageApiSystemAddNoticeRequest} requestParameters Request parameters.
|
|
402
|
-
* @param {*} [options] Override http request option.
|
|
403
|
-
* @throws {RequiredError}
|
|
404
|
-
* @memberof MessageApi
|
|
405
|
-
*/
|
|
406
|
-
systemAddNotice(requestParameters: MessageApiSystemAddNoticeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
407
314
|
/**
|
|
408
315
|
*
|
|
409
316
|
* @summary 查询用户系统消息列表
|
package/dist/apis/message-api.js
CHANGED
|
@@ -71,38 +71,6 @@ const MessageApiAxiosParamCreator = function (configuration) {
|
|
|
71
71
|
options: localVarRequestOptions,
|
|
72
72
|
};
|
|
73
73
|
}),
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @summary 撤回公告
|
|
77
|
-
* @param {number} noticeId
|
|
78
|
-
* @param {*} [options] Override http request option.
|
|
79
|
-
* @throws {RequiredError}
|
|
80
|
-
*/
|
|
81
|
-
noticeRecall: (noticeId_1, ...args_1) => __awaiter(this, [noticeId_1, ...args_1], void 0, function* (noticeId, options = {}) {
|
|
82
|
-
// verify required parameter 'noticeId' is not null or undefined
|
|
83
|
-
(0, common_1.assertParamExists)('noticeRecall', 'noticeId', noticeId);
|
|
84
|
-
const localVarPath = `/system/user/msg/noticeRecall/{noticeId}`
|
|
85
|
-
.replace(`{${"noticeId"}}`, encodeURIComponent(String(noticeId)));
|
|
86
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
87
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
88
|
-
let baseOptions;
|
|
89
|
-
if (configuration) {
|
|
90
|
-
baseOptions = configuration.baseOptions;
|
|
91
|
-
}
|
|
92
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
93
|
-
const localVarHeaderParameter = {};
|
|
94
|
-
const localVarQueryParameter = {};
|
|
95
|
-
// authentication tokenScheme required
|
|
96
|
-
// http bearer authentication required
|
|
97
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
98
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
99
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
101
|
-
return {
|
|
102
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
103
|
-
options: localVarRequestOptions,
|
|
104
|
-
};
|
|
105
|
-
}),
|
|
106
74
|
/**
|
|
107
75
|
*
|
|
108
76
|
* @summary 查询详情
|
|
@@ -173,39 +141,6 @@ const MessageApiAxiosParamCreator = function (configuration) {
|
|
|
173
141
|
options: localVarRequestOptions,
|
|
174
142
|
};
|
|
175
143
|
}),
|
|
176
|
-
/**
|
|
177
|
-
*
|
|
178
|
-
* @summary 添加公告
|
|
179
|
-
* @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
|
|
180
|
-
* @param {*} [options] Override http request option.
|
|
181
|
-
* @throws {RequiredError}
|
|
182
|
-
*/
|
|
183
|
-
systemAddNotice: (sysUserMsgNoticeAddVO_1, ...args_1) => __awaiter(this, [sysUserMsgNoticeAddVO_1, ...args_1], void 0, function* (sysUserMsgNoticeAddVO, options = {}) {
|
|
184
|
-
// verify required parameter 'sysUserMsgNoticeAddVO' is not null or undefined
|
|
185
|
-
(0, common_1.assertParamExists)('systemAddNotice', 'sysUserMsgNoticeAddVO', sysUserMsgNoticeAddVO);
|
|
186
|
-
const localVarPath = `/system/user/msg/addNotice`;
|
|
187
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
188
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
189
|
-
let baseOptions;
|
|
190
|
-
if (configuration) {
|
|
191
|
-
baseOptions = configuration.baseOptions;
|
|
192
|
-
}
|
|
193
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
194
|
-
const localVarHeaderParameter = {};
|
|
195
|
-
const localVarQueryParameter = {};
|
|
196
|
-
// authentication tokenScheme required
|
|
197
|
-
// http bearer authentication required
|
|
198
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
199
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
200
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
201
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
202
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
203
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sysUserMsgNoticeAddVO, localVarRequestOptions, configuration);
|
|
204
|
-
return {
|
|
205
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
206
|
-
options: localVarRequestOptions,
|
|
207
|
-
};
|
|
208
|
-
}),
|
|
209
144
|
/**
|
|
210
145
|
*
|
|
211
146
|
* @summary 查询用户系统消息列表
|
|
@@ -332,22 +267,6 @@ const MessageApiFp = function (configuration) {
|
|
|
332
267
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
333
268
|
});
|
|
334
269
|
},
|
|
335
|
-
/**
|
|
336
|
-
*
|
|
337
|
-
* @summary 撤回公告
|
|
338
|
-
* @param {number} noticeId
|
|
339
|
-
* @param {*} [options] Override http request option.
|
|
340
|
-
* @throws {RequiredError}
|
|
341
|
-
*/
|
|
342
|
-
noticeRecall(noticeId, options) {
|
|
343
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
344
|
-
var _a, _b, _c;
|
|
345
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeRecall(noticeId, options);
|
|
346
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
347
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MessageApi.noticeRecall']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
348
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
349
|
-
});
|
|
350
|
-
},
|
|
351
270
|
/**
|
|
352
271
|
*
|
|
353
272
|
* @summary 查询详情
|
|
@@ -380,22 +299,6 @@ const MessageApiFp = function (configuration) {
|
|
|
380
299
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
381
300
|
});
|
|
382
301
|
},
|
|
383
|
-
/**
|
|
384
|
-
*
|
|
385
|
-
* @summary 添加公告
|
|
386
|
-
* @param {SysUserMsgNoticeAddVO} sysUserMsgNoticeAddVO
|
|
387
|
-
* @param {*} [options] Override http request option.
|
|
388
|
-
* @throws {RequiredError}
|
|
389
|
-
*/
|
|
390
|
-
systemAddNotice(sysUserMsgNoticeAddVO, options) {
|
|
391
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
392
|
-
var _a, _b, _c;
|
|
393
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.systemAddNotice(sysUserMsgNoticeAddVO, options);
|
|
394
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
395
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MessageApi.systemAddNotice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
396
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
397
|
-
});
|
|
398
|
-
},
|
|
399
302
|
/**
|
|
400
303
|
*
|
|
401
304
|
* @summary 查询用户系统消息列表
|
|
@@ -455,16 +358,6 @@ const MessageApiFactory = function (configuration, basePath, axios) {
|
|
|
455
358
|
export3(requestParameters, options) {
|
|
456
359
|
return localVarFp.export3(requestParameters.bo, options).then((request) => request(axios, basePath));
|
|
457
360
|
},
|
|
458
|
-
/**
|
|
459
|
-
*
|
|
460
|
-
* @summary 撤回公告
|
|
461
|
-
* @param {MessageApiNoticeRecallRequest} requestParameters Request parameters.
|
|
462
|
-
* @param {*} [options] Override http request option.
|
|
463
|
-
* @throws {RequiredError}
|
|
464
|
-
*/
|
|
465
|
-
noticeRecall(requestParameters, options) {
|
|
466
|
-
return localVarFp.noticeRecall(requestParameters.noticeId, options).then((request) => request(axios, basePath));
|
|
467
|
-
},
|
|
468
361
|
/**
|
|
469
362
|
*
|
|
470
363
|
* @summary 查询详情
|
|
@@ -485,16 +378,6 @@ const MessageApiFactory = function (configuration, basePath, axios) {
|
|
|
485
378
|
selectList1(requestParameters, options) {
|
|
486
379
|
return localVarFp.selectList1(requestParameters.bo, options).then((request) => request(axios, basePath));
|
|
487
380
|
},
|
|
488
|
-
/**
|
|
489
|
-
*
|
|
490
|
-
* @summary 添加公告
|
|
491
|
-
* @param {MessageApiSystemAddNoticeRequest} requestParameters Request parameters.
|
|
492
|
-
* @param {*} [options] Override http request option.
|
|
493
|
-
* @throws {RequiredError}
|
|
494
|
-
*/
|
|
495
|
-
systemAddNotice(requestParameters, options) {
|
|
496
|
-
return localVarFp.systemAddNotice(requestParameters.sysUserMsgNoticeAddVO, options).then((request) => request(axios, basePath));
|
|
497
|
-
},
|
|
498
381
|
/**
|
|
499
382
|
*
|
|
500
383
|
* @summary 查询用户系统消息列表
|
|
@@ -536,17 +419,6 @@ class MessageApi extends base_1.BaseAPI {
|
|
|
536
419
|
export3(requestParameters, options) {
|
|
537
420
|
return (0, exports.MessageApiFp)(this.configuration).export3(requestParameters.bo, options).then((request) => request(this.axios, this.basePath));
|
|
538
421
|
}
|
|
539
|
-
/**
|
|
540
|
-
*
|
|
541
|
-
* @summary 撤回公告
|
|
542
|
-
* @param {MessageApiNoticeRecallRequest} requestParameters Request parameters.
|
|
543
|
-
* @param {*} [options] Override http request option.
|
|
544
|
-
* @throws {RequiredError}
|
|
545
|
-
* @memberof MessageApi
|
|
546
|
-
*/
|
|
547
|
-
noticeRecall(requestParameters, options) {
|
|
548
|
-
return (0, exports.MessageApiFp)(this.configuration).noticeRecall(requestParameters.noticeId, options).then((request) => request(this.axios, this.basePath));
|
|
549
|
-
}
|
|
550
422
|
/**
|
|
551
423
|
*
|
|
552
424
|
* @summary 查询详情
|
|
@@ -569,17 +441,6 @@ class MessageApi extends base_1.BaseAPI {
|
|
|
569
441
|
selectList1(requestParameters, options) {
|
|
570
442
|
return (0, exports.MessageApiFp)(this.configuration).selectList1(requestParameters.bo, options).then((request) => request(this.axios, this.basePath));
|
|
571
443
|
}
|
|
572
|
-
/**
|
|
573
|
-
*
|
|
574
|
-
* @summary 添加公告
|
|
575
|
-
* @param {MessageApiSystemAddNoticeRequest} requestParameters Request parameters.
|
|
576
|
-
* @param {*} [options] Override http request option.
|
|
577
|
-
* @throws {RequiredError}
|
|
578
|
-
* @memberof MessageApi
|
|
579
|
-
*/
|
|
580
|
-
systemAddNotice(requestParameters, options) {
|
|
581
|
-
return (0, exports.MessageApiFp)(this.configuration).systemAddNotice(requestParameters.sysUserMsgNoticeAddVO, options).then((request) => request(this.axios, this.basePath));
|
|
582
|
-
}
|
|
583
444
|
/**
|
|
584
445
|
*
|
|
585
446
|
* @summary 查询用户系统消息列表
|