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