@gizone/rrs-client 3.11.12-alpha.9 → 3.11.13-alpha.60
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 +37 -14
- package/README.md +2 -2
- package/api.ts +2 -1
- package/apis/access-api.ts +61 -61
- package/apis/calendar-api.ts +231 -209
- package/apis/common-api.ts +192 -0
- package/apis/cost-api.ts +15 -15
- package/apis/energy-api.ts +15 -15
- package/apis/{inspection-api.ts → inspection-standard-api.ts} +386 -544
- package/apis/maintenance-standard-api.ts +1319 -0
- package/apis/message-api.ts +201 -223
- package/apis/privacy-api.ts +78 -76
- package/apis/setting-api.ts +596 -243
- package/apis/space-api.ts +0 -329
- package/apis/sys-api.ts +47 -47
- package/apis/user-api.ts +15 -15
- package/apis/work-order-api.ts +717 -8
- package/configuration.ts +1 -1
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/apis/access-api.d.ts +41 -41
- package/dist/apis/access-api.js +44 -44
- package/dist/apis/calendar-api.d.ts +131 -123
- package/dist/apis/calendar-api.js +177 -164
- package/dist/apis/common-api.d.ts +102 -0
- package/dist/apis/common-api.js +144 -0
- package/dist/apis/cost-api.d.ts +10 -10
- package/dist/apis/cost-api.js +11 -11
- package/dist/apis/energy-api.d.ts +10 -10
- package/dist/apis/energy-api.js +11 -11
- package/dist/apis/inspection-standard-api.d.ts +745 -0
- package/dist/apis/{inspection-api.js → inspection-standard-api.js} +283 -373
- package/dist/apis/maintenance-standard-api.d.ts +684 -0
- package/dist/apis/maintenance-standard-api.js +1022 -0
- package/dist/apis/message-api.d.ts +117 -125
- package/dist/apis/message-api.js +132 -171
- package/dist/apis/privacy-api.d.ts +49 -48
- package/dist/apis/privacy-api.js +60 -60
- package/dist/apis/setting-api.d.ts +334 -144
- package/dist/apis/setting-api.js +433 -187
- package/dist/apis/space-api.d.ts +0 -159
- package/dist/apis/space-api.js +0 -272
- package/dist/apis/sys-api.d.ts +31 -31
- package/dist/apis/sys-api.js +34 -34
- package/dist/apis/user-api.d.ts +10 -10
- package/dist/apis/user-api.js +11 -11
- package/dist/apis/work-order-api.d.ts +391 -8
- package/dist/apis/work-order-api.js +529 -8
- package/dist/common.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +2 -1
- package/dist/esm/api.js +2 -1
- package/dist/esm/apis/access-api.d.ts +41 -41
- package/dist/esm/apis/access-api.js +44 -44
- package/dist/esm/apis/calendar-api.d.ts +131 -123
- package/dist/esm/apis/calendar-api.js +177 -164
- package/dist/esm/apis/common-api.d.ts +102 -0
- package/dist/esm/apis/common-api.js +144 -0
- package/dist/esm/apis/cost-api.d.ts +10 -10
- package/dist/esm/apis/cost-api.js +11 -11
- package/dist/esm/apis/energy-api.d.ts +10 -10
- package/dist/esm/apis/energy-api.js +11 -11
- package/dist/esm/apis/inspection-standard-api.d.ts +745 -0
- package/dist/esm/apis/{inspection-api.js → inspection-standard-api.js} +278 -368
- package/dist/esm/apis/maintenance-standard-api.d.ts +684 -0
- package/dist/esm/apis/maintenance-standard-api.js +1015 -0
- package/dist/esm/apis/message-api.d.ts +117 -125
- package/dist/esm/apis/message-api.js +132 -171
- package/dist/esm/apis/privacy-api.d.ts +49 -48
- package/dist/esm/apis/privacy-api.js +60 -60
- package/dist/esm/apis/setting-api.d.ts +334 -144
- package/dist/esm/apis/setting-api.js +433 -187
- package/dist/esm/apis/space-api.d.ts +0 -159
- package/dist/esm/apis/space-api.js +0 -272
- package/dist/esm/apis/sys-api.d.ts +31 -31
- package/dist/esm/apis/sys-api.js +34 -34
- package/dist/esm/apis/user-api.d.ts +10 -10
- package/dist/esm/apis/user-api.js +11 -11
- package/dist/esm/apis/work-order-api.d.ts +391 -8
- package/dist/esm/apis/work-order-api.js +529 -8
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/models/dept-relation-dto.d.ts +140 -0
- package/dist/esm/models/dept-relation.d.ts +86 -0
- package/dist/esm/models/equipment-detail-dto.d.ts +6 -0
- package/dist/esm/models/equipment-edit-vo.d.ts +6 -0
- package/dist/esm/models/equipment-excel-add-dto.d.ts +6 -0
- package/dist/esm/models/equipment-search-system-dto.d.ts +12 -6
- package/dist/esm/models/equipment-system-add-vo.d.ts +1 -1
- package/dist/esm/models/{calendar-add-redis-list-vo.d.ts → excel-import-result-dtocalendar-export-dto.d.ts} +9 -21
- package/dist/esm/models/excel-import-result-dtoinspection-standard-import-dto.d.ts +31 -0
- package/dist/esm/models/excel-import-result-dtomaintenance-standard-import-dto.d.ts +31 -0
- package/dist/esm/models/file-dto.d.ts +3 -3
- package/dist/esm/models/get-user-wx200-response.d.ts +8 -8
- package/dist/esm/models/index.d.ts +35 -13
- package/dist/esm/models/index.js +35 -13
- package/dist/esm/models/inspection-point-item.d.ts +12 -0
- package/dist/esm/models/inspection-standard-add-or-update-vo.d.ts +3 -4
- package/dist/esm/models/inspection-standard-dto.d.ts +147 -0
- package/dist/esm/models/inspection-standard-entity.d.ts +13 -0
- package/dist/esm/models/inspection-standard-import-dto.d.ts +114 -0
- package/dist/esm/models/json-result-excel-import-result-dtocalendar-export-dto.d.ts +56 -0
- package/dist/esm/models/json-result-excel-import-result-dtoinspection-standard-import-dto.d.ts +56 -0
- package/dist/esm/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.d.ts +56 -0
- package/dist/esm/models/{json-result-page-dto-inspection-standard-entity.d.ts → json-result-list-inspection-standard-entity.d.ts} +12 -12
- package/dist/esm/models/json-result-list-work-order-dept-settings-entity.d.ts +56 -0
- package/dist/esm/models/json-result-page-dto-inspection-standard-dto.d.ts +56 -0
- package/dist/{models/json-result-calendar-add-redis-list-vo.d.ts → esm/models/json-result-page-dto-sys-user-msg-dto.d.ts} +11 -11
- package/dist/esm/models/json-result-page-dto-sys-user-msg-dto.js +14 -0
- package/dist/esm/models/{json-result-sys-user-msg-do.d.ts → json-result-park-info-dto.d.ts} +11 -11
- package/dist/esm/models/json-result-park-info-dto.js +14 -0
- package/dist/esm/models/{json-result-calendar-add-redis-list-vo.d.ts → json-result-sys-user-msg-dto.d.ts} +11 -11
- package/dist/esm/models/json-result-sys-user-msg-dto.js +14 -0
- package/dist/esm/models/{json-result-space-edit-before-and-after-dto.d.ts → json-result-work-order-dept-settings-entity.d.ts} +11 -11
- package/dist/esm/models/json-result-work-order-dept-settings-entity.js +14 -0
- package/dist/esm/models/maintenance-standard-import-dto.d.ts +114 -0
- package/dist/esm/models/maintenance-standard-import-dto.js +14 -0
- package/dist/{models/page-dto-inspection-standard-entity.d.ts → esm/models/page-dto-inspection-standard-dto.d.ts} +7 -7
- package/dist/esm/models/page-dto-inspection-standard-dto.js +14 -0
- package/dist/esm/models/{page-dto-sys-user-msg-list-dto.d.ts → page-dto-sys-user-msg-dto.d.ts} +7 -7
- package/dist/esm/models/page-dto-sys-user-msg-dto.js +14 -0
- package/dist/esm/models/park-center-attribute-enum.d.ts +21 -0
- package/dist/esm/models/park-center-attribute-enum.js +22 -0
- package/dist/esm/models/park-info-dto.d.ts +85 -0
- package/dist/esm/models/park-info-dto.js +14 -0
- package/dist/esm/models/park-info-edit-vo.d.ts +37 -0
- package/dist/esm/models/park-info-edit-vo.js +14 -0
- package/dist/esm/models/park-plat-form-enum.d.ts +23 -0
- package/dist/esm/models/park-plat-form-enum.js +24 -0
- package/dist/esm/models/period-detail-resp.d.ts +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/process-work-order-vo.d.ts +19 -0
- package/dist/esm/models/source-work-order-inspection-dto.d.ts +4 -3
- package/dist/esm/models/space-add-excel-dto.d.ts +6 -0
- package/dist/esm/models/sys-dept.d.ts +7 -1
- package/dist/esm/models/{sys-user-msg-list-dto.d.ts → sys-user-msg-dto.d.ts} +30 -28
- package/dist/esm/models/sys-user-msg-dto.js +14 -0
- package/dist/esm/models/system-user-msg-source-type-enum.d.ts +23 -0
- package/dist/esm/models/system-user-msg-source-type-enum.js +24 -0
- package/dist/esm/models/system-user-msg-type-enum.d.ts +21 -0
- package/dist/esm/models/system-user-msg-type-enum.js +22 -0
- package/dist/esm/models/work-order-add-vo.d.ts +24 -4
- package/dist/esm/models/work-order-circulation-vo.d.ts +8 -1
- package/dist/esm/models/work-order-dept-settings-add-or-update-vo.d.ts +36 -0
- package/dist/esm/models/work-order-dept-settings-add-or-update-vo.js +14 -0
- package/dist/esm/models/work-order-dept-settings-entity.d.ts +67 -0
- package/dist/esm/models/work-order-dept-settings-entity.js +14 -0
- package/dist/esm/models/work-order-detail-dto.d.ts +46 -0
- package/dist/esm/models/work-order-internal-status-enum.d.ts +23 -0
- package/dist/esm/models/work-order-internal-status-enum.js +24 -0
- package/dist/esm/models/work-order-issue-type-enum.d.ts +26 -0
- package/dist/esm/models/work-order-issue-type-enum.js +27 -0
- package/dist/esm/models/work-order-liability-party-enum.d.ts +21 -0
- package/dist/esm/models/work-order-liability-party-enum.js +22 -0
- package/dist/esm/models/work-order-push-settings-entity.d.ts +4 -17
- package/dist/esm/models/work-order-push-settings-entity.js +1 -13
- package/dist/esm/models/work-order-push-settings-save-or-update-vo.d.ts +4 -17
- package/dist/esm/models/work-order-push-settings-save-or-update-vo.js +1 -13
- package/dist/esm/models/work-order-report-vo.d.ts +31 -0
- package/dist/esm/models/work-order-report-vo.js +14 -0
- package/dist/esm/models/work-order-settings-type-enum.d.ts +30 -0
- package/dist/esm/models/work-order-settings-type-enum.js +31 -0
- package/dist/esm/models/work-order-staging-data-vo.d.ts +49 -0
- package/dist/esm/models/work-order-staging-data-vo.js +14 -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/dept-relation-dto.d.ts +140 -0
- package/dist/models/dept-relation.d.ts +86 -0
- package/dist/models/equipment-detail-dto.d.ts +6 -0
- package/dist/models/equipment-edit-vo.d.ts +6 -0
- package/dist/models/equipment-excel-add-dto.d.ts +6 -0
- package/dist/models/equipment-search-system-dto.d.ts +12 -6
- package/dist/models/equipment-system-add-vo.d.ts +1 -1
- package/dist/models/{calendar-add-redis-list-vo.d.ts → excel-import-result-dtocalendar-export-dto.d.ts} +9 -21
- package/dist/models/excel-import-result-dtoinspection-standard-import-dto.d.ts +31 -0
- package/dist/models/excel-import-result-dtomaintenance-standard-import-dto.d.ts +31 -0
- package/dist/models/file-dto.d.ts +3 -3
- package/dist/models/get-user-wx200-response.d.ts +8 -8
- package/dist/models/index.d.ts +35 -13
- package/dist/models/index.js +35 -13
- package/dist/models/inspection-point-item.d.ts +12 -0
- package/dist/models/inspection-standard-add-or-update-vo.d.ts +3 -4
- package/dist/models/inspection-standard-dto.d.ts +147 -0
- package/dist/models/inspection-standard-entity.d.ts +13 -0
- package/dist/models/inspection-standard-import-dto.d.ts +114 -0
- package/dist/models/json-result-excel-import-result-dtocalendar-export-dto.d.ts +56 -0
- package/dist/models/json-result-excel-import-result-dtoinspection-standard-import-dto.d.ts +56 -0
- package/dist/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.d.ts +56 -0
- package/dist/models/json-result-list-inspection-standard-entity.d.ts +56 -0
- package/dist/models/json-result-list-work-order-dept-settings-entity.d.ts +56 -0
- package/dist/models/json-result-page-dto-inspection-standard-dto.d.ts +56 -0
- package/dist/models/json-result-page-dto-sys-user-msg-dto.d.ts +56 -0
- package/dist/models/json-result-page-dto-sys-user-msg-dto.js +15 -0
- package/dist/models/{json-result-sys-user-msg-do.d.ts → json-result-park-info-dto.d.ts} +11 -11
- package/dist/models/json-result-park-info-dto.js +15 -0
- package/dist/models/json-result-sys-user-msg-dto.d.ts +56 -0
- package/dist/models/json-result-sys-user-msg-dto.js +15 -0
- package/dist/{esm/models/json-result-page-dto-sys-user-msg-list-dto.d.ts → models/json-result-work-order-dept-settings-entity.d.ts} +11 -11
- package/dist/models/json-result-work-order-dept-settings-entity.js +15 -0
- package/dist/models/maintenance-standard-import-dto.d.ts +114 -0
- package/dist/models/maintenance-standard-import-dto.js +15 -0
- package/dist/{esm/models/page-dto-inspection-standard-entity.d.ts → models/page-dto-inspection-standard-dto.d.ts} +7 -7
- package/dist/models/page-dto-inspection-standard-dto.js +15 -0
- package/dist/models/{page-dto-sys-user-msg-list-dto.d.ts → page-dto-sys-user-msg-dto.d.ts} +7 -7
- package/dist/models/page-dto-sys-user-msg-dto.js +15 -0
- package/dist/models/park-center-attribute-enum.d.ts +21 -0
- package/dist/models/park-center-attribute-enum.js +25 -0
- package/dist/models/park-info-dto.d.ts +85 -0
- package/dist/models/park-info-dto.js +15 -0
- package/dist/models/park-info-edit-vo.d.ts +37 -0
- package/dist/models/park-info-edit-vo.js +15 -0
- package/dist/models/park-plat-form-enum.d.ts +23 -0
- package/dist/models/park-plat-form-enum.js +27 -0
- package/dist/models/period-detail-resp.d.ts +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/process-work-order-vo.d.ts +19 -0
- package/dist/models/source-work-order-inspection-dto.d.ts +4 -3
- package/dist/models/space-add-excel-dto.d.ts +6 -0
- package/dist/models/sys-dept.d.ts +7 -1
- package/dist/models/{sys-user-msg-list-dto.d.ts → sys-user-msg-dto.d.ts} +30 -28
- package/dist/models/sys-user-msg-dto.js +15 -0
- package/dist/models/system-user-msg-source-type-enum.d.ts +23 -0
- package/dist/models/system-user-msg-source-type-enum.js +27 -0
- package/dist/models/system-user-msg-type-enum.d.ts +21 -0
- package/dist/models/system-user-msg-type-enum.js +25 -0
- package/dist/models/work-order-add-vo.d.ts +24 -4
- package/dist/models/work-order-circulation-vo.d.ts +8 -1
- package/dist/models/work-order-dept-settings-add-or-update-vo.d.ts +36 -0
- package/dist/models/work-order-dept-settings-add-or-update-vo.js +15 -0
- package/dist/models/work-order-dept-settings-entity.d.ts +67 -0
- package/dist/models/work-order-dept-settings-entity.js +15 -0
- package/dist/models/work-order-detail-dto.d.ts +46 -0
- package/dist/models/work-order-internal-status-enum.d.ts +23 -0
- package/dist/models/work-order-internal-status-enum.js +27 -0
- package/dist/models/work-order-issue-type-enum.d.ts +26 -0
- package/dist/models/work-order-issue-type-enum.js +30 -0
- package/dist/models/work-order-liability-party-enum.d.ts +21 -0
- package/dist/models/work-order-liability-party-enum.js +25 -0
- package/dist/models/work-order-push-settings-entity.d.ts +4 -17
- package/dist/models/work-order-push-settings-entity.js +0 -14
- package/dist/models/work-order-push-settings-save-or-update-vo.d.ts +4 -17
- package/dist/models/work-order-push-settings-save-or-update-vo.js +0 -14
- package/dist/models/work-order-report-vo.d.ts +31 -0
- package/dist/models/work-order-report-vo.js +15 -0
- package/dist/models/work-order-settings-type-enum.d.ts +30 -0
- package/dist/models/work-order-settings-type-enum.js +34 -0
- package/dist/models/work-order-staging-data-vo.d.ts +49 -0
- package/dist/models/work-order-staging-data-vo.js +15 -0
- package/dist/models/work-order-type-enum.d.ts +1 -1
- package/dist/models/work-order-type-enum.js +1 -1
- package/models/dept-relation-dto.ts +152 -0
- package/models/dept-relation.ts +98 -0
- package/models/equipment-detail-dto.ts +6 -0
- package/models/equipment-edit-vo.ts +6 -0
- package/models/equipment-excel-add-dto.ts +6 -0
- package/models/equipment-search-system-dto.ts +12 -6
- package/models/equipment-system-add-vo.ts +1 -1
- package/models/{calendar-add-redis-list-vo.ts → excel-import-result-dtocalendar-export-dto.ts} +9 -21
- package/models/excel-import-result-dtoinspection-standard-import-dto.ts +39 -0
- package/models/excel-import-result-dtomaintenance-standard-import-dto.ts +39 -0
- package/models/file-dto.ts +3 -3
- package/models/get-user-wx200-response.ts +8 -8
- package/models/index.ts +35 -13
- package/models/inspection-point-item.ts +12 -0
- package/models/inspection-standard-add-or-update-vo.ts +3 -6
- package/models/inspection-standard-dto.ts +161 -0
- package/models/inspection-standard-entity.ts +15 -0
- package/models/inspection-standard-import-dto.ts +120 -0
- package/models/json-result-excel-import-result-dtocalendar-export-dto.ts +66 -0
- package/models/json-result-excel-import-result-dtoinspection-standard-import-dto.ts +66 -0
- package/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.ts +66 -0
- package/models/{json-result-page-dto-inspection-standard-entity.ts → json-result-list-inspection-standard-entity.ts} +12 -12
- package/models/json-result-list-work-order-dept-settings-entity.ts +66 -0
- package/models/json-result-page-dto-inspection-standard-dto.ts +66 -0
- package/models/{json-result-calendar-add-redis-list-vo.ts → json-result-page-dto-sys-user-msg-dto.ts} +11 -11
- package/models/{json-result-sys-user-msg-do.ts → json-result-park-info-dto.ts} +11 -11
- package/models/{json-result-page-dto-sys-user-msg-list-dto.ts → json-result-sys-user-msg-dto.ts} +11 -11
- package/models/{json-result-space-edit-before-and-after-dto.ts → json-result-work-order-dept-settings-entity.ts} +11 -11
- package/models/maintenance-standard-import-dto.ts +120 -0
- package/models/{page-dto-inspection-standard-entity.ts → page-dto-inspection-standard-dto.ts} +7 -7
- package/models/{page-dto-sys-user-msg-list-dto.ts → page-dto-sys-user-msg-dto.ts} +7 -7
- package/models/park-center-attribute-enum.ts +31 -0
- package/models/park-info-dto.ts +93 -0
- package/models/park-info-edit-vo.ts +45 -0
- package/models/park-plat-form-enum.ts +33 -0
- 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/process-work-order-vo.ts +23 -0
- package/models/source-work-order-inspection-dto.ts +8 -3
- package/models/space-add-excel-dto.ts +6 -0
- package/models/sys-dept.ts +7 -1
- package/models/{sys-user-msg-list-dto.ts → sys-user-msg-dto.ts} +36 -28
- package/models/system-user-msg-source-type-enum.ts +33 -0
- package/models/system-user-msg-type-enum.ts +31 -0
- package/models/work-order-add-vo.ts +28 -4
- package/models/work-order-circulation-vo.ts +12 -1
- package/models/work-order-dept-settings-add-or-update-vo.ts +42 -0
- package/models/work-order-dept-settings-entity.ts +77 -0
- package/models/work-order-detail-dto.ts +54 -0
- package/models/work-order-internal-status-enum.ts +33 -0
- package/models/work-order-issue-type-enum.ts +36 -0
- package/models/work-order-liability-party-enum.ts +31 -0
- package/models/work-order-push-settings-entity.ts +6 -18
- package/models/work-order-push-settings-save-or-update-vo.ts +6 -18
- package/models/{space-edit-before-and-after-dto.ts → work-order-report-vo.ts} +13 -11
- package/models/work-order-settings-type-enum.ts +40 -0
- package/models/work-order-staging-data-vo.ts +59 -0
- package/models/work-order-type-enum.ts +1 -1
- package/package.json +1 -1
- package/dist/apis/inspection-api.d.ts +0 -846
- package/dist/esm/apis/inspection-api.d.ts +0 -846
- package/dist/esm/models/space-edit-before-and-after-dto.d.ts +0 -31
- package/dist/esm/models/space-edit-excel-dto.d.ts +0 -78
- package/dist/esm/models/sys-user-msg-do.d.ts +0 -90
- package/dist/esm/models/sys-user-msg-search-list-vo.d.ts +0 -54
- package/dist/models/json-result-page-dto-inspection-standard-entity.d.ts +0 -56
- package/dist/models/json-result-page-dto-sys-user-msg-list-dto.d.ts +0 -56
- package/dist/models/json-result-space-edit-before-and-after-dto.d.ts +0 -56
- package/dist/models/space-edit-before-and-after-dto.d.ts +0 -31
- package/dist/models/space-edit-excel-dto.d.ts +0 -78
- package/dist/models/sys-user-msg-do.d.ts +0 -90
- package/dist/models/sys-user-msg-search-list-vo.d.ts +0 -54
- package/models/space-edit-excel-dto.ts +0 -84
- package/models/sys-user-msg-do.ts +0 -96
- package/models/sys-user-msg-search-list-vo.ts +0 -60
- /package/dist/esm/models/{calendar-add-redis-list-vo.js → dept-relation-dto.js} +0 -0
- /package/dist/esm/models/{json-result-calendar-add-redis-list-vo.js → dept-relation.js} +0 -0
- /package/dist/esm/models/{json-result-page-dto-inspection-standard-entity.js → excel-import-result-dtocalendar-export-dto.js} +0 -0
- /package/dist/esm/models/{json-result-page-dto-sys-user-msg-list-dto.js → excel-import-result-dtoinspection-standard-import-dto.js} +0 -0
- /package/dist/esm/models/{json-result-space-edit-before-and-after-dto.js → excel-import-result-dtomaintenance-standard-import-dto.js} +0 -0
- /package/dist/esm/models/{json-result-sys-user-msg-do.js → inspection-standard-dto.js} +0 -0
- /package/dist/esm/models/{page-dto-inspection-standard-entity.js → inspection-standard-import-dto.js} +0 -0
- /package/dist/esm/models/{page-dto-sys-user-msg-list-dto.js → json-result-excel-import-result-dtocalendar-export-dto.js} +0 -0
- /package/dist/esm/models/{space-edit-before-and-after-dto.js → json-result-excel-import-result-dtoinspection-standard-import-dto.js} +0 -0
- /package/dist/esm/models/{space-edit-excel-dto.js → json-result-excel-import-result-dtomaintenance-standard-import-dto.js} +0 -0
- /package/dist/esm/models/{sys-user-msg-do.js → json-result-list-inspection-standard-entity.js} +0 -0
- /package/dist/esm/models/{sys-user-msg-list-dto.js → json-result-list-work-order-dept-settings-entity.js} +0 -0
- /package/dist/esm/models/{sys-user-msg-search-list-vo.js → json-result-page-dto-inspection-standard-dto.js} +0 -0
- /package/dist/models/{calendar-add-redis-list-vo.js → dept-relation-dto.js} +0 -0
- /package/dist/models/{json-result-calendar-add-redis-list-vo.js → dept-relation.js} +0 -0
- /package/dist/models/{json-result-page-dto-inspection-standard-entity.js → excel-import-result-dtocalendar-export-dto.js} +0 -0
- /package/dist/models/{json-result-page-dto-sys-user-msg-list-dto.js → excel-import-result-dtoinspection-standard-import-dto.js} +0 -0
- /package/dist/models/{json-result-space-edit-before-and-after-dto.js → excel-import-result-dtomaintenance-standard-import-dto.js} +0 -0
- /package/dist/models/{json-result-sys-user-msg-do.js → inspection-standard-dto.js} +0 -0
- /package/dist/models/{page-dto-inspection-standard-entity.js → inspection-standard-import-dto.js} +0 -0
- /package/dist/models/{page-dto-sys-user-msg-list-dto.js → json-result-excel-import-result-dtocalendar-export-dto.js} +0 -0
- /package/dist/models/{space-edit-before-and-after-dto.js → json-result-excel-import-result-dtoinspection-standard-import-dto.js} +0 -0
- /package/dist/models/{space-edit-excel-dto.js → json-result-excel-import-result-dtomaintenance-standard-import-dto.js} +0 -0
- /package/dist/models/{sys-user-msg-do.js → json-result-list-inspection-standard-entity.js} +0 -0
- /package/dist/models/{sys-user-msg-list-dto.js → json-result-list-work-order-dept-settings-entity.js} +0 -0
- /package/dist/models/{sys-user-msg-search-list-vo.js → json-result-page-dto-inspection-standard-dto.js} +0 -0
|
@@ -0,0 +1,1022 @@
|
|
|
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.MaintenanceStandardApi = exports.MaintenanceStandardApiFactory = exports.MaintenanceStandardApiFp = exports.MaintenanceStandardApiAxiosParamCreator = 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
|
+
* MaintenanceStandardApi - axios parameter creator
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
const MaintenanceStandardApiAxiosParamCreator = function (configuration) {
|
|
37
|
+
return {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @summary 新增维保标准
|
|
41
|
+
* @param {Array<MaintenanceStandardAddOrUpdateVo>} maintenanceStandardAddOrUpdateVo
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
addMaintenanceStandard: (maintenanceStandardAddOrUpdateVo_1, ...args_1) => __awaiter(this, [maintenanceStandardAddOrUpdateVo_1, ...args_1], void 0, function* (maintenanceStandardAddOrUpdateVo, options = {}) {
|
|
46
|
+
// verify required parameter 'maintenanceStandardAddOrUpdateVo' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('addMaintenanceStandard', 'maintenanceStandardAddOrUpdateVo', maintenanceStandardAddOrUpdateVo);
|
|
48
|
+
const localVarPath = `/gizone/maintenanceStandard`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
56
|
+
const localVarHeaderParameter = {};
|
|
57
|
+
const localVarQueryParameter = {};
|
|
58
|
+
// authentication tokenScheme required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
61
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
62
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(maintenanceStandardAddOrUpdateVo, localVarRequestOptions, configuration);
|
|
66
|
+
return {
|
|
67
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
|
+
options: localVarRequestOptions,
|
|
69
|
+
};
|
|
70
|
+
}),
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @summary 批量删除维保标准
|
|
74
|
+
* @param {StandardDeleteVo} standardDeleteVo
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
batchDeleteMaintenanceStandard: (standardDeleteVo_1, ...args_1) => __awaiter(this, [standardDeleteVo_1, ...args_1], void 0, function* (standardDeleteVo, options = {}) {
|
|
79
|
+
// verify required parameter 'standardDeleteVo' is not null or undefined
|
|
80
|
+
(0, common_1.assertParamExists)('batchDeleteMaintenanceStandard', 'standardDeleteVo', standardDeleteVo);
|
|
81
|
+
const localVarPath = `/gizone/maintenanceStandard/delBatch`;
|
|
82
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
84
|
+
let baseOptions;
|
|
85
|
+
if (configuration) {
|
|
86
|
+
baseOptions = configuration.baseOptions;
|
|
87
|
+
}
|
|
88
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
89
|
+
const localVarHeaderParameter = {};
|
|
90
|
+
const localVarQueryParameter = {};
|
|
91
|
+
// authentication tokenScheme required
|
|
92
|
+
// http bearer authentication required
|
|
93
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
94
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
95
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
96
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(standardDeleteVo, localVarRequestOptions, configuration);
|
|
99
|
+
return {
|
|
100
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
101
|
+
options: localVarRequestOptions,
|
|
102
|
+
};
|
|
103
|
+
}),
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @summary 删除维保标准
|
|
107
|
+
* @param {number} id
|
|
108
|
+
* @param {*} [options] Override http request option.
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
*/
|
|
111
|
+
deleteMaintenanceStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
112
|
+
// verify required parameter 'id' is not null or undefined
|
|
113
|
+
(0, common_1.assertParamExists)('deleteMaintenanceStandard', 'id', id);
|
|
114
|
+
const localVarPath = `/gizone/maintenanceStandard/{id}`
|
|
115
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
116
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
|
+
let baseOptions;
|
|
119
|
+
if (configuration) {
|
|
120
|
+
baseOptions = configuration.baseOptions;
|
|
121
|
+
}
|
|
122
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
123
|
+
const localVarHeaderParameter = {};
|
|
124
|
+
const localVarQueryParameter = {};
|
|
125
|
+
// authentication tokenScheme required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
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
|
+
return {
|
|
132
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
133
|
+
options: localVarRequestOptions,
|
|
134
|
+
};
|
|
135
|
+
}),
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @summary 维保标准详情
|
|
139
|
+
* @param {number} id
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
getMaintenanceStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
144
|
+
// verify required parameter 'id' is not null or undefined
|
|
145
|
+
(0, common_1.assertParamExists)('getMaintenanceStandard', 'id', id);
|
|
146
|
+
const localVarPath = `/gizone/maintenanceStandard/{id}`
|
|
147
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
148
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
149
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
150
|
+
let baseOptions;
|
|
151
|
+
if (configuration) {
|
|
152
|
+
baseOptions = configuration.baseOptions;
|
|
153
|
+
}
|
|
154
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
155
|
+
const localVarHeaderParameter = {};
|
|
156
|
+
const localVarQueryParameter = {};
|
|
157
|
+
// authentication tokenScheme required
|
|
158
|
+
// http bearer authentication required
|
|
159
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
160
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
161
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
162
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
163
|
+
return {
|
|
164
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
165
|
+
options: localVarRequestOptions,
|
|
166
|
+
};
|
|
167
|
+
}),
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @summary 维保标准列表
|
|
171
|
+
* @param {number} parkId 园区ID
|
|
172
|
+
* @param {number} pageSize 每页数量
|
|
173
|
+
* @param {number} page 页码
|
|
174
|
+
* @param {string} [searchValue] 关键搜索值
|
|
175
|
+
* @param {number} [equipmentSystemId] 维保分类
|
|
176
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
listMaintenanceStandard: (parkId_1, pageSize_1, page_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1) => __awaiter(this, [parkId_1, pageSize_1, page_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1], void 0, function* (parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options = {}) {
|
|
181
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
182
|
+
(0, common_1.assertParamExists)('listMaintenanceStandard', 'parkId', parkId);
|
|
183
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
184
|
+
(0, common_1.assertParamExists)('listMaintenanceStandard', 'pageSize', pageSize);
|
|
185
|
+
// verify required parameter 'page' is not null or undefined
|
|
186
|
+
(0, common_1.assertParamExists)('listMaintenanceStandard', 'page', page);
|
|
187
|
+
const localVarPath = `/gizone/maintenanceStandard`;
|
|
188
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
189
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
190
|
+
let baseOptions;
|
|
191
|
+
if (configuration) {
|
|
192
|
+
baseOptions = configuration.baseOptions;
|
|
193
|
+
}
|
|
194
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
195
|
+
const localVarHeaderParameter = {};
|
|
196
|
+
const localVarQueryParameter = {};
|
|
197
|
+
// authentication tokenScheme required
|
|
198
|
+
// http bearer authentication required
|
|
199
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
200
|
+
if (searchValue !== undefined) {
|
|
201
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
202
|
+
}
|
|
203
|
+
if (equipmentSystemId !== undefined) {
|
|
204
|
+
localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
|
|
205
|
+
}
|
|
206
|
+
if (repeats !== undefined) {
|
|
207
|
+
localVarQueryParameter['repeats'] = repeats;
|
|
208
|
+
}
|
|
209
|
+
if (parkId !== undefined) {
|
|
210
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
211
|
+
}
|
|
212
|
+
if (pageSize !== undefined) {
|
|
213
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
214
|
+
}
|
|
215
|
+
if (page !== undefined) {
|
|
216
|
+
localVarQueryParameter['page'] = page;
|
|
217
|
+
}
|
|
218
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
219
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
220
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
221
|
+
return {
|
|
222
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
223
|
+
options: localVarRequestOptions,
|
|
224
|
+
};
|
|
225
|
+
}),
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @summary 根据设备id查询维保标准
|
|
229
|
+
* @param {number} equipmentId
|
|
230
|
+
* @param {*} [options] Override http request option.
|
|
231
|
+
* @throws {RequiredError}
|
|
232
|
+
*/
|
|
233
|
+
listMaintenanceStandardByEquipmentId: (equipmentId_1, ...args_1) => __awaiter(this, [equipmentId_1, ...args_1], void 0, function* (equipmentId, options = {}) {
|
|
234
|
+
// verify required parameter 'equipmentId' is not null or undefined
|
|
235
|
+
(0, common_1.assertParamExists)('listMaintenanceStandardByEquipmentId', 'equipmentId', equipmentId);
|
|
236
|
+
const localVarPath = `/gizone/maintenanceStandard/selectByEquipmentId`;
|
|
237
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
238
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
239
|
+
let baseOptions;
|
|
240
|
+
if (configuration) {
|
|
241
|
+
baseOptions = configuration.baseOptions;
|
|
242
|
+
}
|
|
243
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
244
|
+
const localVarHeaderParameter = {};
|
|
245
|
+
const localVarQueryParameter = {};
|
|
246
|
+
// authentication tokenScheme required
|
|
247
|
+
// http bearer authentication required
|
|
248
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
249
|
+
if (equipmentId !== undefined) {
|
|
250
|
+
localVarQueryParameter['equipmentId'] = equipmentId;
|
|
251
|
+
}
|
|
252
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
253
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
254
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
255
|
+
return {
|
|
256
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
257
|
+
options: localVarRequestOptions,
|
|
258
|
+
};
|
|
259
|
+
}),
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @summary 根据设备系统id查询维保标准
|
|
263
|
+
* @param {number} equipmentSystemId
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
listMaintenanceStandardByEquipmentSystemId: (equipmentSystemId_1, ...args_1) => __awaiter(this, [equipmentSystemId_1, ...args_1], void 0, function* (equipmentSystemId, options = {}) {
|
|
268
|
+
// verify required parameter 'equipmentSystemId' is not null or undefined
|
|
269
|
+
(0, common_1.assertParamExists)('listMaintenanceStandardByEquipmentSystemId', 'equipmentSystemId', equipmentSystemId);
|
|
270
|
+
const localVarPath = `/gizone/maintenanceStandard/selectByEquipmentSystemId`;
|
|
271
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
272
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
273
|
+
let baseOptions;
|
|
274
|
+
if (configuration) {
|
|
275
|
+
baseOptions = configuration.baseOptions;
|
|
276
|
+
}
|
|
277
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
278
|
+
const localVarHeaderParameter = {};
|
|
279
|
+
const localVarQueryParameter = {};
|
|
280
|
+
// authentication tokenScheme required
|
|
281
|
+
// http bearer authentication required
|
|
282
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
283
|
+
if (equipmentSystemId !== undefined) {
|
|
284
|
+
localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
|
|
285
|
+
}
|
|
286
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
287
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
288
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
289
|
+
return {
|
|
290
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
291
|
+
options: localVarRequestOptions,
|
|
292
|
+
};
|
|
293
|
+
}),
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @summary 维保标准导出-数据
|
|
297
|
+
* @param {number} parkId 园区ID
|
|
298
|
+
* @param {string} [searchValue] 关键搜索值
|
|
299
|
+
* @param {number} [equipmentSystemId] 维保分类
|
|
300
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
301
|
+
* @param {*} [options] Override http request option.
|
|
302
|
+
* @throws {RequiredError}
|
|
303
|
+
*/
|
|
304
|
+
maintenanceStandardBatchExport: (parkId_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1) => __awaiter(this, [parkId_1, searchValue_1, equipmentSystemId_1, repeats_1, ...args_1], void 0, function* (parkId, searchValue, equipmentSystemId, repeats, options = {}) {
|
|
305
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
306
|
+
(0, common_1.assertParamExists)('maintenanceStandardBatchExport', 'parkId', parkId);
|
|
307
|
+
const localVarPath = `/gizone/maintenanceStandard/batchExport`;
|
|
308
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
309
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
310
|
+
let baseOptions;
|
|
311
|
+
if (configuration) {
|
|
312
|
+
baseOptions = configuration.baseOptions;
|
|
313
|
+
}
|
|
314
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
315
|
+
const localVarHeaderParameter = {};
|
|
316
|
+
const localVarQueryParameter = {};
|
|
317
|
+
// authentication tokenScheme required
|
|
318
|
+
// http bearer authentication required
|
|
319
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
320
|
+
if (searchValue !== undefined) {
|
|
321
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
322
|
+
}
|
|
323
|
+
if (equipmentSystemId !== undefined) {
|
|
324
|
+
localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
|
|
325
|
+
}
|
|
326
|
+
if (repeats !== undefined) {
|
|
327
|
+
localVarQueryParameter['repeats'] = repeats;
|
|
328
|
+
}
|
|
329
|
+
if (parkId !== undefined) {
|
|
330
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
331
|
+
}
|
|
332
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
333
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
334
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
335
|
+
return {
|
|
336
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
337
|
+
options: localVarRequestOptions,
|
|
338
|
+
};
|
|
339
|
+
}),
|
|
340
|
+
/**
|
|
341
|
+
*
|
|
342
|
+
* @summary 维保标准导入-确认导入
|
|
343
|
+
* @param {*} [options] Override http request option.
|
|
344
|
+
* @throws {RequiredError}
|
|
345
|
+
*/
|
|
346
|
+
maintenanceStandardBatchImportConfirm: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
347
|
+
const localVarPath = `/gizone/maintenanceStandard/batchImport/confirm`;
|
|
348
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
349
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
350
|
+
let baseOptions;
|
|
351
|
+
if (configuration) {
|
|
352
|
+
baseOptions = configuration.baseOptions;
|
|
353
|
+
}
|
|
354
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
355
|
+
const localVarHeaderParameter = {};
|
|
356
|
+
const localVarQueryParameter = {};
|
|
357
|
+
// authentication tokenScheme required
|
|
358
|
+
// http bearer authentication required
|
|
359
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
360
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
361
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
362
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
363
|
+
return {
|
|
364
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
365
|
+
options: localVarRequestOptions,
|
|
366
|
+
};
|
|
367
|
+
}),
|
|
368
|
+
/**
|
|
369
|
+
*
|
|
370
|
+
* @summary 维保标准导入-预览结果
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
maintenanceStandardBatchImportPreview: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
375
|
+
const localVarPath = `/gizone/maintenanceStandard/batchImport/preview`;
|
|
376
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
377
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
378
|
+
let baseOptions;
|
|
379
|
+
if (configuration) {
|
|
380
|
+
baseOptions = configuration.baseOptions;
|
|
381
|
+
}
|
|
382
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
383
|
+
const localVarHeaderParameter = {};
|
|
384
|
+
const localVarQueryParameter = {};
|
|
385
|
+
// authentication tokenScheme required
|
|
386
|
+
// http bearer authentication required
|
|
387
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
388
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
389
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
390
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
391
|
+
return {
|
|
392
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
393
|
+
options: localVarRequestOptions,
|
|
394
|
+
};
|
|
395
|
+
}),
|
|
396
|
+
/**
|
|
397
|
+
*
|
|
398
|
+
* @summary 维保标准导入-下载模板
|
|
399
|
+
* @param {*} [options] Override http request option.
|
|
400
|
+
* @throws {RequiredError}
|
|
401
|
+
*/
|
|
402
|
+
maintenanceStandardBatchImportTemplate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
403
|
+
const localVarPath = `/gizone/maintenanceStandard/batchImport/template`;
|
|
404
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
405
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
406
|
+
let baseOptions;
|
|
407
|
+
if (configuration) {
|
|
408
|
+
baseOptions = configuration.baseOptions;
|
|
409
|
+
}
|
|
410
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
411
|
+
const localVarHeaderParameter = {};
|
|
412
|
+
const localVarQueryParameter = {};
|
|
413
|
+
// authentication tokenScheme required
|
|
414
|
+
// http bearer authentication required
|
|
415
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
416
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
417
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
418
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
419
|
+
return {
|
|
420
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
421
|
+
options: localVarRequestOptions,
|
|
422
|
+
};
|
|
423
|
+
}),
|
|
424
|
+
/**
|
|
425
|
+
*
|
|
426
|
+
* @summary 维保标准导入-上传文件
|
|
427
|
+
* @param {number} parkId 园区id
|
|
428
|
+
* @param {File} file
|
|
429
|
+
* @param {string} [language] 语言
|
|
430
|
+
* @param {*} [options] Override http request option.
|
|
431
|
+
* @throws {RequiredError}
|
|
432
|
+
*/
|
|
433
|
+
maintenanceStandardBatchImportUpload: (parkId_1, file_1, language_1, ...args_1) => __awaiter(this, [parkId_1, file_1, language_1, ...args_1], void 0, function* (parkId, file, language, options = {}) {
|
|
434
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
435
|
+
(0, common_1.assertParamExists)('maintenanceStandardBatchImportUpload', 'parkId', parkId);
|
|
436
|
+
// verify required parameter 'file' is not null or undefined
|
|
437
|
+
(0, common_1.assertParamExists)('maintenanceStandardBatchImportUpload', 'file', file);
|
|
438
|
+
const localVarPath = `/gizone/maintenanceStandard/batchImport/upload`;
|
|
439
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
440
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
441
|
+
let baseOptions;
|
|
442
|
+
if (configuration) {
|
|
443
|
+
baseOptions = configuration.baseOptions;
|
|
444
|
+
}
|
|
445
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
446
|
+
const localVarHeaderParameter = {};
|
|
447
|
+
const localVarQueryParameter = {};
|
|
448
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
449
|
+
// authentication tokenScheme required
|
|
450
|
+
// http bearer authentication required
|
|
451
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
452
|
+
if (parkId !== undefined) {
|
|
453
|
+
localVarFormParams.append('parkId', parkId);
|
|
454
|
+
}
|
|
455
|
+
if (language !== undefined) {
|
|
456
|
+
localVarFormParams.append('language', language);
|
|
457
|
+
}
|
|
458
|
+
if (file !== undefined) {
|
|
459
|
+
localVarFormParams.append('file', file);
|
|
460
|
+
}
|
|
461
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
462
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
463
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
464
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
465
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
466
|
+
return {
|
|
467
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
468
|
+
options: localVarRequestOptions,
|
|
469
|
+
};
|
|
470
|
+
}),
|
|
471
|
+
/**
|
|
472
|
+
*
|
|
473
|
+
* @summary 编辑维保标准
|
|
474
|
+
* @param {number} id
|
|
475
|
+
* @param {MaintenanceStandardAddOrUpdateVo} maintenanceStandardAddOrUpdateVo
|
|
476
|
+
* @param {*} [options] Override http request option.
|
|
477
|
+
* @throws {RequiredError}
|
|
478
|
+
*/
|
|
479
|
+
updateMaintenanceStandard: (id_1, maintenanceStandardAddOrUpdateVo_1, ...args_1) => __awaiter(this, [id_1, maintenanceStandardAddOrUpdateVo_1, ...args_1], void 0, function* (id, maintenanceStandardAddOrUpdateVo, options = {}) {
|
|
480
|
+
// verify required parameter 'id' is not null or undefined
|
|
481
|
+
(0, common_1.assertParamExists)('updateMaintenanceStandard', 'id', id);
|
|
482
|
+
// verify required parameter 'maintenanceStandardAddOrUpdateVo' is not null or undefined
|
|
483
|
+
(0, common_1.assertParamExists)('updateMaintenanceStandard', 'maintenanceStandardAddOrUpdateVo', maintenanceStandardAddOrUpdateVo);
|
|
484
|
+
const localVarPath = `/gizone/maintenanceStandard/{id}`
|
|
485
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
486
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
487
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
488
|
+
let baseOptions;
|
|
489
|
+
if (configuration) {
|
|
490
|
+
baseOptions = configuration.baseOptions;
|
|
491
|
+
}
|
|
492
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
493
|
+
const localVarHeaderParameter = {};
|
|
494
|
+
const localVarQueryParameter = {};
|
|
495
|
+
// authentication tokenScheme required
|
|
496
|
+
// http bearer authentication required
|
|
497
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
498
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
499
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
500
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
501
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
502
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(maintenanceStandardAddOrUpdateVo, localVarRequestOptions, configuration);
|
|
503
|
+
return {
|
|
504
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
505
|
+
options: localVarRequestOptions,
|
|
506
|
+
};
|
|
507
|
+
}),
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
exports.MaintenanceStandardApiAxiosParamCreator = MaintenanceStandardApiAxiosParamCreator;
|
|
511
|
+
/**
|
|
512
|
+
* MaintenanceStandardApi - functional programming interface
|
|
513
|
+
* @export
|
|
514
|
+
*/
|
|
515
|
+
const MaintenanceStandardApiFp = function (configuration) {
|
|
516
|
+
const localVarAxiosParamCreator = (0, exports.MaintenanceStandardApiAxiosParamCreator)(configuration);
|
|
517
|
+
return {
|
|
518
|
+
/**
|
|
519
|
+
*
|
|
520
|
+
* @summary 新增维保标准
|
|
521
|
+
* @param {Array<MaintenanceStandardAddOrUpdateVo>} maintenanceStandardAddOrUpdateVo
|
|
522
|
+
* @param {*} [options] Override http request option.
|
|
523
|
+
* @throws {RequiredError}
|
|
524
|
+
*/
|
|
525
|
+
addMaintenanceStandard(maintenanceStandardAddOrUpdateVo, options) {
|
|
526
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
527
|
+
var _a, _b, _c;
|
|
528
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addMaintenanceStandard(maintenanceStandardAddOrUpdateVo, options);
|
|
529
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
530
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.addMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
531
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
532
|
+
});
|
|
533
|
+
},
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @summary 批量删除维保标准
|
|
537
|
+
* @param {StandardDeleteVo} standardDeleteVo
|
|
538
|
+
* @param {*} [options] Override http request option.
|
|
539
|
+
* @throws {RequiredError}
|
|
540
|
+
*/
|
|
541
|
+
batchDeleteMaintenanceStandard(standardDeleteVo, options) {
|
|
542
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
543
|
+
var _a, _b, _c;
|
|
544
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.batchDeleteMaintenanceStandard(standardDeleteVo, options);
|
|
545
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
546
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.batchDeleteMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
547
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
548
|
+
});
|
|
549
|
+
},
|
|
550
|
+
/**
|
|
551
|
+
*
|
|
552
|
+
* @summary 删除维保标准
|
|
553
|
+
* @param {number} id
|
|
554
|
+
* @param {*} [options] Override http request option.
|
|
555
|
+
* @throws {RequiredError}
|
|
556
|
+
*/
|
|
557
|
+
deleteMaintenanceStandard(id, options) {
|
|
558
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
559
|
+
var _a, _b, _c;
|
|
560
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteMaintenanceStandard(id, options);
|
|
561
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
562
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.deleteMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
563
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
564
|
+
});
|
|
565
|
+
},
|
|
566
|
+
/**
|
|
567
|
+
*
|
|
568
|
+
* @summary 维保标准详情
|
|
569
|
+
* @param {number} id
|
|
570
|
+
* @param {*} [options] Override http request option.
|
|
571
|
+
* @throws {RequiredError}
|
|
572
|
+
*/
|
|
573
|
+
getMaintenanceStandard(id, options) {
|
|
574
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
575
|
+
var _a, _b, _c;
|
|
576
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getMaintenanceStandard(id, options);
|
|
577
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
578
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.getMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
579
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
580
|
+
});
|
|
581
|
+
},
|
|
582
|
+
/**
|
|
583
|
+
*
|
|
584
|
+
* @summary 维保标准列表
|
|
585
|
+
* @param {number} parkId 园区ID
|
|
586
|
+
* @param {number} pageSize 每页数量
|
|
587
|
+
* @param {number} page 页码
|
|
588
|
+
* @param {string} [searchValue] 关键搜索值
|
|
589
|
+
* @param {number} [equipmentSystemId] 维保分类
|
|
590
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
591
|
+
* @param {*} [options] Override http request option.
|
|
592
|
+
* @throws {RequiredError}
|
|
593
|
+
*/
|
|
594
|
+
listMaintenanceStandard(parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options) {
|
|
595
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
596
|
+
var _a, _b, _c;
|
|
597
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandard(parkId, pageSize, page, searchValue, equipmentSystemId, repeats, options);
|
|
598
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
599
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.listMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
600
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
601
|
+
});
|
|
602
|
+
},
|
|
603
|
+
/**
|
|
604
|
+
*
|
|
605
|
+
* @summary 根据设备id查询维保标准
|
|
606
|
+
* @param {number} equipmentId
|
|
607
|
+
* @param {*} [options] Override http request option.
|
|
608
|
+
* @throws {RequiredError}
|
|
609
|
+
*/
|
|
610
|
+
listMaintenanceStandardByEquipmentId(equipmentId, options) {
|
|
611
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
612
|
+
var _a, _b, _c;
|
|
613
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandardByEquipmentId(equipmentId, options);
|
|
614
|
+
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['MaintenanceStandardApi.listMaintenanceStandardByEquipmentId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
616
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
617
|
+
});
|
|
618
|
+
},
|
|
619
|
+
/**
|
|
620
|
+
*
|
|
621
|
+
* @summary 根据设备系统id查询维保标准
|
|
622
|
+
* @param {number} equipmentSystemId
|
|
623
|
+
* @param {*} [options] Override http request option.
|
|
624
|
+
* @throws {RequiredError}
|
|
625
|
+
*/
|
|
626
|
+
listMaintenanceStandardByEquipmentSystemId(equipmentSystemId, options) {
|
|
627
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
628
|
+
var _a, _b, _c;
|
|
629
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMaintenanceStandardByEquipmentSystemId(equipmentSystemId, options);
|
|
630
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
631
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.listMaintenanceStandardByEquipmentSystemId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
632
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
633
|
+
});
|
|
634
|
+
},
|
|
635
|
+
/**
|
|
636
|
+
*
|
|
637
|
+
* @summary 维保标准导出-数据
|
|
638
|
+
* @param {number} parkId 园区ID
|
|
639
|
+
* @param {string} [searchValue] 关键搜索值
|
|
640
|
+
* @param {number} [equipmentSystemId] 维保分类
|
|
641
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
642
|
+
* @param {*} [options] Override http request option.
|
|
643
|
+
* @throws {RequiredError}
|
|
644
|
+
*/
|
|
645
|
+
maintenanceStandardBatchExport(parkId, searchValue, equipmentSystemId, repeats, options) {
|
|
646
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
647
|
+
var _a, _b, _c;
|
|
648
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchExport(parkId, searchValue, equipmentSystemId, repeats, 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['MaintenanceStandardApi.maintenanceStandardBatchExport']) === 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 {*} [options] Override http request option.
|
|
658
|
+
* @throws {RequiredError}
|
|
659
|
+
*/
|
|
660
|
+
maintenanceStandardBatchImportConfirm(options) {
|
|
661
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
662
|
+
var _a, _b, _c;
|
|
663
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchImportConfirm(options);
|
|
664
|
+
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['MaintenanceStandardApi.maintenanceStandardBatchImportConfirm']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
666
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
667
|
+
});
|
|
668
|
+
},
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @summary 维保标准导入-预览结果
|
|
672
|
+
* @param {*} [options] Override http request option.
|
|
673
|
+
* @throws {RequiredError}
|
|
674
|
+
*/
|
|
675
|
+
maintenanceStandardBatchImportPreview(options) {
|
|
676
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
677
|
+
var _a, _b, _c;
|
|
678
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchImportPreview(options);
|
|
679
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
680
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchImportPreview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
681
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
682
|
+
});
|
|
683
|
+
},
|
|
684
|
+
/**
|
|
685
|
+
*
|
|
686
|
+
* @summary 维保标准导入-下载模板
|
|
687
|
+
* @param {*} [options] Override http request option.
|
|
688
|
+
* @throws {RequiredError}
|
|
689
|
+
*/
|
|
690
|
+
maintenanceStandardBatchImportTemplate(options) {
|
|
691
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
692
|
+
var _a, _b, _c;
|
|
693
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchImportTemplate(options);
|
|
694
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
695
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchImportTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
696
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
697
|
+
});
|
|
698
|
+
},
|
|
699
|
+
/**
|
|
700
|
+
*
|
|
701
|
+
* @summary 维保标准导入-上传文件
|
|
702
|
+
* @param {number} parkId 园区id
|
|
703
|
+
* @param {File} file
|
|
704
|
+
* @param {string} [language] 语言
|
|
705
|
+
* @param {*} [options] Override http request option.
|
|
706
|
+
* @throws {RequiredError}
|
|
707
|
+
*/
|
|
708
|
+
maintenanceStandardBatchImportUpload(parkId, file, language, options) {
|
|
709
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
710
|
+
var _a, _b, _c;
|
|
711
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.maintenanceStandardBatchImportUpload(parkId, file, language, options);
|
|
712
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
713
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.maintenanceStandardBatchImportUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
714
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
715
|
+
});
|
|
716
|
+
},
|
|
717
|
+
/**
|
|
718
|
+
*
|
|
719
|
+
* @summary 编辑维保标准
|
|
720
|
+
* @param {number} id
|
|
721
|
+
* @param {MaintenanceStandardAddOrUpdateVo} maintenanceStandardAddOrUpdateVo
|
|
722
|
+
* @param {*} [options] Override http request option.
|
|
723
|
+
* @throws {RequiredError}
|
|
724
|
+
*/
|
|
725
|
+
updateMaintenanceStandard(id, maintenanceStandardAddOrUpdateVo, options) {
|
|
726
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
727
|
+
var _a, _b, _c;
|
|
728
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateMaintenanceStandard(id, maintenanceStandardAddOrUpdateVo, options);
|
|
729
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
730
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MaintenanceStandardApi.updateMaintenanceStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
731
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
732
|
+
});
|
|
733
|
+
},
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
exports.MaintenanceStandardApiFp = MaintenanceStandardApiFp;
|
|
737
|
+
/**
|
|
738
|
+
* MaintenanceStandardApi - factory interface
|
|
739
|
+
* @export
|
|
740
|
+
*/
|
|
741
|
+
const MaintenanceStandardApiFactory = function (configuration, basePath, axios) {
|
|
742
|
+
const localVarFp = (0, exports.MaintenanceStandardApiFp)(configuration);
|
|
743
|
+
return {
|
|
744
|
+
/**
|
|
745
|
+
*
|
|
746
|
+
* @summary 新增维保标准
|
|
747
|
+
* @param {MaintenanceStandardApiAddMaintenanceStandardRequest} requestParameters Request parameters.
|
|
748
|
+
* @param {*} [options] Override http request option.
|
|
749
|
+
* @throws {RequiredError}
|
|
750
|
+
*/
|
|
751
|
+
addMaintenanceStandard(requestParameters, options) {
|
|
752
|
+
return localVarFp.addMaintenanceStandard(requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
753
|
+
},
|
|
754
|
+
/**
|
|
755
|
+
*
|
|
756
|
+
* @summary 批量删除维保标准
|
|
757
|
+
* @param {MaintenanceStandardApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
758
|
+
* @param {*} [options] Override http request option.
|
|
759
|
+
* @throws {RequiredError}
|
|
760
|
+
*/
|
|
761
|
+
batchDeleteMaintenanceStandard(requestParameters, options) {
|
|
762
|
+
return localVarFp.batchDeleteMaintenanceStandard(requestParameters.standardDeleteVo, options).then((request) => request(axios, basePath));
|
|
763
|
+
},
|
|
764
|
+
/**
|
|
765
|
+
*
|
|
766
|
+
* @summary 删除维保标准
|
|
767
|
+
* @param {MaintenanceStandardApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
768
|
+
* @param {*} [options] Override http request option.
|
|
769
|
+
* @throws {RequiredError}
|
|
770
|
+
*/
|
|
771
|
+
deleteMaintenanceStandard(requestParameters, options) {
|
|
772
|
+
return localVarFp.deleteMaintenanceStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
773
|
+
},
|
|
774
|
+
/**
|
|
775
|
+
*
|
|
776
|
+
* @summary 维保标准详情
|
|
777
|
+
* @param {MaintenanceStandardApiGetMaintenanceStandardRequest} requestParameters Request parameters.
|
|
778
|
+
* @param {*} [options] Override http request option.
|
|
779
|
+
* @throws {RequiredError}
|
|
780
|
+
*/
|
|
781
|
+
getMaintenanceStandard(requestParameters, options) {
|
|
782
|
+
return localVarFp.getMaintenanceStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
783
|
+
},
|
|
784
|
+
/**
|
|
785
|
+
*
|
|
786
|
+
* @summary 维保标准列表
|
|
787
|
+
* @param {MaintenanceStandardApiListMaintenanceStandardRequest} requestParameters Request parameters.
|
|
788
|
+
* @param {*} [options] Override http request option.
|
|
789
|
+
* @throws {RequiredError}
|
|
790
|
+
*/
|
|
791
|
+
listMaintenanceStandard(requestParameters, options) {
|
|
792
|
+
return localVarFp.listMaintenanceStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(axios, basePath));
|
|
793
|
+
},
|
|
794
|
+
/**
|
|
795
|
+
*
|
|
796
|
+
* @summary 根据设备id查询维保标准
|
|
797
|
+
* @param {MaintenanceStandardApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
798
|
+
* @param {*} [options] Override http request option.
|
|
799
|
+
* @throws {RequiredError}
|
|
800
|
+
*/
|
|
801
|
+
listMaintenanceStandardByEquipmentId(requestParameters, options) {
|
|
802
|
+
return localVarFp.listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(axios, basePath));
|
|
803
|
+
},
|
|
804
|
+
/**
|
|
805
|
+
*
|
|
806
|
+
* @summary 根据设备系统id查询维保标准
|
|
807
|
+
* @param {MaintenanceStandardApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
808
|
+
* @param {*} [options] Override http request option.
|
|
809
|
+
* @throws {RequiredError}
|
|
810
|
+
*/
|
|
811
|
+
listMaintenanceStandardByEquipmentSystemId(requestParameters, options) {
|
|
812
|
+
return localVarFp.listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(axios, basePath));
|
|
813
|
+
},
|
|
814
|
+
/**
|
|
815
|
+
*
|
|
816
|
+
* @summary 维保标准导出-数据
|
|
817
|
+
* @param {MaintenanceStandardApiMaintenanceStandardBatchExportRequest} requestParameters Request parameters.
|
|
818
|
+
* @param {*} [options] Override http request option.
|
|
819
|
+
* @throws {RequiredError}
|
|
820
|
+
*/
|
|
821
|
+
maintenanceStandardBatchExport(requestParameters, options) {
|
|
822
|
+
return localVarFp.maintenanceStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(axios, basePath));
|
|
823
|
+
},
|
|
824
|
+
/**
|
|
825
|
+
*
|
|
826
|
+
* @summary 维保标准导入-确认导入
|
|
827
|
+
* @param {*} [options] Override http request option.
|
|
828
|
+
* @throws {RequiredError}
|
|
829
|
+
*/
|
|
830
|
+
maintenanceStandardBatchImportConfirm(options) {
|
|
831
|
+
return localVarFp.maintenanceStandardBatchImportConfirm(options).then((request) => request(axios, basePath));
|
|
832
|
+
},
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @summary 维保标准导入-预览结果
|
|
836
|
+
* @param {*} [options] Override http request option.
|
|
837
|
+
* @throws {RequiredError}
|
|
838
|
+
*/
|
|
839
|
+
maintenanceStandardBatchImportPreview(options) {
|
|
840
|
+
return localVarFp.maintenanceStandardBatchImportPreview(options).then((request) => request(axios, basePath));
|
|
841
|
+
},
|
|
842
|
+
/**
|
|
843
|
+
*
|
|
844
|
+
* @summary 维保标准导入-下载模板
|
|
845
|
+
* @param {*} [options] Override http request option.
|
|
846
|
+
* @throws {RequiredError}
|
|
847
|
+
*/
|
|
848
|
+
maintenanceStandardBatchImportTemplate(options) {
|
|
849
|
+
return localVarFp.maintenanceStandardBatchImportTemplate(options).then((request) => request(axios, basePath));
|
|
850
|
+
},
|
|
851
|
+
/**
|
|
852
|
+
*
|
|
853
|
+
* @summary 维保标准导入-上传文件
|
|
854
|
+
* @param {MaintenanceStandardApiMaintenanceStandardBatchImportUploadRequest} requestParameters Request parameters.
|
|
855
|
+
* @param {*} [options] Override http request option.
|
|
856
|
+
* @throws {RequiredError}
|
|
857
|
+
*/
|
|
858
|
+
maintenanceStandardBatchImportUpload(requestParameters, options) {
|
|
859
|
+
return localVarFp.maintenanceStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
860
|
+
},
|
|
861
|
+
/**
|
|
862
|
+
*
|
|
863
|
+
* @summary 编辑维保标准
|
|
864
|
+
* @param {MaintenanceStandardApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
|
|
865
|
+
* @param {*} [options] Override http request option.
|
|
866
|
+
* @throws {RequiredError}
|
|
867
|
+
*/
|
|
868
|
+
updateMaintenanceStandard(requestParameters, options) {
|
|
869
|
+
return localVarFp.updateMaintenanceStandard(requestParameters.id, requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
870
|
+
},
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
exports.MaintenanceStandardApiFactory = MaintenanceStandardApiFactory;
|
|
874
|
+
/**
|
|
875
|
+
* MaintenanceStandardApi - object-oriented interface
|
|
876
|
+
* @export
|
|
877
|
+
* @class MaintenanceStandardApi
|
|
878
|
+
* @extends {BaseAPI}
|
|
879
|
+
*/
|
|
880
|
+
class MaintenanceStandardApi extends base_1.BaseAPI {
|
|
881
|
+
/**
|
|
882
|
+
*
|
|
883
|
+
* @summary 新增维保标准
|
|
884
|
+
* @param {MaintenanceStandardApiAddMaintenanceStandardRequest} requestParameters Request parameters.
|
|
885
|
+
* @param {*} [options] Override http request option.
|
|
886
|
+
* @throws {RequiredError}
|
|
887
|
+
* @memberof MaintenanceStandardApi
|
|
888
|
+
*/
|
|
889
|
+
addMaintenanceStandard(requestParameters, options) {
|
|
890
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).addMaintenanceStandard(requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
891
|
+
}
|
|
892
|
+
/**
|
|
893
|
+
*
|
|
894
|
+
* @summary 批量删除维保标准
|
|
895
|
+
* @param {MaintenanceStandardApiBatchDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
896
|
+
* @param {*} [options] Override http request option.
|
|
897
|
+
* @throws {RequiredError}
|
|
898
|
+
* @memberof MaintenanceStandardApi
|
|
899
|
+
*/
|
|
900
|
+
batchDeleteMaintenanceStandard(requestParameters, options) {
|
|
901
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).batchDeleteMaintenanceStandard(requestParameters.standardDeleteVo, options).then((request) => request(this.axios, this.basePath));
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
*
|
|
905
|
+
* @summary 删除维保标准
|
|
906
|
+
* @param {MaintenanceStandardApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
907
|
+
* @param {*} [options] Override http request option.
|
|
908
|
+
* @throws {RequiredError}
|
|
909
|
+
* @memberof MaintenanceStandardApi
|
|
910
|
+
*/
|
|
911
|
+
deleteMaintenanceStandard(requestParameters, options) {
|
|
912
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).deleteMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
913
|
+
}
|
|
914
|
+
/**
|
|
915
|
+
*
|
|
916
|
+
* @summary 维保标准详情
|
|
917
|
+
* @param {MaintenanceStandardApiGetMaintenanceStandardRequest} requestParameters Request parameters.
|
|
918
|
+
* @param {*} [options] Override http request option.
|
|
919
|
+
* @throws {RequiredError}
|
|
920
|
+
* @memberof MaintenanceStandardApi
|
|
921
|
+
*/
|
|
922
|
+
getMaintenanceStandard(requestParameters, options) {
|
|
923
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).getMaintenanceStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
924
|
+
}
|
|
925
|
+
/**
|
|
926
|
+
*
|
|
927
|
+
* @summary 维保标准列表
|
|
928
|
+
* @param {MaintenanceStandardApiListMaintenanceStandardRequest} requestParameters Request parameters.
|
|
929
|
+
* @param {*} [options] Override http request option.
|
|
930
|
+
* @throws {RequiredError}
|
|
931
|
+
* @memberof MaintenanceStandardApi
|
|
932
|
+
*/
|
|
933
|
+
listMaintenanceStandard(requestParameters, options) {
|
|
934
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).listMaintenanceStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
|
|
935
|
+
}
|
|
936
|
+
/**
|
|
937
|
+
*
|
|
938
|
+
* @summary 根据设备id查询维保标准
|
|
939
|
+
* @param {MaintenanceStandardApiListMaintenanceStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
940
|
+
* @param {*} [options] Override http request option.
|
|
941
|
+
* @throws {RequiredError}
|
|
942
|
+
* @memberof MaintenanceStandardApi
|
|
943
|
+
*/
|
|
944
|
+
listMaintenanceStandardByEquipmentId(requestParameters, options) {
|
|
945
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).listMaintenanceStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
946
|
+
}
|
|
947
|
+
/**
|
|
948
|
+
*
|
|
949
|
+
* @summary 根据设备系统id查询维保标准
|
|
950
|
+
* @param {MaintenanceStandardApiListMaintenanceStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
951
|
+
* @param {*} [options] Override http request option.
|
|
952
|
+
* @throws {RequiredError}
|
|
953
|
+
* @memberof MaintenanceStandardApi
|
|
954
|
+
*/
|
|
955
|
+
listMaintenanceStandardByEquipmentSystemId(requestParameters, options) {
|
|
956
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).listMaintenanceStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(this.axios, this.basePath));
|
|
957
|
+
}
|
|
958
|
+
/**
|
|
959
|
+
*
|
|
960
|
+
* @summary 维保标准导出-数据
|
|
961
|
+
* @param {MaintenanceStandardApiMaintenanceStandardBatchExportRequest} requestParameters Request parameters.
|
|
962
|
+
* @param {*} [options] Override http request option.
|
|
963
|
+
* @throws {RequiredError}
|
|
964
|
+
* @memberof MaintenanceStandardApi
|
|
965
|
+
*/
|
|
966
|
+
maintenanceStandardBatchExport(requestParameters, options) {
|
|
967
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).maintenanceStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.equipmentSystemId, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
|
|
968
|
+
}
|
|
969
|
+
/**
|
|
970
|
+
*
|
|
971
|
+
* @summary 维保标准导入-确认导入
|
|
972
|
+
* @param {*} [options] Override http request option.
|
|
973
|
+
* @throws {RequiredError}
|
|
974
|
+
* @memberof MaintenanceStandardApi
|
|
975
|
+
*/
|
|
976
|
+
maintenanceStandardBatchImportConfirm(options) {
|
|
977
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).maintenanceStandardBatchImportConfirm(options).then((request) => request(this.axios, this.basePath));
|
|
978
|
+
}
|
|
979
|
+
/**
|
|
980
|
+
*
|
|
981
|
+
* @summary 维保标准导入-预览结果
|
|
982
|
+
* @param {*} [options] Override http request option.
|
|
983
|
+
* @throws {RequiredError}
|
|
984
|
+
* @memberof MaintenanceStandardApi
|
|
985
|
+
*/
|
|
986
|
+
maintenanceStandardBatchImportPreview(options) {
|
|
987
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).maintenanceStandardBatchImportPreview(options).then((request) => request(this.axios, this.basePath));
|
|
988
|
+
}
|
|
989
|
+
/**
|
|
990
|
+
*
|
|
991
|
+
* @summary 维保标准导入-下载模板
|
|
992
|
+
* @param {*} [options] Override http request option.
|
|
993
|
+
* @throws {RequiredError}
|
|
994
|
+
* @memberof MaintenanceStandardApi
|
|
995
|
+
*/
|
|
996
|
+
maintenanceStandardBatchImportTemplate(options) {
|
|
997
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).maintenanceStandardBatchImportTemplate(options).then((request) => request(this.axios, this.basePath));
|
|
998
|
+
}
|
|
999
|
+
/**
|
|
1000
|
+
*
|
|
1001
|
+
* @summary 维保标准导入-上传文件
|
|
1002
|
+
* @param {MaintenanceStandardApiMaintenanceStandardBatchImportUploadRequest} requestParameters Request parameters.
|
|
1003
|
+
* @param {*} [options] Override http request option.
|
|
1004
|
+
* @throws {RequiredError}
|
|
1005
|
+
* @memberof MaintenanceStandardApi
|
|
1006
|
+
*/
|
|
1007
|
+
maintenanceStandardBatchImportUpload(requestParameters, options) {
|
|
1008
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).maintenanceStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
1009
|
+
}
|
|
1010
|
+
/**
|
|
1011
|
+
*
|
|
1012
|
+
* @summary 编辑维保标准
|
|
1013
|
+
* @param {MaintenanceStandardApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1014
|
+
* @param {*} [options] Override http request option.
|
|
1015
|
+
* @throws {RequiredError}
|
|
1016
|
+
* @memberof MaintenanceStandardApi
|
|
1017
|
+
*/
|
|
1018
|
+
updateMaintenanceStandard(requestParameters, options) {
|
|
1019
|
+
return (0, exports.MaintenanceStandardApiFp)(this.configuration).updateMaintenanceStandard(requestParameters.id, requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
exports.MaintenanceStandardApi = MaintenanceStandardApi;
|