@gizone/rrs-client 3.11.12-alpha.22 → 3.11.12-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +14 -26
- package/api.ts +1 -2
- package/apis/access-api.ts +31 -31
- package/apis/app-auth-api.ts +13 -13
- package/apis/auth-api.ts +13 -13
- package/apis/calendar-api.ts +209 -231
- package/apis/common-api.ts +0 -192
- package/apis/{maintenance-standard-api.ts → inspection-api.ts} +692 -289
- package/apis/message-api.ts +223 -201
- package/apis/setting-api.ts +243 -596
- package/apis/space-api.ts +329 -0
- package/apis/work-order-api.ts +214 -347
- package/dist/api.d.ts +1 -2
- package/dist/api.js +1 -2
- package/dist/apis/access-api.d.ts +21 -21
- package/dist/apis/access-api.js +22 -22
- package/dist/apis/app-auth-api.d.ts +6 -6
- package/dist/apis/app-auth-api.js +11 -11
- package/dist/apis/auth-api.d.ts +6 -6
- package/dist/apis/auth-api.js +11 -11
- package/dist/apis/calendar-api.d.ts +123 -131
- package/dist/apis/calendar-api.js +164 -177
- package/dist/apis/common-api.d.ts +0 -102
- package/dist/apis/common-api.js +0 -144
- package/dist/apis/inspection-api.d.ts +846 -0
- package/dist/apis/{maintenance-standard-api.js → inspection-api.js} +485 -226
- package/dist/apis/message-api.d.ts +125 -117
- package/dist/apis/message-api.js +171 -132
- package/dist/apis/setting-api.d.ts +144 -334
- package/dist/apis/setting-api.js +187 -433
- package/dist/apis/space-api.d.ts +159 -0
- package/dist/apis/space-api.js +272 -0
- package/dist/apis/work-order-api.d.ts +123 -197
- package/dist/apis/work-order-api.js +164 -245
- package/dist/esm/api.d.ts +1 -2
- package/dist/esm/api.js +1 -2
- package/dist/esm/apis/access-api.d.ts +21 -21
- package/dist/esm/apis/access-api.js +22 -22
- package/dist/esm/apis/app-auth-api.d.ts +6 -6
- package/dist/esm/apis/app-auth-api.js +11 -11
- package/dist/esm/apis/auth-api.d.ts +6 -6
- package/dist/esm/apis/auth-api.js +11 -11
- package/dist/esm/apis/calendar-api.d.ts +123 -131
- package/dist/esm/apis/calendar-api.js +164 -177
- package/dist/esm/apis/common-api.d.ts +0 -102
- package/dist/esm/apis/common-api.js +0 -144
- package/dist/esm/apis/inspection-api.d.ts +846 -0
- package/dist/esm/apis/{maintenance-standard-api.js → inspection-api.js} +480 -221
- package/dist/esm/apis/message-api.d.ts +125 -117
- package/dist/esm/apis/message-api.js +171 -132
- package/dist/esm/apis/setting-api.d.ts +144 -334
- package/dist/esm/apis/setting-api.js +187 -433
- package/dist/esm/apis/space-api.d.ts +159 -0
- package/dist/esm/apis/space-api.js +272 -0
- package/dist/esm/apis/work-order-api.d.ts +123 -197
- package/dist/esm/apis/work-order-api.js +164 -245
- package/dist/esm/models/{excel-import-result-dtocalendar-export-dto.d.ts → calendar-add-redis-list-vo.d.ts} +21 -9
- package/dist/esm/models/file-dto.d.ts +3 -3
- package/dist/esm/models/get-user-wx200-response.d.ts +18 -18
- package/dist/esm/models/index.d.ts +13 -24
- package/dist/esm/models/index.js +13 -24
- package/dist/esm/models/inspection-item-bo.d.ts +10 -4
- package/dist/esm/models/inspection-point-item.d.ts +6 -18
- package/dist/esm/models/ipage-access-vo.d.ts +3 -3
- package/dist/esm/models/{json-result-sys-user-msg-dto.d.ts → json-result-calendar-add-redis-list-vo.d.ts} +11 -11
- package/dist/esm/models/{json-result-page-dto-sys-user-msg-dto.d.ts → json-result-page-dto-sys-user-msg-list-dto.d.ts} +11 -11
- package/dist/esm/models/json-result-space-edit-before-and-after-dto.d.ts +56 -0
- package/dist/{models/json-result-park-info-dto.d.ts → esm/models/json-result-sys-user-msg-do.d.ts} +11 -11
- package/dist/esm/models/maintenance-history-dto.d.ts +6 -0
- package/dist/esm/models/maintenance-history-dto.js +6 -0
- package/dist/esm/models/{page-dto-sys-user-msg-dto.d.ts → page-dto-sys-user-msg-list-dto.d.ts} +7 -7
- package/dist/esm/models/period-detail-resp.d.ts +6 -0
- package/dist/esm/models/period-detail-resp.js +6 -0
- package/dist/esm/models/plan-add-vo.d.ts +1 -1
- package/dist/esm/models/plan-edit-vo.d.ts +1 -1
- package/dist/esm/models/plan-item-add-vo.d.ts +1 -1
- package/dist/esm/models/plan-item-edit-vo.d.ts +1 -1
- package/dist/esm/models/space-edit-before-and-after-dto.d.ts +31 -0
- package/dist/esm/models/space-edit-excel-dto.d.ts +78 -0
- package/dist/esm/models/sys-dept.d.ts +0 -6
- package/dist/esm/models/sys-user-msg-do.d.ts +90 -0
- package/dist/{models/sys-user-msg-dto.d.ts → esm/models/sys-user-msg-list-dto.d.ts} +28 -30
- package/dist/esm/models/sys-user-msg-search-list-vo.d.ts +54 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/esm/models/work-order-add-vo.d.ts +4 -23
- package/dist/esm/models/{system-user-msg-type-enum.d.ts → work-order-check-before-acceptance-adopt-vo.d.ts} +15 -6
- package/dist/{models/work-order-dept-settings-add-or-update-vo.d.ts → esm/models/work-order-check-before-acceptance-no-vo.d.ts} +12 -12
- package/dist/esm/models/work-order-detail-dto.d.ts +6 -19
- package/dist/esm/models/work-order-detail-dto.js +6 -0
- package/dist/esm/models/work-order-inspection-detail-dto.d.ts +13 -1
- package/dist/esm/models/work-order-inspection-item-req.d.ts +3 -3
- package/dist/esm/models/work-order-search-dto.d.ts +6 -0
- package/dist/esm/models/work-order-search-dto.js +6 -0
- package/dist/esm/models/work-order-type-enum.d.ts +1 -1
- package/dist/esm/models/work-order-type-enum.js +1 -1
- package/dist/models/{excel-import-result-dtocalendar-export-dto.d.ts → calendar-add-redis-list-vo.d.ts} +21 -9
- package/dist/models/file-dto.d.ts +3 -3
- package/dist/models/get-user-wx200-response.d.ts +18 -18
- package/dist/models/index.d.ts +13 -24
- package/dist/models/index.js +13 -24
- package/dist/models/inspection-item-bo.d.ts +10 -4
- package/dist/models/inspection-point-item.d.ts +6 -18
- package/dist/models/ipage-access-vo.d.ts +3 -3
- package/dist/models/{json-result-page-dto-sys-user-msg-dto.d.ts → json-result-calendar-add-redis-list-vo.d.ts} +11 -11
- package/dist/models/json-result-page-dto-sys-user-msg-list-dto.d.ts +56 -0
- package/dist/models/json-result-space-edit-before-and-after-dto.d.ts +56 -0
- package/dist/{esm/models/json-result-park-info-dto.d.ts → models/json-result-sys-user-msg-do.d.ts} +11 -11
- package/dist/models/maintenance-history-dto.d.ts +6 -0
- package/dist/models/maintenance-history-dto.js +6 -0
- package/dist/models/{page-dto-sys-user-msg-dto.d.ts → page-dto-sys-user-msg-list-dto.d.ts} +7 -7
- package/dist/models/period-detail-resp.d.ts +6 -0
- package/dist/models/period-detail-resp.js +6 -0
- package/dist/models/plan-add-vo.d.ts +1 -1
- package/dist/models/plan-edit-vo.d.ts +1 -1
- package/dist/models/plan-item-add-vo.d.ts +1 -1
- package/dist/models/plan-item-edit-vo.d.ts +1 -1
- package/dist/models/space-edit-before-and-after-dto.d.ts +31 -0
- package/dist/models/space-edit-excel-dto.d.ts +78 -0
- package/dist/models/sys-dept.d.ts +0 -6
- package/dist/models/sys-user-msg-do.d.ts +90 -0
- package/dist/{esm/models/sys-user-msg-dto.d.ts → models/sys-user-msg-list-dto.d.ts} +28 -30
- package/dist/models/sys-user-msg-search-list-vo.d.ts +54 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/dist/models/work-order-add-vo.d.ts +4 -23
- package/dist/{esm/models/system-user-msg-type-enum.js → models/work-order-check-before-acceptance-adopt-vo.d.ts} +15 -7
- package/dist/{esm/models/work-order-dept-settings-add-or-update-vo.d.ts → models/work-order-check-before-acceptance-no-vo.d.ts} +12 -12
- package/dist/models/work-order-detail-dto.d.ts +6 -19
- package/dist/models/work-order-detail-dto.js +6 -0
- package/dist/models/work-order-inspection-detail-dto.d.ts +13 -1
- package/dist/models/work-order-inspection-item-req.d.ts +3 -3
- package/dist/models/work-order-search-dto.d.ts +6 -0
- package/dist/models/work-order-search-dto.js +6 -0
- package/dist/models/work-order-type-enum.d.ts +1 -1
- package/dist/models/work-order-type-enum.js +1 -1
- package/models/{excel-import-result-dtocalendar-export-dto.ts → calendar-add-redis-list-vo.ts} +21 -9
- package/models/file-dto.ts +3 -3
- package/models/get-user-wx200-response.ts +18 -18
- package/models/index.ts +13 -24
- package/models/inspection-item-bo.ts +10 -4
- package/models/inspection-point-item.ts +6 -18
- package/models/ipage-access-vo.ts +3 -3
- package/models/{json-result-sys-user-msg-dto.ts → json-result-calendar-add-redis-list-vo.ts} +11 -11
- package/models/{json-result-page-dto-sys-user-msg-dto.ts → json-result-page-dto-sys-user-msg-list-dto.ts} +11 -11
- package/models/{json-result-work-order-dept-settings-entity.ts → json-result-space-edit-before-and-after-dto.ts} +11 -11
- package/models/{json-result-park-info-dto.ts → json-result-sys-user-msg-do.ts} +11 -11
- package/models/maintenance-history-dto.ts +6 -0
- package/models/{page-dto-sys-user-msg-dto.ts → page-dto-sys-user-msg-list-dto.ts} +7 -7
- package/models/period-detail-resp.ts +6 -0
- package/models/plan-add-vo.ts +1 -1
- package/models/plan-edit-vo.ts +1 -1
- package/models/plan-item-add-vo.ts +1 -1
- package/models/plan-item-edit-vo.ts +1 -1
- package/models/space-edit-before-and-after-dto.ts +39 -0
- package/models/space-edit-excel-dto.ts +84 -0
- package/models/sys-dept.ts +0 -6
- package/models/sys-user-msg-do.ts +96 -0
- package/models/{sys-user-msg-dto.ts → sys-user-msg-list-dto.ts} +28 -36
- package/models/sys-user-msg-search-list-vo.ts +60 -0
- package/models/sys-user.ts +4 -4
- package/models/work-order-add-vo.ts +4 -25
- package/models/{system-user-msg-type-enum.ts → work-order-check-before-acceptance-adopt-vo.ts} +15 -10
- package/models/{work-order-dept-settings-add-or-update-vo.ts → work-order-check-before-acceptance-no-vo.ts} +12 -12
- package/models/work-order-detail-dto.ts +6 -21
- package/models/work-order-inspection-detail-dto.ts +13 -1
- package/models/work-order-inspection-item-req.ts +3 -3
- package/models/work-order-search-dto.ts +6 -0
- package/models/work-order-type-enum.ts +1 -1
- package/package.json +1 -1
- package/apis/inspection-standard-api.ts +0 -1111
- package/dist/apis/inspection-standard-api.d.ts +0 -574
- package/dist/apis/inspection-standard-api.js +0 -872
- package/dist/apis/maintenance-standard-api.d.ts +0 -614
- package/dist/esm/apis/inspection-standard-api.d.ts +0 -574
- package/dist/esm/apis/inspection-standard-api.js +0 -865
- package/dist/esm/apis/maintenance-standard-api.d.ts +0 -614
- package/dist/esm/models/dept-relation-dto.d.ts +0 -120
- package/dist/esm/models/dept-relation.d.ts +0 -84
- package/dist/esm/models/excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -31
- package/dist/esm/models/excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -31
- package/dist/esm/models/inspection-standard-import-dto.d.ts +0 -108
- package/dist/esm/models/json-result-excel-import-result-dtocalendar-export-dto.d.ts +0 -56
- package/dist/esm/models/json-result-excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -56
- package/dist/esm/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -56
- package/dist/esm/models/json-result-list-work-order-dept-settings-entity.d.ts +0 -56
- package/dist/esm/models/json-result-work-order-dept-settings-entity.d.ts +0 -56
- package/dist/esm/models/json-result-work-order-dept-settings-entity.js +0 -14
- package/dist/esm/models/maintenance-standard-import-dto.d.ts +0 -114
- package/dist/esm/models/maintenance-standard-import-dto.js +0 -14
- package/dist/esm/models/page-dto-sys-user-msg-dto.js +0 -14
- package/dist/esm/models/park-info-dto.d.ts +0 -85
- package/dist/esm/models/park-info-dto.js +0 -14
- package/dist/esm/models/park-info-edit-vo.d.ts +0 -49
- package/dist/esm/models/park-info-edit-vo.js +0 -14
- package/dist/esm/models/sys-user-msg-dto.js +0 -14
- package/dist/esm/models/system-user-msg-source-type-enum.d.ts +0 -23
- package/dist/esm/models/system-user-msg-source-type-enum.js +0 -24
- package/dist/esm/models/work-order-dept-settings-add-or-update-vo.js +0 -14
- package/dist/esm/models/work-order-dept-settings-entity.d.ts +0 -67
- package/dist/esm/models/work-order-dept-settings-entity.js +0 -14
- package/dist/esm/models/work-order-issue-type-enum.d.ts +0 -26
- package/dist/esm/models/work-order-issue-type-enum.js +0 -27
- package/dist/models/dept-relation-dto.d.ts +0 -120
- package/dist/models/dept-relation.d.ts +0 -84
- package/dist/models/excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -31
- package/dist/models/excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -31
- package/dist/models/inspection-standard-import-dto.d.ts +0 -108
- package/dist/models/json-result-excel-import-result-dtocalendar-export-dto.d.ts +0 -56
- package/dist/models/json-result-excel-import-result-dtoinspection-standard-import-dto.d.ts +0 -56
- package/dist/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.d.ts +0 -56
- package/dist/models/json-result-list-work-order-dept-settings-entity.d.ts +0 -56
- package/dist/models/json-result-sys-user-msg-dto.d.ts +0 -56
- package/dist/models/json-result-work-order-dept-settings-entity.d.ts +0 -56
- package/dist/models/json-result-work-order-dept-settings-entity.js +0 -15
- package/dist/models/maintenance-standard-import-dto.d.ts +0 -114
- package/dist/models/maintenance-standard-import-dto.js +0 -15
- package/dist/models/page-dto-sys-user-msg-dto.js +0 -15
- package/dist/models/park-info-dto.d.ts +0 -85
- package/dist/models/park-info-dto.js +0 -15
- package/dist/models/park-info-edit-vo.d.ts +0 -49
- package/dist/models/park-info-edit-vo.js +0 -15
- package/dist/models/sys-user-msg-dto.js +0 -15
- package/dist/models/system-user-msg-source-type-enum.d.ts +0 -23
- package/dist/models/system-user-msg-source-type-enum.js +0 -27
- package/dist/models/system-user-msg-type-enum.d.ts +0 -21
- package/dist/models/system-user-msg-type-enum.js +0 -25
- package/dist/models/work-order-dept-settings-add-or-update-vo.js +0 -15
- package/dist/models/work-order-dept-settings-entity.d.ts +0 -67
- package/dist/models/work-order-dept-settings-entity.js +0 -15
- package/dist/models/work-order-issue-type-enum.d.ts +0 -26
- package/dist/models/work-order-issue-type-enum.js +0 -30
- package/models/dept-relation-dto.ts +0 -126
- package/models/dept-relation.ts +0 -90
- package/models/excel-import-result-dtoinspection-standard-import-dto.ts +0 -39
- package/models/excel-import-result-dtomaintenance-standard-import-dto.ts +0 -39
- package/models/inspection-standard-import-dto.ts +0 -114
- package/models/json-result-excel-import-result-dtocalendar-export-dto.ts +0 -66
- package/models/json-result-excel-import-result-dtoinspection-standard-import-dto.ts +0 -66
- package/models/json-result-excel-import-result-dtomaintenance-standard-import-dto.ts +0 -66
- package/models/json-result-list-work-order-dept-settings-entity.ts +0 -66
- package/models/maintenance-standard-import-dto.ts +0 -120
- package/models/park-info-dto.ts +0 -93
- package/models/park-info-edit-vo.ts +0 -57
- package/models/system-user-msg-source-type-enum.ts +0 -33
- package/models/work-order-dept-settings-entity.ts +0 -77
- package/models/work-order-issue-type-enum.ts +0 -36
- /package/dist/esm/models/{dept-relation-dto.js → calendar-add-redis-list-vo.js} +0 -0
- /package/dist/esm/models/{dept-relation.js → json-result-calendar-add-redis-list-vo.js} +0 -0
- /package/dist/esm/models/{excel-import-result-dtocalendar-export-dto.js → json-result-page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/esm/models/{excel-import-result-dtoinspection-standard-import-dto.js → json-result-space-edit-before-and-after-dto.js} +0 -0
- /package/dist/esm/models/{excel-import-result-dtomaintenance-standard-import-dto.js → json-result-sys-user-msg-do.js} +0 -0
- /package/dist/esm/models/{inspection-standard-import-dto.js → page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/esm/models/{json-result-excel-import-result-dtocalendar-export-dto.js → space-edit-before-and-after-dto.js} +0 -0
- /package/dist/esm/models/{json-result-excel-import-result-dtoinspection-standard-import-dto.js → space-edit-excel-dto.js} +0 -0
- /package/dist/esm/models/{json-result-excel-import-result-dtomaintenance-standard-import-dto.js → sys-user-msg-do.js} +0 -0
- /package/dist/esm/models/{json-result-list-work-order-dept-settings-entity.js → sys-user-msg-list-dto.js} +0 -0
- /package/dist/esm/models/{json-result-page-dto-sys-user-msg-dto.js → sys-user-msg-search-list-vo.js} +0 -0
- /package/dist/esm/models/{json-result-park-info-dto.js → work-order-check-before-acceptance-adopt-vo.js} +0 -0
- /package/dist/esm/models/{json-result-sys-user-msg-dto.js → work-order-check-before-acceptance-no-vo.js} +0 -0
- /package/dist/models/{dept-relation-dto.js → calendar-add-redis-list-vo.js} +0 -0
- /package/dist/models/{dept-relation.js → json-result-calendar-add-redis-list-vo.js} +0 -0
- /package/dist/models/{excel-import-result-dtocalendar-export-dto.js → json-result-page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/models/{excel-import-result-dtoinspection-standard-import-dto.js → json-result-space-edit-before-and-after-dto.js} +0 -0
- /package/dist/models/{excel-import-result-dtomaintenance-standard-import-dto.js → json-result-sys-user-msg-do.js} +0 -0
- /package/dist/models/{inspection-standard-import-dto.js → page-dto-sys-user-msg-list-dto.js} +0 -0
- /package/dist/models/{json-result-excel-import-result-dtocalendar-export-dto.js → space-edit-before-and-after-dto.js} +0 -0
- /package/dist/models/{json-result-excel-import-result-dtoinspection-standard-import-dto.js → space-edit-excel-dto.js} +0 -0
- /package/dist/models/{json-result-excel-import-result-dtomaintenance-standard-import-dto.js → sys-user-msg-do.js} +0 -0
- /package/dist/models/{json-result-list-work-order-dept-settings-entity.js → sys-user-msg-list-dto.js} +0 -0
- /package/dist/models/{json-result-page-dto-sys-user-msg-dto.js → sys-user-msg-search-list-vo.js} +0 -0
- /package/dist/models/{json-result-park-info-dto.js → work-order-check-before-acceptance-adopt-vo.js} +0 -0
- /package/dist/models/{json-result-sys-user-msg-dto.js → work-order-check-before-acceptance-no-vo.js} +0 -0
package/apis/calendar-api.ts
CHANGED
|
@@ -26,13 +26,13 @@ import type { CalendarSaveUpdateDto } from '../models';
|
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import type { JsonResult } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
|
-
import type {
|
|
29
|
+
import type { JsonResultCalendarAddRedisListVo } from '../models';
|
|
30
30
|
// @ts-ignore
|
|
31
|
-
import type {
|
|
31
|
+
import type { JsonResultCalendarEntity } from '../models';
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
import type { JsonResultListCalendarEntity } from '../models';
|
|
34
34
|
// @ts-ignore
|
|
35
|
-
import type {
|
|
35
|
+
import type { SaveWaterMeterBatchRequest } from '../models';
|
|
36
36
|
/**
|
|
37
37
|
* CalendarApi - axios parameter creator
|
|
38
38
|
* @export
|
|
@@ -41,12 +41,17 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
41
41
|
return {
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @summary
|
|
44
|
+
* @summary 导出
|
|
45
|
+
* @param {number} year
|
|
46
|
+
* @param {string} [language]
|
|
45
47
|
* @param {*} [options] Override http request option.
|
|
46
48
|
* @throws {RequiredError}
|
|
47
49
|
*/
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
exportList2: async (year: number, language?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
51
|
+
// verify required parameter 'year' is not null or undefined
|
|
52
|
+
assertParamExists('exportList2', 'year', year)
|
|
53
|
+
const localVarPath = `/calendar/exportList/{year}`
|
|
54
|
+
.replace(`{${"year"}}`, encodeURIComponent(String(year)));
|
|
50
55
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
56
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
57
|
let baseOptions;
|
|
@@ -54,7 +59,7 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
54
59
|
baseOptions = configuration.baseOptions;
|
|
55
60
|
}
|
|
56
61
|
|
|
57
|
-
const localVarRequestOptions = { method: '
|
|
62
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
58
63
|
const localVarHeaderParameter = {} as any;
|
|
59
64
|
const localVarQueryParameter = {} as any;
|
|
60
65
|
|
|
@@ -62,6 +67,10 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
62
67
|
// http bearer authentication required
|
|
63
68
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
64
69
|
|
|
70
|
+
if (language !== undefined) {
|
|
71
|
+
localVarQueryParameter['language'] = language;
|
|
72
|
+
}
|
|
73
|
+
|
|
65
74
|
|
|
66
75
|
|
|
67
76
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -75,12 +84,12 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
75
84
|
},
|
|
76
85
|
/**
|
|
77
86
|
*
|
|
78
|
-
* @summary
|
|
87
|
+
* @summary 导入-入库
|
|
79
88
|
* @param {*} [options] Override http request option.
|
|
80
89
|
* @throws {RequiredError}
|
|
81
90
|
*/
|
|
82
|
-
|
|
83
|
-
const localVarPath = `/calendar/
|
|
91
|
+
exportMysql1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
92
|
+
const localVarPath = `/calendar/exportMysql`;
|
|
84
93
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
85
94
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
86
95
|
let baseOptions;
|
|
@@ -109,13 +118,12 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
109
118
|
},
|
|
110
119
|
/**
|
|
111
120
|
*
|
|
112
|
-
* @summary
|
|
113
|
-
* @param {string} [language]
|
|
121
|
+
* @summary 导入结果确认
|
|
114
122
|
* @param {*} [options] Override http request option.
|
|
115
123
|
* @throws {RequiredError}
|
|
116
124
|
*/
|
|
117
|
-
|
|
118
|
-
const localVarPath = `/calendar/
|
|
125
|
+
exportRedisList1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
126
|
+
const localVarPath = `/calendar/exportRedisList`;
|
|
119
127
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
120
128
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
121
129
|
let baseOptions;
|
|
@@ -131,10 +139,6 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
131
139
|
// http bearer authentication required
|
|
132
140
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
133
141
|
|
|
134
|
-
if (language !== undefined) {
|
|
135
|
-
localVarQueryParameter['language'] = language;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
142
|
|
|
139
143
|
|
|
140
144
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -148,19 +152,15 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
148
152
|
},
|
|
149
153
|
/**
|
|
150
154
|
*
|
|
151
|
-
* @summary
|
|
152
|
-
* @param {
|
|
153
|
-
* @param {File} file
|
|
154
|
-
* @param {string} [language] 语言
|
|
155
|
+
* @summary 获取日历设置
|
|
156
|
+
* @param {string} date
|
|
155
157
|
* @param {*} [options] Override http request option.
|
|
156
158
|
* @throws {RequiredError}
|
|
157
159
|
*/
|
|
158
|
-
|
|
159
|
-
// verify required parameter '
|
|
160
|
-
assertParamExists('
|
|
161
|
-
|
|
162
|
-
assertParamExists('calendarBatchImportUpload', 'file', file)
|
|
163
|
-
const localVarPath = `/calendar/batchImport/upload`;
|
|
160
|
+
getByDate: async (date: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
161
|
+
// verify required parameter 'date' is not null or undefined
|
|
162
|
+
assertParamExists('getByDate', 'date', date)
|
|
163
|
+
const localVarPath = `/calendar/getByDate`;
|
|
164
164
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
165
165
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
166
166
|
let baseOptions;
|
|
@@ -168,35 +168,25 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
168
168
|
baseOptions = configuration.baseOptions;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
const localVarRequestOptions = { method: '
|
|
171
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
172
172
|
const localVarHeaderParameter = {} as any;
|
|
173
173
|
const localVarQueryParameter = {} as any;
|
|
174
|
-
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
175
174
|
|
|
176
175
|
// authentication tokenScheme required
|
|
177
176
|
// http bearer authentication required
|
|
178
177
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
179
178
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
if (language !== undefined) {
|
|
186
|
-
localVarFormParams.append('language', language as any);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
if (file !== undefined) {
|
|
190
|
-
localVarFormParams.append('file', file as any);
|
|
179
|
+
if (date !== undefined) {
|
|
180
|
+
localVarQueryParameter['date'] = (date as any instanceof Date) ?
|
|
181
|
+
(date as any).toISOString() :
|
|
182
|
+
date;
|
|
191
183
|
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
184
|
+
|
|
185
|
+
|
|
195
186
|
|
|
196
187
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
197
188
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
198
189
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
199
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
200
190
|
|
|
201
191
|
return {
|
|
202
192
|
url: toPathString(localVarUrlObj),
|
|
@@ -205,17 +195,14 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
205
195
|
},
|
|
206
196
|
/**
|
|
207
197
|
*
|
|
208
|
-
* @summary
|
|
209
|
-
* @param {number} year
|
|
198
|
+
* @summary 导入redis
|
|
210
199
|
* @param {string} [language]
|
|
200
|
+
* @param {SaveWaterMeterBatchRequest} [saveWaterMeterBatchRequest]
|
|
211
201
|
* @param {*} [options] Override http request option.
|
|
212
202
|
* @throws {RequiredError}
|
|
213
203
|
*/
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
assertParamExists('calendarExport', 'year', year)
|
|
217
|
-
const localVarPath = `/calendar/export/{year}`
|
|
218
|
-
.replace(`{${"year"}}`, encodeURIComponent(String(year)));
|
|
204
|
+
saveBatchExport1: async (language?: string, saveWaterMeterBatchRequest?: SaveWaterMeterBatchRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
205
|
+
const localVarPath = `/calendar/saveBatchExport`;
|
|
219
206
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
220
207
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
221
208
|
let baseOptions;
|
|
@@ -223,7 +210,7 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
223
210
|
baseOptions = configuration.baseOptions;
|
|
224
211
|
}
|
|
225
212
|
|
|
226
|
-
const localVarRequestOptions = { method: '
|
|
213
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
227
214
|
const localVarHeaderParameter = {} as any;
|
|
228
215
|
const localVarQueryParameter = {} as any;
|
|
229
216
|
|
|
@@ -237,9 +224,12 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
237
224
|
|
|
238
225
|
|
|
239
226
|
|
|
227
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
228
|
+
|
|
240
229
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
241
230
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
242
231
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
232
|
+
localVarRequestOptions.data = serializeDataIfNeeded(saveWaterMeterBatchRequest, localVarRequestOptions, configuration)
|
|
243
233
|
|
|
244
234
|
return {
|
|
245
235
|
url: toPathString(localVarUrlObj),
|
|
@@ -248,15 +238,14 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
248
238
|
},
|
|
249
239
|
/**
|
|
250
240
|
*
|
|
251
|
-
* @summary
|
|
252
|
-
* @param {string}
|
|
241
|
+
* @summary 根据时间区间查询
|
|
242
|
+
* @param {string} [start] 开始时间
|
|
243
|
+
* @param {string} [end] 结束时间
|
|
253
244
|
* @param {*} [options] Override http request option.
|
|
254
245
|
* @throws {RequiredError}
|
|
255
246
|
*/
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
assertParamExists('getByDate', 'date', date)
|
|
259
|
-
const localVarPath = `/calendar/getByDate`;
|
|
247
|
+
sectionQuery: async (start?: string, end?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
248
|
+
const localVarPath = `/calendar/sectionQuery`;
|
|
260
249
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
261
250
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
262
251
|
let baseOptions;
|
|
@@ -272,10 +261,16 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
272
261
|
// http bearer authentication required
|
|
273
262
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
274
263
|
|
|
275
|
-
if (
|
|
276
|
-
localVarQueryParameter['
|
|
277
|
-
(
|
|
278
|
-
|
|
264
|
+
if (start !== undefined) {
|
|
265
|
+
localVarQueryParameter['start'] = (start as any instanceof Date) ?
|
|
266
|
+
(start as any).toISOString() :
|
|
267
|
+
start;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
if (end !== undefined) {
|
|
271
|
+
localVarQueryParameter['end'] = (end as any instanceof Date) ?
|
|
272
|
+
(end as any).toISOString() :
|
|
273
|
+
end;
|
|
279
274
|
}
|
|
280
275
|
|
|
281
276
|
|
|
@@ -291,14 +286,15 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
291
286
|
},
|
|
292
287
|
/**
|
|
293
288
|
*
|
|
294
|
-
* @summary
|
|
295
|
-
* @param {
|
|
296
|
-
* @param {string} [end] 结束时间
|
|
289
|
+
* @summary 修改日期
|
|
290
|
+
* @param {CalendarSaveUpdateDto} calendarSaveUpdateDto
|
|
297
291
|
* @param {*} [options] Override http request option.
|
|
298
292
|
* @throws {RequiredError}
|
|
299
293
|
*/
|
|
300
|
-
|
|
301
|
-
|
|
294
|
+
updateOrAdd: async (calendarSaveUpdateDto: CalendarSaveUpdateDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
295
|
+
// verify required parameter 'calendarSaveUpdateDto' is not null or undefined
|
|
296
|
+
assertParamExists('updateOrAdd', 'calendarSaveUpdateDto', calendarSaveUpdateDto)
|
|
297
|
+
const localVarPath = `/calendar/updateOrAdd`;
|
|
302
298
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
303
299
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
304
300
|
let baseOptions;
|
|
@@ -306,7 +302,7 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
306
302
|
baseOptions = configuration.baseOptions;
|
|
307
303
|
}
|
|
308
304
|
|
|
309
|
-
const localVarRequestOptions = { method: '
|
|
305
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
310
306
|
const localVarHeaderParameter = {} as any;
|
|
311
307
|
const localVarQueryParameter = {} as any;
|
|
312
308
|
|
|
@@ -314,23 +310,14 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
314
310
|
// http bearer authentication required
|
|
315
311
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
316
312
|
|
|
317
|
-
if (start !== undefined) {
|
|
318
|
-
localVarQueryParameter['start'] = (start as any instanceof Date) ?
|
|
319
|
-
(start as any).toISOString() :
|
|
320
|
-
start;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
if (end !== undefined) {
|
|
324
|
-
localVarQueryParameter['end'] = (end as any instanceof Date) ?
|
|
325
|
-
(end as any).toISOString() :
|
|
326
|
-
end;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
313
|
|
|
330
314
|
|
|
315
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
316
|
+
|
|
331
317
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
332
318
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
333
319
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
320
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calendarSaveUpdateDto, localVarRequestOptions, configuration)
|
|
334
321
|
|
|
335
322
|
return {
|
|
336
323
|
url: toPathString(localVarUrlObj),
|
|
@@ -339,15 +326,13 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
339
326
|
},
|
|
340
327
|
/**
|
|
341
328
|
*
|
|
342
|
-
* @summary
|
|
343
|
-
* @param {
|
|
329
|
+
* @summary 导入模板
|
|
330
|
+
* @param {string} [language]
|
|
344
331
|
* @param {*} [options] Override http request option.
|
|
345
332
|
* @throws {RequiredError}
|
|
346
333
|
*/
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
assertParamExists('updateOrAdd', 'calendarSaveUpdateDto', calendarSaveUpdateDto)
|
|
350
|
-
const localVarPath = `/calendar/updateOrAdd`;
|
|
334
|
+
uploadAdd4: async (language?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
335
|
+
const localVarPath = `/calendar/uploadAdd`;
|
|
351
336
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
352
337
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
353
338
|
let baseOptions;
|
|
@@ -355,7 +340,7 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
355
340
|
baseOptions = configuration.baseOptions;
|
|
356
341
|
}
|
|
357
342
|
|
|
358
|
-
const localVarRequestOptions = { method: '
|
|
343
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
359
344
|
const localVarHeaderParameter = {} as any;
|
|
360
345
|
const localVarQueryParameter = {} as any;
|
|
361
346
|
|
|
@@ -363,14 +348,15 @@ export const CalendarApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
363
348
|
// http bearer authentication required
|
|
364
349
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
365
350
|
|
|
351
|
+
if (language !== undefined) {
|
|
352
|
+
localVarQueryParameter['language'] = language;
|
|
353
|
+
}
|
|
366
354
|
|
|
367
|
-
|
|
368
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
369
355
|
|
|
356
|
+
|
|
370
357
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
371
358
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
372
359
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
373
|
-
localVarRequestOptions.data = serializeDataIfNeeded(calendarSaveUpdateDto, localVarRequestOptions, configuration)
|
|
374
360
|
|
|
375
361
|
return {
|
|
376
362
|
url: toPathString(localVarUrlObj),
|
|
@@ -389,81 +375,67 @@ export const CalendarApiFp = function(configuration?: Configuration) {
|
|
|
389
375
|
return {
|
|
390
376
|
/**
|
|
391
377
|
*
|
|
392
|
-
* @summary
|
|
378
|
+
* @summary 导出
|
|
379
|
+
* @param {number} year
|
|
380
|
+
* @param {string} [language]
|
|
393
381
|
* @param {*} [options] Override http request option.
|
|
394
382
|
* @throws {RequiredError}
|
|
395
383
|
*/
|
|
396
|
-
async
|
|
397
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
384
|
+
async exportList2(year: number, language?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
385
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportList2(year, language, options);
|
|
398
386
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
399
|
-
const localVarOperationServerBasePath = operationServerMap['CalendarApi.
|
|
387
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.exportList2']?.[localVarOperationServerIndex]?.url;
|
|
400
388
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
401
389
|
},
|
|
402
390
|
/**
|
|
403
391
|
*
|
|
404
|
-
* @summary
|
|
392
|
+
* @summary 导入-入库
|
|
405
393
|
* @param {*} [options] Override http request option.
|
|
406
394
|
* @throws {RequiredError}
|
|
407
395
|
*/
|
|
408
|
-
async
|
|
409
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
396
|
+
async exportMysql1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
397
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportMysql1(options);
|
|
410
398
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
411
|
-
const localVarOperationServerBasePath = operationServerMap['CalendarApi.
|
|
399
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.exportMysql1']?.[localVarOperationServerIndex]?.url;
|
|
412
400
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
413
401
|
},
|
|
414
402
|
/**
|
|
415
403
|
*
|
|
416
|
-
* @summary
|
|
417
|
-
* @param {string} [language]
|
|
404
|
+
* @summary 导入结果确认
|
|
418
405
|
* @param {*} [options] Override http request option.
|
|
419
406
|
* @throws {RequiredError}
|
|
420
407
|
*/
|
|
421
|
-
async
|
|
422
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
408
|
+
async exportRedisList1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultCalendarAddRedisListVo>> {
|
|
409
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportRedisList1(options);
|
|
423
410
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
424
|
-
const localVarOperationServerBasePath = operationServerMap['CalendarApi.
|
|
411
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.exportRedisList1']?.[localVarOperationServerIndex]?.url;
|
|
425
412
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
426
413
|
},
|
|
427
414
|
/**
|
|
428
415
|
*
|
|
429
|
-
* @summary
|
|
430
|
-
* @param {
|
|
431
|
-
* @param {File} file
|
|
432
|
-
* @param {string} [language] 语言
|
|
416
|
+
* @summary 获取日历设置
|
|
417
|
+
* @param {string} date
|
|
433
418
|
* @param {*} [options] Override http request option.
|
|
434
419
|
* @throws {RequiredError}
|
|
435
420
|
*/
|
|
436
|
-
async
|
|
437
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
421
|
+
async getByDate(date: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultCalendarEntity>> {
|
|
422
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getByDate(date, options);
|
|
438
423
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
439
|
-
const localVarOperationServerBasePath = operationServerMap['CalendarApi.
|
|
424
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.getByDate']?.[localVarOperationServerIndex]?.url;
|
|
440
425
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
441
426
|
},
|
|
442
427
|
/**
|
|
443
428
|
*
|
|
444
|
-
* @summary
|
|
445
|
-
* @param {number} year
|
|
429
|
+
* @summary 导入redis
|
|
446
430
|
* @param {string} [language]
|
|
431
|
+
* @param {SaveWaterMeterBatchRequest} [saveWaterMeterBatchRequest]
|
|
447
432
|
* @param {*} [options] Override http request option.
|
|
448
433
|
* @throws {RequiredError}
|
|
449
434
|
*/
|
|
450
|
-
async
|
|
451
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
435
|
+
async saveBatchExport1(language?: string, saveWaterMeterBatchRequest?: SaveWaterMeterBatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.saveBatchExport1(language, saveWaterMeterBatchRequest, options);
|
|
452
437
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
453
|
-
const localVarOperationServerBasePath = operationServerMap['CalendarApi.
|
|
454
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
455
|
-
},
|
|
456
|
-
/**
|
|
457
|
-
*
|
|
458
|
-
* @summary 获取日历设置
|
|
459
|
-
* @param {string} date
|
|
460
|
-
* @param {*} [options] Override http request option.
|
|
461
|
-
* @throws {RequiredError}
|
|
462
|
-
*/
|
|
463
|
-
async getByDate(date: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultCalendarEntity>> {
|
|
464
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getByDate(date, options);
|
|
465
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
466
|
-
const localVarOperationServerBasePath = operationServerMap['CalendarApi.getByDate']?.[localVarOperationServerIndex]?.url;
|
|
438
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.saveBatchExport1']?.[localVarOperationServerIndex]?.url;
|
|
467
439
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
468
440
|
},
|
|
469
441
|
/**
|
|
@@ -493,6 +465,19 @@ export const CalendarApiFp = function(configuration?: Configuration) {
|
|
|
493
465
|
const localVarOperationServerBasePath = operationServerMap['CalendarApi.updateOrAdd']?.[localVarOperationServerIndex]?.url;
|
|
494
466
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
495
467
|
},
|
|
468
|
+
/**
|
|
469
|
+
*
|
|
470
|
+
* @summary 导入模板
|
|
471
|
+
* @param {string} [language]
|
|
472
|
+
* @param {*} [options] Override http request option.
|
|
473
|
+
* @throws {RequiredError}
|
|
474
|
+
*/
|
|
475
|
+
async uploadAdd4(language?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
476
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadAdd4(language, options);
|
|
477
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
478
|
+
const localVarOperationServerBasePath = operationServerMap['CalendarApi.uploadAdd4']?.[localVarOperationServerIndex]?.url;
|
|
479
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
480
|
+
},
|
|
496
481
|
}
|
|
497
482
|
};
|
|
498
483
|
|
|
@@ -505,61 +490,51 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
|
|
|
505
490
|
return {
|
|
506
491
|
/**
|
|
507
492
|
*
|
|
508
|
-
* @summary
|
|
509
|
-
* @param {
|
|
510
|
-
* @throws {RequiredError}
|
|
511
|
-
*/
|
|
512
|
-
calendarBatchImportConfirm(options?: RawAxiosRequestConfig): AxiosPromise<JsonResultExcelImportResultDTOCalendarExportDto> {
|
|
513
|
-
return localVarFp.calendarBatchImportConfirm(options).then((request) => request(axios, basePath));
|
|
514
|
-
},
|
|
515
|
-
/**
|
|
516
|
-
*
|
|
517
|
-
* @summary 导入-预览
|
|
493
|
+
* @summary 导出
|
|
494
|
+
* @param {CalendarApiExportList2Request} requestParameters Request parameters.
|
|
518
495
|
* @param {*} [options] Override http request option.
|
|
519
496
|
* @throws {RequiredError}
|
|
520
497
|
*/
|
|
521
|
-
|
|
522
|
-
return localVarFp.
|
|
498
|
+
exportList2(requestParameters: CalendarApiExportList2Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
499
|
+
return localVarFp.exportList2(requestParameters.year, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
523
500
|
},
|
|
524
501
|
/**
|
|
525
502
|
*
|
|
526
|
-
* @summary
|
|
527
|
-
* @param {CalendarApiCalendarBatchImportTemplateRequest} requestParameters Request parameters.
|
|
503
|
+
* @summary 导入-入库
|
|
528
504
|
* @param {*} [options] Override http request option.
|
|
529
505
|
* @throws {RequiredError}
|
|
530
506
|
*/
|
|
531
|
-
|
|
532
|
-
return localVarFp.
|
|
507
|
+
exportMysql1(options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
508
|
+
return localVarFp.exportMysql1(options).then((request) => request(axios, basePath));
|
|
533
509
|
},
|
|
534
510
|
/**
|
|
535
511
|
*
|
|
536
|
-
* @summary
|
|
537
|
-
* @param {CalendarApiCalendarBatchImportUploadRequest} requestParameters Request parameters.
|
|
512
|
+
* @summary 导入结果确认
|
|
538
513
|
* @param {*} [options] Override http request option.
|
|
539
514
|
* @throws {RequiredError}
|
|
540
515
|
*/
|
|
541
|
-
|
|
542
|
-
return localVarFp.
|
|
516
|
+
exportRedisList1(options?: RawAxiosRequestConfig): AxiosPromise<JsonResultCalendarAddRedisListVo> {
|
|
517
|
+
return localVarFp.exportRedisList1(options).then((request) => request(axios, basePath));
|
|
543
518
|
},
|
|
544
519
|
/**
|
|
545
520
|
*
|
|
546
|
-
* @summary
|
|
547
|
-
* @param {
|
|
521
|
+
* @summary 获取日历设置
|
|
522
|
+
* @param {CalendarApiGetByDateRequest} requestParameters Request parameters.
|
|
548
523
|
* @param {*} [options] Override http request option.
|
|
549
524
|
* @throws {RequiredError}
|
|
550
525
|
*/
|
|
551
|
-
|
|
552
|
-
return localVarFp.
|
|
526
|
+
getByDate(requestParameters: CalendarApiGetByDateRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultCalendarEntity> {
|
|
527
|
+
return localVarFp.getByDate(requestParameters.date, options).then((request) => request(axios, basePath));
|
|
553
528
|
},
|
|
554
529
|
/**
|
|
555
530
|
*
|
|
556
|
-
* @summary
|
|
557
|
-
* @param {
|
|
531
|
+
* @summary 导入redis
|
|
532
|
+
* @param {CalendarApiSaveBatchExport1Request} requestParameters Request parameters.
|
|
558
533
|
* @param {*} [options] Override http request option.
|
|
559
534
|
* @throws {RequiredError}
|
|
560
535
|
*/
|
|
561
|
-
|
|
562
|
-
return localVarFp.
|
|
536
|
+
saveBatchExport1(requestParameters: CalendarApiSaveBatchExport1Request = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
537
|
+
return localVarFp.saveBatchExport1(requestParameters.language, requestParameters.saveWaterMeterBatchRequest, options).then((request) => request(axios, basePath));
|
|
563
538
|
},
|
|
564
539
|
/**
|
|
565
540
|
*
|
|
@@ -581,84 +556,73 @@ export const CalendarApiFactory = function (configuration?: Configuration, baseP
|
|
|
581
556
|
updateOrAdd(requestParameters: CalendarApiUpdateOrAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
582
557
|
return localVarFp.updateOrAdd(requestParameters.calendarSaveUpdateDto, options).then((request) => request(axios, basePath));
|
|
583
558
|
},
|
|
559
|
+
/**
|
|
560
|
+
*
|
|
561
|
+
* @summary 导入模板
|
|
562
|
+
* @param {CalendarApiUploadAdd4Request} requestParameters Request parameters.
|
|
563
|
+
* @param {*} [options] Override http request option.
|
|
564
|
+
* @throws {RequiredError}
|
|
565
|
+
*/
|
|
566
|
+
uploadAdd4(requestParameters: CalendarApiUploadAdd4Request = {}, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
567
|
+
return localVarFp.uploadAdd4(requestParameters.language, options).then((request) => request(axios, basePath));
|
|
568
|
+
},
|
|
584
569
|
};
|
|
585
570
|
};
|
|
586
571
|
|
|
587
572
|
/**
|
|
588
|
-
* Request parameters for
|
|
573
|
+
* Request parameters for exportList2 operation in CalendarApi.
|
|
589
574
|
* @export
|
|
590
|
-
* @interface
|
|
575
|
+
* @interface CalendarApiExportList2Request
|
|
591
576
|
*/
|
|
592
|
-
export interface
|
|
577
|
+
export interface CalendarApiExportList2Request {
|
|
593
578
|
/**
|
|
594
579
|
*
|
|
595
|
-
* @type {string}
|
|
596
|
-
* @memberof CalendarApiCalendarBatchImportTemplate
|
|
597
|
-
*/
|
|
598
|
-
readonly language?: string
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
/**
|
|
602
|
-
* Request parameters for calendarBatchImportUpload operation in CalendarApi.
|
|
603
|
-
* @export
|
|
604
|
-
* @interface CalendarApiCalendarBatchImportUploadRequest
|
|
605
|
-
*/
|
|
606
|
-
export interface CalendarApiCalendarBatchImportUploadRequest {
|
|
607
|
-
/**
|
|
608
|
-
* 园区id
|
|
609
580
|
* @type {number}
|
|
610
|
-
* @memberof
|
|
581
|
+
* @memberof CalendarApiExportList2
|
|
611
582
|
*/
|
|
612
|
-
readonly
|
|
583
|
+
readonly year: number
|
|
613
584
|
|
|
614
585
|
/**
|
|
615
586
|
*
|
|
616
|
-
* @type {File}
|
|
617
|
-
* @memberof CalendarApiCalendarBatchImportUpload
|
|
618
|
-
*/
|
|
619
|
-
readonly file: File
|
|
620
|
-
|
|
621
|
-
/**
|
|
622
|
-
* 语言
|
|
623
587
|
* @type {string}
|
|
624
|
-
* @memberof
|
|
588
|
+
* @memberof CalendarApiExportList2
|
|
625
589
|
*/
|
|
626
590
|
readonly language?: string
|
|
627
591
|
}
|
|
628
592
|
|
|
629
593
|
/**
|
|
630
|
-
* Request parameters for
|
|
594
|
+
* Request parameters for getByDate operation in CalendarApi.
|
|
631
595
|
* @export
|
|
632
|
-
* @interface
|
|
596
|
+
* @interface CalendarApiGetByDateRequest
|
|
633
597
|
*/
|
|
634
|
-
export interface
|
|
635
|
-
/**
|
|
636
|
-
*
|
|
637
|
-
* @type {number}
|
|
638
|
-
* @memberof CalendarApiCalendarExport
|
|
639
|
-
*/
|
|
640
|
-
readonly year: number
|
|
641
|
-
|
|
598
|
+
export interface CalendarApiGetByDateRequest {
|
|
642
599
|
/**
|
|
643
600
|
*
|
|
644
601
|
* @type {string}
|
|
645
|
-
* @memberof
|
|
602
|
+
* @memberof CalendarApiGetByDate
|
|
646
603
|
*/
|
|
647
|
-
readonly
|
|
604
|
+
readonly date: string
|
|
648
605
|
}
|
|
649
606
|
|
|
650
607
|
/**
|
|
651
|
-
* Request parameters for
|
|
608
|
+
* Request parameters for saveBatchExport1 operation in CalendarApi.
|
|
652
609
|
* @export
|
|
653
|
-
* @interface
|
|
610
|
+
* @interface CalendarApiSaveBatchExport1Request
|
|
654
611
|
*/
|
|
655
|
-
export interface
|
|
612
|
+
export interface CalendarApiSaveBatchExport1Request {
|
|
656
613
|
/**
|
|
657
614
|
*
|
|
658
615
|
* @type {string}
|
|
659
|
-
* @memberof
|
|
616
|
+
* @memberof CalendarApiSaveBatchExport1
|
|
660
617
|
*/
|
|
661
|
-
readonly
|
|
618
|
+
readonly language?: string
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
*
|
|
622
|
+
* @type {SaveWaterMeterBatchRequest}
|
|
623
|
+
* @memberof CalendarApiSaveBatchExport1
|
|
624
|
+
*/
|
|
625
|
+
readonly saveWaterMeterBatchRequest?: SaveWaterMeterBatchRequest
|
|
662
626
|
}
|
|
663
627
|
|
|
664
628
|
/**
|
|
@@ -697,80 +661,82 @@ export interface CalendarApiUpdateOrAddRequest {
|
|
|
697
661
|
}
|
|
698
662
|
|
|
699
663
|
/**
|
|
700
|
-
*
|
|
664
|
+
* Request parameters for uploadAdd4 operation in CalendarApi.
|
|
701
665
|
* @export
|
|
702
|
-
* @
|
|
703
|
-
* @extends {BaseAPI}
|
|
666
|
+
* @interface CalendarApiUploadAdd4Request
|
|
704
667
|
*/
|
|
705
|
-
export
|
|
668
|
+
export interface CalendarApiUploadAdd4Request {
|
|
706
669
|
/**
|
|
707
670
|
*
|
|
708
|
-
* @
|
|
709
|
-
* @
|
|
710
|
-
* @throws {RequiredError}
|
|
711
|
-
* @memberof CalendarApi
|
|
671
|
+
* @type {string}
|
|
672
|
+
* @memberof CalendarApiUploadAdd4
|
|
712
673
|
*/
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
}
|
|
674
|
+
readonly language?: string
|
|
675
|
+
}
|
|
716
676
|
|
|
677
|
+
/**
|
|
678
|
+
* CalendarApi - object-oriented interface
|
|
679
|
+
* @export
|
|
680
|
+
* @class CalendarApi
|
|
681
|
+
* @extends {BaseAPI}
|
|
682
|
+
*/
|
|
683
|
+
export class CalendarApi extends BaseAPI {
|
|
717
684
|
/**
|
|
718
685
|
*
|
|
719
|
-
* @summary
|
|
686
|
+
* @summary 导出
|
|
687
|
+
* @param {CalendarApiExportList2Request} requestParameters Request parameters.
|
|
720
688
|
* @param {*} [options] Override http request option.
|
|
721
689
|
* @throws {RequiredError}
|
|
722
690
|
* @memberof CalendarApi
|
|
723
691
|
*/
|
|
724
|
-
public
|
|
725
|
-
return CalendarApiFp(this.configuration).
|
|
692
|
+
public exportList2(requestParameters: CalendarApiExportList2Request, options?: RawAxiosRequestConfig) {
|
|
693
|
+
return CalendarApiFp(this.configuration).exportList2(requestParameters.year, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
726
694
|
}
|
|
727
695
|
|
|
728
696
|
/**
|
|
729
697
|
*
|
|
730
|
-
* @summary
|
|
731
|
-
* @param {CalendarApiCalendarBatchImportTemplateRequest} requestParameters Request parameters.
|
|
698
|
+
* @summary 导入-入库
|
|
732
699
|
* @param {*} [options] Override http request option.
|
|
733
700
|
* @throws {RequiredError}
|
|
734
701
|
* @memberof CalendarApi
|
|
735
702
|
*/
|
|
736
|
-
public
|
|
737
|
-
return CalendarApiFp(this.configuration).
|
|
703
|
+
public exportMysql1(options?: RawAxiosRequestConfig) {
|
|
704
|
+
return CalendarApiFp(this.configuration).exportMysql1(options).then((request) => request(this.axios, this.basePath));
|
|
738
705
|
}
|
|
739
706
|
|
|
740
707
|
/**
|
|
741
708
|
*
|
|
742
|
-
* @summary
|
|
743
|
-
* @param {CalendarApiCalendarBatchImportUploadRequest} requestParameters Request parameters.
|
|
709
|
+
* @summary 导入结果确认
|
|
744
710
|
* @param {*} [options] Override http request option.
|
|
745
711
|
* @throws {RequiredError}
|
|
746
712
|
* @memberof CalendarApi
|
|
747
713
|
*/
|
|
748
|
-
public
|
|
749
|
-
return CalendarApiFp(this.configuration).
|
|
714
|
+
public exportRedisList1(options?: RawAxiosRequestConfig) {
|
|
715
|
+
return CalendarApiFp(this.configuration).exportRedisList1(options).then((request) => request(this.axios, this.basePath));
|
|
750
716
|
}
|
|
751
717
|
|
|
752
718
|
/**
|
|
753
719
|
*
|
|
754
|
-
* @summary
|
|
755
|
-
* @param {
|
|
720
|
+
* @summary 获取日历设置
|
|
721
|
+
* @param {CalendarApiGetByDateRequest} requestParameters Request parameters.
|
|
756
722
|
* @param {*} [options] Override http request option.
|
|
757
723
|
* @throws {RequiredError}
|
|
758
724
|
* @memberof CalendarApi
|
|
759
725
|
*/
|
|
760
|
-
public
|
|
761
|
-
return CalendarApiFp(this.configuration).
|
|
726
|
+
public getByDate(requestParameters: CalendarApiGetByDateRequest, options?: RawAxiosRequestConfig) {
|
|
727
|
+
return CalendarApiFp(this.configuration).getByDate(requestParameters.date, options).then((request) => request(this.axios, this.basePath));
|
|
762
728
|
}
|
|
763
729
|
|
|
764
730
|
/**
|
|
765
731
|
*
|
|
766
|
-
* @summary
|
|
767
|
-
* @param {
|
|
732
|
+
* @summary 导入redis
|
|
733
|
+
* @param {CalendarApiSaveBatchExport1Request} requestParameters Request parameters.
|
|
768
734
|
* @param {*} [options] Override http request option.
|
|
769
735
|
* @throws {RequiredError}
|
|
770
736
|
* @memberof CalendarApi
|
|
771
737
|
*/
|
|
772
|
-
public
|
|
773
|
-
return CalendarApiFp(this.configuration).
|
|
738
|
+
public saveBatchExport1(requestParameters: CalendarApiSaveBatchExport1Request = {}, options?: RawAxiosRequestConfig) {
|
|
739
|
+
return CalendarApiFp(this.configuration).saveBatchExport1(requestParameters.language, requestParameters.saveWaterMeterBatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
774
740
|
}
|
|
775
741
|
|
|
776
742
|
/**
|
|
@@ -796,5 +762,17 @@ export class CalendarApi extends BaseAPI {
|
|
|
796
762
|
public updateOrAdd(requestParameters: CalendarApiUpdateOrAddRequest, options?: RawAxiosRequestConfig) {
|
|
797
763
|
return CalendarApiFp(this.configuration).updateOrAdd(requestParameters.calendarSaveUpdateDto, options).then((request) => request(this.axios, this.basePath));
|
|
798
764
|
}
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
*
|
|
768
|
+
* @summary 导入模板
|
|
769
|
+
* @param {CalendarApiUploadAdd4Request} requestParameters Request parameters.
|
|
770
|
+
* @param {*} [options] Override http request option.
|
|
771
|
+
* @throws {RequiredError}
|
|
772
|
+
* @memberof CalendarApi
|
|
773
|
+
*/
|
|
774
|
+
public uploadAdd4(requestParameters: CalendarApiUploadAdd4Request = {}, options?: RawAxiosRequestConfig) {
|
|
775
|
+
return CalendarApiFp(this.configuration).uploadAdd4(requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
776
|
+
}
|
|
799
777
|
}
|
|
800
778
|
|