@gizone/rrs-client 3.11.12-alpha.22 → 3.11.12-alpha.5
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 +14 -26
- package/api.ts +1 -2
- package/apis/access-api.ts +31 -31
- package/apis/app-auth-api.ts +13 -13
- package/apis/auth-api.ts +13 -13
- package/apis/calendar-api.ts +209 -231
- package/apis/common-api.ts +0 -192
- package/apis/{maintenance-standard-api.ts → inspection-api.ts} +692 -289
- package/apis/message-api.ts +223 -201
- package/apis/setting-api.ts +243 -596
- package/apis/space-api.ts +329 -0
- package/apis/work-order-api.ts +214 -347
- package/dist/api.d.ts +1 -2
- package/dist/api.js +1 -2
- package/dist/apis/access-api.d.ts +21 -21
- package/dist/apis/access-api.js +22 -22
- package/dist/apis/app-auth-api.d.ts +6 -6
- package/dist/apis/app-auth-api.js +11 -11
- package/dist/apis/auth-api.d.ts +6 -6
- package/dist/apis/auth-api.js +11 -11
- package/dist/apis/calendar-api.d.ts +123 -131
- package/dist/apis/calendar-api.js +164 -177
- package/dist/apis/common-api.d.ts +0 -102
- package/dist/apis/common-api.js +0 -144
- package/dist/apis/inspection-api.d.ts +846 -0
- package/dist/apis/{maintenance-standard-api.js → inspection-api.js} +485 -226
- package/dist/apis/message-api.d.ts +125 -117
- package/dist/apis/message-api.js +171 -132
- package/dist/apis/setting-api.d.ts +144 -334
- package/dist/apis/setting-api.js +187 -433
- package/dist/apis/space-api.d.ts +159 -0
- package/dist/apis/space-api.js +272 -0
- package/dist/apis/work-order-api.d.ts +123 -197
- package/dist/apis/work-order-api.js +164 -245
- package/dist/esm/api.d.ts +1 -2
- package/dist/esm/api.js +1 -2
- package/dist/esm/apis/access-api.d.ts +21 -21
- package/dist/esm/apis/access-api.js +22 -22
- package/dist/esm/apis/app-auth-api.d.ts +6 -6
- package/dist/esm/apis/app-auth-api.js +11 -11
- package/dist/esm/apis/auth-api.d.ts +6 -6
- package/dist/esm/apis/auth-api.js +11 -11
- package/dist/esm/apis/calendar-api.d.ts +123 -131
- package/dist/esm/apis/calendar-api.js +164 -177
- package/dist/esm/apis/common-api.d.ts +0 -102
- package/dist/esm/apis/common-api.js +0 -144
- package/dist/esm/apis/inspection-api.d.ts +846 -0
- package/dist/esm/apis/{maintenance-standard-api.js → inspection-api.js} +480 -221
- package/dist/esm/apis/message-api.d.ts +125 -117
- package/dist/esm/apis/message-api.js +171 -132
- package/dist/esm/apis/setting-api.d.ts +144 -334
- package/dist/esm/apis/setting-api.js +187 -433
- package/dist/esm/apis/space-api.d.ts +159 -0
- package/dist/esm/apis/space-api.js +272 -0
- package/dist/esm/apis/work-order-api.d.ts +123 -197
- package/dist/esm/apis/work-order-api.js +164 -245
- package/dist/esm/models/{excel-import-result-dtocalendar-export-dto.d.ts → calendar-add-redis-list-vo.d.ts} +21 -9
- package/dist/esm/models/file-dto.d.ts +3 -3
- package/dist/esm/models/get-user-wx200-response.d.ts +18 -18
- package/dist/esm/models/index.d.ts +13 -24
- package/dist/esm/models/index.js +13 -24
- package/dist/esm/models/inspection-item-bo.d.ts +10 -4
- package/dist/esm/models/inspection-point-item.d.ts +6 -18
- package/dist/esm/models/ipage-access-vo.d.ts +3 -3
- package/dist/esm/models/{json-result-sys-user-msg-dto.d.ts → json-result-calendar-add-redis-list-vo.d.ts} +11 -11
- package/dist/esm/models/{json-result-page-dto-sys-user-msg-dto.d.ts → json-result-page-dto-sys-user-msg-list-dto.d.ts} +11 -11
- package/dist/esm/models/json-result-space-edit-before-and-after-dto.d.ts +56 -0
- package/dist/{models/json-result-park-info-dto.d.ts → esm/models/json-result-sys-user-msg-do.d.ts} +11 -11
- package/dist/esm/models/maintenance-history-dto.d.ts +6 -0
- package/dist/esm/models/maintenance-history-dto.js +6 -0
- package/dist/esm/models/{page-dto-sys-user-msg-dto.d.ts → page-dto-sys-user-msg-list-dto.d.ts} +7 -7
- package/dist/esm/models/period-detail-resp.d.ts +6 -0
- package/dist/esm/models/period-detail-resp.js +6 -0
- package/dist/esm/models/plan-add-vo.d.ts +1 -1
- package/dist/esm/models/plan-edit-vo.d.ts +1 -1
- package/dist/esm/models/plan-item-add-vo.d.ts +1 -1
- package/dist/esm/models/plan-item-edit-vo.d.ts +1 -1
- package/dist/esm/models/space-edit-before-and-after-dto.d.ts +31 -0
- package/dist/esm/models/space-edit-excel-dto.d.ts +78 -0
- package/dist/esm/models/sys-dept.d.ts +0 -6
- package/dist/esm/models/sys-user-msg-do.d.ts +90 -0
- package/dist/{models/sys-user-msg-dto.d.ts → esm/models/sys-user-msg-list-dto.d.ts} +28 -30
- package/dist/esm/models/sys-user-msg-search-list-vo.d.ts +54 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/esm/models/work-order-add-vo.d.ts +4 -23
- package/dist/esm/models/{system-user-msg-type-enum.d.ts → work-order-check-before-acceptance-adopt-vo.d.ts} +15 -6
- package/dist/{models/work-order-dept-settings-add-or-update-vo.d.ts → esm/models/work-order-check-before-acceptance-no-vo.d.ts} +12 -12
- package/dist/esm/models/work-order-detail-dto.d.ts +6 -19
- package/dist/esm/models/work-order-detail-dto.js +6 -0
- package/dist/esm/models/work-order-inspection-detail-dto.d.ts +13 -1
- package/dist/esm/models/work-order-inspection-item-req.d.ts +3 -3
- package/dist/esm/models/work-order-search-dto.d.ts +6 -0
- package/dist/esm/models/work-order-search-dto.js +6 -0
- package/dist/esm/models/work-order-type-enum.d.ts +1 -1
- package/dist/esm/models/work-order-type-enum.js +1 -1
- package/dist/models/{excel-import-result-dtocalendar-export-dto.d.ts → calendar-add-redis-list-vo.d.ts} +21 -9
- package/dist/models/file-dto.d.ts +3 -3
- package/dist/models/get-user-wx200-response.d.ts +18 -18
- package/dist/models/index.d.ts +13 -24
- package/dist/models/index.js +13 -24
- package/dist/models/inspection-item-bo.d.ts +10 -4
- package/dist/models/inspection-point-item.d.ts +6 -18
- package/dist/models/ipage-access-vo.d.ts +3 -3
- package/dist/models/{json-result-page-dto-sys-user-msg-dto.d.ts → json-result-calendar-add-redis-list-vo.d.ts} +11 -11
- package/dist/models/json-result-page-dto-sys-user-msg-list-dto.d.ts +56 -0
- package/dist/models/json-result-space-edit-before-and-after-dto.d.ts +56 -0
- package/dist/{esm/models/json-result-park-info-dto.d.ts → models/json-result-sys-user-msg-do.d.ts} +11 -11
- package/dist/models/maintenance-history-dto.d.ts +6 -0
- package/dist/models/maintenance-history-dto.js +6 -0
- package/dist/models/{page-dto-sys-user-msg-dto.d.ts → page-dto-sys-user-msg-list-dto.d.ts} +7 -7
- package/dist/models/period-detail-resp.d.ts +6 -0
- package/dist/models/period-detail-resp.js +6 -0
- package/dist/models/plan-add-vo.d.ts +1 -1
- package/dist/models/plan-edit-vo.d.ts +1 -1
- package/dist/models/plan-item-add-vo.d.ts +1 -1
- package/dist/models/plan-item-edit-vo.d.ts +1 -1
- package/dist/models/space-edit-before-and-after-dto.d.ts +31 -0
- package/dist/models/space-edit-excel-dto.d.ts +78 -0
- package/dist/models/sys-dept.d.ts +0 -6
- package/dist/models/sys-user-msg-do.d.ts +90 -0
- package/dist/{esm/models/sys-user-msg-dto.d.ts → models/sys-user-msg-list-dto.d.ts} +28 -30
- package/dist/models/sys-user-msg-search-list-vo.d.ts +54 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/dist/models/work-order-add-vo.d.ts +4 -23
- package/dist/{esm/models/system-user-msg-type-enum.js → models/work-order-check-before-acceptance-adopt-vo.d.ts} +15 -7
- package/dist/{esm/models/work-order-dept-settings-add-or-update-vo.d.ts → models/work-order-check-before-acceptance-no-vo.d.ts} +12 -12
- package/dist/models/work-order-detail-dto.d.ts +6 -19
- package/dist/models/work-order-detail-dto.js +6 -0
- package/dist/models/work-order-inspection-detail-dto.d.ts +13 -1
- package/dist/models/work-order-inspection-item-req.d.ts +3 -3
- package/dist/models/work-order-search-dto.d.ts +6 -0
- package/dist/models/work-order-search-dto.js +6 -0
- package/dist/models/work-order-type-enum.d.ts +1 -1
- package/dist/models/work-order-type-enum.js +1 -1
- package/models/{excel-import-result-dtocalendar-export-dto.ts → calendar-add-redis-list-vo.ts} +21 -9
- package/models/file-dto.ts +3 -3
- package/models/get-user-wx200-response.ts +18 -18
- package/models/index.ts +13 -24
- package/models/inspection-item-bo.ts +10 -4
- package/models/inspection-point-item.ts +6 -18
- package/models/ipage-access-vo.ts +3 -3
- package/models/{json-result-sys-user-msg-dto.ts → json-result-calendar-add-redis-list-vo.ts} +11 -11
- package/models/{json-result-page-dto-sys-user-msg-dto.ts → json-result-page-dto-sys-user-msg-list-dto.ts} +11 -11
- package/models/{json-result-work-order-dept-settings-entity.ts → json-result-space-edit-before-and-after-dto.ts} +11 -11
- package/models/{json-result-park-info-dto.ts → json-result-sys-user-msg-do.ts} +11 -11
- package/models/maintenance-history-dto.ts +6 -0
- package/models/{page-dto-sys-user-msg-dto.ts → page-dto-sys-user-msg-list-dto.ts} +7 -7
- package/models/period-detail-resp.ts +6 -0
- package/models/plan-add-vo.ts +1 -1
- package/models/plan-edit-vo.ts +1 -1
- package/models/plan-item-add-vo.ts +1 -1
- package/models/plan-item-edit-vo.ts +1 -1
- package/models/space-edit-before-and-after-dto.ts +39 -0
- package/models/space-edit-excel-dto.ts +84 -0
- package/models/sys-dept.ts +0 -6
- package/models/sys-user-msg-do.ts +96 -0
- package/models/{sys-user-msg-dto.ts → sys-user-msg-list-dto.ts} +28 -36
- package/models/sys-user-msg-search-list-vo.ts +60 -0
- package/models/sys-user.ts +4 -4
- package/models/work-order-add-vo.ts +4 -25
- package/models/{system-user-msg-type-enum.ts → work-order-check-before-acceptance-adopt-vo.ts} +15 -10
- package/models/{work-order-dept-settings-add-or-update-vo.ts → work-order-check-before-acceptance-no-vo.ts} +12 -12
- package/models/work-order-detail-dto.ts +6 -21
- package/models/work-order-inspection-detail-dto.ts +13 -1
- package/models/work-order-inspection-item-req.ts +3 -3
- package/models/work-order-search-dto.ts +6 -0
- package/models/work-order-type-enum.ts +1 -1
- package/package.json +1 -1
- package/apis/inspection-standard-api.ts +0 -1111
- package/dist/apis/inspection-standard-api.d.ts +0 -574
- package/dist/apis/inspection-standard-api.js +0 -872
- package/dist/apis/maintenance-standard-api.d.ts +0 -614
- package/dist/esm/apis/inspection-standard-api.d.ts +0 -574
- package/dist/esm/apis/inspection-standard-api.js +0 -865
- package/dist/esm/apis/maintenance-standard-api.d.ts +0 -614
- package/dist/esm/models/dept-relation-dto.d.ts +0 -120
- package/dist/esm/models/dept-relation.d.ts +0 -84
- package/dist/esm/models/excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -31
- package/dist/esm/models/excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -31
- package/dist/esm/models/inspection-standard-import-dto.d.ts +0 -108
- package/dist/esm/models/json-result-excel-import-result-dtocalendar-export-dto.d.ts +0 -56
- package/dist/esm/models/json-result-excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -56
- package/dist/esm/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -56
- package/dist/esm/models/json-result-list-work-order-dept-settings-entity.d.ts +0 -56
- package/dist/esm/models/json-result-work-order-dept-settings-entity.d.ts +0 -56
- package/dist/esm/models/json-result-work-order-dept-settings-entity.js +0 -14
- package/dist/esm/models/maintenance-standard-import-dto.d.ts +0 -114
- package/dist/esm/models/maintenance-standard-import-dto.js +0 -14
- package/dist/esm/models/page-dto-sys-user-msg-dto.js +0 -14
- package/dist/esm/models/park-info-dto.d.ts +0 -85
- package/dist/esm/models/park-info-dto.js +0 -14
- package/dist/esm/models/park-info-edit-vo.d.ts +0 -49
- package/dist/esm/models/park-info-edit-vo.js +0 -14
- package/dist/esm/models/sys-user-msg-dto.js +0 -14
- package/dist/esm/models/system-user-msg-source-type-enum.d.ts +0 -23
- package/dist/esm/models/system-user-msg-source-type-enum.js +0 -24
- package/dist/esm/models/work-order-dept-settings-add-or-update-vo.js +0 -14
- package/dist/esm/models/work-order-dept-settings-entity.d.ts +0 -67
- package/dist/esm/models/work-order-dept-settings-entity.js +0 -14
- package/dist/esm/models/work-order-issue-type-enum.d.ts +0 -26
- package/dist/esm/models/work-order-issue-type-enum.js +0 -27
- package/dist/models/dept-relation-dto.d.ts +0 -120
- package/dist/models/dept-relation.d.ts +0 -84
- package/dist/models/excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -31
- package/dist/models/excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -31
- package/dist/models/inspection-standard-import-dto.d.ts +0 -108
- package/dist/models/json-result-excel-import-result-dtocalendar-export-dto.d.ts +0 -56
- package/dist/models/json-result-excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -56
- package/dist/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -56
- package/dist/models/json-result-list-work-order-dept-settings-entity.d.ts +0 -56
- package/dist/models/json-result-sys-user-msg-dto.d.ts +0 -56
- package/dist/models/json-result-work-order-dept-settings-entity.d.ts +0 -56
- package/dist/models/json-result-work-order-dept-settings-entity.js +0 -15
- package/dist/models/maintenance-standard-import-dto.d.ts +0 -114
- package/dist/models/maintenance-standard-import-dto.js +0 -15
- package/dist/models/page-dto-sys-user-msg-dto.js +0 -15
- package/dist/models/park-info-dto.d.ts +0 -85
- package/dist/models/park-info-dto.js +0 -15
- package/dist/models/park-info-edit-vo.d.ts +0 -49
- package/dist/models/park-info-edit-vo.js +0 -15
- package/dist/models/sys-user-msg-dto.js +0 -15
- package/dist/models/system-user-msg-source-type-enum.d.ts +0 -23
- package/dist/models/system-user-msg-source-type-enum.js +0 -27
- package/dist/models/system-user-msg-type-enum.d.ts +0 -21
- package/dist/models/system-user-msg-type-enum.js +0 -25
- package/dist/models/work-order-dept-settings-add-or-update-vo.js +0 -15
- package/dist/models/work-order-dept-settings-entity.d.ts +0 -67
- package/dist/models/work-order-dept-settings-entity.js +0 -15
- package/dist/models/work-order-issue-type-enum.d.ts +0 -26
- package/dist/models/work-order-issue-type-enum.js +0 -30
- package/models/dept-relation-dto.ts +0 -126
- package/models/dept-relation.ts +0 -90
- package/models/excel-import-result-dtoinspection-standard-import-dto.ts +0 -39
- package/models/excel-import-result-dtomaintenance-standard-import-dto.ts +0 -39
- package/models/inspection-standard-import-dto.ts +0 -114
- package/models/json-result-excel-import-result-dtocalendar-export-dto.ts +0 -66
- package/models/json-result-excel-import-result-dtoinspection-standard-import-dto.ts +0 -66
- package/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.ts +0 -66
- package/models/json-result-list-work-order-dept-settings-entity.ts +0 -66
- package/models/maintenance-standard-import-dto.ts +0 -120
- package/models/park-info-dto.ts +0 -93
- package/models/park-info-edit-vo.ts +0 -57
- package/models/system-user-msg-source-type-enum.ts +0 -33
- package/models/work-order-dept-settings-entity.ts +0 -77
- package/models/work-order-issue-type-enum.ts +0 -36
- /package/dist/esm/models/{dept-relation-dto.js → calendar-add-redis-list-vo.js} +0 -0
- /package/dist/esm/models/{dept-relation.js → json-result-calendar-add-redis-list-vo.js} +0 -0
- /package/dist/esm/models/{excel-import-result-dtocalendar-export-dto.js → json-result-page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/esm/models/{excel-import-result-dtoinspection-standard-import-dto.js → json-result-space-edit-before-and-after-dto.js} +0 -0
- /package/dist/esm/models/{excel-import-result-dtomaintenance-standard-import-dto.js → json-result-sys-user-msg-do.js} +0 -0
- /package/dist/esm/models/{inspection-standard-import-dto.js → page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/esm/models/{json-result-excel-import-result-dtocalendar-export-dto.js → space-edit-before-and-after-dto.js} +0 -0
- /package/dist/esm/models/{json-result-excel-import-result-dtoinspection-standard-import-dto.js → space-edit-excel-dto.js} +0 -0
- /package/dist/esm/models/{json-result-excel-import-result-dtomaintenance-standard-import-dto.js → sys-user-msg-do.js} +0 -0
- /package/dist/esm/models/{json-result-list-work-order-dept-settings-entity.js → sys-user-msg-list-dto.js} +0 -0
- /package/dist/esm/models/{json-result-page-dto-sys-user-msg-dto.js → sys-user-msg-search-list-vo.js} +0 -0
- /package/dist/esm/models/{json-result-park-info-dto.js → work-order-check-before-acceptance-adopt-vo.js} +0 -0
- /package/dist/esm/models/{json-result-sys-user-msg-dto.js → work-order-check-before-acceptance-no-vo.js} +0 -0
- /package/dist/models/{dept-relation-dto.js → calendar-add-redis-list-vo.js} +0 -0
- /package/dist/models/{dept-relation.js → json-result-calendar-add-redis-list-vo.js} +0 -0
- /package/dist/models/{excel-import-result-dtocalendar-export-dto.js → json-result-page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/models/{excel-import-result-dtoinspection-standard-import-dto.js → json-result-space-edit-before-and-after-dto.js} +0 -0
- /package/dist/models/{excel-import-result-dtomaintenance-standard-import-dto.js → json-result-sys-user-msg-do.js} +0 -0
- /package/dist/models/{inspection-standard-import-dto.js → page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/models/{json-result-excel-import-result-dtocalendar-export-dto.js → space-edit-before-and-after-dto.js} +0 -0
- /package/dist/models/{json-result-excel-import-result-dtoinspection-standard-import-dto.js → space-edit-excel-dto.js} +0 -0
- /package/dist/models/{json-result-excel-import-result-dtomaintenance-standard-import-dto.js → sys-user-msg-do.js} +0 -0
- /package/dist/models/{json-result-list-work-order-dept-settings-entity.js → sys-user-msg-list-dto.js} +0 -0
- /package/dist/models/{json-result-page-dto-sys-user-msg-dto.js → sys-user-msg-search-list-vo.js} +0 -0
- /package/dist/models/{json-result-park-info-dto.js → work-order-check-before-acceptance-adopt-vo.js} +0 -0
- /package/dist/models/{json-result-sys-user-msg-dto.js → work-order-check-before-acceptance-no-vo.js} +0 -0
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.InspectionApi = exports.InspectionApiFactory = exports.InspectionApiFp = exports.InspectionApiAxiosParamCreator = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -30,10 +30,10 @@ const common_1 = require("../common");
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
const base_1 = require("../base");
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* InspectionApi - axios parameter creator
|
|
34
34
|
* @export
|
|
35
35
|
*/
|
|
36
|
-
const
|
|
36
|
+
const InspectionApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
@@ -101,6 +101,104 @@ const MaintenanceStandardApiAxiosParamCreator = function (configuration) {
|
|
|
101
101
|
options: localVarRequestOptions,
|
|
102
102
|
};
|
|
103
103
|
}),
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @summary 添加巡检标准
|
|
107
|
+
* @param {Array<InspectionStandardAddOrUpdateVO>} inspectionStandardAddOrUpdateVO
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
createInspectionStandard: (inspectionStandardAddOrUpdateVO_1, ...args_1) => __awaiter(this, [inspectionStandardAddOrUpdateVO_1, ...args_1], void 0, function* (inspectionStandardAddOrUpdateVO, options = {}) {
|
|
112
|
+
// verify required parameter 'inspectionStandardAddOrUpdateVO' is not null or undefined
|
|
113
|
+
(0, common_1.assertParamExists)('createInspectionStandard', 'inspectionStandardAddOrUpdateVO', inspectionStandardAddOrUpdateVO);
|
|
114
|
+
const localVarPath = `/gizone/inspectionStandard`;
|
|
115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
|
+
let baseOptions;
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
}
|
|
121
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
122
|
+
const localVarHeaderParameter = {};
|
|
123
|
+
const localVarQueryParameter = {};
|
|
124
|
+
// authentication tokenScheme required
|
|
125
|
+
// http bearer authentication required
|
|
126
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
127
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
128
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
129
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
130
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
131
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inspectionStandardAddOrUpdateVO, localVarRequestOptions, configuration);
|
|
132
|
+
return {
|
|
133
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
134
|
+
options: localVarRequestOptions,
|
|
135
|
+
};
|
|
136
|
+
}),
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @summary 删除巡检标准
|
|
140
|
+
* @param {number} id 巡检标准id
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
deleteInspectionStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
145
|
+
// verify required parameter 'id' is not null or undefined
|
|
146
|
+
(0, common_1.assertParamExists)('deleteInspectionStandard', 'id', id);
|
|
147
|
+
const localVarPath = `/gizone/inspectionStandard/{id}`
|
|
148
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
149
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
150
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
151
|
+
let baseOptions;
|
|
152
|
+
if (configuration) {
|
|
153
|
+
baseOptions = configuration.baseOptions;
|
|
154
|
+
}
|
|
155
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
156
|
+
const localVarHeaderParameter = {};
|
|
157
|
+
const localVarQueryParameter = {};
|
|
158
|
+
// authentication tokenScheme required
|
|
159
|
+
// http bearer authentication required
|
|
160
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
161
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
162
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
163
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
164
|
+
return {
|
|
165
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
166
|
+
options: localVarRequestOptions,
|
|
167
|
+
};
|
|
168
|
+
}),
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @summary 批量删除巡检标准
|
|
172
|
+
* @param {Array<number>} requestBody
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
*/
|
|
176
|
+
deleteInspectionStandards: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
177
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
178
|
+
(0, common_1.assertParamExists)('deleteInspectionStandards', 'requestBody', requestBody);
|
|
179
|
+
const localVarPath = `/gizone/inspectionStandard/delBatch`;
|
|
180
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
181
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
182
|
+
let baseOptions;
|
|
183
|
+
if (configuration) {
|
|
184
|
+
baseOptions = configuration.baseOptions;
|
|
185
|
+
}
|
|
186
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
187
|
+
const localVarHeaderParameter = {};
|
|
188
|
+
const localVarQueryParameter = {};
|
|
189
|
+
// authentication tokenScheme required
|
|
190
|
+
// http bearer authentication required
|
|
191
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
192
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
193
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
194
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
195
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
196
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
197
|
+
return {
|
|
198
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
199
|
+
options: localVarRequestOptions,
|
|
200
|
+
};
|
|
201
|
+
}),
|
|
104
202
|
/**
|
|
105
203
|
*
|
|
106
204
|
* @summary 删除维保标准
|
|
@@ -133,6 +231,38 @@ const MaintenanceStandardApiAxiosParamCreator = function (configuration) {
|
|
|
133
231
|
options: localVarRequestOptions,
|
|
134
232
|
};
|
|
135
233
|
}),
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @summary 巡检标准详情
|
|
237
|
+
* @param {number} id
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @throws {RequiredError}
|
|
240
|
+
*/
|
|
241
|
+
getInspectionStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
242
|
+
// verify required parameter 'id' is not null or undefined
|
|
243
|
+
(0, common_1.assertParamExists)('getInspectionStandard', 'id', id);
|
|
244
|
+
const localVarPath = `/gizone/inspectionStandard/{id}`
|
|
245
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
246
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
247
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
248
|
+
let baseOptions;
|
|
249
|
+
if (configuration) {
|
|
250
|
+
baseOptions = configuration.baseOptions;
|
|
251
|
+
}
|
|
252
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
253
|
+
const localVarHeaderParameter = {};
|
|
254
|
+
const localVarQueryParameter = {};
|
|
255
|
+
// authentication tokenScheme required
|
|
256
|
+
// http bearer authentication required
|
|
257
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
258
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
259
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
260
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
261
|
+
return {
|
|
262
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
263
|
+
options: localVarRequestOptions,
|
|
264
|
+
};
|
|
265
|
+
}),
|
|
136
266
|
/**
|
|
137
267
|
*
|
|
138
268
|
* @summary 维保标准详情
|
|
@@ -165,6 +295,64 @@ const MaintenanceStandardApiAxiosParamCreator = function (configuration) {
|
|
|
165
295
|
options: localVarRequestOptions,
|
|
166
296
|
};
|
|
167
297
|
}),
|
|
298
|
+
/**
|
|
299
|
+
*
|
|
300
|
+
* @summary 巡检标准列表
|
|
301
|
+
* @param {number} parkId 园区id
|
|
302
|
+
* @param {number} pageSize 每页数量
|
|
303
|
+
* @param {number} page 页码
|
|
304
|
+
* @param {string} [searchValue] 内容
|
|
305
|
+
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
306
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
307
|
+
* @param {*} [options] Override http request option.
|
|
308
|
+
* @throws {RequiredError}
|
|
309
|
+
*/
|
|
310
|
+
listInspectionStandard: (parkId_1, pageSize_1, page_1, searchValue_1, category_1, repeats_1, ...args_1) => __awaiter(this, [parkId_1, pageSize_1, page_1, searchValue_1, category_1, repeats_1, ...args_1], void 0, function* (parkId, pageSize, page, searchValue, category, repeats, options = {}) {
|
|
311
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
312
|
+
(0, common_1.assertParamExists)('listInspectionStandard', 'parkId', parkId);
|
|
313
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
314
|
+
(0, common_1.assertParamExists)('listInspectionStandard', 'pageSize', pageSize);
|
|
315
|
+
// verify required parameter 'page' is not null or undefined
|
|
316
|
+
(0, common_1.assertParamExists)('listInspectionStandard', 'page', page);
|
|
317
|
+
const localVarPath = `/gizone/inspectionStandard`;
|
|
318
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
319
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
320
|
+
let baseOptions;
|
|
321
|
+
if (configuration) {
|
|
322
|
+
baseOptions = configuration.baseOptions;
|
|
323
|
+
}
|
|
324
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
325
|
+
const localVarHeaderParameter = {};
|
|
326
|
+
const localVarQueryParameter = {};
|
|
327
|
+
// authentication tokenScheme required
|
|
328
|
+
// http bearer authentication required
|
|
329
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
330
|
+
if (searchValue !== undefined) {
|
|
331
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
332
|
+
}
|
|
333
|
+
if (category !== undefined) {
|
|
334
|
+
localVarQueryParameter['category'] = category;
|
|
335
|
+
}
|
|
336
|
+
if (parkId !== undefined) {
|
|
337
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
338
|
+
}
|
|
339
|
+
if (pageSize !== undefined) {
|
|
340
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
341
|
+
}
|
|
342
|
+
if (page !== undefined) {
|
|
343
|
+
localVarQueryParameter['page'] = page;
|
|
344
|
+
}
|
|
345
|
+
if (repeats !== undefined) {
|
|
346
|
+
localVarQueryParameter['repeats'] = repeats;
|
|
347
|
+
}
|
|
348
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
349
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
350
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
351
|
+
return {
|
|
352
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
353
|
+
options: localVarRequestOptions,
|
|
354
|
+
};
|
|
355
|
+
}),
|
|
168
356
|
/**
|
|
169
357
|
*
|
|
170
358
|
* @summary 维保标准列表
|
|
@@ -293,40 +481,18 @@ const MaintenanceStandardApiAxiosParamCreator = function (configuration) {
|
|
|
293
481
|
}),
|
|
294
482
|
/**
|
|
295
483
|
*
|
|
296
|
-
* @summary
|
|
297
|
-
* @param {
|
|
298
|
-
* @
|
|
299
|
-
*/
|
|
300
|
-
maintenanceStandardBatchImportConfirm: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
301
|
-
const localVarPath = `/gizone/maintenanceStandard/batchImport/confirm`;
|
|
302
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
303
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
304
|
-
let baseOptions;
|
|
305
|
-
if (configuration) {
|
|
306
|
-
baseOptions = configuration.baseOptions;
|
|
307
|
-
}
|
|
308
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
309
|
-
const localVarHeaderParameter = {};
|
|
310
|
-
const localVarQueryParameter = {};
|
|
311
|
-
// authentication tokenScheme required
|
|
312
|
-
// http bearer authentication required
|
|
313
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
314
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
315
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
316
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
317
|
-
return {
|
|
318
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
319
|
-
options: localVarRequestOptions,
|
|
320
|
-
};
|
|
321
|
-
}),
|
|
322
|
-
/**
|
|
323
|
-
*
|
|
324
|
-
* @summary 维保标准导入-预览结果
|
|
484
|
+
* @summary 同步其他园区巡检标准
|
|
485
|
+
* @param {number} parkIdOne
|
|
486
|
+
* @param {number} parkIdTwo
|
|
325
487
|
* @param {*} [options] Override http request option.
|
|
326
488
|
* @throws {RequiredError}
|
|
327
489
|
*/
|
|
328
|
-
|
|
329
|
-
|
|
490
|
+
syncInspectionStandard: (parkIdOne_1, parkIdTwo_1, ...args_1) => __awaiter(this, [parkIdOne_1, parkIdTwo_1, ...args_1], void 0, function* (parkIdOne, parkIdTwo, options = {}) {
|
|
491
|
+
// verify required parameter 'parkIdOne' is not null or undefined
|
|
492
|
+
(0, common_1.assertParamExists)('syncInspectionStandard', 'parkIdOne', parkIdOne);
|
|
493
|
+
// verify required parameter 'parkIdTwo' is not null or undefined
|
|
494
|
+
(0, common_1.assertParamExists)('syncInspectionStandard', 'parkIdTwo', parkIdTwo);
|
|
495
|
+
const localVarPath = `/gizone/inspectionStandard/sync/park/inspectionStandard`;
|
|
330
496
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
331
497
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
332
498
|
let baseOptions;
|
|
@@ -339,34 +505,12 @@ const MaintenanceStandardApiAxiosParamCreator = function (configuration) {
|
|
|
339
505
|
// authentication tokenScheme required
|
|
340
506
|
// http bearer authentication required
|
|
341
507
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
342
|
-
(
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
options: localVarRequestOptions,
|
|
348
|
-
};
|
|
349
|
-
}),
|
|
350
|
-
/**
|
|
351
|
-
*
|
|
352
|
-
* @summary 维保标准导入-下载模板
|
|
353
|
-
* @param {*} [options] Override http request option.
|
|
354
|
-
* @throws {RequiredError}
|
|
355
|
-
*/
|
|
356
|
-
maintenanceStandardBatchImportTemplate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
357
|
-
const localVarPath = `/gizone/maintenanceStandard/batchImport/template`;
|
|
358
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
359
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
360
|
-
let baseOptions;
|
|
361
|
-
if (configuration) {
|
|
362
|
-
baseOptions = configuration.baseOptions;
|
|
508
|
+
if (parkIdOne !== undefined) {
|
|
509
|
+
localVarQueryParameter['parkIdOne'] = parkIdOne;
|
|
510
|
+
}
|
|
511
|
+
if (parkIdTwo !== undefined) {
|
|
512
|
+
localVarQueryParameter['parkIdTwo'] = parkIdTwo;
|
|
363
513
|
}
|
|
364
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
365
|
-
const localVarHeaderParameter = {};
|
|
366
|
-
const localVarQueryParameter = {};
|
|
367
|
-
// authentication tokenScheme required
|
|
368
|
-
// http bearer authentication required
|
|
369
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
370
514
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
371
515
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
372
516
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -377,46 +521,36 @@ const MaintenanceStandardApiAxiosParamCreator = function (configuration) {
|
|
|
377
521
|
}),
|
|
378
522
|
/**
|
|
379
523
|
*
|
|
380
|
-
* @summary
|
|
381
|
-
* @param {number}
|
|
382
|
-
* @param {
|
|
383
|
-
* @param {string} [language] 语言
|
|
524
|
+
* @summary 修改巡检标准
|
|
525
|
+
* @param {number} id
|
|
526
|
+
* @param {InspectionStandardAddOrUpdateVO} inspectionStandardAddOrUpdateVO
|
|
384
527
|
* @param {*} [options] Override http request option.
|
|
385
528
|
* @throws {RequiredError}
|
|
386
529
|
*/
|
|
387
|
-
|
|
388
|
-
// verify required parameter '
|
|
389
|
-
(0, common_1.assertParamExists)('
|
|
390
|
-
// verify required parameter '
|
|
391
|
-
(0, common_1.assertParamExists)('
|
|
392
|
-
const localVarPath = `/gizone/
|
|
530
|
+
updateInspectionStandard: (id_1, inspectionStandardAddOrUpdateVO_1, ...args_1) => __awaiter(this, [id_1, inspectionStandardAddOrUpdateVO_1, ...args_1], void 0, function* (id, inspectionStandardAddOrUpdateVO, options = {}) {
|
|
531
|
+
// verify required parameter 'id' is not null or undefined
|
|
532
|
+
(0, common_1.assertParamExists)('updateInspectionStandard', 'id', id);
|
|
533
|
+
// verify required parameter 'inspectionStandardAddOrUpdateVO' is not null or undefined
|
|
534
|
+
(0, common_1.assertParamExists)('updateInspectionStandard', 'inspectionStandardAddOrUpdateVO', inspectionStandardAddOrUpdateVO);
|
|
535
|
+
const localVarPath = `/gizone/inspectionStandard/{id}`
|
|
536
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
393
537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
394
538
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
395
539
|
let baseOptions;
|
|
396
540
|
if (configuration) {
|
|
397
541
|
baseOptions = configuration.baseOptions;
|
|
398
542
|
}
|
|
399
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
543
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
400
544
|
const localVarHeaderParameter = {};
|
|
401
545
|
const localVarQueryParameter = {};
|
|
402
|
-
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
403
546
|
// authentication tokenScheme required
|
|
404
547
|
// http bearer authentication required
|
|
405
548
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
406
|
-
|
|
407
|
-
localVarFormParams.append('parkId', parkId);
|
|
408
|
-
}
|
|
409
|
-
if (language !== undefined) {
|
|
410
|
-
localVarFormParams.append('language', language);
|
|
411
|
-
}
|
|
412
|
-
if (file !== undefined) {
|
|
413
|
-
localVarFormParams.append('file', file);
|
|
414
|
-
}
|
|
415
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
549
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
416
550
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
417
551
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
418
552
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
419
|
-
localVarRequestOptions.data =
|
|
553
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inspectionStandardAddOrUpdateVO, localVarRequestOptions, configuration);
|
|
420
554
|
return {
|
|
421
555
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
422
556
|
options: localVarRequestOptions,
|
|
@@ -461,13 +595,13 @@ const MaintenanceStandardApiAxiosParamCreator = function (configuration) {
|
|
|
461
595
|
}),
|
|
462
596
|
};
|
|
463
597
|
};
|
|
464
|
-
exports.
|
|
598
|
+
exports.InspectionApiAxiosParamCreator = InspectionApiAxiosParamCreator;
|
|
465
599
|
/**
|
|
466
|
-
*
|
|
600
|
+
* InspectionApi - functional programming interface
|
|
467
601
|
* @export
|
|
468
602
|
*/
|
|
469
|
-
const
|
|
470
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
603
|
+
const InspectionApiFp = function (configuration) {
|
|
604
|
+
const localVarAxiosParamCreator = (0, exports.InspectionApiAxiosParamCreator)(configuration);
|
|
471
605
|
return {
|
|
472
606
|
/**
|
|
473
607
|
*
|
|
@@ -481,7 +615,7 @@ const MaintenanceStandardApiFp = function (configuration) {
|
|
|
481
615
|
var _a, _b, _c;
|
|
482
616
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.addMaintenanceStandard(maintenanceStandardAddOrUpdateVo, options);
|
|
483
617
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
484
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
618
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.addMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
485
619
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
486
620
|
});
|
|
487
621
|
},
|
|
@@ -497,7 +631,55 @@ const MaintenanceStandardApiFp = function (configuration) {
|
|
|
497
631
|
var _a, _b, _c;
|
|
498
632
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.batchDeleteMaintenanceStandard(standardDeleteVo, options);
|
|
499
633
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
500
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
634
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.batchDeleteMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
635
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
636
|
+
});
|
|
637
|
+
},
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* @summary 添加巡检标准
|
|
641
|
+
* @param {Array<InspectionStandardAddOrUpdateVO>} inspectionStandardAddOrUpdateVO
|
|
642
|
+
* @param {*} [options] Override http request option.
|
|
643
|
+
* @throws {RequiredError}
|
|
644
|
+
*/
|
|
645
|
+
createInspectionStandard(inspectionStandardAddOrUpdateVO, options) {
|
|
646
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
647
|
+
var _a, _b, _c;
|
|
648
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createInspectionStandard(inspectionStandardAddOrUpdateVO, options);
|
|
649
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
650
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.createInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
651
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
652
|
+
});
|
|
653
|
+
},
|
|
654
|
+
/**
|
|
655
|
+
*
|
|
656
|
+
* @summary 删除巡检标准
|
|
657
|
+
* @param {number} id 巡检标准id
|
|
658
|
+
* @param {*} [options] Override http request option.
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
*/
|
|
661
|
+
deleteInspectionStandard(id, options) {
|
|
662
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
663
|
+
var _a, _b, _c;
|
|
664
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteInspectionStandard(id, options);
|
|
665
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
666
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.deleteInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
667
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
668
|
+
});
|
|
669
|
+
},
|
|
670
|
+
/**
|
|
671
|
+
*
|
|
672
|
+
* @summary 批量删除巡检标准
|
|
673
|
+
* @param {Array<number>} requestBody
|
|
674
|
+
* @param {*} [options] Override http request option.
|
|
675
|
+
* @throws {RequiredError}
|
|
676
|
+
*/
|
|
677
|
+
deleteInspectionStandards(requestBody, options) {
|
|
678
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
679
|
+
var _a, _b, _c;
|
|
680
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteInspectionStandards(requestBody, options);
|
|
681
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
682
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.deleteInspectionStandards']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
501
683
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
502
684
|
});
|
|
503
685
|
},
|
|
@@ -513,139 +695,147 @@ const MaintenanceStandardApiFp = function (configuration) {
|
|
|
513
695
|
var _a, _b, _c;
|
|
514
696
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteMaintenanceStandard(id, options);
|
|
515
697
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
516
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
698
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.deleteMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
517
699
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
518
700
|
});
|
|
519
701
|
},
|
|
520
702
|
/**
|
|
521
703
|
*
|
|
522
|
-
* @summary
|
|
704
|
+
* @summary 巡检标准详情
|
|
523
705
|
* @param {number} id
|
|
524
706
|
* @param {*} [options] Override http request option.
|
|
525
707
|
* @throws {RequiredError}
|
|
526
708
|
*/
|
|
527
|
-
|
|
709
|
+
getInspectionStandard(id, options) {
|
|
528
710
|
return __awaiter(this, void 0, void 0, function* () {
|
|
529
711
|
var _a, _b, _c;
|
|
530
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
712
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInspectionStandard(id, options);
|
|
531
713
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
532
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
714
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.getInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
533
715
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
534
716
|
});
|
|
535
717
|
},
|
|
536
718
|
/**
|
|
537
719
|
*
|
|
538
|
-
* @summary
|
|
539
|
-
* @param {number}
|
|
540
|
-
* @param {number} pageSize 每页数量
|
|
541
|
-
* @param {number} page 页码
|
|
542
|
-
* @param {string} [searchValue] 关键搜索值
|
|
543
|
-
* @param {number} [equipmentSystemId] 维保分类
|
|
544
|
-
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
720
|
+
* @summary 维保标准详情
|
|
721
|
+
* @param {number} id
|
|
545
722
|
* @param {*} [options] Override http request option.
|
|
546
723
|
* @throws {RequiredError}
|
|
547
724
|
*/
|
|
548
|
-
|
|
725
|
+
getMaintenanceStandard(id, options) {
|
|
549
726
|
return __awaiter(this, void 0, void 0, function* () {
|
|
550
727
|
var _a, _b, _c;
|
|
551
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
728
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMaintenanceStandard(id, options);
|
|
552
729
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
553
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
730
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.getMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
554
731
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
555
732
|
});
|
|
556
733
|
},
|
|
557
734
|
/**
|
|
558
735
|
*
|
|
559
|
-
* @summary
|
|
560
|
-
* @param {number}
|
|
736
|
+
* @summary 巡检标准列表
|
|
737
|
+
* @param {number} parkId 园区id
|
|
738
|
+
* @param {number} pageSize 每页数量
|
|
739
|
+
* @param {number} page 页码
|
|
740
|
+
* @param {string} [searchValue] 内容
|
|
741
|
+
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
742
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
561
743
|
* @param {*} [options] Override http request option.
|
|
562
744
|
* @throws {RequiredError}
|
|
563
745
|
*/
|
|
564
|
-
|
|
746
|
+
listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, options) {
|
|
565
747
|
return __awaiter(this, void 0, void 0, function* () {
|
|
566
748
|
var _a, _b, _c;
|
|
567
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
749
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, options);
|
|
568
750
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
569
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
751
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.listInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
570
752
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
571
753
|
});
|
|
572
754
|
},
|
|
573
755
|
/**
|
|
574
756
|
*
|
|
575
|
-
* @summary
|
|
576
|
-
* @param {number}
|
|
757
|
+
* @summary 维保标准列表
|
|
758
|
+
* @param {number} parkId 园区ID
|
|
759
|
+
* @param {number} pageSize 每页数量
|
|
760
|
+
* @param {number} page 页码
|
|
761
|
+
* @param {string} [searchValue] 关键搜索值
|
|
762
|
+
* @param {number} [equipmentSystemId] 维保分类
|
|
763
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
577
764
|
* @param {*} [options] Override http request option.
|
|
578
765
|
* @throws {RequiredError}
|
|
579
766
|
*/
|
|
580
|
-
|
|
767
|
+
listMaintenanceStandard(parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options) {
|
|
581
768
|
return __awaiter(this, void 0, void 0, function* () {
|
|
582
769
|
var _a, _b, _c;
|
|
583
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
770
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandard(parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options);
|
|
584
771
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
585
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
772
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.listMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
586
773
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
587
774
|
});
|
|
588
775
|
},
|
|
589
776
|
/**
|
|
590
777
|
*
|
|
591
|
-
* @summary
|
|
778
|
+
* @summary 根据设备id查询维保标准
|
|
779
|
+
* @param {number} equipmentId
|
|
592
780
|
* @param {*} [options] Override http request option.
|
|
593
781
|
* @throws {RequiredError}
|
|
594
782
|
*/
|
|
595
|
-
|
|
783
|
+
listMaintenanceStandardByEquipmentId(equipmentId, options) {
|
|
596
784
|
return __awaiter(this, void 0, void 0, function* () {
|
|
597
785
|
var _a, _b, _c;
|
|
598
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
786
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandardByEquipmentId(equipmentId, options);
|
|
599
787
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
600
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
788
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.listMaintenanceStandardByEquipmentId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
601
789
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
602
790
|
});
|
|
603
791
|
},
|
|
604
792
|
/**
|
|
605
793
|
*
|
|
606
|
-
* @summary
|
|
794
|
+
* @summary 根据设备系统id查询维保标准
|
|
795
|
+
* @param {number} equipmentSystemId
|
|
607
796
|
* @param {*} [options] Override http request option.
|
|
608
797
|
* @throws {RequiredError}
|
|
609
798
|
*/
|
|
610
|
-
|
|
799
|
+
listMaintenanceStandardByEquipmentSystemId(equipmentSystemId, options) {
|
|
611
800
|
return __awaiter(this, void 0, void 0, function* () {
|
|
612
801
|
var _a, _b, _c;
|
|
613
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
802
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandardByEquipmentSystemId(equipmentSystemId, options);
|
|
614
803
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
615
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
804
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.listMaintenanceStandardByEquipmentSystemId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
616
805
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
617
806
|
});
|
|
618
807
|
},
|
|
619
808
|
/**
|
|
620
809
|
*
|
|
621
|
-
* @summary
|
|
810
|
+
* @summary 同步其他园区巡检标准
|
|
811
|
+
* @param {number} parkIdOne
|
|
812
|
+
* @param {number} parkIdTwo
|
|
622
813
|
* @param {*} [options] Override http request option.
|
|
623
814
|
* @throws {RequiredError}
|
|
624
815
|
*/
|
|
625
|
-
|
|
816
|
+
syncInspectionStandard(parkIdOne, parkIdTwo, options) {
|
|
626
817
|
return __awaiter(this, void 0, void 0, function* () {
|
|
627
818
|
var _a, _b, _c;
|
|
628
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
819
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncInspectionStandard(parkIdOne, parkIdTwo, options);
|
|
629
820
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
630
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
821
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.syncInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
631
822
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
632
823
|
});
|
|
633
824
|
},
|
|
634
825
|
/**
|
|
635
826
|
*
|
|
636
|
-
* @summary
|
|
637
|
-
* @param {number}
|
|
638
|
-
* @param {
|
|
639
|
-
* @param {string} [language] 语言
|
|
827
|
+
* @summary 修改巡检标准
|
|
828
|
+
* @param {number} id
|
|
829
|
+
* @param {InspectionStandardAddOrUpdateVO} inspectionStandardAddOrUpdateVO
|
|
640
830
|
* @param {*} [options] Override http request option.
|
|
641
831
|
* @throws {RequiredError}
|
|
642
832
|
*/
|
|
643
|
-
|
|
833
|
+
updateInspectionStandard(id, inspectionStandardAddOrUpdateVO, options) {
|
|
644
834
|
return __awaiter(this, void 0, void 0, function* () {
|
|
645
835
|
var _a, _b, _c;
|
|
646
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
836
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateInspectionStandard(id, inspectionStandardAddOrUpdateVO, options);
|
|
647
837
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
648
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
838
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.updateInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
649
839
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
650
840
|
});
|
|
651
841
|
},
|
|
@@ -662,24 +852,24 @@ const MaintenanceStandardApiFp = function (configuration) {
|
|
|
662
852
|
var _a, _b, _c;
|
|
663
853
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateMaintenanceStandard(id, maintenanceStandardAddOrUpdateVo, options);
|
|
664
854
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
665
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
855
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionApi.updateMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
666
856
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
667
857
|
});
|
|
668
858
|
},
|
|
669
859
|
};
|
|
670
860
|
};
|
|
671
|
-
exports.
|
|
861
|
+
exports.InspectionApiFp = InspectionApiFp;
|
|
672
862
|
/**
|
|
673
|
-
*
|
|
863
|
+
* InspectionApi - factory interface
|
|
674
864
|
* @export
|
|
675
865
|
*/
|
|
676
|
-
const
|
|
677
|
-
const localVarFp = (0, exports.
|
|
866
|
+
const InspectionApiFactory = function (configuration, basePath, axios) {
|
|
867
|
+
const localVarFp = (0, exports.InspectionApiFp)(configuration);
|
|
678
868
|
return {
|
|
679
869
|
/**
|
|
680
870
|
*
|
|
681
871
|
* @summary 新增维保标准
|
|
682
|
-
* @param {
|
|
872
|
+
* @param {InspectionApiAddMaintenanceStandardRequest} requestParameters Request parameters.
|
|
683
873
|
* @param {*} [options] Override http request option.
|
|
684
874
|
* @throws {RequiredError}
|
|
685
875
|
*/
|
|
@@ -689,17 +879,47 @@ const MaintenanceStandardApiFactory = function (configuration, basePath, axios)
|
|
|
689
879
|
/**
|
|
690
880
|
*
|
|
691
881
|
* @summary 批量删除维保标准
|
|
692
|
-
* @param {
|
|
882
|
+
* @param {InspectionApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
693
883
|
* @param {*} [options] Override http request option.
|
|
694
884
|
* @throws {RequiredError}
|
|
695
885
|
*/
|
|
696
886
|
batchDeleteMaintenanceStandard(requestParameters, options) {
|
|
697
887
|
return localVarFp.batchDeleteMaintenanceStandard(requestParameters.standardDeleteVo, options).then((request) => request(axios, basePath));
|
|
698
888
|
},
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
* @summary 添加巡检标准
|
|
892
|
+
* @param {InspectionApiCreateInspectionStandardRequest} requestParameters Request parameters.
|
|
893
|
+
* @param {*} [options] Override http request option.
|
|
894
|
+
* @throws {RequiredError}
|
|
895
|
+
*/
|
|
896
|
+
createInspectionStandard(requestParameters, options) {
|
|
897
|
+
return localVarFp.createInspectionStandard(requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(axios, basePath));
|
|
898
|
+
},
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @summary 删除巡检标准
|
|
902
|
+
* @param {InspectionApiDeleteInspectionStandardRequest} requestParameters Request parameters.
|
|
903
|
+
* @param {*} [options] Override http request option.
|
|
904
|
+
* @throws {RequiredError}
|
|
905
|
+
*/
|
|
906
|
+
deleteInspectionStandard(requestParameters, options) {
|
|
907
|
+
return localVarFp.deleteInspectionStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
908
|
+
},
|
|
909
|
+
/**
|
|
910
|
+
*
|
|
911
|
+
* @summary 批量删除巡检标准
|
|
912
|
+
* @param {InspectionApiDeleteInspectionStandardsRequest} requestParameters Request parameters.
|
|
913
|
+
* @param {*} [options] Override http request option.
|
|
914
|
+
* @throws {RequiredError}
|
|
915
|
+
*/
|
|
916
|
+
deleteInspectionStandards(requestParameters, options) {
|
|
917
|
+
return localVarFp.deleteInspectionStandards(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
918
|
+
},
|
|
699
919
|
/**
|
|
700
920
|
*
|
|
701
921
|
* @summary 删除维保标准
|
|
702
|
-
* @param {
|
|
922
|
+
* @param {InspectionApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
703
923
|
* @param {*} [options] Override http request option.
|
|
704
924
|
* @throws {RequiredError}
|
|
705
925
|
*/
|
|
@@ -708,85 +928,88 @@ const MaintenanceStandardApiFactory = function (configuration, basePath, axios)
|
|
|
708
928
|
},
|
|
709
929
|
/**
|
|
710
930
|
*
|
|
711
|
-
* @summary
|
|
712
|
-
* @param {
|
|
931
|
+
* @summary 巡检标准详情
|
|
932
|
+
* @param {InspectionApiGetInspectionStandardRequest} requestParameters Request parameters.
|
|
713
933
|
* @param {*} [options] Override http request option.
|
|
714
934
|
* @throws {RequiredError}
|
|
715
935
|
*/
|
|
716
|
-
|
|
717
|
-
return localVarFp.
|
|
936
|
+
getInspectionStandard(requestParameters, options) {
|
|
937
|
+
return localVarFp.getInspectionStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
718
938
|
},
|
|
719
939
|
/**
|
|
720
940
|
*
|
|
721
|
-
* @summary
|
|
722
|
-
* @param {
|
|
941
|
+
* @summary 维保标准详情
|
|
942
|
+
* @param {InspectionApiGetMaintenanceStandardRequest} requestParameters Request parameters.
|
|
723
943
|
* @param {*} [options] Override http request option.
|
|
724
944
|
* @throws {RequiredError}
|
|
725
945
|
*/
|
|
726
|
-
|
|
727
|
-
return localVarFp.
|
|
946
|
+
getMaintenanceStandard(requestParameters, options) {
|
|
947
|
+
return localVarFp.getMaintenanceStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
728
948
|
},
|
|
729
949
|
/**
|
|
730
950
|
*
|
|
731
|
-
* @summary
|
|
732
|
-
* @param {
|
|
951
|
+
* @summary 巡检标准列表
|
|
952
|
+
* @param {InspectionApiListInspectionStandardRequest} requestParameters Request parameters.
|
|
733
953
|
* @param {*} [options] Override http request option.
|
|
734
954
|
* @throws {RequiredError}
|
|
735
955
|
*/
|
|
736
|
-
|
|
737
|
-
return localVarFp.
|
|
956
|
+
listInspectionStandard(requestParameters, options) {
|
|
957
|
+
return localVarFp.listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(axios, basePath));
|
|
738
958
|
},
|
|
739
959
|
/**
|
|
740
960
|
*
|
|
741
|
-
* @summary
|
|
742
|
-
* @param {
|
|
961
|
+
* @summary 维保标准列表
|
|
962
|
+
* @param {InspectionApiListMaintenanceStandardRequest} requestParameters Request parameters.
|
|
743
963
|
* @param {*} [options] Override http request option.
|
|
744
964
|
* @throws {RequiredError}
|
|
745
965
|
*/
|
|
746
|
-
|
|
747
|
-
return localVarFp.
|
|
966
|
+
listMaintenanceStandard(requestParameters, options) {
|
|
967
|
+
return localVarFp.listMaintenanceStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(axios, basePath));
|
|
748
968
|
},
|
|
749
969
|
/**
|
|
750
970
|
*
|
|
751
|
-
* @summary
|
|
971
|
+
* @summary 根据设备id查询维保标准
|
|
972
|
+
* @param {InspectionApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
752
973
|
* @param {*} [options] Override http request option.
|
|
753
974
|
* @throws {RequiredError}
|
|
754
975
|
*/
|
|
755
|
-
|
|
756
|
-
return localVarFp.
|
|
976
|
+
listMaintenanceStandardByEquipmentId(requestParameters, options) {
|
|
977
|
+
return localVarFp.listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(axios, basePath));
|
|
757
978
|
},
|
|
758
979
|
/**
|
|
759
980
|
*
|
|
760
|
-
* @summary
|
|
981
|
+
* @summary 根据设备系统id查询维保标准
|
|
982
|
+
* @param {InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
761
983
|
* @param {*} [options] Override http request option.
|
|
762
984
|
* @throws {RequiredError}
|
|
763
985
|
*/
|
|
764
|
-
|
|
765
|
-
return localVarFp.
|
|
986
|
+
listMaintenanceStandardByEquipmentSystemId(requestParameters, options) {
|
|
987
|
+
return localVarFp.listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(axios, basePath));
|
|
766
988
|
},
|
|
767
989
|
/**
|
|
768
990
|
*
|
|
769
|
-
* @summary
|
|
991
|
+
* @summary 同步其他园区巡检标准
|
|
992
|
+
* @param {InspectionApiSyncInspectionStandardRequest} requestParameters Request parameters.
|
|
770
993
|
* @param {*} [options] Override http request option.
|
|
771
994
|
* @throws {RequiredError}
|
|
772
995
|
*/
|
|
773
|
-
|
|
774
|
-
return localVarFp.
|
|
996
|
+
syncInspectionStandard(requestParameters, options) {
|
|
997
|
+
return localVarFp.syncInspectionStandard(requestParameters.parkIdOne, requestParameters.parkIdTwo, options).then((request) => request(axios, basePath));
|
|
775
998
|
},
|
|
776
999
|
/**
|
|
777
1000
|
*
|
|
778
|
-
* @summary
|
|
779
|
-
* @param {
|
|
1001
|
+
* @summary 修改巡检标准
|
|
1002
|
+
* @param {InspectionApiUpdateInspectionStandardRequest} requestParameters Request parameters.
|
|
780
1003
|
* @param {*} [options] Override http request option.
|
|
781
1004
|
* @throws {RequiredError}
|
|
782
1005
|
*/
|
|
783
|
-
|
|
784
|
-
return localVarFp.
|
|
1006
|
+
updateInspectionStandard(requestParameters, options) {
|
|
1007
|
+
return localVarFp.updateInspectionStandard(requestParameters.id, requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(axios, basePath));
|
|
785
1008
|
},
|
|
786
1009
|
/**
|
|
787
1010
|
*
|
|
788
1011
|
* @summary 编辑维保标准
|
|
789
|
-
* @param {
|
|
1012
|
+
* @param {InspectionApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
|
|
790
1013
|
* @param {*} [options] Override http request option.
|
|
791
1014
|
* @throws {RequiredError}
|
|
792
1015
|
*/
|
|
@@ -795,142 +1018,178 @@ const MaintenanceStandardApiFactory = function (configuration, basePath, axios)
|
|
|
795
1018
|
},
|
|
796
1019
|
};
|
|
797
1020
|
};
|
|
798
|
-
exports.
|
|
1021
|
+
exports.InspectionApiFactory = InspectionApiFactory;
|
|
799
1022
|
/**
|
|
800
|
-
*
|
|
1023
|
+
* InspectionApi - object-oriented interface
|
|
801
1024
|
* @export
|
|
802
|
-
* @class
|
|
1025
|
+
* @class InspectionApi
|
|
803
1026
|
* @extends {BaseAPI}
|
|
804
1027
|
*/
|
|
805
|
-
class
|
|
1028
|
+
class InspectionApi extends base_1.BaseAPI {
|
|
806
1029
|
/**
|
|
807
1030
|
*
|
|
808
1031
|
* @summary 新增维保标准
|
|
809
|
-
* @param {
|
|
1032
|
+
* @param {InspectionApiAddMaintenanceStandardRequest} requestParameters Request parameters.
|
|
810
1033
|
* @param {*} [options] Override http request option.
|
|
811
1034
|
* @throws {RequiredError}
|
|
812
|
-
* @memberof
|
|
1035
|
+
* @memberof InspectionApi
|
|
813
1036
|
*/
|
|
814
1037
|
addMaintenanceStandard(requestParameters, options) {
|
|
815
|
-
return (0, exports.
|
|
1038
|
+
return (0, exports.InspectionApiFp)(this.configuration).addMaintenanceStandard(requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
816
1039
|
}
|
|
817
1040
|
/**
|
|
818
1041
|
*
|
|
819
1042
|
* @summary 批量删除维保标准
|
|
820
|
-
* @param {
|
|
1043
|
+
* @param {InspectionApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
821
1044
|
* @param {*} [options] Override http request option.
|
|
822
1045
|
* @throws {RequiredError}
|
|
823
|
-
* @memberof
|
|
1046
|
+
* @memberof InspectionApi
|
|
824
1047
|
*/
|
|
825
1048
|
batchDeleteMaintenanceStandard(requestParameters, options) {
|
|
826
|
-
return (0, exports.
|
|
1049
|
+
return (0, exports.InspectionApiFp)(this.configuration).batchDeleteMaintenanceStandard(requestParameters.standardDeleteVo, options).then((request) => request(this.axios, this.basePath));
|
|
1050
|
+
}
|
|
1051
|
+
/**
|
|
1052
|
+
*
|
|
1053
|
+
* @summary 添加巡检标准
|
|
1054
|
+
* @param {InspectionApiCreateInspectionStandardRequest} requestParameters Request parameters.
|
|
1055
|
+
* @param {*} [options] Override http request option.
|
|
1056
|
+
* @throws {RequiredError}
|
|
1057
|
+
* @memberof InspectionApi
|
|
1058
|
+
*/
|
|
1059
|
+
createInspectionStandard(requestParameters, options) {
|
|
1060
|
+
return (0, exports.InspectionApiFp)(this.configuration).createInspectionStandard(requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(this.axios, this.basePath));
|
|
1061
|
+
}
|
|
1062
|
+
/**
|
|
1063
|
+
*
|
|
1064
|
+
* @summary 删除巡检标准
|
|
1065
|
+
* @param {InspectionApiDeleteInspectionStandardRequest} requestParameters Request parameters.
|
|
1066
|
+
* @param {*} [options] Override http request option.
|
|
1067
|
+
* @throws {RequiredError}
|
|
1068
|
+
* @memberof InspectionApi
|
|
1069
|
+
*/
|
|
1070
|
+
deleteInspectionStandard(requestParameters, options) {
|
|
1071
|
+
return (0, exports.InspectionApiFp)(this.configuration).deleteInspectionStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1072
|
+
}
|
|
1073
|
+
/**
|
|
1074
|
+
*
|
|
1075
|
+
* @summary 批量删除巡检标准
|
|
1076
|
+
* @param {InspectionApiDeleteInspectionStandardsRequest} requestParameters Request parameters.
|
|
1077
|
+
* @param {*} [options] Override http request option.
|
|
1078
|
+
* @throws {RequiredError}
|
|
1079
|
+
* @memberof InspectionApi
|
|
1080
|
+
*/
|
|
1081
|
+
deleteInspectionStandards(requestParameters, options) {
|
|
1082
|
+
return (0, exports.InspectionApiFp)(this.configuration).deleteInspectionStandards(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
827
1083
|
}
|
|
828
1084
|
/**
|
|
829
1085
|
*
|
|
830
1086
|
* @summary 删除维保标准
|
|
831
|
-
* @param {
|
|
1087
|
+
* @param {InspectionApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
832
1088
|
* @param {*} [options] Override http request option.
|
|
833
1089
|
* @throws {RequiredError}
|
|
834
|
-
* @memberof
|
|
1090
|
+
* @memberof InspectionApi
|
|
835
1091
|
*/
|
|
836
1092
|
deleteMaintenanceStandard(requestParameters, options) {
|
|
837
|
-
return (0, exports.
|
|
1093
|
+
return (0, exports.InspectionApiFp)(this.configuration).deleteMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
838
1094
|
}
|
|
839
1095
|
/**
|
|
840
1096
|
*
|
|
841
|
-
* @summary
|
|
842
|
-
* @param {
|
|
1097
|
+
* @summary 巡检标准详情
|
|
1098
|
+
* @param {InspectionApiGetInspectionStandardRequest} requestParameters Request parameters.
|
|
843
1099
|
* @param {*} [options] Override http request option.
|
|
844
1100
|
* @throws {RequiredError}
|
|
845
|
-
* @memberof
|
|
1101
|
+
* @memberof InspectionApi
|
|
846
1102
|
*/
|
|
847
|
-
|
|
848
|
-
return (0, exports.
|
|
1103
|
+
getInspectionStandard(requestParameters, options) {
|
|
1104
|
+
return (0, exports.InspectionApiFp)(this.configuration).getInspectionStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
849
1105
|
}
|
|
850
1106
|
/**
|
|
851
1107
|
*
|
|
852
|
-
* @summary
|
|
853
|
-
* @param {
|
|
1108
|
+
* @summary 维保标准详情
|
|
1109
|
+
* @param {InspectionApiGetMaintenanceStandardRequest} requestParameters Request parameters.
|
|
854
1110
|
* @param {*} [options] Override http request option.
|
|
855
1111
|
* @throws {RequiredError}
|
|
856
|
-
* @memberof
|
|
1112
|
+
* @memberof InspectionApi
|
|
857
1113
|
*/
|
|
858
|
-
|
|
859
|
-
return (0, exports.
|
|
1114
|
+
getMaintenanceStandard(requestParameters, options) {
|
|
1115
|
+
return (0, exports.InspectionApiFp)(this.configuration).getMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
860
1116
|
}
|
|
861
1117
|
/**
|
|
862
1118
|
*
|
|
863
|
-
* @summary
|
|
864
|
-
* @param {
|
|
1119
|
+
* @summary 巡检标准列表
|
|
1120
|
+
* @param {InspectionApiListInspectionStandardRequest} requestParameters Request parameters.
|
|
865
1121
|
* @param {*} [options] Override http request option.
|
|
866
1122
|
* @throws {RequiredError}
|
|
867
|
-
* @memberof
|
|
1123
|
+
* @memberof InspectionApi
|
|
868
1124
|
*/
|
|
869
|
-
|
|
870
|
-
return (0, exports.
|
|
1125
|
+
listInspectionStandard(requestParameters, options) {
|
|
1126
|
+
return (0, exports.InspectionApiFp)(this.configuration).listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
|
|
871
1127
|
}
|
|
872
1128
|
/**
|
|
873
1129
|
*
|
|
874
|
-
* @summary
|
|
875
|
-
* @param {
|
|
1130
|
+
* @summary 维保标准列表
|
|
1131
|
+
* @param {InspectionApiListMaintenanceStandardRequest} requestParameters Request parameters.
|
|
876
1132
|
* @param {*} [options] Override http request option.
|
|
877
1133
|
* @throws {RequiredError}
|
|
878
|
-
* @memberof
|
|
1134
|
+
* @memberof InspectionApi
|
|
879
1135
|
*/
|
|
880
|
-
|
|
881
|
-
return (0, exports.
|
|
1136
|
+
listMaintenanceStandard(requestParameters, options) {
|
|
1137
|
+
return (0, exports.InspectionApiFp)(this.configuration).listMaintenanceStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
|
|
882
1138
|
}
|
|
883
1139
|
/**
|
|
884
1140
|
*
|
|
885
|
-
* @summary
|
|
1141
|
+
* @summary 根据设备id查询维保标准
|
|
1142
|
+
* @param {InspectionApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
886
1143
|
* @param {*} [options] Override http request option.
|
|
887
1144
|
* @throws {RequiredError}
|
|
888
|
-
* @memberof
|
|
1145
|
+
* @memberof InspectionApi
|
|
889
1146
|
*/
|
|
890
|
-
|
|
891
|
-
return (0, exports.
|
|
1147
|
+
listMaintenanceStandardByEquipmentId(requestParameters, options) {
|
|
1148
|
+
return (0, exports.InspectionApiFp)(this.configuration).listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
892
1149
|
}
|
|
893
1150
|
/**
|
|
894
1151
|
*
|
|
895
|
-
* @summary
|
|
1152
|
+
* @summary 根据设备系统id查询维保标准
|
|
1153
|
+
* @param {InspectionApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
896
1154
|
* @param {*} [options] Override http request option.
|
|
897
1155
|
* @throws {RequiredError}
|
|
898
|
-
* @memberof
|
|
1156
|
+
* @memberof InspectionApi
|
|
899
1157
|
*/
|
|
900
|
-
|
|
901
|
-
return (0, exports.
|
|
1158
|
+
listMaintenanceStandardByEquipmentSystemId(requestParameters, options) {
|
|
1159
|
+
return (0, exports.InspectionApiFp)(this.configuration).listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(this.axios, this.basePath));
|
|
902
1160
|
}
|
|
903
1161
|
/**
|
|
904
1162
|
*
|
|
905
|
-
* @summary
|
|
1163
|
+
* @summary 同步其他园区巡检标准
|
|
1164
|
+
* @param {InspectionApiSyncInspectionStandardRequest} requestParameters Request parameters.
|
|
906
1165
|
* @param {*} [options] Override http request option.
|
|
907
1166
|
* @throws {RequiredError}
|
|
908
|
-
* @memberof
|
|
1167
|
+
* @memberof InspectionApi
|
|
909
1168
|
*/
|
|
910
|
-
|
|
911
|
-
return (0, exports.
|
|
1169
|
+
syncInspectionStandard(requestParameters, options) {
|
|
1170
|
+
return (0, exports.InspectionApiFp)(this.configuration).syncInspectionStandard(requestParameters.parkIdOne, requestParameters.parkIdTwo, options).then((request) => request(this.axios, this.basePath));
|
|
912
1171
|
}
|
|
913
1172
|
/**
|
|
914
1173
|
*
|
|
915
|
-
* @summary
|
|
916
|
-
* @param {
|
|
1174
|
+
* @summary 修改巡检标准
|
|
1175
|
+
* @param {InspectionApiUpdateInspectionStandardRequest} requestParameters Request parameters.
|
|
917
1176
|
* @param {*} [options] Override http request option.
|
|
918
1177
|
* @throws {RequiredError}
|
|
919
|
-
* @memberof
|
|
1178
|
+
* @memberof InspectionApi
|
|
920
1179
|
*/
|
|
921
|
-
|
|
922
|
-
return (0, exports.
|
|
1180
|
+
updateInspectionStandard(requestParameters, options) {
|
|
1181
|
+
return (0, exports.InspectionApiFp)(this.configuration).updateInspectionStandard(requestParameters.id, requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(this.axios, this.basePath));
|
|
923
1182
|
}
|
|
924
1183
|
/**
|
|
925
1184
|
*
|
|
926
1185
|
* @summary 编辑维保标准
|
|
927
|
-
* @param {
|
|
1186
|
+
* @param {InspectionApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
|
|
928
1187
|
* @param {*} [options] Override http request option.
|
|
929
1188
|
* @throws {RequiredError}
|
|
930
|
-
* @memberof
|
|
1189
|
+
* @memberof InspectionApi
|
|
931
1190
|
*/
|
|
932
1191
|
updateMaintenanceStandard(requestParameters, options) {
|
|
933
|
-
return (0, exports.
|
|
1192
|
+
return (0, exports.InspectionApiFp)(this.configuration).updateMaintenanceStandard(requestParameters.id, requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
934
1193
|
}
|
|
935
1194
|
}
|
|
936
|
-
exports.
|
|
1195
|
+
exports.InspectionApi = InspectionApi;
|