@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
|
@@ -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.InspectionStandardApi = exports.InspectionStandardApiFactory = exports.InspectionStandardApiFp = exports.InspectionStandardApiAxiosParamCreator = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -30,22 +30,22 @@ const common_1 = require("../common");
|
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
const base_1 = require("../base");
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* InspectionStandardApi - axios parameter creator
|
|
34
34
|
* @export
|
|
35
35
|
*/
|
|
36
|
-
const
|
|
36
|
+
const InspectionStandardApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
* @summary
|
|
41
|
-
* @param {Array<
|
|
40
|
+
* @summary 添加巡检标准
|
|
41
|
+
* @param {Array<InspectionStandardAddOrUpdateVO>} inspectionStandardAddOrUpdateVO
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
|
|
46
|
-
// verify required parameter '
|
|
47
|
-
(0, common_1.assertParamExists)('
|
|
48
|
-
const localVarPath = `/gizone/
|
|
45
|
+
createInspectionStandard: (inspectionStandardAddOrUpdateVO_1, ...args_1) => __awaiter(this, [inspectionStandardAddOrUpdateVO_1, ...args_1], void 0, function* (inspectionStandardAddOrUpdateVO, options = {}) {
|
|
46
|
+
// verify required parameter 'inspectionStandardAddOrUpdateVO' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('createInspectionStandard', 'inspectionStandardAddOrUpdateVO', inspectionStandardAddOrUpdateVO);
|
|
48
|
+
const localVarPath = `/gizone/inspectionStandard`;
|
|
49
49
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
50
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
51
|
let baseOptions;
|
|
@@ -62,7 +62,7 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
62
62
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
63
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
64
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
65
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inspectionStandardAddOrUpdateVO, localVarRequestOptions, configuration);
|
|
66
66
|
return {
|
|
67
67
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
68
|
options: localVarRequestOptions,
|
|
@@ -70,15 +70,16 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
70
70
|
}),
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
|
-
* @summary
|
|
74
|
-
* @param {
|
|
73
|
+
* @summary 删除巡检标准
|
|
74
|
+
* @param {number} id 巡检标准id
|
|
75
75
|
* @param {*} [options] Override http request option.
|
|
76
76
|
* @throws {RequiredError}
|
|
77
77
|
*/
|
|
78
|
-
|
|
79
|
-
// verify required parameter '
|
|
80
|
-
(0, common_1.assertParamExists)('
|
|
81
|
-
const localVarPath = `/gizone/
|
|
78
|
+
deleteInspectionStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
79
|
+
// verify required parameter 'id' is not null or undefined
|
|
80
|
+
(0, common_1.assertParamExists)('deleteInspectionStandard', 'id', id);
|
|
81
|
+
const localVarPath = `/gizone/inspectionStandard/{id}`
|
|
82
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
82
83
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
84
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
84
85
|
let baseOptions;
|
|
@@ -91,11 +92,9 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
91
92
|
// authentication tokenScheme required
|
|
92
93
|
// http bearer authentication required
|
|
93
94
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
94
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
95
95
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
96
96
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
97
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(standardDeleteVo, localVarRequestOptions, configuration);
|
|
99
98
|
return {
|
|
100
99
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
101
100
|
options: localVarRequestOptions,
|
|
@@ -103,15 +102,15 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
103
102
|
}),
|
|
104
103
|
/**
|
|
105
104
|
*
|
|
106
|
-
* @summary
|
|
107
|
-
* @param {Array<
|
|
105
|
+
* @summary 批量删除巡检标准
|
|
106
|
+
* @param {Array<number>} requestBody
|
|
108
107
|
* @param {*} [options] Override http request option.
|
|
109
108
|
* @throws {RequiredError}
|
|
110
109
|
*/
|
|
111
|
-
|
|
112
|
-
// verify required parameter '
|
|
113
|
-
(0, common_1.assertParamExists)('
|
|
114
|
-
const localVarPath = `/gizone/inspectionStandard`;
|
|
110
|
+
deleteInspectionStandards: (requestBody_1, ...args_1) => __awaiter(this, [requestBody_1, ...args_1], void 0, function* (requestBody, options = {}) {
|
|
111
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
112
|
+
(0, common_1.assertParamExists)('deleteInspectionStandards', 'requestBody', requestBody);
|
|
113
|
+
const localVarPath = `/gizone/inspectionStandard/delBatch`;
|
|
115
114
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
116
115
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
117
116
|
let baseOptions;
|
|
@@ -128,7 +127,7 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
128
127
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
129
128
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
130
129
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
131
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
130
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
132
131
|
return {
|
|
133
132
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
134
133
|
options: localVarRequestOptions,
|
|
@@ -136,14 +135,14 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
136
135
|
}),
|
|
137
136
|
/**
|
|
138
137
|
*
|
|
139
|
-
* @summary
|
|
140
|
-
* @param {number} id
|
|
138
|
+
* @summary 巡检标准详情
|
|
139
|
+
* @param {number} id
|
|
141
140
|
* @param {*} [options] Override http request option.
|
|
142
141
|
* @throws {RequiredError}
|
|
143
142
|
*/
|
|
144
|
-
|
|
143
|
+
getInspectionStandard: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
145
144
|
// verify required parameter 'id' is not null or undefined
|
|
146
|
-
(0, common_1.assertParamExists)('
|
|
145
|
+
(0, common_1.assertParamExists)('getInspectionStandard', 'id', id);
|
|
147
146
|
const localVarPath = `/gizone/inspectionStandard/{id}`
|
|
148
147
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
149
148
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -152,7 +151,7 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
152
151
|
if (configuration) {
|
|
153
152
|
baseOptions = configuration.baseOptions;
|
|
154
153
|
}
|
|
155
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
154
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
156
155
|
const localVarHeaderParameter = {};
|
|
157
156
|
const localVarQueryParameter = {};
|
|
158
157
|
// authentication tokenScheme required
|
|
@@ -168,32 +167,45 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
168
167
|
}),
|
|
169
168
|
/**
|
|
170
169
|
*
|
|
171
|
-
* @summary
|
|
172
|
-
* @param {
|
|
170
|
+
* @summary 巡检标准导出-数据
|
|
171
|
+
* @param {number} parkId 园区id
|
|
172
|
+
* @param {string} [searchValue] 内容
|
|
173
|
+
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
174
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
173
175
|
* @param {*} [options] Override http request option.
|
|
174
176
|
* @throws {RequiredError}
|
|
175
177
|
*/
|
|
176
|
-
|
|
177
|
-
// verify required parameter '
|
|
178
|
-
(0, common_1.assertParamExists)('
|
|
179
|
-
const localVarPath = `/gizone/inspectionStandard/
|
|
178
|
+
inspectionStandardBatchExport: (parkId_1, searchValue_1, category_1, repeats_1, ...args_1) => __awaiter(this, [parkId_1, searchValue_1, category_1, repeats_1, ...args_1], void 0, function* (parkId, searchValue, category, repeats, options = {}) {
|
|
179
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
180
|
+
(0, common_1.assertParamExists)('inspectionStandardBatchExport', 'parkId', parkId);
|
|
181
|
+
const localVarPath = `/gizone/inspectionStandard/batchExport`;
|
|
180
182
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
181
183
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
182
184
|
let baseOptions;
|
|
183
185
|
if (configuration) {
|
|
184
186
|
baseOptions = configuration.baseOptions;
|
|
185
187
|
}
|
|
186
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
188
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
187
189
|
const localVarHeaderParameter = {};
|
|
188
190
|
const localVarQueryParameter = {};
|
|
189
191
|
// authentication tokenScheme required
|
|
190
192
|
// http bearer authentication required
|
|
191
193
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
192
|
-
|
|
194
|
+
if (searchValue !== undefined) {
|
|
195
|
+
localVarQueryParameter['searchValue'] = searchValue;
|
|
196
|
+
}
|
|
197
|
+
if (category !== undefined) {
|
|
198
|
+
localVarQueryParameter['category'] = category;
|
|
199
|
+
}
|
|
200
|
+
if (parkId !== undefined) {
|
|
201
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
202
|
+
}
|
|
203
|
+
if (repeats !== undefined) {
|
|
204
|
+
localVarQueryParameter['repeats'] = repeats;
|
|
205
|
+
}
|
|
193
206
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
194
207
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
195
208
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
196
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
197
209
|
return {
|
|
198
210
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
199
211
|
options: localVarRequestOptions,
|
|
@@ -201,23 +213,19 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
201
213
|
}),
|
|
202
214
|
/**
|
|
203
215
|
*
|
|
204
|
-
* @summary
|
|
205
|
-
* @param {number} id
|
|
216
|
+
* @summary 巡检标准导入-确认导入
|
|
206
217
|
* @param {*} [options] Override http request option.
|
|
207
218
|
* @throws {RequiredError}
|
|
208
219
|
*/
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
(0, common_1.assertParamExists)('deleteMaintenanceStandard', 'id', id);
|
|
212
|
-
const localVarPath = `/gizone/maintenanceStandard/{id}`
|
|
213
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
220
|
+
inspectionStandardBatchImportConfirm: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
221
|
+
const localVarPath = `/gizone/inspectionStandard/batchImport/confirm`;
|
|
214
222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
215
223
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
216
224
|
let baseOptions;
|
|
217
225
|
if (configuration) {
|
|
218
226
|
baseOptions = configuration.baseOptions;
|
|
219
227
|
}
|
|
220
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
228
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
221
229
|
const localVarHeaderParameter = {};
|
|
222
230
|
const localVarQueryParameter = {};
|
|
223
231
|
// authentication tokenScheme required
|
|
@@ -233,16 +241,12 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
233
241
|
}),
|
|
234
242
|
/**
|
|
235
243
|
*
|
|
236
|
-
* @summary
|
|
237
|
-
* @param {number} id
|
|
244
|
+
* @summary 巡检标准导入-预览结果
|
|
238
245
|
* @param {*} [options] Override http request option.
|
|
239
246
|
* @throws {RequiredError}
|
|
240
247
|
*/
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
(0, common_1.assertParamExists)('getInspectionStandard', 'id', id);
|
|
244
|
-
const localVarPath = `/gizone/inspectionStandard/{id}`
|
|
245
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
248
|
+
inspectionStandardBatchImportPreview: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
249
|
+
const localVarPath = `/gizone/inspectionStandard/batchImport/preview`;
|
|
246
250
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
247
251
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
248
252
|
let baseOptions;
|
|
@@ -265,16 +269,12 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
265
269
|
}),
|
|
266
270
|
/**
|
|
267
271
|
*
|
|
268
|
-
* @summary
|
|
269
|
-
* @param {number} id
|
|
272
|
+
* @summary 巡检标准导入-下载模板
|
|
270
273
|
* @param {*} [options] Override http request option.
|
|
271
274
|
* @throws {RequiredError}
|
|
272
275
|
*/
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
(0, common_1.assertParamExists)('getMaintenanceStandard', 'id', id);
|
|
276
|
-
const localVarPath = `/gizone/maintenanceStandard/{id}`
|
|
277
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
276
|
+
inspectionStandardBatchImportTemplate: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
277
|
+
const localVarPath = `/gizone/inspectionStandard/batchImport/template`;
|
|
278
278
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
279
279
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
280
280
|
let baseOptions;
|
|
@@ -297,57 +297,46 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
297
297
|
}),
|
|
298
298
|
/**
|
|
299
299
|
*
|
|
300
|
-
* @summary
|
|
300
|
+
* @summary 巡检标准导入-上传文件
|
|
301
301
|
* @param {number} parkId 园区id
|
|
302
|
-
* @param {
|
|
303
|
-
* @param {
|
|
304
|
-
* @param {string} [searchValue] 内容
|
|
305
|
-
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
306
|
-
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
302
|
+
* @param {File} file
|
|
303
|
+
* @param {string} [language] 语言
|
|
307
304
|
* @param {*} [options] Override http request option.
|
|
308
305
|
* @throws {RequiredError}
|
|
309
306
|
*/
|
|
310
|
-
|
|
307
|
+
inspectionStandardBatchImportUpload: (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 = {}) {
|
|
311
308
|
// verify required parameter 'parkId' is not null or undefined
|
|
312
|
-
(0, common_1.assertParamExists)('
|
|
313
|
-
// verify required parameter '
|
|
314
|
-
(0, common_1.assertParamExists)('
|
|
315
|
-
|
|
316
|
-
(0, common_1.assertParamExists)('listInspectionStandard', 'page', page);
|
|
317
|
-
const localVarPath = `/gizone/inspectionStandard`;
|
|
309
|
+
(0, common_1.assertParamExists)('inspectionStandardBatchImportUpload', 'parkId', parkId);
|
|
310
|
+
// verify required parameter 'file' is not null or undefined
|
|
311
|
+
(0, common_1.assertParamExists)('inspectionStandardBatchImportUpload', 'file', file);
|
|
312
|
+
const localVarPath = `/gizone/inspectionStandard/batchImport/upload`;
|
|
318
313
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
319
314
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
320
315
|
let baseOptions;
|
|
321
316
|
if (configuration) {
|
|
322
317
|
baseOptions = configuration.baseOptions;
|
|
323
318
|
}
|
|
324
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
319
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
325
320
|
const localVarHeaderParameter = {};
|
|
326
321
|
const localVarQueryParameter = {};
|
|
322
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
327
323
|
// authentication tokenScheme required
|
|
328
324
|
// http bearer authentication required
|
|
329
325
|
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
326
|
if (parkId !== undefined) {
|
|
337
|
-
|
|
338
|
-
}
|
|
339
|
-
if (pageSize !== undefined) {
|
|
340
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
327
|
+
localVarFormParams.append('parkId', parkId);
|
|
341
328
|
}
|
|
342
|
-
if (
|
|
343
|
-
|
|
329
|
+
if (language !== undefined) {
|
|
330
|
+
localVarFormParams.append('language', language);
|
|
344
331
|
}
|
|
345
|
-
if (
|
|
346
|
-
|
|
332
|
+
if (file !== undefined) {
|
|
333
|
+
localVarFormParams.append('file', file);
|
|
347
334
|
}
|
|
335
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
348
336
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
349
337
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
350
338
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
339
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
351
340
|
return {
|
|
352
341
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
353
342
|
options: localVarRequestOptions,
|
|
@@ -355,24 +344,25 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
355
344
|
}),
|
|
356
345
|
/**
|
|
357
346
|
*
|
|
358
|
-
* @summary
|
|
359
|
-
* @param {number} parkId 园区
|
|
347
|
+
* @summary 巡检标准列表
|
|
348
|
+
* @param {number} parkId 园区id
|
|
360
349
|
* @param {number} pageSize 每页数量
|
|
361
350
|
* @param {number} page 页码
|
|
362
|
-
* @param {string} [searchValue]
|
|
363
|
-
* @param {
|
|
351
|
+
* @param {string} [searchValue] 内容
|
|
352
|
+
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
364
353
|
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
354
|
+
* @param {number} [equipmentSystemId] 设备系统ID
|
|
365
355
|
* @param {*} [options] Override http request option.
|
|
366
356
|
* @throws {RequiredError}
|
|
367
357
|
*/
|
|
368
|
-
|
|
358
|
+
listInspectionStandard: (parkId_1, pageSize_1, page_1, searchValue_1, category_1, repeats_1, equipmentSystemId_1, ...args_1) => __awaiter(this, [parkId_1, pageSize_1, page_1, searchValue_1, category_1, repeats_1, equipmentSystemId_1, ...args_1], void 0, function* (parkId, pageSize, page, searchValue, category, repeats, equipmentSystemId, options = {}) {
|
|
369
359
|
// verify required parameter 'parkId' is not null or undefined
|
|
370
|
-
(0, common_1.assertParamExists)('
|
|
360
|
+
(0, common_1.assertParamExists)('listInspectionStandard', 'parkId', parkId);
|
|
371
361
|
// verify required parameter 'pageSize' is not null or undefined
|
|
372
|
-
(0, common_1.assertParamExists)('
|
|
362
|
+
(0, common_1.assertParamExists)('listInspectionStandard', 'pageSize', pageSize);
|
|
373
363
|
// verify required parameter 'page' is not null or undefined
|
|
374
|
-
(0, common_1.assertParamExists)('
|
|
375
|
-
const localVarPath = `/gizone/
|
|
364
|
+
(0, common_1.assertParamExists)('listInspectionStandard', 'page', page);
|
|
365
|
+
const localVarPath = `/gizone/inspectionStandard`;
|
|
376
366
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
377
367
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
378
368
|
let baseOptions;
|
|
@@ -388,11 +378,8 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
388
378
|
if (searchValue !== undefined) {
|
|
389
379
|
localVarQueryParameter['searchValue'] = searchValue;
|
|
390
380
|
}
|
|
391
|
-
if (
|
|
392
|
-
localVarQueryParameter['
|
|
393
|
-
}
|
|
394
|
-
if (repeats !== undefined) {
|
|
395
|
-
localVarQueryParameter['repeats'] = repeats;
|
|
381
|
+
if (category !== undefined) {
|
|
382
|
+
localVarQueryParameter['category'] = category;
|
|
396
383
|
}
|
|
397
384
|
if (parkId !== undefined) {
|
|
398
385
|
localVarQueryParameter['parkId'] = parkId;
|
|
@@ -403,6 +390,12 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
403
390
|
if (page !== undefined) {
|
|
404
391
|
localVarQueryParameter['page'] = page;
|
|
405
392
|
}
|
|
393
|
+
if (repeats !== undefined) {
|
|
394
|
+
localVarQueryParameter['repeats'] = repeats;
|
|
395
|
+
}
|
|
396
|
+
if (equipmentSystemId !== undefined) {
|
|
397
|
+
localVarQueryParameter['equipmentSystemId'] = equipmentSystemId;
|
|
398
|
+
}
|
|
406
399
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
407
400
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
408
401
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -418,10 +411,10 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
418
411
|
* @param {*} [options] Override http request option.
|
|
419
412
|
* @throws {RequiredError}
|
|
420
413
|
*/
|
|
421
|
-
|
|
414
|
+
listInspectionStandardByEquipmentId: (equipmentId_1, ...args_1) => __awaiter(this, [equipmentId_1, ...args_1], void 0, function* (equipmentId, options = {}) {
|
|
422
415
|
// verify required parameter 'equipmentId' is not null or undefined
|
|
423
|
-
(0, common_1.assertParamExists)('
|
|
424
|
-
const localVarPath = `/gizone/
|
|
416
|
+
(0, common_1.assertParamExists)('listInspectionStandardByEquipmentId', 'equipmentId', equipmentId);
|
|
417
|
+
const localVarPath = `/gizone/inspectionStandard/selectByEquipmentId`;
|
|
425
418
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
426
419
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
427
420
|
let baseOptions;
|
|
@@ -452,10 +445,10 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
452
445
|
* @param {*} [options] Override http request option.
|
|
453
446
|
* @throws {RequiredError}
|
|
454
447
|
*/
|
|
455
|
-
|
|
448
|
+
listInspectionStandardByEquipmentSystemId: (equipmentSystemId_1, ...args_1) => __awaiter(this, [equipmentSystemId_1, ...args_1], void 0, function* (equipmentSystemId, options = {}) {
|
|
456
449
|
// verify required parameter 'equipmentSystemId' is not null or undefined
|
|
457
|
-
(0, common_1.assertParamExists)('
|
|
458
|
-
const localVarPath = `/gizone/
|
|
450
|
+
(0, common_1.assertParamExists)('listInspectionStandardByEquipmentSystemId', 'equipmentSystemId', equipmentSystemId);
|
|
451
|
+
const localVarPath = `/gizone/inspectionStandard/selectByEquipmentSystemId`;
|
|
459
452
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
460
453
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
461
454
|
let baseOptions;
|
|
@@ -556,220 +549,181 @@ const InspectionApiAxiosParamCreator = function (configuration) {
|
|
|
556
549
|
options: localVarRequestOptions,
|
|
557
550
|
};
|
|
558
551
|
}),
|
|
559
|
-
/**
|
|
560
|
-
*
|
|
561
|
-
* @summary 编辑维保标准
|
|
562
|
-
* @param {number} id
|
|
563
|
-
* @param {MaintenanceStandardAddOrUpdateVo} maintenanceStandardAddOrUpdateVo
|
|
564
|
-
* @param {*} [options] Override http request option.
|
|
565
|
-
* @throws {RequiredError}
|
|
566
|
-
*/
|
|
567
|
-
updateMaintenanceStandard: (id_1, maintenanceStandardAddOrUpdateVo_1, ...args_1) => __awaiter(this, [id_1, maintenanceStandardAddOrUpdateVo_1, ...args_1], void 0, function* (id, maintenanceStandardAddOrUpdateVo, options = {}) {
|
|
568
|
-
// verify required parameter 'id' is not null or undefined
|
|
569
|
-
(0, common_1.assertParamExists)('updateMaintenanceStandard', 'id', id);
|
|
570
|
-
// verify required parameter 'maintenanceStandardAddOrUpdateVo' is not null or undefined
|
|
571
|
-
(0, common_1.assertParamExists)('updateMaintenanceStandard', 'maintenanceStandardAddOrUpdateVo', maintenanceStandardAddOrUpdateVo);
|
|
572
|
-
const localVarPath = `/gizone/maintenanceStandard/{id}`
|
|
573
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
574
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
575
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
576
|
-
let baseOptions;
|
|
577
|
-
if (configuration) {
|
|
578
|
-
baseOptions = configuration.baseOptions;
|
|
579
|
-
}
|
|
580
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
581
|
-
const localVarHeaderParameter = {};
|
|
582
|
-
const localVarQueryParameter = {};
|
|
583
|
-
// authentication tokenScheme required
|
|
584
|
-
// http bearer authentication required
|
|
585
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
586
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
587
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
588
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
589
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
590
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(maintenanceStandardAddOrUpdateVo, localVarRequestOptions, configuration);
|
|
591
|
-
return {
|
|
592
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
593
|
-
options: localVarRequestOptions,
|
|
594
|
-
};
|
|
595
|
-
}),
|
|
596
552
|
};
|
|
597
553
|
};
|
|
598
|
-
exports.
|
|
554
|
+
exports.InspectionStandardApiAxiosParamCreator = InspectionStandardApiAxiosParamCreator;
|
|
599
555
|
/**
|
|
600
|
-
*
|
|
556
|
+
* InspectionStandardApi - functional programming interface
|
|
601
557
|
* @export
|
|
602
558
|
*/
|
|
603
|
-
const
|
|
604
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
559
|
+
const InspectionStandardApiFp = function (configuration) {
|
|
560
|
+
const localVarAxiosParamCreator = (0, exports.InspectionStandardApiAxiosParamCreator)(configuration);
|
|
605
561
|
return {
|
|
606
562
|
/**
|
|
607
563
|
*
|
|
608
|
-
* @summary
|
|
609
|
-
* @param {Array<
|
|
564
|
+
* @summary 添加巡检标准
|
|
565
|
+
* @param {Array<InspectionStandardAddOrUpdateVO>} inspectionStandardAddOrUpdateVO
|
|
610
566
|
* @param {*} [options] Override http request option.
|
|
611
567
|
* @throws {RequiredError}
|
|
612
568
|
*/
|
|
613
|
-
|
|
569
|
+
createInspectionStandard(inspectionStandardAddOrUpdateVO, options) {
|
|
614
570
|
return __awaiter(this, void 0, void 0, function* () {
|
|
615
571
|
var _a, _b, _c;
|
|
616
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
572
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createInspectionStandard(inspectionStandardAddOrUpdateVO, options);
|
|
617
573
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
618
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
574
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.createInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
619
575
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
620
576
|
});
|
|
621
577
|
},
|
|
622
578
|
/**
|
|
623
579
|
*
|
|
624
|
-
* @summary
|
|
625
|
-
* @param {
|
|
580
|
+
* @summary 删除巡检标准
|
|
581
|
+
* @param {number} id 巡检标准id
|
|
626
582
|
* @param {*} [options] Override http request option.
|
|
627
583
|
* @throws {RequiredError}
|
|
628
584
|
*/
|
|
629
|
-
|
|
585
|
+
deleteInspectionStandard(id, options) {
|
|
630
586
|
return __awaiter(this, void 0, void 0, function* () {
|
|
631
587
|
var _a, _b, _c;
|
|
632
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
588
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteInspectionStandard(id, options);
|
|
633
589
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
634
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
590
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.deleteInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
635
591
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
636
592
|
});
|
|
637
593
|
},
|
|
638
594
|
/**
|
|
639
595
|
*
|
|
640
|
-
* @summary
|
|
641
|
-
* @param {Array<
|
|
596
|
+
* @summary 批量删除巡检标准
|
|
597
|
+
* @param {Array<number>} requestBody
|
|
642
598
|
* @param {*} [options] Override http request option.
|
|
643
599
|
* @throws {RequiredError}
|
|
644
600
|
*/
|
|
645
|
-
|
|
601
|
+
deleteInspectionStandards(requestBody, options) {
|
|
646
602
|
return __awaiter(this, void 0, void 0, function* () {
|
|
647
603
|
var _a, _b, _c;
|
|
648
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
604
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteInspectionStandards(requestBody, options);
|
|
649
605
|
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['
|
|
606
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.deleteInspectionStandards']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
651
607
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
652
608
|
});
|
|
653
609
|
},
|
|
654
610
|
/**
|
|
655
611
|
*
|
|
656
|
-
* @summary
|
|
657
|
-
* @param {number} id
|
|
612
|
+
* @summary 巡检标准详情
|
|
613
|
+
* @param {number} id
|
|
658
614
|
* @param {*} [options] Override http request option.
|
|
659
615
|
* @throws {RequiredError}
|
|
660
616
|
*/
|
|
661
|
-
|
|
617
|
+
getInspectionStandard(id, options) {
|
|
662
618
|
return __awaiter(this, void 0, void 0, function* () {
|
|
663
619
|
var _a, _b, _c;
|
|
664
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
620
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInspectionStandard(id, options);
|
|
665
621
|
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['
|
|
622
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.getInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
667
623
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
668
624
|
});
|
|
669
625
|
},
|
|
670
626
|
/**
|
|
671
627
|
*
|
|
672
|
-
* @summary
|
|
673
|
-
* @param {
|
|
628
|
+
* @summary 巡检标准导出-数据
|
|
629
|
+
* @param {number} parkId 园区id
|
|
630
|
+
* @param {string} [searchValue] 内容
|
|
631
|
+
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
632
|
+
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
674
633
|
* @param {*} [options] Override http request option.
|
|
675
634
|
* @throws {RequiredError}
|
|
676
635
|
*/
|
|
677
|
-
|
|
636
|
+
inspectionStandardBatchExport(parkId, searchValue, category, repeats, options) {
|
|
678
637
|
return __awaiter(this, void 0, void 0, function* () {
|
|
679
638
|
var _a, _b, _c;
|
|
680
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
639
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.inspectionStandardBatchExport(parkId, searchValue, category, repeats, options);
|
|
681
640
|
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['
|
|
641
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.inspectionStandardBatchExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
683
642
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
684
643
|
});
|
|
685
644
|
},
|
|
686
645
|
/**
|
|
687
646
|
*
|
|
688
|
-
* @summary
|
|
689
|
-
* @param {number} id
|
|
647
|
+
* @summary 巡检标准导入-确认导入
|
|
690
648
|
* @param {*} [options] Override http request option.
|
|
691
649
|
* @throws {RequiredError}
|
|
692
650
|
*/
|
|
693
|
-
|
|
651
|
+
inspectionStandardBatchImportConfirm(options) {
|
|
694
652
|
return __awaiter(this, void 0, void 0, function* () {
|
|
695
653
|
var _a, _b, _c;
|
|
696
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
654
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.inspectionStandardBatchImportConfirm(options);
|
|
697
655
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
698
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
656
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.inspectionStandardBatchImportConfirm']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
699
657
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
700
658
|
});
|
|
701
659
|
},
|
|
702
660
|
/**
|
|
703
661
|
*
|
|
704
|
-
* @summary
|
|
705
|
-
* @param {number} id
|
|
662
|
+
* @summary 巡检标准导入-预览结果
|
|
706
663
|
* @param {*} [options] Override http request option.
|
|
707
664
|
* @throws {RequiredError}
|
|
708
665
|
*/
|
|
709
|
-
|
|
666
|
+
inspectionStandardBatchImportPreview(options) {
|
|
710
667
|
return __awaiter(this, void 0, void 0, function* () {
|
|
711
668
|
var _a, _b, _c;
|
|
712
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
669
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.inspectionStandardBatchImportPreview(options);
|
|
713
670
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
714
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
671
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.inspectionStandardBatchImportPreview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
715
672
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
716
673
|
});
|
|
717
674
|
},
|
|
718
675
|
/**
|
|
719
676
|
*
|
|
720
|
-
* @summary
|
|
721
|
-
* @param {number} id
|
|
677
|
+
* @summary 巡检标准导入-下载模板
|
|
722
678
|
* @param {*} [options] Override http request option.
|
|
723
679
|
* @throws {RequiredError}
|
|
724
680
|
*/
|
|
725
|
-
|
|
681
|
+
inspectionStandardBatchImportTemplate(options) {
|
|
726
682
|
return __awaiter(this, void 0, void 0, function* () {
|
|
727
683
|
var _a, _b, _c;
|
|
728
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
684
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.inspectionStandardBatchImportTemplate(options);
|
|
729
685
|
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['
|
|
686
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.inspectionStandardBatchImportTemplate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
731
687
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
732
688
|
});
|
|
733
689
|
},
|
|
734
690
|
/**
|
|
735
691
|
*
|
|
736
|
-
* @summary
|
|
692
|
+
* @summary 巡检标准导入-上传文件
|
|
737
693
|
* @param {number} parkId 园区id
|
|
738
|
-
* @param {
|
|
739
|
-
* @param {
|
|
740
|
-
* @param {string} [searchValue] 内容
|
|
741
|
-
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
742
|
-
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
694
|
+
* @param {File} file
|
|
695
|
+
* @param {string} [language] 语言
|
|
743
696
|
* @param {*} [options] Override http request option.
|
|
744
697
|
* @throws {RequiredError}
|
|
745
698
|
*/
|
|
746
|
-
|
|
699
|
+
inspectionStandardBatchImportUpload(parkId, file, language, options) {
|
|
747
700
|
return __awaiter(this, void 0, void 0, function* () {
|
|
748
701
|
var _a, _b, _c;
|
|
749
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
702
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.inspectionStandardBatchImportUpload(parkId, file, language, options);
|
|
750
703
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
751
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
704
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.inspectionStandardBatchImportUpload']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
752
705
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
753
706
|
});
|
|
754
707
|
},
|
|
755
708
|
/**
|
|
756
709
|
*
|
|
757
|
-
* @summary
|
|
758
|
-
* @param {number} parkId 园区
|
|
710
|
+
* @summary 巡检标准列表
|
|
711
|
+
* @param {number} parkId 园区id
|
|
759
712
|
* @param {number} pageSize 每页数量
|
|
760
713
|
* @param {number} page 页码
|
|
761
|
-
* @param {string} [searchValue]
|
|
762
|
-
* @param {
|
|
714
|
+
* @param {string} [searchValue] 内容
|
|
715
|
+
* @param {InspectionCategoryEnum} [category] 巡检分类
|
|
763
716
|
* @param {WorkOrderPlanRepeatsEnum} [repeats] 周期
|
|
717
|
+
* @param {number} [equipmentSystemId] 设备系统ID
|
|
764
718
|
* @param {*} [options] Override http request option.
|
|
765
719
|
* @throws {RequiredError}
|
|
766
720
|
*/
|
|
767
|
-
|
|
721
|
+
listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, equipmentSystemId, options) {
|
|
768
722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
769
723
|
var _a, _b, _c;
|
|
770
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
724
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listInspectionStandard(parkId, pageSize, page, searchValue, category, repeats, equipmentSystemId, options);
|
|
771
725
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
772
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
726
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.listInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
773
727
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
774
728
|
});
|
|
775
729
|
},
|
|
@@ -780,12 +734,12 @@ const InspectionApiFp = function (configuration) {
|
|
|
780
734
|
* @param {*} [options] Override http request option.
|
|
781
735
|
* @throws {RequiredError}
|
|
782
736
|
*/
|
|
783
|
-
|
|
737
|
+
listInspectionStandardByEquipmentId(equipmentId, options) {
|
|
784
738
|
return __awaiter(this, void 0, void 0, function* () {
|
|
785
739
|
var _a, _b, _c;
|
|
786
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
740
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listInspectionStandardByEquipmentId(equipmentId, options);
|
|
787
741
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
788
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
742
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.listInspectionStandardByEquipmentId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
789
743
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
790
744
|
});
|
|
791
745
|
},
|
|
@@ -796,12 +750,12 @@ const InspectionApiFp = function (configuration) {
|
|
|
796
750
|
* @param {*} [options] Override http request option.
|
|
797
751
|
* @throws {RequiredError}
|
|
798
752
|
*/
|
|
799
|
-
|
|
753
|
+
listInspectionStandardByEquipmentSystemId(equipmentSystemId, options) {
|
|
800
754
|
return __awaiter(this, void 0, void 0, function* () {
|
|
801
755
|
var _a, _b, _c;
|
|
802
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
756
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listInspectionStandardByEquipmentSystemId(equipmentSystemId, options);
|
|
803
757
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
804
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
758
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.listInspectionStandardByEquipmentSystemId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
805
759
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
806
760
|
});
|
|
807
761
|
},
|
|
@@ -818,7 +772,7 @@ const InspectionApiFp = function (configuration) {
|
|
|
818
772
|
var _a, _b, _c;
|
|
819
773
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncInspectionStandard(parkIdOne, parkIdTwo, options);
|
|
820
774
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
821
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
775
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.syncInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
822
776
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
823
777
|
});
|
|
824
778
|
},
|
|
@@ -835,161 +789,141 @@ const InspectionApiFp = function (configuration) {
|
|
|
835
789
|
var _a, _b, _c;
|
|
836
790
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateInspectionStandard(id, inspectionStandardAddOrUpdateVO, options);
|
|
837
791
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
838
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['
|
|
839
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
840
|
-
});
|
|
841
|
-
},
|
|
842
|
-
/**
|
|
843
|
-
*
|
|
844
|
-
* @summary 编辑维保标准
|
|
845
|
-
* @param {number} id
|
|
846
|
-
* @param {MaintenanceStandardAddOrUpdateVo} maintenanceStandardAddOrUpdateVo
|
|
847
|
-
* @param {*} [options] Override http request option.
|
|
848
|
-
* @throws {RequiredError}
|
|
849
|
-
*/
|
|
850
|
-
updateMaintenanceStandard(id, maintenanceStandardAddOrUpdateVo, options) {
|
|
851
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
852
|
-
var _a, _b, _c;
|
|
853
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateMaintenanceStandard(id, maintenanceStandardAddOrUpdateVo, options);
|
|
854
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
792
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['InspectionStandardApi.updateInspectionStandard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
856
793
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
857
794
|
});
|
|
858
795
|
},
|
|
859
796
|
};
|
|
860
797
|
};
|
|
861
|
-
exports.
|
|
798
|
+
exports.InspectionStandardApiFp = InspectionStandardApiFp;
|
|
862
799
|
/**
|
|
863
|
-
*
|
|
800
|
+
* InspectionStandardApi - factory interface
|
|
864
801
|
* @export
|
|
865
802
|
*/
|
|
866
|
-
const
|
|
867
|
-
const localVarFp = (0, exports.
|
|
803
|
+
const InspectionStandardApiFactory = function (configuration, basePath, axios) {
|
|
804
|
+
const localVarFp = (0, exports.InspectionStandardApiFp)(configuration);
|
|
868
805
|
return {
|
|
869
806
|
/**
|
|
870
807
|
*
|
|
871
|
-
* @summary
|
|
872
|
-
* @param {
|
|
808
|
+
* @summary 添加巡检标准
|
|
809
|
+
* @param {InspectionStandardApiCreateInspectionStandardRequest} requestParameters Request parameters.
|
|
873
810
|
* @param {*} [options] Override http request option.
|
|
874
811
|
* @throws {RequiredError}
|
|
875
812
|
*/
|
|
876
|
-
|
|
877
|
-
return localVarFp.
|
|
813
|
+
createInspectionStandard(requestParameters, options) {
|
|
814
|
+
return localVarFp.createInspectionStandard(requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(axios, basePath));
|
|
878
815
|
},
|
|
879
816
|
/**
|
|
880
817
|
*
|
|
881
|
-
* @summary
|
|
882
|
-
* @param {
|
|
818
|
+
* @summary 删除巡检标准
|
|
819
|
+
* @param {InspectionStandardApiDeleteInspectionStandardRequest} requestParameters Request parameters.
|
|
883
820
|
* @param {*} [options] Override http request option.
|
|
884
821
|
* @throws {RequiredError}
|
|
885
822
|
*/
|
|
886
|
-
|
|
887
|
-
return localVarFp.
|
|
823
|
+
deleteInspectionStandard(requestParameters, options) {
|
|
824
|
+
return localVarFp.deleteInspectionStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
888
825
|
},
|
|
889
826
|
/**
|
|
890
827
|
*
|
|
891
|
-
* @summary
|
|
892
|
-
* @param {
|
|
828
|
+
* @summary 批量删除巡检标准
|
|
829
|
+
* @param {InspectionStandardApiDeleteInspectionStandardsRequest} requestParameters Request parameters.
|
|
893
830
|
* @param {*} [options] Override http request option.
|
|
894
831
|
* @throws {RequiredError}
|
|
895
832
|
*/
|
|
896
|
-
|
|
897
|
-
return localVarFp.
|
|
833
|
+
deleteInspectionStandards(requestParameters, options) {
|
|
834
|
+
return localVarFp.deleteInspectionStandards(requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
898
835
|
},
|
|
899
836
|
/**
|
|
900
837
|
*
|
|
901
|
-
* @summary
|
|
902
|
-
* @param {
|
|
838
|
+
* @summary 巡检标准详情
|
|
839
|
+
* @param {InspectionStandardApiGetInspectionStandardRequest} requestParameters Request parameters.
|
|
903
840
|
* @param {*} [options] Override http request option.
|
|
904
841
|
* @throws {RequiredError}
|
|
905
842
|
*/
|
|
906
|
-
|
|
907
|
-
return localVarFp.
|
|
843
|
+
getInspectionStandard(requestParameters, options) {
|
|
844
|
+
return localVarFp.getInspectionStandard(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
908
845
|
},
|
|
909
846
|
/**
|
|
910
847
|
*
|
|
911
|
-
* @summary
|
|
912
|
-
* @param {
|
|
848
|
+
* @summary 巡检标准导出-数据
|
|
849
|
+
* @param {InspectionStandardApiInspectionStandardBatchExportRequest} requestParameters Request parameters.
|
|
913
850
|
* @param {*} [options] Override http request option.
|
|
914
851
|
* @throws {RequiredError}
|
|
915
852
|
*/
|
|
916
|
-
|
|
917
|
-
return localVarFp.
|
|
853
|
+
inspectionStandardBatchExport(requestParameters, options) {
|
|
854
|
+
return localVarFp.inspectionStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(axios, basePath));
|
|
918
855
|
},
|
|
919
856
|
/**
|
|
920
857
|
*
|
|
921
|
-
* @summary
|
|
922
|
-
* @param {InspectionApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
858
|
+
* @summary 巡检标准导入-确认导入
|
|
923
859
|
* @param {*} [options] Override http request option.
|
|
924
860
|
* @throws {RequiredError}
|
|
925
861
|
*/
|
|
926
|
-
|
|
927
|
-
return localVarFp.
|
|
862
|
+
inspectionStandardBatchImportConfirm(options) {
|
|
863
|
+
return localVarFp.inspectionStandardBatchImportConfirm(options).then((request) => request(axios, basePath));
|
|
928
864
|
},
|
|
929
865
|
/**
|
|
930
866
|
*
|
|
931
|
-
* @summary
|
|
932
|
-
* @param {InspectionApiGetInspectionStandardRequest} requestParameters Request parameters.
|
|
867
|
+
* @summary 巡检标准导入-预览结果
|
|
933
868
|
* @param {*} [options] Override http request option.
|
|
934
869
|
* @throws {RequiredError}
|
|
935
870
|
*/
|
|
936
|
-
|
|
937
|
-
return localVarFp.
|
|
871
|
+
inspectionStandardBatchImportPreview(options) {
|
|
872
|
+
return localVarFp.inspectionStandardBatchImportPreview(options).then((request) => request(axios, basePath));
|
|
938
873
|
},
|
|
939
874
|
/**
|
|
940
875
|
*
|
|
941
|
-
* @summary
|
|
942
|
-
* @param {InspectionApiGetMaintenanceStandardRequest} requestParameters Request parameters.
|
|
876
|
+
* @summary 巡检标准导入-下载模板
|
|
943
877
|
* @param {*} [options] Override http request option.
|
|
944
878
|
* @throws {RequiredError}
|
|
945
879
|
*/
|
|
946
|
-
|
|
947
|
-
return localVarFp.
|
|
880
|
+
inspectionStandardBatchImportTemplate(options) {
|
|
881
|
+
return localVarFp.inspectionStandardBatchImportTemplate(options).then((request) => request(axios, basePath));
|
|
948
882
|
},
|
|
949
883
|
/**
|
|
950
884
|
*
|
|
951
|
-
* @summary
|
|
952
|
-
* @param {
|
|
885
|
+
* @summary 巡检标准导入-上传文件
|
|
886
|
+
* @param {InspectionStandardApiInspectionStandardBatchImportUploadRequest} requestParameters Request parameters.
|
|
953
887
|
* @param {*} [options] Override http request option.
|
|
954
888
|
* @throws {RequiredError}
|
|
955
889
|
*/
|
|
956
|
-
|
|
957
|
-
return localVarFp.
|
|
890
|
+
inspectionStandardBatchImportUpload(requestParameters, options) {
|
|
891
|
+
return localVarFp.inspectionStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
958
892
|
},
|
|
959
893
|
/**
|
|
960
894
|
*
|
|
961
|
-
* @summary
|
|
962
|
-
* @param {
|
|
895
|
+
* @summary 巡检标准列表
|
|
896
|
+
* @param {InspectionStandardApiListInspectionStandardRequest} requestParameters Request parameters.
|
|
963
897
|
* @param {*} [options] Override http request option.
|
|
964
898
|
* @throws {RequiredError}
|
|
965
899
|
*/
|
|
966
|
-
|
|
967
|
-
return localVarFp.
|
|
900
|
+
listInspectionStandard(requestParameters, options) {
|
|
901
|
+
return localVarFp.listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, requestParameters.equipmentSystemId, options).then((request) => request(axios, basePath));
|
|
968
902
|
},
|
|
969
903
|
/**
|
|
970
904
|
*
|
|
971
905
|
* @summary 根据设备id查询维保标准
|
|
972
|
-
* @param {
|
|
906
|
+
* @param {InspectionStandardApiListInspectionStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
973
907
|
* @param {*} [options] Override http request option.
|
|
974
908
|
* @throws {RequiredError}
|
|
975
909
|
*/
|
|
976
|
-
|
|
977
|
-
return localVarFp.
|
|
910
|
+
listInspectionStandardByEquipmentId(requestParameters, options) {
|
|
911
|
+
return localVarFp.listInspectionStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(axios, basePath));
|
|
978
912
|
},
|
|
979
913
|
/**
|
|
980
914
|
*
|
|
981
915
|
* @summary 根据设备系统id查询维保标准
|
|
982
|
-
* @param {
|
|
916
|
+
* @param {InspectionStandardApiListInspectionStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
983
917
|
* @param {*} [options] Override http request option.
|
|
984
918
|
* @throws {RequiredError}
|
|
985
919
|
*/
|
|
986
|
-
|
|
987
|
-
return localVarFp.
|
|
920
|
+
listInspectionStandardByEquipmentSystemId(requestParameters, options) {
|
|
921
|
+
return localVarFp.listInspectionStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(axios, basePath));
|
|
988
922
|
},
|
|
989
923
|
/**
|
|
990
924
|
*
|
|
991
925
|
* @summary 同步其他园区巡检标准
|
|
992
|
-
* @param {
|
|
926
|
+
* @param {InspectionStandardApiSyncInspectionStandardRequest} requestParameters Request parameters.
|
|
993
927
|
* @param {*} [options] Override http request option.
|
|
994
928
|
* @throws {RequiredError}
|
|
995
929
|
*/
|
|
@@ -999,197 +933,173 @@ const InspectionApiFactory = function (configuration, basePath, axios) {
|
|
|
999
933
|
/**
|
|
1000
934
|
*
|
|
1001
935
|
* @summary 修改巡检标准
|
|
1002
|
-
* @param {
|
|
936
|
+
* @param {InspectionStandardApiUpdateInspectionStandardRequest} requestParameters Request parameters.
|
|
1003
937
|
* @param {*} [options] Override http request option.
|
|
1004
938
|
* @throws {RequiredError}
|
|
1005
939
|
*/
|
|
1006
940
|
updateInspectionStandard(requestParameters, options) {
|
|
1007
941
|
return localVarFp.updateInspectionStandard(requestParameters.id, requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(axios, basePath));
|
|
1008
942
|
},
|
|
1009
|
-
/**
|
|
1010
|
-
*
|
|
1011
|
-
* @summary 编辑维保标准
|
|
1012
|
-
* @param {InspectionApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1013
|
-
* @param {*} [options] Override http request option.
|
|
1014
|
-
* @throws {RequiredError}
|
|
1015
|
-
*/
|
|
1016
|
-
updateMaintenanceStandard(requestParameters, options) {
|
|
1017
|
-
return localVarFp.updateMaintenanceStandard(requestParameters.id, requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(axios, basePath));
|
|
1018
|
-
},
|
|
1019
943
|
};
|
|
1020
944
|
};
|
|
1021
|
-
exports.
|
|
945
|
+
exports.InspectionStandardApiFactory = InspectionStandardApiFactory;
|
|
1022
946
|
/**
|
|
1023
|
-
*
|
|
947
|
+
* InspectionStandardApi - object-oriented interface
|
|
1024
948
|
* @export
|
|
1025
|
-
* @class
|
|
949
|
+
* @class InspectionStandardApi
|
|
1026
950
|
* @extends {BaseAPI}
|
|
1027
951
|
*/
|
|
1028
|
-
class
|
|
952
|
+
class InspectionStandardApi extends base_1.BaseAPI {
|
|
1029
953
|
/**
|
|
1030
954
|
*
|
|
1031
|
-
* @summary
|
|
1032
|
-
* @param {
|
|
955
|
+
* @summary 添加巡检标准
|
|
956
|
+
* @param {InspectionStandardApiCreateInspectionStandardRequest} requestParameters Request parameters.
|
|
1033
957
|
* @param {*} [options] Override http request option.
|
|
1034
958
|
* @throws {RequiredError}
|
|
1035
|
-
* @memberof
|
|
959
|
+
* @memberof InspectionStandardApi
|
|
1036
960
|
*/
|
|
1037
|
-
|
|
1038
|
-
return (0, exports.
|
|
961
|
+
createInspectionStandard(requestParameters, options) {
|
|
962
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).createInspectionStandard(requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(this.axios, this.basePath));
|
|
1039
963
|
}
|
|
1040
964
|
/**
|
|
1041
965
|
*
|
|
1042
|
-
* @summary
|
|
1043
|
-
* @param {
|
|
966
|
+
* @summary 删除巡检标准
|
|
967
|
+
* @param {InspectionStandardApiDeleteInspectionStandardRequest} requestParameters Request parameters.
|
|
1044
968
|
* @param {*} [options] Override http request option.
|
|
1045
969
|
* @throws {RequiredError}
|
|
1046
|
-
* @memberof
|
|
970
|
+
* @memberof InspectionStandardApi
|
|
1047
971
|
*/
|
|
1048
|
-
|
|
1049
|
-
return (0, exports.
|
|
972
|
+
deleteInspectionStandard(requestParameters, options) {
|
|
973
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).deleteInspectionStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1050
974
|
}
|
|
1051
975
|
/**
|
|
1052
976
|
*
|
|
1053
|
-
* @summary
|
|
1054
|
-
* @param {
|
|
977
|
+
* @summary 批量删除巡检标准
|
|
978
|
+
* @param {InspectionStandardApiDeleteInspectionStandardsRequest} requestParameters Request parameters.
|
|
1055
979
|
* @param {*} [options] Override http request option.
|
|
1056
980
|
* @throws {RequiredError}
|
|
1057
|
-
* @memberof
|
|
981
|
+
* @memberof InspectionStandardApi
|
|
1058
982
|
*/
|
|
1059
|
-
|
|
1060
|
-
return (0, exports.
|
|
983
|
+
deleteInspectionStandards(requestParameters, options) {
|
|
984
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).deleteInspectionStandards(requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1061
985
|
}
|
|
1062
986
|
/**
|
|
1063
987
|
*
|
|
1064
|
-
* @summary
|
|
1065
|
-
* @param {
|
|
988
|
+
* @summary 巡检标准详情
|
|
989
|
+
* @param {InspectionStandardApiGetInspectionStandardRequest} requestParameters Request parameters.
|
|
1066
990
|
* @param {*} [options] Override http request option.
|
|
1067
991
|
* @throws {RequiredError}
|
|
1068
|
-
* @memberof
|
|
992
|
+
* @memberof InspectionStandardApi
|
|
1069
993
|
*/
|
|
1070
|
-
|
|
1071
|
-
return (0, exports.
|
|
994
|
+
getInspectionStandard(requestParameters, options) {
|
|
995
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).getInspectionStandard(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1072
996
|
}
|
|
1073
997
|
/**
|
|
1074
998
|
*
|
|
1075
|
-
* @summary
|
|
1076
|
-
* @param {
|
|
999
|
+
* @summary 巡检标准导出-数据
|
|
1000
|
+
* @param {InspectionStandardApiInspectionStandardBatchExportRequest} requestParameters Request parameters.
|
|
1077
1001
|
* @param {*} [options] Override http request option.
|
|
1078
1002
|
* @throws {RequiredError}
|
|
1079
|
-
* @memberof
|
|
1003
|
+
* @memberof InspectionStandardApi
|
|
1080
1004
|
*/
|
|
1081
|
-
|
|
1082
|
-
return (0, exports.
|
|
1005
|
+
inspectionStandardBatchExport(requestParameters, options) {
|
|
1006
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).inspectionStandardBatchExport(requestParameters.parkId, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, options).then((request) => request(this.axios, this.basePath));
|
|
1083
1007
|
}
|
|
1084
1008
|
/**
|
|
1085
1009
|
*
|
|
1086
|
-
* @summary
|
|
1087
|
-
* @param {InspectionApiDeleteMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1010
|
+
* @summary 巡检标准导入-确认导入
|
|
1088
1011
|
* @param {*} [options] Override http request option.
|
|
1089
1012
|
* @throws {RequiredError}
|
|
1090
|
-
* @memberof
|
|
1013
|
+
* @memberof InspectionStandardApi
|
|
1091
1014
|
*/
|
|
1092
|
-
|
|
1093
|
-
return (0, exports.
|
|
1015
|
+
inspectionStandardBatchImportConfirm(options) {
|
|
1016
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).inspectionStandardBatchImportConfirm(options).then((request) => request(this.axios, this.basePath));
|
|
1094
1017
|
}
|
|
1095
1018
|
/**
|
|
1096
1019
|
*
|
|
1097
|
-
* @summary
|
|
1098
|
-
* @param {InspectionApiGetInspectionStandardRequest} requestParameters Request parameters.
|
|
1020
|
+
* @summary 巡检标准导入-预览结果
|
|
1099
1021
|
* @param {*} [options] Override http request option.
|
|
1100
1022
|
* @throws {RequiredError}
|
|
1101
|
-
* @memberof
|
|
1023
|
+
* @memberof InspectionStandardApi
|
|
1102
1024
|
*/
|
|
1103
|
-
|
|
1104
|
-
return (0, exports.
|
|
1025
|
+
inspectionStandardBatchImportPreview(options) {
|
|
1026
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).inspectionStandardBatchImportPreview(options).then((request) => request(this.axios, this.basePath));
|
|
1105
1027
|
}
|
|
1106
1028
|
/**
|
|
1107
1029
|
*
|
|
1108
|
-
* @summary
|
|
1109
|
-
* @param {InspectionApiGetMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1030
|
+
* @summary 巡检标准导入-下载模板
|
|
1110
1031
|
* @param {*} [options] Override http request option.
|
|
1111
1032
|
* @throws {RequiredError}
|
|
1112
|
-
* @memberof
|
|
1033
|
+
* @memberof InspectionStandardApi
|
|
1113
1034
|
*/
|
|
1114
|
-
|
|
1115
|
-
return (0, exports.
|
|
1035
|
+
inspectionStandardBatchImportTemplate(options) {
|
|
1036
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).inspectionStandardBatchImportTemplate(options).then((request) => request(this.axios, this.basePath));
|
|
1116
1037
|
}
|
|
1117
1038
|
/**
|
|
1118
1039
|
*
|
|
1119
|
-
* @summary
|
|
1120
|
-
* @param {
|
|
1040
|
+
* @summary 巡检标准导入-上传文件
|
|
1041
|
+
* @param {InspectionStandardApiInspectionStandardBatchImportUploadRequest} requestParameters Request parameters.
|
|
1121
1042
|
* @param {*} [options] Override http request option.
|
|
1122
1043
|
* @throws {RequiredError}
|
|
1123
|
-
* @memberof
|
|
1044
|
+
* @memberof InspectionStandardApi
|
|
1124
1045
|
*/
|
|
1125
|
-
|
|
1126
|
-
return (0, exports.
|
|
1046
|
+
inspectionStandardBatchImportUpload(requestParameters, options) {
|
|
1047
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).inspectionStandardBatchImportUpload(requestParameters.parkId, requestParameters.file, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
1127
1048
|
}
|
|
1128
1049
|
/**
|
|
1129
1050
|
*
|
|
1130
|
-
* @summary
|
|
1131
|
-
* @param {
|
|
1051
|
+
* @summary 巡检标准列表
|
|
1052
|
+
* @param {InspectionStandardApiListInspectionStandardRequest} requestParameters Request parameters.
|
|
1132
1053
|
* @param {*} [options] Override http request option.
|
|
1133
1054
|
* @throws {RequiredError}
|
|
1134
|
-
* @memberof
|
|
1055
|
+
* @memberof InspectionStandardApi
|
|
1135
1056
|
*/
|
|
1136
|
-
|
|
1137
|
-
return (0, exports.
|
|
1057
|
+
listInspectionStandard(requestParameters, options) {
|
|
1058
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).listInspectionStandard(requestParameters.parkId, requestParameters.pageSize, requestParameters.page, requestParameters.searchValue, requestParameters.category, requestParameters.repeats, requestParameters.equipmentSystemId, options).then((request) => request(this.axios, this.basePath));
|
|
1138
1059
|
}
|
|
1139
1060
|
/**
|
|
1140
1061
|
*
|
|
1141
1062
|
* @summary 根据设备id查询维保标准
|
|
1142
|
-
* @param {
|
|
1063
|
+
* @param {InspectionStandardApiListInspectionStandardByEquipmentIdRequest} requestParameters Request parameters.
|
|
1143
1064
|
* @param {*} [options] Override http request option.
|
|
1144
1065
|
* @throws {RequiredError}
|
|
1145
|
-
* @memberof
|
|
1066
|
+
* @memberof InspectionStandardApi
|
|
1146
1067
|
*/
|
|
1147
|
-
|
|
1148
|
-
return (0, exports.
|
|
1068
|
+
listInspectionStandardByEquipmentId(requestParameters, options) {
|
|
1069
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).listInspectionStandardByEquipmentId(requestParameters.equipmentId, options).then((request) => request(this.axios, this.basePath));
|
|
1149
1070
|
}
|
|
1150
1071
|
/**
|
|
1151
1072
|
*
|
|
1152
1073
|
* @summary 根据设备系统id查询维保标准
|
|
1153
|
-
* @param {
|
|
1074
|
+
* @param {InspectionStandardApiListInspectionStandardByEquipmentSystemIdRequest} requestParameters Request parameters.
|
|
1154
1075
|
* @param {*} [options] Override http request option.
|
|
1155
1076
|
* @throws {RequiredError}
|
|
1156
|
-
* @memberof
|
|
1077
|
+
* @memberof InspectionStandardApi
|
|
1157
1078
|
*/
|
|
1158
|
-
|
|
1159
|
-
return (0, exports.
|
|
1079
|
+
listInspectionStandardByEquipmentSystemId(requestParameters, options) {
|
|
1080
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).listInspectionStandardByEquipmentSystemId(requestParameters.equipmentSystemId, options).then((request) => request(this.axios, this.basePath));
|
|
1160
1081
|
}
|
|
1161
1082
|
/**
|
|
1162
1083
|
*
|
|
1163
1084
|
* @summary 同步其他园区巡检标准
|
|
1164
|
-
* @param {
|
|
1085
|
+
* @param {InspectionStandardApiSyncInspectionStandardRequest} requestParameters Request parameters.
|
|
1165
1086
|
* @param {*} [options] Override http request option.
|
|
1166
1087
|
* @throws {RequiredError}
|
|
1167
|
-
* @memberof
|
|
1088
|
+
* @memberof InspectionStandardApi
|
|
1168
1089
|
*/
|
|
1169
1090
|
syncInspectionStandard(requestParameters, options) {
|
|
1170
|
-
return (0, exports.
|
|
1091
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).syncInspectionStandard(requestParameters.parkIdOne, requestParameters.parkIdTwo, options).then((request) => request(this.axios, this.basePath));
|
|
1171
1092
|
}
|
|
1172
1093
|
/**
|
|
1173
1094
|
*
|
|
1174
1095
|
* @summary 修改巡检标准
|
|
1175
|
-
* @param {
|
|
1096
|
+
* @param {InspectionStandardApiUpdateInspectionStandardRequest} requestParameters Request parameters.
|
|
1176
1097
|
* @param {*} [options] Override http request option.
|
|
1177
1098
|
* @throws {RequiredError}
|
|
1178
|
-
* @memberof
|
|
1099
|
+
* @memberof InspectionStandardApi
|
|
1179
1100
|
*/
|
|
1180
1101
|
updateInspectionStandard(requestParameters, options) {
|
|
1181
|
-
return (0, exports.
|
|
1182
|
-
}
|
|
1183
|
-
/**
|
|
1184
|
-
*
|
|
1185
|
-
* @summary 编辑维保标准
|
|
1186
|
-
* @param {InspectionApiUpdateMaintenanceStandardRequest} requestParameters Request parameters.
|
|
1187
|
-
* @param {*} [options] Override http request option.
|
|
1188
|
-
* @throws {RequiredError}
|
|
1189
|
-
* @memberof InspectionApi
|
|
1190
|
-
*/
|
|
1191
|
-
updateMaintenanceStandard(requestParameters, options) {
|
|
1192
|
-
return (0, exports.InspectionApiFp)(this.configuration).updateMaintenanceStandard(requestParameters.id, requestParameters.maintenanceStandardAddOrUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
1102
|
+
return (0, exports.InspectionStandardApiFp)(this.configuration).updateInspectionStandard(requestParameters.id, requestParameters.inspectionStandardAddOrUpdateVO, options).then((request) => request(this.axios, this.basePath));
|
|
1193
1103
|
}
|
|
1194
1104
|
}
|
|
1195
|
-
exports.
|
|
1105
|
+
exports.InspectionStandardApi = InspectionStandardApi;
|