@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
|
@@ -34,24 +34,32 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
|
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @summary
|
|
37
|
+
* @summary 导出
|
|
38
|
+
* @param {number} year
|
|
39
|
+
* @param {string} [language]
|
|
38
40
|
* @param {*} [options] Override http request option.
|
|
39
41
|
* @throws {RequiredError}
|
|
40
42
|
*/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
exportList2: (year_1, language_1, ...args_1) => __awaiter(this, [year_1, language_1, ...args_1], void 0, function* (year, language, options = {}) {
|
|
44
|
+
// verify required parameter 'year' is not null or undefined
|
|
45
|
+
assertParamExists('exportList2', 'year', year);
|
|
46
|
+
const localVarPath = `/calendar/exportList/{year}`
|
|
47
|
+
.replace(`{${"year"}}`, encodeURIComponent(String(year)));
|
|
43
48
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44
49
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45
50
|
let baseOptions;
|
|
46
51
|
if (configuration) {
|
|
47
52
|
baseOptions = configuration.baseOptions;
|
|
48
53
|
}
|
|
49
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
54
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
50
55
|
const localVarHeaderParameter = {};
|
|
51
56
|
const localVarQueryParameter = {};
|
|
52
57
|
// authentication tokenScheme required
|
|
53
58
|
// http bearer authentication required
|
|
54
59
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
60
|
+
if (language !== undefined) {
|
|
61
|
+
localVarQueryParameter['language'] = language;
|
|
62
|
+
}
|
|
55
63
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56
64
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57
65
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -62,12 +70,12 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
|
|
|
62
70
|
}),
|
|
63
71
|
/**
|
|
64
72
|
*
|
|
65
|
-
* @summary
|
|
73
|
+
* @summary 导入-入库
|
|
66
74
|
* @param {*} [options] Override http request option.
|
|
67
75
|
* @throws {RequiredError}
|
|
68
76
|
*/
|
|
69
|
-
|
|
70
|
-
const localVarPath = `/calendar/
|
|
77
|
+
exportMysql1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
78
|
+
const localVarPath = `/calendar/exportMysql`;
|
|
71
79
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
72
80
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
73
81
|
let baseOptions;
|
|
@@ -90,13 +98,12 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
|
|
|
90
98
|
}),
|
|
91
99
|
/**
|
|
92
100
|
*
|
|
93
|
-
* @summary
|
|
94
|
-
* @param {string} [language]
|
|
101
|
+
* @summary 导入结果确认
|
|
95
102
|
* @param {*} [options] Override http request option.
|
|
96
103
|
* @throws {RequiredError}
|
|
97
104
|
*/
|
|
98
|
-
|
|
99
|
-
const localVarPath = `/calendar/
|
|
105
|
+
exportRedisList1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
106
|
+
const localVarPath = `/calendar/exportRedisList`;
|
|
100
107
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
101
108
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102
109
|
let baseOptions;
|
|
@@ -109,9 +116,6 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
|
|
|
109
116
|
// authentication tokenScheme required
|
|
110
117
|
// http bearer authentication required
|
|
111
118
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
112
|
-
if (language !== undefined) {
|
|
113
|
-
localVarQueryParameter['language'] = language;
|
|
114
|
-
}
|
|
115
119
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
116
120
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
117
121
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -122,46 +126,35 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
|
|
|
122
126
|
}),
|
|
123
127
|
/**
|
|
124
128
|
*
|
|
125
|
-
* @summary
|
|
126
|
-
* @param {
|
|
127
|
-
* @param {File} file
|
|
128
|
-
* @param {string} [language] 语言
|
|
129
|
+
* @summary 获取日历设置
|
|
130
|
+
* @param {string} date
|
|
129
131
|
* @param {*} [options] Override http request option.
|
|
130
132
|
* @throws {RequiredError}
|
|
131
133
|
*/
|
|
132
|
-
|
|
133
|
-
// verify required parameter '
|
|
134
|
-
assertParamExists('
|
|
135
|
-
|
|
136
|
-
assertParamExists('calendarBatchImportUpload', 'file', file);
|
|
137
|
-
const localVarPath = `/calendar/batchImport/upload`;
|
|
134
|
+
getByDate: (date_1, ...args_1) => __awaiter(this, [date_1, ...args_1], void 0, function* (date, options = {}) {
|
|
135
|
+
// verify required parameter 'date' is not null or undefined
|
|
136
|
+
assertParamExists('getByDate', 'date', date);
|
|
137
|
+
const localVarPath = `/calendar/getByDate`;
|
|
138
138
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
139
139
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
140
140
|
let baseOptions;
|
|
141
141
|
if (configuration) {
|
|
142
142
|
baseOptions = configuration.baseOptions;
|
|
143
143
|
}
|
|
144
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
144
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
145
145
|
const localVarHeaderParameter = {};
|
|
146
146
|
const localVarQueryParameter = {};
|
|
147
|
-
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
148
147
|
// authentication tokenScheme required
|
|
149
148
|
// http bearer authentication required
|
|
150
149
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
151
|
-
if (
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
localVarFormParams.append('language', language);
|
|
156
|
-
}
|
|
157
|
-
if (file !== undefined) {
|
|
158
|
-
localVarFormParams.append('file', file);
|
|
150
|
+
if (date !== undefined) {
|
|
151
|
+
localVarQueryParameter['date'] = (date instanceof Date) ?
|
|
152
|
+
date.toISOString() :
|
|
153
|
+
date;
|
|
159
154
|
}
|
|
160
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
161
155
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
162
156
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
163
157
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
164
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
165
158
|
return {
|
|
166
159
|
url: toPathString(localVarUrlObj),
|
|
167
160
|
options: localVarRequestOptions,
|
|
@@ -169,24 +162,21 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
|
|
|
169
162
|
}),
|
|
170
163
|
/**
|
|
171
164
|
*
|
|
172
|
-
* @summary
|
|
173
|
-
* @param {number} year
|
|
165
|
+
* @summary 导入redis
|
|
174
166
|
* @param {string} [language]
|
|
167
|
+
* @param {SaveWaterMeterBatchRequest} [saveWaterMeterBatchRequest]
|
|
175
168
|
* @param {*} [options] Override http request option.
|
|
176
169
|
* @throws {RequiredError}
|
|
177
170
|
*/
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
assertParamExists('calendarExport', 'year', year);
|
|
181
|
-
const localVarPath = `/calendar/export/{year}`
|
|
182
|
-
.replace(`{${"year"}}`, encodeURIComponent(String(year)));
|
|
171
|
+
saveBatchExport1: (language_1, saveWaterMeterBatchRequest_1, ...args_1) => __awaiter(this, [language_1, saveWaterMeterBatchRequest_1, ...args_1], void 0, function* (language, saveWaterMeterBatchRequest, options = {}) {
|
|
172
|
+
const localVarPath = `/calendar/saveBatchExport`;
|
|
183
173
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
184
174
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
185
175
|
let baseOptions;
|
|
186
176
|
if (configuration) {
|
|
187
177
|
baseOptions = configuration.baseOptions;
|
|
188
178
|
}
|
|
189
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
179
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
190
180
|
const localVarHeaderParameter = {};
|
|
191
181
|
const localVarQueryParameter = {};
|
|
192
182
|
// authentication tokenScheme required
|
|
@@ -195,9 +185,11 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
|
|
|
195
185
|
if (language !== undefined) {
|
|
196
186
|
localVarQueryParameter['language'] = language;
|
|
197
187
|
}
|
|
188
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
198
189
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
199
190
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
200
191
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
192
|
+
localVarRequestOptions.data = serializeDataIfNeeded(saveWaterMeterBatchRequest, localVarRequestOptions, configuration);
|
|
201
193
|
return {
|
|
202
194
|
url: toPathString(localVarUrlObj),
|
|
203
195
|
options: localVarRequestOptions,
|
|
@@ -205,15 +197,14 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
|
|
|
205
197
|
}),
|
|
206
198
|
/**
|
|
207
199
|
*
|
|
208
|
-
* @summary
|
|
209
|
-
* @param {string}
|
|
200
|
+
* @summary 根据时间区间查询
|
|
201
|
+
* @param {string} [start] 开始时间
|
|
202
|
+
* @param {string} [end] 结束时间
|
|
210
203
|
* @param {*} [options] Override http request option.
|
|
211
204
|
* @throws {RequiredError}
|
|
212
205
|
*/
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
assertParamExists('getByDate', 'date', date);
|
|
216
|
-
const localVarPath = `/calendar/getByDate`;
|
|
206
|
+
sectionQuery: (start_1, end_1, ...args_1) => __awaiter(this, [start_1, end_1, ...args_1], void 0, function* (start, end, options = {}) {
|
|
207
|
+
const localVarPath = `/calendar/sectionQuery`;
|
|
217
208
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
218
209
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
219
210
|
let baseOptions;
|
|
@@ -226,10 +217,15 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
|
|
|
226
217
|
// authentication tokenScheme required
|
|
227
218
|
// http bearer authentication required
|
|
228
219
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
229
|
-
if (
|
|
230
|
-
localVarQueryParameter['
|
|
231
|
-
|
|
232
|
-
|
|
220
|
+
if (start !== undefined) {
|
|
221
|
+
localVarQueryParameter['start'] = (start instanceof Date) ?
|
|
222
|
+
start.toISOString() :
|
|
223
|
+
start;
|
|
224
|
+
}
|
|
225
|
+
if (end !== undefined) {
|
|
226
|
+
localVarQueryParameter['end'] = (end instanceof Date) ?
|
|
227
|
+
end.toISOString() :
|
|
228
|
+
end;
|
|
233
229
|
}
|
|
234
230
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
235
231
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -241,39 +237,32 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
|
|
|
241
237
|
}),
|
|
242
238
|
/**
|
|
243
239
|
*
|
|
244
|
-
* @summary
|
|
245
|
-
* @param {
|
|
246
|
-
* @param {string} [end] 结束时间
|
|
240
|
+
* @summary 修改日期
|
|
241
|
+
* @param {CalendarSaveUpdateDto} calendarSaveUpdateDto
|
|
247
242
|
* @param {*} [options] Override http request option.
|
|
248
243
|
* @throws {RequiredError}
|
|
249
244
|
*/
|
|
250
|
-
|
|
251
|
-
|
|
245
|
+
updateOrAdd: (calendarSaveUpdateDto_1, ...args_1) => __awaiter(this, [calendarSaveUpdateDto_1, ...args_1], void 0, function* (calendarSaveUpdateDto, options = {}) {
|
|
246
|
+
// verify required parameter 'calendarSaveUpdateDto' is not null or undefined
|
|
247
|
+
assertParamExists('updateOrAdd', 'calendarSaveUpdateDto', calendarSaveUpdateDto);
|
|
248
|
+
const localVarPath = `/calendar/updateOrAdd`;
|
|
252
249
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
253
250
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
254
251
|
let baseOptions;
|
|
255
252
|
if (configuration) {
|
|
256
253
|
baseOptions = configuration.baseOptions;
|
|
257
254
|
}
|
|
258
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
255
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
259
256
|
const localVarHeaderParameter = {};
|
|
260
257
|
const localVarQueryParameter = {};
|
|
261
258
|
// authentication tokenScheme required
|
|
262
259
|
// http bearer authentication required
|
|
263
260
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
264
|
-
|
|
265
|
-
localVarQueryParameter['start'] = (start instanceof Date) ?
|
|
266
|
-
start.toISOString() :
|
|
267
|
-
start;
|
|
268
|
-
}
|
|
269
|
-
if (end !== undefined) {
|
|
270
|
-
localVarQueryParameter['end'] = (end instanceof Date) ?
|
|
271
|
-
end.toISOString() :
|
|
272
|
-
end;
|
|
273
|
-
}
|
|
261
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
274
262
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
275
263
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
276
264
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
265
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calendarSaveUpdateDto, localVarRequestOptions, configuration);
|
|
277
266
|
return {
|
|
278
267
|
url: toPathString(localVarUrlObj),
|
|
279
268
|
options: localVarRequestOptions,
|
|
@@ -281,32 +270,31 @@ export const CalendarApiAxiosParamCreator = function (configuration) {
|
|
|
281
270
|
}),
|
|
282
271
|
/**
|
|
283
272
|
*
|
|
284
|
-
* @summary
|
|
285
|
-
* @param {
|
|
273
|
+
* @summary 导入模板
|
|
274
|
+
* @param {string} [language]
|
|
286
275
|
* @param {*} [options] Override http request option.
|
|
287
276
|
* @throws {RequiredError}
|
|
288
277
|
*/
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
assertParamExists('updateOrAdd', 'calendarSaveUpdateDto', calendarSaveUpdateDto);
|
|
292
|
-
const localVarPath = `/calendar/updateOrAdd`;
|
|
278
|
+
uploadAdd4: (language_1, ...args_1) => __awaiter(this, [language_1, ...args_1], void 0, function* (language, options = {}) {
|
|
279
|
+
const localVarPath = `/calendar/uploadAdd`;
|
|
293
280
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
294
281
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
295
282
|
let baseOptions;
|
|
296
283
|
if (configuration) {
|
|
297
284
|
baseOptions = configuration.baseOptions;
|
|
298
285
|
}
|
|
299
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
286
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
300
287
|
const localVarHeaderParameter = {};
|
|
301
288
|
const localVarQueryParameter = {};
|
|
302
289
|
// authentication tokenScheme required
|
|
303
290
|
// http bearer authentication required
|
|
304
291
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
305
|
-
|
|
292
|
+
if (language !== undefined) {
|
|
293
|
+
localVarQueryParameter['language'] = language;
|
|
294
|
+
}
|
|
306
295
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
307
296
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
308
297
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
309
|
-
localVarRequestOptions.data = serializeDataIfNeeded(calendarSaveUpdateDto, localVarRequestOptions, configuration);
|
|
310
298
|
return {
|
|
311
299
|
url: toPathString(localVarUrlObj),
|
|
312
300
|
options: localVarRequestOptions,
|
|
@@ -323,98 +311,81 @@ export const CalendarApiFp = function (configuration) {
|
|
|
323
311
|
return {
|
|
324
312
|
/**
|
|
325
313
|
*
|
|
326
|
-
* @summary
|
|
314
|
+
* @summary 导出
|
|
315
|
+
* @param {number} year
|
|
316
|
+
* @param {string} [language]
|
|
327
317
|
* @param {*} [options] Override http request option.
|
|
328
318
|
* @throws {RequiredError}
|
|
329
319
|
*/
|
|
330
|
-
|
|
320
|
+
exportList2(year, language, options) {
|
|
331
321
|
return __awaiter(this, void 0, void 0, function* () {
|
|
332
322
|
var _a, _b, _c;
|
|
333
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
323
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportList2(year, language, options);
|
|
334
324
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
335
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.
|
|
325
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.exportList2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
336
326
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
337
327
|
});
|
|
338
328
|
},
|
|
339
329
|
/**
|
|
340
330
|
*
|
|
341
|
-
* @summary
|
|
331
|
+
* @summary 导入-入库
|
|
342
332
|
* @param {*} [options] Override http request option.
|
|
343
333
|
* @throws {RequiredError}
|
|
344
334
|
*/
|
|
345
|
-
|
|
335
|
+
exportMysql1(options) {
|
|
346
336
|
return __awaiter(this, void 0, void 0, function* () {
|
|
347
337
|
var _a, _b, _c;
|
|
348
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
338
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportMysql1(options);
|
|
349
339
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
350
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.
|
|
340
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.exportMysql1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
351
341
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
352
342
|
});
|
|
353
343
|
},
|
|
354
344
|
/**
|
|
355
345
|
*
|
|
356
|
-
* @summary
|
|
357
|
-
* @param {string} [language]
|
|
346
|
+
* @summary 导入结果确认
|
|
358
347
|
* @param {*} [options] Override http request option.
|
|
359
348
|
* @throws {RequiredError}
|
|
360
349
|
*/
|
|
361
|
-
|
|
350
|
+
exportRedisList1(options) {
|
|
362
351
|
return __awaiter(this, void 0, void 0, function* () {
|
|
363
352
|
var _a, _b, _c;
|
|
364
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
353
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportRedisList1(options);
|
|
365
354
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
366
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.
|
|
355
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.exportRedisList1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
367
356
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
368
357
|
});
|
|
369
358
|
},
|
|
370
359
|
/**
|
|
371
360
|
*
|
|
372
|
-
* @summary
|
|
373
|
-
* @param {
|
|
374
|
-
* @param {File} file
|
|
375
|
-
* @param {string} [language] 语言
|
|
361
|
+
* @summary 获取日历设置
|
|
362
|
+
* @param {string} date
|
|
376
363
|
* @param {*} [options] Override http request option.
|
|
377
364
|
* @throws {RequiredError}
|
|
378
365
|
*/
|
|
379
|
-
|
|
366
|
+
getByDate(date, options) {
|
|
380
367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
381
368
|
var _a, _b, _c;
|
|
382
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
369
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getByDate(date, options);
|
|
383
370
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
384
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.
|
|
371
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.getByDate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
385
372
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
386
373
|
});
|
|
387
374
|
},
|
|
388
375
|
/**
|
|
389
376
|
*
|
|
390
|
-
* @summary
|
|
391
|
-
* @param {number} year
|
|
377
|
+
* @summary 导入redis
|
|
392
378
|
* @param {string} [language]
|
|
379
|
+
* @param {SaveWaterMeterBatchRequest} [saveWaterMeterBatchRequest]
|
|
393
380
|
* @param {*} [options] Override http request option.
|
|
394
381
|
* @throws {RequiredError}
|
|
395
382
|
*/
|
|
396
|
-
|
|
397
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
398
|
-
var _a, _b, _c;
|
|
399
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.calendarExport(year, language, options);
|
|
400
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
401
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.calendarExport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
402
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
403
|
-
});
|
|
404
|
-
},
|
|
405
|
-
/**
|
|
406
|
-
*
|
|
407
|
-
* @summary 获取日历设置
|
|
408
|
-
* @param {string} date
|
|
409
|
-
* @param {*} [options] Override http request option.
|
|
410
|
-
* @throws {RequiredError}
|
|
411
|
-
*/
|
|
412
|
-
getByDate(date, options) {
|
|
383
|
+
saveBatchExport1(language, saveWaterMeterBatchRequest, options) {
|
|
413
384
|
return __awaiter(this, void 0, void 0, function* () {
|
|
414
385
|
var _a, _b, _c;
|
|
415
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
386
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.saveBatchExport1(language, saveWaterMeterBatchRequest, options);
|
|
416
387
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
417
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.
|
|
388
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.saveBatchExport1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
418
389
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
419
390
|
});
|
|
420
391
|
},
|
|
@@ -451,6 +422,22 @@ export const CalendarApiFp = function (configuration) {
|
|
|
451
422
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
452
423
|
});
|
|
453
424
|
},
|
|
425
|
+
/**
|
|
426
|
+
*
|
|
427
|
+
* @summary 导入模板
|
|
428
|
+
* @param {string} [language]
|
|
429
|
+
* @param {*} [options] Override http request option.
|
|
430
|
+
* @throws {RequiredError}
|
|
431
|
+
*/
|
|
432
|
+
uploadAdd4(language, options) {
|
|
433
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
434
|
+
var _a, _b, _c;
|
|
435
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadAdd4(language, options);
|
|
436
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
437
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CalendarApi.uploadAdd4']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
438
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
439
|
+
});
|
|
440
|
+
},
|
|
454
441
|
};
|
|
455
442
|
};
|
|
456
443
|
/**
|
|
@@ -462,61 +449,51 @@ export const CalendarApiFactory = function (configuration, basePath, axios) {
|
|
|
462
449
|
return {
|
|
463
450
|
/**
|
|
464
451
|
*
|
|
465
|
-
* @summary
|
|
452
|
+
* @summary 导出
|
|
453
|
+
* @param {CalendarApiExportList2Request} requestParameters Request parameters.
|
|
466
454
|
* @param {*} [options] Override http request option.
|
|
467
455
|
* @throws {RequiredError}
|
|
468
456
|
*/
|
|
469
|
-
|
|
470
|
-
return localVarFp.
|
|
457
|
+
exportList2(requestParameters, options) {
|
|
458
|
+
return localVarFp.exportList2(requestParameters.year, requestParameters.language, options).then((request) => request(axios, basePath));
|
|
471
459
|
},
|
|
472
460
|
/**
|
|
473
461
|
*
|
|
474
|
-
* @summary
|
|
462
|
+
* @summary 导入-入库
|
|
475
463
|
* @param {*} [options] Override http request option.
|
|
476
464
|
* @throws {RequiredError}
|
|
477
465
|
*/
|
|
478
|
-
|
|
479
|
-
return localVarFp.
|
|
466
|
+
exportMysql1(options) {
|
|
467
|
+
return localVarFp.exportMysql1(options).then((request) => request(axios, basePath));
|
|
480
468
|
},
|
|
481
469
|
/**
|
|
482
470
|
*
|
|
483
|
-
* @summary
|
|
484
|
-
* @param {CalendarApiCalendarBatchImportTemplateRequest} requestParameters Request parameters.
|
|
471
|
+
* @summary 导入结果确认
|
|
485
472
|
* @param {*} [options] Override http request option.
|
|
486
473
|
* @throws {RequiredError}
|
|
487
474
|
*/
|
|
488
|
-
|
|
489
|
-
return localVarFp.
|
|
475
|
+
exportRedisList1(options) {
|
|
476
|
+
return localVarFp.exportRedisList1(options).then((request) => request(axios, basePath));
|
|
490
477
|
},
|
|
491
478
|
/**
|
|
492
479
|
*
|
|
493
|
-
* @summary
|
|
494
|
-
* @param {
|
|
480
|
+
* @summary 获取日历设置
|
|
481
|
+
* @param {CalendarApiGetByDateRequest} requestParameters Request parameters.
|
|
495
482
|
* @param {*} [options] Override http request option.
|
|
496
483
|
* @throws {RequiredError}
|
|
497
484
|
*/
|
|
498
|
-
|
|
499
|
-
return localVarFp.
|
|
485
|
+
getByDate(requestParameters, options) {
|
|
486
|
+
return localVarFp.getByDate(requestParameters.date, options).then((request) => request(axios, basePath));
|
|
500
487
|
},
|
|
501
488
|
/**
|
|
502
489
|
*
|
|
503
|
-
* @summary
|
|
504
|
-
* @param {
|
|
490
|
+
* @summary 导入redis
|
|
491
|
+
* @param {CalendarApiSaveBatchExport1Request} requestParameters Request parameters.
|
|
505
492
|
* @param {*} [options] Override http request option.
|
|
506
493
|
* @throws {RequiredError}
|
|
507
494
|
*/
|
|
508
|
-
|
|
509
|
-
return localVarFp.
|
|
510
|
-
},
|
|
511
|
-
/**
|
|
512
|
-
*
|
|
513
|
-
* @summary 获取日历设置
|
|
514
|
-
* @param {CalendarApiGetByDateRequest} requestParameters Request parameters.
|
|
515
|
-
* @param {*} [options] Override http request option.
|
|
516
|
-
* @throws {RequiredError}
|
|
517
|
-
*/
|
|
518
|
-
getByDate(requestParameters, options) {
|
|
519
|
-
return localVarFp.getByDate(requestParameters.date, options).then((request) => request(axios, basePath));
|
|
495
|
+
saveBatchExport1(requestParameters = {}, options) {
|
|
496
|
+
return localVarFp.saveBatchExport1(requestParameters.language, requestParameters.saveWaterMeterBatchRequest, options).then((request) => request(axios, basePath));
|
|
520
497
|
},
|
|
521
498
|
/**
|
|
522
499
|
*
|
|
@@ -538,6 +515,16 @@ export const CalendarApiFactory = function (configuration, basePath, axios) {
|
|
|
538
515
|
updateOrAdd(requestParameters, options) {
|
|
539
516
|
return localVarFp.updateOrAdd(requestParameters.calendarSaveUpdateDto, options).then((request) => request(axios, basePath));
|
|
540
517
|
},
|
|
518
|
+
/**
|
|
519
|
+
*
|
|
520
|
+
* @summary 导入模板
|
|
521
|
+
* @param {CalendarApiUploadAdd4Request} requestParameters Request parameters.
|
|
522
|
+
* @param {*} [options] Override http request option.
|
|
523
|
+
* @throws {RequiredError}
|
|
524
|
+
*/
|
|
525
|
+
uploadAdd4(requestParameters = {}, options) {
|
|
526
|
+
return localVarFp.uploadAdd4(requestParameters.language, options).then((request) => request(axios, basePath));
|
|
527
|
+
},
|
|
541
528
|
};
|
|
542
529
|
};
|
|
543
530
|
/**
|
|
@@ -549,67 +536,56 @@ export const CalendarApiFactory = function (configuration, basePath, axios) {
|
|
|
549
536
|
export class CalendarApi extends BaseAPI {
|
|
550
537
|
/**
|
|
551
538
|
*
|
|
552
|
-
* @summary
|
|
553
|
-
* @param {
|
|
554
|
-
* @throws {RequiredError}
|
|
555
|
-
* @memberof CalendarApi
|
|
556
|
-
*/
|
|
557
|
-
calendarBatchImportConfirm(options) {
|
|
558
|
-
return CalendarApiFp(this.configuration).calendarBatchImportConfirm(options).then((request) => request(this.axios, this.basePath));
|
|
559
|
-
}
|
|
560
|
-
/**
|
|
561
|
-
*
|
|
562
|
-
* @summary 导入-预览
|
|
539
|
+
* @summary 导出
|
|
540
|
+
* @param {CalendarApiExportList2Request} requestParameters Request parameters.
|
|
563
541
|
* @param {*} [options] Override http request option.
|
|
564
542
|
* @throws {RequiredError}
|
|
565
543
|
* @memberof CalendarApi
|
|
566
544
|
*/
|
|
567
|
-
|
|
568
|
-
return CalendarApiFp(this.configuration).
|
|
545
|
+
exportList2(requestParameters, options) {
|
|
546
|
+
return CalendarApiFp(this.configuration).exportList2(requestParameters.year, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
569
547
|
}
|
|
570
548
|
/**
|
|
571
549
|
*
|
|
572
|
-
* @summary
|
|
573
|
-
* @param {CalendarApiCalendarBatchImportTemplateRequest} requestParameters Request parameters.
|
|
550
|
+
* @summary 导入-入库
|
|
574
551
|
* @param {*} [options] Override http request option.
|
|
575
552
|
* @throws {RequiredError}
|
|
576
553
|
* @memberof CalendarApi
|
|
577
554
|
*/
|
|
578
|
-
|
|
579
|
-
return CalendarApiFp(this.configuration).
|
|
555
|
+
exportMysql1(options) {
|
|
556
|
+
return CalendarApiFp(this.configuration).exportMysql1(options).then((request) => request(this.axios, this.basePath));
|
|
580
557
|
}
|
|
581
558
|
/**
|
|
582
559
|
*
|
|
583
|
-
* @summary
|
|
584
|
-
* @param {CalendarApiCalendarBatchImportUploadRequest} requestParameters Request parameters.
|
|
560
|
+
* @summary 导入结果确认
|
|
585
561
|
* @param {*} [options] Override http request option.
|
|
586
562
|
* @throws {RequiredError}
|
|
587
563
|
* @memberof CalendarApi
|
|
588
564
|
*/
|
|
589
|
-
|
|
590
|
-
return CalendarApiFp(this.configuration).
|
|
565
|
+
exportRedisList1(options) {
|
|
566
|
+
return CalendarApiFp(this.configuration).exportRedisList1(options).then((request) => request(this.axios, this.basePath));
|
|
591
567
|
}
|
|
592
568
|
/**
|
|
593
569
|
*
|
|
594
|
-
* @summary
|
|
595
|
-
* @param {
|
|
570
|
+
* @summary 获取日历设置
|
|
571
|
+
* @param {CalendarApiGetByDateRequest} requestParameters Request parameters.
|
|
596
572
|
* @param {*} [options] Override http request option.
|
|
597
573
|
* @throws {RequiredError}
|
|
598
574
|
* @memberof CalendarApi
|
|
599
575
|
*/
|
|
600
|
-
|
|
601
|
-
return CalendarApiFp(this.configuration).
|
|
576
|
+
getByDate(requestParameters, options) {
|
|
577
|
+
return CalendarApiFp(this.configuration).getByDate(requestParameters.date, options).then((request) => request(this.axios, this.basePath));
|
|
602
578
|
}
|
|
603
579
|
/**
|
|
604
580
|
*
|
|
605
|
-
* @summary
|
|
606
|
-
* @param {
|
|
581
|
+
* @summary 导入redis
|
|
582
|
+
* @param {CalendarApiSaveBatchExport1Request} requestParameters Request parameters.
|
|
607
583
|
* @param {*} [options] Override http request option.
|
|
608
584
|
* @throws {RequiredError}
|
|
609
585
|
* @memberof CalendarApi
|
|
610
586
|
*/
|
|
611
|
-
|
|
612
|
-
return CalendarApiFp(this.configuration).
|
|
587
|
+
saveBatchExport1(requestParameters = {}, options) {
|
|
588
|
+
return CalendarApiFp(this.configuration).saveBatchExport1(requestParameters.language, requestParameters.saveWaterMeterBatchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
613
589
|
}
|
|
614
590
|
/**
|
|
615
591
|
*
|
|
@@ -633,4 +609,15 @@ export class CalendarApi extends BaseAPI {
|
|
|
633
609
|
updateOrAdd(requestParameters, options) {
|
|
634
610
|
return CalendarApiFp(this.configuration).updateOrAdd(requestParameters.calendarSaveUpdateDto, options).then((request) => request(this.axios, this.basePath));
|
|
635
611
|
}
|
|
612
|
+
/**
|
|
613
|
+
*
|
|
614
|
+
* @summary 导入模板
|
|
615
|
+
* @param {CalendarApiUploadAdd4Request} requestParameters Request parameters.
|
|
616
|
+
* @param {*} [options] Override http request option.
|
|
617
|
+
* @throws {RequiredError}
|
|
618
|
+
* @memberof CalendarApi
|
|
619
|
+
*/
|
|
620
|
+
uploadAdd4(requestParameters = {}, options) {
|
|
621
|
+
return CalendarApiFp(this.configuration).uploadAdd4(requestParameters.language, options).then((request) => request(this.axios, this.basePath));
|
|
622
|
+
}
|
|
636
623
|
}
|